MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Organization

Struct Organization

resources/organization_resource.go:8–19  ·  view source on GitHub ↗

Organization represents a Cloud Controller V3 Organization.

Source from the content-addressed store, hash-verified

6
7// Organization represents a Cloud Controller V3 Organization.
8type 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
21func (org *Organization) UnmarshalJSON(data []byte) error {
22 type alias Organization

Callers 3

GetOrganizationByGUIDMethod · 0.92
GetOrganizationByNameMethod · 0.92
UnmarshalJSONMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected