Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- Constants
- func NewClientWithUserAgent(client ht.Client, userAgent string) *clientWithUserAgent
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- 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() OptApiKeyPreviewAPIKey
- 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 OptApiKeyPreviewAPIKey)
- func (s *ApiKey) SetSys(val ApiKeySys)
- func (s *ApiKey) UnmarshalJSON(data []byte) error
- func (s *ApiKey) Validate() error
- type ApiKeyPreviewAPIKey
- func (s *ApiKeyPreviewAPIKey) Decode(d *jx.Decoder) error
- func (s *ApiKeyPreviewAPIKey) Encode(e *jx.Encoder)
- func (s *ApiKeyPreviewAPIKey) GetSys() ApiKeyPreviewAPIKeySys
- func (s *ApiKeyPreviewAPIKey) MarshalJSON() ([]byte, error)
- func (s *ApiKeyPreviewAPIKey) SetSys(val ApiKeyPreviewAPIKeySys)
- func (s *ApiKeyPreviewAPIKey) UnmarshalJSON(data []byte) error
- func (s *ApiKeyPreviewAPIKey) Validate() error
- type ApiKeyPreviewAPIKeySys
- func (s *ApiKeyPreviewAPIKeySys) Decode(d *jx.Decoder) error
- func (s *ApiKeyPreviewAPIKeySys) Encode(e *jx.Encoder)
- func (s *ApiKeyPreviewAPIKeySys) GetID() string
- func (s *ApiKeyPreviewAPIKeySys) GetLinkType() ApiKeyPreviewAPIKeySysLinkType
- func (s *ApiKeyPreviewAPIKeySys) GetType() ApiKeyPreviewAPIKeySysType
- func (s *ApiKeyPreviewAPIKeySys) MarshalJSON() ([]byte, error)
- func (s *ApiKeyPreviewAPIKeySys) SetID(val string)
- func (s *ApiKeyPreviewAPIKeySys) SetLinkType(val ApiKeyPreviewAPIKeySysLinkType)
- func (s *ApiKeyPreviewAPIKeySys) SetType(val ApiKeyPreviewAPIKeySysType)
- func (s *ApiKeyPreviewAPIKeySys) UnmarshalJSON(data []byte) error
- func (s *ApiKeyPreviewAPIKeySys) Validate() error
- type ApiKeyPreviewAPIKeySysLinkType
- func (ApiKeyPreviewAPIKeySysLinkType) AllValues() []ApiKeyPreviewAPIKeySysLinkType
- func (s *ApiKeyPreviewAPIKeySysLinkType) Decode(d *jx.Decoder) error
- func (s ApiKeyPreviewAPIKeySysLinkType) Encode(e *jx.Encoder)
- func (s ApiKeyPreviewAPIKeySysLinkType) MarshalJSON() ([]byte, error)
- func (s ApiKeyPreviewAPIKeySysLinkType) MarshalText() ([]byte, error)
- func (s *ApiKeyPreviewAPIKeySysLinkType) UnmarshalJSON(data []byte) error
- func (s *ApiKeyPreviewAPIKeySysLinkType) UnmarshalText(data []byte) error
- func (s ApiKeyPreviewAPIKeySysLinkType) Validate() error
- type ApiKeyPreviewAPIKeySysType
- func (ApiKeyPreviewAPIKeySysType) AllValues() []ApiKeyPreviewAPIKeySysType
- func (s *ApiKeyPreviewAPIKeySysType) Decode(d *jx.Decoder) error
- func (s ApiKeyPreviewAPIKeySysType) Encode(e *jx.Encoder)
- func (s ApiKeyPreviewAPIKeySysType) MarshalJSON() ([]byte, error)
- func (s ApiKeyPreviewAPIKeySysType) MarshalText() ([]byte, error)
- func (s *ApiKeyPreviewAPIKeySysType) UnmarshalJSON(data []byte) error
- func (s *ApiKeyPreviewAPIKeySysType) UnmarshalText(data []byte) error
- func (s ApiKeyPreviewAPIKeySysType) Validate() error
- type ApiKeyRequestFields
- func (s *ApiKeyRequestFields) Decode(d *jx.Decoder) error
- func (s *ApiKeyRequestFields) Encode(e *jx.Encoder)
- func (s *ApiKeyRequestFields) GetDescription() OptNilString
- func (s *ApiKeyRequestFields) GetEnvironments() []EnvironmentLink
- func (s *ApiKeyRequestFields) GetName() string
- func (s *ApiKeyRequestFields) MarshalJSON() ([]byte, error)
- func (s *ApiKeyRequestFields) SetDescription(val OptNilString)
- func (s *ApiKeyRequestFields) SetEnvironments(val []EnvironmentLink)
- func (s *ApiKeyRequestFields) SetName(val string)
- func (s *ApiKeyRequestFields) UnmarshalJSON(data []byte) error
- func (s *ApiKeyRequestFields) Validate() error
- type ApiKeySys
- func (s *ApiKeySys) Decode(d *jx.Decoder) error
- func (s *ApiKeySys) Encode(e *jx.Encoder)
- func (s *ApiKeySys) GetCreatedAt() OptDateTime
- func (s *ApiKeySys) GetID() string
- func (s *ApiKeySys) GetSpace() SpaceLink
- func (s *ApiKeySys) GetType() ApiKeySysType
- func (s *ApiKeySys) GetUpdatedAt() OptDateTime
- func (s *ApiKeySys) GetVersion() int
- func (s *ApiKeySys) MarshalJSON() ([]byte, error)
- func (s *ApiKeySys) SetCreatedAt(val OptDateTime)
- func (s *ApiKeySys) SetID(val string)
- func (s *ApiKeySys) SetSpace(val SpaceLink)
- func (s *ApiKeySys) SetType(val ApiKeySysType)
- func (s *ApiKeySys) SetUpdatedAt(val OptDateTime)
- 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 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 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 AppInstallationFields
- func (s *AppInstallationFields) Decode(d *jx.Decoder) error
- func (s *AppInstallationFields) Encode(e *jx.Encoder)
- func (s *AppInstallationFields) GetParameters() jx.Raw
- func (s *AppInstallationFields) MarshalJSON() ([]byte, error)
- func (s *AppInstallationFields) SetParameters(val jx.Raw)
- func (s *AppInstallationFields) UnmarshalJSON(data []byte) 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 Client
- func (c *Client) ActivateContentType(ctx context.Context, params ActivateContentTypeParams) (ActivateContentTypeRes, error)
- func (c *Client) CreateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, ...) (CreateDeliveryApiKeyRes, error)
- func (c *Client) CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestFields) (CreatePersonalAccessTokenRes, error)
- func (c *Client) CreateRole(ctx context.Context, request *RoleFields, params CreateRoleParams) (CreateRoleRes, error)
- func (c *Client) CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionFields, ...) (CreateWebhookDefinitionRes, error)
- func (c *Client) DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams) (DeactivateContentTypeRes, error)
- func (c *Client) DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams) (DeleteAppInstallationRes, error)
- func (c *Client) DeleteContentType(ctx context.Context, params DeleteContentTypeParams) (DeleteContentTypeRes, error)
- func (c *Client) DeleteDeliveryApiKey(ctx context.Context, params DeleteDeliveryApiKeyParams) (DeleteDeliveryApiKeyRes, error)
- func (c *Client) DeleteRole(ctx context.Context, params DeleteRoleParams) (DeleteRoleRes, error)
- func (c *Client) DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams) (DeleteWebhookDefinitionRes, error)
- func (c *Client) GetAppInstallation(ctx context.Context, params GetAppInstallationParams) (GetAppInstallationRes, error)
- func (c *Client) GetAuthenticatedUser(ctx context.Context) (GetAuthenticatedUserRes, error)
- func (c *Client) GetContentType(ctx context.Context, params GetContentTypeParams) (GetContentTypeRes, error)
- func (c *Client) GetDeliveryApiKey(ctx context.Context, params GetDeliveryApiKeyParams) (GetDeliveryApiKeyRes, error)
- func (c *Client) GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams) (GetEditorInterfaceRes, error)
- func (c *Client) GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams) (GetPersonalAccessTokenRes, error)
- func (c *Client) GetPreviewApiKey(ctx context.Context, params GetPreviewApiKeyParams) (GetPreviewApiKeyRes, error)
- func (c *Client) GetRole(ctx context.Context, params GetRoleParams) (GetRoleRes, error)
- func (c *Client) GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams) (GetSpaceEnablementsRes, error)
- func (c *Client) GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams) (GetWebhookDefinitionRes, error)
- func (c *Client) PutAppInstallation(ctx context.Context, request *AppInstallationFields, ...) (PutAppInstallationRes, error)
- func (c *Client) PutContentType(ctx context.Context, request *ContentTypeRequestFields, ...) (PutContentTypeRes, error)
- func (c *Client) PutEditorInterface(ctx context.Context, request *EditorInterfaceFields, ...) (PutEditorInterfaceRes, error)
- func (c *Client) PutSpaceEnablements(ctx context.Context, request *SpaceEnablementFields, ...) (PutSpaceEnablementsRes, error)
- func (c *Client) RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams) (RevokePersonalAccessTokenRes, error)
- func (c *Client) UpdateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, ...) (UpdateDeliveryApiKeyRes, error)
- func (c *Client) UpdateRole(ctx context.Context, request *RoleFields, params UpdateRoleParams) (UpdateRoleRes, error)
- func (c *Client) UpdateWebhookDefinition(ctx context.Context, request *WebhookDefinitionFields, ...) (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) 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) SetName(val string)
- func (s *ContentType) SetSys(val ContentTypeSys)
- func (s *ContentType) UnmarshalJSON(data []byte) error
- func (s *ContentType) Validate() error
- type ContentTypeFieldsItem
- func (s *ContentTypeFieldsItem) Decode(d *jx.Decoder) error
- func (s *ContentTypeFieldsItem) Encode(e *jx.Encoder)
- 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) 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
- 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 ContentTypeRequestFields
- func (s *ContentTypeRequestFields) Decode(d *jx.Decoder) error
- func (s *ContentTypeRequestFields) Encode(e *jx.Encoder)
- func (s *ContentTypeRequestFields) GetDescription() OptNilString
- func (s *ContentTypeRequestFields) GetDisplayField() string
- func (s *ContentTypeRequestFields) GetFields() []ContentTypeRequestFieldsFieldsItem
- func (s *ContentTypeRequestFields) GetName() string
- func (s *ContentTypeRequestFields) MarshalJSON() ([]byte, error)
- func (s *ContentTypeRequestFields) SetDescription(val OptNilString)
- func (s *ContentTypeRequestFields) SetDisplayField(val string)
- func (s *ContentTypeRequestFields) SetFields(val []ContentTypeRequestFieldsFieldsItem)
- func (s *ContentTypeRequestFields) SetName(val string)
- func (s *ContentTypeRequestFields) UnmarshalJSON(data []byte) error
- func (s *ContentTypeRequestFields) Validate() error
- type ContentTypeRequestFieldsFieldsItem
- func (s *ContentTypeRequestFieldsFieldsItem) Decode(d *jx.Decoder) error
- func (s *ContentTypeRequestFieldsFieldsItem) Encode(e *jx.Encoder)
- func (s *ContentTypeRequestFieldsFieldsItem) GetDefaultValue() jx.Raw
- func (s *ContentTypeRequestFieldsFieldsItem) GetDisabled() OptBool
- func (s *ContentTypeRequestFieldsFieldsItem) GetID() string
- func (s *ContentTypeRequestFieldsFieldsItem) GetItems() OptContentTypeRequestFieldsFieldsItemItems
- func (s *ContentTypeRequestFieldsFieldsItem) GetLinkType() OptString
- func (s *ContentTypeRequestFieldsFieldsItem) GetLocalized() OptBool
- func (s *ContentTypeRequestFieldsFieldsItem) GetName() string
- func (s *ContentTypeRequestFieldsFieldsItem) GetOmitted() OptBool
- func (s *ContentTypeRequestFieldsFieldsItem) GetRequired() OptBool
- func (s *ContentTypeRequestFieldsFieldsItem) GetType() string
- func (s *ContentTypeRequestFieldsFieldsItem) GetValidations() []jx.Raw
- func (s *ContentTypeRequestFieldsFieldsItem) MarshalJSON() ([]byte, error)
- func (s *ContentTypeRequestFieldsFieldsItem) SetDefaultValue(val jx.Raw)
- func (s *ContentTypeRequestFieldsFieldsItem) SetDisabled(val OptBool)
- func (s *ContentTypeRequestFieldsFieldsItem) SetID(val string)
- func (s *ContentTypeRequestFieldsFieldsItem) SetItems(val OptContentTypeRequestFieldsFieldsItemItems)
- func (s *ContentTypeRequestFieldsFieldsItem) SetLinkType(val OptString)
- func (s *ContentTypeRequestFieldsFieldsItem) SetLocalized(val OptBool)
- func (s *ContentTypeRequestFieldsFieldsItem) SetName(val string)
- func (s *ContentTypeRequestFieldsFieldsItem) SetOmitted(val OptBool)
- func (s *ContentTypeRequestFieldsFieldsItem) SetRequired(val OptBool)
- func (s *ContentTypeRequestFieldsFieldsItem) SetType(val string)
- func (s *ContentTypeRequestFieldsFieldsItem) SetValidations(val []jx.Raw)
- func (s *ContentTypeRequestFieldsFieldsItem) UnmarshalJSON(data []byte) error
- type ContentTypeRequestFieldsFieldsItemItems
- func (s *ContentTypeRequestFieldsFieldsItemItems) Decode(d *jx.Decoder) error
- func (s *ContentTypeRequestFieldsFieldsItemItems) Encode(e *jx.Encoder)
- func (s *ContentTypeRequestFieldsFieldsItemItems) GetLinkType() OptString
- func (s *ContentTypeRequestFieldsFieldsItemItems) GetType() OptString
- func (s *ContentTypeRequestFieldsFieldsItemItems) GetValidations() []jx.Raw
- func (s *ContentTypeRequestFieldsFieldsItemItems) MarshalJSON() ([]byte, error)
- func (s *ContentTypeRequestFieldsFieldsItemItems) SetLinkType(val OptString)
- func (s *ContentTypeRequestFieldsFieldsItemItems) SetType(val OptString)
- func (s *ContentTypeRequestFieldsFieldsItemItems) SetValidations(val []jx.Raw)
- func (s *ContentTypeRequestFieldsFieldsItemItems) UnmarshalJSON(data []byte) error
- type ContentTypeSys
- func (s *ContentTypeSys) Decode(d *jx.Decoder) error
- func (s *ContentTypeSys) Encode(e *jx.Encoder)
- func (s *ContentTypeSys) GetCreatedAt() OptDateTime
- 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) GetUpdatedAt() OptDateTime
- func (s *ContentTypeSys) GetVersion() int
- func (s *ContentTypeSys) MarshalJSON() ([]byte, error)
- func (s *ContentTypeSys) SetCreatedAt(val OptDateTime)
- 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) SetUpdatedAt(val OptDateTime)
- 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 CreateDeliveryApiKeyParams
- type CreateDeliveryApiKeyRes
- type CreatePersonalAccessTokenRes
- type CreateRoleParams
- type CreateRoleRes
- type CreateWebhookDefinitionParams
- type CreateWebhookDefinitionRes
- type DeactivateContentTypeParams
- type DeactivateContentTypeRes
- type DeleteAppInstallationParams
- type DeleteAppInstallationRes
- type DeleteContentTypeParams
- type DeleteContentTypeRes
- type DeleteDeliveryApiKeyParams
- type DeleteDeliveryApiKeyRes
- type DeleteRoleParams
- type DeleteRoleRes
- 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 EditorInterfaceEditorLayoutItem
- func (s *EditorInterfaceEditorLayoutItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceEditorLayoutItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceEditorLayoutItem) GetGroupId() string
- func (s *EditorInterfaceEditorLayoutItem) GetItems() []jx.Raw
- func (s *EditorInterfaceEditorLayoutItem) GetName() string
- func (s *EditorInterfaceEditorLayoutItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceEditorLayoutItem) SetGroupId(val string)
- func (s *EditorInterfaceEditorLayoutItem) SetItems(val []jx.Raw)
- func (s *EditorInterfaceEditorLayoutItem) SetName(val string)
- func (s *EditorInterfaceEditorLayoutItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceFields
- func (s *EditorInterfaceFields) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceFields) Encode(e *jx.Encoder)
- func (s *EditorInterfaceFields) GetControls() OptNilEditorInterfaceFieldsControlsItemArray
- func (s *EditorInterfaceFields) GetEditorLayout() OptNilEditorInterfaceFieldsEditorLayoutItemArray
- func (s *EditorInterfaceFields) GetGroupControls() OptNilEditorInterfaceFieldsGroupControlsItemArray
- func (s *EditorInterfaceFields) GetSidebar() OptNilEditorInterfaceFieldsSidebarItemArray
- func (s *EditorInterfaceFields) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceFields) SetControls(val OptNilEditorInterfaceFieldsControlsItemArray)
- func (s *EditorInterfaceFields) SetEditorLayout(val OptNilEditorInterfaceFieldsEditorLayoutItemArray)
- func (s *EditorInterfaceFields) SetGroupControls(val OptNilEditorInterfaceFieldsGroupControlsItemArray)
- func (s *EditorInterfaceFields) SetSidebar(val OptNilEditorInterfaceFieldsSidebarItemArray)
- func (s *EditorInterfaceFields) UnmarshalJSON(data []byte) error
- func (s *EditorInterfaceFields) Validate() error
- type EditorInterfaceFieldsControlsItem
- func (s *EditorInterfaceFieldsControlsItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceFieldsControlsItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceFieldsControlsItem) GetFieldId() string
- func (s *EditorInterfaceFieldsControlsItem) GetSettings() jx.Raw
- func (s *EditorInterfaceFieldsControlsItem) GetWidgetId() OptString
- func (s *EditorInterfaceFieldsControlsItem) GetWidgetNamespace() OptString
- func (s *EditorInterfaceFieldsControlsItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceFieldsControlsItem) SetFieldId(val string)
- func (s *EditorInterfaceFieldsControlsItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceFieldsControlsItem) SetWidgetId(val OptString)
- func (s *EditorInterfaceFieldsControlsItem) SetWidgetNamespace(val OptString)
- func (s *EditorInterfaceFieldsControlsItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceFieldsEditorLayoutItem
- func (s *EditorInterfaceFieldsEditorLayoutItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceFieldsEditorLayoutItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceFieldsEditorLayoutItem) GetGroupId() string
- func (s *EditorInterfaceFieldsEditorLayoutItem) GetItems() []jx.Raw
- func (s *EditorInterfaceFieldsEditorLayoutItem) GetName() string
- func (s *EditorInterfaceFieldsEditorLayoutItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceFieldsEditorLayoutItem) SetGroupId(val string)
- func (s *EditorInterfaceFieldsEditorLayoutItem) SetItems(val []jx.Raw)
- func (s *EditorInterfaceFieldsEditorLayoutItem) SetName(val string)
- func (s *EditorInterfaceFieldsEditorLayoutItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceFieldsGroupControlsItem
- func (s *EditorInterfaceFieldsGroupControlsItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceFieldsGroupControlsItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceFieldsGroupControlsItem) GetGroupId() string
- func (s *EditorInterfaceFieldsGroupControlsItem) GetSettings() jx.Raw
- func (s *EditorInterfaceFieldsGroupControlsItem) GetWidgetId() OptString
- func (s *EditorInterfaceFieldsGroupControlsItem) GetWidgetNamespace() OptString
- func (s *EditorInterfaceFieldsGroupControlsItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceFieldsGroupControlsItem) SetGroupId(val string)
- func (s *EditorInterfaceFieldsGroupControlsItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceFieldsGroupControlsItem) SetWidgetId(val OptString)
- func (s *EditorInterfaceFieldsGroupControlsItem) SetWidgetNamespace(val OptString)
- func (s *EditorInterfaceFieldsGroupControlsItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceFieldsSidebarItem
- func (s *EditorInterfaceFieldsSidebarItem) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceFieldsSidebarItem) Encode(e *jx.Encoder)
- func (s *EditorInterfaceFieldsSidebarItem) GetDisabled() OptBool
- func (s *EditorInterfaceFieldsSidebarItem) GetSettings() jx.Raw
- func (s *EditorInterfaceFieldsSidebarItem) GetWidgetId() string
- func (s *EditorInterfaceFieldsSidebarItem) GetWidgetNamespace() string
- func (s *EditorInterfaceFieldsSidebarItem) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceFieldsSidebarItem) SetDisabled(val OptBool)
- func (s *EditorInterfaceFieldsSidebarItem) SetSettings(val jx.Raw)
- func (s *EditorInterfaceFieldsSidebarItem) SetWidgetId(val string)
- func (s *EditorInterfaceFieldsSidebarItem) SetWidgetNamespace(val string)
- func (s *EditorInterfaceFieldsSidebarItem) UnmarshalJSON(data []byte) error
- 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 EditorInterfaceSys
- func (s *EditorInterfaceSys) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceSys) Encode(e *jx.Encoder)
- func (s *EditorInterfaceSys) GetContentType() ContentTypeLink
- func (s *EditorInterfaceSys) GetCreatedAt() OptDateTime
- func (s *EditorInterfaceSys) GetEnvironment() EnvironmentLink
- func (s *EditorInterfaceSys) GetID() string
- func (s *EditorInterfaceSys) GetSpace() SpaceLink
- func (s *EditorInterfaceSys) GetType() EditorInterfaceSysType
- func (s *EditorInterfaceSys) GetUpdatedAt() OptDateTime
- func (s *EditorInterfaceSys) GetVersion() int
- func (s *EditorInterfaceSys) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceSys) SetContentType(val ContentTypeLink)
- func (s *EditorInterfaceSys) SetCreatedAt(val OptDateTime)
- 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) SetUpdatedAt(val OptDateTime)
- 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 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 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 ErrorStatusCode
- 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 GetAppInstallationParams
- type GetAppInstallationRes
- type GetAuthenticatedUserRes
- type GetContentTypeParams
- type GetContentTypeRes
- type GetDeliveryApiKeyParams
- type GetDeliveryApiKeyRes
- type GetEditorInterfaceParams
- type GetEditorInterfaceRes
- type GetPersonalAccessTokenParams
- type GetPersonalAccessTokenRes
- type GetPreviewApiKeyParams
- type GetPreviewApiKeyRes
- 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 GetWebhookDefinitionParams
- type GetWebhookDefinitionRes
- type Invoker
- 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
- type NoContent
- type OperationName
- type OptApiKeyPreviewAPIKey
- func (o *OptApiKeyPreviewAPIKey) Decode(d *jx.Decoder) error
- func (o OptApiKeyPreviewAPIKey) Encode(e *jx.Encoder)
- func (o OptApiKeyPreviewAPIKey) Get() (v ApiKeyPreviewAPIKey, ok bool)
- func (o OptApiKeyPreviewAPIKey) IsSet() bool
- func (s OptApiKeyPreviewAPIKey) MarshalJSON() ([]byte, error)
- func (o OptApiKeyPreviewAPIKey) Or(d ApiKeyPreviewAPIKey) ApiKeyPreviewAPIKey
- func (o *OptApiKeyPreviewAPIKey) Reset()
- func (o *OptApiKeyPreviewAPIKey) SetTo(v ApiKeyPreviewAPIKey)
- func (s *OptApiKeyPreviewAPIKey) 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 OptContentTypeRequestFieldsFieldsItemItems
- func (o *OptContentTypeRequestFieldsFieldsItemItems) Decode(d *jx.Decoder) error
- func (o OptContentTypeRequestFieldsFieldsItemItems) Encode(e *jx.Encoder)
- func (o OptContentTypeRequestFieldsFieldsItemItems) Get() (v ContentTypeRequestFieldsFieldsItemItems, ok bool)
- func (o OptContentTypeRequestFieldsFieldsItemItems) IsSet() bool
- func (s OptContentTypeRequestFieldsFieldsItemItems) MarshalJSON() ([]byte, error)
- func (o OptContentTypeRequestFieldsFieldsItemItems) Or(d ContentTypeRequestFieldsFieldsItemItems) ContentTypeRequestFieldsFieldsItemItems
- func (o *OptContentTypeRequestFieldsFieldsItemItems) Reset()
- func (o *OptContentTypeRequestFieldsFieldsItemItems) SetTo(v ContentTypeRequestFieldsFieldsItemItems)
- func (s *OptContentTypeRequestFieldsFieldsItemItems) 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 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 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 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 OptNilEditorInterfaceFieldsControlsItemArray
- func (o *OptNilEditorInterfaceFieldsControlsItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceFieldsControlsItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceFieldsControlsItemArray) Get() (v []EditorInterfaceFieldsControlsItem, ok bool)
- func (o OptNilEditorInterfaceFieldsControlsItemArray) IsNull() bool
- func (o OptNilEditorInterfaceFieldsControlsItemArray) IsSet() bool
- func (s OptNilEditorInterfaceFieldsControlsItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceFieldsControlsItemArray) Or(d []EditorInterfaceFieldsControlsItem) []EditorInterfaceFieldsControlsItem
- func (o *OptNilEditorInterfaceFieldsControlsItemArray) Reset()
- func (o *OptNilEditorInterfaceFieldsControlsItemArray) SetTo(v []EditorInterfaceFieldsControlsItem)
- func (o *OptNilEditorInterfaceFieldsControlsItemArray) SetToNull()
- func (s *OptNilEditorInterfaceFieldsControlsItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceFieldsEditorLayoutItemArray
- func (o *OptNilEditorInterfaceFieldsEditorLayoutItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) Get() (v []EditorInterfaceFieldsEditorLayoutItem, ok bool)
- func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) IsNull() bool
- func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) IsSet() bool
- func (s OptNilEditorInterfaceFieldsEditorLayoutItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) Or(d []EditorInterfaceFieldsEditorLayoutItem) []EditorInterfaceFieldsEditorLayoutItem
- func (o *OptNilEditorInterfaceFieldsEditorLayoutItemArray) Reset()
- func (o *OptNilEditorInterfaceFieldsEditorLayoutItemArray) SetTo(v []EditorInterfaceFieldsEditorLayoutItem)
- func (o *OptNilEditorInterfaceFieldsEditorLayoutItemArray) SetToNull()
- func (s *OptNilEditorInterfaceFieldsEditorLayoutItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceFieldsGroupControlsItemArray
- func (o *OptNilEditorInterfaceFieldsGroupControlsItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) Get() (v []EditorInterfaceFieldsGroupControlsItem, ok bool)
- func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) IsNull() bool
- func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) IsSet() bool
- func (s OptNilEditorInterfaceFieldsGroupControlsItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) Or(d []EditorInterfaceFieldsGroupControlsItem) []EditorInterfaceFieldsGroupControlsItem
- func (o *OptNilEditorInterfaceFieldsGroupControlsItemArray) Reset()
- func (o *OptNilEditorInterfaceFieldsGroupControlsItemArray) SetTo(v []EditorInterfaceFieldsGroupControlsItem)
- func (o *OptNilEditorInterfaceFieldsGroupControlsItemArray) SetToNull()
- func (s *OptNilEditorInterfaceFieldsGroupControlsItemArray) UnmarshalJSON(data []byte) error
- type OptNilEditorInterfaceFieldsSidebarItemArray
- func (o *OptNilEditorInterfaceFieldsSidebarItemArray) Decode(d *jx.Decoder) error
- func (o OptNilEditorInterfaceFieldsSidebarItemArray) Encode(e *jx.Encoder)
- func (o OptNilEditorInterfaceFieldsSidebarItemArray) Get() (v []EditorInterfaceFieldsSidebarItem, ok bool)
- func (o OptNilEditorInterfaceFieldsSidebarItemArray) IsNull() bool
- func (o OptNilEditorInterfaceFieldsSidebarItemArray) IsSet() bool
- func (s OptNilEditorInterfaceFieldsSidebarItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilEditorInterfaceFieldsSidebarItemArray) Or(d []EditorInterfaceFieldsSidebarItem) []EditorInterfaceFieldsSidebarItem
- func (o *OptNilEditorInterfaceFieldsSidebarItemArray) Reset()
- func (o *OptNilEditorInterfaceFieldsSidebarItemArray) SetTo(v []EditorInterfaceFieldsSidebarItem)
- func (o *OptNilEditorInterfaceFieldsSidebarItemArray) SetToNull()
- func (s *OptNilEditorInterfaceFieldsSidebarItemArray) 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 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 OptNilWebhookDefinitionFieldsTransformation
- func (o *OptNilWebhookDefinitionFieldsTransformation) Decode(d *jx.Decoder) error
- func (o OptNilWebhookDefinitionFieldsTransformation) Encode(e *jx.Encoder)
- func (o OptNilWebhookDefinitionFieldsTransformation) Get() (v WebhookDefinitionFieldsTransformation, ok bool)
- func (o OptNilWebhookDefinitionFieldsTransformation) IsNull() bool
- func (o OptNilWebhookDefinitionFieldsTransformation) IsSet() bool
- func (s OptNilWebhookDefinitionFieldsTransformation) MarshalJSON() ([]byte, error)
- func (o OptNilWebhookDefinitionFieldsTransformation) Or(d WebhookDefinitionFieldsTransformation) WebhookDefinitionFieldsTransformation
- func (o *OptNilWebhookDefinitionFieldsTransformation) Reset()
- func (o *OptNilWebhookDefinitionFieldsTransformation) SetTo(v WebhookDefinitionFieldsTransformation)
- func (o *OptNilWebhookDefinitionFieldsTransformation) SetToNull()
- func (s *OptNilWebhookDefinitionFieldsTransformation) 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 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 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 PersonalAccessTokenRequestFields
- func (s *PersonalAccessTokenRequestFields) Decode(d *jx.Decoder) error
- func (s *PersonalAccessTokenRequestFields) Encode(e *jx.Encoder)
- func (s *PersonalAccessTokenRequestFields) GetExpiresIn() OptNilInt
- func (s *PersonalAccessTokenRequestFields) GetName() string
- func (s *PersonalAccessTokenRequestFields) GetScopes() []string
- func (s *PersonalAccessTokenRequestFields) MarshalJSON() ([]byte, error)
- func (s *PersonalAccessTokenRequestFields) SetExpiresIn(val OptNilInt)
- func (s *PersonalAccessTokenRequestFields) SetName(val string)
- func (s *PersonalAccessTokenRequestFields) SetScopes(val []string)
- func (s *PersonalAccessTokenRequestFields) UnmarshalJSON(data []byte) error
- func (s *PersonalAccessTokenRequestFields) 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 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) GetCreatedAt() OptDateTime
- func (s *PreviewApiKeySys) GetID() string
- func (s *PreviewApiKeySys) GetSpace() SpaceLink
- func (s *PreviewApiKeySys) GetType() PreviewApiKeySysType
- func (s *PreviewApiKeySys) GetUpdatedAt() OptDateTime
- func (s *PreviewApiKeySys) GetVersion() int
- func (s *PreviewApiKeySys) MarshalJSON() ([]byte, error)
- func (s *PreviewApiKeySys) SetCreatedAt(val OptDateTime)
- func (s *PreviewApiKeySys) SetID(val string)
- func (s *PreviewApiKeySys) SetSpace(val SpaceLink)
- func (s *PreviewApiKeySys) SetType(val PreviewApiKeySysType)
- func (s *PreviewApiKeySys) SetUpdatedAt(val OptDateTime)
- 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 PutAppInstallationParams
- type PutAppInstallationRes
- type PutContentTypeCreated
- type PutContentTypeOK
- type PutContentTypeParams
- type PutContentTypeRes
- type PutEditorInterfaceParams
- type PutEditorInterfaceRes
- type PutSpaceEnablementsParams
- type PutSpaceEnablementsRes
- 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 RoleFields
- func (s *RoleFields) Decode(d *jx.Decoder) error
- func (s *RoleFields) Encode(e *jx.Encoder)
- func (s *RoleFields) GetDescription() OptNilString
- func (s *RoleFields) GetName() string
- func (s *RoleFields) GetPermissions() RoleFieldsPermissions
- func (s *RoleFields) GetPolicies() []RoleFieldsPoliciesItem
- func (s *RoleFields) MarshalJSON() ([]byte, error)
- func (s *RoleFields) SetDescription(val OptNilString)
- func (s *RoleFields) SetName(val string)
- func (s *RoleFields) SetPermissions(val RoleFieldsPermissions)
- func (s *RoleFields) SetPolicies(val []RoleFieldsPoliciesItem)
- func (s *RoleFields) UnmarshalJSON(data []byte) error
- func (s *RoleFields) Validate() error
- type RoleFieldsPermissions
- type RoleFieldsPermissionsItem
- func (s *RoleFieldsPermissionsItem) Decode(d *jx.Decoder) error
- func (s RoleFieldsPermissionsItem) Encode(e *jx.Encoder)
- func (s RoleFieldsPermissionsItem) GetString() (v string, ok bool)
- func (s RoleFieldsPermissionsItem) GetStringArray() (v []string, ok bool)
- func (s RoleFieldsPermissionsItem) IsString() bool
- func (s RoleFieldsPermissionsItem) IsStringArray() bool
- func (s RoleFieldsPermissionsItem) MarshalJSON() ([]byte, error)
- func (s *RoleFieldsPermissionsItem) SetString(v string)
- func (s *RoleFieldsPermissionsItem) SetStringArray(v []string)
- func (s *RoleFieldsPermissionsItem) UnmarshalJSON(data []byte) error
- func (s RoleFieldsPermissionsItem) Validate() error
- type RoleFieldsPermissionsItemType
- type RoleFieldsPoliciesItem
- func (s *RoleFieldsPoliciesItem) Decode(d *jx.Decoder) error
- func (s *RoleFieldsPoliciesItem) Encode(e *jx.Encoder)
- func (s *RoleFieldsPoliciesItem) GetActions() RoleFieldsPoliciesItemActions
- func (s *RoleFieldsPoliciesItem) GetConstraint() jx.Raw
- func (s *RoleFieldsPoliciesItem) GetEffect() RoleFieldsPoliciesItemEffect
- func (s *RoleFieldsPoliciesItem) MarshalJSON() ([]byte, error)
- func (s *RoleFieldsPoliciesItem) SetActions(val RoleFieldsPoliciesItemActions)
- func (s *RoleFieldsPoliciesItem) SetConstraint(val jx.Raw)
- func (s *RoleFieldsPoliciesItem) SetEffect(val RoleFieldsPoliciesItemEffect)
- func (s *RoleFieldsPoliciesItem) UnmarshalJSON(data []byte) error
- func (s *RoleFieldsPoliciesItem) Validate() error
- type RoleFieldsPoliciesItemActions
- func (s *RoleFieldsPoliciesItemActions) Decode(d *jx.Decoder) error
- func (s RoleFieldsPoliciesItemActions) Encode(e *jx.Encoder)
- func (s RoleFieldsPoliciesItemActions) GetString() (v string, ok bool)
- func (s RoleFieldsPoliciesItemActions) GetStringArray() (v []string, ok bool)
- func (s RoleFieldsPoliciesItemActions) IsString() bool
- func (s RoleFieldsPoliciesItemActions) IsStringArray() bool
- func (s RoleFieldsPoliciesItemActions) MarshalJSON() ([]byte, error)
- func (s *RoleFieldsPoliciesItemActions) SetString(v string)
- func (s *RoleFieldsPoliciesItemActions) SetStringArray(v []string)
- func (s *RoleFieldsPoliciesItemActions) UnmarshalJSON(data []byte) error
- func (s RoleFieldsPoliciesItemActions) Validate() error
- type RoleFieldsPoliciesItemActionsType
- type RoleFieldsPoliciesItemEffect
- func (RoleFieldsPoliciesItemEffect) AllValues() []RoleFieldsPoliciesItemEffect
- func (s *RoleFieldsPoliciesItemEffect) Decode(d *jx.Decoder) error
- func (s RoleFieldsPoliciesItemEffect) Encode(e *jx.Encoder)
- func (s RoleFieldsPoliciesItemEffect) MarshalJSON() ([]byte, error)
- func (s RoleFieldsPoliciesItemEffect) MarshalText() ([]byte, error)
- func (s *RoleFieldsPoliciesItemEffect) UnmarshalJSON(data []byte) error
- func (s *RoleFieldsPoliciesItemEffect) UnmarshalText(data []byte) error
- func (s RoleFieldsPoliciesItemEffect) 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 RoleSys
- func (s *RoleSys) Decode(d *jx.Decoder) error
- func (s *RoleSys) Encode(e *jx.Encoder)
- func (s *RoleSys) GetCreatedAt() OptDateTime
- func (s *RoleSys) GetID() string
- func (s *RoleSys) GetSpace() SpaceLink
- func (s *RoleSys) GetType() RoleSysType
- func (s *RoleSys) GetUpdatedAt() OptDateTime
- func (s *RoleSys) GetVersion() int
- func (s *RoleSys) MarshalJSON() ([]byte, error)
- func (s *RoleSys) SetCreatedAt(val OptDateTime)
- func (s *RoleSys) SetID(val string)
- func (s *RoleSys) SetSpace(val SpaceLink)
- func (s *RoleSys) SetType(val RoleSysType)
- func (s *RoleSys) SetUpdatedAt(val OptDateTime)
- 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 SecuritySource
- 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 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 SpaceEnablementFields
- func (s *SpaceEnablementFields) Decode(d *jx.Decoder) error
- func (s *SpaceEnablementFields) Encode(e *jx.Encoder)
- func (s *SpaceEnablementFields) GetCrossSpaceLinks() OptSpaceEnablementField
- func (s *SpaceEnablementFields) GetSpaceTemplates() OptSpaceEnablementField
- func (s *SpaceEnablementFields) GetStudioExperiences() OptSpaceEnablementField
- func (s *SpaceEnablementFields) GetSuggestConcepts() OptSpaceEnablementField
- func (s *SpaceEnablementFields) MarshalJSON() ([]byte, error)
- func (s *SpaceEnablementFields) SetCrossSpaceLinks(val OptSpaceEnablementField)
- func (s *SpaceEnablementFields) SetSpaceTemplates(val OptSpaceEnablementField)
- func (s *SpaceEnablementFields) SetStudioExperiences(val OptSpaceEnablementField)
- func (s *SpaceEnablementFields) SetSuggestConcepts(val OptSpaceEnablementField)
- func (s *SpaceEnablementFields) UnmarshalJSON(data []byte) error
- type SpaceEnablementSys
- func (s *SpaceEnablementSys) Decode(d *jx.Decoder) error
- func (s *SpaceEnablementSys) Encode(e *jx.Encoder)
- func (s *SpaceEnablementSys) GetCreatedAt() OptDateTime
- func (s *SpaceEnablementSys) GetSpace() SpaceLink
- func (s *SpaceEnablementSys) GetType() SpaceEnablementSysType
- func (s *SpaceEnablementSys) GetUpdatedAt() OptDateTime
- func (s *SpaceEnablementSys) GetVersion() int
- func (s *SpaceEnablementSys) MarshalJSON() ([]byte, error)
- func (s *SpaceEnablementSys) SetCreatedAt(val OptDateTime)
- func (s *SpaceEnablementSys) SetSpace(val SpaceLink)
- func (s *SpaceEnablementSys) SetType(val SpaceEnablementSysType)
- func (s *SpaceEnablementSys) SetUpdatedAt(val OptDateTime)
- 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 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 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) GetCreatedAt() OptDateTime
- func (s *UserSys) GetID() string
- func (s *UserSys) GetType() UserSysType
- func (s *UserSys) GetUpdatedAt() OptDateTime
- func (s *UserSys) GetVersion() int
- func (s *UserSys) MarshalJSON() ([]byte, error)
- func (s *UserSys) SetCreatedAt(val OptDateTime)
- func (s *UserSys) SetID(val string)
- func (s *UserSys) SetType(val UserSysType)
- func (s *UserSys) SetUpdatedAt(val OptDateTime)
- 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 WebhookDefinitionFields
- func (s *WebhookDefinitionFields) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionFields) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionFields) GetActive() OptBool
- func (s *WebhookDefinitionFields) GetFilters() OptNilWebhookDefinitionFilterArray
- func (s *WebhookDefinitionFields) GetHeaders() WebhookDefinitionHeaders
- func (s *WebhookDefinitionFields) GetHttpBasicPassword() OptNilString
- func (s *WebhookDefinitionFields) GetHttpBasicUsername() OptNilString
- func (s *WebhookDefinitionFields) GetName() string
- func (s *WebhookDefinitionFields) GetTopics() []string
- func (s *WebhookDefinitionFields) GetTransformation() OptNilWebhookDefinitionFieldsTransformation
- func (s *WebhookDefinitionFields) GetURL() string
- func (s *WebhookDefinitionFields) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionFields) SetActive(val OptBool)
- func (s *WebhookDefinitionFields) SetFilters(val OptNilWebhookDefinitionFilterArray)
- func (s *WebhookDefinitionFields) SetHeaders(val WebhookDefinitionHeaders)
- func (s *WebhookDefinitionFields) SetHttpBasicPassword(val OptNilString)
- func (s *WebhookDefinitionFields) SetHttpBasicUsername(val OptNilString)
- func (s *WebhookDefinitionFields) SetName(val string)
- func (s *WebhookDefinitionFields) SetTopics(val []string)
- func (s *WebhookDefinitionFields) SetTransformation(val OptNilWebhookDefinitionFieldsTransformation)
- func (s *WebhookDefinitionFields) SetURL(val string)
- func (s *WebhookDefinitionFields) UnmarshalJSON(data []byte) error
- func (s *WebhookDefinitionFields) Validate() error
- type WebhookDefinitionFieldsTransformation
- func (s *WebhookDefinitionFieldsTransformation) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionFieldsTransformation) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionFieldsTransformation) GetBody() jx.Raw
- func (s *WebhookDefinitionFieldsTransformation) GetContentType() OptString
- func (s *WebhookDefinitionFieldsTransformation) GetIncludeContentLength() OptBool
- func (s *WebhookDefinitionFieldsTransformation) GetMethod() OptString
- func (s *WebhookDefinitionFieldsTransformation) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionFieldsTransformation) SetBody(val jx.Raw)
- func (s *WebhookDefinitionFieldsTransformation) SetContentType(val OptString)
- func (s *WebhookDefinitionFieldsTransformation) SetIncludeContentLength(val OptBool)
- func (s *WebhookDefinitionFieldsTransformation) SetMethod(val OptString)
- func (s *WebhookDefinitionFieldsTransformation) 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 WebhookDefinitionSys
- func (s *WebhookDefinitionSys) Decode(d *jx.Decoder) error
- func (s *WebhookDefinitionSys) Encode(e *jx.Encoder)
- func (s *WebhookDefinitionSys) GetCreatedAt() OptDateTime
- func (s *WebhookDefinitionSys) GetID() string
- func (s *WebhookDefinitionSys) GetSpace() SpaceLink
- func (s *WebhookDefinitionSys) GetType() WebhookDefinitionSysType
- func (s *WebhookDefinitionSys) GetUpdatedAt() OptDateTime
- func (s *WebhookDefinitionSys) GetVersion() int
- func (s *WebhookDefinitionSys) MarshalJSON() ([]byte, error)
- func (s *WebhookDefinitionSys) SetCreatedAt(val OptDateTime)
- func (s *WebhookDefinitionSys) SetID(val string)
- func (s *WebhookDefinitionSys) SetSpace(val SpaceLink)
- func (s *WebhookDefinitionSys) SetType(val WebhookDefinitionSysType)
- func (s *WebhookDefinitionSys) SetUpdatedAt(val OptDateTime)
- 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"
)
Variables ¶
This section is empty.
Functions ¶
func NewClientWithUserAgent ¶ added in v0.0.5
Types ¶
type AccessToken ¶
type AccessToken struct {
Token string
}
func (*AccessToken) GetToken ¶
func (s *AccessToken) GetToken() string
GetToken returns the value of Token.
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 OptApiKeyPreviewAPIKey `json:"preview_api_key"` }
Merged schema. Ref: #/components/schemas/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() OptApiKeyPreviewAPIKey
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 OptApiKeyPreviewAPIKey)
SetPreviewAPIKey sets the value of PreviewAPIKey.
func (*ApiKey) UnmarshalJSON ¶ added in v0.0.10
UnmarshalJSON implements stdjson.Unmarshaler.
type ApiKeyPreviewAPIKey ¶ added in v0.0.10
type ApiKeyPreviewAPIKey struct {
Sys ApiKeyPreviewAPIKeySys `json:"sys"`
}
func (*ApiKeyPreviewAPIKey) Decode ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKey) Decode(d *jx.Decoder) error
Decode decodes ApiKeyPreviewAPIKey from json.
func (*ApiKeyPreviewAPIKey) Encode ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKey) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ApiKeyPreviewAPIKey) GetSys ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKey) GetSys() ApiKeyPreviewAPIKeySys
GetSys returns the value of Sys.
func (*ApiKeyPreviewAPIKey) MarshalJSON ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKey) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApiKeyPreviewAPIKey) SetSys ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKey) SetSys(val ApiKeyPreviewAPIKeySys)
SetSys sets the value of Sys.
func (*ApiKeyPreviewAPIKey) UnmarshalJSON ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKey) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApiKeyPreviewAPIKey) Validate ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKey) Validate() error
type ApiKeyPreviewAPIKeySys ¶ added in v0.0.10
type ApiKeyPreviewAPIKeySys struct { // Merged property. Type ApiKeyPreviewAPIKeySysType `json:"type"` ID string `json:"id"` // Merged property. LinkType ApiKeyPreviewAPIKeySysLinkType `json:"linkType"` }
Merged schema.
func (*ApiKeyPreviewAPIKeySys) Decode ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) Decode(d *jx.Decoder) error
Decode decodes ApiKeyPreviewAPIKeySys from json.
func (*ApiKeyPreviewAPIKeySys) Encode ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ApiKeyPreviewAPIKeySys) GetID ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) GetID() string
GetID returns the value of ID.
func (*ApiKeyPreviewAPIKeySys) GetLinkType ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) GetLinkType() ApiKeyPreviewAPIKeySysLinkType
GetLinkType returns the value of LinkType.
func (*ApiKeyPreviewAPIKeySys) GetType ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) GetType() ApiKeyPreviewAPIKeySysType
GetType returns the value of Type.
func (*ApiKeyPreviewAPIKeySys) MarshalJSON ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApiKeyPreviewAPIKeySys) SetID ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) SetID(val string)
SetID sets the value of ID.
func (*ApiKeyPreviewAPIKeySys) SetLinkType ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) SetLinkType(val ApiKeyPreviewAPIKeySysLinkType)
SetLinkType sets the value of LinkType.
func (*ApiKeyPreviewAPIKeySys) SetType ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) SetType(val ApiKeyPreviewAPIKeySysType)
SetType sets the value of Type.
func (*ApiKeyPreviewAPIKeySys) UnmarshalJSON ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApiKeyPreviewAPIKeySys) Validate ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySys) Validate() error
type ApiKeyPreviewAPIKeySysLinkType ¶ added in v0.0.10
type ApiKeyPreviewAPIKeySysLinkType string
Merged schema.
const (
ApiKeyPreviewAPIKeySysLinkTypePreviewApiKey ApiKeyPreviewAPIKeySysLinkType = "PreviewApiKey"
)
func (ApiKeyPreviewAPIKeySysLinkType) AllValues ¶ added in v0.0.10
func (ApiKeyPreviewAPIKeySysLinkType) AllValues() []ApiKeyPreviewAPIKeySysLinkType
AllValues returns all ApiKeyPreviewAPIKeySysLinkType values.
func (*ApiKeyPreviewAPIKeySysLinkType) Decode ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySysLinkType) Decode(d *jx.Decoder) error
Decode decodes ApiKeyPreviewAPIKeySysLinkType from json.
func (ApiKeyPreviewAPIKeySysLinkType) Encode ¶ added in v0.0.10
func (s ApiKeyPreviewAPIKeySysLinkType) Encode(e *jx.Encoder)
Encode encodes ApiKeyPreviewAPIKeySysLinkType as json.
func (ApiKeyPreviewAPIKeySysLinkType) MarshalJSON ¶ added in v0.0.10
func (s ApiKeyPreviewAPIKeySysLinkType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ApiKeyPreviewAPIKeySysLinkType) MarshalText ¶ added in v0.0.10
func (s ApiKeyPreviewAPIKeySysLinkType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ApiKeyPreviewAPIKeySysLinkType) UnmarshalJSON ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySysLinkType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApiKeyPreviewAPIKeySysLinkType) UnmarshalText ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySysLinkType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ApiKeyPreviewAPIKeySysLinkType) Validate ¶ added in v0.0.10
func (s ApiKeyPreviewAPIKeySysLinkType) Validate() error
type ApiKeyPreviewAPIKeySysType ¶ added in v0.0.10
type ApiKeyPreviewAPIKeySysType string
Merged schema.
const (
ApiKeyPreviewAPIKeySysTypeLink ApiKeyPreviewAPIKeySysType = "Link"
)
func (ApiKeyPreviewAPIKeySysType) AllValues ¶ added in v0.0.10
func (ApiKeyPreviewAPIKeySysType) AllValues() []ApiKeyPreviewAPIKeySysType
AllValues returns all ApiKeyPreviewAPIKeySysType values.
func (*ApiKeyPreviewAPIKeySysType) Decode ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySysType) Decode(d *jx.Decoder) error
Decode decodes ApiKeyPreviewAPIKeySysType from json.
func (ApiKeyPreviewAPIKeySysType) Encode ¶ added in v0.0.10
func (s ApiKeyPreviewAPIKeySysType) Encode(e *jx.Encoder)
Encode encodes ApiKeyPreviewAPIKeySysType as json.
func (ApiKeyPreviewAPIKeySysType) MarshalJSON ¶ added in v0.0.10
func (s ApiKeyPreviewAPIKeySysType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ApiKeyPreviewAPIKeySysType) MarshalText ¶ added in v0.0.10
func (s ApiKeyPreviewAPIKeySysType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ApiKeyPreviewAPIKeySysType) UnmarshalJSON ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySysType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApiKeyPreviewAPIKeySysType) UnmarshalText ¶ added in v0.0.10
func (s *ApiKeyPreviewAPIKeySysType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ApiKeyPreviewAPIKeySysType) Validate ¶ added in v0.0.10
func (s ApiKeyPreviewAPIKeySysType) Validate() error
type ApiKeyRequestFields ¶ added in v0.0.18
type ApiKeyRequestFields struct { Name string `json:"name"` Description OptNilString `json:"description"` Environments []EnvironmentLink `json:"environments"` }
Ref: #/components/schemas/ApiKeyRequestFields
func (*ApiKeyRequestFields) Decode ¶ added in v0.0.18
func (s *ApiKeyRequestFields) Decode(d *jx.Decoder) error
Decode decodes ApiKeyRequestFields from json.
func (*ApiKeyRequestFields) Encode ¶ added in v0.0.18
func (s *ApiKeyRequestFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ApiKeyRequestFields) GetDescription ¶ added in v0.0.18
func (s *ApiKeyRequestFields) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*ApiKeyRequestFields) GetEnvironments ¶ added in v0.0.18
func (s *ApiKeyRequestFields) GetEnvironments() []EnvironmentLink
GetEnvironments returns the value of Environments.
func (*ApiKeyRequestFields) GetName ¶ added in v0.0.18
func (s *ApiKeyRequestFields) GetName() string
GetName returns the value of Name.
func (*ApiKeyRequestFields) MarshalJSON ¶ added in v0.0.18
func (s *ApiKeyRequestFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApiKeyRequestFields) SetDescription ¶ added in v0.0.18
func (s *ApiKeyRequestFields) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*ApiKeyRequestFields) SetEnvironments ¶ added in v0.0.18
func (s *ApiKeyRequestFields) SetEnvironments(val []EnvironmentLink)
SetEnvironments sets the value of Environments.
func (*ApiKeyRequestFields) SetName ¶ added in v0.0.18
func (s *ApiKeyRequestFields) SetName(val string)
SetName sets the value of Name.
func (*ApiKeyRequestFields) UnmarshalJSON ¶ added in v0.0.18
func (s *ApiKeyRequestFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApiKeyRequestFields) Validate ¶ added in v0.0.18
func (s *ApiKeyRequestFields) Validate() error
type ApiKeySys ¶ added in v0.0.10
type ApiKeySys struct { // Merged property. Type ApiKeySysType `json:"type"` Space SpaceLink `json:"space"` ID string `json:"id"` Version int `json:"version"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` }
Merged schema. Ref: #/components/schemas/ApiKeySys
func (*ApiKeySys) GetCreatedAt ¶ added in v0.0.10
func (s *ApiKeySys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*ApiKeySys) GetType ¶ added in v0.0.10
func (s *ApiKeySys) GetType() ApiKeySysType
GetType returns the value of Type.
func (*ApiKeySys) GetUpdatedAt ¶ added in v0.0.10
func (s *ApiKeySys) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
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) SetCreatedAt ¶ added in v0.0.10
func (s *ApiKeySys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*ApiKeySys) SetType ¶ added in v0.0.10
func (s *ApiKeySys) SetType(val ApiKeySysType)
SetType sets the value of Type.
func (*ApiKeySys) SetUpdatedAt ¶ added in v0.0.10
func (s *ApiKeySys) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
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 AppDefinitionLink ¶ added in v0.0.18
type AppDefinitionLink struct {
Sys AppDefinitionLinkSys `json:"sys"`
}
Ref: #/components/schemas/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 (*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 AppInstallation ¶
type AppInstallation struct { Sys AppInstallationSys `json:"sys"` Parameters jx.Raw `json:"parameters"` }
Merged schema. Ref: #/components/schemas/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 AppInstallationFields ¶ added in v0.0.18
Ref: #/components/schemas/AppInstallationFields
func (*AppInstallationFields) Decode ¶ added in v0.0.18
func (s *AppInstallationFields) Decode(d *jx.Decoder) error
Decode decodes AppInstallationFields from json.
func (*AppInstallationFields) Encode ¶ added in v0.0.18
func (s *AppInstallationFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AppInstallationFields) GetParameters ¶ added in v0.0.18
func (s *AppInstallationFields) GetParameters() jx.Raw
GetParameters returns the value of Parameters.
func (*AppInstallationFields) MarshalJSON ¶ added in v0.0.18
func (s *AppInstallationFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppInstallationFields) SetParameters ¶ added in v0.0.18
func (s *AppInstallationFields) SetParameters(val jx.Raw)
SetParameters sets the value of Parameters.
func (*AppInstallationFields) UnmarshalJSON ¶ added in v0.0.18
func (s *AppInstallationFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppInstallationSys ¶
type AppInstallationSys struct { // Merged property. Type AppInstallationSysType `json:"type"` Space SpaceLink `json:"space"` Environment EnvironmentLink `json:"environment"` AppDefinition AppDefinitionLink `json:"appDefinition"` }
Merged schema. Ref: #/components/schemas/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 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) (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) CreateDeliveryApiKey ¶ added in v0.0.12
func (c *Client) CreateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, params CreateDeliveryApiKeyParams) (CreateDeliveryApiKeyRes, error)
CreateDeliveryApiKey invokes createDeliveryApiKey operation.
Create a delivery api key.
POST /spaces/{space_id}/api_keys
func (*Client) CreatePersonalAccessToken ¶ added in v0.0.12
func (c *Client) CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestFields) (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 *RoleFields, params CreateRoleParams) (CreateRoleRes, error)
CreateRole invokes createRole operation.
Create a role.
POST /spaces/{space_id}/roles
func (*Client) CreateWebhookDefinition ¶ added in v0.0.17
func (c *Client) CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionFields, params CreateWebhookDefinitionParams) (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) (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) DeleteAppInstallation ¶
func (c *Client) DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams) (DeleteAppInstallationRes, error)
DeleteAppInstallation invokes deleteAppInstallation operation.
Uninstall an app.
DELETE /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
func (*Client) DeleteContentType ¶ added in v0.0.5
func (c *Client) DeleteContentType(ctx context.Context, params DeleteContentTypeParams) (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.12
func (c *Client) DeleteDeliveryApiKey(ctx context.Context, params DeleteDeliveryApiKeyParams) (DeleteDeliveryApiKeyRes, error)
DeleteDeliveryApiKey invokes deleteDeliveryApiKey operation.
Delete a single delivery api key.
DELETE /spaces/{space_id}/api_keys/{api_key_id}
func (*Client) DeleteRole ¶ added in v0.0.15
func (c *Client) DeleteRole(ctx context.Context, params DeleteRoleParams) (DeleteRoleRes, error)
DeleteRole invokes deleteRole operation.
Delete a role.
DELETE /spaces/{space_id}/roles/{role_id}
func (*Client) DeleteWebhookDefinition ¶ added in v0.0.17
func (c *Client) DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams) (DeleteWebhookDefinitionRes, error)
DeleteWebhookDefinition invokes deleteWebhookDefinition operation.
Delete a webhook definition.
DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
func (*Client) GetAppInstallation ¶
func (c *Client) GetAppInstallation(ctx context.Context, params GetAppInstallationParams) (GetAppInstallationRes, error)
GetAppInstallation invokes getAppInstallation operation.
Get one app installation.
GET /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
func (*Client) GetAuthenticatedUser ¶
func (c *Client) GetAuthenticatedUser(ctx context.Context) (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) (GetContentTypeRes, error)
GetContentType invokes getContentType operation.
Get a content type.
GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
func (*Client) GetDeliveryApiKey ¶ added in v0.0.12
func (c *Client) GetDeliveryApiKey(ctx context.Context, params GetDeliveryApiKeyParams) (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) (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) GetPersonalAccessToken ¶ added in v0.0.12
func (c *Client) GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams) (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.10
func (c *Client) GetPreviewApiKey(ctx context.Context, params GetPreviewApiKeyParams) (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) GetRole ¶ added in v0.0.15
func (c *Client) GetRole(ctx context.Context, params GetRoleParams) (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) (GetSpaceEnablementsRes, error)
GetSpaceEnablements invokes getSpaceEnablements operation.
Get enablements for a space.
GET /spaces/{space_id}/enablements
func (*Client) GetWebhookDefinition ¶ added in v0.0.17
func (c *Client) GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams) (GetWebhookDefinitionRes, error)
GetWebhookDefinition invokes getWebhookDefinition operation.
Get a webhook definition.
GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
func (*Client) PutAppInstallation ¶
func (c *Client) PutAppInstallation(ctx context.Context, request *AppInstallationFields, params PutAppInstallationParams) (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) PutContentType ¶ added in v0.0.5
func (c *Client) PutContentType(ctx context.Context, request *ContentTypeRequestFields, params PutContentTypeParams) (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 *EditorInterfaceFields, params PutEditorInterfaceParams) (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) PutSpaceEnablements ¶ added in v0.0.20
func (c *Client) PutSpaceEnablements(ctx context.Context, request *SpaceEnablementFields, params PutSpaceEnablementsParams) (PutSpaceEnablementsRes, error)
PutSpaceEnablements invokes putSpaceEnablements operation.
Update enablements for a space.
PUT /spaces/{space_id}/enablements
func (*Client) RevokePersonalAccessToken ¶ added in v0.0.12
func (c *Client) RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams) (RevokePersonalAccessTokenRes, error)
RevokePersonalAccessToken invokes revokePersonalAccessToken operation.
Revoke a personal access token.
PUT /users/me/access_tokens/{access_token_id}/revoked
func (*Client) UpdateDeliveryApiKey ¶ added in v0.0.12
func (c *Client) UpdateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, params UpdateDeliveryApiKeyParams) (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 *RoleFields, params UpdateRoleParams) (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 *WebhookDefinitionFields, params UpdateWebhookDefinitionParams) (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"` }
Merged schema. Ref: #/components/schemas/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) 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) 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 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"` }
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) 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) 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.
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: #/components/schemas/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 (*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 ContentTypeRequestFields ¶ added in v0.0.18
type ContentTypeRequestFields struct { Name string `json:"name"` Description OptNilString `json:"description"` DisplayField string `json:"displayField"` Fields []ContentTypeRequestFieldsFieldsItem `json:"fields"` }
Ref: #/components/schemas/ContentTypeRequestFields
func (*ContentTypeRequestFields) Decode ¶ added in v0.0.18
func (s *ContentTypeRequestFields) Decode(d *jx.Decoder) error
Decode decodes ContentTypeRequestFields from json.
func (*ContentTypeRequestFields) Encode ¶ added in v0.0.18
func (s *ContentTypeRequestFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeRequestFields) GetDescription ¶ added in v0.0.18
func (s *ContentTypeRequestFields) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*ContentTypeRequestFields) GetDisplayField ¶ added in v0.0.18
func (s *ContentTypeRequestFields) GetDisplayField() string
GetDisplayField returns the value of DisplayField.
func (*ContentTypeRequestFields) GetFields ¶ added in v0.0.18
func (s *ContentTypeRequestFields) GetFields() []ContentTypeRequestFieldsFieldsItem
GetFields returns the value of Fields.
func (*ContentTypeRequestFields) GetName ¶ added in v0.0.18
func (s *ContentTypeRequestFields) GetName() string
GetName returns the value of Name.
func (*ContentTypeRequestFields) MarshalJSON ¶ added in v0.0.18
func (s *ContentTypeRequestFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeRequestFields) SetDescription ¶ added in v0.0.18
func (s *ContentTypeRequestFields) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*ContentTypeRequestFields) SetDisplayField ¶ added in v0.0.18
func (s *ContentTypeRequestFields) SetDisplayField(val string)
SetDisplayField sets the value of DisplayField.
func (*ContentTypeRequestFields) SetFields ¶ added in v0.0.18
func (s *ContentTypeRequestFields) SetFields(val []ContentTypeRequestFieldsFieldsItem)
SetFields sets the value of Fields.
func (*ContentTypeRequestFields) SetName ¶ added in v0.0.18
func (s *ContentTypeRequestFields) SetName(val string)
SetName sets the value of Name.
func (*ContentTypeRequestFields) UnmarshalJSON ¶ added in v0.0.18
func (s *ContentTypeRequestFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContentTypeRequestFields) Validate ¶ added in v0.0.18
func (s *ContentTypeRequestFields) Validate() error
type ContentTypeRequestFieldsFieldsItem ¶ added in v0.0.18
type ContentTypeRequestFieldsFieldsItem struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` LinkType OptString `json:"linkType"` Items OptContentTypeRequestFieldsFieldsItemItems `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"` }
func (*ContentTypeRequestFieldsFieldsItem) Decode ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) Decode(d *jx.Decoder) error
Decode decodes ContentTypeRequestFieldsFieldsItem from json.
func (*ContentTypeRequestFieldsFieldsItem) Encode ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeRequestFieldsFieldsItem) GetDefaultValue ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetDefaultValue() jx.Raw
GetDefaultValue returns the value of DefaultValue.
func (*ContentTypeRequestFieldsFieldsItem) GetDisabled ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetDisabled() OptBool
GetDisabled returns the value of Disabled.
func (*ContentTypeRequestFieldsFieldsItem) GetID ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetID() string
GetID returns the value of ID.
func (*ContentTypeRequestFieldsFieldsItem) GetItems ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetItems() OptContentTypeRequestFieldsFieldsItemItems
GetItems returns the value of Items.
func (*ContentTypeRequestFieldsFieldsItem) GetLinkType ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ContentTypeRequestFieldsFieldsItem) GetLocalized ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetLocalized() OptBool
GetLocalized returns the value of Localized.
func (*ContentTypeRequestFieldsFieldsItem) GetName ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetName() string
GetName returns the value of Name.
func (*ContentTypeRequestFieldsFieldsItem) GetOmitted ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetOmitted() OptBool
GetOmitted returns the value of Omitted.
func (*ContentTypeRequestFieldsFieldsItem) GetRequired ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetRequired() OptBool
GetRequired returns the value of Required.
func (*ContentTypeRequestFieldsFieldsItem) GetType ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetType() string
GetType returns the value of Type.
func (*ContentTypeRequestFieldsFieldsItem) GetValidations ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) GetValidations() []jx.Raw
GetValidations returns the value of Validations.
func (*ContentTypeRequestFieldsFieldsItem) MarshalJSON ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeRequestFieldsFieldsItem) SetDefaultValue ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetDefaultValue(val jx.Raw)
SetDefaultValue sets the value of DefaultValue.
func (*ContentTypeRequestFieldsFieldsItem) SetDisabled ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetDisabled(val OptBool)
SetDisabled sets the value of Disabled.
func (*ContentTypeRequestFieldsFieldsItem) SetID ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetID(val string)
SetID sets the value of ID.
func (*ContentTypeRequestFieldsFieldsItem) SetItems ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetItems(val OptContentTypeRequestFieldsFieldsItemItems)
SetItems sets the value of Items.
func (*ContentTypeRequestFieldsFieldsItem) SetLinkType ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ContentTypeRequestFieldsFieldsItem) SetLocalized ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetLocalized(val OptBool)
SetLocalized sets the value of Localized.
func (*ContentTypeRequestFieldsFieldsItem) SetName ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetName(val string)
SetName sets the value of Name.
func (*ContentTypeRequestFieldsFieldsItem) SetOmitted ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetOmitted(val OptBool)
SetOmitted sets the value of Omitted.
func (*ContentTypeRequestFieldsFieldsItem) SetRequired ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetRequired(val OptBool)
SetRequired sets the value of Required.
func (*ContentTypeRequestFieldsFieldsItem) SetType ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetType(val string)
SetType sets the value of Type.
func (*ContentTypeRequestFieldsFieldsItem) SetValidations ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) SetValidations(val []jx.Raw)
SetValidations sets the value of Validations.
func (*ContentTypeRequestFieldsFieldsItem) UnmarshalJSON ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ContentTypeRequestFieldsFieldsItemItems ¶ added in v0.0.18
type ContentTypeRequestFieldsFieldsItemItems struct { Type OptString `json:"type"` LinkType OptString `json:"linkType"` Validations []jx.Raw `json:"validations"` }
func (*ContentTypeRequestFieldsFieldsItemItems) Decode ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) Decode(d *jx.Decoder) error
Decode decodes ContentTypeRequestFieldsFieldsItemItems from json.
func (*ContentTypeRequestFieldsFieldsItemItems) Encode ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContentTypeRequestFieldsFieldsItemItems) GetLinkType ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*ContentTypeRequestFieldsFieldsItemItems) GetType ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) GetType() OptString
GetType returns the value of Type.
func (*ContentTypeRequestFieldsFieldsItemItems) GetValidations ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) GetValidations() []jx.Raw
GetValidations returns the value of Validations.
func (*ContentTypeRequestFieldsFieldsItemItems) MarshalJSON ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContentTypeRequestFieldsFieldsItemItems) SetLinkType ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*ContentTypeRequestFieldsFieldsItemItems) SetType ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) SetType(val OptString)
SetType sets the value of Type.
func (*ContentTypeRequestFieldsFieldsItemItems) SetValidations ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) SetValidations(val []jx.Raw)
SetValidations sets the value of Validations.
func (*ContentTypeRequestFieldsFieldsItemItems) UnmarshalJSON ¶ added in v0.0.18
func (s *ContentTypeRequestFieldsFieldsItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ContentTypeSys ¶ added in v0.0.5
type ContentTypeSys struct { // Merged property. Type ContentTypeSysType `json:"type"` Space SpaceLink `json:"space"` Environment EnvironmentLink `json:"environment"` ID string `json:"id"` Version int `json:"version"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` PublishedVersion OptInt `json:"publishedVersion"` PublishedAt OptDateTime `json:"publishedAt"` }
Merged schema. Ref: #/components/schemas/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) GetCreatedAt ¶ added in v0.0.5
func (s *ContentTypeSys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
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) GetUpdatedAt ¶ added in v0.0.5
func (s *ContentTypeSys) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
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) SetCreatedAt ¶ added in v0.0.5
func (s *ContentTypeSys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
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) SetUpdatedAt ¶ added in v0.0.5
func (s *ContentTypeSys) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
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 CreateDeliveryApiKeyParams ¶ added in v0.0.12
type CreateDeliveryApiKeyParams struct {
SpaceID string
}
CreateDeliveryApiKeyParams is parameters of createDeliveryApiKey operation.
type CreateDeliveryApiKeyRes ¶ added in v0.0.12
type CreateDeliveryApiKeyRes 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 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 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 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.12
DeleteDeliveryApiKeyParams is parameters of deleteDeliveryApiKey operation.
type DeleteDeliveryApiKeyRes ¶ added in v0.0.12
type DeleteDeliveryApiKeyRes 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 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: #/components/schemas/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 EditorInterfaceEditorLayoutItem ¶ added in v0.0.16
type EditorInterfaceEditorLayoutItem struct { GroupId string `json:"groupId"` Name string `json:"name"` Items []jx.Raw `json:"items"` }
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 implements json.Marshaler.
func (*EditorInterfaceEditorLayoutItem) GetGroupId ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) GetGroupId() string
GetGroupId returns the value of GroupId.
func (*EditorInterfaceEditorLayoutItem) GetItems ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) GetItems() []jx.Raw
GetItems returns the value of Items.
func (*EditorInterfaceEditorLayoutItem) GetName ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) GetName() string
GetName returns the value of Name.
func (*EditorInterfaceEditorLayoutItem) MarshalJSON ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceEditorLayoutItem) SetGroupId ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) SetGroupId(val string)
SetGroupId sets the value of GroupId.
func (*EditorInterfaceEditorLayoutItem) SetItems ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) SetItems(val []jx.Raw)
SetItems sets the value of Items.
func (*EditorInterfaceEditorLayoutItem) SetName ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) SetName(val string)
SetName sets the value of Name.
func (*EditorInterfaceEditorLayoutItem) UnmarshalJSON ¶ added in v0.0.16
func (s *EditorInterfaceEditorLayoutItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceFields ¶ added in v0.0.18
type EditorInterfaceFields struct { EditorLayout OptNilEditorInterfaceFieldsEditorLayoutItemArray `json:"editorLayout"` Controls OptNilEditorInterfaceFieldsControlsItemArray `json:"controls"` GroupControls OptNilEditorInterfaceFieldsGroupControlsItemArray `json:"groupControls"` Sidebar OptNilEditorInterfaceFieldsSidebarItemArray `json:"sidebar"` }
Ref: #/components/schemas/EditorInterfaceFields
func (*EditorInterfaceFields) Decode ¶ added in v0.0.18
func (s *EditorInterfaceFields) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceFields from json.
func (*EditorInterfaceFields) Encode ¶ added in v0.0.18
func (s *EditorInterfaceFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceFields) GetControls ¶ added in v0.0.18
func (s *EditorInterfaceFields) GetControls() OptNilEditorInterfaceFieldsControlsItemArray
GetControls returns the value of Controls.
func (*EditorInterfaceFields) GetEditorLayout ¶ added in v0.0.18
func (s *EditorInterfaceFields) GetEditorLayout() OptNilEditorInterfaceFieldsEditorLayoutItemArray
GetEditorLayout returns the value of EditorLayout.
func (*EditorInterfaceFields) GetGroupControls ¶ added in v0.0.18
func (s *EditorInterfaceFields) GetGroupControls() OptNilEditorInterfaceFieldsGroupControlsItemArray
GetGroupControls returns the value of GroupControls.
func (*EditorInterfaceFields) GetSidebar ¶ added in v0.0.18
func (s *EditorInterfaceFields) GetSidebar() OptNilEditorInterfaceFieldsSidebarItemArray
GetSidebar returns the value of Sidebar.
func (*EditorInterfaceFields) MarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceFields) SetControls ¶ added in v0.0.18
func (s *EditorInterfaceFields) SetControls(val OptNilEditorInterfaceFieldsControlsItemArray)
SetControls sets the value of Controls.
func (*EditorInterfaceFields) SetEditorLayout ¶ added in v0.0.18
func (s *EditorInterfaceFields) SetEditorLayout(val OptNilEditorInterfaceFieldsEditorLayoutItemArray)
SetEditorLayout sets the value of EditorLayout.
func (*EditorInterfaceFields) SetGroupControls ¶ added in v0.0.18
func (s *EditorInterfaceFields) SetGroupControls(val OptNilEditorInterfaceFieldsGroupControlsItemArray)
SetGroupControls sets the value of GroupControls.
func (*EditorInterfaceFields) SetSidebar ¶ added in v0.0.18
func (s *EditorInterfaceFields) SetSidebar(val OptNilEditorInterfaceFieldsSidebarItemArray)
SetSidebar sets the value of Sidebar.
func (*EditorInterfaceFields) UnmarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EditorInterfaceFields) Validate ¶ added in v0.0.18
func (s *EditorInterfaceFields) Validate() error
type EditorInterfaceFieldsControlsItem ¶ added in v0.0.18
type EditorInterfaceFieldsControlsItem struct { FieldId string `json:"fieldId"` WidgetNamespace OptString `json:"widgetNamespace"` WidgetId OptString `json:"widgetId"` Settings jx.Raw `json:"settings"` }
func (*EditorInterfaceFieldsControlsItem) Decode ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceFieldsControlsItem from json.
func (*EditorInterfaceFieldsControlsItem) Encode ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceFieldsControlsItem) GetFieldId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) GetFieldId() string
GetFieldId returns the value of FieldId.
func (*EditorInterfaceFieldsControlsItem) GetSettings ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceFieldsControlsItem) GetWidgetId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) GetWidgetId() OptString
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceFieldsControlsItem) GetWidgetNamespace ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) GetWidgetNamespace() OptString
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceFieldsControlsItem) MarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceFieldsControlsItem) SetFieldId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) SetFieldId(val string)
SetFieldId sets the value of FieldId.
func (*EditorInterfaceFieldsControlsItem) SetSettings ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceFieldsControlsItem) SetWidgetId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) SetWidgetId(val OptString)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceFieldsControlsItem) SetWidgetNamespace ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) SetWidgetNamespace(val OptString)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceFieldsControlsItem) UnmarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFieldsControlsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceFieldsEditorLayoutItem ¶ added in v0.0.18
type EditorInterfaceFieldsEditorLayoutItem struct { GroupId string `json:"groupId"` Name string `json:"name"` Items []jx.Raw `json:"items"` }
func (*EditorInterfaceFieldsEditorLayoutItem) Decode ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceFieldsEditorLayoutItem from json.
func (*EditorInterfaceFieldsEditorLayoutItem) Encode ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceFieldsEditorLayoutItem) GetGroupId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) GetGroupId() string
GetGroupId returns the value of GroupId.
func (*EditorInterfaceFieldsEditorLayoutItem) GetItems ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) GetItems() []jx.Raw
GetItems returns the value of Items.
func (*EditorInterfaceFieldsEditorLayoutItem) GetName ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) GetName() string
GetName returns the value of Name.
func (*EditorInterfaceFieldsEditorLayoutItem) MarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceFieldsEditorLayoutItem) SetGroupId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) SetGroupId(val string)
SetGroupId sets the value of GroupId.
func (*EditorInterfaceFieldsEditorLayoutItem) SetItems ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) SetItems(val []jx.Raw)
SetItems sets the value of Items.
func (*EditorInterfaceFieldsEditorLayoutItem) SetName ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) SetName(val string)
SetName sets the value of Name.
func (*EditorInterfaceFieldsEditorLayoutItem) UnmarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFieldsEditorLayoutItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceFieldsGroupControlsItem ¶ added in v0.0.18
type EditorInterfaceFieldsGroupControlsItem struct { GroupId string `json:"groupId"` WidgetNamespace OptString `json:"widgetNamespace"` WidgetId OptString `json:"widgetId"` Settings jx.Raw `json:"settings"` }
func (*EditorInterfaceFieldsGroupControlsItem) Decode ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceFieldsGroupControlsItem from json.
func (*EditorInterfaceFieldsGroupControlsItem) Encode ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceFieldsGroupControlsItem) GetGroupId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) GetGroupId() string
GetGroupId returns the value of GroupId.
func (*EditorInterfaceFieldsGroupControlsItem) GetSettings ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceFieldsGroupControlsItem) GetWidgetId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) GetWidgetId() OptString
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceFieldsGroupControlsItem) GetWidgetNamespace ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) GetWidgetNamespace() OptString
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceFieldsGroupControlsItem) MarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceFieldsGroupControlsItem) SetGroupId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) SetGroupId(val string)
SetGroupId sets the value of GroupId.
func (*EditorInterfaceFieldsGroupControlsItem) SetSettings ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceFieldsGroupControlsItem) SetWidgetId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) SetWidgetId(val OptString)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceFieldsGroupControlsItem) SetWidgetNamespace ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) SetWidgetNamespace(val OptString)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceFieldsGroupControlsItem) UnmarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFieldsGroupControlsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceFieldsSidebarItem ¶ added in v0.0.18
type EditorInterfaceFieldsSidebarItem struct { WidgetNamespace string `json:"widgetNamespace"` WidgetId string `json:"widgetId"` Settings jx.Raw `json:"settings"` Disabled OptBool `json:"disabled"` }
func (*EditorInterfaceFieldsSidebarItem) Decode ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceFieldsSidebarItem from json.
func (*EditorInterfaceFieldsSidebarItem) Encode ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditorInterfaceFieldsSidebarItem) GetDisabled ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) GetDisabled() OptBool
GetDisabled returns the value of Disabled.
func (*EditorInterfaceFieldsSidebarItem) GetSettings ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) GetSettings() jx.Raw
GetSettings returns the value of Settings.
func (*EditorInterfaceFieldsSidebarItem) GetWidgetId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) GetWidgetId() string
GetWidgetId returns the value of WidgetId.
func (*EditorInterfaceFieldsSidebarItem) GetWidgetNamespace ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) GetWidgetNamespace() string
GetWidgetNamespace returns the value of WidgetNamespace.
func (*EditorInterfaceFieldsSidebarItem) MarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceFieldsSidebarItem) SetDisabled ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) SetDisabled(val OptBool)
SetDisabled sets the value of Disabled.
func (*EditorInterfaceFieldsSidebarItem) SetSettings ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) SetSettings(val jx.Raw)
SetSettings sets the value of Settings.
func (*EditorInterfaceFieldsSidebarItem) SetWidgetId ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) SetWidgetId(val string)
SetWidgetId sets the value of WidgetId.
func (*EditorInterfaceFieldsSidebarItem) SetWidgetNamespace ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) SetWidgetNamespace(val string)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*EditorInterfaceFieldsSidebarItem) UnmarshalJSON ¶ added in v0.0.18
func (s *EditorInterfaceFieldsSidebarItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 EditorInterfaceSys ¶ added in v0.0.3
type EditorInterfaceSys struct { // Merged property. Type EditorInterfaceSysType `json:"type"` Space SpaceLink `json:"space"` Environment EnvironmentLink `json:"environment"` ID string `json:"id"` Version int `json:"version"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` ContentType ContentTypeLink `json:"contentType"` }
Merged schema. Ref: #/components/schemas/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) GetCreatedAt ¶ added in v0.0.3
func (s *EditorInterfaceSys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
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) GetUpdatedAt ¶ added in v0.0.3
func (s *EditorInterfaceSys) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
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) SetCreatedAt ¶ added in v0.0.3
func (s *EditorInterfaceSys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
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) SetUpdatedAt ¶ added in v0.0.3
func (s *EditorInterfaceSys) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
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 EnvironmentLink ¶ added in v0.0.10
type EnvironmentLink struct {
Sys EnvironmentLinkSys `json:"sys"`
}
Ref: #/components/schemas/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 (*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 Error ¶
type Error struct { Sys ErrorSys `json:"sys"` Message OptString `json:"message"` Details jx.Raw `json:"details"` }
Merged schema. Ref: #/components/schemas/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 ErrorStatusCode ¶
ErrorStatusCode wraps Error with StatusCode.
func (*ErrorStatusCode) GetResponse ¶
func (s *ErrorStatusCode) GetResponse() Error
GetResponse returns the value of Response.
func (*ErrorStatusCode) GetStatusCode ¶
func (s *ErrorStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ErrorStatusCode) SetResponse ¶
func (s *ErrorStatusCode) SetResponse(val Error)
SetResponse sets the value of Response.
func (*ErrorStatusCode) SetStatusCode ¶
func (s *ErrorStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
func (*ErrorStatusCode) Validate ¶
func (s *ErrorStatusCode) Validate() error
type ErrorSys ¶
type ErrorSys struct { Type ErrorSysType `json:"type"` ID string `json:"id"` }
Ref: #/components/schemas/ErrorSys
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 GetAppInstallationParams ¶
GetAppInstallationParams is parameters of getAppInstallation operation.
type GetAppInstallationRes ¶
type GetAppInstallationRes 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 GetDeliveryApiKeyParams ¶ added in v0.0.12
GetDeliveryApiKeyParams is parameters of getDeliveryApiKey operation.
type GetDeliveryApiKeyRes ¶ added in v0.0.12
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 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.10
GetPreviewApiKeyParams is parameters of getPreviewApiKey operation.
type GetPreviewApiKeyRes ¶ added in v0.0.10
type GetPreviewApiKeyRes 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 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 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) (ActivateContentTypeRes, error) // CreateDeliveryApiKey invokes createDeliveryApiKey operation. // // Create a delivery api key. // // POST /spaces/{space_id}/api_keys CreateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, params CreateDeliveryApiKeyParams) (CreateDeliveryApiKeyRes, error) // CreatePersonalAccessToken invokes createPersonalAccessToken operation. // // Create a personal access token. // // POST /users/me/access_tokens CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestFields) (CreatePersonalAccessTokenRes, error) // CreateRole invokes createRole operation. // // Create a role. // // POST /spaces/{space_id}/roles CreateRole(ctx context.Context, request *RoleFields, params CreateRoleParams) (CreateRoleRes, error) // CreateWebhookDefinition invokes createWebhookDefinition operation. // // Create a webhook definition. // // POST /spaces/{space_id}/webhook_definitions CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionFields, params CreateWebhookDefinitionParams) (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) (DeactivateContentTypeRes, 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) (DeleteAppInstallationRes, 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) (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) (DeleteDeliveryApiKeyRes, error) // DeleteRole invokes deleteRole operation. // // Delete a role. // // DELETE /spaces/{space_id}/roles/{role_id} DeleteRole(ctx context.Context, params DeleteRoleParams) (DeleteRoleRes, error) // DeleteWebhookDefinition invokes deleteWebhookDefinition operation. // // Delete a webhook definition. // // DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id} DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams) (DeleteWebhookDefinitionRes, 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) (GetAppInstallationRes, error) // GetAuthenticatedUser invokes getAuthenticatedUser operation. // // Get the authenticated user. // // GET /users/me GetAuthenticatedUser(ctx context.Context) (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) (GetContentTypeRes, 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) (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) (GetEditorInterfaceRes, 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) (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) (GetPreviewApiKeyRes, error) // GetRole invokes getRole operation. // // Get a role. // // GET /spaces/{space_id}/roles/{role_id} GetRole(ctx context.Context, params GetRoleParams) (GetRoleRes, error) // GetSpaceEnablements invokes getSpaceEnablements operation. // // Get enablements for a space. // // GET /spaces/{space_id}/enablements GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams) (GetSpaceEnablementsRes, error) // GetWebhookDefinition invokes getWebhookDefinition operation. // // Get a webhook definition. // // GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id} GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams) (GetWebhookDefinitionRes, 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 *AppInstallationFields, params PutAppInstallationParams) (PutAppInstallationRes, 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 *ContentTypeRequestFields, params PutContentTypeParams) (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 *EditorInterfaceFields, params PutEditorInterfaceParams) (PutEditorInterfaceRes, error) // PutSpaceEnablements invokes putSpaceEnablements operation. // // Update enablements for a space. // // PUT /spaces/{space_id}/enablements PutSpaceEnablements(ctx context.Context, request *SpaceEnablementFields, params PutSpaceEnablementsParams) (PutSpaceEnablementsRes, 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) (RevokePersonalAccessTokenRes, 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 *ApiKeyRequestFields, params UpdateDeliveryApiKeyParams) (UpdateDeliveryApiKeyRes, error) // UpdateRole invokes updateRole operation. // // Update a role. // // PUT /spaces/{space_id}/roles/{role_id} UpdateRole(ctx context.Context, request *RoleFields, params UpdateRoleParams) (UpdateRoleRes, error) // UpdateWebhookDefinition invokes updateWebhookDefinition operation. // // Update a webhook definition. // // PUT /spaces/{space_id}/webhook_definitions/{webhook_definition_id} UpdateWebhookDefinition(ctx context.Context, request *WebhookDefinitionFields, params UpdateWebhookDefinitionParams) (UpdateWebhookDefinitionRes, error) }
Invoker invokes operations described by OpenAPI v3 specification.
type NilString ¶ added in v0.0.7
NilString is nullable string.
func NewNilString ¶ added in v0.0.7
NewNilString returns new NilString with value set to v.
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.
type OperationName ¶ added in v0.0.16
type OperationName = string
OperationName is the ogen operation name
const ( ActivateContentTypeOperation OperationName = "ActivateContentType" CreateDeliveryApiKeyOperation OperationName = "CreateDeliveryApiKey" CreatePersonalAccessTokenOperation OperationName = "CreatePersonalAccessToken" CreateRoleOperation OperationName = "CreateRole" CreateWebhookDefinitionOperation OperationName = "CreateWebhookDefinition" DeactivateContentTypeOperation OperationName = "DeactivateContentType" DeleteAppInstallationOperation OperationName = "DeleteAppInstallation" DeleteContentTypeOperation OperationName = "DeleteContentType" DeleteDeliveryApiKeyOperation OperationName = "DeleteDeliveryApiKey" DeleteRoleOperation OperationName = "DeleteRole" DeleteWebhookDefinitionOperation OperationName = "DeleteWebhookDefinition" GetAppInstallationOperation OperationName = "GetAppInstallation" GetAuthenticatedUserOperation OperationName = "GetAuthenticatedUser" GetContentTypeOperation OperationName = "GetContentType" GetDeliveryApiKeyOperation OperationName = "GetDeliveryApiKey" GetEditorInterfaceOperation OperationName = "GetEditorInterface" GetPersonalAccessTokenOperation OperationName = "GetPersonalAccessToken" GetPreviewApiKeyOperation OperationName = "GetPreviewApiKey" GetRoleOperation OperationName = "GetRole" GetSpaceEnablementsOperation OperationName = "GetSpaceEnablements" GetWebhookDefinitionOperation OperationName = "GetWebhookDefinition" PutAppInstallationOperation OperationName = "PutAppInstallation" PutContentTypeOperation OperationName = "PutContentType" PutEditorInterfaceOperation OperationName = "PutEditorInterface" PutSpaceEnablementsOperation OperationName = "PutSpaceEnablements" RevokePersonalAccessTokenOperation OperationName = "RevokePersonalAccessToken" UpdateDeliveryApiKeyOperation OperationName = "UpdateDeliveryApiKey" UpdateRoleOperation OperationName = "UpdateRole" UpdateWebhookDefinitionOperation OperationName = "UpdateWebhookDefinition" )
type OptApiKeyPreviewAPIKey ¶ added in v0.0.10
type OptApiKeyPreviewAPIKey struct { Value ApiKeyPreviewAPIKey Set bool }
OptApiKeyPreviewAPIKey is optional ApiKeyPreviewAPIKey.
func NewOptApiKeyPreviewAPIKey ¶ added in v0.0.10
func NewOptApiKeyPreviewAPIKey(v ApiKeyPreviewAPIKey) OptApiKeyPreviewAPIKey
NewOptApiKeyPreviewAPIKey returns new OptApiKeyPreviewAPIKey with value set to v.
func (*OptApiKeyPreviewAPIKey) Decode ¶ added in v0.0.10
func (o *OptApiKeyPreviewAPIKey) Decode(d *jx.Decoder) error
Decode decodes ApiKeyPreviewAPIKey from json.
func (OptApiKeyPreviewAPIKey) Encode ¶ added in v0.0.10
func (o OptApiKeyPreviewAPIKey) Encode(e *jx.Encoder)
Encode encodes ApiKeyPreviewAPIKey as json.
func (OptApiKeyPreviewAPIKey) Get ¶ added in v0.0.10
func (o OptApiKeyPreviewAPIKey) Get() (v ApiKeyPreviewAPIKey, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptApiKeyPreviewAPIKey) IsSet ¶ added in v0.0.10
func (o OptApiKeyPreviewAPIKey) IsSet() bool
IsSet returns true if OptApiKeyPreviewAPIKey was set.
func (OptApiKeyPreviewAPIKey) MarshalJSON ¶ added in v0.0.10
func (s OptApiKeyPreviewAPIKey) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptApiKeyPreviewAPIKey) Or ¶ added in v0.0.10
func (o OptApiKeyPreviewAPIKey) Or(d ApiKeyPreviewAPIKey) ApiKeyPreviewAPIKey
Or returns value if set, or given parameter if does not.
func (*OptApiKeyPreviewAPIKey) Reset ¶ added in v0.0.10
func (o *OptApiKeyPreviewAPIKey) Reset()
Reset unsets value.
func (*OptApiKeyPreviewAPIKey) SetTo ¶ added in v0.0.10
func (o *OptApiKeyPreviewAPIKey) SetTo(v ApiKeyPreviewAPIKey)
SetTo sets value to v.
func (*OptApiKeyPreviewAPIKey) UnmarshalJSON ¶ added in v0.0.10
func (s *OptApiKeyPreviewAPIKey) 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 OptContentTypeRequestFieldsFieldsItemItems ¶ added in v0.0.18
type OptContentTypeRequestFieldsFieldsItemItems struct { Value ContentTypeRequestFieldsFieldsItemItems Set bool }
OptContentTypeRequestFieldsFieldsItemItems is optional ContentTypeRequestFieldsFieldsItemItems.
func NewOptContentTypeRequestFieldsFieldsItemItems ¶ added in v0.0.18
func NewOptContentTypeRequestFieldsFieldsItemItems(v ContentTypeRequestFieldsFieldsItemItems) OptContentTypeRequestFieldsFieldsItemItems
NewOptContentTypeRequestFieldsFieldsItemItems returns new OptContentTypeRequestFieldsFieldsItemItems with value set to v.
func (*OptContentTypeRequestFieldsFieldsItemItems) Decode ¶ added in v0.0.18
func (o *OptContentTypeRequestFieldsFieldsItemItems) Decode(d *jx.Decoder) error
Decode decodes ContentTypeRequestFieldsFieldsItemItems from json.
func (OptContentTypeRequestFieldsFieldsItemItems) Encode ¶ added in v0.0.18
func (o OptContentTypeRequestFieldsFieldsItemItems) Encode(e *jx.Encoder)
Encode encodes ContentTypeRequestFieldsFieldsItemItems as json.
func (OptContentTypeRequestFieldsFieldsItemItems) Get ¶ added in v0.0.18
func (o OptContentTypeRequestFieldsFieldsItemItems) Get() (v ContentTypeRequestFieldsFieldsItemItems, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptContentTypeRequestFieldsFieldsItemItems) IsSet ¶ added in v0.0.18
func (o OptContentTypeRequestFieldsFieldsItemItems) IsSet() bool
IsSet returns true if OptContentTypeRequestFieldsFieldsItemItems was set.
func (OptContentTypeRequestFieldsFieldsItemItems) MarshalJSON ¶ added in v0.0.18
func (s OptContentTypeRequestFieldsFieldsItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptContentTypeRequestFieldsFieldsItemItems) Or ¶ added in v0.0.18
func (o OptContentTypeRequestFieldsFieldsItemItems) Or(d ContentTypeRequestFieldsFieldsItemItems) ContentTypeRequestFieldsFieldsItemItems
Or returns value if set, or given parameter if does not.
func (*OptContentTypeRequestFieldsFieldsItemItems) Reset ¶ added in v0.0.18
func (o *OptContentTypeRequestFieldsFieldsItemItems) Reset()
Reset unsets value.
func (*OptContentTypeRequestFieldsFieldsItemItems) SetTo ¶ added in v0.0.18
func (o *OptContentTypeRequestFieldsFieldsItemItems) SetTo(v ContentTypeRequestFieldsFieldsItemItems)
SetTo sets value to v.
func (*OptContentTypeRequestFieldsFieldsItemItems) UnmarshalJSON ¶ added in v0.0.18
func (s *OptContentTypeRequestFieldsFieldsItemItems) 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 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 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 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 OptNilEditorInterfaceFieldsControlsItemArray ¶ added in v0.0.18
type OptNilEditorInterfaceFieldsControlsItemArray struct { Value []EditorInterfaceFieldsControlsItem Set bool Null bool }
OptNilEditorInterfaceFieldsControlsItemArray is optional nullable []EditorInterfaceFieldsControlsItem.
func NewOptNilEditorInterfaceFieldsControlsItemArray ¶ added in v0.0.18
func NewOptNilEditorInterfaceFieldsControlsItemArray(v []EditorInterfaceFieldsControlsItem) OptNilEditorInterfaceFieldsControlsItemArray
NewOptNilEditorInterfaceFieldsControlsItemArray returns new OptNilEditorInterfaceFieldsControlsItemArray with value set to v.
func (*OptNilEditorInterfaceFieldsControlsItemArray) Decode ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsControlsItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceFieldsControlsItem from json.
func (OptNilEditorInterfaceFieldsControlsItemArray) Encode ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsControlsItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceFieldsControlsItem as json.
func (OptNilEditorInterfaceFieldsControlsItemArray) Get ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsControlsItemArray) Get() (v []EditorInterfaceFieldsControlsItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceFieldsControlsItemArray) IsNull ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsControlsItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceFieldsControlsItemArray) IsSet ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsControlsItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceFieldsControlsItemArray was set.
func (OptNilEditorInterfaceFieldsControlsItemArray) MarshalJSON ¶ added in v0.0.18
func (s OptNilEditorInterfaceFieldsControlsItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceFieldsControlsItemArray) Or ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsControlsItemArray) Or(d []EditorInterfaceFieldsControlsItem) []EditorInterfaceFieldsControlsItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceFieldsControlsItemArray) Reset ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsControlsItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceFieldsControlsItemArray) SetTo ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsControlsItemArray) SetTo(v []EditorInterfaceFieldsControlsItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceFieldsControlsItemArray) SetToNull ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsControlsItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceFieldsControlsItemArray) UnmarshalJSON ¶ added in v0.0.18
func (s *OptNilEditorInterfaceFieldsControlsItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceFieldsEditorLayoutItemArray ¶ added in v0.0.18
type OptNilEditorInterfaceFieldsEditorLayoutItemArray struct { Value []EditorInterfaceFieldsEditorLayoutItem Set bool Null bool }
OptNilEditorInterfaceFieldsEditorLayoutItemArray is optional nullable []EditorInterfaceFieldsEditorLayoutItem.
func NewOptNilEditorInterfaceFieldsEditorLayoutItemArray ¶ added in v0.0.18
func NewOptNilEditorInterfaceFieldsEditorLayoutItemArray(v []EditorInterfaceFieldsEditorLayoutItem) OptNilEditorInterfaceFieldsEditorLayoutItemArray
NewOptNilEditorInterfaceFieldsEditorLayoutItemArray returns new OptNilEditorInterfaceFieldsEditorLayoutItemArray with value set to v.
func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) Decode ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsEditorLayoutItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceFieldsEditorLayoutItem from json.
func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) Encode ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceFieldsEditorLayoutItem as json.
func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) Get ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) Get() (v []EditorInterfaceFieldsEditorLayoutItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) IsNull ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) IsSet ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceFieldsEditorLayoutItemArray was set.
func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) MarshalJSON ¶ added in v0.0.18
func (s OptNilEditorInterfaceFieldsEditorLayoutItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) Or ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsEditorLayoutItemArray) Or(d []EditorInterfaceFieldsEditorLayoutItem) []EditorInterfaceFieldsEditorLayoutItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) Reset ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsEditorLayoutItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) SetTo ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsEditorLayoutItemArray) SetTo(v []EditorInterfaceFieldsEditorLayoutItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) SetToNull ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsEditorLayoutItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) UnmarshalJSON ¶ added in v0.0.18
func (s *OptNilEditorInterfaceFieldsEditorLayoutItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceFieldsGroupControlsItemArray ¶ added in v0.0.18
type OptNilEditorInterfaceFieldsGroupControlsItemArray struct { Value []EditorInterfaceFieldsGroupControlsItem Set bool Null bool }
OptNilEditorInterfaceFieldsGroupControlsItemArray is optional nullable []EditorInterfaceFieldsGroupControlsItem.
func NewOptNilEditorInterfaceFieldsGroupControlsItemArray ¶ added in v0.0.18
func NewOptNilEditorInterfaceFieldsGroupControlsItemArray(v []EditorInterfaceFieldsGroupControlsItem) OptNilEditorInterfaceFieldsGroupControlsItemArray
NewOptNilEditorInterfaceFieldsGroupControlsItemArray returns new OptNilEditorInterfaceFieldsGroupControlsItemArray with value set to v.
func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) Decode ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsGroupControlsItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceFieldsGroupControlsItem from json.
func (OptNilEditorInterfaceFieldsGroupControlsItemArray) Encode ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceFieldsGroupControlsItem as json.
func (OptNilEditorInterfaceFieldsGroupControlsItemArray) Get ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) Get() (v []EditorInterfaceFieldsGroupControlsItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceFieldsGroupControlsItemArray) IsNull ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceFieldsGroupControlsItemArray) IsSet ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceFieldsGroupControlsItemArray was set.
func (OptNilEditorInterfaceFieldsGroupControlsItemArray) MarshalJSON ¶ added in v0.0.18
func (s OptNilEditorInterfaceFieldsGroupControlsItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceFieldsGroupControlsItemArray) Or ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsGroupControlsItemArray) Or(d []EditorInterfaceFieldsGroupControlsItem) []EditorInterfaceFieldsGroupControlsItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) Reset ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsGroupControlsItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) SetTo ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsGroupControlsItemArray) SetTo(v []EditorInterfaceFieldsGroupControlsItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) SetToNull ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsGroupControlsItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) UnmarshalJSON ¶ added in v0.0.18
func (s *OptNilEditorInterfaceFieldsGroupControlsItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilEditorInterfaceFieldsSidebarItemArray ¶ added in v0.0.18
type OptNilEditorInterfaceFieldsSidebarItemArray struct { Value []EditorInterfaceFieldsSidebarItem Set bool Null bool }
OptNilEditorInterfaceFieldsSidebarItemArray is optional nullable []EditorInterfaceFieldsSidebarItem.
func NewOptNilEditorInterfaceFieldsSidebarItemArray ¶ added in v0.0.18
func NewOptNilEditorInterfaceFieldsSidebarItemArray(v []EditorInterfaceFieldsSidebarItem) OptNilEditorInterfaceFieldsSidebarItemArray
NewOptNilEditorInterfaceFieldsSidebarItemArray returns new OptNilEditorInterfaceFieldsSidebarItemArray with value set to v.
func (*OptNilEditorInterfaceFieldsSidebarItemArray) Decode ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsSidebarItemArray) Decode(d *jx.Decoder) error
Decode decodes []EditorInterfaceFieldsSidebarItem from json.
func (OptNilEditorInterfaceFieldsSidebarItemArray) Encode ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsSidebarItemArray) Encode(e *jx.Encoder)
Encode encodes []EditorInterfaceFieldsSidebarItem as json.
func (OptNilEditorInterfaceFieldsSidebarItemArray) Get ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsSidebarItemArray) Get() (v []EditorInterfaceFieldsSidebarItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilEditorInterfaceFieldsSidebarItemArray) IsNull ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsSidebarItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilEditorInterfaceFieldsSidebarItemArray) IsSet ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsSidebarItemArray) IsSet() bool
IsSet returns true if OptNilEditorInterfaceFieldsSidebarItemArray was set.
func (OptNilEditorInterfaceFieldsSidebarItemArray) MarshalJSON ¶ added in v0.0.18
func (s OptNilEditorInterfaceFieldsSidebarItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilEditorInterfaceFieldsSidebarItemArray) Or ¶ added in v0.0.18
func (o OptNilEditorInterfaceFieldsSidebarItemArray) Or(d []EditorInterfaceFieldsSidebarItem) []EditorInterfaceFieldsSidebarItem
Or returns value if set, or given parameter if does not.
func (*OptNilEditorInterfaceFieldsSidebarItemArray) Reset ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsSidebarItemArray) Reset()
Reset unsets value.
func (*OptNilEditorInterfaceFieldsSidebarItemArray) SetTo ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsSidebarItemArray) SetTo(v []EditorInterfaceFieldsSidebarItem)
SetTo sets value to v.
func (*OptNilEditorInterfaceFieldsSidebarItemArray) SetToNull ¶ added in v0.0.18
func (o *OptNilEditorInterfaceFieldsSidebarItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilEditorInterfaceFieldsSidebarItemArray) UnmarshalJSON ¶ added in v0.0.18
func (s *OptNilEditorInterfaceFieldsSidebarItemArray) 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 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 OptNilWebhookDefinitionFieldsTransformation ¶ added in v0.0.18
type OptNilWebhookDefinitionFieldsTransformation struct { Value WebhookDefinitionFieldsTransformation Set bool Null bool }
OptNilWebhookDefinitionFieldsTransformation is optional nullable WebhookDefinitionFieldsTransformation.
func NewOptNilWebhookDefinitionFieldsTransformation ¶ added in v0.0.18
func NewOptNilWebhookDefinitionFieldsTransformation(v WebhookDefinitionFieldsTransformation) OptNilWebhookDefinitionFieldsTransformation
NewOptNilWebhookDefinitionFieldsTransformation returns new OptNilWebhookDefinitionFieldsTransformation with value set to v.
func (*OptNilWebhookDefinitionFieldsTransformation) Decode ¶ added in v0.0.18
func (o *OptNilWebhookDefinitionFieldsTransformation) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFieldsTransformation from json.
func (OptNilWebhookDefinitionFieldsTransformation) Encode ¶ added in v0.0.18
func (o OptNilWebhookDefinitionFieldsTransformation) Encode(e *jx.Encoder)
Encode encodes WebhookDefinitionFieldsTransformation as json.
func (OptNilWebhookDefinitionFieldsTransformation) Get ¶ added in v0.0.18
func (o OptNilWebhookDefinitionFieldsTransformation) Get() (v WebhookDefinitionFieldsTransformation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilWebhookDefinitionFieldsTransformation) IsNull ¶ added in v0.0.18
func (o OptNilWebhookDefinitionFieldsTransformation) IsNull() bool
IsNull returns true if value is Null.
func (OptNilWebhookDefinitionFieldsTransformation) IsSet ¶ added in v0.0.18
func (o OptNilWebhookDefinitionFieldsTransformation) IsSet() bool
IsSet returns true if OptNilWebhookDefinitionFieldsTransformation was set.
func (OptNilWebhookDefinitionFieldsTransformation) MarshalJSON ¶ added in v0.0.18
func (s OptNilWebhookDefinitionFieldsTransformation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilWebhookDefinitionFieldsTransformation) Or ¶ added in v0.0.18
func (o OptNilWebhookDefinitionFieldsTransformation) Or(d WebhookDefinitionFieldsTransformation) WebhookDefinitionFieldsTransformation
Or returns value if set, or given parameter if does not.
func (*OptNilWebhookDefinitionFieldsTransformation) Reset ¶ added in v0.0.18
func (o *OptNilWebhookDefinitionFieldsTransformation) Reset()
Reset unsets value.
func (*OptNilWebhookDefinitionFieldsTransformation) SetTo ¶ added in v0.0.18
func (o *OptNilWebhookDefinitionFieldsTransformation) SetTo(v WebhookDefinitionFieldsTransformation)
SetTo sets value to v.
func (*OptNilWebhookDefinitionFieldsTransformation) SetToNull ¶ added in v0.0.18
func (o *OptNilWebhookDefinitionFieldsTransformation) SetToNull()
SetToNull sets value to null.
func (*OptNilWebhookDefinitionFieldsTransformation) UnmarshalJSON ¶ added in v0.0.18
func (s *OptNilWebhookDefinitionFieldsTransformation) 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 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 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: #/components/schemas/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 PersonalAccessTokenRequestFields ¶ added in v0.0.18
type PersonalAccessTokenRequestFields struct { Name string `json:"name"` Scopes []string `json:"scopes"` ExpiresIn OptNilInt `json:"expiresIn"` }
Ref: #/components/schemas/PersonalAccessTokenRequestFields
func (*PersonalAccessTokenRequestFields) Decode ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) Decode(d *jx.Decoder) error
Decode decodes PersonalAccessTokenRequestFields from json.
func (*PersonalAccessTokenRequestFields) Encode ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PersonalAccessTokenRequestFields) GetExpiresIn ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) GetExpiresIn() OptNilInt
GetExpiresIn returns the value of ExpiresIn.
func (*PersonalAccessTokenRequestFields) GetName ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) GetName() string
GetName returns the value of Name.
func (*PersonalAccessTokenRequestFields) GetScopes ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) GetScopes() []string
GetScopes returns the value of Scopes.
func (*PersonalAccessTokenRequestFields) MarshalJSON ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PersonalAccessTokenRequestFields) SetExpiresIn ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) SetExpiresIn(val OptNilInt)
SetExpiresIn sets the value of ExpiresIn.
func (*PersonalAccessTokenRequestFields) SetName ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) SetName(val string)
SetName sets the value of Name.
func (*PersonalAccessTokenRequestFields) SetScopes ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) SetScopes(val []string)
SetScopes sets the value of Scopes.
func (*PersonalAccessTokenRequestFields) UnmarshalJSON ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PersonalAccessTokenRequestFields) Validate ¶ added in v0.0.18
func (s *PersonalAccessTokenRequestFields) 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: #/components/schemas/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 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: #/components/schemas/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 { // Merged property. Type PreviewApiKeySysType `json:"type"` Space SpaceLink `json:"space"` ID string `json:"id"` Version int `json:"version"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` }
Merged schema. Ref: #/components/schemas/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) GetCreatedAt ¶ added in v0.0.10
func (s *PreviewApiKeySys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
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) GetUpdatedAt ¶ added in v0.0.10
func (s *PreviewApiKeySys) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
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) SetCreatedAt ¶ added in v0.0.10
func (s *PreviewApiKeySys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
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) SetUpdatedAt ¶ added in v0.0.10
func (s *PreviewApiKeySys) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
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 PutAppInstallationParams ¶
type PutAppInstallationParams struct { SpaceID string EnvironmentID string AppDefinitionID string XContentfulMarketplace OptString }
PutAppInstallationParams is parameters of putAppInstallation operation.
type PutAppInstallationRes ¶
type PutAppInstallationRes interface {
// contains filtered or unexported methods
}
type PutContentTypeCreated ¶ added in v0.0.5
type PutContentTypeCreated ContentType
func (*PutContentTypeCreated) Decode ¶ added in v0.0.5
func (s *PutContentTypeCreated) Decode(d *jx.Decoder) error
Decode decodes PutContentTypeCreated from json.
func (*PutContentTypeCreated) Encode ¶ added in v0.0.5
func (s *PutContentTypeCreated) Encode(e *jx.Encoder)
Encode encodes PutContentTypeCreated as json.
func (*PutContentTypeCreated) MarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeCreated) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutContentTypeCreated) UnmarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeCreated) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PutContentTypeCreated) Validate ¶ added in v0.0.5
func (s *PutContentTypeCreated) Validate() error
type PutContentTypeOK ¶ added in v0.0.5
type PutContentTypeOK ContentType
func (*PutContentTypeOK) Decode ¶ added in v0.0.5
func (s *PutContentTypeOK) Decode(d *jx.Decoder) error
Decode decodes PutContentTypeOK from json.
func (*PutContentTypeOK) Encode ¶ added in v0.0.5
func (s *PutContentTypeOK) Encode(e *jx.Encoder)
Encode encodes PutContentTypeOK as json.
func (*PutContentTypeOK) MarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutContentTypeOK) UnmarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PutContentTypeOK) Validate ¶ added in v0.0.5
func (s *PutContentTypeOK) Validate() error
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 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 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: #/components/schemas/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 RoleFields ¶ added in v0.0.18
type RoleFields struct { Name string `json:"name"` Description OptNilString `json:"description"` Permissions RoleFieldsPermissions `json:"permissions"` Policies []RoleFieldsPoliciesItem `json:"policies"` }
Ref: #/components/schemas/RoleFields
func (*RoleFields) Decode ¶ added in v0.0.18
func (s *RoleFields) Decode(d *jx.Decoder) error
Decode decodes RoleFields from json.
func (*RoleFields) Encode ¶ added in v0.0.18
func (s *RoleFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RoleFields) GetDescription ¶ added in v0.0.18
func (s *RoleFields) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*RoleFields) GetName ¶ added in v0.0.18
func (s *RoleFields) GetName() string
GetName returns the value of Name.
func (*RoleFields) GetPermissions ¶ added in v0.0.18
func (s *RoleFields) GetPermissions() RoleFieldsPermissions
GetPermissions returns the value of Permissions.
func (*RoleFields) GetPolicies ¶ added in v0.0.18
func (s *RoleFields) GetPolicies() []RoleFieldsPoliciesItem
GetPolicies returns the value of Policies.
func (*RoleFields) MarshalJSON ¶ added in v0.0.18
func (s *RoleFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleFields) SetDescription ¶ added in v0.0.18
func (s *RoleFields) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*RoleFields) SetName ¶ added in v0.0.18
func (s *RoleFields) SetName(val string)
SetName sets the value of Name.
func (*RoleFields) SetPermissions ¶ added in v0.0.18
func (s *RoleFields) SetPermissions(val RoleFieldsPermissions)
SetPermissions sets the value of Permissions.
func (*RoleFields) SetPolicies ¶ added in v0.0.18
func (s *RoleFields) SetPolicies(val []RoleFieldsPoliciesItem)
SetPolicies sets the value of Policies.
func (*RoleFields) UnmarshalJSON ¶ added in v0.0.18
func (s *RoleFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleFields) Validate ¶ added in v0.0.18
func (s *RoleFields) Validate() error
type RoleFieldsPermissions ¶ added in v0.0.18
type RoleFieldsPermissions map[string]RoleFieldsPermissionsItem
func (*RoleFieldsPermissions) Decode ¶ added in v0.0.18
func (s *RoleFieldsPermissions) Decode(d *jx.Decoder) error
Decode decodes RoleFieldsPermissions from json.
func (RoleFieldsPermissions) Encode ¶ added in v0.0.18
func (s RoleFieldsPermissions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RoleFieldsPermissions) MarshalJSON ¶ added in v0.0.18
func (s RoleFieldsPermissions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleFieldsPermissions) UnmarshalJSON ¶ added in v0.0.18
func (s *RoleFieldsPermissions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RoleFieldsPermissions) Validate ¶ added in v0.0.18
func (s RoleFieldsPermissions) Validate() error
type RoleFieldsPermissionsItem ¶ added in v0.0.18
type RoleFieldsPermissionsItem struct { Type RoleFieldsPermissionsItemType // switch on this field String string StringArray []string }
RoleFieldsPermissionsItem represents sum type.
func NewStringArrayRoleFieldsPermissionsItem ¶ added in v0.0.18
func NewStringArrayRoleFieldsPermissionsItem(v []string) RoleFieldsPermissionsItem
NewStringArrayRoleFieldsPermissionsItem returns new RoleFieldsPermissionsItem from []string.
func NewStringRoleFieldsPermissionsItem ¶ added in v0.0.18
func NewStringRoleFieldsPermissionsItem(v string) RoleFieldsPermissionsItem
NewStringRoleFieldsPermissionsItem returns new RoleFieldsPermissionsItem from string.
func (*RoleFieldsPermissionsItem) Decode ¶ added in v0.0.18
func (s *RoleFieldsPermissionsItem) Decode(d *jx.Decoder) error
Decode decodes RoleFieldsPermissionsItem from json.
func (RoleFieldsPermissionsItem) Encode ¶ added in v0.0.18
func (s RoleFieldsPermissionsItem) Encode(e *jx.Encoder)
Encode encodes RoleFieldsPermissionsItem as json.
func (RoleFieldsPermissionsItem) GetString ¶ added in v0.0.18
func (s RoleFieldsPermissionsItem) GetString() (v string, ok bool)
GetString returns string and true boolean if RoleFieldsPermissionsItem is string.
func (RoleFieldsPermissionsItem) GetStringArray ¶ added in v0.0.18
func (s RoleFieldsPermissionsItem) GetStringArray() (v []string, ok bool)
GetStringArray returns []string and true boolean if RoleFieldsPermissionsItem is []string.
func (RoleFieldsPermissionsItem) IsString ¶ added in v0.0.18
func (s RoleFieldsPermissionsItem) IsString() bool
IsString reports whether RoleFieldsPermissionsItem is string.
func (RoleFieldsPermissionsItem) IsStringArray ¶ added in v0.0.18
func (s RoleFieldsPermissionsItem) IsStringArray() bool
IsStringArray reports whether RoleFieldsPermissionsItem is []string.
func (RoleFieldsPermissionsItem) MarshalJSON ¶ added in v0.0.18
func (s RoleFieldsPermissionsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleFieldsPermissionsItem) SetString ¶ added in v0.0.18
func (s *RoleFieldsPermissionsItem) SetString(v string)
SetString sets RoleFieldsPermissionsItem to string.
func (*RoleFieldsPermissionsItem) SetStringArray ¶ added in v0.0.18
func (s *RoleFieldsPermissionsItem) SetStringArray(v []string)
SetStringArray sets RoleFieldsPermissionsItem to []string.
func (*RoleFieldsPermissionsItem) UnmarshalJSON ¶ added in v0.0.18
func (s *RoleFieldsPermissionsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RoleFieldsPermissionsItem) Validate ¶ added in v0.0.18
func (s RoleFieldsPermissionsItem) Validate() error
type RoleFieldsPermissionsItemType ¶ added in v0.0.18
type RoleFieldsPermissionsItemType string
RoleFieldsPermissionsItemType is oneOf type of RoleFieldsPermissionsItem.
const ( StringRoleFieldsPermissionsItem RoleFieldsPermissionsItemType = "string" StringArrayRoleFieldsPermissionsItem RoleFieldsPermissionsItemType = "[]string" )
Possible values for RoleFieldsPermissionsItemType.
type RoleFieldsPoliciesItem ¶ added in v0.0.18
type RoleFieldsPoliciesItem struct { Effect RoleFieldsPoliciesItemEffect `json:"effect"` Actions RoleFieldsPoliciesItemActions `json:"actions"` Constraint jx.Raw `json:"constraint"` }
func (*RoleFieldsPoliciesItem) Decode ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) Decode(d *jx.Decoder) error
Decode decodes RoleFieldsPoliciesItem from json.
func (*RoleFieldsPoliciesItem) Encode ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RoleFieldsPoliciesItem) GetActions ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) GetActions() RoleFieldsPoliciesItemActions
GetActions returns the value of Actions.
func (*RoleFieldsPoliciesItem) GetConstraint ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) GetConstraint() jx.Raw
GetConstraint returns the value of Constraint.
func (*RoleFieldsPoliciesItem) GetEffect ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) GetEffect() RoleFieldsPoliciesItemEffect
GetEffect returns the value of Effect.
func (*RoleFieldsPoliciesItem) MarshalJSON ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleFieldsPoliciesItem) SetActions ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) SetActions(val RoleFieldsPoliciesItemActions)
SetActions sets the value of Actions.
func (*RoleFieldsPoliciesItem) SetConstraint ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) SetConstraint(val jx.Raw)
SetConstraint sets the value of Constraint.
func (*RoleFieldsPoliciesItem) SetEffect ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) SetEffect(val RoleFieldsPoliciesItemEffect)
SetEffect sets the value of Effect.
func (*RoleFieldsPoliciesItem) UnmarshalJSON ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleFieldsPoliciesItem) Validate ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItem) Validate() error
type RoleFieldsPoliciesItemActions ¶ added in v0.0.18
type RoleFieldsPoliciesItemActions struct { Type RoleFieldsPoliciesItemActionsType // switch on this field String string StringArray []string }
RoleFieldsPoliciesItemActions represents sum type.
func NewStringArrayRoleFieldsPoliciesItemActions ¶ added in v0.0.18
func NewStringArrayRoleFieldsPoliciesItemActions(v []string) RoleFieldsPoliciesItemActions
NewStringArrayRoleFieldsPoliciesItemActions returns new RoleFieldsPoliciesItemActions from []string.
func NewStringRoleFieldsPoliciesItemActions ¶ added in v0.0.18
func NewStringRoleFieldsPoliciesItemActions(v string) RoleFieldsPoliciesItemActions
NewStringRoleFieldsPoliciesItemActions returns new RoleFieldsPoliciesItemActions from string.
func (*RoleFieldsPoliciesItemActions) Decode ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItemActions) Decode(d *jx.Decoder) error
Decode decodes RoleFieldsPoliciesItemActions from json.
func (RoleFieldsPoliciesItemActions) Encode ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemActions) Encode(e *jx.Encoder)
Encode encodes RoleFieldsPoliciesItemActions as json.
func (RoleFieldsPoliciesItemActions) GetString ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemActions) GetString() (v string, ok bool)
GetString returns string and true boolean if RoleFieldsPoliciesItemActions is string.
func (RoleFieldsPoliciesItemActions) GetStringArray ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemActions) GetStringArray() (v []string, ok bool)
GetStringArray returns []string and true boolean if RoleFieldsPoliciesItemActions is []string.
func (RoleFieldsPoliciesItemActions) IsString ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemActions) IsString() bool
IsString reports whether RoleFieldsPoliciesItemActions is string.
func (RoleFieldsPoliciesItemActions) IsStringArray ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemActions) IsStringArray() bool
IsStringArray reports whether RoleFieldsPoliciesItemActions is []string.
func (RoleFieldsPoliciesItemActions) MarshalJSON ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemActions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RoleFieldsPoliciesItemActions) SetString ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItemActions) SetString(v string)
SetString sets RoleFieldsPoliciesItemActions to string.
func (*RoleFieldsPoliciesItemActions) SetStringArray ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItemActions) SetStringArray(v []string)
SetStringArray sets RoleFieldsPoliciesItemActions to []string.
func (*RoleFieldsPoliciesItemActions) UnmarshalJSON ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItemActions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RoleFieldsPoliciesItemActions) Validate ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemActions) Validate() error
type RoleFieldsPoliciesItemActionsType ¶ added in v0.0.18
type RoleFieldsPoliciesItemActionsType string
RoleFieldsPoliciesItemActionsType is oneOf type of RoleFieldsPoliciesItemActions.
const ( StringRoleFieldsPoliciesItemActions RoleFieldsPoliciesItemActionsType = "string" StringArrayRoleFieldsPoliciesItemActions RoleFieldsPoliciesItemActionsType = "[]string" )
Possible values for RoleFieldsPoliciesItemActionsType.
type RoleFieldsPoliciesItemEffect ¶ added in v0.0.18
type RoleFieldsPoliciesItemEffect string
const ( RoleFieldsPoliciesItemEffectAllow RoleFieldsPoliciesItemEffect = "allow" RoleFieldsPoliciesItemEffectDeny RoleFieldsPoliciesItemEffect = "deny" )
func (RoleFieldsPoliciesItemEffect) AllValues ¶ added in v0.0.18
func (RoleFieldsPoliciesItemEffect) AllValues() []RoleFieldsPoliciesItemEffect
AllValues returns all RoleFieldsPoliciesItemEffect values.
func (*RoleFieldsPoliciesItemEffect) Decode ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItemEffect) Decode(d *jx.Decoder) error
Decode decodes RoleFieldsPoliciesItemEffect from json.
func (RoleFieldsPoliciesItemEffect) Encode ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemEffect) Encode(e *jx.Encoder)
Encode encodes RoleFieldsPoliciesItemEffect as json.
func (RoleFieldsPoliciesItemEffect) MarshalJSON ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemEffect) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RoleFieldsPoliciesItemEffect) MarshalText ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemEffect) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RoleFieldsPoliciesItemEffect) UnmarshalJSON ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItemEffect) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RoleFieldsPoliciesItemEffect) UnmarshalText ¶ added in v0.0.18
func (s *RoleFieldsPoliciesItemEffect) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RoleFieldsPoliciesItemEffect) Validate ¶ added in v0.0.18
func (s RoleFieldsPoliciesItemEffect) 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 RoleSys ¶ added in v0.0.15
type RoleSys struct { // Merged property. Type RoleSysType `json:"type"` Space SpaceLink `json:"space"` ID string `json:"id"` Version int `json:"version"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` }
Merged schema. Ref: #/components/schemas/RoleSys
func (*RoleSys) GetCreatedAt ¶ added in v0.0.15
func (s *RoleSys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*RoleSys) GetType ¶ added in v0.0.15
func (s *RoleSys) GetType() RoleSysType
GetType returns the value of Type.
func (*RoleSys) GetUpdatedAt ¶ added in v0.0.15
func (s *RoleSys) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
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) SetCreatedAt ¶ added in v0.0.15
func (s *RoleSys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*RoleSys) SetType ¶ added in v0.0.15
func (s *RoleSys) SetType(val RoleSysType)
SetType sets the value of Type.
func (*RoleSys) SetUpdatedAt ¶ added in v0.0.15
func (s *RoleSys) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
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 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 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: #/components/schemas/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 SpaceEnablementField ¶ added in v0.0.20
type SpaceEnablementField struct {
Enabled bool `json:"enabled"`
}
Ref: #/components/schemas/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 SpaceEnablementFields ¶ added in v0.0.20
type SpaceEnablementFields struct { CrossSpaceLinks OptSpaceEnablementField `json:"crossSpaceLinks"` SpaceTemplates OptSpaceEnablementField `json:"spaceTemplates"` StudioExperiences OptSpaceEnablementField `json:"studioExperiences"` SuggestConcepts OptSpaceEnablementField `json:"suggestConcepts"` }
Ref: #/components/schemas/SpaceEnablementFields
func (*SpaceEnablementFields) Decode ¶ added in v0.0.20
func (s *SpaceEnablementFields) Decode(d *jx.Decoder) error
Decode decodes SpaceEnablementFields from json.
func (*SpaceEnablementFields) Encode ¶ added in v0.0.20
func (s *SpaceEnablementFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpaceEnablementFields) GetCrossSpaceLinks ¶ added in v0.0.20
func (s *SpaceEnablementFields) GetCrossSpaceLinks() OptSpaceEnablementField
GetCrossSpaceLinks returns the value of CrossSpaceLinks.
func (*SpaceEnablementFields) GetSpaceTemplates ¶ added in v0.0.20
func (s *SpaceEnablementFields) GetSpaceTemplates() OptSpaceEnablementField
GetSpaceTemplates returns the value of SpaceTemplates.
func (*SpaceEnablementFields) GetStudioExperiences ¶ added in v0.0.20
func (s *SpaceEnablementFields) GetStudioExperiences() OptSpaceEnablementField
GetStudioExperiences returns the value of StudioExperiences.
func (*SpaceEnablementFields) GetSuggestConcepts ¶ added in v0.0.20
func (s *SpaceEnablementFields) GetSuggestConcepts() OptSpaceEnablementField
GetSuggestConcepts returns the value of SuggestConcepts.
func (*SpaceEnablementFields) MarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablementFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpaceEnablementFields) SetCrossSpaceLinks ¶ added in v0.0.20
func (s *SpaceEnablementFields) SetCrossSpaceLinks(val OptSpaceEnablementField)
SetCrossSpaceLinks sets the value of CrossSpaceLinks.
func (*SpaceEnablementFields) SetSpaceTemplates ¶ added in v0.0.20
func (s *SpaceEnablementFields) SetSpaceTemplates(val OptSpaceEnablementField)
SetSpaceTemplates sets the value of SpaceTemplates.
func (*SpaceEnablementFields) SetStudioExperiences ¶ added in v0.0.20
func (s *SpaceEnablementFields) SetStudioExperiences(val OptSpaceEnablementField)
SetStudioExperiences sets the value of StudioExperiences.
func (*SpaceEnablementFields) SetSuggestConcepts ¶ added in v0.0.20
func (s *SpaceEnablementFields) SetSuggestConcepts(val OptSpaceEnablementField)
SetSuggestConcepts sets the value of SuggestConcepts.
func (*SpaceEnablementFields) UnmarshalJSON ¶ added in v0.0.20
func (s *SpaceEnablementFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SpaceEnablementSys ¶ added in v0.0.20
type SpaceEnablementSys struct { // Merged property. Type SpaceEnablementSysType `json:"type"` Space SpaceLink `json:"space"` Version int `json:"version"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` }
Merged schema. Ref: #/components/schemas/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) GetCreatedAt ¶ added in v0.0.20
func (s *SpaceEnablementSys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
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) GetUpdatedAt ¶ added in v0.0.20
func (s *SpaceEnablementSys) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
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) SetCreatedAt ¶ added in v0.0.20
func (s *SpaceEnablementSys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
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) SetUpdatedAt ¶ added in v0.0.20
func (s *SpaceEnablementSys) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
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 SpaceLink ¶ added in v0.0.18
type SpaceLink struct {
Sys SpaceLinkSys `json:"sys"`
}
Ref: #/components/schemas/SpaceLink
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 (*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 UpdateDeliveryApiKeyParams ¶ added in v0.0.12
UpdateDeliveryApiKeyParams is parameters of updateDeliveryApiKey operation.
type UpdateDeliveryApiKeyRes ¶ added in v0.0.12
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: #/components/schemas/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"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` }
Merged schema. Ref: #/components/schemas/UserSys
func (*UserSys) GetCreatedAt ¶
func (s *UserSys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*UserSys) GetType ¶
func (s *UserSys) GetType() UserSysType
GetType returns the value of Type.
func (*UserSys) GetUpdatedAt ¶
func (s *UserSys) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
func (*UserSys) GetVersion ¶
GetVersion returns the value of Version.
func (*UserSys) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*UserSys) SetCreatedAt ¶
func (s *UserSys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*UserSys) SetType ¶
func (s *UserSys) SetType(val UserSysType)
SetType sets the value of Type.
func (*UserSys) SetUpdatedAt ¶
func (s *UserSys) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
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: #/components/schemas/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 WebhookDefinitionFields ¶ added in v0.0.18
type WebhookDefinitionFields 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 OptNilWebhookDefinitionFieldsTransformation `json:"transformation"` Active OptBool `json:"active"` }
Ref: #/components/schemas/WebhookDefinitionFields
func (*WebhookDefinitionFields) Decode ¶ added in v0.0.18
func (s *WebhookDefinitionFields) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFields from json.
func (*WebhookDefinitionFields) Encode ¶ added in v0.0.18
func (s *WebhookDefinitionFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionFields) GetActive ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetActive() OptBool
GetActive returns the value of Active.
func (*WebhookDefinitionFields) GetFilters ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetFilters() OptNilWebhookDefinitionFilterArray
GetFilters returns the value of Filters.
func (*WebhookDefinitionFields) GetHeaders ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetHeaders() WebhookDefinitionHeaders
GetHeaders returns the value of Headers.
func (*WebhookDefinitionFields) GetHttpBasicPassword ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetHttpBasicPassword() OptNilString
GetHttpBasicPassword returns the value of HttpBasicPassword.
func (*WebhookDefinitionFields) GetHttpBasicUsername ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetHttpBasicUsername() OptNilString
GetHttpBasicUsername returns the value of HttpBasicUsername.
func (*WebhookDefinitionFields) GetName ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetName() string
GetName returns the value of Name.
func (*WebhookDefinitionFields) GetTopics ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetTopics() []string
GetTopics returns the value of Topics.
func (*WebhookDefinitionFields) GetTransformation ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetTransformation() OptNilWebhookDefinitionFieldsTransformation
GetTransformation returns the value of Transformation.
func (*WebhookDefinitionFields) GetURL ¶ added in v0.0.18
func (s *WebhookDefinitionFields) GetURL() string
GetURL returns the value of URL.
func (*WebhookDefinitionFields) MarshalJSON ¶ added in v0.0.18
func (s *WebhookDefinitionFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionFields) SetActive ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetActive(val OptBool)
SetActive sets the value of Active.
func (*WebhookDefinitionFields) SetFilters ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetFilters(val OptNilWebhookDefinitionFilterArray)
SetFilters sets the value of Filters.
func (*WebhookDefinitionFields) SetHeaders ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetHeaders(val WebhookDefinitionHeaders)
SetHeaders sets the value of Headers.
func (*WebhookDefinitionFields) SetHttpBasicPassword ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetHttpBasicPassword(val OptNilString)
SetHttpBasicPassword sets the value of HttpBasicPassword.
func (*WebhookDefinitionFields) SetHttpBasicUsername ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetHttpBasicUsername(val OptNilString)
SetHttpBasicUsername sets the value of HttpBasicUsername.
func (*WebhookDefinitionFields) SetName ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetName(val string)
SetName sets the value of Name.
func (*WebhookDefinitionFields) SetTopics ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetTopics(val []string)
SetTopics sets the value of Topics.
func (*WebhookDefinitionFields) SetTransformation ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetTransformation(val OptNilWebhookDefinitionFieldsTransformation)
SetTransformation sets the value of Transformation.
func (*WebhookDefinitionFields) SetURL ¶ added in v0.0.18
func (s *WebhookDefinitionFields) SetURL(val string)
SetURL sets the value of URL.
func (*WebhookDefinitionFields) UnmarshalJSON ¶ added in v0.0.18
func (s *WebhookDefinitionFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WebhookDefinitionFields) Validate ¶ added in v0.0.18
func (s *WebhookDefinitionFields) Validate() error
type WebhookDefinitionFieldsTransformation ¶ added in v0.0.18
type WebhookDefinitionFieldsTransformation struct { Method OptString `json:"method"` ContentType OptString `json:"contentType"` IncludeContentLength OptBool `json:"includeContentLength"` Body jx.Raw `json:"body"` }
func (*WebhookDefinitionFieldsTransformation) Decode ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) Decode(d *jx.Decoder) error
Decode decodes WebhookDefinitionFieldsTransformation from json.
func (*WebhookDefinitionFieldsTransformation) Encode ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WebhookDefinitionFieldsTransformation) GetBody ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) GetBody() jx.Raw
GetBody returns the value of Body.
func (*WebhookDefinitionFieldsTransformation) GetContentType ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) GetContentType() OptString
GetContentType returns the value of ContentType.
func (*WebhookDefinitionFieldsTransformation) GetIncludeContentLength ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) GetIncludeContentLength() OptBool
GetIncludeContentLength returns the value of IncludeContentLength.
func (*WebhookDefinitionFieldsTransformation) GetMethod ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) GetMethod() OptString
GetMethod returns the value of Method.
func (*WebhookDefinitionFieldsTransformation) MarshalJSON ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WebhookDefinitionFieldsTransformation) SetBody ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) SetBody(val jx.Raw)
SetBody sets the value of Body.
func (*WebhookDefinitionFieldsTransformation) SetContentType ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) SetContentType(val OptString)
SetContentType sets the value of ContentType.
func (*WebhookDefinitionFieldsTransformation) SetIncludeContentLength ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) SetIncludeContentLength(val OptBool)
SetIncludeContentLength sets the value of IncludeContentLength.
func (*WebhookDefinitionFieldsTransformation) SetMethod ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) SetMethod(val OptString)
SetMethod sets the value of Method.
func (*WebhookDefinitionFieldsTransformation) UnmarshalJSON ¶ added in v0.0.18
func (s *WebhookDefinitionFieldsTransformation) 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: #/components/schemas/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: #/components/schemas/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: #/components/schemas/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 WebhookDefinitionSys ¶ added in v0.0.17
type WebhookDefinitionSys struct { // Merged property. Type WebhookDefinitionSysType `json:"type"` Space SpaceLink `json:"space"` ID string `json:"id"` Version int `json:"version"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` }
Merged schema. Ref: #/components/schemas/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) GetCreatedAt ¶ added in v0.0.17
func (s *WebhookDefinitionSys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
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) GetUpdatedAt ¶ added in v0.0.17
func (s *WebhookDefinitionSys) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
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) SetCreatedAt ¶ added in v0.0.17
func (s *WebhookDefinitionSys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
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) SetUpdatedAt ¶ added in v0.0.17
func (s *WebhookDefinitionSys) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
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
- client.go
- oas_cfg_gen.go
- oas_client_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_validators_gen.go
- ogen_http_client.go
- optbool.go
- optnildatetime.go
- optnilint.go
- optnilstring.go
- optnilwebhookdefinitionfilterarray.go
- optstring.go