{"modulePath":"code.cloudfoundry.org/cli-sapi","version":"v6.51.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package resources\n\n## Types\n\n```go\ntype Rule struct {\n\tProtocol    string  `json:\"protocol\"`\n\tDestination string  `json:\"destination\"`\n\tPorts       *string `json:\"ports,omitempty\"`\n\tType        *int    `json:\"type,omitempty\"`\n\tCode        *int    `json:\"code,omitempty\"`\n\tDescription *string `json:\"description,omitempty\"`\n\tLog         *bool   `json:\"log,omitempty\"`\n}\n```\n\n```go\ntype SecurityGroup struct {\n\tName                   string   `jsonry:\"name,omitempty\"`\n\tGUID                   string   `jsonry:\"guid,omitempty\"`\n\tRules                  []Rule   `jsonry:\"rules,omitempty\"`\n\tStagingGloballyEnabled *bool    `jsonry:\"globally_enabled.staging,omitempty\"`\n\tRunningGloballyEnabled *bool    `jsonry:\"globally_enabled.running,omitempty\"`\n\tStagingSpaceGUIDs      []string `jsonry:\"relationships.staging_spaces.data[].guid,omitempty\"`\n\tRunningSpaceGUIDs      []string `jsonry:\"relationships.running_spaces.data[].guid,omitempty\"`\n}\n```\n\n```go\nfunc (sg SecurityGroup) MarshalJSON() ([]byte, error)\n```\n\n```go\nfunc (sg *SecurityGroup) UnmarshalJSON(data []byte) error\n```\n\n","path":"code.cloudfoundry.org/cli-sapi/resources","name":"resources","synopsis":"","isRedistributable":true}
