contentfulmanagement

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MPL-2.0 Imports: 20 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"
	ErrorSysIDVersionMismatch = "VersionMismatch"
)

Variables

This section is empty.

Functions

func NewClientWithUserAgent added in v0.0.5

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

Types

type AccessToken

type AccessToken struct {
	Token string
	Roles []string
}

func (*AccessToken) GetRoles added in v0.0.24

func (s *AccessToken) GetRoles() []string

GetRoles returns the value of Roles.

func (*AccessToken) GetToken

func (s *AccessToken) GetToken() string

GetToken returns the value of Token.

func (*AccessToken) SetRoles added in v0.0.24

func (s *AccessToken) SetRoles(val []string)

SetRoles sets the value of Roles.

func (*AccessToken) SetToken

func (s *AccessToken) SetToken(val string)

SetToken sets the value of Token.

type AccessTokenSecuritySource

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

func NewAccessTokenSecuritySource

func NewAccessTokenSecuritySource(accessToken string) AccessTokenSecuritySource

func (AccessTokenSecuritySource) AccessToken

type ActivateContentTypeParams added in v0.0.5

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

ActivateContentTypeParams is parameters of activateContentType operation.

type ActivateContentTypeRes added in v0.0.5

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

type ApiKey added in v0.0.10

type ApiKey struct {
	Sys           ApiKeySys            `json:"sys"`
	Name          string               `json:"name"`
	Description   OptNilString         `json:"description"`
	Environments  []EnvironmentLink    `json:"environments"`
	AccessToken   string               `json:"accessToken"`
	PreviewAPIKey OptPreviewAPIKeyLink `json:"preview_api_key"`
}

Merged schema. Ref: #/ApiKey

func (*ApiKey) 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() OptPreviewAPIKeyLink

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

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 ApiKeyRequestData added in v0.0.42

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

Ref: #/ApiKeyRequestData

func (*ApiKeyRequestData) Decode added in v0.0.42

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

Decode decodes ApiKeyRequestData from json.

func (*ApiKeyRequestData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*ApiKeyRequestData) GetDescription added in v0.0.42

func (s *ApiKeyRequestData) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ApiKeyRequestData) GetEnvironments added in v0.0.42

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

GetEnvironments returns the value of Environments.

func (*ApiKeyRequestData) GetName added in v0.0.42

func (s *ApiKeyRequestData) GetName() string

GetName returns the value of Name.

func (*ApiKeyRequestData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*ApiKeyRequestData) SetDescription added in v0.0.42

func (s *ApiKeyRequestData) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ApiKeyRequestData) SetEnvironments added in v0.0.42

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

SetEnvironments sets the value of Environments.

func (*ApiKeyRequestData) SetName added in v0.0.42

func (s *ApiKeyRequestData) SetName(val string)

SetName sets the value of Name.

func (*ApiKeyRequestData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ApiKeyRequestData) Validate added in v0.0.42

func (s *ApiKeyRequestData) Validate() error

type ApiKeyStatusCode added in v0.0.24

type ApiKeyStatusCode struct {
	StatusCode int
	Response   ApiKey
}

ApiKeyStatusCode wraps ApiKey with StatusCode.

func (*ApiKeyStatusCode) GetResponse added in v0.0.24

func (s *ApiKeyStatusCode) GetResponse() ApiKey

GetResponse returns the value of Response.

func (*ApiKeyStatusCode) GetStatusCode added in v0.0.24

func (s *ApiKeyStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*ApiKeyStatusCode) SetResponse added in v0.0.24

func (s *ApiKeyStatusCode) SetResponse(val ApiKey)

SetResponse sets the value of Response.

func (*ApiKeyStatusCode) SetStatusCode added in v0.0.24

func (s *ApiKeyStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*ApiKeyStatusCode) Validate added in v0.0.24

func (s *ApiKeyStatusCode) Validate() error

type ApiKeySys added in v0.0.10

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

Merged schema. Ref: #/ApiKeySys

func NewAPIKeySys added in v0.0.43

func NewAPIKeySys(spaceID string, apiKeyID string) 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) 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) 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) 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) 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 AppBundleLink struct {
	Sys AppBundleLinkSys `json:"sys"`
}

Ref: #/AppBundleLink

func NewAppBundleLink(id string) AppBundleLink

func (*AppBundleLink) Decode added in v0.0.27

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

Decode decodes AppBundleLink from json.

func (*AppBundleLink) Encode added in v0.0.27

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

Encode implements json.Marshaler.

func (*AppBundleLink) GetSys added in v0.0.27

func (s *AppBundleLink) GetSys() AppBundleLinkSys

GetSys returns the value of Sys.

func (*AppBundleLink) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppBundleLink) SetSys added in v0.0.27

func (s *AppBundleLink) SetSys(val AppBundleLinkSys)

SetSys sets the value of Sys.

func (*AppBundleLink) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppBundleLink) Validate added in v0.0.27

func (s *AppBundleLink) Validate() error

type AppBundleLinkSys added in v0.0.27

type AppBundleLinkSys struct {
	// Merged property.
	Type AppBundleLinkSysType `json:"type"`
	ID   string               `json:"id"`
	// Merged property.
	LinkType AppBundleLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewAppBundleLinkSys added in v0.0.43

func NewAppBundleLinkSys(id string) AppBundleLinkSys

func (*AppBundleLinkSys) Decode added in v0.0.27

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

Decode decodes AppBundleLinkSys from json.

func (*AppBundleLinkSys) Encode added in v0.0.27

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

Encode implements json.Marshaler.

func (*AppBundleLinkSys) GetID added in v0.0.27

func (s *AppBundleLinkSys) GetID() string

GetID returns the value of ID.

func (*AppBundleLinkSys) GetLinkType added in v0.0.27

func (s *AppBundleLinkSys) GetLinkType() AppBundleLinkSysLinkType

GetLinkType returns the value of LinkType.

func (*AppBundleLinkSys) GetType added in v0.0.27

GetType returns the value of Type.

func (*AppBundleLinkSys) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppBundleLinkSys) SetID added in v0.0.27

func (s *AppBundleLinkSys) SetID(val string)

SetID sets the value of ID.

func (*AppBundleLinkSys) SetLinkType added in v0.0.27

func (s *AppBundleLinkSys) SetLinkType(val AppBundleLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*AppBundleLinkSys) SetType added in v0.0.27

func (s *AppBundleLinkSys) SetType(val AppBundleLinkSysType)

SetType sets the value of Type.

func (*AppBundleLinkSys) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppBundleLinkSys) Validate added in v0.0.27

func (s *AppBundleLinkSys) Validate() error

type AppBundleLinkSysLinkType added in v0.0.27

type AppBundleLinkSysLinkType string

Merged schema.

const (
	AppBundleLinkSysLinkTypeAppBundle AppBundleLinkSysLinkType = "AppBundle"
)

func (AppBundleLinkSysLinkType) AllValues added in v0.0.27

AllValues returns all AppBundleLinkSysLinkType values.

func (*AppBundleLinkSysLinkType) Decode added in v0.0.27

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

Decode decodes AppBundleLinkSysLinkType from json.

func (AppBundleLinkSysLinkType) Encode added in v0.0.27

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

Encode encodes AppBundleLinkSysLinkType as json.

func (AppBundleLinkSysLinkType) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (AppBundleLinkSysLinkType) MarshalText added in v0.0.27

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

MarshalText implements encoding.TextMarshaler.

func (*AppBundleLinkSysLinkType) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppBundleLinkSysLinkType) UnmarshalText added in v0.0.27

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AppBundleLinkSysLinkType) Validate added in v0.0.27

func (s AppBundleLinkSysLinkType) Validate() error

type AppBundleLinkSysType added in v0.0.27

type AppBundleLinkSysType string

Merged schema.

const (
	AppBundleLinkSysTypeLink AppBundleLinkSysType = "Link"
)

func (AppBundleLinkSysType) AllValues added in v0.0.27

AllValues returns all AppBundleLinkSysType values.

func (*AppBundleLinkSysType) Decode added in v0.0.27

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

Decode decodes AppBundleLinkSysType from json.

func (AppBundleLinkSysType) Encode added in v0.0.27

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

Encode encodes AppBundleLinkSysType as json.

func (AppBundleLinkSysType) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (AppBundleLinkSysType) MarshalText added in v0.0.27

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

MarshalText implements encoding.TextMarshaler.

func (*AppBundleLinkSysType) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppBundleLinkSysType) UnmarshalText added in v0.0.27

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AppBundleLinkSysType) Validate added in v0.0.27

func (s AppBundleLinkSysType) Validate() error

type AppDefinition added in v0.0.27

type AppDefinition struct {
	Sys        AppDefinitionSys             `json:"sys"`
	Name       string                       `json:"name"`
	Src        OptString                    `json:"src"`
	Bundle     OptAppBundleLink             `json:"bundle"`
	Locations  []AppDefinitionLocationsItem `json:"locations"`
	Parameters OptAppDefinitionParameters   `json:"parameters"`
}

Merged schema. Ref: #/AppDefinition

func (*AppDefinition) Decode added in v0.0.27

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

Decode decodes AppDefinition from json.

func (*AppDefinition) Encode added in v0.0.27

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

Encode implements json.Marshaler.

func (*AppDefinition) GetBundle added in v0.0.27

func (s *AppDefinition) GetBundle() OptAppBundleLink

GetBundle returns the value of Bundle.

func (*AppDefinition) GetLocations added in v0.0.27

func (s *AppDefinition) GetLocations() []AppDefinitionLocationsItem

GetLocations returns the value of Locations.

func (*AppDefinition) GetName added in v0.0.27

func (s *AppDefinition) GetName() string

GetName returns the value of Name.

func (*AppDefinition) GetParameters added in v0.0.27

func (s *AppDefinition) GetParameters() OptAppDefinitionParameters

GetParameters returns the value of Parameters.

func (*AppDefinition) GetSrc added in v0.0.27

func (s *AppDefinition) GetSrc() OptString

GetSrc returns the value of Src.

func (*AppDefinition) GetSys added in v0.0.27

func (s *AppDefinition) GetSys() AppDefinitionSys

GetSys returns the value of Sys.

func (*AppDefinition) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinition) SetBundle added in v0.0.27

func (s *AppDefinition) SetBundle(val OptAppBundleLink)

SetBundle sets the value of Bundle.

func (*AppDefinition) SetLocations added in v0.0.27

func (s *AppDefinition) SetLocations(val []AppDefinitionLocationsItem)

SetLocations sets the value of Locations.

func (*AppDefinition) SetName added in v0.0.27

func (s *AppDefinition) SetName(val string)

SetName sets the value of Name.

func (*AppDefinition) SetParameters added in v0.0.27

func (s *AppDefinition) SetParameters(val OptAppDefinitionParameters)

SetParameters sets the value of Parameters.

func (*AppDefinition) SetSrc added in v0.0.27

func (s *AppDefinition) SetSrc(val OptString)

SetSrc sets the value of Src.

func (*AppDefinition) SetSys added in v0.0.27

func (s *AppDefinition) SetSys(val AppDefinitionSys)

SetSys sets the value of Sys.

func (*AppDefinition) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinition) Validate added in v0.0.27

func (s *AppDefinition) Validate() error

type AppDefinitionData added in v0.0.42

type AppDefinitionData struct {
	Name       string                           `json:"name"`
	Src        OptString                        `json:"src"`
	Bundle     OptAppBundleLink                 `json:"bundle"`
	Locations  []AppDefinitionDataLocationsItem `json:"locations"`
	Parameters OptAppDefinitionParameters       `json:"parameters"`
}

Ref: #/AppDefinitionData

func (*AppDefinitionData) Decode added in v0.0.42

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

Decode decodes AppDefinitionData from json.

func (*AppDefinitionData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*AppDefinitionData) GetBundle added in v0.0.42

func (s *AppDefinitionData) GetBundle() OptAppBundleLink

GetBundle returns the value of Bundle.

func (*AppDefinitionData) GetLocations added in v0.0.42

GetLocations returns the value of Locations.

func (*AppDefinitionData) GetName added in v0.0.42

func (s *AppDefinitionData) GetName() string

GetName returns the value of Name.

func (*AppDefinitionData) GetParameters added in v0.0.42

func (s *AppDefinitionData) GetParameters() OptAppDefinitionParameters

GetParameters returns the value of Parameters.

func (*AppDefinitionData) GetSrc added in v0.0.42

func (s *AppDefinitionData) GetSrc() OptString

GetSrc returns the value of Src.

func (*AppDefinitionData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionData) SetBundle added in v0.0.42

func (s *AppDefinitionData) SetBundle(val OptAppBundleLink)

SetBundle sets the value of Bundle.

func (*AppDefinitionData) SetLocations added in v0.0.42

func (s *AppDefinitionData) SetLocations(val []AppDefinitionDataLocationsItem)

SetLocations sets the value of Locations.

func (*AppDefinitionData) SetName added in v0.0.42

func (s *AppDefinitionData) SetName(val string)

SetName sets the value of Name.

func (*AppDefinitionData) SetParameters added in v0.0.42

func (s *AppDefinitionData) SetParameters(val OptAppDefinitionParameters)

SetParameters sets the value of Parameters.

func (*AppDefinitionData) SetSrc added in v0.0.42

func (s *AppDefinitionData) SetSrc(val OptString)

SetSrc sets the value of Src.

func (*AppDefinitionData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinitionData) Validate added in v0.0.42

func (s *AppDefinitionData) Validate() error

type AppDefinitionDataLocationsItem added in v0.0.42

type AppDefinitionDataLocationsItem struct {
	Location       string                                          `json:"location"`
	FieldTypes     []AppDefinitionDataLocationsItemFieldTypesItem  `json:"fieldTypes"`
	NavigationItem OptAppDefinitionDataLocationsItemNavigationItem `json:"navigationItem"`
}

func (*AppDefinitionDataLocationsItem) Decode added in v0.0.42

Decode decodes AppDefinitionDataLocationsItem from json.

func (*AppDefinitionDataLocationsItem) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*AppDefinitionDataLocationsItem) GetFieldTypes added in v0.0.42

GetFieldTypes returns the value of FieldTypes.

func (*AppDefinitionDataLocationsItem) GetLocation added in v0.0.42

func (s *AppDefinitionDataLocationsItem) GetLocation() string

GetLocation returns the value of Location.

func (*AppDefinitionDataLocationsItem) GetNavigationItem added in v0.0.42

GetNavigationItem returns the value of NavigationItem.

func (*AppDefinitionDataLocationsItem) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionDataLocationsItem) SetFieldTypes added in v0.0.42

SetFieldTypes sets the value of FieldTypes.

func (*AppDefinitionDataLocationsItem) SetLocation added in v0.0.42

func (s *AppDefinitionDataLocationsItem) SetLocation(val string)

SetLocation sets the value of Location.

func (*AppDefinitionDataLocationsItem) SetNavigationItem added in v0.0.42

SetNavigationItem sets the value of NavigationItem.

func (*AppDefinitionDataLocationsItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionDataLocationsItemFieldTypesItem added in v0.0.42

type AppDefinitionDataLocationsItemFieldTypesItem struct {
	Type     string                                               `json:"type"`
	LinkType OptString                                            `json:"linkType"`
	Items    OptAppDefinitionDataLocationsItemFieldTypesItemItems `json:"items"`
}

func (*AppDefinitionDataLocationsItemFieldTypesItem) Decode added in v0.0.42

Decode decodes AppDefinitionDataLocationsItemFieldTypesItem from json.

func (*AppDefinitionDataLocationsItemFieldTypesItem) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*AppDefinitionDataLocationsItemFieldTypesItem) GetItems added in v0.0.42

GetItems returns the value of Items.

func (*AppDefinitionDataLocationsItemFieldTypesItem) GetLinkType added in v0.0.42

GetLinkType returns the value of LinkType.

func (*AppDefinitionDataLocationsItemFieldTypesItem) GetType added in v0.0.42

GetType returns the value of Type.

func (*AppDefinitionDataLocationsItemFieldTypesItem) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionDataLocationsItemFieldTypesItem) SetItems added in v0.0.42

SetItems sets the value of Items.

func (*AppDefinitionDataLocationsItemFieldTypesItem) SetLinkType added in v0.0.42

SetLinkType sets the value of LinkType.

func (*AppDefinitionDataLocationsItemFieldTypesItem) SetType added in v0.0.42

SetType sets the value of Type.

func (*AppDefinitionDataLocationsItemFieldTypesItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionDataLocationsItemFieldTypesItemItems added in v0.0.42

type AppDefinitionDataLocationsItemFieldTypesItemItems struct {
	Type     string    `json:"type"`
	LinkType OptString `json:"linkType"`
}

func (*AppDefinitionDataLocationsItemFieldTypesItemItems) Decode added in v0.0.42

Decode decodes AppDefinitionDataLocationsItemFieldTypesItemItems from json.

func (*AppDefinitionDataLocationsItemFieldTypesItemItems) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*AppDefinitionDataLocationsItemFieldTypesItemItems) GetLinkType added in v0.0.42

GetLinkType returns the value of LinkType.

func (*AppDefinitionDataLocationsItemFieldTypesItemItems) GetType added in v0.0.42

GetType returns the value of Type.

func (*AppDefinitionDataLocationsItemFieldTypesItemItems) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionDataLocationsItemFieldTypesItemItems) SetLinkType added in v0.0.42

SetLinkType sets the value of LinkType.

func (*AppDefinitionDataLocationsItemFieldTypesItemItems) SetType added in v0.0.42

SetType sets the value of Type.

func (*AppDefinitionDataLocationsItemFieldTypesItemItems) UnmarshalJSON added in v0.0.42

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionDataLocationsItemNavigationItem added in v0.0.42

type AppDefinitionDataLocationsItemNavigationItem struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

func (*AppDefinitionDataLocationsItemNavigationItem) Decode added in v0.0.42

Decode decodes AppDefinitionDataLocationsItemNavigationItem from json.

func (*AppDefinitionDataLocationsItemNavigationItem) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*AppDefinitionDataLocationsItemNavigationItem) GetName added in v0.0.42

GetName returns the value of Name.

func (*AppDefinitionDataLocationsItemNavigationItem) GetPath added in v0.0.42

GetPath returns the value of Path.

func (*AppDefinitionDataLocationsItemNavigationItem) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionDataLocationsItemNavigationItem) SetName added in v0.0.42

SetName sets the value of Name.

func (*AppDefinitionDataLocationsItemNavigationItem) SetPath added in v0.0.42

SetPath sets the value of Path.

func (*AppDefinitionDataLocationsItemNavigationItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionLink struct {
	Sys AppDefinitionLinkSys `json:"sys"`
}

Ref: #/AppDefinitionLink

func NewAppDefinitionLink(id string) AppDefinitionLink

func (*AppDefinitionLink) Decode added in v0.0.18

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

Decode decodes AppDefinitionLink from json.

func (*AppDefinitionLink) Encode added in v0.0.18

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

Encode implements json.Marshaler.

func (*AppDefinitionLink) GetSys added in v0.0.18

GetSys returns the value of Sys.

func (*AppDefinitionLink) MarshalJSON added in v0.0.18

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionLink) SetSys added in v0.0.18

func (s *AppDefinitionLink) SetSys(val AppDefinitionLinkSys)

SetSys sets the value of Sys.

func (*AppDefinitionLink) UnmarshalJSON added in v0.0.18

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinitionLink) Validate added in v0.0.18

func (s *AppDefinitionLink) Validate() error

type AppDefinitionLinkSys added in v0.0.18

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

Merged schema.

func NewAppDefinitionLinkSys added in v0.0.43

func NewAppDefinitionLinkSys(id string) AppDefinitionLinkSys

func (*AppDefinitionLinkSys) Decode added in v0.0.18

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

Decode decodes AppDefinitionLinkSys from json.

func (*AppDefinitionLinkSys) Encode added in v0.0.18

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

Encode implements json.Marshaler.

func (*AppDefinitionLinkSys) GetID added in v0.0.18

func (s *AppDefinitionLinkSys) GetID() string

GetID returns the value of ID.

func (*AppDefinitionLinkSys) GetLinkType added in v0.0.18

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 AppDefinitionLocationsItem added in v0.0.27

type AppDefinitionLocationsItem struct {
	Location       string                                      `json:"location"`
	FieldTypes     []AppDefinitionLocationsItemFieldTypesItem  `json:"fieldTypes"`
	NavigationItem OptAppDefinitionLocationsItemNavigationItem `json:"navigationItem"`
}

func (*AppDefinitionLocationsItem) Decode added in v0.0.27

Decode decodes AppDefinitionLocationsItem from json.

func (*AppDefinitionLocationsItem) Encode added in v0.0.27

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

Encode implements json.Marshaler.

func (*AppDefinitionLocationsItem) GetFieldTypes added in v0.0.27

GetFieldTypes returns the value of FieldTypes.

func (*AppDefinitionLocationsItem) GetLocation added in v0.0.27

func (s *AppDefinitionLocationsItem) GetLocation() string

GetLocation returns the value of Location.

func (*AppDefinitionLocationsItem) GetNavigationItem added in v0.0.27

GetNavigationItem returns the value of NavigationItem.

func (*AppDefinitionLocationsItem) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionLocationsItem) SetFieldTypes added in v0.0.27

SetFieldTypes sets the value of FieldTypes.

func (*AppDefinitionLocationsItem) SetLocation added in v0.0.27

func (s *AppDefinitionLocationsItem) SetLocation(val string)

SetLocation sets the value of Location.

func (*AppDefinitionLocationsItem) SetNavigationItem added in v0.0.27

SetNavigationItem sets the value of NavigationItem.

func (*AppDefinitionLocationsItem) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionLocationsItemFieldTypesItem added in v0.0.27

type AppDefinitionLocationsItemFieldTypesItem struct {
	Type     string                                           `json:"type"`
	LinkType OptString                                        `json:"linkType"`
	Items    OptAppDefinitionLocationsItemFieldTypesItemItems `json:"items"`
}

func (*AppDefinitionLocationsItemFieldTypesItem) Decode added in v0.0.27

Decode decodes AppDefinitionLocationsItemFieldTypesItem from json.

func (*AppDefinitionLocationsItemFieldTypesItem) Encode added in v0.0.27

Encode implements json.Marshaler.

func (*AppDefinitionLocationsItemFieldTypesItem) GetItems added in v0.0.27

GetItems returns the value of Items.

func (*AppDefinitionLocationsItemFieldTypesItem) GetLinkType added in v0.0.27

GetLinkType returns the value of LinkType.

func (*AppDefinitionLocationsItemFieldTypesItem) GetType added in v0.0.27

GetType returns the value of Type.

func (*AppDefinitionLocationsItemFieldTypesItem) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionLocationsItemFieldTypesItem) SetItems added in v0.0.27

SetItems sets the value of Items.

func (*AppDefinitionLocationsItemFieldTypesItem) SetLinkType added in v0.0.27

SetLinkType sets the value of LinkType.

func (*AppDefinitionLocationsItemFieldTypesItem) SetType added in v0.0.27

SetType sets the value of Type.

func (*AppDefinitionLocationsItemFieldTypesItem) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionLocationsItemFieldTypesItemItems added in v0.0.27

type AppDefinitionLocationsItemFieldTypesItemItems struct {
	Type     string    `json:"type"`
	LinkType OptString `json:"linkType"`
}

func (*AppDefinitionLocationsItemFieldTypesItemItems) Decode added in v0.0.27

Decode decodes AppDefinitionLocationsItemFieldTypesItemItems from json.

func (*AppDefinitionLocationsItemFieldTypesItemItems) Encode added in v0.0.27

Encode implements json.Marshaler.

func (*AppDefinitionLocationsItemFieldTypesItemItems) GetLinkType added in v0.0.27

GetLinkType returns the value of LinkType.

func (*AppDefinitionLocationsItemFieldTypesItemItems) GetType added in v0.0.27

GetType returns the value of Type.

func (*AppDefinitionLocationsItemFieldTypesItemItems) MarshalJSON added in v0.0.27

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionLocationsItemFieldTypesItemItems) SetLinkType added in v0.0.27

SetLinkType sets the value of LinkType.

func (*AppDefinitionLocationsItemFieldTypesItemItems) SetType added in v0.0.27

SetType sets the value of Type.

func (*AppDefinitionLocationsItemFieldTypesItemItems) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionLocationsItemNavigationItem added in v0.0.27

type AppDefinitionLocationsItemNavigationItem struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

func (*AppDefinitionLocationsItemNavigationItem) Decode added in v0.0.27

Decode decodes AppDefinitionLocationsItemNavigationItem from json.

func (*AppDefinitionLocationsItemNavigationItem) Encode added in v0.0.27

Encode implements json.Marshaler.

func (*AppDefinitionLocationsItemNavigationItem) GetName added in v0.0.27

GetName returns the value of Name.

func (*AppDefinitionLocationsItemNavigationItem) GetPath added in v0.0.27

GetPath returns the value of Path.

func (*AppDefinitionLocationsItemNavigationItem) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionLocationsItemNavigationItem) SetName added in v0.0.27

SetName sets the value of Name.

func (*AppDefinitionLocationsItemNavigationItem) SetPath added in v0.0.27

SetPath sets the value of Path.

func (*AppDefinitionLocationsItemNavigationItem) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionParameter added in v0.0.27

type AppDefinitionParameter struct {
	ID          string                          `json:"id"`
	Type        string                          `json:"type"`
	Name        string                          `json:"name"`
	Description OptString                       `json:"description"`
	Required    OptBool                         `json:"required"`
	Default     jx.Raw                          `json:"default"`
	Options     []jx.Raw                        `json:"options"`
	Labels      OptAppDefinitionParameterLabels `json:"labels"`
}

Ref: #/AppDefinitionParameter

func (*AppDefinitionParameter) Decode added in v0.0.27

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

Decode decodes AppDefinitionParameter from json.

func (*AppDefinitionParameter) Encode added in v0.0.27

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

Encode implements json.Marshaler.

func (*AppDefinitionParameter) GetDefault added in v0.0.27

func (s *AppDefinitionParameter) GetDefault() jx.Raw

GetDefault returns the value of Default.

func (*AppDefinitionParameter) GetDescription added in v0.0.27

func (s *AppDefinitionParameter) GetDescription() OptString

GetDescription returns the value of Description.

func (*AppDefinitionParameter) GetID added in v0.0.27

func (s *AppDefinitionParameter) GetID() string

GetID returns the value of ID.

func (*AppDefinitionParameter) GetLabels added in v0.0.27

GetLabels returns the value of Labels.

func (*AppDefinitionParameter) GetName added in v0.0.27

func (s *AppDefinitionParameter) GetName() string

GetName returns the value of Name.

func (*AppDefinitionParameter) GetOptions added in v0.0.27

func (s *AppDefinitionParameter) GetOptions() []jx.Raw

GetOptions returns the value of Options.

func (*AppDefinitionParameter) GetRequired added in v0.0.27

func (s *AppDefinitionParameter) GetRequired() OptBool

GetRequired returns the value of Required.

func (*AppDefinitionParameter) GetType added in v0.0.27

func (s *AppDefinitionParameter) GetType() string

GetType returns the value of Type.

func (*AppDefinitionParameter) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionParameter) SetDefault added in v0.0.27

func (s *AppDefinitionParameter) SetDefault(val jx.Raw)

SetDefault sets the value of Default.

func (*AppDefinitionParameter) SetDescription added in v0.0.27

func (s *AppDefinitionParameter) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AppDefinitionParameter) SetID added in v0.0.27

func (s *AppDefinitionParameter) SetID(val string)

SetID sets the value of ID.

func (*AppDefinitionParameter) SetLabels added in v0.0.27

SetLabels sets the value of Labels.

func (*AppDefinitionParameter) SetName added in v0.0.27

func (s *AppDefinitionParameter) SetName(val string)

SetName sets the value of Name.

func (*AppDefinitionParameter) SetOptions added in v0.0.27

func (s *AppDefinitionParameter) SetOptions(val []jx.Raw)

SetOptions sets the value of Options.

func (*AppDefinitionParameter) SetRequired added in v0.0.27

func (s *AppDefinitionParameter) SetRequired(val OptBool)

SetRequired sets the value of Required.

func (*AppDefinitionParameter) SetType added in v0.0.27

func (s *AppDefinitionParameter) SetType(val string)

SetType sets the value of Type.

func (*AppDefinitionParameter) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionParameterLabels added in v0.0.27

type AppDefinitionParameterLabels struct {
	Empty OptString `json:"empty"`
	True  OptString `json:"true"`
	False OptString `json:"false"`
}

func (*AppDefinitionParameterLabels) Decode added in v0.0.27

Decode decodes AppDefinitionParameterLabels from json.

func (*AppDefinitionParameterLabels) Encode added in v0.0.27

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

Encode implements json.Marshaler.

func (*AppDefinitionParameterLabels) GetEmpty added in v0.0.27

GetEmpty returns the value of Empty.

func (*AppDefinitionParameterLabels) GetFalse added in v0.0.27

GetFalse returns the value of False.

func (*AppDefinitionParameterLabels) GetTrue added in v0.0.27

GetTrue returns the value of True.

func (*AppDefinitionParameterLabels) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionParameterLabels) SetEmpty added in v0.0.27

func (s *AppDefinitionParameterLabels) SetEmpty(val OptString)

SetEmpty sets the value of Empty.

func (*AppDefinitionParameterLabels) SetFalse added in v0.0.27

func (s *AppDefinitionParameterLabels) SetFalse(val OptString)

SetFalse sets the value of False.

func (*AppDefinitionParameterLabels) SetTrue added in v0.0.27

func (s *AppDefinitionParameterLabels) SetTrue(val OptString)

SetTrue sets the value of True.

func (*AppDefinitionParameterLabels) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionParameters added in v0.0.27

type AppDefinitionParameters struct {
	Installation []AppDefinitionParameter `json:"installation"`
	Instance     []AppDefinitionParameter `json:"instance"`
}

Ref: #/AppDefinitionParameters

func (*AppDefinitionParameters) Decode added in v0.0.27

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

Decode decodes AppDefinitionParameters from json.

func (*AppDefinitionParameters) Encode added in v0.0.27

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

Encode implements json.Marshaler.

func (*AppDefinitionParameters) GetInstallation added in v0.0.27

func (s *AppDefinitionParameters) GetInstallation() []AppDefinitionParameter

GetInstallation returns the value of Installation.

func (*AppDefinitionParameters) GetInstance added in v0.0.27

GetInstance returns the value of Instance.

func (*AppDefinitionParameters) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionParameters) SetInstallation added in v0.0.27

func (s *AppDefinitionParameters) SetInstallation(val []AppDefinitionParameter)

SetInstallation sets the value of Installation.

func (*AppDefinitionParameters) SetInstance added in v0.0.27

func (s *AppDefinitionParameters) SetInstance(val []AppDefinitionParameter)

SetInstance sets the value of Instance.

func (*AppDefinitionParameters) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppDefinitionStatusCode added in v0.0.27

type AppDefinitionStatusCode struct {
	StatusCode int
	Response   AppDefinition
}

AppDefinitionStatusCode wraps AppDefinition with StatusCode.

func (*AppDefinitionStatusCode) GetResponse added in v0.0.27

func (s *AppDefinitionStatusCode) GetResponse() AppDefinition

GetResponse returns the value of Response.

func (*AppDefinitionStatusCode) GetStatusCode added in v0.0.27

func (s *AppDefinitionStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*AppDefinitionStatusCode) SetResponse added in v0.0.27

func (s *AppDefinitionStatusCode) SetResponse(val AppDefinition)

SetResponse sets the value of Response.

func (*AppDefinitionStatusCode) SetStatusCode added in v0.0.27

func (s *AppDefinitionStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*AppDefinitionStatusCode) Validate added in v0.0.27

func (s *AppDefinitionStatusCode) Validate() error

type AppDefinitionSys added in v0.0.27

type AppDefinitionSys struct {
	Organization OrganizationLink `json:"organization"`
	// Merged property.
	Type AppDefinitionSysType `json:"type"`
	ID   string               `json:"id"`
}

Merged schema. Ref: #/AppDefinitionSys

func NewAppDefinitionSys added in v0.0.43

func NewAppDefinitionSys(organizationID, appDefinitionID string) AppDefinitionSys

func (*AppDefinitionSys) Decode added in v0.0.27

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

Decode decodes AppDefinitionSys from json.

func (*AppDefinitionSys) Encode added in v0.0.27

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

Encode implements json.Marshaler.

func (*AppDefinitionSys) GetID added in v0.0.27

func (s *AppDefinitionSys) GetID() string

GetID returns the value of ID.

func (*AppDefinitionSys) GetOrganization added in v0.0.27

func (s *AppDefinitionSys) GetOrganization() OrganizationLink

GetOrganization returns the value of Organization.

func (*AppDefinitionSys) GetType added in v0.0.27

GetType returns the value of Type.

func (*AppDefinitionSys) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (*AppDefinitionSys) SetID added in v0.0.27

func (s *AppDefinitionSys) SetID(val string)

SetID sets the value of ID.

func (*AppDefinitionSys) SetOrganization added in v0.0.27

func (s *AppDefinitionSys) SetOrganization(val OrganizationLink)

SetOrganization sets the value of Organization.

func (*AppDefinitionSys) SetType added in v0.0.27

func (s *AppDefinitionSys) SetType(val AppDefinitionSysType)

SetType sets the value of Type.

func (*AppDefinitionSys) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinitionSys) Validate added in v0.0.27

func (s *AppDefinitionSys) Validate() error

type AppDefinitionSysType added in v0.0.27

type AppDefinitionSysType string

Merged schema.

const (
	AppDefinitionSysTypeAppDefinition AppDefinitionSysType = "AppDefinition"
)

func (AppDefinitionSysType) AllValues added in v0.0.27

AllValues returns all AppDefinitionSysType values.

func (*AppDefinitionSysType) Decode added in v0.0.27

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

Decode decodes AppDefinitionSysType from json.

func (AppDefinitionSysType) Encode added in v0.0.27

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

Encode encodes AppDefinitionSysType as json.

func (AppDefinitionSysType) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (AppDefinitionSysType) MarshalText added in v0.0.27

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

MarshalText implements encoding.TextMarshaler.

func (*AppDefinitionSysType) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppDefinitionSysType) UnmarshalText added in v0.0.27

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AppDefinitionSysType) Validate added in v0.0.27

func (s AppDefinitionSysType) Validate() error

type AppInstallation

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

Merged schema. Ref: #/AppInstallation

func (*AppInstallation) Decode

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

Decode decodes AppInstallation from json.

func (*AppInstallation) Encode

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

Encode implements json.Marshaler.

func (*AppInstallation) GetParameters

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

GetParameters returns the value of Parameters.

func (*AppInstallation) GetSys

func (s *AppInstallation) GetSys() AppInstallationSys

GetSys returns the value of Sys.

func (*AppInstallation) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AppInstallation) SetParameters

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

SetParameters sets the value of Parameters.

func (*AppInstallation) SetSys

func (s *AppInstallation) SetSys(val AppInstallationSys)

SetSys sets the value of Sys.

func (*AppInstallation) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppInstallation) Validate

func (s *AppInstallation) Validate() error

type AppInstallationData added in v0.0.42

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

Ref: #/AppInstallationData

func (*AppInstallationData) Decode added in v0.0.42

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

Decode decodes AppInstallationData from json.

func (*AppInstallationData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*AppInstallationData) GetParameters added in v0.0.42

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

GetParameters returns the value of Parameters.

func (*AppInstallationData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*AppInstallationData) SetParameters added in v0.0.42

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

SetParameters sets the value of Parameters.

func (*AppInstallationData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppInstallationStatusCode added in v0.0.24

type AppInstallationStatusCode struct {
	StatusCode int
	Response   AppInstallation
}

AppInstallationStatusCode wraps AppInstallation with StatusCode.

func (*AppInstallationStatusCode) GetResponse added in v0.0.24

func (s *AppInstallationStatusCode) GetResponse() AppInstallation

GetResponse returns the value of Response.

func (*AppInstallationStatusCode) GetStatusCode added in v0.0.24

func (s *AppInstallationStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*AppInstallationStatusCode) SetResponse added in v0.0.24

func (s *AppInstallationStatusCode) SetResponse(val AppInstallation)

SetResponse sets the value of Response.

func (*AppInstallationStatusCode) SetStatusCode added in v0.0.24

func (s *AppInstallationStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*AppInstallationStatusCode) Validate added in v0.0.24

func (s *AppInstallationStatusCode) Validate() error

type AppInstallationSys

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

Merged schema. Ref: #/AppInstallationSys

func NewAppInstallationSys added in v0.0.43

func NewAppInstallationSys(spaceID, environmentID, appDefinitionID string) AppInstallationSys

func (*AppInstallationSys) Decode

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

Decode decodes AppInstallationSys from json.

func (*AppInstallationSys) Encode

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

Encode implements json.Marshaler.

func (*AppInstallationSys) GetAppDefinition added in v0.0.18

func (s *AppInstallationSys) GetAppDefinition() AppDefinitionLink

GetAppDefinition returns the value of AppDefinition.

func (*AppInstallationSys) GetEnvironment added in v0.0.18

func (s *AppInstallationSys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*AppInstallationSys) GetSpace added in v0.0.18

func (s *AppInstallationSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*AppInstallationSys) GetType

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 AppSigningSecret added in v0.0.35

type AppSigningSecret struct {
	Sys           AppSigningSecretSys `json:"sys"`
	RedactedValue string              `json:"redactedValue"`
}

Merged schema. Ref: #/AppSigningSecret

func (*AppSigningSecret) Decode added in v0.0.35

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

Decode decodes AppSigningSecret from json.

func (*AppSigningSecret) Encode added in v0.0.35

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

Encode implements json.Marshaler.

func (*AppSigningSecret) GetRedactedValue added in v0.0.35

func (s *AppSigningSecret) GetRedactedValue() string

GetRedactedValue returns the value of RedactedValue.

func (*AppSigningSecret) GetSys added in v0.0.35

GetSys returns the value of Sys.

func (*AppSigningSecret) MarshalJSON added in v0.0.35

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

MarshalJSON implements stdjson.Marshaler.

func (*AppSigningSecret) SetRedactedValue added in v0.0.35

func (s *AppSigningSecret) SetRedactedValue(val string)

SetRedactedValue sets the value of RedactedValue.

func (*AppSigningSecret) SetSys added in v0.0.35

func (s *AppSigningSecret) SetSys(val AppSigningSecretSys)

SetSys sets the value of Sys.

func (*AppSigningSecret) UnmarshalJSON added in v0.0.35

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppSigningSecret) Validate added in v0.0.35

func (s *AppSigningSecret) Validate() error

type AppSigningSecretRequestData added in v0.0.42

type AppSigningSecretRequestData struct {
	Value string `json:"value"`
}

Ref: #/AppSigningSecretRequestData

func (*AppSigningSecretRequestData) Decode added in v0.0.42

Decode decodes AppSigningSecretRequestData from json.

func (*AppSigningSecretRequestData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*AppSigningSecretRequestData) GetValue added in v0.0.42

func (s *AppSigningSecretRequestData) GetValue() string

GetValue returns the value of Value.

func (*AppSigningSecretRequestData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*AppSigningSecretRequestData) SetValue added in v0.0.42

func (s *AppSigningSecretRequestData) SetValue(val string)

SetValue sets the value of Value.

func (*AppSigningSecretRequestData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AppSigningSecretStatusCode added in v0.0.35

type AppSigningSecretStatusCode struct {
	StatusCode int
	Response   AppSigningSecret
}

AppSigningSecretStatusCode wraps AppSigningSecret with StatusCode.

func (*AppSigningSecretStatusCode) GetResponse added in v0.0.35

GetResponse returns the value of Response.

func (*AppSigningSecretStatusCode) GetStatusCode added in v0.0.35

func (s *AppSigningSecretStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*AppSigningSecretStatusCode) SetResponse added in v0.0.35

func (s *AppSigningSecretStatusCode) SetResponse(val AppSigningSecret)

SetResponse sets the value of Response.

func (*AppSigningSecretStatusCode) SetStatusCode added in v0.0.35

func (s *AppSigningSecretStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*AppSigningSecretStatusCode) Validate added in v0.0.35

func (s *AppSigningSecretStatusCode) Validate() error

type AppSigningSecretSys added in v0.0.35

type AppSigningSecretSys struct {
	Organization OrganizationLink `json:"organization"`
	// Merged property.
	Type          AppSigningSecretSysType `json:"type"`
	AppDefinition AppDefinitionLink       `json:"appDefinition"`
}

Merged schema. Ref: #/AppSigningSecretSys

func NewAppSigningSecretSys added in v0.0.43

func NewAppSigningSecretSys(organizationID, appDefinitionID string) AppSigningSecretSys

func (*AppSigningSecretSys) Decode added in v0.0.35

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

Decode decodes AppSigningSecretSys from json.

func (*AppSigningSecretSys) Encode added in v0.0.35

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

Encode implements json.Marshaler.

func (*AppSigningSecretSys) GetAppDefinition added in v0.0.35

func (s *AppSigningSecretSys) GetAppDefinition() AppDefinitionLink

GetAppDefinition returns the value of AppDefinition.

func (*AppSigningSecretSys) GetOrganization added in v0.0.35

func (s *AppSigningSecretSys) GetOrganization() OrganizationLink

GetOrganization returns the value of Organization.

func (*AppSigningSecretSys) GetType added in v0.0.35

GetType returns the value of Type.

func (*AppSigningSecretSys) MarshalJSON added in v0.0.35

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

MarshalJSON implements stdjson.Marshaler.

func (*AppSigningSecretSys) SetAppDefinition added in v0.0.35

func (s *AppSigningSecretSys) SetAppDefinition(val AppDefinitionLink)

SetAppDefinition sets the value of AppDefinition.

func (*AppSigningSecretSys) SetOrganization added in v0.0.35

func (s *AppSigningSecretSys) SetOrganization(val OrganizationLink)

SetOrganization sets the value of Organization.

func (*AppSigningSecretSys) SetType added in v0.0.35

SetType sets the value of Type.

func (*AppSigningSecretSys) UnmarshalJSON added in v0.0.35

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppSigningSecretSys) Validate added in v0.0.35

func (s *AppSigningSecretSys) Validate() error

type AppSigningSecretSysType added in v0.0.35

type AppSigningSecretSysType string

Merged schema.

const (
	AppSigningSecretSysTypeAppSigningSecret AppSigningSecretSysType = "AppSigningSecret"
)

func (AppSigningSecretSysType) AllValues added in v0.0.35

AllValues returns all AppSigningSecretSysType values.

func (*AppSigningSecretSysType) Decode added in v0.0.35

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

Decode decodes AppSigningSecretSysType from json.

func (AppSigningSecretSysType) Encode added in v0.0.35

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

Encode encodes AppSigningSecretSysType as json.

func (AppSigningSecretSysType) MarshalJSON added in v0.0.35

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

MarshalJSON implements stdjson.Marshaler.

func (AppSigningSecretSysType) MarshalText added in v0.0.35

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

MarshalText implements encoding.TextMarshaler.

func (*AppSigningSecretSysType) UnmarshalJSON added in v0.0.35

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AppSigningSecretSysType) UnmarshalText added in v0.0.35

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AppSigningSecretSysType) Validate added in v0.0.35

func (s AppSigningSecretSysType) Validate() error

type ApplicationJSONError added in v0.0.33

type ApplicationJSONError struct {
	Type  ApplicationJSONErrorType // switch on this field
	Error Error
}

Ref: #/components/schemas/ApplicationJSONError ApplicationJSONError represents sum type.

func NewErrorApplicationJSONError added in v0.0.33

func NewErrorApplicationJSONError(v Error) ApplicationJSONError

NewErrorApplicationJSONError returns new ApplicationJSONError from Error.

func (*ApplicationJSONError) Decode added in v0.0.33

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

Decode decodes ApplicationJSONError from json.

func (ApplicationJSONError) Encode added in v0.0.33

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

Encode encodes ApplicationJSONError as json.

func (ApplicationJSONError) GetError added in v0.0.33

func (s ApplicationJSONError) GetError() (v Error, ok bool)

GetError returns Error and true boolean if ApplicationJSONError is Error.

func (ApplicationJSONError) IsError added in v0.0.33

func (s ApplicationJSONError) IsError() bool

IsError reports whether ApplicationJSONError is Error.

func (ApplicationJSONError) MarshalJSON added in v0.0.33

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

MarshalJSON implements stdjson.Marshaler.

func (*ApplicationJSONError) SetError added in v0.0.33

func (s *ApplicationJSONError) SetError(v Error)

SetError sets ApplicationJSONError to Error.

func (*ApplicationJSONError) UnmarshalJSON added in v0.0.33

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ApplicationJSONError) Validate added in v0.0.33

func (s ApplicationJSONError) Validate() error

type ApplicationJSONErrorStatusCode added in v0.0.33

type ApplicationJSONErrorStatusCode struct {
	StatusCode int
	Response   ApplicationJSONError
}

ApplicationJSONErrorStatusCode wraps ApplicationJSONError with StatusCode.

func (*ApplicationJSONErrorStatusCode) GetError added in v0.0.33

func (r *ApplicationJSONErrorStatusCode) GetError() (Error, bool)

func (*ApplicationJSONErrorStatusCode) GetResponse added in v0.0.33

GetResponse returns the value of Response.

func (*ApplicationJSONErrorStatusCode) GetStatusCode added in v0.0.33

func (s *ApplicationJSONErrorStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*ApplicationJSONErrorStatusCode) SetResponse added in v0.0.33

SetResponse sets the value of Response.

func (*ApplicationJSONErrorStatusCode) SetStatusCode added in v0.0.33

func (s *ApplicationJSONErrorStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*ApplicationJSONErrorStatusCode) Validate added in v0.0.33

func (s *ApplicationJSONErrorStatusCode) Validate() error

type ApplicationJSONErrorType added in v0.0.33

type ApplicationJSONErrorType string

ApplicationJSONErrorType is oneOf type of ApplicationJSONError.

const (
	ErrorApplicationJSONError ApplicationJSONErrorType = "Error"
)

Possible values for ApplicationJSONErrorType.

type ApplicationVndContentfulManagementV1JSONError added in v0.0.33

type ApplicationVndContentfulManagementV1JSONError struct {
	Type  ApplicationVndContentfulManagementV1JSONErrorType // switch on this field
	Error Error
}

Ref: #/components/schemas/ApplicationVndContentfulManagementV1JSONError ApplicationVndContentfulManagementV1JSONError represents sum type.

func NewErrorApplicationVndContentfulManagementV1JSONError added in v0.0.33

func NewErrorApplicationVndContentfulManagementV1JSONError(v Error) ApplicationVndContentfulManagementV1JSONError

NewErrorApplicationVndContentfulManagementV1JSONError returns new ApplicationVndContentfulManagementV1JSONError from Error.

func (*ApplicationVndContentfulManagementV1JSONError) Decode added in v0.0.33

Decode decodes ApplicationVndContentfulManagementV1JSONError from json.

func (ApplicationVndContentfulManagementV1JSONError) Encode added in v0.0.33

Encode encodes ApplicationVndContentfulManagementV1JSONError as json.

func (ApplicationVndContentfulManagementV1JSONError) GetError added in v0.0.33

GetError returns Error and true boolean if ApplicationVndContentfulManagementV1JSONError is Error.

func (ApplicationVndContentfulManagementV1JSONError) IsError added in v0.0.33

IsError reports whether ApplicationVndContentfulManagementV1JSONError is Error.

func (ApplicationVndContentfulManagementV1JSONError) MarshalJSON added in v0.0.33

MarshalJSON implements stdjson.Marshaler.

func (*ApplicationVndContentfulManagementV1JSONError) SetError added in v0.0.33

SetError sets ApplicationVndContentfulManagementV1JSONError to Error.

func (*ApplicationVndContentfulManagementV1JSONError) UnmarshalJSON added in v0.0.33

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ApplicationVndContentfulManagementV1JSONError) Validate added in v0.0.33

type ApplicationVndContentfulManagementV1JSONErrorStatusCode added in v0.0.33

type ApplicationVndContentfulManagementV1JSONErrorStatusCode struct {
	StatusCode int
	Response   ApplicationVndContentfulManagementV1JSONError
}

ApplicationVndContentfulManagementV1JSONErrorStatusCode wraps ApplicationVndContentfulManagementV1JSONError with StatusCode.

func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetError added in v0.0.33

func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetResponse added in v0.0.33

GetResponse returns the value of Response.

func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) GetStatusCode added in v0.0.33

GetStatusCode returns the value of StatusCode.

func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) SetResponse added in v0.0.33

SetResponse sets the value of Response.

func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) SetStatusCode added in v0.0.33

SetStatusCode sets the value of StatusCode.

func (*ApplicationVndContentfulManagementV1JSONErrorStatusCode) Validate added in v0.0.33

type ApplicationVndContentfulManagementV1JSONErrorType added in v0.0.33

type ApplicationVndContentfulManagementV1JSONErrorType string

ApplicationVndContentfulManagementV1JSONErrorType is oneOf type of ApplicationVndContentfulManagementV1JSONError.

const (
	ErrorApplicationVndContentfulManagementV1JSONError ApplicationVndContentfulManagementV1JSONErrorType = "Error"
)

Possible values for ApplicationVndContentfulManagementV1JSONErrorType.

type Client

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

Client implements OAS client.

func NewClient

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

NewClient initializes new Client defined by OAS.

func (*Client) ActivateContentType added in v0.0.5

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

ActivateContentType invokes activateContentType operation.

Activate a content type.

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

func (*Client) CreateAppDefinition added in v0.0.27

func (c *Client) CreateAppDefinition(ctx context.Context, request *AppDefinitionData, params CreateAppDefinitionParams, options ...RequestOption) (CreateAppDefinitionRes, error)

CreateAppDefinition invokes createAppDefinition operation.

Create an app definition.

POST /organizations/{organization_id}/app_definitions

func (*Client) CreateDeliveryAPIKey added in v0.0.43

func (c *Client) CreateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, params CreateDeliveryAPIKeyParams, options ...RequestOption) (CreateDeliveryAPIKeyRes, error)

CreateDeliveryAPIKey invokes createDeliveryAPIKey operation.

Create a delivery api key.

POST /spaces/{space_id}/api_keys

func (*Client) CreateEntry added in v0.0.40

func (c *Client) CreateEntry(ctx context.Context, request *EntryRequest, params CreateEntryParams, options ...RequestOption) (CreateEntryRes, error)

CreateEntry invokes createEntry operation.

Create an entry.

POST /spaces/{space_id}/environments/{environment_id}/entries

func (*Client) CreateOrUpdateEnvironment added in v0.0.41

func (c *Client) CreateOrUpdateEnvironment(ctx context.Context, request *EnvironmentData, params CreateOrUpdateEnvironmentParams, options ...RequestOption) (CreateOrUpdateEnvironmentRes, error)

CreateOrUpdateEnvironment invokes createOrUpdateEnvironment operation.

Create or update an environment.

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

func (*Client) CreateOrUpdateEnvironmentAlias added in v0.0.41

func (c *Client) CreateOrUpdateEnvironmentAlias(ctx context.Context, request *EnvironmentAliasData, params CreateOrUpdateEnvironmentAliasParams, options ...RequestOption) (CreateOrUpdateEnvironmentAliasRes, error)

CreateOrUpdateEnvironmentAlias invokes createOrUpdateEnvironmentAlias operation.

Create/Update an environment alias.

PUT /spaces/{space_id}/environment_aliases/{environment_alias_id}

func (*Client) CreatePersonalAccessToken added in v0.0.12

func (c *Client) CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestData, options ...RequestOption) (CreatePersonalAccessTokenRes, error)

CreatePersonalAccessToken invokes createPersonalAccessToken operation.

Create a personal access token.

POST /users/me/access_tokens

func (*Client) CreateRole added in v0.0.15

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

CreateRole invokes createRole operation.

Create a role.

POST /spaces/{space_id}/roles

func (*Client) CreateTeam added in v0.0.43

func (c *Client) CreateTeam(ctx context.Context, request *TeamData, params CreateTeamParams, options ...RequestOption) (CreateTeamRes, error)

CreateTeam invokes createTeam operation.

Create a team.

POST /organizations/{organization_id}/teams

func (*Client) CreateTeamSpaceMembership added in v0.0.43

func (c *Client) CreateTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, params CreateTeamSpaceMembershipParams, options ...RequestOption) (CreateTeamSpaceMembershipRes, error)

CreateTeamSpaceMembership invokes createTeamSpaceMembership operation.

Create a team space membership.

POST /spaces/{space_id}/team_space_memberships

func (*Client) CreateWebhookDefinition added in v0.0.17

func (c *Client) CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, params CreateWebhookDefinitionParams, options ...RequestOption) (CreateWebhookDefinitionRes, error)

CreateWebhookDefinition invokes createWebhookDefinition operation.

Create a webhook definition.

POST /spaces/{space_id}/webhook_definitions

func (*Client) DeactivateContentType added in v0.0.5

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

DeactivateContentType invokes deactivateContentType operation.

Deactivate a content type.

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

func (*Client) DeleteAppDefinition added in v0.0.27

func (c *Client) DeleteAppDefinition(ctx context.Context, params DeleteAppDefinitionParams, options ...RequestOption) (DeleteAppDefinitionRes, error)

DeleteAppDefinition invokes deleteAppDefinition operation.

Delete an app definition.

DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}

func (*Client) DeleteAppInstallation

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

DeleteAppInstallation invokes deleteAppInstallation operation.

Uninstall an app.

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

func (*Client) DeleteAppSigningSecret added in v0.0.35

func (c *Client) DeleteAppSigningSecret(ctx context.Context, params DeleteAppSigningSecretParams, options ...RequestOption) (DeleteAppSigningSecretRes, error)

DeleteAppSigningSecret invokes deleteAppSigningSecret operation.

Delete an app signing secret.

DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret

func (*Client) DeleteContentType added in v0.0.5

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

DeleteContentType invokes deleteContentType operation.

Delete a content type.

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

func (*Client) DeleteDeliveryAPIKey added in v0.0.43

func (c *Client) DeleteDeliveryAPIKey(ctx context.Context, params DeleteDeliveryAPIKeyParams, options ...RequestOption) (DeleteDeliveryAPIKeyRes, error)

DeleteDeliveryAPIKey invokes deleteDeliveryAPIKey operation.

Delete a single delivery api key.

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

func (*Client) DeleteEntry added in v0.0.40

func (c *Client) DeleteEntry(ctx context.Context, params DeleteEntryParams, options ...RequestOption) (DeleteEntryRes, error)

DeleteEntry invokes deleteEntry operation.

Delete an entry.

DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}

func (*Client) DeleteEnvironment added in v0.0.41

func (c *Client) DeleteEnvironment(ctx context.Context, params DeleteEnvironmentParams, options ...RequestOption) (DeleteEnvironmentRes, error)

DeleteEnvironment invokes deleteEnvironment operation.

Delete an environment.

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

func (*Client) DeleteEnvironmentAlias added in v0.0.41

func (c *Client) DeleteEnvironmentAlias(ctx context.Context, params DeleteEnvironmentAliasParams, options ...RequestOption) (DeleteEnvironmentAliasRes, error)

DeleteEnvironmentAlias invokes deleteEnvironmentAlias operation.

Delete an environment alias.

DELETE /spaces/{space_id}/environment_aliases/{environment_alias_id}

func (*Client) DeleteExtension added in v0.0.29

func (c *Client) DeleteExtension(ctx context.Context, params DeleteExtensionParams, options ...RequestOption) (DeleteExtensionRes, error)

DeleteExtension invokes deleteExtension operation.

Delete an extension.

DELETE /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}

func (*Client) DeleteResourceProvider added in v0.0.37

func (c *Client) DeleteResourceProvider(ctx context.Context, params DeleteResourceProviderParams, options ...RequestOption) (DeleteResourceProviderRes, error)

DeleteResourceProvider invokes deleteResourceProvider operation.

Delete a resource provider definition.

DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider

func (*Client) DeleteResourceType added in v0.0.37

func (c *Client) DeleteResourceType(ctx context.Context, params DeleteResourceTypeParams, options ...RequestOption) (DeleteResourceTypeRes, error)

DeleteResourceType invokes deleteResourceType operation.

Delete a resource type definition.

DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}

func (*Client) DeleteRole added in v0.0.15

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

DeleteRole invokes deleteRole operation.

Delete a role.

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

func (*Client) DeleteTag added in v0.0.50

func (c *Client) DeleteTag(ctx context.Context, params DeleteTagParams, options ...RequestOption) (DeleteTagRes, error)

DeleteTag invokes deleteTag operation.

Delete a tag.

DELETE /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}

func (*Client) DeleteTeam added in v0.0.43

func (c *Client) DeleteTeam(ctx context.Context, params DeleteTeamParams, options ...RequestOption) (DeleteTeamRes, error)

DeleteTeam invokes deleteTeam operation.

Delete a team.

DELETE /organizations/{organization_id}/teams/{team_id}

func (*Client) DeleteTeamSpaceMembership added in v0.0.43

func (c *Client) DeleteTeamSpaceMembership(ctx context.Context, params DeleteTeamSpaceMembershipParams, options ...RequestOption) (DeleteTeamSpaceMembershipRes, error)

DeleteTeamSpaceMembership invokes deleteTeamSpaceMembership operation.

Delete a team space membership.

DELETE /spaces/{space_id}/team_space_memberships/{team_space_membership_id}

func (*Client) DeleteWebhookDefinition added in v0.0.17

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

DeleteWebhookDefinition invokes deleteWebhookDefinition operation.

Delete a webhook definition.

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

func (*Client) GetAppDefinition added in v0.0.27

func (c *Client) GetAppDefinition(ctx context.Context, params GetAppDefinitionParams, options ...RequestOption) (GetAppDefinitionRes, error)

GetAppDefinition invokes getAppDefinition operation.

Get one app definition.

GET /organizations/{organization_id}/app_definitions/{app_definition_id}

func (*Client) GetAppInstallation

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

GetAppInstallation invokes getAppInstallation operation.

Get one app installation.

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

func (*Client) GetAppSigningSecret added in v0.0.35

func (c *Client) GetAppSigningSecret(ctx context.Context, params GetAppSigningSecretParams, options ...RequestOption) (GetAppSigningSecretRes, error)

GetAppSigningSecret invokes getAppSigningSecret operation.

Get one app signing secret.

GET /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret

func (*Client) GetAuthenticatedUser

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

GetAuthenticatedUser invokes getAuthenticatedUser operation.

Get the authenticated user.

GET /users/me

func (*Client) GetContentType added in v0.0.5

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

GetContentType invokes getContentType operation.

Get a content type.

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

func (*Client) GetContentTypes added in v0.0.46

func (c *Client) GetContentTypes(ctx context.Context, params GetContentTypesParams, options ...RequestOption) (GetContentTypesRes, error)

GetContentTypes invokes getContentTypes operation.

Get a collection of content types.

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

func (*Client) GetDeliveryAPIKey added in v0.0.43

func (c *Client) GetDeliveryAPIKey(ctx context.Context, params GetDeliveryAPIKeyParams, options ...RequestOption) (GetDeliveryAPIKeyRes, error)

GetDeliveryAPIKey invokes getDeliveryAPIKey operation.

Get a single delivery api key.

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

func (*Client) GetEditorInterface added in v0.0.3

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

GetEditorInterface invokes getEditorInterface operation.

Get the editor interface for a content type.

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

func (*Client) GetEntries added in v0.0.46

func (c *Client) GetEntries(ctx context.Context, params GetEntriesParams, options ...RequestOption) (GetEntriesRes, error)

GetEntries invokes getEntries operation.

Get all entries of a space.

GET /spaces/{space_id}/environments/{environment_id}/entries

func (*Client) GetEntry added in v0.0.40

func (c *Client) GetEntry(ctx context.Context, params GetEntryParams, options ...RequestOption) (GetEntryRes, error)

GetEntry invokes getEntry operation.

Get a single entry.

GET /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}

func (*Client) GetEnvironment added in v0.0.41

func (c *Client) GetEnvironment(ctx context.Context, params GetEnvironmentParams, options ...RequestOption) (GetEnvironmentRes, error)

GetEnvironment invokes getEnvironment operation.

Get a single environment.

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

func (*Client) GetEnvironmentAlias added in v0.0.41

func (c *Client) GetEnvironmentAlias(ctx context.Context, params GetEnvironmentAliasParams, options ...RequestOption) (GetEnvironmentAliasRes, error)

GetEnvironmentAlias invokes getEnvironmentAlias operation.

Get a single environment alias.

GET /spaces/{space_id}/environment_aliases/{environment_alias_id}

func (*Client) GetExtension added in v0.0.29

func (c *Client) GetExtension(ctx context.Context, params GetExtensionParams, options ...RequestOption) (GetExtensionRes, error)

GetExtension invokes getExtension operation.

Get a single extension.

GET /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}

func (*Client) GetMarketplaceAppDefinitions added in v0.0.34

func (c *Client) GetMarketplaceAppDefinitions(ctx context.Context, params GetMarketplaceAppDefinitionsParams, options ...RequestOption) (GetMarketplaceAppDefinitionsRes, error)

GetMarketplaceAppDefinitions invokes getMarketplaceAppDefinitions operation.

Get marketplace app definitions.

GET /app_definitions

func (*Client) GetPersonalAccessToken added in v0.0.12

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

GetPersonalAccessToken invokes getPersonalAccessToken operation.

Get a single personal access token.

GET /users/me/access_tokens/{access_token_id}

func (*Client) GetPreviewAPIKey added in v0.0.43

func (c *Client) GetPreviewAPIKey(ctx context.Context, params GetPreviewAPIKeyParams, options ...RequestOption) (GetPreviewAPIKeyRes, error)

GetPreviewAPIKey invokes getPreviewAPIKey operation.

Get a single preview api key.

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

func (*Client) GetResourceProvider added in v0.0.37

func (c *Client) GetResourceProvider(ctx context.Context, params GetResourceProviderParams, options ...RequestOption) (GetResourceProviderRes, error)

GetResourceProvider invokes getResourceProvider operation.

Get one resource provider definition.

GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider

func (*Client) GetResourceType added in v0.0.37

func (c *Client) GetResourceType(ctx context.Context, params GetResourceTypeParams, options ...RequestOption) (GetResourceTypeRes, error)

GetResourceType invokes getResourceType operation.

Get one resource type definition.

GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}

func (*Client) GetRole added in v0.0.15

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

GetRole invokes getRole operation.

Get a role.

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

func (*Client) GetSpaceEnablements added in v0.0.20

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

GetSpaceEnablements invokes getSpaceEnablements operation.

Get enablements for a space.

GET /spaces/{space_id}/enablements

func (*Client) GetTag added in v0.0.50

func (c *Client) GetTag(ctx context.Context, params GetTagParams, options ...RequestOption) (GetTagRes, error)

GetTag invokes getTag operation.

Get a single tag.

GET /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}

func (*Client) GetTeam added in v0.0.43

func (c *Client) GetTeam(ctx context.Context, params GetTeamParams, options ...RequestOption) (GetTeamRes, error)

GetTeam invokes getTeam operation.

Get a single team.

GET /organizations/{organization_id}/teams/{team_id}

func (*Client) GetTeamSpaceMembership added in v0.0.43

func (c *Client) GetTeamSpaceMembership(ctx context.Context, params GetTeamSpaceMembershipParams, options ...RequestOption) (GetTeamSpaceMembershipRes, error)

GetTeamSpaceMembership invokes getTeamSpaceMembership operation.

Get a single team space membership.

GET /spaces/{space_id}/team_space_memberships/{team_space_membership_id}

func (*Client) GetWebhookDefinition added in v0.0.17

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

GetWebhookDefinition invokes getWebhookDefinition operation.

Get a webhook definition.

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

func (*Client) PublishEntry added in v0.0.40

func (c *Client) PublishEntry(ctx context.Context, params PublishEntryParams, options ...RequestOption) (PublishEntryRes, error)

PublishEntry invokes publishEntry operation.

Publish an entry.

PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published

func (*Client) PutAppDefinition added in v0.0.27

func (c *Client) PutAppDefinition(ctx context.Context, request *AppDefinitionData, params PutAppDefinitionParams, options ...RequestOption) (PutAppDefinitionRes, error)

PutAppDefinition invokes putAppDefinition operation.

Create or update an app definition.

PUT /organizations/{organization_id}/app_definitions/{app_definition_id}

func (*Client) PutAppInstallation

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

PutAppInstallation invokes putAppInstallation operation.

Install or update an app.

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

func (*Client) PutAppSigningSecret added in v0.0.35

func (c *Client) PutAppSigningSecret(ctx context.Context, request *AppSigningSecretRequestData, params PutAppSigningSecretParams, options ...RequestOption) (PutAppSigningSecretRes, error)

PutAppSigningSecret invokes putAppSigningSecret operation.

Create or update an app signing secret.

PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret

func (*Client) PutContentType added in v0.0.5

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

PutContentType invokes putContentType operation.

Update a content type.

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

func (*Client) PutEditorInterface added in v0.0.3

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

PutEditorInterface invokes putEditorInterface operation.

Update the editor interface for a content type.

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

func (*Client) PutEntry added in v0.0.40

func (c *Client) PutEntry(ctx context.Context, request *EntryRequest, params PutEntryParams, options ...RequestOption) (PutEntryRes, error)

PutEntry invokes putEntry operation.

Create or update an entry.

PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}

func (*Client) PutExtension added in v0.0.29

func (c *Client) PutExtension(ctx context.Context, request *ExtensionData, params PutExtensionParams, options ...RequestOption) (PutExtensionRes, error)

PutExtension invokes putExtension operation.

Create or update an extension.

PUT /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}

func (*Client) PutResourceProvider added in v0.0.37

func (c *Client) PutResourceProvider(ctx context.Context, request *ResourceProviderRequest, params PutResourceProviderParams, options ...RequestOption) (PutResourceProviderRes, error)

PutResourceProvider invokes putResourceProvider operation.

Create or update a resource provider definition.

PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider

func (*Client) PutResourceType added in v0.0.37

func (c *Client) PutResourceType(ctx context.Context, request *ResourceTypeData, params PutResourceTypeParams, options ...RequestOption) (PutResourceTypeRes, error)

PutResourceType invokes putResourceType operation.

Create or update a resource type definition.

PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}

func (*Client) PutSpaceEnablements added in v0.0.20

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

PutSpaceEnablements invokes putSpaceEnablements operation.

Update enablements for a space.

PUT /spaces/{space_id}/enablements

func (*Client) PutTag added in v0.0.50

func (c *Client) PutTag(ctx context.Context, request *TagRequest, params PutTagParams, options ...RequestOption) (PutTagRes, error)

PutTag invokes putTag operation.

Create or update a tag.

PUT /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}

func (*Client) PutTeam added in v0.0.43

func (c *Client) PutTeam(ctx context.Context, request *TeamData, params PutTeamParams, options ...RequestOption) (PutTeamRes, error)

PutTeam invokes putTeam operation.

Update a single team.

PUT /organizations/{organization_id}/teams/{team_id}

func (*Client) PutTeamSpaceMembership added in v0.0.43

func (c *Client) PutTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, params PutTeamSpaceMembershipParams, options ...RequestOption) (PutTeamSpaceMembershipRes, error)

PutTeamSpaceMembership invokes putTeamSpaceMembership operation.

Update a single team space membership.

PUT /spaces/{space_id}/team_space_memberships/{team_space_membership_id}

func (*Client) RevokePersonalAccessToken added in v0.0.12

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

RevokePersonalAccessToken invokes revokePersonalAccessToken operation.

Revoke a personal access token.

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

func (*Client) UnpublishEntry added in v0.0.40

func (c *Client) UnpublishEntry(ctx context.Context, params UnpublishEntryParams, options ...RequestOption) (UnpublishEntryRes, error)

UnpublishEntry invokes unpublishEntry operation.

Unpublish an entry.

DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published

func (*Client) UpdateDeliveryAPIKey added in v0.0.43

func (c *Client) UpdateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, params UpdateDeliveryAPIKeyParams, options ...RequestOption) (UpdateDeliveryAPIKeyRes, error)

UpdateDeliveryAPIKey invokes updateDeliveryAPIKey operation.

Update a single delivery api key.

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

func (*Client) UpdateRole added in v0.0.15

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

UpdateRole invokes updateRole operation.

Update a role.

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

func (*Client) UpdateWebhookDefinition added in v0.0.17

func (c *Client) UpdateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, params UpdateWebhookDefinitionParams, options ...RequestOption) (UpdateWebhookDefinitionRes, error)

UpdateWebhookDefinition invokes updateWebhookDefinition operation.

Update a webhook definition.

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

type ClientOption

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

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type ContentType added in v0.0.5

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

Merged schema. Ref: #/ContentType

func (*ContentType) Decode added in v0.0.5

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

Decode decodes ContentType from json.

func (*ContentType) Encode added in v0.0.5

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

Encode implements json.Marshaler.

func (*ContentType) GetDescription added in v0.0.5

func (s *ContentType) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ContentType) GetDisplayField added in v0.0.5

func (s *ContentType) GetDisplayField() NilString

GetDisplayField returns the value of DisplayField.

func (*ContentType) GetFields added in v0.0.5

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

GetFields returns the value of Fields.

func (*ContentType) GetMetadata added in v0.0.24

func (s *ContentType) GetMetadata() OptContentTypeMetadata

GetMetadata returns the value of Metadata.

func (*ContentType) GetName added in v0.0.5

func (s *ContentType) GetName() string

GetName returns the value of Name.

func (*ContentType) GetSys added in v0.0.5

func (s *ContentType) GetSys() ContentTypeSys

GetSys returns the value of Sys.

func (*ContentType) MarshalJSON added in v0.0.5

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentType) SetDescription added in v0.0.5

func (s *ContentType) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ContentType) SetDisplayField added in v0.0.5

func (s *ContentType) SetDisplayField(val NilString)

SetDisplayField sets the value of DisplayField.

func (*ContentType) SetFields added in v0.0.5

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

SetFields sets the value of Fields.

func (*ContentType) SetMetadata added in v0.0.24

func (s *ContentType) SetMetadata(val OptContentTypeMetadata)

SetMetadata sets the value of Metadata.

func (*ContentType) SetName added in v0.0.5

func (s *ContentType) SetName(val string)

SetName sets the value of Name.

func (*ContentType) SetSys added in v0.0.5

func (s *ContentType) SetSys(val ContentTypeSys)

SetSys sets the value of Sys.

func (*ContentType) UnmarshalJSON added in v0.0.5

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentType) Validate added in v0.0.5

func (s *ContentType) Validate() error

type ContentTypeCollection added in v0.0.46

type ContentTypeCollection struct {
	Sys   ContentTypeCollectionSys `json:"sys"`
	Total OptInt                   `json:"total"`
	Items []ContentType            `json:"items"`
}

Ref: #/ContentTypeCollection

func (*ContentTypeCollection) Decode added in v0.0.46

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

Decode decodes ContentTypeCollection from json.

func (*ContentTypeCollection) Encode added in v0.0.46

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

Encode implements json.Marshaler.

func (*ContentTypeCollection) GetItems added in v0.0.46

func (s *ContentTypeCollection) GetItems() []ContentType

GetItems returns the value of Items.

func (*ContentTypeCollection) GetSys added in v0.0.46

GetSys returns the value of Sys.

func (*ContentTypeCollection) GetTotal added in v0.0.46

func (s *ContentTypeCollection) GetTotal() OptInt

GetTotal returns the value of Total.

func (*ContentTypeCollection) MarshalJSON added in v0.0.46

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeCollection) SetItems added in v0.0.46

func (s *ContentTypeCollection) SetItems(val []ContentType)

SetItems sets the value of Items.

func (*ContentTypeCollection) SetSys added in v0.0.46

SetSys sets the value of Sys.

func (*ContentTypeCollection) SetTotal added in v0.0.46

func (s *ContentTypeCollection) SetTotal(val OptInt)

SetTotal sets the value of Total.

func (*ContentTypeCollection) UnmarshalJSON added in v0.0.46

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeCollection) Validate added in v0.0.46

func (s *ContentTypeCollection) Validate() error

type ContentTypeCollectionSys added in v0.0.46

type ContentTypeCollectionSys struct {
	Type ContentTypeCollectionSysType `json:"type"`
}

func (*ContentTypeCollectionSys) Decode added in v0.0.46

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

Decode decodes ContentTypeCollectionSys from json.

func (*ContentTypeCollectionSys) Encode added in v0.0.46

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

Encode implements json.Marshaler.

func (*ContentTypeCollectionSys) GetType added in v0.0.46

GetType returns the value of Type.

func (*ContentTypeCollectionSys) MarshalJSON added in v0.0.46

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeCollectionSys) SetType added in v0.0.46

SetType sets the value of Type.

func (*ContentTypeCollectionSys) UnmarshalJSON added in v0.0.46

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeCollectionSys) Validate added in v0.0.46

func (s *ContentTypeCollectionSys) Validate() error

type ContentTypeCollectionSysType added in v0.0.46

type ContentTypeCollectionSysType string
const (
	ContentTypeCollectionSysTypeArray ContentTypeCollectionSysType = "Array"
)

func (ContentTypeCollectionSysType) AllValues added in v0.0.46

AllValues returns all ContentTypeCollectionSysType values.

func (*ContentTypeCollectionSysType) Decode added in v0.0.46

Decode decodes ContentTypeCollectionSysType from json.

func (ContentTypeCollectionSysType) Encode added in v0.0.46

Encode encodes ContentTypeCollectionSysType as json.

func (ContentTypeCollectionSysType) MarshalJSON added in v0.0.46

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

MarshalJSON implements stdjson.Marshaler.

func (ContentTypeCollectionSysType) MarshalText added in v0.0.46

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

MarshalText implements encoding.TextMarshaler.

func (*ContentTypeCollectionSysType) UnmarshalJSON added in v0.0.46

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeCollectionSysType) UnmarshalText added in v0.0.46

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ContentTypeCollectionSysType) Validate added in v0.0.46

func (s ContentTypeCollectionSysType) Validate() error

type ContentTypeFieldsItem added in v0.0.5

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

func (*ContentTypeFieldsItem) Decode added in v0.0.5

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

Decode decodes ContentTypeFieldsItem from json.

func (*ContentTypeFieldsItem) Encode added in v0.0.5

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

Encode implements json.Marshaler.

func (*ContentTypeFieldsItem) GetAllowedResources added in v0.0.22

func (s *ContentTypeFieldsItem) GetAllowedResources() OptNilResourceLinkArray

GetAllowedResources returns the value of AllowedResources.

func (*ContentTypeFieldsItem) GetDefaultValue added in v0.0.5

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

GetDefaultValue returns the value of DefaultValue.

func (*ContentTypeFieldsItem) GetDisabled added in v0.0.5

func (s *ContentTypeFieldsItem) GetDisabled() OptBool

GetDisabled returns the value of Disabled.

func (*ContentTypeFieldsItem) GetID added in v0.0.5

func (s *ContentTypeFieldsItem) GetID() string

GetID returns the value of ID.

func (*ContentTypeFieldsItem) GetItems added in v0.0.5

GetItems returns the value of Items.

func (*ContentTypeFieldsItem) GetLinkType added in v0.0.5

func (s *ContentTypeFieldsItem) GetLinkType() OptString

GetLinkType returns the value of LinkType.

func (*ContentTypeFieldsItem) GetLocalized added in v0.0.5

func (s *ContentTypeFieldsItem) GetLocalized() OptBool

GetLocalized returns the value of Localized.

func (*ContentTypeFieldsItem) GetName added in v0.0.5

func (s *ContentTypeFieldsItem) GetName() string

GetName returns the value of Name.

func (*ContentTypeFieldsItem) GetOmitted added in v0.0.5

func (s *ContentTypeFieldsItem) GetOmitted() OptBool

GetOmitted returns the value of Omitted.

func (*ContentTypeFieldsItem) GetRequired added in v0.0.5

func (s *ContentTypeFieldsItem) GetRequired() OptBool

GetRequired returns the value of Required.

func (*ContentTypeFieldsItem) GetType added in v0.0.5

func (s *ContentTypeFieldsItem) GetType() string

GetType returns the value of Type.

func (*ContentTypeFieldsItem) GetValidations added in v0.0.5

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

GetValidations returns the value of Validations.

func (*ContentTypeFieldsItem) MarshalJSON added in v0.0.5

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeFieldsItem) SetAllowedResources added in v0.0.22

func (s *ContentTypeFieldsItem) SetAllowedResources(val OptNilResourceLinkArray)

SetAllowedResources sets the value of AllowedResources.

func (*ContentTypeFieldsItem) SetDefaultValue added in v0.0.5

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

SetDefaultValue sets the value of DefaultValue.

func (*ContentTypeFieldsItem) SetDisabled added in v0.0.5

func (s *ContentTypeFieldsItem) SetDisabled(val OptBool)

SetDisabled sets the value of Disabled.

func (*ContentTypeFieldsItem) SetID added in v0.0.5

func (s *ContentTypeFieldsItem) SetID(val string)

SetID sets the value of ID.

func (*ContentTypeFieldsItem) SetItems added in v0.0.5

SetItems sets the value of Items.

func (*ContentTypeFieldsItem) SetLinkType added in v0.0.5

func (s *ContentTypeFieldsItem) SetLinkType(val OptString)

SetLinkType sets the value of LinkType.

func (*ContentTypeFieldsItem) SetLocalized added in v0.0.5

func (s *ContentTypeFieldsItem) SetLocalized(val OptBool)

SetLocalized sets the value of Localized.

func (*ContentTypeFieldsItem) SetName added in v0.0.5

func (s *ContentTypeFieldsItem) SetName(val string)

SetName sets the value of Name.

func (*ContentTypeFieldsItem) SetOmitted added in v0.0.5

func (s *ContentTypeFieldsItem) SetOmitted(val OptBool)

SetOmitted sets the value of Omitted.

func (*ContentTypeFieldsItem) SetRequired added in v0.0.5

func (s *ContentTypeFieldsItem) SetRequired(val OptBool)

SetRequired sets the value of Required.

func (*ContentTypeFieldsItem) SetType added in v0.0.5

func (s *ContentTypeFieldsItem) SetType(val string)

SetType sets the value of Type.

func (*ContentTypeFieldsItem) SetValidations added in v0.0.5

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

SetValidations sets the value of Validations.

func (*ContentTypeFieldsItem) UnmarshalJSON added in v0.0.5

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeFieldsItem) Validate added in v0.0.22

func (s *ContentTypeFieldsItem) Validate() error

type ContentTypeFieldsItemItems added in v0.0.5

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

func (*ContentTypeFieldsItemItems) Decode added in v0.0.5

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: #/ContentTypeLink

func NewContentTypeLink(id string) ContentTypeLink

func (*ContentTypeLink) Decode added in v0.0.18

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

Decode decodes ContentTypeLink from json.

func (*ContentTypeLink) Encode added in v0.0.18

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

Encode implements json.Marshaler.

func (*ContentTypeLink) GetSys added in v0.0.18

func (s *ContentTypeLink) GetSys() ContentTypeLinkSys

GetSys returns the value of Sys.

func (*ContentTypeLink) MarshalJSON added in v0.0.18

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeLink) SetSys added in v0.0.18

func (s *ContentTypeLink) SetSys(val ContentTypeLinkSys)

SetSys sets the value of Sys.

func (*ContentTypeLink) UnmarshalJSON added in v0.0.18

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeLink) Validate added in v0.0.18

func (s *ContentTypeLink) Validate() error

type ContentTypeLinkSys added in v0.0.18

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

Merged schema.

func NewContentTypeLinkSys added in v0.0.43

func NewContentTypeLinkSys(id string) ContentTypeLinkSys

func (*ContentTypeLinkSys) Decode added in v0.0.18

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

Decode decodes ContentTypeLinkSys from json.

func (*ContentTypeLinkSys) Encode added in v0.0.18

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

Encode implements json.Marshaler.

func (*ContentTypeLinkSys) GetID added in v0.0.18

func (s *ContentTypeLinkSys) GetID() string

GetID returns the value of ID.

func (*ContentTypeLinkSys) GetLinkType added in v0.0.18

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 ContentTypeMetadata added in v0.0.24

type ContentTypeMetadata struct {
	Annotations jx.Raw                            `json:"annotations"`
	Taxonomy    []ContentTypeMetadataTaxonomyItem `json:"taxonomy"`
}

Ref: #/ContentTypeMetadata

func (*ContentTypeMetadata) Decode added in v0.0.24

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

Decode decodes ContentTypeMetadata from json.

func (*ContentTypeMetadata) Encode added in v0.0.24

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

Encode implements json.Marshaler.

func (*ContentTypeMetadata) GetAnnotations added in v0.0.24

func (s *ContentTypeMetadata) GetAnnotations() jx.Raw

GetAnnotations returns the value of Annotations.

func (*ContentTypeMetadata) GetTaxonomy added in v0.0.24

GetTaxonomy returns the value of Taxonomy.

func (*ContentTypeMetadata) MarshalJSON added in v0.0.24

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeMetadata) SetAnnotations added in v0.0.24

func (s *ContentTypeMetadata) SetAnnotations(val jx.Raw)

SetAnnotations sets the value of Annotations.

func (*ContentTypeMetadata) SetTaxonomy added in v0.0.24

SetTaxonomy sets the value of Taxonomy.

func (*ContentTypeMetadata) UnmarshalJSON added in v0.0.24

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeMetadata) Validate added in v0.0.24

func (s *ContentTypeMetadata) Validate() error

type ContentTypeMetadataTaxonomyItem added in v0.0.24

type ContentTypeMetadataTaxonomyItem struct {
	Sys      ContentTypeMetadataTaxonomyItemSys `json:"sys"`
	Required OptBool                            `json:"required"`
}

Ref: #/ContentTypeMetadataTaxonomyItem

func (*ContentTypeMetadataTaxonomyItem) Decode added in v0.0.24

Decode decodes ContentTypeMetadataTaxonomyItem from json.

func (*ContentTypeMetadataTaxonomyItem) Encode added in v0.0.24

Encode implements json.Marshaler.

func (*ContentTypeMetadataTaxonomyItem) GetRequired added in v0.0.24

func (s *ContentTypeMetadataTaxonomyItem) GetRequired() OptBool

GetRequired returns the value of Required.

func (*ContentTypeMetadataTaxonomyItem) GetSys added in v0.0.24

GetSys returns the value of Sys.

func (*ContentTypeMetadataTaxonomyItem) MarshalJSON added in v0.0.24

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeMetadataTaxonomyItem) SetRequired added in v0.0.24

func (s *ContentTypeMetadataTaxonomyItem) SetRequired(val OptBool)

SetRequired sets the value of Required.

func (*ContentTypeMetadataTaxonomyItem) SetSys added in v0.0.24

SetSys sets the value of Sys.

func (*ContentTypeMetadataTaxonomyItem) UnmarshalJSON added in v0.0.24

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeMetadataTaxonomyItem) Validate added in v0.0.24

func (s *ContentTypeMetadataTaxonomyItem) Validate() error

type ContentTypeMetadataTaxonomyItemSys added in v0.0.24

type ContentTypeMetadataTaxonomyItemSys struct {
	// Merged property.
	Type ContentTypeMetadataTaxonomyItemSysType `json:"type"`
	ID   string                                 `json:"id"`
	// Merged property.
	LinkType ContentTypeMetadataTaxonomyItemSysLinkType `json:"linkType"`
}

Merged schema.

func (*ContentTypeMetadataTaxonomyItemSys) Decode added in v0.0.24

Decode decodes ContentTypeMetadataTaxonomyItemSys from json.

func (*ContentTypeMetadataTaxonomyItemSys) Encode added in v0.0.24

Encode implements json.Marshaler.

func (*ContentTypeMetadataTaxonomyItemSys) GetID added in v0.0.24

GetID returns the value of ID.

func (*ContentTypeMetadataTaxonomyItemSys) GetLinkType added in v0.0.24

GetLinkType returns the value of LinkType.

func (*ContentTypeMetadataTaxonomyItemSys) GetType added in v0.0.24

GetType returns the value of Type.

func (*ContentTypeMetadataTaxonomyItemSys) MarshalJSON added in v0.0.24

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeMetadataTaxonomyItemSys) SetID added in v0.0.24

SetID sets the value of ID.

func (*ContentTypeMetadataTaxonomyItemSys) SetLinkType added in v0.0.24

SetLinkType sets the value of LinkType.

func (*ContentTypeMetadataTaxonomyItemSys) SetType added in v0.0.24

SetType sets the value of Type.

func (*ContentTypeMetadataTaxonomyItemSys) UnmarshalJSON added in v0.0.24

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeMetadataTaxonomyItemSys) Validate added in v0.0.24

type ContentTypeMetadataTaxonomyItemSysLinkType added in v0.0.24

type ContentTypeMetadataTaxonomyItemSysLinkType string

Merged schema.

const (
	ContentTypeMetadataTaxonomyItemSysLinkTypeTaxonomyConcept       ContentTypeMetadataTaxonomyItemSysLinkType = "TaxonomyConcept"
	ContentTypeMetadataTaxonomyItemSysLinkTypeTaxonomyConceptScheme ContentTypeMetadataTaxonomyItemSysLinkType = "TaxonomyConceptScheme"
)

func (ContentTypeMetadataTaxonomyItemSysLinkType) AllValues added in v0.0.24

AllValues returns all ContentTypeMetadataTaxonomyItemSysLinkType values.

func (*ContentTypeMetadataTaxonomyItemSysLinkType) Decode added in v0.0.24

Decode decodes ContentTypeMetadataTaxonomyItemSysLinkType from json.

func (ContentTypeMetadataTaxonomyItemSysLinkType) Encode added in v0.0.24

Encode encodes ContentTypeMetadataTaxonomyItemSysLinkType as json.

func (ContentTypeMetadataTaxonomyItemSysLinkType) MarshalJSON added in v0.0.24

MarshalJSON implements stdjson.Marshaler.

func (ContentTypeMetadataTaxonomyItemSysLinkType) MarshalText added in v0.0.24

MarshalText implements encoding.TextMarshaler.

func (*ContentTypeMetadataTaxonomyItemSysLinkType) UnmarshalJSON added in v0.0.24

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeMetadataTaxonomyItemSysLinkType) UnmarshalText added in v0.0.24

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ContentTypeMetadataTaxonomyItemSysLinkType) Validate added in v0.0.24

type ContentTypeMetadataTaxonomyItemSysType added in v0.0.24

type ContentTypeMetadataTaxonomyItemSysType string

Merged schema.

const (
	ContentTypeMetadataTaxonomyItemSysTypeLink ContentTypeMetadataTaxonomyItemSysType = "Link"
)

func (ContentTypeMetadataTaxonomyItemSysType) AllValues added in v0.0.24

AllValues returns all ContentTypeMetadataTaxonomyItemSysType values.

func (*ContentTypeMetadataTaxonomyItemSysType) Decode added in v0.0.24

Decode decodes ContentTypeMetadataTaxonomyItemSysType from json.

func (ContentTypeMetadataTaxonomyItemSysType) Encode added in v0.0.24

Encode encodes ContentTypeMetadataTaxonomyItemSysType as json.

func (ContentTypeMetadataTaxonomyItemSysType) MarshalJSON added in v0.0.24

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

MarshalJSON implements stdjson.Marshaler.

func (ContentTypeMetadataTaxonomyItemSysType) MarshalText added in v0.0.24

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

MarshalText implements encoding.TextMarshaler.

func (*ContentTypeMetadataTaxonomyItemSysType) UnmarshalJSON added in v0.0.24

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeMetadataTaxonomyItemSysType) UnmarshalText added in v0.0.24

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ContentTypeMetadataTaxonomyItemSysType) Validate added in v0.0.24

type ContentTypeRequestData added in v0.0.42

type ContentTypeRequestData struct {
	Name         string                             `json:"name"`
	Description  OptNilString                       `json:"description"`
	DisplayField string                             `json:"displayField"`
	Fields       []ContentTypeRequestDataFieldsItem `json:"fields"`
	Metadata     OptContentTypeMetadata             `json:"metadata"`
}

Ref: #/ContentTypeRequestData

func (*ContentTypeRequestData) Decode added in v0.0.42

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

Decode decodes ContentTypeRequestData from json.

func (*ContentTypeRequestData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*ContentTypeRequestData) GetDescription added in v0.0.42

func (s *ContentTypeRequestData) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ContentTypeRequestData) GetDisplayField added in v0.0.42

func (s *ContentTypeRequestData) GetDisplayField() string

GetDisplayField returns the value of DisplayField.

func (*ContentTypeRequestData) GetFields added in v0.0.42

GetFields returns the value of Fields.

func (*ContentTypeRequestData) GetMetadata added in v0.0.42

GetMetadata returns the value of Metadata.

func (*ContentTypeRequestData) GetName added in v0.0.42

func (s *ContentTypeRequestData) GetName() string

GetName returns the value of Name.

func (*ContentTypeRequestData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeRequestData) SetDescription added in v0.0.42

func (s *ContentTypeRequestData) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ContentTypeRequestData) SetDisplayField added in v0.0.42

func (s *ContentTypeRequestData) SetDisplayField(val string)

SetDisplayField sets the value of DisplayField.

func (*ContentTypeRequestData) SetFields added in v0.0.42

SetFields sets the value of Fields.

func (*ContentTypeRequestData) SetMetadata added in v0.0.42

func (s *ContentTypeRequestData) SetMetadata(val OptContentTypeMetadata)

SetMetadata sets the value of Metadata.

func (*ContentTypeRequestData) SetName added in v0.0.42

func (s *ContentTypeRequestData) SetName(val string)

SetName sets the value of Name.

func (*ContentTypeRequestData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeRequestData) Validate added in v0.0.42

func (s *ContentTypeRequestData) Validate() error

type ContentTypeRequestDataFieldsItem added in v0.0.42

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

func (*ContentTypeRequestDataFieldsItem) Decode added in v0.0.42

Decode decodes ContentTypeRequestDataFieldsItem from json.

func (*ContentTypeRequestDataFieldsItem) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*ContentTypeRequestDataFieldsItem) GetAllowedResources added in v0.0.42

GetAllowedResources returns the value of AllowedResources.

func (*ContentTypeRequestDataFieldsItem) GetDefaultValue added in v0.0.42

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

GetDefaultValue returns the value of DefaultValue.

func (*ContentTypeRequestDataFieldsItem) GetDisabled added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) GetDisabled() OptBool

GetDisabled returns the value of Disabled.

func (*ContentTypeRequestDataFieldsItem) GetID added in v0.0.42

GetID returns the value of ID.

func (*ContentTypeRequestDataFieldsItem) GetItems added in v0.0.42

GetItems returns the value of Items.

func (*ContentTypeRequestDataFieldsItem) GetLinkType added in v0.0.42

GetLinkType returns the value of LinkType.

func (*ContentTypeRequestDataFieldsItem) GetLocalized added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) GetLocalized() OptBool

GetLocalized returns the value of Localized.

func (*ContentTypeRequestDataFieldsItem) GetName added in v0.0.42

GetName returns the value of Name.

func (*ContentTypeRequestDataFieldsItem) GetOmitted added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) GetOmitted() OptBool

GetOmitted returns the value of Omitted.

func (*ContentTypeRequestDataFieldsItem) GetRequired added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) GetRequired() OptBool

GetRequired returns the value of Required.

func (*ContentTypeRequestDataFieldsItem) GetType added in v0.0.42

GetType returns the value of Type.

func (*ContentTypeRequestDataFieldsItem) GetValidations added in v0.0.42

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

GetValidations returns the value of Validations.

func (*ContentTypeRequestDataFieldsItem) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeRequestDataFieldsItem) SetAllowedResources added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) SetAllowedResources(val OptNilResourceLinkArray)

SetAllowedResources sets the value of AllowedResources.

func (*ContentTypeRequestDataFieldsItem) SetDefaultValue added in v0.0.42

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

SetDefaultValue sets the value of DefaultValue.

func (*ContentTypeRequestDataFieldsItem) SetDisabled added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) SetDisabled(val OptBool)

SetDisabled sets the value of Disabled.

func (*ContentTypeRequestDataFieldsItem) SetID added in v0.0.42

SetID sets the value of ID.

func (*ContentTypeRequestDataFieldsItem) SetItems added in v0.0.42

SetItems sets the value of Items.

func (*ContentTypeRequestDataFieldsItem) SetLinkType added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) SetLinkType(val OptString)

SetLinkType sets the value of LinkType.

func (*ContentTypeRequestDataFieldsItem) SetLocalized added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) SetLocalized(val OptBool)

SetLocalized sets the value of Localized.

func (*ContentTypeRequestDataFieldsItem) SetName added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) SetName(val string)

SetName sets the value of Name.

func (*ContentTypeRequestDataFieldsItem) SetOmitted added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) SetOmitted(val OptBool)

SetOmitted sets the value of Omitted.

func (*ContentTypeRequestDataFieldsItem) SetRequired added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) SetRequired(val OptBool)

SetRequired sets the value of Required.

func (*ContentTypeRequestDataFieldsItem) SetType added in v0.0.42

func (s *ContentTypeRequestDataFieldsItem) SetType(val string)

SetType sets the value of Type.

func (*ContentTypeRequestDataFieldsItem) SetValidations added in v0.0.42

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

SetValidations sets the value of Validations.

func (*ContentTypeRequestDataFieldsItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeRequestDataFieldsItem) Validate added in v0.0.42

type ContentTypeRequestDataFieldsItemItems added in v0.0.42

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

func (*ContentTypeRequestDataFieldsItemItems) Decode added in v0.0.42

Decode decodes ContentTypeRequestDataFieldsItemItems from json.

func (*ContentTypeRequestDataFieldsItemItems) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*ContentTypeRequestDataFieldsItemItems) GetLinkType added in v0.0.42

GetLinkType returns the value of LinkType.

func (*ContentTypeRequestDataFieldsItemItems) GetType added in v0.0.42

GetType returns the value of Type.

func (*ContentTypeRequestDataFieldsItemItems) GetValidations added in v0.0.42

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

GetValidations returns the value of Validations.

func (*ContentTypeRequestDataFieldsItemItems) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeRequestDataFieldsItemItems) SetLinkType added in v0.0.42

SetLinkType sets the value of LinkType.

func (*ContentTypeRequestDataFieldsItemItems) SetType added in v0.0.42

SetType sets the value of Type.

func (*ContentTypeRequestDataFieldsItemItems) SetValidations added in v0.0.42

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

SetValidations sets the value of Validations.

func (*ContentTypeRequestDataFieldsItemItems) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ContentTypeStatusCode added in v0.0.24

type ContentTypeStatusCode struct {
	StatusCode int
	Response   ContentType
}

ContentTypeStatusCode wraps ContentType with StatusCode.

func (*ContentTypeStatusCode) GetResponse added in v0.0.24

func (s *ContentTypeStatusCode) GetResponse() ContentType

GetResponse returns the value of Response.

func (*ContentTypeStatusCode) GetStatusCode added in v0.0.24

func (s *ContentTypeStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*ContentTypeStatusCode) SetResponse added in v0.0.24

func (s *ContentTypeStatusCode) SetResponse(val ContentType)

SetResponse sets the value of Response.

func (*ContentTypeStatusCode) SetStatusCode added in v0.0.24

func (s *ContentTypeStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*ContentTypeStatusCode) Validate added in v0.0.24

func (s *ContentTypeStatusCode) Validate() error

type ContentTypeSys added in v0.0.5

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

Merged schema. Ref: #/ContentTypeSys

func NewContentTypeSys added in v0.0.43

func NewContentTypeSys(spaceID, environmentID, contentTypeID string) ContentTypeSys

func (*ContentTypeSys) Decode added in v0.0.5

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

Decode decodes ContentTypeSys from json.

func (*ContentTypeSys) Encode added in v0.0.5

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

Encode implements json.Marshaler.

func (*ContentTypeSys) GetEnvironment added in v0.0.18

func (s *ContentTypeSys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*ContentTypeSys) GetID added in v0.0.5

func (s *ContentTypeSys) GetID() string

GetID returns the value of ID.

func (*ContentTypeSys) GetPublishedAt added in v0.0.5

func (s *ContentTypeSys) GetPublishedAt() OptDateTime

GetPublishedAt returns the value of PublishedAt.

func (*ContentTypeSys) GetPublishedVersion added in v0.0.5

func (s *ContentTypeSys) GetPublishedVersion() OptInt

GetPublishedVersion returns the value of PublishedVersion.

func (*ContentTypeSys) GetSpace added in v0.0.18

func (s *ContentTypeSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*ContentTypeSys) GetType added in v0.0.5

func (s *ContentTypeSys) GetType() ContentTypeSysType

GetType returns the value of Type.

func (*ContentTypeSys) GetVersion added in v0.0.5

func (s *ContentTypeSys) GetVersion() int

GetVersion returns the value of Version.

func (*ContentTypeSys) MarshalJSON added in v0.0.5

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentTypeSys) SetEnvironment added in v0.0.18

func (s *ContentTypeSys) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*ContentTypeSys) SetID added in v0.0.5

func (s *ContentTypeSys) SetID(val string)

SetID sets the value of ID.

func (*ContentTypeSys) SetPublishedAt added in v0.0.5

func (s *ContentTypeSys) SetPublishedAt(val OptDateTime)

SetPublishedAt sets the value of PublishedAt.

func (*ContentTypeSys) SetPublishedVersion added in v0.0.5

func (s *ContentTypeSys) SetPublishedVersion(val OptInt)

SetPublishedVersion sets the value of PublishedVersion.

func (*ContentTypeSys) SetSpace added in v0.0.18

func (s *ContentTypeSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*ContentTypeSys) SetType added in v0.0.5

func (s *ContentTypeSys) SetType(val ContentTypeSysType)

SetType sets the value of Type.

func (*ContentTypeSys) SetVersion added in v0.0.5

func (s *ContentTypeSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*ContentTypeSys) UnmarshalJSON added in v0.0.5

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeSys) Validate added in v0.0.5

func (s *ContentTypeSys) Validate() error

type ContentTypeSysType added in v0.0.5

type ContentTypeSysType string

Merged schema.

const (
	ContentTypeSysTypeContentType ContentTypeSysType = "ContentType"
)

func (ContentTypeSysType) AllValues added in v0.0.5

func (ContentTypeSysType) AllValues() []ContentTypeSysType

AllValues returns all ContentTypeSysType values.

func (*ContentTypeSysType) Decode added in v0.0.5

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

Decode decodes ContentTypeSysType from json.

func (ContentTypeSysType) Encode added in v0.0.5

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

Encode encodes ContentTypeSysType as json.

func (ContentTypeSysType) MarshalJSON added in v0.0.5

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

MarshalJSON implements stdjson.Marshaler.

func (ContentTypeSysType) MarshalText added in v0.0.5

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

MarshalText implements encoding.TextMarshaler.

func (*ContentTypeSysType) UnmarshalJSON added in v0.0.5

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentTypeSysType) UnmarshalText added in v0.0.5

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ContentTypeSysType) Validate added in v0.0.5

func (s ContentTypeSysType) Validate() error
type ContentfulEntryResourceLink struct {
	Type         ContentfulEntryResourceLinkType `json:"type"`
	Source       string                          `json:"source"`
	ContentTypes []string                        `json:"contentTypes"`
}

Ref: #/ContentfulEntryResourceLink

func (*ContentfulEntryResourceLink) Decode added in v0.0.22

Decode decodes ContentfulEntryResourceLink from json.

func (*ContentfulEntryResourceLink) Encode added in v0.0.22

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

Encode implements json.Marshaler.

func (*ContentfulEntryResourceLink) GetContentTypes added in v0.0.22

func (s *ContentfulEntryResourceLink) GetContentTypes() []string

GetContentTypes returns the value of ContentTypes.

func (*ContentfulEntryResourceLink) GetSource added in v0.0.22

func (s *ContentfulEntryResourceLink) GetSource() string

GetSource returns the value of Source.

func (*ContentfulEntryResourceLink) GetType added in v0.0.22

GetType returns the value of Type.

func (*ContentfulEntryResourceLink) MarshalJSON added in v0.0.22

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

MarshalJSON implements stdjson.Marshaler.

func (*ContentfulEntryResourceLink) SetContentTypes added in v0.0.22

func (s *ContentfulEntryResourceLink) SetContentTypes(val []string)

SetContentTypes sets the value of ContentTypes.

func (*ContentfulEntryResourceLink) SetSource added in v0.0.22

func (s *ContentfulEntryResourceLink) SetSource(val string)

SetSource sets the value of Source.

func (*ContentfulEntryResourceLink) SetType added in v0.0.22

SetType sets the value of Type.

func (*ContentfulEntryResourceLink) UnmarshalJSON added in v0.0.22

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentfulEntryResourceLink) Validate added in v0.0.22

func (s *ContentfulEntryResourceLink) Validate() error

type ContentfulEntryResourceLinkType added in v0.0.22

type ContentfulEntryResourceLinkType string
const (
	ContentfulEntryResourceLinkTypeContentfulEntry ContentfulEntryResourceLinkType = "Contentful:Entry"
)

func (ContentfulEntryResourceLinkType) AllValues added in v0.0.22

AllValues returns all ContentfulEntryResourceLinkType values.

func (*ContentfulEntryResourceLinkType) Decode added in v0.0.22

Decode decodes ContentfulEntryResourceLinkType from json.

func (ContentfulEntryResourceLinkType) Encode added in v0.0.22

Encode encodes ContentfulEntryResourceLinkType as json.

func (ContentfulEntryResourceLinkType) MarshalJSON added in v0.0.22

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

MarshalJSON implements stdjson.Marshaler.

func (ContentfulEntryResourceLinkType) MarshalText added in v0.0.22

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

MarshalText implements encoding.TextMarshaler.

func (*ContentfulEntryResourceLinkType) UnmarshalJSON added in v0.0.22

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContentfulEntryResourceLinkType) UnmarshalText added in v0.0.22

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ContentfulEntryResourceLinkType) Validate added in v0.0.22

type CreateAppDefinitionParams added in v0.0.27

type CreateAppDefinitionParams struct {
	OrganizationID string
}

CreateAppDefinitionParams is parameters of createAppDefinition operation.

type CreateAppDefinitionRes added in v0.0.27

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

type CreateDeliveryAPIKeyParams added in v0.0.43

type CreateDeliveryAPIKeyParams struct {
	SpaceID string
}

CreateDeliveryAPIKeyParams is parameters of createDeliveryAPIKey operation.

type CreateDeliveryAPIKeyRes added in v0.0.43

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

type CreateEntryParams added in v0.0.40

type CreateEntryParams struct {
	SpaceID                string
	EnvironmentID          string
	XContentfulContentType string
}

CreateEntryParams is parameters of createEntry operation.

type CreateEntryRes added in v0.0.40

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

type CreateOrUpdateEnvironmentAliasParams added in v0.0.41

type CreateOrUpdateEnvironmentAliasParams struct {
	XContentfulVersion int
	SpaceID            string
	EnvironmentAliasID string
}

CreateOrUpdateEnvironmentAliasParams is parameters of createOrUpdateEnvironmentAlias operation.

type CreateOrUpdateEnvironmentAliasRes added in v0.0.41

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

type CreateOrUpdateEnvironmentParams added in v0.0.41

type CreateOrUpdateEnvironmentParams struct {
	XContentfulSourceEnvironment OptString `json:",omitempty,omitzero"`
	XContentfulVersion           OptInt    `json:",omitempty,omitzero"`
	SpaceID                      string
	EnvironmentID                string
}

CreateOrUpdateEnvironmentParams is parameters of createOrUpdateEnvironment operation.

type CreateOrUpdateEnvironmentRes added in v0.0.41

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

type CreatePersonalAccessTokenRes added in v0.0.12

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

type CreateRoleParams added in v0.0.15

type CreateRoleParams struct {
	SpaceID string
}

CreateRoleParams is parameters of createRole operation.

type CreateRoleRes added in v0.0.15

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

type CreateTeamParams added in v0.0.43

type CreateTeamParams struct {
	OrganizationID string
}

CreateTeamParams is parameters of createTeam operation.

type CreateTeamRes added in v0.0.43

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

type CreateTeamSpaceMembershipParams added in v0.0.43

type CreateTeamSpaceMembershipParams struct {
	SpaceID         string
	XContentfulTeam string
}

CreateTeamSpaceMembershipParams is parameters of createTeamSpaceMembership operation.

type CreateTeamSpaceMembershipRes added in v0.0.43

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

type CreateWebhookDefinitionParams added in v0.0.17

type CreateWebhookDefinitionParams struct {
	SpaceID string
}

CreateWebhookDefinitionParams is parameters of createWebhookDefinition operation.

type CreateWebhookDefinitionRes added in v0.0.17

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

type DeactivateContentTypeParams added in v0.0.5

type DeactivateContentTypeParams struct {
	SpaceID       string
	EnvironmentID string
	ContentTypeID string
}

DeactivateContentTypeParams is parameters of deactivateContentType operation.

type DeactivateContentTypeRes added in v0.0.5

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

type DeleteAppDefinitionParams added in v0.0.27

type DeleteAppDefinitionParams struct {
	OrganizationID  string
	AppDefinitionID string
}

DeleteAppDefinitionParams is parameters of deleteAppDefinition operation.

type DeleteAppDefinitionRes added in v0.0.27

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

type DeleteAppInstallationParams

type DeleteAppInstallationParams struct {
	SpaceID         string
	EnvironmentID   string
	AppDefinitionID string
}

DeleteAppInstallationParams is parameters of deleteAppInstallation operation.

type DeleteAppInstallationRes

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

type DeleteAppSigningSecretParams added in v0.0.35

type DeleteAppSigningSecretParams struct {
	OrganizationID  string
	AppDefinitionID string
}

DeleteAppSigningSecretParams is parameters of deleteAppSigningSecret operation.

type DeleteAppSigningSecretRes added in v0.0.35

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

type DeleteContentTypeParams added in v0.0.5

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

type DeleteDeliveryAPIKeyParams struct {
	SpaceID  string
	APIKeyID string
}

DeleteDeliveryAPIKeyParams is parameters of deleteDeliveryAPIKey operation.

type DeleteDeliveryAPIKeyRes added in v0.0.43

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

type DeleteEntryParams added in v0.0.40

type DeleteEntryParams struct {
	SpaceID       string
	EnvironmentID string
	EntryID       string
}

DeleteEntryParams is parameters of deleteEntry operation.

type DeleteEntryRes added in v0.0.40

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

type DeleteEnvironmentAliasParams added in v0.0.41

type DeleteEnvironmentAliasParams struct {
	SpaceID            string
	EnvironmentAliasID string
}

DeleteEnvironmentAliasParams is parameters of deleteEnvironmentAlias operation.

type DeleteEnvironmentAliasRes added in v0.0.41

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

type DeleteEnvironmentParams added in v0.0.41

type DeleteEnvironmentParams struct {
	SpaceID       string
	EnvironmentID string
}

DeleteEnvironmentParams is parameters of deleteEnvironment operation.

type DeleteEnvironmentRes added in v0.0.41

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

type DeleteExtensionParams added in v0.0.29

type DeleteExtensionParams struct {
	SpaceID       string
	EnvironmentID string
	ExtensionID   string
}

DeleteExtensionParams is parameters of deleteExtension operation.

type DeleteExtensionRes added in v0.0.29

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

type DeleteResourceProviderParams added in v0.0.37

type DeleteResourceProviderParams struct {
	OrganizationID  string
	AppDefinitionID string
}

DeleteResourceProviderParams is parameters of deleteResourceProvider operation.

type DeleteResourceProviderRes added in v0.0.37

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

type DeleteResourceTypeParams added in v0.0.37

type DeleteResourceTypeParams struct {
	OrganizationID  string
	AppDefinitionID string
	ResourceTypeID  string
}

DeleteResourceTypeParams is parameters of deleteResourceType operation.

type DeleteResourceTypeRes added in v0.0.37

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

type DeleteRoleParams added in v0.0.15

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 DeleteTagParams added in v0.0.50

type DeleteTagParams struct {
	SpaceID            string
	EnvironmentID      string
	TagID              string
	XContentfulVersion OptInt `json:",omitempty,omitzero"`
}

DeleteTagParams is parameters of deleteTag operation.

type DeleteTagRes added in v0.0.50

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

type DeleteTeamParams added in v0.0.43

type DeleteTeamParams struct {
	OrganizationID string
	TeamID         string
}

DeleteTeamParams is parameters of deleteTeam operation.

type DeleteTeamRes added in v0.0.43

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

type DeleteTeamSpaceMembershipParams added in v0.0.43

type DeleteTeamSpaceMembershipParams struct {
	SpaceID               string
	TeamSpaceMembershipID string
}

DeleteTeamSpaceMembershipParams is parameters of deleteTeamSpaceMembership operation.

type DeleteTeamSpaceMembershipRes added in v0.0.43

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

type DeleteWebhookDefinitionParams added in v0.0.17

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: #/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 EditorInterfaceData added in v0.0.42

type EditorInterfaceData struct {
	EditorLayout  OptNilEditorInterfaceEditorLayoutItemArray      `json:"editorLayout"`
	Controls      OptNilEditorInterfaceDataControlsItemArray      `json:"controls"`
	GroupControls OptNilEditorInterfaceDataGroupControlsItemArray `json:"groupControls"`
	Sidebar       OptNilEditorInterfaceDataSidebarItemArray       `json:"sidebar"`
}

Ref: #/EditorInterfaceData

func (*EditorInterfaceData) Decode added in v0.0.42

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

Decode decodes EditorInterfaceData from json.

func (*EditorInterfaceData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*EditorInterfaceData) GetControls added in v0.0.42

GetControls returns the value of Controls.

func (*EditorInterfaceData) GetEditorLayout added in v0.0.42

GetEditorLayout returns the value of EditorLayout.

func (*EditorInterfaceData) GetGroupControls added in v0.0.42

GetGroupControls returns the value of GroupControls.

func (*EditorInterfaceData) GetSidebar added in v0.0.42

GetSidebar returns the value of Sidebar.

func (*EditorInterfaceData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceData) SetControls added in v0.0.42

SetControls sets the value of Controls.

func (*EditorInterfaceData) SetEditorLayout added in v0.0.42

SetEditorLayout sets the value of EditorLayout.

func (*EditorInterfaceData) SetGroupControls added in v0.0.42

SetGroupControls sets the value of GroupControls.

func (*EditorInterfaceData) SetSidebar added in v0.0.42

SetSidebar sets the value of Sidebar.

func (*EditorInterfaceData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditorInterfaceData) Validate added in v0.0.42

func (s *EditorInterfaceData) Validate() error

type EditorInterfaceDataControlsItem added in v0.0.42

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

func (*EditorInterfaceDataControlsItem) Decode added in v0.0.42

Decode decodes EditorInterfaceDataControlsItem from json.

func (*EditorInterfaceDataControlsItem) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*EditorInterfaceDataControlsItem) GetFieldId added in v0.0.42

func (s *EditorInterfaceDataControlsItem) GetFieldId() string

GetFieldId returns the value of FieldId.

func (*EditorInterfaceDataControlsItem) GetSettings added in v0.0.42

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

GetSettings returns the value of Settings.

func (*EditorInterfaceDataControlsItem) GetWidgetId added in v0.0.42

func (s *EditorInterfaceDataControlsItem) GetWidgetId() OptString

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceDataControlsItem) GetWidgetNamespace added in v0.0.42

func (s *EditorInterfaceDataControlsItem) GetWidgetNamespace() OptString

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceDataControlsItem) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceDataControlsItem) SetFieldId added in v0.0.42

func (s *EditorInterfaceDataControlsItem) SetFieldId(val string)

SetFieldId sets the value of FieldId.

func (*EditorInterfaceDataControlsItem) SetSettings added in v0.0.42

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

SetSettings sets the value of Settings.

func (*EditorInterfaceDataControlsItem) SetWidgetId added in v0.0.42

func (s *EditorInterfaceDataControlsItem) SetWidgetId(val OptString)

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceDataControlsItem) SetWidgetNamespace added in v0.0.42

func (s *EditorInterfaceDataControlsItem) SetWidgetNamespace(val OptString)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceDataControlsItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceDataGroupControlsItem added in v0.0.42

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

func (*EditorInterfaceDataGroupControlsItem) Decode added in v0.0.42

Decode decodes EditorInterfaceDataGroupControlsItem from json.

func (*EditorInterfaceDataGroupControlsItem) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*EditorInterfaceDataGroupControlsItem) GetGroupId added in v0.0.42

GetGroupId returns the value of GroupId.

func (*EditorInterfaceDataGroupControlsItem) GetSettings added in v0.0.42

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

GetSettings returns the value of Settings.

func (*EditorInterfaceDataGroupControlsItem) GetWidgetId added in v0.0.42

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceDataGroupControlsItem) GetWidgetNamespace added in v0.0.42

func (s *EditorInterfaceDataGroupControlsItem) GetWidgetNamespace() OptString

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceDataGroupControlsItem) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceDataGroupControlsItem) SetGroupId added in v0.0.42

func (s *EditorInterfaceDataGroupControlsItem) SetGroupId(val string)

SetGroupId sets the value of GroupId.

func (*EditorInterfaceDataGroupControlsItem) SetSettings added in v0.0.42

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

SetSettings sets the value of Settings.

func (*EditorInterfaceDataGroupControlsItem) SetWidgetId added in v0.0.42

func (s *EditorInterfaceDataGroupControlsItem) SetWidgetId(val OptString)

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceDataGroupControlsItem) SetWidgetNamespace added in v0.0.42

func (s *EditorInterfaceDataGroupControlsItem) SetWidgetNamespace(val OptString)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceDataGroupControlsItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceDataSidebarItem added in v0.0.42

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

func (*EditorInterfaceDataSidebarItem) Decode added in v0.0.42

Decode decodes EditorInterfaceDataSidebarItem from json.

func (*EditorInterfaceDataSidebarItem) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*EditorInterfaceDataSidebarItem) GetDisabled added in v0.0.42

func (s *EditorInterfaceDataSidebarItem) GetDisabled() OptBool

GetDisabled returns the value of Disabled.

func (*EditorInterfaceDataSidebarItem) GetSettings added in v0.0.42

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

GetSettings returns the value of Settings.

func (*EditorInterfaceDataSidebarItem) GetWidgetId added in v0.0.42

func (s *EditorInterfaceDataSidebarItem) GetWidgetId() string

GetWidgetId returns the value of WidgetId.

func (*EditorInterfaceDataSidebarItem) GetWidgetNamespace added in v0.0.42

func (s *EditorInterfaceDataSidebarItem) GetWidgetNamespace() string

GetWidgetNamespace returns the value of WidgetNamespace.

func (*EditorInterfaceDataSidebarItem) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceDataSidebarItem) SetDisabled added in v0.0.42

func (s *EditorInterfaceDataSidebarItem) SetDisabled(val OptBool)

SetDisabled sets the value of Disabled.

func (*EditorInterfaceDataSidebarItem) SetSettings added in v0.0.42

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

SetSettings sets the value of Settings.

func (*EditorInterfaceDataSidebarItem) SetWidgetId added in v0.0.42

func (s *EditorInterfaceDataSidebarItem) SetWidgetId(val string)

SetWidgetId sets the value of WidgetId.

func (*EditorInterfaceDataSidebarItem) SetWidgetNamespace added in v0.0.42

func (s *EditorInterfaceDataSidebarItem) SetWidgetNamespace(val string)

SetWidgetNamespace sets the value of WidgetNamespace.

func (*EditorInterfaceDataSidebarItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceEditorLayoutFieldItem added in v0.0.21

type EditorInterfaceEditorLayoutFieldItem struct {
	FieldId string `json:"fieldId"`
}

Ref: #/EditorInterfaceEditorLayoutFieldItem

func (*EditorInterfaceEditorLayoutFieldItem) Decode added in v0.0.21

Decode decodes EditorInterfaceEditorLayoutFieldItem from json.

func (*EditorInterfaceEditorLayoutFieldItem) Encode added in v0.0.21

Encode implements json.Marshaler.

func (*EditorInterfaceEditorLayoutFieldItem) GetFieldId added in v0.0.21

GetFieldId returns the value of FieldId.

func (*EditorInterfaceEditorLayoutFieldItem) MarshalJSON added in v0.0.21

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

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceEditorLayoutFieldItem) SetFieldId added in v0.0.21

func (s *EditorInterfaceEditorLayoutFieldItem) SetFieldId(val string)

SetFieldId sets the value of FieldId.

func (*EditorInterfaceEditorLayoutFieldItem) UnmarshalJSON added in v0.0.21

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceEditorLayoutGroupItem added in v0.0.21

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

Ref: #/EditorInterfaceEditorLayoutGroupItem

func (*EditorInterfaceEditorLayoutGroupItem) Decode added in v0.0.21

Decode decodes EditorInterfaceEditorLayoutGroupItem from json.

func (*EditorInterfaceEditorLayoutGroupItem) Encode added in v0.0.21

Encode implements json.Marshaler.

func (*EditorInterfaceEditorLayoutGroupItem) GetGroupId added in v0.0.21

GetGroupId returns the value of GroupId.

func (*EditorInterfaceEditorLayoutGroupItem) GetItems added in v0.0.21

GetItems returns the value of Items.

func (*EditorInterfaceEditorLayoutGroupItem) GetName added in v0.0.21

GetName returns the value of Name.

func (*EditorInterfaceEditorLayoutGroupItem) MarshalJSON added in v0.0.21

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

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceEditorLayoutGroupItem) SetGroupId added in v0.0.21

func (s *EditorInterfaceEditorLayoutGroupItem) SetGroupId(val string)

SetGroupId sets the value of GroupId.

func (*EditorInterfaceEditorLayoutGroupItem) SetItems added in v0.0.21

SetItems sets the value of Items.

func (*EditorInterfaceEditorLayoutGroupItem) SetName added in v0.0.21

SetName sets the value of Name.

func (*EditorInterfaceEditorLayoutGroupItem) UnmarshalJSON added in v0.0.21

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceEditorLayoutItem added in v0.0.16

type EditorInterfaceEditorLayoutItem struct {
	Type                                 EditorInterfaceEditorLayoutItemType // switch on this field
	EditorInterfaceEditorLayoutGroupItem EditorInterfaceEditorLayoutGroupItem
	EditorInterfaceEditorLayoutFieldItem EditorInterfaceEditorLayoutFieldItem
}

Ref: #/EditorInterfaceEditorLayoutItem EditorInterfaceEditorLayoutItem represents sum type.

func NewEditorInterfaceEditorLayoutFieldItemEditorInterfaceEditorLayoutItem added in v0.0.21

func NewEditorInterfaceEditorLayoutFieldItemEditorInterfaceEditorLayoutItem(v EditorInterfaceEditorLayoutFieldItem) EditorInterfaceEditorLayoutItem

NewEditorInterfaceEditorLayoutFieldItemEditorInterfaceEditorLayoutItem returns new EditorInterfaceEditorLayoutItem from EditorInterfaceEditorLayoutFieldItem.

func NewEditorInterfaceEditorLayoutGroupItemEditorInterfaceEditorLayoutItem added in v0.0.21

func NewEditorInterfaceEditorLayoutGroupItemEditorInterfaceEditorLayoutItem(v EditorInterfaceEditorLayoutGroupItem) EditorInterfaceEditorLayoutItem

NewEditorInterfaceEditorLayoutGroupItemEditorInterfaceEditorLayoutItem returns new EditorInterfaceEditorLayoutItem from EditorInterfaceEditorLayoutGroupItem.

func (*EditorInterfaceEditorLayoutItem) Decode added in v0.0.16

Decode decodes EditorInterfaceEditorLayoutItem from json.

func (EditorInterfaceEditorLayoutItem) Encode added in v0.0.16

Encode encodes EditorInterfaceEditorLayoutItem as json.

func (EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutFieldItem added in v0.0.21

func (s EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutFieldItem() (v EditorInterfaceEditorLayoutFieldItem, ok bool)

GetEditorInterfaceEditorLayoutFieldItem returns EditorInterfaceEditorLayoutFieldItem and true boolean if EditorInterfaceEditorLayoutItem is EditorInterfaceEditorLayoutFieldItem.

func (EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutGroupItem added in v0.0.21

func (s EditorInterfaceEditorLayoutItem) GetEditorInterfaceEditorLayoutGroupItem() (v EditorInterfaceEditorLayoutGroupItem, ok bool)

GetEditorInterfaceEditorLayoutGroupItem returns EditorInterfaceEditorLayoutGroupItem and true boolean if EditorInterfaceEditorLayoutItem is EditorInterfaceEditorLayoutGroupItem.

func (EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutFieldItem added in v0.0.21

func (s EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutFieldItem() bool

IsEditorInterfaceEditorLayoutFieldItem reports whether EditorInterfaceEditorLayoutItem is EditorInterfaceEditorLayoutFieldItem.

func (EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutGroupItem added in v0.0.21

func (s EditorInterfaceEditorLayoutItem) IsEditorInterfaceEditorLayoutGroupItem() bool

IsEditorInterfaceEditorLayoutGroupItem reports whether EditorInterfaceEditorLayoutItem is EditorInterfaceEditorLayoutGroupItem.

func (EditorInterfaceEditorLayoutItem) MarshalJSON added in v0.0.16

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

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutFieldItem added in v0.0.21

func (s *EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutFieldItem(v EditorInterfaceEditorLayoutFieldItem)

SetEditorInterfaceEditorLayoutFieldItem sets EditorInterfaceEditorLayoutItem to EditorInterfaceEditorLayoutFieldItem.

func (*EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutGroupItem added in v0.0.21

func (s *EditorInterfaceEditorLayoutItem) SetEditorInterfaceEditorLayoutGroupItem(v EditorInterfaceEditorLayoutGroupItem)

SetEditorInterfaceEditorLayoutGroupItem sets EditorInterfaceEditorLayoutItem to EditorInterfaceEditorLayoutGroupItem.

func (*EditorInterfaceEditorLayoutItem) UnmarshalJSON added in v0.0.16

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditorInterfaceEditorLayoutItemType added in v0.0.21

type EditorInterfaceEditorLayoutItemType string

EditorInterfaceEditorLayoutItemType is oneOf type of EditorInterfaceEditorLayoutItem.

const (
	EditorInterfaceEditorLayoutGroupItemEditorInterfaceEditorLayoutItem EditorInterfaceEditorLayoutItemType = "EditorInterfaceEditorLayoutGroupItem"
	EditorInterfaceEditorLayoutFieldItemEditorInterfaceEditorLayoutItem EditorInterfaceEditorLayoutItemType = "EditorInterfaceEditorLayoutFieldItem"
)

Possible values for EditorInterfaceEditorLayoutItemType.

type EditorInterfaceGroupControlsItem added in v0.0.16

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

func (*EditorInterfaceGroupControlsItem) Decode added in v0.0.16

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 EditorInterfaceStatusCode added in v0.0.24

type EditorInterfaceStatusCode struct {
	StatusCode int
	Response   EditorInterface
}

EditorInterfaceStatusCode wraps EditorInterface with StatusCode.

func (*EditorInterfaceStatusCode) GetResponse added in v0.0.24

func (s *EditorInterfaceStatusCode) GetResponse() EditorInterface

GetResponse returns the value of Response.

func (*EditorInterfaceStatusCode) GetStatusCode added in v0.0.24

func (s *EditorInterfaceStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*EditorInterfaceStatusCode) SetResponse added in v0.0.24

func (s *EditorInterfaceStatusCode) SetResponse(val EditorInterface)

SetResponse sets the value of Response.

func (*EditorInterfaceStatusCode) SetStatusCode added in v0.0.24

func (s *EditorInterfaceStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*EditorInterfaceStatusCode) Validate added in v0.0.24

func (s *EditorInterfaceStatusCode) Validate() error

type EditorInterfaceSys added in v0.0.3

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

Merged schema. Ref: #/EditorInterfaceSys

func NewEditorInterfaceSys added in v0.0.43

func NewEditorInterfaceSys(spaceID, environmentID, contentTypeID, id string) EditorInterfaceSys

func (*EditorInterfaceSys) Decode added in v0.0.3

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

Decode decodes EditorInterfaceSys from json.

func (*EditorInterfaceSys) Encode added in v0.0.3

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

Encode implements json.Marshaler.

func (*EditorInterfaceSys) GetContentType added in v0.0.18

func (s *EditorInterfaceSys) GetContentType() ContentTypeLink

GetContentType returns the value of ContentType.

func (*EditorInterfaceSys) GetEnvironment added in v0.0.18

func (s *EditorInterfaceSys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*EditorInterfaceSys) GetID added in v0.0.3

func (s *EditorInterfaceSys) GetID() string

GetID returns the value of ID.

func (*EditorInterfaceSys) GetSpace added in v0.0.18

func (s *EditorInterfaceSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*EditorInterfaceSys) GetType added in v0.0.3

GetType returns the value of Type.

func (*EditorInterfaceSys) GetVersion added in v0.0.3

func (s *EditorInterfaceSys) GetVersion() int

GetVersion returns the value of Version.

func (*EditorInterfaceSys) MarshalJSON added in v0.0.3

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

MarshalJSON implements stdjson.Marshaler.

func (*EditorInterfaceSys) SetContentType added in v0.0.18

func (s *EditorInterfaceSys) SetContentType(val ContentTypeLink)

SetContentType sets the value of ContentType.

func (*EditorInterfaceSys) SetEnvironment added in v0.0.18

func (s *EditorInterfaceSys) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*EditorInterfaceSys) SetID added in v0.0.3

func (s *EditorInterfaceSys) SetID(val string)

SetID sets the value of ID.

func (*EditorInterfaceSys) SetSpace added in v0.0.18

func (s *EditorInterfaceSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*EditorInterfaceSys) SetType added in v0.0.3

SetType sets the value of Type.

func (*EditorInterfaceSys) SetVersion added in v0.0.3

func (s *EditorInterfaceSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*EditorInterfaceSys) UnmarshalJSON added in v0.0.3

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditorInterfaceSys) Validate added in v0.0.3

func (s *EditorInterfaceSys) Validate() error

type EditorInterfaceSysType added in v0.0.3

type EditorInterfaceSysType string

Merged schema.

const (
	EditorInterfaceSysTypeEditorInterface EditorInterfaceSysType = "EditorInterface"
)

func (EditorInterfaceSysType) AllValues added in v0.0.3

AllValues returns all EditorInterfaceSysType values.

func (*EditorInterfaceSysType) Decode added in v0.0.3

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

Decode decodes EditorInterfaceSysType from json.

func (EditorInterfaceSysType) Encode added in v0.0.3

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

Encode encodes EditorInterfaceSysType as json.

func (EditorInterfaceSysType) MarshalJSON added in v0.0.3

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

MarshalJSON implements stdjson.Marshaler.

func (EditorInterfaceSysType) MarshalText added in v0.0.3

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

MarshalText implements encoding.TextMarshaler.

func (*EditorInterfaceSysType) UnmarshalJSON added in v0.0.3

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditorInterfaceSysType) UnmarshalText added in v0.0.3

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EditorInterfaceSysType) Validate added in v0.0.3

func (s EditorInterfaceSysType) Validate() error

type Entry added in v0.0.40

type Entry struct {
	Sys      EntrySys         `json:"sys"`
	Metadata OptEntryMetadata `json:"metadata"`
	Fields   OptEntryFields   `json:"fields"`
}

Ref: #/Entry

func (*Entry) Decode added in v0.0.40

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

Decode decodes Entry from json.

func (*Entry) Encode added in v0.0.40

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

Encode implements json.Marshaler.

func (*Entry) GetFields added in v0.0.40

func (s *Entry) GetFields() OptEntryFields

GetFields returns the value of Fields.

func (*Entry) GetMetadata added in v0.0.40

func (s *Entry) GetMetadata() OptEntryMetadata

GetMetadata returns the value of Metadata.

func (*Entry) GetSys added in v0.0.40

func (s *Entry) GetSys() EntrySys

GetSys returns the value of Sys.

func (*Entry) MarshalJSON added in v0.0.40

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

MarshalJSON implements stdjson.Marshaler.

func (*Entry) SetFields added in v0.0.40

func (s *Entry) SetFields(val OptEntryFields)

SetFields sets the value of Fields.

func (*Entry) SetMetadata added in v0.0.40

func (s *Entry) SetMetadata(val OptEntryMetadata)

SetMetadata sets the value of Metadata.

func (*Entry) SetSys added in v0.0.40

func (s *Entry) SetSys(val EntrySys)

SetSys sets the value of Sys.

func (*Entry) UnmarshalJSON added in v0.0.40

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Entry) Validate added in v0.0.40

func (s *Entry) Validate() error

type EntryCollection added in v0.0.46

type EntryCollection struct {
	Sys   EntryCollectionSys `json:"sys"`
	Total OptInt             `json:"total"`
	Items []Entry            `json:"items"`
}

Ref: #/EntryCollection

func (*EntryCollection) Decode added in v0.0.46

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

Decode decodes EntryCollection from json.

func (*EntryCollection) Encode added in v0.0.46

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

Encode implements json.Marshaler.

func (*EntryCollection) GetItems added in v0.0.46

func (s *EntryCollection) GetItems() []Entry

GetItems returns the value of Items.

func (*EntryCollection) GetSys added in v0.0.46

func (s *EntryCollection) GetSys() EntryCollectionSys

GetSys returns the value of Sys.

func (*EntryCollection) GetTotal added in v0.0.46

func (s *EntryCollection) GetTotal() OptInt

GetTotal returns the value of Total.

func (*EntryCollection) MarshalJSON added in v0.0.46

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

MarshalJSON implements stdjson.Marshaler.

func (*EntryCollection) SetItems added in v0.0.46

func (s *EntryCollection) SetItems(val []Entry)

SetItems sets the value of Items.

func (*EntryCollection) SetSys added in v0.0.46

func (s *EntryCollection) SetSys(val EntryCollectionSys)

SetSys sets the value of Sys.

func (*EntryCollection) SetTotal added in v0.0.46

func (s *EntryCollection) SetTotal(val OptInt)

SetTotal sets the value of Total.

func (*EntryCollection) UnmarshalJSON added in v0.0.46

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EntryCollection) Validate added in v0.0.46

func (s *EntryCollection) Validate() error

type EntryCollectionSys added in v0.0.46

type EntryCollectionSys struct {
	Type EntryCollectionSysType `json:"type"`
}

func (*EntryCollectionSys) Decode added in v0.0.46

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

Decode decodes EntryCollectionSys from json.

func (*EntryCollectionSys) Encode added in v0.0.46

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

Encode implements json.Marshaler.

func (*EntryCollectionSys) GetType added in v0.0.46

GetType returns the value of Type.

func (*EntryCollectionSys) MarshalJSON added in v0.0.46

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

MarshalJSON implements stdjson.Marshaler.

func (*EntryCollectionSys) SetType added in v0.0.46

SetType sets the value of Type.

func (*EntryCollectionSys) UnmarshalJSON added in v0.0.46

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EntryCollectionSys) Validate added in v0.0.46

func (s *EntryCollectionSys) Validate() error

type EntryCollectionSysType added in v0.0.46

type EntryCollectionSysType string
const (
	EntryCollectionSysTypeArray EntryCollectionSysType = "Array"
)

func (EntryCollectionSysType) AllValues added in v0.0.46

AllValues returns all EntryCollectionSysType values.

func (*EntryCollectionSysType) Decode added in v0.0.46

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

Decode decodes EntryCollectionSysType from json.

func (EntryCollectionSysType) Encode added in v0.0.46

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

Encode encodes EntryCollectionSysType as json.

func (EntryCollectionSysType) MarshalJSON added in v0.0.46

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

MarshalJSON implements stdjson.Marshaler.

func (EntryCollectionSysType) MarshalText added in v0.0.46

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

MarshalText implements encoding.TextMarshaler.

func (*EntryCollectionSysType) UnmarshalJSON added in v0.0.46

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EntryCollectionSysType) UnmarshalText added in v0.0.46

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EntryCollectionSysType) Validate added in v0.0.46

func (s EntryCollectionSysType) Validate() error

type EntryFields added in v0.0.40

type EntryFields map[string]jx.Raw

Ref: #/EntryFields

func (*EntryFields) Decode added in v0.0.40

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

Decode decodes EntryFields from json.

func (EntryFields) Encode added in v0.0.40

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

Encode implements json.Marshaler.

func (EntryFields) MarshalJSON added in v0.0.40

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

MarshalJSON implements stdjson.Marshaler.

func (*EntryFields) UnmarshalJSON added in v0.0.40

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EntryMetadata added in v0.0.40

type EntryMetadata struct {
	Concepts []TaxonomyConceptLink `json:"concepts"`
	Tags     []TagLink             `json:"tags"`
}

Ref: #/EntryMetadata

func (*EntryMetadata) Decode added in v0.0.40

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

Decode decodes EntryMetadata from json.

func (*EntryMetadata) Encode added in v0.0.40

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

Encode implements json.Marshaler.

func (*EntryMetadata) GetConcepts added in v0.0.46

func (s *EntryMetadata) GetConcepts() []TaxonomyConceptLink

GetConcepts returns the value of Concepts.

func (*EntryMetadata) GetTags added in v0.0.40

func (s *EntryMetadata) GetTags() []TagLink

GetTags returns the value of Tags.

func (*EntryMetadata) MarshalJSON added in v0.0.40

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

MarshalJSON implements stdjson.Marshaler.

func (*EntryMetadata) SetConcepts added in v0.0.46

func (s *EntryMetadata) SetConcepts(val []TaxonomyConceptLink)

SetConcepts sets the value of Concepts.

func (*EntryMetadata) SetTags added in v0.0.40

func (s *EntryMetadata) SetTags(val []TagLink)

SetTags sets the value of Tags.

func (*EntryMetadata) UnmarshalJSON added in v0.0.40

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EntryMetadata) Validate added in v0.0.40

func (s *EntryMetadata) Validate() error

type EntryRequest added in v0.0.40

type EntryRequest struct {
	Metadata OptEntryMetadata `json:"metadata"`
	Fields   OptEntryFields   `json:"fields"`
}

Ref: #/EntryRequest

func (*EntryRequest) Decode added in v0.0.40

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

Decode decodes EntryRequest from json.

func (*EntryRequest) Encode added in v0.0.40

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

Encode implements json.Marshaler.

func (*EntryRequest) GetFields added in v0.0.40

func (s *EntryRequest) GetFields() OptEntryFields

GetFields returns the value of Fields.

func (*EntryRequest) GetMetadata added in v0.0.40

func (s *EntryRequest) GetMetadata() OptEntryMetadata

GetMetadata returns the value of Metadata.

func (*EntryRequest) MarshalJSON added in v0.0.40

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

MarshalJSON implements stdjson.Marshaler.

func (*EntryRequest) SetFields added in v0.0.40

func (s *EntryRequest) SetFields(val OptEntryFields)

SetFields sets the value of Fields.

func (*EntryRequest) SetMetadata added in v0.0.40

func (s *EntryRequest) SetMetadata(val OptEntryMetadata)

SetMetadata sets the value of Metadata.

func (*EntryRequest) UnmarshalJSON added in v0.0.40

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EntryRequest) Validate added in v0.0.40

func (s *EntryRequest) Validate() error

type EntryStatusCode added in v0.0.40

type EntryStatusCode struct {
	StatusCode int
	Response   Entry
}

EntryStatusCode wraps Entry with StatusCode.

func (*EntryStatusCode) GetResponse added in v0.0.40

func (s *EntryStatusCode) GetResponse() Entry

GetResponse returns the value of Response.

func (*EntryStatusCode) GetStatusCode added in v0.0.40

func (s *EntryStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*EntryStatusCode) SetResponse added in v0.0.40

func (s *EntryStatusCode) SetResponse(val Entry)

SetResponse sets the value of Response.

func (*EntryStatusCode) SetStatusCode added in v0.0.40

func (s *EntryStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*EntryStatusCode) Validate added in v0.0.40

func (s *EntryStatusCode) Validate() error

type EntrySys added in v0.0.40

type EntrySys struct {
	Space       SpaceLink       `json:"space"`
	Environment EnvironmentLink `json:"environment"`
	// Merged property.
	Type             EntrySysType    `json:"type"`
	ID               string          `json:"id"`
	ContentType      ContentTypeLink `json:"contentType"`
	Version          int             `json:"version"`
	PublishedVersion OptInt          `json:"publishedVersion"`
	PublishedAt      OptDateTime     `json:"publishedAt"`
}

Merged schema. Ref: #/EntrySys

func NewEntrySys added in v0.0.43

func NewEntrySys(spaceID, environmentID, contentTypeID, entryID string) EntrySys

func (*EntrySys) Decode added in v0.0.40

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

Decode decodes EntrySys from json.

func (*EntrySys) Encode added in v0.0.40

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

Encode implements json.Marshaler.

func (*EntrySys) GetContentType added in v0.0.40

func (s *EntrySys) GetContentType() ContentTypeLink

GetContentType returns the value of ContentType.

func (*EntrySys) GetEnvironment added in v0.0.40

func (s *EntrySys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*EntrySys) GetID added in v0.0.40

func (s *EntrySys) GetID() string

GetID returns the value of ID.

func (*EntrySys) GetPublishedAt added in v0.0.40

func (s *EntrySys) GetPublishedAt() OptDateTime

GetPublishedAt returns the value of PublishedAt.

func (*EntrySys) GetPublishedVersion added in v0.0.40

func (s *EntrySys) GetPublishedVersion() OptInt

GetPublishedVersion returns the value of PublishedVersion.

func (*EntrySys) GetSpace added in v0.0.40

func (s *EntrySys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*EntrySys) GetType added in v0.0.40

func (s *EntrySys) GetType() EntrySysType

GetType returns the value of Type.

func (*EntrySys) GetVersion added in v0.0.40

func (s *EntrySys) GetVersion() int

GetVersion returns the value of Version.

func (*EntrySys) MarshalJSON added in v0.0.40

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

MarshalJSON implements stdjson.Marshaler.

func (*EntrySys) SetContentType added in v0.0.40

func (s *EntrySys) SetContentType(val ContentTypeLink)

SetContentType sets the value of ContentType.

func (*EntrySys) SetEnvironment added in v0.0.40

func (s *EntrySys) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*EntrySys) SetID added in v0.0.40

func (s *EntrySys) SetID(val string)

SetID sets the value of ID.

func (*EntrySys) SetPublishedAt added in v0.0.40

func (s *EntrySys) SetPublishedAt(val OptDateTime)

SetPublishedAt sets the value of PublishedAt.

func (*EntrySys) SetPublishedVersion added in v0.0.40

func (s *EntrySys) SetPublishedVersion(val OptInt)

SetPublishedVersion sets the value of PublishedVersion.

func (*EntrySys) SetSpace added in v0.0.40

func (s *EntrySys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*EntrySys) SetType added in v0.0.40

func (s *EntrySys) SetType(val EntrySysType)

SetType sets the value of Type.

func (*EntrySys) SetVersion added in v0.0.40

func (s *EntrySys) SetVersion(val int)

SetVersion sets the value of Version.

func (*EntrySys) UnmarshalJSON added in v0.0.40

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EntrySys) Validate added in v0.0.40

func (s *EntrySys) Validate() error

type EntrySysType added in v0.0.40

type EntrySysType string

Merged schema.

const (
	EntrySysTypeEntry EntrySysType = "Entry"
)

func (EntrySysType) AllValues added in v0.0.40

func (EntrySysType) AllValues() []EntrySysType

AllValues returns all EntrySysType values.

func (*EntrySysType) Decode added in v0.0.40

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

Decode decodes EntrySysType from json.

func (EntrySysType) Encode added in v0.0.40

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

Encode encodes EntrySysType as json.

func (EntrySysType) MarshalJSON added in v0.0.40

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

MarshalJSON implements stdjson.Marshaler.

func (EntrySysType) MarshalText added in v0.0.40

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

MarshalText implements encoding.TextMarshaler.

func (*EntrySysType) UnmarshalJSON added in v0.0.40

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EntrySysType) UnmarshalText added in v0.0.40

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EntrySysType) Validate added in v0.0.40

func (s EntrySysType) Validate() error

type Environment added in v0.0.41

type Environment struct {
	Sys EnvironmentSys `json:"sys"`
	// The name of the environment.
	Name string `json:"name"`
}

Merged schema. Ref: #/Environment

func (*Environment) Decode added in v0.0.41

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

Decode decodes Environment from json.

func (*Environment) Encode added in v0.0.41

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

Encode implements json.Marshaler.

func (*Environment) GetName added in v0.0.41

func (s *Environment) GetName() string

GetName returns the value of Name.

func (*Environment) GetSys added in v0.0.41

func (s *Environment) GetSys() EnvironmentSys

GetSys returns the value of Sys.

func (*Environment) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (*Environment) SetName added in v0.0.41

func (s *Environment) SetName(val string)

SetName sets the value of Name.

func (*Environment) SetSys added in v0.0.41

func (s *Environment) SetSys(val EnvironmentSys)

SetSys sets the value of Sys.

func (*Environment) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Environment) Validate added in v0.0.41

func (s *Environment) Validate() error

type EnvironmentAlias added in v0.0.41

type EnvironmentAlias struct {
	Sys         EnvironmentAliasSys `json:"sys"`
	Environment EnvironmentLink     `json:"environment"`
}

Merged schema. Ref: #/EnvironmentAlias

func (*EnvironmentAlias) Decode added in v0.0.41

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

Decode decodes EnvironmentAlias from json.

func (*EnvironmentAlias) Encode added in v0.0.41

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

Encode implements json.Marshaler.

func (*EnvironmentAlias) GetEnvironment added in v0.0.41

func (s *EnvironmentAlias) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*EnvironmentAlias) GetSys added in v0.0.41

GetSys returns the value of Sys.

func (*EnvironmentAlias) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (*EnvironmentAlias) SetEnvironment added in v0.0.41

func (s *EnvironmentAlias) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*EnvironmentAlias) SetSys added in v0.0.41

func (s *EnvironmentAlias) SetSys(val EnvironmentAliasSys)

SetSys sets the value of Sys.

func (*EnvironmentAlias) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnvironmentAlias) Validate added in v0.0.41

func (s *EnvironmentAlias) Validate() error

type EnvironmentAliasData added in v0.0.41

type EnvironmentAliasData struct {
	Environment EnvironmentLink `json:"environment"`
}

Ref: #/EnvironmentAliasData

func (*EnvironmentAliasData) Decode added in v0.0.41

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

Decode decodes EnvironmentAliasData from json.

func (*EnvironmentAliasData) Encode added in v0.0.41

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

Encode implements json.Marshaler.

func (*EnvironmentAliasData) GetEnvironment added in v0.0.41

func (s *EnvironmentAliasData) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*EnvironmentAliasData) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (*EnvironmentAliasData) SetEnvironment added in v0.0.41

func (s *EnvironmentAliasData) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*EnvironmentAliasData) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnvironmentAliasData) Validate added in v0.0.41

func (s *EnvironmentAliasData) Validate() error

type EnvironmentAliasStatusCode added in v0.0.41

type EnvironmentAliasStatusCode struct {
	StatusCode int
	Response   EnvironmentAlias
}

EnvironmentAliasStatusCode wraps EnvironmentAlias with StatusCode.

func (*EnvironmentAliasStatusCode) GetResponse added in v0.0.41

GetResponse returns the value of Response.

func (*EnvironmentAliasStatusCode) GetStatusCode added in v0.0.41

func (s *EnvironmentAliasStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*EnvironmentAliasStatusCode) SetResponse added in v0.0.41

func (s *EnvironmentAliasStatusCode) SetResponse(val EnvironmentAlias)

SetResponse sets the value of Response.

func (*EnvironmentAliasStatusCode) SetStatusCode added in v0.0.41

func (s *EnvironmentAliasStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*EnvironmentAliasStatusCode) Validate added in v0.0.41

func (s *EnvironmentAliasStatusCode) Validate() error

type EnvironmentAliasSys added in v0.0.41

type EnvironmentAliasSys struct {
	Space SpaceLink `json:"space"`
	// Merged property.
	Type    EnvironmentAliasSysType `json:"type"`
	ID      string                  `json:"id"`
	Version int                     `json:"version"`
}

Merged schema. Ref: #/EnvironmentAliasSys

func NewEnvironmentAliasSys added in v0.0.43

func NewEnvironmentAliasSys(spaceID, environmentAliasID string) EnvironmentAliasSys

func (*EnvironmentAliasSys) Decode added in v0.0.41

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

Decode decodes EnvironmentAliasSys from json.

func (*EnvironmentAliasSys) Encode added in v0.0.41

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

Encode implements json.Marshaler.

func (*EnvironmentAliasSys) GetID added in v0.0.41

func (s *EnvironmentAliasSys) GetID() string

GetID returns the value of ID.

func (*EnvironmentAliasSys) GetSpace added in v0.0.41

func (s *EnvironmentAliasSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*EnvironmentAliasSys) GetType added in v0.0.41

GetType returns the value of Type.

func (*EnvironmentAliasSys) GetVersion added in v0.0.41

func (s *EnvironmentAliasSys) GetVersion() int

GetVersion returns the value of Version.

func (*EnvironmentAliasSys) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (*EnvironmentAliasSys) SetID added in v0.0.41

func (s *EnvironmentAliasSys) SetID(val string)

SetID sets the value of ID.

func (*EnvironmentAliasSys) SetSpace added in v0.0.41

func (s *EnvironmentAliasSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*EnvironmentAliasSys) SetType added in v0.0.41

SetType sets the value of Type.

func (*EnvironmentAliasSys) SetVersion added in v0.0.41

func (s *EnvironmentAliasSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*EnvironmentAliasSys) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnvironmentAliasSys) Validate added in v0.0.41

func (s *EnvironmentAliasSys) Validate() error

type EnvironmentAliasSysType added in v0.0.41

type EnvironmentAliasSysType string

Merged schema.

const (
	EnvironmentAliasSysTypeEnvironmentAlias EnvironmentAliasSysType = "EnvironmentAlias"
)

func (EnvironmentAliasSysType) AllValues added in v0.0.41

AllValues returns all EnvironmentAliasSysType values.

func (*EnvironmentAliasSysType) Decode added in v0.0.41

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

Decode decodes EnvironmentAliasSysType from json.

func (EnvironmentAliasSysType) Encode added in v0.0.41

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

Encode encodes EnvironmentAliasSysType as json.

func (EnvironmentAliasSysType) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (EnvironmentAliasSysType) MarshalText added in v0.0.41

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

MarshalText implements encoding.TextMarshaler.

func (*EnvironmentAliasSysType) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnvironmentAliasSysType) UnmarshalText added in v0.0.41

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EnvironmentAliasSysType) Validate added in v0.0.41

func (s EnvironmentAliasSysType) Validate() error

type EnvironmentData added in v0.0.41

type EnvironmentData struct {
	// The name of the environment.
	Name string `json:"name"`
}

Ref: #/EnvironmentData

func (*EnvironmentData) Decode added in v0.0.41

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

Decode decodes EnvironmentData from json.

func (*EnvironmentData) Encode added in v0.0.41

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

Encode implements json.Marshaler.

func (*EnvironmentData) GetName added in v0.0.41

func (s *EnvironmentData) GetName() string

GetName returns the value of Name.

func (*EnvironmentData) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (*EnvironmentData) SetName added in v0.0.41

func (s *EnvironmentData) SetName(val string)

SetName sets the value of Name.

func (*EnvironmentData) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EnvironmentLink struct {
	Sys EnvironmentLinkSys `json:"sys"`
}

Ref: #/EnvironmentLink

func NewEnvironmentLink(id string) EnvironmentLink

func (*EnvironmentLink) Decode added in v0.0.10

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

Decode decodes EnvironmentLink from json.

func (*EnvironmentLink) Encode added in v0.0.10

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

Encode implements json.Marshaler.

func (*EnvironmentLink) GetSys added in v0.0.10

func (s *EnvironmentLink) GetSys() EnvironmentLinkSys

GetSys returns the value of Sys.

func (*EnvironmentLink) MarshalJSON added in v0.0.10

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

MarshalJSON implements stdjson.Marshaler.

func (*EnvironmentLink) SetSys added in v0.0.10

func (s *EnvironmentLink) SetSys(val EnvironmentLinkSys)

SetSys sets the value of Sys.

func (*EnvironmentLink) UnmarshalJSON added in v0.0.10

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnvironmentLink) Validate added in v0.0.10

func (s *EnvironmentLink) Validate() error

type EnvironmentLinkSys added in v0.0.10

type EnvironmentLinkSys struct {
	// Merged property.
	Type EnvironmentLinkSysType `json:"type"`
	ID   string                 `json:"id"`
	// Merged property.
	LinkType EnvironmentLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewEnvironmentLinkSys added in v0.0.43

func NewEnvironmentLinkSys(id string) EnvironmentLinkSys

func (*EnvironmentLinkSys) Decode added in v0.0.10

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

Decode decodes EnvironmentLinkSys from json.

func (*EnvironmentLinkSys) Encode added in v0.0.10

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

Encode implements json.Marshaler.

func (*EnvironmentLinkSys) GetID added in v0.0.10

func (s *EnvironmentLinkSys) GetID() string

GetID returns the value of ID.

func (*EnvironmentLinkSys) GetLinkType added in v0.0.10

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 EnvironmentStatusCode added in v0.0.41

type EnvironmentStatusCode struct {
	StatusCode int
	Response   Environment
}

EnvironmentStatusCode wraps Environment with StatusCode.

func (*EnvironmentStatusCode) GetResponse added in v0.0.41

func (s *EnvironmentStatusCode) GetResponse() Environment

GetResponse returns the value of Response.

func (*EnvironmentStatusCode) GetStatusCode added in v0.0.41

func (s *EnvironmentStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*EnvironmentStatusCode) SetResponse added in v0.0.41

func (s *EnvironmentStatusCode) SetResponse(val Environment)

SetResponse sets the value of Response.

func (*EnvironmentStatusCode) SetStatusCode added in v0.0.41

func (s *EnvironmentStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*EnvironmentStatusCode) Validate added in v0.0.41

func (s *EnvironmentStatusCode) Validate() error

type EnvironmentSys added in v0.0.41

type EnvironmentSys struct {
	Space SpaceLink `json:"space"`
	// Merged property.
	Type    EnvironmentSysType `json:"type"`
	ID      string             `json:"id"`
	Version int                `json:"version"`
	Status  StatusLink         `json:"status"`
}

Merged schema. Ref: #/EnvironmentSys

func NewEnvironmentSys added in v0.0.43

func NewEnvironmentSys(spaceID, environmentID, status string) EnvironmentSys

func (*EnvironmentSys) Decode added in v0.0.41

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

Decode decodes EnvironmentSys from json.

func (*EnvironmentSys) Encode added in v0.0.41

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

Encode implements json.Marshaler.

func (*EnvironmentSys) GetID added in v0.0.41

func (s *EnvironmentSys) GetID() string

GetID returns the value of ID.

func (*EnvironmentSys) GetSpace added in v0.0.41

func (s *EnvironmentSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*EnvironmentSys) GetStatus added in v0.0.52

func (s *EnvironmentSys) GetStatus() StatusLink

GetStatus returns the value of Status.

func (*EnvironmentSys) GetType added in v0.0.41

func (s *EnvironmentSys) GetType() EnvironmentSysType

GetType returns the value of Type.

func (*EnvironmentSys) GetVersion added in v0.0.41

func (s *EnvironmentSys) GetVersion() int

GetVersion returns the value of Version.

func (*EnvironmentSys) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (*EnvironmentSys) SetID added in v0.0.41

func (s *EnvironmentSys) SetID(val string)

SetID sets the value of ID.

func (*EnvironmentSys) SetSpace added in v0.0.41

func (s *EnvironmentSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*EnvironmentSys) SetStatus added in v0.0.52

func (s *EnvironmentSys) SetStatus(val StatusLink)

SetStatus sets the value of Status.

func (*EnvironmentSys) SetType added in v0.0.41

func (s *EnvironmentSys) SetType(val EnvironmentSysType)

SetType sets the value of Type.

func (*EnvironmentSys) SetVersion added in v0.0.41

func (s *EnvironmentSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*EnvironmentSys) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnvironmentSys) Validate added in v0.0.41

func (s *EnvironmentSys) Validate() error

type EnvironmentSysType added in v0.0.41

type EnvironmentSysType string

Merged schema.

const (
	EnvironmentSysTypeEnvironment EnvironmentSysType = "Environment"
)

func (EnvironmentSysType) AllValues added in v0.0.41

func (EnvironmentSysType) AllValues() []EnvironmentSysType

AllValues returns all EnvironmentSysType values.

func (*EnvironmentSysType) Decode added in v0.0.41

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

Decode decodes EnvironmentSysType from json.

func (EnvironmentSysType) Encode added in v0.0.41

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

Encode encodes EnvironmentSysType as json.

func (EnvironmentSysType) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (EnvironmentSysType) MarshalText added in v0.0.41

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

MarshalText implements encoding.TextMarshaler.

func (*EnvironmentSysType) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnvironmentSysType) UnmarshalText added in v0.0.41

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EnvironmentSysType) Validate added in v0.0.41

func (s EnvironmentSysType) Validate() error

type Error

type Error struct {
	Sys     ErrorSys  `json:"sys"`
	Message OptString `json:"message"`
	Details jx.Raw    `json:"details"`
}

Merged schema. Ref: #/Error

func (*Error) 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 ErrorHandler added in v0.0.33

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type ErrorResponse added in v0.0.33

type ErrorResponse interface {
	GetError() (v Error, ok bool)
}

type ErrorStatusCodeResponse added in v0.0.33

type ErrorStatusCodeResponse interface {
	GetStatusCode() int
	GetError() (v Error, ok bool)
}

type ErrorSys

type ErrorSys struct {
	Type ErrorSysType `json:"type"`
	ID   string       `json:"id"`
}

Ref: #/ErrorSys

func NewErrorSys added in v0.0.43

func NewErrorSys(id string) 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 Extension added in v0.0.29

type Extension struct {
	Sys        ExtensionSys       `json:"sys"`
	Extension  ExtensionExtension `json:"extension"`
	Parameters jx.Raw             `json:"parameters"`
}

Merged schema. Ref: #/Extension

func (*Extension) Decode added in v0.0.29

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

Decode decodes Extension from json.

func (*Extension) Encode added in v0.0.29

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

Encode implements json.Marshaler.

func (*Extension) GetExtension added in v0.0.29

func (s *Extension) GetExtension() ExtensionExtension

GetExtension returns the value of Extension.

func (*Extension) GetParameters added in v0.0.29

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

GetParameters returns the value of Parameters.

func (*Extension) GetSys added in v0.0.29

func (s *Extension) GetSys() ExtensionSys

GetSys returns the value of Sys.

func (*Extension) MarshalJSON added in v0.0.29

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

MarshalJSON implements stdjson.Marshaler.

func (*Extension) SetExtension added in v0.0.29

func (s *Extension) SetExtension(val ExtensionExtension)

SetExtension sets the value of Extension.

func (*Extension) SetParameters added in v0.0.29

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

SetParameters sets the value of Parameters.

func (*Extension) SetSys added in v0.0.29

func (s *Extension) SetSys(val ExtensionSys)

SetSys sets the value of Sys.

func (*Extension) UnmarshalJSON added in v0.0.29

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Extension) Validate added in v0.0.29

func (s *Extension) Validate() error

type ExtensionData added in v0.0.42

type ExtensionData struct {
	Extension  ExtensionDataExtension `json:"extension"`
	Parameters jx.Raw                 `json:"parameters"`
}

Ref: #/ExtensionData

func (*ExtensionData) Decode added in v0.0.42

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

Decode decodes ExtensionData from json.

func (*ExtensionData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*ExtensionData) GetExtension added in v0.0.42

func (s *ExtensionData) GetExtension() ExtensionDataExtension

GetExtension returns the value of Extension.

func (*ExtensionData) GetParameters added in v0.0.42

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

GetParameters returns the value of Parameters.

func (*ExtensionData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*ExtensionData) SetExtension added in v0.0.42

func (s *ExtensionData) SetExtension(val ExtensionDataExtension)

SetExtension sets the value of Extension.

func (*ExtensionData) SetParameters added in v0.0.42

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

SetParameters sets the value of Parameters.

func (*ExtensionData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExtensionData) Validate added in v0.0.42

func (s *ExtensionData) Validate() error

type ExtensionDataExtension added in v0.0.42

type ExtensionDataExtension struct {
	Name       string                                 `json:"name"`
	Src        OptString                              `json:"src"`
	Srcdoc     OptString                              `json:"srcdoc"`
	FieldTypes []ExtensionDataExtensionFieldTypesItem `json:"fieldTypes"`
	Sidebar    OptBool                                `json:"sidebar"`
	Parameters OptAppDefinitionParameters             `json:"parameters"`
}

func (*ExtensionDataExtension) Decode added in v0.0.42

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

Decode decodes ExtensionDataExtension from json.

func (*ExtensionDataExtension) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*ExtensionDataExtension) GetFieldTypes added in v0.0.42

GetFieldTypes returns the value of FieldTypes.

func (*ExtensionDataExtension) GetName added in v0.0.42

func (s *ExtensionDataExtension) GetName() string

GetName returns the value of Name.

func (*ExtensionDataExtension) GetParameters added in v0.0.42

GetParameters returns the value of Parameters.

func (*ExtensionDataExtension) GetSidebar added in v0.0.42

func (s *ExtensionDataExtension) GetSidebar() OptBool

GetSidebar returns the value of Sidebar.

func (*ExtensionDataExtension) GetSrc added in v0.0.42

func (s *ExtensionDataExtension) GetSrc() OptString

GetSrc returns the value of Src.

func (*ExtensionDataExtension) GetSrcdoc added in v0.0.42

func (s *ExtensionDataExtension) GetSrcdoc() OptString

GetSrcdoc returns the value of Srcdoc.

func (*ExtensionDataExtension) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*ExtensionDataExtension) SetFieldTypes added in v0.0.42

SetFieldTypes sets the value of FieldTypes.

func (*ExtensionDataExtension) SetName added in v0.0.42

func (s *ExtensionDataExtension) SetName(val string)

SetName sets the value of Name.

func (*ExtensionDataExtension) SetParameters added in v0.0.42

func (s *ExtensionDataExtension) SetParameters(val OptAppDefinitionParameters)

SetParameters sets the value of Parameters.

func (*ExtensionDataExtension) SetSidebar added in v0.0.42

func (s *ExtensionDataExtension) SetSidebar(val OptBool)

SetSidebar sets the value of Sidebar.

func (*ExtensionDataExtension) SetSrc added in v0.0.42

func (s *ExtensionDataExtension) SetSrc(val OptString)

SetSrc sets the value of Src.

func (*ExtensionDataExtension) SetSrcdoc added in v0.0.42

func (s *ExtensionDataExtension) SetSrcdoc(val OptString)

SetSrcdoc sets the value of Srcdoc.

func (*ExtensionDataExtension) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExtensionDataExtension) Validate added in v0.0.42

func (s *ExtensionDataExtension) Validate() error

type ExtensionDataExtensionFieldTypesItem added in v0.0.42

type ExtensionDataExtensionFieldTypesItem struct {
	Type     string                                       `json:"type"`
	LinkType OptString                                    `json:"linkType"`
	Items    OptExtensionDataExtensionFieldTypesItemItems `json:"items"`
}

func (*ExtensionDataExtensionFieldTypesItem) Decode added in v0.0.42

Decode decodes ExtensionDataExtensionFieldTypesItem from json.

func (*ExtensionDataExtensionFieldTypesItem) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*ExtensionDataExtensionFieldTypesItem) GetItems added in v0.0.42

GetItems returns the value of Items.

func (*ExtensionDataExtensionFieldTypesItem) GetLinkType added in v0.0.42

GetLinkType returns the value of LinkType.

func (*ExtensionDataExtensionFieldTypesItem) GetType added in v0.0.42

GetType returns the value of Type.

func (*ExtensionDataExtensionFieldTypesItem) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*ExtensionDataExtensionFieldTypesItem) SetItems added in v0.0.42

SetItems sets the value of Items.

func (*ExtensionDataExtensionFieldTypesItem) SetLinkType added in v0.0.42

func (s *ExtensionDataExtensionFieldTypesItem) SetLinkType(val OptString)

SetLinkType sets the value of LinkType.

func (*ExtensionDataExtensionFieldTypesItem) SetType added in v0.0.42

SetType sets the value of Type.

func (*ExtensionDataExtensionFieldTypesItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ExtensionDataExtensionFieldTypesItemItems added in v0.0.42

type ExtensionDataExtensionFieldTypesItemItems struct {
	Type     string    `json:"type"`
	LinkType OptString `json:"linkType"`
}

func (*ExtensionDataExtensionFieldTypesItemItems) Decode added in v0.0.42

Decode decodes ExtensionDataExtensionFieldTypesItemItems from json.

func (*ExtensionDataExtensionFieldTypesItemItems) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*ExtensionDataExtensionFieldTypesItemItems) GetLinkType added in v0.0.42

GetLinkType returns the value of LinkType.

func (*ExtensionDataExtensionFieldTypesItemItems) GetType added in v0.0.42

GetType returns the value of Type.

func (*ExtensionDataExtensionFieldTypesItemItems) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (*ExtensionDataExtensionFieldTypesItemItems) SetLinkType added in v0.0.42

SetLinkType sets the value of LinkType.

func (*ExtensionDataExtensionFieldTypesItemItems) SetType added in v0.0.42

SetType sets the value of Type.

func (*ExtensionDataExtensionFieldTypesItemItems) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ExtensionExtension added in v0.0.29

type ExtensionExtension struct {
	Name       string                             `json:"name"`
	Src        OptString                          `json:"src"`
	Srcdoc     OptString                          `json:"srcdoc"`
	FieldTypes []ExtensionExtensionFieldTypesItem `json:"fieldTypes"`
	Sidebar    OptBool                            `json:"sidebar"`
	Parameters OptAppDefinitionParameters         `json:"parameters"`
}

func (*ExtensionExtension) Decode added in v0.0.29

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

Decode decodes ExtensionExtension from json.

func (*ExtensionExtension) Encode added in v0.0.29

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

Encode implements json.Marshaler.

func (*ExtensionExtension) GetFieldTypes added in v0.0.29

GetFieldTypes returns the value of FieldTypes.

func (*ExtensionExtension) GetName added in v0.0.29

func (s *ExtensionExtension) GetName() string

GetName returns the value of Name.

func (*ExtensionExtension) GetParameters added in v0.0.29

GetParameters returns the value of Parameters.

func (*ExtensionExtension) GetSidebar added in v0.0.29

func (s *ExtensionExtension) GetSidebar() OptBool

GetSidebar returns the value of Sidebar.

func (*ExtensionExtension) GetSrc added in v0.0.29

func (s *ExtensionExtension) GetSrc() OptString

GetSrc returns the value of Src.

func (*ExtensionExtension) GetSrcdoc added in v0.0.29

func (s *ExtensionExtension) GetSrcdoc() OptString

GetSrcdoc returns the value of Srcdoc.

func (*ExtensionExtension) MarshalJSON added in v0.0.29

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

MarshalJSON implements stdjson.Marshaler.

func (*ExtensionExtension) SetFieldTypes added in v0.0.29

func (s *ExtensionExtension) SetFieldTypes(val []ExtensionExtensionFieldTypesItem)

SetFieldTypes sets the value of FieldTypes.

func (*ExtensionExtension) SetName added in v0.0.29

func (s *ExtensionExtension) SetName(val string)

SetName sets the value of Name.

func (*ExtensionExtension) SetParameters added in v0.0.29

func (s *ExtensionExtension) SetParameters(val OptAppDefinitionParameters)

SetParameters sets the value of Parameters.

func (*ExtensionExtension) SetSidebar added in v0.0.29

func (s *ExtensionExtension) SetSidebar(val OptBool)

SetSidebar sets the value of Sidebar.

func (*ExtensionExtension) SetSrc added in v0.0.29

func (s *ExtensionExtension) SetSrc(val OptString)

SetSrc sets the value of Src.

func (*ExtensionExtension) SetSrcdoc added in v0.0.29

func (s *ExtensionExtension) SetSrcdoc(val OptString)

SetSrcdoc sets the value of Srcdoc.

func (*ExtensionExtension) UnmarshalJSON added in v0.0.29

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExtensionExtension) Validate added in v0.0.29

func (s *ExtensionExtension) Validate() error

type ExtensionExtensionFieldTypesItem added in v0.0.29

type ExtensionExtensionFieldTypesItem struct {
	Type     string                                   `json:"type"`
	LinkType OptString                                `json:"linkType"`
	Items    OptExtensionExtensionFieldTypesItemItems `json:"items"`
}

func (*ExtensionExtensionFieldTypesItem) Decode added in v0.0.29

Decode decodes ExtensionExtensionFieldTypesItem from json.

func (*ExtensionExtensionFieldTypesItem) Encode added in v0.0.29

Encode implements json.Marshaler.

func (*ExtensionExtensionFieldTypesItem) GetItems added in v0.0.29

GetItems returns the value of Items.

func (*ExtensionExtensionFieldTypesItem) GetLinkType added in v0.0.29

GetLinkType returns the value of LinkType.

func (*ExtensionExtensionFieldTypesItem) GetType added in v0.0.29

GetType returns the value of Type.

func (*ExtensionExtensionFieldTypesItem) MarshalJSON added in v0.0.29

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

MarshalJSON implements stdjson.Marshaler.

func (*ExtensionExtensionFieldTypesItem) SetItems added in v0.0.29

SetItems sets the value of Items.

func (*ExtensionExtensionFieldTypesItem) SetLinkType added in v0.0.29

func (s *ExtensionExtensionFieldTypesItem) SetLinkType(val OptString)

SetLinkType sets the value of LinkType.

func (*ExtensionExtensionFieldTypesItem) SetType added in v0.0.29

func (s *ExtensionExtensionFieldTypesItem) SetType(val string)

SetType sets the value of Type.

func (*ExtensionExtensionFieldTypesItem) UnmarshalJSON added in v0.0.29

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ExtensionExtensionFieldTypesItemItems added in v0.0.29

type ExtensionExtensionFieldTypesItemItems struct {
	Type     string    `json:"type"`
	LinkType OptString `json:"linkType"`
}

func (*ExtensionExtensionFieldTypesItemItems) Decode added in v0.0.29

Decode decodes ExtensionExtensionFieldTypesItemItems from json.

func (*ExtensionExtensionFieldTypesItemItems) Encode added in v0.0.29

Encode implements json.Marshaler.

func (*ExtensionExtensionFieldTypesItemItems) GetLinkType added in v0.0.29

GetLinkType returns the value of LinkType.

func (*ExtensionExtensionFieldTypesItemItems) GetType added in v0.0.29

GetType returns the value of Type.

func (*ExtensionExtensionFieldTypesItemItems) MarshalJSON added in v0.0.29

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

MarshalJSON implements stdjson.Marshaler.

func (*ExtensionExtensionFieldTypesItemItems) SetLinkType added in v0.0.29

SetLinkType sets the value of LinkType.

func (*ExtensionExtensionFieldTypesItemItems) SetType added in v0.0.29

SetType sets the value of Type.

func (*ExtensionExtensionFieldTypesItemItems) UnmarshalJSON added in v0.0.29

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ExtensionStatusCode added in v0.0.29

type ExtensionStatusCode struct {
	StatusCode int
	Response   Extension
}

ExtensionStatusCode wraps Extension with StatusCode.

func (*ExtensionStatusCode) GetResponse added in v0.0.29

func (s *ExtensionStatusCode) GetResponse() Extension

GetResponse returns the value of Response.

func (*ExtensionStatusCode) GetStatusCode added in v0.0.29

func (s *ExtensionStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*ExtensionStatusCode) SetResponse added in v0.0.29

func (s *ExtensionStatusCode) SetResponse(val Extension)

SetResponse sets the value of Response.

func (*ExtensionStatusCode) SetStatusCode added in v0.0.29

func (s *ExtensionStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*ExtensionStatusCode) Validate added in v0.0.29

func (s *ExtensionStatusCode) Validate() error

type ExtensionSys added in v0.0.29

type ExtensionSys struct {
	Space       SpaceLink       `json:"space"`
	Environment EnvironmentLink `json:"environment"`
	// Merged property.
	Type    ExtensionSysType `json:"type"`
	ID      string           `json:"id"`
	Version int              `json:"version"`
}

Merged schema. Ref: #/ExtensionSys

func NewExtensionSys added in v0.0.43

func NewExtensionSys(spaceID, environmentID, extensionID string) ExtensionSys

func (*ExtensionSys) Decode added in v0.0.29

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

Decode decodes ExtensionSys from json.

func (*ExtensionSys) Encode added in v0.0.29

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

Encode implements json.Marshaler.

func (*ExtensionSys) GetEnvironment added in v0.0.29

func (s *ExtensionSys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*ExtensionSys) GetID added in v0.0.29

func (s *ExtensionSys) GetID() string

GetID returns the value of ID.

func (*ExtensionSys) GetSpace added in v0.0.29

func (s *ExtensionSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*ExtensionSys) GetType added in v0.0.29

func (s *ExtensionSys) GetType() ExtensionSysType

GetType returns the value of Type.

func (*ExtensionSys) GetVersion added in v0.0.29

func (s *ExtensionSys) GetVersion() int

GetVersion returns the value of Version.

func (*ExtensionSys) MarshalJSON added in v0.0.29

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

MarshalJSON implements stdjson.Marshaler.

func (*ExtensionSys) SetEnvironment added in v0.0.29

func (s *ExtensionSys) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*ExtensionSys) SetID added in v0.0.29

func (s *ExtensionSys) SetID(val string)

SetID sets the value of ID.

func (*ExtensionSys) SetSpace added in v0.0.29

func (s *ExtensionSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*ExtensionSys) SetType added in v0.0.29

func (s *ExtensionSys) SetType(val ExtensionSysType)

SetType sets the value of Type.

func (*ExtensionSys) SetVersion added in v0.0.29

func (s *ExtensionSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*ExtensionSys) UnmarshalJSON added in v0.0.29

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExtensionSys) Validate added in v0.0.29

func (s *ExtensionSys) Validate() error

type ExtensionSysType added in v0.0.29

type ExtensionSysType string

Merged schema.

const (
	ExtensionSysTypeExtension ExtensionSysType = "Extension"
)

func (ExtensionSysType) AllValues added in v0.0.29

func (ExtensionSysType) AllValues() []ExtensionSysType

AllValues returns all ExtensionSysType values.

func (*ExtensionSysType) Decode added in v0.0.29

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

Decode decodes ExtensionSysType from json.

func (ExtensionSysType) Encode added in v0.0.29

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

Encode encodes ExtensionSysType as json.

func (ExtensionSysType) MarshalJSON added in v0.0.29

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

MarshalJSON implements stdjson.Marshaler.

func (ExtensionSysType) MarshalText added in v0.0.29

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

MarshalText implements encoding.TextMarshaler.

func (*ExtensionSysType) UnmarshalJSON added in v0.0.29

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExtensionSysType) UnmarshalText added in v0.0.29

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ExtensionSysType) Validate added in v0.0.29

func (s ExtensionSysType) Validate() error
type ExternalResourceLink struct {
	Type string `json:"type"`
}

Ref: #/ExternalResourceLink

func (*ExternalResourceLink) Decode added in v0.0.22

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

Decode decodes ExternalResourceLink from json.

func (*ExternalResourceLink) Encode added in v0.0.22

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

Encode implements json.Marshaler.

func (*ExternalResourceLink) GetType added in v0.0.22

func (s *ExternalResourceLink) GetType() string

GetType returns the value of Type.

func (*ExternalResourceLink) MarshalJSON added in v0.0.22

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalResourceLink) SetType added in v0.0.22

func (s *ExternalResourceLink) SetType(val string)

SetType sets the value of Type.

func (*ExternalResourceLink) UnmarshalJSON added in v0.0.22

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

UnmarshalJSON implements stdjson.Unmarshaler.

type FunctionLink struct {
	Sys FunctionLinkSys `json:"sys"`
}

Ref: #/FunctionLink

func NewFunctionLink(id string) FunctionLink

func (*FunctionLink) Decode added in v0.0.23

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

Decode decodes FunctionLink from json.

func (*FunctionLink) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*FunctionLink) GetSys added in v0.0.23

func (s *FunctionLink) GetSys() FunctionLinkSys

GetSys returns the value of Sys.

func (*FunctionLink) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*FunctionLink) SetSys added in v0.0.23

func (s *FunctionLink) SetSys(val FunctionLinkSys)

SetSys sets the value of Sys.

func (*FunctionLink) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FunctionLink) Validate added in v0.0.23

func (s *FunctionLink) Validate() error

type FunctionLinkSys added in v0.0.23

type FunctionLinkSys struct {
	// Merged property.
	Type FunctionLinkSysType `json:"type"`
	ID   string              `json:"id"`
	// Merged property.
	LinkType FunctionLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewFunctionLinkSys added in v0.0.43

func NewFunctionLinkSys(id string) FunctionLinkSys

func (*FunctionLinkSys) Decode added in v0.0.23

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

Decode decodes FunctionLinkSys from json.

func (*FunctionLinkSys) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*FunctionLinkSys) GetID added in v0.0.23

func (s *FunctionLinkSys) GetID() string

GetID returns the value of ID.

func (*FunctionLinkSys) GetLinkType added in v0.0.23

func (s *FunctionLinkSys) GetLinkType() FunctionLinkSysLinkType

GetLinkType returns the value of LinkType.

func (*FunctionLinkSys) GetType added in v0.0.23

func (s *FunctionLinkSys) GetType() FunctionLinkSysType

GetType returns the value of Type.

func (*FunctionLinkSys) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*FunctionLinkSys) SetID added in v0.0.23

func (s *FunctionLinkSys) SetID(val string)

SetID sets the value of ID.

func (*FunctionLinkSys) SetLinkType added in v0.0.23

func (s *FunctionLinkSys) SetLinkType(val FunctionLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*FunctionLinkSys) SetType added in v0.0.23

func (s *FunctionLinkSys) SetType(val FunctionLinkSysType)

SetType sets the value of Type.

func (*FunctionLinkSys) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FunctionLinkSys) Validate added in v0.0.23

func (s *FunctionLinkSys) Validate() error

type FunctionLinkSysLinkType added in v0.0.23

type FunctionLinkSysLinkType string

Merged schema.

const (
	FunctionLinkSysLinkTypeFunction FunctionLinkSysLinkType = "Function"
)

func (FunctionLinkSysLinkType) AllValues added in v0.0.23

AllValues returns all FunctionLinkSysLinkType values.

func (*FunctionLinkSysLinkType) Decode added in v0.0.23

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

Decode decodes FunctionLinkSysLinkType from json.

func (FunctionLinkSysLinkType) Encode added in v0.0.23

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

Encode encodes FunctionLinkSysLinkType as json.

func (FunctionLinkSysLinkType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (FunctionLinkSysLinkType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*FunctionLinkSysLinkType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FunctionLinkSysLinkType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (FunctionLinkSysLinkType) Validate added in v0.0.23

func (s FunctionLinkSysLinkType) Validate() error

type FunctionLinkSysType added in v0.0.23

type FunctionLinkSysType string

Merged schema.

const (
	FunctionLinkSysTypeLink FunctionLinkSysType = "Link"
)

func (FunctionLinkSysType) AllValues added in v0.0.23

AllValues returns all FunctionLinkSysType values.

func (*FunctionLinkSysType) Decode added in v0.0.23

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

Decode decodes FunctionLinkSysType from json.

func (FunctionLinkSysType) Encode added in v0.0.23

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

Encode encodes FunctionLinkSysType as json.

func (FunctionLinkSysType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (FunctionLinkSysType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*FunctionLinkSysType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FunctionLinkSysType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (FunctionLinkSysType) Validate added in v0.0.23

func (s FunctionLinkSysType) Validate() error

type GetAppDefinitionParams added in v0.0.27

type GetAppDefinitionParams struct {
	OrganizationID  string
	AppDefinitionID string
}

GetAppDefinitionParams is parameters of getAppDefinition operation.

type GetAppDefinitionRes added in v0.0.27

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

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 GetAppSigningSecretParams added in v0.0.35

type GetAppSigningSecretParams struct {
	OrganizationID  string
	AppDefinitionID string
}

GetAppSigningSecretParams is parameters of getAppSigningSecret operation.

type GetAppSigningSecretRes added in v0.0.35

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

type GetAuthenticatedUserRes

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

type GetContentTypeParams added in v0.0.5

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 GetContentTypesParams added in v0.0.46

type GetContentTypesParams struct {
	SpaceID       string
	EnvironmentID string
	Skip          OptInt64 `json:",omitempty,omitzero"`
	Limit         OptInt64 `json:",omitempty,omitzero"`
	Order         []string `json:",omitempty"`
}

GetContentTypesParams is parameters of getContentTypes operation.

type GetContentTypesRes added in v0.0.46

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

type GetDeliveryAPIKeyParams added in v0.0.43

type GetDeliveryAPIKeyParams struct {
	SpaceID  string
	APIKeyID string
}

GetDeliveryAPIKeyParams is parameters of getDeliveryAPIKey operation.

type GetDeliveryAPIKeyRes added in v0.0.43

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

type GetEditorInterfaceParams added in v0.0.3

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 GetEntriesParams added in v0.0.46

type GetEntriesParams struct {
	SpaceID       string
	EnvironmentID string
	Skip          OptInt64 `json:",omitempty,omitzero"`
	Limit         OptInt64 `json:",omitempty,omitzero"`
	Order         []string `json:",omitempty"`
	// Filter by content type ID.
	ContentType OptString `json:",omitempty,omitzero"`
}

GetEntriesParams is parameters of getEntries operation.

type GetEntriesRes added in v0.0.46

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

type GetEntryParams added in v0.0.40

type GetEntryParams struct {
	SpaceID       string
	EnvironmentID string
	EntryID       string
}

GetEntryParams is parameters of getEntry operation.

type GetEntryRes added in v0.0.40

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

type GetEnvironmentAliasParams added in v0.0.41

type GetEnvironmentAliasParams struct {
	SpaceID            string
	EnvironmentAliasID string
}

GetEnvironmentAliasParams is parameters of getEnvironmentAlias operation.

type GetEnvironmentAliasRes added in v0.0.41

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

type GetEnvironmentParams added in v0.0.41

type GetEnvironmentParams struct {
	SpaceID       string
	EnvironmentID string
}

GetEnvironmentParams is parameters of getEnvironment operation.

type GetEnvironmentRes added in v0.0.41

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

type GetExtensionParams added in v0.0.29

type GetExtensionParams struct {
	SpaceID       string
	EnvironmentID string
	ExtensionID   string
}

GetExtensionParams is parameters of getExtension operation.

type GetExtensionRes added in v0.0.29

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

type GetMarketplaceAppDefinitionsOK added in v0.0.34

type GetMarketplaceAppDefinitionsOK struct {
	Sys   GetMarketplaceAppDefinitionsOKSys `json:"sys"`
	Total int                               `json:"total"`
	Items []AppDefinition                   `json:"items"`
}

func (*GetMarketplaceAppDefinitionsOK) Decode added in v0.0.34

Decode decodes GetMarketplaceAppDefinitionsOK from json.

func (*GetMarketplaceAppDefinitionsOK) Encode added in v0.0.34

Encode implements json.Marshaler.

func (*GetMarketplaceAppDefinitionsOK) GetItems added in v0.0.34

GetItems returns the value of Items.

func (*GetMarketplaceAppDefinitionsOK) GetSys added in v0.0.34

GetSys returns the value of Sys.

func (*GetMarketplaceAppDefinitionsOK) GetTotal added in v0.0.34

func (s *GetMarketplaceAppDefinitionsOK) GetTotal() int

GetTotal returns the value of Total.

func (*GetMarketplaceAppDefinitionsOK) MarshalJSON added in v0.0.34

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

MarshalJSON implements stdjson.Marshaler.

func (*GetMarketplaceAppDefinitionsOK) SetItems added in v0.0.34

func (s *GetMarketplaceAppDefinitionsOK) SetItems(val []AppDefinition)

SetItems sets the value of Items.

func (*GetMarketplaceAppDefinitionsOK) SetSys added in v0.0.34

SetSys sets the value of Sys.

func (*GetMarketplaceAppDefinitionsOK) SetTotal added in v0.0.34

func (s *GetMarketplaceAppDefinitionsOK) SetTotal(val int)

SetTotal sets the value of Total.

func (*GetMarketplaceAppDefinitionsOK) UnmarshalJSON added in v0.0.34

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetMarketplaceAppDefinitionsOK) Validate added in v0.0.34

func (s *GetMarketplaceAppDefinitionsOK) Validate() error

type GetMarketplaceAppDefinitionsOKSys added in v0.0.34

type GetMarketplaceAppDefinitionsOKSys struct {
	Type GetMarketplaceAppDefinitionsOKSysType `json:"type"`
}

func (*GetMarketplaceAppDefinitionsOKSys) Decode added in v0.0.34

Decode decodes GetMarketplaceAppDefinitionsOKSys from json.

func (*GetMarketplaceAppDefinitionsOKSys) Encode added in v0.0.34

Encode implements json.Marshaler.

func (*GetMarketplaceAppDefinitionsOKSys) GetType added in v0.0.34

GetType returns the value of Type.

func (*GetMarketplaceAppDefinitionsOKSys) MarshalJSON added in v0.0.34

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

MarshalJSON implements stdjson.Marshaler.

func (*GetMarketplaceAppDefinitionsOKSys) SetType added in v0.0.34

SetType sets the value of Type.

func (*GetMarketplaceAppDefinitionsOKSys) UnmarshalJSON added in v0.0.34

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetMarketplaceAppDefinitionsOKSys) Validate added in v0.0.34

type GetMarketplaceAppDefinitionsOKSysType added in v0.0.34

type GetMarketplaceAppDefinitionsOKSysType string
const (
	GetMarketplaceAppDefinitionsOKSysTypeArray GetMarketplaceAppDefinitionsOKSysType = "Array"
)

func (GetMarketplaceAppDefinitionsOKSysType) AllValues added in v0.0.34

AllValues returns all GetMarketplaceAppDefinitionsOKSysType values.

func (*GetMarketplaceAppDefinitionsOKSysType) Decode added in v0.0.34

Decode decodes GetMarketplaceAppDefinitionsOKSysType from json.

func (GetMarketplaceAppDefinitionsOKSysType) Encode added in v0.0.34

Encode encodes GetMarketplaceAppDefinitionsOKSysType as json.

func (GetMarketplaceAppDefinitionsOKSysType) MarshalJSON added in v0.0.34

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

MarshalJSON implements stdjson.Marshaler.

func (GetMarketplaceAppDefinitionsOKSysType) MarshalText added in v0.0.34

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

MarshalText implements encoding.TextMarshaler.

func (*GetMarketplaceAppDefinitionsOKSysType) UnmarshalJSON added in v0.0.34

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetMarketplaceAppDefinitionsOKSysType) UnmarshalText added in v0.0.34

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

UnmarshalText implements encoding.TextUnmarshaler.

func (GetMarketplaceAppDefinitionsOKSysType) Validate added in v0.0.34

type GetMarketplaceAppDefinitionsParams added in v0.0.34

type GetMarketplaceAppDefinitionsParams struct {
	SysIDIn []string `json:",omitempty"`
}

GetMarketplaceAppDefinitionsParams is parameters of getMarketplaceAppDefinitions operation.

type GetMarketplaceAppDefinitionsRes added in v0.0.34

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

type GetPersonalAccessTokenParams added in v0.0.12

type GetPersonalAccessTokenParams struct {
	AccessTokenID string
}

GetPersonalAccessTokenParams is parameters of getPersonalAccessToken operation.

type GetPersonalAccessTokenRes added in v0.0.12

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

type GetPreviewAPIKeyParams added in v0.0.43

type GetPreviewAPIKeyParams struct {
	SpaceID         string
	PreviewAPIKeyID string
}

GetPreviewAPIKeyParams is parameters of getPreviewAPIKey operation.

type GetPreviewAPIKeyRes added in v0.0.43

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

type GetResourceProviderParams added in v0.0.37

type GetResourceProviderParams struct {
	OrganizationID  string
	AppDefinitionID string
}

GetResourceProviderParams is parameters of getResourceProvider operation.

type GetResourceProviderRes added in v0.0.37

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

type GetResourceTypeParams added in v0.0.37

type GetResourceTypeParams struct {
	OrganizationID  string
	AppDefinitionID string
	ResourceTypeID  string
}

GetResourceTypeParams is parameters of getResourceType operation.

type GetResourceTypeRes added in v0.0.37

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

type GetRoleParams added in v0.0.15

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 GetTagParams added in v0.0.50

type GetTagParams struct {
	SpaceID       string
	EnvironmentID string
	TagID         string
}

GetTagParams is parameters of getTag operation.

type GetTagRes added in v0.0.50

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

type GetTeamParams added in v0.0.43

type GetTeamParams struct {
	OrganizationID string
	TeamID         string
}

GetTeamParams is parameters of getTeam operation.

type GetTeamRes added in v0.0.43

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

type GetTeamSpaceMembershipParams added in v0.0.43

type GetTeamSpaceMembershipParams struct {
	SpaceID               string
	TeamSpaceMembershipID string
}

GetTeamSpaceMembershipParams is parameters of getTeamSpaceMembership operation.

type GetTeamSpaceMembershipRes added in v0.0.43

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

type GetWebhookDefinitionParams added in v0.0.17

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 Handler added in v0.0.33

type Handler interface {
	// ActivateContentType implements activateContentType operation.
	//
	// Activate a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
	ActivateContentType(ctx context.Context, params ActivateContentTypeParams) (ActivateContentTypeRes, error)
	// CreateAppDefinition implements createAppDefinition operation.
	//
	// Create an app definition.
	//
	// POST /organizations/{organization_id}/app_definitions
	CreateAppDefinition(ctx context.Context, req *AppDefinitionData, params CreateAppDefinitionParams) (CreateAppDefinitionRes, error)
	// CreateDeliveryAPIKey implements createDeliveryAPIKey operation.
	//
	// Create a delivery api key.
	//
	// POST /spaces/{space_id}/api_keys
	CreateDeliveryAPIKey(ctx context.Context, req *ApiKeyRequestData, params CreateDeliveryAPIKeyParams) (CreateDeliveryAPIKeyRes, error)
	// CreateEntry implements createEntry operation.
	//
	// Create an entry.
	//
	// POST /spaces/{space_id}/environments/{environment_id}/entries
	CreateEntry(ctx context.Context, req *EntryRequest, params CreateEntryParams) (CreateEntryRes, error)
	// CreateOrUpdateEnvironment implements createOrUpdateEnvironment operation.
	//
	// Create or update an environment.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}
	CreateOrUpdateEnvironment(ctx context.Context, req *EnvironmentData, params CreateOrUpdateEnvironmentParams) (CreateOrUpdateEnvironmentRes, error)
	// CreateOrUpdateEnvironmentAlias implements createOrUpdateEnvironmentAlias operation.
	//
	// Create/Update an environment alias.
	//
	// PUT /spaces/{space_id}/environment_aliases/{environment_alias_id}
	CreateOrUpdateEnvironmentAlias(ctx context.Context, req *EnvironmentAliasData, params CreateOrUpdateEnvironmentAliasParams) (CreateOrUpdateEnvironmentAliasRes, error)
	// CreatePersonalAccessToken implements createPersonalAccessToken operation.
	//
	// Create a personal access token.
	//
	// POST /users/me/access_tokens
	CreatePersonalAccessToken(ctx context.Context, req *PersonalAccessTokenRequestData) (CreatePersonalAccessTokenRes, error)
	// CreateRole implements createRole operation.
	//
	// Create a role.
	//
	// POST /spaces/{space_id}/roles
	CreateRole(ctx context.Context, req *RoleData, params CreateRoleParams) (CreateRoleRes, error)
	// CreateTeam implements createTeam operation.
	//
	// Create a team.
	//
	// POST /organizations/{organization_id}/teams
	CreateTeam(ctx context.Context, req *TeamData, params CreateTeamParams) (CreateTeamRes, error)
	// CreateTeamSpaceMembership implements createTeamSpaceMembership operation.
	//
	// Create a team space membership.
	//
	// POST /spaces/{space_id}/team_space_memberships
	CreateTeamSpaceMembership(ctx context.Context, req *TeamSpaceMembershipData, params CreateTeamSpaceMembershipParams) (CreateTeamSpaceMembershipRes, error)
	// CreateWebhookDefinition implements createWebhookDefinition operation.
	//
	// Create a webhook definition.
	//
	// POST /spaces/{space_id}/webhook_definitions
	CreateWebhookDefinition(ctx context.Context, req *WebhookDefinitionData, params CreateWebhookDefinitionParams) (CreateWebhookDefinitionRes, error)
	// DeactivateContentType implements deactivateContentType operation.
	//
	// Deactivate a content type.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
	DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams) (DeactivateContentTypeRes, error)
	// DeleteAppDefinition implements deleteAppDefinition operation.
	//
	// Delete an app definition.
	//
	// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}
	DeleteAppDefinition(ctx context.Context, params DeleteAppDefinitionParams) (DeleteAppDefinitionRes, error)
	// DeleteAppInstallation implements deleteAppInstallation operation.
	//
	// Uninstall an app.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams) (DeleteAppInstallationRes, error)
	// DeleteAppSigningSecret implements deleteAppSigningSecret operation.
	//
	// Delete an app signing secret.
	//
	// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
	DeleteAppSigningSecret(ctx context.Context, params DeleteAppSigningSecretParams) (DeleteAppSigningSecretRes, error)
	// DeleteContentType implements deleteContentType operation.
	//
	// Delete a content type.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	DeleteContentType(ctx context.Context, params DeleteContentTypeParams) (DeleteContentTypeRes, error)
	// DeleteDeliveryAPIKey implements deleteDeliveryAPIKey operation.
	//
	// Delete a single delivery api key.
	//
	// DELETE /spaces/{space_id}/api_keys/{api_key_id}
	DeleteDeliveryAPIKey(ctx context.Context, params DeleteDeliveryAPIKeyParams) (DeleteDeliveryAPIKeyRes, error)
	// DeleteEntry implements deleteEntry operation.
	//
	// Delete an entry.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
	DeleteEntry(ctx context.Context, params DeleteEntryParams) (DeleteEntryRes, error)
	// DeleteEnvironment implements deleteEnvironment operation.
	//
	// Delete an environment.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}
	DeleteEnvironment(ctx context.Context, params DeleteEnvironmentParams) (DeleteEnvironmentRes, error)
	// DeleteEnvironmentAlias implements deleteEnvironmentAlias operation.
	//
	// Delete an environment alias.
	//
	// DELETE /spaces/{space_id}/environment_aliases/{environment_alias_id}
	DeleteEnvironmentAlias(ctx context.Context, params DeleteEnvironmentAliasParams) (DeleteEnvironmentAliasRes, error)
	// DeleteExtension implements deleteExtension operation.
	//
	// Delete an extension.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
	DeleteExtension(ctx context.Context, params DeleteExtensionParams) (DeleteExtensionRes, error)
	// DeleteResourceProvider implements deleteResourceProvider operation.
	//
	// Delete a resource provider definition.
	//
	// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
	DeleteResourceProvider(ctx context.Context, params DeleteResourceProviderParams) (DeleteResourceProviderRes, error)
	// DeleteResourceType implements deleteResourceType operation.
	//
	// Delete a resource type definition.
	//
	// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
	DeleteResourceType(ctx context.Context, params DeleteResourceTypeParams) (DeleteResourceTypeRes, error)
	// DeleteRole implements deleteRole operation.
	//
	// Delete a role.
	//
	// DELETE /spaces/{space_id}/roles/{role_id}
	DeleteRole(ctx context.Context, params DeleteRoleParams) (DeleteRoleRes, error)
	// DeleteTag implements deleteTag operation.
	//
	// Delete a tag.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
	DeleteTag(ctx context.Context, params DeleteTagParams) (DeleteTagRes, error)
	// DeleteTeam implements deleteTeam operation.
	//
	// Delete a team.
	//
	// DELETE /organizations/{organization_id}/teams/{team_id}
	DeleteTeam(ctx context.Context, params DeleteTeamParams) (DeleteTeamRes, error)
	// DeleteTeamSpaceMembership implements deleteTeamSpaceMembership operation.
	//
	// Delete a team space membership.
	//
	// DELETE /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
	DeleteTeamSpaceMembership(ctx context.Context, params DeleteTeamSpaceMembershipParams) (DeleteTeamSpaceMembershipRes, error)
	// DeleteWebhookDefinition implements deleteWebhookDefinition operation.
	//
	// Delete a webhook definition.
	//
	// DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams) (DeleteWebhookDefinitionRes, error)
	// GetAppDefinition implements getAppDefinition operation.
	//
	// Get one app definition.
	//
	// GET /organizations/{organization_id}/app_definitions/{app_definition_id}
	GetAppDefinition(ctx context.Context, params GetAppDefinitionParams) (GetAppDefinitionRes, error)
	// GetAppInstallation implements getAppInstallation operation.
	//
	// Get one app installation.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	GetAppInstallation(ctx context.Context, params GetAppInstallationParams) (GetAppInstallationRes, error)
	// GetAppSigningSecret implements getAppSigningSecret operation.
	//
	// Get one app signing secret.
	//
	// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
	GetAppSigningSecret(ctx context.Context, params GetAppSigningSecretParams) (GetAppSigningSecretRes, error)
	// GetAuthenticatedUser implements getAuthenticatedUser operation.
	//
	// Get the authenticated user.
	//
	// GET /users/me
	GetAuthenticatedUser(ctx context.Context) (GetAuthenticatedUserRes, error)
	// GetContentType implements getContentType operation.
	//
	// Get a content type.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	GetContentType(ctx context.Context, params GetContentTypeParams) (GetContentTypeRes, error)
	// GetContentTypes implements getContentTypes operation.
	//
	// Get a collection of content types.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/content_types
	GetContentTypes(ctx context.Context, params GetContentTypesParams) (GetContentTypesRes, error)
	// GetDeliveryAPIKey implements getDeliveryAPIKey operation.
	//
	// Get a single delivery api key.
	//
	// GET /spaces/{space_id}/api_keys/{api_key_id}
	GetDeliveryAPIKey(ctx context.Context, params GetDeliveryAPIKeyParams) (GetDeliveryAPIKeyRes, error)
	// GetEditorInterface implements getEditorInterface operation.
	//
	// Get the editor interface for a content type.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
	GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams) (GetEditorInterfaceRes, error)
	// GetEntries implements getEntries operation.
	//
	// Get all entries of a space.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/entries
	GetEntries(ctx context.Context, params GetEntriesParams) (GetEntriesRes, error)
	// GetEntry implements getEntry operation.
	//
	// Get a single entry.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
	GetEntry(ctx context.Context, params GetEntryParams) (GetEntryRes, error)
	// GetEnvironment implements getEnvironment operation.
	//
	// Get a single environment.
	//
	// GET /spaces/{space_id}/environments/{environment_id}
	GetEnvironment(ctx context.Context, params GetEnvironmentParams) (GetEnvironmentRes, error)
	// GetEnvironmentAlias implements getEnvironmentAlias operation.
	//
	// Get a single environment alias.
	//
	// GET /spaces/{space_id}/environment_aliases/{environment_alias_id}
	GetEnvironmentAlias(ctx context.Context, params GetEnvironmentAliasParams) (GetEnvironmentAliasRes, error)
	// GetExtension implements getExtension operation.
	//
	// Get a single extension.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
	GetExtension(ctx context.Context, params GetExtensionParams) (GetExtensionRes, error)
	// GetMarketplaceAppDefinitions implements getMarketplaceAppDefinitions operation.
	//
	// Get marketplace app definitions.
	//
	// GET /app_definitions
	GetMarketplaceAppDefinitions(ctx context.Context, params GetMarketplaceAppDefinitionsParams) (GetMarketplaceAppDefinitionsRes, error)
	// GetPersonalAccessToken implements getPersonalAccessToken operation.
	//
	// Get a single personal access token.
	//
	// GET /users/me/access_tokens/{access_token_id}
	GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams) (GetPersonalAccessTokenRes, error)
	// GetPreviewAPIKey implements getPreviewAPIKey operation.
	//
	// Get a single preview api key.
	//
	// GET /spaces/{space_id}/preview_api_keys/{preview_api_key_id}
	GetPreviewAPIKey(ctx context.Context, params GetPreviewAPIKeyParams) (GetPreviewAPIKeyRes, error)
	// GetResourceProvider implements getResourceProvider operation.
	//
	// Get one resource provider definition.
	//
	// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
	GetResourceProvider(ctx context.Context, params GetResourceProviderParams) (GetResourceProviderRes, error)
	// GetResourceType implements getResourceType operation.
	//
	// Get one resource type definition.
	//
	// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
	GetResourceType(ctx context.Context, params GetResourceTypeParams) (GetResourceTypeRes, error)
	// GetRole implements getRole operation.
	//
	// Get a role.
	//
	// GET /spaces/{space_id}/roles/{role_id}
	GetRole(ctx context.Context, params GetRoleParams) (GetRoleRes, error)
	// GetSpaceEnablements implements getSpaceEnablements operation.
	//
	// Get enablements for a space.
	//
	// GET /spaces/{space_id}/enablements
	GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams) (GetSpaceEnablementsRes, error)
	// GetTag implements getTag operation.
	//
	// Get a single tag.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
	GetTag(ctx context.Context, params GetTagParams) (GetTagRes, error)
	// GetTeam implements getTeam operation.
	//
	// Get a single team.
	//
	// GET /organizations/{organization_id}/teams/{team_id}
	GetTeam(ctx context.Context, params GetTeamParams) (GetTeamRes, error)
	// GetTeamSpaceMembership implements getTeamSpaceMembership operation.
	//
	// Get a single team space membership.
	//
	// GET /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
	GetTeamSpaceMembership(ctx context.Context, params GetTeamSpaceMembershipParams) (GetTeamSpaceMembershipRes, error)
	// GetWebhookDefinition implements getWebhookDefinition operation.
	//
	// Get a webhook definition.
	//
	// GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams) (GetWebhookDefinitionRes, error)
	// PublishEntry implements publishEntry operation.
	//
	// Publish an entry.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
	PublishEntry(ctx context.Context, params PublishEntryParams) (PublishEntryRes, error)
	// PutAppDefinition implements putAppDefinition operation.
	//
	// Create or update an app definition.
	//
	// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}
	PutAppDefinition(ctx context.Context, req *AppDefinitionData, params PutAppDefinitionParams) (PutAppDefinitionRes, error)
	// PutAppInstallation implements putAppInstallation operation.
	//
	// Install or update an app.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	PutAppInstallation(ctx context.Context, req *AppInstallationData, params PutAppInstallationParams) (PutAppInstallationRes, error)
	// PutAppSigningSecret implements putAppSigningSecret operation.
	//
	// Create or update an app signing secret.
	//
	// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
	PutAppSigningSecret(ctx context.Context, req *AppSigningSecretRequestData, params PutAppSigningSecretParams) (PutAppSigningSecretRes, error)
	// PutContentType implements putContentType operation.
	//
	// Update a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	PutContentType(ctx context.Context, req *ContentTypeRequestData, params PutContentTypeParams) (PutContentTypeRes, error)
	// PutEditorInterface implements putEditorInterface operation.
	//
	// Update the editor interface for a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
	PutEditorInterface(ctx context.Context, req *EditorInterfaceData, params PutEditorInterfaceParams) (PutEditorInterfaceRes, error)
	// PutEntry implements putEntry operation.
	//
	// Create or update an entry.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
	PutEntry(ctx context.Context, req *EntryRequest, params PutEntryParams) (PutEntryRes, error)
	// PutExtension implements putExtension operation.
	//
	// Create or update an extension.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
	PutExtension(ctx context.Context, req *ExtensionData, params PutExtensionParams) (PutExtensionRes, error)
	// PutResourceProvider implements putResourceProvider operation.
	//
	// Create or update a resource provider definition.
	//
	// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
	PutResourceProvider(ctx context.Context, req *ResourceProviderRequest, params PutResourceProviderParams) (PutResourceProviderRes, error)
	// PutResourceType implements putResourceType operation.
	//
	// Create or update a resource type definition.
	//
	// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
	PutResourceType(ctx context.Context, req *ResourceTypeData, params PutResourceTypeParams) (PutResourceTypeRes, error)
	// PutSpaceEnablements implements putSpaceEnablements operation.
	//
	// Update enablements for a space.
	//
	// PUT /spaces/{space_id}/enablements
	PutSpaceEnablements(ctx context.Context, req *SpaceEnablementData, params PutSpaceEnablementsParams) (PutSpaceEnablementsRes, error)
	// PutTag implements putTag operation.
	//
	// Create or update a tag.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
	PutTag(ctx context.Context, req *TagRequest, params PutTagParams) (PutTagRes, error)
	// PutTeam implements putTeam operation.
	//
	// Update a single team.
	//
	// PUT /organizations/{organization_id}/teams/{team_id}
	PutTeam(ctx context.Context, req *TeamData, params PutTeamParams) (PutTeamRes, error)
	// PutTeamSpaceMembership implements putTeamSpaceMembership operation.
	//
	// Update a single team space membership.
	//
	// PUT /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
	PutTeamSpaceMembership(ctx context.Context, req *TeamSpaceMembershipData, params PutTeamSpaceMembershipParams) (PutTeamSpaceMembershipRes, error)
	// RevokePersonalAccessToken implements revokePersonalAccessToken operation.
	//
	// Revoke a personal access token.
	//
	// PUT /users/me/access_tokens/{access_token_id}/revoked
	RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams) (RevokePersonalAccessTokenRes, error)
	// UnpublishEntry implements unpublishEntry operation.
	//
	// Unpublish an entry.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
	UnpublishEntry(ctx context.Context, params UnpublishEntryParams) (UnpublishEntryRes, error)
	// UpdateDeliveryAPIKey implements updateDeliveryAPIKey operation.
	//
	// Update a single delivery api key.
	//
	// PUT /spaces/{space_id}/api_keys/{api_key_id}
	UpdateDeliveryAPIKey(ctx context.Context, req *ApiKeyRequestData, params UpdateDeliveryAPIKeyParams) (UpdateDeliveryAPIKeyRes, error)
	// UpdateRole implements updateRole operation.
	//
	// Update a role.
	//
	// PUT /spaces/{space_id}/roles/{role_id}
	UpdateRole(ctx context.Context, req *RoleData, params UpdateRoleParams) (UpdateRoleRes, error)
	// UpdateWebhookDefinition implements updateWebhookDefinition operation.
	//
	// Update a webhook definition.
	//
	// PUT /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	UpdateWebhookDefinition(ctx context.Context, req *WebhookDefinitionData, params UpdateWebhookDefinitionParams) (UpdateWebhookDefinitionRes, error)
}

Handler handles operations described by OpenAPI v3 specification.

type Invoker

type Invoker interface {
	// ActivateContentType invokes activateContentType operation.
	//
	// Activate a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
	ActivateContentType(ctx context.Context, params ActivateContentTypeParams, options ...RequestOption) (ActivateContentTypeRes, error)
	// CreateAppDefinition invokes createAppDefinition operation.
	//
	// Create an app definition.
	//
	// POST /organizations/{organization_id}/app_definitions
	CreateAppDefinition(ctx context.Context, request *AppDefinitionData, params CreateAppDefinitionParams, options ...RequestOption) (CreateAppDefinitionRes, error)
	// CreateDeliveryAPIKey invokes createDeliveryAPIKey operation.
	//
	// Create a delivery api key.
	//
	// POST /spaces/{space_id}/api_keys
	CreateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, params CreateDeliveryAPIKeyParams, options ...RequestOption) (CreateDeliveryAPIKeyRes, error)
	// CreateEntry invokes createEntry operation.
	//
	// Create an entry.
	//
	// POST /spaces/{space_id}/environments/{environment_id}/entries
	CreateEntry(ctx context.Context, request *EntryRequest, params CreateEntryParams, options ...RequestOption) (CreateEntryRes, error)
	// CreateOrUpdateEnvironment invokes createOrUpdateEnvironment operation.
	//
	// Create or update an environment.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}
	CreateOrUpdateEnvironment(ctx context.Context, request *EnvironmentData, params CreateOrUpdateEnvironmentParams, options ...RequestOption) (CreateOrUpdateEnvironmentRes, error)
	// CreateOrUpdateEnvironmentAlias invokes createOrUpdateEnvironmentAlias operation.
	//
	// Create/Update an environment alias.
	//
	// PUT /spaces/{space_id}/environment_aliases/{environment_alias_id}
	CreateOrUpdateEnvironmentAlias(ctx context.Context, request *EnvironmentAliasData, params CreateOrUpdateEnvironmentAliasParams, options ...RequestOption) (CreateOrUpdateEnvironmentAliasRes, error)
	// CreatePersonalAccessToken invokes createPersonalAccessToken operation.
	//
	// Create a personal access token.
	//
	// POST /users/me/access_tokens
	CreatePersonalAccessToken(ctx context.Context, request *PersonalAccessTokenRequestData, options ...RequestOption) (CreatePersonalAccessTokenRes, error)
	// CreateRole invokes createRole operation.
	//
	// Create a role.
	//
	// POST /spaces/{space_id}/roles
	CreateRole(ctx context.Context, request *RoleData, params CreateRoleParams, options ...RequestOption) (CreateRoleRes, error)
	// CreateTeam invokes createTeam operation.
	//
	// Create a team.
	//
	// POST /organizations/{organization_id}/teams
	CreateTeam(ctx context.Context, request *TeamData, params CreateTeamParams, options ...RequestOption) (CreateTeamRes, error)
	// CreateTeamSpaceMembership invokes createTeamSpaceMembership operation.
	//
	// Create a team space membership.
	//
	// POST /spaces/{space_id}/team_space_memberships
	CreateTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, params CreateTeamSpaceMembershipParams, options ...RequestOption) (CreateTeamSpaceMembershipRes, error)
	// CreateWebhookDefinition invokes createWebhookDefinition operation.
	//
	// Create a webhook definition.
	//
	// POST /spaces/{space_id}/webhook_definitions
	CreateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, params CreateWebhookDefinitionParams, options ...RequestOption) (CreateWebhookDefinitionRes, error)
	// DeactivateContentType invokes deactivateContentType operation.
	//
	// Deactivate a content type.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/published
	DeactivateContentType(ctx context.Context, params DeactivateContentTypeParams, options ...RequestOption) (DeactivateContentTypeRes, error)
	// DeleteAppDefinition invokes deleteAppDefinition operation.
	//
	// Delete an app definition.
	//
	// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}
	DeleteAppDefinition(ctx context.Context, params DeleteAppDefinitionParams, options ...RequestOption) (DeleteAppDefinitionRes, error)
	// DeleteAppInstallation invokes deleteAppInstallation operation.
	//
	// Uninstall an app.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	DeleteAppInstallation(ctx context.Context, params DeleteAppInstallationParams, options ...RequestOption) (DeleteAppInstallationRes, error)
	// DeleteAppSigningSecret invokes deleteAppSigningSecret operation.
	//
	// Delete an app signing secret.
	//
	// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
	DeleteAppSigningSecret(ctx context.Context, params DeleteAppSigningSecretParams, options ...RequestOption) (DeleteAppSigningSecretRes, error)
	// DeleteContentType invokes deleteContentType operation.
	//
	// Delete a content type.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	DeleteContentType(ctx context.Context, params DeleteContentTypeParams, options ...RequestOption) (DeleteContentTypeRes, error)
	// DeleteDeliveryAPIKey invokes deleteDeliveryAPIKey operation.
	//
	// Delete a single delivery api key.
	//
	// DELETE /spaces/{space_id}/api_keys/{api_key_id}
	DeleteDeliveryAPIKey(ctx context.Context, params DeleteDeliveryAPIKeyParams, options ...RequestOption) (DeleteDeliveryAPIKeyRes, error)
	// DeleteEntry invokes deleteEntry operation.
	//
	// Delete an entry.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
	DeleteEntry(ctx context.Context, params DeleteEntryParams, options ...RequestOption) (DeleteEntryRes, error)
	// DeleteEnvironment invokes deleteEnvironment operation.
	//
	// Delete an environment.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}
	DeleteEnvironment(ctx context.Context, params DeleteEnvironmentParams, options ...RequestOption) (DeleteEnvironmentRes, error)
	// DeleteEnvironmentAlias invokes deleteEnvironmentAlias operation.
	//
	// Delete an environment alias.
	//
	// DELETE /spaces/{space_id}/environment_aliases/{environment_alias_id}
	DeleteEnvironmentAlias(ctx context.Context, params DeleteEnvironmentAliasParams, options ...RequestOption) (DeleteEnvironmentAliasRes, error)
	// DeleteExtension invokes deleteExtension operation.
	//
	// Delete an extension.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
	DeleteExtension(ctx context.Context, params DeleteExtensionParams, options ...RequestOption) (DeleteExtensionRes, error)
	// DeleteResourceProvider invokes deleteResourceProvider operation.
	//
	// Delete a resource provider definition.
	//
	// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
	DeleteResourceProvider(ctx context.Context, params DeleteResourceProviderParams, options ...RequestOption) (DeleteResourceProviderRes, error)
	// DeleteResourceType invokes deleteResourceType operation.
	//
	// Delete a resource type definition.
	//
	// DELETE /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
	DeleteResourceType(ctx context.Context, params DeleteResourceTypeParams, options ...RequestOption) (DeleteResourceTypeRes, error)
	// DeleteRole invokes deleteRole operation.
	//
	// Delete a role.
	//
	// DELETE /spaces/{space_id}/roles/{role_id}
	DeleteRole(ctx context.Context, params DeleteRoleParams, options ...RequestOption) (DeleteRoleRes, error)
	// DeleteTag invokes deleteTag operation.
	//
	// Delete a tag.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
	DeleteTag(ctx context.Context, params DeleteTagParams, options ...RequestOption) (DeleteTagRes, error)
	// DeleteTeam invokes deleteTeam operation.
	//
	// Delete a team.
	//
	// DELETE /organizations/{organization_id}/teams/{team_id}
	DeleteTeam(ctx context.Context, params DeleteTeamParams, options ...RequestOption) (DeleteTeamRes, error)
	// DeleteTeamSpaceMembership invokes deleteTeamSpaceMembership operation.
	//
	// Delete a team space membership.
	//
	// DELETE /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
	DeleteTeamSpaceMembership(ctx context.Context, params DeleteTeamSpaceMembershipParams, options ...RequestOption) (DeleteTeamSpaceMembershipRes, error)
	// DeleteWebhookDefinition invokes deleteWebhookDefinition operation.
	//
	// Delete a webhook definition.
	//
	// DELETE /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	DeleteWebhookDefinition(ctx context.Context, params DeleteWebhookDefinitionParams, options ...RequestOption) (DeleteWebhookDefinitionRes, error)
	// GetAppDefinition invokes getAppDefinition operation.
	//
	// Get one app definition.
	//
	// GET /organizations/{organization_id}/app_definitions/{app_definition_id}
	GetAppDefinition(ctx context.Context, params GetAppDefinitionParams, options ...RequestOption) (GetAppDefinitionRes, error)
	// GetAppInstallation invokes getAppInstallation operation.
	//
	// Get one app installation.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	GetAppInstallation(ctx context.Context, params GetAppInstallationParams, options ...RequestOption) (GetAppInstallationRes, error)
	// GetAppSigningSecret invokes getAppSigningSecret operation.
	//
	// Get one app signing secret.
	//
	// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
	GetAppSigningSecret(ctx context.Context, params GetAppSigningSecretParams, options ...RequestOption) (GetAppSigningSecretRes, error)
	// GetAuthenticatedUser invokes getAuthenticatedUser operation.
	//
	// Get the authenticated user.
	//
	// GET /users/me
	GetAuthenticatedUser(ctx context.Context, options ...RequestOption) (GetAuthenticatedUserRes, error)
	// GetContentType invokes getContentType operation.
	//
	// Get a content type.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	GetContentType(ctx context.Context, params GetContentTypeParams, options ...RequestOption) (GetContentTypeRes, error)
	// GetContentTypes invokes getContentTypes operation.
	//
	// Get a collection of content types.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/content_types
	GetContentTypes(ctx context.Context, params GetContentTypesParams, options ...RequestOption) (GetContentTypesRes, error)
	// GetDeliveryAPIKey invokes getDeliveryAPIKey operation.
	//
	// Get a single delivery api key.
	//
	// GET /spaces/{space_id}/api_keys/{api_key_id}
	GetDeliveryAPIKey(ctx context.Context, params GetDeliveryAPIKeyParams, options ...RequestOption) (GetDeliveryAPIKeyRes, error)
	// GetEditorInterface invokes getEditorInterface operation.
	//
	// Get the editor interface for a content type.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
	GetEditorInterface(ctx context.Context, params GetEditorInterfaceParams, options ...RequestOption) (GetEditorInterfaceRes, error)
	// GetEntries invokes getEntries operation.
	//
	// Get all entries of a space.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/entries
	GetEntries(ctx context.Context, params GetEntriesParams, options ...RequestOption) (GetEntriesRes, error)
	// GetEntry invokes getEntry operation.
	//
	// Get a single entry.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
	GetEntry(ctx context.Context, params GetEntryParams, options ...RequestOption) (GetEntryRes, error)
	// GetEnvironment invokes getEnvironment operation.
	//
	// Get a single environment.
	//
	// GET /spaces/{space_id}/environments/{environment_id}
	GetEnvironment(ctx context.Context, params GetEnvironmentParams, options ...RequestOption) (GetEnvironmentRes, error)
	// GetEnvironmentAlias invokes getEnvironmentAlias operation.
	//
	// Get a single environment alias.
	//
	// GET /spaces/{space_id}/environment_aliases/{environment_alias_id}
	GetEnvironmentAlias(ctx context.Context, params GetEnvironmentAliasParams, options ...RequestOption) (GetEnvironmentAliasRes, error)
	// GetExtension invokes getExtension operation.
	//
	// Get a single extension.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
	GetExtension(ctx context.Context, params GetExtensionParams, options ...RequestOption) (GetExtensionRes, error)
	// GetMarketplaceAppDefinitions invokes getMarketplaceAppDefinitions operation.
	//
	// Get marketplace app definitions.
	//
	// GET /app_definitions
	GetMarketplaceAppDefinitions(ctx context.Context, params GetMarketplaceAppDefinitionsParams, options ...RequestOption) (GetMarketplaceAppDefinitionsRes, error)
	// GetPersonalAccessToken invokes getPersonalAccessToken operation.
	//
	// Get a single personal access token.
	//
	// GET /users/me/access_tokens/{access_token_id}
	GetPersonalAccessToken(ctx context.Context, params GetPersonalAccessTokenParams, options ...RequestOption) (GetPersonalAccessTokenRes, error)
	// GetPreviewAPIKey invokes getPreviewAPIKey operation.
	//
	// Get a single preview api key.
	//
	// GET /spaces/{space_id}/preview_api_keys/{preview_api_key_id}
	GetPreviewAPIKey(ctx context.Context, params GetPreviewAPIKeyParams, options ...RequestOption) (GetPreviewAPIKeyRes, error)
	// GetResourceProvider invokes getResourceProvider operation.
	//
	// Get one resource provider definition.
	//
	// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
	GetResourceProvider(ctx context.Context, params GetResourceProviderParams, options ...RequestOption) (GetResourceProviderRes, error)
	// GetResourceType invokes getResourceType operation.
	//
	// Get one resource type definition.
	//
	// GET /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
	GetResourceType(ctx context.Context, params GetResourceTypeParams, options ...RequestOption) (GetResourceTypeRes, error)
	// GetRole invokes getRole operation.
	//
	// Get a role.
	//
	// GET /spaces/{space_id}/roles/{role_id}
	GetRole(ctx context.Context, params GetRoleParams, options ...RequestOption) (GetRoleRes, error)
	// GetSpaceEnablements invokes getSpaceEnablements operation.
	//
	// Get enablements for a space.
	//
	// GET /spaces/{space_id}/enablements
	GetSpaceEnablements(ctx context.Context, params GetSpaceEnablementsParams, options ...RequestOption) (GetSpaceEnablementsRes, error)
	// GetTag invokes getTag operation.
	//
	// Get a single tag.
	//
	// GET /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
	GetTag(ctx context.Context, params GetTagParams, options ...RequestOption) (GetTagRes, error)
	// GetTeam invokes getTeam operation.
	//
	// Get a single team.
	//
	// GET /organizations/{organization_id}/teams/{team_id}
	GetTeam(ctx context.Context, params GetTeamParams, options ...RequestOption) (GetTeamRes, error)
	// GetTeamSpaceMembership invokes getTeamSpaceMembership operation.
	//
	// Get a single team space membership.
	//
	// GET /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
	GetTeamSpaceMembership(ctx context.Context, params GetTeamSpaceMembershipParams, options ...RequestOption) (GetTeamSpaceMembershipRes, error)
	// GetWebhookDefinition invokes getWebhookDefinition operation.
	//
	// Get a webhook definition.
	//
	// GET /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	GetWebhookDefinition(ctx context.Context, params GetWebhookDefinitionParams, options ...RequestOption) (GetWebhookDefinitionRes, error)
	// PublishEntry invokes publishEntry operation.
	//
	// Publish an entry.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
	PublishEntry(ctx context.Context, params PublishEntryParams, options ...RequestOption) (PublishEntryRes, error)
	// PutAppDefinition invokes putAppDefinition operation.
	//
	// Create or update an app definition.
	//
	// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}
	PutAppDefinition(ctx context.Context, request *AppDefinitionData, params PutAppDefinitionParams, options ...RequestOption) (PutAppDefinitionRes, error)
	// PutAppInstallation invokes putAppInstallation operation.
	//
	// Install or update an app.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/app_installations/{app_definition_id}
	PutAppInstallation(ctx context.Context, request *AppInstallationData, params PutAppInstallationParams, options ...RequestOption) (PutAppInstallationRes, error)
	// PutAppSigningSecret invokes putAppSigningSecret operation.
	//
	// Create or update an app signing secret.
	//
	// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/signing_secret
	PutAppSigningSecret(ctx context.Context, request *AppSigningSecretRequestData, params PutAppSigningSecretParams, options ...RequestOption) (PutAppSigningSecretRes, error)
	// PutContentType invokes putContentType operation.
	//
	// Update a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}
	PutContentType(ctx context.Context, request *ContentTypeRequestData, params PutContentTypeParams, options ...RequestOption) (PutContentTypeRes, error)
	// PutEditorInterface invokes putEditorInterface operation.
	//
	// Update the editor interface for a content type.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}/editor_interface
	PutEditorInterface(ctx context.Context, request *EditorInterfaceData, params PutEditorInterfaceParams, options ...RequestOption) (PutEditorInterfaceRes, error)
	// PutEntry invokes putEntry operation.
	//
	// Create or update an entry.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}
	PutEntry(ctx context.Context, request *EntryRequest, params PutEntryParams, options ...RequestOption) (PutEntryRes, error)
	// PutExtension invokes putExtension operation.
	//
	// Create or update an extension.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/extensions/{extension_id}
	PutExtension(ctx context.Context, request *ExtensionData, params PutExtensionParams, options ...RequestOption) (PutExtensionRes, error)
	// PutResourceProvider invokes putResourceProvider operation.
	//
	// Create or update a resource provider definition.
	//
	// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider
	PutResourceProvider(ctx context.Context, request *ResourceProviderRequest, params PutResourceProviderParams, options ...RequestOption) (PutResourceProviderRes, error)
	// PutResourceType invokes putResourceType operation.
	//
	// Create or update a resource type definition.
	//
	// PUT /organizations/{organization_id}/app_definitions/{app_definition_id}/resource_provider/resource_types/{resource_type_id}
	PutResourceType(ctx context.Context, request *ResourceTypeData, params PutResourceTypeParams, options ...RequestOption) (PutResourceTypeRes, error)
	// PutSpaceEnablements invokes putSpaceEnablements operation.
	//
	// Update enablements for a space.
	//
	// PUT /spaces/{space_id}/enablements
	PutSpaceEnablements(ctx context.Context, request *SpaceEnablementData, params PutSpaceEnablementsParams, options ...RequestOption) (PutSpaceEnablementsRes, error)
	// PutTag invokes putTag operation.
	//
	// Create or update a tag.
	//
	// PUT /spaces/{space_id}/environments/{environment_id}/tags/{tag_id}
	PutTag(ctx context.Context, request *TagRequest, params PutTagParams, options ...RequestOption) (PutTagRes, error)
	// PutTeam invokes putTeam operation.
	//
	// Update a single team.
	//
	// PUT /organizations/{organization_id}/teams/{team_id}
	PutTeam(ctx context.Context, request *TeamData, params PutTeamParams, options ...RequestOption) (PutTeamRes, error)
	// PutTeamSpaceMembership invokes putTeamSpaceMembership operation.
	//
	// Update a single team space membership.
	//
	// PUT /spaces/{space_id}/team_space_memberships/{team_space_membership_id}
	PutTeamSpaceMembership(ctx context.Context, request *TeamSpaceMembershipData, params PutTeamSpaceMembershipParams, options ...RequestOption) (PutTeamSpaceMembershipRes, error)
	// RevokePersonalAccessToken invokes revokePersonalAccessToken operation.
	//
	// Revoke a personal access token.
	//
	// PUT /users/me/access_tokens/{access_token_id}/revoked
	RevokePersonalAccessToken(ctx context.Context, params RevokePersonalAccessTokenParams, options ...RequestOption) (RevokePersonalAccessTokenRes, error)
	// UnpublishEntry invokes unpublishEntry operation.
	//
	// Unpublish an entry.
	//
	// DELETE /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}/published
	UnpublishEntry(ctx context.Context, params UnpublishEntryParams, options ...RequestOption) (UnpublishEntryRes, error)
	// UpdateDeliveryAPIKey invokes updateDeliveryAPIKey operation.
	//
	// Update a single delivery api key.
	//
	// PUT /spaces/{space_id}/api_keys/{api_key_id}
	UpdateDeliveryAPIKey(ctx context.Context, request *ApiKeyRequestData, params UpdateDeliveryAPIKeyParams, options ...RequestOption) (UpdateDeliveryAPIKeyRes, error)
	// UpdateRole invokes updateRole operation.
	//
	// Update a role.
	//
	// PUT /spaces/{space_id}/roles/{role_id}
	UpdateRole(ctx context.Context, request *RoleData, params UpdateRoleParams, options ...RequestOption) (UpdateRoleRes, error)
	// UpdateWebhookDefinition invokes updateWebhookDefinition operation.
	//
	// Update a webhook definition.
	//
	// PUT /spaces/{space_id}/webhook_definitions/{webhook_definition_id}
	UpdateWebhookDefinition(ctx context.Context, request *WebhookDefinitionData, params UpdateWebhookDefinitionParams, options ...RequestOption) (UpdateWebhookDefinitionRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type Middleware added in v0.0.33

type Middleware = middleware.Middleware

Middleware is middleware type.

type NilString added in v0.0.7

type NilString struct {
	Value string
	Null  bool
}

NilString is nullable string.

func NewNilPointerString added in v0.0.43

func NewNilPointerString(v *string) NilString

func NewNilString added in v0.0.7

func NewNilString(v string) NilString

NewNilString returns new NilString with value set to v.

func NewNilStringNull added in v0.0.43

func NewNilStringNull() NilString

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.

func (*NilString) ValueStringPointer added in v0.0.43

func (v *NilString) ValueStringPointer() *string

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"
	CreateAppDefinitionOperation            OperationName = "CreateAppDefinition"
	CreateDeliveryAPIKeyOperation           OperationName = "CreateDeliveryAPIKey"
	CreateEntryOperation                    OperationName = "CreateEntry"
	CreateOrUpdateEnvironmentOperation      OperationName = "CreateOrUpdateEnvironment"
	CreateOrUpdateEnvironmentAliasOperation OperationName = "CreateOrUpdateEnvironmentAlias"
	CreatePersonalAccessTokenOperation      OperationName = "CreatePersonalAccessToken"
	CreateRoleOperation                     OperationName = "CreateRole"
	CreateTeamOperation                     OperationName = "CreateTeam"
	CreateTeamSpaceMembershipOperation      OperationName = "CreateTeamSpaceMembership"
	CreateWebhookDefinitionOperation        OperationName = "CreateWebhookDefinition"
	DeactivateContentTypeOperation          OperationName = "DeactivateContentType"
	DeleteAppDefinitionOperation            OperationName = "DeleteAppDefinition"
	DeleteAppInstallationOperation          OperationName = "DeleteAppInstallation"
	DeleteAppSigningSecretOperation         OperationName = "DeleteAppSigningSecret"
	DeleteContentTypeOperation              OperationName = "DeleteContentType"
	DeleteDeliveryAPIKeyOperation           OperationName = "DeleteDeliveryAPIKey"
	DeleteEntryOperation                    OperationName = "DeleteEntry"
	DeleteEnvironmentOperation              OperationName = "DeleteEnvironment"
	DeleteEnvironmentAliasOperation         OperationName = "DeleteEnvironmentAlias"
	DeleteExtensionOperation                OperationName = "DeleteExtension"
	DeleteResourceProviderOperation         OperationName = "DeleteResourceProvider"
	DeleteResourceTypeOperation             OperationName = "DeleteResourceType"
	DeleteRoleOperation                     OperationName = "DeleteRole"
	DeleteTagOperation                      OperationName = "DeleteTag"
	DeleteTeamOperation                     OperationName = "DeleteTeam"
	DeleteTeamSpaceMembershipOperation      OperationName = "DeleteTeamSpaceMembership"
	DeleteWebhookDefinitionOperation        OperationName = "DeleteWebhookDefinition"
	GetAppDefinitionOperation               OperationName = "GetAppDefinition"
	GetAppInstallationOperation             OperationName = "GetAppInstallation"
	GetAppSigningSecretOperation            OperationName = "GetAppSigningSecret"
	GetAuthenticatedUserOperation           OperationName = "GetAuthenticatedUser"
	GetContentTypeOperation                 OperationName = "GetContentType"
	GetContentTypesOperation                OperationName = "GetContentTypes"
	GetDeliveryAPIKeyOperation              OperationName = "GetDeliveryAPIKey"
	GetEditorInterfaceOperation             OperationName = "GetEditorInterface"
	GetEntriesOperation                     OperationName = "GetEntries"
	GetEntryOperation                       OperationName = "GetEntry"
	GetEnvironmentOperation                 OperationName = "GetEnvironment"
	GetEnvironmentAliasOperation            OperationName = "GetEnvironmentAlias"
	GetExtensionOperation                   OperationName = "GetExtension"
	GetMarketplaceAppDefinitionsOperation   OperationName = "GetMarketplaceAppDefinitions"
	GetPersonalAccessTokenOperation         OperationName = "GetPersonalAccessToken"
	GetPreviewAPIKeyOperation               OperationName = "GetPreviewAPIKey"
	GetResourceProviderOperation            OperationName = "GetResourceProvider"
	GetResourceTypeOperation                OperationName = "GetResourceType"
	GetRoleOperation                        OperationName = "GetRole"
	GetSpaceEnablementsOperation            OperationName = "GetSpaceEnablements"
	GetTagOperation                         OperationName = "GetTag"
	GetTeamOperation                        OperationName = "GetTeam"
	GetTeamSpaceMembershipOperation         OperationName = "GetTeamSpaceMembership"
	GetWebhookDefinitionOperation           OperationName = "GetWebhookDefinition"
	PublishEntryOperation                   OperationName = "PublishEntry"
	PutAppDefinitionOperation               OperationName = "PutAppDefinition"
	PutAppInstallationOperation             OperationName = "PutAppInstallation"
	PutAppSigningSecretOperation            OperationName = "PutAppSigningSecret"
	PutContentTypeOperation                 OperationName = "PutContentType"
	PutEditorInterfaceOperation             OperationName = "PutEditorInterface"
	PutEntryOperation                       OperationName = "PutEntry"
	PutExtensionOperation                   OperationName = "PutExtension"
	PutResourceProviderOperation            OperationName = "PutResourceProvider"
	PutResourceTypeOperation                OperationName = "PutResourceType"
	PutSpaceEnablementsOperation            OperationName = "PutSpaceEnablements"
	PutTagOperation                         OperationName = "PutTag"
	PutTeamOperation                        OperationName = "PutTeam"
	PutTeamSpaceMembershipOperation         OperationName = "PutTeamSpaceMembership"
	RevokePersonalAccessTokenOperation      OperationName = "RevokePersonalAccessToken"
	UnpublishEntryOperation                 OperationName = "UnpublishEntry"
	UpdateDeliveryAPIKeyOperation           OperationName = "UpdateDeliveryAPIKey"
	UpdateRoleOperation                     OperationName = "UpdateRole"
	UpdateWebhookDefinitionOperation        OperationName = "UpdateWebhookDefinition"
)
type OptAppBundleLink struct {
	Value AppBundleLink
	Set   bool
}

OptAppBundleLink is optional AppBundleLink.

func NewOptAppBundleLink(v AppBundleLink) OptAppBundleLink

NewOptAppBundleLink returns new OptAppBundleLink with value set to v.

func (*OptAppBundleLink) Decode added in v0.0.27

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

Decode decodes AppBundleLink from json.

func (OptAppBundleLink) Encode added in v0.0.27

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

Encode encodes AppBundleLink as json.

func (OptAppBundleLink) Get added in v0.0.27

func (o OptAppBundleLink) Get() (v AppBundleLink, ok bool)

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

func (OptAppBundleLink) IsSet added in v0.0.27

func (o OptAppBundleLink) IsSet() bool

IsSet returns true if OptAppBundleLink was set.

func (OptAppBundleLink) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (OptAppBundleLink) Or added in v0.0.27

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

func (*OptAppBundleLink) Reset added in v0.0.27

func (o *OptAppBundleLink) Reset()

Reset unsets value.

func (*OptAppBundleLink) SetTo added in v0.0.27

func (o *OptAppBundleLink) SetTo(v AppBundleLink)

SetTo sets value to v.

func (*OptAppBundleLink) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAppDefinitionDataLocationsItemFieldTypesItemItems added in v0.0.42

type OptAppDefinitionDataLocationsItemFieldTypesItemItems struct {
	Value AppDefinitionDataLocationsItemFieldTypesItemItems
	Set   bool
}

OptAppDefinitionDataLocationsItemFieldTypesItemItems is optional AppDefinitionDataLocationsItemFieldTypesItemItems.

func NewOptAppDefinitionDataLocationsItemFieldTypesItemItems added in v0.0.42

NewOptAppDefinitionDataLocationsItemFieldTypesItemItems returns new OptAppDefinitionDataLocationsItemFieldTypesItemItems with value set to v.

func (*OptAppDefinitionDataLocationsItemFieldTypesItemItems) Decode added in v0.0.42

Decode decodes AppDefinitionDataLocationsItemFieldTypesItemItems from json.

func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) Encode added in v0.0.42

Encode encodes AppDefinitionDataLocationsItemFieldTypesItemItems as json.

func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) Get added in v0.0.42

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

func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) IsSet added in v0.0.42

IsSet returns true if OptAppDefinitionDataLocationsItemFieldTypesItemItems was set.

func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (OptAppDefinitionDataLocationsItemFieldTypesItemItems) Or added in v0.0.42

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

func (*OptAppDefinitionDataLocationsItemFieldTypesItemItems) Reset added in v0.0.42

Reset unsets value.

func (*OptAppDefinitionDataLocationsItemFieldTypesItemItems) SetTo added in v0.0.42

SetTo sets value to v.

func (*OptAppDefinitionDataLocationsItemFieldTypesItemItems) UnmarshalJSON added in v0.0.42

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAppDefinitionDataLocationsItemNavigationItem added in v0.0.42

type OptAppDefinitionDataLocationsItemNavigationItem struct {
	Value AppDefinitionDataLocationsItemNavigationItem
	Set   bool
}

OptAppDefinitionDataLocationsItemNavigationItem is optional AppDefinitionDataLocationsItemNavigationItem.

func NewOptAppDefinitionDataLocationsItemNavigationItem added in v0.0.42

func NewOptAppDefinitionDataLocationsItemNavigationItem(v AppDefinitionDataLocationsItemNavigationItem) OptAppDefinitionDataLocationsItemNavigationItem

NewOptAppDefinitionDataLocationsItemNavigationItem returns new OptAppDefinitionDataLocationsItemNavigationItem with value set to v.

func (*OptAppDefinitionDataLocationsItemNavigationItem) Decode added in v0.0.42

Decode decodes AppDefinitionDataLocationsItemNavigationItem from json.

func (OptAppDefinitionDataLocationsItemNavigationItem) Encode added in v0.0.42

Encode encodes AppDefinitionDataLocationsItemNavigationItem as json.

func (OptAppDefinitionDataLocationsItemNavigationItem) Get added in v0.0.42

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

func (OptAppDefinitionDataLocationsItemNavigationItem) IsSet added in v0.0.42

IsSet returns true if OptAppDefinitionDataLocationsItemNavigationItem was set.

func (OptAppDefinitionDataLocationsItemNavigationItem) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (OptAppDefinitionDataLocationsItemNavigationItem) Or added in v0.0.42

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

func (*OptAppDefinitionDataLocationsItemNavigationItem) Reset added in v0.0.42

Reset unsets value.

func (*OptAppDefinitionDataLocationsItemNavigationItem) SetTo added in v0.0.42

SetTo sets value to v.

func (*OptAppDefinitionDataLocationsItemNavigationItem) UnmarshalJSON added in v0.0.42

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAppDefinitionLocationsItemFieldTypesItemItems added in v0.0.27

type OptAppDefinitionLocationsItemFieldTypesItemItems struct {
	Value AppDefinitionLocationsItemFieldTypesItemItems
	Set   bool
}

OptAppDefinitionLocationsItemFieldTypesItemItems is optional AppDefinitionLocationsItemFieldTypesItemItems.

func NewOptAppDefinitionLocationsItemFieldTypesItemItems added in v0.0.27

func NewOptAppDefinitionLocationsItemFieldTypesItemItems(v AppDefinitionLocationsItemFieldTypesItemItems) OptAppDefinitionLocationsItemFieldTypesItemItems

NewOptAppDefinitionLocationsItemFieldTypesItemItems returns new OptAppDefinitionLocationsItemFieldTypesItemItems with value set to v.

func (*OptAppDefinitionLocationsItemFieldTypesItemItems) Decode added in v0.0.27

Decode decodes AppDefinitionLocationsItemFieldTypesItemItems from json.

func (OptAppDefinitionLocationsItemFieldTypesItemItems) Encode added in v0.0.27

Encode encodes AppDefinitionLocationsItemFieldTypesItemItems as json.

func (OptAppDefinitionLocationsItemFieldTypesItemItems) Get added in v0.0.27

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

func (OptAppDefinitionLocationsItemFieldTypesItemItems) IsSet added in v0.0.27

IsSet returns true if OptAppDefinitionLocationsItemFieldTypesItemItems was set.

func (OptAppDefinitionLocationsItemFieldTypesItemItems) MarshalJSON added in v0.0.27

MarshalJSON implements stdjson.Marshaler.

func (OptAppDefinitionLocationsItemFieldTypesItemItems) Or added in v0.0.27

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

func (*OptAppDefinitionLocationsItemFieldTypesItemItems) Reset added in v0.0.27

Reset unsets value.

func (*OptAppDefinitionLocationsItemFieldTypesItemItems) SetTo added in v0.0.27

SetTo sets value to v.

func (*OptAppDefinitionLocationsItemFieldTypesItemItems) UnmarshalJSON added in v0.0.27

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAppDefinitionLocationsItemNavigationItem added in v0.0.27

type OptAppDefinitionLocationsItemNavigationItem struct {
	Value AppDefinitionLocationsItemNavigationItem
	Set   bool
}

OptAppDefinitionLocationsItemNavigationItem is optional AppDefinitionLocationsItemNavigationItem.

func NewOptAppDefinitionLocationsItemNavigationItem added in v0.0.27

func NewOptAppDefinitionLocationsItemNavigationItem(v AppDefinitionLocationsItemNavigationItem) OptAppDefinitionLocationsItemNavigationItem

NewOptAppDefinitionLocationsItemNavigationItem returns new OptAppDefinitionLocationsItemNavigationItem with value set to v.

func (*OptAppDefinitionLocationsItemNavigationItem) Decode added in v0.0.27

Decode decodes AppDefinitionLocationsItemNavigationItem from json.

func (OptAppDefinitionLocationsItemNavigationItem) Encode added in v0.0.27

Encode encodes AppDefinitionLocationsItemNavigationItem as json.

func (OptAppDefinitionLocationsItemNavigationItem) Get added in v0.0.27

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

func (OptAppDefinitionLocationsItemNavigationItem) IsSet added in v0.0.27

IsSet returns true if OptAppDefinitionLocationsItemNavigationItem was set.

func (OptAppDefinitionLocationsItemNavigationItem) MarshalJSON added in v0.0.27

MarshalJSON implements stdjson.Marshaler.

func (OptAppDefinitionLocationsItemNavigationItem) Or added in v0.0.27

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

func (*OptAppDefinitionLocationsItemNavigationItem) Reset added in v0.0.27

Reset unsets value.

func (*OptAppDefinitionLocationsItemNavigationItem) SetTo added in v0.0.27

SetTo sets value to v.

func (*OptAppDefinitionLocationsItemNavigationItem) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAppDefinitionParameterLabels added in v0.0.27

type OptAppDefinitionParameterLabels struct {
	Value AppDefinitionParameterLabels
	Set   bool
}

OptAppDefinitionParameterLabels is optional AppDefinitionParameterLabels.

func NewOptAppDefinitionParameterLabels added in v0.0.27

func NewOptAppDefinitionParameterLabels(v AppDefinitionParameterLabels) OptAppDefinitionParameterLabels

NewOptAppDefinitionParameterLabels returns new OptAppDefinitionParameterLabels with value set to v.

func (*OptAppDefinitionParameterLabels) Decode added in v0.0.27

Decode decodes AppDefinitionParameterLabels from json.

func (OptAppDefinitionParameterLabels) Encode added in v0.0.27

Encode encodes AppDefinitionParameterLabels as json.

func (OptAppDefinitionParameterLabels) Get added in v0.0.27

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

func (OptAppDefinitionParameterLabels) IsSet added in v0.0.27

IsSet returns true if OptAppDefinitionParameterLabels was set.

func (OptAppDefinitionParameterLabels) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (OptAppDefinitionParameterLabels) Or added in v0.0.27

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

func (*OptAppDefinitionParameterLabels) Reset added in v0.0.27

Reset unsets value.

func (*OptAppDefinitionParameterLabels) SetTo added in v0.0.27

SetTo sets value to v.

func (*OptAppDefinitionParameterLabels) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAppDefinitionParameters added in v0.0.27

type OptAppDefinitionParameters struct {
	Value AppDefinitionParameters
	Set   bool
}

OptAppDefinitionParameters is optional AppDefinitionParameters.

func NewOptAppDefinitionParameters added in v0.0.27

func NewOptAppDefinitionParameters(v AppDefinitionParameters) OptAppDefinitionParameters

NewOptAppDefinitionParameters returns new OptAppDefinitionParameters with value set to v.

func (*OptAppDefinitionParameters) Decode added in v0.0.27

Decode decodes AppDefinitionParameters from json.

func (OptAppDefinitionParameters) Encode added in v0.0.27

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

Encode encodes AppDefinitionParameters as json.

func (OptAppDefinitionParameters) Get added in v0.0.27

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

func (OptAppDefinitionParameters) IsSet added in v0.0.27

func (o OptAppDefinitionParameters) IsSet() bool

IsSet returns true if OptAppDefinitionParameters was set.

func (OptAppDefinitionParameters) MarshalJSON added in v0.0.27

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

MarshalJSON implements stdjson.Marshaler.

func (OptAppDefinitionParameters) Or added in v0.0.27

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

func (*OptAppDefinitionParameters) Reset added in v0.0.27

func (o *OptAppDefinitionParameters) Reset()

Reset unsets value.

func (*OptAppDefinitionParameters) SetTo added in v0.0.27

SetTo sets value to v.

func (*OptAppDefinitionParameters) UnmarshalJSON added in v0.0.27

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBool added in v0.0.3

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 OptContentTypeMetadata added in v0.0.24

type OptContentTypeMetadata struct {
	Value ContentTypeMetadata
	Set   bool
}

OptContentTypeMetadata is optional ContentTypeMetadata.

func NewOptContentTypeMetadata added in v0.0.24

func NewOptContentTypeMetadata(v ContentTypeMetadata) OptContentTypeMetadata

NewOptContentTypeMetadata returns new OptContentTypeMetadata with value set to v.

func (*OptContentTypeMetadata) Decode added in v0.0.24

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

Decode decodes ContentTypeMetadata from json.

func (OptContentTypeMetadata) Encode added in v0.0.24

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

Encode encodes ContentTypeMetadata as json.

func (OptContentTypeMetadata) Get added in v0.0.24

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

func (OptContentTypeMetadata) IsSet added in v0.0.24

func (o OptContentTypeMetadata) IsSet() bool

IsSet returns true if OptContentTypeMetadata was set.

func (OptContentTypeMetadata) MarshalJSON added in v0.0.24

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

MarshalJSON implements stdjson.Marshaler.

func (OptContentTypeMetadata) Or added in v0.0.24

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

func (*OptContentTypeMetadata) Reset added in v0.0.24

func (o *OptContentTypeMetadata) Reset()

Reset unsets value.

func (*OptContentTypeMetadata) SetTo added in v0.0.24

SetTo sets value to v.

func (*OptContentTypeMetadata) UnmarshalJSON added in v0.0.24

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptContentTypeRequestDataFieldsItemItems added in v0.0.42

type OptContentTypeRequestDataFieldsItemItems struct {
	Value ContentTypeRequestDataFieldsItemItems
	Set   bool
}

OptContentTypeRequestDataFieldsItemItems is optional ContentTypeRequestDataFieldsItemItems.

func NewOptContentTypeRequestDataFieldsItemItems added in v0.0.42

func NewOptContentTypeRequestDataFieldsItemItems(v ContentTypeRequestDataFieldsItemItems) OptContentTypeRequestDataFieldsItemItems

NewOptContentTypeRequestDataFieldsItemItems returns new OptContentTypeRequestDataFieldsItemItems with value set to v.

func (*OptContentTypeRequestDataFieldsItemItems) Decode added in v0.0.42

Decode decodes ContentTypeRequestDataFieldsItemItems from json.

func (OptContentTypeRequestDataFieldsItemItems) Encode added in v0.0.42

Encode encodes ContentTypeRequestDataFieldsItemItems as json.

func (OptContentTypeRequestDataFieldsItemItems) Get added in v0.0.42

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

func (OptContentTypeRequestDataFieldsItemItems) IsSet added in v0.0.42

IsSet returns true if OptContentTypeRequestDataFieldsItemItems was set.

func (OptContentTypeRequestDataFieldsItemItems) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (OptContentTypeRequestDataFieldsItemItems) Or added in v0.0.42

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

func (*OptContentTypeRequestDataFieldsItemItems) Reset added in v0.0.42

Reset unsets value.

func (*OptContentTypeRequestDataFieldsItemItems) SetTo added in v0.0.42

SetTo sets value to v.

func (*OptContentTypeRequestDataFieldsItemItems) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDateTime

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 OptEntryFields added in v0.0.40

type OptEntryFields struct {
	Value EntryFields
	Set   bool
}

OptEntryFields is optional EntryFields.

func NewOptEntryFields added in v0.0.40

func NewOptEntryFields(v EntryFields) OptEntryFields

NewOptEntryFields returns new OptEntryFields with value set to v.

func (*OptEntryFields) Decode added in v0.0.40

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

Decode decodes EntryFields from json.

func (OptEntryFields) Encode added in v0.0.40

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

Encode encodes EntryFields as json.

func (OptEntryFields) Get added in v0.0.40

func (o OptEntryFields) Get() (v EntryFields, ok bool)

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

func (OptEntryFields) IsSet added in v0.0.40

func (o OptEntryFields) IsSet() bool

IsSet returns true if OptEntryFields was set.

func (OptEntryFields) MarshalJSON added in v0.0.40

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

MarshalJSON implements stdjson.Marshaler.

func (OptEntryFields) Or added in v0.0.40

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

func (*OptEntryFields) Reset added in v0.0.40

func (o *OptEntryFields) Reset()

Reset unsets value.

func (*OptEntryFields) SetTo added in v0.0.40

func (o *OptEntryFields) SetTo(v EntryFields)

SetTo sets value to v.

func (*OptEntryFields) UnmarshalJSON added in v0.0.40

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEntryMetadata added in v0.0.40

type OptEntryMetadata struct {
	Value EntryMetadata
	Set   bool
}

OptEntryMetadata is optional EntryMetadata.

func NewOptEntryMetadata added in v0.0.40

func NewOptEntryMetadata(v EntryMetadata) OptEntryMetadata

NewOptEntryMetadata returns new OptEntryMetadata with value set to v.

func (*OptEntryMetadata) Decode added in v0.0.40

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

Decode decodes EntryMetadata from json.

func (OptEntryMetadata) Encode added in v0.0.40

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

Encode encodes EntryMetadata as json.

func (OptEntryMetadata) Get added in v0.0.40

func (o OptEntryMetadata) Get() (v EntryMetadata, ok bool)

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

func (OptEntryMetadata) IsSet added in v0.0.40

func (o OptEntryMetadata) IsSet() bool

IsSet returns true if OptEntryMetadata was set.

func (OptEntryMetadata) MarshalJSON added in v0.0.40

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

MarshalJSON implements stdjson.Marshaler.

func (OptEntryMetadata) Or added in v0.0.40

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

func (*OptEntryMetadata) Reset added in v0.0.40

func (o *OptEntryMetadata) Reset()

Reset unsets value.

func (*OptEntryMetadata) SetTo added in v0.0.40

func (o *OptEntryMetadata) SetTo(v EntryMetadata)

SetTo sets value to v.

func (*OptEntryMetadata) UnmarshalJSON added in v0.0.40

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptExtensionDataExtensionFieldTypesItemItems added in v0.0.42

type OptExtensionDataExtensionFieldTypesItemItems struct {
	Value ExtensionDataExtensionFieldTypesItemItems
	Set   bool
}

OptExtensionDataExtensionFieldTypesItemItems is optional ExtensionDataExtensionFieldTypesItemItems.

func NewOptExtensionDataExtensionFieldTypesItemItems added in v0.0.42

func NewOptExtensionDataExtensionFieldTypesItemItems(v ExtensionDataExtensionFieldTypesItemItems) OptExtensionDataExtensionFieldTypesItemItems

NewOptExtensionDataExtensionFieldTypesItemItems returns new OptExtensionDataExtensionFieldTypesItemItems with value set to v.

func (*OptExtensionDataExtensionFieldTypesItemItems) Decode added in v0.0.42

Decode decodes ExtensionDataExtensionFieldTypesItemItems from json.

func (OptExtensionDataExtensionFieldTypesItemItems) Encode added in v0.0.42

Encode encodes ExtensionDataExtensionFieldTypesItemItems as json.

func (OptExtensionDataExtensionFieldTypesItemItems) Get added in v0.0.42

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

func (OptExtensionDataExtensionFieldTypesItemItems) IsSet added in v0.0.42

IsSet returns true if OptExtensionDataExtensionFieldTypesItemItems was set.

func (OptExtensionDataExtensionFieldTypesItemItems) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (OptExtensionDataExtensionFieldTypesItemItems) Or added in v0.0.42

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

func (*OptExtensionDataExtensionFieldTypesItemItems) Reset added in v0.0.42

Reset unsets value.

func (*OptExtensionDataExtensionFieldTypesItemItems) SetTo added in v0.0.42

SetTo sets value to v.

func (*OptExtensionDataExtensionFieldTypesItemItems) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptExtensionExtensionFieldTypesItemItems added in v0.0.29

type OptExtensionExtensionFieldTypesItemItems struct {
	Value ExtensionExtensionFieldTypesItemItems
	Set   bool
}

OptExtensionExtensionFieldTypesItemItems is optional ExtensionExtensionFieldTypesItemItems.

func NewOptExtensionExtensionFieldTypesItemItems added in v0.0.29

func NewOptExtensionExtensionFieldTypesItemItems(v ExtensionExtensionFieldTypesItemItems) OptExtensionExtensionFieldTypesItemItems

NewOptExtensionExtensionFieldTypesItemItems returns new OptExtensionExtensionFieldTypesItemItems with value set to v.

func (*OptExtensionExtensionFieldTypesItemItems) Decode added in v0.0.29

Decode decodes ExtensionExtensionFieldTypesItemItems from json.

func (OptExtensionExtensionFieldTypesItemItems) Encode added in v0.0.29

Encode encodes ExtensionExtensionFieldTypesItemItems as json.

func (OptExtensionExtensionFieldTypesItemItems) Get added in v0.0.29

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

func (OptExtensionExtensionFieldTypesItemItems) IsSet added in v0.0.29

IsSet returns true if OptExtensionExtensionFieldTypesItemItems was set.

func (OptExtensionExtensionFieldTypesItemItems) MarshalJSON added in v0.0.29

MarshalJSON implements stdjson.Marshaler.

func (OptExtensionExtensionFieldTypesItemItems) Or added in v0.0.29

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

func (*OptExtensionExtensionFieldTypesItemItems) Reset added in v0.0.29

Reset unsets value.

func (*OptExtensionExtensionFieldTypesItemItems) SetTo added in v0.0.29

SetTo sets value to v.

func (*OptExtensionExtensionFieldTypesItemItems) UnmarshalJSON added in v0.0.29

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt added in v0.0.5

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 OptInt64 added in v0.0.46

type OptInt64 struct {
	Value int64
	Set   bool
}

OptInt64 is optional int64.

func NewOptInt64 added in v0.0.46

func NewOptInt64(v int64) OptInt64

NewOptInt64 returns new OptInt64 with value set to v.

func (OptInt64) Get added in v0.0.46

func (o OptInt64) Get() (v int64, ok bool)

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

func (OptInt64) IsSet added in v0.0.46

func (o OptInt64) IsSet() bool

IsSet returns true if OptInt64 was set.

func (OptInt64) Or added in v0.0.46

func (o OptInt64) Or(d int64) int64

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

func (*OptInt64) Reset added in v0.0.46

func (o *OptInt64) Reset()

Reset unsets value.

func (*OptInt64) SetTo added in v0.0.46

func (o *OptInt64) SetTo(v int64)

SetTo sets value to v.

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 OptNilEditorInterfaceDataControlsItemArray added in v0.0.42

type OptNilEditorInterfaceDataControlsItemArray struct {
	Value []EditorInterfaceDataControlsItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceDataControlsItemArray is optional nullable []EditorInterfaceDataControlsItem.

func NewOptNilEditorInterfaceDataControlsItemArray added in v0.0.42

func NewOptNilEditorInterfaceDataControlsItemArray(v []EditorInterfaceDataControlsItem) OptNilEditorInterfaceDataControlsItemArray

NewOptNilEditorInterfaceDataControlsItemArray returns new OptNilEditorInterfaceDataControlsItemArray with value set to v.

func (*OptNilEditorInterfaceDataControlsItemArray) Decode added in v0.0.42

Decode decodes []EditorInterfaceDataControlsItem from json.

func (OptNilEditorInterfaceDataControlsItemArray) Encode added in v0.0.42

Encode encodes []EditorInterfaceDataControlsItem as json.

func (OptNilEditorInterfaceDataControlsItemArray) Get added in v0.0.42

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

func (OptNilEditorInterfaceDataControlsItemArray) IsNull added in v0.0.42

IsNull returns true if value is Null.

func (OptNilEditorInterfaceDataControlsItemArray) IsSet added in v0.0.42

IsSet returns true if OptNilEditorInterfaceDataControlsItemArray was set.

func (OptNilEditorInterfaceDataControlsItemArray) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceDataControlsItemArray) Or added in v0.0.42

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

func (*OptNilEditorInterfaceDataControlsItemArray) Reset added in v0.0.42

Reset unsets value.

func (*OptNilEditorInterfaceDataControlsItemArray) SetTo added in v0.0.42

SetTo sets value to v.

func (*OptNilEditorInterfaceDataControlsItemArray) SetToNull added in v0.0.42

SetToNull sets value to null.

func (*OptNilEditorInterfaceDataControlsItemArray) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceDataGroupControlsItemArray added in v0.0.42

type OptNilEditorInterfaceDataGroupControlsItemArray struct {
	Value []EditorInterfaceDataGroupControlsItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceDataGroupControlsItemArray is optional nullable []EditorInterfaceDataGroupControlsItem.

func NewOptNilEditorInterfaceDataGroupControlsItemArray added in v0.0.42

func NewOptNilEditorInterfaceDataGroupControlsItemArray(v []EditorInterfaceDataGroupControlsItem) OptNilEditorInterfaceDataGroupControlsItemArray

NewOptNilEditorInterfaceDataGroupControlsItemArray returns new OptNilEditorInterfaceDataGroupControlsItemArray with value set to v.

func (*OptNilEditorInterfaceDataGroupControlsItemArray) Decode added in v0.0.42

Decode decodes []EditorInterfaceDataGroupControlsItem from json.

func (OptNilEditorInterfaceDataGroupControlsItemArray) Encode added in v0.0.42

Encode encodes []EditorInterfaceDataGroupControlsItem as json.

func (OptNilEditorInterfaceDataGroupControlsItemArray) Get added in v0.0.42

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

func (OptNilEditorInterfaceDataGroupControlsItemArray) IsNull added in v0.0.42

IsNull returns true if value is Null.

func (OptNilEditorInterfaceDataGroupControlsItemArray) IsSet added in v0.0.42

IsSet returns true if OptNilEditorInterfaceDataGroupControlsItemArray was set.

func (OptNilEditorInterfaceDataGroupControlsItemArray) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceDataGroupControlsItemArray) Or added in v0.0.42

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

func (*OptNilEditorInterfaceDataGroupControlsItemArray) Reset added in v0.0.42

Reset unsets value.

func (*OptNilEditorInterfaceDataGroupControlsItemArray) SetTo added in v0.0.42

SetTo sets value to v.

func (*OptNilEditorInterfaceDataGroupControlsItemArray) SetToNull added in v0.0.42

SetToNull sets value to null.

func (*OptNilEditorInterfaceDataGroupControlsItemArray) UnmarshalJSON added in v0.0.42

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceDataSidebarItemArray added in v0.0.42

type OptNilEditorInterfaceDataSidebarItemArray struct {
	Value []EditorInterfaceDataSidebarItem
	Set   bool
	Null  bool
}

OptNilEditorInterfaceDataSidebarItemArray is optional nullable []EditorInterfaceDataSidebarItem.

func NewOptNilEditorInterfaceDataSidebarItemArray added in v0.0.42

func NewOptNilEditorInterfaceDataSidebarItemArray(v []EditorInterfaceDataSidebarItem) OptNilEditorInterfaceDataSidebarItemArray

NewOptNilEditorInterfaceDataSidebarItemArray returns new OptNilEditorInterfaceDataSidebarItemArray with value set to v.

func (*OptNilEditorInterfaceDataSidebarItemArray) Decode added in v0.0.42

Decode decodes []EditorInterfaceDataSidebarItem from json.

func (OptNilEditorInterfaceDataSidebarItemArray) Encode added in v0.0.42

Encode encodes []EditorInterfaceDataSidebarItem as json.

func (OptNilEditorInterfaceDataSidebarItemArray) Get added in v0.0.42

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

func (OptNilEditorInterfaceDataSidebarItemArray) IsNull added in v0.0.42

IsNull returns true if value is Null.

func (OptNilEditorInterfaceDataSidebarItemArray) IsSet added in v0.0.42

IsSet returns true if OptNilEditorInterfaceDataSidebarItemArray was set.

func (OptNilEditorInterfaceDataSidebarItemArray) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (OptNilEditorInterfaceDataSidebarItemArray) Or added in v0.0.42

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

func (*OptNilEditorInterfaceDataSidebarItemArray) Reset added in v0.0.42

Reset unsets value.

func (*OptNilEditorInterfaceDataSidebarItemArray) SetTo added in v0.0.42

SetTo sets value to v.

func (*OptNilEditorInterfaceDataSidebarItemArray) SetToNull added in v0.0.42

SetToNull sets value to null.

func (*OptNilEditorInterfaceDataSidebarItemArray) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditorInterfaceEditorLayoutItemArray added in v0.0.16

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

OptNilEditorInterfaceEditorLayoutItemArray is optional nullable []EditorInterfaceEditorLayoutItem.

func NewOptNilEditorInterfaceEditorLayoutItemArray added in v0.0.16

func NewOptNilEditorInterfaceEditorLayoutItemArray(v []EditorInterfaceEditorLayoutItem) OptNilEditorInterfaceEditorLayoutItemArray

NewOptNilEditorInterfaceEditorLayoutItemArray returns new OptNilEditorInterfaceEditorLayoutItemArray with value set to v.

func (*OptNilEditorInterfaceEditorLayoutItemArray) Decode added in v0.0.16

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 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 OptNilResourceLinkArray added in v0.0.22

type OptNilResourceLinkArray struct {
	Value []ResourceLink
	Set   bool
	Null  bool
}

OptNilResourceLinkArray is optional nullable []ResourceLink.

func NewOptNilResourceLinkArray added in v0.0.22

func NewOptNilResourceLinkArray(v []ResourceLink) OptNilResourceLinkArray

NewOptNilResourceLinkArray returns new OptNilResourceLinkArray with value set to v.

func (*OptNilResourceLinkArray) Decode added in v0.0.22

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

Decode decodes []ResourceLink from json.

func (OptNilResourceLinkArray) Encode added in v0.0.22

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

Encode encodes []ResourceLink as json.

func (OptNilResourceLinkArray) Get added in v0.0.22

func (o OptNilResourceLinkArray) Get() (v []ResourceLink, ok bool)

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

func (OptNilResourceLinkArray) IsNull added in v0.0.22

func (o OptNilResourceLinkArray) IsNull() bool

IsNull returns true if value is Null.

func (OptNilResourceLinkArray) IsSet added in v0.0.22

func (o OptNilResourceLinkArray) IsSet() bool

IsSet returns true if OptNilResourceLinkArray was set.

func (OptNilResourceLinkArray) MarshalJSON added in v0.0.22

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilResourceLinkArray) Or added in v0.0.22

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

func (*OptNilResourceLinkArray) Reset added in v0.0.22

func (o *OptNilResourceLinkArray) Reset()

Reset unsets value.

func (*OptNilResourceLinkArray) SetTo added in v0.0.22

func (o *OptNilResourceLinkArray) SetTo(v []ResourceLink)

SetTo sets value to v.

func (*OptNilResourceLinkArray) SetToNull added in v0.0.22

func (o *OptNilResourceLinkArray) SetToNull()

SetToNull sets value to null.

func (*OptNilResourceLinkArray) UnmarshalJSON added in v0.0.22

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilString added in v0.0.10

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 OptNilWebhookDefinitionDataTransformation added in v0.0.42

type OptNilWebhookDefinitionDataTransformation struct {
	Value WebhookDefinitionDataTransformation
	Set   bool
	Null  bool
}

OptNilWebhookDefinitionDataTransformation is optional nullable WebhookDefinitionDataTransformation.

func NewOptNilWebhookDefinitionDataTransformation added in v0.0.42

func NewOptNilWebhookDefinitionDataTransformation(v WebhookDefinitionDataTransformation) OptNilWebhookDefinitionDataTransformation

NewOptNilWebhookDefinitionDataTransformation returns new OptNilWebhookDefinitionDataTransformation with value set to v.

func (*OptNilWebhookDefinitionDataTransformation) Decode added in v0.0.42

Decode decodes WebhookDefinitionDataTransformation from json.

func (OptNilWebhookDefinitionDataTransformation) Encode added in v0.0.42

Encode encodes WebhookDefinitionDataTransformation as json.

func (OptNilWebhookDefinitionDataTransformation) Get added in v0.0.42

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

func (OptNilWebhookDefinitionDataTransformation) IsNull added in v0.0.42

IsNull returns true if value is Null.

func (OptNilWebhookDefinitionDataTransformation) IsSet added in v0.0.42

IsSet returns true if OptNilWebhookDefinitionDataTransformation was set.

func (OptNilWebhookDefinitionDataTransformation) MarshalJSON added in v0.0.42

MarshalJSON implements stdjson.Marshaler.

func (OptNilWebhookDefinitionDataTransformation) Or added in v0.0.42

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

func (*OptNilWebhookDefinitionDataTransformation) Reset added in v0.0.42

Reset unsets value.

func (*OptNilWebhookDefinitionDataTransformation) SetTo added in v0.0.42

SetTo sets value to v.

func (*OptNilWebhookDefinitionDataTransformation) SetToNull added in v0.0.42

SetToNull sets value to null.

func (*OptNilWebhookDefinitionDataTransformation) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilWebhookDefinitionFilterArray added in v0.0.17

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

OptNilWebhookDefinitionFilterArray is optional nullable []WebhookDefinitionFilter.

func NewOptNilWebhookDefinitionFilterArray added in v0.0.17

func NewOptNilWebhookDefinitionFilterArray(v []WebhookDefinitionFilter) OptNilWebhookDefinitionFilterArray

NewOptNilWebhookDefinitionFilterArray returns new OptNilWebhookDefinitionFilterArray with value set to v.

func NewOptNilWebhookDefinitionFilterArrayNull added in v0.0.17

func NewOptNilWebhookDefinitionFilterArrayNull() OptNilWebhookDefinitionFilterArray

func (*OptNilWebhookDefinitionFilterArray) Decode added in v0.0.17

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 OptPreviewAPIKeyLink struct {
	Value PreviewAPIKeyLink
	Set   bool
}

OptPreviewAPIKeyLink is optional PreviewAPIKeyLink.

func NewOptPreviewAPIKeyLink(v PreviewAPIKeyLink) OptPreviewAPIKeyLink

NewOptPreviewAPIKeyLink returns new OptPreviewAPIKeyLink with value set to v.

func (*OptPreviewAPIKeyLink) Decode added in v0.0.41

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

Decode decodes PreviewAPIKeyLink from json.

func (OptPreviewAPIKeyLink) Encode added in v0.0.41

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

Encode encodes PreviewAPIKeyLink as json.

func (OptPreviewAPIKeyLink) Get added in v0.0.41

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

func (OptPreviewAPIKeyLink) IsSet added in v0.0.41

func (o OptPreviewAPIKeyLink) IsSet() bool

IsSet returns true if OptPreviewAPIKeyLink was set.

func (OptPreviewAPIKeyLink) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (OptPreviewAPIKeyLink) Or added in v0.0.41

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

func (*OptPreviewAPIKeyLink) Reset added in v0.0.41

func (o *OptPreviewAPIKeyLink) Reset()

Reset unsets value.

func (*OptPreviewAPIKeyLink) SetTo added in v0.0.41

SetTo sets value to v.

func (*OptPreviewAPIKeyLink) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptResourceTypeDefaultFieldMappingBadge added in v0.0.23

type OptResourceTypeDefaultFieldMappingBadge struct {
	Value ResourceTypeDefaultFieldMappingBadge
	Set   bool
}

OptResourceTypeDefaultFieldMappingBadge is optional ResourceTypeDefaultFieldMappingBadge.

func NewOptResourceTypeDefaultFieldMappingBadge added in v0.0.23

func NewOptResourceTypeDefaultFieldMappingBadge(v ResourceTypeDefaultFieldMappingBadge) OptResourceTypeDefaultFieldMappingBadge

NewOptResourceTypeDefaultFieldMappingBadge returns new OptResourceTypeDefaultFieldMappingBadge with value set to v.

func (*OptResourceTypeDefaultFieldMappingBadge) Decode added in v0.0.23

Decode decodes ResourceTypeDefaultFieldMappingBadge from json.

func (OptResourceTypeDefaultFieldMappingBadge) Encode added in v0.0.23

Encode encodes ResourceTypeDefaultFieldMappingBadge as json.

func (OptResourceTypeDefaultFieldMappingBadge) Get added in v0.0.23

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

func (OptResourceTypeDefaultFieldMappingBadge) IsSet added in v0.0.23

IsSet returns true if OptResourceTypeDefaultFieldMappingBadge was set.

func (OptResourceTypeDefaultFieldMappingBadge) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (OptResourceTypeDefaultFieldMappingBadge) Or added in v0.0.23

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

func (*OptResourceTypeDefaultFieldMappingBadge) Reset added in v0.0.23

Reset unsets value.

func (*OptResourceTypeDefaultFieldMappingBadge) SetTo added in v0.0.23

SetTo sets value to v.

func (*OptResourceTypeDefaultFieldMappingBadge) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptResourceTypeDefaultFieldMappingImage added in v0.0.23

type OptResourceTypeDefaultFieldMappingImage struct {
	Value ResourceTypeDefaultFieldMappingImage
	Set   bool
}

OptResourceTypeDefaultFieldMappingImage is optional ResourceTypeDefaultFieldMappingImage.

func NewOptResourceTypeDefaultFieldMappingImage added in v0.0.23

func NewOptResourceTypeDefaultFieldMappingImage(v ResourceTypeDefaultFieldMappingImage) OptResourceTypeDefaultFieldMappingImage

NewOptResourceTypeDefaultFieldMappingImage returns new OptResourceTypeDefaultFieldMappingImage with value set to v.

func (*OptResourceTypeDefaultFieldMappingImage) Decode added in v0.0.23

Decode decodes ResourceTypeDefaultFieldMappingImage from json.

func (OptResourceTypeDefaultFieldMappingImage) Encode added in v0.0.23

Encode encodes ResourceTypeDefaultFieldMappingImage as json.

func (OptResourceTypeDefaultFieldMappingImage) Get added in v0.0.23

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

func (OptResourceTypeDefaultFieldMappingImage) IsSet added in v0.0.23

IsSet returns true if OptResourceTypeDefaultFieldMappingImage was set.

func (OptResourceTypeDefaultFieldMappingImage) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (OptResourceTypeDefaultFieldMappingImage) Or added in v0.0.23

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

func (*OptResourceTypeDefaultFieldMappingImage) Reset added in v0.0.23

Reset unsets value.

func (*OptResourceTypeDefaultFieldMappingImage) SetTo added in v0.0.23

SetTo sets value to v.

func (*OptResourceTypeDefaultFieldMappingImage) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSpaceEnablementField added in v0.0.20

type OptSpaceEnablementField struct {
	Value SpaceEnablementField
	Set   bool
}

OptSpaceEnablementField is optional SpaceEnablementField.

func NewOptSpaceEnablementField added in v0.0.20

func NewOptSpaceEnablementField(v SpaceEnablementField) OptSpaceEnablementField

NewOptSpaceEnablementField returns new OptSpaceEnablementField with value set to v.

func (*OptSpaceEnablementField) Decode added in v0.0.20

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

Decode decodes SpaceEnablementField from json.

func (OptSpaceEnablementField) Encode added in v0.0.20

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

Encode encodes SpaceEnablementField as json.

func (OptSpaceEnablementField) Get added in v0.0.20

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 {
	ServerOption
	ClientOption
}

Option is config option.

type OrganizationLink struct {
	Sys OrganizationLinkSys `json:"sys"`
}

Ref: #/OrganizationLink

func NewOrganizationLink(id string) OrganizationLink

func (*OrganizationLink) Decode added in v0.0.23

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

Decode decodes OrganizationLink from json.

func (*OrganizationLink) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*OrganizationLink) GetSys added in v0.0.23

GetSys returns the value of Sys.

func (*OrganizationLink) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*OrganizationLink) SetSys added in v0.0.23

func (s *OrganizationLink) SetSys(val OrganizationLinkSys)

SetSys sets the value of Sys.

func (*OrganizationLink) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OrganizationLink) Validate added in v0.0.23

func (s *OrganizationLink) Validate() error

type OrganizationLinkSys added in v0.0.23

type OrganizationLinkSys struct {
	// Merged property.
	Type OrganizationLinkSysType `json:"type"`
	ID   string                  `json:"id"`
	// Merged property.
	LinkType OrganizationLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewOrganizationLinkSys added in v0.0.43

func NewOrganizationLinkSys(id string) OrganizationLinkSys

func (*OrganizationLinkSys) Decode added in v0.0.23

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

Decode decodes OrganizationLinkSys from json.

func (*OrganizationLinkSys) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*OrganizationLinkSys) GetID added in v0.0.23

func (s *OrganizationLinkSys) GetID() string

GetID returns the value of ID.

func (*OrganizationLinkSys) GetLinkType added in v0.0.23

GetLinkType returns the value of LinkType.

func (*OrganizationLinkSys) GetType added in v0.0.23

GetType returns the value of Type.

func (*OrganizationLinkSys) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*OrganizationLinkSys) SetID added in v0.0.23

func (s *OrganizationLinkSys) SetID(val string)

SetID sets the value of ID.

func (*OrganizationLinkSys) SetLinkType added in v0.0.23

SetLinkType sets the value of LinkType.

func (*OrganizationLinkSys) SetType added in v0.0.23

SetType sets the value of Type.

func (*OrganizationLinkSys) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OrganizationLinkSys) Validate added in v0.0.23

func (s *OrganizationLinkSys) Validate() error

type OrganizationLinkSysLinkType added in v0.0.23

type OrganizationLinkSysLinkType string

Merged schema.

const (
	OrganizationLinkSysLinkTypeOrganization OrganizationLinkSysLinkType = "Organization"
)

func (OrganizationLinkSysLinkType) AllValues added in v0.0.23

AllValues returns all OrganizationLinkSysLinkType values.

func (*OrganizationLinkSysLinkType) Decode added in v0.0.23

Decode decodes OrganizationLinkSysLinkType from json.

func (OrganizationLinkSysLinkType) Encode added in v0.0.23

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

Encode encodes OrganizationLinkSysLinkType as json.

func (OrganizationLinkSysLinkType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (OrganizationLinkSysLinkType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*OrganizationLinkSysLinkType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OrganizationLinkSysLinkType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (OrganizationLinkSysLinkType) Validate added in v0.0.23

func (s OrganizationLinkSysLinkType) Validate() error

type OrganizationLinkSysType added in v0.0.23

type OrganizationLinkSysType string

Merged schema.

const (
	OrganizationLinkSysTypeLink OrganizationLinkSysType = "Link"
)

func (OrganizationLinkSysType) AllValues added in v0.0.23

AllValues returns all OrganizationLinkSysType values.

func (*OrganizationLinkSysType) Decode added in v0.0.23

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

Decode decodes OrganizationLinkSysType from json.

func (OrganizationLinkSysType) Encode added in v0.0.23

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

Encode encodes OrganizationLinkSysType as json.

func (OrganizationLinkSysType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (OrganizationLinkSysType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*OrganizationLinkSysType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OrganizationLinkSysType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (OrganizationLinkSysType) Validate added in v0.0.23

func (s OrganizationLinkSysType) Validate() error

type PersonalAccessToken added in v0.0.12

type PersonalAccessToken struct {
	Sys       PersonalAccessTokenSys `json:"sys"`
	Name      string                 `json:"name"`
	Scopes    []string               `json:"scopes"`
	Token     OptString              `json:"token"`
	RevokedAt OptNilDateTime         `json:"revokedAt"`
}

Merged schema. Ref: #/PersonalAccessToken

func (*PersonalAccessToken) Decode added in v0.0.12

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

Decode decodes PersonalAccessToken from json.

func (*PersonalAccessToken) Encode added in v0.0.12

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

Encode implements json.Marshaler.

func (*PersonalAccessToken) GetName added in v0.0.12

func (s *PersonalAccessToken) GetName() string

GetName returns the value of Name.

func (*PersonalAccessToken) GetRevokedAt added in v0.0.12

func (s *PersonalAccessToken) GetRevokedAt() OptNilDateTime

GetRevokedAt returns the value of RevokedAt.

func (*PersonalAccessToken) GetScopes added in v0.0.12

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

GetScopes returns the value of Scopes.

func (*PersonalAccessToken) GetSys added in v0.0.12

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 PersonalAccessTokenRequestData added in v0.0.42

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

Ref: #/PersonalAccessTokenRequestData

func (*PersonalAccessTokenRequestData) Decode added in v0.0.42

Decode decodes PersonalAccessTokenRequestData from json.

func (*PersonalAccessTokenRequestData) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*PersonalAccessTokenRequestData) GetExpiresIn added in v0.0.42

func (s *PersonalAccessTokenRequestData) GetExpiresIn() OptNilInt

GetExpiresIn returns the value of ExpiresIn.

func (*PersonalAccessTokenRequestData) GetName added in v0.0.42

GetName returns the value of Name.

func (*PersonalAccessTokenRequestData) GetScopes added in v0.0.42

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

GetScopes returns the value of Scopes.

func (*PersonalAccessTokenRequestData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*PersonalAccessTokenRequestData) SetExpiresIn added in v0.0.42

func (s *PersonalAccessTokenRequestData) SetExpiresIn(val OptNilInt)

SetExpiresIn sets the value of ExpiresIn.

func (*PersonalAccessTokenRequestData) SetName added in v0.0.42

func (s *PersonalAccessTokenRequestData) SetName(val string)

SetName sets the value of Name.

func (*PersonalAccessTokenRequestData) SetScopes added in v0.0.42

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

SetScopes sets the value of Scopes.

func (*PersonalAccessTokenRequestData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PersonalAccessTokenRequestData) Validate added in v0.0.42

func (s *PersonalAccessTokenRequestData) Validate() error

type PersonalAccessTokenStatusCode added in v0.0.24

type PersonalAccessTokenStatusCode struct {
	StatusCode int
	Response   PersonalAccessToken
}

PersonalAccessTokenStatusCode wraps PersonalAccessToken with StatusCode.

func (*PersonalAccessTokenStatusCode) GetResponse added in v0.0.24

GetResponse returns the value of Response.

func (*PersonalAccessTokenStatusCode) GetStatusCode added in v0.0.24

func (s *PersonalAccessTokenStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*PersonalAccessTokenStatusCode) SetResponse added in v0.0.24

SetResponse sets the value of Response.

func (*PersonalAccessTokenStatusCode) SetStatusCode added in v0.0.24

func (s *PersonalAccessTokenStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*PersonalAccessTokenStatusCode) Validate added in v0.0.24

func (s *PersonalAccessTokenStatusCode) Validate() error

type PersonalAccessTokenSys added in v0.0.12

type PersonalAccessTokenSys struct {
	// Merged property.
	Type          PersonalAccessTokenSysType `json:"type"`
	ID            string                     `json:"id"`
	ExpiresAt     OptNilDateTime             `json:"expiresAt"`
	LastUsedAt    OptNilDateTime             `json:"lastUsedAt"`
	RedactedValue OptString                  `json:"redactedValue"`
}

Merged schema. Ref: #/PersonalAccessTokenSys

func NewPersonalAccessTokenSys added in v0.0.43

func NewPersonalAccessTokenSys(personalAccessTokenID string) PersonalAccessTokenSys

func (*PersonalAccessTokenSys) Decode added in v0.0.12

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

Decode decodes PersonalAccessTokenSys from json.

func (*PersonalAccessTokenSys) Encode added in v0.0.12

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

Encode implements json.Marshaler.

func (*PersonalAccessTokenSys) GetExpiresAt added in v0.0.12

func (s *PersonalAccessTokenSys) GetExpiresAt() OptNilDateTime

GetExpiresAt returns the value of ExpiresAt.

func (*PersonalAccessTokenSys) GetID added in v0.0.12

func (s *PersonalAccessTokenSys) GetID() string

GetID returns the value of ID.

func (*PersonalAccessTokenSys) GetLastUsedAt added in v0.0.12

func (s *PersonalAccessTokenSys) GetLastUsedAt() OptNilDateTime

GetLastUsedAt returns the value of LastUsedAt.

func (*PersonalAccessTokenSys) GetRedactedValue added in v0.0.12

func (s *PersonalAccessTokenSys) GetRedactedValue() OptString

GetRedactedValue returns the value of RedactedValue.

func (*PersonalAccessTokenSys) GetType added in v0.0.12

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 PreviewAPIKeyLink struct {
	Sys PreviewAPIKeyLinkSys `json:"sys"`
}

Ref: #/PreviewAPIKeyLink

func NewPreviewAPIKeyLink(id string) PreviewAPIKeyLink

func (*PreviewAPIKeyLink) Decode added in v0.0.41

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

Decode decodes PreviewAPIKeyLink from json.

func (*PreviewAPIKeyLink) Encode added in v0.0.41

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

Encode implements json.Marshaler.

func (*PreviewAPIKeyLink) GetSys added in v0.0.41

GetSys returns the value of Sys.

func (*PreviewAPIKeyLink) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (*PreviewAPIKeyLink) SetSys added in v0.0.41

func (s *PreviewAPIKeyLink) SetSys(val PreviewAPIKeyLinkSys)

SetSys sets the value of Sys.

func (*PreviewAPIKeyLink) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewAPIKeyLink) Validate added in v0.0.41

func (s *PreviewAPIKeyLink) Validate() error

type PreviewAPIKeyLinkSys added in v0.0.41

type PreviewAPIKeyLinkSys struct {
	// Merged property.
	Type PreviewAPIKeyLinkSysType `json:"type"`
	ID   string                   `json:"id"`
	// Merged property.
	LinkType PreviewAPIKeyLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewPreviewAPIKeyLinkSys added in v0.0.43

func NewPreviewAPIKeyLinkSys(id string) PreviewAPIKeyLinkSys

func (*PreviewAPIKeyLinkSys) Decode added in v0.0.41

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

Decode decodes PreviewAPIKeyLinkSys from json.

func (*PreviewAPIKeyLinkSys) Encode added in v0.0.41

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

Encode implements json.Marshaler.

func (*PreviewAPIKeyLinkSys) GetID added in v0.0.41

func (s *PreviewAPIKeyLinkSys) GetID() string

GetID returns the value of ID.

func (*PreviewAPIKeyLinkSys) GetLinkType added in v0.0.41

GetLinkType returns the value of LinkType.

func (*PreviewAPIKeyLinkSys) GetType added in v0.0.41

GetType returns the value of Type.

func (*PreviewAPIKeyLinkSys) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (*PreviewAPIKeyLinkSys) SetID added in v0.0.41

func (s *PreviewAPIKeyLinkSys) SetID(val string)

SetID sets the value of ID.

func (*PreviewAPIKeyLinkSys) SetLinkType added in v0.0.41

SetLinkType sets the value of LinkType.

func (*PreviewAPIKeyLinkSys) SetType added in v0.0.41

SetType sets the value of Type.

func (*PreviewAPIKeyLinkSys) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewAPIKeyLinkSys) Validate added in v0.0.41

func (s *PreviewAPIKeyLinkSys) Validate() error

type PreviewAPIKeyLinkSysLinkType added in v0.0.41

type PreviewAPIKeyLinkSysLinkType string

Merged schema.

const (
	PreviewAPIKeyLinkSysLinkTypePreviewApiKey PreviewAPIKeyLinkSysLinkType = "PreviewApiKey"
)

func (PreviewAPIKeyLinkSysLinkType) AllValues added in v0.0.41

AllValues returns all PreviewAPIKeyLinkSysLinkType values.

func (*PreviewAPIKeyLinkSysLinkType) Decode added in v0.0.41

Decode decodes PreviewAPIKeyLinkSysLinkType from json.

func (PreviewAPIKeyLinkSysLinkType) Encode added in v0.0.41

Encode encodes PreviewAPIKeyLinkSysLinkType as json.

func (PreviewAPIKeyLinkSysLinkType) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (PreviewAPIKeyLinkSysLinkType) MarshalText added in v0.0.41

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

MarshalText implements encoding.TextMarshaler.

func (*PreviewAPIKeyLinkSysLinkType) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewAPIKeyLinkSysLinkType) UnmarshalText added in v0.0.41

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

UnmarshalText implements encoding.TextUnmarshaler.

func (PreviewAPIKeyLinkSysLinkType) Validate added in v0.0.41

func (s PreviewAPIKeyLinkSysLinkType) Validate() error

type PreviewAPIKeyLinkSysType added in v0.0.41

type PreviewAPIKeyLinkSysType string

Merged schema.

const (
	PreviewAPIKeyLinkSysTypeLink PreviewAPIKeyLinkSysType = "Link"
)

func (PreviewAPIKeyLinkSysType) AllValues added in v0.0.41

AllValues returns all PreviewAPIKeyLinkSysType values.

func (*PreviewAPIKeyLinkSysType) Decode added in v0.0.41

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

Decode decodes PreviewAPIKeyLinkSysType from json.

func (PreviewAPIKeyLinkSysType) Encode added in v0.0.41

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

Encode encodes PreviewAPIKeyLinkSysType as json.

func (PreviewAPIKeyLinkSysType) MarshalJSON added in v0.0.41

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

MarshalJSON implements stdjson.Marshaler.

func (PreviewAPIKeyLinkSysType) MarshalText added in v0.0.41

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

MarshalText implements encoding.TextMarshaler.

func (*PreviewAPIKeyLinkSysType) UnmarshalJSON added in v0.0.41

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewAPIKeyLinkSysType) UnmarshalText added in v0.0.41

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

UnmarshalText implements encoding.TextUnmarshaler.

func (PreviewAPIKeyLinkSysType) Validate added in v0.0.41

func (s PreviewAPIKeyLinkSysType) Validate() error

type PreviewApiKey added in v0.0.10

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

Merged schema. Ref: #/PreviewApiKey

func (*PreviewApiKey) Decode added in v0.0.10

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

Decode decodes PreviewApiKey from json.

func (*PreviewApiKey) Encode added in v0.0.10

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

Encode implements json.Marshaler.

func (*PreviewApiKey) GetAccessToken added in v0.0.10

func (s *PreviewApiKey) GetAccessToken() string

GetAccessToken returns the value of AccessToken.

func (*PreviewApiKey) GetDescription added in v0.0.10

func (s *PreviewApiKey) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*PreviewApiKey) GetEnvironments added in v0.0.10

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

GetEnvironments returns the value of Environments.

func (*PreviewApiKey) GetName added in v0.0.10

func (s *PreviewApiKey) GetName() string

GetName returns the value of Name.

func (*PreviewApiKey) GetSys added in v0.0.10

func (s *PreviewApiKey) GetSys() PreviewApiKeySys

GetSys returns the value of Sys.

func (*PreviewApiKey) MarshalJSON added in v0.0.10

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

MarshalJSON implements stdjson.Marshaler.

func (*PreviewApiKey) SetAccessToken added in v0.0.10

func (s *PreviewApiKey) SetAccessToken(val string)

SetAccessToken sets the value of AccessToken.

func (*PreviewApiKey) SetDescription added in v0.0.10

func (s *PreviewApiKey) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*PreviewApiKey) SetEnvironments added in v0.0.10

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

SetEnvironments sets the value of Environments.

func (*PreviewApiKey) SetName added in v0.0.10

func (s *PreviewApiKey) SetName(val string)

SetName sets the value of Name.

func (*PreviewApiKey) SetSys added in v0.0.10

func (s *PreviewApiKey) SetSys(val PreviewApiKeySys)

SetSys sets the value of Sys.

func (*PreviewApiKey) UnmarshalJSON added in v0.0.10

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewApiKey) Validate added in v0.0.10

func (s *PreviewApiKey) Validate() error

type PreviewApiKeySys added in v0.0.10

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

Merged schema. Ref: #/PreviewApiKeySys

func NewPreviewAPIKeySys added in v0.0.43

func NewPreviewAPIKeySys(spaceID, previewAPIKeyID string) PreviewApiKeySys

func (*PreviewApiKeySys) Decode added in v0.0.10

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

Decode decodes PreviewApiKeySys from json.

func (*PreviewApiKeySys) Encode added in v0.0.10

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

Encode implements json.Marshaler.

func (*PreviewApiKeySys) GetID added in v0.0.10

func (s *PreviewApiKeySys) GetID() string

GetID returns the value of ID.

func (*PreviewApiKeySys) GetSpace added in v0.0.18

func (s *PreviewApiKeySys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*PreviewApiKeySys) GetType added in v0.0.10

GetType returns the value of Type.

func (*PreviewApiKeySys) GetVersion added in v0.0.10

func (s *PreviewApiKeySys) GetVersion() int

GetVersion returns the value of Version.

func (*PreviewApiKeySys) MarshalJSON added in v0.0.10

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

MarshalJSON implements stdjson.Marshaler.

func (*PreviewApiKeySys) SetID added in v0.0.10

func (s *PreviewApiKeySys) SetID(val string)

SetID sets the value of ID.

func (*PreviewApiKeySys) SetSpace added in v0.0.18

func (s *PreviewApiKeySys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*PreviewApiKeySys) SetType added in v0.0.10

func (s *PreviewApiKeySys) SetType(val PreviewApiKeySysType)

SetType sets the value of Type.

func (*PreviewApiKeySys) SetVersion added in v0.0.10

func (s *PreviewApiKeySys) SetVersion(val int)

SetVersion sets the value of Version.

func (*PreviewApiKeySys) UnmarshalJSON added in v0.0.10

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewApiKeySys) Validate added in v0.0.10

func (s *PreviewApiKeySys) Validate() error

type PreviewApiKeySysType added in v0.0.10

type PreviewApiKeySysType string

Merged schema.

const (
	PreviewApiKeySysTypePreviewApiKey PreviewApiKeySysType = "PreviewApiKey"
)

func (PreviewApiKeySysType) AllValues added in v0.0.10

AllValues returns all PreviewApiKeySysType values.

func (*PreviewApiKeySysType) Decode added in v0.0.10

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

Decode decodes PreviewApiKeySysType from json.

func (PreviewApiKeySysType) Encode added in v0.0.10

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

Encode encodes PreviewApiKeySysType as json.

func (PreviewApiKeySysType) MarshalJSON added in v0.0.10

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

MarshalJSON implements stdjson.Marshaler.

func (PreviewApiKeySysType) MarshalText added in v0.0.10

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

MarshalText implements encoding.TextMarshaler.

func (*PreviewApiKeySysType) UnmarshalJSON added in v0.0.10

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreviewApiKeySysType) UnmarshalText added in v0.0.10

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

UnmarshalText implements encoding.TextUnmarshaler.

func (PreviewApiKeySysType) Validate added in v0.0.10

func (s PreviewApiKeySysType) Validate() error

type PublishEntryParams added in v0.0.40

type PublishEntryParams struct {
	SpaceID            string
	EnvironmentID      string
	EntryID            string
	XContentfulVersion int
}

PublishEntryParams is parameters of publishEntry operation.

type PublishEntryRes added in v0.0.40

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

type PutAppDefinitionParams added in v0.0.27

type PutAppDefinitionParams struct {
	OrganizationID  string
	AppDefinitionID string
}

PutAppDefinitionParams is parameters of putAppDefinition operation.

type PutAppDefinitionRes added in v0.0.27

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

type PutAppInstallationParams

type PutAppInstallationParams struct {
	SpaceID                string
	EnvironmentID          string
	AppDefinitionID        string
	XContentfulMarketplace OptString `json:",omitempty,omitzero"`
}

PutAppInstallationParams is parameters of putAppInstallation operation.

type PutAppInstallationRes

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

type PutAppSigningSecretParams added in v0.0.35

type PutAppSigningSecretParams struct {
	OrganizationID  string
	AppDefinitionID string
}

PutAppSigningSecretParams is parameters of putAppSigningSecret operation.

type PutAppSigningSecretRes added in v0.0.35

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

type PutContentTypeParams added in v0.0.5

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

PutContentTypeParams is parameters of putContentType operation.

type PutContentTypeRes added in v0.0.5

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

type PutEditorInterfaceParams added in v0.0.3

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

PutEditorInterfaceParams is parameters of putEditorInterface operation.

type PutEditorInterfaceRes added in v0.0.3

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

type PutEntryParams added in v0.0.40

type PutEntryParams struct {
	SpaceID                string
	EnvironmentID          string
	EntryID                string
	XContentfulContentType OptString `json:",omitempty,omitzero"`
	XContentfulVersion     int
}

PutEntryParams is parameters of putEntry operation.

type PutEntryRes added in v0.0.40

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

type PutExtensionParams added in v0.0.29

type PutExtensionParams struct {
	SpaceID            string
	EnvironmentID      string
	ExtensionID        string
	XContentfulVersion int
}

PutExtensionParams is parameters of putExtension operation.

type PutExtensionRes added in v0.0.29

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

type PutResourceProviderParams added in v0.0.37

type PutResourceProviderParams struct {
	OrganizationID  string
	AppDefinitionID string
}

PutResourceProviderParams is parameters of putResourceProvider operation.

type PutResourceProviderRes added in v0.0.37

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

type PutResourceTypeParams added in v0.0.37

type PutResourceTypeParams struct {
	OrganizationID  string
	AppDefinitionID string
	ResourceTypeID  string
}

PutResourceTypeParams is parameters of putResourceType operation.

type PutResourceTypeRes added in v0.0.37

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

type PutSpaceEnablementsParams added in v0.0.20

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 PutTagParams added in v0.0.50

type PutTagParams struct {
	SpaceID                  string
	EnvironmentID            string
	TagID                    string
	XContentfulVersion       OptInt    `json:",omitempty,omitzero"`
	XContentfulTagVisibility OptString `json:",omitempty,omitzero"`
}

PutTagParams is parameters of putTag operation.

type PutTagRes added in v0.0.50

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

type PutTeamParams added in v0.0.43

type PutTeamParams struct {
	OrganizationID     string
	TeamID             string
	XContentfulVersion int
}

PutTeamParams is parameters of putTeam operation.

type PutTeamRes added in v0.0.43

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

type PutTeamSpaceMembershipParams added in v0.0.43

type PutTeamSpaceMembershipParams struct {
	SpaceID               string
	TeamSpaceMembershipID string
}

PutTeamSpaceMembershipParams is parameters of putTeamSpaceMembership operation.

type PutTeamSpaceMembershipRes added in v0.0.43

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

type RequestOption added in v0.0.46

type RequestOption func(cfg *requestConfig)

RequestOption defines options for request.

func WithEditRequest added in v0.0.46

func WithEditRequest(fn func(req *http.Request) error) RequestOption

WithEditRequest sets function to edit request.

func WithEditResponse added in v0.0.46

func WithEditResponse(fn func(resp *http.Response) error) RequestOption

WithEditResponse sets function to edit response.

func WithRequestClient added in v0.0.46

func WithRequestClient(client ht.Client) RequestOption

WithRequestClient sets client for request.

func WithServerURL

func WithServerURL(u *url.URL) RequestOption

WithServerURL sets client for request.

type ResourceLink struct {
	Type                        ResourceLinkType // switch on this field
	ContentfulEntryResourceLink ContentfulEntryResourceLink
	ExternalResourceLink        ExternalResourceLink
}

Ref: #/ResourceLink ResourceLink represents sum type.

func NewContentfulEntryResourceLinkResourceLink(v ContentfulEntryResourceLink) ResourceLink

NewContentfulEntryResourceLinkResourceLink returns new ResourceLink from ContentfulEntryResourceLink.

func NewExternalResourceLinkResourceLink(v ExternalResourceLink) ResourceLink

NewExternalResourceLinkResourceLink returns new ResourceLink from ExternalResourceLink.

func (*ResourceLink) Decode added in v0.0.22

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

Decode decodes ResourceLink from json.

func (ResourceLink) Encode added in v0.0.22

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

Encode encodes ResourceLink as json.

func (s ResourceLink) GetContentfulEntryResourceLink() (v ContentfulEntryResourceLink, ok bool)

GetContentfulEntryResourceLink returns ContentfulEntryResourceLink and true boolean if ResourceLink is ContentfulEntryResourceLink.

func (s ResourceLink) GetExternalResourceLink() (v ExternalResourceLink, ok bool)

GetExternalResourceLink returns ExternalResourceLink and true boolean if ResourceLink is ExternalResourceLink.

func (s ResourceLink) IsContentfulEntryResourceLink() bool

IsContentfulEntryResourceLink reports whether ResourceLink is ContentfulEntryResourceLink.

func (s ResourceLink) IsExternalResourceLink() bool

IsExternalResourceLink reports whether ResourceLink is ExternalResourceLink.

func (ResourceLink) MarshalJSON added in v0.0.22

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

MarshalJSON implements stdjson.Marshaler.

func (s *ResourceLink) SetContentfulEntryResourceLink(v ContentfulEntryResourceLink)

SetContentfulEntryResourceLink sets ResourceLink to ContentfulEntryResourceLink.

func (s *ResourceLink) SetExternalResourceLink(v ExternalResourceLink)

SetExternalResourceLink sets ResourceLink to ExternalResourceLink.

func (*ResourceLink) UnmarshalJSON added in v0.0.22

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ResourceLink) Validate added in v0.0.22

func (s ResourceLink) Validate() error

type ResourceLinkType added in v0.0.22

type ResourceLinkType string

ResourceLinkType is oneOf type of ResourceLink.

const (
	ContentfulEntryResourceLinkResourceLink ResourceLinkType = "ContentfulEntryResourceLink"
	ExternalResourceLinkResourceLink        ResourceLinkType = "ExternalResourceLink"
)

Possible values for ResourceLinkType.

type ResourceProvider added in v0.0.23

type ResourceProvider struct {
	Sys      ResourceProviderSys  `json:"sys"`
	Type     ResourceProviderType `json:"type"`
	Function FunctionLink         `json:"function"`
}

Merged schema. Ref: #/ResourceProvider

func (*ResourceProvider) Decode added in v0.0.23

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

Decode decodes ResourceProvider from json.

func (*ResourceProvider) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*ResourceProvider) GetFunction added in v0.0.23

func (s *ResourceProvider) GetFunction() FunctionLink

GetFunction returns the value of Function.

func (*ResourceProvider) GetSys added in v0.0.23

GetSys returns the value of Sys.

func (*ResourceProvider) GetType added in v0.0.23

GetType returns the value of Type.

func (*ResourceProvider) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceProvider) SetFunction added in v0.0.23

func (s *ResourceProvider) SetFunction(val FunctionLink)

SetFunction sets the value of Function.

func (*ResourceProvider) SetSys added in v0.0.23

func (s *ResourceProvider) SetSys(val ResourceProviderSys)

SetSys sets the value of Sys.

func (*ResourceProvider) SetType added in v0.0.23

func (s *ResourceProvider) SetType(val ResourceProviderType)

SetType sets the value of Type.

func (*ResourceProvider) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProvider) Validate added in v0.0.23

func (s *ResourceProvider) Validate() error
type ResourceProviderLink struct {
	Sys ResourceProviderLinkSys `json:"sys"`
}

Ref: #/ResourceProviderLink

func NewResourceProviderLink(id string) ResourceProviderLink

func (*ResourceProviderLink) Decode added in v0.0.23

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

Decode decodes ResourceProviderLink from json.

func (*ResourceProviderLink) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*ResourceProviderLink) GetSys added in v0.0.23

GetSys returns the value of Sys.

func (*ResourceProviderLink) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceProviderLink) SetSys added in v0.0.23

SetSys sets the value of Sys.

func (*ResourceProviderLink) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderLink) Validate added in v0.0.23

func (s *ResourceProviderLink) Validate() error

type ResourceProviderLinkSys added in v0.0.23

type ResourceProviderLinkSys struct {
	// Merged property.
	Type ResourceProviderLinkSysType `json:"type"`
	ID   string                      `json:"id"`
	// Merged property.
	LinkType ResourceProviderLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewResourceProviderLinkSys added in v0.0.43

func NewResourceProviderLinkSys(id string) ResourceProviderLinkSys

func (*ResourceProviderLinkSys) Decode added in v0.0.23

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

Decode decodes ResourceProviderLinkSys from json.

func (*ResourceProviderLinkSys) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*ResourceProviderLinkSys) GetID added in v0.0.23

func (s *ResourceProviderLinkSys) GetID() string

GetID returns the value of ID.

func (*ResourceProviderLinkSys) GetLinkType added in v0.0.23

GetLinkType returns the value of LinkType.

func (*ResourceProviderLinkSys) GetType added in v0.0.23

GetType returns the value of Type.

func (*ResourceProviderLinkSys) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceProviderLinkSys) SetID added in v0.0.23

func (s *ResourceProviderLinkSys) SetID(val string)

SetID sets the value of ID.

func (*ResourceProviderLinkSys) SetLinkType added in v0.0.23

SetLinkType sets the value of LinkType.

func (*ResourceProviderLinkSys) SetType added in v0.0.23

SetType sets the value of Type.

func (*ResourceProviderLinkSys) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderLinkSys) Validate added in v0.0.23

func (s *ResourceProviderLinkSys) Validate() error

type ResourceProviderLinkSysLinkType added in v0.0.23

type ResourceProviderLinkSysLinkType string

Merged schema.

const (
	ResourceProviderLinkSysLinkTypeResourceProvider ResourceProviderLinkSysLinkType = "ResourceProvider"
)

func (ResourceProviderLinkSysLinkType) AllValues added in v0.0.23

AllValues returns all ResourceProviderLinkSysLinkType values.

func (*ResourceProviderLinkSysLinkType) Decode added in v0.0.23

Decode decodes ResourceProviderLinkSysLinkType from json.

func (ResourceProviderLinkSysLinkType) Encode added in v0.0.23

Encode encodes ResourceProviderLinkSysLinkType as json.

func (ResourceProviderLinkSysLinkType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (ResourceProviderLinkSysLinkType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*ResourceProviderLinkSysLinkType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderLinkSysLinkType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ResourceProviderLinkSysLinkType) Validate added in v0.0.23

type ResourceProviderLinkSysType added in v0.0.23

type ResourceProviderLinkSysType string

Merged schema.

const (
	ResourceProviderLinkSysTypeLink ResourceProviderLinkSysType = "Link"
)

func (ResourceProviderLinkSysType) AllValues added in v0.0.23

AllValues returns all ResourceProviderLinkSysType values.

func (*ResourceProviderLinkSysType) Decode added in v0.0.23

Decode decodes ResourceProviderLinkSysType from json.

func (ResourceProviderLinkSysType) Encode added in v0.0.23

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

Encode encodes ResourceProviderLinkSysType as json.

func (ResourceProviderLinkSysType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (ResourceProviderLinkSysType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*ResourceProviderLinkSysType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderLinkSysType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ResourceProviderLinkSysType) Validate added in v0.0.23

func (s ResourceProviderLinkSysType) Validate() error

type ResourceProviderRequest added in v0.0.23

type ResourceProviderRequest struct {
	Sys      ResourceProviderRequestSys  `json:"sys"`
	Type     ResourceProviderRequestType `json:"type"`
	Function FunctionLink                `json:"function"`
}

Merged schema. Ref: #/ResourceProviderRequest

func (*ResourceProviderRequest) Decode added in v0.0.23

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

Decode decodes ResourceProviderRequest from json.

func (*ResourceProviderRequest) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*ResourceProviderRequest) GetFunction added in v0.0.23

func (s *ResourceProviderRequest) GetFunction() FunctionLink

GetFunction returns the value of Function.

func (*ResourceProviderRequest) GetSys added in v0.0.23

GetSys returns the value of Sys.

func (*ResourceProviderRequest) GetType added in v0.0.23

GetType returns the value of Type.

func (*ResourceProviderRequest) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceProviderRequest) SetFunction added in v0.0.23

func (s *ResourceProviderRequest) SetFunction(val FunctionLink)

SetFunction sets the value of Function.

func (*ResourceProviderRequest) SetSys added in v0.0.23

SetSys sets the value of Sys.

func (*ResourceProviderRequest) SetType added in v0.0.23

SetType sets the value of Type.

func (*ResourceProviderRequest) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderRequest) Validate added in v0.0.23

func (s *ResourceProviderRequest) Validate() error

type ResourceProviderRequestSys added in v0.0.23

type ResourceProviderRequestSys struct {
	ID string `json:"id"`
}

Ref: #/ResourceProviderRequestSys

func NewResourceProviderRequestSys added in v0.0.43

func NewResourceProviderRequestSys(id string) ResourceProviderRequestSys

func (*ResourceProviderRequestSys) Decode added in v0.0.23

Decode decodes ResourceProviderRequestSys from json.

func (*ResourceProviderRequestSys) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*ResourceProviderRequestSys) GetID added in v0.0.23

GetID returns the value of ID.

func (*ResourceProviderRequestSys) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceProviderRequestSys) SetID added in v0.0.23

func (s *ResourceProviderRequestSys) SetID(val string)

SetID sets the value of ID.

func (*ResourceProviderRequestSys) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ResourceProviderRequestType added in v0.0.23

type ResourceProviderRequestType string
const (
	ResourceProviderRequestTypeFunction ResourceProviderRequestType = "function"
)

func (ResourceProviderRequestType) AllValues added in v0.0.23

AllValues returns all ResourceProviderRequestType values.

func (*ResourceProviderRequestType) Decode added in v0.0.23

Decode decodes ResourceProviderRequestType from json.

func (ResourceProviderRequestType) Encode added in v0.0.23

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

Encode encodes ResourceProviderRequestType as json.

func (ResourceProviderRequestType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (ResourceProviderRequestType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*ResourceProviderRequestType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderRequestType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ResourceProviderRequestType) Validate added in v0.0.23

func (s ResourceProviderRequestType) Validate() error

type ResourceProviderStatusCode added in v0.0.23

type ResourceProviderStatusCode struct {
	StatusCode int
	Response   ResourceProvider
}

ResourceProviderStatusCode wraps ResourceProvider with StatusCode.

func (*ResourceProviderStatusCode) GetResponse added in v0.0.23

GetResponse returns the value of Response.

func (*ResourceProviderStatusCode) GetStatusCode added in v0.0.23

func (s *ResourceProviderStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*ResourceProviderStatusCode) SetResponse added in v0.0.23

func (s *ResourceProviderStatusCode) SetResponse(val ResourceProvider)

SetResponse sets the value of Response.

func (*ResourceProviderStatusCode) SetStatusCode added in v0.0.23

func (s *ResourceProviderStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*ResourceProviderStatusCode) Validate added in v0.0.23

func (s *ResourceProviderStatusCode) Validate() error

type ResourceProviderSys added in v0.0.23

type ResourceProviderSys struct {
	Organization OrganizationLink `json:"organization"`
	// Merged property.
	Type          ResourceProviderSysType `json:"type"`
	ID            string                  `json:"id"`
	AppDefinition AppDefinitionLink       `json:"appDefinition"`
}

Merged schema. Ref: #/ResourceProviderSys

func NewResourceProviderSys added in v0.0.43

func NewResourceProviderSys(organizationID, appDefinitionID, resourceProviderID string) ResourceProviderSys

func (*ResourceProviderSys) Decode added in v0.0.23

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

Decode decodes ResourceProviderSys from json.

func (*ResourceProviderSys) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*ResourceProviderSys) GetAppDefinition added in v0.0.23

func (s *ResourceProviderSys) GetAppDefinition() AppDefinitionLink

GetAppDefinition returns the value of AppDefinition.

func (*ResourceProviderSys) GetID added in v0.0.23

func (s *ResourceProviderSys) GetID() string

GetID returns the value of ID.

func (*ResourceProviderSys) GetOrganization added in v0.0.23

func (s *ResourceProviderSys) GetOrganization() OrganizationLink

GetOrganization returns the value of Organization.

func (*ResourceProviderSys) GetType added in v0.0.23

GetType returns the value of Type.

func (*ResourceProviderSys) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceProviderSys) SetAppDefinition added in v0.0.23

func (s *ResourceProviderSys) SetAppDefinition(val AppDefinitionLink)

SetAppDefinition sets the value of AppDefinition.

func (*ResourceProviderSys) SetID added in v0.0.23

func (s *ResourceProviderSys) SetID(val string)

SetID sets the value of ID.

func (*ResourceProviderSys) SetOrganization added in v0.0.23

func (s *ResourceProviderSys) SetOrganization(val OrganizationLink)

SetOrganization sets the value of Organization.

func (*ResourceProviderSys) SetType added in v0.0.23

SetType sets the value of Type.

func (*ResourceProviderSys) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderSys) Validate added in v0.0.23

func (s *ResourceProviderSys) Validate() error

type ResourceProviderSysType added in v0.0.23

type ResourceProviderSysType string

Merged schema.

const (
	ResourceProviderSysTypeResourceProvider ResourceProviderSysType = "ResourceProvider"
)

func (ResourceProviderSysType) AllValues added in v0.0.23

AllValues returns all ResourceProviderSysType values.

func (*ResourceProviderSysType) Decode added in v0.0.23

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

Decode decodes ResourceProviderSysType from json.

func (ResourceProviderSysType) Encode added in v0.0.23

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

Encode encodes ResourceProviderSysType as json.

func (ResourceProviderSysType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (ResourceProviderSysType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*ResourceProviderSysType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderSysType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ResourceProviderSysType) Validate added in v0.0.23

func (s ResourceProviderSysType) Validate() error

type ResourceProviderType added in v0.0.23

type ResourceProviderType string
const (
	ResourceProviderTypeFunction ResourceProviderType = "function"
)

func (ResourceProviderType) AllValues added in v0.0.23

AllValues returns all ResourceProviderType values.

func (*ResourceProviderType) Decode added in v0.0.23

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

Decode decodes ResourceProviderType from json.

func (ResourceProviderType) Encode added in v0.0.23

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

Encode encodes ResourceProviderType as json.

func (ResourceProviderType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (ResourceProviderType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*ResourceProviderType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceProviderType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ResourceProviderType) Validate added in v0.0.23

func (s ResourceProviderType) Validate() error

type ResourceType added in v0.0.23

type ResourceType struct {
	Sys                 ResourceTypeSys                 `json:"sys"`
	Name                string                          `json:"name"`
	DefaultFieldMapping ResourceTypeDefaultFieldMapping `json:"defaultFieldMapping"`
}

Merged schema. Ref: #/ResourceType

func (*ResourceType) Decode added in v0.0.23

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

Decode decodes ResourceType from json.

func (*ResourceType) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*ResourceType) GetDefaultFieldMapping added in v0.0.23

func (s *ResourceType) GetDefaultFieldMapping() ResourceTypeDefaultFieldMapping

GetDefaultFieldMapping returns the value of DefaultFieldMapping.

func (*ResourceType) GetName added in v0.0.23

func (s *ResourceType) GetName() string

GetName returns the value of Name.

func (*ResourceType) GetSys added in v0.0.23

func (s *ResourceType) GetSys() ResourceTypeSys

GetSys returns the value of Sys.

func (*ResourceType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceType) SetDefaultFieldMapping added in v0.0.23

func (s *ResourceType) SetDefaultFieldMapping(val ResourceTypeDefaultFieldMapping)

SetDefaultFieldMapping sets the value of DefaultFieldMapping.

func (*ResourceType) SetName added in v0.0.23

func (s *ResourceType) SetName(val string)

SetName sets the value of Name.

func (*ResourceType) SetSys added in v0.0.23

func (s *ResourceType) SetSys(val ResourceTypeSys)

SetSys sets the value of Sys.

func (*ResourceType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceType) Validate added in v0.0.23

func (s *ResourceType) Validate() error

type ResourceTypeData added in v0.0.42

type ResourceTypeData struct {
	Name                string                          `json:"name"`
	DefaultFieldMapping ResourceTypeDefaultFieldMapping `json:"defaultFieldMapping"`
}

Ref: #/ResourceTypeData

func (*ResourceTypeData) Decode added in v0.0.42

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

Decode decodes ResourceTypeData from json.

func (*ResourceTypeData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*ResourceTypeData) GetDefaultFieldMapping added in v0.0.42

func (s *ResourceTypeData) GetDefaultFieldMapping() ResourceTypeDefaultFieldMapping

GetDefaultFieldMapping returns the value of DefaultFieldMapping.

func (*ResourceTypeData) GetName added in v0.0.42

func (s *ResourceTypeData) GetName() string

GetName returns the value of Name.

func (*ResourceTypeData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceTypeData) SetDefaultFieldMapping added in v0.0.42

func (s *ResourceTypeData) SetDefaultFieldMapping(val ResourceTypeDefaultFieldMapping)

SetDefaultFieldMapping sets the value of DefaultFieldMapping.

func (*ResourceTypeData) SetName added in v0.0.42

func (s *ResourceTypeData) SetName(val string)

SetName sets the value of Name.

func (*ResourceTypeData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ResourceTypeDefaultFieldMapping added in v0.0.23

type ResourceTypeDefaultFieldMapping struct {
	Title       string                                  `json:"title"`
	Subtitle    OptString                               `json:"subtitle"`
	Description OptString                               `json:"description"`
	ExternalUrl OptString                               `json:"externalUrl"`
	Image       OptResourceTypeDefaultFieldMappingImage `json:"image"`
	Badge       OptResourceTypeDefaultFieldMappingBadge `json:"badge"`
}

Ref: #/ResourceTypeDefaultFieldMapping

func (*ResourceTypeDefaultFieldMapping) Decode added in v0.0.23

Decode decodes ResourceTypeDefaultFieldMapping from json.

func (*ResourceTypeDefaultFieldMapping) Encode added in v0.0.23

Encode implements json.Marshaler.

func (*ResourceTypeDefaultFieldMapping) GetBadge added in v0.0.23

GetBadge returns the value of Badge.

func (*ResourceTypeDefaultFieldMapping) GetDescription added in v0.0.23

func (s *ResourceTypeDefaultFieldMapping) GetDescription() OptString

GetDescription returns the value of Description.

func (*ResourceTypeDefaultFieldMapping) GetExternalUrl added in v0.0.23

func (s *ResourceTypeDefaultFieldMapping) GetExternalUrl() OptString

GetExternalUrl returns the value of ExternalUrl.

func (*ResourceTypeDefaultFieldMapping) GetImage added in v0.0.23

GetImage returns the value of Image.

func (*ResourceTypeDefaultFieldMapping) GetSubtitle added in v0.0.23

func (s *ResourceTypeDefaultFieldMapping) GetSubtitle() OptString

GetSubtitle returns the value of Subtitle.

func (*ResourceTypeDefaultFieldMapping) GetTitle added in v0.0.23

GetTitle returns the value of Title.

func (*ResourceTypeDefaultFieldMapping) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceTypeDefaultFieldMapping) SetBadge added in v0.0.23

SetBadge sets the value of Badge.

func (*ResourceTypeDefaultFieldMapping) SetDescription added in v0.0.23

func (s *ResourceTypeDefaultFieldMapping) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*ResourceTypeDefaultFieldMapping) SetExternalUrl added in v0.0.23

func (s *ResourceTypeDefaultFieldMapping) SetExternalUrl(val OptString)

SetExternalUrl sets the value of ExternalUrl.

func (*ResourceTypeDefaultFieldMapping) SetImage added in v0.0.23

SetImage sets the value of Image.

func (*ResourceTypeDefaultFieldMapping) SetSubtitle added in v0.0.23

func (s *ResourceTypeDefaultFieldMapping) SetSubtitle(val OptString)

SetSubtitle sets the value of Subtitle.

func (*ResourceTypeDefaultFieldMapping) SetTitle added in v0.0.23

func (s *ResourceTypeDefaultFieldMapping) SetTitle(val string)

SetTitle sets the value of Title.

func (*ResourceTypeDefaultFieldMapping) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ResourceTypeDefaultFieldMappingBadge added in v0.0.23

type ResourceTypeDefaultFieldMappingBadge struct {
	Label   string `json:"label"`
	Variant string `json:"variant"`
}

func (*ResourceTypeDefaultFieldMappingBadge) Decode added in v0.0.23

Decode decodes ResourceTypeDefaultFieldMappingBadge from json.

func (*ResourceTypeDefaultFieldMappingBadge) Encode added in v0.0.23

Encode implements json.Marshaler.

func (*ResourceTypeDefaultFieldMappingBadge) GetLabel added in v0.0.23

GetLabel returns the value of Label.

func (*ResourceTypeDefaultFieldMappingBadge) GetVariant added in v0.0.23

GetVariant returns the value of Variant.

func (*ResourceTypeDefaultFieldMappingBadge) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceTypeDefaultFieldMappingBadge) SetLabel added in v0.0.23

SetLabel sets the value of Label.

func (*ResourceTypeDefaultFieldMappingBadge) SetVariant added in v0.0.23

func (s *ResourceTypeDefaultFieldMappingBadge) SetVariant(val string)

SetVariant sets the value of Variant.

func (*ResourceTypeDefaultFieldMappingBadge) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ResourceTypeDefaultFieldMappingImage added in v0.0.23

type ResourceTypeDefaultFieldMappingImage struct {
	URL     string    `json:"url"`
	AltText OptString `json:"altText"`
}

func (*ResourceTypeDefaultFieldMappingImage) Decode added in v0.0.23

Decode decodes ResourceTypeDefaultFieldMappingImage from json.

func (*ResourceTypeDefaultFieldMappingImage) Encode added in v0.0.23

Encode implements json.Marshaler.

func (*ResourceTypeDefaultFieldMappingImage) GetAltText added in v0.0.23

GetAltText returns the value of AltText.

func (*ResourceTypeDefaultFieldMappingImage) GetURL added in v0.0.23

GetURL returns the value of URL.

func (*ResourceTypeDefaultFieldMappingImage) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceTypeDefaultFieldMappingImage) SetAltText added in v0.0.23

SetAltText sets the value of AltText.

func (*ResourceTypeDefaultFieldMappingImage) SetURL added in v0.0.23

SetURL sets the value of URL.

func (*ResourceTypeDefaultFieldMappingImage) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ResourceTypeStatusCode added in v0.0.23

type ResourceTypeStatusCode struct {
	StatusCode int
	Response   ResourceType
}

ResourceTypeStatusCode wraps ResourceType with StatusCode.

func (*ResourceTypeStatusCode) GetResponse added in v0.0.23

func (s *ResourceTypeStatusCode) GetResponse() ResourceType

GetResponse returns the value of Response.

func (*ResourceTypeStatusCode) GetStatusCode added in v0.0.23

func (s *ResourceTypeStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*ResourceTypeStatusCode) SetResponse added in v0.0.23

func (s *ResourceTypeStatusCode) SetResponse(val ResourceType)

SetResponse sets the value of Response.

func (*ResourceTypeStatusCode) SetStatusCode added in v0.0.23

func (s *ResourceTypeStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*ResourceTypeStatusCode) Validate added in v0.0.23

func (s *ResourceTypeStatusCode) Validate() error

type ResourceTypeSys added in v0.0.23

type ResourceTypeSys struct {
	Organization OrganizationLink `json:"organization"`
	// Merged property.
	Type             ResourceTypeSysType  `json:"type"`
	ID               string               `json:"id"`
	AppDefinition    AppDefinitionLink    `json:"appDefinition"`
	ResourceProvider ResourceProviderLink `json:"resourceProvider"`
}

Merged schema. Ref: #/ResourceTypeSys

func NewResourceTypeSys added in v0.0.43

func NewResourceTypeSys(organizationID, appDefinitionID, resourceProviderID, resourceTypeID string) ResourceTypeSys

func (*ResourceTypeSys) Decode added in v0.0.23

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

Decode decodes ResourceTypeSys from json.

func (*ResourceTypeSys) Encode added in v0.0.23

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

Encode implements json.Marshaler.

func (*ResourceTypeSys) GetAppDefinition added in v0.0.23

func (s *ResourceTypeSys) GetAppDefinition() AppDefinitionLink

GetAppDefinition returns the value of AppDefinition.

func (*ResourceTypeSys) GetID added in v0.0.23

func (s *ResourceTypeSys) GetID() string

GetID returns the value of ID.

func (*ResourceTypeSys) GetOrganization added in v0.0.23

func (s *ResourceTypeSys) GetOrganization() OrganizationLink

GetOrganization returns the value of Organization.

func (*ResourceTypeSys) GetResourceProvider added in v0.0.23

func (s *ResourceTypeSys) GetResourceProvider() ResourceProviderLink

GetResourceProvider returns the value of ResourceProvider.

func (*ResourceTypeSys) GetType added in v0.0.23

func (s *ResourceTypeSys) GetType() ResourceTypeSysType

GetType returns the value of Type.

func (*ResourceTypeSys) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceTypeSys) SetAppDefinition added in v0.0.23

func (s *ResourceTypeSys) SetAppDefinition(val AppDefinitionLink)

SetAppDefinition sets the value of AppDefinition.

func (*ResourceTypeSys) SetID added in v0.0.23

func (s *ResourceTypeSys) SetID(val string)

SetID sets the value of ID.

func (*ResourceTypeSys) SetOrganization added in v0.0.23

func (s *ResourceTypeSys) SetOrganization(val OrganizationLink)

SetOrganization sets the value of Organization.

func (*ResourceTypeSys) SetResourceProvider added in v0.0.23

func (s *ResourceTypeSys) SetResourceProvider(val ResourceProviderLink)

SetResourceProvider sets the value of ResourceProvider.

func (*ResourceTypeSys) SetType added in v0.0.23

func (s *ResourceTypeSys) SetType(val ResourceTypeSysType)

SetType sets the value of Type.

func (*ResourceTypeSys) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceTypeSys) Validate added in v0.0.23

func (s *ResourceTypeSys) Validate() error

type ResourceTypeSysType added in v0.0.23

type ResourceTypeSysType string

Merged schema.

const (
	ResourceTypeSysTypeResourceType ResourceTypeSysType = "ResourceType"
)

func (ResourceTypeSysType) AllValues added in v0.0.23

AllValues returns all ResourceTypeSysType values.

func (*ResourceTypeSysType) Decode added in v0.0.23

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

Decode decodes ResourceTypeSysType from json.

func (ResourceTypeSysType) Encode added in v0.0.23

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

Encode encodes ResourceTypeSysType as json.

func (ResourceTypeSysType) MarshalJSON added in v0.0.23

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

MarshalJSON implements stdjson.Marshaler.

func (ResourceTypeSysType) MarshalText added in v0.0.23

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

MarshalText implements encoding.TextMarshaler.

func (*ResourceTypeSysType) UnmarshalJSON added in v0.0.23

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceTypeSysType) UnmarshalText added in v0.0.23

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ResourceTypeSysType) Validate added in v0.0.23

func (s ResourceTypeSysType) Validate() error

type RevokePersonalAccessTokenParams added in v0.0.12

type RevokePersonalAccessTokenParams struct {
	AccessTokenID string
}

RevokePersonalAccessTokenParams is parameters of revokePersonalAccessToken operation.

type RevokePersonalAccessTokenRes added in v0.0.12

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

type Role added in v0.0.15

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

Merged schema. Ref: #/Role

func (*Role) 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 RoleData added in v0.0.42

type RoleData struct {
	Name        string                 `json:"name"`
	Description OptNilString           `json:"description"`
	Permissions RoleDataPermissions    `json:"permissions"`
	Policies    []RoleDataPoliciesItem `json:"policies"`
}

Ref: #/RoleData

func (*RoleData) Decode added in v0.0.42

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

Decode decodes RoleData from json.

func (*RoleData) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*RoleData) GetDescription added in v0.0.42

func (s *RoleData) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*RoleData) GetName added in v0.0.42

func (s *RoleData) GetName() string

GetName returns the value of Name.

func (*RoleData) GetPermissions added in v0.0.42

func (s *RoleData) GetPermissions() RoleDataPermissions

GetPermissions returns the value of Permissions.

func (*RoleData) GetPolicies added in v0.0.42

func (s *RoleData) GetPolicies() []RoleDataPoliciesItem

GetPolicies returns the value of Policies.

func (*RoleData) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*RoleData) SetDescription added in v0.0.42

func (s *RoleData) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*RoleData) SetName added in v0.0.42

func (s *RoleData) SetName(val string)

SetName sets the value of Name.

func (*RoleData) SetPermissions added in v0.0.42

func (s *RoleData) SetPermissions(val RoleDataPermissions)

SetPermissions sets the value of Permissions.

func (*RoleData) SetPolicies added in v0.0.42

func (s *RoleData) SetPolicies(val []RoleDataPoliciesItem)

SetPolicies sets the value of Policies.

func (*RoleData) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleData) Validate added in v0.0.42

func (s *RoleData) Validate() error

type RoleDataPermissions added in v0.0.42

type RoleDataPermissions map[string]RoleDataPermissionsItem

func (*RoleDataPermissions) Decode added in v0.0.42

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

Decode decodes RoleDataPermissions from json.

func (RoleDataPermissions) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (RoleDataPermissions) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*RoleDataPermissions) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (RoleDataPermissions) Validate added in v0.0.42

func (s RoleDataPermissions) Validate() error

type RoleDataPermissionsItem added in v0.0.42

type RoleDataPermissionsItem struct {
	Type        RoleDataPermissionsItemType // switch on this field
	String      string
	StringArray []string
}

RoleDataPermissionsItem represents sum type.

func NewStringArrayRoleDataPermissionsItem added in v0.0.42

func NewStringArrayRoleDataPermissionsItem(v []string) RoleDataPermissionsItem

NewStringArrayRoleDataPermissionsItem returns new RoleDataPermissionsItem from []string.

func NewStringRoleDataPermissionsItem added in v0.0.42

func NewStringRoleDataPermissionsItem(v string) RoleDataPermissionsItem

NewStringRoleDataPermissionsItem returns new RoleDataPermissionsItem from string.

func (*RoleDataPermissionsItem) Decode added in v0.0.42

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

Decode decodes RoleDataPermissionsItem from json.

func (RoleDataPermissionsItem) Encode added in v0.0.42

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

Encode encodes RoleDataPermissionsItem as json.

func (RoleDataPermissionsItem) GetString added in v0.0.42

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

GetString returns string and true boolean if RoleDataPermissionsItem is string.

func (RoleDataPermissionsItem) GetStringArray added in v0.0.42

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

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

func (RoleDataPermissionsItem) IsString added in v0.0.42

func (s RoleDataPermissionsItem) IsString() bool

IsString reports whether RoleDataPermissionsItem is string.

func (RoleDataPermissionsItem) IsStringArray added in v0.0.42

func (s RoleDataPermissionsItem) IsStringArray() bool

IsStringArray reports whether RoleDataPermissionsItem is []string.

func (RoleDataPermissionsItem) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*RoleDataPermissionsItem) SetString added in v0.0.42

func (s *RoleDataPermissionsItem) SetString(v string)

SetString sets RoleDataPermissionsItem to string.

func (*RoleDataPermissionsItem) SetStringArray added in v0.0.42

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

SetStringArray sets RoleDataPermissionsItem to []string.

func (*RoleDataPermissionsItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (RoleDataPermissionsItem) Validate added in v0.0.42

func (s RoleDataPermissionsItem) Validate() error

type RoleDataPermissionsItemType added in v0.0.42

type RoleDataPermissionsItemType string

RoleDataPermissionsItemType is oneOf type of RoleDataPermissionsItem.

const (
	StringRoleDataPermissionsItem      RoleDataPermissionsItemType = "string"
	StringArrayRoleDataPermissionsItem RoleDataPermissionsItemType = "[]string"
)

Possible values for RoleDataPermissionsItemType.

type RoleDataPoliciesItem added in v0.0.42

type RoleDataPoliciesItem struct {
	Effect     RoleDataPoliciesItemEffect  `json:"effect"`
	Actions    RoleDataPoliciesItemActions `json:"actions"`
	Constraint jx.Raw                      `json:"constraint"`
}

func (*RoleDataPoliciesItem) Decode added in v0.0.42

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

Decode decodes RoleDataPoliciesItem from json.

func (*RoleDataPoliciesItem) Encode added in v0.0.42

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

Encode implements json.Marshaler.

func (*RoleDataPoliciesItem) GetActions added in v0.0.42

GetActions returns the value of Actions.

func (*RoleDataPoliciesItem) GetConstraint added in v0.0.42

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

GetConstraint returns the value of Constraint.

func (*RoleDataPoliciesItem) GetEffect added in v0.0.42

GetEffect returns the value of Effect.

func (*RoleDataPoliciesItem) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*RoleDataPoliciesItem) SetActions added in v0.0.42

SetActions sets the value of Actions.

func (*RoleDataPoliciesItem) SetConstraint added in v0.0.42

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

SetConstraint sets the value of Constraint.

func (*RoleDataPoliciesItem) SetEffect added in v0.0.42

SetEffect sets the value of Effect.

func (*RoleDataPoliciesItem) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleDataPoliciesItem) Validate added in v0.0.42

func (s *RoleDataPoliciesItem) Validate() error

type RoleDataPoliciesItemActions added in v0.0.42

type RoleDataPoliciesItemActions struct {
	Type        RoleDataPoliciesItemActionsType // switch on this field
	String      string
	StringArray []string
}

RoleDataPoliciesItemActions represents sum type.

func NewStringArrayRoleDataPoliciesItemActions added in v0.0.42

func NewStringArrayRoleDataPoliciesItemActions(v []string) RoleDataPoliciesItemActions

NewStringArrayRoleDataPoliciesItemActions returns new RoleDataPoliciesItemActions from []string.

func NewStringRoleDataPoliciesItemActions added in v0.0.42

func NewStringRoleDataPoliciesItemActions(v string) RoleDataPoliciesItemActions

NewStringRoleDataPoliciesItemActions returns new RoleDataPoliciesItemActions from string.

func (*RoleDataPoliciesItemActions) Decode added in v0.0.42

Decode decodes RoleDataPoliciesItemActions from json.

func (RoleDataPoliciesItemActions) Encode added in v0.0.42

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

Encode encodes RoleDataPoliciesItemActions as json.

func (RoleDataPoliciesItemActions) GetString added in v0.0.42

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

GetString returns string and true boolean if RoleDataPoliciesItemActions is string.

func (RoleDataPoliciesItemActions) GetStringArray added in v0.0.42

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

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

func (RoleDataPoliciesItemActions) IsString added in v0.0.42

func (s RoleDataPoliciesItemActions) IsString() bool

IsString reports whether RoleDataPoliciesItemActions is string.

func (RoleDataPoliciesItemActions) IsStringArray added in v0.0.42

func (s RoleDataPoliciesItemActions) IsStringArray() bool

IsStringArray reports whether RoleDataPoliciesItemActions is []string.

func (RoleDataPoliciesItemActions) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (*RoleDataPoliciesItemActions) SetString added in v0.0.42

func (s *RoleDataPoliciesItemActions) SetString(v string)

SetString sets RoleDataPoliciesItemActions to string.

func (*RoleDataPoliciesItemActions) SetStringArray added in v0.0.42

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

SetStringArray sets RoleDataPoliciesItemActions to []string.

func (*RoleDataPoliciesItemActions) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (RoleDataPoliciesItemActions) Validate added in v0.0.42

func (s RoleDataPoliciesItemActions) Validate() error

type RoleDataPoliciesItemActionsType added in v0.0.42

type RoleDataPoliciesItemActionsType string

RoleDataPoliciesItemActionsType is oneOf type of RoleDataPoliciesItemActions.

const (
	StringRoleDataPoliciesItemActions      RoleDataPoliciesItemActionsType = "string"
	StringArrayRoleDataPoliciesItemActions RoleDataPoliciesItemActionsType = "[]string"
)

Possible values for RoleDataPoliciesItemActionsType.

type RoleDataPoliciesItemEffect added in v0.0.42

type RoleDataPoliciesItemEffect string
const (
	RoleDataPoliciesItemEffectAllow RoleDataPoliciesItemEffect = "allow"
	RoleDataPoliciesItemEffectDeny  RoleDataPoliciesItemEffect = "deny"
)

func (RoleDataPoliciesItemEffect) AllValues added in v0.0.42

AllValues returns all RoleDataPoliciesItemEffect values.

func (*RoleDataPoliciesItemEffect) Decode added in v0.0.42

Decode decodes RoleDataPoliciesItemEffect from json.

func (RoleDataPoliciesItemEffect) Encode added in v0.0.42

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

Encode encodes RoleDataPoliciesItemEffect as json.

func (RoleDataPoliciesItemEffect) MarshalJSON added in v0.0.42

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

MarshalJSON implements stdjson.Marshaler.

func (RoleDataPoliciesItemEffect) MarshalText added in v0.0.42

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

MarshalText implements encoding.TextMarshaler.

func (*RoleDataPoliciesItemEffect) UnmarshalJSON added in v0.0.42

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleDataPoliciesItemEffect) UnmarshalText added in v0.0.42

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

UnmarshalText implements encoding.TextUnmarshaler.

func (RoleDataPoliciesItemEffect) Validate added in v0.0.42

func (s RoleDataPoliciesItemEffect) Validate() error
type RoleLink struct {
	Sys RoleLinkSys `json:"sys"`
}

Ref: #/RoleLink

func (*RoleLink) Decode added in v0.0.43

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

Decode decodes RoleLink from json.

func (*RoleLink) Encode added in v0.0.43

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

Encode implements json.Marshaler.

func (*RoleLink) GetSys added in v0.0.43

func (s *RoleLink) GetSys() RoleLinkSys

GetSys returns the value of Sys.

func (*RoleLink) MarshalJSON added in v0.0.43

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

MarshalJSON implements stdjson.Marshaler.

func (*RoleLink) SetSys added in v0.0.43

func (s *RoleLink) SetSys(val RoleLinkSys)

SetSys sets the value of Sys.

func (*RoleLink) UnmarshalJSON added in v0.0.43

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleLink) Validate added in v0.0.43

func (s *RoleLink) Validate() error

type RoleLinkSys added in v0.0.43

type RoleLinkSys struct {
	// Merged property.
	Type RoleLinkSysType `json:"type"`
	ID   string          `json:"id"`
	// Merged property.
	LinkType RoleLinkSysLinkType `json:"linkType"`
}

Merged schema.

func (*RoleLinkSys) Decode added in v0.0.43

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

Decode decodes RoleLinkSys from json.

func (*RoleLinkSys) Encode added in v0.0.43

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

Encode implements json.Marshaler.

func (*RoleLinkSys) GetID added in v0.0.43

func (s *RoleLinkSys) GetID() string

GetID returns the value of ID.

func (*RoleLinkSys) GetLinkType added in v0.0.43

func (s *RoleLinkSys) GetLinkType() RoleLinkSysLinkType

GetLinkType returns the value of LinkType.

func (*RoleLinkSys) GetType added in v0.0.43

func (s *RoleLinkSys) GetType() RoleLinkSysType

GetType returns the value of Type.

func (*RoleLinkSys) MarshalJSON added in v0.0.43

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

MarshalJSON implements stdjson.Marshaler.

func (*RoleLinkSys) SetID added in v0.0.43

func (s *RoleLinkSys) SetID(val string)

SetID sets the value of ID.

func (*RoleLinkSys) SetLinkType added in v0.0.43

func (s *RoleLinkSys) SetLinkType(val RoleLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*RoleLinkSys) SetType added in v0.0.43

func (s *RoleLinkSys) SetType(val RoleLinkSysType)

SetType sets the value of Type.

func (*RoleLinkSys) UnmarshalJSON added in v0.0.43

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleLinkSys) Validate added in v0.0.43

func (s *RoleLinkSys) Validate() error

type RoleLinkSysLinkType added in v0.0.43

type RoleLinkSysLinkType string

Merged schema.

const (
	RoleLinkSysLinkTypeRole RoleLinkSysLinkType = "Role"
)

func (RoleLinkSysLinkType) AllValues added in v0.0.43

AllValues returns all RoleLinkSysLinkType values.

func (*RoleLinkSysLinkType) Decode added in v0.0.43

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

Decode decodes RoleLinkSysLinkType from json.

func (RoleLinkSysLinkType) Encode added in v0.0.43

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

Encode encodes RoleLinkSysLinkType as json.

func (RoleLinkSysLinkType) MarshalJSON added in v0.0.43

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

MarshalJSON implements stdjson.Marshaler.

func (RoleLinkSysLinkType) MarshalText added in v0.0.43

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

MarshalText implements encoding.TextMarshaler.

func (*RoleLinkSysLinkType) UnmarshalJSON added in v0.0.43

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleLinkSysLinkType) UnmarshalText added in v0.0.43

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

UnmarshalText implements encoding.TextUnmarshaler.

func (RoleLinkSysLinkType) Validate added in v0.0.43

func (s RoleLinkSysLinkType) Validate() error

type RoleLinkSysType added in v0.0.43

type RoleLinkSysType string

Merged schema.

const (
	RoleLinkSysTypeLink RoleLinkSysType = "Link"
)

func (RoleLinkSysType) AllValues added in v0.0.43

func (RoleLinkSysType) AllValues() []RoleLinkSysType

AllValues returns all RoleLinkSysType values.

func (*RoleLinkSysType) Decode added in v0.0.43

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

Decode decodes RoleLinkSysType from json.

func (RoleLinkSysType) Encode added in v0.0.43

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

Encode encodes RoleLinkSysType as json.

func (RoleLinkSysType) MarshalJSON added in v0.0.43

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

MarshalJSON implements stdjson.Marshaler.

func (RoleLinkSysType) MarshalText added in v0.0.43

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

MarshalText implements encoding.TextMarshaler.

func (*RoleLinkSysType) UnmarshalJSON added in v0.0.43

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RoleLinkSysType) UnmarshalText added in v0.0.43

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

UnmarshalText implements encoding.TextUnmarshaler.

func (RoleLinkSysType) Validate added in v0.0.43

func (s RoleLinkSysType) Validate() error

type RolePermissions added in v0.0.15

type RolePermissions map[string]RolePermissionsItem

func (*RolePermissions) Decode added in v0.0.15

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

Decode decodes RolePermissions from json.

func (RolePermissions) Encode added in v0.0.15

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

Encode implements json.Marshaler.

func (RolePermissions) MarshalJSON added in v0.0.15

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

MarshalJSON implements stdjson.Marshaler.

func (*RolePermissions) UnmarshalJSON added in v0.0.15

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (RolePermissions) Validate added in v0.0.15

func (s RolePermissions) Validate() error

type RolePermissionsItem added in v0.0.15

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

RolePermissionsItem represents sum type.

func NewStringArrayRolePermissionsItem added in v0.0.15

func NewStringArrayRolePermissionsItem(v []string) RolePermissionsItem

NewStringArrayRolePermissionsItem returns new RolePermissionsItem from []string.

func NewStringRolePermissionsItem added in v0.0.15

func NewStringRolePermissionsItem(v string) RolePermissionsItem

NewStringRolePermissionsItem returns new RolePermissionsItem from string.

func (*RolePermissionsItem) Decode added in v0.0.15

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

Decode decodes RolePermissionsItem from json.

func (RolePermissionsItem) Encode added in v0.0.15

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

Encode encodes RolePermissionsItem as json.

func (RolePermissionsItem) GetString added in v0.0.15

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

GetString returns string and true boolean if RolePermissionsItem is string.

func (RolePermissionsItem) GetStringArray added in v0.0.15

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

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

func (RolePermissionsItem) IsString added in v0.0.15

func (s RolePermissionsItem) IsString() bool

IsString reports whether RolePermissionsItem is string.

func (RolePermissionsItem) IsStringArray added in v0.0.15

func (s RolePermissionsItem) IsStringArray() bool

IsStringArray reports whether RolePermissionsItem is []string.

func (RolePermissionsItem) MarshalJSON added in v0.0.15

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

MarshalJSON implements stdjson.Marshaler.

func (*RolePermissionsItem) SetString added in v0.0.15

func (s *RolePermissionsItem) SetString(v string)

SetString sets RolePermissionsItem to string.

func (*RolePermissionsItem) SetStringArray added in v0.0.15

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

SetStringArray sets RolePermissionsItem to []string.

func (*RolePermissionsItem) UnmarshalJSON added in v0.0.15

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (RolePermissionsItem) Validate added in v0.0.15

func (s RolePermissionsItem) Validate() error

type RolePermissionsItemType added in v0.0.15

type RolePermissionsItemType string

RolePermissionsItemType is oneOf type of RolePermissionsItem.

const (
	StringRolePermissionsItem      RolePermissionsItemType = "string"
	StringArrayRolePermissionsItem RolePermissionsItemType = "[]string"
)

Possible values for RolePermissionsItemType.

type RolePoliciesItem added in v0.0.15

type RolePoliciesItem struct {
	Effect     RolePoliciesItemEffect  `json:"effect"`
	Actions    RolePoliciesItemActions `json:"actions"`
	Constraint jx.Raw                  `json:"constraint"`
}

func (*RolePoliciesItem) Decode added in v0.0.15

func (s *RolePoliciesItem) Decode(d *jx.Decoder) error

Decode decodes RolePoliciesItem from json.

func (*RolePoliciesItem) Encode added in v0.0.15

func (s *RolePoliciesItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RolePoliciesItem) GetActions added in v0.0.15

func (s *RolePoliciesItem) GetActions() RolePoliciesItemActions

GetActions returns the value of Actions.

func (*RolePoliciesItem) GetConstraint added in v0.0.15

func (s *RolePoliciesItem) GetConstraint() jx.Raw

GetConstraint returns the value of Constraint.

func (*RolePoliciesItem) GetEffect added in v0.0.15

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 RoleStatusCode added in v0.0.24

type RoleStatusCode struct {
	StatusCode int
	Response   Role
}

RoleStatusCode wraps Role with StatusCode.

func (*RoleStatusCode) GetResponse added in v0.0.24

func (s *RoleStatusCode) GetResponse() Role

GetResponse returns the value of Response.

func (*RoleStatusCode) GetStatusCode added in v0.0.24

func (s *RoleStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*RoleStatusCode) SetResponse added in v0.0.24

func (s *RoleStatusCode) SetResponse(val Role)

SetResponse sets the value of Response.

func (*RoleStatusCode) SetStatusCode added in v0.0.24

func (s *RoleStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*RoleStatusCode) Validate added in v0.0.24

func (s *RoleStatusCode) Validate() error

type RoleSys added in v0.0.15

type RoleSys struct {
	Space SpaceLink `json:"space"`
	// Merged property.
	Type    RoleSysType `json:"type"`
	ID      string      `json:"id"`
	Version int         `json:"version"`
}

Merged schema. Ref: #/RoleSys

func NewRoleSys added in v0.0.43

func NewRoleSys(spaceID, roleID string) 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) 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) 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) 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) 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 Route added in v0.0.33

type Route struct {
	// contains filtered or unexported fields
}

Route is route object.

func (Route) Args added in v0.0.33

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name added in v0.0.33

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationGroup added in v0.0.46

func (r Route) OperationGroup() string

OperationGroup returns the x-ogen-operation-group value.

func (Route) OperationID added in v0.0.33

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern added in v0.0.33

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

func (Route) Summary added in v0.0.33

func (r Route) Summary() string

Summary returns OpenAPI summary.

type SecurityHandler added in v0.0.33

type SecurityHandler interface {
	// HandleAccessToken handles accessToken security.
	HandleAccessToken(ctx context.Context, operationName OperationName, t AccessToken) (context.Context, error)
}

SecurityHandler is handler for security parameters.

type SecuritySource

type SecuritySource interface {
	// AccessToken provides accessToken security value.
	AccessToken(ctx context.Context, operationName OperationName, client *Client) (AccessToken, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type Server added in v0.0.33

type Server struct {
	// contains filtered or unexported fields
}

Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.

func NewServer added in v0.0.33

func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)

NewServer creates new Server.

func (*Server) FindPath added in v0.0.33

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute added in v0.0.33

func (s *Server) FindRoute(method, path string) (Route, bool)

FindRoute finds Route for given method and path.

Note: this method does not unescape path or handle reserved characters in path properly. Use FindPath instead.

func (*Server) ServeHTTP added in v0.0.33

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves http request as defined by OpenAPI v3 specification, calling handler that matches the path or returning not found error.

type ServerOption added in v0.0.33

type ServerOption interface {
	// contains filtered or unexported methods
}

ServerOption is server config option.

func WithErrorHandler added in v0.0.33

func WithErrorHandler(h ErrorHandler) ServerOption

WithErrorHandler specifies error handler to use.

func WithMaxMultipartMemory added in v0.0.33

func WithMaxMultipartMemory(max int64) ServerOption

WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.

func WithMethodNotAllowed added in v0.0.33

func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption

WithMethodNotAllowed specifies Method Not Allowed handler to use.

func WithMiddleware added in v0.0.33

func WithMiddleware(m ...Middleware) ServerOption

WithMiddleware specifies middlewares to use.

func WithNotFound added in v0.0.33

func WithNotFound(notFound http.HandlerFunc) ServerOption

WithNotFound specifies Not Found handler to use.

func WithPathPrefix added in v0.0.33

func WithPathPrefix(prefix string) ServerOption

WithPathPrefix specifies server path prefix.

type SpaceEnablement added in v0.0.20

type SpaceEnablement struct {
	Sys               SpaceEnablementSys      `json:"sys"`
	CrossSpaceLinks   OptSpaceEnablementField `json:"crossSpaceLinks"`
	SpaceTemplates    OptSpaceEnablementField `json:"spaceTemplates"`
	StudioExperiences OptSpaceEnablementField `json:"studioExperiences"`
	SuggestConcepts   OptSpaceEnablementField `json:"suggestConcepts"`
}

Merged schema. Ref: #/SpaceEnablement

func (*SpaceEnablement) Decode added in v0.0.20

func (s *SpaceEnablement) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablement from json.

func (*SpaceEnablement) Encode added in v0.0.20

func (s *SpaceEnablement) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (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 SpaceEnablementData added in v0.0.42

type SpaceEnablementData struct {
	CrossSpaceLinks   OptSpaceEnablementField `json:"crossSpaceLinks"`
	SpaceTemplates    OptSpaceEnablementField `json:"spaceTemplates"`
	StudioExperiences OptSpaceEnablementField `json:"studioExperiences"`
	SuggestConcepts   OptSpaceEnablementField `json:"suggestConcepts"`
}

Ref: #/SpaceEnablementData

func (*SpaceEnablementData) Decode added in v0.0.42

func (s *SpaceEnablementData) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementData from json.

func (*SpaceEnablementData) Encode added in v0.0.42

func (s *SpaceEnablementData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (s *SpaceEnablementData) GetCrossSpaceLinks() OptSpaceEnablementField

GetCrossSpaceLinks returns the value of CrossSpaceLinks.

func (*SpaceEnablementData) GetSpaceTemplates added in v0.0.42

func (s *SpaceEnablementData) GetSpaceTemplates() OptSpaceEnablementField

GetSpaceTemplates returns the value of SpaceTemplates.

func (*SpaceEnablementData) GetStudioExperiences added in v0.0.42

func (s *SpaceEnablementData) GetStudioExperiences() OptSpaceEnablementField

GetStudioExperiences returns the value of StudioExperiences.

func (*SpaceEnablementData) GetSuggestConcepts added in v0.0.42

func (s *SpaceEnablementData) GetSuggestConcepts() OptSpaceEnablementField

GetSuggestConcepts returns the value of SuggestConcepts.

func (*SpaceEnablementData) MarshalJSON added in v0.0.42

func (s *SpaceEnablementData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (s *SpaceEnablementData) SetCrossSpaceLinks(val OptSpaceEnablementField)

SetCrossSpaceLinks sets the value of CrossSpaceLinks.

func (*SpaceEnablementData) SetSpaceTemplates added in v0.0.42

func (s *SpaceEnablementData) SetSpaceTemplates(val OptSpaceEnablementField)

SetSpaceTemplates sets the value of SpaceTemplates.

func (*SpaceEnablementData) SetStudioExperiences added in v0.0.42

func (s *SpaceEnablementData) SetStudioExperiences(val OptSpaceEnablementField)

SetStudioExperiences sets the value of StudioExperiences.

func (*SpaceEnablementData) SetSuggestConcepts added in v0.0.42

func (s *SpaceEnablementData) SetSuggestConcepts(val OptSpaceEnablementField)

SetSuggestConcepts sets the value of SuggestConcepts.

func (*SpaceEnablementData) UnmarshalJSON added in v0.0.42

func (s *SpaceEnablementData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpaceEnablementField added in v0.0.20

type SpaceEnablementField struct {
	Enabled bool `json:"enabled"`
}

Ref: #/SpaceEnablementField

func (*SpaceEnablementField) Decode added in v0.0.20

func (s *SpaceEnablementField) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementField from json.

func (*SpaceEnablementField) Encode added in v0.0.20

func (s *SpaceEnablementField) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpaceEnablementField) GetEnabled added in v0.0.20

func (s *SpaceEnablementField) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SpaceEnablementField) MarshalJSON added in v0.0.20

func (s *SpaceEnablementField) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpaceEnablementField) SetEnabled added in v0.0.20

func (s *SpaceEnablementField) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SpaceEnablementField) UnmarshalJSON added in v0.0.20

func (s *SpaceEnablementField) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpaceEnablementStatusCode added in v0.0.24

type SpaceEnablementStatusCode struct {
	StatusCode int
	Response   SpaceEnablement
}

SpaceEnablementStatusCode wraps SpaceEnablement with StatusCode.

func (*SpaceEnablementStatusCode) GetResponse added in v0.0.24

func (s *SpaceEnablementStatusCode) GetResponse() SpaceEnablement

GetResponse returns the value of Response.

func (*SpaceEnablementStatusCode) GetStatusCode added in v0.0.24

func (s *SpaceEnablementStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*SpaceEnablementStatusCode) SetResponse added in v0.0.24

func (s *SpaceEnablementStatusCode) SetResponse(val SpaceEnablement)

SetResponse sets the value of Response.

func (*SpaceEnablementStatusCode) SetStatusCode added in v0.0.24

func (s *SpaceEnablementStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*SpaceEnablementStatusCode) Validate added in v0.0.24

func (s *SpaceEnablementStatusCode) Validate() error

type SpaceEnablementSys added in v0.0.20

type SpaceEnablementSys struct {
	Space SpaceLink `json:"space"`
	// Merged property.
	Type    SpaceEnablementSysType `json:"type"`
	Version int                    `json:"version"`
}

Merged schema. Ref: #/SpaceEnablementSys

func NewSpaceEnablementSys added in v0.0.43

func NewSpaceEnablementSys(spaceID string) SpaceEnablementSys

func (*SpaceEnablementSys) Decode added in v0.0.20

func (s *SpaceEnablementSys) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementSys from json.

func (*SpaceEnablementSys) Encode added in v0.0.20

func (s *SpaceEnablementSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpaceEnablementSys) GetSpace added in v0.0.20

func (s *SpaceEnablementSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*SpaceEnablementSys) GetType added in v0.0.20

GetType returns the value of Type.

func (*SpaceEnablementSys) GetVersion added in v0.0.20

func (s *SpaceEnablementSys) GetVersion() int

GetVersion returns the value of Version.

func (*SpaceEnablementSys) MarshalJSON added in v0.0.20

func (s *SpaceEnablementSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpaceEnablementSys) SetSpace added in v0.0.20

func (s *SpaceEnablementSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*SpaceEnablementSys) SetType added in v0.0.20

SetType sets the value of Type.

func (*SpaceEnablementSys) SetVersion added in v0.0.20

func (s *SpaceEnablementSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*SpaceEnablementSys) UnmarshalJSON added in v0.0.20

func (s *SpaceEnablementSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceEnablementSys) Validate added in v0.0.20

func (s *SpaceEnablementSys) Validate() error

type SpaceEnablementSysType added in v0.0.20

type SpaceEnablementSysType string

Merged schema.

const (
	SpaceEnablementSysTypeSpaceEnablement SpaceEnablementSysType = "SpaceEnablement"
)

func (SpaceEnablementSysType) AllValues added in v0.0.20

AllValues returns all SpaceEnablementSysType values.

func (*SpaceEnablementSysType) Decode added in v0.0.20

func (s *SpaceEnablementSysType) Decode(d *jx.Decoder) error

Decode decodes SpaceEnablementSysType from json.

func (SpaceEnablementSysType) Encode added in v0.0.20

func (s SpaceEnablementSysType) Encode(e *jx.Encoder)

Encode encodes SpaceEnablementSysType as json.

func (SpaceEnablementSysType) MarshalJSON added in v0.0.20

func (s SpaceEnablementSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpaceEnablementSysType) MarshalText added in v0.0.20

func (s SpaceEnablementSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpaceEnablementSysType) UnmarshalJSON added in v0.0.20

func (s *SpaceEnablementSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceEnablementSysType) UnmarshalText added in v0.0.20

func (s *SpaceEnablementSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpaceEnablementSysType) Validate added in v0.0.20

func (s SpaceEnablementSysType) Validate() error

type SpaceEnvironmentMap added in v0.0.49

type SpaceEnvironmentMap[Value any] struct {
	// contains filtered or unexported fields
}

func NewSpaceEnvironmentMap added in v0.0.49

func NewSpaceEnvironmentMap[Value any]() SpaceEnvironmentMap[Value]

func (*SpaceEnvironmentMap[Value]) Delete added in v0.0.49

func (sm *SpaceEnvironmentMap[Value]) Delete(spaceID string, environmentID string, key string)

func (*SpaceEnvironmentMap[Value]) Get added in v0.0.49

func (sm *SpaceEnvironmentMap[Value]) Get(spaceID string, environmentID string, key string) Value

func (*SpaceEnvironmentMap[Value]) List added in v0.0.49

func (sm *SpaceEnvironmentMap[Value]) List(spaceID string, environmentID string) []Value

func (*SpaceEnvironmentMap[Value]) Set added in v0.0.49

func (sm *SpaceEnvironmentMap[Value]) Set(spaceID string, environmentID string, key string, value Value)
type SpaceLink struct {
	Sys SpaceLinkSys `json:"sys"`
}

Ref: #/SpaceLink

func NewSpaceLink(id string) 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 NewSpaceLinkSys added in v0.0.43

func NewSpaceLinkSys(id string) SpaceLinkSys

func (*SpaceLinkSys) Decode added in v0.0.18

func (s *SpaceLinkSys) Decode(d *jx.Decoder) error

Decode decodes SpaceLinkSys from json.

func (*SpaceLinkSys) Encode added in v0.0.18

func (s *SpaceLinkSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpaceLinkSys) GetID added in v0.0.18

func (s *SpaceLinkSys) GetID() string

GetID returns the value of ID.

func (*SpaceLinkSys) GetLinkType added in v0.0.18

func (s *SpaceLinkSys) GetLinkType() SpaceLinkSysLinkType

GetLinkType returns the value of LinkType.

func (*SpaceLinkSys) GetType added in v0.0.18

func (s *SpaceLinkSys) GetType() SpaceLinkSysType

GetType returns the value of Type.

func (*SpaceLinkSys) MarshalJSON added in v0.0.18

func (s *SpaceLinkSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpaceLinkSys) SetID added in v0.0.18

func (s *SpaceLinkSys) SetID(val string)

SetID sets the value of ID.

func (*SpaceLinkSys) SetLinkType added in v0.0.18

func (s *SpaceLinkSys) SetLinkType(val SpaceLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*SpaceLinkSys) SetType added in v0.0.18

func (s *SpaceLinkSys) SetType(val SpaceLinkSysType)

SetType sets the value of Type.

func (*SpaceLinkSys) UnmarshalJSON added in v0.0.18

func (s *SpaceLinkSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceLinkSys) Validate added in v0.0.18

func (s *SpaceLinkSys) Validate() error

type SpaceLinkSysLinkType added in v0.0.18

type SpaceLinkSysLinkType string

Merged schema.

const (
	SpaceLinkSysLinkTypeSpace SpaceLinkSysLinkType = "Space"
)

func (SpaceLinkSysLinkType) AllValues added in v0.0.18

AllValues returns all SpaceLinkSysLinkType values.

func (*SpaceLinkSysLinkType) Decode added in v0.0.18

func (s *SpaceLinkSysLinkType) Decode(d *jx.Decoder) error

Decode decodes SpaceLinkSysLinkType from json.

func (SpaceLinkSysLinkType) Encode added in v0.0.18

func (s SpaceLinkSysLinkType) Encode(e *jx.Encoder)

Encode encodes SpaceLinkSysLinkType as json.

func (SpaceLinkSysLinkType) MarshalJSON added in v0.0.18

func (s SpaceLinkSysLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpaceLinkSysLinkType) MarshalText added in v0.0.18

func (s SpaceLinkSysLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpaceLinkSysLinkType) UnmarshalJSON added in v0.0.18

func (s *SpaceLinkSysLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceLinkSysLinkType) UnmarshalText added in v0.0.18

func (s *SpaceLinkSysLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpaceLinkSysLinkType) Validate added in v0.0.18

func (s SpaceLinkSysLinkType) Validate() error

type SpaceLinkSysType added in v0.0.18

type SpaceLinkSysType string

Merged schema.

const (
	SpaceLinkSysTypeLink SpaceLinkSysType = "Link"
)

func (SpaceLinkSysType) AllValues added in v0.0.18

func (SpaceLinkSysType) AllValues() []SpaceLinkSysType

AllValues returns all SpaceLinkSysType values.

func (*SpaceLinkSysType) Decode added in v0.0.18

func (s *SpaceLinkSysType) Decode(d *jx.Decoder) error

Decode decodes SpaceLinkSysType from json.

func (SpaceLinkSysType) Encode added in v0.0.18

func (s SpaceLinkSysType) Encode(e *jx.Encoder)

Encode encodes SpaceLinkSysType as json.

func (SpaceLinkSysType) MarshalJSON added in v0.0.18

func (s SpaceLinkSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpaceLinkSysType) MarshalText added in v0.0.18

func (s SpaceLinkSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpaceLinkSysType) UnmarshalJSON added in v0.0.18

func (s *SpaceLinkSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpaceLinkSysType) UnmarshalText added in v0.0.18

func (s *SpaceLinkSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpaceLinkSysType) Validate added in v0.0.18

func (s SpaceLinkSysType) Validate() error

type SpaceMap added in v0.0.49

type SpaceMap[Value any] struct {
	// contains filtered or unexported fields
}

func NewSpaceMap added in v0.0.49

func NewSpaceMap[Value any]() SpaceMap[Value]

func (*SpaceMap[Value]) Delete added in v0.0.49

func (sm *SpaceMap[Value]) Delete(spaceID string, key string)

func (*SpaceMap[Value]) Get added in v0.0.49

func (sm *SpaceMap[Value]) Get(spaceID string, key string) Value

func (*SpaceMap[Value]) Set added in v0.0.49

func (sm *SpaceMap[Value]) Set(spaceID string, key string, value Value)

type StatusCodeResponse added in v0.0.33

type StatusCodeResponse interface {
	GetStatusCode() int
}
type StatusLink struct {
	Sys StatusLinkSys `json:"sys"`
}

Ref: #/StatusLink

func NewStatusLink(id string) StatusLink

func (*StatusLink) Decode added in v0.0.52

func (s *StatusLink) Decode(d *jx.Decoder) error

Decode decodes StatusLink from json.

func (*StatusLink) Encode added in v0.0.52

func (s *StatusLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StatusLink) GetSys added in v0.0.52

func (s *StatusLink) GetSys() StatusLinkSys

GetSys returns the value of Sys.

func (*StatusLink) MarshalJSON added in v0.0.52

func (s *StatusLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StatusLink) SetSys added in v0.0.52

func (s *StatusLink) SetSys(val StatusLinkSys)

SetSys sets the value of Sys.

func (*StatusLink) UnmarshalJSON added in v0.0.52

func (s *StatusLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatusLink) Validate added in v0.0.52

func (s *StatusLink) Validate() error

type StatusLinkSys added in v0.0.52

type StatusLinkSys struct {
	// Merged property.
	Type StatusLinkSysType `json:"type"`
	ID   string            `json:"id"`
	// Merged property.
	LinkType StatusLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewStatusLinkSys added in v0.0.52

func NewStatusLinkSys(id string) StatusLinkSys

func (*StatusLinkSys) Decode added in v0.0.52

func (s *StatusLinkSys) Decode(d *jx.Decoder) error

Decode decodes StatusLinkSys from json.

func (*StatusLinkSys) Encode added in v0.0.52

func (s *StatusLinkSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StatusLinkSys) GetID added in v0.0.52

func (s *StatusLinkSys) GetID() string

GetID returns the value of ID.

func (*StatusLinkSys) GetLinkType added in v0.0.52

func (s *StatusLinkSys) GetLinkType() StatusLinkSysLinkType

GetLinkType returns the value of LinkType.

func (*StatusLinkSys) GetType added in v0.0.52

func (s *StatusLinkSys) GetType() StatusLinkSysType

GetType returns the value of Type.

func (*StatusLinkSys) MarshalJSON added in v0.0.52

func (s *StatusLinkSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StatusLinkSys) SetID added in v0.0.52

func (s *StatusLinkSys) SetID(val string)

SetID sets the value of ID.

func (*StatusLinkSys) SetLinkType added in v0.0.52

func (s *StatusLinkSys) SetLinkType(val StatusLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*StatusLinkSys) SetType added in v0.0.52

func (s *StatusLinkSys) SetType(val StatusLinkSysType)

SetType sets the value of Type.

func (*StatusLinkSys) UnmarshalJSON added in v0.0.52

func (s *StatusLinkSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatusLinkSys) Validate added in v0.0.52

func (s *StatusLinkSys) Validate() error

type StatusLinkSysLinkType added in v0.0.52

type StatusLinkSysLinkType string

Merged schema.

const (
	StatusLinkSysLinkTypeStatus StatusLinkSysLinkType = "Status"
)

func (StatusLinkSysLinkType) AllValues added in v0.0.52

AllValues returns all StatusLinkSysLinkType values.

func (*StatusLinkSysLinkType) Decode added in v0.0.52

func (s *StatusLinkSysLinkType) Decode(d *jx.Decoder) error

Decode decodes StatusLinkSysLinkType from json.

func (StatusLinkSysLinkType) Encode added in v0.0.52

func (s StatusLinkSysLinkType) Encode(e *jx.Encoder)

Encode encodes StatusLinkSysLinkType as json.

func (StatusLinkSysLinkType) MarshalJSON added in v0.0.52

func (s StatusLinkSysLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (StatusLinkSysLinkType) MarshalText added in v0.0.52

func (s StatusLinkSysLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*StatusLinkSysLinkType) UnmarshalJSON added in v0.0.52

func (s *StatusLinkSysLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatusLinkSysLinkType) UnmarshalText added in v0.0.52

func (s *StatusLinkSysLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (StatusLinkSysLinkType) Validate added in v0.0.52

func (s StatusLinkSysLinkType) Validate() error

type StatusLinkSysType added in v0.0.52

type StatusLinkSysType string

Merged schema.

const (
	StatusLinkSysTypeLink StatusLinkSysType = "Link"
)

func (StatusLinkSysType) AllValues added in v0.0.52

func (StatusLinkSysType) AllValues() []StatusLinkSysType

AllValues returns all StatusLinkSysType values.

func (*StatusLinkSysType) Decode added in v0.0.52

func (s *StatusLinkSysType) Decode(d *jx.Decoder) error

Decode decodes StatusLinkSysType from json.

func (StatusLinkSysType) Encode added in v0.0.52

func (s StatusLinkSysType) Encode(e *jx.Encoder)

Encode encodes StatusLinkSysType as json.

func (StatusLinkSysType) MarshalJSON added in v0.0.52

func (s StatusLinkSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (StatusLinkSysType) MarshalText added in v0.0.52

func (s StatusLinkSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*StatusLinkSysType) UnmarshalJSON added in v0.0.52

func (s *StatusLinkSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatusLinkSysType) UnmarshalText added in v0.0.52

func (s *StatusLinkSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (StatusLinkSysType) Validate added in v0.0.52

func (s StatusLinkSysType) Validate() error

type Tag added in v0.0.50

type Tag struct {
	Sys TagSys `json:"sys"`
	// Human readable name for the tag.
	Name string `json:"name"`
}

Merged schema. Ref: #/Tag

func (*Tag) Decode added in v0.0.50

func (s *Tag) Decode(d *jx.Decoder) error

Decode decodes Tag from json.

func (*Tag) Encode added in v0.0.50

func (s *Tag) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Tag) GetName added in v0.0.50

func (s *Tag) GetName() string

GetName returns the value of Name.

func (*Tag) GetSys added in v0.0.50

func (s *Tag) GetSys() TagSys

GetSys returns the value of Sys.

func (*Tag) MarshalJSON added in v0.0.50

func (s *Tag) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Tag) SetName added in v0.0.50

func (s *Tag) SetName(val string)

SetName sets the value of Name.

func (*Tag) SetSys added in v0.0.50

func (s *Tag) SetSys(val TagSys)

SetSys sets the value of Sys.

func (*Tag) UnmarshalJSON added in v0.0.50

func (s *Tag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Tag) Validate added in v0.0.50

func (s *Tag) Validate() error
type TagLink struct {
	Sys TagLinkSys `json:"sys"`
}

Ref: #/TagLink

func NewTagLink(id string) TagLink

func (*TagLink) Decode added in v0.0.40

func (s *TagLink) Decode(d *jx.Decoder) error

Decode decodes TagLink from json.

func (*TagLink) Encode added in v0.0.40

func (s *TagLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagLink) GetSys added in v0.0.40

func (s *TagLink) GetSys() TagLinkSys

GetSys returns the value of Sys.

func (*TagLink) MarshalJSON added in v0.0.40

func (s *TagLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagLink) SetSys added in v0.0.40

func (s *TagLink) SetSys(val TagLinkSys)

SetSys sets the value of Sys.

func (*TagLink) UnmarshalJSON added in v0.0.40

func (s *TagLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagLink) Validate added in v0.0.40

func (s *TagLink) Validate() error

type TagLinkSys added in v0.0.40

type TagLinkSys struct {
	// Merged property.
	Type TagLinkSysType `json:"type"`
	ID   string         `json:"id"`
	// Merged property.
	LinkType TagLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewTagLinkSys added in v0.0.43

func NewTagLinkSys(id string) TagLinkSys

func (*TagLinkSys) Decode added in v0.0.40

func (s *TagLinkSys) Decode(d *jx.Decoder) error

Decode decodes TagLinkSys from json.

func (*TagLinkSys) Encode added in v0.0.40

func (s *TagLinkSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagLinkSys) GetID added in v0.0.40

func (s *TagLinkSys) GetID() string

GetID returns the value of ID.

func (*TagLinkSys) GetLinkType added in v0.0.40

func (s *TagLinkSys) GetLinkType() TagLinkSysLinkType

GetLinkType returns the value of LinkType.

func (*TagLinkSys) GetType added in v0.0.40

func (s *TagLinkSys) GetType() TagLinkSysType

GetType returns the value of Type.

func (*TagLinkSys) MarshalJSON added in v0.0.40

func (s *TagLinkSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagLinkSys) SetID added in v0.0.40

func (s *TagLinkSys) SetID(val string)

SetID sets the value of ID.

func (*TagLinkSys) SetLinkType added in v0.0.40

func (s *TagLinkSys) SetLinkType(val TagLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*TagLinkSys) SetType added in v0.0.40

func (s *TagLinkSys) SetType(val TagLinkSysType)

SetType sets the value of Type.

func (*TagLinkSys) UnmarshalJSON added in v0.0.40

func (s *TagLinkSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagLinkSys) Validate added in v0.0.40

func (s *TagLinkSys) Validate() error

type TagLinkSysLinkType added in v0.0.40

type TagLinkSysLinkType string

Merged schema.

const (
	TagLinkSysLinkTypeTag TagLinkSysLinkType = "Tag"
)

func (TagLinkSysLinkType) AllValues added in v0.0.40

func (TagLinkSysLinkType) AllValues() []TagLinkSysLinkType

AllValues returns all TagLinkSysLinkType values.

func (*TagLinkSysLinkType) Decode added in v0.0.40

func (s *TagLinkSysLinkType) Decode(d *jx.Decoder) error

Decode decodes TagLinkSysLinkType from json.

func (TagLinkSysLinkType) Encode added in v0.0.40

func (s TagLinkSysLinkType) Encode(e *jx.Encoder)

Encode encodes TagLinkSysLinkType as json.

func (TagLinkSysLinkType) MarshalJSON added in v0.0.40

func (s TagLinkSysLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TagLinkSysLinkType) MarshalText added in v0.0.40

func (s TagLinkSysLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TagLinkSysLinkType) UnmarshalJSON added in v0.0.40

func (s *TagLinkSysLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagLinkSysLinkType) UnmarshalText added in v0.0.40

func (s *TagLinkSysLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TagLinkSysLinkType) Validate added in v0.0.40

func (s TagLinkSysLinkType) Validate() error

type TagLinkSysType added in v0.0.40

type TagLinkSysType string

Merged schema.

const (
	TagLinkSysTypeLink TagLinkSysType = "Link"
)

func (TagLinkSysType) AllValues added in v0.0.40

func (TagLinkSysType) AllValues() []TagLinkSysType

AllValues returns all TagLinkSysType values.

func (*TagLinkSysType) Decode added in v0.0.40

func (s *TagLinkSysType) Decode(d *jx.Decoder) error

Decode decodes TagLinkSysType from json.

func (TagLinkSysType) Encode added in v0.0.40

func (s TagLinkSysType) Encode(e *jx.Encoder)

Encode encodes TagLinkSysType as json.

func (TagLinkSysType) MarshalJSON added in v0.0.40

func (s TagLinkSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TagLinkSysType) MarshalText added in v0.0.40

func (s TagLinkSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TagLinkSysType) UnmarshalJSON added in v0.0.40

func (s *TagLinkSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagLinkSysType) UnmarshalText added in v0.0.40

func (s *TagLinkSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TagLinkSysType) Validate added in v0.0.40

func (s TagLinkSysType) Validate() error

type TagRequest added in v0.0.50

type TagRequest struct {
	Sys TagRequestSys `json:"sys"`
	// Human readable name for the tag.
	Name string `json:"name"`
}

Merged schema. Ref: #/TagRequest

func (*TagRequest) Decode added in v0.0.50

func (s *TagRequest) Decode(d *jx.Decoder) error

Decode decodes TagRequest from json.

func (*TagRequest) Encode added in v0.0.50

func (s *TagRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagRequest) GetName added in v0.0.50

func (s *TagRequest) GetName() string

GetName returns the value of Name.

func (*TagRequest) GetSys added in v0.0.50

func (s *TagRequest) GetSys() TagRequestSys

GetSys returns the value of Sys.

func (*TagRequest) MarshalJSON added in v0.0.50

func (s *TagRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagRequest) SetName added in v0.0.50

func (s *TagRequest) SetName(val string)

SetName sets the value of Name.

func (*TagRequest) SetSys added in v0.0.50

func (s *TagRequest) SetSys(val TagRequestSys)

SetSys sets the value of Sys.

func (*TagRequest) UnmarshalJSON added in v0.0.50

func (s *TagRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagRequest) Validate added in v0.0.50

func (s *TagRequest) Validate() error

type TagRequestSys added in v0.0.50

type TagRequestSys struct {
	// Merged property.
	Type       TagRequestSysType `json:"type"`
	ID         OptString         `json:"id"`
	Visibility OptString         `json:"visibility"`
}

Merged schema. Ref: #/TagRequestSys

func (*TagRequestSys) Decode added in v0.0.50

func (s *TagRequestSys) Decode(d *jx.Decoder) error

Decode decodes TagRequestSys from json.

func (*TagRequestSys) Encode added in v0.0.50

func (s *TagRequestSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagRequestSys) GetID added in v0.0.50

func (s *TagRequestSys) GetID() OptString

GetID returns the value of ID.

func (*TagRequestSys) GetType added in v0.0.50

func (s *TagRequestSys) GetType() TagRequestSysType

GetType returns the value of Type.

func (*TagRequestSys) GetVisibility added in v0.0.50

func (s *TagRequestSys) GetVisibility() OptString

GetVisibility returns the value of Visibility.

func (*TagRequestSys) MarshalJSON added in v0.0.50

func (s *TagRequestSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagRequestSys) SetID added in v0.0.50

func (s *TagRequestSys) SetID(val OptString)

SetID sets the value of ID.

func (*TagRequestSys) SetType added in v0.0.50

func (s *TagRequestSys) SetType(val TagRequestSysType)

SetType sets the value of Type.

func (*TagRequestSys) SetVisibility added in v0.0.50

func (s *TagRequestSys) SetVisibility(val OptString)

SetVisibility sets the value of Visibility.

func (*TagRequestSys) UnmarshalJSON added in v0.0.50

func (s *TagRequestSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagRequestSys) Validate added in v0.0.50

func (s *TagRequestSys) Validate() error

type TagRequestSysType added in v0.0.50

type TagRequestSysType string

Merged schema.

const (
	TagRequestSysTypeTag TagRequestSysType = "Tag"
)

func (TagRequestSysType) AllValues added in v0.0.50

func (TagRequestSysType) AllValues() []TagRequestSysType

AllValues returns all TagRequestSysType values.

func (*TagRequestSysType) Decode added in v0.0.50

func (s *TagRequestSysType) Decode(d *jx.Decoder) error

Decode decodes TagRequestSysType from json.

func (TagRequestSysType) Encode added in v0.0.50

func (s TagRequestSysType) Encode(e *jx.Encoder)

Encode encodes TagRequestSysType as json.

func (TagRequestSysType) MarshalJSON added in v0.0.50

func (s TagRequestSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TagRequestSysType) MarshalText added in v0.0.50

func (s TagRequestSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TagRequestSysType) UnmarshalJSON added in v0.0.50

func (s *TagRequestSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagRequestSysType) UnmarshalText added in v0.0.50

func (s *TagRequestSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TagRequestSysType) Validate added in v0.0.50

func (s TagRequestSysType) Validate() error

type TagStatusCode added in v0.0.50

type TagStatusCode struct {
	StatusCode int
	Response   Tag
}

TagStatusCode wraps Tag with StatusCode.

func (*TagStatusCode) GetResponse added in v0.0.50

func (s *TagStatusCode) GetResponse() Tag

GetResponse returns the value of Response.

func (*TagStatusCode) GetStatusCode added in v0.0.50

func (s *TagStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*TagStatusCode) SetResponse added in v0.0.50

func (s *TagStatusCode) SetResponse(val Tag)

SetResponse sets the value of Response.

func (*TagStatusCode) SetStatusCode added in v0.0.50

func (s *TagStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*TagStatusCode) Validate added in v0.0.50

func (s *TagStatusCode) Validate() error

type TagSys added in v0.0.50

type TagSys struct {
	Space       SpaceLink       `json:"space"`
	Environment EnvironmentLink `json:"environment"`
	// Merged property.
	Type       TagSysType `json:"type"`
	ID         string     `json:"id"`
	Version    int        `json:"version"`
	Visibility string     `json:"visibility"`
}

Merged schema. Ref: #/TagSys

func NewTagSys added in v0.0.50

func NewTagSys(spaceID, environmentID, tagID string) TagSys

func (*TagSys) Decode added in v0.0.50

func (s *TagSys) Decode(d *jx.Decoder) error

Decode decodes TagSys from json.

func (*TagSys) Encode added in v0.0.50

func (s *TagSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagSys) GetEnvironment added in v0.0.50

func (s *TagSys) GetEnvironment() EnvironmentLink

GetEnvironment returns the value of Environment.

func (*TagSys) GetID added in v0.0.50

func (s *TagSys) GetID() string

GetID returns the value of ID.

func (*TagSys) GetSpace added in v0.0.50

func (s *TagSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*TagSys) GetType added in v0.0.50

func (s *TagSys) GetType() TagSysType

GetType returns the value of Type.

func (*TagSys) GetVersion added in v0.0.50

func (s *TagSys) GetVersion() int

GetVersion returns the value of Version.

func (*TagSys) GetVisibility added in v0.0.50

func (s *TagSys) GetVisibility() string

GetVisibility returns the value of Visibility.

func (*TagSys) MarshalJSON added in v0.0.50

func (s *TagSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagSys) SetEnvironment added in v0.0.50

func (s *TagSys) SetEnvironment(val EnvironmentLink)

SetEnvironment sets the value of Environment.

func (*TagSys) SetID added in v0.0.50

func (s *TagSys) SetID(val string)

SetID sets the value of ID.

func (*TagSys) SetSpace added in v0.0.50

func (s *TagSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*TagSys) SetType added in v0.0.50

func (s *TagSys) SetType(val TagSysType)

SetType sets the value of Type.

func (*TagSys) SetVersion added in v0.0.50

func (s *TagSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*TagSys) SetVisibility added in v0.0.50

func (s *TagSys) SetVisibility(val string)

SetVisibility sets the value of Visibility.

func (*TagSys) UnmarshalJSON added in v0.0.50

func (s *TagSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagSys) Validate added in v0.0.50

func (s *TagSys) Validate() error

type TagSysType added in v0.0.50

type TagSysType string

Merged schema.

const (
	TagSysTypeTag TagSysType = "Tag"
)

func (TagSysType) AllValues added in v0.0.50

func (TagSysType) AllValues() []TagSysType

AllValues returns all TagSysType values.

func (*TagSysType) Decode added in v0.0.50

func (s *TagSysType) Decode(d *jx.Decoder) error

Decode decodes TagSysType from json.

func (TagSysType) Encode added in v0.0.50

func (s TagSysType) Encode(e *jx.Encoder)

Encode encodes TagSysType as json.

func (TagSysType) MarshalJSON added in v0.0.50

func (s TagSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TagSysType) MarshalText added in v0.0.50

func (s TagSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TagSysType) UnmarshalJSON added in v0.0.50

func (s *TagSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagSysType) UnmarshalText added in v0.0.50

func (s *TagSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TagSysType) Validate added in v0.0.50

func (s TagSysType) Validate() error
type TaxonomyConceptLink struct {
	Sys TaxonomyConceptLinkSys `json:"sys"`
}

Ref: #/TaxonomyConceptLink

func NewTaxonomyConceptLink(id string) TaxonomyConceptLink

func (*TaxonomyConceptLink) Decode added in v0.0.46

func (s *TaxonomyConceptLink) Decode(d *jx.Decoder) error

Decode decodes TaxonomyConceptLink from json.

func (*TaxonomyConceptLink) Encode added in v0.0.46

func (s *TaxonomyConceptLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TaxonomyConceptLink) GetSys added in v0.0.46

GetSys returns the value of Sys.

func (*TaxonomyConceptLink) MarshalJSON added in v0.0.46

func (s *TaxonomyConceptLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TaxonomyConceptLink) SetSys added in v0.0.46

SetSys sets the value of Sys.

func (*TaxonomyConceptLink) UnmarshalJSON added in v0.0.46

func (s *TaxonomyConceptLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TaxonomyConceptLink) Validate added in v0.0.46

func (s *TaxonomyConceptLink) Validate() error

type TaxonomyConceptLinkSys added in v0.0.46

type TaxonomyConceptLinkSys struct {
	// Merged property.
	Type TaxonomyConceptLinkSysType `json:"type"`
	ID   string                     `json:"id"`
	// Merged property.
	LinkType TaxonomyConceptLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewTaxonomyConceptLinkSys added in v0.0.46

func NewTaxonomyConceptLinkSys(id string) TaxonomyConceptLinkSys

func (*TaxonomyConceptLinkSys) Decode added in v0.0.46

func (s *TaxonomyConceptLinkSys) Decode(d *jx.Decoder) error

Decode decodes TaxonomyConceptLinkSys from json.

func (*TaxonomyConceptLinkSys) Encode added in v0.0.46

func (s *TaxonomyConceptLinkSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TaxonomyConceptLinkSys) GetID added in v0.0.46

func (s *TaxonomyConceptLinkSys) GetID() string

GetID returns the value of ID.

func (*TaxonomyConceptLinkSys) GetLinkType added in v0.0.46

GetLinkType returns the value of LinkType.

func (*TaxonomyConceptLinkSys) GetType added in v0.0.46

GetType returns the value of Type.

func (*TaxonomyConceptLinkSys) MarshalJSON added in v0.0.46

func (s *TaxonomyConceptLinkSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TaxonomyConceptLinkSys) SetID added in v0.0.46

func (s *TaxonomyConceptLinkSys) SetID(val string)

SetID sets the value of ID.

func (*TaxonomyConceptLinkSys) SetLinkType added in v0.0.46

SetLinkType sets the value of LinkType.

func (*TaxonomyConceptLinkSys) SetType added in v0.0.46

SetType sets the value of Type.

func (*TaxonomyConceptLinkSys) UnmarshalJSON added in v0.0.46

func (s *TaxonomyConceptLinkSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TaxonomyConceptLinkSys) Validate added in v0.0.46

func (s *TaxonomyConceptLinkSys) Validate() error

type TaxonomyConceptLinkSysLinkType added in v0.0.46

type TaxonomyConceptLinkSysLinkType string

Merged schema.

const (
	TaxonomyConceptLinkSysLinkTypeTaxonomyConcept TaxonomyConceptLinkSysLinkType = "TaxonomyConcept"
)

func (TaxonomyConceptLinkSysLinkType) AllValues added in v0.0.46

AllValues returns all TaxonomyConceptLinkSysLinkType values.

func (*TaxonomyConceptLinkSysLinkType) Decode added in v0.0.46

Decode decodes TaxonomyConceptLinkSysLinkType from json.

func (TaxonomyConceptLinkSysLinkType) Encode added in v0.0.46

Encode encodes TaxonomyConceptLinkSysLinkType as json.

func (TaxonomyConceptLinkSysLinkType) MarshalJSON added in v0.0.46

func (s TaxonomyConceptLinkSysLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TaxonomyConceptLinkSysLinkType) MarshalText added in v0.0.46

func (s TaxonomyConceptLinkSysLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TaxonomyConceptLinkSysLinkType) UnmarshalJSON added in v0.0.46

func (s *TaxonomyConceptLinkSysLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TaxonomyConceptLinkSysLinkType) UnmarshalText added in v0.0.46

func (s *TaxonomyConceptLinkSysLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TaxonomyConceptLinkSysLinkType) Validate added in v0.0.46

type TaxonomyConceptLinkSysType added in v0.0.46

type TaxonomyConceptLinkSysType string

Merged schema.

const (
	TaxonomyConceptLinkSysTypeLink TaxonomyConceptLinkSysType = "Link"
)

func (TaxonomyConceptLinkSysType) AllValues added in v0.0.46

AllValues returns all TaxonomyConceptLinkSysType values.

func (*TaxonomyConceptLinkSysType) Decode added in v0.0.46

Decode decodes TaxonomyConceptLinkSysType from json.

func (TaxonomyConceptLinkSysType) Encode added in v0.0.46

func (s TaxonomyConceptLinkSysType) Encode(e *jx.Encoder)

Encode encodes TaxonomyConceptLinkSysType as json.

func (TaxonomyConceptLinkSysType) MarshalJSON added in v0.0.46

func (s TaxonomyConceptLinkSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TaxonomyConceptLinkSysType) MarshalText added in v0.0.46

func (s TaxonomyConceptLinkSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TaxonomyConceptLinkSysType) UnmarshalJSON added in v0.0.46

func (s *TaxonomyConceptLinkSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TaxonomyConceptLinkSysType) UnmarshalText added in v0.0.46

func (s *TaxonomyConceptLinkSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TaxonomyConceptLinkSysType) Validate added in v0.0.46

func (s TaxonomyConceptLinkSysType) Validate() error

type Team added in v0.0.43

type Team struct {
	Sys         TeamSys   `json:"sys"`
	Name        string    `json:"name"`
	Description NilString `json:"description"`
}

Merged schema. Ref: #/Team

func (*Team) Decode added in v0.0.43

func (s *Team) Decode(d *jx.Decoder) error

Decode decodes Team from json.

func (*Team) Encode added in v0.0.43

func (s *Team) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Team) GetDescription added in v0.0.43

func (s *Team) GetDescription() NilString

GetDescription returns the value of Description.

func (*Team) GetName added in v0.0.43

func (s *Team) GetName() string

GetName returns the value of Name.

func (*Team) GetSys added in v0.0.43

func (s *Team) GetSys() TeamSys

GetSys returns the value of Sys.

func (*Team) MarshalJSON added in v0.0.43

func (s *Team) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Team) SetDescription added in v0.0.43

func (s *Team) SetDescription(val NilString)

SetDescription sets the value of Description.

func (*Team) SetName added in v0.0.43

func (s *Team) SetName(val string)

SetName sets the value of Name.

func (*Team) SetSys added in v0.0.43

func (s *Team) SetSys(val TeamSys)

SetSys sets the value of Sys.

func (*Team) UnmarshalJSON added in v0.0.43

func (s *Team) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Team) Validate added in v0.0.43

func (s *Team) Validate() error

type TeamData added in v0.0.43

type TeamData struct {
	Name        string    `json:"name"`
	Description NilString `json:"description"`
}

Ref: #/TeamData

func (*TeamData) Decode added in v0.0.43

func (s *TeamData) Decode(d *jx.Decoder) error

Decode decodes TeamData from json.

func (*TeamData) Encode added in v0.0.43

func (s *TeamData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TeamData) GetDescription added in v0.0.43

func (s *TeamData) GetDescription() NilString

GetDescription returns the value of Description.

func (*TeamData) GetName added in v0.0.43

func (s *TeamData) GetName() string

GetName returns the value of Name.

func (*TeamData) MarshalJSON added in v0.0.43

func (s *TeamData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TeamData) SetDescription added in v0.0.43

func (s *TeamData) SetDescription(val NilString)

SetDescription sets the value of Description.

func (*TeamData) SetName added in v0.0.43

func (s *TeamData) SetName(val string)

SetName sets the value of Name.

func (*TeamData) UnmarshalJSON added in v0.0.43

func (s *TeamData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TeamLink struct {
	Sys TeamLinkSys `json:"sys"`
}

Ref: #/TeamLink

func NewTeamLink(id string) TeamLink

func (*TeamLink) Decode added in v0.0.43

func (s *TeamLink) Decode(d *jx.Decoder) error

Decode decodes TeamLink from json.

func (*TeamLink) Encode added in v0.0.43

func (s *TeamLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TeamLink) GetSys added in v0.0.43

func (s *TeamLink) GetSys() TeamLinkSys

GetSys returns the value of Sys.

func (*TeamLink) MarshalJSON added in v0.0.43

func (s *TeamLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TeamLink) SetSys added in v0.0.43

func (s *TeamLink) SetSys(val TeamLinkSys)

SetSys sets the value of Sys.

func (*TeamLink) UnmarshalJSON added in v0.0.43

func (s *TeamLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamLink) Validate added in v0.0.43

func (s *TeamLink) Validate() error

type TeamLinkSys added in v0.0.43

type TeamLinkSys struct {
	// Merged property.
	Type TeamLinkSysType `json:"type"`
	ID   string          `json:"id"`
	// Merged property.
	LinkType TeamLinkSysLinkType `json:"linkType"`
}

Merged schema.

func NewTeamLinkSys added in v0.0.43

func NewTeamLinkSys(id string) TeamLinkSys

func (*TeamLinkSys) Decode added in v0.0.43

func (s *TeamLinkSys) Decode(d *jx.Decoder) error

Decode decodes TeamLinkSys from json.

func (*TeamLinkSys) Encode added in v0.0.43

func (s *TeamLinkSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TeamLinkSys) GetID added in v0.0.43

func (s *TeamLinkSys) GetID() string

GetID returns the value of ID.

func (*TeamLinkSys) GetLinkType added in v0.0.43

func (s *TeamLinkSys) GetLinkType() TeamLinkSysLinkType

GetLinkType returns the value of LinkType.

func (*TeamLinkSys) GetType added in v0.0.43

func (s *TeamLinkSys) GetType() TeamLinkSysType

GetType returns the value of Type.

func (*TeamLinkSys) MarshalJSON added in v0.0.43

func (s *TeamLinkSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TeamLinkSys) SetID added in v0.0.43

func (s *TeamLinkSys) SetID(val string)

SetID sets the value of ID.

func (*TeamLinkSys) SetLinkType added in v0.0.43

func (s *TeamLinkSys) SetLinkType(val TeamLinkSysLinkType)

SetLinkType sets the value of LinkType.

func (*TeamLinkSys) SetType added in v0.0.43

func (s *TeamLinkSys) SetType(val TeamLinkSysType)

SetType sets the value of Type.

func (*TeamLinkSys) UnmarshalJSON added in v0.0.43

func (s *TeamLinkSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamLinkSys) Validate added in v0.0.43

func (s *TeamLinkSys) Validate() error

type TeamLinkSysLinkType added in v0.0.43

type TeamLinkSysLinkType string

Merged schema.

const (
	TeamLinkSysLinkTypeTeam TeamLinkSysLinkType = "Team"
)

func (TeamLinkSysLinkType) AllValues added in v0.0.43

AllValues returns all TeamLinkSysLinkType values.

func (*TeamLinkSysLinkType) Decode added in v0.0.43

func (s *TeamLinkSysLinkType) Decode(d *jx.Decoder) error

Decode decodes TeamLinkSysLinkType from json.

func (TeamLinkSysLinkType) Encode added in v0.0.43

func (s TeamLinkSysLinkType) Encode(e *jx.Encoder)

Encode encodes TeamLinkSysLinkType as json.

func (TeamLinkSysLinkType) MarshalJSON added in v0.0.43

func (s TeamLinkSysLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TeamLinkSysLinkType) MarshalText added in v0.0.43

func (s TeamLinkSysLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TeamLinkSysLinkType) UnmarshalJSON added in v0.0.43

func (s *TeamLinkSysLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamLinkSysLinkType) UnmarshalText added in v0.0.43

func (s *TeamLinkSysLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TeamLinkSysLinkType) Validate added in v0.0.43

func (s TeamLinkSysLinkType) Validate() error

type TeamLinkSysType added in v0.0.43

type TeamLinkSysType string

Merged schema.

const (
	TeamLinkSysTypeLink TeamLinkSysType = "Link"
)

func (TeamLinkSysType) AllValues added in v0.0.43

func (TeamLinkSysType) AllValues() []TeamLinkSysType

AllValues returns all TeamLinkSysType values.

func (*TeamLinkSysType) Decode added in v0.0.43

func (s *TeamLinkSysType) Decode(d *jx.Decoder) error

Decode decodes TeamLinkSysType from json.

func (TeamLinkSysType) Encode added in v0.0.43

func (s TeamLinkSysType) Encode(e *jx.Encoder)

Encode encodes TeamLinkSysType as json.

func (TeamLinkSysType) MarshalJSON added in v0.0.43

func (s TeamLinkSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TeamLinkSysType) MarshalText added in v0.0.43

func (s TeamLinkSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TeamLinkSysType) UnmarshalJSON added in v0.0.43

func (s *TeamLinkSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamLinkSysType) UnmarshalText added in v0.0.43

func (s *TeamLinkSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TeamLinkSysType) Validate added in v0.0.43

func (s TeamLinkSysType) Validate() error

type TeamSpaceMembership added in v0.0.43

type TeamSpaceMembership struct {
	Sys   TeamSpaceMembershipSys `json:"sys"`
	Admin bool                   `json:"admin"`
	Roles []RoleLink             `json:"roles"`
}

Merged schema. Ref: #/TeamSpaceMembership

func (*TeamSpaceMembership) Decode added in v0.0.43

func (s *TeamSpaceMembership) Decode(d *jx.Decoder) error

Decode decodes TeamSpaceMembership from json.

func (*TeamSpaceMembership) Encode added in v0.0.43

func (s *TeamSpaceMembership) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TeamSpaceMembership) GetAdmin added in v0.0.43

func (s *TeamSpaceMembership) GetAdmin() bool

GetAdmin returns the value of Admin.

func (*TeamSpaceMembership) GetRoles added in v0.0.43

func (s *TeamSpaceMembership) GetRoles() []RoleLink

GetRoles returns the value of Roles.

func (*TeamSpaceMembership) GetSys added in v0.0.43

GetSys returns the value of Sys.

func (*TeamSpaceMembership) MarshalJSON added in v0.0.43

func (s *TeamSpaceMembership) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TeamSpaceMembership) SetAdmin added in v0.0.43

func (s *TeamSpaceMembership) SetAdmin(val bool)

SetAdmin sets the value of Admin.

func (*TeamSpaceMembership) SetRoles added in v0.0.43

func (s *TeamSpaceMembership) SetRoles(val []RoleLink)

SetRoles sets the value of Roles.

func (*TeamSpaceMembership) SetSys added in v0.0.43

SetSys sets the value of Sys.

func (*TeamSpaceMembership) UnmarshalJSON added in v0.0.43

func (s *TeamSpaceMembership) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamSpaceMembership) Validate added in v0.0.43

func (s *TeamSpaceMembership) Validate() error

type TeamSpaceMembershipData added in v0.0.43

type TeamSpaceMembershipData struct {
	Admin bool       `json:"admin"`
	Roles []RoleLink `json:"roles"`
}

Ref: #/TeamSpaceMembershipData

func (*TeamSpaceMembershipData) Decode added in v0.0.43

func (s *TeamSpaceMembershipData) Decode(d *jx.Decoder) error

Decode decodes TeamSpaceMembershipData from json.

func (*TeamSpaceMembershipData) Encode added in v0.0.43

func (s *TeamSpaceMembershipData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TeamSpaceMembershipData) GetAdmin added in v0.0.43

func (s *TeamSpaceMembershipData) GetAdmin() bool

GetAdmin returns the value of Admin.

func (*TeamSpaceMembershipData) GetRoles added in v0.0.43

func (s *TeamSpaceMembershipData) GetRoles() []RoleLink

GetRoles returns the value of Roles.

func (*TeamSpaceMembershipData) MarshalJSON added in v0.0.43

func (s *TeamSpaceMembershipData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TeamSpaceMembershipData) SetAdmin added in v0.0.43

func (s *TeamSpaceMembershipData) SetAdmin(val bool)

SetAdmin sets the value of Admin.

func (*TeamSpaceMembershipData) SetRoles added in v0.0.43

func (s *TeamSpaceMembershipData) SetRoles(val []RoleLink)

SetRoles sets the value of Roles.

func (*TeamSpaceMembershipData) UnmarshalJSON added in v0.0.43

func (s *TeamSpaceMembershipData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamSpaceMembershipData) Validate added in v0.0.43

func (s *TeamSpaceMembershipData) Validate() error

type TeamSpaceMembershipStatusCode added in v0.0.43

type TeamSpaceMembershipStatusCode struct {
	StatusCode int
	Response   TeamSpaceMembership
}

TeamSpaceMembershipStatusCode wraps TeamSpaceMembership with StatusCode.

func (*TeamSpaceMembershipStatusCode) GetResponse added in v0.0.43

GetResponse returns the value of Response.

func (*TeamSpaceMembershipStatusCode) GetStatusCode added in v0.0.43

func (s *TeamSpaceMembershipStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*TeamSpaceMembershipStatusCode) SetResponse added in v0.0.43

SetResponse sets the value of Response.

func (*TeamSpaceMembershipStatusCode) SetStatusCode added in v0.0.43

func (s *TeamSpaceMembershipStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*TeamSpaceMembershipStatusCode) Validate added in v0.0.43

func (s *TeamSpaceMembershipStatusCode) Validate() error

type TeamSpaceMembershipSys added in v0.0.43

type TeamSpaceMembershipSys struct {
	Space SpaceLink `json:"space"`
	// Merged property.
	Type TeamSpaceMembershipSysType `json:"type"`
	ID   string                     `json:"id"`
	Team TeamLink                   `json:"team"`
}

Merged schema. Ref: #/TeamSpaceMembershipSys

func NewTeamSpaceMembershipSys added in v0.0.43

func NewTeamSpaceMembershipSys(spaceID, teamSpaceMembershipID, teamID string) TeamSpaceMembershipSys

func (*TeamSpaceMembershipSys) Decode added in v0.0.43

func (s *TeamSpaceMembershipSys) Decode(d *jx.Decoder) error

Decode decodes TeamSpaceMembershipSys from json.

func (*TeamSpaceMembershipSys) Encode added in v0.0.43

func (s *TeamSpaceMembershipSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TeamSpaceMembershipSys) GetID added in v0.0.43

func (s *TeamSpaceMembershipSys) GetID() string

GetID returns the value of ID.

func (*TeamSpaceMembershipSys) GetSpace added in v0.0.43

func (s *TeamSpaceMembershipSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*TeamSpaceMembershipSys) GetTeam added in v0.0.43

func (s *TeamSpaceMembershipSys) GetTeam() TeamLink

GetTeam returns the value of Team.

func (*TeamSpaceMembershipSys) GetType added in v0.0.43

GetType returns the value of Type.

func (*TeamSpaceMembershipSys) MarshalJSON added in v0.0.43

func (s *TeamSpaceMembershipSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TeamSpaceMembershipSys) SetID added in v0.0.43

func (s *TeamSpaceMembershipSys) SetID(val string)

SetID sets the value of ID.

func (*TeamSpaceMembershipSys) SetSpace added in v0.0.43

func (s *TeamSpaceMembershipSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*TeamSpaceMembershipSys) SetTeam added in v0.0.43

func (s *TeamSpaceMembershipSys) SetTeam(val TeamLink)

SetTeam sets the value of Team.

func (*TeamSpaceMembershipSys) SetType added in v0.0.43

SetType sets the value of Type.

func (*TeamSpaceMembershipSys) UnmarshalJSON added in v0.0.43

func (s *TeamSpaceMembershipSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamSpaceMembershipSys) Validate added in v0.0.43

func (s *TeamSpaceMembershipSys) Validate() error

type TeamSpaceMembershipSysType added in v0.0.43

type TeamSpaceMembershipSysType string

Merged schema.

const (
	TeamSpaceMembershipSysTypeTeamSpaceMembership TeamSpaceMembershipSysType = "TeamSpaceMembership"
)

func (TeamSpaceMembershipSysType) AllValues added in v0.0.43

AllValues returns all TeamSpaceMembershipSysType values.

func (*TeamSpaceMembershipSysType) Decode added in v0.0.43

Decode decodes TeamSpaceMembershipSysType from json.

func (TeamSpaceMembershipSysType) Encode added in v0.0.43

func (s TeamSpaceMembershipSysType) Encode(e *jx.Encoder)

Encode encodes TeamSpaceMembershipSysType as json.

func (TeamSpaceMembershipSysType) MarshalJSON added in v0.0.43

func (s TeamSpaceMembershipSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TeamSpaceMembershipSysType) MarshalText added in v0.0.43

func (s TeamSpaceMembershipSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TeamSpaceMembershipSysType) UnmarshalJSON added in v0.0.43

func (s *TeamSpaceMembershipSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamSpaceMembershipSysType) UnmarshalText added in v0.0.43

func (s *TeamSpaceMembershipSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TeamSpaceMembershipSysType) Validate added in v0.0.43

func (s TeamSpaceMembershipSysType) Validate() error

type TeamStatusCode added in v0.0.43

type TeamStatusCode struct {
	StatusCode int
	Response   Team
}

TeamStatusCode wraps Team with StatusCode.

func (*TeamStatusCode) GetResponse added in v0.0.43

func (s *TeamStatusCode) GetResponse() Team

GetResponse returns the value of Response.

func (*TeamStatusCode) GetStatusCode added in v0.0.43

func (s *TeamStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*TeamStatusCode) SetResponse added in v0.0.43

func (s *TeamStatusCode) SetResponse(val Team)

SetResponse sets the value of Response.

func (*TeamStatusCode) SetStatusCode added in v0.0.43

func (s *TeamStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*TeamStatusCode) Validate added in v0.0.43

func (s *TeamStatusCode) Validate() error

type TeamSys added in v0.0.43

type TeamSys struct {
	Organization OrganizationLink `json:"organization"`
	// Merged property.
	Type    TeamSysType `json:"type"`
	ID      string      `json:"id"`
	Version int         `json:"version"`
}

Merged schema. Ref: #/TeamSys

func NewTeamSys added in v0.0.43

func NewTeamSys(organizationID, teamID string) TeamSys

func (*TeamSys) Decode added in v0.0.43

func (s *TeamSys) Decode(d *jx.Decoder) error

Decode decodes TeamSys from json.

func (*TeamSys) Encode added in v0.0.43

func (s *TeamSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TeamSys) GetID added in v0.0.43

func (s *TeamSys) GetID() string

GetID returns the value of ID.

func (*TeamSys) GetOrganization added in v0.0.43

func (s *TeamSys) GetOrganization() OrganizationLink

GetOrganization returns the value of Organization.

func (*TeamSys) GetType added in v0.0.43

func (s *TeamSys) GetType() TeamSysType

GetType returns the value of Type.

func (*TeamSys) GetVersion added in v0.0.43

func (s *TeamSys) GetVersion() int

GetVersion returns the value of Version.

func (*TeamSys) MarshalJSON added in v0.0.43

func (s *TeamSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TeamSys) SetID added in v0.0.43

func (s *TeamSys) SetID(val string)

SetID sets the value of ID.

func (*TeamSys) SetOrganization added in v0.0.43

func (s *TeamSys) SetOrganization(val OrganizationLink)

SetOrganization sets the value of Organization.

func (*TeamSys) SetType added in v0.0.43

func (s *TeamSys) SetType(val TeamSysType)

SetType sets the value of Type.

func (*TeamSys) SetVersion added in v0.0.43

func (s *TeamSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*TeamSys) UnmarshalJSON added in v0.0.43

func (s *TeamSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamSys) Validate added in v0.0.43

func (s *TeamSys) Validate() error

type TeamSysType added in v0.0.43

type TeamSysType string

Merged schema.

const (
	TeamSysTypeTeam TeamSysType = "Team"
)

func (TeamSysType) AllValues added in v0.0.43

func (TeamSysType) AllValues() []TeamSysType

AllValues returns all TeamSysType values.

func (*TeamSysType) Decode added in v0.0.43

func (s *TeamSysType) Decode(d *jx.Decoder) error

Decode decodes TeamSysType from json.

func (TeamSysType) Encode added in v0.0.43

func (s TeamSysType) Encode(e *jx.Encoder)

Encode encodes TeamSysType as json.

func (TeamSysType) MarshalJSON added in v0.0.43

func (s TeamSysType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TeamSysType) MarshalText added in v0.0.43

func (s TeamSysType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TeamSysType) UnmarshalJSON added in v0.0.43

func (s *TeamSysType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TeamSysType) UnmarshalText added in v0.0.43

func (s *TeamSysType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TeamSysType) Validate added in v0.0.43

func (s TeamSysType) Validate() error

type UnpublishEntryParams added in v0.0.40

type UnpublishEntryParams struct {
	SpaceID       string
	EnvironmentID string
	EntryID       string
}

UnpublishEntryParams is parameters of unpublishEntry operation.

type UnpublishEntryRes added in v0.0.40

type UnpublishEntryRes interface {
	// contains filtered or unexported methods
}

type UpdateDeliveryAPIKeyParams added in v0.0.43

type UpdateDeliveryAPIKeyParams struct {
	SpaceID            string
	APIKeyID           string
	XContentfulVersion int
}

UpdateDeliveryAPIKeyParams is parameters of updateDeliveryAPIKey operation.

type UpdateDeliveryAPIKeyRes added in v0.0.43

type UpdateDeliveryAPIKeyRes interface {
	// contains filtered or unexported methods
}

type UpdateRoleParams added in v0.0.15

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: #/User

func NewUser added in v0.0.43

func NewUser(id string) *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"`
}

Merged schema. Ref: #/UserSys

func NewUserSys added in v0.0.43

func NewUserSys(id string) 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) 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) 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) 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) 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: #/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 WebhookDefinitionData added in v0.0.42

type WebhookDefinitionData struct {
	Name              string                                    `json:"name"`
	URL               string                                    `json:"url"`
	Topics            []string                                  `json:"topics"`
	Filters           OptNilWebhookDefinitionFilterArray        `json:"filters"`
	HttpBasicUsername OptNilString                              `json:"httpBasicUsername"`
	HttpBasicPassword OptNilString                              `json:"httpBasicPassword"`
	Headers           WebhookDefinitionHeaders                  `json:"headers"`
	Transformation    OptNilWebhookDefinitionDataTransformation `json:"transformation"`
	Active            OptBool                                   `json:"active"`
}

Ref: #/WebhookDefinitionData

func (*WebhookDefinitionData) Decode added in v0.0.42

func (s *WebhookDefinitionData) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionData from json.

func (*WebhookDefinitionData) Encode added in v0.0.42

func (s *WebhookDefinitionData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionData) GetActive added in v0.0.42

func (s *WebhookDefinitionData) GetActive() OptBool

GetActive returns the value of Active.

func (*WebhookDefinitionData) GetFilters added in v0.0.42

GetFilters returns the value of Filters.

func (*WebhookDefinitionData) GetHeaders added in v0.0.42

GetHeaders returns the value of Headers.

func (*WebhookDefinitionData) GetHttpBasicPassword added in v0.0.42

func (s *WebhookDefinitionData) GetHttpBasicPassword() OptNilString

GetHttpBasicPassword returns the value of HttpBasicPassword.

func (*WebhookDefinitionData) GetHttpBasicUsername added in v0.0.42

func (s *WebhookDefinitionData) GetHttpBasicUsername() OptNilString

GetHttpBasicUsername returns the value of HttpBasicUsername.

func (*WebhookDefinitionData) GetName added in v0.0.42

func (s *WebhookDefinitionData) GetName() string

GetName returns the value of Name.

func (*WebhookDefinitionData) GetTopics added in v0.0.42

func (s *WebhookDefinitionData) GetTopics() []string

GetTopics returns the value of Topics.

func (*WebhookDefinitionData) GetTransformation added in v0.0.42

GetTransformation returns the value of Transformation.

func (*WebhookDefinitionData) GetURL added in v0.0.42

func (s *WebhookDefinitionData) GetURL() string

GetURL returns the value of URL.

func (*WebhookDefinitionData) MarshalJSON added in v0.0.42

func (s *WebhookDefinitionData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionData) SetActive added in v0.0.42

func (s *WebhookDefinitionData) SetActive(val OptBool)

SetActive sets the value of Active.

func (*WebhookDefinitionData) SetFilters added in v0.0.42

SetFilters sets the value of Filters.

func (*WebhookDefinitionData) SetHeaders added in v0.0.42

SetHeaders sets the value of Headers.

func (*WebhookDefinitionData) SetHttpBasicPassword added in v0.0.42

func (s *WebhookDefinitionData) SetHttpBasicPassword(val OptNilString)

SetHttpBasicPassword sets the value of HttpBasicPassword.

func (*WebhookDefinitionData) SetHttpBasicUsername added in v0.0.42

func (s *WebhookDefinitionData) SetHttpBasicUsername(val OptNilString)

SetHttpBasicUsername sets the value of HttpBasicUsername.

func (*WebhookDefinitionData) SetName added in v0.0.42

func (s *WebhookDefinitionData) SetName(val string)

SetName sets the value of Name.

func (*WebhookDefinitionData) SetTopics added in v0.0.42

func (s *WebhookDefinitionData) SetTopics(val []string)

SetTopics sets the value of Topics.

func (*WebhookDefinitionData) SetTransformation added in v0.0.42

SetTransformation sets the value of Transformation.

func (*WebhookDefinitionData) SetURL added in v0.0.42

func (s *WebhookDefinitionData) SetURL(val string)

SetURL sets the value of URL.

func (*WebhookDefinitionData) UnmarshalJSON added in v0.0.42

func (s *WebhookDefinitionData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookDefinitionData) Validate added in v0.0.42

func (s *WebhookDefinitionData) Validate() error

type WebhookDefinitionDataTransformation added in v0.0.42

type WebhookDefinitionDataTransformation struct {
	Method               OptString `json:"method"`
	ContentType          OptString `json:"contentType"`
	IncludeContentLength OptBool   `json:"includeContentLength"`
	Body                 jx.Raw    `json:"body"`
}

func (*WebhookDefinitionDataTransformation) Decode added in v0.0.42

Decode decodes WebhookDefinitionDataTransformation from json.

func (*WebhookDefinitionDataTransformation) Encode added in v0.0.42

Encode implements json.Marshaler.

func (*WebhookDefinitionDataTransformation) GetBody added in v0.0.42

GetBody returns the value of Body.

func (*WebhookDefinitionDataTransformation) GetContentType added in v0.0.42

func (s *WebhookDefinitionDataTransformation) GetContentType() OptString

GetContentType returns the value of ContentType.

func (*WebhookDefinitionDataTransformation) GetIncludeContentLength added in v0.0.42

func (s *WebhookDefinitionDataTransformation) GetIncludeContentLength() OptBool

GetIncludeContentLength returns the value of IncludeContentLength.

func (*WebhookDefinitionDataTransformation) GetMethod added in v0.0.42

GetMethod returns the value of Method.

func (*WebhookDefinitionDataTransformation) MarshalJSON added in v0.0.42

func (s *WebhookDefinitionDataTransformation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionDataTransformation) SetBody added in v0.0.42

func (s *WebhookDefinitionDataTransformation) SetBody(val jx.Raw)

SetBody sets the value of Body.

func (*WebhookDefinitionDataTransformation) SetContentType added in v0.0.42

func (s *WebhookDefinitionDataTransformation) SetContentType(val OptString)

SetContentType sets the value of ContentType.

func (*WebhookDefinitionDataTransformation) SetIncludeContentLength added in v0.0.42

func (s *WebhookDefinitionDataTransformation) SetIncludeContentLength(val OptBool)

SetIncludeContentLength sets the value of IncludeContentLength.

func (*WebhookDefinitionDataTransformation) SetMethod added in v0.0.42

SetMethod sets the value of Method.

func (*WebhookDefinitionDataTransformation) UnmarshalJSON added in v0.0.42

func (s *WebhookDefinitionDataTransformation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionFilter added in v0.0.17

type WebhookDefinitionFilter struct {
	Not    OptWebhookDefinitionFilterNot `json:"not"`
	Equals WebhookDefinitionFilterEquals `json:"equals"`
	In     WebhookDefinitionFilterIn     `json:"in"`
	Regexp WebhookDefinitionFilterRegexp `json:"regexp"`
}

Ref: #/WebhookDefinitionFilter

func (*WebhookDefinitionFilter) Decode added in v0.0.17

func (s *WebhookDefinitionFilter) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionFilter from json.

func (*WebhookDefinitionFilter) Encode added in v0.0.17

func (s *WebhookDefinitionFilter) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionFilter) GetEquals added in v0.0.17

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: #/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: #/WebhookDefinitionHeader

func (*WebhookDefinitionHeader) Decode added in v0.0.17

func (s *WebhookDefinitionHeader) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionHeader from json.

func (*WebhookDefinitionHeader) Encode added in v0.0.17

func (s *WebhookDefinitionHeader) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionHeader) GetKey added in v0.0.17

func (s *WebhookDefinitionHeader) GetKey() string

GetKey returns the value of Key.

func (*WebhookDefinitionHeader) GetSecret added in v0.0.17

func (s *WebhookDefinitionHeader) GetSecret() OptBool

GetSecret returns the value of Secret.

func (*WebhookDefinitionHeader) GetValue added in v0.0.17

func (s *WebhookDefinitionHeader) GetValue() OptString

GetValue returns the value of Value.

func (*WebhookDefinitionHeader) MarshalJSON added in v0.0.17

func (s *WebhookDefinitionHeader) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionHeader) SetKey added in v0.0.17

func (s *WebhookDefinitionHeader) SetKey(val string)

SetKey sets the value of Key.

func (*WebhookDefinitionHeader) SetSecret added in v0.0.17

func (s *WebhookDefinitionHeader) SetSecret(val OptBool)

SetSecret sets the value of Secret.

func (*WebhookDefinitionHeader) SetValue added in v0.0.17

func (s *WebhookDefinitionHeader) SetValue(val OptString)

SetValue sets the value of Value.

func (*WebhookDefinitionHeader) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionHeader) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionHeaders added in v0.0.17

type WebhookDefinitionHeaders []WebhookDefinitionHeader

func (*WebhookDefinitionHeaders) Decode added in v0.0.17

func (s *WebhookDefinitionHeaders) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionHeaders from json.

func (WebhookDefinitionHeaders) Encode added in v0.0.17

func (s WebhookDefinitionHeaders) Encode(e *jx.Encoder)

Encode encodes WebhookDefinitionHeaders as json.

func (WebhookDefinitionHeaders) MarshalJSON added in v0.0.17

func (s WebhookDefinitionHeaders) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionHeaders) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionHeaders) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDefinitionStatusCode added in v0.0.24

type WebhookDefinitionStatusCode struct {
	StatusCode int
	Response   WebhookDefinition
}

WebhookDefinitionStatusCode wraps WebhookDefinition with StatusCode.

func (*WebhookDefinitionStatusCode) GetResponse added in v0.0.24

GetResponse returns the value of Response.

func (*WebhookDefinitionStatusCode) GetStatusCode added in v0.0.24

func (s *WebhookDefinitionStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*WebhookDefinitionStatusCode) SetResponse added in v0.0.24

func (s *WebhookDefinitionStatusCode) SetResponse(val WebhookDefinition)

SetResponse sets the value of Response.

func (*WebhookDefinitionStatusCode) SetStatusCode added in v0.0.24

func (s *WebhookDefinitionStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*WebhookDefinitionStatusCode) Validate added in v0.0.24

func (s *WebhookDefinitionStatusCode) Validate() error

type WebhookDefinitionSys added in v0.0.17

type WebhookDefinitionSys struct {
	Space SpaceLink `json:"space"`
	// Merged property.
	Type    WebhookDefinitionSysType `json:"type"`
	ID      string                   `json:"id"`
	Version int                      `json:"version"`
}

Merged schema. Ref: #/WebhookDefinitionSys

func NewWebhookDefinitionSys added in v0.0.43

func NewWebhookDefinitionSys(spaceID, webhookDefinitionID string) WebhookDefinitionSys

func (*WebhookDefinitionSys) Decode added in v0.0.17

func (s *WebhookDefinitionSys) Decode(d *jx.Decoder) error

Decode decodes WebhookDefinitionSys from json.

func (*WebhookDefinitionSys) Encode added in v0.0.17

func (s *WebhookDefinitionSys) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookDefinitionSys) GetID added in v0.0.17

func (s *WebhookDefinitionSys) GetID() string

GetID returns the value of ID.

func (*WebhookDefinitionSys) GetSpace added in v0.0.18

func (s *WebhookDefinitionSys) GetSpace() SpaceLink

GetSpace returns the value of Space.

func (*WebhookDefinitionSys) GetType added in v0.0.17

GetType returns the value of Type.

func (*WebhookDefinitionSys) GetVersion added in v0.0.17

func (s *WebhookDefinitionSys) GetVersion() int

GetVersion returns the value of Version.

func (*WebhookDefinitionSys) MarshalJSON added in v0.0.17

func (s *WebhookDefinitionSys) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookDefinitionSys) SetID added in v0.0.17

func (s *WebhookDefinitionSys) SetID(val string)

SetID sets the value of ID.

func (*WebhookDefinitionSys) SetSpace added in v0.0.18

func (s *WebhookDefinitionSys) SetSpace(val SpaceLink)

SetSpace sets the value of Space.

func (*WebhookDefinitionSys) SetType added in v0.0.17

SetType sets the value of Type.

func (*WebhookDefinitionSys) SetVersion added in v0.0.17

func (s *WebhookDefinitionSys) SetVersion(val int)

SetVersion sets the value of Version.

func (*WebhookDefinitionSys) UnmarshalJSON added in v0.0.17

func (s *WebhookDefinitionSys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookDefinitionSys) Validate added in v0.0.17

func (s *WebhookDefinitionSys) Validate() error

type WebhookDefinitionSysType added in v0.0.17

type WebhookDefinitionSysType string

Merged schema.

const (
	WebhookDefinitionSysTypeWebhookDefinition WebhookDefinitionSysType = "WebhookDefinition"
)

func (WebhookDefinitionSysType) AllValues added in v0.0.17

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL