Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- Constants
- func NewClientWithUserAgent(client ht.Client, userAgent string) *clientWithUserAgent
- type AccessToken
- type AccessTokenSecuritySource
- type ActivateContentTypeParams
- type ActivateContentTypeRes
- type ApiKey
- func (s *ApiKey) Decode(d *jx.Decoder) error
- func (s *ApiKey) Encode(e *jx.Encoder)
- func (s *ApiKey) GetAccessToken() string
- func (s *ApiKey) GetDescription() OptNilString
- func (s *ApiKey) GetEnvironments() []EnvironmentLink
- func (s *ApiKey) GetName() string
- func (s *ApiKey) GetPreviewAPIKey() OptPreviewAPIKeyLink
- func (s *ApiKey) GetSys() ApiKeySys
- func (s *ApiKey) MarshalJSON() ([]byte, error)
- func (s *ApiKey) SetAccessToken(val string)
- func (s *ApiKey) SetDescription(val OptNilString)
- func (s *ApiKey) SetEnvironments(val []EnvironmentLink)
- func (s *ApiKey) SetName(val string)
- func (s *ApiKey) SetPreviewAPIKey(val OptPreviewAPIKeyLink)
- func (s *ApiKey) SetSys(val ApiKeySys)
- func (s *ApiKey) UnmarshalJSON(data []byte) error
- func (s *ApiKey) Validate() error
- type ApiKeyRequestData
- func (s *ApiKeyRequestData) Decode(d *jx.Decoder) error
- func (s *ApiKeyRequestData) Encode(e *jx.Encoder)
- func (s *ApiKeyRequestData) GetDescription() OptNilString
- func (s *ApiKeyRequestData) GetEnvironments() []EnvironmentLink
- func (s *ApiKeyRequestData) GetName() string
- func (s *ApiKeyRequestData) MarshalJSON() ([]byte, error)
- func (s *ApiKeyRequestData) SetDescription(val OptNilString)
- func (s *ApiKeyRequestData) SetEnvironments(val []EnvironmentLink)
- func (s *ApiKeyRequestData) SetName(val string)
- func (s *ApiKeyRequestData) UnmarshalJSON(data []byte) error
- func (s *ApiKeyRequestData) Validate() error
- type ApiKeyStatusCode
- type ApiKeySys
- func (s *ApiKeySys) Decode(d *jx.Decoder) error
- func (s *ApiKeySys) Encode(e *jx.Encoder)
- func (s *ApiKeySys) GetID() string
- func (s *ApiKeySys) GetSpace() SpaceLink
- func (s *ApiKeySys) GetType() ApiKeySysType
- func (s *ApiKeySys) GetVersion() int
- func (s *ApiKeySys) MarshalJSON() ([]byte, error)
- func (s *ApiKeySys) SetID(val string)
- func (s *ApiKeySys) SetSpace(val SpaceLink)
- func (s *ApiKeySys) SetType(val ApiKeySysType)
- func (s *ApiKeySys) SetVersion(val int)
- func (s *ApiKeySys) UnmarshalJSON(data []byte) error
- func (s *ApiKeySys) Validate() error
- type ApiKeySysType
- func (ApiKeySysType) AllValues() []ApiKeySysType
- func (s *ApiKeySysType) Decode(d *jx.Decoder) error
- func (s ApiKeySysType) Encode(e *jx.Encoder)
- func (s ApiKeySysType) MarshalJSON() ([]byte, error)
- func (s ApiKeySysType) MarshalText() ([]byte, error)
- func (s *ApiKeySysType) UnmarshalJSON(data []byte) error
- func (s *ApiKeySysType) UnmarshalText(data []byte) error
- func (s ApiKeySysType) Validate() error
- type AppBundleLink
- func (s *AppBundleLink) Decode(d *jx.Decoder) error
- func (s *AppBundleLink) Encode(e *jx.Encoder)
- func (s *AppBundleLink) GetSys() AppBundleLinkSys
- func (s *AppBundleLink) MarshalJSON() ([]byte, error)
- func (s *AppBundleLink) SetSys(val AppBundleLinkSys)
- func (s *AppBundleLink) UnmarshalJSON(data []byte) error
- func (s *AppBundleLink) Validate() error
- type AppBundleLinkSys
- func (s *AppBundleLinkSys) Decode(d *jx.Decoder) error
- func (s *AppBundleLinkSys) Encode(e *jx.Encoder)
- func (s *AppBundleLinkSys) GetID() string
- func (s *AppBundleLinkSys) GetLinkType() AppBundleLinkSysLinkType
- func (s *AppBundleLinkSys) GetType() AppBundleLinkSysType
- func (s *AppBundleLinkSys) MarshalJSON() ([]byte, error)
- func (s *AppBundleLinkSys) SetID(val string)
- func (s *AppBundleLinkSys) SetLinkType(val AppBundleLinkSysLinkType)
- func (s *AppBundleLinkSys) SetType(val AppBundleLinkSysType)
- func (s *AppBundleLinkSys) UnmarshalJSON(data []byte) error
- func (s *AppBundleLinkSys) Validate() error
- type AppBundleLinkSysLinkType
- func (AppBundleLinkSysLinkType) AllValues() []AppBundleLinkSysLinkType
- func (s *AppBundleLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s AppBundleLinkSysLinkType) Encode(e *jx.Encoder)
- func (s AppBundleLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s AppBundleLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *AppBundleLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *AppBundleLinkSysLinkType) UnmarshalText(data []byte) error
- func (s AppBundleLinkSysLinkType) Validate() error
- type AppBundleLinkSysType
- func (AppBundleLinkSysType) AllValues() []AppBundleLinkSysType
- func (s *AppBundleLinkSysType) Decode(d *jx.Decoder) error
- func (s AppBundleLinkSysType) Encode(e *jx.Encoder)
- func (s AppBundleLinkSysType) MarshalJSON() ([]byte, error)
- func (s AppBundleLinkSysType) MarshalText() ([]byte, error)
- func (s *AppBundleLinkSysType) UnmarshalJSON(data []byte) error
- func (s *AppBundleLinkSysType) UnmarshalText(data []byte) error
- func (s AppBundleLinkSysType) Validate() error
- type AppDefinition
- func (s *AppDefinition) Decode(d *jx.Decoder) error
- func (s *AppDefinition) Encode(e *jx.Encoder)
- func (s *AppDefinition) GetBundle() OptAppBundleLink
- func (s *AppDefinition) GetLocations() []AppDefinitionLocationsItem
- func (s *AppDefinition) GetName() string
- func (s *AppDefinition) GetParameters() OptAppDefinitionParameters
- func (s *AppDefinition) GetSrc() OptString
- func (s *AppDefinition) GetSys() AppDefinitionSys
- func (s *AppDefinition) MarshalJSON() ([]byte, error)
- func (s *AppDefinition) SetBundle(val OptAppBundleLink)
- func (s *AppDefinition) SetLocations(val []AppDefinitionLocationsItem)
- func (s *AppDefinition) SetName(val string)
- func (s *AppDefinition) SetParameters(val OptAppDefinitionParameters)
- func (s *AppDefinition) SetSrc(val OptString)
- func (s *AppDefinition) SetSys(val AppDefinitionSys)
- func (s *AppDefinition) UnmarshalJSON(data []byte) error
- func (s *AppDefinition) Validate() error
- type AppDefinitionData
- func (s *AppDefinitionData) Decode(d *jx.Decoder) error
- func (s *AppDefinitionData) Encode(e *jx.Encoder)
- func (s *AppDefinitionData) GetBundle() OptAppBundleLink
- func (s *AppDefinitionData) GetLocations() []AppDefinitionDataLocationsItem
- func (s *AppDefinitionData) GetName() string
- func (s *AppDefinitionData) GetParameters() OptAppDefinitionParameters
- func (s *AppDefinitionData) GetSrc() OptString
- func (s *AppDefinitionData) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionData) SetBundle(val OptAppBundleLink)
- func (s *AppDefinitionData) SetLocations(val []AppDefinitionDataLocationsItem)
- func (s *AppDefinitionData) SetName(val string)
- func (s *AppDefinitionData) SetParameters(val OptAppDefinitionParameters)
- func (s *AppDefinitionData) SetSrc(val OptString)
- func (s *AppDefinitionData) UnmarshalJSON(data []byte) error
- func (s *AppDefinitionData) Validate() error
- type AppDefinitionDataLocationsItem
- func (s *AppDefinitionDataLocationsItem) Decode(d *jx.Decoder) error
- func (s *AppDefinitionDataLocationsItem) Encode(e *jx.Encoder)
- func (s *AppDefinitionDataLocationsItem) GetFieldTypes() []AppDefinitionDataLocationsItemFieldTypesItem
- func (s *AppDefinitionDataLocationsItem) GetLocation() string
- func (s *AppDefinitionDataLocationsItem) GetNavigationItem() OptAppDefinitionDataLocationsItemNavigationItem
- func (s *AppDefinitionDataLocationsItem) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionDataLocationsItem) SetFieldTypes(val []AppDefinitionDataLocationsItemFieldTypesItem)
- func (s *AppDefinitionDataLocationsItem) SetLocation(val string)
- func (s *AppDefinitionDataLocationsItem) SetNavigationItem(val OptAppDefinitionDataLocationsItemNavigationItem)
- func (s *AppDefinitionDataLocationsItem) UnmarshalJSON(data []byte) error
- type AppDefinitionDataLocationsItemFieldTypesItem
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) Decode(d *jx.Decoder) error
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) Encode(e *jx.Encoder)
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) GetItems() OptAppDefinitionDataLocationsItemFieldTypesItemItems
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) GetLinkType() OptString
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) GetType() string
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) SetItems(val OptAppDefinitionDataLocationsItemFieldTypesItemItems)
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) SetLinkType(val OptString)
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) SetType(val string)
- func (s *AppDefinitionDataLocationsItemFieldTypesItem) UnmarshalJSON(data []byte) error
- type AppDefinitionDataLocationsItemFieldTypesItemItems
- func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) Decode(d *jx.Decoder) error
- func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) Encode(e *jx.Encoder)
- func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) GetLinkType() OptString
- func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) GetType() string
- func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) SetLinkType(val OptString)
- func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) SetType(val string)
- func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) UnmarshalJSON(data []byte) error
- type AppDefinitionDataLocationsItemNavigationItem
- func (s *AppDefinitionDataLocationsItemNavigationItem) Decode(d *jx.Decoder) error
- func (s *AppDefinitionDataLocationsItemNavigationItem) Encode(e *jx.Encoder)
- func (s *AppDefinitionDataLocationsItemNavigationItem) GetName() string
- func (s *AppDefinitionDataLocationsItemNavigationItem) GetPath() string
- func (s *AppDefinitionDataLocationsItemNavigationItem) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionDataLocationsItemNavigationItem) SetName(val string)
- func (s *AppDefinitionDataLocationsItemNavigationItem) SetPath(val string)
- func (s *AppDefinitionDataLocationsItemNavigationItem) UnmarshalJSON(data []byte) error
- type AppDefinitionLink
- func (s *AppDefinitionLink) Decode(d *jx.Decoder) error
- func (s *AppDefinitionLink) Encode(e *jx.Encoder)
- func (s *AppDefinitionLink) GetSys() AppDefinitionLinkSys
- func (s *AppDefinitionLink) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionLink) SetSys(val AppDefinitionLinkSys)
- func (s *AppDefinitionLink) UnmarshalJSON(data []byte) error
- func (s *AppDefinitionLink) Validate() error
- type AppDefinitionLinkSys
- func (s *AppDefinitionLinkSys) Decode(d *jx.Decoder) error
- func (s *AppDefinitionLinkSys) Encode(e *jx.Encoder)
- func (s *AppDefinitionLinkSys) GetID() string
- func (s *AppDefinitionLinkSys) GetLinkType() AppDefinitionLinkSysLinkType
- func (s *AppDefinitionLinkSys) GetType() AppDefinitionLinkSysType
- func (s *AppDefinitionLinkSys) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionLinkSys) SetID(val string)
- func (s *AppDefinitionLinkSys) SetLinkType(val AppDefinitionLinkSysLinkType)
- func (s *AppDefinitionLinkSys) SetType(val AppDefinitionLinkSysType)
- func (s *AppDefinitionLinkSys) UnmarshalJSON(data []byte) error
- func (s *AppDefinitionLinkSys) Validate() error
- type AppDefinitionLinkSysLinkType
- func (AppDefinitionLinkSysLinkType) AllValues() []AppDefinitionLinkSysLinkType
- func (s *AppDefinitionLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s AppDefinitionLinkSysLinkType) Encode(e *jx.Encoder)
- func (s AppDefinitionLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s AppDefinitionLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *AppDefinitionLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *AppDefinitionLinkSysLinkType) UnmarshalText(data []byte) error
- func (s AppDefinitionLinkSysLinkType) Validate() error
- type AppDefinitionLinkSysType
- func (AppDefinitionLinkSysType) AllValues() []AppDefinitionLinkSysType
- func (s *AppDefinitionLinkSysType) Decode(d *jx.Decoder) error
- func (s AppDefinitionLinkSysType) Encode(e *jx.Encoder)
- func (s AppDefinitionLinkSysType) MarshalJSON() ([]byte, error)
- func (s AppDefinitionLinkSysType) MarshalText() ([]byte, error)
- func (s *AppDefinitionLinkSysType) UnmarshalJSON(data []byte) error
- func (s *AppDefinitionLinkSysType) UnmarshalText(data []byte) error
- func (s AppDefinitionLinkSysType) Validate() error
- type AppDefinitionLocationsItem
- func (s *AppDefinitionLocationsItem) Decode(d *jx.Decoder) error
- func (s *AppDefinitionLocationsItem) Encode(e *jx.Encoder)
- func (s *AppDefinitionLocationsItem) GetFieldTypes() []AppDefinitionLocationsItemFieldTypesItem
- func (s *AppDefinitionLocationsItem) GetLocation() string
- func (s *AppDefinitionLocationsItem) GetNavigationItem() OptAppDefinitionLocationsItemNavigationItem
- func (s *AppDefinitionLocationsItem) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionLocationsItem) SetFieldTypes(val []AppDefinitionLocationsItemFieldTypesItem)
- func (s *AppDefinitionLocationsItem) SetLocation(val string)
- func (s *AppDefinitionLocationsItem) SetNavigationItem(val OptAppDefinitionLocationsItemNavigationItem)
- func (s *AppDefinitionLocationsItem) UnmarshalJSON(data []byte) error
- type AppDefinitionLocationsItemFieldTypesItem
- func (s *AppDefinitionLocationsItemFieldTypesItem) Decode(d *jx.Decoder) error
- func (s *AppDefinitionLocationsItemFieldTypesItem) Encode(e *jx.Encoder)
- func (s *AppDefinitionLocationsItemFieldTypesItem) GetItems() OptAppDefinitionLocationsItemFieldTypesItemItems
- func (s *AppDefinitionLocationsItemFieldTypesItem) GetLinkType() OptString
- func (s *AppDefinitionLocationsItemFieldTypesItem) GetType() string
- func (s *AppDefinitionLocationsItemFieldTypesItem) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionLocationsItemFieldTypesItem) SetItems(val OptAppDefinitionLocationsItemFieldTypesItemItems)
- func (s *AppDefinitionLocationsItemFieldTypesItem) SetLinkType(val OptString)
- func (s *AppDefinitionLocationsItemFieldTypesItem) SetType(val string)
- func (s *AppDefinitionLocationsItemFieldTypesItem) UnmarshalJSON(data []byte) error
- type AppDefinitionLocationsItemFieldTypesItemItems
- func (s *AppDefinitionLocationsItemFieldTypesItemItems) Decode(d *jx.Decoder) error
- func (s *AppDefinitionLocationsItemFieldTypesItemItems) Encode(e *jx.Encoder)
- func (s *AppDefinitionLocationsItemFieldTypesItemItems) GetLinkType() OptString
- func (s *AppDefinitionLocationsItemFieldTypesItemItems) GetType() string
- func (s *AppDefinitionLocationsItemFieldTypesItemItems) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionLocationsItemFieldTypesItemItems) SetLinkType(val OptString)
- func (s *AppDefinitionLocationsItemFieldTypesItemItems) SetType(val string)
- func (s *AppDefinitionLocationsItemFieldTypesItemItems) UnmarshalJSON(data []byte) error
- type AppDefinitionLocationsItemNavigationItem
- func (s *AppDefinitionLocationsItemNavigationItem) Decode(d *jx.Decoder) error
- func (s *AppDefinitionLocationsItemNavigationItem) Encode(e *jx.Encoder)
- func (s *AppDefinitionLocationsItemNavigationItem) GetName() string
- func (s *AppDefinitionLocationsItemNavigationItem) GetPath() string
- func (s *AppDefinitionLocationsItemNavigationItem) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionLocationsItemNavigationItem) SetName(val string)
- func (s *AppDefinitionLocationsItemNavigationItem) SetPath(val string)
- func (s *AppDefinitionLocationsItemNavigationItem) UnmarshalJSON(data []byte) error
- type AppDefinitionParameter
- func (s *AppDefinitionParameter) Decode(d *jx.Decoder) error
- func (s *AppDefinitionParameter) Encode(e *jx.Encoder)
- func (s *AppDefinitionParameter) GetDefault() jx.Raw
- func (s *AppDefinitionParameter) GetDescription() OptString
- func (s *AppDefinitionParameter) GetID() string
- func (s *AppDefinitionParameter) GetLabels() OptAppDefinitionParameterLabels
- func (s *AppDefinitionParameter) GetName() string
- func (s *AppDefinitionParameter) GetOptions() []jx.Raw
- func (s *AppDefinitionParameter) GetRequired() OptBool
- func (s *AppDefinitionParameter) GetType() string
- func (s *AppDefinitionParameter) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionParameter) SetDefault(val jx.Raw)
- func (s *AppDefinitionParameter) SetDescription(val OptString)
- func (s *AppDefinitionParameter) SetID(val string)
- func (s *AppDefinitionParameter) SetLabels(val OptAppDefinitionParameterLabels)
- func (s *AppDefinitionParameter) SetName(val string)
- func (s *AppDefinitionParameter) SetOptions(val []jx.Raw)
- func (s *AppDefinitionParameter) SetRequired(val OptBool)
- func (s *AppDefinitionParameter) SetType(val string)
- func (s *AppDefinitionParameter) UnmarshalJSON(data []byte) error
- type AppDefinitionParameterLabels
- func (s *AppDefinitionParameterLabels) Decode(d *jx.Decoder) error
- func (s *AppDefinitionParameterLabels) Encode(e *jx.Encoder)
- func (s *AppDefinitionParameterLabels) GetEmpty() OptString
- func (s *AppDefinitionParameterLabels) GetFalse() OptString
- func (s *AppDefinitionParameterLabels) GetTrue() OptString
- func (s *AppDefinitionParameterLabels) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionParameterLabels) SetEmpty(val OptString)
- func (s *AppDefinitionParameterLabels) SetFalse(val OptString)
- func (s *AppDefinitionParameterLabels) SetTrue(val OptString)
- func (s *AppDefinitionParameterLabels) UnmarshalJSON(data []byte) error
- type AppDefinitionParameters
- func (s *AppDefinitionParameters) Decode(d *jx.Decoder) error
- func (s *AppDefinitionParameters) Encode(e *jx.Encoder)
- func (s *AppDefinitionParameters) GetInstallation() []AppDefinitionParameter
- func (s *AppDefinitionParameters) GetInstance() []AppDefinitionParameter
- func (s *AppDefinitionParameters) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionParameters) SetInstallation(val []AppDefinitionParameter)
- func (s *AppDefinitionParameters) SetInstance(val []AppDefinitionParameter)
- func (s *AppDefinitionParameters) UnmarshalJSON(data []byte) error
- type AppDefinitionStatusCode
- type AppDefinitionSys
- func (s *AppDefinitionSys) Decode(d *jx.Decoder) error
- func (s *AppDefinitionSys) Encode(e *jx.Encoder)
- func (s *AppDefinitionSys) GetID() string
- func (s *AppDefinitionSys) GetOrganization() OrganizationLink
- func (s *AppDefinitionSys) GetType() AppDefinitionSysType
- func (s *AppDefinitionSys) MarshalJSON() ([]byte, error)
- func (s *AppDefinitionSys) SetID(val string)
- func (s *AppDefinitionSys) SetOrganization(val OrganizationLink)
- func (s *AppDefinitionSys) SetType(val AppDefinitionSysType)
- func (s *AppDefinitionSys) UnmarshalJSON(data []byte) error
- func (s *AppDefinitionSys) Validate() error
- type AppDefinitionSysType
- func (AppDefinitionSysType) AllValues() []AppDefinitionSysType
- func (s *AppDefinitionSysType) Decode(d *jx.Decoder) error
- func (s AppDefinitionSysType) Encode(e *jx.Encoder)
- func (s AppDefinitionSysType) MarshalJSON() ([]byte, error)
- func (s AppDefinitionSysType) MarshalText() ([]byte, error)
- func (s *AppDefinitionSysType) UnmarshalJSON(data []byte) error
- func (s *AppDefinitionSysType) UnmarshalText(data []byte) error
- func (s AppDefinitionSysType) Validate() error
- type AppInstallation
- func (s *AppInstallation) Decode(d *jx.Decoder) error
- func (s *AppInstallation) Encode(e *jx.Encoder)
- func (s *AppInstallation) GetParameters() jx.Raw
- func (s *AppInstallation) GetSys() AppInstallationSys
- func (s *AppInstallation) MarshalJSON() ([]byte, error)
- func (s *AppInstallation) SetParameters(val jx.Raw)
- func (s *AppInstallation) SetSys(val AppInstallationSys)
- func (s *AppInstallation) UnmarshalJSON(data []byte) error
- func (s *AppInstallation) Validate() error
- type AppInstallationData
- func (s *AppInstallationData) Decode(d *jx.Decoder) error
- func (s *AppInstallationData) Encode(e *jx.Encoder)
- func (s *AppInstallationData) GetParameters() jx.Raw
- func (s *AppInstallationData) MarshalJSON() ([]byte, error)
- func (s *AppInstallationData) SetParameters(val jx.Raw)
- func (s *AppInstallationData) UnmarshalJSON(data []byte) error
- type AppInstallationStatusCode
- func (s *AppInstallationStatusCode) GetResponse() AppInstallation
- func (s *AppInstallationStatusCode) GetStatusCode() int
- func (s *AppInstallationStatusCode) SetResponse(val AppInstallation)
- func (s *AppInstallationStatusCode) SetStatusCode(val int)
- func (s *AppInstallationStatusCode) Validate() error
- type AppInstallationSys
- func (s *AppInstallationSys) Decode(d *jx.Decoder) error
- func (s *AppInstallationSys) Encode(e *jx.Encoder)
- func (s *AppInstallationSys) GetAppDefinition() AppDefinitionLink
- func (s *AppInstallationSys) GetEnvironment() EnvironmentLink
- func (s *AppInstallationSys) GetSpace() SpaceLink
- func (s *AppInstallationSys) GetType() AppInstallationSysType
- func (s *AppInstallationSys) MarshalJSON() ([]byte, error)
- func (s *AppInstallationSys) SetAppDefinition(val AppDefinitionLink)
- func (s *AppInstallationSys) SetEnvironment(val EnvironmentLink)
- func (s *AppInstallationSys) SetSpace(val SpaceLink)
- func (s *AppInstallationSys) SetType(val AppInstallationSysType)
- func (s *AppInstallationSys) UnmarshalJSON(data []byte) error
- func (s *AppInstallationSys) Validate() error
- type AppInstallationSysType
- func (AppInstallationSysType) AllValues() []AppInstallationSysType
- func (s *AppInstallationSysType) Decode(d *jx.Decoder) error
- func (s AppInstallationSysType) Encode(e *jx.Encoder)
- func (s AppInstallationSysType) MarshalJSON() ([]byte, error)
- func (s AppInstallationSysType) MarshalText() ([]byte, error)
- func (s *AppInstallationSysType) UnmarshalJSON(data []byte) error
- func (s *AppInstallationSysType) UnmarshalText(data []byte) error
- func (s AppInstallationSysType) Validate() error
- type AppSigningSecret
- func (s *AppSigningSecret) Decode(d *jx.Decoder) error
- func (s *AppSigningSecret) Encode(e *jx.Encoder)
- func (s *AppSigningSecret) GetRedactedValue() string
- func (s *AppSigningSecret) GetSys() AppSigningSecretSys
- func (s *AppSigningSecret) MarshalJSON() ([]byte, error)
- func (s *AppSigningSecret) SetRedactedValue(val string)
- func (s *AppSigningSecret) SetSys(val AppSigningSecretSys)
- func (s *AppSigningSecret) UnmarshalJSON(data []byte) error
- func (s *AppSigningSecret) Validate() error
- type AppSigningSecretRequestData
- func (s *AppSigningSecretRequestData) Decode(d *jx.Decoder) error
- func (s *AppSigningSecretRequestData) Encode(e *jx.Encoder)
- func (s *AppSigningSecretRequestData) GetValue() string
- func (s *AppSigningSecretRequestData) MarshalJSON() ([]byte, error)
- func (s *AppSigningSecretRequestData) SetValue(val string)
- func (s *AppSigningSecretRequestData) UnmarshalJSON(data []byte) error
- type AppSigningSecretStatusCode
- func (s *AppSigningSecretStatusCode) GetResponse() AppSigningSecret
- func (s *AppSigningSecretStatusCode) GetStatusCode() int
- func (s *AppSigningSecretStatusCode) SetResponse(val AppSigningSecret)
- func (s *AppSigningSecretStatusCode) SetStatusCode(val int)
- func (s *AppSigningSecretStatusCode) Validate() error
- type AppSigningSecretSys
- func (s *AppSigningSecretSys) Decode(d *jx.Decoder) error
- func (s *AppSigningSecretSys) Encode(e *jx.Encoder)
- func (s *AppSigningSecretSys) GetAppDefinition() AppDefinitionLink
- func (s *AppSigningSecretSys) GetOrganization() OrganizationLink
- func (s *AppSigningSecretSys) GetType() AppSigningSecretSysType
- func (s *AppSigningSecretSys) MarshalJSON() ([]byte, error)
- func (s *AppSigningSecretSys) SetAppDefinition(val AppDefinitionLink)
- func (s *AppSigningSecretSys) SetOrganization(val OrganizationLink)
- func (s *AppSigningSecretSys) SetType(val AppSigningSecretSysType)
- func (s *AppSigningSecretSys) UnmarshalJSON(data []byte) error
- func (s *AppSigningSecretSys) Validate() error
- type AppSigningSecretSysType
- func (AppSigningSecretSysType) AllValues() []AppSigningSecretSysType
- func (s *AppSigningSecretSysType) Decode(d *jx.Decoder) error
- func (s AppSigningSecretSysType) Encode(e *jx.Encoder)
- func (s AppSigningSecretSysType) MarshalJSON() ([]byte, error)
- func (s AppSigningSecretSysType) MarshalText() ([]byte, error)
- func (s *AppSigningSecretSysType) UnmarshalJSON(data []byte) error
- func (s *AppSigningSecretSysType) UnmarshalText(data []byte) error
- func (s AppSigningSecretSysType) Validate() error
- type ApplicationJSONError
- func (s *ApplicationJSONError) Decode(d *jx.Decoder) error
- func (s ApplicationJSONError) Encode(e *jx.Encoder)
- func (s ApplicationJSONError) GetError() (v Error, ok bool)
- func (s ApplicationJSONError) IsError() bool
- func (s ApplicationJSONError) MarshalJSON() ([]byte, error)
- func (s *ApplicationJSONError) SetError(v Error)
- func (s *ApplicationJSONError) UnmarshalJSON(data []byte) error
- func (s ApplicationJSONError) Validate() error
- type ApplicationJSONErrorStatusCode
- func (r *ApplicationJSONErrorStatusCode) GetError() (Error, bool)
- func (s *ApplicationJSONErrorStatusCode) GetResponse() ApplicationJSONError
- func (s *ApplicationJSONErrorStatusCode) GetStatusCode() int
- func (s *ApplicationJSONErrorStatusCode) SetResponse(val ApplicationJSONError)
- func (s *ApplicationJSONErrorStatusCode) SetStatusCode(val int)
- func (s *ApplicationJSONErrorStatusCode) Validate() error
- type ApplicationJSONErrorType
- type ApplicationVndContentfulManagementV1JSONError
- func (s *ApplicationVndContentfulManagementV1JSONError) Decode(d *jx.Decoder) error
- func (s ApplicationVndContentfulManagementV1JSONError) Encode(e *jx.Encoder)
- func (s ApplicationVndContentfulManagementV1JSONError) GetError() (v Error, ok bool)
- func (s ApplicationVndContentfulManagementV1JSONError) IsError() bool
- func (s ApplicationVndContentfulManagementV1JSONError) MarshalJSON() ([]byte, error)
- func (s *ApplicationVndContentfulManagementV1JSONError) SetError(v Error)
- func (s *ApplicationVndContentfulManagementV1JSONError) UnmarshalJSON(data []byte) error
- func (s ApplicationVndContentfulManagementV1JSONError) Validate() error
- type ApplicationVndContentfulManagementV1JSONErrorStatusCode
- func (r *ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetError() (Error, bool)
- func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetResponse() ApplicationVndContentfulManagementV1JSONError
- func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetStatusCode() int
- func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) SetResponse(val ApplicationVndContentfulManagementV1JSONError)
- func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) SetStatusCode(val int)
- func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) Validate() error
- type ApplicationVndContentfulManagementV1JSONErrorType
- type Client
- func (c *Client) ActivateContentType(ctx context.Context, params ActivateContentTypeParams, ...) (ActivateContentTypeRes, error)
- func (c *Client) CreateAppDefinition(ctx context.Context, request *AppDefinitionData, ...) (CreateAppDefinitionRes, error)
- func (c *Client) CreateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, ...) (CreateDeliveryAPIKeyRes, error)
- func (c *Client) CreateEntry(ctx context.Context, request *EntryRequest, params CreateEntryParams, ...) (CreateEntryRes, error)
- func (c *Client) CreateOrUpdateEnvironment(ctx context.Context, request *EnvironmentData, ...) (CreateOrUpdateEnvironmentRes, error)
- func (c *Client) CreateOrUpdateEnvironmentAlias(ctx context.Context, request *EnvironmentAliasData, ...) (CreateOrUpdateEnvironmentAliasRes, error)
- func (c *Client) CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestData, ...) (CreatePersonalAccessTokenRes, error)
- func (c *Client) CreateRole(ctx context.Context, request *RoleData, params CreateRoleParams, ...) (CreateRoleRes, error)
- func (c *Client) CreateTeam(ctx context.Context, request *TeamData, params CreateTeamParams, ...) (CreateTeamRes, error)
- func (c *Client) CreateTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, ...) (CreateTeamSpaceMembershipRes, error)
- func (c *Client) CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, ...) (CreateWebhookDefinitionRes, error)
- func (c *Client) DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams, ...) (DeactivateContentTypeRes, error)
- func (c *Client) DeleteAppDefinition(ctx context.Context, params DeleteAppDefinitionParams, ...) (DeleteAppDefinitionRes, error)
- func (c *Client) DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams, ...) (DeleteAppInstallationRes, error)
- func (c *Client) DeleteAppSigningSecret(ctx context.Context, params DeleteAppSigningSecretParams, ...) (DeleteAppSigningSecretRes, error)
- func (c *Client) DeleteContentType(ctx context.Context, params DeleteContentTypeParams, options ...RequestOption) (DeleteContentTypeRes, error)
- func (c *Client) DeleteDeliveryAPIKey(ctx context.Context, params DeleteDeliveryAPIKeyParams, ...) (DeleteDeliveryAPIKeyRes, error)
- func (c *Client) DeleteEntry(ctx context.Context, params DeleteEntryParams, options ...RequestOption) (DeleteEntryRes, error)
- func (c *Client) DeleteEnvironment(ctx context.Context, params DeleteEnvironmentParams, options ...RequestOption) (DeleteEnvironmentRes, error)
- func (c *Client) DeleteEnvironmentAlias(ctx context.Context, params DeleteEnvironmentAliasParams, ...) (DeleteEnvironmentAliasRes, error)
- func (c *Client) DeleteExtension(ctx context.Context, params DeleteExtensionParams, options ...RequestOption) (DeleteExtensionRes, error)
- func (c *Client) DeleteResourceProvider(ctx context.Context, params DeleteResourceProviderParams, ...) (DeleteResourceProviderRes, error)
- func (c *Client) DeleteResourceType(ctx context.Context, params DeleteResourceTypeParams, options ...RequestOption) (DeleteResourceTypeRes, error)
- func (c *Client) DeleteRole(ctx context.Context, params DeleteRoleParams, options ...RequestOption) (DeleteRoleRes, error)
- func (c *Client) DeleteTag(ctx context.Context, params DeleteTagParams, options ...RequestOption) (DeleteTagRes, error)
- func (c *Client) DeleteTeam(ctx context.Context, params DeleteTeamParams, options ...RequestOption) (DeleteTeamRes, error)
- func (c *Client) DeleteTeamSpaceMembership(ctx context.Context, params DeleteTeamSpaceMembershipParams, ...) (DeleteTeamSpaceMembershipRes, error)
- func (c *Client) DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams, ...) (DeleteWebhookDefinitionRes, error)
- func (c *Client) GetAppDefinition(ctx context.Context, params GetAppDefinitionParams, options ...RequestOption) (GetAppDefinitionRes, error)
- func (c *Client) GetAppInstallation(ctx context.Context, params GetAppInstallationParams, options ...RequestOption) (GetAppInstallationRes, error)
- func (c *Client) GetAppSigningSecret(ctx context.Context, params GetAppSigningSecretParams, ...) (GetAppSigningSecretRes, error)
- func (c *Client) GetAuthenticatedUser(ctx context.Context, options ...RequestOption) (GetAuthenticatedUserRes, error)
- func (c *Client) GetContentType(ctx context.Context, params GetContentTypeParams, options ...RequestOption) (GetContentTypeRes, error)
- func (c *Client) GetContentTypes(ctx context.Context, params GetContentTypesParams, options ...RequestOption) (GetContentTypesRes, error)
- func (c *Client) GetDeliveryAPIKey(ctx context.Context, params GetDeliveryAPIKeyParams, options ...RequestOption) (GetDeliveryAPIKeyRes, error)
- func (c *Client) GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams, options ...RequestOption) (GetEditorInterfaceRes, error)
- func (c *Client) GetEntries(ctx context.Context, params GetEntriesParams, options ...RequestOption) (GetEntriesRes, error)
- func (c *Client) GetEntry(ctx context.Context, params GetEntryParams, options ...RequestOption) (GetEntryRes, error)
- func (c *Client) GetEnvironment(ctx context.Context, params GetEnvironmentParams, options ...RequestOption) (GetEnvironmentRes, error)
- func (c *Client) GetEnvironmentAlias(ctx context.Context, params GetEnvironmentAliasParams, ...) (GetEnvironmentAliasRes, error)
- func (c *Client) GetExtension(ctx context.Context, params GetExtensionParams, options ...RequestOption) (GetExtensionRes, error)
- func (c *Client) GetMarketplaceAppDefinitions(ctx context.Context, params GetMarketplaceAppDefinitionsParams, ...) (GetMarketplaceAppDefinitionsRes, error)
- func (c *Client) GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams, ...) (GetPersonalAccessTokenRes, error)
- func (c *Client) GetPreviewAPIKey(ctx context.Context, params GetPreviewAPIKeyParams, options ...RequestOption) (GetPreviewAPIKeyRes, error)
- func (c *Client) GetResourceProvider(ctx context.Context, params GetResourceProviderParams, ...) (GetResourceProviderRes, error)
- func (c *Client) GetResourceType(ctx context.Context, params GetResourceTypeParams, options ...RequestOption) (GetResourceTypeRes, error)
- func (c *Client) GetRole(ctx context.Context, params GetRoleParams, options ...RequestOption) (GetRoleRes, error)
- func (c *Client) GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams, ...) (GetSpaceEnablementsRes, error)
- func (c *Client) GetTag(ctx context.Context, params GetTagParams, options ...RequestOption) (GetTagRes, error)
- func (c *Client) GetTeam(ctx context.Context, params GetTeamParams, options ...RequestOption) (GetTeamRes, error)
- func (c *Client) GetTeamSpaceMembership(ctx context.Context, params GetTeamSpaceMembershipParams, ...) (GetTeamSpaceMembershipRes, error)
- func (c *Client) GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams, ...) (GetWebhookDefinitionRes, error)
- func (c *Client) PublishEntry(ctx context.Context, params PublishEntryParams, options ...RequestOption) (PublishEntryRes, error)
- func (c *Client) PutAppDefinition(ctx context.Context, request *AppDefinitionData, params PutAppDefinitionParams, ...) (PutAppDefinitionRes, error)
- func (c *Client) PutAppInstallation(ctx context.Context, request *AppInstallationData, ...) (PutAppInstallationRes, error)
- func (c *Client) PutAppSigningSecret(ctx context.Context, request *AppSigningSecretRequestData, ...) (PutAppSigningSecretRes, error)
- func (c *Client) PutContentType(ctx context.Context, request *ContentTypeRequestData, ...) (PutContentTypeRes, error)
- func (c *Client) PutEditorInterface(ctx context.Context, request *EditorInterfaceData, ...) (PutEditorInterfaceRes, error)
- func (c *Client) PutEntry(ctx context.Context, request *EntryRequest, params PutEntryParams, ...) (PutEntryRes, error)
- func (c *Client) PutExtension(ctx context.Context, request *ExtensionData, params PutExtensionParams, ...) (PutExtensionRes, error)
- func (c *Client) PutResourceProvider(ctx context.Context, request *ResourceProviderRequest, ...) (PutResourceProviderRes, error)
- func (c *Client) PutResourceType(ctx context.Context, request *ResourceTypeData, params PutResourceTypeParams, ...) (PutResourceTypeRes, error)
- func (c *Client) PutSpaceEnablements(ctx context.Context, request *SpaceEnablementData, ...) (PutSpaceEnablementsRes, error)
- func (c *Client) PutTag(ctx context.Context, request *TagRequest, params PutTagParams, ...) (PutTagRes, error)
- func (c *Client) PutTeam(ctx context.Context, request *TeamData, params PutTeamParams, ...) (PutTeamRes, error)
- func (c *Client) PutTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, ...) (PutTeamSpaceMembershipRes, error)
- func (c *Client) RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams, ...) (RevokePersonalAccessTokenRes, error)
- func (c *Client) UnpublishEntry(ctx context.Context, params UnpublishEntryParams, options ...RequestOption) (UnpublishEntryRes, error)
- func (c *Client) UpdateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, ...) (UpdateDeliveryAPIKeyRes, error)
- func (c *Client) UpdateRole(ctx context.Context, request *RoleData, params UpdateRoleParams, ...) (UpdateRoleRes, error)
- func (c *Client) UpdateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, ...) (UpdateWebhookDefinitionRes, error)
- type ClientOption
- type ContentType
- func (s *ContentType) Decode(d *jx.Decoder) error
- func (s *ContentType) Encode(e *jx.Encoder)
- func (s *ContentType) GetDescription() OptNilString
- func (s *ContentType) GetDisplayField() NilString
- func (s *ContentType) GetFields() []ContentTypeFieldsItem
- func (s *ContentType) GetMetadata() OptContentTypeMetadata
- func (s *ContentType) GetName() string
- func (s *ContentType) GetSys() ContentTypeSys
- func (s *ContentType) MarshalJSON() ([]byte, error)
- func (s *ContentType) SetDescription(val OptNilString)
- func (s *ContentType) SetDisplayField(val NilString)
- func (s *ContentType) SetFields(val []ContentTypeFieldsItem)
- func (s *ContentType) SetMetadata(val OptContentTypeMetadata)
- func (s *ContentType) SetName(val string)
- func (s *ContentType) SetSys(val ContentTypeSys)
- func (s *ContentType) UnmarshalJSON(data []byte) error
- func (s *ContentType) Validate() error
- type ContentTypeCollection
- func (s *ContentTypeCollection) Decode(d *jx.Decoder) error
- func (s *ContentTypeCollection) Encode(e *jx.Encoder)
- func (s *ContentTypeCollection) GetItems() []ContentType
- func (s *ContentTypeCollection) GetSys() ContentTypeCollectionSys
- func (s *ContentTypeCollection) GetTotal() OptInt
- func (s *ContentTypeCollection) MarshalJSON() ([]byte, error)
- func (s *ContentTypeCollection) SetItems(val []ContentType)
- func (s *ContentTypeCollection) SetSys(val ContentTypeCollectionSys)
- func (s *ContentTypeCollection) SetTotal(val OptInt)
- func (s *ContentTypeCollection) UnmarshalJSON(data []byte) error
- func (s *ContentTypeCollection) Validate() error
- type ContentTypeCollectionSys
- func (s *ContentTypeCollectionSys) Decode(d *jx.Decoder) error
- func (s *ContentTypeCollectionSys) Encode(e *jx.Encoder)
- func (s *ContentTypeCollectionSys) GetType() ContentTypeCollectionSysType
- func (s *ContentTypeCollectionSys) MarshalJSON() ([]byte, error)
- func (s *ContentTypeCollectionSys) SetType(val ContentTypeCollectionSysType)
- func (s *ContentTypeCollectionSys) UnmarshalJSON(data []byte) error
- func (s *ContentTypeCollectionSys) Validate() error
- type ContentTypeCollectionSysType
- func (ContentTypeCollectionSysType) AllValues() []ContentTypeCollectionSysType
- func (s *ContentTypeCollectionSysType) Decode(d *jx.Decoder) error
- func (s ContentTypeCollectionSysType) Encode(e *jx.Encoder)
- func (s ContentTypeCollectionSysType) MarshalJSON() ([]byte, error)
- func (s ContentTypeCollectionSysType) MarshalText() ([]byte, error)
- func (s *ContentTypeCollectionSysType) UnmarshalJSON(data []byte) error
- func (s *ContentTypeCollectionSysType) UnmarshalText(data []byte) error
- func (s ContentTypeCollectionSysType) Validate() error
- type ContentTypeFieldsItem
- func (s *ContentTypeFieldsItem) Decode(d *jx.Decoder) error
- func (s *ContentTypeFieldsItem) Encode(e *jx.Encoder)
- func (s *ContentTypeFieldsItem) GetAllowedResources() OptNilResourceLinkArray
- func (s *ContentTypeFieldsItem) GetDefaultValue() jx.Raw
- func (s *ContentTypeFieldsItem) GetDisabled() OptBool
- func (s *ContentTypeFieldsItem) GetID() string
- func (s *ContentTypeFieldsItem) GetItems() OptContentTypeFieldsItemItems
- func (s *ContentTypeFieldsItem) GetLinkType() OptString
- func (s *ContentTypeFieldsItem) GetLocalized() OptBool
- func (s *ContentTypeFieldsItem) GetName() string
- func (s *ContentTypeFieldsItem) GetOmitted() OptBool
- func (s *ContentTypeFieldsItem) GetRequired() OptBool
- func (s *ContentTypeFieldsItem) GetType() string
- func (s *ContentTypeFieldsItem) GetValidations() []jx.Raw
- func (s *ContentTypeFieldsItem) MarshalJSON() ([]byte, error)
- func (s *ContentTypeFieldsItem) SetAllowedResources(val OptNilResourceLinkArray)
- func (s *ContentTypeFieldsItem) SetDefaultValue(val jx.Raw)
- func (s *ContentTypeFieldsItem) SetDisabled(val OptBool)
- func (s *ContentTypeFieldsItem) SetID(val string)
- func (s *ContentTypeFieldsItem) SetItems(val OptContentTypeFieldsItemItems)
- func (s *ContentTypeFieldsItem) SetLinkType(val OptString)
- func (s *ContentTypeFieldsItem) SetLocalized(val OptBool)
- func (s *ContentTypeFieldsItem) SetName(val string)
- func (s *ContentTypeFieldsItem) SetOmitted(val OptBool)
- func (s *ContentTypeFieldsItem) SetRequired(val OptBool)
- func (s *ContentTypeFieldsItem) SetType(val string)
- func (s *ContentTypeFieldsItem) SetValidations(val []jx.Raw)
- func (s *ContentTypeFieldsItem) UnmarshalJSON(data []byte) error
- func (s *ContentTypeFieldsItem) Validate() error
- type ContentTypeFieldsItemItems
- func (s *ContentTypeFieldsItemItems) Decode(d *jx.Decoder) error
- func (s *ContentTypeFieldsItemItems) Encode(e *jx.Encoder)
- func (s *ContentTypeFieldsItemItems) GetLinkType() OptString
- func (s *ContentTypeFieldsItemItems) GetType() OptString
- func (s *ContentTypeFieldsItemItems) GetValidations() []jx.Raw
- func (s *ContentTypeFieldsItemItems) MarshalJSON() ([]byte, error)
- func (s *ContentTypeFieldsItemItems) SetLinkType(val OptString)
- func (s *ContentTypeFieldsItemItems) SetType(val OptString)
- func (s *ContentTypeFieldsItemItems) SetValidations(val []jx.Raw)
- func (s *ContentTypeFieldsItemItems) UnmarshalJSON(data []byte) error
- type ContentTypeLink
- func (s *ContentTypeLink) Decode(d *jx.Decoder) error
- func (s *ContentTypeLink) Encode(e *jx.Encoder)
- func (s *ContentTypeLink) GetSys() ContentTypeLinkSys
- func (s *ContentTypeLink) MarshalJSON() ([]byte, error)
- func (s *ContentTypeLink) SetSys(val ContentTypeLinkSys)
- func (s *ContentTypeLink) UnmarshalJSON(data []byte) error
- func (s *ContentTypeLink) Validate() error
- type ContentTypeLinkSys
- func (s *ContentTypeLinkSys) Decode(d *jx.Decoder) error
- func (s *ContentTypeLinkSys) Encode(e *jx.Encoder)
- func (s *ContentTypeLinkSys) GetID() string
- func (s *ContentTypeLinkSys) GetLinkType() ContentTypeLinkSysLinkType
- func (s *ContentTypeLinkSys) GetType() ContentTypeLinkSysType
- func (s *ContentTypeLinkSys) MarshalJSON() ([]byte, error)
- func (s *ContentTypeLinkSys) SetID(val string)
- func (s *ContentTypeLinkSys) SetLinkType(val ContentTypeLinkSysLinkType)
- func (s *ContentTypeLinkSys) SetType(val ContentTypeLinkSysType)
- func (s *ContentTypeLinkSys) UnmarshalJSON(data []byte) error
- func (s *ContentTypeLinkSys) Validate() error
- type ContentTypeLinkSysLinkType
- func (ContentTypeLinkSysLinkType) AllValues() []ContentTypeLinkSysLinkType
- func (s *ContentTypeLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s ContentTypeLinkSysLinkType) Encode(e *jx.Encoder)
- func (s ContentTypeLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s ContentTypeLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *ContentTypeLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *ContentTypeLinkSysLinkType) UnmarshalText(data []byte) error
- func (s ContentTypeLinkSysLinkType) Validate() error
- type ContentTypeLinkSysType
- func (ContentTypeLinkSysType) AllValues() []ContentTypeLinkSysType
- func (s *ContentTypeLinkSysType) Decode(d *jx.Decoder) error
- func (s ContentTypeLinkSysType) Encode(e *jx.Encoder)
- func (s ContentTypeLinkSysType) MarshalJSON() ([]byte, error)
- func (s ContentTypeLinkSysType) MarshalText() ([]byte, error)
- func (s *ContentTypeLinkSysType) UnmarshalJSON(data []byte) error
- func (s *ContentTypeLinkSysType) UnmarshalText(data []byte) error
- func (s ContentTypeLinkSysType) Validate() error
- type ContentTypeMetadata
- func (s *ContentTypeMetadata) Decode(d *jx.Decoder) error
- func (s *ContentTypeMetadata) Encode(e *jx.Encoder)
- func (s *ContentTypeMetadata) GetAnnotations() jx.Raw
- func (s *ContentTypeMetadata) GetTaxonomy() []ContentTypeMetadataTaxonomyItem
- func (s *ContentTypeMetadata) MarshalJSON() ([]byte, error)
- func (s *ContentTypeMetadata) SetAnnotations(val jx.Raw)
- func (s *ContentTypeMetadata) SetTaxonomy(val []ContentTypeMetadataTaxonomyItem)
- func (s *ContentTypeMetadata) UnmarshalJSON(data []byte) error
- func (s *ContentTypeMetadata) Validate() error
- type ContentTypeMetadataTaxonomyItem
- func (s *ContentTypeMetadataTaxonomyItem) Decode(d *jx.Decoder) error
- func (s *ContentTypeMetadataTaxonomyItem) Encode(e *jx.Encoder)
- func (s *ContentTypeMetadataTaxonomyItem) GetRequired() OptBool
- func (s *ContentTypeMetadataTaxonomyItem) GetSys() ContentTypeMetadataTaxonomyItemSys
- func (s *ContentTypeMetadataTaxonomyItem) MarshalJSON() ([]byte, error)
- func (s *ContentTypeMetadataTaxonomyItem) SetRequired(val OptBool)
- func (s *ContentTypeMetadataTaxonomyItem) SetSys(val ContentTypeMetadataTaxonomyItemSys)
- func (s *ContentTypeMetadataTaxonomyItem) UnmarshalJSON(data []byte) error
- func (s *ContentTypeMetadataTaxonomyItem) Validate() error
- type ContentTypeMetadataTaxonomyItemSys
- func (s *ContentTypeMetadataTaxonomyItemSys) Decode(d *jx.Decoder) error
- func (s *ContentTypeMetadataTaxonomyItemSys) Encode(e *jx.Encoder)
- func (s *ContentTypeMetadataTaxonomyItemSys) GetID() string
- func (s *ContentTypeMetadataTaxonomyItemSys) GetLinkType() ContentTypeMetadataTaxonomyItemSysLinkType
- func (s *ContentTypeMetadataTaxonomyItemSys) GetType() ContentTypeMetadataTaxonomyItemSysType
- func (s *ContentTypeMetadataTaxonomyItemSys) MarshalJSON() ([]byte, error)
- func (s *ContentTypeMetadataTaxonomyItemSys) SetID(val string)
- func (s *ContentTypeMetadataTaxonomyItemSys) SetLinkType(val ContentTypeMetadataTaxonomyItemSysLinkType)
- func (s *ContentTypeMetadataTaxonomyItemSys) SetType(val ContentTypeMetadataTaxonomyItemSysType)
- func (s *ContentTypeMetadataTaxonomyItemSys) UnmarshalJSON(data []byte) error
- func (s *ContentTypeMetadataTaxonomyItemSys) Validate() error
- type ContentTypeMetadataTaxonomyItemSysLinkType
- func (ContentTypeMetadataTaxonomyItemSysLinkType) AllValues() []ContentTypeMetadataTaxonomyItemSysLinkType
- func (s *ContentTypeMetadataTaxonomyItemSysLinkType) Decode(d *jx.Decoder) error
- func (s ContentTypeMetadataTaxonomyItemSysLinkType) Encode(e *jx.Encoder)
- func (s ContentTypeMetadataTaxonomyItemSysLinkType) MarshalJSON() ([]byte, error)
- func (s ContentTypeMetadataTaxonomyItemSysLinkType) MarshalText() ([]byte, error)
- func (s *ContentTypeMetadataTaxonomyItemSysLinkType) UnmarshalJSON(data []byte) error
- func (s *ContentTypeMetadataTaxonomyItemSysLinkType) UnmarshalText(data []byte) error
- func (s ContentTypeMetadataTaxonomyItemSysLinkType) Validate() error
- type ContentTypeMetadataTaxonomyItemSysType
- func (ContentTypeMetadataTaxonomyItemSysType) AllValues() []ContentTypeMetadataTaxonomyItemSysType
- func (s *ContentTypeMetadataTaxonomyItemSysType) Decode(d *jx.Decoder) error
- func (s ContentTypeMetadataTaxonomyItemSysType) Encode(e *jx.Encoder)
- func (s ContentTypeMetadataTaxonomyItemSysType) MarshalJSON() ([]byte, error)
- func (s ContentTypeMetadataTaxonomyItemSysType) MarshalText() ([]byte, error)
- func (s *ContentTypeMetadataTaxonomyItemSysType) UnmarshalJSON(data []byte) error
- func (s *ContentTypeMetadataTaxonomyItemSysType) UnmarshalText(data []byte) error
- func (s ContentTypeMetadataTaxonomyItemSysType) Validate() error
- type ContentTypeRequestData
- func (s *ContentTypeRequestData) Decode(d *jx.Decoder) error
- func (s *ContentTypeRequestData) Encode(e *jx.Encoder)
- func (s *ContentTypeRequestData) GetDescription() OptNilString
- func (s *ContentTypeRequestData) GetDisplayField() string
- func (s *ContentTypeRequestData) GetFields() []ContentTypeRequestDataFieldsItem
- func (s *ContentTypeRequestData) GetMetadata() OptContentTypeMetadata
- func (s *ContentTypeRequestData) GetName() string
- func (s *ContentTypeRequestData) MarshalJSON() ([]byte, error)
- func (s *ContentTypeRequestData) SetDescription(val OptNilString)
- func (s *ContentTypeRequestData) SetDisplayField(val string)
- func (s *ContentTypeRequestData) SetFields(val []ContentTypeRequestDataFieldsItem)
- func (s *ContentTypeRequestData) SetMetadata(val OptContentTypeMetadata)
- func (s *ContentTypeRequestData) SetName(val string)
- func (s *ContentTypeRequestData) UnmarshalJSON(data []byte) error
- func (s *ContentTypeRequestData) Validate() error
- type ContentTypeRequestDataFieldsItem
- func (s *ContentTypeRequestDataFieldsItem) Decode(d *jx.Decoder) error
- func (s *ContentTypeRequestDataFieldsItem) Encode(e *jx.Encoder)
- func (s *ContentTypeRequestDataFieldsItem) GetAllowedResources() OptNilResourceLinkArray
- func (s *ContentTypeRequestDataFieldsItem) GetDefaultValue() jx.Raw
- func (s *ContentTypeRequestDataFieldsItem) GetDisabled() OptBool
- func (s *ContentTypeRequestDataFieldsItem) GetID() string
- func (s *ContentTypeRequestDataFieldsItem) GetItems() OptContentTypeRequestDataFieldsItemItems
- func (s *ContentTypeRequestDataFieldsItem) GetLinkType() OptString
- func (s *ContentTypeRequestDataFieldsItem) GetLocalized() OptBool
- func (s *ContentTypeRequestDataFieldsItem) GetName() string
- func (s *ContentTypeRequestDataFieldsItem) GetOmitted() OptBool
- func (s *ContentTypeRequestDataFieldsItem) GetRequired() OptBool
- func (s *ContentTypeRequestDataFieldsItem) GetType() string
- func (s *ContentTypeRequestDataFieldsItem) GetValidations() []jx.Raw
- func (s *ContentTypeRequestDataFieldsItem) MarshalJSON() ([]byte, error)
- func (s *ContentTypeRequestDataFieldsItem) SetAllowedResources(val OptNilResourceLinkArray)
- func (s *ContentTypeRequestDataFieldsItem) SetDefaultValue(val jx.Raw)
- func (s *ContentTypeRequestDataFieldsItem) SetDisabled(val OptBool)
- func (s *ContentTypeRequestDataFieldsItem) SetID(val string)
- func (s *ContentTypeRequestDataFieldsItem) SetItems(val OptContentTypeRequestDataFieldsItemItems)
- func (s *ContentTypeRequestDataFieldsItem) SetLinkType(val OptString)
- func (s *ContentTypeRequestDataFieldsItem) SetLocalized(val OptBool)
- func (s *ContentTypeRequestDataFieldsItem) SetName(val string)
- func (s *ContentTypeRequestDataFieldsItem) SetOmitted(val OptBool)
- func (s *ContentTypeRequestDataFieldsItem) SetRequired(val OptBool)
- func (s *ContentTypeRequestDataFieldsItem) SetType(val string)
- func (s *ContentTypeRequestDataFieldsItem) SetValidations(val []jx.Raw)
- func (s *ContentTypeRequestDataFieldsItem) UnmarshalJSON(data []byte) error
- func (s *ContentTypeRequestDataFieldsItem) Validate() error
- type ContentTypeRequestDataFieldsItemItems
- func (s *ContentTypeRequestDataFieldsItemItems) Decode(d *jx.Decoder) error
- func (s *ContentTypeRequestDataFieldsItemItems) Encode(e *jx.Encoder)
- func (s *ContentTypeRequestDataFieldsItemItems) GetLinkType() OptString
- func (s *ContentTypeRequestDataFieldsItemItems) GetType() OptString
- func (s *ContentTypeRequestDataFieldsItemItems) GetValidations() []jx.Raw
- func (s *ContentTypeRequestDataFieldsItemItems) MarshalJSON() ([]byte, error)
- func (s *ContentTypeRequestDataFieldsItemItems) SetLinkType(val OptString)
- func (s *ContentTypeRequestDataFieldsItemItems) SetType(val OptString)
- func (s *ContentTypeRequestDataFieldsItemItems) SetValidations(val []jx.Raw)
- func (s *ContentTypeRequestDataFieldsItemItems) UnmarshalJSON(data []byte) error
- type ContentTypeStatusCode
- type ContentTypeSys
- func (s *ContentTypeSys) Decode(d *jx.Decoder) error
- func (s *ContentTypeSys) Encode(e *jx.Encoder)
- func (s *ContentTypeSys) GetEnvironment() EnvironmentLink
- func (s *ContentTypeSys) GetID() string
- func (s *ContentTypeSys) GetPublishedAt() OptDateTime
- func (s *ContentTypeSys) GetPublishedVersion() OptInt
- func (s *ContentTypeSys) GetSpace() SpaceLink
- func (s *ContentTypeSys) GetType() ContentTypeSysType
- func (s *ContentTypeSys) GetVersion() int
- func (s *ContentTypeSys) MarshalJSON() ([]byte, error)
- func (s *ContentTypeSys) SetEnvironment(val EnvironmentLink)
- func (s *ContentTypeSys) SetID(val string)
- func (s *ContentTypeSys) SetPublishedAt(val OptDateTime)
- func (s *ContentTypeSys) SetPublishedVersion(val OptInt)
- func (s *ContentTypeSys) SetSpace(val SpaceLink)
- func (s *ContentTypeSys) SetType(val ContentTypeSysType)
- func (s *ContentTypeSys) SetVersion(val int)
- func (s *ContentTypeSys) UnmarshalJSON(data []byte) error
- func (s *ContentTypeSys) Validate() error
- type ContentTypeSysType
- func (ContentTypeSysType) AllValues() []ContentTypeSysType
- func (s *ContentTypeSysType) Decode(d *jx.Decoder) error
- func (s ContentTypeSysType) Encode(e *jx.Encoder)
- func (s ContentTypeSysType) MarshalJSON() ([]byte, error)
- func (s ContentTypeSysType) MarshalText() ([]byte, error)
- func (s *ContentTypeSysType) UnmarshalJSON(data []byte) error
- func (s *ContentTypeSysType) UnmarshalText(data []byte) error
- func (s ContentTypeSysType) Validate() error
- type ContentfulEntryResourceLink
- func (s *ContentfulEntryResourceLink) Decode(d *jx.Decoder) error
- func (s *ContentfulEntryResourceLink) Encode(e *jx.Encoder)
- func (s *ContentfulEntryResourceLink) GetContentTypes() []string
- func (s *ContentfulEntryResourceLink) GetSource() string
- func (s *ContentfulEntryResourceLink) GetType() ContentfulEntryResourceLinkType
- func (s *ContentfulEntryResourceLink) MarshalJSON() ([]byte, error)
- func (s *ContentfulEntryResourceLink) SetContentTypes(val []string)
- func (s *ContentfulEntryResourceLink) SetSource(val string)
- func (s *ContentfulEntryResourceLink) SetType(val ContentfulEntryResourceLinkType)
- func (s *ContentfulEntryResourceLink) UnmarshalJSON(data []byte) error
- func (s *ContentfulEntryResourceLink) Validate() error
- type ContentfulEntryResourceLinkType
- func (ContentfulEntryResourceLinkType) AllValues() []ContentfulEntryResourceLinkType
- func (s *ContentfulEntryResourceLinkType) Decode(d *jx.Decoder) error
- func (s ContentfulEntryResourceLinkType) Encode(e *jx.Encoder)
- func (s ContentfulEntryResourceLinkType) MarshalJSON() ([]byte, error)
- func (s ContentfulEntryResourceLinkType) MarshalText() ([]byte, error)
- func (s *ContentfulEntryResourceLinkType) UnmarshalJSON(data []byte) error
- func (s *ContentfulEntryResourceLinkType) UnmarshalText(data []byte) error
- func (s ContentfulEntryResourceLinkType) Validate() error
- type CreateAppDefinitionParams
- type CreateAppDefinitionRes
- type CreateDeliveryAPIKeyParams
- type CreateDeliveryAPIKeyRes
- type CreateEntryParams
- type CreateEntryRes
- type CreateOrUpdateEnvironmentAliasParams
- type CreateOrUpdateEnvironmentAliasRes
- type CreateOrUpdateEnvironmentParams
- type CreateOrUpdateEnvironmentRes
- type CreatePersonalAccessTokenRes
- type CreateRoleParams
- type CreateRoleRes
- type CreateTeamParams
- type CreateTeamRes
- type CreateTeamSpaceMembershipParams
- type CreateTeamSpaceMembershipRes
- type CreateWebhookDefinitionParams
- type CreateWebhookDefinitionRes
- type DeactivateContentTypeParams
- type DeactivateContentTypeRes
- type DeleteAppDefinitionParams
- type DeleteAppDefinitionRes
- type DeleteAppInstallationParams
- type DeleteAppInstallationRes
- type DeleteAppSigningSecretParams
- type DeleteAppSigningSecretRes
- type DeleteContentTypeParams
- type DeleteContentTypeRes
- type DeleteDeliveryAPIKeyParams
- type DeleteDeliveryAPIKeyRes
- type DeleteEntryParams
- type DeleteEntryRes
- type DeleteEnvironmentAliasParams
- type DeleteEnvironmentAliasRes
- type DeleteEnvironmentParams
- type DeleteEnvironmentRes
- type DeleteExtensionParams
- type DeleteExtensionRes
- type DeleteResourceProviderParams
- type DeleteResourceProviderRes
- type DeleteResourceTypeParams
- type DeleteResourceTypeRes
- type DeleteRoleParams
- type DeleteRoleRes
- type DeleteTagParams
- type DeleteTagRes
- type DeleteTeamParams
- type DeleteTeamRes
- type DeleteTeamSpaceMembershipParams
- type DeleteTeamSpaceMembershipRes
- type DeleteWebhookDefinitionParams
- type DeleteWebhookDefinitionRes
- type EditorInterface
- func (s *EditorInterface) Decode(d *jx.Decoder) error
- func (s *EditorInterface) Encode(e *jx.Encoder)
- func (s *EditorInterface) GetControls() OptNilEditorInterfaceControlsItemArray
- func (s *EditorInterface) GetEditorLayout() OptNilEditorInterfaceEditorLayoutItemArray
- func (s *EditorInterface) GetGroupControls() OptNilEditorInterfaceGroupControlsItemArray
- func (s *EditorInterface) GetSidebar() OptNilEditorInterfaceSidebarItemArray
- func (s *EditorInterface) GetSys() EditorInterfaceSys
- func (s *EditorInterface) MarshalJSON() ([]byte, error)
- func (s *EditorInterface) SetControls(val OptNilEditorInterfaceControlsItemArray)
- func (s *EditorInterface) SetEditorLayout(val OptNilEditorInterfaceEditorLayoutItemArray)
- func (s *EditorInterface) SetGroupControls(val OptNilEditorInterfaceGroupControlsItemArray)
- func (s *EditorInterface) SetSidebar(val OptNilEditorInterfaceSidebarItemArray)
- func (s *EditorInterface) SetSys(val EditorInterfaceSys)
- func (s *EditorInterface) UnmarshalJSON(data []byte) error
- func (s *EditorInterface) Validate() error
- type EditorInterfaceControlsItem
- func (s *EditorInterfaceControlsItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceControlsItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceControlsItem) GetFieldId() string
- func (s *EditorInterfaceControlsItem) GetSettings() jx.Raw
- func (s *EditorInterfaceControlsItem) GetWidgetId() OptString
- func (s *EditorInterfaceControlsItem) GetWidgetNamespace() OptString
- func (s *EditorInterfaceControlsItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceControlsItem) SetFieldId(val string)
- func (s *EditorInterfaceControlsItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceControlsItem) SetWidgetId(val OptString)
- func (s *EditorInterfaceControlsItem) SetWidgetNamespace(val OptString)
- func (s *EditorInterfaceControlsItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceData
- func (s *EditorInterfaceData) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceData) Encode(e *jx.Encoder)
- func (s *EditorInterfaceData) GetControls() OptNilEditorInterfaceDataControlsItemArray
- func (s *EditorInterfaceData) GetEditorLayout() OptNilEditorInterfaceEditorLayoutItemArray
- func (s *EditorInterfaceData) GetGroupControls() OptNilEditorInterfaceDataGroupControlsItemArray
- func (s *EditorInterfaceData) GetSidebar() OptNilEditorInterfaceDataSidebarItemArray
- func (s *EditorInterfaceData) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceData) SetControls(val OptNilEditorInterfaceDataControlsItemArray)
- func (s *EditorInterfaceData) SetEditorLayout(val OptNilEditorInterfaceEditorLayoutItemArray)
- func (s *EditorInterfaceData) SetGroupControls(val OptNilEditorInterfaceDataGroupControlsItemArray)
- func (s *EditorInterfaceData) SetSidebar(val OptNilEditorInterfaceDataSidebarItemArray)
- func (s *EditorInterfaceData) UnmarshalJSON(data []byte) error
- func (s *EditorInterfaceData) Validate() error
- type EditorInterfaceDataControlsItem
- func (s *EditorInterfaceDataControlsItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceDataControlsItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceDataControlsItem) GetFieldId() string
- func (s *EditorInterfaceDataControlsItem) GetSettings() jx.Raw
- func (s *EditorInterfaceDataControlsItem) GetWidgetId() OptString
- func (s *EditorInterfaceDataControlsItem) GetWidgetNamespace() OptString
- func (s *EditorInterfaceDataControlsItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceDataControlsItem) SetFieldId(val string)
- func (s *EditorInterfaceDataControlsItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceDataControlsItem) SetWidgetId(val OptString)
- func (s *EditorInterfaceDataControlsItem) SetWidgetNamespace(val OptString)
- func (s *EditorInterfaceDataControlsItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceDataGroupControlsItem
- func (s *EditorInterfaceDataGroupControlsItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceDataGroupControlsItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceDataGroupControlsItem) GetGroupId() string
- func (s *EditorInterfaceDataGroupControlsItem) GetSettings() jx.Raw
- func (s *EditorInterfaceDataGroupControlsItem) GetWidgetId() OptString
- func (s *EditorInterfaceDataGroupControlsItem) GetWidgetNamespace() OptString
- func (s *EditorInterfaceDataGroupControlsItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceDataGroupControlsItem) SetGroupId(val string)
- func (s *EditorInterfaceDataGroupControlsItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceDataGroupControlsItem) SetWidgetId(val OptString)
- func (s *EditorInterfaceDataGroupControlsItem) SetWidgetNamespace(val OptString)
- func (s *EditorInterfaceDataGroupControlsItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceDataSidebarItem
- func (s *EditorInterfaceDataSidebarItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceDataSidebarItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceDataSidebarItem) GetDisabled() OptBool
- func (s *EditorInterfaceDataSidebarItem) GetSettings() jx.Raw
- func (s *EditorInterfaceDataSidebarItem) GetWidgetId() string
- func (s *EditorInterfaceDataSidebarItem) GetWidgetNamespace() string
- func (s *EditorInterfaceDataSidebarItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceDataSidebarItem) SetDisabled(val OptBool)
- func (s *EditorInterfaceDataSidebarItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceDataSidebarItem) SetWidgetId(val string)
- func (s *EditorInterfaceDataSidebarItem) SetWidgetNamespace(val string)
- func (s *EditorInterfaceDataSidebarItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceEditorLayoutFieldItem
- func (s *EditorInterfaceEditorLayoutFieldItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceEditorLayoutFieldItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceEditorLayoutFieldItem) GetFieldId() string
- func (s *EditorInterfaceEditorLayoutFieldItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceEditorLayoutFieldItem) SetFieldId(val string)
- func (s *EditorInterfaceEditorLayoutFieldItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceEditorLayoutGroupItem
- func (s *EditorInterfaceEditorLayoutGroupItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceEditorLayoutGroupItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceEditorLayoutGroupItem) GetGroupId() string
- func (s *EditorInterfaceEditorLayoutGroupItem) GetItems() []EditorInterfaceEditorLayoutItem
- func (s *EditorInterfaceEditorLayoutGroupItem) GetName() string
- func (s *EditorInterfaceEditorLayoutGroupItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceEditorLayoutGroupItem) SetGroupId(val string)
- func (s *EditorInterfaceEditorLayoutGroupItem) SetItems(val []EditorInterfaceEditorLayoutItem)
- func (s *EditorInterfaceEditorLayoutGroupItem) SetName(val string)
- func (s *EditorInterfaceEditorLayoutGroupItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceEditorLayoutItem
- func (s *EditorInterfaceEditorLayoutItem) Decode(d *jx.Decoder) error
- func (s EditorInterfaceEditorLayoutItem) Encode(e *jx.Encoder)
- func (s EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutFieldItem() (v EditorInterfaceEditorLayoutFieldItem, ok bool)
- func (s EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutGroupItem() (v EditorInterfaceEditorLayoutGroupItem, ok bool)
- func (s EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutFieldItem() bool
- func (s EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutGroupItem() bool
- func (s EditorInterfaceEditorLayoutItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutFieldItem(v EditorInterfaceEditorLayoutFieldItem)
- func (s *EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutGroupItem(v EditorInterfaceEditorLayoutGroupItem)
- func (s *EditorInterfaceEditorLayoutItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceEditorLayoutItemType
- type EditorInterfaceGroupControlsItem
- func (s *EditorInterfaceGroupControlsItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceGroupControlsItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceGroupControlsItem) GetGroupId() string
- func (s *EditorInterfaceGroupControlsItem) GetSettings() jx.Raw
- func (s *EditorInterfaceGroupControlsItem) GetWidgetId() OptString
- func (s *EditorInterfaceGroupControlsItem) GetWidgetNamespace() OptString
- func (s *EditorInterfaceGroupControlsItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceGroupControlsItem) SetGroupId(val string)
- func (s *EditorInterfaceGroupControlsItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceGroupControlsItem) SetWidgetId(val OptString)
- func (s *EditorInterfaceGroupControlsItem) SetWidgetNamespace(val OptString)
- func (s *EditorInterfaceGroupControlsItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceSidebarItem
- func (s *EditorInterfaceSidebarItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceSidebarItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceSidebarItem) GetDisabled() OptBool
- func (s *EditorInterfaceSidebarItem) GetSettings() jx.Raw
- func (s *EditorInterfaceSidebarItem) GetWidgetId() string
- func (s *EditorInterfaceSidebarItem) GetWidgetNamespace() string
- func (s *EditorInterfaceSidebarItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceSidebarItem) SetDisabled(val OptBool)
- func (s *EditorInterfaceSidebarItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceSidebarItem) SetWidgetId(val string)
- func (s *EditorInterfaceSidebarItem) SetWidgetNamespace(val string)
- func (s *EditorInterfaceSidebarItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceStatusCode
- func (s *EditorInterfaceStatusCode) GetResponse() EditorInterface
- func (s *EditorInterfaceStatusCode) GetStatusCode() int
- func (s *EditorInterfaceStatusCode) SetResponse(val EditorInterface)
- func (s *EditorInterfaceStatusCode) SetStatusCode(val int)
- func (s *EditorInterfaceStatusCode) Validate() error
- type EditorInterfaceSys
- func (s *EditorInterfaceSys) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceSys) Encode(e *jx.Encoder)
- func (s *EditorInterfaceSys) GetContentType() ContentTypeLink
- func (s *EditorInterfaceSys) GetEnvironment() EnvironmentLink
- func (s *EditorInterfaceSys) GetID() string
- func (s *EditorInterfaceSys) GetSpace() SpaceLink
- func (s *EditorInterfaceSys) GetType() EditorInterfaceSysType
- func (s *EditorInterfaceSys) GetVersion() int
- func (s *EditorInterfaceSys) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceSys) SetContentType(val ContentTypeLink)
- func (s *EditorInterfaceSys) SetEnvironment(val EnvironmentLink)
- func (s *EditorInterfaceSys) SetID(val string)
- func (s *EditorInterfaceSys) SetSpace(val SpaceLink)
- func (s *EditorInterfaceSys) SetType(val EditorInterfaceSysType)
- func (s *EditorInterfaceSys) SetVersion(val int)
- func (s *EditorInterfaceSys) UnmarshalJSON(data []byte) error
- func (s *EditorInterfaceSys) Validate() error
- type EditorInterfaceSysType
- func (EditorInterfaceSysType) AllValues() []EditorInterfaceSysType
- func (s *EditorInterfaceSysType) Decode(d *jx.Decoder) error
- func (s EditorInterfaceSysType) Encode(e *jx.Encoder)
- func (s EditorInterfaceSysType) MarshalJSON() ([]byte, error)
- func (s EditorInterfaceSysType) MarshalText() ([]byte, error)
- func (s *EditorInterfaceSysType) UnmarshalJSON(data []byte) error
- func (s *EditorInterfaceSysType) UnmarshalText(data []byte) error
- func (s EditorInterfaceSysType) Validate() error
- type Entry
- func (s *Entry) Decode(d *jx.Decoder) error
- func (s *Entry) Encode(e *jx.Encoder)
- func (s *Entry) GetFields() OptEntryFields
- func (s *Entry) GetMetadata() OptEntryMetadata
- func (s *Entry) GetSys() EntrySys
- func (s *Entry) MarshalJSON() ([]byte, error)
- func (s *Entry) SetFields(val OptEntryFields)
- func (s *Entry) SetMetadata(val OptEntryMetadata)
- func (s *Entry) SetSys(val EntrySys)
- func (s *Entry) UnmarshalJSON(data []byte) error
- func (s *Entry) Validate() error
- type EntryCollection
- func (s *EntryCollection) Decode(d *jx.Decoder) error
- func (s *EntryCollection) Encode(e *jx.Encoder)
- func (s *EntryCollection) GetItems() []Entry
- func (s *EntryCollection) GetSys() EntryCollectionSys
- func (s *EntryCollection) GetTotal() OptInt
- func (s *EntryCollection) MarshalJSON() ([]byte, error)
- func (s *EntryCollection) SetItems(val []Entry)
- func (s *EntryCollection) SetSys(val EntryCollectionSys)
- func (s *EntryCollection) SetTotal(val OptInt)
- func (s *EntryCollection) UnmarshalJSON(data []byte) error
- func (s *EntryCollection) Validate() error
- type EntryCollectionSys
- func (s *EntryCollectionSys) Decode(d *jx.Decoder) error
- func (s *EntryCollectionSys) Encode(e *jx.Encoder)
- func (s *EntryCollectionSys) GetType() EntryCollectionSysType
- func (s *EntryCollectionSys) MarshalJSON() ([]byte, error)
- func (s *EntryCollectionSys) SetType(val EntryCollectionSysType)
- func (s *EntryCollectionSys) UnmarshalJSON(data []byte) error
- func (s *EntryCollectionSys) Validate() error
- type EntryCollectionSysType
- func (EntryCollectionSysType) AllValues() []EntryCollectionSysType
- func (s *EntryCollectionSysType) Decode(d *jx.Decoder) error
- func (s EntryCollectionSysType) Encode(e *jx.Encoder)
- func (s EntryCollectionSysType) MarshalJSON() ([]byte, error)
- func (s EntryCollectionSysType) MarshalText() ([]byte, error)
- func (s *EntryCollectionSysType) UnmarshalJSON(data []byte) error
- func (s *EntryCollectionSysType) UnmarshalText(data []byte) error
- func (s EntryCollectionSysType) Validate() error
- type EntryFields
- type EntryMetadata
- func (s *EntryMetadata) Decode(d *jx.Decoder) error
- func (s *EntryMetadata) Encode(e *jx.Encoder)
- func (s *EntryMetadata) GetConcepts() []TaxonomyConceptLink
- func (s *EntryMetadata) GetTags() []TagLink
- func (s *EntryMetadata) MarshalJSON() ([]byte, error)
- func (s *EntryMetadata) SetConcepts(val []TaxonomyConceptLink)
- func (s *EntryMetadata) SetTags(val []TagLink)
- func (s *EntryMetadata) UnmarshalJSON(data []byte) error
- func (s *EntryMetadata) Validate() error
- type EntryRequest
- func (s *EntryRequest) Decode(d *jx.Decoder) error
- func (s *EntryRequest) Encode(e *jx.Encoder)
- func (s *EntryRequest) GetFields() OptEntryFields
- func (s *EntryRequest) GetMetadata() OptEntryMetadata
- func (s *EntryRequest) MarshalJSON() ([]byte, error)
- func (s *EntryRequest) SetFields(val OptEntryFields)
- func (s *EntryRequest) SetMetadata(val OptEntryMetadata)
- func (s *EntryRequest) UnmarshalJSON(data []byte) error
- func (s *EntryRequest) Validate() error
- type EntryStatusCode
- type EntrySys
- func (s *EntrySys) Decode(d *jx.Decoder) error
- func (s *EntrySys) Encode(e *jx.Encoder)
- func (s *EntrySys) GetContentType() ContentTypeLink
- func (s *EntrySys) GetEnvironment() EnvironmentLink
- func (s *EntrySys) GetID() string
- func (s *EntrySys) GetPublishedAt() OptDateTime
- func (s *EntrySys) GetPublishedVersion() OptInt
- func (s *EntrySys) GetSpace() SpaceLink
- func (s *EntrySys) GetType() EntrySysType
- func (s *EntrySys) GetVersion() int
- func (s *EntrySys) MarshalJSON() ([]byte, error)
- func (s *EntrySys) SetContentType(val ContentTypeLink)
- func (s *EntrySys) SetEnvironment(val EnvironmentLink)
- func (s *EntrySys) SetID(val string)
- func (s *EntrySys) SetPublishedAt(val OptDateTime)
- func (s *EntrySys) SetPublishedVersion(val OptInt)
- func (s *EntrySys) SetSpace(val SpaceLink)
- func (s *EntrySys) SetType(val EntrySysType)
- func (s *EntrySys) SetVersion(val int)
- func (s *EntrySys) UnmarshalJSON(data []byte) error
- func (s *EntrySys) Validate() error
- type EntrySysType
- func (EntrySysType) AllValues() []EntrySysType
- func (s *EntrySysType) Decode(d *jx.Decoder) error
- func (s EntrySysType) Encode(e *jx.Encoder)
- func (s EntrySysType) MarshalJSON() ([]byte, error)
- func (s EntrySysType) MarshalText() ([]byte, error)
- func (s *EntrySysType) UnmarshalJSON(data []byte) error
- func (s *EntrySysType) UnmarshalText(data []byte) error
- func (s EntrySysType) Validate() error
- type Environment
- func (s *Environment) Decode(d *jx.Decoder) error
- func (s *Environment) Encode(e *jx.Encoder)
- func (s *Environment) GetName() string
- func (s *Environment) GetSys() EnvironmentSys
- func (s *Environment) MarshalJSON() ([]byte, error)
- func (s *Environment) SetName(val string)
- func (s *Environment) SetSys(val EnvironmentSys)
- func (s *Environment) UnmarshalJSON(data []byte) error
- func (s *Environment) Validate() error
- type EnvironmentAlias
- func (s *EnvironmentAlias) Decode(d *jx.Decoder) error
- func (s *EnvironmentAlias) Encode(e *jx.Encoder)
- func (s *EnvironmentAlias) GetEnvironment() EnvironmentLink
- func (s *EnvironmentAlias) GetSys() EnvironmentAliasSys
- func (s *EnvironmentAlias) MarshalJSON() ([]byte, error)
- func (s *EnvironmentAlias) SetEnvironment(val EnvironmentLink)
- func (s *EnvironmentAlias) SetSys(val EnvironmentAliasSys)
- func (s *EnvironmentAlias) UnmarshalJSON(data []byte) error
- func (s *EnvironmentAlias) Validate() error
- type EnvironmentAliasData
- func (s *EnvironmentAliasData) Decode(d *jx.Decoder) error
- func (s *EnvironmentAliasData) Encode(e *jx.Encoder)
- func (s *EnvironmentAliasData) GetEnvironment() EnvironmentLink
- func (s *EnvironmentAliasData) MarshalJSON() ([]byte, error)
- func (s *EnvironmentAliasData) SetEnvironment(val EnvironmentLink)
- func (s *EnvironmentAliasData) UnmarshalJSON(data []byte) error
- func (s *EnvironmentAliasData) Validate() error
- type EnvironmentAliasStatusCode
- func (s *EnvironmentAliasStatusCode) GetResponse() EnvironmentAlias
- func (s *EnvironmentAliasStatusCode) GetStatusCode() int
- func (s *EnvironmentAliasStatusCode) SetResponse(val EnvironmentAlias)
- func (s *EnvironmentAliasStatusCode) SetStatusCode(val int)
- func (s *EnvironmentAliasStatusCode) Validate() error
- type EnvironmentAliasSys
- func (s *EnvironmentAliasSys) Decode(d *jx.Decoder) error
- func (s *EnvironmentAliasSys) Encode(e *jx.Encoder)
- func (s *EnvironmentAliasSys) GetID() string
- func (s *EnvironmentAliasSys) GetSpace() SpaceLink
- func (s *EnvironmentAliasSys) GetType() EnvironmentAliasSysType
- func (s *EnvironmentAliasSys) GetVersion() int
- func (s *EnvironmentAliasSys) MarshalJSON() ([]byte, error)
- func (s *EnvironmentAliasSys) SetID(val string)
- func (s *EnvironmentAliasSys) SetSpace(val SpaceLink)
- func (s *EnvironmentAliasSys) SetType(val EnvironmentAliasSysType)
- func (s *EnvironmentAliasSys) SetVersion(val int)
- func (s *EnvironmentAliasSys) UnmarshalJSON(data []byte) error
- func (s *EnvironmentAliasSys) Validate() error
- type EnvironmentAliasSysType
- func (EnvironmentAliasSysType) AllValues() []EnvironmentAliasSysType
- func (s *EnvironmentAliasSysType) Decode(d *jx.Decoder) error
- func (s EnvironmentAliasSysType) Encode(e *jx.Encoder)
- func (s EnvironmentAliasSysType) MarshalJSON() ([]byte, error)
- func (s EnvironmentAliasSysType) MarshalText() ([]byte, error)
- func (s *EnvironmentAliasSysType) UnmarshalJSON(data []byte) error
- func (s *EnvironmentAliasSysType) UnmarshalText(data []byte) error
- func (s EnvironmentAliasSysType) Validate() error
- type EnvironmentData
- func (s *EnvironmentData) Decode(d *jx.Decoder) error
- func (s *EnvironmentData) Encode(e *jx.Encoder)
- func (s *EnvironmentData) GetName() string
- func (s *EnvironmentData) MarshalJSON() ([]byte, error)
- func (s *EnvironmentData) SetName(val string)
- func (s *EnvironmentData) UnmarshalJSON(data []byte) error
- type EnvironmentLink
- func (s *EnvironmentLink) Decode(d *jx.Decoder) error
- func (s *EnvironmentLink) Encode(e *jx.Encoder)
- func (s *EnvironmentLink) GetSys() EnvironmentLinkSys
- func (s *EnvironmentLink) MarshalJSON() ([]byte, error)
- func (s *EnvironmentLink) SetSys(val EnvironmentLinkSys)
- func (s *EnvironmentLink) UnmarshalJSON(data []byte) error
- func (s *EnvironmentLink) Validate() error
- type EnvironmentLinkSys
- func (s *EnvironmentLinkSys) Decode(d *jx.Decoder) error
- func (s *EnvironmentLinkSys) Encode(e *jx.Encoder)
- func (s *EnvironmentLinkSys) GetID() string
- func (s *EnvironmentLinkSys) GetLinkType() EnvironmentLinkSysLinkType
- func (s *EnvironmentLinkSys) GetType() EnvironmentLinkSysType
- func (s *EnvironmentLinkSys) MarshalJSON() ([]byte, error)
- func (s *EnvironmentLinkSys) SetID(val string)
- func (s *EnvironmentLinkSys) SetLinkType(val EnvironmentLinkSysLinkType)
- func (s *EnvironmentLinkSys) SetType(val EnvironmentLinkSysType)
- func (s *EnvironmentLinkSys) UnmarshalJSON(data []byte) error
- func (s *EnvironmentLinkSys) Validate() error
- type EnvironmentLinkSysLinkType
- func (EnvironmentLinkSysLinkType) AllValues() []EnvironmentLinkSysLinkType
- func (s *EnvironmentLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s EnvironmentLinkSysLinkType) Encode(e *jx.Encoder)
- func (s EnvironmentLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s EnvironmentLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *EnvironmentLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *EnvironmentLinkSysLinkType) UnmarshalText(data []byte) error
- func (s EnvironmentLinkSysLinkType) Validate() error
- type EnvironmentLinkSysType
- func (EnvironmentLinkSysType) AllValues() []EnvironmentLinkSysType
- func (s *EnvironmentLinkSysType) Decode(d *jx.Decoder) error
- func (s EnvironmentLinkSysType) Encode(e *jx.Encoder)
- func (s EnvironmentLinkSysType) MarshalJSON() ([]byte, error)
- func (s EnvironmentLinkSysType) MarshalText() ([]byte, error)
- func (s *EnvironmentLinkSysType) UnmarshalJSON(data []byte) error
- func (s *EnvironmentLinkSysType) UnmarshalText(data []byte) error
- func (s EnvironmentLinkSysType) Validate() error
- type EnvironmentStatusCode
- type EnvironmentSys
- func (s *EnvironmentSys) Decode(d *jx.Decoder) error
- func (s *EnvironmentSys) Encode(e *jx.Encoder)
- func (s *EnvironmentSys) GetID() string
- func (s *EnvironmentSys) GetSpace() SpaceLink
- func (s *EnvironmentSys) GetStatus() StatusLink
- func (s *EnvironmentSys) GetType() EnvironmentSysType
- func (s *EnvironmentSys) GetVersion() int
- func (s *EnvironmentSys) MarshalJSON() ([]byte, error)
- func (s *EnvironmentSys) SetID(val string)
- func (s *EnvironmentSys) SetSpace(val SpaceLink)
- func (s *EnvironmentSys) SetStatus(val StatusLink)
- func (s *EnvironmentSys) SetType(val EnvironmentSysType)
- func (s *EnvironmentSys) SetVersion(val int)
- func (s *EnvironmentSys) UnmarshalJSON(data []byte) error
- func (s *EnvironmentSys) Validate() error
- type EnvironmentSysType
- func (EnvironmentSysType) AllValues() []EnvironmentSysType
- func (s *EnvironmentSysType) Decode(d *jx.Decoder) error
- func (s EnvironmentSysType) Encode(e *jx.Encoder)
- func (s EnvironmentSysType) MarshalJSON() ([]byte, error)
- func (s EnvironmentSysType) MarshalText() ([]byte, error)
- func (s *EnvironmentSysType) UnmarshalJSON(data []byte) error
- func (s *EnvironmentSysType) UnmarshalText(data []byte) error
- func (s EnvironmentSysType) Validate() error
- type Error
- func (s *Error) Decode(d *jx.Decoder) error
- func (s *Error) Encode(e *jx.Encoder)
- func (s *Error) GetDetails() jx.Raw
- func (s *Error) GetMessage() OptString
- func (s *Error) GetSys() ErrorSys
- func (s *Error) MarshalJSON() ([]byte, error)
- func (s *Error) SetDetails(val jx.Raw)
- func (s *Error) SetMessage(val OptString)
- func (s *Error) SetSys(val ErrorSys)
- func (s *Error) UnmarshalJSON(data []byte) error
- func (s *Error) Validate() error
- type ErrorHandler
- type ErrorResponse
- type ErrorStatusCodeResponse
- type ErrorSys
- func (s *ErrorSys) Decode(d *jx.Decoder) error
- func (s *ErrorSys) Encode(e *jx.Encoder)
- func (s *ErrorSys) GetID() string
- func (s *ErrorSys) GetType() ErrorSysType
- func (s *ErrorSys) MarshalJSON() ([]byte, error)
- func (s *ErrorSys) SetID(val string)
- func (s *ErrorSys) SetType(val ErrorSysType)
- func (s *ErrorSys) UnmarshalJSON(data []byte) error
- func (s *ErrorSys) Validate() error
- type ErrorSysType
- func (ErrorSysType) AllValues() []ErrorSysType
- func (s *ErrorSysType) Decode(d *jx.Decoder) error
- func (s ErrorSysType) Encode(e *jx.Encoder)
- func (s ErrorSysType) MarshalJSON() ([]byte, error)
- func (s ErrorSysType) MarshalText() ([]byte, error)
- func (s *ErrorSysType) UnmarshalJSON(data []byte) error
- func (s *ErrorSysType) UnmarshalText(data []byte) error
- func (s ErrorSysType) Validate() error
- type Extension
- func (s *Extension) Decode(d *jx.Decoder) error
- func (s *Extension) Encode(e *jx.Encoder)
- func (s *Extension) GetExtension() ExtensionExtension
- func (s *Extension) GetParameters() jx.Raw
- func (s *Extension) GetSys() ExtensionSys
- func (s *Extension) MarshalJSON() ([]byte, error)
- func (s *Extension) SetExtension(val ExtensionExtension)
- func (s *Extension) SetParameters(val jx.Raw)
- func (s *Extension) SetSys(val ExtensionSys)
- func (s *Extension) UnmarshalJSON(data []byte) error
- func (s *Extension) Validate() error
- type ExtensionData
- func (s *ExtensionData) Decode(d *jx.Decoder) error
- func (s *ExtensionData) Encode(e *jx.Encoder)
- func (s *ExtensionData) GetExtension() ExtensionDataExtension
- func (s *ExtensionData) GetParameters() jx.Raw
- func (s *ExtensionData) MarshalJSON() ([]byte, error)
- func (s *ExtensionData) SetExtension(val ExtensionDataExtension)
- func (s *ExtensionData) SetParameters(val jx.Raw)
- func (s *ExtensionData) UnmarshalJSON(data []byte) error
- func (s *ExtensionData) Validate() error
- type ExtensionDataExtension
- func (s *ExtensionDataExtension) Decode(d *jx.Decoder) error
- func (s *ExtensionDataExtension) Encode(e *jx.Encoder)
- func (s *ExtensionDataExtension) GetFieldTypes() []ExtensionDataExtensionFieldTypesItem
- func (s *ExtensionDataExtension) GetName() string
- func (s *ExtensionDataExtension) GetParameters() OptAppDefinitionParameters
- func (s *ExtensionDataExtension) GetSidebar() OptBool
- func (s *ExtensionDataExtension) GetSrc() OptString
- func (s *ExtensionDataExtension) GetSrcdoc() OptString
- func (s *ExtensionDataExtension) MarshalJSON() ([]byte, error)
- func (s *ExtensionDataExtension) SetFieldTypes(val []ExtensionDataExtensionFieldTypesItem)
- func (s *ExtensionDataExtension) SetName(val string)
- func (s *ExtensionDataExtension) SetParameters(val OptAppDefinitionParameters)
- func (s *ExtensionDataExtension) SetSidebar(val OptBool)
- func (s *ExtensionDataExtension) SetSrc(val OptString)
- func (s *ExtensionDataExtension) SetSrcdoc(val OptString)
- func (s *ExtensionDataExtension) UnmarshalJSON(data []byte) error
- func (s *ExtensionDataExtension) Validate() error
- type ExtensionDataExtensionFieldTypesItem
- func (s *ExtensionDataExtensionFieldTypesItem) Decode(d *jx.Decoder) error
- func (s *ExtensionDataExtensionFieldTypesItem) Encode(e *jx.Encoder)
- func (s *ExtensionDataExtensionFieldTypesItem) GetItems() OptExtensionDataExtensionFieldTypesItemItems
- func (s *ExtensionDataExtensionFieldTypesItem) GetLinkType() OptString
- func (s *ExtensionDataExtensionFieldTypesItem) GetType() string
- func (s *ExtensionDataExtensionFieldTypesItem) MarshalJSON() ([]byte, error)
- func (s *ExtensionDataExtensionFieldTypesItem) SetItems(val OptExtensionDataExtensionFieldTypesItemItems)
- func (s *ExtensionDataExtensionFieldTypesItem) SetLinkType(val OptString)
- func (s *ExtensionDataExtensionFieldTypesItem) SetType(val string)
- func (s *ExtensionDataExtensionFieldTypesItem) UnmarshalJSON(data []byte) error
- type ExtensionDataExtensionFieldTypesItemItems
- func (s *ExtensionDataExtensionFieldTypesItemItems) Decode(d *jx.Decoder) error
- func (s *ExtensionDataExtensionFieldTypesItemItems) Encode(e *jx.Encoder)
- func (s *ExtensionDataExtensionFieldTypesItemItems) GetLinkType() OptString
- func (s *ExtensionDataExtensionFieldTypesItemItems) GetType() string
- func (s *ExtensionDataExtensionFieldTypesItemItems) MarshalJSON() ([]byte, error)
- func (s *ExtensionDataExtensionFieldTypesItemItems) SetLinkType(val OptString)
- func (s *ExtensionDataExtensionFieldTypesItemItems) SetType(val string)
- func (s *ExtensionDataExtensionFieldTypesItemItems) UnmarshalJSON(data []byte) error
- type ExtensionExtension
- func (s *ExtensionExtension) Decode(d *jx.Decoder) error
- func (s *ExtensionExtension) Encode(e *jx.Encoder)
- func (s *ExtensionExtension) GetFieldTypes() []ExtensionExtensionFieldTypesItem
- func (s *ExtensionExtension) GetName() string
- func (s *ExtensionExtension) GetParameters() OptAppDefinitionParameters
- func (s *ExtensionExtension) GetSidebar() OptBool
- func (s *ExtensionExtension) GetSrc() OptString
- func (s *ExtensionExtension) GetSrcdoc() OptString
- func (s *ExtensionExtension) MarshalJSON() ([]byte, error)
- func (s *ExtensionExtension) SetFieldTypes(val []ExtensionExtensionFieldTypesItem)
- func (s *ExtensionExtension) SetName(val string)
- func (s *ExtensionExtension) SetParameters(val OptAppDefinitionParameters)
- func (s *ExtensionExtension) SetSidebar(val OptBool)
- func (s *ExtensionExtension) SetSrc(val OptString)
- func (s *ExtensionExtension) SetSrcdoc(val OptString)
- func (s *ExtensionExtension) UnmarshalJSON(data []byte) error
- func (s *ExtensionExtension) Validate() error
- type ExtensionExtensionFieldTypesItem
- func (s *ExtensionExtensionFieldTypesItem) Decode(d *jx.Decoder) error
- func (s *ExtensionExtensionFieldTypesItem) Encode(e *jx.Encoder)
- func (s *ExtensionExtensionFieldTypesItem) GetItems() OptExtensionExtensionFieldTypesItemItems
- func (s *ExtensionExtensionFieldTypesItem) GetLinkType() OptString
- func (s *ExtensionExtensionFieldTypesItem) GetType() string
- func (s *ExtensionExtensionFieldTypesItem) MarshalJSON() ([]byte, error)
- func (s *ExtensionExtensionFieldTypesItem) SetItems(val OptExtensionExtensionFieldTypesItemItems)
- func (s *ExtensionExtensionFieldTypesItem) SetLinkType(val OptString)
- func (s *ExtensionExtensionFieldTypesItem) SetType(val string)
- func (s *ExtensionExtensionFieldTypesItem) UnmarshalJSON(data []byte) error
- type ExtensionExtensionFieldTypesItemItems
- func (s *ExtensionExtensionFieldTypesItemItems) Decode(d *jx.Decoder) error
- func (s *ExtensionExtensionFieldTypesItemItems) Encode(e *jx.Encoder)
- func (s *ExtensionExtensionFieldTypesItemItems) GetLinkType() OptString
- func (s *ExtensionExtensionFieldTypesItemItems) GetType() string
- func (s *ExtensionExtensionFieldTypesItemItems) MarshalJSON() ([]byte, error)
- func (s *ExtensionExtensionFieldTypesItemItems) SetLinkType(val OptString)
- func (s *ExtensionExtensionFieldTypesItemItems) SetType(val string)
- func (s *ExtensionExtensionFieldTypesItemItems) UnmarshalJSON(data []byte) error
- type ExtensionStatusCode
- type ExtensionSys
- func (s *ExtensionSys) Decode(d *jx.Decoder) error
- func (s *ExtensionSys) Encode(e *jx.Encoder)
- func (s *ExtensionSys) GetEnvironment() EnvironmentLink
- func (s *ExtensionSys) GetID() string
- func (s *ExtensionSys) GetSpace() SpaceLink
- func (s *ExtensionSys) GetType() ExtensionSysType
- func (s *ExtensionSys) GetVersion() int
- func (s *ExtensionSys) MarshalJSON() ([]byte, error)
- func (s *ExtensionSys) SetEnvironment(val EnvironmentLink)
- func (s *ExtensionSys) SetID(val string)
- func (s *ExtensionSys) SetSpace(val SpaceLink)
- func (s *ExtensionSys) SetType(val ExtensionSysType)
- func (s *ExtensionSys) SetVersion(val int)
- func (s *ExtensionSys) UnmarshalJSON(data []byte) error
- func (s *ExtensionSys) Validate() error
- type ExtensionSysType
- func (ExtensionSysType) AllValues() []ExtensionSysType
- func (s *ExtensionSysType) Decode(d *jx.Decoder) error
- func (s ExtensionSysType) Encode(e *jx.Encoder)
- func (s ExtensionSysType) MarshalJSON() ([]byte, error)
- func (s ExtensionSysType) MarshalText() ([]byte, error)
- func (s *ExtensionSysType) UnmarshalJSON(data []byte) error
- func (s *ExtensionSysType) UnmarshalText(data []byte) error
- func (s ExtensionSysType) Validate() error
- type ExternalResourceLink
- func (s *ExternalResourceLink) Decode(d *jx.Decoder) error
- func (s *ExternalResourceLink) Encode(e *jx.Encoder)
- func (s *ExternalResourceLink) GetType() string
- func (s *ExternalResourceLink) MarshalJSON() ([]byte, error)
- func (s *ExternalResourceLink) SetType(val string)
- func (s *ExternalResourceLink) UnmarshalJSON(data []byte) error
- type FunctionLink
- func (s *FunctionLink) Decode(d *jx.Decoder) error
- func (s *FunctionLink) Encode(e *jx.Encoder)
- func (s *FunctionLink) GetSys() FunctionLinkSys
- func (s *FunctionLink) MarshalJSON() ([]byte, error)
- func (s *FunctionLink) SetSys(val FunctionLinkSys)
- func (s *FunctionLink) UnmarshalJSON(data []byte) error
- func (s *FunctionLink) Validate() error
- type FunctionLinkSys
- func (s *FunctionLinkSys) Decode(d *jx.Decoder) error
- func (s *FunctionLinkSys) Encode(e *jx.Encoder)
- func (s *FunctionLinkSys) GetID() string
- func (s *FunctionLinkSys) GetLinkType() FunctionLinkSysLinkType
- func (s *FunctionLinkSys) GetType() FunctionLinkSysType
- func (s *FunctionLinkSys) MarshalJSON() ([]byte, error)
- func (s *FunctionLinkSys) SetID(val string)
- func (s *FunctionLinkSys) SetLinkType(val FunctionLinkSysLinkType)
- func (s *FunctionLinkSys) SetType(val FunctionLinkSysType)
- func (s *FunctionLinkSys) UnmarshalJSON(data []byte) error
- func (s *FunctionLinkSys) Validate() error
- type FunctionLinkSysLinkType
- func (FunctionLinkSysLinkType) AllValues() []FunctionLinkSysLinkType
- func (s *FunctionLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s FunctionLinkSysLinkType) Encode(e *jx.Encoder)
- func (s FunctionLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s FunctionLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *FunctionLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *FunctionLinkSysLinkType) UnmarshalText(data []byte) error
- func (s FunctionLinkSysLinkType) Validate() error
- type FunctionLinkSysType
- func (FunctionLinkSysType) AllValues() []FunctionLinkSysType
- func (s *FunctionLinkSysType) Decode(d *jx.Decoder) error
- func (s FunctionLinkSysType) Encode(e *jx.Encoder)
- func (s FunctionLinkSysType) MarshalJSON() ([]byte, error)
- func (s FunctionLinkSysType) MarshalText() ([]byte, error)
- func (s *FunctionLinkSysType) UnmarshalJSON(data []byte) error
- func (s *FunctionLinkSysType) UnmarshalText(data []byte) error
- func (s FunctionLinkSysType) Validate() error
- type GetAppDefinitionParams
- type GetAppDefinitionRes
- type GetAppInstallationParams
- type GetAppInstallationRes
- type GetAppSigningSecretParams
- type GetAppSigningSecretRes
- type GetAuthenticatedUserRes
- type GetContentTypeParams
- type GetContentTypeRes
- type GetContentTypesParams
- type GetContentTypesRes
- type GetDeliveryAPIKeyParams
- type GetDeliveryAPIKeyRes
- type GetEditorInterfaceParams
- type GetEditorInterfaceRes
- type GetEntriesParams
- type GetEntriesRes
- type GetEntryParams
- type GetEntryRes
- type GetEnvironmentAliasParams
- type GetEnvironmentAliasRes
- type GetEnvironmentParams
- type GetEnvironmentRes
- type GetExtensionParams
- type GetExtensionRes
- type GetMarketplaceAppDefinitionsOK
- func (s *GetMarketplaceAppDefinitionsOK) Decode(d *jx.Decoder) error
- func (s *GetMarketplaceAppDefinitionsOK) Encode(e *jx.Encoder)
- func (s *GetMarketplaceAppDefinitionsOK) GetItems() []AppDefinition
- func (s *GetMarketplaceAppDefinitionsOK) GetSys() GetMarketplaceAppDefinitionsOKSys
- func (s *GetMarketplaceAppDefinitionsOK) GetTotal() int
- func (s *GetMarketplaceAppDefinitionsOK) MarshalJSON() ([]byte, error)
- func (s *GetMarketplaceAppDefinitionsOK) SetItems(val []AppDefinition)
- func (s *GetMarketplaceAppDefinitionsOK) SetSys(val GetMarketplaceAppDefinitionsOKSys)
- func (s *GetMarketplaceAppDefinitionsOK) SetTotal(val int)
- func (s *GetMarketplaceAppDefinitionsOK) UnmarshalJSON(data []byte) error
- func (s *GetMarketplaceAppDefinitionsOK) Validate() error
- type GetMarketplaceAppDefinitionsOKSys
- func (s *GetMarketplaceAppDefinitionsOKSys) Decode(d *jx.Decoder) error
- func (s *GetMarketplaceAppDefinitionsOKSys) Encode(e *jx.Encoder)
- func (s *GetMarketplaceAppDefinitionsOKSys) GetType() GetMarketplaceAppDefinitionsOKSysType
- func (s *GetMarketplaceAppDefinitionsOKSys) MarshalJSON() ([]byte, error)
- func (s *GetMarketplaceAppDefinitionsOKSys) SetType(val GetMarketplaceAppDefinitionsOKSysType)
- func (s *GetMarketplaceAppDefinitionsOKSys) UnmarshalJSON(data []byte) error
- func (s *GetMarketplaceAppDefinitionsOKSys) Validate() error
- type GetMarketplaceAppDefinitionsOKSysType
- func (GetMarketplaceAppDefinitionsOKSysType) AllValues() []GetMarketplaceAppDefinitionsOKSysType
- func (s *GetMarketplaceAppDefinitionsOKSysType) Decode(d *jx.Decoder) error
- func (s GetMarketplaceAppDefinitionsOKSysType) Encode(e *jx.Encoder)
- func (s GetMarketplaceAppDefinitionsOKSysType) MarshalJSON() ([]byte, error)
- func (s GetMarketplaceAppDefinitionsOKSysType) MarshalText() ([]byte, error)
- func (s *GetMarketplaceAppDefinitionsOKSysType) UnmarshalJSON(data []byte) error
- func (s *GetMarketplaceAppDefinitionsOKSysType) UnmarshalText(data []byte) error
- func (s GetMarketplaceAppDefinitionsOKSysType) Validate() error
- type GetMarketplaceAppDefinitionsParams
- type GetMarketplaceAppDefinitionsRes
- type GetPersonalAccessTokenParams
- type GetPersonalAccessTokenRes
- type GetPreviewAPIKeyParams
- type GetPreviewAPIKeyRes
- type GetResourceProviderParams
- type GetResourceProviderRes
- type GetResourceTypeParams
- type GetResourceTypeRes
- type GetRoleParams
- type GetRoleRes
- type GetSpaceEnablementsApplicationJSONOK
- func (s *GetSpaceEnablementsApplicationJSONOK) Decode(d *jx.Decoder) error
- func (s *GetSpaceEnablementsApplicationJSONOK) Encode(e *jx.Encoder)
- func (s *GetSpaceEnablementsApplicationJSONOK) MarshalJSON() ([]byte, error)
- func (s *GetSpaceEnablementsApplicationJSONOK) UnmarshalJSON(data []byte) error
- func (s *GetSpaceEnablementsApplicationJSONOK) Validate() error
- type GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK
- func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Decode(d *jx.Decoder) error
- func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Encode(e *jx.Encoder)
- func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) MarshalJSON() ([]byte, error)
- func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) UnmarshalJSON(data []byte) error
- func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Validate() error
- type GetSpaceEnablementsParams
- type GetSpaceEnablementsRes
- type GetTagParams
- type GetTagRes
- type GetTeamParams
- type GetTeamRes
- type GetTeamSpaceMembershipParams
- type GetTeamSpaceMembershipRes
- type GetWebhookDefinitionParams
- type GetWebhookDefinitionRes
- type Handler
- type Invoker
- type Middleware
- type NilString
- func (o *NilString) Decode(d *jx.Decoder) error
- func (o NilString) Encode(e *jx.Encoder)
- func (o NilString) Get() (v string, ok bool)
- func (o NilString) IsNull() bool
- func (s NilString) MarshalJSON() ([]byte, error)
- func (o NilString) Or(d string) string
- func (o *NilString) SetTo(v string)
- func (o *NilString) SetToNull()
- func (s *NilString) UnmarshalJSON(data []byte) error
- func (v *NilString) ValueStringPointer() *string
- type NoContent
- type OperationName
- type OptAppBundleLink
- func (o *OptAppBundleLink) Decode(d *jx.Decoder) error
- func (o OptAppBundleLink) Encode(e *jx.Encoder)
- func (o OptAppBundleLink) Get() (v AppBundleLink, ok bool)
- func (o OptAppBundleLink) IsSet() bool
- func (s OptAppBundleLink) MarshalJSON() ([]byte, error)
- func (o OptAppBundleLink) Or(d AppBundleLink) AppBundleLink
- func (o *OptAppBundleLink) Reset()
- func (o *OptAppBundleLink) SetTo(v AppBundleLink)
- func (s *OptAppBundleLink) UnmarshalJSON(data []byte) error
- type OptAppDefinitionDataLocationsItemFieldTypesItemItems
- func (o *OptAppDefinitionDataLocationsItemFieldTypesItemItems) Decode(d *jx.Decoder) error
- func (o OptAppDefinitionDataLocationsItemFieldTypesItemItems) Encode(e *jx.Encoder)
- func (o OptAppDefinitionDataLocationsItemFieldTypesItemItems) Get() (v AppDefinitionDataLocationsItemFieldTypesItemItems, ok bool)
- func (o OptAppDefinitionDataLocationsItemFieldTypesItemItems) IsSet() bool
- func (s OptAppDefinitionDataLocationsItemFieldTypesItemItems) MarshalJSON() ([]byte, error)
- func (o OptAppDefinitionDataLocationsItemFieldTypesItemItems) Or(d AppDefinitionDataLocationsItemFieldTypesItemItems) AppDefinitionDataLocationsItemFieldTypesItemItems
- func (o *OptAppDefinitionDataLocationsItemFieldTypesItemItems) Reset()
- func (o *OptAppDefinitionDataLocationsItemFieldTypesItemItems) SetTo(v AppDefinitionDataLocationsItemFieldTypesItemItems)
- func (s *OptAppDefinitionDataLocationsItemFieldTypesItemItems) UnmarshalJSON(data []byte) error
- type OptAppDefinitionDataLocationsItemNavigationItem
- func (o *OptAppDefinitionDataLocationsItemNavigationItem) Decode(d *jx.Decoder) error
- func (o OptAppDefinitionDataLocationsItemNavigationItem) Encode(e *jx.Encoder)
- func (o OptAppDefinitionDataLocationsItemNavigationItem) Get() (v AppDefinitionDataLocationsItemNavigationItem, ok bool)
- func (o OptAppDefinitionDataLocationsItemNavigationItem) IsSet() bool
- func (s OptAppDefinitionDataLocationsItemNavigationItem) MarshalJSON() ([]byte, error)
- func (o OptAppDefinitionDataLocationsItemNavigationItem) Or(d AppDefinitionDataLocationsItemNavigationItem) AppDefinitionDataLocationsItemNavigationItem
- func (o *OptAppDefinitionDataLocationsItemNavigationItem) Reset()
- func (o *OptAppDefinitionDataLocationsItemNavigationItem) SetTo(v AppDefinitionDataLocationsItemNavigationItem)
- func (s *OptAppDefinitionDataLocationsItemNavigationItem) UnmarshalJSON(data []byte) error
- type OptAppDefinitionLocationsItemFieldTypesItemItems
- func (o *OptAppDefinitionLocationsItemFieldTypesItemItems) Decode(d *jx.Decoder) error
- func (o OptAppDefinitionLocationsItemFieldTypesItemItems) Encode(e *jx.Encoder)
- func (o OptAppDefinitionLocationsItemFieldTypesItemItems) Get() (v AppDefinitionLocationsItemFieldTypesItemItems, ok bool)
- func (o OptAppDefinitionLocationsItemFieldTypesItemItems) IsSet() bool
- func (s OptAppDefinitionLocationsItemFieldTypesItemItems) MarshalJSON() ([]byte, error)
- func (o OptAppDefinitionLocationsItemFieldTypesItemItems) Or(d AppDefinitionLocationsItemFieldTypesItemItems) AppDefinitionLocationsItemFieldTypesItemItems
- func (o *OptAppDefinitionLocationsItemFieldTypesItemItems) Reset()
- func (o *OptAppDefinitionLocationsItemFieldTypesItemItems) SetTo(v AppDefinitionLocationsItemFieldTypesItemItems)
- func (s *OptAppDefinitionLocationsItemFieldTypesItemItems) UnmarshalJSON(data []byte) error
- type OptAppDefinitionLocationsItemNavigationItem
- func (o *OptAppDefinitionLocationsItemNavigationItem) Decode(d *jx.Decoder) error
- func (o OptAppDefinitionLocationsItemNavigationItem) Encode(e *jx.Encoder)
- func (o OptAppDefinitionLocationsItemNavigationItem) Get() (v AppDefinitionLocationsItemNavigationItem, ok bool)
- func (o OptAppDefinitionLocationsItemNavigationItem) IsSet() bool
- func (s OptAppDefinitionLocationsItemNavigationItem) MarshalJSON() ([]byte, error)
- func (o OptAppDefinitionLocationsItemNavigationItem) Or(d AppDefinitionLocationsItemNavigationItem) AppDefinitionLocationsItemNavigationItem
- func (o *OptAppDefinitionLocationsItemNavigationItem) Reset()
- func (o *OptAppDefinitionLocationsItemNavigationItem) SetTo(v AppDefinitionLocationsItemNavigationItem)
- func (s *OptAppDefinitionLocationsItemNavigationItem) UnmarshalJSON(data []byte) error
- type OptAppDefinitionParameterLabels
- func (o *OptAppDefinitionParameterLabels) Decode(d *jx.Decoder) error
- func (o OptAppDefinitionParameterLabels) Encode(e *jx.Encoder)
- func (o OptAppDefinitionParameterLabels) Get() (v AppDefinitionParameterLabels, ok bool)
- func (o OptAppDefinitionParameterLabels) IsSet() bool
- func (s OptAppDefinitionParameterLabels) MarshalJSON() ([]byte, error)
- func (o OptAppDefinitionParameterLabels) Or(d AppDefinitionParameterLabels) AppDefinitionParameterLabels
- func (o *OptAppDefinitionParameterLabels) Reset()
- func (o *OptAppDefinitionParameterLabels) SetTo(v AppDefinitionParameterLabels)
- func (s *OptAppDefinitionParameterLabels) UnmarshalJSON(data []byte) error
- type OptAppDefinitionParameters
- func (o *OptAppDefinitionParameters) Decode(d *jx.Decoder) error
- func (o OptAppDefinitionParameters) Encode(e *jx.Encoder)
- func (o OptAppDefinitionParameters) Get() (v AppDefinitionParameters, ok bool)
- func (o OptAppDefinitionParameters) IsSet() bool
- func (s OptAppDefinitionParameters) MarshalJSON() ([]byte, error)
- func (o OptAppDefinitionParameters) Or(d AppDefinitionParameters) AppDefinitionParameters
- func (o *OptAppDefinitionParameters) Reset()
- func (o *OptAppDefinitionParameters) SetTo(v AppDefinitionParameters)
- func (s *OptAppDefinitionParameters) UnmarshalJSON(data []byte) error
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- func (v *OptBool) ValueBoolPointer() *bool
- type OptContentTypeFieldsItemItems
- func (o *OptContentTypeFieldsItemItems) Decode(d *jx.Decoder) error
- func (o OptContentTypeFieldsItemItems) Encode(e *jx.Encoder)
- func (o OptContentTypeFieldsItemItems) Get() (v ContentTypeFieldsItemItems, ok bool)
- func (o OptContentTypeFieldsItemItems) IsSet() bool
- func (s OptContentTypeFieldsItemItems) MarshalJSON() ([]byte, error)
- func (o OptContentTypeFieldsItemItems) Or(d ContentTypeFieldsItemItems) ContentTypeFieldsItemItems
- func (o *OptContentTypeFieldsItemItems) Reset()
- func (o *OptContentTypeFieldsItemItems) SetTo(v ContentTypeFieldsItemItems)
- func (s *OptContentTypeFieldsItemItems) UnmarshalJSON(data []byte) error
- type OptContentTypeMetadata
- func (o *OptContentTypeMetadata) Decode(d *jx.Decoder) error
- func (o OptContentTypeMetadata) Encode(e *jx.Encoder)
- func (o OptContentTypeMetadata) Get() (v ContentTypeMetadata, ok bool)
- func (o OptContentTypeMetadata) IsSet() bool
- func (s OptContentTypeMetadata) MarshalJSON() ([]byte, error)
- func (o OptContentTypeMetadata) Or(d ContentTypeMetadata) ContentTypeMetadata
- func (o *OptContentTypeMetadata) Reset()
- func (o *OptContentTypeMetadata) SetTo(v ContentTypeMetadata)
- func (s *OptContentTypeMetadata) UnmarshalJSON(data []byte) error
- type OptContentTypeRequestDataFieldsItemItems
- func (o *OptContentTypeRequestDataFieldsItemItems) Decode(d *jx.Decoder) error
- func (o OptContentTypeRequestDataFieldsItemItems) Encode(e *jx.Encoder)
- func (o OptContentTypeRequestDataFieldsItemItems) Get() (v ContentTypeRequestDataFieldsItemItems, ok bool)
- func (o OptContentTypeRequestDataFieldsItemItems) IsSet() bool
- func (s OptContentTypeRequestDataFieldsItemItems) MarshalJSON() ([]byte, error)
- func (o OptContentTypeRequestDataFieldsItemItems) Or(d ContentTypeRequestDataFieldsItemItems) ContentTypeRequestDataFieldsItemItems
- func (o *OptContentTypeRequestDataFieldsItemItems) Reset()
- func (o *OptContentTypeRequestDataFieldsItemItems) SetTo(v ContentTypeRequestDataFieldsItemItems)
- func (s *OptContentTypeRequestDataFieldsItemItems) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptEntryFields
- func (o *OptEntryFields) Decode(d *jx.Decoder) error
- func (o OptEntryFields) Encode(e *jx.Encoder)
- func (o OptEntryFields) Get() (v EntryFields, ok bool)
- func (o OptEntryFields) IsSet() bool
- func (s OptEntryFields) MarshalJSON() ([]byte, error)
- func (o OptEntryFields) Or(d EntryFields) EntryFields
- func (o *OptEntryFields) Reset()
- func (o *OptEntryFields) SetTo(v EntryFields)
- func (s *OptEntryFields) UnmarshalJSON(data []byte) error
- type OptEntryMetadata
- func (o *OptEntryMetadata) Decode(d *jx.Decoder) error
- func (o OptEntryMetadata) Encode(e *jx.Encoder)
- func (o OptEntryMetadata) Get() (v EntryMetadata, ok bool)
- func (o OptEntryMetadata) IsSet() bool
- func (s OptEntryMetadata) MarshalJSON() ([]byte, error)
- func (o OptEntryMetadata) Or(d EntryMetadata) EntryMetadata
- func (o *OptEntryMetadata) Reset()
- func (o *OptEntryMetadata) SetTo(v EntryMetadata)
- func (s *OptEntryMetadata) UnmarshalJSON(data []byte) error
- type OptExtensionDataExtensionFieldTypesItemItems
- func (o *OptExtensionDataExtensionFieldTypesItemItems) Decode(d *jx.Decoder) error
- func (o OptExtensionDataExtensionFieldTypesItemItems) Encode(e *jx.Encoder)
- func (o OptExtensionDataExtensionFieldTypesItemItems) Get() (v ExtensionDataExtensionFieldTypesItemItems, ok bool)
- func (o OptExtensionDataExtensionFieldTypesItemItems) IsSet() bool
- func (s OptExtensionDataExtensionFieldTypesItemItems) MarshalJSON() ([]byte, error)
- func (o OptExtensionDataExtensionFieldTypesItemItems) Or(d ExtensionDataExtensionFieldTypesItemItems) ExtensionDataExtensionFieldTypesItemItems
- func (o *OptExtensionDataExtensionFieldTypesItemItems) Reset()
- func (o *OptExtensionDataExtensionFieldTypesItemItems) SetTo(v ExtensionDataExtensionFieldTypesItemItems)
- func (s *OptExtensionDataExtensionFieldTypesItemItems) UnmarshalJSON(data []byte) error
- type OptExtensionExtensionFieldTypesItemItems
- func (o *OptExtensionExtensionFieldTypesItemItems) Decode(d *jx.Decoder) error
- func (o OptExtensionExtensionFieldTypesItemItems) Encode(e *jx.Encoder)
- func (o OptExtensionExtensionFieldTypesItemItems) Get() (v ExtensionExtensionFieldTypesItemItems, ok bool)
- func (o OptExtensionExtensionFieldTypesItemItems) IsSet() bool
- func (s OptExtensionExtensionFieldTypesItemItems) MarshalJSON() ([]byte, error)
- func (o OptExtensionExtensionFieldTypesItemItems) Or(d ExtensionExtensionFieldTypesItemItems) ExtensionExtensionFieldTypesItemItems
- func (o *OptExtensionExtensionFieldTypesItemItems) Reset()
- func (o *OptExtensionExtensionFieldTypesItemItems) SetTo(v ExtensionExtensionFieldTypesItemItems)
- func (s *OptExtensionExtensionFieldTypesItemItems) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInt64
- type OptNilDateTime
- func (o *OptNilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptNilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptNilDateTime) Get() (v time.Time, ok bool)
- func (o OptNilDateTime) IsNull() bool
- func (o OptNilDateTime) IsSet() bool
- func (s OptNilDateTime) MarshalJSON() ([]byte, error)
- func (o OptNilDateTime) Or(d time.Time) time.Time
- func (o *OptNilDateTime) Reset()
- func (o *OptNilDateTime) SetTo(v time.Time)
- func (o *OptNilDateTime) SetToNull()
- func (s *OptNilDateTime) UnmarshalJSON(data []byte) error
- func (v *OptNilDateTime) ValueTimePointer() *time.Time
- type OptNilEditorInterfaceControlsItemArray
- func (o *OptNilEditorInterfaceControlsItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceControlsItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceControlsItemArray) Get() (v []EditorInterfaceControlsItem, ok bool)
- func (o OptNilEditorInterfaceControlsItemArray) IsNull() bool
- func (o OptNilEditorInterfaceControlsItemArray) IsSet() bool
- func (s OptNilEditorInterfaceControlsItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceControlsItemArray) Or(d []EditorInterfaceControlsItem) []EditorInterfaceControlsItem
- func (o *OptNilEditorInterfaceControlsItemArray) Reset()
- func (o *OptNilEditorInterfaceControlsItemArray) SetTo(v []EditorInterfaceControlsItem)
- func (o *OptNilEditorInterfaceControlsItemArray) SetToNull()
- func (s *OptNilEditorInterfaceControlsItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceDataControlsItemArray
- func (o *OptNilEditorInterfaceDataControlsItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceDataControlsItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceDataControlsItemArray) Get() (v []EditorInterfaceDataControlsItem, ok bool)
- func (o OptNilEditorInterfaceDataControlsItemArray) IsNull() bool
- func (o OptNilEditorInterfaceDataControlsItemArray) IsSet() bool
- func (s OptNilEditorInterfaceDataControlsItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceDataControlsItemArray) Or(d []EditorInterfaceDataControlsItem) []EditorInterfaceDataControlsItem
- func (o *OptNilEditorInterfaceDataControlsItemArray) Reset()
- func (o *OptNilEditorInterfaceDataControlsItemArray) SetTo(v []EditorInterfaceDataControlsItem)
- func (o *OptNilEditorInterfaceDataControlsItemArray) SetToNull()
- func (s *OptNilEditorInterfaceDataControlsItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceDataGroupControlsItemArray
- func (o *OptNilEditorInterfaceDataGroupControlsItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceDataGroupControlsItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceDataGroupControlsItemArray) Get() (v []EditorInterfaceDataGroupControlsItem, ok bool)
- func (o OptNilEditorInterfaceDataGroupControlsItemArray) IsNull() bool
- func (o OptNilEditorInterfaceDataGroupControlsItemArray) IsSet() bool
- func (s OptNilEditorInterfaceDataGroupControlsItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceDataGroupControlsItemArray) Or(d []EditorInterfaceDataGroupControlsItem) []EditorInterfaceDataGroupControlsItem
- func (o *OptNilEditorInterfaceDataGroupControlsItemArray) Reset()
- func (o *OptNilEditorInterfaceDataGroupControlsItemArray) SetTo(v []EditorInterfaceDataGroupControlsItem)
- func (o *OptNilEditorInterfaceDataGroupControlsItemArray) SetToNull()
- func (s *OptNilEditorInterfaceDataGroupControlsItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceDataSidebarItemArray
- func (o *OptNilEditorInterfaceDataSidebarItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceDataSidebarItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceDataSidebarItemArray) Get() (v []EditorInterfaceDataSidebarItem, ok bool)
- func (o OptNilEditorInterfaceDataSidebarItemArray) IsNull() bool
- func (o OptNilEditorInterfaceDataSidebarItemArray) IsSet() bool
- func (s OptNilEditorInterfaceDataSidebarItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceDataSidebarItemArray) Or(d []EditorInterfaceDataSidebarItem) []EditorInterfaceDataSidebarItem
- func (o *OptNilEditorInterfaceDataSidebarItemArray) Reset()
- func (o *OptNilEditorInterfaceDataSidebarItemArray) SetTo(v []EditorInterfaceDataSidebarItem)
- func (o *OptNilEditorInterfaceDataSidebarItemArray) SetToNull()
- func (s *OptNilEditorInterfaceDataSidebarItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceEditorLayoutItemArray
- func (o *OptNilEditorInterfaceEditorLayoutItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceEditorLayoutItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceEditorLayoutItemArray) Get() (v []EditorInterfaceEditorLayoutItem, ok bool)
- func (o OptNilEditorInterfaceEditorLayoutItemArray) IsNull() bool
- func (o OptNilEditorInterfaceEditorLayoutItemArray) IsSet() bool
- func (s OptNilEditorInterfaceEditorLayoutItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceEditorLayoutItemArray) Or(d []EditorInterfaceEditorLayoutItem) []EditorInterfaceEditorLayoutItem
- func (o *OptNilEditorInterfaceEditorLayoutItemArray) Reset()
- func (o *OptNilEditorInterfaceEditorLayoutItemArray) SetTo(v []EditorInterfaceEditorLayoutItem)
- func (o *OptNilEditorInterfaceEditorLayoutItemArray) SetToNull()
- func (s *OptNilEditorInterfaceEditorLayoutItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceGroupControlsItemArray
- func (o *OptNilEditorInterfaceGroupControlsItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceGroupControlsItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceGroupControlsItemArray) Get() (v []EditorInterfaceGroupControlsItem, ok bool)
- func (o OptNilEditorInterfaceGroupControlsItemArray) IsNull() bool
- func (o OptNilEditorInterfaceGroupControlsItemArray) IsSet() bool
- func (s OptNilEditorInterfaceGroupControlsItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceGroupControlsItemArray) Or(d []EditorInterfaceGroupControlsItem) []EditorInterfaceGroupControlsItem
- func (o *OptNilEditorInterfaceGroupControlsItemArray) Reset()
- func (o *OptNilEditorInterfaceGroupControlsItemArray) SetTo(v []EditorInterfaceGroupControlsItem)
- func (o *OptNilEditorInterfaceGroupControlsItemArray) SetToNull()
- func (s *OptNilEditorInterfaceGroupControlsItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceSidebarItemArray
- func (o *OptNilEditorInterfaceSidebarItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceSidebarItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceSidebarItemArray) Get() (v []EditorInterfaceSidebarItem, ok bool)
- func (o OptNilEditorInterfaceSidebarItemArray) IsNull() bool
- func (o OptNilEditorInterfaceSidebarItemArray) IsSet() bool
- func (s OptNilEditorInterfaceSidebarItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceSidebarItemArray) Or(d []EditorInterfaceSidebarItem) []EditorInterfaceSidebarItem
- func (o *OptNilEditorInterfaceSidebarItemArray) Reset()
- func (o *OptNilEditorInterfaceSidebarItemArray) SetTo(v []EditorInterfaceSidebarItem)
- func (o *OptNilEditorInterfaceSidebarItemArray) SetToNull()
- func (s *OptNilEditorInterfaceSidebarItemArray) UnmarshalJSON(data []byte) error
- type OptNilInt
- func (o *OptNilInt) Decode(d *jx.Decoder) error
- func (o OptNilInt) Encode(e *jx.Encoder)
- func (o OptNilInt) Get() (v int, ok bool)
- func (o OptNilInt) IsNull() bool
- func (o OptNilInt) IsSet() bool
- func (s OptNilInt) MarshalJSON() ([]byte, error)
- func (o OptNilInt) Or(d int) int
- func (o *OptNilInt) Reset()
- func (o *OptNilInt) SetTo(v int)
- func (o *OptNilInt) SetToNull()
- func (s *OptNilInt) UnmarshalJSON(data []byte) error
- func (v *OptNilInt) ValueInt64Pointer() *int64
- func (v *OptNilInt) ValueIntPointer() *int
- type OptNilResourceLinkArray
- func (o *OptNilResourceLinkArray) Decode(d *jx.Decoder) error
- func (o OptNilResourceLinkArray) Encode(e *jx.Encoder)
- func (o OptNilResourceLinkArray) Get() (v []ResourceLink, ok bool)
- func (o OptNilResourceLinkArray) IsNull() bool
- func (o OptNilResourceLinkArray) IsSet() bool
- func (s OptNilResourceLinkArray) MarshalJSON() ([]byte, error)
- func (o OptNilResourceLinkArray) Or(d []ResourceLink) []ResourceLink
- func (o *OptNilResourceLinkArray) Reset()
- func (o *OptNilResourceLinkArray) SetTo(v []ResourceLink)
- func (o *OptNilResourceLinkArray) SetToNull()
- func (s *OptNilResourceLinkArray) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- func (v *OptNilString) ValueStringPointer() *string
- type OptNilWebhookDefinitionDataTransformation
- func (o *OptNilWebhookDefinitionDataTransformation) Decode(d *jx.Decoder) error
- func (o OptNilWebhookDefinitionDataTransformation) Encode(e *jx.Encoder)
- func (o OptNilWebhookDefinitionDataTransformation) Get() (v WebhookDefinitionDataTransformation, ok bool)
- func (o OptNilWebhookDefinitionDataTransformation) IsNull() bool
- func (o OptNilWebhookDefinitionDataTransformation) IsSet() bool
- func (s OptNilWebhookDefinitionDataTransformation) MarshalJSON() ([]byte, error)
- func (o OptNilWebhookDefinitionDataTransformation) Or(d WebhookDefinitionDataTransformation) WebhookDefinitionDataTransformation
- func (o *OptNilWebhookDefinitionDataTransformation) Reset()
- func (o *OptNilWebhookDefinitionDataTransformation) SetTo(v WebhookDefinitionDataTransformation)
- func (o *OptNilWebhookDefinitionDataTransformation) SetToNull()
- func (s *OptNilWebhookDefinitionDataTransformation) UnmarshalJSON(data []byte) error
- type OptNilWebhookDefinitionFilterArray
- func (o *OptNilWebhookDefinitionFilterArray) Decode(d *jx.Decoder) error
- func (o OptNilWebhookDefinitionFilterArray) Encode(e *jx.Encoder)
- func (o OptNilWebhookDefinitionFilterArray) Get() (v []WebhookDefinitionFilter, ok bool)
- func (o OptNilWebhookDefinitionFilterArray) IsNull() bool
- func (o OptNilWebhookDefinitionFilterArray) IsSet() bool
- func (s OptNilWebhookDefinitionFilterArray) MarshalJSON() ([]byte, error)
- func (o OptNilWebhookDefinitionFilterArray) Or(d []WebhookDefinitionFilter) []WebhookDefinitionFilter
- func (o *OptNilWebhookDefinitionFilterArray) Reset()
- func (o *OptNilWebhookDefinitionFilterArray) SetTo(v []WebhookDefinitionFilter)
- func (o *OptNilWebhookDefinitionFilterArray) SetToNull()
- func (s *OptNilWebhookDefinitionFilterArray) UnmarshalJSON(data []byte) error
- type OptNilWebhookDefinitionTransformation
- func (o *OptNilWebhookDefinitionTransformation) Decode(d *jx.Decoder) error
- func (o OptNilWebhookDefinitionTransformation) Encode(e *jx.Encoder)
- func (o OptNilWebhookDefinitionTransformation) Get() (v WebhookDefinitionTransformation, ok bool)
- func (o OptNilWebhookDefinitionTransformation) IsNull() bool
- func (o OptNilWebhookDefinitionTransformation) IsSet() bool
- func (s OptNilWebhookDefinitionTransformation) MarshalJSON() ([]byte, error)
- func (o OptNilWebhookDefinitionTransformation) Or(d WebhookDefinitionTransformation) WebhookDefinitionTransformation
- func (o *OptNilWebhookDefinitionTransformation) Reset()
- func (o *OptNilWebhookDefinitionTransformation) SetTo(v WebhookDefinitionTransformation)
- func (o *OptNilWebhookDefinitionTransformation) SetToNull()
- func (s *OptNilWebhookDefinitionTransformation) UnmarshalJSON(data []byte) error
- type OptPreviewAPIKeyLink
- func (o *OptPreviewAPIKeyLink) Decode(d *jx.Decoder) error
- func (o OptPreviewAPIKeyLink) Encode(e *jx.Encoder)
- func (o OptPreviewAPIKeyLink) Get() (v PreviewAPIKeyLink, ok bool)
- func (o OptPreviewAPIKeyLink) IsSet() bool
- func (s OptPreviewAPIKeyLink) MarshalJSON() ([]byte, error)
- func (o OptPreviewAPIKeyLink) Or(d PreviewAPIKeyLink) PreviewAPIKeyLink
- func (o *OptPreviewAPIKeyLink) Reset()
- func (o *OptPreviewAPIKeyLink) SetTo(v PreviewAPIKeyLink)
- func (s *OptPreviewAPIKeyLink) UnmarshalJSON(data []byte) error
- type OptResourceTypeDefaultFieldMappingBadge
- func (o *OptResourceTypeDefaultFieldMappingBadge) Decode(d *jx.Decoder) error
- func (o OptResourceTypeDefaultFieldMappingBadge) Encode(e *jx.Encoder)
- func (o OptResourceTypeDefaultFieldMappingBadge) Get() (v ResourceTypeDefaultFieldMappingBadge, ok bool)
- func (o OptResourceTypeDefaultFieldMappingBadge) IsSet() bool
- func (s OptResourceTypeDefaultFieldMappingBadge) MarshalJSON() ([]byte, error)
- func (o OptResourceTypeDefaultFieldMappingBadge) Or(d ResourceTypeDefaultFieldMappingBadge) ResourceTypeDefaultFieldMappingBadge
- func (o *OptResourceTypeDefaultFieldMappingBadge) Reset()
- func (o *OptResourceTypeDefaultFieldMappingBadge) SetTo(v ResourceTypeDefaultFieldMappingBadge)
- func (s *OptResourceTypeDefaultFieldMappingBadge) UnmarshalJSON(data []byte) error
- type OptResourceTypeDefaultFieldMappingImage
- func (o *OptResourceTypeDefaultFieldMappingImage) Decode(d *jx.Decoder) error
- func (o OptResourceTypeDefaultFieldMappingImage) Encode(e *jx.Encoder)
- func (o OptResourceTypeDefaultFieldMappingImage) Get() (v ResourceTypeDefaultFieldMappingImage, ok bool)
- func (o OptResourceTypeDefaultFieldMappingImage) IsSet() bool
- func (s OptResourceTypeDefaultFieldMappingImage) MarshalJSON() ([]byte, error)
- func (o OptResourceTypeDefaultFieldMappingImage) Or(d ResourceTypeDefaultFieldMappingImage) ResourceTypeDefaultFieldMappingImage
- func (o *OptResourceTypeDefaultFieldMappingImage) Reset()
- func (o *OptResourceTypeDefaultFieldMappingImage) SetTo(v ResourceTypeDefaultFieldMappingImage)
- func (s *OptResourceTypeDefaultFieldMappingImage) UnmarshalJSON(data []byte) error
- type OptSpaceEnablementField
- func (o *OptSpaceEnablementField) Decode(d *jx.Decoder) error
- func (o OptSpaceEnablementField) Encode(e *jx.Encoder)
- func (o OptSpaceEnablementField) Get() (v SpaceEnablementField, ok bool)
- func (o OptSpaceEnablementField) IsSet() bool
- func (s OptSpaceEnablementField) MarshalJSON() ([]byte, error)
- func (o OptSpaceEnablementField) Or(d SpaceEnablementField) SpaceEnablementField
- func (o *OptSpaceEnablementField) Reset()
- func (o *OptSpaceEnablementField) SetTo(v SpaceEnablementField)
- func (s *OptSpaceEnablementField) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- func (v *OptString) ValueStringPointer() *string
- type OptWebhookDefinitionFilterNot
- func (o *OptWebhookDefinitionFilterNot) Decode(d *jx.Decoder) error
- func (o OptWebhookDefinitionFilterNot) Encode(e *jx.Encoder)
- func (o OptWebhookDefinitionFilterNot) Get() (v WebhookDefinitionFilterNot, ok bool)
- func (o OptWebhookDefinitionFilterNot) IsSet() bool
- func (s OptWebhookDefinitionFilterNot) MarshalJSON() ([]byte, error)
- func (o OptWebhookDefinitionFilterNot) Or(d WebhookDefinitionFilterNot) WebhookDefinitionFilterNot
- func (o *OptWebhookDefinitionFilterNot) Reset()
- func (o *OptWebhookDefinitionFilterNot) SetTo(v WebhookDefinitionFilterNot)
- func (s *OptWebhookDefinitionFilterNot) UnmarshalJSON(data []byte) error
- type Option
- type OrganizationLink
- func (s *OrganizationLink) Decode(d *jx.Decoder) error
- func (s *OrganizationLink) Encode(e *jx.Encoder)
- func (s *OrganizationLink) GetSys() OrganizationLinkSys
- func (s *OrganizationLink) MarshalJSON() ([]byte, error)
- func (s *OrganizationLink) SetSys(val OrganizationLinkSys)
- func (s *OrganizationLink) UnmarshalJSON(data []byte) error
- func (s *OrganizationLink) Validate() error
- type OrganizationLinkSys
- func (s *OrganizationLinkSys) Decode(d *jx.Decoder) error
- func (s *OrganizationLinkSys) Encode(e *jx.Encoder)
- func (s *OrganizationLinkSys) GetID() string
- func (s *OrganizationLinkSys) GetLinkType() OrganizationLinkSysLinkType
- func (s *OrganizationLinkSys) GetType() OrganizationLinkSysType
- func (s *OrganizationLinkSys) MarshalJSON() ([]byte, error)
- func (s *OrganizationLinkSys) SetID(val string)
- func (s *OrganizationLinkSys) SetLinkType(val OrganizationLinkSysLinkType)
- func (s *OrganizationLinkSys) SetType(val OrganizationLinkSysType)
- func (s *OrganizationLinkSys) UnmarshalJSON(data []byte) error
- func (s *OrganizationLinkSys) Validate() error
- type OrganizationLinkSysLinkType
- func (OrganizationLinkSysLinkType) AllValues() []OrganizationLinkSysLinkType
- func (s *OrganizationLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s OrganizationLinkSysLinkType) Encode(e *jx.Encoder)
- func (s OrganizationLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s OrganizationLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *OrganizationLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *OrganizationLinkSysLinkType) UnmarshalText(data []byte) error
- func (s OrganizationLinkSysLinkType) Validate() error
- type OrganizationLinkSysType
- func (OrganizationLinkSysType) AllValues() []OrganizationLinkSysType
- func (s *OrganizationLinkSysType) Decode(d *jx.Decoder) error
- func (s OrganizationLinkSysType) Encode(e *jx.Encoder)
- func (s OrganizationLinkSysType) MarshalJSON() ([]byte, error)
- func (s OrganizationLinkSysType) MarshalText() ([]byte, error)
- func (s *OrganizationLinkSysType) UnmarshalJSON(data []byte) error
- func (s *OrganizationLinkSysType) UnmarshalText(data []byte) error
- func (s OrganizationLinkSysType) Validate() error
- type PersonalAccessToken
- func (s *PersonalAccessToken) Decode(d *jx.Decoder) error
- func (s *PersonalAccessToken) Encode(e *jx.Encoder)
- func (s *PersonalAccessToken) GetName() string
- func (s *PersonalAccessToken) GetRevokedAt() OptNilDateTime
- func (s *PersonalAccessToken) GetScopes() []string
- func (s *PersonalAccessToken) GetSys() PersonalAccessTokenSys
- func (s *PersonalAccessToken) GetToken() OptString
- func (s *PersonalAccessToken) MarshalJSON() ([]byte, error)
- func (s *PersonalAccessToken) SetName(val string)
- func (s *PersonalAccessToken) SetRevokedAt(val OptNilDateTime)
- func (s *PersonalAccessToken) SetScopes(val []string)
- func (s *PersonalAccessToken) SetSys(val PersonalAccessTokenSys)
- func (s *PersonalAccessToken) SetToken(val OptString)
- func (s *PersonalAccessToken) UnmarshalJSON(data []byte) error
- func (s *PersonalAccessToken) Validate() error
- type PersonalAccessTokenRequestData
- func (s *PersonalAccessTokenRequestData) Decode(d *jx.Decoder) error
- func (s *PersonalAccessTokenRequestData) Encode(e *jx.Encoder)
- func (s *PersonalAccessTokenRequestData) GetExpiresIn() OptNilInt
- func (s *PersonalAccessTokenRequestData) GetName() string
- func (s *PersonalAccessTokenRequestData) GetScopes() []string
- func (s *PersonalAccessTokenRequestData) MarshalJSON() ([]byte, error)
- func (s *PersonalAccessTokenRequestData) SetExpiresIn(val OptNilInt)
- func (s *PersonalAccessTokenRequestData) SetName(val string)
- func (s *PersonalAccessTokenRequestData) SetScopes(val []string)
- func (s *PersonalAccessTokenRequestData) UnmarshalJSON(data []byte) error
- func (s *PersonalAccessTokenRequestData) Validate() error
- type PersonalAccessTokenStatusCode
- func (s *PersonalAccessTokenStatusCode) GetResponse() PersonalAccessToken
- func (s *PersonalAccessTokenStatusCode) GetStatusCode() int
- func (s *PersonalAccessTokenStatusCode) SetResponse(val PersonalAccessToken)
- func (s *PersonalAccessTokenStatusCode) SetStatusCode(val int)
- func (s *PersonalAccessTokenStatusCode) Validate() error
- type PersonalAccessTokenSys
- func (s *PersonalAccessTokenSys) Decode(d *jx.Decoder) error
- func (s *PersonalAccessTokenSys) Encode(e *jx.Encoder)
- func (s *PersonalAccessTokenSys) GetExpiresAt() OptNilDateTime
- func (s *PersonalAccessTokenSys) GetID() string
- func (s *PersonalAccessTokenSys) GetLastUsedAt() OptNilDateTime
- func (s *PersonalAccessTokenSys) GetRedactedValue() OptString
- func (s *PersonalAccessTokenSys) GetType() PersonalAccessTokenSysType
- func (s *PersonalAccessTokenSys) MarshalJSON() ([]byte, error)
- func (s *PersonalAccessTokenSys) SetExpiresAt(val OptNilDateTime)
- func (s *PersonalAccessTokenSys) SetID(val string)
- func (s *PersonalAccessTokenSys) SetLastUsedAt(val OptNilDateTime)
- func (s *PersonalAccessTokenSys) SetRedactedValue(val OptString)
- func (s *PersonalAccessTokenSys) SetType(val PersonalAccessTokenSysType)
- func (s *PersonalAccessTokenSys) UnmarshalJSON(data []byte) error
- func (s *PersonalAccessTokenSys) Validate() error
- type PersonalAccessTokenSysType
- func (PersonalAccessTokenSysType) AllValues() []PersonalAccessTokenSysType
- func (s *PersonalAccessTokenSysType) Decode(d *jx.Decoder) error
- func (s PersonalAccessTokenSysType) Encode(e *jx.Encoder)
- func (s PersonalAccessTokenSysType) MarshalJSON() ([]byte, error)
- func (s PersonalAccessTokenSysType) MarshalText() ([]byte, error)
- func (s *PersonalAccessTokenSysType) UnmarshalJSON(data []byte) error
- func (s *PersonalAccessTokenSysType) UnmarshalText(data []byte) error
- func (s PersonalAccessTokenSysType) Validate() error
- type PreviewAPIKeyLink
- func (s *PreviewAPIKeyLink) Decode(d *jx.Decoder) error
- func (s *PreviewAPIKeyLink) Encode(e *jx.Encoder)
- func (s *PreviewAPIKeyLink) GetSys() PreviewAPIKeyLinkSys
- func (s *PreviewAPIKeyLink) MarshalJSON() ([]byte, error)
- func (s *PreviewAPIKeyLink) SetSys(val PreviewAPIKeyLinkSys)
- func (s *PreviewAPIKeyLink) UnmarshalJSON(data []byte) error
- func (s *PreviewAPIKeyLink) Validate() error
- type PreviewAPIKeyLinkSys
- func (s *PreviewAPIKeyLinkSys) Decode(d *jx.Decoder) error
- func (s *PreviewAPIKeyLinkSys) Encode(e *jx.Encoder)
- func (s *PreviewAPIKeyLinkSys) GetID() string
- func (s *PreviewAPIKeyLinkSys) GetLinkType() PreviewAPIKeyLinkSysLinkType
- func (s *PreviewAPIKeyLinkSys) GetType() PreviewAPIKeyLinkSysType
- func (s *PreviewAPIKeyLinkSys) MarshalJSON() ([]byte, error)
- func (s *PreviewAPIKeyLinkSys) SetID(val string)
- func (s *PreviewAPIKeyLinkSys) SetLinkType(val PreviewAPIKeyLinkSysLinkType)
- func (s *PreviewAPIKeyLinkSys) SetType(val PreviewAPIKeyLinkSysType)
- func (s *PreviewAPIKeyLinkSys) UnmarshalJSON(data []byte) error
- func (s *PreviewAPIKeyLinkSys) Validate() error
- type PreviewAPIKeyLinkSysLinkType
- func (PreviewAPIKeyLinkSysLinkType) AllValues() []PreviewAPIKeyLinkSysLinkType
- func (s *PreviewAPIKeyLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s PreviewAPIKeyLinkSysLinkType) Encode(e *jx.Encoder)
- func (s PreviewAPIKeyLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s PreviewAPIKeyLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *PreviewAPIKeyLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *PreviewAPIKeyLinkSysLinkType) UnmarshalText(data []byte) error
- func (s PreviewAPIKeyLinkSysLinkType) Validate() error
- type PreviewAPIKeyLinkSysType
- func (PreviewAPIKeyLinkSysType) AllValues() []PreviewAPIKeyLinkSysType
- func (s *PreviewAPIKeyLinkSysType) Decode(d *jx.Decoder) error
- func (s PreviewAPIKeyLinkSysType) Encode(e *jx.Encoder)
- func (s PreviewAPIKeyLinkSysType) MarshalJSON() ([]byte, error)
- func (s PreviewAPIKeyLinkSysType) MarshalText() ([]byte, error)
- func (s *PreviewAPIKeyLinkSysType) UnmarshalJSON(data []byte) error
- func (s *PreviewAPIKeyLinkSysType) UnmarshalText(data []byte) error
- func (s PreviewAPIKeyLinkSysType) Validate() error
- type PreviewApiKey
- func (s *PreviewApiKey) Decode(d *jx.Decoder) error
- func (s *PreviewApiKey) Encode(e *jx.Encoder)
- func (s *PreviewApiKey) GetAccessToken() string
- func (s *PreviewApiKey) GetDescription() OptNilString
- func (s *PreviewApiKey) GetEnvironments() []EnvironmentLink
- func (s *PreviewApiKey) GetName() string
- func (s *PreviewApiKey) GetSys() PreviewApiKeySys
- func (s *PreviewApiKey) MarshalJSON() ([]byte, error)
- func (s *PreviewApiKey) SetAccessToken(val string)
- func (s *PreviewApiKey) SetDescription(val OptNilString)
- func (s *PreviewApiKey) SetEnvironments(val []EnvironmentLink)
- func (s *PreviewApiKey) SetName(val string)
- func (s *PreviewApiKey) SetSys(val PreviewApiKeySys)
- func (s *PreviewApiKey) UnmarshalJSON(data []byte) error
- func (s *PreviewApiKey) Validate() error
- type PreviewApiKeySys
- func (s *PreviewApiKeySys) Decode(d *jx.Decoder) error
- func (s *PreviewApiKeySys) Encode(e *jx.Encoder)
- func (s *PreviewApiKeySys) GetID() string
- func (s *PreviewApiKeySys) GetSpace() SpaceLink
- func (s *PreviewApiKeySys) GetType() PreviewApiKeySysType
- func (s *PreviewApiKeySys) GetVersion() int
- func (s *PreviewApiKeySys) MarshalJSON() ([]byte, error)
- func (s *PreviewApiKeySys) SetID(val string)
- func (s *PreviewApiKeySys) SetSpace(val SpaceLink)
- func (s *PreviewApiKeySys) SetType(val PreviewApiKeySysType)
- func (s *PreviewApiKeySys) SetVersion(val int)
- func (s *PreviewApiKeySys) UnmarshalJSON(data []byte) error
- func (s *PreviewApiKeySys) Validate() error
- type PreviewApiKeySysType
- func (PreviewApiKeySysType) AllValues() []PreviewApiKeySysType
- func (s *PreviewApiKeySysType) Decode(d *jx.Decoder) error
- func (s PreviewApiKeySysType) Encode(e *jx.Encoder)
- func (s PreviewApiKeySysType) MarshalJSON() ([]byte, error)
- func (s PreviewApiKeySysType) MarshalText() ([]byte, error)
- func (s *PreviewApiKeySysType) UnmarshalJSON(data []byte) error
- func (s *PreviewApiKeySysType) UnmarshalText(data []byte) error
- func (s PreviewApiKeySysType) Validate() error
- type PublishEntryParams
- type PublishEntryRes
- type PutAppDefinitionParams
- type PutAppDefinitionRes
- type PutAppInstallationParams
- type PutAppInstallationRes
- type PutAppSigningSecretParams
- type PutAppSigningSecretRes
- type PutContentTypeParams
- type PutContentTypeRes
- type PutEditorInterfaceParams
- type PutEditorInterfaceRes
- type PutEntryParams
- type PutEntryRes
- type PutExtensionParams
- type PutExtensionRes
- type PutResourceProviderParams
- type PutResourceProviderRes
- type PutResourceTypeParams
- type PutResourceTypeRes
- type PutSpaceEnablementsParams
- type PutSpaceEnablementsRes
- type PutTagParams
- type PutTagRes
- type PutTeamParams
- type PutTeamRes
- type PutTeamSpaceMembershipParams
- type PutTeamSpaceMembershipRes
- type RequestOption
- type ResourceLink
- func (s *ResourceLink) Decode(d *jx.Decoder) error
- func (s ResourceLink) Encode(e *jx.Encoder)
- func (s ResourceLink) GetContentfulEntryResourceLink() (v ContentfulEntryResourceLink, ok bool)
- func (s ResourceLink) GetExternalResourceLink() (v ExternalResourceLink, ok bool)
- func (s ResourceLink) IsContentfulEntryResourceLink() bool
- func (s ResourceLink) IsExternalResourceLink() bool
- func (s ResourceLink) MarshalJSON() ([]byte, error)
- func (s *ResourceLink) SetContentfulEntryResourceLink(v ContentfulEntryResourceLink)
- func (s *ResourceLink) SetExternalResourceLink(v ExternalResourceLink)
- func (s *ResourceLink) UnmarshalJSON(data []byte) error
- func (s ResourceLink) Validate() error
- type ResourceLinkType
- type ResourceProvider
- func (s *ResourceProvider) Decode(d *jx.Decoder) error
- func (s *ResourceProvider) Encode(e *jx.Encoder)
- func (s *ResourceProvider) GetFunction() FunctionLink
- func (s *ResourceProvider) GetSys() ResourceProviderSys
- func (s *ResourceProvider) GetType() ResourceProviderType
- func (s *ResourceProvider) MarshalJSON() ([]byte, error)
- func (s *ResourceProvider) SetFunction(val FunctionLink)
- func (s *ResourceProvider) SetSys(val ResourceProviderSys)
- func (s *ResourceProvider) SetType(val ResourceProviderType)
- func (s *ResourceProvider) UnmarshalJSON(data []byte) error
- func (s *ResourceProvider) Validate() error
- type ResourceProviderLink
- func (s *ResourceProviderLink) Decode(d *jx.Decoder) error
- func (s *ResourceProviderLink) Encode(e *jx.Encoder)
- func (s *ResourceProviderLink) GetSys() ResourceProviderLinkSys
- func (s *ResourceProviderLink) MarshalJSON() ([]byte, error)
- func (s *ResourceProviderLink) SetSys(val ResourceProviderLinkSys)
- func (s *ResourceProviderLink) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderLink) Validate() error
- type ResourceProviderLinkSys
- func (s *ResourceProviderLinkSys) Decode(d *jx.Decoder) error
- func (s *ResourceProviderLinkSys) Encode(e *jx.Encoder)
- func (s *ResourceProviderLinkSys) GetID() string
- func (s *ResourceProviderLinkSys) GetLinkType() ResourceProviderLinkSysLinkType
- func (s *ResourceProviderLinkSys) GetType() ResourceProviderLinkSysType
- func (s *ResourceProviderLinkSys) MarshalJSON() ([]byte, error)
- func (s *ResourceProviderLinkSys) SetID(val string)
- func (s *ResourceProviderLinkSys) SetLinkType(val ResourceProviderLinkSysLinkType)
- func (s *ResourceProviderLinkSys) SetType(val ResourceProviderLinkSysType)
- func (s *ResourceProviderLinkSys) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderLinkSys) Validate() error
- type ResourceProviderLinkSysLinkType
- func (ResourceProviderLinkSysLinkType) AllValues() []ResourceProviderLinkSysLinkType
- func (s *ResourceProviderLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s ResourceProviderLinkSysLinkType) Encode(e *jx.Encoder)
- func (s ResourceProviderLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s ResourceProviderLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *ResourceProviderLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderLinkSysLinkType) UnmarshalText(data []byte) error
- func (s ResourceProviderLinkSysLinkType) Validate() error
- type ResourceProviderLinkSysType
- func (ResourceProviderLinkSysType) AllValues() []ResourceProviderLinkSysType
- func (s *ResourceProviderLinkSysType) Decode(d *jx.Decoder) error
- func (s ResourceProviderLinkSysType) Encode(e *jx.Encoder)
- func (s ResourceProviderLinkSysType) MarshalJSON() ([]byte, error)
- func (s ResourceProviderLinkSysType) MarshalText() ([]byte, error)
- func (s *ResourceProviderLinkSysType) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderLinkSysType) UnmarshalText(data []byte) error
- func (s ResourceProviderLinkSysType) Validate() error
- type ResourceProviderRequest
- func (s *ResourceProviderRequest) Decode(d *jx.Decoder) error
- func (s *ResourceProviderRequest) Encode(e *jx.Encoder)
- func (s *ResourceProviderRequest) GetFunction() FunctionLink
- func (s *ResourceProviderRequest) GetSys() ResourceProviderRequestSys
- func (s *ResourceProviderRequest) GetType() ResourceProviderRequestType
- func (s *ResourceProviderRequest) MarshalJSON() ([]byte, error)
- func (s *ResourceProviderRequest) SetFunction(val FunctionLink)
- func (s *ResourceProviderRequest) SetSys(val ResourceProviderRequestSys)
- func (s *ResourceProviderRequest) SetType(val ResourceProviderRequestType)
- func (s *ResourceProviderRequest) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderRequest) Validate() error
- type ResourceProviderRequestSys
- func (s *ResourceProviderRequestSys) Decode(d *jx.Decoder) error
- func (s *ResourceProviderRequestSys) Encode(e *jx.Encoder)
- func (s *ResourceProviderRequestSys) GetID() string
- func (s *ResourceProviderRequestSys) MarshalJSON() ([]byte, error)
- func (s *ResourceProviderRequestSys) SetID(val string)
- func (s *ResourceProviderRequestSys) UnmarshalJSON(data []byte) error
- type ResourceProviderRequestType
- func (ResourceProviderRequestType) AllValues() []ResourceProviderRequestType
- func (s *ResourceProviderRequestType) Decode(d *jx.Decoder) error
- func (s ResourceProviderRequestType) Encode(e *jx.Encoder)
- func (s ResourceProviderRequestType) MarshalJSON() ([]byte, error)
- func (s ResourceProviderRequestType) MarshalText() ([]byte, error)
- func (s *ResourceProviderRequestType) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderRequestType) UnmarshalText(data []byte) error
- func (s ResourceProviderRequestType) Validate() error
- type ResourceProviderStatusCode
- func (s *ResourceProviderStatusCode) GetResponse() ResourceProvider
- func (s *ResourceProviderStatusCode) GetStatusCode() int
- func (s *ResourceProviderStatusCode) SetResponse(val ResourceProvider)
- func (s *ResourceProviderStatusCode) SetStatusCode(val int)
- func (s *ResourceProviderStatusCode) Validate() error
- type ResourceProviderSys
- func (s *ResourceProviderSys) Decode(d *jx.Decoder) error
- func (s *ResourceProviderSys) Encode(e *jx.Encoder)
- func (s *ResourceProviderSys) GetAppDefinition() AppDefinitionLink
- func (s *ResourceProviderSys) GetID() string
- func (s *ResourceProviderSys) GetOrganization() OrganizationLink
- func (s *ResourceProviderSys) GetType() ResourceProviderSysType
- func (s *ResourceProviderSys) MarshalJSON() ([]byte, error)
- func (s *ResourceProviderSys) SetAppDefinition(val AppDefinitionLink)
- func (s *ResourceProviderSys) SetID(val string)
- func (s *ResourceProviderSys) SetOrganization(val OrganizationLink)
- func (s *ResourceProviderSys) SetType(val ResourceProviderSysType)
- func (s *ResourceProviderSys) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderSys) Validate() error
- type ResourceProviderSysType
- func (ResourceProviderSysType) AllValues() []ResourceProviderSysType
- func (s *ResourceProviderSysType) Decode(d *jx.Decoder) error
- func (s ResourceProviderSysType) Encode(e *jx.Encoder)
- func (s ResourceProviderSysType) MarshalJSON() ([]byte, error)
- func (s ResourceProviderSysType) MarshalText() ([]byte, error)
- func (s *ResourceProviderSysType) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderSysType) UnmarshalText(data []byte) error
- func (s ResourceProviderSysType) Validate() error
- type ResourceProviderType
- func (ResourceProviderType) AllValues() []ResourceProviderType
- func (s *ResourceProviderType) Decode(d *jx.Decoder) error
- func (s ResourceProviderType) Encode(e *jx.Encoder)
- func (s ResourceProviderType) MarshalJSON() ([]byte, error)
- func (s ResourceProviderType) MarshalText() ([]byte, error)
- func (s *ResourceProviderType) UnmarshalJSON(data []byte) error
- func (s *ResourceProviderType) UnmarshalText(data []byte) error
- func (s ResourceProviderType) Validate() error
- type ResourceType
- func (s *ResourceType) Decode(d *jx.Decoder) error
- func (s *ResourceType) Encode(e *jx.Encoder)
- func (s *ResourceType) GetDefaultFieldMapping() ResourceTypeDefaultFieldMapping
- func (s *ResourceType) GetName() string
- func (s *ResourceType) GetSys() ResourceTypeSys
- func (s *ResourceType) MarshalJSON() ([]byte, error)
- func (s *ResourceType) SetDefaultFieldMapping(val ResourceTypeDefaultFieldMapping)
- func (s *ResourceType) SetName(val string)
- func (s *ResourceType) SetSys(val ResourceTypeSys)
- func (s *ResourceType) UnmarshalJSON(data []byte) error
- func (s *ResourceType) Validate() error
- type ResourceTypeData
- func (s *ResourceTypeData) Decode(d *jx.Decoder) error
- func (s *ResourceTypeData) Encode(e *jx.Encoder)
- func (s *ResourceTypeData) GetDefaultFieldMapping() ResourceTypeDefaultFieldMapping
- func (s *ResourceTypeData) GetName() string
- func (s *ResourceTypeData) MarshalJSON() ([]byte, error)
- func (s *ResourceTypeData) SetDefaultFieldMapping(val ResourceTypeDefaultFieldMapping)
- func (s *ResourceTypeData) SetName(val string)
- func (s *ResourceTypeData) UnmarshalJSON(data []byte) error
- type ResourceTypeDefaultFieldMapping
- func (s *ResourceTypeDefaultFieldMapping) Decode(d *jx.Decoder) error
- func (s *ResourceTypeDefaultFieldMapping) Encode(e *jx.Encoder)
- func (s *ResourceTypeDefaultFieldMapping) GetBadge() OptResourceTypeDefaultFieldMappingBadge
- func (s *ResourceTypeDefaultFieldMapping) GetDescription() OptString
- func (s *ResourceTypeDefaultFieldMapping) GetExternalUrl() OptString
- func (s *ResourceTypeDefaultFieldMapping) GetImage() OptResourceTypeDefaultFieldMappingImage
- func (s *ResourceTypeDefaultFieldMapping) GetSubtitle() OptString
- func (s *ResourceTypeDefaultFieldMapping) GetTitle() string
- func (s *ResourceTypeDefaultFieldMapping) MarshalJSON() ([]byte, error)
- func (s *ResourceTypeDefaultFieldMapping) SetBadge(val OptResourceTypeDefaultFieldMappingBadge)
- func (s *ResourceTypeDefaultFieldMapping) SetDescription(val OptString)
- func (s *ResourceTypeDefaultFieldMapping) SetExternalUrl(val OptString)
- func (s *ResourceTypeDefaultFieldMapping) SetImage(val OptResourceTypeDefaultFieldMappingImage)
- func (s *ResourceTypeDefaultFieldMapping) SetSubtitle(val OptString)
- func (s *ResourceTypeDefaultFieldMapping) SetTitle(val string)
- func (s *ResourceTypeDefaultFieldMapping) UnmarshalJSON(data []byte) error
- type ResourceTypeDefaultFieldMappingBadge
- func (s *ResourceTypeDefaultFieldMappingBadge) Decode(d *jx.Decoder) error
- func (s *ResourceTypeDefaultFieldMappingBadge) Encode(e *jx.Encoder)
- func (s *ResourceTypeDefaultFieldMappingBadge) GetLabel() string
- func (s *ResourceTypeDefaultFieldMappingBadge) GetVariant() string
- func (s *ResourceTypeDefaultFieldMappingBadge) MarshalJSON() ([]byte, error)
- func (s *ResourceTypeDefaultFieldMappingBadge) SetLabel(val string)
- func (s *ResourceTypeDefaultFieldMappingBadge) SetVariant(val string)
- func (s *ResourceTypeDefaultFieldMappingBadge) UnmarshalJSON(data []byte) error
- type ResourceTypeDefaultFieldMappingImage
- func (s *ResourceTypeDefaultFieldMappingImage) Decode(d *jx.Decoder) error
- func (s *ResourceTypeDefaultFieldMappingImage) Encode(e *jx.Encoder)
- func (s *ResourceTypeDefaultFieldMappingImage) GetAltText() OptString
- func (s *ResourceTypeDefaultFieldMappingImage) GetURL() string
- func (s *ResourceTypeDefaultFieldMappingImage) MarshalJSON() ([]byte, error)
- func (s *ResourceTypeDefaultFieldMappingImage) SetAltText(val OptString)
- func (s *ResourceTypeDefaultFieldMappingImage) SetURL(val string)
- func (s *ResourceTypeDefaultFieldMappingImage) UnmarshalJSON(data []byte) error
- type ResourceTypeStatusCode
- type ResourceTypeSys
- func (s *ResourceTypeSys) Decode(d *jx.Decoder) error
- func (s *ResourceTypeSys) Encode(e *jx.Encoder)
- func (s *ResourceTypeSys) GetAppDefinition() AppDefinitionLink
- func (s *ResourceTypeSys) GetID() string
- func (s *ResourceTypeSys) GetOrganization() OrganizationLink
- func (s *ResourceTypeSys) GetResourceProvider() ResourceProviderLink
- func (s *ResourceTypeSys) GetType() ResourceTypeSysType
- func (s *ResourceTypeSys) MarshalJSON() ([]byte, error)
- func (s *ResourceTypeSys) SetAppDefinition(val AppDefinitionLink)
- func (s *ResourceTypeSys) SetID(val string)
- func (s *ResourceTypeSys) SetOrganization(val OrganizationLink)
- func (s *ResourceTypeSys) SetResourceProvider(val ResourceProviderLink)
- func (s *ResourceTypeSys) SetType(val ResourceTypeSysType)
- func (s *ResourceTypeSys) UnmarshalJSON(data []byte) error
- func (s *ResourceTypeSys) Validate() error
- type ResourceTypeSysType
- func (ResourceTypeSysType) AllValues() []ResourceTypeSysType
- func (s *ResourceTypeSysType) Decode(d *jx.Decoder) error
- func (s ResourceTypeSysType) Encode(e *jx.Encoder)
- func (s ResourceTypeSysType) MarshalJSON() ([]byte, error)
- func (s ResourceTypeSysType) MarshalText() ([]byte, error)
- func (s *ResourceTypeSysType) UnmarshalJSON(data []byte) error
- func (s *ResourceTypeSysType) UnmarshalText(data []byte) error
- func (s ResourceTypeSysType) Validate() error
- type RevokePersonalAccessTokenParams
- type RevokePersonalAccessTokenRes
- type Role
- func (s *Role) Decode(d *jx.Decoder) error
- func (s *Role) Encode(e *jx.Encoder)
- func (s *Role) GetDescription() OptNilString
- func (s *Role) GetName() string
- func (s *Role) GetPermissions() RolePermissions
- func (s *Role) GetPolicies() []RolePoliciesItem
- func (s *Role) GetSys() RoleSys
- func (s *Role) MarshalJSON() ([]byte, error)
- func (s *Role) SetDescription(val OptNilString)
- func (s *Role) SetName(val string)
- func (s *Role) SetPermissions(val RolePermissions)
- func (s *Role) SetPolicies(val []RolePoliciesItem)
- func (s *Role) SetSys(val RoleSys)
- func (s *Role) UnmarshalJSON(data []byte) error
- func (s *Role) Validate() error
- type RoleData
- func (s *RoleData) Decode(d *jx.Decoder) error
- func (s *RoleData) Encode(e *jx.Encoder)
- func (s *RoleData) GetDescription() OptNilString
- func (s *RoleData) GetName() string
- func (s *RoleData) GetPermissions() RoleDataPermissions
- func (s *RoleData) GetPolicies() []RoleDataPoliciesItem
- func (s *RoleData) MarshalJSON() ([]byte, error)
- func (s *RoleData) SetDescription(val OptNilString)
- func (s *RoleData) SetName(val string)
- func (s *RoleData) SetPermissions(val RoleDataPermissions)
- func (s *RoleData) SetPolicies(val []RoleDataPoliciesItem)
- func (s *RoleData) UnmarshalJSON(data []byte) error
- func (s *RoleData) Validate() error
- type RoleDataPermissions
- type RoleDataPermissionsItem
- func (s *RoleDataPermissionsItem) Decode(d *jx.Decoder) error
- func (s RoleDataPermissionsItem) Encode(e *jx.Encoder)
- func (s RoleDataPermissionsItem) GetString() (v string, ok bool)
- func (s RoleDataPermissionsItem) GetStringArray() (v []string, ok bool)
- func (s RoleDataPermissionsItem) IsString() bool
- func (s RoleDataPermissionsItem) IsStringArray() bool
- func (s RoleDataPermissionsItem) MarshalJSON() ([]byte, error)
- func (s *RoleDataPermissionsItem) SetString(v string)
- func (s *RoleDataPermissionsItem) SetStringArray(v []string)
- func (s *RoleDataPermissionsItem) UnmarshalJSON(data []byte) error
- func (s RoleDataPermissionsItem) Validate() error
- type RoleDataPermissionsItemType
- type RoleDataPoliciesItem
- func (s *RoleDataPoliciesItem) Decode(d *jx.Decoder) error
- func (s *RoleDataPoliciesItem) Encode(e *jx.Encoder)
- func (s *RoleDataPoliciesItem) GetActions() RoleDataPoliciesItemActions
- func (s *RoleDataPoliciesItem) GetConstraint() jx.Raw
- func (s *RoleDataPoliciesItem) GetEffect() RoleDataPoliciesItemEffect
- func (s *RoleDataPoliciesItem) MarshalJSON() ([]byte, error)
- func (s *RoleDataPoliciesItem) SetActions(val RoleDataPoliciesItemActions)
- func (s *RoleDataPoliciesItem) SetConstraint(val jx.Raw)
- func (s *RoleDataPoliciesItem) SetEffect(val RoleDataPoliciesItemEffect)
- func (s *RoleDataPoliciesItem) UnmarshalJSON(data []byte) error
- func (s *RoleDataPoliciesItem) Validate() error
- type RoleDataPoliciesItemActions
- func (s *RoleDataPoliciesItemActions) Decode(d *jx.Decoder) error
- func (s RoleDataPoliciesItemActions) Encode(e *jx.Encoder)
- func (s RoleDataPoliciesItemActions) GetString() (v string, ok bool)
- func (s RoleDataPoliciesItemActions) GetStringArray() (v []string, ok bool)
- func (s RoleDataPoliciesItemActions) IsString() bool
- func (s RoleDataPoliciesItemActions) IsStringArray() bool
- func (s RoleDataPoliciesItemActions) MarshalJSON() ([]byte, error)
- func (s *RoleDataPoliciesItemActions) SetString(v string)
- func (s *RoleDataPoliciesItemActions) SetStringArray(v []string)
- func (s *RoleDataPoliciesItemActions) UnmarshalJSON(data []byte) error
- func (s RoleDataPoliciesItemActions) Validate() error
- type RoleDataPoliciesItemActionsType
- type RoleDataPoliciesItemEffect
- func (RoleDataPoliciesItemEffect) AllValues() []RoleDataPoliciesItemEffect
- func (s *RoleDataPoliciesItemEffect) Decode(d *jx.Decoder) error
- func (s RoleDataPoliciesItemEffect) Encode(e *jx.Encoder)
- func (s RoleDataPoliciesItemEffect) MarshalJSON() ([]byte, error)
- func (s RoleDataPoliciesItemEffect) MarshalText() ([]byte, error)
- func (s *RoleDataPoliciesItemEffect) UnmarshalJSON(data []byte) error
- func (s *RoleDataPoliciesItemEffect) UnmarshalText(data []byte) error
- func (s RoleDataPoliciesItemEffect) Validate() error
- type RoleLink
- func (s *RoleLink) Decode(d *jx.Decoder) error
- func (s *RoleLink) Encode(e *jx.Encoder)
- func (s *RoleLink) GetSys() RoleLinkSys
- func (s *RoleLink) MarshalJSON() ([]byte, error)
- func (s *RoleLink) SetSys(val RoleLinkSys)
- func (s *RoleLink) UnmarshalJSON(data []byte) error
- func (s *RoleLink) Validate() error
- type RoleLinkSys
- func (s *RoleLinkSys) Decode(d *jx.Decoder) error
- func (s *RoleLinkSys) Encode(e *jx.Encoder)
- func (s *RoleLinkSys) GetID() string
- func (s *RoleLinkSys) GetLinkType() RoleLinkSysLinkType
- func (s *RoleLinkSys) GetType() RoleLinkSysType
- func (s *RoleLinkSys) MarshalJSON() ([]byte, error)
- func (s *RoleLinkSys) SetID(val string)
- func (s *RoleLinkSys) SetLinkType(val RoleLinkSysLinkType)
- func (s *RoleLinkSys) SetType(val RoleLinkSysType)
- func (s *RoleLinkSys) UnmarshalJSON(data []byte) error
- func (s *RoleLinkSys) Validate() error
- type RoleLinkSysLinkType
- func (RoleLinkSysLinkType) AllValues() []RoleLinkSysLinkType
- func (s *RoleLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s RoleLinkSysLinkType) Encode(e *jx.Encoder)
- func (s RoleLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s RoleLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *RoleLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *RoleLinkSysLinkType) UnmarshalText(data []byte) error
- func (s RoleLinkSysLinkType) Validate() error
- type RoleLinkSysType
- func (RoleLinkSysType) AllValues() []RoleLinkSysType
- func (s *RoleLinkSysType) Decode(d *jx.Decoder) error
- func (s RoleLinkSysType) Encode(e *jx.Encoder)
- func (s RoleLinkSysType) MarshalJSON() ([]byte, error)
- func (s RoleLinkSysType) MarshalText() ([]byte, error)
- func (s *RoleLinkSysType) UnmarshalJSON(data []byte) error
- func (s *RoleLinkSysType) UnmarshalText(data []byte) error
- func (s RoleLinkSysType) Validate() error
- type RolePermissions
- type RolePermissionsItem
- func (s *RolePermissionsItem) Decode(d *jx.Decoder) error
- func (s RolePermissionsItem) Encode(e *jx.Encoder)
- func (s RolePermissionsItem) GetString() (v string, ok bool)
- func (s RolePermissionsItem) GetStringArray() (v []string, ok bool)
- func (s RolePermissionsItem) IsString() bool
- func (s RolePermissionsItem) IsStringArray() bool
- func (s RolePermissionsItem) MarshalJSON() ([]byte, error)
- func (s *RolePermissionsItem) SetString(v string)
- func (s *RolePermissionsItem) SetStringArray(v []string)
- func (s *RolePermissionsItem) UnmarshalJSON(data []byte) error
- func (s RolePermissionsItem) Validate() error
- type RolePermissionsItemType
- type RolePoliciesItem
- func (s *RolePoliciesItem) Decode(d *jx.Decoder) error
- func (s *RolePoliciesItem) Encode(e *jx.Encoder)
- func (s *RolePoliciesItem) GetActions() RolePoliciesItemActions
- func (s *RolePoliciesItem) GetConstraint() jx.Raw
- func (s *RolePoliciesItem) GetEffect() RolePoliciesItemEffect
- func (s *RolePoliciesItem) MarshalJSON() ([]byte, error)
- func (s *RolePoliciesItem) SetActions(val RolePoliciesItemActions)
- func (s *RolePoliciesItem) SetConstraint(val jx.Raw)
- func (s *RolePoliciesItem) SetEffect(val RolePoliciesItemEffect)
- func (s *RolePoliciesItem) UnmarshalJSON(data []byte) error
- func (s *RolePoliciesItem) Validate() error
- type RolePoliciesItemActions
- func (s *RolePoliciesItemActions) Decode(d *jx.Decoder) error
- func (s RolePoliciesItemActions) Encode(e *jx.Encoder)
- func (s RolePoliciesItemActions) GetString() (v string, ok bool)
- func (s RolePoliciesItemActions) GetStringArray() (v []string, ok bool)
- func (s RolePoliciesItemActions) IsString() bool
- func (s RolePoliciesItemActions) IsStringArray() bool
- func (s RolePoliciesItemActions) MarshalJSON() ([]byte, error)
- func (s *RolePoliciesItemActions) SetString(v string)
- func (s *RolePoliciesItemActions) SetStringArray(v []string)
- func (s *RolePoliciesItemActions) UnmarshalJSON(data []byte) error
- func (s RolePoliciesItemActions) Validate() error
- type RolePoliciesItemActionsType
- type RolePoliciesItemEffect
- func (RolePoliciesItemEffect) AllValues() []RolePoliciesItemEffect
- func (s *RolePoliciesItemEffect) Decode(d *jx.Decoder) error
- func (s RolePoliciesItemEffect) Encode(e *jx.Encoder)
- func (s RolePoliciesItemEffect) MarshalJSON() ([]byte, error)
- func (s RolePoliciesItemEffect) MarshalText() ([]byte, error)
- func (s *RolePoliciesItemEffect) UnmarshalJSON(data []byte) error
- func (s *RolePoliciesItemEffect) UnmarshalText(data []byte) error
- func (s RolePoliciesItemEffect) Validate() error
- type RoleStatusCode
- type RoleSys
- func (s *RoleSys) Decode(d *jx.Decoder) error
- func (s *RoleSys) Encode(e *jx.Encoder)
- func (s *RoleSys) GetID() string
- func (s *RoleSys) GetSpace() SpaceLink
- func (s *RoleSys) GetType() RoleSysType
- func (s *RoleSys) GetVersion() int
- func (s *RoleSys) MarshalJSON() ([]byte, error)
- func (s *RoleSys) SetID(val string)
- func (s *RoleSys) SetSpace(val SpaceLink)
- func (s *RoleSys) SetType(val RoleSysType)
- func (s *RoleSys) SetVersion(val int)
- func (s *RoleSys) UnmarshalJSON(data []byte) error
- func (s *RoleSys) Validate() error
- type RoleSysType
- func (RoleSysType) AllValues() []RoleSysType
- func (s *RoleSysType) Decode(d *jx.Decoder) error
- func (s RoleSysType) Encode(e *jx.Encoder)
- func (s RoleSysType) MarshalJSON() ([]byte, error)
- func (s RoleSysType) MarshalText() ([]byte, error)
- func (s *RoleSysType) UnmarshalJSON(data []byte) error
- func (s *RoleSysType) UnmarshalText(data []byte) error
- func (s RoleSysType) Validate() error
- type Route
- type SecurityHandler
- type SecuritySource
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SpaceEnablement
- func (s *SpaceEnablement) Decode(d *jx.Decoder) error
- func (s *SpaceEnablement) Encode(e *jx.Encoder)
- func (s *SpaceEnablement) GetCrossSpaceLinks() OptSpaceEnablementField
- func (s *SpaceEnablement) GetSpaceTemplates() OptSpaceEnablementField
- func (s *SpaceEnablement) GetStudioExperiences() OptSpaceEnablementField
- func (s *SpaceEnablement) GetSuggestConcepts() OptSpaceEnablementField
- func (s *SpaceEnablement) GetSys() SpaceEnablementSys
- func (s *SpaceEnablement) MarshalJSON() ([]byte, error)
- func (s *SpaceEnablement) SetCrossSpaceLinks(val OptSpaceEnablementField)
- func (s *SpaceEnablement) SetSpaceTemplates(val OptSpaceEnablementField)
- func (s *SpaceEnablement) SetStudioExperiences(val OptSpaceEnablementField)
- func (s *SpaceEnablement) SetSuggestConcepts(val OptSpaceEnablementField)
- func (s *SpaceEnablement) SetSys(val SpaceEnablementSys)
- func (s *SpaceEnablement) UnmarshalJSON(data []byte) error
- func (s *SpaceEnablement) Validate() error
- type SpaceEnablementData
- func (s *SpaceEnablementData) Decode(d *jx.Decoder) error
- func (s *SpaceEnablementData) Encode(e *jx.Encoder)
- func (s *SpaceEnablementData) GetCrossSpaceLinks() OptSpaceEnablementField
- func (s *SpaceEnablementData) GetSpaceTemplates() OptSpaceEnablementField
- func (s *SpaceEnablementData) GetStudioExperiences() OptSpaceEnablementField
- func (s *SpaceEnablementData) GetSuggestConcepts() OptSpaceEnablementField
- func (s *SpaceEnablementData) MarshalJSON() ([]byte, error)
- func (s *SpaceEnablementData) SetCrossSpaceLinks(val OptSpaceEnablementField)
- func (s *SpaceEnablementData) SetSpaceTemplates(val OptSpaceEnablementField)
- func (s *SpaceEnablementData) SetStudioExperiences(val OptSpaceEnablementField)
- func (s *SpaceEnablementData) SetSuggestConcepts(val OptSpaceEnablementField)
- func (s *SpaceEnablementData) UnmarshalJSON(data []byte) error
- type SpaceEnablementField
- func (s *SpaceEnablementField) Decode(d *jx.Decoder) error
- func (s *SpaceEnablementField) Encode(e *jx.Encoder)
- func (s *SpaceEnablementField) GetEnabled() bool
- func (s *SpaceEnablementField) MarshalJSON() ([]byte, error)
- func (s *SpaceEnablementField) SetEnabled(val bool)
- func (s *SpaceEnablementField) UnmarshalJSON(data []byte) error
- type SpaceEnablementStatusCode
- func (s *SpaceEnablementStatusCode) GetResponse() SpaceEnablement
- func (s *SpaceEnablementStatusCode) GetStatusCode() int
- func (s *SpaceEnablementStatusCode) SetResponse(val SpaceEnablement)
- func (s *SpaceEnablementStatusCode) SetStatusCode(val int)
- func (s *SpaceEnablementStatusCode) Validate() error
- type SpaceEnablementSys
- func (s *SpaceEnablementSys) Decode(d *jx.Decoder) error
- func (s *SpaceEnablementSys) Encode(e *jx.Encoder)
- func (s *SpaceEnablementSys) GetSpace() SpaceLink
- func (s *SpaceEnablementSys) GetType() SpaceEnablementSysType
- func (s *SpaceEnablementSys) GetVersion() int
- func (s *SpaceEnablementSys) MarshalJSON() ([]byte, error)
- func (s *SpaceEnablementSys) SetSpace(val SpaceLink)
- func (s *SpaceEnablementSys) SetType(val SpaceEnablementSysType)
- func (s *SpaceEnablementSys) SetVersion(val int)
- func (s *SpaceEnablementSys) UnmarshalJSON(data []byte) error
- func (s *SpaceEnablementSys) Validate() error
- type SpaceEnablementSysType
- func (SpaceEnablementSysType) AllValues() []SpaceEnablementSysType
- func (s *SpaceEnablementSysType) Decode(d *jx.Decoder) error
- func (s SpaceEnablementSysType) Encode(e *jx.Encoder)
- func (s SpaceEnablementSysType) MarshalJSON() ([]byte, error)
- func (s SpaceEnablementSysType) MarshalText() ([]byte, error)
- func (s *SpaceEnablementSysType) UnmarshalJSON(data []byte) error
- func (s *SpaceEnablementSysType) UnmarshalText(data []byte) error
- func (s SpaceEnablementSysType) Validate() error
- type SpaceEnvironmentMap
- func (sm *SpaceEnvironmentMap[Value]) Delete(spaceID string, environmentID string, key string)
- func (sm *SpaceEnvironmentMap[Value]) Get(spaceID string, environmentID string, key string) Value
- func (sm *SpaceEnvironmentMap[Value]) List(spaceID string, environmentID string) []Value
- func (sm *SpaceEnvironmentMap[Value]) Set(spaceID string, environmentID string, key string, value Value)
- type SpaceLink
- func (s *SpaceLink) Decode(d *jx.Decoder) error
- func (s *SpaceLink) Encode(e *jx.Encoder)
- func (s *SpaceLink) GetSys() SpaceLinkSys
- func (s *SpaceLink) MarshalJSON() ([]byte, error)
- func (s *SpaceLink) SetSys(val SpaceLinkSys)
- func (s *SpaceLink) UnmarshalJSON(data []byte) error
- func (s *SpaceLink) Validate() error
- type SpaceLinkSys
- func (s *SpaceLinkSys) Decode(d *jx.Decoder) error
- func (s *SpaceLinkSys) Encode(e *jx.Encoder)
- func (s *SpaceLinkSys) GetID() string
- func (s *SpaceLinkSys) GetLinkType() SpaceLinkSysLinkType
- func (s *SpaceLinkSys) GetType() SpaceLinkSysType
- func (s *SpaceLinkSys) MarshalJSON() ([]byte, error)
- func (s *SpaceLinkSys) SetID(val string)
- func (s *SpaceLinkSys) SetLinkType(val SpaceLinkSysLinkType)
- func (s *SpaceLinkSys) SetType(val SpaceLinkSysType)
- func (s *SpaceLinkSys) UnmarshalJSON(data []byte) error
- func (s *SpaceLinkSys) Validate() error
- type SpaceLinkSysLinkType
- func (SpaceLinkSysLinkType) AllValues() []SpaceLinkSysLinkType
- func (s *SpaceLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s SpaceLinkSysLinkType) Encode(e *jx.Encoder)
- func (s SpaceLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s SpaceLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *SpaceLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *SpaceLinkSysLinkType) UnmarshalText(data []byte) error
- func (s SpaceLinkSysLinkType) Validate() error
- type SpaceLinkSysType
- func (SpaceLinkSysType) AllValues() []SpaceLinkSysType
- func (s *SpaceLinkSysType) Decode(d *jx.Decoder) error
- func (s SpaceLinkSysType) Encode(e *jx.Encoder)
- func (s SpaceLinkSysType) MarshalJSON() ([]byte, error)
- func (s SpaceLinkSysType) MarshalText() ([]byte, error)
- func (s *SpaceLinkSysType) UnmarshalJSON(data []byte) error
- func (s *SpaceLinkSysType) UnmarshalText(data []byte) error
- func (s SpaceLinkSysType) Validate() error
- type SpaceMap
- type StatusCodeResponse
- type StatusLink
- func (s *StatusLink) Decode(d *jx.Decoder) error
- func (s *StatusLink) Encode(e *jx.Encoder)
- func (s *StatusLink) GetSys() StatusLinkSys
- func (s *StatusLink) MarshalJSON() ([]byte, error)
- func (s *StatusLink) SetSys(val StatusLinkSys)
- func (s *StatusLink) UnmarshalJSON(data []byte) error
- func (s *StatusLink) Validate() error
- type StatusLinkSys
- func (s *StatusLinkSys) Decode(d *jx.Decoder) error
- func (s *StatusLinkSys) Encode(e *jx.Encoder)
- func (s *StatusLinkSys) GetID() string
- func (s *StatusLinkSys) GetLinkType() StatusLinkSysLinkType
- func (s *StatusLinkSys) GetType() StatusLinkSysType
- func (s *StatusLinkSys) MarshalJSON() ([]byte, error)
- func (s *StatusLinkSys) SetID(val string)
- func (s *StatusLinkSys) SetLinkType(val StatusLinkSysLinkType)
- func (s *StatusLinkSys) SetType(val StatusLinkSysType)
- func (s *StatusLinkSys) UnmarshalJSON(data []byte) error
- func (s *StatusLinkSys) Validate() error
- type StatusLinkSysLinkType
- func (StatusLinkSysLinkType) AllValues() []StatusLinkSysLinkType
- func (s *StatusLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s StatusLinkSysLinkType) Encode(e *jx.Encoder)
- func (s StatusLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s StatusLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *StatusLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *StatusLinkSysLinkType) UnmarshalText(data []byte) error
- func (s StatusLinkSysLinkType) Validate() error
- type StatusLinkSysType
- func (StatusLinkSysType) AllValues() []StatusLinkSysType
- func (s *StatusLinkSysType) Decode(d *jx.Decoder) error
- func (s StatusLinkSysType) Encode(e *jx.Encoder)
- func (s StatusLinkSysType) MarshalJSON() ([]byte, error)
- func (s StatusLinkSysType) MarshalText() ([]byte, error)
- func (s *StatusLinkSysType) UnmarshalJSON(data []byte) error
- func (s *StatusLinkSysType) UnmarshalText(data []byte) error
- func (s StatusLinkSysType) Validate() error
- type Tag
- func (s *Tag) Decode(d *jx.Decoder) error
- func (s *Tag) Encode(e *jx.Encoder)
- func (s *Tag) GetName() string
- func (s *Tag) GetSys() TagSys
- func (s *Tag) MarshalJSON() ([]byte, error)
- func (s *Tag) SetName(val string)
- func (s *Tag) SetSys(val TagSys)
- func (s *Tag) UnmarshalJSON(data []byte) error
- func (s *Tag) Validate() error
- type TagLink
- type TagLinkSys
- func (s *TagLinkSys) Decode(d *jx.Decoder) error
- func (s *TagLinkSys) Encode(e *jx.Encoder)
- func (s *TagLinkSys) GetID() string
- func (s *TagLinkSys) GetLinkType() TagLinkSysLinkType
- func (s *TagLinkSys) GetType() TagLinkSysType
- func (s *TagLinkSys) MarshalJSON() ([]byte, error)
- func (s *TagLinkSys) SetID(val string)
- func (s *TagLinkSys) SetLinkType(val TagLinkSysLinkType)
- func (s *TagLinkSys) SetType(val TagLinkSysType)
- func (s *TagLinkSys) UnmarshalJSON(data []byte) error
- func (s *TagLinkSys) Validate() error
- type TagLinkSysLinkType
- func (TagLinkSysLinkType) AllValues() []TagLinkSysLinkType
- func (s *TagLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s TagLinkSysLinkType) Encode(e *jx.Encoder)
- func (s TagLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s TagLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *TagLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *TagLinkSysLinkType) UnmarshalText(data []byte) error
- func (s TagLinkSysLinkType) Validate() error
- type TagLinkSysType
- func (TagLinkSysType) AllValues() []TagLinkSysType
- func (s *TagLinkSysType) Decode(d *jx.Decoder) error
- func (s TagLinkSysType) Encode(e *jx.Encoder)
- func (s TagLinkSysType) MarshalJSON() ([]byte, error)
- func (s TagLinkSysType) MarshalText() ([]byte, error)
- func (s *TagLinkSysType) UnmarshalJSON(data []byte) error
- func (s *TagLinkSysType) UnmarshalText(data []byte) error
- func (s TagLinkSysType) Validate() error
- type TagRequest
- func (s *TagRequest) Decode(d *jx.Decoder) error
- func (s *TagRequest) Encode(e *jx.Encoder)
- func (s *TagRequest) GetName() string
- func (s *TagRequest) GetSys() TagRequestSys
- func (s *TagRequest) MarshalJSON() ([]byte, error)
- func (s *TagRequest) SetName(val string)
- func (s *TagRequest) SetSys(val TagRequestSys)
- func (s *TagRequest) UnmarshalJSON(data []byte) error
- func (s *TagRequest) Validate() error
- type TagRequestSys
- func (s *TagRequestSys) Decode(d *jx.Decoder) error
- func (s *TagRequestSys) Encode(e *jx.Encoder)
- func (s *TagRequestSys) GetID() OptString
- func (s *TagRequestSys) GetType() TagRequestSysType
- func (s *TagRequestSys) GetVisibility() OptString
- func (s *TagRequestSys) MarshalJSON() ([]byte, error)
- func (s *TagRequestSys) SetID(val OptString)
- func (s *TagRequestSys) SetType(val TagRequestSysType)
- func (s *TagRequestSys) SetVisibility(val OptString)
- func (s *TagRequestSys) UnmarshalJSON(data []byte) error
- func (s *TagRequestSys) Validate() error
- type TagRequestSysType
- func (TagRequestSysType) AllValues() []TagRequestSysType
- func (s *TagRequestSysType) Decode(d *jx.Decoder) error
- func (s TagRequestSysType) Encode(e *jx.Encoder)
- func (s TagRequestSysType) MarshalJSON() ([]byte, error)
- func (s TagRequestSysType) MarshalText() ([]byte, error)
- func (s *TagRequestSysType) UnmarshalJSON(data []byte) error
- func (s *TagRequestSysType) UnmarshalText(data []byte) error
- func (s TagRequestSysType) Validate() error
- type TagStatusCode
- type TagSys
- func (s *TagSys) Decode(d *jx.Decoder) error
- func (s *TagSys) Encode(e *jx.Encoder)
- func (s *TagSys) GetEnvironment() EnvironmentLink
- func (s *TagSys) GetID() string
- func (s *TagSys) GetSpace() SpaceLink
- func (s *TagSys) GetType() TagSysType
- func (s *TagSys) GetVersion() int
- func (s *TagSys) GetVisibility() string
- func (s *TagSys) MarshalJSON() ([]byte, error)
- func (s *TagSys) SetEnvironment(val EnvironmentLink)
- func (s *TagSys) SetID(val string)
- func (s *TagSys) SetSpace(val SpaceLink)
- func (s *TagSys) SetType(val TagSysType)
- func (s *TagSys) SetVersion(val int)
- func (s *TagSys) SetVisibility(val string)
- func (s *TagSys) UnmarshalJSON(data []byte) error
- func (s *TagSys) Validate() error
- type TagSysType
- func (TagSysType) AllValues() []TagSysType
- func (s *TagSysType) Decode(d *jx.Decoder) error
- func (s TagSysType) Encode(e *jx.Encoder)
- func (s TagSysType) MarshalJSON() ([]byte, error)
- func (s TagSysType) MarshalText() ([]byte, error)
- func (s *TagSysType) UnmarshalJSON(data []byte) error
- func (s *TagSysType) UnmarshalText(data []byte) error
- func (s TagSysType) Validate() error
- type TaxonomyConceptLink
- func (s *TaxonomyConceptLink) Decode(d *jx.Decoder) error
- func (s *TaxonomyConceptLink) Encode(e *jx.Encoder)
- func (s *TaxonomyConceptLink) GetSys() TaxonomyConceptLinkSys
- func (s *TaxonomyConceptLink) MarshalJSON() ([]byte, error)
- func (s *TaxonomyConceptLink) SetSys(val TaxonomyConceptLinkSys)
- func (s *TaxonomyConceptLink) UnmarshalJSON(data []byte) error
- func (s *TaxonomyConceptLink) Validate() error
- type TaxonomyConceptLinkSys
- func (s *TaxonomyConceptLinkSys) Decode(d *jx.Decoder) error
- func (s *TaxonomyConceptLinkSys) Encode(e *jx.Encoder)
- func (s *TaxonomyConceptLinkSys) GetID() string
- func (s *TaxonomyConceptLinkSys) GetLinkType() TaxonomyConceptLinkSysLinkType
- func (s *TaxonomyConceptLinkSys) GetType() TaxonomyConceptLinkSysType
- func (s *TaxonomyConceptLinkSys) MarshalJSON() ([]byte, error)
- func (s *TaxonomyConceptLinkSys) SetID(val string)
- func (s *TaxonomyConceptLinkSys) SetLinkType(val TaxonomyConceptLinkSysLinkType)
- func (s *TaxonomyConceptLinkSys) SetType(val TaxonomyConceptLinkSysType)
- func (s *TaxonomyConceptLinkSys) UnmarshalJSON(data []byte) error
- func (s *TaxonomyConceptLinkSys) Validate() error
- type TaxonomyConceptLinkSysLinkType
- func (TaxonomyConceptLinkSysLinkType) AllValues() []TaxonomyConceptLinkSysLinkType
- func (s *TaxonomyConceptLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s TaxonomyConceptLinkSysLinkType) Encode(e *jx.Encoder)
- func (s TaxonomyConceptLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s TaxonomyConceptLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *TaxonomyConceptLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *TaxonomyConceptLinkSysLinkType) UnmarshalText(data []byte) error
- func (s TaxonomyConceptLinkSysLinkType) Validate() error
- type TaxonomyConceptLinkSysType
- func (TaxonomyConceptLinkSysType) AllValues() []TaxonomyConceptLinkSysType
- func (s *TaxonomyConceptLinkSysType) Decode(d *jx.Decoder) error
- func (s TaxonomyConceptLinkSysType) Encode(e *jx.Encoder)
- func (s TaxonomyConceptLinkSysType) MarshalJSON() ([]byte, error)
- func (s TaxonomyConceptLinkSysType) MarshalText() ([]byte, error)
- func (s *TaxonomyConceptLinkSysType) UnmarshalJSON(data []byte) error
- func (s *TaxonomyConceptLinkSysType) UnmarshalText(data []byte) error
- func (s TaxonomyConceptLinkSysType) Validate() error
- type Team
- func (s *Team) Decode(d *jx.Decoder) error
- func (s *Team) Encode(e *jx.Encoder)
- func (s *Team) GetDescription() NilString
- func (s *Team) GetName() string
- func (s *Team) GetSys() TeamSys
- func (s *Team) MarshalJSON() ([]byte, error)
- func (s *Team) SetDescription(val NilString)
- func (s *Team) SetName(val string)
- func (s *Team) SetSys(val TeamSys)
- func (s *Team) UnmarshalJSON(data []byte) error
- func (s *Team) Validate() error
- type TeamData
- func (s *TeamData) Decode(d *jx.Decoder) error
- func (s *TeamData) Encode(e *jx.Encoder)
- func (s *TeamData) GetDescription() NilString
- func (s *TeamData) GetName() string
- func (s *TeamData) MarshalJSON() ([]byte, error)
- func (s *TeamData) SetDescription(val NilString)
- func (s *TeamData) SetName(val string)
- func (s *TeamData) UnmarshalJSON(data []byte) error
- type TeamLink
- func (s *TeamLink) Decode(d *jx.Decoder) error
- func (s *TeamLink) Encode(e *jx.Encoder)
- func (s *TeamLink) GetSys() TeamLinkSys
- func (s *TeamLink) MarshalJSON() ([]byte, error)
- func (s *TeamLink) SetSys(val TeamLinkSys)
- func (s *TeamLink) UnmarshalJSON(data []byte) error
- func (s *TeamLink) Validate() error
- type TeamLinkSys
- func (s *TeamLinkSys) Decode(d *jx.Decoder) error
- func (s *TeamLinkSys) Encode(e *jx.Encoder)
- func (s *TeamLinkSys) GetID() string
- func (s *TeamLinkSys) GetLinkType() TeamLinkSysLinkType
- func (s *TeamLinkSys) GetType() TeamLinkSysType
- func (s *TeamLinkSys) MarshalJSON() ([]byte, error)
- func (s *TeamLinkSys) SetID(val string)
- func (s *TeamLinkSys) SetLinkType(val TeamLinkSysLinkType)
- func (s *TeamLinkSys) SetType(val TeamLinkSysType)
- func (s *TeamLinkSys) UnmarshalJSON(data []byte) error
- func (s *TeamLinkSys) Validate() error
- type TeamLinkSysLinkType
- func (TeamLinkSysLinkType) AllValues() []TeamLinkSysLinkType
- func (s *TeamLinkSysLinkType) Decode(d *jx.Decoder) error
- func (s TeamLinkSysLinkType) Encode(e *jx.Encoder)
- func (s TeamLinkSysLinkType) MarshalJSON() ([]byte, error)
- func (s TeamLinkSysLinkType) MarshalText() ([]byte, error)
- func (s *TeamLinkSysLinkType) UnmarshalJSON(data []byte) error
- func (s *TeamLinkSysLinkType) UnmarshalText(data []byte) error
- func (s TeamLinkSysLinkType) Validate() error
- type TeamLinkSysType
- func (TeamLinkSysType) AllValues() []TeamLinkSysType
- func (s *TeamLinkSysType) Decode(d *jx.Decoder) error
- func (s TeamLinkSysType) Encode(e *jx.Encoder)
- func (s TeamLinkSysType) MarshalJSON() ([]byte, error)
- func (s TeamLinkSysType) MarshalText() ([]byte, error)
- func (s *TeamLinkSysType) UnmarshalJSON(data []byte) error
- func (s *TeamLinkSysType) UnmarshalText(data []byte) error
- func (s TeamLinkSysType) Validate() error
- type TeamSpaceMembership
- func (s *TeamSpaceMembership) Decode(d *jx.Decoder) error
- func (s *TeamSpaceMembership) Encode(e *jx.Encoder)
- func (s *TeamSpaceMembership) GetAdmin() bool
- func (s *TeamSpaceMembership) GetRoles() []RoleLink
- func (s *TeamSpaceMembership) GetSys() TeamSpaceMembershipSys
- func (s *TeamSpaceMembership) MarshalJSON() ([]byte, error)
- func (s *TeamSpaceMembership) SetAdmin(val bool)
- func (s *TeamSpaceMembership) SetRoles(val []RoleLink)
- func (s *TeamSpaceMembership) SetSys(val TeamSpaceMembershipSys)
- func (s *TeamSpaceMembership) UnmarshalJSON(data []byte) error
- func (s *TeamSpaceMembership) Validate() error
- type TeamSpaceMembershipData
- func (s *TeamSpaceMembershipData) Decode(d *jx.Decoder) error
- func (s *TeamSpaceMembershipData) Encode(e *jx.Encoder)
- func (s *TeamSpaceMembershipData) GetAdmin() bool
- func (s *TeamSpaceMembershipData) GetRoles() []RoleLink
- func (s *TeamSpaceMembershipData) MarshalJSON() ([]byte, error)
- func (s *TeamSpaceMembershipData) SetAdmin(val bool)
- func (s *TeamSpaceMembershipData) SetRoles(val []RoleLink)
- func (s *TeamSpaceMembershipData) UnmarshalJSON(data []byte) error
- func (s *TeamSpaceMembershipData) Validate() error
- type TeamSpaceMembershipStatusCode
- func (s *TeamSpaceMembershipStatusCode) GetResponse() TeamSpaceMembership
- func (s *TeamSpaceMembershipStatusCode) GetStatusCode() int
- func (s *TeamSpaceMembershipStatusCode) SetResponse(val TeamSpaceMembership)
- func (s *TeamSpaceMembershipStatusCode) SetStatusCode(val int)
- func (s *TeamSpaceMembershipStatusCode) Validate() error
- type TeamSpaceMembershipSys
- func (s *TeamSpaceMembershipSys) Decode(d *jx.Decoder) error
- func (s *TeamSpaceMembershipSys) Encode(e *jx.Encoder)
- func (s *TeamSpaceMembershipSys) GetID() string
- func (s *TeamSpaceMembershipSys) GetSpace() SpaceLink
- func (s *TeamSpaceMembershipSys) GetTeam() TeamLink
- func (s *TeamSpaceMembershipSys) GetType() TeamSpaceMembershipSysType
- func (s *TeamSpaceMembershipSys) MarshalJSON() ([]byte, error)
- func (s *TeamSpaceMembershipSys) SetID(val string)
- func (s *TeamSpaceMembershipSys) SetSpace(val SpaceLink)
- func (s *TeamSpaceMembershipSys) SetTeam(val TeamLink)
- func (s *TeamSpaceMembershipSys) SetType(val TeamSpaceMembershipSysType)
- func (s *TeamSpaceMembershipSys) UnmarshalJSON(data []byte) error
- func (s *TeamSpaceMembershipSys) Validate() error
- type TeamSpaceMembershipSysType
- func (TeamSpaceMembershipSysType) AllValues() []TeamSpaceMembershipSysType
- func (s *TeamSpaceMembershipSysType) Decode(d *jx.Decoder) error
- func (s TeamSpaceMembershipSysType) Encode(e *jx.Encoder)
- func (s TeamSpaceMembershipSysType) MarshalJSON() ([]byte, error)
- func (s TeamSpaceMembershipSysType) MarshalText() ([]byte, error)
- func (s *TeamSpaceMembershipSysType) UnmarshalJSON(data []byte) error
- func (s *TeamSpaceMembershipSysType) UnmarshalText(data []byte) error
- func (s TeamSpaceMembershipSysType) Validate() error
- type TeamStatusCode
- type TeamSys
- func (s *TeamSys) Decode(d *jx.Decoder) error
- func (s *TeamSys) Encode(e *jx.Encoder)
- func (s *TeamSys) GetID() string
- func (s *TeamSys) GetOrganization() OrganizationLink
- func (s *TeamSys) GetType() TeamSysType
- func (s *TeamSys) GetVersion() int
- func (s *TeamSys) MarshalJSON() ([]byte, error)
- func (s *TeamSys) SetID(val string)
- func (s *TeamSys) SetOrganization(val OrganizationLink)
- func (s *TeamSys) SetType(val TeamSysType)
- func (s *TeamSys) SetVersion(val int)
- func (s *TeamSys) UnmarshalJSON(data []byte) error
- func (s *TeamSys) Validate() error
- type TeamSysType
- func (TeamSysType) AllValues() []TeamSysType
- func (s *TeamSysType) Decode(d *jx.Decoder) error
- func (s TeamSysType) Encode(e *jx.Encoder)
- func (s TeamSysType) MarshalJSON() ([]byte, error)
- func (s TeamSysType) MarshalText() ([]byte, error)
- func (s *TeamSysType) UnmarshalJSON(data []byte) error
- func (s *TeamSysType) UnmarshalText(data []byte) error
- func (s TeamSysType) Validate() error
- type UnpublishEntryParams
- type UnpublishEntryRes
- type UpdateDeliveryAPIKeyParams
- type UpdateDeliveryAPIKeyRes
- type UpdateRoleParams
- type UpdateRoleRes
- type UpdateWebhookDefinitionParams
- type UpdateWebhookDefinitionRes
- type User
- func (s *User) Decode(d *jx.Decoder) error
- func (s *User) Encode(e *jx.Encoder)
- func (s *User) GetEmail() string
- func (s *User) GetFirstName() string
- func (s *User) GetLastName() string
- func (s *User) GetSys() UserSys
- func (s *User) MarshalJSON() ([]byte, error)
- func (s *User) SetEmail(val string)
- func (s *User) SetFirstName(val string)
- func (s *User) SetLastName(val string)
- func (s *User) SetSys(val UserSys)
- func (s *User) UnmarshalJSON(data []byte) error
- func (s *User) Validate() error
- type UserSys
- func (s *UserSys) Decode(d *jx.Decoder) error
- func (s *UserSys) Encode(e *jx.Encoder)
- func (s *UserSys) GetID() string
- func (s *UserSys) GetType() UserSysType
- func (s *UserSys) GetVersion() int
- func (s *UserSys) MarshalJSON() ([]byte, error)
- func (s *UserSys) SetID(val string)
- func (s *UserSys) SetType(val UserSysType)
- func (s *UserSys) SetVersion(val int)
- func (s *UserSys) UnmarshalJSON(data []byte) error
- func (s *UserSys) Validate() error
- type UserSysType
- func (UserSysType) AllValues() []UserSysType
- func (s *UserSysType) Decode(d *jx.Decoder) error
- func (s UserSysType) Encode(e *jx.Encoder)
- func (s UserSysType) MarshalJSON() ([]byte, error)
- func (s UserSysType) MarshalText() ([]byte, error)
- func (s *UserSysType) UnmarshalJSON(data []byte) error
- func (s *UserSysType) UnmarshalText(data []byte) error
- func (s UserSysType) Validate() error
- type WebhookDefinition
- func (s *WebhookDefinition) Decode(d *jx.Decoder) error
- func (s *WebhookDefinition) Encode(e *jx.Encoder)
- func (s *WebhookDefinition) GetActive() OptBool
- func (s *WebhookDefinition) GetFilters() OptNilWebhookDefinitionFilterArray
- func (s *WebhookDefinition) GetHeaders() WebhookDefinitionHeaders
- func (s *WebhookDefinition) GetHttpBasicPassword() OptNilString
- func (s *WebhookDefinition) GetHttpBasicUsername() OptNilString
- func (s *WebhookDefinition) GetName() string
- func (s *WebhookDefinition) GetSys() WebhookDefinitionSys
- func (s *WebhookDefinition) GetTopics() []string
- func (s *WebhookDefinition) GetTransformation() OptNilWebhookDefinitionTransformation
- func (s *WebhookDefinition) GetURL() string
- func (s *WebhookDefinition) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinition) SetActive(val OptBool)
- func (s *WebhookDefinition) SetFilters(val OptNilWebhookDefinitionFilterArray)
- func (s *WebhookDefinition) SetHeaders(val WebhookDefinitionHeaders)
- func (s *WebhookDefinition) SetHttpBasicPassword(val OptNilString)
- func (s *WebhookDefinition) SetHttpBasicUsername(val OptNilString)
- func (s *WebhookDefinition) SetName(val string)
- func (s *WebhookDefinition) SetSys(val WebhookDefinitionSys)
- func (s *WebhookDefinition) SetTopics(val []string)
- func (s *WebhookDefinition) SetTransformation(val OptNilWebhookDefinitionTransformation)
- func (s *WebhookDefinition) SetURL(val string)
- func (s *WebhookDefinition) UnmarshalJSON(data []byte) error
- func (s *WebhookDefinition) Validate() error
- type WebhookDefinitionData
- func (s *WebhookDefinitionData) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionData) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionData) GetActive() OptBool
- func (s *WebhookDefinitionData) GetFilters() OptNilWebhookDefinitionFilterArray
- func (s *WebhookDefinitionData) GetHeaders() WebhookDefinitionHeaders
- func (s *WebhookDefinitionData) GetHttpBasicPassword() OptNilString
- func (s *WebhookDefinitionData) GetHttpBasicUsername() OptNilString
- func (s *WebhookDefinitionData) GetName() string
- func (s *WebhookDefinitionData) GetTopics() []string
- func (s *WebhookDefinitionData) GetTransformation() OptNilWebhookDefinitionDataTransformation
- func (s *WebhookDefinitionData) GetURL() string
- func (s *WebhookDefinitionData) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionData) SetActive(val OptBool)
- func (s *WebhookDefinitionData) SetFilters(val OptNilWebhookDefinitionFilterArray)
- func (s *WebhookDefinitionData) SetHeaders(val WebhookDefinitionHeaders)
- func (s *WebhookDefinitionData) SetHttpBasicPassword(val OptNilString)
- func (s *WebhookDefinitionData) SetHttpBasicUsername(val OptNilString)
- func (s *WebhookDefinitionData) SetName(val string)
- func (s *WebhookDefinitionData) SetTopics(val []string)
- func (s *WebhookDefinitionData) SetTransformation(val OptNilWebhookDefinitionDataTransformation)
- func (s *WebhookDefinitionData) SetURL(val string)
- func (s *WebhookDefinitionData) UnmarshalJSON(data []byte) error
- func (s *WebhookDefinitionData) Validate() error
- type WebhookDefinitionDataTransformation
- func (s *WebhookDefinitionDataTransformation) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionDataTransformation) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionDataTransformation) GetBody() jx.Raw
- func (s *WebhookDefinitionDataTransformation) GetContentType() OptString
- func (s *WebhookDefinitionDataTransformation) GetIncludeContentLength() OptBool
- func (s *WebhookDefinitionDataTransformation) GetMethod() OptString
- func (s *WebhookDefinitionDataTransformation) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionDataTransformation) SetBody(val jx.Raw)
- func (s *WebhookDefinitionDataTransformation) SetContentType(val OptString)
- func (s *WebhookDefinitionDataTransformation) SetIncludeContentLength(val OptBool)
- func (s *WebhookDefinitionDataTransformation) SetMethod(val OptString)
- func (s *WebhookDefinitionDataTransformation) UnmarshalJSON(data []byte) error
- type WebhookDefinitionFilter
- func (s *WebhookDefinitionFilter) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionFilter) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionFilter) GetEquals() WebhookDefinitionFilterEquals
- func (s *WebhookDefinitionFilter) GetIn() WebhookDefinitionFilterIn
- func (s *WebhookDefinitionFilter) GetNot() OptWebhookDefinitionFilterNot
- func (s *WebhookDefinitionFilter) GetRegexp() WebhookDefinitionFilterRegexp
- func (s *WebhookDefinitionFilter) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionFilter) SetEquals(val WebhookDefinitionFilterEquals)
- func (s *WebhookDefinitionFilter) SetIn(val WebhookDefinitionFilterIn)
- func (s *WebhookDefinitionFilter) SetNot(val OptWebhookDefinitionFilterNot)
- func (s *WebhookDefinitionFilter) SetRegexp(val WebhookDefinitionFilterRegexp)
- func (s *WebhookDefinitionFilter) UnmarshalJSON(data []byte) error
- type WebhookDefinitionFilterEquals
- type WebhookDefinitionFilterIn
- type WebhookDefinitionFilterNot
- func (s *WebhookDefinitionFilterNot) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionFilterNot) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionFilterNot) GetEquals() WebhookDefinitionFilterEquals
- func (s *WebhookDefinitionFilterNot) GetIn() WebhookDefinitionFilterIn
- func (s *WebhookDefinitionFilterNot) GetRegexp() WebhookDefinitionFilterRegexp
- func (s *WebhookDefinitionFilterNot) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionFilterNot) SetEquals(val WebhookDefinitionFilterEquals)
- func (s *WebhookDefinitionFilterNot) SetIn(val WebhookDefinitionFilterIn)
- func (s *WebhookDefinitionFilterNot) SetRegexp(val WebhookDefinitionFilterRegexp)
- func (s *WebhookDefinitionFilterNot) UnmarshalJSON(data []byte) error
- type WebhookDefinitionFilterRegexp
- type WebhookDefinitionHeader
- func (s *WebhookDefinitionHeader) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionHeader) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionHeader) GetKey() string
- func (s *WebhookDefinitionHeader) GetSecret() OptBool
- func (s *WebhookDefinitionHeader) GetValue() OptString
- func (s *WebhookDefinitionHeader) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionHeader) SetKey(val string)
- func (s *WebhookDefinitionHeader) SetSecret(val OptBool)
- func (s *WebhookDefinitionHeader) SetValue(val OptString)
- func (s *WebhookDefinitionHeader) UnmarshalJSON(data []byte) error
- type WebhookDefinitionHeaders
- type WebhookDefinitionStatusCode
- func (s *WebhookDefinitionStatusCode) GetResponse() WebhookDefinition
- func (s *WebhookDefinitionStatusCode) GetStatusCode() int
- func (s *WebhookDefinitionStatusCode) SetResponse(val WebhookDefinition)
- func (s *WebhookDefinitionStatusCode) SetStatusCode(val int)
- func (s *WebhookDefinitionStatusCode) Validate() error
- type WebhookDefinitionSys
- func (s *WebhookDefinitionSys) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionSys) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionSys) GetID() string
- func (s *WebhookDefinitionSys) GetSpace() SpaceLink
- func (s *WebhookDefinitionSys) GetType() WebhookDefinitionSysType
- func (s *WebhookDefinitionSys) GetVersion() int
- func (s *WebhookDefinitionSys) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionSys) SetID(val string)
- func (s *WebhookDefinitionSys) SetSpace(val SpaceLink)
- func (s *WebhookDefinitionSys) SetType(val WebhookDefinitionSysType)
- func (s *WebhookDefinitionSys) SetVersion(val int)
- func (s *WebhookDefinitionSys) UnmarshalJSON(data []byte) error
- func (s *WebhookDefinitionSys) Validate() error
- type WebhookDefinitionSysType
- func (WebhookDefinitionSysType) AllValues() []WebhookDefinitionSysType
- func (s *WebhookDefinitionSysType) Decode(d *jx.Decoder) error
- func (s WebhookDefinitionSysType) Encode(e *jx.Encoder)
- func (s WebhookDefinitionSysType) MarshalJSON() ([]byte, error)
- func (s WebhookDefinitionSysType) MarshalText() ([]byte, error)
- func (s *WebhookDefinitionSysType) UnmarshalJSON(data []byte) error
- func (s *WebhookDefinitionSysType) UnmarshalText(data []byte) error
- func (s WebhookDefinitionSysType) Validate() error
- type WebhookDefinitionTransformation
- func (s *WebhookDefinitionTransformation) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionTransformation) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionTransformation) GetBody() jx.Raw
- func (s *WebhookDefinitionTransformation) GetContentType() OptString
- func (s *WebhookDefinitionTransformation) GetIncludeContentLength() OptBool
- func (s *WebhookDefinitionTransformation) GetMethod() OptString
- func (s *WebhookDefinitionTransformation) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionTransformation) SetBody(val jx.Raw)
- func (s *WebhookDefinitionTransformation) SetContentType(val OptString)
- func (s *WebhookDefinitionTransformation) SetIncludeContentLength(val OptBool)
- func (s *WebhookDefinitionTransformation) SetMethod(val OptString)
- func (s *WebhookDefinitionTransformation) UnmarshalJSON(data []byte) error
Constants ¶
const ( // DefaultServerURL is the default URL of the server. DefaultServerURL = "https://api.contentful.com" // DefaultUserAgent is the default user agent. DefaultUserAgent = "contentful-management-go/0.1" )
const ( ErrorSysIDNotFound = "NotFound" ErrorSysIDVersionMismatch = "VersionMismatch" )
Variables ¶
This section is empty.
Functions ¶
func NewClientWithUserAgent ¶ added in v0.0.5
Types ¶
type AccessToken ¶
func (*AccessToken) GetRoles ¶ added in v0.0.24
func (s *AccessToken) GetRoles() []string
GetRoles returns the value of Roles.
func (*AccessToken) GetToken ¶
func (s *AccessToken) GetToken() string
GetToken returns the value of Token.
func (*AccessToken) SetRoles ¶ added in v0.0.24
func (s *AccessToken) SetRoles(val []string)
SetRoles sets the value of Roles.
func (*AccessToken) SetToken ¶
func (s *AccessToken) SetToken(val string)
SetToken sets the value of Token.
type AccessTokenSecuritySource ¶
type AccessTokenSecuritySource struct {
// contains filtered or unexported fields
}
func NewAccessTokenSecuritySource ¶
func NewAccessTokenSecuritySource(accessToken string) AccessTokenSecuritySource
func (AccessTokenSecuritySource) AccessToken ¶
func (c AccessTokenSecuritySource) AccessToken(_ context.Context, _ string, _ *Client) (AccessToken, error)
type ActivateContentTypeParams ¶ added in v0.0.5
type ActivateContentTypeParams struct {
SpaceID string
EnvironmentID string
ContentTypeID string
XContentfulVersion int
}
ActivateContentTypeParams is parameters of activateContentType operation.
type ActivateContentTypeRes ¶ added in v0.0.5
type ActivateContentTypeRes interface {
// contains filtered or unexported methods
}
type ApiKey ¶ added in v0.0.10
type ApiKey struct {
Sys ApiKeySys `json:"sys"`
Name string `json:"name"`
Description OptNilString `json:"description"`
Environments []EnvironmentLink `json:"environments"`
AccessToken string `json:"accessToken"`
PreviewAPIKey OptPreviewAPIKeyLink `json:"preview_api_key"`
}
Merged schema. Ref: #/ApiKey
func (*ApiKey) GetAccessToken ¶ added in v0.0.10
GetAccessToken returns the value of AccessToken.
func (*ApiKey) GetDescription ¶ added in v0.0.10
func (s *ApiKey) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*ApiKey) GetEnvironments ¶ added in v0.0.10
func (s *ApiKey) GetEnvironments() []EnvironmentLink
GetEnvironments returns the value of Environments.
func (*ApiKey) GetPreviewAPIKey ¶ added in v0.0.10
func (s *ApiKey) GetPreviewAPIKey() OptPreviewAPIKeyLink
GetPreviewAPIKey returns the value of PreviewAPIKey.
func (*ApiKey) MarshalJSON ¶ added in v0.0.10
MarshalJSON implements stdjson.Marshaler.
func (*ApiKey) SetAccessToken ¶ added in v0.0.10
SetAccessToken sets the value of AccessToken.
func (*ApiKey) SetDescription ¶ added in v0.0.10
func (s *ApiKey) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*ApiKey) SetEnvironments ¶ added in v0.0.10
func (s *ApiKey) SetEnvironments(val []EnvironmentLink)
SetEnvironments sets the value of Environments.
func (*ApiKey) SetPreviewAPIKey ¶ added in v0.0.10
func (s *ApiKey) SetPreviewAPIKey(val OptPreviewAPIKeyLink)
SetPreviewAPIKey sets the value of PreviewAPIKey.
func (*ApiKey) UnmarshalJSON ¶ added in v0.0.10
UnmarshalJSON implements stdjson.Unmarshaler.
type ApiKeyRequestData ¶ added in v0.0.42
type ApiKeyRequestData struct {
Name string `json:"name"`
Description OptNilString `json:"description"`
Environments []EnvironmentLink `json:"environments"`
}
Ref: #/ApiKeyRequestData
func (*ApiKeyRequestData) Decode ¶ added in v0.0.42
func (s *ApiKeyRequestData) Decode(d *jx.Decoder) error
Decode decodes ApiKeyRequestData from json.
func (*ApiKeyRequestData) Encode ¶ added in v0.0.42
func (s *ApiKeyRequestData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ApiKeyRequestData) GetDescription ¶ added in v0.0.42
func (s *ApiKeyRequestData) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*ApiKeyRequestData) GetEnvironments ¶ added in v0.0.42
func (s *ApiKeyRequestData) GetEnvironments() []EnvironmentLink
GetEnvironments returns the value of Environments.
func (*ApiKeyRequestData) GetName ¶ added in v0.0.42
func (s *ApiKeyRequestData) GetName() string
GetName returns the value of Name.
func (*ApiKeyRequestData) MarshalJSON ¶ added in v0.0.42
func (s *ApiKeyRequestData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApiKeyRequestData) SetDescription ¶ added in v0.0.42
func (s *ApiKeyRequestData) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*ApiKeyRequestData) SetEnvironments ¶ added in v0.0.42
func (s *ApiKeyRequestData) SetEnvironments(val []EnvironmentLink)
SetEnvironments sets the value of Environments.
func (*ApiKeyRequestData) SetName ¶ added in v0.0.42
func (s *ApiKeyRequestData) SetName(val string)
SetName sets the value of Name.
func (*ApiKeyRequestData) UnmarshalJSON ¶ added in v0.0.42
func (s *ApiKeyRequestData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApiKeyRequestData) Validate ¶ added in v0.0.42
func (s *ApiKeyRequestData) Validate() error
type ApiKeyStatusCode ¶ added in v0.0.24
ApiKeyStatusCode wraps ApiKey with StatusCode.
func (*ApiKeyStatusCode) GetResponse ¶ added in v0.0.24
func (s *ApiKeyStatusCode) GetResponse() ApiKey
GetResponse returns the value of Response.
func (*ApiKeyStatusCode) GetStatusCode ¶ added in v0.0.24
func (s *ApiKeyStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ApiKeyStatusCode) SetResponse ¶ added in v0.0.24
func (s *ApiKeyStatusCode) SetResponse(val ApiKey)
SetResponse sets the value of Response.
func (*ApiKeyStatusCode) SetStatusCode ¶ added in v0.0.24
func (s *ApiKeyStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*ApiKeyStatusCode) Validate ¶ added in v0.0.24
func (s *ApiKeyStatusCode) Validate() error
type ApiKeySys ¶ added in v0.0.10
type ApiKeySys struct {
Space SpaceLink `json:"space"`
// Merged property.
Type ApiKeySysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
}
Merged schema. Ref: #/ApiKeySys
func NewAPIKeySys ¶ added in v0.0.43
func (*ApiKeySys) GetType ¶ added in v0.0.10
func (s *ApiKeySys) GetType() ApiKeySysType
GetType returns the value of Type.
func (*ApiKeySys) GetVersion ¶ added in v0.0.10
GetVersion returns the value of Version.
func (*ApiKeySys) MarshalJSON ¶ added in v0.0.10
MarshalJSON implements stdjson.Marshaler.
func (*ApiKeySys) SetType ¶ added in v0.0.10
func (s *ApiKeySys) SetType(val ApiKeySysType)
SetType sets the value of Type.
func (*ApiKeySys) SetVersion ¶ added in v0.0.10
SetVersion sets the value of Version.
func (*ApiKeySys) UnmarshalJSON ¶ added in v0.0.10
UnmarshalJSON implements stdjson.Unmarshaler.
type ApiKeySysType ¶ added in v0.0.10
type ApiKeySysType string
Merged schema.
const (
ApiKeySysTypeApiKey ApiKeySysType = "ApiKey"
)
func (ApiKeySysType) AllValues ¶ added in v0.0.10
func (ApiKeySysType) AllValues() []ApiKeySysType
AllValues returns all ApiKeySysType values.
func (*ApiKeySysType) Decode ¶ added in v0.0.10
func (s *ApiKeySysType) Decode(d *jx.Decoder) error
Decode decodes ApiKeySysType from json.
func (ApiKeySysType) Encode ¶ added in v0.0.10
func (s ApiKeySysType) Encode(e *jx.Encoder)
Encode encodes ApiKeySysType as json.
func (ApiKeySysType) MarshalJSON ¶ added in v0.0.10
func (s ApiKeySysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ApiKeySysType) MarshalText ¶ added in v0.0.10
func (s ApiKeySysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ApiKeySysType) UnmarshalJSON ¶ added in v0.0.10
func (s *ApiKeySysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApiKeySysType) UnmarshalText ¶ added in v0.0.10
func (s *ApiKeySysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ApiKeySysType) Validate ¶ added in v0.0.10
func (s ApiKeySysType) Validate() error
type AppBundleLink ¶ added in v0.0.27
type AppBundleLink struct {
Sys AppBundleLinkSys `json:"sys"`
}
Ref: #/AppBundleLink
func NewAppBundleLink ¶ added in v0.0.43
func NewAppBundleLink(id string) AppBundleLink
func (*AppBundleLink) Decode ¶ added in v0.0.27
func (s *AppBundleLink) Decode(d *jx.Decoder) error
Decode decodes AppBundleLink from json.
func (*AppBundleLink) Encode ¶ added in v0.0.27
func (s *AppBundleLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppBundleLink) GetSys ¶ added in v0.0.27
func (s *AppBundleLink) GetSys() AppBundleLinkSys
GetSys returns the value of Sys.
func (*AppBundleLink) MarshalJSON ¶ added in v0.0.27
func (s *AppBundleLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppBundleLink) SetSys ¶ added in v0.0.27
func (s *AppBundleLink) SetSys(val AppBundleLinkSys)
SetSys sets the value of Sys.
func (*AppBundleLink) UnmarshalJSON ¶ added in v0.0.27
func (s *AppBundleLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppBundleLink) Validate ¶ added in v0.0.27
func (s *AppBundleLink) Validate() error
type AppBundleLinkSys ¶ added in v0.0.27
type AppBundleLinkSys struct {
// Merged property.
Type AppBundleLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType AppBundleLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewAppBundleLinkSys ¶ added in v0.0.43
func NewAppBundleLinkSys(id string) AppBundleLinkSys
func (*AppBundleLinkSys) Decode ¶ added in v0.0.27
func (s *AppBundleLinkSys) Decode(d *jx.Decoder) error
Decode decodes AppBundleLinkSys from json.
func (*AppBundleLinkSys) Encode ¶ added in v0.0.27
func (s *AppBundleLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppBundleLinkSys) GetID ¶ added in v0.0.27
func (s *AppBundleLinkSys) GetID() string
GetID returns the value of ID.
func (*AppBundleLinkSys) GetLinkType ¶ added in v0.0.27
func (s *AppBundleLinkSys) GetLinkType() AppBundleLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*AppBundleLinkSys) GetType ¶ added in v0.0.27
func (s *AppBundleLinkSys) GetType() AppBundleLinkSysType
GetType returns the value of Type.
func (*AppBundleLinkSys) MarshalJSON ¶ added in v0.0.27
func (s *AppBundleLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppBundleLinkSys) SetID ¶ added in v0.0.27
func (s *AppBundleLinkSys) SetID(val string)
SetID sets the value of ID.
func (*AppBundleLinkSys) SetLinkType ¶ added in v0.0.27
func (s *AppBundleLinkSys) SetLinkType(val AppBundleLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*AppBundleLinkSys) SetType ¶ added in v0.0.27
func (s *AppBundleLinkSys) SetType(val AppBundleLinkSysType)
SetType sets the value of Type.
func (*AppBundleLinkSys) UnmarshalJSON ¶ added in v0.0.27
func (s *AppBundleLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppBundleLinkSys) Validate ¶ added in v0.0.27
func (s *AppBundleLinkSys) Validate() error
type AppBundleLinkSysLinkType ¶ added in v0.0.27
type AppBundleLinkSysLinkType string
Merged schema.
const (
AppBundleLinkSysLinkTypeAppBundle AppBundleLinkSysLinkType = "AppBundle"
)
func (AppBundleLinkSysLinkType) AllValues ¶ added in v0.0.27
func (AppBundleLinkSysLinkType) AllValues() []AppBundleLinkSysLinkType
AllValues returns all AppBundleLinkSysLinkType values.
func (*AppBundleLinkSysLinkType) Decode ¶ added in v0.0.27
func (s *AppBundleLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes AppBundleLinkSysLinkType from json.
func (AppBundleLinkSysLinkType) Encode ¶ added in v0.0.27
func (s AppBundleLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes AppBundleLinkSysLinkType as json.
func (AppBundleLinkSysLinkType) MarshalJSON ¶ added in v0.0.27
func (s AppBundleLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AppBundleLinkSysLinkType) MarshalText ¶ added in v0.0.27
func (s AppBundleLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AppBundleLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.27
func (s *AppBundleLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppBundleLinkSysLinkType) UnmarshalText ¶ added in v0.0.27
func (s *AppBundleLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AppBundleLinkSysLinkType) Validate ¶ added in v0.0.27
func (s AppBundleLinkSysLinkType) Validate() error
type AppBundleLinkSysType ¶ added in v0.0.27
type AppBundleLinkSysType string
Merged schema.
const (
AppBundleLinkSysTypeLink AppBundleLinkSysType = "Link"
)
func (AppBundleLinkSysType) AllValues ¶ added in v0.0.27
func (AppBundleLinkSysType) AllValues() []AppBundleLinkSysType
AllValues returns all AppBundleLinkSysType values.
func (*AppBundleLinkSysType) Decode ¶ added in v0.0.27
func (s *AppBundleLinkSysType) Decode(d *jx.Decoder) error
Decode decodes AppBundleLinkSysType from json.
func (AppBundleLinkSysType) Encode ¶ added in v0.0.27
func (s AppBundleLinkSysType) Encode(e *jx.Encoder)
Encode encodes AppBundleLinkSysType as json.
func (AppBundleLinkSysType) MarshalJSON ¶ added in v0.0.27
func (s AppBundleLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AppBundleLinkSysType) MarshalText ¶ added in v0.0.27
func (s AppBundleLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AppBundleLinkSysType) UnmarshalJSON ¶ added in v0.0.27
func (s *AppBundleLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppBundleLinkSysType) UnmarshalText ¶ added in v0.0.27
func (s *AppBundleLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AppBundleLinkSysType) Validate ¶ added in v0.0.27
func (s AppBundleLinkSysType) Validate() error
type AppDefinition ¶ added in v0.0.27
type AppDefinition struct {
Sys AppDefinitionSys `json:"sys"`
Name string `json:"name"`
Src OptString `json:"src"`
Bundle OptAppBundleLink `json:"bundle"`
Locations []AppDefinitionLocationsItem `json:"locations"`
Parameters OptAppDefinitionParameters `json:"parameters"`
}
Merged schema. Ref: #/AppDefinition
func (*AppDefinition) Decode ¶ added in v0.0.27
func (s *AppDefinition) Decode(d *jx.Decoder) error
Decode decodes AppDefinition from json.
func (*AppDefinition) Encode ¶ added in v0.0.27
func (s *AppDefinition) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinition) GetBundle ¶ added in v0.0.27
func (s *AppDefinition) GetBundle() OptAppBundleLink
GetBundle returns the value of Bundle.
func (*AppDefinition) GetLocations ¶ added in v0.0.27
func (s *AppDefinition) GetLocations() []AppDefinitionLocationsItem
GetLocations returns the value of Locations.
func (*AppDefinition) GetName ¶ added in v0.0.27
func (s *AppDefinition) GetName() string
GetName returns the value of Name.
func (*AppDefinition) GetParameters ¶ added in v0.0.27
func (s *AppDefinition) GetParameters() OptAppDefinitionParameters
GetParameters returns the value of Parameters.
func (*AppDefinition) GetSrc ¶ added in v0.0.27
func (s *AppDefinition) GetSrc() OptString
GetSrc returns the value of Src.
func (*AppDefinition) GetSys ¶ added in v0.0.27
func (s *AppDefinition) GetSys() AppDefinitionSys
GetSys returns the value of Sys.
func (*AppDefinition) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinition) SetBundle ¶ added in v0.0.27
func (s *AppDefinition) SetBundle(val OptAppBundleLink)
SetBundle sets the value of Bundle.
func (*AppDefinition) SetLocations ¶ added in v0.0.27
func (s *AppDefinition) SetLocations(val []AppDefinitionLocationsItem)
SetLocations sets the value of Locations.
func (*AppDefinition) SetName ¶ added in v0.0.27
func (s *AppDefinition) SetName(val string)
SetName sets the value of Name.
func (*AppDefinition) SetParameters ¶ added in v0.0.27
func (s *AppDefinition) SetParameters(val OptAppDefinitionParameters)
SetParameters sets the value of Parameters.
func (*AppDefinition) SetSrc ¶ added in v0.0.27
func (s *AppDefinition) SetSrc(val OptString)
SetSrc sets the value of Src.
func (*AppDefinition) SetSys ¶ added in v0.0.27
func (s *AppDefinition) SetSys(val AppDefinitionSys)
SetSys sets the value of Sys.
func (*AppDefinition) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppDefinition) Validate ¶ added in v0.0.27
func (s *AppDefinition) Validate() error
type AppDefinitionData ¶ added in v0.0.42
type AppDefinitionData struct {
Name string `json:"name"`
Src OptString `json:"src"`
Bundle OptAppBundleLink `json:"bundle"`
Locations []AppDefinitionDataLocationsItem `json:"locations"`
Parameters OptAppDefinitionParameters `json:"parameters"`
}
Ref: #/AppDefinitionData
func (*AppDefinitionData) Decode ¶ added in v0.0.42
func (s *AppDefinitionData) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionData from json.
func (*AppDefinitionData) Encode ¶ added in v0.0.42
func (s *AppDefinitionData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionData) GetBundle ¶ added in v0.0.42
func (s *AppDefinitionData) GetBundle() OptAppBundleLink
GetBundle returns the value of Bundle.
func (*AppDefinitionData) GetLocations ¶ added in v0.0.42
func (s *AppDefinitionData) GetLocations() []AppDefinitionDataLocationsItem
GetLocations returns the value of Locations.
func (*AppDefinitionData) GetName ¶ added in v0.0.42
func (s *AppDefinitionData) GetName() string
GetName returns the value of Name.
func (*AppDefinitionData) GetParameters ¶ added in v0.0.42
func (s *AppDefinitionData) GetParameters() OptAppDefinitionParameters
GetParameters returns the value of Parameters.
func (*AppDefinitionData) GetSrc ¶ added in v0.0.42
func (s *AppDefinitionData) GetSrc() OptString
GetSrc returns the value of Src.
func (*AppDefinitionData) MarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionData) SetBundle ¶ added in v0.0.42
func (s *AppDefinitionData) SetBundle(val OptAppBundleLink)
SetBundle sets the value of Bundle.
func (*AppDefinitionData) SetLocations ¶ added in v0.0.42
func (s *AppDefinitionData) SetLocations(val []AppDefinitionDataLocationsItem)
SetLocations sets the value of Locations.
func (*AppDefinitionData) SetName ¶ added in v0.0.42
func (s *AppDefinitionData) SetName(val string)
SetName sets the value of Name.
func (*AppDefinitionData) SetParameters ¶ added in v0.0.42
func (s *AppDefinitionData) SetParameters(val OptAppDefinitionParameters)
SetParameters sets the value of Parameters.
func (*AppDefinitionData) SetSrc ¶ added in v0.0.42
func (s *AppDefinitionData) SetSrc(val OptString)
SetSrc sets the value of Src.
func (*AppDefinitionData) UnmarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppDefinitionData) Validate ¶ added in v0.0.42
func (s *AppDefinitionData) Validate() error
type AppDefinitionDataLocationsItem ¶ added in v0.0.42
type AppDefinitionDataLocationsItem struct {
Location string `json:"location"`
FieldTypes []AppDefinitionDataLocationsItemFieldTypesItem `json:"fieldTypes"`
}
func (*AppDefinitionDataLocationsItem) Decode ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionDataLocationsItem from json.
func (*AppDefinitionDataLocationsItem) Encode ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionDataLocationsItem) GetFieldTypes ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) GetFieldTypes() []AppDefinitionDataLocationsItemFieldTypesItem
GetFieldTypes returns the value of FieldTypes.
func (*AppDefinitionDataLocationsItem) GetLocation ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) GetLocation() string
GetLocation returns the value of Location.
func (*AppDefinitionDataLocationsItem) GetNavigationItem ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) GetNavigationItem() OptAppDefinitionDataLocationsItemNavigationItem
GetNavigationItem returns the value of NavigationItem.
func (*AppDefinitionDataLocationsItem) MarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionDataLocationsItem) SetFieldTypes ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) SetFieldTypes(val []AppDefinitionDataLocationsItemFieldTypesItem)
SetFieldTypes sets the value of FieldTypes.
func (*AppDefinitionDataLocationsItem) SetLocation ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) SetLocation(val string)
SetLocation sets the value of Location.
func (*AppDefinitionDataLocationsItem) SetNavigationItem ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) SetNavigationItem(val OptAppDefinitionDataLocationsItemNavigationItem)
SetNavigationItem sets the value of NavigationItem.
func (*AppDefinitionDataLocationsItem) UnmarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionDataLocationsItemFieldTypesItem ¶ added in v0.0.42
type AppDefinitionDataLocationsItemFieldTypesItem struct {
Type string `json:"type"`
LinkType OptString `json:"linkType"`
Items OptAppDefinitionDataLocationsItemFieldTypesItemItems `json:"items"`
}
func (*AppDefinitionDataLocationsItemFieldTypesItem) Decode ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionDataLocationsItemFieldTypesItem from json.
func (*AppDefinitionDataLocationsItemFieldTypesItem) Encode ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionDataLocationsItemFieldTypesItem) GetItems ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) GetItems() OptAppDefinitionDataLocationsItemFieldTypesItemItems
GetItems returns the value of Items.
func (*AppDefinitionDataLocationsItemFieldTypesItem) GetLinkType ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*AppDefinitionDataLocationsItemFieldTypesItem) GetType ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) GetType() string
GetType returns the value of Type.
func (*AppDefinitionDataLocationsItemFieldTypesItem) MarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionDataLocationsItemFieldTypesItem) SetItems ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) SetItems(val OptAppDefinitionDataLocationsItemFieldTypesItemItems)
SetItems sets the value of Items.
func (*AppDefinitionDataLocationsItemFieldTypesItem) SetLinkType ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*AppDefinitionDataLocationsItemFieldTypesItem) SetType ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) SetType(val string)
SetType sets the value of Type.
func (*AppDefinitionDataLocationsItemFieldTypesItem) UnmarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionDataLocationsItemFieldTypesItemItems ¶ added in v0.0.42
type AppDefinitionDataLocationsItemFieldTypesItemItems struct {
Type string `json:"type"`
LinkType OptString `json:"linkType"`
}
func (*AppDefinitionDataLocationsItemFieldTypesItemItems) Decode ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionDataLocationsItemFieldTypesItemItems from json.
func (*AppDefinitionDataLocationsItemFieldTypesItemItems) Encode ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionDataLocationsItemFieldTypesItemItems) GetLinkType ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*AppDefinitionDataLocationsItemFieldTypesItemItems) GetType ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) GetType() string
GetType returns the value of Type.
func (*AppDefinitionDataLocationsItemFieldTypesItemItems) MarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionDataLocationsItemFieldTypesItemItems) SetLinkType ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*AppDefinitionDataLocationsItemFieldTypesItemItems) SetType ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) SetType(val string)
SetType sets the value of Type.
func (*AppDefinitionDataLocationsItemFieldTypesItemItems) UnmarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemFieldTypesItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionDataLocationsItemNavigationItem ¶ added in v0.0.42
type AppDefinitionDataLocationsItemNavigationItem struct {
}
func (*AppDefinitionDataLocationsItemNavigationItem) Decode ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemNavigationItem) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionDataLocationsItemNavigationItem from json.
func (*AppDefinitionDataLocationsItemNavigationItem) Encode ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemNavigationItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionDataLocationsItemNavigationItem) GetName ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemNavigationItem) GetName() string
GetName returns the value of Name.
func (*AppDefinitionDataLocationsItemNavigationItem) GetPath ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemNavigationItem) GetPath() string
GetPath returns the value of Path.
func (*AppDefinitionDataLocationsItemNavigationItem) MarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemNavigationItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionDataLocationsItemNavigationItem) SetName ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemNavigationItem) SetName(val string)
SetName sets the value of Name.
func (*AppDefinitionDataLocationsItemNavigationItem) SetPath ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemNavigationItem) SetPath(val string)
SetPath sets the value of Path.
func (*AppDefinitionDataLocationsItemNavigationItem) UnmarshalJSON ¶ added in v0.0.42
func (s *AppDefinitionDataLocationsItemNavigationItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionLink ¶ added in v0.0.18
type AppDefinitionLink struct {
Sys AppDefinitionLinkSys `json:"sys"`
}
Ref: #/AppDefinitionLink
func NewAppDefinitionLink ¶ added in v0.0.43
func NewAppDefinitionLink(id string) AppDefinitionLink
func (*AppDefinitionLink) Decode ¶ added in v0.0.18
func (s *AppDefinitionLink) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLink from json.
func (*AppDefinitionLink) Encode ¶ added in v0.0.18
func (s *AppDefinitionLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionLink) GetSys ¶ added in v0.0.18
func (s *AppDefinitionLink) GetSys() AppDefinitionLinkSys
GetSys returns the value of Sys.
func (*AppDefinitionLink) MarshalJSON ¶ added in v0.0.18
func (s *AppDefinitionLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionLink) SetSys ¶ added in v0.0.18
func (s *AppDefinitionLink) SetSys(val AppDefinitionLinkSys)
SetSys sets the value of Sys.
func (*AppDefinitionLink) UnmarshalJSON ¶ added in v0.0.18
func (s *AppDefinitionLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppDefinitionLink) Validate ¶ added in v0.0.18
func (s *AppDefinitionLink) Validate() error
type AppDefinitionLinkSys ¶ added in v0.0.18
type AppDefinitionLinkSys struct {
// Merged property.
Type AppDefinitionLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType AppDefinitionLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewAppDefinitionLinkSys ¶ added in v0.0.43
func NewAppDefinitionLinkSys(id string) AppDefinitionLinkSys
func (*AppDefinitionLinkSys) Decode ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLinkSys from json.
func (*AppDefinitionLinkSys) Encode ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionLinkSys) GetID ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) GetID() string
GetID returns the value of ID.
func (*AppDefinitionLinkSys) GetLinkType ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) GetLinkType() AppDefinitionLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*AppDefinitionLinkSys) GetType ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) GetType() AppDefinitionLinkSysType
GetType returns the value of Type.
func (*AppDefinitionLinkSys) MarshalJSON ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionLinkSys) SetID ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) SetID(val string)
SetID sets the value of ID.
func (*AppDefinitionLinkSys) SetLinkType ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) SetLinkType(val AppDefinitionLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*AppDefinitionLinkSys) SetType ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) SetType(val AppDefinitionLinkSysType)
SetType sets the value of Type.
func (*AppDefinitionLinkSys) UnmarshalJSON ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppDefinitionLinkSys) Validate ¶ added in v0.0.18
func (s *AppDefinitionLinkSys) Validate() error
type AppDefinitionLinkSysLinkType ¶ added in v0.0.18
type AppDefinitionLinkSysLinkType string
Merged schema.
const (
AppDefinitionLinkSysLinkTypeAppDefinition AppDefinitionLinkSysLinkType = "AppDefinition"
)
func (AppDefinitionLinkSysLinkType) AllValues ¶ added in v0.0.18
func (AppDefinitionLinkSysLinkType) AllValues() []AppDefinitionLinkSysLinkType
AllValues returns all AppDefinitionLinkSysLinkType values.
func (*AppDefinitionLinkSysLinkType) Decode ¶ added in v0.0.18
func (s *AppDefinitionLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLinkSysLinkType from json.
func (AppDefinitionLinkSysLinkType) Encode ¶ added in v0.0.18
func (s AppDefinitionLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes AppDefinitionLinkSysLinkType as json.
func (AppDefinitionLinkSysLinkType) MarshalJSON ¶ added in v0.0.18
func (s AppDefinitionLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AppDefinitionLinkSysLinkType) MarshalText ¶ added in v0.0.18
func (s AppDefinitionLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AppDefinitionLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.18
func (s *AppDefinitionLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppDefinitionLinkSysLinkType) UnmarshalText ¶ added in v0.0.18
func (s *AppDefinitionLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AppDefinitionLinkSysLinkType) Validate ¶ added in v0.0.18
func (s AppDefinitionLinkSysLinkType) Validate() error
type AppDefinitionLinkSysType ¶ added in v0.0.18
type AppDefinitionLinkSysType string
Merged schema.
const (
AppDefinitionLinkSysTypeLink AppDefinitionLinkSysType = "Link"
)
func (AppDefinitionLinkSysType) AllValues ¶ added in v0.0.18
func (AppDefinitionLinkSysType) AllValues() []AppDefinitionLinkSysType
AllValues returns all AppDefinitionLinkSysType values.
func (*AppDefinitionLinkSysType) Decode ¶ added in v0.0.18
func (s *AppDefinitionLinkSysType) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLinkSysType from json.
func (AppDefinitionLinkSysType) Encode ¶ added in v0.0.18
func (s AppDefinitionLinkSysType) Encode(e *jx.Encoder)
Encode encodes AppDefinitionLinkSysType as json.
func (AppDefinitionLinkSysType) MarshalJSON ¶ added in v0.0.18
func (s AppDefinitionLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AppDefinitionLinkSysType) MarshalText ¶ added in v0.0.18
func (s AppDefinitionLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AppDefinitionLinkSysType) UnmarshalJSON ¶ added in v0.0.18
func (s *AppDefinitionLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppDefinitionLinkSysType) UnmarshalText ¶ added in v0.0.18
func (s *AppDefinitionLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AppDefinitionLinkSysType) Validate ¶ added in v0.0.18
func (s AppDefinitionLinkSysType) Validate() error
type AppDefinitionLocationsItem ¶ added in v0.0.27
type AppDefinitionLocationsItem struct {
Location string `json:"location"`
FieldTypes []AppDefinitionLocationsItemFieldTypesItem `json:"fieldTypes"`
}
func (*AppDefinitionLocationsItem) Decode ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLocationsItem from json.
func (*AppDefinitionLocationsItem) Encode ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionLocationsItem) GetFieldTypes ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) GetFieldTypes() []AppDefinitionLocationsItemFieldTypesItem
GetFieldTypes returns the value of FieldTypes.
func (*AppDefinitionLocationsItem) GetLocation ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) GetLocation() string
GetLocation returns the value of Location.
func (*AppDefinitionLocationsItem) GetNavigationItem ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) GetNavigationItem() OptAppDefinitionLocationsItemNavigationItem
GetNavigationItem returns the value of NavigationItem.
func (*AppDefinitionLocationsItem) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionLocationsItem) SetFieldTypes ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) SetFieldTypes(val []AppDefinitionLocationsItemFieldTypesItem)
SetFieldTypes sets the value of FieldTypes.
func (*AppDefinitionLocationsItem) SetLocation ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) SetLocation(val string)
SetLocation sets the value of Location.
func (*AppDefinitionLocationsItem) SetNavigationItem ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) SetNavigationItem(val OptAppDefinitionLocationsItemNavigationItem)
SetNavigationItem sets the value of NavigationItem.
func (*AppDefinitionLocationsItem) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionLocationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionLocationsItemFieldTypesItem ¶ added in v0.0.27
type AppDefinitionLocationsItemFieldTypesItem struct {
Type string `json:"type"`
LinkType OptString `json:"linkType"`
Items OptAppDefinitionLocationsItemFieldTypesItemItems `json:"items"`
}
func (*AppDefinitionLocationsItemFieldTypesItem) Decode ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLocationsItemFieldTypesItem from json.
func (*AppDefinitionLocationsItemFieldTypesItem) Encode ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionLocationsItemFieldTypesItem) GetItems ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) GetItems() OptAppDefinitionLocationsItemFieldTypesItemItems
GetItems returns the value of Items.
func (*AppDefinitionLocationsItemFieldTypesItem) GetLinkType ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*AppDefinitionLocationsItemFieldTypesItem) GetType ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) GetType() string
GetType returns the value of Type.
func (*AppDefinitionLocationsItemFieldTypesItem) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionLocationsItemFieldTypesItem) SetItems ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) SetItems(val OptAppDefinitionLocationsItemFieldTypesItemItems)
SetItems sets the value of Items.
func (*AppDefinitionLocationsItemFieldTypesItem) SetLinkType ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*AppDefinitionLocationsItemFieldTypesItem) SetType ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) SetType(val string)
SetType sets the value of Type.
func (*AppDefinitionLocationsItemFieldTypesItem) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionLocationsItemFieldTypesItemItems ¶ added in v0.0.27
type AppDefinitionLocationsItemFieldTypesItemItems struct {
Type string `json:"type"`
LinkType OptString `json:"linkType"`
}
func (*AppDefinitionLocationsItemFieldTypesItemItems) Decode ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItemItems) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLocationsItemFieldTypesItemItems from json.
func (*AppDefinitionLocationsItemFieldTypesItemItems) Encode ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItemItems) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionLocationsItemFieldTypesItemItems) GetLinkType ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItemItems) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*AppDefinitionLocationsItemFieldTypesItemItems) GetType ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItemItems) GetType() string
GetType returns the value of Type.
func (*AppDefinitionLocationsItemFieldTypesItemItems) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionLocationsItemFieldTypesItemItems) SetLinkType ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItemItems) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*AppDefinitionLocationsItemFieldTypesItemItems) SetType ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItemItems) SetType(val string)
SetType sets the value of Type.
func (*AppDefinitionLocationsItemFieldTypesItemItems) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemFieldTypesItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionLocationsItemNavigationItem ¶ added in v0.0.27
type AppDefinitionLocationsItemNavigationItem struct {
}
func (*AppDefinitionLocationsItemNavigationItem) Decode ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemNavigationItem) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLocationsItemNavigationItem from json.
func (*AppDefinitionLocationsItemNavigationItem) Encode ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemNavigationItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionLocationsItemNavigationItem) GetName ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemNavigationItem) GetName() string
GetName returns the value of Name.
func (*AppDefinitionLocationsItemNavigationItem) GetPath ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemNavigationItem) GetPath() string
GetPath returns the value of Path.
func (*AppDefinitionLocationsItemNavigationItem) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemNavigationItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionLocationsItemNavigationItem) SetName ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemNavigationItem) SetName(val string)
SetName sets the value of Name.
func (*AppDefinitionLocationsItemNavigationItem) SetPath ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemNavigationItem) SetPath(val string)
SetPath sets the value of Path.
func (*AppDefinitionLocationsItemNavigationItem) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionLocationsItemNavigationItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionParameter ¶ added in v0.0.27
type AppDefinitionParameter struct {
ID string `json:"id"`
Type string `json:"type"`
Name string `json:"name"`
Description OptString `json:"description"`
Required OptBool `json:"required"`
Default jx.Raw `json:"default"`
Options []jx.Raw `json:"options"`
Labels OptAppDefinitionParameterLabels `json:"labels"`
}
Ref: #/AppDefinitionParameter
func (*AppDefinitionParameter) Decode ¶ added in v0.0.27
func (s *AppDefinitionParameter) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionParameter from json.
func (*AppDefinitionParameter) Encode ¶ added in v0.0.27
func (s *AppDefinitionParameter) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionParameter) GetDefault ¶ added in v0.0.27
func (s *AppDefinitionParameter) GetDefault() jx.Raw
GetDefault returns the value of Default.
func (*AppDefinitionParameter) GetDescription ¶ added in v0.0.27
func (s *AppDefinitionParameter) GetDescription() OptString
GetDescription returns the value of Description.
func (*AppDefinitionParameter) GetID ¶ added in v0.0.27
func (s *AppDefinitionParameter) GetID() string
GetID returns the value of ID.
func (*AppDefinitionParameter) GetLabels ¶ added in v0.0.27
func (s *AppDefinitionParameter) GetLabels() OptAppDefinitionParameterLabels
GetLabels returns the value of Labels.
func (*AppDefinitionParameter) GetName ¶ added in v0.0.27
func (s *AppDefinitionParameter) GetName() string
GetName returns the value of Name.
func (*AppDefinitionParameter) GetOptions ¶ added in v0.0.27
func (s *AppDefinitionParameter) GetOptions() []jx.Raw
GetOptions returns the value of Options.
func (*AppDefinitionParameter) GetRequired ¶ added in v0.0.27
func (s *AppDefinitionParameter) GetRequired() OptBool
GetRequired returns the value of Required.
func (*AppDefinitionParameter) GetType ¶ added in v0.0.27
func (s *AppDefinitionParameter) GetType() string
GetType returns the value of Type.
func (*AppDefinitionParameter) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionParameter) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionParameter) SetDefault ¶ added in v0.0.27
func (s *AppDefinitionParameter) SetDefault(val jx.Raw)
SetDefault sets the value of Default.
func (*AppDefinitionParameter) SetDescription ¶ added in v0.0.27
func (s *AppDefinitionParameter) SetDescription(val OptString)
SetDescription sets the value of Description.
func (*AppDefinitionParameter) SetID ¶ added in v0.0.27
func (s *AppDefinitionParameter) SetID(val string)
SetID sets the value of ID.
func (*AppDefinitionParameter) SetLabels ¶ added in v0.0.27
func (s *AppDefinitionParameter) SetLabels(val OptAppDefinitionParameterLabels)
SetLabels sets the value of Labels.
func (*AppDefinitionParameter) SetName ¶ added in v0.0.27
func (s *AppDefinitionParameter) SetName(val string)
SetName sets the value of Name.
func (*AppDefinitionParameter) SetOptions ¶ added in v0.0.27
func (s *AppDefinitionParameter) SetOptions(val []jx.Raw)
SetOptions sets the value of Options.
func (*AppDefinitionParameter) SetRequired ¶ added in v0.0.27
func (s *AppDefinitionParameter) SetRequired(val OptBool)
SetRequired sets the value of Required.
func (*AppDefinitionParameter) SetType ¶ added in v0.0.27
func (s *AppDefinitionParameter) SetType(val string)
SetType sets the value of Type.
func (*AppDefinitionParameter) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionParameter) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionParameterLabels ¶ added in v0.0.27
type AppDefinitionParameterLabels struct {
Empty OptString `json:"empty"`
True OptString `json:"true"`
False OptString `json:"false"`
}
func (*AppDefinitionParameterLabels) Decode ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionParameterLabels from json.
func (*AppDefinitionParameterLabels) Encode ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionParameterLabels) GetEmpty ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) GetEmpty() OptString
GetEmpty returns the value of Empty.
func (*AppDefinitionParameterLabels) GetFalse ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) GetFalse() OptString
GetFalse returns the value of False.
func (*AppDefinitionParameterLabels) GetTrue ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) GetTrue() OptString
GetTrue returns the value of True.
func (*AppDefinitionParameterLabels) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionParameterLabels) SetEmpty ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) SetEmpty(val OptString)
SetEmpty sets the value of Empty.
func (*AppDefinitionParameterLabels) SetFalse ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) SetFalse(val OptString)
SetFalse sets the value of False.
func (*AppDefinitionParameterLabels) SetTrue ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) SetTrue(val OptString)
SetTrue sets the value of True.
func (*AppDefinitionParameterLabels) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionParameterLabels) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionParameters ¶ added in v0.0.27
type AppDefinitionParameters struct {
Installation []AppDefinitionParameter `json:"installation"`
Instance []AppDefinitionParameter `json:"instance"`
}
Ref: #/AppDefinitionParameters
func (*AppDefinitionParameters) Decode ¶ added in v0.0.27
func (s *AppDefinitionParameters) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionParameters from json.
func (*AppDefinitionParameters) Encode ¶ added in v0.0.27
func (s *AppDefinitionParameters) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionParameters) GetInstallation ¶ added in v0.0.27
func (s *AppDefinitionParameters) GetInstallation() []AppDefinitionParameter
GetInstallation returns the value of Installation.
func (*AppDefinitionParameters) GetInstance ¶ added in v0.0.27
func (s *AppDefinitionParameters) GetInstance() []AppDefinitionParameter
GetInstance returns the value of Instance.
func (*AppDefinitionParameters) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionParameters) SetInstallation ¶ added in v0.0.27
func (s *AppDefinitionParameters) SetInstallation(val []AppDefinitionParameter)
SetInstallation sets the value of Installation.
func (*AppDefinitionParameters) SetInstance ¶ added in v0.0.27
func (s *AppDefinitionParameters) SetInstance(val []AppDefinitionParameter)
SetInstance sets the value of Instance.
func (*AppDefinitionParameters) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppDefinitionStatusCode ¶ added in v0.0.27
type AppDefinitionStatusCode struct {
StatusCode int
Response AppDefinition
}
AppDefinitionStatusCode wraps AppDefinition with StatusCode.
func (*AppDefinitionStatusCode) GetResponse ¶ added in v0.0.27
func (s *AppDefinitionStatusCode) GetResponse() AppDefinition
GetResponse returns the value of Response.
func (*AppDefinitionStatusCode) GetStatusCode ¶ added in v0.0.27
func (s *AppDefinitionStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*AppDefinitionStatusCode) SetResponse ¶ added in v0.0.27
func (s *AppDefinitionStatusCode) SetResponse(val AppDefinition)
SetResponse sets the value of Response.
func (*AppDefinitionStatusCode) SetStatusCode ¶ added in v0.0.27
func (s *AppDefinitionStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*AppDefinitionStatusCode) Validate ¶ added in v0.0.27
func (s *AppDefinitionStatusCode) Validate() error
type AppDefinitionSys ¶ added in v0.0.27
type AppDefinitionSys struct {
Organization OrganizationLink `json:"organization"`
// Merged property.
Type AppDefinitionSysType `json:"type"`
ID string `json:"id"`
}
Merged schema. Ref: #/AppDefinitionSys
func NewAppDefinitionSys ¶ added in v0.0.43
func NewAppDefinitionSys(organizationID, appDefinitionID string) AppDefinitionSys
func (*AppDefinitionSys) Decode ¶ added in v0.0.27
func (s *AppDefinitionSys) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionSys from json.
func (*AppDefinitionSys) Encode ¶ added in v0.0.27
func (s *AppDefinitionSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppDefinitionSys) GetID ¶ added in v0.0.27
func (s *AppDefinitionSys) GetID() string
GetID returns the value of ID.
func (*AppDefinitionSys) GetOrganization ¶ added in v0.0.27
func (s *AppDefinitionSys) GetOrganization() OrganizationLink
GetOrganization returns the value of Organization.
func (*AppDefinitionSys) GetType ¶ added in v0.0.27
func (s *AppDefinitionSys) GetType() AppDefinitionSysType
GetType returns the value of Type.
func (*AppDefinitionSys) MarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppDefinitionSys) SetID ¶ added in v0.0.27
func (s *AppDefinitionSys) SetID(val string)
SetID sets the value of ID.
func (*AppDefinitionSys) SetOrganization ¶ added in v0.0.27
func (s *AppDefinitionSys) SetOrganization(val OrganizationLink)
SetOrganization sets the value of Organization.
func (*AppDefinitionSys) SetType ¶ added in v0.0.27
func (s *AppDefinitionSys) SetType(val AppDefinitionSysType)
SetType sets the value of Type.
func (*AppDefinitionSys) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppDefinitionSys) Validate ¶ added in v0.0.27
func (s *AppDefinitionSys) Validate() error
type AppDefinitionSysType ¶ added in v0.0.27
type AppDefinitionSysType string
Merged schema.
const (
AppDefinitionSysTypeAppDefinition AppDefinitionSysType = "AppDefinition"
)
func (AppDefinitionSysType) AllValues ¶ added in v0.0.27
func (AppDefinitionSysType) AllValues() []AppDefinitionSysType
AllValues returns all AppDefinitionSysType values.
func (*AppDefinitionSysType) Decode ¶ added in v0.0.27
func (s *AppDefinitionSysType) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionSysType from json.
func (AppDefinitionSysType) Encode ¶ added in v0.0.27
func (s AppDefinitionSysType) Encode(e *jx.Encoder)
Encode encodes AppDefinitionSysType as json.
func (AppDefinitionSysType) MarshalJSON ¶ added in v0.0.27
func (s AppDefinitionSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AppDefinitionSysType) MarshalText ¶ added in v0.0.27
func (s AppDefinitionSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AppDefinitionSysType) UnmarshalJSON ¶ added in v0.0.27
func (s *AppDefinitionSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppDefinitionSysType) UnmarshalText ¶ added in v0.0.27
func (s *AppDefinitionSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AppDefinitionSysType) Validate ¶ added in v0.0.27
func (s AppDefinitionSysType) Validate() error
type AppInstallation ¶
type AppInstallation struct {
Sys AppInstallationSys `json:"sys"`
Parameters jx.Raw `json:"parameters"`
}
Merged schema. Ref: #/AppInstallation
func (*AppInstallation) Decode ¶
func (s *AppInstallation) Decode(d *jx.Decoder) error
Decode decodes AppInstallation from json.
func (*AppInstallation) Encode ¶
func (s *AppInstallation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppInstallation) GetParameters ¶
func (s *AppInstallation) GetParameters() jx.Raw
GetParameters returns the value of Parameters.
func (*AppInstallation) GetSys ¶
func (s *AppInstallation) GetSys() AppInstallationSys
GetSys returns the value of Sys.
func (*AppInstallation) MarshalJSON ¶
func (s *AppInstallation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppInstallation) SetParameters ¶
func (s *AppInstallation) SetParameters(val jx.Raw)
SetParameters sets the value of Parameters.
func (*AppInstallation) SetSys ¶
func (s *AppInstallation) SetSys(val AppInstallationSys)
SetSys sets the value of Sys.
func (*AppInstallation) UnmarshalJSON ¶
func (s *AppInstallation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppInstallation) Validate ¶
func (s *AppInstallation) Validate() error
type AppInstallationData ¶ added in v0.0.42
Ref: #/AppInstallationData
func (*AppInstallationData) Decode ¶ added in v0.0.42
func (s *AppInstallationData) Decode(d *jx.Decoder) error
Decode decodes AppInstallationData from json.
func (*AppInstallationData) Encode ¶ added in v0.0.42
func (s *AppInstallationData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppInstallationData) GetParameters ¶ added in v0.0.42
func (s *AppInstallationData) GetParameters() jx.Raw
GetParameters returns the value of Parameters.
func (*AppInstallationData) MarshalJSON ¶ added in v0.0.42
func (s *AppInstallationData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppInstallationData) SetParameters ¶ added in v0.0.42
func (s *AppInstallationData) SetParameters(val jx.Raw)
SetParameters sets the value of Parameters.
func (*AppInstallationData) UnmarshalJSON ¶ added in v0.0.42
func (s *AppInstallationData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppInstallationStatusCode ¶ added in v0.0.24
type AppInstallationStatusCode struct {
StatusCode int
Response AppInstallation
}
AppInstallationStatusCode wraps AppInstallation with StatusCode.
func (*AppInstallationStatusCode) GetResponse ¶ added in v0.0.24
func (s *AppInstallationStatusCode) GetResponse() AppInstallation
GetResponse returns the value of Response.
func (*AppInstallationStatusCode) GetStatusCode ¶ added in v0.0.24
func (s *AppInstallationStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*AppInstallationStatusCode) SetResponse ¶ added in v0.0.24
func (s *AppInstallationStatusCode) SetResponse(val AppInstallation)
SetResponse sets the value of Response.
func (*AppInstallationStatusCode) SetStatusCode ¶ added in v0.0.24
func (s *AppInstallationStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*AppInstallationStatusCode) Validate ¶ added in v0.0.24
func (s *AppInstallationStatusCode) Validate() error
type AppInstallationSys ¶
type AppInstallationSys struct {
Space SpaceLink `json:"space"`
Environment EnvironmentLink `json:"environment"`
// Merged property.
Type AppInstallationSysType `json:"type"`
AppDefinition AppDefinitionLink `json:"appDefinition"`
}
Merged schema. Ref: #/AppInstallationSys
func NewAppInstallationSys ¶ added in v0.0.43
func NewAppInstallationSys(spaceID, environmentID, appDefinitionID string) AppInstallationSys
func (*AppInstallationSys) Decode ¶
func (s *AppInstallationSys) Decode(d *jx.Decoder) error
Decode decodes AppInstallationSys from json.
func (*AppInstallationSys) Encode ¶
func (s *AppInstallationSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppInstallationSys) GetAppDefinition ¶ added in v0.0.18
func (s *AppInstallationSys) GetAppDefinition() AppDefinitionLink
GetAppDefinition returns the value of AppDefinition.
func (*AppInstallationSys) GetEnvironment ¶ added in v0.0.18
func (s *AppInstallationSys) GetEnvironment() EnvironmentLink
GetEnvironment returns the value of Environment.
func (*AppInstallationSys) GetSpace ¶ added in v0.0.18
func (s *AppInstallationSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*AppInstallationSys) GetType ¶
func (s *AppInstallationSys) GetType() AppInstallationSysType
GetType returns the value of Type.
func (*AppInstallationSys) MarshalJSON ¶
func (s *AppInstallationSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppInstallationSys) SetAppDefinition ¶ added in v0.0.18
func (s *AppInstallationSys) SetAppDefinition(val AppDefinitionLink)
SetAppDefinition sets the value of AppDefinition.
func (*AppInstallationSys) SetEnvironment ¶ added in v0.0.18
func (s *AppInstallationSys) SetEnvironment(val EnvironmentLink)
SetEnvironment sets the value of Environment.
func (*AppInstallationSys) SetSpace ¶ added in v0.0.18
func (s *AppInstallationSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*AppInstallationSys) SetType ¶
func (s *AppInstallationSys) SetType(val AppInstallationSysType)
SetType sets the value of Type.
func (*AppInstallationSys) UnmarshalJSON ¶
func (s *AppInstallationSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppInstallationSys) Validate ¶
func (s *AppInstallationSys) Validate() error
type AppInstallationSysType ¶
type AppInstallationSysType string
Merged schema.
const (
AppInstallationSysTypeAppInstallation AppInstallationSysType = "AppInstallation"
)
func (AppInstallationSysType) AllValues ¶
func (AppInstallationSysType) AllValues() []AppInstallationSysType
AllValues returns all AppInstallationSysType values.
func (*AppInstallationSysType) Decode ¶
func (s *AppInstallationSysType) Decode(d *jx.Decoder) error
Decode decodes AppInstallationSysType from json.
func (AppInstallationSysType) Encode ¶
func (s AppInstallationSysType) Encode(e *jx.Encoder)
Encode encodes AppInstallationSysType as json.
func (AppInstallationSysType) MarshalJSON ¶
func (s AppInstallationSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AppInstallationSysType) MarshalText ¶
func (s AppInstallationSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AppInstallationSysType) UnmarshalJSON ¶
func (s *AppInstallationSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppInstallationSysType) UnmarshalText ¶
func (s *AppInstallationSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AppInstallationSysType) Validate ¶
func (s AppInstallationSysType) Validate() error
type AppSigningSecret ¶ added in v0.0.35
type AppSigningSecret struct {
Sys AppSigningSecretSys `json:"sys"`
RedactedValue string `json:"redactedValue"`
}
Merged schema. Ref: #/AppSigningSecret
func (*AppSigningSecret) Decode ¶ added in v0.0.35
func (s *AppSigningSecret) Decode(d *jx.Decoder) error
Decode decodes AppSigningSecret from json.
func (*AppSigningSecret) Encode ¶ added in v0.0.35
func (s *AppSigningSecret) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppSigningSecret) GetRedactedValue ¶ added in v0.0.35
func (s *AppSigningSecret) GetRedactedValue() string
GetRedactedValue returns the value of RedactedValue.
func (*AppSigningSecret) GetSys ¶ added in v0.0.35
func (s *AppSigningSecret) GetSys() AppSigningSecretSys
GetSys returns the value of Sys.
func (*AppSigningSecret) MarshalJSON ¶ added in v0.0.35
func (s *AppSigningSecret) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppSigningSecret) SetRedactedValue ¶ added in v0.0.35
func (s *AppSigningSecret) SetRedactedValue(val string)
SetRedactedValue sets the value of RedactedValue.
func (*AppSigningSecret) SetSys ¶ added in v0.0.35
func (s *AppSigningSecret) SetSys(val AppSigningSecretSys)
SetSys sets the value of Sys.
func (*AppSigningSecret) UnmarshalJSON ¶ added in v0.0.35
func (s *AppSigningSecret) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppSigningSecret) Validate ¶ added in v0.0.35
func (s *AppSigningSecret) Validate() error
type AppSigningSecretRequestData ¶ added in v0.0.42
type AppSigningSecretRequestData struct {
Value string `json:"value"`
}
Ref: #/AppSigningSecretRequestData
func (*AppSigningSecretRequestData) Decode ¶ added in v0.0.42
func (s *AppSigningSecretRequestData) Decode(d *jx.Decoder) error
Decode decodes AppSigningSecretRequestData from json.
func (*AppSigningSecretRequestData) Encode ¶ added in v0.0.42
func (s *AppSigningSecretRequestData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppSigningSecretRequestData) GetValue ¶ added in v0.0.42
func (s *AppSigningSecretRequestData) GetValue() string
GetValue returns the value of Value.
func (*AppSigningSecretRequestData) MarshalJSON ¶ added in v0.0.42
func (s *AppSigningSecretRequestData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppSigningSecretRequestData) SetValue ¶ added in v0.0.42
func (s *AppSigningSecretRequestData) SetValue(val string)
SetValue sets the value of Value.
func (*AppSigningSecretRequestData) UnmarshalJSON ¶ added in v0.0.42
func (s *AppSigningSecretRequestData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppSigningSecretStatusCode ¶ added in v0.0.35
type AppSigningSecretStatusCode struct {
StatusCode int
Response AppSigningSecret
}
AppSigningSecretStatusCode wraps AppSigningSecret with StatusCode.
func (*AppSigningSecretStatusCode) GetResponse ¶ added in v0.0.35
func (s *AppSigningSecretStatusCode) GetResponse() AppSigningSecret
GetResponse returns the value of Response.
func (*AppSigningSecretStatusCode) GetStatusCode ¶ added in v0.0.35
func (s *AppSigningSecretStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*AppSigningSecretStatusCode) SetResponse ¶ added in v0.0.35
func (s *AppSigningSecretStatusCode) SetResponse(val AppSigningSecret)
SetResponse sets the value of Response.
func (*AppSigningSecretStatusCode) SetStatusCode ¶ added in v0.0.35
func (s *AppSigningSecretStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*AppSigningSecretStatusCode) Validate ¶ added in v0.0.35
func (s *AppSigningSecretStatusCode) Validate() error
type AppSigningSecretSys ¶ added in v0.0.35
type AppSigningSecretSys struct {
Organization OrganizationLink `json:"organization"`
// Merged property.
Type AppSigningSecretSysType `json:"type"`
AppDefinition AppDefinitionLink `json:"appDefinition"`
}
Merged schema. Ref: #/AppSigningSecretSys
func NewAppSigningSecretSys ¶ added in v0.0.43
func NewAppSigningSecretSys(organizationID, appDefinitionID string) AppSigningSecretSys
func (*AppSigningSecretSys) Decode ¶ added in v0.0.35
func (s *AppSigningSecretSys) Decode(d *jx.Decoder) error
Decode decodes AppSigningSecretSys from json.
func (*AppSigningSecretSys) Encode ¶ added in v0.0.35
func (s *AppSigningSecretSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppSigningSecretSys) GetAppDefinition ¶ added in v0.0.35
func (s *AppSigningSecretSys) GetAppDefinition() AppDefinitionLink
GetAppDefinition returns the value of AppDefinition.
func (*AppSigningSecretSys) GetOrganization ¶ added in v0.0.35
func (s *AppSigningSecretSys) GetOrganization() OrganizationLink
GetOrganization returns the value of Organization.
func (*AppSigningSecretSys) GetType ¶ added in v0.0.35
func (s *AppSigningSecretSys) GetType() AppSigningSecretSysType
GetType returns the value of Type.
func (*AppSigningSecretSys) MarshalJSON ¶ added in v0.0.35
func (s *AppSigningSecretSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppSigningSecretSys) SetAppDefinition ¶ added in v0.0.35
func (s *AppSigningSecretSys) SetAppDefinition(val AppDefinitionLink)
SetAppDefinition sets the value of AppDefinition.
func (*AppSigningSecretSys) SetOrganization ¶ added in v0.0.35
func (s *AppSigningSecretSys) SetOrganization(val OrganizationLink)
SetOrganization sets the value of Organization.
func (*AppSigningSecretSys) SetType ¶ added in v0.0.35
func (s *AppSigningSecretSys) SetType(val AppSigningSecretSysType)
SetType sets the value of Type.
func (*AppSigningSecretSys) UnmarshalJSON ¶ added in v0.0.35
func (s *AppSigningSecretSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppSigningSecretSys) Validate ¶ added in v0.0.35
func (s *AppSigningSecretSys) Validate() error
type AppSigningSecretSysType ¶ added in v0.0.35
type AppSigningSecretSysType string
Merged schema.
const (
AppSigningSecretSysTypeAppSigningSecret AppSigningSecretSysType = "AppSigningSecret"
)
func (AppSigningSecretSysType) AllValues ¶ added in v0.0.35
func (AppSigningSecretSysType) AllValues() []AppSigningSecretSysType
AllValues returns all AppSigningSecretSysType values.
func (*AppSigningSecretSysType) Decode ¶ added in v0.0.35
func (s *AppSigningSecretSysType) Decode(d *jx.Decoder) error
Decode decodes AppSigningSecretSysType from json.
func (AppSigningSecretSysType) Encode ¶ added in v0.0.35
func (s AppSigningSecretSysType) Encode(e *jx.Encoder)
Encode encodes AppSigningSecretSysType as json.
func (AppSigningSecretSysType) MarshalJSON ¶ added in v0.0.35
func (s AppSigningSecretSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AppSigningSecretSysType) MarshalText ¶ added in v0.0.35
func (s AppSigningSecretSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AppSigningSecretSysType) UnmarshalJSON ¶ added in v0.0.35
func (s *AppSigningSecretSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AppSigningSecretSysType) UnmarshalText ¶ added in v0.0.35
func (s *AppSigningSecretSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AppSigningSecretSysType) Validate ¶ added in v0.0.35
func (s AppSigningSecretSysType) Validate() error
type ApplicationJSONError ¶ added in v0.0.33
type ApplicationJSONError struct {
Type ApplicationJSONErrorType // switch on this field
Error Error
}
Ref: #/components/schemas/ApplicationJSONError ApplicationJSONError represents sum type.
func NewErrorApplicationJSONError ¶ added in v0.0.33
func NewErrorApplicationJSONError(v Error) ApplicationJSONError
NewErrorApplicationJSONError returns new ApplicationJSONError from Error.
func (*ApplicationJSONError) Decode ¶ added in v0.0.33
func (s *ApplicationJSONError) Decode(d *jx.Decoder) error
Decode decodes ApplicationJSONError from json.
func (ApplicationJSONError) Encode ¶ added in v0.0.33
func (s ApplicationJSONError) Encode(e *jx.Encoder)
Encode encodes ApplicationJSONError as json.
func (ApplicationJSONError) GetError ¶ added in v0.0.33
func (s ApplicationJSONError) GetError() (v Error, ok bool)
GetError returns Error and true boolean if ApplicationJSONError is Error.
func (ApplicationJSONError) IsError ¶ added in v0.0.33
func (s ApplicationJSONError) IsError() bool
IsError reports whether ApplicationJSONError is Error.
func (ApplicationJSONError) MarshalJSON ¶ added in v0.0.33
func (s ApplicationJSONError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApplicationJSONError) SetError ¶ added in v0.0.33
func (s *ApplicationJSONError) SetError(v Error)
SetError sets ApplicationJSONError to Error.
func (*ApplicationJSONError) UnmarshalJSON ¶ added in v0.0.33
func (s *ApplicationJSONError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ApplicationJSONError) Validate ¶ added in v0.0.33
func (s ApplicationJSONError) Validate() error
type ApplicationJSONErrorStatusCode ¶ added in v0.0.33
type ApplicationJSONErrorStatusCode struct {
StatusCode int
Response ApplicationJSONError
}
ApplicationJSONErrorStatusCode wraps ApplicationJSONError with StatusCode.
func (*ApplicationJSONErrorStatusCode) GetError ¶ added in v0.0.33
func (r *ApplicationJSONErrorStatusCode) GetError() (Error, bool)
func (*ApplicationJSONErrorStatusCode) GetResponse ¶ added in v0.0.33
func (s *ApplicationJSONErrorStatusCode) GetResponse() ApplicationJSONError
GetResponse returns the value of Response.
func (*ApplicationJSONErrorStatusCode) GetStatusCode ¶ added in v0.0.33
func (s *ApplicationJSONErrorStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ApplicationJSONErrorStatusCode) SetResponse ¶ added in v0.0.33
func (s *ApplicationJSONErrorStatusCode) SetResponse(val ApplicationJSONError)
SetResponse sets the value of Response.
func (*ApplicationJSONErrorStatusCode) SetStatusCode ¶ added in v0.0.33
func (s *ApplicationJSONErrorStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*ApplicationJSONErrorStatusCode) Validate ¶ added in v0.0.33
func (s *ApplicationJSONErrorStatusCode) Validate() error
type ApplicationJSONErrorType ¶ added in v0.0.33
type ApplicationJSONErrorType string
ApplicationJSONErrorType is oneOf type of ApplicationJSONError.
const (
ErrorApplicationJSONError ApplicationJSONErrorType = "Error"
)
Possible values for ApplicationJSONErrorType.
type ApplicationVndContentfulManagementV1JSONError ¶ added in v0.0.33
type ApplicationVndContentfulManagementV1JSONError struct {
Type ApplicationVndContentfulManagementV1JSONErrorType // switch on this field
Error Error
}
Ref: #/components/schemas/ApplicationVndContentfulManagementV1JSONError ApplicationVndContentfulManagementV1JSONError represents sum type.
func NewErrorApplicationVndContentfulManagementV1JSONError ¶ added in v0.0.33
func NewErrorApplicationVndContentfulManagementV1JSONError(v Error) ApplicationVndContentfulManagementV1JSONError
NewErrorApplicationVndContentfulManagementV1JSONError returns new ApplicationVndContentfulManagementV1JSONError from Error.
func (*ApplicationVndContentfulManagementV1JSONError) Decode ¶ added in v0.0.33
func (s *ApplicationVndContentfulManagementV1JSONError) Decode(d *jx.Decoder) error
Decode decodes ApplicationVndContentfulManagementV1JSONError from json.
func (ApplicationVndContentfulManagementV1JSONError) Encode ¶ added in v0.0.33
func (s ApplicationVndContentfulManagementV1JSONError) Encode(e *jx.Encoder)
Encode encodes ApplicationVndContentfulManagementV1JSONError as json.
func (ApplicationVndContentfulManagementV1JSONError) GetError ¶ added in v0.0.33
func (s ApplicationVndContentfulManagementV1JSONError) GetError() (v Error, ok bool)
GetError returns Error and true boolean if ApplicationVndContentfulManagementV1JSONError is Error.
func (ApplicationVndContentfulManagementV1JSONError) IsError ¶ added in v0.0.33
func (s ApplicationVndContentfulManagementV1JSONError) IsError() bool
IsError reports whether ApplicationVndContentfulManagementV1JSONError is Error.
func (ApplicationVndContentfulManagementV1JSONError) MarshalJSON ¶ added in v0.0.33
func (s ApplicationVndContentfulManagementV1JSONError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApplicationVndContentfulManagementV1JSONError) SetError ¶ added in v0.0.33
func (s *ApplicationVndContentfulManagementV1JSONError) SetError(v Error)
SetError sets ApplicationVndContentfulManagementV1JSONError to Error.
func (*ApplicationVndContentfulManagementV1JSONError) UnmarshalJSON ¶ added in v0.0.33
func (s *ApplicationVndContentfulManagementV1JSONError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ApplicationVndContentfulManagementV1JSONError) Validate ¶ added in v0.0.33
func (s ApplicationVndContentfulManagementV1JSONError) Validate() error
type ApplicationVndContentfulManagementV1JSONErrorStatusCode ¶ added in v0.0.33
type ApplicationVndContentfulManagementV1JSONErrorStatusCode struct {
StatusCode int
Response ApplicationVndContentfulManagementV1JSONError
}
ApplicationVndContentfulManagementV1JSONErrorStatusCode wraps ApplicationVndContentfulManagementV1JSONError with StatusCode.
func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetError ¶ added in v0.0.33
func (r *ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetError() (Error, bool)
func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetResponse ¶ added in v0.0.33
func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetResponse() ApplicationVndContentfulManagementV1JSONError
GetResponse returns the value of Response.
func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetStatusCode ¶ added in v0.0.33
func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) SetResponse ¶ added in v0.0.33
func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) SetResponse(val ApplicationVndContentfulManagementV1JSONError)
SetResponse sets the value of Response.
func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) SetStatusCode ¶ added in v0.0.33
func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) Validate ¶ added in v0.0.33
func (s *ApplicationVndContentfulManagementV1JSONErrorStatusCode) Validate() error
type ApplicationVndContentfulManagementV1JSONErrorType ¶ added in v0.0.33
type ApplicationVndContentfulManagementV1JSONErrorType string
ApplicationVndContentfulManagementV1JSONErrorType is oneOf type of ApplicationVndContentfulManagementV1JSONError.
const (
ErrorApplicationVndContentfulManagementV1JSONError ApplicationVndContentfulManagementV1JSONErrorType = "Error"
)
Possible values for ApplicationVndContentfulManagementV1JSONErrorType.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) ActivateContentType ¶ added in v0.0.5
func (c *Client) ActivateContentType(ctx context.Context, params ActivateContentTypeParams, options ...RequestOption) (ActivateContentTypeRes, error)
ActivateContentType invokes activateContentType operation.
Activate a content type.
PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
func (*Client) CreateAppDefinition ¶ added in v0.0.27
func (c *Client) CreateAppDefinition(ctx context.Context, request *AppDefinitionData, params CreateAppDefinitionParams, options ...RequestOption) (CreateAppDefinitionRes, error)
CreateAppDefinition invokes createAppDefinition operation.
Create an app definition.
POST /organizations/{organization_id}/app_definitions
func (*Client) CreateDeliveryAPIKey ¶ added in v0.0.43
func (c *Client) CreateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, params CreateDeliveryAPIKeyParams, options ...RequestOption) (CreateDeliveryAPIKeyRes, error)
CreateDeliveryAPIKey invokes createDeliveryAPIKey operation.
Create a delivery api key.
POST /spaces/{space_id}/api_keys
func (*Client) CreateEntry ¶ added in v0.0.40
func (c *Client) CreateEntry(ctx context.Context, request *EntryRequest, params CreateEntryParams, options ...RequestOption) (CreateEntryRes, error)
CreateEntry invokes createEntry operation.
Create an entry.
POST /spaces/{space_id}/environments/{environment_id}/entries
func (*Client) CreateOrUpdateEnvironment ¶ added in v0.0.41
func (c *Client) CreateOrUpdateEnvironment(ctx context.Context, request *EnvironmentData, params CreateOrUpdateEnvironmentParams, options ...RequestOption) (CreateOrUpdateEnvironmentRes, error)
CreateOrUpdateEnvironment invokes createOrUpdateEnvironment operation.
Create or update an environment.
PUT /spaces/{space_id}/environments/{environment_id}
func (*Client) CreateOrUpdateEnvironmentAlias ¶ added in v0.0.41
func (c *Client) CreateOrUpdateEnvironmentAlias(ctx context.Context, request *EnvironmentAliasData, params CreateOrUpdateEnvironmentAliasParams, options ...RequestOption) (CreateOrUpdateEnvironmentAliasRes, error)
CreateOrUpdateEnvironmentAlias invokes createOrUpdateEnvironmentAlias operation.
Create/Update an environment alias.
PUT /spaces/{space_id}/environment_aliases/{environment_alias_id}
func (*Client) CreatePersonalAccessToken ¶ added in v0.0.12
func (c *Client) CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestData, options ...RequestOption) (CreatePersonalAccessTokenRes, error)
CreatePersonalAccessToken invokes createPersonalAccessToken operation.
Create a personal access token.
POST /users/me/access_tokens
func (*Client) CreateRole ¶ added in v0.0.15
func (c *Client) CreateRole(ctx context.Context, request *RoleData, params CreateRoleParams, options ...RequestOption) (CreateRoleRes, error)
CreateRole invokes createRole operation.
Create a role.
POST /spaces/{space_id}/roles
func (*Client) CreateTeam ¶ added in v0.0.43
func (c *Client) CreateTeam(ctx context.Context, request *TeamData, params CreateTeamParams, options ...RequestOption) (CreateTeamRes, error)
CreateTeam invokes createTeam operation.
Create a team.
POST /organizations/{organization_id}/teams
func (*Client) CreateTeamSpaceMembership ¶ added in v0.0.43
func (c *Client) CreateTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, params CreateTeamSpaceMembershipParams, options ...RequestOption) (CreateTeamSpaceMembershipRes, error)
CreateTeamSpaceMembership invokes createTeamSpaceMembership operation.
Create a team space membership.
POST /spaces/{space_id}/team_space_memberships
func (*Client) CreateWebhookDefinition ¶ added in v0.0.17
func (c *Client) CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, params CreateWebhookDefinitionParams, options ...RequestOption) (CreateWebhookDefinitionRes, error)
CreateWebhookDefinition invokes createWebhookDefinition operation.
Create a webhook definition.
POST /spaces/{space_id}/webhook_definitions
func (*Client) DeactivateContentType ¶ added in v0.0.5
func (c *Client) DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams, options ...RequestOption) (DeactivateContentTypeRes, error)
DeactivateContentType invokes deactivateContentType operation.
Deactivate a content type.
DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
func (*Client) DeleteAppDefinition ¶ added in v0.0.27
func (c *Client) DeleteAppDefinition(ctx context.Context, params DeleteAppDefinitionParams, options ...RequestOption) (DeleteAppDefinitionRes, error)
DeleteAppDefinition invokes deleteAppDefinition operation.
Delete an app definition.
DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}
func (*Client) DeleteAppInstallation ¶
func (c *Client) DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams, options ...RequestOption) (DeleteAppInstallationRes, error)
DeleteAppInstallation invokes deleteAppInstallation operation.
Uninstall an app.
DELETE /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
func (*Client) DeleteAppSigningSecret ¶ added in v0.0.35
func (c *Client) DeleteAppSigningSecret(ctx context.Context, params DeleteAppSigningSecretParams, options ...RequestOption) (DeleteAppSigningSecretRes, error)
DeleteAppSigningSecret invokes deleteAppSigningSecret operation.
Delete an app signing secret.
DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
func (*Client) DeleteContentType ¶ added in v0.0.5
func (c *Client) DeleteContentType(ctx context.Context, params DeleteContentTypeParams, options ...RequestOption) (DeleteContentTypeRes, error)
DeleteContentType invokes deleteContentType operation.
Delete a content type.
DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
func (*Client) DeleteDeliveryAPIKey ¶ added in v0.0.43
func (c *Client) DeleteDeliveryAPIKey(ctx context.Context, params DeleteDeliveryAPIKeyParams, options ...RequestOption) (DeleteDeliveryAPIKeyRes, error)
DeleteDeliveryAPIKey invokes deleteDeliveryAPIKey operation.
Delete a single delivery api key.
DELETE /spaces/{space_id}/api_keys/{api_key_id}
func (*Client) DeleteEntry ¶ added in v0.0.40
func (c *Client) DeleteEntry(ctx context.Context, params DeleteEntryParams, options ...RequestOption) (DeleteEntryRes, error)
DeleteEntry invokes deleteEntry operation.
Delete an entry.
DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
func (*Client) DeleteEnvironment ¶ added in v0.0.41
func (c *Client) DeleteEnvironment(ctx context.Context, params DeleteEnvironmentParams, options ...RequestOption) (DeleteEnvironmentRes, error)
DeleteEnvironment invokes deleteEnvironment operation.
Delete an environment.
DELETE /spaces/{space_id}/environments/{environment_id}
func (*Client) DeleteEnvironmentAlias ¶ added in v0.0.41
func (c *Client) DeleteEnvironmentAlias(ctx context.Context, params DeleteEnvironmentAliasParams, options ...RequestOption) (DeleteEnvironmentAliasRes, error)
DeleteEnvironmentAlias invokes deleteEnvironmentAlias operation.
Delete an environment alias.
DELETE /spaces/{space_id}/environment_aliases/{environment_alias_id}
func (*Client) DeleteExtension ¶ added in v0.0.29
func (c *Client) DeleteExtension(ctx context.Context, params DeleteExtensionParams, options ...RequestOption) (DeleteExtensionRes, error)
DeleteExtension invokes deleteExtension operation.
Delete an extension.
DELETE /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
func (*Client) DeleteResourceProvider ¶ added in v0.0.37
func (c *Client) DeleteResourceProvider(ctx context.Context, params DeleteResourceProviderParams, options ...RequestOption) (DeleteResourceProviderRes, error)
DeleteResourceProvider invokes deleteResourceProvider operation.
Delete a resource provider definition.
DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
func (*Client) DeleteResourceType ¶ added in v0.0.37
func (c *Client) DeleteResourceType(ctx context.Context, params DeleteResourceTypeParams, options ...RequestOption) (DeleteResourceTypeRes, error)
DeleteResourceType invokes deleteResourceType operation.
Delete a resource type definition.
DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
func (*Client) DeleteRole ¶ added in v0.0.15
func (c *Client) DeleteRole(ctx context.Context, params DeleteRoleParams, options ...RequestOption) (DeleteRoleRes, error)
DeleteRole invokes deleteRole operation.
Delete a role.
DELETE /spaces/{space_id}/roles/{role_id}
func (*Client) DeleteTag ¶ added in v0.0.50
func (c *Client) DeleteTag(ctx context.Context, params DeleteTagParams, options ...RequestOption) (DeleteTagRes, error)
DeleteTag invokes deleteTag operation.
Delete a tag.
DELETE /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
func (*Client) DeleteTeam ¶ added in v0.0.43
func (c *Client) DeleteTeam(ctx context.Context, params DeleteTeamParams, options ...RequestOption) (DeleteTeamRes, error)
DeleteTeam invokes deleteTeam operation.
Delete a team.
DELETE /organizations/{organization_id}/teams/{team_id}
func (*Client) DeleteTeamSpaceMembership ¶ added in v0.0.43
func (c *Client) DeleteTeamSpaceMembership(ctx context.Context, params DeleteTeamSpaceMembershipParams, options ...RequestOption) (DeleteTeamSpaceMembershipRes, error)
DeleteTeamSpaceMembership invokes deleteTeamSpaceMembership operation.
Delete a team space membership.
DELETE /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
func (*Client) DeleteWebhookDefinition ¶ added in v0.0.17
func (c *Client) DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams, options ...RequestOption) (DeleteWebhookDefinitionRes, error)
DeleteWebhookDefinition invokes deleteWebhookDefinition operation.
Delete a webhook definition.
DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
func (*Client) GetAppDefinition ¶ added in v0.0.27
func (c *Client) GetAppDefinition(ctx context.Context, params GetAppDefinitionParams, options ...RequestOption) (GetAppDefinitionRes, error)
GetAppDefinition invokes getAppDefinition operation.
Get one app definition.
GET /organizations/{organization_id}/app_definitions/{app_definition_id}
func (*Client) GetAppInstallation ¶
func (c *Client) GetAppInstallation(ctx context.Context, params GetAppInstallationParams, options ...RequestOption) (GetAppInstallationRes, error)
GetAppInstallation invokes getAppInstallation operation.
Get one app installation.
GET /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
func (*Client) GetAppSigningSecret ¶ added in v0.0.35
func (c *Client) GetAppSigningSecret(ctx context.Context, params GetAppSigningSecretParams, options ...RequestOption) (GetAppSigningSecretRes, error)
GetAppSigningSecret invokes getAppSigningSecret operation.
Get one app signing secret.
GET /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
func (*Client) GetAuthenticatedUser ¶
func (c *Client) GetAuthenticatedUser(ctx context.Context, options ...RequestOption) (GetAuthenticatedUserRes, error)
GetAuthenticatedUser invokes getAuthenticatedUser operation.
Get the authenticated user.
GET /users/me
func (*Client) GetContentType ¶ added in v0.0.5
func (c *Client) GetContentType(ctx context.Context, params GetContentTypeParams, options ...RequestOption) (GetContentTypeRes, error)
GetContentType invokes getContentType operation.
Get a content type.
GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
func (*Client) GetContentTypes ¶ added in v0.0.46
func (c *Client) GetContentTypes(ctx context.Context, params GetContentTypesParams, options ...RequestOption) (GetContentTypesRes, error)
GetContentTypes invokes getContentTypes operation.
Get a collection of content types.
GET /spaces/{space_id}/environments/{environment_id}/content_types
func (*Client) GetDeliveryAPIKey ¶ added in v0.0.43
func (c *Client) GetDeliveryAPIKey(ctx context.Context, params GetDeliveryAPIKeyParams, options ...RequestOption) (GetDeliveryAPIKeyRes, error)
GetDeliveryAPIKey invokes getDeliveryAPIKey operation.
Get a single delivery api key.
GET /spaces/{space_id}/api_keys/{api_key_id}
func (*Client) GetEditorInterface ¶ added in v0.0.3
func (c *Client) GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams, options ...RequestOption) (GetEditorInterfaceRes, error)
GetEditorInterface invokes getEditorInterface operation.
Get the editor interface for a content type.
GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
func (*Client) GetEntries ¶ added in v0.0.46
func (c *Client) GetEntries(ctx context.Context, params GetEntriesParams, options ...RequestOption) (GetEntriesRes, error)
GetEntries invokes getEntries operation.
Get all entries of a space.
GET /spaces/{space_id}/environments/{environment_id}/entries
func (*Client) GetEntry ¶ added in v0.0.40
func (c *Client) GetEntry(ctx context.Context, params GetEntryParams, options ...RequestOption) (GetEntryRes, error)
GetEntry invokes getEntry operation.
Get a single entry.
GET /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
func (*Client) GetEnvironment ¶ added in v0.0.41
func (c *Client) GetEnvironment(ctx context.Context, params GetEnvironmentParams, options ...RequestOption) (GetEnvironmentRes, error)
GetEnvironment invokes getEnvironment operation.
Get a single environment.
GET /spaces/{space_id}/environments/{environment_id}
func (*Client) GetEnvironmentAlias ¶ added in v0.0.41
func (c *Client) GetEnvironmentAlias(ctx context.Context, params GetEnvironmentAliasParams, options ...RequestOption) (GetEnvironmentAliasRes, error)
GetEnvironmentAlias invokes getEnvironmentAlias operation.
Get a single environment alias.
GET /spaces/{space_id}/environment_aliases/{environment_alias_id}
func (*Client) GetExtension ¶ added in v0.0.29
func (c *Client) GetExtension(ctx context.Context, params GetExtensionParams, options ...RequestOption) (GetExtensionRes, error)
GetExtension invokes getExtension operation.
Get a single extension.
GET /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
func (*Client) GetMarketplaceAppDefinitions ¶ added in v0.0.34
func (c *Client) GetMarketplaceAppDefinitions(ctx context.Context, params GetMarketplaceAppDefinitionsParams, options ...RequestOption) (GetMarketplaceAppDefinitionsRes, error)
GetMarketplaceAppDefinitions invokes getMarketplaceAppDefinitions operation.
Get marketplace app definitions.
GET /app_definitions
func (*Client) GetPersonalAccessToken ¶ added in v0.0.12
func (c *Client) GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams, options ...RequestOption) (GetPersonalAccessTokenRes, error)
GetPersonalAccessToken invokes getPersonalAccessToken operation.
Get a single personal access token.
GET /users/me/access_tokens/{access_token_id}
func (*Client) GetPreviewAPIKey ¶ added in v0.0.43
func (c *Client) GetPreviewAPIKey(ctx context.Context, params GetPreviewAPIKeyParams, options ...RequestOption) (GetPreviewAPIKeyRes, error)
GetPreviewAPIKey invokes getPreviewAPIKey operation.
Get a single preview api key.
GET /spaces/{space_id}/preview_api_keys/{preview_api_key_id}
func (*Client) GetResourceProvider ¶ added in v0.0.37
func (c *Client) GetResourceProvider(ctx context.Context, params GetResourceProviderParams, options ...RequestOption) (GetResourceProviderRes, error)
GetResourceProvider invokes getResourceProvider operation.
Get one resource provider definition.
GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
func (*Client) GetResourceType ¶ added in v0.0.37
func (c *Client) GetResourceType(ctx context.Context, params GetResourceTypeParams, options ...RequestOption) (GetResourceTypeRes, error)
GetResourceType invokes getResourceType operation.
Get one resource type definition.
GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
func (*Client) GetRole ¶ added in v0.0.15
func (c *Client) GetRole(ctx context.Context, params GetRoleParams, options ...RequestOption) (GetRoleRes, error)
GetRole invokes getRole operation.
Get a role.
GET /spaces/{space_id}/roles/{role_id}
func (*Client) GetSpaceEnablements ¶ added in v0.0.20
func (c *Client) GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams, options ...RequestOption) (GetSpaceEnablementsRes, error)
GetSpaceEnablements invokes getSpaceEnablements operation.
Get enablements for a space.
GET /spaces/{space_id}/enablements
func (*Client) GetTag ¶ added in v0.0.50
func (c *Client) GetTag(ctx context.Context, params GetTagParams, options ...RequestOption) (GetTagRes, error)
GetTag invokes getTag operation.
Get a single tag.
GET /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
func (*Client) GetTeam ¶ added in v0.0.43
func (c *Client) GetTeam(ctx context.Context, params GetTeamParams, options ...RequestOption) (GetTeamRes, error)
GetTeam invokes getTeam operation.
Get a single team.
GET /organizations/{organization_id}/teams/{team_id}
func (*Client) GetTeamSpaceMembership ¶ added in v0.0.43
func (c *Client) GetTeamSpaceMembership(ctx context.Context, params GetTeamSpaceMembershipParams, options ...RequestOption) (GetTeamSpaceMembershipRes, error)
GetTeamSpaceMembership invokes getTeamSpaceMembership operation.
Get a single team space membership.
GET /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
func (*Client) GetWebhookDefinition ¶ added in v0.0.17
func (c *Client) GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams, options ...RequestOption) (GetWebhookDefinitionRes, error)
GetWebhookDefinition invokes getWebhookDefinition operation.
Get a webhook definition.
GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
func (*Client) PublishEntry ¶ added in v0.0.40
func (c *Client) PublishEntry(ctx context.Context, params PublishEntryParams, options ...RequestOption) (PublishEntryRes, error)
PublishEntry invokes publishEntry operation.
Publish an entry.
PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
func (*Client) PutAppDefinition ¶ added in v0.0.27
func (c *Client) PutAppDefinition(ctx context.Context, request *AppDefinitionData, params PutAppDefinitionParams, options ...RequestOption) (PutAppDefinitionRes, error)
PutAppDefinition invokes putAppDefinition operation.
Create or update an app definition.
PUT /organizations/{organization_id}/app_definitions/{app_definition_id}
func (*Client) PutAppInstallation ¶
func (c *Client) PutAppInstallation(ctx context.Context, request *AppInstallationData, params PutAppInstallationParams, options ...RequestOption) (PutAppInstallationRes, error)
PutAppInstallation invokes putAppInstallation operation.
Install or update an app.
PUT /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
func (*Client) PutAppSigningSecret ¶ added in v0.0.35
func (c *Client) PutAppSigningSecret(ctx context.Context, request *AppSigningSecretRequestData, params PutAppSigningSecretParams, options ...RequestOption) (PutAppSigningSecretRes, error)
PutAppSigningSecret invokes putAppSigningSecret operation.
Create or update an app signing secret.
PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
func (*Client) PutContentType ¶ added in v0.0.5
func (c *Client) PutContentType(ctx context.Context, request *ContentTypeRequestData, params PutContentTypeParams, options ...RequestOption) (PutContentTypeRes, error)
PutContentType invokes putContentType operation.
Update a content type.
PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
func (*Client) PutEditorInterface ¶ added in v0.0.3
func (c *Client) PutEditorInterface(ctx context.Context, request *EditorInterfaceData, params PutEditorInterfaceParams, options ...RequestOption) (PutEditorInterfaceRes, error)
PutEditorInterface invokes putEditorInterface operation.
Update the editor interface for a content type.
PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
func (*Client) PutEntry ¶ added in v0.0.40
func (c *Client) PutEntry(ctx context.Context, request *EntryRequest, params PutEntryParams, options ...RequestOption) (PutEntryRes, error)
PutEntry invokes putEntry operation.
Create or update an entry.
PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
func (*Client) PutExtension ¶ added in v0.0.29
func (c *Client) PutExtension(ctx context.Context, request *ExtensionData, params PutExtensionParams, options ...RequestOption) (PutExtensionRes, error)
PutExtension invokes putExtension operation.
Create or update an extension.
PUT /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
func (*Client) PutResourceProvider ¶ added in v0.0.37
func (c *Client) PutResourceProvider(ctx context.Context, request *ResourceProviderRequest, params PutResourceProviderParams, options ...RequestOption) (PutResourceProviderRes, error)
PutResourceProvider invokes putResourceProvider operation.
Create or update a resource provider definition.
PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
func (*Client) PutResourceType ¶ added in v0.0.37
func (c *Client) PutResourceType(ctx context.Context, request *ResourceTypeData, params PutResourceTypeParams, options ...RequestOption) (PutResourceTypeRes, error)
PutResourceType invokes putResourceType operation.
Create or update a resource type definition.
PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
func (*Client) PutSpaceEnablements ¶ added in v0.0.20
func (c *Client) PutSpaceEnablements(ctx context.Context, request *SpaceEnablementData, params PutSpaceEnablementsParams, options ...RequestOption) (PutSpaceEnablementsRes, error)
PutSpaceEnablements invokes putSpaceEnablements operation.
Update enablements for a space.
PUT /spaces/{space_id}/enablements
func (*Client) PutTag ¶ added in v0.0.50
func (c *Client) PutTag(ctx context.Context, request *TagRequest, params PutTagParams, options ...RequestOption) (PutTagRes, error)
PutTag invokes putTag operation.
Create or update a tag.
PUT /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
func (*Client) PutTeam ¶ added in v0.0.43
func (c *Client) PutTeam(ctx context.Context, request *TeamData, params PutTeamParams, options ...RequestOption) (PutTeamRes, error)
PutTeam invokes putTeam operation.
Update a single team.
PUT /organizations/{organization_id}/teams/{team_id}
func (*Client) PutTeamSpaceMembership ¶ added in v0.0.43
func (c *Client) PutTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, params PutTeamSpaceMembershipParams, options ...RequestOption) (PutTeamSpaceMembershipRes, error)
PutTeamSpaceMembership invokes putTeamSpaceMembership operation.
Update a single team space membership.
PUT /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
func (*Client) RevokePersonalAccessToken ¶ added in v0.0.12
func (c *Client) RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams, options ...RequestOption) (RevokePersonalAccessTokenRes, error)
RevokePersonalAccessToken invokes revokePersonalAccessToken operation.
Revoke a personal access token.
PUT /users/me/access_tokens/{access_token_id}/revoked
func (*Client) UnpublishEntry ¶ added in v0.0.40
func (c *Client) UnpublishEntry(ctx context.Context, params UnpublishEntryParams, options ...RequestOption) (UnpublishEntryRes, error)
UnpublishEntry invokes unpublishEntry operation.
Unpublish an entry.
DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
func (*Client) UpdateDeliveryAPIKey ¶ added in v0.0.43
func (c *Client) UpdateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, params UpdateDeliveryAPIKeyParams, options ...RequestOption) (UpdateDeliveryAPIKeyRes, error)
UpdateDeliveryAPIKey invokes updateDeliveryAPIKey operation.
Update a single delivery api key.
PUT /spaces/{space_id}/api_keys/{api_key_id}
func (*Client) UpdateRole ¶ added in v0.0.15
func (c *Client) UpdateRole(ctx context.Context, request *RoleData, params UpdateRoleParams, options ...RequestOption) (UpdateRoleRes, error)
UpdateRole invokes updateRole operation.
Update a role.
PUT /spaces/{space_id}/roles/{role_id}
func (*Client) UpdateWebhookDefinition ¶ added in v0.0.17
func (c *Client) UpdateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, params UpdateWebhookDefinitionParams, options ...RequestOption) (UpdateWebhookDefinitionRes, error)
UpdateWebhookDefinition invokes updateWebhookDefinition operation.
Update a webhook definition.
PUT /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type ContentType ¶ added in v0.0.5
type ContentType struct {
Sys ContentTypeSys `json:"sys"`
Name string `json:"name"`
// Merged property.
Description OptNilString `json:"description"`
// Merged property.
DisplayField NilString `json:"displayField"`
Fields []ContentTypeFieldsItem `json:"fields"`
Metadata OptContentTypeMetadata `json:"metadata"`
}
Merged schema. Ref: #/ContentType
func (*ContentType) Decode ¶ added in v0.0.5
func (s *ContentType) Decode(d *jx.Decoder) error
Decode decodes ContentType from json.
func (*ContentType) Encode ¶ added in v0.0.5
func (s *ContentType) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentType) GetDescription ¶ added in v0.0.5
func (s *ContentType) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*ContentType) GetDisplayField ¶ added in v0.0.5
func (s *ContentType) GetDisplayField() NilString
GetDisplayField returns the value of DisplayField.
func (*ContentType) GetFields ¶ added in v0.0.5
func (s *ContentType) GetFields() []ContentTypeFieldsItem
GetFields returns the value of Fields.
func (*ContentType) GetMetadata ¶ added in v0.0.24
func (s *ContentType) GetMetadata() OptContentTypeMetadata
GetMetadata returns the value of Metadata.
func (*ContentType) GetName ¶ added in v0.0.5
func (s *ContentType) GetName() string
GetName returns the value of Name.
func (*ContentType) GetSys ¶ added in v0.0.5
func (s *ContentType) GetSys() ContentTypeSys
GetSys returns the value of Sys.
func (*ContentType) MarshalJSON ¶ added in v0.0.5
func (s *ContentType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentType) SetDescription ¶ added in v0.0.5
func (s *ContentType) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*ContentType) SetDisplayField ¶ added in v0.0.5
func (s *ContentType) SetDisplayField(val NilString)
SetDisplayField sets the value of DisplayField.
func (*ContentType) SetFields ¶ added in v0.0.5
func (s *ContentType) SetFields(val []ContentTypeFieldsItem)
SetFields sets the value of Fields.
func (*ContentType) SetMetadata ¶ added in v0.0.24
func (s *ContentType) SetMetadata(val OptContentTypeMetadata)
SetMetadata sets the value of Metadata.
func (*ContentType) SetName ¶ added in v0.0.5
func (s *ContentType) SetName(val string)
SetName sets the value of Name.
func (*ContentType) SetSys ¶ added in v0.0.5
func (s *ContentType) SetSys(val ContentTypeSys)
SetSys sets the value of Sys.
func (*ContentType) UnmarshalJSON ¶ added in v0.0.5
func (s *ContentType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentType) Validate ¶ added in v0.0.5
func (s *ContentType) Validate() error
type ContentTypeCollection ¶ added in v0.0.46
type ContentTypeCollection struct {
Sys ContentTypeCollectionSys `json:"sys"`
Total OptInt `json:"total"`
Items []ContentType `json:"items"`
}
Ref: #/ContentTypeCollection
func (*ContentTypeCollection) Decode ¶ added in v0.0.46
func (s *ContentTypeCollection) Decode(d *jx.Decoder) error
Decode decodes ContentTypeCollection from json.
func (*ContentTypeCollection) Encode ¶ added in v0.0.46
func (s *ContentTypeCollection) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeCollection) GetItems ¶ added in v0.0.46
func (s *ContentTypeCollection) GetItems() []ContentType
GetItems returns the value of Items.
func (*ContentTypeCollection) GetSys ¶ added in v0.0.46
func (s *ContentTypeCollection) GetSys() ContentTypeCollectionSys
GetSys returns the value of Sys.
func (*ContentTypeCollection) GetTotal ¶ added in v0.0.46
func (s *ContentTypeCollection) GetTotal() OptInt
GetTotal returns the value of Total.
func (*ContentTypeCollection) MarshalJSON ¶ added in v0.0.46
func (s *ContentTypeCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeCollection) SetItems ¶ added in v0.0.46
func (s *ContentTypeCollection) SetItems(val []ContentType)
SetItems sets the value of Items.
func (*ContentTypeCollection) SetSys ¶ added in v0.0.46
func (s *ContentTypeCollection) SetSys(val ContentTypeCollectionSys)
SetSys sets the value of Sys.
func (*ContentTypeCollection) SetTotal ¶ added in v0.0.46
func (s *ContentTypeCollection) SetTotal(val OptInt)
SetTotal sets the value of Total.
func (*ContentTypeCollection) UnmarshalJSON ¶ added in v0.0.46
func (s *ContentTypeCollection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeCollection) Validate ¶ added in v0.0.46
func (s *ContentTypeCollection) Validate() error
type ContentTypeCollectionSys ¶ added in v0.0.46
type ContentTypeCollectionSys struct {
Type ContentTypeCollectionSysType `json:"type"`
}
func (*ContentTypeCollectionSys) Decode ¶ added in v0.0.46
func (s *ContentTypeCollectionSys) Decode(d *jx.Decoder) error
Decode decodes ContentTypeCollectionSys from json.
func (*ContentTypeCollectionSys) Encode ¶ added in v0.0.46
func (s *ContentTypeCollectionSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeCollectionSys) GetType ¶ added in v0.0.46
func (s *ContentTypeCollectionSys) GetType() ContentTypeCollectionSysType
GetType returns the value of Type.
func (*ContentTypeCollectionSys) MarshalJSON ¶ added in v0.0.46
func (s *ContentTypeCollectionSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeCollectionSys) SetType ¶ added in v0.0.46
func (s *ContentTypeCollectionSys) SetType(val ContentTypeCollectionSysType)
SetType sets the value of Type.
func (*ContentTypeCollectionSys) UnmarshalJSON ¶ added in v0.0.46
func (s *ContentTypeCollectionSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeCollectionSys) Validate ¶ added in v0.0.46
func (s *ContentTypeCollectionSys) Validate() error
type ContentTypeCollectionSysType ¶ added in v0.0.46
type ContentTypeCollectionSysType string
const (
ContentTypeCollectionSysTypeArray ContentTypeCollectionSysType = "Array"
)
func (ContentTypeCollectionSysType) AllValues ¶ added in v0.0.46
func (ContentTypeCollectionSysType) AllValues() []ContentTypeCollectionSysType
AllValues returns all ContentTypeCollectionSysType values.
func (*ContentTypeCollectionSysType) Decode ¶ added in v0.0.46
func (s *ContentTypeCollectionSysType) Decode(d *jx.Decoder) error
Decode decodes ContentTypeCollectionSysType from json.
func (ContentTypeCollectionSysType) Encode ¶ added in v0.0.46
func (s ContentTypeCollectionSysType) Encode(e *jx.Encoder)
Encode encodes ContentTypeCollectionSysType as json.
func (ContentTypeCollectionSysType) MarshalJSON ¶ added in v0.0.46
func (s ContentTypeCollectionSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ContentTypeCollectionSysType) MarshalText ¶ added in v0.0.46
func (s ContentTypeCollectionSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ContentTypeCollectionSysType) UnmarshalJSON ¶ added in v0.0.46
func (s *ContentTypeCollectionSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeCollectionSysType) UnmarshalText ¶ added in v0.0.46
func (s *ContentTypeCollectionSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ContentTypeCollectionSysType) Validate ¶ added in v0.0.46
func (s ContentTypeCollectionSysType) Validate() error
type ContentTypeFieldsItem ¶ added in v0.0.5
type ContentTypeFieldsItem struct {
ID string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
LinkType OptString `json:"linkType"`
Items OptContentTypeFieldsItemItems `json:"items"`
Localized OptBool `json:"localized"`
Omitted OptBool `json:"omitted"`
Required OptBool `json:"required"`
Disabled OptBool `json:"disabled"`
DefaultValue jx.Raw `json:"defaultValue"`
Validations []jx.Raw `json:"validations"`
AllowedResources OptNilResourceLinkArray `json:"allowedResources"`
}
func (*ContentTypeFieldsItem) Decode ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) Decode(d *jx.Decoder) error
Decode decodes ContentTypeFieldsItem from json.
func (*ContentTypeFieldsItem) Encode ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeFieldsItem) GetAllowedResources ¶ added in v0.0.22
func (s *ContentTypeFieldsItem) GetAllowedResources() OptNilResourceLinkArray
GetAllowedResources returns the value of AllowedResources.
func (*ContentTypeFieldsItem) GetDefaultValue ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetDefaultValue() jx.Raw
GetDefaultValue returns the value of DefaultValue.
func (*ContentTypeFieldsItem) GetDisabled ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetDisabled() OptBool
GetDisabled returns the value of Disabled.
func (*ContentTypeFieldsItem) GetID ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetID() string
GetID returns the value of ID.
func (*ContentTypeFieldsItem) GetItems ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetItems() OptContentTypeFieldsItemItems
GetItems returns the value of Items.
func (*ContentTypeFieldsItem) GetLinkType ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ContentTypeFieldsItem) GetLocalized ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetLocalized() OptBool
GetLocalized returns the value of Localized.
func (*ContentTypeFieldsItem) GetName ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetName() string
GetName returns the value of Name.
func (*ContentTypeFieldsItem) GetOmitted ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetOmitted() OptBool
GetOmitted returns the value of Omitted.
func (*ContentTypeFieldsItem) GetRequired ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetRequired() OptBool
GetRequired returns the value of Required.
func (*ContentTypeFieldsItem) GetType ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetType() string
GetType returns the value of Type.
func (*ContentTypeFieldsItem) GetValidations ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) GetValidations() []jx.Raw
GetValidations returns the value of Validations.
func (*ContentTypeFieldsItem) MarshalJSON ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeFieldsItem) SetAllowedResources ¶ added in v0.0.22
func (s *ContentTypeFieldsItem) SetAllowedResources(val OptNilResourceLinkArray)
SetAllowedResources sets the value of AllowedResources.
func (*ContentTypeFieldsItem) SetDefaultValue ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetDefaultValue(val jx.Raw)
SetDefaultValue sets the value of DefaultValue.
func (*ContentTypeFieldsItem) SetDisabled ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetDisabled(val OptBool)
SetDisabled sets the value of Disabled.
func (*ContentTypeFieldsItem) SetID ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetID(val string)
SetID sets the value of ID.
func (*ContentTypeFieldsItem) SetItems ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetItems(val OptContentTypeFieldsItemItems)
SetItems sets the value of Items.
func (*ContentTypeFieldsItem) SetLinkType ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ContentTypeFieldsItem) SetLocalized ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetLocalized(val OptBool)
SetLocalized sets the value of Localized.
func (*ContentTypeFieldsItem) SetName ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetName(val string)
SetName sets the value of Name.
func (*ContentTypeFieldsItem) SetOmitted ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetOmitted(val OptBool)
SetOmitted sets the value of Omitted.
func (*ContentTypeFieldsItem) SetRequired ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetRequired(val OptBool)
SetRequired sets the value of Required.
func (*ContentTypeFieldsItem) SetType ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetType(val string)
SetType sets the value of Type.
func (*ContentTypeFieldsItem) SetValidations ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) SetValidations(val []jx.Raw)
SetValidations sets the value of Validations.
func (*ContentTypeFieldsItem) UnmarshalJSON ¶ added in v0.0.5
func (s *ContentTypeFieldsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeFieldsItem) Validate ¶ added in v0.0.22
func (s *ContentTypeFieldsItem) Validate() error
type ContentTypeFieldsItemItems ¶ added in v0.0.5
type ContentTypeFieldsItemItems struct {
Type OptString `json:"type"`
LinkType OptString `json:"linkType"`
Validations []jx.Raw `json:"validations"`
}
func (*ContentTypeFieldsItemItems) Decode ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) Decode(d *jx.Decoder) error
Decode decodes ContentTypeFieldsItemItems from json.
func (*ContentTypeFieldsItemItems) Encode ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeFieldsItemItems) GetLinkType ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ContentTypeFieldsItemItems) GetType ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) GetType() OptString
GetType returns the value of Type.
func (*ContentTypeFieldsItemItems) GetValidations ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) GetValidations() []jx.Raw
GetValidations returns the value of Validations.
func (*ContentTypeFieldsItemItems) MarshalJSON ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeFieldsItemItems) SetLinkType ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ContentTypeFieldsItemItems) SetType ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) SetType(val OptString)
SetType sets the value of Type.
func (*ContentTypeFieldsItemItems) SetValidations ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) SetValidations(val []jx.Raw)
SetValidations sets the value of Validations.
func (*ContentTypeFieldsItemItems) UnmarshalJSON ¶ added in v0.0.5
func (s *ContentTypeFieldsItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ContentTypeLink ¶ added in v0.0.18
type ContentTypeLink struct {
Sys ContentTypeLinkSys `json:"sys"`
}
Ref: #/ContentTypeLink
func NewContentTypeLink ¶ added in v0.0.43
func NewContentTypeLink(id string) ContentTypeLink
func (*ContentTypeLink) Decode ¶ added in v0.0.18
func (s *ContentTypeLink) Decode(d *jx.Decoder) error
Decode decodes ContentTypeLink from json.
func (*ContentTypeLink) Encode ¶ added in v0.0.18
func (s *ContentTypeLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeLink) GetSys ¶ added in v0.0.18
func (s *ContentTypeLink) GetSys() ContentTypeLinkSys
GetSys returns the value of Sys.
func (*ContentTypeLink) MarshalJSON ¶ added in v0.0.18
func (s *ContentTypeLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeLink) SetSys ¶ added in v0.0.18
func (s *ContentTypeLink) SetSys(val ContentTypeLinkSys)
SetSys sets the value of Sys.
func (*ContentTypeLink) UnmarshalJSON ¶ added in v0.0.18
func (s *ContentTypeLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeLink) Validate ¶ added in v0.0.18
func (s *ContentTypeLink) Validate() error
type ContentTypeLinkSys ¶ added in v0.0.18
type ContentTypeLinkSys struct {
// Merged property.
Type ContentTypeLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType ContentTypeLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewContentTypeLinkSys ¶ added in v0.0.43
func NewContentTypeLinkSys(id string) ContentTypeLinkSys
func (*ContentTypeLinkSys) Decode ¶ added in v0.0.18
func (s *ContentTypeLinkSys) Decode(d *jx.Decoder) error
Decode decodes ContentTypeLinkSys from json.
func (*ContentTypeLinkSys) Encode ¶ added in v0.0.18
func (s *ContentTypeLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeLinkSys) GetID ¶ added in v0.0.18
func (s *ContentTypeLinkSys) GetID() string
GetID returns the value of ID.
func (*ContentTypeLinkSys) GetLinkType ¶ added in v0.0.18
func (s *ContentTypeLinkSys) GetLinkType() ContentTypeLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*ContentTypeLinkSys) GetType ¶ added in v0.0.18
func (s *ContentTypeLinkSys) GetType() ContentTypeLinkSysType
GetType returns the value of Type.
func (*ContentTypeLinkSys) MarshalJSON ¶ added in v0.0.18
func (s *ContentTypeLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeLinkSys) SetID ¶ added in v0.0.18
func (s *ContentTypeLinkSys) SetID(val string)
SetID sets the value of ID.
func (*ContentTypeLinkSys) SetLinkType ¶ added in v0.0.18
func (s *ContentTypeLinkSys) SetLinkType(val ContentTypeLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*ContentTypeLinkSys) SetType ¶ added in v0.0.18
func (s *ContentTypeLinkSys) SetType(val ContentTypeLinkSysType)
SetType sets the value of Type.
func (*ContentTypeLinkSys) UnmarshalJSON ¶ added in v0.0.18
func (s *ContentTypeLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeLinkSys) Validate ¶ added in v0.0.18
func (s *ContentTypeLinkSys) Validate() error
type ContentTypeLinkSysLinkType ¶ added in v0.0.18
type ContentTypeLinkSysLinkType string
Merged schema.
const (
ContentTypeLinkSysLinkTypeContentType ContentTypeLinkSysLinkType = "ContentType"
)
func (ContentTypeLinkSysLinkType) AllValues ¶ added in v0.0.18
func (ContentTypeLinkSysLinkType) AllValues() []ContentTypeLinkSysLinkType
AllValues returns all ContentTypeLinkSysLinkType values.
func (*ContentTypeLinkSysLinkType) Decode ¶ added in v0.0.18
func (s *ContentTypeLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes ContentTypeLinkSysLinkType from json.
func (ContentTypeLinkSysLinkType) Encode ¶ added in v0.0.18
func (s ContentTypeLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes ContentTypeLinkSysLinkType as json.
func (ContentTypeLinkSysLinkType) MarshalJSON ¶ added in v0.0.18
func (s ContentTypeLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ContentTypeLinkSysLinkType) MarshalText ¶ added in v0.0.18
func (s ContentTypeLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ContentTypeLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.18
func (s *ContentTypeLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeLinkSysLinkType) UnmarshalText ¶ added in v0.0.18
func (s *ContentTypeLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ContentTypeLinkSysLinkType) Validate ¶ added in v0.0.18
func (s ContentTypeLinkSysLinkType) Validate() error
type ContentTypeLinkSysType ¶ added in v0.0.18
type ContentTypeLinkSysType string
Merged schema.
const (
ContentTypeLinkSysTypeLink ContentTypeLinkSysType = "Link"
)
func (ContentTypeLinkSysType) AllValues ¶ added in v0.0.18
func (ContentTypeLinkSysType) AllValues() []ContentTypeLinkSysType
AllValues returns all ContentTypeLinkSysType values.
func (*ContentTypeLinkSysType) Decode ¶ added in v0.0.18
func (s *ContentTypeLinkSysType) Decode(d *jx.Decoder) error
Decode decodes ContentTypeLinkSysType from json.
func (ContentTypeLinkSysType) Encode ¶ added in v0.0.18
func (s ContentTypeLinkSysType) Encode(e *jx.Encoder)
Encode encodes ContentTypeLinkSysType as json.
func (ContentTypeLinkSysType) MarshalJSON ¶ added in v0.0.18
func (s ContentTypeLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ContentTypeLinkSysType) MarshalText ¶ added in v0.0.18
func (s ContentTypeLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ContentTypeLinkSysType) UnmarshalJSON ¶ added in v0.0.18
func (s *ContentTypeLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeLinkSysType) UnmarshalText ¶ added in v0.0.18
func (s *ContentTypeLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ContentTypeLinkSysType) Validate ¶ added in v0.0.18
func (s ContentTypeLinkSysType) Validate() error
type ContentTypeMetadata ¶ added in v0.0.24
type ContentTypeMetadata struct {
Annotations jx.Raw `json:"annotations"`
Taxonomy []ContentTypeMetadataTaxonomyItem `json:"taxonomy"`
}
Ref: #/ContentTypeMetadata
func (*ContentTypeMetadata) Decode ¶ added in v0.0.24
func (s *ContentTypeMetadata) Decode(d *jx.Decoder) error
Decode decodes ContentTypeMetadata from json.
func (*ContentTypeMetadata) Encode ¶ added in v0.0.24
func (s *ContentTypeMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeMetadata) GetAnnotations ¶ added in v0.0.24
func (s *ContentTypeMetadata) GetAnnotations() jx.Raw
GetAnnotations returns the value of Annotations.
func (*ContentTypeMetadata) GetTaxonomy ¶ added in v0.0.24
func (s *ContentTypeMetadata) GetTaxonomy() []ContentTypeMetadataTaxonomyItem
GetTaxonomy returns the value of Taxonomy.
func (*ContentTypeMetadata) MarshalJSON ¶ added in v0.0.24
func (s *ContentTypeMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeMetadata) SetAnnotations ¶ added in v0.0.24
func (s *ContentTypeMetadata) SetAnnotations(val jx.Raw)
SetAnnotations sets the value of Annotations.
func (*ContentTypeMetadata) SetTaxonomy ¶ added in v0.0.24
func (s *ContentTypeMetadata) SetTaxonomy(val []ContentTypeMetadataTaxonomyItem)
SetTaxonomy sets the value of Taxonomy.
func (*ContentTypeMetadata) UnmarshalJSON ¶ added in v0.0.24
func (s *ContentTypeMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeMetadata) Validate ¶ added in v0.0.24
func (s *ContentTypeMetadata) Validate() error
type ContentTypeMetadataTaxonomyItem ¶ added in v0.0.24
type ContentTypeMetadataTaxonomyItem struct {
Sys ContentTypeMetadataTaxonomyItemSys `json:"sys"`
Required OptBool `json:"required"`
}
Ref: #/ContentTypeMetadataTaxonomyItem
func (*ContentTypeMetadataTaxonomyItem) Decode ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) Decode(d *jx.Decoder) error
Decode decodes ContentTypeMetadataTaxonomyItem from json.
func (*ContentTypeMetadataTaxonomyItem) Encode ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeMetadataTaxonomyItem) GetRequired ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) GetRequired() OptBool
GetRequired returns the value of Required.
func (*ContentTypeMetadataTaxonomyItem) GetSys ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) GetSys() ContentTypeMetadataTaxonomyItemSys
GetSys returns the value of Sys.
func (*ContentTypeMetadataTaxonomyItem) MarshalJSON ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeMetadataTaxonomyItem) SetRequired ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) SetRequired(val OptBool)
SetRequired sets the value of Required.
func (*ContentTypeMetadataTaxonomyItem) SetSys ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) SetSys(val ContentTypeMetadataTaxonomyItemSys)
SetSys sets the value of Sys.
func (*ContentTypeMetadataTaxonomyItem) UnmarshalJSON ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeMetadataTaxonomyItem) Validate ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItem) Validate() error
type ContentTypeMetadataTaxonomyItemSys ¶ added in v0.0.24
type ContentTypeMetadataTaxonomyItemSys struct {
// Merged property.
Type ContentTypeMetadataTaxonomyItemSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType ContentTypeMetadataTaxonomyItemSysLinkType `json:"linkType"`
}
Merged schema.
func (*ContentTypeMetadataTaxonomyItemSys) Decode ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) Decode(d *jx.Decoder) error
Decode decodes ContentTypeMetadataTaxonomyItemSys from json.
func (*ContentTypeMetadataTaxonomyItemSys) Encode ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeMetadataTaxonomyItemSys) GetID ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) GetID() string
GetID returns the value of ID.
func (*ContentTypeMetadataTaxonomyItemSys) GetLinkType ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) GetLinkType() ContentTypeMetadataTaxonomyItemSysLinkType
GetLinkType returns the value of LinkType.
func (*ContentTypeMetadataTaxonomyItemSys) GetType ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) GetType() ContentTypeMetadataTaxonomyItemSysType
GetType returns the value of Type.
func (*ContentTypeMetadataTaxonomyItemSys) MarshalJSON ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeMetadataTaxonomyItemSys) SetID ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) SetID(val string)
SetID sets the value of ID.
func (*ContentTypeMetadataTaxonomyItemSys) SetLinkType ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) SetLinkType(val ContentTypeMetadataTaxonomyItemSysLinkType)
SetLinkType sets the value of LinkType.
func (*ContentTypeMetadataTaxonomyItemSys) SetType ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) SetType(val ContentTypeMetadataTaxonomyItemSysType)
SetType sets the value of Type.
func (*ContentTypeMetadataTaxonomyItemSys) UnmarshalJSON ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeMetadataTaxonomyItemSys) Validate ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSys) Validate() error
type ContentTypeMetadataTaxonomyItemSysLinkType ¶ added in v0.0.24
type ContentTypeMetadataTaxonomyItemSysLinkType string
Merged schema.
const ( ContentTypeMetadataTaxonomyItemSysLinkTypeTaxonomyConcept ContentTypeMetadataTaxonomyItemSysLinkType = "TaxonomyConcept" ContentTypeMetadataTaxonomyItemSysLinkTypeTaxonomyConceptScheme ContentTypeMetadataTaxonomyItemSysLinkType = "TaxonomyConceptScheme" )
func (ContentTypeMetadataTaxonomyItemSysLinkType) AllValues ¶ added in v0.0.24
func (ContentTypeMetadataTaxonomyItemSysLinkType) AllValues() []ContentTypeMetadataTaxonomyItemSysLinkType
AllValues returns all ContentTypeMetadataTaxonomyItemSysLinkType values.
func (*ContentTypeMetadataTaxonomyItemSysLinkType) Decode ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSysLinkType) Decode(d *jx.Decoder) error
Decode decodes ContentTypeMetadataTaxonomyItemSysLinkType from json.
func (ContentTypeMetadataTaxonomyItemSysLinkType) Encode ¶ added in v0.0.24
func (s ContentTypeMetadataTaxonomyItemSysLinkType) Encode(e *jx.Encoder)
Encode encodes ContentTypeMetadataTaxonomyItemSysLinkType as json.
func (ContentTypeMetadataTaxonomyItemSysLinkType) MarshalJSON ¶ added in v0.0.24
func (s ContentTypeMetadataTaxonomyItemSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ContentTypeMetadataTaxonomyItemSysLinkType) MarshalText ¶ added in v0.0.24
func (s ContentTypeMetadataTaxonomyItemSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ContentTypeMetadataTaxonomyItemSysLinkType) UnmarshalJSON ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeMetadataTaxonomyItemSysLinkType) UnmarshalText ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ContentTypeMetadataTaxonomyItemSysLinkType) Validate ¶ added in v0.0.24
func (s ContentTypeMetadataTaxonomyItemSysLinkType) Validate() error
type ContentTypeMetadataTaxonomyItemSysType ¶ added in v0.0.24
type ContentTypeMetadataTaxonomyItemSysType string
Merged schema.
const (
ContentTypeMetadataTaxonomyItemSysTypeLink ContentTypeMetadataTaxonomyItemSysType = "Link"
)
func (ContentTypeMetadataTaxonomyItemSysType) AllValues ¶ added in v0.0.24
func (ContentTypeMetadataTaxonomyItemSysType) AllValues() []ContentTypeMetadataTaxonomyItemSysType
AllValues returns all ContentTypeMetadataTaxonomyItemSysType values.
func (*ContentTypeMetadataTaxonomyItemSysType) Decode ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSysType) Decode(d *jx.Decoder) error
Decode decodes ContentTypeMetadataTaxonomyItemSysType from json.
func (ContentTypeMetadataTaxonomyItemSysType) Encode ¶ added in v0.0.24
func (s ContentTypeMetadataTaxonomyItemSysType) Encode(e *jx.Encoder)
Encode encodes ContentTypeMetadataTaxonomyItemSysType as json.
func (ContentTypeMetadataTaxonomyItemSysType) MarshalJSON ¶ added in v0.0.24
func (s ContentTypeMetadataTaxonomyItemSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ContentTypeMetadataTaxonomyItemSysType) MarshalText ¶ added in v0.0.24
func (s ContentTypeMetadataTaxonomyItemSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ContentTypeMetadataTaxonomyItemSysType) UnmarshalJSON ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeMetadataTaxonomyItemSysType) UnmarshalText ¶ added in v0.0.24
func (s *ContentTypeMetadataTaxonomyItemSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ContentTypeMetadataTaxonomyItemSysType) Validate ¶ added in v0.0.24
func (s ContentTypeMetadataTaxonomyItemSysType) Validate() error
type ContentTypeRequestData ¶ added in v0.0.42
type ContentTypeRequestData struct {
Name string `json:"name"`
Description OptNilString `json:"description"`
DisplayField string `json:"displayField"`
Fields []ContentTypeRequestDataFieldsItem `json:"fields"`
Metadata OptContentTypeMetadata `json:"metadata"`
}
Ref: #/ContentTypeRequestData
func (*ContentTypeRequestData) Decode ¶ added in v0.0.42
func (s *ContentTypeRequestData) Decode(d *jx.Decoder) error
Decode decodes ContentTypeRequestData from json.
func (*ContentTypeRequestData) Encode ¶ added in v0.0.42
func (s *ContentTypeRequestData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeRequestData) GetDescription ¶ added in v0.0.42
func (s *ContentTypeRequestData) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*ContentTypeRequestData) GetDisplayField ¶ added in v0.0.42
func (s *ContentTypeRequestData) GetDisplayField() string
GetDisplayField returns the value of DisplayField.
func (*ContentTypeRequestData) GetFields ¶ added in v0.0.42
func (s *ContentTypeRequestData) GetFields() []ContentTypeRequestDataFieldsItem
GetFields returns the value of Fields.
func (*ContentTypeRequestData) GetMetadata ¶ added in v0.0.42
func (s *ContentTypeRequestData) GetMetadata() OptContentTypeMetadata
GetMetadata returns the value of Metadata.
func (*ContentTypeRequestData) GetName ¶ added in v0.0.42
func (s *ContentTypeRequestData) GetName() string
GetName returns the value of Name.
func (*ContentTypeRequestData) MarshalJSON ¶ added in v0.0.42
func (s *ContentTypeRequestData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeRequestData) SetDescription ¶ added in v0.0.42
func (s *ContentTypeRequestData) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*ContentTypeRequestData) SetDisplayField ¶ added in v0.0.42
func (s *ContentTypeRequestData) SetDisplayField(val string)
SetDisplayField sets the value of DisplayField.
func (*ContentTypeRequestData) SetFields ¶ added in v0.0.42
func (s *ContentTypeRequestData) SetFields(val []ContentTypeRequestDataFieldsItem)
SetFields sets the value of Fields.
func (*ContentTypeRequestData) SetMetadata ¶ added in v0.0.42
func (s *ContentTypeRequestData) SetMetadata(val OptContentTypeMetadata)
SetMetadata sets the value of Metadata.
func (*ContentTypeRequestData) SetName ¶ added in v0.0.42
func (s *ContentTypeRequestData) SetName(val string)
SetName sets the value of Name.
func (*ContentTypeRequestData) UnmarshalJSON ¶ added in v0.0.42
func (s *ContentTypeRequestData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeRequestData) Validate ¶ added in v0.0.42
func (s *ContentTypeRequestData) Validate() error
type ContentTypeRequestDataFieldsItem ¶ added in v0.0.42
type ContentTypeRequestDataFieldsItem struct {
ID string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
LinkType OptString `json:"linkType"`
Items OptContentTypeRequestDataFieldsItemItems `json:"items"`
Localized OptBool `json:"localized"`
Omitted OptBool `json:"omitted"`
Required OptBool `json:"required"`
Disabled OptBool `json:"disabled"`
DefaultValue jx.Raw `json:"defaultValue"`
Validations []jx.Raw `json:"validations"`
AllowedResources OptNilResourceLinkArray `json:"allowedResources"`
}
func (*ContentTypeRequestDataFieldsItem) Decode ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) Decode(d *jx.Decoder) error
Decode decodes ContentTypeRequestDataFieldsItem from json.
func (*ContentTypeRequestDataFieldsItem) Encode ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeRequestDataFieldsItem) GetAllowedResources ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetAllowedResources() OptNilResourceLinkArray
GetAllowedResources returns the value of AllowedResources.
func (*ContentTypeRequestDataFieldsItem) GetDefaultValue ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetDefaultValue() jx.Raw
GetDefaultValue returns the value of DefaultValue.
func (*ContentTypeRequestDataFieldsItem) GetDisabled ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetDisabled() OptBool
GetDisabled returns the value of Disabled.
func (*ContentTypeRequestDataFieldsItem) GetID ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetID() string
GetID returns the value of ID.
func (*ContentTypeRequestDataFieldsItem) GetItems ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetItems() OptContentTypeRequestDataFieldsItemItems
GetItems returns the value of Items.
func (*ContentTypeRequestDataFieldsItem) GetLinkType ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ContentTypeRequestDataFieldsItem) GetLocalized ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetLocalized() OptBool
GetLocalized returns the value of Localized.
func (*ContentTypeRequestDataFieldsItem) GetName ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetName() string
GetName returns the value of Name.
func (*ContentTypeRequestDataFieldsItem) GetOmitted ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetOmitted() OptBool
GetOmitted returns the value of Omitted.
func (*ContentTypeRequestDataFieldsItem) GetRequired ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetRequired() OptBool
GetRequired returns the value of Required.
func (*ContentTypeRequestDataFieldsItem) GetType ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetType() string
GetType returns the value of Type.
func (*ContentTypeRequestDataFieldsItem) GetValidations ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) GetValidations() []jx.Raw
GetValidations returns the value of Validations.
func (*ContentTypeRequestDataFieldsItem) MarshalJSON ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeRequestDataFieldsItem) SetAllowedResources ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetAllowedResources(val OptNilResourceLinkArray)
SetAllowedResources sets the value of AllowedResources.
func (*ContentTypeRequestDataFieldsItem) SetDefaultValue ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetDefaultValue(val jx.Raw)
SetDefaultValue sets the value of DefaultValue.
func (*ContentTypeRequestDataFieldsItem) SetDisabled ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetDisabled(val OptBool)
SetDisabled sets the value of Disabled.
func (*ContentTypeRequestDataFieldsItem) SetID ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetID(val string)
SetID sets the value of ID.
func (*ContentTypeRequestDataFieldsItem) SetItems ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetItems(val OptContentTypeRequestDataFieldsItemItems)
SetItems sets the value of Items.
func (*ContentTypeRequestDataFieldsItem) SetLinkType ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ContentTypeRequestDataFieldsItem) SetLocalized ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetLocalized(val OptBool)
SetLocalized sets the value of Localized.
func (*ContentTypeRequestDataFieldsItem) SetName ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetName(val string)
SetName sets the value of Name.
func (*ContentTypeRequestDataFieldsItem) SetOmitted ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetOmitted(val OptBool)
SetOmitted sets the value of Omitted.
func (*ContentTypeRequestDataFieldsItem) SetRequired ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetRequired(val OptBool)
SetRequired sets the value of Required.
func (*ContentTypeRequestDataFieldsItem) SetType ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetType(val string)
SetType sets the value of Type.
func (*ContentTypeRequestDataFieldsItem) SetValidations ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) SetValidations(val []jx.Raw)
SetValidations sets the value of Validations.
func (*ContentTypeRequestDataFieldsItem) UnmarshalJSON ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeRequestDataFieldsItem) Validate ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItem) Validate() error
type ContentTypeRequestDataFieldsItemItems ¶ added in v0.0.42
type ContentTypeRequestDataFieldsItemItems struct {
Type OptString `json:"type"`
LinkType OptString `json:"linkType"`
Validations []jx.Raw `json:"validations"`
}
func (*ContentTypeRequestDataFieldsItemItems) Decode ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) Decode(d *jx.Decoder) error
Decode decodes ContentTypeRequestDataFieldsItemItems from json.
func (*ContentTypeRequestDataFieldsItemItems) Encode ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeRequestDataFieldsItemItems) GetLinkType ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ContentTypeRequestDataFieldsItemItems) GetType ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) GetType() OptString
GetType returns the value of Type.
func (*ContentTypeRequestDataFieldsItemItems) GetValidations ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) GetValidations() []jx.Raw
GetValidations returns the value of Validations.
func (*ContentTypeRequestDataFieldsItemItems) MarshalJSON ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeRequestDataFieldsItemItems) SetLinkType ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ContentTypeRequestDataFieldsItemItems) SetType ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) SetType(val OptString)
SetType sets the value of Type.
func (*ContentTypeRequestDataFieldsItemItems) SetValidations ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) SetValidations(val []jx.Raw)
SetValidations sets the value of Validations.
func (*ContentTypeRequestDataFieldsItemItems) UnmarshalJSON ¶ added in v0.0.42
func (s *ContentTypeRequestDataFieldsItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ContentTypeStatusCode ¶ added in v0.0.24
type ContentTypeStatusCode struct {
StatusCode int
Response ContentType
}
ContentTypeStatusCode wraps ContentType with StatusCode.
func (*ContentTypeStatusCode) GetResponse ¶ added in v0.0.24
func (s *ContentTypeStatusCode) GetResponse() ContentType
GetResponse returns the value of Response.
func (*ContentTypeStatusCode) GetStatusCode ¶ added in v0.0.24
func (s *ContentTypeStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ContentTypeStatusCode) SetResponse ¶ added in v0.0.24
func (s *ContentTypeStatusCode) SetResponse(val ContentType)
SetResponse sets the value of Response.
func (*ContentTypeStatusCode) SetStatusCode ¶ added in v0.0.24
func (s *ContentTypeStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*ContentTypeStatusCode) Validate ¶ added in v0.0.24
func (s *ContentTypeStatusCode) Validate() error
type ContentTypeSys ¶ added in v0.0.5
type ContentTypeSys struct {
Space SpaceLink `json:"space"`
Environment EnvironmentLink `json:"environment"`
// Merged property.
Type ContentTypeSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
PublishedVersion OptInt `json:"publishedVersion"`
PublishedAt OptDateTime `json:"publishedAt"`
}
Merged schema. Ref: #/ContentTypeSys
func NewContentTypeSys ¶ added in v0.0.43
func NewContentTypeSys(spaceID, environmentID, contentTypeID string) ContentTypeSys
func (*ContentTypeSys) Decode ¶ added in v0.0.5
func (s *ContentTypeSys) Decode(d *jx.Decoder) error
Decode decodes ContentTypeSys from json.
func (*ContentTypeSys) Encode ¶ added in v0.0.5
func (s *ContentTypeSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeSys) GetEnvironment ¶ added in v0.0.18
func (s *ContentTypeSys) GetEnvironment() EnvironmentLink
GetEnvironment returns the value of Environment.
func (*ContentTypeSys) GetID ¶ added in v0.0.5
func (s *ContentTypeSys) GetID() string
GetID returns the value of ID.
func (*ContentTypeSys) GetPublishedAt ¶ added in v0.0.5
func (s *ContentTypeSys) GetPublishedAt() OptDateTime
GetPublishedAt returns the value of PublishedAt.
func (*ContentTypeSys) GetPublishedVersion ¶ added in v0.0.5
func (s *ContentTypeSys) GetPublishedVersion() OptInt
GetPublishedVersion returns the value of PublishedVersion.
func (*ContentTypeSys) GetSpace ¶ added in v0.0.18
func (s *ContentTypeSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*ContentTypeSys) GetType ¶ added in v0.0.5
func (s *ContentTypeSys) GetType() ContentTypeSysType
GetType returns the value of Type.
func (*ContentTypeSys) GetVersion ¶ added in v0.0.5
func (s *ContentTypeSys) GetVersion() int
GetVersion returns the value of Version.
func (*ContentTypeSys) MarshalJSON ¶ added in v0.0.5
func (s *ContentTypeSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeSys) SetEnvironment ¶ added in v0.0.18
func (s *ContentTypeSys) SetEnvironment(val EnvironmentLink)
SetEnvironment sets the value of Environment.
func (*ContentTypeSys) SetID ¶ added in v0.0.5
func (s *ContentTypeSys) SetID(val string)
SetID sets the value of ID.
func (*ContentTypeSys) SetPublishedAt ¶ added in v0.0.5
func (s *ContentTypeSys) SetPublishedAt(val OptDateTime)
SetPublishedAt sets the value of PublishedAt.
func (*ContentTypeSys) SetPublishedVersion ¶ added in v0.0.5
func (s *ContentTypeSys) SetPublishedVersion(val OptInt)
SetPublishedVersion sets the value of PublishedVersion.
func (*ContentTypeSys) SetSpace ¶ added in v0.0.18
func (s *ContentTypeSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*ContentTypeSys) SetType ¶ added in v0.0.5
func (s *ContentTypeSys) SetType(val ContentTypeSysType)
SetType sets the value of Type.
func (*ContentTypeSys) SetVersion ¶ added in v0.0.5
func (s *ContentTypeSys) SetVersion(val int)
SetVersion sets the value of Version.
func (*ContentTypeSys) UnmarshalJSON ¶ added in v0.0.5
func (s *ContentTypeSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeSys) Validate ¶ added in v0.0.5
func (s *ContentTypeSys) Validate() error
type ContentTypeSysType ¶ added in v0.0.5
type ContentTypeSysType string
Merged schema.
const (
ContentTypeSysTypeContentType ContentTypeSysType = "ContentType"
)
func (ContentTypeSysType) AllValues ¶ added in v0.0.5
func (ContentTypeSysType) AllValues() []ContentTypeSysType
AllValues returns all ContentTypeSysType values.
func (*ContentTypeSysType) Decode ¶ added in v0.0.5
func (s *ContentTypeSysType) Decode(d *jx.Decoder) error
Decode decodes ContentTypeSysType from json.
func (ContentTypeSysType) Encode ¶ added in v0.0.5
func (s ContentTypeSysType) Encode(e *jx.Encoder)
Encode encodes ContentTypeSysType as json.
func (ContentTypeSysType) MarshalJSON ¶ added in v0.0.5
func (s ContentTypeSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ContentTypeSysType) MarshalText ¶ added in v0.0.5
func (s ContentTypeSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ContentTypeSysType) UnmarshalJSON ¶ added in v0.0.5
func (s *ContentTypeSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeSysType) UnmarshalText ¶ added in v0.0.5
func (s *ContentTypeSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ContentTypeSysType) Validate ¶ added in v0.0.5
func (s ContentTypeSysType) Validate() error
type ContentfulEntryResourceLink ¶ added in v0.0.22
type ContentfulEntryResourceLink struct {
Type ContentfulEntryResourceLinkType `json:"type"`
Source string `json:"source"`
ContentTypes []string `json:"contentTypes"`
}
Ref: #/ContentfulEntryResourceLink
func (*ContentfulEntryResourceLink) Decode ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) Decode(d *jx.Decoder) error
Decode decodes ContentfulEntryResourceLink from json.
func (*ContentfulEntryResourceLink) Encode ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentfulEntryResourceLink) GetContentTypes ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) GetContentTypes() []string
GetContentTypes returns the value of ContentTypes.
func (*ContentfulEntryResourceLink) GetSource ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) GetSource() string
GetSource returns the value of Source.
func (*ContentfulEntryResourceLink) GetType ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) GetType() ContentfulEntryResourceLinkType
GetType returns the value of Type.
func (*ContentfulEntryResourceLink) MarshalJSON ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentfulEntryResourceLink) SetContentTypes ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) SetContentTypes(val []string)
SetContentTypes sets the value of ContentTypes.
func (*ContentfulEntryResourceLink) SetSource ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) SetSource(val string)
SetSource sets the value of Source.
func (*ContentfulEntryResourceLink) SetType ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) SetType(val ContentfulEntryResourceLinkType)
SetType sets the value of Type.
func (*ContentfulEntryResourceLink) UnmarshalJSON ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentfulEntryResourceLink) Validate ¶ added in v0.0.22
func (s *ContentfulEntryResourceLink) Validate() error
type ContentfulEntryResourceLinkType ¶ added in v0.0.22
type ContentfulEntryResourceLinkType string
const (
ContentfulEntryResourceLinkTypeContentfulEntry ContentfulEntryResourceLinkType = "Contentful:Entry"
)
func (ContentfulEntryResourceLinkType) AllValues ¶ added in v0.0.22
func (ContentfulEntryResourceLinkType) AllValues() []ContentfulEntryResourceLinkType
AllValues returns all ContentfulEntryResourceLinkType values.
func (*ContentfulEntryResourceLinkType) Decode ¶ added in v0.0.22
func (s *ContentfulEntryResourceLinkType) Decode(d *jx.Decoder) error
Decode decodes ContentfulEntryResourceLinkType from json.
func (ContentfulEntryResourceLinkType) Encode ¶ added in v0.0.22
func (s ContentfulEntryResourceLinkType) Encode(e *jx.Encoder)
Encode encodes ContentfulEntryResourceLinkType as json.
func (ContentfulEntryResourceLinkType) MarshalJSON ¶ added in v0.0.22
func (s ContentfulEntryResourceLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ContentfulEntryResourceLinkType) MarshalText ¶ added in v0.0.22
func (s ContentfulEntryResourceLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ContentfulEntryResourceLinkType) UnmarshalJSON ¶ added in v0.0.22
func (s *ContentfulEntryResourceLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentfulEntryResourceLinkType) UnmarshalText ¶ added in v0.0.22
func (s *ContentfulEntryResourceLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ContentfulEntryResourceLinkType) Validate ¶ added in v0.0.22
func (s ContentfulEntryResourceLinkType) Validate() error
type CreateAppDefinitionParams ¶ added in v0.0.27
type CreateAppDefinitionParams struct {
OrganizationID string
}
CreateAppDefinitionParams is parameters of createAppDefinition operation.
type CreateAppDefinitionRes ¶ added in v0.0.27
type CreateAppDefinitionRes interface {
// contains filtered or unexported methods
}
type CreateDeliveryAPIKeyParams ¶ added in v0.0.43
type CreateDeliveryAPIKeyParams struct {
SpaceID string
}
CreateDeliveryAPIKeyParams is parameters of createDeliveryAPIKey operation.
type CreateDeliveryAPIKeyRes ¶ added in v0.0.43
type CreateDeliveryAPIKeyRes interface {
// contains filtered or unexported methods
}
type CreateEntryParams ¶ added in v0.0.40
CreateEntryParams is parameters of createEntry operation.
type CreateEntryRes ¶ added in v0.0.40
type CreateEntryRes interface {
// contains filtered or unexported methods
}
type CreateOrUpdateEnvironmentAliasParams ¶ added in v0.0.41
type CreateOrUpdateEnvironmentAliasParams struct {
XContentfulVersion int
SpaceID string
EnvironmentAliasID string
}
CreateOrUpdateEnvironmentAliasParams is parameters of createOrUpdateEnvironmentAlias operation.
type CreateOrUpdateEnvironmentAliasRes ¶ added in v0.0.41
type CreateOrUpdateEnvironmentAliasRes interface {
// contains filtered or unexported methods
}
type CreateOrUpdateEnvironmentParams ¶ added in v0.0.41
type CreateOrUpdateEnvironmentParams struct {
XContentfulSourceEnvironment OptString `json:",omitempty,omitzero"`
XContentfulVersion OptInt `json:",omitempty,omitzero"`
SpaceID string
EnvironmentID string
}
CreateOrUpdateEnvironmentParams is parameters of createOrUpdateEnvironment operation.
type CreateOrUpdateEnvironmentRes ¶ added in v0.0.41
type CreateOrUpdateEnvironmentRes interface {
// contains filtered or unexported methods
}
type CreatePersonalAccessTokenRes ¶ added in v0.0.12
type CreatePersonalAccessTokenRes interface {
// contains filtered or unexported methods
}
type CreateRoleParams ¶ added in v0.0.15
type CreateRoleParams struct {
SpaceID string
}
CreateRoleParams is parameters of createRole operation.
type CreateRoleRes ¶ added in v0.0.15
type CreateRoleRes interface {
// contains filtered or unexported methods
}
type CreateTeamParams ¶ added in v0.0.43
type CreateTeamParams struct {
OrganizationID string
}
CreateTeamParams is parameters of createTeam operation.
type CreateTeamRes ¶ added in v0.0.43
type CreateTeamRes interface {
// contains filtered or unexported methods
}
type CreateTeamSpaceMembershipParams ¶ added in v0.0.43
CreateTeamSpaceMembershipParams is parameters of createTeamSpaceMembership operation.
type CreateTeamSpaceMembershipRes ¶ added in v0.0.43
type CreateTeamSpaceMembershipRes interface {
// contains filtered or unexported methods
}
type CreateWebhookDefinitionParams ¶ added in v0.0.17
type CreateWebhookDefinitionParams struct {
SpaceID string
}
CreateWebhookDefinitionParams is parameters of createWebhookDefinition operation.
type CreateWebhookDefinitionRes ¶ added in v0.0.17
type CreateWebhookDefinitionRes interface {
// contains filtered or unexported methods
}
type DeactivateContentTypeParams ¶ added in v0.0.5
type DeactivateContentTypeParams struct {
SpaceID string
EnvironmentID string
ContentTypeID string
}
DeactivateContentTypeParams is parameters of deactivateContentType operation.
type DeactivateContentTypeRes ¶ added in v0.0.5
type DeactivateContentTypeRes interface {
// contains filtered or unexported methods
}
type DeleteAppDefinitionParams ¶ added in v0.0.27
DeleteAppDefinitionParams is parameters of deleteAppDefinition operation.
type DeleteAppDefinitionRes ¶ added in v0.0.27
type DeleteAppDefinitionRes interface {
// contains filtered or unexported methods
}
type DeleteAppInstallationParams ¶
type DeleteAppInstallationParams struct {
SpaceID string
EnvironmentID string
AppDefinitionID string
}
DeleteAppInstallationParams is parameters of deleteAppInstallation operation.
type DeleteAppInstallationRes ¶
type DeleteAppInstallationRes interface {
// contains filtered or unexported methods
}
type DeleteAppSigningSecretParams ¶ added in v0.0.35
DeleteAppSigningSecretParams is parameters of deleteAppSigningSecret operation.
type DeleteAppSigningSecretRes ¶ added in v0.0.35
type DeleteAppSigningSecretRes interface {
// contains filtered or unexported methods
}
type DeleteContentTypeParams ¶ added in v0.0.5
DeleteContentTypeParams is parameters of deleteContentType operation.
type DeleteContentTypeRes ¶ added in v0.0.5
type DeleteContentTypeRes interface {
// contains filtered or unexported methods
}
type DeleteDeliveryAPIKeyParams ¶ added in v0.0.43
DeleteDeliveryAPIKeyParams is parameters of deleteDeliveryAPIKey operation.
type DeleteDeliveryAPIKeyRes ¶ added in v0.0.43
type DeleteDeliveryAPIKeyRes interface {
// contains filtered or unexported methods
}
type DeleteEntryParams ¶ added in v0.0.40
DeleteEntryParams is parameters of deleteEntry operation.
type DeleteEntryRes ¶ added in v0.0.40
type DeleteEntryRes interface {
// contains filtered or unexported methods
}
type DeleteEnvironmentAliasParams ¶ added in v0.0.41
DeleteEnvironmentAliasParams is parameters of deleteEnvironmentAlias operation.
type DeleteEnvironmentAliasRes ¶ added in v0.0.41
type DeleteEnvironmentAliasRes interface {
// contains filtered or unexported methods
}
type DeleteEnvironmentParams ¶ added in v0.0.41
DeleteEnvironmentParams is parameters of deleteEnvironment operation.
type DeleteEnvironmentRes ¶ added in v0.0.41
type DeleteEnvironmentRes interface {
// contains filtered or unexported methods
}
type DeleteExtensionParams ¶ added in v0.0.29
DeleteExtensionParams is parameters of deleteExtension operation.
type DeleteExtensionRes ¶ added in v0.0.29
type DeleteExtensionRes interface {
// contains filtered or unexported methods
}
type DeleteResourceProviderParams ¶ added in v0.0.37
DeleteResourceProviderParams is parameters of deleteResourceProvider operation.
type DeleteResourceProviderRes ¶ added in v0.0.37
type DeleteResourceProviderRes interface {
// contains filtered or unexported methods
}
type DeleteResourceTypeParams ¶ added in v0.0.37
type DeleteResourceTypeParams struct {
OrganizationID string
AppDefinitionID string
ResourceTypeID string
}
DeleteResourceTypeParams is parameters of deleteResourceType operation.
type DeleteResourceTypeRes ¶ added in v0.0.37
type DeleteResourceTypeRes interface {
// contains filtered or unexported methods
}
type DeleteRoleParams ¶ added in v0.0.15
DeleteRoleParams is parameters of deleteRole operation.
type DeleteRoleRes ¶ added in v0.0.15
type DeleteRoleRes interface {
// contains filtered or unexported methods
}
type DeleteTagParams ¶ added in v0.0.50
type DeleteTagParams struct {
SpaceID string
EnvironmentID string
TagID string
XContentfulVersion OptInt `json:",omitempty,omitzero"`
}
DeleteTagParams is parameters of deleteTag operation.
type DeleteTagRes ¶ added in v0.0.50
type DeleteTagRes interface {
// contains filtered or unexported methods
}
type DeleteTeamParams ¶ added in v0.0.43
DeleteTeamParams is parameters of deleteTeam operation.
type DeleteTeamRes ¶ added in v0.0.43
type DeleteTeamRes interface {
// contains filtered or unexported methods
}
type DeleteTeamSpaceMembershipParams ¶ added in v0.0.43
DeleteTeamSpaceMembershipParams is parameters of deleteTeamSpaceMembership operation.
type DeleteTeamSpaceMembershipRes ¶ added in v0.0.43
type DeleteTeamSpaceMembershipRes interface {
// contains filtered or unexported methods
}
type DeleteWebhookDefinitionParams ¶ added in v0.0.17
DeleteWebhookDefinitionParams is parameters of deleteWebhookDefinition operation.
type DeleteWebhookDefinitionRes ¶ added in v0.0.17
type DeleteWebhookDefinitionRes interface {
// contains filtered or unexported methods
}
type EditorInterface ¶ added in v0.0.3
type EditorInterface struct {
Sys EditorInterfaceSys `json:"sys"`
EditorLayout OptNilEditorInterfaceEditorLayoutItemArray `json:"editorLayout"`
Controls OptNilEditorInterfaceControlsItemArray `json:"controls"`
GroupControls OptNilEditorInterfaceGroupControlsItemArray `json:"groupControls"`
Sidebar OptNilEditorInterfaceSidebarItemArray `json:"sidebar"`
}
Merged schema. Ref: #/EditorInterface
func (*EditorInterface) Decode ¶ added in v0.0.3
func (s *EditorInterface) Decode(d *jx.Decoder) error
Decode decodes EditorInterface from json.
func (*EditorInterface) Encode ¶ added in v0.0.3
func (s *EditorInterface) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterface) GetControls ¶ added in v0.0.3
func (s *EditorInterface) GetControls() OptNilEditorInterfaceControlsItemArray
GetControls returns the value of Controls.
func (*EditorInterface) GetEditorLayout ¶ added in v0.0.16
func (s *EditorInterface) GetEditorLayout() OptNilEditorInterfaceEditorLayoutItemArray
GetEditorLayout returns the value of EditorLayout.
func (*EditorInterface) GetGroupControls ¶ added in v0.0.16
func (s *EditorInterface) GetGroupControls() OptNilEditorInterfaceGroupControlsItemArray
GetGroupControls returns the value of GroupControls.
func (*EditorInterface) GetSidebar ¶ added in v0.0.3
func (s *EditorInterface) GetSidebar() OptNilEditorInterfaceSidebarItemArray
GetSidebar returns the value of Sidebar.
func (*EditorInterface) GetSys ¶ added in v0.0.3
func (s *EditorInterface) GetSys() EditorInterfaceSys
GetSys returns the value of Sys.
func (*EditorInterface) MarshalJSON ¶ added in v0.0.3
func (s *EditorInterface) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterface) SetControls ¶ added in v0.0.3
func (s *EditorInterface) SetControls(val OptNilEditorInterfaceControlsItemArray)
SetControls sets the value of Controls.
func (*EditorInterface) SetEditorLayout ¶ added in v0.0.16
func (s *EditorInterface) SetEditorLayout(val OptNilEditorInterfaceEditorLayoutItemArray)
SetEditorLayout sets the value of EditorLayout.
func (*EditorInterface) SetGroupControls ¶ added in v0.0.16
func (s *EditorInterface) SetGroupControls(val OptNilEditorInterfaceGroupControlsItemArray)
SetGroupControls sets the value of GroupControls.
func (*EditorInterface) SetSidebar ¶ added in v0.0.3
func (s *EditorInterface) SetSidebar(val OptNilEditorInterfaceSidebarItemArray)
SetSidebar sets the value of Sidebar.
func (*EditorInterface) SetSys ¶ added in v0.0.3
func (s *EditorInterface) SetSys(val EditorInterfaceSys)
SetSys sets the value of Sys.
func (*EditorInterface) UnmarshalJSON ¶ added in v0.0.3
func (s *EditorInterface) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EditorInterface) Validate ¶ added in v0.0.3
func (s *EditorInterface) Validate() error
type EditorInterfaceControlsItem ¶ added in v0.0.3
type EditorInterfaceControlsItem struct {
FieldId string `json:"fieldId"`
WidgetNamespace OptString `json:"widgetNamespace"`
WidgetId OptString `json:"widgetId"`
Settings jx.Raw `json:"settings"`
}
func (*EditorInterfaceControlsItem) Decode ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceControlsItem from json.
func (*EditorInterfaceControlsItem) Encode ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceControlsItem) GetFieldId ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) GetFieldId() string
GetFieldId returns the value of FieldId.
func (*EditorInterfaceControlsItem) GetSettings ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceControlsItem) GetWidgetId ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) GetWidgetId() OptString
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceControlsItem) GetWidgetNamespace ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) GetWidgetNamespace() OptString
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceControlsItem) MarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceControlsItem) SetFieldId ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) SetFieldId(val string)
SetFieldId sets the value of FieldId.
func (*EditorInterfaceControlsItem) SetSettings ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceControlsItem) SetWidgetId ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) SetWidgetId(val OptString)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceControlsItem) SetWidgetNamespace ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) SetWidgetNamespace(val OptString)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceControlsItem) UnmarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceControlsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceData ¶ added in v0.0.42
type EditorInterfaceData struct {
EditorLayout OptNilEditorInterfaceEditorLayoutItemArray `json:"editorLayout"`
Controls OptNilEditorInterfaceDataControlsItemArray `json:"controls"`
GroupControls OptNilEditorInterfaceDataGroupControlsItemArray `json:"groupControls"`
Sidebar OptNilEditorInterfaceDataSidebarItemArray `json:"sidebar"`
}
Ref: #/EditorInterfaceData
func (*EditorInterfaceData) Decode ¶ added in v0.0.42
func (s *EditorInterfaceData) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceData from json.
func (*EditorInterfaceData) Encode ¶ added in v0.0.42
func (s *EditorInterfaceData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceData) GetControls ¶ added in v0.0.42
func (s *EditorInterfaceData) GetControls() OptNilEditorInterfaceDataControlsItemArray
GetControls returns the value of Controls.
func (*EditorInterfaceData) GetEditorLayout ¶ added in v0.0.42
func (s *EditorInterfaceData) GetEditorLayout() OptNilEditorInterfaceEditorLayoutItemArray
GetEditorLayout returns the value of EditorLayout.
func (*EditorInterfaceData) GetGroupControls ¶ added in v0.0.42
func (s *EditorInterfaceData) GetGroupControls() OptNilEditorInterfaceDataGroupControlsItemArray
GetGroupControls returns the value of GroupControls.
func (*EditorInterfaceData) GetSidebar ¶ added in v0.0.42
func (s *EditorInterfaceData) GetSidebar() OptNilEditorInterfaceDataSidebarItemArray
GetSidebar returns the value of Sidebar.
func (*EditorInterfaceData) MarshalJSON ¶ added in v0.0.42
func (s *EditorInterfaceData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceData) SetControls ¶ added in v0.0.42
func (s *EditorInterfaceData) SetControls(val OptNilEditorInterfaceDataControlsItemArray)
SetControls sets the value of Controls.
func (*EditorInterfaceData) SetEditorLayout ¶ added in v0.0.42
func (s *EditorInterfaceData) SetEditorLayout(val OptNilEditorInterfaceEditorLayoutItemArray)
SetEditorLayout sets the value of EditorLayout.
func (*EditorInterfaceData) SetGroupControls ¶ added in v0.0.42
func (s *EditorInterfaceData) SetGroupControls(val OptNilEditorInterfaceDataGroupControlsItemArray)
SetGroupControls sets the value of GroupControls.
func (*EditorInterfaceData) SetSidebar ¶ added in v0.0.42
func (s *EditorInterfaceData) SetSidebar(val OptNilEditorInterfaceDataSidebarItemArray)
SetSidebar sets the value of Sidebar.
func (*EditorInterfaceData) UnmarshalJSON ¶ added in v0.0.42
func (s *EditorInterfaceData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EditorInterfaceData) Validate ¶ added in v0.0.42
func (s *EditorInterfaceData) Validate() error
type EditorInterfaceDataControlsItem ¶ added in v0.0.42
type EditorInterfaceDataControlsItem struct {
FieldId string `json:"fieldId"`
WidgetNamespace OptString `json:"widgetNamespace"`
WidgetId OptString `json:"widgetId"`
Settings jx.Raw `json:"settings"`
}
func (*EditorInterfaceDataControlsItem) Decode ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceDataControlsItem from json.
func (*EditorInterfaceDataControlsItem) Encode ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceDataControlsItem) GetFieldId ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) GetFieldId() string
GetFieldId returns the value of FieldId.
func (*EditorInterfaceDataControlsItem) GetSettings ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceDataControlsItem) GetWidgetId ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) GetWidgetId() OptString
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceDataControlsItem) GetWidgetNamespace ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) GetWidgetNamespace() OptString
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceDataControlsItem) MarshalJSON ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceDataControlsItem) SetFieldId ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) SetFieldId(val string)
SetFieldId sets the value of FieldId.
func (*EditorInterfaceDataControlsItem) SetSettings ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceDataControlsItem) SetWidgetId ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) SetWidgetId(val OptString)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceDataControlsItem) SetWidgetNamespace ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) SetWidgetNamespace(val OptString)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceDataControlsItem) UnmarshalJSON ¶ added in v0.0.42
func (s *EditorInterfaceDataControlsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceDataGroupControlsItem ¶ added in v0.0.42
type EditorInterfaceDataGroupControlsItem struct {
GroupId string `json:"groupId"`
WidgetNamespace OptString `json:"widgetNamespace"`
WidgetId OptString `json:"widgetId"`
Settings jx.Raw `json:"settings"`
}
func (*EditorInterfaceDataGroupControlsItem) Decode ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceDataGroupControlsItem from json.
func (*EditorInterfaceDataGroupControlsItem) Encode ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceDataGroupControlsItem) GetGroupId ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) GetGroupId() string
GetGroupId returns the value of GroupId.
func (*EditorInterfaceDataGroupControlsItem) GetSettings ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceDataGroupControlsItem) GetWidgetId ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) GetWidgetId() OptString
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceDataGroupControlsItem) GetWidgetNamespace ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) GetWidgetNamespace() OptString
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceDataGroupControlsItem) MarshalJSON ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceDataGroupControlsItem) SetGroupId ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) SetGroupId(val string)
SetGroupId sets the value of GroupId.
func (*EditorInterfaceDataGroupControlsItem) SetSettings ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceDataGroupControlsItem) SetWidgetId ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) SetWidgetId(val OptString)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceDataGroupControlsItem) SetWidgetNamespace ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) SetWidgetNamespace(val OptString)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceDataGroupControlsItem) UnmarshalJSON ¶ added in v0.0.42
func (s *EditorInterfaceDataGroupControlsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceDataSidebarItem ¶ added in v0.0.42
type EditorInterfaceDataSidebarItem struct {
WidgetNamespace string `json:"widgetNamespace"`
WidgetId string `json:"widgetId"`
Settings jx.Raw `json:"settings"`
Disabled OptBool `json:"disabled"`
}
func (*EditorInterfaceDataSidebarItem) Decode ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceDataSidebarItem from json.
func (*EditorInterfaceDataSidebarItem) Encode ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceDataSidebarItem) GetDisabled ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) GetDisabled() OptBool
GetDisabled returns the value of Disabled.
func (*EditorInterfaceDataSidebarItem) GetSettings ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceDataSidebarItem) GetWidgetId ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) GetWidgetId() string
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceDataSidebarItem) GetWidgetNamespace ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) GetWidgetNamespace() string
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceDataSidebarItem) MarshalJSON ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceDataSidebarItem) SetDisabled ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) SetDisabled(val OptBool)
SetDisabled sets the value of Disabled.
func (*EditorInterfaceDataSidebarItem) SetSettings ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceDataSidebarItem) SetWidgetId ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) SetWidgetId(val string)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceDataSidebarItem) SetWidgetNamespace ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) SetWidgetNamespace(val string)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceDataSidebarItem) UnmarshalJSON ¶ added in v0.0.42
func (s *EditorInterfaceDataSidebarItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceEditorLayoutFieldItem ¶ added in v0.0.21
type EditorInterfaceEditorLayoutFieldItem struct {
FieldId string `json:"fieldId"`
}
Ref: #/EditorInterfaceEditorLayoutFieldItem
func (*EditorInterfaceEditorLayoutFieldItem) Decode ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutFieldItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceEditorLayoutFieldItem from json.
func (*EditorInterfaceEditorLayoutFieldItem) Encode ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutFieldItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceEditorLayoutFieldItem) GetFieldId ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutFieldItem) GetFieldId() string
GetFieldId returns the value of FieldId.
func (*EditorInterfaceEditorLayoutFieldItem) MarshalJSON ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutFieldItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceEditorLayoutFieldItem) SetFieldId ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutFieldItem) SetFieldId(val string)
SetFieldId sets the value of FieldId.
func (*EditorInterfaceEditorLayoutFieldItem) UnmarshalJSON ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutFieldItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceEditorLayoutGroupItem ¶ added in v0.0.21
type EditorInterfaceEditorLayoutGroupItem struct {
GroupId string `json:"groupId"`
Name string `json:"name"`
Items []EditorInterfaceEditorLayoutItem `json:"items"`
}
Ref: #/EditorInterfaceEditorLayoutGroupItem
func (*EditorInterfaceEditorLayoutGroupItem) Decode ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceEditorLayoutGroupItem from json.
func (*EditorInterfaceEditorLayoutGroupItem) Encode ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceEditorLayoutGroupItem) GetGroupId ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) GetGroupId() string
GetGroupId returns the value of GroupId.
func (*EditorInterfaceEditorLayoutGroupItem) GetItems ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) GetItems() []EditorInterfaceEditorLayoutItem
GetItems returns the value of Items.
func (*EditorInterfaceEditorLayoutGroupItem) GetName ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) GetName() string
GetName returns the value of Name.
func (*EditorInterfaceEditorLayoutGroupItem) MarshalJSON ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceEditorLayoutGroupItem) SetGroupId ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) SetGroupId(val string)
SetGroupId sets the value of GroupId.
func (*EditorInterfaceEditorLayoutGroupItem) SetItems ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) SetItems(val []EditorInterfaceEditorLayoutItem)
SetItems sets the value of Items.
func (*EditorInterfaceEditorLayoutGroupItem) SetName ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) SetName(val string)
SetName sets the value of Name.
func (*EditorInterfaceEditorLayoutGroupItem) UnmarshalJSON ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutGroupItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceEditorLayoutItem ¶ added in v0.0.16
type EditorInterfaceEditorLayoutItem struct {
Type EditorInterfaceEditorLayoutItemType // switch on this field
EditorInterfaceEditorLayoutGroupItem EditorInterfaceEditorLayoutGroupItem
EditorInterfaceEditorLayoutFieldItem EditorInterfaceEditorLayoutFieldItem
}
Ref: #/EditorInterfaceEditorLayoutItem EditorInterfaceEditorLayoutItem represents sum type.
func NewEditorInterfaceEditorLayoutFieldItemEditorInterfaceEditorLayoutItem ¶ added in v0.0.21
func NewEditorInterfaceEditorLayoutFieldItemEditorInterfaceEditorLayoutItem(v EditorInterfaceEditorLayoutFieldItem) EditorInterfaceEditorLayoutItem
NewEditorInterfaceEditorLayoutFieldItemEditorInterfaceEditorLayoutItem returns new EditorInterfaceEditorLayoutItem from EditorInterfaceEditorLayoutFieldItem.
func NewEditorInterfaceEditorLayoutGroupItemEditorInterfaceEditorLayoutItem ¶ added in v0.0.21
func NewEditorInterfaceEditorLayoutGroupItemEditorInterfaceEditorLayoutItem(v EditorInterfaceEditorLayoutGroupItem) EditorInterfaceEditorLayoutItem
NewEditorInterfaceEditorLayoutGroupItemEditorInterfaceEditorLayoutItem returns new EditorInterfaceEditorLayoutItem from EditorInterfaceEditorLayoutGroupItem.
func (*EditorInterfaceEditorLayoutItem) Decode ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceEditorLayoutItem from json.
func (EditorInterfaceEditorLayoutItem) Encode ¶ added in v0.0.16
func (s EditorInterfaceEditorLayoutItem) Encode(e *jx.Encoder)
Encode encodes EditorInterfaceEditorLayoutItem as json.
func (EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutFieldItem ¶ added in v0.0.21
func (s EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutFieldItem() (v EditorInterfaceEditorLayoutFieldItem, ok bool)
GetEditorInterfaceEditorLayoutFieldItem returns EditorInterfaceEditorLayoutFieldItem and true boolean if EditorInterfaceEditorLayoutItem is EditorInterfaceEditorLayoutFieldItem.
func (EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutGroupItem ¶ added in v0.0.21
func (s EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutGroupItem() (v EditorInterfaceEditorLayoutGroupItem, ok bool)
GetEditorInterfaceEditorLayoutGroupItem returns EditorInterfaceEditorLayoutGroupItem and true boolean if EditorInterfaceEditorLayoutItem is EditorInterfaceEditorLayoutGroupItem.
func (EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutFieldItem ¶ added in v0.0.21
func (s EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutFieldItem() bool
IsEditorInterfaceEditorLayoutFieldItem reports whether EditorInterfaceEditorLayoutItem is EditorInterfaceEditorLayoutFieldItem.
func (EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutGroupItem ¶ added in v0.0.21
func (s EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutGroupItem() bool
IsEditorInterfaceEditorLayoutGroupItem reports whether EditorInterfaceEditorLayoutItem is EditorInterfaceEditorLayoutGroupItem.
func (EditorInterfaceEditorLayoutItem) MarshalJSON ¶ added in v0.0.16
func (s EditorInterfaceEditorLayoutItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutFieldItem ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutFieldItem(v EditorInterfaceEditorLayoutFieldItem)
SetEditorInterfaceEditorLayoutFieldItem sets EditorInterfaceEditorLayoutItem to EditorInterfaceEditorLayoutFieldItem.
func (*EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutGroupItem ¶ added in v0.0.21
func (s *EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutGroupItem(v EditorInterfaceEditorLayoutGroupItem)
SetEditorInterfaceEditorLayoutGroupItem sets EditorInterfaceEditorLayoutItem to EditorInterfaceEditorLayoutGroupItem.
func (*EditorInterfaceEditorLayoutItem) UnmarshalJSON ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceEditorLayoutItemType ¶ added in v0.0.21
type EditorInterfaceEditorLayoutItemType string
EditorInterfaceEditorLayoutItemType is oneOf type of EditorInterfaceEditorLayoutItem.
const ( EditorInterfaceEditorLayoutGroupItemEditorInterfaceEditorLayoutItem EditorInterfaceEditorLayoutItemType = "EditorInterfaceEditorLayoutGroupItem" EditorInterfaceEditorLayoutFieldItemEditorInterfaceEditorLayoutItem EditorInterfaceEditorLayoutItemType = "EditorInterfaceEditorLayoutFieldItem" )
Possible values for EditorInterfaceEditorLayoutItemType.
type EditorInterfaceGroupControlsItem ¶ added in v0.0.16
type EditorInterfaceGroupControlsItem struct {
GroupId string `json:"groupId"`
WidgetNamespace OptString `json:"widgetNamespace"`
WidgetId OptString `json:"widgetId"`
Settings jx.Raw `json:"settings"`
}
func (*EditorInterfaceGroupControlsItem) Decode ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceGroupControlsItem from json.
func (*EditorInterfaceGroupControlsItem) Encode ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceGroupControlsItem) GetGroupId ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) GetGroupId() string
GetGroupId returns the value of GroupId.
func (*EditorInterfaceGroupControlsItem) GetSettings ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceGroupControlsItem) GetWidgetId ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) GetWidgetId() OptString
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceGroupControlsItem) GetWidgetNamespace ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) GetWidgetNamespace() OptString
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceGroupControlsItem) MarshalJSON ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceGroupControlsItem) SetGroupId ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) SetGroupId(val string)
SetGroupId sets the value of GroupId.
func (*EditorInterfaceGroupControlsItem) SetSettings ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceGroupControlsItem) SetWidgetId ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) SetWidgetId(val OptString)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceGroupControlsItem) SetWidgetNamespace ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) SetWidgetNamespace(val OptString)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceGroupControlsItem) UnmarshalJSON ¶ added in v0.0.16
func (s *EditorInterfaceGroupControlsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceSidebarItem ¶ added in v0.0.3
type EditorInterfaceSidebarItem struct {
WidgetNamespace string `json:"widgetNamespace"`
WidgetId string `json:"widgetId"`
Settings jx.Raw `json:"settings"`
Disabled OptBool `json:"disabled"`
}
func (*EditorInterfaceSidebarItem) Decode ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceSidebarItem from json.
func (*EditorInterfaceSidebarItem) Encode ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceSidebarItem) GetDisabled ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) GetDisabled() OptBool
GetDisabled returns the value of Disabled.
func (*EditorInterfaceSidebarItem) GetSettings ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceSidebarItem) GetWidgetId ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) GetWidgetId() string
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceSidebarItem) GetWidgetNamespace ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) GetWidgetNamespace() string
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceSidebarItem) MarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceSidebarItem) SetDisabled ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) SetDisabled(val OptBool)
SetDisabled sets the value of Disabled.
func (*EditorInterfaceSidebarItem) SetSettings ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceSidebarItem) SetWidgetId ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) SetWidgetId(val string)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceSidebarItem) SetWidgetNamespace ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) SetWidgetNamespace(val string)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceSidebarItem) UnmarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceStatusCode ¶ added in v0.0.24
type EditorInterfaceStatusCode struct {
StatusCode int
Response EditorInterface
}
EditorInterfaceStatusCode wraps EditorInterface with StatusCode.
func (*EditorInterfaceStatusCode) GetResponse ¶ added in v0.0.24
func (s *EditorInterfaceStatusCode) GetResponse() EditorInterface
GetResponse returns the value of Response.
func (*EditorInterfaceStatusCode) GetStatusCode ¶ added in v0.0.24
func (s *EditorInterfaceStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*EditorInterfaceStatusCode) SetResponse ¶ added in v0.0.24
func (s *EditorInterfaceStatusCode) SetResponse(val EditorInterface)
SetResponse sets the value of Response.
func (*EditorInterfaceStatusCode) SetStatusCode ¶ added in v0.0.24
func (s *EditorInterfaceStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*EditorInterfaceStatusCode) Validate ¶ added in v0.0.24
func (s *EditorInterfaceStatusCode) Validate() error
type EditorInterfaceSys ¶ added in v0.0.3
type EditorInterfaceSys struct {
Space SpaceLink `json:"space"`
Environment EnvironmentLink `json:"environment"`
// Merged property.
Type EditorInterfaceSysType `json:"type"`
ID string `json:"id"`
ContentType ContentTypeLink `json:"contentType"`
Version int `json:"version"`
}
Merged schema. Ref: #/EditorInterfaceSys
func NewEditorInterfaceSys ¶ added in v0.0.43
func NewEditorInterfaceSys(spaceID, environmentID, contentTypeID, id string) EditorInterfaceSys
func (*EditorInterfaceSys) Decode ¶ added in v0.0.3
func (s *EditorInterfaceSys) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceSys from json.
func (*EditorInterfaceSys) Encode ¶ added in v0.0.3
func (s *EditorInterfaceSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceSys) GetContentType ¶ added in v0.0.18
func (s *EditorInterfaceSys) GetContentType() ContentTypeLink
GetContentType returns the value of ContentType.
func (*EditorInterfaceSys) GetEnvironment ¶ added in v0.0.18
func (s *EditorInterfaceSys) GetEnvironment() EnvironmentLink
GetEnvironment returns the value of Environment.
func (*EditorInterfaceSys) GetID ¶ added in v0.0.3
func (s *EditorInterfaceSys) GetID() string
GetID returns the value of ID.
func (*EditorInterfaceSys) GetSpace ¶ added in v0.0.18
func (s *EditorInterfaceSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*EditorInterfaceSys) GetType ¶ added in v0.0.3
func (s *EditorInterfaceSys) GetType() EditorInterfaceSysType
GetType returns the value of Type.
func (*EditorInterfaceSys) GetVersion ¶ added in v0.0.3
func (s *EditorInterfaceSys) GetVersion() int
GetVersion returns the value of Version.
func (*EditorInterfaceSys) MarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceSys) SetContentType ¶ added in v0.0.18
func (s *EditorInterfaceSys) SetContentType(val ContentTypeLink)
SetContentType sets the value of ContentType.
func (*EditorInterfaceSys) SetEnvironment ¶ added in v0.0.18
func (s *EditorInterfaceSys) SetEnvironment(val EnvironmentLink)
SetEnvironment sets the value of Environment.
func (*EditorInterfaceSys) SetID ¶ added in v0.0.3
func (s *EditorInterfaceSys) SetID(val string)
SetID sets the value of ID.
func (*EditorInterfaceSys) SetSpace ¶ added in v0.0.18
func (s *EditorInterfaceSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*EditorInterfaceSys) SetType ¶ added in v0.0.3
func (s *EditorInterfaceSys) SetType(val EditorInterfaceSysType)
SetType sets the value of Type.
func (*EditorInterfaceSys) SetVersion ¶ added in v0.0.3
func (s *EditorInterfaceSys) SetVersion(val int)
SetVersion sets the value of Version.
func (*EditorInterfaceSys) UnmarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EditorInterfaceSys) Validate ¶ added in v0.0.3
func (s *EditorInterfaceSys) Validate() error
type EditorInterfaceSysType ¶ added in v0.0.3
type EditorInterfaceSysType string
Merged schema.
const (
EditorInterfaceSysTypeEditorInterface EditorInterfaceSysType = "EditorInterface"
)
func (EditorInterfaceSysType) AllValues ¶ added in v0.0.3
func (EditorInterfaceSysType) AllValues() []EditorInterfaceSysType
AllValues returns all EditorInterfaceSysType values.
func (*EditorInterfaceSysType) Decode ¶ added in v0.0.3
func (s *EditorInterfaceSysType) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceSysType from json.
func (EditorInterfaceSysType) Encode ¶ added in v0.0.3
func (s EditorInterfaceSysType) Encode(e *jx.Encoder)
Encode encodes EditorInterfaceSysType as json.
func (EditorInterfaceSysType) MarshalJSON ¶ added in v0.0.3
func (s EditorInterfaceSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EditorInterfaceSysType) MarshalText ¶ added in v0.0.3
func (s EditorInterfaceSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EditorInterfaceSysType) UnmarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EditorInterfaceSysType) UnmarshalText ¶ added in v0.0.3
func (s *EditorInterfaceSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EditorInterfaceSysType) Validate ¶ added in v0.0.3
func (s EditorInterfaceSysType) Validate() error
type Entry ¶ added in v0.0.40
type Entry struct {
Sys EntrySys `json:"sys"`
Metadata OptEntryMetadata `json:"metadata"`
Fields OptEntryFields `json:"fields"`
}
Ref: #/Entry
func (*Entry) GetFields ¶ added in v0.0.40
func (s *Entry) GetFields() OptEntryFields
GetFields returns the value of Fields.
func (*Entry) GetMetadata ¶ added in v0.0.40
func (s *Entry) GetMetadata() OptEntryMetadata
GetMetadata returns the value of Metadata.
func (*Entry) MarshalJSON ¶ added in v0.0.40
MarshalJSON implements stdjson.Marshaler.
func (*Entry) SetFields ¶ added in v0.0.40
func (s *Entry) SetFields(val OptEntryFields)
SetFields sets the value of Fields.
func (*Entry) SetMetadata ¶ added in v0.0.40
func (s *Entry) SetMetadata(val OptEntryMetadata)
SetMetadata sets the value of Metadata.
func (*Entry) UnmarshalJSON ¶ added in v0.0.40
UnmarshalJSON implements stdjson.Unmarshaler.
type EntryCollection ¶ added in v0.0.46
type EntryCollection struct {
Sys EntryCollectionSys `json:"sys"`
Total OptInt `json:"total"`
Items []Entry `json:"items"`
}
Ref: #/EntryCollection
func (*EntryCollection) Decode ¶ added in v0.0.46
func (s *EntryCollection) Decode(d *jx.Decoder) error
Decode decodes EntryCollection from json.
func (*EntryCollection) Encode ¶ added in v0.0.46
func (s *EntryCollection) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntryCollection) GetItems ¶ added in v0.0.46
func (s *EntryCollection) GetItems() []Entry
GetItems returns the value of Items.
func (*EntryCollection) GetSys ¶ added in v0.0.46
func (s *EntryCollection) GetSys() EntryCollectionSys
GetSys returns the value of Sys.
func (*EntryCollection) GetTotal ¶ added in v0.0.46
func (s *EntryCollection) GetTotal() OptInt
GetTotal returns the value of Total.
func (*EntryCollection) MarshalJSON ¶ added in v0.0.46
func (s *EntryCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntryCollection) SetItems ¶ added in v0.0.46
func (s *EntryCollection) SetItems(val []Entry)
SetItems sets the value of Items.
func (*EntryCollection) SetSys ¶ added in v0.0.46
func (s *EntryCollection) SetSys(val EntryCollectionSys)
SetSys sets the value of Sys.
func (*EntryCollection) SetTotal ¶ added in v0.0.46
func (s *EntryCollection) SetTotal(val OptInt)
SetTotal sets the value of Total.
func (*EntryCollection) UnmarshalJSON ¶ added in v0.0.46
func (s *EntryCollection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntryCollection) Validate ¶ added in v0.0.46
func (s *EntryCollection) Validate() error
type EntryCollectionSys ¶ added in v0.0.46
type EntryCollectionSys struct {
Type EntryCollectionSysType `json:"type"`
}
func (*EntryCollectionSys) Decode ¶ added in v0.0.46
func (s *EntryCollectionSys) Decode(d *jx.Decoder) error
Decode decodes EntryCollectionSys from json.
func (*EntryCollectionSys) Encode ¶ added in v0.0.46
func (s *EntryCollectionSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntryCollectionSys) GetType ¶ added in v0.0.46
func (s *EntryCollectionSys) GetType() EntryCollectionSysType
GetType returns the value of Type.
func (*EntryCollectionSys) MarshalJSON ¶ added in v0.0.46
func (s *EntryCollectionSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntryCollectionSys) SetType ¶ added in v0.0.46
func (s *EntryCollectionSys) SetType(val EntryCollectionSysType)
SetType sets the value of Type.
func (*EntryCollectionSys) UnmarshalJSON ¶ added in v0.0.46
func (s *EntryCollectionSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntryCollectionSys) Validate ¶ added in v0.0.46
func (s *EntryCollectionSys) Validate() error
type EntryCollectionSysType ¶ added in v0.0.46
type EntryCollectionSysType string
const (
EntryCollectionSysTypeArray EntryCollectionSysType = "Array"
)
func (EntryCollectionSysType) AllValues ¶ added in v0.0.46
func (EntryCollectionSysType) AllValues() []EntryCollectionSysType
AllValues returns all EntryCollectionSysType values.
func (*EntryCollectionSysType) Decode ¶ added in v0.0.46
func (s *EntryCollectionSysType) Decode(d *jx.Decoder) error
Decode decodes EntryCollectionSysType from json.
func (EntryCollectionSysType) Encode ¶ added in v0.0.46
func (s EntryCollectionSysType) Encode(e *jx.Encoder)
Encode encodes EntryCollectionSysType as json.
func (EntryCollectionSysType) MarshalJSON ¶ added in v0.0.46
func (s EntryCollectionSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EntryCollectionSysType) MarshalText ¶ added in v0.0.46
func (s EntryCollectionSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EntryCollectionSysType) UnmarshalJSON ¶ added in v0.0.46
func (s *EntryCollectionSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntryCollectionSysType) UnmarshalText ¶ added in v0.0.46
func (s *EntryCollectionSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EntryCollectionSysType) Validate ¶ added in v0.0.46
func (s EntryCollectionSysType) Validate() error
type EntryFields ¶ added in v0.0.40
Ref: #/EntryFields
func (*EntryFields) Decode ¶ added in v0.0.40
func (s *EntryFields) Decode(d *jx.Decoder) error
Decode decodes EntryFields from json.
func (EntryFields) Encode ¶ added in v0.0.40
func (s EntryFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (EntryFields) MarshalJSON ¶ added in v0.0.40
func (s EntryFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntryFields) UnmarshalJSON ¶ added in v0.0.40
func (s *EntryFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EntryMetadata ¶ added in v0.0.40
type EntryMetadata struct {
Concepts []TaxonomyConceptLink `json:"concepts"`
Tags []TagLink `json:"tags"`
}
Ref: #/EntryMetadata
func (*EntryMetadata) Decode ¶ added in v0.0.40
func (s *EntryMetadata) Decode(d *jx.Decoder) error
Decode decodes EntryMetadata from json.
func (*EntryMetadata) Encode ¶ added in v0.0.40
func (s *EntryMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntryMetadata) GetConcepts ¶ added in v0.0.46
func (s *EntryMetadata) GetConcepts() []TaxonomyConceptLink
GetConcepts returns the value of Concepts.
func (*EntryMetadata) GetTags ¶ added in v0.0.40
func (s *EntryMetadata) GetTags() []TagLink
GetTags returns the value of Tags.
func (*EntryMetadata) MarshalJSON ¶ added in v0.0.40
func (s *EntryMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntryMetadata) SetConcepts ¶ added in v0.0.46
func (s *EntryMetadata) SetConcepts(val []TaxonomyConceptLink)
SetConcepts sets the value of Concepts.
func (*EntryMetadata) SetTags ¶ added in v0.0.40
func (s *EntryMetadata) SetTags(val []TagLink)
SetTags sets the value of Tags.
func (*EntryMetadata) UnmarshalJSON ¶ added in v0.0.40
func (s *EntryMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntryMetadata) Validate ¶ added in v0.0.40
func (s *EntryMetadata) Validate() error
type EntryRequest ¶ added in v0.0.40
type EntryRequest struct {
Metadata OptEntryMetadata `json:"metadata"`
Fields OptEntryFields `json:"fields"`
}
Ref: #/EntryRequest
func (*EntryRequest) Decode ¶ added in v0.0.40
func (s *EntryRequest) Decode(d *jx.Decoder) error
Decode decodes EntryRequest from json.
func (*EntryRequest) Encode ¶ added in v0.0.40
func (s *EntryRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntryRequest) GetFields ¶ added in v0.0.40
func (s *EntryRequest) GetFields() OptEntryFields
GetFields returns the value of Fields.
func (*EntryRequest) GetMetadata ¶ added in v0.0.40
func (s *EntryRequest) GetMetadata() OptEntryMetadata
GetMetadata returns the value of Metadata.
func (*EntryRequest) MarshalJSON ¶ added in v0.0.40
func (s *EntryRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntryRequest) SetFields ¶ added in v0.0.40
func (s *EntryRequest) SetFields(val OptEntryFields)
SetFields sets the value of Fields.
func (*EntryRequest) SetMetadata ¶ added in v0.0.40
func (s *EntryRequest) SetMetadata(val OptEntryMetadata)
SetMetadata sets the value of Metadata.
func (*EntryRequest) UnmarshalJSON ¶ added in v0.0.40
func (s *EntryRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntryRequest) Validate ¶ added in v0.0.40
func (s *EntryRequest) Validate() error
type EntryStatusCode ¶ added in v0.0.40
EntryStatusCode wraps Entry with StatusCode.
func (*EntryStatusCode) GetResponse ¶ added in v0.0.40
func (s *EntryStatusCode) GetResponse() Entry
GetResponse returns the value of Response.
func (*EntryStatusCode) GetStatusCode ¶ added in v0.0.40
func (s *EntryStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*EntryStatusCode) SetResponse ¶ added in v0.0.40
func (s *EntryStatusCode) SetResponse(val Entry)
SetResponse sets the value of Response.
func (*EntryStatusCode) SetStatusCode ¶ added in v0.0.40
func (s *EntryStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*EntryStatusCode) Validate ¶ added in v0.0.40
func (s *EntryStatusCode) Validate() error
type EntrySys ¶ added in v0.0.40
type EntrySys struct {
Space SpaceLink `json:"space"`
Environment EnvironmentLink `json:"environment"`
// Merged property.
Type EntrySysType `json:"type"`
ID string `json:"id"`
ContentType ContentTypeLink `json:"contentType"`
Version int `json:"version"`
PublishedVersion OptInt `json:"publishedVersion"`
PublishedAt OptDateTime `json:"publishedAt"`
}
Merged schema. Ref: #/EntrySys
func NewEntrySys ¶ added in v0.0.43
func (*EntrySys) GetContentType ¶ added in v0.0.40
func (s *EntrySys) GetContentType() ContentTypeLink
GetContentType returns the value of ContentType.
func (*EntrySys) GetEnvironment ¶ added in v0.0.40
func (s *EntrySys) GetEnvironment() EnvironmentLink
GetEnvironment returns the value of Environment.
func (*EntrySys) GetPublishedAt ¶ added in v0.0.40
func (s *EntrySys) GetPublishedAt() OptDateTime
GetPublishedAt returns the value of PublishedAt.
func (*EntrySys) GetPublishedVersion ¶ added in v0.0.40
GetPublishedVersion returns the value of PublishedVersion.
func (*EntrySys) GetType ¶ added in v0.0.40
func (s *EntrySys) GetType() EntrySysType
GetType returns the value of Type.
func (*EntrySys) GetVersion ¶ added in v0.0.40
GetVersion returns the value of Version.
func (*EntrySys) MarshalJSON ¶ added in v0.0.40
MarshalJSON implements stdjson.Marshaler.
func (*EntrySys) SetContentType ¶ added in v0.0.40
func (s *EntrySys) SetContentType(val ContentTypeLink)
SetContentType sets the value of ContentType.
func (*EntrySys) SetEnvironment ¶ added in v0.0.40
func (s *EntrySys) SetEnvironment(val EnvironmentLink)
SetEnvironment sets the value of Environment.
func (*EntrySys) SetPublishedAt ¶ added in v0.0.40
func (s *EntrySys) SetPublishedAt(val OptDateTime)
SetPublishedAt sets the value of PublishedAt.
func (*EntrySys) SetPublishedVersion ¶ added in v0.0.40
SetPublishedVersion sets the value of PublishedVersion.
func (*EntrySys) SetType ¶ added in v0.0.40
func (s *EntrySys) SetType(val EntrySysType)
SetType sets the value of Type.
func (*EntrySys) SetVersion ¶ added in v0.0.40
SetVersion sets the value of Version.
func (*EntrySys) UnmarshalJSON ¶ added in v0.0.40
UnmarshalJSON implements stdjson.Unmarshaler.
type EntrySysType ¶ added in v0.0.40
type EntrySysType string
Merged schema.
const (
EntrySysTypeEntry EntrySysType = "Entry"
)
func (EntrySysType) AllValues ¶ added in v0.0.40
func (EntrySysType) AllValues() []EntrySysType
AllValues returns all EntrySysType values.
func (*EntrySysType) Decode ¶ added in v0.0.40
func (s *EntrySysType) Decode(d *jx.Decoder) error
Decode decodes EntrySysType from json.
func (EntrySysType) Encode ¶ added in v0.0.40
func (s EntrySysType) Encode(e *jx.Encoder)
Encode encodes EntrySysType as json.
func (EntrySysType) MarshalJSON ¶ added in v0.0.40
func (s EntrySysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EntrySysType) MarshalText ¶ added in v0.0.40
func (s EntrySysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EntrySysType) UnmarshalJSON ¶ added in v0.0.40
func (s *EntrySysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntrySysType) UnmarshalText ¶ added in v0.0.40
func (s *EntrySysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EntrySysType) Validate ¶ added in v0.0.40
func (s EntrySysType) Validate() error
type Environment ¶ added in v0.0.41
type Environment struct {
Sys EnvironmentSys `json:"sys"`
// The name of the environment.
Name string `json:"name"`
}
Merged schema. Ref: #/Environment
func (*Environment) Decode ¶ added in v0.0.41
func (s *Environment) Decode(d *jx.Decoder) error
Decode decodes Environment from json.
func (*Environment) Encode ¶ added in v0.0.41
func (s *Environment) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Environment) GetName ¶ added in v0.0.41
func (s *Environment) GetName() string
GetName returns the value of Name.
func (*Environment) GetSys ¶ added in v0.0.41
func (s *Environment) GetSys() EnvironmentSys
GetSys returns the value of Sys.
func (*Environment) MarshalJSON ¶ added in v0.0.41
func (s *Environment) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Environment) SetName ¶ added in v0.0.41
func (s *Environment) SetName(val string)
SetName sets the value of Name.
func (*Environment) SetSys ¶ added in v0.0.41
func (s *Environment) SetSys(val EnvironmentSys)
SetSys sets the value of Sys.
func (*Environment) UnmarshalJSON ¶ added in v0.0.41
func (s *Environment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*Environment) Validate ¶ added in v0.0.41
func (s *Environment) Validate() error
type EnvironmentAlias ¶ added in v0.0.41
type EnvironmentAlias struct {
Sys EnvironmentAliasSys `json:"sys"`
Environment EnvironmentLink `json:"environment"`
}
Merged schema. Ref: #/EnvironmentAlias
func (*EnvironmentAlias) Decode ¶ added in v0.0.41
func (s *EnvironmentAlias) Decode(d *jx.Decoder) error
Decode decodes EnvironmentAlias from json.
func (*EnvironmentAlias) Encode ¶ added in v0.0.41
func (s *EnvironmentAlias) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EnvironmentAlias) GetEnvironment ¶ added in v0.0.41
func (s *EnvironmentAlias) GetEnvironment() EnvironmentLink
GetEnvironment returns the value of Environment.
func (*EnvironmentAlias) GetSys ¶ added in v0.0.41
func (s *EnvironmentAlias) GetSys() EnvironmentAliasSys
GetSys returns the value of Sys.
func (*EnvironmentAlias) MarshalJSON ¶ added in v0.0.41
func (s *EnvironmentAlias) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EnvironmentAlias) SetEnvironment ¶ added in v0.0.41
func (s *EnvironmentAlias) SetEnvironment(val EnvironmentLink)
SetEnvironment sets the value of Environment.
func (*EnvironmentAlias) SetSys ¶ added in v0.0.41
func (s *EnvironmentAlias) SetSys(val EnvironmentAliasSys)
SetSys sets the value of Sys.
func (*EnvironmentAlias) UnmarshalJSON ¶ added in v0.0.41
func (s *EnvironmentAlias) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentAlias) Validate ¶ added in v0.0.41
func (s *EnvironmentAlias) Validate() error
type EnvironmentAliasData ¶ added in v0.0.41
type EnvironmentAliasData struct {
Environment EnvironmentLink `json:"environment"`
}
Ref: #/EnvironmentAliasData
func (*EnvironmentAliasData) Decode ¶ added in v0.0.41
func (s *EnvironmentAliasData) Decode(d *jx.Decoder) error
Decode decodes EnvironmentAliasData from json.
func (*EnvironmentAliasData) Encode ¶ added in v0.0.41
func (s *EnvironmentAliasData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EnvironmentAliasData) GetEnvironment ¶ added in v0.0.41
func (s *EnvironmentAliasData) GetEnvironment() EnvironmentLink
GetEnvironment returns the value of Environment.
func (*EnvironmentAliasData) MarshalJSON ¶ added in v0.0.41
func (s *EnvironmentAliasData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EnvironmentAliasData) SetEnvironment ¶ added in v0.0.41
func (s *EnvironmentAliasData) SetEnvironment(val EnvironmentLink)
SetEnvironment sets the value of Environment.
func (*EnvironmentAliasData) UnmarshalJSON ¶ added in v0.0.41
func (s *EnvironmentAliasData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentAliasData) Validate ¶ added in v0.0.41
func (s *EnvironmentAliasData) Validate() error
type EnvironmentAliasStatusCode ¶ added in v0.0.41
type EnvironmentAliasStatusCode struct {
StatusCode int
Response EnvironmentAlias
}
EnvironmentAliasStatusCode wraps EnvironmentAlias with StatusCode.
func (*EnvironmentAliasStatusCode) GetResponse ¶ added in v0.0.41
func (s *EnvironmentAliasStatusCode) GetResponse() EnvironmentAlias
GetResponse returns the value of Response.
func (*EnvironmentAliasStatusCode) GetStatusCode ¶ added in v0.0.41
func (s *EnvironmentAliasStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*EnvironmentAliasStatusCode) SetResponse ¶ added in v0.0.41
func (s *EnvironmentAliasStatusCode) SetResponse(val EnvironmentAlias)
SetResponse sets the value of Response.
func (*EnvironmentAliasStatusCode) SetStatusCode ¶ added in v0.0.41
func (s *EnvironmentAliasStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*EnvironmentAliasStatusCode) Validate ¶ added in v0.0.41
func (s *EnvironmentAliasStatusCode) Validate() error
type EnvironmentAliasSys ¶ added in v0.0.41
type EnvironmentAliasSys struct {
Space SpaceLink `json:"space"`
// Merged property.
Type EnvironmentAliasSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
}
Merged schema. Ref: #/EnvironmentAliasSys
func NewEnvironmentAliasSys ¶ added in v0.0.43
func NewEnvironmentAliasSys(spaceID, environmentAliasID string) EnvironmentAliasSys
func (*EnvironmentAliasSys) Decode ¶ added in v0.0.41
func (s *EnvironmentAliasSys) Decode(d *jx.Decoder) error
Decode decodes EnvironmentAliasSys from json.
func (*EnvironmentAliasSys) Encode ¶ added in v0.0.41
func (s *EnvironmentAliasSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EnvironmentAliasSys) GetID ¶ added in v0.0.41
func (s *EnvironmentAliasSys) GetID() string
GetID returns the value of ID.
func (*EnvironmentAliasSys) GetSpace ¶ added in v0.0.41
func (s *EnvironmentAliasSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*EnvironmentAliasSys) GetType ¶ added in v0.0.41
func (s *EnvironmentAliasSys) GetType() EnvironmentAliasSysType
GetType returns the value of Type.
func (*EnvironmentAliasSys) GetVersion ¶ added in v0.0.41
func (s *EnvironmentAliasSys) GetVersion() int
GetVersion returns the value of Version.
func (*EnvironmentAliasSys) MarshalJSON ¶ added in v0.0.41
func (s *EnvironmentAliasSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EnvironmentAliasSys) SetID ¶ added in v0.0.41
func (s *EnvironmentAliasSys) SetID(val string)
SetID sets the value of ID.
func (*EnvironmentAliasSys) SetSpace ¶ added in v0.0.41
func (s *EnvironmentAliasSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*EnvironmentAliasSys) SetType ¶ added in v0.0.41
func (s *EnvironmentAliasSys) SetType(val EnvironmentAliasSysType)
SetType sets the value of Type.
func (*EnvironmentAliasSys) SetVersion ¶ added in v0.0.41
func (s *EnvironmentAliasSys) SetVersion(val int)
SetVersion sets the value of Version.
func (*EnvironmentAliasSys) UnmarshalJSON ¶ added in v0.0.41
func (s *EnvironmentAliasSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentAliasSys) Validate ¶ added in v0.0.41
func (s *EnvironmentAliasSys) Validate() error
type EnvironmentAliasSysType ¶ added in v0.0.41
type EnvironmentAliasSysType string
Merged schema.
const (
EnvironmentAliasSysTypeEnvironmentAlias EnvironmentAliasSysType = "EnvironmentAlias"
)
func (EnvironmentAliasSysType) AllValues ¶ added in v0.0.41
func (EnvironmentAliasSysType) AllValues() []EnvironmentAliasSysType
AllValues returns all EnvironmentAliasSysType values.
func (*EnvironmentAliasSysType) Decode ¶ added in v0.0.41
func (s *EnvironmentAliasSysType) Decode(d *jx.Decoder) error
Decode decodes EnvironmentAliasSysType from json.
func (EnvironmentAliasSysType) Encode ¶ added in v0.0.41
func (s EnvironmentAliasSysType) Encode(e *jx.Encoder)
Encode encodes EnvironmentAliasSysType as json.
func (EnvironmentAliasSysType) MarshalJSON ¶ added in v0.0.41
func (s EnvironmentAliasSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EnvironmentAliasSysType) MarshalText ¶ added in v0.0.41
func (s EnvironmentAliasSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EnvironmentAliasSysType) UnmarshalJSON ¶ added in v0.0.41
func (s *EnvironmentAliasSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentAliasSysType) UnmarshalText ¶ added in v0.0.41
func (s *EnvironmentAliasSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EnvironmentAliasSysType) Validate ¶ added in v0.0.41
func (s EnvironmentAliasSysType) Validate() error
type EnvironmentData ¶ added in v0.0.41
type EnvironmentData struct {
// The name of the environment.
Name string `json:"name"`
}
Ref: #/EnvironmentData
func (*EnvironmentData) Decode ¶ added in v0.0.41
func (s *EnvironmentData) Decode(d *jx.Decoder) error
Decode decodes EnvironmentData from json.
func (*EnvironmentData) Encode ¶ added in v0.0.41
func (s *EnvironmentData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EnvironmentData) GetName ¶ added in v0.0.41
func (s *EnvironmentData) GetName() string
GetName returns the value of Name.
func (*EnvironmentData) MarshalJSON ¶ added in v0.0.41
func (s *EnvironmentData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EnvironmentData) SetName ¶ added in v0.0.41
func (s *EnvironmentData) SetName(val string)
SetName sets the value of Name.
func (*EnvironmentData) UnmarshalJSON ¶ added in v0.0.41
func (s *EnvironmentData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EnvironmentLink ¶ added in v0.0.10
type EnvironmentLink struct {
Sys EnvironmentLinkSys `json:"sys"`
}
Ref: #/EnvironmentLink
func NewEnvironmentLink ¶ added in v0.0.43
func NewEnvironmentLink(id string) EnvironmentLink
func (*EnvironmentLink) Decode ¶ added in v0.0.10
func (s *EnvironmentLink) Decode(d *jx.Decoder) error
Decode decodes EnvironmentLink from json.
func (*EnvironmentLink) Encode ¶ added in v0.0.10
func (s *EnvironmentLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EnvironmentLink) GetSys ¶ added in v0.0.10
func (s *EnvironmentLink) GetSys() EnvironmentLinkSys
GetSys returns the value of Sys.
func (*EnvironmentLink) MarshalJSON ¶ added in v0.0.10
func (s *EnvironmentLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EnvironmentLink) SetSys ¶ added in v0.0.10
func (s *EnvironmentLink) SetSys(val EnvironmentLinkSys)
SetSys sets the value of Sys.
func (*EnvironmentLink) UnmarshalJSON ¶ added in v0.0.10
func (s *EnvironmentLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentLink) Validate ¶ added in v0.0.10
func (s *EnvironmentLink) Validate() error
type EnvironmentLinkSys ¶ added in v0.0.10
type EnvironmentLinkSys struct {
// Merged property.
Type EnvironmentLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType EnvironmentLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewEnvironmentLinkSys ¶ added in v0.0.43
func NewEnvironmentLinkSys(id string) EnvironmentLinkSys
func (*EnvironmentLinkSys) Decode ¶ added in v0.0.10
func (s *EnvironmentLinkSys) Decode(d *jx.Decoder) error
Decode decodes EnvironmentLinkSys from json.
func (*EnvironmentLinkSys) Encode ¶ added in v0.0.10
func (s *EnvironmentLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EnvironmentLinkSys) GetID ¶ added in v0.0.10
func (s *EnvironmentLinkSys) GetID() string
GetID returns the value of ID.
func (*EnvironmentLinkSys) GetLinkType ¶ added in v0.0.10
func (s *EnvironmentLinkSys) GetLinkType() EnvironmentLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*EnvironmentLinkSys) GetType ¶ added in v0.0.10
func (s *EnvironmentLinkSys) GetType() EnvironmentLinkSysType
GetType returns the value of Type.
func (*EnvironmentLinkSys) MarshalJSON ¶ added in v0.0.10
func (s *EnvironmentLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EnvironmentLinkSys) SetID ¶ added in v0.0.10
func (s *EnvironmentLinkSys) SetID(val string)
SetID sets the value of ID.
func (*EnvironmentLinkSys) SetLinkType ¶ added in v0.0.10
func (s *EnvironmentLinkSys) SetLinkType(val EnvironmentLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*EnvironmentLinkSys) SetType ¶ added in v0.0.10
func (s *EnvironmentLinkSys) SetType(val EnvironmentLinkSysType)
SetType sets the value of Type.
func (*EnvironmentLinkSys) UnmarshalJSON ¶ added in v0.0.10
func (s *EnvironmentLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentLinkSys) Validate ¶ added in v0.0.10
func (s *EnvironmentLinkSys) Validate() error
type EnvironmentLinkSysLinkType ¶ added in v0.0.10
type EnvironmentLinkSysLinkType string
Merged schema.
const (
EnvironmentLinkSysLinkTypeEnvironment EnvironmentLinkSysLinkType = "Environment"
)
func (EnvironmentLinkSysLinkType) AllValues ¶ added in v0.0.10
func (EnvironmentLinkSysLinkType) AllValues() []EnvironmentLinkSysLinkType
AllValues returns all EnvironmentLinkSysLinkType values.
func (*EnvironmentLinkSysLinkType) Decode ¶ added in v0.0.10
func (s *EnvironmentLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes EnvironmentLinkSysLinkType from json.
func (EnvironmentLinkSysLinkType) Encode ¶ added in v0.0.10
func (s EnvironmentLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes EnvironmentLinkSysLinkType as json.
func (EnvironmentLinkSysLinkType) MarshalJSON ¶ added in v0.0.10
func (s EnvironmentLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EnvironmentLinkSysLinkType) MarshalText ¶ added in v0.0.10
func (s EnvironmentLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EnvironmentLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.10
func (s *EnvironmentLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentLinkSysLinkType) UnmarshalText ¶ added in v0.0.10
func (s *EnvironmentLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EnvironmentLinkSysLinkType) Validate ¶ added in v0.0.10
func (s EnvironmentLinkSysLinkType) Validate() error
type EnvironmentLinkSysType ¶ added in v0.0.10
type EnvironmentLinkSysType string
Merged schema.
const (
EnvironmentLinkSysTypeLink EnvironmentLinkSysType = "Link"
)
func (EnvironmentLinkSysType) AllValues ¶ added in v0.0.10
func (EnvironmentLinkSysType) AllValues() []EnvironmentLinkSysType
AllValues returns all EnvironmentLinkSysType values.
func (*EnvironmentLinkSysType) Decode ¶ added in v0.0.10
func (s *EnvironmentLinkSysType) Decode(d *jx.Decoder) error
Decode decodes EnvironmentLinkSysType from json.
func (EnvironmentLinkSysType) Encode ¶ added in v0.0.10
func (s EnvironmentLinkSysType) Encode(e *jx.Encoder)
Encode encodes EnvironmentLinkSysType as json.
func (EnvironmentLinkSysType) MarshalJSON ¶ added in v0.0.10
func (s EnvironmentLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EnvironmentLinkSysType) MarshalText ¶ added in v0.0.10
func (s EnvironmentLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EnvironmentLinkSysType) UnmarshalJSON ¶ added in v0.0.10
func (s *EnvironmentLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentLinkSysType) UnmarshalText ¶ added in v0.0.10
func (s *EnvironmentLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EnvironmentLinkSysType) Validate ¶ added in v0.0.10
func (s EnvironmentLinkSysType) Validate() error
type EnvironmentStatusCode ¶ added in v0.0.41
type EnvironmentStatusCode struct {
StatusCode int
Response Environment
}
EnvironmentStatusCode wraps Environment with StatusCode.
func (*EnvironmentStatusCode) GetResponse ¶ added in v0.0.41
func (s *EnvironmentStatusCode) GetResponse() Environment
GetResponse returns the value of Response.
func (*EnvironmentStatusCode) GetStatusCode ¶ added in v0.0.41
func (s *EnvironmentStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*EnvironmentStatusCode) SetResponse ¶ added in v0.0.41
func (s *EnvironmentStatusCode) SetResponse(val Environment)
SetResponse sets the value of Response.
func (*EnvironmentStatusCode) SetStatusCode ¶ added in v0.0.41
func (s *EnvironmentStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*EnvironmentStatusCode) Validate ¶ added in v0.0.41
func (s *EnvironmentStatusCode) Validate() error
type EnvironmentSys ¶ added in v0.0.41
type EnvironmentSys struct {
Space SpaceLink `json:"space"`
// Merged property.
Type EnvironmentSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
Status StatusLink `json:"status"`
}
Merged schema. Ref: #/EnvironmentSys
func NewEnvironmentSys ¶ added in v0.0.43
func NewEnvironmentSys(spaceID, environmentID, status string) EnvironmentSys
func (*EnvironmentSys) Decode ¶ added in v0.0.41
func (s *EnvironmentSys) Decode(d *jx.Decoder) error
Decode decodes EnvironmentSys from json.
func (*EnvironmentSys) Encode ¶ added in v0.0.41
func (s *EnvironmentSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EnvironmentSys) GetID ¶ added in v0.0.41
func (s *EnvironmentSys) GetID() string
GetID returns the value of ID.
func (*EnvironmentSys) GetSpace ¶ added in v0.0.41
func (s *EnvironmentSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*EnvironmentSys) GetStatus ¶ added in v0.0.52
func (s *EnvironmentSys) GetStatus() StatusLink
GetStatus returns the value of Status.
func (*EnvironmentSys) GetType ¶ added in v0.0.41
func (s *EnvironmentSys) GetType() EnvironmentSysType
GetType returns the value of Type.
func (*EnvironmentSys) GetVersion ¶ added in v0.0.41
func (s *EnvironmentSys) GetVersion() int
GetVersion returns the value of Version.
func (*EnvironmentSys) MarshalJSON ¶ added in v0.0.41
func (s *EnvironmentSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EnvironmentSys) SetID ¶ added in v0.0.41
func (s *EnvironmentSys) SetID(val string)
SetID sets the value of ID.
func (*EnvironmentSys) SetSpace ¶ added in v0.0.41
func (s *EnvironmentSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*EnvironmentSys) SetStatus ¶ added in v0.0.52
func (s *EnvironmentSys) SetStatus(val StatusLink)
SetStatus sets the value of Status.
func (*EnvironmentSys) SetType ¶ added in v0.0.41
func (s *EnvironmentSys) SetType(val EnvironmentSysType)
SetType sets the value of Type.
func (*EnvironmentSys) SetVersion ¶ added in v0.0.41
func (s *EnvironmentSys) SetVersion(val int)
SetVersion sets the value of Version.
func (*EnvironmentSys) UnmarshalJSON ¶ added in v0.0.41
func (s *EnvironmentSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentSys) Validate ¶ added in v0.0.41
func (s *EnvironmentSys) Validate() error
type EnvironmentSysType ¶ added in v0.0.41
type EnvironmentSysType string
Merged schema.
const (
EnvironmentSysTypeEnvironment EnvironmentSysType = "Environment"
)
func (EnvironmentSysType) AllValues ¶ added in v0.0.41
func (EnvironmentSysType) AllValues() []EnvironmentSysType
AllValues returns all EnvironmentSysType values.
func (*EnvironmentSysType) Decode ¶ added in v0.0.41
func (s *EnvironmentSysType) Decode(d *jx.Decoder) error
Decode decodes EnvironmentSysType from json.
func (EnvironmentSysType) Encode ¶ added in v0.0.41
func (s EnvironmentSysType) Encode(e *jx.Encoder)
Encode encodes EnvironmentSysType as json.
func (EnvironmentSysType) MarshalJSON ¶ added in v0.0.41
func (s EnvironmentSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EnvironmentSysType) MarshalText ¶ added in v0.0.41
func (s EnvironmentSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EnvironmentSysType) UnmarshalJSON ¶ added in v0.0.41
func (s *EnvironmentSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EnvironmentSysType) UnmarshalText ¶ added in v0.0.41
func (s *EnvironmentSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EnvironmentSysType) Validate ¶ added in v0.0.41
func (s EnvironmentSysType) Validate() error
type Error ¶
type Error struct {
Sys ErrorSys `json:"sys"`
Message OptString `json:"message"`
Details jx.Raw `json:"details"`
}
Merged schema. Ref: #/Error
func (*Error) GetDetails ¶
GetDetails returns the value of Details.
func (*Error) GetMessage ¶
GetMessage returns the value of Message.
func (*Error) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Error) SetDetails ¶
SetDetails sets the value of Details.
func (*Error) SetMessage ¶
SetMessage sets the value of Message.
func (*Error) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorHandler ¶ added in v0.0.33
type ErrorHandler = ogenerrors.ErrorHandler
ErrorHandler is error handler.
type ErrorResponse ¶ added in v0.0.33
type ErrorStatusCodeResponse ¶ added in v0.0.33
type ErrorSys ¶
type ErrorSys struct {
Type ErrorSysType `json:"type"`
ID string `json:"id"`
}
Ref: #/ErrorSys
func NewErrorSys ¶ added in v0.0.43
func (*ErrorSys) GetType ¶
func (s *ErrorSys) GetType() ErrorSysType
GetType returns the value of Type.
func (*ErrorSys) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ErrorSys) SetType ¶
func (s *ErrorSys) SetType(val ErrorSysType)
SetType sets the value of Type.
func (*ErrorSys) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorSysType ¶
type ErrorSysType string
const (
ErrorSysTypeError ErrorSysType = "Error"
)
func (ErrorSysType) AllValues ¶
func (ErrorSysType) AllValues() []ErrorSysType
AllValues returns all ErrorSysType values.
func (*ErrorSysType) Decode ¶
func (s *ErrorSysType) Decode(d *jx.Decoder) error
Decode decodes ErrorSysType from json.
func (ErrorSysType) Encode ¶
func (s ErrorSysType) Encode(e *jx.Encoder)
Encode encodes ErrorSysType as json.
func (ErrorSysType) MarshalJSON ¶
func (s ErrorSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ErrorSysType) MarshalText ¶
func (s ErrorSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ErrorSysType) UnmarshalJSON ¶
func (s *ErrorSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ErrorSysType) UnmarshalText ¶
func (s *ErrorSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ErrorSysType) Validate ¶
func (s ErrorSysType) Validate() error
type Extension ¶ added in v0.0.29
type Extension struct {
Sys ExtensionSys `json:"sys"`
Extension ExtensionExtension `json:"extension"`
Parameters jx.Raw `json:"parameters"`
}
Merged schema. Ref: #/Extension
func (*Extension) GetExtension ¶ added in v0.0.29
func (s *Extension) GetExtension() ExtensionExtension
GetExtension returns the value of Extension.
func (*Extension) GetParameters ¶ added in v0.0.29
GetParameters returns the value of Parameters.
func (*Extension) GetSys ¶ added in v0.0.29
func (s *Extension) GetSys() ExtensionSys
GetSys returns the value of Sys.
func (*Extension) MarshalJSON ¶ added in v0.0.29
MarshalJSON implements stdjson.Marshaler.
func (*Extension) SetExtension ¶ added in v0.0.29
func (s *Extension) SetExtension(val ExtensionExtension)
SetExtension sets the value of Extension.
func (*Extension) SetParameters ¶ added in v0.0.29
SetParameters sets the value of Parameters.
func (*Extension) SetSys ¶ added in v0.0.29
func (s *Extension) SetSys(val ExtensionSys)
SetSys sets the value of Sys.
func (*Extension) UnmarshalJSON ¶ added in v0.0.29
UnmarshalJSON implements stdjson.Unmarshaler.
type ExtensionData ¶ added in v0.0.42
type ExtensionData struct {
Extension ExtensionDataExtension `json:"extension"`
Parameters jx.Raw `json:"parameters"`
}
Ref: #/ExtensionData
func (*ExtensionData) Decode ¶ added in v0.0.42
func (s *ExtensionData) Decode(d *jx.Decoder) error
Decode decodes ExtensionData from json.
func (*ExtensionData) Encode ¶ added in v0.0.42
func (s *ExtensionData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExtensionData) GetExtension ¶ added in v0.0.42
func (s *ExtensionData) GetExtension() ExtensionDataExtension
GetExtension returns the value of Extension.
func (*ExtensionData) GetParameters ¶ added in v0.0.42
func (s *ExtensionData) GetParameters() jx.Raw
GetParameters returns the value of Parameters.
func (*ExtensionData) MarshalJSON ¶ added in v0.0.42
func (s *ExtensionData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExtensionData) SetExtension ¶ added in v0.0.42
func (s *ExtensionData) SetExtension(val ExtensionDataExtension)
SetExtension sets the value of Extension.
func (*ExtensionData) SetParameters ¶ added in v0.0.42
func (s *ExtensionData) SetParameters(val jx.Raw)
SetParameters sets the value of Parameters.
func (*ExtensionData) UnmarshalJSON ¶ added in v0.0.42
func (s *ExtensionData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExtensionData) Validate ¶ added in v0.0.42
func (s *ExtensionData) Validate() error
type ExtensionDataExtension ¶ added in v0.0.42
type ExtensionDataExtension struct {
Name string `json:"name"`
Src OptString `json:"src"`
Srcdoc OptString `json:"srcdoc"`
FieldTypes []ExtensionDataExtensionFieldTypesItem `json:"fieldTypes"`
Sidebar OptBool `json:"sidebar"`
Parameters OptAppDefinitionParameters `json:"parameters"`
}
func (*ExtensionDataExtension) Decode ¶ added in v0.0.42
func (s *ExtensionDataExtension) Decode(d *jx.Decoder) error
Decode decodes ExtensionDataExtension from json.
func (*ExtensionDataExtension) Encode ¶ added in v0.0.42
func (s *ExtensionDataExtension) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExtensionDataExtension) GetFieldTypes ¶ added in v0.0.42
func (s *ExtensionDataExtension) GetFieldTypes() []ExtensionDataExtensionFieldTypesItem
GetFieldTypes returns the value of FieldTypes.
func (*ExtensionDataExtension) GetName ¶ added in v0.0.42
func (s *ExtensionDataExtension) GetName() string
GetName returns the value of Name.
func (*ExtensionDataExtension) GetParameters ¶ added in v0.0.42
func (s *ExtensionDataExtension) GetParameters() OptAppDefinitionParameters
GetParameters returns the value of Parameters.
func (*ExtensionDataExtension) GetSidebar ¶ added in v0.0.42
func (s *ExtensionDataExtension) GetSidebar() OptBool
GetSidebar returns the value of Sidebar.
func (*ExtensionDataExtension) GetSrc ¶ added in v0.0.42
func (s *ExtensionDataExtension) GetSrc() OptString
GetSrc returns the value of Src.
func (*ExtensionDataExtension) GetSrcdoc ¶ added in v0.0.42
func (s *ExtensionDataExtension) GetSrcdoc() OptString
GetSrcdoc returns the value of Srcdoc.
func (*ExtensionDataExtension) MarshalJSON ¶ added in v0.0.42
func (s *ExtensionDataExtension) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExtensionDataExtension) SetFieldTypes ¶ added in v0.0.42
func (s *ExtensionDataExtension) SetFieldTypes(val []ExtensionDataExtensionFieldTypesItem)
SetFieldTypes sets the value of FieldTypes.
func (*ExtensionDataExtension) SetName ¶ added in v0.0.42
func (s *ExtensionDataExtension) SetName(val string)
SetName sets the value of Name.
func (*ExtensionDataExtension) SetParameters ¶ added in v0.0.42
func (s *ExtensionDataExtension) SetParameters(val OptAppDefinitionParameters)
SetParameters sets the value of Parameters.
func (*ExtensionDataExtension) SetSidebar ¶ added in v0.0.42
func (s *ExtensionDataExtension) SetSidebar(val OptBool)
SetSidebar sets the value of Sidebar.
func (*ExtensionDataExtension) SetSrc ¶ added in v0.0.42
func (s *ExtensionDataExtension) SetSrc(val OptString)
SetSrc sets the value of Src.
func (*ExtensionDataExtension) SetSrcdoc ¶ added in v0.0.42
func (s *ExtensionDataExtension) SetSrcdoc(val OptString)
SetSrcdoc sets the value of Srcdoc.
func (*ExtensionDataExtension) UnmarshalJSON ¶ added in v0.0.42
func (s *ExtensionDataExtension) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExtensionDataExtension) Validate ¶ added in v0.0.42
func (s *ExtensionDataExtension) Validate() error
type ExtensionDataExtensionFieldTypesItem ¶ added in v0.0.42
type ExtensionDataExtensionFieldTypesItem struct {
Type string `json:"type"`
LinkType OptString `json:"linkType"`
Items OptExtensionDataExtensionFieldTypesItemItems `json:"items"`
}
func (*ExtensionDataExtensionFieldTypesItem) Decode ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) Decode(d *jx.Decoder) error
Decode decodes ExtensionDataExtensionFieldTypesItem from json.
func (*ExtensionDataExtensionFieldTypesItem) Encode ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExtensionDataExtensionFieldTypesItem) GetItems ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) GetItems() OptExtensionDataExtensionFieldTypesItemItems
GetItems returns the value of Items.
func (*ExtensionDataExtensionFieldTypesItem) GetLinkType ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ExtensionDataExtensionFieldTypesItem) GetType ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) GetType() string
GetType returns the value of Type.
func (*ExtensionDataExtensionFieldTypesItem) MarshalJSON ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExtensionDataExtensionFieldTypesItem) SetItems ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) SetItems(val OptExtensionDataExtensionFieldTypesItemItems)
SetItems sets the value of Items.
func (*ExtensionDataExtensionFieldTypesItem) SetLinkType ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ExtensionDataExtensionFieldTypesItem) SetType ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) SetType(val string)
SetType sets the value of Type.
func (*ExtensionDataExtensionFieldTypesItem) UnmarshalJSON ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExtensionDataExtensionFieldTypesItemItems ¶ added in v0.0.42
type ExtensionDataExtensionFieldTypesItemItems struct {
Type string `json:"type"`
LinkType OptString `json:"linkType"`
}
func (*ExtensionDataExtensionFieldTypesItemItems) Decode ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItemItems) Decode(d *jx.Decoder) error
Decode decodes ExtensionDataExtensionFieldTypesItemItems from json.
func (*ExtensionDataExtensionFieldTypesItemItems) Encode ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItemItems) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExtensionDataExtensionFieldTypesItemItems) GetLinkType ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItemItems) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ExtensionDataExtensionFieldTypesItemItems) GetType ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItemItems) GetType() string
GetType returns the value of Type.
func (*ExtensionDataExtensionFieldTypesItemItems) MarshalJSON ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExtensionDataExtensionFieldTypesItemItems) SetLinkType ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItemItems) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ExtensionDataExtensionFieldTypesItemItems) SetType ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItemItems) SetType(val string)
SetType sets the value of Type.
func (*ExtensionDataExtensionFieldTypesItemItems) UnmarshalJSON ¶ added in v0.0.42
func (s *ExtensionDataExtensionFieldTypesItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExtensionExtension ¶ added in v0.0.29
type ExtensionExtension struct {
Name string `json:"name"`
Src OptString `json:"src"`
Srcdoc OptString `json:"srcdoc"`
FieldTypes []ExtensionExtensionFieldTypesItem `json:"fieldTypes"`
Sidebar OptBool `json:"sidebar"`
Parameters OptAppDefinitionParameters `json:"parameters"`
}
func (*ExtensionExtension) Decode ¶ added in v0.0.29
func (s *ExtensionExtension) Decode(d *jx.Decoder) error
Decode decodes ExtensionExtension from json.
func (*ExtensionExtension) Encode ¶ added in v0.0.29
func (s *ExtensionExtension) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExtensionExtension) GetFieldTypes ¶ added in v0.0.29
func (s *ExtensionExtension) GetFieldTypes() []ExtensionExtensionFieldTypesItem
GetFieldTypes returns the value of FieldTypes.
func (*ExtensionExtension) GetName ¶ added in v0.0.29
func (s *ExtensionExtension) GetName() string
GetName returns the value of Name.
func (*ExtensionExtension) GetParameters ¶ added in v0.0.29
func (s *ExtensionExtension) GetParameters() OptAppDefinitionParameters
GetParameters returns the value of Parameters.
func (*ExtensionExtension) GetSidebar ¶ added in v0.0.29
func (s *ExtensionExtension) GetSidebar() OptBool
GetSidebar returns the value of Sidebar.
func (*ExtensionExtension) GetSrc ¶ added in v0.0.29
func (s *ExtensionExtension) GetSrc() OptString
GetSrc returns the value of Src.
func (*ExtensionExtension) GetSrcdoc ¶ added in v0.0.29
func (s *ExtensionExtension) GetSrcdoc() OptString
GetSrcdoc returns the value of Srcdoc.
func (*ExtensionExtension) MarshalJSON ¶ added in v0.0.29
func (s *ExtensionExtension) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExtensionExtension) SetFieldTypes ¶ added in v0.0.29
func (s *ExtensionExtension) SetFieldTypes(val []ExtensionExtensionFieldTypesItem)
SetFieldTypes sets the value of FieldTypes.
func (*ExtensionExtension) SetName ¶ added in v0.0.29
func (s *ExtensionExtension) SetName(val string)
SetName sets the value of Name.
func (*ExtensionExtension) SetParameters ¶ added in v0.0.29
func (s *ExtensionExtension) SetParameters(val OptAppDefinitionParameters)
SetParameters sets the value of Parameters.
func (*ExtensionExtension) SetSidebar ¶ added in v0.0.29
func (s *ExtensionExtension) SetSidebar(val OptBool)
SetSidebar sets the value of Sidebar.
func (*ExtensionExtension) SetSrc ¶ added in v0.0.29
func (s *ExtensionExtension) SetSrc(val OptString)
SetSrc sets the value of Src.
func (*ExtensionExtension) SetSrcdoc ¶ added in v0.0.29
func (s *ExtensionExtension) SetSrcdoc(val OptString)
SetSrcdoc sets the value of Srcdoc.
func (*ExtensionExtension) UnmarshalJSON ¶ added in v0.0.29
func (s *ExtensionExtension) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExtensionExtension) Validate ¶ added in v0.0.29
func (s *ExtensionExtension) Validate() error
type ExtensionExtensionFieldTypesItem ¶ added in v0.0.29
type ExtensionExtensionFieldTypesItem struct {
Type string `json:"type"`
LinkType OptString `json:"linkType"`
Items OptExtensionExtensionFieldTypesItemItems `json:"items"`
}
func (*ExtensionExtensionFieldTypesItem) Decode ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) Decode(d *jx.Decoder) error
Decode decodes ExtensionExtensionFieldTypesItem from json.
func (*ExtensionExtensionFieldTypesItem) Encode ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExtensionExtensionFieldTypesItem) GetItems ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) GetItems() OptExtensionExtensionFieldTypesItemItems
GetItems returns the value of Items.
func (*ExtensionExtensionFieldTypesItem) GetLinkType ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ExtensionExtensionFieldTypesItem) GetType ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) GetType() string
GetType returns the value of Type.
func (*ExtensionExtensionFieldTypesItem) MarshalJSON ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExtensionExtensionFieldTypesItem) SetItems ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) SetItems(val OptExtensionExtensionFieldTypesItemItems)
SetItems sets the value of Items.
func (*ExtensionExtensionFieldTypesItem) SetLinkType ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ExtensionExtensionFieldTypesItem) SetType ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) SetType(val string)
SetType sets the value of Type.
func (*ExtensionExtensionFieldTypesItem) UnmarshalJSON ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExtensionExtensionFieldTypesItemItems ¶ added in v0.0.29
type ExtensionExtensionFieldTypesItemItems struct {
Type string `json:"type"`
LinkType OptString `json:"linkType"`
}
func (*ExtensionExtensionFieldTypesItemItems) Decode ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItemItems) Decode(d *jx.Decoder) error
Decode decodes ExtensionExtensionFieldTypesItemItems from json.
func (*ExtensionExtensionFieldTypesItemItems) Encode ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItemItems) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExtensionExtensionFieldTypesItemItems) GetLinkType ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItemItems) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ExtensionExtensionFieldTypesItemItems) GetType ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItemItems) GetType() string
GetType returns the value of Type.
func (*ExtensionExtensionFieldTypesItemItems) MarshalJSON ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExtensionExtensionFieldTypesItemItems) SetLinkType ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItemItems) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ExtensionExtensionFieldTypesItemItems) SetType ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItemItems) SetType(val string)
SetType sets the value of Type.
func (*ExtensionExtensionFieldTypesItemItems) UnmarshalJSON ¶ added in v0.0.29
func (s *ExtensionExtensionFieldTypesItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExtensionStatusCode ¶ added in v0.0.29
ExtensionStatusCode wraps Extension with StatusCode.
func (*ExtensionStatusCode) GetResponse ¶ added in v0.0.29
func (s *ExtensionStatusCode) GetResponse() Extension
GetResponse returns the value of Response.
func (*ExtensionStatusCode) GetStatusCode ¶ added in v0.0.29
func (s *ExtensionStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ExtensionStatusCode) SetResponse ¶ added in v0.0.29
func (s *ExtensionStatusCode) SetResponse(val Extension)
SetResponse sets the value of Response.
func (*ExtensionStatusCode) SetStatusCode ¶ added in v0.0.29
func (s *ExtensionStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*ExtensionStatusCode) Validate ¶ added in v0.0.29
func (s *ExtensionStatusCode) Validate() error
type ExtensionSys ¶ added in v0.0.29
type ExtensionSys struct {
Space SpaceLink `json:"space"`
Environment EnvironmentLink `json:"environment"`
// Merged property.
Type ExtensionSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
}
Merged schema. Ref: #/ExtensionSys
func NewExtensionSys ¶ added in v0.0.43
func NewExtensionSys(spaceID, environmentID, extensionID string) ExtensionSys
func (*ExtensionSys) Decode ¶ added in v0.0.29
func (s *ExtensionSys) Decode(d *jx.Decoder) error
Decode decodes ExtensionSys from json.
func (*ExtensionSys) Encode ¶ added in v0.0.29
func (s *ExtensionSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExtensionSys) GetEnvironment ¶ added in v0.0.29
func (s *ExtensionSys) GetEnvironment() EnvironmentLink
GetEnvironment returns the value of Environment.
func (*ExtensionSys) GetID ¶ added in v0.0.29
func (s *ExtensionSys) GetID() string
GetID returns the value of ID.
func (*ExtensionSys) GetSpace ¶ added in v0.0.29
func (s *ExtensionSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*ExtensionSys) GetType ¶ added in v0.0.29
func (s *ExtensionSys) GetType() ExtensionSysType
GetType returns the value of Type.
func (*ExtensionSys) GetVersion ¶ added in v0.0.29
func (s *ExtensionSys) GetVersion() int
GetVersion returns the value of Version.
func (*ExtensionSys) MarshalJSON ¶ added in v0.0.29
func (s *ExtensionSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExtensionSys) SetEnvironment ¶ added in v0.0.29
func (s *ExtensionSys) SetEnvironment(val EnvironmentLink)
SetEnvironment sets the value of Environment.
func (*ExtensionSys) SetID ¶ added in v0.0.29
func (s *ExtensionSys) SetID(val string)
SetID sets the value of ID.
func (*ExtensionSys) SetSpace ¶ added in v0.0.29
func (s *ExtensionSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*ExtensionSys) SetType ¶ added in v0.0.29
func (s *ExtensionSys) SetType(val ExtensionSysType)
SetType sets the value of Type.
func (*ExtensionSys) SetVersion ¶ added in v0.0.29
func (s *ExtensionSys) SetVersion(val int)
SetVersion sets the value of Version.
func (*ExtensionSys) UnmarshalJSON ¶ added in v0.0.29
func (s *ExtensionSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExtensionSys) Validate ¶ added in v0.0.29
func (s *ExtensionSys) Validate() error
type ExtensionSysType ¶ added in v0.0.29
type ExtensionSysType string
Merged schema.
const (
ExtensionSysTypeExtension ExtensionSysType = "Extension"
)
func (ExtensionSysType) AllValues ¶ added in v0.0.29
func (ExtensionSysType) AllValues() []ExtensionSysType
AllValues returns all ExtensionSysType values.
func (*ExtensionSysType) Decode ¶ added in v0.0.29
func (s *ExtensionSysType) Decode(d *jx.Decoder) error
Decode decodes ExtensionSysType from json.
func (ExtensionSysType) Encode ¶ added in v0.0.29
func (s ExtensionSysType) Encode(e *jx.Encoder)
Encode encodes ExtensionSysType as json.
func (ExtensionSysType) MarshalJSON ¶ added in v0.0.29
func (s ExtensionSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ExtensionSysType) MarshalText ¶ added in v0.0.29
func (s ExtensionSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ExtensionSysType) UnmarshalJSON ¶ added in v0.0.29
func (s *ExtensionSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExtensionSysType) UnmarshalText ¶ added in v0.0.29
func (s *ExtensionSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ExtensionSysType) Validate ¶ added in v0.0.29
func (s ExtensionSysType) Validate() error
type ExternalResourceLink ¶ added in v0.0.22
type ExternalResourceLink struct {
Type string `json:"type"`
}
Ref: #/ExternalResourceLink
func (*ExternalResourceLink) Decode ¶ added in v0.0.22
func (s *ExternalResourceLink) Decode(d *jx.Decoder) error
Decode decodes ExternalResourceLink from json.
func (*ExternalResourceLink) Encode ¶ added in v0.0.22
func (s *ExternalResourceLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExternalResourceLink) GetType ¶ added in v0.0.22
func (s *ExternalResourceLink) GetType() string
GetType returns the value of Type.
func (*ExternalResourceLink) MarshalJSON ¶ added in v0.0.22
func (s *ExternalResourceLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExternalResourceLink) SetType ¶ added in v0.0.22
func (s *ExternalResourceLink) SetType(val string)
SetType sets the value of Type.
func (*ExternalResourceLink) UnmarshalJSON ¶ added in v0.0.22
func (s *ExternalResourceLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FunctionLink ¶ added in v0.0.23
type FunctionLink struct {
Sys FunctionLinkSys `json:"sys"`
}
Ref: #/FunctionLink
func NewFunctionLink ¶ added in v0.0.43
func NewFunctionLink(id string) FunctionLink
func (*FunctionLink) Decode ¶ added in v0.0.23
func (s *FunctionLink) Decode(d *jx.Decoder) error
Decode decodes FunctionLink from json.
func (*FunctionLink) Encode ¶ added in v0.0.23
func (s *FunctionLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FunctionLink) GetSys ¶ added in v0.0.23
func (s *FunctionLink) GetSys() FunctionLinkSys
GetSys returns the value of Sys.
func (*FunctionLink) MarshalJSON ¶ added in v0.0.23
func (s *FunctionLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FunctionLink) SetSys ¶ added in v0.0.23
func (s *FunctionLink) SetSys(val FunctionLinkSys)
SetSys sets the value of Sys.
func (*FunctionLink) UnmarshalJSON ¶ added in v0.0.23
func (s *FunctionLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FunctionLink) Validate ¶ added in v0.0.23
func (s *FunctionLink) Validate() error
type FunctionLinkSys ¶ added in v0.0.23
type FunctionLinkSys struct {
// Merged property.
Type FunctionLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType FunctionLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewFunctionLinkSys ¶ added in v0.0.43
func NewFunctionLinkSys(id string) FunctionLinkSys
func (*FunctionLinkSys) Decode ¶ added in v0.0.23
func (s *FunctionLinkSys) Decode(d *jx.Decoder) error
Decode decodes FunctionLinkSys from json.
func (*FunctionLinkSys) Encode ¶ added in v0.0.23
func (s *FunctionLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FunctionLinkSys) GetID ¶ added in v0.0.23
func (s *FunctionLinkSys) GetID() string
GetID returns the value of ID.
func (*FunctionLinkSys) GetLinkType ¶ added in v0.0.23
func (s *FunctionLinkSys) GetLinkType() FunctionLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*FunctionLinkSys) GetType ¶ added in v0.0.23
func (s *FunctionLinkSys) GetType() FunctionLinkSysType
GetType returns the value of Type.
func (*FunctionLinkSys) MarshalJSON ¶ added in v0.0.23
func (s *FunctionLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FunctionLinkSys) SetID ¶ added in v0.0.23
func (s *FunctionLinkSys) SetID(val string)
SetID sets the value of ID.
func (*FunctionLinkSys) SetLinkType ¶ added in v0.0.23
func (s *FunctionLinkSys) SetLinkType(val FunctionLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*FunctionLinkSys) SetType ¶ added in v0.0.23
func (s *FunctionLinkSys) SetType(val FunctionLinkSysType)
SetType sets the value of Type.
func (*FunctionLinkSys) UnmarshalJSON ¶ added in v0.0.23
func (s *FunctionLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FunctionLinkSys) Validate ¶ added in v0.0.23
func (s *FunctionLinkSys) Validate() error
type FunctionLinkSysLinkType ¶ added in v0.0.23
type FunctionLinkSysLinkType string
Merged schema.
const (
FunctionLinkSysLinkTypeFunction FunctionLinkSysLinkType = "Function"
)
func (FunctionLinkSysLinkType) AllValues ¶ added in v0.0.23
func (FunctionLinkSysLinkType) AllValues() []FunctionLinkSysLinkType
AllValues returns all FunctionLinkSysLinkType values.
func (*FunctionLinkSysLinkType) Decode ¶ added in v0.0.23
func (s *FunctionLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes FunctionLinkSysLinkType from json.
func (FunctionLinkSysLinkType) Encode ¶ added in v0.0.23
func (s FunctionLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes FunctionLinkSysLinkType as json.
func (FunctionLinkSysLinkType) MarshalJSON ¶ added in v0.0.23
func (s FunctionLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FunctionLinkSysLinkType) MarshalText ¶ added in v0.0.23
func (s FunctionLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FunctionLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.23
func (s *FunctionLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FunctionLinkSysLinkType) UnmarshalText ¶ added in v0.0.23
func (s *FunctionLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FunctionLinkSysLinkType) Validate ¶ added in v0.0.23
func (s FunctionLinkSysLinkType) Validate() error
type FunctionLinkSysType ¶ added in v0.0.23
type FunctionLinkSysType string
Merged schema.
const (
FunctionLinkSysTypeLink FunctionLinkSysType = "Link"
)
func (FunctionLinkSysType) AllValues ¶ added in v0.0.23
func (FunctionLinkSysType) AllValues() []FunctionLinkSysType
AllValues returns all FunctionLinkSysType values.
func (*FunctionLinkSysType) Decode ¶ added in v0.0.23
func (s *FunctionLinkSysType) Decode(d *jx.Decoder) error
Decode decodes FunctionLinkSysType from json.
func (FunctionLinkSysType) Encode ¶ added in v0.0.23
func (s FunctionLinkSysType) Encode(e *jx.Encoder)
Encode encodes FunctionLinkSysType as json.
func (FunctionLinkSysType) MarshalJSON ¶ added in v0.0.23
func (s FunctionLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FunctionLinkSysType) MarshalText ¶ added in v0.0.23
func (s FunctionLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FunctionLinkSysType) UnmarshalJSON ¶ added in v0.0.23
func (s *FunctionLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FunctionLinkSysType) UnmarshalText ¶ added in v0.0.23
func (s *FunctionLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FunctionLinkSysType) Validate ¶ added in v0.0.23
func (s FunctionLinkSysType) Validate() error
type GetAppDefinitionParams ¶ added in v0.0.27
GetAppDefinitionParams is parameters of getAppDefinition operation.
type GetAppDefinitionRes ¶ added in v0.0.27
type GetAppDefinitionRes interface {
// contains filtered or unexported methods
}
type GetAppInstallationParams ¶
GetAppInstallationParams is parameters of getAppInstallation operation.
type GetAppInstallationRes ¶
type GetAppInstallationRes interface {
// contains filtered or unexported methods
}
type GetAppSigningSecretParams ¶ added in v0.0.35
GetAppSigningSecretParams is parameters of getAppSigningSecret operation.
type GetAppSigningSecretRes ¶ added in v0.0.35
type GetAppSigningSecretRes interface {
// contains filtered or unexported methods
}
type GetAuthenticatedUserRes ¶
type GetAuthenticatedUserRes interface {
// contains filtered or unexported methods
}
type GetContentTypeParams ¶ added in v0.0.5
GetContentTypeParams is parameters of getContentType operation.
type GetContentTypeRes ¶ added in v0.0.5
type GetContentTypeRes interface {
// contains filtered or unexported methods
}
type GetContentTypesParams ¶ added in v0.0.46
type GetContentTypesParams struct {
SpaceID string
EnvironmentID string
Skip OptInt64 `json:",omitempty,omitzero"`
Limit OptInt64 `json:",omitempty,omitzero"`
Order []string `json:",omitempty"`
}
GetContentTypesParams is parameters of getContentTypes operation.
type GetContentTypesRes ¶ added in v0.0.46
type GetContentTypesRes interface {
// contains filtered or unexported methods
}
type GetDeliveryAPIKeyParams ¶ added in v0.0.43
GetDeliveryAPIKeyParams is parameters of getDeliveryAPIKey operation.
type GetDeliveryAPIKeyRes ¶ added in v0.0.43
type GetDeliveryAPIKeyRes interface {
// contains filtered or unexported methods
}
type GetEditorInterfaceParams ¶ added in v0.0.3
GetEditorInterfaceParams is parameters of getEditorInterface operation.
type GetEditorInterfaceRes ¶ added in v0.0.3
type GetEditorInterfaceRes interface {
// contains filtered or unexported methods
}
type GetEntriesParams ¶ added in v0.0.46
type GetEntriesParams struct {
SpaceID string
EnvironmentID string
Skip OptInt64 `json:",omitempty,omitzero"`
Limit OptInt64 `json:",omitempty,omitzero"`
Order []string `json:",omitempty"`
// Filter by content type ID.
ContentType OptString `json:",omitempty,omitzero"`
}
GetEntriesParams is parameters of getEntries operation.
type GetEntriesRes ¶ added in v0.0.46
type GetEntriesRes interface {
// contains filtered or unexported methods
}
type GetEntryParams ¶ added in v0.0.40
GetEntryParams is parameters of getEntry operation.
type GetEntryRes ¶ added in v0.0.40
type GetEntryRes interface {
// contains filtered or unexported methods
}
type GetEnvironmentAliasParams ¶ added in v0.0.41
GetEnvironmentAliasParams is parameters of getEnvironmentAlias operation.
type GetEnvironmentAliasRes ¶ added in v0.0.41
type GetEnvironmentAliasRes interface {
// contains filtered or unexported methods
}
type GetEnvironmentParams ¶ added in v0.0.41
GetEnvironmentParams is parameters of getEnvironment operation.
type GetEnvironmentRes ¶ added in v0.0.41
type GetEnvironmentRes interface {
// contains filtered or unexported methods
}
type GetExtensionParams ¶ added in v0.0.29
GetExtensionParams is parameters of getExtension operation.
type GetExtensionRes ¶ added in v0.0.29
type GetExtensionRes interface {
// contains filtered or unexported methods
}
type GetMarketplaceAppDefinitionsOK ¶ added in v0.0.34
type GetMarketplaceAppDefinitionsOK struct {
Sys GetMarketplaceAppDefinitionsOKSys `json:"sys"`
Total int `json:"total"`
Items []AppDefinition `json:"items"`
}
func (*GetMarketplaceAppDefinitionsOK) Decode ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) Decode(d *jx.Decoder) error
Decode decodes GetMarketplaceAppDefinitionsOK from json.
func (*GetMarketplaceAppDefinitionsOK) Encode ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetMarketplaceAppDefinitionsOK) GetItems ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) GetItems() []AppDefinition
GetItems returns the value of Items.
func (*GetMarketplaceAppDefinitionsOK) GetSys ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) GetSys() GetMarketplaceAppDefinitionsOKSys
GetSys returns the value of Sys.
func (*GetMarketplaceAppDefinitionsOK) GetTotal ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) GetTotal() int
GetTotal returns the value of Total.
func (*GetMarketplaceAppDefinitionsOK) MarshalJSON ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMarketplaceAppDefinitionsOK) SetItems ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) SetItems(val []AppDefinition)
SetItems sets the value of Items.
func (*GetMarketplaceAppDefinitionsOK) SetSys ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) SetSys(val GetMarketplaceAppDefinitionsOKSys)
SetSys sets the value of Sys.
func (*GetMarketplaceAppDefinitionsOK) SetTotal ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) SetTotal(val int)
SetTotal sets the value of Total.
func (*GetMarketplaceAppDefinitionsOK) UnmarshalJSON ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetMarketplaceAppDefinitionsOK) Validate ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOK) Validate() error
type GetMarketplaceAppDefinitionsOKSys ¶ added in v0.0.34
type GetMarketplaceAppDefinitionsOKSys struct {
Type GetMarketplaceAppDefinitionsOKSysType `json:"type"`
}
func (*GetMarketplaceAppDefinitionsOKSys) Decode ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSys) Decode(d *jx.Decoder) error
Decode decodes GetMarketplaceAppDefinitionsOKSys from json.
func (*GetMarketplaceAppDefinitionsOKSys) Encode ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetMarketplaceAppDefinitionsOKSys) GetType ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSys) GetType() GetMarketplaceAppDefinitionsOKSysType
GetType returns the value of Type.
func (*GetMarketplaceAppDefinitionsOKSys) MarshalJSON ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMarketplaceAppDefinitionsOKSys) SetType ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSys) SetType(val GetMarketplaceAppDefinitionsOKSysType)
SetType sets the value of Type.
func (*GetMarketplaceAppDefinitionsOKSys) UnmarshalJSON ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetMarketplaceAppDefinitionsOKSys) Validate ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSys) Validate() error
type GetMarketplaceAppDefinitionsOKSysType ¶ added in v0.0.34
type GetMarketplaceAppDefinitionsOKSysType string
const (
GetMarketplaceAppDefinitionsOKSysTypeArray GetMarketplaceAppDefinitionsOKSysType = "Array"
)
func (GetMarketplaceAppDefinitionsOKSysType) AllValues ¶ added in v0.0.34
func (GetMarketplaceAppDefinitionsOKSysType) AllValues() []GetMarketplaceAppDefinitionsOKSysType
AllValues returns all GetMarketplaceAppDefinitionsOKSysType values.
func (*GetMarketplaceAppDefinitionsOKSysType) Decode ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSysType) Decode(d *jx.Decoder) error
Decode decodes GetMarketplaceAppDefinitionsOKSysType from json.
func (GetMarketplaceAppDefinitionsOKSysType) Encode ¶ added in v0.0.34
func (s GetMarketplaceAppDefinitionsOKSysType) Encode(e *jx.Encoder)
Encode encodes GetMarketplaceAppDefinitionsOKSysType as json.
func (GetMarketplaceAppDefinitionsOKSysType) MarshalJSON ¶ added in v0.0.34
func (s GetMarketplaceAppDefinitionsOKSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetMarketplaceAppDefinitionsOKSysType) MarshalText ¶ added in v0.0.34
func (s GetMarketplaceAppDefinitionsOKSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetMarketplaceAppDefinitionsOKSysType) UnmarshalJSON ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetMarketplaceAppDefinitionsOKSysType) UnmarshalText ¶ added in v0.0.34
func (s *GetMarketplaceAppDefinitionsOKSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetMarketplaceAppDefinitionsOKSysType) Validate ¶ added in v0.0.34
func (s GetMarketplaceAppDefinitionsOKSysType) Validate() error
type GetMarketplaceAppDefinitionsParams ¶ added in v0.0.34
type GetMarketplaceAppDefinitionsParams struct {
SysIDIn []string `json:",omitempty"`
}
GetMarketplaceAppDefinitionsParams is parameters of getMarketplaceAppDefinitions operation.
type GetMarketplaceAppDefinitionsRes ¶ added in v0.0.34
type GetMarketplaceAppDefinitionsRes interface {
// contains filtered or unexported methods
}
type GetPersonalAccessTokenParams ¶ added in v0.0.12
type GetPersonalAccessTokenParams struct {
AccessTokenID string
}
GetPersonalAccessTokenParams is parameters of getPersonalAccessToken operation.
type GetPersonalAccessTokenRes ¶ added in v0.0.12
type GetPersonalAccessTokenRes interface {
// contains filtered or unexported methods
}
type GetPreviewAPIKeyParams ¶ added in v0.0.43
GetPreviewAPIKeyParams is parameters of getPreviewAPIKey operation.
type GetPreviewAPIKeyRes ¶ added in v0.0.43
type GetPreviewAPIKeyRes interface {
// contains filtered or unexported methods
}
type GetResourceProviderParams ¶ added in v0.0.37
GetResourceProviderParams is parameters of getResourceProvider operation.
type GetResourceProviderRes ¶ added in v0.0.37
type GetResourceProviderRes interface {
// contains filtered or unexported methods
}
type GetResourceTypeParams ¶ added in v0.0.37
type GetResourceTypeParams struct {
OrganizationID string
AppDefinitionID string
ResourceTypeID string
}
GetResourceTypeParams is parameters of getResourceType operation.
type GetResourceTypeRes ¶ added in v0.0.37
type GetResourceTypeRes interface {
// contains filtered or unexported methods
}
type GetRoleParams ¶ added in v0.0.15
GetRoleParams is parameters of getRole operation.
type GetRoleRes ¶ added in v0.0.15
type GetRoleRes interface {
// contains filtered or unexported methods
}
type GetSpaceEnablementsApplicationJSONOK ¶ added in v0.0.20
type GetSpaceEnablementsApplicationJSONOK SpaceEnablement
func (*GetSpaceEnablementsApplicationJSONOK) Decode ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationJSONOK) Decode(d *jx.Decoder) error
Decode decodes GetSpaceEnablementsApplicationJSONOK from json.
func (*GetSpaceEnablementsApplicationJSONOK) Encode ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationJSONOK) Encode(e *jx.Encoder)
Encode encodes GetSpaceEnablementsApplicationJSONOK as json.
func (*GetSpaceEnablementsApplicationJSONOK) MarshalJSON ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationJSONOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSpaceEnablementsApplicationJSONOK) UnmarshalJSON ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationJSONOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetSpaceEnablementsApplicationJSONOK) Validate ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationJSONOK) Validate() error
type GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK ¶ added in v0.0.20
type GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK SpaceEnablement
func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Decode ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Decode(d *jx.Decoder) error
Decode decodes GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK from json.
func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Encode ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Encode(e *jx.Encoder)
Encode encodes GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK as json.
func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) MarshalJSON ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) UnmarshalJSON ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Validate ¶ added in v0.0.20
func (s *GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Validate() error
type GetSpaceEnablementsParams ¶ added in v0.0.20
type GetSpaceEnablementsParams struct {
SpaceID string
}
GetSpaceEnablementsParams is parameters of getSpaceEnablements operation.
type GetSpaceEnablementsRes ¶ added in v0.0.20
type GetSpaceEnablementsRes interface {
// contains filtered or unexported methods
}
type GetTagParams ¶ added in v0.0.50
GetTagParams is parameters of getTag operation.
type GetTagRes ¶ added in v0.0.50
type GetTagRes interface {
// contains filtered or unexported methods
}
type GetTeamParams ¶ added in v0.0.43
GetTeamParams is parameters of getTeam operation.
type GetTeamRes ¶ added in v0.0.43
type GetTeamRes interface {
// contains filtered or unexported methods
}
type GetTeamSpaceMembershipParams ¶ added in v0.0.43
GetTeamSpaceMembershipParams is parameters of getTeamSpaceMembership operation.
type GetTeamSpaceMembershipRes ¶ added in v0.0.43
type GetTeamSpaceMembershipRes interface {
// contains filtered or unexported methods
}
type GetWebhookDefinitionParams ¶ added in v0.0.17
GetWebhookDefinitionParams is parameters of getWebhookDefinition operation.
type GetWebhookDefinitionRes ¶ added in v0.0.17
type GetWebhookDefinitionRes interface {
// contains filtered or unexported methods
}
type Handler ¶ added in v0.0.33
type Handler interface {
// ActivateContentType implements activateContentType operation.
//
// Activate a content type.
//
// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
ActivateContentType(ctx context.Context, params ActivateContentTypeParams) (ActivateContentTypeRes, error)
// CreateAppDefinition implements createAppDefinition operation.
//
// Create an app definition.
//
// POST /organizations/{organization_id}/app_definitions
CreateAppDefinition(ctx context.Context, req *AppDefinitionData, params CreateAppDefinitionParams) (CreateAppDefinitionRes, error)
// CreateDeliveryAPIKey implements createDeliveryAPIKey operation.
//
// Create a delivery api key.
//
// POST /spaces/{space_id}/api_keys
CreateDeliveryAPIKey(ctx context.Context, req *ApiKeyRequestData, params CreateDeliveryAPIKeyParams) (CreateDeliveryAPIKeyRes, error)
// CreateEntry implements createEntry operation.
//
// Create an entry.
//
// POST /spaces/{space_id}/environments/{environment_id}/entries
CreateEntry(ctx context.Context, req *EntryRequest, params CreateEntryParams) (CreateEntryRes, error)
// CreateOrUpdateEnvironment implements createOrUpdateEnvironment operation.
//
// Create or update an environment.
//
// PUT /spaces/{space_id}/environments/{environment_id}
CreateOrUpdateEnvironment(ctx context.Context, req *EnvironmentData, params CreateOrUpdateEnvironmentParams) (CreateOrUpdateEnvironmentRes, error)
// CreateOrUpdateEnvironmentAlias implements createOrUpdateEnvironmentAlias operation.
//
// Create/Update an environment alias.
//
// PUT /spaces/{space_id}/environment_aliases/{environment_alias_id}
CreateOrUpdateEnvironmentAlias(ctx context.Context, req *EnvironmentAliasData, params CreateOrUpdateEnvironmentAliasParams) (CreateOrUpdateEnvironmentAliasRes, error)
// CreatePersonalAccessToken implements createPersonalAccessToken operation.
//
// Create a personal access token.
//
// POST /users/me/access_tokens
CreatePersonalAccessToken(ctx context.Context, req *PersonalAccessTokenRequestData) (CreatePersonalAccessTokenRes, error)
// CreateRole implements createRole operation.
//
// Create a role.
//
// POST /spaces/{space_id}/roles
CreateRole(ctx context.Context, req *RoleData, params CreateRoleParams) (CreateRoleRes, error)
// CreateTeam implements createTeam operation.
//
// Create a team.
//
// POST /organizations/{organization_id}/teams
CreateTeam(ctx context.Context, req *TeamData, params CreateTeamParams) (CreateTeamRes, error)
// CreateTeamSpaceMembership implements createTeamSpaceMembership operation.
//
// Create a team space membership.
//
// POST /spaces/{space_id}/team_space_memberships
CreateTeamSpaceMembership(ctx context.Context, req *TeamSpaceMembershipData, params CreateTeamSpaceMembershipParams) (CreateTeamSpaceMembershipRes, error)
// CreateWebhookDefinition implements createWebhookDefinition operation.
//
// Create a webhook definition.
//
// POST /spaces/{space_id}/webhook_definitions
CreateWebhookDefinition(ctx context.Context, req *WebhookDefinitionData, params CreateWebhookDefinitionParams) (CreateWebhookDefinitionRes, error)
// DeactivateContentType implements deactivateContentType operation.
//
// Deactivate a content type.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams) (DeactivateContentTypeRes, error)
// DeleteAppDefinition implements deleteAppDefinition operation.
//
// Delete an app definition.
//
// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}
DeleteAppDefinition(ctx context.Context, params DeleteAppDefinitionParams) (DeleteAppDefinitionRes, error)
// DeleteAppInstallation implements deleteAppInstallation operation.
//
// Uninstall an app.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams) (DeleteAppInstallationRes, error)
// DeleteAppSigningSecret implements deleteAppSigningSecret operation.
//
// Delete an app signing secret.
//
// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
DeleteAppSigningSecret(ctx context.Context, params DeleteAppSigningSecretParams) (DeleteAppSigningSecretRes, error)
// DeleteContentType implements deleteContentType operation.
//
// Delete a content type.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
DeleteContentType(ctx context.Context, params DeleteContentTypeParams) (DeleteContentTypeRes, error)
// DeleteDeliveryAPIKey implements deleteDeliveryAPIKey operation.
//
// Delete a single delivery api key.
//
// DELETE /spaces/{space_id}/api_keys/{api_key_id}
DeleteDeliveryAPIKey(ctx context.Context, params DeleteDeliveryAPIKeyParams) (DeleteDeliveryAPIKeyRes, error)
// DeleteEntry implements deleteEntry operation.
//
// Delete an entry.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
DeleteEntry(ctx context.Context, params DeleteEntryParams) (DeleteEntryRes, error)
// DeleteEnvironment implements deleteEnvironment operation.
//
// Delete an environment.
//
// DELETE /spaces/{space_id}/environments/{environment_id}
DeleteEnvironment(ctx context.Context, params DeleteEnvironmentParams) (DeleteEnvironmentRes, error)
// DeleteEnvironmentAlias implements deleteEnvironmentAlias operation.
//
// Delete an environment alias.
//
// DELETE /spaces/{space_id}/environment_aliases/{environment_alias_id}
DeleteEnvironmentAlias(ctx context.Context, params DeleteEnvironmentAliasParams) (DeleteEnvironmentAliasRes, error)
// DeleteExtension implements deleteExtension operation.
//
// Delete an extension.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
DeleteExtension(ctx context.Context, params DeleteExtensionParams) (DeleteExtensionRes, error)
// DeleteResourceProvider implements deleteResourceProvider operation.
//
// Delete a resource provider definition.
//
// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
DeleteResourceProvider(ctx context.Context, params DeleteResourceProviderParams) (DeleteResourceProviderRes, error)
// DeleteResourceType implements deleteResourceType operation.
//
// Delete a resource type definition.
//
// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
DeleteResourceType(ctx context.Context, params DeleteResourceTypeParams) (DeleteResourceTypeRes, error)
// DeleteRole implements deleteRole operation.
//
// Delete a role.
//
// DELETE /spaces/{space_id}/roles/{role_id}
DeleteRole(ctx context.Context, params DeleteRoleParams) (DeleteRoleRes, error)
// DeleteTag implements deleteTag operation.
//
// Delete a tag.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
DeleteTag(ctx context.Context, params DeleteTagParams) (DeleteTagRes, error)
// DeleteTeam implements deleteTeam operation.
//
// Delete a team.
//
// DELETE /organizations/{organization_id}/teams/{team_id}
DeleteTeam(ctx context.Context, params DeleteTeamParams) (DeleteTeamRes, error)
// DeleteTeamSpaceMembership implements deleteTeamSpaceMembership operation.
//
// Delete a team space membership.
//
// DELETE /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
DeleteTeamSpaceMembership(ctx context.Context, params DeleteTeamSpaceMembershipParams) (DeleteTeamSpaceMembershipRes, error)
// DeleteWebhookDefinition implements deleteWebhookDefinition operation.
//
// Delete a webhook definition.
//
// DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams) (DeleteWebhookDefinitionRes, error)
// GetAppDefinition implements getAppDefinition operation.
//
// Get one app definition.
//
// GET /organizations/{organization_id}/app_definitions/{app_definition_id}
GetAppDefinition(ctx context.Context, params GetAppDefinitionParams) (GetAppDefinitionRes, error)
// GetAppInstallation implements getAppInstallation operation.
//
// Get one app installation.
//
// GET /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
GetAppInstallation(ctx context.Context, params GetAppInstallationParams) (GetAppInstallationRes, error)
// GetAppSigningSecret implements getAppSigningSecret operation.
//
// Get one app signing secret.
//
// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
GetAppSigningSecret(ctx context.Context, params GetAppSigningSecretParams) (GetAppSigningSecretRes, error)
// GetAuthenticatedUser implements getAuthenticatedUser operation.
//
// Get the authenticated user.
//
// GET /users/me
GetAuthenticatedUser(ctx context.Context) (GetAuthenticatedUserRes, error)
// GetContentType implements getContentType operation.
//
// Get a content type.
//
// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
GetContentType(ctx context.Context, params GetContentTypeParams) (GetContentTypeRes, error)
// GetContentTypes implements getContentTypes operation.
//
// Get a collection of content types.
//
// GET /spaces/{space_id}/environments/{environment_id}/content_types
GetContentTypes(ctx context.Context, params GetContentTypesParams) (GetContentTypesRes, error)
// GetDeliveryAPIKey implements getDeliveryAPIKey operation.
//
// Get a single delivery api key.
//
// GET /spaces/{space_id}/api_keys/{api_key_id}
GetDeliveryAPIKey(ctx context.Context, params GetDeliveryAPIKeyParams) (GetDeliveryAPIKeyRes, error)
// GetEditorInterface implements getEditorInterface operation.
//
// Get the editor interface for a content type.
//
// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams) (GetEditorInterfaceRes, error)
// GetEntries implements getEntries operation.
//
// Get all entries of a space.
//
// GET /spaces/{space_id}/environments/{environment_id}/entries
GetEntries(ctx context.Context, params GetEntriesParams) (GetEntriesRes, error)
// GetEntry implements getEntry operation.
//
// Get a single entry.
//
// GET /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
GetEntry(ctx context.Context, params GetEntryParams) (GetEntryRes, error)
// GetEnvironment implements getEnvironment operation.
//
// Get a single environment.
//
// GET /spaces/{space_id}/environments/{environment_id}
GetEnvironment(ctx context.Context, params GetEnvironmentParams) (GetEnvironmentRes, error)
// GetEnvironmentAlias implements getEnvironmentAlias operation.
//
// Get a single environment alias.
//
// GET /spaces/{space_id}/environment_aliases/{environment_alias_id}
GetEnvironmentAlias(ctx context.Context, params GetEnvironmentAliasParams) (GetEnvironmentAliasRes, error)
// GetExtension implements getExtension operation.
//
// Get a single extension.
//
// GET /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
GetExtension(ctx context.Context, params GetExtensionParams) (GetExtensionRes, error)
// GetMarketplaceAppDefinitions implements getMarketplaceAppDefinitions operation.
//
// Get marketplace app definitions.
//
// GET /app_definitions
GetMarketplaceAppDefinitions(ctx context.Context, params GetMarketplaceAppDefinitionsParams) (GetMarketplaceAppDefinitionsRes, error)
// GetPersonalAccessToken implements getPersonalAccessToken operation.
//
// Get a single personal access token.
//
// GET /users/me/access_tokens/{access_token_id}
GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams) (GetPersonalAccessTokenRes, error)
// GetPreviewAPIKey implements getPreviewAPIKey operation.
//
// Get a single preview api key.
//
// GET /spaces/{space_id}/preview_api_keys/{preview_api_key_id}
GetPreviewAPIKey(ctx context.Context, params GetPreviewAPIKeyParams) (GetPreviewAPIKeyRes, error)
// GetResourceProvider implements getResourceProvider operation.
//
// Get one resource provider definition.
//
// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
GetResourceProvider(ctx context.Context, params GetResourceProviderParams) (GetResourceProviderRes, error)
// GetResourceType implements getResourceType operation.
//
// Get one resource type definition.
//
// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
GetResourceType(ctx context.Context, params GetResourceTypeParams) (GetResourceTypeRes, error)
// GetRole implements getRole operation.
//
// Get a role.
//
// GET /spaces/{space_id}/roles/{role_id}
GetRole(ctx context.Context, params GetRoleParams) (GetRoleRes, error)
// GetSpaceEnablements implements getSpaceEnablements operation.
//
// Get enablements for a space.
//
// GET /spaces/{space_id}/enablements
GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams) (GetSpaceEnablementsRes, error)
// GetTag implements getTag operation.
//
// Get a single tag.
//
// GET /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
GetTag(ctx context.Context, params GetTagParams) (GetTagRes, error)
// GetTeam implements getTeam operation.
//
// Get a single team.
//
// GET /organizations/{organization_id}/teams/{team_id}
GetTeam(ctx context.Context, params GetTeamParams) (GetTeamRes, error)
// GetTeamSpaceMembership implements getTeamSpaceMembership operation.
//
// Get a single team space membership.
//
// GET /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
GetTeamSpaceMembership(ctx context.Context, params GetTeamSpaceMembershipParams) (GetTeamSpaceMembershipRes, error)
// GetWebhookDefinition implements getWebhookDefinition operation.
//
// Get a webhook definition.
//
// GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams) (GetWebhookDefinitionRes, error)
// PublishEntry implements publishEntry operation.
//
// Publish an entry.
//
// PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
PublishEntry(ctx context.Context, params PublishEntryParams) (PublishEntryRes, error)
// PutAppDefinition implements putAppDefinition operation.
//
// Create or update an app definition.
//
// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}
PutAppDefinition(ctx context.Context, req *AppDefinitionData, params PutAppDefinitionParams) (PutAppDefinitionRes, error)
// PutAppInstallation implements putAppInstallation operation.
//
// Install or update an app.
//
// PUT /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
PutAppInstallation(ctx context.Context, req *AppInstallationData, params PutAppInstallationParams) (PutAppInstallationRes, error)
// PutAppSigningSecret implements putAppSigningSecret operation.
//
// Create or update an app signing secret.
//
// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
PutAppSigningSecret(ctx context.Context, req *AppSigningSecretRequestData, params PutAppSigningSecretParams) (PutAppSigningSecretRes, error)
// PutContentType implements putContentType operation.
//
// Update a content type.
//
// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
PutContentType(ctx context.Context, req *ContentTypeRequestData, params PutContentTypeParams) (PutContentTypeRes, error)
// PutEditorInterface implements putEditorInterface operation.
//
// Update the editor interface for a content type.
//
// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
PutEditorInterface(ctx context.Context, req *EditorInterfaceData, params PutEditorInterfaceParams) (PutEditorInterfaceRes, error)
// PutEntry implements putEntry operation.
//
// Create or update an entry.
//
// PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
PutEntry(ctx context.Context, req *EntryRequest, params PutEntryParams) (PutEntryRes, error)
// PutExtension implements putExtension operation.
//
// Create or update an extension.
//
// PUT /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
PutExtension(ctx context.Context, req *ExtensionData, params PutExtensionParams) (PutExtensionRes, error)
// PutResourceProvider implements putResourceProvider operation.
//
// Create or update a resource provider definition.
//
// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
PutResourceProvider(ctx context.Context, req *ResourceProviderRequest, params PutResourceProviderParams) (PutResourceProviderRes, error)
// PutResourceType implements putResourceType operation.
//
// Create or update a resource type definition.
//
// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
PutResourceType(ctx context.Context, req *ResourceTypeData, params PutResourceTypeParams) (PutResourceTypeRes, error)
// PutSpaceEnablements implements putSpaceEnablements operation.
//
// Update enablements for a space.
//
// PUT /spaces/{space_id}/enablements
PutSpaceEnablements(ctx context.Context, req *SpaceEnablementData, params PutSpaceEnablementsParams) (PutSpaceEnablementsRes, error)
// PutTag implements putTag operation.
//
// Create or update a tag.
//
// PUT /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
PutTag(ctx context.Context, req *TagRequest, params PutTagParams) (PutTagRes, error)
// PutTeam implements putTeam operation.
//
// Update a single team.
//
// PUT /organizations/{organization_id}/teams/{team_id}
PutTeam(ctx context.Context, req *TeamData, params PutTeamParams) (PutTeamRes, error)
// PutTeamSpaceMembership implements putTeamSpaceMembership operation.
//
// Update a single team space membership.
//
// PUT /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
PutTeamSpaceMembership(ctx context.Context, req *TeamSpaceMembershipData, params PutTeamSpaceMembershipParams) (PutTeamSpaceMembershipRes, error)
// RevokePersonalAccessToken implements revokePersonalAccessToken operation.
//
// Revoke a personal access token.
//
// PUT /users/me/access_tokens/{access_token_id}/revoked
RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams) (RevokePersonalAccessTokenRes, error)
// UnpublishEntry implements unpublishEntry operation.
//
// Unpublish an entry.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
UnpublishEntry(ctx context.Context, params UnpublishEntryParams) (UnpublishEntryRes, error)
// UpdateDeliveryAPIKey implements updateDeliveryAPIKey operation.
//
// Update a single delivery api key.
//
// PUT /spaces/{space_id}/api_keys/{api_key_id}
UpdateDeliveryAPIKey(ctx context.Context, req *ApiKeyRequestData, params UpdateDeliveryAPIKeyParams) (UpdateDeliveryAPIKeyRes, error)
// UpdateRole implements updateRole operation.
//
// Update a role.
//
// PUT /spaces/{space_id}/roles/{role_id}
UpdateRole(ctx context.Context, req *RoleData, params UpdateRoleParams) (UpdateRoleRes, error)
// UpdateWebhookDefinition implements updateWebhookDefinition operation.
//
// Update a webhook definition.
//
// PUT /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
UpdateWebhookDefinition(ctx context.Context, req *WebhookDefinitionData, params UpdateWebhookDefinitionParams) (UpdateWebhookDefinitionRes, error)
}
Handler handles operations described by OpenAPI v3 specification.
type Invoker ¶
type Invoker interface {
// ActivateContentType invokes activateContentType operation.
//
// Activate a content type.
//
// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
ActivateContentType(ctx context.Context, params ActivateContentTypeParams, options ...RequestOption) (ActivateContentTypeRes, error)
// CreateAppDefinition invokes createAppDefinition operation.
//
// Create an app definition.
//
// POST /organizations/{organization_id}/app_definitions
CreateAppDefinition(ctx context.Context, request *AppDefinitionData, params CreateAppDefinitionParams, options ...RequestOption) (CreateAppDefinitionRes, error)
// CreateDeliveryAPIKey invokes createDeliveryAPIKey operation.
//
// Create a delivery api key.
//
// POST /spaces/{space_id}/api_keys
CreateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, params CreateDeliveryAPIKeyParams, options ...RequestOption) (CreateDeliveryAPIKeyRes, error)
// CreateEntry invokes createEntry operation.
//
// Create an entry.
//
// POST /spaces/{space_id}/environments/{environment_id}/entries
CreateEntry(ctx context.Context, request *EntryRequest, params CreateEntryParams, options ...RequestOption) (CreateEntryRes, error)
// CreateOrUpdateEnvironment invokes createOrUpdateEnvironment operation.
//
// Create or update an environment.
//
// PUT /spaces/{space_id}/environments/{environment_id}
CreateOrUpdateEnvironment(ctx context.Context, request *EnvironmentData, params CreateOrUpdateEnvironmentParams, options ...RequestOption) (CreateOrUpdateEnvironmentRes, error)
// CreateOrUpdateEnvironmentAlias invokes createOrUpdateEnvironmentAlias operation.
//
// Create/Update an environment alias.
//
// PUT /spaces/{space_id}/environment_aliases/{environment_alias_id}
CreateOrUpdateEnvironmentAlias(ctx context.Context, request *EnvironmentAliasData, params CreateOrUpdateEnvironmentAliasParams, options ...RequestOption) (CreateOrUpdateEnvironmentAliasRes, error)
// CreatePersonalAccessToken invokes createPersonalAccessToken operation.
//
// Create a personal access token.
//
// POST /users/me/access_tokens
CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestData, options ...RequestOption) (CreatePersonalAccessTokenRes, error)
// CreateRole invokes createRole operation.
//
// Create a role.
//
// POST /spaces/{space_id}/roles
CreateRole(ctx context.Context, request *RoleData, params CreateRoleParams, options ...RequestOption) (CreateRoleRes, error)
// CreateTeam invokes createTeam operation.
//
// Create a team.
//
// POST /organizations/{organization_id}/teams
CreateTeam(ctx context.Context, request *TeamData, params CreateTeamParams, options ...RequestOption) (CreateTeamRes, error)
// CreateTeamSpaceMembership invokes createTeamSpaceMembership operation.
//
// Create a team space membership.
//
// POST /spaces/{space_id}/team_space_memberships
CreateTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, params CreateTeamSpaceMembershipParams, options ...RequestOption) (CreateTeamSpaceMembershipRes, error)
// CreateWebhookDefinition invokes createWebhookDefinition operation.
//
// Create a webhook definition.
//
// POST /spaces/{space_id}/webhook_definitions
CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, params CreateWebhookDefinitionParams, options ...RequestOption) (CreateWebhookDefinitionRes, error)
// DeactivateContentType invokes deactivateContentType operation.
//
// Deactivate a content type.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams, options ...RequestOption) (DeactivateContentTypeRes, error)
// DeleteAppDefinition invokes deleteAppDefinition operation.
//
// Delete an app definition.
//
// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}
DeleteAppDefinition(ctx context.Context, params DeleteAppDefinitionParams, options ...RequestOption) (DeleteAppDefinitionRes, error)
// DeleteAppInstallation invokes deleteAppInstallation operation.
//
// Uninstall an app.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams, options ...RequestOption) (DeleteAppInstallationRes, error)
// DeleteAppSigningSecret invokes deleteAppSigningSecret operation.
//
// Delete an app signing secret.
//
// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
DeleteAppSigningSecret(ctx context.Context, params DeleteAppSigningSecretParams, options ...RequestOption) (DeleteAppSigningSecretRes, error)
// DeleteContentType invokes deleteContentType operation.
//
// Delete a content type.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
DeleteContentType(ctx context.Context, params DeleteContentTypeParams, options ...RequestOption) (DeleteContentTypeRes, error)
// DeleteDeliveryAPIKey invokes deleteDeliveryAPIKey operation.
//
// Delete a single delivery api key.
//
// DELETE /spaces/{space_id}/api_keys/{api_key_id}
DeleteDeliveryAPIKey(ctx context.Context, params DeleteDeliveryAPIKeyParams, options ...RequestOption) (DeleteDeliveryAPIKeyRes, error)
// DeleteEntry invokes deleteEntry operation.
//
// Delete an entry.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
DeleteEntry(ctx context.Context, params DeleteEntryParams, options ...RequestOption) (DeleteEntryRes, error)
// DeleteEnvironment invokes deleteEnvironment operation.
//
// Delete an environment.
//
// DELETE /spaces/{space_id}/environments/{environment_id}
DeleteEnvironment(ctx context.Context, params DeleteEnvironmentParams, options ...RequestOption) (DeleteEnvironmentRes, error)
// DeleteEnvironmentAlias invokes deleteEnvironmentAlias operation.
//
// Delete an environment alias.
//
// DELETE /spaces/{space_id}/environment_aliases/{environment_alias_id}
DeleteEnvironmentAlias(ctx context.Context, params DeleteEnvironmentAliasParams, options ...RequestOption) (DeleteEnvironmentAliasRes, error)
// DeleteExtension invokes deleteExtension operation.
//
// Delete an extension.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
DeleteExtension(ctx context.Context, params DeleteExtensionParams, options ...RequestOption) (DeleteExtensionRes, error)
// DeleteResourceProvider invokes deleteResourceProvider operation.
//
// Delete a resource provider definition.
//
// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
DeleteResourceProvider(ctx context.Context, params DeleteResourceProviderParams, options ...RequestOption) (DeleteResourceProviderRes, error)
// DeleteResourceType invokes deleteResourceType operation.
//
// Delete a resource type definition.
//
// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
DeleteResourceType(ctx context.Context, params DeleteResourceTypeParams, options ...RequestOption) (DeleteResourceTypeRes, error)
// DeleteRole invokes deleteRole operation.
//
// Delete a role.
//
// DELETE /spaces/{space_id}/roles/{role_id}
DeleteRole(ctx context.Context, params DeleteRoleParams, options ...RequestOption) (DeleteRoleRes, error)
// DeleteTag invokes deleteTag operation.
//
// Delete a tag.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
DeleteTag(ctx context.Context, params DeleteTagParams, options ...RequestOption) (DeleteTagRes, error)
// DeleteTeam invokes deleteTeam operation.
//
// Delete a team.
//
// DELETE /organizations/{organization_id}/teams/{team_id}
DeleteTeam(ctx context.Context, params DeleteTeamParams, options ...RequestOption) (DeleteTeamRes, error)
// DeleteTeamSpaceMembership invokes deleteTeamSpaceMembership operation.
//
// Delete a team space membership.
//
// DELETE /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
DeleteTeamSpaceMembership(ctx context.Context, params DeleteTeamSpaceMembershipParams, options ...RequestOption) (DeleteTeamSpaceMembershipRes, error)
// DeleteWebhookDefinition invokes deleteWebhookDefinition operation.
//
// Delete a webhook definition.
//
// DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams, options ...RequestOption) (DeleteWebhookDefinitionRes, error)
// GetAppDefinition invokes getAppDefinition operation.
//
// Get one app definition.
//
// GET /organizations/{organization_id}/app_definitions/{app_definition_id}
GetAppDefinition(ctx context.Context, params GetAppDefinitionParams, options ...RequestOption) (GetAppDefinitionRes, error)
// GetAppInstallation invokes getAppInstallation operation.
//
// Get one app installation.
//
// GET /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
GetAppInstallation(ctx context.Context, params GetAppInstallationParams, options ...RequestOption) (GetAppInstallationRes, error)
// GetAppSigningSecret invokes getAppSigningSecret operation.
//
// Get one app signing secret.
//
// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
GetAppSigningSecret(ctx context.Context, params GetAppSigningSecretParams, options ...RequestOption) (GetAppSigningSecretRes, error)
// GetAuthenticatedUser invokes getAuthenticatedUser operation.
//
// Get the authenticated user.
//
// GET /users/me
GetAuthenticatedUser(ctx context.Context, options ...RequestOption) (GetAuthenticatedUserRes, error)
// GetContentType invokes getContentType operation.
//
// Get a content type.
//
// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
GetContentType(ctx context.Context, params GetContentTypeParams, options ...RequestOption) (GetContentTypeRes, error)
// GetContentTypes invokes getContentTypes operation.
//
// Get a collection of content types.
//
// GET /spaces/{space_id}/environments/{environment_id}/content_types
GetContentTypes(ctx context.Context, params GetContentTypesParams, options ...RequestOption) (GetContentTypesRes, error)
// GetDeliveryAPIKey invokes getDeliveryAPIKey operation.
//
// Get a single delivery api key.
//
// GET /spaces/{space_id}/api_keys/{api_key_id}
GetDeliveryAPIKey(ctx context.Context, params GetDeliveryAPIKeyParams, options ...RequestOption) (GetDeliveryAPIKeyRes, error)
// GetEditorInterface invokes getEditorInterface operation.
//
// Get the editor interface for a content type.
//
// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams, options ...RequestOption) (GetEditorInterfaceRes, error)
// GetEntries invokes getEntries operation.
//
// Get all entries of a space.
//
// GET /spaces/{space_id}/environments/{environment_id}/entries
GetEntries(ctx context.Context, params GetEntriesParams, options ...RequestOption) (GetEntriesRes, error)
// GetEntry invokes getEntry operation.
//
// Get a single entry.
//
// GET /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
GetEntry(ctx context.Context, params GetEntryParams, options ...RequestOption) (GetEntryRes, error)
// GetEnvironment invokes getEnvironment operation.
//
// Get a single environment.
//
// GET /spaces/{space_id}/environments/{environment_id}
GetEnvironment(ctx context.Context, params GetEnvironmentParams, options ...RequestOption) (GetEnvironmentRes, error)
// GetEnvironmentAlias invokes getEnvironmentAlias operation.
//
// Get a single environment alias.
//
// GET /spaces/{space_id}/environment_aliases/{environment_alias_id}
GetEnvironmentAlias(ctx context.Context, params GetEnvironmentAliasParams, options ...RequestOption) (GetEnvironmentAliasRes, error)
// GetExtension invokes getExtension operation.
//
// Get a single extension.
//
// GET /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
GetExtension(ctx context.Context, params GetExtensionParams, options ...RequestOption) (GetExtensionRes, error)
// GetMarketplaceAppDefinitions invokes getMarketplaceAppDefinitions operation.
//
// Get marketplace app definitions.
//
// GET /app_definitions
GetMarketplaceAppDefinitions(ctx context.Context, params GetMarketplaceAppDefinitionsParams, options ...RequestOption) (GetMarketplaceAppDefinitionsRes, error)
// GetPersonalAccessToken invokes getPersonalAccessToken operation.
//
// Get a single personal access token.
//
// GET /users/me/access_tokens/{access_token_id}
GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams, options ...RequestOption) (GetPersonalAccessTokenRes, error)
// GetPreviewAPIKey invokes getPreviewAPIKey operation.
//
// Get a single preview api key.
//
// GET /spaces/{space_id}/preview_api_keys/{preview_api_key_id}
GetPreviewAPIKey(ctx context.Context, params GetPreviewAPIKeyParams, options ...RequestOption) (GetPreviewAPIKeyRes, error)
// GetResourceProvider invokes getResourceProvider operation.
//
// Get one resource provider definition.
//
// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
GetResourceProvider(ctx context.Context, params GetResourceProviderParams, options ...RequestOption) (GetResourceProviderRes, error)
// GetResourceType invokes getResourceType operation.
//
// Get one resource type definition.
//
// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
GetResourceType(ctx context.Context, params GetResourceTypeParams, options ...RequestOption) (GetResourceTypeRes, error)
// GetRole invokes getRole operation.
//
// Get a role.
//
// GET /spaces/{space_id}/roles/{role_id}
GetRole(ctx context.Context, params GetRoleParams, options ...RequestOption) (GetRoleRes, error)
// GetSpaceEnablements invokes getSpaceEnablements operation.
//
// Get enablements for a space.
//
// GET /spaces/{space_id}/enablements
GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams, options ...RequestOption) (GetSpaceEnablementsRes, error)
// GetTag invokes getTag operation.
//
// Get a single tag.
//
// GET /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
GetTag(ctx context.Context, params GetTagParams, options ...RequestOption) (GetTagRes, error)
// GetTeam invokes getTeam operation.
//
// Get a single team.
//
// GET /organizations/{organization_id}/teams/{team_id}
GetTeam(ctx context.Context, params GetTeamParams, options ...RequestOption) (GetTeamRes, error)
// GetTeamSpaceMembership invokes getTeamSpaceMembership operation.
//
// Get a single team space membership.
//
// GET /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
GetTeamSpaceMembership(ctx context.Context, params GetTeamSpaceMembershipParams, options ...RequestOption) (GetTeamSpaceMembershipRes, error)
// GetWebhookDefinition invokes getWebhookDefinition operation.
//
// Get a webhook definition.
//
// GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams, options ...RequestOption) (GetWebhookDefinitionRes, error)
// PublishEntry invokes publishEntry operation.
//
// Publish an entry.
//
// PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
PublishEntry(ctx context.Context, params PublishEntryParams, options ...RequestOption) (PublishEntryRes, error)
// PutAppDefinition invokes putAppDefinition operation.
//
// Create or update an app definition.
//
// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}
PutAppDefinition(ctx context.Context, request *AppDefinitionData, params PutAppDefinitionParams, options ...RequestOption) (PutAppDefinitionRes, error)
// PutAppInstallation invokes putAppInstallation operation.
//
// Install or update an app.
//
// PUT /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
PutAppInstallation(ctx context.Context, request *AppInstallationData, params PutAppInstallationParams, options ...RequestOption) (PutAppInstallationRes, error)
// PutAppSigningSecret invokes putAppSigningSecret operation.
//
// Create or update an app signing secret.
//
// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
PutAppSigningSecret(ctx context.Context, request *AppSigningSecretRequestData, params PutAppSigningSecretParams, options ...RequestOption) (PutAppSigningSecretRes, error)
// PutContentType invokes putContentType operation.
//
// Update a content type.
//
// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
PutContentType(ctx context.Context, request *ContentTypeRequestData, params PutContentTypeParams, options ...RequestOption) (PutContentTypeRes, error)
// PutEditorInterface invokes putEditorInterface operation.
//
// Update the editor interface for a content type.
//
// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
PutEditorInterface(ctx context.Context, request *EditorInterfaceData, params PutEditorInterfaceParams, options ...RequestOption) (PutEditorInterfaceRes, error)
// PutEntry invokes putEntry operation.
//
// Create or update an entry.
//
// PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
PutEntry(ctx context.Context, request *EntryRequest, params PutEntryParams, options ...RequestOption) (PutEntryRes, error)
// PutExtension invokes putExtension operation.
//
// Create or update an extension.
//
// PUT /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
PutExtension(ctx context.Context, request *ExtensionData, params PutExtensionParams, options ...RequestOption) (PutExtensionRes, error)
// PutResourceProvider invokes putResourceProvider operation.
//
// Create or update a resource provider definition.
//
// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
PutResourceProvider(ctx context.Context, request *ResourceProviderRequest, params PutResourceProviderParams, options ...RequestOption) (PutResourceProviderRes, error)
// PutResourceType invokes putResourceType operation.
//
// Create or update a resource type definition.
//
// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
PutResourceType(ctx context.Context, request *ResourceTypeData, params PutResourceTypeParams, options ...RequestOption) (PutResourceTypeRes, error)
// PutSpaceEnablements invokes putSpaceEnablements operation.
//
// Update enablements for a space.
//
// PUT /spaces/{space_id}/enablements
PutSpaceEnablements(ctx context.Context, request *SpaceEnablementData, params PutSpaceEnablementsParams, options ...RequestOption) (PutSpaceEnablementsRes, error)
// PutTag invokes putTag operation.
//
// Create or update a tag.
//
// PUT /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
PutTag(ctx context.Context, request *TagRequest, params PutTagParams, options ...RequestOption) (PutTagRes, error)
// PutTeam invokes putTeam operation.
//
// Update a single team.
//
// PUT /organizations/{organization_id}/teams/{team_id}
PutTeam(ctx context.Context, request *TeamData, params PutTeamParams, options ...RequestOption) (PutTeamRes, error)
// PutTeamSpaceMembership invokes putTeamSpaceMembership operation.
//
// Update a single team space membership.
//
// PUT /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
PutTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, params PutTeamSpaceMembershipParams, options ...RequestOption) (PutTeamSpaceMembershipRes, error)
// RevokePersonalAccessToken invokes revokePersonalAccessToken operation.
//
// Revoke a personal access token.
//
// PUT /users/me/access_tokens/{access_token_id}/revoked
RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams, options ...RequestOption) (RevokePersonalAccessTokenRes, error)
// UnpublishEntry invokes unpublishEntry operation.
//
// Unpublish an entry.
//
// DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
UnpublishEntry(ctx context.Context, params UnpublishEntryParams, options ...RequestOption) (UnpublishEntryRes, error)
// UpdateDeliveryAPIKey invokes updateDeliveryAPIKey operation.
//
// Update a single delivery api key.
//
// PUT /spaces/{space_id}/api_keys/{api_key_id}
UpdateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, params UpdateDeliveryAPIKeyParams, options ...RequestOption) (UpdateDeliveryAPIKeyRes, error)
// UpdateRole invokes updateRole operation.
//
// Update a role.
//
// PUT /spaces/{space_id}/roles/{role_id}
UpdateRole(ctx context.Context, request *RoleData, params UpdateRoleParams, options ...RequestOption) (UpdateRoleRes, error)
// UpdateWebhookDefinition invokes updateWebhookDefinition operation.
//
// Update a webhook definition.
//
// PUT /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
UpdateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, params UpdateWebhookDefinitionParams, options ...RequestOption) (UpdateWebhookDefinitionRes, error)
}
Invoker invokes operations described by OpenAPI v3 specification.
type Middleware ¶ added in v0.0.33
type Middleware = middleware.Middleware
Middleware is middleware type.
type NilString ¶ added in v0.0.7
NilString is nullable string.
func NewNilPointerString ¶ added in v0.0.43
func NewNilString ¶ added in v0.0.7
NewNilString returns new NilString with value set to v.
func NewNilStringNull ¶ added in v0.0.43
func NewNilStringNull() NilString
func (NilString) Get ¶ added in v0.0.7
Get returns value and boolean that denotes whether value was set.
func (NilString) MarshalJSON ¶ added in v0.0.7
MarshalJSON implements stdjson.Marshaler.
func (*NilString) SetToNull ¶ added in v0.0.7
func (o *NilString) SetToNull()
SetToNull sets value to null.
func (*NilString) UnmarshalJSON ¶ added in v0.0.7
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NilString) ValueStringPointer ¶ added in v0.0.43
type OperationName ¶ added in v0.0.16
type OperationName = string
OperationName is the ogen operation name
const ( ActivateContentTypeOperation OperationName = "ActivateContentType" CreateAppDefinitionOperation OperationName = "CreateAppDefinition" CreateDeliveryAPIKeyOperation OperationName = "CreateDeliveryAPIKey" CreateEntryOperation OperationName = "CreateEntry" CreateOrUpdateEnvironmentOperation OperationName = "CreateOrUpdateEnvironment" CreateOrUpdateEnvironmentAliasOperation OperationName = "CreateOrUpdateEnvironmentAlias" CreatePersonalAccessTokenOperation OperationName = "CreatePersonalAccessToken" CreateRoleOperation OperationName = "CreateRole" CreateTeamOperation OperationName = "CreateTeam" CreateTeamSpaceMembershipOperation OperationName = "CreateTeamSpaceMembership" CreateWebhookDefinitionOperation OperationName = "CreateWebhookDefinition" DeactivateContentTypeOperation OperationName = "DeactivateContentType" DeleteAppDefinitionOperation OperationName = "DeleteAppDefinition" DeleteAppInstallationOperation OperationName = "DeleteAppInstallation" DeleteAppSigningSecretOperation OperationName = "DeleteAppSigningSecret" DeleteContentTypeOperation OperationName = "DeleteContentType" DeleteDeliveryAPIKeyOperation OperationName = "DeleteDeliveryAPIKey" DeleteEntryOperation OperationName = "DeleteEntry" DeleteEnvironmentOperation OperationName = "DeleteEnvironment" DeleteEnvironmentAliasOperation OperationName = "DeleteEnvironmentAlias" DeleteExtensionOperation OperationName = "DeleteExtension" DeleteResourceProviderOperation OperationName = "DeleteResourceProvider" DeleteResourceTypeOperation OperationName = "DeleteResourceType" DeleteRoleOperation OperationName = "DeleteRole" DeleteTagOperation OperationName = "DeleteTag" DeleteTeamOperation OperationName = "DeleteTeam" DeleteTeamSpaceMembershipOperation OperationName = "DeleteTeamSpaceMembership" DeleteWebhookDefinitionOperation OperationName = "DeleteWebhookDefinition" GetAppDefinitionOperation OperationName = "GetAppDefinition" GetAppInstallationOperation OperationName = "GetAppInstallation" GetAppSigningSecretOperation OperationName = "GetAppSigningSecret" GetAuthenticatedUserOperation OperationName = "GetAuthenticatedUser" GetContentTypeOperation OperationName = "GetContentType" GetContentTypesOperation OperationName = "GetContentTypes" GetDeliveryAPIKeyOperation OperationName = "GetDeliveryAPIKey" GetEditorInterfaceOperation OperationName = "GetEditorInterface" GetEntriesOperation OperationName = "GetEntries" GetEntryOperation OperationName = "GetEntry" GetEnvironmentOperation OperationName = "GetEnvironment" GetEnvironmentAliasOperation OperationName = "GetEnvironmentAlias" GetExtensionOperation OperationName = "GetExtension" GetMarketplaceAppDefinitionsOperation OperationName = "GetMarketplaceAppDefinitions" GetPersonalAccessTokenOperation OperationName = "GetPersonalAccessToken" GetPreviewAPIKeyOperation OperationName = "GetPreviewAPIKey" GetResourceProviderOperation OperationName = "GetResourceProvider" GetResourceTypeOperation OperationName = "GetResourceType" GetRoleOperation OperationName = "GetRole" GetSpaceEnablementsOperation OperationName = "GetSpaceEnablements" GetTagOperation OperationName = "GetTag" GetTeamOperation OperationName = "GetTeam" GetTeamSpaceMembershipOperation OperationName = "GetTeamSpaceMembership" GetWebhookDefinitionOperation OperationName = "GetWebhookDefinition" PublishEntryOperation OperationName = "PublishEntry" PutAppDefinitionOperation OperationName = "PutAppDefinition" PutAppInstallationOperation OperationName = "PutAppInstallation" PutAppSigningSecretOperation OperationName = "PutAppSigningSecret" PutContentTypeOperation OperationName = "PutContentType" PutEditorInterfaceOperation OperationName = "PutEditorInterface" PutEntryOperation OperationName = "PutEntry" PutExtensionOperation OperationName = "PutExtension" PutResourceProviderOperation OperationName = "PutResourceProvider" PutResourceTypeOperation OperationName = "PutResourceType" PutSpaceEnablementsOperation OperationName = "PutSpaceEnablements" PutTagOperation OperationName = "PutTag" PutTeamOperation OperationName = "PutTeam" PutTeamSpaceMembershipOperation OperationName = "PutTeamSpaceMembership" RevokePersonalAccessTokenOperation OperationName = "RevokePersonalAccessToken" UnpublishEntryOperation OperationName = "UnpublishEntry" UpdateDeliveryAPIKeyOperation OperationName = "UpdateDeliveryAPIKey" UpdateRoleOperation OperationName = "UpdateRole" UpdateWebhookDefinitionOperation OperationName = "UpdateWebhookDefinition" )
type OptAppBundleLink ¶ added in v0.0.27
type OptAppBundleLink struct {
Value AppBundleLink
Set bool
}
OptAppBundleLink is optional AppBundleLink.
func NewOptAppBundleLink ¶ added in v0.0.27
func NewOptAppBundleLink(v AppBundleLink) OptAppBundleLink
NewOptAppBundleLink returns new OptAppBundleLink with value set to v.
func (*OptAppBundleLink) Decode ¶ added in v0.0.27
func (o *OptAppBundleLink) Decode(d *jx.Decoder) error
Decode decodes AppBundleLink from json.
func (OptAppBundleLink) Encode ¶ added in v0.0.27
func (o OptAppBundleLink) Encode(e *jx.Encoder)
Encode encodes AppBundleLink as json.
func (OptAppBundleLink) Get ¶ added in v0.0.27
func (o OptAppBundleLink) Get() (v AppBundleLink, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAppBundleLink) IsSet ¶ added in v0.0.27
func (o OptAppBundleLink) IsSet() bool
IsSet returns true if OptAppBundleLink was set.
func (OptAppBundleLink) MarshalJSON ¶ added in v0.0.27
func (s OptAppBundleLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAppBundleLink) Or ¶ added in v0.0.27
func (o OptAppBundleLink) Or(d AppBundleLink) AppBundleLink
Or returns value if set, or given parameter if does not.
func (*OptAppBundleLink) Reset ¶ added in v0.0.27
func (o *OptAppBundleLink) Reset()
Reset unsets value.
func (*OptAppBundleLink) SetTo ¶ added in v0.0.27
func (o *OptAppBundleLink) SetTo(v AppBundleLink)
SetTo sets value to v.
func (*OptAppBundleLink) UnmarshalJSON ¶ added in v0.0.27
func (s *OptAppBundleLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAppDefinitionDataLocationsItemFieldTypesItemItems ¶ added in v0.0.42
type OptAppDefinitionDataLocationsItemFieldTypesItemItems struct {
Value AppDefinitionDataLocationsItemFieldTypesItemItems
Set bool
}
OptAppDefinitionDataLocationsItemFieldTypesItemItems is optional AppDefinitionDataLocationsItemFieldTypesItemItems.
func NewOptAppDefinitionDataLocationsItemFieldTypesItemItems ¶ added in v0.0.42
func NewOptAppDefinitionDataLocationsItemFieldTypesItemItems(v AppDefinitionDataLocationsItemFieldTypesItemItems) OptAppDefinitionDataLocationsItemFieldTypesItemItems
NewOptAppDefinitionDataLocationsItemFieldTypesItemItems returns new OptAppDefinitionDataLocationsItemFieldTypesItemItems with value set to v.
func (*OptAppDefinitionDataLocationsItemFieldTypesItemItems) Decode ¶ added in v0.0.42
func (o *OptAppDefinitionDataLocationsItemFieldTypesItemItems) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionDataLocationsItemFieldTypesItemItems from json.
func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) Encode ¶ added in v0.0.42
func (o OptAppDefinitionDataLocationsItemFieldTypesItemItems) Encode(e *jx.Encoder)
Encode encodes AppDefinitionDataLocationsItemFieldTypesItemItems as json.
func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) Get ¶ added in v0.0.42
func (o OptAppDefinitionDataLocationsItemFieldTypesItemItems) Get() (v AppDefinitionDataLocationsItemFieldTypesItemItems, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) IsSet ¶ added in v0.0.42
func (o OptAppDefinitionDataLocationsItemFieldTypesItemItems) IsSet() bool
IsSet returns true if OptAppDefinitionDataLocationsItemFieldTypesItemItems was set.
func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) MarshalJSON ¶ added in v0.0.42
func (s OptAppDefinitionDataLocationsItemFieldTypesItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) Or ¶ added in v0.0.42
func (o OptAppDefinitionDataLocationsItemFieldTypesItemItems) Or(d AppDefinitionDataLocationsItemFieldTypesItemItems) AppDefinitionDataLocationsItemFieldTypesItemItems
Or returns value if set, or given parameter if does not.
func (*OptAppDefinitionDataLocationsItemFieldTypesItemItems) Reset ¶ added in v0.0.42
func (o *OptAppDefinitionDataLocationsItemFieldTypesItemItems) Reset()
Reset unsets value.
func (*OptAppDefinitionDataLocationsItemFieldTypesItemItems) SetTo ¶ added in v0.0.42
func (o *OptAppDefinitionDataLocationsItemFieldTypesItemItems) SetTo(v AppDefinitionDataLocationsItemFieldTypesItemItems)
SetTo sets value to v.
func (*OptAppDefinitionDataLocationsItemFieldTypesItemItems) UnmarshalJSON ¶ added in v0.0.42
func (s *OptAppDefinitionDataLocationsItemFieldTypesItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAppDefinitionDataLocationsItemNavigationItem ¶ added in v0.0.42
type OptAppDefinitionDataLocationsItemNavigationItem struct {
}
OptAppDefinitionDataLocationsItemNavigationItem is optional AppDefinitionDataLocationsItemNavigationItem.
func NewOptAppDefinitionDataLocationsItemNavigationItem ¶ added in v0.0.42
func NewOptAppDefinitionDataLocationsItemNavigationItem(v AppDefinitionDataLocationsItemNavigationItem) OptAppDefinitionDataLocationsItemNavigationItem
NewOptAppDefinitionDataLocationsItemNavigationItem returns new OptAppDefinitionDataLocationsItemNavigationItem with value set to v.
func (*OptAppDefinitionDataLocationsItemNavigationItem) Decode ¶ added in v0.0.42
func (o *OptAppDefinitionDataLocationsItemNavigationItem) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionDataLocationsItemNavigationItem from json.
func (OptAppDefinitionDataLocationsItemNavigationItem) Encode ¶ added in v0.0.42
func (o OptAppDefinitionDataLocationsItemNavigationItem) Encode(e *jx.Encoder)
Encode encodes AppDefinitionDataLocationsItemNavigationItem as json.
func (OptAppDefinitionDataLocationsItemNavigationItem) Get ¶ added in v0.0.42
func (o OptAppDefinitionDataLocationsItemNavigationItem) Get() (v AppDefinitionDataLocationsItemNavigationItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAppDefinitionDataLocationsItemNavigationItem) IsSet ¶ added in v0.0.42
func (o OptAppDefinitionDataLocationsItemNavigationItem) IsSet() bool
IsSet returns true if OptAppDefinitionDataLocationsItemNavigationItem was set.
func (OptAppDefinitionDataLocationsItemNavigationItem) MarshalJSON ¶ added in v0.0.42
func (s OptAppDefinitionDataLocationsItemNavigationItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAppDefinitionDataLocationsItemNavigationItem) Or ¶ added in v0.0.42
func (o OptAppDefinitionDataLocationsItemNavigationItem) Or(d AppDefinitionDataLocationsItemNavigationItem) AppDefinitionDataLocationsItemNavigationItem
Or returns value if set, or given parameter if does not.
func (*OptAppDefinitionDataLocationsItemNavigationItem) Reset ¶ added in v0.0.42
func (o *OptAppDefinitionDataLocationsItemNavigationItem) Reset()
Reset unsets value.
func (*OptAppDefinitionDataLocationsItemNavigationItem) SetTo ¶ added in v0.0.42
func (o *OptAppDefinitionDataLocationsItemNavigationItem) SetTo(v AppDefinitionDataLocationsItemNavigationItem)
SetTo sets value to v.
func (*OptAppDefinitionDataLocationsItemNavigationItem) UnmarshalJSON ¶ added in v0.0.42
func (s *OptAppDefinitionDataLocationsItemNavigationItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAppDefinitionLocationsItemFieldTypesItemItems ¶ added in v0.0.27
type OptAppDefinitionLocationsItemFieldTypesItemItems struct {
Value AppDefinitionLocationsItemFieldTypesItemItems
Set bool
}
OptAppDefinitionLocationsItemFieldTypesItemItems is optional AppDefinitionLocationsItemFieldTypesItemItems.
func NewOptAppDefinitionLocationsItemFieldTypesItemItems ¶ added in v0.0.27
func NewOptAppDefinitionLocationsItemFieldTypesItemItems(v AppDefinitionLocationsItemFieldTypesItemItems) OptAppDefinitionLocationsItemFieldTypesItemItems
NewOptAppDefinitionLocationsItemFieldTypesItemItems returns new OptAppDefinitionLocationsItemFieldTypesItemItems with value set to v.
func (*OptAppDefinitionLocationsItemFieldTypesItemItems) Decode ¶ added in v0.0.27
func (o *OptAppDefinitionLocationsItemFieldTypesItemItems) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLocationsItemFieldTypesItemItems from json.
func (OptAppDefinitionLocationsItemFieldTypesItemItems) Encode ¶ added in v0.0.27
func (o OptAppDefinitionLocationsItemFieldTypesItemItems) Encode(e *jx.Encoder)
Encode encodes AppDefinitionLocationsItemFieldTypesItemItems as json.
func (OptAppDefinitionLocationsItemFieldTypesItemItems) Get ¶ added in v0.0.27
func (o OptAppDefinitionLocationsItemFieldTypesItemItems) Get() (v AppDefinitionLocationsItemFieldTypesItemItems, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAppDefinitionLocationsItemFieldTypesItemItems) IsSet ¶ added in v0.0.27
func (o OptAppDefinitionLocationsItemFieldTypesItemItems) IsSet() bool
IsSet returns true if OptAppDefinitionLocationsItemFieldTypesItemItems was set.
func (OptAppDefinitionLocationsItemFieldTypesItemItems) MarshalJSON ¶ added in v0.0.27
func (s OptAppDefinitionLocationsItemFieldTypesItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAppDefinitionLocationsItemFieldTypesItemItems) Or ¶ added in v0.0.27
func (o OptAppDefinitionLocationsItemFieldTypesItemItems) Or(d AppDefinitionLocationsItemFieldTypesItemItems) AppDefinitionLocationsItemFieldTypesItemItems
Or returns value if set, or given parameter if does not.
func (*OptAppDefinitionLocationsItemFieldTypesItemItems) Reset ¶ added in v0.0.27
func (o *OptAppDefinitionLocationsItemFieldTypesItemItems) Reset()
Reset unsets value.
func (*OptAppDefinitionLocationsItemFieldTypesItemItems) SetTo ¶ added in v0.0.27
func (o *OptAppDefinitionLocationsItemFieldTypesItemItems) SetTo(v AppDefinitionLocationsItemFieldTypesItemItems)
SetTo sets value to v.
func (*OptAppDefinitionLocationsItemFieldTypesItemItems) UnmarshalJSON ¶ added in v0.0.27
func (s *OptAppDefinitionLocationsItemFieldTypesItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAppDefinitionLocationsItemNavigationItem ¶ added in v0.0.27
type OptAppDefinitionLocationsItemNavigationItem struct {
}
OptAppDefinitionLocationsItemNavigationItem is optional AppDefinitionLocationsItemNavigationItem.
func NewOptAppDefinitionLocationsItemNavigationItem ¶ added in v0.0.27
func NewOptAppDefinitionLocationsItemNavigationItem(v AppDefinitionLocationsItemNavigationItem) OptAppDefinitionLocationsItemNavigationItem
NewOptAppDefinitionLocationsItemNavigationItem returns new OptAppDefinitionLocationsItemNavigationItem with value set to v.
func (*OptAppDefinitionLocationsItemNavigationItem) Decode ¶ added in v0.0.27
func (o *OptAppDefinitionLocationsItemNavigationItem) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionLocationsItemNavigationItem from json.
func (OptAppDefinitionLocationsItemNavigationItem) Encode ¶ added in v0.0.27
func (o OptAppDefinitionLocationsItemNavigationItem) Encode(e *jx.Encoder)
Encode encodes AppDefinitionLocationsItemNavigationItem as json.
func (OptAppDefinitionLocationsItemNavigationItem) Get ¶ added in v0.0.27
func (o OptAppDefinitionLocationsItemNavigationItem) Get() (v AppDefinitionLocationsItemNavigationItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAppDefinitionLocationsItemNavigationItem) IsSet ¶ added in v0.0.27
func (o OptAppDefinitionLocationsItemNavigationItem) IsSet() bool
IsSet returns true if OptAppDefinitionLocationsItemNavigationItem was set.
func (OptAppDefinitionLocationsItemNavigationItem) MarshalJSON ¶ added in v0.0.27
func (s OptAppDefinitionLocationsItemNavigationItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAppDefinitionLocationsItemNavigationItem) Or ¶ added in v0.0.27
func (o OptAppDefinitionLocationsItemNavigationItem) Or(d AppDefinitionLocationsItemNavigationItem) AppDefinitionLocationsItemNavigationItem
Or returns value if set, or given parameter if does not.
func (*OptAppDefinitionLocationsItemNavigationItem) Reset ¶ added in v0.0.27
func (o *OptAppDefinitionLocationsItemNavigationItem) Reset()
Reset unsets value.
func (*OptAppDefinitionLocationsItemNavigationItem) SetTo ¶ added in v0.0.27
func (o *OptAppDefinitionLocationsItemNavigationItem) SetTo(v AppDefinitionLocationsItemNavigationItem)
SetTo sets value to v.
func (*OptAppDefinitionLocationsItemNavigationItem) UnmarshalJSON ¶ added in v0.0.27
func (s *OptAppDefinitionLocationsItemNavigationItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAppDefinitionParameterLabels ¶ added in v0.0.27
type OptAppDefinitionParameterLabels struct {
Value AppDefinitionParameterLabels
Set bool
}
OptAppDefinitionParameterLabels is optional AppDefinitionParameterLabels.
func NewOptAppDefinitionParameterLabels ¶ added in v0.0.27
func NewOptAppDefinitionParameterLabels(v AppDefinitionParameterLabels) OptAppDefinitionParameterLabels
NewOptAppDefinitionParameterLabels returns new OptAppDefinitionParameterLabels with value set to v.
func (*OptAppDefinitionParameterLabels) Decode ¶ added in v0.0.27
func (o *OptAppDefinitionParameterLabels) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionParameterLabels from json.
func (OptAppDefinitionParameterLabels) Encode ¶ added in v0.0.27
func (o OptAppDefinitionParameterLabels) Encode(e *jx.Encoder)
Encode encodes AppDefinitionParameterLabels as json.
func (OptAppDefinitionParameterLabels) Get ¶ added in v0.0.27
func (o OptAppDefinitionParameterLabels) Get() (v AppDefinitionParameterLabels, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAppDefinitionParameterLabels) IsSet ¶ added in v0.0.27
func (o OptAppDefinitionParameterLabels) IsSet() bool
IsSet returns true if OptAppDefinitionParameterLabels was set.
func (OptAppDefinitionParameterLabels) MarshalJSON ¶ added in v0.0.27
func (s OptAppDefinitionParameterLabels) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAppDefinitionParameterLabels) Or ¶ added in v0.0.27
func (o OptAppDefinitionParameterLabels) Or(d AppDefinitionParameterLabels) AppDefinitionParameterLabels
Or returns value if set, or given parameter if does not.
func (*OptAppDefinitionParameterLabels) Reset ¶ added in v0.0.27
func (o *OptAppDefinitionParameterLabels) Reset()
Reset unsets value.
func (*OptAppDefinitionParameterLabels) SetTo ¶ added in v0.0.27
func (o *OptAppDefinitionParameterLabels) SetTo(v AppDefinitionParameterLabels)
SetTo sets value to v.
func (*OptAppDefinitionParameterLabels) UnmarshalJSON ¶ added in v0.0.27
func (s *OptAppDefinitionParameterLabels) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAppDefinitionParameters ¶ added in v0.0.27
type OptAppDefinitionParameters struct {
Value AppDefinitionParameters
Set bool
}
OptAppDefinitionParameters is optional AppDefinitionParameters.
func NewOptAppDefinitionParameters ¶ added in v0.0.27
func NewOptAppDefinitionParameters(v AppDefinitionParameters) OptAppDefinitionParameters
NewOptAppDefinitionParameters returns new OptAppDefinitionParameters with value set to v.
func (*OptAppDefinitionParameters) Decode ¶ added in v0.0.27
func (o *OptAppDefinitionParameters) Decode(d *jx.Decoder) error
Decode decodes AppDefinitionParameters from json.
func (OptAppDefinitionParameters) Encode ¶ added in v0.0.27
func (o OptAppDefinitionParameters) Encode(e *jx.Encoder)
Encode encodes AppDefinitionParameters as json.
func (OptAppDefinitionParameters) Get ¶ added in v0.0.27
func (o OptAppDefinitionParameters) Get() (v AppDefinitionParameters, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAppDefinitionParameters) IsSet ¶ added in v0.0.27
func (o OptAppDefinitionParameters) IsSet() bool
IsSet returns true if OptAppDefinitionParameters was set.
func (OptAppDefinitionParameters) MarshalJSON ¶ added in v0.0.27
func (s OptAppDefinitionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAppDefinitionParameters) Or ¶ added in v0.0.27
Or returns value if set, or given parameter if does not.
func (*OptAppDefinitionParameters) Reset ¶ added in v0.0.27
func (o *OptAppDefinitionParameters) Reset()
Reset unsets value.
func (*OptAppDefinitionParameters) SetTo ¶ added in v0.0.27
func (o *OptAppDefinitionParameters) SetTo(v AppDefinitionParameters)
SetTo sets value to v.
func (*OptAppDefinitionParameters) UnmarshalJSON ¶ added in v0.0.27
func (s *OptAppDefinitionParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBool ¶ added in v0.0.3
OptBool is optional bool.
func NewOptBool ¶ added in v0.0.3
NewOptBool returns new OptBool with value set to v.
func NewOptPointerBool ¶ added in v0.0.5
func (OptBool) Get ¶ added in v0.0.3
Get returns value and boolean that denotes whether value was set.
func (OptBool) MarshalJSON ¶ added in v0.0.3
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶ added in v0.0.3
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OptBool) ValueBoolPointer ¶ added in v0.0.5
type OptContentTypeFieldsItemItems ¶ added in v0.0.5
type OptContentTypeFieldsItemItems struct {
Value ContentTypeFieldsItemItems
Set bool
}
OptContentTypeFieldsItemItems is optional ContentTypeFieldsItemItems.
func NewOptContentTypeFieldsItemItems ¶ added in v0.0.5
func NewOptContentTypeFieldsItemItems(v ContentTypeFieldsItemItems) OptContentTypeFieldsItemItems
NewOptContentTypeFieldsItemItems returns new OptContentTypeFieldsItemItems with value set to v.
func (*OptContentTypeFieldsItemItems) Decode ¶ added in v0.0.5
func (o *OptContentTypeFieldsItemItems) Decode(d *jx.Decoder) error
Decode decodes ContentTypeFieldsItemItems from json.
func (OptContentTypeFieldsItemItems) Encode ¶ added in v0.0.5
func (o OptContentTypeFieldsItemItems) Encode(e *jx.Encoder)
Encode encodes ContentTypeFieldsItemItems as json.
func (OptContentTypeFieldsItemItems) Get ¶ added in v0.0.5
func (o OptContentTypeFieldsItemItems) Get() (v ContentTypeFieldsItemItems, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptContentTypeFieldsItemItems) IsSet ¶ added in v0.0.5
func (o OptContentTypeFieldsItemItems) IsSet() bool
IsSet returns true if OptContentTypeFieldsItemItems was set.
func (OptContentTypeFieldsItemItems) MarshalJSON ¶ added in v0.0.5
func (s OptContentTypeFieldsItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptContentTypeFieldsItemItems) Or ¶ added in v0.0.5
Or returns value if set, or given parameter if does not.
func (*OptContentTypeFieldsItemItems) Reset ¶ added in v0.0.5
func (o *OptContentTypeFieldsItemItems) Reset()
Reset unsets value.
func (*OptContentTypeFieldsItemItems) SetTo ¶ added in v0.0.5
func (o *OptContentTypeFieldsItemItems) SetTo(v ContentTypeFieldsItemItems)
SetTo sets value to v.
func (*OptContentTypeFieldsItemItems) UnmarshalJSON ¶ added in v0.0.5
func (s *OptContentTypeFieldsItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptContentTypeMetadata ¶ added in v0.0.24
type OptContentTypeMetadata struct {
Value ContentTypeMetadata
Set bool
}
OptContentTypeMetadata is optional ContentTypeMetadata.
func NewOptContentTypeMetadata ¶ added in v0.0.24
func NewOptContentTypeMetadata(v ContentTypeMetadata) OptContentTypeMetadata
NewOptContentTypeMetadata returns new OptContentTypeMetadata with value set to v.
func (*OptContentTypeMetadata) Decode ¶ added in v0.0.24
func (o *OptContentTypeMetadata) Decode(d *jx.Decoder) error
Decode decodes ContentTypeMetadata from json.
func (OptContentTypeMetadata) Encode ¶ added in v0.0.24
func (o OptContentTypeMetadata) Encode(e *jx.Encoder)
Encode encodes ContentTypeMetadata as json.
func (OptContentTypeMetadata) Get ¶ added in v0.0.24
func (o OptContentTypeMetadata) Get() (v ContentTypeMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptContentTypeMetadata) IsSet ¶ added in v0.0.24
func (o OptContentTypeMetadata) IsSet() bool
IsSet returns true if OptContentTypeMetadata was set.
func (OptContentTypeMetadata) MarshalJSON ¶ added in v0.0.24
func (s OptContentTypeMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptContentTypeMetadata) Or ¶ added in v0.0.24
func (o OptContentTypeMetadata) Or(d ContentTypeMetadata) ContentTypeMetadata
Or returns value if set, or given parameter if does not.
func (*OptContentTypeMetadata) Reset ¶ added in v0.0.24
func (o *OptContentTypeMetadata) Reset()
Reset unsets value.
func (*OptContentTypeMetadata) SetTo ¶ added in v0.0.24
func (o *OptContentTypeMetadata) SetTo(v ContentTypeMetadata)
SetTo sets value to v.
func (*OptContentTypeMetadata) UnmarshalJSON ¶ added in v0.0.24
func (s *OptContentTypeMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptContentTypeRequestDataFieldsItemItems ¶ added in v0.0.42
type OptContentTypeRequestDataFieldsItemItems struct {
Value ContentTypeRequestDataFieldsItemItems
Set bool
}
OptContentTypeRequestDataFieldsItemItems is optional ContentTypeRequestDataFieldsItemItems.
func NewOptContentTypeRequestDataFieldsItemItems ¶ added in v0.0.42
func NewOptContentTypeRequestDataFieldsItemItems(v ContentTypeRequestDataFieldsItemItems) OptContentTypeRequestDataFieldsItemItems
NewOptContentTypeRequestDataFieldsItemItems returns new OptContentTypeRequestDataFieldsItemItems with value set to v.
func (*OptContentTypeRequestDataFieldsItemItems) Decode ¶ added in v0.0.42
func (o *OptContentTypeRequestDataFieldsItemItems) Decode(d *jx.Decoder) error
Decode decodes ContentTypeRequestDataFieldsItemItems from json.
func (OptContentTypeRequestDataFieldsItemItems) Encode ¶ added in v0.0.42
func (o OptContentTypeRequestDataFieldsItemItems) Encode(e *jx.Encoder)
Encode encodes ContentTypeRequestDataFieldsItemItems as json.
func (OptContentTypeRequestDataFieldsItemItems) Get ¶ added in v0.0.42
func (o OptContentTypeRequestDataFieldsItemItems) Get() (v ContentTypeRequestDataFieldsItemItems, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptContentTypeRequestDataFieldsItemItems) IsSet ¶ added in v0.0.42
func (o OptContentTypeRequestDataFieldsItemItems) IsSet() bool
IsSet returns true if OptContentTypeRequestDataFieldsItemItems was set.
func (OptContentTypeRequestDataFieldsItemItems) MarshalJSON ¶ added in v0.0.42
func (s OptContentTypeRequestDataFieldsItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptContentTypeRequestDataFieldsItemItems) Or ¶ added in v0.0.42
func (o OptContentTypeRequestDataFieldsItemItems) Or(d ContentTypeRequestDataFieldsItemItems) ContentTypeRequestDataFieldsItemItems
Or returns value if set, or given parameter if does not.
func (*OptContentTypeRequestDataFieldsItemItems) Reset ¶ added in v0.0.42
func (o *OptContentTypeRequestDataFieldsItemItems) Reset()
Reset unsets value.
func (*OptContentTypeRequestDataFieldsItemItems) SetTo ¶ added in v0.0.42
func (o *OptContentTypeRequestDataFieldsItemItems) SetTo(v ContentTypeRequestDataFieldsItemItems)
SetTo sets value to v.
func (*OptContentTypeRequestDataFieldsItemItems) UnmarshalJSON ¶ added in v0.0.42
func (s *OptContentTypeRequestDataFieldsItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
func (OptDateTime) MarshalJSON ¶
func (s OptDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDateTime) Or ¶
func (o OptDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptDateTime) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptEntryFields ¶ added in v0.0.40
type OptEntryFields struct {
Value EntryFields
Set bool
}
OptEntryFields is optional EntryFields.
func NewOptEntryFields ¶ added in v0.0.40
func NewOptEntryFields(v EntryFields) OptEntryFields
NewOptEntryFields returns new OptEntryFields with value set to v.
func (*OptEntryFields) Decode ¶ added in v0.0.40
func (o *OptEntryFields) Decode(d *jx.Decoder) error
Decode decodes EntryFields from json.
func (OptEntryFields) Encode ¶ added in v0.0.40
func (o OptEntryFields) Encode(e *jx.Encoder)
Encode encodes EntryFields as json.
func (OptEntryFields) Get ¶ added in v0.0.40
func (o OptEntryFields) Get() (v EntryFields, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEntryFields) IsSet ¶ added in v0.0.40
func (o OptEntryFields) IsSet() bool
IsSet returns true if OptEntryFields was set.
func (OptEntryFields) MarshalJSON ¶ added in v0.0.40
func (s OptEntryFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEntryFields) Or ¶ added in v0.0.40
func (o OptEntryFields) Or(d EntryFields) EntryFields
Or returns value if set, or given parameter if does not.
func (*OptEntryFields) Reset ¶ added in v0.0.40
func (o *OptEntryFields) Reset()
Reset unsets value.
func (*OptEntryFields) SetTo ¶ added in v0.0.40
func (o *OptEntryFields) SetTo(v EntryFields)
SetTo sets value to v.
func (*OptEntryFields) UnmarshalJSON ¶ added in v0.0.40
func (s *OptEntryFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptEntryMetadata ¶ added in v0.0.40
type OptEntryMetadata struct {
Value EntryMetadata
Set bool
}
OptEntryMetadata is optional EntryMetadata.
func NewOptEntryMetadata ¶ added in v0.0.40
func NewOptEntryMetadata(v EntryMetadata) OptEntryMetadata
NewOptEntryMetadata returns new OptEntryMetadata with value set to v.
func (*OptEntryMetadata) Decode ¶ added in v0.0.40
func (o *OptEntryMetadata) Decode(d *jx.Decoder) error
Decode decodes EntryMetadata from json.
func (OptEntryMetadata) Encode ¶ added in v0.0.40
func (o OptEntryMetadata) Encode(e *jx.Encoder)
Encode encodes EntryMetadata as json.
func (OptEntryMetadata) Get ¶ added in v0.0.40
func (o OptEntryMetadata) Get() (v EntryMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEntryMetadata) IsSet ¶ added in v0.0.40
func (o OptEntryMetadata) IsSet() bool
IsSet returns true if OptEntryMetadata was set.
func (OptEntryMetadata) MarshalJSON ¶ added in v0.0.40
func (s OptEntryMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEntryMetadata) Or ¶ added in v0.0.40
func (o OptEntryMetadata) Or(d EntryMetadata) EntryMetadata
Or returns value if set, or given parameter if does not.
func (*OptEntryMetadata) Reset ¶ added in v0.0.40
func (o *OptEntryMetadata) Reset()
Reset unsets value.
func (*OptEntryMetadata) SetTo ¶ added in v0.0.40
func (o *OptEntryMetadata) SetTo(v EntryMetadata)
SetTo sets value to v.
func (*OptEntryMetadata) UnmarshalJSON ¶ added in v0.0.40
func (s *OptEntryMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptExtensionDataExtensionFieldTypesItemItems ¶ added in v0.0.42
type OptExtensionDataExtensionFieldTypesItemItems struct {
Value ExtensionDataExtensionFieldTypesItemItems
Set bool
}
OptExtensionDataExtensionFieldTypesItemItems is optional ExtensionDataExtensionFieldTypesItemItems.
func NewOptExtensionDataExtensionFieldTypesItemItems ¶ added in v0.0.42
func NewOptExtensionDataExtensionFieldTypesItemItems(v ExtensionDataExtensionFieldTypesItemItems) OptExtensionDataExtensionFieldTypesItemItems
NewOptExtensionDataExtensionFieldTypesItemItems returns new OptExtensionDataExtensionFieldTypesItemItems with value set to v.
func (*OptExtensionDataExtensionFieldTypesItemItems) Decode ¶ added in v0.0.42
func (o *OptExtensionDataExtensionFieldTypesItemItems) Decode(d *jx.Decoder) error
Decode decodes ExtensionDataExtensionFieldTypesItemItems from json.
func (OptExtensionDataExtensionFieldTypesItemItems) Encode ¶ added in v0.0.42
func (o OptExtensionDataExtensionFieldTypesItemItems) Encode(e *jx.Encoder)
Encode encodes ExtensionDataExtensionFieldTypesItemItems as json.
func (OptExtensionDataExtensionFieldTypesItemItems) Get ¶ added in v0.0.42
func (o OptExtensionDataExtensionFieldTypesItemItems) Get() (v ExtensionDataExtensionFieldTypesItemItems, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptExtensionDataExtensionFieldTypesItemItems) IsSet ¶ added in v0.0.42
func (o OptExtensionDataExtensionFieldTypesItemItems) IsSet() bool
IsSet returns true if OptExtensionDataExtensionFieldTypesItemItems was set.
func (OptExtensionDataExtensionFieldTypesItemItems) MarshalJSON ¶ added in v0.0.42
func (s OptExtensionDataExtensionFieldTypesItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptExtensionDataExtensionFieldTypesItemItems) Or ¶ added in v0.0.42
func (o OptExtensionDataExtensionFieldTypesItemItems) Or(d ExtensionDataExtensionFieldTypesItemItems) ExtensionDataExtensionFieldTypesItemItems
Or returns value if set, or given parameter if does not.
func (*OptExtensionDataExtensionFieldTypesItemItems) Reset ¶ added in v0.0.42
func (o *OptExtensionDataExtensionFieldTypesItemItems) Reset()
Reset unsets value.
func (*OptExtensionDataExtensionFieldTypesItemItems) SetTo ¶ added in v0.0.42
func (o *OptExtensionDataExtensionFieldTypesItemItems) SetTo(v ExtensionDataExtensionFieldTypesItemItems)
SetTo sets value to v.
func (*OptExtensionDataExtensionFieldTypesItemItems) UnmarshalJSON ¶ added in v0.0.42
func (s *OptExtensionDataExtensionFieldTypesItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptExtensionExtensionFieldTypesItemItems ¶ added in v0.0.29
type OptExtensionExtensionFieldTypesItemItems struct {
Value ExtensionExtensionFieldTypesItemItems
Set bool
}
OptExtensionExtensionFieldTypesItemItems is optional ExtensionExtensionFieldTypesItemItems.
func NewOptExtensionExtensionFieldTypesItemItems ¶ added in v0.0.29
func NewOptExtensionExtensionFieldTypesItemItems(v ExtensionExtensionFieldTypesItemItems) OptExtensionExtensionFieldTypesItemItems
NewOptExtensionExtensionFieldTypesItemItems returns new OptExtensionExtensionFieldTypesItemItems with value set to v.
func (*OptExtensionExtensionFieldTypesItemItems) Decode ¶ added in v0.0.29
func (o *OptExtensionExtensionFieldTypesItemItems) Decode(d *jx.Decoder) error
Decode decodes ExtensionExtensionFieldTypesItemItems from json.
func (OptExtensionExtensionFieldTypesItemItems) Encode ¶ added in v0.0.29
func (o OptExtensionExtensionFieldTypesItemItems) Encode(e *jx.Encoder)
Encode encodes ExtensionExtensionFieldTypesItemItems as json.
func (OptExtensionExtensionFieldTypesItemItems) Get ¶ added in v0.0.29
func (o OptExtensionExtensionFieldTypesItemItems) Get() (v ExtensionExtensionFieldTypesItemItems, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptExtensionExtensionFieldTypesItemItems) IsSet ¶ added in v0.0.29
func (o OptExtensionExtensionFieldTypesItemItems) IsSet() bool
IsSet returns true if OptExtensionExtensionFieldTypesItemItems was set.
func (OptExtensionExtensionFieldTypesItemItems) MarshalJSON ¶ added in v0.0.29
func (s OptExtensionExtensionFieldTypesItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptExtensionExtensionFieldTypesItemItems) Or ¶ added in v0.0.29
func (o OptExtensionExtensionFieldTypesItemItems) Or(d ExtensionExtensionFieldTypesItemItems) ExtensionExtensionFieldTypesItemItems
Or returns value if set, or given parameter if does not.
func (*OptExtensionExtensionFieldTypesItemItems) Reset ¶ added in v0.0.29
func (o *OptExtensionExtensionFieldTypesItemItems) Reset()
Reset unsets value.
func (*OptExtensionExtensionFieldTypesItemItems) SetTo ¶ added in v0.0.29
func (o *OptExtensionExtensionFieldTypesItemItems) SetTo(v ExtensionExtensionFieldTypesItemItems)
SetTo sets value to v.
func (*OptExtensionExtensionFieldTypesItemItems) UnmarshalJSON ¶ added in v0.0.29
func (s *OptExtensionExtensionFieldTypesItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶ added in v0.0.5
OptInt is optional int.
func (OptInt) Get ¶ added in v0.0.5
Get returns value and boolean that denotes whether value was set.
func (OptInt) MarshalJSON ¶ added in v0.0.5
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶ added in v0.0.5
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt64 ¶ added in v0.0.46
OptInt64 is optional int64.
func NewOptInt64 ¶ added in v0.0.46
NewOptInt64 returns new OptInt64 with value set to v.
func (OptInt64) Get ¶ added in v0.0.46
Get returns value and boolean that denotes whether value was set.
type OptNilDateTime ¶ added in v0.0.12
OptNilDateTime is optional nullable time.Time.
func NewOptNilDateTime ¶ added in v0.0.12
func NewOptNilDateTime(v time.Time) OptNilDateTime
NewOptNilDateTime returns new OptNilDateTime with value set to v.
func NewOptNilDateTimeNull ¶ added in v0.0.12
func NewOptNilDateTimeNull() OptNilDateTime
func (OptNilDateTime) Get ¶ added in v0.0.12
func (o OptNilDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilDateTime) IsNull ¶ added in v0.0.12
func (o OptNilDateTime) IsNull() bool
IsNull returns true if value is Null.
func (OptNilDateTime) IsSet ¶ added in v0.0.12
func (o OptNilDateTime) IsSet() bool
IsSet returns true if OptNilDateTime was set.
func (OptNilDateTime) MarshalJSON ¶ added in v0.0.12
func (s OptNilDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilDateTime) Or ¶ added in v0.0.12
func (o OptNilDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptNilDateTime) Reset ¶ added in v0.0.12
func (o *OptNilDateTime) Reset()
Reset unsets value.
func (*OptNilDateTime) SetTo ¶ added in v0.0.12
func (o *OptNilDateTime) SetTo(v time.Time)
SetTo sets value to v.
func (*OptNilDateTime) SetToNull ¶ added in v0.0.12
func (o *OptNilDateTime) SetToNull()
SetToNull sets value to null.
func (*OptNilDateTime) UnmarshalJSON ¶ added in v0.0.12
func (s *OptNilDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OptNilDateTime) ValueTimePointer ¶ added in v0.0.12
func (v *OptNilDateTime) ValueTimePointer() *time.Time
type OptNilEditorInterfaceControlsItemArray ¶ added in v0.0.4
type OptNilEditorInterfaceControlsItemArray struct {
Value []EditorInterfaceControlsItem
Set bool
Null bool
}
OptNilEditorInterfaceControlsItemArray is optional nullable []EditorInterfaceControlsItem.
func NewOptNilEditorInterfaceControlsItemArray ¶ added in v0.0.4
func NewOptNilEditorInterfaceControlsItemArray(v []EditorInterfaceControlsItem) OptNilEditorInterfaceControlsItemArray
NewOptNilEditorInterfaceControlsItemArray returns new OptNilEditorInterfaceControlsItemArray with value set to v.
func (*OptNilEditorInterfaceControlsItemArray) Decode ¶ added in v0.0.4
func (o *OptNilEditorInterfaceControlsItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceControlsItem from json.
func (OptNilEditorInterfaceControlsItemArray) Encode ¶ added in v0.0.4
func (o OptNilEditorInterfaceControlsItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceControlsItem as json.
func (OptNilEditorInterfaceControlsItemArray) Get ¶ added in v0.0.4
func (o OptNilEditorInterfaceControlsItemArray) Get() (v []EditorInterfaceControlsItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceControlsItemArray) IsNull ¶ added in v0.0.4
func (o OptNilEditorInterfaceControlsItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceControlsItemArray) IsSet ¶ added in v0.0.4
func (o OptNilEditorInterfaceControlsItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceControlsItemArray was set.
func (OptNilEditorInterfaceControlsItemArray) MarshalJSON ¶ added in v0.0.4
func (s OptNilEditorInterfaceControlsItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceControlsItemArray) Or ¶ added in v0.0.4
func (o OptNilEditorInterfaceControlsItemArray) Or(d []EditorInterfaceControlsItem) []EditorInterfaceControlsItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceControlsItemArray) Reset ¶ added in v0.0.4
func (o *OptNilEditorInterfaceControlsItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceControlsItemArray) SetTo ¶ added in v0.0.4
func (o *OptNilEditorInterfaceControlsItemArray) SetTo(v []EditorInterfaceControlsItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceControlsItemArray) SetToNull ¶ added in v0.0.4
func (o *OptNilEditorInterfaceControlsItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceControlsItemArray) UnmarshalJSON ¶ added in v0.0.4
func (s *OptNilEditorInterfaceControlsItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceDataControlsItemArray ¶ added in v0.0.42
type OptNilEditorInterfaceDataControlsItemArray struct {
Value []EditorInterfaceDataControlsItem
Set bool
Null bool
}
OptNilEditorInterfaceDataControlsItemArray is optional nullable []EditorInterfaceDataControlsItem.
func NewOptNilEditorInterfaceDataControlsItemArray ¶ added in v0.0.42
func NewOptNilEditorInterfaceDataControlsItemArray(v []EditorInterfaceDataControlsItem) OptNilEditorInterfaceDataControlsItemArray
NewOptNilEditorInterfaceDataControlsItemArray returns new OptNilEditorInterfaceDataControlsItemArray with value set to v.
func (*OptNilEditorInterfaceDataControlsItemArray) Decode ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataControlsItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceDataControlsItem from json.
func (OptNilEditorInterfaceDataControlsItemArray) Encode ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataControlsItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceDataControlsItem as json.
func (OptNilEditorInterfaceDataControlsItemArray) Get ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataControlsItemArray) Get() (v []EditorInterfaceDataControlsItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceDataControlsItemArray) IsNull ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataControlsItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceDataControlsItemArray) IsSet ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataControlsItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceDataControlsItemArray was set.
func (OptNilEditorInterfaceDataControlsItemArray) MarshalJSON ¶ added in v0.0.42
func (s OptNilEditorInterfaceDataControlsItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceDataControlsItemArray) Or ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataControlsItemArray) Or(d []EditorInterfaceDataControlsItem) []EditorInterfaceDataControlsItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceDataControlsItemArray) Reset ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataControlsItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceDataControlsItemArray) SetTo ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataControlsItemArray) SetTo(v []EditorInterfaceDataControlsItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceDataControlsItemArray) SetToNull ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataControlsItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceDataControlsItemArray) UnmarshalJSON ¶ added in v0.0.42
func (s *OptNilEditorInterfaceDataControlsItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceDataGroupControlsItemArray ¶ added in v0.0.42
type OptNilEditorInterfaceDataGroupControlsItemArray struct {
Value []EditorInterfaceDataGroupControlsItem
Set bool
Null bool
}
OptNilEditorInterfaceDataGroupControlsItemArray is optional nullable []EditorInterfaceDataGroupControlsItem.
func NewOptNilEditorInterfaceDataGroupControlsItemArray ¶ added in v0.0.42
func NewOptNilEditorInterfaceDataGroupControlsItemArray(v []EditorInterfaceDataGroupControlsItem) OptNilEditorInterfaceDataGroupControlsItemArray
NewOptNilEditorInterfaceDataGroupControlsItemArray returns new OptNilEditorInterfaceDataGroupControlsItemArray with value set to v.
func (*OptNilEditorInterfaceDataGroupControlsItemArray) Decode ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataGroupControlsItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceDataGroupControlsItem from json.
func (OptNilEditorInterfaceDataGroupControlsItemArray) Encode ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataGroupControlsItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceDataGroupControlsItem as json.
func (OptNilEditorInterfaceDataGroupControlsItemArray) Get ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataGroupControlsItemArray) Get() (v []EditorInterfaceDataGroupControlsItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceDataGroupControlsItemArray) IsNull ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataGroupControlsItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceDataGroupControlsItemArray) IsSet ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataGroupControlsItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceDataGroupControlsItemArray was set.
func (OptNilEditorInterfaceDataGroupControlsItemArray) MarshalJSON ¶ added in v0.0.42
func (s OptNilEditorInterfaceDataGroupControlsItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceDataGroupControlsItemArray) Or ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataGroupControlsItemArray) Or(d []EditorInterfaceDataGroupControlsItem) []EditorInterfaceDataGroupControlsItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceDataGroupControlsItemArray) Reset ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataGroupControlsItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceDataGroupControlsItemArray) SetTo ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataGroupControlsItemArray) SetTo(v []EditorInterfaceDataGroupControlsItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceDataGroupControlsItemArray) SetToNull ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataGroupControlsItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceDataGroupControlsItemArray) UnmarshalJSON ¶ added in v0.0.42
func (s *OptNilEditorInterfaceDataGroupControlsItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceDataSidebarItemArray ¶ added in v0.0.42
type OptNilEditorInterfaceDataSidebarItemArray struct {
Value []EditorInterfaceDataSidebarItem
Set bool
Null bool
}
OptNilEditorInterfaceDataSidebarItemArray is optional nullable []EditorInterfaceDataSidebarItem.
func NewOptNilEditorInterfaceDataSidebarItemArray ¶ added in v0.0.42
func NewOptNilEditorInterfaceDataSidebarItemArray(v []EditorInterfaceDataSidebarItem) OptNilEditorInterfaceDataSidebarItemArray
NewOptNilEditorInterfaceDataSidebarItemArray returns new OptNilEditorInterfaceDataSidebarItemArray with value set to v.
func (*OptNilEditorInterfaceDataSidebarItemArray) Decode ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataSidebarItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceDataSidebarItem from json.
func (OptNilEditorInterfaceDataSidebarItemArray) Encode ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataSidebarItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceDataSidebarItem as json.
func (OptNilEditorInterfaceDataSidebarItemArray) Get ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataSidebarItemArray) Get() (v []EditorInterfaceDataSidebarItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceDataSidebarItemArray) IsNull ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataSidebarItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceDataSidebarItemArray) IsSet ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataSidebarItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceDataSidebarItemArray was set.
func (OptNilEditorInterfaceDataSidebarItemArray) MarshalJSON ¶ added in v0.0.42
func (s OptNilEditorInterfaceDataSidebarItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceDataSidebarItemArray) Or ¶ added in v0.0.42
func (o OptNilEditorInterfaceDataSidebarItemArray) Or(d []EditorInterfaceDataSidebarItem) []EditorInterfaceDataSidebarItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceDataSidebarItemArray) Reset ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataSidebarItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceDataSidebarItemArray) SetTo ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataSidebarItemArray) SetTo(v []EditorInterfaceDataSidebarItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceDataSidebarItemArray) SetToNull ¶ added in v0.0.42
func (o *OptNilEditorInterfaceDataSidebarItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceDataSidebarItemArray) UnmarshalJSON ¶ added in v0.0.42
func (s *OptNilEditorInterfaceDataSidebarItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceEditorLayoutItemArray ¶ added in v0.0.16
type OptNilEditorInterfaceEditorLayoutItemArray struct {
Value []EditorInterfaceEditorLayoutItem
Set bool
Null bool
}
OptNilEditorInterfaceEditorLayoutItemArray is optional nullable []EditorInterfaceEditorLayoutItem.
func NewOptNilEditorInterfaceEditorLayoutItemArray ¶ added in v0.0.16
func NewOptNilEditorInterfaceEditorLayoutItemArray(v []EditorInterfaceEditorLayoutItem) OptNilEditorInterfaceEditorLayoutItemArray
NewOptNilEditorInterfaceEditorLayoutItemArray returns new OptNilEditorInterfaceEditorLayoutItemArray with value set to v.
func (*OptNilEditorInterfaceEditorLayoutItemArray) Decode ¶ added in v0.0.16
func (o *OptNilEditorInterfaceEditorLayoutItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceEditorLayoutItem from json.
func (OptNilEditorInterfaceEditorLayoutItemArray) Encode ¶ added in v0.0.16
func (o OptNilEditorInterfaceEditorLayoutItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceEditorLayoutItem as json.
func (OptNilEditorInterfaceEditorLayoutItemArray) Get ¶ added in v0.0.16
func (o OptNilEditorInterfaceEditorLayoutItemArray) Get() (v []EditorInterfaceEditorLayoutItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceEditorLayoutItemArray) IsNull ¶ added in v0.0.16
func (o OptNilEditorInterfaceEditorLayoutItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceEditorLayoutItemArray) IsSet ¶ added in v0.0.16
func (o OptNilEditorInterfaceEditorLayoutItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceEditorLayoutItemArray was set.
func (OptNilEditorInterfaceEditorLayoutItemArray) MarshalJSON ¶ added in v0.0.16
func (s OptNilEditorInterfaceEditorLayoutItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceEditorLayoutItemArray) Or ¶ added in v0.0.16
func (o OptNilEditorInterfaceEditorLayoutItemArray) Or(d []EditorInterfaceEditorLayoutItem) []EditorInterfaceEditorLayoutItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceEditorLayoutItemArray) Reset ¶ added in v0.0.16
func (o *OptNilEditorInterfaceEditorLayoutItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceEditorLayoutItemArray) SetTo ¶ added in v0.0.16
func (o *OptNilEditorInterfaceEditorLayoutItemArray) SetTo(v []EditorInterfaceEditorLayoutItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceEditorLayoutItemArray) SetToNull ¶ added in v0.0.16
func (o *OptNilEditorInterfaceEditorLayoutItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceEditorLayoutItemArray) UnmarshalJSON ¶ added in v0.0.16
func (s *OptNilEditorInterfaceEditorLayoutItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceGroupControlsItemArray ¶ added in v0.0.16
type OptNilEditorInterfaceGroupControlsItemArray struct {
Value []EditorInterfaceGroupControlsItem
Set bool
Null bool
}
OptNilEditorInterfaceGroupControlsItemArray is optional nullable []EditorInterfaceGroupControlsItem.
func NewOptNilEditorInterfaceGroupControlsItemArray ¶ added in v0.0.16
func NewOptNilEditorInterfaceGroupControlsItemArray(v []EditorInterfaceGroupControlsItem) OptNilEditorInterfaceGroupControlsItemArray
NewOptNilEditorInterfaceGroupControlsItemArray returns new OptNilEditorInterfaceGroupControlsItemArray with value set to v.
func (*OptNilEditorInterfaceGroupControlsItemArray) Decode ¶ added in v0.0.16
func (o *OptNilEditorInterfaceGroupControlsItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceGroupControlsItem from json.
func (OptNilEditorInterfaceGroupControlsItemArray) Encode ¶ added in v0.0.16
func (o OptNilEditorInterfaceGroupControlsItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceGroupControlsItem as json.
func (OptNilEditorInterfaceGroupControlsItemArray) Get ¶ added in v0.0.16
func (o OptNilEditorInterfaceGroupControlsItemArray) Get() (v []EditorInterfaceGroupControlsItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceGroupControlsItemArray) IsNull ¶ added in v0.0.16
func (o OptNilEditorInterfaceGroupControlsItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceGroupControlsItemArray) IsSet ¶ added in v0.0.16
func (o OptNilEditorInterfaceGroupControlsItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceGroupControlsItemArray was set.
func (OptNilEditorInterfaceGroupControlsItemArray) MarshalJSON ¶ added in v0.0.16
func (s OptNilEditorInterfaceGroupControlsItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceGroupControlsItemArray) Or ¶ added in v0.0.16
func (o OptNilEditorInterfaceGroupControlsItemArray) Or(d []EditorInterfaceGroupControlsItem) []EditorInterfaceGroupControlsItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceGroupControlsItemArray) Reset ¶ added in v0.0.16
func (o *OptNilEditorInterfaceGroupControlsItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceGroupControlsItemArray) SetTo ¶ added in v0.0.16
func (o *OptNilEditorInterfaceGroupControlsItemArray) SetTo(v []EditorInterfaceGroupControlsItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceGroupControlsItemArray) SetToNull ¶ added in v0.0.16
func (o *OptNilEditorInterfaceGroupControlsItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceGroupControlsItemArray) UnmarshalJSON ¶ added in v0.0.16
func (s *OptNilEditorInterfaceGroupControlsItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceSidebarItemArray ¶ added in v0.0.4
type OptNilEditorInterfaceSidebarItemArray struct {
Value []EditorInterfaceSidebarItem
Set bool
Null bool
}
OptNilEditorInterfaceSidebarItemArray is optional nullable []EditorInterfaceSidebarItem.
func NewOptNilEditorInterfaceSidebarItemArray ¶ added in v0.0.4
func NewOptNilEditorInterfaceSidebarItemArray(v []EditorInterfaceSidebarItem) OptNilEditorInterfaceSidebarItemArray
NewOptNilEditorInterfaceSidebarItemArray returns new OptNilEditorInterfaceSidebarItemArray with value set to v.
func (*OptNilEditorInterfaceSidebarItemArray) Decode ¶ added in v0.0.4
func (o *OptNilEditorInterfaceSidebarItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceSidebarItem from json.
func (OptNilEditorInterfaceSidebarItemArray) Encode ¶ added in v0.0.4
func (o OptNilEditorInterfaceSidebarItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceSidebarItem as json.
func (OptNilEditorInterfaceSidebarItemArray) Get ¶ added in v0.0.4
func (o OptNilEditorInterfaceSidebarItemArray) Get() (v []EditorInterfaceSidebarItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceSidebarItemArray) IsNull ¶ added in v0.0.4
func (o OptNilEditorInterfaceSidebarItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceSidebarItemArray) IsSet ¶ added in v0.0.4
func (o OptNilEditorInterfaceSidebarItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceSidebarItemArray was set.
func (OptNilEditorInterfaceSidebarItemArray) MarshalJSON ¶ added in v0.0.4
func (s OptNilEditorInterfaceSidebarItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceSidebarItemArray) Or ¶ added in v0.0.4
func (o OptNilEditorInterfaceSidebarItemArray) Or(d []EditorInterfaceSidebarItem) []EditorInterfaceSidebarItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceSidebarItemArray) Reset ¶ added in v0.0.4
func (o *OptNilEditorInterfaceSidebarItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceSidebarItemArray) SetTo ¶ added in v0.0.4
func (o *OptNilEditorInterfaceSidebarItemArray) SetTo(v []EditorInterfaceSidebarItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceSidebarItemArray) SetToNull ¶ added in v0.0.4
func (o *OptNilEditorInterfaceSidebarItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceSidebarItemArray) UnmarshalJSON ¶ added in v0.0.4
func (s *OptNilEditorInterfaceSidebarItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilInt ¶ added in v0.0.12
OptNilInt is optional nullable int.
func NewOptNilInt ¶ added in v0.0.12
NewOptNilInt returns new OptNilInt with value set to v.
func NewOptNilIntNull ¶ added in v0.0.12
func NewOptNilIntNull() OptNilInt
func NewOptNilPointerInt ¶ added in v0.0.12
func NewOptNilPointerInt64 ¶ added in v0.0.12
func (OptNilInt) Get ¶ added in v0.0.12
Get returns value and boolean that denotes whether value was set.
func (OptNilInt) MarshalJSON ¶ added in v0.0.12
MarshalJSON implements stdjson.Marshaler.
func (*OptNilInt) SetToNull ¶ added in v0.0.12
func (o *OptNilInt) SetToNull()
SetToNull sets value to null.
func (*OptNilInt) UnmarshalJSON ¶ added in v0.0.12
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OptNilInt) ValueInt64Pointer ¶ added in v0.0.12
func (*OptNilInt) ValueIntPointer ¶ added in v0.0.12
type OptNilResourceLinkArray ¶ added in v0.0.22
type OptNilResourceLinkArray struct {
Value []ResourceLink
Set bool
Null bool
}
OptNilResourceLinkArray is optional nullable []ResourceLink.
func NewOptNilResourceLinkArray ¶ added in v0.0.22
func NewOptNilResourceLinkArray(v []ResourceLink) OptNilResourceLinkArray
NewOptNilResourceLinkArray returns new OptNilResourceLinkArray with value set to v.
func (*OptNilResourceLinkArray) Decode ¶ added in v0.0.22
func (o *OptNilResourceLinkArray) Decode(d *jx.Decoder) error
Decode decodes []ResourceLink from json.
func (OptNilResourceLinkArray) Encode ¶ added in v0.0.22
func (o OptNilResourceLinkArray) Encode(e *jx.Encoder)
Encode encodes []ResourceLink as json.
func (OptNilResourceLinkArray) Get ¶ added in v0.0.22
func (o OptNilResourceLinkArray) Get() (v []ResourceLink, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilResourceLinkArray) IsNull ¶ added in v0.0.22
func (o OptNilResourceLinkArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilResourceLinkArray) IsSet ¶ added in v0.0.22
func (o OptNilResourceLinkArray) IsSet() bool
IsSet returns true if OptNilResourceLinkArray was set.
func (OptNilResourceLinkArray) MarshalJSON ¶ added in v0.0.22
func (s OptNilResourceLinkArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilResourceLinkArray) Or ¶ added in v0.0.22
func (o OptNilResourceLinkArray) Or(d []ResourceLink) []ResourceLink
Or returns value if set, or given parameter if does not.
func (*OptNilResourceLinkArray) Reset ¶ added in v0.0.22
func (o *OptNilResourceLinkArray) Reset()
Reset unsets value.
func (*OptNilResourceLinkArray) SetTo ¶ added in v0.0.22
func (o *OptNilResourceLinkArray) SetTo(v []ResourceLink)
SetTo sets value to v.
func (*OptNilResourceLinkArray) SetToNull ¶ added in v0.0.22
func (o *OptNilResourceLinkArray) SetToNull()
SetToNull sets value to null.
func (*OptNilResourceLinkArray) UnmarshalJSON ¶ added in v0.0.22
func (s *OptNilResourceLinkArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶ added in v0.0.10
OptNilString is optional nullable string.
func NewOptNilPointerString ¶ added in v0.0.15
func NewOptNilPointerString(v *string) OptNilString
func NewOptNilString ¶ added in v0.0.10
func NewOptNilString(v string) OptNilString
NewOptNilString returns new OptNilString with value set to v.
func NewOptNilStringNull ¶ added in v0.0.10
func NewOptNilStringNull() OptNilString
func (*OptNilString) Decode ¶ added in v0.0.10
func (o *OptNilString) Decode(d *jx.Decoder) error
Decode decodes string from json.
func (OptNilString) Encode ¶ added in v0.0.10
func (o OptNilString) Encode(e *jx.Encoder)
Encode encodes string as json.
func (OptNilString) Get ¶ added in v0.0.10
func (o OptNilString) Get() (v string, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilString) IsNull ¶ added in v0.0.10
func (o OptNilString) IsNull() bool
IsNull returns true if value is Null.
func (OptNilString) IsSet ¶ added in v0.0.10
func (o OptNilString) IsSet() bool
IsSet returns true if OptNilString was set.
func (OptNilString) MarshalJSON ¶ added in v0.0.10
func (s OptNilString) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilString) Or ¶ added in v0.0.10
func (o OptNilString) Or(d string) string
Or returns value if set, or given parameter if does not.
func (*OptNilString) SetTo ¶ added in v0.0.10
func (o *OptNilString) SetTo(v string)
SetTo sets value to v.
func (*OptNilString) SetToNull ¶ added in v0.0.10
func (o *OptNilString) SetToNull()
SetToNull sets value to null.
func (*OptNilString) UnmarshalJSON ¶ added in v0.0.10
func (s *OptNilString) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OptNilString) ValueStringPointer ¶ added in v0.0.10
func (v *OptNilString) ValueStringPointer() *string
type OptNilWebhookDefinitionDataTransformation ¶ added in v0.0.42
type OptNilWebhookDefinitionDataTransformation struct {
Value WebhookDefinitionDataTransformation
Set bool
Null bool
}
OptNilWebhookDefinitionDataTransformation is optional nullable WebhookDefinitionDataTransformation.
func NewOptNilWebhookDefinitionDataTransformation ¶ added in v0.0.42
func NewOptNilWebhookDefinitionDataTransformation(v WebhookDefinitionDataTransformation) OptNilWebhookDefinitionDataTransformation
NewOptNilWebhookDefinitionDataTransformation returns new OptNilWebhookDefinitionDataTransformation with value set to v.
func (*OptNilWebhookDefinitionDataTransformation) Decode ¶ added in v0.0.42
func (o *OptNilWebhookDefinitionDataTransformation) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionDataTransformation from json.
func (OptNilWebhookDefinitionDataTransformation) Encode ¶ added in v0.0.42
func (o OptNilWebhookDefinitionDataTransformation) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionDataTransformation as json.
func (OptNilWebhookDefinitionDataTransformation) Get ¶ added in v0.0.42
func (o OptNilWebhookDefinitionDataTransformation) Get() (v WebhookDefinitionDataTransformation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilWebhookDefinitionDataTransformation) IsNull ¶ added in v0.0.42
func (o OptNilWebhookDefinitionDataTransformation) IsNull() bool
IsNull returns true if value is Null.
func (OptNilWebhookDefinitionDataTransformation) IsSet ¶ added in v0.0.42
func (o OptNilWebhookDefinitionDataTransformation) IsSet() bool
IsSet returns true if OptNilWebhookDefinitionDataTransformation was set.
func (OptNilWebhookDefinitionDataTransformation) MarshalJSON ¶ added in v0.0.42
func (s OptNilWebhookDefinitionDataTransformation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilWebhookDefinitionDataTransformation) Or ¶ added in v0.0.42
func (o OptNilWebhookDefinitionDataTransformation) Or(d WebhookDefinitionDataTransformation) WebhookDefinitionDataTransformation
Or returns value if set, or given parameter if does not.
func (*OptNilWebhookDefinitionDataTransformation) Reset ¶ added in v0.0.42
func (o *OptNilWebhookDefinitionDataTransformation) Reset()
Reset unsets value.
func (*OptNilWebhookDefinitionDataTransformation) SetTo ¶ added in v0.0.42
func (o *OptNilWebhookDefinitionDataTransformation) SetTo(v WebhookDefinitionDataTransformation)
SetTo sets value to v.
func (*OptNilWebhookDefinitionDataTransformation) SetToNull ¶ added in v0.0.42
func (o *OptNilWebhookDefinitionDataTransformation) SetToNull()
SetToNull sets value to null.
func (*OptNilWebhookDefinitionDataTransformation) UnmarshalJSON ¶ added in v0.0.42
func (s *OptNilWebhookDefinitionDataTransformation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilWebhookDefinitionFilterArray ¶ added in v0.0.17
type OptNilWebhookDefinitionFilterArray struct {
Value []WebhookDefinitionFilter
Set bool
Null bool
}
OptNilWebhookDefinitionFilterArray is optional nullable []WebhookDefinitionFilter.
func NewOptNilWebhookDefinitionFilterArray ¶ added in v0.0.17
func NewOptNilWebhookDefinitionFilterArray(v []WebhookDefinitionFilter) OptNilWebhookDefinitionFilterArray
NewOptNilWebhookDefinitionFilterArray returns new OptNilWebhookDefinitionFilterArray with value set to v.
func NewOptNilWebhookDefinitionFilterArrayNull ¶ added in v0.0.17
func NewOptNilWebhookDefinitionFilterArrayNull() OptNilWebhookDefinitionFilterArray
func (*OptNilWebhookDefinitionFilterArray) Decode ¶ added in v0.0.17
func (o *OptNilWebhookDefinitionFilterArray) Decode(d *jx.Decoder) error
Decode decodes []WebhookDefinitionFilter from json.
func (OptNilWebhookDefinitionFilterArray) Encode ¶ added in v0.0.17
func (o OptNilWebhookDefinitionFilterArray) Encode(e *jx.Encoder)
Encode encodes []WebhookDefinitionFilter as json.
func (OptNilWebhookDefinitionFilterArray) Get ¶ added in v0.0.17
func (o OptNilWebhookDefinitionFilterArray) Get() (v []WebhookDefinitionFilter, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilWebhookDefinitionFilterArray) IsNull ¶ added in v0.0.17
func (o OptNilWebhookDefinitionFilterArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilWebhookDefinitionFilterArray) IsSet ¶ added in v0.0.17
func (o OptNilWebhookDefinitionFilterArray) IsSet() bool
IsSet returns true if OptNilWebhookDefinitionFilterArray was set.
func (OptNilWebhookDefinitionFilterArray) MarshalJSON ¶ added in v0.0.17
func (s OptNilWebhookDefinitionFilterArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilWebhookDefinitionFilterArray) Or ¶ added in v0.0.17
func (o OptNilWebhookDefinitionFilterArray) Or(d []WebhookDefinitionFilter) []WebhookDefinitionFilter
Or returns value if set, or given parameter if does not.
func (*OptNilWebhookDefinitionFilterArray) Reset ¶ added in v0.0.17
func (o *OptNilWebhookDefinitionFilterArray) Reset()
Reset unsets value.
func (*OptNilWebhookDefinitionFilterArray) SetTo ¶ added in v0.0.17
func (o *OptNilWebhookDefinitionFilterArray) SetTo(v []WebhookDefinitionFilter)
SetTo sets value to v.
func (*OptNilWebhookDefinitionFilterArray) SetToNull ¶ added in v0.0.17
func (o *OptNilWebhookDefinitionFilterArray) SetToNull()
SetToNull sets value to null.
func (*OptNilWebhookDefinitionFilterArray) UnmarshalJSON ¶ added in v0.0.17
func (s *OptNilWebhookDefinitionFilterArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilWebhookDefinitionTransformation ¶ added in v0.0.17
type OptNilWebhookDefinitionTransformation struct {
Value WebhookDefinitionTransformation
Set bool
Null bool
}
OptNilWebhookDefinitionTransformation is optional nullable WebhookDefinitionTransformation.
func NewOptNilWebhookDefinitionTransformation ¶ added in v0.0.17
func NewOptNilWebhookDefinitionTransformation(v WebhookDefinitionTransformation) OptNilWebhookDefinitionTransformation
NewOptNilWebhookDefinitionTransformation returns new OptNilWebhookDefinitionTransformation with value set to v.
func (*OptNilWebhookDefinitionTransformation) Decode ¶ added in v0.0.17
func (o *OptNilWebhookDefinitionTransformation) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionTransformation from json.
func (OptNilWebhookDefinitionTransformation) Encode ¶ added in v0.0.17
func (o OptNilWebhookDefinitionTransformation) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionTransformation as json.
func (OptNilWebhookDefinitionTransformation) Get ¶ added in v0.0.17
func (o OptNilWebhookDefinitionTransformation) Get() (v WebhookDefinitionTransformation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilWebhookDefinitionTransformation) IsNull ¶ added in v0.0.17
func (o OptNilWebhookDefinitionTransformation) IsNull() bool
IsNull returns true if value is Null.
func (OptNilWebhookDefinitionTransformation) IsSet ¶ added in v0.0.17
func (o OptNilWebhookDefinitionTransformation) IsSet() bool
IsSet returns true if OptNilWebhookDefinitionTransformation was set.
func (OptNilWebhookDefinitionTransformation) MarshalJSON ¶ added in v0.0.17
func (s OptNilWebhookDefinitionTransformation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilWebhookDefinitionTransformation) Or ¶ added in v0.0.17
func (o OptNilWebhookDefinitionTransformation) Or(d WebhookDefinitionTransformation) WebhookDefinitionTransformation
Or returns value if set, or given parameter if does not.
func (*OptNilWebhookDefinitionTransformation) Reset ¶ added in v0.0.17
func (o *OptNilWebhookDefinitionTransformation) Reset()
Reset unsets value.
func (*OptNilWebhookDefinitionTransformation) SetTo ¶ added in v0.0.17
func (o *OptNilWebhookDefinitionTransformation) SetTo(v WebhookDefinitionTransformation)
SetTo sets value to v.
func (*OptNilWebhookDefinitionTransformation) SetToNull ¶ added in v0.0.17
func (o *OptNilWebhookDefinitionTransformation) SetToNull()
SetToNull sets value to null.
func (*OptNilWebhookDefinitionTransformation) UnmarshalJSON ¶ added in v0.0.17
func (s *OptNilWebhookDefinitionTransformation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPreviewAPIKeyLink ¶ added in v0.0.41
type OptPreviewAPIKeyLink struct {
Value PreviewAPIKeyLink
Set bool
}
OptPreviewAPIKeyLink is optional PreviewAPIKeyLink.
func NewOptPreviewAPIKeyLink ¶ added in v0.0.41
func NewOptPreviewAPIKeyLink(v PreviewAPIKeyLink) OptPreviewAPIKeyLink
NewOptPreviewAPIKeyLink returns new OptPreviewAPIKeyLink with value set to v.
func (*OptPreviewAPIKeyLink) Decode ¶ added in v0.0.41
func (o *OptPreviewAPIKeyLink) Decode(d *jx.Decoder) error
Decode decodes PreviewAPIKeyLink from json.
func (OptPreviewAPIKeyLink) Encode ¶ added in v0.0.41
func (o OptPreviewAPIKeyLink) Encode(e *jx.Encoder)
Encode encodes PreviewAPIKeyLink as json.
func (OptPreviewAPIKeyLink) Get ¶ added in v0.0.41
func (o OptPreviewAPIKeyLink) Get() (v PreviewAPIKeyLink, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPreviewAPIKeyLink) IsSet ¶ added in v0.0.41
func (o OptPreviewAPIKeyLink) IsSet() bool
IsSet returns true if OptPreviewAPIKeyLink was set.
func (OptPreviewAPIKeyLink) MarshalJSON ¶ added in v0.0.41
func (s OptPreviewAPIKeyLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPreviewAPIKeyLink) Or ¶ added in v0.0.41
func (o OptPreviewAPIKeyLink) Or(d PreviewAPIKeyLink) PreviewAPIKeyLink
Or returns value if set, or given parameter if does not.
func (*OptPreviewAPIKeyLink) Reset ¶ added in v0.0.41
func (o *OptPreviewAPIKeyLink) Reset()
Reset unsets value.
func (*OptPreviewAPIKeyLink) SetTo ¶ added in v0.0.41
func (o *OptPreviewAPIKeyLink) SetTo(v PreviewAPIKeyLink)
SetTo sets value to v.
func (*OptPreviewAPIKeyLink) UnmarshalJSON ¶ added in v0.0.41
func (s *OptPreviewAPIKeyLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptResourceTypeDefaultFieldMappingBadge ¶ added in v0.0.23
type OptResourceTypeDefaultFieldMappingBadge struct {
Value ResourceTypeDefaultFieldMappingBadge
Set bool
}
OptResourceTypeDefaultFieldMappingBadge is optional ResourceTypeDefaultFieldMappingBadge.
func NewOptResourceTypeDefaultFieldMappingBadge ¶ added in v0.0.23
func NewOptResourceTypeDefaultFieldMappingBadge(v ResourceTypeDefaultFieldMappingBadge) OptResourceTypeDefaultFieldMappingBadge
NewOptResourceTypeDefaultFieldMappingBadge returns new OptResourceTypeDefaultFieldMappingBadge with value set to v.
func (*OptResourceTypeDefaultFieldMappingBadge) Decode ¶ added in v0.0.23
func (o *OptResourceTypeDefaultFieldMappingBadge) Decode(d *jx.Decoder) error
Decode decodes ResourceTypeDefaultFieldMappingBadge from json.
func (OptResourceTypeDefaultFieldMappingBadge) Encode ¶ added in v0.0.23
func (o OptResourceTypeDefaultFieldMappingBadge) Encode(e *jx.Encoder)
Encode encodes ResourceTypeDefaultFieldMappingBadge as json.
func (OptResourceTypeDefaultFieldMappingBadge) Get ¶ added in v0.0.23
func (o OptResourceTypeDefaultFieldMappingBadge) Get() (v ResourceTypeDefaultFieldMappingBadge, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptResourceTypeDefaultFieldMappingBadge) IsSet ¶ added in v0.0.23
func (o OptResourceTypeDefaultFieldMappingBadge) IsSet() bool
IsSet returns true if OptResourceTypeDefaultFieldMappingBadge was set.
func (OptResourceTypeDefaultFieldMappingBadge) MarshalJSON ¶ added in v0.0.23
func (s OptResourceTypeDefaultFieldMappingBadge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptResourceTypeDefaultFieldMappingBadge) Or ¶ added in v0.0.23
func (o OptResourceTypeDefaultFieldMappingBadge) Or(d ResourceTypeDefaultFieldMappingBadge) ResourceTypeDefaultFieldMappingBadge
Or returns value if set, or given parameter if does not.
func (*OptResourceTypeDefaultFieldMappingBadge) Reset ¶ added in v0.0.23
func (o *OptResourceTypeDefaultFieldMappingBadge) Reset()
Reset unsets value.
func (*OptResourceTypeDefaultFieldMappingBadge) SetTo ¶ added in v0.0.23
func (o *OptResourceTypeDefaultFieldMappingBadge) SetTo(v ResourceTypeDefaultFieldMappingBadge)
SetTo sets value to v.
func (*OptResourceTypeDefaultFieldMappingBadge) UnmarshalJSON ¶ added in v0.0.23
func (s *OptResourceTypeDefaultFieldMappingBadge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptResourceTypeDefaultFieldMappingImage ¶ added in v0.0.23
type OptResourceTypeDefaultFieldMappingImage struct {
Value ResourceTypeDefaultFieldMappingImage
Set bool
}
OptResourceTypeDefaultFieldMappingImage is optional ResourceTypeDefaultFieldMappingImage.
func NewOptResourceTypeDefaultFieldMappingImage ¶ added in v0.0.23
func NewOptResourceTypeDefaultFieldMappingImage(v ResourceTypeDefaultFieldMappingImage) OptResourceTypeDefaultFieldMappingImage
NewOptResourceTypeDefaultFieldMappingImage returns new OptResourceTypeDefaultFieldMappingImage with value set to v.
func (*OptResourceTypeDefaultFieldMappingImage) Decode ¶ added in v0.0.23
func (o *OptResourceTypeDefaultFieldMappingImage) Decode(d *jx.Decoder) error
Decode decodes ResourceTypeDefaultFieldMappingImage from json.
func (OptResourceTypeDefaultFieldMappingImage) Encode ¶ added in v0.0.23
func (o OptResourceTypeDefaultFieldMappingImage) Encode(e *jx.Encoder)
Encode encodes ResourceTypeDefaultFieldMappingImage as json.
func (OptResourceTypeDefaultFieldMappingImage) Get ¶ added in v0.0.23
func (o OptResourceTypeDefaultFieldMappingImage) Get() (v ResourceTypeDefaultFieldMappingImage, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptResourceTypeDefaultFieldMappingImage) IsSet ¶ added in v0.0.23
func (o OptResourceTypeDefaultFieldMappingImage) IsSet() bool
IsSet returns true if OptResourceTypeDefaultFieldMappingImage was set.
func (OptResourceTypeDefaultFieldMappingImage) MarshalJSON ¶ added in v0.0.23
func (s OptResourceTypeDefaultFieldMappingImage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptResourceTypeDefaultFieldMappingImage) Or ¶ added in v0.0.23
func (o OptResourceTypeDefaultFieldMappingImage) Or(d ResourceTypeDefaultFieldMappingImage) ResourceTypeDefaultFieldMappingImage
Or returns value if set, or given parameter if does not.
func (*OptResourceTypeDefaultFieldMappingImage) Reset ¶ added in v0.0.23
func (o *OptResourceTypeDefaultFieldMappingImage) Reset()
Reset unsets value.
func (*OptResourceTypeDefaultFieldMappingImage) SetTo ¶ added in v0.0.23
func (o *OptResourceTypeDefaultFieldMappingImage) SetTo(v ResourceTypeDefaultFieldMappingImage)
SetTo sets value to v.
func (*OptResourceTypeDefaultFieldMappingImage) UnmarshalJSON ¶ added in v0.0.23
func (s *OptResourceTypeDefaultFieldMappingImage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSpaceEnablementField ¶ added in v0.0.20
type OptSpaceEnablementField struct {
Value SpaceEnablementField
Set bool
}
OptSpaceEnablementField is optional SpaceEnablementField.
func NewOptSpaceEnablementField ¶ added in v0.0.20
func NewOptSpaceEnablementField(v SpaceEnablementField) OptSpaceEnablementField
NewOptSpaceEnablementField returns new OptSpaceEnablementField with value set to v.
func (*OptSpaceEnablementField) Decode ¶ added in v0.0.20
func (o *OptSpaceEnablementField) Decode(d *jx.Decoder) error
Decode decodes SpaceEnablementField from json.
func (OptSpaceEnablementField) Encode ¶ added in v0.0.20
func (o OptSpaceEnablementField) Encode(e *jx.Encoder)
Encode encodes SpaceEnablementField as json.
func (OptSpaceEnablementField) Get ¶ added in v0.0.20
func (o OptSpaceEnablementField) Get() (v SpaceEnablementField, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSpaceEnablementField) IsSet ¶ added in v0.0.20
func (o OptSpaceEnablementField) IsSet() bool
IsSet returns true if OptSpaceEnablementField was set.
func (OptSpaceEnablementField) MarshalJSON ¶ added in v0.0.20
func (s OptSpaceEnablementField) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSpaceEnablementField) Or ¶ added in v0.0.20
func (o OptSpaceEnablementField) Or(d SpaceEnablementField) SpaceEnablementField
Or returns value if set, or given parameter if does not.
func (*OptSpaceEnablementField) Reset ¶ added in v0.0.20
func (o *OptSpaceEnablementField) Reset()
Reset unsets value.
func (*OptSpaceEnablementField) SetTo ¶ added in v0.0.20
func (o *OptSpaceEnablementField) SetTo(v SpaceEnablementField)
SetTo sets value to v.
func (*OptSpaceEnablementField) UnmarshalJSON ¶ added in v0.0.20
func (s *OptSpaceEnablementField) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptPointerString ¶ added in v0.0.5
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OptString) ValueStringPointer ¶ added in v0.0.5
type OptWebhookDefinitionFilterNot ¶ added in v0.0.17
type OptWebhookDefinitionFilterNot struct {
Value WebhookDefinitionFilterNot
Set bool
}
OptWebhookDefinitionFilterNot is optional WebhookDefinitionFilterNot.
func NewOptWebhookDefinitionFilterNot ¶ added in v0.0.17
func NewOptWebhookDefinitionFilterNot(v WebhookDefinitionFilterNot) OptWebhookDefinitionFilterNot
NewOptWebhookDefinitionFilterNot returns new OptWebhookDefinitionFilterNot with value set to v.
func (*OptWebhookDefinitionFilterNot) Decode ¶ added in v0.0.17
func (o *OptWebhookDefinitionFilterNot) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFilterNot from json.
func (OptWebhookDefinitionFilterNot) Encode ¶ added in v0.0.17
func (o OptWebhookDefinitionFilterNot) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionFilterNot as json.
func (OptWebhookDefinitionFilterNot) Get ¶ added in v0.0.17
func (o OptWebhookDefinitionFilterNot) Get() (v WebhookDefinitionFilterNot, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWebhookDefinitionFilterNot) IsSet ¶ added in v0.0.17
func (o OptWebhookDefinitionFilterNot) IsSet() bool
IsSet returns true if OptWebhookDefinitionFilterNot was set.
func (OptWebhookDefinitionFilterNot) MarshalJSON ¶ added in v0.0.17
func (s OptWebhookDefinitionFilterNot) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWebhookDefinitionFilterNot) Or ¶ added in v0.0.17
Or returns value if set, or given parameter if does not.
func (*OptWebhookDefinitionFilterNot) Reset ¶ added in v0.0.17
func (o *OptWebhookDefinitionFilterNot) Reset()
Reset unsets value.
func (*OptWebhookDefinitionFilterNot) SetTo ¶ added in v0.0.17
func (o *OptWebhookDefinitionFilterNot) SetTo(v WebhookDefinitionFilterNot)
SetTo sets value to v.
func (*OptWebhookDefinitionFilterNot) UnmarshalJSON ¶ added in v0.0.17
func (s *OptWebhookDefinitionFilterNot) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrganizationLink ¶ added in v0.0.23
type OrganizationLink struct {
Sys OrganizationLinkSys `json:"sys"`
}
Ref: #/OrganizationLink
func NewOrganizationLink ¶ added in v0.0.43
func NewOrganizationLink(id string) OrganizationLink
func (*OrganizationLink) Decode ¶ added in v0.0.23
func (s *OrganizationLink) Decode(d *jx.Decoder) error
Decode decodes OrganizationLink from json.
func (*OrganizationLink) Encode ¶ added in v0.0.23
func (s *OrganizationLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrganizationLink) GetSys ¶ added in v0.0.23
func (s *OrganizationLink) GetSys() OrganizationLinkSys
GetSys returns the value of Sys.
func (*OrganizationLink) MarshalJSON ¶ added in v0.0.23
func (s *OrganizationLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrganizationLink) SetSys ¶ added in v0.0.23
func (s *OrganizationLink) SetSys(val OrganizationLinkSys)
SetSys sets the value of Sys.
func (*OrganizationLink) UnmarshalJSON ¶ added in v0.0.23
func (s *OrganizationLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationLink) Validate ¶ added in v0.0.23
func (s *OrganizationLink) Validate() error
type OrganizationLinkSys ¶ added in v0.0.23
type OrganizationLinkSys struct {
// Merged property.
Type OrganizationLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType OrganizationLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewOrganizationLinkSys ¶ added in v0.0.43
func NewOrganizationLinkSys(id string) OrganizationLinkSys
func (*OrganizationLinkSys) Decode ¶ added in v0.0.23
func (s *OrganizationLinkSys) Decode(d *jx.Decoder) error
Decode decodes OrganizationLinkSys from json.
func (*OrganizationLinkSys) Encode ¶ added in v0.0.23
func (s *OrganizationLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrganizationLinkSys) GetID ¶ added in v0.0.23
func (s *OrganizationLinkSys) GetID() string
GetID returns the value of ID.
func (*OrganizationLinkSys) GetLinkType ¶ added in v0.0.23
func (s *OrganizationLinkSys) GetLinkType() OrganizationLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*OrganizationLinkSys) GetType ¶ added in v0.0.23
func (s *OrganizationLinkSys) GetType() OrganizationLinkSysType
GetType returns the value of Type.
func (*OrganizationLinkSys) MarshalJSON ¶ added in v0.0.23
func (s *OrganizationLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrganizationLinkSys) SetID ¶ added in v0.0.23
func (s *OrganizationLinkSys) SetID(val string)
SetID sets the value of ID.
func (*OrganizationLinkSys) SetLinkType ¶ added in v0.0.23
func (s *OrganizationLinkSys) SetLinkType(val OrganizationLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*OrganizationLinkSys) SetType ¶ added in v0.0.23
func (s *OrganizationLinkSys) SetType(val OrganizationLinkSysType)
SetType sets the value of Type.
func (*OrganizationLinkSys) UnmarshalJSON ¶ added in v0.0.23
func (s *OrganizationLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationLinkSys) Validate ¶ added in v0.0.23
func (s *OrganizationLinkSys) Validate() error
type OrganizationLinkSysLinkType ¶ added in v0.0.23
type OrganizationLinkSysLinkType string
Merged schema.
const (
OrganizationLinkSysLinkTypeOrganization OrganizationLinkSysLinkType = "Organization"
)
func (OrganizationLinkSysLinkType) AllValues ¶ added in v0.0.23
func (OrganizationLinkSysLinkType) AllValues() []OrganizationLinkSysLinkType
AllValues returns all OrganizationLinkSysLinkType values.
func (*OrganizationLinkSysLinkType) Decode ¶ added in v0.0.23
func (s *OrganizationLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes OrganizationLinkSysLinkType from json.
func (OrganizationLinkSysLinkType) Encode ¶ added in v0.0.23
func (s OrganizationLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes OrganizationLinkSysLinkType as json.
func (OrganizationLinkSysLinkType) MarshalJSON ¶ added in v0.0.23
func (s OrganizationLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrganizationLinkSysLinkType) MarshalText ¶ added in v0.0.23
func (s OrganizationLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrganizationLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.23
func (s *OrganizationLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationLinkSysLinkType) UnmarshalText ¶ added in v0.0.23
func (s *OrganizationLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrganizationLinkSysLinkType) Validate ¶ added in v0.0.23
func (s OrganizationLinkSysLinkType) Validate() error
type OrganizationLinkSysType ¶ added in v0.0.23
type OrganizationLinkSysType string
Merged schema.
const (
OrganizationLinkSysTypeLink OrganizationLinkSysType = "Link"
)
func (OrganizationLinkSysType) AllValues ¶ added in v0.0.23
func (OrganizationLinkSysType) AllValues() []OrganizationLinkSysType
AllValues returns all OrganizationLinkSysType values.
func (*OrganizationLinkSysType) Decode ¶ added in v0.0.23
func (s *OrganizationLinkSysType) Decode(d *jx.Decoder) error
Decode decodes OrganizationLinkSysType from json.
func (OrganizationLinkSysType) Encode ¶ added in v0.0.23
func (s OrganizationLinkSysType) Encode(e *jx.Encoder)
Encode encodes OrganizationLinkSysType as json.
func (OrganizationLinkSysType) MarshalJSON ¶ added in v0.0.23
func (s OrganizationLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrganizationLinkSysType) MarshalText ¶ added in v0.0.23
func (s OrganizationLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrganizationLinkSysType) UnmarshalJSON ¶ added in v0.0.23
func (s *OrganizationLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationLinkSysType) UnmarshalText ¶ added in v0.0.23
func (s *OrganizationLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrganizationLinkSysType) Validate ¶ added in v0.0.23
func (s OrganizationLinkSysType) Validate() error
type PersonalAccessToken ¶ added in v0.0.12
type PersonalAccessToken struct {
Sys PersonalAccessTokenSys `json:"sys"`
Name string `json:"name"`
Scopes []string `json:"scopes"`
Token OptString `json:"token"`
RevokedAt OptNilDateTime `json:"revokedAt"`
}
Merged schema. Ref: #/PersonalAccessToken
func (*PersonalAccessToken) Decode ¶ added in v0.0.12
func (s *PersonalAccessToken) Decode(d *jx.Decoder) error
Decode decodes PersonalAccessToken from json.
func (*PersonalAccessToken) Encode ¶ added in v0.0.12
func (s *PersonalAccessToken) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PersonalAccessToken) GetName ¶ added in v0.0.12
func (s *PersonalAccessToken) GetName() string
GetName returns the value of Name.
func (*PersonalAccessToken) GetRevokedAt ¶ added in v0.0.12
func (s *PersonalAccessToken) GetRevokedAt() OptNilDateTime
GetRevokedAt returns the value of RevokedAt.
func (*PersonalAccessToken) GetScopes ¶ added in v0.0.12
func (s *PersonalAccessToken) GetScopes() []string
GetScopes returns the value of Scopes.
func (*PersonalAccessToken) GetSys ¶ added in v0.0.12
func (s *PersonalAccessToken) GetSys() PersonalAccessTokenSys
GetSys returns the value of Sys.
func (*PersonalAccessToken) GetToken ¶ added in v0.0.12
func (s *PersonalAccessToken) GetToken() OptString
GetToken returns the value of Token.
func (*PersonalAccessToken) MarshalJSON ¶ added in v0.0.12
func (s *PersonalAccessToken) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PersonalAccessToken) SetName ¶ added in v0.0.12
func (s *PersonalAccessToken) SetName(val string)
SetName sets the value of Name.
func (*PersonalAccessToken) SetRevokedAt ¶ added in v0.0.12
func (s *PersonalAccessToken) SetRevokedAt(val OptNilDateTime)
SetRevokedAt sets the value of RevokedAt.
func (*PersonalAccessToken) SetScopes ¶ added in v0.0.12
func (s *PersonalAccessToken) SetScopes(val []string)
SetScopes sets the value of Scopes.
func (*PersonalAccessToken) SetSys ¶ added in v0.0.12
func (s *PersonalAccessToken) SetSys(val PersonalAccessTokenSys)
SetSys sets the value of Sys.
func (*PersonalAccessToken) SetToken ¶ added in v0.0.12
func (s *PersonalAccessToken) SetToken(val OptString)
SetToken sets the value of Token.
func (*PersonalAccessToken) UnmarshalJSON ¶ added in v0.0.12
func (s *PersonalAccessToken) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PersonalAccessToken) Validate ¶ added in v0.0.12
func (s *PersonalAccessToken) Validate() error
type PersonalAccessTokenRequestData ¶ added in v0.0.42
type PersonalAccessTokenRequestData struct {
Name string `json:"name"`
Scopes []string `json:"scopes"`
ExpiresIn OptNilInt `json:"expiresIn"`
}
Ref: #/PersonalAccessTokenRequestData
func (*PersonalAccessTokenRequestData) Decode ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) Decode(d *jx.Decoder) error
Decode decodes PersonalAccessTokenRequestData from json.
func (*PersonalAccessTokenRequestData) Encode ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PersonalAccessTokenRequestData) GetExpiresIn ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) GetExpiresIn() OptNilInt
GetExpiresIn returns the value of ExpiresIn.
func (*PersonalAccessTokenRequestData) GetName ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) GetName() string
GetName returns the value of Name.
func (*PersonalAccessTokenRequestData) GetScopes ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) GetScopes() []string
GetScopes returns the value of Scopes.
func (*PersonalAccessTokenRequestData) MarshalJSON ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PersonalAccessTokenRequestData) SetExpiresIn ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) SetExpiresIn(val OptNilInt)
SetExpiresIn sets the value of ExpiresIn.
func (*PersonalAccessTokenRequestData) SetName ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) SetName(val string)
SetName sets the value of Name.
func (*PersonalAccessTokenRequestData) SetScopes ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) SetScopes(val []string)
SetScopes sets the value of Scopes.
func (*PersonalAccessTokenRequestData) UnmarshalJSON ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PersonalAccessTokenRequestData) Validate ¶ added in v0.0.42
func (s *PersonalAccessTokenRequestData) Validate() error
type PersonalAccessTokenStatusCode ¶ added in v0.0.24
type PersonalAccessTokenStatusCode struct {
StatusCode int
Response PersonalAccessToken
}
PersonalAccessTokenStatusCode wraps PersonalAccessToken with StatusCode.
func (*PersonalAccessTokenStatusCode) GetResponse ¶ added in v0.0.24
func (s *PersonalAccessTokenStatusCode) GetResponse() PersonalAccessToken
GetResponse returns the value of Response.
func (*PersonalAccessTokenStatusCode) GetStatusCode ¶ added in v0.0.24
func (s *PersonalAccessTokenStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*PersonalAccessTokenStatusCode) SetResponse ¶ added in v0.0.24
func (s *PersonalAccessTokenStatusCode) SetResponse(val PersonalAccessToken)
SetResponse sets the value of Response.
func (*PersonalAccessTokenStatusCode) SetStatusCode ¶ added in v0.0.24
func (s *PersonalAccessTokenStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*PersonalAccessTokenStatusCode) Validate ¶ added in v0.0.24
func (s *PersonalAccessTokenStatusCode) Validate() error
type PersonalAccessTokenSys ¶ added in v0.0.12
type PersonalAccessTokenSys struct {
// Merged property.
Type PersonalAccessTokenSysType `json:"type"`
ID string `json:"id"`
ExpiresAt OptNilDateTime `json:"expiresAt"`
LastUsedAt OptNilDateTime `json:"lastUsedAt"`
RedactedValue OptString `json:"redactedValue"`
}
Merged schema. Ref: #/PersonalAccessTokenSys
func NewPersonalAccessTokenSys ¶ added in v0.0.43
func NewPersonalAccessTokenSys(personalAccessTokenID string) PersonalAccessTokenSys
func (*PersonalAccessTokenSys) Decode ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) Decode(d *jx.Decoder) error
Decode decodes PersonalAccessTokenSys from json.
func (*PersonalAccessTokenSys) Encode ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PersonalAccessTokenSys) GetExpiresAt ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) GetExpiresAt() OptNilDateTime
GetExpiresAt returns the value of ExpiresAt.
func (*PersonalAccessTokenSys) GetID ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) GetID() string
GetID returns the value of ID.
func (*PersonalAccessTokenSys) GetLastUsedAt ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) GetLastUsedAt() OptNilDateTime
GetLastUsedAt returns the value of LastUsedAt.
func (*PersonalAccessTokenSys) GetRedactedValue ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) GetRedactedValue() OptString
GetRedactedValue returns the value of RedactedValue.
func (*PersonalAccessTokenSys) GetType ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) GetType() PersonalAccessTokenSysType
GetType returns the value of Type.
func (*PersonalAccessTokenSys) MarshalJSON ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PersonalAccessTokenSys) SetExpiresAt ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) SetExpiresAt(val OptNilDateTime)
SetExpiresAt sets the value of ExpiresAt.
func (*PersonalAccessTokenSys) SetID ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) SetID(val string)
SetID sets the value of ID.
func (*PersonalAccessTokenSys) SetLastUsedAt ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) SetLastUsedAt(val OptNilDateTime)
SetLastUsedAt sets the value of LastUsedAt.
func (*PersonalAccessTokenSys) SetRedactedValue ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) SetRedactedValue(val OptString)
SetRedactedValue sets the value of RedactedValue.
func (*PersonalAccessTokenSys) SetType ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) SetType(val PersonalAccessTokenSysType)
SetType sets the value of Type.
func (*PersonalAccessTokenSys) UnmarshalJSON ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PersonalAccessTokenSys) Validate ¶ added in v0.0.12
func (s *PersonalAccessTokenSys) Validate() error
type PersonalAccessTokenSysType ¶ added in v0.0.12
type PersonalAccessTokenSysType string
Merged schema.
const (
PersonalAccessTokenSysTypePersonalAccessToken PersonalAccessTokenSysType = "PersonalAccessToken"
)
func (PersonalAccessTokenSysType) AllValues ¶ added in v0.0.12
func (PersonalAccessTokenSysType) AllValues() []PersonalAccessTokenSysType
AllValues returns all PersonalAccessTokenSysType values.
func (*PersonalAccessTokenSysType) Decode ¶ added in v0.0.12
func (s *PersonalAccessTokenSysType) Decode(d *jx.Decoder) error
Decode decodes PersonalAccessTokenSysType from json.
func (PersonalAccessTokenSysType) Encode ¶ added in v0.0.12
func (s PersonalAccessTokenSysType) Encode(e *jx.Encoder)
Encode encodes PersonalAccessTokenSysType as json.
func (PersonalAccessTokenSysType) MarshalJSON ¶ added in v0.0.12
func (s PersonalAccessTokenSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PersonalAccessTokenSysType) MarshalText ¶ added in v0.0.12
func (s PersonalAccessTokenSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PersonalAccessTokenSysType) UnmarshalJSON ¶ added in v0.0.12
func (s *PersonalAccessTokenSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PersonalAccessTokenSysType) UnmarshalText ¶ added in v0.0.12
func (s *PersonalAccessTokenSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PersonalAccessTokenSysType) Validate ¶ added in v0.0.12
func (s PersonalAccessTokenSysType) Validate() error
type PreviewAPIKeyLink ¶ added in v0.0.41
type PreviewAPIKeyLink struct {
Sys PreviewAPIKeyLinkSys `json:"sys"`
}
Ref: #/PreviewAPIKeyLink
func NewPreviewAPIKeyLink ¶ added in v0.0.43
func NewPreviewAPIKeyLink(id string) PreviewAPIKeyLink
func (*PreviewAPIKeyLink) Decode ¶ added in v0.0.41
func (s *PreviewAPIKeyLink) Decode(d *jx.Decoder) error
Decode decodes PreviewAPIKeyLink from json.
func (*PreviewAPIKeyLink) Encode ¶ added in v0.0.41
func (s *PreviewAPIKeyLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreviewAPIKeyLink) GetSys ¶ added in v0.0.41
func (s *PreviewAPIKeyLink) GetSys() PreviewAPIKeyLinkSys
GetSys returns the value of Sys.
func (*PreviewAPIKeyLink) MarshalJSON ¶ added in v0.0.41
func (s *PreviewAPIKeyLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreviewAPIKeyLink) SetSys ¶ added in v0.0.41
func (s *PreviewAPIKeyLink) SetSys(val PreviewAPIKeyLinkSys)
SetSys sets the value of Sys.
func (*PreviewAPIKeyLink) UnmarshalJSON ¶ added in v0.0.41
func (s *PreviewAPIKeyLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewAPIKeyLink) Validate ¶ added in v0.0.41
func (s *PreviewAPIKeyLink) Validate() error
type PreviewAPIKeyLinkSys ¶ added in v0.0.41
type PreviewAPIKeyLinkSys struct {
// Merged property.
Type PreviewAPIKeyLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType PreviewAPIKeyLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewPreviewAPIKeyLinkSys ¶ added in v0.0.43
func NewPreviewAPIKeyLinkSys(id string) PreviewAPIKeyLinkSys
func (*PreviewAPIKeyLinkSys) Decode ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) Decode(d *jx.Decoder) error
Decode decodes PreviewAPIKeyLinkSys from json.
func (*PreviewAPIKeyLinkSys) Encode ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreviewAPIKeyLinkSys) GetID ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) GetID() string
GetID returns the value of ID.
func (*PreviewAPIKeyLinkSys) GetLinkType ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) GetLinkType() PreviewAPIKeyLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*PreviewAPIKeyLinkSys) GetType ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) GetType() PreviewAPIKeyLinkSysType
GetType returns the value of Type.
func (*PreviewAPIKeyLinkSys) MarshalJSON ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreviewAPIKeyLinkSys) SetID ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) SetID(val string)
SetID sets the value of ID.
func (*PreviewAPIKeyLinkSys) SetLinkType ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) SetLinkType(val PreviewAPIKeyLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*PreviewAPIKeyLinkSys) SetType ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) SetType(val PreviewAPIKeyLinkSysType)
SetType sets the value of Type.
func (*PreviewAPIKeyLinkSys) UnmarshalJSON ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewAPIKeyLinkSys) Validate ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSys) Validate() error
type PreviewAPIKeyLinkSysLinkType ¶ added in v0.0.41
type PreviewAPIKeyLinkSysLinkType string
Merged schema.
const (
PreviewAPIKeyLinkSysLinkTypePreviewApiKey PreviewAPIKeyLinkSysLinkType = "PreviewApiKey"
)
func (PreviewAPIKeyLinkSysLinkType) AllValues ¶ added in v0.0.41
func (PreviewAPIKeyLinkSysLinkType) AllValues() []PreviewAPIKeyLinkSysLinkType
AllValues returns all PreviewAPIKeyLinkSysLinkType values.
func (*PreviewAPIKeyLinkSysLinkType) Decode ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes PreviewAPIKeyLinkSysLinkType from json.
func (PreviewAPIKeyLinkSysLinkType) Encode ¶ added in v0.0.41
func (s PreviewAPIKeyLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes PreviewAPIKeyLinkSysLinkType as json.
func (PreviewAPIKeyLinkSysLinkType) MarshalJSON ¶ added in v0.0.41
func (s PreviewAPIKeyLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PreviewAPIKeyLinkSysLinkType) MarshalText ¶ added in v0.0.41
func (s PreviewAPIKeyLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PreviewAPIKeyLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewAPIKeyLinkSysLinkType) UnmarshalText ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PreviewAPIKeyLinkSysLinkType) Validate ¶ added in v0.0.41
func (s PreviewAPIKeyLinkSysLinkType) Validate() error
type PreviewAPIKeyLinkSysType ¶ added in v0.0.41
type PreviewAPIKeyLinkSysType string
Merged schema.
const (
PreviewAPIKeyLinkSysTypeLink PreviewAPIKeyLinkSysType = "Link"
)
func (PreviewAPIKeyLinkSysType) AllValues ¶ added in v0.0.41
func (PreviewAPIKeyLinkSysType) AllValues() []PreviewAPIKeyLinkSysType
AllValues returns all PreviewAPIKeyLinkSysType values.
func (*PreviewAPIKeyLinkSysType) Decode ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSysType) Decode(d *jx.Decoder) error
Decode decodes PreviewAPIKeyLinkSysType from json.
func (PreviewAPIKeyLinkSysType) Encode ¶ added in v0.0.41
func (s PreviewAPIKeyLinkSysType) Encode(e *jx.Encoder)
Encode encodes PreviewAPIKeyLinkSysType as json.
func (PreviewAPIKeyLinkSysType) MarshalJSON ¶ added in v0.0.41
func (s PreviewAPIKeyLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PreviewAPIKeyLinkSysType) MarshalText ¶ added in v0.0.41
func (s PreviewAPIKeyLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PreviewAPIKeyLinkSysType) UnmarshalJSON ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewAPIKeyLinkSysType) UnmarshalText ¶ added in v0.0.41
func (s *PreviewAPIKeyLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PreviewAPIKeyLinkSysType) Validate ¶ added in v0.0.41
func (s PreviewAPIKeyLinkSysType) Validate() error
type PreviewApiKey ¶ added in v0.0.10
type PreviewApiKey struct {
Sys PreviewApiKeySys `json:"sys"`
Name string `json:"name"`
Description OptNilString `json:"description"`
AccessToken string `json:"accessToken"`
Environments []EnvironmentLink `json:"environments"`
}
Merged schema. Ref: #/PreviewApiKey
func (*PreviewApiKey) Decode ¶ added in v0.0.10
func (s *PreviewApiKey) Decode(d *jx.Decoder) error
Decode decodes PreviewApiKey from json.
func (*PreviewApiKey) Encode ¶ added in v0.0.10
func (s *PreviewApiKey) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreviewApiKey) GetAccessToken ¶ added in v0.0.10
func (s *PreviewApiKey) GetAccessToken() string
GetAccessToken returns the value of AccessToken.
func (*PreviewApiKey) GetDescription ¶ added in v0.0.10
func (s *PreviewApiKey) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*PreviewApiKey) GetEnvironments ¶ added in v0.0.10
func (s *PreviewApiKey) GetEnvironments() []EnvironmentLink
GetEnvironments returns the value of Environments.
func (*PreviewApiKey) GetName ¶ added in v0.0.10
func (s *PreviewApiKey) GetName() string
GetName returns the value of Name.
func (*PreviewApiKey) GetSys ¶ added in v0.0.10
func (s *PreviewApiKey) GetSys() PreviewApiKeySys
GetSys returns the value of Sys.
func (*PreviewApiKey) MarshalJSON ¶ added in v0.0.10
func (s *PreviewApiKey) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreviewApiKey) SetAccessToken ¶ added in v0.0.10
func (s *PreviewApiKey) SetAccessToken(val string)
SetAccessToken sets the value of AccessToken.
func (*PreviewApiKey) SetDescription ¶ added in v0.0.10
func (s *PreviewApiKey) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*PreviewApiKey) SetEnvironments ¶ added in v0.0.10
func (s *PreviewApiKey) SetEnvironments(val []EnvironmentLink)
SetEnvironments sets the value of Environments.
func (*PreviewApiKey) SetName ¶ added in v0.0.10
func (s *PreviewApiKey) SetName(val string)
SetName sets the value of Name.
func (*PreviewApiKey) SetSys ¶ added in v0.0.10
func (s *PreviewApiKey) SetSys(val PreviewApiKeySys)
SetSys sets the value of Sys.
func (*PreviewApiKey) UnmarshalJSON ¶ added in v0.0.10
func (s *PreviewApiKey) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewApiKey) Validate ¶ added in v0.0.10
func (s *PreviewApiKey) Validate() error
type PreviewApiKeySys ¶ added in v0.0.10
type PreviewApiKeySys struct {
Space SpaceLink `json:"space"`
// Merged property.
Type PreviewApiKeySysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
}
Merged schema. Ref: #/PreviewApiKeySys
func NewPreviewAPIKeySys ¶ added in v0.0.43
func NewPreviewAPIKeySys(spaceID, previewAPIKeyID string) PreviewApiKeySys
func (*PreviewApiKeySys) Decode ¶ added in v0.0.10
func (s *PreviewApiKeySys) Decode(d *jx.Decoder) error
Decode decodes PreviewApiKeySys from json.
func (*PreviewApiKeySys) Encode ¶ added in v0.0.10
func (s *PreviewApiKeySys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreviewApiKeySys) GetID ¶ added in v0.0.10
func (s *PreviewApiKeySys) GetID() string
GetID returns the value of ID.
func (*PreviewApiKeySys) GetSpace ¶ added in v0.0.18
func (s *PreviewApiKeySys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*PreviewApiKeySys) GetType ¶ added in v0.0.10
func (s *PreviewApiKeySys) GetType() PreviewApiKeySysType
GetType returns the value of Type.
func (*PreviewApiKeySys) GetVersion ¶ added in v0.0.10
func (s *PreviewApiKeySys) GetVersion() int
GetVersion returns the value of Version.
func (*PreviewApiKeySys) MarshalJSON ¶ added in v0.0.10
func (s *PreviewApiKeySys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreviewApiKeySys) SetID ¶ added in v0.0.10
func (s *PreviewApiKeySys) SetID(val string)
SetID sets the value of ID.
func (*PreviewApiKeySys) SetSpace ¶ added in v0.0.18
func (s *PreviewApiKeySys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*PreviewApiKeySys) SetType ¶ added in v0.0.10
func (s *PreviewApiKeySys) SetType(val PreviewApiKeySysType)
SetType sets the value of Type.
func (*PreviewApiKeySys) SetVersion ¶ added in v0.0.10
func (s *PreviewApiKeySys) SetVersion(val int)
SetVersion sets the value of Version.
func (*PreviewApiKeySys) UnmarshalJSON ¶ added in v0.0.10
func (s *PreviewApiKeySys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewApiKeySys) Validate ¶ added in v0.0.10
func (s *PreviewApiKeySys) Validate() error
type PreviewApiKeySysType ¶ added in v0.0.10
type PreviewApiKeySysType string
Merged schema.
const (
PreviewApiKeySysTypePreviewApiKey PreviewApiKeySysType = "PreviewApiKey"
)
func (PreviewApiKeySysType) AllValues ¶ added in v0.0.10
func (PreviewApiKeySysType) AllValues() []PreviewApiKeySysType
AllValues returns all PreviewApiKeySysType values.
func (*PreviewApiKeySysType) Decode ¶ added in v0.0.10
func (s *PreviewApiKeySysType) Decode(d *jx.Decoder) error
Decode decodes PreviewApiKeySysType from json.
func (PreviewApiKeySysType) Encode ¶ added in v0.0.10
func (s PreviewApiKeySysType) Encode(e *jx.Encoder)
Encode encodes PreviewApiKeySysType as json.
func (PreviewApiKeySysType) MarshalJSON ¶ added in v0.0.10
func (s PreviewApiKeySysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PreviewApiKeySysType) MarshalText ¶ added in v0.0.10
func (s PreviewApiKeySysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PreviewApiKeySysType) UnmarshalJSON ¶ added in v0.0.10
func (s *PreviewApiKeySysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewApiKeySysType) UnmarshalText ¶ added in v0.0.10
func (s *PreviewApiKeySysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PreviewApiKeySysType) Validate ¶ added in v0.0.10
func (s PreviewApiKeySysType) Validate() error
type PublishEntryParams ¶ added in v0.0.40
type PublishEntryParams struct {
SpaceID string
EnvironmentID string
EntryID string
XContentfulVersion int
}
PublishEntryParams is parameters of publishEntry operation.
type PublishEntryRes ¶ added in v0.0.40
type PublishEntryRes interface {
// contains filtered or unexported methods
}
type PutAppDefinitionParams ¶ added in v0.0.27
PutAppDefinitionParams is parameters of putAppDefinition operation.
type PutAppDefinitionRes ¶ added in v0.0.27
type PutAppDefinitionRes interface {
// contains filtered or unexported methods
}
type PutAppInstallationParams ¶
type PutAppInstallationParams struct {
SpaceID string
EnvironmentID string
AppDefinitionID string
XContentfulMarketplace OptString `json:",omitempty,omitzero"`
}
PutAppInstallationParams is parameters of putAppInstallation operation.
type PutAppInstallationRes ¶
type PutAppInstallationRes interface {
// contains filtered or unexported methods
}
type PutAppSigningSecretParams ¶ added in v0.0.35
PutAppSigningSecretParams is parameters of putAppSigningSecret operation.
type PutAppSigningSecretRes ¶ added in v0.0.35
type PutAppSigningSecretRes interface {
// contains filtered or unexported methods
}
type PutContentTypeParams ¶ added in v0.0.5
type PutContentTypeParams struct {
SpaceID string
EnvironmentID string
ContentTypeID string
XContentfulVersion int
}
PutContentTypeParams is parameters of putContentType operation.
type PutContentTypeRes ¶ added in v0.0.5
type PutContentTypeRes interface {
// contains filtered or unexported methods
}
type PutEditorInterfaceParams ¶ added in v0.0.3
type PutEditorInterfaceParams struct {
SpaceID string
EnvironmentID string
ContentTypeID string
XContentfulVersion int
}
PutEditorInterfaceParams is parameters of putEditorInterface operation.
type PutEditorInterfaceRes ¶ added in v0.0.3
type PutEditorInterfaceRes interface {
// contains filtered or unexported methods
}
type PutEntryParams ¶ added in v0.0.40
type PutEntryParams struct {
SpaceID string
EnvironmentID string
EntryID string
XContentfulContentType OptString `json:",omitempty,omitzero"`
XContentfulVersion int
}
PutEntryParams is parameters of putEntry operation.
type PutEntryRes ¶ added in v0.0.40
type PutEntryRes interface {
// contains filtered or unexported methods
}
type PutExtensionParams ¶ added in v0.0.29
type PutExtensionParams struct {
SpaceID string
EnvironmentID string
ExtensionID string
XContentfulVersion int
}
PutExtensionParams is parameters of putExtension operation.
type PutExtensionRes ¶ added in v0.0.29
type PutExtensionRes interface {
// contains filtered or unexported methods
}
type PutResourceProviderParams ¶ added in v0.0.37
PutResourceProviderParams is parameters of putResourceProvider operation.
type PutResourceProviderRes ¶ added in v0.0.37
type PutResourceProviderRes interface {
// contains filtered or unexported methods
}
type PutResourceTypeParams ¶ added in v0.0.37
type PutResourceTypeParams struct {
OrganizationID string
AppDefinitionID string
ResourceTypeID string
}
PutResourceTypeParams is parameters of putResourceType operation.
type PutResourceTypeRes ¶ added in v0.0.37
type PutResourceTypeRes interface {
// contains filtered or unexported methods
}
type PutSpaceEnablementsParams ¶ added in v0.0.20
PutSpaceEnablementsParams is parameters of putSpaceEnablements operation.
type PutSpaceEnablementsRes ¶ added in v0.0.20
type PutSpaceEnablementsRes interface {
// contains filtered or unexported methods
}
type PutTagParams ¶ added in v0.0.50
type PutTagParams struct {
SpaceID string
EnvironmentID string
TagID string
XContentfulVersion OptInt `json:",omitempty,omitzero"`
XContentfulTagVisibility OptString `json:",omitempty,omitzero"`
}
PutTagParams is parameters of putTag operation.
type PutTagRes ¶ added in v0.0.50
type PutTagRes interface {
// contains filtered or unexported methods
}
type PutTeamParams ¶ added in v0.0.43
PutTeamParams is parameters of putTeam operation.
type PutTeamRes ¶ added in v0.0.43
type PutTeamRes interface {
// contains filtered or unexported methods
}
type PutTeamSpaceMembershipParams ¶ added in v0.0.43
PutTeamSpaceMembershipParams is parameters of putTeamSpaceMembership operation.
type PutTeamSpaceMembershipRes ¶ added in v0.0.43
type PutTeamSpaceMembershipRes interface {
// contains filtered or unexported methods
}
type RequestOption ¶ added in v0.0.46
type RequestOption func(cfg *requestConfig)
RequestOption defines options for request.
func WithEditRequest ¶ added in v0.0.46
func WithEditRequest(fn func(req *http.Request) error) RequestOption
WithEditRequest sets function to edit request.
func WithEditResponse ¶ added in v0.0.46
func WithEditResponse(fn func(resp *http.Response) error) RequestOption
WithEditResponse sets function to edit response.
func WithRequestClient ¶ added in v0.0.46
func WithRequestClient(client ht.Client) RequestOption
WithRequestClient sets client for request.
func WithServerURL ¶
func WithServerURL(u *url.URL) RequestOption
WithServerURL sets client for request.
type ResourceLink ¶ added in v0.0.22
type ResourceLink struct {
Type ResourceLinkType // switch on this field
ContentfulEntryResourceLink ContentfulEntryResourceLink
ExternalResourceLink ExternalResourceLink
}
Ref: #/ResourceLink ResourceLink represents sum type.
func NewContentfulEntryResourceLinkResourceLink ¶ added in v0.0.22
func NewContentfulEntryResourceLinkResourceLink(v ContentfulEntryResourceLink) ResourceLink
NewContentfulEntryResourceLinkResourceLink returns new ResourceLink from ContentfulEntryResourceLink.
func NewExternalResourceLinkResourceLink ¶ added in v0.0.22
func NewExternalResourceLinkResourceLink(v ExternalResourceLink) ResourceLink
NewExternalResourceLinkResourceLink returns new ResourceLink from ExternalResourceLink.
func (*ResourceLink) Decode ¶ added in v0.0.22
func (s *ResourceLink) Decode(d *jx.Decoder) error
Decode decodes ResourceLink from json.
func (ResourceLink) Encode ¶ added in v0.0.22
func (s ResourceLink) Encode(e *jx.Encoder)
Encode encodes ResourceLink as json.
func (ResourceLink) GetContentfulEntryResourceLink ¶ added in v0.0.22
func (s ResourceLink) GetContentfulEntryResourceLink() (v ContentfulEntryResourceLink, ok bool)
GetContentfulEntryResourceLink returns ContentfulEntryResourceLink and true boolean if ResourceLink is ContentfulEntryResourceLink.
func (ResourceLink) GetExternalResourceLink ¶ added in v0.0.22
func (s ResourceLink) GetExternalResourceLink() (v ExternalResourceLink, ok bool)
GetExternalResourceLink returns ExternalResourceLink and true boolean if ResourceLink is ExternalResourceLink.
func (ResourceLink) IsContentfulEntryResourceLink ¶ added in v0.0.22
func (s ResourceLink) IsContentfulEntryResourceLink() bool
IsContentfulEntryResourceLink reports whether ResourceLink is ContentfulEntryResourceLink.
func (ResourceLink) IsExternalResourceLink ¶ added in v0.0.22
func (s ResourceLink) IsExternalResourceLink() bool
IsExternalResourceLink reports whether ResourceLink is ExternalResourceLink.
func (ResourceLink) MarshalJSON ¶ added in v0.0.22
func (s ResourceLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceLink) SetContentfulEntryResourceLink ¶ added in v0.0.22
func (s *ResourceLink) SetContentfulEntryResourceLink(v ContentfulEntryResourceLink)
SetContentfulEntryResourceLink sets ResourceLink to ContentfulEntryResourceLink.
func (*ResourceLink) SetExternalResourceLink ¶ added in v0.0.22
func (s *ResourceLink) SetExternalResourceLink(v ExternalResourceLink)
SetExternalResourceLink sets ResourceLink to ExternalResourceLink.
func (*ResourceLink) UnmarshalJSON ¶ added in v0.0.22
func (s *ResourceLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ResourceLink) Validate ¶ added in v0.0.22
func (s ResourceLink) Validate() error
type ResourceLinkType ¶ added in v0.0.22
type ResourceLinkType string
ResourceLinkType is oneOf type of ResourceLink.
const ( ContentfulEntryResourceLinkResourceLink ResourceLinkType = "ContentfulEntryResourceLink" ExternalResourceLinkResourceLink ResourceLinkType = "ExternalResourceLink" )
Possible values for ResourceLinkType.
type ResourceProvider ¶ added in v0.0.23
type ResourceProvider struct {
Sys ResourceProviderSys `json:"sys"`
Type ResourceProviderType `json:"type"`
Function FunctionLink `json:"function"`
}
Merged schema. Ref: #/ResourceProvider
func (*ResourceProvider) Decode ¶ added in v0.0.23
func (s *ResourceProvider) Decode(d *jx.Decoder) error
Decode decodes ResourceProvider from json.
func (*ResourceProvider) Encode ¶ added in v0.0.23
func (s *ResourceProvider) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceProvider) GetFunction ¶ added in v0.0.23
func (s *ResourceProvider) GetFunction() FunctionLink
GetFunction returns the value of Function.
func (*ResourceProvider) GetSys ¶ added in v0.0.23
func (s *ResourceProvider) GetSys() ResourceProviderSys
GetSys returns the value of Sys.
func (*ResourceProvider) GetType ¶ added in v0.0.23
func (s *ResourceProvider) GetType() ResourceProviderType
GetType returns the value of Type.
func (*ResourceProvider) MarshalJSON ¶ added in v0.0.23
func (s *ResourceProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceProvider) SetFunction ¶ added in v0.0.23
func (s *ResourceProvider) SetFunction(val FunctionLink)
SetFunction sets the value of Function.
func (*ResourceProvider) SetSys ¶ added in v0.0.23
func (s *ResourceProvider) SetSys(val ResourceProviderSys)
SetSys sets the value of Sys.
func (*ResourceProvider) SetType ¶ added in v0.0.23
func (s *ResourceProvider) SetType(val ResourceProviderType)
SetType sets the value of Type.
func (*ResourceProvider) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProvider) Validate ¶ added in v0.0.23
func (s *ResourceProvider) Validate() error
type ResourceProviderLink ¶ added in v0.0.23
type ResourceProviderLink struct {
Sys ResourceProviderLinkSys `json:"sys"`
}
Ref: #/ResourceProviderLink
func NewResourceProviderLink ¶ added in v0.0.43
func NewResourceProviderLink(id string) ResourceProviderLink
func (*ResourceProviderLink) Decode ¶ added in v0.0.23
func (s *ResourceProviderLink) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderLink from json.
func (*ResourceProviderLink) Encode ¶ added in v0.0.23
func (s *ResourceProviderLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceProviderLink) GetSys ¶ added in v0.0.23
func (s *ResourceProviderLink) GetSys() ResourceProviderLinkSys
GetSys returns the value of Sys.
func (*ResourceProviderLink) MarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceProviderLink) SetSys ¶ added in v0.0.23
func (s *ResourceProviderLink) SetSys(val ResourceProviderLinkSys)
SetSys sets the value of Sys.
func (*ResourceProviderLink) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderLink) Validate ¶ added in v0.0.23
func (s *ResourceProviderLink) Validate() error
type ResourceProviderLinkSys ¶ added in v0.0.23
type ResourceProviderLinkSys struct {
// Merged property.
Type ResourceProviderLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType ResourceProviderLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewResourceProviderLinkSys ¶ added in v0.0.43
func NewResourceProviderLinkSys(id string) ResourceProviderLinkSys
func (*ResourceProviderLinkSys) Decode ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderLinkSys from json.
func (*ResourceProviderLinkSys) Encode ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceProviderLinkSys) GetID ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) GetID() string
GetID returns the value of ID.
func (*ResourceProviderLinkSys) GetLinkType ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) GetLinkType() ResourceProviderLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*ResourceProviderLinkSys) GetType ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) GetType() ResourceProviderLinkSysType
GetType returns the value of Type.
func (*ResourceProviderLinkSys) MarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceProviderLinkSys) SetID ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) SetID(val string)
SetID sets the value of ID.
func (*ResourceProviderLinkSys) SetLinkType ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) SetLinkType(val ResourceProviderLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*ResourceProviderLinkSys) SetType ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) SetType(val ResourceProviderLinkSysType)
SetType sets the value of Type.
func (*ResourceProviderLinkSys) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderLinkSys) Validate ¶ added in v0.0.23
func (s *ResourceProviderLinkSys) Validate() error
type ResourceProviderLinkSysLinkType ¶ added in v0.0.23
type ResourceProviderLinkSysLinkType string
Merged schema.
const (
ResourceProviderLinkSysLinkTypeResourceProvider ResourceProviderLinkSysLinkType = "ResourceProvider"
)
func (ResourceProviderLinkSysLinkType) AllValues ¶ added in v0.0.23
func (ResourceProviderLinkSysLinkType) AllValues() []ResourceProviderLinkSysLinkType
AllValues returns all ResourceProviderLinkSysLinkType values.
func (*ResourceProviderLinkSysLinkType) Decode ¶ added in v0.0.23
func (s *ResourceProviderLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderLinkSysLinkType from json.
func (ResourceProviderLinkSysLinkType) Encode ¶ added in v0.0.23
func (s ResourceProviderLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes ResourceProviderLinkSysLinkType as json.
func (ResourceProviderLinkSysLinkType) MarshalJSON ¶ added in v0.0.23
func (s ResourceProviderLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourceProviderLinkSysLinkType) MarshalText ¶ added in v0.0.23
func (s ResourceProviderLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourceProviderLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderLinkSysLinkType) UnmarshalText ¶ added in v0.0.23
func (s *ResourceProviderLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourceProviderLinkSysLinkType) Validate ¶ added in v0.0.23
func (s ResourceProviderLinkSysLinkType) Validate() error
type ResourceProviderLinkSysType ¶ added in v0.0.23
type ResourceProviderLinkSysType string
Merged schema.
const (
ResourceProviderLinkSysTypeLink ResourceProviderLinkSysType = "Link"
)
func (ResourceProviderLinkSysType) AllValues ¶ added in v0.0.23
func (ResourceProviderLinkSysType) AllValues() []ResourceProviderLinkSysType
AllValues returns all ResourceProviderLinkSysType values.
func (*ResourceProviderLinkSysType) Decode ¶ added in v0.0.23
func (s *ResourceProviderLinkSysType) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderLinkSysType from json.
func (ResourceProviderLinkSysType) Encode ¶ added in v0.0.23
func (s ResourceProviderLinkSysType) Encode(e *jx.Encoder)
Encode encodes ResourceProviderLinkSysType as json.
func (ResourceProviderLinkSysType) MarshalJSON ¶ added in v0.0.23
func (s ResourceProviderLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourceProviderLinkSysType) MarshalText ¶ added in v0.0.23
func (s ResourceProviderLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourceProviderLinkSysType) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderLinkSysType) UnmarshalText ¶ added in v0.0.23
func (s *ResourceProviderLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourceProviderLinkSysType) Validate ¶ added in v0.0.23
func (s ResourceProviderLinkSysType) Validate() error
type ResourceProviderRequest ¶ added in v0.0.23
type ResourceProviderRequest struct {
Sys ResourceProviderRequestSys `json:"sys"`
Type ResourceProviderRequestType `json:"type"`
Function FunctionLink `json:"function"`
}
Merged schema. Ref: #/ResourceProviderRequest
func (*ResourceProviderRequest) Decode ¶ added in v0.0.23
func (s *ResourceProviderRequest) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderRequest from json.
func (*ResourceProviderRequest) Encode ¶ added in v0.0.23
func (s *ResourceProviderRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceProviderRequest) GetFunction ¶ added in v0.0.23
func (s *ResourceProviderRequest) GetFunction() FunctionLink
GetFunction returns the value of Function.
func (*ResourceProviderRequest) GetSys ¶ added in v0.0.23
func (s *ResourceProviderRequest) GetSys() ResourceProviderRequestSys
GetSys returns the value of Sys.
func (*ResourceProviderRequest) GetType ¶ added in v0.0.23
func (s *ResourceProviderRequest) GetType() ResourceProviderRequestType
GetType returns the value of Type.
func (*ResourceProviderRequest) MarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceProviderRequest) SetFunction ¶ added in v0.0.23
func (s *ResourceProviderRequest) SetFunction(val FunctionLink)
SetFunction sets the value of Function.
func (*ResourceProviderRequest) SetSys ¶ added in v0.0.23
func (s *ResourceProviderRequest) SetSys(val ResourceProviderRequestSys)
SetSys sets the value of Sys.
func (*ResourceProviderRequest) SetType ¶ added in v0.0.23
func (s *ResourceProviderRequest) SetType(val ResourceProviderRequestType)
SetType sets the value of Type.
func (*ResourceProviderRequest) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderRequest) Validate ¶ added in v0.0.23
func (s *ResourceProviderRequest) Validate() error
type ResourceProviderRequestSys ¶ added in v0.0.23
type ResourceProviderRequestSys struct {
ID string `json:"id"`
}
Ref: #/ResourceProviderRequestSys
func NewResourceProviderRequestSys ¶ added in v0.0.43
func NewResourceProviderRequestSys(id string) ResourceProviderRequestSys
func (*ResourceProviderRequestSys) Decode ¶ added in v0.0.23
func (s *ResourceProviderRequestSys) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderRequestSys from json.
func (*ResourceProviderRequestSys) Encode ¶ added in v0.0.23
func (s *ResourceProviderRequestSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceProviderRequestSys) GetID ¶ added in v0.0.23
func (s *ResourceProviderRequestSys) GetID() string
GetID returns the value of ID.
func (*ResourceProviderRequestSys) MarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderRequestSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceProviderRequestSys) SetID ¶ added in v0.0.23
func (s *ResourceProviderRequestSys) SetID(val string)
SetID sets the value of ID.
func (*ResourceProviderRequestSys) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderRequestSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourceProviderRequestType ¶ added in v0.0.23
type ResourceProviderRequestType string
const (
ResourceProviderRequestTypeFunction ResourceProviderRequestType = "function"
)
func (ResourceProviderRequestType) AllValues ¶ added in v0.0.23
func (ResourceProviderRequestType) AllValues() []ResourceProviderRequestType
AllValues returns all ResourceProviderRequestType values.
func (*ResourceProviderRequestType) Decode ¶ added in v0.0.23
func (s *ResourceProviderRequestType) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderRequestType from json.
func (ResourceProviderRequestType) Encode ¶ added in v0.0.23
func (s ResourceProviderRequestType) Encode(e *jx.Encoder)
Encode encodes ResourceProviderRequestType as json.
func (ResourceProviderRequestType) MarshalJSON ¶ added in v0.0.23
func (s ResourceProviderRequestType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourceProviderRequestType) MarshalText ¶ added in v0.0.23
func (s ResourceProviderRequestType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourceProviderRequestType) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderRequestType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderRequestType) UnmarshalText ¶ added in v0.0.23
func (s *ResourceProviderRequestType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourceProviderRequestType) Validate ¶ added in v0.0.23
func (s ResourceProviderRequestType) Validate() error
type ResourceProviderStatusCode ¶ added in v0.0.23
type ResourceProviderStatusCode struct {
StatusCode int
Response ResourceProvider
}
ResourceProviderStatusCode wraps ResourceProvider with StatusCode.
func (*ResourceProviderStatusCode) GetResponse ¶ added in v0.0.23
func (s *ResourceProviderStatusCode) GetResponse() ResourceProvider
GetResponse returns the value of Response.
func (*ResourceProviderStatusCode) GetStatusCode ¶ added in v0.0.23
func (s *ResourceProviderStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ResourceProviderStatusCode) SetResponse ¶ added in v0.0.23
func (s *ResourceProviderStatusCode) SetResponse(val ResourceProvider)
SetResponse sets the value of Response.
func (*ResourceProviderStatusCode) SetStatusCode ¶ added in v0.0.23
func (s *ResourceProviderStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*ResourceProviderStatusCode) Validate ¶ added in v0.0.23
func (s *ResourceProviderStatusCode) Validate() error
type ResourceProviderSys ¶ added in v0.0.23
type ResourceProviderSys struct {
Organization OrganizationLink `json:"organization"`
// Merged property.
Type ResourceProviderSysType `json:"type"`
ID string `json:"id"`
AppDefinition AppDefinitionLink `json:"appDefinition"`
}
Merged schema. Ref: #/ResourceProviderSys
func NewResourceProviderSys ¶ added in v0.0.43
func NewResourceProviderSys(organizationID, appDefinitionID, resourceProviderID string) ResourceProviderSys
func (*ResourceProviderSys) Decode ¶ added in v0.0.23
func (s *ResourceProviderSys) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderSys from json.
func (*ResourceProviderSys) Encode ¶ added in v0.0.23
func (s *ResourceProviderSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceProviderSys) GetAppDefinition ¶ added in v0.0.23
func (s *ResourceProviderSys) GetAppDefinition() AppDefinitionLink
GetAppDefinition returns the value of AppDefinition.
func (*ResourceProviderSys) GetID ¶ added in v0.0.23
func (s *ResourceProviderSys) GetID() string
GetID returns the value of ID.
func (*ResourceProviderSys) GetOrganization ¶ added in v0.0.23
func (s *ResourceProviderSys) GetOrganization() OrganizationLink
GetOrganization returns the value of Organization.
func (*ResourceProviderSys) GetType ¶ added in v0.0.23
func (s *ResourceProviderSys) GetType() ResourceProviderSysType
GetType returns the value of Type.
func (*ResourceProviderSys) MarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceProviderSys) SetAppDefinition ¶ added in v0.0.23
func (s *ResourceProviderSys) SetAppDefinition(val AppDefinitionLink)
SetAppDefinition sets the value of AppDefinition.
func (*ResourceProviderSys) SetID ¶ added in v0.0.23
func (s *ResourceProviderSys) SetID(val string)
SetID sets the value of ID.
func (*ResourceProviderSys) SetOrganization ¶ added in v0.0.23
func (s *ResourceProviderSys) SetOrganization(val OrganizationLink)
SetOrganization sets the value of Organization.
func (*ResourceProviderSys) SetType ¶ added in v0.0.23
func (s *ResourceProviderSys) SetType(val ResourceProviderSysType)
SetType sets the value of Type.
func (*ResourceProviderSys) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderSys) Validate ¶ added in v0.0.23
func (s *ResourceProviderSys) Validate() error
type ResourceProviderSysType ¶ added in v0.0.23
type ResourceProviderSysType string
Merged schema.
const (
ResourceProviderSysTypeResourceProvider ResourceProviderSysType = "ResourceProvider"
)
func (ResourceProviderSysType) AllValues ¶ added in v0.0.23
func (ResourceProviderSysType) AllValues() []ResourceProviderSysType
AllValues returns all ResourceProviderSysType values.
func (*ResourceProviderSysType) Decode ¶ added in v0.0.23
func (s *ResourceProviderSysType) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderSysType from json.
func (ResourceProviderSysType) Encode ¶ added in v0.0.23
func (s ResourceProviderSysType) Encode(e *jx.Encoder)
Encode encodes ResourceProviderSysType as json.
func (ResourceProviderSysType) MarshalJSON ¶ added in v0.0.23
func (s ResourceProviderSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourceProviderSysType) MarshalText ¶ added in v0.0.23
func (s ResourceProviderSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourceProviderSysType) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderSysType) UnmarshalText ¶ added in v0.0.23
func (s *ResourceProviderSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourceProviderSysType) Validate ¶ added in v0.0.23
func (s ResourceProviderSysType) Validate() error
type ResourceProviderType ¶ added in v0.0.23
type ResourceProviderType string
const (
ResourceProviderTypeFunction ResourceProviderType = "function"
)
func (ResourceProviderType) AllValues ¶ added in v0.0.23
func (ResourceProviderType) AllValues() []ResourceProviderType
AllValues returns all ResourceProviderType values.
func (*ResourceProviderType) Decode ¶ added in v0.0.23
func (s *ResourceProviderType) Decode(d *jx.Decoder) error
Decode decodes ResourceProviderType from json.
func (ResourceProviderType) Encode ¶ added in v0.0.23
func (s ResourceProviderType) Encode(e *jx.Encoder)
Encode encodes ResourceProviderType as json.
func (ResourceProviderType) MarshalJSON ¶ added in v0.0.23
func (s ResourceProviderType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourceProviderType) MarshalText ¶ added in v0.0.23
func (s ResourceProviderType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourceProviderType) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceProviderType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceProviderType) UnmarshalText ¶ added in v0.0.23
func (s *ResourceProviderType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourceProviderType) Validate ¶ added in v0.0.23
func (s ResourceProviderType) Validate() error
type ResourceType ¶ added in v0.0.23
type ResourceType struct {
Sys ResourceTypeSys `json:"sys"`
Name string `json:"name"`
DefaultFieldMapping ResourceTypeDefaultFieldMapping `json:"defaultFieldMapping"`
}
Merged schema. Ref: #/ResourceType
func (*ResourceType) Decode ¶ added in v0.0.23
func (s *ResourceType) Decode(d *jx.Decoder) error
Decode decodes ResourceType from json.
func (*ResourceType) Encode ¶ added in v0.0.23
func (s *ResourceType) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceType) GetDefaultFieldMapping ¶ added in v0.0.23
func (s *ResourceType) GetDefaultFieldMapping() ResourceTypeDefaultFieldMapping
GetDefaultFieldMapping returns the value of DefaultFieldMapping.
func (*ResourceType) GetName ¶ added in v0.0.23
func (s *ResourceType) GetName() string
GetName returns the value of Name.
func (*ResourceType) GetSys ¶ added in v0.0.23
func (s *ResourceType) GetSys() ResourceTypeSys
GetSys returns the value of Sys.
func (*ResourceType) MarshalJSON ¶ added in v0.0.23
func (s *ResourceType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceType) SetDefaultFieldMapping ¶ added in v0.0.23
func (s *ResourceType) SetDefaultFieldMapping(val ResourceTypeDefaultFieldMapping)
SetDefaultFieldMapping sets the value of DefaultFieldMapping.
func (*ResourceType) SetName ¶ added in v0.0.23
func (s *ResourceType) SetName(val string)
SetName sets the value of Name.
func (*ResourceType) SetSys ¶ added in v0.0.23
func (s *ResourceType) SetSys(val ResourceTypeSys)
SetSys sets the value of Sys.
func (*ResourceType) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceType) Validate ¶ added in v0.0.23
func (s *ResourceType) Validate() error
type ResourceTypeData ¶ added in v0.0.42
type ResourceTypeData struct {
Name string `json:"name"`
DefaultFieldMapping ResourceTypeDefaultFieldMapping `json:"defaultFieldMapping"`
}
Ref: #/ResourceTypeData
func (*ResourceTypeData) Decode ¶ added in v0.0.42
func (s *ResourceTypeData) Decode(d *jx.Decoder) error
Decode decodes ResourceTypeData from json.
func (*ResourceTypeData) Encode ¶ added in v0.0.42
func (s *ResourceTypeData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceTypeData) GetDefaultFieldMapping ¶ added in v0.0.42
func (s *ResourceTypeData) GetDefaultFieldMapping() ResourceTypeDefaultFieldMapping
GetDefaultFieldMapping returns the value of DefaultFieldMapping.
func (*ResourceTypeData) GetName ¶ added in v0.0.42
func (s *ResourceTypeData) GetName() string
GetName returns the value of Name.
func (*ResourceTypeData) MarshalJSON ¶ added in v0.0.42
func (s *ResourceTypeData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceTypeData) SetDefaultFieldMapping ¶ added in v0.0.42
func (s *ResourceTypeData) SetDefaultFieldMapping(val ResourceTypeDefaultFieldMapping)
SetDefaultFieldMapping sets the value of DefaultFieldMapping.
func (*ResourceTypeData) SetName ¶ added in v0.0.42
func (s *ResourceTypeData) SetName(val string)
SetName sets the value of Name.
func (*ResourceTypeData) UnmarshalJSON ¶ added in v0.0.42
func (s *ResourceTypeData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourceTypeDefaultFieldMapping ¶ added in v0.0.23
type ResourceTypeDefaultFieldMapping struct {
Title string `json:"title"`
Subtitle OptString `json:"subtitle"`
Description OptString `json:"description"`
ExternalUrl OptString `json:"externalUrl"`
Image OptResourceTypeDefaultFieldMappingImage `json:"image"`
Badge OptResourceTypeDefaultFieldMappingBadge `json:"badge"`
}
Ref: #/ResourceTypeDefaultFieldMapping
func (*ResourceTypeDefaultFieldMapping) Decode ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) Decode(d *jx.Decoder) error
Decode decodes ResourceTypeDefaultFieldMapping from json.
func (*ResourceTypeDefaultFieldMapping) Encode ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceTypeDefaultFieldMapping) GetBadge ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) GetBadge() OptResourceTypeDefaultFieldMappingBadge
GetBadge returns the value of Badge.
func (*ResourceTypeDefaultFieldMapping) GetDescription ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) GetDescription() OptString
GetDescription returns the value of Description.
func (*ResourceTypeDefaultFieldMapping) GetExternalUrl ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) GetExternalUrl() OptString
GetExternalUrl returns the value of ExternalUrl.
func (*ResourceTypeDefaultFieldMapping) GetImage ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) GetImage() OptResourceTypeDefaultFieldMappingImage
GetImage returns the value of Image.
func (*ResourceTypeDefaultFieldMapping) GetSubtitle ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) GetSubtitle() OptString
GetSubtitle returns the value of Subtitle.
func (*ResourceTypeDefaultFieldMapping) GetTitle ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) GetTitle() string
GetTitle returns the value of Title.
func (*ResourceTypeDefaultFieldMapping) MarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceTypeDefaultFieldMapping) SetBadge ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) SetBadge(val OptResourceTypeDefaultFieldMappingBadge)
SetBadge sets the value of Badge.
func (*ResourceTypeDefaultFieldMapping) SetDescription ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) SetDescription(val OptString)
SetDescription sets the value of Description.
func (*ResourceTypeDefaultFieldMapping) SetExternalUrl ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) SetExternalUrl(val OptString)
SetExternalUrl sets the value of ExternalUrl.
func (*ResourceTypeDefaultFieldMapping) SetImage ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) SetImage(val OptResourceTypeDefaultFieldMappingImage)
SetImage sets the value of Image.
func (*ResourceTypeDefaultFieldMapping) SetSubtitle ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) SetSubtitle(val OptString)
SetSubtitle sets the value of Subtitle.
func (*ResourceTypeDefaultFieldMapping) SetTitle ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) SetTitle(val string)
SetTitle sets the value of Title.
func (*ResourceTypeDefaultFieldMapping) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMapping) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourceTypeDefaultFieldMappingBadge ¶ added in v0.0.23
type ResourceTypeDefaultFieldMappingBadge struct {
Label string `json:"label"`
Variant string `json:"variant"`
}
func (*ResourceTypeDefaultFieldMappingBadge) Decode ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingBadge) Decode(d *jx.Decoder) error
Decode decodes ResourceTypeDefaultFieldMappingBadge from json.
func (*ResourceTypeDefaultFieldMappingBadge) Encode ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingBadge) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceTypeDefaultFieldMappingBadge) GetLabel ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingBadge) GetLabel() string
GetLabel returns the value of Label.
func (*ResourceTypeDefaultFieldMappingBadge) GetVariant ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingBadge) GetVariant() string
GetVariant returns the value of Variant.
func (*ResourceTypeDefaultFieldMappingBadge) MarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingBadge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceTypeDefaultFieldMappingBadge) SetLabel ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingBadge) SetLabel(val string)
SetLabel sets the value of Label.
func (*ResourceTypeDefaultFieldMappingBadge) SetVariant ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingBadge) SetVariant(val string)
SetVariant sets the value of Variant.
func (*ResourceTypeDefaultFieldMappingBadge) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingBadge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourceTypeDefaultFieldMappingImage ¶ added in v0.0.23
type ResourceTypeDefaultFieldMappingImage struct {
URL string `json:"url"`
AltText OptString `json:"altText"`
}
func (*ResourceTypeDefaultFieldMappingImage) Decode ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingImage) Decode(d *jx.Decoder) error
Decode decodes ResourceTypeDefaultFieldMappingImage from json.
func (*ResourceTypeDefaultFieldMappingImage) Encode ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingImage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceTypeDefaultFieldMappingImage) GetAltText ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingImage) GetAltText() OptString
GetAltText returns the value of AltText.
func (*ResourceTypeDefaultFieldMappingImage) GetURL ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingImage) GetURL() string
GetURL returns the value of URL.
func (*ResourceTypeDefaultFieldMappingImage) MarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingImage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceTypeDefaultFieldMappingImage) SetAltText ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingImage) SetAltText(val OptString)
SetAltText sets the value of AltText.
func (*ResourceTypeDefaultFieldMappingImage) SetURL ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingImage) SetURL(val string)
SetURL sets the value of URL.
func (*ResourceTypeDefaultFieldMappingImage) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeDefaultFieldMappingImage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourceTypeStatusCode ¶ added in v0.0.23
type ResourceTypeStatusCode struct {
StatusCode int
Response ResourceType
}
ResourceTypeStatusCode wraps ResourceType with StatusCode.
func (*ResourceTypeStatusCode) GetResponse ¶ added in v0.0.23
func (s *ResourceTypeStatusCode) GetResponse() ResourceType
GetResponse returns the value of Response.
func (*ResourceTypeStatusCode) GetStatusCode ¶ added in v0.0.23
func (s *ResourceTypeStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ResourceTypeStatusCode) SetResponse ¶ added in v0.0.23
func (s *ResourceTypeStatusCode) SetResponse(val ResourceType)
SetResponse sets the value of Response.
func (*ResourceTypeStatusCode) SetStatusCode ¶ added in v0.0.23
func (s *ResourceTypeStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*ResourceTypeStatusCode) Validate ¶ added in v0.0.23
func (s *ResourceTypeStatusCode) Validate() error
type ResourceTypeSys ¶ added in v0.0.23
type ResourceTypeSys struct {
Organization OrganizationLink `json:"organization"`
// Merged property.
Type ResourceTypeSysType `json:"type"`
ID string `json:"id"`
AppDefinition AppDefinitionLink `json:"appDefinition"`
ResourceProvider ResourceProviderLink `json:"resourceProvider"`
}
Merged schema. Ref: #/ResourceTypeSys
func NewResourceTypeSys ¶ added in v0.0.43
func NewResourceTypeSys(organizationID, appDefinitionID, resourceProviderID, resourceTypeID string) ResourceTypeSys
func (*ResourceTypeSys) Decode ¶ added in v0.0.23
func (s *ResourceTypeSys) Decode(d *jx.Decoder) error
Decode decodes ResourceTypeSys from json.
func (*ResourceTypeSys) Encode ¶ added in v0.0.23
func (s *ResourceTypeSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceTypeSys) GetAppDefinition ¶ added in v0.0.23
func (s *ResourceTypeSys) GetAppDefinition() AppDefinitionLink
GetAppDefinition returns the value of AppDefinition.
func (*ResourceTypeSys) GetID ¶ added in v0.0.23
func (s *ResourceTypeSys) GetID() string
GetID returns the value of ID.
func (*ResourceTypeSys) GetOrganization ¶ added in v0.0.23
func (s *ResourceTypeSys) GetOrganization() OrganizationLink
GetOrganization returns the value of Organization.
func (*ResourceTypeSys) GetResourceProvider ¶ added in v0.0.23
func (s *ResourceTypeSys) GetResourceProvider() ResourceProviderLink
GetResourceProvider returns the value of ResourceProvider.
func (*ResourceTypeSys) GetType ¶ added in v0.0.23
func (s *ResourceTypeSys) GetType() ResourceTypeSysType
GetType returns the value of Type.
func (*ResourceTypeSys) MarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceTypeSys) SetAppDefinition ¶ added in v0.0.23
func (s *ResourceTypeSys) SetAppDefinition(val AppDefinitionLink)
SetAppDefinition sets the value of AppDefinition.
func (*ResourceTypeSys) SetID ¶ added in v0.0.23
func (s *ResourceTypeSys) SetID(val string)
SetID sets the value of ID.
func (*ResourceTypeSys) SetOrganization ¶ added in v0.0.23
func (s *ResourceTypeSys) SetOrganization(val OrganizationLink)
SetOrganization sets the value of Organization.
func (*ResourceTypeSys) SetResourceProvider ¶ added in v0.0.23
func (s *ResourceTypeSys) SetResourceProvider(val ResourceProviderLink)
SetResourceProvider sets the value of ResourceProvider.
func (*ResourceTypeSys) SetType ¶ added in v0.0.23
func (s *ResourceTypeSys) SetType(val ResourceTypeSysType)
SetType sets the value of Type.
func (*ResourceTypeSys) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceTypeSys) Validate ¶ added in v0.0.23
func (s *ResourceTypeSys) Validate() error
type ResourceTypeSysType ¶ added in v0.0.23
type ResourceTypeSysType string
Merged schema.
const (
ResourceTypeSysTypeResourceType ResourceTypeSysType = "ResourceType"
)
func (ResourceTypeSysType) AllValues ¶ added in v0.0.23
func (ResourceTypeSysType) AllValues() []ResourceTypeSysType
AllValues returns all ResourceTypeSysType values.
func (*ResourceTypeSysType) Decode ¶ added in v0.0.23
func (s *ResourceTypeSysType) Decode(d *jx.Decoder) error
Decode decodes ResourceTypeSysType from json.
func (ResourceTypeSysType) Encode ¶ added in v0.0.23
func (s ResourceTypeSysType) Encode(e *jx.Encoder)
Encode encodes ResourceTypeSysType as json.
func (ResourceTypeSysType) MarshalJSON ¶ added in v0.0.23
func (s ResourceTypeSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourceTypeSysType) MarshalText ¶ added in v0.0.23
func (s ResourceTypeSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourceTypeSysType) UnmarshalJSON ¶ added in v0.0.23
func (s *ResourceTypeSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceTypeSysType) UnmarshalText ¶ added in v0.0.23
func (s *ResourceTypeSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourceTypeSysType) Validate ¶ added in v0.0.23
func (s ResourceTypeSysType) Validate() error
type RevokePersonalAccessTokenParams ¶ added in v0.0.12
type RevokePersonalAccessTokenParams struct {
AccessTokenID string
}
RevokePersonalAccessTokenParams is parameters of revokePersonalAccessToken operation.
type RevokePersonalAccessTokenRes ¶ added in v0.0.12
type RevokePersonalAccessTokenRes interface {
// contains filtered or unexported methods
}
type Role ¶ added in v0.0.15
type Role struct {
Sys RoleSys `json:"sys"`
Name string `json:"name"`
Description OptNilString `json:"description"`
Permissions RolePermissions `json:"permissions"`
Policies []RolePoliciesItem `json:"policies"`
}
Merged schema. Ref: #/Role
func (*Role) GetDescription ¶ added in v0.0.15
func (s *Role) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*Role) GetPermissions ¶ added in v0.0.15
func (s *Role) GetPermissions() RolePermissions
GetPermissions returns the value of Permissions.
func (*Role) GetPolicies ¶ added in v0.0.15
func (s *Role) GetPolicies() []RolePoliciesItem
GetPolicies returns the value of Policies.
func (*Role) MarshalJSON ¶ added in v0.0.15
MarshalJSON implements stdjson.Marshaler.
func (*Role) SetDescription ¶ added in v0.0.15
func (s *Role) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*Role) SetPermissions ¶ added in v0.0.15
func (s *Role) SetPermissions(val RolePermissions)
SetPermissions sets the value of Permissions.
func (*Role) SetPolicies ¶ added in v0.0.15
func (s *Role) SetPolicies(val []RolePoliciesItem)
SetPolicies sets the value of Policies.
func (*Role) UnmarshalJSON ¶ added in v0.0.15
UnmarshalJSON implements stdjson.Unmarshaler.
type RoleData ¶ added in v0.0.42
type RoleData struct {
Name string `json:"name"`
Description OptNilString `json:"description"`
Permissions RoleDataPermissions `json:"permissions"`
Policies []RoleDataPoliciesItem `json:"policies"`
}
Ref: #/RoleData
func (*RoleData) GetDescription ¶ added in v0.0.42
func (s *RoleData) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*RoleData) GetPermissions ¶ added in v0.0.42
func (s *RoleData) GetPermissions() RoleDataPermissions
GetPermissions returns the value of Permissions.
func (*RoleData) GetPolicies ¶ added in v0.0.42
func (s *RoleData) GetPolicies() []RoleDataPoliciesItem
GetPolicies returns the value of Policies.
func (*RoleData) MarshalJSON ¶ added in v0.0.42
MarshalJSON implements stdjson.Marshaler.
func (*RoleData) SetDescription ¶ added in v0.0.42
func (s *RoleData) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*RoleData) SetPermissions ¶ added in v0.0.42
func (s *RoleData) SetPermissions(val RoleDataPermissions)
SetPermissions sets the value of Permissions.
func (*RoleData) SetPolicies ¶ added in v0.0.42
func (s *RoleData) SetPolicies(val []RoleDataPoliciesItem)
SetPolicies sets the value of Policies.
func (*RoleData) UnmarshalJSON ¶ added in v0.0.42
UnmarshalJSON implements stdjson.Unmarshaler.
type RoleDataPermissions ¶ added in v0.0.42
type RoleDataPermissions map[string]RoleDataPermissionsItem
func (*RoleDataPermissions) Decode ¶ added in v0.0.42
func (s *RoleDataPermissions) Decode(d *jx.Decoder) error
Decode decodes RoleDataPermissions from json.
func (RoleDataPermissions) Encode ¶ added in v0.0.42
func (s RoleDataPermissions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RoleDataPermissions) MarshalJSON ¶ added in v0.0.42
func (s RoleDataPermissions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleDataPermissions) UnmarshalJSON ¶ added in v0.0.42
func (s *RoleDataPermissions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RoleDataPermissions) Validate ¶ added in v0.0.42
func (s RoleDataPermissions) Validate() error
type RoleDataPermissionsItem ¶ added in v0.0.42
type RoleDataPermissionsItem struct {
Type RoleDataPermissionsItemType // switch on this field
String string
StringArray []string
}
RoleDataPermissionsItem represents sum type.
func NewStringArrayRoleDataPermissionsItem ¶ added in v0.0.42
func NewStringArrayRoleDataPermissionsItem(v []string) RoleDataPermissionsItem
NewStringArrayRoleDataPermissionsItem returns new RoleDataPermissionsItem from []string.
func NewStringRoleDataPermissionsItem ¶ added in v0.0.42
func NewStringRoleDataPermissionsItem(v string) RoleDataPermissionsItem
NewStringRoleDataPermissionsItem returns new RoleDataPermissionsItem from string.
func (*RoleDataPermissionsItem) Decode ¶ added in v0.0.42
func (s *RoleDataPermissionsItem) Decode(d *jx.Decoder) error
Decode decodes RoleDataPermissionsItem from json.
func (RoleDataPermissionsItem) Encode ¶ added in v0.0.42
func (s RoleDataPermissionsItem) Encode(e *jx.Encoder)
Encode encodes RoleDataPermissionsItem as json.
func (RoleDataPermissionsItem) GetString ¶ added in v0.0.42
func (s RoleDataPermissionsItem) GetString() (v string, ok bool)
GetString returns string and true boolean if RoleDataPermissionsItem is string.
func (RoleDataPermissionsItem) GetStringArray ¶ added in v0.0.42
func (s RoleDataPermissionsItem) GetStringArray() (v []string, ok bool)
GetStringArray returns []string and true boolean if RoleDataPermissionsItem is []string.
func (RoleDataPermissionsItem) IsString ¶ added in v0.0.42
func (s RoleDataPermissionsItem) IsString() bool
IsString reports whether RoleDataPermissionsItem is string.
func (RoleDataPermissionsItem) IsStringArray ¶ added in v0.0.42
func (s RoleDataPermissionsItem) IsStringArray() bool
IsStringArray reports whether RoleDataPermissionsItem is []string.
func (RoleDataPermissionsItem) MarshalJSON ¶ added in v0.0.42
func (s RoleDataPermissionsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleDataPermissionsItem) SetString ¶ added in v0.0.42
func (s *RoleDataPermissionsItem) SetString(v string)
SetString sets RoleDataPermissionsItem to string.
func (*RoleDataPermissionsItem) SetStringArray ¶ added in v0.0.42
func (s *RoleDataPermissionsItem) SetStringArray(v []string)
SetStringArray sets RoleDataPermissionsItem to []string.
func (*RoleDataPermissionsItem) UnmarshalJSON ¶ added in v0.0.42
func (s *RoleDataPermissionsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RoleDataPermissionsItem) Validate ¶ added in v0.0.42
func (s RoleDataPermissionsItem) Validate() error
type RoleDataPermissionsItemType ¶ added in v0.0.42
type RoleDataPermissionsItemType string
RoleDataPermissionsItemType is oneOf type of RoleDataPermissionsItem.
const ( StringRoleDataPermissionsItem RoleDataPermissionsItemType = "string" StringArrayRoleDataPermissionsItem RoleDataPermissionsItemType = "[]string" )
Possible values for RoleDataPermissionsItemType.
type RoleDataPoliciesItem ¶ added in v0.0.42
type RoleDataPoliciesItem struct {
Effect RoleDataPoliciesItemEffect `json:"effect"`
Actions RoleDataPoliciesItemActions `json:"actions"`
Constraint jx.Raw `json:"constraint"`
}
func (*RoleDataPoliciesItem) Decode ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) Decode(d *jx.Decoder) error
Decode decodes RoleDataPoliciesItem from json.
func (*RoleDataPoliciesItem) Encode ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RoleDataPoliciesItem) GetActions ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) GetActions() RoleDataPoliciesItemActions
GetActions returns the value of Actions.
func (*RoleDataPoliciesItem) GetConstraint ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) GetConstraint() jx.Raw
GetConstraint returns the value of Constraint.
func (*RoleDataPoliciesItem) GetEffect ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) GetEffect() RoleDataPoliciesItemEffect
GetEffect returns the value of Effect.
func (*RoleDataPoliciesItem) MarshalJSON ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleDataPoliciesItem) SetActions ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) SetActions(val RoleDataPoliciesItemActions)
SetActions sets the value of Actions.
func (*RoleDataPoliciesItem) SetConstraint ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) SetConstraint(val jx.Raw)
SetConstraint sets the value of Constraint.
func (*RoleDataPoliciesItem) SetEffect ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) SetEffect(val RoleDataPoliciesItemEffect)
SetEffect sets the value of Effect.
func (*RoleDataPoliciesItem) UnmarshalJSON ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleDataPoliciesItem) Validate ¶ added in v0.0.42
func (s *RoleDataPoliciesItem) Validate() error
type RoleDataPoliciesItemActions ¶ added in v0.0.42
type RoleDataPoliciesItemActions struct {
Type RoleDataPoliciesItemActionsType // switch on this field
String string
StringArray []string
}
RoleDataPoliciesItemActions represents sum type.
func NewStringArrayRoleDataPoliciesItemActions ¶ added in v0.0.42
func NewStringArrayRoleDataPoliciesItemActions(v []string) RoleDataPoliciesItemActions
NewStringArrayRoleDataPoliciesItemActions returns new RoleDataPoliciesItemActions from []string.
func NewStringRoleDataPoliciesItemActions ¶ added in v0.0.42
func NewStringRoleDataPoliciesItemActions(v string) RoleDataPoliciesItemActions
NewStringRoleDataPoliciesItemActions returns new RoleDataPoliciesItemActions from string.
func (*RoleDataPoliciesItemActions) Decode ¶ added in v0.0.42
func (s *RoleDataPoliciesItemActions) Decode(d *jx.Decoder) error
Decode decodes RoleDataPoliciesItemActions from json.
func (RoleDataPoliciesItemActions) Encode ¶ added in v0.0.42
func (s RoleDataPoliciesItemActions) Encode(e *jx.Encoder)
Encode encodes RoleDataPoliciesItemActions as json.
func (RoleDataPoliciesItemActions) GetString ¶ added in v0.0.42
func (s RoleDataPoliciesItemActions) GetString() (v string, ok bool)
GetString returns string and true boolean if RoleDataPoliciesItemActions is string.
func (RoleDataPoliciesItemActions) GetStringArray ¶ added in v0.0.42
func (s RoleDataPoliciesItemActions) GetStringArray() (v []string, ok bool)
GetStringArray returns []string and true boolean if RoleDataPoliciesItemActions is []string.
func (RoleDataPoliciesItemActions) IsString ¶ added in v0.0.42
func (s RoleDataPoliciesItemActions) IsString() bool
IsString reports whether RoleDataPoliciesItemActions is string.
func (RoleDataPoliciesItemActions) IsStringArray ¶ added in v0.0.42
func (s RoleDataPoliciesItemActions) IsStringArray() bool
IsStringArray reports whether RoleDataPoliciesItemActions is []string.
func (RoleDataPoliciesItemActions) MarshalJSON ¶ added in v0.0.42
func (s RoleDataPoliciesItemActions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleDataPoliciesItemActions) SetString ¶ added in v0.0.42
func (s *RoleDataPoliciesItemActions) SetString(v string)
SetString sets RoleDataPoliciesItemActions to string.
func (*RoleDataPoliciesItemActions) SetStringArray ¶ added in v0.0.42
func (s *RoleDataPoliciesItemActions) SetStringArray(v []string)
SetStringArray sets RoleDataPoliciesItemActions to []string.
func (*RoleDataPoliciesItemActions) UnmarshalJSON ¶ added in v0.0.42
func (s *RoleDataPoliciesItemActions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RoleDataPoliciesItemActions) Validate ¶ added in v0.0.42
func (s RoleDataPoliciesItemActions) Validate() error
type RoleDataPoliciesItemActionsType ¶ added in v0.0.42
type RoleDataPoliciesItemActionsType string
RoleDataPoliciesItemActionsType is oneOf type of RoleDataPoliciesItemActions.
const ( StringRoleDataPoliciesItemActions RoleDataPoliciesItemActionsType = "string" StringArrayRoleDataPoliciesItemActions RoleDataPoliciesItemActionsType = "[]string" )
Possible values for RoleDataPoliciesItemActionsType.
type RoleDataPoliciesItemEffect ¶ added in v0.0.42
type RoleDataPoliciesItemEffect string
const ( RoleDataPoliciesItemEffectAllow RoleDataPoliciesItemEffect = "allow" RoleDataPoliciesItemEffectDeny RoleDataPoliciesItemEffect = "deny" )
func (RoleDataPoliciesItemEffect) AllValues ¶ added in v0.0.42
func (RoleDataPoliciesItemEffect) AllValues() []RoleDataPoliciesItemEffect
AllValues returns all RoleDataPoliciesItemEffect values.
func (*RoleDataPoliciesItemEffect) Decode ¶ added in v0.0.42
func (s *RoleDataPoliciesItemEffect) Decode(d *jx.Decoder) error
Decode decodes RoleDataPoliciesItemEffect from json.
func (RoleDataPoliciesItemEffect) Encode ¶ added in v0.0.42
func (s RoleDataPoliciesItemEffect) Encode(e *jx.Encoder)
Encode encodes RoleDataPoliciesItemEffect as json.
func (RoleDataPoliciesItemEffect) MarshalJSON ¶ added in v0.0.42
func (s RoleDataPoliciesItemEffect) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RoleDataPoliciesItemEffect) MarshalText ¶ added in v0.0.42
func (s RoleDataPoliciesItemEffect) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RoleDataPoliciesItemEffect) UnmarshalJSON ¶ added in v0.0.42
func (s *RoleDataPoliciesItemEffect) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleDataPoliciesItemEffect) UnmarshalText ¶ added in v0.0.42
func (s *RoleDataPoliciesItemEffect) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RoleDataPoliciesItemEffect) Validate ¶ added in v0.0.42
func (s RoleDataPoliciesItemEffect) Validate() error
type RoleLink ¶ added in v0.0.43
type RoleLink struct {
Sys RoleLinkSys `json:"sys"`
}
Ref: #/RoleLink
func (*RoleLink) GetSys ¶ added in v0.0.43
func (s *RoleLink) GetSys() RoleLinkSys
GetSys returns the value of Sys.
func (*RoleLink) MarshalJSON ¶ added in v0.0.43
MarshalJSON implements stdjson.Marshaler.
func (*RoleLink) SetSys ¶ added in v0.0.43
func (s *RoleLink) SetSys(val RoleLinkSys)
SetSys sets the value of Sys.
func (*RoleLink) UnmarshalJSON ¶ added in v0.0.43
UnmarshalJSON implements stdjson.Unmarshaler.
type RoleLinkSys ¶ added in v0.0.43
type RoleLinkSys struct {
// Merged property.
Type RoleLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType RoleLinkSysLinkType `json:"linkType"`
}
Merged schema.
func (*RoleLinkSys) Decode ¶ added in v0.0.43
func (s *RoleLinkSys) Decode(d *jx.Decoder) error
Decode decodes RoleLinkSys from json.
func (*RoleLinkSys) Encode ¶ added in v0.0.43
func (s *RoleLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RoleLinkSys) GetID ¶ added in v0.0.43
func (s *RoleLinkSys) GetID() string
GetID returns the value of ID.
func (*RoleLinkSys) GetLinkType ¶ added in v0.0.43
func (s *RoleLinkSys) GetLinkType() RoleLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*RoleLinkSys) GetType ¶ added in v0.0.43
func (s *RoleLinkSys) GetType() RoleLinkSysType
GetType returns the value of Type.
func (*RoleLinkSys) MarshalJSON ¶ added in v0.0.43
func (s *RoleLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleLinkSys) SetID ¶ added in v0.0.43
func (s *RoleLinkSys) SetID(val string)
SetID sets the value of ID.
func (*RoleLinkSys) SetLinkType ¶ added in v0.0.43
func (s *RoleLinkSys) SetLinkType(val RoleLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*RoleLinkSys) SetType ¶ added in v0.0.43
func (s *RoleLinkSys) SetType(val RoleLinkSysType)
SetType sets the value of Type.
func (*RoleLinkSys) UnmarshalJSON ¶ added in v0.0.43
func (s *RoleLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleLinkSys) Validate ¶ added in v0.0.43
func (s *RoleLinkSys) Validate() error
type RoleLinkSysLinkType ¶ added in v0.0.43
type RoleLinkSysLinkType string
Merged schema.
const (
RoleLinkSysLinkTypeRole RoleLinkSysLinkType = "Role"
)
func (RoleLinkSysLinkType) AllValues ¶ added in v0.0.43
func (RoleLinkSysLinkType) AllValues() []RoleLinkSysLinkType
AllValues returns all RoleLinkSysLinkType values.
func (*RoleLinkSysLinkType) Decode ¶ added in v0.0.43
func (s *RoleLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes RoleLinkSysLinkType from json.
func (RoleLinkSysLinkType) Encode ¶ added in v0.0.43
func (s RoleLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes RoleLinkSysLinkType as json.
func (RoleLinkSysLinkType) MarshalJSON ¶ added in v0.0.43
func (s RoleLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RoleLinkSysLinkType) MarshalText ¶ added in v0.0.43
func (s RoleLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RoleLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.43
func (s *RoleLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleLinkSysLinkType) UnmarshalText ¶ added in v0.0.43
func (s *RoleLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RoleLinkSysLinkType) Validate ¶ added in v0.0.43
func (s RoleLinkSysLinkType) Validate() error
type RoleLinkSysType ¶ added in v0.0.43
type RoleLinkSysType string
Merged schema.
const (
RoleLinkSysTypeLink RoleLinkSysType = "Link"
)
func (RoleLinkSysType) AllValues ¶ added in v0.0.43
func (RoleLinkSysType) AllValues() []RoleLinkSysType
AllValues returns all RoleLinkSysType values.
func (*RoleLinkSysType) Decode ¶ added in v0.0.43
func (s *RoleLinkSysType) Decode(d *jx.Decoder) error
Decode decodes RoleLinkSysType from json.
func (RoleLinkSysType) Encode ¶ added in v0.0.43
func (s RoleLinkSysType) Encode(e *jx.Encoder)
Encode encodes RoleLinkSysType as json.
func (RoleLinkSysType) MarshalJSON ¶ added in v0.0.43
func (s RoleLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RoleLinkSysType) MarshalText ¶ added in v0.0.43
func (s RoleLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RoleLinkSysType) UnmarshalJSON ¶ added in v0.0.43
func (s *RoleLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleLinkSysType) UnmarshalText ¶ added in v0.0.43
func (s *RoleLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RoleLinkSysType) Validate ¶ added in v0.0.43
func (s RoleLinkSysType) Validate() error
type RolePermissions ¶ added in v0.0.15
type RolePermissions map[string]RolePermissionsItem
func (*RolePermissions) Decode ¶ added in v0.0.15
func (s *RolePermissions) Decode(d *jx.Decoder) error
Decode decodes RolePermissions from json.
func (RolePermissions) Encode ¶ added in v0.0.15
func (s RolePermissions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RolePermissions) MarshalJSON ¶ added in v0.0.15
func (s RolePermissions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RolePermissions) UnmarshalJSON ¶ added in v0.0.15
func (s *RolePermissions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RolePermissions) Validate ¶ added in v0.0.15
func (s RolePermissions) Validate() error
type RolePermissionsItem ¶ added in v0.0.15
type RolePermissionsItem struct {
Type RolePermissionsItemType // switch on this field
String string
StringArray []string
}
RolePermissionsItem represents sum type.
func NewStringArrayRolePermissionsItem ¶ added in v0.0.15
func NewStringArrayRolePermissionsItem(v []string) RolePermissionsItem
NewStringArrayRolePermissionsItem returns new RolePermissionsItem from []string.
func NewStringRolePermissionsItem ¶ added in v0.0.15
func NewStringRolePermissionsItem(v string) RolePermissionsItem
NewStringRolePermissionsItem returns new RolePermissionsItem from string.
func (*RolePermissionsItem) Decode ¶ added in v0.0.15
func (s *RolePermissionsItem) Decode(d *jx.Decoder) error
Decode decodes RolePermissionsItem from json.
func (RolePermissionsItem) Encode ¶ added in v0.0.15
func (s RolePermissionsItem) Encode(e *jx.Encoder)
Encode encodes RolePermissionsItem as json.
func (RolePermissionsItem) GetString ¶ added in v0.0.15
func (s RolePermissionsItem) GetString() (v string, ok bool)
GetString returns string and true boolean if RolePermissionsItem is string.
func (RolePermissionsItem) GetStringArray ¶ added in v0.0.15
func (s RolePermissionsItem) GetStringArray() (v []string, ok bool)
GetStringArray returns []string and true boolean if RolePermissionsItem is []string.
func (RolePermissionsItem) IsString ¶ added in v0.0.15
func (s RolePermissionsItem) IsString() bool
IsString reports whether RolePermissionsItem is string.
func (RolePermissionsItem) IsStringArray ¶ added in v0.0.15
func (s RolePermissionsItem) IsStringArray() bool
IsStringArray reports whether RolePermissionsItem is []string.
func (RolePermissionsItem) MarshalJSON ¶ added in v0.0.15
func (s RolePermissionsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RolePermissionsItem) SetString ¶ added in v0.0.15
func (s *RolePermissionsItem) SetString(v string)
SetString sets RolePermissionsItem to string.
func (*RolePermissionsItem) SetStringArray ¶ added in v0.0.15
func (s *RolePermissionsItem) SetStringArray(v []string)
SetStringArray sets RolePermissionsItem to []string.
func (*RolePermissionsItem) UnmarshalJSON ¶ added in v0.0.15
func (s *RolePermissionsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RolePermissionsItem) Validate ¶ added in v0.0.15
func (s RolePermissionsItem) Validate() error
type RolePermissionsItemType ¶ added in v0.0.15
type RolePermissionsItemType string
RolePermissionsItemType is oneOf type of RolePermissionsItem.
const ( StringRolePermissionsItem RolePermissionsItemType = "string" StringArrayRolePermissionsItem RolePermissionsItemType = "[]string" )
Possible values for RolePermissionsItemType.
type RolePoliciesItem ¶ added in v0.0.15
type RolePoliciesItem struct {
Effect RolePoliciesItemEffect `json:"effect"`
Actions RolePoliciesItemActions `json:"actions"`
Constraint jx.Raw `json:"constraint"`
}
func (*RolePoliciesItem) Decode ¶ added in v0.0.15
func (s *RolePoliciesItem) Decode(d *jx.Decoder) error
Decode decodes RolePoliciesItem from json.
func (*RolePoliciesItem) Encode ¶ added in v0.0.15
func (s *RolePoliciesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RolePoliciesItem) GetActions ¶ added in v0.0.15
func (s *RolePoliciesItem) GetActions() RolePoliciesItemActions
GetActions returns the value of Actions.
func (*RolePoliciesItem) GetConstraint ¶ added in v0.0.15
func (s *RolePoliciesItem) GetConstraint() jx.Raw
GetConstraint returns the value of Constraint.
func (*RolePoliciesItem) GetEffect ¶ added in v0.0.15
func (s *RolePoliciesItem) GetEffect() RolePoliciesItemEffect
GetEffect returns the value of Effect.
func (*RolePoliciesItem) MarshalJSON ¶ added in v0.0.15
func (s *RolePoliciesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RolePoliciesItem) SetActions ¶ added in v0.0.15
func (s *RolePoliciesItem) SetActions(val RolePoliciesItemActions)
SetActions sets the value of Actions.
func (*RolePoliciesItem) SetConstraint ¶ added in v0.0.15
func (s *RolePoliciesItem) SetConstraint(val jx.Raw)
SetConstraint sets the value of Constraint.
func (*RolePoliciesItem) SetEffect ¶ added in v0.0.15
func (s *RolePoliciesItem) SetEffect(val RolePoliciesItemEffect)
SetEffect sets the value of Effect.
func (*RolePoliciesItem) UnmarshalJSON ¶ added in v0.0.15
func (s *RolePoliciesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RolePoliciesItem) Validate ¶ added in v0.0.15
func (s *RolePoliciesItem) Validate() error
type RolePoliciesItemActions ¶ added in v0.0.15
type RolePoliciesItemActions struct {
Type RolePoliciesItemActionsType // switch on this field
String string
StringArray []string
}
RolePoliciesItemActions represents sum type.
func NewStringArrayRolePoliciesItemActions ¶ added in v0.0.15
func NewStringArrayRolePoliciesItemActions(v []string) RolePoliciesItemActions
NewStringArrayRolePoliciesItemActions returns new RolePoliciesItemActions from []string.
func NewStringRolePoliciesItemActions ¶ added in v0.0.15
func NewStringRolePoliciesItemActions(v string) RolePoliciesItemActions
NewStringRolePoliciesItemActions returns new RolePoliciesItemActions from string.
func (*RolePoliciesItemActions) Decode ¶ added in v0.0.15
func (s *RolePoliciesItemActions) Decode(d *jx.Decoder) error
Decode decodes RolePoliciesItemActions from json.
func (RolePoliciesItemActions) Encode ¶ added in v0.0.15
func (s RolePoliciesItemActions) Encode(e *jx.Encoder)
Encode encodes RolePoliciesItemActions as json.
func (RolePoliciesItemActions) GetString ¶ added in v0.0.15
func (s RolePoliciesItemActions) GetString() (v string, ok bool)
GetString returns string and true boolean if RolePoliciesItemActions is string.
func (RolePoliciesItemActions) GetStringArray ¶ added in v0.0.15
func (s RolePoliciesItemActions) GetStringArray() (v []string, ok bool)
GetStringArray returns []string and true boolean if RolePoliciesItemActions is []string.
func (RolePoliciesItemActions) IsString ¶ added in v0.0.15
func (s RolePoliciesItemActions) IsString() bool
IsString reports whether RolePoliciesItemActions is string.
func (RolePoliciesItemActions) IsStringArray ¶ added in v0.0.15
func (s RolePoliciesItemActions) IsStringArray() bool
IsStringArray reports whether RolePoliciesItemActions is []string.
func (RolePoliciesItemActions) MarshalJSON ¶ added in v0.0.15
func (s RolePoliciesItemActions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RolePoliciesItemActions) SetString ¶ added in v0.0.15
func (s *RolePoliciesItemActions) SetString(v string)
SetString sets RolePoliciesItemActions to string.
func (*RolePoliciesItemActions) SetStringArray ¶ added in v0.0.15
func (s *RolePoliciesItemActions) SetStringArray(v []string)
SetStringArray sets RolePoliciesItemActions to []string.
func (*RolePoliciesItemActions) UnmarshalJSON ¶ added in v0.0.15
func (s *RolePoliciesItemActions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RolePoliciesItemActions) Validate ¶ added in v0.0.15
func (s RolePoliciesItemActions) Validate() error
type RolePoliciesItemActionsType ¶ added in v0.0.15
type RolePoliciesItemActionsType string
RolePoliciesItemActionsType is oneOf type of RolePoliciesItemActions.
const ( StringRolePoliciesItemActions RolePoliciesItemActionsType = "string" StringArrayRolePoliciesItemActions RolePoliciesItemActionsType = "[]string" )
Possible values for RolePoliciesItemActionsType.
type RolePoliciesItemEffect ¶ added in v0.0.15
type RolePoliciesItemEffect string
const ( RolePoliciesItemEffectAllow RolePoliciesItemEffect = "allow" RolePoliciesItemEffectDeny RolePoliciesItemEffect = "deny" )
func (RolePoliciesItemEffect) AllValues ¶ added in v0.0.15
func (RolePoliciesItemEffect) AllValues() []RolePoliciesItemEffect
AllValues returns all RolePoliciesItemEffect values.
func (*RolePoliciesItemEffect) Decode ¶ added in v0.0.15
func (s *RolePoliciesItemEffect) Decode(d *jx.Decoder) error
Decode decodes RolePoliciesItemEffect from json.
func (RolePoliciesItemEffect) Encode ¶ added in v0.0.15
func (s RolePoliciesItemEffect) Encode(e *jx.Encoder)
Encode encodes RolePoliciesItemEffect as json.
func (RolePoliciesItemEffect) MarshalJSON ¶ added in v0.0.15
func (s RolePoliciesItemEffect) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RolePoliciesItemEffect) MarshalText ¶ added in v0.0.15
func (s RolePoliciesItemEffect) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RolePoliciesItemEffect) UnmarshalJSON ¶ added in v0.0.15
func (s *RolePoliciesItemEffect) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RolePoliciesItemEffect) UnmarshalText ¶ added in v0.0.15
func (s *RolePoliciesItemEffect) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RolePoliciesItemEffect) Validate ¶ added in v0.0.15
func (s RolePoliciesItemEffect) Validate() error
type RoleStatusCode ¶ added in v0.0.24
RoleStatusCode wraps Role with StatusCode.
func (*RoleStatusCode) GetResponse ¶ added in v0.0.24
func (s *RoleStatusCode) GetResponse() Role
GetResponse returns the value of Response.
func (*RoleStatusCode) GetStatusCode ¶ added in v0.0.24
func (s *RoleStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*RoleStatusCode) SetResponse ¶ added in v0.0.24
func (s *RoleStatusCode) SetResponse(val Role)
SetResponse sets the value of Response.
func (*RoleStatusCode) SetStatusCode ¶ added in v0.0.24
func (s *RoleStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*RoleStatusCode) Validate ¶ added in v0.0.24
func (s *RoleStatusCode) Validate() error
type RoleSys ¶ added in v0.0.15
type RoleSys struct {
Space SpaceLink `json:"space"`
// Merged property.
Type RoleSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
}
Merged schema. Ref: #/RoleSys
func NewRoleSys ¶ added in v0.0.43
func (*RoleSys) GetType ¶ added in v0.0.15
func (s *RoleSys) GetType() RoleSysType
GetType returns the value of Type.
func (*RoleSys) GetVersion ¶ added in v0.0.15
GetVersion returns the value of Version.
func (*RoleSys) MarshalJSON ¶ added in v0.0.15
MarshalJSON implements stdjson.Marshaler.
func (*RoleSys) SetType ¶ added in v0.0.15
func (s *RoleSys) SetType(val RoleSysType)
SetType sets the value of Type.
func (*RoleSys) SetVersion ¶ added in v0.0.15
SetVersion sets the value of Version.
func (*RoleSys) UnmarshalJSON ¶ added in v0.0.15
UnmarshalJSON implements stdjson.Unmarshaler.
type RoleSysType ¶ added in v0.0.15
type RoleSysType string
Merged schema.
const (
RoleSysTypeRole RoleSysType = "Role"
)
func (RoleSysType) AllValues ¶ added in v0.0.15
func (RoleSysType) AllValues() []RoleSysType
AllValues returns all RoleSysType values.
func (*RoleSysType) Decode ¶ added in v0.0.15
func (s *RoleSysType) Decode(d *jx.Decoder) error
Decode decodes RoleSysType from json.
func (RoleSysType) Encode ¶ added in v0.0.15
func (s RoleSysType) Encode(e *jx.Encoder)
Encode encodes RoleSysType as json.
func (RoleSysType) MarshalJSON ¶ added in v0.0.15
func (s RoleSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RoleSysType) MarshalText ¶ added in v0.0.15
func (s RoleSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RoleSysType) UnmarshalJSON ¶ added in v0.0.15
func (s *RoleSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleSysType) UnmarshalText ¶ added in v0.0.15
func (s *RoleSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RoleSysType) Validate ¶ added in v0.0.15
func (s RoleSysType) Validate() error
type Route ¶ added in v0.0.33
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) Name ¶ added in v0.0.33
Name returns ogen operation name.
It is guaranteed to be unique and not empty.
func (Route) OperationGroup ¶ added in v0.0.46
OperationGroup returns the x-ogen-operation-group value.
func (Route) OperationID ¶ added in v0.0.33
OperationID returns OpenAPI operationId.
func (Route) PathPattern ¶ added in v0.0.33
PathPattern returns OpenAPI path.
type SecurityHandler ¶ added in v0.0.33
type SecurityHandler interface {
// HandleAccessToken handles accessToken security.
HandleAccessToken(ctx context.Context, operationName OperationName, t AccessToken) (context.Context, error)
}
SecurityHandler is handler for security parameters.
type SecuritySource ¶
type SecuritySource interface {
// AccessToken provides accessToken security value.
AccessToken(ctx context.Context, operationName OperationName, client *Client) (AccessToken, error)
}
SecuritySource is provider of security values (tokens, passwords, etc.).
type Server ¶ added in v0.0.33
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶ added in v0.0.33
func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶ added in v0.0.33
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶ added in v0.0.33
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶ added in v0.0.33
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶ added in v0.0.33
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶ added in v0.0.33
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶ added in v0.0.33
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶ added in v0.0.33
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type SpaceEnablement ¶ added in v0.0.20
type SpaceEnablement struct {
Sys SpaceEnablementSys `json:"sys"`
CrossSpaceLinks OptSpaceEnablementField `json:"crossSpaceLinks"`
SpaceTemplates OptSpaceEnablementField `json:"spaceTemplates"`
StudioExperiences OptSpaceEnablementField `json:"studioExperiences"`
SuggestConcepts OptSpaceEnablementField `json:"suggestConcepts"`
}
Merged schema. Ref: #/SpaceEnablement
func (*SpaceEnablement) Decode ¶ added in v0.0.20
func (s *SpaceEnablement) Decode(d *jx.Decoder) error
Decode decodes SpaceEnablement from json.
func (*SpaceEnablement) Encode ¶ added in v0.0.20
func (s *SpaceEnablement) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpaceEnablement) GetCrossSpaceLinks ¶ added in v0.0.20
func (s *SpaceEnablement) GetCrossSpaceLinks() OptSpaceEnablementField
GetCrossSpaceLinks returns the value of CrossSpaceLinks.
func (*SpaceEnablement) GetSpaceTemplates ¶ added in v0.0.20
func (s *SpaceEnablement) GetSpaceTemplates() OptSpaceEnablementField
GetSpaceTemplates returns the value of SpaceTemplates.
func (*SpaceEnablement) GetStudioExperiences ¶ added in v0.0.20
func (s *SpaceEnablement) GetStudioExperiences() OptSpaceEnablementField
GetStudioExperiences returns the value of StudioExperiences.
func (*SpaceEnablement) GetSuggestConcepts ¶ added in v0.0.20
func (s *SpaceEnablement) GetSuggestConcepts() OptSpaceEnablementField
GetSuggestConcepts returns the value of SuggestConcepts.
func (*SpaceEnablement) GetSys ¶ added in v0.0.20
func (s *SpaceEnablement) GetSys() SpaceEnablementSys
GetSys returns the value of Sys.
func (*SpaceEnablement) MarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablement) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpaceEnablement) SetCrossSpaceLinks ¶ added in v0.0.20
func (s *SpaceEnablement) SetCrossSpaceLinks(val OptSpaceEnablementField)
SetCrossSpaceLinks sets the value of CrossSpaceLinks.
func (*SpaceEnablement) SetSpaceTemplates ¶ added in v0.0.20
func (s *SpaceEnablement) SetSpaceTemplates(val OptSpaceEnablementField)
SetSpaceTemplates sets the value of SpaceTemplates.
func (*SpaceEnablement) SetStudioExperiences ¶ added in v0.0.20
func (s *SpaceEnablement) SetStudioExperiences(val OptSpaceEnablementField)
SetStudioExperiences sets the value of StudioExperiences.
func (*SpaceEnablement) SetSuggestConcepts ¶ added in v0.0.20
func (s *SpaceEnablement) SetSuggestConcepts(val OptSpaceEnablementField)
SetSuggestConcepts sets the value of SuggestConcepts.
func (*SpaceEnablement) SetSys ¶ added in v0.0.20
func (s *SpaceEnablement) SetSys(val SpaceEnablementSys)
SetSys sets the value of Sys.
func (*SpaceEnablement) UnmarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablement) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SpaceEnablement) Validate ¶ added in v0.0.20
func (s *SpaceEnablement) Validate() error
type SpaceEnablementData ¶ added in v0.0.42
type SpaceEnablementData struct {
CrossSpaceLinks OptSpaceEnablementField `json:"crossSpaceLinks"`
SpaceTemplates OptSpaceEnablementField `json:"spaceTemplates"`
StudioExperiences OptSpaceEnablementField `json:"studioExperiences"`
SuggestConcepts OptSpaceEnablementField `json:"suggestConcepts"`
}
Ref: #/SpaceEnablementData
func (*SpaceEnablementData) Decode ¶ added in v0.0.42
func (s *SpaceEnablementData) Decode(d *jx.Decoder) error
Decode decodes SpaceEnablementData from json.
func (*SpaceEnablementData) Encode ¶ added in v0.0.42
func (s *SpaceEnablementData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpaceEnablementData) GetCrossSpaceLinks ¶ added in v0.0.42
func (s *SpaceEnablementData) GetCrossSpaceLinks() OptSpaceEnablementField
GetCrossSpaceLinks returns the value of CrossSpaceLinks.
func (*SpaceEnablementData) GetSpaceTemplates ¶ added in v0.0.42
func (s *SpaceEnablementData) GetSpaceTemplates() OptSpaceEnablementField
GetSpaceTemplates returns the value of SpaceTemplates.
func (*SpaceEnablementData) GetStudioExperiences ¶ added in v0.0.42
func (s *SpaceEnablementData) GetStudioExperiences() OptSpaceEnablementField
GetStudioExperiences returns the value of StudioExperiences.
func (*SpaceEnablementData) GetSuggestConcepts ¶ added in v0.0.42
func (s *SpaceEnablementData) GetSuggestConcepts() OptSpaceEnablementField
GetSuggestConcepts returns the value of SuggestConcepts.
func (*SpaceEnablementData) MarshalJSON ¶ added in v0.0.42
func (s *SpaceEnablementData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpaceEnablementData) SetCrossSpaceLinks ¶ added in v0.0.42
func (s *SpaceEnablementData) SetCrossSpaceLinks(val OptSpaceEnablementField)
SetCrossSpaceLinks sets the value of CrossSpaceLinks.
func (*SpaceEnablementData) SetSpaceTemplates ¶ added in v0.0.42
func (s *SpaceEnablementData) SetSpaceTemplates(val OptSpaceEnablementField)
SetSpaceTemplates sets the value of SpaceTemplates.
func (*SpaceEnablementData) SetStudioExperiences ¶ added in v0.0.42
func (s *SpaceEnablementData) SetStudioExperiences(val OptSpaceEnablementField)
SetStudioExperiences sets the value of StudioExperiences.
func (*SpaceEnablementData) SetSuggestConcepts ¶ added in v0.0.42
func (s *SpaceEnablementData) SetSuggestConcepts(val OptSpaceEnablementField)
SetSuggestConcepts sets the value of SuggestConcepts.
func (*SpaceEnablementData) UnmarshalJSON ¶ added in v0.0.42
func (s *SpaceEnablementData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SpaceEnablementField ¶ added in v0.0.20
type SpaceEnablementField struct {
Enabled bool `json:"enabled"`
}
Ref: #/SpaceEnablementField
func (*SpaceEnablementField) Decode ¶ added in v0.0.20
func (s *SpaceEnablementField) Decode(d *jx.Decoder) error
Decode decodes SpaceEnablementField from json.
func (*SpaceEnablementField) Encode ¶ added in v0.0.20
func (s *SpaceEnablementField) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpaceEnablementField) GetEnabled ¶ added in v0.0.20
func (s *SpaceEnablementField) GetEnabled() bool
GetEnabled returns the value of Enabled.
func (*SpaceEnablementField) MarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablementField) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpaceEnablementField) SetEnabled ¶ added in v0.0.20
func (s *SpaceEnablementField) SetEnabled(val bool)
SetEnabled sets the value of Enabled.
func (*SpaceEnablementField) UnmarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablementField) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SpaceEnablementStatusCode ¶ added in v0.0.24
type SpaceEnablementStatusCode struct {
StatusCode int
Response SpaceEnablement
}
SpaceEnablementStatusCode wraps SpaceEnablement with StatusCode.
func (*SpaceEnablementStatusCode) GetResponse ¶ added in v0.0.24
func (s *SpaceEnablementStatusCode) GetResponse() SpaceEnablement
GetResponse returns the value of Response.
func (*SpaceEnablementStatusCode) GetStatusCode ¶ added in v0.0.24
func (s *SpaceEnablementStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*SpaceEnablementStatusCode) SetResponse ¶ added in v0.0.24
func (s *SpaceEnablementStatusCode) SetResponse(val SpaceEnablement)
SetResponse sets the value of Response.
func (*SpaceEnablementStatusCode) SetStatusCode ¶ added in v0.0.24
func (s *SpaceEnablementStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*SpaceEnablementStatusCode) Validate ¶ added in v0.0.24
func (s *SpaceEnablementStatusCode) Validate() error
type SpaceEnablementSys ¶ added in v0.0.20
type SpaceEnablementSys struct {
Space SpaceLink `json:"space"`
// Merged property.
Type SpaceEnablementSysType `json:"type"`
Version int `json:"version"`
}
Merged schema. Ref: #/SpaceEnablementSys
func NewSpaceEnablementSys ¶ added in v0.0.43
func NewSpaceEnablementSys(spaceID string) SpaceEnablementSys
func (*SpaceEnablementSys) Decode ¶ added in v0.0.20
func (s *SpaceEnablementSys) Decode(d *jx.Decoder) error
Decode decodes SpaceEnablementSys from json.
func (*SpaceEnablementSys) Encode ¶ added in v0.0.20
func (s *SpaceEnablementSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpaceEnablementSys) GetSpace ¶ added in v0.0.20
func (s *SpaceEnablementSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*SpaceEnablementSys) GetType ¶ added in v0.0.20
func (s *SpaceEnablementSys) GetType() SpaceEnablementSysType
GetType returns the value of Type.
func (*SpaceEnablementSys) GetVersion ¶ added in v0.0.20
func (s *SpaceEnablementSys) GetVersion() int
GetVersion returns the value of Version.
func (*SpaceEnablementSys) MarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablementSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpaceEnablementSys) SetSpace ¶ added in v0.0.20
func (s *SpaceEnablementSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*SpaceEnablementSys) SetType ¶ added in v0.0.20
func (s *SpaceEnablementSys) SetType(val SpaceEnablementSysType)
SetType sets the value of Type.
func (*SpaceEnablementSys) SetVersion ¶ added in v0.0.20
func (s *SpaceEnablementSys) SetVersion(val int)
SetVersion sets the value of Version.
func (*SpaceEnablementSys) UnmarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablementSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SpaceEnablementSys) Validate ¶ added in v0.0.20
func (s *SpaceEnablementSys) Validate() error
type SpaceEnablementSysType ¶ added in v0.0.20
type SpaceEnablementSysType string
Merged schema.
const (
SpaceEnablementSysTypeSpaceEnablement SpaceEnablementSysType = "SpaceEnablement"
)
func (SpaceEnablementSysType) AllValues ¶ added in v0.0.20
func (SpaceEnablementSysType) AllValues() []SpaceEnablementSysType
AllValues returns all SpaceEnablementSysType values.
func (*SpaceEnablementSysType) Decode ¶ added in v0.0.20
func (s *SpaceEnablementSysType) Decode(d *jx.Decoder) error
Decode decodes SpaceEnablementSysType from json.
func (SpaceEnablementSysType) Encode ¶ added in v0.0.20
func (s SpaceEnablementSysType) Encode(e *jx.Encoder)
Encode encodes SpaceEnablementSysType as json.
func (SpaceEnablementSysType) MarshalJSON ¶ added in v0.0.20
func (s SpaceEnablementSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SpaceEnablementSysType) MarshalText ¶ added in v0.0.20
func (s SpaceEnablementSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SpaceEnablementSysType) UnmarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablementSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SpaceEnablementSysType) UnmarshalText ¶ added in v0.0.20
func (s *SpaceEnablementSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SpaceEnablementSysType) Validate ¶ added in v0.0.20
func (s SpaceEnablementSysType) Validate() error
type SpaceEnvironmentMap ¶ added in v0.0.49
type SpaceEnvironmentMap[Value any] struct { // contains filtered or unexported fields }
func NewSpaceEnvironmentMap ¶ added in v0.0.49
func NewSpaceEnvironmentMap[Value any]() SpaceEnvironmentMap[Value]
func (*SpaceEnvironmentMap[Value]) Delete ¶ added in v0.0.49
func (sm *SpaceEnvironmentMap[Value]) Delete(spaceID string, environmentID string, key string)
func (*SpaceEnvironmentMap[Value]) Get ¶ added in v0.0.49
func (sm *SpaceEnvironmentMap[Value]) Get(spaceID string, environmentID string, key string) Value
func (*SpaceEnvironmentMap[Value]) List ¶ added in v0.0.49
func (sm *SpaceEnvironmentMap[Value]) List(spaceID string, environmentID string) []Value
type SpaceLink ¶ added in v0.0.18
type SpaceLink struct {
Sys SpaceLinkSys `json:"sys"`
}
Ref: #/SpaceLink
func NewSpaceLink ¶ added in v0.0.43
func (*SpaceLink) GetSys ¶ added in v0.0.18
func (s *SpaceLink) GetSys() SpaceLinkSys
GetSys returns the value of Sys.
func (*SpaceLink) MarshalJSON ¶ added in v0.0.18
MarshalJSON implements stdjson.Marshaler.
func (*SpaceLink) SetSys ¶ added in v0.0.18
func (s *SpaceLink) SetSys(val SpaceLinkSys)
SetSys sets the value of Sys.
func (*SpaceLink) UnmarshalJSON ¶ added in v0.0.18
UnmarshalJSON implements stdjson.Unmarshaler.
type SpaceLinkSys ¶ added in v0.0.18
type SpaceLinkSys struct {
// Merged property.
Type SpaceLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType SpaceLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewSpaceLinkSys ¶ added in v0.0.43
func NewSpaceLinkSys(id string) SpaceLinkSys
func (*SpaceLinkSys) Decode ¶ added in v0.0.18
func (s *SpaceLinkSys) Decode(d *jx.Decoder) error
Decode decodes SpaceLinkSys from json.
func (*SpaceLinkSys) Encode ¶ added in v0.0.18
func (s *SpaceLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpaceLinkSys) GetID ¶ added in v0.0.18
func (s *SpaceLinkSys) GetID() string
GetID returns the value of ID.
func (*SpaceLinkSys) GetLinkType ¶ added in v0.0.18
func (s *SpaceLinkSys) GetLinkType() SpaceLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*SpaceLinkSys) GetType ¶ added in v0.0.18
func (s *SpaceLinkSys) GetType() SpaceLinkSysType
GetType returns the value of Type.
func (*SpaceLinkSys) MarshalJSON ¶ added in v0.0.18
func (s *SpaceLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpaceLinkSys) SetID ¶ added in v0.0.18
func (s *SpaceLinkSys) SetID(val string)
SetID sets the value of ID.
func (*SpaceLinkSys) SetLinkType ¶ added in v0.0.18
func (s *SpaceLinkSys) SetLinkType(val SpaceLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*SpaceLinkSys) SetType ¶ added in v0.0.18
func (s *SpaceLinkSys) SetType(val SpaceLinkSysType)
SetType sets the value of Type.
func (*SpaceLinkSys) UnmarshalJSON ¶ added in v0.0.18
func (s *SpaceLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SpaceLinkSys) Validate ¶ added in v0.0.18
func (s *SpaceLinkSys) Validate() error
type SpaceLinkSysLinkType ¶ added in v0.0.18
type SpaceLinkSysLinkType string
Merged schema.
const (
SpaceLinkSysLinkTypeSpace SpaceLinkSysLinkType = "Space"
)
func (SpaceLinkSysLinkType) AllValues ¶ added in v0.0.18
func (SpaceLinkSysLinkType) AllValues() []SpaceLinkSysLinkType
AllValues returns all SpaceLinkSysLinkType values.
func (*SpaceLinkSysLinkType) Decode ¶ added in v0.0.18
func (s *SpaceLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes SpaceLinkSysLinkType from json.
func (SpaceLinkSysLinkType) Encode ¶ added in v0.0.18
func (s SpaceLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes SpaceLinkSysLinkType as json.
func (SpaceLinkSysLinkType) MarshalJSON ¶ added in v0.0.18
func (s SpaceLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SpaceLinkSysLinkType) MarshalText ¶ added in v0.0.18
func (s SpaceLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SpaceLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.18
func (s *SpaceLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SpaceLinkSysLinkType) UnmarshalText ¶ added in v0.0.18
func (s *SpaceLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SpaceLinkSysLinkType) Validate ¶ added in v0.0.18
func (s SpaceLinkSysLinkType) Validate() error
type SpaceLinkSysType ¶ added in v0.0.18
type SpaceLinkSysType string
Merged schema.
const (
SpaceLinkSysTypeLink SpaceLinkSysType = "Link"
)
func (SpaceLinkSysType) AllValues ¶ added in v0.0.18
func (SpaceLinkSysType) AllValues() []SpaceLinkSysType
AllValues returns all SpaceLinkSysType values.
func (*SpaceLinkSysType) Decode ¶ added in v0.0.18
func (s *SpaceLinkSysType) Decode(d *jx.Decoder) error
Decode decodes SpaceLinkSysType from json.
func (SpaceLinkSysType) Encode ¶ added in v0.0.18
func (s SpaceLinkSysType) Encode(e *jx.Encoder)
Encode encodes SpaceLinkSysType as json.
func (SpaceLinkSysType) MarshalJSON ¶ added in v0.0.18
func (s SpaceLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SpaceLinkSysType) MarshalText ¶ added in v0.0.18
func (s SpaceLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SpaceLinkSysType) UnmarshalJSON ¶ added in v0.0.18
func (s *SpaceLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SpaceLinkSysType) UnmarshalText ¶ added in v0.0.18
func (s *SpaceLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SpaceLinkSysType) Validate ¶ added in v0.0.18
func (s SpaceLinkSysType) Validate() error
type SpaceMap ¶ added in v0.0.49
type SpaceMap[Value any] struct { // contains filtered or unexported fields }
func NewSpaceMap ¶ added in v0.0.49
type StatusCodeResponse ¶ added in v0.0.33
type StatusCodeResponse interface {
GetStatusCode() int
}
type StatusLink ¶ added in v0.0.52
type StatusLink struct {
Sys StatusLinkSys `json:"sys"`
}
Ref: #/StatusLink
func NewStatusLink ¶ added in v0.0.52
func NewStatusLink(id string) StatusLink
func (*StatusLink) Decode ¶ added in v0.0.52
func (s *StatusLink) Decode(d *jx.Decoder) error
Decode decodes StatusLink from json.
func (*StatusLink) Encode ¶ added in v0.0.52
func (s *StatusLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StatusLink) GetSys ¶ added in v0.0.52
func (s *StatusLink) GetSys() StatusLinkSys
GetSys returns the value of Sys.
func (*StatusLink) MarshalJSON ¶ added in v0.0.52
func (s *StatusLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StatusLink) SetSys ¶ added in v0.0.52
func (s *StatusLink) SetSys(val StatusLinkSys)
SetSys sets the value of Sys.
func (*StatusLink) UnmarshalJSON ¶ added in v0.0.52
func (s *StatusLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StatusLink) Validate ¶ added in v0.0.52
func (s *StatusLink) Validate() error
type StatusLinkSys ¶ added in v0.0.52
type StatusLinkSys struct {
// Merged property.
Type StatusLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType StatusLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewStatusLinkSys ¶ added in v0.0.52
func NewStatusLinkSys(id string) StatusLinkSys
func (*StatusLinkSys) Decode ¶ added in v0.0.52
func (s *StatusLinkSys) Decode(d *jx.Decoder) error
Decode decodes StatusLinkSys from json.
func (*StatusLinkSys) Encode ¶ added in v0.0.52
func (s *StatusLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StatusLinkSys) GetID ¶ added in v0.0.52
func (s *StatusLinkSys) GetID() string
GetID returns the value of ID.
func (*StatusLinkSys) GetLinkType ¶ added in v0.0.52
func (s *StatusLinkSys) GetLinkType() StatusLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*StatusLinkSys) GetType ¶ added in v0.0.52
func (s *StatusLinkSys) GetType() StatusLinkSysType
GetType returns the value of Type.
func (*StatusLinkSys) MarshalJSON ¶ added in v0.0.52
func (s *StatusLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StatusLinkSys) SetID ¶ added in v0.0.52
func (s *StatusLinkSys) SetID(val string)
SetID sets the value of ID.
func (*StatusLinkSys) SetLinkType ¶ added in v0.0.52
func (s *StatusLinkSys) SetLinkType(val StatusLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*StatusLinkSys) SetType ¶ added in v0.0.52
func (s *StatusLinkSys) SetType(val StatusLinkSysType)
SetType sets the value of Type.
func (*StatusLinkSys) UnmarshalJSON ¶ added in v0.0.52
func (s *StatusLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StatusLinkSys) Validate ¶ added in v0.0.52
func (s *StatusLinkSys) Validate() error
type StatusLinkSysLinkType ¶ added in v0.0.52
type StatusLinkSysLinkType string
Merged schema.
const (
StatusLinkSysLinkTypeStatus StatusLinkSysLinkType = "Status"
)
func (StatusLinkSysLinkType) AllValues ¶ added in v0.0.52
func (StatusLinkSysLinkType) AllValues() []StatusLinkSysLinkType
AllValues returns all StatusLinkSysLinkType values.
func (*StatusLinkSysLinkType) Decode ¶ added in v0.0.52
func (s *StatusLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes StatusLinkSysLinkType from json.
func (StatusLinkSysLinkType) Encode ¶ added in v0.0.52
func (s StatusLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes StatusLinkSysLinkType as json.
func (StatusLinkSysLinkType) MarshalJSON ¶ added in v0.0.52
func (s StatusLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (StatusLinkSysLinkType) MarshalText ¶ added in v0.0.52
func (s StatusLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*StatusLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.52
func (s *StatusLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StatusLinkSysLinkType) UnmarshalText ¶ added in v0.0.52
func (s *StatusLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (StatusLinkSysLinkType) Validate ¶ added in v0.0.52
func (s StatusLinkSysLinkType) Validate() error
type StatusLinkSysType ¶ added in v0.0.52
type StatusLinkSysType string
Merged schema.
const (
StatusLinkSysTypeLink StatusLinkSysType = "Link"
)
func (StatusLinkSysType) AllValues ¶ added in v0.0.52
func (StatusLinkSysType) AllValues() []StatusLinkSysType
AllValues returns all StatusLinkSysType values.
func (*StatusLinkSysType) Decode ¶ added in v0.0.52
func (s *StatusLinkSysType) Decode(d *jx.Decoder) error
Decode decodes StatusLinkSysType from json.
func (StatusLinkSysType) Encode ¶ added in v0.0.52
func (s StatusLinkSysType) Encode(e *jx.Encoder)
Encode encodes StatusLinkSysType as json.
func (StatusLinkSysType) MarshalJSON ¶ added in v0.0.52
func (s StatusLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (StatusLinkSysType) MarshalText ¶ added in v0.0.52
func (s StatusLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*StatusLinkSysType) UnmarshalJSON ¶ added in v0.0.52
func (s *StatusLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StatusLinkSysType) UnmarshalText ¶ added in v0.0.52
func (s *StatusLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (StatusLinkSysType) Validate ¶ added in v0.0.52
func (s StatusLinkSysType) Validate() error
type Tag ¶ added in v0.0.50
type Tag struct {
Sys TagSys `json:"sys"`
// Human readable name for the tag.
Name string `json:"name"`
}
Merged schema. Ref: #/Tag
func (*Tag) MarshalJSON ¶ added in v0.0.50
MarshalJSON implements stdjson.Marshaler.
func (*Tag) UnmarshalJSON ¶ added in v0.0.50
UnmarshalJSON implements stdjson.Unmarshaler.
type TagLink ¶ added in v0.0.40
type TagLink struct {
Sys TagLinkSys `json:"sys"`
}
Ref: #/TagLink
func NewTagLink ¶ added in v0.0.43
func (*TagLink) GetSys ¶ added in v0.0.40
func (s *TagLink) GetSys() TagLinkSys
GetSys returns the value of Sys.
func (*TagLink) MarshalJSON ¶ added in v0.0.40
MarshalJSON implements stdjson.Marshaler.
func (*TagLink) SetSys ¶ added in v0.0.40
func (s *TagLink) SetSys(val TagLinkSys)
SetSys sets the value of Sys.
func (*TagLink) UnmarshalJSON ¶ added in v0.0.40
UnmarshalJSON implements stdjson.Unmarshaler.
type TagLinkSys ¶ added in v0.0.40
type TagLinkSys struct {
// Merged property.
Type TagLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType TagLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewTagLinkSys ¶ added in v0.0.43
func NewTagLinkSys(id string) TagLinkSys
func (*TagLinkSys) Decode ¶ added in v0.0.40
func (s *TagLinkSys) Decode(d *jx.Decoder) error
Decode decodes TagLinkSys from json.
func (*TagLinkSys) Encode ¶ added in v0.0.40
func (s *TagLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TagLinkSys) GetID ¶ added in v0.0.40
func (s *TagLinkSys) GetID() string
GetID returns the value of ID.
func (*TagLinkSys) GetLinkType ¶ added in v0.0.40
func (s *TagLinkSys) GetLinkType() TagLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*TagLinkSys) GetType ¶ added in v0.0.40
func (s *TagLinkSys) GetType() TagLinkSysType
GetType returns the value of Type.
func (*TagLinkSys) MarshalJSON ¶ added in v0.0.40
func (s *TagLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TagLinkSys) SetID ¶ added in v0.0.40
func (s *TagLinkSys) SetID(val string)
SetID sets the value of ID.
func (*TagLinkSys) SetLinkType ¶ added in v0.0.40
func (s *TagLinkSys) SetLinkType(val TagLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*TagLinkSys) SetType ¶ added in v0.0.40
func (s *TagLinkSys) SetType(val TagLinkSysType)
SetType sets the value of Type.
func (*TagLinkSys) UnmarshalJSON ¶ added in v0.0.40
func (s *TagLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TagLinkSys) Validate ¶ added in v0.0.40
func (s *TagLinkSys) Validate() error
type TagLinkSysLinkType ¶ added in v0.0.40
type TagLinkSysLinkType string
Merged schema.
const (
TagLinkSysLinkTypeTag TagLinkSysLinkType = "Tag"
)
func (TagLinkSysLinkType) AllValues ¶ added in v0.0.40
func (TagLinkSysLinkType) AllValues() []TagLinkSysLinkType
AllValues returns all TagLinkSysLinkType values.
func (*TagLinkSysLinkType) Decode ¶ added in v0.0.40
func (s *TagLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes TagLinkSysLinkType from json.
func (TagLinkSysLinkType) Encode ¶ added in v0.0.40
func (s TagLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes TagLinkSysLinkType as json.
func (TagLinkSysLinkType) MarshalJSON ¶ added in v0.0.40
func (s TagLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TagLinkSysLinkType) MarshalText ¶ added in v0.0.40
func (s TagLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TagLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.40
func (s *TagLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TagLinkSysLinkType) UnmarshalText ¶ added in v0.0.40
func (s *TagLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TagLinkSysLinkType) Validate ¶ added in v0.0.40
func (s TagLinkSysLinkType) Validate() error
type TagLinkSysType ¶ added in v0.0.40
type TagLinkSysType string
Merged schema.
const (
TagLinkSysTypeLink TagLinkSysType = "Link"
)
func (TagLinkSysType) AllValues ¶ added in v0.0.40
func (TagLinkSysType) AllValues() []TagLinkSysType
AllValues returns all TagLinkSysType values.
func (*TagLinkSysType) Decode ¶ added in v0.0.40
func (s *TagLinkSysType) Decode(d *jx.Decoder) error
Decode decodes TagLinkSysType from json.
func (TagLinkSysType) Encode ¶ added in v0.0.40
func (s TagLinkSysType) Encode(e *jx.Encoder)
Encode encodes TagLinkSysType as json.
func (TagLinkSysType) MarshalJSON ¶ added in v0.0.40
func (s TagLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TagLinkSysType) MarshalText ¶ added in v0.0.40
func (s TagLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TagLinkSysType) UnmarshalJSON ¶ added in v0.0.40
func (s *TagLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TagLinkSysType) UnmarshalText ¶ added in v0.0.40
func (s *TagLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TagLinkSysType) Validate ¶ added in v0.0.40
func (s TagLinkSysType) Validate() error
type TagRequest ¶ added in v0.0.50
type TagRequest struct {
Sys TagRequestSys `json:"sys"`
// Human readable name for the tag.
Name string `json:"name"`
}
Merged schema. Ref: #/TagRequest
func (*TagRequest) Decode ¶ added in v0.0.50
func (s *TagRequest) Decode(d *jx.Decoder) error
Decode decodes TagRequest from json.
func (*TagRequest) Encode ¶ added in v0.0.50
func (s *TagRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TagRequest) GetName ¶ added in v0.0.50
func (s *TagRequest) GetName() string
GetName returns the value of Name.
func (*TagRequest) GetSys ¶ added in v0.0.50
func (s *TagRequest) GetSys() TagRequestSys
GetSys returns the value of Sys.
func (*TagRequest) MarshalJSON ¶ added in v0.0.50
func (s *TagRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TagRequest) SetName ¶ added in v0.0.50
func (s *TagRequest) SetName(val string)
SetName sets the value of Name.
func (*TagRequest) SetSys ¶ added in v0.0.50
func (s *TagRequest) SetSys(val TagRequestSys)
SetSys sets the value of Sys.
func (*TagRequest) UnmarshalJSON ¶ added in v0.0.50
func (s *TagRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TagRequest) Validate ¶ added in v0.0.50
func (s *TagRequest) Validate() error
type TagRequestSys ¶ added in v0.0.50
type TagRequestSys struct {
// Merged property.
Type TagRequestSysType `json:"type"`
ID OptString `json:"id"`
Visibility OptString `json:"visibility"`
}
Merged schema. Ref: #/TagRequestSys
func (*TagRequestSys) Decode ¶ added in v0.0.50
func (s *TagRequestSys) Decode(d *jx.Decoder) error
Decode decodes TagRequestSys from json.
func (*TagRequestSys) Encode ¶ added in v0.0.50
func (s *TagRequestSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TagRequestSys) GetID ¶ added in v0.0.50
func (s *TagRequestSys) GetID() OptString
GetID returns the value of ID.
func (*TagRequestSys) GetType ¶ added in v0.0.50
func (s *TagRequestSys) GetType() TagRequestSysType
GetType returns the value of Type.
func (*TagRequestSys) GetVisibility ¶ added in v0.0.50
func (s *TagRequestSys) GetVisibility() OptString
GetVisibility returns the value of Visibility.
func (*TagRequestSys) MarshalJSON ¶ added in v0.0.50
func (s *TagRequestSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TagRequestSys) SetID ¶ added in v0.0.50
func (s *TagRequestSys) SetID(val OptString)
SetID sets the value of ID.
func (*TagRequestSys) SetType ¶ added in v0.0.50
func (s *TagRequestSys) SetType(val TagRequestSysType)
SetType sets the value of Type.
func (*TagRequestSys) SetVisibility ¶ added in v0.0.50
func (s *TagRequestSys) SetVisibility(val OptString)
SetVisibility sets the value of Visibility.
func (*TagRequestSys) UnmarshalJSON ¶ added in v0.0.50
func (s *TagRequestSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TagRequestSys) Validate ¶ added in v0.0.50
func (s *TagRequestSys) Validate() error
type TagRequestSysType ¶ added in v0.0.50
type TagRequestSysType string
Merged schema.
const (
TagRequestSysTypeTag TagRequestSysType = "Tag"
)
func (TagRequestSysType) AllValues ¶ added in v0.0.50
func (TagRequestSysType) AllValues() []TagRequestSysType
AllValues returns all TagRequestSysType values.
func (*TagRequestSysType) Decode ¶ added in v0.0.50
func (s *TagRequestSysType) Decode(d *jx.Decoder) error
Decode decodes TagRequestSysType from json.
func (TagRequestSysType) Encode ¶ added in v0.0.50
func (s TagRequestSysType) Encode(e *jx.Encoder)
Encode encodes TagRequestSysType as json.
func (TagRequestSysType) MarshalJSON ¶ added in v0.0.50
func (s TagRequestSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TagRequestSysType) MarshalText ¶ added in v0.0.50
func (s TagRequestSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TagRequestSysType) UnmarshalJSON ¶ added in v0.0.50
func (s *TagRequestSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TagRequestSysType) UnmarshalText ¶ added in v0.0.50
func (s *TagRequestSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TagRequestSysType) Validate ¶ added in v0.0.50
func (s TagRequestSysType) Validate() error
type TagStatusCode ¶ added in v0.0.50
TagStatusCode wraps Tag with StatusCode.
func (*TagStatusCode) GetResponse ¶ added in v0.0.50
func (s *TagStatusCode) GetResponse() Tag
GetResponse returns the value of Response.
func (*TagStatusCode) GetStatusCode ¶ added in v0.0.50
func (s *TagStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*TagStatusCode) SetResponse ¶ added in v0.0.50
func (s *TagStatusCode) SetResponse(val Tag)
SetResponse sets the value of Response.
func (*TagStatusCode) SetStatusCode ¶ added in v0.0.50
func (s *TagStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*TagStatusCode) Validate ¶ added in v0.0.50
func (s *TagStatusCode) Validate() error
type TagSys ¶ added in v0.0.50
type TagSys struct {
Space SpaceLink `json:"space"`
Environment EnvironmentLink `json:"environment"`
// Merged property.
Type TagSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
Visibility string `json:"visibility"`
}
Merged schema. Ref: #/TagSys
func (*TagSys) GetEnvironment ¶ added in v0.0.50
func (s *TagSys) GetEnvironment() EnvironmentLink
GetEnvironment returns the value of Environment.
func (*TagSys) GetType ¶ added in v0.0.50
func (s *TagSys) GetType() TagSysType
GetType returns the value of Type.
func (*TagSys) GetVersion ¶ added in v0.0.50
GetVersion returns the value of Version.
func (*TagSys) GetVisibility ¶ added in v0.0.50
GetVisibility returns the value of Visibility.
func (*TagSys) MarshalJSON ¶ added in v0.0.50
MarshalJSON implements stdjson.Marshaler.
func (*TagSys) SetEnvironment ¶ added in v0.0.50
func (s *TagSys) SetEnvironment(val EnvironmentLink)
SetEnvironment sets the value of Environment.
func (*TagSys) SetType ¶ added in v0.0.50
func (s *TagSys) SetType(val TagSysType)
SetType sets the value of Type.
func (*TagSys) SetVersion ¶ added in v0.0.50
SetVersion sets the value of Version.
func (*TagSys) SetVisibility ¶ added in v0.0.50
SetVisibility sets the value of Visibility.
func (*TagSys) UnmarshalJSON ¶ added in v0.0.50
UnmarshalJSON implements stdjson.Unmarshaler.
type TagSysType ¶ added in v0.0.50
type TagSysType string
Merged schema.
const (
TagSysTypeTag TagSysType = "Tag"
)
func (TagSysType) AllValues ¶ added in v0.0.50
func (TagSysType) AllValues() []TagSysType
AllValues returns all TagSysType values.
func (*TagSysType) Decode ¶ added in v0.0.50
func (s *TagSysType) Decode(d *jx.Decoder) error
Decode decodes TagSysType from json.
func (TagSysType) Encode ¶ added in v0.0.50
func (s TagSysType) Encode(e *jx.Encoder)
Encode encodes TagSysType as json.
func (TagSysType) MarshalJSON ¶ added in v0.0.50
func (s TagSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TagSysType) MarshalText ¶ added in v0.0.50
func (s TagSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TagSysType) UnmarshalJSON ¶ added in v0.0.50
func (s *TagSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TagSysType) UnmarshalText ¶ added in v0.0.50
func (s *TagSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TagSysType) Validate ¶ added in v0.0.50
func (s TagSysType) Validate() error
type TaxonomyConceptLink ¶ added in v0.0.46
type TaxonomyConceptLink struct {
Sys TaxonomyConceptLinkSys `json:"sys"`
}
Ref: #/TaxonomyConceptLink
func NewTaxonomyConceptLink ¶ added in v0.0.46
func NewTaxonomyConceptLink(id string) TaxonomyConceptLink
func (*TaxonomyConceptLink) Decode ¶ added in v0.0.46
func (s *TaxonomyConceptLink) Decode(d *jx.Decoder) error
Decode decodes TaxonomyConceptLink from json.
func (*TaxonomyConceptLink) Encode ¶ added in v0.0.46
func (s *TaxonomyConceptLink) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TaxonomyConceptLink) GetSys ¶ added in v0.0.46
func (s *TaxonomyConceptLink) GetSys() TaxonomyConceptLinkSys
GetSys returns the value of Sys.
func (*TaxonomyConceptLink) MarshalJSON ¶ added in v0.0.46
func (s *TaxonomyConceptLink) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TaxonomyConceptLink) SetSys ¶ added in v0.0.46
func (s *TaxonomyConceptLink) SetSys(val TaxonomyConceptLinkSys)
SetSys sets the value of Sys.
func (*TaxonomyConceptLink) UnmarshalJSON ¶ added in v0.0.46
func (s *TaxonomyConceptLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaxonomyConceptLink) Validate ¶ added in v0.0.46
func (s *TaxonomyConceptLink) Validate() error
type TaxonomyConceptLinkSys ¶ added in v0.0.46
type TaxonomyConceptLinkSys struct {
// Merged property.
Type TaxonomyConceptLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType TaxonomyConceptLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewTaxonomyConceptLinkSys ¶ added in v0.0.46
func NewTaxonomyConceptLinkSys(id string) TaxonomyConceptLinkSys
func (*TaxonomyConceptLinkSys) Decode ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) Decode(d *jx.Decoder) error
Decode decodes TaxonomyConceptLinkSys from json.
func (*TaxonomyConceptLinkSys) Encode ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TaxonomyConceptLinkSys) GetID ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) GetID() string
GetID returns the value of ID.
func (*TaxonomyConceptLinkSys) GetLinkType ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) GetLinkType() TaxonomyConceptLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*TaxonomyConceptLinkSys) GetType ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) GetType() TaxonomyConceptLinkSysType
GetType returns the value of Type.
func (*TaxonomyConceptLinkSys) MarshalJSON ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TaxonomyConceptLinkSys) SetID ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) SetID(val string)
SetID sets the value of ID.
func (*TaxonomyConceptLinkSys) SetLinkType ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) SetLinkType(val TaxonomyConceptLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*TaxonomyConceptLinkSys) SetType ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) SetType(val TaxonomyConceptLinkSysType)
SetType sets the value of Type.
func (*TaxonomyConceptLinkSys) UnmarshalJSON ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaxonomyConceptLinkSys) Validate ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSys) Validate() error
type TaxonomyConceptLinkSysLinkType ¶ added in v0.0.46
type TaxonomyConceptLinkSysLinkType string
Merged schema.
const (
TaxonomyConceptLinkSysLinkTypeTaxonomyConcept TaxonomyConceptLinkSysLinkType = "TaxonomyConcept"
)
func (TaxonomyConceptLinkSysLinkType) AllValues ¶ added in v0.0.46
func (TaxonomyConceptLinkSysLinkType) AllValues() []TaxonomyConceptLinkSysLinkType
AllValues returns all TaxonomyConceptLinkSysLinkType values.
func (*TaxonomyConceptLinkSysLinkType) Decode ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes TaxonomyConceptLinkSysLinkType from json.
func (TaxonomyConceptLinkSysLinkType) Encode ¶ added in v0.0.46
func (s TaxonomyConceptLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes TaxonomyConceptLinkSysLinkType as json.
func (TaxonomyConceptLinkSysLinkType) MarshalJSON ¶ added in v0.0.46
func (s TaxonomyConceptLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TaxonomyConceptLinkSysLinkType) MarshalText ¶ added in v0.0.46
func (s TaxonomyConceptLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TaxonomyConceptLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaxonomyConceptLinkSysLinkType) UnmarshalText ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TaxonomyConceptLinkSysLinkType) Validate ¶ added in v0.0.46
func (s TaxonomyConceptLinkSysLinkType) Validate() error
type TaxonomyConceptLinkSysType ¶ added in v0.0.46
type TaxonomyConceptLinkSysType string
Merged schema.
const (
TaxonomyConceptLinkSysTypeLink TaxonomyConceptLinkSysType = "Link"
)
func (TaxonomyConceptLinkSysType) AllValues ¶ added in v0.0.46
func (TaxonomyConceptLinkSysType) AllValues() []TaxonomyConceptLinkSysType
AllValues returns all TaxonomyConceptLinkSysType values.
func (*TaxonomyConceptLinkSysType) Decode ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSysType) Decode(d *jx.Decoder) error
Decode decodes TaxonomyConceptLinkSysType from json.
func (TaxonomyConceptLinkSysType) Encode ¶ added in v0.0.46
func (s TaxonomyConceptLinkSysType) Encode(e *jx.Encoder)
Encode encodes TaxonomyConceptLinkSysType as json.
func (TaxonomyConceptLinkSysType) MarshalJSON ¶ added in v0.0.46
func (s TaxonomyConceptLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TaxonomyConceptLinkSysType) MarshalText ¶ added in v0.0.46
func (s TaxonomyConceptLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TaxonomyConceptLinkSysType) UnmarshalJSON ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaxonomyConceptLinkSysType) UnmarshalText ¶ added in v0.0.46
func (s *TaxonomyConceptLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TaxonomyConceptLinkSysType) Validate ¶ added in v0.0.46
func (s TaxonomyConceptLinkSysType) Validate() error
type Team ¶ added in v0.0.43
type Team struct {
Sys TeamSys `json:"sys"`
Name string `json:"name"`
Description NilString `json:"description"`
}
Merged schema. Ref: #/Team
func (*Team) GetDescription ¶ added in v0.0.43
GetDescription returns the value of Description.
func (*Team) MarshalJSON ¶ added in v0.0.43
MarshalJSON implements stdjson.Marshaler.
func (*Team) SetDescription ¶ added in v0.0.43
SetDescription sets the value of Description.
func (*Team) UnmarshalJSON ¶ added in v0.0.43
UnmarshalJSON implements stdjson.Unmarshaler.
type TeamData ¶ added in v0.0.43
Ref: #/TeamData
func (*TeamData) GetDescription ¶ added in v0.0.43
GetDescription returns the value of Description.
func (*TeamData) MarshalJSON ¶ added in v0.0.43
MarshalJSON implements stdjson.Marshaler.
func (*TeamData) SetDescription ¶ added in v0.0.43
SetDescription sets the value of Description.
func (*TeamData) UnmarshalJSON ¶ added in v0.0.43
UnmarshalJSON implements stdjson.Unmarshaler.
type TeamLink ¶ added in v0.0.43
type TeamLink struct {
Sys TeamLinkSys `json:"sys"`
}
Ref: #/TeamLink
func NewTeamLink ¶ added in v0.0.43
func (*TeamLink) GetSys ¶ added in v0.0.43
func (s *TeamLink) GetSys() TeamLinkSys
GetSys returns the value of Sys.
func (*TeamLink) MarshalJSON ¶ added in v0.0.43
MarshalJSON implements stdjson.Marshaler.
func (*TeamLink) SetSys ¶ added in v0.0.43
func (s *TeamLink) SetSys(val TeamLinkSys)
SetSys sets the value of Sys.
func (*TeamLink) UnmarshalJSON ¶ added in v0.0.43
UnmarshalJSON implements stdjson.Unmarshaler.
type TeamLinkSys ¶ added in v0.0.43
type TeamLinkSys struct {
// Merged property.
Type TeamLinkSysType `json:"type"`
ID string `json:"id"`
// Merged property.
LinkType TeamLinkSysLinkType `json:"linkType"`
}
Merged schema.
func NewTeamLinkSys ¶ added in v0.0.43
func NewTeamLinkSys(id string) TeamLinkSys
func (*TeamLinkSys) Decode ¶ added in v0.0.43
func (s *TeamLinkSys) Decode(d *jx.Decoder) error
Decode decodes TeamLinkSys from json.
func (*TeamLinkSys) Encode ¶ added in v0.0.43
func (s *TeamLinkSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TeamLinkSys) GetID ¶ added in v0.0.43
func (s *TeamLinkSys) GetID() string
GetID returns the value of ID.
func (*TeamLinkSys) GetLinkType ¶ added in v0.0.43
func (s *TeamLinkSys) GetLinkType() TeamLinkSysLinkType
GetLinkType returns the value of LinkType.
func (*TeamLinkSys) GetType ¶ added in v0.0.43
func (s *TeamLinkSys) GetType() TeamLinkSysType
GetType returns the value of Type.
func (*TeamLinkSys) MarshalJSON ¶ added in v0.0.43
func (s *TeamLinkSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TeamLinkSys) SetID ¶ added in v0.0.43
func (s *TeamLinkSys) SetID(val string)
SetID sets the value of ID.
func (*TeamLinkSys) SetLinkType ¶ added in v0.0.43
func (s *TeamLinkSys) SetLinkType(val TeamLinkSysLinkType)
SetLinkType sets the value of LinkType.
func (*TeamLinkSys) SetType ¶ added in v0.0.43
func (s *TeamLinkSys) SetType(val TeamLinkSysType)
SetType sets the value of Type.
func (*TeamLinkSys) UnmarshalJSON ¶ added in v0.0.43
func (s *TeamLinkSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TeamLinkSys) Validate ¶ added in v0.0.43
func (s *TeamLinkSys) Validate() error
type TeamLinkSysLinkType ¶ added in v0.0.43
type TeamLinkSysLinkType string
Merged schema.
const (
TeamLinkSysLinkTypeTeam TeamLinkSysLinkType = "Team"
)
func (TeamLinkSysLinkType) AllValues ¶ added in v0.0.43
func (TeamLinkSysLinkType) AllValues() []TeamLinkSysLinkType
AllValues returns all TeamLinkSysLinkType values.
func (*TeamLinkSysLinkType) Decode ¶ added in v0.0.43
func (s *TeamLinkSysLinkType) Decode(d *jx.Decoder) error
Decode decodes TeamLinkSysLinkType from json.
func (TeamLinkSysLinkType) Encode ¶ added in v0.0.43
func (s TeamLinkSysLinkType) Encode(e *jx.Encoder)
Encode encodes TeamLinkSysLinkType as json.
func (TeamLinkSysLinkType) MarshalJSON ¶ added in v0.0.43
func (s TeamLinkSysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TeamLinkSysLinkType) MarshalText ¶ added in v0.0.43
func (s TeamLinkSysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TeamLinkSysLinkType) UnmarshalJSON ¶ added in v0.0.43
func (s *TeamLinkSysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TeamLinkSysLinkType) UnmarshalText ¶ added in v0.0.43
func (s *TeamLinkSysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TeamLinkSysLinkType) Validate ¶ added in v0.0.43
func (s TeamLinkSysLinkType) Validate() error
type TeamLinkSysType ¶ added in v0.0.43
type TeamLinkSysType string
Merged schema.
const (
TeamLinkSysTypeLink TeamLinkSysType = "Link"
)
func (TeamLinkSysType) AllValues ¶ added in v0.0.43
func (TeamLinkSysType) AllValues() []TeamLinkSysType
AllValues returns all TeamLinkSysType values.
func (*TeamLinkSysType) Decode ¶ added in v0.0.43
func (s *TeamLinkSysType) Decode(d *jx.Decoder) error
Decode decodes TeamLinkSysType from json.
func (TeamLinkSysType) Encode ¶ added in v0.0.43
func (s TeamLinkSysType) Encode(e *jx.Encoder)
Encode encodes TeamLinkSysType as json.
func (TeamLinkSysType) MarshalJSON ¶ added in v0.0.43
func (s TeamLinkSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TeamLinkSysType) MarshalText ¶ added in v0.0.43
func (s TeamLinkSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TeamLinkSysType) UnmarshalJSON ¶ added in v0.0.43
func (s *TeamLinkSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TeamLinkSysType) UnmarshalText ¶ added in v0.0.43
func (s *TeamLinkSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TeamLinkSysType) Validate ¶ added in v0.0.43
func (s TeamLinkSysType) Validate() error
type TeamSpaceMembership ¶ added in v0.0.43
type TeamSpaceMembership struct {
Sys TeamSpaceMembershipSys `json:"sys"`
Admin bool `json:"admin"`
Roles []RoleLink `json:"roles"`
}
Merged schema. Ref: #/TeamSpaceMembership
func (*TeamSpaceMembership) Decode ¶ added in v0.0.43
func (s *TeamSpaceMembership) Decode(d *jx.Decoder) error
Decode decodes TeamSpaceMembership from json.
func (*TeamSpaceMembership) Encode ¶ added in v0.0.43
func (s *TeamSpaceMembership) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TeamSpaceMembership) GetAdmin ¶ added in v0.0.43
func (s *TeamSpaceMembership) GetAdmin() bool
GetAdmin returns the value of Admin.
func (*TeamSpaceMembership) GetRoles ¶ added in v0.0.43
func (s *TeamSpaceMembership) GetRoles() []RoleLink
GetRoles returns the value of Roles.
func (*TeamSpaceMembership) GetSys ¶ added in v0.0.43
func (s *TeamSpaceMembership) GetSys() TeamSpaceMembershipSys
GetSys returns the value of Sys.
func (*TeamSpaceMembership) MarshalJSON ¶ added in v0.0.43
func (s *TeamSpaceMembership) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TeamSpaceMembership) SetAdmin ¶ added in v0.0.43
func (s *TeamSpaceMembership) SetAdmin(val bool)
SetAdmin sets the value of Admin.
func (*TeamSpaceMembership) SetRoles ¶ added in v0.0.43
func (s *TeamSpaceMembership) SetRoles(val []RoleLink)
SetRoles sets the value of Roles.
func (*TeamSpaceMembership) SetSys ¶ added in v0.0.43
func (s *TeamSpaceMembership) SetSys(val TeamSpaceMembershipSys)
SetSys sets the value of Sys.
func (*TeamSpaceMembership) UnmarshalJSON ¶ added in v0.0.43
func (s *TeamSpaceMembership) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TeamSpaceMembership) Validate ¶ added in v0.0.43
func (s *TeamSpaceMembership) Validate() error
type TeamSpaceMembershipData ¶ added in v0.0.43
Ref: #/TeamSpaceMembershipData
func (*TeamSpaceMembershipData) Decode ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) Decode(d *jx.Decoder) error
Decode decodes TeamSpaceMembershipData from json.
func (*TeamSpaceMembershipData) Encode ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TeamSpaceMembershipData) GetAdmin ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) GetAdmin() bool
GetAdmin returns the value of Admin.
func (*TeamSpaceMembershipData) GetRoles ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) GetRoles() []RoleLink
GetRoles returns the value of Roles.
func (*TeamSpaceMembershipData) MarshalJSON ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TeamSpaceMembershipData) SetAdmin ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) SetAdmin(val bool)
SetAdmin sets the value of Admin.
func (*TeamSpaceMembershipData) SetRoles ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) SetRoles(val []RoleLink)
SetRoles sets the value of Roles.
func (*TeamSpaceMembershipData) UnmarshalJSON ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TeamSpaceMembershipData) Validate ¶ added in v0.0.43
func (s *TeamSpaceMembershipData) Validate() error
type TeamSpaceMembershipStatusCode ¶ added in v0.0.43
type TeamSpaceMembershipStatusCode struct {
StatusCode int
Response TeamSpaceMembership
}
TeamSpaceMembershipStatusCode wraps TeamSpaceMembership with StatusCode.
func (*TeamSpaceMembershipStatusCode) GetResponse ¶ added in v0.0.43
func (s *TeamSpaceMembershipStatusCode) GetResponse() TeamSpaceMembership
GetResponse returns the value of Response.
func (*TeamSpaceMembershipStatusCode) GetStatusCode ¶ added in v0.0.43
func (s *TeamSpaceMembershipStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*TeamSpaceMembershipStatusCode) SetResponse ¶ added in v0.0.43
func (s *TeamSpaceMembershipStatusCode) SetResponse(val TeamSpaceMembership)
SetResponse sets the value of Response.
func (*TeamSpaceMembershipStatusCode) SetStatusCode ¶ added in v0.0.43
func (s *TeamSpaceMembershipStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*TeamSpaceMembershipStatusCode) Validate ¶ added in v0.0.43
func (s *TeamSpaceMembershipStatusCode) Validate() error
type TeamSpaceMembershipSys ¶ added in v0.0.43
type TeamSpaceMembershipSys struct {
Space SpaceLink `json:"space"`
// Merged property.
Type TeamSpaceMembershipSysType `json:"type"`
ID string `json:"id"`
Team TeamLink `json:"team"`
}
Merged schema. Ref: #/TeamSpaceMembershipSys
func NewTeamSpaceMembershipSys ¶ added in v0.0.43
func NewTeamSpaceMembershipSys(spaceID, teamSpaceMembershipID, teamID string) TeamSpaceMembershipSys
func (*TeamSpaceMembershipSys) Decode ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) Decode(d *jx.Decoder) error
Decode decodes TeamSpaceMembershipSys from json.
func (*TeamSpaceMembershipSys) Encode ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TeamSpaceMembershipSys) GetID ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) GetID() string
GetID returns the value of ID.
func (*TeamSpaceMembershipSys) GetSpace ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*TeamSpaceMembershipSys) GetTeam ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) GetTeam() TeamLink
GetTeam returns the value of Team.
func (*TeamSpaceMembershipSys) GetType ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) GetType() TeamSpaceMembershipSysType
GetType returns the value of Type.
func (*TeamSpaceMembershipSys) MarshalJSON ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TeamSpaceMembershipSys) SetID ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) SetID(val string)
SetID sets the value of ID.
func (*TeamSpaceMembershipSys) SetSpace ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*TeamSpaceMembershipSys) SetTeam ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) SetTeam(val TeamLink)
SetTeam sets the value of Team.
func (*TeamSpaceMembershipSys) SetType ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) SetType(val TeamSpaceMembershipSysType)
SetType sets the value of Type.
func (*TeamSpaceMembershipSys) UnmarshalJSON ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TeamSpaceMembershipSys) Validate ¶ added in v0.0.43
func (s *TeamSpaceMembershipSys) Validate() error
type TeamSpaceMembershipSysType ¶ added in v0.0.43
type TeamSpaceMembershipSysType string
Merged schema.
const (
TeamSpaceMembershipSysTypeTeamSpaceMembership TeamSpaceMembershipSysType = "TeamSpaceMembership"
)
func (TeamSpaceMembershipSysType) AllValues ¶ added in v0.0.43
func (TeamSpaceMembershipSysType) AllValues() []TeamSpaceMembershipSysType
AllValues returns all TeamSpaceMembershipSysType values.
func (*TeamSpaceMembershipSysType) Decode ¶ added in v0.0.43
func (s *TeamSpaceMembershipSysType) Decode(d *jx.Decoder) error
Decode decodes TeamSpaceMembershipSysType from json.
func (TeamSpaceMembershipSysType) Encode ¶ added in v0.0.43
func (s TeamSpaceMembershipSysType) Encode(e *jx.Encoder)
Encode encodes TeamSpaceMembershipSysType as json.
func (TeamSpaceMembershipSysType) MarshalJSON ¶ added in v0.0.43
func (s TeamSpaceMembershipSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TeamSpaceMembershipSysType) MarshalText ¶ added in v0.0.43
func (s TeamSpaceMembershipSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TeamSpaceMembershipSysType) UnmarshalJSON ¶ added in v0.0.43
func (s *TeamSpaceMembershipSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TeamSpaceMembershipSysType) UnmarshalText ¶ added in v0.0.43
func (s *TeamSpaceMembershipSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TeamSpaceMembershipSysType) Validate ¶ added in v0.0.43
func (s TeamSpaceMembershipSysType) Validate() error
type TeamStatusCode ¶ added in v0.0.43
TeamStatusCode wraps Team with StatusCode.
func (*TeamStatusCode) GetResponse ¶ added in v0.0.43
func (s *TeamStatusCode) GetResponse() Team
GetResponse returns the value of Response.
func (*TeamStatusCode) GetStatusCode ¶ added in v0.0.43
func (s *TeamStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*TeamStatusCode) SetResponse ¶ added in v0.0.43
func (s *TeamStatusCode) SetResponse(val Team)
SetResponse sets the value of Response.
func (*TeamStatusCode) SetStatusCode ¶ added in v0.0.43
func (s *TeamStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*TeamStatusCode) Validate ¶ added in v0.0.43
func (s *TeamStatusCode) Validate() error
type TeamSys ¶ added in v0.0.43
type TeamSys struct {
Organization OrganizationLink `json:"organization"`
// Merged property.
Type TeamSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
}
Merged schema. Ref: #/TeamSys
func NewTeamSys ¶ added in v0.0.43
func (*TeamSys) GetOrganization ¶ added in v0.0.43
func (s *TeamSys) GetOrganization() OrganizationLink
GetOrganization returns the value of Organization.
func (*TeamSys) GetType ¶ added in v0.0.43
func (s *TeamSys) GetType() TeamSysType
GetType returns the value of Type.
func (*TeamSys) GetVersion ¶ added in v0.0.43
GetVersion returns the value of Version.
func (*TeamSys) MarshalJSON ¶ added in v0.0.43
MarshalJSON implements stdjson.Marshaler.
func (*TeamSys) SetOrganization ¶ added in v0.0.43
func (s *TeamSys) SetOrganization(val OrganizationLink)
SetOrganization sets the value of Organization.
func (*TeamSys) SetType ¶ added in v0.0.43
func (s *TeamSys) SetType(val TeamSysType)
SetType sets the value of Type.
func (*TeamSys) SetVersion ¶ added in v0.0.43
SetVersion sets the value of Version.
func (*TeamSys) UnmarshalJSON ¶ added in v0.0.43
UnmarshalJSON implements stdjson.Unmarshaler.
type TeamSysType ¶ added in v0.0.43
type TeamSysType string
Merged schema.
const (
TeamSysTypeTeam TeamSysType = "Team"
)
func (TeamSysType) AllValues ¶ added in v0.0.43
func (TeamSysType) AllValues() []TeamSysType
AllValues returns all TeamSysType values.
func (*TeamSysType) Decode ¶ added in v0.0.43
func (s *TeamSysType) Decode(d *jx.Decoder) error
Decode decodes TeamSysType from json.
func (TeamSysType) Encode ¶ added in v0.0.43
func (s TeamSysType) Encode(e *jx.Encoder)
Encode encodes TeamSysType as json.
func (TeamSysType) MarshalJSON ¶ added in v0.0.43
func (s TeamSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TeamSysType) MarshalText ¶ added in v0.0.43
func (s TeamSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TeamSysType) UnmarshalJSON ¶ added in v0.0.43
func (s *TeamSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TeamSysType) UnmarshalText ¶ added in v0.0.43
func (s *TeamSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TeamSysType) Validate ¶ added in v0.0.43
func (s TeamSysType) Validate() error
type UnpublishEntryParams ¶ added in v0.0.40
UnpublishEntryParams is parameters of unpublishEntry operation.
type UnpublishEntryRes ¶ added in v0.0.40
type UnpublishEntryRes interface {
// contains filtered or unexported methods
}
type UpdateDeliveryAPIKeyParams ¶ added in v0.0.43
UpdateDeliveryAPIKeyParams is parameters of updateDeliveryAPIKey operation.
type UpdateDeliveryAPIKeyRes ¶ added in v0.0.43
type UpdateDeliveryAPIKeyRes interface {
// contains filtered or unexported methods
}
type UpdateRoleParams ¶ added in v0.0.15
UpdateRoleParams is parameters of updateRole operation.
type UpdateRoleRes ¶ added in v0.0.15
type UpdateRoleRes interface {
// contains filtered or unexported methods
}
type UpdateWebhookDefinitionParams ¶ added in v0.0.17
type UpdateWebhookDefinitionParams struct {
SpaceID string
WebhookDefinitionID string
XContentfulVersion int
}
UpdateWebhookDefinitionParams is parameters of updateWebhookDefinition operation.
type UpdateWebhookDefinitionRes ¶ added in v0.0.17
type UpdateWebhookDefinitionRes interface {
// contains filtered or unexported methods
}
type User ¶
type User struct {
Sys UserSys `json:"sys"`
Email string `json:"email"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
}
Merged schema. Ref: #/User
func (*User) GetFirstName ¶
GetFirstName returns the value of FirstName.
func (*User) GetLastName ¶
GetLastName returns the value of LastName.
func (*User) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*User) SetFirstName ¶
SetFirstName sets the value of FirstName.
func (*User) SetLastName ¶
SetLastName sets the value of LastName.
func (*User) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type UserSys ¶
type UserSys struct {
// Merged property.
Type UserSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
}
Merged schema. Ref: #/UserSys
func NewUserSys ¶ added in v0.0.43
func (*UserSys) GetType ¶
func (s *UserSys) GetType() UserSysType
GetType returns the value of Type.
func (*UserSys) GetVersion ¶
GetVersion returns the value of Version.
func (*UserSys) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*UserSys) SetType ¶
func (s *UserSys) SetType(val UserSysType)
SetType sets the value of Type.
func (*UserSys) SetVersion ¶
SetVersion sets the value of Version.
func (*UserSys) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type UserSysType ¶
type UserSysType string
Merged schema.
const (
UserSysTypeUser UserSysType = "User"
)
func (UserSysType) AllValues ¶
func (UserSysType) AllValues() []UserSysType
AllValues returns all UserSysType values.
func (*UserSysType) Decode ¶
func (s *UserSysType) Decode(d *jx.Decoder) error
Decode decodes UserSysType from json.
func (UserSysType) Encode ¶
func (s UserSysType) Encode(e *jx.Encoder)
Encode encodes UserSysType as json.
func (UserSysType) MarshalJSON ¶
func (s UserSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UserSysType) MarshalText ¶
func (s UserSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UserSysType) UnmarshalJSON ¶
func (s *UserSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UserSysType) UnmarshalText ¶
func (s *UserSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UserSysType) Validate ¶
func (s UserSysType) Validate() error
type WebhookDefinition ¶ added in v0.0.17
type WebhookDefinition struct {
Sys WebhookDefinitionSys `json:"sys"`
Name string `json:"name"`
URL string `json:"url"`
Topics []string `json:"topics"`
Filters OptNilWebhookDefinitionFilterArray `json:"filters"`
HttpBasicUsername OptNilString `json:"httpBasicUsername"`
HttpBasicPassword OptNilString `json:"httpBasicPassword"`
Headers WebhookDefinitionHeaders `json:"headers"`
Transformation OptNilWebhookDefinitionTransformation `json:"transformation"`
Active OptBool `json:"active"`
}
Merged schema. Ref: #/WebhookDefinition
func (*WebhookDefinition) Decode ¶ added in v0.0.17
func (s *WebhookDefinition) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinition from json.
func (*WebhookDefinition) Encode ¶ added in v0.0.17
func (s *WebhookDefinition) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinition) GetActive ¶ added in v0.0.17
func (s *WebhookDefinition) GetActive() OptBool
GetActive returns the value of Active.
func (*WebhookDefinition) GetFilters ¶ added in v0.0.17
func (s *WebhookDefinition) GetFilters() OptNilWebhookDefinitionFilterArray
GetFilters returns the value of Filters.
func (*WebhookDefinition) GetHeaders ¶ added in v0.0.17
func (s *WebhookDefinition) GetHeaders() WebhookDefinitionHeaders
GetHeaders returns the value of Headers.
func (*WebhookDefinition) GetHttpBasicPassword ¶ added in v0.0.17
func (s *WebhookDefinition) GetHttpBasicPassword() OptNilString
GetHttpBasicPassword returns the value of HttpBasicPassword.
func (*WebhookDefinition) GetHttpBasicUsername ¶ added in v0.0.17
func (s *WebhookDefinition) GetHttpBasicUsername() OptNilString
GetHttpBasicUsername returns the value of HttpBasicUsername.
func (*WebhookDefinition) GetName ¶ added in v0.0.17
func (s *WebhookDefinition) GetName() string
GetName returns the value of Name.
func (*WebhookDefinition) GetSys ¶ added in v0.0.17
func (s *WebhookDefinition) GetSys() WebhookDefinitionSys
GetSys returns the value of Sys.
func (*WebhookDefinition) GetTopics ¶ added in v0.0.17
func (s *WebhookDefinition) GetTopics() []string
GetTopics returns the value of Topics.
func (*WebhookDefinition) GetTransformation ¶ added in v0.0.17
func (s *WebhookDefinition) GetTransformation() OptNilWebhookDefinitionTransformation
GetTransformation returns the value of Transformation.
func (*WebhookDefinition) GetURL ¶ added in v0.0.17
func (s *WebhookDefinition) GetURL() string
GetURL returns the value of URL.
func (*WebhookDefinition) MarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinition) SetActive ¶ added in v0.0.17
func (s *WebhookDefinition) SetActive(val OptBool)
SetActive sets the value of Active.
func (*WebhookDefinition) SetFilters ¶ added in v0.0.17
func (s *WebhookDefinition) SetFilters(val OptNilWebhookDefinitionFilterArray)
SetFilters sets the value of Filters.
func (*WebhookDefinition) SetHeaders ¶ added in v0.0.17
func (s *WebhookDefinition) SetHeaders(val WebhookDefinitionHeaders)
SetHeaders sets the value of Headers.
func (*WebhookDefinition) SetHttpBasicPassword ¶ added in v0.0.17
func (s *WebhookDefinition) SetHttpBasicPassword(val OptNilString)
SetHttpBasicPassword sets the value of HttpBasicPassword.
func (*WebhookDefinition) SetHttpBasicUsername ¶ added in v0.0.17
func (s *WebhookDefinition) SetHttpBasicUsername(val OptNilString)
SetHttpBasicUsername sets the value of HttpBasicUsername.
func (*WebhookDefinition) SetName ¶ added in v0.0.17
func (s *WebhookDefinition) SetName(val string)
SetName sets the value of Name.
func (*WebhookDefinition) SetSys ¶ added in v0.0.17
func (s *WebhookDefinition) SetSys(val WebhookDefinitionSys)
SetSys sets the value of Sys.
func (*WebhookDefinition) SetTopics ¶ added in v0.0.17
func (s *WebhookDefinition) SetTopics(val []string)
SetTopics sets the value of Topics.
func (*WebhookDefinition) SetTransformation ¶ added in v0.0.17
func (s *WebhookDefinition) SetTransformation(val OptNilWebhookDefinitionTransformation)
SetTransformation sets the value of Transformation.
func (*WebhookDefinition) SetURL ¶ added in v0.0.17
func (s *WebhookDefinition) SetURL(val string)
SetURL sets the value of URL.
func (*WebhookDefinition) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WebhookDefinition) Validate ¶ added in v0.0.17
func (s *WebhookDefinition) Validate() error
type WebhookDefinitionData ¶ added in v0.0.42
type WebhookDefinitionData struct {
Name string `json:"name"`
URL string `json:"url"`
Topics []string `json:"topics"`
Filters OptNilWebhookDefinitionFilterArray `json:"filters"`
HttpBasicUsername OptNilString `json:"httpBasicUsername"`
HttpBasicPassword OptNilString `json:"httpBasicPassword"`
Headers WebhookDefinitionHeaders `json:"headers"`
Transformation OptNilWebhookDefinitionDataTransformation `json:"transformation"`
Active OptBool `json:"active"`
}
Ref: #/WebhookDefinitionData
func (*WebhookDefinitionData) Decode ¶ added in v0.0.42
func (s *WebhookDefinitionData) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionData from json.
func (*WebhookDefinitionData) Encode ¶ added in v0.0.42
func (s *WebhookDefinitionData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionData) GetActive ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetActive() OptBool
GetActive returns the value of Active.
func (*WebhookDefinitionData) GetFilters ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetFilters() OptNilWebhookDefinitionFilterArray
GetFilters returns the value of Filters.
func (*WebhookDefinitionData) GetHeaders ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetHeaders() WebhookDefinitionHeaders
GetHeaders returns the value of Headers.
func (*WebhookDefinitionData) GetHttpBasicPassword ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetHttpBasicPassword() OptNilString
GetHttpBasicPassword returns the value of HttpBasicPassword.
func (*WebhookDefinitionData) GetHttpBasicUsername ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetHttpBasicUsername() OptNilString
GetHttpBasicUsername returns the value of HttpBasicUsername.
func (*WebhookDefinitionData) GetName ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetName() string
GetName returns the value of Name.
func (*WebhookDefinitionData) GetTopics ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetTopics() []string
GetTopics returns the value of Topics.
func (*WebhookDefinitionData) GetTransformation ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetTransformation() OptNilWebhookDefinitionDataTransformation
GetTransformation returns the value of Transformation.
func (*WebhookDefinitionData) GetURL ¶ added in v0.0.42
func (s *WebhookDefinitionData) GetURL() string
GetURL returns the value of URL.
func (*WebhookDefinitionData) MarshalJSON ¶ added in v0.0.42
func (s *WebhookDefinitionData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionData) SetActive ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetActive(val OptBool)
SetActive sets the value of Active.
func (*WebhookDefinitionData) SetFilters ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetFilters(val OptNilWebhookDefinitionFilterArray)
SetFilters sets the value of Filters.
func (*WebhookDefinitionData) SetHeaders ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetHeaders(val WebhookDefinitionHeaders)
SetHeaders sets the value of Headers.
func (*WebhookDefinitionData) SetHttpBasicPassword ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetHttpBasicPassword(val OptNilString)
SetHttpBasicPassword sets the value of HttpBasicPassword.
func (*WebhookDefinitionData) SetHttpBasicUsername ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetHttpBasicUsername(val OptNilString)
SetHttpBasicUsername sets the value of HttpBasicUsername.
func (*WebhookDefinitionData) SetName ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetName(val string)
SetName sets the value of Name.
func (*WebhookDefinitionData) SetTopics ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetTopics(val []string)
SetTopics sets the value of Topics.
func (*WebhookDefinitionData) SetTransformation ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetTransformation(val OptNilWebhookDefinitionDataTransformation)
SetTransformation sets the value of Transformation.
func (*WebhookDefinitionData) SetURL ¶ added in v0.0.42
func (s *WebhookDefinitionData) SetURL(val string)
SetURL sets the value of URL.
func (*WebhookDefinitionData) UnmarshalJSON ¶ added in v0.0.42
func (s *WebhookDefinitionData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WebhookDefinitionData) Validate ¶ added in v0.0.42
func (s *WebhookDefinitionData) Validate() error
type WebhookDefinitionDataTransformation ¶ added in v0.0.42
type WebhookDefinitionDataTransformation struct {
Method OptString `json:"method"`
ContentType OptString `json:"contentType"`
IncludeContentLength OptBool `json:"includeContentLength"`
Body jx.Raw `json:"body"`
}
func (*WebhookDefinitionDataTransformation) Decode ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionDataTransformation from json.
func (*WebhookDefinitionDataTransformation) Encode ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionDataTransformation) GetBody ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) GetBody() jx.Raw
GetBody returns the value of Body.
func (*WebhookDefinitionDataTransformation) GetContentType ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) GetContentType() OptString
GetContentType returns the value of ContentType.
func (*WebhookDefinitionDataTransformation) GetIncludeContentLength ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) GetIncludeContentLength() OptBool
GetIncludeContentLength returns the value of IncludeContentLength.
func (*WebhookDefinitionDataTransformation) GetMethod ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) GetMethod() OptString
GetMethod returns the value of Method.
func (*WebhookDefinitionDataTransformation) MarshalJSON ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionDataTransformation) SetBody ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) SetBody(val jx.Raw)
SetBody sets the value of Body.
func (*WebhookDefinitionDataTransformation) SetContentType ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) SetContentType(val OptString)
SetContentType sets the value of ContentType.
func (*WebhookDefinitionDataTransformation) SetIncludeContentLength ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) SetIncludeContentLength(val OptBool)
SetIncludeContentLength sets the value of IncludeContentLength.
func (*WebhookDefinitionDataTransformation) SetMethod ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) SetMethod(val OptString)
SetMethod sets the value of Method.
func (*WebhookDefinitionDataTransformation) UnmarshalJSON ¶ added in v0.0.42
func (s *WebhookDefinitionDataTransformation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WebhookDefinitionFilter ¶ added in v0.0.17
type WebhookDefinitionFilter struct {
Not OptWebhookDefinitionFilterNot `json:"not"`
Equals WebhookDefinitionFilterEquals `json:"equals"`
In WebhookDefinitionFilterIn `json:"in"`
Regexp WebhookDefinitionFilterRegexp `json:"regexp"`
}
Ref: #/WebhookDefinitionFilter
func (*WebhookDefinitionFilter) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFilter from json.
func (*WebhookDefinitionFilter) Encode ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionFilter) GetEquals ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) GetEquals() WebhookDefinitionFilterEquals
GetEquals returns the value of Equals.
func (*WebhookDefinitionFilter) GetIn ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) GetIn() WebhookDefinitionFilterIn
GetIn returns the value of In.
func (*WebhookDefinitionFilter) GetNot ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) GetNot() OptWebhookDefinitionFilterNot
GetNot returns the value of Not.
func (*WebhookDefinitionFilter) GetRegexp ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) GetRegexp() WebhookDefinitionFilterRegexp
GetRegexp returns the value of Regexp.
func (*WebhookDefinitionFilter) MarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionFilter) SetEquals ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) SetEquals(val WebhookDefinitionFilterEquals)
SetEquals sets the value of Equals.
func (*WebhookDefinitionFilter) SetIn ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) SetIn(val WebhookDefinitionFilterIn)
SetIn sets the value of In.
func (*WebhookDefinitionFilter) SetNot ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) SetNot(val OptWebhookDefinitionFilterNot)
SetNot sets the value of Not.
func (*WebhookDefinitionFilter) SetRegexp ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) SetRegexp(val WebhookDefinitionFilterRegexp)
SetRegexp sets the value of Regexp.
func (*WebhookDefinitionFilter) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionFilter) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WebhookDefinitionFilterEquals ¶ added in v0.0.17
func (*WebhookDefinitionFilterEquals) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionFilterEquals) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFilterEquals from json.
func (WebhookDefinitionFilterEquals) Encode ¶ added in v0.0.17
func (s WebhookDefinitionFilterEquals) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionFilterEquals as json.
func (WebhookDefinitionFilterEquals) MarshalJSON ¶ added in v0.0.17
func (s WebhookDefinitionFilterEquals) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionFilterEquals) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionFilterEquals) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WebhookDefinitionFilterIn ¶ added in v0.0.17
func (*WebhookDefinitionFilterIn) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionFilterIn) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFilterIn from json.
func (WebhookDefinitionFilterIn) Encode ¶ added in v0.0.17
func (s WebhookDefinitionFilterIn) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionFilterIn as json.
func (WebhookDefinitionFilterIn) MarshalJSON ¶ added in v0.0.17
func (s WebhookDefinitionFilterIn) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionFilterIn) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionFilterIn) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WebhookDefinitionFilterNot ¶ added in v0.0.17
type WebhookDefinitionFilterNot struct {
Equals WebhookDefinitionFilterEquals `json:"equals"`
In WebhookDefinitionFilterIn `json:"in"`
Regexp WebhookDefinitionFilterRegexp `json:"regexp"`
}
Ref: #/WebhookDefinitionFilterNot
func (*WebhookDefinitionFilterNot) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFilterNot from json.
func (*WebhookDefinitionFilterNot) Encode ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionFilterNot) GetEquals ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) GetEquals() WebhookDefinitionFilterEquals
GetEquals returns the value of Equals.
func (*WebhookDefinitionFilterNot) GetIn ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) GetIn() WebhookDefinitionFilterIn
GetIn returns the value of In.
func (*WebhookDefinitionFilterNot) GetRegexp ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) GetRegexp() WebhookDefinitionFilterRegexp
GetRegexp returns the value of Regexp.
func (*WebhookDefinitionFilterNot) MarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionFilterNot) SetEquals ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) SetEquals(val WebhookDefinitionFilterEquals)
SetEquals sets the value of Equals.
func (*WebhookDefinitionFilterNot) SetIn ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) SetIn(val WebhookDefinitionFilterIn)
SetIn sets the value of In.
func (*WebhookDefinitionFilterNot) SetRegexp ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) SetRegexp(val WebhookDefinitionFilterRegexp)
SetRegexp sets the value of Regexp.
func (*WebhookDefinitionFilterNot) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionFilterNot) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WebhookDefinitionFilterRegexp ¶ added in v0.0.17
func (*WebhookDefinitionFilterRegexp) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionFilterRegexp) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFilterRegexp from json.
func (WebhookDefinitionFilterRegexp) Encode ¶ added in v0.0.17
func (s WebhookDefinitionFilterRegexp) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionFilterRegexp as json.
func (WebhookDefinitionFilterRegexp) MarshalJSON ¶ added in v0.0.17
func (s WebhookDefinitionFilterRegexp) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionFilterRegexp) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionFilterRegexp) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WebhookDefinitionHeader ¶ added in v0.0.17
type WebhookDefinitionHeader struct {
Key string `json:"key"`
Value OptString `json:"value"`
Secret OptBool `json:"secret"`
}
Ref: #/WebhookDefinitionHeader
func (*WebhookDefinitionHeader) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionHeader from json.
func (*WebhookDefinitionHeader) Encode ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionHeader) GetKey ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) GetKey() string
GetKey returns the value of Key.
func (*WebhookDefinitionHeader) GetSecret ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) GetSecret() OptBool
GetSecret returns the value of Secret.
func (*WebhookDefinitionHeader) GetValue ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) GetValue() OptString
GetValue returns the value of Value.
func (*WebhookDefinitionHeader) MarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionHeader) SetKey ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) SetKey(val string)
SetKey sets the value of Key.
func (*WebhookDefinitionHeader) SetSecret ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) SetSecret(val OptBool)
SetSecret sets the value of Secret.
func (*WebhookDefinitionHeader) SetValue ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) SetValue(val OptString)
SetValue sets the value of Value.
func (*WebhookDefinitionHeader) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionHeader) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WebhookDefinitionHeaders ¶ added in v0.0.17
type WebhookDefinitionHeaders []WebhookDefinitionHeader
func (*WebhookDefinitionHeaders) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionHeaders) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionHeaders from json.
func (WebhookDefinitionHeaders) Encode ¶ added in v0.0.17
func (s WebhookDefinitionHeaders) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionHeaders as json.
func (WebhookDefinitionHeaders) MarshalJSON ¶ added in v0.0.17
func (s WebhookDefinitionHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionHeaders) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WebhookDefinitionStatusCode ¶ added in v0.0.24
type WebhookDefinitionStatusCode struct {
StatusCode int
Response WebhookDefinition
}
WebhookDefinitionStatusCode wraps WebhookDefinition with StatusCode.
func (*WebhookDefinitionStatusCode) GetResponse ¶ added in v0.0.24
func (s *WebhookDefinitionStatusCode) GetResponse() WebhookDefinition
GetResponse returns the value of Response.
func (*WebhookDefinitionStatusCode) GetStatusCode ¶ added in v0.0.24
func (s *WebhookDefinitionStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*WebhookDefinitionStatusCode) SetResponse ¶ added in v0.0.24
func (s *WebhookDefinitionStatusCode) SetResponse(val WebhookDefinition)
SetResponse sets the value of Response.
func (*WebhookDefinitionStatusCode) SetStatusCode ¶ added in v0.0.24
func (s *WebhookDefinitionStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*WebhookDefinitionStatusCode) Validate ¶ added in v0.0.24
func (s *WebhookDefinitionStatusCode) Validate() error
type WebhookDefinitionSys ¶ added in v0.0.17
type WebhookDefinitionSys struct {
Space SpaceLink `json:"space"`
// Merged property.
Type WebhookDefinitionSysType `json:"type"`
ID string `json:"id"`
Version int `json:"version"`
}
Merged schema. Ref: #/WebhookDefinitionSys
func NewWebhookDefinitionSys ¶ added in v0.0.43
func NewWebhookDefinitionSys(spaceID, webhookDefinitionID string) WebhookDefinitionSys
func (*WebhookDefinitionSys) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionSys) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionSys from json.
func (*WebhookDefinitionSys) Encode ¶ added in v0.0.17
func (s *WebhookDefinitionSys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionSys) GetID ¶ added in v0.0.17
func (s *WebhookDefinitionSys) GetID() string
GetID returns the value of ID.
func (*WebhookDefinitionSys) GetSpace ¶ added in v0.0.18
func (s *WebhookDefinitionSys) GetSpace() SpaceLink
GetSpace returns the value of Space.
func (*WebhookDefinitionSys) GetType ¶ added in v0.0.17
func (s *WebhookDefinitionSys) GetType() WebhookDefinitionSysType
GetType returns the value of Type.
func (*WebhookDefinitionSys) GetVersion ¶ added in v0.0.17
func (s *WebhookDefinitionSys) GetVersion() int
GetVersion returns the value of Version.
func (*WebhookDefinitionSys) MarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionSys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionSys) SetID ¶ added in v0.0.17
func (s *WebhookDefinitionSys) SetID(val string)
SetID sets the value of ID.
func (*WebhookDefinitionSys) SetSpace ¶ added in v0.0.18
func (s *WebhookDefinitionSys) SetSpace(val SpaceLink)
SetSpace sets the value of Space.
func (*WebhookDefinitionSys) SetType ¶ added in v0.0.17
func (s *WebhookDefinitionSys) SetType(val WebhookDefinitionSysType)
SetType sets the value of Type.
func (*WebhookDefinitionSys) SetVersion ¶ added in v0.0.17
func (s *WebhookDefinitionSys) SetVersion(val int)
SetVersion sets the value of Version.
func (*WebhookDefinitionSys) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionSys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WebhookDefinitionSys) Validate ¶ added in v0.0.17
func (s *WebhookDefinitionSys) Validate() error
type WebhookDefinitionSysType ¶ added in v0.0.17
type WebhookDefinitionSysType string
Merged schema.
const (
WebhookDefinitionSysTypeWebhookDefinition WebhookDefinitionSysType = "WebhookDefinition"
)
func (WebhookDefinitionSysType) AllValues ¶ added in v0.0.17
func (WebhookDefinitionSysType) AllValues() []WebhookDefinitionSysType
AllValues returns all WebhookDefinitionSysType values.
func (*WebhookDefinitionSysType) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionSysType) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionSysType from json.
func (WebhookDefinitionSysType) Encode ¶ added in v0.0.17
func (s WebhookDefinitionSysType) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionSysType as json.
func (WebhookDefinitionSysType) MarshalJSON ¶ added in v0.0.17
func (s WebhookDefinitionSysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WebhookDefinitionSysType) MarshalText ¶ added in v0.0.17
func (s WebhookDefinitionSysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*WebhookDefinitionSysType) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionSysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WebhookDefinitionSysType) UnmarshalText ¶ added in v0.0.17
func (s *WebhookDefinitionSysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (WebhookDefinitionSysType) Validate ¶ added in v0.0.17
func (s WebhookDefinitionSysType) Validate() error
type WebhookDefinitionTransformation ¶ added in v0.0.17
type WebhookDefinitionTransformation struct {
Method OptString `json:"method"`
ContentType OptString `json:"contentType"`
IncludeContentLength OptBool `json:"includeContentLength"`
Body jx.Raw `json:"body"`
}
func (*WebhookDefinitionTransformation) Decode ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionTransformation from json.
func (*WebhookDefinitionTransformation) Encode ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionTransformation) GetBody ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) GetBody() jx.Raw
GetBody returns the value of Body.
func (*WebhookDefinitionTransformation) GetContentType ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) GetContentType() OptString
GetContentType returns the value of ContentType.
func (*WebhookDefinitionTransformation) GetIncludeContentLength ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) GetIncludeContentLength() OptBool
GetIncludeContentLength returns the value of IncludeContentLength.
func (*WebhookDefinitionTransformation) GetMethod ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) GetMethod() OptString
GetMethod returns the value of Method.
func (*WebhookDefinitionTransformation) MarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionTransformation) SetBody ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) SetBody(val jx.Raw)
SetBody sets the value of Body.
func (*WebhookDefinitionTransformation) SetContentType ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) SetContentType(val OptString)
SetContentType sets the value of ContentType.
func (*WebhookDefinitionTransformation) SetIncludeContentLength ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) SetIncludeContentLength(val OptBool)
SetIncludeContentLength sets the value of IncludeContentLength.
func (*WebhookDefinitionTransformation) SetMethod ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) SetMethod(val OptString)
SetMethod sets the value of Method.
func (*WebhookDefinitionTransformation) UnmarshalJSON ¶ added in v0.0.17
func (s *WebhookDefinitionTransformation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
Source Files
¶
- access_token_security_source.go
- api_key_sys.go
- app_bundle_link.go
- app_definition_link.go
- app_definition_sys.go
- app_installation_sys.go
- app_signing_secret_sys.go
- client.go
- content_type_link.go
- content_type_sys.go
- editor_interface_sys.go
- entry_sys.go
- environment_alias_sys.go
- environment_link.go
- environment_sys.go
- error_sys.go
- extension_sys.go
- function_link.go
- nilstring.go
- oas_cfg_gen.go
- oas_client_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_validators_gen.go
- ogen_http_client.go
- optbool.go
- optnildatetime.go
- optnilint.go
- optnilstring.go
- optnilwebhookdefinitionfilterarray.go
- optstring.go
- organization_link.go
- personal_access_token_sys.go
- preview_api_key_link.go
- preview_api_key_sys.go
- resource_provider_link.go
- resource_provider_request_sys.go
- resource_provider_sys.go
- resource_type_sys.go
- response_error.go
- role_sys.go
- space_enablement_sys.go
- space_environment_map.go
- space_link.go
- space_map.go
- status_link.go
- tag_link.go
- tag_sys.go
- taxonomy_concept_link.go
- team_link.go
- team_space_membership_sys.go
- team_sys.go
- user.go
- user_sys.go
- webhook_definition_sys.go