Skip to content

Commit

Permalink
fix json elements with ID to be Id
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Washburn committed Jun 7, 2018
1 parent a52f2fc commit 18dd152
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Group struct {
ID string `json:"id,omitempty"`
Meta *Meta `json:"meta,omitempty"`
DisplayName string `json:"displayName,omitempty"`
ZoneID string `json:"zoneID,omitempty"`
ZoneID string `json:"zoneId,omitempty"`
Description string `json:"description,omitempty"`
Members []GroupMember `json:"members,omitempty"`
Schemas []string `json:"schemas,omitempty"`
Expand Down
8 changes: 4 additions & 4 deletions users.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ type UserGroup struct {
// Approval is a record of the user's explicit approval or rejection for an
// application's request for delegated permissions.
type Approval struct {
UserID string `json:"userID,omitempty"`
ClientID string `json:"clientID,omitempty"`
UserID string `json:"userId,omitempty"`
ClientID string `json:"clientId,omitempty"`
Scope string `json:"scope,omitempty"`
Status string `json:"status,omitempty"`
LastUpdatedAt string `json:"lastUpdatedAt,omitempty"`
Expand All @@ -60,7 +60,7 @@ type PhoneNumber struct {
type User struct {
ID string `json:"id,omitempty"`
Password string `json:"password,omitempty"`
ExternalID string `json:"externalID,omitempty"`
ExternalID string `json:"externalId,omitempty"`
Meta *Meta `json:"meta,omitempty"`
Username string `json:"userName,omitempty"`
Name *UserName `json:"name,omitempty"`
Expand All @@ -71,7 +71,7 @@ type User struct {
Active *bool `json:"active,omitempty"`
Verified *bool `json:"verified,omitempty"`
Origin string `json:"origin,omitempty"`
ZoneID string `json:"zoneID,omitempty"`
ZoneID string `json:"zoneId,omitempty"`
PasswordLastModified string `json:"passwordLastModified,omitempty"`
PreviousLogonTime int `json:"previousLogonTime,omitempty"`
LastLogonTime int `json:"lastLogonTime,omitempty"`
Expand Down

0 comments on commit 18dd152

Please sign in to comment.