Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupModel ¶
type BackupModel struct {
OrgQuotas interface{} `json:"org_quota_definitions"`
SpaceQuotas interface{} `json:"space_quota_definitions"`
Organizations interface{} `json:"organizations"`
SecurityGroups interface{} `json:"security_groups"`
FeatureFlags interface{} `json:"feature_flags"`
}
BackupModel represents the backup json model
type FeatureFlagModel ¶
type FeatureFlagModel struct {
Name string `json:"name"`
Enabled bool `json:"enabled"`
ErrorMessage string `json:"error_message,omitempty"`
URL string `json:"url"`
}
FeatureFlagModel represents the feature flag json model
type ResourceCollectionModel ¶
type ResourceCollectionModel struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
NextURL string `json:"next_url,omitempty"`
PrevURL string `json:"prev_url,omitempty"`
Resources *[]*ResourceModel `json:"resources"`
}
ResourceCollectionModel represents the paged response of an api call
type ResourceModel ¶
type ResourceModel struct {
Metadata map[string]interface{} `json:"metadata"`
Entity map[string]interface{} `json:"entity"`
}
ResourceModel represents the response of an api call
Click to show internal directories.
Click to hide internal directories.