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 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) 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) 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 AppInstallation
- func (s *AppInstallation) Decode(d *jx.Decoder) error
- func (s *AppInstallation) Encode(e *jx.Encoder)
- func (s *AppInstallation) GetParameters() OptAppInstallationParameters
- func (s *AppInstallation) GetSys() AppInstallationSys
- func (s *AppInstallation) MarshalJSON() ([]byte, error)
- func (s *AppInstallation) SetParameters(val OptAppInstallationParameters)
- func (s *AppInstallation) SetSys(val AppInstallationSys)
- func (s *AppInstallation) UnmarshalJSON(data []byte) error
- func (s *AppInstallation) Validate() error
- type AppInstallationParameters
- type AppInstallationSys
- func (s *AppInstallationSys) Decode(d *jx.Decoder) error
- func (s *AppInstallationSys) Encode(e *jx.Encoder)
- func (s *AppInstallationSys) GetType() AppInstallationSysType
- func (s *AppInstallationSys) MarshalJSON() ([]byte, error)
- 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 *CreateDeliveryApiKeyReq, ...) (CreateDeliveryApiKeyRes, error)
- func (c *Client) CreatePersonalAccessToken(ctx context.Context, request *CreatePersonalAccessTokenReq) (CreatePersonalAccessTokenRes, 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) 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) PutAppInstallation(ctx context.Context, request *PutAppInstallationReq, ...) (PutAppInstallationRes, error)
- func (c *Client) PutContentType(ctx context.Context, request *PutContentTypeReq, params PutContentTypeParams) (PutContentTypeRes, error)
- func (c *Client) PutEditorInterface(ctx context.Context, request *PutEditorInterfaceReq, ...) (PutEditorInterfaceRes, error)
- func (c *Client) RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams) (RevokePersonalAccessTokenRes, error)
- func (c *Client) UpdateDeliveryApiKey(ctx context.Context, request *UpdateDeliveryApiKeyReq, ...) (UpdateDeliveryApiKeyRes, error)
- type ClientOption
- type ContentType
- func (s *ContentType) Decode(d *jx.Decoder) error
- func (s *ContentType) Encode(e *jx.Encoder)
- func (s *ContentType) GetDescription() NilString
- 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 NilString)
- 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 ContentTypeSys
- func (s *ContentTypeSys) Decode(d *jx.Decoder) error
- func (s *ContentTypeSys) Encode(e *jx.Encoder)
- func (s *ContentTypeSys) GetCreatedAt() OptDateTime
- func (s *ContentTypeSys) GetID() string
- func (s *ContentTypeSys) GetPublishedAt() OptDateTime
- func (s *ContentTypeSys) GetPublishedVersion() OptInt
- 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) SetID(val string)
- func (s *ContentTypeSys) SetPublishedAt(val OptDateTime)
- func (s *ContentTypeSys) SetPublishedVersion(val OptInt)
- 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 CreateDeliveryApiKeyReq
- func (s *CreateDeliveryApiKeyReq) Decode(d *jx.Decoder) error
- func (s *CreateDeliveryApiKeyReq) Encode(e *jx.Encoder)
- func (s *CreateDeliveryApiKeyReq) GetDescription() OptNilString
- func (s *CreateDeliveryApiKeyReq) GetEnvironments() []EnvironmentLink
- func (s *CreateDeliveryApiKeyReq) GetName() string
- func (s *CreateDeliveryApiKeyReq) MarshalJSON() ([]byte, error)
- func (s *CreateDeliveryApiKeyReq) SetDescription(val OptNilString)
- func (s *CreateDeliveryApiKeyReq) SetEnvironments(val []EnvironmentLink)
- func (s *CreateDeliveryApiKeyReq) SetName(val string)
- func (s *CreateDeliveryApiKeyReq) UnmarshalJSON(data []byte) error
- func (s *CreateDeliveryApiKeyReq) Validate() error
- type CreateDeliveryApiKeyRes
- type CreatePersonalAccessTokenReq
- func (s *CreatePersonalAccessTokenReq) Decode(d *jx.Decoder) error
- func (s *CreatePersonalAccessTokenReq) Encode(e *jx.Encoder)
- func (s *CreatePersonalAccessTokenReq) GetExpiresIn() OptNilInt
- func (s *CreatePersonalAccessTokenReq) GetName() string
- func (s *CreatePersonalAccessTokenReq) GetScopes() []string
- func (s *CreatePersonalAccessTokenReq) MarshalJSON() ([]byte, error)
- func (s *CreatePersonalAccessTokenReq) SetExpiresIn(val OptNilInt)
- func (s *CreatePersonalAccessTokenReq) SetName(val string)
- func (s *CreatePersonalAccessTokenReq) SetScopes(val []string)
- func (s *CreatePersonalAccessTokenReq) UnmarshalJSON(data []byte) error
- func (s *CreatePersonalAccessTokenReq) Validate() error
- type CreatePersonalAccessTokenRes
- type DeactivateContentTypeParams
- type DeactivateContentTypeRes
- type DeleteAppInstallationParams
- type DeleteAppInstallationRes
- type DeleteContentTypeParams
- type DeleteContentTypeRes
- type DeleteDeliveryApiKeyParams
- type DeleteDeliveryApiKeyRes
- 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) GetSidebar() OptNilEditorInterfaceSidebarItemArray
- func (s *EditorInterface) GetSys() EditorInterfaceSys
- func (s *EditorInterface) MarshalJSON() ([]byte, error)
- func (s *EditorInterface) SetControls(val OptNilEditorInterfaceControlsItemArray)
- 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() OptEditorInterfaceControlsItemSettings
- 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 OptEditorInterfaceControlsItemSettings)
- func (s *EditorInterfaceControlsItem) SetWidgetId(val OptString)
- func (s *EditorInterfaceControlsItem) SetWidgetNamespace(val OptString)
- func (s *EditorInterfaceControlsItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceControlsItemSettings
- 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() OptEditorInterfaceSidebarItemSettings
- 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 OptEditorInterfaceSidebarItemSettings)
- func (s *EditorInterfaceSidebarItem) SetWidgetId(val string)
- func (s *EditorInterfaceSidebarItem) SetWidgetNamespace(val string)
- func (s *EditorInterfaceSidebarItem) UnmarshalJSON(data []byte) error
- type EditorInterfaceSidebarItemSettings
- type EditorInterfaceSys
- func (s *EditorInterfaceSys) Decode(d *jx.Decoder) error
- func (s *EditorInterfaceSys) Encode(e *jx.Encoder)
- func (s *EditorInterfaceSys) GetCreatedAt() OptDateTime
- func (s *EditorInterfaceSys) GetID() string
- func (s *EditorInterfaceSys) GetType() EditorInterfaceSysType
- func (s *EditorInterfaceSys) GetUpdatedAt() OptDateTime
- func (s *EditorInterfaceSys) GetVersion() int
- func (s *EditorInterfaceSys) MarshalJSON() ([]byte, error)
- func (s *EditorInterfaceSys) SetCreatedAt(val OptDateTime)
- func (s *EditorInterfaceSys) SetID(val string)
- 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 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 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 OptAppInstallationParameters
- func (o *OptAppInstallationParameters) Decode(d *jx.Decoder) error
- func (o OptAppInstallationParameters) Encode(e *jx.Encoder)
- func (o OptAppInstallationParameters) Get() (v AppInstallationParameters, ok bool)
- func (o OptAppInstallationParameters) IsSet() bool
- func (s OptAppInstallationParameters) MarshalJSON() ([]byte, error)
- func (o OptAppInstallationParameters) Or(d AppInstallationParameters) AppInstallationParameters
- func (o *OptAppInstallationParameters) Reset()
- func (o *OptAppInstallationParameters) SetTo(v AppInstallationParameters)
- func (s *OptAppInstallationParameters) 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 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 OptEditorInterfaceControlsItemSettings
- func (o *OptEditorInterfaceControlsItemSettings) Decode(d *jx.Decoder) error
- func (o OptEditorInterfaceControlsItemSettings) Encode(e *jx.Encoder)
- func (o OptEditorInterfaceControlsItemSettings) Get() (v EditorInterfaceControlsItemSettings, ok bool)
- func (o OptEditorInterfaceControlsItemSettings) IsSet() bool
- func (s OptEditorInterfaceControlsItemSettings) MarshalJSON() ([]byte, error)
- func (o OptEditorInterfaceControlsItemSettings) Or(d EditorInterfaceControlsItemSettings) EditorInterfaceControlsItemSettings
- func (o *OptEditorInterfaceControlsItemSettings) Reset()
- func (o *OptEditorInterfaceControlsItemSettings) SetTo(v EditorInterfaceControlsItemSettings)
- func (s *OptEditorInterfaceControlsItemSettings) UnmarshalJSON(data []byte) error
- type OptEditorInterfaceSidebarItemSettings
- func (o *OptEditorInterfaceSidebarItemSettings) Decode(d *jx.Decoder) error
- func (o OptEditorInterfaceSidebarItemSettings) Encode(e *jx.Encoder)
- func (o OptEditorInterfaceSidebarItemSettings) Get() (v EditorInterfaceSidebarItemSettings, ok bool)
- func (o OptEditorInterfaceSidebarItemSettings) IsSet() bool
- func (s OptEditorInterfaceSidebarItemSettings) MarshalJSON() ([]byte, error)
- func (o OptEditorInterfaceSidebarItemSettings) Or(d EditorInterfaceSidebarItemSettings) EditorInterfaceSidebarItemSettings
- func (o *OptEditorInterfaceSidebarItemSettings) Reset()
- func (o *OptEditorInterfaceSidebarItemSettings) SetTo(v EditorInterfaceSidebarItemSettings)
- func (s *OptEditorInterfaceSidebarItemSettings) 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 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 OptNilPutEditorInterfaceReqControlsItemArray
- func (o *OptNilPutEditorInterfaceReqControlsItemArray) Decode(d *jx.Decoder) error
- func (o OptNilPutEditorInterfaceReqControlsItemArray) Encode(e *jx.Encoder)
- func (o OptNilPutEditorInterfaceReqControlsItemArray) Get() (v []PutEditorInterfaceReqControlsItem, ok bool)
- func (o OptNilPutEditorInterfaceReqControlsItemArray) IsNull() bool
- func (o OptNilPutEditorInterfaceReqControlsItemArray) IsSet() bool
- func (s OptNilPutEditorInterfaceReqControlsItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilPutEditorInterfaceReqControlsItemArray) Or(d []PutEditorInterfaceReqControlsItem) []PutEditorInterfaceReqControlsItem
- func (o *OptNilPutEditorInterfaceReqControlsItemArray) Reset()
- func (o *OptNilPutEditorInterfaceReqControlsItemArray) SetTo(v []PutEditorInterfaceReqControlsItem)
- func (o *OptNilPutEditorInterfaceReqControlsItemArray) SetToNull()
- func (s *OptNilPutEditorInterfaceReqControlsItemArray) UnmarshalJSON(data []byte) error
- type OptNilPutEditorInterfaceReqSidebarItemArray
- func (o *OptNilPutEditorInterfaceReqSidebarItemArray) Decode(d *jx.Decoder) error
- func (o OptNilPutEditorInterfaceReqSidebarItemArray) Encode(e *jx.Encoder)
- func (o OptNilPutEditorInterfaceReqSidebarItemArray) Get() (v []PutEditorInterfaceReqSidebarItem, ok bool)
- func (o OptNilPutEditorInterfaceReqSidebarItemArray) IsNull() bool
- func (o OptNilPutEditorInterfaceReqSidebarItemArray) IsSet() bool
- func (s OptNilPutEditorInterfaceReqSidebarItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilPutEditorInterfaceReqSidebarItemArray) Or(d []PutEditorInterfaceReqSidebarItem) []PutEditorInterfaceReqSidebarItem
- func (o *OptNilPutEditorInterfaceReqSidebarItemArray) Reset()
- func (o *OptNilPutEditorInterfaceReqSidebarItemArray) SetTo(v []PutEditorInterfaceReqSidebarItem)
- func (o *OptNilPutEditorInterfaceReqSidebarItemArray) SetToNull()
- func (s *OptNilPutEditorInterfaceReqSidebarItemArray) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- func (v *OptNilString) ValueStringPointer() *string
- type OptPutAppInstallationReqParameters
- func (o *OptPutAppInstallationReqParameters) Decode(d *jx.Decoder) error
- func (o OptPutAppInstallationReqParameters) Encode(e *jx.Encoder)
- func (o OptPutAppInstallationReqParameters) Get() (v PutAppInstallationReqParameters, ok bool)
- func (o OptPutAppInstallationReqParameters) IsSet() bool
- func (s OptPutAppInstallationReqParameters) MarshalJSON() ([]byte, error)
- func (o OptPutAppInstallationReqParameters) Or(d PutAppInstallationReqParameters) PutAppInstallationReqParameters
- func (o *OptPutAppInstallationReqParameters) Reset()
- func (o *OptPutAppInstallationReqParameters) SetTo(v PutAppInstallationReqParameters)
- func (s *OptPutAppInstallationReqParameters) UnmarshalJSON(data []byte) error
- type OptPutContentTypeReqFieldsItemItems
- func (o *OptPutContentTypeReqFieldsItemItems) Decode(d *jx.Decoder) error
- func (o OptPutContentTypeReqFieldsItemItems) Encode(e *jx.Encoder)
- func (o OptPutContentTypeReqFieldsItemItems) Get() (v PutContentTypeReqFieldsItemItems, ok bool)
- func (o OptPutContentTypeReqFieldsItemItems) IsSet() bool
- func (s OptPutContentTypeReqFieldsItemItems) MarshalJSON() ([]byte, error)
- func (o OptPutContentTypeReqFieldsItemItems) Or(d PutContentTypeReqFieldsItemItems) PutContentTypeReqFieldsItemItems
- func (o *OptPutContentTypeReqFieldsItemItems) Reset()
- func (o *OptPutContentTypeReqFieldsItemItems) SetTo(v PutContentTypeReqFieldsItemItems)
- func (s *OptPutContentTypeReqFieldsItemItems) UnmarshalJSON(data []byte) error
- type OptPutEditorInterfaceReqControlsItemSettings
- func (o *OptPutEditorInterfaceReqControlsItemSettings) Decode(d *jx.Decoder) error
- func (o OptPutEditorInterfaceReqControlsItemSettings) Encode(e *jx.Encoder)
- func (o OptPutEditorInterfaceReqControlsItemSettings) Get() (v PutEditorInterfaceReqControlsItemSettings, ok bool)
- func (o OptPutEditorInterfaceReqControlsItemSettings) IsSet() bool
- func (s OptPutEditorInterfaceReqControlsItemSettings) MarshalJSON() ([]byte, error)
- func (o OptPutEditorInterfaceReqControlsItemSettings) Or(d PutEditorInterfaceReqControlsItemSettings) PutEditorInterfaceReqControlsItemSettings
- func (o *OptPutEditorInterfaceReqControlsItemSettings) Reset()
- func (o *OptPutEditorInterfaceReqControlsItemSettings) SetTo(v PutEditorInterfaceReqControlsItemSettings)
- func (s *OptPutEditorInterfaceReqControlsItemSettings) UnmarshalJSON(data []byte) error
- type OptPutEditorInterfaceReqSidebarItemSettings
- func (o *OptPutEditorInterfaceReqSidebarItemSettings) Decode(d *jx.Decoder) error
- func (o OptPutEditorInterfaceReqSidebarItemSettings) Encode(e *jx.Encoder)
- func (o OptPutEditorInterfaceReqSidebarItemSettings) Get() (v PutEditorInterfaceReqSidebarItemSettings, ok bool)
- func (o OptPutEditorInterfaceReqSidebarItemSettings) IsSet() bool
- func (s OptPutEditorInterfaceReqSidebarItemSettings) MarshalJSON() ([]byte, error)
- func (o OptPutEditorInterfaceReqSidebarItemSettings) Or(d PutEditorInterfaceReqSidebarItemSettings) PutEditorInterfaceReqSidebarItemSettings
- func (o *OptPutEditorInterfaceReqSidebarItemSettings) Reset()
- func (o *OptPutEditorInterfaceReqSidebarItemSettings) SetTo(v PutEditorInterfaceReqSidebarItemSettings)
- func (s *OptPutEditorInterfaceReqSidebarItemSettings) 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 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 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) 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) 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 PutAppInstallationReq
- func (s *PutAppInstallationReq) Decode(d *jx.Decoder) error
- func (s *PutAppInstallationReq) Encode(e *jx.Encoder)
- func (s *PutAppInstallationReq) GetParameters() OptPutAppInstallationReqParameters
- func (s *PutAppInstallationReq) MarshalJSON() ([]byte, error)
- func (s *PutAppInstallationReq) SetParameters(val OptPutAppInstallationReqParameters)
- func (s *PutAppInstallationReq) UnmarshalJSON(data []byte) error
- type PutAppInstallationReqParameters
- type PutAppInstallationRes
- type PutContentTypeCreated
- type PutContentTypeOK
- type PutContentTypeParams
- type PutContentTypeReq
- func (s *PutContentTypeReq) Decode(d *jx.Decoder) error
- func (s *PutContentTypeReq) Encode(e *jx.Encoder)
- func (s *PutContentTypeReq) GetDescription() string
- func (s *PutContentTypeReq) GetDisplayField() string
- func (s *PutContentTypeReq) GetFields() []PutContentTypeReqFieldsItem
- func (s *PutContentTypeReq) GetName() string
- func (s *PutContentTypeReq) MarshalJSON() ([]byte, error)
- func (s *PutContentTypeReq) SetDescription(val string)
- func (s *PutContentTypeReq) SetDisplayField(val string)
- func (s *PutContentTypeReq) SetFields(val []PutContentTypeReqFieldsItem)
- func (s *PutContentTypeReq) SetName(val string)
- func (s *PutContentTypeReq) UnmarshalJSON(data []byte) error
- func (s *PutContentTypeReq) Validate() error
- type PutContentTypeReqFieldsItem
- func (s *PutContentTypeReqFieldsItem) Decode(d *jx.Decoder) error
- func (s *PutContentTypeReqFieldsItem) Encode(e *jx.Encoder)
- func (s *PutContentTypeReqFieldsItem) GetDefaultValue() jx.Raw
- func (s *PutContentTypeReqFieldsItem) GetDisabled() OptBool
- func (s *PutContentTypeReqFieldsItem) GetID() string
- func (s *PutContentTypeReqFieldsItem) GetItems() OptPutContentTypeReqFieldsItemItems
- func (s *PutContentTypeReqFieldsItem) GetLinkType() OptString
- func (s *PutContentTypeReqFieldsItem) GetLocalized() OptBool
- func (s *PutContentTypeReqFieldsItem) GetName() string
- func (s *PutContentTypeReqFieldsItem) GetOmitted() OptBool
- func (s *PutContentTypeReqFieldsItem) GetRequired() OptBool
- func (s *PutContentTypeReqFieldsItem) GetType() string
- func (s *PutContentTypeReqFieldsItem) GetValidations() []jx.Raw
- func (s *PutContentTypeReqFieldsItem) MarshalJSON() ([]byte, error)
- func (s *PutContentTypeReqFieldsItem) SetDefaultValue(val jx.Raw)
- func (s *PutContentTypeReqFieldsItem) SetDisabled(val OptBool)
- func (s *PutContentTypeReqFieldsItem) SetID(val string)
- func (s *PutContentTypeReqFieldsItem) SetItems(val OptPutContentTypeReqFieldsItemItems)
- func (s *PutContentTypeReqFieldsItem) SetLinkType(val OptString)
- func (s *PutContentTypeReqFieldsItem) SetLocalized(val OptBool)
- func (s *PutContentTypeReqFieldsItem) SetName(val string)
- func (s *PutContentTypeReqFieldsItem) SetOmitted(val OptBool)
- func (s *PutContentTypeReqFieldsItem) SetRequired(val OptBool)
- func (s *PutContentTypeReqFieldsItem) SetType(val string)
- func (s *PutContentTypeReqFieldsItem) SetValidations(val []jx.Raw)
- func (s *PutContentTypeReqFieldsItem) UnmarshalJSON(data []byte) error
- type PutContentTypeReqFieldsItemItems
- func (s *PutContentTypeReqFieldsItemItems) Decode(d *jx.Decoder) error
- func (s *PutContentTypeReqFieldsItemItems) Encode(e *jx.Encoder)
- func (s *PutContentTypeReqFieldsItemItems) GetLinkType() OptString
- func (s *PutContentTypeReqFieldsItemItems) GetType() OptString
- func (s *PutContentTypeReqFieldsItemItems) GetValidations() []jx.Raw
- func (s *PutContentTypeReqFieldsItemItems) MarshalJSON() ([]byte, error)
- func (s *PutContentTypeReqFieldsItemItems) SetLinkType(val OptString)
- func (s *PutContentTypeReqFieldsItemItems) SetType(val OptString)
- func (s *PutContentTypeReqFieldsItemItems) SetValidations(val []jx.Raw)
- func (s *PutContentTypeReqFieldsItemItems) UnmarshalJSON(data []byte) error
- type PutContentTypeRes
- type PutEditorInterfaceParams
- type PutEditorInterfaceReq
- func (s *PutEditorInterfaceReq) Decode(d *jx.Decoder) error
- func (s *PutEditorInterfaceReq) Encode(e *jx.Encoder)
- func (s *PutEditorInterfaceReq) GetControls() OptNilPutEditorInterfaceReqControlsItemArray
- func (s *PutEditorInterfaceReq) GetSidebar() OptNilPutEditorInterfaceReqSidebarItemArray
- func (s *PutEditorInterfaceReq) MarshalJSON() ([]byte, error)
- func (s *PutEditorInterfaceReq) SetControls(val OptNilPutEditorInterfaceReqControlsItemArray)
- func (s *PutEditorInterfaceReq) SetSidebar(val OptNilPutEditorInterfaceReqSidebarItemArray)
- func (s *PutEditorInterfaceReq) UnmarshalJSON(data []byte) error
- func (s *PutEditorInterfaceReq) Validate() error
- type PutEditorInterfaceReqControlsItem
- func (s *PutEditorInterfaceReqControlsItem) Decode(d *jx.Decoder) error
- func (s *PutEditorInterfaceReqControlsItem) Encode(e *jx.Encoder)
- func (s *PutEditorInterfaceReqControlsItem) GetFieldId() string
- func (s *PutEditorInterfaceReqControlsItem) GetSettings() OptPutEditorInterfaceReqControlsItemSettings
- func (s *PutEditorInterfaceReqControlsItem) GetWidgetId() OptString
- func (s *PutEditorInterfaceReqControlsItem) GetWidgetNamespace() OptString
- func (s *PutEditorInterfaceReqControlsItem) MarshalJSON() ([]byte, error)
- func (s *PutEditorInterfaceReqControlsItem) SetFieldId(val string)
- func (s *PutEditorInterfaceReqControlsItem) SetSettings(val OptPutEditorInterfaceReqControlsItemSettings)
- func (s *PutEditorInterfaceReqControlsItem) SetWidgetId(val OptString)
- func (s *PutEditorInterfaceReqControlsItem) SetWidgetNamespace(val OptString)
- func (s *PutEditorInterfaceReqControlsItem) UnmarshalJSON(data []byte) error
- type PutEditorInterfaceReqControlsItemSettings
- func (s *PutEditorInterfaceReqControlsItemSettings) Decode(d *jx.Decoder) error
- func (s PutEditorInterfaceReqControlsItemSettings) Encode(e *jx.Encoder)
- func (s PutEditorInterfaceReqControlsItemSettings) MarshalJSON() ([]byte, error)
- func (s *PutEditorInterfaceReqControlsItemSettings) UnmarshalJSON(data []byte) error
- type PutEditorInterfaceReqSidebarItem
- func (s *PutEditorInterfaceReqSidebarItem) Decode(d *jx.Decoder) error
- func (s *PutEditorInterfaceReqSidebarItem) Encode(e *jx.Encoder)
- func (s *PutEditorInterfaceReqSidebarItem) GetDisabled() OptBool
- func (s *PutEditorInterfaceReqSidebarItem) GetSettings() OptPutEditorInterfaceReqSidebarItemSettings
- func (s *PutEditorInterfaceReqSidebarItem) GetWidgetId() string
- func (s *PutEditorInterfaceReqSidebarItem) GetWidgetNamespace() string
- func (s *PutEditorInterfaceReqSidebarItem) MarshalJSON() ([]byte, error)
- func (s *PutEditorInterfaceReqSidebarItem) SetDisabled(val OptBool)
- func (s *PutEditorInterfaceReqSidebarItem) SetSettings(val OptPutEditorInterfaceReqSidebarItemSettings)
- func (s *PutEditorInterfaceReqSidebarItem) SetWidgetId(val string)
- func (s *PutEditorInterfaceReqSidebarItem) SetWidgetNamespace(val string)
- func (s *PutEditorInterfaceReqSidebarItem) UnmarshalJSON(data []byte) error
- type PutEditorInterfaceReqSidebarItemSettings
- func (s *PutEditorInterfaceReqSidebarItemSettings) Decode(d *jx.Decoder) error
- func (s PutEditorInterfaceReqSidebarItemSettings) Encode(e *jx.Encoder)
- func (s PutEditorInterfaceReqSidebarItemSettings) MarshalJSON() ([]byte, error)
- func (s *PutEditorInterfaceReqSidebarItemSettings) UnmarshalJSON(data []byte) error
- type PutEditorInterfaceRes
- type RevokePersonalAccessTokenParams
- type RevokePersonalAccessTokenRes
- type SecuritySource
- type UpdateDeliveryApiKeyParams
- type UpdateDeliveryApiKeyReq
- func (s *UpdateDeliveryApiKeyReq) Decode(d *jx.Decoder) error
- func (s *UpdateDeliveryApiKeyReq) Encode(e *jx.Encoder)
- func (s *UpdateDeliveryApiKeyReq) GetDescription() OptNilString
- func (s *UpdateDeliveryApiKeyReq) GetEnvironments() []EnvironmentLink
- func (s *UpdateDeliveryApiKeyReq) GetName() string
- func (s *UpdateDeliveryApiKeyReq) MarshalJSON() ([]byte, error)
- func (s *UpdateDeliveryApiKeyReq) SetDescription(val OptNilString)
- func (s *UpdateDeliveryApiKeyReq) SetEnvironments(val []EnvironmentLink)
- func (s *UpdateDeliveryApiKeyReq) SetName(val string)
- func (s *UpdateDeliveryApiKeyReq) UnmarshalJSON(data []byte) error
- func (s *UpdateDeliveryApiKeyReq) Validate() error
- type UpdateDeliveryApiKeyRes
- 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
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 ApiKeySys ¶ added in v0.0.10
type ApiKeySys struct { // Merged property. Type ApiKeySysType `json:"type"` 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 AppInstallation ¶
type AppInstallation struct { Sys AppInstallationSys `json:"sys"` Parameters OptAppInstallationParameters `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() OptAppInstallationParameters
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 OptAppInstallationParameters)
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 AppInstallationParameters ¶
func (*AppInstallationParameters) Decode ¶
func (s *AppInstallationParameters) Decode(d *jx.Decoder) error
Decode decodes AppInstallationParameters from json.
func (AppInstallationParameters) Encode ¶
func (s AppInstallationParameters) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AppInstallationParameters) MarshalJSON ¶
func (s AppInstallationParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AppInstallationParameters) UnmarshalJSON ¶
func (s *AppInstallationParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AppInstallationSys ¶
type AppInstallationSys struct { // Merged property. Type AppInstallationSysType `json:"type"` }
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) 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) 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 *CreateDeliveryApiKeyReq, 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 *CreatePersonalAccessTokenReq) (CreatePersonalAccessTokenRes, error)
CreatePersonalAccessToken invokes createPersonalAccessToken operation.
Create a personal access token.
POST /users/me/access_tokens
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) 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) PutAppInstallation ¶
func (c *Client) PutAppInstallation(ctx context.Context, request *PutAppInstallationReq, 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 *PutContentTypeReq, 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 *PutEditorInterfaceReq, 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) 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 *UpdateDeliveryApiKeyReq, params UpdateDeliveryApiKeyParams) (UpdateDeliveryApiKeyRes, error)
UpdateDeliveryApiKey invokes updateDeliveryApiKey operation.
Update a single delivery api key.
PUT /spaces/{space_id}/api_keys/{api_key_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 NilString `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() NilString
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 NilString)
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 ContentTypeSys ¶ added in v0.0.5
type ContentTypeSys struct { // Merged property. Type ContentTypeSysType `json:"type"` 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) 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) 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) 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) 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 CreateDeliveryApiKeyReq ¶ added in v0.0.12
type CreateDeliveryApiKeyReq struct { Name string `json:"name"` Description OptNilString `json:"description"` Environments []EnvironmentLink `json:"environments"` }
func (*CreateDeliveryApiKeyReq) Decode ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) Decode(d *jx.Decoder) error
Decode decodes CreateDeliveryApiKeyReq from json.
func (*CreateDeliveryApiKeyReq) Encode ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateDeliveryApiKeyReq) GetDescription ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*CreateDeliveryApiKeyReq) GetEnvironments ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) GetEnvironments() []EnvironmentLink
GetEnvironments returns the value of Environments.
func (*CreateDeliveryApiKeyReq) GetName ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) GetName() string
GetName returns the value of Name.
func (*CreateDeliveryApiKeyReq) MarshalJSON ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateDeliveryApiKeyReq) SetDescription ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*CreateDeliveryApiKeyReq) SetEnvironments ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) SetEnvironments(val []EnvironmentLink)
SetEnvironments sets the value of Environments.
func (*CreateDeliveryApiKeyReq) SetName ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) SetName(val string)
SetName sets the value of Name.
func (*CreateDeliveryApiKeyReq) UnmarshalJSON ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateDeliveryApiKeyReq) Validate ¶ added in v0.0.12
func (s *CreateDeliveryApiKeyReq) Validate() error
type CreateDeliveryApiKeyRes ¶ added in v0.0.12
type CreateDeliveryApiKeyRes interface {
// contains filtered or unexported methods
}
type CreatePersonalAccessTokenReq ¶ added in v0.0.12
type CreatePersonalAccessTokenReq struct { Name string `json:"name"` Scopes []string `json:"scopes"` ExpiresIn OptNilInt `json:"expiresIn"` }
func (*CreatePersonalAccessTokenReq) Decode ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) Decode(d *jx.Decoder) error
Decode decodes CreatePersonalAccessTokenReq from json.
func (*CreatePersonalAccessTokenReq) Encode ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreatePersonalAccessTokenReq) GetExpiresIn ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) GetExpiresIn() OptNilInt
GetExpiresIn returns the value of ExpiresIn.
func (*CreatePersonalAccessTokenReq) GetName ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) GetName() string
GetName returns the value of Name.
func (*CreatePersonalAccessTokenReq) GetScopes ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) GetScopes() []string
GetScopes returns the value of Scopes.
func (*CreatePersonalAccessTokenReq) MarshalJSON ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatePersonalAccessTokenReq) SetExpiresIn ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) SetExpiresIn(val OptNilInt)
SetExpiresIn sets the value of ExpiresIn.
func (*CreatePersonalAccessTokenReq) SetName ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) SetName(val string)
SetName sets the value of Name.
func (*CreatePersonalAccessTokenReq) SetScopes ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) SetScopes(val []string)
SetScopes sets the value of Scopes.
func (*CreatePersonalAccessTokenReq) UnmarshalJSON ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreatePersonalAccessTokenReq) Validate ¶ added in v0.0.12
func (s *CreatePersonalAccessTokenReq) Validate() error
type CreatePersonalAccessTokenRes ¶ added in v0.0.12
type CreatePersonalAccessTokenRes 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 EditorInterface ¶ added in v0.0.3
type EditorInterface struct { Sys EditorInterfaceSys `json:"sys"` Controls OptNilEditorInterfaceControlsItemArray `json:"controls"` 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) 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) 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 OptEditorInterfaceControlsItemSettings `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() OptEditorInterfaceControlsItemSettings
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 OptEditorInterfaceControlsItemSettings)
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 EditorInterfaceControlsItemSettings ¶ added in v0.0.3
func (*EditorInterfaceControlsItemSettings) Decode ¶ added in v0.0.3
func (s *EditorInterfaceControlsItemSettings) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceControlsItemSettings from json.
func (EditorInterfaceControlsItemSettings) Encode ¶ added in v0.0.3
func (s EditorInterfaceControlsItemSettings) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (EditorInterfaceControlsItemSettings) MarshalJSON ¶ added in v0.0.3
func (s EditorInterfaceControlsItemSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceControlsItemSettings) UnmarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceControlsItemSettings) 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 OptEditorInterfaceSidebarItemSettings `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() OptEditorInterfaceSidebarItemSettings
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 OptEditorInterfaceSidebarItemSettings)
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 EditorInterfaceSidebarItemSettings ¶ added in v0.0.3
func (*EditorInterfaceSidebarItemSettings) Decode ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItemSettings) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceSidebarItemSettings from json.
func (EditorInterfaceSidebarItemSettings) Encode ¶ added in v0.0.3
func (s EditorInterfaceSidebarItemSettings) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (EditorInterfaceSidebarItemSettings) MarshalJSON ¶ added in v0.0.3
func (s EditorInterfaceSidebarItemSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditorInterfaceSidebarItemSettings) UnmarshalJSON ¶ added in v0.0.3
func (s *EditorInterfaceSidebarItemSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EditorInterfaceSys ¶ added in v0.0.3
type EditorInterfaceSys struct { // Merged property. Type EditorInterfaceSysType `json:"type"` ID string `json:"id"` Version int `json:"version"` CreatedAt OptDateTime `json:"createdAt"` UpdatedAt OptDateTime `json:"updatedAt"` }
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) GetCreatedAt ¶ added in v0.0.3
func (s *EditorInterfaceSys) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*EditorInterfaceSys) GetID ¶ added in v0.0.3
func (s *EditorInterfaceSys) GetID() string
GetID returns the value of ID.
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) SetCreatedAt ¶ added in v0.0.3
func (s *EditorInterfaceSys) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*EditorInterfaceSys) SetID ¶ added in v0.0.3
func (s *EditorInterfaceSys) SetID(val string)
SetID sets the value of ID.
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 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 *CreateDeliveryApiKeyReq, params CreateDeliveryApiKeyParams) (CreateDeliveryApiKeyRes, error) // CreatePersonalAccessToken invokes createPersonalAccessToken operation. // // Create a personal access token. // // POST /users/me/access_tokens CreatePersonalAccessToken(ctx context.Context, request *CreatePersonalAccessTokenReq) (CreatePersonalAccessTokenRes, 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) // 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) // 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 *PutAppInstallationReq, 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 *PutContentTypeReq, 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 *PutEditorInterfaceReq, params PutEditorInterfaceParams) (PutEditorInterfaceRes, 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 *UpdateDeliveryApiKeyReq, params UpdateDeliveryApiKeyParams) (UpdateDeliveryApiKeyRes, 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()
SetNull sets value to null.
func (*NilString) UnmarshalJSON ¶ added in v0.0.7
UnmarshalJSON implements stdjson.Unmarshaler.
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 OptAppInstallationParameters ¶
type OptAppInstallationParameters struct { Value AppInstallationParameters Set bool }
OptAppInstallationParameters is optional AppInstallationParameters.
func NewOptAppInstallationParameters ¶
func NewOptAppInstallationParameters(v AppInstallationParameters) OptAppInstallationParameters
NewOptAppInstallationParameters returns new OptAppInstallationParameters with value set to v.
func (*OptAppInstallationParameters) Decode ¶
func (o *OptAppInstallationParameters) Decode(d *jx.Decoder) error
Decode decodes AppInstallationParameters from json.
func (OptAppInstallationParameters) Encode ¶
func (o OptAppInstallationParameters) Encode(e *jx.Encoder)
Encode encodes AppInstallationParameters as json.
func (OptAppInstallationParameters) Get ¶
func (o OptAppInstallationParameters) Get() (v AppInstallationParameters, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAppInstallationParameters) IsSet ¶
func (o OptAppInstallationParameters) IsSet() bool
IsSet returns true if OptAppInstallationParameters was set.
func (OptAppInstallationParameters) MarshalJSON ¶
func (s OptAppInstallationParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAppInstallationParameters) Reset ¶
func (o *OptAppInstallationParameters) Reset()
Reset unsets value.
func (*OptAppInstallationParameters) SetTo ¶
func (o *OptAppInstallationParameters) SetTo(v AppInstallationParameters)
SetTo sets value to v.
func (*OptAppInstallationParameters) UnmarshalJSON ¶
func (s *OptAppInstallationParameters) 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 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 OptEditorInterfaceControlsItemSettings ¶ added in v0.0.3
type OptEditorInterfaceControlsItemSettings struct { Value EditorInterfaceControlsItemSettings Set bool }
OptEditorInterfaceControlsItemSettings is optional EditorInterfaceControlsItemSettings.
func NewOptEditorInterfaceControlsItemSettings ¶ added in v0.0.3
func NewOptEditorInterfaceControlsItemSettings(v EditorInterfaceControlsItemSettings) OptEditorInterfaceControlsItemSettings
NewOptEditorInterfaceControlsItemSettings returns new OptEditorInterfaceControlsItemSettings with value set to v.
func (*OptEditorInterfaceControlsItemSettings) Decode ¶ added in v0.0.3
func (o *OptEditorInterfaceControlsItemSettings) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceControlsItemSettings from json.
func (OptEditorInterfaceControlsItemSettings) Encode ¶ added in v0.0.3
func (o OptEditorInterfaceControlsItemSettings) Encode(e *jx.Encoder)
Encode encodes EditorInterfaceControlsItemSettings as json.
func (OptEditorInterfaceControlsItemSettings) Get ¶ added in v0.0.3
func (o OptEditorInterfaceControlsItemSettings) Get() (v EditorInterfaceControlsItemSettings, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEditorInterfaceControlsItemSettings) IsSet ¶ added in v0.0.3
func (o OptEditorInterfaceControlsItemSettings) IsSet() bool
IsSet returns true if OptEditorInterfaceControlsItemSettings was set.
func (OptEditorInterfaceControlsItemSettings) MarshalJSON ¶ added in v0.0.3
func (s OptEditorInterfaceControlsItemSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEditorInterfaceControlsItemSettings) Or ¶ added in v0.0.3
func (o OptEditorInterfaceControlsItemSettings) Or(d EditorInterfaceControlsItemSettings) EditorInterfaceControlsItemSettings
Or returns value if set, or given parameter if does not.
func (*OptEditorInterfaceControlsItemSettings) Reset ¶ added in v0.0.3
func (o *OptEditorInterfaceControlsItemSettings) Reset()
Reset unsets value.
func (*OptEditorInterfaceControlsItemSettings) SetTo ¶ added in v0.0.3
func (o *OptEditorInterfaceControlsItemSettings) SetTo(v EditorInterfaceControlsItemSettings)
SetTo sets value to v.
func (*OptEditorInterfaceControlsItemSettings) UnmarshalJSON ¶ added in v0.0.3
func (s *OptEditorInterfaceControlsItemSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptEditorInterfaceSidebarItemSettings ¶ added in v0.0.3
type OptEditorInterfaceSidebarItemSettings struct { Value EditorInterfaceSidebarItemSettings Set bool }
OptEditorInterfaceSidebarItemSettings is optional EditorInterfaceSidebarItemSettings.
func NewOptEditorInterfaceSidebarItemSettings ¶ added in v0.0.3
func NewOptEditorInterfaceSidebarItemSettings(v EditorInterfaceSidebarItemSettings) OptEditorInterfaceSidebarItemSettings
NewOptEditorInterfaceSidebarItemSettings returns new OptEditorInterfaceSidebarItemSettings with value set to v.
func (*OptEditorInterfaceSidebarItemSettings) Decode ¶ added in v0.0.3
func (o *OptEditorInterfaceSidebarItemSettings) Decode(d *jx.Decoder) error
Decode decodes EditorInterfaceSidebarItemSettings from json.
func (OptEditorInterfaceSidebarItemSettings) Encode ¶ added in v0.0.3
func (o OptEditorInterfaceSidebarItemSettings) Encode(e *jx.Encoder)
Encode encodes EditorInterfaceSidebarItemSettings as json.
func (OptEditorInterfaceSidebarItemSettings) Get ¶ added in v0.0.3
func (o OptEditorInterfaceSidebarItemSettings) Get() (v EditorInterfaceSidebarItemSettings, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEditorInterfaceSidebarItemSettings) IsSet ¶ added in v0.0.3
func (o OptEditorInterfaceSidebarItemSettings) IsSet() bool
IsSet returns true if OptEditorInterfaceSidebarItemSettings was set.
func (OptEditorInterfaceSidebarItemSettings) MarshalJSON ¶ added in v0.0.3
func (s OptEditorInterfaceSidebarItemSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEditorInterfaceSidebarItemSettings) Or ¶ added in v0.0.3
func (o OptEditorInterfaceSidebarItemSettings) Or(d EditorInterfaceSidebarItemSettings) EditorInterfaceSidebarItemSettings
Or returns value if set, or given parameter if does not.
func (*OptEditorInterfaceSidebarItemSettings) Reset ¶ added in v0.0.3
func (o *OptEditorInterfaceSidebarItemSettings) Reset()
Reset unsets value.
func (*OptEditorInterfaceSidebarItemSettings) SetTo ¶ added in v0.0.3
func (o *OptEditorInterfaceSidebarItemSettings) SetTo(v EditorInterfaceSidebarItemSettings)
SetTo sets value to v.
func (*OptEditorInterfaceSidebarItemSettings) UnmarshalJSON ¶ added in v0.0.3
func (s *OptEditorInterfaceSidebarItemSettings) 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
IsSet 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()
SetNull 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
IsSet 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()
SetNull sets value to null.
func (*OptNilEditorInterfaceControlsItemArray) UnmarshalJSON ¶ added in v0.0.4
func (s *OptNilEditorInterfaceControlsItemArray) 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
IsSet 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()
SetNull 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()
SetNull 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 OptNilPutEditorInterfaceReqControlsItemArray ¶ added in v0.0.4
type OptNilPutEditorInterfaceReqControlsItemArray struct { Value []PutEditorInterfaceReqControlsItem Set bool Null bool }
OptNilPutEditorInterfaceReqControlsItemArray is optional nullable []PutEditorInterfaceReqControlsItem.
func NewOptNilPutEditorInterfaceReqControlsItemArray ¶ added in v0.0.4
func NewOptNilPutEditorInterfaceReqControlsItemArray(v []PutEditorInterfaceReqControlsItem) OptNilPutEditorInterfaceReqControlsItemArray
NewOptNilPutEditorInterfaceReqControlsItemArray returns new OptNilPutEditorInterfaceReqControlsItemArray with value set to v.
func (*OptNilPutEditorInterfaceReqControlsItemArray) Decode ¶ added in v0.0.4
func (o *OptNilPutEditorInterfaceReqControlsItemArray) Decode(d *jx.Decoder) error
Decode decodes []PutEditorInterfaceReqControlsItem from json.
func (OptNilPutEditorInterfaceReqControlsItemArray) Encode ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqControlsItemArray) Encode(e *jx.Encoder)
Encode encodes []PutEditorInterfaceReqControlsItem as json.
func (OptNilPutEditorInterfaceReqControlsItemArray) Get ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqControlsItemArray) Get() (v []PutEditorInterfaceReqControlsItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilPutEditorInterfaceReqControlsItemArray) IsNull ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqControlsItemArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilPutEditorInterfaceReqControlsItemArray) IsSet ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqControlsItemArray) IsSet() bool
IsSet returns true if OptNilPutEditorInterfaceReqControlsItemArray was set.
func (OptNilPutEditorInterfaceReqControlsItemArray) MarshalJSON ¶ added in v0.0.4
func (s OptNilPutEditorInterfaceReqControlsItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilPutEditorInterfaceReqControlsItemArray) Or ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqControlsItemArray) Or(d []PutEditorInterfaceReqControlsItem) []PutEditorInterfaceReqControlsItem
Or returns value if set, or given parameter if does not.
func (*OptNilPutEditorInterfaceReqControlsItemArray) Reset ¶ added in v0.0.4
func (o *OptNilPutEditorInterfaceReqControlsItemArray) Reset()
Reset unsets value.
func (*OptNilPutEditorInterfaceReqControlsItemArray) SetTo ¶ added in v0.0.4
func (o *OptNilPutEditorInterfaceReqControlsItemArray) SetTo(v []PutEditorInterfaceReqControlsItem)
SetTo sets value to v.
func (*OptNilPutEditorInterfaceReqControlsItemArray) SetToNull ¶ added in v0.0.4
func (o *OptNilPutEditorInterfaceReqControlsItemArray) SetToNull()
SetNull sets value to null.
func (*OptNilPutEditorInterfaceReqControlsItemArray) UnmarshalJSON ¶ added in v0.0.4
func (s *OptNilPutEditorInterfaceReqControlsItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilPutEditorInterfaceReqSidebarItemArray ¶ added in v0.0.4
type OptNilPutEditorInterfaceReqSidebarItemArray struct { Value []PutEditorInterfaceReqSidebarItem Set bool Null bool }
OptNilPutEditorInterfaceReqSidebarItemArray is optional nullable []PutEditorInterfaceReqSidebarItem.
func NewOptNilPutEditorInterfaceReqSidebarItemArray ¶ added in v0.0.4
func NewOptNilPutEditorInterfaceReqSidebarItemArray(v []PutEditorInterfaceReqSidebarItem) OptNilPutEditorInterfaceReqSidebarItemArray
NewOptNilPutEditorInterfaceReqSidebarItemArray returns new OptNilPutEditorInterfaceReqSidebarItemArray with value set to v.
func (*OptNilPutEditorInterfaceReqSidebarItemArray) Decode ¶ added in v0.0.4
func (o *OptNilPutEditorInterfaceReqSidebarItemArray) Decode(d *jx.Decoder) error
Decode decodes []PutEditorInterfaceReqSidebarItem from json.
func (OptNilPutEditorInterfaceReqSidebarItemArray) Encode ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqSidebarItemArray) Encode(e *jx.Encoder)
Encode encodes []PutEditorInterfaceReqSidebarItem as json.
func (OptNilPutEditorInterfaceReqSidebarItemArray) Get ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqSidebarItemArray) Get() (v []PutEditorInterfaceReqSidebarItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilPutEditorInterfaceReqSidebarItemArray) IsNull ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqSidebarItemArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilPutEditorInterfaceReqSidebarItemArray) IsSet ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqSidebarItemArray) IsSet() bool
IsSet returns true if OptNilPutEditorInterfaceReqSidebarItemArray was set.
func (OptNilPutEditorInterfaceReqSidebarItemArray) MarshalJSON ¶ added in v0.0.4
func (s OptNilPutEditorInterfaceReqSidebarItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilPutEditorInterfaceReqSidebarItemArray) Or ¶ added in v0.0.4
func (o OptNilPutEditorInterfaceReqSidebarItemArray) Or(d []PutEditorInterfaceReqSidebarItem) []PutEditorInterfaceReqSidebarItem
Or returns value if set, or given parameter if does not.
func (*OptNilPutEditorInterfaceReqSidebarItemArray) Reset ¶ added in v0.0.4
func (o *OptNilPutEditorInterfaceReqSidebarItemArray) Reset()
Reset unsets value.
func (*OptNilPutEditorInterfaceReqSidebarItemArray) SetTo ¶ added in v0.0.4
func (o *OptNilPutEditorInterfaceReqSidebarItemArray) SetTo(v []PutEditorInterfaceReqSidebarItem)
SetTo sets value to v.
func (*OptNilPutEditorInterfaceReqSidebarItemArray) SetToNull ¶ added in v0.0.4
func (o *OptNilPutEditorInterfaceReqSidebarItemArray) SetToNull()
SetNull sets value to null.
func (*OptNilPutEditorInterfaceReqSidebarItemArray) UnmarshalJSON ¶ added in v0.0.4
func (s *OptNilPutEditorInterfaceReqSidebarItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶ added in v0.0.10
OptNilString is optional nullable string.
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
IsSet 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()
SetNull 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 OptPutAppInstallationReqParameters ¶
type OptPutAppInstallationReqParameters struct { Value PutAppInstallationReqParameters Set bool }
OptPutAppInstallationReqParameters is optional PutAppInstallationReqParameters.
func NewOptPutAppInstallationReqParameters ¶
func NewOptPutAppInstallationReqParameters(v PutAppInstallationReqParameters) OptPutAppInstallationReqParameters
NewOptPutAppInstallationReqParameters returns new OptPutAppInstallationReqParameters with value set to v.
func (*OptPutAppInstallationReqParameters) Decode ¶
func (o *OptPutAppInstallationReqParameters) Decode(d *jx.Decoder) error
Decode decodes PutAppInstallationReqParameters from json.
func (OptPutAppInstallationReqParameters) Encode ¶
func (o OptPutAppInstallationReqParameters) Encode(e *jx.Encoder)
Encode encodes PutAppInstallationReqParameters as json.
func (OptPutAppInstallationReqParameters) Get ¶
func (o OptPutAppInstallationReqParameters) Get() (v PutAppInstallationReqParameters, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPutAppInstallationReqParameters) IsSet ¶
func (o OptPutAppInstallationReqParameters) IsSet() bool
IsSet returns true if OptPutAppInstallationReqParameters was set.
func (OptPutAppInstallationReqParameters) MarshalJSON ¶
func (s OptPutAppInstallationReqParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPutAppInstallationReqParameters) Or ¶
func (o OptPutAppInstallationReqParameters) Or(d PutAppInstallationReqParameters) PutAppInstallationReqParameters
Or returns value if set, or given parameter if does not.
func (*OptPutAppInstallationReqParameters) Reset ¶
func (o *OptPutAppInstallationReqParameters) Reset()
Reset unsets value.
func (*OptPutAppInstallationReqParameters) SetTo ¶
func (o *OptPutAppInstallationReqParameters) SetTo(v PutAppInstallationReqParameters)
SetTo sets value to v.
func (*OptPutAppInstallationReqParameters) UnmarshalJSON ¶
func (s *OptPutAppInstallationReqParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPutContentTypeReqFieldsItemItems ¶ added in v0.0.5
type OptPutContentTypeReqFieldsItemItems struct { Value PutContentTypeReqFieldsItemItems Set bool }
OptPutContentTypeReqFieldsItemItems is optional PutContentTypeReqFieldsItemItems.
func NewOptPutContentTypeReqFieldsItemItems ¶ added in v0.0.5
func NewOptPutContentTypeReqFieldsItemItems(v PutContentTypeReqFieldsItemItems) OptPutContentTypeReqFieldsItemItems
NewOptPutContentTypeReqFieldsItemItems returns new OptPutContentTypeReqFieldsItemItems with value set to v.
func (*OptPutContentTypeReqFieldsItemItems) Decode ¶ added in v0.0.5
func (o *OptPutContentTypeReqFieldsItemItems) Decode(d *jx.Decoder) error
Decode decodes PutContentTypeReqFieldsItemItems from json.
func (OptPutContentTypeReqFieldsItemItems) Encode ¶ added in v0.0.5
func (o OptPutContentTypeReqFieldsItemItems) Encode(e *jx.Encoder)
Encode encodes PutContentTypeReqFieldsItemItems as json.
func (OptPutContentTypeReqFieldsItemItems) Get ¶ added in v0.0.5
func (o OptPutContentTypeReqFieldsItemItems) Get() (v PutContentTypeReqFieldsItemItems, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPutContentTypeReqFieldsItemItems) IsSet ¶ added in v0.0.5
func (o OptPutContentTypeReqFieldsItemItems) IsSet() bool
IsSet returns true if OptPutContentTypeReqFieldsItemItems was set.
func (OptPutContentTypeReqFieldsItemItems) MarshalJSON ¶ added in v0.0.5
func (s OptPutContentTypeReqFieldsItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPutContentTypeReqFieldsItemItems) Or ¶ added in v0.0.5
func (o OptPutContentTypeReqFieldsItemItems) Or(d PutContentTypeReqFieldsItemItems) PutContentTypeReqFieldsItemItems
Or returns value if set, or given parameter if does not.
func (*OptPutContentTypeReqFieldsItemItems) Reset ¶ added in v0.0.5
func (o *OptPutContentTypeReqFieldsItemItems) Reset()
Reset unsets value.
func (*OptPutContentTypeReqFieldsItemItems) SetTo ¶ added in v0.0.5
func (o *OptPutContentTypeReqFieldsItemItems) SetTo(v PutContentTypeReqFieldsItemItems)
SetTo sets value to v.
func (*OptPutContentTypeReqFieldsItemItems) UnmarshalJSON ¶ added in v0.0.5
func (s *OptPutContentTypeReqFieldsItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPutEditorInterfaceReqControlsItemSettings ¶ added in v0.0.3
type OptPutEditorInterfaceReqControlsItemSettings struct { Value PutEditorInterfaceReqControlsItemSettings Set bool }
OptPutEditorInterfaceReqControlsItemSettings is optional PutEditorInterfaceReqControlsItemSettings.
func NewOptPutEditorInterfaceReqControlsItemSettings ¶ added in v0.0.3
func NewOptPutEditorInterfaceReqControlsItemSettings(v PutEditorInterfaceReqControlsItemSettings) OptPutEditorInterfaceReqControlsItemSettings
NewOptPutEditorInterfaceReqControlsItemSettings returns new OptPutEditorInterfaceReqControlsItemSettings with value set to v.
func (*OptPutEditorInterfaceReqControlsItemSettings) Decode ¶ added in v0.0.3
func (o *OptPutEditorInterfaceReqControlsItemSettings) Decode(d *jx.Decoder) error
Decode decodes PutEditorInterfaceReqControlsItemSettings from json.
func (OptPutEditorInterfaceReqControlsItemSettings) Encode ¶ added in v0.0.3
func (o OptPutEditorInterfaceReqControlsItemSettings) Encode(e *jx.Encoder)
Encode encodes PutEditorInterfaceReqControlsItemSettings as json.
func (OptPutEditorInterfaceReqControlsItemSettings) Get ¶ added in v0.0.3
func (o OptPutEditorInterfaceReqControlsItemSettings) Get() (v PutEditorInterfaceReqControlsItemSettings, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPutEditorInterfaceReqControlsItemSettings) IsSet ¶ added in v0.0.3
func (o OptPutEditorInterfaceReqControlsItemSettings) IsSet() bool
IsSet returns true if OptPutEditorInterfaceReqControlsItemSettings was set.
func (OptPutEditorInterfaceReqControlsItemSettings) MarshalJSON ¶ added in v0.0.3
func (s OptPutEditorInterfaceReqControlsItemSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPutEditorInterfaceReqControlsItemSettings) Or ¶ added in v0.0.3
func (o OptPutEditorInterfaceReqControlsItemSettings) Or(d PutEditorInterfaceReqControlsItemSettings) PutEditorInterfaceReqControlsItemSettings
Or returns value if set, or given parameter if does not.
func (*OptPutEditorInterfaceReqControlsItemSettings) Reset ¶ added in v0.0.3
func (o *OptPutEditorInterfaceReqControlsItemSettings) Reset()
Reset unsets value.
func (*OptPutEditorInterfaceReqControlsItemSettings) SetTo ¶ added in v0.0.3
func (o *OptPutEditorInterfaceReqControlsItemSettings) SetTo(v PutEditorInterfaceReqControlsItemSettings)
SetTo sets value to v.
func (*OptPutEditorInterfaceReqControlsItemSettings) UnmarshalJSON ¶ added in v0.0.3
func (s *OptPutEditorInterfaceReqControlsItemSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPutEditorInterfaceReqSidebarItemSettings ¶ added in v0.0.3
type OptPutEditorInterfaceReqSidebarItemSettings struct { Value PutEditorInterfaceReqSidebarItemSettings Set bool }
OptPutEditorInterfaceReqSidebarItemSettings is optional PutEditorInterfaceReqSidebarItemSettings.
func NewOptPutEditorInterfaceReqSidebarItemSettings ¶ added in v0.0.3
func NewOptPutEditorInterfaceReqSidebarItemSettings(v PutEditorInterfaceReqSidebarItemSettings) OptPutEditorInterfaceReqSidebarItemSettings
NewOptPutEditorInterfaceReqSidebarItemSettings returns new OptPutEditorInterfaceReqSidebarItemSettings with value set to v.
func (*OptPutEditorInterfaceReqSidebarItemSettings) Decode ¶ added in v0.0.3
func (o *OptPutEditorInterfaceReqSidebarItemSettings) Decode(d *jx.Decoder) error
Decode decodes PutEditorInterfaceReqSidebarItemSettings from json.
func (OptPutEditorInterfaceReqSidebarItemSettings) Encode ¶ added in v0.0.3
func (o OptPutEditorInterfaceReqSidebarItemSettings) Encode(e *jx.Encoder)
Encode encodes PutEditorInterfaceReqSidebarItemSettings as json.
func (OptPutEditorInterfaceReqSidebarItemSettings) Get ¶ added in v0.0.3
func (o OptPutEditorInterfaceReqSidebarItemSettings) Get() (v PutEditorInterfaceReqSidebarItemSettings, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPutEditorInterfaceReqSidebarItemSettings) IsSet ¶ added in v0.0.3
func (o OptPutEditorInterfaceReqSidebarItemSettings) IsSet() bool
IsSet returns true if OptPutEditorInterfaceReqSidebarItemSettings was set.
func (OptPutEditorInterfaceReqSidebarItemSettings) MarshalJSON ¶ added in v0.0.3
func (s OptPutEditorInterfaceReqSidebarItemSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPutEditorInterfaceReqSidebarItemSettings) Or ¶ added in v0.0.3
func (o OptPutEditorInterfaceReqSidebarItemSettings) Or(d PutEditorInterfaceReqSidebarItemSettings) PutEditorInterfaceReqSidebarItemSettings
Or returns value if set, or given parameter if does not.
func (*OptPutEditorInterfaceReqSidebarItemSettings) Reset ¶ added in v0.0.3
func (o *OptPutEditorInterfaceReqSidebarItemSettings) Reset()
Reset unsets value.
func (*OptPutEditorInterfaceReqSidebarItemSettings) SetTo ¶ added in v0.0.3
func (o *OptPutEditorInterfaceReqSidebarItemSettings) SetTo(v PutEditorInterfaceReqSidebarItemSettings)
SetTo sets value to v.
func (*OptPutEditorInterfaceReqSidebarItemSettings) UnmarshalJSON ¶ added in v0.0.3
func (s *OptPutEditorInterfaceReqSidebarItemSettings) 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 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 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"` 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) 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) 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 PutAppInstallationReq ¶
type PutAppInstallationReq struct {
Parameters OptPutAppInstallationReqParameters `json:"parameters"`
}
func (*PutAppInstallationReq) Decode ¶
func (s *PutAppInstallationReq) Decode(d *jx.Decoder) error
Decode decodes PutAppInstallationReq from json.
func (*PutAppInstallationReq) Encode ¶
func (s *PutAppInstallationReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PutAppInstallationReq) GetParameters ¶
func (s *PutAppInstallationReq) GetParameters() OptPutAppInstallationReqParameters
GetParameters returns the value of Parameters.
func (*PutAppInstallationReq) MarshalJSON ¶
func (s *PutAppInstallationReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutAppInstallationReq) SetParameters ¶
func (s *PutAppInstallationReq) SetParameters(val OptPutAppInstallationReqParameters)
SetParameters sets the value of Parameters.
func (*PutAppInstallationReq) UnmarshalJSON ¶
func (s *PutAppInstallationReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PutAppInstallationReqParameters ¶
func (*PutAppInstallationReqParameters) Decode ¶
func (s *PutAppInstallationReqParameters) Decode(d *jx.Decoder) error
Decode decodes PutAppInstallationReqParameters from json.
func (PutAppInstallationReqParameters) Encode ¶
func (s PutAppInstallationReqParameters) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PutAppInstallationReqParameters) MarshalJSON ¶
func (s PutAppInstallationReqParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutAppInstallationReqParameters) UnmarshalJSON ¶
func (s *PutAppInstallationReqParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 PutContentTypeReq ¶ added in v0.0.5
type PutContentTypeReq struct { Name string `json:"name"` Description string `json:"description"` DisplayField string `json:"displayField"` Fields []PutContentTypeReqFieldsItem `json:"fields"` }
func (*PutContentTypeReq) Decode ¶ added in v0.0.5
func (s *PutContentTypeReq) Decode(d *jx.Decoder) error
Decode decodes PutContentTypeReq from json.
func (*PutContentTypeReq) Encode ¶ added in v0.0.5
func (s *PutContentTypeReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PutContentTypeReq) GetDescription ¶ added in v0.0.5
func (s *PutContentTypeReq) GetDescription() string
GetDescription returns the value of Description.
func (*PutContentTypeReq) GetDisplayField ¶ added in v0.0.5
func (s *PutContentTypeReq) GetDisplayField() string
GetDisplayField returns the value of DisplayField.
func (*PutContentTypeReq) GetFields ¶ added in v0.0.5
func (s *PutContentTypeReq) GetFields() []PutContentTypeReqFieldsItem
GetFields returns the value of Fields.
func (*PutContentTypeReq) GetName ¶ added in v0.0.5
func (s *PutContentTypeReq) GetName() string
GetName returns the value of Name.
func (*PutContentTypeReq) MarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutContentTypeReq) SetDescription ¶ added in v0.0.5
func (s *PutContentTypeReq) SetDescription(val string)
SetDescription sets the value of Description.
func (*PutContentTypeReq) SetDisplayField ¶ added in v0.0.5
func (s *PutContentTypeReq) SetDisplayField(val string)
SetDisplayField sets the value of DisplayField.
func (*PutContentTypeReq) SetFields ¶ added in v0.0.5
func (s *PutContentTypeReq) SetFields(val []PutContentTypeReqFieldsItem)
SetFields sets the value of Fields.
func (*PutContentTypeReq) SetName ¶ added in v0.0.5
func (s *PutContentTypeReq) SetName(val string)
SetName sets the value of Name.
func (*PutContentTypeReq) UnmarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PutContentTypeReq) Validate ¶ added in v0.0.5
func (s *PutContentTypeReq) Validate() error
type PutContentTypeReqFieldsItem ¶ added in v0.0.5
type PutContentTypeReqFieldsItem struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` LinkType OptString `json:"linkType"` Items OptPutContentTypeReqFieldsItemItems `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 (*PutContentTypeReqFieldsItem) Decode ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) Decode(d *jx.Decoder) error
Decode decodes PutContentTypeReqFieldsItem from json.
func (*PutContentTypeReqFieldsItem) Encode ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PutContentTypeReqFieldsItem) GetDefaultValue ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetDefaultValue() jx.Raw
GetDefaultValue returns the value of DefaultValue.
func (*PutContentTypeReqFieldsItem) GetDisabled ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetDisabled() OptBool
GetDisabled returns the value of Disabled.
func (*PutContentTypeReqFieldsItem) GetID ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetID() string
GetID returns the value of ID.
func (*PutContentTypeReqFieldsItem) GetItems ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetItems() OptPutContentTypeReqFieldsItemItems
GetItems returns the value of Items.
func (*PutContentTypeReqFieldsItem) GetLinkType ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*PutContentTypeReqFieldsItem) GetLocalized ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetLocalized() OptBool
GetLocalized returns the value of Localized.
func (*PutContentTypeReqFieldsItem) GetName ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetName() string
GetName returns the value of Name.
func (*PutContentTypeReqFieldsItem) GetOmitted ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetOmitted() OptBool
GetOmitted returns the value of Omitted.
func (*PutContentTypeReqFieldsItem) GetRequired ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetRequired() OptBool
GetRequired returns the value of Required.
func (*PutContentTypeReqFieldsItem) GetType ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetType() string
GetType returns the value of Type.
func (*PutContentTypeReqFieldsItem) GetValidations ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) GetValidations() []jx.Raw
GetValidations returns the value of Validations.
func (*PutContentTypeReqFieldsItem) MarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutContentTypeReqFieldsItem) SetDefaultValue ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetDefaultValue(val jx.Raw)
SetDefaultValue sets the value of DefaultValue.
func (*PutContentTypeReqFieldsItem) SetDisabled ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetDisabled(val OptBool)
SetDisabled sets the value of Disabled.
func (*PutContentTypeReqFieldsItem) SetID ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetID(val string)
SetID sets the value of ID.
func (*PutContentTypeReqFieldsItem) SetItems ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetItems(val OptPutContentTypeReqFieldsItemItems)
SetItems sets the value of Items.
func (*PutContentTypeReqFieldsItem) SetLinkType ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*PutContentTypeReqFieldsItem) SetLocalized ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetLocalized(val OptBool)
SetLocalized sets the value of Localized.
func (*PutContentTypeReqFieldsItem) SetName ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetName(val string)
SetName sets the value of Name.
func (*PutContentTypeReqFieldsItem) SetOmitted ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetOmitted(val OptBool)
SetOmitted sets the value of Omitted.
func (*PutContentTypeReqFieldsItem) SetRequired ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetRequired(val OptBool)
SetRequired sets the value of Required.
func (*PutContentTypeReqFieldsItem) SetType ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetType(val string)
SetType sets the value of Type.
func (*PutContentTypeReqFieldsItem) SetValidations ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) SetValidations(val []jx.Raw)
SetValidations sets the value of Validations.
func (*PutContentTypeReqFieldsItem) UnmarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PutContentTypeReqFieldsItemItems ¶ added in v0.0.5
type PutContentTypeReqFieldsItemItems struct { Type OptString `json:"type"` LinkType OptString `json:"linkType"` Validations []jx.Raw `json:"validations"` }
func (*PutContentTypeReqFieldsItemItems) Decode ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) Decode(d *jx.Decoder) error
Decode decodes PutContentTypeReqFieldsItemItems from json.
func (*PutContentTypeReqFieldsItemItems) Encode ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PutContentTypeReqFieldsItemItems) GetLinkType ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) GetLinkType() OptString
GetLinkType returns the value of LinkType.
func (*PutContentTypeReqFieldsItemItems) GetType ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) GetType() OptString
GetType returns the value of Type.
func (*PutContentTypeReqFieldsItemItems) GetValidations ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) GetValidations() []jx.Raw
GetValidations returns the value of Validations.
func (*PutContentTypeReqFieldsItemItems) MarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutContentTypeReqFieldsItemItems) SetLinkType ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) SetLinkType(val OptString)
SetLinkType sets the value of LinkType.
func (*PutContentTypeReqFieldsItemItems) SetType ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) SetType(val OptString)
SetType sets the value of Type.
func (*PutContentTypeReqFieldsItemItems) SetValidations ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) SetValidations(val []jx.Raw)
SetValidations sets the value of Validations.
func (*PutContentTypeReqFieldsItemItems) UnmarshalJSON ¶ added in v0.0.5
func (s *PutContentTypeReqFieldsItemItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 PutEditorInterfaceReq ¶ added in v0.0.3
type PutEditorInterfaceReq struct { Controls OptNilPutEditorInterfaceReqControlsItemArray `json:"controls"` Sidebar OptNilPutEditorInterfaceReqSidebarItemArray `json:"sidebar"` }
func (*PutEditorInterfaceReq) Decode ¶ added in v0.0.3
func (s *PutEditorInterfaceReq) Decode(d *jx.Decoder) error
Decode decodes PutEditorInterfaceReq from json.
func (*PutEditorInterfaceReq) Encode ¶ added in v0.0.3
func (s *PutEditorInterfaceReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PutEditorInterfaceReq) GetControls ¶ added in v0.0.3
func (s *PutEditorInterfaceReq) GetControls() OptNilPutEditorInterfaceReqControlsItemArray
GetControls returns the value of Controls.
func (*PutEditorInterfaceReq) GetSidebar ¶ added in v0.0.3
func (s *PutEditorInterfaceReq) GetSidebar() OptNilPutEditorInterfaceReqSidebarItemArray
GetSidebar returns the value of Sidebar.
func (*PutEditorInterfaceReq) MarshalJSON ¶ added in v0.0.3
func (s *PutEditorInterfaceReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutEditorInterfaceReq) SetControls ¶ added in v0.0.3
func (s *PutEditorInterfaceReq) SetControls(val OptNilPutEditorInterfaceReqControlsItemArray)
SetControls sets the value of Controls.
func (*PutEditorInterfaceReq) SetSidebar ¶ added in v0.0.3
func (s *PutEditorInterfaceReq) SetSidebar(val OptNilPutEditorInterfaceReqSidebarItemArray)
SetSidebar sets the value of Sidebar.
func (*PutEditorInterfaceReq) UnmarshalJSON ¶ added in v0.0.3
func (s *PutEditorInterfaceReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PutEditorInterfaceReq) Validate ¶ added in v0.0.4
func (s *PutEditorInterfaceReq) Validate() error
type PutEditorInterfaceReqControlsItem ¶ added in v0.0.3
type PutEditorInterfaceReqControlsItem struct { FieldId string `json:"fieldId"` WidgetNamespace OptString `json:"widgetNamespace"` WidgetId OptString `json:"widgetId"` Settings OptPutEditorInterfaceReqControlsItemSettings `json:"settings"` }
func (*PutEditorInterfaceReqControlsItem) Decode ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) Decode(d *jx.Decoder) error
Decode decodes PutEditorInterfaceReqControlsItem from json.
func (*PutEditorInterfaceReqControlsItem) Encode ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PutEditorInterfaceReqControlsItem) GetFieldId ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) GetFieldId() string
GetFieldId returns the value of FieldId.
func (*PutEditorInterfaceReqControlsItem) GetSettings ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) GetSettings() OptPutEditorInterfaceReqControlsItemSettings
GetSettings returns the value of Settings.
func (*PutEditorInterfaceReqControlsItem) GetWidgetId ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) GetWidgetId() OptString
GetWidgetId returns the value of WidgetId.
func (*PutEditorInterfaceReqControlsItem) GetWidgetNamespace ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) GetWidgetNamespace() OptString
GetWidgetNamespace returns the value of WidgetNamespace.
func (*PutEditorInterfaceReqControlsItem) MarshalJSON ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutEditorInterfaceReqControlsItem) SetFieldId ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) SetFieldId(val string)
SetFieldId sets the value of FieldId.
func (*PutEditorInterfaceReqControlsItem) SetSettings ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) SetSettings(val OptPutEditorInterfaceReqControlsItemSettings)
SetSettings sets the value of Settings.
func (*PutEditorInterfaceReqControlsItem) SetWidgetId ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) SetWidgetId(val OptString)
SetWidgetId sets the value of WidgetId.
func (*PutEditorInterfaceReqControlsItem) SetWidgetNamespace ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) SetWidgetNamespace(val OptString)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*PutEditorInterfaceReqControlsItem) UnmarshalJSON ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PutEditorInterfaceReqControlsItemSettings ¶ added in v0.0.3
func (*PutEditorInterfaceReqControlsItemSettings) Decode ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItemSettings) Decode(d *jx.Decoder) error
Decode decodes PutEditorInterfaceReqControlsItemSettings from json.
func (PutEditorInterfaceReqControlsItemSettings) Encode ¶ added in v0.0.3
func (s PutEditorInterfaceReqControlsItemSettings) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PutEditorInterfaceReqControlsItemSettings) MarshalJSON ¶ added in v0.0.3
func (s PutEditorInterfaceReqControlsItemSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutEditorInterfaceReqControlsItemSettings) UnmarshalJSON ¶ added in v0.0.3
func (s *PutEditorInterfaceReqControlsItemSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PutEditorInterfaceReqSidebarItem ¶ added in v0.0.3
type PutEditorInterfaceReqSidebarItem struct { WidgetNamespace string `json:"widgetNamespace"` WidgetId string `json:"widgetId"` Settings OptPutEditorInterfaceReqSidebarItemSettings `json:"settings"` Disabled OptBool `json:"disabled"` }
func (*PutEditorInterfaceReqSidebarItem) Decode ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) Decode(d *jx.Decoder) error
Decode decodes PutEditorInterfaceReqSidebarItem from json.
func (*PutEditorInterfaceReqSidebarItem) Encode ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PutEditorInterfaceReqSidebarItem) GetDisabled ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) GetDisabled() OptBool
GetDisabled returns the value of Disabled.
func (*PutEditorInterfaceReqSidebarItem) GetSettings ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) GetSettings() OptPutEditorInterfaceReqSidebarItemSettings
GetSettings returns the value of Settings.
func (*PutEditorInterfaceReqSidebarItem) GetWidgetId ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) GetWidgetId() string
GetWidgetId returns the value of WidgetId.
func (*PutEditorInterfaceReqSidebarItem) GetWidgetNamespace ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) GetWidgetNamespace() string
GetWidgetNamespace returns the value of WidgetNamespace.
func (*PutEditorInterfaceReqSidebarItem) MarshalJSON ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutEditorInterfaceReqSidebarItem) SetDisabled ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) SetDisabled(val OptBool)
SetDisabled sets the value of Disabled.
func (*PutEditorInterfaceReqSidebarItem) SetSettings ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) SetSettings(val OptPutEditorInterfaceReqSidebarItemSettings)
SetSettings sets the value of Settings.
func (*PutEditorInterfaceReqSidebarItem) SetWidgetId ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) SetWidgetId(val string)
SetWidgetId sets the value of WidgetId.
func (*PutEditorInterfaceReqSidebarItem) SetWidgetNamespace ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) SetWidgetNamespace(val string)
SetWidgetNamespace sets the value of WidgetNamespace.
func (*PutEditorInterfaceReqSidebarItem) UnmarshalJSON ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PutEditorInterfaceReqSidebarItemSettings ¶ added in v0.0.3
func (*PutEditorInterfaceReqSidebarItemSettings) Decode ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItemSettings) Decode(d *jx.Decoder) error
Decode decodes PutEditorInterfaceReqSidebarItemSettings from json.
func (PutEditorInterfaceReqSidebarItemSettings) Encode ¶ added in v0.0.3
func (s PutEditorInterfaceReqSidebarItemSettings) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PutEditorInterfaceReqSidebarItemSettings) MarshalJSON ¶ added in v0.0.3
func (s PutEditorInterfaceReqSidebarItemSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PutEditorInterfaceReqSidebarItemSettings) UnmarshalJSON ¶ added in v0.0.3
func (s *PutEditorInterfaceReqSidebarItemSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PutEditorInterfaceRes ¶ added in v0.0.3
type PutEditorInterfaceRes 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 SecuritySource ¶
type SecuritySource interface { // AccessToken provides accessToken security value. AccessToken(ctx context.Context, operationName string, client *Client) (AccessToken, error) }
SecuritySource is provider of security values (tokens, passwords, etc.).
type UpdateDeliveryApiKeyParams ¶ added in v0.0.12
UpdateDeliveryApiKeyParams is parameters of updateDeliveryApiKey operation.
type UpdateDeliveryApiKeyReq ¶ added in v0.0.12
type UpdateDeliveryApiKeyReq struct { Name string `json:"name"` Description OptNilString `json:"description"` Environments []EnvironmentLink `json:"environments"` }
func (*UpdateDeliveryApiKeyReq) Decode ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) Decode(d *jx.Decoder) error
Decode decodes UpdateDeliveryApiKeyReq from json.
func (*UpdateDeliveryApiKeyReq) Encode ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateDeliveryApiKeyReq) GetDescription ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*UpdateDeliveryApiKeyReq) GetEnvironments ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) GetEnvironments() []EnvironmentLink
GetEnvironments returns the value of Environments.
func (*UpdateDeliveryApiKeyReq) GetName ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) GetName() string
GetName returns the value of Name.
func (*UpdateDeliveryApiKeyReq) MarshalJSON ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateDeliveryApiKeyReq) SetDescription ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*UpdateDeliveryApiKeyReq) SetEnvironments ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) SetEnvironments(val []EnvironmentLink)
SetEnvironments sets the value of Environments.
func (*UpdateDeliveryApiKeyReq) SetName ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) SetName(val string)
SetName sets the value of Name.
func (*UpdateDeliveryApiKeyReq) UnmarshalJSON ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateDeliveryApiKeyReq) Validate ¶ added in v0.0.12
func (s *UpdateDeliveryApiKeyReq) Validate() error
type UpdateDeliveryApiKeyRes ¶ added in v0.0.12
type UpdateDeliveryApiKeyRes 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
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_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
- optstring.go