api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithServerURL

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

WithServerURL sets context key to override server URL.

Types

type AcceptSessionBadRequest

type AcceptSessionBadRequest Error

func (*AcceptSessionBadRequest) Decode

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

Decode decodes AcceptSessionBadRequest from json.

func (*AcceptSessionBadRequest) Encode

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

Encode encodes AcceptSessionBadRequest as json.

func (*AcceptSessionBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptSessionBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptSessionConflict

type AcceptSessionConflict Error

func (*AcceptSessionConflict) Decode

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

Decode decodes AcceptSessionConflict from json.

func (*AcceptSessionConflict) Encode

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

Encode encodes AcceptSessionConflict as json.

func (*AcceptSessionConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptSessionConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptSessionForbidden

type AcceptSessionForbidden Error

func (*AcceptSessionForbidden) Decode

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

Decode decodes AcceptSessionForbidden from json.

func (*AcceptSessionForbidden) Encode

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

Encode encodes AcceptSessionForbidden as json.

func (*AcceptSessionForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptSessionForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptSessionInternalServerError

type AcceptSessionInternalServerError Error

func (*AcceptSessionInternalServerError) Decode

Decode decodes AcceptSessionInternalServerError from json.

func (*AcceptSessionInternalServerError) Encode

Encode encodes AcceptSessionInternalServerError as json.

func (*AcceptSessionInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptSessionInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptSessionNotFound

type AcceptSessionNotFound Error

func (*AcceptSessionNotFound) Decode

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

Decode decodes AcceptSessionNotFound from json.

func (*AcceptSessionNotFound) Encode

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

Encode encodes AcceptSessionNotFound as json.

func (*AcceptSessionNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptSessionNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptSessionParams

type AcceptSessionParams struct {
	SessionId string
}

AcceptSessionParams is parameters of acceptSession operation.

type AcceptSessionRequest

type AcceptSessionRequest struct {
	EnvironmentId string `json:"environmentId"`
	// Local TCP address the provider will serve on; used as the tunnel backend_target. When omitted, a
	// placeholder is stored and envelope transport is not functional.
	BackendAddress OptString `json:"backendAddress"`
}

Ref: #/acceptSessionRequest

func (*AcceptSessionRequest) Decode

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

Decode decodes AcceptSessionRequest from json.

func (*AcceptSessionRequest) Encode

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

Encode implements json.Marshaler.

func (*AcceptSessionRequest) GetBackendAddress

func (s *AcceptSessionRequest) GetBackendAddress() OptString

GetBackendAddress returns the value of BackendAddress.

func (*AcceptSessionRequest) GetEnvironmentId

func (s *AcceptSessionRequest) GetEnvironmentId() string

GetEnvironmentId returns the value of EnvironmentId.

func (*AcceptSessionRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptSessionRequest) SetBackendAddress

func (s *AcceptSessionRequest) SetBackendAddress(val OptString)

SetBackendAddress sets the value of BackendAddress.

func (*AcceptSessionRequest) SetEnvironmentId

func (s *AcceptSessionRequest) SetEnvironmentId(val string)

SetEnvironmentId sets the value of EnvironmentId.

func (*AcceptSessionRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AcceptSessionRequest) Validate

func (s *AcceptSessionRequest) Validate() error

type AcceptSessionRes

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

type AcceptSessionUnauthorized

type AcceptSessionUnauthorized Error

func (*AcceptSessionUnauthorized) Decode

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

Decode decodes AcceptSessionUnauthorized from json.

func (*AcceptSessionUnauthorized) Encode

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

Encode encodes AcceptSessionUnauthorized as json.

func (*AcceptSessionUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptSessionUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptWorkgroupInvitationBadRequest

type AcceptWorkgroupInvitationBadRequest Error

func (*AcceptWorkgroupInvitationBadRequest) Decode

Decode decodes AcceptWorkgroupInvitationBadRequest from json.

func (*AcceptWorkgroupInvitationBadRequest) Encode

Encode encodes AcceptWorkgroupInvitationBadRequest as json.

func (*AcceptWorkgroupInvitationBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptWorkgroupInvitationBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptWorkgroupInvitationConflict

type AcceptWorkgroupInvitationConflict Error

func (*AcceptWorkgroupInvitationConflict) Decode

Decode decodes AcceptWorkgroupInvitationConflict from json.

func (*AcceptWorkgroupInvitationConflict) Encode

Encode encodes AcceptWorkgroupInvitationConflict as json.

func (*AcceptWorkgroupInvitationConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptWorkgroupInvitationConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptWorkgroupInvitationInternalServerError

type AcceptWorkgroupInvitationInternalServerError Error

func (*AcceptWorkgroupInvitationInternalServerError) Decode

Decode decodes AcceptWorkgroupInvitationInternalServerError from json.

func (*AcceptWorkgroupInvitationInternalServerError) Encode

Encode encodes AcceptWorkgroupInvitationInternalServerError as json.

func (*AcceptWorkgroupInvitationInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*AcceptWorkgroupInvitationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptWorkgroupInvitationNotFound

type AcceptWorkgroupInvitationNotFound Error

func (*AcceptWorkgroupInvitationNotFound) Decode

Decode decodes AcceptWorkgroupInvitationNotFound from json.

func (*AcceptWorkgroupInvitationNotFound) Encode

Encode encodes AcceptWorkgroupInvitationNotFound as json.

func (*AcceptWorkgroupInvitationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptWorkgroupInvitationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcceptWorkgroupInvitationParams

type AcceptWorkgroupInvitationParams struct {
	WorkgroupId    string
	OrganizationId string
}

AcceptWorkgroupInvitationParams is parameters of acceptWorkgroupInvitation operation.

type AcceptWorkgroupInvitationRequest

type AcceptWorkgroupInvitationRequest struct {
	InitialAdminAccountId       string    `json:"initialAdminAccountId"`
	AcknowledgingAdminAccountId OptString `json:"acknowledgingAdminAccountId"`
}

Ref: #/acceptWorkgroupInvitationRequest

func (*AcceptWorkgroupInvitationRequest) Decode

Decode decodes AcceptWorkgroupInvitationRequest from json.

func (*AcceptWorkgroupInvitationRequest) Encode

Encode implements json.Marshaler.

func (*AcceptWorkgroupInvitationRequest) GetAcknowledgingAdminAccountId

func (s *AcceptWorkgroupInvitationRequest) GetAcknowledgingAdminAccountId() OptString

GetAcknowledgingAdminAccountId returns the value of AcknowledgingAdminAccountId.

func (*AcceptWorkgroupInvitationRequest) GetInitialAdminAccountId

func (s *AcceptWorkgroupInvitationRequest) GetInitialAdminAccountId() string

GetInitialAdminAccountId returns the value of InitialAdminAccountId.

func (*AcceptWorkgroupInvitationRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptWorkgroupInvitationRequest) SetAcknowledgingAdminAccountId

func (s *AcceptWorkgroupInvitationRequest) SetAcknowledgingAdminAccountId(val OptString)

SetAcknowledgingAdminAccountId sets the value of AcknowledgingAdminAccountId.

func (*AcceptWorkgroupInvitationRequest) SetInitialAdminAccountId

func (s *AcceptWorkgroupInvitationRequest) SetInitialAdminAccountId(val string)

SetInitialAdminAccountId sets the value of InitialAdminAccountId.

func (*AcceptWorkgroupInvitationRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AcceptWorkgroupInvitationRequest) Validate

type AcceptWorkgroupInvitationRes

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

type AcceptWorkgroupInvitationUnauthorized

type AcceptWorkgroupInvitationUnauthorized Error

func (*AcceptWorkgroupInvitationUnauthorized) Decode

Decode decodes AcceptWorkgroupInvitationUnauthorized from json.

func (*AcceptWorkgroupInvitationUnauthorized) Encode

Encode encodes AcceptWorkgroupInvitationUnauthorized as json.

func (*AcceptWorkgroupInvitationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcceptWorkgroupInvitationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Account

type Account struct {
	ID             string        `json:"id"`
	OrganizationId string        `json:"organizationId"`
	Email          string        `json:"email"`
	DisplayName    OptString     `json:"displayName"`
	Role           AccountRole   `json:"role"`
	Status         AccountStatus `json:"status"`
	CreatedAt      time.Time     `json:"createdAt"`
	UpdatedAt      time.Time     `json:"updatedAt"`
}

Ref: #/account

func (*Account) Decode

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

Decode decodes Account from json.

func (*Account) Encode

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

Encode implements json.Marshaler.

func (*Account) GetCreatedAt

func (s *Account) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Account) GetDisplayName

func (s *Account) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*Account) GetEmail

func (s *Account) GetEmail() string

GetEmail returns the value of Email.

func (*Account) GetID

func (s *Account) GetID() string

GetID returns the value of ID.

func (*Account) GetOrganizationId

func (s *Account) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*Account) GetRole

func (s *Account) GetRole() AccountRole

GetRole returns the value of Role.

func (*Account) GetStatus

func (s *Account) GetStatus() AccountStatus

GetStatus returns the value of Status.

func (*Account) GetUpdatedAt

func (s *Account) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Account) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Account) SetCreatedAt

func (s *Account) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Account) SetDisplayName

func (s *Account) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*Account) SetEmail

func (s *Account) SetEmail(val string)

SetEmail sets the value of Email.

func (*Account) SetID

func (s *Account) SetID(val string)

SetID sets the value of ID.

func (*Account) SetOrganizationId

func (s *Account) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*Account) SetRole

func (s *Account) SetRole(val AccountRole)

SetRole sets the value of Role.

func (*Account) SetStatus

func (s *Account) SetStatus(val AccountStatus)

SetStatus sets the value of Status.

func (*Account) SetUpdatedAt

func (s *Account) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Account) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Account) Validate

func (s *Account) Validate() error

type AccountRole

type AccountRole string
const (
	AccountRoleAdmin  AccountRole = "admin"
	AccountRoleMember AccountRole = "member"
)

func (AccountRole) AllValues

func (AccountRole) AllValues() []AccountRole

AllValues returns all AccountRole values.

func (*AccountRole) Decode

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

Decode decodes AccountRole from json.

func (AccountRole) Encode

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

Encode encodes AccountRole as json.

func (AccountRole) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AccountRole) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AccountRole) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountRole) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AccountRole) Validate

func (s AccountRole) Validate() error

type AccountStatus

type AccountStatus string
const (
	AccountStatusActive   AccountStatus = "active"
	AccountStatusDisabled AccountStatus = "disabled"
)

func (AccountStatus) AllValues

func (AccountStatus) AllValues() []AccountStatus

AllValues returns all AccountStatus values.

func (*AccountStatus) Decode

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

Decode decodes AccountStatus from json.

func (AccountStatus) Encode

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

Encode encodes AccountStatus as json.

func (AccountStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AccountStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AccountStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AccountStatus) Validate

func (s AccountStatus) Validate() error

type AccountTokenAuth

type AccountTokenAuth struct {
	APIKey string
	Roles  []string
}

func (*AccountTokenAuth) GetAPIKey

func (s *AccountTokenAuth) GetAPIKey() string

GetAPIKey returns the value of APIKey.

func (*AccountTokenAuth) GetRoles

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

GetRoles returns the value of Roles.

func (*AccountTokenAuth) SetAPIKey

func (s *AccountTokenAuth) SetAPIKey(val string)

SetAPIKey sets the value of APIKey.

func (*AccountTokenAuth) SetRoles

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

SetRoles sets the value of Roles.

type AccountTokenResponse

type AccountTokenResponse struct {
	AccountToken string `json:"accountToken"`
}

Ref: #/accountTokenResponse

func (*AccountTokenResponse) Decode

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

Decode decodes AccountTokenResponse from json.

func (*AccountTokenResponse) Encode

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

Encode implements json.Marshaler.

func (*AccountTokenResponse) GetAccountToken

func (s *AccountTokenResponse) GetAccountToken() string

GetAccountToken returns the value of AccountToken.

func (*AccountTokenResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AccountTokenResponse) SetAccountToken

func (s *AccountTokenResponse) SetAccountToken(val string)

SetAccountToken sets the value of AccountToken.

func (*AccountTokenResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AcknowledgeWorkgroupInvitationResponse

type AcknowledgeWorkgroupInvitationResponse struct {
	Invitation WorkgroupInvitation `json:"invitation"`
	Workgroup  Workgroup           `json:"workgroup"`
}

Ref: #/acknowledgeWorkgroupInvitationResponse

func (*AcknowledgeWorkgroupInvitationResponse) Decode

Decode decodes AcknowledgeWorkgroupInvitationResponse from json.

func (*AcknowledgeWorkgroupInvitationResponse) Encode

Encode implements json.Marshaler.

func (*AcknowledgeWorkgroupInvitationResponse) GetInvitation

GetInvitation returns the value of Invitation.

func (*AcknowledgeWorkgroupInvitationResponse) GetWorkgroup

GetWorkgroup returns the value of Workgroup.

func (*AcknowledgeWorkgroupInvitationResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AcknowledgeWorkgroupInvitationResponse) SetInvitation

SetInvitation sets the value of Invitation.

func (*AcknowledgeWorkgroupInvitationResponse) SetWorkgroup

SetWorkgroup sets the value of Workgroup.

func (*AcknowledgeWorkgroupInvitationResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AcknowledgeWorkgroupInvitationResponse) Validate

type AddTunnelGrantConflict

type AddTunnelGrantConflict Error

func (*AddTunnelGrantConflict) Decode

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

Decode decodes AddTunnelGrantConflict from json.

func (*AddTunnelGrantConflict) Encode

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

Encode encodes AddTunnelGrantConflict as json.

func (*AddTunnelGrantConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddTunnelGrantConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddTunnelGrantInternalServerError

type AddTunnelGrantInternalServerError Error

func (*AddTunnelGrantInternalServerError) Decode

Decode decodes AddTunnelGrantInternalServerError from json.

func (*AddTunnelGrantInternalServerError) Encode

Encode encodes AddTunnelGrantInternalServerError as json.

func (*AddTunnelGrantInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddTunnelGrantInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddTunnelGrantNotFound

type AddTunnelGrantNotFound Error

func (*AddTunnelGrantNotFound) Decode

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

Decode decodes AddTunnelGrantNotFound from json.

func (*AddTunnelGrantNotFound) Encode

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

Encode encodes AddTunnelGrantNotFound as json.

func (*AddTunnelGrantNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddTunnelGrantNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddTunnelGrantParams

type AddTunnelGrantParams struct {
	TunnelId string
}

AddTunnelGrantParams is parameters of addTunnelGrant operation.

type AddTunnelGrantRequest

type AddTunnelGrantRequest struct {
	Email string `json:"email"`
}

Ref: #/addTunnelGrantRequest

func (*AddTunnelGrantRequest) Decode

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

Decode decodes AddTunnelGrantRequest from json.

func (*AddTunnelGrantRequest) Encode

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

Encode implements json.Marshaler.

func (*AddTunnelGrantRequest) GetEmail

func (s *AddTunnelGrantRequest) GetEmail() string

GetEmail returns the value of Email.

func (*AddTunnelGrantRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddTunnelGrantRequest) SetEmail

func (s *AddTunnelGrantRequest) SetEmail(val string)

SetEmail sets the value of Email.

func (*AddTunnelGrantRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AddTunnelGrantRequest) Validate

func (s *AddTunnelGrantRequest) Validate() error

type AddTunnelGrantRes

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

type AddTunnelGrantUnauthorized

type AddTunnelGrantUnauthorized Error

func (*AddTunnelGrantUnauthorized) Decode

Decode decodes AddTunnelGrantUnauthorized from json.

func (*AddTunnelGrantUnauthorized) Encode

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

Encode encodes AddTunnelGrantUnauthorized as json.

func (*AddTunnelGrantUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddTunnelGrantUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddWorkgroupMemberBadRequest

type AddWorkgroupMemberBadRequest Error

func (*AddWorkgroupMemberBadRequest) Decode

Decode decodes AddWorkgroupMemberBadRequest from json.

func (*AddWorkgroupMemberBadRequest) Encode

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

Encode encodes AddWorkgroupMemberBadRequest as json.

func (*AddWorkgroupMemberBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkgroupMemberBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddWorkgroupMemberConflict

type AddWorkgroupMemberConflict Error

func (*AddWorkgroupMemberConflict) Decode

Decode decodes AddWorkgroupMemberConflict from json.

func (*AddWorkgroupMemberConflict) Encode

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

Encode encodes AddWorkgroupMemberConflict as json.

func (*AddWorkgroupMemberConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkgroupMemberConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddWorkgroupMemberForbidden

type AddWorkgroupMemberForbidden Error

func (*AddWorkgroupMemberForbidden) Decode

Decode decodes AddWorkgroupMemberForbidden from json.

func (*AddWorkgroupMemberForbidden) Encode

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

Encode encodes AddWorkgroupMemberForbidden as json.

func (*AddWorkgroupMemberForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkgroupMemberForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddWorkgroupMemberInternalServerError

type AddWorkgroupMemberInternalServerError Error

func (*AddWorkgroupMemberInternalServerError) Decode

Decode decodes AddWorkgroupMemberInternalServerError from json.

func (*AddWorkgroupMemberInternalServerError) Encode

Encode encodes AddWorkgroupMemberInternalServerError as json.

func (*AddWorkgroupMemberInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkgroupMemberInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddWorkgroupMemberNotFound

type AddWorkgroupMemberNotFound Error

func (*AddWorkgroupMemberNotFound) Decode

Decode decodes AddWorkgroupMemberNotFound from json.

func (*AddWorkgroupMemberNotFound) Encode

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

Encode encodes AddWorkgroupMemberNotFound as json.

func (*AddWorkgroupMemberNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkgroupMemberNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddWorkgroupMemberParams

type AddWorkgroupMemberParams struct {
	WorkgroupId string
}

AddWorkgroupMemberParams is parameters of addWorkgroupMember operation.

type AddWorkgroupMemberRequest

type AddWorkgroupMemberRequest struct {
	AccountEmail string                     `json:"accountEmail"`
	Role         OptWorkgroupMembershipRole `json:"role"`
}

Ref: #/addWorkgroupMemberRequest

func (*AddWorkgroupMemberRequest) Decode

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

Decode decodes AddWorkgroupMemberRequest from json.

func (*AddWorkgroupMemberRequest) Encode

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

Encode implements json.Marshaler.

func (*AddWorkgroupMemberRequest) GetAccountEmail

func (s *AddWorkgroupMemberRequest) GetAccountEmail() string

GetAccountEmail returns the value of AccountEmail.

func (*AddWorkgroupMemberRequest) GetRole

GetRole returns the value of Role.

func (*AddWorkgroupMemberRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkgroupMemberRequest) SetAccountEmail

func (s *AddWorkgroupMemberRequest) SetAccountEmail(val string)

SetAccountEmail sets the value of AccountEmail.

func (*AddWorkgroupMemberRequest) SetRole

SetRole sets the value of Role.

func (*AddWorkgroupMemberRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AddWorkgroupMemberRequest) Validate

func (s *AddWorkgroupMemberRequest) Validate() error

type AddWorkgroupMemberRes

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

type AddWorkgroupMemberUnauthorized

type AddWorkgroupMemberUnauthorized Error

func (*AddWorkgroupMemberUnauthorized) Decode

Decode decodes AddWorkgroupMemberUnauthorized from json.

func (*AddWorkgroupMemberUnauthorized) Encode

Encode encodes AddWorkgroupMemberUnauthorized as json.

func (*AddWorkgroupMemberUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkgroupMemberUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AdminCloseSessionInternalServerError

type AdminCloseSessionInternalServerError Error

func (*AdminCloseSessionInternalServerError) Decode

Decode decodes AdminCloseSessionInternalServerError from json.

func (*AdminCloseSessionInternalServerError) Encode

Encode encodes AdminCloseSessionInternalServerError as json.

func (*AdminCloseSessionInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdminCloseSessionInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AdminCloseSessionNoContent

type AdminCloseSessionNoContent struct{}

AdminCloseSessionNoContent is response for AdminCloseSession operation.

type AdminCloseSessionNotFound

type AdminCloseSessionNotFound Error

func (*AdminCloseSessionNotFound) Decode

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

Decode decodes AdminCloseSessionNotFound from json.

func (*AdminCloseSessionNotFound) Encode

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

Encode encodes AdminCloseSessionNotFound as json.

func (*AdminCloseSessionNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdminCloseSessionNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AdminCloseSessionParams

type AdminCloseSessionParams struct {
	SessionId string
}

AdminCloseSessionParams is parameters of adminCloseSession operation.

type AdminCloseSessionRes

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

type AdminCloseSessionUnauthorized

type AdminCloseSessionUnauthorized Error

func (*AdminCloseSessionUnauthorized) Decode

Decode decodes AdminCloseSessionUnauthorized from json.

func (*AdminCloseSessionUnauthorized) Encode

Encode encodes AdminCloseSessionUnauthorized as json.

func (*AdminCloseSessionUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdminCloseSessionUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AdminTokenAuth

type AdminTokenAuth struct {
	APIKey string
	Roles  []string
}

func (*AdminTokenAuth) GetAPIKey

func (s *AdminTokenAuth) GetAPIKey() string

GetAPIKey returns the value of APIKey.

func (*AdminTokenAuth) GetRoles

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

GetRoles returns the value of Roles.

func (*AdminTokenAuth) SetAPIKey

func (s *AdminTokenAuth) SetAPIKey(val string)

SetAPIKey sets the value of APIKey.

func (*AdminTokenAuth) SetRoles

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

SetRoles sets the value of Roles.

type AdminWorkgroupEntry

type AdminWorkgroupEntry struct {
	Workgroup   Workgroup             `json:"workgroup"`
	Invitations []WorkgroupInvitation `json:"invitations"`
}

Ref: #/adminWorkgroupEntry

func (*AdminWorkgroupEntry) Decode

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

Decode decodes AdminWorkgroupEntry from json.

func (*AdminWorkgroupEntry) Encode

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

Encode implements json.Marshaler.

func (*AdminWorkgroupEntry) GetInvitations

func (s *AdminWorkgroupEntry) GetInvitations() []WorkgroupInvitation

GetInvitations returns the value of Invitations.

func (*AdminWorkgroupEntry) GetWorkgroup

func (s *AdminWorkgroupEntry) GetWorkgroup() Workgroup

GetWorkgroup returns the value of Workgroup.

func (*AdminWorkgroupEntry) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdminWorkgroupEntry) SetInvitations

func (s *AdminWorkgroupEntry) SetInvitations(val []WorkgroupInvitation)

SetInvitations sets the value of Invitations.

func (*AdminWorkgroupEntry) SetWorkgroup

func (s *AdminWorkgroupEntry) SetWorkgroup(val Workgroup)

SetWorkgroup sets the value of Workgroup.

func (*AdminWorkgroupEntry) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AdminWorkgroupEntry) Validate

func (s *AdminWorkgroupEntry) Validate() error
type Advertisement struct {
	ID                  string                            `json:"id"`
	OrganizationId      string                            `json:"organizationId"`
	OrganizationName    string                            `json:"organizationName"`
	AccountId           string                            `json:"accountId"`
	Name                string                            `json:"name"`
	Description         OptString                         `json:"description"`
	Capabilities        []AdvertisementCapability         `json:"capabilities"`
	InteractionPatterns []AdvertisementInteractionPattern `json:"interactionPatterns"`
	WorkgroupScopes     []string                          `json:"workgroupScopes"`
	TunnelMode          OptAdvertisementTunnelMode        `json:"tunnelMode"`
	ContractId          OptString                         `json:"contractId"`
	SchemaVersion       int                               `json:"schemaVersion"`
	Status              AdvertisementStatus               `json:"status"`
	RetractedAt         OptDateTime                       `json:"retractedAt"`
	CreatedAt           time.Time                         `json:"createdAt"`
	UpdatedAt           time.Time                         `json:"updatedAt"`
}

Ref: #/advertisement

func (*Advertisement) Decode

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

Decode decodes Advertisement from json.

func (*Advertisement) Encode

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

Encode implements json.Marshaler.

func (*Advertisement) GetAccountId

func (s *Advertisement) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*Advertisement) GetCapabilities

func (s *Advertisement) GetCapabilities() []AdvertisementCapability

GetCapabilities returns the value of Capabilities.

func (*Advertisement) GetContractId

func (s *Advertisement) GetContractId() OptString

GetContractId returns the value of ContractId.

func (*Advertisement) GetCreatedAt

func (s *Advertisement) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Advertisement) GetDescription

func (s *Advertisement) GetDescription() OptString

GetDescription returns the value of Description.

func (*Advertisement) GetID

func (s *Advertisement) GetID() string

GetID returns the value of ID.

func (*Advertisement) GetInteractionPatterns

func (s *Advertisement) GetInteractionPatterns() []AdvertisementInteractionPattern

GetInteractionPatterns returns the value of InteractionPatterns.

func (*Advertisement) GetName

func (s *Advertisement) GetName() string

GetName returns the value of Name.

func (*Advertisement) GetOrganizationId

func (s *Advertisement) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*Advertisement) GetOrganizationName

func (s *Advertisement) GetOrganizationName() string

GetOrganizationName returns the value of OrganizationName.

func (*Advertisement) GetRetractedAt

func (s *Advertisement) GetRetractedAt() OptDateTime

GetRetractedAt returns the value of RetractedAt.

func (*Advertisement) GetSchemaVersion

func (s *Advertisement) GetSchemaVersion() int

GetSchemaVersion returns the value of SchemaVersion.

func (*Advertisement) GetStatus

func (s *Advertisement) GetStatus() AdvertisementStatus

GetStatus returns the value of Status.

func (*Advertisement) GetTunnelMode

func (s *Advertisement) GetTunnelMode() OptAdvertisementTunnelMode

GetTunnelMode returns the value of TunnelMode.

func (*Advertisement) GetUpdatedAt

func (s *Advertisement) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Advertisement) GetWorkgroupScopes

func (s *Advertisement) GetWorkgroupScopes() []string

GetWorkgroupScopes returns the value of WorkgroupScopes.

func (*Advertisement) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Advertisement) SetAccountId

func (s *Advertisement) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*Advertisement) SetCapabilities

func (s *Advertisement) SetCapabilities(val []AdvertisementCapability)

SetCapabilities sets the value of Capabilities.

func (*Advertisement) SetContractId

func (s *Advertisement) SetContractId(val OptString)

SetContractId sets the value of ContractId.

func (*Advertisement) SetCreatedAt

func (s *Advertisement) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Advertisement) SetDescription

func (s *Advertisement) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Advertisement) SetID

func (s *Advertisement) SetID(val string)

SetID sets the value of ID.

func (*Advertisement) SetInteractionPatterns

func (s *Advertisement) SetInteractionPatterns(val []AdvertisementInteractionPattern)

SetInteractionPatterns sets the value of InteractionPatterns.

func (*Advertisement) SetName

func (s *Advertisement) SetName(val string)

SetName sets the value of Name.

func (*Advertisement) SetOrganizationId

func (s *Advertisement) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*Advertisement) SetOrganizationName

func (s *Advertisement) SetOrganizationName(val string)

SetOrganizationName sets the value of OrganizationName.

func (*Advertisement) SetRetractedAt

func (s *Advertisement) SetRetractedAt(val OptDateTime)

SetRetractedAt sets the value of RetractedAt.

func (*Advertisement) SetSchemaVersion

func (s *Advertisement) SetSchemaVersion(val int)

SetSchemaVersion sets the value of SchemaVersion.

func (*Advertisement) SetStatus

func (s *Advertisement) SetStatus(val AdvertisementStatus)

SetStatus sets the value of Status.

func (*Advertisement) SetTunnelMode

func (s *Advertisement) SetTunnelMode(val OptAdvertisementTunnelMode)

SetTunnelMode sets the value of TunnelMode.

func (*Advertisement) SetUpdatedAt

func (s *Advertisement) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Advertisement) SetWorkgroupScopes

func (s *Advertisement) SetWorkgroupScopes(val []string)

SetWorkgroupScopes sets the value of WorkgroupScopes.

func (*Advertisement) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Advertisement) Validate

func (s *Advertisement) Validate() error

type AdvertisementCapability

type AdvertisementCapability struct {
	Name        string                             `json:"name"`
	Description OptString                          `json:"description"`
	Metadata    OptAdvertisementCapabilityMetadata `json:"metadata"`
}

Ref: #/advertisementCapability

func (*AdvertisementCapability) Decode

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

Decode decodes AdvertisementCapability from json.

func (*AdvertisementCapability) Encode

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

Encode implements json.Marshaler.

func (*AdvertisementCapability) GetDescription

func (s *AdvertisementCapability) GetDescription() OptString

GetDescription returns the value of Description.

func (*AdvertisementCapability) GetMetadata

GetMetadata returns the value of Metadata.

func (*AdvertisementCapability) GetName

func (s *AdvertisementCapability) GetName() string

GetName returns the value of Name.

func (*AdvertisementCapability) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdvertisementCapability) SetDescription

func (s *AdvertisementCapability) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AdvertisementCapability) SetMetadata

SetMetadata sets the value of Metadata.

func (*AdvertisementCapability) SetName

func (s *AdvertisementCapability) SetName(val string)

SetName sets the value of Name.

func (*AdvertisementCapability) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AdvertisementCapability) Validate

func (s *AdvertisementCapability) Validate() error

type AdvertisementCapabilityMetadata

type AdvertisementCapabilityMetadata map[string]string

func (*AdvertisementCapabilityMetadata) Decode

Decode decodes AdvertisementCapabilityMetadata from json.

func (AdvertisementCapabilityMetadata) Encode

Encode implements json.Marshaler.

func (AdvertisementCapabilityMetadata) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdvertisementCapabilityMetadata) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AdvertisementInteractionPattern

type AdvertisementInteractionPattern struct {
	Kind          AdvertisementInteractionPatternKind `json:"kind"`
	CustomPattern OptString                           `json:"customPattern"`
}

Ref: #/advertisementInteractionPattern

func (*AdvertisementInteractionPattern) Decode

Decode decodes AdvertisementInteractionPattern from json.

func (*AdvertisementInteractionPattern) Encode

Encode implements json.Marshaler.

func (*AdvertisementInteractionPattern) GetCustomPattern

func (s *AdvertisementInteractionPattern) GetCustomPattern() OptString

GetCustomPattern returns the value of CustomPattern.

func (*AdvertisementInteractionPattern) GetKind

GetKind returns the value of Kind.

func (*AdvertisementInteractionPattern) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdvertisementInteractionPattern) SetCustomPattern

func (s *AdvertisementInteractionPattern) SetCustomPattern(val OptString)

SetCustomPattern sets the value of CustomPattern.

func (*AdvertisementInteractionPattern) SetKind

SetKind sets the value of Kind.

func (*AdvertisementInteractionPattern) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AdvertisementInteractionPattern) Validate

func (s *AdvertisementInteractionPattern) Validate() error

type AdvertisementInteractionPatternKind

type AdvertisementInteractionPatternKind string

Ref: #/advertisementInteractionPatternKind

const (
	AdvertisementInteractionPatternKindRequestResponse AdvertisementInteractionPatternKind = "request-response"
	AdvertisementInteractionPatternKindStream          AdvertisementInteractionPatternKind = "stream"
	AdvertisementInteractionPatternKindBroadcast       AdvertisementInteractionPatternKind = "broadcast"
	AdvertisementInteractionPatternKindCustom          AdvertisementInteractionPatternKind = "custom"
)

func (AdvertisementInteractionPatternKind) AllValues

AllValues returns all AdvertisementInteractionPatternKind values.

func (*AdvertisementInteractionPatternKind) Decode

Decode decodes AdvertisementInteractionPatternKind from json.

func (AdvertisementInteractionPatternKind) Encode

Encode encodes AdvertisementInteractionPatternKind as json.

func (AdvertisementInteractionPatternKind) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AdvertisementInteractionPatternKind) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AdvertisementInteractionPatternKind) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AdvertisementInteractionPatternKind) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AdvertisementInteractionPatternKind) Validate

type AdvertisementStatus

type AdvertisementStatus string

Ref: #/advertisementStatus

const (
	AdvertisementStatusActive    AdvertisementStatus = "active"
	AdvertisementStatusRetracted AdvertisementStatus = "retracted"
)

func (AdvertisementStatus) AllValues

AllValues returns all AdvertisementStatus values.

func (*AdvertisementStatus) Decode

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

Decode decodes AdvertisementStatus from json.

func (AdvertisementStatus) Encode

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

Encode encodes AdvertisementStatus as json.

func (AdvertisementStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AdvertisementStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AdvertisementStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AdvertisementStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AdvertisementStatus) Validate

func (s AdvertisementStatus) Validate() error

type AdvertisementTunnelMode

type AdvertisementTunnelMode string

Ref: #/advertisementTunnelMode

const (
	AdvertisementTunnelModeHTTP AdvertisementTunnelMode = "http"
	AdvertisementTunnelModeTCP  AdvertisementTunnelMode = "tcp"
	AdvertisementTunnelModeUDP  AdvertisementTunnelMode = "udp"
)

func (AdvertisementTunnelMode) AllValues

AllValues returns all AdvertisementTunnelMode values.

func (*AdvertisementTunnelMode) Decode

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

Decode decodes AdvertisementTunnelMode from json.

func (AdvertisementTunnelMode) Encode

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

Encode encodes AdvertisementTunnelMode as json.

func (AdvertisementTunnelMode) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AdvertisementTunnelMode) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AdvertisementTunnelMode) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AdvertisementTunnelMode) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AdvertisementTunnelMode) Validate

func (s AdvertisementTunnelMode) Validate() error

type AuditEvent

type AuditEvent struct {
	ID              int64          `json:"id"`
	OccurredAt      time.Time      `json:"occurredAt"`
	EventType       AuditEventType `json:"eventType"`
	OrganizationId  string         `json:"organizationId"`
	AccountId       OptString      `json:"accountId"`
	WorkgroupId     OptString      `json:"workgroupId"`
	SessionId       OptString      `json:"sessionId"`
	AdvertisementId OptString      `json:"advertisementId"`
	ContractId      OptString      `json:"contractId"`
	EnvelopeId      OptString      `json:"envelopeId"`
	Data            AuditEventData `json:"data"`
}

Ref: #/auditEvent

func (*AuditEvent) Decode

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

Decode decodes AuditEvent from json.

func (*AuditEvent) Encode

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

Encode implements json.Marshaler.

func (*AuditEvent) GetAccountId

func (s *AuditEvent) GetAccountId() OptString

GetAccountId returns the value of AccountId.

func (*AuditEvent) GetAdvertisementId

func (s *AuditEvent) GetAdvertisementId() OptString

GetAdvertisementId returns the value of AdvertisementId.

func (*AuditEvent) GetContractId

func (s *AuditEvent) GetContractId() OptString

GetContractId returns the value of ContractId.

func (*AuditEvent) GetData

func (s *AuditEvent) GetData() AuditEventData

GetData returns the value of Data.

func (*AuditEvent) GetEnvelopeId

func (s *AuditEvent) GetEnvelopeId() OptString

GetEnvelopeId returns the value of EnvelopeId.

func (*AuditEvent) GetEventType

func (s *AuditEvent) GetEventType() AuditEventType

GetEventType returns the value of EventType.

func (*AuditEvent) GetID

func (s *AuditEvent) GetID() int64

GetID returns the value of ID.

func (*AuditEvent) GetOccurredAt

func (s *AuditEvent) GetOccurredAt() time.Time

GetOccurredAt returns the value of OccurredAt.

func (*AuditEvent) GetOrganizationId

func (s *AuditEvent) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*AuditEvent) GetSessionId

func (s *AuditEvent) GetSessionId() OptString

GetSessionId returns the value of SessionId.

func (*AuditEvent) GetWorkgroupId

func (s *AuditEvent) GetWorkgroupId() OptString

GetWorkgroupId returns the value of WorkgroupId.

func (*AuditEvent) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AuditEvent) SetAccountId

func (s *AuditEvent) SetAccountId(val OptString)

SetAccountId sets the value of AccountId.

func (*AuditEvent) SetAdvertisementId

func (s *AuditEvent) SetAdvertisementId(val OptString)

SetAdvertisementId sets the value of AdvertisementId.

func (*AuditEvent) SetContractId

func (s *AuditEvent) SetContractId(val OptString)

SetContractId sets the value of ContractId.

func (*AuditEvent) SetData

func (s *AuditEvent) SetData(val AuditEventData)

SetData sets the value of Data.

func (*AuditEvent) SetEnvelopeId

func (s *AuditEvent) SetEnvelopeId(val OptString)

SetEnvelopeId sets the value of EnvelopeId.

func (*AuditEvent) SetEventType

func (s *AuditEvent) SetEventType(val AuditEventType)

SetEventType sets the value of EventType.

func (*AuditEvent) SetID

func (s *AuditEvent) SetID(val int64)

SetID sets the value of ID.

func (*AuditEvent) SetOccurredAt

func (s *AuditEvent) SetOccurredAt(val time.Time)

SetOccurredAt sets the value of OccurredAt.

func (*AuditEvent) SetOrganizationId

func (s *AuditEvent) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*AuditEvent) SetSessionId

func (s *AuditEvent) SetSessionId(val OptString)

SetSessionId sets the value of SessionId.

func (*AuditEvent) SetWorkgroupId

func (s *AuditEvent) SetWorkgroupId(val OptString)

SetWorkgroupId sets the value of WorkgroupId.

func (*AuditEvent) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AuditEvent) Validate

func (s *AuditEvent) Validate() error

type AuditEventData

type AuditEventData map[string]jx.Raw

Ref: #/auditEventData

func (*AuditEventData) Decode

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

Decode decodes AuditEventData from json.

func (AuditEventData) Encode

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

Encode implements json.Marshaler.

func (AuditEventData) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AuditEventData) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AuditEventType

type AuditEventType string

Ref: #/auditEventType

const (
	AuditEventTypeSessionProposed        AuditEventType = "session.proposed"
	AuditEventTypeSessionAccepted        AuditEventType = "session.accepted"
	AuditEventTypeSessionRejected        AuditEventType = "session.rejected"
	AuditEventTypeSessionClosed          AuditEventType = "session.closed"
	AuditEventTypeEnvelopeFlowed         AuditEventType = "envelope.flowed"
	AuditEventTypeTunnelAttached         AuditEventType = "tunnel.attached"
	AuditEventTypeTunnelDetached         AuditEventType = "tunnel.detached"
	AuditEventTypeAdvertisementPublished AuditEventType = "advertisement.published"
	AuditEventTypeAdvertisementRetracted AuditEventType = "advertisement.retracted"
	AuditEventTypeEnvironmentHeartbeat   AuditEventType = "environment.heartbeat"
	AuditEventTypeAccountLogin           AuditEventType = "account.login"
	AuditEventTypeAccountLoginFailed     AuditEventType = "account.login_failed"
	AuditEventTypeAccountLogout          AuditEventType = "account.logout"
)

func (AuditEventType) AllValues

func (AuditEventType) AllValues() []AuditEventType

AllValues returns all AuditEventType values.

func (*AuditEventType) Decode

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

Decode decodes AuditEventType from json.

func (AuditEventType) Encode

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

Encode encodes AuditEventType as json.

func (AuditEventType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AuditEventType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AuditEventType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AuditEventType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AuditEventType) Validate

func (s AuditEventType) Validate() error

type CatalogSearchResponse

type CatalogSearchResponse struct {
	Items      []Advertisement `json:"items"`
	NextCursor OptString       `json:"nextCursor"`
}

Ref: #/catalogSearchResponse

func (*CatalogSearchResponse) Decode

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

Decode decodes CatalogSearchResponse from json.

func (*CatalogSearchResponse) Encode

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

Encode implements json.Marshaler.

func (*CatalogSearchResponse) GetItems

func (s *CatalogSearchResponse) GetItems() []Advertisement

GetItems returns the value of Items.

func (*CatalogSearchResponse) GetNextCursor

func (s *CatalogSearchResponse) GetNextCursor() OptString

GetNextCursor returns the value of NextCursor.

func (*CatalogSearchResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CatalogSearchResponse) SetItems

func (s *CatalogSearchResponse) SetItems(val []Advertisement)

SetItems sets the value of Items.

func (*CatalogSearchResponse) SetNextCursor

func (s *CatalogSearchResponse) SetNextCursor(val OptString)

SetNextCursor sets the value of NextCursor.

func (*CatalogSearchResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CatalogSearchResponse) Validate

func (s *CatalogSearchResponse) Validate() error

type ChangePasswordInternalServerError

type ChangePasswordInternalServerError Error

func (*ChangePasswordInternalServerError) Decode

Decode decodes ChangePasswordInternalServerError from json.

func (*ChangePasswordInternalServerError) Encode

Encode encodes ChangePasswordInternalServerError as json.

func (*ChangePasswordInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangePasswordInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangePasswordNotFound

type ChangePasswordNotFound Error

func (*ChangePasswordNotFound) Decode

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

Decode decodes ChangePasswordNotFound from json.

func (*ChangePasswordNotFound) Encode

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

Encode encodes ChangePasswordNotFound as json.

func (*ChangePasswordNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangePasswordNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangePasswordOK

type ChangePasswordOK struct{}

ChangePasswordOK is response for ChangePassword operation.

type ChangePasswordRequest

type ChangePasswordRequest struct {
	Email       string `json:"email"`
	OldPassword string `json:"oldPassword"`
	NewPassword string `json:"newPassword"`
}

Ref: #/changePasswordRequest

func (*ChangePasswordRequest) Decode

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

Decode decodes ChangePasswordRequest from json.

func (*ChangePasswordRequest) Encode

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

Encode implements json.Marshaler.

func (*ChangePasswordRequest) GetEmail

func (s *ChangePasswordRequest) GetEmail() string

GetEmail returns the value of Email.

func (*ChangePasswordRequest) GetNewPassword

func (s *ChangePasswordRequest) GetNewPassword() string

GetNewPassword returns the value of NewPassword.

func (*ChangePasswordRequest) GetOldPassword

func (s *ChangePasswordRequest) GetOldPassword() string

GetOldPassword returns the value of OldPassword.

func (*ChangePasswordRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangePasswordRequest) SetEmail

func (s *ChangePasswordRequest) SetEmail(val string)

SetEmail sets the value of Email.

func (*ChangePasswordRequest) SetNewPassword

func (s *ChangePasswordRequest) SetNewPassword(val string)

SetNewPassword sets the value of NewPassword.

func (*ChangePasswordRequest) SetOldPassword

func (s *ChangePasswordRequest) SetOldPassword(val string)

SetOldPassword sets the value of OldPassword.

func (*ChangePasswordRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ChangePasswordRequest) Validate

func (s *ChangePasswordRequest) Validate() error

type ChangePasswordRes

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

type ChangePasswordUnauthorized

type ChangePasswordUnauthorized Error

func (*ChangePasswordUnauthorized) Decode

Decode decodes ChangePasswordUnauthorized from json.

func (*ChangePasswordUnauthorized) Encode

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

Encode encodes ChangePasswordUnauthorized as json.

func (*ChangePasswordUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangePasswordUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangePasswordUnprocessableEntity

type ChangePasswordUnprocessableEntity Error

func (*ChangePasswordUnprocessableEntity) Decode

Decode decodes ChangePasswordUnprocessableEntity from json.

func (*ChangePasswordUnprocessableEntity) Encode

Encode encodes ChangePasswordUnprocessableEntity as json.

func (*ChangePasswordUnprocessableEntity) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangePasswordUnprocessableEntity) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangeWorkgroupMembershipRoleBadRequest

type ChangeWorkgroupMembershipRoleBadRequest Error

func (*ChangeWorkgroupMembershipRoleBadRequest) Decode

Decode decodes ChangeWorkgroupMembershipRoleBadRequest from json.

func (*ChangeWorkgroupMembershipRoleBadRequest) Encode

Encode encodes ChangeWorkgroupMembershipRoleBadRequest as json.

func (*ChangeWorkgroupMembershipRoleBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangeWorkgroupMembershipRoleBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangeWorkgroupMembershipRoleConflict

type ChangeWorkgroupMembershipRoleConflict Error

func (*ChangeWorkgroupMembershipRoleConflict) Decode

Decode decodes ChangeWorkgroupMembershipRoleConflict from json.

func (*ChangeWorkgroupMembershipRoleConflict) Encode

Encode encodes ChangeWorkgroupMembershipRoleConflict as json.

func (*ChangeWorkgroupMembershipRoleConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangeWorkgroupMembershipRoleConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangeWorkgroupMembershipRoleForbidden

type ChangeWorkgroupMembershipRoleForbidden Error

func (*ChangeWorkgroupMembershipRoleForbidden) Decode

Decode decodes ChangeWorkgroupMembershipRoleForbidden from json.

func (*ChangeWorkgroupMembershipRoleForbidden) Encode

Encode encodes ChangeWorkgroupMembershipRoleForbidden as json.

func (*ChangeWorkgroupMembershipRoleForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangeWorkgroupMembershipRoleForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangeWorkgroupMembershipRoleInternalServerError

type ChangeWorkgroupMembershipRoleInternalServerError Error

func (*ChangeWorkgroupMembershipRoleInternalServerError) Decode

Decode decodes ChangeWorkgroupMembershipRoleInternalServerError from json.

func (*ChangeWorkgroupMembershipRoleInternalServerError) Encode

Encode encodes ChangeWorkgroupMembershipRoleInternalServerError as json.

func (*ChangeWorkgroupMembershipRoleInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ChangeWorkgroupMembershipRoleInternalServerError) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangeWorkgroupMembershipRoleNotFound

type ChangeWorkgroupMembershipRoleNotFound Error

func (*ChangeWorkgroupMembershipRoleNotFound) Decode

Decode decodes ChangeWorkgroupMembershipRoleNotFound from json.

func (*ChangeWorkgroupMembershipRoleNotFound) Encode

Encode encodes ChangeWorkgroupMembershipRoleNotFound as json.

func (*ChangeWorkgroupMembershipRoleNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangeWorkgroupMembershipRoleNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChangeWorkgroupMembershipRoleParams

type ChangeWorkgroupMembershipRoleParams struct {
	WorkgroupId  string
	MembershipId string
}

ChangeWorkgroupMembershipRoleParams is parameters of changeWorkgroupMembershipRole operation.

type ChangeWorkgroupMembershipRoleRequest

type ChangeWorkgroupMembershipRoleRequest struct {
	Role WorkgroupMembershipRole `json:"role"`
}

Ref: #/changeWorkgroupMembershipRoleRequest

func (*ChangeWorkgroupMembershipRoleRequest) Decode

Decode decodes ChangeWorkgroupMembershipRoleRequest from json.

func (*ChangeWorkgroupMembershipRoleRequest) Encode

Encode implements json.Marshaler.

func (*ChangeWorkgroupMembershipRoleRequest) GetRole

GetRole returns the value of Role.

func (*ChangeWorkgroupMembershipRoleRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChangeWorkgroupMembershipRoleRequest) SetRole

SetRole sets the value of Role.

func (*ChangeWorkgroupMembershipRoleRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ChangeWorkgroupMembershipRoleRequest) Validate

type ChangeWorkgroupMembershipRoleRes

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

type ChangeWorkgroupMembershipRoleUnauthorized

type ChangeWorkgroupMembershipRoleUnauthorized Error

func (*ChangeWorkgroupMembershipRoleUnauthorized) Decode

Decode decodes ChangeWorkgroupMembershipRoleUnauthorized from json.

func (*ChangeWorkgroupMembershipRoleUnauthorized) Encode

Encode encodes ChangeWorkgroupMembershipRoleUnauthorized as json.

func (*ChangeWorkgroupMembershipRoleUnauthorized) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ChangeWorkgroupMembershipRoleUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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

func (c *Client) AcceptSession(ctx context.Context, request *AcceptSessionRequest, params AcceptSessionParams) (AcceptSessionRes, error)

AcceptSession invokes acceptSession operation.

POST /sessions/{sessionId}/accept

func (*Client) AcceptWorkgroupInvitation

AcceptWorkgroupInvitation invokes acceptWorkgroupInvitation operation.

POST /admin/workgroups/{workgroupId}/invitations/{organizationId}/accept

func (*Client) AddTunnelGrant

func (c *Client) AddTunnelGrant(ctx context.Context, request *AddTunnelGrantRequest, params AddTunnelGrantParams) (AddTunnelGrantRes, error)

AddTunnelGrant invokes addTunnelGrant operation.

POST /tunnels/{tunnelId}/grants

func (*Client) AddWorkgroupMember

AddWorkgroupMember invokes addWorkgroupMember operation.

POST /workgroups/{workgroupId}/members

func (*Client) AdminCloseSession

func (c *Client) AdminCloseSession(ctx context.Context, request OptCloseSessionRequest, params AdminCloseSessionParams) (AdminCloseSessionRes, error)

AdminCloseSession invokes adminCloseSession operation.

POST /admin/sessions/{sessionId}/close

func (*Client) ChangePassword

func (c *Client) ChangePassword(ctx context.Context, request *ChangePasswordRequest) (ChangePasswordRes, error)

ChangePassword invokes changePassword operation.

POST /account/change-password

func (*Client) ChangeWorkgroupMembershipRole

ChangeWorkgroupMembershipRole invokes changeWorkgroupMembershipRole operation.

PATCH /workgroups/{workgroupId}/members/{membershipId}

func (*Client) CloseSession

func (c *Client) CloseSession(ctx context.Context, request OptCloseSessionRequest, params CloseSessionParams) (CloseSessionRes, error)

CloseSession invokes closeSession operation.

POST /sessions/{sessionId}/close

func (*Client) ConnectTunnel

func (c *Client) ConnectTunnel(ctx context.Context, request *ConnectTunnelRequest) (ConnectTunnelRes, error)

ConnectTunnel invokes connectTunnel operation.

POST /tunnels/connect

func (*Client) CreateAccount

func (c *Client) CreateAccount(ctx context.Context, request *CreateAccountRequest, params CreateAccountParams) (CreateAccountRes, error)

CreateAccount invokes createAccount operation.

POST /organizations/{organizationId}/accounts

func (*Client) CreateContract

func (c *Client) CreateContract(ctx context.Context, request *CreateContractRequest) (CreateContractRes, error)

CreateContract invokes createContract operation.

POST /contracts

func (*Client) CreateOrganization

func (c *Client) CreateOrganization(ctx context.Context, request *CreateOrganizationRequest) (CreateOrganizationRes, error)

CreateOrganization invokes createOrganization operation.

POST /organizations

func (*Client) CreateTunnel

func (c *Client) CreateTunnel(ctx context.Context, request *CreateTunnelRequest) (CreateTunnelRes, error)

CreateTunnel invokes createTunnel operation.

POST /tunnels

func (*Client) CreateWorkgroup

func (c *Client) CreateWorkgroup(ctx context.Context, request *CreateWorkgroupRequest) (CreateWorkgroupRes, error)

CreateWorkgroup invokes createWorkgroup operation.

POST /admin/workgroups

func (*Client) DeclineWorkgroupInvitation

DeclineWorkgroupInvitation invokes declineWorkgroupInvitation operation.

POST /admin/workgroups/{workgroupId}/invitations/{organizationId}/decline

func (*Client) DeleteAccount

func (c *Client) DeleteAccount(ctx context.Context, params DeleteAccountParams) (DeleteAccountRes, error)

DeleteAccount invokes deleteAccount operation.

DELETE /organizations/{organizationId}/accounts/{accountId}

func (*Client) DeleteContract

func (c *Client) DeleteContract(ctx context.Context, params DeleteContractParams) (DeleteContractRes, error)

DeleteContract invokes deleteContract operation.

DELETE /contracts/{contractId}

func (*Client) DeleteOrganization

func (c *Client) DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (DeleteOrganizationRes, error)

DeleteOrganization invokes deleteOrganization operation.

DELETE /organizations/{organizationId}

func (*Client) DeleteTunnel

func (c *Client) DeleteTunnel(ctx context.Context, params DeleteTunnelParams) (DeleteTunnelRes, error)

DeleteTunnel invokes deleteTunnel operation.

DELETE /tunnels/{tunnelId}

func (*Client) DeleteTunnelAttachment

func (c *Client) DeleteTunnelAttachment(ctx context.Context, params DeleteTunnelAttachmentParams) (DeleteTunnelAttachmentRes, error)

DeleteTunnelAttachment invokes deleteTunnelAttachment operation.

DELETE /tunnel-attachments/{attachmentId}

func (*Client) DeleteTunnelServe

func (c *Client) DeleteTunnelServe(ctx context.Context, params DeleteTunnelServeParams) (DeleteTunnelServeRes, error)

DeleteTunnelServe invokes deleteTunnelServe operation.

DELETE /tunnel-serves/{serveId}

func (*Client) DeleteWorkgroup

func (c *Client) DeleteWorkgroup(ctx context.Context, params DeleteWorkgroupParams) (DeleteWorkgroupRes, error)

DeleteWorkgroup invokes deleteWorkgroup operation.

DELETE /workgroups/{workgroupId}

func (*Client) DisableEnvironment

func (c *Client) DisableEnvironment(ctx context.Context, params DisableEnvironmentParams) (DisableEnvironmentRes, error)

DisableEnvironment invokes disableEnvironment operation.

DELETE /environments/{environmentId}/heartbeat

func (*Client) EnableEnvironment

func (c *Client) EnableEnvironment(ctx context.Context, request *EnableEnvironmentRequest) (EnableEnvironmentRes, error)

EnableEnvironment invokes enableEnvironment operation.

POST /environments

func (*Client) GetAdvertisement

func (c *Client) GetAdvertisement(ctx context.Context, params GetAdvertisementParams) (GetAdvertisementRes, error)

GetAdvertisement invokes getAdvertisement operation.

GET /advertisements/{advertisementId}

func (*Client) GetContract

func (c *Client) GetContract(ctx context.Context, params GetContractParams) (GetContractRes, error)

GetContract invokes getContract operation.

GET /contracts/{contractId}

func (*Client) GetDashboardActivity

func (c *Client) GetDashboardActivity(ctx context.Context, params GetDashboardActivityParams) (GetDashboardActivityRes, error)

GetDashboardActivity invokes getDashboardActivity operation.

GET /dashboard/activity

func (*Client) GetDashboardEnvironments

func (c *Client) GetDashboardEnvironments(ctx context.Context) (GetDashboardEnvironmentsRes, error)

GetDashboardEnvironments invokes getDashboardEnvironments operation.

GET /dashboard/environments

func (*Client) GetDashboardSummary

func (c *Client) GetDashboardSummary(ctx context.Context) (GetDashboardSummaryRes, error)

GetDashboardSummary invokes getDashboardSummary operation.

GET /dashboard/summary

func (*Client) GetEnvironment

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

GetEnvironment invokes getEnvironment operation.

GET /environments/{environmentId}

func (*Client) GetSession

func (c *Client) GetSession(ctx context.Context, params GetSessionParams) (GetSessionRes, error)

GetSession invokes getSession operation.

GET /sessions/{sessionId}

func (*Client) GetTunnel

func (c *Client) GetTunnel(ctx context.Context, params GetTunnelParams) (GetTunnelRes, error)

GetTunnel invokes getTunnel operation.

GET /tunnels/{tunnelId}

func (*Client) GetTunnelServe

func (c *Client) GetTunnelServe(ctx context.Context, params GetTunnelServeParams) (GetTunnelServeRes, error)

GetTunnelServe invokes getTunnelServe operation.

GET /tunnels/{tunnelId}/serve

func (*Client) GetWorkgroup

func (c *Client) GetWorkgroup(ctx context.Context, params GetWorkgroupParams) (GetWorkgroupRes, error)

GetWorkgroup invokes getWorkgroup operation.

GET /workgroups/{workgroupId}

func (*Client) GetWorkgroupsActivity

func (c *Client) GetWorkgroupsActivity(ctx context.Context, params GetWorkgroupsActivityParams) (GetWorkgroupsActivityRes, error)

GetWorkgroupsActivity invokes getWorkgroupsActivity operation.

GET /dashboard/workgroups-activity

func (*Client) HeartbeatEnvironment

func (c *Client) HeartbeatEnvironment(ctx context.Context, params HeartbeatEnvironmentParams) (HeartbeatEnvironmentRes, error)

HeartbeatEnvironment invokes heartbeatEnvironment operation.

POST /environments/{environmentId}/heartbeat

func (*Client) HeartbeatTunnelAttachment

func (c *Client) HeartbeatTunnelAttachment(ctx context.Context, params HeartbeatTunnelAttachmentParams) (HeartbeatTunnelAttachmentRes, error)

HeartbeatTunnelAttachment invokes heartbeatTunnelAttachment operation.

POST /tunnel-attachments/{attachmentId}/heartbeat

func (*Client) HeartbeatTunnelServe

func (c *Client) HeartbeatTunnelServe(ctx context.Context, params HeartbeatTunnelServeParams) (HeartbeatTunnelServeRes, error)

HeartbeatTunnelServe invokes heartbeatTunnelServe operation.

POST /tunnel-serves/{serveId}/heartbeat

func (*Client) ListAccounts

func (c *Client) ListAccounts(ctx context.Context, params ListAccountsParams) (ListAccountsRes, error)

ListAccounts invokes listAccounts operation.

GET /organizations/{organizationId}/accounts

func (*Client) ListAdminWorkgroups

func (c *Client) ListAdminWorkgroups(ctx context.Context, params ListAdminWorkgroupsParams) (ListAdminWorkgroupsRes, error)

ListAdminWorkgroups invokes listAdminWorkgroups operation.

GET /admin/workgroups

func (*Client) ListAdvertisements

func (c *Client) ListAdvertisements(ctx context.Context, params ListAdvertisementsParams) (ListAdvertisementsRes, error)

ListAdvertisements invokes listAdvertisements operation.

GET /advertisements

func (*Client) ListAuditEvents

func (c *Client) ListAuditEvents(ctx context.Context, params ListAuditEventsParams) (ListAuditEventsRes, error)

ListAuditEvents invokes listAuditEvents operation.

GET /audit-events

func (*Client) ListContracts

func (c *Client) ListContracts(ctx context.Context) (ListContractsRes, error)

ListContracts invokes listContracts operation.

GET /contracts

func (*Client) ListEnvironments

func (c *Client) ListEnvironments(ctx context.Context) (ListEnvironmentsRes, error)

ListEnvironments invokes listEnvironments operation.

GET /environments

func (*Client) ListOrganizations

func (c *Client) ListOrganizations(ctx context.Context) (ListOrganizationsRes, error)

ListOrganizations invokes listOrganizations operation.

GET /organizations

func (*Client) ListSessions

func (c *Client) ListSessions(ctx context.Context, params ListSessionsParams) (ListSessionsRes, error)

ListSessions invokes listSessions operation.

GET /sessions

func (*Client) ListTunnelAttachments

func (c *Client) ListTunnelAttachments(ctx context.Context, params ListTunnelAttachmentsParams) (ListTunnelAttachmentsRes, error)

ListTunnelAttachments invokes listTunnelAttachments operation.

GET /tunnels/{tunnelId}/attachments

func (*Client) ListTunnelGrants

func (c *Client) ListTunnelGrants(ctx context.Context, params ListTunnelGrantsParams) (ListTunnelGrantsRes, error)

ListTunnelGrants invokes listTunnelGrants operation.

GET /tunnels/{tunnelId}/grants

func (*Client) ListTunnels

func (c *Client) ListTunnels(ctx context.Context, params ListTunnelsParams) (ListTunnelsRes, error)

ListTunnels invokes listTunnels operation.

GET /tunnels

func (*Client) ListUsers

func (c *Client) ListUsers(ctx context.Context, params ListUsersParams) (ListUsersRes, error)

ListUsers invokes listUsers operation.

GET /accounts

func (*Client) ListWorkgroupMembers

func (c *Client) ListWorkgroupMembers(ctx context.Context, params ListWorkgroupMembersParams) (ListWorkgroupMembersRes, error)

ListWorkgroupMembers invokes listWorkgroupMembers operation.

GET /workgroups/{workgroupId}/members

func (*Client) ListWorkgroups

func (c *Client) ListWorkgroups(ctx context.Context) (ListWorkgroupsRes, error)

ListWorkgroups invokes listWorkgroups operation.

GET /workgroups

func (*Client) Login

func (c *Client) Login(ctx context.Context, request *LoginRequest) (LoginRes, error)

Login invokes login operation.

POST /account/login

func (*Client) Logout

func (c *Client) Logout(ctx context.Context) error

Logout invokes logout operation.

POST /account/logout

func (*Client) ProposeSession

func (c *Client) ProposeSession(ctx context.Context, request *ProposeSessionRequest) (ProposeSessionRes, error)

ProposeSession invokes proposeSession operation.

POST /sessions

func (*Client) PublishAdvertisement

func (c *Client) PublishAdvertisement(ctx context.Context, request *PublishAdvertisementRequest) (PublishAdvertisementRes, error)

PublishAdvertisement invokes publishAdvertisement operation.

POST /advertisements

func (*Client) RegenerateAccountToken

func (c *Client) RegenerateAccountToken(ctx context.Context, request *RegenerateTokenRequest) (RegenerateAccountTokenRes, error)

RegenerateAccountToken invokes regenerateAccountToken operation.

POST /account/regenerate-token

func (*Client) RejectSession

func (c *Client) RejectSession(ctx context.Context, request OptCloseSessionRequest, params RejectSessionParams) (RejectSessionRes, error)

RejectSession invokes rejectSession operation.

POST /sessions/{sessionId}/reject

func (*Client) RemoveTunnelGrant

func (c *Client) RemoveTunnelGrant(ctx context.Context, params RemoveTunnelGrantParams) (RemoveTunnelGrantRes, error)

RemoveTunnelGrant invokes removeTunnelGrant operation.

DELETE /tunnels/{tunnelId}/grants/{accountId}

func (*Client) RemoveWorkgroupMember

func (c *Client) RemoveWorkgroupMember(ctx context.Context, params RemoveWorkgroupMemberParams) (RemoveWorkgroupMemberRes, error)

RemoveWorkgroupMember invokes removeWorkgroupMember operation.

DELETE /workgroups/{workgroupId}/members/{membershipId}

func (*Client) ReportSessionEnvelopeCount

ReportSessionEnvelopeCount invokes reportSessionEnvelopeCount operation.

POST /sessions/{sessionId}/envelope-count

func (*Client) RetractAdvertisement

func (c *Client) RetractAdvertisement(ctx context.Context, params RetractAdvertisementParams) (RetractAdvertisementRes, error)

RetractAdvertisement invokes retractAdvertisement operation.

DELETE /advertisements/{advertisementId}

func (*Client) SearchCatalog

func (c *Client) SearchCatalog(ctx context.Context, params SearchCatalogParams) (SearchCatalogRes, error)

SearchCatalog invokes searchCatalog operation.

GET /catalog/advertisements

func (*Client) StartTunnelServe

func (c *Client) StartTunnelServe(ctx context.Context, request *StartTunnelServeRequest, params StartTunnelServeParams) (StartTunnelServeRes, error)

StartTunnelServe invokes startTunnelServe operation.

POST /tunnels/{tunnelId}/serve

func (*Client) UpdateAdvertisement

UpdateAdvertisement invokes updateAdvertisement operation.

PATCH /advertisements/{advertisementId}

func (*Client) UpdateContract

func (c *Client) UpdateContract(ctx context.Context, request *UpdateContractRequest, params UpdateContractParams) (UpdateContractRes, error)

UpdateContract invokes updateContract operation.

PATCH /contracts/{contractId}

func (*Client) Whoami

func (c *Client) Whoami(ctx context.Context) (WhoamiRes, error)

Whoami invokes whoami operation.

GET /account/whoami

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 CloseSessionBadRequest

type CloseSessionBadRequest Error

func (*CloseSessionBadRequest) Decode

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

Decode decodes CloseSessionBadRequest from json.

func (*CloseSessionBadRequest) Encode

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

Encode encodes CloseSessionBadRequest as json.

func (*CloseSessionBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CloseSessionBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CloseSessionForbidden

type CloseSessionForbidden Error

func (*CloseSessionForbidden) Decode

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

Decode decodes CloseSessionForbidden from json.

func (*CloseSessionForbidden) Encode

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

Encode encodes CloseSessionForbidden as json.

func (*CloseSessionForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CloseSessionForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CloseSessionInternalServerError

type CloseSessionInternalServerError Error

func (*CloseSessionInternalServerError) Decode

Decode decodes CloseSessionInternalServerError from json.

func (*CloseSessionInternalServerError) Encode

Encode encodes CloseSessionInternalServerError as json.

func (*CloseSessionInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CloseSessionInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CloseSessionNoContent

type CloseSessionNoContent struct{}

CloseSessionNoContent is response for CloseSession operation.

type CloseSessionNotFound

type CloseSessionNotFound Error

func (*CloseSessionNotFound) Decode

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

Decode decodes CloseSessionNotFound from json.

func (*CloseSessionNotFound) Encode

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

Encode encodes CloseSessionNotFound as json.

func (*CloseSessionNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CloseSessionNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CloseSessionParams

type CloseSessionParams struct {
	SessionId string
}

CloseSessionParams is parameters of closeSession operation.

type CloseSessionRequest

type CloseSessionRequest struct {
	Detail OptString             `json:"detail"`
	Reason OptSessionCloseReason `json:"reason"`
}

Ref: #/closeSessionRequest

func (*CloseSessionRequest) Decode

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

Decode decodes CloseSessionRequest from json.

func (*CloseSessionRequest) Encode

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

Encode implements json.Marshaler.

func (*CloseSessionRequest) GetDetail

func (s *CloseSessionRequest) GetDetail() OptString

GetDetail returns the value of Detail.

func (*CloseSessionRequest) GetReason

GetReason returns the value of Reason.

func (*CloseSessionRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CloseSessionRequest) SetDetail

func (s *CloseSessionRequest) SetDetail(val OptString)

SetDetail sets the value of Detail.

func (*CloseSessionRequest) SetReason

func (s *CloseSessionRequest) SetReason(val OptSessionCloseReason)

SetReason sets the value of Reason.

func (*CloseSessionRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CloseSessionRequest) Validate

func (s *CloseSessionRequest) Validate() error

type CloseSessionRes

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

type CloseSessionUnauthorized

type CloseSessionUnauthorized Error

func (*CloseSessionUnauthorized) Decode

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

Decode decodes CloseSessionUnauthorized from json.

func (*CloseSessionUnauthorized) Encode

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

Encode encodes CloseSessionUnauthorized as json.

func (*CloseSessionUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CloseSessionUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConnectTunnelConflict

type ConnectTunnelConflict Error

func (*ConnectTunnelConflict) Decode

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

Decode decodes ConnectTunnelConflict from json.

func (*ConnectTunnelConflict) Encode

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

Encode encodes ConnectTunnelConflict as json.

func (*ConnectTunnelConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConnectTunnelConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConnectTunnelInternalServerError

type ConnectTunnelInternalServerError Error

func (*ConnectTunnelInternalServerError) Decode

Decode decodes ConnectTunnelInternalServerError from json.

func (*ConnectTunnelInternalServerError) Encode

Encode encodes ConnectTunnelInternalServerError as json.

func (*ConnectTunnelInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConnectTunnelInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConnectTunnelNotFound

type ConnectTunnelNotFound Error

func (*ConnectTunnelNotFound) Decode

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

Decode decodes ConnectTunnelNotFound from json.

func (*ConnectTunnelNotFound) Encode

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

Encode encodes ConnectTunnelNotFound as json.

func (*ConnectTunnelNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConnectTunnelNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConnectTunnelRequest

type ConnectTunnelRequest struct {
	EnvironmentId string `json:"environmentId"`
	Name          string `json:"name"`
	ListenAddress string `json:"listenAddress"`
}

Ref: #/connectTunnelRequest

func (*ConnectTunnelRequest) Decode

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

Decode decodes ConnectTunnelRequest from json.

func (*ConnectTunnelRequest) Encode

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

Encode implements json.Marshaler.

func (*ConnectTunnelRequest) GetEnvironmentId

func (s *ConnectTunnelRequest) GetEnvironmentId() string

GetEnvironmentId returns the value of EnvironmentId.

func (*ConnectTunnelRequest) GetListenAddress

func (s *ConnectTunnelRequest) GetListenAddress() string

GetListenAddress returns the value of ListenAddress.

func (*ConnectTunnelRequest) GetName

func (s *ConnectTunnelRequest) GetName() string

GetName returns the value of Name.

func (*ConnectTunnelRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConnectTunnelRequest) SetEnvironmentId

func (s *ConnectTunnelRequest) SetEnvironmentId(val string)

SetEnvironmentId sets the value of EnvironmentId.

func (*ConnectTunnelRequest) SetListenAddress

func (s *ConnectTunnelRequest) SetListenAddress(val string)

SetListenAddress sets the value of ListenAddress.

func (*ConnectTunnelRequest) SetName

func (s *ConnectTunnelRequest) SetName(val string)

SetName sets the value of Name.

func (*ConnectTunnelRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConnectTunnelRequest) Validate

func (s *ConnectTunnelRequest) Validate() error

type ConnectTunnelRes

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

type ConnectTunnelResponse

type ConnectTunnelResponse struct {
	Tunnel     Tunnel           `json:"tunnel"`
	Attachment TunnelAttachment `json:"attachment"`
}

Ref: #/connectTunnelResponse

func (*ConnectTunnelResponse) Decode

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

Decode decodes ConnectTunnelResponse from json.

func (*ConnectTunnelResponse) Encode

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

Encode implements json.Marshaler.

func (*ConnectTunnelResponse) GetAttachment

func (s *ConnectTunnelResponse) GetAttachment() TunnelAttachment

GetAttachment returns the value of Attachment.

func (*ConnectTunnelResponse) GetTunnel

func (s *ConnectTunnelResponse) GetTunnel() Tunnel

GetTunnel returns the value of Tunnel.

func (*ConnectTunnelResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConnectTunnelResponse) SetAttachment

func (s *ConnectTunnelResponse) SetAttachment(val TunnelAttachment)

SetAttachment sets the value of Attachment.

func (*ConnectTunnelResponse) SetTunnel

func (s *ConnectTunnelResponse) SetTunnel(val Tunnel)

SetTunnel sets the value of Tunnel.

func (*ConnectTunnelResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConnectTunnelResponse) Validate

func (s *ConnectTunnelResponse) Validate() error

type ConnectTunnelUnauthorized

type ConnectTunnelUnauthorized Error

func (*ConnectTunnelUnauthorized) Decode

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

Decode decodes ConnectTunnelUnauthorized from json.

func (*ConnectTunnelUnauthorized) Encode

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

Encode encodes ConnectTunnelUnauthorized as json.

func (*ConnectTunnelUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConnectTunnelUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Contract

type Contract struct {
	ID                           string                  `json:"id"`
	AccountId                    string                  `json:"accountId"`
	OrganizationId               string                  `json:"organizationId"`
	Name                         string                  `json:"name"`
	Description                  OptString               `json:"description"`
	SchemaVersion                int                     `json:"schemaVersion"`
	MaxDurationSeconds           int                     `json:"maxDurationSeconds"`
	MaxEnvelopeCount             int                     `json:"maxEnvelopeCount"`
	MaxEnvelopeBytes             int                     `json:"maxEnvelopeBytes"`
	AllowedMessageTypes          []string                `json:"allowedMessageTypes"`
	RequiredWorkgroupMemberships []string                `json:"requiredWorkgroupMemberships"`
	MaturityRequirements         OptMaturityRequirements `json:"maturityRequirements"`
	AccessMode                   ContractAccessMode      `json:"accessMode"`
	CreatedAt                    time.Time               `json:"createdAt"`
	UpdatedAt                    time.Time               `json:"updatedAt"`
}

Ref: #/contract

func (*Contract) Decode

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

Decode decodes Contract from json.

func (*Contract) Encode

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

Encode implements json.Marshaler.

func (*Contract) GetAccessMode

func (s *Contract) GetAccessMode() ContractAccessMode

GetAccessMode returns the value of AccessMode.

func (*Contract) GetAccountId

func (s *Contract) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*Contract) GetAllowedMessageTypes

func (s *Contract) GetAllowedMessageTypes() []string

GetAllowedMessageTypes returns the value of AllowedMessageTypes.

func (*Contract) GetCreatedAt

func (s *Contract) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Contract) GetDescription

func (s *Contract) GetDescription() OptString

GetDescription returns the value of Description.

func (*Contract) GetID

func (s *Contract) GetID() string

GetID returns the value of ID.

func (*Contract) GetMaturityRequirements

func (s *Contract) GetMaturityRequirements() OptMaturityRequirements

GetMaturityRequirements returns the value of MaturityRequirements.

func (*Contract) GetMaxDurationSeconds

func (s *Contract) GetMaxDurationSeconds() int

GetMaxDurationSeconds returns the value of MaxDurationSeconds.

func (*Contract) GetMaxEnvelopeBytes

func (s *Contract) GetMaxEnvelopeBytes() int

GetMaxEnvelopeBytes returns the value of MaxEnvelopeBytes.

func (*Contract) GetMaxEnvelopeCount

func (s *Contract) GetMaxEnvelopeCount() int

GetMaxEnvelopeCount returns the value of MaxEnvelopeCount.

func (*Contract) GetName

func (s *Contract) GetName() string

GetName returns the value of Name.

func (*Contract) GetOrganizationId

func (s *Contract) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*Contract) GetRequiredWorkgroupMemberships

func (s *Contract) GetRequiredWorkgroupMemberships() []string

GetRequiredWorkgroupMemberships returns the value of RequiredWorkgroupMemberships.

func (*Contract) GetSchemaVersion

func (s *Contract) GetSchemaVersion() int

GetSchemaVersion returns the value of SchemaVersion.

func (*Contract) GetUpdatedAt

func (s *Contract) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Contract) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Contract) SetAccessMode

func (s *Contract) SetAccessMode(val ContractAccessMode)

SetAccessMode sets the value of AccessMode.

func (*Contract) SetAccountId

func (s *Contract) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*Contract) SetAllowedMessageTypes

func (s *Contract) SetAllowedMessageTypes(val []string)

SetAllowedMessageTypes sets the value of AllowedMessageTypes.

func (*Contract) SetCreatedAt

func (s *Contract) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Contract) SetDescription

func (s *Contract) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Contract) SetID

func (s *Contract) SetID(val string)

SetID sets the value of ID.

func (*Contract) SetMaturityRequirements

func (s *Contract) SetMaturityRequirements(val OptMaturityRequirements)

SetMaturityRequirements sets the value of MaturityRequirements.

func (*Contract) SetMaxDurationSeconds

func (s *Contract) SetMaxDurationSeconds(val int)

SetMaxDurationSeconds sets the value of MaxDurationSeconds.

func (*Contract) SetMaxEnvelopeBytes

func (s *Contract) SetMaxEnvelopeBytes(val int)

SetMaxEnvelopeBytes sets the value of MaxEnvelopeBytes.

func (*Contract) SetMaxEnvelopeCount

func (s *Contract) SetMaxEnvelopeCount(val int)

SetMaxEnvelopeCount sets the value of MaxEnvelopeCount.

func (*Contract) SetName

func (s *Contract) SetName(val string)

SetName sets the value of Name.

func (*Contract) SetOrganizationId

func (s *Contract) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*Contract) SetRequiredWorkgroupMemberships

func (s *Contract) SetRequiredWorkgroupMemberships(val []string)

SetRequiredWorkgroupMemberships sets the value of RequiredWorkgroupMemberships.

func (*Contract) SetSchemaVersion

func (s *Contract) SetSchemaVersion(val int)

SetSchemaVersion sets the value of SchemaVersion.

func (*Contract) SetUpdatedAt

func (s *Contract) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Contract) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Contract) Validate

func (s *Contract) Validate() error

type ContractAccessMode

type ContractAccessMode string

Ref: #/contractAccessMode

const (
	ContractAccessModeOpen             ContractAccessMode = "open"
	ContractAccessModeApprovalRequired ContractAccessMode = "approval_required"
)

func (ContractAccessMode) AllValues

func (ContractAccessMode) AllValues() []ContractAccessMode

AllValues returns all ContractAccessMode values.

func (*ContractAccessMode) Decode

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

Decode decodes ContractAccessMode from json.

func (ContractAccessMode) Encode

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

Encode encodes ContractAccessMode as json.

func (ContractAccessMode) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ContractAccessMode) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ContractAccessMode) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContractAccessMode) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ContractAccessMode) Validate

func (s ContractAccessMode) Validate() error

type ContractSnapshot

type ContractSnapshot struct {
	ContractId                   string                  `json:"contractId"`
	Name                         string                  `json:"name"`
	Description                  OptString               `json:"description"`
	SchemaVersion                int                     `json:"schemaVersion"`
	MaxDurationSeconds           int                     `json:"maxDurationSeconds"`
	MaxEnvelopeCount             int                     `json:"maxEnvelopeCount"`
	MaxEnvelopeBytes             int                     `json:"maxEnvelopeBytes"`
	AllowedMessageTypes          []string                `json:"allowedMessageTypes"`
	RequiredWorkgroupMemberships []string                `json:"requiredWorkgroupMemberships"`
	MaturityRequirements         OptMaturityRequirements `json:"maturityRequirements"`
	AccessMode                   ContractAccessMode      `json:"accessMode"`
	SnapshottedAt                time.Time               `json:"snapshottedAt"`
}

Ref: #/contractSnapshot

func (*ContractSnapshot) Decode

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

Decode decodes ContractSnapshot from json.

func (*ContractSnapshot) Encode

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

Encode implements json.Marshaler.

func (*ContractSnapshot) GetAccessMode

func (s *ContractSnapshot) GetAccessMode() ContractAccessMode

GetAccessMode returns the value of AccessMode.

func (*ContractSnapshot) GetAllowedMessageTypes

func (s *ContractSnapshot) GetAllowedMessageTypes() []string

GetAllowedMessageTypes returns the value of AllowedMessageTypes.

func (*ContractSnapshot) GetContractId

func (s *ContractSnapshot) GetContractId() string

GetContractId returns the value of ContractId.

func (*ContractSnapshot) GetDescription

func (s *ContractSnapshot) GetDescription() OptString

GetDescription returns the value of Description.

func (*ContractSnapshot) GetMaturityRequirements

func (s *ContractSnapshot) GetMaturityRequirements() OptMaturityRequirements

GetMaturityRequirements returns the value of MaturityRequirements.

func (*ContractSnapshot) GetMaxDurationSeconds

func (s *ContractSnapshot) GetMaxDurationSeconds() int

GetMaxDurationSeconds returns the value of MaxDurationSeconds.

func (*ContractSnapshot) GetMaxEnvelopeBytes

func (s *ContractSnapshot) GetMaxEnvelopeBytes() int

GetMaxEnvelopeBytes returns the value of MaxEnvelopeBytes.

func (*ContractSnapshot) GetMaxEnvelopeCount

func (s *ContractSnapshot) GetMaxEnvelopeCount() int

GetMaxEnvelopeCount returns the value of MaxEnvelopeCount.

func (*ContractSnapshot) GetName

func (s *ContractSnapshot) GetName() string

GetName returns the value of Name.

func (*ContractSnapshot) GetRequiredWorkgroupMemberships

func (s *ContractSnapshot) GetRequiredWorkgroupMemberships() []string

GetRequiredWorkgroupMemberships returns the value of RequiredWorkgroupMemberships.

func (*ContractSnapshot) GetSchemaVersion

func (s *ContractSnapshot) GetSchemaVersion() int

GetSchemaVersion returns the value of SchemaVersion.

func (*ContractSnapshot) GetSnapshottedAt

func (s *ContractSnapshot) GetSnapshottedAt() time.Time

GetSnapshottedAt returns the value of SnapshottedAt.

func (*ContractSnapshot) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ContractSnapshot) SetAccessMode

func (s *ContractSnapshot) SetAccessMode(val ContractAccessMode)

SetAccessMode sets the value of AccessMode.

func (*ContractSnapshot) SetAllowedMessageTypes

func (s *ContractSnapshot) SetAllowedMessageTypes(val []string)

SetAllowedMessageTypes sets the value of AllowedMessageTypes.

func (*ContractSnapshot) SetContractId

func (s *ContractSnapshot) SetContractId(val string)

SetContractId sets the value of ContractId.

func (*ContractSnapshot) SetDescription

func (s *ContractSnapshot) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*ContractSnapshot) SetMaturityRequirements

func (s *ContractSnapshot) SetMaturityRequirements(val OptMaturityRequirements)

SetMaturityRequirements sets the value of MaturityRequirements.

func (*ContractSnapshot) SetMaxDurationSeconds

func (s *ContractSnapshot) SetMaxDurationSeconds(val int)

SetMaxDurationSeconds sets the value of MaxDurationSeconds.

func (*ContractSnapshot) SetMaxEnvelopeBytes

func (s *ContractSnapshot) SetMaxEnvelopeBytes(val int)

SetMaxEnvelopeBytes sets the value of MaxEnvelopeBytes.

func (*ContractSnapshot) SetMaxEnvelopeCount

func (s *ContractSnapshot) SetMaxEnvelopeCount(val int)

SetMaxEnvelopeCount sets the value of MaxEnvelopeCount.

func (*ContractSnapshot) SetName

func (s *ContractSnapshot) SetName(val string)

SetName sets the value of Name.

func (*ContractSnapshot) SetRequiredWorkgroupMemberships

func (s *ContractSnapshot) SetRequiredWorkgroupMemberships(val []string)

SetRequiredWorkgroupMemberships sets the value of RequiredWorkgroupMemberships.

func (*ContractSnapshot) SetSchemaVersion

func (s *ContractSnapshot) SetSchemaVersion(val int)

SetSchemaVersion sets the value of SchemaVersion.

func (*ContractSnapshot) SetSnapshottedAt

func (s *ContractSnapshot) SetSnapshottedAt(val time.Time)

SetSnapshottedAt sets the value of SnapshottedAt.

func (*ContractSnapshot) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ContractSnapshot) Validate

func (s *ContractSnapshot) Validate() error

type CreateAccountConflict

type CreateAccountConflict Error

func (*CreateAccountConflict) Decode

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

Decode decodes CreateAccountConflict from json.

func (*CreateAccountConflict) Encode

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

Encode encodes CreateAccountConflict as json.

func (*CreateAccountConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAccountConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateAccountInternalServerError

type CreateAccountInternalServerError Error

func (*CreateAccountInternalServerError) Decode

Decode decodes CreateAccountInternalServerError from json.

func (*CreateAccountInternalServerError) Encode

Encode encodes CreateAccountInternalServerError as json.

func (*CreateAccountInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAccountInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateAccountNotFound

type CreateAccountNotFound Error

func (*CreateAccountNotFound) Decode

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

Decode decodes CreateAccountNotFound from json.

func (*CreateAccountNotFound) Encode

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

Encode encodes CreateAccountNotFound as json.

func (*CreateAccountNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAccountNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateAccountParams

type CreateAccountParams struct {
	OrganizationId string
}

CreateAccountParams is parameters of createAccount operation.

type CreateAccountRequest

type CreateAccountRequest struct {
	Email       string                        `json:"email"`
	Password    string                        `json:"password"`
	DisplayName OptString                     `json:"displayName"`
	Role        OptCreateAccountRequestRole   `json:"role"`
	Status      OptCreateAccountRequestStatus `json:"status"`
}

Ref: #/createAccountRequest

func (*CreateAccountRequest) Decode

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

Decode decodes CreateAccountRequest from json.

func (*CreateAccountRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateAccountRequest) GetDisplayName

func (s *CreateAccountRequest) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*CreateAccountRequest) GetEmail

func (s *CreateAccountRequest) GetEmail() string

GetEmail returns the value of Email.

func (*CreateAccountRequest) GetPassword

func (s *CreateAccountRequest) GetPassword() string

GetPassword returns the value of Password.

func (*CreateAccountRequest) GetRole

GetRole returns the value of Role.

func (*CreateAccountRequest) GetStatus

GetStatus returns the value of Status.

func (*CreateAccountRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAccountRequest) SetDisplayName

func (s *CreateAccountRequest) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*CreateAccountRequest) SetEmail

func (s *CreateAccountRequest) SetEmail(val string)

SetEmail sets the value of Email.

func (*CreateAccountRequest) SetPassword

func (s *CreateAccountRequest) SetPassword(val string)

SetPassword sets the value of Password.

func (*CreateAccountRequest) SetRole

SetRole sets the value of Role.

func (*CreateAccountRequest) SetStatus

SetStatus sets the value of Status.

func (*CreateAccountRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAccountRequest) Validate

func (s *CreateAccountRequest) Validate() error

type CreateAccountRequestRole

type CreateAccountRequestRole string
const (
	CreateAccountRequestRoleAdmin  CreateAccountRequestRole = "admin"
	CreateAccountRequestRoleMember CreateAccountRequestRole = "member"
)

func (CreateAccountRequestRole) AllValues

AllValues returns all CreateAccountRequestRole values.

func (*CreateAccountRequestRole) Decode

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

Decode decodes CreateAccountRequestRole from json.

func (CreateAccountRequestRole) Encode

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

Encode encodes CreateAccountRequestRole as json.

func (CreateAccountRequestRole) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateAccountRequestRole) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateAccountRequestRole) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAccountRequestRole) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateAccountRequestRole) Validate

func (s CreateAccountRequestRole) Validate() error

type CreateAccountRequestStatus

type CreateAccountRequestStatus string
const (
	CreateAccountRequestStatusActive   CreateAccountRequestStatus = "active"
	CreateAccountRequestStatusDisabled CreateAccountRequestStatus = "disabled"
)

func (CreateAccountRequestStatus) AllValues

AllValues returns all CreateAccountRequestStatus values.

func (*CreateAccountRequestStatus) Decode

Decode decodes CreateAccountRequestStatus from json.

func (CreateAccountRequestStatus) Encode

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

Encode encodes CreateAccountRequestStatus as json.

func (CreateAccountRequestStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateAccountRequestStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateAccountRequestStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAccountRequestStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateAccountRequestStatus) Validate

func (s CreateAccountRequestStatus) Validate() error

type CreateAccountRes

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

type CreateAccountUnauthorized

type CreateAccountUnauthorized Error

func (*CreateAccountUnauthorized) Decode

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

Decode decodes CreateAccountUnauthorized from json.

func (*CreateAccountUnauthorized) Encode

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

Encode encodes CreateAccountUnauthorized as json.

func (*CreateAccountUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAccountUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateContractBadRequest

type CreateContractBadRequest Error

func (*CreateContractBadRequest) Decode

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

Decode decodes CreateContractBadRequest from json.

func (*CreateContractBadRequest) Encode

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

Encode encodes CreateContractBadRequest as json.

func (*CreateContractBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateContractBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateContractConflict

type CreateContractConflict Error

func (*CreateContractConflict) Decode

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

Decode decodes CreateContractConflict from json.

func (*CreateContractConflict) Encode

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

Encode encodes CreateContractConflict as json.

func (*CreateContractConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateContractConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateContractForbidden

type CreateContractForbidden Error

func (*CreateContractForbidden) Decode

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

Decode decodes CreateContractForbidden from json.

func (*CreateContractForbidden) Encode

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

Encode encodes CreateContractForbidden as json.

func (*CreateContractForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateContractForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateContractInternalServerError

type CreateContractInternalServerError Error

func (*CreateContractInternalServerError) Decode

Decode decodes CreateContractInternalServerError from json.

func (*CreateContractInternalServerError) Encode

Encode encodes CreateContractInternalServerError as json.

func (*CreateContractInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateContractInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateContractRequest

type CreateContractRequest struct {
	Name                         string                  `json:"name"`
	Description                  OptString               `json:"description"`
	MaxDurationSeconds           OptInt                  `json:"maxDurationSeconds"`
	MaxEnvelopeCount             OptInt                  `json:"maxEnvelopeCount"`
	MaxEnvelopeBytes             OptInt                  `json:"maxEnvelopeBytes"`
	AllowedMessageTypes          []string                `json:"allowedMessageTypes"`
	RequiredWorkgroupMemberships []string                `json:"requiredWorkgroupMemberships"`
	MaturityRequirements         OptMaturityRequirements `json:"maturityRequirements"`
	AccessMode                   OptContractAccessMode   `json:"accessMode"`
}

Ref: #/createContractRequest

func (*CreateContractRequest) Decode

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

Decode decodes CreateContractRequest from json.

func (*CreateContractRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateContractRequest) GetAccessMode

func (s *CreateContractRequest) GetAccessMode() OptContractAccessMode

GetAccessMode returns the value of AccessMode.

func (*CreateContractRequest) GetAllowedMessageTypes

func (s *CreateContractRequest) GetAllowedMessageTypes() []string

GetAllowedMessageTypes returns the value of AllowedMessageTypes.

func (*CreateContractRequest) GetDescription

func (s *CreateContractRequest) GetDescription() OptString

GetDescription returns the value of Description.

func (*CreateContractRequest) GetMaturityRequirements

func (s *CreateContractRequest) GetMaturityRequirements() OptMaturityRequirements

GetMaturityRequirements returns the value of MaturityRequirements.

func (*CreateContractRequest) GetMaxDurationSeconds

func (s *CreateContractRequest) GetMaxDurationSeconds() OptInt

GetMaxDurationSeconds returns the value of MaxDurationSeconds.

func (*CreateContractRequest) GetMaxEnvelopeBytes

func (s *CreateContractRequest) GetMaxEnvelopeBytes() OptInt

GetMaxEnvelopeBytes returns the value of MaxEnvelopeBytes.

func (*CreateContractRequest) GetMaxEnvelopeCount

func (s *CreateContractRequest) GetMaxEnvelopeCount() OptInt

GetMaxEnvelopeCount returns the value of MaxEnvelopeCount.

func (*CreateContractRequest) GetName

func (s *CreateContractRequest) GetName() string

GetName returns the value of Name.

func (*CreateContractRequest) GetRequiredWorkgroupMemberships

func (s *CreateContractRequest) GetRequiredWorkgroupMemberships() []string

GetRequiredWorkgroupMemberships returns the value of RequiredWorkgroupMemberships.

func (*CreateContractRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateContractRequest) SetAccessMode

func (s *CreateContractRequest) SetAccessMode(val OptContractAccessMode)

SetAccessMode sets the value of AccessMode.

func (*CreateContractRequest) SetAllowedMessageTypes

func (s *CreateContractRequest) SetAllowedMessageTypes(val []string)

SetAllowedMessageTypes sets the value of AllowedMessageTypes.

func (*CreateContractRequest) SetDescription

func (s *CreateContractRequest) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*CreateContractRequest) SetMaturityRequirements

func (s *CreateContractRequest) SetMaturityRequirements(val OptMaturityRequirements)

SetMaturityRequirements sets the value of MaturityRequirements.

func (*CreateContractRequest) SetMaxDurationSeconds

func (s *CreateContractRequest) SetMaxDurationSeconds(val OptInt)

SetMaxDurationSeconds sets the value of MaxDurationSeconds.

func (*CreateContractRequest) SetMaxEnvelopeBytes

func (s *CreateContractRequest) SetMaxEnvelopeBytes(val OptInt)

SetMaxEnvelopeBytes sets the value of MaxEnvelopeBytes.

func (*CreateContractRequest) SetMaxEnvelopeCount

func (s *CreateContractRequest) SetMaxEnvelopeCount(val OptInt)

SetMaxEnvelopeCount sets the value of MaxEnvelopeCount.

func (*CreateContractRequest) SetName

func (s *CreateContractRequest) SetName(val string)

SetName sets the value of Name.

func (*CreateContractRequest) SetRequiredWorkgroupMemberships

func (s *CreateContractRequest) SetRequiredWorkgroupMemberships(val []string)

SetRequiredWorkgroupMemberships sets the value of RequiredWorkgroupMemberships.

func (*CreateContractRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateContractRequest) Validate

func (s *CreateContractRequest) Validate() error

type CreateContractRes

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

type CreateContractUnauthorized

type CreateContractUnauthorized Error

func (*CreateContractUnauthorized) Decode

Decode decodes CreateContractUnauthorized from json.

func (*CreateContractUnauthorized) Encode

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

Encode encodes CreateContractUnauthorized as json.

func (*CreateContractUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateContractUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateOrganizationConflict

type CreateOrganizationConflict Error

func (*CreateOrganizationConflict) Decode

Decode decodes CreateOrganizationConflict from json.

func (*CreateOrganizationConflict) Encode

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

Encode encodes CreateOrganizationConflict as json.

func (*CreateOrganizationConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateOrganizationConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateOrganizationInternalServerError

type CreateOrganizationInternalServerError Error

func (*CreateOrganizationInternalServerError) Decode

Decode decodes CreateOrganizationInternalServerError from json.

func (*CreateOrganizationInternalServerError) Encode

Encode encodes CreateOrganizationInternalServerError as json.

func (*CreateOrganizationInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateOrganizationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateOrganizationRequest

type CreateOrganizationRequest struct {
	Name string `json:"name"`
}

Ref: #/createOrganizationRequest

func (*CreateOrganizationRequest) Decode

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

Decode decodes CreateOrganizationRequest from json.

func (*CreateOrganizationRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateOrganizationRequest) GetName

func (s *CreateOrganizationRequest) GetName() string

GetName returns the value of Name.

func (*CreateOrganizationRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateOrganizationRequest) SetName

func (s *CreateOrganizationRequest) SetName(val string)

SetName sets the value of Name.

func (*CreateOrganizationRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateOrganizationRequest) Validate

func (s *CreateOrganizationRequest) Validate() error

type CreateOrganizationRes

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

type CreateOrganizationUnauthorized

type CreateOrganizationUnauthorized Error

func (*CreateOrganizationUnauthorized) Decode

Decode decodes CreateOrganizationUnauthorized from json.

func (*CreateOrganizationUnauthorized) Encode

Encode encodes CreateOrganizationUnauthorized as json.

func (*CreateOrganizationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateOrganizationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateTunnelConflict

type CreateTunnelConflict Error

func (*CreateTunnelConflict) Decode

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

Decode decodes CreateTunnelConflict from json.

func (*CreateTunnelConflict) Encode

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

Encode encodes CreateTunnelConflict as json.

func (*CreateTunnelConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateTunnelConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateTunnelInternalServerError

type CreateTunnelInternalServerError Error

func (*CreateTunnelInternalServerError) Decode

Decode decodes CreateTunnelInternalServerError from json.

func (*CreateTunnelInternalServerError) Encode

Encode encodes CreateTunnelInternalServerError as json.

func (*CreateTunnelInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateTunnelInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateTunnelNotFound

type CreateTunnelNotFound Error

func (*CreateTunnelNotFound) Decode

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

Decode decodes CreateTunnelNotFound from json.

func (*CreateTunnelNotFound) Encode

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

Encode encodes CreateTunnelNotFound as json.

func (*CreateTunnelNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateTunnelNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateTunnelRequest

type CreateTunnelRequest struct {
	EnvironmentId string     `json:"environmentId"`
	Name          string     `json:"name"`
	Mode          TunnelMode `json:"mode"`
	BackendTarget string     `json:"backendTarget"`
	GrantEmails   []string   `json:"grantEmails"`
}

Ref: #/createTunnelRequest

func (*CreateTunnelRequest) Decode

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

Decode decodes CreateTunnelRequest from json.

func (*CreateTunnelRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateTunnelRequest) GetBackendTarget

func (s *CreateTunnelRequest) GetBackendTarget() string

GetBackendTarget returns the value of BackendTarget.

func (*CreateTunnelRequest) GetEnvironmentId

func (s *CreateTunnelRequest) GetEnvironmentId() string

GetEnvironmentId returns the value of EnvironmentId.

func (*CreateTunnelRequest) GetGrantEmails

func (s *CreateTunnelRequest) GetGrantEmails() []string

GetGrantEmails returns the value of GrantEmails.

func (*CreateTunnelRequest) GetMode

func (s *CreateTunnelRequest) GetMode() TunnelMode

GetMode returns the value of Mode.

func (*CreateTunnelRequest) GetName

func (s *CreateTunnelRequest) GetName() string

GetName returns the value of Name.

func (*CreateTunnelRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateTunnelRequest) SetBackendTarget

func (s *CreateTunnelRequest) SetBackendTarget(val string)

SetBackendTarget sets the value of BackendTarget.

func (*CreateTunnelRequest) SetEnvironmentId

func (s *CreateTunnelRequest) SetEnvironmentId(val string)

SetEnvironmentId sets the value of EnvironmentId.

func (*CreateTunnelRequest) SetGrantEmails

func (s *CreateTunnelRequest) SetGrantEmails(val []string)

SetGrantEmails sets the value of GrantEmails.

func (*CreateTunnelRequest) SetMode

func (s *CreateTunnelRequest) SetMode(val TunnelMode)

SetMode sets the value of Mode.

func (*CreateTunnelRequest) SetName

func (s *CreateTunnelRequest) SetName(val string)

SetName sets the value of Name.

func (*CreateTunnelRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateTunnelRequest) Validate

func (s *CreateTunnelRequest) Validate() error

type CreateTunnelRes

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

type CreateTunnelUnauthorized

type CreateTunnelUnauthorized Error

func (*CreateTunnelUnauthorized) Decode

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

Decode decodes CreateTunnelUnauthorized from json.

func (*CreateTunnelUnauthorized) Encode

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

Encode encodes CreateTunnelUnauthorized as json.

func (*CreateTunnelUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateTunnelUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateWorkgroupBadRequest

type CreateWorkgroupBadRequest Error

func (*CreateWorkgroupBadRequest) Decode

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

Decode decodes CreateWorkgroupBadRequest from json.

func (*CreateWorkgroupBadRequest) Encode

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

Encode encodes CreateWorkgroupBadRequest as json.

func (*CreateWorkgroupBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateWorkgroupBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateWorkgroupConflict

type CreateWorkgroupConflict Error

func (*CreateWorkgroupConflict) Decode

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

Decode decodes CreateWorkgroupConflict from json.

func (*CreateWorkgroupConflict) Encode

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

Encode encodes CreateWorkgroupConflict as json.

func (*CreateWorkgroupConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateWorkgroupConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateWorkgroupInternalServerError

type CreateWorkgroupInternalServerError Error

func (*CreateWorkgroupInternalServerError) Decode

Decode decodes CreateWorkgroupInternalServerError from json.

func (*CreateWorkgroupInternalServerError) Encode

Encode encodes CreateWorkgroupInternalServerError as json.

func (*CreateWorkgroupInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateWorkgroupInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateWorkgroupRequest

type CreateWorkgroupRequest struct {
	Name                         string                      `json:"name"`
	Description                  OptString                   `json:"description"`
	Scope                        CreateWorkgroupRequestScope `json:"scope"`
	OwnerOrganizationId          string                      `json:"ownerOrganizationId"`
	InitialAdminAccountId        string                      `json:"initialAdminAccountId"`
	ParticipatingOrganizationIds []string                    `json:"participatingOrganizationIds"`
}

Ref: #/createWorkgroupRequest

func (*CreateWorkgroupRequest) Decode

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

Decode decodes CreateWorkgroupRequest from json.

func (*CreateWorkgroupRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateWorkgroupRequest) GetDescription

func (s *CreateWorkgroupRequest) GetDescription() OptString

GetDescription returns the value of Description.

func (*CreateWorkgroupRequest) GetInitialAdminAccountId

func (s *CreateWorkgroupRequest) GetInitialAdminAccountId() string

GetInitialAdminAccountId returns the value of InitialAdminAccountId.

func (*CreateWorkgroupRequest) GetName

func (s *CreateWorkgroupRequest) GetName() string

GetName returns the value of Name.

func (*CreateWorkgroupRequest) GetOwnerOrganizationId

func (s *CreateWorkgroupRequest) GetOwnerOrganizationId() string

GetOwnerOrganizationId returns the value of OwnerOrganizationId.

func (*CreateWorkgroupRequest) GetParticipatingOrganizationIds

func (s *CreateWorkgroupRequest) GetParticipatingOrganizationIds() []string

GetParticipatingOrganizationIds returns the value of ParticipatingOrganizationIds.

func (*CreateWorkgroupRequest) GetScope

GetScope returns the value of Scope.

func (*CreateWorkgroupRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateWorkgroupRequest) SetDescription

func (s *CreateWorkgroupRequest) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*CreateWorkgroupRequest) SetInitialAdminAccountId

func (s *CreateWorkgroupRequest) SetInitialAdminAccountId(val string)

SetInitialAdminAccountId sets the value of InitialAdminAccountId.

func (*CreateWorkgroupRequest) SetName

func (s *CreateWorkgroupRequest) SetName(val string)

SetName sets the value of Name.

func (*CreateWorkgroupRequest) SetOwnerOrganizationId

func (s *CreateWorkgroupRequest) SetOwnerOrganizationId(val string)

SetOwnerOrganizationId sets the value of OwnerOrganizationId.

func (*CreateWorkgroupRequest) SetParticipatingOrganizationIds

func (s *CreateWorkgroupRequest) SetParticipatingOrganizationIds(val []string)

SetParticipatingOrganizationIds sets the value of ParticipatingOrganizationIds.

func (*CreateWorkgroupRequest) SetScope

SetScope sets the value of Scope.

func (*CreateWorkgroupRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateWorkgroupRequest) Validate

func (s *CreateWorkgroupRequest) Validate() error

type CreateWorkgroupRequestScope

type CreateWorkgroupRequestScope string
const (
	CreateWorkgroupRequestScopeIntraOrg CreateWorkgroupRequestScope = "intra-org"
	CreateWorkgroupRequestScopeInterOrg CreateWorkgroupRequestScope = "inter-org"
)

func (CreateWorkgroupRequestScope) AllValues

AllValues returns all CreateWorkgroupRequestScope values.

func (*CreateWorkgroupRequestScope) Decode

Decode decodes CreateWorkgroupRequestScope from json.

func (CreateWorkgroupRequestScope) Encode

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

Encode encodes CreateWorkgroupRequestScope as json.

func (CreateWorkgroupRequestScope) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateWorkgroupRequestScope) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateWorkgroupRequestScope) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateWorkgroupRequestScope) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateWorkgroupRequestScope) Validate

func (s CreateWorkgroupRequestScope) Validate() error

type CreateWorkgroupRes

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

type CreateWorkgroupResponse

type CreateWorkgroupResponse struct {
	Workgroup   Workgroup             `json:"workgroup"`
	Invitations []WorkgroupInvitation `json:"invitations"`
}

Ref: #/createWorkgroupResponse

func (*CreateWorkgroupResponse) Decode

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

Decode decodes CreateWorkgroupResponse from json.

func (*CreateWorkgroupResponse) Encode

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

Encode implements json.Marshaler.

func (*CreateWorkgroupResponse) GetInvitations

func (s *CreateWorkgroupResponse) GetInvitations() []WorkgroupInvitation

GetInvitations returns the value of Invitations.

func (*CreateWorkgroupResponse) GetWorkgroup

func (s *CreateWorkgroupResponse) GetWorkgroup() Workgroup

GetWorkgroup returns the value of Workgroup.

func (*CreateWorkgroupResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateWorkgroupResponse) SetInvitations

func (s *CreateWorkgroupResponse) SetInvitations(val []WorkgroupInvitation)

SetInvitations sets the value of Invitations.

func (*CreateWorkgroupResponse) SetWorkgroup

func (s *CreateWorkgroupResponse) SetWorkgroup(val Workgroup)

SetWorkgroup sets the value of Workgroup.

func (*CreateWorkgroupResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateWorkgroupResponse) Validate

func (s *CreateWorkgroupResponse) Validate() error

type CreateWorkgroupUnauthorized

type CreateWorkgroupUnauthorized Error

func (*CreateWorkgroupUnauthorized) Decode

Decode decodes CreateWorkgroupUnauthorized from json.

func (*CreateWorkgroupUnauthorized) Encode

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

Encode encodes CreateWorkgroupUnauthorized as json.

func (*CreateWorkgroupUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateWorkgroupUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DashboardAccount

type DashboardAccount struct {
	AccountId        string               `json:"accountId"`
	Email            string               `json:"email"`
	OrganizationId   string               `json:"organizationId"`
	OrganizationName string               `json:"organizationName"`
	Role             DashboardAccountRole `json:"role"`
}

Ref: #/dashboardAccount

func (*DashboardAccount) Decode

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

Decode decodes DashboardAccount from json.

func (*DashboardAccount) Encode

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

Encode implements json.Marshaler.

func (*DashboardAccount) GetAccountId

func (s *DashboardAccount) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*DashboardAccount) GetEmail

func (s *DashboardAccount) GetEmail() string

GetEmail returns the value of Email.

func (*DashboardAccount) GetOrganizationId

func (s *DashboardAccount) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*DashboardAccount) GetOrganizationName

func (s *DashboardAccount) GetOrganizationName() string

GetOrganizationName returns the value of OrganizationName.

func (*DashboardAccount) GetRole

GetRole returns the value of Role.

func (*DashboardAccount) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardAccount) SetAccountId

func (s *DashboardAccount) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*DashboardAccount) SetEmail

func (s *DashboardAccount) SetEmail(val string)

SetEmail sets the value of Email.

func (*DashboardAccount) SetOrganizationId

func (s *DashboardAccount) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*DashboardAccount) SetOrganizationName

func (s *DashboardAccount) SetOrganizationName(val string)

SetOrganizationName sets the value of OrganizationName.

func (*DashboardAccount) SetRole

func (s *DashboardAccount) SetRole(val DashboardAccountRole)

SetRole sets the value of Role.

func (*DashboardAccount) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardAccount) Validate

func (s *DashboardAccount) Validate() error

type DashboardAccountRole

type DashboardAccountRole string
const (
	DashboardAccountRoleAdmin  DashboardAccountRole = "admin"
	DashboardAccountRoleMember DashboardAccountRole = "member"
)

func (DashboardAccountRole) AllValues

AllValues returns all DashboardAccountRole values.

func (*DashboardAccountRole) Decode

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

Decode decodes DashboardAccountRole from json.

func (DashboardAccountRole) Encode

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

Encode encodes DashboardAccountRole as json.

func (DashboardAccountRole) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DashboardAccountRole) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DashboardAccountRole) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardAccountRole) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DashboardAccountRole) Validate

func (s DashboardAccountRole) Validate() error

type DashboardActivityBucket

type DashboardActivityBucket struct {
	Start     time.Time `json:"start"`
	Envelopes int       `json:"envelopes"`
	Sessions  int       `json:"sessions"`
}

Ref: #/dashboardActivityBucket

func (*DashboardActivityBucket) Decode

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

Decode decodes DashboardActivityBucket from json.

func (*DashboardActivityBucket) Encode

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

Encode implements json.Marshaler.

func (*DashboardActivityBucket) GetEnvelopes

func (s *DashboardActivityBucket) GetEnvelopes() int

GetEnvelopes returns the value of Envelopes.

func (*DashboardActivityBucket) GetSessions

func (s *DashboardActivityBucket) GetSessions() int

GetSessions returns the value of Sessions.

func (*DashboardActivityBucket) GetStart

func (s *DashboardActivityBucket) GetStart() time.Time

GetStart returns the value of Start.

func (*DashboardActivityBucket) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardActivityBucket) SetEnvelopes

func (s *DashboardActivityBucket) SetEnvelopes(val int)

SetEnvelopes sets the value of Envelopes.

func (*DashboardActivityBucket) SetSessions

func (s *DashboardActivityBucket) SetSessions(val int)

SetSessions sets the value of Sessions.

func (*DashboardActivityBucket) SetStart

func (s *DashboardActivityBucket) SetStart(val time.Time)

SetStart sets the value of Start.

func (*DashboardActivityBucket) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardActivityBucket) Validate

func (s *DashboardActivityBucket) Validate() error

type DashboardActivityResponse

type DashboardActivityResponse struct {
	Buckets     []DashboardActivityBucket    `json:"buckets"`
	ByWorkgroup []DashboardWorkgroupActivity `json:"byWorkgroup"`
}

Ref: #/dashboardActivityResponse

func (*DashboardActivityResponse) Decode

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

Decode decodes DashboardActivityResponse from json.

func (*DashboardActivityResponse) Encode

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

Encode implements json.Marshaler.

func (*DashboardActivityResponse) GetBuckets

GetBuckets returns the value of Buckets.

func (*DashboardActivityResponse) GetByWorkgroup

GetByWorkgroup returns the value of ByWorkgroup.

func (*DashboardActivityResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardActivityResponse) SetBuckets

SetBuckets sets the value of Buckets.

func (*DashboardActivityResponse) SetByWorkgroup

func (s *DashboardActivityResponse) SetByWorkgroup(val []DashboardWorkgroupActivity)

SetByWorkgroup sets the value of ByWorkgroup.

func (*DashboardActivityResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardActivityResponse) Validate

func (s *DashboardActivityResponse) Validate() error

type DashboardBucket

type DashboardBucket string

Ref: #/dashboardBucket

const (
	DashboardBucket1h DashboardBucket = "1h"
	DashboardBucket6h DashboardBucket = "6h"
	DashboardBucket1d DashboardBucket = "1d"
)

func (DashboardBucket) AllValues

func (DashboardBucket) AllValues() []DashboardBucket

AllValues returns all DashboardBucket values.

func (DashboardBucket) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DashboardBucket) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DashboardBucket) Validate

func (s DashboardBucket) Validate() error

type DashboardEnvironment

type DashboardEnvironment struct {
	ID              string                     `json:"id"`
	Name            string                     `json:"name"`
	AccountId       string                     `json:"accountId"`
	Status          DashboardEnvironmentStatus `json:"status"`
	LastHeartbeatAt OptDateTime                `json:"lastHeartbeatAt"`
}

Ref: #/dashboardEnvironment

func (*DashboardEnvironment) Decode

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

Decode decodes DashboardEnvironment from json.

func (*DashboardEnvironment) Encode

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

Encode implements json.Marshaler.

func (*DashboardEnvironment) GetAccountId

func (s *DashboardEnvironment) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*DashboardEnvironment) GetID

func (s *DashboardEnvironment) GetID() string

GetID returns the value of ID.

func (*DashboardEnvironment) GetLastHeartbeatAt

func (s *DashboardEnvironment) GetLastHeartbeatAt() OptDateTime

GetLastHeartbeatAt returns the value of LastHeartbeatAt.

func (*DashboardEnvironment) GetName

func (s *DashboardEnvironment) GetName() string

GetName returns the value of Name.

func (*DashboardEnvironment) GetStatus

GetStatus returns the value of Status.

func (*DashboardEnvironment) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardEnvironment) SetAccountId

func (s *DashboardEnvironment) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*DashboardEnvironment) SetID

func (s *DashboardEnvironment) SetID(val string)

SetID sets the value of ID.

func (*DashboardEnvironment) SetLastHeartbeatAt

func (s *DashboardEnvironment) SetLastHeartbeatAt(val OptDateTime)

SetLastHeartbeatAt sets the value of LastHeartbeatAt.

func (*DashboardEnvironment) SetName

func (s *DashboardEnvironment) SetName(val string)

SetName sets the value of Name.

func (*DashboardEnvironment) SetStatus

SetStatus sets the value of Status.

func (*DashboardEnvironment) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardEnvironment) Validate

func (s *DashboardEnvironment) Validate() error

type DashboardEnvironmentStatus

type DashboardEnvironmentStatus string

Ref: #/dashboardEnvironmentStatus

const (
	DashboardEnvironmentStatusOnline   DashboardEnvironmentStatus = "online"
	DashboardEnvironmentStatusStale    DashboardEnvironmentStatus = "stale"
	DashboardEnvironmentStatusUnknown  DashboardEnvironmentStatus = "unknown"
	DashboardEnvironmentStatusDisabled DashboardEnvironmentStatus = "disabled"
)

func (DashboardEnvironmentStatus) AllValues

AllValues returns all DashboardEnvironmentStatus values.

func (*DashboardEnvironmentStatus) Decode

Decode decodes DashboardEnvironmentStatus from json.

func (DashboardEnvironmentStatus) Encode

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

Encode encodes DashboardEnvironmentStatus as json.

func (DashboardEnvironmentStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DashboardEnvironmentStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DashboardEnvironmentStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardEnvironmentStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DashboardEnvironmentStatus) Validate

func (s DashboardEnvironmentStatus) Validate() error

type DashboardEnvironmentsResponse

type DashboardEnvironmentsResponse []DashboardEnvironment

func (*DashboardEnvironmentsResponse) Decode

Decode decodes DashboardEnvironmentsResponse from json.

func (DashboardEnvironmentsResponse) Encode

Encode encodes DashboardEnvironmentsResponse as json.

func (DashboardEnvironmentsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardEnvironmentsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (DashboardEnvironmentsResponse) Validate

func (s DashboardEnvironmentsResponse) Validate() error

type DashboardRibbon

type DashboardRibbon struct {
	WorkgroupCount     int `json:"workgroupCount"`
	AdvertisementCount int `json:"advertisementCount"`
	SessionsToday      int `json:"sessionsToday"`
	EnvironmentCount   int `json:"environmentCount"`
}

Ref: #/dashboardRibbon

func (*DashboardRibbon) Decode

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

Decode decodes DashboardRibbon from json.

func (*DashboardRibbon) Encode

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

Encode implements json.Marshaler.

func (*DashboardRibbon) GetAdvertisementCount

func (s *DashboardRibbon) GetAdvertisementCount() int

GetAdvertisementCount returns the value of AdvertisementCount.

func (*DashboardRibbon) GetEnvironmentCount

func (s *DashboardRibbon) GetEnvironmentCount() int

GetEnvironmentCount returns the value of EnvironmentCount.

func (*DashboardRibbon) GetSessionsToday

func (s *DashboardRibbon) GetSessionsToday() int

GetSessionsToday returns the value of SessionsToday.

func (*DashboardRibbon) GetWorkgroupCount

func (s *DashboardRibbon) GetWorkgroupCount() int

GetWorkgroupCount returns the value of WorkgroupCount.

func (*DashboardRibbon) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardRibbon) SetAdvertisementCount

func (s *DashboardRibbon) SetAdvertisementCount(val int)

SetAdvertisementCount sets the value of AdvertisementCount.

func (*DashboardRibbon) SetEnvironmentCount

func (s *DashboardRibbon) SetEnvironmentCount(val int)

SetEnvironmentCount sets the value of EnvironmentCount.

func (*DashboardRibbon) SetSessionsToday

func (s *DashboardRibbon) SetSessionsToday(val int)

SetSessionsToday sets the value of SessionsToday.

func (*DashboardRibbon) SetWorkgroupCount

func (s *DashboardRibbon) SetWorkgroupCount(val int)

SetWorkgroupCount sets the value of WorkgroupCount.

func (*DashboardRibbon) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardRibbon) Validate

func (s *DashboardRibbon) Validate() error

type DashboardStats

type DashboardStats struct {
	ActiveSessions        int `json:"activeSessions"`
	ActiveSessionsDelta7d int `json:"activeSessionsDelta7d"`
	EnvelopesToday        int `json:"envelopesToday"`
	EnvelopesYesterday    int `json:"envelopesYesterday"`
	ActiveWorkgroups      int `json:"activeWorkgroups"`
	ActiveTunnels         int `json:"activeTunnels"`
}

Ref: #/dashboardStats

func (*DashboardStats) Decode

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

Decode decodes DashboardStats from json.

func (*DashboardStats) Encode

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

Encode implements json.Marshaler.

func (*DashboardStats) GetActiveSessions

func (s *DashboardStats) GetActiveSessions() int

GetActiveSessions returns the value of ActiveSessions.

func (*DashboardStats) GetActiveSessionsDelta7d

func (s *DashboardStats) GetActiveSessionsDelta7d() int

GetActiveSessionsDelta7d returns the value of ActiveSessionsDelta7d.

func (*DashboardStats) GetActiveTunnels

func (s *DashboardStats) GetActiveTunnels() int

GetActiveTunnels returns the value of ActiveTunnels.

func (*DashboardStats) GetActiveWorkgroups

func (s *DashboardStats) GetActiveWorkgroups() int

GetActiveWorkgroups returns the value of ActiveWorkgroups.

func (*DashboardStats) GetEnvelopesToday

func (s *DashboardStats) GetEnvelopesToday() int

GetEnvelopesToday returns the value of EnvelopesToday.

func (*DashboardStats) GetEnvelopesYesterday

func (s *DashboardStats) GetEnvelopesYesterday() int

GetEnvelopesYesterday returns the value of EnvelopesYesterday.

func (*DashboardStats) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardStats) SetActiveSessions

func (s *DashboardStats) SetActiveSessions(val int)

SetActiveSessions sets the value of ActiveSessions.

func (*DashboardStats) SetActiveSessionsDelta7d

func (s *DashboardStats) SetActiveSessionsDelta7d(val int)

SetActiveSessionsDelta7d sets the value of ActiveSessionsDelta7d.

func (*DashboardStats) SetActiveTunnels

func (s *DashboardStats) SetActiveTunnels(val int)

SetActiveTunnels sets the value of ActiveTunnels.

func (*DashboardStats) SetActiveWorkgroups

func (s *DashboardStats) SetActiveWorkgroups(val int)

SetActiveWorkgroups sets the value of ActiveWorkgroups.

func (*DashboardStats) SetEnvelopesToday

func (s *DashboardStats) SetEnvelopesToday(val int)

SetEnvelopesToday sets the value of EnvelopesToday.

func (*DashboardStats) SetEnvelopesYesterday

func (s *DashboardStats) SetEnvelopesYesterday(val int)

SetEnvelopesYesterday sets the value of EnvelopesYesterday.

func (*DashboardStats) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardStats) Validate

func (s *DashboardStats) Validate() error

type DashboardSummaryResponse

type DashboardSummaryResponse struct {
	Account DashboardAccount `json:"account"`
	Stats   DashboardStats   `json:"stats"`
	Ribbon  DashboardRibbon  `json:"ribbon"`
}

Ref: #/dashboardSummaryResponse

func (*DashboardSummaryResponse) Decode

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

Decode decodes DashboardSummaryResponse from json.

func (*DashboardSummaryResponse) Encode

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

Encode implements json.Marshaler.

func (*DashboardSummaryResponse) GetAccount

GetAccount returns the value of Account.

func (*DashboardSummaryResponse) GetRibbon

GetRibbon returns the value of Ribbon.

func (*DashboardSummaryResponse) GetStats

GetStats returns the value of Stats.

func (*DashboardSummaryResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardSummaryResponse) SetAccount

func (s *DashboardSummaryResponse) SetAccount(val DashboardAccount)

SetAccount sets the value of Account.

func (*DashboardSummaryResponse) SetRibbon

func (s *DashboardSummaryResponse) SetRibbon(val DashboardRibbon)

SetRibbon sets the value of Ribbon.

func (*DashboardSummaryResponse) SetStats

func (s *DashboardSummaryResponse) SetStats(val DashboardStats)

SetStats sets the value of Stats.

func (*DashboardSummaryResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardSummaryResponse) Validate

func (s *DashboardSummaryResponse) Validate() error

type DashboardWindow

type DashboardWindow string

Ref: #/dashboardWindow

const (
	DashboardWindow24h DashboardWindow = "24h"
	DashboardWindow7d  DashboardWindow = "7d"
	DashboardWindow30d DashboardWindow = "30d"
)

func (DashboardWindow) AllValues

func (DashboardWindow) AllValues() []DashboardWindow

AllValues returns all DashboardWindow values.

func (DashboardWindow) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DashboardWindow) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DashboardWindow) Validate

func (s DashboardWindow) Validate() error

type DashboardWorkgroupActivity

type DashboardWorkgroupActivity struct {
	WorkgroupId   string `json:"workgroupId"`
	WorkgroupName string `json:"workgroupName"`
	Envelopes     int    `json:"envelopes"`
}

Ref: #/dashboardWorkgroupActivity

func (*DashboardWorkgroupActivity) Decode

Decode decodes DashboardWorkgroupActivity from json.

func (*DashboardWorkgroupActivity) Encode

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

Encode implements json.Marshaler.

func (*DashboardWorkgroupActivity) GetEnvelopes

func (s *DashboardWorkgroupActivity) GetEnvelopes() int

GetEnvelopes returns the value of Envelopes.

func (*DashboardWorkgroupActivity) GetWorkgroupId

func (s *DashboardWorkgroupActivity) GetWorkgroupId() string

GetWorkgroupId returns the value of WorkgroupId.

func (*DashboardWorkgroupActivity) GetWorkgroupName

func (s *DashboardWorkgroupActivity) GetWorkgroupName() string

GetWorkgroupName returns the value of WorkgroupName.

func (*DashboardWorkgroupActivity) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardWorkgroupActivity) SetEnvelopes

func (s *DashboardWorkgroupActivity) SetEnvelopes(val int)

SetEnvelopes sets the value of Envelopes.

func (*DashboardWorkgroupActivity) SetWorkgroupId

func (s *DashboardWorkgroupActivity) SetWorkgroupId(val string)

SetWorkgroupId sets the value of WorkgroupId.

func (*DashboardWorkgroupActivity) SetWorkgroupName

func (s *DashboardWorkgroupActivity) SetWorkgroupName(val string)

SetWorkgroupName sets the value of WorkgroupName.

func (*DashboardWorkgroupActivity) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardWorkgroupActivity) Validate

func (s *DashboardWorkgroupActivity) Validate() error

type DeclineWorkgroupInvitationBadRequest

type DeclineWorkgroupInvitationBadRequest Error

func (*DeclineWorkgroupInvitationBadRequest) Decode

Decode decodes DeclineWorkgroupInvitationBadRequest from json.

func (*DeclineWorkgroupInvitationBadRequest) Encode

Encode encodes DeclineWorkgroupInvitationBadRequest as json.

func (*DeclineWorkgroupInvitationBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeclineWorkgroupInvitationBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeclineWorkgroupInvitationConflict

type DeclineWorkgroupInvitationConflict Error

func (*DeclineWorkgroupInvitationConflict) Decode

Decode decodes DeclineWorkgroupInvitationConflict from json.

func (*DeclineWorkgroupInvitationConflict) Encode

Encode encodes DeclineWorkgroupInvitationConflict as json.

func (*DeclineWorkgroupInvitationConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeclineWorkgroupInvitationConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeclineWorkgroupInvitationInternalServerError

type DeclineWorkgroupInvitationInternalServerError Error

func (*DeclineWorkgroupInvitationInternalServerError) Decode

Decode decodes DeclineWorkgroupInvitationInternalServerError from json.

func (*DeclineWorkgroupInvitationInternalServerError) Encode

Encode encodes DeclineWorkgroupInvitationInternalServerError as json.

func (*DeclineWorkgroupInvitationInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DeclineWorkgroupInvitationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeclineWorkgroupInvitationNotFound

type DeclineWorkgroupInvitationNotFound Error

func (*DeclineWorkgroupInvitationNotFound) Decode

Decode decodes DeclineWorkgroupInvitationNotFound from json.

func (*DeclineWorkgroupInvitationNotFound) Encode

Encode encodes DeclineWorkgroupInvitationNotFound as json.

func (*DeclineWorkgroupInvitationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeclineWorkgroupInvitationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeclineWorkgroupInvitationParams

type DeclineWorkgroupInvitationParams struct {
	WorkgroupId    string
	OrganizationId string
}

DeclineWorkgroupInvitationParams is parameters of declineWorkgroupInvitation operation.

type DeclineWorkgroupInvitationRequest

type DeclineWorkgroupInvitationRequest struct {
	AcknowledgingAdminAccountId OptString `json:"acknowledgingAdminAccountId"`
}

Ref: #/declineWorkgroupInvitationRequest

func (*DeclineWorkgroupInvitationRequest) Decode

Decode decodes DeclineWorkgroupInvitationRequest from json.

func (*DeclineWorkgroupInvitationRequest) Encode

Encode implements json.Marshaler.

func (*DeclineWorkgroupInvitationRequest) GetAcknowledgingAdminAccountId

func (s *DeclineWorkgroupInvitationRequest) GetAcknowledgingAdminAccountId() OptString

GetAcknowledgingAdminAccountId returns the value of AcknowledgingAdminAccountId.

func (*DeclineWorkgroupInvitationRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeclineWorkgroupInvitationRequest) SetAcknowledgingAdminAccountId

func (s *DeclineWorkgroupInvitationRequest) SetAcknowledgingAdminAccountId(val OptString)

SetAcknowledgingAdminAccountId sets the value of AcknowledgingAdminAccountId.

func (*DeclineWorkgroupInvitationRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeclineWorkgroupInvitationRequest) Validate

type DeclineWorkgroupInvitationRes

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

type DeclineWorkgroupInvitationUnauthorized

type DeclineWorkgroupInvitationUnauthorized Error

func (*DeclineWorkgroupInvitationUnauthorized) Decode

Decode decodes DeclineWorkgroupInvitationUnauthorized from json.

func (*DeclineWorkgroupInvitationUnauthorized) Encode

Encode encodes DeclineWorkgroupInvitationUnauthorized as json.

func (*DeclineWorkgroupInvitationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeclineWorkgroupInvitationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteAccountConflict

type DeleteAccountConflict Error

func (*DeleteAccountConflict) Decode

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

Decode decodes DeleteAccountConflict from json.

func (*DeleteAccountConflict) Encode

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

Encode encodes DeleteAccountConflict as json.

func (*DeleteAccountConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAccountConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteAccountInternalServerError

type DeleteAccountInternalServerError Error

func (*DeleteAccountInternalServerError) Decode

Decode decodes DeleteAccountInternalServerError from json.

func (*DeleteAccountInternalServerError) Encode

Encode encodes DeleteAccountInternalServerError as json.

func (*DeleteAccountInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAccountInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteAccountNoContent

type DeleteAccountNoContent struct{}

DeleteAccountNoContent is response for DeleteAccount operation.

type DeleteAccountNotFound

type DeleteAccountNotFound Error

func (*DeleteAccountNotFound) Decode

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

Decode decodes DeleteAccountNotFound from json.

func (*DeleteAccountNotFound) Encode

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

Encode encodes DeleteAccountNotFound as json.

func (*DeleteAccountNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAccountNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteAccountParams

type DeleteAccountParams struct {
	OrganizationId string
	AccountId      string
}

DeleteAccountParams is parameters of deleteAccount operation.

type DeleteAccountRes

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

type DeleteAccountUnauthorized

type DeleteAccountUnauthorized Error

func (*DeleteAccountUnauthorized) Decode

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

Decode decodes DeleteAccountUnauthorized from json.

func (*DeleteAccountUnauthorized) Encode

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

Encode encodes DeleteAccountUnauthorized as json.

func (*DeleteAccountUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAccountUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteContractConflict

type DeleteContractConflict Error

func (*DeleteContractConflict) Decode

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

Decode decodes DeleteContractConflict from json.

func (*DeleteContractConflict) Encode

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

Encode encodes DeleteContractConflict as json.

func (*DeleteContractConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteContractConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteContractForbidden

type DeleteContractForbidden Error

func (*DeleteContractForbidden) Decode

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

Decode decodes DeleteContractForbidden from json.

func (*DeleteContractForbidden) Encode

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

Encode encodes DeleteContractForbidden as json.

func (*DeleteContractForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteContractForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteContractInternalServerError

type DeleteContractInternalServerError Error

func (*DeleteContractInternalServerError) Decode

Decode decodes DeleteContractInternalServerError from json.

func (*DeleteContractInternalServerError) Encode

Encode encodes DeleteContractInternalServerError as json.

func (*DeleteContractInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteContractInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteContractNoContent

type DeleteContractNoContent struct{}

DeleteContractNoContent is response for DeleteContract operation.

type DeleteContractNotFound

type DeleteContractNotFound Error

func (*DeleteContractNotFound) Decode

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

Decode decodes DeleteContractNotFound from json.

func (*DeleteContractNotFound) Encode

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

Encode encodes DeleteContractNotFound as json.

func (*DeleteContractNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteContractNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteContractParams

type DeleteContractParams struct {
	ContractId string
}

DeleteContractParams is parameters of deleteContract operation.

type DeleteContractRes

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

type DeleteContractUnauthorized

type DeleteContractUnauthorized Error

func (*DeleteContractUnauthorized) Decode

Decode decodes DeleteContractUnauthorized from json.

func (*DeleteContractUnauthorized) Encode

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

Encode encodes DeleteContractUnauthorized as json.

func (*DeleteContractUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteContractUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteOrganizationConflict

type DeleteOrganizationConflict Error

func (*DeleteOrganizationConflict) Decode

Decode decodes DeleteOrganizationConflict from json.

func (*DeleteOrganizationConflict) Encode

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

Encode encodes DeleteOrganizationConflict as json.

func (*DeleteOrganizationConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteOrganizationConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteOrganizationInternalServerError

type DeleteOrganizationInternalServerError Error

func (*DeleteOrganizationInternalServerError) Decode

Decode decodes DeleteOrganizationInternalServerError from json.

func (*DeleteOrganizationInternalServerError) Encode

Encode encodes DeleteOrganizationInternalServerError as json.

func (*DeleteOrganizationInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteOrganizationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteOrganizationNoContent

type DeleteOrganizationNoContent struct{}

DeleteOrganizationNoContent is response for DeleteOrganization operation.

type DeleteOrganizationNotFound

type DeleteOrganizationNotFound Error

func (*DeleteOrganizationNotFound) Decode

Decode decodes DeleteOrganizationNotFound from json.

func (*DeleteOrganizationNotFound) Encode

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

Encode encodes DeleteOrganizationNotFound as json.

func (*DeleteOrganizationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteOrganizationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteOrganizationParams

type DeleteOrganizationParams struct {
	OrganizationId string
}

DeleteOrganizationParams is parameters of deleteOrganization operation.

type DeleteOrganizationRes

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

type DeleteOrganizationUnauthorized

type DeleteOrganizationUnauthorized Error

func (*DeleteOrganizationUnauthorized) Decode

Decode decodes DeleteOrganizationUnauthorized from json.

func (*DeleteOrganizationUnauthorized) Encode

Encode encodes DeleteOrganizationUnauthorized as json.

func (*DeleteOrganizationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteOrganizationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelAttachmentInternalServerError

type DeleteTunnelAttachmentInternalServerError Error

func (*DeleteTunnelAttachmentInternalServerError) Decode

Decode decodes DeleteTunnelAttachmentInternalServerError from json.

func (*DeleteTunnelAttachmentInternalServerError) Encode

Encode encodes DeleteTunnelAttachmentInternalServerError as json.

func (*DeleteTunnelAttachmentInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelAttachmentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelAttachmentNoContent

type DeleteTunnelAttachmentNoContent struct{}

DeleteTunnelAttachmentNoContent is response for DeleteTunnelAttachment operation.

type DeleteTunnelAttachmentNotFound

type DeleteTunnelAttachmentNotFound Error

func (*DeleteTunnelAttachmentNotFound) Decode

Decode decodes DeleteTunnelAttachmentNotFound from json.

func (*DeleteTunnelAttachmentNotFound) Encode

Encode encodes DeleteTunnelAttachmentNotFound as json.

func (*DeleteTunnelAttachmentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelAttachmentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelAttachmentParams

type DeleteTunnelAttachmentParams struct {
	AttachmentId string
}

DeleteTunnelAttachmentParams is parameters of deleteTunnelAttachment operation.

type DeleteTunnelAttachmentRes

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

type DeleteTunnelAttachmentUnauthorized

type DeleteTunnelAttachmentUnauthorized Error

func (*DeleteTunnelAttachmentUnauthorized) Decode

Decode decodes DeleteTunnelAttachmentUnauthorized from json.

func (*DeleteTunnelAttachmentUnauthorized) Encode

Encode encodes DeleteTunnelAttachmentUnauthorized as json.

func (*DeleteTunnelAttachmentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelAttachmentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelInternalServerError

type DeleteTunnelInternalServerError Error

func (*DeleteTunnelInternalServerError) Decode

Decode decodes DeleteTunnelInternalServerError from json.

func (*DeleteTunnelInternalServerError) Encode

Encode encodes DeleteTunnelInternalServerError as json.

func (*DeleteTunnelInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelNoContent

type DeleteTunnelNoContent struct{}

DeleteTunnelNoContent is response for DeleteTunnel operation.

type DeleteTunnelNotFound

type DeleteTunnelNotFound Error

func (*DeleteTunnelNotFound) Decode

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

Decode decodes DeleteTunnelNotFound from json.

func (*DeleteTunnelNotFound) Encode

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

Encode encodes DeleteTunnelNotFound as json.

func (*DeleteTunnelNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelParams

type DeleteTunnelParams struct {
	TunnelId string
}

DeleteTunnelParams is parameters of deleteTunnel operation.

type DeleteTunnelRes

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

type DeleteTunnelServeInternalServerError

type DeleteTunnelServeInternalServerError Error

func (*DeleteTunnelServeInternalServerError) Decode

Decode decodes DeleteTunnelServeInternalServerError from json.

func (*DeleteTunnelServeInternalServerError) Encode

Encode encodes DeleteTunnelServeInternalServerError as json.

func (*DeleteTunnelServeInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelServeInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelServeNoContent

type DeleteTunnelServeNoContent struct{}

DeleteTunnelServeNoContent is response for DeleteTunnelServe operation.

type DeleteTunnelServeNotFound

type DeleteTunnelServeNotFound Error

func (*DeleteTunnelServeNotFound) Decode

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

Decode decodes DeleteTunnelServeNotFound from json.

func (*DeleteTunnelServeNotFound) Encode

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

Encode encodes DeleteTunnelServeNotFound as json.

func (*DeleteTunnelServeNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelServeNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelServeParams

type DeleteTunnelServeParams struct {
	ServeId string
}

DeleteTunnelServeParams is parameters of deleteTunnelServe operation.

type DeleteTunnelServeRes

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

type DeleteTunnelServeUnauthorized

type DeleteTunnelServeUnauthorized Error

func (*DeleteTunnelServeUnauthorized) Decode

Decode decodes DeleteTunnelServeUnauthorized from json.

func (*DeleteTunnelServeUnauthorized) Encode

Encode encodes DeleteTunnelServeUnauthorized as json.

func (*DeleteTunnelServeUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelServeUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTunnelUnauthorized

type DeleteTunnelUnauthorized Error

func (*DeleteTunnelUnauthorized) Decode

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

Decode decodes DeleteTunnelUnauthorized from json.

func (*DeleteTunnelUnauthorized) Encode

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

Encode encodes DeleteTunnelUnauthorized as json.

func (*DeleteTunnelUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTunnelUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWorkgroupForbidden

type DeleteWorkgroupForbidden Error

func (*DeleteWorkgroupForbidden) Decode

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

Decode decodes DeleteWorkgroupForbidden from json.

func (*DeleteWorkgroupForbidden) Encode

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

Encode encodes DeleteWorkgroupForbidden as json.

func (*DeleteWorkgroupForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteWorkgroupForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWorkgroupInternalServerError

type DeleteWorkgroupInternalServerError Error

func (*DeleteWorkgroupInternalServerError) Decode

Decode decodes DeleteWorkgroupInternalServerError from json.

func (*DeleteWorkgroupInternalServerError) Encode

Encode encodes DeleteWorkgroupInternalServerError as json.

func (*DeleteWorkgroupInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteWorkgroupInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWorkgroupNoContent

type DeleteWorkgroupNoContent struct{}

DeleteWorkgroupNoContent is response for DeleteWorkgroup operation.

type DeleteWorkgroupNotFound

type DeleteWorkgroupNotFound Error

func (*DeleteWorkgroupNotFound) Decode

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

Decode decodes DeleteWorkgroupNotFound from json.

func (*DeleteWorkgroupNotFound) Encode

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

Encode encodes DeleteWorkgroupNotFound as json.

func (*DeleteWorkgroupNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteWorkgroupNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWorkgroupParams

type DeleteWorkgroupParams struct {
	WorkgroupId string
}

DeleteWorkgroupParams is parameters of deleteWorkgroup operation.

type DeleteWorkgroupRes

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

type DeleteWorkgroupUnauthorized

type DeleteWorkgroupUnauthorized Error

func (*DeleteWorkgroupUnauthorized) Decode

Decode decodes DeleteWorkgroupUnauthorized from json.

func (*DeleteWorkgroupUnauthorized) Encode

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

Encode encodes DeleteWorkgroupUnauthorized as json.

func (*DeleteWorkgroupUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteWorkgroupUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DisableEnvironmentInternalServerError

type DisableEnvironmentInternalServerError Error

func (*DisableEnvironmentInternalServerError) Decode

Decode decodes DisableEnvironmentInternalServerError from json.

func (*DisableEnvironmentInternalServerError) Encode

Encode encodes DisableEnvironmentInternalServerError as json.

func (*DisableEnvironmentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DisableEnvironmentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DisableEnvironmentNoContent

type DisableEnvironmentNoContent struct{}

DisableEnvironmentNoContent is response for DisableEnvironment operation.

type DisableEnvironmentNotFound

type DisableEnvironmentNotFound Error

func (*DisableEnvironmentNotFound) Decode

Decode decodes DisableEnvironmentNotFound from json.

func (*DisableEnvironmentNotFound) Encode

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

Encode encodes DisableEnvironmentNotFound as json.

func (*DisableEnvironmentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DisableEnvironmentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DisableEnvironmentParams

type DisableEnvironmentParams struct {
	EnvironmentId string
}

DisableEnvironmentParams is parameters of disableEnvironment operation.

type DisableEnvironmentRes

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

type DisableEnvironmentUnauthorized

type DisableEnvironmentUnauthorized Error

func (*DisableEnvironmentUnauthorized) Decode

Decode decodes DisableEnvironmentUnauthorized from json.

func (*DisableEnvironmentUnauthorized) Encode

Encode encodes DisableEnvironmentUnauthorized as json.

func (*DisableEnvironmentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DisableEnvironmentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EnableEnvironmentConflict

type EnableEnvironmentConflict Error

func (*EnableEnvironmentConflict) Decode

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

Decode decodes EnableEnvironmentConflict from json.

func (*EnableEnvironmentConflict) Encode

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

Encode encodes EnableEnvironmentConflict as json.

func (*EnableEnvironmentConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EnableEnvironmentConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EnableEnvironmentInternalServerError

type EnableEnvironmentInternalServerError Error

func (*EnableEnvironmentInternalServerError) Decode

Decode decodes EnableEnvironmentInternalServerError from json.

func (*EnableEnvironmentInternalServerError) Encode

Encode encodes EnableEnvironmentInternalServerError as json.

func (*EnableEnvironmentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EnableEnvironmentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EnableEnvironmentRequest

type EnableEnvironmentRequest struct {
	Description OptString `json:"description"`
	Host        OptString `json:"host"`
}

Ref: #/enableEnvironmentRequest

func (*EnableEnvironmentRequest) Decode

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

Decode decodes EnableEnvironmentRequest from json.

func (*EnableEnvironmentRequest) Encode

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

Encode implements json.Marshaler.

func (*EnableEnvironmentRequest) GetDescription

func (s *EnableEnvironmentRequest) GetDescription() OptString

GetDescription returns the value of Description.

func (*EnableEnvironmentRequest) GetHost

func (s *EnableEnvironmentRequest) GetHost() OptString

GetHost returns the value of Host.

func (*EnableEnvironmentRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EnableEnvironmentRequest) SetDescription

func (s *EnableEnvironmentRequest) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*EnableEnvironmentRequest) SetHost

func (s *EnableEnvironmentRequest) SetHost(val OptString)

SetHost sets the value of Host.

func (*EnableEnvironmentRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EnableEnvironmentRes

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

type EnableEnvironmentResponse

type EnableEnvironmentResponse struct {
	Environment    Environment `json:"environment"`
	EnrollmentJson string      `json:"enrollmentJson"`
}

Ref: #/enableEnvironmentResponse

func (*EnableEnvironmentResponse) Decode

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

Decode decodes EnableEnvironmentResponse from json.

func (*EnableEnvironmentResponse) Encode

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

Encode implements json.Marshaler.

func (*EnableEnvironmentResponse) GetEnrollmentJson

func (s *EnableEnvironmentResponse) GetEnrollmentJson() string

GetEnrollmentJson returns the value of EnrollmentJson.

func (*EnableEnvironmentResponse) GetEnvironment

func (s *EnableEnvironmentResponse) GetEnvironment() Environment

GetEnvironment returns the value of Environment.

func (*EnableEnvironmentResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EnableEnvironmentResponse) SetEnrollmentJson

func (s *EnableEnvironmentResponse) SetEnrollmentJson(val string)

SetEnrollmentJson sets the value of EnrollmentJson.

func (*EnableEnvironmentResponse) SetEnvironment

func (s *EnableEnvironmentResponse) SetEnvironment(val Environment)

SetEnvironment sets the value of Environment.

func (*EnableEnvironmentResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnableEnvironmentResponse) Validate

func (s *EnableEnvironmentResponse) Validate() error

type EnableEnvironmentUnauthorized

type EnableEnvironmentUnauthorized Error

func (*EnableEnvironmentUnauthorized) Decode

Decode decodes EnableEnvironmentUnauthorized from json.

func (*EnableEnvironmentUnauthorized) Encode

Encode encodes EnableEnvironmentUnauthorized as json.

func (*EnableEnvironmentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EnableEnvironmentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Environment

type Environment struct {
	ID             string           `json:"id"`
	OrganizationId string           `json:"organizationId"`
	AccountId      string           `json:"accountId"`
	Description    OptString        `json:"description"`
	Host           OptString        `json:"host"`
	ZitiIdentityId string           `json:"zitiIdentityId"`
	State          EnvironmentState `json:"state"`
	LastSeenAt     OptDateTime      `json:"lastSeenAt"`
	CreatedAt      time.Time        `json:"createdAt"`
	UpdatedAt      time.Time        `json:"updatedAt"`
}

Ref: #/environment

func (*Environment) Decode

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

Decode decodes Environment from json.

func (*Environment) Encode

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

Encode implements json.Marshaler.

func (*Environment) GetAccountId

func (s *Environment) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*Environment) GetCreatedAt

func (s *Environment) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Environment) GetDescription

func (s *Environment) GetDescription() OptString

GetDescription returns the value of Description.

func (*Environment) GetHost

func (s *Environment) GetHost() OptString

GetHost returns the value of Host.

func (*Environment) GetID

func (s *Environment) GetID() string

GetID returns the value of ID.

func (*Environment) GetLastSeenAt

func (s *Environment) GetLastSeenAt() OptDateTime

GetLastSeenAt returns the value of LastSeenAt.

func (*Environment) GetOrganizationId

func (s *Environment) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*Environment) GetState

func (s *Environment) GetState() EnvironmentState

GetState returns the value of State.

func (*Environment) GetUpdatedAt

func (s *Environment) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Environment) GetZitiIdentityId

func (s *Environment) GetZitiIdentityId() string

GetZitiIdentityId returns the value of ZitiIdentityId.

func (*Environment) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Environment) SetAccountId

func (s *Environment) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*Environment) SetCreatedAt

func (s *Environment) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Environment) SetDescription

func (s *Environment) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Environment) SetHost

func (s *Environment) SetHost(val OptString)

SetHost sets the value of Host.

func (*Environment) SetID

func (s *Environment) SetID(val string)

SetID sets the value of ID.

func (*Environment) SetLastSeenAt

func (s *Environment) SetLastSeenAt(val OptDateTime)

SetLastSeenAt sets the value of LastSeenAt.

func (*Environment) SetOrganizationId

func (s *Environment) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*Environment) SetState

func (s *Environment) SetState(val EnvironmentState)

SetState sets the value of State.

func (*Environment) SetUpdatedAt

func (s *Environment) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Environment) SetZitiIdentityId

func (s *Environment) SetZitiIdentityId(val string)

SetZitiIdentityId sets the value of ZitiIdentityId.

func (*Environment) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Environment) Validate

func (s *Environment) Validate() error

type EnvironmentState

type EnvironmentState string
const (
	EnvironmentStateEnabled  EnvironmentState = "enabled"
	EnvironmentStateDisabled EnvironmentState = "disabled"
)

func (EnvironmentState) AllValues

func (EnvironmentState) AllValues() []EnvironmentState

AllValues returns all EnvironmentState values.

func (*EnvironmentState) Decode

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

Decode decodes EnvironmentState from json.

func (EnvironmentState) Encode

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

Encode encodes EnvironmentState as json.

func (EnvironmentState) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (EnvironmentState) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*EnvironmentState) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EnvironmentState) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EnvironmentState) Validate

func (s EnvironmentState) Validate() error

type Error

type Error struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

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

func (s *Error) GetCode() string

GetCode returns the value of Code.

func (*Error) GetMessage

func (s *Error) GetMessage() string

GetMessage returns the value of Message.

func (*Error) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Error) SetCode

func (s *Error) SetCode(val string)

SetCode sets the value of Code.

func (*Error) SetMessage

func (s *Error) SetMessage(val string)

SetMessage sets the value of Message.

func (*Error) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type GetAdvertisementInternalServerError

type GetAdvertisementInternalServerError Error

func (*GetAdvertisementInternalServerError) Decode

Decode decodes GetAdvertisementInternalServerError from json.

func (*GetAdvertisementInternalServerError) Encode

Encode encodes GetAdvertisementInternalServerError as json.

func (*GetAdvertisementInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAdvertisementInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetAdvertisementNotFound

type GetAdvertisementNotFound Error

func (*GetAdvertisementNotFound) Decode

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

Decode decodes GetAdvertisementNotFound from json.

func (*GetAdvertisementNotFound) Encode

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

Encode encodes GetAdvertisementNotFound as json.

func (*GetAdvertisementNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAdvertisementNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetAdvertisementParams

type GetAdvertisementParams struct {
	AdvertisementId string
}

GetAdvertisementParams is parameters of getAdvertisement operation.

type GetAdvertisementRes

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

type GetAdvertisementUnauthorized

type GetAdvertisementUnauthorized Error

func (*GetAdvertisementUnauthorized) Decode

Decode decodes GetAdvertisementUnauthorized from json.

func (*GetAdvertisementUnauthorized) Encode

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

Encode encodes GetAdvertisementUnauthorized as json.

func (*GetAdvertisementUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAdvertisementUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetContractInternalServerError

type GetContractInternalServerError Error

func (*GetContractInternalServerError) Decode

Decode decodes GetContractInternalServerError from json.

func (*GetContractInternalServerError) Encode

Encode encodes GetContractInternalServerError as json.

func (*GetContractInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetContractInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetContractNotFound

type GetContractNotFound Error

func (*GetContractNotFound) Decode

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

Decode decodes GetContractNotFound from json.

func (*GetContractNotFound) Encode

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

Encode encodes GetContractNotFound as json.

func (*GetContractNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetContractNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetContractParams

type GetContractParams struct {
	ContractId string
}

GetContractParams is parameters of getContract operation.

type GetContractRes

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

type GetContractUnauthorized

type GetContractUnauthorized Error

func (*GetContractUnauthorized) Decode

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

Decode decodes GetContractUnauthorized from json.

func (*GetContractUnauthorized) Encode

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

Encode encodes GetContractUnauthorized as json.

func (*GetContractUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetContractUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDashboardActivityBadRequest

type GetDashboardActivityBadRequest Error

func (*GetDashboardActivityBadRequest) Decode

Decode decodes GetDashboardActivityBadRequest from json.

func (*GetDashboardActivityBadRequest) Encode

Encode encodes GetDashboardActivityBadRequest as json.

func (*GetDashboardActivityBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDashboardActivityBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDashboardActivityInternalServerError

type GetDashboardActivityInternalServerError Error

func (*GetDashboardActivityInternalServerError) Decode

Decode decodes GetDashboardActivityInternalServerError from json.

func (*GetDashboardActivityInternalServerError) Encode

Encode encodes GetDashboardActivityInternalServerError as json.

func (*GetDashboardActivityInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDashboardActivityInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDashboardActivityParams

type GetDashboardActivityParams struct {
	Window OptDashboardWindow
	Bucket OptDashboardBucket
}

GetDashboardActivityParams is parameters of getDashboardActivity operation.

type GetDashboardActivityRes

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

type GetDashboardActivityUnauthorized

type GetDashboardActivityUnauthorized Error

func (*GetDashboardActivityUnauthorized) Decode

Decode decodes GetDashboardActivityUnauthorized from json.

func (*GetDashboardActivityUnauthorized) Encode

Encode encodes GetDashboardActivityUnauthorized as json.

func (*GetDashboardActivityUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDashboardActivityUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDashboardEnvironmentsInternalServerError

type GetDashboardEnvironmentsInternalServerError Error

func (*GetDashboardEnvironmentsInternalServerError) Decode

Decode decodes GetDashboardEnvironmentsInternalServerError from json.

func (*GetDashboardEnvironmentsInternalServerError) Encode

Encode encodes GetDashboardEnvironmentsInternalServerError as json.

func (*GetDashboardEnvironmentsInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetDashboardEnvironmentsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDashboardEnvironmentsRes

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

type GetDashboardEnvironmentsUnauthorized

type GetDashboardEnvironmentsUnauthorized Error

func (*GetDashboardEnvironmentsUnauthorized) Decode

Decode decodes GetDashboardEnvironmentsUnauthorized from json.

func (*GetDashboardEnvironmentsUnauthorized) Encode

Encode encodes GetDashboardEnvironmentsUnauthorized as json.

func (*GetDashboardEnvironmentsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDashboardEnvironmentsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDashboardSummaryInternalServerError

type GetDashboardSummaryInternalServerError Error

func (*GetDashboardSummaryInternalServerError) Decode

Decode decodes GetDashboardSummaryInternalServerError from json.

func (*GetDashboardSummaryInternalServerError) Encode

Encode encodes GetDashboardSummaryInternalServerError as json.

func (*GetDashboardSummaryInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDashboardSummaryInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDashboardSummaryRes

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

type GetDashboardSummaryUnauthorized

type GetDashboardSummaryUnauthorized Error

func (*GetDashboardSummaryUnauthorized) Decode

Decode decodes GetDashboardSummaryUnauthorized from json.

func (*GetDashboardSummaryUnauthorized) Encode

Encode encodes GetDashboardSummaryUnauthorized as json.

func (*GetDashboardSummaryUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDashboardSummaryUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetEnvironmentInternalServerError

type GetEnvironmentInternalServerError Error

func (*GetEnvironmentInternalServerError) Decode

Decode decodes GetEnvironmentInternalServerError from json.

func (*GetEnvironmentInternalServerError) Encode

Encode encodes GetEnvironmentInternalServerError as json.

func (*GetEnvironmentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetEnvironmentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetEnvironmentNotFound

type GetEnvironmentNotFound Error

func (*GetEnvironmentNotFound) Decode

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

Decode decodes GetEnvironmentNotFound from json.

func (*GetEnvironmentNotFound) Encode

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

Encode encodes GetEnvironmentNotFound as json.

func (*GetEnvironmentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetEnvironmentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetEnvironmentParams

type GetEnvironmentParams struct {
	EnvironmentId string
}

GetEnvironmentParams is parameters of getEnvironment operation.

type GetEnvironmentRes

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

type GetEnvironmentUnauthorized

type GetEnvironmentUnauthorized Error

func (*GetEnvironmentUnauthorized) Decode

Decode decodes GetEnvironmentUnauthorized from json.

func (*GetEnvironmentUnauthorized) Encode

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

Encode encodes GetEnvironmentUnauthorized as json.

func (*GetEnvironmentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetEnvironmentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSessionInternalServerError

type GetSessionInternalServerError Error

func (*GetSessionInternalServerError) Decode

Decode decodes GetSessionInternalServerError from json.

func (*GetSessionInternalServerError) Encode

Encode encodes GetSessionInternalServerError as json.

func (*GetSessionInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetSessionInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSessionNotFound

type GetSessionNotFound Error

func (*GetSessionNotFound) Decode

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

Decode decodes GetSessionNotFound from json.

func (*GetSessionNotFound) Encode

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

Encode encodes GetSessionNotFound as json.

func (*GetSessionNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetSessionNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSessionParams

type GetSessionParams struct {
	SessionId string
}

GetSessionParams is parameters of getSession operation.

type GetSessionRes

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

type GetSessionUnauthorized

type GetSessionUnauthorized Error

func (*GetSessionUnauthorized) Decode

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

Decode decodes GetSessionUnauthorized from json.

func (*GetSessionUnauthorized) Encode

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

Encode encodes GetSessionUnauthorized as json.

func (*GetSessionUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetSessionUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTunnelInternalServerError

type GetTunnelInternalServerError Error

func (*GetTunnelInternalServerError) Decode

Decode decodes GetTunnelInternalServerError from json.

func (*GetTunnelInternalServerError) Encode

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

Encode encodes GetTunnelInternalServerError as json.

func (*GetTunnelInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetTunnelInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTunnelNotFound

type GetTunnelNotFound Error

func (*GetTunnelNotFound) Decode

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

Decode decodes GetTunnelNotFound from json.

func (*GetTunnelNotFound) Encode

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

Encode encodes GetTunnelNotFound as json.

func (*GetTunnelNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetTunnelNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTunnelParams

type GetTunnelParams struct {
	TunnelId string
}

GetTunnelParams is parameters of getTunnel operation.

type GetTunnelRes

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

type GetTunnelServeInternalServerError

type GetTunnelServeInternalServerError Error

func (*GetTunnelServeInternalServerError) Decode

Decode decodes GetTunnelServeInternalServerError from json.

func (*GetTunnelServeInternalServerError) Encode

Encode encodes GetTunnelServeInternalServerError as json.

func (*GetTunnelServeInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetTunnelServeInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTunnelServeNotFound

type GetTunnelServeNotFound Error

func (*GetTunnelServeNotFound) Decode

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

Decode decodes GetTunnelServeNotFound from json.

func (*GetTunnelServeNotFound) Encode

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

Encode encodes GetTunnelServeNotFound as json.

func (*GetTunnelServeNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetTunnelServeNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTunnelServeParams

type GetTunnelServeParams struct {
	TunnelId string
}

GetTunnelServeParams is parameters of getTunnelServe operation.

type GetTunnelServeRes

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

type GetTunnelServeUnauthorized

type GetTunnelServeUnauthorized Error

func (*GetTunnelServeUnauthorized) Decode

Decode decodes GetTunnelServeUnauthorized from json.

func (*GetTunnelServeUnauthorized) Encode

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

Encode encodes GetTunnelServeUnauthorized as json.

func (*GetTunnelServeUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetTunnelServeUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTunnelUnauthorized

type GetTunnelUnauthorized Error

func (*GetTunnelUnauthorized) Decode

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

Decode decodes GetTunnelUnauthorized from json.

func (*GetTunnelUnauthorized) Encode

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

Encode encodes GetTunnelUnauthorized as json.

func (*GetTunnelUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetTunnelUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkgroupInternalServerError

type GetWorkgroupInternalServerError Error

func (*GetWorkgroupInternalServerError) Decode

Decode decodes GetWorkgroupInternalServerError from json.

func (*GetWorkgroupInternalServerError) Encode

Encode encodes GetWorkgroupInternalServerError as json.

func (*GetWorkgroupInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkgroupInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkgroupNotFound

type GetWorkgroupNotFound Error

func (*GetWorkgroupNotFound) Decode

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

Decode decodes GetWorkgroupNotFound from json.

func (*GetWorkgroupNotFound) Encode

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

Encode encodes GetWorkgroupNotFound as json.

func (*GetWorkgroupNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkgroupNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkgroupParams

type GetWorkgroupParams struct {
	WorkgroupId string
}

GetWorkgroupParams is parameters of getWorkgroup operation.

type GetWorkgroupRes

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

type GetWorkgroupUnauthorized

type GetWorkgroupUnauthorized Error

func (*GetWorkgroupUnauthorized) Decode

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

Decode decodes GetWorkgroupUnauthorized from json.

func (*GetWorkgroupUnauthorized) Encode

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

Encode encodes GetWorkgroupUnauthorized as json.

func (*GetWorkgroupUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkgroupUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkgroupsActivityBadRequest

type GetWorkgroupsActivityBadRequest Error

func (*GetWorkgroupsActivityBadRequest) Decode

Decode decodes GetWorkgroupsActivityBadRequest from json.

func (*GetWorkgroupsActivityBadRequest) Encode

Encode encodes GetWorkgroupsActivityBadRequest as json.

func (*GetWorkgroupsActivityBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkgroupsActivityBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkgroupsActivityInternalServerError

type GetWorkgroupsActivityInternalServerError Error

func (*GetWorkgroupsActivityInternalServerError) Decode

Decode decodes GetWorkgroupsActivityInternalServerError from json.

func (*GetWorkgroupsActivityInternalServerError) Encode

Encode encodes GetWorkgroupsActivityInternalServerError as json.

func (*GetWorkgroupsActivityInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkgroupsActivityInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkgroupsActivityParams

type GetWorkgroupsActivityParams struct {
	Window OptDashboardWindow
}

GetWorkgroupsActivityParams is parameters of getWorkgroupsActivity operation.

type GetWorkgroupsActivityRes

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

type GetWorkgroupsActivityUnauthorized

type GetWorkgroupsActivityUnauthorized Error

func (*GetWorkgroupsActivityUnauthorized) Decode

Decode decodes GetWorkgroupsActivityUnauthorized from json.

func (*GetWorkgroupsActivityUnauthorized) Encode

Encode encodes GetWorkgroupsActivityUnauthorized as json.

func (*GetWorkgroupsActivityUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkgroupsActivityUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Handler

type Handler interface {
	// AcceptSession implements acceptSession operation.
	//
	// POST /sessions/{sessionId}/accept
	AcceptSession(ctx context.Context, req *AcceptSessionRequest, params AcceptSessionParams) (AcceptSessionRes, error)
	// AcceptWorkgroupInvitation implements acceptWorkgroupInvitation operation.
	//
	// POST /admin/workgroups/{workgroupId}/invitations/{organizationId}/accept
	AcceptWorkgroupInvitation(ctx context.Context, req *AcceptWorkgroupInvitationRequest, params AcceptWorkgroupInvitationParams) (AcceptWorkgroupInvitationRes, error)
	// AddTunnelGrant implements addTunnelGrant operation.
	//
	// POST /tunnels/{tunnelId}/grants
	AddTunnelGrant(ctx context.Context, req *AddTunnelGrantRequest, params AddTunnelGrantParams) (AddTunnelGrantRes, error)
	// AddWorkgroupMember implements addWorkgroupMember operation.
	//
	// POST /workgroups/{workgroupId}/members
	AddWorkgroupMember(ctx context.Context, req *AddWorkgroupMemberRequest, params AddWorkgroupMemberParams) (AddWorkgroupMemberRes, error)
	// AdminCloseSession implements adminCloseSession operation.
	//
	// POST /admin/sessions/{sessionId}/close
	AdminCloseSession(ctx context.Context, req OptCloseSessionRequest, params AdminCloseSessionParams) (AdminCloseSessionRes, error)
	// ChangePassword implements changePassword operation.
	//
	// POST /account/change-password
	ChangePassword(ctx context.Context, req *ChangePasswordRequest) (ChangePasswordRes, error)
	// ChangeWorkgroupMembershipRole implements changeWorkgroupMembershipRole operation.
	//
	// PATCH /workgroups/{workgroupId}/members/{membershipId}
	ChangeWorkgroupMembershipRole(ctx context.Context, req *ChangeWorkgroupMembershipRoleRequest, params ChangeWorkgroupMembershipRoleParams) (ChangeWorkgroupMembershipRoleRes, error)
	// CloseSession implements closeSession operation.
	//
	// POST /sessions/{sessionId}/close
	CloseSession(ctx context.Context, req OptCloseSessionRequest, params CloseSessionParams) (CloseSessionRes, error)
	// ConnectTunnel implements connectTunnel operation.
	//
	// POST /tunnels/connect
	ConnectTunnel(ctx context.Context, req *ConnectTunnelRequest) (ConnectTunnelRes, error)
	// CreateAccount implements createAccount operation.
	//
	// POST /organizations/{organizationId}/accounts
	CreateAccount(ctx context.Context, req *CreateAccountRequest, params CreateAccountParams) (CreateAccountRes, error)
	// CreateContract implements createContract operation.
	//
	// POST /contracts
	CreateContract(ctx context.Context, req *CreateContractRequest) (CreateContractRes, error)
	// CreateOrganization implements createOrganization operation.
	//
	// POST /organizations
	CreateOrganization(ctx context.Context, req *CreateOrganizationRequest) (CreateOrganizationRes, error)
	// CreateTunnel implements createTunnel operation.
	//
	// POST /tunnels
	CreateTunnel(ctx context.Context, req *CreateTunnelRequest) (CreateTunnelRes, error)
	// CreateWorkgroup implements createWorkgroup operation.
	//
	// POST /admin/workgroups
	CreateWorkgroup(ctx context.Context, req *CreateWorkgroupRequest) (CreateWorkgroupRes, error)
	// DeclineWorkgroupInvitation implements declineWorkgroupInvitation operation.
	//
	// POST /admin/workgroups/{workgroupId}/invitations/{organizationId}/decline
	DeclineWorkgroupInvitation(ctx context.Context, req *DeclineWorkgroupInvitationRequest, params DeclineWorkgroupInvitationParams) (DeclineWorkgroupInvitationRes, error)
	// DeleteAccount implements deleteAccount operation.
	//
	// DELETE /organizations/{organizationId}/accounts/{accountId}
	DeleteAccount(ctx context.Context, params DeleteAccountParams) (DeleteAccountRes, error)
	// DeleteContract implements deleteContract operation.
	//
	// DELETE /contracts/{contractId}
	DeleteContract(ctx context.Context, params DeleteContractParams) (DeleteContractRes, error)
	// DeleteOrganization implements deleteOrganization operation.
	//
	// DELETE /organizations/{organizationId}
	DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (DeleteOrganizationRes, error)
	// DeleteTunnel implements deleteTunnel operation.
	//
	// DELETE /tunnels/{tunnelId}
	DeleteTunnel(ctx context.Context, params DeleteTunnelParams) (DeleteTunnelRes, error)
	// DeleteTunnelAttachment implements deleteTunnelAttachment operation.
	//
	// DELETE /tunnel-attachments/{attachmentId}
	DeleteTunnelAttachment(ctx context.Context, params DeleteTunnelAttachmentParams) (DeleteTunnelAttachmentRes, error)
	// DeleteTunnelServe implements deleteTunnelServe operation.
	//
	// DELETE /tunnel-serves/{serveId}
	DeleteTunnelServe(ctx context.Context, params DeleteTunnelServeParams) (DeleteTunnelServeRes, error)
	// DeleteWorkgroup implements deleteWorkgroup operation.
	//
	// DELETE /workgroups/{workgroupId}
	DeleteWorkgroup(ctx context.Context, params DeleteWorkgroupParams) (DeleteWorkgroupRes, error)
	// DisableEnvironment implements disableEnvironment operation.
	//
	// DELETE /environments/{environmentId}/heartbeat
	DisableEnvironment(ctx context.Context, params DisableEnvironmentParams) (DisableEnvironmentRes, error)
	// EnableEnvironment implements enableEnvironment operation.
	//
	// POST /environments
	EnableEnvironment(ctx context.Context, req *EnableEnvironmentRequest) (EnableEnvironmentRes, error)
	// GetAdvertisement implements getAdvertisement operation.
	//
	// GET /advertisements/{advertisementId}
	GetAdvertisement(ctx context.Context, params GetAdvertisementParams) (GetAdvertisementRes, error)
	// GetContract implements getContract operation.
	//
	// GET /contracts/{contractId}
	GetContract(ctx context.Context, params GetContractParams) (GetContractRes, error)
	// GetDashboardActivity implements getDashboardActivity operation.
	//
	// GET /dashboard/activity
	GetDashboardActivity(ctx context.Context, params GetDashboardActivityParams) (GetDashboardActivityRes, error)
	// GetDashboardEnvironments implements getDashboardEnvironments operation.
	//
	// GET /dashboard/environments
	GetDashboardEnvironments(ctx context.Context) (GetDashboardEnvironmentsRes, error)
	// GetDashboardSummary implements getDashboardSummary operation.
	//
	// GET /dashboard/summary
	GetDashboardSummary(ctx context.Context) (GetDashboardSummaryRes, error)
	// GetEnvironment implements getEnvironment operation.
	//
	// GET /environments/{environmentId}
	GetEnvironment(ctx context.Context, params GetEnvironmentParams) (GetEnvironmentRes, error)
	// GetSession implements getSession operation.
	//
	// GET /sessions/{sessionId}
	GetSession(ctx context.Context, params GetSessionParams) (GetSessionRes, error)
	// GetTunnel implements getTunnel operation.
	//
	// GET /tunnels/{tunnelId}
	GetTunnel(ctx context.Context, params GetTunnelParams) (GetTunnelRes, error)
	// GetTunnelServe implements getTunnelServe operation.
	//
	// GET /tunnels/{tunnelId}/serve
	GetTunnelServe(ctx context.Context, params GetTunnelServeParams) (GetTunnelServeRes, error)
	// GetWorkgroup implements getWorkgroup operation.
	//
	// GET /workgroups/{workgroupId}
	GetWorkgroup(ctx context.Context, params GetWorkgroupParams) (GetWorkgroupRes, error)
	// GetWorkgroupsActivity implements getWorkgroupsActivity operation.
	//
	// GET /dashboard/workgroups-activity
	GetWorkgroupsActivity(ctx context.Context, params GetWorkgroupsActivityParams) (GetWorkgroupsActivityRes, error)
	// HeartbeatEnvironment implements heartbeatEnvironment operation.
	//
	// POST /environments/{environmentId}/heartbeat
	HeartbeatEnvironment(ctx context.Context, params HeartbeatEnvironmentParams) (HeartbeatEnvironmentRes, error)
	// HeartbeatTunnelAttachment implements heartbeatTunnelAttachment operation.
	//
	// POST /tunnel-attachments/{attachmentId}/heartbeat
	HeartbeatTunnelAttachment(ctx context.Context, params HeartbeatTunnelAttachmentParams) (HeartbeatTunnelAttachmentRes, error)
	// HeartbeatTunnelServe implements heartbeatTunnelServe operation.
	//
	// POST /tunnel-serves/{serveId}/heartbeat
	HeartbeatTunnelServe(ctx context.Context, params HeartbeatTunnelServeParams) (HeartbeatTunnelServeRes, error)
	// ListAccounts implements listAccounts operation.
	//
	// GET /organizations/{organizationId}/accounts
	ListAccounts(ctx context.Context, params ListAccountsParams) (ListAccountsRes, error)
	// ListAdminWorkgroups implements listAdminWorkgroups operation.
	//
	// GET /admin/workgroups
	ListAdminWorkgroups(ctx context.Context, params ListAdminWorkgroupsParams) (ListAdminWorkgroupsRes, error)
	// ListAdvertisements implements listAdvertisements operation.
	//
	// GET /advertisements
	ListAdvertisements(ctx context.Context, params ListAdvertisementsParams) (ListAdvertisementsRes, error)
	// ListAuditEvents implements listAuditEvents operation.
	//
	// GET /audit-events
	ListAuditEvents(ctx context.Context, params ListAuditEventsParams) (ListAuditEventsRes, error)
	// ListContracts implements listContracts operation.
	//
	// GET /contracts
	ListContracts(ctx context.Context) (ListContractsRes, error)
	// ListEnvironments implements listEnvironments operation.
	//
	// GET /environments
	ListEnvironments(ctx context.Context) (ListEnvironmentsRes, error)
	// ListOrganizations implements listOrganizations operation.
	//
	// GET /organizations
	ListOrganizations(ctx context.Context) (ListOrganizationsRes, error)
	// ListSessions implements listSessions operation.
	//
	// GET /sessions
	ListSessions(ctx context.Context, params ListSessionsParams) (ListSessionsRes, error)
	// ListTunnelAttachments implements listTunnelAttachments operation.
	//
	// GET /tunnels/{tunnelId}/attachments
	ListTunnelAttachments(ctx context.Context, params ListTunnelAttachmentsParams) (ListTunnelAttachmentsRes, error)
	// ListTunnelGrants implements listTunnelGrants operation.
	//
	// GET /tunnels/{tunnelId}/grants
	ListTunnelGrants(ctx context.Context, params ListTunnelGrantsParams) (ListTunnelGrantsRes, error)
	// ListTunnels implements listTunnels operation.
	//
	// GET /tunnels
	ListTunnels(ctx context.Context, params ListTunnelsParams) (ListTunnelsRes, error)
	// ListUsers implements listUsers operation.
	//
	// GET /accounts
	ListUsers(ctx context.Context, params ListUsersParams) (ListUsersRes, error)
	// ListWorkgroupMembers implements listWorkgroupMembers operation.
	//
	// GET /workgroups/{workgroupId}/members
	ListWorkgroupMembers(ctx context.Context, params ListWorkgroupMembersParams) (ListWorkgroupMembersRes, error)
	// ListWorkgroups implements listWorkgroups operation.
	//
	// GET /workgroups
	ListWorkgroups(ctx context.Context) (ListWorkgroupsRes, error)
	// Login implements login operation.
	//
	// POST /account/login
	Login(ctx context.Context, req *LoginRequest) (LoginRes, error)
	// Logout implements logout operation.
	//
	// POST /account/logout
	Logout(ctx context.Context) error
	// ProposeSession implements proposeSession operation.
	//
	// POST /sessions
	ProposeSession(ctx context.Context, req *ProposeSessionRequest) (ProposeSessionRes, error)
	// PublishAdvertisement implements publishAdvertisement operation.
	//
	// POST /advertisements
	PublishAdvertisement(ctx context.Context, req *PublishAdvertisementRequest) (PublishAdvertisementRes, error)
	// RegenerateAccountToken implements regenerateAccountToken operation.
	//
	// POST /account/regenerate-token
	RegenerateAccountToken(ctx context.Context, req *RegenerateTokenRequest) (RegenerateAccountTokenRes, error)
	// RejectSession implements rejectSession operation.
	//
	// POST /sessions/{sessionId}/reject
	RejectSession(ctx context.Context, req OptCloseSessionRequest, params RejectSessionParams) (RejectSessionRes, error)
	// RemoveTunnelGrant implements removeTunnelGrant operation.
	//
	// DELETE /tunnels/{tunnelId}/grants/{accountId}
	RemoveTunnelGrant(ctx context.Context, params RemoveTunnelGrantParams) (RemoveTunnelGrantRes, error)
	// RemoveWorkgroupMember implements removeWorkgroupMember operation.
	//
	// DELETE /workgroups/{workgroupId}/members/{membershipId}
	RemoveWorkgroupMember(ctx context.Context, params RemoveWorkgroupMemberParams) (RemoveWorkgroupMemberRes, error)
	// ReportSessionEnvelopeCount implements reportSessionEnvelopeCount operation.
	//
	// POST /sessions/{sessionId}/envelope-count
	ReportSessionEnvelopeCount(ctx context.Context, req *ReportEnvelopeCountRequest, params ReportSessionEnvelopeCountParams) (ReportSessionEnvelopeCountRes, error)
	// RetractAdvertisement implements retractAdvertisement operation.
	//
	// DELETE /advertisements/{advertisementId}
	RetractAdvertisement(ctx context.Context, params RetractAdvertisementParams) (RetractAdvertisementRes, error)
	// SearchCatalog implements searchCatalog operation.
	//
	// GET /catalog/advertisements
	SearchCatalog(ctx context.Context, params SearchCatalogParams) (SearchCatalogRes, error)
	// StartTunnelServe implements startTunnelServe operation.
	//
	// POST /tunnels/{tunnelId}/serve
	StartTunnelServe(ctx context.Context, req *StartTunnelServeRequest, params StartTunnelServeParams) (StartTunnelServeRes, error)
	// UpdateAdvertisement implements updateAdvertisement operation.
	//
	// PATCH /advertisements/{advertisementId}
	UpdateAdvertisement(ctx context.Context, req *UpdateAdvertisementRequest, params UpdateAdvertisementParams) (UpdateAdvertisementRes, error)
	// UpdateContract implements updateContract operation.
	//
	// PATCH /contracts/{contractId}
	UpdateContract(ctx context.Context, req *UpdateContractRequest, params UpdateContractParams) (UpdateContractRes, error)
	// Whoami implements whoami operation.
	//
	// GET /account/whoami
	Whoami(ctx context.Context) (WhoamiRes, error)
}

Handler handles operations described by OpenAPI v3 specification.

type HeartbeatEnvironmentInternalServerError

type HeartbeatEnvironmentInternalServerError Error

func (*HeartbeatEnvironmentInternalServerError) Decode

Decode decodes HeartbeatEnvironmentInternalServerError from json.

func (*HeartbeatEnvironmentInternalServerError) Encode

Encode encodes HeartbeatEnvironmentInternalServerError as json.

func (*HeartbeatEnvironmentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatEnvironmentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HeartbeatEnvironmentNoContent

type HeartbeatEnvironmentNoContent struct{}

HeartbeatEnvironmentNoContent is response for HeartbeatEnvironment operation.

type HeartbeatEnvironmentNotFound

type HeartbeatEnvironmentNotFound Error

func (*HeartbeatEnvironmentNotFound) Decode

Decode decodes HeartbeatEnvironmentNotFound from json.

func (*HeartbeatEnvironmentNotFound) Encode

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

Encode encodes HeartbeatEnvironmentNotFound as json.

func (*HeartbeatEnvironmentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatEnvironmentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HeartbeatEnvironmentParams

type HeartbeatEnvironmentParams struct {
	EnvironmentId string
}

HeartbeatEnvironmentParams is parameters of heartbeatEnvironment operation.

type HeartbeatEnvironmentRes

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

type HeartbeatEnvironmentUnauthorized

type HeartbeatEnvironmentUnauthorized Error

func (*HeartbeatEnvironmentUnauthorized) Decode

Decode decodes HeartbeatEnvironmentUnauthorized from json.

func (*HeartbeatEnvironmentUnauthorized) Encode

Encode encodes HeartbeatEnvironmentUnauthorized as json.

func (*HeartbeatEnvironmentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatEnvironmentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HeartbeatTunnelAttachmentInternalServerError

type HeartbeatTunnelAttachmentInternalServerError Error

func (*HeartbeatTunnelAttachmentInternalServerError) Decode

Decode decodes HeartbeatTunnelAttachmentInternalServerError from json.

func (*HeartbeatTunnelAttachmentInternalServerError) Encode

Encode encodes HeartbeatTunnelAttachmentInternalServerError as json.

func (*HeartbeatTunnelAttachmentInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatTunnelAttachmentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HeartbeatTunnelAttachmentNoContent

type HeartbeatTunnelAttachmentNoContent struct{}

HeartbeatTunnelAttachmentNoContent is response for HeartbeatTunnelAttachment operation.

type HeartbeatTunnelAttachmentNotFound

type HeartbeatTunnelAttachmentNotFound Error

func (*HeartbeatTunnelAttachmentNotFound) Decode

Decode decodes HeartbeatTunnelAttachmentNotFound from json.

func (*HeartbeatTunnelAttachmentNotFound) Encode

Encode encodes HeartbeatTunnelAttachmentNotFound as json.

func (*HeartbeatTunnelAttachmentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatTunnelAttachmentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HeartbeatTunnelAttachmentParams

type HeartbeatTunnelAttachmentParams struct {
	AttachmentId string
}

HeartbeatTunnelAttachmentParams is parameters of heartbeatTunnelAttachment operation.

type HeartbeatTunnelAttachmentRes

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

type HeartbeatTunnelAttachmentUnauthorized

type HeartbeatTunnelAttachmentUnauthorized Error

func (*HeartbeatTunnelAttachmentUnauthorized) Decode

Decode decodes HeartbeatTunnelAttachmentUnauthorized from json.

func (*HeartbeatTunnelAttachmentUnauthorized) Encode

Encode encodes HeartbeatTunnelAttachmentUnauthorized as json.

func (*HeartbeatTunnelAttachmentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatTunnelAttachmentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HeartbeatTunnelServeInternalServerError

type HeartbeatTunnelServeInternalServerError Error

func (*HeartbeatTunnelServeInternalServerError) Decode

Decode decodes HeartbeatTunnelServeInternalServerError from json.

func (*HeartbeatTunnelServeInternalServerError) Encode

Encode encodes HeartbeatTunnelServeInternalServerError as json.

func (*HeartbeatTunnelServeInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatTunnelServeInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HeartbeatTunnelServeNoContent

type HeartbeatTunnelServeNoContent struct{}

HeartbeatTunnelServeNoContent is response for HeartbeatTunnelServe operation.

type HeartbeatTunnelServeNotFound

type HeartbeatTunnelServeNotFound Error

func (*HeartbeatTunnelServeNotFound) Decode

Decode decodes HeartbeatTunnelServeNotFound from json.

func (*HeartbeatTunnelServeNotFound) Encode

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

Encode encodes HeartbeatTunnelServeNotFound as json.

func (*HeartbeatTunnelServeNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatTunnelServeNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type HeartbeatTunnelServeParams

type HeartbeatTunnelServeParams struct {
	ServeId string
}

HeartbeatTunnelServeParams is parameters of heartbeatTunnelServe operation.

type HeartbeatTunnelServeRes

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

type HeartbeatTunnelServeUnauthorized

type HeartbeatTunnelServeUnauthorized Error

func (*HeartbeatTunnelServeUnauthorized) Decode

Decode decodes HeartbeatTunnelServeUnauthorized from json.

func (*HeartbeatTunnelServeUnauthorized) Encode

Encode encodes HeartbeatTunnelServeUnauthorized as json.

func (*HeartbeatTunnelServeUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HeartbeatTunnelServeUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Invoker

type Invoker interface {
	// AcceptSession invokes acceptSession operation.
	//
	// POST /sessions/{sessionId}/accept
	AcceptSession(ctx context.Context, request *AcceptSessionRequest, params AcceptSessionParams) (AcceptSessionRes, error)
	// AcceptWorkgroupInvitation invokes acceptWorkgroupInvitation operation.
	//
	// POST /admin/workgroups/{workgroupId}/invitations/{organizationId}/accept
	AcceptWorkgroupInvitation(ctx context.Context, request *AcceptWorkgroupInvitationRequest, params AcceptWorkgroupInvitationParams) (AcceptWorkgroupInvitationRes, error)
	// AddTunnelGrant invokes addTunnelGrant operation.
	//
	// POST /tunnels/{tunnelId}/grants
	AddTunnelGrant(ctx context.Context, request *AddTunnelGrantRequest, params AddTunnelGrantParams) (AddTunnelGrantRes, error)
	// AddWorkgroupMember invokes addWorkgroupMember operation.
	//
	// POST /workgroups/{workgroupId}/members
	AddWorkgroupMember(ctx context.Context, request *AddWorkgroupMemberRequest, params AddWorkgroupMemberParams) (AddWorkgroupMemberRes, error)
	// AdminCloseSession invokes adminCloseSession operation.
	//
	// POST /admin/sessions/{sessionId}/close
	AdminCloseSession(ctx context.Context, request OptCloseSessionRequest, params AdminCloseSessionParams) (AdminCloseSessionRes, error)
	// ChangePassword invokes changePassword operation.
	//
	// POST /account/change-password
	ChangePassword(ctx context.Context, request *ChangePasswordRequest) (ChangePasswordRes, error)
	// ChangeWorkgroupMembershipRole invokes changeWorkgroupMembershipRole operation.
	//
	// PATCH /workgroups/{workgroupId}/members/{membershipId}
	ChangeWorkgroupMembershipRole(ctx context.Context, request *ChangeWorkgroupMembershipRoleRequest, params ChangeWorkgroupMembershipRoleParams) (ChangeWorkgroupMembershipRoleRes, error)
	// CloseSession invokes closeSession operation.
	//
	// POST /sessions/{sessionId}/close
	CloseSession(ctx context.Context, request OptCloseSessionRequest, params CloseSessionParams) (CloseSessionRes, error)
	// ConnectTunnel invokes connectTunnel operation.
	//
	// POST /tunnels/connect
	ConnectTunnel(ctx context.Context, request *ConnectTunnelRequest) (ConnectTunnelRes, error)
	// CreateAccount invokes createAccount operation.
	//
	// POST /organizations/{organizationId}/accounts
	CreateAccount(ctx context.Context, request *CreateAccountRequest, params CreateAccountParams) (CreateAccountRes, error)
	// CreateContract invokes createContract operation.
	//
	// POST /contracts
	CreateContract(ctx context.Context, request *CreateContractRequest) (CreateContractRes, error)
	// CreateOrganization invokes createOrganization operation.
	//
	// POST /organizations
	CreateOrganization(ctx context.Context, request *CreateOrganizationRequest) (CreateOrganizationRes, error)
	// CreateTunnel invokes createTunnel operation.
	//
	// POST /tunnels
	CreateTunnel(ctx context.Context, request *CreateTunnelRequest) (CreateTunnelRes, error)
	// CreateWorkgroup invokes createWorkgroup operation.
	//
	// POST /admin/workgroups
	CreateWorkgroup(ctx context.Context, request *CreateWorkgroupRequest) (CreateWorkgroupRes, error)
	// DeclineWorkgroupInvitation invokes declineWorkgroupInvitation operation.
	//
	// POST /admin/workgroups/{workgroupId}/invitations/{organizationId}/decline
	DeclineWorkgroupInvitation(ctx context.Context, request *DeclineWorkgroupInvitationRequest, params DeclineWorkgroupInvitationParams) (DeclineWorkgroupInvitationRes, error)
	// DeleteAccount invokes deleteAccount operation.
	//
	// DELETE /organizations/{organizationId}/accounts/{accountId}
	DeleteAccount(ctx context.Context, params DeleteAccountParams) (DeleteAccountRes, error)
	// DeleteContract invokes deleteContract operation.
	//
	// DELETE /contracts/{contractId}
	DeleteContract(ctx context.Context, params DeleteContractParams) (DeleteContractRes, error)
	// DeleteOrganization invokes deleteOrganization operation.
	//
	// DELETE /organizations/{organizationId}
	DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (DeleteOrganizationRes, error)
	// DeleteTunnel invokes deleteTunnel operation.
	//
	// DELETE /tunnels/{tunnelId}
	DeleteTunnel(ctx context.Context, params DeleteTunnelParams) (DeleteTunnelRes, error)
	// DeleteTunnelAttachment invokes deleteTunnelAttachment operation.
	//
	// DELETE /tunnel-attachments/{attachmentId}
	DeleteTunnelAttachment(ctx context.Context, params DeleteTunnelAttachmentParams) (DeleteTunnelAttachmentRes, error)
	// DeleteTunnelServe invokes deleteTunnelServe operation.
	//
	// DELETE /tunnel-serves/{serveId}
	DeleteTunnelServe(ctx context.Context, params DeleteTunnelServeParams) (DeleteTunnelServeRes, error)
	// DeleteWorkgroup invokes deleteWorkgroup operation.
	//
	// DELETE /workgroups/{workgroupId}
	DeleteWorkgroup(ctx context.Context, params DeleteWorkgroupParams) (DeleteWorkgroupRes, error)
	// DisableEnvironment invokes disableEnvironment operation.
	//
	// DELETE /environments/{environmentId}/heartbeat
	DisableEnvironment(ctx context.Context, params DisableEnvironmentParams) (DisableEnvironmentRes, error)
	// EnableEnvironment invokes enableEnvironment operation.
	//
	// POST /environments
	EnableEnvironment(ctx context.Context, request *EnableEnvironmentRequest) (EnableEnvironmentRes, error)
	// GetAdvertisement invokes getAdvertisement operation.
	//
	// GET /advertisements/{advertisementId}
	GetAdvertisement(ctx context.Context, params GetAdvertisementParams) (GetAdvertisementRes, error)
	// GetContract invokes getContract operation.
	//
	// GET /contracts/{contractId}
	GetContract(ctx context.Context, params GetContractParams) (GetContractRes, error)
	// GetDashboardActivity invokes getDashboardActivity operation.
	//
	// GET /dashboard/activity
	GetDashboardActivity(ctx context.Context, params GetDashboardActivityParams) (GetDashboardActivityRes, error)
	// GetDashboardEnvironments invokes getDashboardEnvironments operation.
	//
	// GET /dashboard/environments
	GetDashboardEnvironments(ctx context.Context) (GetDashboardEnvironmentsRes, error)
	// GetDashboardSummary invokes getDashboardSummary operation.
	//
	// GET /dashboard/summary
	GetDashboardSummary(ctx context.Context) (GetDashboardSummaryRes, error)
	// GetEnvironment invokes getEnvironment operation.
	//
	// GET /environments/{environmentId}
	GetEnvironment(ctx context.Context, params GetEnvironmentParams) (GetEnvironmentRes, error)
	// GetSession invokes getSession operation.
	//
	// GET /sessions/{sessionId}
	GetSession(ctx context.Context, params GetSessionParams) (GetSessionRes, error)
	// GetTunnel invokes getTunnel operation.
	//
	// GET /tunnels/{tunnelId}
	GetTunnel(ctx context.Context, params GetTunnelParams) (GetTunnelRes, error)
	// GetTunnelServe invokes getTunnelServe operation.
	//
	// GET /tunnels/{tunnelId}/serve
	GetTunnelServe(ctx context.Context, params GetTunnelServeParams) (GetTunnelServeRes, error)
	// GetWorkgroup invokes getWorkgroup operation.
	//
	// GET /workgroups/{workgroupId}
	GetWorkgroup(ctx context.Context, params GetWorkgroupParams) (GetWorkgroupRes, error)
	// GetWorkgroupsActivity invokes getWorkgroupsActivity operation.
	//
	// GET /dashboard/workgroups-activity
	GetWorkgroupsActivity(ctx context.Context, params GetWorkgroupsActivityParams) (GetWorkgroupsActivityRes, error)
	// HeartbeatEnvironment invokes heartbeatEnvironment operation.
	//
	// POST /environments/{environmentId}/heartbeat
	HeartbeatEnvironment(ctx context.Context, params HeartbeatEnvironmentParams) (HeartbeatEnvironmentRes, error)
	// HeartbeatTunnelAttachment invokes heartbeatTunnelAttachment operation.
	//
	// POST /tunnel-attachments/{attachmentId}/heartbeat
	HeartbeatTunnelAttachment(ctx context.Context, params HeartbeatTunnelAttachmentParams) (HeartbeatTunnelAttachmentRes, error)
	// HeartbeatTunnelServe invokes heartbeatTunnelServe operation.
	//
	// POST /tunnel-serves/{serveId}/heartbeat
	HeartbeatTunnelServe(ctx context.Context, params HeartbeatTunnelServeParams) (HeartbeatTunnelServeRes, error)
	// ListAccounts invokes listAccounts operation.
	//
	// GET /organizations/{organizationId}/accounts
	ListAccounts(ctx context.Context, params ListAccountsParams) (ListAccountsRes, error)
	// ListAdminWorkgroups invokes listAdminWorkgroups operation.
	//
	// GET /admin/workgroups
	ListAdminWorkgroups(ctx context.Context, params ListAdminWorkgroupsParams) (ListAdminWorkgroupsRes, error)
	// ListAdvertisements invokes listAdvertisements operation.
	//
	// GET /advertisements
	ListAdvertisements(ctx context.Context, params ListAdvertisementsParams) (ListAdvertisementsRes, error)
	// ListAuditEvents invokes listAuditEvents operation.
	//
	// GET /audit-events
	ListAuditEvents(ctx context.Context, params ListAuditEventsParams) (ListAuditEventsRes, error)
	// ListContracts invokes listContracts operation.
	//
	// GET /contracts
	ListContracts(ctx context.Context) (ListContractsRes, error)
	// ListEnvironments invokes listEnvironments operation.
	//
	// GET /environments
	ListEnvironments(ctx context.Context) (ListEnvironmentsRes, error)
	// ListOrganizations invokes listOrganizations operation.
	//
	// GET /organizations
	ListOrganizations(ctx context.Context) (ListOrganizationsRes, error)
	// ListSessions invokes listSessions operation.
	//
	// GET /sessions
	ListSessions(ctx context.Context, params ListSessionsParams) (ListSessionsRes, error)
	// ListTunnelAttachments invokes listTunnelAttachments operation.
	//
	// GET /tunnels/{tunnelId}/attachments
	ListTunnelAttachments(ctx context.Context, params ListTunnelAttachmentsParams) (ListTunnelAttachmentsRes, error)
	// ListTunnelGrants invokes listTunnelGrants operation.
	//
	// GET /tunnels/{tunnelId}/grants
	ListTunnelGrants(ctx context.Context, params ListTunnelGrantsParams) (ListTunnelGrantsRes, error)
	// ListTunnels invokes listTunnels operation.
	//
	// GET /tunnels
	ListTunnels(ctx context.Context, params ListTunnelsParams) (ListTunnelsRes, error)
	// ListUsers invokes listUsers operation.
	//
	// GET /accounts
	ListUsers(ctx context.Context, params ListUsersParams) (ListUsersRes, error)
	// ListWorkgroupMembers invokes listWorkgroupMembers operation.
	//
	// GET /workgroups/{workgroupId}/members
	ListWorkgroupMembers(ctx context.Context, params ListWorkgroupMembersParams) (ListWorkgroupMembersRes, error)
	// ListWorkgroups invokes listWorkgroups operation.
	//
	// GET /workgroups
	ListWorkgroups(ctx context.Context) (ListWorkgroupsRes, error)
	// Login invokes login operation.
	//
	// POST /account/login
	Login(ctx context.Context, request *LoginRequest) (LoginRes, error)
	// Logout invokes logout operation.
	//
	// POST /account/logout
	Logout(ctx context.Context) error
	// ProposeSession invokes proposeSession operation.
	//
	// POST /sessions
	ProposeSession(ctx context.Context, request *ProposeSessionRequest) (ProposeSessionRes, error)
	// PublishAdvertisement invokes publishAdvertisement operation.
	//
	// POST /advertisements
	PublishAdvertisement(ctx context.Context, request *PublishAdvertisementRequest) (PublishAdvertisementRes, error)
	// RegenerateAccountToken invokes regenerateAccountToken operation.
	//
	// POST /account/regenerate-token
	RegenerateAccountToken(ctx context.Context, request *RegenerateTokenRequest) (RegenerateAccountTokenRes, error)
	// RejectSession invokes rejectSession operation.
	//
	// POST /sessions/{sessionId}/reject
	RejectSession(ctx context.Context, request OptCloseSessionRequest, params RejectSessionParams) (RejectSessionRes, error)
	// RemoveTunnelGrant invokes removeTunnelGrant operation.
	//
	// DELETE /tunnels/{tunnelId}/grants/{accountId}
	RemoveTunnelGrant(ctx context.Context, params RemoveTunnelGrantParams) (RemoveTunnelGrantRes, error)
	// RemoveWorkgroupMember invokes removeWorkgroupMember operation.
	//
	// DELETE /workgroups/{workgroupId}/members/{membershipId}
	RemoveWorkgroupMember(ctx context.Context, params RemoveWorkgroupMemberParams) (RemoveWorkgroupMemberRes, error)
	// ReportSessionEnvelopeCount invokes reportSessionEnvelopeCount operation.
	//
	// POST /sessions/{sessionId}/envelope-count
	ReportSessionEnvelopeCount(ctx context.Context, request *ReportEnvelopeCountRequest, params ReportSessionEnvelopeCountParams) (ReportSessionEnvelopeCountRes, error)
	// RetractAdvertisement invokes retractAdvertisement operation.
	//
	// DELETE /advertisements/{advertisementId}
	RetractAdvertisement(ctx context.Context, params RetractAdvertisementParams) (RetractAdvertisementRes, error)
	// SearchCatalog invokes searchCatalog operation.
	//
	// GET /catalog/advertisements
	SearchCatalog(ctx context.Context, params SearchCatalogParams) (SearchCatalogRes, error)
	// StartTunnelServe invokes startTunnelServe operation.
	//
	// POST /tunnels/{tunnelId}/serve
	StartTunnelServe(ctx context.Context, request *StartTunnelServeRequest, params StartTunnelServeParams) (StartTunnelServeRes, error)
	// UpdateAdvertisement invokes updateAdvertisement operation.
	//
	// PATCH /advertisements/{advertisementId}
	UpdateAdvertisement(ctx context.Context, request *UpdateAdvertisementRequest, params UpdateAdvertisementParams) (UpdateAdvertisementRes, error)
	// UpdateContract invokes updateContract operation.
	//
	// PATCH /contracts/{contractId}
	UpdateContract(ctx context.Context, request *UpdateContractRequest, params UpdateContractParams) (UpdateContractRes, error)
	// Whoami invokes whoami operation.
	//
	// GET /account/whoami
	Whoami(ctx context.Context) (WhoamiRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type ListAccountsInternalServerError

type ListAccountsInternalServerError Error

func (*ListAccountsInternalServerError) Decode

Decode decodes ListAccountsInternalServerError from json.

func (*ListAccountsInternalServerError) Encode

Encode encodes ListAccountsInternalServerError as json.

func (*ListAccountsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAccountsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAccountsNotFound

type ListAccountsNotFound Error

func (*ListAccountsNotFound) Decode

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

Decode decodes ListAccountsNotFound from json.

func (*ListAccountsNotFound) Encode

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

Encode encodes ListAccountsNotFound as json.

func (*ListAccountsNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAccountsNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAccountsParams

type ListAccountsParams struct {
	OrganizationId string
}

ListAccountsParams is parameters of listAccounts operation.

type ListAccountsRes

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

type ListAccountsResponse

type ListAccountsResponse []Account

func (*ListAccountsResponse) Decode

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

Decode decodes ListAccountsResponse from json.

func (ListAccountsResponse) Encode

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

Encode encodes ListAccountsResponse as json.

func (ListAccountsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAccountsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListAccountsResponse) Validate

func (s ListAccountsResponse) Validate() error

type ListAccountsUnauthorized

type ListAccountsUnauthorized Error

func (*ListAccountsUnauthorized) Decode

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

Decode decodes ListAccountsUnauthorized from json.

func (*ListAccountsUnauthorized) Encode

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

Encode encodes ListAccountsUnauthorized as json.

func (*ListAccountsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAccountsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAdminWorkgroupsBadRequest

type ListAdminWorkgroupsBadRequest Error

func (*ListAdminWorkgroupsBadRequest) Decode

Decode decodes ListAdminWorkgroupsBadRequest from json.

func (*ListAdminWorkgroupsBadRequest) Encode

Encode encodes ListAdminWorkgroupsBadRequest as json.

func (*ListAdminWorkgroupsBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAdminWorkgroupsBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAdminWorkgroupsInternalServerError

type ListAdminWorkgroupsInternalServerError Error

func (*ListAdminWorkgroupsInternalServerError) Decode

Decode decodes ListAdminWorkgroupsInternalServerError from json.

func (*ListAdminWorkgroupsInternalServerError) Encode

Encode encodes ListAdminWorkgroupsInternalServerError as json.

func (*ListAdminWorkgroupsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAdminWorkgroupsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAdminWorkgroupsParams

type ListAdminWorkgroupsParams struct {
	State                 OptListAdminWorkgroupsState
	OwnerOrganizationId   OptString
	InvitedOrganizationId OptString
}

ListAdminWorkgroupsParams is parameters of listAdminWorkgroups operation.

type ListAdminWorkgroupsRes

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

type ListAdminWorkgroupsResponse

type ListAdminWorkgroupsResponse []AdminWorkgroupEntry

func (*ListAdminWorkgroupsResponse) Decode

Decode decodes ListAdminWorkgroupsResponse from json.

func (ListAdminWorkgroupsResponse) Encode

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

Encode encodes ListAdminWorkgroupsResponse as json.

func (ListAdminWorkgroupsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAdminWorkgroupsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListAdminWorkgroupsResponse) Validate

func (s ListAdminWorkgroupsResponse) Validate() error

type ListAdminWorkgroupsState

type ListAdminWorkgroupsState string
const (
	ListAdminWorkgroupsStatePending  ListAdminWorkgroupsState = "pending"
	ListAdminWorkgroupsStateActive   ListAdminWorkgroupsState = "active"
	ListAdminWorkgroupsStateDeclined ListAdminWorkgroupsState = "declined"
)

func (ListAdminWorkgroupsState) AllValues

AllValues returns all ListAdminWorkgroupsState values.

func (ListAdminWorkgroupsState) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ListAdminWorkgroupsState) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ListAdminWorkgroupsState) Validate

func (s ListAdminWorkgroupsState) Validate() error

type ListAdminWorkgroupsUnauthorized

type ListAdminWorkgroupsUnauthorized Error

func (*ListAdminWorkgroupsUnauthorized) Decode

Decode decodes ListAdminWorkgroupsUnauthorized from json.

func (*ListAdminWorkgroupsUnauthorized) Encode

Encode encodes ListAdminWorkgroupsUnauthorized as json.

func (*ListAdminWorkgroupsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAdminWorkgroupsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAdvertisementsInternalServerError

type ListAdvertisementsInternalServerError Error

func (*ListAdvertisementsInternalServerError) Decode

Decode decodes ListAdvertisementsInternalServerError from json.

func (*ListAdvertisementsInternalServerError) Encode

Encode encodes ListAdvertisementsInternalServerError as json.

func (*ListAdvertisementsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAdvertisementsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAdvertisementsParams

type ListAdvertisementsParams struct {
	Status OptAdvertisementStatus
}

ListAdvertisementsParams is parameters of listAdvertisements operation.

type ListAdvertisementsRes

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

type ListAdvertisementsResponse

type ListAdvertisementsResponse []Advertisement

func (*ListAdvertisementsResponse) Decode

Decode decodes ListAdvertisementsResponse from json.

func (ListAdvertisementsResponse) Encode

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

Encode encodes ListAdvertisementsResponse as json.

func (ListAdvertisementsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAdvertisementsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListAdvertisementsResponse) Validate

func (s ListAdvertisementsResponse) Validate() error

type ListAdvertisementsUnauthorized

type ListAdvertisementsUnauthorized Error

func (*ListAdvertisementsUnauthorized) Decode

Decode decodes ListAdvertisementsUnauthorized from json.

func (*ListAdvertisementsUnauthorized) Encode

Encode encodes ListAdvertisementsUnauthorized as json.

func (*ListAdvertisementsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAdvertisementsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAuditEventsBadRequest

type ListAuditEventsBadRequest Error

func (*ListAuditEventsBadRequest) Decode

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

Decode decodes ListAuditEventsBadRequest from json.

func (*ListAuditEventsBadRequest) Encode

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

Encode encodes ListAuditEventsBadRequest as json.

func (*ListAuditEventsBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAuditEventsBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAuditEventsInternalServerError

type ListAuditEventsInternalServerError Error

func (*ListAuditEventsInternalServerError) Decode

Decode decodes ListAuditEventsInternalServerError from json.

func (*ListAuditEventsInternalServerError) Encode

Encode encodes ListAuditEventsInternalServerError as json.

func (*ListAuditEventsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAuditEventsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAuditEventsParams

type ListAuditEventsParams struct {
	EventType   []AuditEventType
	WorkgroupId OptString
	AccountId   OptString
	From        OptDateTime
	To          OptDateTime
	Cursor      OptString
	Limit       OptInt
}

ListAuditEventsParams is parameters of listAuditEvents operation.

type ListAuditEventsRes

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

type ListAuditEventsResponse

type ListAuditEventsResponse struct {
	Items      []AuditEvent `json:"items"`
	NextCursor OptString    `json:"nextCursor"`
}

Ref: #/listAuditEventsResponse

func (*ListAuditEventsResponse) Decode

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

Decode decodes ListAuditEventsResponse from json.

func (*ListAuditEventsResponse) Encode

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

Encode implements json.Marshaler.

func (*ListAuditEventsResponse) GetItems

func (s *ListAuditEventsResponse) GetItems() []AuditEvent

GetItems returns the value of Items.

func (*ListAuditEventsResponse) GetNextCursor

func (s *ListAuditEventsResponse) GetNextCursor() OptString

GetNextCursor returns the value of NextCursor.

func (*ListAuditEventsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAuditEventsResponse) SetItems

func (s *ListAuditEventsResponse) SetItems(val []AuditEvent)

SetItems sets the value of Items.

func (*ListAuditEventsResponse) SetNextCursor

func (s *ListAuditEventsResponse) SetNextCursor(val OptString)

SetNextCursor sets the value of NextCursor.

func (*ListAuditEventsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAuditEventsResponse) Validate

func (s *ListAuditEventsResponse) Validate() error

type ListAuditEventsUnauthorized

type ListAuditEventsUnauthorized Error

func (*ListAuditEventsUnauthorized) Decode

Decode decodes ListAuditEventsUnauthorized from json.

func (*ListAuditEventsUnauthorized) Encode

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

Encode encodes ListAuditEventsUnauthorized as json.

func (*ListAuditEventsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAuditEventsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListContractsInternalServerError

type ListContractsInternalServerError Error

func (*ListContractsInternalServerError) Decode

Decode decodes ListContractsInternalServerError from json.

func (*ListContractsInternalServerError) Encode

Encode encodes ListContractsInternalServerError as json.

func (*ListContractsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListContractsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListContractsRes

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

type ListContractsResponse

type ListContractsResponse []Contract

func (*ListContractsResponse) Decode

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

Decode decodes ListContractsResponse from json.

func (ListContractsResponse) Encode

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

Encode encodes ListContractsResponse as json.

func (ListContractsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListContractsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListContractsResponse) Validate

func (s ListContractsResponse) Validate() error

type ListContractsUnauthorized

type ListContractsUnauthorized Error

func (*ListContractsUnauthorized) Decode

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

Decode decodes ListContractsUnauthorized from json.

func (*ListContractsUnauthorized) Encode

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

Encode encodes ListContractsUnauthorized as json.

func (*ListContractsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListContractsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListEnvironmentsInternalServerError

type ListEnvironmentsInternalServerError Error

func (*ListEnvironmentsInternalServerError) Decode

Decode decodes ListEnvironmentsInternalServerError from json.

func (*ListEnvironmentsInternalServerError) Encode

Encode encodes ListEnvironmentsInternalServerError as json.

func (*ListEnvironmentsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListEnvironmentsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListEnvironmentsRes

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

type ListEnvironmentsResponse

type ListEnvironmentsResponse []Environment

func (*ListEnvironmentsResponse) Decode

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

Decode decodes ListEnvironmentsResponse from json.

func (ListEnvironmentsResponse) Encode

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

Encode encodes ListEnvironmentsResponse as json.

func (ListEnvironmentsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListEnvironmentsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListEnvironmentsResponse) Validate

func (s ListEnvironmentsResponse) Validate() error

type ListEnvironmentsUnauthorized

type ListEnvironmentsUnauthorized Error

func (*ListEnvironmentsUnauthorized) Decode

Decode decodes ListEnvironmentsUnauthorized from json.

func (*ListEnvironmentsUnauthorized) Encode

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

Encode encodes ListEnvironmentsUnauthorized as json.

func (*ListEnvironmentsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListEnvironmentsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListOrganizationsInternalServerError

type ListOrganizationsInternalServerError Error

func (*ListOrganizationsInternalServerError) Decode

Decode decodes ListOrganizationsInternalServerError from json.

func (*ListOrganizationsInternalServerError) Encode

Encode encodes ListOrganizationsInternalServerError as json.

func (*ListOrganizationsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListOrganizationsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListOrganizationsRes

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

type ListOrganizationsResponse

type ListOrganizationsResponse []Organization

func (*ListOrganizationsResponse) Decode

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

Decode decodes ListOrganizationsResponse from json.

func (ListOrganizationsResponse) Encode

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

Encode encodes ListOrganizationsResponse as json.

func (ListOrganizationsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListOrganizationsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListOrganizationsResponse) Validate

func (s ListOrganizationsResponse) Validate() error

type ListOrganizationsUnauthorized

type ListOrganizationsUnauthorized Error

func (*ListOrganizationsUnauthorized) Decode

Decode decodes ListOrganizationsUnauthorized from json.

func (*ListOrganizationsUnauthorized) Encode

Encode encodes ListOrganizationsUnauthorized as json.

func (*ListOrganizationsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListOrganizationsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListSessionsBadRequest

type ListSessionsBadRequest Error

func (*ListSessionsBadRequest) Decode

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

Decode decodes ListSessionsBadRequest from json.

func (*ListSessionsBadRequest) Encode

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

Encode encodes ListSessionsBadRequest as json.

func (*ListSessionsBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListSessionsBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListSessionsInternalServerError

type ListSessionsInternalServerError Error

func (*ListSessionsInternalServerError) Decode

Decode decodes ListSessionsInternalServerError from json.

func (*ListSessionsInternalServerError) Encode

Encode encodes ListSessionsInternalServerError as json.

func (*ListSessionsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListSessionsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListSessionsParams

type ListSessionsParams struct {
	State           []SessionState
	Role            OptListSessionsRole
	AdvertisementId OptString
	Sort            OptListSessionsSort
	Limit           OptInt
}

ListSessionsParams is parameters of listSessions operation.

type ListSessionsRes

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

type ListSessionsResponse

type ListSessionsResponse []Session

func (*ListSessionsResponse) Decode

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

Decode decodes ListSessionsResponse from json.

func (ListSessionsResponse) Encode

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

Encode encodes ListSessionsResponse as json.

func (ListSessionsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListSessionsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListSessionsResponse) Validate

func (s ListSessionsResponse) Validate() error

type ListSessionsRole

type ListSessionsRole string
const (
	ListSessionsRoleProvider ListSessionsRole = "provider"
	ListSessionsRoleConsumer ListSessionsRole = "consumer"
	ListSessionsRoleBoth     ListSessionsRole = "both"
)

func (ListSessionsRole) AllValues

func (ListSessionsRole) AllValues() []ListSessionsRole

AllValues returns all ListSessionsRole values.

func (ListSessionsRole) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ListSessionsRole) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ListSessionsRole) Validate

func (s ListSessionsRole) Validate() error

type ListSessionsSort

type ListSessionsSort string
const (
	ListSessionsSortProposedAtDesc ListSessionsSort = "proposedAtDesc"
	ListSessionsSortClosedAtDesc   ListSessionsSort = "closedAtDesc"
)

func (ListSessionsSort) AllValues

func (ListSessionsSort) AllValues() []ListSessionsSort

AllValues returns all ListSessionsSort values.

func (ListSessionsSort) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ListSessionsSort) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ListSessionsSort) Validate

func (s ListSessionsSort) Validate() error

type ListSessionsUnauthorized

type ListSessionsUnauthorized Error

func (*ListSessionsUnauthorized) Decode

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

Decode decodes ListSessionsUnauthorized from json.

func (*ListSessionsUnauthorized) Encode

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

Encode encodes ListSessionsUnauthorized as json.

func (*ListSessionsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListSessionsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTunnelAttachmentsInternalServerError

type ListTunnelAttachmentsInternalServerError Error

func (*ListTunnelAttachmentsInternalServerError) Decode

Decode decodes ListTunnelAttachmentsInternalServerError from json.

func (*ListTunnelAttachmentsInternalServerError) Encode

Encode encodes ListTunnelAttachmentsInternalServerError as json.

func (*ListTunnelAttachmentsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelAttachmentsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTunnelAttachmentsNotFound

type ListTunnelAttachmentsNotFound Error

func (*ListTunnelAttachmentsNotFound) Decode

Decode decodes ListTunnelAttachmentsNotFound from json.

func (*ListTunnelAttachmentsNotFound) Encode

Encode encodes ListTunnelAttachmentsNotFound as json.

func (*ListTunnelAttachmentsNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelAttachmentsNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTunnelAttachmentsParams

type ListTunnelAttachmentsParams struct {
	TunnelId string
}

ListTunnelAttachmentsParams is parameters of listTunnelAttachments operation.

type ListTunnelAttachmentsRes

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

type ListTunnelAttachmentsResponse

type ListTunnelAttachmentsResponse []TunnelAttachment

func (*ListTunnelAttachmentsResponse) Decode

Decode decodes ListTunnelAttachmentsResponse from json.

func (ListTunnelAttachmentsResponse) Encode

Encode encodes ListTunnelAttachmentsResponse as json.

func (ListTunnelAttachmentsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelAttachmentsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListTunnelAttachmentsResponse) Validate

func (s ListTunnelAttachmentsResponse) Validate() error

type ListTunnelAttachmentsUnauthorized

type ListTunnelAttachmentsUnauthorized Error

func (*ListTunnelAttachmentsUnauthorized) Decode

Decode decodes ListTunnelAttachmentsUnauthorized from json.

func (*ListTunnelAttachmentsUnauthorized) Encode

Encode encodes ListTunnelAttachmentsUnauthorized as json.

func (*ListTunnelAttachmentsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelAttachmentsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTunnelGrantsInternalServerError

type ListTunnelGrantsInternalServerError Error

func (*ListTunnelGrantsInternalServerError) Decode

Decode decodes ListTunnelGrantsInternalServerError from json.

func (*ListTunnelGrantsInternalServerError) Encode

Encode encodes ListTunnelGrantsInternalServerError as json.

func (*ListTunnelGrantsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelGrantsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTunnelGrantsNotFound

type ListTunnelGrantsNotFound Error

func (*ListTunnelGrantsNotFound) Decode

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

Decode decodes ListTunnelGrantsNotFound from json.

func (*ListTunnelGrantsNotFound) Encode

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

Encode encodes ListTunnelGrantsNotFound as json.

func (*ListTunnelGrantsNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelGrantsNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTunnelGrantsParams

type ListTunnelGrantsParams struct {
	TunnelId string
}

ListTunnelGrantsParams is parameters of listTunnelGrants operation.

type ListTunnelGrantsRes

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

type ListTunnelGrantsResponse

type ListTunnelGrantsResponse []TunnelGrant

func (*ListTunnelGrantsResponse) Decode

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

Decode decodes ListTunnelGrantsResponse from json.

func (ListTunnelGrantsResponse) Encode

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

Encode encodes ListTunnelGrantsResponse as json.

func (ListTunnelGrantsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelGrantsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListTunnelGrantsResponse) Validate

func (s ListTunnelGrantsResponse) Validate() error

type ListTunnelGrantsUnauthorized

type ListTunnelGrantsUnauthorized Error

func (*ListTunnelGrantsUnauthorized) Decode

Decode decodes ListTunnelGrantsUnauthorized from json.

func (*ListTunnelGrantsUnauthorized) Encode

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

Encode encodes ListTunnelGrantsUnauthorized as json.

func (*ListTunnelGrantsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelGrantsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTunnelsInternalServerError

type ListTunnelsInternalServerError Error

func (*ListTunnelsInternalServerError) Decode

Decode decodes ListTunnelsInternalServerError from json.

func (*ListTunnelsInternalServerError) Encode

Encode encodes ListTunnelsInternalServerError as json.

func (*ListTunnelsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTunnelsParams

type ListTunnelsParams struct {
	Scope OptListTunnelsScope
}

ListTunnelsParams is parameters of listTunnels operation.

type ListTunnelsRes

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

type ListTunnelsResponse

type ListTunnelsResponse []Tunnel

func (*ListTunnelsResponse) Decode

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

Decode decodes ListTunnelsResponse from json.

func (ListTunnelsResponse) Encode

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

Encode encodes ListTunnelsResponse as json.

func (ListTunnelsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListTunnelsResponse) Validate

func (s ListTunnelsResponse) Validate() error

type ListTunnelsScope

type ListTunnelsScope string
const (
	ListTunnelsScopeOwned      ListTunnelsScope = "owned"
	ListTunnelsScopeAccessible ListTunnelsScope = "accessible"
	ListTunnelsScopeAll        ListTunnelsScope = "all"
)

func (ListTunnelsScope) AllValues

func (ListTunnelsScope) AllValues() []ListTunnelsScope

AllValues returns all ListTunnelsScope values.

func (ListTunnelsScope) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ListTunnelsScope) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ListTunnelsScope) Validate

func (s ListTunnelsScope) Validate() error

type ListTunnelsUnauthorized

type ListTunnelsUnauthorized Error

func (*ListTunnelsUnauthorized) Decode

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

Decode decodes ListTunnelsUnauthorized from json.

func (*ListTunnelsUnauthorized) Encode

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

Encode encodes ListTunnelsUnauthorized as json.

func (*ListTunnelsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTunnelsUnauthorized) UnmarshalJSON

func (s *ListTunnelsUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListUsersInternalServerError

type ListUsersInternalServerError Error

func (*ListUsersInternalServerError) Decode

Decode decodes ListUsersInternalServerError from json.

func (*ListUsersInternalServerError) Encode

func (s *ListUsersInternalServerError) Encode(e *jx.Encoder)

Encode encodes ListUsersInternalServerError as json.

func (*ListUsersInternalServerError) MarshalJSON

func (s *ListUsersInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListUsersInternalServerError) UnmarshalJSON

func (s *ListUsersInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListUsersNotFound

type ListUsersNotFound Error

func (*ListUsersNotFound) Decode

func (s *ListUsersNotFound) Decode(d *jx.Decoder) error

Decode decodes ListUsersNotFound from json.

func (*ListUsersNotFound) Encode

func (s *ListUsersNotFound) Encode(e *jx.Encoder)

Encode encodes ListUsersNotFound as json.

func (*ListUsersNotFound) MarshalJSON

func (s *ListUsersNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListUsersNotFound) UnmarshalJSON

func (s *ListUsersNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListUsersParams

type ListUsersParams struct {
	OrganizationId OptString
}

ListUsersParams is parameters of listUsers operation.

type ListUsersRes

type ListUsersRes interface {
	// contains filtered or unexported methods
}

type ListUsersUnauthorized

type ListUsersUnauthorized Error

func (*ListUsersUnauthorized) Decode

func (s *ListUsersUnauthorized) Decode(d *jx.Decoder) error

Decode decodes ListUsersUnauthorized from json.

func (*ListUsersUnauthorized) Encode

func (s *ListUsersUnauthorized) Encode(e *jx.Encoder)

Encode encodes ListUsersUnauthorized as json.

func (*ListUsersUnauthorized) MarshalJSON

func (s *ListUsersUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListUsersUnauthorized) UnmarshalJSON

func (s *ListUsersUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListWorkgroupMembersInternalServerError

type ListWorkgroupMembersInternalServerError Error

func (*ListWorkgroupMembersInternalServerError) Decode

Decode decodes ListWorkgroupMembersInternalServerError from json.

func (*ListWorkgroupMembersInternalServerError) Encode

Encode encodes ListWorkgroupMembersInternalServerError as json.

func (*ListWorkgroupMembersInternalServerError) MarshalJSON

func (s *ListWorkgroupMembersInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListWorkgroupMembersInternalServerError) UnmarshalJSON

func (s *ListWorkgroupMembersInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListWorkgroupMembersNotFound

type ListWorkgroupMembersNotFound Error

func (*ListWorkgroupMembersNotFound) Decode

Decode decodes ListWorkgroupMembersNotFound from json.

func (*ListWorkgroupMembersNotFound) Encode

func (s *ListWorkgroupMembersNotFound) Encode(e *jx.Encoder)

Encode encodes ListWorkgroupMembersNotFound as json.

func (*ListWorkgroupMembersNotFound) MarshalJSON

func (s *ListWorkgroupMembersNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListWorkgroupMembersNotFound) UnmarshalJSON

func (s *ListWorkgroupMembersNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListWorkgroupMembersParams

type ListWorkgroupMembersParams struct {
	WorkgroupId string
}

ListWorkgroupMembersParams is parameters of listWorkgroupMembers operation.

type ListWorkgroupMembersRes

type ListWorkgroupMembersRes interface {
	// contains filtered or unexported methods
}

type ListWorkgroupMembersResponse

type ListWorkgroupMembersResponse []WorkgroupMembership

func (*ListWorkgroupMembersResponse) Decode

Decode decodes ListWorkgroupMembersResponse from json.

func (ListWorkgroupMembersResponse) Encode

Encode encodes ListWorkgroupMembersResponse as json.

func (ListWorkgroupMembersResponse) MarshalJSON

func (s ListWorkgroupMembersResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListWorkgroupMembersResponse) UnmarshalJSON

func (s *ListWorkgroupMembersResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListWorkgroupMembersResponse) Validate

func (s ListWorkgroupMembersResponse) Validate() error

type ListWorkgroupMembersUnauthorized

type ListWorkgroupMembersUnauthorized Error

func (*ListWorkgroupMembersUnauthorized) Decode

Decode decodes ListWorkgroupMembersUnauthorized from json.

func (*ListWorkgroupMembersUnauthorized) Encode

Encode encodes ListWorkgroupMembersUnauthorized as json.

func (*ListWorkgroupMembersUnauthorized) MarshalJSON

func (s *ListWorkgroupMembersUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListWorkgroupMembersUnauthorized) UnmarshalJSON

func (s *ListWorkgroupMembersUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListWorkgroupsInternalServerError

type ListWorkgroupsInternalServerError Error

func (*ListWorkgroupsInternalServerError) Decode

Decode decodes ListWorkgroupsInternalServerError from json.

func (*ListWorkgroupsInternalServerError) Encode

Encode encodes ListWorkgroupsInternalServerError as json.

func (*ListWorkgroupsInternalServerError) MarshalJSON

func (s *ListWorkgroupsInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListWorkgroupsInternalServerError) UnmarshalJSON

func (s *ListWorkgroupsInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListWorkgroupsRes

type ListWorkgroupsRes interface {
	// contains filtered or unexported methods
}

type ListWorkgroupsResponse

type ListWorkgroupsResponse []Workgroup

func (*ListWorkgroupsResponse) Decode

func (s *ListWorkgroupsResponse) Decode(d *jx.Decoder) error

Decode decodes ListWorkgroupsResponse from json.

func (ListWorkgroupsResponse) Encode

func (s ListWorkgroupsResponse) Encode(e *jx.Encoder)

Encode encodes ListWorkgroupsResponse as json.

func (ListWorkgroupsResponse) MarshalJSON

func (s ListWorkgroupsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListWorkgroupsResponse) UnmarshalJSON

func (s *ListWorkgroupsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListWorkgroupsResponse) Validate

func (s ListWorkgroupsResponse) Validate() error

type ListWorkgroupsUnauthorized

type ListWorkgroupsUnauthorized Error

func (*ListWorkgroupsUnauthorized) Decode

Decode decodes ListWorkgroupsUnauthorized from json.

func (*ListWorkgroupsUnauthorized) Encode

func (s *ListWorkgroupsUnauthorized) Encode(e *jx.Encoder)

Encode encodes ListWorkgroupsUnauthorized as json.

func (*ListWorkgroupsUnauthorized) MarshalJSON

func (s *ListWorkgroupsUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListWorkgroupsUnauthorized) UnmarshalJSON

func (s *ListWorkgroupsUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LoginInternalServerError

type LoginInternalServerError Error

func (*LoginInternalServerError) Decode

func (s *LoginInternalServerError) Decode(d *jx.Decoder) error

Decode decodes LoginInternalServerError from json.

func (*LoginInternalServerError) Encode

func (s *LoginInternalServerError) Encode(e *jx.Encoder)

Encode encodes LoginInternalServerError as json.

func (*LoginInternalServerError) MarshalJSON

func (s *LoginInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LoginInternalServerError) UnmarshalJSON

func (s *LoginInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LoginRequest

type LoginRequest struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

Ref: #/loginRequest

func (*LoginRequest) Decode

func (s *LoginRequest) Decode(d *jx.Decoder) error

Decode decodes LoginRequest from json.

func (*LoginRequest) Encode

func (s *LoginRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LoginRequest) GetEmail

func (s *LoginRequest) GetEmail() string

GetEmail returns the value of Email.

func (*LoginRequest) GetPassword

func (s *LoginRequest) GetPassword() string

GetPassword returns the value of Password.

func (*LoginRequest) MarshalJSON

func (s *LoginRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LoginRequest) SetEmail

func (s *LoginRequest) SetEmail(val string)

SetEmail sets the value of Email.

func (*LoginRequest) SetPassword

func (s *LoginRequest) SetPassword(val string)

SetPassword sets the value of Password.

func (*LoginRequest) UnmarshalJSON

func (s *LoginRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LoginRequest) Validate

func (s *LoginRequest) Validate() error

type LoginRes

type LoginRes interface {
	// contains filtered or unexported methods
}

type LoginUnauthorized

type LoginUnauthorized Error

func (*LoginUnauthorized) Decode

func (s *LoginUnauthorized) Decode(d *jx.Decoder) error

Decode decodes LoginUnauthorized from json.

func (*LoginUnauthorized) Encode

func (s *LoginUnauthorized) Encode(e *jx.Encoder)

Encode encodes LoginUnauthorized as json.

func (*LoginUnauthorized) MarshalJSON

func (s *LoginUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LoginUnauthorized) UnmarshalJSON

func (s *LoginUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LogoutOK

type LogoutOK struct{}

LogoutOK is response for Logout operation.

type MaturityRequirements

type MaturityRequirements struct {
	MinAccountAgeDays OptInt `json:"minAccountAgeDays"`
}

Ref: #/maturityRequirements

func (*MaturityRequirements) Decode

func (s *MaturityRequirements) Decode(d *jx.Decoder) error

Decode decodes MaturityRequirements from json.

func (*MaturityRequirements) Encode

func (s *MaturityRequirements) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MaturityRequirements) GetMinAccountAgeDays

func (s *MaturityRequirements) GetMinAccountAgeDays() OptInt

GetMinAccountAgeDays returns the value of MinAccountAgeDays.

func (*MaturityRequirements) MarshalJSON

func (s *MaturityRequirements) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MaturityRequirements) SetMinAccountAgeDays

func (s *MaturityRequirements) SetMinAccountAgeDays(val OptInt)

SetMinAccountAgeDays sets the value of MinAccountAgeDays.

func (*MaturityRequirements) UnmarshalJSON

func (s *MaturityRequirements) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MaturityRequirements) Validate

func (s *MaturityRequirements) Validate() error

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	AcceptSessionOperation                 OperationName = "AcceptSession"
	AcceptWorkgroupInvitationOperation     OperationName = "AcceptWorkgroupInvitation"
	AddTunnelGrantOperation                OperationName = "AddTunnelGrant"
	AddWorkgroupMemberOperation            OperationName = "AddWorkgroupMember"
	AdminCloseSessionOperation             OperationName = "AdminCloseSession"
	ChangePasswordOperation                OperationName = "ChangePassword"
	ChangeWorkgroupMembershipRoleOperation OperationName = "ChangeWorkgroupMembershipRole"
	CloseSessionOperation                  OperationName = "CloseSession"
	ConnectTunnelOperation                 OperationName = "ConnectTunnel"
	CreateAccountOperation                 OperationName = "CreateAccount"
	CreateContractOperation                OperationName = "CreateContract"
	CreateOrganizationOperation            OperationName = "CreateOrganization"
	CreateTunnelOperation                  OperationName = "CreateTunnel"
	CreateWorkgroupOperation               OperationName = "CreateWorkgroup"
	DeclineWorkgroupInvitationOperation    OperationName = "DeclineWorkgroupInvitation"
	DeleteAccountOperation                 OperationName = "DeleteAccount"
	DeleteContractOperation                OperationName = "DeleteContract"
	DeleteOrganizationOperation            OperationName = "DeleteOrganization"
	DeleteTunnelOperation                  OperationName = "DeleteTunnel"
	DeleteTunnelAttachmentOperation        OperationName = "DeleteTunnelAttachment"
	DeleteTunnelServeOperation             OperationName = "DeleteTunnelServe"
	DeleteWorkgroupOperation               OperationName = "DeleteWorkgroup"
	DisableEnvironmentOperation            OperationName = "DisableEnvironment"
	EnableEnvironmentOperation             OperationName = "EnableEnvironment"
	GetAdvertisementOperation              OperationName = "GetAdvertisement"
	GetContractOperation                   OperationName = "GetContract"
	GetDashboardActivityOperation          OperationName = "GetDashboardActivity"
	GetDashboardEnvironmentsOperation      OperationName = "GetDashboardEnvironments"
	GetDashboardSummaryOperation           OperationName = "GetDashboardSummary"
	GetEnvironmentOperation                OperationName = "GetEnvironment"
	GetSessionOperation                    OperationName = "GetSession"
	GetTunnelOperation                     OperationName = "GetTunnel"
	GetTunnelServeOperation                OperationName = "GetTunnelServe"
	GetWorkgroupOperation                  OperationName = "GetWorkgroup"
	GetWorkgroupsActivityOperation         OperationName = "GetWorkgroupsActivity"
	HeartbeatEnvironmentOperation          OperationName = "HeartbeatEnvironment"
	HeartbeatTunnelAttachmentOperation     OperationName = "HeartbeatTunnelAttachment"
	HeartbeatTunnelServeOperation          OperationName = "HeartbeatTunnelServe"
	ListAccountsOperation                  OperationName = "ListAccounts"
	ListAdminWorkgroupsOperation           OperationName = "ListAdminWorkgroups"
	ListAdvertisementsOperation            OperationName = "ListAdvertisements"
	ListAuditEventsOperation               OperationName = "ListAuditEvents"
	ListContractsOperation                 OperationName = "ListContracts"
	ListEnvironmentsOperation              OperationName = "ListEnvironments"
	ListOrganizationsOperation             OperationName = "ListOrganizations"
	ListSessionsOperation                  OperationName = "ListSessions"
	ListTunnelAttachmentsOperation         OperationName = "ListTunnelAttachments"
	ListTunnelGrantsOperation              OperationName = "ListTunnelGrants"
	ListTunnelsOperation                   OperationName = "ListTunnels"
	ListUsersOperation                     OperationName = "ListUsers"
	ListWorkgroupMembersOperation          OperationName = "ListWorkgroupMembers"
	ListWorkgroupsOperation                OperationName = "ListWorkgroups"
	LoginOperation                         OperationName = "Login"
	LogoutOperation                        OperationName = "Logout"
	ProposeSessionOperation                OperationName = "ProposeSession"
	PublishAdvertisementOperation          OperationName = "PublishAdvertisement"
	RegenerateAccountTokenOperation        OperationName = "RegenerateAccountToken"
	RejectSessionOperation                 OperationName = "RejectSession"
	RemoveTunnelGrantOperation             OperationName = "RemoveTunnelGrant"
	RemoveWorkgroupMemberOperation         OperationName = "RemoveWorkgroupMember"
	ReportSessionEnvelopeCountOperation    OperationName = "ReportSessionEnvelopeCount"
	RetractAdvertisementOperation          OperationName = "RetractAdvertisement"
	SearchCatalogOperation                 OperationName = "SearchCatalog"
	StartTunnelServeOperation              OperationName = "StartTunnelServe"
	UpdateAdvertisementOperation           OperationName = "UpdateAdvertisement"
	UpdateContractOperation                OperationName = "UpdateContract"
	WhoamiOperation                        OperationName = "Whoami"
)

type OptAdvertisementCapabilityMetadata

type OptAdvertisementCapabilityMetadata struct {
	Value AdvertisementCapabilityMetadata
	Set   bool
}

OptAdvertisementCapabilityMetadata is optional AdvertisementCapabilityMetadata.

func NewOptAdvertisementCapabilityMetadata

func NewOptAdvertisementCapabilityMetadata(v AdvertisementCapabilityMetadata) OptAdvertisementCapabilityMetadata

NewOptAdvertisementCapabilityMetadata returns new OptAdvertisementCapabilityMetadata with value set to v.

func (*OptAdvertisementCapabilityMetadata) Decode

Decode decodes AdvertisementCapabilityMetadata from json.

func (OptAdvertisementCapabilityMetadata) Encode

Encode encodes AdvertisementCapabilityMetadata as json.

func (OptAdvertisementCapabilityMetadata) Get

Get returns value and boolean that denotes whether value was set.

func (OptAdvertisementCapabilityMetadata) IsSet

IsSet returns true if OptAdvertisementCapabilityMetadata was set.

func (OptAdvertisementCapabilityMetadata) MarshalJSON

func (s OptAdvertisementCapabilityMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAdvertisementCapabilityMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptAdvertisementCapabilityMetadata) Reset

Reset unsets value.

func (*OptAdvertisementCapabilityMetadata) SetTo

SetTo sets value to v.

func (*OptAdvertisementCapabilityMetadata) UnmarshalJSON

func (s *OptAdvertisementCapabilityMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAdvertisementStatus

type OptAdvertisementStatus struct {
	Value AdvertisementStatus
	Set   bool
}

OptAdvertisementStatus is optional AdvertisementStatus.

func NewOptAdvertisementStatus

func NewOptAdvertisementStatus(v AdvertisementStatus) OptAdvertisementStatus

NewOptAdvertisementStatus returns new OptAdvertisementStatus with value set to v.

func (OptAdvertisementStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptAdvertisementStatus) IsSet

func (o OptAdvertisementStatus) IsSet() bool

IsSet returns true if OptAdvertisementStatus was set.

func (OptAdvertisementStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptAdvertisementStatus) Reset

func (o *OptAdvertisementStatus) Reset()

Reset unsets value.

func (*OptAdvertisementStatus) SetTo

SetTo sets value to v.

type OptAdvertisementTunnelMode

type OptAdvertisementTunnelMode struct {
	Value AdvertisementTunnelMode
	Set   bool
}

OptAdvertisementTunnelMode is optional AdvertisementTunnelMode.

func NewOptAdvertisementTunnelMode

func NewOptAdvertisementTunnelMode(v AdvertisementTunnelMode) OptAdvertisementTunnelMode

NewOptAdvertisementTunnelMode returns new OptAdvertisementTunnelMode with value set to v.

func (*OptAdvertisementTunnelMode) Decode

Decode decodes AdvertisementTunnelMode from json.

func (OptAdvertisementTunnelMode) Encode

func (o OptAdvertisementTunnelMode) Encode(e *jx.Encoder)

Encode encodes AdvertisementTunnelMode as json.

func (OptAdvertisementTunnelMode) Get

Get returns value and boolean that denotes whether value was set.

func (OptAdvertisementTunnelMode) IsSet

func (o OptAdvertisementTunnelMode) IsSet() bool

IsSet returns true if OptAdvertisementTunnelMode was set.

func (OptAdvertisementTunnelMode) MarshalJSON

func (s OptAdvertisementTunnelMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAdvertisementTunnelMode) Or

Or returns value if set, or given parameter if does not.

func (*OptAdvertisementTunnelMode) Reset

func (o *OptAdvertisementTunnelMode) Reset()

Reset unsets value.

func (*OptAdvertisementTunnelMode) SetTo

SetTo sets value to v.

func (*OptAdvertisementTunnelMode) UnmarshalJSON

func (s *OptAdvertisementTunnelMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCloseSessionRequest

type OptCloseSessionRequest struct {
	Value CloseSessionRequest
	Set   bool
}

OptCloseSessionRequest is optional CloseSessionRequest.

func NewOptCloseSessionRequest

func NewOptCloseSessionRequest(v CloseSessionRequest) OptCloseSessionRequest

NewOptCloseSessionRequest returns new OptCloseSessionRequest with value set to v.

func (*OptCloseSessionRequest) Decode

func (o *OptCloseSessionRequest) Decode(d *jx.Decoder) error

Decode decodes CloseSessionRequest from json.

func (OptCloseSessionRequest) Encode

func (o OptCloseSessionRequest) Encode(e *jx.Encoder)

Encode encodes CloseSessionRequest as json.

func (OptCloseSessionRequest) Get

Get returns value and boolean that denotes whether value was set.

func (OptCloseSessionRequest) IsSet

func (o OptCloseSessionRequest) IsSet() bool

IsSet returns true if OptCloseSessionRequest was set.

func (OptCloseSessionRequest) MarshalJSON

func (s OptCloseSessionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCloseSessionRequest) Or

Or returns value if set, or given parameter if does not.

func (*OptCloseSessionRequest) Reset

func (o *OptCloseSessionRequest) Reset()

Reset unsets value.

func (*OptCloseSessionRequest) SetTo

SetTo sets value to v.

func (*OptCloseSessionRequest) UnmarshalJSON

func (s *OptCloseSessionRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptContractAccessMode

type OptContractAccessMode struct {
	Value ContractAccessMode
	Set   bool
}

OptContractAccessMode is optional ContractAccessMode.

func NewOptContractAccessMode

func NewOptContractAccessMode(v ContractAccessMode) OptContractAccessMode

NewOptContractAccessMode returns new OptContractAccessMode with value set to v.

func (*OptContractAccessMode) Decode

func (o *OptContractAccessMode) Decode(d *jx.Decoder) error

Decode decodes ContractAccessMode from json.

func (OptContractAccessMode) Encode

func (o OptContractAccessMode) Encode(e *jx.Encoder)

Encode encodes ContractAccessMode as json.

func (OptContractAccessMode) Get

Get returns value and boolean that denotes whether value was set.

func (OptContractAccessMode) IsSet

func (o OptContractAccessMode) IsSet() bool

IsSet returns true if OptContractAccessMode was set.

func (OptContractAccessMode) MarshalJSON

func (s OptContractAccessMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptContractAccessMode) Or

Or returns value if set, or given parameter if does not.

func (*OptContractAccessMode) Reset

func (o *OptContractAccessMode) Reset()

Reset unsets value.

func (*OptContractAccessMode) SetTo

SetTo sets value to v.

func (*OptContractAccessMode) UnmarshalJSON

func (s *OptContractAccessMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptContractSnapshot

type OptContractSnapshot struct {
	Value ContractSnapshot
	Set   bool
}

OptContractSnapshot is optional ContractSnapshot.

func NewOptContractSnapshot

func NewOptContractSnapshot(v ContractSnapshot) OptContractSnapshot

NewOptContractSnapshot returns new OptContractSnapshot with value set to v.

func (*OptContractSnapshot) Decode

func (o *OptContractSnapshot) Decode(d *jx.Decoder) error

Decode decodes ContractSnapshot from json.

func (OptContractSnapshot) Encode

func (o OptContractSnapshot) Encode(e *jx.Encoder)

Encode encodes ContractSnapshot as json.

func (OptContractSnapshot) Get

func (o OptContractSnapshot) Get() (v ContractSnapshot, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptContractSnapshot) IsSet

func (o OptContractSnapshot) IsSet() bool

IsSet returns true if OptContractSnapshot was set.

func (OptContractSnapshot) MarshalJSON

func (s OptContractSnapshot) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptContractSnapshot) Or

Or returns value if set, or given parameter if does not.

func (*OptContractSnapshot) Reset

func (o *OptContractSnapshot) Reset()

Reset unsets value.

func (*OptContractSnapshot) SetTo

SetTo sets value to v.

func (*OptContractSnapshot) UnmarshalJSON

func (s *OptContractSnapshot) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateAccountRequestRole

type OptCreateAccountRequestRole struct {
	Value CreateAccountRequestRole
	Set   bool
}

OptCreateAccountRequestRole is optional CreateAccountRequestRole.

func NewOptCreateAccountRequestRole

func NewOptCreateAccountRequestRole(v CreateAccountRequestRole) OptCreateAccountRequestRole

NewOptCreateAccountRequestRole returns new OptCreateAccountRequestRole with value set to v.

func (*OptCreateAccountRequestRole) Decode

Decode decodes CreateAccountRequestRole from json.

func (OptCreateAccountRequestRole) Encode

func (o OptCreateAccountRequestRole) Encode(e *jx.Encoder)

Encode encodes CreateAccountRequestRole as json.

func (OptCreateAccountRequestRole) Get

Get returns value and boolean that denotes whether value was set.

func (OptCreateAccountRequestRole) IsSet

IsSet returns true if OptCreateAccountRequestRole was set.

func (OptCreateAccountRequestRole) MarshalJSON

func (s OptCreateAccountRequestRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCreateAccountRequestRole) Or

Or returns value if set, or given parameter if does not.

func (*OptCreateAccountRequestRole) Reset

func (o *OptCreateAccountRequestRole) Reset()

Reset unsets value.

func (*OptCreateAccountRequestRole) SetTo

SetTo sets value to v.

func (*OptCreateAccountRequestRole) UnmarshalJSON

func (s *OptCreateAccountRequestRole) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateAccountRequestStatus

type OptCreateAccountRequestStatus struct {
	Value CreateAccountRequestStatus
	Set   bool
}

OptCreateAccountRequestStatus is optional CreateAccountRequestStatus.

func NewOptCreateAccountRequestStatus

func NewOptCreateAccountRequestStatus(v CreateAccountRequestStatus) OptCreateAccountRequestStatus

NewOptCreateAccountRequestStatus returns new OptCreateAccountRequestStatus with value set to v.

func (*OptCreateAccountRequestStatus) Decode

Decode decodes CreateAccountRequestStatus from json.

func (OptCreateAccountRequestStatus) Encode

Encode encodes CreateAccountRequestStatus as json.

func (OptCreateAccountRequestStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptCreateAccountRequestStatus) IsSet

IsSet returns true if OptCreateAccountRequestStatus was set.

func (OptCreateAccountRequestStatus) MarshalJSON

func (s OptCreateAccountRequestStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCreateAccountRequestStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptCreateAccountRequestStatus) Reset

func (o *OptCreateAccountRequestStatus) Reset()

Reset unsets value.

func (*OptCreateAccountRequestStatus) SetTo

SetTo sets value to v.

func (*OptCreateAccountRequestStatus) UnmarshalJSON

func (s *OptCreateAccountRequestStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDashboardBucket

type OptDashboardBucket struct {
	Value DashboardBucket
	Set   bool
}

OptDashboardBucket is optional DashboardBucket.

func NewOptDashboardBucket

func NewOptDashboardBucket(v DashboardBucket) OptDashboardBucket

NewOptDashboardBucket returns new OptDashboardBucket with value set to v.

func (OptDashboardBucket) Get

func (o OptDashboardBucket) Get() (v DashboardBucket, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptDashboardBucket) IsSet

func (o OptDashboardBucket) IsSet() bool

IsSet returns true if OptDashboardBucket was set.

func (OptDashboardBucket) Or

Or returns value if set, or given parameter if does not.

func (*OptDashboardBucket) Reset

func (o *OptDashboardBucket) Reset()

Reset unsets value.

func (*OptDashboardBucket) SetTo

func (o *OptDashboardBucket) SetTo(v DashboardBucket)

SetTo sets value to v.

type OptDashboardWindow

type OptDashboardWindow struct {
	Value DashboardWindow
	Set   bool
}

OptDashboardWindow is optional DashboardWindow.

func NewOptDashboardWindow

func NewOptDashboardWindow(v DashboardWindow) OptDashboardWindow

NewOptDashboardWindow returns new OptDashboardWindow with value set to v.

func (OptDashboardWindow) Get

func (o OptDashboardWindow) Get() (v DashboardWindow, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptDashboardWindow) IsSet

func (o OptDashboardWindow) IsSet() bool

IsSet returns true if OptDashboardWindow was set.

func (OptDashboardWindow) Or

Or returns value if set, or given parameter if does not.

func (*OptDashboardWindow) Reset

func (o *OptDashboardWindow) Reset()

Reset unsets value.

func (*OptDashboardWindow) SetTo

func (o *OptDashboardWindow) SetTo(v DashboardWindow)

SetTo sets value to v.

type OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDateTime) Encode

func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptDateTime) Get

func (o OptDateTime) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptDateTime) IsSet

func (o OptDateTime) IsSet() bool

IsSet returns true if OptDateTime was set.

func (OptDateTime) MarshalJSON

func (s OptDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDateTime) Or

func (o OptDateTime) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*OptDateTime) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

func (o *OptDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

func (s *OptDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptListAdminWorkgroupsState

type OptListAdminWorkgroupsState struct {
	Value ListAdminWorkgroupsState
	Set   bool
}

OptListAdminWorkgroupsState is optional ListAdminWorkgroupsState.

func NewOptListAdminWorkgroupsState

func NewOptListAdminWorkgroupsState(v ListAdminWorkgroupsState) OptListAdminWorkgroupsState

NewOptListAdminWorkgroupsState returns new OptListAdminWorkgroupsState with value set to v.

func (OptListAdminWorkgroupsState) Get

Get returns value and boolean that denotes whether value was set.

func (OptListAdminWorkgroupsState) IsSet

IsSet returns true if OptListAdminWorkgroupsState was set.

func (OptListAdminWorkgroupsState) Or

Or returns value if set, or given parameter if does not.

func (*OptListAdminWorkgroupsState) Reset

func (o *OptListAdminWorkgroupsState) Reset()

Reset unsets value.

func (*OptListAdminWorkgroupsState) SetTo

SetTo sets value to v.

type OptListSessionsRole

type OptListSessionsRole struct {
	Value ListSessionsRole
	Set   bool
}

OptListSessionsRole is optional ListSessionsRole.

func NewOptListSessionsRole

func NewOptListSessionsRole(v ListSessionsRole) OptListSessionsRole

NewOptListSessionsRole returns new OptListSessionsRole with value set to v.

func (OptListSessionsRole) Get

func (o OptListSessionsRole) Get() (v ListSessionsRole, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptListSessionsRole) IsSet

func (o OptListSessionsRole) IsSet() bool

IsSet returns true if OptListSessionsRole was set.

func (OptListSessionsRole) Or

Or returns value if set, or given parameter if does not.

func (*OptListSessionsRole) Reset

func (o *OptListSessionsRole) Reset()

Reset unsets value.

func (*OptListSessionsRole) SetTo

SetTo sets value to v.

type OptListSessionsSort

type OptListSessionsSort struct {
	Value ListSessionsSort
	Set   bool
}

OptListSessionsSort is optional ListSessionsSort.

func NewOptListSessionsSort

func NewOptListSessionsSort(v ListSessionsSort) OptListSessionsSort

NewOptListSessionsSort returns new OptListSessionsSort with value set to v.

func (OptListSessionsSort) Get

func (o OptListSessionsSort) Get() (v ListSessionsSort, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptListSessionsSort) IsSet

func (o OptListSessionsSort) IsSet() bool

IsSet returns true if OptListSessionsSort was set.

func (OptListSessionsSort) Or

Or returns value if set, or given parameter if does not.

func (*OptListSessionsSort) Reset

func (o *OptListSessionsSort) Reset()

Reset unsets value.

func (*OptListSessionsSort) SetTo

SetTo sets value to v.

type OptListTunnelsScope

type OptListTunnelsScope struct {
	Value ListTunnelsScope
	Set   bool
}

OptListTunnelsScope is optional ListTunnelsScope.

func NewOptListTunnelsScope

func NewOptListTunnelsScope(v ListTunnelsScope) OptListTunnelsScope

NewOptListTunnelsScope returns new OptListTunnelsScope with value set to v.

func (OptListTunnelsScope) Get

func (o OptListTunnelsScope) Get() (v ListTunnelsScope, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptListTunnelsScope) IsSet

func (o OptListTunnelsScope) IsSet() bool

IsSet returns true if OptListTunnelsScope was set.

func (OptListTunnelsScope) Or

Or returns value if set, or given parameter if does not.

func (*OptListTunnelsScope) Reset

func (o *OptListTunnelsScope) Reset()

Reset unsets value.

func (*OptListTunnelsScope) SetTo

SetTo sets value to v.

type OptMaturityRequirements

type OptMaturityRequirements struct {
	Value MaturityRequirements
	Set   bool
}

OptMaturityRequirements is optional MaturityRequirements.

func NewOptMaturityRequirements

func NewOptMaturityRequirements(v MaturityRequirements) OptMaturityRequirements

NewOptMaturityRequirements returns new OptMaturityRequirements with value set to v.

func (*OptMaturityRequirements) Decode

func (o *OptMaturityRequirements) Decode(d *jx.Decoder) error

Decode decodes MaturityRequirements from json.

func (OptMaturityRequirements) Encode

func (o OptMaturityRequirements) Encode(e *jx.Encoder)

Encode encodes MaturityRequirements as json.

func (OptMaturityRequirements) Get

Get returns value and boolean that denotes whether value was set.

func (OptMaturityRequirements) IsSet

func (o OptMaturityRequirements) IsSet() bool

IsSet returns true if OptMaturityRequirements was set.

func (OptMaturityRequirements) MarshalJSON

func (s OptMaturityRequirements) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptMaturityRequirements) Or

Or returns value if set, or given parameter if does not.

func (*OptMaturityRequirements) Reset

func (o *OptMaturityRequirements) Reset()

Reset unsets value.

func (*OptMaturityRequirements) SetTo

SetTo sets value to v.

func (*OptMaturityRequirements) UnmarshalJSON

func (s *OptMaturityRequirements) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionCloseReason

type OptSessionCloseReason struct {
	Value SessionCloseReason
	Set   bool
}

OptSessionCloseReason is optional SessionCloseReason.

func NewOptSessionCloseReason

func NewOptSessionCloseReason(v SessionCloseReason) OptSessionCloseReason

NewOptSessionCloseReason returns new OptSessionCloseReason with value set to v.

func (*OptSessionCloseReason) Decode

func (o *OptSessionCloseReason) Decode(d *jx.Decoder) error

Decode decodes SessionCloseReason from json.

func (OptSessionCloseReason) Encode

func (o OptSessionCloseReason) Encode(e *jx.Encoder)

Encode encodes SessionCloseReason as json.

func (OptSessionCloseReason) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionCloseReason) IsSet

func (o OptSessionCloseReason) IsSet() bool

IsSet returns true if OptSessionCloseReason was set.

func (OptSessionCloseReason) MarshalJSON

func (s OptSessionCloseReason) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionCloseReason) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionCloseReason) Reset

func (o *OptSessionCloseReason) Reset()

Reset unsets value.

func (*OptSessionCloseReason) SetTo

SetTo sets value to v.

func (*OptSessionCloseReason) UnmarshalJSON

func (s *OptSessionCloseReason) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

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.

type OptTunnelMode

type OptTunnelMode struct {
	Value TunnelMode
	Set   bool
}

OptTunnelMode is optional TunnelMode.

func NewOptTunnelMode

func NewOptTunnelMode(v TunnelMode) OptTunnelMode

NewOptTunnelMode returns new OptTunnelMode with value set to v.

func (*OptTunnelMode) Decode

func (o *OptTunnelMode) Decode(d *jx.Decoder) error

Decode decodes TunnelMode from json.

func (OptTunnelMode) Encode

func (o OptTunnelMode) Encode(e *jx.Encoder)

Encode encodes TunnelMode as json.

func (OptTunnelMode) Get

func (o OptTunnelMode) Get() (v TunnelMode, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptTunnelMode) IsSet

func (o OptTunnelMode) IsSet() bool

IsSet returns true if OptTunnelMode was set.

func (OptTunnelMode) MarshalJSON

func (s OptTunnelMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTunnelMode) Or

Or returns value if set, or given parameter if does not.

func (*OptTunnelMode) Reset

func (o *OptTunnelMode) Reset()

Reset unsets value.

func (*OptTunnelMode) SetTo

func (o *OptTunnelMode) SetTo(v TunnelMode)

SetTo sets value to v.

func (*OptTunnelMode) UnmarshalJSON

func (s *OptTunnelMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkgroupMembershipRole

type OptWorkgroupMembershipRole struct {
	Value WorkgroupMembershipRole
	Set   bool
}

OptWorkgroupMembershipRole is optional WorkgroupMembershipRole.

func NewOptWorkgroupMembershipRole

func NewOptWorkgroupMembershipRole(v WorkgroupMembershipRole) OptWorkgroupMembershipRole

NewOptWorkgroupMembershipRole returns new OptWorkgroupMembershipRole with value set to v.

func (*OptWorkgroupMembershipRole) Decode

Decode decodes WorkgroupMembershipRole from json.

func (OptWorkgroupMembershipRole) Encode

func (o OptWorkgroupMembershipRole) Encode(e *jx.Encoder)

Encode encodes WorkgroupMembershipRole as json.

func (OptWorkgroupMembershipRole) Get

Get returns value and boolean that denotes whether value was set.

func (OptWorkgroupMembershipRole) IsSet

func (o OptWorkgroupMembershipRole) IsSet() bool

IsSet returns true if OptWorkgroupMembershipRole was set.

func (OptWorkgroupMembershipRole) MarshalJSON

func (s OptWorkgroupMembershipRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWorkgroupMembershipRole) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkgroupMembershipRole) Reset

func (o *OptWorkgroupMembershipRole) Reset()

Reset unsets value.

func (*OptWorkgroupMembershipRole) SetTo

SetTo sets value to v.

func (*OptWorkgroupMembershipRole) UnmarshalJSON

func (s *OptWorkgroupMembershipRole) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ServerOption
	ClientOption
}

Option is config option.

type Organization

type Organization struct {
	ID        string    `json:"id"`
	Name      string    `json:"name"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
}

Ref: #/organization

func (*Organization) Decode

func (s *Organization) Decode(d *jx.Decoder) error

Decode decodes Organization from json.

func (*Organization) Encode

func (s *Organization) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Organization) GetCreatedAt

func (s *Organization) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Organization) GetID

func (s *Organization) GetID() string

GetID returns the value of ID.

func (*Organization) GetName

func (s *Organization) GetName() string

GetName returns the value of Name.

func (*Organization) GetUpdatedAt

func (s *Organization) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Organization) MarshalJSON

func (s *Organization) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Organization) SetCreatedAt

func (s *Organization) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Organization) SetID

func (s *Organization) SetID(val string)

SetID sets the value of ID.

func (*Organization) SetName

func (s *Organization) SetName(val string)

SetName sets the value of Name.

func (*Organization) SetUpdatedAt

func (s *Organization) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Organization) UnmarshalJSON

func (s *Organization) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Organization) Validate

func (s *Organization) Validate() error

type ProposeSessionBadRequest

type ProposeSessionBadRequest Error

func (*ProposeSessionBadRequest) Decode

func (s *ProposeSessionBadRequest) Decode(d *jx.Decoder) error

Decode decodes ProposeSessionBadRequest from json.

func (*ProposeSessionBadRequest) Encode

func (s *ProposeSessionBadRequest) Encode(e *jx.Encoder)

Encode encodes ProposeSessionBadRequest as json.

func (*ProposeSessionBadRequest) MarshalJSON

func (s *ProposeSessionBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProposeSessionBadRequest) UnmarshalJSON

func (s *ProposeSessionBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProposeSessionConflict

type ProposeSessionConflict Error

func (*ProposeSessionConflict) Decode

func (s *ProposeSessionConflict) Decode(d *jx.Decoder) error

Decode decodes ProposeSessionConflict from json.

func (*ProposeSessionConflict) Encode

func (s *ProposeSessionConflict) Encode(e *jx.Encoder)

Encode encodes ProposeSessionConflict as json.

func (*ProposeSessionConflict) MarshalJSON

func (s *ProposeSessionConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProposeSessionConflict) UnmarshalJSON

func (s *ProposeSessionConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProposeSessionInternalServerError

type ProposeSessionInternalServerError Error

func (*ProposeSessionInternalServerError) Decode

Decode decodes ProposeSessionInternalServerError from json.

func (*ProposeSessionInternalServerError) Encode

Encode encodes ProposeSessionInternalServerError as json.

func (*ProposeSessionInternalServerError) MarshalJSON

func (s *ProposeSessionInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProposeSessionInternalServerError) UnmarshalJSON

func (s *ProposeSessionInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProposeSessionNotFound

type ProposeSessionNotFound Error

func (*ProposeSessionNotFound) Decode

func (s *ProposeSessionNotFound) Decode(d *jx.Decoder) error

Decode decodes ProposeSessionNotFound from json.

func (*ProposeSessionNotFound) Encode

func (s *ProposeSessionNotFound) Encode(e *jx.Encoder)

Encode encodes ProposeSessionNotFound as json.

func (*ProposeSessionNotFound) MarshalJSON

func (s *ProposeSessionNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProposeSessionNotFound) UnmarshalJSON

func (s *ProposeSessionNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProposeSessionRequest

type ProposeSessionRequest struct {
	AdvertisementId string    `json:"advertisementId"`
	WorkgroupId     string    `json:"workgroupId"`
	ProposerMessage OptString `json:"proposerMessage"`
}

Ref: #/proposeSessionRequest

func (*ProposeSessionRequest) Decode

func (s *ProposeSessionRequest) Decode(d *jx.Decoder) error

Decode decodes ProposeSessionRequest from json.

func (*ProposeSessionRequest) Encode

func (s *ProposeSessionRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProposeSessionRequest) GetAdvertisementId

func (s *ProposeSessionRequest) GetAdvertisementId() string

GetAdvertisementId returns the value of AdvertisementId.

func (*ProposeSessionRequest) GetProposerMessage

func (s *ProposeSessionRequest) GetProposerMessage() OptString

GetProposerMessage returns the value of ProposerMessage.

func (*ProposeSessionRequest) GetWorkgroupId

func (s *ProposeSessionRequest) GetWorkgroupId() string

GetWorkgroupId returns the value of WorkgroupId.

func (*ProposeSessionRequest) MarshalJSON

func (s *ProposeSessionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProposeSessionRequest) SetAdvertisementId

func (s *ProposeSessionRequest) SetAdvertisementId(val string)

SetAdvertisementId sets the value of AdvertisementId.

func (*ProposeSessionRequest) SetProposerMessage

func (s *ProposeSessionRequest) SetProposerMessage(val OptString)

SetProposerMessage sets the value of ProposerMessage.

func (*ProposeSessionRequest) SetWorkgroupId

func (s *ProposeSessionRequest) SetWorkgroupId(val string)

SetWorkgroupId sets the value of WorkgroupId.

func (*ProposeSessionRequest) UnmarshalJSON

func (s *ProposeSessionRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProposeSessionRequest) Validate

func (s *ProposeSessionRequest) Validate() error

type ProposeSessionRes

type ProposeSessionRes interface {
	// contains filtered or unexported methods
}

type ProposeSessionUnauthorized

type ProposeSessionUnauthorized Error

func (*ProposeSessionUnauthorized) Decode

Decode decodes ProposeSessionUnauthorized from json.

func (*ProposeSessionUnauthorized) Encode

func (s *ProposeSessionUnauthorized) Encode(e *jx.Encoder)

Encode encodes ProposeSessionUnauthorized as json.

func (*ProposeSessionUnauthorized) MarshalJSON

func (s *ProposeSessionUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProposeSessionUnauthorized) UnmarshalJSON

func (s *ProposeSessionUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PublishAdvertisementBadRequest

type PublishAdvertisementBadRequest Error

func (*PublishAdvertisementBadRequest) Decode

Decode decodes PublishAdvertisementBadRequest from json.

func (*PublishAdvertisementBadRequest) Encode

Encode encodes PublishAdvertisementBadRequest as json.

func (*PublishAdvertisementBadRequest) MarshalJSON

func (s *PublishAdvertisementBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PublishAdvertisementBadRequest) UnmarshalJSON

func (s *PublishAdvertisementBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PublishAdvertisementConflict

type PublishAdvertisementConflict Error

func (*PublishAdvertisementConflict) Decode

Decode decodes PublishAdvertisementConflict from json.

func (*PublishAdvertisementConflict) Encode

func (s *PublishAdvertisementConflict) Encode(e *jx.Encoder)

Encode encodes PublishAdvertisementConflict as json.

func (*PublishAdvertisementConflict) MarshalJSON

func (s *PublishAdvertisementConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PublishAdvertisementConflict) UnmarshalJSON

func (s *PublishAdvertisementConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PublishAdvertisementForbidden

type PublishAdvertisementForbidden Error

func (*PublishAdvertisementForbidden) Decode

Decode decodes PublishAdvertisementForbidden from json.

func (*PublishAdvertisementForbidden) Encode

Encode encodes PublishAdvertisementForbidden as json.

func (*PublishAdvertisementForbidden) MarshalJSON

func (s *PublishAdvertisementForbidden) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PublishAdvertisementForbidden) UnmarshalJSON

func (s *PublishAdvertisementForbidden) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PublishAdvertisementInternalServerError

type PublishAdvertisementInternalServerError Error

func (*PublishAdvertisementInternalServerError) Decode

Decode decodes PublishAdvertisementInternalServerError from json.

func (*PublishAdvertisementInternalServerError) Encode

Encode encodes PublishAdvertisementInternalServerError as json.

func (*PublishAdvertisementInternalServerError) MarshalJSON

func (s *PublishAdvertisementInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PublishAdvertisementInternalServerError) UnmarshalJSON

func (s *PublishAdvertisementInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PublishAdvertisementRequest

type PublishAdvertisementRequest struct {
	Name                string                            `json:"name"`
	Description         OptString                         `json:"description"`
	Capabilities        []AdvertisementCapability         `json:"capabilities"`
	InteractionPatterns []AdvertisementInteractionPattern `json:"interactionPatterns"`
	WorkgroupScopes     []string                          `json:"workgroupScopes"`
	TunnelMode          OptAdvertisementTunnelMode        `json:"tunnelMode"`
	ContractId          OptString                         `json:"contractId"`
}

Ref: #/publishAdvertisementRequest

func (*PublishAdvertisementRequest) Decode

Decode decodes PublishAdvertisementRequest from json.

func (*PublishAdvertisementRequest) Encode

func (s *PublishAdvertisementRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PublishAdvertisementRequest) GetCapabilities

GetCapabilities returns the value of Capabilities.

func (*PublishAdvertisementRequest) GetContractId

func (s *PublishAdvertisementRequest) GetContractId() OptString

GetContractId returns the value of ContractId.

func (*PublishAdvertisementRequest) GetDescription

func (s *PublishAdvertisementRequest) GetDescription() OptString

GetDescription returns the value of Description.

func (*PublishAdvertisementRequest) GetInteractionPatterns

func (s *PublishAdvertisementRequest) GetInteractionPatterns() []AdvertisementInteractionPattern

GetInteractionPatterns returns the value of InteractionPatterns.

func (*PublishAdvertisementRequest) GetName

func (s *PublishAdvertisementRequest) GetName() string

GetName returns the value of Name.

func (*PublishAdvertisementRequest) GetTunnelMode

GetTunnelMode returns the value of TunnelMode.

func (*PublishAdvertisementRequest) GetWorkgroupScopes

func (s *PublishAdvertisementRequest) GetWorkgroupScopes() []string

GetWorkgroupScopes returns the value of WorkgroupScopes.

func (*PublishAdvertisementRequest) MarshalJSON

func (s *PublishAdvertisementRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PublishAdvertisementRequest) SetCapabilities

func (s *PublishAdvertisementRequest) SetCapabilities(val []AdvertisementCapability)

SetCapabilities sets the value of Capabilities.

func (*PublishAdvertisementRequest) SetContractId

func (s *PublishAdvertisementRequest) SetContractId(val OptString)

SetContractId sets the value of ContractId.

func (*PublishAdvertisementRequest) SetDescription

func (s *PublishAdvertisementRequest) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*PublishAdvertisementRequest) SetInteractionPatterns

func (s *PublishAdvertisementRequest) SetInteractionPatterns(val []AdvertisementInteractionPattern)

SetInteractionPatterns sets the value of InteractionPatterns.

func (*PublishAdvertisementRequest) SetName

func (s *PublishAdvertisementRequest) SetName(val string)

SetName sets the value of Name.

func (*PublishAdvertisementRequest) SetTunnelMode

SetTunnelMode sets the value of TunnelMode.

func (*PublishAdvertisementRequest) SetWorkgroupScopes

func (s *PublishAdvertisementRequest) SetWorkgroupScopes(val []string)

SetWorkgroupScopes sets the value of WorkgroupScopes.

func (*PublishAdvertisementRequest) UnmarshalJSON

func (s *PublishAdvertisementRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PublishAdvertisementRequest) Validate

func (s *PublishAdvertisementRequest) Validate() error

type PublishAdvertisementRes

type PublishAdvertisementRes interface {
	// contains filtered or unexported methods
}

type PublishAdvertisementUnauthorized

type PublishAdvertisementUnauthorized Error

func (*PublishAdvertisementUnauthorized) Decode

Decode decodes PublishAdvertisementUnauthorized from json.

func (*PublishAdvertisementUnauthorized) Encode

Encode encodes PublishAdvertisementUnauthorized as json.

func (*PublishAdvertisementUnauthorized) MarshalJSON

func (s *PublishAdvertisementUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PublishAdvertisementUnauthorized) UnmarshalJSON

func (s *PublishAdvertisementUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RegenerateAccountTokenInternalServerError

type RegenerateAccountTokenInternalServerError Error

func (*RegenerateAccountTokenInternalServerError) Decode

Decode decodes RegenerateAccountTokenInternalServerError from json.

func (*RegenerateAccountTokenInternalServerError) Encode

Encode encodes RegenerateAccountTokenInternalServerError as json.

func (*RegenerateAccountTokenInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*RegenerateAccountTokenInternalServerError) UnmarshalJSON

func (s *RegenerateAccountTokenInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RegenerateAccountTokenNotFound

type RegenerateAccountTokenNotFound Error

func (*RegenerateAccountTokenNotFound) Decode

Decode decodes RegenerateAccountTokenNotFound from json.

func (*RegenerateAccountTokenNotFound) Encode

Encode encodes RegenerateAccountTokenNotFound as json.

func (*RegenerateAccountTokenNotFound) MarshalJSON

func (s *RegenerateAccountTokenNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegenerateAccountTokenNotFound) UnmarshalJSON

func (s *RegenerateAccountTokenNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RegenerateAccountTokenRes

type RegenerateAccountTokenRes interface {
	// contains filtered or unexported methods
}

type RegenerateAccountTokenUnauthorized

type RegenerateAccountTokenUnauthorized Error

func (*RegenerateAccountTokenUnauthorized) Decode

Decode decodes RegenerateAccountTokenUnauthorized from json.

func (*RegenerateAccountTokenUnauthorized) Encode

Encode encodes RegenerateAccountTokenUnauthorized as json.

func (*RegenerateAccountTokenUnauthorized) MarshalJSON

func (s *RegenerateAccountTokenUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegenerateAccountTokenUnauthorized) UnmarshalJSON

func (s *RegenerateAccountTokenUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RegenerateTokenRequest

type RegenerateTokenRequest struct {
	Email string `json:"email"`
}

Ref: #/regenerateTokenRequest

func (*RegenerateTokenRequest) Decode

func (s *RegenerateTokenRequest) Decode(d *jx.Decoder) error

Decode decodes RegenerateTokenRequest from json.

func (*RegenerateTokenRequest) Encode

func (s *RegenerateTokenRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RegenerateTokenRequest) GetEmail

func (s *RegenerateTokenRequest) GetEmail() string

GetEmail returns the value of Email.

func (*RegenerateTokenRequest) MarshalJSON

func (s *RegenerateTokenRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegenerateTokenRequest) SetEmail

func (s *RegenerateTokenRequest) SetEmail(val string)

SetEmail sets the value of Email.

func (*RegenerateTokenRequest) UnmarshalJSON

func (s *RegenerateTokenRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RegenerateTokenRequest) Validate

func (s *RegenerateTokenRequest) Validate() error

type RejectSessionConflict

type RejectSessionConflict Error

func (*RejectSessionConflict) Decode

func (s *RejectSessionConflict) Decode(d *jx.Decoder) error

Decode decodes RejectSessionConflict from json.

func (*RejectSessionConflict) Encode

func (s *RejectSessionConflict) Encode(e *jx.Encoder)

Encode encodes RejectSessionConflict as json.

func (*RejectSessionConflict) MarshalJSON

func (s *RejectSessionConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RejectSessionConflict) UnmarshalJSON

func (s *RejectSessionConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RejectSessionForbidden

type RejectSessionForbidden Error

func (*RejectSessionForbidden) Decode

func (s *RejectSessionForbidden) Decode(d *jx.Decoder) error

Decode decodes RejectSessionForbidden from json.

func (*RejectSessionForbidden) Encode

func (s *RejectSessionForbidden) Encode(e *jx.Encoder)

Encode encodes RejectSessionForbidden as json.

func (*RejectSessionForbidden) MarshalJSON

func (s *RejectSessionForbidden) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RejectSessionForbidden) UnmarshalJSON

func (s *RejectSessionForbidden) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RejectSessionInternalServerError

type RejectSessionInternalServerError Error

func (*RejectSessionInternalServerError) Decode

Decode decodes RejectSessionInternalServerError from json.

func (*RejectSessionInternalServerError) Encode

Encode encodes RejectSessionInternalServerError as json.

func (*RejectSessionInternalServerError) MarshalJSON

func (s *RejectSessionInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RejectSessionInternalServerError) UnmarshalJSON

func (s *RejectSessionInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RejectSessionNoContent

type RejectSessionNoContent struct{}

RejectSessionNoContent is response for RejectSession operation.

type RejectSessionNotFound

type RejectSessionNotFound Error

func (*RejectSessionNotFound) Decode

func (s *RejectSessionNotFound) Decode(d *jx.Decoder) error

Decode decodes RejectSessionNotFound from json.

func (*RejectSessionNotFound) Encode

func (s *RejectSessionNotFound) Encode(e *jx.Encoder)

Encode encodes RejectSessionNotFound as json.

func (*RejectSessionNotFound) MarshalJSON

func (s *RejectSessionNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RejectSessionNotFound) UnmarshalJSON

func (s *RejectSessionNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RejectSessionParams

type RejectSessionParams struct {
	SessionId string
}

RejectSessionParams is parameters of rejectSession operation.

type RejectSessionRes

type RejectSessionRes interface {
	// contains filtered or unexported methods
}

type RejectSessionUnauthorized

type RejectSessionUnauthorized Error

func (*RejectSessionUnauthorized) Decode

func (s *RejectSessionUnauthorized) Decode(d *jx.Decoder) error

Decode decodes RejectSessionUnauthorized from json.

func (*RejectSessionUnauthorized) Encode

func (s *RejectSessionUnauthorized) Encode(e *jx.Encoder)

Encode encodes RejectSessionUnauthorized as json.

func (*RejectSessionUnauthorized) MarshalJSON

func (s *RejectSessionUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RejectSessionUnauthorized) UnmarshalJSON

func (s *RejectSessionUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveTunnelGrantInternalServerError

type RemoveTunnelGrantInternalServerError Error

func (*RemoveTunnelGrantInternalServerError) Decode

Decode decodes RemoveTunnelGrantInternalServerError from json.

func (*RemoveTunnelGrantInternalServerError) Encode

Encode encodes RemoveTunnelGrantInternalServerError as json.

func (*RemoveTunnelGrantInternalServerError) MarshalJSON

func (s *RemoveTunnelGrantInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveTunnelGrantInternalServerError) UnmarshalJSON

func (s *RemoveTunnelGrantInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveTunnelGrantNoContent

type RemoveTunnelGrantNoContent struct{}

RemoveTunnelGrantNoContent is response for RemoveTunnelGrant operation.

type RemoveTunnelGrantNotFound

type RemoveTunnelGrantNotFound Error

func (*RemoveTunnelGrantNotFound) Decode

func (s *RemoveTunnelGrantNotFound) Decode(d *jx.Decoder) error

Decode decodes RemoveTunnelGrantNotFound from json.

func (*RemoveTunnelGrantNotFound) Encode

func (s *RemoveTunnelGrantNotFound) Encode(e *jx.Encoder)

Encode encodes RemoveTunnelGrantNotFound as json.

func (*RemoveTunnelGrantNotFound) MarshalJSON

func (s *RemoveTunnelGrantNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveTunnelGrantNotFound) UnmarshalJSON

func (s *RemoveTunnelGrantNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveTunnelGrantParams

type RemoveTunnelGrantParams struct {
	TunnelId  string
	AccountId string
}

RemoveTunnelGrantParams is parameters of removeTunnelGrant operation.

type RemoveTunnelGrantRes

type RemoveTunnelGrantRes interface {
	// contains filtered or unexported methods
}

type RemoveTunnelGrantUnauthorized

type RemoveTunnelGrantUnauthorized Error

func (*RemoveTunnelGrantUnauthorized) Decode

Decode decodes RemoveTunnelGrantUnauthorized from json.

func (*RemoveTunnelGrantUnauthorized) Encode

Encode encodes RemoveTunnelGrantUnauthorized as json.

func (*RemoveTunnelGrantUnauthorized) MarshalJSON

func (s *RemoveTunnelGrantUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveTunnelGrantUnauthorized) UnmarshalJSON

func (s *RemoveTunnelGrantUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveWorkgroupMemberConflict

type RemoveWorkgroupMemberConflict Error

func (*RemoveWorkgroupMemberConflict) Decode

Decode decodes RemoveWorkgroupMemberConflict from json.

func (*RemoveWorkgroupMemberConflict) Encode

Encode encodes RemoveWorkgroupMemberConflict as json.

func (*RemoveWorkgroupMemberConflict) MarshalJSON

func (s *RemoveWorkgroupMemberConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveWorkgroupMemberConflict) UnmarshalJSON

func (s *RemoveWorkgroupMemberConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveWorkgroupMemberForbidden

type RemoveWorkgroupMemberForbidden Error

func (*RemoveWorkgroupMemberForbidden) Decode

Decode decodes RemoveWorkgroupMemberForbidden from json.

func (*RemoveWorkgroupMemberForbidden) Encode

Encode encodes RemoveWorkgroupMemberForbidden as json.

func (*RemoveWorkgroupMemberForbidden) MarshalJSON

func (s *RemoveWorkgroupMemberForbidden) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveWorkgroupMemberForbidden) UnmarshalJSON

func (s *RemoveWorkgroupMemberForbidden) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveWorkgroupMemberInternalServerError

type RemoveWorkgroupMemberInternalServerError Error

func (*RemoveWorkgroupMemberInternalServerError) Decode

Decode decodes RemoveWorkgroupMemberInternalServerError from json.

func (*RemoveWorkgroupMemberInternalServerError) Encode

Encode encodes RemoveWorkgroupMemberInternalServerError as json.

func (*RemoveWorkgroupMemberInternalServerError) MarshalJSON

func (s *RemoveWorkgroupMemberInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveWorkgroupMemberInternalServerError) UnmarshalJSON

func (s *RemoveWorkgroupMemberInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveWorkgroupMemberNoContent

type RemoveWorkgroupMemberNoContent struct{}

RemoveWorkgroupMemberNoContent is response for RemoveWorkgroupMember operation.

type RemoveWorkgroupMemberNotFound

type RemoveWorkgroupMemberNotFound Error

func (*RemoveWorkgroupMemberNotFound) Decode

Decode decodes RemoveWorkgroupMemberNotFound from json.

func (*RemoveWorkgroupMemberNotFound) Encode

Encode encodes RemoveWorkgroupMemberNotFound as json.

func (*RemoveWorkgroupMemberNotFound) MarshalJSON

func (s *RemoveWorkgroupMemberNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveWorkgroupMemberNotFound) UnmarshalJSON

func (s *RemoveWorkgroupMemberNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveWorkgroupMemberParams

type RemoveWorkgroupMemberParams struct {
	WorkgroupId  string
	MembershipId string
}

RemoveWorkgroupMemberParams is parameters of removeWorkgroupMember operation.

type RemoveWorkgroupMemberRes

type RemoveWorkgroupMemberRes interface {
	// contains filtered or unexported methods
}

type RemoveWorkgroupMemberUnauthorized

type RemoveWorkgroupMemberUnauthorized Error

func (*RemoveWorkgroupMemberUnauthorized) Decode

Decode decodes RemoveWorkgroupMemberUnauthorized from json.

func (*RemoveWorkgroupMemberUnauthorized) Encode

Encode encodes RemoveWorkgroupMemberUnauthorized as json.

func (*RemoveWorkgroupMemberUnauthorized) MarshalJSON

func (s *RemoveWorkgroupMemberUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveWorkgroupMemberUnauthorized) UnmarshalJSON

func (s *RemoveWorkgroupMemberUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReportEnvelopeCountRequest

type ReportEnvelopeCountRequest struct {
	Count      int       `json:"count"`
	ObservedAt time.Time `json:"observedAt"`
}

Ref: #/reportEnvelopeCountRequest

func (*ReportEnvelopeCountRequest) Decode

Decode decodes ReportEnvelopeCountRequest from json.

func (*ReportEnvelopeCountRequest) Encode

func (s *ReportEnvelopeCountRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReportEnvelopeCountRequest) GetCount

func (s *ReportEnvelopeCountRequest) GetCount() int

GetCount returns the value of Count.

func (*ReportEnvelopeCountRequest) GetObservedAt

func (s *ReportEnvelopeCountRequest) GetObservedAt() time.Time

GetObservedAt returns the value of ObservedAt.

func (*ReportEnvelopeCountRequest) MarshalJSON

func (s *ReportEnvelopeCountRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReportEnvelopeCountRequest) SetCount

func (s *ReportEnvelopeCountRequest) SetCount(val int)

SetCount sets the value of Count.

func (*ReportEnvelopeCountRequest) SetObservedAt

func (s *ReportEnvelopeCountRequest) SetObservedAt(val time.Time)

SetObservedAt sets the value of ObservedAt.

func (*ReportEnvelopeCountRequest) UnmarshalJSON

func (s *ReportEnvelopeCountRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReportEnvelopeCountRequest) Validate

func (s *ReportEnvelopeCountRequest) Validate() error

type ReportSessionEnvelopeCountBadRequest

type ReportSessionEnvelopeCountBadRequest Error

func (*ReportSessionEnvelopeCountBadRequest) Decode

Decode decodes ReportSessionEnvelopeCountBadRequest from json.

func (*ReportSessionEnvelopeCountBadRequest) Encode

Encode encodes ReportSessionEnvelopeCountBadRequest as json.

func (*ReportSessionEnvelopeCountBadRequest) MarshalJSON

func (s *ReportSessionEnvelopeCountBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReportSessionEnvelopeCountBadRequest) UnmarshalJSON

func (s *ReportSessionEnvelopeCountBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReportSessionEnvelopeCountForbidden

type ReportSessionEnvelopeCountForbidden Error

func (*ReportSessionEnvelopeCountForbidden) Decode

Decode decodes ReportSessionEnvelopeCountForbidden from json.

func (*ReportSessionEnvelopeCountForbidden) Encode

Encode encodes ReportSessionEnvelopeCountForbidden as json.

func (*ReportSessionEnvelopeCountForbidden) MarshalJSON

func (s *ReportSessionEnvelopeCountForbidden) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReportSessionEnvelopeCountForbidden) UnmarshalJSON

func (s *ReportSessionEnvelopeCountForbidden) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReportSessionEnvelopeCountInternalServerError

type ReportSessionEnvelopeCountInternalServerError Error

func (*ReportSessionEnvelopeCountInternalServerError) Decode

Decode decodes ReportSessionEnvelopeCountInternalServerError from json.

func (*ReportSessionEnvelopeCountInternalServerError) Encode

Encode encodes ReportSessionEnvelopeCountInternalServerError as json.

func (*ReportSessionEnvelopeCountInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ReportSessionEnvelopeCountInternalServerError) UnmarshalJSON

func (s *ReportSessionEnvelopeCountInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReportSessionEnvelopeCountNoContent

type ReportSessionEnvelopeCountNoContent struct{}

ReportSessionEnvelopeCountNoContent is response for ReportSessionEnvelopeCount operation.

type ReportSessionEnvelopeCountNotFound

type ReportSessionEnvelopeCountNotFound Error

func (*ReportSessionEnvelopeCountNotFound) Decode

Decode decodes ReportSessionEnvelopeCountNotFound from json.

func (*ReportSessionEnvelopeCountNotFound) Encode

Encode encodes ReportSessionEnvelopeCountNotFound as json.

func (*ReportSessionEnvelopeCountNotFound) MarshalJSON

func (s *ReportSessionEnvelopeCountNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReportSessionEnvelopeCountNotFound) UnmarshalJSON

func (s *ReportSessionEnvelopeCountNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReportSessionEnvelopeCountParams

type ReportSessionEnvelopeCountParams struct {
	SessionId string
}

ReportSessionEnvelopeCountParams is parameters of reportSessionEnvelopeCount operation.

type ReportSessionEnvelopeCountRes

type ReportSessionEnvelopeCountRes interface {
	// contains filtered or unexported methods
}

type ReportSessionEnvelopeCountUnauthorized

type ReportSessionEnvelopeCountUnauthorized Error

func (*ReportSessionEnvelopeCountUnauthorized) Decode

Decode decodes ReportSessionEnvelopeCountUnauthorized from json.

func (*ReportSessionEnvelopeCountUnauthorized) Encode

Encode encodes ReportSessionEnvelopeCountUnauthorized as json.

func (*ReportSessionEnvelopeCountUnauthorized) MarshalJSON

func (s *ReportSessionEnvelopeCountUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReportSessionEnvelopeCountUnauthorized) UnmarshalJSON

func (s *ReportSessionEnvelopeCountUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RetractAdvertisementForbidden

type RetractAdvertisementForbidden Error

func (*RetractAdvertisementForbidden) Decode

Decode decodes RetractAdvertisementForbidden from json.

func (*RetractAdvertisementForbidden) Encode

Encode encodes RetractAdvertisementForbidden as json.

func (*RetractAdvertisementForbidden) MarshalJSON

func (s *RetractAdvertisementForbidden) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RetractAdvertisementForbidden) UnmarshalJSON

func (s *RetractAdvertisementForbidden) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RetractAdvertisementInternalServerError

type RetractAdvertisementInternalServerError Error

func (*RetractAdvertisementInternalServerError) Decode

Decode decodes RetractAdvertisementInternalServerError from json.

func (*RetractAdvertisementInternalServerError) Encode

Encode encodes RetractAdvertisementInternalServerError as json.

func (*RetractAdvertisementInternalServerError) MarshalJSON

func (s *RetractAdvertisementInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RetractAdvertisementInternalServerError) UnmarshalJSON

func (s *RetractAdvertisementInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RetractAdvertisementNoContent

type RetractAdvertisementNoContent struct{}

RetractAdvertisementNoContent is response for RetractAdvertisement operation.

type RetractAdvertisementNotFound

type RetractAdvertisementNotFound Error

func (*RetractAdvertisementNotFound) Decode

Decode decodes RetractAdvertisementNotFound from json.

func (*RetractAdvertisementNotFound) Encode

func (s *RetractAdvertisementNotFound) Encode(e *jx.Encoder)

Encode encodes RetractAdvertisementNotFound as json.

func (*RetractAdvertisementNotFound) MarshalJSON

func (s *RetractAdvertisementNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RetractAdvertisementNotFound) UnmarshalJSON

func (s *RetractAdvertisementNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RetractAdvertisementParams

type RetractAdvertisementParams struct {
	AdvertisementId string
}

RetractAdvertisementParams is parameters of retractAdvertisement operation.

type RetractAdvertisementRes

type RetractAdvertisementRes interface {
	// contains filtered or unexported methods
}

type RetractAdvertisementUnauthorized

type RetractAdvertisementUnauthorized Error

func (*RetractAdvertisementUnauthorized) Decode

Decode decodes RetractAdvertisementUnauthorized from json.

func (*RetractAdvertisementUnauthorized) Encode

Encode encodes RetractAdvertisementUnauthorized as json.

func (*RetractAdvertisementUnauthorized) MarshalJSON

func (s *RetractAdvertisementUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RetractAdvertisementUnauthorized) UnmarshalJSON

func (s *RetractAdvertisementUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Route

type Route struct {
	// contains filtered or unexported fields
}

Route is route object.

func (Route) Args

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationID

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

func (Route) Summary

func (r Route) Summary() string

Summary returns OpenAPI summary.

type SearchCatalogBadRequest

type SearchCatalogBadRequest Error

func (*SearchCatalogBadRequest) Decode

func (s *SearchCatalogBadRequest) Decode(d *jx.Decoder) error

Decode decodes SearchCatalogBadRequest from json.

func (*SearchCatalogBadRequest) Encode

func (s *SearchCatalogBadRequest) Encode(e *jx.Encoder)

Encode encodes SearchCatalogBadRequest as json.

func (*SearchCatalogBadRequest) MarshalJSON

func (s *SearchCatalogBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchCatalogBadRequest) UnmarshalJSON

func (s *SearchCatalogBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchCatalogInternalServerError

type SearchCatalogInternalServerError Error

func (*SearchCatalogInternalServerError) Decode

Decode decodes SearchCatalogInternalServerError from json.

func (*SearchCatalogInternalServerError) Encode

Encode encodes SearchCatalogInternalServerError as json.

func (*SearchCatalogInternalServerError) MarshalJSON

func (s *SearchCatalogInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchCatalogInternalServerError) UnmarshalJSON

func (s *SearchCatalogInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchCatalogParams

type SearchCatalogParams struct {
	Workgroup           []string
	Capability          OptString
	InteractionPattern  []AdvertisementInteractionPatternKind
	OwnerOrganizationId OptString
	Cursor              OptString
	Limit               OptInt
}

SearchCatalogParams is parameters of searchCatalog operation.

type SearchCatalogRes

type SearchCatalogRes interface {
	// contains filtered or unexported methods
}

type SearchCatalogUnauthorized

type SearchCatalogUnauthorized Error

func (*SearchCatalogUnauthorized) Decode

func (s *SearchCatalogUnauthorized) Decode(d *jx.Decoder) error

Decode decodes SearchCatalogUnauthorized from json.

func (*SearchCatalogUnauthorized) Encode

func (s *SearchCatalogUnauthorized) Encode(e *jx.Encoder)

Encode encodes SearchCatalogUnauthorized as json.

func (*SearchCatalogUnauthorized) MarshalJSON

func (s *SearchCatalogUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchCatalogUnauthorized) UnmarshalJSON

func (s *SearchCatalogUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SecurityHandler

type SecurityHandler interface {
	// HandleAccountTokenAuth handles accountTokenAuth security.
	HandleAccountTokenAuth(ctx context.Context, operationName OperationName, t AccountTokenAuth) (context.Context, error)
	// HandleAdminTokenAuth handles adminTokenAuth security.
	HandleAdminTokenAuth(ctx context.Context, operationName OperationName, t AdminTokenAuth) (context.Context, error)
}

SecurityHandler is handler for security parameters.

type SecuritySource

type SecuritySource interface {
	// AccountTokenAuth provides accountTokenAuth security value.
	AccountTokenAuth(ctx context.Context, operationName OperationName) (AccountTokenAuth, error)
	// AdminTokenAuth provides adminTokenAuth security value.
	AdminTokenAuth(ctx context.Context, operationName OperationName) (AdminTokenAuth, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type Server

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

func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)

NewServer creates new Server.

func (*Server) FindPath

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute

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

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

type ServerOption interface {
	// contains filtered or unexported methods
}

ServerOption is server config option.

func WithErrorHandler

func WithErrorHandler(h ErrorHandler) ServerOption

WithErrorHandler specifies error handler to use.

func WithMaxMultipartMemory

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

func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption

WithMethodNotAllowed specifies Method Not Allowed handler to use.

func WithMiddleware

func WithMiddleware(m ...Middleware) ServerOption

WithMiddleware specifies middlewares to use.

func WithNotFound

func WithNotFound(notFound http.HandlerFunc) ServerOption

WithNotFound specifies Not Found handler to use.

func WithPathPrefix

func WithPathPrefix(prefix string) ServerOption

WithPathPrefix specifies server path prefix.

type Session

type Session struct {
	ID                       string                  `json:"id"`
	AdvertisementId          string                  `json:"advertisementId"`
	WorkgroupId              string                  `json:"workgroupId"`
	ProviderAccountId        string                  `json:"providerAccountId"`
	ProviderOrganizationId   string                  `json:"providerOrganizationId"`
	ConsumerAccountId        string                  `json:"consumerAccountId"`
	ConsumerOrganizationId   string                  `json:"consumerOrganizationId"`
	AdvertisementName        string                  `json:"advertisementName"`
	WorkgroupName            string                  `json:"workgroupName"`
	ProviderOrganizationName string                  `json:"providerOrganizationName"`
	ConsumerOrganizationName string                  `json:"consumerOrganizationName"`
	ProviderAccountEmail     OptString               `json:"providerAccountEmail"`
	ConsumerAccountEmail     OptString               `json:"consumerAccountEmail"`
	TunnelMode               AdvertisementTunnelMode `json:"tunnelMode"`
	TunnelId                 OptString               `json:"tunnelId"`
	State                    SessionState            `json:"state"`
	CloseReason              OptSessionCloseReason   `json:"closeReason"`
	CloseDetail              OptString               `json:"closeDetail"`
	ProposerMessage          OptString               `json:"proposerMessage"`
	ProposedAt               time.Time               `json:"proposedAt"`
	AcceptedAt               OptDateTime             `json:"acceptedAt"`
	ClosedAt                 OptDateTime             `json:"closedAt"`
	ContractSnapshot         OptContractSnapshot     `json:"contractSnapshot"`
	EnvelopeCount            OptInt                  `json:"envelopeCount"`
}

Ref: #/session

func (*Session) Decode

func (s *Session) Decode(d *jx.Decoder) error

Decode decodes Session from json.

func (*Session) Encode

func (s *Session) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Session) GetAcceptedAt

func (s *Session) GetAcceptedAt() OptDateTime

GetAcceptedAt returns the value of AcceptedAt.

func (*Session) GetAdvertisementId

func (s *Session) GetAdvertisementId() string

GetAdvertisementId returns the value of AdvertisementId.

func (*Session) GetAdvertisementName

func (s *Session) GetAdvertisementName() string

GetAdvertisementName returns the value of AdvertisementName.

func (*Session) GetCloseDetail

func (s *Session) GetCloseDetail() OptString

GetCloseDetail returns the value of CloseDetail.

func (*Session) GetCloseReason

func (s *Session) GetCloseReason() OptSessionCloseReason

GetCloseReason returns the value of CloseReason.

func (*Session) GetClosedAt

func (s *Session) GetClosedAt() OptDateTime

GetClosedAt returns the value of ClosedAt.

func (*Session) GetConsumerAccountEmail

func (s *Session) GetConsumerAccountEmail() OptString

GetConsumerAccountEmail returns the value of ConsumerAccountEmail.

func (*Session) GetConsumerAccountId

func (s *Session) GetConsumerAccountId() string

GetConsumerAccountId returns the value of ConsumerAccountId.

func (*Session) GetConsumerOrganizationId

func (s *Session) GetConsumerOrganizationId() string

GetConsumerOrganizationId returns the value of ConsumerOrganizationId.

func (*Session) GetConsumerOrganizationName

func (s *Session) GetConsumerOrganizationName() string

GetConsumerOrganizationName returns the value of ConsumerOrganizationName.

func (*Session) GetContractSnapshot

func (s *Session) GetContractSnapshot() OptContractSnapshot

GetContractSnapshot returns the value of ContractSnapshot.

func (*Session) GetEnvelopeCount

func (s *Session) GetEnvelopeCount() OptInt

GetEnvelopeCount returns the value of EnvelopeCount.

func (*Session) GetID

func (s *Session) GetID() string

GetID returns the value of ID.

func (*Session) GetProposedAt

func (s *Session) GetProposedAt() time.Time

GetProposedAt returns the value of ProposedAt.

func (*Session) GetProposerMessage

func (s *Session) GetProposerMessage() OptString

GetProposerMessage returns the value of ProposerMessage.

func (*Session) GetProviderAccountEmail

func (s *Session) GetProviderAccountEmail() OptString

GetProviderAccountEmail returns the value of ProviderAccountEmail.

func (*Session) GetProviderAccountId

func (s *Session) GetProviderAccountId() string

GetProviderAccountId returns the value of ProviderAccountId.

func (*Session) GetProviderOrganizationId

func (s *Session) GetProviderOrganizationId() string

GetProviderOrganizationId returns the value of ProviderOrganizationId.

func (*Session) GetProviderOrganizationName

func (s *Session) GetProviderOrganizationName() string

GetProviderOrganizationName returns the value of ProviderOrganizationName.

func (*Session) GetState

func (s *Session) GetState() SessionState

GetState returns the value of State.

func (*Session) GetTunnelId

func (s *Session) GetTunnelId() OptString

GetTunnelId returns the value of TunnelId.

func (*Session) GetTunnelMode

func (s *Session) GetTunnelMode() AdvertisementTunnelMode

GetTunnelMode returns the value of TunnelMode.

func (*Session) GetWorkgroupId

func (s *Session) GetWorkgroupId() string

GetWorkgroupId returns the value of WorkgroupId.

func (*Session) GetWorkgroupName

func (s *Session) GetWorkgroupName() string

GetWorkgroupName returns the value of WorkgroupName.

func (*Session) MarshalJSON

func (s *Session) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Session) SetAcceptedAt

func (s *Session) SetAcceptedAt(val OptDateTime)

SetAcceptedAt sets the value of AcceptedAt.

func (*Session) SetAdvertisementId

func (s *Session) SetAdvertisementId(val string)

SetAdvertisementId sets the value of AdvertisementId.

func (*Session) SetAdvertisementName

func (s *Session) SetAdvertisementName(val string)

SetAdvertisementName sets the value of AdvertisementName.

func (*Session) SetCloseDetail

func (s *Session) SetCloseDetail(val OptString)

SetCloseDetail sets the value of CloseDetail.

func (*Session) SetCloseReason

func (s *Session) SetCloseReason(val OptSessionCloseReason)

SetCloseReason sets the value of CloseReason.

func (*Session) SetClosedAt

func (s *Session) SetClosedAt(val OptDateTime)

SetClosedAt sets the value of ClosedAt.

func (*Session) SetConsumerAccountEmail

func (s *Session) SetConsumerAccountEmail(val OptString)

SetConsumerAccountEmail sets the value of ConsumerAccountEmail.

func (*Session) SetConsumerAccountId

func (s *Session) SetConsumerAccountId(val string)

SetConsumerAccountId sets the value of ConsumerAccountId.

func (*Session) SetConsumerOrganizationId

func (s *Session) SetConsumerOrganizationId(val string)

SetConsumerOrganizationId sets the value of ConsumerOrganizationId.

func (*Session) SetConsumerOrganizationName

func (s *Session) SetConsumerOrganizationName(val string)

SetConsumerOrganizationName sets the value of ConsumerOrganizationName.

func (*Session) SetContractSnapshot

func (s *Session) SetContractSnapshot(val OptContractSnapshot)

SetContractSnapshot sets the value of ContractSnapshot.

func (*Session) SetEnvelopeCount

func (s *Session) SetEnvelopeCount(val OptInt)

SetEnvelopeCount sets the value of EnvelopeCount.

func (*Session) SetID

func (s *Session) SetID(val string)

SetID sets the value of ID.

func (*Session) SetProposedAt

func (s *Session) SetProposedAt(val time.Time)

SetProposedAt sets the value of ProposedAt.

func (*Session) SetProposerMessage

func (s *Session) SetProposerMessage(val OptString)

SetProposerMessage sets the value of ProposerMessage.

func (*Session) SetProviderAccountEmail

func (s *Session) SetProviderAccountEmail(val OptString)

SetProviderAccountEmail sets the value of ProviderAccountEmail.

func (*Session) SetProviderAccountId

func (s *Session) SetProviderAccountId(val string)

SetProviderAccountId sets the value of ProviderAccountId.

func (*Session) SetProviderOrganizationId

func (s *Session) SetProviderOrganizationId(val string)

SetProviderOrganizationId sets the value of ProviderOrganizationId.

func (*Session) SetProviderOrganizationName

func (s *Session) SetProviderOrganizationName(val string)

SetProviderOrganizationName sets the value of ProviderOrganizationName.

func (*Session) SetState

func (s *Session) SetState(val SessionState)

SetState sets the value of State.

func (*Session) SetTunnelId

func (s *Session) SetTunnelId(val OptString)

SetTunnelId sets the value of TunnelId.

func (*Session) SetTunnelMode

func (s *Session) SetTunnelMode(val AdvertisementTunnelMode)

SetTunnelMode sets the value of TunnelMode.

func (*Session) SetWorkgroupId

func (s *Session) SetWorkgroupId(val string)

SetWorkgroupId sets the value of WorkgroupId.

func (*Session) SetWorkgroupName

func (s *Session) SetWorkgroupName(val string)

SetWorkgroupName sets the value of WorkgroupName.

func (*Session) UnmarshalJSON

func (s *Session) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Session) Validate

func (s *Session) Validate() error

type SessionCloseReason

type SessionCloseReason string

Ref: #/sessionCloseReason

const (
	SessionCloseReasonRejected            SessionCloseReason = "rejected"
	SessionCloseReasonConsumerClose       SessionCloseReason = "consumer_close"
	SessionCloseReasonProviderClose       SessionCloseReason = "provider_close"
	SessionCloseReasonContractViolation   SessionCloseReason = "contract_violation"
	SessionCloseReasonTunnelFailed        SessionCloseReason = "tunnel_failed"
	SessionCloseReasonAdminClose          SessionCloseReason = "admin_close"
	SessionCloseReasonWorkgroupDeleted    SessionCloseReason = "workgroup_deleted"
	SessionCloseReasonEnvironmentDisabled SessionCloseReason = "environment_disabled"
)

func (SessionCloseReason) AllValues

func (SessionCloseReason) AllValues() []SessionCloseReason

AllValues returns all SessionCloseReason values.

func (*SessionCloseReason) Decode

func (s *SessionCloseReason) Decode(d *jx.Decoder) error

Decode decodes SessionCloseReason from json.

func (SessionCloseReason) Encode

func (s SessionCloseReason) Encode(e *jx.Encoder)

Encode encodes SessionCloseReason as json.

func (SessionCloseReason) MarshalJSON

func (s SessionCloseReason) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SessionCloseReason) MarshalText

func (s SessionCloseReason) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionCloseReason) UnmarshalJSON

func (s *SessionCloseReason) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionCloseReason) UnmarshalText

func (s *SessionCloseReason) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionCloseReason) Validate

func (s SessionCloseReason) Validate() error

type SessionState

type SessionState string

Ref: #/sessionState

const (
	SessionStateProposed  SessionState = "proposed"
	SessionStateAccepting SessionState = "accepting"
	SessionStateActive    SessionState = "active"
	SessionStateClosing   SessionState = "closing"
	SessionStateClosed    SessionState = "closed"
)

func (SessionState) AllValues

func (SessionState) AllValues() []SessionState

AllValues returns all SessionState values.

func (*SessionState) Decode

func (s *SessionState) Decode(d *jx.Decoder) error

Decode decodes SessionState from json.

func (SessionState) Encode

func (s SessionState) Encode(e *jx.Encoder)

Encode encodes SessionState as json.

func (SessionState) MarshalJSON

func (s SessionState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SessionState) MarshalText

func (s SessionState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionState) UnmarshalJSON

func (s *SessionState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionState) UnmarshalText

func (s *SessionState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionState) Validate

func (s SessionState) Validate() error

type StartTunnelServeConflict

type StartTunnelServeConflict Error

func (*StartTunnelServeConflict) Decode

func (s *StartTunnelServeConflict) Decode(d *jx.Decoder) error

Decode decodes StartTunnelServeConflict from json.

func (*StartTunnelServeConflict) Encode

func (s *StartTunnelServeConflict) Encode(e *jx.Encoder)

Encode encodes StartTunnelServeConflict as json.

func (*StartTunnelServeConflict) MarshalJSON

func (s *StartTunnelServeConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartTunnelServeConflict) UnmarshalJSON

func (s *StartTunnelServeConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StartTunnelServeInternalServerError

type StartTunnelServeInternalServerError Error

func (*StartTunnelServeInternalServerError) Decode

Decode decodes StartTunnelServeInternalServerError from json.

func (*StartTunnelServeInternalServerError) Encode

Encode encodes StartTunnelServeInternalServerError as json.

func (*StartTunnelServeInternalServerError) MarshalJSON

func (s *StartTunnelServeInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartTunnelServeInternalServerError) UnmarshalJSON

func (s *StartTunnelServeInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StartTunnelServeNotFound

type StartTunnelServeNotFound Error

func (*StartTunnelServeNotFound) Decode

func (s *StartTunnelServeNotFound) Decode(d *jx.Decoder) error

Decode decodes StartTunnelServeNotFound from json.

func (*StartTunnelServeNotFound) Encode

func (s *StartTunnelServeNotFound) Encode(e *jx.Encoder)

Encode encodes StartTunnelServeNotFound as json.

func (*StartTunnelServeNotFound) MarshalJSON

func (s *StartTunnelServeNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartTunnelServeNotFound) UnmarshalJSON

func (s *StartTunnelServeNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StartTunnelServeParams

type StartTunnelServeParams struct {
	TunnelId string
}

StartTunnelServeParams is parameters of startTunnelServe operation.

type StartTunnelServeRequest

type StartTunnelServeRequest struct {
	EnvironmentId string `json:"environmentId"`
}

Ref: #/startTunnelServeRequest

func (*StartTunnelServeRequest) Decode

func (s *StartTunnelServeRequest) Decode(d *jx.Decoder) error

Decode decodes StartTunnelServeRequest from json.

func (*StartTunnelServeRequest) Encode

func (s *StartTunnelServeRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StartTunnelServeRequest) GetEnvironmentId

func (s *StartTunnelServeRequest) GetEnvironmentId() string

GetEnvironmentId returns the value of EnvironmentId.

func (*StartTunnelServeRequest) MarshalJSON

func (s *StartTunnelServeRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartTunnelServeRequest) SetEnvironmentId

func (s *StartTunnelServeRequest) SetEnvironmentId(val string)

SetEnvironmentId sets the value of EnvironmentId.

func (*StartTunnelServeRequest) UnmarshalJSON

func (s *StartTunnelServeRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StartTunnelServeRequest) Validate

func (s *StartTunnelServeRequest) Validate() error

type StartTunnelServeRes

type StartTunnelServeRes interface {
	// contains filtered or unexported methods
}

type StartTunnelServeUnauthorized

type StartTunnelServeUnauthorized Error

func (*StartTunnelServeUnauthorized) Decode

Decode decodes StartTunnelServeUnauthorized from json.

func (*StartTunnelServeUnauthorized) Encode

func (s *StartTunnelServeUnauthorized) Encode(e *jx.Encoder)

Encode encodes StartTunnelServeUnauthorized as json.

func (*StartTunnelServeUnauthorized) MarshalJSON

func (s *StartTunnelServeUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartTunnelServeUnauthorized) UnmarshalJSON

func (s *StartTunnelServeUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Tunnel

type Tunnel struct {
	ID                        string      `json:"id"`
	OrganizationId            string      `json:"organizationId"`
	AccountId                 string      `json:"accountId"`
	EnvironmentId             string      `json:"environmentId"`
	Name                      string      `json:"name"`
	Mode                      TunnelMode  `json:"mode"`
	BackendTarget             string      `json:"backendTarget"`
	ZitiServiceId             OptString   `json:"zitiServiceId"`
	BindPolicyId              OptString   `json:"bindPolicyId"`
	ServiceEdgeRouterPolicyId OptString   `json:"serviceEdgeRouterPolicyId"`
	State                     TunnelState `json:"state"`
	CreatedAt                 time.Time   `json:"createdAt"`
	UpdatedAt                 time.Time   `json:"updatedAt"`
}

Ref: #/tunnel

func (*Tunnel) Decode

func (s *Tunnel) Decode(d *jx.Decoder) error

Decode decodes Tunnel from json.

func (*Tunnel) Encode

func (s *Tunnel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Tunnel) GetAccountId

func (s *Tunnel) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*Tunnel) GetBackendTarget

func (s *Tunnel) GetBackendTarget() string

GetBackendTarget returns the value of BackendTarget.

func (*Tunnel) GetBindPolicyId

func (s *Tunnel) GetBindPolicyId() OptString

GetBindPolicyId returns the value of BindPolicyId.

func (*Tunnel) GetCreatedAt

func (s *Tunnel) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Tunnel) GetEnvironmentId

func (s *Tunnel) GetEnvironmentId() string

GetEnvironmentId returns the value of EnvironmentId.

func (*Tunnel) GetID

func (s *Tunnel) GetID() string

GetID returns the value of ID.

func (*Tunnel) GetMode

func (s *Tunnel) GetMode() TunnelMode

GetMode returns the value of Mode.

func (*Tunnel) GetName

func (s *Tunnel) GetName() string

GetName returns the value of Name.

func (*Tunnel) GetOrganizationId

func (s *Tunnel) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*Tunnel) GetServiceEdgeRouterPolicyId

func (s *Tunnel) GetServiceEdgeRouterPolicyId() OptString

GetServiceEdgeRouterPolicyId returns the value of ServiceEdgeRouterPolicyId.

func (*Tunnel) GetState

func (s *Tunnel) GetState() TunnelState

GetState returns the value of State.

func (*Tunnel) GetUpdatedAt

func (s *Tunnel) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Tunnel) GetZitiServiceId

func (s *Tunnel) GetZitiServiceId() OptString

GetZitiServiceId returns the value of ZitiServiceId.

func (*Tunnel) MarshalJSON

func (s *Tunnel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Tunnel) SetAccountId

func (s *Tunnel) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*Tunnel) SetBackendTarget

func (s *Tunnel) SetBackendTarget(val string)

SetBackendTarget sets the value of BackendTarget.

func (*Tunnel) SetBindPolicyId

func (s *Tunnel) SetBindPolicyId(val OptString)

SetBindPolicyId sets the value of BindPolicyId.

func (*Tunnel) SetCreatedAt

func (s *Tunnel) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Tunnel) SetEnvironmentId

func (s *Tunnel) SetEnvironmentId(val string)

SetEnvironmentId sets the value of EnvironmentId.

func (*Tunnel) SetID

func (s *Tunnel) SetID(val string)

SetID sets the value of ID.

func (*Tunnel) SetMode

func (s *Tunnel) SetMode(val TunnelMode)

SetMode sets the value of Mode.

func (*Tunnel) SetName

func (s *Tunnel) SetName(val string)

SetName sets the value of Name.

func (*Tunnel) SetOrganizationId

func (s *Tunnel) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*Tunnel) SetServiceEdgeRouterPolicyId

func (s *Tunnel) SetServiceEdgeRouterPolicyId(val OptString)

SetServiceEdgeRouterPolicyId sets the value of ServiceEdgeRouterPolicyId.

func (*Tunnel) SetState

func (s *Tunnel) SetState(val TunnelState)

SetState sets the value of State.

func (*Tunnel) SetUpdatedAt

func (s *Tunnel) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Tunnel) SetZitiServiceId

func (s *Tunnel) SetZitiServiceId(val OptString)

SetZitiServiceId sets the value of ZitiServiceId.

func (*Tunnel) UnmarshalJSON

func (s *Tunnel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Tunnel) Validate

func (s *Tunnel) Validate() error

type TunnelAttachment

type TunnelAttachment struct {
	ID              string                `json:"id"`
	TunnelId        string                `json:"tunnelId"`
	OrganizationId  string                `json:"organizationId"`
	AccountId       string                `json:"accountId"`
	EnvironmentId   string                `json:"environmentId"`
	AccountEmail    OptString             `json:"accountEmail"`
	TunnelName      OptString             `json:"tunnelName"`
	TunnelMode      OptTunnelMode         `json:"tunnelMode"`
	ListenAddress   string                `json:"listenAddress"`
	DialPolicyId    OptString             `json:"dialPolicyId"`
	State           TunnelAttachmentState `json:"state"`
	LastHeartbeatAt time.Time             `json:"lastHeartbeatAt"`
	DisconnectedAt  OptDateTime           `json:"disconnectedAt"`
	CreatedAt       time.Time             `json:"createdAt"`
	UpdatedAt       time.Time             `json:"updatedAt"`
}

Ref: #/tunnelAttachment

func (*TunnelAttachment) Decode

func (s *TunnelAttachment) Decode(d *jx.Decoder) error

Decode decodes TunnelAttachment from json.

func (*TunnelAttachment) Encode

func (s *TunnelAttachment) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TunnelAttachment) GetAccountEmail

func (s *TunnelAttachment) GetAccountEmail() OptString

GetAccountEmail returns the value of AccountEmail.

func (*TunnelAttachment) GetAccountId

func (s *TunnelAttachment) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*TunnelAttachment) GetCreatedAt

func (s *TunnelAttachment) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*TunnelAttachment) GetDialPolicyId

func (s *TunnelAttachment) GetDialPolicyId() OptString

GetDialPolicyId returns the value of DialPolicyId.

func (*TunnelAttachment) GetDisconnectedAt

func (s *TunnelAttachment) GetDisconnectedAt() OptDateTime

GetDisconnectedAt returns the value of DisconnectedAt.

func (*TunnelAttachment) GetEnvironmentId

func (s *TunnelAttachment) GetEnvironmentId() string

GetEnvironmentId returns the value of EnvironmentId.

func (*TunnelAttachment) GetID

func (s *TunnelAttachment) GetID() string

GetID returns the value of ID.

func (*TunnelAttachment) GetLastHeartbeatAt

func (s *TunnelAttachment) GetLastHeartbeatAt() time.Time

GetLastHeartbeatAt returns the value of LastHeartbeatAt.

func (*TunnelAttachment) GetListenAddress

func (s *TunnelAttachment) GetListenAddress() string

GetListenAddress returns the value of ListenAddress.

func (*TunnelAttachment) GetOrganizationId

func (s *TunnelAttachment) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*TunnelAttachment) GetState

GetState returns the value of State.

func (*TunnelAttachment) GetTunnelId

func (s *TunnelAttachment) GetTunnelId() string

GetTunnelId returns the value of TunnelId.

func (*TunnelAttachment) GetTunnelMode

func (s *TunnelAttachment) GetTunnelMode() OptTunnelMode

GetTunnelMode returns the value of TunnelMode.

func (*TunnelAttachment) GetTunnelName

func (s *TunnelAttachment) GetTunnelName() OptString

GetTunnelName returns the value of TunnelName.

func (*TunnelAttachment) GetUpdatedAt

func (s *TunnelAttachment) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*TunnelAttachment) MarshalJSON

func (s *TunnelAttachment) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TunnelAttachment) SetAccountEmail

func (s *TunnelAttachment) SetAccountEmail(val OptString)

SetAccountEmail sets the value of AccountEmail.

func (*TunnelAttachment) SetAccountId

func (s *TunnelAttachment) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*TunnelAttachment) SetCreatedAt

func (s *TunnelAttachment) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*TunnelAttachment) SetDialPolicyId

func (s *TunnelAttachment) SetDialPolicyId(val OptString)

SetDialPolicyId sets the value of DialPolicyId.

func (*TunnelAttachment) SetDisconnectedAt

func (s *TunnelAttachment) SetDisconnectedAt(val OptDateTime)

SetDisconnectedAt sets the value of DisconnectedAt.

func (*TunnelAttachment) SetEnvironmentId

func (s *TunnelAttachment) SetEnvironmentId(val string)

SetEnvironmentId sets the value of EnvironmentId.

func (*TunnelAttachment) SetID

func (s *TunnelAttachment) SetID(val string)

SetID sets the value of ID.

func (*TunnelAttachment) SetLastHeartbeatAt

func (s *TunnelAttachment) SetLastHeartbeatAt(val time.Time)

SetLastHeartbeatAt sets the value of LastHeartbeatAt.

func (*TunnelAttachment) SetListenAddress

func (s *TunnelAttachment) SetListenAddress(val string)

SetListenAddress sets the value of ListenAddress.

func (*TunnelAttachment) SetOrganizationId

func (s *TunnelAttachment) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*TunnelAttachment) SetState

func (s *TunnelAttachment) SetState(val TunnelAttachmentState)

SetState sets the value of State.

func (*TunnelAttachment) SetTunnelId

func (s *TunnelAttachment) SetTunnelId(val string)

SetTunnelId sets the value of TunnelId.

func (*TunnelAttachment) SetTunnelMode

func (s *TunnelAttachment) SetTunnelMode(val OptTunnelMode)

SetTunnelMode sets the value of TunnelMode.

func (*TunnelAttachment) SetTunnelName

func (s *TunnelAttachment) SetTunnelName(val OptString)

SetTunnelName sets the value of TunnelName.

func (*TunnelAttachment) SetUpdatedAt

func (s *TunnelAttachment) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*TunnelAttachment) UnmarshalJSON

func (s *TunnelAttachment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TunnelAttachment) Validate

func (s *TunnelAttachment) Validate() error

type TunnelAttachmentState

type TunnelAttachmentState string
const (
	TunnelAttachmentStateActive       TunnelAttachmentState = "active"
	TunnelAttachmentStateStale        TunnelAttachmentState = "stale"
	TunnelAttachmentStateDisconnected TunnelAttachmentState = "disconnected"
)

func (TunnelAttachmentState) AllValues

AllValues returns all TunnelAttachmentState values.

func (*TunnelAttachmentState) Decode

func (s *TunnelAttachmentState) Decode(d *jx.Decoder) error

Decode decodes TunnelAttachmentState from json.

func (TunnelAttachmentState) Encode

func (s TunnelAttachmentState) Encode(e *jx.Encoder)

Encode encodes TunnelAttachmentState as json.

func (TunnelAttachmentState) MarshalJSON

func (s TunnelAttachmentState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TunnelAttachmentState) MarshalText

func (s TunnelAttachmentState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TunnelAttachmentState) UnmarshalJSON

func (s *TunnelAttachmentState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TunnelAttachmentState) UnmarshalText

func (s *TunnelAttachmentState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TunnelAttachmentState) Validate

func (s TunnelAttachmentState) Validate() error

type TunnelGrant

type TunnelGrant struct {
	TunnelId  string    `json:"tunnelId"`
	AccountId string    `json:"accountId"`
	Email     string    `json:"email"`
	CreatedAt time.Time `json:"createdAt"`
}

Ref: #/tunnelGrant

func (*TunnelGrant) Decode

func (s *TunnelGrant) Decode(d *jx.Decoder) error

Decode decodes TunnelGrant from json.

func (*TunnelGrant) Encode

func (s *TunnelGrant) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TunnelGrant) GetAccountId

func (s *TunnelGrant) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*TunnelGrant) GetCreatedAt

func (s *TunnelGrant) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*TunnelGrant) GetEmail

func (s *TunnelGrant) GetEmail() string

GetEmail returns the value of Email.

func (*TunnelGrant) GetTunnelId

func (s *TunnelGrant) GetTunnelId() string

GetTunnelId returns the value of TunnelId.

func (*TunnelGrant) MarshalJSON

func (s *TunnelGrant) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TunnelGrant) SetAccountId

func (s *TunnelGrant) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*TunnelGrant) SetCreatedAt

func (s *TunnelGrant) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*TunnelGrant) SetEmail

func (s *TunnelGrant) SetEmail(val string)

SetEmail sets the value of Email.

func (*TunnelGrant) SetTunnelId

func (s *TunnelGrant) SetTunnelId(val string)

SetTunnelId sets the value of TunnelId.

func (*TunnelGrant) UnmarshalJSON

func (s *TunnelGrant) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TunnelGrant) Validate

func (s *TunnelGrant) Validate() error

type TunnelMode

type TunnelMode string

Ref: #/tunnelMode

const (
	TunnelModeHTTP TunnelMode = "http"
	TunnelModeTCP  TunnelMode = "tcp"
	TunnelModeUDP  TunnelMode = "udp"
)

func (TunnelMode) AllValues

func (TunnelMode) AllValues() []TunnelMode

AllValues returns all TunnelMode values.

func (*TunnelMode) Decode

func (s *TunnelMode) Decode(d *jx.Decoder) error

Decode decodes TunnelMode from json.

func (TunnelMode) Encode

func (s TunnelMode) Encode(e *jx.Encoder)

Encode encodes TunnelMode as json.

func (TunnelMode) MarshalJSON

func (s TunnelMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TunnelMode) MarshalText

func (s TunnelMode) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TunnelMode) UnmarshalJSON

func (s *TunnelMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TunnelMode) UnmarshalText

func (s *TunnelMode) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TunnelMode) Validate

func (s TunnelMode) Validate() error

type TunnelServe

type TunnelServe struct {
	ID              string           `json:"id"`
	TunnelId        string           `json:"tunnelId"`
	OrganizationId  string           `json:"organizationId"`
	AccountId       string           `json:"accountId"`
	EnvironmentId   string           `json:"environmentId"`
	EnvironmentHost OptString        `json:"environmentHost"`
	TunnelName      OptString        `json:"tunnelName"`
	TunnelMode      OptTunnelMode    `json:"tunnelMode"`
	State           TunnelServeState `json:"state"`
	LastHeartbeatAt time.Time        `json:"lastHeartbeatAt"`
	DisconnectedAt  OptDateTime      `json:"disconnectedAt"`
	CreatedAt       time.Time        `json:"createdAt"`
	UpdatedAt       time.Time        `json:"updatedAt"`
}

Ref: #/tunnelServe

func (*TunnelServe) Decode

func (s *TunnelServe) Decode(d *jx.Decoder) error

Decode decodes TunnelServe from json.

func (*TunnelServe) Encode

func (s *TunnelServe) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TunnelServe) GetAccountId

func (s *TunnelServe) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*TunnelServe) GetCreatedAt

func (s *TunnelServe) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*TunnelServe) GetDisconnectedAt

func (s *TunnelServe) GetDisconnectedAt() OptDateTime

GetDisconnectedAt returns the value of DisconnectedAt.

func (*TunnelServe) GetEnvironmentHost

func (s *TunnelServe) GetEnvironmentHost() OptString

GetEnvironmentHost returns the value of EnvironmentHost.

func (*TunnelServe) GetEnvironmentId

func (s *TunnelServe) GetEnvironmentId() string

GetEnvironmentId returns the value of EnvironmentId.

func (*TunnelServe) GetID

func (s *TunnelServe) GetID() string

GetID returns the value of ID.

func (*TunnelServe) GetLastHeartbeatAt

func (s *TunnelServe) GetLastHeartbeatAt() time.Time

GetLastHeartbeatAt returns the value of LastHeartbeatAt.

func (*TunnelServe) GetOrganizationId

func (s *TunnelServe) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*TunnelServe) GetState

func (s *TunnelServe) GetState() TunnelServeState

GetState returns the value of State.

func (*TunnelServe) GetTunnelId

func (s *TunnelServe) GetTunnelId() string

GetTunnelId returns the value of TunnelId.

func (*TunnelServe) GetTunnelMode

func (s *TunnelServe) GetTunnelMode() OptTunnelMode

GetTunnelMode returns the value of TunnelMode.

func (*TunnelServe) GetTunnelName

func (s *TunnelServe) GetTunnelName() OptString

GetTunnelName returns the value of TunnelName.

func (*TunnelServe) GetUpdatedAt

func (s *TunnelServe) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*TunnelServe) MarshalJSON

func (s *TunnelServe) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TunnelServe) SetAccountId

func (s *TunnelServe) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*TunnelServe) SetCreatedAt

func (s *TunnelServe) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*TunnelServe) SetDisconnectedAt

func (s *TunnelServe) SetDisconnectedAt(val OptDateTime)

SetDisconnectedAt sets the value of DisconnectedAt.

func (*TunnelServe) SetEnvironmentHost

func (s *TunnelServe) SetEnvironmentHost(val OptString)

SetEnvironmentHost sets the value of EnvironmentHost.

func (*TunnelServe) SetEnvironmentId

func (s *TunnelServe) SetEnvironmentId(val string)

SetEnvironmentId sets the value of EnvironmentId.

func (*TunnelServe) SetID

func (s *TunnelServe) SetID(val string)

SetID sets the value of ID.

func (*TunnelServe) SetLastHeartbeatAt

func (s *TunnelServe) SetLastHeartbeatAt(val time.Time)

SetLastHeartbeatAt sets the value of LastHeartbeatAt.

func (*TunnelServe) SetOrganizationId

func (s *TunnelServe) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*TunnelServe) SetState

func (s *TunnelServe) SetState(val TunnelServeState)

SetState sets the value of State.

func (*TunnelServe) SetTunnelId

func (s *TunnelServe) SetTunnelId(val string)

SetTunnelId sets the value of TunnelId.

func (*TunnelServe) SetTunnelMode

func (s *TunnelServe) SetTunnelMode(val OptTunnelMode)

SetTunnelMode sets the value of TunnelMode.

func (*TunnelServe) SetTunnelName

func (s *TunnelServe) SetTunnelName(val OptString)

SetTunnelName sets the value of TunnelName.

func (*TunnelServe) SetUpdatedAt

func (s *TunnelServe) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*TunnelServe) UnmarshalJSON

func (s *TunnelServe) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TunnelServe) Validate

func (s *TunnelServe) Validate() error

type TunnelServeState

type TunnelServeState string
const (
	TunnelServeStateActive       TunnelServeState = "active"
	TunnelServeStateStale        TunnelServeState = "stale"
	TunnelServeStateDisconnected TunnelServeState = "disconnected"
)

func (TunnelServeState) AllValues

func (TunnelServeState) AllValues() []TunnelServeState

AllValues returns all TunnelServeState values.

func (*TunnelServeState) Decode

func (s *TunnelServeState) Decode(d *jx.Decoder) error

Decode decodes TunnelServeState from json.

func (TunnelServeState) Encode

func (s TunnelServeState) Encode(e *jx.Encoder)

Encode encodes TunnelServeState as json.

func (TunnelServeState) MarshalJSON

func (s TunnelServeState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TunnelServeState) MarshalText

func (s TunnelServeState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TunnelServeState) UnmarshalJSON

func (s *TunnelServeState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TunnelServeState) UnmarshalText

func (s *TunnelServeState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TunnelServeState) Validate

func (s TunnelServeState) Validate() error

type TunnelState

type TunnelState string
const (
	TunnelStateActive   TunnelState = "active"
	TunnelStateDisabled TunnelState = "disabled"
)

func (TunnelState) AllValues

func (TunnelState) AllValues() []TunnelState

AllValues returns all TunnelState values.

func (*TunnelState) Decode

func (s *TunnelState) Decode(d *jx.Decoder) error

Decode decodes TunnelState from json.

func (TunnelState) Encode

func (s TunnelState) Encode(e *jx.Encoder)

Encode encodes TunnelState as json.

func (TunnelState) MarshalJSON

func (s TunnelState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TunnelState) MarshalText

func (s TunnelState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TunnelState) UnmarshalJSON

func (s *TunnelState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TunnelState) UnmarshalText

func (s *TunnelState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TunnelState) Validate

func (s TunnelState) Validate() error

type UpdateAdvertisementBadRequest

type UpdateAdvertisementBadRequest Error

func (*UpdateAdvertisementBadRequest) Decode

Decode decodes UpdateAdvertisementBadRequest from json.

func (*UpdateAdvertisementBadRequest) Encode

Encode encodes UpdateAdvertisementBadRequest as json.

func (*UpdateAdvertisementBadRequest) MarshalJSON

func (s *UpdateAdvertisementBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAdvertisementBadRequest) UnmarshalJSON

func (s *UpdateAdvertisementBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateAdvertisementConflict

type UpdateAdvertisementConflict Error

func (*UpdateAdvertisementConflict) Decode

Decode decodes UpdateAdvertisementConflict from json.

func (*UpdateAdvertisementConflict) Encode

func (s *UpdateAdvertisementConflict) Encode(e *jx.Encoder)

Encode encodes UpdateAdvertisementConflict as json.

func (*UpdateAdvertisementConflict) MarshalJSON

func (s *UpdateAdvertisementConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAdvertisementConflict) UnmarshalJSON

func (s *UpdateAdvertisementConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateAdvertisementForbidden

type UpdateAdvertisementForbidden Error

func (*UpdateAdvertisementForbidden) Decode

Decode decodes UpdateAdvertisementForbidden from json.

func (*UpdateAdvertisementForbidden) Encode

func (s *UpdateAdvertisementForbidden) Encode(e *jx.Encoder)

Encode encodes UpdateAdvertisementForbidden as json.

func (*UpdateAdvertisementForbidden) MarshalJSON

func (s *UpdateAdvertisementForbidden) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAdvertisementForbidden) UnmarshalJSON

func (s *UpdateAdvertisementForbidden) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateAdvertisementInternalServerError

type UpdateAdvertisementInternalServerError Error

func (*UpdateAdvertisementInternalServerError) Decode

Decode decodes UpdateAdvertisementInternalServerError from json.

func (*UpdateAdvertisementInternalServerError) Encode

Encode encodes UpdateAdvertisementInternalServerError as json.

func (*UpdateAdvertisementInternalServerError) MarshalJSON

func (s *UpdateAdvertisementInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAdvertisementInternalServerError) UnmarshalJSON

func (s *UpdateAdvertisementInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateAdvertisementNotFound

type UpdateAdvertisementNotFound Error

func (*UpdateAdvertisementNotFound) Decode

Decode decodes UpdateAdvertisementNotFound from json.

func (*UpdateAdvertisementNotFound) Encode

func (s *UpdateAdvertisementNotFound) Encode(e *jx.Encoder)

Encode encodes UpdateAdvertisementNotFound as json.

func (*UpdateAdvertisementNotFound) MarshalJSON

func (s *UpdateAdvertisementNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAdvertisementNotFound) UnmarshalJSON

func (s *UpdateAdvertisementNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateAdvertisementParams

type UpdateAdvertisementParams struct {
	AdvertisementId string
}

UpdateAdvertisementParams is parameters of updateAdvertisement operation.

type UpdateAdvertisementRequest

type UpdateAdvertisementRequest struct {
	Name                OptString                         `json:"name"`
	Description         OptString                         `json:"description"`
	Capabilities        []AdvertisementCapability         `json:"capabilities"`
	InteractionPatterns []AdvertisementInteractionPattern `json:"interactionPatterns"`
	WorkgroupScopes     []string                          `json:"workgroupScopes"`
	TunnelMode          OptAdvertisementTunnelMode        `json:"tunnelMode"`
	ContractId          OptString                         `json:"contractId"`
}

Ref: #/updateAdvertisementRequest

func (*UpdateAdvertisementRequest) Decode

Decode decodes UpdateAdvertisementRequest from json.

func (*UpdateAdvertisementRequest) Encode

func (s *UpdateAdvertisementRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateAdvertisementRequest) GetCapabilities

func (s *UpdateAdvertisementRequest) GetCapabilities() []AdvertisementCapability

GetCapabilities returns the value of Capabilities.

func (*UpdateAdvertisementRequest) GetContractId

func (s *UpdateAdvertisementRequest) GetContractId() OptString

GetContractId returns the value of ContractId.

func (*UpdateAdvertisementRequest) GetDescription

func (s *UpdateAdvertisementRequest) GetDescription() OptString

GetDescription returns the value of Description.

func (*UpdateAdvertisementRequest) GetInteractionPatterns

func (s *UpdateAdvertisementRequest) GetInteractionPatterns() []AdvertisementInteractionPattern

GetInteractionPatterns returns the value of InteractionPatterns.

func (*UpdateAdvertisementRequest) GetName

GetName returns the value of Name.

func (*UpdateAdvertisementRequest) GetTunnelMode

GetTunnelMode returns the value of TunnelMode.

func (*UpdateAdvertisementRequest) GetWorkgroupScopes

func (s *UpdateAdvertisementRequest) GetWorkgroupScopes() []string

GetWorkgroupScopes returns the value of WorkgroupScopes.

func (*UpdateAdvertisementRequest) MarshalJSON

func (s *UpdateAdvertisementRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAdvertisementRequest) SetCapabilities

func (s *UpdateAdvertisementRequest) SetCapabilities(val []AdvertisementCapability)

SetCapabilities sets the value of Capabilities.

func (*UpdateAdvertisementRequest) SetContractId

func (s *UpdateAdvertisementRequest) SetContractId(val OptString)

SetContractId sets the value of ContractId.

func (*UpdateAdvertisementRequest) SetDescription

func (s *UpdateAdvertisementRequest) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*UpdateAdvertisementRequest) SetInteractionPatterns

func (s *UpdateAdvertisementRequest) SetInteractionPatterns(val []AdvertisementInteractionPattern)

SetInteractionPatterns sets the value of InteractionPatterns.

func (*UpdateAdvertisementRequest) SetName

func (s *UpdateAdvertisementRequest) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateAdvertisementRequest) SetTunnelMode

SetTunnelMode sets the value of TunnelMode.

func (*UpdateAdvertisementRequest) SetWorkgroupScopes

func (s *UpdateAdvertisementRequest) SetWorkgroupScopes(val []string)

SetWorkgroupScopes sets the value of WorkgroupScopes.

func (*UpdateAdvertisementRequest) UnmarshalJSON

func (s *UpdateAdvertisementRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateAdvertisementRequest) Validate

func (s *UpdateAdvertisementRequest) Validate() error

type UpdateAdvertisementRes

type UpdateAdvertisementRes interface {
	// contains filtered or unexported methods
}

type UpdateAdvertisementUnauthorized

type UpdateAdvertisementUnauthorized Error

func (*UpdateAdvertisementUnauthorized) Decode

Decode decodes UpdateAdvertisementUnauthorized from json.

func (*UpdateAdvertisementUnauthorized) Encode

Encode encodes UpdateAdvertisementUnauthorized as json.

func (*UpdateAdvertisementUnauthorized) MarshalJSON

func (s *UpdateAdvertisementUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAdvertisementUnauthorized) UnmarshalJSON

func (s *UpdateAdvertisementUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateContractBadRequest

type UpdateContractBadRequest Error

func (*UpdateContractBadRequest) Decode

func (s *UpdateContractBadRequest) Decode(d *jx.Decoder) error

Decode decodes UpdateContractBadRequest from json.

func (*UpdateContractBadRequest) Encode

func (s *UpdateContractBadRequest) Encode(e *jx.Encoder)

Encode encodes UpdateContractBadRequest as json.

func (*UpdateContractBadRequest) MarshalJSON

func (s *UpdateContractBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateContractBadRequest) UnmarshalJSON

func (s *UpdateContractBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateContractConflict

type UpdateContractConflict Error

func (*UpdateContractConflict) Decode

func (s *UpdateContractConflict) Decode(d *jx.Decoder) error

Decode decodes UpdateContractConflict from json.

func (*UpdateContractConflict) Encode

func (s *UpdateContractConflict) Encode(e *jx.Encoder)

Encode encodes UpdateContractConflict as json.

func (*UpdateContractConflict) MarshalJSON

func (s *UpdateContractConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateContractConflict) UnmarshalJSON

func (s *UpdateContractConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateContractForbidden

type UpdateContractForbidden Error

func (*UpdateContractForbidden) Decode

func (s *UpdateContractForbidden) Decode(d *jx.Decoder) error

Decode decodes UpdateContractForbidden from json.

func (*UpdateContractForbidden) Encode

func (s *UpdateContractForbidden) Encode(e *jx.Encoder)

Encode encodes UpdateContractForbidden as json.

func (*UpdateContractForbidden) MarshalJSON

func (s *UpdateContractForbidden) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateContractForbidden) UnmarshalJSON

func (s *UpdateContractForbidden) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateContractInternalServerError

type UpdateContractInternalServerError Error

func (*UpdateContractInternalServerError) Decode

Decode decodes UpdateContractInternalServerError from json.

func (*UpdateContractInternalServerError) Encode

Encode encodes UpdateContractInternalServerError as json.

func (*UpdateContractInternalServerError) MarshalJSON

func (s *UpdateContractInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateContractInternalServerError) UnmarshalJSON

func (s *UpdateContractInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateContractNotFound

type UpdateContractNotFound Error

func (*UpdateContractNotFound) Decode

func (s *UpdateContractNotFound) Decode(d *jx.Decoder) error

Decode decodes UpdateContractNotFound from json.

func (*UpdateContractNotFound) Encode

func (s *UpdateContractNotFound) Encode(e *jx.Encoder)

Encode encodes UpdateContractNotFound as json.

func (*UpdateContractNotFound) MarshalJSON

func (s *UpdateContractNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateContractNotFound) UnmarshalJSON

func (s *UpdateContractNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateContractParams

type UpdateContractParams struct {
	ContractId string
}

UpdateContractParams is parameters of updateContract operation.

type UpdateContractRequest

type UpdateContractRequest struct {
	Name                         OptString               `json:"name"`
	Description                  OptString               `json:"description"`
	MaxDurationSeconds           OptInt                  `json:"maxDurationSeconds"`
	MaxEnvelopeCount             OptInt                  `json:"maxEnvelopeCount"`
	MaxEnvelopeBytes             OptInt                  `json:"maxEnvelopeBytes"`
	AllowedMessageTypes          []string                `json:"allowedMessageTypes"`
	RequiredWorkgroupMemberships []string                `json:"requiredWorkgroupMemberships"`
	MaturityRequirements         OptMaturityRequirements `json:"maturityRequirements"`
	AccessMode                   OptContractAccessMode   `json:"accessMode"`
}

Ref: #/updateContractRequest

func (*UpdateContractRequest) Decode

func (s *UpdateContractRequest) Decode(d *jx.Decoder) error

Decode decodes UpdateContractRequest from json.

func (*UpdateContractRequest) Encode

func (s *UpdateContractRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateContractRequest) GetAccessMode

func (s *UpdateContractRequest) GetAccessMode() OptContractAccessMode

GetAccessMode returns the value of AccessMode.

func (*UpdateContractRequest) GetAllowedMessageTypes

func (s *UpdateContractRequest) GetAllowedMessageTypes() []string

GetAllowedMessageTypes returns the value of AllowedMessageTypes.

func (*UpdateContractRequest) GetDescription

func (s *UpdateContractRequest) GetDescription() OptString

GetDescription returns the value of Description.

func (*UpdateContractRequest) GetMaturityRequirements

func (s *UpdateContractRequest) GetMaturityRequirements() OptMaturityRequirements

GetMaturityRequirements returns the value of MaturityRequirements.

func (*UpdateContractRequest) GetMaxDurationSeconds

func (s *UpdateContractRequest) GetMaxDurationSeconds() OptInt

GetMaxDurationSeconds returns the value of MaxDurationSeconds.

func (*UpdateContractRequest) GetMaxEnvelopeBytes

func (s *UpdateContractRequest) GetMaxEnvelopeBytes() OptInt

GetMaxEnvelopeBytes returns the value of MaxEnvelopeBytes.

func (*UpdateContractRequest) GetMaxEnvelopeCount

func (s *UpdateContractRequest) GetMaxEnvelopeCount() OptInt

GetMaxEnvelopeCount returns the value of MaxEnvelopeCount.

func (*UpdateContractRequest) GetName

func (s *UpdateContractRequest) GetName() OptString

GetName returns the value of Name.

func (*UpdateContractRequest) GetRequiredWorkgroupMemberships

func (s *UpdateContractRequest) GetRequiredWorkgroupMemberships() []string

GetRequiredWorkgroupMemberships returns the value of RequiredWorkgroupMemberships.

func (*UpdateContractRequest) MarshalJSON

func (s *UpdateContractRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateContractRequest) SetAccessMode

func (s *UpdateContractRequest) SetAccessMode(val OptContractAccessMode)

SetAccessMode sets the value of AccessMode.

func (*UpdateContractRequest) SetAllowedMessageTypes

func (s *UpdateContractRequest) SetAllowedMessageTypes(val []string)

SetAllowedMessageTypes sets the value of AllowedMessageTypes.

func (*UpdateContractRequest) SetDescription

func (s *UpdateContractRequest) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*UpdateContractRequest) SetMaturityRequirements

func (s *UpdateContractRequest) SetMaturityRequirements(val OptMaturityRequirements)

SetMaturityRequirements sets the value of MaturityRequirements.

func (*UpdateContractRequest) SetMaxDurationSeconds

func (s *UpdateContractRequest) SetMaxDurationSeconds(val OptInt)

SetMaxDurationSeconds sets the value of MaxDurationSeconds.

func (*UpdateContractRequest) SetMaxEnvelopeBytes

func (s *UpdateContractRequest) SetMaxEnvelopeBytes(val OptInt)

SetMaxEnvelopeBytes sets the value of MaxEnvelopeBytes.

func (*UpdateContractRequest) SetMaxEnvelopeCount

func (s *UpdateContractRequest) SetMaxEnvelopeCount(val OptInt)

SetMaxEnvelopeCount sets the value of MaxEnvelopeCount.

func (*UpdateContractRequest) SetName

func (s *UpdateContractRequest) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateContractRequest) SetRequiredWorkgroupMemberships

func (s *UpdateContractRequest) SetRequiredWorkgroupMemberships(val []string)

SetRequiredWorkgroupMemberships sets the value of RequiredWorkgroupMemberships.

func (*UpdateContractRequest) UnmarshalJSON

func (s *UpdateContractRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateContractRequest) Validate

func (s *UpdateContractRequest) Validate() error

type UpdateContractRes

type UpdateContractRes interface {
	// contains filtered or unexported methods
}

type UpdateContractUnauthorized

type UpdateContractUnauthorized Error

func (*UpdateContractUnauthorized) Decode

Decode decodes UpdateContractUnauthorized from json.

func (*UpdateContractUnauthorized) Encode

func (s *UpdateContractUnauthorized) Encode(e *jx.Encoder)

Encode encodes UpdateContractUnauthorized as json.

func (*UpdateContractUnauthorized) MarshalJSON

func (s *UpdateContractUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateContractUnauthorized) UnmarshalJSON

func (s *UpdateContractUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WhoamiInternalServerError

type WhoamiInternalServerError Error

func (*WhoamiInternalServerError) Decode

func (s *WhoamiInternalServerError) Decode(d *jx.Decoder) error

Decode decodes WhoamiInternalServerError from json.

func (*WhoamiInternalServerError) Encode

func (s *WhoamiInternalServerError) Encode(e *jx.Encoder)

Encode encodes WhoamiInternalServerError as json.

func (*WhoamiInternalServerError) MarshalJSON

func (s *WhoamiInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WhoamiInternalServerError) UnmarshalJSON

func (s *WhoamiInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WhoamiRes

type WhoamiRes interface {
	// contains filtered or unexported methods
}

type WhoamiUnauthorized

type WhoamiUnauthorized Error

func (*WhoamiUnauthorized) Decode

func (s *WhoamiUnauthorized) Decode(d *jx.Decoder) error

Decode decodes WhoamiUnauthorized from json.

func (*WhoamiUnauthorized) Encode

func (s *WhoamiUnauthorized) Encode(e *jx.Encoder)

Encode encodes WhoamiUnauthorized as json.

func (*WhoamiUnauthorized) MarshalJSON

func (s *WhoamiUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WhoamiUnauthorized) UnmarshalJSON

func (s *WhoamiUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Workgroup

type Workgroup struct {
	ID                           string         `json:"id"`
	OwnerOrganizationId          string         `json:"ownerOrganizationId"`
	Name                         string         `json:"name"`
	Description                  OptString      `json:"description"`
	Scope                        WorkgroupScope `json:"scope"`
	State                        WorkgroupState `json:"state"`
	ParticipatingOrganizationIds []string       `json:"participatingOrganizationIds"`
	CreatedAt                    time.Time      `json:"createdAt"`
	UpdatedAt                    time.Time      `json:"updatedAt"`
}

Ref: #/workgroup

func (*Workgroup) Decode

func (s *Workgroup) Decode(d *jx.Decoder) error

Decode decodes Workgroup from json.

func (*Workgroup) Encode

func (s *Workgroup) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Workgroup) GetCreatedAt

func (s *Workgroup) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Workgroup) GetDescription

func (s *Workgroup) GetDescription() OptString

GetDescription returns the value of Description.

func (*Workgroup) GetID

func (s *Workgroup) GetID() string

GetID returns the value of ID.

func (*Workgroup) GetName

func (s *Workgroup) GetName() string

GetName returns the value of Name.

func (*Workgroup) GetOwnerOrganizationId

func (s *Workgroup) GetOwnerOrganizationId() string

GetOwnerOrganizationId returns the value of OwnerOrganizationId.

func (*Workgroup) GetParticipatingOrganizationIds

func (s *Workgroup) GetParticipatingOrganizationIds() []string

GetParticipatingOrganizationIds returns the value of ParticipatingOrganizationIds.

func (*Workgroup) GetScope

func (s *Workgroup) GetScope() WorkgroupScope

GetScope returns the value of Scope.

func (*Workgroup) GetState

func (s *Workgroup) GetState() WorkgroupState

GetState returns the value of State.

func (*Workgroup) GetUpdatedAt

func (s *Workgroup) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Workgroup) MarshalJSON

func (s *Workgroup) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Workgroup) SetCreatedAt

func (s *Workgroup) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Workgroup) SetDescription

func (s *Workgroup) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Workgroup) SetID

func (s *Workgroup) SetID(val string)

SetID sets the value of ID.

func (*Workgroup) SetName

func (s *Workgroup) SetName(val string)

SetName sets the value of Name.

func (*Workgroup) SetOwnerOrganizationId

func (s *Workgroup) SetOwnerOrganizationId(val string)

SetOwnerOrganizationId sets the value of OwnerOrganizationId.

func (*Workgroup) SetParticipatingOrganizationIds

func (s *Workgroup) SetParticipatingOrganizationIds(val []string)

SetParticipatingOrganizationIds sets the value of ParticipatingOrganizationIds.

func (*Workgroup) SetScope

func (s *Workgroup) SetScope(val WorkgroupScope)

SetScope sets the value of Scope.

func (*Workgroup) SetState

func (s *Workgroup) SetState(val WorkgroupState)

SetState sets the value of State.

func (*Workgroup) SetUpdatedAt

func (s *Workgroup) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Workgroup) UnmarshalJSON

func (s *Workgroup) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Workgroup) Validate

func (s *Workgroup) Validate() error

type WorkgroupInvitation

type WorkgroupInvitation struct {
	ID                      string                   `json:"id"`
	WorkgroupId             string                   `json:"workgroupId"`
	OrganizationId          string                   `json:"organizationId"`
	State                   WorkgroupInvitationState `json:"state"`
	AcknowledgedByAccountId OptString                `json:"acknowledgedByAccountId"`
	AcknowledgedAt          OptDateTime              `json:"acknowledgedAt"`
	CreatedAt               time.Time                `json:"createdAt"`
	UpdatedAt               time.Time                `json:"updatedAt"`
}

Ref: #/workgroupInvitation

func (*WorkgroupInvitation) Decode

func (s *WorkgroupInvitation) Decode(d *jx.Decoder) error

Decode decodes WorkgroupInvitation from json.

func (*WorkgroupInvitation) Encode

func (s *WorkgroupInvitation) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WorkgroupInvitation) GetAcknowledgedAt

func (s *WorkgroupInvitation) GetAcknowledgedAt() OptDateTime

GetAcknowledgedAt returns the value of AcknowledgedAt.

func (*WorkgroupInvitation) GetAcknowledgedByAccountId

func (s *WorkgroupInvitation) GetAcknowledgedByAccountId() OptString

GetAcknowledgedByAccountId returns the value of AcknowledgedByAccountId.

func (*WorkgroupInvitation) GetCreatedAt

func (s *WorkgroupInvitation) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*WorkgroupInvitation) GetID

func (s *WorkgroupInvitation) GetID() string

GetID returns the value of ID.

func (*WorkgroupInvitation) GetOrganizationId

func (s *WorkgroupInvitation) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*WorkgroupInvitation) GetState

GetState returns the value of State.

func (*WorkgroupInvitation) GetUpdatedAt

func (s *WorkgroupInvitation) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*WorkgroupInvitation) GetWorkgroupId

func (s *WorkgroupInvitation) GetWorkgroupId() string

GetWorkgroupId returns the value of WorkgroupId.

func (*WorkgroupInvitation) MarshalJSON

func (s *WorkgroupInvitation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkgroupInvitation) SetAcknowledgedAt

func (s *WorkgroupInvitation) SetAcknowledgedAt(val OptDateTime)

SetAcknowledgedAt sets the value of AcknowledgedAt.

func (*WorkgroupInvitation) SetAcknowledgedByAccountId

func (s *WorkgroupInvitation) SetAcknowledgedByAccountId(val OptString)

SetAcknowledgedByAccountId sets the value of AcknowledgedByAccountId.

func (*WorkgroupInvitation) SetCreatedAt

func (s *WorkgroupInvitation) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*WorkgroupInvitation) SetID

func (s *WorkgroupInvitation) SetID(val string)

SetID sets the value of ID.

func (*WorkgroupInvitation) SetOrganizationId

func (s *WorkgroupInvitation) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*WorkgroupInvitation) SetState

SetState sets the value of State.

func (*WorkgroupInvitation) SetUpdatedAt

func (s *WorkgroupInvitation) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*WorkgroupInvitation) SetWorkgroupId

func (s *WorkgroupInvitation) SetWorkgroupId(val string)

SetWorkgroupId sets the value of WorkgroupId.

func (*WorkgroupInvitation) UnmarshalJSON

func (s *WorkgroupInvitation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkgroupInvitation) Validate

func (s *WorkgroupInvitation) Validate() error

type WorkgroupInvitationState

type WorkgroupInvitationState string
const (
	WorkgroupInvitationStatePending  WorkgroupInvitationState = "pending"
	WorkgroupInvitationStateAccepted WorkgroupInvitationState = "accepted"
	WorkgroupInvitationStateDeclined WorkgroupInvitationState = "declined"
)

func (WorkgroupInvitationState) AllValues

AllValues returns all WorkgroupInvitationState values.

func (*WorkgroupInvitationState) Decode

func (s *WorkgroupInvitationState) Decode(d *jx.Decoder) error

Decode decodes WorkgroupInvitationState from json.

func (WorkgroupInvitationState) Encode

func (s WorkgroupInvitationState) Encode(e *jx.Encoder)

Encode encodes WorkgroupInvitationState as json.

func (WorkgroupInvitationState) MarshalJSON

func (s WorkgroupInvitationState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WorkgroupInvitationState) MarshalText

func (s WorkgroupInvitationState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WorkgroupInvitationState) UnmarshalJSON

func (s *WorkgroupInvitationState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkgroupInvitationState) UnmarshalText

func (s *WorkgroupInvitationState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkgroupInvitationState) Validate

func (s WorkgroupInvitationState) Validate() error

type WorkgroupMembership

type WorkgroupMembership struct {
	ID             string                  `json:"id"`
	WorkgroupId    string                  `json:"workgroupId"`
	AccountId      string                  `json:"accountId"`
	OrganizationId string                  `json:"organizationId"`
	Email          OptString               `json:"email"`
	Role           WorkgroupMembershipRole `json:"role"`
	JoinedAt       time.Time               `json:"joinedAt"`
}

Ref: #/workgroupMembership

func (*WorkgroupMembership) Decode

func (s *WorkgroupMembership) Decode(d *jx.Decoder) error

Decode decodes WorkgroupMembership from json.

func (*WorkgroupMembership) Encode

func (s *WorkgroupMembership) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WorkgroupMembership) GetAccountId

func (s *WorkgroupMembership) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*WorkgroupMembership) GetEmail

func (s *WorkgroupMembership) GetEmail() OptString

GetEmail returns the value of Email.

func (*WorkgroupMembership) GetID

func (s *WorkgroupMembership) GetID() string

GetID returns the value of ID.

func (*WorkgroupMembership) GetJoinedAt

func (s *WorkgroupMembership) GetJoinedAt() time.Time

GetJoinedAt returns the value of JoinedAt.

func (*WorkgroupMembership) GetOrganizationId

func (s *WorkgroupMembership) GetOrganizationId() string

GetOrganizationId returns the value of OrganizationId.

func (*WorkgroupMembership) GetRole

GetRole returns the value of Role.

func (*WorkgroupMembership) GetWorkgroupId

func (s *WorkgroupMembership) GetWorkgroupId() string

GetWorkgroupId returns the value of WorkgroupId.

func (*WorkgroupMembership) MarshalJSON

func (s *WorkgroupMembership) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkgroupMembership) SetAccountId

func (s *WorkgroupMembership) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*WorkgroupMembership) SetEmail

func (s *WorkgroupMembership) SetEmail(val OptString)

SetEmail sets the value of Email.

func (*WorkgroupMembership) SetID

func (s *WorkgroupMembership) SetID(val string)

SetID sets the value of ID.

func (*WorkgroupMembership) SetJoinedAt

func (s *WorkgroupMembership) SetJoinedAt(val time.Time)

SetJoinedAt sets the value of JoinedAt.

func (*WorkgroupMembership) SetOrganizationId

func (s *WorkgroupMembership) SetOrganizationId(val string)

SetOrganizationId sets the value of OrganizationId.

func (*WorkgroupMembership) SetRole

SetRole sets the value of Role.

func (*WorkgroupMembership) SetWorkgroupId

func (s *WorkgroupMembership) SetWorkgroupId(val string)

SetWorkgroupId sets the value of WorkgroupId.

func (*WorkgroupMembership) UnmarshalJSON

func (s *WorkgroupMembership) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkgroupMembership) Validate

func (s *WorkgroupMembership) Validate() error

type WorkgroupMembershipRole

type WorkgroupMembershipRole string

Ref: #/workgroupMembershipRole

const (
	WorkgroupMembershipRoleMember WorkgroupMembershipRole = "member"
	WorkgroupMembershipRoleAdmin  WorkgroupMembershipRole = "admin"
)

func (WorkgroupMembershipRole) AllValues

AllValues returns all WorkgroupMembershipRole values.

func (*WorkgroupMembershipRole) Decode

func (s *WorkgroupMembershipRole) Decode(d *jx.Decoder) error

Decode decodes WorkgroupMembershipRole from json.

func (WorkgroupMembershipRole) Encode

func (s WorkgroupMembershipRole) Encode(e *jx.Encoder)

Encode encodes WorkgroupMembershipRole as json.

func (WorkgroupMembershipRole) MarshalJSON

func (s WorkgroupMembershipRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WorkgroupMembershipRole) MarshalText

func (s WorkgroupMembershipRole) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WorkgroupMembershipRole) UnmarshalJSON

func (s *WorkgroupMembershipRole) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkgroupMembershipRole) UnmarshalText

func (s *WorkgroupMembershipRole) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkgroupMembershipRole) Validate

func (s WorkgroupMembershipRole) Validate() error

type WorkgroupScope

type WorkgroupScope string

Ref: #/workgroupScope

const (
	WorkgroupScopeIntraOrg WorkgroupScope = "intra-org"
	WorkgroupScopeInterOrg WorkgroupScope = "inter-org"
)

func (WorkgroupScope) AllValues

func (WorkgroupScope) AllValues() []WorkgroupScope

AllValues returns all WorkgroupScope values.

func (*WorkgroupScope) Decode

func (s *WorkgroupScope) Decode(d *jx.Decoder) error

Decode decodes WorkgroupScope from json.

func (WorkgroupScope) Encode

func (s WorkgroupScope) Encode(e *jx.Encoder)

Encode encodes WorkgroupScope as json.

func (WorkgroupScope) MarshalJSON

func (s WorkgroupScope) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WorkgroupScope) MarshalText

func (s WorkgroupScope) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WorkgroupScope) UnmarshalJSON

func (s *WorkgroupScope) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkgroupScope) UnmarshalText

func (s *WorkgroupScope) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkgroupScope) Validate

func (s WorkgroupScope) Validate() error

type WorkgroupState

type WorkgroupState string

Ref: #/workgroupState

const (
	WorkgroupStatePending  WorkgroupState = "pending"
	WorkgroupStateActive   WorkgroupState = "active"
	WorkgroupStateDeclined WorkgroupState = "declined"
)

func (WorkgroupState) AllValues

func (WorkgroupState) AllValues() []WorkgroupState

AllValues returns all WorkgroupState values.

func (*WorkgroupState) Decode

func (s *WorkgroupState) Decode(d *jx.Decoder) error

Decode decodes WorkgroupState from json.

func (WorkgroupState) Encode

func (s WorkgroupState) Encode(e *jx.Encoder)

Encode encodes WorkgroupState as json.

func (WorkgroupState) MarshalJSON

func (s WorkgroupState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WorkgroupState) MarshalText

func (s WorkgroupState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WorkgroupState) UnmarshalJSON

func (s *WorkgroupState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkgroupState) UnmarshalText

func (s *WorkgroupState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkgroupState) Validate

func (s WorkgroupState) Validate() error

type WorkgroupsActivityResponse

type WorkgroupsActivityResponse struct {
	ByWorkgroup []DashboardWorkgroupActivity `json:"byWorkgroup"`
}

Ref: #/workgroupsActivityResponse

func (*WorkgroupsActivityResponse) Decode

Decode decodes WorkgroupsActivityResponse from json.

func (*WorkgroupsActivityResponse) Encode

func (s *WorkgroupsActivityResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WorkgroupsActivityResponse) GetByWorkgroup

GetByWorkgroup returns the value of ByWorkgroup.

func (*WorkgroupsActivityResponse) MarshalJSON

func (s *WorkgroupsActivityResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkgroupsActivityResponse) SetByWorkgroup

func (s *WorkgroupsActivityResponse) SetByWorkgroup(val []DashboardWorkgroupActivity)

SetByWorkgroup sets the value of ByWorkgroup.

func (*WorkgroupsActivityResponse) UnmarshalJSON

func (s *WorkgroupsActivityResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkgroupsActivityResponse) Validate

func (s *WorkgroupsActivityResponse) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL