Organization represents a Cloud Controller V3 Organization.
| 6 | |
| 7 | // Organization represents a Cloud Controller V3 Organization. |
| 8 | type Organization struct { |
| 9 | // GUID is the unique organization identifier. |
| 10 | GUID string `json:"guid,omitempty"` |
| 11 | // Name is the name of the organization. |
| 12 | Name string `json:"name"` |
| 13 | // QuotaGUID is the GUID of the organization Quota applied to this Organization |
| 14 | QuotaGUID string `json:"-"` |
| 15 | // Suspended is the status of the organization applied to this Organization |
| 16 | Suspended bool `json:"suspended"` |
| 17 | // Metadata is used for custom tagging of API resources |
| 18 | Metadata *Metadata `json:"metadata,omitempty"` |
| 19 | } |
| 20 | |
| 21 | func (org *Organization) UnmarshalJSON(data []byte) error { |
| 22 | type alias Organization |
no outgoing calls
no test coverage detected