models

package
v0.0.0-...-6cb485d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2020 License: Apache-2.0 Imports: 0 Imported by: 2

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"`
	SharedDomains  interface{} `json:"shared_domains"`
	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL