| 28 | } |
| 29 | |
| 30 | type Stack struct { |
| 31 | // GUID is a unique stack identifier. |
| 32 | GUID string `json:"guid"` |
| 33 | // Name is the name of the stack. |
| 34 | Name string `json:"name"` |
| 35 | // Description is the description for the stack |
| 36 | Description string `json:"description"` |
| 37 | // State is the state of the stack (ACTIVE, RESTRICTED, DEPRECATED, DISABLED) |
| 38 | State string `json:"state,omitempty"` |
| 39 | // StateReason is the reason for the current state |
| 40 | StateReason string `json:"state_reason,omitempty"` |
| 41 | |
| 42 | // Metadata is used for custom tagging of API resources |
| 43 | Metadata *Metadata `json:"metadata,omitempty"` |
| 44 | } |