rest_model_zrok

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ShareRequestBackendModeProxy captures enum value "proxy"
	ShareRequestBackendModeProxy string = "proxy"

	// ShareRequestBackendModeWeb captures enum value "web"
	ShareRequestBackendModeWeb string = "web"

	// ShareRequestBackendModeDav captures enum value "dav"
	ShareRequestBackendModeDav string = "dav"
)
View Source
const (

	// ShareRequestShareModePublic captures enum value "public"
	ShareRequestShareModePublic string = "public"

	// ShareRequestShareModePrivate captures enum value "private"
	ShareRequestShareModePrivate string = "private"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessRequest

type AccessRequest struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// shr token
	ShrToken string `json:"shrToken,omitempty"`
}

AccessRequest access request

swagger:model accessRequest

func (*AccessRequest) ContextValidate

func (m *AccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access request based on context it is used

func (*AccessRequest) MarshalBinary

func (m *AccessRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessRequest) UnmarshalBinary

func (m *AccessRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessRequest) Validate

func (m *AccessRequest) Validate(formats strfmt.Registry) error

Validate validates this access request

type AccessResponse

type AccessResponse struct {

	// frontend token
	FrontendToken string `json:"frontendToken,omitempty"`
}

AccessResponse access response

swagger:model accessResponse

func (*AccessResponse) ContextValidate

func (m *AccessResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access response based on context it is used

func (*AccessResponse) MarshalBinary

func (m *AccessResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessResponse) UnmarshalBinary

func (m *AccessResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessResponse) Validate

func (m *AccessResponse) Validate(formats strfmt.Registry) error

Validate validates this access response

type AuthUser

type AuthUser struct {

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

AuthUser auth user

swagger:model authUser

func (*AuthUser) ContextValidate

func (m *AuthUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth user based on context it is used

func (*AuthUser) MarshalBinary

func (m *AuthUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthUser) UnmarshalBinary

func (m *AuthUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthUser) Validate

func (m *AuthUser) Validate(formats strfmt.Registry) error

Validate validates this auth user

type Configuration

type Configuration struct {

	// tou link
	TouLink string `json:"touLink,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

Configuration configuration

swagger:model configuration

func (*Configuration) ContextValidate

func (m *Configuration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configuration based on context it is used

func (*Configuration) MarshalBinary

func (m *Configuration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configuration) UnmarshalBinary

func (m *Configuration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configuration) Validate

func (m *Configuration) Validate(formats strfmt.Registry) error

Validate validates this configuration

type CreateFrontendRequest

type CreateFrontendRequest struct {

	// public name
	PublicName string `json:"public_name,omitempty"`

	// url template
	URLTemplate string `json:"url_template,omitempty"`

	// z Id
	ZID string `json:"zId,omitempty"`
}

CreateFrontendRequest create frontend request

swagger:model createFrontendRequest

func (*CreateFrontendRequest) ContextValidate

func (m *CreateFrontendRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create frontend request based on context it is used

func (*CreateFrontendRequest) MarshalBinary

func (m *CreateFrontendRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateFrontendRequest) UnmarshalBinary

func (m *CreateFrontendRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateFrontendRequest) Validate

func (m *CreateFrontendRequest) Validate(formats strfmt.Registry) error

Validate validates this create frontend request

type CreateFrontendResponse

type CreateFrontendResponse struct {

	// token
	Token string `json:"token,omitempty"`
}

CreateFrontendResponse create frontend response

swagger:model createFrontendResponse

func (*CreateFrontendResponse) ContextValidate

func (m *CreateFrontendResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create frontend response based on context it is used

func (*CreateFrontendResponse) MarshalBinary

func (m *CreateFrontendResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateFrontendResponse) UnmarshalBinary

func (m *CreateFrontendResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateFrontendResponse) Validate

func (m *CreateFrontendResponse) Validate(formats strfmt.Registry) error

Validate validates this create frontend response

type DeleteFrontendRequest

type DeleteFrontendRequest struct {

	// frontend token
	FrontendToken string `json:"frontendToken,omitempty"`
}

DeleteFrontendRequest delete frontend request

swagger:model deleteFrontendRequest

func (*DeleteFrontendRequest) ContextValidate

func (m *DeleteFrontendRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete frontend request based on context it is used

func (*DeleteFrontendRequest) MarshalBinary

func (m *DeleteFrontendRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteFrontendRequest) UnmarshalBinary

func (m *DeleteFrontendRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteFrontendRequest) Validate

func (m *DeleteFrontendRequest) Validate(formats strfmt.Registry) error

Validate validates this delete frontend request

type DisableRequest

type DisableRequest struct {

	// identity
	Identity string `json:"identity,omitempty"`
}

DisableRequest disable request

swagger:model disableRequest

func (*DisableRequest) ContextValidate

func (m *DisableRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disable request based on context it is used

func (*DisableRequest) MarshalBinary

func (m *DisableRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DisableRequest) UnmarshalBinary

func (m *DisableRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DisableRequest) Validate

func (m *DisableRequest) Validate(formats strfmt.Registry) error

Validate validates this disable request

type EnableRequest

type EnableRequest struct {

	// description
	Description string `json:"description,omitempty"`

	// host
	Host string `json:"host,omitempty"`
}

EnableRequest enable request

swagger:model enableRequest

func (*EnableRequest) ContextValidate

func (m *EnableRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enable request based on context it is used

func (*EnableRequest) MarshalBinary

func (m *EnableRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnableRequest) UnmarshalBinary

func (m *EnableRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnableRequest) Validate

func (m *EnableRequest) Validate(formats strfmt.Registry) error

Validate validates this enable request

type EnableResponse

type EnableResponse struct {

	// cfg
	Cfg string `json:"cfg,omitempty"`

	// identity
	Identity string `json:"identity,omitempty"`
}

EnableResponse enable response

swagger:model enableResponse

func (*EnableResponse) ContextValidate

func (m *EnableResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enable response based on context it is used

func (*EnableResponse) MarshalBinary

func (m *EnableResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnableResponse) UnmarshalBinary

func (m *EnableResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnableResponse) Validate

func (m *EnableResponse) Validate(formats strfmt.Registry) error

Validate validates this enable response

type Environment

type Environment struct {

	// active
	Active bool `json:"active,omitempty"`

	// address
	Address string `json:"address,omitempty"`

	// created at
	CreatedAt int64 `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// host
	Host string `json:"host,omitempty"`

	// updated at
	UpdatedAt int64 `json:"updatedAt,omitempty"`

	// z Id
	ZID string `json:"zId,omitempty"`
}

Environment environment

swagger:model environment

func (*Environment) ContextValidate

func (m *Environment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this environment based on context it is used

func (*Environment) MarshalBinary

func (m *Environment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Environment) UnmarshalBinary

func (m *Environment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Environment) Validate

func (m *Environment) Validate(formats strfmt.Registry) error

Validate validates this environment

type EnvironmentShares

type EnvironmentShares struct {

	// environment
	Environment *Environment `json:"environment,omitempty"`

	// shares
	Shares Shares `json:"shares,omitempty"`
}

EnvironmentShares environment shares

swagger:model environmentShares

func (*EnvironmentShares) ContextValidate

func (m *EnvironmentShares) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this environment shares based on the context it is used

func (*EnvironmentShares) MarshalBinary

func (m *EnvironmentShares) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnvironmentShares) UnmarshalBinary

func (m *EnvironmentShares) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnvironmentShares) Validate

func (m *EnvironmentShares) Validate(formats strfmt.Registry) error

Validate validates this environment shares

type EnvironmentSharesList

type EnvironmentSharesList []*EnvironmentShares

EnvironmentSharesList environment shares list

swagger:model environmentSharesList

func (EnvironmentSharesList) ContextValidate

func (m EnvironmentSharesList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this environment shares list based on the context it is used

func (EnvironmentSharesList) Validate

func (m EnvironmentSharesList) Validate(formats strfmt.Registry) error

Validate validates this environment shares list

type Environments

type Environments []*Environment

Environments environments

swagger:model environments

func (Environments) ContextValidate

func (m Environments) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this environments based on the context it is used

func (Environments) Validate

func (m Environments) Validate(formats strfmt.Registry) error

Validate validates this environments

type ErrorMessage

type ErrorMessage string

ErrorMessage error message

swagger:model errorMessage

func (ErrorMessage) ContextValidate

func (m ErrorMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error message based on context it is used

func (ErrorMessage) Validate

func (m ErrorMessage) Validate(formats strfmt.Registry) error

Validate validates this error message

type InviteRequest

type InviteRequest struct {

	// email
	Email string `json:"email,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

InviteRequest invite request

swagger:model inviteRequest

func (*InviteRequest) ContextValidate

func (m *InviteRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this invite request based on context it is used

func (*InviteRequest) MarshalBinary

func (m *InviteRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InviteRequest) UnmarshalBinary

func (m *InviteRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InviteRequest) Validate

func (m *InviteRequest) Validate(formats strfmt.Registry) error

Validate validates this invite request

type InviteTokenGenerateRequest

type InviteTokenGenerateRequest struct {

	// tokens
	Tokens []string `json:"tokens"`
}

InviteTokenGenerateRequest invite token generate request

swagger:model inviteTokenGenerateRequest

func (*InviteTokenGenerateRequest) ContextValidate

func (m *InviteTokenGenerateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this invite token generate request based on context it is used

func (*InviteTokenGenerateRequest) MarshalBinary

func (m *InviteTokenGenerateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InviteTokenGenerateRequest) UnmarshalBinary

func (m *InviteTokenGenerateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InviteTokenGenerateRequest) Validate

func (m *InviteTokenGenerateRequest) Validate(formats strfmt.Registry) error

Validate validates this invite token generate request

type LoginRequest

type LoginRequest struct {

	// email
	Email string `json:"email,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

LoginRequest login request

swagger:model loginRequest

func (*LoginRequest) ContextValidate

func (m *LoginRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this login request based on context it is used

func (*LoginRequest) MarshalBinary

func (m *LoginRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoginRequest) UnmarshalBinary

func (m *LoginRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoginRequest) Validate

func (m *LoginRequest) Validate(formats strfmt.Registry) error

Validate validates this login request

type LoginResponse

type LoginResponse string

LoginResponse login response

swagger:model loginResponse

func (LoginResponse) ContextValidate

func (m LoginResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this login response based on context it is used

func (LoginResponse) Validate

func (m LoginResponse) Validate(formats strfmt.Registry) error

Validate validates this login response

type Principal

type Principal struct {

	// admin
	Admin bool `json:"admin,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// limitless
	Limitless bool `json:"limitless,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

Principal principal

swagger:model principal

func (*Principal) ContextValidate

func (m *Principal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this principal based on context it is used

func (*Principal) MarshalBinary

func (m *Principal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary

func (m *Principal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Principal) Validate

func (m *Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

type PublicFrontend

type PublicFrontend struct {

	// created at
	CreatedAt int64 `json:"createdAt,omitempty"`

	// public name
	PublicName string `json:"publicName,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// updated at
	UpdatedAt int64 `json:"updatedAt,omitempty"`

	// url template
	URLTemplate string `json:"urlTemplate,omitempty"`

	// z Id
	ZID string `json:"zId,omitempty"`
}

PublicFrontend public frontend

swagger:model publicFrontend

func (*PublicFrontend) ContextValidate

func (m *PublicFrontend) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this public frontend based on context it is used

func (*PublicFrontend) MarshalBinary

func (m *PublicFrontend) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicFrontend) UnmarshalBinary

func (m *PublicFrontend) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicFrontend) Validate

func (m *PublicFrontend) Validate(formats strfmt.Registry) error

Validate validates this public frontend

type PublicFrontendList

type PublicFrontendList []*PublicFrontend

PublicFrontendList public frontend list

swagger:model publicFrontendList

func (PublicFrontendList) ContextValidate

func (m PublicFrontendList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this public frontend list based on the context it is used

func (PublicFrontendList) Validate

func (m PublicFrontendList) Validate(formats strfmt.Registry) error

Validate validates this public frontend list

type RegisterRequest

type RegisterRequest struct {

	// password
	Password string `json:"password,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

RegisterRequest register request

swagger:model registerRequest

func (*RegisterRequest) ContextValidate

func (m *RegisterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this register request based on context it is used

func (*RegisterRequest) MarshalBinary

func (m *RegisterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegisterRequest) UnmarshalBinary

func (m *RegisterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegisterRequest) Validate

func (m *RegisterRequest) Validate(formats strfmt.Registry) error

Validate validates this register request

type RegisterResponse

type RegisterResponse struct {

	// token
	Token string `json:"token,omitempty"`
}

RegisterResponse register response

swagger:model registerResponse

func (*RegisterResponse) ContextValidate

func (m *RegisterResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this register response based on context it is used

func (*RegisterResponse) MarshalBinary

func (m *RegisterResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegisterResponse) UnmarshalBinary

func (m *RegisterResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegisterResponse) Validate

func (m *RegisterResponse) Validate(formats strfmt.Registry) error

Validate validates this register response

type ResetPasswordRequest

type ResetPasswordRequest struct {

	// password
	Password string `json:"password,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

ResetPasswordRequest reset password request

swagger:model resetPasswordRequest

func (*ResetPasswordRequest) ContextValidate

func (m *ResetPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reset password request based on context it is used

func (*ResetPasswordRequest) MarshalBinary

func (m *ResetPasswordRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResetPasswordRequest) UnmarshalBinary

func (m *ResetPasswordRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResetPasswordRequest) Validate

func (m *ResetPasswordRequest) Validate(formats strfmt.Registry) error

Validate validates this reset password request

type Share

type Share struct {

	// backend mode
	BackendMode string `json:"backendMode,omitempty"`

	// backend proxy endpoint
	BackendProxyEndpoint string `json:"backendProxyEndpoint,omitempty"`

	// created at
	CreatedAt int64 `json:"createdAt,omitempty"`

	// frontend endpoint
	FrontendEndpoint string `json:"frontendEndpoint,omitempty"`

	// frontend selection
	FrontendSelection string `json:"frontendSelection,omitempty"`

	// metrics
	Metrics ShareMetrics `json:"metrics,omitempty"`

	// reserved
	Reserved bool `json:"reserved,omitempty"`

	// share mode
	ShareMode string `json:"shareMode,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// updated at
	UpdatedAt int64 `json:"updatedAt,omitempty"`

	// z Id
	ZID string `json:"zId,omitempty"`
}

Share share

swagger:model share

func (*Share) ContextValidate

func (m *Share) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this share based on the context it is used

func (*Share) MarshalBinary

func (m *Share) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Share) UnmarshalBinary

func (m *Share) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Share) Validate

func (m *Share) Validate(formats strfmt.Registry) error

Validate validates this share

type ShareMetrics

type ShareMetrics []int64

ShareMetrics share metrics

swagger:model shareMetrics

func (ShareMetrics) ContextValidate

func (m ShareMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this share metrics based on context it is used

func (ShareMetrics) Validate

func (m ShareMetrics) Validate(formats strfmt.Registry) error

Validate validates this share metrics

type ShareRequest

type ShareRequest struct {

	// auth scheme
	AuthScheme string `json:"authScheme,omitempty"`

	// auth users
	AuthUsers []*AuthUser `json:"authUsers"`

	// backend mode
	// Enum: [proxy web dav]
	BackendMode string `json:"backendMode,omitempty"`

	// backend proxy endpoint
	BackendProxyEndpoint string `json:"backendProxyEndpoint,omitempty"`

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// frontend selection
	FrontendSelection []string `json:"frontendSelection"`

	// reserved
	Reserved bool `json:"reserved,omitempty"`

	// share mode
	// Enum: [public private]
	ShareMode string `json:"shareMode,omitempty"`
}

ShareRequest share request

swagger:model shareRequest

func (*ShareRequest) ContextValidate

func (m *ShareRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this share request based on the context it is used

func (*ShareRequest) MarshalBinary

func (m *ShareRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ShareRequest) UnmarshalBinary

func (m *ShareRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ShareRequest) Validate

func (m *ShareRequest) Validate(formats strfmt.Registry) error

Validate validates this share request

type ShareResponse

type ShareResponse struct {

	// frontend proxy endpoints
	FrontendProxyEndpoints []string `json:"frontendProxyEndpoints"`

	// shr token
	ShrToken string `json:"shrToken,omitempty"`
}

ShareResponse share response

swagger:model shareResponse

func (*ShareResponse) ContextValidate

func (m *ShareResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this share response based on context it is used

func (*ShareResponse) MarshalBinary

func (m *ShareResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ShareResponse) UnmarshalBinary

func (m *ShareResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ShareResponse) Validate

func (m *ShareResponse) Validate(formats strfmt.Registry) error

Validate validates this share response

type Shares

type Shares []*Share

Shares shares

swagger:model shares

func (Shares) ContextValidate

func (m Shares) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this shares based on the context it is used

func (Shares) Validate

func (m Shares) Validate(formats strfmt.Registry) error

Validate validates this shares

type UnaccessRequest

type UnaccessRequest struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// frontend token
	FrontendToken string `json:"frontendToken,omitempty"`

	// shr token
	ShrToken string `json:"shrToken,omitempty"`
}

UnaccessRequest unaccess request

swagger:model unaccessRequest

func (*UnaccessRequest) ContextValidate

func (m *UnaccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unaccess request based on context it is used

func (*UnaccessRequest) MarshalBinary

func (m *UnaccessRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnaccessRequest) UnmarshalBinary

func (m *UnaccessRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnaccessRequest) Validate

func (m *UnaccessRequest) Validate(formats strfmt.Registry) error

Validate validates this unaccess request

type UnshareRequest

type UnshareRequest struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// reserved
	Reserved bool `json:"reserved,omitempty"`

	// shr token
	ShrToken string `json:"shrToken,omitempty"`
}

UnshareRequest unshare request

swagger:model unshareRequest

func (*UnshareRequest) ContextValidate

func (m *UnshareRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unshare request based on context it is used

func (*UnshareRequest) MarshalBinary

func (m *UnshareRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnshareRequest) UnmarshalBinary

func (m *UnshareRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnshareRequest) Validate

func (m *UnshareRequest) Validate(formats strfmt.Registry) error

Validate validates this unshare request

type UpdateFrontendRequest

type UpdateFrontendRequest struct {

	// frontend token
	FrontendToken string `json:"frontendToken,omitempty"`

	// public name
	PublicName string `json:"publicName,omitempty"`

	// url template
	URLTemplate string `json:"urlTemplate,omitempty"`
}

UpdateFrontendRequest update frontend request

swagger:model updateFrontendRequest

func (*UpdateFrontendRequest) ContextValidate

func (m *UpdateFrontendRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update frontend request based on context it is used

func (*UpdateFrontendRequest) MarshalBinary

func (m *UpdateFrontendRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateFrontendRequest) UnmarshalBinary

func (m *UpdateFrontendRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateFrontendRequest) Validate

func (m *UpdateFrontendRequest) Validate(formats strfmt.Registry) error

Validate validates this update frontend request

type UpdateShareRequest

type UpdateShareRequest struct {

	// backend proxy endpoint
	BackendProxyEndpoint string `json:"backendProxyEndpoint,omitempty"`

	// shr token
	ShrToken string `json:"shrToken,omitempty"`
}

UpdateShareRequest update share request

swagger:model updateShareRequest

func (*UpdateShareRequest) ContextValidate

func (m *UpdateShareRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update share request based on context it is used

func (*UpdateShareRequest) MarshalBinary

func (m *UpdateShareRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateShareRequest) UnmarshalBinary

func (m *UpdateShareRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateShareRequest) Validate

func (m *UpdateShareRequest) Validate(formats strfmt.Registry) error

Validate validates this update share request

type VerifyRequest

type VerifyRequest struct {

	// token
	Token string `json:"token,omitempty"`
}

VerifyRequest verify request

swagger:model verifyRequest

func (*VerifyRequest) ContextValidate

func (m *VerifyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this verify request based on context it is used

func (*VerifyRequest) MarshalBinary

func (m *VerifyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VerifyRequest) UnmarshalBinary

func (m *VerifyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VerifyRequest) Validate

func (m *VerifyRequest) Validate(formats strfmt.Registry) error

Validate validates this verify request

type VerifyResponse

type VerifyResponse struct {

	// email
	Email string `json:"email,omitempty"`
}

VerifyResponse verify response

swagger:model verifyResponse

func (*VerifyResponse) ContextValidate

func (m *VerifyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this verify response based on context it is used

func (*VerifyResponse) MarshalBinary

func (m *VerifyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VerifyResponse) UnmarshalBinary

func (m *VerifyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VerifyResponse) Validate

func (m *VerifyResponse) Validate(formats strfmt.Registry) error

Validate validates this verify response

type Version

type Version string

Version version

swagger:model version

func (Version) ContextValidate

func (m Version) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this version based on context it is used

func (Version) Validate

func (m Version) Validate(formats strfmt.Registry) error

Validate validates this version

Jump to

Keyboard shortcuts

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