api

package
v0.0.0-...-2a83efa Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 28 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 APIHandler

type APIHandler struct {
	Name    OptString `json:"Name"`
	Version OptString `json:"Version"`
}

Ref: #/components/schemas/APIHandler

func (*APIHandler) Decode

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

Decode decodes APIHandler from json.

func (*APIHandler) Encode

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

Encode implements json.Marshaler.

func (*APIHandler) GetName

func (s *APIHandler) GetName() OptString

GetName returns the value of Name.

func (*APIHandler) GetVersion

func (s *APIHandler) GetVersion() OptString

GetVersion returns the value of Version.

func (*APIHandler) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*APIHandler) SetName

func (s *APIHandler) SetName(val OptString)

SetName sets the value of Name.

func (*APIHandler) SetVersion

func (s *APIHandler) SetVersion(val OptString)

SetVersion sets the value of Version.

func (*APIHandler) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AccessBadRequest

type AccessBadRequest Error

func (*AccessBadRequest) Decode

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

Decode decodes AccessBadRequest from json.

func (*AccessBadRequest) Encode

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

Encode encodes AccessBadRequest as json.

func (*AccessBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AccessBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AccessForbidden

type AccessForbidden struct{}

AccessForbidden is response for Access operation.

type AccessNotFound

type AccessNotFound Error

func (*AccessNotFound) Decode

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

Decode decodes AccessNotFound from json.

func (*AccessNotFound) Encode

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

Encode encodes AccessNotFound as json.

func (*AccessNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AccessNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AccessParams

type AccessParams struct {
	// Access role information for users or administrators.
	Role AccessRole
}

AccessParams is parameters of access operation.

type AccessRes

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

type AccessRole

type AccessRole string
const (
	AccessRole_User          AccessRole = "User"
	AccessRole_user          AccessRole = "user"
	AccessRole_USER          AccessRole = "USER"
	AccessRole_Administrator AccessRole = "Administrator"
	AccessRole_administrator AccessRole = "administrator"
	AccessRole_ADMINISTRATOR AccessRole = "ADMINISTRATOR"
)

func (AccessRole) AllValues

func (AccessRole) AllValues() []AccessRole

AllValues returns all AccessRole values.

func (AccessRole) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AccessRole) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AccessRole) Validate

func (s AccessRole) Validate() error

type AccessUnauthorized

type AccessUnauthorized struct{}

AccessUnauthorized is response for Access operation.

type ActivityStats

type ActivityStats struct {
	Statistics OptActivityStatsStatistics `json:"Statistics"`
}

Ref: #/components/schemas/ActivityStats

func (*ActivityStats) Decode

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

Decode decodes ActivityStats from json.

func (*ActivityStats) Encode

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

Encode implements json.Marshaler.

func (*ActivityStats) GetStatistics

func (s *ActivityStats) GetStatistics() OptActivityStatsStatistics

GetStatistics returns the value of Statistics.

func (*ActivityStats) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ActivityStats) SetStatistics

func (s *ActivityStats) SetStatistics(val OptActivityStatsStatistics)

SetStatistics sets the value of Statistics.

func (*ActivityStats) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ActivityStats) Validate

func (s *ActivityStats) Validate() error

type ActivityStatsStatistics

type ActivityStatsStatistics struct {
	BPHitRate OptFloat64 `json:"BPHitRate"`
}

func (*ActivityStatsStatistics) Decode

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

Decode decodes ActivityStatsStatistics from json.

func (*ActivityStatsStatistics) Encode

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

Encode implements json.Marshaler.

func (*ActivityStatsStatistics) GetBPHitRate

func (s *ActivityStatsStatistics) GetBPHitRate() OptFloat64

GetBPHitRate returns the value of BPHitRate.

func (*ActivityStatsStatistics) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ActivityStatsStatistics) SetBPHitRate

func (s *ActivityStatsStatistics) SetBPHitRate(val OptFloat64)

SetBPHitRate sets the value of BPHitRate.

func (*ActivityStatsStatistics) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ActivityStatsStatistics) Validate

func (s *ActivityStatsStatistics) Validate() error

type AdaptPermissionForbidden

type AdaptPermissionForbidden struct{}

AdaptPermissionForbidden is response for AdaptPermission operation.

type AdaptPermissionParams

type AdaptPermissionParams struct {
	// SQL table.
	Table string
}

AdaptPermissionParams is parameters of adaptPermission operation.

type AdaptPermissionRes

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

type AdaptPermissionUnauthorized

type AdaptPermissionUnauthorized struct{}

AdaptPermissionUnauthorized is response for AdaptPermission operation.

type AddAccessBadRequest

type AddAccessBadRequest Error

func (*AddAccessBadRequest) Decode

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

Decode decodes AddAccessBadRequest from json.

func (*AddAccessBadRequest) Encode

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

Encode encodes AddAccessBadRequest as json.

func (*AddAccessBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddAccessBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddAccessForbidden

type AddAccessForbidden struct{}

AddAccessForbidden is response for AddAccess operation.

type AddAccessNotFound

type AddAccessNotFound Error

func (*AddAccessNotFound) Decode

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

Decode decodes AddAccessNotFound from json.

func (*AddAccessNotFound) Encode

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

Encode encodes AddAccessNotFound as json.

func (*AddAccessNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddAccessNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddAccessOK

type AddAccessOK struct{}

AddAccessOK is response for AddAccess operation.

type AddAccessParams

type AddAccessParams struct {
	// Access role information for users or administrators.
	Role AddAccessRole
	// New user to be added.
	User string
}

AddAccessParams is parameters of addAccess operation.

type AddAccessRes

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

type AddAccessRole

type AddAccessRole string
const (
	AddAccessRole_User          AddAccessRole = "User"
	AddAccessRole_user          AddAccessRole = "user"
	AddAccessRole_USER          AddAccessRole = "USER"
	AddAccessRole_Administrator AddAccessRole = "Administrator"
	AddAccessRole_administrator AddAccessRole = "administrator"
	AddAccessRole_ADMINISTRATOR AddAccessRole = "ADMINISTRATOR"
)

func (AddAccessRole) AllValues

func (AddAccessRole) AllValues() []AddAccessRole

AllValues returns all AddAccessRole values.

func (AddAccessRole) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AddAccessRole) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AddAccessRole) Validate

func (s AddAccessRole) Validate() error

type AddAccessUnauthorized

type AddAccessUnauthorized struct{}

AddAccessUnauthorized is response for AddAccess operation.

type AddRBACResourceForbidden

type AddRBACResourceForbidden struct{}

AddRBACResourceForbidden is response for AddRBACResource operation.

type AddRBACResourceParams

type AddRBACResourceParams struct {
	// SQL table.
	Table string
	// RBAC type.
	Resource AddRBACResourceResource
	// Resource name.
	Name string
}

AddRBACResourceParams is parameters of addRBACResource operation.

type AddRBACResourceRes

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

type AddRBACResourceResource

type AddRBACResourceResource string
const (
	AddRBACResourceResource_Role      AddRBACResourceResource = "Role"
	AddRBACResourceResource_role      AddRBACResourceResource = "role"
	AddRBACResourceResource_ROLE      AddRBACResourceResource = "ROLE"
	AddRBACResourceResource_Object    AddRBACResourceResource = "Object"
	AddRBACResourceResource_object    AddRBACResourceResource = "object"
	AddRBACResourceResource_OBJECT    AddRBACResourceResource = "OBJECT"
	AddRBACResourceResource_User      AddRBACResourceResource = "User"
	AddRBACResourceResource_user      AddRBACResourceResource = "user"
	AddRBACResourceResource_USER      AddRBACResourceResource = "USER"
	AddRBACResourceResource_Operation AddRBACResourceResource = "Operation"
	AddRBACResourceResource_operation AddRBACResourceResource = "operation"
	AddRBACResourceResource_OPERATION AddRBACResourceResource = "OPERATION"
)

func (AddRBACResourceResource) AllValues

AllValues returns all AddRBACResourceResource values.

func (AddRBACResourceResource) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AddRBACResourceResource) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AddRBACResourceResource) Validate

func (s AddRBACResourceResource) Validate() error

type AddRBACResourceUnauthorized

type AddRBACResourceUnauthorized struct{}

AddRBACResourceUnauthorized is response for AddRBACResource operation.

type AddViewForbidden

type AddViewForbidden struct{}

AddViewForbidden is response for AddView operation.

type AddViewOK

type AddViewOK struct{}

AddViewOK is response for AddView operation.

type AddViewParams

type AddViewParams struct {
	// Database URL.
	URL string
	// Database file number.
	File int
}

AddViewParams is parameters of addView operation.

type AddViewRes

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

type AddViewUnauthorized

type AddViewUnauthorized struct{}

AddViewUnauthorized is response for AddView operation.

type AuthorizationToken

type AuthorizationToken struct {
	Token     OptString `json:"token"`
	AdminRole OptBool   `json:"AdminRole"`
	User      OptUser   `json:"User"`
}

Ref: #/components/schemas/AuthorizationToken

func (*AuthorizationToken) Decode

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

Decode decodes AuthorizationToken from json.

func (*AuthorizationToken) Encode

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

Encode implements json.Marshaler.

func (*AuthorizationToken) GetAdminRole

func (s *AuthorizationToken) GetAdminRole() OptBool

GetAdminRole returns the value of AdminRole.

func (*AuthorizationToken) GetToken

func (s *AuthorizationToken) GetToken() OptString

GetToken returns the value of Token.

func (*AuthorizationToken) GetUser

func (s *AuthorizationToken) GetUser() OptUser

GetUser returns the value of User.

func (*AuthorizationToken) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AuthorizationToken) SetAdminRole

func (s *AuthorizationToken) SetAdminRole(val OptBool)

SetAdminRole sets the value of AdminRole.

func (*AuthorizationToken) SetToken

func (s *AuthorizationToken) SetToken(val OptString)

SetToken sets the value of Token.

func (*AuthorizationToken) SetUser

func (s *AuthorizationToken) SetUser(val OptUser)

SetUser sets the value of User.

func (*AuthorizationToken) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AuthorizationToken) Validate

func (s *AuthorizationToken) Validate() error

type AuthorizationTokenHeaders

type AuthorizationTokenHeaders struct {
	XToken   OptString
	Response AuthorizationToken
}

AuthorizationTokenHeaders wraps AuthorizationToken with response headers.

func (*AuthorizationTokenHeaders) GetResponse

GetResponse returns the value of Response.

func (*AuthorizationTokenHeaders) GetXToken

func (s *AuthorizationTokenHeaders) GetXToken() OptString

GetXToken returns the value of XToken.

func (*AuthorizationTokenHeaders) SetResponse

func (s *AuthorizationTokenHeaders) SetResponse(val AuthorizationToken)

SetResponse sets the value of Response.

func (*AuthorizationTokenHeaders) SetXToken

func (s *AuthorizationTokenHeaders) SetXToken(val OptString)

SetXToken sets the value of XToken.

func (*AuthorizationTokenHeaders) Validate

func (s *AuthorizationTokenHeaders) Validate() error

type BasicAuth

type BasicAuth struct {
	Username string
	Password string
}

func (*BasicAuth) GetPassword

func (s *BasicAuth) GetPassword() string

GetPassword returns the value of Password.

func (*BasicAuth) GetUsername

func (s *BasicAuth) GetUsername() string

GetUsername returns the value of Username.

func (*BasicAuth) SetPassword

func (s *BasicAuth) SetPassword(val string)

SetPassword sets the value of Password.

func (*BasicAuth) SetUsername

func (s *BasicAuth) SetUsername(val string)

SetUsername sets the value of Username.

type BatchParameterQueryForbidden

type BatchParameterQueryForbidden struct{}

BatchParameterQueryForbidden is response for BatchParameterQuery operation.

type BatchParameterQueryParams

type BatchParameterQueryParams struct {
	// Table.
	Table string
	// SQL statement.
	Query string
}

BatchParameterQueryParams is parameters of batchParameterQuery operation.

type BatchParameterQueryRes

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

type BatchParameterQueryUnauthorized

type BatchParameterQueryUnauthorized struct{}

BatchParameterQueryUnauthorized is response for BatchParameterQuery operation.

type BatchQueryForbidden

type BatchQueryForbidden struct{}

BatchQueryForbidden is response for BatchQuery operation.

type BatchQueryParams

type BatchQueryParams struct {
	// Table.
	Table string
}

BatchQueryParams is parameters of batchQuery operation.

type BatchQueryReq

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

type BatchQueryReqEmptyBody

type BatchQueryReqEmptyBody struct{}

type BatchQueryReqTextPlain

type BatchQueryReqTextPlain struct {
	Data io.Reader
}

func (BatchQueryReqTextPlain) Read

func (s BatchQueryReqTextPlain) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type BatchQueryRes

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

type BatchQueryUnauthorized

type BatchQueryUnauthorized struct{}

BatchQueryUnauthorized is response for BatchQuery operation.

type BatchSelectForbidden

type BatchSelectForbidden struct{}

BatchSelectForbidden is response for BatchSelect operation.

type BatchSelectParams

type BatchSelectParams struct {
	// Batch name.
	Table string
	// Query parameter.
	Param []string
}

BatchSelectParams is parameters of batchSelect operation.

type BatchSelectRes

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

type BatchSelectUnauthorized

type BatchSelectUnauthorized struct{}

BatchSelectUnauthorized is response for BatchSelect operation.

type BearerAuth

type BearerAuth struct {
	Token string
}

func (*BearerAuth) GetToken

func (s *BearerAuth) GetToken() string

GetToken returns the value of Token.

func (*BearerAuth) SetToken

func (s *BearerAuth) SetToken(val string)

SetToken sets the value of Token.

type BrowseListBadRequest

type BrowseListBadRequest Error

func (*BrowseListBadRequest) Decode

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

Decode decodes BrowseListBadRequest from json.

func (*BrowseListBadRequest) Encode

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

Encode encodes BrowseListBadRequest as json.

func (*BrowseListBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BrowseListBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BrowseListForbidden

type BrowseListForbidden struct{}

BrowseListForbidden is response for BrowseList operation.

type BrowseListNotFound

type BrowseListNotFound Error

func (*BrowseListNotFound) Decode

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

Decode decodes BrowseListNotFound from json.

func (*BrowseListNotFound) Encode

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

Encode encodes BrowseListNotFound as json.

func (*BrowseListNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BrowseListNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BrowseListRes

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

type BrowseListUnauthorized

type BrowseListUnauthorized struct{}

BrowseListUnauthorized is response for BrowseList operation.

type BrowseLocationBadRequest

type BrowseLocationBadRequest Error

func (*BrowseLocationBadRequest) Decode

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

Decode decodes BrowseLocationBadRequest from json.

func (*BrowseLocationBadRequest) Encode

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

Encode encodes BrowseLocationBadRequest as json.

func (*BrowseLocationBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BrowseLocationBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BrowseLocationForbidden

type BrowseLocationForbidden struct{}

BrowseLocationForbidden is response for BrowseLocation operation.

type BrowseLocationNotFound

type BrowseLocationNotFound Error

func (*BrowseLocationNotFound) Decode

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

Decode decodes BrowseLocationNotFound from json.

func (*BrowseLocationNotFound) Encode

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

Encode encodes BrowseLocationNotFound as json.

func (*BrowseLocationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BrowseLocationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BrowseLocationOKApplicationOctetStream

type BrowseLocationOKApplicationOctetStream struct {
	Data io.Reader
}

func (BrowseLocationOKApplicationOctetStream) Read

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type BrowseLocationOKMultipartFormData

type BrowseLocationOKMultipartFormData struct {
	File ht.MultipartFile `json:"file"`
}

func (*BrowseLocationOKMultipartFormData) GetFile

GetFile returns the value of File.

func (*BrowseLocationOKMultipartFormData) SetFile

SetFile sets the value of File.

type BrowseLocationParams

type BrowseLocationParams struct {
	// Identifier of the file location.
	Path string
	// Filter the result set.
	Filter OptString
}

BrowseLocationParams is parameters of browseLocation operation.

type BrowseLocationRes

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

type BrowseLocationUnauthorized

type BrowseLocationUnauthorized struct{}

BrowseLocationUnauthorized is response for BrowseLocation operation.

type CallExtendBadRequest

type CallExtendBadRequest Error

func (*CallExtendBadRequest) Decode

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

Decode decodes CallExtendBadRequest from json.

func (*CallExtendBadRequest) Encode

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

Encode encodes CallExtendBadRequest as json.

func (*CallExtendBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CallExtendBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CallExtendForbidden

type CallExtendForbidden struct{}

CallExtendForbidden is response for CallExtend operation.

type CallExtendNotFound

type CallExtendNotFound Error

func (*CallExtendNotFound) Decode

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

Decode decodes CallExtendNotFound from json.

func (*CallExtendNotFound) Encode

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

Encode encodes CallExtendNotFound as json.

func (*CallExtendNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CallExtendNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CallExtendOK

type CallExtendOK struct {
	Data io.Reader
}

func (CallExtendOK) Read

func (s CallExtendOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type CallExtendParams

type CallExtendParams struct {
	// Identifier of the file location.
	Path string
	// Parameters.
	Param []string
}

CallExtendParams is parameters of callExtend operation.

type CallExtendRes

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

type CallExtendUnauthorized

type CallExtendUnauthorized struct{}

CallExtendUnauthorized is response for CallExtend operation.

type CallPostExtendBadRequest

type CallPostExtendBadRequest Error

func (*CallPostExtendBadRequest) Decode

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

Decode decodes CallPostExtendBadRequest from json.

func (*CallPostExtendBadRequest) Encode

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

Encode encodes CallPostExtendBadRequest as json.

func (*CallPostExtendBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CallPostExtendBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CallPostExtendForbidden

type CallPostExtendForbidden struct{}

CallPostExtendForbidden is response for CallPostExtend operation.

type CallPostExtendNotFound

type CallPostExtendNotFound Error

func (*CallPostExtendNotFound) Decode

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

Decode decodes CallPostExtendNotFound from json.

func (*CallPostExtendNotFound) Encode

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

Encode encodes CallPostExtendNotFound as json.

func (*CallPostExtendNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CallPostExtendNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CallPostExtendOKTextPlain

type CallPostExtendOKTextPlain struct {
	Data io.Reader
}

func (CallPostExtendOKTextPlain) Read

func (s CallPostExtendOKTextPlain) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type CallPostExtendParams

type CallPostExtendParams struct {
	// Identifier of the file location.
	Path string
	// Identifier of the file location.
	File string
}

CallPostExtendParams is parameters of callPostExtend operation.

type CallPostExtendReq

type CallPostExtendReq struct {
	// Upload data.
	UploadFile OptMultipartFile `json:"uploadFile"`
}

func (*CallPostExtendReq) GetUploadFile

func (s *CallPostExtendReq) GetUploadFile() OptMultipartFile

GetUploadFile returns the value of UploadFile.

func (*CallPostExtendReq) SetUploadFile

func (s *CallPostExtendReq) SetUploadFile(val OptMultipartFile)

SetUploadFile sets the value of UploadFile.

type CallPostExtendRes

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

type CallPostExtendUnauthorized

type CallPostExtendUnauthorized struct{}

CallPostExtendUnauthorized is response for CallPostExtend operation.

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

func (c *Client) Access(ctx context.Context, params AccessParams) (AccessRes, error)

Access invokes access operation.

Retrieve the list of users who are allowed to access data.

GET /admin/access/{role}

func (*Client) AdaptPermission

func (c *Client) AdaptPermission(ctx context.Context, params AdaptPermissionParams) (AdaptPermissionRes, error)

AdaptPermission invokes adaptPermission operation.

Add RBAC role.

PUT /rest/database/{table}/permission

func (*Client) AddAccess

func (c *Client) AddAccess(ctx context.Context, params AddAccessParams) (AddAccessRes, error)

AddAccess invokes addAccess operation.

Insert user in the list of users who are allowed to access data.

POST /admin/access/{role}

func (*Client) AddRBACResource

func (c *Client) AddRBACResource(ctx context.Context, params AddRBACResourceParams) (AddRBACResourceRes, error)

AddRBACResource invokes addRBACResource operation.

Add permission role.

PUT /rest/database/{table}/permission/{resource}/{name}

func (*Client) AddView

func (c *Client) AddView(ctx context.Context, params AddViewParams) (AddViewRes, error)

AddView invokes addView operation.

Add configuration in View repositories.

POST /config/views

func (*Client) BatchParameterQuery

func (c *Client) BatchParameterQuery(ctx context.Context, params BatchParameterQueryParams) (BatchParameterQueryRes, error)

BatchParameterQuery invokes batchParameterQuery operation.

Call a SQL query batch command posted in query.

GET /rest/batch/{table}/{query}

func (*Client) BatchQuery

func (c *Client) BatchQuery(ctx context.Context, request BatchQueryReq, params BatchQueryParams) (BatchQueryRes, error)

BatchQuery invokes batchQuery operation.

Call a SQL query batch command posted in body.

POST /rest/batch/{table}

func (*Client) BatchSelect

func (c *Client) BatchSelect(ctx context.Context, params BatchSelectParams) (BatchSelectRes, error)

BatchSelect invokes batchSelect operation.

Call a SQL query batch command out of the stored query list.

GET /rest/batch/{table}

func (*Client) BrowseList

func (c *Client) BrowseList(ctx context.Context) (BrowseListRes, error)

BrowseList invokes browseList operation.

Retrieves a list of Browseable locations.

GET /rest/file/browse

func (*Client) BrowseLocation

func (c *Client) BrowseLocation(ctx context.Context, params BrowseLocationParams) (BrowseLocationRes, error)

BrowseLocation invokes browseLocation operation.

Retrieves a list of files in the defined location.

GET /rest/file/browse/{path}

func (*Client) CallExtend

func (c *Client) CallExtend(ctx context.Context, params CallExtendParams) (CallExtendRes, error)

CallExtend invokes callExtend operation.

Call plugin extend.

GET /rest/extend/{path}

func (*Client) CallPostExtend

func (c *Client) CallPostExtend(ctx context.Context, request *CallPostExtendReq, params CallPostExtendParams) (CallPostExtendRes, error)

CallPostExtend invokes callPostExtend operation.

Post extend/plugin.

POST /rest/extend/{path}

func (*Client) CreateDirectory

func (c *Client) CreateDirectory(ctx context.Context, params CreateDirectoryParams) (CreateDirectoryRes, error)

CreateDirectory invokes createDirectory operation.

Create a new directory.

PUT /rest/file/{path}

func (*Client) DatabaseOperation

func (c *Client) DatabaseOperation(ctx context.Context, params DatabaseOperationParams) (DatabaseOperationRes, error)

DatabaseOperation invokes databaseOperation operation.

Retrieve the current status of database with the given dbid.

GET /rest/database/{table_operation}

func (*Client) DatabasePostOperations

func (c *Client) DatabasePostOperations(ctx context.Context, params DatabasePostOperationsParams) (DatabasePostOperationsRes, error)

DatabasePostOperations invokes databasePostOperations operation.

Initiate operations on the given dbid.

POST /rest/database/{table_operation}

func (*Client) DelAccess

func (c *Client) DelAccess(ctx context.Context, params DelAccessParams) (DelAccessRes, error)

DelAccess invokes delAccess operation.

Delete user in the list of users who are allowed to access data.

DELETE /admin/access/{role}

func (*Client) DeleteDatabase

func (c *Client) DeleteDatabase(ctx context.Context, params DeleteDatabaseParams) (DeleteDatabaseRes, error)

DeleteDatabase invokes deleteDatabase operation.

Delete the database.

DELETE /rest/database/{table_operation}

func (*Client) DeleteExtend

func (c *Client) DeleteExtend(ctx context.Context, params DeleteExtendParams) (DeleteExtendRes, error)

DeleteExtend invokes deleteExtend operation.

Delete extend/plugin data.

DELETE /rest/extend/{path}

func (*Client) DeleteFileLocation

func (c *Client) DeleteFileLocation(ctx context.Context, params DeleteFileLocationParams) (DeleteFileLocationRes, error)

DeleteFileLocation invokes deleteFileLocation operation.

Delete the file on the given location.

DELETE /rest/file/{path}

func (*Client) DeleteJobResult

func (c *Client) DeleteJobResult(ctx context.Context, params DeleteJobResultParams) (DeleteJobResultRes, error)

DeleteJobResult invokes deleteJobResult operation.

Delete a specific job result.

DELETE /rest/tasks/{jobName}/{jobId}

func (*Client) DeleteRBACResource

func (c *Client) DeleteRBACResource(ctx context.Context, params DeleteRBACResourceParams) (DeleteRBACResourceRes, error)

DeleteRBACResource invokes deleteRBACResource operation.

Delete RBAC role.

DELETE /rest/database/{table}/permission/{resource}/{name}

func (*Client) DeleteRecordsSearched

func (c *Client) DeleteRecordsSearched(ctx context.Context, params DeleteRecordsSearchedParams) (DeleteRecordsSearchedRes, error)

DeleteRecordsSearched invokes deleteRecordsSearched operation.

Delete a record with a given search.

DELETE /rest/view/{table}/{search}

func (*Client) DeleteView

func (c *Client) DeleteView(ctx context.Context, params DeleteViewParams) (DeleteViewRes, error)

DeleteView invokes deleteView operation.

Delete entry in configuration.

DELETE /config/views

func (*Client) DisconnectTCP

func (c *Client) DisconnectTCP(ctx context.Context, params DisconnectTCPParams) (DisconnectTCPRes, error)

DisconnectTCP invokes disconnectTCP operation.

Disconnect connection in the database with the given dbid.

DELETE /rest/database/{table}/connection

func (*Client) DownloadFile

func (c *Client) DownloadFile(ctx context.Context, params DownloadFileParams) (DownloadFileRes, error)

DownloadFile invokes downloadFile operation.

Download a file out of file location.

GET /rest/file/{path}

func (*Client) GetConfig

func (c *Client) GetConfig(ctx context.Context) (GetConfigRes, error)

GetConfig invokes getConfig operation.

Get configuration.

GET /config

func (*Client) GetConnections

func (c *Client) GetConnections(ctx context.Context, params GetConnectionsParams) (GetConnectionsRes, error)

GetConnections invokes getConnections operation.

Retrieve the current TCP connection.

GET /rest/database/{table}/connection

func (*Client) GetDatabaseSessions

func (c *Client) GetDatabaseSessions(ctx context.Context, params GetDatabaseSessionsParams) (GetDatabaseSessionsRes, error)

GetDatabaseSessions invokes getDatabaseSessions operation.

Retrieve a list of user queue entries.

GET /rest/database/{table}/sessions

func (*Client) GetDatabaseStats

func (c *Client) GetDatabaseStats(ctx context.Context, params GetDatabaseStatsParams) (GetDatabaseStatsRes, error)

GetDatabaseStats invokes getDatabaseStats operation.

Retrieve SQL statistics.

GET /rest/database/{table}/stats

func (*Client) GetDatabases

func (c *Client) GetDatabases(ctx context.Context) (GetDatabasesRes, error)

GetDatabases invokes getDatabases operation.

Retrieves a list of databases known by Interface.

GET /rest/database

func (*Client) GetEnvironments

func (c *Client) GetEnvironments(ctx context.Context) (GetEnvironmentsRes, error)

GetEnvironments invokes getEnvironments operation.

Retrieves the list of environments.

GET /rest/env

func (*Client) GetFields

func (c *Client) GetFields(ctx context.Context, params GetFieldsParams) (GetFieldsRes, error)

GetFields invokes getFields operation.

Retrieves all fields of an file.

GET /rest/tables/{table}/fields

func (*Client) GetImage

func (c *Client) GetImage(ctx context.Context, params GetImageParams) (GetImageRes, error)

GetImage invokes getImage operation.

Retrieves a field of a specific ISN of a Map definition.

GET /image/{table}/{field}/{search}

func (*Client) GetJobExecutionResult

func (c *Client) GetJobExecutionResult(ctx context.Context, params GetJobExecutionResultParams) (GetJobExecutionResultRes, error)

GetJobExecutionResult invokes getJobExecutionResult operation.

Retrieves a specific job result.

GET /rest/tasks/results

func (*Client) GetJobFullInfo

func (c *Client) GetJobFullInfo(ctx context.Context, params GetJobFullInfoParams) (GetJobFullInfoRes, error)

GetJobFullInfo invokes getJobFullInfo operation.

Retrieves a full job definition.

GET /rest/tasks/{jobName}

func (*Client) GetJobResult

func (c *Client) GetJobResult(ctx context.Context, params GetJobResultParams) (GetJobResultRes, error)

GetJobResult invokes getJobResult operation.

Delete a specific job result.

GET /rest/tasks/{jobName}/{jobId}

func (*Client) GetJobs

func (c *Client) GetJobs(ctx context.Context, params GetJobsParams) (GetJobsRes, error)

GetJobs invokes getJobs operation.

Retrieves a list of jobs known by the Interface.

GET /rest/tasks

func (*Client) GetJobsConfig

func (c *Client) GetJobsConfig(ctx context.Context) (GetJobsConfigRes, error)

GetJobsConfig invokes getJobsConfig operation.

Read job configuration section.

GET /config/jobs

func (*Client) GetLobByMap

func (c *Client) GetLobByMap(ctx context.Context, params GetLobByMapParams) (GetLobByMapRes, error)

GetLobByMap invokes getLobByMap operation.

Retrieves a lob of a specific ISN of an field in a Map.

GET /binary/{table}/{field}/{search}

func (*Client) GetLoginSession

func (c *Client) GetLoginSession(ctx context.Context) (GetLoginSessionRes, error)

GetLoginSession invokes getLoginSession operation.

Login receiving JWT.

GET /login

func (*Client) GetMapMetadata

func (c *Client) GetMapMetadata(ctx context.Context, params GetMapMetadataParams) (GetMapMetadataRes, error)

GetMapMetadata invokes getMapMetadata operation.

Retrieves metadata of a Map definition.

GET /rest/metadata/view/{table}

func (*Client) GetMapRecordsFields

func (c *Client) GetMapRecordsFields(ctx context.Context, params GetMapRecordsFieldsParams) (GetMapRecordsFieldsRes, error)

GetMapRecordsFields invokes getMapRecordsFields operation.

Retrieves a field of a specific ISN of a Map definition.

GET /rest/view/{table}/{fields}/{search}

func (*Client) GetMaps

func (c *Client) GetMaps(ctx context.Context) (GetMapsRes, error)

GetMaps invokes getMaps operation.

Retrieves a list of available views.

GET /rest/view

func (*Client) GetPermission

func (c *Client) GetPermission(ctx context.Context, params GetPermissionParams) (GetPermissionRes, error)

GetPermission invokes getPermission operation.

List RBAC assignments permission.

GET /rest/database/{table}/permission

func (*Client) GetUserInfo

func (c *Client) GetUserInfo(ctx context.Context) (GetUserInfoRes, error)

GetUserInfo invokes getUserInfo operation.

Retrieves the user information.

GET /rest/user

func (*Client) GetVersion

func (c *Client) GetVersion(ctx context.Context) (GetVersionRes, error)

GetVersion invokes getVersion operation.

Retrieves the current version.

GET /version

func (*Client) GetVideo

func (c *Client) GetVideo(ctx context.Context, params GetVideoParams) (GetVideoRes, error)

GetVideo invokes getVideo operation.

Retrieves a video stream of a specific ISN of a Map definition.

GET /video/{table}/{field}/{search}

func (*Client) GetViews

func (c *Client) GetViews(ctx context.Context) (GetViewsRes, error)

GetViews invokes getViews operation.

Defines the current views.

GET /config/views

func (*Client) InsertMapFileRecords

func (c *Client) InsertMapFileRecords(ctx context.Context, request OptInsertMapFileRecordsReq) (InsertMapFileRecordsRes, error)

InsertMapFileRecords invokes insertMapFileRecords operation.

Store send records into Map definition.

POST /rest/view

func (*Client) InsertRecord

func (c *Client) InsertRecord(ctx context.Context, request OptInsertRecordReq, params InsertRecordParams) (InsertRecordRes, error)

InsertRecord invokes insertRecord operation.

Insert given record.

POST /rest/view/{table}

func (*Client) ListModelling

func (c *Client) ListModelling(ctx context.Context) (ListModellingRes, error)

ListModelling invokes listModelling operation.

Retrieves all tables, views or data representation objects.

GET /rest/map

func (*Client) ListRBACResource

func (c *Client) ListRBACResource(ctx context.Context, params ListRBACResourceParams) (ListRBACResourceRes, error)

ListRBACResource invokes listRBACResource operation.

Add permission role.

GET /rest/database/{table}/permission/{resource}

func (*Client) ListTables

func (c *Client) ListTables(ctx context.Context) (ListTablesRes, error)

ListTables invokes listTables operation.

Retrieves all tables of databases.

GET /rest/tables

func (*Client) LoginSession

func (c *Client) LoginSession(ctx context.Context) (LoginSessionRes, error)

LoginSession invokes loginSession operation.

Login receiving JWT.

PUT /login

func (*Client) LogoutSessionCompat

func (c *Client) LogoutSessionCompat(ctx context.Context) (LogoutSessionCompatRes, error)

LogoutSessionCompat invokes logoutSessionCompat operation.

Logout the session.

PUT /logout

func (*Client) PostDatabase

func (c *Client) PostDatabase(ctx context.Context, request *Database) (PostDatabaseRes, error)

PostDatabase invokes postDatabase operation.

Create a new database, the input need to be JSON. A structure level parameter indicate version to be used.

POST /rest/database

func (*Client) PostJob

func (c *Client) PostJob(ctx context.Context, request PostJobReq) (PostJobRes, error)

PostJob invokes postJob operation.

Create a new Job database.

POST /rest/tasks

func (*Client) PushLoginSession

func (c *Client) PushLoginSession(ctx context.Context) (PushLoginSessionRes, error)

PushLoginSession invokes pushLoginSession operation.

Login receiving JWT.

POST /login

func (*Client) PutDatabaseResource

func (c *Client) PutDatabaseResource(ctx context.Context, params PutDatabaseResourceParams) (PutDatabaseResourceRes, error)

PutDatabaseResource invokes putDatabaseResource operation.

Change resource of the database.

PUT /rest/database/{table_operation}

func (*Client) RemovePermission

func (c *Client) RemovePermission(ctx context.Context, params RemovePermissionParams) (RemovePermissionRes, error)

RemovePermission invokes removePermission operation.

Add RBAC role.

DELETE /rest/database/{table}/permission

func (*Client) RemoveSessionCompat

func (c *Client) RemoveSessionCompat(ctx context.Context) (RemoveSessionCompatRes, error)

RemoveSessionCompat invokes removeSessionCompat operation.

Remove the session.

GET /logoff

func (*Client) SearchModelling

func (c *Client) SearchModelling(ctx context.Context, params SearchModellingParams) (SearchModellingRes, error)

SearchModelling invokes searchModelling operation.

Retrieves all columns, fields of a tables, views or data representation.

GET /rest/map/{path}

func (*Client) SearchRecordsFields

func (c *Client) SearchRecordsFields(ctx context.Context, params SearchRecordsFieldsParams) (SearchRecordsFieldsRes, error)

SearchRecordsFields invokes searchRecordsFields operation.

Query a record with a given SQL query.

GET /rest/view/{table}/{search}

func (*Client) SearchTable

func (c *Client) SearchTable(ctx context.Context, params SearchTableParams) (SearchTableRes, error)

SearchTable invokes searchTable operation.

Retrieves all fields of an file.

GET /rest/tables/{table}/{fields}/{search}

func (*Client) SetConfig

func (c *Client) SetConfig(ctx context.Context, request SetConfigReq) (SetConfigRes, error)

SetConfig invokes setConfig operation.

Store configuration.

PUT /config

func (*Client) SetJobsConfig

func (c *Client) SetJobsConfig(ctx context.Context, request OptJobStore) (SetJobsConfigRes, error)

SetJobsConfig invokes setJobsConfig operation.

Set the ADADATADIR.

PUT /config/jobs

func (*Client) ShutdownServer

func (c *Client) ShutdownServer(ctx context.Context, params ShutdownServerParams) (ShutdownServerRes, error)

ShutdownServer invokes shutdownServer operation.

Init shutdown procedure.

PUT /rest/shutdown/{hash}

func (*Client) StoreConfig

func (c *Client) StoreConfig(ctx context.Context) (StoreConfigRes, error)

StoreConfig invokes storeConfig operation.

Store configuration.

POST /config

func (*Client) TriggerExtend

func (c *Client) TriggerExtend(ctx context.Context, params TriggerExtendParams) (TriggerExtendRes, error)

TriggerExtend invokes triggerExtend operation.

Put extend/plugin request.

PUT /rest/extend/{path}

func (*Client) TriggerJob

func (c *Client) TriggerJob(ctx context.Context, params TriggerJobParams) (TriggerJobRes, error)

TriggerJob invokes triggerJob operation.

Trigger a job.

PUT /rest/tasks/{jobName}

func (*Client) UpdateLobByMap

func (c *Client) UpdateLobByMap(ctx context.Context, request UpdateLobByMapReq, params UpdateLobByMapParams) (UpdateLobByMapRes, error)

UpdateLobByMap invokes updateLobByMap operation.

Set a lob at a specific ISN of an field in a Map.

PUT /binary/{table}/{field}/{search}

func (*Client) UpdateRecordsByFields

UpdateRecordsByFields invokes updateRecordsByFields operation.

Update a record dependent on field(s) of a specific table.

PUT /rest/view/{table}/{search}

func (*Client) UploadFile

func (c *Client) UploadFile(ctx context.Context, request *UploadFileReq, params UploadFileParams) (UploadFileRes, error)

UploadFile invokes uploadFile operation.

Upload a new file to the given location.

POST /rest/file/{path}

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 ClusterConfig

type ClusterConfig struct {
	Nodes []ClusterConfigNodesItem `json:"Nodes"`
}

Ref: #/components/schemas/ClusterConfig

func (*ClusterConfig) Decode

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

Decode decodes ClusterConfig from json.

func (*ClusterConfig) Encode

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

Encode implements json.Marshaler.

func (*ClusterConfig) GetNodes

func (s *ClusterConfig) GetNodes() []ClusterConfigNodesItem

GetNodes returns the value of Nodes.

func (*ClusterConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ClusterConfig) SetNodes

func (s *ClusterConfig) SetNodes(val []ClusterConfigNodesItem)

SetNodes sets the value of Nodes.

func (*ClusterConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ClusterConfigNodesItem

type ClusterConfigNodesItem struct {
	Name  OptString `json:"Name"`
	Web   OptString `json:"Web"`
	Group OptString `json:"Group"`
}

func (*ClusterConfigNodesItem) Decode

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

Decode decodes ClusterConfigNodesItem from json.

func (*ClusterConfigNodesItem) Encode

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

Encode implements json.Marshaler.

func (*ClusterConfigNodesItem) GetGroup

func (s *ClusterConfigNodesItem) GetGroup() OptString

GetGroup returns the value of Group.

func (*ClusterConfigNodesItem) GetName

func (s *ClusterConfigNodesItem) GetName() OptString

GetName returns the value of Name.

func (*ClusterConfigNodesItem) GetWeb

func (s *ClusterConfigNodesItem) GetWeb() OptString

GetWeb returns the value of Web.

func (*ClusterConfigNodesItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ClusterConfigNodesItem) SetGroup

func (s *ClusterConfigNodesItem) SetGroup(val OptString)

SetGroup sets the value of Group.

func (*ClusterConfigNodesItem) SetName

func (s *ClusterConfigNodesItem) SetName(val OptString)

SetName sets the value of Name.

func (*ClusterConfigNodesItem) SetWeb

func (s *ClusterConfigNodesItem) SetWeb(val OptString)

SetWeb sets the value of Web.

func (*ClusterConfigNodesItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Config

type Config struct {
	StructureLevel OptInt                  `json:"StructureLevel"`
	Version        OptString               `json:"Version"`
	Server         OptConfigServer         `json:"Server"`
	JobStore       OptJobStore             `json:"JobStore"`
	Cluster        OptClusterConfig        `json:"Cluster"`
	Mapping        OptConfigMapping        `json:"Mapping"`
	DatabaseAccess OptConfigDatabaseAccess `json:"DatabaseAccess"`
	Module         OptConfigModule         `json:"Module"`
	Metrics        OptConfigMetrics        `json:"Metrics"`
}

Ref: #/components/schemas/Config

func (*Config) Decode

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

Decode decodes Config from json.

func (*Config) Encode

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

Encode implements json.Marshaler.

func (*Config) GetCluster

func (s *Config) GetCluster() OptClusterConfig

GetCluster returns the value of Cluster.

func (*Config) GetDatabaseAccess

func (s *Config) GetDatabaseAccess() OptConfigDatabaseAccess

GetDatabaseAccess returns the value of DatabaseAccess.

func (*Config) GetJobStore

func (s *Config) GetJobStore() OptJobStore

GetJobStore returns the value of JobStore.

func (*Config) GetMapping

func (s *Config) GetMapping() OptConfigMapping

GetMapping returns the value of Mapping.

func (*Config) GetMetrics

func (s *Config) GetMetrics() OptConfigMetrics

GetMetrics returns the value of Metrics.

func (*Config) GetModule

func (s *Config) GetModule() OptConfigModule

GetModule returns the value of Module.

func (*Config) GetServer

func (s *Config) GetServer() OptConfigServer

GetServer returns the value of Server.

func (*Config) GetStructureLevel

func (s *Config) GetStructureLevel() OptInt

GetStructureLevel returns the value of StructureLevel.

func (*Config) GetVersion

func (s *Config) GetVersion() OptString

GetVersion returns the value of Version.

func (*Config) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Config) SetCluster

func (s *Config) SetCluster(val OptClusterConfig)

SetCluster sets the value of Cluster.

func (*Config) SetDatabaseAccess

func (s *Config) SetDatabaseAccess(val OptConfigDatabaseAccess)

SetDatabaseAccess sets the value of DatabaseAccess.

func (*Config) SetJobStore

func (s *Config) SetJobStore(val OptJobStore)

SetJobStore sets the value of JobStore.

func (*Config) SetMapping

func (s *Config) SetMapping(val OptConfigMapping)

SetMapping sets the value of Mapping.

func (*Config) SetMetrics

func (s *Config) SetMetrics(val OptConfigMetrics)

SetMetrics sets the value of Metrics.

func (*Config) SetModule

func (s *Config) SetModule(val OptConfigModule)

SetModule sets the value of Module.

func (*Config) SetServer

func (s *Config) SetServer(val OptConfigServer)

SetServer sets the value of Server.

func (*Config) SetStructureLevel

func (s *Config) SetStructureLevel(val OptInt)

SetStructureLevel sets the value of StructureLevel.

func (*Config) SetVersion

func (s *Config) SetVersion(val OptString)

SetVersion sets the value of Version.

func (*Config) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Config) Validate

func (s *Config) Validate() error

type ConfigDatabaseAccess

type ConfigDatabaseAccess struct {
	Global   OptBool          `json:"Global"`
	Database []DatabaseConfig `json:"Database"`
}

func (*ConfigDatabaseAccess) Decode

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

Decode decodes ConfigDatabaseAccess from json.

func (*ConfigDatabaseAccess) Encode

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

Encode implements json.Marshaler.

func (*ConfigDatabaseAccess) GetDatabase

func (s *ConfigDatabaseAccess) GetDatabase() []DatabaseConfig

GetDatabase returns the value of Database.

func (*ConfigDatabaseAccess) GetGlobal

func (s *ConfigDatabaseAccess) GetGlobal() OptBool

GetGlobal returns the value of Global.

func (*ConfigDatabaseAccess) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigDatabaseAccess) SetDatabase

func (s *ConfigDatabaseAccess) SetDatabase(val []DatabaseConfig)

SetDatabase sets the value of Database.

func (*ConfigDatabaseAccess) SetGlobal

func (s *ConfigDatabaseAccess) SetGlobal(val OptBool)

SetGlobal sets the value of Global.

func (*ConfigDatabaseAccess) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigDatabaseAccess) Validate

func (s *ConfigDatabaseAccess) Validate() error

type ConfigMapping

type ConfigMapping struct {
	Directory OptString        `json:"Directory"`
	Database  []DatabaseConfig `json:"Database"`
}

func (*ConfigMapping) Decode

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

Decode decodes ConfigMapping from json.

func (*ConfigMapping) Encode

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

Encode implements json.Marshaler.

func (*ConfigMapping) GetDatabase

func (s *ConfigMapping) GetDatabase() []DatabaseConfig

GetDatabase returns the value of Database.

func (*ConfigMapping) GetDirectory

func (s *ConfigMapping) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*ConfigMapping) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigMapping) SetDatabase

func (s *ConfigMapping) SetDatabase(val []DatabaseConfig)

SetDatabase sets the value of Database.

func (*ConfigMapping) SetDirectory

func (s *ConfigMapping) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*ConfigMapping) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigMapping) Validate

func (s *ConfigMapping) Validate() error

type ConfigMetrics

type ConfigMetrics struct {
	Database []DatabaseConfig `json:"Database"`
}

func (*ConfigMetrics) Decode

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

Decode decodes ConfigMetrics from json.

func (*ConfigMetrics) Encode

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

Encode implements json.Marshaler.

func (*ConfigMetrics) GetDatabase

func (s *ConfigMetrics) GetDatabase() []DatabaseConfig

GetDatabase returns the value of Database.

func (*ConfigMetrics) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigMetrics) SetDatabase

func (s *ConfigMetrics) SetDatabase(val []DatabaseConfig)

SetDatabase sets the value of Database.

func (*ConfigMetrics) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigMetrics) Validate

func (s *ConfigMetrics) Validate() error

type ConfigModule

type ConfigModule struct {
	Data         OptString                      `json:"Data"`
	Installation []ConfigModuleInstallationItem `json:"Installation"`
	Directories  []ConfigModuleDirectoriesItem  `json:"Directories"`
}

func (*ConfigModule) Decode

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

Decode decodes ConfigModule from json.

func (*ConfigModule) Encode

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

Encode implements json.Marshaler.

func (*ConfigModule) GetData

func (s *ConfigModule) GetData() OptString

GetData returns the value of Data.

func (*ConfigModule) GetDirectories

func (s *ConfigModule) GetDirectories() []ConfigModuleDirectoriesItem

GetDirectories returns the value of Directories.

func (*ConfigModule) GetInstallation

func (s *ConfigModule) GetInstallation() []ConfigModuleInstallationItem

GetInstallation returns the value of Installation.

func (*ConfigModule) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigModule) SetData

func (s *ConfigModule) SetData(val OptString)

SetData sets the value of Data.

func (*ConfigModule) SetDirectories

func (s *ConfigModule) SetDirectories(val []ConfigModuleDirectoriesItem)

SetDirectories sets the value of Directories.

func (*ConfigModule) SetInstallation

func (s *ConfigModule) SetInstallation(val []ConfigModuleInstallationItem)

SetInstallation sets the value of Installation.

func (*ConfigModule) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigModuleDirectoriesItem

type ConfigModuleDirectoriesItem struct {
	Name     OptString `json:"name"`
	Location OptString `json:"location"`
}

func (*ConfigModuleDirectoriesItem) Decode

Decode decodes ConfigModuleDirectoriesItem from json.

func (*ConfigModuleDirectoriesItem) Encode

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

Encode implements json.Marshaler.

func (*ConfigModuleDirectoriesItem) GetLocation

func (s *ConfigModuleDirectoriesItem) GetLocation() OptString

GetLocation returns the value of Location.

func (*ConfigModuleDirectoriesItem) GetName

GetName returns the value of Name.

func (*ConfigModuleDirectoriesItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigModuleDirectoriesItem) SetLocation

func (s *ConfigModuleDirectoriesItem) SetLocation(val OptString)

SetLocation sets the value of Location.

func (*ConfigModuleDirectoriesItem) SetName

func (s *ConfigModuleDirectoriesItem) SetName(val OptString)

SetName sets the value of Name.

func (*ConfigModuleDirectoriesItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigModuleInstallationItem

type ConfigModuleInstallationItem struct {
	Location       OptString `json:"Location"`
	Version        OptString `json:"Version"`
	StructureLevel OptInt    `json:"StructureLevel"`
	Active         OptBool   `json:"Active"`
}

func (*ConfigModuleInstallationItem) Decode

Decode decodes ConfigModuleInstallationItem from json.

func (*ConfigModuleInstallationItem) Encode

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

Encode implements json.Marshaler.

func (*ConfigModuleInstallationItem) GetActive

func (s *ConfigModuleInstallationItem) GetActive() OptBool

GetActive returns the value of Active.

func (*ConfigModuleInstallationItem) GetLocation

func (s *ConfigModuleInstallationItem) GetLocation() OptString

GetLocation returns the value of Location.

func (*ConfigModuleInstallationItem) GetStructureLevel

func (s *ConfigModuleInstallationItem) GetStructureLevel() OptInt

GetStructureLevel returns the value of StructureLevel.

func (*ConfigModuleInstallationItem) GetVersion

func (s *ConfigModuleInstallationItem) GetVersion() OptString

GetVersion returns the value of Version.

func (*ConfigModuleInstallationItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigModuleInstallationItem) SetActive

func (s *ConfigModuleInstallationItem) SetActive(val OptBool)

SetActive sets the value of Active.

func (*ConfigModuleInstallationItem) SetLocation

func (s *ConfigModuleInstallationItem) SetLocation(val OptString)

SetLocation sets the value of Location.

func (*ConfigModuleInstallationItem) SetStructureLevel

func (s *ConfigModuleInstallationItem) SetStructureLevel(val OptInt)

SetStructureLevel sets the value of StructureLevel.

func (*ConfigModuleInstallationItem) SetVersion

func (s *ConfigModuleInstallationItem) SetVersion(val OptString)

SetVersion sets the value of Version.

func (*ConfigModuleInstallationItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigServer

type ConfigServer struct {
	Service     []ConfigServerServiceItem  `json:"Service"`
	LogLocation OptConfigServerLogLocation `json:"LogLocation"`
	Content     OptString                  `json:"Content"`
}

func (*ConfigServer) Decode

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

Decode decodes ConfigServer from json.

func (*ConfigServer) Encode

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

Encode implements json.Marshaler.

func (*ConfigServer) GetContent

func (s *ConfigServer) GetContent() OptString

GetContent returns the value of Content.

func (*ConfigServer) GetLogLocation

func (s *ConfigServer) GetLogLocation() OptConfigServerLogLocation

GetLogLocation returns the value of LogLocation.

func (*ConfigServer) GetService

func (s *ConfigServer) GetService() []ConfigServerServiceItem

GetService returns the value of Service.

func (*ConfigServer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigServer) SetContent

func (s *ConfigServer) SetContent(val OptString)

SetContent sets the value of Content.

func (*ConfigServer) SetLogLocation

func (s *ConfigServer) SetLogLocation(val OptConfigServerLogLocation)

SetLogLocation sets the value of LogLocation.

func (*ConfigServer) SetService

func (s *ConfigServer) SetService(val []ConfigServerServiceItem)

SetService sets the value of Service.

func (*ConfigServer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigServer) Validate

func (s *ConfigServer) Validate() error

type ConfigServerLogLocation

type ConfigServerLogLocation struct {
	Directory OptString `json:"directory"`
	Level     OptString `json:"level"`
}

func (*ConfigServerLogLocation) Decode

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

Decode decodes ConfigServerLogLocation from json.

func (*ConfigServerLogLocation) Encode

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

Encode implements json.Marshaler.

func (*ConfigServerLogLocation) GetDirectory

func (s *ConfigServerLogLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*ConfigServerLogLocation) GetLevel

func (s *ConfigServerLogLocation) GetLevel() OptString

GetLevel returns the value of Level.

func (*ConfigServerLogLocation) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigServerLogLocation) SetDirectory

func (s *ConfigServerLogLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*ConfigServerLogLocation) SetLevel

func (s *ConfigServerLogLocation) SetLevel(val OptString)

SetLevel sets the value of Level.

func (*ConfigServerLogLocation) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigServerServiceItem

type ConfigServerServiceItem struct {
	Port OptFloat64 `json:"port"`
	Type OptString  `json:"type"`
}

func (*ConfigServerServiceItem) Decode

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

Decode decodes ConfigServerServiceItem from json.

func (*ConfigServerServiceItem) Encode

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

Encode implements json.Marshaler.

func (*ConfigServerServiceItem) GetPort

func (s *ConfigServerServiceItem) GetPort() OptFloat64

GetPort returns the value of Port.

func (*ConfigServerServiceItem) GetType

func (s *ConfigServerServiceItem) GetType() OptString

GetType returns the value of Type.

func (*ConfigServerServiceItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigServerServiceItem) SetPort

func (s *ConfigServerServiceItem) SetPort(val OptFloat64)

SetPort sets the value of Port.

func (*ConfigServerServiceItem) SetType

func (s *ConfigServerServiceItem) SetType(val OptString)

SetType sets the value of Type.

func (*ConfigServerServiceItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigServerServiceItem) Validate

func (s *ConfigServerServiceItem) Validate() error

type CreateDirectoryBadRequest

type CreateDirectoryBadRequest Error

func (*CreateDirectoryBadRequest) Decode

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

Decode decodes CreateDirectoryBadRequest from json.

func (*CreateDirectoryBadRequest) Encode

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

Encode encodes CreateDirectoryBadRequest as json.

func (*CreateDirectoryBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDirectoryBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateDirectoryForbidden

type CreateDirectoryForbidden struct{}

CreateDirectoryForbidden is response for CreateDirectory operation.

type CreateDirectoryNotFound

type CreateDirectoryNotFound Error

func (*CreateDirectoryNotFound) Decode

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

Decode decodes CreateDirectoryNotFound from json.

func (*CreateDirectoryNotFound) Encode

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

Encode encodes CreateDirectoryNotFound as json.

func (*CreateDirectoryNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDirectoryNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateDirectoryParams

type CreateDirectoryParams struct {
	// Identifier of the file location.
	Path string
}

CreateDirectoryParams is parameters of createDirectory operation.

type CreateDirectoryRes

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

type CreateDirectoryUnauthorized

type CreateDirectoryUnauthorized struct{}

CreateDirectoryUnauthorized is response for CreateDirectory operation.

type Database

type Database struct{}

Ref: #/components/schemas/Database

func (*Database) Decode

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

Decode decodes Database from json.

func (*Database) Encode

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

Encode implements json.Marshaler.

func (*Database) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Database) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DatabaseConfig

type DatabaseConfig struct {
	URL     OptString  `json:"url"`
	File    OptFloat64 `json:"file"`
	Changed OptBool    `json:"changed"`
	Deleted OptBool    `json:"deleted"`
}

Ref: #/components/schemas/DatabaseConfig

func (*DatabaseConfig) Decode

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

Decode decodes DatabaseConfig from json.

func (*DatabaseConfig) Encode

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

Encode implements json.Marshaler.

func (*DatabaseConfig) GetChanged

func (s *DatabaseConfig) GetChanged() OptBool

GetChanged returns the value of Changed.

func (*DatabaseConfig) GetDeleted

func (s *DatabaseConfig) GetDeleted() OptBool

GetDeleted returns the value of Deleted.

func (*DatabaseConfig) GetFile

func (s *DatabaseConfig) GetFile() OptFloat64

GetFile returns the value of File.

func (*DatabaseConfig) GetURL

func (s *DatabaseConfig) GetURL() OptString

GetURL returns the value of URL.

func (*DatabaseConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DatabaseConfig) SetChanged

func (s *DatabaseConfig) SetChanged(val OptBool)

SetChanged sets the value of Changed.

func (*DatabaseConfig) SetDeleted

func (s *DatabaseConfig) SetDeleted(val OptBool)

SetDeleted sets the value of Deleted.

func (*DatabaseConfig) SetFile

func (s *DatabaseConfig) SetFile(val OptFloat64)

SetFile sets the value of File.

func (*DatabaseConfig) SetURL

func (s *DatabaseConfig) SetURL(val OptString)

SetURL sets the value of URL.

func (*DatabaseConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DatabaseConfig) Validate

func (s *DatabaseConfig) Validate() error

type DatabaseInformation

type DatabaseInformation struct {
	Active         OptBool   `json:"Active"`
	Dbid           OptInt    `json:"Dbid"`
	Name           OptString `json:"Name"`
	ServiceVersion OptString `json:"ServiceVersion"`
	StructureLevel OptInt    `json:"StructureLevel"`
	Version        OptString `json:"Version"`
	Location       OptString `json:"Location"`
}

Ref: #/components/schemas/DatabaseInformation

func (*DatabaseInformation) Decode

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

Decode decodes DatabaseInformation from json.

func (*DatabaseInformation) Encode

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

Encode implements json.Marshaler.

func (*DatabaseInformation) GetActive

func (s *DatabaseInformation) GetActive() OptBool

GetActive returns the value of Active.

func (*DatabaseInformation) GetDbid

func (s *DatabaseInformation) GetDbid() OptInt

GetDbid returns the value of Dbid.

func (*DatabaseInformation) GetLocation

func (s *DatabaseInformation) GetLocation() OptString

GetLocation returns the value of Location.

func (*DatabaseInformation) GetName

func (s *DatabaseInformation) GetName() OptString

GetName returns the value of Name.

func (*DatabaseInformation) GetServiceVersion

func (s *DatabaseInformation) GetServiceVersion() OptString

GetServiceVersion returns the value of ServiceVersion.

func (*DatabaseInformation) GetStructureLevel

func (s *DatabaseInformation) GetStructureLevel() OptInt

GetStructureLevel returns the value of StructureLevel.

func (*DatabaseInformation) GetVersion

func (s *DatabaseInformation) GetVersion() OptString

GetVersion returns the value of Version.

func (*DatabaseInformation) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DatabaseInformation) SetActive

func (s *DatabaseInformation) SetActive(val OptBool)

SetActive sets the value of Active.

func (*DatabaseInformation) SetDbid

func (s *DatabaseInformation) SetDbid(val OptInt)

SetDbid sets the value of Dbid.

func (*DatabaseInformation) SetLocation

func (s *DatabaseInformation) SetLocation(val OptString)

SetLocation sets the value of Location.

func (*DatabaseInformation) SetName

func (s *DatabaseInformation) SetName(val OptString)

SetName sets the value of Name.

func (*DatabaseInformation) SetServiceVersion

func (s *DatabaseInformation) SetServiceVersion(val OptString)

SetServiceVersion sets the value of ServiceVersion.

func (*DatabaseInformation) SetStructureLevel

func (s *DatabaseInformation) SetStructureLevel(val OptInt)

SetStructureLevel sets the value of StructureLevel.

func (*DatabaseInformation) SetVersion

func (s *DatabaseInformation) SetVersion(val OptString)

SetVersion sets the value of Version.

func (*DatabaseInformation) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DatabaseOperationForbidden

type DatabaseOperationForbidden struct{}

DatabaseOperationForbidden is response for DatabaseOperation operation.

type DatabaseOperationParams

type DatabaseOperationParams struct {
	// Database ID optional with operation append with : like 123:shutdown Possible operations are -
	// cancel - shutdown - abort - start.
	TableOperation string
}

DatabaseOperationParams is parameters of databaseOperation operation.

type DatabaseOperationRes

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

type DatabaseOperationUnauthorized

type DatabaseOperationUnauthorized struct{}

DatabaseOperationUnauthorized is response for DatabaseOperation operation.

type DatabasePostOperationsForbidden

type DatabasePostOperationsForbidden struct{}

DatabasePostOperationsForbidden is response for DatabasePostOperations operation.

type DatabasePostOperationsParams

type DatabasePostOperationsParams struct {
	// Database ID optional with operation append with : like 123:shutdown Possible operations are -
	// cancel - shutdown - abort - start.
	TableOperation string
	// Only used together journal.
	Etsync OptBool
}

DatabasePostOperationsParams is parameters of databasePostOperations operation.

type DatabasePostOperationsRes

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

type DatabasePostOperationsUnauthorized

type DatabasePostOperationsUnauthorized struct{}

DatabasePostOperationsUnauthorized is response for DatabasePostOperations operation.

type DatabaseStatus

type DatabaseStatus struct {
	Database OptDatabaseStatusDatabase `json:"Database"`
}

Ref: #/components/schemas/DatabaseStatus

func (*DatabaseStatus) Decode

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

Decode decodes DatabaseStatus from json.

func (*DatabaseStatus) Encode

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

Encode implements json.Marshaler.

func (*DatabaseStatus) GetDatabase

func (s *DatabaseStatus) GetDatabase() OptDatabaseStatusDatabase

GetDatabase returns the value of Database.

func (*DatabaseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DatabaseStatus) SetDatabase

func (s *DatabaseStatus) SetDatabase(val OptDatabaseStatusDatabase)

SetDatabase sets the value of Database.

func (*DatabaseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DatabaseStatusDatabase

type DatabaseStatusDatabase struct {
	Dbid   OptString `json:"Dbid"`
	Status OptString `json:"Status"`
}

func (*DatabaseStatusDatabase) Decode

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

Decode decodes DatabaseStatusDatabase from json.

func (*DatabaseStatusDatabase) Encode

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

Encode implements json.Marshaler.

func (*DatabaseStatusDatabase) GetDbid

func (s *DatabaseStatusDatabase) GetDbid() OptString

GetDbid returns the value of Dbid.

func (*DatabaseStatusDatabase) GetStatus

func (s *DatabaseStatusDatabase) GetStatus() OptString

GetStatus returns the value of Status.

func (*DatabaseStatusDatabase) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DatabaseStatusDatabase) SetDbid

func (s *DatabaseStatusDatabase) SetDbid(val OptString)

SetDbid sets the value of Dbid.

func (*DatabaseStatusDatabase) SetStatus

func (s *DatabaseStatusDatabase) SetStatus(val OptString)

SetStatus sets the value of Status.

func (*DatabaseStatusDatabase) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Databases

type Databases struct {
	Database []DatabaseInformation `json:"Database"`
}

Database entry in database list. Ref: #/components/schemas/Databases

func (*Databases) Decode

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

Decode decodes Databases from json.

func (*Databases) Encode

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

Encode implements json.Marshaler.

func (*Databases) GetDatabase

func (s *Databases) GetDatabase() []DatabaseInformation

GetDatabase returns the value of Database.

func (*Databases) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Databases) SetDatabase

func (s *Databases) SetDatabase(val []DatabaseInformation)

SetDatabase sets the value of Database.

func (*Databases) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DelAccessBadRequest

type DelAccessBadRequest Error

func (*DelAccessBadRequest) Decode

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

Decode decodes DelAccessBadRequest from json.

func (*DelAccessBadRequest) Encode

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

Encode encodes DelAccessBadRequest as json.

func (*DelAccessBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DelAccessBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DelAccessForbidden

type DelAccessForbidden struct{}

DelAccessForbidden is response for DelAccess operation.

type DelAccessNotFound

type DelAccessNotFound Error

func (*DelAccessNotFound) Decode

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

Decode decodes DelAccessNotFound from json.

func (*DelAccessNotFound) Encode

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

Encode encodes DelAccessNotFound as json.

func (*DelAccessNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DelAccessNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DelAccessOK

type DelAccessOK struct{}

DelAccessOK is response for DelAccess operation.

type DelAccessParams

type DelAccessParams struct {
	// Access role information for users or administrators.
	Role DelAccessRole
	// User to be deleted.
	User string
}

DelAccessParams is parameters of delAccess operation.

type DelAccessRes

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

type DelAccessRole

type DelAccessRole string
const (
	DelAccessRole_User          DelAccessRole = "User"
	DelAccessRole_user          DelAccessRole = "user"
	DelAccessRole_USER          DelAccessRole = "USER"
	DelAccessRole_Administrator DelAccessRole = "Administrator"
	DelAccessRole_administrator DelAccessRole = "administrator"
	DelAccessRole_ADMINISTRATOR DelAccessRole = "ADMINISTRATOR"
)

func (DelAccessRole) AllValues

func (DelAccessRole) AllValues() []DelAccessRole

AllValues returns all DelAccessRole values.

func (DelAccessRole) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DelAccessRole) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DelAccessRole) Validate

func (s DelAccessRole) Validate() error

type DelAccessUnauthorized

type DelAccessUnauthorized struct{}

DelAccessUnauthorized is response for DelAccess operation.

type DeleteDatabaseForbidden

type DeleteDatabaseForbidden struct{}

DeleteDatabaseForbidden is response for DeleteDatabase operation.

type DeleteDatabaseParams

type DeleteDatabaseParams struct {
	// Database ID.
	TableOperation int
}

DeleteDatabaseParams is parameters of deleteDatabase operation.

type DeleteDatabaseRes

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

type DeleteDatabaseUnauthorized

type DeleteDatabaseUnauthorized struct{}

DeleteDatabaseUnauthorized is response for DeleteDatabase operation.

type DeleteExtendBadRequest

type DeleteExtendBadRequest Error

func (*DeleteExtendBadRequest) Decode

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

Decode decodes DeleteExtendBadRequest from json.

func (*DeleteExtendBadRequest) Encode

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

Encode encodes DeleteExtendBadRequest as json.

func (*DeleteExtendBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteExtendBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteExtendForbidden

type DeleteExtendForbidden struct{}

DeleteExtendForbidden is response for DeleteExtend operation.

type DeleteExtendNotFound

type DeleteExtendNotFound Error

func (*DeleteExtendNotFound) Decode

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

Decode decodes DeleteExtendNotFound from json.

func (*DeleteExtendNotFound) Encode

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

Encode encodes DeleteExtendNotFound as json.

func (*DeleteExtendNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteExtendNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteExtendParams

type DeleteExtendParams struct {
	// Identifier of the file location.
	Path string
	// Identifier of the file location.
	File string
}

DeleteExtendParams is parameters of deleteExtend operation.

type DeleteExtendRes

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

type DeleteExtendUnauthorized

type DeleteExtendUnauthorized struct{}

DeleteExtendUnauthorized is response for DeleteExtend operation.

type DeleteFileLocationBadRequest

type DeleteFileLocationBadRequest Error

func (*DeleteFileLocationBadRequest) Decode

Decode decodes DeleteFileLocationBadRequest from json.

func (*DeleteFileLocationBadRequest) Encode

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

Encode encodes DeleteFileLocationBadRequest as json.

func (*DeleteFileLocationBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteFileLocationBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteFileLocationForbidden

type DeleteFileLocationForbidden struct{}

DeleteFileLocationForbidden is response for DeleteFileLocation operation.

type DeleteFileLocationNotFound

type DeleteFileLocationNotFound Error

func (*DeleteFileLocationNotFound) Decode

Decode decodes DeleteFileLocationNotFound from json.

func (*DeleteFileLocationNotFound) Encode

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

Encode encodes DeleteFileLocationNotFound as json.

func (*DeleteFileLocationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteFileLocationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteFileLocationParams

type DeleteFileLocationParams struct {
	// Identifier of the file location.
	Path string
	// Identifier of the file location.
	File string
}

DeleteFileLocationParams is parameters of deleteFileLocation operation.

type DeleteFileLocationRes

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

type DeleteFileLocationUnauthorized

type DeleteFileLocationUnauthorized struct{}

DeleteFileLocationUnauthorized is response for DeleteFileLocation operation.

type DeleteJobResultBadRequest

type DeleteJobResultBadRequest Error

func (*DeleteJobResultBadRequest) Decode

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

Decode decodes DeleteJobResultBadRequest from json.

func (*DeleteJobResultBadRequest) Encode

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

Encode encodes DeleteJobResultBadRequest as json.

func (*DeleteJobResultBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteJobResultBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteJobResultForbidden

type DeleteJobResultForbidden struct{}

DeleteJobResultForbidden is response for DeleteJobResult operation.

type DeleteJobResultNotFound

type DeleteJobResultNotFound Error

func (*DeleteJobResultNotFound) Decode

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

Decode decodes DeleteJobResultNotFound from json.

func (*DeleteJobResultNotFound) Encode

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

Encode encodes DeleteJobResultNotFound as json.

func (*DeleteJobResultNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteJobResultNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteJobResultParams

type DeleteJobResultParams struct {
	// Job name to be requested.
	JobName string
	// Job id of execution result to be requested.
	JobId string
}

DeleteJobResultParams is parameters of deleteJobResult operation.

type DeleteJobResultRes

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

type DeleteJobResultUnauthorized

type DeleteJobResultUnauthorized struct{}

DeleteJobResultUnauthorized is response for DeleteJobResult operation.

type DeleteRBACResourceForbidden

type DeleteRBACResourceForbidden struct{}

DeleteRBACResourceForbidden is response for DeleteRBACResource operation.

type DeleteRBACResourceParams

type DeleteRBACResourceParams struct {
	// SQL table.
	Table string
	// RBAC type.
	Resource DeleteRBACResourceResource
	// Resource name.
	Name string
}

DeleteRBACResourceParams is parameters of deleteRBACResource operation.

type DeleteRBACResourceRes

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

type DeleteRBACResourceResource

type DeleteRBACResourceResource string
const (
	DeleteRBACResourceResource_Role      DeleteRBACResourceResource = "Role"
	DeleteRBACResourceResource_role      DeleteRBACResourceResource = "role"
	DeleteRBACResourceResource_ROLE      DeleteRBACResourceResource = "ROLE"
	DeleteRBACResourceResource_Object    DeleteRBACResourceResource = "Object"
	DeleteRBACResourceResource_object    DeleteRBACResourceResource = "object"
	DeleteRBACResourceResource_OBJECT    DeleteRBACResourceResource = "OBJECT"
	DeleteRBACResourceResource_User      DeleteRBACResourceResource = "User"
	DeleteRBACResourceResource_user      DeleteRBACResourceResource = "user"
	DeleteRBACResourceResource_USER      DeleteRBACResourceResource = "USER"
	DeleteRBACResourceResource_Operation DeleteRBACResourceResource = "Operation"
	DeleteRBACResourceResource_operation DeleteRBACResourceResource = "operation"
	DeleteRBACResourceResource_OPERATION DeleteRBACResourceResource = "OPERATION"
)

func (DeleteRBACResourceResource) AllValues

AllValues returns all DeleteRBACResourceResource values.

func (DeleteRBACResourceResource) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DeleteRBACResourceResource) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DeleteRBACResourceResource) Validate

func (s DeleteRBACResourceResource) Validate() error

type DeleteRBACResourceUnauthorized

type DeleteRBACResourceUnauthorized struct{}

DeleteRBACResourceUnauthorized is response for DeleteRBACResource operation.

type DeleteRecordsSearchedForbidden

type DeleteRecordsSearchedForbidden struct{}

DeleteRecordsSearchedForbidden is response for DeleteRecordsSearched operation.

type DeleteRecordsSearchedParams

type DeleteRecordsSearchedParams struct {
	// SQL table.
	Table string
	// Search.
	Search string
	// Start offset where the read will start from.
	Start OptFloat64
	// Maximal number of records retrieved.
	Limit OptFloat64
	// Sort criterium.
	SortedBy OptString
	// Search criterium.
	Sqlsearch OptString
	// Return result in compact structure.
	Compact OptBool
	// Remove database group tree entries in result records.
	Flatten OptBool
	// Read a descriptor read with the given field entry.
	Descriptor OptBool
	// Order by criterias.
	Orderby OptString
	// Use XML notation namespace.
	Xmlnotation OptBool
}

DeleteRecordsSearchedParams is parameters of deleteRecordsSearched operation.

type DeleteRecordsSearchedRes

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

type DeleteRecordsSearchedUnauthorized

type DeleteRecordsSearchedUnauthorized struct{}

DeleteRecordsSearchedUnauthorized is response for DeleteRecordsSearched operation.

type DeleteViewForbidden

type DeleteViewForbidden struct{}

DeleteViewForbidden is response for DeleteView operation.

type DeleteViewOK

type DeleteViewOK struct{}

DeleteViewOK is response for DeleteView operation.

type DeleteViewParams

type DeleteViewParams struct {
	// Database URL.
	URL string
	// Database file number.
	File int
}

DeleteViewParams is parameters of deleteView operation.

type DeleteViewRes

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

type DeleteViewUnauthorized

type DeleteViewUnauthorized struct{}

DeleteViewUnauthorized is response for DeleteView operation.

type Directories

type Directories struct {
	Directories []Directory `json:"Directories"`
	System      OptString   `json:"system"`
}

Ref: #/components/schemas/Directories

func (*Directories) Decode

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

Decode decodes Directories from json.

func (*Directories) Encode

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

Encode implements json.Marshaler.

func (*Directories) GetDirectories

func (s *Directories) GetDirectories() []Directory

GetDirectories returns the value of Directories.

func (*Directories) GetSystem

func (s *Directories) GetSystem() OptString

GetSystem returns the value of System.

func (*Directories) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Directories) SetDirectories

func (s *Directories) SetDirectories(val []Directory)

SetDirectories sets the value of Directories.

func (*Directories) SetSystem

func (s *Directories) SetSystem(val OptString)

SetSystem sets the value of System.

func (*Directories) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Directory

type Directory struct {
	Location OptString `json:"Location"`
	Name     OptString `json:"Name"`
}

Ref: #/components/schemas/Directory

func (*Directory) Decode

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

Decode decodes Directory from json.

func (*Directory) Encode

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

Encode implements json.Marshaler.

func (*Directory) GetLocation

func (s *Directory) GetLocation() OptString

GetLocation returns the value of Location.

func (*Directory) GetName

func (s *Directory) GetName() OptString

GetName returns the value of Name.

func (*Directory) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Directory) SetLocation

func (s *Directory) SetLocation(val OptString)

SetLocation sets the value of Location.

func (*Directory) SetName

func (s *Directory) SetName(val OptString)

SetName sets the value of Name.

func (*Directory) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DirectoryFiles

type DirectoryFiles struct {
	Location OptString `json:"Location"`
	Path     OptString `json:"Path"`
	Files    []File    `json:"Files"`
	System   OptString `json:"system"`
}

Ref: #/components/schemas/DirectoryFiles

func (*DirectoryFiles) Decode

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

Decode decodes DirectoryFiles from json.

func (*DirectoryFiles) Encode

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

Encode implements json.Marshaler.

func (*DirectoryFiles) GetFiles

func (s *DirectoryFiles) GetFiles() []File

GetFiles returns the value of Files.

func (*DirectoryFiles) GetLocation

func (s *DirectoryFiles) GetLocation() OptString

GetLocation returns the value of Location.

func (*DirectoryFiles) GetPath

func (s *DirectoryFiles) GetPath() OptString

GetPath returns the value of Path.

func (*DirectoryFiles) GetSystem

func (s *DirectoryFiles) GetSystem() OptString

GetSystem returns the value of System.

func (*DirectoryFiles) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DirectoryFiles) SetFiles

func (s *DirectoryFiles) SetFiles(val []File)

SetFiles sets the value of Files.

func (*DirectoryFiles) SetLocation

func (s *DirectoryFiles) SetLocation(val OptString)

SetLocation sets the value of Location.

func (*DirectoryFiles) SetPath

func (s *DirectoryFiles) SetPath(val OptString)

SetPath sets the value of Path.

func (*DirectoryFiles) SetSystem

func (s *DirectoryFiles) SetSystem(val OptString)

SetSystem sets the value of System.

func (*DirectoryFiles) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DirectoryFiles) Validate

func (s *DirectoryFiles) Validate() error

type DisconnectTCPForbidden

type DisconnectTCPForbidden struct{}

DisconnectTCPForbidden is response for DisconnectTCP operation.

type DisconnectTCPParams

type DisconnectTCPParams struct {
	// SQL table.
	Table string
	// First entry of connection ID.
	StartID OptInt
	// Last entry of connection ID.
	EndID OptInt
}

DisconnectTCPParams is parameters of disconnectTCP operation.

type DisconnectTCPRes

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

type DisconnectTCPUnauthorized

type DisconnectTCPUnauthorized struct{}

DisconnectTCPUnauthorized is response for DisconnectTCP operation.

type DownloadFileBadRequest

type DownloadFileBadRequest Error

func (*DownloadFileBadRequest) Decode

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

Decode decodes DownloadFileBadRequest from json.

func (*DownloadFileBadRequest) Encode

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

Encode encodes DownloadFileBadRequest as json.

func (*DownloadFileBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DownloadFileBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DownloadFileForbidden

type DownloadFileForbidden struct{}

DownloadFileForbidden is response for DownloadFile operation.

type DownloadFileNotFound

type DownloadFileNotFound Error

func (*DownloadFileNotFound) Decode

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

Decode decodes DownloadFileNotFound from json.

func (*DownloadFileNotFound) Encode

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

Encode encodes DownloadFileNotFound as json.

func (*DownloadFileNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DownloadFileNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DownloadFileOK

type DownloadFileOK struct {
	Data io.Reader
}

func (DownloadFileOK) Read

func (s DownloadFileOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type DownloadFileParams

type DownloadFileParams struct {
	// Identifier of the file location.
	Path string
}

DownloadFileParams is parameters of downloadFile operation.

type DownloadFileRes

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

type DownloadFileUnauthorized

type DownloadFileUnauthorized struct{}

DownloadFileUnauthorized is response for DownloadFile operation.

type Environments

type Environments struct {
	Environment *EnvironmentsEnvironment `json:"Environment"`
}

Ref: #/components/schemas/Environments

func (*Environments) Decode

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

Decode decodes Environments from json.

func (*Environments) Encode

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

Encode implements json.Marshaler.

func (*Environments) GetEnvironment

func (s *Environments) GetEnvironment() *EnvironmentsEnvironment

GetEnvironment returns the value of Environment.

func (*Environments) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Environments) SetEnvironment

func (s *Environments) SetEnvironment(val *EnvironmentsEnvironment)

SetEnvironment sets the value of Environment.

func (*Environments) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EnvironmentsEnvironment

type EnvironmentsEnvironment struct{}

func (*EnvironmentsEnvironment) Decode

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

Decode decodes EnvironmentsEnvironment from json.

func (*EnvironmentsEnvironment) Encode

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

Encode implements json.Marshaler.

func (*EnvironmentsEnvironment) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EnvironmentsEnvironment) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EnvironmentsHeaders

type EnvironmentsHeaders struct {
	XToken   OptString
	Response Environments
}

EnvironmentsHeaders wraps Environments with response headers.

func (*EnvironmentsHeaders) GetResponse

func (s *EnvironmentsHeaders) GetResponse() Environments

GetResponse returns the value of Response.

func (*EnvironmentsHeaders) GetXToken

func (s *EnvironmentsHeaders) GetXToken() OptString

GetXToken returns the value of XToken.

func (*EnvironmentsHeaders) SetResponse

func (s *EnvironmentsHeaders) SetResponse(val Environments)

SetResponse sets the value of Response.

func (*EnvironmentsHeaders) SetXToken

func (s *EnvironmentsHeaders) SetXToken(val OptString)

SetXToken sets the value of XToken.

type Error

type Error struct {
	Code    OptString     `json:"code"`
	Message OptString     `json:"message"`
	Target  OptString     `json:"target"`
	Error   OptErrorError `json:"Error"`
}

Ref: #/components/schemas/Error

func (*Error) Decode

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

Decode decodes Error from json.

func (*Error) Encode

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

Encode implements json.Marshaler.

func (*Error) GetCode

func (s *Error) GetCode() OptString

GetCode returns the value of Code.

func (*Error) GetError

func (s *Error) GetError() OptErrorError

GetError returns the value of Error.

func (*Error) GetMessage

func (s *Error) GetMessage() OptString

GetMessage returns the value of Message.

func (*Error) GetTarget

func (s *Error) GetTarget() OptString

GetTarget returns the value of Target.

func (*Error) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Error) SetCode

func (s *Error) SetCode(val OptString)

SetCode sets the value of Code.

func (*Error) SetError

func (s *Error) SetError(val OptErrorError)

SetError sets the value of Error.

func (*Error) SetMessage

func (s *Error) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*Error) SetTarget

func (s *Error) SetTarget(val OptString)

SetTarget sets the value of Target.

func (*Error) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ErrorError

type ErrorError struct {
	Code    OptString `json:"code"`
	Message OptString `json:"message"`
	Target  OptString `json:"target"`
}

func (*ErrorError) Decode

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

Decode decodes ErrorError from json.

func (*ErrorError) Encode

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

Encode implements json.Marshaler.

func (*ErrorError) GetCode

func (s *ErrorError) GetCode() OptString

GetCode returns the value of Code.

func (*ErrorError) GetMessage

func (s *ErrorError) GetMessage() OptString

GetMessage returns the value of Message.

func (*ErrorError) GetTarget

func (s *ErrorError) GetTarget() OptString

GetTarget returns the value of Target.

func (*ErrorError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ErrorError) SetCode

func (s *ErrorError) SetCode(val OptString)

SetCode sets the value of Code.

func (*ErrorError) SetMessage

func (s *ErrorError) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*ErrorError) SetTarget

func (s *ErrorError) SetTarget(val OptString)

SetTarget sets the value of Target.

func (*ErrorError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type ErrorStatusCode

type ErrorStatusCode struct {
	StatusCode int
	Response   Error
}

ErrorStatusCode wraps Error with StatusCode.

func (*ErrorStatusCode) Error

func (s *ErrorStatusCode) Error() string

func (*ErrorStatusCode) GetResponse

func (s *ErrorStatusCode) GetResponse() Error

GetResponse returns the value of Response.

func (*ErrorStatusCode) GetStatusCode

func (s *ErrorStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*ErrorStatusCode) SetResponse

func (s *ErrorStatusCode) SetResponse(val Error)

SetResponse sets the value of Response.

func (*ErrorStatusCode) SetStatusCode

func (s *ErrorStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

type Executions

type Executions struct {
	Database  OptInt      `json:"Database"`
	Ended     OptDateTime `json:"Ended"`
	ExitCode  OptFloat64  `json:"ExitCode"`
	ID        OptInt      `json:"Id"`
	Log       OptString   `json:"Log"`
	StartedBy OptString   `json:"StartedBy"`
	Scheduled OptDateTime `json:"Scheduled"`
}

Ref: #/components/schemas/Executions

func (*Executions) Decode

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

Decode decodes Executions from json.

func (*Executions) Encode

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

Encode implements json.Marshaler.

func (*Executions) GetDatabase

func (s *Executions) GetDatabase() OptInt

GetDatabase returns the value of Database.

func (*Executions) GetEnded

func (s *Executions) GetEnded() OptDateTime

GetEnded returns the value of Ended.

func (*Executions) GetExitCode

func (s *Executions) GetExitCode() OptFloat64

GetExitCode returns the value of ExitCode.

func (*Executions) GetID

func (s *Executions) GetID() OptInt

GetID returns the value of ID.

func (*Executions) GetLog

func (s *Executions) GetLog() OptString

GetLog returns the value of Log.

func (*Executions) GetScheduled

func (s *Executions) GetScheduled() OptDateTime

GetScheduled returns the value of Scheduled.

func (*Executions) GetStartedBy

func (s *Executions) GetStartedBy() OptString

GetStartedBy returns the value of StartedBy.

func (*Executions) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Executions) SetDatabase

func (s *Executions) SetDatabase(val OptInt)

SetDatabase sets the value of Database.

func (*Executions) SetEnded

func (s *Executions) SetEnded(val OptDateTime)

SetEnded sets the value of Ended.

func (*Executions) SetExitCode

func (s *Executions) SetExitCode(val OptFloat64)

SetExitCode sets the value of ExitCode.

func (*Executions) SetID

func (s *Executions) SetID(val OptInt)

SetID sets the value of ID.

func (*Executions) SetLog

func (s *Executions) SetLog(val OptString)

SetLog sets the value of Log.

func (*Executions) SetScheduled

func (s *Executions) SetScheduled(val OptDateTime)

SetScheduled sets the value of Scheduled.

func (*Executions) SetStartedBy

func (s *Executions) SetStartedBy(val OptString)

SetStartedBy sets the value of StartedBy.

func (*Executions) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Executions) Validate

func (s *Executions) Validate() error

type FieldItem

type FieldItem struct {
	Level      OptInt    `json:"level"`
	Value      OptString `json:"value"`
	Format     OptString `json:"format"`
	Length     OptInt    `json:"length"`
	Options    OptString `json:"options"`
	Identifier OptString `json:"identifier"`
	Label      OptString `json:"label"`
}

Ref: #/components/schemas/FieldItem

func (*FieldItem) Decode

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

Decode decodes FieldItem from json.

func (*FieldItem) Encode

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

Encode implements json.Marshaler.

func (*FieldItem) GetFormat

func (s *FieldItem) GetFormat() OptString

GetFormat returns the value of Format.

func (*FieldItem) GetIdentifier

func (s *FieldItem) GetIdentifier() OptString

GetIdentifier returns the value of Identifier.

func (*FieldItem) GetLabel

func (s *FieldItem) GetLabel() OptString

GetLabel returns the value of Label.

func (*FieldItem) GetLength

func (s *FieldItem) GetLength() OptInt

GetLength returns the value of Length.

func (*FieldItem) GetLevel

func (s *FieldItem) GetLevel() OptInt

GetLevel returns the value of Level.

func (*FieldItem) GetOptions

func (s *FieldItem) GetOptions() OptString

GetOptions returns the value of Options.

func (*FieldItem) GetValue

func (s *FieldItem) GetValue() OptString

GetValue returns the value of Value.

func (*FieldItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FieldItem) SetFormat

func (s *FieldItem) SetFormat(val OptString)

SetFormat sets the value of Format.

func (*FieldItem) SetIdentifier

func (s *FieldItem) SetIdentifier(val OptString)

SetIdentifier sets the value of Identifier.

func (*FieldItem) SetLabel

func (s *FieldItem) SetLabel(val OptString)

SetLabel sets the value of Label.

func (*FieldItem) SetLength

func (s *FieldItem) SetLength(val OptInt)

SetLength sets the value of Length.

func (*FieldItem) SetLevel

func (s *FieldItem) SetLevel(val OptInt)

SetLevel sets the value of Level.

func (*FieldItem) SetOptions

func (s *FieldItem) SetOptions(val OptString)

SetOptions sets the value of Options.

func (*FieldItem) SetValue

func (s *FieldItem) SetValue(val OptString)

SetValue sets the value of Value.

func (*FieldItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Fields

type Fields []FieldItem

func (*Fields) Decode

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

Decode decodes Fields from json.

func (Fields) Encode

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

Encode encodes Fields as json.

func (Fields) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Fields) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (Fields) Validate

func (s Fields) Validate() error

type FieldsHeaders

type FieldsHeaders struct {
	XToken   OptString
	Response Fields
}

FieldsHeaders wraps Fields with response headers.

func (*FieldsHeaders) GetResponse

func (s *FieldsHeaders) GetResponse() Fields

GetResponse returns the value of Response.

func (*FieldsHeaders) GetXToken

func (s *FieldsHeaders) GetXToken() OptString

GetXToken returns the value of XToken.

func (*FieldsHeaders) SetResponse

func (s *FieldsHeaders) SetResponse(val Fields)

SetResponse sets the value of Response.

func (*FieldsHeaders) SetXToken

func (s *FieldsHeaders) SetXToken(val OptString)

SetXToken sets the value of XToken.

func (*FieldsHeaders) Validate

func (s *FieldsHeaders) Validate() error

type File

type File struct {
	Name     OptString   `json:"Name"`
	Type     OptString   `json:"Type"`
	Modified OptDateTime `json:"Modified"`
	Size     OptInt64    `json:"Size"`
}

Ref: #/components/schemas/File

func (*File) Decode

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

Decode decodes File from json.

func (*File) Encode

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

Encode implements json.Marshaler.

func (*File) GetModified

func (s *File) GetModified() OptDateTime

GetModified returns the value of Modified.

func (*File) GetName

func (s *File) GetName() OptString

GetName returns the value of Name.

func (*File) GetSize

func (s *File) GetSize() OptInt64

GetSize returns the value of Size.

func (*File) GetType

func (s *File) GetType() OptString

GetType returns the value of Type.

func (*File) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*File) SetModified

func (s *File) SetModified(val OptDateTime)

SetModified sets the value of Modified.

func (*File) SetName

func (s *File) SetName(val OptString)

SetName sets the value of Name.

func (*File) SetSize

func (s *File) SetSize(val OptInt64)

SetSize sets the value of Size.

func (*File) SetType

func (s *File) SetType(val OptString)

SetType sets the value of Type.

func (*File) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*File) Validate

func (s *File) Validate() error

type GetConfigForbidden

type GetConfigForbidden struct{}

GetConfigForbidden is response for GetConfig operation.

type GetConfigRes

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

type GetConfigUnauthorized

type GetConfigUnauthorized struct{}

GetConfigUnauthorized is response for GetConfig operation.

type GetConnectionsForbidden

type GetConnectionsForbidden struct{}

GetConnectionsForbidden is response for GetConnections operation.

type GetConnectionsParams

type GetConnectionsParams struct {
	// SQL table.
	Table string
}

GetConnectionsParams is parameters of getConnections operation.

type GetConnectionsRes

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

type GetConnectionsUnauthorized

type GetConnectionsUnauthorized struct{}

GetConnectionsUnauthorized is response for GetConnections operation.

type GetDatabaseSessionsForbidden

type GetDatabaseSessionsForbidden struct{}

GetDatabaseSessionsForbidden is response for GetDatabaseSessions operation.

type GetDatabaseSessionsParams

type GetDatabaseSessionsParams struct {
	// SQL table.
	Table string
}

GetDatabaseSessionsParams is parameters of getDatabaseSessions operation.

type GetDatabaseSessionsRes

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

type GetDatabaseSessionsUnauthorized

type GetDatabaseSessionsUnauthorized struct{}

GetDatabaseSessionsUnauthorized is response for GetDatabaseSessions operation.

type GetDatabaseStatsForbidden

type GetDatabaseStatsForbidden struct{}

GetDatabaseStatsForbidden is response for GetDatabaseStats operation.

type GetDatabaseStatsParams

type GetDatabaseStatsParams struct {
	// SQL table.
	Table string
}

GetDatabaseStatsParams is parameters of getDatabaseStats operation.

type GetDatabaseStatsRes

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

type GetDatabaseStatsUnauthorized

type GetDatabaseStatsUnauthorized struct{}

GetDatabaseStatsUnauthorized is response for GetDatabaseStats operation.

type GetDatabasesForbidden

type GetDatabasesForbidden struct{}

GetDatabasesForbidden is response for GetDatabases operation.

type GetDatabasesRes

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

type GetDatabasesUnauthorized

type GetDatabasesUnauthorized struct{}

GetDatabasesUnauthorized is response for GetDatabases operation.

type GetEnvironmentsForbidden

type GetEnvironmentsForbidden struct{}

GetEnvironmentsForbidden is response for GetEnvironments operation.

type GetEnvironmentsRes

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

type GetEnvironmentsUnauthorized

type GetEnvironmentsUnauthorized struct{}

GetEnvironmentsUnauthorized is response for GetEnvironments operation.

type GetFieldsBadRequest

type GetFieldsBadRequest Error

func (*GetFieldsBadRequest) Decode

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

Decode decodes GetFieldsBadRequest from json.

func (*GetFieldsBadRequest) Encode

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

Encode encodes GetFieldsBadRequest as json.

func (*GetFieldsBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetFieldsBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetFieldsForbidden

type GetFieldsForbidden struct{}

GetFieldsForbidden is response for GetFields operation.

type GetFieldsNotFound

type GetFieldsNotFound Error

func (*GetFieldsNotFound) Decode

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

Decode decodes GetFieldsNotFound from json.

func (*GetFieldsNotFound) Encode

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

Encode encodes GetFieldsNotFound as json.

func (*GetFieldsNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetFieldsNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetFieldsParams

type GetFieldsParams struct {
	// SQL table.
	Table string
}

GetFieldsParams is parameters of getFields operation.

type GetFieldsRes

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

type GetFieldsUnauthorized

type GetFieldsUnauthorized struct{}

GetFieldsUnauthorized is response for GetFields operation.

type GetImageForbidden

type GetImageForbidden struct{}

GetImageForbidden is response for GetImage operation.

type GetImageOKImageGIF

type GetImageOKImageGIF struct {
	Data io.Reader
}

func (GetImageOKImageGIF) Read

func (s GetImageOKImageGIF) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetImageOKImageJpeg

type GetImageOKImageJpeg struct {
	Data io.Reader
}

func (GetImageOKImageJpeg) Read

func (s GetImageOKImageJpeg) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetImageOKImagePNG

type GetImageOKImagePNG struct {
	Data io.Reader
}

func (GetImageOKImagePNG) Read

func (s GetImageOKImagePNG) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetImageParams

type GetImageParams struct {
	// SQL table.
	Table string
	// Remote node reference.
	Reference OptString
	// Specific search.
	Search string
	// Specific the data MIME type.
	Mimetype OptString
	// Specific the field containing the mimetype.
	MimetypeField string
	// Specific the field to be.
	Field string
	// Search criterium.
	Sqlsearch OptString
}

GetImageParams is parameters of getImage operation.

type GetImageRes

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

type GetImageUnauthorized

type GetImageUnauthorized struct {
	WwwAuthenticate OptString
}

GetImageUnauthorized is response for GetImage operation.

func (*GetImageUnauthorized) GetWwwAuthenticate

func (s *GetImageUnauthorized) GetWwwAuthenticate() OptString

GetWwwAuthenticate returns the value of WwwAuthenticate.

func (*GetImageUnauthorized) SetWwwAuthenticate

func (s *GetImageUnauthorized) SetWwwAuthenticate(val OptString)

SetWwwAuthenticate sets the value of WwwAuthenticate.

type GetJobExecutionResultBadRequest

type GetJobExecutionResultBadRequest Error

func (*GetJobExecutionResultBadRequest) Decode

Decode decodes GetJobExecutionResultBadRequest from json.

func (*GetJobExecutionResultBadRequest) Encode

Encode encodes GetJobExecutionResultBadRequest as json.

func (*GetJobExecutionResultBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetJobExecutionResultBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetJobExecutionResultForbidden

type GetJobExecutionResultForbidden struct{}

GetJobExecutionResultForbidden is response for GetJobExecutionResult operation.

type GetJobExecutionResultNotFound

type GetJobExecutionResultNotFound Error

func (*GetJobExecutionResultNotFound) Decode

Decode decodes GetJobExecutionResultNotFound from json.

func (*GetJobExecutionResultNotFound) Encode

Encode encodes GetJobExecutionResultNotFound as json.

func (*GetJobExecutionResultNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetJobExecutionResultNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetJobExecutionResultParams

type GetJobExecutionResultParams struct {
	// Start time from.
	From OptString
	// End time to.
	To OptString
}

GetJobExecutionResultParams is parameters of getJobExecutionResult operation.

type GetJobExecutionResultRes

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

type GetJobExecutionResultUnauthorized

type GetJobExecutionResultUnauthorized struct{}

GetJobExecutionResultUnauthorized is response for GetJobExecutionResult operation.

type GetJobFullInfoBadRequest

type GetJobFullInfoBadRequest Error

func (*GetJobFullInfoBadRequest) Decode

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

Decode decodes GetJobFullInfoBadRequest from json.

func (*GetJobFullInfoBadRequest) Encode

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

Encode encodes GetJobFullInfoBadRequest as json.

func (*GetJobFullInfoBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetJobFullInfoBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetJobFullInfoForbidden

type GetJobFullInfoForbidden struct{}

GetJobFullInfoForbidden is response for GetJobFullInfo operation.

type GetJobFullInfoNotFound

type GetJobFullInfoNotFound Error

func (*GetJobFullInfoNotFound) Decode

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

Decode decodes GetJobFullInfoNotFound from json.

func (*GetJobFullInfoNotFound) Encode

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

Encode encodes GetJobFullInfoNotFound as json.

func (*GetJobFullInfoNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetJobFullInfoNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetJobFullInfoParams

type GetJobFullInfoParams struct {
	// Job Name to be requested.
	JobName string
}

GetJobFullInfoParams is parameters of getJobFullInfo operation.

type GetJobFullInfoRes

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

type GetJobFullInfoUnauthorized

type GetJobFullInfoUnauthorized struct{}

GetJobFullInfoUnauthorized is response for GetJobFullInfo operation.

type GetJobResultBadRequest

type GetJobResultBadRequest Error

func (*GetJobResultBadRequest) Decode

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

Decode decodes GetJobResultBadRequest from json.

func (*GetJobResultBadRequest) Encode

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

Encode encodes GetJobResultBadRequest as json.

func (*GetJobResultBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetJobResultBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetJobResultForbidden

type GetJobResultForbidden struct{}

GetJobResultForbidden is response for GetJobResult operation.

type GetJobResultNotFound

type GetJobResultNotFound Error

func (*GetJobResultNotFound) Decode

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

Decode decodes GetJobResultNotFound from json.

func (*GetJobResultNotFound) Encode

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

Encode encodes GetJobResultNotFound as json.

func (*GetJobResultNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetJobResultNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetJobResultParams

type GetJobResultParams struct {
	// Job name to be requested.
	JobName string
	// Job id of execution result to be requested.
	JobId string
}

GetJobResultParams is parameters of getJobResult operation.

type GetJobResultRes

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

type GetJobResultUnauthorized

type GetJobResultUnauthorized struct{}

GetJobResultUnauthorized is response for GetJobResult operation.

type GetJobsConfigForbidden

type GetJobsConfigForbidden struct{}

GetJobsConfigForbidden is response for GetJobsConfig operation.

type GetJobsConfigRes

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

type GetJobsConfigUnauthorized

type GetJobsConfigUnauthorized struct{}

GetJobsConfigUnauthorized is response for GetJobsConfig operation.

type GetJobsForbidden

type GetJobsForbidden struct{}

GetJobsForbidden is response for GetJobs operation.

type GetJobsNotFound

type GetJobsNotFound struct{}

GetJobsNotFound is response for GetJobs operation.

type GetJobsParams

type GetJobsParams struct {
	// Timestamp of first job entry.
	StartTime OptString
	// Timestamp of last job entry.
	EndTime OptString
}

GetJobsParams is parameters of getJobs operation.

type GetJobsRes

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

type GetJobsUnauthorized

type GetJobsUnauthorized struct{}

GetJobsUnauthorized is response for GetJobs operation.

type GetLobByMapForbidden

type GetLobByMapForbidden struct{}

GetLobByMapForbidden is response for GetLobByMap operation.

type GetLobByMapOK

type GetLobByMapOK struct {
	Data io.Reader
}

func (GetLobByMapOK) Read

func (s GetLobByMapOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetLobByMapParams

type GetLobByMapParams struct {
	// SQL table.
	Table string
	// Specific ISN number.
	Search string
	// Specific the field to be.
	Field string
	// Specific the field containing the mimetype.
	MimetypeField string
	// Specific the data MIME type.
	Mimetype OptString
	// Search criterium.
	Sqlsearch OptString
}

GetLobByMapParams is parameters of getLobByMap operation.

type GetLobByMapRes

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

type GetLobByMapUnauthorized

type GetLobByMapUnauthorized struct{}

GetLobByMapUnauthorized is response for GetLobByMap operation.

type GetLoginSessionForbidden

type GetLoginSessionForbidden struct{}

GetLoginSessionForbidden is response for GetLoginSession operation.

type GetLoginSessionRes

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

type GetLoginSessionUnauthorized

type GetLoginSessionUnauthorized struct{}

GetLoginSessionUnauthorized is response for GetLoginSession operation.

type GetMapMetadataForbidden

type GetMapMetadataForbidden struct{}

GetMapMetadataForbidden is response for GetMapMetadata operation.

type GetMapMetadataParams

type GetMapMetadataParams struct {
	// SQL table.
	Table string
}

GetMapMetadataParams is parameters of getMapMetadata operation.

type GetMapMetadataRes

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

type GetMapMetadataUnauthorized

type GetMapMetadataUnauthorized struct{}

GetMapMetadataUnauthorized is response for GetMapMetadata operation.

type GetMapRecordsFieldsForbidden

type GetMapRecordsFieldsForbidden struct{}

GetMapRecordsFieldsForbidden is response for GetMapRecordsFields operation.

type GetMapRecordsFieldsParams

type GetMapRecordsFieldsParams struct {
	// SQL table.
	Table string
	// Search.
	Search string
	// Specific a comma separated list of fields to be part of the result record.
	Fields string
	// Start offset where the read will start from.
	Start OptFloat64
	// Maximal number of records retrieved.
	Limit OptFloat64
	// Sort criterium.
	SortedBy OptString
	// Search criterium.
	Sqlsearch OptString
	// Return result in compact structure.
	Compact OptBool
	// Remove database group tree entries in result records.
	Flatten OptBool
	// Read a descriptor read with the given field entry.
	Descriptor OptBool
	// Order by criterias.
	Orderby OptString
	// Use XML notation namespace.
	Xmlnotation OptBool
}

GetMapRecordsFieldsParams is parameters of getMapRecordsFields operation.

type GetMapRecordsFieldsRes

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

type GetMapRecordsFieldsUnauthorized

type GetMapRecordsFieldsUnauthorized struct{}

GetMapRecordsFieldsUnauthorized is response for GetMapRecordsFields operation.

type GetMapsForbidden

type GetMapsForbidden struct{}

GetMapsForbidden is response for GetMaps operation.

type GetMapsRes

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

type GetMapsUnauthorized

type GetMapsUnauthorized struct{}

GetMapsUnauthorized is response for GetMaps operation.

type GetPermissionForbidden

type GetPermissionForbidden struct{}

GetPermissionForbidden is response for GetPermission operation.

type GetPermissionList

type GetPermissionList string
const (
	GetPermissionListAssignments GetPermissionList = "assignments"
	GetPermissionListUserrole    GetPermissionList = "userrole"
)

func (GetPermissionList) AllValues

func (GetPermissionList) AllValues() []GetPermissionList

AllValues returns all GetPermissionList values.

func (GetPermissionList) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*GetPermissionList) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (GetPermissionList) Validate

func (s GetPermissionList) Validate() error

type GetPermissionOK

type GetPermissionOK struct{}

GetPermissionOK is response for GetPermission operation.

type GetPermissionParams

type GetPermissionParams struct {
	// SQL table.
	Table string
	// List type.
	List OptGetPermissionList
}

GetPermissionParams is parameters of getPermission operation.

type GetPermissionRes

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

type GetPermissionUnauthorized

type GetPermissionUnauthorized struct{}

GetPermissionUnauthorized is response for GetPermission operation.

type GetUserInfoForbidden

type GetUserInfoForbidden struct{}

GetUserInfoForbidden is response for GetUserInfo operation.

type GetUserInfoRes

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

type GetUserInfoUnauthorized

type GetUserInfoUnauthorized struct{}

GetUserInfoUnauthorized is response for GetUserInfo operation.

type GetVersionRes

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

type GetVideoForbidden

type GetVideoForbidden struct{}

GetVideoForbidden is response for GetVideo operation.

type GetVideoOKVideoMP4

type GetVideoOKVideoMP4 struct {
	Data io.Reader
}

func (GetVideoOKVideoMP4) Read

func (s GetVideoOKVideoMP4) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetVideoOKVideoMov

type GetVideoOKVideoMov struct {
	Data io.Reader
}

func (GetVideoOKVideoMov) Read

func (s GetVideoOKVideoMov) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetVideoParams

type GetVideoParams struct {
	// SQL table.
	Table string
	// Specific ISN number.
	Search string
	// Remote node reference.
	Reference OptString
	// Specific the field to be streamed.
	Field string
	// Specific the field containing the mimetype.
	MimetypeField string
	// MIMEType the result should be of (preferred for some image formats only).
	Mimetype string
	// Search criterium.
	Sqlsearch OptString
}

GetVideoParams is parameters of getVideo operation.

type GetVideoRes

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

type GetVideoUnauthorized

type GetVideoUnauthorized struct {
	WwwAuthenticate OptString
}

GetVideoUnauthorized is response for GetVideo operation.

func (*GetVideoUnauthorized) GetWwwAuthenticate

func (s *GetVideoUnauthorized) GetWwwAuthenticate() OptString

GetWwwAuthenticate returns the value of WwwAuthenticate.

func (*GetVideoUnauthorized) SetWwwAuthenticate

func (s *GetVideoUnauthorized) SetWwwAuthenticate(val OptString)

SetWwwAuthenticate sets the value of WwwAuthenticate.

type GetViewsForbidden

type GetViewsForbidden struct{}

GetViewsForbidden is response for GetViews operation.

type GetViewsOK

type GetViewsOK struct {
	XToken OptString
}

GetViewsOK is response for GetViews operation.

func (*GetViewsOK) GetXToken

func (s *GetViewsOK) GetXToken() OptString

GetXToken returns the value of XToken.

func (*GetViewsOK) SetXToken

func (s *GetViewsOK) SetXToken(val OptString)

SetXToken sets the value of XToken.

type GetViewsRes

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

type GetViewsUnauthorized

type GetViewsUnauthorized struct{}

GetViewsUnauthorized is response for GetViews operation.

type Handler

type Handler interface {
	// Access implements access operation.
	//
	// Retrieve the list of users who are allowed to access data.
	//
	// GET /admin/access/{role}
	Access(ctx context.Context, params AccessParams) (AccessRes, error)
	// AdaptPermission implements adaptPermission operation.
	//
	// Add RBAC role.
	//
	// PUT /rest/database/{table}/permission
	AdaptPermission(ctx context.Context, params AdaptPermissionParams) (AdaptPermissionRes, error)
	// AddAccess implements addAccess operation.
	//
	// Insert user in the list of users who are allowed to access data.
	//
	// POST /admin/access/{role}
	AddAccess(ctx context.Context, params AddAccessParams) (AddAccessRes, error)
	// AddRBACResource implements addRBACResource operation.
	//
	// Add permission role.
	//
	// PUT /rest/database/{table}/permission/{resource}/{name}
	AddRBACResource(ctx context.Context, params AddRBACResourceParams) (AddRBACResourceRes, error)
	// AddView implements addView operation.
	//
	// Add configuration in View repositories.
	//
	// POST /config/views
	AddView(ctx context.Context, params AddViewParams) (AddViewRes, error)
	// BatchParameterQuery implements batchParameterQuery operation.
	//
	// Call a SQL query batch command posted in query.
	//
	// GET /rest/batch/{table}/{query}
	BatchParameterQuery(ctx context.Context, params BatchParameterQueryParams) (BatchParameterQueryRes, error)
	// BatchQuery implements batchQuery operation.
	//
	// Call a SQL query batch command posted in body.
	//
	// POST /rest/batch/{table}
	BatchQuery(ctx context.Context, req BatchQueryReq, params BatchQueryParams) (BatchQueryRes, error)
	// BatchSelect implements batchSelect operation.
	//
	// Call a SQL query batch command out of the stored query list.
	//
	// GET /rest/batch/{table}
	BatchSelect(ctx context.Context, params BatchSelectParams) (BatchSelectRes, error)
	// BrowseList implements browseList operation.
	//
	// Retrieves a list of Browseable locations.
	//
	// GET /rest/file/browse
	BrowseList(ctx context.Context) (BrowseListRes, error)
	// BrowseLocation implements browseLocation operation.
	//
	// Retrieves a list of files in the defined location.
	//
	// GET /rest/file/browse/{path}
	BrowseLocation(ctx context.Context, params BrowseLocationParams) (BrowseLocationRes, error)
	// CallExtend implements callExtend operation.
	//
	// Call plugin extend.
	//
	// GET /rest/extend/{path}
	CallExtend(ctx context.Context, params CallExtendParams) (CallExtendRes, error)
	// CallPostExtend implements callPostExtend operation.
	//
	// Post extend/plugin.
	//
	// POST /rest/extend/{path}
	CallPostExtend(ctx context.Context, req *CallPostExtendReq, params CallPostExtendParams) (CallPostExtendRes, error)
	// CreateDirectory implements createDirectory operation.
	//
	// Create a new directory.
	//
	// PUT /rest/file/{path}
	CreateDirectory(ctx context.Context, params CreateDirectoryParams) (CreateDirectoryRes, error)
	// DatabaseOperation implements databaseOperation operation.
	//
	// Retrieve the current status of database with the given dbid.
	//
	// GET /rest/database/{table_operation}
	DatabaseOperation(ctx context.Context, params DatabaseOperationParams) (DatabaseOperationRes, error)
	// DatabasePostOperations implements databasePostOperations operation.
	//
	// Initiate operations on the given dbid.
	//
	// POST /rest/database/{table_operation}
	DatabasePostOperations(ctx context.Context, params DatabasePostOperationsParams) (DatabasePostOperationsRes, error)
	// DelAccess implements delAccess operation.
	//
	// Delete user in the list of users who are allowed to access data.
	//
	// DELETE /admin/access/{role}
	DelAccess(ctx context.Context, params DelAccessParams) (DelAccessRes, error)
	// DeleteDatabase implements deleteDatabase operation.
	//
	// Delete the database.
	//
	// DELETE /rest/database/{table_operation}
	DeleteDatabase(ctx context.Context, params DeleteDatabaseParams) (DeleteDatabaseRes, error)
	// DeleteExtend implements deleteExtend operation.
	//
	// Delete extend/plugin data.
	//
	// DELETE /rest/extend/{path}
	DeleteExtend(ctx context.Context, params DeleteExtendParams) (DeleteExtendRes, error)
	// DeleteFileLocation implements deleteFileLocation operation.
	//
	// Delete the file on the given location.
	//
	// DELETE /rest/file/{path}
	DeleteFileLocation(ctx context.Context, params DeleteFileLocationParams) (DeleteFileLocationRes, error)
	// DeleteJobResult implements deleteJobResult operation.
	//
	// Delete a specific job result.
	//
	// DELETE /rest/tasks/{jobName}/{jobId}
	DeleteJobResult(ctx context.Context, params DeleteJobResultParams) (DeleteJobResultRes, error)
	// DeleteRBACResource implements deleteRBACResource operation.
	//
	// Delete RBAC role.
	//
	// DELETE /rest/database/{table}/permission/{resource}/{name}
	DeleteRBACResource(ctx context.Context, params DeleteRBACResourceParams) (DeleteRBACResourceRes, error)
	// DeleteRecordsSearched implements deleteRecordsSearched operation.
	//
	// Delete a record with a given search.
	//
	// DELETE /rest/view/{table}/{search}
	DeleteRecordsSearched(ctx context.Context, params DeleteRecordsSearchedParams) (DeleteRecordsSearchedRes, error)
	// DeleteView implements deleteView operation.
	//
	// Delete entry in configuration.
	//
	// DELETE /config/views
	DeleteView(ctx context.Context, params DeleteViewParams) (DeleteViewRes, error)
	// DisconnectTCP implements disconnectTCP operation.
	//
	// Disconnect connection in the database with the given dbid.
	//
	// DELETE /rest/database/{table}/connection
	DisconnectTCP(ctx context.Context, params DisconnectTCPParams) (DisconnectTCPRes, error)
	// DownloadFile implements downloadFile operation.
	//
	// Download a file out of file location.
	//
	// GET /rest/file/{path}
	DownloadFile(ctx context.Context, params DownloadFileParams) (DownloadFileRes, error)
	// GetConfig implements getConfig operation.
	//
	// Get configuration.
	//
	// GET /config
	GetConfig(ctx context.Context) (GetConfigRes, error)
	// GetConnections implements getConnections operation.
	//
	// Retrieve the current TCP connection.
	//
	// GET /rest/database/{table}/connection
	GetConnections(ctx context.Context, params GetConnectionsParams) (GetConnectionsRes, error)
	// GetDatabaseSessions implements getDatabaseSessions operation.
	//
	// Retrieve a list of user queue entries.
	//
	// GET /rest/database/{table}/sessions
	GetDatabaseSessions(ctx context.Context, params GetDatabaseSessionsParams) (GetDatabaseSessionsRes, error)
	// GetDatabaseStats implements getDatabaseStats operation.
	//
	// Retrieve SQL statistics.
	//
	// GET /rest/database/{table}/stats
	GetDatabaseStats(ctx context.Context, params GetDatabaseStatsParams) (GetDatabaseStatsRes, error)
	// GetDatabases implements getDatabases operation.
	//
	// Retrieves a list of databases known by Interface.
	//
	// GET /rest/database
	GetDatabases(ctx context.Context) (GetDatabasesRes, error)
	// GetEnvironments implements getEnvironments operation.
	//
	// Retrieves the list of environments.
	//
	// GET /rest/env
	GetEnvironments(ctx context.Context) (GetEnvironmentsRes, error)
	// GetFields implements getFields operation.
	//
	// Retrieves all fields of an file.
	//
	// GET /rest/tables/{table}/fields
	GetFields(ctx context.Context, params GetFieldsParams) (GetFieldsRes, error)
	// GetImage implements getImage operation.
	//
	// Retrieves a field of a specific ISN of a Map definition.
	//
	// GET /image/{table}/{field}/{search}
	GetImage(ctx context.Context, params GetImageParams) (GetImageRes, error)
	// GetJobExecutionResult implements getJobExecutionResult operation.
	//
	// Retrieves a specific job result.
	//
	// GET /rest/tasks/results
	GetJobExecutionResult(ctx context.Context, params GetJobExecutionResultParams) (GetJobExecutionResultRes, error)
	// GetJobFullInfo implements getJobFullInfo operation.
	//
	// Retrieves a full job definition.
	//
	// GET /rest/tasks/{jobName}
	GetJobFullInfo(ctx context.Context, params GetJobFullInfoParams) (GetJobFullInfoRes, error)
	// GetJobResult implements getJobResult operation.
	//
	// Delete a specific job result.
	//
	// GET /rest/tasks/{jobName}/{jobId}
	GetJobResult(ctx context.Context, params GetJobResultParams) (GetJobResultRes, error)
	// GetJobs implements getJobs operation.
	//
	// Retrieves a list of jobs known by the Interface.
	//
	// GET /rest/tasks
	GetJobs(ctx context.Context, params GetJobsParams) (GetJobsRes, error)
	// GetJobsConfig implements getJobsConfig operation.
	//
	// Read job configuration section.
	//
	// GET /config/jobs
	GetJobsConfig(ctx context.Context) (GetJobsConfigRes, error)
	// GetLobByMap implements getLobByMap operation.
	//
	// Retrieves a lob of a specific ISN of an field in a Map.
	//
	// GET /binary/{table}/{field}/{search}
	GetLobByMap(ctx context.Context, params GetLobByMapParams) (GetLobByMapRes, error)
	// GetLoginSession implements getLoginSession operation.
	//
	// Login receiving JWT.
	//
	// GET /login
	GetLoginSession(ctx context.Context) (GetLoginSessionRes, error)
	// GetMapMetadata implements getMapMetadata operation.
	//
	// Retrieves metadata of a Map definition.
	//
	// GET /rest/metadata/view/{table}
	GetMapMetadata(ctx context.Context, params GetMapMetadataParams) (GetMapMetadataRes, error)
	// GetMapRecordsFields implements getMapRecordsFields operation.
	//
	// Retrieves a field of a specific ISN of a Map definition.
	//
	// GET /rest/view/{table}/{fields}/{search}
	GetMapRecordsFields(ctx context.Context, params GetMapRecordsFieldsParams) (GetMapRecordsFieldsRes, error)
	// GetMaps implements getMaps operation.
	//
	// Retrieves a list of available views.
	//
	// GET /rest/view
	GetMaps(ctx context.Context) (GetMapsRes, error)
	// GetPermission implements getPermission operation.
	//
	// List RBAC assignments permission.
	//
	// GET /rest/database/{table}/permission
	GetPermission(ctx context.Context, params GetPermissionParams) (GetPermissionRes, error)
	// GetUserInfo implements getUserInfo operation.
	//
	// Retrieves the user information.
	//
	// GET /rest/user
	GetUserInfo(ctx context.Context) (GetUserInfoRes, error)
	// GetVersion implements getVersion operation.
	//
	// Retrieves the current version.
	//
	// GET /version
	GetVersion(ctx context.Context) (GetVersionRes, error)
	// GetVideo implements getVideo operation.
	//
	// Retrieves a video stream of a specific ISN of a Map definition.
	//
	// GET /video/{table}/{field}/{search}
	GetVideo(ctx context.Context, params GetVideoParams) (GetVideoRes, error)
	// GetViews implements getViews operation.
	//
	// Defines the current views.
	//
	// GET /config/views
	GetViews(ctx context.Context) (GetViewsRes, error)
	// InsertMapFileRecords implements insertMapFileRecords operation.
	//
	// Store send records into Map definition.
	//
	// POST /rest/view
	InsertMapFileRecords(ctx context.Context, req OptInsertMapFileRecordsReq) (InsertMapFileRecordsRes, error)
	// InsertRecord implements insertRecord operation.
	//
	// Insert given record.
	//
	// POST /rest/view/{table}
	InsertRecord(ctx context.Context, req OptInsertRecordReq, params InsertRecordParams) (InsertRecordRes, error)
	// ListModelling implements listModelling operation.
	//
	// Retrieves all tables, views or data representation objects.
	//
	// GET /rest/map
	ListModelling(ctx context.Context) (ListModellingRes, error)
	// ListRBACResource implements listRBACResource operation.
	//
	// Add permission role.
	//
	// GET /rest/database/{table}/permission/{resource}
	ListRBACResource(ctx context.Context, params ListRBACResourceParams) (ListRBACResourceRes, error)
	// ListTables implements listTables operation.
	//
	// Retrieves all tables of databases.
	//
	// GET /rest/tables
	ListTables(ctx context.Context) (ListTablesRes, error)
	// LoginSession implements loginSession operation.
	//
	// Login receiving JWT.
	//
	// PUT /login
	LoginSession(ctx context.Context) (LoginSessionRes, error)
	// LogoutSessionCompat implements logoutSessionCompat operation.
	//
	// Logout the session.
	//
	// PUT /logout
	LogoutSessionCompat(ctx context.Context) (LogoutSessionCompatRes, error)
	// PostDatabase implements postDatabase operation.
	//
	// Create a new database, the input need to be JSON. A structure level parameter indicate version to
	// be used.
	//
	// POST /rest/database
	PostDatabase(ctx context.Context, req *Database) (PostDatabaseRes, error)
	// PostJob implements postJob operation.
	//
	// Create a new Job database.
	//
	// POST /rest/tasks
	PostJob(ctx context.Context, req PostJobReq) (PostJobRes, error)
	// PushLoginSession implements pushLoginSession operation.
	//
	// Login receiving JWT.
	//
	// POST /login
	PushLoginSession(ctx context.Context) (PushLoginSessionRes, error)
	// PutDatabaseResource implements putDatabaseResource operation.
	//
	// Change resource of the database.
	//
	// PUT /rest/database/{table_operation}
	PutDatabaseResource(ctx context.Context, params PutDatabaseResourceParams) (PutDatabaseResourceRes, error)
	// RemovePermission implements removePermission operation.
	//
	// Add RBAC role.
	//
	// DELETE /rest/database/{table}/permission
	RemovePermission(ctx context.Context, params RemovePermissionParams) (RemovePermissionRes, error)
	// RemoveSessionCompat implements removeSessionCompat operation.
	//
	// Remove the session.
	//
	// GET /logoff
	RemoveSessionCompat(ctx context.Context) (RemoveSessionCompatRes, error)
	// SearchModelling implements searchModelling operation.
	//
	// Retrieves all columns, fields of a tables, views or data representation.
	//
	// GET /rest/map/{path}
	SearchModelling(ctx context.Context, params SearchModellingParams) (SearchModellingRes, error)
	// SearchRecordsFields implements searchRecordsFields operation.
	//
	// Query a record with a given SQL query.
	//
	// GET /rest/view/{table}/{search}
	SearchRecordsFields(ctx context.Context, params SearchRecordsFieldsParams) (SearchRecordsFieldsRes, error)
	// SearchTable implements searchTable operation.
	//
	// Retrieves all fields of an file.
	//
	// GET /rest/tables/{table}/{fields}/{search}
	SearchTable(ctx context.Context, params SearchTableParams) (SearchTableRes, error)
	// SetConfig implements setConfig operation.
	//
	// Store configuration.
	//
	// PUT /config
	SetConfig(ctx context.Context, req SetConfigReq) (SetConfigRes, error)
	// SetJobsConfig implements setJobsConfig operation.
	//
	// Set the ADADATADIR.
	//
	// PUT /config/jobs
	SetJobsConfig(ctx context.Context, req OptJobStore) (SetJobsConfigRes, error)
	// ShutdownServer implements shutdownServer operation.
	//
	// Init shutdown procedure.
	//
	// PUT /rest/shutdown/{hash}
	ShutdownServer(ctx context.Context, params ShutdownServerParams) (ShutdownServerRes, error)
	// StoreConfig implements storeConfig operation.
	//
	// Store configuration.
	//
	// POST /config
	StoreConfig(ctx context.Context) (StoreConfigRes, error)
	// TriggerExtend implements triggerExtend operation.
	//
	// Put extend/plugin request.
	//
	// PUT /rest/extend/{path}
	TriggerExtend(ctx context.Context, params TriggerExtendParams) (TriggerExtendRes, error)
	// TriggerJob implements triggerJob operation.
	//
	// Trigger a job.
	//
	// PUT /rest/tasks/{jobName}
	TriggerJob(ctx context.Context, params TriggerJobParams) (TriggerJobRes, error)
	// UpdateLobByMap implements updateLobByMap operation.
	//
	// Set a lob at a specific ISN of an field in a Map.
	//
	// PUT /binary/{table}/{field}/{search}
	UpdateLobByMap(ctx context.Context, req UpdateLobByMapReq, params UpdateLobByMapParams) (UpdateLobByMapRes, error)
	// UpdateRecordsByFields implements updateRecordsByFields operation.
	//
	// Update a record dependent on field(s) of a specific table.
	//
	// PUT /rest/view/{table}/{search}
	UpdateRecordsByFields(ctx context.Context, req OptUpdateRecordsByFieldsReq, params UpdateRecordsByFieldsParams) (UpdateRecordsByFieldsRes, error)
	// UploadFile implements uploadFile operation.
	//
	// Upload a new file to the given location.
	//
	// POST /rest/file/{path}
	UploadFile(ctx context.Context, req *UploadFileReq, params UploadFileParams) (UploadFileRes, error)
	// NewError creates *ErrorStatusCode from error returned by handler.
	//
	// Used for common default response.
	NewError(ctx context.Context, err error) *ErrorStatusCode
}

Handler handles operations described by OpenAPI v3 specification.

type InsertMapFileRecordsBadRequest

type InsertMapFileRecordsBadRequest Error

func (*InsertMapFileRecordsBadRequest) Decode

Decode decodes InsertMapFileRecordsBadRequest from json.

func (*InsertMapFileRecordsBadRequest) Encode

Encode encodes InsertMapFileRecordsBadRequest as json.

func (*InsertMapFileRecordsBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsertMapFileRecordsBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InsertMapFileRecordsForbidden

type InsertMapFileRecordsForbidden struct{}

InsertMapFileRecordsForbidden is response for InsertMapFileRecords operation.

type InsertMapFileRecordsNotFound

type InsertMapFileRecordsNotFound Error

func (*InsertMapFileRecordsNotFound) Decode

Decode decodes InsertMapFileRecordsNotFound from json.

func (*InsertMapFileRecordsNotFound) Encode

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

Encode encodes InsertMapFileRecordsNotFound as json.

func (*InsertMapFileRecordsNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsertMapFileRecordsNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InsertMapFileRecordsReq

type InsertMapFileRecordsReq struct {
	// The file to upload.
	Data OptMultipartFile `json:"data"`
}

func (*InsertMapFileRecordsReq) GetData

GetData returns the value of Data.

func (*InsertMapFileRecordsReq) SetData

func (s *InsertMapFileRecordsReq) SetData(val OptMultipartFile)

SetData sets the value of Data.

type InsertMapFileRecordsRes

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

type InsertMapFileRecordsUnauthorized

type InsertMapFileRecordsUnauthorized struct{}

InsertMapFileRecordsUnauthorized is response for InsertMapFileRecords operation.

type InsertRecordBadRequest

type InsertRecordBadRequest struct{}

InsertRecordBadRequest is response for InsertRecord operation.

type InsertRecordForbidden

type InsertRecordForbidden struct{}

InsertRecordForbidden is response for InsertRecord operation.

type InsertRecordParams

type InsertRecordParams struct {
	// SQL table.
	Table string
}

InsertRecordParams is parameters of insertRecord operation.

type InsertRecordReq

type InsertRecordReq struct {
	Records []InsertRecordReqRecordsItem `json:"Records"`
}

func (*InsertRecordReq) Decode

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

Decode decodes InsertRecordReq from json.

func (*InsertRecordReq) Encode

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

Encode implements json.Marshaler.

func (*InsertRecordReq) GetRecords

func (s *InsertRecordReq) GetRecords() []InsertRecordReqRecordsItem

GetRecords returns the value of Records.

func (*InsertRecordReq) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsertRecordReq) SetRecords

func (s *InsertRecordReq) SetRecords(val []InsertRecordReqRecordsItem)

SetRecords sets the value of Records.

func (*InsertRecordReq) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InsertRecordReqRecordsItem

type InsertRecordReqRecordsItem map[string]jx.Raw

func (*InsertRecordReqRecordsItem) Decode

Decode decodes InsertRecordReqRecordsItem from json.

func (InsertRecordReqRecordsItem) Encode

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

Encode implements json.Marshaler.

func (InsertRecordReqRecordsItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsertRecordReqRecordsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InsertRecordRes

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

type InsertRecordUnauthorized

type InsertRecordUnauthorized struct{}

InsertRecordUnauthorized is response for InsertRecord operation.

type Invoker

type Invoker interface {
	// Access invokes access operation.
	//
	// Retrieve the list of users who are allowed to access data.
	//
	// GET /admin/access/{role}
	Access(ctx context.Context, params AccessParams) (AccessRes, error)
	// AdaptPermission invokes adaptPermission operation.
	//
	// Add RBAC role.
	//
	// PUT /rest/database/{table}/permission
	AdaptPermission(ctx context.Context, params AdaptPermissionParams) (AdaptPermissionRes, error)
	// AddAccess invokes addAccess operation.
	//
	// Insert user in the list of users who are allowed to access data.
	//
	// POST /admin/access/{role}
	AddAccess(ctx context.Context, params AddAccessParams) (AddAccessRes, error)
	// AddRBACResource invokes addRBACResource operation.
	//
	// Add permission role.
	//
	// PUT /rest/database/{table}/permission/{resource}/{name}
	AddRBACResource(ctx context.Context, params AddRBACResourceParams) (AddRBACResourceRes, error)
	// AddView invokes addView operation.
	//
	// Add configuration in View repositories.
	//
	// POST /config/views
	AddView(ctx context.Context, params AddViewParams) (AddViewRes, error)
	// BatchParameterQuery invokes batchParameterQuery operation.
	//
	// Call a SQL query batch command posted in query.
	//
	// GET /rest/batch/{table}/{query}
	BatchParameterQuery(ctx context.Context, params BatchParameterQueryParams) (BatchParameterQueryRes, error)
	// BatchQuery invokes batchQuery operation.
	//
	// Call a SQL query batch command posted in body.
	//
	// POST /rest/batch/{table}
	BatchQuery(ctx context.Context, request BatchQueryReq, params BatchQueryParams) (BatchQueryRes, error)
	// BatchSelect invokes batchSelect operation.
	//
	// Call a SQL query batch command out of the stored query list.
	//
	// GET /rest/batch/{table}
	BatchSelect(ctx context.Context, params BatchSelectParams) (BatchSelectRes, error)
	// BrowseList invokes browseList operation.
	//
	// Retrieves a list of Browseable locations.
	//
	// GET /rest/file/browse
	BrowseList(ctx context.Context) (BrowseListRes, error)
	// BrowseLocation invokes browseLocation operation.
	//
	// Retrieves a list of files in the defined location.
	//
	// GET /rest/file/browse/{path}
	BrowseLocation(ctx context.Context, params BrowseLocationParams) (BrowseLocationRes, error)
	// CallExtend invokes callExtend operation.
	//
	// Call plugin extend.
	//
	// GET /rest/extend/{path}
	CallExtend(ctx context.Context, params CallExtendParams) (CallExtendRes, error)
	// CallPostExtend invokes callPostExtend operation.
	//
	// Post extend/plugin.
	//
	// POST /rest/extend/{path}
	CallPostExtend(ctx context.Context, request *CallPostExtendReq, params CallPostExtendParams) (CallPostExtendRes, error)
	// CreateDirectory invokes createDirectory operation.
	//
	// Create a new directory.
	//
	// PUT /rest/file/{path}
	CreateDirectory(ctx context.Context, params CreateDirectoryParams) (CreateDirectoryRes, error)
	// DatabaseOperation invokes databaseOperation operation.
	//
	// Retrieve the current status of database with the given dbid.
	//
	// GET /rest/database/{table_operation}
	DatabaseOperation(ctx context.Context, params DatabaseOperationParams) (DatabaseOperationRes, error)
	// DatabasePostOperations invokes databasePostOperations operation.
	//
	// Initiate operations on the given dbid.
	//
	// POST /rest/database/{table_operation}
	DatabasePostOperations(ctx context.Context, params DatabasePostOperationsParams) (DatabasePostOperationsRes, error)
	// DelAccess invokes delAccess operation.
	//
	// Delete user in the list of users who are allowed to access data.
	//
	// DELETE /admin/access/{role}
	DelAccess(ctx context.Context, params DelAccessParams) (DelAccessRes, error)
	// DeleteDatabase invokes deleteDatabase operation.
	//
	// Delete the database.
	//
	// DELETE /rest/database/{table_operation}
	DeleteDatabase(ctx context.Context, params DeleteDatabaseParams) (DeleteDatabaseRes, error)
	// DeleteExtend invokes deleteExtend operation.
	//
	// Delete extend/plugin data.
	//
	// DELETE /rest/extend/{path}
	DeleteExtend(ctx context.Context, params DeleteExtendParams) (DeleteExtendRes, error)
	// DeleteFileLocation invokes deleteFileLocation operation.
	//
	// Delete the file on the given location.
	//
	// DELETE /rest/file/{path}
	DeleteFileLocation(ctx context.Context, params DeleteFileLocationParams) (DeleteFileLocationRes, error)
	// DeleteJobResult invokes deleteJobResult operation.
	//
	// Delete a specific job result.
	//
	// DELETE /rest/tasks/{jobName}/{jobId}
	DeleteJobResult(ctx context.Context, params DeleteJobResultParams) (DeleteJobResultRes, error)
	// DeleteRBACResource invokes deleteRBACResource operation.
	//
	// Delete RBAC role.
	//
	// DELETE /rest/database/{table}/permission/{resource}/{name}
	DeleteRBACResource(ctx context.Context, params DeleteRBACResourceParams) (DeleteRBACResourceRes, error)
	// DeleteRecordsSearched invokes deleteRecordsSearched operation.
	//
	// Delete a record with a given search.
	//
	// DELETE /rest/view/{table}/{search}
	DeleteRecordsSearched(ctx context.Context, params DeleteRecordsSearchedParams) (DeleteRecordsSearchedRes, error)
	// DeleteView invokes deleteView operation.
	//
	// Delete entry in configuration.
	//
	// DELETE /config/views
	DeleteView(ctx context.Context, params DeleteViewParams) (DeleteViewRes, error)
	// DisconnectTCP invokes disconnectTCP operation.
	//
	// Disconnect connection in the database with the given dbid.
	//
	// DELETE /rest/database/{table}/connection
	DisconnectTCP(ctx context.Context, params DisconnectTCPParams) (DisconnectTCPRes, error)
	// DownloadFile invokes downloadFile operation.
	//
	// Download a file out of file location.
	//
	// GET /rest/file/{path}
	DownloadFile(ctx context.Context, params DownloadFileParams) (DownloadFileRes, error)
	// GetConfig invokes getConfig operation.
	//
	// Get configuration.
	//
	// GET /config
	GetConfig(ctx context.Context) (GetConfigRes, error)
	// GetConnections invokes getConnections operation.
	//
	// Retrieve the current TCP connection.
	//
	// GET /rest/database/{table}/connection
	GetConnections(ctx context.Context, params GetConnectionsParams) (GetConnectionsRes, error)
	// GetDatabaseSessions invokes getDatabaseSessions operation.
	//
	// Retrieve a list of user queue entries.
	//
	// GET /rest/database/{table}/sessions
	GetDatabaseSessions(ctx context.Context, params GetDatabaseSessionsParams) (GetDatabaseSessionsRes, error)
	// GetDatabaseStats invokes getDatabaseStats operation.
	//
	// Retrieve SQL statistics.
	//
	// GET /rest/database/{table}/stats
	GetDatabaseStats(ctx context.Context, params GetDatabaseStatsParams) (GetDatabaseStatsRes, error)
	// GetDatabases invokes getDatabases operation.
	//
	// Retrieves a list of databases known by Interface.
	//
	// GET /rest/database
	GetDatabases(ctx context.Context) (GetDatabasesRes, error)
	// GetEnvironments invokes getEnvironments operation.
	//
	// Retrieves the list of environments.
	//
	// GET /rest/env
	GetEnvironments(ctx context.Context) (GetEnvironmentsRes, error)
	// GetFields invokes getFields operation.
	//
	// Retrieves all fields of an file.
	//
	// GET /rest/tables/{table}/fields
	GetFields(ctx context.Context, params GetFieldsParams) (GetFieldsRes, error)
	// GetImage invokes getImage operation.
	//
	// Retrieves a field of a specific ISN of a Map definition.
	//
	// GET /image/{table}/{field}/{search}
	GetImage(ctx context.Context, params GetImageParams) (GetImageRes, error)
	// GetJobExecutionResult invokes getJobExecutionResult operation.
	//
	// Retrieves a specific job result.
	//
	// GET /rest/tasks/results
	GetJobExecutionResult(ctx context.Context, params GetJobExecutionResultParams) (GetJobExecutionResultRes, error)
	// GetJobFullInfo invokes getJobFullInfo operation.
	//
	// Retrieves a full job definition.
	//
	// GET /rest/tasks/{jobName}
	GetJobFullInfo(ctx context.Context, params GetJobFullInfoParams) (GetJobFullInfoRes, error)
	// GetJobResult invokes getJobResult operation.
	//
	// Delete a specific job result.
	//
	// GET /rest/tasks/{jobName}/{jobId}
	GetJobResult(ctx context.Context, params GetJobResultParams) (GetJobResultRes, error)
	// GetJobs invokes getJobs operation.
	//
	// Retrieves a list of jobs known by the Interface.
	//
	// GET /rest/tasks
	GetJobs(ctx context.Context, params GetJobsParams) (GetJobsRes, error)
	// GetJobsConfig invokes getJobsConfig operation.
	//
	// Read job configuration section.
	//
	// GET /config/jobs
	GetJobsConfig(ctx context.Context) (GetJobsConfigRes, error)
	// GetLobByMap invokes getLobByMap operation.
	//
	// Retrieves a lob of a specific ISN of an field in a Map.
	//
	// GET /binary/{table}/{field}/{search}
	GetLobByMap(ctx context.Context, params GetLobByMapParams) (GetLobByMapRes, error)
	// GetLoginSession invokes getLoginSession operation.
	//
	// Login receiving JWT.
	//
	// GET /login
	GetLoginSession(ctx context.Context) (GetLoginSessionRes, error)
	// GetMapMetadata invokes getMapMetadata operation.
	//
	// Retrieves metadata of a Map definition.
	//
	// GET /rest/metadata/view/{table}
	GetMapMetadata(ctx context.Context, params GetMapMetadataParams) (GetMapMetadataRes, error)
	// GetMapRecordsFields invokes getMapRecordsFields operation.
	//
	// Retrieves a field of a specific ISN of a Map definition.
	//
	// GET /rest/view/{table}/{fields}/{search}
	GetMapRecordsFields(ctx context.Context, params GetMapRecordsFieldsParams) (GetMapRecordsFieldsRes, error)
	// GetMaps invokes getMaps operation.
	//
	// Retrieves a list of available views.
	//
	// GET /rest/view
	GetMaps(ctx context.Context) (GetMapsRes, error)
	// GetPermission invokes getPermission operation.
	//
	// List RBAC assignments permission.
	//
	// GET /rest/database/{table}/permission
	GetPermission(ctx context.Context, params GetPermissionParams) (GetPermissionRes, error)
	// GetUserInfo invokes getUserInfo operation.
	//
	// Retrieves the user information.
	//
	// GET /rest/user
	GetUserInfo(ctx context.Context) (GetUserInfoRes, error)
	// GetVersion invokes getVersion operation.
	//
	// Retrieves the current version.
	//
	// GET /version
	GetVersion(ctx context.Context) (GetVersionRes, error)
	// GetVideo invokes getVideo operation.
	//
	// Retrieves a video stream of a specific ISN of a Map definition.
	//
	// GET /video/{table}/{field}/{search}
	GetVideo(ctx context.Context, params GetVideoParams) (GetVideoRes, error)
	// GetViews invokes getViews operation.
	//
	// Defines the current views.
	//
	// GET /config/views
	GetViews(ctx context.Context) (GetViewsRes, error)
	// InsertMapFileRecords invokes insertMapFileRecords operation.
	//
	// Store send records into Map definition.
	//
	// POST /rest/view
	InsertMapFileRecords(ctx context.Context, request OptInsertMapFileRecordsReq) (InsertMapFileRecordsRes, error)
	// InsertRecord invokes insertRecord operation.
	//
	// Insert given record.
	//
	// POST /rest/view/{table}
	InsertRecord(ctx context.Context, request OptInsertRecordReq, params InsertRecordParams) (InsertRecordRes, error)
	// ListModelling invokes listModelling operation.
	//
	// Retrieves all tables, views or data representation objects.
	//
	// GET /rest/map
	ListModelling(ctx context.Context) (ListModellingRes, error)
	// ListRBACResource invokes listRBACResource operation.
	//
	// Add permission role.
	//
	// GET /rest/database/{table}/permission/{resource}
	ListRBACResource(ctx context.Context, params ListRBACResourceParams) (ListRBACResourceRes, error)
	// ListTables invokes listTables operation.
	//
	// Retrieves all tables of databases.
	//
	// GET /rest/tables
	ListTables(ctx context.Context) (ListTablesRes, error)
	// LoginSession invokes loginSession operation.
	//
	// Login receiving JWT.
	//
	// PUT /login
	LoginSession(ctx context.Context) (LoginSessionRes, error)
	// LogoutSessionCompat invokes logoutSessionCompat operation.
	//
	// Logout the session.
	//
	// PUT /logout
	LogoutSessionCompat(ctx context.Context) (LogoutSessionCompatRes, error)
	// PostDatabase invokes postDatabase operation.
	//
	// Create a new database, the input need to be JSON. A structure level parameter indicate version to
	// be used.
	//
	// POST /rest/database
	PostDatabase(ctx context.Context, request *Database) (PostDatabaseRes, error)
	// PostJob invokes postJob operation.
	//
	// Create a new Job database.
	//
	// POST /rest/tasks
	PostJob(ctx context.Context, request PostJobReq) (PostJobRes, error)
	// PushLoginSession invokes pushLoginSession operation.
	//
	// Login receiving JWT.
	//
	// POST /login
	PushLoginSession(ctx context.Context) (PushLoginSessionRes, error)
	// PutDatabaseResource invokes putDatabaseResource operation.
	//
	// Change resource of the database.
	//
	// PUT /rest/database/{table_operation}
	PutDatabaseResource(ctx context.Context, params PutDatabaseResourceParams) (PutDatabaseResourceRes, error)
	// RemovePermission invokes removePermission operation.
	//
	// Add RBAC role.
	//
	// DELETE /rest/database/{table}/permission
	RemovePermission(ctx context.Context, params RemovePermissionParams) (RemovePermissionRes, error)
	// RemoveSessionCompat invokes removeSessionCompat operation.
	//
	// Remove the session.
	//
	// GET /logoff
	RemoveSessionCompat(ctx context.Context) (RemoveSessionCompatRes, error)
	// SearchModelling invokes searchModelling operation.
	//
	// Retrieves all columns, fields of a tables, views or data representation.
	//
	// GET /rest/map/{path}
	SearchModelling(ctx context.Context, params SearchModellingParams) (SearchModellingRes, error)
	// SearchRecordsFields invokes searchRecordsFields operation.
	//
	// Query a record with a given SQL query.
	//
	// GET /rest/view/{table}/{search}
	SearchRecordsFields(ctx context.Context, params SearchRecordsFieldsParams) (SearchRecordsFieldsRes, error)
	// SearchTable invokes searchTable operation.
	//
	// Retrieves all fields of an file.
	//
	// GET /rest/tables/{table}/{fields}/{search}
	SearchTable(ctx context.Context, params SearchTableParams) (SearchTableRes, error)
	// SetConfig invokes setConfig operation.
	//
	// Store configuration.
	//
	// PUT /config
	SetConfig(ctx context.Context, request SetConfigReq) (SetConfigRes, error)
	// SetJobsConfig invokes setJobsConfig operation.
	//
	// Set the ADADATADIR.
	//
	// PUT /config/jobs
	SetJobsConfig(ctx context.Context, request OptJobStore) (SetJobsConfigRes, error)
	// ShutdownServer invokes shutdownServer operation.
	//
	// Init shutdown procedure.
	//
	// PUT /rest/shutdown/{hash}
	ShutdownServer(ctx context.Context, params ShutdownServerParams) (ShutdownServerRes, error)
	// StoreConfig invokes storeConfig operation.
	//
	// Store configuration.
	//
	// POST /config
	StoreConfig(ctx context.Context) (StoreConfigRes, error)
	// TriggerExtend invokes triggerExtend operation.
	//
	// Put extend/plugin request.
	//
	// PUT /rest/extend/{path}
	TriggerExtend(ctx context.Context, params TriggerExtendParams) (TriggerExtendRes, error)
	// TriggerJob invokes triggerJob operation.
	//
	// Trigger a job.
	//
	// PUT /rest/tasks/{jobName}
	TriggerJob(ctx context.Context, params TriggerJobParams) (TriggerJobRes, error)
	// UpdateLobByMap invokes updateLobByMap operation.
	//
	// Set a lob at a specific ISN of an field in a Map.
	//
	// PUT /binary/{table}/{field}/{search}
	UpdateLobByMap(ctx context.Context, request UpdateLobByMapReq, params UpdateLobByMapParams) (UpdateLobByMapRes, error)
	// UpdateRecordsByFields invokes updateRecordsByFields operation.
	//
	// Update a record dependent on field(s) of a specific table.
	//
	// PUT /rest/view/{table}/{search}
	UpdateRecordsByFields(ctx context.Context, request OptUpdateRecordsByFieldsReq, params UpdateRecordsByFieldsParams) (UpdateRecordsByFieldsRes, error)
	// UploadFile invokes uploadFile operation.
	//
	// Upload a new file to the given location.
	//
	// POST /rest/file/{path}
	UploadFile(ctx context.Context, request *UploadFileReq, params UploadFileParams) (UploadFileRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type Job

type Job struct {
	Description  OptString             `json:"Description"`
	Environments []JobEnvironmentsItem `json:"Environments"`
	Name         OptString             `json:"Name"`
	Parameters   []JobParametersItem   `json:"Parameters"`
	Script       OptString             `json:"Script"`
	User         OptString             `json:"User"`
	Utility      OptString             `json:"Utility"`
	CronSchedule OptString             `json:"CronSchedule"`
}

Ref: #/components/schemas/Job

func (*Job) Decode

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

Decode decodes Job from json.

func (*Job) Encode

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

Encode implements json.Marshaler.

func (*Job) GetCronSchedule

func (s *Job) GetCronSchedule() OptString

GetCronSchedule returns the value of CronSchedule.

func (*Job) GetDescription

func (s *Job) GetDescription() OptString

GetDescription returns the value of Description.

func (*Job) GetEnvironments

func (s *Job) GetEnvironments() []JobEnvironmentsItem

GetEnvironments returns the value of Environments.

func (*Job) GetName

func (s *Job) GetName() OptString

GetName returns the value of Name.

func (*Job) GetParameters

func (s *Job) GetParameters() []JobParametersItem

GetParameters returns the value of Parameters.

func (*Job) GetScript

func (s *Job) GetScript() OptString

GetScript returns the value of Script.

func (*Job) GetUser

func (s *Job) GetUser() OptString

GetUser returns the value of User.

func (*Job) GetUtility

func (s *Job) GetUtility() OptString

GetUtility returns the value of Utility.

func (*Job) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Job) SetCronSchedule

func (s *Job) SetCronSchedule(val OptString)

SetCronSchedule sets the value of CronSchedule.

func (*Job) SetDescription

func (s *Job) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Job) SetEnvironments

func (s *Job) SetEnvironments(val []JobEnvironmentsItem)

SetEnvironments sets the value of Environments.

func (*Job) SetName

func (s *Job) SetName(val OptString)

SetName sets the value of Name.

func (*Job) SetParameters

func (s *Job) SetParameters(val []JobParametersItem)

SetParameters sets the value of Parameters.

func (*Job) SetScript

func (s *Job) SetScript(val OptString)

SetScript sets the value of Script.

func (*Job) SetUser

func (s *Job) SetUser(val OptString)

SetUser sets the value of User.

func (*Job) SetUtility

func (s *Job) SetUtility(val OptString)

SetUtility sets the value of Utility.

func (*Job) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobDefinition

type JobDefinition struct {
	Executions []Executions `json:"Executions"`
	Job        OptJob       `json:"Job"`
	Status     OptString    `json:"Status"`
}

Ref: #/components/schemas/JobDefinition

func (*JobDefinition) Decode

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

Decode decodes JobDefinition from json.

func (*JobDefinition) Encode

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

Encode implements json.Marshaler.

func (*JobDefinition) GetExecutions

func (s *JobDefinition) GetExecutions() []Executions

GetExecutions returns the value of Executions.

func (*JobDefinition) GetJob

func (s *JobDefinition) GetJob() OptJob

GetJob returns the value of Job.

func (*JobDefinition) GetStatus

func (s *JobDefinition) GetStatus() OptString

GetStatus returns the value of Status.

func (*JobDefinition) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobDefinition) SetExecutions

func (s *JobDefinition) SetExecutions(val []Executions)

SetExecutions sets the value of Executions.

func (*JobDefinition) SetJob

func (s *JobDefinition) SetJob(val OptJob)

SetJob sets the value of Job.

func (*JobDefinition) SetStatus

func (s *JobDefinition) SetStatus(val OptString)

SetStatus sets the value of Status.

func (*JobDefinition) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobDefinition) Validate

func (s *JobDefinition) Validate() error

type JobDescription

type JobDescription struct {
	CronSchedule OptString                        `json:"CronSchedule"`
	Description  OptString                        `json:"Description"`
	Environments []JobDescriptionEnvironmentsItem `json:"Environments"`
	Name         OptString                        `json:"Name"`
	Parameters   []JobDescriptionParametersItem   `json:"Parameters"`
	Script       OptString                        `json:"Script"`
	User         OptString                        `json:"User"`
	Utility      OptString                        `json:"Utility"`
}

Ref: #/components/schemas/JobDescription

func (*JobDescription) Decode

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

Decode decodes JobDescription from json.

func (*JobDescription) Encode

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

Encode implements json.Marshaler.

func (*JobDescription) GetCronSchedule

func (s *JobDescription) GetCronSchedule() OptString

GetCronSchedule returns the value of CronSchedule.

func (*JobDescription) GetDescription

func (s *JobDescription) GetDescription() OptString

GetDescription returns the value of Description.

func (*JobDescription) GetEnvironments

func (s *JobDescription) GetEnvironments() []JobDescriptionEnvironmentsItem

GetEnvironments returns the value of Environments.

func (*JobDescription) GetName

func (s *JobDescription) GetName() OptString

GetName returns the value of Name.

func (*JobDescription) GetParameters

func (s *JobDescription) GetParameters() []JobDescriptionParametersItem

GetParameters returns the value of Parameters.

func (*JobDescription) GetScript

func (s *JobDescription) GetScript() OptString

GetScript returns the value of Script.

func (*JobDescription) GetUser

func (s *JobDescription) GetUser() OptString

GetUser returns the value of User.

func (*JobDescription) GetUtility

func (s *JobDescription) GetUtility() OptString

GetUtility returns the value of Utility.

func (*JobDescription) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobDescription) SetCronSchedule

func (s *JobDescription) SetCronSchedule(val OptString)

SetCronSchedule sets the value of CronSchedule.

func (*JobDescription) SetDescription

func (s *JobDescription) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*JobDescription) SetEnvironments

func (s *JobDescription) SetEnvironments(val []JobDescriptionEnvironmentsItem)

SetEnvironments sets the value of Environments.

func (*JobDescription) SetName

func (s *JobDescription) SetName(val OptString)

SetName sets the value of Name.

func (*JobDescription) SetParameters

func (s *JobDescription) SetParameters(val []JobDescriptionParametersItem)

SetParameters sets the value of Parameters.

func (*JobDescription) SetScript

func (s *JobDescription) SetScript(val OptString)

SetScript sets the value of Script.

func (*JobDescription) SetUser

func (s *JobDescription) SetUser(val OptString)

SetUser sets the value of User.

func (*JobDescription) SetUtility

func (s *JobDescription) SetUtility(val OptString)

SetUtility sets the value of Utility.

func (*JobDescription) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobDescriptionEnvironmentsItem

type JobDescriptionEnvironmentsItem struct {
	Parameter OptString `json:"Parameter"`
}

func (*JobDescriptionEnvironmentsItem) Decode

Decode decodes JobDescriptionEnvironmentsItem from json.

func (*JobDescriptionEnvironmentsItem) Encode

Encode implements json.Marshaler.

func (*JobDescriptionEnvironmentsItem) GetParameter

func (s *JobDescriptionEnvironmentsItem) GetParameter() OptString

GetParameter returns the value of Parameter.

func (*JobDescriptionEnvironmentsItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobDescriptionEnvironmentsItem) SetParameter

func (s *JobDescriptionEnvironmentsItem) SetParameter(val OptString)

SetParameter sets the value of Parameter.

func (*JobDescriptionEnvironmentsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobDescriptionParametersItem

type JobDescriptionParametersItem struct {
	Parameter OptString `json:"Parameter"`
}

func (*JobDescriptionParametersItem) Decode

Decode decodes JobDescriptionParametersItem from json.

func (*JobDescriptionParametersItem) Encode

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

Encode implements json.Marshaler.

func (*JobDescriptionParametersItem) GetParameter

func (s *JobDescriptionParametersItem) GetParameter() OptString

GetParameter returns the value of Parameter.

func (*JobDescriptionParametersItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobDescriptionParametersItem) SetParameter

func (s *JobDescriptionParametersItem) SetParameter(val OptString)

SetParameter sets the value of Parameter.

func (*JobDescriptionParametersItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobEnvironmentsItem

type JobEnvironmentsItem struct {
	Parameter OptString `json:"Parameter"`
}

func (*JobEnvironmentsItem) Decode

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

Decode decodes JobEnvironmentsItem from json.

func (*JobEnvironmentsItem) Encode

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

Encode implements json.Marshaler.

func (*JobEnvironmentsItem) GetParameter

func (s *JobEnvironmentsItem) GetParameter() OptString

GetParameter returns the value of Parameter.

func (*JobEnvironmentsItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobEnvironmentsItem) SetParameter

func (s *JobEnvironmentsItem) SetParameter(val OptString)

SetParameter sets the value of Parameter.

func (*JobEnvironmentsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobFull

type JobFull struct {
	Job OptJobDefinition `json:"Job"`
}

Ref: #/components/schemas/JobFull

func (*JobFull) Decode

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

Decode decodes JobFull from json.

func (*JobFull) Encode

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

Encode implements json.Marshaler.

func (*JobFull) GetJob

func (s *JobFull) GetJob() OptJobDefinition

GetJob returns the value of Job.

func (*JobFull) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobFull) SetJob

func (s *JobFull) SetJob(val OptJobDefinition)

SetJob sets the value of Job.

func (*JobFull) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobFull) Validate

func (s *JobFull) Validate() error

type JobParameter

type JobParameter struct {
	Job OptJobDescription `json:"Job"`
}

Ref: #/components/schemas/JobParameter

func (*JobParameter) Decode

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

Decode decodes JobParameter from json.

func (*JobParameter) Encode

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

Encode implements json.Marshaler.

func (*JobParameter) GetJob

func (s *JobParameter) GetJob() OptJobDescription

GetJob returns the value of Job.

func (*JobParameter) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobParameter) SetJob

func (s *JobParameter) SetJob(val OptJobDescription)

SetJob sets the value of Job.

func (*JobParameter) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobParametersItem

type JobParametersItem struct {
	Parameter OptString `json:"Parameter"`
}

func (*JobParametersItem) Decode

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

Decode decodes JobParametersItem from json.

func (*JobParametersItem) Encode

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

Encode implements json.Marshaler.

func (*JobParametersItem) GetParameter

func (s *JobParametersItem) GetParameter() OptString

GetParameter returns the value of Parameter.

func (*JobParametersItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobParametersItem) SetParameter

func (s *JobParametersItem) SetParameter(val OptString)

SetParameter sets the value of Parameter.

func (*JobParametersItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobResult

type JobResult struct {
	JobResult OptJobResultJobResult `json:"JobResult"`
}

Ref: #/components/schemas/JobResult

func (*JobResult) Decode

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

Decode decodes JobResult from json.

func (*JobResult) Encode

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

Encode implements json.Marshaler.

func (*JobResult) GetJobResult

func (s *JobResult) GetJobResult() OptJobResultJobResult

GetJobResult returns the value of JobResult.

func (*JobResult) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobResult) SetJobResult

func (s *JobResult) SetJobResult(val OptJobResultJobResult)

SetJobResult sets the value of JobResult.

func (*JobResult) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobResult) Validate

func (s *JobResult) Validate() error

type JobResultJobResult

type JobResultJobResult struct {
	Description OptString   `json:"Description"`
	Ended       OptDateTime `json:"Ended"`
	ExitCode    OptFloat64  `json:"ExitCode"`
	ID          OptFloat64  `json:"Id"`
	Log         OptString   `json:"Log"`
	Name        OptString   `json:"Name"`
	Scheduled   OptDateTime `json:"Scheduled"`
	StartedBy   OptString   `json:"StartedBy"`
	Status      OptString   `json:"Status"`
}

func (*JobResultJobResult) Decode

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

Decode decodes JobResultJobResult from json.

func (*JobResultJobResult) Encode

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

Encode implements json.Marshaler.

func (*JobResultJobResult) GetDescription

func (s *JobResultJobResult) GetDescription() OptString

GetDescription returns the value of Description.

func (*JobResultJobResult) GetEnded

func (s *JobResultJobResult) GetEnded() OptDateTime

GetEnded returns the value of Ended.

func (*JobResultJobResult) GetExitCode

func (s *JobResultJobResult) GetExitCode() OptFloat64

GetExitCode returns the value of ExitCode.

func (*JobResultJobResult) GetID

func (s *JobResultJobResult) GetID() OptFloat64

GetID returns the value of ID.

func (*JobResultJobResult) GetLog

func (s *JobResultJobResult) GetLog() OptString

GetLog returns the value of Log.

func (*JobResultJobResult) GetName

func (s *JobResultJobResult) GetName() OptString

GetName returns the value of Name.

func (*JobResultJobResult) GetScheduled

func (s *JobResultJobResult) GetScheduled() OptDateTime

GetScheduled returns the value of Scheduled.

func (*JobResultJobResult) GetStartedBy

func (s *JobResultJobResult) GetStartedBy() OptString

GetStartedBy returns the value of StartedBy.

func (*JobResultJobResult) GetStatus

func (s *JobResultJobResult) GetStatus() OptString

GetStatus returns the value of Status.

func (*JobResultJobResult) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobResultJobResult) SetDescription

func (s *JobResultJobResult) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*JobResultJobResult) SetEnded

func (s *JobResultJobResult) SetEnded(val OptDateTime)

SetEnded sets the value of Ended.

func (*JobResultJobResult) SetExitCode

func (s *JobResultJobResult) SetExitCode(val OptFloat64)

SetExitCode sets the value of ExitCode.

func (*JobResultJobResult) SetID

func (s *JobResultJobResult) SetID(val OptFloat64)

SetID sets the value of ID.

func (*JobResultJobResult) SetLog

func (s *JobResultJobResult) SetLog(val OptString)

SetLog sets the value of Log.

func (*JobResultJobResult) SetName

func (s *JobResultJobResult) SetName(val OptString)

SetName sets the value of Name.

func (*JobResultJobResult) SetScheduled

func (s *JobResultJobResult) SetScheduled(val OptDateTime)

SetScheduled sets the value of Scheduled.

func (*JobResultJobResult) SetStartedBy

func (s *JobResultJobResult) SetStartedBy(val OptString)

SetStartedBy sets the value of StartedBy.

func (*JobResultJobResult) SetStatus

func (s *JobResultJobResult) SetStatus(val OptString)

SetStatus sets the value of Status.

func (*JobResultJobResult) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobResultJobResult) Validate

func (s *JobResultJobResult) Validate() error

type JobStatusResponse

type JobStatusResponse struct {
	Status OptJobStatusResponseStatus `json:"Status"`
}

Ref: #/components/schemas/JobStatusResponse

func (*JobStatusResponse) Decode

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

Decode decodes JobStatusResponse from json.

func (*JobStatusResponse) Encode

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

Encode implements json.Marshaler.

func (*JobStatusResponse) GetStatus

GetStatus returns the value of Status.

func (*JobStatusResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobStatusResponse) SetStatus

SetStatus sets the value of Status.

func (*JobStatusResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobStatusResponseStatus

type JobStatusResponseStatus struct {
	Action      OptString `json:"Action"`
	ExecutionId OptInt    `json:"ExecutionId"`
	Message     OptString `json:"Message"`
	Name        OptString `json:"Name"`
}

func (*JobStatusResponseStatus) Decode

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

Decode decodes JobStatusResponseStatus from json.

func (*JobStatusResponseStatus) Encode

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

Encode implements json.Marshaler.

func (*JobStatusResponseStatus) GetAction

func (s *JobStatusResponseStatus) GetAction() OptString

GetAction returns the value of Action.

func (*JobStatusResponseStatus) GetExecutionId

func (s *JobStatusResponseStatus) GetExecutionId() OptInt

GetExecutionId returns the value of ExecutionId.

func (*JobStatusResponseStatus) GetMessage

func (s *JobStatusResponseStatus) GetMessage() OptString

GetMessage returns the value of Message.

func (*JobStatusResponseStatus) GetName

func (s *JobStatusResponseStatus) GetName() OptString

GetName returns the value of Name.

func (*JobStatusResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobStatusResponseStatus) SetAction

func (s *JobStatusResponseStatus) SetAction(val OptString)

SetAction sets the value of Action.

func (*JobStatusResponseStatus) SetExecutionId

func (s *JobStatusResponseStatus) SetExecutionId(val OptInt)

SetExecutionId sets the value of ExecutionId.

func (*JobStatusResponseStatus) SetMessage

func (s *JobStatusResponseStatus) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*JobStatusResponseStatus) SetName

func (s *JobStatusResponseStatus) SetName(val OptString)

SetName sets the value of Name.

func (*JobStatusResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type JobStore

type JobStore struct {
	Config   OptString         `json:"config"`
	Database OptDatabaseConfig `json:"Database"`
}

Ref: #/components/schemas/JobStore

func (*JobStore) Decode

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

Decode decodes JobStore from json.

func (*JobStore) Encode

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

Encode implements json.Marshaler.

func (*JobStore) GetConfig

func (s *JobStore) GetConfig() OptString

GetConfig returns the value of Config.

func (*JobStore) GetDatabase

func (s *JobStore) GetDatabase() OptDatabaseConfig

GetDatabase returns the value of Database.

func (*JobStore) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobStore) SetConfig

func (s *JobStore) SetConfig(val OptString)

SetConfig sets the value of Config.

func (*JobStore) SetDatabase

func (s *JobStore) SetDatabase(val OptDatabaseConfig)

SetDatabase sets the value of Database.

func (*JobStore) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobStore) Validate

func (s *JobStore) Validate() error

type JobsList

type JobsList struct {
	JobDefinition []JobDefinition `json:"JobDefinition"`
}

Ref: #/components/schemas/JobsList

func (*JobsList) Decode

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

Decode decodes JobsList from json.

func (*JobsList) Encode

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

Encode implements json.Marshaler.

func (*JobsList) GetJobDefinition

func (s *JobsList) GetJobDefinition() []JobDefinition

GetJobDefinition returns the value of JobDefinition.

func (*JobsList) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*JobsList) SetJobDefinition

func (s *JobsList) SetJobDefinition(val []JobDefinition)

SetJobDefinition sets the value of JobDefinition.

func (*JobsList) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobsList) Validate

func (s *JobsList) Validate() error

type ListModellingBadRequest

type ListModellingBadRequest Error

func (*ListModellingBadRequest) Decode

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

Decode decodes ListModellingBadRequest from json.

func (*ListModellingBadRequest) Encode

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

Encode encodes ListModellingBadRequest as json.

func (*ListModellingBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListModellingBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListModellingForbidden

type ListModellingForbidden struct{}

ListModellingForbidden is response for ListModelling operation.

type ListModellingNotFound

type ListModellingNotFound Error

func (*ListModellingNotFound) Decode

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

Decode decodes ListModellingNotFound from json.

func (*ListModellingNotFound) Encode

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

Encode encodes ListModellingNotFound as json.

func (*ListModellingNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListModellingNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListModellingRes

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

type ListModellingUnauthorized

type ListModellingUnauthorized struct{}

ListModellingUnauthorized is response for ListModelling operation.

type ListRBACResourceForbidden

type ListRBACResourceForbidden struct{}

ListRBACResourceForbidden is response for ListRBACResource operation.

type ListRBACResourceOK

type ListRBACResourceOK struct{}

ListRBACResourceOK is response for ListRBACResource operation.

type ListRBACResourceParams

type ListRBACResourceParams struct {
	// SQL table.
	Table string
	// Permission type.
	Resource ListRBACResourceResource
}

ListRBACResourceParams is parameters of listRBACResource operation.

type ListRBACResourceRes

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

type ListRBACResourceResource

type ListRBACResourceResource string
const (
	ListRBACResourceResource_Role      ListRBACResourceResource = "Role"
	ListRBACResourceResource_role      ListRBACResourceResource = "role"
	ListRBACResourceResource_ROLE      ListRBACResourceResource = "ROLE"
	ListRBACResourceResource_Object    ListRBACResourceResource = "Object"
	ListRBACResourceResource_object    ListRBACResourceResource = "object"
	ListRBACResourceResource_OBJECT    ListRBACResourceResource = "OBJECT"
	ListRBACResourceResource_User      ListRBACResourceResource = "User"
	ListRBACResourceResource_user      ListRBACResourceResource = "user"
	ListRBACResourceResource_USER      ListRBACResourceResource = "USER"
	ListRBACResourceResource_Operation ListRBACResourceResource = "Operation"
	ListRBACResourceResource_operation ListRBACResourceResource = "operation"
	ListRBACResourceResource_OPERATION ListRBACResourceResource = "OPERATION"
)

func (ListRBACResourceResource) AllValues

AllValues returns all ListRBACResourceResource values.

func (ListRBACResourceResource) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ListRBACResourceResource) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ListRBACResourceResource) Validate

func (s ListRBACResourceResource) Validate() error

type ListRBACResourceUnauthorized

type ListRBACResourceUnauthorized struct{}

ListRBACResourceUnauthorized is response for ListRBACResource operation.

type ListTablesBadRequest

type ListTablesBadRequest Error

func (*ListTablesBadRequest) Decode

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

Decode decodes ListTablesBadRequest from json.

func (*ListTablesBadRequest) Encode

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

Encode encodes ListTablesBadRequest as json.

func (*ListTablesBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTablesBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTablesForbidden

type ListTablesForbidden struct{}

ListTablesForbidden is response for ListTables operation.

type ListTablesNotFound

type ListTablesNotFound Error

func (*ListTablesNotFound) Decode

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

Decode decodes ListTablesNotFound from json.

func (*ListTablesNotFound) Encode

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

Encode encodes ListTablesNotFound as json.

func (*ListTablesNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListTablesNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTablesRes

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

type ListTablesUnauthorized

type ListTablesUnauthorized struct{}

ListTablesUnauthorized is response for ListTables operation.

type LoginSessionForbidden

type LoginSessionForbidden struct{}

LoginSessionForbidden is response for LoginSession operation.

type LoginSessionRes

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

type LoginSessionUnauthorized

type LoginSessionUnauthorized struct{}

LoginSessionUnauthorized is response for LoginSession operation.

type LogoutSessionCompatBadRequest

type LogoutSessionCompatBadRequest Error

func (*LogoutSessionCompatBadRequest) Decode

Decode decodes LogoutSessionCompatBadRequest from json.

func (*LogoutSessionCompatBadRequest) Encode

Encode encodes LogoutSessionCompatBadRequest as json.

func (*LogoutSessionCompatBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LogoutSessionCompatBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type LogoutSessionCompatNotFound

type LogoutSessionCompatNotFound Error

func (*LogoutSessionCompatNotFound) Decode

Decode decodes LogoutSessionCompatNotFound from json.

func (*LogoutSessionCompatNotFound) Encode

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

Encode encodes LogoutSessionCompatNotFound as json.

func (*LogoutSessionCompatNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LogoutSessionCompatNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type LogoutSessionCompatOK

type LogoutSessionCompatOK struct{}

LogoutSessionCompatOK is response for LogoutSessionCompat operation.

type LogoutSessionCompatRes

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

type Map

type Map string

func (*Map) Decode

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

Decode decodes Map from json.

func (Map) Encode

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

Encode encodes Map as json.

func (Map) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Map) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapField

type MapField struct {
	Name        OptMapFieldName        `json:"name"`
	ShortName   OptMapFieldShortName   `json:"shortName"`
	ContentType OptMapFieldContentType `json:"contentType"`
	Charset     OptMapFieldCharset     `json:"charset"`
	File        OptMapFieldFile        `json:"file"`
	FormatType  OptMapFieldFormatType  `json:"formatType"`
	Length      OptMapFieldLength      `json:"length"`
	FieldType   OptMapFieldFieldType   `json:"fieldType"`
}

Ref: #/components/schemas/MapField

func (*MapField) Decode

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

Decode decodes MapField from json.

func (*MapField) Encode

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

Encode implements json.Marshaler.

func (*MapField) GetCharset

func (s *MapField) GetCharset() OptMapFieldCharset

GetCharset returns the value of Charset.

func (*MapField) GetContentType

func (s *MapField) GetContentType() OptMapFieldContentType

GetContentType returns the value of ContentType.

func (*MapField) GetFieldType

func (s *MapField) GetFieldType() OptMapFieldFieldType

GetFieldType returns the value of FieldType.

func (*MapField) GetFile

func (s *MapField) GetFile() OptMapFieldFile

GetFile returns the value of File.

func (*MapField) GetFormatType

func (s *MapField) GetFormatType() OptMapFieldFormatType

GetFormatType returns the value of FormatType.

func (*MapField) GetLength

func (s *MapField) GetLength() OptMapFieldLength

GetLength returns the value of Length.

func (*MapField) GetName

func (s *MapField) GetName() OptMapFieldName

GetName returns the value of Name.

func (*MapField) GetShortName

func (s *MapField) GetShortName() OptMapFieldShortName

GetShortName returns the value of ShortName.

func (*MapField) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapField) SetCharset

func (s *MapField) SetCharset(val OptMapFieldCharset)

SetCharset sets the value of Charset.

func (*MapField) SetContentType

func (s *MapField) SetContentType(val OptMapFieldContentType)

SetContentType sets the value of ContentType.

func (*MapField) SetFieldType

func (s *MapField) SetFieldType(val OptMapFieldFieldType)

SetFieldType sets the value of FieldType.

func (*MapField) SetFile

func (s *MapField) SetFile(val OptMapFieldFile)

SetFile sets the value of File.

func (*MapField) SetFormatType

func (s *MapField) SetFormatType(val OptMapFieldFormatType)

SetFormatType sets the value of FormatType.

func (*MapField) SetLength

func (s *MapField) SetLength(val OptMapFieldLength)

SetLength sets the value of Length.

func (*MapField) SetName

func (s *MapField) SetName(val OptMapFieldName)

SetName sets the value of Name.

func (*MapField) SetShortName

func (s *MapField) SetShortName(val OptMapFieldShortName)

SetShortName sets the value of ShortName.

func (*MapField) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapFieldCharset

type MapFieldCharset struct {
	Format OptString `json:"format"`
}

func (*MapFieldCharset) Decode

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

Decode decodes MapFieldCharset from json.

func (*MapFieldCharset) Encode

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

Encode implements json.Marshaler.

func (*MapFieldCharset) GetFormat

func (s *MapFieldCharset) GetFormat() OptString

GetFormat returns the value of Format.

func (*MapFieldCharset) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapFieldCharset) SetFormat

func (s *MapFieldCharset) SetFormat(val OptString)

SetFormat sets the value of Format.

func (*MapFieldCharset) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapFieldContentType

type MapFieldContentType struct {
	Format OptString `json:"format"`
}

func (*MapFieldContentType) Decode

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

Decode decodes MapFieldContentType from json.

func (*MapFieldContentType) Encode

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

Encode implements json.Marshaler.

func (*MapFieldContentType) GetFormat

func (s *MapFieldContentType) GetFormat() OptString

GetFormat returns the value of Format.

func (*MapFieldContentType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapFieldContentType) SetFormat

func (s *MapFieldContentType) SetFormat(val OptString)

SetFormat sets the value of Format.

func (*MapFieldContentType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapFieldFieldType

type MapFieldFieldType struct {
	Format OptString `json:"format"`
}

func (*MapFieldFieldType) Decode

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

Decode decodes MapFieldFieldType from json.

func (*MapFieldFieldType) Encode

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

Encode implements json.Marshaler.

func (*MapFieldFieldType) GetFormat

func (s *MapFieldFieldType) GetFormat() OptString

GetFormat returns the value of Format.

func (*MapFieldFieldType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapFieldFieldType) SetFormat

func (s *MapFieldFieldType) SetFormat(val OptString)

SetFormat sets the value of Format.

func (*MapFieldFieldType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapFieldFile

type MapFieldFile struct {
	Format OptInt `json:"format"`
}

func (*MapFieldFile) Decode

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

Decode decodes MapFieldFile from json.

func (*MapFieldFile) Encode

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

Encode implements json.Marshaler.

func (*MapFieldFile) GetFormat

func (s *MapFieldFile) GetFormat() OptInt

GetFormat returns the value of Format.

func (*MapFieldFile) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapFieldFile) SetFormat

func (s *MapFieldFile) SetFormat(val OptInt)

SetFormat sets the value of Format.

func (*MapFieldFile) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapFieldFormatType

type MapFieldFormatType struct {
	Format OptString `json:"format"`
}

func (*MapFieldFormatType) Decode

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

Decode decodes MapFieldFormatType from json.

func (*MapFieldFormatType) Encode

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

Encode implements json.Marshaler.

func (*MapFieldFormatType) GetFormat

func (s *MapFieldFormatType) GetFormat() OptString

GetFormat returns the value of Format.

func (*MapFieldFormatType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapFieldFormatType) SetFormat

func (s *MapFieldFormatType) SetFormat(val OptString)

SetFormat sets the value of Format.

func (*MapFieldFormatType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapFieldLength

type MapFieldLength struct {
	Format OptInt `json:"format"`
}

func (*MapFieldLength) Decode

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

Decode decodes MapFieldLength from json.

func (*MapFieldLength) Encode

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

Encode implements json.Marshaler.

func (*MapFieldLength) GetFormat

func (s *MapFieldLength) GetFormat() OptInt

GetFormat returns the value of Format.

func (*MapFieldLength) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapFieldLength) SetFormat

func (s *MapFieldLength) SetFormat(val OptInt)

SetFormat sets the value of Format.

func (*MapFieldLength) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapFieldName

type MapFieldName struct {
	Format OptString `json:"format"`
}

func (*MapFieldName) Decode

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

Decode decodes MapFieldName from json.

func (*MapFieldName) Encode

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

Encode implements json.Marshaler.

func (*MapFieldName) GetFormat

func (s *MapFieldName) GetFormat() OptString

GetFormat returns the value of Format.

func (*MapFieldName) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapFieldName) SetFormat

func (s *MapFieldName) SetFormat(val OptString)

SetFormat sets the value of Format.

func (*MapFieldName) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MapFieldShortName

type MapFieldShortName struct {
	Format OptString `json:"format"`
}

func (*MapFieldShortName) Decode

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

Decode decodes MapFieldShortName from json.

func (*MapFieldShortName) Encode

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

Encode implements json.Marshaler.

func (*MapFieldShortName) GetFormat

func (s *MapFieldShortName) GetFormat() OptString

GetFormat returns the value of Format.

func (*MapFieldShortName) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MapFieldShortName) SetFormat

func (s *MapFieldShortName) SetFormat(val OptString)

SetFormat sets the value of Format.

func (*MapFieldShortName) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Mapping

type Mapping struct {
	Map    OptMappingMap  `json:"Map"`
	Format *MappingFormat `json:"format"`
}

Ref: #/components/schemas/mapping

func (*Mapping) Decode

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

Decode decodes Mapping from json.

func (*Mapping) Encode

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

Encode implements json.Marshaler.

func (*Mapping) GetFormat

func (s *Mapping) GetFormat() *MappingFormat

GetFormat returns the value of Format.

func (*Mapping) GetMap

func (s *Mapping) GetMap() OptMappingMap

GetMap returns the value of Map.

func (*Mapping) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Mapping) SetFormat

func (s *Mapping) SetFormat(val *MappingFormat)

SetFormat sets the value of Format.

func (*Mapping) SetMap

func (s *Mapping) SetMap(val OptMappingMap)

SetMap sets the value of Map.

func (*Mapping) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MappingFormat

type MappingFormat struct{}

func (*MappingFormat) Decode

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

Decode decodes MappingFormat from json.

func (*MappingFormat) Encode

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

Encode implements json.Marshaler.

func (*MappingFormat) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MappingFormat) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MappingHeaders

type MappingHeaders struct {
	XToken   OptString
	Response Mapping
}

MappingHeaders wraps Mapping with response headers.

func (*MappingHeaders) GetResponse

func (s *MappingHeaders) GetResponse() Mapping

GetResponse returns the value of Response.

func (*MappingHeaders) GetXToken

func (s *MappingHeaders) GetXToken() OptString

GetXToken returns the value of XToken.

func (*MappingHeaders) SetResponse

func (s *MappingHeaders) SetResponse(val Mapping)

SetResponse sets the value of Response.

func (*MappingHeaders) SetXToken

func (s *MappingHeaders) SetXToken(val OptString)

SetXToken sets the value of XToken.

type MappingLocation

type MappingLocation struct {
	Target OptString `json:"target"`
	File   OptInt    `json:"file"`
}

Ref: #/components/schemas/mappingLocation

func (*MappingLocation) Decode

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

Decode decodes MappingLocation from json.

func (*MappingLocation) Encode

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

Encode implements json.Marshaler.

func (*MappingLocation) GetFile

func (s *MappingLocation) GetFile() OptInt

GetFile returns the value of File.

func (*MappingLocation) GetTarget

func (s *MappingLocation) GetTarget() OptString

GetTarget returns the value of Target.

func (*MappingLocation) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MappingLocation) SetFile

func (s *MappingLocation) SetFile(val OptInt)

SetFile sets the value of File.

func (*MappingLocation) SetTarget

func (s *MappingLocation) SetTarget(val OptString)

SetTarget sets the value of Target.

func (*MappingLocation) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MappingMap

type MappingMap struct {
	Name         OptString          `json:"name"`
	LastModified OptDateTime        `json:"lastModified"`
	Isn          OptInt             `json:"isn"`
	Definition   OptMappingLocation `json:"definition"`
	Data         OptMappingLocation `json:"data"`
	Fields       []MapField         `json:"fields"`
}

func (*MappingMap) Decode

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

Decode decodes MappingMap from json.

func (*MappingMap) Encode

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

Encode implements json.Marshaler.

func (*MappingMap) GetData

func (s *MappingMap) GetData() OptMappingLocation

GetData returns the value of Data.

func (*MappingMap) GetDefinition

func (s *MappingMap) GetDefinition() OptMappingLocation

GetDefinition returns the value of Definition.

func (*MappingMap) GetFields

func (s *MappingMap) GetFields() []MapField

GetFields returns the value of Fields.

func (*MappingMap) GetIsn

func (s *MappingMap) GetIsn() OptInt

GetIsn returns the value of Isn.

func (*MappingMap) GetLastModified

func (s *MappingMap) GetLastModified() OptDateTime

GetLastModified returns the value of LastModified.

func (*MappingMap) GetName

func (s *MappingMap) GetName() OptString

GetName returns the value of Name.

func (*MappingMap) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MappingMap) SetData

func (s *MappingMap) SetData(val OptMappingLocation)

SetData sets the value of Data.

func (*MappingMap) SetDefinition

func (s *MappingMap) SetDefinition(val OptMappingLocation)

SetDefinition sets the value of Definition.

func (*MappingMap) SetFields

func (s *MappingMap) SetFields(val []MapField)

SetFields sets the value of Fields.

func (*MappingMap) SetIsn

func (s *MappingMap) SetIsn(val OptInt)

SetIsn sets the value of Isn.

func (*MappingMap) SetLastModified

func (s *MappingMap) SetLastModified(val OptDateTime)

SetLastModified sets the value of LastModified.

func (*MappingMap) SetName

func (s *MappingMap) SetName(val OptString)

SetName sets the value of Name.

func (*MappingMap) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Maps

type Maps struct {
	Maps []Map `json:"Maps"`
}

Maps definition. Ref: #/components/schemas/Maps

func (*Maps) Decode

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

Decode decodes Maps from json.

func (*Maps) Encode

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

Encode implements json.Marshaler.

func (*Maps) GetMaps

func (s *Maps) GetMaps() []Map

GetMaps returns the value of Maps.

func (*Maps) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Maps) SetMaps

func (s *Maps) SetMaps(val []Map)

SetMaps sets the value of Maps.

func (*Maps) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type OptActivityStatsStatistics

type OptActivityStatsStatistics struct {
	Value ActivityStatsStatistics
	Set   bool
}

OptActivityStatsStatistics is optional ActivityStatsStatistics.

func NewOptActivityStatsStatistics

func NewOptActivityStatsStatistics(v ActivityStatsStatistics) OptActivityStatsStatistics

NewOptActivityStatsStatistics returns new OptActivityStatsStatistics with value set to v.

func (*OptActivityStatsStatistics) Decode

Decode decodes ActivityStatsStatistics from json.

func (OptActivityStatsStatistics) Encode

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

Encode encodes ActivityStatsStatistics as json.

func (OptActivityStatsStatistics) Get

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

func (OptActivityStatsStatistics) IsSet

func (o OptActivityStatsStatistics) IsSet() bool

IsSet returns true if OptActivityStatsStatistics was set.

func (OptActivityStatsStatistics) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptActivityStatsStatistics) Or

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

func (*OptActivityStatsStatistics) Reset

func (o *OptActivityStatsStatistics) Reset()

Reset unsets value.

func (*OptActivityStatsStatistics) SetTo

SetTo sets value to v.

func (*OptActivityStatsStatistics) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

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

Decode decodes bool from json.

func (OptBool) Encode

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

Encode encodes bool as json.

func (OptBool) Get

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

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

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

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

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptClusterConfig

type OptClusterConfig struct {
	Value ClusterConfig
	Set   bool
}

OptClusterConfig is optional ClusterConfig.

func NewOptClusterConfig

func NewOptClusterConfig(v ClusterConfig) OptClusterConfig

NewOptClusterConfig returns new OptClusterConfig with value set to v.

func (*OptClusterConfig) Decode

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

Decode decodes ClusterConfig from json.

func (OptClusterConfig) Encode

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

Encode encodes ClusterConfig as json.

func (OptClusterConfig) Get

func (o OptClusterConfig) Get() (v ClusterConfig, ok bool)

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

func (OptClusterConfig) IsSet

func (o OptClusterConfig) IsSet() bool

IsSet returns true if OptClusterConfig was set.

func (OptClusterConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptClusterConfig) Or

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

func (*OptClusterConfig) Reset

func (o *OptClusterConfig) Reset()

Reset unsets value.

func (*OptClusterConfig) SetTo

func (o *OptClusterConfig) SetTo(v ClusterConfig)

SetTo sets value to v.

func (*OptClusterConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConfigDatabaseAccess

type OptConfigDatabaseAccess struct {
	Value ConfigDatabaseAccess
	Set   bool
}

OptConfigDatabaseAccess is optional ConfigDatabaseAccess.

func NewOptConfigDatabaseAccess

func NewOptConfigDatabaseAccess(v ConfigDatabaseAccess) OptConfigDatabaseAccess

NewOptConfigDatabaseAccess returns new OptConfigDatabaseAccess with value set to v.

func (*OptConfigDatabaseAccess) Decode

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

Decode decodes ConfigDatabaseAccess from json.

func (OptConfigDatabaseAccess) Encode

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

Encode encodes ConfigDatabaseAccess as json.

func (OptConfigDatabaseAccess) Get

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

func (OptConfigDatabaseAccess) IsSet

func (o OptConfigDatabaseAccess) IsSet() bool

IsSet returns true if OptConfigDatabaseAccess was set.

func (OptConfigDatabaseAccess) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConfigDatabaseAccess) Or

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

func (*OptConfigDatabaseAccess) Reset

func (o *OptConfigDatabaseAccess) Reset()

Reset unsets value.

func (*OptConfigDatabaseAccess) SetTo

SetTo sets value to v.

func (*OptConfigDatabaseAccess) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConfigMapping

type OptConfigMapping struct {
	Value ConfigMapping
	Set   bool
}

OptConfigMapping is optional ConfigMapping.

func NewOptConfigMapping

func NewOptConfigMapping(v ConfigMapping) OptConfigMapping

NewOptConfigMapping returns new OptConfigMapping with value set to v.

func (*OptConfigMapping) Decode

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

Decode decodes ConfigMapping from json.

func (OptConfigMapping) Encode

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

Encode encodes ConfigMapping as json.

func (OptConfigMapping) Get

func (o OptConfigMapping) Get() (v ConfigMapping, ok bool)

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

func (OptConfigMapping) IsSet

func (o OptConfigMapping) IsSet() bool

IsSet returns true if OptConfigMapping was set.

func (OptConfigMapping) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConfigMapping) Or

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

func (*OptConfigMapping) Reset

func (o *OptConfigMapping) Reset()

Reset unsets value.

func (*OptConfigMapping) SetTo

func (o *OptConfigMapping) SetTo(v ConfigMapping)

SetTo sets value to v.

func (*OptConfigMapping) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConfigMetrics

type OptConfigMetrics struct {
	Value ConfigMetrics
	Set   bool
}

OptConfigMetrics is optional ConfigMetrics.

func NewOptConfigMetrics

func NewOptConfigMetrics(v ConfigMetrics) OptConfigMetrics

NewOptConfigMetrics returns new OptConfigMetrics with value set to v.

func (*OptConfigMetrics) Decode

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

Decode decodes ConfigMetrics from json.

func (OptConfigMetrics) Encode

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

Encode encodes ConfigMetrics as json.

func (OptConfigMetrics) Get

func (o OptConfigMetrics) Get() (v ConfigMetrics, ok bool)

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

func (OptConfigMetrics) IsSet

func (o OptConfigMetrics) IsSet() bool

IsSet returns true if OptConfigMetrics was set.

func (OptConfigMetrics) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConfigMetrics) Or

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

func (*OptConfigMetrics) Reset

func (o *OptConfigMetrics) Reset()

Reset unsets value.

func (*OptConfigMetrics) SetTo

func (o *OptConfigMetrics) SetTo(v ConfigMetrics)

SetTo sets value to v.

func (*OptConfigMetrics) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConfigModule

type OptConfigModule struct {
	Value ConfigModule
	Set   bool
}

OptConfigModule is optional ConfigModule.

func NewOptConfigModule

func NewOptConfigModule(v ConfigModule) OptConfigModule

NewOptConfigModule returns new OptConfigModule with value set to v.

func (*OptConfigModule) Decode

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

Decode decodes ConfigModule from json.

func (OptConfigModule) Encode

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

Encode encodes ConfigModule as json.

func (OptConfigModule) Get

func (o OptConfigModule) Get() (v ConfigModule, ok bool)

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

func (OptConfigModule) IsSet

func (o OptConfigModule) IsSet() bool

IsSet returns true if OptConfigModule was set.

func (OptConfigModule) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConfigModule) Or

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

func (*OptConfigModule) Reset

func (o *OptConfigModule) Reset()

Reset unsets value.

func (*OptConfigModule) SetTo

func (o *OptConfigModule) SetTo(v ConfigModule)

SetTo sets value to v.

func (*OptConfigModule) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConfigServer

type OptConfigServer struct {
	Value ConfigServer
	Set   bool
}

OptConfigServer is optional ConfigServer.

func NewOptConfigServer

func NewOptConfigServer(v ConfigServer) OptConfigServer

NewOptConfigServer returns new OptConfigServer with value set to v.

func (*OptConfigServer) Decode

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

Decode decodes ConfigServer from json.

func (OptConfigServer) Encode

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

Encode encodes ConfigServer as json.

func (OptConfigServer) Get

func (o OptConfigServer) Get() (v ConfigServer, ok bool)

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

func (OptConfigServer) IsSet

func (o OptConfigServer) IsSet() bool

IsSet returns true if OptConfigServer was set.

func (OptConfigServer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConfigServer) Or

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

func (*OptConfigServer) Reset

func (o *OptConfigServer) Reset()

Reset unsets value.

func (*OptConfigServer) SetTo

func (o *OptConfigServer) SetTo(v ConfigServer)

SetTo sets value to v.

func (*OptConfigServer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConfigServerLogLocation

type OptConfigServerLogLocation struct {
	Value ConfigServerLogLocation
	Set   bool
}

OptConfigServerLogLocation is optional ConfigServerLogLocation.

func NewOptConfigServerLogLocation

func NewOptConfigServerLogLocation(v ConfigServerLogLocation) OptConfigServerLogLocation

NewOptConfigServerLogLocation returns new OptConfigServerLogLocation with value set to v.

func (*OptConfigServerLogLocation) Decode

Decode decodes ConfigServerLogLocation from json.

func (OptConfigServerLogLocation) Encode

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

Encode encodes ConfigServerLogLocation as json.

func (OptConfigServerLogLocation) Get

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

func (OptConfigServerLogLocation) IsSet

func (o OptConfigServerLogLocation) IsSet() bool

IsSet returns true if OptConfigServerLogLocation was set.

func (OptConfigServerLogLocation) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConfigServerLogLocation) Or

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

func (*OptConfigServerLogLocation) Reset

func (o *OptConfigServerLogLocation) Reset()

Reset unsets value.

func (*OptConfigServerLogLocation) SetTo

SetTo sets value to v.

func (*OptConfigServerLogLocation) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDatabaseConfig

type OptDatabaseConfig struct {
	Value DatabaseConfig
	Set   bool
}

OptDatabaseConfig is optional DatabaseConfig.

func NewOptDatabaseConfig

func NewOptDatabaseConfig(v DatabaseConfig) OptDatabaseConfig

NewOptDatabaseConfig returns new OptDatabaseConfig with value set to v.

func (*OptDatabaseConfig) Decode

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

Decode decodes DatabaseConfig from json.

func (OptDatabaseConfig) Encode

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

Encode encodes DatabaseConfig as json.

func (OptDatabaseConfig) Get

func (o OptDatabaseConfig) Get() (v DatabaseConfig, ok bool)

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

func (OptDatabaseConfig) IsSet

func (o OptDatabaseConfig) IsSet() bool

IsSet returns true if OptDatabaseConfig was set.

func (OptDatabaseConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptDatabaseConfig) Or

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

func (*OptDatabaseConfig) Reset

func (o *OptDatabaseConfig) Reset()

Reset unsets value.

func (*OptDatabaseConfig) SetTo

func (o *OptDatabaseConfig) SetTo(v DatabaseConfig)

SetTo sets value to v.

func (*OptDatabaseConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDatabaseStatusDatabase

type OptDatabaseStatusDatabase struct {
	Value DatabaseStatusDatabase
	Set   bool
}

OptDatabaseStatusDatabase is optional DatabaseStatusDatabase.

func NewOptDatabaseStatusDatabase

func NewOptDatabaseStatusDatabase(v DatabaseStatusDatabase) OptDatabaseStatusDatabase

NewOptDatabaseStatusDatabase returns new OptDatabaseStatusDatabase with value set to v.

func (*OptDatabaseStatusDatabase) Decode

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

Decode decodes DatabaseStatusDatabase from json.

func (OptDatabaseStatusDatabase) Encode

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

Encode encodes DatabaseStatusDatabase as json.

func (OptDatabaseStatusDatabase) Get

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

func (OptDatabaseStatusDatabase) IsSet

func (o OptDatabaseStatusDatabase) IsSet() bool

IsSet returns true if OptDatabaseStatusDatabase was set.

func (OptDatabaseStatusDatabase) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptDatabaseStatusDatabase) Or

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

func (*OptDatabaseStatusDatabase) Reset

func (o *OptDatabaseStatusDatabase) Reset()

Reset unsets value.

func (*OptDatabaseStatusDatabase) SetTo

SetTo sets value to v.

func (*OptDatabaseStatusDatabase) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

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

Decode decodes time.Time from json.

func (OptDateTime) Encode

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

Encode encodes time.Time as json.

func (OptDateTime) Get

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

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

func (OptDateTime) IsSet

func (o OptDateTime) IsSet() bool

IsSet returns true if OptDateTime was set.

func (OptDateTime) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptDateTime) Or

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

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

func (*OptDateTime) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

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

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptErrorError

type OptErrorError struct {
	Value ErrorError
	Set   bool
}

OptErrorError is optional ErrorError.

func NewOptErrorError

func NewOptErrorError(v ErrorError) OptErrorError

NewOptErrorError returns new OptErrorError with value set to v.

func (*OptErrorError) Decode

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

Decode decodes ErrorError from json.

func (OptErrorError) Encode

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

Encode encodes ErrorError as json.

func (OptErrorError) Get

func (o OptErrorError) Get() (v ErrorError, ok bool)

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

func (OptErrorError) IsSet

func (o OptErrorError) IsSet() bool

IsSet returns true if OptErrorError was set.

func (OptErrorError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptErrorError) Or

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

func (*OptErrorError) Reset

func (o *OptErrorError) Reset()

Reset unsets value.

func (*OptErrorError) SetTo

func (o *OptErrorError) SetTo(v ErrorError)

SetTo sets value to v.

func (*OptErrorError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

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

Decode decodes float64 from json.

func (OptFloat64) Encode

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

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

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

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

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

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetPermissionList

type OptGetPermissionList struct {
	Value GetPermissionList
	Set   bool
}

OptGetPermissionList is optional GetPermissionList.

func NewOptGetPermissionList

func NewOptGetPermissionList(v GetPermissionList) OptGetPermissionList

NewOptGetPermissionList returns new OptGetPermissionList with value set to v.

func (OptGetPermissionList) Get

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

func (OptGetPermissionList) IsSet

func (o OptGetPermissionList) IsSet() bool

IsSet returns true if OptGetPermissionList was set.

func (OptGetPermissionList) Or

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

func (*OptGetPermissionList) Reset

func (o *OptGetPermissionList) Reset()

Reset unsets value.

func (*OptGetPermissionList) SetTo

SetTo sets value to v.

type OptInsertMapFileRecordsReq

type OptInsertMapFileRecordsReq struct {
	Value InsertMapFileRecordsReq
	Set   bool
}

OptInsertMapFileRecordsReq is optional InsertMapFileRecordsReq.

func NewOptInsertMapFileRecordsReq

func NewOptInsertMapFileRecordsReq(v InsertMapFileRecordsReq) OptInsertMapFileRecordsReq

NewOptInsertMapFileRecordsReq returns new OptInsertMapFileRecordsReq with value set to v.

func (OptInsertMapFileRecordsReq) Get

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

func (OptInsertMapFileRecordsReq) IsSet

func (o OptInsertMapFileRecordsReq) IsSet() bool

IsSet returns true if OptInsertMapFileRecordsReq was set.

func (OptInsertMapFileRecordsReq) Or

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

func (*OptInsertMapFileRecordsReq) Reset

func (o *OptInsertMapFileRecordsReq) Reset()

Reset unsets value.

func (*OptInsertMapFileRecordsReq) SetTo

SetTo sets value to v.

type OptInsertRecordReq

type OptInsertRecordReq struct {
	Value InsertRecordReq
	Set   bool
}

OptInsertRecordReq is optional InsertRecordReq.

func NewOptInsertRecordReq

func NewOptInsertRecordReq(v InsertRecordReq) OptInsertRecordReq

NewOptInsertRecordReq returns new OptInsertRecordReq with value set to v.

func (*OptInsertRecordReq) Decode

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

Decode decodes InsertRecordReq from json.

func (OptInsertRecordReq) Encode

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

Encode encodes InsertRecordReq as json.

func (OptInsertRecordReq) Get

func (o OptInsertRecordReq) Get() (v InsertRecordReq, ok bool)

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

func (OptInsertRecordReq) IsSet

func (o OptInsertRecordReq) IsSet() bool

IsSet returns true if OptInsertRecordReq was set.

func (OptInsertRecordReq) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptInsertRecordReq) Or

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

func (*OptInsertRecordReq) Reset

func (o *OptInsertRecordReq) Reset()

Reset unsets value.

func (*OptInsertRecordReq) SetTo

func (o *OptInsertRecordReq) SetTo(v InsertRecordReq)

SetTo sets value to v.

func (*OptInsertRecordReq) UnmarshalJSON

func (s *OptInsertRecordReq) 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 OptInt64

type OptInt64 struct {
	Value int64
	Set   bool
}

OptInt64 is optional int64.

func NewOptInt64

func NewOptInt64(v int64) OptInt64

NewOptInt64 returns new OptInt64 with value set to v.

func (*OptInt64) Decode

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

Decode decodes int64 from json.

func (OptInt64) Encode

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

Encode encodes int64 as json.

func (OptInt64) Get

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

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

func (OptInt64) IsSet

func (o OptInt64) IsSet() bool

IsSet returns true if OptInt64 was set.

func (OptInt64) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptInt64) Or

func (o OptInt64) Or(d int64) int64

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

func (*OptInt64) Reset

func (o *OptInt64) Reset()

Reset unsets value.

func (*OptInt64) SetTo

func (o *OptInt64) SetTo(v int64)

SetTo sets value to v.

func (*OptInt64) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptJob

type OptJob struct {
	Value Job
	Set   bool
}

OptJob is optional Job.

func NewOptJob

func NewOptJob(v Job) OptJob

NewOptJob returns new OptJob with value set to v.

func (*OptJob) Decode

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

Decode decodes Job from json.

func (OptJob) Encode

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

Encode encodes Job as json.

func (OptJob) Get

func (o OptJob) Get() (v Job, ok bool)

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

func (OptJob) IsSet

func (o OptJob) IsSet() bool

IsSet returns true if OptJob was set.

func (OptJob) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptJob) Or

func (o OptJob) Or(d Job) Job

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

func (*OptJob) Reset

func (o *OptJob) Reset()

Reset unsets value.

func (*OptJob) SetTo

func (o *OptJob) SetTo(v Job)

SetTo sets value to v.

func (*OptJob) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptJobDefinition

type OptJobDefinition struct {
	Value JobDefinition
	Set   bool
}

OptJobDefinition is optional JobDefinition.

func NewOptJobDefinition

func NewOptJobDefinition(v JobDefinition) OptJobDefinition

NewOptJobDefinition returns new OptJobDefinition with value set to v.

func (*OptJobDefinition) Decode

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

Decode decodes JobDefinition from json.

func (OptJobDefinition) Encode

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

Encode encodes JobDefinition as json.

func (OptJobDefinition) Get

func (o OptJobDefinition) Get() (v JobDefinition, ok bool)

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

func (OptJobDefinition) IsSet

func (o OptJobDefinition) IsSet() bool

IsSet returns true if OptJobDefinition was set.

func (OptJobDefinition) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptJobDefinition) Or

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

func (*OptJobDefinition) Reset

func (o *OptJobDefinition) Reset()

Reset unsets value.

func (*OptJobDefinition) SetTo

func (o *OptJobDefinition) SetTo(v JobDefinition)

SetTo sets value to v.

func (*OptJobDefinition) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptJobDescription

type OptJobDescription struct {
	Value JobDescription
	Set   bool
}

OptJobDescription is optional JobDescription.

func NewOptJobDescription

func NewOptJobDescription(v JobDescription) OptJobDescription

NewOptJobDescription returns new OptJobDescription with value set to v.

func (*OptJobDescription) Decode

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

Decode decodes JobDescription from json.

func (OptJobDescription) Encode

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

Encode encodes JobDescription as json.

func (OptJobDescription) Get

func (o OptJobDescription) Get() (v JobDescription, ok bool)

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

func (OptJobDescription) IsSet

func (o OptJobDescription) IsSet() bool

IsSet returns true if OptJobDescription was set.

func (OptJobDescription) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptJobDescription) Or

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

func (*OptJobDescription) Reset

func (o *OptJobDescription) Reset()

Reset unsets value.

func (*OptJobDescription) SetTo

func (o *OptJobDescription) SetTo(v JobDescription)

SetTo sets value to v.

func (*OptJobDescription) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptJobResultJobResult

type OptJobResultJobResult struct {
	Value JobResultJobResult
	Set   bool
}

OptJobResultJobResult is optional JobResultJobResult.

func NewOptJobResultJobResult

func NewOptJobResultJobResult(v JobResultJobResult) OptJobResultJobResult

NewOptJobResultJobResult returns new OptJobResultJobResult with value set to v.

func (*OptJobResultJobResult) Decode

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

Decode decodes JobResultJobResult from json.

func (OptJobResultJobResult) Encode

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

Encode encodes JobResultJobResult as json.

func (OptJobResultJobResult) Get

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

func (OptJobResultJobResult) IsSet

func (o OptJobResultJobResult) IsSet() bool

IsSet returns true if OptJobResultJobResult was set.

func (OptJobResultJobResult) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptJobResultJobResult) Or

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

func (*OptJobResultJobResult) Reset

func (o *OptJobResultJobResult) Reset()

Reset unsets value.

func (*OptJobResultJobResult) SetTo

SetTo sets value to v.

func (*OptJobResultJobResult) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptJobStatusResponseStatus

type OptJobStatusResponseStatus struct {
	Value JobStatusResponseStatus
	Set   bool
}

OptJobStatusResponseStatus is optional JobStatusResponseStatus.

func NewOptJobStatusResponseStatus

func NewOptJobStatusResponseStatus(v JobStatusResponseStatus) OptJobStatusResponseStatus

NewOptJobStatusResponseStatus returns new OptJobStatusResponseStatus with value set to v.

func (*OptJobStatusResponseStatus) Decode

Decode decodes JobStatusResponseStatus from json.

func (OptJobStatusResponseStatus) Encode

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

Encode encodes JobStatusResponseStatus as json.

func (OptJobStatusResponseStatus) Get

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

func (OptJobStatusResponseStatus) IsSet

func (o OptJobStatusResponseStatus) IsSet() bool

IsSet returns true if OptJobStatusResponseStatus was set.

func (OptJobStatusResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptJobStatusResponseStatus) Or

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

func (*OptJobStatusResponseStatus) Reset

func (o *OptJobStatusResponseStatus) Reset()

Reset unsets value.

func (*OptJobStatusResponseStatus) SetTo

SetTo sets value to v.

func (*OptJobStatusResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptJobStore

type OptJobStore struct {
	Value JobStore
	Set   bool
}

OptJobStore is optional JobStore.

func NewOptJobStore

func NewOptJobStore(v JobStore) OptJobStore

NewOptJobStore returns new OptJobStore with value set to v.

func (*OptJobStore) Decode

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

Decode decodes JobStore from json.

func (OptJobStore) Encode

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

Encode encodes JobStore as json.

func (OptJobStore) Get

func (o OptJobStore) Get() (v JobStore, ok bool)

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

func (OptJobStore) IsSet

func (o OptJobStore) IsSet() bool

IsSet returns true if OptJobStore was set.

func (OptJobStore) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptJobStore) Or

func (o OptJobStore) Or(d JobStore) JobStore

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

func (*OptJobStore) Reset

func (o *OptJobStore) Reset()

Reset unsets value.

func (*OptJobStore) SetTo

func (o *OptJobStore) SetTo(v JobStore)

SetTo sets value to v.

func (*OptJobStore) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMapFieldCharset

type OptMapFieldCharset struct {
	Value MapFieldCharset
	Set   bool
}

OptMapFieldCharset is optional MapFieldCharset.

func NewOptMapFieldCharset

func NewOptMapFieldCharset(v MapFieldCharset) OptMapFieldCharset

NewOptMapFieldCharset returns new OptMapFieldCharset with value set to v.

func (*OptMapFieldCharset) Decode

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

Decode decodes MapFieldCharset from json.

func (OptMapFieldCharset) Encode

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

Encode encodes MapFieldCharset as json.

func (OptMapFieldCharset) Get

func (o OptMapFieldCharset) Get() (v MapFieldCharset, ok bool)

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

func (OptMapFieldCharset) IsSet

func (o OptMapFieldCharset) IsSet() bool

IsSet returns true if OptMapFieldCharset was set.

func (OptMapFieldCharset) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMapFieldCharset) Or

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

func (*OptMapFieldCharset) Reset

func (o *OptMapFieldCharset) Reset()

Reset unsets value.

func (*OptMapFieldCharset) SetTo

func (o *OptMapFieldCharset) SetTo(v MapFieldCharset)

SetTo sets value to v.

func (*OptMapFieldCharset) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMapFieldContentType

type OptMapFieldContentType struct {
	Value MapFieldContentType
	Set   bool
}

OptMapFieldContentType is optional MapFieldContentType.

func NewOptMapFieldContentType

func NewOptMapFieldContentType(v MapFieldContentType) OptMapFieldContentType

NewOptMapFieldContentType returns new OptMapFieldContentType with value set to v.

func (*OptMapFieldContentType) Decode

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

Decode decodes MapFieldContentType from json.

func (OptMapFieldContentType) Encode

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

Encode encodes MapFieldContentType as json.

func (OptMapFieldContentType) Get

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

func (OptMapFieldContentType) IsSet

func (o OptMapFieldContentType) IsSet() bool

IsSet returns true if OptMapFieldContentType was set.

func (OptMapFieldContentType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMapFieldContentType) Or

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

func (*OptMapFieldContentType) Reset

func (o *OptMapFieldContentType) Reset()

Reset unsets value.

func (*OptMapFieldContentType) SetTo

SetTo sets value to v.

func (*OptMapFieldContentType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMapFieldFieldType

type OptMapFieldFieldType struct {
	Value MapFieldFieldType
	Set   bool
}

OptMapFieldFieldType is optional MapFieldFieldType.

func NewOptMapFieldFieldType

func NewOptMapFieldFieldType(v MapFieldFieldType) OptMapFieldFieldType

NewOptMapFieldFieldType returns new OptMapFieldFieldType with value set to v.

func (*OptMapFieldFieldType) Decode

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

Decode decodes MapFieldFieldType from json.

func (OptMapFieldFieldType) Encode

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

Encode encodes MapFieldFieldType as json.

func (OptMapFieldFieldType) Get

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

func (OptMapFieldFieldType) IsSet

func (o OptMapFieldFieldType) IsSet() bool

IsSet returns true if OptMapFieldFieldType was set.

func (OptMapFieldFieldType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMapFieldFieldType) Or

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

func (*OptMapFieldFieldType) Reset

func (o *OptMapFieldFieldType) Reset()

Reset unsets value.

func (*OptMapFieldFieldType) SetTo

SetTo sets value to v.

func (*OptMapFieldFieldType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMapFieldFile

type OptMapFieldFile struct {
	Value MapFieldFile
	Set   bool
}

OptMapFieldFile is optional MapFieldFile.

func NewOptMapFieldFile

func NewOptMapFieldFile(v MapFieldFile) OptMapFieldFile

NewOptMapFieldFile returns new OptMapFieldFile with value set to v.

func (*OptMapFieldFile) Decode

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

Decode decodes MapFieldFile from json.

func (OptMapFieldFile) Encode

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

Encode encodes MapFieldFile as json.

func (OptMapFieldFile) Get

func (o OptMapFieldFile) Get() (v MapFieldFile, ok bool)

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

func (OptMapFieldFile) IsSet

func (o OptMapFieldFile) IsSet() bool

IsSet returns true if OptMapFieldFile was set.

func (OptMapFieldFile) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMapFieldFile) Or

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

func (*OptMapFieldFile) Reset

func (o *OptMapFieldFile) Reset()

Reset unsets value.

func (*OptMapFieldFile) SetTo

func (o *OptMapFieldFile) SetTo(v MapFieldFile)

SetTo sets value to v.

func (*OptMapFieldFile) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMapFieldFormatType

type OptMapFieldFormatType struct {
	Value MapFieldFormatType
	Set   bool
}

OptMapFieldFormatType is optional MapFieldFormatType.

func NewOptMapFieldFormatType

func NewOptMapFieldFormatType(v MapFieldFormatType) OptMapFieldFormatType

NewOptMapFieldFormatType returns new OptMapFieldFormatType with value set to v.

func (*OptMapFieldFormatType) Decode

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

Decode decodes MapFieldFormatType from json.

func (OptMapFieldFormatType) Encode

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

Encode encodes MapFieldFormatType as json.

func (OptMapFieldFormatType) Get

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

func (OptMapFieldFormatType) IsSet

func (o OptMapFieldFormatType) IsSet() bool

IsSet returns true if OptMapFieldFormatType was set.

func (OptMapFieldFormatType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMapFieldFormatType) Or

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

func (*OptMapFieldFormatType) Reset

func (o *OptMapFieldFormatType) Reset()

Reset unsets value.

func (*OptMapFieldFormatType) SetTo

SetTo sets value to v.

func (*OptMapFieldFormatType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMapFieldLength

type OptMapFieldLength struct {
	Value MapFieldLength
	Set   bool
}

OptMapFieldLength is optional MapFieldLength.

func NewOptMapFieldLength

func NewOptMapFieldLength(v MapFieldLength) OptMapFieldLength

NewOptMapFieldLength returns new OptMapFieldLength with value set to v.

func (*OptMapFieldLength) Decode

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

Decode decodes MapFieldLength from json.

func (OptMapFieldLength) Encode

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

Encode encodes MapFieldLength as json.

func (OptMapFieldLength) Get

func (o OptMapFieldLength) Get() (v MapFieldLength, ok bool)

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

func (OptMapFieldLength) IsSet

func (o OptMapFieldLength) IsSet() bool

IsSet returns true if OptMapFieldLength was set.

func (OptMapFieldLength) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMapFieldLength) Or

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

func (*OptMapFieldLength) Reset

func (o *OptMapFieldLength) Reset()

Reset unsets value.

func (*OptMapFieldLength) SetTo

func (o *OptMapFieldLength) SetTo(v MapFieldLength)

SetTo sets value to v.

func (*OptMapFieldLength) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMapFieldName

type OptMapFieldName struct {
	Value MapFieldName
	Set   bool
}

OptMapFieldName is optional MapFieldName.

func NewOptMapFieldName

func NewOptMapFieldName(v MapFieldName) OptMapFieldName

NewOptMapFieldName returns new OptMapFieldName with value set to v.

func (*OptMapFieldName) Decode

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

Decode decodes MapFieldName from json.

func (OptMapFieldName) Encode

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

Encode encodes MapFieldName as json.

func (OptMapFieldName) Get

func (o OptMapFieldName) Get() (v MapFieldName, ok bool)

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

func (OptMapFieldName) IsSet

func (o OptMapFieldName) IsSet() bool

IsSet returns true if OptMapFieldName was set.

func (OptMapFieldName) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMapFieldName) Or

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

func (*OptMapFieldName) Reset

func (o *OptMapFieldName) Reset()

Reset unsets value.

func (*OptMapFieldName) SetTo

func (o *OptMapFieldName) SetTo(v MapFieldName)

SetTo sets value to v.

func (*OptMapFieldName) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMapFieldShortName

type OptMapFieldShortName struct {
	Value MapFieldShortName
	Set   bool
}

OptMapFieldShortName is optional MapFieldShortName.

func NewOptMapFieldShortName

func NewOptMapFieldShortName(v MapFieldShortName) OptMapFieldShortName

NewOptMapFieldShortName returns new OptMapFieldShortName with value set to v.

func (*OptMapFieldShortName) Decode

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

Decode decodes MapFieldShortName from json.

func (OptMapFieldShortName) Encode

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

Encode encodes MapFieldShortName as json.

func (OptMapFieldShortName) Get

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

func (OptMapFieldShortName) IsSet

func (o OptMapFieldShortName) IsSet() bool

IsSet returns true if OptMapFieldShortName was set.

func (OptMapFieldShortName) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMapFieldShortName) Or

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

func (*OptMapFieldShortName) Reset

func (o *OptMapFieldShortName) Reset()

Reset unsets value.

func (*OptMapFieldShortName) SetTo

SetTo sets value to v.

func (*OptMapFieldShortName) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMappingLocation

type OptMappingLocation struct {
	Value MappingLocation
	Set   bool
}

OptMappingLocation is optional MappingLocation.

func NewOptMappingLocation

func NewOptMappingLocation(v MappingLocation) OptMappingLocation

NewOptMappingLocation returns new OptMappingLocation with value set to v.

func (*OptMappingLocation) Decode

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

Decode decodes MappingLocation from json.

func (OptMappingLocation) Encode

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

Encode encodes MappingLocation as json.

func (OptMappingLocation) Get

func (o OptMappingLocation) Get() (v MappingLocation, ok bool)

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

func (OptMappingLocation) IsSet

func (o OptMappingLocation) IsSet() bool

IsSet returns true if OptMappingLocation was set.

func (OptMappingLocation) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMappingLocation) Or

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

func (*OptMappingLocation) Reset

func (o *OptMappingLocation) Reset()

Reset unsets value.

func (*OptMappingLocation) SetTo

func (o *OptMappingLocation) SetTo(v MappingLocation)

SetTo sets value to v.

func (*OptMappingLocation) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMappingMap

type OptMappingMap struct {
	Value MappingMap
	Set   bool
}

OptMappingMap is optional MappingMap.

func NewOptMappingMap

func NewOptMappingMap(v MappingMap) OptMappingMap

NewOptMappingMap returns new OptMappingMap with value set to v.

func (*OptMappingMap) Decode

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

Decode decodes MappingMap from json.

func (OptMappingMap) Encode

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

Encode encodes MappingMap as json.

func (OptMappingMap) Get

func (o OptMappingMap) Get() (v MappingMap, ok bool)

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

func (OptMappingMap) IsSet

func (o OptMappingMap) IsSet() bool

IsSet returns true if OptMappingMap was set.

func (OptMappingMap) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMappingMap) Or

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

func (*OptMappingMap) Reset

func (o *OptMappingMap) Reset()

Reset unsets value.

func (*OptMappingMap) SetTo

func (o *OptMappingMap) SetTo(v MappingMap)

SetTo sets value to v.

func (*OptMappingMap) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMultipartFile

type OptMultipartFile struct {
	Value ht.MultipartFile
	Set   bool
}

OptMultipartFile is optional ht.MultipartFile.

func NewOptMultipartFile

func NewOptMultipartFile(v ht.MultipartFile) OptMultipartFile

NewOptMultipartFile returns new OptMultipartFile with value set to v.

func (OptMultipartFile) Get

func (o OptMultipartFile) Get() (v ht.MultipartFile, ok bool)

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

func (OptMultipartFile) IsSet

func (o OptMultipartFile) IsSet() bool

IsSet returns true if OptMultipartFile was set.

func (OptMultipartFile) Or

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

func (*OptMultipartFile) Reset

func (o *OptMultipartFile) Reset()

Reset unsets value.

func (*OptMultipartFile) SetTo

func (o *OptMultipartFile) SetTo(v ht.MultipartFile)

SetTo sets value to v.

type OptSQLQueryBatch

type OptSQLQueryBatch struct {
	Value SQLQueryBatch
	Set   bool
}

OptSQLQueryBatch is optional SQLQueryBatch.

func NewOptSQLQueryBatch

func NewOptSQLQueryBatch(v SQLQueryBatch) OptSQLQueryBatch

NewOptSQLQueryBatch returns new OptSQLQueryBatch with value set to v.

func (*OptSQLQueryBatch) Decode

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

Decode decodes SQLQueryBatch from json.

func (OptSQLQueryBatch) Encode

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

Encode encodes SQLQueryBatch as json.

func (OptSQLQueryBatch) Get

func (o OptSQLQueryBatch) Get() (v SQLQueryBatch, ok bool)

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

func (OptSQLQueryBatch) IsSet

func (o OptSQLQueryBatch) IsSet() bool

IsSet returns true if OptSQLQueryBatch was set.

func (OptSQLQueryBatch) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptSQLQueryBatch) Or

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

func (*OptSQLQueryBatch) Reset

func (o *OptSQLQueryBatch) Reset()

Reset unsets value.

func (*OptSQLQueryBatch) SetTo

func (o *OptSQLQueryBatch) SetTo(v SQLQueryBatch)

SetTo sets value to v.

func (*OptSQLQueryBatch) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionsSession

type OptSessionsSession struct {
	Value SessionsSession
	Set   bool
}

OptSessionsSession is optional SessionsSession.

func NewOptSessionsSession

func NewOptSessionsSession(v SessionsSession) OptSessionsSession

NewOptSessionsSession returns new OptSessionsSession with value set to v.

func (*OptSessionsSession) Decode

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

Decode decodes SessionsSession from json.

func (OptSessionsSession) Encode

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

Encode encodes SessionsSession as json.

func (OptSessionsSession) Get

func (o OptSessionsSession) Get() (v SessionsSession, ok bool)

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

func (OptSessionsSession) IsSet

func (o OptSessionsSession) IsSet() bool

IsSet returns true if OptSessionsSession was set.

func (OptSessionsSession) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptSessionsSession) Or

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

func (*OptSessionsSession) Reset

func (o *OptSessionsSession) Reset()

Reset unsets value.

func (*OptSessionsSession) SetTo

func (o *OptSessionsSession) SetTo(v SessionsSession)

SetTo sets value to v.

func (*OptSessionsSession) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptStatusResponseStatus

type OptStatusResponseStatus struct {
	Value StatusResponseStatus
	Set   bool
}

OptStatusResponseStatus is optional StatusResponseStatus.

func NewOptStatusResponseStatus

func NewOptStatusResponseStatus(v StatusResponseStatus) OptStatusResponseStatus

NewOptStatusResponseStatus returns new OptStatusResponseStatus with value set to v.

func (*OptStatusResponseStatus) Decode

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

Decode decodes StatusResponseStatus from json.

func (OptStatusResponseStatus) Encode

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

Encode encodes StatusResponseStatus as json.

func (OptStatusResponseStatus) Get

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

func (OptStatusResponseStatus) IsSet

func (o OptStatusResponseStatus) IsSet() bool

IsSet returns true if OptStatusResponseStatus was set.

func (OptStatusResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptStatusResponseStatus) Or

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

func (*OptStatusResponseStatus) Reset

func (o *OptStatusResponseStatus) Reset()

Reset unsets value.

func (*OptStatusResponseStatus) SetTo

SetTo sets value to v.

func (*OptStatusResponseStatus) UnmarshalJSON

func (s *OptStatusResponseStatus) 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 OptUUID

type OptUUID struct {
	Value uuid.UUID
	Set   bool
}

OptUUID is optional uuid.UUID.

func NewOptUUID

func NewOptUUID(v uuid.UUID) OptUUID

NewOptUUID returns new OptUUID with value set to v.

func (*OptUUID) Decode

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

Decode decodes uuid.UUID from json.

func (OptUUID) Encode

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

Encode encodes uuid.UUID as json.

func (OptUUID) Get

func (o OptUUID) Get() (v uuid.UUID, ok bool)

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

func (OptUUID) IsSet

func (o OptUUID) IsSet() bool

IsSet returns true if OptUUID was set.

func (OptUUID) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptUUID) Or

func (o OptUUID) Or(d uuid.UUID) uuid.UUID

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

func (*OptUUID) Reset

func (o *OptUUID) Reset()

Reset unsets value.

func (*OptUUID) SetTo

func (o *OptUUID) SetTo(v uuid.UUID)

SetTo sets value to v.

func (*OptUUID) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUpdateRecordsByFieldsReq

type OptUpdateRecordsByFieldsReq struct {
	Value UpdateRecordsByFieldsReq
	Set   bool
}

OptUpdateRecordsByFieldsReq is optional UpdateRecordsByFieldsReq.

func NewOptUpdateRecordsByFieldsReq

func NewOptUpdateRecordsByFieldsReq(v UpdateRecordsByFieldsReq) OptUpdateRecordsByFieldsReq

NewOptUpdateRecordsByFieldsReq returns new OptUpdateRecordsByFieldsReq with value set to v.

func (*OptUpdateRecordsByFieldsReq) Decode

Decode decodes UpdateRecordsByFieldsReq from json.

func (OptUpdateRecordsByFieldsReq) Encode

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

Encode encodes UpdateRecordsByFieldsReq as json.

func (OptUpdateRecordsByFieldsReq) Get

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

func (OptUpdateRecordsByFieldsReq) IsSet

IsSet returns true if OptUpdateRecordsByFieldsReq was set.

func (OptUpdateRecordsByFieldsReq) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptUpdateRecordsByFieldsReq) Or

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

func (*OptUpdateRecordsByFieldsReq) Reset

func (o *OptUpdateRecordsByFieldsReq) Reset()

Reset unsets value.

func (*OptUpdateRecordsByFieldsReq) SetTo

SetTo sets value to v.

func (*OptUpdateRecordsByFieldsReq) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUser

type OptUser struct {
	Value User
	Set   bool
}

OptUser is optional User.

func NewOptUser

func NewOptUser(v User) OptUser

NewOptUser returns new OptUser with value set to v.

func (*OptUser) Decode

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

Decode decodes User from json.

func (OptUser) Encode

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

Encode encodes User as json.

func (OptUser) Get

func (o OptUser) Get() (v User, ok bool)

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

func (OptUser) IsSet

func (o OptUser) IsSet() bool

IsSet returns true if OptUser was set.

func (OptUser) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptUser) Or

func (o OptUser) Or(d User) User

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

func (*OptUser) Reset

func (o *OptUser) Reset()

Reset unsets value.

func (*OptUser) SetTo

func (o *OptUser) SetTo(v User)

SetTo sets value to v.

func (*OptUser) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ServerOption
	ClientOption
}

Option is config option.

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

WithMeterProvider specifies a meter provider to use for creating a meter.

If none is specified, the otel.GetMeterProvider() is used.

func WithTracerProvider

func WithTracerProvider(provider trace.TracerProvider) Option

WithTracerProvider specifies a tracer provider to use for creating a tracer.

If none is specified, the global provider is used.

type PostDatabaseForbidden

type PostDatabaseForbidden struct{}

PostDatabaseForbidden is response for PostDatabase operation.

type PostDatabaseRes

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

type PostDatabaseUnauthorized

type PostDatabaseUnauthorized struct{}

PostDatabaseUnauthorized is response for PostDatabase operation.

type PostJobBadRequest

type PostJobBadRequest Error

func (*PostJobBadRequest) Decode

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

Decode decodes PostJobBadRequest from json.

func (*PostJobBadRequest) Encode

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

Encode encodes PostJobBadRequest as json.

func (*PostJobBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PostJobBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type PostJobForbidden

type PostJobForbidden struct{}

PostJobForbidden is response for PostJob operation.

type PostJobNotFound

type PostJobNotFound Error

func (*PostJobNotFound) Decode

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

Decode decodes PostJobNotFound from json.

func (*PostJobNotFound) Encode

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

Encode encodes PostJobNotFound as json.

func (*PostJobNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PostJobNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type PostJobReq

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

type PostJobReqEmptyBody

type PostJobReqEmptyBody struct{}

type PostJobReqTextPlain

type PostJobReqTextPlain struct {
	Data io.Reader
}

func (PostJobReqTextPlain) Read

func (s PostJobReqTextPlain) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type PostJobRes

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

type PostJobUnauthorized

type PostJobUnauthorized struct{}

PostJobUnauthorized is response for PostJob operation.

type PushLoginSessionForbidden

type PushLoginSessionForbidden struct{}

PushLoginSessionForbidden is response for PushLoginSession operation.

type PushLoginSessionRes

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

type PushLoginSessionUnauthorized

type PushLoginSessionUnauthorized struct{}

PushLoginSessionUnauthorized is response for PushLoginSession operation.

type PutDatabaseResourceForbidden

type PutDatabaseResourceForbidden struct{}

PutDatabaseResourceForbidden is response for PutDatabaseResource operation.

type PutDatabaseResourceParams

type PutDatabaseResourceParams struct {
	// Database ID.
	TableOperation string
	// Database name.
	Name OptString
	// Lock database.
	Lock OptBool
	// External database backup (true=prepare false=continue).
	Externalbackup OptBool
}

PutDatabaseResourceParams is parameters of putDatabaseResource operation.

type PutDatabaseResourceRes

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

type PutDatabaseResourceUnauthorized

type PutDatabaseResourceUnauthorized struct{}

PutDatabaseResourceUnauthorized is response for PutDatabaseResource operation.

type RemovePermissionForbidden

type RemovePermissionForbidden struct{}

RemovePermissionForbidden is response for RemovePermission operation.

type RemovePermissionParams

type RemovePermissionParams struct {
	// SQL table.
	Table string
}

RemovePermissionParams is parameters of removePermission operation.

type RemovePermissionRes

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

type RemovePermissionUnauthorized

type RemovePermissionUnauthorized struct{}

RemovePermissionUnauthorized is response for RemovePermission operation.

type RemoveSessionCompatBadRequest

type RemoveSessionCompatBadRequest Error

func (*RemoveSessionCompatBadRequest) Decode

Decode decodes RemoveSessionCompatBadRequest from json.

func (*RemoveSessionCompatBadRequest) Encode

Encode encodes RemoveSessionCompatBadRequest as json.

func (*RemoveSessionCompatBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RemoveSessionCompatBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveSessionCompatNotFound

type RemoveSessionCompatNotFound Error

func (*RemoveSessionCompatNotFound) Decode

Decode decodes RemoveSessionCompatNotFound from json.

func (*RemoveSessionCompatNotFound) Encode

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

Encode encodes RemoveSessionCompatNotFound as json.

func (*RemoveSessionCompatNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RemoveSessionCompatNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveSessionCompatOK

type RemoveSessionCompatOK struct{}

RemoveSessionCompatOK is response for RemoveSessionCompat operation.

type RemoveSessionCompatRes

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

type Response

type Response struct {
	MapName     OptString             `json:"MapName"`
	FileRecords OptInt                `json:"FileRecords"`
	NrRecords   OptInt                `json:"NrRecords"`
	FieldNames  []string              `json:"FieldNames"`
	Records     []ResponseRecordsItem `json:"Records"`
}

Ref: #/components/schemas/Response

func (*Response) Decode

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

Decode decodes Response from json.

func (*Response) Encode

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

Encode implements json.Marshaler.

func (*Response) GetFieldNames

func (s *Response) GetFieldNames() []string

GetFieldNames returns the value of FieldNames.

func (*Response) GetFileRecords

func (s *Response) GetFileRecords() OptInt

GetFileRecords returns the value of FileRecords.

func (*Response) GetMapName

func (s *Response) GetMapName() OptString

GetMapName returns the value of MapName.

func (*Response) GetNrRecords

func (s *Response) GetNrRecords() OptInt

GetNrRecords returns the value of NrRecords.

func (*Response) GetRecords

func (s *Response) GetRecords() []ResponseRecordsItem

GetRecords returns the value of Records.

func (*Response) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Response) SetFieldNames

func (s *Response) SetFieldNames(val []string)

SetFieldNames sets the value of FieldNames.

func (*Response) SetFileRecords

func (s *Response) SetFileRecords(val OptInt)

SetFileRecords sets the value of FileRecords.

func (*Response) SetMapName

func (s *Response) SetMapName(val OptString)

SetMapName sets the value of MapName.

func (*Response) SetNrRecords

func (s *Response) SetNrRecords(val OptInt)

SetNrRecords sets the value of NrRecords.

func (*Response) SetRecords

func (s *Response) SetRecords(val []ResponseRecordsItem)

SetRecords sets the value of Records.

func (*Response) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ResponseHeaders

type ResponseHeaders struct {
	XToken   OptString
	Response Response
}

ResponseHeaders wraps Response with response headers.

func (*ResponseHeaders) GetResponse

func (s *ResponseHeaders) GetResponse() Response

GetResponse returns the value of Response.

func (*ResponseHeaders) GetXToken

func (s *ResponseHeaders) GetXToken() OptString

GetXToken returns the value of XToken.

func (*ResponseHeaders) SetResponse

func (s *ResponseHeaders) SetResponse(val Response)

SetResponse sets the value of Response.

func (*ResponseHeaders) SetXToken

func (s *ResponseHeaders) SetXToken(val OptString)

SetXToken sets the value of XToken.

type ResponseRecordsItem

type ResponseRecordsItem map[string]jx.Raw

func (*ResponseRecordsItem) Decode

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

Decode decodes ResponseRecordsItem from json.

func (ResponseRecordsItem) Encode

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

Encode implements json.Marshaler.

func (ResponseRecordsItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ResponseRecordsItem) UnmarshalJSON

func (s *ResponseRecordsItem) 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 SQLQuery

type SQLQuery struct {
	Batch OptSQLQueryBatch `json:"Batch"`
}

Ref: #/components/schemas/SQLQuery

func (*SQLQuery) Decode

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

Decode decodes SQLQuery from json.

func (*SQLQuery) Encode

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

Encode implements json.Marshaler.

func (*SQLQuery) GetBatch

func (s *SQLQuery) GetBatch() OptSQLQueryBatch

GetBatch returns the value of Batch.

func (*SQLQuery) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SQLQuery) SetBatch

func (s *SQLQuery) SetBatch(val OptSQLQueryBatch)

SetBatch sets the value of Batch.

func (*SQLQuery) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SQLQueryBatch

type SQLQueryBatch struct {
	SQL OptString `json:"SQL"`
}

func (*SQLQueryBatch) Decode

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

Decode decodes SQLQueryBatch from json.

func (*SQLQueryBatch) Encode

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

Encode implements json.Marshaler.

func (*SQLQueryBatch) GetSQL

func (s *SQLQueryBatch) GetSQL() OptString

GetSQL returns the value of SQL.

func (*SQLQueryBatch) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SQLQueryBatch) SetSQL

func (s *SQLQueryBatch) SetSQL(val OptString)

SetSQL sets the value of SQL.

func (*SQLQueryBatch) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchModellingBadRequest

type SearchModellingBadRequest Error

func (*SearchModellingBadRequest) Decode

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

Decode decodes SearchModellingBadRequest from json.

func (*SearchModellingBadRequest) Encode

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

Encode encodes SearchModellingBadRequest as json.

func (*SearchModellingBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SearchModellingBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchModellingForbidden

type SearchModellingForbidden struct{}

SearchModellingForbidden is response for SearchModelling operation.

type SearchModellingNotFound

type SearchModellingNotFound Error

func (*SearchModellingNotFound) Decode

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

Decode decodes SearchModellingNotFound from json.

func (*SearchModellingNotFound) Encode

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

Encode encodes SearchModellingNotFound as json.

func (*SearchModellingNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SearchModellingNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchModellingParams

type SearchModellingParams struct {
	// Modelling map and paramters.
	Path string
}

SearchModellingParams is parameters of searchModelling operation.

type SearchModellingRes

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

type SearchModellingUnauthorized

type SearchModellingUnauthorized struct{}

SearchModellingUnauthorized is response for SearchModelling operation.

type SearchRecordsFieldsForbidden

type SearchRecordsFieldsForbidden struct{}

SearchRecordsFieldsForbidden is response for SearchRecordsFields operation.

type SearchRecordsFieldsParams

type SearchRecordsFieldsParams struct {
	// SQL table.
	Table string
	// Specific SQL query string.
	Search string
	// Start offset where the read will start from.
	Start OptFloat64
	// Maximal number of records retrieved.
	Limit OptFloat64
	// Sort criterium.
	SortedBy OptString
	// Search criterium.
	Sqlsearch OptString
	// Return result in compact structure.
	Compact OptBool
	// Remove database group tree entries in result records.
	Flatten OptBool
	// Read a descriptor read with the given field entry.
	Descriptor OptBool
	// Order by criterias.
	Orderby OptString
	// Use XML notation namespace.
	Xmlnotation OptBool
}

SearchRecordsFieldsParams is parameters of searchRecordsFields operation.

type SearchRecordsFieldsRes

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

type SearchRecordsFieldsUnauthorized

type SearchRecordsFieldsUnauthorized struct{}

SearchRecordsFieldsUnauthorized is response for SearchRecordsFields operation.

type SearchTableBadRequest

type SearchTableBadRequest Error

func (*SearchTableBadRequest) Decode

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

Decode decodes SearchTableBadRequest from json.

func (*SearchTableBadRequest) Encode

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

Encode encodes SearchTableBadRequest as json.

func (*SearchTableBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SearchTableBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchTableForbidden

type SearchTableForbidden struct{}

SearchTableForbidden is response for SearchTable operation.

type SearchTableNotFound

type SearchTableNotFound Error

func (*SearchTableNotFound) Decode

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

Decode decodes SearchTableNotFound from json.

func (*SearchTableNotFound) Encode

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

Encode encodes SearchTableNotFound as json.

func (*SearchTableNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SearchTableNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchTableParams

type SearchTableParams struct {
	// SQL table.
	Table string
	// Fields to search for.
	Fields string
	// Search criterium.
	Search string
	// Order by criterias.
	Orderby OptString
}

SearchTableParams is parameters of searchTable operation.

type SearchTableRes

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

type SearchTableUnauthorized

type SearchTableUnauthorized struct{}

SearchTableUnauthorized is response for SearchTable operation.

type SecurityHandler

type SecurityHandler interface {
	// HandleBasicAuth handles BasicAuth security.
	// HTTP Basic Authentication. Works over `HTTP` and `HTTPS`.
	HandleBasicAuth(ctx context.Context, operationName string, t BasicAuth) (context.Context, error)
	// HandleBearerAuth handles BearerAuth security.
	// HTTP Bearer Authentication. Works over `HTTP` and `HTTPS`.
	HandleBearerAuth(ctx context.Context, operationName string, t BearerAuth) (context.Context, error)
	// HandleTokenCheck handles tokenCheck security.
	// HTTP Basic Authentication. Works over `HTTP` and `HTTPS`.
	HandleTokenCheck(ctx context.Context, operationName string, t TokenCheck) (context.Context, error)
	// Request call after receiving
	Request(ctx context.Context, req *http.Request)
}

SecurityHandler is handler for security parameters.

type SecuritySource

type SecuritySource interface {
	// BasicAuth provides BasicAuth security value.
	// HTTP Basic Authentication. Works over `HTTP` and `HTTPS`.
	BasicAuth(ctx context.Context, operationName string) (BasicAuth, error)
	// BearerAuth provides BearerAuth security value.
	// HTTP Bearer Authentication. Works over `HTTP` and `HTTPS`.
	BearerAuth(ctx context.Context, operationName string) (BearerAuth, error)
	// TokenCheck provides tokenCheck security value.
	// HTTP Basic Authentication. Works over `HTTP` and `HTTPS`.
	TokenCheck(ctx context.Context, operationName string) (TokenCheck, 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 Sessions

type Sessions struct {
	Session OptSessionsSession `json:"Session"`
}

Ref: #/components/schemas/Sessions

func (*Sessions) Decode

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

Decode decodes Sessions from json.

func (*Sessions) Encode

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

Encode implements json.Marshaler.

func (*Sessions) GetSession

func (s *Sessions) GetSession() OptSessionsSession

GetSession returns the value of Session.

func (*Sessions) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Sessions) SetSession

func (s *Sessions) SetSession(val OptSessionsSession)

SetSession sets the value of Session.

func (*Sessions) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionsSession

type SessionsSession struct {
	UserQueueEntry []SessionsSessionUserQueueEntryItem `json:"UserQueueEntry"`
}

func (*SessionsSession) Decode

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

Decode decodes SessionsSession from json.

func (*SessionsSession) Encode

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

Encode implements json.Marshaler.

func (*SessionsSession) GetUserQueueEntry

func (s *SessionsSession) GetUserQueueEntry() []SessionsSessionUserQueueEntryItem

GetUserQueueEntry returns the value of UserQueueEntry.

func (*SessionsSession) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SessionsSession) SetUserQueueEntry

func (s *SessionsSession) SetUserQueueEntry(val []SessionsSessionUserQueueEntryItem)

SetUserQueueEntry sets the value of UserQueueEntry.

func (*SessionsSession) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionsSessionUserQueueEntryItem

type SessionsSessionUserQueueEntryItem struct{}

func (*SessionsSessionUserQueueEntryItem) Decode

Decode decodes SessionsSessionUserQueueEntryItem from json.

func (*SessionsSessionUserQueueEntryItem) Encode

Encode implements json.Marshaler.

func (*SessionsSessionUserQueueEntryItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SessionsSessionUserQueueEntryItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SetConfigForbidden

type SetConfigForbidden struct{}

SetConfigForbidden is response for SetConfig operation.

type SetConfigOK

type SetConfigOK struct {
	XToken OptString
}

SetConfigOK is response for SetConfig operation.

func (*SetConfigOK) GetXToken

func (s *SetConfigOK) GetXToken() OptString

GetXToken returns the value of XToken.

func (*SetConfigOK) SetXToken

func (s *SetConfigOK) SetXToken(val OptString)

SetXToken sets the value of XToken.

type SetConfigReq

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

type SetConfigReqTextPlain

type SetConfigReqTextPlain struct {
	Data io.Reader
}

func (SetConfigReqTextPlain) Read

func (s SetConfigReqTextPlain) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type SetConfigRes

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

type SetConfigUnauthorized

type SetConfigUnauthorized struct{}

SetConfigUnauthorized is response for SetConfig operation.

type SetJobsConfigForbidden

type SetJobsConfigForbidden struct{}

SetJobsConfigForbidden is response for SetJobsConfig operation.

type SetJobsConfigOK

type SetJobsConfigOK struct{}

SetJobsConfigOK is response for SetJobsConfig operation.

type SetJobsConfigRes

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

type SetJobsConfigUnauthorized

type SetJobsConfigUnauthorized struct{}

SetJobsConfigUnauthorized is response for SetJobsConfig operation.

type ShutdownServerForbidden

type ShutdownServerForbidden struct{}

ShutdownServerForbidden is response for ShutdownServer operation.

type ShutdownServerParams

type ShutdownServerParams struct {
	// Shutdown validation hash.
	Hash string
}

ShutdownServerParams is parameters of shutdownServer operation.

type ShutdownServerRes

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

type ShutdownServerUnauthorized

type ShutdownServerUnauthorized struct{}

ShutdownServerUnauthorized is response for ShutdownServer operation.

type StatusResponse

type StatusResponse struct {
	Status OptStatusResponseStatus `json:"Status"`
}

Ref: #/components/schemas/StatusResponse

func (*StatusResponse) Decode

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

Decode decodes StatusResponse from json.

func (*StatusResponse) Encode

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

Encode implements json.Marshaler.

func (*StatusResponse) GetStatus

func (s *StatusResponse) GetStatus() OptStatusResponseStatus

GetStatus returns the value of Status.

func (*StatusResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*StatusResponse) SetStatus

func (s *StatusResponse) SetStatus(val OptStatusResponseStatus)

SetStatus sets the value of Status.

func (*StatusResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatusResponse) Validate

func (s *StatusResponse) Validate() error

type StatusResponseStatus

type StatusResponseStatus struct {
	Action  OptString  `json:"Action"`
	Code    OptString  `json:"Code"`
	Dbid    OptFloat64 `json:"Dbid"`
	Target  OptString  `json:"Target"`
	Message OptString  `json:"Message"`
}

func (*StatusResponseStatus) Decode

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

Decode decodes StatusResponseStatus from json.

func (*StatusResponseStatus) Encode

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

Encode implements json.Marshaler.

func (*StatusResponseStatus) GetAction

func (s *StatusResponseStatus) GetAction() OptString

GetAction returns the value of Action.

func (*StatusResponseStatus) GetCode

func (s *StatusResponseStatus) GetCode() OptString

GetCode returns the value of Code.

func (*StatusResponseStatus) GetDbid

func (s *StatusResponseStatus) GetDbid() OptFloat64

GetDbid returns the value of Dbid.

func (*StatusResponseStatus) GetMessage

func (s *StatusResponseStatus) GetMessage() OptString

GetMessage returns the value of Message.

func (*StatusResponseStatus) GetTarget

func (s *StatusResponseStatus) GetTarget() OptString

GetTarget returns the value of Target.

func (*StatusResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*StatusResponseStatus) SetAction

func (s *StatusResponseStatus) SetAction(val OptString)

SetAction sets the value of Action.

func (*StatusResponseStatus) SetCode

func (s *StatusResponseStatus) SetCode(val OptString)

SetCode sets the value of Code.

func (*StatusResponseStatus) SetDbid

func (s *StatusResponseStatus) SetDbid(val OptFloat64)

SetDbid sets the value of Dbid.

func (*StatusResponseStatus) SetMessage

func (s *StatusResponseStatus) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*StatusResponseStatus) SetTarget

func (s *StatusResponseStatus) SetTarget(val OptString)

SetTarget sets the value of Target.

func (*StatusResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatusResponseStatus) Validate

func (s *StatusResponseStatus) Validate() error

type StoreConfigForbidden

type StoreConfigForbidden struct{}

StoreConfigForbidden is response for StoreConfig operation.

type StoreConfigOK

type StoreConfigOK struct {
	XToken OptString
}

StoreConfigOK is response for StoreConfig operation.

func (*StoreConfigOK) GetXToken

func (s *StoreConfigOK) GetXToken() OptString

GetXToken returns the value of XToken.

func (*StoreConfigOK) SetXToken

func (s *StoreConfigOK) SetXToken(val OptString)

SetXToken sets the value of XToken.

type StoreConfigRes

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

type StoreConfigUnauthorized

type StoreConfigUnauthorized struct{}

StoreConfigUnauthorized is response for StoreConfig operation.

type StoreResponse

type StoreResponse struct {
	NrStored  OptInt `json:"NrStored"`
	NrDeleted OptInt `json:"NrDeleted"`
	Stored    []int  `json:"Stored"`
}

Ref: #/components/schemas/StoreResponse

func (*StoreResponse) Decode

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

Decode decodes StoreResponse from json.

func (*StoreResponse) Encode

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

Encode implements json.Marshaler.

func (*StoreResponse) GetNrDeleted

func (s *StoreResponse) GetNrDeleted() OptInt

GetNrDeleted returns the value of NrDeleted.

func (*StoreResponse) GetNrStored

func (s *StoreResponse) GetNrStored() OptInt

GetNrStored returns the value of NrStored.

func (*StoreResponse) GetStored

func (s *StoreResponse) GetStored() []int

GetStored returns the value of Stored.

func (*StoreResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*StoreResponse) SetNrDeleted

func (s *StoreResponse) SetNrDeleted(val OptInt)

SetNrDeleted sets the value of NrDeleted.

func (*StoreResponse) SetNrStored

func (s *StoreResponse) SetNrStored(val OptInt)

SetNrStored sets the value of NrStored.

func (*StoreResponse) SetStored

func (s *StoreResponse) SetStored(val []int)

SetStored sets the value of Stored.

func (*StoreResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type StoreResponseHeaders

type StoreResponseHeaders struct {
	XToken   OptString
	Response StoreResponse
}

StoreResponseHeaders wraps StoreResponse with response headers.

func (*StoreResponseHeaders) GetResponse

func (s *StoreResponseHeaders) GetResponse() StoreResponse

GetResponse returns the value of Response.

func (*StoreResponseHeaders) GetXToken

func (s *StoreResponseHeaders) GetXToken() OptString

GetXToken returns the value of XToken.

func (*StoreResponseHeaders) SetResponse

func (s *StoreResponseHeaders) SetResponse(val StoreResponse)

SetResponse sets the value of Response.

func (*StoreResponseHeaders) SetXToken

func (s *StoreResponseHeaders) SetXToken(val OptString)

SetXToken sets the value of XToken.

type TCP

type TCP struct {
	Entry []TCPentry `json:"Entry"`
}

Ref: #/components/schemas/TCP

func (*TCP) Decode

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

Decode decodes TCP from json.

func (*TCP) Encode

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

Encode implements json.Marshaler.

func (*TCP) GetEntry

func (s *TCP) GetEntry() []TCPentry

GetEntry returns the value of Entry.

func (*TCP) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*TCP) SetEntry

func (s *TCP) SetEntry(val []TCPentry)

SetEntry sets the value of Entry.

func (*TCP) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type TCPentry

type TCPentry struct {
	ID         OptInt    `json:"ID"`
	RecvID     OptInt    `json:"RecvID"`
	RemoteUser OptString `json:"RemoteUser"`
	RemoteHost OptString `json:"RemoteHost"`
	RemoteIP   OptString `json:"RemoteIP"`
	RemotePort OptInt    `json:"RemotePort"`
}

Ref: #/components/schemas/TCPentry

func (*TCPentry) Decode

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

Decode decodes TCPentry from json.

func (*TCPentry) Encode

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

Encode implements json.Marshaler.

func (*TCPentry) GetID

func (s *TCPentry) GetID() OptInt

GetID returns the value of ID.

func (*TCPentry) GetRecvID

func (s *TCPentry) GetRecvID() OptInt

GetRecvID returns the value of RecvID.

func (*TCPentry) GetRemoteHost

func (s *TCPentry) GetRemoteHost() OptString

GetRemoteHost returns the value of RemoteHost.

func (*TCPentry) GetRemoteIP

func (s *TCPentry) GetRemoteIP() OptString

GetRemoteIP returns the value of RemoteIP.

func (*TCPentry) GetRemotePort

func (s *TCPentry) GetRemotePort() OptInt

GetRemotePort returns the value of RemotePort.

func (*TCPentry) GetRemoteUser

func (s *TCPentry) GetRemoteUser() OptString

GetRemoteUser returns the value of RemoteUser.

func (*TCPentry) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*TCPentry) SetID

func (s *TCPentry) SetID(val OptInt)

SetID sets the value of ID.

func (*TCPentry) SetRecvID

func (s *TCPentry) SetRecvID(val OptInt)

SetRecvID sets the value of RecvID.

func (*TCPentry) SetRemoteHost

func (s *TCPentry) SetRemoteHost(val OptString)

SetRemoteHost sets the value of RemoteHost.

func (*TCPentry) SetRemoteIP

func (s *TCPentry) SetRemoteIP(val OptString)

SetRemoteIP sets the value of RemoteIP.

func (*TCPentry) SetRemotePort

func (s *TCPentry) SetRemotePort(val OptInt)

SetRemotePort sets the value of RemotePort.

func (*TCPentry) SetRemoteUser

func (s *TCPentry) SetRemoteUser(val OptString)

SetRemoteUser sets the value of RemoteUser.

func (*TCPentry) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type TokenCheck

type TokenCheck struct {
	APIKey string
}

func (*TokenCheck) GetAPIKey

func (s *TokenCheck) GetAPIKey() string

GetAPIKey returns the value of APIKey.

func (*TokenCheck) SetAPIKey

func (s *TokenCheck) SetAPIKey(val string)

SetAPIKey sets the value of APIKey.

type TriggerExtendBadRequest

type TriggerExtendBadRequest Error

func (*TriggerExtendBadRequest) Decode

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

Decode decodes TriggerExtendBadRequest from json.

func (*TriggerExtendBadRequest) Encode

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

Encode encodes TriggerExtendBadRequest as json.

func (*TriggerExtendBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*TriggerExtendBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type TriggerExtendForbidden

type TriggerExtendForbidden struct{}

TriggerExtendForbidden is response for TriggerExtend operation.

type TriggerExtendNotFound

type TriggerExtendNotFound Error

func (*TriggerExtendNotFound) Decode

func (s *TriggerExtendNotFound) Decode(d *jx.Decoder) error

Decode decodes TriggerExtendNotFound from json.

func (*TriggerExtendNotFound) Encode

func (s *TriggerExtendNotFound) Encode(e *jx.Encoder)

Encode encodes TriggerExtendNotFound as json.

func (*TriggerExtendNotFound) MarshalJSON

func (s *TriggerExtendNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TriggerExtendNotFound) UnmarshalJSON

func (s *TriggerExtendNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TriggerExtendParams

type TriggerExtendParams struct {
	// Identifier of the file location.
	Path string
}

TriggerExtendParams is parameters of triggerExtend operation.

type TriggerExtendRes

type TriggerExtendRes interface {
	// contains filtered or unexported methods
}

type TriggerExtendUnauthorized

type TriggerExtendUnauthorized struct{}

TriggerExtendUnauthorized is response for TriggerExtend operation.

type TriggerJobBadRequest

type TriggerJobBadRequest Error

func (*TriggerJobBadRequest) Decode

func (s *TriggerJobBadRequest) Decode(d *jx.Decoder) error

Decode decodes TriggerJobBadRequest from json.

func (*TriggerJobBadRequest) Encode

func (s *TriggerJobBadRequest) Encode(e *jx.Encoder)

Encode encodes TriggerJobBadRequest as json.

func (*TriggerJobBadRequest) MarshalJSON

func (s *TriggerJobBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TriggerJobBadRequest) UnmarshalJSON

func (s *TriggerJobBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TriggerJobForbidden

type TriggerJobForbidden struct{}

TriggerJobForbidden is response for TriggerJob operation.

type TriggerJobNotFound

type TriggerJobNotFound Error

func (*TriggerJobNotFound) Decode

func (s *TriggerJobNotFound) Decode(d *jx.Decoder) error

Decode decodes TriggerJobNotFound from json.

func (*TriggerJobNotFound) Encode

func (s *TriggerJobNotFound) Encode(e *jx.Encoder)

Encode encodes TriggerJobNotFound as json.

func (*TriggerJobNotFound) MarshalJSON

func (s *TriggerJobNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TriggerJobNotFound) UnmarshalJSON

func (s *TriggerJobNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TriggerJobParams

type TriggerJobParams struct {
	// Job Name to be requested.
	JobName string
}

TriggerJobParams is parameters of triggerJob operation.

type TriggerJobRes

type TriggerJobRes interface {
	// contains filtered or unexported methods
}

type TriggerJobUnauthorized

type TriggerJobUnauthorized struct{}

TriggerJobUnauthorized is response for TriggerJob operation.

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) Access

func (UnimplementedHandler) Access(ctx context.Context, params AccessParams) (r AccessRes, _ error)

Access implements access operation.

Retrieve the list of users who are allowed to access data.

GET /admin/access/{role}

func (UnimplementedHandler) AdaptPermission

AdaptPermission implements adaptPermission operation.

Add RBAC role.

PUT /rest/database/{table}/permission

func (UnimplementedHandler) AddAccess

func (UnimplementedHandler) AddAccess(ctx context.Context, params AddAccessParams) (r AddAccessRes, _ error)

AddAccess implements addAccess operation.

Insert user in the list of users who are allowed to access data.

POST /admin/access/{role}

func (UnimplementedHandler) AddRBACResource

AddRBACResource implements addRBACResource operation.

Add permission role.

PUT /rest/database/{table}/permission/{resource}/{name}

func (UnimplementedHandler) AddView

func (UnimplementedHandler) AddView(ctx context.Context, params AddViewParams) (r AddViewRes, _ error)

AddView implements addView operation.

Add configuration in View repositories.

POST /config/views

func (UnimplementedHandler) BatchParameterQuery

BatchParameterQuery implements batchParameterQuery operation.

Call a SQL query batch command posted in query.

GET /rest/batch/{table}/{query}

func (UnimplementedHandler) BatchQuery

BatchQuery implements batchQuery operation.

Call a SQL query batch command posted in body.

POST /rest/batch/{table}

func (UnimplementedHandler) BatchSelect

BatchSelect implements batchSelect operation.

Call a SQL query batch command out of the stored query list.

GET /rest/batch/{table}

func (UnimplementedHandler) BrowseList

func (UnimplementedHandler) BrowseList(ctx context.Context) (r BrowseListRes, _ error)

BrowseList implements browseList operation.

Retrieves a list of Browseable locations.

GET /rest/file/browse

func (UnimplementedHandler) BrowseLocation

BrowseLocation implements browseLocation operation.

Retrieves a list of files in the defined location.

GET /rest/file/browse/{path}

func (UnimplementedHandler) CallExtend

CallExtend implements callExtend operation.

Call plugin extend.

GET /rest/extend/{path}

func (UnimplementedHandler) CallPostExtend

CallPostExtend implements callPostExtend operation.

Post extend/plugin.

POST /rest/extend/{path}

func (UnimplementedHandler) CreateDirectory

CreateDirectory implements createDirectory operation.

Create a new directory.

PUT /rest/file/{path}

func (UnimplementedHandler) DatabaseOperation

DatabaseOperation implements databaseOperation operation.

Retrieve the current status of database with the given dbid.

GET /rest/database/{table_operation}

func (UnimplementedHandler) DatabasePostOperations

DatabasePostOperations implements databasePostOperations operation.

Initiate operations on the given dbid.

POST /rest/database/{table_operation}

func (UnimplementedHandler) DelAccess

func (UnimplementedHandler) DelAccess(ctx context.Context, params DelAccessParams) (r DelAccessRes, _ error)

DelAccess implements delAccess operation.

Delete user in the list of users who are allowed to access data.

DELETE /admin/access/{role}

func (UnimplementedHandler) DeleteDatabase

DeleteDatabase implements deleteDatabase operation.

Delete the database.

DELETE /rest/database/{table_operation}

func (UnimplementedHandler) DeleteExtend

DeleteExtend implements deleteExtend operation.

Delete extend/plugin data.

DELETE /rest/extend/{path}

func (UnimplementedHandler) DeleteFileLocation

DeleteFileLocation implements deleteFileLocation operation.

Delete the file on the given location.

DELETE /rest/file/{path}

func (UnimplementedHandler) DeleteJobResult

DeleteJobResult implements deleteJobResult operation.

Delete a specific job result.

DELETE /rest/tasks/{jobName}/{jobId}

func (UnimplementedHandler) DeleteRBACResource

DeleteRBACResource implements deleteRBACResource operation.

Delete RBAC role.

DELETE /rest/database/{table}/permission/{resource}/{name}

func (UnimplementedHandler) DeleteRecordsSearched

DeleteRecordsSearched implements deleteRecordsSearched operation.

Delete a record with a given search.

DELETE /rest/view/{table}/{search}

func (UnimplementedHandler) DeleteView

DeleteView implements deleteView operation.

Delete entry in configuration.

DELETE /config/views

func (UnimplementedHandler) DisconnectTCP

DisconnectTCP implements disconnectTCP operation.

Disconnect connection in the database with the given dbid.

DELETE /rest/database/{table}/connection

func (UnimplementedHandler) DownloadFile

DownloadFile implements downloadFile operation.

Download a file out of file location.

GET /rest/file/{path}

func (UnimplementedHandler) GetConfig

func (UnimplementedHandler) GetConfig(ctx context.Context) (r GetConfigRes, _ error)

GetConfig implements getConfig operation.

Get configuration.

GET /config

func (UnimplementedHandler) GetConnections

GetConnections implements getConnections operation.

Retrieve the current TCP connection.

GET /rest/database/{table}/connection

func (UnimplementedHandler) GetDatabaseSessions

GetDatabaseSessions implements getDatabaseSessions operation.

Retrieve a list of user queue entries.

GET /rest/database/{table}/sessions

func (UnimplementedHandler) GetDatabaseStats

GetDatabaseStats implements getDatabaseStats operation.

Retrieve SQL statistics.

GET /rest/database/{table}/stats

func (UnimplementedHandler) GetDatabases

func (UnimplementedHandler) GetDatabases(ctx context.Context) (r GetDatabasesRes, _ error)

GetDatabases implements getDatabases operation.

Retrieves a list of databases known by Interface.

GET /rest/database

func (UnimplementedHandler) GetEnvironments

func (UnimplementedHandler) GetEnvironments(ctx context.Context) (r GetEnvironmentsRes, _ error)

GetEnvironments implements getEnvironments operation.

Retrieves the list of environments.

GET /rest/env

func (UnimplementedHandler) GetFields

func (UnimplementedHandler) GetFields(ctx context.Context, params GetFieldsParams) (r GetFieldsRes, _ error)

GetFields implements getFields operation.

Retrieves all fields of an file.

GET /rest/tables/{table}/fields

func (UnimplementedHandler) GetImage

func (UnimplementedHandler) GetImage(ctx context.Context, params GetImageParams) (r GetImageRes, _ error)

GetImage implements getImage operation.

Retrieves a field of a specific ISN of a Map definition.

GET /image/{table}/{field}/{search}

func (UnimplementedHandler) GetJobExecutionResult

GetJobExecutionResult implements getJobExecutionResult operation.

Retrieves a specific job result.

GET /rest/tasks/results

func (UnimplementedHandler) GetJobFullInfo

GetJobFullInfo implements getJobFullInfo operation.

Retrieves a full job definition.

GET /rest/tasks/{jobName}

func (UnimplementedHandler) GetJobResult

GetJobResult implements getJobResult operation.

Delete a specific job result.

GET /rest/tasks/{jobName}/{jobId}

func (UnimplementedHandler) GetJobs

func (UnimplementedHandler) GetJobs(ctx context.Context, params GetJobsParams) (r GetJobsRes, _ error)

GetJobs implements getJobs operation.

Retrieves a list of jobs known by the Interface.

GET /rest/tasks

func (UnimplementedHandler) GetJobsConfig

func (UnimplementedHandler) GetJobsConfig(ctx context.Context) (r GetJobsConfigRes, _ error)

GetJobsConfig implements getJobsConfig operation.

Read job configuration section.

GET /config/jobs

func (UnimplementedHandler) GetLobByMap

GetLobByMap implements getLobByMap operation.

Retrieves a lob of a specific ISN of an field in a Map.

GET /binary/{table}/{field}/{search}

func (UnimplementedHandler) GetLoginSession

func (UnimplementedHandler) GetLoginSession(ctx context.Context) (r GetLoginSessionRes, _ error)

GetLoginSession implements getLoginSession operation.

Login receiving JWT.

GET /login

func (UnimplementedHandler) GetMapMetadata

GetMapMetadata implements getMapMetadata operation.

Retrieves metadata of a Map definition.

GET /rest/metadata/view/{table}

func (UnimplementedHandler) GetMapRecordsFields

GetMapRecordsFields implements getMapRecordsFields operation.

Retrieves a field of a specific ISN of a Map definition.

GET /rest/view/{table}/{fields}/{search}

func (UnimplementedHandler) GetMaps

func (UnimplementedHandler) GetMaps(ctx context.Context) (r GetMapsRes, _ error)

GetMaps implements getMaps operation.

Retrieves a list of available views.

GET /rest/view

func (UnimplementedHandler) GetPermission

GetPermission implements getPermission operation.

List RBAC assignments permission.

GET /rest/database/{table}/permission

func (UnimplementedHandler) GetUserInfo

func (UnimplementedHandler) GetUserInfo(ctx context.Context) (r GetUserInfoRes, _ error)

GetUserInfo implements getUserInfo operation.

Retrieves the user information.

GET /rest/user

func (UnimplementedHandler) GetVersion

func (UnimplementedHandler) GetVersion(ctx context.Context) (r GetVersionRes, _ error)

GetVersion implements getVersion operation.

Retrieves the current version.

GET /version

func (UnimplementedHandler) GetVideo

func (UnimplementedHandler) GetVideo(ctx context.Context, params GetVideoParams) (r GetVideoRes, _ error)

GetVideo implements getVideo operation.

Retrieves a video stream of a specific ISN of a Map definition.

GET /video/{table}/{field}/{search}

func (UnimplementedHandler) GetViews

func (UnimplementedHandler) GetViews(ctx context.Context) (r GetViewsRes, _ error)

GetViews implements getViews operation.

Defines the current views.

GET /config/views

func (UnimplementedHandler) InsertMapFileRecords

InsertMapFileRecords implements insertMapFileRecords operation.

Store send records into Map definition.

POST /rest/view

func (UnimplementedHandler) InsertRecord

InsertRecord implements insertRecord operation.

Insert given record.

POST /rest/view/{table}

func (UnimplementedHandler) ListModelling

func (UnimplementedHandler) ListModelling(ctx context.Context) (r ListModellingRes, _ error)

ListModelling implements listModelling operation.

Retrieves all tables, views or data representation objects.

GET /rest/map

func (UnimplementedHandler) ListRBACResource

ListRBACResource implements listRBACResource operation.

Add permission role.

GET /rest/database/{table}/permission/{resource}

func (UnimplementedHandler) ListTables

func (UnimplementedHandler) ListTables(ctx context.Context) (r ListTablesRes, _ error)

ListTables implements listTables operation.

Retrieves all tables of databases.

GET /rest/tables

func (UnimplementedHandler) LoginSession

func (UnimplementedHandler) LoginSession(ctx context.Context) (r LoginSessionRes, _ error)

LoginSession implements loginSession operation.

Login receiving JWT.

PUT /login

func (UnimplementedHandler) LogoutSessionCompat

func (UnimplementedHandler) LogoutSessionCompat(ctx context.Context) (r LogoutSessionCompatRes, _ error)

LogoutSessionCompat implements logoutSessionCompat operation.

Logout the session.

PUT /logout

func (UnimplementedHandler) NewError

func (UnimplementedHandler) NewError(ctx context.Context, err error) (r *ErrorStatusCode)

NewError creates *ErrorStatusCode from error returned by handler.

Used for common default response.

func (UnimplementedHandler) PostDatabase

func (UnimplementedHandler) PostDatabase(ctx context.Context, req *Database) (r PostDatabaseRes, _ error)

PostDatabase implements postDatabase operation.

Create a new database, the input need to be JSON. A structure level parameter indicate version to be used.

POST /rest/database

func (UnimplementedHandler) PostJob

PostJob implements postJob operation.

Create a new Job database.

POST /rest/tasks

func (UnimplementedHandler) PushLoginSession

func (UnimplementedHandler) PushLoginSession(ctx context.Context) (r PushLoginSessionRes, _ error)

PushLoginSession implements pushLoginSession operation.

Login receiving JWT.

POST /login

func (UnimplementedHandler) PutDatabaseResource

PutDatabaseResource implements putDatabaseResource operation.

Change resource of the database.

PUT /rest/database/{table_operation}

func (UnimplementedHandler) RemovePermission

RemovePermission implements removePermission operation.

Add RBAC role.

DELETE /rest/database/{table}/permission

func (UnimplementedHandler) RemoveSessionCompat

func (UnimplementedHandler) RemoveSessionCompat(ctx context.Context) (r RemoveSessionCompatRes, _ error)

RemoveSessionCompat implements removeSessionCompat operation.

Remove the session.

GET /logoff

func (UnimplementedHandler) SearchModelling

SearchModelling implements searchModelling operation.

Retrieves all columns, fields of a tables, views or data representation.

GET /rest/map/{path}

func (UnimplementedHandler) SearchRecordsFields

SearchRecordsFields implements searchRecordsFields operation.

Query a record with a given SQL query.

GET /rest/view/{table}/{search}

func (UnimplementedHandler) SearchTable

SearchTable implements searchTable operation.

Retrieves all fields of an file.

GET /rest/tables/{table}/{fields}/{search}

func (UnimplementedHandler) SetConfig

SetConfig implements setConfig operation.

Store configuration.

PUT /config

func (UnimplementedHandler) SetJobsConfig

func (UnimplementedHandler) SetJobsConfig(ctx context.Context, req OptJobStore) (r SetJobsConfigRes, _ error)

SetJobsConfig implements setJobsConfig operation.

Set the ADADATADIR.

PUT /config/jobs

func (UnimplementedHandler) ShutdownServer

ShutdownServer implements shutdownServer operation.

Init shutdown procedure.

PUT /rest/shutdown/{hash}

func (UnimplementedHandler) StoreConfig

func (UnimplementedHandler) StoreConfig(ctx context.Context) (r StoreConfigRes, _ error)

StoreConfig implements storeConfig operation.

Store configuration.

POST /config

func (UnimplementedHandler) TriggerExtend

TriggerExtend implements triggerExtend operation.

Put extend/plugin request.

PUT /rest/extend/{path}

func (UnimplementedHandler) TriggerJob

TriggerJob implements triggerJob operation.

Trigger a job.

PUT /rest/tasks/{jobName}

func (UnimplementedHandler) UpdateLobByMap

UpdateLobByMap implements updateLobByMap operation.

Set a lob at a specific ISN of an field in a Map.

PUT /binary/{table}/{field}/{search}

func (UnimplementedHandler) UpdateRecordsByFields

UpdateRecordsByFields implements updateRecordsByFields operation.

Update a record dependent on field(s) of a specific table.

PUT /rest/view/{table}/{search}

func (UnimplementedHandler) UploadFile

UploadFile implements uploadFile operation.

Upload a new file to the given location.

POST /rest/file/{path}

type UpdateLobByMapForbidden

type UpdateLobByMapForbidden struct{}

UpdateLobByMapForbidden is response for UpdateLobByMap operation.

type UpdateLobByMapParams

type UpdateLobByMapParams struct {
	// SQL table.
	Table string
	// Specific ISN number.
	Search string
	// Specific the field to be.
	Field string
}

UpdateLobByMapParams is parameters of updateLobByMap operation.

type UpdateLobByMapReq

type UpdateLobByMapReq interface {
	// contains filtered or unexported methods
}

type UpdateLobByMapReqApplicationOctetStream

type UpdateLobByMapReqApplicationOctetStream struct {
	Data io.Reader
}

func (UpdateLobByMapReqApplicationOctetStream) Read

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type UpdateLobByMapReqMultipartFormData

type UpdateLobByMapReqMultipartFormData struct {
	// Upload raw binary content of field.
	UploadLob ht.MultipartFile `json:"uploadLob"`
}

func (*UpdateLobByMapReqMultipartFormData) GetUploadLob

GetUploadLob returns the value of UploadLob.

func (*UpdateLobByMapReqMultipartFormData) SetUploadLob

SetUploadLob sets the value of UploadLob.

type UpdateLobByMapRes

type UpdateLobByMapRes interface {
	// contains filtered or unexported methods
}

type UpdateLobByMapUnauthorized

type UpdateLobByMapUnauthorized struct{}

UpdateLobByMapUnauthorized is response for UpdateLobByMap operation.

type UpdateRecordsByFieldsForbidden

type UpdateRecordsByFieldsForbidden struct{}

UpdateRecordsByFieldsForbidden is response for UpdateRecordsByFields operation.

type UpdateRecordsByFieldsParams

type UpdateRecordsByFieldsParams struct {
	// SQL table.
	Table string
	// Fields to check where with.
	Search string
}

UpdateRecordsByFieldsParams is parameters of updateRecordsByFields operation.

type UpdateRecordsByFieldsReq

type UpdateRecordsByFieldsReq struct {
	Records []UpdateRecordsByFieldsReqRecordsItem `json:"Records"`
}

func (*UpdateRecordsByFieldsReq) Decode

func (s *UpdateRecordsByFieldsReq) Decode(d *jx.Decoder) error

Decode decodes UpdateRecordsByFieldsReq from json.

func (*UpdateRecordsByFieldsReq) Encode

func (s *UpdateRecordsByFieldsReq) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateRecordsByFieldsReq) GetRecords

GetRecords returns the value of Records.

func (*UpdateRecordsByFieldsReq) MarshalJSON

func (s *UpdateRecordsByFieldsReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateRecordsByFieldsReq) SetRecords

SetRecords sets the value of Records.

func (*UpdateRecordsByFieldsReq) UnmarshalJSON

func (s *UpdateRecordsByFieldsReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateRecordsByFieldsReqRecordsItem

type UpdateRecordsByFieldsReqRecordsItem map[string]jx.Raw

func (*UpdateRecordsByFieldsReqRecordsItem) Decode

Decode decodes UpdateRecordsByFieldsReqRecordsItem from json.

func (UpdateRecordsByFieldsReqRecordsItem) Encode

Encode implements json.Marshaler.

func (UpdateRecordsByFieldsReqRecordsItem) MarshalJSON

func (s UpdateRecordsByFieldsReqRecordsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateRecordsByFieldsReqRecordsItem) UnmarshalJSON

func (s *UpdateRecordsByFieldsReqRecordsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateRecordsByFieldsRes

type UpdateRecordsByFieldsRes interface {
	// contains filtered or unexported methods
}

type UpdateRecordsByFieldsUnauthorized

type UpdateRecordsByFieldsUnauthorized struct{}

UpdateRecordsByFieldsUnauthorized is response for UpdateRecordsByFields operation.

type UploadFileBadRequest

type UploadFileBadRequest Error

func (*UploadFileBadRequest) Decode

func (s *UploadFileBadRequest) Decode(d *jx.Decoder) error

Decode decodes UploadFileBadRequest from json.

func (*UploadFileBadRequest) Encode

func (s *UploadFileBadRequest) Encode(e *jx.Encoder)

Encode encodes UploadFileBadRequest as json.

func (*UploadFileBadRequest) MarshalJSON

func (s *UploadFileBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UploadFileBadRequest) UnmarshalJSON

func (s *UploadFileBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UploadFileForbidden

type UploadFileForbidden struct{}

UploadFileForbidden is response for UploadFile operation.

type UploadFileNotFound

type UploadFileNotFound Error

func (*UploadFileNotFound) Decode

func (s *UploadFileNotFound) Decode(d *jx.Decoder) error

Decode decodes UploadFileNotFound from json.

func (*UploadFileNotFound) Encode

func (s *UploadFileNotFound) Encode(e *jx.Encoder)

Encode encodes UploadFileNotFound as json.

func (*UploadFileNotFound) MarshalJSON

func (s *UploadFileNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UploadFileNotFound) UnmarshalJSON

func (s *UploadFileNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UploadFileOKTextPlain

type UploadFileOKTextPlain struct {
	Data io.Reader
}

func (UploadFileOKTextPlain) Read

func (s UploadFileOKTextPlain) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type UploadFileParams

type UploadFileParams struct {
	// Identifier of the file location.
	Path string
	// Identifier of the file location.
	File string
}

UploadFileParams is parameters of uploadFile operation.

type UploadFileReq

type UploadFileReq struct {
	// Upload file.
	UploadFile ht.MultipartFile `json:"uploadFile"`
}

func (*UploadFileReq) GetUploadFile

func (s *UploadFileReq) GetUploadFile() ht.MultipartFile

GetUploadFile returns the value of UploadFile.

func (*UploadFileReq) SetUploadFile

func (s *UploadFileReq) SetUploadFile(val ht.MultipartFile)

SetUploadFile sets the value of UploadFile.

type UploadFileRes

type UploadFileRes interface {
	// contains filtered or unexported methods
}

type UploadFileUnauthorized

type UploadFileUnauthorized struct{}

UploadFileUnauthorized is response for UploadFile operation.

type User

type User struct {
	Email      OptString   `json:"email"`
	Name       OptString   `json:"name"`
	Picture    OptString   `json:"Picture"`
	LongName   OptString   `json:"LongName"`
	UUID       OptUUID     `json:"UUID"`
	LastLogin  OptDateTime `json:"LastLogin"`
	Created    OptDateTime `json:"Created"`
	Permission OptString   `json:"Permission"`
}

Ref: #/components/schemas/User

func (*User) Decode

func (s *User) Decode(d *jx.Decoder) error

Decode decodes User from json.

func (*User) Encode

func (s *User) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*User) GetCreated

func (s *User) GetCreated() OptDateTime

GetCreated returns the value of Created.

func (*User) GetEmail

func (s *User) GetEmail() OptString

GetEmail returns the value of Email.

func (*User) GetLastLogin

func (s *User) GetLastLogin() OptDateTime

GetLastLogin returns the value of LastLogin.

func (*User) GetLongName

func (s *User) GetLongName() OptString

GetLongName returns the value of LongName.

func (*User) GetName

func (s *User) GetName() OptString

GetName returns the value of Name.

func (*User) GetPermission

func (s *User) GetPermission() OptString

GetPermission returns the value of Permission.

func (*User) GetPicture

func (s *User) GetPicture() OptString

GetPicture returns the value of Picture.

func (*User) GetUUID

func (s *User) GetUUID() OptUUID

GetUUID returns the value of UUID.

func (*User) MarshalJSON

func (s *User) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*User) SetCreated

func (s *User) SetCreated(val OptDateTime)

SetCreated sets the value of Created.

func (*User) SetEmail

func (s *User) SetEmail(val OptString)

SetEmail sets the value of Email.

func (*User) SetLastLogin

func (s *User) SetLastLogin(val OptDateTime)

SetLastLogin sets the value of LastLogin.

func (*User) SetLongName

func (s *User) SetLongName(val OptString)

SetLongName sets the value of LongName.

func (*User) SetName

func (s *User) SetName(val OptString)

SetName sets the value of Name.

func (*User) SetPermission

func (s *User) SetPermission(val OptString)

SetPermission sets the value of Permission.

func (*User) SetPicture

func (s *User) SetPicture(val OptString)

SetPicture sets the value of Picture.

func (*User) SetUUID

func (s *User) SetUUID(val OptUUID)

SetUUID sets the value of UUID.

func (*User) UnmarshalJSON

func (s *User) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*User) Validate

func (s *User) Validate() error

type Users

type Users struct {
	Users           []UsersUsersItem `json:"Users"`
	ReadPermission  OptString        `json:"readPermission"`
	WritePermission OptString        `json:"writePermission"`
}

Ref: #/components/schemas/Users

func (*Users) Decode

func (s *Users) Decode(d *jx.Decoder) error

Decode decodes Users from json.

func (*Users) Encode

func (s *Users) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Users) GetReadPermission

func (s *Users) GetReadPermission() OptString

GetReadPermission returns the value of ReadPermission.

func (*Users) GetUsers

func (s *Users) GetUsers() []UsersUsersItem

GetUsers returns the value of Users.

func (*Users) GetWritePermission

func (s *Users) GetWritePermission() OptString

GetWritePermission returns the value of WritePermission.

func (*Users) MarshalJSON

func (s *Users) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Users) SetReadPermission

func (s *Users) SetReadPermission(val OptString)

SetReadPermission sets the value of ReadPermission.

func (*Users) SetUsers

func (s *Users) SetUsers(val []UsersUsersItem)

SetUsers sets the value of Users.

func (*Users) SetWritePermission

func (s *Users) SetWritePermission(val OptString)

SetWritePermission sets the value of WritePermission.

func (*Users) UnmarshalJSON

func (s *Users) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UsersUsersItem

type UsersUsersItem struct {
	Name            OptString `json:"name"`
	ReadPermission  OptString `json:"readPermission"`
	WritePermission OptString `json:"writePermission"`
	Administrator   OptBool   `json:"administrator"`
}

func (*UsersUsersItem) Decode

func (s *UsersUsersItem) Decode(d *jx.Decoder) error

Decode decodes UsersUsersItem from json.

func (*UsersUsersItem) Encode

func (s *UsersUsersItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UsersUsersItem) GetAdministrator

func (s *UsersUsersItem) GetAdministrator() OptBool

GetAdministrator returns the value of Administrator.

func (*UsersUsersItem) GetName

func (s *UsersUsersItem) GetName() OptString

GetName returns the value of Name.

func (*UsersUsersItem) GetReadPermission

func (s *UsersUsersItem) GetReadPermission() OptString

GetReadPermission returns the value of ReadPermission.

func (*UsersUsersItem) GetWritePermission

func (s *UsersUsersItem) GetWritePermission() OptString

GetWritePermission returns the value of WritePermission.

func (*UsersUsersItem) MarshalJSON

func (s *UsersUsersItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UsersUsersItem) SetAdministrator

func (s *UsersUsersItem) SetAdministrator(val OptBool)

SetAdministrator sets the value of Administrator.

func (*UsersUsersItem) SetName

func (s *UsersUsersItem) SetName(val OptString)

SetName sets the value of Name.

func (*UsersUsersItem) SetReadPermission

func (s *UsersUsersItem) SetReadPermission(val OptString)

SetReadPermission sets the value of ReadPermission.

func (*UsersUsersItem) SetWritePermission

func (s *UsersUsersItem) SetWritePermission(val OptString)

SetWritePermission sets the value of WritePermission.

func (*UsersUsersItem) UnmarshalJSON

func (s *UsersUsersItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Versions

type Versions struct {
	Handler []APIHandler `json:"Handler"`
	Product OptString    `json:"Product"`
	Version OptString    `json:"Version"`
}

Ref: #/components/schemas/Versions

func (*Versions) Decode

func (s *Versions) Decode(d *jx.Decoder) error

Decode decodes Versions from json.

func (*Versions) Encode

func (s *Versions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Versions) GetHandler

func (s *Versions) GetHandler() []APIHandler

GetHandler returns the value of Handler.

func (*Versions) GetProduct

func (s *Versions) GetProduct() OptString

GetProduct returns the value of Product.

func (*Versions) GetVersion

func (s *Versions) GetVersion() OptString

GetVersion returns the value of Version.

func (*Versions) MarshalJSON

func (s *Versions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Versions) SetHandler

func (s *Versions) SetHandler(val []APIHandler)

SetHandler sets the value of Handler.

func (*Versions) SetProduct

func (s *Versions) SetProduct(val OptString)

SetProduct sets the value of Product.

func (*Versions) SetVersion

func (s *Versions) SetVersion(val OptString)

SetVersion sets the value of Version.

func (*Versions) UnmarshalJSON

func (s *Versions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL