client

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2025 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

View Source
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"
)
View Source
const (
	ErrorSysIDNotFound = "NotFound"
)

Variables

This section is empty.

Functions

func NewClientWithUserAgent added in v0.0.5

func NewClientWithUserAgent(client ht.Client, userAgent string) *clientWithUserAgent

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

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

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) Decode added in v0.0.10

func (s *ApiKey) Decode(d *jx.Decoder) error

Decode decodes ApiKey from json.

func (*ApiKey) Encode added in v0.0.10

func (s *ApiKey) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ApiKey) GetAccessToken added in v0.0.10

func (s *ApiKey) GetAccessToken() string

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) GetName added in v0.0.10

func (s *ApiKey) GetName() string

GetName returns the value of Name.

func (*ApiKey) GetPreviewAPIKey added in v0.0.10

func (s *ApiKey) GetPreviewAPIKey() OptApiKeyPreviewAPIKey

GetPreviewAPIKey returns the value of PreviewAPIKey.

func (*ApiKey) GetSys added in v0.0.10

func (s *ApiKey) GetSys() ApiKeySys

GetSys returns the value of Sys.

func (*ApiKey) MarshalJSON added in v0.0.10

func (s *ApiKey) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ApiKey) SetAccessToken added in v0.0.10

func (s *ApiKey) SetAccessToken(val string)

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) SetName added in v0.0.10

func (s *ApiKey) SetName(val string)

SetName sets the value of Name.

func (*ApiKey) SetPreviewAPIKey added in v0.0.10

func (s *ApiKey) SetPreviewAPIKey(val OptApiKeyPreviewAPIKey)

SetPreviewAPIKey sets the value of PreviewAPIKey.

func (*ApiKey) SetSys added in v0.0.10

func (s *ApiKey) SetSys(val ApiKeySys)

SetSys sets the value of Sys.

func (*ApiKey) UnmarshalJSON added in v0.0.10

func (s *ApiKey) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ApiKey) Validate added in v0.0.10

func (s *ApiKey) Validate() error

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

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

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

GetLinkType returns the value of LinkType.

func (*ApiKeyPreviewAPIKeySys) GetType added in v0.0.10

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

SetLinkType sets the value of LinkType.

func (*ApiKeyPreviewAPIKeySys) SetType added in v0.0.10

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

AllValues returns all ApiKeyPreviewAPIKeySysLinkType values.

func (*ApiKeyPreviewAPIKeySysLinkType) Decode added in v0.0.10

Decode decodes ApiKeyPreviewAPIKeySysLinkType from json.

func (ApiKeyPreviewAPIKeySysLinkType) Encode added in v0.0.10

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

type ApiKeyPreviewAPIKeySysType added in v0.0.10

type ApiKeyPreviewAPIKeySysType string

Merged schema.

const (
	ApiKeyPreviewAPIKeySysTypeLink ApiKeyPreviewAPIKeySysType = "Link"
)

func (ApiKeyPreviewAPIKeySysType) AllValues added in v0.0.10

AllValues returns all ApiKeyPreviewAPIKeySysType values.

func (*ApiKeyPreviewAPIKeySysType) Decode added in v0.0.10

Decode decodes ApiKeyPreviewAPIKeySysType from json.

func (ApiKeyPreviewAPIKeySysType) Encode added in v0.0.10

func (s ApiKeyPreviewAPIKeySysType) Encode(e *jx.Encoder)

Encode encodes ApiKeyPreviewAPIKeySysType as json.

func (ApiKeyPreviewAPIKeySysType) MarshalJSON added in v0.0.10

func (s ApiKeyPreviewAPIKeySysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ApiKeyPreviewAPIKeySysType) MarshalText added in v0.0.10

func (s ApiKeyPreviewAPIKeySysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ApiKeyPreviewAPIKeySysType) UnmarshalJSON added in v0.0.10

func (s *ApiKeyPreviewAPIKeySysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ApiKeyPreviewAPIKeySysType) UnmarshalText added in v0.0.10

func (s *ApiKeyPreviewAPIKeySysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ApiKeyPreviewAPIKeySysType) Validate added in v0.0.10

func (s ApiKeyPreviewAPIKeySysType) Validate() error

type ApiKeyRequestFields added in v0.0.18

type ApiKeyRequestFields struct {
	Name         string            `json:"name"`
	Description  OptNilString      `json:"description"`
	Environments []EnvironmentLink `json:"environments"`
}

Ref: #/components/schemas/ApiKeyRequestFields

func (*ApiKeyRequestFields) Decode added in v0.0.18

func (s *ApiKeyRequestFields) Decode(d *jx.Decoder) error

Decode decodes ApiKeyRequestFields from json.

func (*ApiKeyRequestFields) Encode added in v0.0.18

func (s *ApiKeyRequestFields) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ApiKeyRequestFields) GetDescription added in v0.0.18

func (s *ApiKeyRequestFields) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ApiKeyRequestFields) GetEnvironments added in v0.0.18

func (s *ApiKeyRequestFields) GetEnvironments() []EnvironmentLink

GetEnvironments returns the value of Environments.

func (*ApiKeyRequestFields) GetName added in v0.0.18

func (s *ApiKeyRequestFields) GetName() string

GetName returns the value of Name.

func (*ApiKeyRequestFields) MarshalJSON added in v0.0.18

func (s *ApiKeyRequestFields) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ApiKeyRequestFields) SetDescription added in v0.0.18

func (s *ApiKeyRequestFields) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ApiKeyRequestFields) SetEnvironments added in v0.0.18

func (s *ApiKeyRequestFields) SetEnvironments(val []EnvironmentLink)

SetEnvironments sets the value of Environments.

func (*ApiKeyRequestFields) SetName added in v0.0.18

func (s *ApiKeyRequestFields) SetName(val string)

SetName sets the value of Name.

func (*ApiKeyRequestFields) UnmarshalJSON added in v0.0.18

func (s *ApiKeyRequestFields) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ApiKeyRequestFields) Validate added in v0.0.18

func (s *ApiKeyRequestFields) Validate() error

type ApiKeySys added in v0.0.10

type ApiKeySys struct {
	// Merged property.
	Type      ApiKeySysType `json:"type"`
	Space     SpaceLink     `json:"space"`
	ID        string        `json:"id"`
	Version   int           `json:"version"`
	CreatedAt OptDateTime   `json:"createdAt"`
	UpdatedAt OptDateTime   `json:"updatedAt"`
}

Merged schema. Ref: #/components/schemas/ApiKeySys

func (*ApiKeySys) Decode added in v0.0.10

func (s *ApiKeySys) Decode(d *jx.Decoder) error

Decode decodes ApiKeySys from json.

func (*ApiKeySys) Encode added in v0.0.10

func (s *ApiKeySys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ApiKeySys) GetCreatedAt added in v0.0.10

func (s *ApiKeySys) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*ApiKeySys) GetID added in v0.0.10

func (s *ApiKeySys) GetID() string

GetID returns the value of ID.

func (*ApiKeySys) GetSpace added in v0.0.18

func (s *ApiKeySys) GetSpace() SpaceLink

GetSpace returns the value of Space.

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

func (s *ApiKeySys) GetVersion() int

GetVersion returns the value of Version.

func (*ApiKeySys) MarshalJSON added in v0.0.10

func (s *ApiKeySys) MarshalJSON() ([]byte, error)

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) SetID added in v0.0.10

func (s *ApiKeySys) SetID(val string)

SetID sets the value of ID.

func (*ApiKeySys) SetSpace added in v0.0.18

func (s *ApiKeySys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

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

func (s *ApiKeySys) SetVersion(val int)

SetVersion sets the value of Version.

func (*ApiKeySys) UnmarshalJSON added in v0.0.10

func (s *ApiKeySys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ApiKeySys) Validate added in v0.0.10

func (s *ApiKeySys) Validate() error

type ApiKeySysType added in v0.0.10

type ApiKeySysType string

Merged schema.

const (
	ApiKeySysTypeApiKey ApiKeySysType = "ApiKey"
)

func (ApiKeySysType) AllValues added in v0.0.10

func (ApiKeySysType) AllValues() []ApiKeySysType

AllValues returns all ApiKeySysType values.

func (*ApiKeySysType) Decode added in v0.0.10

func (s *ApiKeySysType) Decode(d *jx.Decoder) error

Decode decodes ApiKeySysType from json.

func (ApiKeySysType) Encode added in v0.0.10

func (s ApiKeySysType) Encode(e *jx.Encoder)

Encode encodes ApiKeySysType as json.

func (ApiKeySysType) MarshalJSON added in v0.0.10

func (s ApiKeySysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ApiKeySysType) MarshalText added in v0.0.10

func (s ApiKeySysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ApiKeySysType) UnmarshalJSON added in v0.0.10

func (s *ApiKeySysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ApiKeySysType) UnmarshalText added in v0.0.10

func (s *ApiKeySysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ApiKeySysType) Validate added in v0.0.10

func (s ApiKeySysType) Validate() error
type AppDefinitionLink struct {
	Sys AppDefinitionLinkSys `json:"sys"`
}

Ref: #/components/schemas/AppDefinitionLink

func (*AppDefinitionLink) Decode added in v0.0.18

func (s *AppDefinitionLink) Decode(d *jx.Decoder) error

Decode decodes AppDefinitionLink from json.

func (*AppDefinitionLink) Encode added in v0.0.18

func (s *AppDefinitionLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AppDefinitionLink) GetSys added in v0.0.18

GetSys returns the value of Sys.

func (*AppDefinitionLink) MarshalJSON added in v0.0.18

func (s *AppDefinitionLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionLink) SetSys added in v0.0.18

func (s *AppDefinitionLink) SetSys(val AppDefinitionLinkSys)

SetSys sets the value of Sys.

func (*AppDefinitionLink) UnmarshalJSON added in v0.0.18

func (s *AppDefinitionLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinitionLink) Validate added in v0.0.18

func (s *AppDefinitionLink) Validate() error

type AppDefinitionLinkSys added in v0.0.18

type AppDefinitionLinkSys struct {
	// Merged property.
	Type AppDefinitionLinkSysType `json:"type"`
	ID   string                   `json:"id"`
	// Merged property.
	LinkType AppDefinitionLinkSysLinkType `json:"linkType"`
}

Merged schema.

func (*AppDefinitionLinkSys) Decode added in v0.0.18

func (s *AppDefinitionLinkSys) Decode(d *jx.Decoder) error

Decode decodes AppDefinitionLinkSys from json.

func (*AppDefinitionLinkSys) Encode added in v0.0.18

func (s *AppDefinitionLinkSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AppDefinitionLinkSys) GetID added in v0.0.18

func (s *AppDefinitionLinkSys) GetID() string

GetID returns the value of ID.

func (*AppDefinitionLinkSys) GetLinkType added in v0.0.18

GetLinkType returns the value of LinkType.

func (*AppDefinitionLinkSys) GetType added in v0.0.18

GetType returns the value of Type.

func (*AppDefinitionLinkSys) MarshalJSON added in v0.0.18

func (s *AppDefinitionLinkSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionLinkSys) SetID added in v0.0.18

func (s *AppDefinitionLinkSys) SetID(val string)

SetID sets the value of ID.

func (*AppDefinitionLinkSys) SetLinkType added in v0.0.18

SetLinkType sets the value of LinkType.

func (*AppDefinitionLinkSys) SetType added in v0.0.18

SetType sets the value of Type.

func (*AppDefinitionLinkSys) UnmarshalJSON added in v0.0.18

func (s *AppDefinitionLinkSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinitionLinkSys) Validate added in v0.0.18

func (s *AppDefinitionLinkSys) Validate() error

type AppDefinitionLinkSysLinkType added in v0.0.18

type AppDefinitionLinkSysLinkType string

Merged schema.

const (
	AppDefinitionLinkSysLinkTypeAppDefinition AppDefinitionLinkSysLinkType = "AppDefinition"
)

func (AppDefinitionLinkSysLinkType) AllValues added in v0.0.18

AllValues returns all AppDefinitionLinkSysLinkType values.

func (*AppDefinitionLinkSysLinkType) Decode added in v0.0.18

Decode decodes AppDefinitionLinkSysLinkType from json.

func (AppDefinitionLinkSysLinkType) Encode added in v0.0.18

Encode encodes AppDefinitionLinkSysLinkType as json.

func (AppDefinitionLinkSysLinkType) MarshalJSON added in v0.0.18

func (s AppDefinitionLinkSysLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AppDefinitionLinkSysLinkType) MarshalText added in v0.0.18

func (s AppDefinitionLinkSysLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AppDefinitionLinkSysLinkType) UnmarshalJSON added in v0.0.18

func (s *AppDefinitionLinkSysLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinitionLinkSysLinkType) UnmarshalText added in v0.0.18

func (s *AppDefinitionLinkSysLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AppDefinitionLinkSysLinkType) Validate added in v0.0.18

func (s AppDefinitionLinkSysLinkType) Validate() error

type AppDefinitionLinkSysType added in v0.0.18

type AppDefinitionLinkSysType string

Merged schema.

const (
	AppDefinitionLinkSysTypeLink AppDefinitionLinkSysType = "Link"
)

func (AppDefinitionLinkSysType) AllValues added in v0.0.18

AllValues returns all AppDefinitionLinkSysType values.

func (*AppDefinitionLinkSysType) Decode added in v0.0.18

func (s *AppDefinitionLinkSysType) Decode(d *jx.Decoder) error

Decode decodes AppDefinitionLinkSysType from json.

func (AppDefinitionLinkSysType) Encode added in v0.0.18

func (s AppDefinitionLinkSysType) Encode(e *jx.Encoder)

Encode encodes AppDefinitionLinkSysType as json.

func (AppDefinitionLinkSysType) MarshalJSON added in v0.0.18

func (s AppDefinitionLinkSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AppDefinitionLinkSysType) MarshalText added in v0.0.18

func (s AppDefinitionLinkSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AppDefinitionLinkSysType) UnmarshalJSON added in v0.0.18

func (s *AppDefinitionLinkSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinitionLinkSysType) UnmarshalText added in v0.0.18

func (s *AppDefinitionLinkSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AppDefinitionLinkSysType) Validate added in v0.0.18

func (s AppDefinitionLinkSysType) Validate() error

type AppInstallation

type AppInstallation struct {
	Sys        AppInstallationSys `json:"sys"`
	Parameters jx.Raw             `json:"parameters"`
}

Merged schema. Ref: #/components/schemas/AppInstallation

func (*AppInstallation) Decode

func (s *AppInstallation) Decode(d *jx.Decoder) error

Decode decodes AppInstallation from json.

func (*AppInstallation) Encode

func (s *AppInstallation) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AppInstallation) GetParameters

func (s *AppInstallation) GetParameters() jx.Raw

GetParameters returns the value of Parameters.

func (*AppInstallation) GetSys

func (s *AppInstallation) GetSys() AppInstallationSys

GetSys returns the value of Sys.

func (*AppInstallation) MarshalJSON

func (s *AppInstallation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AppInstallation) SetParameters

func (s *AppInstallation) SetParameters(val jx.Raw)

SetParameters sets the value of Parameters.

func (*AppInstallation) SetSys

func (s *AppInstallation) SetSys(val AppInstallationSys)

SetSys sets the value of Sys.

func (*AppInstallation) UnmarshalJSON

func (s *AppInstallation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppInstallation) Validate

func (s *AppInstallation) Validate() error

type AppInstallationFields added in v0.0.18

type AppInstallationFields struct {
	Parameters jx.Raw `json:"parameters"`
}

Ref: #/components/schemas/AppInstallationFields

func (*AppInstallationFields) Decode added in v0.0.18

func (s *AppInstallationFields) Decode(d *jx.Decoder) error

Decode decodes AppInstallationFields from json.

func (*AppInstallationFields) Encode added in v0.0.18

func (s *AppInstallationFields) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AppInstallationFields) GetParameters added in v0.0.18

func (s *AppInstallationFields) GetParameters() jx.Raw

GetParameters returns the value of Parameters.

func (*AppInstallationFields) MarshalJSON added in v0.0.18

func (s *AppInstallationFields) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AppInstallationFields) SetParameters added in v0.0.18

func (s *AppInstallationFields) SetParameters(val jx.Raw)

SetParameters sets the value of Parameters.

func (*AppInstallationFields) UnmarshalJSON added in v0.0.18

func (s *AppInstallationFields) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AppInstallationSys

type AppInstallationSys struct {
	// Merged property.
	Type          AppInstallationSysType `json:"type"`
	Space         SpaceLink              `json:"space"`
	Environment   EnvironmentLink        `json:"environment"`
	AppDefinition AppDefinitionLink      `json:"appDefinition"`
}

Merged schema. Ref: #/components/schemas/AppInstallationSys

func (*AppInstallationSys) Decode

func (s *AppInstallationSys) Decode(d *jx.Decoder) error

Decode decodes AppInstallationSys from json.

func (*AppInstallationSys) Encode

func (s *AppInstallationSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AppInstallationSys) GetAppDefinition added in v0.0.18

func (s *AppInstallationSys) GetAppDefinition() AppDefinitionLink

GetAppDefinition returns the value of AppDefinition.

func (*AppInstallationSys) GetEnvironment added in v0.0.18

func (s *AppInstallationSys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*AppInstallationSys) GetSpace added in v0.0.18

func (s *AppInstallationSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*AppInstallationSys) GetType

GetType returns the value of Type.

func (*AppInstallationSys) MarshalJSON

func (s *AppInstallationSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AppInstallationSys) SetAppDefinition added in v0.0.18

func (s *AppInstallationSys) SetAppDefinition(val AppDefinitionLink)

SetAppDefinition sets the value of AppDefinition.

func (*AppInstallationSys) SetEnvironment added in v0.0.18

func (s *AppInstallationSys) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*AppInstallationSys) SetSpace added in v0.0.18

func (s *AppInstallationSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*AppInstallationSys) SetType

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

AllValues returns all AppInstallationSysType values.

func (*AppInstallationSysType) Decode

func (s *AppInstallationSysType) Decode(d *jx.Decoder) error

Decode decodes AppInstallationSysType from json.

func (AppInstallationSysType) Encode

func (s AppInstallationSysType) Encode(e *jx.Encoder)

Encode encodes AppInstallationSysType as json.

func (AppInstallationSysType) MarshalJSON

func (s AppInstallationSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AppInstallationSysType) MarshalText

func (s AppInstallationSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AppInstallationSysType) UnmarshalJSON

func (s *AppInstallationSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppInstallationSysType) UnmarshalText

func (s *AppInstallationSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AppInstallationSysType) Validate

func (s AppInstallationSysType) Validate() error

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements OAS client.

func NewClient

func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) ActivateContentType added in v0.0.5

func (c *Client) ActivateContentType(ctx context.Context, params ActivateContentTypeParams) (ActivateContentTypeRes, error)

ActivateContentType invokes activateContentType operation.

Activate a content type.

PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published

func (*Client) CreateDeliveryApiKey added in v0.0.12

func (c *Client) CreateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, params CreateDeliveryApiKeyParams) (CreateDeliveryApiKeyRes, error)

CreateDeliveryApiKey invokes createDeliveryApiKey operation.

Create a delivery api key.

POST /spaces/{space_id}/api_keys

func (*Client) CreatePersonalAccessToken added in v0.0.12

func (c *Client) CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestFields) (CreatePersonalAccessTokenRes, error)

CreatePersonalAccessToken invokes createPersonalAccessToken operation.

Create a personal access token.

POST /users/me/access_tokens

func (*Client) CreateRole added in v0.0.15

func (c *Client) CreateRole(ctx context.Context, request *RoleFields, params CreateRoleParams) (CreateRoleRes, error)

CreateRole invokes createRole operation.

Create a role.

POST /spaces/{space_id}/roles

func (*Client) CreateWebhookDefinition added in v0.0.17

CreateWebhookDefinition invokes createWebhookDefinition operation.

Create a webhook definition.

POST /spaces/{space_id}/webhook_definitions

func (*Client) DeactivateContentType added in v0.0.5

func (c *Client) DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams) (DeactivateContentTypeRes, error)

DeactivateContentType invokes deactivateContentType operation.

Deactivate a content type.

DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published

func (*Client) DeleteAppInstallation

func (c *Client) DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams) (DeleteAppInstallationRes, error)

DeleteAppInstallation invokes deleteAppInstallation operation.

Uninstall an app.

DELETE /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}

func (*Client) DeleteContentType added in v0.0.5

func (c *Client) DeleteContentType(ctx context.Context, params DeleteContentTypeParams) (DeleteContentTypeRes, error)

DeleteContentType invokes deleteContentType operation.

Delete a content type.

DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}

func (*Client) DeleteDeliveryApiKey added in v0.0.12

func (c *Client) DeleteDeliveryApiKey(ctx context.Context, params DeleteDeliveryApiKeyParams) (DeleteDeliveryApiKeyRes, error)

DeleteDeliveryApiKey invokes deleteDeliveryApiKey operation.

Delete a single delivery api key.

DELETE /spaces/{space_id}/api_keys/{api_key_id}

func (*Client) DeleteRole added in v0.0.15

func (c *Client) DeleteRole(ctx context.Context, params DeleteRoleParams) (DeleteRoleRes, error)

DeleteRole invokes deleteRole operation.

Delete a role.

DELETE /spaces/{space_id}/roles/{role_id}

func (*Client) DeleteWebhookDefinition added in v0.0.17

func (c *Client) DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams) (DeleteWebhookDefinitionRes, error)

DeleteWebhookDefinition invokes deleteWebhookDefinition operation.

Delete a webhook definition.

DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id}

func (*Client) GetAppInstallation

func (c *Client) GetAppInstallation(ctx context.Context, params GetAppInstallationParams) (GetAppInstallationRes, error)

GetAppInstallation invokes getAppInstallation operation.

Get one app installation.

GET /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}

func (*Client) GetAuthenticatedUser

func (c *Client) GetAuthenticatedUser(ctx context.Context) (GetAuthenticatedUserRes, error)

GetAuthenticatedUser invokes getAuthenticatedUser operation.

Get the authenticated user.

GET /users/me

func (*Client) GetContentType added in v0.0.5

func (c *Client) GetContentType(ctx context.Context, params GetContentTypeParams) (GetContentTypeRes, error)

GetContentType invokes getContentType operation.

Get a content type.

GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}

func (*Client) GetDeliveryApiKey added in v0.0.12

func (c *Client) GetDeliveryApiKey(ctx context.Context, params GetDeliveryApiKeyParams) (GetDeliveryApiKeyRes, error)

GetDeliveryApiKey invokes getDeliveryApiKey operation.

Get a single delivery api key.

GET /spaces/{space_id}/api_keys/{api_key_id}

func (*Client) GetEditorInterface added in v0.0.3

func (c *Client) GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams) (GetEditorInterfaceRes, error)

GetEditorInterface invokes getEditorInterface operation.

Get the editor interface for a content type.

GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface

func (*Client) GetPersonalAccessToken added in v0.0.12

func (c *Client) GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams) (GetPersonalAccessTokenRes, error)

GetPersonalAccessToken invokes getPersonalAccessToken operation.

Get a single personal access token.

GET /users/me/access_tokens/{access_token_id}

func (*Client) GetPreviewApiKey added in v0.0.10

func (c *Client) GetPreviewApiKey(ctx context.Context, params GetPreviewApiKeyParams) (GetPreviewApiKeyRes, error)

GetPreviewApiKey invokes getPreviewApiKey operation.

Get a single preview api key.

GET /spaces/{space_id}/preview_api_keys/{preview_api_key_id}

func (*Client) GetRole added in v0.0.15

func (c *Client) GetRole(ctx context.Context, params GetRoleParams) (GetRoleRes, error)

GetRole invokes getRole operation.

Get a role.

GET /spaces/{space_id}/roles/{role_id}

func (*Client) GetSpaceEnablements added in v0.0.20

func (c *Client) GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams) (GetSpaceEnablementsRes, error)

GetSpaceEnablements invokes getSpaceEnablements operation.

Get enablements for a space.

GET /spaces/{space_id}/enablements

func (*Client) GetWebhookDefinition added in v0.0.17

func (c *Client) GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams) (GetWebhookDefinitionRes, error)

GetWebhookDefinition invokes getWebhookDefinition operation.

Get a webhook definition.

GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id}

func (*Client) PutAppInstallation

func (c *Client) PutAppInstallation(ctx context.Context, request *AppInstallationFields, params PutAppInstallationParams) (PutAppInstallationRes, error)

PutAppInstallation invokes putAppInstallation operation.

Install or update an app.

PUT /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}

func (*Client) PutContentType added in v0.0.5

func (c *Client) PutContentType(ctx context.Context, request *ContentTypeRequestFields, params PutContentTypeParams) (PutContentTypeRes, error)

PutContentType invokes putContentType operation.

Update a content type.

PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}

func (*Client) PutEditorInterface added in v0.0.3

func (c *Client) PutEditorInterface(ctx context.Context, request *EditorInterfaceFields, params PutEditorInterfaceParams) (PutEditorInterfaceRes, error)

PutEditorInterface invokes putEditorInterface operation.

Update the editor interface for a content type.

PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface

func (*Client) PutSpaceEnablements added in v0.0.20

func (c *Client) PutSpaceEnablements(ctx context.Context, request *SpaceEnablementFields, params PutSpaceEnablementsParams) (PutSpaceEnablementsRes, error)

PutSpaceEnablements invokes putSpaceEnablements operation.

Update enablements for a space.

PUT /spaces/{space_id}/enablements

func (*Client) RevokePersonalAccessToken added in v0.0.12

func (c *Client) RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams) (RevokePersonalAccessTokenRes, error)

RevokePersonalAccessToken invokes revokePersonalAccessToken operation.

Revoke a personal access token.

PUT /users/me/access_tokens/{access_token_id}/revoked

func (*Client) UpdateDeliveryApiKey added in v0.0.12

func (c *Client) UpdateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, params UpdateDeliveryApiKeyParams) (UpdateDeliveryApiKeyRes, error)

UpdateDeliveryApiKey invokes updateDeliveryApiKey operation.

Update a single delivery api key.

PUT /spaces/{space_id}/api_keys/{api_key_id}

func (*Client) UpdateRole added in v0.0.15

func (c *Client) UpdateRole(ctx context.Context, request *RoleFields, params UpdateRoleParams) (UpdateRoleRes, error)

UpdateRole invokes updateRole operation.

Update a role.

PUT /spaces/{space_id}/roles/{role_id}

func (*Client) UpdateWebhookDefinition added in v0.0.17

UpdateWebhookDefinition invokes updateWebhookDefinition operation.

Update a webhook definition.

PUT /spaces/{space_id}/webhook_definitions/{webhook_definition_id}

type ClientOption

type ClientOption interface {
	// contains filtered or unexported methods
}

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type ContentType added in v0.0.5

type ContentType struct {
	Sys  ContentTypeSys `json:"sys"`
	Name string         `json:"name"`
	// Merged property.
	Description OptNilString `json:"description"`
	// Merged property.
	DisplayField NilString               `json:"displayField"`
	Fields       []ContentTypeFieldsItem `json:"fields"`
}

Merged schema. Ref: #/components/schemas/ContentType

func (*ContentType) Decode added in v0.0.5

func (s *ContentType) Decode(d *jx.Decoder) error

Decode decodes ContentType from json.

func (*ContentType) Encode added in v0.0.5

func (s *ContentType) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ContentType) GetDescription added in v0.0.5

func (s *ContentType) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ContentType) GetDisplayField added in v0.0.5

func (s *ContentType) GetDisplayField() NilString

GetDisplayField returns the value of DisplayField.

func (*ContentType) GetFields added in v0.0.5

func (s *ContentType) GetFields() []ContentTypeFieldsItem

GetFields returns the value of Fields.

func (*ContentType) GetName added in v0.0.5

func (s *ContentType) GetName() string

GetName returns the value of Name.

func (*ContentType) GetSys added in v0.0.5

func (s *ContentType) GetSys() ContentTypeSys

GetSys returns the value of Sys.

func (*ContentType) MarshalJSON added in v0.0.5

func (s *ContentType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContentType) SetDescription added in v0.0.5

func (s *ContentType) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ContentType) SetDisplayField added in v0.0.5

func (s *ContentType) SetDisplayField(val NilString)

SetDisplayField sets the value of DisplayField.

func (*ContentType) SetFields added in v0.0.5

func (s *ContentType) SetFields(val []ContentTypeFieldsItem)

SetFields sets the value of Fields.

func (*ContentType) SetName added in v0.0.5

func (s *ContentType) SetName(val string)

SetName sets the value of Name.

func (*ContentType) SetSys added in v0.0.5

func (s *ContentType) SetSys(val ContentTypeSys)

SetSys sets the value of Sys.

func (*ContentType) UnmarshalJSON added in v0.0.5

func (s *ContentType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentType) Validate added in v0.0.5

func (s *ContentType) Validate() error

type ContentTypeFieldsItem added in v0.0.5

type ContentTypeFieldsItem struct {
	ID           string                        `json:"id"`
	Name         string                        `json:"name"`
	Type         string                        `json:"type"`
	LinkType     OptString                     `json:"linkType"`
	Items        OptContentTypeFieldsItemItems `json:"items"`
	Localized    OptBool                       `json:"localized"`
	Omitted      OptBool                       `json:"omitted"`
	Required     OptBool                       `json:"required"`
	Disabled     OptBool                       `json:"disabled"`
	DefaultValue jx.Raw                        `json:"defaultValue"`
	Validations  []jx.Raw                      `json:"validations"`
}

func (*ContentTypeFieldsItem) Decode added in v0.0.5

func (s *ContentTypeFieldsItem) Decode(d *jx.Decoder) error

Decode decodes ContentTypeFieldsItem from json.

func (*ContentTypeFieldsItem) Encode added in v0.0.5

func (s *ContentTypeFieldsItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ContentTypeFieldsItem) GetDefaultValue added in v0.0.5

func (s *ContentTypeFieldsItem) GetDefaultValue() jx.Raw

GetDefaultValue returns the value of DefaultValue.

func (*ContentTypeFieldsItem) GetDisabled added in v0.0.5

func (s *ContentTypeFieldsItem) GetDisabled() OptBool

GetDisabled returns the value of Disabled.

func (*ContentTypeFieldsItem) GetID added in v0.0.5

func (s *ContentTypeFieldsItem) GetID() string

GetID returns the value of ID.

func (*ContentTypeFieldsItem) GetItems added in v0.0.5

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

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

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

GetType returns the value of Type.

func (*ContentTypeFieldsItemItems) GetValidations added in v0.0.5

func (s *ContentTypeFieldsItemItems) GetValidations() []jx.Raw

GetValidations returns the value of Validations.

func (*ContentTypeFieldsItemItems) MarshalJSON added in v0.0.5

func (s *ContentTypeFieldsItemItems) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeFieldsItemItems) SetLinkType added in v0.0.5

func (s *ContentTypeFieldsItemItems) SetLinkType(val OptString)

SetLinkType sets the value of LinkType.

func (*ContentTypeFieldsItemItems) SetType added in v0.0.5

func (s *ContentTypeFieldsItemItems) SetType(val OptString)

SetType sets the value of Type.

func (*ContentTypeFieldsItemItems) SetValidations added in v0.0.5

func (s *ContentTypeFieldsItemItems) SetValidations(val []jx.Raw)

SetValidations sets the value of Validations.

func (*ContentTypeFieldsItemItems) UnmarshalJSON added in v0.0.5

func (s *ContentTypeFieldsItemItems) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ContentTypeLink struct {
	Sys ContentTypeLinkSys `json:"sys"`
}

Ref: #/components/schemas/ContentTypeLink

func (*ContentTypeLink) Decode added in v0.0.18

func (s *ContentTypeLink) Decode(d *jx.Decoder) error

Decode decodes ContentTypeLink from json.

func (*ContentTypeLink) Encode added in v0.0.18

func (s *ContentTypeLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ContentTypeLink) GetSys added in v0.0.18

func (s *ContentTypeLink) GetSys() ContentTypeLinkSys

GetSys returns the value of Sys.

func (*ContentTypeLink) MarshalJSON added in v0.0.18

func (s *ContentTypeLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeLink) SetSys added in v0.0.18

func (s *ContentTypeLink) SetSys(val ContentTypeLinkSys)

SetSys sets the value of Sys.

func (*ContentTypeLink) UnmarshalJSON added in v0.0.18

func (s *ContentTypeLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeLink) Validate added in v0.0.18

func (s *ContentTypeLink) Validate() error

type ContentTypeLinkSys added in v0.0.18

type ContentTypeLinkSys struct {
	// Merged property.
	Type ContentTypeLinkSysType `json:"type"`
	ID   string                 `json:"id"`
	// Merged property.
	LinkType ContentTypeLinkSysLinkType `json:"linkType"`
}

Merged schema.

func (*ContentTypeLinkSys) Decode added in v0.0.18

func (s *ContentTypeLinkSys) Decode(d *jx.Decoder) error

Decode decodes ContentTypeLinkSys from json.

func (*ContentTypeLinkSys) Encode added in v0.0.18

func (s *ContentTypeLinkSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ContentTypeLinkSys) GetID added in v0.0.18

func (s *ContentTypeLinkSys) GetID() string

GetID returns the value of ID.

func (*ContentTypeLinkSys) GetLinkType added in v0.0.18

GetLinkType returns the value of LinkType.

func (*ContentTypeLinkSys) GetType added in v0.0.18

GetType returns the value of Type.

func (*ContentTypeLinkSys) MarshalJSON added in v0.0.18

func (s *ContentTypeLinkSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeLinkSys) SetID added in v0.0.18

func (s *ContentTypeLinkSys) SetID(val string)

SetID sets the value of ID.

func (*ContentTypeLinkSys) SetLinkType added in v0.0.18

func (s *ContentTypeLinkSys) SetLinkType(val ContentTypeLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*ContentTypeLinkSys) SetType added in v0.0.18

SetType sets the value of Type.

func (*ContentTypeLinkSys) UnmarshalJSON added in v0.0.18

func (s *ContentTypeLinkSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeLinkSys) Validate added in v0.0.18

func (s *ContentTypeLinkSys) Validate() error

type ContentTypeLinkSysLinkType added in v0.0.18

type ContentTypeLinkSysLinkType string

Merged schema.

const (
	ContentTypeLinkSysLinkTypeContentType ContentTypeLinkSysLinkType = "ContentType"
)

func (ContentTypeLinkSysLinkType) AllValues added in v0.0.18

AllValues returns all ContentTypeLinkSysLinkType values.

func (*ContentTypeLinkSysLinkType) Decode added in v0.0.18

Decode decodes ContentTypeLinkSysLinkType from json.

func (ContentTypeLinkSysLinkType) Encode added in v0.0.18

func (s ContentTypeLinkSysLinkType) Encode(e *jx.Encoder)

Encode encodes ContentTypeLinkSysLinkType as json.

func (ContentTypeLinkSysLinkType) MarshalJSON added in v0.0.18

func (s ContentTypeLinkSysLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ContentTypeLinkSysLinkType) MarshalText added in v0.0.18

func (s ContentTypeLinkSysLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ContentTypeLinkSysLinkType) UnmarshalJSON added in v0.0.18

func (s *ContentTypeLinkSysLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeLinkSysLinkType) UnmarshalText added in v0.0.18

func (s *ContentTypeLinkSysLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ContentTypeLinkSysLinkType) Validate added in v0.0.18

func (s ContentTypeLinkSysLinkType) Validate() error

type ContentTypeLinkSysType added in v0.0.18

type ContentTypeLinkSysType string

Merged schema.

const (
	ContentTypeLinkSysTypeLink ContentTypeLinkSysType = "Link"
)

func (ContentTypeLinkSysType) AllValues added in v0.0.18

AllValues returns all ContentTypeLinkSysType values.

func (*ContentTypeLinkSysType) Decode added in v0.0.18

func (s *ContentTypeLinkSysType) Decode(d *jx.Decoder) error

Decode decodes ContentTypeLinkSysType from json.

func (ContentTypeLinkSysType) Encode added in v0.0.18

func (s ContentTypeLinkSysType) Encode(e *jx.Encoder)

Encode encodes ContentTypeLinkSysType as json.

func (ContentTypeLinkSysType) MarshalJSON added in v0.0.18

func (s ContentTypeLinkSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ContentTypeLinkSysType) MarshalText added in v0.0.18

func (s ContentTypeLinkSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ContentTypeLinkSysType) UnmarshalJSON added in v0.0.18

func (s *ContentTypeLinkSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeLinkSysType) UnmarshalText added in v0.0.18

func (s *ContentTypeLinkSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ContentTypeLinkSysType) Validate added in v0.0.18

func (s ContentTypeLinkSysType) Validate() error

type ContentTypeRequestFields added in v0.0.18

type ContentTypeRequestFields struct {
	Name         string                               `json:"name"`
	Description  OptNilString                         `json:"description"`
	DisplayField string                               `json:"displayField"`
	Fields       []ContentTypeRequestFieldsFieldsItem `json:"fields"`
}

Ref: #/components/schemas/ContentTypeRequestFields

func (*ContentTypeRequestFields) Decode added in v0.0.18

func (s *ContentTypeRequestFields) Decode(d *jx.Decoder) error

Decode decodes ContentTypeRequestFields from json.

func (*ContentTypeRequestFields) Encode added in v0.0.18

func (s *ContentTypeRequestFields) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ContentTypeRequestFields) GetDescription added in v0.0.18

func (s *ContentTypeRequestFields) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ContentTypeRequestFields) GetDisplayField added in v0.0.18

func (s *ContentTypeRequestFields) GetDisplayField() string

GetDisplayField returns the value of DisplayField.

func (*ContentTypeRequestFields) GetFields added in v0.0.18

GetFields returns the value of Fields.

func (*ContentTypeRequestFields) GetName added in v0.0.18

func (s *ContentTypeRequestFields) GetName() string

GetName returns the value of Name.

func (*ContentTypeRequestFields) MarshalJSON added in v0.0.18

func (s *ContentTypeRequestFields) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeRequestFields) SetDescription added in v0.0.18

func (s *ContentTypeRequestFields) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ContentTypeRequestFields) SetDisplayField added in v0.0.18

func (s *ContentTypeRequestFields) SetDisplayField(val string)

SetDisplayField sets the value of DisplayField.

func (*ContentTypeRequestFields) SetFields added in v0.0.18

SetFields sets the value of Fields.

func (*ContentTypeRequestFields) SetName added in v0.0.18

func (s *ContentTypeRequestFields) SetName(val string)

SetName sets the value of Name.

func (*ContentTypeRequestFields) UnmarshalJSON added in v0.0.18

func (s *ContentTypeRequestFields) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeRequestFields) Validate added in v0.0.18

func (s *ContentTypeRequestFields) Validate() error

type ContentTypeRequestFieldsFieldsItem added in v0.0.18

type ContentTypeRequestFieldsFieldsItem struct {
	ID           string                                     `json:"id"`
	Name         string                                     `json:"name"`
	Type         string                                     `json:"type"`
	LinkType     OptString                                  `json:"linkType"`
	Items        OptContentTypeRequestFieldsFieldsItemItems `json:"items"`
	Localized    OptBool                                    `json:"localized"`
	Omitted      OptBool                                    `json:"omitted"`
	Required     OptBool                                    `json:"required"`
	Disabled     OptBool                                    `json:"disabled"`
	DefaultValue jx.Raw                                     `json:"defaultValue"`
	Validations  []jx.Raw                                   `json:"validations"`
}

func (*ContentTypeRequestFieldsFieldsItem) Decode added in v0.0.18

Decode decodes ContentTypeRequestFieldsFieldsItem from json.

func (*ContentTypeRequestFieldsFieldsItem) Encode added in v0.0.18

Encode implements json.Marshaler.

func (*ContentTypeRequestFieldsFieldsItem) GetDefaultValue added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) GetDefaultValue() jx.Raw

GetDefaultValue returns the value of DefaultValue.

func (*ContentTypeRequestFieldsFieldsItem) GetDisabled added in v0.0.18

GetDisabled returns the value of Disabled.

func (*ContentTypeRequestFieldsFieldsItem) GetID added in v0.0.18

GetID returns the value of ID.

func (*ContentTypeRequestFieldsFieldsItem) GetItems added in v0.0.18

GetItems returns the value of Items.

func (*ContentTypeRequestFieldsFieldsItem) GetLinkType added in v0.0.18

GetLinkType returns the value of LinkType.

func (*ContentTypeRequestFieldsFieldsItem) GetLocalized added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) GetLocalized() OptBool

GetLocalized returns the value of Localized.

func (*ContentTypeRequestFieldsFieldsItem) GetName added in v0.0.18

GetName returns the value of Name.

func (*ContentTypeRequestFieldsFieldsItem) GetOmitted added in v0.0.18

GetOmitted returns the value of Omitted.

func (*ContentTypeRequestFieldsFieldsItem) GetRequired added in v0.0.18

GetRequired returns the value of Required.

func (*ContentTypeRequestFieldsFieldsItem) GetType added in v0.0.18

GetType returns the value of Type.

func (*ContentTypeRequestFieldsFieldsItem) GetValidations added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) GetValidations() []jx.Raw

GetValidations returns the value of Validations.

func (*ContentTypeRequestFieldsFieldsItem) MarshalJSON added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeRequestFieldsFieldsItem) SetDefaultValue added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) SetDefaultValue(val jx.Raw)

SetDefaultValue sets the value of DefaultValue.

func (*ContentTypeRequestFieldsFieldsItem) SetDisabled added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) SetDisabled(val OptBool)

SetDisabled sets the value of Disabled.

func (*ContentTypeRequestFieldsFieldsItem) SetID added in v0.0.18

SetID sets the value of ID.

func (*ContentTypeRequestFieldsFieldsItem) SetItems added in v0.0.18

SetItems sets the value of Items.

func (*ContentTypeRequestFieldsFieldsItem) SetLinkType added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) SetLinkType(val OptString)

SetLinkType sets the value of LinkType.

func (*ContentTypeRequestFieldsFieldsItem) SetLocalized added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) SetLocalized(val OptBool)

SetLocalized sets the value of Localized.

func (*ContentTypeRequestFieldsFieldsItem) SetName added in v0.0.18

SetName sets the value of Name.

func (*ContentTypeRequestFieldsFieldsItem) SetOmitted added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) SetOmitted(val OptBool)

SetOmitted sets the value of Omitted.

func (*ContentTypeRequestFieldsFieldsItem) SetRequired added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) SetRequired(val OptBool)

SetRequired sets the value of Required.

func (*ContentTypeRequestFieldsFieldsItem) SetType added in v0.0.18

SetType sets the value of Type.

func (*ContentTypeRequestFieldsFieldsItem) SetValidations added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) SetValidations(val []jx.Raw)

SetValidations sets the value of Validations.

func (*ContentTypeRequestFieldsFieldsItem) UnmarshalJSON added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ContentTypeRequestFieldsFieldsItemItems added in v0.0.18

type ContentTypeRequestFieldsFieldsItemItems struct {
	Type        OptString `json:"type"`
	LinkType    OptString `json:"linkType"`
	Validations []jx.Raw  `json:"validations"`
}

func (*ContentTypeRequestFieldsFieldsItemItems) Decode added in v0.0.18

Decode decodes ContentTypeRequestFieldsFieldsItemItems from json.

func (*ContentTypeRequestFieldsFieldsItemItems) Encode added in v0.0.18

Encode implements json.Marshaler.

func (*ContentTypeRequestFieldsFieldsItemItems) GetLinkType added in v0.0.18

GetLinkType returns the value of LinkType.

func (*ContentTypeRequestFieldsFieldsItemItems) GetType added in v0.0.18

GetType returns the value of Type.

func (*ContentTypeRequestFieldsFieldsItemItems) GetValidations added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItemItems) GetValidations() []jx.Raw

GetValidations returns the value of Validations.

func (*ContentTypeRequestFieldsFieldsItemItems) MarshalJSON added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItemItems) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeRequestFieldsFieldsItemItems) SetLinkType added in v0.0.18

SetLinkType sets the value of LinkType.

func (*ContentTypeRequestFieldsFieldsItemItems) SetType added in v0.0.18

SetType sets the value of Type.

func (*ContentTypeRequestFieldsFieldsItemItems) SetValidations added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItemItems) SetValidations(val []jx.Raw)

SetValidations sets the value of Validations.

func (*ContentTypeRequestFieldsFieldsItemItems) UnmarshalJSON added in v0.0.18

func (s *ContentTypeRequestFieldsFieldsItemItems) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ContentTypeSys added in v0.0.5

type ContentTypeSys struct {
	// Merged property.
	Type             ContentTypeSysType `json:"type"`
	Space            SpaceLink          `json:"space"`
	Environment      EnvironmentLink    `json:"environment"`
	ID               string             `json:"id"`
	Version          int                `json:"version"`
	CreatedAt        OptDateTime        `json:"createdAt"`
	UpdatedAt        OptDateTime        `json:"updatedAt"`
	PublishedVersion OptInt             `json:"publishedVersion"`
	PublishedAt      OptDateTime        `json:"publishedAt"`
}

Merged schema. Ref: #/components/schemas/ContentTypeSys

func (*ContentTypeSys) Decode added in v0.0.5

func (s *ContentTypeSys) Decode(d *jx.Decoder) error

Decode decodes ContentTypeSys from json.

func (*ContentTypeSys) Encode added in v0.0.5

func (s *ContentTypeSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ContentTypeSys) GetCreatedAt added in v0.0.5

func (s *ContentTypeSys) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*ContentTypeSys) GetEnvironment added in v0.0.18

func (s *ContentTypeSys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*ContentTypeSys) GetID added in v0.0.5

func (s *ContentTypeSys) GetID() string

GetID returns the value of ID.

func (*ContentTypeSys) GetPublishedAt added in v0.0.5

func (s *ContentTypeSys) GetPublishedAt() OptDateTime

GetPublishedAt returns the value of PublishedAt.

func (*ContentTypeSys) GetPublishedVersion added in v0.0.5

func (s *ContentTypeSys) GetPublishedVersion() OptInt

GetPublishedVersion returns the value of PublishedVersion.

func (*ContentTypeSys) GetSpace added in v0.0.18

func (s *ContentTypeSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*ContentTypeSys) GetType added in v0.0.5

func (s *ContentTypeSys) GetType() ContentTypeSysType

GetType returns the value of Type.

func (*ContentTypeSys) GetUpdatedAt added in v0.0.5

func (s *ContentTypeSys) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*ContentTypeSys) GetVersion added in v0.0.5

func (s *ContentTypeSys) GetVersion() int

GetVersion returns the value of Version.

func (*ContentTypeSys) MarshalJSON added in v0.0.5

func (s *ContentTypeSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeSys) SetCreatedAt added in v0.0.5

func (s *ContentTypeSys) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*ContentTypeSys) SetEnvironment added in v0.0.18

func (s *ContentTypeSys) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*ContentTypeSys) SetID added in v0.0.5

func (s *ContentTypeSys) SetID(val string)

SetID sets the value of ID.

func (*ContentTypeSys) SetPublishedAt added in v0.0.5

func (s *ContentTypeSys) SetPublishedAt(val OptDateTime)

SetPublishedAt sets the value of PublishedAt.

func (*ContentTypeSys) SetPublishedVersion added in v0.0.5

func (s *ContentTypeSys) SetPublishedVersion(val OptInt)

SetPublishedVersion sets the value of PublishedVersion.

func (*ContentTypeSys) SetSpace added in v0.0.18

func (s *ContentTypeSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*ContentTypeSys) SetType added in v0.0.5

func (s *ContentTypeSys) SetType(val ContentTypeSysType)

SetType sets the value of Type.

func (*ContentTypeSys) SetUpdatedAt added in v0.0.5

func (s *ContentTypeSys) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*ContentTypeSys) SetVersion added in v0.0.5

func (s *ContentTypeSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*ContentTypeSys) UnmarshalJSON added in v0.0.5

func (s *ContentTypeSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeSys) Validate added in v0.0.5

func (s *ContentTypeSys) Validate() error

type ContentTypeSysType added in v0.0.5

type ContentTypeSysType string

Merged schema.

const (
	ContentTypeSysTypeContentType ContentTypeSysType = "ContentType"
)

func (ContentTypeSysType) AllValues added in v0.0.5

func (ContentTypeSysType) AllValues() []ContentTypeSysType

AllValues returns all ContentTypeSysType values.

func (*ContentTypeSysType) Decode added in v0.0.5

func (s *ContentTypeSysType) Decode(d *jx.Decoder) error

Decode decodes ContentTypeSysType from json.

func (ContentTypeSysType) Encode added in v0.0.5

func (s ContentTypeSysType) Encode(e *jx.Encoder)

Encode encodes ContentTypeSysType as json.

func (ContentTypeSysType) MarshalJSON added in v0.0.5

func (s ContentTypeSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ContentTypeSysType) MarshalText added in v0.0.5

func (s ContentTypeSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ContentTypeSysType) UnmarshalJSON added in v0.0.5

func (s *ContentTypeSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeSysType) UnmarshalText added in v0.0.5

func (s *ContentTypeSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ContentTypeSysType) Validate added in v0.0.5

func (s ContentTypeSysType) Validate() error

type CreateDeliveryApiKeyParams added in v0.0.12

type CreateDeliveryApiKeyParams struct {
	SpaceID string
}

CreateDeliveryApiKeyParams is parameters of createDeliveryApiKey operation.

type CreateDeliveryApiKeyRes added in v0.0.12

type CreateDeliveryApiKeyRes interface {
	// contains filtered or unexported methods
}

type CreatePersonalAccessTokenRes added in v0.0.12

type CreatePersonalAccessTokenRes interface {
	// contains filtered or unexported methods
}

type CreateRoleParams added in v0.0.15

type CreateRoleParams struct {
	SpaceID string
}

CreateRoleParams is parameters of createRole operation.

type CreateRoleRes added in v0.0.15

type CreateRoleRes interface {
	// contains filtered or unexported methods
}

type CreateWebhookDefinitionParams added in v0.0.17

type CreateWebhookDefinitionParams struct {
	SpaceID string
}

CreateWebhookDefinitionParams is parameters of createWebhookDefinition operation.

type CreateWebhookDefinitionRes added in v0.0.17

type CreateWebhookDefinitionRes interface {
	// contains filtered or unexported methods
}

type DeactivateContentTypeParams added in v0.0.5

type DeactivateContentTypeParams struct {
	SpaceID       string
	EnvironmentID string
	ContentTypeID string
}

DeactivateContentTypeParams is parameters of deactivateContentType operation.

type DeactivateContentTypeRes added in v0.0.5

type DeactivateContentTypeRes interface {
	// contains filtered or unexported methods
}

type DeleteAppInstallationParams

type DeleteAppInstallationParams struct {
	SpaceID         string
	EnvironmentID   string
	AppDefinitionID string
}

DeleteAppInstallationParams is parameters of deleteAppInstallation operation.

type DeleteAppInstallationRes

type DeleteAppInstallationRes interface {
	// contains filtered or unexported methods
}

type DeleteContentTypeParams added in v0.0.5

type DeleteContentTypeParams struct {
	SpaceID       string
	EnvironmentID string
	ContentTypeID string
}

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

type DeleteDeliveryApiKeyParams struct {
	SpaceID  string
	APIKeyID string
}

DeleteDeliveryApiKeyParams is parameters of deleteDeliveryApiKey operation.

type DeleteDeliveryApiKeyRes added in v0.0.12

type DeleteDeliveryApiKeyRes interface {
	// contains filtered or unexported methods
}

type DeleteRoleParams added in v0.0.15

type DeleteRoleParams struct {
	SpaceID string
	RoleID  string
}

DeleteRoleParams is parameters of deleteRole operation.

type DeleteRoleRes added in v0.0.15

type DeleteRoleRes interface {
	// contains filtered or unexported methods
}

type DeleteWebhookDefinitionParams added in v0.0.17

type DeleteWebhookDefinitionParams struct {
	SpaceID             string
	WebhookDefinitionID string
}

DeleteWebhookDefinitionParams is parameters of deleteWebhookDefinition operation.

type DeleteWebhookDefinitionRes added in v0.0.17

type DeleteWebhookDefinitionRes interface {
	// contains filtered or unexported methods
}

type EditorInterface added in v0.0.3

type EditorInterface struct {
	Sys           EditorInterfaceSys                          `json:"sys"`
	EditorLayout  OptNilEditorInterfaceEditorLayoutItemArray  `json:"editorLayout"`
	Controls      OptNilEditorInterfaceControlsItemArray      `json:"controls"`
	GroupControls OptNilEditorInterfaceGroupControlsItemArray `json:"groupControls"`
	Sidebar       OptNilEditorInterfaceSidebarItemArray       `json:"sidebar"`
}

Merged schema. Ref: #/components/schemas/EditorInterface

func (*EditorInterface) Decode added in v0.0.3

func (s *EditorInterface) Decode(d *jx.Decoder) error

Decode decodes EditorInterface from json.

func (*EditorInterface) Encode added in v0.0.3

func (s *EditorInterface) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditorInterface) GetControls added in v0.0.3

GetControls returns the value of Controls.

func (*EditorInterface) GetEditorLayout added in v0.0.16

GetEditorLayout returns the value of EditorLayout.

func (*EditorInterface) GetGroupControls added in v0.0.16

GetGroupControls returns the value of GroupControls.

func (*EditorInterface) GetSidebar added in v0.0.3

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

SetControls sets the value of Controls.

func (*EditorInterface) SetEditorLayout added in v0.0.16

SetEditorLayout sets the value of EditorLayout.

func (*EditorInterface) SetGroupControls added in v0.0.16

SetGroupControls sets the value of GroupControls.

func (*EditorInterface) SetSidebar added in v0.0.3

SetSidebar sets the value of Sidebar.

func (*EditorInterface) SetSys added in v0.0.3

func (s *EditorInterface) SetSys(val EditorInterfaceSys)

SetSys sets the value of Sys.

func (*EditorInterface) UnmarshalJSON added in v0.0.3

func (s *EditorInterface) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditorInterface) Validate added in v0.0.3

func (s *EditorInterface) Validate() error

type EditorInterfaceControlsItem added in v0.0.3

type EditorInterfaceControlsItem struct {
	FieldId         string    `json:"fieldId"`
	WidgetNamespace OptString `json:"widgetNamespace"`
	WidgetId        OptString `json:"widgetId"`
	Settings        jx.Raw    `json:"settings"`
}

func (*EditorInterfaceControlsItem) Decode added in v0.0.3

Decode decodes EditorInterfaceControlsItem from json.

func (*EditorInterfaceControlsItem) Encode added in v0.0.3

func (s *EditorInterfaceControlsItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditorInterfaceControlsItem) GetFieldId added in v0.0.3

func (s *EditorInterfaceControlsItem) GetFieldId() string

GetFieldId returns the value of FieldId.

func (*EditorInterfaceControlsItem) GetSettings added in v0.0.3

func (s *EditorInterfaceControlsItem) GetSettings() jx.Raw

GetSettings returns the value of Settings.

func (*EditorInterfaceControlsItem) GetWidgetId added in v0.0.3

func (s *EditorInterfaceControlsItem) GetWidgetId() OptString

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceControlsItem) GetWidgetNamespace added in v0.0.3

func (s *EditorInterfaceControlsItem) GetWidgetNamespace() OptString

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceControlsItem) MarshalJSON added in v0.0.3

func (s *EditorInterfaceControlsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceControlsItem) SetFieldId added in v0.0.3

func (s *EditorInterfaceControlsItem) SetFieldId(val string)

SetFieldId sets the value of FieldId.

func (*EditorInterfaceControlsItem) SetSettings added in v0.0.3

func (s *EditorInterfaceControlsItem) SetSettings(val jx.Raw)

SetSettings sets the value of Settings.

func (*EditorInterfaceControlsItem) SetWidgetId added in v0.0.3

func (s *EditorInterfaceControlsItem) SetWidgetId(val OptString)

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceControlsItem) SetWidgetNamespace added in v0.0.3

func (s *EditorInterfaceControlsItem) SetWidgetNamespace(val OptString)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceControlsItem) UnmarshalJSON added in v0.0.3

func (s *EditorInterfaceControlsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceEditorLayoutItem added in v0.0.16

type EditorInterfaceEditorLayoutItem struct {
	GroupId string   `json:"groupId"`
	Name    string   `json:"name"`
	Items   []jx.Raw `json:"items"`
}

func (*EditorInterfaceEditorLayoutItem) Decode added in v0.0.16

Decode decodes EditorInterfaceEditorLayoutItem from json.

func (*EditorInterfaceEditorLayoutItem) Encode added in v0.0.16

Encode implements json.Marshaler.

func (*EditorInterfaceEditorLayoutItem) GetGroupId added in v0.0.16

func (s *EditorInterfaceEditorLayoutItem) GetGroupId() string

GetGroupId returns the value of GroupId.

func (*EditorInterfaceEditorLayoutItem) GetItems added in v0.0.16

func (s *EditorInterfaceEditorLayoutItem) GetItems() []jx.Raw

GetItems returns the value of Items.

func (*EditorInterfaceEditorLayoutItem) GetName added in v0.0.16

GetName returns the value of Name.

func (*EditorInterfaceEditorLayoutItem) MarshalJSON added in v0.0.16

func (s *EditorInterfaceEditorLayoutItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceEditorLayoutItem) SetGroupId added in v0.0.16

func (s *EditorInterfaceEditorLayoutItem) SetGroupId(val string)

SetGroupId sets the value of GroupId.

func (*EditorInterfaceEditorLayoutItem) SetItems added in v0.0.16

func (s *EditorInterfaceEditorLayoutItem) SetItems(val []jx.Raw)

SetItems sets the value of Items.

func (*EditorInterfaceEditorLayoutItem) SetName added in v0.0.16

func (s *EditorInterfaceEditorLayoutItem) SetName(val string)

SetName sets the value of Name.

func (*EditorInterfaceEditorLayoutItem) UnmarshalJSON added in v0.0.16

func (s *EditorInterfaceEditorLayoutItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceFields added in v0.0.18

type EditorInterfaceFields struct {
	EditorLayout  OptNilEditorInterfaceFieldsEditorLayoutItemArray  `json:"editorLayout"`
	Controls      OptNilEditorInterfaceFieldsControlsItemArray      `json:"controls"`
	GroupControls OptNilEditorInterfaceFieldsGroupControlsItemArray `json:"groupControls"`
	Sidebar       OptNilEditorInterfaceFieldsSidebarItemArray       `json:"sidebar"`
}

Ref: #/components/schemas/EditorInterfaceFields

func (*EditorInterfaceFields) Decode added in v0.0.18

func (s *EditorInterfaceFields) Decode(d *jx.Decoder) error

Decode decodes EditorInterfaceFields from json.

func (*EditorInterfaceFields) Encode added in v0.0.18

func (s *EditorInterfaceFields) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditorInterfaceFields) GetControls added in v0.0.18

GetControls returns the value of Controls.

func (*EditorInterfaceFields) GetEditorLayout added in v0.0.18

GetEditorLayout returns the value of EditorLayout.

func (*EditorInterfaceFields) GetGroupControls added in v0.0.18

GetGroupControls returns the value of GroupControls.

func (*EditorInterfaceFields) GetSidebar added in v0.0.18

GetSidebar returns the value of Sidebar.

func (*EditorInterfaceFields) MarshalJSON added in v0.0.18

func (s *EditorInterfaceFields) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceFields) SetControls added in v0.0.18

SetControls sets the value of Controls.

func (*EditorInterfaceFields) SetEditorLayout added in v0.0.18

SetEditorLayout sets the value of EditorLayout.

func (*EditorInterfaceFields) SetGroupControls added in v0.0.18

SetGroupControls sets the value of GroupControls.

func (*EditorInterfaceFields) SetSidebar added in v0.0.18

SetSidebar sets the value of Sidebar.

func (*EditorInterfaceFields) UnmarshalJSON added in v0.0.18

func (s *EditorInterfaceFields) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditorInterfaceFields) Validate added in v0.0.18

func (s *EditorInterfaceFields) Validate() error

type EditorInterfaceFieldsControlsItem added in v0.0.18

type EditorInterfaceFieldsControlsItem struct {
	FieldId         string    `json:"fieldId"`
	WidgetNamespace OptString `json:"widgetNamespace"`
	WidgetId        OptString `json:"widgetId"`
	Settings        jx.Raw    `json:"settings"`
}

func (*EditorInterfaceFieldsControlsItem) Decode added in v0.0.18

Decode decodes EditorInterfaceFieldsControlsItem from json.

func (*EditorInterfaceFieldsControlsItem) Encode added in v0.0.18

Encode implements json.Marshaler.

func (*EditorInterfaceFieldsControlsItem) GetFieldId added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) GetFieldId() string

GetFieldId returns the value of FieldId.

func (*EditorInterfaceFieldsControlsItem) GetSettings added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) GetSettings() jx.Raw

GetSettings returns the value of Settings.

func (*EditorInterfaceFieldsControlsItem) GetWidgetId added in v0.0.18

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceFieldsControlsItem) GetWidgetNamespace added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) GetWidgetNamespace() OptString

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceFieldsControlsItem) MarshalJSON added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceFieldsControlsItem) SetFieldId added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) SetFieldId(val string)

SetFieldId sets the value of FieldId.

func (*EditorInterfaceFieldsControlsItem) SetSettings added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) SetSettings(val jx.Raw)

SetSettings sets the value of Settings.

func (*EditorInterfaceFieldsControlsItem) SetWidgetId added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) SetWidgetId(val OptString)

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceFieldsControlsItem) SetWidgetNamespace added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) SetWidgetNamespace(val OptString)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceFieldsControlsItem) UnmarshalJSON added in v0.0.18

func (s *EditorInterfaceFieldsControlsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceFieldsEditorLayoutItem added in v0.0.18

type EditorInterfaceFieldsEditorLayoutItem struct {
	GroupId string   `json:"groupId"`
	Name    string   `json:"name"`
	Items   []jx.Raw `json:"items"`
}

func (*EditorInterfaceFieldsEditorLayoutItem) Decode added in v0.0.18

Decode decodes EditorInterfaceFieldsEditorLayoutItem from json.

func (*EditorInterfaceFieldsEditorLayoutItem) Encode added in v0.0.18

Encode implements json.Marshaler.

func (*EditorInterfaceFieldsEditorLayoutItem) GetGroupId added in v0.0.18

GetGroupId returns the value of GroupId.

func (*EditorInterfaceFieldsEditorLayoutItem) GetItems added in v0.0.18

GetItems returns the value of Items.

func (*EditorInterfaceFieldsEditorLayoutItem) GetName added in v0.0.18

GetName returns the value of Name.

func (*EditorInterfaceFieldsEditorLayoutItem) MarshalJSON added in v0.0.18

func (s *EditorInterfaceFieldsEditorLayoutItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceFieldsEditorLayoutItem) SetGroupId added in v0.0.18

func (s *EditorInterfaceFieldsEditorLayoutItem) SetGroupId(val string)

SetGroupId sets the value of GroupId.

func (*EditorInterfaceFieldsEditorLayoutItem) SetItems added in v0.0.18

func (s *EditorInterfaceFieldsEditorLayoutItem) SetItems(val []jx.Raw)

SetItems sets the value of Items.

func (*EditorInterfaceFieldsEditorLayoutItem) SetName added in v0.0.18

SetName sets the value of Name.

func (*EditorInterfaceFieldsEditorLayoutItem) UnmarshalJSON added in v0.0.18

func (s *EditorInterfaceFieldsEditorLayoutItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceFieldsGroupControlsItem added in v0.0.18

type EditorInterfaceFieldsGroupControlsItem struct {
	GroupId         string    `json:"groupId"`
	WidgetNamespace OptString `json:"widgetNamespace"`
	WidgetId        OptString `json:"widgetId"`
	Settings        jx.Raw    `json:"settings"`
}

func (*EditorInterfaceFieldsGroupControlsItem) Decode added in v0.0.18

Decode decodes EditorInterfaceFieldsGroupControlsItem from json.

func (*EditorInterfaceFieldsGroupControlsItem) Encode added in v0.0.18

Encode implements json.Marshaler.

func (*EditorInterfaceFieldsGroupControlsItem) GetGroupId added in v0.0.18

GetGroupId returns the value of GroupId.

func (*EditorInterfaceFieldsGroupControlsItem) GetSettings added in v0.0.18

GetSettings returns the value of Settings.

func (*EditorInterfaceFieldsGroupControlsItem) GetWidgetId added in v0.0.18

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceFieldsGroupControlsItem) GetWidgetNamespace added in v0.0.18

func (s *EditorInterfaceFieldsGroupControlsItem) GetWidgetNamespace() OptString

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceFieldsGroupControlsItem) MarshalJSON added in v0.0.18

func (s *EditorInterfaceFieldsGroupControlsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceFieldsGroupControlsItem) SetGroupId added in v0.0.18

SetGroupId sets the value of GroupId.

func (*EditorInterfaceFieldsGroupControlsItem) SetSettings added in v0.0.18

func (s *EditorInterfaceFieldsGroupControlsItem) SetSettings(val jx.Raw)

SetSettings sets the value of Settings.

func (*EditorInterfaceFieldsGroupControlsItem) SetWidgetId added in v0.0.18

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceFieldsGroupControlsItem) SetWidgetNamespace added in v0.0.18

func (s *EditorInterfaceFieldsGroupControlsItem) SetWidgetNamespace(val OptString)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceFieldsGroupControlsItem) UnmarshalJSON added in v0.0.18

func (s *EditorInterfaceFieldsGroupControlsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceFieldsSidebarItem added in v0.0.18

type EditorInterfaceFieldsSidebarItem struct {
	WidgetNamespace string  `json:"widgetNamespace"`
	WidgetId        string  `json:"widgetId"`
	Settings        jx.Raw  `json:"settings"`
	Disabled        OptBool `json:"disabled"`
}

func (*EditorInterfaceFieldsSidebarItem) Decode added in v0.0.18

Decode decodes EditorInterfaceFieldsSidebarItem from json.

func (*EditorInterfaceFieldsSidebarItem) Encode added in v0.0.18

Encode implements json.Marshaler.

func (*EditorInterfaceFieldsSidebarItem) GetDisabled added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) GetDisabled() OptBool

GetDisabled returns the value of Disabled.

func (*EditorInterfaceFieldsSidebarItem) GetSettings added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) GetSettings() jx.Raw

GetSettings returns the value of Settings.

func (*EditorInterfaceFieldsSidebarItem) GetWidgetId added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) GetWidgetId() string

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceFieldsSidebarItem) GetWidgetNamespace added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) GetWidgetNamespace() string

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceFieldsSidebarItem) MarshalJSON added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceFieldsSidebarItem) SetDisabled added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) SetDisabled(val OptBool)

SetDisabled sets the value of Disabled.

func (*EditorInterfaceFieldsSidebarItem) SetSettings added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) SetSettings(val jx.Raw)

SetSettings sets the value of Settings.

func (*EditorInterfaceFieldsSidebarItem) SetWidgetId added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) SetWidgetId(val string)

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceFieldsSidebarItem) SetWidgetNamespace added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) SetWidgetNamespace(val string)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceFieldsSidebarItem) UnmarshalJSON added in v0.0.18

func (s *EditorInterfaceFieldsSidebarItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceGroupControlsItem added in v0.0.16

type EditorInterfaceGroupControlsItem struct {
	GroupId         string    `json:"groupId"`
	WidgetNamespace OptString `json:"widgetNamespace"`
	WidgetId        OptString `json:"widgetId"`
	Settings        jx.Raw    `json:"settings"`
}

func (*EditorInterfaceGroupControlsItem) Decode added in v0.0.16

Decode decodes EditorInterfaceGroupControlsItem from json.

func (*EditorInterfaceGroupControlsItem) Encode added in v0.0.16

Encode implements json.Marshaler.

func (*EditorInterfaceGroupControlsItem) GetGroupId added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) GetGroupId() string

GetGroupId returns the value of GroupId.

func (*EditorInterfaceGroupControlsItem) GetSettings added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) GetSettings() jx.Raw

GetSettings returns the value of Settings.

func (*EditorInterfaceGroupControlsItem) GetWidgetId added in v0.0.16

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceGroupControlsItem) GetWidgetNamespace added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) GetWidgetNamespace() OptString

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceGroupControlsItem) MarshalJSON added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceGroupControlsItem) SetGroupId added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) SetGroupId(val string)

SetGroupId sets the value of GroupId.

func (*EditorInterfaceGroupControlsItem) SetSettings added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) SetSettings(val jx.Raw)

SetSettings sets the value of Settings.

func (*EditorInterfaceGroupControlsItem) SetWidgetId added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) SetWidgetId(val OptString)

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceGroupControlsItem) SetWidgetNamespace added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) SetWidgetNamespace(val OptString)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceGroupControlsItem) UnmarshalJSON added in v0.0.16

func (s *EditorInterfaceGroupControlsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceSidebarItem added in v0.0.3

type EditorInterfaceSidebarItem struct {
	WidgetNamespace string  `json:"widgetNamespace"`
	WidgetId        string  `json:"widgetId"`
	Settings        jx.Raw  `json:"settings"`
	Disabled        OptBool `json:"disabled"`
}

func (*EditorInterfaceSidebarItem) Decode added in v0.0.3

Decode decodes EditorInterfaceSidebarItem from json.

func (*EditorInterfaceSidebarItem) Encode added in v0.0.3

func (s *EditorInterfaceSidebarItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditorInterfaceSidebarItem) GetDisabled added in v0.0.3

func (s *EditorInterfaceSidebarItem) GetDisabled() OptBool

GetDisabled returns the value of Disabled.

func (*EditorInterfaceSidebarItem) GetSettings added in v0.0.3

func (s *EditorInterfaceSidebarItem) GetSettings() jx.Raw

GetSettings returns the value of Settings.

func (*EditorInterfaceSidebarItem) GetWidgetId added in v0.0.3

func (s *EditorInterfaceSidebarItem) GetWidgetId() string

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceSidebarItem) GetWidgetNamespace added in v0.0.3

func (s *EditorInterfaceSidebarItem) GetWidgetNamespace() string

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceSidebarItem) MarshalJSON added in v0.0.3

func (s *EditorInterfaceSidebarItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceSidebarItem) SetDisabled added in v0.0.3

func (s *EditorInterfaceSidebarItem) SetDisabled(val OptBool)

SetDisabled sets the value of Disabled.

func (*EditorInterfaceSidebarItem) SetSettings added in v0.0.3

func (s *EditorInterfaceSidebarItem) SetSettings(val jx.Raw)

SetSettings sets the value of Settings.

func (*EditorInterfaceSidebarItem) SetWidgetId added in v0.0.3

func (s *EditorInterfaceSidebarItem) SetWidgetId(val string)

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceSidebarItem) SetWidgetNamespace added in v0.0.3

func (s *EditorInterfaceSidebarItem) SetWidgetNamespace(val string)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceSidebarItem) UnmarshalJSON added in v0.0.3

func (s *EditorInterfaceSidebarItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceSys added in v0.0.3

type EditorInterfaceSys struct {
	// Merged property.
	Type        EditorInterfaceSysType `json:"type"`
	Space       SpaceLink              `json:"space"`
	Environment EnvironmentLink        `json:"environment"`
	ID          string                 `json:"id"`
	Version     int                    `json:"version"`
	CreatedAt   OptDateTime            `json:"createdAt"`
	UpdatedAt   OptDateTime            `json:"updatedAt"`
	ContentType ContentTypeLink        `json:"contentType"`
}

Merged schema. Ref: #/components/schemas/EditorInterfaceSys

func (*EditorInterfaceSys) Decode added in v0.0.3

func (s *EditorInterfaceSys) Decode(d *jx.Decoder) error

Decode decodes EditorInterfaceSys from json.

func (*EditorInterfaceSys) Encode added in v0.0.3

func (s *EditorInterfaceSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditorInterfaceSys) GetContentType added in v0.0.18

func (s *EditorInterfaceSys) GetContentType() ContentTypeLink

GetContentType returns the value of ContentType.

func (*EditorInterfaceSys) GetCreatedAt added in v0.0.3

func (s *EditorInterfaceSys) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*EditorInterfaceSys) GetEnvironment added in v0.0.18

func (s *EditorInterfaceSys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*EditorInterfaceSys) GetID added in v0.0.3

func (s *EditorInterfaceSys) GetID() string

GetID returns the value of ID.

func (*EditorInterfaceSys) GetSpace added in v0.0.18

func (s *EditorInterfaceSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*EditorInterfaceSys) GetType added in v0.0.3

GetType returns the value of Type.

func (*EditorInterfaceSys) GetUpdatedAt added in v0.0.3

func (s *EditorInterfaceSys) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*EditorInterfaceSys) GetVersion added in v0.0.3

func (s *EditorInterfaceSys) GetVersion() int

GetVersion returns the value of Version.

func (*EditorInterfaceSys) MarshalJSON added in v0.0.3

func (s *EditorInterfaceSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceSys) SetContentType added in v0.0.18

func (s *EditorInterfaceSys) SetContentType(val ContentTypeLink)

SetContentType sets the value of ContentType.

func (*EditorInterfaceSys) SetCreatedAt added in v0.0.3

func (s *EditorInterfaceSys) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*EditorInterfaceSys) SetEnvironment added in v0.0.18

func (s *EditorInterfaceSys) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*EditorInterfaceSys) SetID added in v0.0.3

func (s *EditorInterfaceSys) SetID(val string)

SetID sets the value of ID.

func (*EditorInterfaceSys) SetSpace added in v0.0.18

func (s *EditorInterfaceSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*EditorInterfaceSys) SetType added in v0.0.3

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

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 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

GetLinkType returns the value of LinkType.

func (*EnvironmentLinkSys) GetType added in v0.0.10

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

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

AllValues returns all EnvironmentLinkSysLinkType values.

func (*EnvironmentLinkSysLinkType) Decode added in v0.0.10

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

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) Decode

func (s *Error) Decode(d *jx.Decoder) error

Decode decodes Error from json.

func (*Error) Encode

func (s *Error) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Error) GetDetails

func (s *Error) GetDetails() jx.Raw

GetDetails returns the value of Details.

func (*Error) GetMessage

func (s *Error) GetMessage() OptString

GetMessage returns the value of Message.

func (*Error) GetSys

func (s *Error) GetSys() ErrorSys

GetSys returns the value of Sys.

func (*Error) MarshalJSON

func (s *Error) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Error) SetDetails

func (s *Error) SetDetails(val jx.Raw)

SetDetails sets the value of Details.

func (*Error) SetMessage

func (s *Error) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*Error) SetSys

func (s *Error) SetSys(val ErrorSys)

SetSys sets the value of Sys.

func (*Error) UnmarshalJSON

func (s *Error) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Error) Validate

func (s *Error) Validate() error

type ErrorStatusCode

type ErrorStatusCode struct {
	StatusCode int
	Response   Error
}

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) Decode

func (s *ErrorSys) Decode(d *jx.Decoder) error

Decode decodes ErrorSys from json.

func (*ErrorSys) Encode

func (s *ErrorSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ErrorSys) GetID

func (s *ErrorSys) GetID() string

GetID returns the value of ID.

func (*ErrorSys) GetType

func (s *ErrorSys) GetType() ErrorSysType

GetType returns the value of Type.

func (*ErrorSys) MarshalJSON

func (s *ErrorSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ErrorSys) SetID

func (s *ErrorSys) SetID(val string)

SetID sets the value of ID.

func (*ErrorSys) SetType

func (s *ErrorSys) SetType(val ErrorSysType)

SetType sets the value of Type.

func (*ErrorSys) UnmarshalJSON

func (s *ErrorSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ErrorSys) Validate

func (s *ErrorSys) Validate() error

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

type GetAppInstallationParams struct {
	SpaceID         string
	EnvironmentID   string
	AppDefinitionID string
}

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

type GetContentTypeParams struct {
	SpaceID       string
	EnvironmentID string
	ContentTypeID string
}

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

type GetDeliveryApiKeyParams struct {
	SpaceID  string
	APIKeyID string
}

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

type GetEditorInterfaceParams struct {
	SpaceID       string
	EnvironmentID string
	ContentTypeID string
}

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

type GetPreviewApiKeyParams struct {
	SpaceID         string
	PreviewAPIKeyID string
}

GetPreviewApiKeyParams is parameters of getPreviewApiKey operation.

type GetPreviewApiKeyRes added in v0.0.10

type GetPreviewApiKeyRes interface {
	// contains filtered or unexported methods
}

type GetRoleParams added in v0.0.15

type GetRoleParams struct {
	SpaceID string
	RoleID  string
}

GetRoleParams is parameters of getRole operation.

type GetRoleRes added in v0.0.15

type GetRoleRes interface {
	// contains filtered or unexported methods
}

type GetSpaceEnablementsApplicationJSONOK added in v0.0.20

type GetSpaceEnablementsApplicationJSONOK SpaceEnablement

func (*GetSpaceEnablementsApplicationJSONOK) Decode added in v0.0.20

Decode decodes GetSpaceEnablementsApplicationJSONOK from json.

func (*GetSpaceEnablementsApplicationJSONOK) Encode added in v0.0.20

Encode encodes GetSpaceEnablementsApplicationJSONOK as json.

func (*GetSpaceEnablementsApplicationJSONOK) MarshalJSON added in v0.0.20

func (s *GetSpaceEnablementsApplicationJSONOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSpaceEnablementsApplicationJSONOK) UnmarshalJSON added in v0.0.20

func (s *GetSpaceEnablementsApplicationJSONOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetSpaceEnablementsApplicationJSONOK) Validate added in v0.0.20

type GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK added in v0.0.20

type GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK SpaceEnablement

func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Decode added in v0.0.20

Decode decodes GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK from json.

func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Encode added in v0.0.20

Encode encodes GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK as json.

func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) MarshalJSON added in v0.0.20

MarshalJSON implements stdjson.Marshaler.

func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) UnmarshalJSON added in v0.0.20

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetSpaceEnablementsApplicationVndContentfulManagementV1JSONOK) Validate added in v0.0.20

type GetSpaceEnablementsParams added in v0.0.20

type GetSpaceEnablementsParams struct {
	SpaceID string
}

GetSpaceEnablementsParams is parameters of getSpaceEnablements operation.

type GetSpaceEnablementsRes added in v0.0.20

type GetSpaceEnablementsRes interface {
	// contains filtered or unexported methods
}

type GetWebhookDefinitionParams added in v0.0.17

type GetWebhookDefinitionParams struct {
	SpaceID             string
	WebhookDefinitionID string
}

GetWebhookDefinitionParams is parameters of getWebhookDefinition operation.

type GetWebhookDefinitionRes added in v0.0.17

type GetWebhookDefinitionRes interface {
	// contains filtered or unexported methods
}

type Invoker

type Invoker interface {
	// ActivateContentType invokes activateContentType operation.
	//
	// Activate a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
	ActivateContentType(ctx context.Context, params ActivateContentTypeParams) (ActivateContentTypeRes, error)
	// CreateDeliveryApiKey invokes createDeliveryApiKey operation.
	//
	// Create a delivery api key.
	//
	// POST /spaces/{space_id}/api_keys
	CreateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, params CreateDeliveryApiKeyParams) (CreateDeliveryApiKeyRes, error)
	// CreatePersonalAccessToken invokes createPersonalAccessToken operation.
	//
	// Create a personal access token.
	//
	// POST /users/me/access_tokens
	CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestFields) (CreatePersonalAccessTokenRes, error)
	// CreateRole invokes createRole operation.
	//
	// Create a role.
	//
	// POST /spaces/{space_id}/roles
	CreateRole(ctx context.Context, request *RoleFields, params CreateRoleParams) (CreateRoleRes, error)
	// CreateWebhookDefinition invokes createWebhookDefinition operation.
	//
	// Create a webhook definition.
	//
	// POST /spaces/{space_id}/webhook_definitions
	CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionFields, params CreateWebhookDefinitionParams) (CreateWebhookDefinitionRes, error)
	// DeactivateContentType invokes deactivateContentType operation.
	//
	// Deactivate a content type.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
	DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams) (DeactivateContentTypeRes, error)
	// DeleteAppInstallation invokes deleteAppInstallation operation.
	//
	// Uninstall an app.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams) (DeleteAppInstallationRes, error)
	// DeleteContentType invokes deleteContentType operation.
	//
	// Delete a content type.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	DeleteContentType(ctx context.Context, params DeleteContentTypeParams) (DeleteContentTypeRes, error)
	// DeleteDeliveryApiKey invokes deleteDeliveryApiKey operation.
	//
	// Delete a single delivery api key.
	//
	// DELETE /spaces/{space_id}/api_keys/{api_key_id}
	DeleteDeliveryApiKey(ctx context.Context, params DeleteDeliveryApiKeyParams) (DeleteDeliveryApiKeyRes, error)
	// DeleteRole invokes deleteRole operation.
	//
	// Delete a role.
	//
	// DELETE /spaces/{space_id}/roles/{role_id}
	DeleteRole(ctx context.Context, params DeleteRoleParams) (DeleteRoleRes, error)
	// DeleteWebhookDefinition invokes deleteWebhookDefinition operation.
	//
	// Delete a webhook definition.
	//
	// DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams) (DeleteWebhookDefinitionRes, error)
	// GetAppInstallation invokes getAppInstallation operation.
	//
	// Get one app installation.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	GetAppInstallation(ctx context.Context, params GetAppInstallationParams) (GetAppInstallationRes, error)
	// GetAuthenticatedUser invokes getAuthenticatedUser operation.
	//
	// Get the authenticated user.
	//
	// GET /users/me
	GetAuthenticatedUser(ctx context.Context) (GetAuthenticatedUserRes, error)
	// GetContentType invokes getContentType operation.
	//
	// Get a content type.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	GetContentType(ctx context.Context, params GetContentTypeParams) (GetContentTypeRes, error)
	// GetDeliveryApiKey invokes getDeliveryApiKey operation.
	//
	// Get a single delivery api key.
	//
	// GET /spaces/{space_id}/api_keys/{api_key_id}
	GetDeliveryApiKey(ctx context.Context, params GetDeliveryApiKeyParams) (GetDeliveryApiKeyRes, error)
	// GetEditorInterface invokes getEditorInterface operation.
	//
	// Get the editor interface for a content type.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
	GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams) (GetEditorInterfaceRes, error)
	// GetPersonalAccessToken invokes getPersonalAccessToken operation.
	//
	// Get a single personal access token.
	//
	// GET /users/me/access_tokens/{access_token_id}
	GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams) (GetPersonalAccessTokenRes, error)
	// GetPreviewApiKey invokes getPreviewApiKey operation.
	//
	// Get a single preview api key.
	//
	// GET /spaces/{space_id}/preview_api_keys/{preview_api_key_id}
	GetPreviewApiKey(ctx context.Context, params GetPreviewApiKeyParams) (GetPreviewApiKeyRes, error)
	// GetRole invokes getRole operation.
	//
	// Get a role.
	//
	// GET /spaces/{space_id}/roles/{role_id}
	GetRole(ctx context.Context, params GetRoleParams) (GetRoleRes, error)
	// GetSpaceEnablements invokes getSpaceEnablements operation.
	//
	// Get enablements for a space.
	//
	// GET /spaces/{space_id}/enablements
	GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams) (GetSpaceEnablementsRes, error)
	// GetWebhookDefinition invokes getWebhookDefinition operation.
	//
	// Get a webhook definition.
	//
	// GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams) (GetWebhookDefinitionRes, error)
	// PutAppInstallation invokes putAppInstallation operation.
	//
	// Install or update an app.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	PutAppInstallation(ctx context.Context, request *AppInstallationFields, params PutAppInstallationParams) (PutAppInstallationRes, error)
	// PutContentType invokes putContentType operation.
	//
	// Update a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	PutContentType(ctx context.Context, request *ContentTypeRequestFields, params PutContentTypeParams) (PutContentTypeRes, error)
	// PutEditorInterface invokes putEditorInterface operation.
	//
	// Update the editor interface for a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
	PutEditorInterface(ctx context.Context, request *EditorInterfaceFields, params PutEditorInterfaceParams) (PutEditorInterfaceRes, error)
	// PutSpaceEnablements invokes putSpaceEnablements operation.
	//
	// Update enablements for a space.
	//
	// PUT /spaces/{space_id}/enablements
	PutSpaceEnablements(ctx context.Context, request *SpaceEnablementFields, params PutSpaceEnablementsParams) (PutSpaceEnablementsRes, error)
	// RevokePersonalAccessToken invokes revokePersonalAccessToken operation.
	//
	// Revoke a personal access token.
	//
	// PUT /users/me/access_tokens/{access_token_id}/revoked
	RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams) (RevokePersonalAccessTokenRes, error)
	// UpdateDeliveryApiKey invokes updateDeliveryApiKey operation.
	//
	// Update a single delivery api key.
	//
	// PUT /spaces/{space_id}/api_keys/{api_key_id}
	UpdateDeliveryApiKey(ctx context.Context, request *ApiKeyRequestFields, params UpdateDeliveryApiKeyParams) (UpdateDeliveryApiKeyRes, error)
	// UpdateRole invokes updateRole operation.
	//
	// Update a role.
	//
	// PUT /spaces/{space_id}/roles/{role_id}
	UpdateRole(ctx context.Context, request *RoleFields, params UpdateRoleParams) (UpdateRoleRes, error)
	// UpdateWebhookDefinition invokes updateWebhookDefinition operation.
	//
	// Update a webhook definition.
	//
	// PUT /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	UpdateWebhookDefinition(ctx context.Context, request *WebhookDefinitionFields, params UpdateWebhookDefinitionParams) (UpdateWebhookDefinitionRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type NilString added in v0.0.7

type NilString struct {
	Value string
	Null  bool
}

NilString is nullable string.

func NewNilString added in v0.0.7

func NewNilString(v string) NilString

NewNilString returns new NilString with value set to v.

func (*NilString) Decode added in v0.0.7

func (o *NilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (NilString) Encode added in v0.0.7

func (o NilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (NilString) Get added in v0.0.7

func (o NilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilString) IsNull added in v0.0.7

func (o NilString) IsNull() bool

IsNull returns true if value is Null.

func (NilString) MarshalJSON added in v0.0.7

func (s NilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilString) Or added in v0.0.7

func (o NilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*NilString) SetTo added in v0.0.7

func (o *NilString) SetTo(v string)

SetTo sets value to v.

func (*NilString) SetToNull added in v0.0.7

func (o *NilString) SetToNull()

SetToNull sets value to null.

func (*NilString) UnmarshalJSON added in v0.0.7

func (s *NilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NoContent

type NoContent struct{}

Ref: #/components/responses/no-content

type OperationName added in v0.0.16

type OperationName = string

OperationName is the ogen operation name

const (
	ActivateContentTypeOperation       OperationName = "ActivateContentType"
	CreateDeliveryApiKeyOperation      OperationName = "CreateDeliveryApiKey"
	CreatePersonalAccessTokenOperation OperationName = "CreatePersonalAccessToken"
	CreateRoleOperation                OperationName = "CreateRole"
	CreateWebhookDefinitionOperation   OperationName = "CreateWebhookDefinition"
	DeactivateContentTypeOperation     OperationName = "DeactivateContentType"
	DeleteAppInstallationOperation     OperationName = "DeleteAppInstallation"
	DeleteContentTypeOperation         OperationName = "DeleteContentType"
	DeleteDeliveryApiKeyOperation      OperationName = "DeleteDeliveryApiKey"
	DeleteRoleOperation                OperationName = "DeleteRole"
	DeleteWebhookDefinitionOperation   OperationName = "DeleteWebhookDefinition"
	GetAppInstallationOperation        OperationName = "GetAppInstallation"
	GetAuthenticatedUserOperation      OperationName = "GetAuthenticatedUser"
	GetContentTypeOperation            OperationName = "GetContentType"
	GetDeliveryApiKeyOperation         OperationName = "GetDeliveryApiKey"
	GetEditorInterfaceOperation        OperationName = "GetEditorInterface"
	GetPersonalAccessTokenOperation    OperationName = "GetPersonalAccessToken"
	GetPreviewApiKeyOperation          OperationName = "GetPreviewApiKey"
	GetRoleOperation                   OperationName = "GetRole"
	GetSpaceEnablementsOperation       OperationName = "GetSpaceEnablements"
	GetWebhookDefinitionOperation      OperationName = "GetWebhookDefinition"
	PutAppInstallationOperation        OperationName = "PutAppInstallation"
	PutContentTypeOperation            OperationName = "PutContentType"
	PutEditorInterfaceOperation        OperationName = "PutEditorInterface"
	PutSpaceEnablementsOperation       OperationName = "PutSpaceEnablements"
	RevokePersonalAccessTokenOperation OperationName = "RevokePersonalAccessToken"
	UpdateDeliveryApiKeyOperation      OperationName = "UpdateDeliveryApiKey"
	UpdateRoleOperation                OperationName = "UpdateRole"
	UpdateWebhookDefinitionOperation   OperationName = "UpdateWebhookDefinition"
)

type OptApiKeyPreviewAPIKey added in v0.0.10

type OptApiKeyPreviewAPIKey struct {
	Value ApiKeyPreviewAPIKey
	Set   bool
}

OptApiKeyPreviewAPIKey is optional ApiKeyPreviewAPIKey.

func NewOptApiKeyPreviewAPIKey added in v0.0.10

func NewOptApiKeyPreviewAPIKey(v ApiKeyPreviewAPIKey) OptApiKeyPreviewAPIKey

NewOptApiKeyPreviewAPIKey returns new OptApiKeyPreviewAPIKey with value set to v.

func (*OptApiKeyPreviewAPIKey) Decode added in v0.0.10

func (o *OptApiKeyPreviewAPIKey) Decode(d *jx.Decoder) error

Decode decodes ApiKeyPreviewAPIKey from json.

func (OptApiKeyPreviewAPIKey) Encode added in v0.0.10

func (o OptApiKeyPreviewAPIKey) Encode(e *jx.Encoder)

Encode encodes ApiKeyPreviewAPIKey as json.

func (OptApiKeyPreviewAPIKey) Get added in v0.0.10

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

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

SetTo sets value to v.

func (*OptApiKeyPreviewAPIKey) UnmarshalJSON added in v0.0.10

func (s *OptApiKeyPreviewAPIKey) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBool added in v0.0.3

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool added in v0.0.3

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func NewOptPointerBool added in v0.0.5

func NewOptPointerBool(value *bool) OptBool

func (*OptBool) Decode added in v0.0.3

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode added in v0.0.3

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get added in v0.0.3

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet added in v0.0.3

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON added in v0.0.3

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or added in v0.0.3

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset added in v0.0.3

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo added in v0.0.3

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON added in v0.0.3

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OptBool) ValueBoolPointer added in v0.0.5

func (v *OptBool) ValueBoolPointer() *bool

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

Decode decodes ContentTypeFieldsItemItems from json.

func (OptContentTypeFieldsItemItems) Encode added in v0.0.5

Encode encodes ContentTypeFieldsItemItems as json.

func (OptContentTypeFieldsItemItems) Get added in v0.0.5

Get returns value and boolean that denotes whether value was set.

func (OptContentTypeFieldsItemItems) IsSet added in v0.0.5

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

SetTo sets value to v.

func (*OptContentTypeFieldsItemItems) UnmarshalJSON added in v0.0.5

func (s *OptContentTypeFieldsItemItems) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptContentTypeRequestFieldsFieldsItemItems added in v0.0.18

type OptContentTypeRequestFieldsFieldsItemItems struct {
	Value ContentTypeRequestFieldsFieldsItemItems
	Set   bool
}

OptContentTypeRequestFieldsFieldsItemItems is optional ContentTypeRequestFieldsFieldsItemItems.

func NewOptContentTypeRequestFieldsFieldsItemItems added in v0.0.18

func NewOptContentTypeRequestFieldsFieldsItemItems(v ContentTypeRequestFieldsFieldsItemItems) OptContentTypeRequestFieldsFieldsItemItems

NewOptContentTypeRequestFieldsFieldsItemItems returns new OptContentTypeRequestFieldsFieldsItemItems with value set to v.

func (*OptContentTypeRequestFieldsFieldsItemItems) Decode added in v0.0.18

Decode decodes ContentTypeRequestFieldsFieldsItemItems from json.

func (OptContentTypeRequestFieldsFieldsItemItems) Encode added in v0.0.18

Encode encodes ContentTypeRequestFieldsFieldsItemItems as json.

func (OptContentTypeRequestFieldsFieldsItemItems) Get added in v0.0.18

Get returns value and boolean that denotes whether value was set.

func (OptContentTypeRequestFieldsFieldsItemItems) IsSet added in v0.0.18

IsSet returns true if OptContentTypeRequestFieldsFieldsItemItems was set.

func (OptContentTypeRequestFieldsFieldsItemItems) MarshalJSON added in v0.0.18

MarshalJSON implements stdjson.Marshaler.

func (OptContentTypeRequestFieldsFieldsItemItems) Or added in v0.0.18

Or returns value if set, or given parameter if does not.

func (*OptContentTypeRequestFieldsFieldsItemItems) Reset added in v0.0.18

Reset unsets value.

func (*OptContentTypeRequestFieldsFieldsItemItems) SetTo added in v0.0.18

SetTo sets value to v.

func (*OptContentTypeRequestFieldsFieldsItemItems) UnmarshalJSON added in v0.0.18

func (s *OptContentTypeRequestFieldsFieldsItemItems) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDateTime) Encode

func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

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) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

func (o *OptDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

func (s *OptDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt added in v0.0.5

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt added in v0.0.5

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode added in v0.0.5

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode added in v0.0.5

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get added in v0.0.5

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet added in v0.0.5

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON added in v0.0.5

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or added in v0.0.5

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset added in v0.0.5

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo added in v0.0.5

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON added in v0.0.5

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilDateTime added in v0.0.12

type OptNilDateTime struct {
	Value time.Time
	Set   bool
	Null  bool
}

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) Decode added in v0.0.12

func (o *OptNilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptNilDateTime) Encode added in v0.0.12

func (o OptNilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptNilDateTime) Get added in v0.0.12

func (o OptNilDateTime) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilDateTime) IsNull added in v0.0.12

func (o OptNilDateTime) IsNull() bool

IsNull returns true if value is Null.

func (OptNilDateTime) IsSet added in v0.0.12

func (o OptNilDateTime) IsSet() bool

IsSet returns true if OptNilDateTime was set.

func (OptNilDateTime) MarshalJSON added in v0.0.12

func (s OptNilDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilDateTime) Or added in v0.0.12

func (o OptNilDateTime) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*OptNilDateTime) Reset added in v0.0.12

func (o *OptNilDateTime) Reset()

Reset unsets value.

func (*OptNilDateTime) SetTo added in v0.0.12

func (o *OptNilDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptNilDateTime) SetToNull added in v0.0.12

func (o *OptNilDateTime) SetToNull()

SetToNull sets value to null.

func (*OptNilDateTime) UnmarshalJSON added in v0.0.12

func (s *OptNilDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OptNilDateTime) ValueTimePointer added in v0.0.12

func (v *OptNilDateTime) ValueTimePointer() *time.Time

type OptNilEditorInterfaceControlsItemArray added in v0.0.4

type OptNilEditorInterfaceControlsItemArray struct {
	Value []EditorInterfaceControlsItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceControlsItemArray is optional nullable []EditorInterfaceControlsItem.

func NewOptNilEditorInterfaceControlsItemArray added in v0.0.4

func NewOptNilEditorInterfaceControlsItemArray(v []EditorInterfaceControlsItem) OptNilEditorInterfaceControlsItemArray

NewOptNilEditorInterfaceControlsItemArray returns new OptNilEditorInterfaceControlsItemArray with value set to v.

func (*OptNilEditorInterfaceControlsItemArray) Decode added in v0.0.4

Decode decodes []EditorInterfaceControlsItem from json.

func (OptNilEditorInterfaceControlsItemArray) Encode added in v0.0.4

Encode encodes []EditorInterfaceControlsItem as json.

func (OptNilEditorInterfaceControlsItemArray) Get added in v0.0.4

Get returns value and boolean that denotes whether value was set.

func (OptNilEditorInterfaceControlsItemArray) IsNull added in v0.0.4

IsNull returns true if value is Null.

func (OptNilEditorInterfaceControlsItemArray) IsSet added in v0.0.4

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

Or returns value if set, or given parameter if does not.

func (*OptNilEditorInterfaceControlsItemArray) Reset added in v0.0.4

Reset unsets value.

func (*OptNilEditorInterfaceControlsItemArray) SetTo added in v0.0.4

SetTo sets value to v.

func (*OptNilEditorInterfaceControlsItemArray) SetToNull added in v0.0.4

SetToNull sets value to null.

func (*OptNilEditorInterfaceControlsItemArray) UnmarshalJSON added in v0.0.4

func (s *OptNilEditorInterfaceControlsItemArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceEditorLayoutItemArray added in v0.0.16

type OptNilEditorInterfaceEditorLayoutItemArray struct {
	Value []EditorInterfaceEditorLayoutItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceEditorLayoutItemArray is optional nullable []EditorInterfaceEditorLayoutItem.

func NewOptNilEditorInterfaceEditorLayoutItemArray added in v0.0.16

func NewOptNilEditorInterfaceEditorLayoutItemArray(v []EditorInterfaceEditorLayoutItem) OptNilEditorInterfaceEditorLayoutItemArray

NewOptNilEditorInterfaceEditorLayoutItemArray returns new OptNilEditorInterfaceEditorLayoutItemArray with value set to v.

func (*OptNilEditorInterfaceEditorLayoutItemArray) Decode added in v0.0.16

Decode decodes []EditorInterfaceEditorLayoutItem from json.

func (OptNilEditorInterfaceEditorLayoutItemArray) Encode added in v0.0.16

Encode encodes []EditorInterfaceEditorLayoutItem as json.

func (OptNilEditorInterfaceEditorLayoutItemArray) Get added in v0.0.16

Get returns value and boolean that denotes whether value was set.

func (OptNilEditorInterfaceEditorLayoutItemArray) IsNull added in v0.0.16

IsNull returns true if value is Null.

func (OptNilEditorInterfaceEditorLayoutItemArray) IsSet added in v0.0.16

IsSet returns true if OptNilEditorInterfaceEditorLayoutItemArray was set.

func (OptNilEditorInterfaceEditorLayoutItemArray) MarshalJSON added in v0.0.16

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceEditorLayoutItemArray) Or added in v0.0.16

Or returns value if set, or given parameter if does not.

func (*OptNilEditorInterfaceEditorLayoutItemArray) Reset added in v0.0.16

Reset unsets value.

func (*OptNilEditorInterfaceEditorLayoutItemArray) SetTo added in v0.0.16

SetTo sets value to v.

func (*OptNilEditorInterfaceEditorLayoutItemArray) SetToNull added in v0.0.16

SetToNull sets value to null.

func (*OptNilEditorInterfaceEditorLayoutItemArray) UnmarshalJSON added in v0.0.16

func (s *OptNilEditorInterfaceEditorLayoutItemArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceFieldsControlsItemArray added in v0.0.18

type OptNilEditorInterfaceFieldsControlsItemArray struct {
	Value []EditorInterfaceFieldsControlsItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceFieldsControlsItemArray is optional nullable []EditorInterfaceFieldsControlsItem.

func NewOptNilEditorInterfaceFieldsControlsItemArray added in v0.0.18

func NewOptNilEditorInterfaceFieldsControlsItemArray(v []EditorInterfaceFieldsControlsItem) OptNilEditorInterfaceFieldsControlsItemArray

NewOptNilEditorInterfaceFieldsControlsItemArray returns new OptNilEditorInterfaceFieldsControlsItemArray with value set to v.

func (*OptNilEditorInterfaceFieldsControlsItemArray) Decode added in v0.0.18

Decode decodes []EditorInterfaceFieldsControlsItem from json.

func (OptNilEditorInterfaceFieldsControlsItemArray) Encode added in v0.0.18

Encode encodes []EditorInterfaceFieldsControlsItem as json.

func (OptNilEditorInterfaceFieldsControlsItemArray) Get added in v0.0.18

Get returns value and boolean that denotes whether value was set.

func (OptNilEditorInterfaceFieldsControlsItemArray) IsNull added in v0.0.18

IsNull returns true if value is Null.

func (OptNilEditorInterfaceFieldsControlsItemArray) IsSet added in v0.0.18

IsSet returns true if OptNilEditorInterfaceFieldsControlsItemArray was set.

func (OptNilEditorInterfaceFieldsControlsItemArray) MarshalJSON added in v0.0.18

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceFieldsControlsItemArray) Or added in v0.0.18

Or returns value if set, or given parameter if does not.

func (*OptNilEditorInterfaceFieldsControlsItemArray) Reset added in v0.0.18

Reset unsets value.

func (*OptNilEditorInterfaceFieldsControlsItemArray) SetTo added in v0.0.18

SetTo sets value to v.

func (*OptNilEditorInterfaceFieldsControlsItemArray) SetToNull added in v0.0.18

SetToNull sets value to null.

func (*OptNilEditorInterfaceFieldsControlsItemArray) UnmarshalJSON added in v0.0.18

func (s *OptNilEditorInterfaceFieldsControlsItemArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceFieldsEditorLayoutItemArray added in v0.0.18

type OptNilEditorInterfaceFieldsEditorLayoutItemArray struct {
	Value []EditorInterfaceFieldsEditorLayoutItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceFieldsEditorLayoutItemArray is optional nullable []EditorInterfaceFieldsEditorLayoutItem.

func NewOptNilEditorInterfaceFieldsEditorLayoutItemArray added in v0.0.18

func NewOptNilEditorInterfaceFieldsEditorLayoutItemArray(v []EditorInterfaceFieldsEditorLayoutItem) OptNilEditorInterfaceFieldsEditorLayoutItemArray

NewOptNilEditorInterfaceFieldsEditorLayoutItemArray returns new OptNilEditorInterfaceFieldsEditorLayoutItemArray with value set to v.

func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) Decode added in v0.0.18

Decode decodes []EditorInterfaceFieldsEditorLayoutItem from json.

func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) Encode added in v0.0.18

Encode encodes []EditorInterfaceFieldsEditorLayoutItem as json.

func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) Get added in v0.0.18

Get returns value and boolean that denotes whether value was set.

func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) IsNull added in v0.0.18

IsNull returns true if value is Null.

func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) IsSet added in v0.0.18

IsSet returns true if OptNilEditorInterfaceFieldsEditorLayoutItemArray was set.

func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) MarshalJSON added in v0.0.18

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceFieldsEditorLayoutItemArray) Or added in v0.0.18

Or returns value if set, or given parameter if does not.

func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) Reset added in v0.0.18

Reset unsets value.

func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) SetTo added in v0.0.18

SetTo sets value to v.

func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) SetToNull added in v0.0.18

SetToNull sets value to null.

func (*OptNilEditorInterfaceFieldsEditorLayoutItemArray) UnmarshalJSON added in v0.0.18

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceFieldsGroupControlsItemArray added in v0.0.18

type OptNilEditorInterfaceFieldsGroupControlsItemArray struct {
	Value []EditorInterfaceFieldsGroupControlsItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceFieldsGroupControlsItemArray is optional nullable []EditorInterfaceFieldsGroupControlsItem.

func NewOptNilEditorInterfaceFieldsGroupControlsItemArray added in v0.0.18

func NewOptNilEditorInterfaceFieldsGroupControlsItemArray(v []EditorInterfaceFieldsGroupControlsItem) OptNilEditorInterfaceFieldsGroupControlsItemArray

NewOptNilEditorInterfaceFieldsGroupControlsItemArray returns new OptNilEditorInterfaceFieldsGroupControlsItemArray with value set to v.

func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) Decode added in v0.0.18

Decode decodes []EditorInterfaceFieldsGroupControlsItem from json.

func (OptNilEditorInterfaceFieldsGroupControlsItemArray) Encode added in v0.0.18

Encode encodes []EditorInterfaceFieldsGroupControlsItem as json.

func (OptNilEditorInterfaceFieldsGroupControlsItemArray) Get added in v0.0.18

Get returns value and boolean that denotes whether value was set.

func (OptNilEditorInterfaceFieldsGroupControlsItemArray) IsNull added in v0.0.18

IsNull returns true if value is Null.

func (OptNilEditorInterfaceFieldsGroupControlsItemArray) IsSet added in v0.0.18

IsSet returns true if OptNilEditorInterfaceFieldsGroupControlsItemArray was set.

func (OptNilEditorInterfaceFieldsGroupControlsItemArray) MarshalJSON added in v0.0.18

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceFieldsGroupControlsItemArray) Or added in v0.0.18

Or returns value if set, or given parameter if does not.

func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) Reset added in v0.0.18

Reset unsets value.

func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) SetTo added in v0.0.18

SetTo sets value to v.

func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) SetToNull added in v0.0.18

SetToNull sets value to null.

func (*OptNilEditorInterfaceFieldsGroupControlsItemArray) UnmarshalJSON added in v0.0.18

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceFieldsSidebarItemArray added in v0.0.18

type OptNilEditorInterfaceFieldsSidebarItemArray struct {
	Value []EditorInterfaceFieldsSidebarItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceFieldsSidebarItemArray is optional nullable []EditorInterfaceFieldsSidebarItem.

func NewOptNilEditorInterfaceFieldsSidebarItemArray added in v0.0.18

func NewOptNilEditorInterfaceFieldsSidebarItemArray(v []EditorInterfaceFieldsSidebarItem) OptNilEditorInterfaceFieldsSidebarItemArray

NewOptNilEditorInterfaceFieldsSidebarItemArray returns new OptNilEditorInterfaceFieldsSidebarItemArray with value set to v.

func (*OptNilEditorInterfaceFieldsSidebarItemArray) Decode added in v0.0.18

Decode decodes []EditorInterfaceFieldsSidebarItem from json.

func (OptNilEditorInterfaceFieldsSidebarItemArray) Encode added in v0.0.18

Encode encodes []EditorInterfaceFieldsSidebarItem as json.

func (OptNilEditorInterfaceFieldsSidebarItemArray) Get added in v0.0.18

Get returns value and boolean that denotes whether value was set.

func (OptNilEditorInterfaceFieldsSidebarItemArray) IsNull added in v0.0.18

IsNull returns true if value is Null.

func (OptNilEditorInterfaceFieldsSidebarItemArray) IsSet added in v0.0.18

IsSet returns true if OptNilEditorInterfaceFieldsSidebarItemArray was set.

func (OptNilEditorInterfaceFieldsSidebarItemArray) MarshalJSON added in v0.0.18

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceFieldsSidebarItemArray) Or added in v0.0.18

Or returns value if set, or given parameter if does not.

func (*OptNilEditorInterfaceFieldsSidebarItemArray) Reset added in v0.0.18

Reset unsets value.

func (*OptNilEditorInterfaceFieldsSidebarItemArray) SetTo added in v0.0.18

SetTo sets value to v.

func (*OptNilEditorInterfaceFieldsSidebarItemArray) SetToNull added in v0.0.18

SetToNull sets value to null.

func (*OptNilEditorInterfaceFieldsSidebarItemArray) UnmarshalJSON added in v0.0.18

func (s *OptNilEditorInterfaceFieldsSidebarItemArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceGroupControlsItemArray added in v0.0.16

type OptNilEditorInterfaceGroupControlsItemArray struct {
	Value []EditorInterfaceGroupControlsItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceGroupControlsItemArray is optional nullable []EditorInterfaceGroupControlsItem.

func NewOptNilEditorInterfaceGroupControlsItemArray added in v0.0.16

func NewOptNilEditorInterfaceGroupControlsItemArray(v []EditorInterfaceGroupControlsItem) OptNilEditorInterfaceGroupControlsItemArray

NewOptNilEditorInterfaceGroupControlsItemArray returns new OptNilEditorInterfaceGroupControlsItemArray with value set to v.

func (*OptNilEditorInterfaceGroupControlsItemArray) Decode added in v0.0.16

Decode decodes []EditorInterfaceGroupControlsItem from json.

func (OptNilEditorInterfaceGroupControlsItemArray) Encode added in v0.0.16

Encode encodes []EditorInterfaceGroupControlsItem as json.

func (OptNilEditorInterfaceGroupControlsItemArray) Get added in v0.0.16

Get returns value and boolean that denotes whether value was set.

func (OptNilEditorInterfaceGroupControlsItemArray) IsNull added in v0.0.16

IsNull returns true if value is Null.

func (OptNilEditorInterfaceGroupControlsItemArray) IsSet added in v0.0.16

IsSet returns true if OptNilEditorInterfaceGroupControlsItemArray was set.

func (OptNilEditorInterfaceGroupControlsItemArray) MarshalJSON added in v0.0.16

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceGroupControlsItemArray) Or added in v0.0.16

Or returns value if set, or given parameter if does not.

func (*OptNilEditorInterfaceGroupControlsItemArray) Reset added in v0.0.16

Reset unsets value.

func (*OptNilEditorInterfaceGroupControlsItemArray) SetTo added in v0.0.16

SetTo sets value to v.

func (*OptNilEditorInterfaceGroupControlsItemArray) SetToNull added in v0.0.16

SetToNull sets value to null.

func (*OptNilEditorInterfaceGroupControlsItemArray) UnmarshalJSON added in v0.0.16

func (s *OptNilEditorInterfaceGroupControlsItemArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceSidebarItemArray added in v0.0.4

type OptNilEditorInterfaceSidebarItemArray struct {
	Value []EditorInterfaceSidebarItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceSidebarItemArray is optional nullable []EditorInterfaceSidebarItem.

func NewOptNilEditorInterfaceSidebarItemArray added in v0.0.4

func NewOptNilEditorInterfaceSidebarItemArray(v []EditorInterfaceSidebarItem) OptNilEditorInterfaceSidebarItemArray

NewOptNilEditorInterfaceSidebarItemArray returns new OptNilEditorInterfaceSidebarItemArray with value set to v.

func (*OptNilEditorInterfaceSidebarItemArray) Decode added in v0.0.4

Decode decodes []EditorInterfaceSidebarItem from json.

func (OptNilEditorInterfaceSidebarItemArray) Encode added in v0.0.4

Encode encodes []EditorInterfaceSidebarItem as json.

func (OptNilEditorInterfaceSidebarItemArray) Get added in v0.0.4

Get returns value and boolean that denotes whether value was set.

func (OptNilEditorInterfaceSidebarItemArray) IsNull added in v0.0.4

IsNull returns true if value is Null.

func (OptNilEditorInterfaceSidebarItemArray) IsSet added in v0.0.4

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

Or returns value if set, or given parameter if does not.

func (*OptNilEditorInterfaceSidebarItemArray) Reset added in v0.0.4

Reset unsets value.

func (*OptNilEditorInterfaceSidebarItemArray) SetTo added in v0.0.4

SetTo sets value to v.

func (*OptNilEditorInterfaceSidebarItemArray) SetToNull added in v0.0.4

SetToNull sets value to null.

func (*OptNilEditorInterfaceSidebarItemArray) UnmarshalJSON added in v0.0.4

func (s *OptNilEditorInterfaceSidebarItemArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilInt added in v0.0.12

type OptNilInt struct {
	Value int
	Set   bool
	Null  bool
}

OptNilInt is optional nullable int.

func NewOptNilInt added in v0.0.12

func NewOptNilInt(v int) OptNilInt

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 NewOptNilPointerInt(value *int) OptNilInt

func NewOptNilPointerInt64 added in v0.0.12

func NewOptNilPointerInt64(value *int64) OptNilInt

func (*OptNilInt) Decode added in v0.0.12

func (o *OptNilInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptNilInt) Encode added in v0.0.12

func (o OptNilInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptNilInt) Get added in v0.0.12

func (o OptNilInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilInt) IsNull added in v0.0.12

func (o OptNilInt) IsNull() bool

IsNull returns true if value is Null.

func (OptNilInt) IsSet added in v0.0.12

func (o OptNilInt) IsSet() bool

IsSet returns true if OptNilInt was set.

func (OptNilInt) MarshalJSON added in v0.0.12

func (s OptNilInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilInt) Or added in v0.0.12

func (o OptNilInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptNilInt) Reset added in v0.0.12

func (o *OptNilInt) Reset()

Reset unsets value.

func (*OptNilInt) SetTo added in v0.0.12

func (o *OptNilInt) SetTo(v int)

SetTo sets value to v.

func (*OptNilInt) SetToNull added in v0.0.12

func (o *OptNilInt) SetToNull()

SetToNull sets value to null.

func (*OptNilInt) UnmarshalJSON added in v0.0.12

func (s *OptNilInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OptNilInt) ValueInt64Pointer added in v0.0.12

func (v *OptNilInt) ValueInt64Pointer() *int64

func (*OptNilInt) ValueIntPointer added in v0.0.12

func (v *OptNilInt) ValueIntPointer() *int

type OptNilString added in v0.0.10

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

OptNilString is optional nullable string.

func NewOptNilPointerString added in v0.0.15

func NewOptNilPointerString(v *string) OptNilString

func NewOptNilString added in v0.0.10

func NewOptNilString(v string) OptNilString

NewOptNilString returns new OptNilString with value set to v.

func NewOptNilStringNull added in v0.0.10

func NewOptNilStringNull() OptNilString

func (*OptNilString) Decode added in v0.0.10

func (o *OptNilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptNilString) Encode added in v0.0.10

func (o OptNilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptNilString) Get added in v0.0.10

func (o OptNilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilString) IsNull added in v0.0.10

func (o OptNilString) IsNull() bool

IsNull returns true if value is Null.

func (OptNilString) IsSet added in v0.0.10

func (o OptNilString) IsSet() bool

IsSet returns true if OptNilString was set.

func (OptNilString) MarshalJSON added in v0.0.10

func (s OptNilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilString) Or added in v0.0.10

func (o OptNilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptNilString) Reset added in v0.0.10

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetTo added in v0.0.10

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull added in v0.0.10

func (o *OptNilString) SetToNull()

SetToNull sets value to null.

func (*OptNilString) UnmarshalJSON added in v0.0.10

func (s *OptNilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OptNilString) ValueStringPointer added in v0.0.10

func (v *OptNilString) ValueStringPointer() *string

type OptNilWebhookDefinitionFieldsTransformation added in v0.0.18

type OptNilWebhookDefinitionFieldsTransformation struct {
	Value WebhookDefinitionFieldsTransformation
	Set   bool
	Null  bool
}

OptNilWebhookDefinitionFieldsTransformation is optional nullable WebhookDefinitionFieldsTransformation.

func NewOptNilWebhookDefinitionFieldsTransformation added in v0.0.18

func NewOptNilWebhookDefinitionFieldsTransformation(v WebhookDefinitionFieldsTransformation) OptNilWebhookDefinitionFieldsTransformation

NewOptNilWebhookDefinitionFieldsTransformation returns new OptNilWebhookDefinitionFieldsTransformation with value set to v.

func (*OptNilWebhookDefinitionFieldsTransformation) Decode added in v0.0.18

Decode decodes WebhookDefinitionFieldsTransformation from json.

func (OptNilWebhookDefinitionFieldsTransformation) Encode added in v0.0.18

Encode encodes WebhookDefinitionFieldsTransformation as json.

func (OptNilWebhookDefinitionFieldsTransformation) Get added in v0.0.18

Get returns value and boolean that denotes whether value was set.

func (OptNilWebhookDefinitionFieldsTransformation) IsNull added in v0.0.18

IsNull returns true if value is Null.

func (OptNilWebhookDefinitionFieldsTransformation) IsSet added in v0.0.18

IsSet returns true if OptNilWebhookDefinitionFieldsTransformation was set.

func (OptNilWebhookDefinitionFieldsTransformation) MarshalJSON added in v0.0.18

MarshalJSON implements stdjson.Marshaler.

func (OptNilWebhookDefinitionFieldsTransformation) Or added in v0.0.18

Or returns value if set, or given parameter if does not.

func (*OptNilWebhookDefinitionFieldsTransformation) Reset added in v0.0.18

Reset unsets value.

func (*OptNilWebhookDefinitionFieldsTransformation) SetTo added in v0.0.18

SetTo sets value to v.

func (*OptNilWebhookDefinitionFieldsTransformation) SetToNull added in v0.0.18

SetToNull sets value to null.

func (*OptNilWebhookDefinitionFieldsTransformation) UnmarshalJSON added in v0.0.18

func (s *OptNilWebhookDefinitionFieldsTransformation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilWebhookDefinitionFilterArray added in v0.0.17

type OptNilWebhookDefinitionFilterArray struct {
	Value []WebhookDefinitionFilter
	Set   bool
	Null  bool
}

OptNilWebhookDefinitionFilterArray is optional nullable []WebhookDefinitionFilter.

func NewOptNilWebhookDefinitionFilterArray added in v0.0.17

func NewOptNilWebhookDefinitionFilterArray(v []WebhookDefinitionFilter) OptNilWebhookDefinitionFilterArray

NewOptNilWebhookDefinitionFilterArray returns new OptNilWebhookDefinitionFilterArray with value set to v.

func NewOptNilWebhookDefinitionFilterArrayNull added in v0.0.17

func NewOptNilWebhookDefinitionFilterArrayNull() OptNilWebhookDefinitionFilterArray

func (*OptNilWebhookDefinitionFilterArray) Decode added in v0.0.17

Decode decodes []WebhookDefinitionFilter from json.

func (OptNilWebhookDefinitionFilterArray) Encode added in v0.0.17

Encode encodes []WebhookDefinitionFilter as json.

func (OptNilWebhookDefinitionFilterArray) Get added in v0.0.17

Get returns value and boolean that denotes whether value was set.

func (OptNilWebhookDefinitionFilterArray) IsNull added in v0.0.17

IsNull returns true if value is Null.

func (OptNilWebhookDefinitionFilterArray) IsSet added in v0.0.17

IsSet returns true if OptNilWebhookDefinitionFilterArray was set.

func (OptNilWebhookDefinitionFilterArray) MarshalJSON added in v0.0.17

func (s OptNilWebhookDefinitionFilterArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilWebhookDefinitionFilterArray) Or added in v0.0.17

Or returns value if set, or given parameter if does not.

func (*OptNilWebhookDefinitionFilterArray) Reset added in v0.0.17

Reset unsets value.

func (*OptNilWebhookDefinitionFilterArray) SetTo added in v0.0.17

SetTo sets value to v.

func (*OptNilWebhookDefinitionFilterArray) SetToNull added in v0.0.17

func (o *OptNilWebhookDefinitionFilterArray) SetToNull()

SetToNull sets value to null.

func (*OptNilWebhookDefinitionFilterArray) UnmarshalJSON added in v0.0.17

func (s *OptNilWebhookDefinitionFilterArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilWebhookDefinitionTransformation added in v0.0.17

type OptNilWebhookDefinitionTransformation struct {
	Value WebhookDefinitionTransformation
	Set   bool
	Null  bool
}

OptNilWebhookDefinitionTransformation is optional nullable WebhookDefinitionTransformation.

func NewOptNilWebhookDefinitionTransformation added in v0.0.17

func NewOptNilWebhookDefinitionTransformation(v WebhookDefinitionTransformation) OptNilWebhookDefinitionTransformation

NewOptNilWebhookDefinitionTransformation returns new OptNilWebhookDefinitionTransformation with value set to v.

func (*OptNilWebhookDefinitionTransformation) Decode added in v0.0.17

Decode decodes WebhookDefinitionTransformation from json.

func (OptNilWebhookDefinitionTransformation) Encode added in v0.0.17

Encode encodes WebhookDefinitionTransformation as json.

func (OptNilWebhookDefinitionTransformation) Get added in v0.0.17

Get returns value and boolean that denotes whether value was set.

func (OptNilWebhookDefinitionTransformation) IsNull added in v0.0.17

IsNull returns true if value is Null.

func (OptNilWebhookDefinitionTransformation) IsSet added in v0.0.17

IsSet returns true if OptNilWebhookDefinitionTransformation was set.

func (OptNilWebhookDefinitionTransformation) MarshalJSON added in v0.0.17

func (s OptNilWebhookDefinitionTransformation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilWebhookDefinitionTransformation) Or added in v0.0.17

Or returns value if set, or given parameter if does not.

func (*OptNilWebhookDefinitionTransformation) Reset added in v0.0.17

Reset unsets value.

func (*OptNilWebhookDefinitionTransformation) SetTo added in v0.0.17

SetTo sets value to v.

func (*OptNilWebhookDefinitionTransformation) SetToNull added in v0.0.17

SetToNull sets value to null.

func (*OptNilWebhookDefinitionTransformation) UnmarshalJSON added in v0.0.17

func (s *OptNilWebhookDefinitionTransformation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSpaceEnablementField added in v0.0.20

type OptSpaceEnablementField struct {
	Value SpaceEnablementField
	Set   bool
}

OptSpaceEnablementField is optional SpaceEnablementField.

func NewOptSpaceEnablementField added in v0.0.20

func NewOptSpaceEnablementField(v SpaceEnablementField) OptSpaceEnablementField

NewOptSpaceEnablementField returns new OptSpaceEnablementField with value set to v.

func (*OptSpaceEnablementField) Decode added in v0.0.20

func (o *OptSpaceEnablementField) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementField from json.

func (OptSpaceEnablementField) Encode added in v0.0.20

func (o OptSpaceEnablementField) Encode(e *jx.Encoder)

Encode encodes SpaceEnablementField as json.

func (OptSpaceEnablementField) Get added in v0.0.20

Get returns value and boolean that denotes whether value was set.

func (OptSpaceEnablementField) IsSet added in v0.0.20

func (o OptSpaceEnablementField) IsSet() bool

IsSet returns true if OptSpaceEnablementField was set.

func (OptSpaceEnablementField) MarshalJSON added in v0.0.20

func (s OptSpaceEnablementField) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSpaceEnablementField) Or added in v0.0.20

Or returns value if set, or given parameter if does not.

func (*OptSpaceEnablementField) Reset added in v0.0.20

func (o *OptSpaceEnablementField) Reset()

Reset unsets value.

func (*OptSpaceEnablementField) SetTo added in v0.0.20

SetTo sets value to v.

func (*OptSpaceEnablementField) UnmarshalJSON added in v0.0.20

func (s *OptSpaceEnablementField) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptPointerString added in v0.0.5

func NewOptPointerString(value *string) OptString

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OptString) ValueStringPointer added in v0.0.5

func (v *OptString) ValueStringPointer() *string

type OptWebhookDefinitionFilterNot added in v0.0.17

type OptWebhookDefinitionFilterNot struct {
	Value WebhookDefinitionFilterNot
	Set   bool
}

OptWebhookDefinitionFilterNot is optional WebhookDefinitionFilterNot.

func NewOptWebhookDefinitionFilterNot added in v0.0.17

func NewOptWebhookDefinitionFilterNot(v WebhookDefinitionFilterNot) OptWebhookDefinitionFilterNot

NewOptWebhookDefinitionFilterNot returns new OptWebhookDefinitionFilterNot with value set to v.

func (*OptWebhookDefinitionFilterNot) Decode added in v0.0.17

Decode decodes WebhookDefinitionFilterNot from json.

func (OptWebhookDefinitionFilterNot) Encode added in v0.0.17

Encode encodes WebhookDefinitionFilterNot as json.

func (OptWebhookDefinitionFilterNot) Get added in v0.0.17

Get returns value and boolean that denotes whether value was set.

func (OptWebhookDefinitionFilterNot) IsSet added in v0.0.17

IsSet returns true if OptWebhookDefinitionFilterNot was set.

func (OptWebhookDefinitionFilterNot) MarshalJSON added in v0.0.17

func (s OptWebhookDefinitionFilterNot) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWebhookDefinitionFilterNot) Or added in v0.0.17

Or returns value if set, or given parameter if does not.

func (*OptWebhookDefinitionFilterNot) Reset added in v0.0.17

func (o *OptWebhookDefinitionFilterNot) Reset()

Reset unsets value.

func (*OptWebhookDefinitionFilterNot) SetTo added in v0.0.17

SetTo sets value to v.

func (*OptWebhookDefinitionFilterNot) UnmarshalJSON added in v0.0.17

func (s *OptWebhookDefinitionFilterNot) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ClientOption
}

Option is config option.

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

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

SetSys sets the value of Sys.

func (*PersonalAccessToken) SetToken added in v0.0.12

func (s *PersonalAccessToken) SetToken(val OptString)

SetToken sets the value of Token.

func (*PersonalAccessToken) UnmarshalJSON added in v0.0.12

func (s *PersonalAccessToken) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PersonalAccessToken) Validate added in v0.0.12

func (s *PersonalAccessToken) Validate() error

type PersonalAccessTokenRequestFields added in v0.0.18

type PersonalAccessTokenRequestFields struct {
	Name      string    `json:"name"`
	Scopes    []string  `json:"scopes"`
	ExpiresIn OptNilInt `json:"expiresIn"`
}

Ref: #/components/schemas/PersonalAccessTokenRequestFields

func (*PersonalAccessTokenRequestFields) Decode added in v0.0.18

Decode decodes PersonalAccessTokenRequestFields from json.

func (*PersonalAccessTokenRequestFields) Encode added in v0.0.18

Encode implements json.Marshaler.

func (*PersonalAccessTokenRequestFields) GetExpiresIn added in v0.0.18

func (s *PersonalAccessTokenRequestFields) GetExpiresIn() OptNilInt

GetExpiresIn returns the value of ExpiresIn.

func (*PersonalAccessTokenRequestFields) GetName added in v0.0.18

GetName returns the value of Name.

func (*PersonalAccessTokenRequestFields) GetScopes added in v0.0.18

func (s *PersonalAccessTokenRequestFields) GetScopes() []string

GetScopes returns the value of Scopes.

func (*PersonalAccessTokenRequestFields) MarshalJSON added in v0.0.18

func (s *PersonalAccessTokenRequestFields) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PersonalAccessTokenRequestFields) SetExpiresIn added in v0.0.18

func (s *PersonalAccessTokenRequestFields) SetExpiresIn(val OptNilInt)

SetExpiresIn sets the value of ExpiresIn.

func (*PersonalAccessTokenRequestFields) SetName added in v0.0.18

func (s *PersonalAccessTokenRequestFields) SetName(val string)

SetName sets the value of Name.

func (*PersonalAccessTokenRequestFields) SetScopes added in v0.0.18

func (s *PersonalAccessTokenRequestFields) SetScopes(val []string)

SetScopes sets the value of Scopes.

func (*PersonalAccessTokenRequestFields) UnmarshalJSON added in v0.0.18

func (s *PersonalAccessTokenRequestFields) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PersonalAccessTokenRequestFields) Validate added in v0.0.18

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

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

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

AllValues returns all PersonalAccessTokenSysType values.

func (*PersonalAccessTokenSysType) Decode added in v0.0.12

Decode decodes PersonalAccessTokenSysType from json.

func (PersonalAccessTokenSysType) Encode added in v0.0.12

func (s PersonalAccessTokenSysType) Encode(e *jx.Encoder)

Encode encodes PersonalAccessTokenSysType as json.

func (PersonalAccessTokenSysType) MarshalJSON added in v0.0.12

func (s PersonalAccessTokenSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PersonalAccessTokenSysType) MarshalText added in v0.0.12

func (s PersonalAccessTokenSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PersonalAccessTokenSysType) UnmarshalJSON added in v0.0.12

func (s *PersonalAccessTokenSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PersonalAccessTokenSysType) UnmarshalText added in v0.0.12

func (s *PersonalAccessTokenSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PersonalAccessTokenSysType) Validate added in v0.0.12

func (s PersonalAccessTokenSysType) Validate() error

type PreviewApiKey added in v0.0.10

type PreviewApiKey struct {
	Sys          PreviewApiKeySys  `json:"sys"`
	Name         string            `json:"name"`
	Description  OptNilString      `json:"description"`
	AccessToken  string            `json:"accessToken"`
	Environments []EnvironmentLink `json:"environments"`
}

Merged schema. Ref: #/components/schemas/PreviewApiKey

func (*PreviewApiKey) Decode added in v0.0.10

func (s *PreviewApiKey) Decode(d *jx.Decoder) error

Decode decodes PreviewApiKey from json.

func (*PreviewApiKey) Encode added in v0.0.10

func (s *PreviewApiKey) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PreviewApiKey) GetAccessToken added in v0.0.10

func (s *PreviewApiKey) GetAccessToken() string

GetAccessToken returns the value of AccessToken.

func (*PreviewApiKey) GetDescription added in v0.0.10

func (s *PreviewApiKey) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*PreviewApiKey) GetEnvironments added in v0.0.10

func (s *PreviewApiKey) GetEnvironments() []EnvironmentLink

GetEnvironments returns the value of Environments.

func (*PreviewApiKey) GetName added in v0.0.10

func (s *PreviewApiKey) GetName() string

GetName returns the value of Name.

func (*PreviewApiKey) GetSys added in v0.0.10

func (s *PreviewApiKey) GetSys() PreviewApiKeySys

GetSys returns the value of Sys.

func (*PreviewApiKey) MarshalJSON added in v0.0.10

func (s *PreviewApiKey) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PreviewApiKey) SetAccessToken added in v0.0.10

func (s *PreviewApiKey) SetAccessToken(val string)

SetAccessToken sets the value of AccessToken.

func (*PreviewApiKey) SetDescription added in v0.0.10

func (s *PreviewApiKey) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*PreviewApiKey) SetEnvironments added in v0.0.10

func (s *PreviewApiKey) SetEnvironments(val []EnvironmentLink)

SetEnvironments sets the value of Environments.

func (*PreviewApiKey) SetName added in v0.0.10

func (s *PreviewApiKey) SetName(val string)

SetName sets the value of Name.

func (*PreviewApiKey) SetSys added in v0.0.10

func (s *PreviewApiKey) SetSys(val PreviewApiKeySys)

SetSys sets the value of Sys.

func (*PreviewApiKey) UnmarshalJSON added in v0.0.10

func (s *PreviewApiKey) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewApiKey) Validate added in v0.0.10

func (s *PreviewApiKey) Validate() error

type PreviewApiKeySys added in v0.0.10

type PreviewApiKeySys struct {
	// Merged property.
	Type      PreviewApiKeySysType `json:"type"`
	Space     SpaceLink            `json:"space"`
	ID        string               `json:"id"`
	Version   int                  `json:"version"`
	CreatedAt OptDateTime          `json:"createdAt"`
	UpdatedAt OptDateTime          `json:"updatedAt"`
}

Merged schema. Ref: #/components/schemas/PreviewApiKeySys

func (*PreviewApiKeySys) Decode added in v0.0.10

func (s *PreviewApiKeySys) Decode(d *jx.Decoder) error

Decode decodes PreviewApiKeySys from json.

func (*PreviewApiKeySys) Encode added in v0.0.10

func (s *PreviewApiKeySys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PreviewApiKeySys) GetCreatedAt added in v0.0.10

func (s *PreviewApiKeySys) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*PreviewApiKeySys) GetID added in v0.0.10

func (s *PreviewApiKeySys) GetID() string

GetID returns the value of ID.

func (*PreviewApiKeySys) GetSpace added in v0.0.18

func (s *PreviewApiKeySys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*PreviewApiKeySys) GetType added in v0.0.10

GetType returns the value of Type.

func (*PreviewApiKeySys) GetUpdatedAt added in v0.0.10

func (s *PreviewApiKeySys) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*PreviewApiKeySys) GetVersion added in v0.0.10

func (s *PreviewApiKeySys) GetVersion() int

GetVersion returns the value of Version.

func (*PreviewApiKeySys) MarshalJSON added in v0.0.10

func (s *PreviewApiKeySys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PreviewApiKeySys) SetCreatedAt added in v0.0.10

func (s *PreviewApiKeySys) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*PreviewApiKeySys) SetID added in v0.0.10

func (s *PreviewApiKeySys) SetID(val string)

SetID sets the value of ID.

func (*PreviewApiKeySys) SetSpace added in v0.0.18

func (s *PreviewApiKeySys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*PreviewApiKeySys) SetType added in v0.0.10

func (s *PreviewApiKeySys) SetType(val PreviewApiKeySysType)

SetType sets the value of Type.

func (*PreviewApiKeySys) SetUpdatedAt added in v0.0.10

func (s *PreviewApiKeySys) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*PreviewApiKeySys) SetVersion added in v0.0.10

func (s *PreviewApiKeySys) SetVersion(val int)

SetVersion sets the value of Version.

func (*PreviewApiKeySys) UnmarshalJSON added in v0.0.10

func (s *PreviewApiKeySys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewApiKeySys) Validate added in v0.0.10

func (s *PreviewApiKeySys) Validate() error

type PreviewApiKeySysType added in v0.0.10

type PreviewApiKeySysType string

Merged schema.

const (
	PreviewApiKeySysTypePreviewApiKey PreviewApiKeySysType = "PreviewApiKey"
)

func (PreviewApiKeySysType) AllValues added in v0.0.10

AllValues returns all PreviewApiKeySysType values.

func (*PreviewApiKeySysType) Decode added in v0.0.10

func (s *PreviewApiKeySysType) Decode(d *jx.Decoder) error

Decode decodes PreviewApiKeySysType from json.

func (PreviewApiKeySysType) Encode added in v0.0.10

func (s PreviewApiKeySysType) Encode(e *jx.Encoder)

Encode encodes PreviewApiKeySysType as json.

func (PreviewApiKeySysType) MarshalJSON added in v0.0.10

func (s PreviewApiKeySysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PreviewApiKeySysType) MarshalText added in v0.0.10

func (s PreviewApiKeySysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PreviewApiKeySysType) UnmarshalJSON added in v0.0.10

func (s *PreviewApiKeySysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewApiKeySysType) UnmarshalText added in v0.0.10

func (s *PreviewApiKeySysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PreviewApiKeySysType) Validate added in v0.0.10

func (s PreviewApiKeySysType) Validate() error

type PutAppInstallationParams

type PutAppInstallationParams struct {
	SpaceID                string
	EnvironmentID          string
	AppDefinitionID        string
	XContentfulMarketplace OptString
}

PutAppInstallationParams is parameters of putAppInstallation operation.

type PutAppInstallationRes

type PutAppInstallationRes interface {
	// contains filtered or unexported methods
}

type PutContentTypeCreated added in v0.0.5

type PutContentTypeCreated ContentType

func (*PutContentTypeCreated) Decode added in v0.0.5

func (s *PutContentTypeCreated) Decode(d *jx.Decoder) error

Decode decodes PutContentTypeCreated from json.

func (*PutContentTypeCreated) Encode added in v0.0.5

func (s *PutContentTypeCreated) Encode(e *jx.Encoder)

Encode encodes PutContentTypeCreated as json.

func (*PutContentTypeCreated) MarshalJSON added in v0.0.5

func (s *PutContentTypeCreated) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutContentTypeCreated) UnmarshalJSON added in v0.0.5

func (s *PutContentTypeCreated) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PutContentTypeCreated) Validate added in v0.0.5

func (s *PutContentTypeCreated) Validate() error

type PutContentTypeOK added in v0.0.5

type PutContentTypeOK ContentType

func (*PutContentTypeOK) Decode added in v0.0.5

func (s *PutContentTypeOK) Decode(d *jx.Decoder) error

Decode decodes PutContentTypeOK from json.

func (*PutContentTypeOK) Encode added in v0.0.5

func (s *PutContentTypeOK) Encode(e *jx.Encoder)

Encode encodes PutContentTypeOK as json.

func (*PutContentTypeOK) MarshalJSON added in v0.0.5

func (s *PutContentTypeOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutContentTypeOK) UnmarshalJSON added in v0.0.5

func (s *PutContentTypeOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PutContentTypeOK) Validate added in v0.0.5

func (s *PutContentTypeOK) Validate() error

type PutContentTypeParams added in v0.0.5

type PutContentTypeParams struct {
	SpaceID            string
	EnvironmentID      string
	ContentTypeID      string
	XContentfulVersion int
}

PutContentTypeParams is parameters of putContentType operation.

type PutContentTypeRes added in v0.0.5

type PutContentTypeRes interface {
	// contains filtered or unexported methods
}

type PutEditorInterfaceParams added in v0.0.3

type PutEditorInterfaceParams struct {
	SpaceID            string
	EnvironmentID      string
	ContentTypeID      string
	XContentfulVersion int
}

PutEditorInterfaceParams is parameters of putEditorInterface operation.

type PutEditorInterfaceRes added in v0.0.3

type PutEditorInterfaceRes interface {
	// contains filtered or unexported methods
}

type PutSpaceEnablementsParams added in v0.0.20

type PutSpaceEnablementsParams struct {
	SpaceID            string
	XContentfulVersion int
}

PutSpaceEnablementsParams is parameters of putSpaceEnablements operation.

type PutSpaceEnablementsRes added in v0.0.20

type PutSpaceEnablementsRes interface {
	// contains filtered or unexported methods
}

type RevokePersonalAccessTokenParams added in v0.0.12

type RevokePersonalAccessTokenParams struct {
	AccessTokenID string
}

RevokePersonalAccessTokenParams is parameters of revokePersonalAccessToken operation.

type RevokePersonalAccessTokenRes added in v0.0.12

type RevokePersonalAccessTokenRes interface {
	// contains filtered or unexported methods
}

type Role added in v0.0.15

type Role struct {
	Sys         RoleSys            `json:"sys"`
	Name        string             `json:"name"`
	Description OptNilString       `json:"description"`
	Permissions RolePermissions    `json:"permissions"`
	Policies    []RolePoliciesItem `json:"policies"`
}

Merged schema. Ref: #/components/schemas/Role

func (*Role) Decode added in v0.0.15

func (s *Role) Decode(d *jx.Decoder) error

Decode decodes Role from json.

func (*Role) Encode added in v0.0.15

func (s *Role) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Role) GetDescription added in v0.0.15

func (s *Role) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*Role) GetName added in v0.0.15

func (s *Role) GetName() string

GetName returns the value of Name.

func (*Role) GetPermissions added in v0.0.15

func (s *Role) GetPermissions() RolePermissions

GetPermissions returns the value of Permissions.

func (*Role) GetPolicies added in v0.0.15

func (s *Role) GetPolicies() []RolePoliciesItem

GetPolicies returns the value of Policies.

func (*Role) GetSys added in v0.0.15

func (s *Role) GetSys() RoleSys

GetSys returns the value of Sys.

func (*Role) MarshalJSON added in v0.0.15

func (s *Role) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Role) SetDescription added in v0.0.15

func (s *Role) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*Role) SetName added in v0.0.15

func (s *Role) SetName(val string)

SetName sets the value of Name.

func (*Role) SetPermissions added in v0.0.15

func (s *Role) SetPermissions(val RolePermissions)

SetPermissions sets the value of Permissions.

func (*Role) SetPolicies added in v0.0.15

func (s *Role) SetPolicies(val []RolePoliciesItem)

SetPolicies sets the value of Policies.

func (*Role) SetSys added in v0.0.15

func (s *Role) SetSys(val RoleSys)

SetSys sets the value of Sys.

func (*Role) UnmarshalJSON added in v0.0.15

func (s *Role) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Role) Validate added in v0.0.15

func (s *Role) Validate() error

type RoleFields added in v0.0.18

type RoleFields struct {
	Name        string                   `json:"name"`
	Description OptNilString             `json:"description"`
	Permissions RoleFieldsPermissions    `json:"permissions"`
	Policies    []RoleFieldsPoliciesItem `json:"policies"`
}

Ref: #/components/schemas/RoleFields

func (*RoleFields) Decode added in v0.0.18

func (s *RoleFields) Decode(d *jx.Decoder) error

Decode decodes RoleFields from json.

func (*RoleFields) Encode added in v0.0.18

func (s *RoleFields) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RoleFields) GetDescription added in v0.0.18

func (s *RoleFields) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*RoleFields) GetName added in v0.0.18

func (s *RoleFields) GetName() string

GetName returns the value of Name.

func (*RoleFields) GetPermissions added in v0.0.18

func (s *RoleFields) GetPermissions() RoleFieldsPermissions

GetPermissions returns the value of Permissions.

func (*RoleFields) GetPolicies added in v0.0.18

func (s *RoleFields) GetPolicies() []RoleFieldsPoliciesItem

GetPolicies returns the value of Policies.

func (*RoleFields) MarshalJSON added in v0.0.18

func (s *RoleFields) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RoleFields) SetDescription added in v0.0.18

func (s *RoleFields) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*RoleFields) SetName added in v0.0.18

func (s *RoleFields) SetName(val string)

SetName sets the value of Name.

func (*RoleFields) SetPermissions added in v0.0.18

func (s *RoleFields) SetPermissions(val RoleFieldsPermissions)

SetPermissions sets the value of Permissions.

func (*RoleFields) SetPolicies added in v0.0.18

func (s *RoleFields) SetPolicies(val []RoleFieldsPoliciesItem)

SetPolicies sets the value of Policies.

func (*RoleFields) UnmarshalJSON added in v0.0.18

func (s *RoleFields) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleFields) Validate added in v0.0.18

func (s *RoleFields) Validate() error

type RoleFieldsPermissions added in v0.0.18

type RoleFieldsPermissions map[string]RoleFieldsPermissionsItem

func (*RoleFieldsPermissions) Decode added in v0.0.18

func (s *RoleFieldsPermissions) Decode(d *jx.Decoder) error

Decode decodes RoleFieldsPermissions from json.

func (RoleFieldsPermissions) Encode added in v0.0.18

func (s RoleFieldsPermissions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (RoleFieldsPermissions) MarshalJSON added in v0.0.18

func (s RoleFieldsPermissions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RoleFieldsPermissions) UnmarshalJSON added in v0.0.18

func (s *RoleFieldsPermissions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (RoleFieldsPermissions) Validate added in v0.0.18

func (s RoleFieldsPermissions) Validate() error

type RoleFieldsPermissionsItem added in v0.0.18

type RoleFieldsPermissionsItem struct {
	Type        RoleFieldsPermissionsItemType // switch on this field
	String      string
	StringArray []string
}

RoleFieldsPermissionsItem represents sum type.

func NewStringArrayRoleFieldsPermissionsItem added in v0.0.18

func NewStringArrayRoleFieldsPermissionsItem(v []string) RoleFieldsPermissionsItem

NewStringArrayRoleFieldsPermissionsItem returns new RoleFieldsPermissionsItem from []string.

func NewStringRoleFieldsPermissionsItem added in v0.0.18

func NewStringRoleFieldsPermissionsItem(v string) RoleFieldsPermissionsItem

NewStringRoleFieldsPermissionsItem returns new RoleFieldsPermissionsItem from string.

func (*RoleFieldsPermissionsItem) Decode added in v0.0.18

func (s *RoleFieldsPermissionsItem) Decode(d *jx.Decoder) error

Decode decodes RoleFieldsPermissionsItem from json.

func (RoleFieldsPermissionsItem) Encode added in v0.0.18

func (s RoleFieldsPermissionsItem) Encode(e *jx.Encoder)

Encode encodes RoleFieldsPermissionsItem as json.

func (RoleFieldsPermissionsItem) GetString added in v0.0.18

func (s RoleFieldsPermissionsItem) GetString() (v string, ok bool)

GetString returns string and true boolean if RoleFieldsPermissionsItem is string.

func (RoleFieldsPermissionsItem) GetStringArray added in v0.0.18

func (s RoleFieldsPermissionsItem) GetStringArray() (v []string, ok bool)

GetStringArray returns []string and true boolean if RoleFieldsPermissionsItem is []string.

func (RoleFieldsPermissionsItem) IsString added in v0.0.18

func (s RoleFieldsPermissionsItem) IsString() bool

IsString reports whether RoleFieldsPermissionsItem is string.

func (RoleFieldsPermissionsItem) IsStringArray added in v0.0.18

func (s RoleFieldsPermissionsItem) IsStringArray() bool

IsStringArray reports whether RoleFieldsPermissionsItem is []string.

func (RoleFieldsPermissionsItem) MarshalJSON added in v0.0.18

func (s RoleFieldsPermissionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RoleFieldsPermissionsItem) SetString added in v0.0.18

func (s *RoleFieldsPermissionsItem) SetString(v string)

SetString sets RoleFieldsPermissionsItem to string.

func (*RoleFieldsPermissionsItem) SetStringArray added in v0.0.18

func (s *RoleFieldsPermissionsItem) SetStringArray(v []string)

SetStringArray sets RoleFieldsPermissionsItem to []string.

func (*RoleFieldsPermissionsItem) UnmarshalJSON added in v0.0.18

func (s *RoleFieldsPermissionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (RoleFieldsPermissionsItem) Validate added in v0.0.18

func (s RoleFieldsPermissionsItem) Validate() error

type RoleFieldsPermissionsItemType added in v0.0.18

type RoleFieldsPermissionsItemType string

RoleFieldsPermissionsItemType is oneOf type of RoleFieldsPermissionsItem.

const (
	StringRoleFieldsPermissionsItem      RoleFieldsPermissionsItemType = "string"
	StringArrayRoleFieldsPermissionsItem RoleFieldsPermissionsItemType = "[]string"
)

Possible values for RoleFieldsPermissionsItemType.

type RoleFieldsPoliciesItem added in v0.0.18

type RoleFieldsPoliciesItem struct {
	Effect     RoleFieldsPoliciesItemEffect  `json:"effect"`
	Actions    RoleFieldsPoliciesItemActions `json:"actions"`
	Constraint jx.Raw                        `json:"constraint"`
}

func (*RoleFieldsPoliciesItem) Decode added in v0.0.18

func (s *RoleFieldsPoliciesItem) Decode(d *jx.Decoder) error

Decode decodes RoleFieldsPoliciesItem from json.

func (*RoleFieldsPoliciesItem) Encode added in v0.0.18

func (s *RoleFieldsPoliciesItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RoleFieldsPoliciesItem) GetActions added in v0.0.18

GetActions returns the value of Actions.

func (*RoleFieldsPoliciesItem) GetConstraint added in v0.0.18

func (s *RoleFieldsPoliciesItem) GetConstraint() jx.Raw

GetConstraint returns the value of Constraint.

func (*RoleFieldsPoliciesItem) GetEffect added in v0.0.18

GetEffect returns the value of Effect.

func (*RoleFieldsPoliciesItem) MarshalJSON added in v0.0.18

func (s *RoleFieldsPoliciesItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RoleFieldsPoliciesItem) SetActions added in v0.0.18

SetActions sets the value of Actions.

func (*RoleFieldsPoliciesItem) SetConstraint added in v0.0.18

func (s *RoleFieldsPoliciesItem) SetConstraint(val jx.Raw)

SetConstraint sets the value of Constraint.

func (*RoleFieldsPoliciesItem) SetEffect added in v0.0.18

SetEffect sets the value of Effect.

func (*RoleFieldsPoliciesItem) UnmarshalJSON added in v0.0.18

func (s *RoleFieldsPoliciesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleFieldsPoliciesItem) Validate added in v0.0.18

func (s *RoleFieldsPoliciesItem) Validate() error

type RoleFieldsPoliciesItemActions added in v0.0.18

type RoleFieldsPoliciesItemActions struct {
	Type        RoleFieldsPoliciesItemActionsType // switch on this field
	String      string
	StringArray []string
}

RoleFieldsPoliciesItemActions represents sum type.

func NewStringArrayRoleFieldsPoliciesItemActions added in v0.0.18

func NewStringArrayRoleFieldsPoliciesItemActions(v []string) RoleFieldsPoliciesItemActions

NewStringArrayRoleFieldsPoliciesItemActions returns new RoleFieldsPoliciesItemActions from []string.

func NewStringRoleFieldsPoliciesItemActions added in v0.0.18

func NewStringRoleFieldsPoliciesItemActions(v string) RoleFieldsPoliciesItemActions

NewStringRoleFieldsPoliciesItemActions returns new RoleFieldsPoliciesItemActions from string.

func (*RoleFieldsPoliciesItemActions) Decode added in v0.0.18

Decode decodes RoleFieldsPoliciesItemActions from json.

func (RoleFieldsPoliciesItemActions) Encode added in v0.0.18

Encode encodes RoleFieldsPoliciesItemActions as json.

func (RoleFieldsPoliciesItemActions) GetString added in v0.0.18

func (s RoleFieldsPoliciesItemActions) GetString() (v string, ok bool)

GetString returns string and true boolean if RoleFieldsPoliciesItemActions is string.

func (RoleFieldsPoliciesItemActions) GetStringArray added in v0.0.18

func (s RoleFieldsPoliciesItemActions) GetStringArray() (v []string, ok bool)

GetStringArray returns []string and true boolean if RoleFieldsPoliciesItemActions is []string.

func (RoleFieldsPoliciesItemActions) IsString added in v0.0.18

func (s RoleFieldsPoliciesItemActions) IsString() bool

IsString reports whether RoleFieldsPoliciesItemActions is string.

func (RoleFieldsPoliciesItemActions) IsStringArray added in v0.0.18

func (s RoleFieldsPoliciesItemActions) IsStringArray() bool

IsStringArray reports whether RoleFieldsPoliciesItemActions is []string.

func (RoleFieldsPoliciesItemActions) MarshalJSON added in v0.0.18

func (s RoleFieldsPoliciesItemActions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RoleFieldsPoliciesItemActions) SetString added in v0.0.18

func (s *RoleFieldsPoliciesItemActions) SetString(v string)

SetString sets RoleFieldsPoliciesItemActions to string.

func (*RoleFieldsPoliciesItemActions) SetStringArray added in v0.0.18

func (s *RoleFieldsPoliciesItemActions) SetStringArray(v []string)

SetStringArray sets RoleFieldsPoliciesItemActions to []string.

func (*RoleFieldsPoliciesItemActions) UnmarshalJSON added in v0.0.18

func (s *RoleFieldsPoliciesItemActions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (RoleFieldsPoliciesItemActions) Validate added in v0.0.18

func (s RoleFieldsPoliciesItemActions) Validate() error

type RoleFieldsPoliciesItemActionsType added in v0.0.18

type RoleFieldsPoliciesItemActionsType string

RoleFieldsPoliciesItemActionsType is oneOf type of RoleFieldsPoliciesItemActions.

const (
	StringRoleFieldsPoliciesItemActions      RoleFieldsPoliciesItemActionsType = "string"
	StringArrayRoleFieldsPoliciesItemActions RoleFieldsPoliciesItemActionsType = "[]string"
)

Possible values for RoleFieldsPoliciesItemActionsType.

type RoleFieldsPoliciesItemEffect added in v0.0.18

type RoleFieldsPoliciesItemEffect string
const (
	RoleFieldsPoliciesItemEffectAllow RoleFieldsPoliciesItemEffect = "allow"
	RoleFieldsPoliciesItemEffectDeny  RoleFieldsPoliciesItemEffect = "deny"
)

func (RoleFieldsPoliciesItemEffect) AllValues added in v0.0.18

AllValues returns all RoleFieldsPoliciesItemEffect values.

func (*RoleFieldsPoliciesItemEffect) Decode added in v0.0.18

Decode decodes RoleFieldsPoliciesItemEffect from json.

func (RoleFieldsPoliciesItemEffect) Encode added in v0.0.18

Encode encodes RoleFieldsPoliciesItemEffect as json.

func (RoleFieldsPoliciesItemEffect) MarshalJSON added in v0.0.18

func (s RoleFieldsPoliciesItemEffect) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RoleFieldsPoliciesItemEffect) MarshalText added in v0.0.18

func (s RoleFieldsPoliciesItemEffect) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RoleFieldsPoliciesItemEffect) UnmarshalJSON added in v0.0.18

func (s *RoleFieldsPoliciesItemEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleFieldsPoliciesItemEffect) UnmarshalText added in v0.0.18

func (s *RoleFieldsPoliciesItemEffect) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RoleFieldsPoliciesItemEffect) Validate added in v0.0.18

func (s RoleFieldsPoliciesItemEffect) Validate() error

type RolePermissions added in v0.0.15

type RolePermissions map[string]RolePermissionsItem

func (*RolePermissions) Decode added in v0.0.15

func (s *RolePermissions) Decode(d *jx.Decoder) error

Decode decodes RolePermissions from json.

func (RolePermissions) Encode added in v0.0.15

func (s RolePermissions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (RolePermissions) MarshalJSON added in v0.0.15

func (s RolePermissions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RolePermissions) UnmarshalJSON added in v0.0.15

func (s *RolePermissions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (RolePermissions) Validate added in v0.0.15

func (s RolePermissions) Validate() error

type RolePermissionsItem added in v0.0.15

type RolePermissionsItem struct {
	Type        RolePermissionsItemType // switch on this field
	String      string
	StringArray []string
}

RolePermissionsItem represents sum type.

func NewStringArrayRolePermissionsItem added in v0.0.15

func NewStringArrayRolePermissionsItem(v []string) RolePermissionsItem

NewStringArrayRolePermissionsItem returns new RolePermissionsItem from []string.

func NewStringRolePermissionsItem added in v0.0.15

func NewStringRolePermissionsItem(v string) RolePermissionsItem

NewStringRolePermissionsItem returns new RolePermissionsItem from string.

func (*RolePermissionsItem) Decode added in v0.0.15

func (s *RolePermissionsItem) Decode(d *jx.Decoder) error

Decode decodes RolePermissionsItem from json.

func (RolePermissionsItem) Encode added in v0.0.15

func (s RolePermissionsItem) Encode(e *jx.Encoder)

Encode encodes RolePermissionsItem as json.

func (RolePermissionsItem) GetString added in v0.0.15

func (s RolePermissionsItem) GetString() (v string, ok bool)

GetString returns string and true boolean if RolePermissionsItem is string.

func (RolePermissionsItem) GetStringArray added in v0.0.15

func (s RolePermissionsItem) GetStringArray() (v []string, ok bool)

GetStringArray returns []string and true boolean if RolePermissionsItem is []string.

func (RolePermissionsItem) IsString added in v0.0.15

func (s RolePermissionsItem) IsString() bool

IsString reports whether RolePermissionsItem is string.

func (RolePermissionsItem) IsStringArray added in v0.0.15

func (s RolePermissionsItem) IsStringArray() bool

IsStringArray reports whether RolePermissionsItem is []string.

func (RolePermissionsItem) MarshalJSON added in v0.0.15

func (s RolePermissionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RolePermissionsItem) SetString added in v0.0.15

func (s *RolePermissionsItem) SetString(v string)

SetString sets RolePermissionsItem to string.

func (*RolePermissionsItem) SetStringArray added in v0.0.15

func (s *RolePermissionsItem) SetStringArray(v []string)

SetStringArray sets RolePermissionsItem to []string.

func (*RolePermissionsItem) UnmarshalJSON added in v0.0.15

func (s *RolePermissionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (RolePermissionsItem) Validate added in v0.0.15

func (s RolePermissionsItem) Validate() error

type RolePermissionsItemType added in v0.0.15

type RolePermissionsItemType string

RolePermissionsItemType is oneOf type of RolePermissionsItem.

const (
	StringRolePermissionsItem      RolePermissionsItemType = "string"
	StringArrayRolePermissionsItem RolePermissionsItemType = "[]string"
)

Possible values for RolePermissionsItemType.

type RolePoliciesItem added in v0.0.15

type RolePoliciesItem struct {
	Effect     RolePoliciesItemEffect  `json:"effect"`
	Actions    RolePoliciesItemActions `json:"actions"`
	Constraint jx.Raw                  `json:"constraint"`
}

func (*RolePoliciesItem) Decode added in v0.0.15

func (s *RolePoliciesItem) Decode(d *jx.Decoder) error

Decode decodes RolePoliciesItem from json.

func (*RolePoliciesItem) Encode added in v0.0.15

func (s *RolePoliciesItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RolePoliciesItem) GetActions added in v0.0.15

func (s *RolePoliciesItem) GetActions() RolePoliciesItemActions

GetActions returns the value of Actions.

func (*RolePoliciesItem) GetConstraint added in v0.0.15

func (s *RolePoliciesItem) GetConstraint() jx.Raw

GetConstraint returns the value of Constraint.

func (*RolePoliciesItem) GetEffect added in v0.0.15

GetEffect returns the value of Effect.

func (*RolePoliciesItem) MarshalJSON added in v0.0.15

func (s *RolePoliciesItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RolePoliciesItem) SetActions added in v0.0.15

func (s *RolePoliciesItem) SetActions(val RolePoliciesItemActions)

SetActions sets the value of Actions.

func (*RolePoliciesItem) SetConstraint added in v0.0.15

func (s *RolePoliciesItem) SetConstraint(val jx.Raw)

SetConstraint sets the value of Constraint.

func (*RolePoliciesItem) SetEffect added in v0.0.15

func (s *RolePoliciesItem) SetEffect(val RolePoliciesItemEffect)

SetEffect sets the value of Effect.

func (*RolePoliciesItem) UnmarshalJSON added in v0.0.15

func (s *RolePoliciesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RolePoliciesItem) Validate added in v0.0.15

func (s *RolePoliciesItem) Validate() error

type RolePoliciesItemActions added in v0.0.15

type RolePoliciesItemActions struct {
	Type        RolePoliciesItemActionsType // switch on this field
	String      string
	StringArray []string
}

RolePoliciesItemActions represents sum type.

func NewStringArrayRolePoliciesItemActions added in v0.0.15

func NewStringArrayRolePoliciesItemActions(v []string) RolePoliciesItemActions

NewStringArrayRolePoliciesItemActions returns new RolePoliciesItemActions from []string.

func NewStringRolePoliciesItemActions added in v0.0.15

func NewStringRolePoliciesItemActions(v string) RolePoliciesItemActions

NewStringRolePoliciesItemActions returns new RolePoliciesItemActions from string.

func (*RolePoliciesItemActions) Decode added in v0.0.15

func (s *RolePoliciesItemActions) Decode(d *jx.Decoder) error

Decode decodes RolePoliciesItemActions from json.

func (RolePoliciesItemActions) Encode added in v0.0.15

func (s RolePoliciesItemActions) Encode(e *jx.Encoder)

Encode encodes RolePoliciesItemActions as json.

func (RolePoliciesItemActions) GetString added in v0.0.15

func (s RolePoliciesItemActions) GetString() (v string, ok bool)

GetString returns string and true boolean if RolePoliciesItemActions is string.

func (RolePoliciesItemActions) GetStringArray added in v0.0.15

func (s RolePoliciesItemActions) GetStringArray() (v []string, ok bool)

GetStringArray returns []string and true boolean if RolePoliciesItemActions is []string.

func (RolePoliciesItemActions) IsString added in v0.0.15

func (s RolePoliciesItemActions) IsString() bool

IsString reports whether RolePoliciesItemActions is string.

func (RolePoliciesItemActions) IsStringArray added in v0.0.15

func (s RolePoliciesItemActions) IsStringArray() bool

IsStringArray reports whether RolePoliciesItemActions is []string.

func (RolePoliciesItemActions) MarshalJSON added in v0.0.15

func (s RolePoliciesItemActions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RolePoliciesItemActions) SetString added in v0.0.15

func (s *RolePoliciesItemActions) SetString(v string)

SetString sets RolePoliciesItemActions to string.

func (*RolePoliciesItemActions) SetStringArray added in v0.0.15

func (s *RolePoliciesItemActions) SetStringArray(v []string)

SetStringArray sets RolePoliciesItemActions to []string.

func (*RolePoliciesItemActions) UnmarshalJSON added in v0.0.15

func (s *RolePoliciesItemActions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (RolePoliciesItemActions) Validate added in v0.0.15

func (s RolePoliciesItemActions) Validate() error

type RolePoliciesItemActionsType added in v0.0.15

type RolePoliciesItemActionsType string

RolePoliciesItemActionsType is oneOf type of RolePoliciesItemActions.

const (
	StringRolePoliciesItemActions      RolePoliciesItemActionsType = "string"
	StringArrayRolePoliciesItemActions RolePoliciesItemActionsType = "[]string"
)

Possible values for RolePoliciesItemActionsType.

type RolePoliciesItemEffect added in v0.0.15

type RolePoliciesItemEffect string
const (
	RolePoliciesItemEffectAllow RolePoliciesItemEffect = "allow"
	RolePoliciesItemEffectDeny  RolePoliciesItemEffect = "deny"
)

func (RolePoliciesItemEffect) AllValues added in v0.0.15

AllValues returns all RolePoliciesItemEffect values.

func (*RolePoliciesItemEffect) Decode added in v0.0.15

func (s *RolePoliciesItemEffect) Decode(d *jx.Decoder) error

Decode decodes RolePoliciesItemEffect from json.

func (RolePoliciesItemEffect) Encode added in v0.0.15

func (s RolePoliciesItemEffect) Encode(e *jx.Encoder)

Encode encodes RolePoliciesItemEffect as json.

func (RolePoliciesItemEffect) MarshalJSON added in v0.0.15

func (s RolePoliciesItemEffect) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RolePoliciesItemEffect) MarshalText added in v0.0.15

func (s RolePoliciesItemEffect) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RolePoliciesItemEffect) UnmarshalJSON added in v0.0.15

func (s *RolePoliciesItemEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RolePoliciesItemEffect) UnmarshalText added in v0.0.15

func (s *RolePoliciesItemEffect) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RolePoliciesItemEffect) Validate added in v0.0.15

func (s RolePoliciesItemEffect) Validate() error

type RoleSys added in v0.0.15

type RoleSys struct {
	// Merged property.
	Type      RoleSysType `json:"type"`
	Space     SpaceLink   `json:"space"`
	ID        string      `json:"id"`
	Version   int         `json:"version"`
	CreatedAt OptDateTime `json:"createdAt"`
	UpdatedAt OptDateTime `json:"updatedAt"`
}

Merged schema. Ref: #/components/schemas/RoleSys

func (*RoleSys) Decode added in v0.0.15

func (s *RoleSys) Decode(d *jx.Decoder) error

Decode decodes RoleSys from json.

func (*RoleSys) Encode added in v0.0.15

func (s *RoleSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RoleSys) GetCreatedAt added in v0.0.15

func (s *RoleSys) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*RoleSys) GetID added in v0.0.15

func (s *RoleSys) GetID() string

GetID returns the value of ID.

func (*RoleSys) GetSpace added in v0.0.18

func (s *RoleSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*RoleSys) GetType added in v0.0.15

func (s *RoleSys) GetType() RoleSysType

GetType returns the value of Type.

func (*RoleSys) GetUpdatedAt added in v0.0.15

func (s *RoleSys) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*RoleSys) GetVersion added in v0.0.15

func (s *RoleSys) GetVersion() int

GetVersion returns the value of Version.

func (*RoleSys) MarshalJSON added in v0.0.15

func (s *RoleSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RoleSys) SetCreatedAt added in v0.0.15

func (s *RoleSys) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*RoleSys) SetID added in v0.0.15

func (s *RoleSys) SetID(val string)

SetID sets the value of ID.

func (*RoleSys) SetSpace added in v0.0.18

func (s *RoleSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*RoleSys) SetType added in v0.0.15

func (s *RoleSys) SetType(val RoleSysType)

SetType sets the value of Type.

func (*RoleSys) SetUpdatedAt added in v0.0.15

func (s *RoleSys) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*RoleSys) SetVersion added in v0.0.15

func (s *RoleSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*RoleSys) UnmarshalJSON added in v0.0.15

func (s *RoleSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleSys) Validate added in v0.0.15

func (s *RoleSys) Validate() error

type RoleSysType added in v0.0.15

type RoleSysType string

Merged schema.

const (
	RoleSysTypeRole RoleSysType = "Role"
)

func (RoleSysType) AllValues added in v0.0.15

func (RoleSysType) AllValues() []RoleSysType

AllValues returns all RoleSysType values.

func (*RoleSysType) Decode added in v0.0.15

func (s *RoleSysType) Decode(d *jx.Decoder) error

Decode decodes RoleSysType from json.

func (RoleSysType) Encode added in v0.0.15

func (s RoleSysType) Encode(e *jx.Encoder)

Encode encodes RoleSysType as json.

func (RoleSysType) MarshalJSON added in v0.0.15

func (s RoleSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RoleSysType) MarshalText added in v0.0.15

func (s RoleSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RoleSysType) UnmarshalJSON added in v0.0.15

func (s *RoleSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleSysType) UnmarshalText added in v0.0.15

func (s *RoleSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RoleSysType) Validate added in v0.0.15

func (s RoleSysType) Validate() error

type SecuritySource

type SecuritySource interface {
	// AccessToken provides accessToken security value.
	AccessToken(ctx context.Context, operationName OperationName, client *Client) (AccessToken, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type SpaceEnablement added in v0.0.20

type SpaceEnablement struct {
	Sys               SpaceEnablementSys      `json:"sys"`
	CrossSpaceLinks   OptSpaceEnablementField `json:"crossSpaceLinks"`
	SpaceTemplates    OptSpaceEnablementField `json:"spaceTemplates"`
	StudioExperiences OptSpaceEnablementField `json:"studioExperiences"`
	SuggestConcepts   OptSpaceEnablementField `json:"suggestConcepts"`
}

Merged schema. Ref: #/components/schemas/SpaceEnablement

func (*SpaceEnablement) Decode added in v0.0.20

func (s *SpaceEnablement) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablement from json.

func (*SpaceEnablement) Encode added in v0.0.20

func (s *SpaceEnablement) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (s *SpaceEnablement) GetCrossSpaceLinks() OptSpaceEnablementField

GetCrossSpaceLinks returns the value of CrossSpaceLinks.

func (*SpaceEnablement) GetSpaceTemplates added in v0.0.20

func (s *SpaceEnablement) GetSpaceTemplates() OptSpaceEnablementField

GetSpaceTemplates returns the value of SpaceTemplates.

func (*SpaceEnablement) GetStudioExperiences added in v0.0.20

func (s *SpaceEnablement) GetStudioExperiences() OptSpaceEnablementField

GetStudioExperiences returns the value of StudioExperiences.

func (*SpaceEnablement) GetSuggestConcepts added in v0.0.20

func (s *SpaceEnablement) GetSuggestConcepts() OptSpaceEnablementField

GetSuggestConcepts returns the value of SuggestConcepts.

func (*SpaceEnablement) GetSys added in v0.0.20

func (s *SpaceEnablement) GetSys() SpaceEnablementSys

GetSys returns the value of Sys.

func (*SpaceEnablement) MarshalJSON added in v0.0.20

func (s *SpaceEnablement) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (s *SpaceEnablement) SetCrossSpaceLinks(val OptSpaceEnablementField)

SetCrossSpaceLinks sets the value of CrossSpaceLinks.

func (*SpaceEnablement) SetSpaceTemplates added in v0.0.20

func (s *SpaceEnablement) SetSpaceTemplates(val OptSpaceEnablementField)

SetSpaceTemplates sets the value of SpaceTemplates.

func (*SpaceEnablement) SetStudioExperiences added in v0.0.20

func (s *SpaceEnablement) SetStudioExperiences(val OptSpaceEnablementField)

SetStudioExperiences sets the value of StudioExperiences.

func (*SpaceEnablement) SetSuggestConcepts added in v0.0.20

func (s *SpaceEnablement) SetSuggestConcepts(val OptSpaceEnablementField)

SetSuggestConcepts sets the value of SuggestConcepts.

func (*SpaceEnablement) SetSys added in v0.0.20

func (s *SpaceEnablement) SetSys(val SpaceEnablementSys)

SetSys sets the value of Sys.

func (*SpaceEnablement) UnmarshalJSON added in v0.0.20

func (s *SpaceEnablement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceEnablement) Validate added in v0.0.20

func (s *SpaceEnablement) Validate() error

type SpaceEnablementField added in v0.0.20

type SpaceEnablementField struct {
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/SpaceEnablementField

func (*SpaceEnablementField) Decode added in v0.0.20

func (s *SpaceEnablementField) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementField from json.

func (*SpaceEnablementField) Encode added in v0.0.20

func (s *SpaceEnablementField) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpaceEnablementField) GetEnabled added in v0.0.20

func (s *SpaceEnablementField) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SpaceEnablementField) MarshalJSON added in v0.0.20

func (s *SpaceEnablementField) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpaceEnablementField) SetEnabled added in v0.0.20

func (s *SpaceEnablementField) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SpaceEnablementField) UnmarshalJSON added in v0.0.20

func (s *SpaceEnablementField) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpaceEnablementFields added in v0.0.20

type SpaceEnablementFields struct {
	CrossSpaceLinks   OptSpaceEnablementField `json:"crossSpaceLinks"`
	SpaceTemplates    OptSpaceEnablementField `json:"spaceTemplates"`
	StudioExperiences OptSpaceEnablementField `json:"studioExperiences"`
	SuggestConcepts   OptSpaceEnablementField `json:"suggestConcepts"`
}

Ref: #/components/schemas/SpaceEnablementFields

func (*SpaceEnablementFields) Decode added in v0.0.20

func (s *SpaceEnablementFields) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementFields from json.

func (*SpaceEnablementFields) Encode added in v0.0.20

func (s *SpaceEnablementFields) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (s *SpaceEnablementFields) GetCrossSpaceLinks() OptSpaceEnablementField

GetCrossSpaceLinks returns the value of CrossSpaceLinks.

func (*SpaceEnablementFields) GetSpaceTemplates added in v0.0.20

func (s *SpaceEnablementFields) GetSpaceTemplates() OptSpaceEnablementField

GetSpaceTemplates returns the value of SpaceTemplates.

func (*SpaceEnablementFields) GetStudioExperiences added in v0.0.20

func (s *SpaceEnablementFields) GetStudioExperiences() OptSpaceEnablementField

GetStudioExperiences returns the value of StudioExperiences.

func (*SpaceEnablementFields) GetSuggestConcepts added in v0.0.20

func (s *SpaceEnablementFields) GetSuggestConcepts() OptSpaceEnablementField

GetSuggestConcepts returns the value of SuggestConcepts.

func (*SpaceEnablementFields) MarshalJSON added in v0.0.20

func (s *SpaceEnablementFields) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (s *SpaceEnablementFields) SetCrossSpaceLinks(val OptSpaceEnablementField)

SetCrossSpaceLinks sets the value of CrossSpaceLinks.

func (*SpaceEnablementFields) SetSpaceTemplates added in v0.0.20

func (s *SpaceEnablementFields) SetSpaceTemplates(val OptSpaceEnablementField)

SetSpaceTemplates sets the value of SpaceTemplates.

func (*SpaceEnablementFields) SetStudioExperiences added in v0.0.20

func (s *SpaceEnablementFields) SetStudioExperiences(val OptSpaceEnablementField)

SetStudioExperiences sets the value of StudioExperiences.

func (*SpaceEnablementFields) SetSuggestConcepts added in v0.0.20

func (s *SpaceEnablementFields) SetSuggestConcepts(val OptSpaceEnablementField)

SetSuggestConcepts sets the value of SuggestConcepts.

func (*SpaceEnablementFields) UnmarshalJSON added in v0.0.20

func (s *SpaceEnablementFields) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpaceEnablementSys added in v0.0.20

type SpaceEnablementSys struct {
	// Merged property.
	Type      SpaceEnablementSysType `json:"type"`
	Space     SpaceLink              `json:"space"`
	Version   int                    `json:"version"`
	CreatedAt OptDateTime            `json:"createdAt"`
	UpdatedAt OptDateTime            `json:"updatedAt"`
}

Merged schema. Ref: #/components/schemas/SpaceEnablementSys

func (*SpaceEnablementSys) Decode added in v0.0.20

func (s *SpaceEnablementSys) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementSys from json.

func (*SpaceEnablementSys) Encode added in v0.0.20

func (s *SpaceEnablementSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpaceEnablementSys) GetCreatedAt added in v0.0.20

func (s *SpaceEnablementSys) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*SpaceEnablementSys) GetSpace added in v0.0.20

func (s *SpaceEnablementSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*SpaceEnablementSys) GetType added in v0.0.20

GetType returns the value of Type.

func (*SpaceEnablementSys) GetUpdatedAt added in v0.0.20

func (s *SpaceEnablementSys) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*SpaceEnablementSys) GetVersion added in v0.0.20

func (s *SpaceEnablementSys) GetVersion() int

GetVersion returns the value of Version.

func (*SpaceEnablementSys) MarshalJSON added in v0.0.20

func (s *SpaceEnablementSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpaceEnablementSys) SetCreatedAt added in v0.0.20

func (s *SpaceEnablementSys) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*SpaceEnablementSys) SetSpace added in v0.0.20

func (s *SpaceEnablementSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*SpaceEnablementSys) SetType added in v0.0.20

SetType sets the value of Type.

func (*SpaceEnablementSys) SetUpdatedAt added in v0.0.20

func (s *SpaceEnablementSys) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*SpaceEnablementSys) SetVersion added in v0.0.20

func (s *SpaceEnablementSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*SpaceEnablementSys) UnmarshalJSON added in v0.0.20

func (s *SpaceEnablementSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceEnablementSys) Validate added in v0.0.20

func (s *SpaceEnablementSys) Validate() error

type SpaceEnablementSysType added in v0.0.20

type SpaceEnablementSysType string

Merged schema.

const (
	SpaceEnablementSysTypeSpaceEnablement SpaceEnablementSysType = "SpaceEnablement"
)

func (SpaceEnablementSysType) AllValues added in v0.0.20

AllValues returns all SpaceEnablementSysType values.

func (*SpaceEnablementSysType) Decode added in v0.0.20

func (s *SpaceEnablementSysType) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementSysType from json.

func (SpaceEnablementSysType) Encode added in v0.0.20

func (s SpaceEnablementSysType) Encode(e *jx.Encoder)

Encode encodes SpaceEnablementSysType as json.

func (SpaceEnablementSysType) MarshalJSON added in v0.0.20

func (s SpaceEnablementSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpaceEnablementSysType) MarshalText added in v0.0.20

func (s SpaceEnablementSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpaceEnablementSysType) UnmarshalJSON added in v0.0.20

func (s *SpaceEnablementSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceEnablementSysType) UnmarshalText added in v0.0.20

func (s *SpaceEnablementSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpaceEnablementSysType) Validate added in v0.0.20

func (s SpaceEnablementSysType) Validate() error
type SpaceLink struct {
	Sys SpaceLinkSys `json:"sys"`
}

Ref: #/components/schemas/SpaceLink

func (*SpaceLink) Decode added in v0.0.18

func (s *SpaceLink) Decode(d *jx.Decoder) error

Decode decodes SpaceLink from json.

func (*SpaceLink) Encode added in v0.0.18

func (s *SpaceLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpaceLink) GetSys added in v0.0.18

func (s *SpaceLink) GetSys() SpaceLinkSys

GetSys returns the value of Sys.

func (*SpaceLink) MarshalJSON added in v0.0.18

func (s *SpaceLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpaceLink) SetSys added in v0.0.18

func (s *SpaceLink) SetSys(val SpaceLinkSys)

SetSys sets the value of Sys.

func (*SpaceLink) UnmarshalJSON added in v0.0.18

func (s *SpaceLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceLink) Validate added in v0.0.18

func (s *SpaceLink) Validate() error

type SpaceLinkSys added in v0.0.18

type SpaceLinkSys struct {
	// Merged property.
	Type SpaceLinkSysType `json:"type"`
	ID   string           `json:"id"`
	// Merged property.
	LinkType SpaceLinkSysLinkType `json:"linkType"`
}

Merged schema.

func (*SpaceLinkSys) Decode added in v0.0.18

func (s *SpaceLinkSys) Decode(d *jx.Decoder) error

Decode decodes SpaceLinkSys from json.

func (*SpaceLinkSys) Encode added in v0.0.18

func (s *SpaceLinkSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpaceLinkSys) GetID added in v0.0.18

func (s *SpaceLinkSys) GetID() string

GetID returns the value of ID.

func (*SpaceLinkSys) GetLinkType added in v0.0.18

func (s *SpaceLinkSys) GetLinkType() SpaceLinkSysLinkType

GetLinkType returns the value of LinkType.

func (*SpaceLinkSys) GetType added in v0.0.18

func (s *SpaceLinkSys) GetType() SpaceLinkSysType

GetType returns the value of Type.

func (*SpaceLinkSys) MarshalJSON added in v0.0.18

func (s *SpaceLinkSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpaceLinkSys) SetID added in v0.0.18

func (s *SpaceLinkSys) SetID(val string)

SetID sets the value of ID.

func (*SpaceLinkSys) SetLinkType added in v0.0.18

func (s *SpaceLinkSys) SetLinkType(val SpaceLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*SpaceLinkSys) SetType added in v0.0.18

func (s *SpaceLinkSys) SetType(val SpaceLinkSysType)

SetType sets the value of Type.

func (*SpaceLinkSys) UnmarshalJSON added in v0.0.18

func (s *SpaceLinkSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceLinkSys) Validate added in v0.0.18

func (s *SpaceLinkSys) Validate() error

type SpaceLinkSysLinkType added in v0.0.18

type SpaceLinkSysLinkType string

Merged schema.

const (
	SpaceLinkSysLinkTypeSpace SpaceLinkSysLinkType = "Space"
)

func (SpaceLinkSysLinkType) AllValues added in v0.0.18

AllValues returns all SpaceLinkSysLinkType values.

func (*SpaceLinkSysLinkType) Decode added in v0.0.18

func (s *SpaceLinkSysLinkType) Decode(d *jx.Decoder) error

Decode decodes SpaceLinkSysLinkType from json.

func (SpaceLinkSysLinkType) Encode added in v0.0.18

func (s SpaceLinkSysLinkType) Encode(e *jx.Encoder)

Encode encodes SpaceLinkSysLinkType as json.

func (SpaceLinkSysLinkType) MarshalJSON added in v0.0.18

func (s SpaceLinkSysLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpaceLinkSysLinkType) MarshalText added in v0.0.18

func (s SpaceLinkSysLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpaceLinkSysLinkType) UnmarshalJSON added in v0.0.18

func (s *SpaceLinkSysLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceLinkSysLinkType) UnmarshalText added in v0.0.18

func (s *SpaceLinkSysLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpaceLinkSysLinkType) Validate added in v0.0.18

func (s SpaceLinkSysLinkType) Validate() error

type SpaceLinkSysType added in v0.0.18

type SpaceLinkSysType string

Merged schema.

const (
	SpaceLinkSysTypeLink SpaceLinkSysType = "Link"
)

func (SpaceLinkSysType) AllValues added in v0.0.18

func (SpaceLinkSysType) AllValues() []SpaceLinkSysType

AllValues returns all SpaceLinkSysType values.

func (*SpaceLinkSysType) Decode added in v0.0.18

func (s *SpaceLinkSysType) Decode(d *jx.Decoder) error

Decode decodes SpaceLinkSysType from json.

func (SpaceLinkSysType) Encode added in v0.0.18

func (s SpaceLinkSysType) Encode(e *jx.Encoder)

Encode encodes SpaceLinkSysType as json.

func (SpaceLinkSysType) MarshalJSON added in v0.0.18

func (s SpaceLinkSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpaceLinkSysType) MarshalText added in v0.0.18

func (s SpaceLinkSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpaceLinkSysType) UnmarshalJSON added in v0.0.18

func (s *SpaceLinkSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceLinkSysType) UnmarshalText added in v0.0.18

func (s *SpaceLinkSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpaceLinkSysType) Validate added in v0.0.18

func (s SpaceLinkSysType) Validate() error

type UpdateDeliveryApiKeyParams added in v0.0.12

type UpdateDeliveryApiKeyParams struct {
	SpaceID            string
	APIKeyID           string
	XContentfulVersion int
}

UpdateDeliveryApiKeyParams is parameters of updateDeliveryApiKey operation.

type UpdateDeliveryApiKeyRes added in v0.0.12

type UpdateDeliveryApiKeyRes interface {
	// contains filtered or unexported methods
}

type UpdateRoleParams added in v0.0.15

type UpdateRoleParams struct {
	SpaceID            string
	RoleID             string
	XContentfulVersion int
}

UpdateRoleParams is parameters of updateRole operation.

type UpdateRoleRes added in v0.0.15

type UpdateRoleRes interface {
	// contains filtered or unexported methods
}

type UpdateWebhookDefinitionParams added in v0.0.17

type UpdateWebhookDefinitionParams struct {
	SpaceID             string
	WebhookDefinitionID string
	XContentfulVersion  int
}

UpdateWebhookDefinitionParams is parameters of updateWebhookDefinition operation.

type UpdateWebhookDefinitionRes added in v0.0.17

type UpdateWebhookDefinitionRes interface {
	// contains filtered or unexported methods
}

type User

type User struct {
	Sys       UserSys `json:"sys"`
	Email     string  `json:"email"`
	FirstName string  `json:"firstName"`
	LastName  string  `json:"lastName"`
}

Merged schema. Ref: #/components/schemas/User

func (*User) Decode

func (s *User) Decode(d *jx.Decoder) error

Decode decodes User from json.

func (*User) Encode

func (s *User) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*User) GetEmail

func (s *User) GetEmail() string

GetEmail returns the value of Email.

func (*User) GetFirstName

func (s *User) GetFirstName() string

GetFirstName returns the value of FirstName.

func (*User) GetLastName

func (s *User) GetLastName() string

GetLastName returns the value of LastName.

func (*User) GetSys

func (s *User) GetSys() UserSys

GetSys returns the value of Sys.

func (*User) MarshalJSON

func (s *User) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*User) SetEmail

func (s *User) SetEmail(val string)

SetEmail sets the value of Email.

func (*User) SetFirstName

func (s *User) SetFirstName(val string)

SetFirstName sets the value of FirstName.

func (*User) SetLastName

func (s *User) SetLastName(val string)

SetLastName sets the value of LastName.

func (*User) SetSys

func (s *User) SetSys(val UserSys)

SetSys sets the value of Sys.

func (*User) UnmarshalJSON

func (s *User) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*User) Validate

func (s *User) Validate() error

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) Decode

func (s *UserSys) Decode(d *jx.Decoder) error

Decode decodes UserSys from json.

func (*UserSys) Encode

func (s *UserSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserSys) GetCreatedAt

func (s *UserSys) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*UserSys) GetID

func (s *UserSys) GetID() string

GetID returns the value of ID.

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

func (s *UserSys) GetVersion() int

GetVersion returns the value of Version.

func (*UserSys) MarshalJSON

func (s *UserSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserSys) SetCreatedAt

func (s *UserSys) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*UserSys) SetID

func (s *UserSys) SetID(val string)

SetID sets the value of ID.

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

func (s *UserSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*UserSys) UnmarshalJSON

func (s *UserSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserSys) Validate

func (s *UserSys) Validate() error

type UserSysType

type UserSysType string

Merged schema.

const (
	UserSysTypeUser UserSysType = "User"
)

func (UserSysType) AllValues

func (UserSysType) AllValues() []UserSysType

AllValues returns all UserSysType values.

func (*UserSysType) Decode

func (s *UserSysType) Decode(d *jx.Decoder) error

Decode decodes UserSysType from json.

func (UserSysType) Encode

func (s UserSysType) Encode(e *jx.Encoder)

Encode encodes UserSysType as json.

func (UserSysType) MarshalJSON

func (s UserSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserSysType) MarshalText

func (s UserSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserSysType) UnmarshalJSON

func (s *UserSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserSysType) UnmarshalText

func (s *UserSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserSysType) Validate

func (s UserSysType) Validate() error

type WebhookDefinition added in v0.0.17

type WebhookDefinition struct {
	Sys               WebhookDefinitionSys                  `json:"sys"`
	Name              string                                `json:"name"`
	URL               string                                `json:"url"`
	Topics            []string                              `json:"topics"`
	Filters           OptNilWebhookDefinitionFilterArray    `json:"filters"`
	HttpBasicUsername OptNilString                          `json:"httpBasicUsername"`
	HttpBasicPassword OptNilString                          `json:"httpBasicPassword"`
	Headers           WebhookDefinitionHeaders              `json:"headers"`
	Transformation    OptNilWebhookDefinitionTransformation `json:"transformation"`
	Active            OptBool                               `json:"active"`
}

Merged schema. Ref: #/components/schemas/WebhookDefinition

func (*WebhookDefinition) Decode added in v0.0.17

func (s *WebhookDefinition) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinition from json.

func (*WebhookDefinition) Encode added in v0.0.17

func (s *WebhookDefinition) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinition) GetActive added in v0.0.17

func (s *WebhookDefinition) GetActive() OptBool

GetActive returns the value of Active.

func (*WebhookDefinition) GetFilters added in v0.0.17

GetFilters returns the value of Filters.

func (*WebhookDefinition) GetHeaders added in v0.0.17

GetHeaders returns the value of Headers.

func (*WebhookDefinition) GetHttpBasicPassword added in v0.0.17

func (s *WebhookDefinition) GetHttpBasicPassword() OptNilString

GetHttpBasicPassword returns the value of HttpBasicPassword.

func (*WebhookDefinition) GetHttpBasicUsername added in v0.0.17

func (s *WebhookDefinition) GetHttpBasicUsername() OptNilString

GetHttpBasicUsername returns the value of HttpBasicUsername.

func (*WebhookDefinition) GetName added in v0.0.17

func (s *WebhookDefinition) GetName() string

GetName returns the value of Name.

func (*WebhookDefinition) GetSys added in v0.0.17

GetSys returns the value of Sys.

func (*WebhookDefinition) GetTopics added in v0.0.17

func (s *WebhookDefinition) GetTopics() []string

GetTopics returns the value of Topics.

func (*WebhookDefinition) GetTransformation added in v0.0.17

GetTransformation returns the value of Transformation.

func (*WebhookDefinition) GetURL added in v0.0.17

func (s *WebhookDefinition) GetURL() string

GetURL returns the value of URL.

func (*WebhookDefinition) MarshalJSON added in v0.0.17

func (s *WebhookDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinition) SetActive added in v0.0.17

func (s *WebhookDefinition) SetActive(val OptBool)

SetActive sets the value of Active.

func (*WebhookDefinition) SetFilters added in v0.0.17

SetFilters sets the value of Filters.

func (*WebhookDefinition) SetHeaders added in v0.0.17

func (s *WebhookDefinition) SetHeaders(val WebhookDefinitionHeaders)

SetHeaders sets the value of Headers.

func (*WebhookDefinition) SetHttpBasicPassword added in v0.0.17

func (s *WebhookDefinition) SetHttpBasicPassword(val OptNilString)

SetHttpBasicPassword sets the value of HttpBasicPassword.

func (*WebhookDefinition) SetHttpBasicUsername added in v0.0.17

func (s *WebhookDefinition) SetHttpBasicUsername(val OptNilString)

SetHttpBasicUsername sets the value of HttpBasicUsername.

func (*WebhookDefinition) SetName added in v0.0.17

func (s *WebhookDefinition) SetName(val string)

SetName sets the value of Name.

func (*WebhookDefinition) SetSys added in v0.0.17

func (s *WebhookDefinition) SetSys(val WebhookDefinitionSys)

SetSys sets the value of Sys.

func (*WebhookDefinition) SetTopics added in v0.0.17

func (s *WebhookDefinition) SetTopics(val []string)

SetTopics sets the value of Topics.

func (*WebhookDefinition) SetTransformation added in v0.0.17

func (s *WebhookDefinition) SetTransformation(val OptNilWebhookDefinitionTransformation)

SetTransformation sets the value of Transformation.

func (*WebhookDefinition) SetURL added in v0.0.17

func (s *WebhookDefinition) SetURL(val string)

SetURL sets the value of URL.

func (*WebhookDefinition) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookDefinition) Validate added in v0.0.17

func (s *WebhookDefinition) Validate() error

type WebhookDefinitionFields added in v0.0.18

type WebhookDefinitionFields struct {
	Name              string                                      `json:"name"`
	URL               string                                      `json:"url"`
	Topics            []string                                    `json:"topics"`
	Filters           OptNilWebhookDefinitionFilterArray          `json:"filters"`
	HttpBasicUsername OptNilString                                `json:"httpBasicUsername"`
	HttpBasicPassword OptNilString                                `json:"httpBasicPassword"`
	Headers           WebhookDefinitionHeaders                    `json:"headers"`
	Transformation    OptNilWebhookDefinitionFieldsTransformation `json:"transformation"`
	Active            OptBool                                     `json:"active"`
}

Ref: #/components/schemas/WebhookDefinitionFields

func (*WebhookDefinitionFields) Decode added in v0.0.18

func (s *WebhookDefinitionFields) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionFields from json.

func (*WebhookDefinitionFields) Encode added in v0.0.18

func (s *WebhookDefinitionFields) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionFields) GetActive added in v0.0.18

func (s *WebhookDefinitionFields) GetActive() OptBool

GetActive returns the value of Active.

func (*WebhookDefinitionFields) GetFilters added in v0.0.18

GetFilters returns the value of Filters.

func (*WebhookDefinitionFields) GetHeaders added in v0.0.18

GetHeaders returns the value of Headers.

func (*WebhookDefinitionFields) GetHttpBasicPassword added in v0.0.18

func (s *WebhookDefinitionFields) GetHttpBasicPassword() OptNilString

GetHttpBasicPassword returns the value of HttpBasicPassword.

func (*WebhookDefinitionFields) GetHttpBasicUsername added in v0.0.18

func (s *WebhookDefinitionFields) GetHttpBasicUsername() OptNilString

GetHttpBasicUsername returns the value of HttpBasicUsername.

func (*WebhookDefinitionFields) GetName added in v0.0.18

func (s *WebhookDefinitionFields) GetName() string

GetName returns the value of Name.

func (*WebhookDefinitionFields) GetTopics added in v0.0.18

func (s *WebhookDefinitionFields) GetTopics() []string

GetTopics returns the value of Topics.

func (*WebhookDefinitionFields) GetTransformation added in v0.0.18

GetTransformation returns the value of Transformation.

func (*WebhookDefinitionFields) GetURL added in v0.0.18

func (s *WebhookDefinitionFields) GetURL() string

GetURL returns the value of URL.

func (*WebhookDefinitionFields) MarshalJSON added in v0.0.18

func (s *WebhookDefinitionFields) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionFields) SetActive added in v0.0.18

func (s *WebhookDefinitionFields) SetActive(val OptBool)

SetActive sets the value of Active.

func (*WebhookDefinitionFields) SetFilters added in v0.0.18

SetFilters sets the value of Filters.

func (*WebhookDefinitionFields) SetHeaders added in v0.0.18

SetHeaders sets the value of Headers.

func (*WebhookDefinitionFields) SetHttpBasicPassword added in v0.0.18

func (s *WebhookDefinitionFields) SetHttpBasicPassword(val OptNilString)

SetHttpBasicPassword sets the value of HttpBasicPassword.

func (*WebhookDefinitionFields) SetHttpBasicUsername added in v0.0.18

func (s *WebhookDefinitionFields) SetHttpBasicUsername(val OptNilString)

SetHttpBasicUsername sets the value of HttpBasicUsername.

func (*WebhookDefinitionFields) SetName added in v0.0.18

func (s *WebhookDefinitionFields) SetName(val string)

SetName sets the value of Name.

func (*WebhookDefinitionFields) SetTopics added in v0.0.18

func (s *WebhookDefinitionFields) SetTopics(val []string)

SetTopics sets the value of Topics.

func (*WebhookDefinitionFields) SetTransformation added in v0.0.18

SetTransformation sets the value of Transformation.

func (*WebhookDefinitionFields) SetURL added in v0.0.18

func (s *WebhookDefinitionFields) SetURL(val string)

SetURL sets the value of URL.

func (*WebhookDefinitionFields) UnmarshalJSON added in v0.0.18

func (s *WebhookDefinitionFields) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookDefinitionFields) Validate added in v0.0.18

func (s *WebhookDefinitionFields) Validate() error

type WebhookDefinitionFieldsTransformation added in v0.0.18

type WebhookDefinitionFieldsTransformation struct {
	Method               OptString `json:"method"`
	ContentType          OptString `json:"contentType"`
	IncludeContentLength OptBool   `json:"includeContentLength"`
	Body                 jx.Raw    `json:"body"`
}

func (*WebhookDefinitionFieldsTransformation) Decode added in v0.0.18

Decode decodes WebhookDefinitionFieldsTransformation from json.

func (*WebhookDefinitionFieldsTransformation) Encode added in v0.0.18

Encode implements json.Marshaler.

func (*WebhookDefinitionFieldsTransformation) GetBody added in v0.0.18

GetBody returns the value of Body.

func (*WebhookDefinitionFieldsTransformation) GetContentType added in v0.0.18

GetContentType returns the value of ContentType.

func (*WebhookDefinitionFieldsTransformation) GetIncludeContentLength added in v0.0.18

func (s *WebhookDefinitionFieldsTransformation) GetIncludeContentLength() OptBool

GetIncludeContentLength returns the value of IncludeContentLength.

func (*WebhookDefinitionFieldsTransformation) GetMethod added in v0.0.18

GetMethod returns the value of Method.

func (*WebhookDefinitionFieldsTransformation) MarshalJSON added in v0.0.18

func (s *WebhookDefinitionFieldsTransformation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionFieldsTransformation) SetBody added in v0.0.18

SetBody sets the value of Body.

func (*WebhookDefinitionFieldsTransformation) SetContentType added in v0.0.18

func (s *WebhookDefinitionFieldsTransformation) SetContentType(val OptString)

SetContentType sets the value of ContentType.

func (*WebhookDefinitionFieldsTransformation) SetIncludeContentLength added in v0.0.18

func (s *WebhookDefinitionFieldsTransformation) SetIncludeContentLength(val OptBool)

SetIncludeContentLength sets the value of IncludeContentLength.

func (*WebhookDefinitionFieldsTransformation) SetMethod added in v0.0.18

SetMethod sets the value of Method.

func (*WebhookDefinitionFieldsTransformation) UnmarshalJSON added in v0.0.18

func (s *WebhookDefinitionFieldsTransformation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionFilter added in v0.0.17

type WebhookDefinitionFilter struct {
	Not    OptWebhookDefinitionFilterNot `json:"not"`
	Equals WebhookDefinitionFilterEquals `json:"equals"`
	In     WebhookDefinitionFilterIn     `json:"in"`
	Regexp WebhookDefinitionFilterRegexp `json:"regexp"`
}

Ref: #/components/schemas/WebhookDefinitionFilter

func (*WebhookDefinitionFilter) Decode added in v0.0.17

func (s *WebhookDefinitionFilter) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionFilter from json.

func (*WebhookDefinitionFilter) Encode added in v0.0.17

func (s *WebhookDefinitionFilter) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionFilter) GetEquals added in v0.0.17

GetEquals returns the value of Equals.

func (*WebhookDefinitionFilter) GetIn added in v0.0.17

GetIn returns the value of In.

func (*WebhookDefinitionFilter) GetNot added in v0.0.17

GetNot returns the value of Not.

func (*WebhookDefinitionFilter) GetRegexp added in v0.0.17

GetRegexp returns the value of Regexp.

func (*WebhookDefinitionFilter) MarshalJSON added in v0.0.17

func (s *WebhookDefinitionFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionFilter) SetEquals added in v0.0.17

SetEquals sets the value of Equals.

func (*WebhookDefinitionFilter) SetIn added in v0.0.17

SetIn sets the value of In.

func (*WebhookDefinitionFilter) SetNot added in v0.0.17

SetNot sets the value of Not.

func (*WebhookDefinitionFilter) SetRegexp added in v0.0.17

SetRegexp sets the value of Regexp.

func (*WebhookDefinitionFilter) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionFilterEquals added in v0.0.17

type WebhookDefinitionFilterEquals []jx.Raw

func (*WebhookDefinitionFilterEquals) Decode added in v0.0.17

Decode decodes WebhookDefinitionFilterEquals from json.

func (WebhookDefinitionFilterEquals) Encode added in v0.0.17

Encode encodes WebhookDefinitionFilterEquals as json.

func (WebhookDefinitionFilterEquals) MarshalJSON added in v0.0.17

func (s WebhookDefinitionFilterEquals) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionFilterEquals) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionFilterEquals) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionFilterIn added in v0.0.17

type WebhookDefinitionFilterIn []jx.Raw

func (*WebhookDefinitionFilterIn) Decode added in v0.0.17

func (s *WebhookDefinitionFilterIn) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionFilterIn from json.

func (WebhookDefinitionFilterIn) Encode added in v0.0.17

func (s WebhookDefinitionFilterIn) Encode(e *jx.Encoder)

Encode encodes WebhookDefinitionFilterIn as json.

func (WebhookDefinitionFilterIn) MarshalJSON added in v0.0.17

func (s WebhookDefinitionFilterIn) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionFilterIn) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionFilterIn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionFilterNot added in v0.0.17

type WebhookDefinitionFilterNot struct {
	Equals WebhookDefinitionFilterEquals `json:"equals"`
	In     WebhookDefinitionFilterIn     `json:"in"`
	Regexp WebhookDefinitionFilterRegexp `json:"regexp"`
}

Ref: #/components/schemas/WebhookDefinitionFilterNot

func (*WebhookDefinitionFilterNot) Decode added in v0.0.17

Decode decodes WebhookDefinitionFilterNot from json.

func (*WebhookDefinitionFilterNot) Encode added in v0.0.17

func (s *WebhookDefinitionFilterNot) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionFilterNot) GetEquals added in v0.0.17

GetEquals returns the value of Equals.

func (*WebhookDefinitionFilterNot) GetIn added in v0.0.17

GetIn returns the value of In.

func (*WebhookDefinitionFilterNot) GetRegexp added in v0.0.17

GetRegexp returns the value of Regexp.

func (*WebhookDefinitionFilterNot) MarshalJSON added in v0.0.17

func (s *WebhookDefinitionFilterNot) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionFilterNot) SetEquals added in v0.0.17

SetEquals sets the value of Equals.

func (*WebhookDefinitionFilterNot) SetIn added in v0.0.17

SetIn sets the value of In.

func (*WebhookDefinitionFilterNot) SetRegexp added in v0.0.17

SetRegexp sets the value of Regexp.

func (*WebhookDefinitionFilterNot) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionFilterNot) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionFilterRegexp added in v0.0.17

type WebhookDefinitionFilterRegexp []jx.Raw

func (*WebhookDefinitionFilterRegexp) Decode added in v0.0.17

Decode decodes WebhookDefinitionFilterRegexp from json.

func (WebhookDefinitionFilterRegexp) Encode added in v0.0.17

Encode encodes WebhookDefinitionFilterRegexp as json.

func (WebhookDefinitionFilterRegexp) MarshalJSON added in v0.0.17

func (s WebhookDefinitionFilterRegexp) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionFilterRegexp) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionFilterRegexp) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionHeader added in v0.0.17

type WebhookDefinitionHeader struct {
	Key    string    `json:"key"`
	Value  OptString `json:"value"`
	Secret OptBool   `json:"secret"`
}

Ref: #/components/schemas/WebhookDefinitionHeader

func (*WebhookDefinitionHeader) Decode added in v0.0.17

func (s *WebhookDefinitionHeader) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionHeader from json.

func (*WebhookDefinitionHeader) Encode added in v0.0.17

func (s *WebhookDefinitionHeader) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionHeader) GetKey added in v0.0.17

func (s *WebhookDefinitionHeader) GetKey() string

GetKey returns the value of Key.

func (*WebhookDefinitionHeader) GetSecret added in v0.0.17

func (s *WebhookDefinitionHeader) GetSecret() OptBool

GetSecret returns the value of Secret.

func (*WebhookDefinitionHeader) GetValue added in v0.0.17

func (s *WebhookDefinitionHeader) GetValue() OptString

GetValue returns the value of Value.

func (*WebhookDefinitionHeader) MarshalJSON added in v0.0.17

func (s *WebhookDefinitionHeader) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionHeader) SetKey added in v0.0.17

func (s *WebhookDefinitionHeader) SetKey(val string)

SetKey sets the value of Key.

func (*WebhookDefinitionHeader) SetSecret added in v0.0.17

func (s *WebhookDefinitionHeader) SetSecret(val OptBool)

SetSecret sets the value of Secret.

func (*WebhookDefinitionHeader) SetValue added in v0.0.17

func (s *WebhookDefinitionHeader) SetValue(val OptString)

SetValue sets the value of Value.

func (*WebhookDefinitionHeader) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionHeader) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionHeaders added in v0.0.17

type WebhookDefinitionHeaders []WebhookDefinitionHeader

func (*WebhookDefinitionHeaders) Decode added in v0.0.17

func (s *WebhookDefinitionHeaders) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionHeaders from json.

func (WebhookDefinitionHeaders) Encode added in v0.0.17

func (s WebhookDefinitionHeaders) Encode(e *jx.Encoder)

Encode encodes WebhookDefinitionHeaders as json.

func (WebhookDefinitionHeaders) MarshalJSON added in v0.0.17

func (s WebhookDefinitionHeaders) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionHeaders) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionHeaders) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionSys added in v0.0.17

type WebhookDefinitionSys struct {
	// Merged property.
	Type      WebhookDefinitionSysType `json:"type"`
	Space     SpaceLink                `json:"space"`
	ID        string                   `json:"id"`
	Version   int                      `json:"version"`
	CreatedAt OptDateTime              `json:"createdAt"`
	UpdatedAt OptDateTime              `json:"updatedAt"`
}

Merged schema. Ref: #/components/schemas/WebhookDefinitionSys

func (*WebhookDefinitionSys) Decode added in v0.0.17

func (s *WebhookDefinitionSys) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionSys from json.

func (*WebhookDefinitionSys) Encode added in v0.0.17

func (s *WebhookDefinitionSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionSys) GetCreatedAt added in v0.0.17

func (s *WebhookDefinitionSys) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*WebhookDefinitionSys) GetID added in v0.0.17

func (s *WebhookDefinitionSys) GetID() string

GetID returns the value of ID.

func (*WebhookDefinitionSys) GetSpace added in v0.0.18

func (s *WebhookDefinitionSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*WebhookDefinitionSys) GetType added in v0.0.17

GetType returns the value of Type.

func (*WebhookDefinitionSys) GetUpdatedAt added in v0.0.17

func (s *WebhookDefinitionSys) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*WebhookDefinitionSys) GetVersion added in v0.0.17

func (s *WebhookDefinitionSys) GetVersion() int

GetVersion returns the value of Version.

func (*WebhookDefinitionSys) MarshalJSON added in v0.0.17

func (s *WebhookDefinitionSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionSys) SetCreatedAt added in v0.0.17

func (s *WebhookDefinitionSys) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*WebhookDefinitionSys) SetID added in v0.0.17

func (s *WebhookDefinitionSys) SetID(val string)

SetID sets the value of ID.

func (*WebhookDefinitionSys) SetSpace added in v0.0.18

func (s *WebhookDefinitionSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*WebhookDefinitionSys) SetType added in v0.0.17

SetType sets the value of Type.

func (*WebhookDefinitionSys) SetUpdatedAt added in v0.0.17

func (s *WebhookDefinitionSys) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*WebhookDefinitionSys) SetVersion added in v0.0.17

func (s *WebhookDefinitionSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*WebhookDefinitionSys) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookDefinitionSys) Validate added in v0.0.17

func (s *WebhookDefinitionSys) Validate() error

type WebhookDefinitionSysType added in v0.0.17

type WebhookDefinitionSysType string

Merged schema.

const (
	WebhookDefinitionSysTypeWebhookDefinition WebhookDefinitionSysType = "WebhookDefinition"
)

func (WebhookDefinitionSysType) AllValues added in v0.0.17

AllValues returns all WebhookDefinitionSysType values.

func (*WebhookDefinitionSysType) Decode added in v0.0.17

func (s *WebhookDefinitionSysType) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionSysType from json.

func (WebhookDefinitionSysType) Encode added in v0.0.17

func (s WebhookDefinitionSysType) Encode(e *jx.Encoder)

Encode encodes WebhookDefinitionSysType as json.

func (WebhookDefinitionSysType) MarshalJSON added in v0.0.17

func (s WebhookDefinitionSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebhookDefinitionSysType) MarshalText added in v0.0.17

func (s WebhookDefinitionSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebhookDefinitionSysType) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookDefinitionSysType) UnmarshalText added in v0.0.17

func (s *WebhookDefinitionSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebhookDefinitionSysType) Validate added in v0.0.17

func (s WebhookDefinitionSysType) Validate() error

type WebhookDefinitionTransformation added in v0.0.17

type WebhookDefinitionTransformation struct {
	Method               OptString `json:"method"`
	ContentType          OptString `json:"contentType"`
	IncludeContentLength OptBool   `json:"includeContentLength"`
	Body                 jx.Raw    `json:"body"`
}

func (*WebhookDefinitionTransformation) Decode added in v0.0.17

Decode decodes WebhookDefinitionTransformation from json.

func (*WebhookDefinitionTransformation) Encode added in v0.0.17

Encode implements json.Marshaler.

func (*WebhookDefinitionTransformation) GetBody added in v0.0.17

func (s *WebhookDefinitionTransformation) GetBody() jx.Raw

GetBody returns the value of Body.

func (*WebhookDefinitionTransformation) GetContentType added in v0.0.17

func (s *WebhookDefinitionTransformation) GetContentType() OptString

GetContentType returns the value of ContentType.

func (*WebhookDefinitionTransformation) GetIncludeContentLength added in v0.0.17

func (s *WebhookDefinitionTransformation) GetIncludeContentLength() OptBool

GetIncludeContentLength returns the value of IncludeContentLength.

func (*WebhookDefinitionTransformation) GetMethod added in v0.0.17

GetMethod returns the value of Method.

func (*WebhookDefinitionTransformation) MarshalJSON added in v0.0.17

func (s *WebhookDefinitionTransformation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionTransformation) SetBody added in v0.0.17

func (s *WebhookDefinitionTransformation) SetBody(val jx.Raw)

SetBody sets the value of Body.

func (*WebhookDefinitionTransformation) SetContentType added in v0.0.17

func (s *WebhookDefinitionTransformation) SetContentType(val OptString)

SetContentType sets the value of ContentType.

func (*WebhookDefinitionTransformation) SetIncludeContentLength added in v0.0.17

func (s *WebhookDefinitionTransformation) SetIncludeContentLength(val OptBool)

SetIncludeContentLength sets the value of IncludeContentLength.

func (*WebhookDefinitionTransformation) SetMethod added in v0.0.17

func (s *WebhookDefinitionTransformation) SetMethod(val OptString)

SetMethod sets the value of Method.

func (*WebhookDefinitionTransformation) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionTransformation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL