{"modulePath":"github.com/cloudfoundry/cli","version":"v7.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugin_models\n\n## Types\n\n```go\ntype GetAppModel struct {\n\tGuid                 string\n\tName                 string\n\tBuildpackUrl         string\n\tCommand              string\n\tDetectedStartCommand string\n\tDiskQuota            int64 // in Megabytes\n\tEnvironmentVars      map[string]interface{}\n\tInstanceCount        int\n\tMemory               int64 // in Megabytes\n\tRunningInstances     int\n\tHealthCheckTimeout   int\n\tState                string\n\tSpaceGuid            string\n\tPackageUpdatedAt     *time.Time\n\tPackageState         string\n\tStagingFailedReason  string\n\tStack                *GetApp_Stack\n\tInstances            []GetApp_AppInstanceFields\n\tRoutes               []GetApp_RouteSummary\n\tServices             []GetApp_ServiceSummary\n}\n```\n\n```go\ntype GetApp_AppInstanceFields struct {\n\tState     string\n\tDetails   string\n\tSince     time.Time\n\tCpuUsage  float64 // percentage\n\tDiskQuota int64   // in bytes\n\tDiskUsage int64\n\tMemQuota  int64\n\tMemUsage  int64\n}\n```\n\n```go\ntype GetApp_DomainFields struct {\n\tGuid string\n\tName string\n}\n```\n\n```go\ntype GetApp_RouteSummary struct {\n\tGuid   string\n\tHost   string\n\tDomain GetApp_DomainFields\n\tPath   string\n\tPort   int\n}\n```\n\n```go\ntype GetApp_ServiceSummary struct {\n\tGuid string\n\tName string\n}\n```\n\n```go\ntype GetApp_Stack struct {\n\tGuid        string\n\tName        string\n\tDescription string\n}\n```\n\n```go\ntype GetAppsDomainFields struct {\n\tGuid                   string\n\tName                   string\n\tOwningOrganizationGuid string\n\tShared                 bool\n}\n```\n\n```go\ntype GetAppsModel struct {\n\tName             string\n\tGuid             string\n\tState            string\n\tTotalInstances   int\n\tRunningInstances int\n\tMemory           int64\n\tDiskQuota        int64\n\tRoutes           []GetAppsRouteSummary\n}\n```\n\n```go\ntype GetAppsRouteSummary struct {\n\tGuid   string\n\tHost   string\n\tDomain GetAppsDomainFields\n}\n```\n\n```go\ntype GetOauthToken_Model struct {\n\tToken string\n}\n```\n\n```go\ntype GetOrgUsers_Model struct {\n\tGuid     string\n\tUsername string\n\tIsAdmin  bool\n\tRoles    []string\n}\n```\n\n```go\ntype GetOrg_Domains struct {\n\tGuid                   string\n\tName                   string\n\tOwningOrganizationGuid string\n\tShared                 bool\n}\n```\n\n```go\ntype GetOrg_Model struct {\n\tGuid            string\n\tName            string\n\tQuotaDefinition QuotaFields\n\tSpaces          []GetOrg_Space\n\tDomains         []GetOrg_Domains\n\tSpaceQuotas     []GetOrg_SpaceQuota\n}\n```\n\n```go\ntype GetOrg_Space struct {\n\tGuid string\n\tName string\n}\n```\n\n```go\ntype GetOrg_SpaceQuota struct {\n\tGuid                    string\n\tName                    string\n\tMemoryLimit             int64\n\tInstanceMemoryLimit     int64\n\tRoutesLimit             int\n\tServicesLimit           int\n\tNonBasicServicesAllowed bool\n}\n```\n\n```go\ntype GetOrgs_Model struct {\n\tGuid string\n\tName string\n}\n```\n\n```go\ntype GetService_LastOperation struct {\n\tType        string\n\tState       string\n\tDescription string\n\tCreatedAt   string\n\tUpdatedAt   string\n}\n```\n\n```go\ntype GetService_Model struct {\n\tGuid            string\n\tName            string\n\tDashboardUrl    string\n\tIsUserProvided  bool\n\tServiceOffering GetService_ServiceFields\n\tServicePlan     GetService_ServicePlan\n\tLastOperation   GetService_LastOperation\n}\n```\n\n```go\ntype GetService_ServiceFields struct {\n\tName             string\n\tDocumentationUrl string\n}\n```\n\n```go\ntype GetService_ServicePlan struct {\n\tName string\n\tGuid string\n}\n```\n\n```go\ntype GetServices_LastOperation struct {\n\tType  string\n\tState string\n}\n```\n\n```go\ntype GetServices_Model struct {\n\tGuid             string\n\tName             string\n\tServicePlan      GetServices_ServicePlan\n\tService          GetServices_ServiceFields\n\tLastOperation    GetServices_LastOperation\n\tApplicationNames []string\n\tIsUserProvided   bool\n}\n```\n\n```go\ntype GetServices_ServiceFields struct {\n\tName string\n}\n```\n\n```go\ntype GetServices_ServicePlan struct {\n\tGuid string\n\tName string\n}\n```\n\n```go\ntype GetSpaceUsers_Model struct {\n\tGuid     string\n\tUsername string\n\tIsAdmin  bool\n\tRoles    []string\n}\n```\n\n```go\ntype GetSpace_Apps struct {\n\tName string\n\tGuid string\n}\n```\n\n```go\ntype GetSpace_AppsDomainFields struct {\n\tGuid                   string\n\tName                   string\n\tOwningOrganizationGuid string\n\tShared                 bool\n}\n```\n\n```go\ntype GetSpace_Domains struct {\n\tGuid                   string\n\tName                   string\n\tOwningOrganizationGuid string\n\tShared                 bool\n}\n```\n\n```go\ntype GetSpace_Model struct {\n\tGetSpaces_Model\n\tOrganization     GetSpace_Orgs\n\tApplications     []GetSpace_Apps\n\tServiceInstances []GetSpace_ServiceInstance\n\tDomains          []GetSpace_Domains\n\tSecurityGroups   []GetSpace_SecurityGroup\n\tSpaceQuota       GetSpace_SpaceQuota\n}\n```\n\n```go\ntype GetSpace_Orgs struct {\n\tGuid string\n\tName string\n}\n```\n\n```go\ntype GetSpace_SecurityGroup struct {\n\tName  string\n\tGuid  string\n\tRules []map[string]interface{}\n}\n```\n\n```go\ntype GetSpace_ServiceInstance struct {\n\tGuid string\n\tName string\n}\n```\n\n```go\ntype GetSpace_SpaceQuota struct {\n\tGuid                    string\n\tName                    string\n\tMemoryLimit             int64\n\tInstanceMemoryLimit     int64\n\tRoutesLimit             int\n\tServicesLimit           int\n\tNonBasicServicesAllowed bool\n}\n```\n\n```go\ntype GetSpaces_Model struct {\n\tGuid string\n\tName string\n}\n```\n\n```go\ntype Organization struct {\n\tOrganizationFields\n}\n```\n\n```go\ntype OrganizationFields struct {\n\tGuid            string\n\tName            string\n\tQuotaDefinition QuotaFields\n}\n```\n\n```go\ntype QuotaFields struct {\n\tGuid                    string\n\tName                    string\n\tMemoryLimit             int64\n\tInstanceMemoryLimit     int64\n\tRoutesLimit             int\n\tServicesLimit           int\n\tNonBasicServicesAllowed bool\n}\n```\n\n```go\ntype Space struct {\n\tSpaceFields\n}\n```\n\n```go\ntype SpaceFields struct {\n\tGuid string\n\tName string\n}\n```\n\n","path":"github.com/cloudfoundry/cli/plugin/models","name":"plugin_models","synopsis":"","isRedistributable":true}
