Skip to content

Commit

Permalink
C3-225 feat: add support for _account_uuid to account
Browse files Browse the repository at this point in the history
  • Loading branch information
maier committed Nov 2, 2022
1 parent b35b574 commit 02d121e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion account.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ type AccountUser struct {

// Account defines an account. See https://login.circonus.com/resources/api/calls/account for more information.
type Account struct {
CID string `json:"_cid,omitempty"` // string
CID string `json:"_cid,omitempty"` // string
AccountUUID string `json:"_account_uuid,omitempty"`
Country string `json:"country_code,omitempty"` // string
Name string `json:"name,omitempty"` // string
OwnerCID string `json:"_owner,omitempty"` // string
Expand Down
3 changes: 2 additions & 1 deletion account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import (

var (
testAccount = Account{
CID: "/account/1234",
CID: "/account/1234",
AccountUUID: "7940A8D1-6209-48BB-8A97-0CDA1145BD40",
ContactGroups: []string{
"/contact_group/1701",
"/contact_group/3141",
Expand Down

0 comments on commit 02d121e

Please sign in to comment.