more naming alignment

This commit is contained in:
Michael Quigley
2022-08-03 13:48:17 -04:00
parent 9bd7f6dba1
commit aceb649fa7
6 changed files with 48 additions and 12 deletions

View File

@ -20,14 +20,23 @@ type Environment struct {
// active
Active bool `json:"active,omitempty"`
// address
Address string `json:"address,omitempty"`
// created at
CreatedAt string `json:"createdAt,omitempty"`
// description
Description string `json:"description,omitempty"`
// host
Host string `json:"host,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
// ziti Id
ZitiID string `json:"zitiId,omitempty"`
// ziti identity Id
ZitiIdentityID string `json:"zitiIdentityId,omitempty"`
}
// Validate validates this environment