-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
project id filter on get accounts (#29)
* project id filter on get accounts * assertion for project id
- Loading branch information
1 parent
ed49263
commit 73b7de9
Showing
4 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
package api | ||
|
||
//AccountResponse describes response to Network Edge | ||
//billing account query | ||
// AccountResponse describes response to Network Edge | ||
// billing account query | ||
type AccountResponse struct { | ||
Accounts []Account `json:"accounts,omitempty"` | ||
} | ||
|
||
//Account describes Network Edge billing account | ||
// Account describes Network Edge billing account | ||
type Account struct { | ||
Name *string `json:"accountName,omitempty"` | ||
Number *string `json:"accountNumber,omitempty"` | ||
UCMID *string `json:"accountUcmId,omitempty"` | ||
Status *string `json:"accountStatus,omitempty"` | ||
Name *string `json:"accountName,omitempty"` | ||
Number *string `json:"accountNumber,omitempty"` | ||
UCMID *string `json:"accountUcmId,omitempty"` | ||
Status *string `json:"accountStatus,omitempty"` | ||
ProjectID *string `json:"projectId,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters