api

package
v2.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: MIT Imports: 30 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 GetUnknownFields

func GetUnknownFields(rawJSON map[string]interface{}, knownFields map[string]bool) map[string]interface{}

GetUnknownFields returns all fields that are not standard (helper for debugging)

func MustFieldExtraction

func MustFieldExtraction(data interface{}, path ...string) interface{}

MustFieldExtraction extracts a field or returns nil without error

func SafeFieldExtraction

func SafeFieldExtraction(data interface{}, path ...string) (interface{}, error)

SafeFieldExtraction safely extracts a nested field from an interface{} value

func WithServerURL

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

WithServerURL sets context key to override server URL.

Types

type ActiveInternalSquad

type ActiveInternalSquad struct {
	UUID uuid.UUID `json:"uuid"`
	Name string    `json:"name"`
}

Ref: #/components/schemas/ActiveInternalSquad

func (*ActiveInternalSquad) Decode

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

Decode decodes ActiveInternalSquad from json.

func (*ActiveInternalSquad) Encode

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

Encode implements json.Marshaler.

func (*ActiveInternalSquad) GetName

func (s *ActiveInternalSquad) GetName() string

GetName returns the value of Name.

func (*ActiveInternalSquad) GetUUID

func (s *ActiveInternalSquad) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*ActiveInternalSquad) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ActiveInternalSquad) SetFake

func (s *ActiveInternalSquad) SetFake()

SetFake set fake values.

func (*ActiveInternalSquad) SetName

func (s *ActiveInternalSquad) SetName(val string)

SetName sets the value of Name.

func (*ActiveInternalSquad) SetUUID

func (s *ActiveInternalSquad) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*ActiveInternalSquad) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AllHwidDevices

type AllHwidDevices struct {
	Devices []Device `json:"devices"`
	Total   float64  `json:"total"`
}

Ref: #/components/schemas/AllHwidDevices

func (*AllHwidDevices) Decode

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

Decode decodes AllHwidDevices from json.

func (*AllHwidDevices) Encode

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

Encode implements json.Marshaler.

func (*AllHwidDevices) GetDevices

func (s *AllHwidDevices) GetDevices() []Device

GetDevices returns the value of Devices.

func (*AllHwidDevices) GetTotal

func (s *AllHwidDevices) GetTotal() float64

GetTotal returns the value of Total.

func (*AllHwidDevices) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AllHwidDevices) SetDevices

func (s *AllHwidDevices) SetDevices(val []Device)

SetDevices sets the value of Devices.

func (*AllHwidDevices) SetFake

func (s *AllHwidDevices) SetFake()

SetFake set fake values.

func (*AllHwidDevices) SetTotal

func (s *AllHwidDevices) SetTotal(val float64)

SetTotal sets the value of Total.

func (*AllHwidDevices) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AllHwidDevices) Validate

func (s *AllHwidDevices) Validate() error

type ApiTokensClient

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

ApiTokensClient provides ApiTokens operations.

func NewApiTokensClient

func NewApiTokensClient(client *Client) *ApiTokensClient

NewApiTokensClient creates a new ApiTokensClient.

func (*ApiTokensClient) Create

Create calls ApiTokensController_create.

func (*ApiTokensClient) Delete

Delete calls ApiTokensController_delete.

func (*ApiTokensClient) FindAll

FindAll calls ApiTokensController_findAll.

type ApiTokensControllerCreateRes

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

type ApiTokensControllerDeleteParams

type ApiTokensControllerDeleteParams struct {
	// UUID of the API token.
	UUID string
}

ApiTokensControllerDeleteParams is parameters of ApiTokensController_delete operation.

type ApiTokensControllerDeleteRes

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

type ApiTokensControllerFindAllRes

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

type AuthClient

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

AuthClient provides Auth operations.

func NewAuthClient

func NewAuthClient(client *Client) *AuthClient

NewAuthClient creates a new AuthClient.

func (*AuthClient) GetStatus

GetStatus calls AuthController_getStatus.

func (*AuthClient) Login

Login calls AuthController_login.

func (*AuthClient) Oauth2Authorize

Oauth2Authorize calls AuthController_oauth2Authorize.

func (*AuthClient) Oauth2Callback

Oauth2Callback calls AuthController_oauth2Callback.

func (*AuthClient) PasskeyAuthenticationOptions

func (sc *AuthClient) PasskeyAuthenticationOptions(ctx context.Context) (AuthControllerPasskeyAuthenticationOptionsRes, error)

PasskeyAuthenticationOptions calls AuthController_passkeyAuthenticationOptions.

func (*AuthClient) PasskeyAuthenticationVerify

func (sc *AuthClient) PasskeyAuthenticationVerify(ctx context.Context, request *PasskeyOptions) (AuthControllerPasskeyAuthenticationVerifyRes, error)

PasskeyAuthenticationVerify calls AuthController_passkeyAuthenticationVerify.

func (*AuthClient) Register

Register calls AuthController_register.

func (*AuthClient) TelegramCallback

TelegramCallback calls AuthController_telegramCallback.

type AuthControllerGetStatusRes

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

type AuthControllerLoginRes

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

type AuthControllerOauth2AuthorizeRes

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

type AuthControllerOauth2CallbackRes

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

type AuthControllerPasskeyAuthenticationOptionsRes

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

type AuthControllerPasskeyAuthenticationVerifyRes

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

type AuthControllerRegisterRes

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

type AuthControllerTelegramCallbackRes

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

type Authorization

type Authorization struct {
	Token string
	Roles []string
}

func (*Authorization) GetRoles

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

GetRoles returns the value of Roles.

func (*Authorization) GetToken

func (s *Authorization) GetToken() string

GetToken returns the value of Token.

func (*Authorization) SetRoles

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

SetRoles sets the value of Roles.

func (*Authorization) SetToken

func (s *Authorization) SetToken(val string)

SetToken sets the value of Token.

type BadRequestError

type BadRequestError struct {
	Message    string            `json:"message"`
	StatusCode float64           `json:"statusCode"`
	Errors     []ValidationError `json:"errors"`
}

Ref: #/components/schemas/BadRequestError

func (*BadRequestError) Decode

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

Decode decodes BadRequestError from json.

func (*BadRequestError) Encode

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

Encode implements json.Marshaler.

func (*BadRequestError) GetErrors

func (s *BadRequestError) GetErrors() []ValidationError

GetErrors returns the value of Errors.

func (*BadRequestError) GetMessage

func (s *BadRequestError) GetMessage() string

GetMessage returns the value of Message.

func (*BadRequestError) GetStatusCode

func (s *BadRequestError) GetStatusCode() float64

GetStatusCode returns the value of StatusCode.

func (*BadRequestError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BadRequestError) SetErrors

func (s *BadRequestError) SetErrors(val []ValidationError)

SetErrors sets the value of Errors.

func (*BadRequestError) SetFake

func (s *BadRequestError) SetFake()

SetFake set fake values.

func (*BadRequestError) SetMessage

func (s *BadRequestError) SetMessage(val string)

SetMessage sets the value of Message.

func (*BadRequestError) SetStatusCode

func (s *BadRequestError) SetStatusCode(val float64)

SetStatusCode sets the value of StatusCode.

func (*BadRequestError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BadRequestError) Validate

func (s *BadRequestError) Validate() error

type BandwidthLastTwoDays

type BandwidthLastTwoDays struct {
	Current    string `json:"current"`
	Previous   string `json:"previous"`
	Difference string `json:"difference"`
}

Ref: #/components/schemas/BandwidthLastTwoDays

func (*BandwidthLastTwoDays) Decode

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

Decode decodes BandwidthLastTwoDays from json.

func (*BandwidthLastTwoDays) Encode

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

Encode implements json.Marshaler.

func (*BandwidthLastTwoDays) GetCurrent

func (s *BandwidthLastTwoDays) GetCurrent() string

GetCurrent returns the value of Current.

func (*BandwidthLastTwoDays) GetDifference

func (s *BandwidthLastTwoDays) GetDifference() string

GetDifference returns the value of Difference.

func (*BandwidthLastTwoDays) GetPrevious

func (s *BandwidthLastTwoDays) GetPrevious() string

GetPrevious returns the value of Previous.

func (*BandwidthLastTwoDays) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BandwidthLastTwoDays) SetCurrent

func (s *BandwidthLastTwoDays) SetCurrent(val string)

SetCurrent sets the value of Current.

func (*BandwidthLastTwoDays) SetDifference

func (s *BandwidthLastTwoDays) SetDifference(val string)

SetDifference sets the value of Difference.

func (*BandwidthLastTwoDays) SetFake

func (s *BandwidthLastTwoDays) SetFake()

SetFake set fake values.

func (*BandwidthLastTwoDays) SetPrevious

func (s *BandwidthLastTwoDays) SetPrevious(val string)

SetPrevious sets the value of Previous.

func (*BandwidthLastTwoDays) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BandwidthStatsNodesClient

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

BandwidthStatsNodesClient provides BandwidthStatsNodes operations.

func NewBandwidthStatsNodesClient

func NewBandwidthStatsNodesClient(client *Client) *BandwidthStatsNodesClient

NewBandwidthStatsNodesClient creates a new BandwidthStatsNodesClient.

func (*BandwidthStatsNodesClient) GetNodeUserUsage

GetNodeUserUsage calls BandwidthStatsNodesController_getNodeUserUsage.

func (*BandwidthStatsNodesClient) GetNodesRealtimeUsage

GetNodesRealtimeUsage calls BandwidthStatsNodesController_getNodesRealtimeUsage.

func (*BandwidthStatsNodesClient) GetStatsNodeUsersUsage

GetStatsNodeUsersUsage calls BandwidthStatsNodesController_getStatsNodeUsersUsage.

type BandwidthStatsNodesControllerGetNodeUserUsageParams

type BandwidthStatsNodesControllerGetNodeUserUsageParams struct {
	// Start date.
	Start time.Time
	// End date.
	End time.Time
	// UUID of the node.
	UUID string
}

BandwidthStatsNodesControllerGetNodeUserUsageParams is parameters of BandwidthStatsNodesController_getNodeUserUsage operation.

type BandwidthStatsNodesControllerGetNodeUserUsageRes

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

type BandwidthStatsNodesControllerGetNodesRealtimeUsageRes

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

type BandwidthStatsNodesControllerGetStatsNodeUsersUsageParams

type BandwidthStatsNodesControllerGetStatsNodeUsersUsageParams struct {
	// Limit of top users to return.
	TopUsersLimit float64
	// Start date.
	Start time.Time
	// End date.
	End time.Time
	// UUID of the node.
	UUID string
}

BandwidthStatsNodesControllerGetStatsNodeUsersUsageParams is parameters of BandwidthStatsNodesController_getStatsNodeUsersUsage operation.

type BandwidthStatsNodesControllerGetStatsNodeUsersUsageRes

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

type BandwidthStatsUsersClient

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

BandwidthStatsUsersClient provides BandwidthStatsUsers operations.

func NewBandwidthStatsUsersClient

func NewBandwidthStatsUsersClient(client *Client) *BandwidthStatsUsersClient

NewBandwidthStatsUsersClient creates a new BandwidthStatsUsersClient.

func (*BandwidthStatsUsersClient) GetStatsNodesUsage

GetStatsNodesUsage calls BandwidthStatsUsersController_getStatsNodesUsage.

func (*BandwidthStatsUsersClient) GetUserUsageByRange

GetUserUsageByRange calls BandwidthStatsUsersController_getUserUsageByRange.

type BandwidthStatsUsersControllerGetStatsNodesUsageParams

type BandwidthStatsUsersControllerGetStatsNodesUsageParams struct {
	// Limit of top nodes to return.
	TopNodesLimit float64
	// Start date.
	Start time.Time
	// End date.
	End time.Time
	// UUID of the user.
	UUID string
}

BandwidthStatsUsersControllerGetStatsNodesUsageParams is parameters of BandwidthStatsUsersController_getStatsNodesUsage operation.

type BandwidthStatsUsersControllerGetStatsNodesUsageRes

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

type BandwidthStatsUsersControllerGetUserUsageByRangeParams

type BandwidthStatsUsersControllerGetUserUsageByRangeParams struct {
	// Start date.
	Start time.Time
	// End date.
	End time.Time
	// UUID of the user.
	UUID string
}

BandwidthStatsUsersControllerGetUserUsageByRangeParams is parameters of BandwidthStatsUsersController_getUserUsageByRange operation.

type BandwidthStatsUsersControllerGetUserUsageByRangeRes

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

type BillingHistoryItem

type BillingHistoryItem struct {
	TotalAmount float64 `json:"totalAmount"`
	TotalBills  float64 `json:"totalBills"`
}

Ref: #/components/schemas/BillingHistoryItem

func (*BillingHistoryItem) Decode

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

Decode decodes BillingHistoryItem from json.

func (*BillingHistoryItem) Encode

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

Encode implements json.Marshaler.

func (*BillingHistoryItem) GetTotalAmount

func (s *BillingHistoryItem) GetTotalAmount() float64

GetTotalAmount returns the value of TotalAmount.

func (*BillingHistoryItem) GetTotalBills

func (s *BillingHistoryItem) GetTotalBills() float64

GetTotalBills returns the value of TotalBills.

func (*BillingHistoryItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillingHistoryItem) SetFake

func (s *BillingHistoryItem) SetFake()

SetFake set fake values.

func (*BillingHistoryItem) SetTotalAmount

func (s *BillingHistoryItem) SetTotalAmount(val float64)

SetTotalAmount sets the value of TotalAmount.

func (*BillingHistoryItem) SetTotalBills

func (s *BillingHistoryItem) SetTotalBills(val float64)

SetTotalBills sets the value of TotalBills.

func (*BillingHistoryItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillingHistoryItem) Validate

func (s *BillingHistoryItem) Validate() error

type BillingHistoryResponse

type BillingHistoryResponse struct {
	Response BillingHistoryResponseResponse `json:"response"`
}

Ref: #/components/schemas/BillingHistoryResponse

func (*BillingHistoryResponse) Decode

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

Decode decodes BillingHistoryResponse from json.

func (*BillingHistoryResponse) Encode

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

Encode implements json.Marshaler.

func (*BillingHistoryResponse) GetResponse

GetResponse returns the value of Response.

func (*BillingHistoryResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillingHistoryResponse) SetFake

func (s *BillingHistoryResponse) SetFake()

SetFake set fake values.

func (*BillingHistoryResponse) SetResponse

SetResponse sets the value of Response.

func (*BillingHistoryResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillingHistoryResponse) Validate

func (s *BillingHistoryResponse) Validate() error

type BillingHistoryResponseResponse

type BillingHistoryResponseResponse struct {
	Records []BillingHistoryResponseResponseRecordsItem `json:"records"`
	Total   float64                                     `json:"total"`
}

func (*BillingHistoryResponseResponse) Decode

Decode decodes BillingHistoryResponseResponse from json.

func (*BillingHistoryResponseResponse) Encode

Encode implements json.Marshaler.

func (*BillingHistoryResponseResponse) GetRecords

GetRecords returns the value of Records.

func (*BillingHistoryResponseResponse) GetTotal

GetTotal returns the value of Total.

func (*BillingHistoryResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillingHistoryResponseResponse) SetFake

func (s *BillingHistoryResponseResponse) SetFake()

SetFake set fake values.

func (*BillingHistoryResponseResponse) SetRecords

SetRecords sets the value of Records.

func (*BillingHistoryResponseResponse) SetTotal

func (s *BillingHistoryResponseResponse) SetTotal(val float64)

SetTotal sets the value of Total.

func (*BillingHistoryResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillingHistoryResponseResponse) Validate

func (s *BillingHistoryResponseResponse) Validate() error

type BillingHistoryResponseResponseRecordsItem

type BillingHistoryResponseResponseRecordsItem struct {
	UUID         uuid.UUID                                         `json:"uuid"`
	ProviderUuid uuid.UUID                                         `json:"providerUuid"`
	Amount       float64                                           `json:"amount"`
	BilledAt     time.Time                                         `json:"billedAt"`
	Provider     BillingHistoryResponseResponseRecordsItemProvider `json:"provider"`
}

func (*BillingHistoryResponseResponseRecordsItem) Decode

Decode decodes BillingHistoryResponseResponseRecordsItem from json.

func (*BillingHistoryResponseResponseRecordsItem) Encode

Encode implements json.Marshaler.

func (*BillingHistoryResponseResponseRecordsItem) GetAmount

GetAmount returns the value of Amount.

func (*BillingHistoryResponseResponseRecordsItem) GetBilledAt

GetBilledAt returns the value of BilledAt.

func (*BillingHistoryResponseResponseRecordsItem) GetProvider

GetProvider returns the value of Provider.

func (*BillingHistoryResponseResponseRecordsItem) GetProviderUuid

GetProviderUuid returns the value of ProviderUuid.

func (*BillingHistoryResponseResponseRecordsItem) GetUUID

GetUUID returns the value of UUID.

func (*BillingHistoryResponseResponseRecordsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BillingHistoryResponseResponseRecordsItem) SetAmount

SetAmount sets the value of Amount.

func (*BillingHistoryResponseResponseRecordsItem) SetBilledAt

SetBilledAt sets the value of BilledAt.

func (*BillingHistoryResponseResponseRecordsItem) SetFake

SetFake set fake values.

func (*BillingHistoryResponseResponseRecordsItem) SetProvider

SetProvider sets the value of Provider.

func (*BillingHistoryResponseResponseRecordsItem) SetProviderUuid

func (s *BillingHistoryResponseResponseRecordsItem) SetProviderUuid(val uuid.UUID)

SetProviderUuid sets the value of ProviderUuid.

func (*BillingHistoryResponseResponseRecordsItem) SetUUID

SetUUID sets the value of UUID.

func (*BillingHistoryResponseResponseRecordsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillingHistoryResponseResponseRecordsItem) Validate

type BillingHistoryResponseResponseRecordsItemProvider

type BillingHistoryResponseResponseRecordsItemProvider struct {
	UUID        uuid.UUID `json:"uuid"`
	Name        string    `json:"name"`
	FaviconLink NilString `json:"faviconLink"`
}

func (*BillingHistoryResponseResponseRecordsItemProvider) Decode

Decode decodes BillingHistoryResponseResponseRecordsItemProvider from json.

func (*BillingHistoryResponseResponseRecordsItemProvider) Encode

Encode implements json.Marshaler.

GetFaviconLink returns the value of FaviconLink.

func (*BillingHistoryResponseResponseRecordsItemProvider) GetName

GetName returns the value of Name.

func (*BillingHistoryResponseResponseRecordsItemProvider) GetUUID

GetUUID returns the value of UUID.

func (*BillingHistoryResponseResponseRecordsItemProvider) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BillingHistoryResponseResponseRecordsItemProvider) SetFake

SetFake set fake values.

SetFaviconLink sets the value of FaviconLink.

func (*BillingHistoryResponseResponseRecordsItemProvider) SetName

SetName sets the value of Name.

func (*BillingHistoryResponseResponseRecordsItemProvider) SetUUID

SetUUID sets the value of UUID.

func (*BillingHistoryResponseResponseRecordsItemProvider) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BillingNode

type BillingNode struct {
	NodeUuid    uuid.UUID `json:"nodeUuid"`
	Name        string    `json:"name"`
	CountryCode string    `json:"countryCode"`
}

Ref: #/components/schemas/BillingNode

func (*BillingNode) Decode

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

Decode decodes BillingNode from json.

func (*BillingNode) Encode

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

Encode implements json.Marshaler.

func (*BillingNode) GetCountryCode

func (s *BillingNode) GetCountryCode() string

GetCountryCode returns the value of CountryCode.

func (*BillingNode) GetName

func (s *BillingNode) GetName() string

GetName returns the value of Name.

func (*BillingNode) GetNodeUuid

func (s *BillingNode) GetNodeUuid() uuid.UUID

GetNodeUuid returns the value of NodeUuid.

func (*BillingNode) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillingNode) SetCountryCode

func (s *BillingNode) SetCountryCode(val string)

SetCountryCode sets the value of CountryCode.

func (*BillingNode) SetFake

func (s *BillingNode) SetFake()

SetFake set fake values.

func (*BillingNode) SetName

func (s *BillingNode) SetName(val string)

SetName sets the value of Name.

func (*BillingNode) SetNodeUuid

func (s *BillingNode) SetNodeUuid(val uuid.UUID)

SetNodeUuid sets the value of NodeUuid.

func (*BillingNode) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BillingNodesResponse

type BillingNodesResponse struct {
	Response BillingNodesResponseResponse `json:"response"`
}

Ref: #/components/schemas/BillingNodesResponse

func (*BillingNodesResponse) Decode

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

Decode decodes BillingNodesResponse from json.

func (*BillingNodesResponse) Encode

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

Encode implements json.Marshaler.

func (*BillingNodesResponse) GetResponse

GetResponse returns the value of Response.

func (*BillingNodesResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillingNodesResponse) SetFake

func (s *BillingNodesResponse) SetFake()

SetFake set fake values.

func (*BillingNodesResponse) SetResponse

SetResponse sets the value of Response.

func (*BillingNodesResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillingNodesResponse) Validate

func (s *BillingNodesResponse) Validate() error

type BillingNodesResponseResponse

type BillingNodesResponseResponse struct {
	TotalBillingNodes          float64                                        `json:"totalBillingNodes"`
	BillingNodes               []BillingNodesResponseResponseBillingNodesItem `json:"billingNodes"`
	AvailableBillingNodes      []Node                                         `json:"availableBillingNodes"`
	TotalAvailableBillingNodes float64                                        `json:"totalAvailableBillingNodes"`
	Stats                      BillingNodesResponseResponseStats              `json:"stats"`
}

func (*BillingNodesResponseResponse) Decode

Decode decodes BillingNodesResponseResponse from json.

func (*BillingNodesResponseResponse) Encode

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

Encode implements json.Marshaler.

func (*BillingNodesResponseResponse) GetAvailableBillingNodes

func (s *BillingNodesResponseResponse) GetAvailableBillingNodes() []Node

GetAvailableBillingNodes returns the value of AvailableBillingNodes.

func (*BillingNodesResponseResponse) GetBillingNodes

GetBillingNodes returns the value of BillingNodes.

func (*BillingNodesResponseResponse) GetStats

GetStats returns the value of Stats.

func (*BillingNodesResponseResponse) GetTotalAvailableBillingNodes

func (s *BillingNodesResponseResponse) GetTotalAvailableBillingNodes() float64

GetTotalAvailableBillingNodes returns the value of TotalAvailableBillingNodes.

func (*BillingNodesResponseResponse) GetTotalBillingNodes

func (s *BillingNodesResponseResponse) GetTotalBillingNodes() float64

GetTotalBillingNodes returns the value of TotalBillingNodes.

func (*BillingNodesResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillingNodesResponseResponse) SetAvailableBillingNodes

func (s *BillingNodesResponseResponse) SetAvailableBillingNodes(val []Node)

SetAvailableBillingNodes sets the value of AvailableBillingNodes.

func (*BillingNodesResponseResponse) SetBillingNodes

SetBillingNodes sets the value of BillingNodes.

func (*BillingNodesResponseResponse) SetFake

func (s *BillingNodesResponseResponse) SetFake()

SetFake set fake values.

func (*BillingNodesResponseResponse) SetStats

SetStats sets the value of Stats.

func (*BillingNodesResponseResponse) SetTotalAvailableBillingNodes

func (s *BillingNodesResponseResponse) SetTotalAvailableBillingNodes(val float64)

SetTotalAvailableBillingNodes sets the value of TotalAvailableBillingNodes.

func (*BillingNodesResponseResponse) SetTotalBillingNodes

func (s *BillingNodesResponseResponse) SetTotalBillingNodes(val float64)

SetTotalBillingNodes sets the value of TotalBillingNodes.

func (*BillingNodesResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillingNodesResponseResponse) Validate

func (s *BillingNodesResponseResponse) Validate() error

type BillingNodesResponseResponseBillingNodesItem

type BillingNodesResponseResponseBillingNodesItem struct {
	UUID          uuid.UUID                                            `json:"uuid"`
	NodeUuid      uuid.UUID                                            `json:"nodeUuid"`
	ProviderUuid  uuid.UUID                                            `json:"providerUuid"`
	Provider      BillingNodesResponseResponseBillingNodesItemProvider `json:"provider"`
	Node          Node                                                 `json:"node"`
	NextBillingAt time.Time                                            `json:"nextBillingAt"`
	CreatedAt     time.Time                                            `json:"createdAt"`
	UpdatedAt     time.Time                                            `json:"updatedAt"`
}

func (*BillingNodesResponseResponseBillingNodesItem) Decode

Decode decodes BillingNodesResponseResponseBillingNodesItem from json.

func (*BillingNodesResponseResponseBillingNodesItem) Encode

Encode implements json.Marshaler.

func (*BillingNodesResponseResponseBillingNodesItem) GetCreatedAt

GetCreatedAt returns the value of CreatedAt.

func (*BillingNodesResponseResponseBillingNodesItem) GetNextBillingAt

GetNextBillingAt returns the value of NextBillingAt.

func (*BillingNodesResponseResponseBillingNodesItem) GetNode

GetNode returns the value of Node.

func (*BillingNodesResponseResponseBillingNodesItem) GetNodeUuid

GetNodeUuid returns the value of NodeUuid.

func (*BillingNodesResponseResponseBillingNodesItem) GetProvider

GetProvider returns the value of Provider.

func (*BillingNodesResponseResponseBillingNodesItem) GetProviderUuid

GetProviderUuid returns the value of ProviderUuid.

func (*BillingNodesResponseResponseBillingNodesItem) GetUUID

GetUUID returns the value of UUID.

func (*BillingNodesResponseResponseBillingNodesItem) GetUpdatedAt

GetUpdatedAt returns the value of UpdatedAt.

func (*BillingNodesResponseResponseBillingNodesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BillingNodesResponseResponseBillingNodesItem) SetCreatedAt

SetCreatedAt sets the value of CreatedAt.

func (*BillingNodesResponseResponseBillingNodesItem) SetFake

SetFake set fake values.

func (*BillingNodesResponseResponseBillingNodesItem) SetNextBillingAt

func (s *BillingNodesResponseResponseBillingNodesItem) SetNextBillingAt(val time.Time)

SetNextBillingAt sets the value of NextBillingAt.

func (*BillingNodesResponseResponseBillingNodesItem) SetNode

SetNode sets the value of Node.

func (*BillingNodesResponseResponseBillingNodesItem) SetNodeUuid

SetNodeUuid sets the value of NodeUuid.

func (*BillingNodesResponseResponseBillingNodesItem) SetProvider

SetProvider sets the value of Provider.

func (*BillingNodesResponseResponseBillingNodesItem) SetProviderUuid

func (s *BillingNodesResponseResponseBillingNodesItem) SetProviderUuid(val uuid.UUID)

SetProviderUuid sets the value of ProviderUuid.

func (*BillingNodesResponseResponseBillingNodesItem) SetUUID

SetUUID sets the value of UUID.

func (*BillingNodesResponseResponseBillingNodesItem) SetUpdatedAt

SetUpdatedAt sets the value of UpdatedAt.

func (*BillingNodesResponseResponseBillingNodesItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BillingNodesResponseResponseBillingNodesItemProvider

type BillingNodesResponseResponseBillingNodesItemProvider struct {
	UUID        uuid.UUID `json:"uuid"`
	Name        string    `json:"name"`
	LoginUrl    NilString `json:"loginUrl"`
	FaviconLink NilString `json:"faviconLink"`
}

func (*BillingNodesResponseResponseBillingNodesItemProvider) Decode

Decode decodes BillingNodesResponseResponseBillingNodesItemProvider from json.

func (*BillingNodesResponseResponseBillingNodesItemProvider) Encode

Encode implements json.Marshaler.

GetFaviconLink returns the value of FaviconLink.

func (*BillingNodesResponseResponseBillingNodesItemProvider) GetLoginUrl

GetLoginUrl returns the value of LoginUrl.

func (*BillingNodesResponseResponseBillingNodesItemProvider) GetName

GetName returns the value of Name.

func (*BillingNodesResponseResponseBillingNodesItemProvider) GetUUID

GetUUID returns the value of UUID.

func (*BillingNodesResponseResponseBillingNodesItemProvider) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BillingNodesResponseResponseBillingNodesItemProvider) SetFake

SetFake set fake values.

SetFaviconLink sets the value of FaviconLink.

func (*BillingNodesResponseResponseBillingNodesItemProvider) SetLoginUrl

SetLoginUrl sets the value of LoginUrl.

func (*BillingNodesResponseResponseBillingNodesItemProvider) SetName

SetName sets the value of Name.

func (*BillingNodesResponseResponseBillingNodesItemProvider) SetUUID

SetUUID sets the value of UUID.

func (*BillingNodesResponseResponseBillingNodesItemProvider) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BillingNodesResponseResponseStats

type BillingNodesResponseResponseStats struct {
	UpcomingNodesCount   float64 `json:"upcomingNodesCount"`
	CurrentMonthPayments float64 `json:"currentMonthPayments"`
	TotalSpent           float64 `json:"totalSpent"`
}

func (*BillingNodesResponseResponseStats) Decode

Decode decodes BillingNodesResponseResponseStats from json.

func (*BillingNodesResponseResponseStats) Encode

Encode implements json.Marshaler.

func (*BillingNodesResponseResponseStats) GetCurrentMonthPayments

func (s *BillingNodesResponseResponseStats) GetCurrentMonthPayments() float64

GetCurrentMonthPayments returns the value of CurrentMonthPayments.

func (*BillingNodesResponseResponseStats) GetTotalSpent

func (s *BillingNodesResponseResponseStats) GetTotalSpent() float64

GetTotalSpent returns the value of TotalSpent.

func (*BillingNodesResponseResponseStats) GetUpcomingNodesCount

func (s *BillingNodesResponseResponseStats) GetUpcomingNodesCount() float64

GetUpcomingNodesCount returns the value of UpcomingNodesCount.

func (*BillingNodesResponseResponseStats) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillingNodesResponseResponseStats) SetCurrentMonthPayments

func (s *BillingNodesResponseResponseStats) SetCurrentMonthPayments(val float64)

SetCurrentMonthPayments sets the value of CurrentMonthPayments.

func (*BillingNodesResponseResponseStats) SetFake

func (s *BillingNodesResponseResponseStats) SetFake()

SetFake set fake values.

func (*BillingNodesResponseResponseStats) SetTotalSpent

func (s *BillingNodesResponseResponseStats) SetTotalSpent(val float64)

SetTotalSpent sets the value of TotalSpent.

func (*BillingNodesResponseResponseStats) SetUpcomingNodesCount

func (s *BillingNodesResponseResponseStats) SetUpcomingNodesCount(val float64)

SetUpcomingNodesCount sets the value of UpcomingNodesCount.

func (*BillingNodesResponseResponseStats) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillingNodesResponseResponseStats) Validate

type BrandingSettings

type BrandingSettings struct {
	Title   NilString `json:"title"`
	LogoUrl NilURI    `json:"logoUrl"`
}

Ref: #/components/schemas/BrandingSettings

func (*BrandingSettings) Decode

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

Decode decodes BrandingSettings from json.

func (*BrandingSettings) Encode

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

Encode implements json.Marshaler.

func (*BrandingSettings) GetLogoUrl

func (s *BrandingSettings) GetLogoUrl() NilURI

GetLogoUrl returns the value of LogoUrl.

func (*BrandingSettings) GetTitle

func (s *BrandingSettings) GetTitle() NilString

GetTitle returns the value of Title.

func (*BrandingSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BrandingSettings) SetFake

func (s *BrandingSettings) SetFake()

SetFake set fake values.

func (*BrandingSettings) SetLogoUrl

func (s *BrandingSettings) SetLogoUrl(val NilURI)

SetLogoUrl sets the value of LogoUrl.

func (*BrandingSettings) SetTitle

func (s *BrandingSettings) SetTitle(val NilString)

SetTitle sets the value of Title.

func (*BrandingSettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BulkActionResponse

type BulkActionResponse struct {
	Response BulkActionResponseResponse `json:"response"`
}

Ref: #/components/schemas/BulkActionResponse

func (*BulkActionResponse) Decode

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

Decode decodes BulkActionResponse from json.

func (*BulkActionResponse) Encode

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

Encode implements json.Marshaler.

func (*BulkActionResponse) GetResponse

GetResponse returns the value of Response.

func (*BulkActionResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkActionResponse) SetFake

func (s *BulkActionResponse) SetFake()

SetFake set fake values.

func (*BulkActionResponse) SetResponse

func (s *BulkActionResponse) SetResponse(val BulkActionResponseResponse)

SetResponse sets the value of Response.

func (*BulkActionResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkActionResponse) Validate

func (s *BulkActionResponse) Validate() error

type BulkActionResponseResponse

type BulkActionResponseResponse struct {
	AffectedRows float64 `json:"affectedRows"`
}

func (*BulkActionResponseResponse) Decode

Decode decodes BulkActionResponseResponse from json.

func (*BulkActionResponseResponse) Encode

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

Encode implements json.Marshaler.

func (*BulkActionResponseResponse) GetAffectedRows

func (s *BulkActionResponseResponse) GetAffectedRows() float64

GetAffectedRows returns the value of AffectedRows.

func (*BulkActionResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkActionResponseResponse) SetAffectedRows

func (s *BulkActionResponseResponse) SetAffectedRows(val float64)

SetAffectedRows sets the value of AffectedRows.

func (*BulkActionResponseResponse) SetFake

func (s *BulkActionResponseResponse) SetFake()

SetFake set fake values.

func (*BulkActionResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkActionResponseResponse) Validate

func (s *BulkActionResponseResponse) Validate() error

type BulkAllExtendExpirationDateRequestDto

type BulkAllExtendExpirationDateRequestDto struct {
	ExtendDays int `json:"extendDays"`
}

Ref: #/components/schemas/BulkAllExtendExpirationDateRequestDto

func (*BulkAllExtendExpirationDateRequestDto) Decode

Decode decodes BulkAllExtendExpirationDateRequestDto from json.

func (*BulkAllExtendExpirationDateRequestDto) Encode

Encode implements json.Marshaler.

func (*BulkAllExtendExpirationDateRequestDto) GetExtendDays

func (s *BulkAllExtendExpirationDateRequestDto) GetExtendDays() int

GetExtendDays returns the value of ExtendDays.

func (*BulkAllExtendExpirationDateRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkAllExtendExpirationDateRequestDto) SetExtendDays

func (s *BulkAllExtendExpirationDateRequestDto) SetExtendDays(val int)

SetExtendDays sets the value of ExtendDays.

func (*BulkAllExtendExpirationDateRequestDto) SetFake

SetFake set fake values.

func (*BulkAllExtendExpirationDateRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkAllExtendExpirationDateRequestDto) Validate

type BulkAllUpdateUsersRequestDto

type BulkAllUpdateUsersRequestDto struct {
	Status OptBulkAllUpdateUsersRequestDtoStatus `json:"status"`
	// Traffic limit in bytes. 0 - unlimited.
	TrafficLimitBytes OptInt `json:"trafficLimitBytes"`
	// Traffic limit reset strategy.
	TrafficLimitStrategy OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy `json:"trafficLimitStrategy"`
	// Expiration date: 2025-01-17T15:38:45.065Z.
	ExpireAt        OptDateTime  `json:"expireAt"`
	Description     OptNilString `json:"description"`
	TelegramId      OptNilInt    `json:"telegramId"`
	Email           OptNilString `json:"email"`
	Tag             OptNilString `json:"tag"`
	HwidDeviceLimit OptNilInt    `json:"hwidDeviceLimit"`
}

Ref: #/components/schemas/BulkAllUpdateUsersRequestDto

func (*BulkAllUpdateUsersRequestDto) Decode

Decode decodes BulkAllUpdateUsersRequestDto from json.

func (*BulkAllUpdateUsersRequestDto) Encode

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

Encode implements json.Marshaler.

func (*BulkAllUpdateUsersRequestDto) GetDescription

func (s *BulkAllUpdateUsersRequestDto) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*BulkAllUpdateUsersRequestDto) GetEmail

GetEmail returns the value of Email.

func (*BulkAllUpdateUsersRequestDto) GetExpireAt

func (s *BulkAllUpdateUsersRequestDto) GetExpireAt() OptDateTime

GetExpireAt returns the value of ExpireAt.

func (*BulkAllUpdateUsersRequestDto) GetHwidDeviceLimit

func (s *BulkAllUpdateUsersRequestDto) GetHwidDeviceLimit() OptNilInt

GetHwidDeviceLimit returns the value of HwidDeviceLimit.

func (*BulkAllUpdateUsersRequestDto) GetStatus

GetStatus returns the value of Status.

func (*BulkAllUpdateUsersRequestDto) GetTag

GetTag returns the value of Tag.

func (*BulkAllUpdateUsersRequestDto) GetTelegramId

func (s *BulkAllUpdateUsersRequestDto) GetTelegramId() OptNilInt

GetTelegramId returns the value of TelegramId.

func (*BulkAllUpdateUsersRequestDto) GetTrafficLimitBytes

func (s *BulkAllUpdateUsersRequestDto) GetTrafficLimitBytes() OptInt

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*BulkAllUpdateUsersRequestDto) GetTrafficLimitStrategy

GetTrafficLimitStrategy returns the value of TrafficLimitStrategy.

func (*BulkAllUpdateUsersRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkAllUpdateUsersRequestDto) SetDescription

func (s *BulkAllUpdateUsersRequestDto) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*BulkAllUpdateUsersRequestDto) SetEmail

func (s *BulkAllUpdateUsersRequestDto) SetEmail(val OptNilString)

SetEmail sets the value of Email.

func (*BulkAllUpdateUsersRequestDto) SetExpireAt

func (s *BulkAllUpdateUsersRequestDto) SetExpireAt(val OptDateTime)

SetExpireAt sets the value of ExpireAt.

func (*BulkAllUpdateUsersRequestDto) SetFake

func (s *BulkAllUpdateUsersRequestDto) SetFake()

SetFake set fake values.

func (*BulkAllUpdateUsersRequestDto) SetHwidDeviceLimit

func (s *BulkAllUpdateUsersRequestDto) SetHwidDeviceLimit(val OptNilInt)

SetHwidDeviceLimit sets the value of HwidDeviceLimit.

func (*BulkAllUpdateUsersRequestDto) SetStatus

SetStatus sets the value of Status.

func (*BulkAllUpdateUsersRequestDto) SetTag

SetTag sets the value of Tag.

func (*BulkAllUpdateUsersRequestDto) SetTelegramId

func (s *BulkAllUpdateUsersRequestDto) SetTelegramId(val OptNilInt)

SetTelegramId sets the value of TelegramId.

func (*BulkAllUpdateUsersRequestDto) SetTrafficLimitBytes

func (s *BulkAllUpdateUsersRequestDto) SetTrafficLimitBytes(val OptInt)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*BulkAllUpdateUsersRequestDto) SetTrafficLimitStrategy

SetTrafficLimitStrategy sets the value of TrafficLimitStrategy.

func (*BulkAllUpdateUsersRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkAllUpdateUsersRequestDto) Validate

func (s *BulkAllUpdateUsersRequestDto) Validate() error

type BulkAllUpdateUsersRequestDtoStatus

type BulkAllUpdateUsersRequestDtoStatus string
const (
	BulkAllUpdateUsersRequestDtoStatusACTIVE   BulkAllUpdateUsersRequestDtoStatus = "ACTIVE"
	BulkAllUpdateUsersRequestDtoStatusDISABLED BulkAllUpdateUsersRequestDtoStatus = "DISABLED"
	BulkAllUpdateUsersRequestDtoStatusLIMITED  BulkAllUpdateUsersRequestDtoStatus = "LIMITED"
	BulkAllUpdateUsersRequestDtoStatusEXPIRED  BulkAllUpdateUsersRequestDtoStatus = "EXPIRED"
)

func (BulkAllUpdateUsersRequestDtoStatus) AllValues

AllValues returns all BulkAllUpdateUsersRequestDtoStatus values.

func (*BulkAllUpdateUsersRequestDtoStatus) Decode

Decode decodes BulkAllUpdateUsersRequestDtoStatus from json.

func (BulkAllUpdateUsersRequestDtoStatus) Encode

Encode encodes BulkAllUpdateUsersRequestDtoStatus as json.

func (BulkAllUpdateUsersRequestDtoStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BulkAllUpdateUsersRequestDtoStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BulkAllUpdateUsersRequestDtoStatus) SetFake

SetFake set fake values.

func (*BulkAllUpdateUsersRequestDtoStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkAllUpdateUsersRequestDtoStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BulkAllUpdateUsersRequestDtoStatus) Validate

type BulkAllUpdateUsersRequestDtoTrafficLimitStrategy

type BulkAllUpdateUsersRequestDtoTrafficLimitStrategy string

Traffic limit reset strategy.

const (
	BulkAllUpdateUsersRequestDtoTrafficLimitStrategyNORESET BulkAllUpdateUsersRequestDtoTrafficLimitStrategy = "NO_RESET"
	BulkAllUpdateUsersRequestDtoTrafficLimitStrategyDAY     BulkAllUpdateUsersRequestDtoTrafficLimitStrategy = "DAY"
	BulkAllUpdateUsersRequestDtoTrafficLimitStrategyWEEK    BulkAllUpdateUsersRequestDtoTrafficLimitStrategy = "WEEK"
	BulkAllUpdateUsersRequestDtoTrafficLimitStrategyMONTH   BulkAllUpdateUsersRequestDtoTrafficLimitStrategy = "MONTH"
)

func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) AllValues

AllValues returns all BulkAllUpdateUsersRequestDtoTrafficLimitStrategy values.

func (*BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Decode

Decode decodes BulkAllUpdateUsersRequestDtoTrafficLimitStrategy from json.

func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Encode

Encode encodes BulkAllUpdateUsersRequestDtoTrafficLimitStrategy as json.

func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetFake

SetFake set fake values.

func (*BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Validate

type BulkDeleteUsersByStatusRequestDto

type BulkDeleteUsersByStatusRequestDto struct {
	Status OptBulkDeleteUsersByStatusRequestDtoStatus `json:"status"`
}

Ref: #/components/schemas/BulkDeleteUsersByStatusRequestDto

func (*BulkDeleteUsersByStatusRequestDto) Decode

Decode decodes BulkDeleteUsersByStatusRequestDto from json.

func (*BulkDeleteUsersByStatusRequestDto) Encode

Encode implements json.Marshaler.

func (*BulkDeleteUsersByStatusRequestDto) GetStatus

GetStatus returns the value of Status.

func (*BulkDeleteUsersByStatusRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkDeleteUsersByStatusRequestDto) SetFake

func (s *BulkDeleteUsersByStatusRequestDto) SetFake()

SetFake set fake values.

func (*BulkDeleteUsersByStatusRequestDto) SetStatus

SetStatus sets the value of Status.

func (*BulkDeleteUsersByStatusRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkDeleteUsersByStatusRequestDto) Validate

type BulkDeleteUsersByStatusRequestDtoStatus

type BulkDeleteUsersByStatusRequestDtoStatus string
const (
	BulkDeleteUsersByStatusRequestDtoStatusACTIVE   BulkDeleteUsersByStatusRequestDtoStatus = "ACTIVE"
	BulkDeleteUsersByStatusRequestDtoStatusDISABLED BulkDeleteUsersByStatusRequestDtoStatus = "DISABLED"
	BulkDeleteUsersByStatusRequestDtoStatusLIMITED  BulkDeleteUsersByStatusRequestDtoStatus = "LIMITED"
	BulkDeleteUsersByStatusRequestDtoStatusEXPIRED  BulkDeleteUsersByStatusRequestDtoStatus = "EXPIRED"
)

func (BulkDeleteUsersByStatusRequestDtoStatus) AllValues

AllValues returns all BulkDeleteUsersByStatusRequestDtoStatus values.

func (*BulkDeleteUsersByStatusRequestDtoStatus) Decode

Decode decodes BulkDeleteUsersByStatusRequestDtoStatus from json.

func (BulkDeleteUsersByStatusRequestDtoStatus) Encode

Encode encodes BulkDeleteUsersByStatusRequestDtoStatus as json.

func (BulkDeleteUsersByStatusRequestDtoStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BulkDeleteUsersByStatusRequestDtoStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BulkDeleteUsersByStatusRequestDtoStatus) SetFake

SetFake set fake values.

func (*BulkDeleteUsersByStatusRequestDtoStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkDeleteUsersByStatusRequestDtoStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BulkDeleteUsersByStatusRequestDtoStatus) Validate

type BulkExtendExpirationDateRequestDto

type BulkExtendExpirationDateRequestDto struct {
	Uuids      []uuid.UUID `json:"uuids"`
	ExtendDays int         `json:"extendDays"`
}

Ref: #/components/schemas/BulkExtendExpirationDateRequestDto

func (*BulkExtendExpirationDateRequestDto) Decode

Decode decodes BulkExtendExpirationDateRequestDto from json.

func (*BulkExtendExpirationDateRequestDto) Encode

Encode implements json.Marshaler.

func (*BulkExtendExpirationDateRequestDto) GetExtendDays

func (s *BulkExtendExpirationDateRequestDto) GetExtendDays() int

GetExtendDays returns the value of ExtendDays.

func (*BulkExtendExpirationDateRequestDto) GetUuids

GetUuids returns the value of Uuids.

func (*BulkExtendExpirationDateRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkExtendExpirationDateRequestDto) SetExtendDays

func (s *BulkExtendExpirationDateRequestDto) SetExtendDays(val int)

SetExtendDays sets the value of ExtendDays.

func (*BulkExtendExpirationDateRequestDto) SetFake

SetFake set fake values.

func (*BulkExtendExpirationDateRequestDto) SetUuids

func (s *BulkExtendExpirationDateRequestDto) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*BulkExtendExpirationDateRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkExtendExpirationDateRequestDto) Validate

type BulkUpdateUsersRequestDto

type BulkUpdateUsersRequestDto struct {
	Uuids  []uuid.UUID                     `json:"uuids"`
	Fields BulkUpdateUsersRequestDtoFields `json:"fields"`
}

Ref: #/components/schemas/BulkUpdateUsersRequestDto

func (*BulkUpdateUsersRequestDto) Decode

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

Decode decodes BulkUpdateUsersRequestDto from json.

func (*BulkUpdateUsersRequestDto) Encode

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

Encode implements json.Marshaler.

func (*BulkUpdateUsersRequestDto) GetFields

GetFields returns the value of Fields.

func (*BulkUpdateUsersRequestDto) GetUuids

func (s *BulkUpdateUsersRequestDto) GetUuids() []uuid.UUID

GetUuids returns the value of Uuids.

func (*BulkUpdateUsersRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkUpdateUsersRequestDto) SetFake

func (s *BulkUpdateUsersRequestDto) SetFake()

SetFake set fake values.

func (*BulkUpdateUsersRequestDto) SetFields

SetFields sets the value of Fields.

func (*BulkUpdateUsersRequestDto) SetUuids

func (s *BulkUpdateUsersRequestDto) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*BulkUpdateUsersRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkUpdateUsersRequestDto) Validate

func (s *BulkUpdateUsersRequestDto) Validate() error

type BulkUpdateUsersRequestDtoFields

type BulkUpdateUsersRequestDtoFields struct {
	Status OptBulkUpdateUsersRequestDtoFieldsStatus `json:"status"`
	// Traffic limit in bytes. 0 - unlimited.
	TrafficLimitBytes OptInt `json:"trafficLimitBytes"`
	// Traffic limit reset strategy.
	TrafficLimitStrategy OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy `json:"trafficLimitStrategy"`
	// Expiration date: 2025-01-17T15:38:45.065Z.
	ExpireAt        OptDateTime  `json:"expireAt"`
	Description     OptNilString `json:"description"`
	TelegramId      OptNilInt    `json:"telegramId"`
	Email           OptNilString `json:"email"`
	Tag             OptNilString `json:"tag"`
	HwidDeviceLimit OptNilInt    `json:"hwidDeviceLimit"`
	// Optional. External squad UUID.
	ExternalSquadUuid OptNilUUID `json:"externalSquadUuid"`
}

func (*BulkUpdateUsersRequestDtoFields) Decode

Decode decodes BulkUpdateUsersRequestDtoFields from json.

func (*BulkUpdateUsersRequestDtoFields) Encode

Encode implements json.Marshaler.

func (*BulkUpdateUsersRequestDtoFields) GetDescription

func (s *BulkUpdateUsersRequestDtoFields) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*BulkUpdateUsersRequestDtoFields) GetEmail

GetEmail returns the value of Email.

func (*BulkUpdateUsersRequestDtoFields) GetExpireAt

GetExpireAt returns the value of ExpireAt.

func (*BulkUpdateUsersRequestDtoFields) GetExternalSquadUuid

func (s *BulkUpdateUsersRequestDtoFields) GetExternalSquadUuid() OptNilUUID

GetExternalSquadUuid returns the value of ExternalSquadUuid.

func (*BulkUpdateUsersRequestDtoFields) GetHwidDeviceLimit

func (s *BulkUpdateUsersRequestDtoFields) GetHwidDeviceLimit() OptNilInt

GetHwidDeviceLimit returns the value of HwidDeviceLimit.

func (*BulkUpdateUsersRequestDtoFields) GetStatus

GetStatus returns the value of Status.

func (*BulkUpdateUsersRequestDtoFields) GetTag

GetTag returns the value of Tag.

func (*BulkUpdateUsersRequestDtoFields) GetTelegramId

func (s *BulkUpdateUsersRequestDtoFields) GetTelegramId() OptNilInt

GetTelegramId returns the value of TelegramId.

func (*BulkUpdateUsersRequestDtoFields) GetTrafficLimitBytes

func (s *BulkUpdateUsersRequestDtoFields) GetTrafficLimitBytes() OptInt

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*BulkUpdateUsersRequestDtoFields) GetTrafficLimitStrategy

GetTrafficLimitStrategy returns the value of TrafficLimitStrategy.

func (*BulkUpdateUsersRequestDtoFields) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkUpdateUsersRequestDtoFields) SetDescription

func (s *BulkUpdateUsersRequestDtoFields) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*BulkUpdateUsersRequestDtoFields) SetEmail

SetEmail sets the value of Email.

func (*BulkUpdateUsersRequestDtoFields) SetExpireAt

func (s *BulkUpdateUsersRequestDtoFields) SetExpireAt(val OptDateTime)

SetExpireAt sets the value of ExpireAt.

func (*BulkUpdateUsersRequestDtoFields) SetExternalSquadUuid

func (s *BulkUpdateUsersRequestDtoFields) SetExternalSquadUuid(val OptNilUUID)

SetExternalSquadUuid sets the value of ExternalSquadUuid.

func (*BulkUpdateUsersRequestDtoFields) SetFake

func (s *BulkUpdateUsersRequestDtoFields) SetFake()

SetFake set fake values.

func (*BulkUpdateUsersRequestDtoFields) SetHwidDeviceLimit

func (s *BulkUpdateUsersRequestDtoFields) SetHwidDeviceLimit(val OptNilInt)

SetHwidDeviceLimit sets the value of HwidDeviceLimit.

func (*BulkUpdateUsersRequestDtoFields) SetStatus

SetStatus sets the value of Status.

func (*BulkUpdateUsersRequestDtoFields) SetTag

SetTag sets the value of Tag.

func (*BulkUpdateUsersRequestDtoFields) SetTelegramId

func (s *BulkUpdateUsersRequestDtoFields) SetTelegramId(val OptNilInt)

SetTelegramId sets the value of TelegramId.

func (*BulkUpdateUsersRequestDtoFields) SetTrafficLimitBytes

func (s *BulkUpdateUsersRequestDtoFields) SetTrafficLimitBytes(val OptInt)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*BulkUpdateUsersRequestDtoFields) SetTrafficLimitStrategy

SetTrafficLimitStrategy sets the value of TrafficLimitStrategy.

func (*BulkUpdateUsersRequestDtoFields) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkUpdateUsersRequestDtoFields) Validate

func (s *BulkUpdateUsersRequestDtoFields) Validate() error

type BulkUpdateUsersRequestDtoFieldsStatus

type BulkUpdateUsersRequestDtoFieldsStatus string
const (
	BulkUpdateUsersRequestDtoFieldsStatusACTIVE   BulkUpdateUsersRequestDtoFieldsStatus = "ACTIVE"
	BulkUpdateUsersRequestDtoFieldsStatusDISABLED BulkUpdateUsersRequestDtoFieldsStatus = "DISABLED"
	BulkUpdateUsersRequestDtoFieldsStatusLIMITED  BulkUpdateUsersRequestDtoFieldsStatus = "LIMITED"
	BulkUpdateUsersRequestDtoFieldsStatusEXPIRED  BulkUpdateUsersRequestDtoFieldsStatus = "EXPIRED"
)

func (BulkUpdateUsersRequestDtoFieldsStatus) AllValues

AllValues returns all BulkUpdateUsersRequestDtoFieldsStatus values.

func (*BulkUpdateUsersRequestDtoFieldsStatus) Decode

Decode decodes BulkUpdateUsersRequestDtoFieldsStatus from json.

func (BulkUpdateUsersRequestDtoFieldsStatus) Encode

Encode encodes BulkUpdateUsersRequestDtoFieldsStatus as json.

func (BulkUpdateUsersRequestDtoFieldsStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BulkUpdateUsersRequestDtoFieldsStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BulkUpdateUsersRequestDtoFieldsStatus) SetFake

SetFake set fake values.

func (*BulkUpdateUsersRequestDtoFieldsStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkUpdateUsersRequestDtoFieldsStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BulkUpdateUsersRequestDtoFieldsStatus) Validate

type BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy

type BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy string

Traffic limit reset strategy.

const (
	BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategyNORESET BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy = "NO_RESET"
	BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategyDAY     BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy = "DAY"
	BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategyWEEK    BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy = "WEEK"
	BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategyMONTH   BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy = "MONTH"
)

func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) AllValues

AllValues returns all BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy values.

func (*BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Decode

Decode decodes BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy from json.

func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Encode

Encode encodes BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy as json.

func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetFake

SetFake set fake values.

func (*BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Validate

type BulkUpdateUsersSquadsRequestDto

type BulkUpdateUsersSquadsRequestDto struct {
	Uuids                []uuid.UUID `json:"uuids"`
	ActiveInternalSquads []uuid.UUID `json:"activeInternalSquads"`
}

Ref: #/components/schemas/BulkUpdateUsersSquadsRequestDto

func (*BulkUpdateUsersSquadsRequestDto) Decode

Decode decodes BulkUpdateUsersSquadsRequestDto from json.

func (*BulkUpdateUsersSquadsRequestDto) Encode

Encode implements json.Marshaler.

func (*BulkUpdateUsersSquadsRequestDto) GetActiveInternalSquads

func (s *BulkUpdateUsersSquadsRequestDto) GetActiveInternalSquads() []uuid.UUID

GetActiveInternalSquads returns the value of ActiveInternalSquads.

func (*BulkUpdateUsersSquadsRequestDto) GetUuids

func (s *BulkUpdateUsersSquadsRequestDto) GetUuids() []uuid.UUID

GetUuids returns the value of Uuids.

func (*BulkUpdateUsersSquadsRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkUpdateUsersSquadsRequestDto) SetActiveInternalSquads

func (s *BulkUpdateUsersSquadsRequestDto) SetActiveInternalSquads(val []uuid.UUID)

SetActiveInternalSquads sets the value of ActiveInternalSquads.

func (*BulkUpdateUsersSquadsRequestDto) SetFake

func (s *BulkUpdateUsersSquadsRequestDto) SetFake()

SetFake set fake values.

func (*BulkUpdateUsersSquadsRequestDto) SetUuids

func (s *BulkUpdateUsersSquadsRequestDto) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*BulkUpdateUsersSquadsRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkUpdateUsersSquadsRequestDto) Validate

func (s *BulkUpdateUsersSquadsRequestDto) Validate() error

type BulkUuidsRequest

type BulkUuidsRequest struct {
	Uuids []uuid.UUID `json:"uuids"`
}

Ref: #/components/schemas/BulkUuidsRequest

func (*BulkUuidsRequest) Decode

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

Decode decodes BulkUuidsRequest from json.

func (*BulkUuidsRequest) Encode

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

Encode implements json.Marshaler.

func (*BulkUuidsRequest) GetUuids

func (s *BulkUuidsRequest) GetUuids() []uuid.UUID

GetUuids returns the value of Uuids.

func (*BulkUuidsRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkUuidsRequest) SetFake

func (s *BulkUuidsRequest) SetFake()

SetFake set fake values.

func (*BulkUuidsRequest) SetUuids

func (s *BulkUuidsRequest) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*BulkUuidsRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkUuidsRequest) Validate

func (s *BulkUuidsRequest) Validate() error

type BulkUuidsRequest2

type BulkUuidsRequest2 struct {
	Uuids []uuid.UUID `json:"uuids"`
}

Ref: #/components/schemas/BulkUuidsRequest2

func (*BulkUuidsRequest2) Decode

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

Decode decodes BulkUuidsRequest2 from json.

func (*BulkUuidsRequest2) Encode

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

Encode implements json.Marshaler.

func (*BulkUuidsRequest2) GetUuids

func (s *BulkUuidsRequest2) GetUuids() []uuid.UUID

GetUuids returns the value of Uuids.

func (*BulkUuidsRequest2) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BulkUuidsRequest2) SetFake

func (s *BulkUuidsRequest2) SetFake()

SetFake set fake values.

func (*BulkUuidsRequest2) SetUuids

func (s *BulkUuidsRequest2) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*BulkUuidsRequest2) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkUuidsRequest2) Validate

func (s *BulkUuidsRequest2) Validate() error

type ByAppItem

type ByAppItem struct {
	App   string  `json:"app"`
	Count float64 `json:"count"`
}

Ref: #/components/schemas/ByAppItem

func (*ByAppItem) Decode

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

Decode decodes ByAppItem from json.

func (*ByAppItem) Encode

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

Encode implements json.Marshaler.

func (*ByAppItem) GetApp

func (s *ByAppItem) GetApp() string

GetApp returns the value of App.

func (*ByAppItem) GetCount

func (s *ByAppItem) GetCount() float64

GetCount returns the value of Count.

func (*ByAppItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ByAppItem) SetApp

func (s *ByAppItem) SetApp(val string)

SetApp sets the value of App.

func (*ByAppItem) SetCount

func (s *ByAppItem) SetCount(val float64)

SetCount sets the value of Count.

func (*ByAppItem) SetFake

func (s *ByAppItem) SetFake()

SetFake set fake values.

func (*ByAppItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ByAppItem) Validate

func (s *ByAppItem) Validate() error

type Client

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

Client implements OAS client.

func NewClient

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

NewClient initializes new Client defined by OAS.

func (*Client) ApiTokensControllerCreate

func (c *Client) ApiTokensControllerCreate(ctx context.Context, request *CreateApiTokenRequestDto) (ApiTokensControllerCreateRes, error)

ApiTokensControllerCreate invokes ApiTokensController_create operation.

This endpoint is forbidden to use via "API-key". It can only be used with an admin JWT-token.

POST /api/tokens

func (*Client) ApiTokensControllerDelete

func (c *Client) ApiTokensControllerDelete(ctx context.Context, params ApiTokensControllerDeleteParams) (ApiTokensControllerDeleteRes, error)

ApiTokensControllerDelete invokes ApiTokensController_delete operation.

This endpoint is forbidden to use via "API-key". It can be used only with an admin JWT-token.

DELETE /api/tokens/{uuid}

func (*Client) ApiTokensControllerFindAll

func (c *Client) ApiTokensControllerFindAll(ctx context.Context) (ApiTokensControllerFindAllRes, error)

ApiTokensControllerFindAll invokes ApiTokensController_findAll operation.

This endpoint is forbidden to use via "API-key". It can only be used with admin JWT-token.

GET /api/tokens

func (*Client) AuthControllerGetStatus

func (c *Client) AuthControllerGetStatus(ctx context.Context) (AuthControllerGetStatusRes, error)

AuthControllerGetStatus invokes AuthController_getStatus operation.

Get the status of the authentication.

GET /api/auth/status

func (*Client) AuthControllerLogin

func (c *Client) AuthControllerLogin(ctx context.Context, request *LoginRequestDto) (AuthControllerLoginRes, error)

AuthControllerLogin invokes AuthController_login operation.

Login as superadmin.

POST /api/auth/login

func (*Client) AuthControllerOauth2Authorize

func (c *Client) AuthControllerOauth2Authorize(ctx context.Context, request *OAuth2AuthorizeRequestDto) (AuthControllerOauth2AuthorizeRes, error)

AuthControllerOauth2Authorize invokes AuthController_oauth2Authorize operation.

Initiate OAuth2 authorization.

POST /api/auth/oauth2/authorize

func (*Client) AuthControllerOauth2Callback

func (c *Client) AuthControllerOauth2Callback(ctx context.Context, request *OAuth2CallbackRequestDto) (AuthControllerOauth2CallbackRes, error)

AuthControllerOauth2Callback invokes AuthController_oauth2Callback operation.

Callback from OAuth2.

POST /api/auth/oauth2/callback

func (*Client) AuthControllerPasskeyAuthenticationOptions

func (c *Client) AuthControllerPasskeyAuthenticationOptions(ctx context.Context) (AuthControllerPasskeyAuthenticationOptionsRes, error)

AuthControllerPasskeyAuthenticationOptions invokes AuthController_passkeyAuthenticationOptions operation.

Get the authentication options for passkey.

GET /api/auth/passkey/authentication/options

func (*Client) AuthControllerPasskeyAuthenticationVerify

func (c *Client) AuthControllerPasskeyAuthenticationVerify(ctx context.Context, request *PasskeyOptions) (AuthControllerPasskeyAuthenticationVerifyRes, error)

AuthControllerPasskeyAuthenticationVerify invokes AuthController_passkeyAuthenticationVerify operation.

Verify the authentication for passkey.

POST /api/auth/passkey/authentication/verify

func (*Client) AuthControllerRegister

func (c *Client) AuthControllerRegister(ctx context.Context, request *RegisterRequestDto) (AuthControllerRegisterRes, error)

AuthControllerRegister invokes AuthController_register operation.

Register as superadmin.

POST /api/auth/register

func (*Client) AuthControllerTelegramCallback

func (c *Client) AuthControllerTelegramCallback(ctx context.Context, request *TelegramCallbackRequestDto) (AuthControllerTelegramCallbackRes, error)

AuthControllerTelegramCallback invokes AuthController_telegramCallback operation.

Callback from Telegram OAuth2.

POST /api/auth/oauth2/tg/callback

func (*Client) BandwidthStatsNodesControllerGetNodeUserUsage

BandwidthStatsNodesControllerGetNodeUserUsage invokes BandwidthStatsNodesController_getNodeUserUsage operation.

Get Node User Usage by Range and Node UUID (Legacy).

GET /api/bandwidth-stats/nodes/{uuid}/users/legacy

func (*Client) BandwidthStatsNodesControllerGetNodesRealtimeUsage

func (c *Client) BandwidthStatsNodesControllerGetNodesRealtimeUsage(ctx context.Context) (BandwidthStatsNodesControllerGetNodesRealtimeUsageRes, error)

BandwidthStatsNodesControllerGetNodesRealtimeUsage invokes BandwidthStatsNodesController_getNodesRealtimeUsage operation.

Get Nodes Realtime Usage.

GET /api/bandwidth-stats/nodes/realtime

func (*Client) BandwidthStatsNodesControllerGetStatsNodeUsersUsage

BandwidthStatsNodesControllerGetStatsNodeUsersUsage invokes BandwidthStatsNodesController_getStatsNodeUsersUsage operation.

Get Node Users Usage by Node UUID.

GET /api/bandwidth-stats/nodes/{uuid}/users

func (*Client) BandwidthStatsUsersControllerGetStatsNodesUsage

BandwidthStatsUsersControllerGetStatsNodesUsage invokes BandwidthStatsUsersController_getStatsNodesUsage operation.

Get User Usage by Range.

GET /api/bandwidth-stats/users/{uuid}

func (*Client) BandwidthStatsUsersControllerGetUserUsageByRange

BandwidthStatsUsersControllerGetUserUsageByRange invokes BandwidthStatsUsersController_getUserUsageByRange operation.

Get User Usage by Range (Legacy).

GET /api/bandwidth-stats/users/{uuid}/legacy

func (*Client) ConfigProfileControllerCreateConfigProfile

func (c *Client) ConfigProfileControllerCreateConfigProfile(ctx context.Context, request *CreateConfigProfileRequestDto) (ConfigProfileControllerCreateConfigProfileRes, error)

ConfigProfileControllerCreateConfigProfile invokes ConfigProfileController_createConfigProfile operation.

Create config profile.

POST /api/config-profiles

func (*Client) ConfigProfileControllerDeleteConfigProfileByUuid

ConfigProfileControllerDeleteConfigProfileByUuid invokes ConfigProfileController_deleteConfigProfileByUuid operation.

Delete config profile.

DELETE /api/config-profiles/{uuid}

func (*Client) ConfigProfileControllerGetAllInbounds

func (c *Client) ConfigProfileControllerGetAllInbounds(ctx context.Context) (ConfigProfileControllerGetAllInboundsRes, error)

ConfigProfileControllerGetAllInbounds invokes ConfigProfileController_getAllInbounds operation.

Get all inbounds from all config profiles.

GET /api/config-profiles/inbounds

func (*Client) ConfigProfileControllerGetComputedConfigProfileByUuid

ConfigProfileControllerGetComputedConfigProfileByUuid invokes ConfigProfileController_getComputedConfigProfileByUuid operation.

Get computed config profile by uuid.

GET /api/config-profiles/{uuid}/computed-config

func (*Client) ConfigProfileControllerGetConfigProfileByUuid

ConfigProfileControllerGetConfigProfileByUuid invokes ConfigProfileController_getConfigProfileByUuid operation.

Get config profile by uuid.

GET /api/config-profiles/{uuid}

func (*Client) ConfigProfileControllerGetConfigProfiles

func (c *Client) ConfigProfileControllerGetConfigProfiles(ctx context.Context) (ConfigProfileControllerGetConfigProfilesRes, error)

ConfigProfileControllerGetConfigProfiles invokes ConfigProfileController_getConfigProfiles operation.

Get config profiles.

GET /api/config-profiles

func (*Client) ConfigProfileControllerGetInboundsByProfileUuid

ConfigProfileControllerGetInboundsByProfileUuid invokes ConfigProfileController_getInboundsByProfileUuid operation.

Get inbounds by profile uuid.

GET /api/config-profiles/{uuid}/inbounds

func (*Client) ConfigProfileControllerReorderConfigProfiles

func (c *Client) ConfigProfileControllerReorderConfigProfiles(ctx context.Context, request *ReorderRequest) (ConfigProfileControllerReorderConfigProfilesRes, error)

ConfigProfileControllerReorderConfigProfiles invokes ConfigProfileController_reorderConfigProfiles operation.

Reorder config profiles.

POST /api/config-profiles/actions/reorder

func (*Client) ConfigProfileControllerUpdateConfigProfile

func (c *Client) ConfigProfileControllerUpdateConfigProfile(ctx context.Context, request *UpdateConfigProfileRequestDto) (ConfigProfileControllerUpdateConfigProfileRes, error)

ConfigProfileControllerUpdateConfigProfile invokes ConfigProfileController_updateConfigProfile operation.

Update Core Config in specific config profile.

PATCH /api/config-profiles

func (*Client) ExternalSquadControllerAddUsersToExternalSquad

ExternalSquadControllerAddUsersToExternalSquad invokes ExternalSquadController_addUsersToExternalSquad operation.

Add all users to external squad.

POST /api/external-squads/{uuid}/bulk-actions/add-users

func (*Client) ExternalSquadControllerCreateExternalSquad

func (c *Client) ExternalSquadControllerCreateExternalSquad(ctx context.Context, request *ExternalSquadRequestRequest) (ExternalSquadControllerCreateExternalSquadRes, error)

ExternalSquadControllerCreateExternalSquad invokes ExternalSquadController_createExternalSquad operation.

Create external squad.

POST /api/external-squads

func (*Client) ExternalSquadControllerDeleteExternalSquad

ExternalSquadControllerDeleteExternalSquad invokes ExternalSquadController_deleteExternalSquad operation.

Delete external squad.

DELETE /api/external-squads/{uuid}

func (*Client) ExternalSquadControllerGetExternalSquadByUuid

ExternalSquadControllerGetExternalSquadByUuid invokes ExternalSquadController_getExternalSquadByUuid operation.

Get external squad by uuid.

GET /api/external-squads/{uuid}

func (*Client) ExternalSquadControllerGetExternalSquads

func (c *Client) ExternalSquadControllerGetExternalSquads(ctx context.Context) (ExternalSquadControllerGetExternalSquadsRes, error)

ExternalSquadControllerGetExternalSquads invokes ExternalSquadController_getExternalSquads operation.

Get all external squads.

GET /api/external-squads

func (*Client) ExternalSquadControllerRemoveUsersFromExternalSquad

ExternalSquadControllerRemoveUsersFromExternalSquad invokes ExternalSquadController_removeUsersFromExternalSquad operation.

Delete users from external squad.

DELETE /api/external-squads/{uuid}/bulk-actions/remove-users

func (*Client) ExternalSquadControllerReorderExternalSquads

func (c *Client) ExternalSquadControllerReorderExternalSquads(ctx context.Context, request *ReorderRequest) (ExternalSquadControllerReorderExternalSquadsRes, error)

ExternalSquadControllerReorderExternalSquads invokes ExternalSquadController_reorderExternalSquads operation.

Reorder external squads.

POST /api/external-squads/actions/reorder

func (*Client) ExternalSquadControllerUpdateExternalSquad

func (c *Client) ExternalSquadControllerUpdateExternalSquad(ctx context.Context, request *UpdateExternalSquadRequestDto) (ExternalSquadControllerUpdateExternalSquadRes, error)

ExternalSquadControllerUpdateExternalSquad invokes ExternalSquadController_updateExternalSquad operation.

Update external squad.

PATCH /api/external-squads

func (*Client) HostsBulkActionsControllerDeleteHosts

func (c *Client) HostsBulkActionsControllerDeleteHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDeleteHostsRes, error)

HostsBulkActionsControllerDeleteHosts invokes HostsBulkActionsController_deleteHosts operation.

Delete hosts by UUIDs.

POST /api/hosts/bulk/delete

func (*Client) HostsBulkActionsControllerDisableHosts

func (c *Client) HostsBulkActionsControllerDisableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDisableHostsRes, error)

HostsBulkActionsControllerDisableHosts invokes HostsBulkActionsController_disableHosts operation.

Disable hosts by UUIDs.

POST /api/hosts/bulk/disable

func (*Client) HostsBulkActionsControllerEnableHosts

func (c *Client) HostsBulkActionsControllerEnableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerEnableHostsRes, error)

HostsBulkActionsControllerEnableHosts invokes HostsBulkActionsController_enableHosts operation.

Enable hosts by UUIDs.

POST /api/hosts/bulk/enable

func (*Client) HostsBulkActionsControllerSetInboundToHosts

func (c *Client) HostsBulkActionsControllerSetInboundToHosts(ctx context.Context, request *SetInboundToManyHostsRequestDto) (HostsBulkActionsControllerSetInboundToHostsRes, error)

HostsBulkActionsControllerSetInboundToHosts invokes HostsBulkActionsController_setInboundToHosts operation.

Set inbound to hosts by UUIDs.

POST /api/hosts/bulk/set-inbound

func (*Client) HostsBulkActionsControllerSetPortToHosts

func (c *Client) HostsBulkActionsControllerSetPortToHosts(ctx context.Context, request *SetPortToManyHostsRequestDto) (HostsBulkActionsControllerSetPortToHostsRes, error)

HostsBulkActionsControllerSetPortToHosts invokes HostsBulkActionsController_setPortToHosts operation.

Set port to hosts by UUIDs.

POST /api/hosts/bulk/set-port

func (*Client) HostsControllerCreateHost

func (c *Client) HostsControllerCreateHost(ctx context.Context, request *CreateHostRequestDto) (HostsControllerCreateHostRes, error)

HostsControllerCreateHost invokes HostsController_createHost operation.

Create a new host.

POST /api/hosts

func (*Client) HostsControllerDeleteHost

func (c *Client) HostsControllerDeleteHost(ctx context.Context, params HostsControllerDeleteHostParams) (HostsControllerDeleteHostRes, error)

HostsControllerDeleteHost invokes HostsController_deleteHost operation.

Delete a host by UUID.

DELETE /api/hosts/{uuid}

func (*Client) HostsControllerGetAllHostTags

func (c *Client) HostsControllerGetAllHostTags(ctx context.Context) (HostsControllerGetAllHostTagsRes, error)

HostsControllerGetAllHostTags invokes HostsController_getAllHostTags operation.

Get all existing host tags.

GET /api/hosts/tags

func (*Client) HostsControllerGetAllHosts

func (c *Client) HostsControllerGetAllHosts(ctx context.Context) (HostsControllerGetAllHostsRes, error)

HostsControllerGetAllHosts invokes HostsController_getAllHosts operation.

Get all hosts.

GET /api/hosts

func (*Client) HostsControllerGetOneHost

func (c *Client) HostsControllerGetOneHost(ctx context.Context, params HostsControllerGetOneHostParams) (HostsControllerGetOneHostRes, error)

HostsControllerGetOneHost invokes HostsController_getOneHost operation.

Get a host by UUID.

GET /api/hosts/{uuid}

func (*Client) HostsControllerReorderHosts

func (c *Client) HostsControllerReorderHosts(ctx context.Context, request *ReorderHostRequestDto) (HostsControllerReorderHostsRes, error)

HostsControllerReorderHosts invokes HostsController_reorderHosts operation.

Reorder hosts.

POST /api/hosts/actions/reorder

func (*Client) HostsControllerUpdateHost

func (c *Client) HostsControllerUpdateHost(ctx context.Context, request *UpdateHostRequestDto) (HostsControllerUpdateHostRes, error)

HostsControllerUpdateHost invokes HostsController_updateHost operation.

Update a host.

PATCH /api/hosts

func (*Client) HwidUserDevicesControllerCreateUserHwidDevice

func (c *Client) HwidUserDevicesControllerCreateUserHwidDevice(ctx context.Context, request *CreateUserHwidDeviceRequestDto) (HwidUserDevicesControllerCreateUserHwidDeviceRes, error)

HwidUserDevicesControllerCreateUserHwidDevice invokes HwidUserDevicesController_createUserHwidDevice operation.

Create a user HWID device.

POST /api/hwid/devices

func (*Client) HwidUserDevicesControllerDeleteAllUserHwidDevices

func (c *Client) HwidUserDevicesControllerDeleteAllUserHwidDevices(ctx context.Context, request *DeleteAllUserHwidDevicesRequestDto) (HwidUserDevicesControllerDeleteAllUserHwidDevicesRes, error)

HwidUserDevicesControllerDeleteAllUserHwidDevices invokes HwidUserDevicesController_deleteAllUserHwidDevices operation.

Delete all user HWID devices.

POST /api/hwid/devices/delete-all

func (*Client) HwidUserDevicesControllerDeleteUserHwidDevice

func (c *Client) HwidUserDevicesControllerDeleteUserHwidDevice(ctx context.Context, request *DeleteUserHwidDeviceRequestDto) (HwidUserDevicesControllerDeleteUserHwidDeviceRes, error)

HwidUserDevicesControllerDeleteUserHwidDevice invokes HwidUserDevicesController_deleteUserHwidDevice operation.

Delete a user HWID device.

POST /api/hwid/devices/delete

func (*Client) HwidUserDevicesControllerGetAllUsers

HwidUserDevicesControllerGetAllUsers invokes HwidUserDevicesController_getAllUsers operation.

Get all HWID devices.

GET /api/hwid/devices

func (*Client) HwidUserDevicesControllerGetHwidDevicesStats

func (c *Client) HwidUserDevicesControllerGetHwidDevicesStats(ctx context.Context) (HwidUserDevicesControllerGetHwidDevicesStatsRes, error)

HwidUserDevicesControllerGetHwidDevicesStats invokes HwidUserDevicesController_getHwidDevicesStats operation.

Get HWID devices stats.

GET /api/hwid/devices/stats

func (*Client) HwidUserDevicesControllerGetTopUsersByHwidDevices

HwidUserDevicesControllerGetTopUsersByHwidDevices invokes HwidUserDevicesController_getTopUsersByHwidDevices operation.

Get top users by HWID devices.

GET /api/hwid/devices/top-users

func (*Client) HwidUserDevicesControllerGetUserHwidDevices

HwidUserDevicesControllerGetUserHwidDevices invokes HwidUserDevicesController_getUserHwidDevices operation.

Get user HWID devices.

GET /api/hwid/devices/{userUuid}

func (*Client) InfraBillingControllerCreateInfraBillingHistoryRecord

func (c *Client) InfraBillingControllerCreateInfraBillingHistoryRecord(ctx context.Context, request *CreateInfraBillingHistoryRecordRequestDto) (InfraBillingControllerCreateInfraBillingHistoryRecordRes, error)

InfraBillingControllerCreateInfraBillingHistoryRecord invokes InfraBillingController_createInfraBillingHistoryRecord operation.

Create infra billing history.

POST /api/infra-billing/history

func (*Client) InfraBillingControllerCreateInfraBillingNode

func (c *Client) InfraBillingControllerCreateInfraBillingNode(ctx context.Context, request *CreateInfraBillingNodeRequestDto) (InfraBillingControllerCreateInfraBillingNodeRes, error)

InfraBillingControllerCreateInfraBillingNode invokes InfraBillingController_createInfraBillingNode operation.

Create infra billing node.

POST /api/infra-billing/nodes

func (*Client) InfraBillingControllerCreateInfraProvider

func (c *Client) InfraBillingControllerCreateInfraProvider(ctx context.Context, request *CreateInfraProviderRequestDto) (InfraBillingControllerCreateInfraProviderRes, error)

InfraBillingControllerCreateInfraProvider invokes InfraBillingController_createInfraProvider operation.

Create infra provider.

POST /api/infra-billing/providers

func (*Client) InfraBillingControllerDeleteInfraBillingHistoryRecordByUuid

InfraBillingControllerDeleteInfraBillingHistoryRecordByUuid invokes InfraBillingController_deleteInfraBillingHistoryRecordByUuid operation.

Delete infra billing history.

DELETE /api/infra-billing/history/{uuid}

func (*Client) InfraBillingControllerDeleteInfraBillingNodeByUuid

InfraBillingControllerDeleteInfraBillingNodeByUuid invokes InfraBillingController_deleteInfraBillingNodeByUuid operation.

Delete infra billing node.

DELETE /api/infra-billing/nodes/{uuid}

func (*Client) InfraBillingControllerDeleteInfraProviderByUuid

InfraBillingControllerDeleteInfraProviderByUuid invokes InfraBillingController_deleteInfraProviderByUuid operation.

Delete infra provider by uuid.

DELETE /api/infra-billing/providers/{uuid}

func (*Client) InfraBillingControllerGetBillingNodes

func (c *Client) InfraBillingControllerGetBillingNodes(ctx context.Context) (InfraBillingControllerGetBillingNodesRes, error)

InfraBillingControllerGetBillingNodes invokes InfraBillingController_getBillingNodes operation.

Get infra billing nodes.

GET /api/infra-billing/nodes

func (*Client) InfraBillingControllerGetInfraBillingHistoryRecords

func (c *Client) InfraBillingControllerGetInfraBillingHistoryRecords(ctx context.Context) (InfraBillingControllerGetInfraBillingHistoryRecordsRes, error)

InfraBillingControllerGetInfraBillingHistoryRecords invokes InfraBillingController_getInfraBillingHistoryRecords operation.

Get infra billing history.

GET /api/infra-billing/history

func (*Client) InfraBillingControllerGetInfraProviderByUuid

InfraBillingControllerGetInfraProviderByUuid invokes InfraBillingController_getInfraProviderByUuid operation.

Get infra provider by uuid.

GET /api/infra-billing/providers/{uuid}

func (*Client) InfraBillingControllerGetInfraProviders

func (c *Client) InfraBillingControllerGetInfraProviders(ctx context.Context) (InfraBillingControllerGetInfraProvidersRes, error)

InfraBillingControllerGetInfraProviders invokes InfraBillingController_getInfraProviders operation.

Get all infra providers.

GET /api/infra-billing/providers

func (*Client) InfraBillingControllerUpdateInfraBillingNode

func (c *Client) InfraBillingControllerUpdateInfraBillingNode(ctx context.Context, request *UpdateInfraBillingNodeRequestDto) (InfraBillingControllerUpdateInfraBillingNodeRes, error)

InfraBillingControllerUpdateInfraBillingNode invokes InfraBillingController_updateInfraBillingNode operation.

Update infra billing nodes.

PATCH /api/infra-billing/nodes

func (*Client) InfraBillingControllerUpdateInfraProvider

func (c *Client) InfraBillingControllerUpdateInfraProvider(ctx context.Context, request *UpdateInfraProviderRequestDto) (InfraBillingControllerUpdateInfraProviderRes, error)

InfraBillingControllerUpdateInfraProvider invokes InfraBillingController_updateInfraProvider operation.

Update infra provider.

PATCH /api/infra-billing/providers

func (*Client) InternalSquadControllerAddUsersToInternalSquad

InternalSquadControllerAddUsersToInternalSquad invokes InternalSquadController_addUsersToInternalSquad operation.

Add all users to internal squad.

POST /api/internal-squads/{uuid}/bulk-actions/add-users

func (*Client) InternalSquadControllerCreateInternalSquad

func (c *Client) InternalSquadControllerCreateInternalSquad(ctx context.Context, request *CreateInternalSquadRequestDto) (InternalSquadControllerCreateInternalSquadRes, error)

InternalSquadControllerCreateInternalSquad invokes InternalSquadController_createInternalSquad operation.

Create internal squad.

POST /api/internal-squads

func (*Client) InternalSquadControllerDeleteInternalSquad

InternalSquadControllerDeleteInternalSquad invokes InternalSquadController_deleteInternalSquad operation.

Delete internal squad.

DELETE /api/internal-squads/{uuid}

func (*Client) InternalSquadControllerGetInternalSquadAccessibleNodes

InternalSquadControllerGetInternalSquadAccessibleNodes invokes InternalSquadController_getInternalSquadAccessibleNodes operation.

Get internal squad accessible nodes.

GET /api/internal-squads/{uuid}/accessible-nodes

func (*Client) InternalSquadControllerGetInternalSquadByUuid

InternalSquadControllerGetInternalSquadByUuid invokes InternalSquadController_getInternalSquadByUuid operation.

Get internal squad by uuid.

GET /api/internal-squads/{uuid}

func (*Client) InternalSquadControllerGetInternalSquads

func (c *Client) InternalSquadControllerGetInternalSquads(ctx context.Context) (InternalSquadControllerGetInternalSquadsRes, error)

InternalSquadControllerGetInternalSquads invokes InternalSquadController_getInternalSquads operation.

Get all internal squads.

GET /api/internal-squads

func (*Client) InternalSquadControllerRemoveUsersFromInternalSquad

InternalSquadControllerRemoveUsersFromInternalSquad invokes InternalSquadController_removeUsersFromInternalSquad operation.

Delete users from internal squad.

DELETE /api/internal-squads/{uuid}/bulk-actions/remove-users

func (*Client) InternalSquadControllerReorderInternalSquads

func (c *Client) InternalSquadControllerReorderInternalSquads(ctx context.Context, request *ReorderRequest) (InternalSquadControllerReorderInternalSquadsRes, error)

InternalSquadControllerReorderInternalSquads invokes InternalSquadController_reorderInternalSquads operation.

Reorder internal squads.

POST /api/internal-squads/actions/reorder

func (*Client) InternalSquadControllerUpdateInternalSquad

func (c *Client) InternalSquadControllerUpdateInternalSquad(ctx context.Context, request *UpdateInternalSquadRequestDto) (InternalSquadControllerUpdateInternalSquadRes, error)

InternalSquadControllerUpdateInternalSquad invokes InternalSquadController_updateInternalSquad operation.

Update internal squad.

PATCH /api/internal-squads

func (*Client) KeygenControllerGenerateKey

func (c *Client) KeygenControllerGenerateKey(ctx context.Context) (KeygenControllerGenerateKeyRes, error)

KeygenControllerGenerateKey invokes KeygenController_generateKey operation.

Get SSL_CERT for Remnawave Node.

GET /api/keygen

func (*Client) NodesControllerCreateNode

func (c *Client) NodesControllerCreateNode(ctx context.Context, request *CreateNodeRequestDto) (NodesControllerCreateNodeRes, error)

NodesControllerCreateNode invokes NodesController_createNode operation.

Create a new node.

POST /api/nodes

func (*Client) NodesControllerDeleteNode

func (c *Client) NodesControllerDeleteNode(ctx context.Context, params NodesControllerDeleteNodeParams) (NodesControllerDeleteNodeRes, error)

NodesControllerDeleteNode invokes NodesController_deleteNode operation.

Delete a node.

DELETE /api/nodes/{uuid}

func (*Client) NodesControllerDisableNode

func (c *Client) NodesControllerDisableNode(ctx context.Context, params NodesControllerDisableNodeParams) (NodesControllerDisableNodeRes, error)

NodesControllerDisableNode invokes NodesController_disableNode operation.

Disable a node.

POST /api/nodes/{uuid}/actions/disable

func (*Client) NodesControllerEnableNode

func (c *Client) NodesControllerEnableNode(ctx context.Context, params NodesControllerEnableNodeParams) (NodesControllerEnableNodeRes, error)

NodesControllerEnableNode invokes NodesController_enableNode operation.

Enable a node.

POST /api/nodes/{uuid}/actions/enable

func (*Client) NodesControllerGetAllNodes

func (c *Client) NodesControllerGetAllNodes(ctx context.Context) (NodesControllerGetAllNodesRes, error)

NodesControllerGetAllNodes invokes NodesController_getAllNodes operation.

Get all nodes.

GET /api/nodes

func (*Client) NodesControllerGetAllNodesTags

func (c *Client) NodesControllerGetAllNodesTags(ctx context.Context) (NodesControllerGetAllNodesTagsRes, error)

NodesControllerGetAllNodesTags invokes NodesController_getAllNodesTags operation.

Get all existing nodes tags.

GET /api/nodes/tags

func (*Client) NodesControllerGetOneNode

func (c *Client) NodesControllerGetOneNode(ctx context.Context, params NodesControllerGetOneNodeParams) (NodesControllerGetOneNodeRes, error)

NodesControllerGetOneNode invokes NodesController_getOneNode operation.

Get node by UUID.

GET /api/nodes/{uuid}

func (*Client) NodesControllerProfileModification

func (c *Client) NodesControllerProfileModification(ctx context.Context, request *ProfileModificationRequestDto) (NodesControllerProfileModificationRes, error)

NodesControllerProfileModification invokes NodesController_profileModification operation.

Modify Inbounds & Profile for many nodes.

POST /api/nodes/bulk-actions/profile-modification

func (*Client) NodesControllerReorderNodes

func (c *Client) NodesControllerReorderNodes(ctx context.Context, request *ReorderNodeRequestDto) (NodesControllerReorderNodesRes, error)

NodesControllerReorderNodes invokes NodesController_reorderNodes operation.

Reorder nodes.

POST /api/nodes/actions/reorder

func (*Client) NodesControllerResetNodeTraffic

func (c *Client) NodesControllerResetNodeTraffic(ctx context.Context, params NodesControllerResetNodeTrafficParams) (NodesControllerResetNodeTrafficRes, error)

NodesControllerResetNodeTraffic invokes NodesController_resetNodeTraffic operation.

Reset Node Traffic.

POST /api/nodes/{uuid}/actions/reset-traffic

func (*Client) NodesControllerRestartAllNodes

func (c *Client) NodesControllerRestartAllNodes(ctx context.Context, request *RestartAllNodesRequestBodyDto) (NodesControllerRestartAllNodesRes, error)

NodesControllerRestartAllNodes invokes NodesController_restartAllNodes operation.

Restart all nodes.

POST /api/nodes/actions/restart-all

func (*Client) NodesControllerRestartNode

func (c *Client) NodesControllerRestartNode(ctx context.Context, params NodesControllerRestartNodeParams) (NodesControllerRestartNodeRes, error)

NodesControllerRestartNode invokes NodesController_restartNode operation.

Restart node.

POST /api/nodes/{uuid}/actions/restart

func (*Client) NodesControllerUpdateNode

func (c *Client) NodesControllerUpdateNode(ctx context.Context, request *UpdateNodeRequestDto) (NodesControllerUpdateNodeRes, error)

NodesControllerUpdateNode invokes NodesController_updateNode operation.

Update node.

PATCH /api/nodes

func (*Client) NodesUsageHistoryControllerGetStatsNodesUsage

NodesUsageHistoryControllerGetStatsNodesUsage invokes NodesUsageHistoryController_getStatsNodesUsage operation.

Get Nodes Usage by Range.

GET /api/bandwidth-stats/nodes

func (*Client) PasskeyControllerDeletePasskey

func (c *Client) PasskeyControllerDeletePasskey(ctx context.Context, request *DeletePasskeyRequestDto) (PasskeyControllerDeletePasskeyRes, error)

PasskeyControllerDeletePasskey invokes PasskeyController_deletePasskey operation.

Delete a passkey by ID.

DELETE /api/passkeys

func (*Client) PasskeyControllerGetActivePasskeys

func (c *Client) PasskeyControllerGetActivePasskeys(ctx context.Context) (PasskeyControllerGetActivePasskeysRes, error)

PasskeyControllerGetActivePasskeys invokes PasskeyController_getActivePasskeys operation.

Get all passkeys.

GET /api/passkeys

func (*Client) PasskeyControllerPasskeyRegistrationOptions

func (c *Client) PasskeyControllerPasskeyRegistrationOptions(ctx context.Context) (PasskeyControllerPasskeyRegistrationOptionsRes, error)

PasskeyControllerPasskeyRegistrationOptions invokes PasskeyController_passkeyRegistrationOptions operation.

Get registration options for passkey.

GET /api/passkeys/registration/options

func (*Client) PasskeyControllerPasskeyRegistrationVerify

func (c *Client) PasskeyControllerPasskeyRegistrationVerify(ctx context.Context, request *PasskeyOptions) (PasskeyControllerPasskeyRegistrationVerifyRes, error)

PasskeyControllerPasskeyRegistrationVerify invokes PasskeyController_passkeyRegistrationVerify operation.

Verify registration for passkey.

POST /api/passkeys/registration/verify

func (*Client) PasskeyControllerUpdatePasskey

func (c *Client) PasskeyControllerUpdatePasskey(ctx context.Context, request *UpdatePasskeyRequestDto) (PasskeyControllerUpdatePasskeyRes, error)

PasskeyControllerUpdatePasskey invokes PasskeyController_updatePasskey operation.

Update passkey.

PATCH /api/passkeys

func (*Client) RemnawaveSettingsControllerGetSettings

func (c *Client) RemnawaveSettingsControllerGetSettings(ctx context.Context) (RemnawaveSettingsControllerGetSettingsRes, error)

RemnawaveSettingsControllerGetSettings invokes RemnawaveSettingsController_getSettings operation.

Get Remnawave settings.

GET /api/remnawave-settings

func (*Client) RemnawaveSettingsControllerUpdateSettings

func (c *Client) RemnawaveSettingsControllerUpdateSettings(ctx context.Context, request *UpdateRemnawaveSettingsRequestDto) (RemnawaveSettingsControllerUpdateSettingsRes, error)

RemnawaveSettingsControllerUpdateSettings invokes RemnawaveSettingsController_updateSettings operation.

Update Remnawave settings.

PATCH /api/remnawave-settings

func (*Client) SnippetsControllerCreateSnippet

func (c *Client) SnippetsControllerCreateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerCreateSnippetRes, error)

SnippetsControllerCreateSnippet invokes SnippetsController_createSnippet operation.

Create snippet.

POST /api/snippets

func (*Client) SnippetsControllerDeleteSnippetByName

func (c *Client) SnippetsControllerDeleteSnippetByName(ctx context.Context, request *DeleteSnippetRequestDto) (SnippetsControllerDeleteSnippetByNameRes, error)

SnippetsControllerDeleteSnippetByName invokes SnippetsController_deleteSnippetByName operation.

Delete snippet.

DELETE /api/snippets

func (*Client) SnippetsControllerGetSnippets

func (c *Client) SnippetsControllerGetSnippets(ctx context.Context) (SnippetsControllerGetSnippetsRes, error)

SnippetsControllerGetSnippets invokes SnippetsController_getSnippets operation.

Get snippets.

GET /api/snippets

func (*Client) SnippetsControllerUpdateSnippet

func (c *Client) SnippetsControllerUpdateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerUpdateSnippetRes, error)

SnippetsControllerUpdateSnippet invokes SnippetsController_updateSnippet operation.

Update snippet.

PATCH /api/snippets

func (*Client) SubscriptionControllerGetSubscription

func (c *Client) SubscriptionControllerGetSubscription(ctx context.Context, params SubscriptionControllerGetSubscriptionParams) error

SubscriptionControllerGetSubscription invokes SubscriptionController_getSubscription operation.

GET /api/sub/{shortUuid}

func (*Client) SubscriptionControllerGetSubscriptionByClientType

func (c *Client) SubscriptionControllerGetSubscriptionByClientType(ctx context.Context, params SubscriptionControllerGetSubscriptionByClientTypeParams) error

SubscriptionControllerGetSubscriptionByClientType invokes SubscriptionController_getSubscriptionByClientType operation.

GET /api/sub/{shortUuid}/{clientType}

func (*Client) SubscriptionControllerGetSubscriptionInfoByShortUuid

SubscriptionControllerGetSubscriptionInfoByShortUuid invokes SubscriptionController_getSubscriptionInfoByShortUuid operation.

Get Subscription Info by Short UUID.

GET /api/sub/{shortUuid}/info

func (*Client) SubscriptionControllerGetSubscriptionWithType

func (c *Client) SubscriptionControllerGetSubscriptionWithType(ctx context.Context, params SubscriptionControllerGetSubscriptionWithTypeParams) error

SubscriptionControllerGetSubscriptionWithType invokes SubscriptionController_getSubscriptionWithType operation.

GET /api/sub/outline/{shortUuid}/{type}/{encodedTag}

func (*Client) SubscriptionPageConfigControllerCloneSubscriptionPageConfig

func (c *Client) SubscriptionPageConfigControllerCloneSubscriptionPageConfig(ctx context.Context, request *CloneSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerCloneSubscriptionPageConfigRes, error)

SubscriptionPageConfigControllerCloneSubscriptionPageConfig invokes SubscriptionPageConfigController_cloneSubscriptionPageConfig operation.

Clone subscription page config.

POST /api/subscription-page-configs/actions/clone

func (*Client) SubscriptionPageConfigControllerCreateConfig

func (c *Client) SubscriptionPageConfigControllerCreateConfig(ctx context.Context, request *ExternalSquadRequestRequest) (SubscriptionPageConfigControllerCreateConfigRes, error)

SubscriptionPageConfigControllerCreateConfig invokes SubscriptionPageConfigController_createConfig operation.

Create subscription page config.

POST /api/subscription-page-configs

func (*Client) SubscriptionPageConfigControllerDeleteConfig

SubscriptionPageConfigControllerDeleteConfig invokes SubscriptionPageConfigController_deleteConfig operation.

Delete subscription page config.

DELETE /api/subscription-page-configs/{uuid}

func (*Client) SubscriptionPageConfigControllerGetAllConfigs

func (c *Client) SubscriptionPageConfigControllerGetAllConfigs(ctx context.Context) (SubscriptionPageConfigControllerGetAllConfigsRes, error)

SubscriptionPageConfigControllerGetAllConfigs invokes SubscriptionPageConfigController_getAllConfigs operation.

Get all subscription page configs.

GET /api/subscription-page-configs

func (*Client) SubscriptionPageConfigControllerGetConfigByUuid

SubscriptionPageConfigControllerGetConfigByUuid invokes SubscriptionPageConfigController_getConfigByUuid operation.

Get subscription page config by uuid.

GET /api/subscription-page-configs/{uuid}

func (*Client) SubscriptionPageConfigControllerReorderSubscriptionPageConfigs

func (c *Client) SubscriptionPageConfigControllerReorderSubscriptionPageConfigs(ctx context.Context, request *ReorderRequest) (SubscriptionPageConfigControllerReorderSubscriptionPageConfigsRes, error)

SubscriptionPageConfigControllerReorderSubscriptionPageConfigs invokes SubscriptionPageConfigController_reorderSubscriptionPageConfigs operation.

Reorder subscription page configs.

POST /api/subscription-page-configs/actions/reorder

func (*Client) SubscriptionPageConfigControllerUpdateConfig

func (c *Client) SubscriptionPageConfigControllerUpdateConfig(ctx context.Context, request *UpdateSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerUpdateConfigRes, error)

SubscriptionPageConfigControllerUpdateConfig invokes SubscriptionPageConfigController_updateConfig operation.

Update subscription page config.

PATCH /api/subscription-page-configs

func (*Client) SubscriptionSettingsControllerGetSettings

func (c *Client) SubscriptionSettingsControllerGetSettings(ctx context.Context) (SubscriptionSettingsControllerGetSettingsRes, error)

SubscriptionSettingsControllerGetSettings invokes SubscriptionSettingsController_getSettings operation.

Get subscription settings.

GET /api/subscription-settings

func (*Client) SubscriptionSettingsControllerUpdateSettings

func (c *Client) SubscriptionSettingsControllerUpdateSettings(ctx context.Context, request *UpdateSubscriptionSettingsRequestDto) (SubscriptionSettingsControllerUpdateSettingsRes, error)

SubscriptionSettingsControllerUpdateSettings invokes SubscriptionSettingsController_updateSettings operation.

Update subscription settings.

PATCH /api/subscription-settings

func (*Client) SubscriptionTemplateControllerCreateTemplate

func (c *Client) SubscriptionTemplateControllerCreateTemplate(ctx context.Context, request *CreateSubscriptionTemplateRequestDto) (SubscriptionTemplateControllerCreateTemplateRes, error)

SubscriptionTemplateControllerCreateTemplate invokes SubscriptionTemplateController_createTemplate operation.

Create subscription template.

POST /api/subscription-templates

func (*Client) SubscriptionTemplateControllerDeleteTemplate

SubscriptionTemplateControllerDeleteTemplate invokes SubscriptionTemplateController_deleteTemplate operation.

Delete subscription template.

DELETE /api/subscription-templates/{uuid}

func (*Client) SubscriptionTemplateControllerGetAllTemplates

func (c *Client) SubscriptionTemplateControllerGetAllTemplates(ctx context.Context) (SubscriptionTemplateControllerGetAllTemplatesRes, error)

SubscriptionTemplateControllerGetAllTemplates invokes SubscriptionTemplateController_getAllTemplates operation.

Get all subscription templates (wihout content).

GET /api/subscription-templates

func (*Client) SubscriptionTemplateControllerGetTemplateByUuid

SubscriptionTemplateControllerGetTemplateByUuid invokes SubscriptionTemplateController_getTemplateByUuid operation.

Get subscription template by uuid.

GET /api/subscription-templates/{uuid}

func (*Client) SubscriptionTemplateControllerReorderSubscriptionTemplates

func (c *Client) SubscriptionTemplateControllerReorderSubscriptionTemplates(ctx context.Context, request *ReorderRequest) (SubscriptionTemplateControllerReorderSubscriptionTemplatesRes, error)

SubscriptionTemplateControllerReorderSubscriptionTemplates invokes SubscriptionTemplateController_reorderSubscriptionTemplates operation.

Reorder subscription templates.

POST /api/subscription-templates/actions/reorder

func (*Client) SubscriptionTemplateControllerUpdateTemplate

func (c *Client) SubscriptionTemplateControllerUpdateTemplate(ctx context.Context, request *UpdateTemplateRequestDto) (SubscriptionTemplateControllerUpdateTemplateRes, error)

SubscriptionTemplateControllerUpdateTemplate invokes SubscriptionTemplateController_updateTemplate operation.

Update subscription template.

PATCH /api/subscription-templates

func (*Client) SubscriptionsControllerGetAllSubscriptions

SubscriptionsControllerGetAllSubscriptions invokes SubscriptionsController_getAllSubscriptions operation.

Get all subscriptions.

GET /api/subscriptions

func (*Client) SubscriptionsControllerGetRawSubscriptionByShortUuid

SubscriptionsControllerGetRawSubscriptionByShortUuid invokes SubscriptionsController_getRawSubscriptionByShortUuid operation.

Get Raw Subscription by Short UUID.

GET /api/subscriptions/by-short-uuid/{shortUuid}/raw

func (*Client) SubscriptionsControllerGetSubpageConfigByShortUuid

SubscriptionsControllerGetSubpageConfigByShortUuid invokes SubscriptionsController_getSubpageConfigByShortUuid operation.

Get Subpage Config by Short UUID.

GET /api/subscriptions/subpage-config/{shortUuid}

func (*Client) SubscriptionsControllerGetSubscriptionByShortUuidProtected

SubscriptionsControllerGetSubscriptionByShortUuidProtected invokes SubscriptionsController_getSubscriptionByShortUuidProtected operation.

Get subscription by short uuid (protected route).

GET /api/subscriptions/by-short-uuid/{shortUuid}

func (*Client) SubscriptionsControllerGetSubscriptionByUsername

SubscriptionsControllerGetSubscriptionByUsername invokes SubscriptionsController_getSubscriptionByUsername operation.

Get subscription by username.

GET /api/subscriptions/by-username/{username}

func (*Client) SubscriptionsControllerGetSubscriptionByUuid

SubscriptionsControllerGetSubscriptionByUuid invokes SubscriptionsController_getSubscriptionByUuid operation.

Get subscription by uuid.

GET /api/subscriptions/by-uuid/{uuid}

func (*Client) SystemControllerDebugSrrMatcher

func (c *Client) SystemControllerDebugSrrMatcher(ctx context.Context, request *DebugSrrMatcherRequestDto) (SystemControllerDebugSrrMatcherRes, error)

SystemControllerDebugSrrMatcher invokes SystemController_debugSrrMatcher operation.

Test SRR Matcher.

POST /api/system/testers/srr-matcher

func (c *Client) SystemControllerEncryptHappCryptoLink(ctx context.Context, request *EncryptHappCryptoLinkRequestDto) (SystemControllerEncryptHappCryptoLinkRes, error)

SystemControllerEncryptHappCryptoLink invokes SystemController_encryptHappCryptoLink operation.

Encrypt Happ Crypto Link.

POST /api/system/tools/happ/encrypt

func (*Client) SystemControllerGetBandwidthStats

func (c *Client) SystemControllerGetBandwidthStats(ctx context.Context) (SystemControllerGetBandwidthStatsRes, error)

SystemControllerGetBandwidthStats invokes SystemController_getBandwidthStats operation.

Get Bandwidth Stats.

GET /api/system/stats/bandwidth

func (*Client) SystemControllerGetNodesMetrics

func (c *Client) SystemControllerGetNodesMetrics(ctx context.Context) (SystemControllerGetNodesMetricsRes, error)

SystemControllerGetNodesMetrics invokes SystemController_getNodesMetrics operation.

Get Nodes Metrics.

GET /api/system/nodes/metrics

func (*Client) SystemControllerGetNodesStatistics

func (c *Client) SystemControllerGetNodesStatistics(ctx context.Context) (SystemControllerGetNodesStatisticsRes, error)

SystemControllerGetNodesStatistics invokes SystemController_getNodesStatistics operation.

Get Nodes Statistics.

GET /api/system/stats/nodes

func (*Client) SystemControllerGetRemnawaveHealth

func (c *Client) SystemControllerGetRemnawaveHealth(ctx context.Context) (SystemControllerGetRemnawaveHealthRes, error)

SystemControllerGetRemnawaveHealth invokes SystemController_getRemnawaveHealth operation.

Get Remnawave Health.

GET /api/system/health

func (*Client) SystemControllerGetStats

func (c *Client) SystemControllerGetStats(ctx context.Context) (SystemControllerGetStatsRes, error)

SystemControllerGetStats invokes SystemController_getStats operation.

Get Stats.

GET /api/system/stats

func (*Client) SystemControllerGetX25519Keypairs

func (c *Client) SystemControllerGetX25519Keypairs(ctx context.Context) (SystemControllerGetX25519KeypairsRes, error)

SystemControllerGetX25519Keypairs invokes SystemController_getX25519Keypairs operation.

Generate 30 X25519 keypairs.

GET /api/system/tools/x25519/generate

func (*Client) UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistory

UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistory invokes UserSubscriptionRequestHistoryController_getSubscriptionRequestHistory operation.

Get all subscription request history.

GET /api/subscription-request-history

func (*Client) UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStats

func (c *Client) UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStats(ctx context.Context) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsRes, error)

UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStats invokes UserSubscriptionRequestHistoryController_getSubscriptionRequestHistoryStats operation.

Get subscription request history stats.

GET /api/subscription-request-history/stats

func (*Client) UsersBulkActionsControllerBulkAllExtendExpirationDate

func (c *Client) UsersBulkActionsControllerBulkAllExtendExpirationDate(ctx context.Context, request *BulkAllExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkAllExtendExpirationDateRes, error)

UsersBulkActionsControllerBulkAllExtendExpirationDate invokes UsersBulkActionsController_bulkAllExtendExpirationDate operation.

Bulk extend all users expiration date.

POST /api/users/bulk/all/extend-expiration-date

func (*Client) UsersBulkActionsControllerBulkAllResetUserTraffic

func (c *Client) UsersBulkActionsControllerBulkAllResetUserTraffic(ctx context.Context) (UsersBulkActionsControllerBulkAllResetUserTrafficRes, error)

UsersBulkActionsControllerBulkAllResetUserTraffic invokes UsersBulkActionsController_bulkAllResetUserTraffic operation.

Bulk reset all users traffic.

POST /api/users/bulk/all/reset-traffic

func (*Client) UsersBulkActionsControllerBulkDeleteUsers

func (c *Client) UsersBulkActionsControllerBulkDeleteUsers(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkDeleteUsersRes, error)

UsersBulkActionsControllerBulkDeleteUsers invokes UsersBulkActionsController_bulkDeleteUsers operation.

Bulk delete users by UUIDs.

POST /api/users/bulk/delete

func (*Client) UsersBulkActionsControllerBulkDeleteUsersByStatus

func (c *Client) UsersBulkActionsControllerBulkDeleteUsersByStatus(ctx context.Context, request *BulkDeleteUsersByStatusRequestDto) (UsersBulkActionsControllerBulkDeleteUsersByStatusRes, error)

UsersBulkActionsControllerBulkDeleteUsersByStatus invokes UsersBulkActionsController_bulkDeleteUsersByStatus operation.

Bulk delete users by status.

POST /api/users/bulk/delete-by-status

func (*Client) UsersBulkActionsControllerBulkExtendExpirationDate

func (c *Client) UsersBulkActionsControllerBulkExtendExpirationDate(ctx context.Context, request *BulkExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkExtendExpirationDateRes, error)

UsersBulkActionsControllerBulkExtendExpirationDate invokes UsersBulkActionsController_bulkExtendExpirationDate operation.

Bulk extend all users expiration date.

POST /api/users/bulk/extend-expiration-date

func (*Client) UsersBulkActionsControllerBulkResetUserTraffic

func (c *Client) UsersBulkActionsControllerBulkResetUserTraffic(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkResetUserTrafficRes, error)

UsersBulkActionsControllerBulkResetUserTraffic invokes UsersBulkActionsController_bulkResetUserTraffic operation.

Bulk reset traffic users by UUIDs.

POST /api/users/bulk/reset-traffic

func (*Client) UsersBulkActionsControllerBulkRevokeUsersSubscription

func (c *Client) UsersBulkActionsControllerBulkRevokeUsersSubscription(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkRevokeUsersSubscriptionRes, error)

UsersBulkActionsControllerBulkRevokeUsersSubscription invokes UsersBulkActionsController_bulkRevokeUsersSubscription operation.

Revoke users subscription by User UUIDs.

POST /api/users/bulk/revoke-subscription

func (*Client) UsersBulkActionsControllerBulkUpdateAllUsers

func (c *Client) UsersBulkActionsControllerBulkUpdateAllUsers(ctx context.Context, request *BulkAllUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateAllUsersRes, error)

UsersBulkActionsControllerBulkUpdateAllUsers invokes UsersBulkActionsController_bulkUpdateAllUsers operation.

Bulk update all users.

POST /api/users/bulk/all/update

func (*Client) UsersBulkActionsControllerBulkUpdateUsers

func (c *Client) UsersBulkActionsControllerBulkUpdateUsers(ctx context.Context, request *BulkUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateUsersRes, error)

UsersBulkActionsControllerBulkUpdateUsers invokes UsersBulkActionsController_bulkUpdateUsers operation.

Bulk update users by UUIDs.

POST /api/users/bulk/update

func (*Client) UsersBulkActionsControllerBulkUpdateUsersInternalSquads

func (c *Client) UsersBulkActionsControllerBulkUpdateUsersInternalSquads(ctx context.Context, request *BulkUpdateUsersSquadsRequestDto) (UsersBulkActionsControllerBulkUpdateUsersInternalSquadsRes, error)

UsersBulkActionsControllerBulkUpdateUsersInternalSquads invokes UsersBulkActionsController_bulkUpdateUsersInternalSquads operation.

Bulk update users internal squads by UUIDs.

POST /api/users/bulk/update-squads

func (*Client) UsersControllerCreateUser

func (c *Client) UsersControllerCreateUser(ctx context.Context, request *CreateUserRequestDto) (UsersControllerCreateUserRes, error)

UsersControllerCreateUser invokes UsersController_createUser operation.

Create a new user.

POST /api/users

func (*Client) UsersControllerDeleteUser

func (c *Client) UsersControllerDeleteUser(ctx context.Context, params UsersControllerDeleteUserParams) (UsersControllerDeleteUserRes, error)

UsersControllerDeleteUser invokes UsersController_deleteUser operation.

Delete user.

DELETE /api/users/{uuid}

func (*Client) UsersControllerDisableUser

func (c *Client) UsersControllerDisableUser(ctx context.Context, params UsersControllerDisableUserParams) (UsersControllerDisableUserRes, error)

UsersControllerDisableUser invokes UsersController_disableUser operation.

Disable user.

POST /api/users/{uuid}/actions/disable

func (*Client) UsersControllerEnableUser

func (c *Client) UsersControllerEnableUser(ctx context.Context, params UsersControllerEnableUserParams) (UsersControllerEnableUserRes, error)

UsersControllerEnableUser invokes UsersController_enableUser operation.

Enable user.

POST /api/users/{uuid}/actions/enable

func (*Client) UsersControllerGetAllTags

func (c *Client) UsersControllerGetAllTags(ctx context.Context) (UsersControllerGetAllTagsRes, error)

UsersControllerGetAllTags invokes UsersController_getAllTags operation.

Get all existing user tags.

GET /api/users/tags

func (*Client) UsersControllerGetAllUsers

func (c *Client) UsersControllerGetAllUsers(ctx context.Context, params UsersControllerGetAllUsersParams) (UsersControllerGetAllUsersRes, error)

UsersControllerGetAllUsers invokes UsersController_getAllUsers operation.

Get all users.

GET /api/users

func (*Client) UsersControllerGetUserAccessibleNodes

UsersControllerGetUserAccessibleNodes invokes UsersController_getUserAccessibleNodes operation.

Get user accessible nodes.

GET /api/users/{uuid}/accessible-nodes

func (*Client) UsersControllerGetUserById

func (c *Client) UsersControllerGetUserById(ctx context.Context, params UsersControllerGetUserByIdParams) (UsersControllerGetUserByIdRes, error)

UsersControllerGetUserById invokes UsersController_getUserById operation.

Get user by ID.

GET /api/users/by-id/{id}

func (*Client) UsersControllerGetUserByShortUuid

func (c *Client) UsersControllerGetUserByShortUuid(ctx context.Context, params UsersControllerGetUserByShortUuidParams) (UsersControllerGetUserByShortUuidRes, error)

UsersControllerGetUserByShortUuid invokes UsersController_getUserByShortUuid operation.

Get user by Short UUID.

GET /api/users/by-short-uuid/{shortUuid}

func (*Client) UsersControllerGetUserByTelegramId

func (c *Client) UsersControllerGetUserByTelegramId(ctx context.Context, params UsersControllerGetUserByTelegramIdParams) (UsersControllerGetUserByTelegramIdRes, error)

UsersControllerGetUserByTelegramId invokes UsersController_getUserByTelegramId operation.

Get users by telegram ID.

GET /api/users/by-telegram-id/{telegramId}

func (*Client) UsersControllerGetUserByUsername

func (c *Client) UsersControllerGetUserByUsername(ctx context.Context, params UsersControllerGetUserByUsernameParams) (UsersControllerGetUserByUsernameRes, error)

UsersControllerGetUserByUsername invokes UsersController_getUserByUsername operation.

Get user by username.

GET /api/users/by-username/{username}

func (*Client) UsersControllerGetUserByUuid

func (c *Client) UsersControllerGetUserByUuid(ctx context.Context, params UsersControllerGetUserByUuidParams) (UsersControllerGetUserByUuidRes, error)

UsersControllerGetUserByUuid invokes UsersController_getUserByUuid operation.

Get user by UUID.

GET /api/users/{uuid}

func (*Client) UsersControllerGetUserSubscriptionRequestHistory

UsersControllerGetUserSubscriptionRequestHistory invokes UsersController_getUserSubscriptionRequestHistory operation.

Get user subscription request history, recent 24 records.

GET /api/users/{uuid}/subscription-request-history

func (*Client) UsersControllerGetUsersByEmail

func (c *Client) UsersControllerGetUsersByEmail(ctx context.Context, params UsersControllerGetUsersByEmailParams) (UsersControllerGetUsersByEmailRes, error)

UsersControllerGetUsersByEmail invokes UsersController_getUsersByEmail operation.

Get users by email.

GET /api/users/by-email/{email}

func (*Client) UsersControllerGetUsersByTag

func (c *Client) UsersControllerGetUsersByTag(ctx context.Context, params UsersControllerGetUsersByTagParams) (UsersControllerGetUsersByTagRes, error)

UsersControllerGetUsersByTag invokes UsersController_getUsersByTag operation.

Get users by tag.

GET /api/users/by-tag/{tag}

func (*Client) UsersControllerResetUserTraffic

func (c *Client) UsersControllerResetUserTraffic(ctx context.Context, params UsersControllerResetUserTrafficParams) (UsersControllerResetUserTrafficRes, error)

UsersControllerResetUserTraffic invokes UsersController_resetUserTraffic operation.

Reset user traffic.

POST /api/users/{uuid}/actions/reset-traffic

func (*Client) UsersControllerRevokeUserSubscription

UsersControllerRevokeUserSubscription invokes UsersController_revokeUserSubscription operation.

Revoke user subscription.

POST /api/users/{uuid}/actions/revoke

func (*Client) UsersControllerUpdateUser

func (c *Client) UsersControllerUpdateUser(ctx context.Context, request *UpdateUserRequestDto) (UsersControllerUpdateUserRes, error)

UsersControllerUpdateUser invokes UsersController_updateUser operation.

Update a user by UUID or username.

PATCH /api/users

type ClientExt

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

ClientExt wraps the base Client with organized sub-client access. Use controller methods (e.g., client.Users().GetByUuid()) to call API operations.

func NewClientExt

func NewClientExt(client *Client) *ClientExt

NewClientExt creates a new ClientExt wrapper.

func (*ClientExt) ApiTokens

func (ce *ClientExt) ApiTokens() *ApiTokensClient

ApiTokens returns the ApiTokensClient.

func (*ClientExt) Auth

func (ce *ClientExt) Auth() *AuthClient

Auth returns the AuthClient.

func (*ClientExt) BandwidthStatsNodes

func (ce *ClientExt) BandwidthStatsNodes() *BandwidthStatsNodesClient

BandwidthStatsNodes returns the BandwidthStatsNodesClient.

func (*ClientExt) BandwidthStatsUsers

func (ce *ClientExt) BandwidthStatsUsers() *BandwidthStatsUsersClient

BandwidthStatsUsers returns the BandwidthStatsUsersClient.

func (*ClientExt) Client

func (ce *ClientExt) Client() *Client

Client returns the underlying ogen Client.

func (*ClientExt) ConfigProfile

func (ce *ClientExt) ConfigProfile() *ConfigProfileClient

ConfigProfile returns the ConfigProfileClient.

func (*ClientExt) ExternalSquad

func (ce *ClientExt) ExternalSquad() *ExternalSquadClient

ExternalSquad returns the ExternalSquadClient.

func (*ClientExt) Hosts

func (ce *ClientExt) Hosts() *HostsClient

Hosts returns the HostsClient.

func (*ClientExt) HostsBulkActions

func (ce *ClientExt) HostsBulkActions() *HostsBulkActionsClient

HostsBulkActions returns the HostsBulkActionsClient.

func (*ClientExt) HwidUserDevices

func (ce *ClientExt) HwidUserDevices() *HwidUserDevicesClient

HwidUserDevices returns the HwidUserDevicesClient.

func (*ClientExt) InfraBilling

func (ce *ClientExt) InfraBilling() *InfraBillingClient

InfraBilling returns the InfraBillingClient.

func (*ClientExt) InternalSquad

func (ce *ClientExt) InternalSquad() *InternalSquadClient

InternalSquad returns the InternalSquadClient.

func (*ClientExt) Keygen

func (ce *ClientExt) Keygen() *KeygenClient

Keygen returns the KeygenClient.

func (*ClientExt) Nodes

func (ce *ClientExt) Nodes() *NodesClient

Nodes returns the NodesClient.

func (*ClientExt) NodesUsageHistory

func (ce *ClientExt) NodesUsageHistory() *NodesUsageHistoryClient

NodesUsageHistory returns the NodesUsageHistoryClient.

func (*ClientExt) Passkey

func (ce *ClientExt) Passkey() *PasskeyClient

Passkey returns the PasskeyClient.

func (*ClientExt) RemnawaveSettings

func (ce *ClientExt) RemnawaveSettings() *RemnawaveSettingsClient

RemnawaveSettings returns the RemnawaveSettingsClient.

func (*ClientExt) Snippets

func (ce *ClientExt) Snippets() *SnippetsClient

Snippets returns the SnippetsClient.

func (*ClientExt) Subscription

func (ce *ClientExt) Subscription() *SubscriptionClient

Subscription returns the SubscriptionClient.

func (*ClientExt) SubscriptionPageConfig

func (ce *ClientExt) SubscriptionPageConfig() *SubscriptionPageConfigClient

SubscriptionPageConfig returns the SubscriptionPageConfigClient.

func (*ClientExt) SubscriptionSettings

func (ce *ClientExt) SubscriptionSettings() *SubscriptionSettingsClient

SubscriptionSettings returns the SubscriptionSettingsClient.

func (*ClientExt) SubscriptionTemplate

func (ce *ClientExt) SubscriptionTemplate() *SubscriptionTemplateClient

SubscriptionTemplate returns the SubscriptionTemplateClient.

func (*ClientExt) Subscriptions

func (ce *ClientExt) Subscriptions() *SubscriptionsClient

Subscriptions returns the SubscriptionsClient.

func (*ClientExt) System

func (ce *ClientExt) System() *SystemClient

System returns the SystemClient.

func (*ClientExt) UserSubscriptionRequestHistory

func (ce *ClientExt) UserSubscriptionRequestHistory() *UserSubscriptionRequestHistoryClient

UserSubscriptionRequestHistory returns the UserSubscriptionRequestHistoryClient.

func (*ClientExt) Users

func (ce *ClientExt) Users() *UsersClient

Users returns the UsersClient.

func (*ClientExt) UsersBulkActions

func (ce *ClientExt) UsersBulkActions() *UsersBulkActionsClient

UsersBulkActions returns the UsersBulkActionsClient.

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 CloneSubscriptionPageConfigRequestDto

type CloneSubscriptionPageConfigRequestDto struct {
	CloneFromUuid uuid.UUID `json:"cloneFromUuid"`
}

Ref: #/components/schemas/CloneSubscriptionPageConfigRequestDto

func (*CloneSubscriptionPageConfigRequestDto) Decode

Decode decodes CloneSubscriptionPageConfigRequestDto from json.

func (*CloneSubscriptionPageConfigRequestDto) Encode

Encode implements json.Marshaler.

func (*CloneSubscriptionPageConfigRequestDto) GetCloneFromUuid

func (s *CloneSubscriptionPageConfigRequestDto) GetCloneFromUuid() uuid.UUID

GetCloneFromUuid returns the value of CloneFromUuid.

func (*CloneSubscriptionPageConfigRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CloneSubscriptionPageConfigRequestDto) SetCloneFromUuid

func (s *CloneSubscriptionPageConfigRequestDto) SetCloneFromUuid(val uuid.UUID)

SetCloneFromUuid sets the value of CloneFromUuid.

func (*CloneSubscriptionPageConfigRequestDto) SetFake

SetFake set fake values.

func (*CloneSubscriptionPageConfigRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Condition

type Condition struct {
	// {"markdownDescription":"**Name** of the HTTP header to check. Must comply with RFC 7230."}.
	HeaderName string `json:"headerName"`
	// {"errorMessage":"Invalid operator. Please select a valid operator.",
	// "markdownDescription":"Operator to use for comparing the `headerName` with `value`.",
	// "markdownEnumDescriptions":["Performs an exact, comparison between the header value and specified
	// string. `string === value`","Ensures the header value does not exactly match the specified string.
	// `string !== value`","Checks if the header value contains the specified string as a substring.
	// `string.includes()`","Verifies the header value does not contain the specified string as a
	// substring. `!string.includes()`","Validates that the header value begins with the specified string.
	//  `string.startsWith()`","Validates that the header value does not begin with the specified string.
	// `!string.startsWith()`","Confirms the header value ends with the specified string. `string.
	// endsWith()`","Confirms the header value does not end with the specified string. `!string.
	// endsWith()`","Evaluates if the header value matches the specified regular expression pattern.
	// `regex.test()`","Evaluates if the header value does not match the specified regular expression
	// pattern. `!regex.test()`"]}.
	Operator ConditionOperator `json:"operator"`
	// {"markdownDescription":"**Value** to check against the **headerName**."}.
	Value string `json:"value"`
	// {"markdownDescription":"Whether the value is **case sensitive**. \n\n - `true`: the value will be
	// compared as is. \n\n - `false`: the value will be lowercased **before** comparison."}.
	CaseSensitive bool `json:"caseSensitive"`
}

{"markdownDescription":"Condition to check against the **headerName**.", "defaultSnippets":[{"label":"Examples: Check if header contains \"text/html\"", "markdownDescription":"Condition to check if **headerName** contains \"text/html\"", "body":{"headerName":"accept","operator":"CONTAINS","value":"text/html","caseSensitive":true}}]}. Ref: #/components/schemas/Condition

func (*Condition) Decode

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

Decode decodes Condition from json.

func (*Condition) Encode

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

Encode implements json.Marshaler.

func (*Condition) GetCaseSensitive

func (s *Condition) GetCaseSensitive() bool

GetCaseSensitive returns the value of CaseSensitive.

func (*Condition) GetHeaderName

func (s *Condition) GetHeaderName() string

GetHeaderName returns the value of HeaderName.

func (*Condition) GetOperator

func (s *Condition) GetOperator() ConditionOperator

GetOperator returns the value of Operator.

func (*Condition) GetValue

func (s *Condition) GetValue() string

GetValue returns the value of Value.

func (*Condition) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Condition) SetCaseSensitive

func (s *Condition) SetCaseSensitive(val bool)

SetCaseSensitive sets the value of CaseSensitive.

func (*Condition) SetFake

func (s *Condition) SetFake()

SetFake set fake values.

func (*Condition) SetHeaderName

func (s *Condition) SetHeaderName(val string)

SetHeaderName sets the value of HeaderName.

func (*Condition) SetOperator

func (s *Condition) SetOperator(val ConditionOperator)

SetOperator sets the value of Operator.

func (*Condition) SetValue

func (s *Condition) SetValue(val string)

SetValue sets the value of Value.

func (*Condition) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Condition) Validate

func (s *Condition) Validate() error

type ConditionOperator

type ConditionOperator string

{"errorMessage":"Invalid operator. Please select a valid operator.", "markdownDescription":"Operator to use for comparing the `headerName` with `value`.", "markdownEnumDescriptions":["Performs an exact, comparison between the header value and specified string. `string === value`","Ensures the header value does not exactly match the specified string. `string !== value`","Checks if the header value contains the specified string as a substring. `string.includes()`","Verifies the header value does not contain the specified string as a substring. `!string.includes()`","Validates that the header value begins with the specified string.

`string.startsWith()`","Validates that the header value does not begin with the specified string.

`!string.startsWith()`","Confirms the header value ends with the specified string. `string. endsWith()`","Confirms the header value does not end with the specified string. `!string. endsWith()`","Evaluates if the header value matches the specified regular expression pattern. `regex.test()`","Evaluates if the header value does not match the specified regular expression pattern. `!regex.test()`"]}.

const (
	ConditionOperatorEQUALS        ConditionOperator = "EQUALS"
	ConditionOperatorNOTEQUALS     ConditionOperator = "NOT_EQUALS"
	ConditionOperatorCONTAINS      ConditionOperator = "CONTAINS"
	ConditionOperatorNOTCONTAINS   ConditionOperator = "NOT_CONTAINS"
	ConditionOperatorSTARTSWITH    ConditionOperator = "STARTS_WITH"
	ConditionOperatorNOTSTARTSWITH ConditionOperator = "NOT_STARTS_WITH"
	ConditionOperatorENDSWITH      ConditionOperator = "ENDS_WITH"
	ConditionOperatorNOTENDSWITH   ConditionOperator = "NOT_ENDS_WITH"
	ConditionOperatorREGEX         ConditionOperator = "REGEX"
	ConditionOperatorNOTREGEX      ConditionOperator = "NOT_REGEX"
)

func (ConditionOperator) AllValues

func (ConditionOperator) AllValues() []ConditionOperator

AllValues returns all ConditionOperator values.

func (*ConditionOperator) Decode

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

Decode decodes ConditionOperator from json.

func (ConditionOperator) Encode

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

Encode encodes ConditionOperator as json.

func (ConditionOperator) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ConditionOperator) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConditionOperator) SetFake

func (s *ConditionOperator) SetFake()

SetFake set fake values.

func (*ConditionOperator) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConditionOperator) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConditionOperator) Validate

func (s ConditionOperator) Validate() error

type Config

type Config struct {
	UUID         uuid.UUID `json:"uuid"`
	ViewPosition int       `json:"viewPosition"`
	Name         string    `json:"name"`
	Config       jx.Raw    `json:"config"`
}

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

func (s *Config) GetConfig() jx.Raw

GetConfig returns the value of Config.

func (*Config) GetName

func (s *Config) GetName() string

GetName returns the value of Name.

func (*Config) GetUUID

func (s *Config) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*Config) GetViewPosition

func (s *Config) GetViewPosition() int

GetViewPosition returns the value of ViewPosition.

func (*Config) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Config) SetConfig

func (s *Config) SetConfig(val jx.Raw)

SetConfig sets the value of Config.

func (*Config) SetFake

func (s *Config) SetFake()

SetFake set fake values.

func (*Config) SetName

func (s *Config) SetName(val string)

SetName sets the value of Name.

func (*Config) SetUUID

func (s *Config) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*Config) SetViewPosition

func (s *Config) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*Config) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigProfile

type ConfigProfile struct {
	UUID         uuid.UUID `json:"uuid"`
	ViewPosition int       `json:"viewPosition"`
	Name         string    `json:"name"`
	Config       jx.Raw    `json:"config"`
	Inbounds     []Inbound `json:"inbounds"`
	Nodes        []Node    `json:"nodes"`
	CreatedAt    time.Time `json:"createdAt"`
	UpdatedAt    time.Time `json:"updatedAt"`
}

Ref: #/components/schemas/ConfigProfile

func (*ConfigProfile) Decode

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

Decode decodes ConfigProfile from json.

func (*ConfigProfile) Encode

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

Encode implements json.Marshaler.

func (*ConfigProfile) GetConfig

func (s *ConfigProfile) GetConfig() jx.Raw

GetConfig returns the value of Config.

func (*ConfigProfile) GetCreatedAt

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

GetCreatedAt returns the value of CreatedAt.

func (*ConfigProfile) GetInbounds

func (s *ConfigProfile) GetInbounds() []Inbound

GetInbounds returns the value of Inbounds.

func (*ConfigProfile) GetName

func (s *ConfigProfile) GetName() string

GetName returns the value of Name.

func (*ConfigProfile) GetNodes

func (s *ConfigProfile) GetNodes() []Node

GetNodes returns the value of Nodes.

func (*ConfigProfile) GetUUID

func (s *ConfigProfile) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*ConfigProfile) GetUpdatedAt

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

GetUpdatedAt returns the value of UpdatedAt.

func (*ConfigProfile) GetViewPosition

func (s *ConfigProfile) GetViewPosition() int

GetViewPosition returns the value of ViewPosition.

func (*ConfigProfile) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigProfile) SetConfig

func (s *ConfigProfile) SetConfig(val jx.Raw)

SetConfig sets the value of Config.

func (*ConfigProfile) SetCreatedAt

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

SetCreatedAt sets the value of CreatedAt.

func (*ConfigProfile) SetFake

func (s *ConfigProfile) SetFake()

SetFake set fake values.

func (*ConfigProfile) SetInbounds

func (s *ConfigProfile) SetInbounds(val []Inbound)

SetInbounds sets the value of Inbounds.

func (*ConfigProfile) SetName

func (s *ConfigProfile) SetName(val string)

SetName sets the value of Name.

func (*ConfigProfile) SetNodes

func (s *ConfigProfile) SetNodes(val []Node)

SetNodes sets the value of Nodes.

func (*ConfigProfile) SetUUID

func (s *ConfigProfile) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*ConfigProfile) SetUpdatedAt

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

SetUpdatedAt sets the value of UpdatedAt.

func (*ConfigProfile) SetViewPosition

func (s *ConfigProfile) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*ConfigProfile) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigProfile) Validate

func (s *ConfigProfile) Validate() error

type ConfigProfileClient

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

ConfigProfileClient provides ConfigProfile operations.

func NewConfigProfileClient

func NewConfigProfileClient(client *Client) *ConfigProfileClient

NewConfigProfileClient creates a new ConfigProfileClient.

func (*ConfigProfileClient) CreateConfigProfile

CreateConfigProfile calls ConfigProfileController_createConfigProfile.

func (*ConfigProfileClient) DeleteConfigProfileByUuid

DeleteConfigProfileByUuid calls ConfigProfileController_deleteConfigProfileByUuid.

func (*ConfigProfileClient) GetAllInbounds

GetAllInbounds calls ConfigProfileController_getAllInbounds.

func (*ConfigProfileClient) GetComputedConfigProfileByUuid

GetComputedConfigProfileByUuid calls ConfigProfileController_getComputedConfigProfileByUuid.

func (*ConfigProfileClient) GetConfigProfileByUuid

GetConfigProfileByUuid calls ConfigProfileController_getConfigProfileByUuid.

func (*ConfigProfileClient) GetConfigProfiles

GetConfigProfiles calls ConfigProfileController_getConfigProfiles.

func (*ConfigProfileClient) GetInboundsByProfileUuid

GetInboundsByProfileUuid calls ConfigProfileController_getInboundsByProfileUuid.

func (*ConfigProfileClient) ReorderConfigProfiles

ReorderConfigProfiles calls ConfigProfileController_reorderConfigProfiles.

func (*ConfigProfileClient) UpdateConfigProfile

UpdateConfigProfile calls ConfigProfileController_updateConfigProfile.

type ConfigProfileControllerCreateConfigProfileConflict

type ConfigProfileControllerCreateConfigProfileConflict struct{}

ConfigProfileControllerCreateConfigProfileConflict is response for ConfigProfileControllerCreateConfigProfile operation.

type ConfigProfileControllerCreateConfigProfileRes

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

type ConfigProfileControllerDeleteConfigProfileByUuidParams

type ConfigProfileControllerDeleteConfigProfileByUuidParams struct {
	UUID string
}

ConfigProfileControllerDeleteConfigProfileByUuidParams is parameters of ConfigProfileController_deleteConfigProfileByUuid operation.

type ConfigProfileControllerDeleteConfigProfileByUuidRes

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

type ConfigProfileControllerGetAllInboundsRes

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

type ConfigProfileControllerGetComputedConfigProfileByUuidParams

type ConfigProfileControllerGetComputedConfigProfileByUuidParams struct {
	UUID string
}

ConfigProfileControllerGetComputedConfigProfileByUuidParams is parameters of ConfigProfileController_getComputedConfigProfileByUuid operation.

type ConfigProfileControllerGetComputedConfigProfileByUuidRes

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

type ConfigProfileControllerGetConfigProfileByUuidParams

type ConfigProfileControllerGetConfigProfileByUuidParams struct {
	UUID string
}

ConfigProfileControllerGetConfigProfileByUuidParams is parameters of ConfigProfileController_getConfigProfileByUuid operation.

type ConfigProfileControllerGetConfigProfileByUuidRes

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

type ConfigProfileControllerGetConfigProfilesRes

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

type ConfigProfileControllerGetInboundsByProfileUuidParams

type ConfigProfileControllerGetInboundsByProfileUuidParams struct {
	UUID string
}

ConfigProfileControllerGetInboundsByProfileUuidParams is parameters of ConfigProfileController_getInboundsByProfileUuid operation.

type ConfigProfileControllerGetInboundsByProfileUuidRes

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

type ConfigProfileControllerReorderConfigProfilesRes

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

type ConfigProfileControllerUpdateConfigProfileConflict

type ConfigProfileControllerUpdateConfigProfileConflict struct{}

ConfigProfileControllerUpdateConfigProfileConflict is response for ConfigProfileControllerUpdateConfigProfile operation.

type ConfigProfileControllerUpdateConfigProfileRes

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

type ConfigProfileItem

type ConfigProfileItem struct {
	ActiveConfigProfileUuid NilUUID   `json:"activeConfigProfileUuid"`
	ActiveInbounds          []Inbound `json:"activeInbounds"`
}

Ref: #/components/schemas/ConfigProfileItem

func (*ConfigProfileItem) Decode

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

Decode decodes ConfigProfileItem from json.

func (*ConfigProfileItem) Encode

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

Encode implements json.Marshaler.

func (*ConfigProfileItem) GetActiveConfigProfileUuid

func (s *ConfigProfileItem) GetActiveConfigProfileUuid() NilUUID

GetActiveConfigProfileUuid returns the value of ActiveConfigProfileUuid.

func (*ConfigProfileItem) GetActiveInbounds

func (s *ConfigProfileItem) GetActiveInbounds() []Inbound

GetActiveInbounds returns the value of ActiveInbounds.

func (*ConfigProfileItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigProfileItem) SetActiveConfigProfileUuid

func (s *ConfigProfileItem) SetActiveConfigProfileUuid(val NilUUID)

SetActiveConfigProfileUuid sets the value of ActiveConfigProfileUuid.

func (*ConfigProfileItem) SetActiveInbounds

func (s *ConfigProfileItem) SetActiveInbounds(val []Inbound)

SetActiveInbounds sets the value of ActiveInbounds.

func (*ConfigProfileItem) SetFake

func (s *ConfigProfileItem) SetFake()

SetFake set fake values.

func (*ConfigProfileItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigProfileItem) Validate

func (s *ConfigProfileItem) Validate() error

type ConfigProfileRef

type ConfigProfileRef struct {
	ActiveConfigProfileUuid uuid.UUID   `json:"activeConfigProfileUuid"`
	ActiveInbounds          []uuid.UUID `json:"activeInbounds"`
}

Ref: #/components/schemas/ConfigProfileRef

func (*ConfigProfileRef) Decode

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

Decode decodes ConfigProfileRef from json.

func (*ConfigProfileRef) Encode

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

Encode implements json.Marshaler.

func (*ConfigProfileRef) GetActiveConfigProfileUuid

func (s *ConfigProfileRef) GetActiveConfigProfileUuid() uuid.UUID

GetActiveConfigProfileUuid returns the value of ActiveConfigProfileUuid.

func (*ConfigProfileRef) GetActiveInbounds

func (s *ConfigProfileRef) GetActiveInbounds() []uuid.UUID

GetActiveInbounds returns the value of ActiveInbounds.

func (*ConfigProfileRef) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigProfileRef) SetActiveConfigProfileUuid

func (s *ConfigProfileRef) SetActiveConfigProfileUuid(val uuid.UUID)

SetActiveConfigProfileUuid sets the value of ActiveConfigProfileUuid.

func (*ConfigProfileRef) SetActiveInbounds

func (s *ConfigProfileRef) SetActiveInbounds(val []uuid.UUID)

SetActiveInbounds sets the value of ActiveInbounds.

func (*ConfigProfileRef) SetFake

func (s *ConfigProfileRef) SetFake()

SetFake set fake values.

func (*ConfigProfileRef) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigProfileRef) Validate

func (s *ConfigProfileRef) Validate() error

type ConfigProfileResponse

type ConfigProfileResponse struct {
	Response ConfigProfile `json:"response"`
}

Ref: #/components/schemas/ConfigProfileResponse

func (*ConfigProfileResponse) Decode

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

Decode decodes ConfigProfileResponse from json.

func (*ConfigProfileResponse) Encode

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

Encode implements json.Marshaler.

func (*ConfigProfileResponse) GetResponse

func (s *ConfigProfileResponse) GetResponse() ConfigProfile

GetResponse returns the value of Response.

func (*ConfigProfileResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigProfileResponse) SetFake

func (s *ConfigProfileResponse) SetFake()

SetFake set fake values.

func (*ConfigProfileResponse) SetResponse

func (s *ConfigProfileResponse) SetResponse(val ConfigProfile)

SetResponse sets the value of Response.

func (*ConfigProfileResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigProfileResponse) Validate

func (s *ConfigProfileResponse) Validate() error

type ConfigProfilesResponse

type ConfigProfilesResponse struct {
	Response ConfigProfilesResponseResponse `json:"response"`
}

Ref: #/components/schemas/ConfigProfilesResponse

func (*ConfigProfilesResponse) Decode

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

Decode decodes ConfigProfilesResponse from json.

func (*ConfigProfilesResponse) Encode

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

Encode implements json.Marshaler.

func (*ConfigProfilesResponse) GetResponse

GetResponse returns the value of Response.

func (*ConfigProfilesResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigProfilesResponse) SetFake

func (s *ConfigProfilesResponse) SetFake()

SetFake set fake values.

func (*ConfigProfilesResponse) SetResponse

SetResponse sets the value of Response.

func (*ConfigProfilesResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigProfilesResponse) Validate

func (s *ConfigProfilesResponse) Validate() error

type ConfigProfilesResponseResponse

type ConfigProfilesResponseResponse struct {
	Total          float64         `json:"total"`
	ConfigProfiles []ConfigProfile `json:"configProfiles"`
}

func (*ConfigProfilesResponseResponse) Decode

Decode decodes ConfigProfilesResponseResponse from json.

func (*ConfigProfilesResponseResponse) Encode

Encode implements json.Marshaler.

func (*ConfigProfilesResponseResponse) GetConfigProfiles

func (s *ConfigProfilesResponseResponse) GetConfigProfiles() []ConfigProfile

GetConfigProfiles returns the value of ConfigProfiles.

func (*ConfigProfilesResponseResponse) GetTotal

GetTotal returns the value of Total.

func (*ConfigProfilesResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigProfilesResponseResponse) SetConfigProfiles

func (s *ConfigProfilesResponseResponse) SetConfigProfiles(val []ConfigProfile)

SetConfigProfiles sets the value of ConfigProfiles.

func (*ConfigProfilesResponseResponse) SetFake

func (s *ConfigProfilesResponseResponse) SetFake()

SetFake set fake values.

func (*ConfigProfilesResponseResponse) SetTotal

func (s *ConfigProfilesResponseResponse) SetTotal(val float64)

SetTotal sets the value of Total.

func (*ConfigProfilesResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigProfilesResponseResponse) Validate

func (s *ConfigProfilesResponseResponse) Validate() error

type CreateApiTokenRequestDto

type CreateApiTokenRequestDto struct {
	TokenName string `json:"tokenName"`
}

Ref: #/components/schemas/CreateApiTokenRequestDto

func (*CreateApiTokenRequestDto) Decode

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

Decode decodes CreateApiTokenRequestDto from json.

func (*CreateApiTokenRequestDto) Encode

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

Encode implements json.Marshaler.

func (*CreateApiTokenRequestDto) GetTokenName

func (s *CreateApiTokenRequestDto) GetTokenName() string

GetTokenName returns the value of TokenName.

func (*CreateApiTokenRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateApiTokenRequestDto) SetFake

func (s *CreateApiTokenRequestDto) SetFake()

SetFake set fake values.

func (*CreateApiTokenRequestDto) SetTokenName

func (s *CreateApiTokenRequestDto) SetTokenName(val string)

SetTokenName sets the value of TokenName.

func (*CreateApiTokenRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateApiTokenResponseDto

type CreateApiTokenResponseDto struct {
	Response CreateApiTokenResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/CreateApiTokenResponseDto

func (*CreateApiTokenResponseDto) Decode

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

Decode decodes CreateApiTokenResponseDto from json.

func (*CreateApiTokenResponseDto) Encode

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

Encode implements json.Marshaler.

func (*CreateApiTokenResponseDto) GetResponse

GetResponse returns the value of Response.

func (*CreateApiTokenResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateApiTokenResponseDto) SetFake

func (s *CreateApiTokenResponseDto) SetFake()

SetFake set fake values.

func (*CreateApiTokenResponseDto) SetResponse

SetResponse sets the value of Response.

func (*CreateApiTokenResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateApiTokenResponseDtoResponse

type CreateApiTokenResponseDtoResponse struct {
	Token string `json:"token"`
	UUID  string `json:"uuid"`
}

func (*CreateApiTokenResponseDtoResponse) Decode

Decode decodes CreateApiTokenResponseDtoResponse from json.

func (*CreateApiTokenResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*CreateApiTokenResponseDtoResponse) GetToken

GetToken returns the value of Token.

func (*CreateApiTokenResponseDtoResponse) GetUUID

GetUUID returns the value of UUID.

func (*CreateApiTokenResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateApiTokenResponseDtoResponse) SetFake

func (s *CreateApiTokenResponseDtoResponse) SetFake()

SetFake set fake values.

func (*CreateApiTokenResponseDtoResponse) SetToken

func (s *CreateApiTokenResponseDtoResponse) SetToken(val string)

SetToken sets the value of Token.

func (*CreateApiTokenResponseDtoResponse) SetUUID

func (s *CreateApiTokenResponseDtoResponse) SetUUID(val string)

SetUUID sets the value of UUID.

func (*CreateApiTokenResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateConfigProfileRequestDto

type CreateConfigProfileRequestDto struct {
	Name   string                              `json:"name"`
	Config CreateConfigProfileRequestDtoConfig `json:"config"`
}

Ref: #/components/schemas/CreateConfigProfileRequestDto

func (*CreateConfigProfileRequestDto) Decode

Decode decodes CreateConfigProfileRequestDto from json.

func (*CreateConfigProfileRequestDto) Encode

Encode implements json.Marshaler.

func (*CreateConfigProfileRequestDto) GetConfig

GetConfig returns the value of Config.

func (*CreateConfigProfileRequestDto) GetName

GetName returns the value of Name.

func (*CreateConfigProfileRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateConfigProfileRequestDto) SetConfig

SetConfig sets the value of Config.

func (*CreateConfigProfileRequestDto) SetFake

func (s *CreateConfigProfileRequestDto) SetFake()

SetFake set fake values.

func (*CreateConfigProfileRequestDto) SetName

func (s *CreateConfigProfileRequestDto) SetName(val string)

SetName sets the value of Name.

func (*CreateConfigProfileRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateConfigProfileRequestDto) Validate

func (s *CreateConfigProfileRequestDto) Validate() error

type CreateConfigProfileRequestDtoConfig

type CreateConfigProfileRequestDtoConfig struct{}

func (*CreateConfigProfileRequestDtoConfig) Decode

Decode decodes CreateConfigProfileRequestDtoConfig from json.

func (*CreateConfigProfileRequestDtoConfig) Encode

Encode implements json.Marshaler.

func (*CreateConfigProfileRequestDtoConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateConfigProfileRequestDtoConfig) SetFake

SetFake set fake values.

func (*CreateConfigProfileRequestDtoConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateHostRequestDto

type CreateHostRequestDto struct {
	Inbound           InboundRef                            `json:"inbound"`
	Remark            string                                `json:"remark"`
	Address           string                                `json:"address"`
	Port              int                                   `json:"port"`
	Path              OptString                             `json:"path"`
	Sni               OptString                             `json:"sni"`
	Host              OptString                             `json:"host"`
	Alpn              OptNilCreateHostRequestDtoAlpn        `json:"alpn"`
	Fingerprint       OptNilCreateHostRequestDtoFingerprint `json:"fingerprint"`
	IsDisabled        OptBool                               `json:"isDisabled"`
	SecurityLayer     OptCreateHostRequestDtoSecurityLayer  `json:"securityLayer"`
	XHttpExtraParams  jx.Raw                                `json:"xHttpExtraParams"`
	MuxParams         jx.Raw                                `json:"muxParams"`
	SockoptParams     jx.Raw                                `json:"sockoptParams"`
	ServerDescription OptNilString                          `json:"serverDescription"`
	// Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores
	// and colons are allowed.
	Tag                    OptNilString `json:"tag"`
	IsHidden               OptBool      `json:"isHidden"`
	OverrideSniFromAddress OptBool      `json:"overrideSniFromAddress"`
	KeepSniBlank           OptBool      `json:"keepSniBlank"`
	AllowInsecure          OptBool      `json:"allowInsecure"`
	VlessRouteId           OptNilInt    `json:"vlessRouteId"`
	ShuffleHost            OptBool      `json:"shuffleHost"`
	MihomoX25519           OptBool      `json:"mihomoX25519"`
	Nodes                  []uuid.UUID  `json:"nodes"`
	XrayJsonTemplateUuid   OptNilUUID   `json:"xrayJsonTemplateUuid"`
	// Optional. Internal squads from which the host will be excluded.
	ExcludedInternalSquads []uuid.UUID `json:"excludedInternalSquads"`
}

Ref: #/components/schemas/CreateHostRequestDto

func (*CreateHostRequestDto) Decode

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

Decode decodes CreateHostRequestDto from json.

func (*CreateHostRequestDto) Encode

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

Encode implements json.Marshaler.

func (*CreateHostRequestDto) GetAddress

func (s *CreateHostRequestDto) GetAddress() string

GetAddress returns the value of Address.

func (*CreateHostRequestDto) GetAllowInsecure

func (s *CreateHostRequestDto) GetAllowInsecure() OptBool

GetAllowInsecure returns the value of AllowInsecure.

func (*CreateHostRequestDto) GetAlpn

GetAlpn returns the value of Alpn.

func (*CreateHostRequestDto) GetExcludedInternalSquads

func (s *CreateHostRequestDto) GetExcludedInternalSquads() []uuid.UUID

GetExcludedInternalSquads returns the value of ExcludedInternalSquads.

func (*CreateHostRequestDto) GetFingerprint

GetFingerprint returns the value of Fingerprint.

func (*CreateHostRequestDto) GetHost

func (s *CreateHostRequestDto) GetHost() OptString

GetHost returns the value of Host.

func (*CreateHostRequestDto) GetInbound

func (s *CreateHostRequestDto) GetInbound() InboundRef

GetInbound returns the value of Inbound.

func (*CreateHostRequestDto) GetIsDisabled

func (s *CreateHostRequestDto) GetIsDisabled() OptBool

GetIsDisabled returns the value of IsDisabled.

func (*CreateHostRequestDto) GetIsHidden

func (s *CreateHostRequestDto) GetIsHidden() OptBool

GetIsHidden returns the value of IsHidden.

func (*CreateHostRequestDto) GetKeepSniBlank

func (s *CreateHostRequestDto) GetKeepSniBlank() OptBool

GetKeepSniBlank returns the value of KeepSniBlank.

func (*CreateHostRequestDto) GetMihomoX25519

func (s *CreateHostRequestDto) GetMihomoX25519() OptBool

GetMihomoX25519 returns the value of MihomoX25519.

func (*CreateHostRequestDto) GetMuxParams

func (s *CreateHostRequestDto) GetMuxParams() jx.Raw

GetMuxParams returns the value of MuxParams.

func (*CreateHostRequestDto) GetNodes

func (s *CreateHostRequestDto) GetNodes() []uuid.UUID

GetNodes returns the value of Nodes.

func (*CreateHostRequestDto) GetOverrideSniFromAddress

func (s *CreateHostRequestDto) GetOverrideSniFromAddress() OptBool

GetOverrideSniFromAddress returns the value of OverrideSniFromAddress.

func (*CreateHostRequestDto) GetPath

func (s *CreateHostRequestDto) GetPath() OptString

GetPath returns the value of Path.

func (*CreateHostRequestDto) GetPort

func (s *CreateHostRequestDto) GetPort() int

GetPort returns the value of Port.

func (*CreateHostRequestDto) GetRemark

func (s *CreateHostRequestDto) GetRemark() string

GetRemark returns the value of Remark.

func (*CreateHostRequestDto) GetSecurityLayer

GetSecurityLayer returns the value of SecurityLayer.

func (*CreateHostRequestDto) GetServerDescription

func (s *CreateHostRequestDto) GetServerDescription() OptNilString

GetServerDescription returns the value of ServerDescription.

func (*CreateHostRequestDto) GetShuffleHost

func (s *CreateHostRequestDto) GetShuffleHost() OptBool

GetShuffleHost returns the value of ShuffleHost.

func (*CreateHostRequestDto) GetSni

func (s *CreateHostRequestDto) GetSni() OptString

GetSni returns the value of Sni.

func (*CreateHostRequestDto) GetSockoptParams

func (s *CreateHostRequestDto) GetSockoptParams() jx.Raw

GetSockoptParams returns the value of SockoptParams.

func (*CreateHostRequestDto) GetTag

func (s *CreateHostRequestDto) GetTag() OptNilString

GetTag returns the value of Tag.

func (*CreateHostRequestDto) GetVlessRouteId

func (s *CreateHostRequestDto) GetVlessRouteId() OptNilInt

GetVlessRouteId returns the value of VlessRouteId.

func (*CreateHostRequestDto) GetXHttpExtraParams

func (s *CreateHostRequestDto) GetXHttpExtraParams() jx.Raw

GetXHttpExtraParams returns the value of XHttpExtraParams.

func (*CreateHostRequestDto) GetXrayJsonTemplateUuid

func (s *CreateHostRequestDto) GetXrayJsonTemplateUuid() OptNilUUID

GetXrayJsonTemplateUuid returns the value of XrayJsonTemplateUuid.

func (*CreateHostRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateHostRequestDto) SetAddress

func (s *CreateHostRequestDto) SetAddress(val string)

SetAddress sets the value of Address.

func (*CreateHostRequestDto) SetAllowInsecure

func (s *CreateHostRequestDto) SetAllowInsecure(val OptBool)

SetAllowInsecure sets the value of AllowInsecure.

func (*CreateHostRequestDto) SetAlpn

SetAlpn sets the value of Alpn.

func (*CreateHostRequestDto) SetExcludedInternalSquads

func (s *CreateHostRequestDto) SetExcludedInternalSquads(val []uuid.UUID)

SetExcludedInternalSquads sets the value of ExcludedInternalSquads.

func (*CreateHostRequestDto) SetFake

func (s *CreateHostRequestDto) SetFake()

SetFake set fake values.

func (*CreateHostRequestDto) SetFingerprint

SetFingerprint sets the value of Fingerprint.

func (*CreateHostRequestDto) SetHost

func (s *CreateHostRequestDto) SetHost(val OptString)

SetHost sets the value of Host.

func (*CreateHostRequestDto) SetInbound

func (s *CreateHostRequestDto) SetInbound(val InboundRef)

SetInbound sets the value of Inbound.

func (*CreateHostRequestDto) SetIsDisabled

func (s *CreateHostRequestDto) SetIsDisabled(val OptBool)

SetIsDisabled sets the value of IsDisabled.

func (*CreateHostRequestDto) SetIsHidden

func (s *CreateHostRequestDto) SetIsHidden(val OptBool)

SetIsHidden sets the value of IsHidden.

func (*CreateHostRequestDto) SetKeepSniBlank

func (s *CreateHostRequestDto) SetKeepSniBlank(val OptBool)

SetKeepSniBlank sets the value of KeepSniBlank.

func (*CreateHostRequestDto) SetMihomoX25519

func (s *CreateHostRequestDto) SetMihomoX25519(val OptBool)

SetMihomoX25519 sets the value of MihomoX25519.

func (*CreateHostRequestDto) SetMuxParams

func (s *CreateHostRequestDto) SetMuxParams(val jx.Raw)

SetMuxParams sets the value of MuxParams.

func (*CreateHostRequestDto) SetNodes

func (s *CreateHostRequestDto) SetNodes(val []uuid.UUID)

SetNodes sets the value of Nodes.

func (*CreateHostRequestDto) SetOverrideSniFromAddress

func (s *CreateHostRequestDto) SetOverrideSniFromAddress(val OptBool)

SetOverrideSniFromAddress sets the value of OverrideSniFromAddress.

func (*CreateHostRequestDto) SetPath

func (s *CreateHostRequestDto) SetPath(val OptString)

SetPath sets the value of Path.

func (*CreateHostRequestDto) SetPort

func (s *CreateHostRequestDto) SetPort(val int)

SetPort sets the value of Port.

func (*CreateHostRequestDto) SetRemark

func (s *CreateHostRequestDto) SetRemark(val string)

SetRemark sets the value of Remark.

func (*CreateHostRequestDto) SetSecurityLayer

SetSecurityLayer sets the value of SecurityLayer.

func (*CreateHostRequestDto) SetServerDescription

func (s *CreateHostRequestDto) SetServerDescription(val OptNilString)

SetServerDescription sets the value of ServerDescription.

func (*CreateHostRequestDto) SetShuffleHost

func (s *CreateHostRequestDto) SetShuffleHost(val OptBool)

SetShuffleHost sets the value of ShuffleHost.

func (*CreateHostRequestDto) SetSni

func (s *CreateHostRequestDto) SetSni(val OptString)

SetSni sets the value of Sni.

func (*CreateHostRequestDto) SetSockoptParams

func (s *CreateHostRequestDto) SetSockoptParams(val jx.Raw)

SetSockoptParams sets the value of SockoptParams.

func (*CreateHostRequestDto) SetTag

func (s *CreateHostRequestDto) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*CreateHostRequestDto) SetVlessRouteId

func (s *CreateHostRequestDto) SetVlessRouteId(val OptNilInt)

SetVlessRouteId sets the value of VlessRouteId.

func (*CreateHostRequestDto) SetXHttpExtraParams

func (s *CreateHostRequestDto) SetXHttpExtraParams(val jx.Raw)

SetXHttpExtraParams sets the value of XHttpExtraParams.

func (*CreateHostRequestDto) SetXrayJsonTemplateUuid

func (s *CreateHostRequestDto) SetXrayJsonTemplateUuid(val OptNilUUID)

SetXrayJsonTemplateUuid sets the value of XrayJsonTemplateUuid.

func (*CreateHostRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateHostRequestDto) Validate

func (s *CreateHostRequestDto) Validate() error

type CreateHostRequestDtoAlpn

type CreateHostRequestDtoAlpn string
const (
	CreateHostRequestDtoAlpnH3         CreateHostRequestDtoAlpn = "h3"
	CreateHostRequestDtoAlpnH2         CreateHostRequestDtoAlpn = "h2"
	CreateHostRequestDtoAlpnHTTP11     CreateHostRequestDtoAlpn = "http/1.1"
	CreateHostRequestDtoAlpnH2HTTP11   CreateHostRequestDtoAlpn = "h2,http/1.1"
	CreateHostRequestDtoAlpnH3H2HTTP11 CreateHostRequestDtoAlpn = "h3,h2,http/1.1"
	CreateHostRequestDtoAlpnH3H2       CreateHostRequestDtoAlpn = "h3,h2"
)

func (CreateHostRequestDtoAlpn) AllValues

AllValues returns all CreateHostRequestDtoAlpn values.

func (*CreateHostRequestDtoAlpn) Decode

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

Decode decodes CreateHostRequestDtoAlpn from json.

func (CreateHostRequestDtoAlpn) Encode

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

Encode encodes CreateHostRequestDtoAlpn as json.

func (CreateHostRequestDtoAlpn) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateHostRequestDtoAlpn) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateHostRequestDtoAlpn) SetFake

func (s *CreateHostRequestDtoAlpn) SetFake()

SetFake set fake values.

func (*CreateHostRequestDtoAlpn) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateHostRequestDtoAlpn) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateHostRequestDtoAlpn) Validate

func (s CreateHostRequestDtoAlpn) Validate() error

type CreateHostRequestDtoFingerprint

type CreateHostRequestDtoFingerprint string
const (
	CreateHostRequestDtoFingerprintChrome     CreateHostRequestDtoFingerprint = "chrome"
	CreateHostRequestDtoFingerprintFirefox    CreateHostRequestDtoFingerprint = "firefox"
	CreateHostRequestDtoFingerprintSafari     CreateHostRequestDtoFingerprint = "safari"
	CreateHostRequestDtoFingerprintIos        CreateHostRequestDtoFingerprint = "ios"
	CreateHostRequestDtoFingerprintAndroid    CreateHostRequestDtoFingerprint = "android"
	CreateHostRequestDtoFingerprintEdge       CreateHostRequestDtoFingerprint = "edge"
	CreateHostRequestDtoFingerprintQq         CreateHostRequestDtoFingerprint = "qq"
	CreateHostRequestDtoFingerprintRandom     CreateHostRequestDtoFingerprint = "random"
	CreateHostRequestDtoFingerprintRandomized CreateHostRequestDtoFingerprint = "randomized"
)

func (CreateHostRequestDtoFingerprint) AllValues

AllValues returns all CreateHostRequestDtoFingerprint values.

func (*CreateHostRequestDtoFingerprint) Decode

Decode decodes CreateHostRequestDtoFingerprint from json.

func (CreateHostRequestDtoFingerprint) Encode

Encode encodes CreateHostRequestDtoFingerprint as json.

func (CreateHostRequestDtoFingerprint) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateHostRequestDtoFingerprint) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateHostRequestDtoFingerprint) SetFake

func (s *CreateHostRequestDtoFingerprint) SetFake()

SetFake set fake values.

func (*CreateHostRequestDtoFingerprint) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateHostRequestDtoFingerprint) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateHostRequestDtoFingerprint) Validate

type CreateHostRequestDtoSecurityLayer

type CreateHostRequestDtoSecurityLayer string
const (
	CreateHostRequestDtoSecurityLayerDEFAULT CreateHostRequestDtoSecurityLayer = "DEFAULT"
	CreateHostRequestDtoSecurityLayerTLS     CreateHostRequestDtoSecurityLayer = "TLS"
	CreateHostRequestDtoSecurityLayerNONE    CreateHostRequestDtoSecurityLayer = "NONE"
)

func (CreateHostRequestDtoSecurityLayer) AllValues

AllValues returns all CreateHostRequestDtoSecurityLayer values.

func (*CreateHostRequestDtoSecurityLayer) Decode

Decode decodes CreateHostRequestDtoSecurityLayer from json.

func (CreateHostRequestDtoSecurityLayer) Encode

Encode encodes CreateHostRequestDtoSecurityLayer as json.

func (CreateHostRequestDtoSecurityLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateHostRequestDtoSecurityLayer) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateHostRequestDtoSecurityLayer) SetFake

func (s *CreateHostRequestDtoSecurityLayer) SetFake()

SetFake set fake values.

func (*CreateHostRequestDtoSecurityLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateHostRequestDtoSecurityLayer) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateHostRequestDtoSecurityLayer) Validate

type CreateInfraBillingHistoryRecordRequestDto

type CreateInfraBillingHistoryRecordRequestDto struct {
	ProviderUuid uuid.UUID `json:"providerUuid"`
	Amount       float64   `json:"amount"`
	// Billing date. Format: 2025-01-17T15:38:45.065Z.
	BilledAt time.Time `json:"billedAt"`
}

Ref: #/components/schemas/CreateInfraBillingHistoryRecordRequestDto

func (*CreateInfraBillingHistoryRecordRequestDto) Decode

Decode decodes CreateInfraBillingHistoryRecordRequestDto from json.

func (*CreateInfraBillingHistoryRecordRequestDto) Encode

Encode implements json.Marshaler.

func (*CreateInfraBillingHistoryRecordRequestDto) GetAmount

GetAmount returns the value of Amount.

func (*CreateInfraBillingHistoryRecordRequestDto) GetBilledAt

GetBilledAt returns the value of BilledAt.

func (*CreateInfraBillingHistoryRecordRequestDto) GetProviderUuid

GetProviderUuid returns the value of ProviderUuid.

func (*CreateInfraBillingHistoryRecordRequestDto) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*CreateInfraBillingHistoryRecordRequestDto) SetAmount

SetAmount sets the value of Amount.

func (*CreateInfraBillingHistoryRecordRequestDto) SetBilledAt

SetBilledAt sets the value of BilledAt.

func (*CreateInfraBillingHistoryRecordRequestDto) SetFake

SetFake set fake values.

func (*CreateInfraBillingHistoryRecordRequestDto) SetProviderUuid

func (s *CreateInfraBillingHistoryRecordRequestDto) SetProviderUuid(val uuid.UUID)

SetProviderUuid sets the value of ProviderUuid.

func (*CreateInfraBillingHistoryRecordRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateInfraBillingHistoryRecordRequestDto) Validate

type CreateInfraBillingNodeRequestDto

type CreateInfraBillingNodeRequestDto struct {
	ProviderUuid uuid.UUID `json:"providerUuid"`
	NodeUuid     uuid.UUID `json:"nodeUuid"`
	// Next billing date. Format: 2025-01-17T15:38:45.065Z.
	NextBillingAt OptDateTime `json:"nextBillingAt"`
}

Ref: #/components/schemas/CreateInfraBillingNodeRequestDto

func (*CreateInfraBillingNodeRequestDto) Decode

Decode decodes CreateInfraBillingNodeRequestDto from json.

func (*CreateInfraBillingNodeRequestDto) Encode

Encode implements json.Marshaler.

func (*CreateInfraBillingNodeRequestDto) GetNextBillingAt

func (s *CreateInfraBillingNodeRequestDto) GetNextBillingAt() OptDateTime

GetNextBillingAt returns the value of NextBillingAt.

func (*CreateInfraBillingNodeRequestDto) GetNodeUuid

func (s *CreateInfraBillingNodeRequestDto) GetNodeUuid() uuid.UUID

GetNodeUuid returns the value of NodeUuid.

func (*CreateInfraBillingNodeRequestDto) GetProviderUuid

func (s *CreateInfraBillingNodeRequestDto) GetProviderUuid() uuid.UUID

GetProviderUuid returns the value of ProviderUuid.

func (*CreateInfraBillingNodeRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateInfraBillingNodeRequestDto) SetFake

func (s *CreateInfraBillingNodeRequestDto) SetFake()

SetFake set fake values.

func (*CreateInfraBillingNodeRequestDto) SetNextBillingAt

func (s *CreateInfraBillingNodeRequestDto) SetNextBillingAt(val OptDateTime)

SetNextBillingAt sets the value of NextBillingAt.

func (*CreateInfraBillingNodeRequestDto) SetNodeUuid

func (s *CreateInfraBillingNodeRequestDto) SetNodeUuid(val uuid.UUID)

SetNodeUuid sets the value of NodeUuid.

func (*CreateInfraBillingNodeRequestDto) SetProviderUuid

func (s *CreateInfraBillingNodeRequestDto) SetProviderUuid(val uuid.UUID)

SetProviderUuid sets the value of ProviderUuid.

func (*CreateInfraBillingNodeRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateInfraProviderRequestDto

type CreateInfraProviderRequestDto struct {
	Name        string `json:"name"`
	FaviconLink OptURI `json:"faviconLink"`
	LoginUrl    OptURI `json:"loginUrl"`
}

Ref: #/components/schemas/CreateInfraProviderRequestDto

func (*CreateInfraProviderRequestDto) Decode

Decode decodes CreateInfraProviderRequestDto from json.

func (*CreateInfraProviderRequestDto) Encode

Encode implements json.Marshaler.

func (s *CreateInfraProviderRequestDto) GetFaviconLink() OptURI

GetFaviconLink returns the value of FaviconLink.

func (*CreateInfraProviderRequestDto) GetLoginUrl

func (s *CreateInfraProviderRequestDto) GetLoginUrl() OptURI

GetLoginUrl returns the value of LoginUrl.

func (*CreateInfraProviderRequestDto) GetName

GetName returns the value of Name.

func (*CreateInfraProviderRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateInfraProviderRequestDto) SetFake

func (s *CreateInfraProviderRequestDto) SetFake()

SetFake set fake values.

func (s *CreateInfraProviderRequestDto) SetFaviconLink(val OptURI)

SetFaviconLink sets the value of FaviconLink.

func (*CreateInfraProviderRequestDto) SetLoginUrl

func (s *CreateInfraProviderRequestDto) SetLoginUrl(val OptURI)

SetLoginUrl sets the value of LoginUrl.

func (*CreateInfraProviderRequestDto) SetName

func (s *CreateInfraProviderRequestDto) SetName(val string)

SetName sets the value of Name.

func (*CreateInfraProviderRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateInfraProviderRequestDto) Validate

func (s *CreateInfraProviderRequestDto) Validate() error

type CreateInternalSquadRequestDto

type CreateInternalSquadRequestDto struct {
	Name     string      `json:"name"`
	Inbounds []uuid.UUID `json:"inbounds"`
}

Ref: #/components/schemas/CreateInternalSquadRequestDto

func (*CreateInternalSquadRequestDto) Decode

Decode decodes CreateInternalSquadRequestDto from json.

func (*CreateInternalSquadRequestDto) Encode

Encode implements json.Marshaler.

func (*CreateInternalSquadRequestDto) GetInbounds

func (s *CreateInternalSquadRequestDto) GetInbounds() []uuid.UUID

GetInbounds returns the value of Inbounds.

func (*CreateInternalSquadRequestDto) GetName

GetName returns the value of Name.

func (*CreateInternalSquadRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateInternalSquadRequestDto) SetFake

func (s *CreateInternalSquadRequestDto) SetFake()

SetFake set fake values.

func (*CreateInternalSquadRequestDto) SetInbounds

func (s *CreateInternalSquadRequestDto) SetInbounds(val []uuid.UUID)

SetInbounds sets the value of Inbounds.

func (*CreateInternalSquadRequestDto) SetName

func (s *CreateInternalSquadRequestDto) SetName(val string)

SetName sets the value of Name.

func (*CreateInternalSquadRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateInternalSquadRequestDto) Validate

func (s *CreateInternalSquadRequestDto) Validate() error

type CreateNodeRequestDto

type CreateNodeRequestDto struct {
	Name                    string           `json:"name"`
	Address                 string           `json:"address"`
	Port                    OptInt           `json:"port"`
	IsTrafficTrackingActive OptBool          `json:"isTrafficTrackingActive"`
	TrafficLimitBytes       OptInt           `json:"trafficLimitBytes"`
	NotifyPercent           OptInt           `json:"notifyPercent"`
	TrafficResetDay         OptInt           `json:"trafficResetDay"`
	CountryCode             OptString        `json:"countryCode"`
	ConsumptionMultiplier   OptFloat64       `json:"consumptionMultiplier"`
	ConfigProfile           ConfigProfileRef `json:"configProfile"`
	ProviderUuid            OptNilUUID       `json:"providerUuid"`
	Tags                    []string         `json:"tags"`
}

Ref: #/components/schemas/CreateNodeRequestDto

func (*CreateNodeRequestDto) Decode

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

Decode decodes CreateNodeRequestDto from json.

func (*CreateNodeRequestDto) Encode

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

Encode implements json.Marshaler.

func (*CreateNodeRequestDto) GetAddress

func (s *CreateNodeRequestDto) GetAddress() string

GetAddress returns the value of Address.

func (*CreateNodeRequestDto) GetConfigProfile

func (s *CreateNodeRequestDto) GetConfigProfile() ConfigProfileRef

GetConfigProfile returns the value of ConfigProfile.

func (*CreateNodeRequestDto) GetConsumptionMultiplier

func (s *CreateNodeRequestDto) GetConsumptionMultiplier() OptFloat64

GetConsumptionMultiplier returns the value of ConsumptionMultiplier.

func (*CreateNodeRequestDto) GetCountryCode

func (s *CreateNodeRequestDto) GetCountryCode() OptString

GetCountryCode returns the value of CountryCode.

func (*CreateNodeRequestDto) GetIsTrafficTrackingActive

func (s *CreateNodeRequestDto) GetIsTrafficTrackingActive() OptBool

GetIsTrafficTrackingActive returns the value of IsTrafficTrackingActive.

func (*CreateNodeRequestDto) GetName

func (s *CreateNodeRequestDto) GetName() string

GetName returns the value of Name.

func (*CreateNodeRequestDto) GetNotifyPercent

func (s *CreateNodeRequestDto) GetNotifyPercent() OptInt

GetNotifyPercent returns the value of NotifyPercent.

func (*CreateNodeRequestDto) GetPort

func (s *CreateNodeRequestDto) GetPort() OptInt

GetPort returns the value of Port.

func (*CreateNodeRequestDto) GetProviderUuid

func (s *CreateNodeRequestDto) GetProviderUuid() OptNilUUID

GetProviderUuid returns the value of ProviderUuid.

func (*CreateNodeRequestDto) GetTags

func (s *CreateNodeRequestDto) GetTags() []string

GetTags returns the value of Tags.

func (*CreateNodeRequestDto) GetTrafficLimitBytes

func (s *CreateNodeRequestDto) GetTrafficLimitBytes() OptInt

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*CreateNodeRequestDto) GetTrafficResetDay

func (s *CreateNodeRequestDto) GetTrafficResetDay() OptInt

GetTrafficResetDay returns the value of TrafficResetDay.

func (*CreateNodeRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateNodeRequestDto) SetAddress

func (s *CreateNodeRequestDto) SetAddress(val string)

SetAddress sets the value of Address.

func (*CreateNodeRequestDto) SetConfigProfile

func (s *CreateNodeRequestDto) SetConfigProfile(val ConfigProfileRef)

SetConfigProfile sets the value of ConfigProfile.

func (*CreateNodeRequestDto) SetConsumptionMultiplier

func (s *CreateNodeRequestDto) SetConsumptionMultiplier(val OptFloat64)

SetConsumptionMultiplier sets the value of ConsumptionMultiplier.

func (*CreateNodeRequestDto) SetCountryCode

func (s *CreateNodeRequestDto) SetCountryCode(val OptString)

SetCountryCode sets the value of CountryCode.

func (*CreateNodeRequestDto) SetFake

func (s *CreateNodeRequestDto) SetFake()

SetFake set fake values.

func (*CreateNodeRequestDto) SetIsTrafficTrackingActive

func (s *CreateNodeRequestDto) SetIsTrafficTrackingActive(val OptBool)

SetIsTrafficTrackingActive sets the value of IsTrafficTrackingActive.

func (*CreateNodeRequestDto) SetName

func (s *CreateNodeRequestDto) SetName(val string)

SetName sets the value of Name.

func (*CreateNodeRequestDto) SetNotifyPercent

func (s *CreateNodeRequestDto) SetNotifyPercent(val OptInt)

SetNotifyPercent sets the value of NotifyPercent.

func (*CreateNodeRequestDto) SetPort

func (s *CreateNodeRequestDto) SetPort(val OptInt)

SetPort sets the value of Port.

func (*CreateNodeRequestDto) SetProviderUuid

func (s *CreateNodeRequestDto) SetProviderUuid(val OptNilUUID)

SetProviderUuid sets the value of ProviderUuid.

func (*CreateNodeRequestDto) SetTags

func (s *CreateNodeRequestDto) SetTags(val []string)

SetTags sets the value of Tags.

func (*CreateNodeRequestDto) SetTrafficLimitBytes

func (s *CreateNodeRequestDto) SetTrafficLimitBytes(val OptInt)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*CreateNodeRequestDto) SetTrafficResetDay

func (s *CreateNodeRequestDto) SetTrafficResetDay(val OptInt)

SetTrafficResetDay sets the value of TrafficResetDay.

func (*CreateNodeRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateNodeRequestDto) Validate

func (s *CreateNodeRequestDto) Validate() error

type CreateSubscriptionPageConfigResponseDto

type CreateSubscriptionPageConfigResponseDto struct {
	Response Config `json:"response"`
}

Ref: #/components/schemas/CreateSubscriptionPageConfigResponseDto

func (*CreateSubscriptionPageConfigResponseDto) Decode

Decode decodes CreateSubscriptionPageConfigResponseDto from json.

func (*CreateSubscriptionPageConfigResponseDto) Encode

Encode implements json.Marshaler.

func (*CreateSubscriptionPageConfigResponseDto) GetResponse

GetResponse returns the value of Response.

func (*CreateSubscriptionPageConfigResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateSubscriptionPageConfigResponseDto) SetFake

SetFake set fake values.

func (*CreateSubscriptionPageConfigResponseDto) SetResponse

func (s *CreateSubscriptionPageConfigResponseDto) SetResponse(val Config)

SetResponse sets the value of Response.

func (*CreateSubscriptionPageConfigResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateSubscriptionTemplateRequestDto

type CreateSubscriptionTemplateRequestDto struct {
	Name         string                                           `json:"name"`
	TemplateType CreateSubscriptionTemplateRequestDtoTemplateType `json:"templateType"`
}

Ref: #/components/schemas/CreateSubscriptionTemplateRequestDto

func (*CreateSubscriptionTemplateRequestDto) Decode

Decode decodes CreateSubscriptionTemplateRequestDto from json.

func (*CreateSubscriptionTemplateRequestDto) Encode

Encode implements json.Marshaler.

func (*CreateSubscriptionTemplateRequestDto) GetName

GetName returns the value of Name.

func (*CreateSubscriptionTemplateRequestDto) GetTemplateType

GetTemplateType returns the value of TemplateType.

func (*CreateSubscriptionTemplateRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateSubscriptionTemplateRequestDto) SetFake

SetFake set fake values.

func (*CreateSubscriptionTemplateRequestDto) SetName

SetName sets the value of Name.

func (*CreateSubscriptionTemplateRequestDto) SetTemplateType

SetTemplateType sets the value of TemplateType.

func (*CreateSubscriptionTemplateRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateSubscriptionTemplateRequestDto) Validate

type CreateSubscriptionTemplateRequestDtoTemplateType

type CreateSubscriptionTemplateRequestDtoTemplateType string
const (
	CreateSubscriptionTemplateRequestDtoTemplateTypeXRAYJSON   CreateSubscriptionTemplateRequestDtoTemplateType = "XRAY_JSON"
	CreateSubscriptionTemplateRequestDtoTemplateTypeXRAYBASE64 CreateSubscriptionTemplateRequestDtoTemplateType = "XRAY_BASE64"
	CreateSubscriptionTemplateRequestDtoTemplateTypeMIHOMO     CreateSubscriptionTemplateRequestDtoTemplateType = "MIHOMO"
	CreateSubscriptionTemplateRequestDtoTemplateTypeSTASH      CreateSubscriptionTemplateRequestDtoTemplateType = "STASH"
	CreateSubscriptionTemplateRequestDtoTemplateTypeCLASH      CreateSubscriptionTemplateRequestDtoTemplateType = "CLASH"
	CreateSubscriptionTemplateRequestDtoTemplateTypeSINGBOX    CreateSubscriptionTemplateRequestDtoTemplateType = "SINGBOX"
)

func (CreateSubscriptionTemplateRequestDtoTemplateType) AllValues

AllValues returns all CreateSubscriptionTemplateRequestDtoTemplateType values.

func (*CreateSubscriptionTemplateRequestDtoTemplateType) Decode

Decode decodes CreateSubscriptionTemplateRequestDtoTemplateType from json.

func (CreateSubscriptionTemplateRequestDtoTemplateType) Encode

Encode encodes CreateSubscriptionTemplateRequestDtoTemplateType as json.

func (CreateSubscriptionTemplateRequestDtoTemplateType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CreateSubscriptionTemplateRequestDtoTemplateType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CreateSubscriptionTemplateRequestDtoTemplateType) SetFake

SetFake set fake values.

func (*CreateSubscriptionTemplateRequestDtoTemplateType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateSubscriptionTemplateRequestDtoTemplateType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateSubscriptionTemplateRequestDtoTemplateType) Validate

type CreateUserHwidDeviceRequestDto

type CreateUserHwidDeviceRequestDto struct {
	Hwid        string    `json:"hwid"`
	UserUuid    uuid.UUID `json:"userUuid"`
	Platform    OptString `json:"platform"`
	OsVersion   OptString `json:"osVersion"`
	DeviceModel OptString `json:"deviceModel"`
	UserAgent   OptString `json:"userAgent"`
}

Ref: #/components/schemas/CreateUserHwidDeviceRequestDto

func (*CreateUserHwidDeviceRequestDto) Decode

Decode decodes CreateUserHwidDeviceRequestDto from json.

func (*CreateUserHwidDeviceRequestDto) Encode

Encode implements json.Marshaler.

func (*CreateUserHwidDeviceRequestDto) GetDeviceModel

func (s *CreateUserHwidDeviceRequestDto) GetDeviceModel() OptString

GetDeviceModel returns the value of DeviceModel.

func (*CreateUserHwidDeviceRequestDto) GetHwid

GetHwid returns the value of Hwid.

func (*CreateUserHwidDeviceRequestDto) GetOsVersion

func (s *CreateUserHwidDeviceRequestDto) GetOsVersion() OptString

GetOsVersion returns the value of OsVersion.

func (*CreateUserHwidDeviceRequestDto) GetPlatform

func (s *CreateUserHwidDeviceRequestDto) GetPlatform() OptString

GetPlatform returns the value of Platform.

func (*CreateUserHwidDeviceRequestDto) GetUserAgent

func (s *CreateUserHwidDeviceRequestDto) GetUserAgent() OptString

GetUserAgent returns the value of UserAgent.

func (*CreateUserHwidDeviceRequestDto) GetUserUuid

func (s *CreateUserHwidDeviceRequestDto) GetUserUuid() uuid.UUID

GetUserUuid returns the value of UserUuid.

func (*CreateUserHwidDeviceRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateUserHwidDeviceRequestDto) SetDeviceModel

func (s *CreateUserHwidDeviceRequestDto) SetDeviceModel(val OptString)

SetDeviceModel sets the value of DeviceModel.

func (*CreateUserHwidDeviceRequestDto) SetFake

func (s *CreateUserHwidDeviceRequestDto) SetFake()

SetFake set fake values.

func (*CreateUserHwidDeviceRequestDto) SetHwid

func (s *CreateUserHwidDeviceRequestDto) SetHwid(val string)

SetHwid sets the value of Hwid.

func (*CreateUserHwidDeviceRequestDto) SetOsVersion

func (s *CreateUserHwidDeviceRequestDto) SetOsVersion(val OptString)

SetOsVersion sets the value of OsVersion.

func (*CreateUserHwidDeviceRequestDto) SetPlatform

func (s *CreateUserHwidDeviceRequestDto) SetPlatform(val OptString)

SetPlatform sets the value of Platform.

func (*CreateUserHwidDeviceRequestDto) SetUserAgent

func (s *CreateUserHwidDeviceRequestDto) SetUserAgent(val OptString)

SetUserAgent sets the value of UserAgent.

func (*CreateUserHwidDeviceRequestDto) SetUserUuid

func (s *CreateUserHwidDeviceRequestDto) SetUserUuid(val uuid.UUID)

SetUserUuid sets the value of UserUuid.

func (*CreateUserHwidDeviceRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateUserRequestDto

type CreateUserRequestDto struct {
	// Unique username for the user. Required. Must be 3-36 characters long and contain only letters,
	// numbers, underscores and dashes.
	Username string `json:"username"`
	// Optional. User account status. Defaults to ACTIVE.
	Status OptCreateUserRequestDtoStatus `json:"status"`
	// Optional. Short UUID identifier for the user.
	ShortUuid OptString `json:"shortUuid"`
	// Optional. Password for Trojan protocol. Must be 8-32 characters.
	TrojanPassword OptString `json:"trojanPassword"`
	// Optional. UUID for VLESS protocol. Must be a valid UUID format.
	VlessUuid OptUUID `json:"vlessUuid"`
	// Optional. Password for Shadowsocks protocol. Must be 8-32 characters.
	SsPassword OptString `json:"ssPassword"`
	// Optional. Traffic limit in bytes. Set to 0 for unlimited traffic.
	TrafficLimitBytes OptInt `json:"trafficLimitBytes"`
	// Available reset periods.
	TrafficLimitStrategy OptCreateUserRequestDtoTrafficLimitStrategy `json:"trafficLimitStrategy"`
	// Account expiration date. Required. Format: 2025-01-17T15:38:45.065Z.
	ExpireAt time.Time `json:"expireAt"`
	// Optional. Account creation date. Format: 2025-01-17T15:38:45.065Z.
	CreatedAt OptDateTime `json:"createdAt"`
	// Optional. Date of last traffic reset. Format: 2025-01-17T15:38:45.065Z.
	LastTrafficResetAt OptDateTime `json:"lastTrafficResetAt"`
	// Optional. Additional notes or description for the user account.
	Description OptString `json:"description"`
	// Optional. User tag for categorization. Max 16 characters, uppercase letters, numbers and
	// underscores only.
	Tag OptNilString `json:"tag"`
	// Optional. Telegram user ID for notifications. Must be an integer.
	TelegramId OptNilInt `json:"telegramId"`
	// Optional. User email address. Must be a valid email format.
	Email OptNilString `json:"email"`
	// Optional. Maximum number of hardware devices allowed. Must be a positive integer.
	HwidDeviceLimit OptInt `json:"hwidDeviceLimit"`
	// Optional. Array of UUIDs representing enabled internal squads.
	ActiveInternalSquads []uuid.UUID `json:"activeInternalSquads"`
	// Optional. Pass UUID to create user with specific UUID, otherwise it will be generated
	// automatically.
	UUID OptUUID `json:"uuid"`
	// Optional. External squad UUID.
	ExternalSquadUuid OptNilUUID `json:"externalSquadUuid"`
}

Ref: #/components/schemas/CreateUserRequestDto

func (*CreateUserRequestDto) Decode

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

Decode decodes CreateUserRequestDto from json.

func (*CreateUserRequestDto) Encode

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

Encode implements json.Marshaler.

func (*CreateUserRequestDto) GetActiveInternalSquads

func (s *CreateUserRequestDto) GetActiveInternalSquads() []uuid.UUID

GetActiveInternalSquads returns the value of ActiveInternalSquads.

func (*CreateUserRequestDto) GetCreatedAt

func (s *CreateUserRequestDto) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*CreateUserRequestDto) GetDescription

func (s *CreateUserRequestDto) GetDescription() OptString

GetDescription returns the value of Description.

func (*CreateUserRequestDto) GetEmail

func (s *CreateUserRequestDto) GetEmail() OptNilString

GetEmail returns the value of Email.

func (*CreateUserRequestDto) GetExpireAt

func (s *CreateUserRequestDto) GetExpireAt() time.Time

GetExpireAt returns the value of ExpireAt.

func (*CreateUserRequestDto) GetExternalSquadUuid

func (s *CreateUserRequestDto) GetExternalSquadUuid() OptNilUUID

GetExternalSquadUuid returns the value of ExternalSquadUuid.

func (*CreateUserRequestDto) GetHwidDeviceLimit

func (s *CreateUserRequestDto) GetHwidDeviceLimit() OptInt

GetHwidDeviceLimit returns the value of HwidDeviceLimit.

func (*CreateUserRequestDto) GetLastTrafficResetAt

func (s *CreateUserRequestDto) GetLastTrafficResetAt() OptDateTime

GetLastTrafficResetAt returns the value of LastTrafficResetAt.

func (*CreateUserRequestDto) GetShortUuid

func (s *CreateUserRequestDto) GetShortUuid() OptString

GetShortUuid returns the value of ShortUuid.

func (*CreateUserRequestDto) GetSsPassword

func (s *CreateUserRequestDto) GetSsPassword() OptString

GetSsPassword returns the value of SsPassword.

func (*CreateUserRequestDto) GetStatus

GetStatus returns the value of Status.

func (*CreateUserRequestDto) GetTag

func (s *CreateUserRequestDto) GetTag() OptNilString

GetTag returns the value of Tag.

func (*CreateUserRequestDto) GetTelegramId

func (s *CreateUserRequestDto) GetTelegramId() OptNilInt

GetTelegramId returns the value of TelegramId.

func (*CreateUserRequestDto) GetTrafficLimitBytes

func (s *CreateUserRequestDto) GetTrafficLimitBytes() OptInt

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*CreateUserRequestDto) GetTrafficLimitStrategy

GetTrafficLimitStrategy returns the value of TrafficLimitStrategy.

func (*CreateUserRequestDto) GetTrojanPassword

func (s *CreateUserRequestDto) GetTrojanPassword() OptString

GetTrojanPassword returns the value of TrojanPassword.

func (*CreateUserRequestDto) GetUUID

func (s *CreateUserRequestDto) GetUUID() OptUUID

GetUUID returns the value of UUID.

func (*CreateUserRequestDto) GetUsername

func (s *CreateUserRequestDto) GetUsername() string

GetUsername returns the value of Username.

func (*CreateUserRequestDto) GetVlessUuid

func (s *CreateUserRequestDto) GetVlessUuid() OptUUID

GetVlessUuid returns the value of VlessUuid.

func (*CreateUserRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateUserRequestDto) SetActiveInternalSquads

func (s *CreateUserRequestDto) SetActiveInternalSquads(val []uuid.UUID)

SetActiveInternalSquads sets the value of ActiveInternalSquads.

func (*CreateUserRequestDto) SetCreatedAt

func (s *CreateUserRequestDto) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*CreateUserRequestDto) SetDescription

func (s *CreateUserRequestDto) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*CreateUserRequestDto) SetEmail

func (s *CreateUserRequestDto) SetEmail(val OptNilString)

SetEmail sets the value of Email.

func (*CreateUserRequestDto) SetExpireAt

func (s *CreateUserRequestDto) SetExpireAt(val time.Time)

SetExpireAt sets the value of ExpireAt.

func (*CreateUserRequestDto) SetExternalSquadUuid

func (s *CreateUserRequestDto) SetExternalSquadUuid(val OptNilUUID)

SetExternalSquadUuid sets the value of ExternalSquadUuid.

func (*CreateUserRequestDto) SetFake

func (s *CreateUserRequestDto) SetFake()

SetFake set fake values.

func (*CreateUserRequestDto) SetHwidDeviceLimit

func (s *CreateUserRequestDto) SetHwidDeviceLimit(val OptInt)

SetHwidDeviceLimit sets the value of HwidDeviceLimit.

func (*CreateUserRequestDto) SetLastTrafficResetAt

func (s *CreateUserRequestDto) SetLastTrafficResetAt(val OptDateTime)

SetLastTrafficResetAt sets the value of LastTrafficResetAt.

func (*CreateUserRequestDto) SetShortUuid

func (s *CreateUserRequestDto) SetShortUuid(val OptString)

SetShortUuid sets the value of ShortUuid.

func (*CreateUserRequestDto) SetSsPassword

func (s *CreateUserRequestDto) SetSsPassword(val OptString)

SetSsPassword sets the value of SsPassword.

func (*CreateUserRequestDto) SetStatus

SetStatus sets the value of Status.

func (*CreateUserRequestDto) SetTag

func (s *CreateUserRequestDto) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*CreateUserRequestDto) SetTelegramId

func (s *CreateUserRequestDto) SetTelegramId(val OptNilInt)

SetTelegramId sets the value of TelegramId.

func (*CreateUserRequestDto) SetTrafficLimitBytes

func (s *CreateUserRequestDto) SetTrafficLimitBytes(val OptInt)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*CreateUserRequestDto) SetTrafficLimitStrategy

func (s *CreateUserRequestDto) SetTrafficLimitStrategy(val OptCreateUserRequestDtoTrafficLimitStrategy)

SetTrafficLimitStrategy sets the value of TrafficLimitStrategy.

func (*CreateUserRequestDto) SetTrojanPassword

func (s *CreateUserRequestDto) SetTrojanPassword(val OptString)

SetTrojanPassword sets the value of TrojanPassword.

func (*CreateUserRequestDto) SetUUID

func (s *CreateUserRequestDto) SetUUID(val OptUUID)

SetUUID sets the value of UUID.

func (*CreateUserRequestDto) SetUsername

func (s *CreateUserRequestDto) SetUsername(val string)

SetUsername sets the value of Username.

func (*CreateUserRequestDto) SetVlessUuid

func (s *CreateUserRequestDto) SetVlessUuid(val OptUUID)

SetVlessUuid sets the value of VlessUuid.

func (*CreateUserRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateUserRequestDto) Validate

func (s *CreateUserRequestDto) Validate() error

type CreateUserRequestDtoStatus

type CreateUserRequestDtoStatus string

Optional. User account status. Defaults to ACTIVE.

const (
	CreateUserRequestDtoStatusACTIVE   CreateUserRequestDtoStatus = "ACTIVE"
	CreateUserRequestDtoStatusDISABLED CreateUserRequestDtoStatus = "DISABLED"
	CreateUserRequestDtoStatusLIMITED  CreateUserRequestDtoStatus = "LIMITED"
	CreateUserRequestDtoStatusEXPIRED  CreateUserRequestDtoStatus = "EXPIRED"
)

func (CreateUserRequestDtoStatus) AllValues

AllValues returns all CreateUserRequestDtoStatus values.

func (*CreateUserRequestDtoStatus) Decode

Decode decodes CreateUserRequestDtoStatus from json.

func (CreateUserRequestDtoStatus) Encode

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

Encode encodes CreateUserRequestDtoStatus as json.

func (CreateUserRequestDtoStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateUserRequestDtoStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateUserRequestDtoStatus) SetFake

func (s *CreateUserRequestDtoStatus) SetFake()

SetFake set fake values.

func (*CreateUserRequestDtoStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateUserRequestDtoStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateUserRequestDtoStatus) Validate

func (s CreateUserRequestDtoStatus) Validate() error

type CreateUserRequestDtoTrafficLimitStrategy

type CreateUserRequestDtoTrafficLimitStrategy string

Available reset periods.

const (
	CreateUserRequestDtoTrafficLimitStrategyNORESET CreateUserRequestDtoTrafficLimitStrategy = "NO_RESET"
	CreateUserRequestDtoTrafficLimitStrategyDAY     CreateUserRequestDtoTrafficLimitStrategy = "DAY"
	CreateUserRequestDtoTrafficLimitStrategyWEEK    CreateUserRequestDtoTrafficLimitStrategy = "WEEK"
	CreateUserRequestDtoTrafficLimitStrategyMONTH   CreateUserRequestDtoTrafficLimitStrategy = "MONTH"
)

func (CreateUserRequestDtoTrafficLimitStrategy) AllValues

AllValues returns all CreateUserRequestDtoTrafficLimitStrategy values.

func (*CreateUserRequestDtoTrafficLimitStrategy) Decode

Decode decodes CreateUserRequestDtoTrafficLimitStrategy from json.

func (CreateUserRequestDtoTrafficLimitStrategy) Encode

Encode encodes CreateUserRequestDtoTrafficLimitStrategy as json.

func (CreateUserRequestDtoTrafficLimitStrategy) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CreateUserRequestDtoTrafficLimitStrategy) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CreateUserRequestDtoTrafficLimitStrategy) SetFake

SetFake set fake values.

func (*CreateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateUserRequestDtoTrafficLimitStrategy) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateUserRequestDtoTrafficLimitStrategy) Validate

type CustomRemark

type CustomRemark struct {
	ExpiredUsers        []string `json:"expiredUsers"`
	LimitedUsers        []string `json:"limitedUsers"`
	DisabledUsers       []string `json:"disabledUsers"`
	EmptyHosts          []string `json:"emptyHosts"`
	EmptyInternalSquads []string `json:"emptyInternalSquads"`
}

Ref: #/components/schemas/CustomRemark

func (*CustomRemark) Decode

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

Decode decodes CustomRemark from json.

func (*CustomRemark) Encode

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

Encode implements json.Marshaler.

func (*CustomRemark) GetDisabledUsers

func (s *CustomRemark) GetDisabledUsers() []string

GetDisabledUsers returns the value of DisabledUsers.

func (*CustomRemark) GetEmptyHosts

func (s *CustomRemark) GetEmptyHosts() []string

GetEmptyHosts returns the value of EmptyHosts.

func (*CustomRemark) GetEmptyInternalSquads

func (s *CustomRemark) GetEmptyInternalSquads() []string

GetEmptyInternalSquads returns the value of EmptyInternalSquads.

func (*CustomRemark) GetExpiredUsers

func (s *CustomRemark) GetExpiredUsers() []string

GetExpiredUsers returns the value of ExpiredUsers.

func (*CustomRemark) GetLimitedUsers

func (s *CustomRemark) GetLimitedUsers() []string

GetLimitedUsers returns the value of LimitedUsers.

func (*CustomRemark) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CustomRemark) SetDisabledUsers

func (s *CustomRemark) SetDisabledUsers(val []string)

SetDisabledUsers sets the value of DisabledUsers.

func (*CustomRemark) SetEmptyHosts

func (s *CustomRemark) SetEmptyHosts(val []string)

SetEmptyHosts sets the value of EmptyHosts.

func (*CustomRemark) SetEmptyInternalSquads

func (s *CustomRemark) SetEmptyInternalSquads(val []string)

SetEmptyInternalSquads sets the value of EmptyInternalSquads.

func (*CustomRemark) SetExpiredUsers

func (s *CustomRemark) SetExpiredUsers(val []string)

SetExpiredUsers sets the value of ExpiredUsers.

func (*CustomRemark) SetFake

func (s *CustomRemark) SetFake()

SetFake set fake values.

func (*CustomRemark) SetLimitedUsers

func (s *CustomRemark) SetLimitedUsers(val []string)

SetLimitedUsers sets the value of LimitedUsers.

func (*CustomRemark) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CustomRemark) Validate

func (s *CustomRemark) Validate() error

type DebugSrrMatcherRequestDto

type DebugSrrMatcherRequestDto struct {
	ResponseRules ResponseRules `json:"responseRules"`
}

Ref: #/components/schemas/DebugSrrMatcherRequestDto

func (*DebugSrrMatcherRequestDto) Decode

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

Decode decodes DebugSrrMatcherRequestDto from json.

func (*DebugSrrMatcherRequestDto) Encode

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

Encode implements json.Marshaler.

func (*DebugSrrMatcherRequestDto) GetResponseRules

func (s *DebugSrrMatcherRequestDto) GetResponseRules() ResponseRules

GetResponseRules returns the value of ResponseRules.

func (*DebugSrrMatcherRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DebugSrrMatcherRequestDto) SetFake

func (s *DebugSrrMatcherRequestDto) SetFake()

SetFake set fake values.

func (*DebugSrrMatcherRequestDto) SetResponseRules

func (s *DebugSrrMatcherRequestDto) SetResponseRules(val ResponseRules)

SetResponseRules sets the value of ResponseRules.

func (*DebugSrrMatcherRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DebugSrrMatcherRequestDto) Validate

func (s *DebugSrrMatcherRequestDto) Validate() error

type DebugSrrMatcherResponseDto

type DebugSrrMatcherResponseDto struct {
	Response DebugSrrMatcherResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/DebugSrrMatcherResponseDto

func (*DebugSrrMatcherResponseDto) Decode

Decode decodes DebugSrrMatcherResponseDto from json.

func (*DebugSrrMatcherResponseDto) Encode

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

Encode implements json.Marshaler.

func (*DebugSrrMatcherResponseDto) GetResponse

GetResponse returns the value of Response.

func (*DebugSrrMatcherResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DebugSrrMatcherResponseDto) SetFake

func (s *DebugSrrMatcherResponseDto) SetFake()

SetFake set fake values.

func (*DebugSrrMatcherResponseDto) SetResponse

SetResponse sets the value of Response.

func (*DebugSrrMatcherResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DebugSrrMatcherResponseDto) Validate

func (s *DebugSrrMatcherResponseDto) Validate() error

type DebugSrrMatcherResponseDtoResponse

type DebugSrrMatcherResponseDtoResponse struct {
	Matched       bool                                            `json:"matched"`
	ResponseType  DebugSrrMatcherResponseDtoResponseResponseType  `json:"responseType"`
	MatchedRule   Rule                                            `json:"matchedRule"`
	InputHeaders  DebugSrrMatcherResponseDtoResponseInputHeaders  `json:"inputHeaders"`
	OutputHeaders DebugSrrMatcherResponseDtoResponseOutputHeaders `json:"outputHeaders"`
}

func (*DebugSrrMatcherResponseDtoResponse) Decode

Decode decodes DebugSrrMatcherResponseDtoResponse from json.

func (*DebugSrrMatcherResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*DebugSrrMatcherResponseDtoResponse) GetInputHeaders

GetInputHeaders returns the value of InputHeaders.

func (*DebugSrrMatcherResponseDtoResponse) GetMatched

func (s *DebugSrrMatcherResponseDtoResponse) GetMatched() bool

GetMatched returns the value of Matched.

func (*DebugSrrMatcherResponseDtoResponse) GetMatchedRule

func (s *DebugSrrMatcherResponseDtoResponse) GetMatchedRule() Rule

GetMatchedRule returns the value of MatchedRule.

func (*DebugSrrMatcherResponseDtoResponse) GetOutputHeaders

GetOutputHeaders returns the value of OutputHeaders.

func (*DebugSrrMatcherResponseDtoResponse) GetResponseType

GetResponseType returns the value of ResponseType.

func (*DebugSrrMatcherResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DebugSrrMatcherResponseDtoResponse) SetFake

SetFake set fake values.

func (*DebugSrrMatcherResponseDtoResponse) SetInputHeaders

SetInputHeaders sets the value of InputHeaders.

func (*DebugSrrMatcherResponseDtoResponse) SetMatched

func (s *DebugSrrMatcherResponseDtoResponse) SetMatched(val bool)

SetMatched sets the value of Matched.

func (*DebugSrrMatcherResponseDtoResponse) SetMatchedRule

func (s *DebugSrrMatcherResponseDtoResponse) SetMatchedRule(val Rule)

SetMatchedRule sets the value of MatchedRule.

func (*DebugSrrMatcherResponseDtoResponse) SetOutputHeaders

SetOutputHeaders sets the value of OutputHeaders.

func (*DebugSrrMatcherResponseDtoResponse) SetResponseType

SetResponseType sets the value of ResponseType.

func (*DebugSrrMatcherResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DebugSrrMatcherResponseDtoResponse) Validate

type DebugSrrMatcherResponseDtoResponseInputHeaders

type DebugSrrMatcherResponseDtoResponseInputHeaders map[string]string

func (*DebugSrrMatcherResponseDtoResponseInputHeaders) Decode

Decode decodes DebugSrrMatcherResponseDtoResponseInputHeaders from json.

func (DebugSrrMatcherResponseDtoResponseInputHeaders) Encode

Encode implements json.Marshaler.

func (DebugSrrMatcherResponseDtoResponseInputHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DebugSrrMatcherResponseDtoResponseInputHeaders) SetFake

SetFake set fake values.

func (*DebugSrrMatcherResponseDtoResponseInputHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type DebugSrrMatcherResponseDtoResponseOutputHeaders

type DebugSrrMatcherResponseDtoResponseOutputHeaders map[string]string

func (*DebugSrrMatcherResponseDtoResponseOutputHeaders) Decode

Decode decodes DebugSrrMatcherResponseDtoResponseOutputHeaders from json.

func (DebugSrrMatcherResponseDtoResponseOutputHeaders) Encode

Encode implements json.Marshaler.

func (DebugSrrMatcherResponseDtoResponseOutputHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DebugSrrMatcherResponseDtoResponseOutputHeaders) SetFake

SetFake set fake values.

func (*DebugSrrMatcherResponseDtoResponseOutputHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type DebugSrrMatcherResponseDtoResponseResponseType

type DebugSrrMatcherResponseDtoResponseResponseType string
const (
	DebugSrrMatcherResponseDtoResponseResponseTypeXRAYJSON      DebugSrrMatcherResponseDtoResponseResponseType = "XRAY_JSON"
	DebugSrrMatcherResponseDtoResponseResponseTypeXRAYBASE64    DebugSrrMatcherResponseDtoResponseResponseType = "XRAY_BASE64"
	DebugSrrMatcherResponseDtoResponseResponseTypeMIHOMO        DebugSrrMatcherResponseDtoResponseResponseType = "MIHOMO"
	DebugSrrMatcherResponseDtoResponseResponseTypeSTASH         DebugSrrMatcherResponseDtoResponseResponseType = "STASH"
	DebugSrrMatcherResponseDtoResponseResponseTypeCLASH         DebugSrrMatcherResponseDtoResponseResponseType = "CLASH"
	DebugSrrMatcherResponseDtoResponseResponseTypeSINGBOX       DebugSrrMatcherResponseDtoResponseResponseType = "SINGBOX"
	DebugSrrMatcherResponseDtoResponseResponseTypeBROWSER       DebugSrrMatcherResponseDtoResponseResponseType = "BROWSER"
	DebugSrrMatcherResponseDtoResponseResponseTypeBLOCK         DebugSrrMatcherResponseDtoResponseResponseType = "BLOCK"
	DebugSrrMatcherResponseDtoResponseResponseTypeSTATUSCODE404 DebugSrrMatcherResponseDtoResponseResponseType = "STATUS_CODE_404"
	DebugSrrMatcherResponseDtoResponseResponseTypeSTATUSCODE451 DebugSrrMatcherResponseDtoResponseResponseType = "STATUS_CODE_451"
	DebugSrrMatcherResponseDtoResponseResponseTypeSOCKETDROP    DebugSrrMatcherResponseDtoResponseResponseType = "SOCKET_DROP"
)

func (DebugSrrMatcherResponseDtoResponseResponseType) AllValues

AllValues returns all DebugSrrMatcherResponseDtoResponseResponseType values.

func (*DebugSrrMatcherResponseDtoResponseResponseType) Decode

Decode decodes DebugSrrMatcherResponseDtoResponseResponseType from json.

func (DebugSrrMatcherResponseDtoResponseResponseType) Encode

Encode encodes DebugSrrMatcherResponseDtoResponseResponseType as json.

func (DebugSrrMatcherResponseDtoResponseResponseType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (DebugSrrMatcherResponseDtoResponseResponseType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*DebugSrrMatcherResponseDtoResponseResponseType) SetFake

SetFake set fake values.

func (*DebugSrrMatcherResponseDtoResponseResponseType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DebugSrrMatcherResponseDtoResponseResponseType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (DebugSrrMatcherResponseDtoResponseResponseType) Validate

type DeleteAllUserHwidDevicesRequestDto

type DeleteAllUserHwidDevicesRequestDto struct {
	UserUuid uuid.UUID `json:"userUuid"`
}

Ref: #/components/schemas/DeleteAllUserHwidDevicesRequestDto

func (*DeleteAllUserHwidDevicesRequestDto) Decode

Decode decodes DeleteAllUserHwidDevicesRequestDto from json.

func (*DeleteAllUserHwidDevicesRequestDto) Encode

Encode implements json.Marshaler.

func (*DeleteAllUserHwidDevicesRequestDto) GetUserUuid

func (s *DeleteAllUserHwidDevicesRequestDto) GetUserUuid() uuid.UUID

GetUserUuid returns the value of UserUuid.

func (*DeleteAllUserHwidDevicesRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAllUserHwidDevicesRequestDto) SetFake

SetFake set fake values.

func (*DeleteAllUserHwidDevicesRequestDto) SetUserUuid

func (s *DeleteAllUserHwidDevicesRequestDto) SetUserUuid(val uuid.UUID)

SetUserUuid sets the value of UserUuid.

func (*DeleteAllUserHwidDevicesRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteApiTokenResponseDto

type DeleteApiTokenResponseDto struct {
	Response bool `json:"response"`
}

Ref: #/components/schemas/DeleteApiTokenResponseDto

func (*DeleteApiTokenResponseDto) Decode

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

Decode decodes DeleteApiTokenResponseDto from json.

func (*DeleteApiTokenResponseDto) Encode

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

Encode implements json.Marshaler.

func (*DeleteApiTokenResponseDto) GetResponse

func (s *DeleteApiTokenResponseDto) GetResponse() bool

GetResponse returns the value of Response.

func (*DeleteApiTokenResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteApiTokenResponseDto) SetFake

func (s *DeleteApiTokenResponseDto) SetFake()

SetFake set fake values.

func (*DeleteApiTokenResponseDto) SetResponse

func (s *DeleteApiTokenResponseDto) SetResponse(val bool)

SetResponse sets the value of Response.

func (*DeleteApiTokenResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeletePasskeyRequestDto

type DeletePasskeyRequestDto struct {
	ID string `json:"id"`
}

Ref: #/components/schemas/DeletePasskeyRequestDto

func (*DeletePasskeyRequestDto) Decode

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

Decode decodes DeletePasskeyRequestDto from json.

func (*DeletePasskeyRequestDto) Encode

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

Encode implements json.Marshaler.

func (*DeletePasskeyRequestDto) GetID

func (s *DeletePasskeyRequestDto) GetID() string

GetID returns the value of ID.

func (*DeletePasskeyRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeletePasskeyRequestDto) SetFake

func (s *DeletePasskeyRequestDto) SetFake()

SetFake set fake values.

func (*DeletePasskeyRequestDto) SetID

func (s *DeletePasskeyRequestDto) SetID(val string)

SetID sets the value of ID.

func (*DeletePasskeyRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteResponse

type DeleteResponse struct {
	Response DeleteResponseResponse `json:"response"`
}

Ref: #/components/schemas/DeleteResponse

func (*DeleteResponse) Decode

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

Decode decodes DeleteResponse from json.

func (*DeleteResponse) Encode

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

Encode implements json.Marshaler.

func (*DeleteResponse) GetResponse

func (s *DeleteResponse) GetResponse() DeleteResponseResponse

GetResponse returns the value of Response.

func (*DeleteResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteResponse) SetFake

func (s *DeleteResponse) SetFake()

SetFake set fake values.

func (*DeleteResponse) SetResponse

func (s *DeleteResponse) SetResponse(val DeleteResponseResponse)

SetResponse sets the value of Response.

func (*DeleteResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteResponseResponse

type DeleteResponseResponse struct {
	IsDeleted bool `json:"isDeleted"`
}

func (*DeleteResponseResponse) Decode

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

Decode decodes DeleteResponseResponse from json.

func (*DeleteResponseResponse) Encode

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

Encode implements json.Marshaler.

func (*DeleteResponseResponse) GetIsDeleted

func (s *DeleteResponseResponse) GetIsDeleted() bool

GetIsDeleted returns the value of IsDeleted.

func (*DeleteResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteResponseResponse) SetFake

func (s *DeleteResponseResponse) SetFake()

SetFake set fake values.

func (*DeleteResponseResponse) SetIsDeleted

func (s *DeleteResponseResponse) SetIsDeleted(val bool)

SetIsDeleted sets the value of IsDeleted.

func (*DeleteResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteSnippetRequestDto

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

Ref: #/components/schemas/DeleteSnippetRequestDto

func (*DeleteSnippetRequestDto) Decode

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

Decode decodes DeleteSnippetRequestDto from json.

func (*DeleteSnippetRequestDto) Encode

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

Encode implements json.Marshaler.

func (*DeleteSnippetRequestDto) GetName

func (s *DeleteSnippetRequestDto) GetName() string

GetName returns the value of Name.

func (*DeleteSnippetRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteSnippetRequestDto) SetFake

func (s *DeleteSnippetRequestDto) SetFake()

SetFake set fake values.

func (*DeleteSnippetRequestDto) SetName

func (s *DeleteSnippetRequestDto) SetName(val string)

SetName sets the value of Name.

func (*DeleteSnippetRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteSnippetRequestDto) Validate

func (s *DeleteSnippetRequestDto) Validate() error

type DeleteUserHwidDeviceRequestDto

type DeleteUserHwidDeviceRequestDto struct {
	UserUuid uuid.UUID `json:"userUuid"`
	Hwid     string    `json:"hwid"`
}

Ref: #/components/schemas/DeleteUserHwidDeviceRequestDto

func (*DeleteUserHwidDeviceRequestDto) Decode

Decode decodes DeleteUserHwidDeviceRequestDto from json.

func (*DeleteUserHwidDeviceRequestDto) Encode

Encode implements json.Marshaler.

func (*DeleteUserHwidDeviceRequestDto) GetHwid

GetHwid returns the value of Hwid.

func (*DeleteUserHwidDeviceRequestDto) GetUserUuid

func (s *DeleteUserHwidDeviceRequestDto) GetUserUuid() uuid.UUID

GetUserUuid returns the value of UserUuid.

func (*DeleteUserHwidDeviceRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteUserHwidDeviceRequestDto) SetFake

func (s *DeleteUserHwidDeviceRequestDto) SetFake()

SetFake set fake values.

func (*DeleteUserHwidDeviceRequestDto) SetHwid

func (s *DeleteUserHwidDeviceRequestDto) SetHwid(val string)

SetHwid sets the value of Hwid.

func (*DeleteUserHwidDeviceRequestDto) SetUserUuid

func (s *DeleteUserHwidDeviceRequestDto) SetUserUuid(val uuid.UUID)

SetUserUuid sets the value of UserUuid.

func (*DeleteUserHwidDeviceRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Device

type Device struct {
	Hwid        string    `json:"hwid"`
	UserUuid    uuid.UUID `json:"userUuid"`
	Platform    NilString `json:"platform"`
	OsVersion   NilString `json:"osVersion"`
	DeviceModel NilString `json:"deviceModel"`
	UserAgent   NilString `json:"userAgent"`
	CreatedAt   time.Time `json:"createdAt"`
	UpdatedAt   time.Time `json:"updatedAt"`
}

Ref: #/components/schemas/Device

func (*Device) Decode

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

Decode decodes Device from json.

func (*Device) Encode

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

Encode implements json.Marshaler.

func (*Device) GetCreatedAt

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

GetCreatedAt returns the value of CreatedAt.

func (*Device) GetDeviceModel

func (s *Device) GetDeviceModel() NilString

GetDeviceModel returns the value of DeviceModel.

func (*Device) GetHwid

func (s *Device) GetHwid() string

GetHwid returns the value of Hwid.

func (*Device) GetOsVersion

func (s *Device) GetOsVersion() NilString

GetOsVersion returns the value of OsVersion.

func (*Device) GetPlatform

func (s *Device) GetPlatform() NilString

GetPlatform returns the value of Platform.

func (*Device) GetUpdatedAt

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

GetUpdatedAt returns the value of UpdatedAt.

func (*Device) GetUserAgent

func (s *Device) GetUserAgent() NilString

GetUserAgent returns the value of UserAgent.

func (*Device) GetUserUuid

func (s *Device) GetUserUuid() uuid.UUID

GetUserUuid returns the value of UserUuid.

func (*Device) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Device) SetCreatedAt

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

SetCreatedAt sets the value of CreatedAt.

func (*Device) SetDeviceModel

func (s *Device) SetDeviceModel(val NilString)

SetDeviceModel sets the value of DeviceModel.

func (*Device) SetFake

func (s *Device) SetFake()

SetFake set fake values.

func (*Device) SetHwid

func (s *Device) SetHwid(val string)

SetHwid sets the value of Hwid.

func (*Device) SetOsVersion

func (s *Device) SetOsVersion(val NilString)

SetOsVersion sets the value of OsVersion.

func (*Device) SetPlatform

func (s *Device) SetPlatform(val NilString)

SetPlatform sets the value of Platform.

func (*Device) SetUpdatedAt

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

SetUpdatedAt sets the value of UpdatedAt.

func (*Device) SetUserAgent

func (s *Device) SetUserAgent(val NilString)

SetUserAgent sets the value of UserAgent.

func (*Device) SetUserUuid

func (s *Device) SetUserUuid(val uuid.UUID)

SetUserUuid sets the value of UserUuid.

func (*Device) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EncryptHappCryptoLinkRequestDto

type EncryptHappCryptoLinkRequestDto struct {
	LinkToEncrypt url.URL `json:"linkToEncrypt"`
}

Ref: #/components/schemas/EncryptHappCryptoLinkRequestDto

func (*EncryptHappCryptoLinkRequestDto) Decode

Decode decodes EncryptHappCryptoLinkRequestDto from json.

func (*EncryptHappCryptoLinkRequestDto) Encode

Encode implements json.Marshaler.

func (*EncryptHappCryptoLinkRequestDto) GetLinkToEncrypt

func (s *EncryptHappCryptoLinkRequestDto) GetLinkToEncrypt() url.URL

GetLinkToEncrypt returns the value of LinkToEncrypt.

func (*EncryptHappCryptoLinkRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EncryptHappCryptoLinkRequestDto) SetFake

func (s *EncryptHappCryptoLinkRequestDto) SetFake()

SetFake set fake values.

func (*EncryptHappCryptoLinkRequestDto) SetLinkToEncrypt

func (s *EncryptHappCryptoLinkRequestDto) SetLinkToEncrypt(val url.URL)

SetLinkToEncrypt sets the value of LinkToEncrypt.

func (*EncryptHappCryptoLinkRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EncryptHappCryptoLinkResponseDto

type EncryptHappCryptoLinkResponseDto struct {
	Response EncryptHappCryptoLinkResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/EncryptHappCryptoLinkResponseDto

func (*EncryptHappCryptoLinkResponseDto) Decode

Decode decodes EncryptHappCryptoLinkResponseDto from json.

func (*EncryptHappCryptoLinkResponseDto) Encode

Encode implements json.Marshaler.

func (*EncryptHappCryptoLinkResponseDto) GetResponse

GetResponse returns the value of Response.

func (*EncryptHappCryptoLinkResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EncryptHappCryptoLinkResponseDto) SetFake

func (s *EncryptHappCryptoLinkResponseDto) SetFake()

SetFake set fake values.

func (*EncryptHappCryptoLinkResponseDto) SetResponse

SetResponse sets the value of Response.

func (*EncryptHappCryptoLinkResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EncryptHappCryptoLinkResponseDtoResponse

type EncryptHappCryptoLinkResponseDtoResponse struct {
	EncryptedLink string `json:"encryptedLink"`
}

func (*EncryptHappCryptoLinkResponseDtoResponse) Decode

Decode decodes EncryptHappCryptoLinkResponseDtoResponse from json.

func (*EncryptHappCryptoLinkResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (s *EncryptHappCryptoLinkResponseDtoResponse) GetEncryptedLink() string

GetEncryptedLink returns the value of EncryptedLink.

func (*EncryptHappCryptoLinkResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (s *EncryptHappCryptoLinkResponseDtoResponse) SetEncryptedLink(val string)

SetEncryptedLink sets the value of EncryptedLink.

func (*EncryptHappCryptoLinkResponseDtoResponse) SetFake

SetFake set fake values.

func (*EncryptHappCryptoLinkResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EventResponse

type EventResponse struct {
	Response EventResponseResponse `json:"response"`
}

Ref: #/components/schemas/EventResponse

func (*EventResponse) Decode

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

Decode decodes EventResponse from json.

func (*EventResponse) Encode

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

Encode implements json.Marshaler.

func (*EventResponse) GetResponse

func (s *EventResponse) GetResponse() EventResponseResponse

GetResponse returns the value of Response.

func (*EventResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EventResponse) SetFake

func (s *EventResponse) SetFake()

SetFake set fake values.

func (*EventResponse) SetResponse

func (s *EventResponse) SetResponse(val EventResponseResponse)

SetResponse sets the value of Response.

func (*EventResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EventResponseResponse

type EventResponseResponse struct {
	EventSent bool `json:"eventSent"`
}

func (*EventResponseResponse) Decode

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

Decode decodes EventResponseResponse from json.

func (*EventResponseResponse) Encode

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

Encode implements json.Marshaler.

func (*EventResponseResponse) GetEventSent

func (s *EventResponseResponse) GetEventSent() bool

GetEventSent returns the value of EventSent.

func (*EventResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EventResponseResponse) SetEventSent

func (s *EventResponseResponse) SetEventSent(val bool)

SetEventSent sets the value of EventSent.

func (*EventResponseResponse) SetFake

func (s *EventResponseResponse) SetFake()

SetFake set fake values.

func (*EventResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ExternalSquad

type ExternalSquad struct {
	UUID                 uuid.UUID                       `json:"uuid"`
	ViewPosition         int                             `json:"viewPosition"`
	Name                 string                          `json:"name"`
	Info                 ExternalSquadsResponInfoItem    `json:"info"`
	Templates            []TemplateRef                   `json:"templates"`
	SubscriptionSettings NilSubscriptionSettings         `json:"subscriptionSettings"`
	HostOverrides        NilHostOverride                 `json:"hostOverrides"`
	ResponseHeaders      NilExternalSquadResponseHeaders `json:"responseHeaders"`
	HwidSettings         NilHwidSettings                 `json:"hwidSettings"`
	CustomRemarks        NilCustomRemark                 `json:"customRemarks"`
	SubpageConfigUuid    NilUUID                         `json:"subpageConfigUuid"`
	CreatedAt            time.Time                       `json:"createdAt"`
	UpdatedAt            time.Time                       `json:"updatedAt"`
}

Ref: #/components/schemas/ExternalSquad

func (*ExternalSquad) Decode

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

Decode decodes ExternalSquad from json.

func (*ExternalSquad) Encode

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

Encode implements json.Marshaler.

func (*ExternalSquad) GetCreatedAt

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

GetCreatedAt returns the value of CreatedAt.

func (*ExternalSquad) GetCustomRemarks

func (s *ExternalSquad) GetCustomRemarks() NilCustomRemark

GetCustomRemarks returns the value of CustomRemarks.

func (*ExternalSquad) GetHostOverrides

func (s *ExternalSquad) GetHostOverrides() NilHostOverride

GetHostOverrides returns the value of HostOverrides.

func (*ExternalSquad) GetHwidSettings

func (s *ExternalSquad) GetHwidSettings() NilHwidSettings

GetHwidSettings returns the value of HwidSettings.

func (*ExternalSquad) GetInfo

GetInfo returns the value of Info.

func (*ExternalSquad) GetName

func (s *ExternalSquad) GetName() string

GetName returns the value of Name.

func (*ExternalSquad) GetResponseHeaders

func (s *ExternalSquad) GetResponseHeaders() NilExternalSquadResponseHeaders

GetResponseHeaders returns the value of ResponseHeaders.

func (*ExternalSquad) GetSubpageConfigUuid

func (s *ExternalSquad) GetSubpageConfigUuid() NilUUID

GetSubpageConfigUuid returns the value of SubpageConfigUuid.

func (*ExternalSquad) GetSubscriptionSettings

func (s *ExternalSquad) GetSubscriptionSettings() NilSubscriptionSettings

GetSubscriptionSettings returns the value of SubscriptionSettings.

func (*ExternalSquad) GetTemplates

func (s *ExternalSquad) GetTemplates() []TemplateRef

GetTemplates returns the value of Templates.

func (*ExternalSquad) GetUUID

func (s *ExternalSquad) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*ExternalSquad) GetUpdatedAt

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

GetUpdatedAt returns the value of UpdatedAt.

func (*ExternalSquad) GetViewPosition

func (s *ExternalSquad) GetViewPosition() int

GetViewPosition returns the value of ViewPosition.

func (*ExternalSquad) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalSquad) SetCreatedAt

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

SetCreatedAt sets the value of CreatedAt.

func (*ExternalSquad) SetCustomRemarks

func (s *ExternalSquad) SetCustomRemarks(val NilCustomRemark)

SetCustomRemarks sets the value of CustomRemarks.

func (*ExternalSquad) SetFake

func (s *ExternalSquad) SetFake()

SetFake set fake values.

func (*ExternalSquad) SetHostOverrides

func (s *ExternalSquad) SetHostOverrides(val NilHostOverride)

SetHostOverrides sets the value of HostOverrides.

func (*ExternalSquad) SetHwidSettings

func (s *ExternalSquad) SetHwidSettings(val NilHwidSettings)

SetHwidSettings sets the value of HwidSettings.

func (*ExternalSquad) SetInfo

SetInfo sets the value of Info.

func (*ExternalSquad) SetName

func (s *ExternalSquad) SetName(val string)

SetName sets the value of Name.

func (*ExternalSquad) SetResponseHeaders

func (s *ExternalSquad) SetResponseHeaders(val NilExternalSquadResponseHeaders)

SetResponseHeaders sets the value of ResponseHeaders.

func (*ExternalSquad) SetSubpageConfigUuid

func (s *ExternalSquad) SetSubpageConfigUuid(val NilUUID)

SetSubpageConfigUuid sets the value of SubpageConfigUuid.

func (*ExternalSquad) SetSubscriptionSettings

func (s *ExternalSquad) SetSubscriptionSettings(val NilSubscriptionSettings)

SetSubscriptionSettings sets the value of SubscriptionSettings.

func (*ExternalSquad) SetTemplates

func (s *ExternalSquad) SetTemplates(val []TemplateRef)

SetTemplates sets the value of Templates.

func (*ExternalSquad) SetUUID

func (s *ExternalSquad) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*ExternalSquad) SetUpdatedAt

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

SetUpdatedAt sets the value of UpdatedAt.

func (*ExternalSquad) SetViewPosition

func (s *ExternalSquad) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*ExternalSquad) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExternalSquad) Validate

func (s *ExternalSquad) Validate() error

type ExternalSquadClient

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

ExternalSquadClient provides ExternalSquad operations.

func NewExternalSquadClient

func NewExternalSquadClient(client *Client) *ExternalSquadClient

NewExternalSquadClient creates a new ExternalSquadClient.

func (*ExternalSquadClient) AddUsersToExternalSquad

AddUsersToExternalSquad calls ExternalSquadController_addUsersToExternalSquad.

func (*ExternalSquadClient) CreateExternalSquad

CreateExternalSquad calls ExternalSquadController_createExternalSquad.

func (*ExternalSquadClient) DeleteExternalSquad

DeleteExternalSquad calls ExternalSquadController_deleteExternalSquad.

func (*ExternalSquadClient) GetExternalSquadByUuid

GetExternalSquadByUuid calls ExternalSquadController_getExternalSquadByUuid.

func (*ExternalSquadClient) GetExternalSquads

GetExternalSquads calls ExternalSquadController_getExternalSquads.

func (*ExternalSquadClient) RemoveUsersFromExternalSquad

RemoveUsersFromExternalSquad calls ExternalSquadController_removeUsersFromExternalSquad.

func (*ExternalSquadClient) ReorderExternalSquads

ReorderExternalSquads calls ExternalSquadController_reorderExternalSquads.

func (*ExternalSquadClient) UpdateExternalSquad

UpdateExternalSquad calls ExternalSquadController_updateExternalSquad.

type ExternalSquadControllerAddUsersToExternalSquadParams

type ExternalSquadControllerAddUsersToExternalSquadParams struct {
	UUID string
}

ExternalSquadControllerAddUsersToExternalSquadParams is parameters of ExternalSquadController_addUsersToExternalSquad operation.

type ExternalSquadControllerAddUsersToExternalSquadRes

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

type ExternalSquadControllerCreateExternalSquadConflict

type ExternalSquadControllerCreateExternalSquadConflict struct{}

ExternalSquadControllerCreateExternalSquadConflict is response for ExternalSquadControllerCreateExternalSquad operation.

type ExternalSquadControllerCreateExternalSquadRes

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

type ExternalSquadControllerDeleteExternalSquadParams

type ExternalSquadControllerDeleteExternalSquadParams struct {
	UUID string
}

ExternalSquadControllerDeleteExternalSquadParams is parameters of ExternalSquadController_deleteExternalSquad operation.

type ExternalSquadControllerDeleteExternalSquadRes

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

type ExternalSquadControllerGetExternalSquadByUuidParams

type ExternalSquadControllerGetExternalSquadByUuidParams struct {
	UUID string
}

ExternalSquadControllerGetExternalSquadByUuidParams is parameters of ExternalSquadController_getExternalSquadByUuid operation.

type ExternalSquadControllerGetExternalSquadByUuidRes

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

type ExternalSquadControllerGetExternalSquadsRes

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

type ExternalSquadControllerRemoveUsersFromExternalSquadParams

type ExternalSquadControllerRemoveUsersFromExternalSquadParams struct {
	UUID string
}

ExternalSquadControllerRemoveUsersFromExternalSquadParams is parameters of ExternalSquadController_removeUsersFromExternalSquad operation.

type ExternalSquadControllerRemoveUsersFromExternalSquadRes

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

type ExternalSquadControllerReorderExternalSquadsRes

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

type ExternalSquadControllerUpdateExternalSquadConflict

type ExternalSquadControllerUpdateExternalSquadConflict struct{}

ExternalSquadControllerUpdateExternalSquadConflict is response for ExternalSquadControllerUpdateExternalSquad operation.

type ExternalSquadControllerUpdateExternalSquadRes

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

type ExternalSquadRequestRequest

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

Ref: #/components/schemas/ExternalSquadRequestRequest

func (*ExternalSquadRequestRequest) Decode

Decode decodes ExternalSquadRequestRequest from json.

func (*ExternalSquadRequestRequest) Encode

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

Encode implements json.Marshaler.

func (*ExternalSquadRequestRequest) GetName

func (s *ExternalSquadRequestRequest) GetName() string

GetName returns the value of Name.

func (*ExternalSquadRequestRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalSquadRequestRequest) SetFake

func (s *ExternalSquadRequestRequest) SetFake()

SetFake set fake values.

func (*ExternalSquadRequestRequest) SetName

func (s *ExternalSquadRequestRequest) SetName(val string)

SetName sets the value of Name.

func (*ExternalSquadRequestRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExternalSquadRequestRequest) Validate

func (s *ExternalSquadRequestRequest) Validate() error

type ExternalSquadResponseHeaders

type ExternalSquadResponseHeaders map[string]string

func (*ExternalSquadResponseHeaders) Decode

Decode decodes ExternalSquadResponseHeaders from json.

func (ExternalSquadResponseHeaders) Encode

Encode implements json.Marshaler.

func (ExternalSquadResponseHeaders) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalSquadResponseHeaders) SetFake

func (s *ExternalSquadResponseHeaders) SetFake()

SetFake set fake values.

func (*ExternalSquadResponseHeaders) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ExternalSquadResponseResponse

type ExternalSquadResponseResponse struct {
	Response ExternalSquad `json:"response"`
}

Ref: #/components/schemas/ExternalSquadResponseResponse

func (*ExternalSquadResponseResponse) Decode

Decode decodes ExternalSquadResponseResponse from json.

func (*ExternalSquadResponseResponse) Encode

Encode implements json.Marshaler.

func (*ExternalSquadResponseResponse) GetResponse

GetResponse returns the value of Response.

func (*ExternalSquadResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalSquadResponseResponse) SetFake

func (s *ExternalSquadResponseResponse) SetFake()

SetFake set fake values.

func (*ExternalSquadResponseResponse) SetResponse

func (s *ExternalSquadResponseResponse) SetResponse(val ExternalSquad)

SetResponse sets the value of Response.

func (*ExternalSquadResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExternalSquadResponseResponse) Validate

func (s *ExternalSquadResponseResponse) Validate() error

type ExternalSquadsResponInfoItem

type ExternalSquadsResponInfoItem struct {
	MembersCount float64 `json:"membersCount"`
}

Ref: #/components/schemas/ExternalSquadsResponInfoItem

func (*ExternalSquadsResponInfoItem) Decode

Decode decodes ExternalSquadsResponInfoItem from json.

func (*ExternalSquadsResponInfoItem) Encode

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

Encode implements json.Marshaler.

func (*ExternalSquadsResponInfoItem) GetMembersCount

func (s *ExternalSquadsResponInfoItem) GetMembersCount() float64

GetMembersCount returns the value of MembersCount.

func (*ExternalSquadsResponInfoItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalSquadsResponInfoItem) SetFake

func (s *ExternalSquadsResponInfoItem) SetFake()

SetFake set fake values.

func (*ExternalSquadsResponInfoItem) SetMembersCount

func (s *ExternalSquadsResponInfoItem) SetMembersCount(val float64)

SetMembersCount sets the value of MembersCount.

func (*ExternalSquadsResponInfoItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExternalSquadsResponInfoItem) Validate

func (s *ExternalSquadsResponInfoItem) Validate() error

type ExternalSquadsResponse

type ExternalSquadsResponse struct {
	Response ExternalSquadsResponseResponse `json:"response"`
}

Ref: #/components/schemas/ExternalSquadsResponse

func (*ExternalSquadsResponse) Decode

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

Decode decodes ExternalSquadsResponse from json.

func (*ExternalSquadsResponse) Encode

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

Encode implements json.Marshaler.

func (*ExternalSquadsResponse) GetResponse

GetResponse returns the value of Response.

func (*ExternalSquadsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalSquadsResponse) SetFake

func (s *ExternalSquadsResponse) SetFake()

SetFake set fake values.

func (*ExternalSquadsResponse) SetResponse

SetResponse sets the value of Response.

func (*ExternalSquadsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExternalSquadsResponse) Validate

func (s *ExternalSquadsResponse) Validate() error

type ExternalSquadsResponseResponse

type ExternalSquadsResponseResponse struct {
	Total          float64         `json:"total"`
	ExternalSquads []ExternalSquad `json:"externalSquads"`
}

func (*ExternalSquadsResponseResponse) Decode

Decode decodes ExternalSquadsResponseResponse from json.

func (*ExternalSquadsResponseResponse) Encode

Encode implements json.Marshaler.

func (*ExternalSquadsResponseResponse) GetExternalSquads

func (s *ExternalSquadsResponseResponse) GetExternalSquads() []ExternalSquad

GetExternalSquads returns the value of ExternalSquads.

func (*ExternalSquadsResponseResponse) GetTotal

GetTotal returns the value of Total.

func (*ExternalSquadsResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalSquadsResponseResponse) SetExternalSquads

func (s *ExternalSquadsResponseResponse) SetExternalSquads(val []ExternalSquad)

SetExternalSquads sets the value of ExternalSquads.

func (*ExternalSquadsResponseResponse) SetFake

func (s *ExternalSquadsResponseResponse) SetFake()

SetFake set fake values.

func (*ExternalSquadsResponseResponse) SetTotal

func (s *ExternalSquadsResponseResponse) SetTotal(val float64)

SetTotal sets the value of Total.

func (*ExternalSquadsResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExternalSquadsResponseResponse) Validate

func (s *ExternalSquadsResponseResponse) Validate() error

type FindAllApiTokensResponseDto

type FindAllApiTokensResponseDto struct {
	Response FindAllApiTokensResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/FindAllApiTokensResponseDto

func (*FindAllApiTokensResponseDto) Decode

Decode decodes FindAllApiTokensResponseDto from json.

func (*FindAllApiTokensResponseDto) Encode

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

Encode implements json.Marshaler.

func (*FindAllApiTokensResponseDto) GetResponse

GetResponse returns the value of Response.

func (*FindAllApiTokensResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FindAllApiTokensResponseDto) SetFake

func (s *FindAllApiTokensResponseDto) SetFake()

SetFake set fake values.

func (*FindAllApiTokensResponseDto) SetResponse

SetResponse sets the value of Response.

func (*FindAllApiTokensResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FindAllApiTokensResponseDto) Validate

func (s *FindAllApiTokensResponseDto) Validate() error

type FindAllApiTokensResponseDtoResponse

type FindAllApiTokensResponseDtoResponse struct {
	ApiKeys []FindAllApiTokensResponseDtoResponseApiKeysItem `json:"apiKeys"`
	Docs    FindAllApiTokensResponseDtoResponseDocs          `json:"docs"`
}

func (*FindAllApiTokensResponseDtoResponse) Decode

Decode decodes FindAllApiTokensResponseDtoResponse from json.

func (*FindAllApiTokensResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*FindAllApiTokensResponseDtoResponse) GetApiKeys

GetApiKeys returns the value of ApiKeys.

func (*FindAllApiTokensResponseDtoResponse) GetDocs

GetDocs returns the value of Docs.

func (*FindAllApiTokensResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FindAllApiTokensResponseDtoResponse) SetApiKeys

SetApiKeys sets the value of ApiKeys.

func (*FindAllApiTokensResponseDtoResponse) SetDocs

SetDocs sets the value of Docs.

func (*FindAllApiTokensResponseDtoResponse) SetFake

SetFake set fake values.

func (*FindAllApiTokensResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FindAllApiTokensResponseDtoResponse) Validate

type FindAllApiTokensResponseDtoResponseApiKeysItem

type FindAllApiTokensResponseDtoResponseApiKeysItem struct {
	UUID      uuid.UUID `json:"uuid"`
	Token     string    `json:"token"`
	TokenName string    `json:"tokenName"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
}

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) Decode

Decode decodes FindAllApiTokensResponseDtoResponseApiKeysItem from json.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) Encode

Encode implements json.Marshaler.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetCreatedAt

GetCreatedAt returns the value of CreatedAt.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetToken

GetToken returns the value of Token.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetTokenName

GetTokenName returns the value of TokenName.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetUUID

GetUUID returns the value of UUID.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetUpdatedAt

GetUpdatedAt returns the value of UpdatedAt.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetCreatedAt

SetCreatedAt sets the value of CreatedAt.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetFake

SetFake set fake values.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetToken

SetToken sets the value of Token.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetTokenName

SetTokenName sets the value of TokenName.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetUUID

SetUUID sets the value of UUID.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetUpdatedAt

SetUpdatedAt sets the value of UpdatedAt.

func (*FindAllApiTokensResponseDtoResponseApiKeysItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type FindAllApiTokensResponseDtoResponseDocs

type FindAllApiTokensResponseDtoResponseDocs struct {
	IsDocsEnabled bool      `json:"isDocsEnabled"`
	ScalarPath    NilString `json:"scalarPath"`
	SwaggerPath   NilString `json:"swaggerPath"`
}

func (*FindAllApiTokensResponseDtoResponseDocs) Decode

Decode decodes FindAllApiTokensResponseDtoResponseDocs from json.

func (*FindAllApiTokensResponseDtoResponseDocs) Encode

Encode implements json.Marshaler.

func (*FindAllApiTokensResponseDtoResponseDocs) GetIsDocsEnabled

func (s *FindAllApiTokensResponseDtoResponseDocs) GetIsDocsEnabled() bool

GetIsDocsEnabled returns the value of IsDocsEnabled.

func (*FindAllApiTokensResponseDtoResponseDocs) GetScalarPath

GetScalarPath returns the value of ScalarPath.

func (*FindAllApiTokensResponseDtoResponseDocs) GetSwaggerPath

GetSwaggerPath returns the value of SwaggerPath.

func (*FindAllApiTokensResponseDtoResponseDocs) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FindAllApiTokensResponseDtoResponseDocs) SetFake

SetFake set fake values.

func (*FindAllApiTokensResponseDtoResponseDocs) SetIsDocsEnabled

func (s *FindAllApiTokensResponseDtoResponseDocs) SetIsDocsEnabled(val bool)

SetIsDocsEnabled sets the value of IsDocsEnabled.

func (*FindAllApiTokensResponseDtoResponseDocs) SetScalarPath

func (s *FindAllApiTokensResponseDtoResponseDocs) SetScalarPath(val NilString)

SetScalarPath sets the value of ScalarPath.

func (*FindAllApiTokensResponseDtoResponseDocs) SetSwaggerPath

func (s *FindAllApiTokensResponseDtoResponseDocs) SetSwaggerPath(val NilString)

SetSwaggerPath sets the value of SwaggerPath.

func (*FindAllApiTokensResponseDtoResponseDocs) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ForbiddenError

type ForbiddenError struct {
	Message    string  `json:"message"`
	StatusCode float64 `json:"statusCode"`
}

Ref: #/components/schemas/ForbiddenError

func (*ForbiddenError) Decode

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

Decode decodes ForbiddenError from json.

func (*ForbiddenError) Encode

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

Encode implements json.Marshaler.

func (*ForbiddenError) GetMessage

func (s *ForbiddenError) GetMessage() string

GetMessage returns the value of Message.

func (*ForbiddenError) GetStatusCode

func (s *ForbiddenError) GetStatusCode() float64

GetStatusCode returns the value of StatusCode.

func (*ForbiddenError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ForbiddenError) SetFake

func (s *ForbiddenError) SetFake()

SetFake set fake values.

func (*ForbiddenError) SetMessage

func (s *ForbiddenError) SetMessage(val string)

SetMessage sets the value of Message.

func (*ForbiddenError) SetStatusCode

func (s *ForbiddenError) SetStatusCode(val float64)

SetStatusCode sets the value of StatusCode.

func (*ForbiddenError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ForbiddenError) Validate

func (s *ForbiddenError) Validate() error

type GenerateX25519ResponseDto

type GenerateX25519ResponseDto struct {
	Response GenerateX25519ResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GenerateX25519ResponseDto

func (*GenerateX25519ResponseDto) Decode

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

Decode decodes GenerateX25519ResponseDto from json.

func (*GenerateX25519ResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GenerateX25519ResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GenerateX25519ResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GenerateX25519ResponseDto) SetFake

func (s *GenerateX25519ResponseDto) SetFake()

SetFake set fake values.

func (*GenerateX25519ResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GenerateX25519ResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GenerateX25519ResponseDto) Validate

func (s *GenerateX25519ResponseDto) Validate() error

type GenerateX25519ResponseDtoResponse

type GenerateX25519ResponseDtoResponse struct {
	Keypairs []GenerateX25519ResponseDtoResponseKeypairsItem `json:"keypairs"`
}

func (*GenerateX25519ResponseDtoResponse) Decode

Decode decodes GenerateX25519ResponseDtoResponse from json.

func (*GenerateX25519ResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GenerateX25519ResponseDtoResponse) GetKeypairs

GetKeypairs returns the value of Keypairs.

func (*GenerateX25519ResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GenerateX25519ResponseDtoResponse) SetFake

func (s *GenerateX25519ResponseDtoResponse) SetFake()

SetFake set fake values.

func (*GenerateX25519ResponseDtoResponse) SetKeypairs

SetKeypairs sets the value of Keypairs.

func (*GenerateX25519ResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GenerateX25519ResponseDtoResponse) Validate

type GenerateX25519ResponseDtoResponseKeypairsItem

type GenerateX25519ResponseDtoResponseKeypairsItem struct {
	PublicKey  string `json:"publicKey"`
	PrivateKey string `json:"privateKey"`
}

func (*GenerateX25519ResponseDtoResponseKeypairsItem) Decode

Decode decodes GenerateX25519ResponseDtoResponseKeypairsItem from json.

func (*GenerateX25519ResponseDtoResponseKeypairsItem) Encode

Encode implements json.Marshaler.

func (*GenerateX25519ResponseDtoResponseKeypairsItem) GetPrivateKey

GetPrivateKey returns the value of PrivateKey.

func (*GenerateX25519ResponseDtoResponseKeypairsItem) GetPublicKey

GetPublicKey returns the value of PublicKey.

func (*GenerateX25519ResponseDtoResponseKeypairsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GenerateX25519ResponseDtoResponseKeypairsItem) SetFake

SetFake set fake values.

func (*GenerateX25519ResponseDtoResponseKeypairsItem) SetPrivateKey

SetPrivateKey sets the value of PrivateKey.

func (*GenerateX25519ResponseDtoResponseKeypairsItem) SetPublicKey

SetPublicKey sets the value of PublicKey.

func (*GenerateX25519ResponseDtoResponseKeypairsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetAllHwidDevicesResponseDto

type GetAllHwidDevicesResponseDto struct {
	Response AllHwidDevices `json:"response"`
}

Ref: #/components/schemas/GetAllHwidDevicesResponseDto

func (*GetAllHwidDevicesResponseDto) Decode

Decode decodes GetAllHwidDevicesResponseDto from json.

func (*GetAllHwidDevicesResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GetAllHwidDevicesResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetAllHwidDevicesResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAllHwidDevicesResponseDto) SetFake

func (s *GetAllHwidDevicesResponseDto) SetFake()

SetFake set fake values.

func (*GetAllHwidDevicesResponseDto) SetResponse

func (s *GetAllHwidDevicesResponseDto) SetResponse(val AllHwidDevices)

SetResponse sets the value of Response.

func (*GetAllHwidDevicesResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAllHwidDevicesResponseDto) Validate

func (s *GetAllHwidDevicesResponseDto) Validate() error

type GetAllSubscriptionsResponseDto

type GetAllSubscriptionsResponseDto struct {
	Response GetAllSubscriptionsResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetAllSubscriptionsResponseDto

func (*GetAllSubscriptionsResponseDto) Decode

Decode decodes GetAllSubscriptionsResponseDto from json.

func (*GetAllSubscriptionsResponseDto) Encode

Encode implements json.Marshaler.

func (*GetAllSubscriptionsResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetAllSubscriptionsResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAllSubscriptionsResponseDto) SetFake

func (s *GetAllSubscriptionsResponseDto) SetFake()

SetFake set fake values.

func (*GetAllSubscriptionsResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetAllSubscriptionsResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAllSubscriptionsResponseDto) Validate

func (s *GetAllSubscriptionsResponseDto) Validate() error

type GetAllSubscriptionsResponseDtoResponse

type GetAllSubscriptionsResponseDtoResponse struct {
	Subscriptions []Subscription `json:"subscriptions"`
	Total         float64        `json:"total"`
}

func (*GetAllSubscriptionsResponseDtoResponse) Decode

Decode decodes GetAllSubscriptionsResponseDtoResponse from json.

func (*GetAllSubscriptionsResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetAllSubscriptionsResponseDtoResponse) GetSubscriptions

func (s *GetAllSubscriptionsResponseDtoResponse) GetSubscriptions() []Subscription

GetSubscriptions returns the value of Subscriptions.

func (*GetAllSubscriptionsResponseDtoResponse) GetTotal

GetTotal returns the value of Total.

func (*GetAllSubscriptionsResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAllSubscriptionsResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetAllSubscriptionsResponseDtoResponse) SetSubscriptions

func (s *GetAllSubscriptionsResponseDtoResponse) SetSubscriptions(val []Subscription)

SetSubscriptions sets the value of Subscriptions.

func (*GetAllSubscriptionsResponseDtoResponse) SetTotal

SetTotal sets the value of Total.

func (*GetAllSubscriptionsResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAllSubscriptionsResponseDtoResponse) Validate

type GetAllUsersResponseDto

type GetAllUsersResponseDto struct {
	Response GetAllUsersResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetAllUsersResponseDto

func (*GetAllUsersResponseDto) Decode

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

Decode decodes GetAllUsersResponseDto from json.

func (*GetAllUsersResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GetAllUsersResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetAllUsersResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAllUsersResponseDto) SetFake

func (s *GetAllUsersResponseDto) SetFake()

SetFake set fake values.

func (*GetAllUsersResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetAllUsersResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAllUsersResponseDto) Validate

func (s *GetAllUsersResponseDto) Validate() error

type GetAllUsersResponseDtoResponse

type GetAllUsersResponseDtoResponse struct {
	Users []User  `json:"users"`
	Total float64 `json:"total"`
}

func (*GetAllUsersResponseDtoResponse) Decode

Decode decodes GetAllUsersResponseDtoResponse from json.

func (*GetAllUsersResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetAllUsersResponseDtoResponse) GetTotal

GetTotal returns the value of Total.

func (*GetAllUsersResponseDtoResponse) GetUsers

func (s *GetAllUsersResponseDtoResponse) GetUsers() []User

GetUsers returns the value of Users.

func (*GetAllUsersResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAllUsersResponseDtoResponse) SetFake

func (s *GetAllUsersResponseDtoResponse) SetFake()

SetFake set fake values.

func (*GetAllUsersResponseDtoResponse) SetTotal

func (s *GetAllUsersResponseDtoResponse) SetTotal(val float64)

SetTotal sets the value of Total.

func (*GetAllUsersResponseDtoResponse) SetUsers

func (s *GetAllUsersResponseDtoResponse) SetUsers(val []User)

SetUsers sets the value of Users.

func (*GetAllUsersResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAllUsersResponseDtoResponse) Validate

func (s *GetAllUsersResponseDtoResponse) Validate() error

type GetBandwidthStatsResponseDto

type GetBandwidthStatsResponseDto struct {
	Response GetBandwidthStatsResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetBandwidthStatsResponseDto

func (*GetBandwidthStatsResponseDto) Decode

Decode decodes GetBandwidthStatsResponseDto from json.

func (*GetBandwidthStatsResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GetBandwidthStatsResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetBandwidthStatsResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetBandwidthStatsResponseDto) SetFake

func (s *GetBandwidthStatsResponseDto) SetFake()

SetFake set fake values.

func (*GetBandwidthStatsResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetBandwidthStatsResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetBandwidthStatsResponseDtoResponse

type GetBandwidthStatsResponseDtoResponse struct {
	BandwidthLastTwoDays   BandwidthLastTwoDays `json:"bandwidthLastTwoDays"`
	BandwidthLastSevenDays BandwidthLastTwoDays `json:"bandwidthLastSevenDays"`
	BandwidthLast30Days    BandwidthLastTwoDays `json:"bandwidthLast30Days"`
	BandwidthCalendarMonth BandwidthLastTwoDays `json:"bandwidthCalendarMonth"`
	BandwidthCurrentYear   BandwidthLastTwoDays `json:"bandwidthCurrentYear"`
}

func (*GetBandwidthStatsResponseDtoResponse) Decode

Decode decodes GetBandwidthStatsResponseDtoResponse from json.

func (*GetBandwidthStatsResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetBandwidthStatsResponseDtoResponse) GetBandwidthCalendarMonth

func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthCalendarMonth() BandwidthLastTwoDays

GetBandwidthCalendarMonth returns the value of BandwidthCalendarMonth.

func (*GetBandwidthStatsResponseDtoResponse) GetBandwidthCurrentYear

func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthCurrentYear() BandwidthLastTwoDays

GetBandwidthCurrentYear returns the value of BandwidthCurrentYear.

func (*GetBandwidthStatsResponseDtoResponse) GetBandwidthLast30Days

func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthLast30Days() BandwidthLastTwoDays

GetBandwidthLast30Days returns the value of BandwidthLast30Days.

func (*GetBandwidthStatsResponseDtoResponse) GetBandwidthLastSevenDays

func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthLastSevenDays() BandwidthLastTwoDays

GetBandwidthLastSevenDays returns the value of BandwidthLastSevenDays.

func (*GetBandwidthStatsResponseDtoResponse) GetBandwidthLastTwoDays

func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthLastTwoDays() BandwidthLastTwoDays

GetBandwidthLastTwoDays returns the value of BandwidthLastTwoDays.

func (*GetBandwidthStatsResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetBandwidthStatsResponseDtoResponse) SetBandwidthCalendarMonth

func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthCalendarMonth(val BandwidthLastTwoDays)

SetBandwidthCalendarMonth sets the value of BandwidthCalendarMonth.

func (*GetBandwidthStatsResponseDtoResponse) SetBandwidthCurrentYear

func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthCurrentYear(val BandwidthLastTwoDays)

SetBandwidthCurrentYear sets the value of BandwidthCurrentYear.

func (*GetBandwidthStatsResponseDtoResponse) SetBandwidthLast30Days

func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthLast30Days(val BandwidthLastTwoDays)

SetBandwidthLast30Days sets the value of BandwidthLast30Days.

func (*GetBandwidthStatsResponseDtoResponse) SetBandwidthLastSevenDays

func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthLastSevenDays(val BandwidthLastTwoDays)

SetBandwidthLastSevenDays sets the value of BandwidthLastSevenDays.

func (*GetBandwidthStatsResponseDtoResponse) SetBandwidthLastTwoDays

func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthLastTwoDays(val BandwidthLastTwoDays)

SetBandwidthLastTwoDays sets the value of BandwidthLastTwoDays.

func (*GetBandwidthStatsResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetBandwidthStatsResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetHwidDevicesStatsResponseDto

type GetHwidDevicesStatsResponseDto struct {
	Response GetHwidDevicesStatsResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetHwidDevicesStatsResponseDto

func (*GetHwidDevicesStatsResponseDto) Decode

Decode decodes GetHwidDevicesStatsResponseDto from json.

func (*GetHwidDevicesStatsResponseDto) Encode

Encode implements json.Marshaler.

func (*GetHwidDevicesStatsResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetHwidDevicesStatsResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetHwidDevicesStatsResponseDto) SetFake

func (s *GetHwidDevicesStatsResponseDto) SetFake()

SetFake set fake values.

func (*GetHwidDevicesStatsResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetHwidDevicesStatsResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetHwidDevicesStatsResponseDto) Validate

func (s *GetHwidDevicesStatsResponseDto) Validate() error

type GetHwidDevicesStatsResponseDtoResponse

type GetHwidDevicesStatsResponseDtoResponse struct {
	ByPlatform []GetHwidDevicesStatsResponseDtoResponseByPlatformItem `json:"byPlatform"`
	ByApp      []ByAppItem                                            `json:"byApp"`
	Stats      GetHwidDevicesStatsResponseDtoResponseStats            `json:"stats"`
}

func (*GetHwidDevicesStatsResponseDtoResponse) Decode

Decode decodes GetHwidDevicesStatsResponseDtoResponse from json.

func (*GetHwidDevicesStatsResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetHwidDevicesStatsResponseDtoResponse) GetByApp

GetByApp returns the value of ByApp.

func (*GetHwidDevicesStatsResponseDtoResponse) GetByPlatform

GetByPlatform returns the value of ByPlatform.

func (*GetHwidDevicesStatsResponseDtoResponse) GetStats

GetStats returns the value of Stats.

func (*GetHwidDevicesStatsResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetHwidDevicesStatsResponseDtoResponse) SetByApp

SetByApp sets the value of ByApp.

func (*GetHwidDevicesStatsResponseDtoResponse) SetByPlatform

SetByPlatform sets the value of ByPlatform.

func (*GetHwidDevicesStatsResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetHwidDevicesStatsResponseDtoResponse) SetStats

SetStats sets the value of Stats.

func (*GetHwidDevicesStatsResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetHwidDevicesStatsResponseDtoResponse) Validate

type GetHwidDevicesStatsResponseDtoResponseByPlatformItem

type GetHwidDevicesStatsResponseDtoResponseByPlatformItem struct {
	Platform string  `json:"platform"`
	Count    float64 `json:"count"`
}

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Decode

Decode decodes GetHwidDevicesStatsResponseDtoResponseByPlatformItem from json.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Encode

Encode implements json.Marshaler.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) GetCount

GetCount returns the value of Count.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) GetPlatform

GetPlatform returns the value of Platform.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetCount

SetCount sets the value of Count.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetFake

SetFake set fake values.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetPlatform

SetPlatform sets the value of Platform.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Validate

type GetHwidDevicesStatsResponseDtoResponseStats

type GetHwidDevicesStatsResponseDtoResponseStats struct {
	TotalUniqueDevices        float64 `json:"totalUniqueDevices"`
	TotalHwidDevices          float64 `json:"totalHwidDevices"`
	AverageHwidDevicesPerUser float64 `json:"averageHwidDevicesPerUser"`
}

func (*GetHwidDevicesStatsResponseDtoResponseStats) Decode

Decode decodes GetHwidDevicesStatsResponseDtoResponseStats from json.

func (*GetHwidDevicesStatsResponseDtoResponseStats) Encode

Encode implements json.Marshaler.

func (*GetHwidDevicesStatsResponseDtoResponseStats) GetAverageHwidDevicesPerUser

func (s *GetHwidDevicesStatsResponseDtoResponseStats) GetAverageHwidDevicesPerUser() float64

GetAverageHwidDevicesPerUser returns the value of AverageHwidDevicesPerUser.

func (*GetHwidDevicesStatsResponseDtoResponseStats) GetTotalHwidDevices

func (s *GetHwidDevicesStatsResponseDtoResponseStats) GetTotalHwidDevices() float64

GetTotalHwidDevices returns the value of TotalHwidDevices.

func (*GetHwidDevicesStatsResponseDtoResponseStats) GetTotalUniqueDevices

func (s *GetHwidDevicesStatsResponseDtoResponseStats) GetTotalUniqueDevices() float64

GetTotalUniqueDevices returns the value of TotalUniqueDevices.

func (*GetHwidDevicesStatsResponseDtoResponseStats) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetHwidDevicesStatsResponseDtoResponseStats) SetAverageHwidDevicesPerUser

func (s *GetHwidDevicesStatsResponseDtoResponseStats) SetAverageHwidDevicesPerUser(val float64)

SetAverageHwidDevicesPerUser sets the value of AverageHwidDevicesPerUser.

func (*GetHwidDevicesStatsResponseDtoResponseStats) SetFake

SetFake set fake values.

func (*GetHwidDevicesStatsResponseDtoResponseStats) SetTotalHwidDevices

func (s *GetHwidDevicesStatsResponseDtoResponseStats) SetTotalHwidDevices(val float64)

SetTotalHwidDevices sets the value of TotalHwidDevices.

func (*GetHwidDevicesStatsResponseDtoResponseStats) SetTotalUniqueDevices

func (s *GetHwidDevicesStatsResponseDtoResponseStats) SetTotalUniqueDevices(val float64)

SetTotalUniqueDevices sets the value of TotalUniqueDevices.

func (*GetHwidDevicesStatsResponseDtoResponseStats) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetHwidDevicesStatsResponseDtoResponseStats) Validate

type GetInfraProvidersResponseDto

type GetInfraProvidersResponseDto struct {
	Response GetInfraProvidersResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetInfraProvidersResponseDto

func (*GetInfraProvidersResponseDto) Decode

Decode decodes GetInfraProvidersResponseDto from json.

func (*GetInfraProvidersResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GetInfraProvidersResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetInfraProvidersResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetInfraProvidersResponseDto) SetFake

func (s *GetInfraProvidersResponseDto) SetFake()

SetFake set fake values.

func (*GetInfraProvidersResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetInfraProvidersResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetInfraProvidersResponseDto) Validate

func (s *GetInfraProvidersResponseDto) Validate() error

type GetInfraProvidersResponseDtoResponse

type GetInfraProvidersResponseDtoResponse struct {
	Total     float64    `json:"total"`
	Providers []Provider `json:"providers"`
}

func (*GetInfraProvidersResponseDtoResponse) Decode

Decode decodes GetInfraProvidersResponseDtoResponse from json.

func (*GetInfraProvidersResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetInfraProvidersResponseDtoResponse) GetProviders

func (s *GetInfraProvidersResponseDtoResponse) GetProviders() []Provider

GetProviders returns the value of Providers.

func (*GetInfraProvidersResponseDtoResponse) GetTotal

GetTotal returns the value of Total.

func (*GetInfraProvidersResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetInfraProvidersResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetInfraProvidersResponseDtoResponse) SetProviders

func (s *GetInfraProvidersResponseDtoResponse) SetProviders(val []Provider)

SetProviders sets the value of Providers.

func (*GetInfraProvidersResponseDtoResponse) SetTotal

SetTotal sets the value of Total.

func (*GetInfraProvidersResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetInfraProvidersResponseDtoResponse) Validate

type GetInternalSquadAccessibleNodesResponseDto

type GetInternalSquadAccessibleNodesResponseDto struct {
	Response GetInternalSquadAccessibleNodesResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetInternalSquadAccessibleNodesResponseDto

func (*GetInternalSquadAccessibleNodesResponseDto) Decode

Decode decodes GetInternalSquadAccessibleNodesResponseDto from json.

func (*GetInternalSquadAccessibleNodesResponseDto) Encode

Encode implements json.Marshaler.

func (*GetInternalSquadAccessibleNodesResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetInternalSquadAccessibleNodesResponseDto) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetInternalSquadAccessibleNodesResponseDto) SetFake

SetFake set fake values.

func (*GetInternalSquadAccessibleNodesResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetInternalSquadAccessibleNodesResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetInternalSquadAccessibleNodesResponseDto) Validate

type GetInternalSquadAccessibleNodesResponseDtoResponse

type GetInternalSquadAccessibleNodesResponseDtoResponse struct {
	SquadUuid       uuid.UUID                                                               `json:"squadUuid"`
	AccessibleNodes []GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem `json:"accessibleNodes"`
}

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) Decode

Decode decodes GetInternalSquadAccessibleNodesResponseDtoResponse from json.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) GetAccessibleNodes

GetAccessibleNodes returns the value of AccessibleNodes.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) GetSquadUuid

GetSquadUuid returns the value of SquadUuid.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) SetAccessibleNodes

SetAccessibleNodes sets the value of AccessibleNodes.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) SetSquadUuid

SetSquadUuid sets the value of SquadUuid.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetInternalSquadAccessibleNodesResponseDtoResponse) Validate

type GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem

type GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem struct {
	UUID              uuid.UUID `json:"uuid"`
	NodeName          string    `json:"nodeName"`
	CountryCode       string    `json:"countryCode"`
	ConfigProfileUuid uuid.UUID `json:"configProfileUuid"`
	ConfigProfileName string    `json:"configProfileName"`
	ActiveInbounds    []string  `json:"activeInbounds"`
}

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Decode

Decode decodes GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem from json.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Encode

Encode implements json.Marshaler.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetActiveInbounds

GetActiveInbounds returns the value of ActiveInbounds.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetConfigProfileName

GetConfigProfileName returns the value of ConfigProfileName.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetConfigProfileUuid

GetConfigProfileUuid returns the value of ConfigProfileUuid.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetCountryCode

GetCountryCode returns the value of CountryCode.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetNodeName

GetNodeName returns the value of NodeName.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetUUID

GetUUID returns the value of UUID.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetActiveInbounds

SetActiveInbounds sets the value of ActiveInbounds.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetConfigProfileName

SetConfigProfileName sets the value of ConfigProfileName.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetConfigProfileUuid

SetConfigProfileUuid sets the value of ConfigProfileUuid.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetCountryCode

SetCountryCode sets the value of CountryCode.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetFake

SetFake set fake values.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetNodeName

SetNodeName sets the value of NodeName.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetUUID

SetUUID sets the value of UUID.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Validate

type GetLegacyStatsNodesUsersUsageResponseDto

type GetLegacyStatsNodesUsersUsageResponseDto struct {
	Response []GetLegacyStatsNodesUsersUsageResponseDtoResponseItem `json:"response"`
}

Ref: #/components/schemas/GetLegacyStatsNodesUsersUsageResponseDto

func (*GetLegacyStatsNodesUsersUsageResponseDto) Decode

Decode decodes GetLegacyStatsNodesUsersUsageResponseDto from json.

func (*GetLegacyStatsNodesUsersUsageResponseDto) Encode

Encode implements json.Marshaler.

func (*GetLegacyStatsNodesUsersUsageResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetLegacyStatsNodesUsersUsageResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetLegacyStatsNodesUsersUsageResponseDto) SetFake

SetFake set fake values.

func (*GetLegacyStatsNodesUsersUsageResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetLegacyStatsNodesUsersUsageResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetLegacyStatsNodesUsersUsageResponseDto) Validate

type GetLegacyStatsNodesUsersUsageResponseDtoResponseItem

type GetLegacyStatsNodesUsersUsageResponseDtoResponseItem struct {
	UserUuid uuid.UUID `json:"userUuid"`
	Username string    `json:"username"`
	NodeUuid uuid.UUID `json:"nodeUuid"`
	Total    float64   `json:"total"`
	Date     string    `json:"date"`
}

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Decode

Decode decodes GetLegacyStatsNodesUsersUsageResponseDtoResponseItem from json.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Encode

Encode implements json.Marshaler.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetDate

GetDate returns the value of Date.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetNodeUuid

GetNodeUuid returns the value of NodeUuid.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetTotal

GetTotal returns the value of Total.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetUserUuid

GetUserUuid returns the value of UserUuid.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetUsername

GetUsername returns the value of Username.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetDate

SetDate sets the value of Date.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetFake

SetFake set fake values.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetNodeUuid

SetNodeUuid sets the value of NodeUuid.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetTotal

SetTotal sets the value of Total.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetUserUuid

SetUserUuid sets the value of UserUuid.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetUsername

SetUsername sets the value of Username.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Validate

type GetLegacyStatsUserUsageResponseDto

type GetLegacyStatsUserUsageResponseDto struct {
	Response []GetLegacyStatsUserUsageResponseDtoResponseItem `json:"response"`
}

Ref: #/components/schemas/GetLegacyStatsUserUsageResponseDto

func (*GetLegacyStatsUserUsageResponseDto) Decode

Decode decodes GetLegacyStatsUserUsageResponseDto from json.

func (*GetLegacyStatsUserUsageResponseDto) Encode

Encode implements json.Marshaler.

func (*GetLegacyStatsUserUsageResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetLegacyStatsUserUsageResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetLegacyStatsUserUsageResponseDto) SetFake

SetFake set fake values.

func (*GetLegacyStatsUserUsageResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetLegacyStatsUserUsageResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetLegacyStatsUserUsageResponseDto) Validate

type GetLegacyStatsUserUsageResponseDtoResponseItem

type GetLegacyStatsUserUsageResponseDtoResponseItem struct {
	UserUuid    uuid.UUID `json:"userUuid"`
	NodeUuid    uuid.UUID `json:"nodeUuid"`
	NodeName    string    `json:"nodeName"`
	CountryCode string    `json:"countryCode"`
	Total       float64   `json:"total"`
	Date        string    `json:"date"`
}

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) Decode

Decode decodes GetLegacyStatsUserUsageResponseDtoResponseItem from json.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) Encode

Encode implements json.Marshaler.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetCountryCode

GetCountryCode returns the value of CountryCode.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetDate

GetDate returns the value of Date.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetNodeName

GetNodeName returns the value of NodeName.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetNodeUuid

GetNodeUuid returns the value of NodeUuid.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetTotal

GetTotal returns the value of Total.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetUserUuid

GetUserUuid returns the value of UserUuid.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetCountryCode

SetCountryCode sets the value of CountryCode.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetDate

SetDate sets the value of Date.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetFake

SetFake set fake values.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetNodeName

SetNodeName sets the value of NodeName.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetNodeUuid

SetNodeUuid sets the value of NodeUuid.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetTotal

SetTotal sets the value of Total.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetUserUuid

SetUserUuid sets the value of UserUuid.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetLegacyStatsUserUsageResponseDtoResponseItem) Validate

type GetNodesMetricsResponseDto

type GetNodesMetricsResponseDto struct {
	Response GetNodesMetricsResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetNodesMetricsResponseDto

func (*GetNodesMetricsResponseDto) Decode

Decode decodes GetNodesMetricsResponseDto from json.

func (*GetNodesMetricsResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GetNodesMetricsResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetNodesMetricsResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetNodesMetricsResponseDto) SetFake

func (s *GetNodesMetricsResponseDto) SetFake()

SetFake set fake values.

func (*GetNodesMetricsResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetNodesMetricsResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetNodesMetricsResponseDto) Validate

func (s *GetNodesMetricsResponseDto) Validate() error

type GetNodesMetricsResponseDtoResponse

type GetNodesMetricsResponseDtoResponse struct {
	Nodes []GetNodesMetricsResponseDtoResponseNodesItem `json:"nodes"`
}

func (*GetNodesMetricsResponseDtoResponse) Decode

Decode decodes GetNodesMetricsResponseDtoResponse from json.

func (*GetNodesMetricsResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetNodesMetricsResponseDtoResponse) GetNodes

GetNodes returns the value of Nodes.

func (*GetNodesMetricsResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetNodesMetricsResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetNodesMetricsResponseDtoResponse) SetNodes

SetNodes sets the value of Nodes.

func (*GetNodesMetricsResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetNodesMetricsResponseDtoResponse) Validate

type GetNodesMetricsResponseDtoResponseNodesItem

type GetNodesMetricsResponseDtoResponseNodesItem struct {
	NodeUuid       string         `json:"nodeUuid"`
	NodeName       string         `json:"nodeName"`
	CountryEmoji   string         `json:"countryEmoji"`
	ProviderName   string         `json:"providerName"`
	UsersOnline    float64        `json:"usersOnline"`
	InboundsStats  []InboundsStat `json:"inboundsStats"`
	OutboundsStats []InboundsStat `json:"outboundsStats"`
}

func (*GetNodesMetricsResponseDtoResponseNodesItem) Decode

Decode decodes GetNodesMetricsResponseDtoResponseNodesItem from json.

func (*GetNodesMetricsResponseDtoResponseNodesItem) Encode

Encode implements json.Marshaler.

func (*GetNodesMetricsResponseDtoResponseNodesItem) GetCountryEmoji

GetCountryEmoji returns the value of CountryEmoji.

func (*GetNodesMetricsResponseDtoResponseNodesItem) GetInboundsStats

GetInboundsStats returns the value of InboundsStats.

func (*GetNodesMetricsResponseDtoResponseNodesItem) GetNodeName

GetNodeName returns the value of NodeName.

func (*GetNodesMetricsResponseDtoResponseNodesItem) GetNodeUuid

GetNodeUuid returns the value of NodeUuid.

func (*GetNodesMetricsResponseDtoResponseNodesItem) GetOutboundsStats

GetOutboundsStats returns the value of OutboundsStats.

func (*GetNodesMetricsResponseDtoResponseNodesItem) GetProviderName

GetProviderName returns the value of ProviderName.

func (*GetNodesMetricsResponseDtoResponseNodesItem) GetUsersOnline

GetUsersOnline returns the value of UsersOnline.

func (*GetNodesMetricsResponseDtoResponseNodesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetNodesMetricsResponseDtoResponseNodesItem) SetCountryEmoji

func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetCountryEmoji(val string)

SetCountryEmoji sets the value of CountryEmoji.

func (*GetNodesMetricsResponseDtoResponseNodesItem) SetFake

SetFake set fake values.

func (*GetNodesMetricsResponseDtoResponseNodesItem) SetInboundsStats

func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetInboundsStats(val []InboundsStat)

SetInboundsStats sets the value of InboundsStats.

func (*GetNodesMetricsResponseDtoResponseNodesItem) SetNodeName

SetNodeName sets the value of NodeName.

func (*GetNodesMetricsResponseDtoResponseNodesItem) SetNodeUuid

SetNodeUuid sets the value of NodeUuid.

func (*GetNodesMetricsResponseDtoResponseNodesItem) SetOutboundsStats

func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetOutboundsStats(val []InboundsStat)

SetOutboundsStats sets the value of OutboundsStats.

func (*GetNodesMetricsResponseDtoResponseNodesItem) SetProviderName

func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetProviderName(val string)

SetProviderName sets the value of ProviderName.

func (*GetNodesMetricsResponseDtoResponseNodesItem) SetUsersOnline

SetUsersOnline sets the value of UsersOnline.

func (*GetNodesMetricsResponseDtoResponseNodesItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetNodesMetricsResponseDtoResponseNodesItem) Validate

type GetNodesStatisticsResponseDto

type GetNodesStatisticsResponseDto struct {
	Response GetNodesStatisticsResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetNodesStatisticsResponseDto

func (*GetNodesStatisticsResponseDto) Decode

Decode decodes GetNodesStatisticsResponseDto from json.

func (*GetNodesStatisticsResponseDto) Encode

Encode implements json.Marshaler.

func (*GetNodesStatisticsResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetNodesStatisticsResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetNodesStatisticsResponseDto) SetFake

func (s *GetNodesStatisticsResponseDto) SetFake()

SetFake set fake values.

func (*GetNodesStatisticsResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetNodesStatisticsResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetNodesStatisticsResponseDto) Validate

func (s *GetNodesStatisticsResponseDto) Validate() error

type GetNodesStatisticsResponseDtoResponse

type GetNodesStatisticsResponseDtoResponse struct {
	LastSevenDays []GetNodesStatisticsResponseDtoResponseLastSevenDaysItem `json:"lastSevenDays"`
}

func (*GetNodesStatisticsResponseDtoResponse) Decode

Decode decodes GetNodesStatisticsResponseDtoResponse from json.

func (*GetNodesStatisticsResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetNodesStatisticsResponseDtoResponse) GetLastSevenDays

GetLastSevenDays returns the value of LastSevenDays.

func (*GetNodesStatisticsResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetNodesStatisticsResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetNodesStatisticsResponseDtoResponse) SetLastSevenDays

SetLastSevenDays sets the value of LastSevenDays.

func (*GetNodesStatisticsResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetNodesStatisticsResponseDtoResponse) Validate

type GetNodesStatisticsResponseDtoResponseLastSevenDaysItem

type GetNodesStatisticsResponseDtoResponseLastSevenDaysItem struct {
	NodeName   string `json:"nodeName"`
	Date       string `json:"date"`
	TotalBytes string `json:"totalBytes"`
}

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) Decode

Decode decodes GetNodesStatisticsResponseDtoResponseLastSevenDaysItem from json.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) Encode

Encode implements json.Marshaler.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetDate

GetDate returns the value of Date.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetNodeName

GetNodeName returns the value of NodeName.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetTotalBytes

GetTotalBytes returns the value of TotalBytes.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetDate

SetDate sets the value of Date.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetFake

SetFake set fake values.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetNodeName

SetNodeName sets the value of NodeName.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetTotalBytes

SetTotalBytes sets the value of TotalBytes.

func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetPubKeyResponseDto

type GetPubKeyResponseDto struct {
	Response GetPubKeyResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetPubKeyResponseDto

func (*GetPubKeyResponseDto) Decode

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

Decode decodes GetPubKeyResponseDto from json.

func (*GetPubKeyResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GetPubKeyResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetPubKeyResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetPubKeyResponseDto) SetFake

func (s *GetPubKeyResponseDto) SetFake()

SetFake set fake values.

func (*GetPubKeyResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetPubKeyResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetPubKeyResponseDtoResponse

type GetPubKeyResponseDtoResponse struct {
	PubKey string `json:"pubKey"`
}

func (*GetPubKeyResponseDtoResponse) Decode

Decode decodes GetPubKeyResponseDtoResponse from json.

func (*GetPubKeyResponseDtoResponse) Encode

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

Encode implements json.Marshaler.

func (*GetPubKeyResponseDtoResponse) GetPubKey

func (s *GetPubKeyResponseDtoResponse) GetPubKey() string

GetPubKey returns the value of PubKey.

func (*GetPubKeyResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetPubKeyResponseDtoResponse) SetFake

func (s *GetPubKeyResponseDtoResponse) SetFake()

SetFake set fake values.

func (*GetPubKeyResponseDtoResponse) SetPubKey

func (s *GetPubKeyResponseDtoResponse) SetPubKey(val string)

SetPubKey sets the value of PubKey.

func (*GetPubKeyResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetRawSubscriptionByShortUuidResponseDto

type GetRawSubscriptionByShortUuidResponseDto struct {
	Response GetRawSubscriptionByShortUuidResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetRawSubscriptionByShortUuidResponseDto

func (*GetRawSubscriptionByShortUuidResponseDto) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDto from json.

func (*GetRawSubscriptionByShortUuidResponseDto) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetRawSubscriptionByShortUuidResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDto) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetRawSubscriptionByShortUuidResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetRawSubscriptionByShortUuidResponseDto) Validate

type GetRawSubscriptionByShortUuidResponseDtoResponse

type GetRawSubscriptionByShortUuidResponseDtoResponse struct {
	User              User                                                              `json:"user"`
	ConvertedUserInfo GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo `json:"convertedUserInfo"`
	Headers           GetRawSubscriptionByShortUuidResponseDtoResponseHeaders           `json:"headers"`
	RawHosts          []GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem    `json:"rawHosts"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponse from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) GetConvertedUserInfo

GetConvertedUserInfo returns the value of ConvertedUserInfo.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) GetHeaders

GetHeaders returns the value of Headers.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) GetRawHosts

GetRawHosts returns the value of RawHosts.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) GetUser

GetUser returns the value of User.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetConvertedUserInfo

SetConvertedUserInfo sets the value of ConvertedUserInfo.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetHeaders

SetHeaders sets the value of Headers.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetRawHosts

SetRawHosts sets the value of RawHosts.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetUser

SetUser sets the value of User.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponse) Validate

type GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo

type GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo struct {
	DaysLeft            float64 `json:"daysLeft"`
	TrafficLimit        string  `json:"trafficLimit"`
	TrafficUsed         string  `json:"trafficUsed"`
	LifetimeTrafficUsed string  `json:"lifetimeTrafficUsed"`
	IsHwidLimited       bool    `json:"isHwidLimited"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetDaysLeft

GetDaysLeft returns the value of DaysLeft.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetIsHwidLimited

GetIsHwidLimited returns the value of IsHwidLimited.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetLifetimeTrafficUsed

GetLifetimeTrafficUsed returns the value of LifetimeTrafficUsed.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetTrafficLimit

GetTrafficLimit returns the value of TrafficLimit.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetTrafficUsed

GetTrafficUsed returns the value of TrafficUsed.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetDaysLeft

SetDaysLeft sets the value of DaysLeft.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetIsHwidLimited

SetIsHwidLimited sets the value of IsHwidLimited.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetLifetimeTrafficUsed

SetLifetimeTrafficUsed sets the value of LifetimeTrafficUsed.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetTrafficLimit

SetTrafficLimit sets the value of TrafficLimit.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetTrafficUsed

SetTrafficUsed sets the value of TrafficUsed.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Validate

type GetRawSubscriptionByShortUuidResponseDtoResponseHeaders

type GetRawSubscriptionByShortUuidResponseDtoResponseHeaders map[string]string

func (*GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseHeaders from json.

func (GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) Encode

Encode implements json.Marshaler.

func (GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem struct {
	Address           OptNilString                                                                       `json:"address"`
	Alpn              OptNilString                                                                       `json:"alpn"`
	Fingerprint       OptNilString                                                                       `json:"fingerprint"`
	Host              OptNilString                                                                       `json:"host"`
	Network           OptNilString                                                                       `json:"network"`
	Password          GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword               `json:"password"`
	Path              OptNilString                                                                       `json:"path"`
	PublicKey         OptNilString                                                                       `json:"publicKey"`
	Port              OptNilFloat64                                                                      `json:"port"`
	Protocol          OptNilString                                                                       `json:"protocol"`
	Remark            OptNilString                                                                       `json:"remark"`
	ShortId           OptNilString                                                                       `json:"shortId"`
	Sni               OptNilString                                                                       `json:"sni"`
	SpiderX           OptNilString                                                                       `json:"spiderX"`
	TLS               OptNilString                                                                       `json:"tls"`
	RawSettings       OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings      `json:"rawSettings"`
	AdditionalParams  OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams `json:"additionalParams"`
	XHttpExtraParams  jx.Raw                                                                             `json:"xHttpExtraParams"`
	MuxParams         jx.Raw                                                                             `json:"muxParams"`
	SockoptParams     jx.Raw                                                                             `json:"sockoptParams"`
	ServerDescription OptNilString                                                                       `json:"serverDescription"`
	Flow              OptNilString                                                                       `json:"flow"`
	AllowInsecure     OptNilBool                                                                         `json:"allowInsecure"`
	ShuffleHost       OptNilBool                                                                         `json:"shuffleHost"`
	MihomoX25519      OptNilBool                                                                         `json:"mihomoX25519"`
	Mldsa65Verify     OptNilString                                                                       `json:"mldsa65Verify"`
	Encryption        OptNilString                                                                       `json:"encryption"`
	ProtocolOptions   OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions  `json:"protocolOptions"`
	DbData            OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData              `json:"dbData"`
	XrayJsonTemplate  jx.Raw                                                                             `json:"xrayJsonTemplate"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAdditionalParams

GetAdditionalParams returns the value of AdditionalParams.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAddress

GetAddress returns the value of Address.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAllowInsecure

GetAllowInsecure returns the value of AllowInsecure.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAlpn

GetAlpn returns the value of Alpn.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetDbData

GetDbData returns the value of DbData.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetEncryption

GetEncryption returns the value of Encryption.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetFingerprint

GetFingerprint returns the value of Fingerprint.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetFlow

GetFlow returns the value of Flow.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetHost

GetHost returns the value of Host.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMihomoX25519

GetMihomoX25519 returns the value of MihomoX25519.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMldsa65Verify

GetMldsa65Verify returns the value of Mldsa65Verify.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMuxParams

GetMuxParams returns the value of MuxParams.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetNetwork

GetNetwork returns the value of Network.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPassword

GetPassword returns the value of Password.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPath

GetPath returns the value of Path.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPort

GetPort returns the value of Port.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetProtocol

GetProtocol returns the value of Protocol.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetProtocolOptions

GetProtocolOptions returns the value of ProtocolOptions.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPublicKey

GetPublicKey returns the value of PublicKey.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetRawSettings

GetRawSettings returns the value of RawSettings.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetRemark

GetRemark returns the value of Remark.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetServerDescription

GetServerDescription returns the value of ServerDescription.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetShortId

GetShortId returns the value of ShortId.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetShuffleHost

GetShuffleHost returns the value of ShuffleHost.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSni

GetSni returns the value of Sni.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSockoptParams

GetSockoptParams returns the value of SockoptParams.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSpiderX

GetSpiderX returns the value of SpiderX.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetTLS

GetTLS returns the value of TLS.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetXHttpExtraParams

GetXHttpExtraParams returns the value of XHttpExtraParams.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetXrayJsonTemplate

GetXrayJsonTemplate returns the value of XrayJsonTemplate.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAdditionalParams

SetAdditionalParams sets the value of AdditionalParams.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAddress

SetAddress sets the value of Address.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAllowInsecure

SetAllowInsecure sets the value of AllowInsecure.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAlpn

SetAlpn sets the value of Alpn.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetDbData

SetDbData sets the value of DbData.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetEncryption

SetEncryption sets the value of Encryption.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFingerprint

SetFingerprint sets the value of Fingerprint.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFlow

SetFlow sets the value of Flow.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetHost

SetHost sets the value of Host.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMihomoX25519

SetMihomoX25519 sets the value of MihomoX25519.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMldsa65Verify

SetMldsa65Verify sets the value of Mldsa65Verify.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMuxParams

SetMuxParams sets the value of MuxParams.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetNetwork

SetNetwork sets the value of Network.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPassword

SetPassword sets the value of Password.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPath

SetPath sets the value of Path.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPort

SetPort sets the value of Port.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetProtocol

SetProtocol sets the value of Protocol.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetProtocolOptions

SetProtocolOptions sets the value of ProtocolOptions.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPublicKey

SetPublicKey sets the value of PublicKey.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetRawSettings

SetRawSettings sets the value of RawSettings.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetRemark

SetRemark sets the value of Remark.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetServerDescription

SetServerDescription sets the value of ServerDescription.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetShortId

SetShortId sets the value of ShortId.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetShuffleHost

SetShuffleHost sets the value of ShuffleHost.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSni

SetSni sets the value of Sni.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSockoptParams

SetSockoptParams sets the value of SockoptParams.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSpiderX

SetSpiderX sets the value of SpiderX.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetTLS

SetTLS sets the value of TLS.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetXHttpExtraParams

SetXHttpExtraParams sets the value of XHttpExtraParams.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetXrayJsonTemplate

SetXrayJsonTemplate sets the value of XrayJsonTemplate.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Validate

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams struct {
	Mode            OptNilString  `json:"mode"`
	HeartbeatPeriod OptNilFloat64 `json:"heartbeatPeriod"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetHeartbeatPeriod

GetHeartbeatPeriod returns the value of HeartbeatPeriod.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetMode

GetMode returns the value of Mode.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetHeartbeatPeriod

SetHeartbeatPeriod sets the value of HeartbeatPeriod.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetMode

SetMode sets the value of Mode.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Validate

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData struct {
	RawInbound               jx.Raw    `json:"rawInbound"`
	InboundTag               string    `json:"inboundTag"`
	UUID                     string    `json:"uuid"`
	ConfigProfileUuid        NilString `json:"configProfileUuid"`
	ConfigProfileInboundUuid NilString `json:"configProfileInboundUuid"`
	IsDisabled               bool      `json:"isDisabled"`
	ViewPosition             float64   `json:"viewPosition"`
	Remark                   string    `json:"remark"`
	IsHidden                 bool      `json:"isHidden"`
	Tag                      NilString `json:"tag"`
	VlessRouteId             NilInt    `json:"vlessRouteId"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetConfigProfileInboundUuid

GetConfigProfileInboundUuid returns the value of ConfigProfileInboundUuid.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetConfigProfileUuid

GetConfigProfileUuid returns the value of ConfigProfileUuid.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetInboundTag

GetInboundTag returns the value of InboundTag.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetIsDisabled

GetIsDisabled returns the value of IsDisabled.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetIsHidden

GetIsHidden returns the value of IsHidden.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRawInbound

GetRawInbound returns the value of RawInbound.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRemark

GetRemark returns the value of Remark.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetTag

GetTag returns the value of Tag.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetUUID

GetUUID returns the value of UUID.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetViewPosition

GetViewPosition returns the value of ViewPosition.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetVlessRouteId

GetVlessRouteId returns the value of VlessRouteId.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetConfigProfileInboundUuid

SetConfigProfileInboundUuid sets the value of ConfigProfileInboundUuid.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetConfigProfileUuid

SetConfigProfileUuid sets the value of ConfigProfileUuid.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetInboundTag

SetInboundTag sets the value of InboundTag.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetIsDisabled

SetIsDisabled sets the value of IsDisabled.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetIsHidden

SetIsHidden sets the value of IsHidden.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetRawInbound

SetRawInbound sets the value of RawInbound.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetRemark

SetRemark sets the value of Remark.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetTag

SetTag sets the value of Tag.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetUUID

SetUUID sets the value of UUID.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetViewPosition

SetViewPosition sets the value of ViewPosition.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetVlessRouteId

SetVlessRouteId sets the value of VlessRouteId.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Validate

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword struct {
	SsPassword     string `json:"ssPassword"`
	TrojanPassword string `json:"trojanPassword"`
	VlessPassword  string `json:"vlessPassword"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetSsPassword

GetSsPassword returns the value of SsPassword.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetTrojanPassword

GetTrojanPassword returns the value of TrojanPassword.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetVlessPassword

GetVlessPassword returns the value of VlessPassword.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetSsPassword

SetSsPassword sets the value of SsPassword.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetTrojanPassword

SetTrojanPassword sets the value of TrojanPassword.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetVlessPassword

SetVlessPassword sets the value of VlessPassword.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions struct {
	Ss OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs `json:"ss"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) GetSs

GetSs returns the value of Ss.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetSs

SetSs sets the value of Ss.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs struct {
	Method OptNilString `json:"method"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) GetMethod

GetMethod returns the value of Method.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetMethod

SetMethod sets the value of Method.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings

type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings struct {
	HeaderType OptNilString `json:"headerType"`
	Request    jx.Raw       `json:"request"`
}

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings from json.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Encode

Encode implements json.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetHeaderType

GetHeaderType returns the value of HeaderType.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetRequest

GetRequest returns the value of Request.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetFake

SetFake set fake values.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetHeaderType

SetHeaderType sets the value of HeaderType.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetRequest

SetRequest sets the value of Request.

func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetRemnawaveHealthResponseDto

type GetRemnawaveHealthResponseDto struct {
	Response GetRemnawaveHealthResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetRemnawaveHealthResponseDto

func (*GetRemnawaveHealthResponseDto) Decode

Decode decodes GetRemnawaveHealthResponseDto from json.

func (*GetRemnawaveHealthResponseDto) Encode

Encode implements json.Marshaler.

func (*GetRemnawaveHealthResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetRemnawaveHealthResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetRemnawaveHealthResponseDto) SetFake

func (s *GetRemnawaveHealthResponseDto) SetFake()

SetFake set fake values.

func (*GetRemnawaveHealthResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetRemnawaveHealthResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetRemnawaveHealthResponseDto) Validate

func (s *GetRemnawaveHealthResponseDto) Validate() error

type GetRemnawaveHealthResponseDtoResponse

type GetRemnawaveHealthResponseDtoResponse struct {
	Pm2Stats []GetRemnawaveHealthResponseDtoResponsePm2StatsItem `json:"pm2Stats"`
}

func (*GetRemnawaveHealthResponseDtoResponse) Decode

Decode decodes GetRemnawaveHealthResponseDtoResponse from json.

func (*GetRemnawaveHealthResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetRemnawaveHealthResponseDtoResponse) GetPm2Stats

GetPm2Stats returns the value of Pm2Stats.

func (*GetRemnawaveHealthResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetRemnawaveHealthResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetRemnawaveHealthResponseDtoResponse) SetPm2Stats

SetPm2Stats sets the value of Pm2Stats.

func (*GetRemnawaveHealthResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetRemnawaveHealthResponseDtoResponse) Validate

type GetRemnawaveHealthResponseDtoResponsePm2StatsItem

type GetRemnawaveHealthResponseDtoResponsePm2StatsItem struct {
	Name   string `json:"name"`
	Memory string `json:"memory"`
	CPU    string `json:"cpu"`
}

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) Decode

Decode decodes GetRemnawaveHealthResponseDtoResponsePm2StatsItem from json.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) Encode

Encode implements json.Marshaler.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetCPU

GetCPU returns the value of CPU.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetMemory

GetMemory returns the value of Memory.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetName

GetName returns the value of Name.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetCPU

SetCPU sets the value of CPU.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetFake

SetFake set fake values.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetMemory

SetMemory sets the value of Memory.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetName

SetName sets the value of Name.

func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetStatsNodeUsersUsageResponseDto

type GetStatsNodeUsersUsageResponseDto struct {
	Response GetStatsNodeUsersUsageResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetStatsNodeUsersUsageResponseDto

func (*GetStatsNodeUsersUsageResponseDto) Decode

Decode decodes GetStatsNodeUsersUsageResponseDto from json.

func (*GetStatsNodeUsersUsageResponseDto) Encode

Encode implements json.Marshaler.

func (*GetStatsNodeUsersUsageResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetStatsNodeUsersUsageResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsNodeUsersUsageResponseDto) SetFake

func (s *GetStatsNodeUsersUsageResponseDto) SetFake()

SetFake set fake values.

func (*GetStatsNodeUsersUsageResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetStatsNodeUsersUsageResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsNodeUsersUsageResponseDto) Validate

type GetStatsNodeUsersUsageResponseDtoResponse

type GetStatsNodeUsersUsageResponseDtoResponse struct {
	Categories    []string                                                `json:"categories"`
	SparklineData []float64                                               `json:"sparklineData"`
	TopUsers      []GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem `json:"topUsers"`
}

func (*GetStatsNodeUsersUsageResponseDtoResponse) Decode

Decode decodes GetStatsNodeUsersUsageResponseDtoResponse from json.

func (*GetStatsNodeUsersUsageResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetStatsNodeUsersUsageResponseDtoResponse) GetCategories

GetCategories returns the value of Categories.

func (*GetStatsNodeUsersUsageResponseDtoResponse) GetSparklineData

func (s *GetStatsNodeUsersUsageResponseDtoResponse) GetSparklineData() []float64

GetSparklineData returns the value of SparklineData.

func (*GetStatsNodeUsersUsageResponseDtoResponse) GetTopUsers

GetTopUsers returns the value of TopUsers.

func (*GetStatsNodeUsersUsageResponseDtoResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsNodeUsersUsageResponseDtoResponse) SetCategories

func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetCategories(val []string)

SetCategories sets the value of Categories.

func (*GetStatsNodeUsersUsageResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetStatsNodeUsersUsageResponseDtoResponse) SetSparklineData

func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetSparklineData(val []float64)

SetSparklineData sets the value of SparklineData.

func (*GetStatsNodeUsersUsageResponseDtoResponse) SetTopUsers

SetTopUsers sets the value of TopUsers.

func (*GetStatsNodeUsersUsageResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsNodeUsersUsageResponseDtoResponse) Validate

type GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem

type GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem struct {
	Color    string  `json:"color"`
	Username string  `json:"username"`
	Total    float64 `json:"total"`
}

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Decode

Decode decodes GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem from json.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Encode

Encode implements json.Marshaler.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetColor

GetColor returns the value of Color.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetTotal

GetTotal returns the value of Total.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetUsername

GetUsername returns the value of Username.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetColor

SetColor sets the value of Color.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetFake

SetFake set fake values.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetTotal

SetTotal sets the value of Total.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetUsername

SetUsername sets the value of Username.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Validate

type GetStatsNodesRealtimeUsageResponseDto

type GetStatsNodesRealtimeUsageResponseDto struct {
	Response []GetStatsNodesRealtimeUsageResponseDtoResponseItem `json:"response"`
}

Ref: #/components/schemas/GetStatsNodesRealtimeUsageResponseDto

func (*GetStatsNodesRealtimeUsageResponseDto) Decode

Decode decodes GetStatsNodesRealtimeUsageResponseDto from json.

func (*GetStatsNodesRealtimeUsageResponseDto) Encode

Encode implements json.Marshaler.

func (*GetStatsNodesRealtimeUsageResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetStatsNodesRealtimeUsageResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsNodesRealtimeUsageResponseDto) SetFake

SetFake set fake values.

func (*GetStatsNodesRealtimeUsageResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetStatsNodesRealtimeUsageResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsNodesRealtimeUsageResponseDto) Validate

type GetStatsNodesRealtimeUsageResponseDtoResponseItem

type GetStatsNodesRealtimeUsageResponseDtoResponseItem struct {
	NodeUuid         uuid.UUID `json:"nodeUuid"`
	NodeName         string    `json:"nodeName"`
	CountryCode      string    `json:"countryCode"`
	DownloadBytes    float64   `json:"downloadBytes"`
	UploadBytes      float64   `json:"uploadBytes"`
	TotalBytes       float64   `json:"totalBytes"`
	DownloadSpeedBps float64   `json:"downloadSpeedBps"`
	UploadSpeedBps   float64   `json:"uploadSpeedBps"`
	TotalSpeedBps    float64   `json:"totalSpeedBps"`
}

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) Decode

Decode decodes GetStatsNodesRealtimeUsageResponseDtoResponseItem from json.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) Encode

Encode implements json.Marshaler.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetCountryCode

GetCountryCode returns the value of CountryCode.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetDownloadBytes

GetDownloadBytes returns the value of DownloadBytes.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetDownloadSpeedBps

GetDownloadSpeedBps returns the value of DownloadSpeedBps.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetNodeName

GetNodeName returns the value of NodeName.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetNodeUuid

GetNodeUuid returns the value of NodeUuid.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetTotalBytes

GetTotalBytes returns the value of TotalBytes.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetTotalSpeedBps

GetTotalSpeedBps returns the value of TotalSpeedBps.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetUploadBytes

GetUploadBytes returns the value of UploadBytes.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetUploadSpeedBps

GetUploadSpeedBps returns the value of UploadSpeedBps.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetCountryCode

SetCountryCode sets the value of CountryCode.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadBytes

SetDownloadBytes sets the value of DownloadBytes.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadSpeedBps

func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadSpeedBps(val float64)

SetDownloadSpeedBps sets the value of DownloadSpeedBps.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetFake

SetFake set fake values.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetNodeName

SetNodeName sets the value of NodeName.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetNodeUuid

SetNodeUuid sets the value of NodeUuid.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetTotalBytes

SetTotalBytes sets the value of TotalBytes.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetTotalSpeedBps

SetTotalSpeedBps sets the value of TotalSpeedBps.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetUploadBytes

SetUploadBytes sets the value of UploadBytes.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetUploadSpeedBps

SetUploadSpeedBps sets the value of UploadSpeedBps.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) Validate

type GetStatsResponseDto

type GetStatsResponseDto struct {
	Response GetStatsResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetStatsResponseDto

func (*GetStatsResponseDto) Decode

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

Decode decodes GetStatsResponseDto from json.

func (*GetStatsResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GetStatsResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetStatsResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsResponseDto) SetFake

func (s *GetStatsResponseDto) SetFake()

SetFake set fake values.

func (*GetStatsResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetStatsResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsResponseDto) Validate

func (s *GetStatsResponseDto) Validate() error

type GetStatsResponseDtoResponse

type GetStatsResponseDtoResponse struct {
	CPU         GetStatsResponseDtoResponseCPU         `json:"cpu"`
	Memory      GetStatsResponseDtoResponseMemory      `json:"memory"`
	Uptime      float64                                `json:"uptime"`
	Timestamp   float64                                `json:"timestamp"`
	Users       GetStatsResponseDtoResponseUsers       `json:"users"`
	OnlineStats GetStatsResponseDtoResponseOnlineStats `json:"onlineStats"`
	Nodes       GetStatsResponseDtoResponseNodes       `json:"nodes"`
}

func (*GetStatsResponseDtoResponse) Decode

Decode decodes GetStatsResponseDtoResponse from json.

func (*GetStatsResponseDtoResponse) Encode

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

Encode implements json.Marshaler.

func (*GetStatsResponseDtoResponse) GetCPU

GetCPU returns the value of CPU.

func (*GetStatsResponseDtoResponse) GetMemory

GetMemory returns the value of Memory.

func (*GetStatsResponseDtoResponse) GetNodes

GetNodes returns the value of Nodes.

func (*GetStatsResponseDtoResponse) GetOnlineStats

GetOnlineStats returns the value of OnlineStats.

func (*GetStatsResponseDtoResponse) GetTimestamp

func (s *GetStatsResponseDtoResponse) GetTimestamp() float64

GetTimestamp returns the value of Timestamp.

func (*GetStatsResponseDtoResponse) GetUptime

func (s *GetStatsResponseDtoResponse) GetUptime() float64

GetUptime returns the value of Uptime.

func (*GetStatsResponseDtoResponse) GetUsers

GetUsers returns the value of Users.

func (*GetStatsResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsResponseDtoResponse) SetCPU

SetCPU sets the value of CPU.

func (*GetStatsResponseDtoResponse) SetFake

func (s *GetStatsResponseDtoResponse) SetFake()

SetFake set fake values.

func (*GetStatsResponseDtoResponse) SetMemory

SetMemory sets the value of Memory.

func (*GetStatsResponseDtoResponse) SetNodes

SetNodes sets the value of Nodes.

func (*GetStatsResponseDtoResponse) SetOnlineStats

SetOnlineStats sets the value of OnlineStats.

func (*GetStatsResponseDtoResponse) SetTimestamp

func (s *GetStatsResponseDtoResponse) SetTimestamp(val float64)

SetTimestamp sets the value of Timestamp.

func (*GetStatsResponseDtoResponse) SetUptime

func (s *GetStatsResponseDtoResponse) SetUptime(val float64)

SetUptime sets the value of Uptime.

func (*GetStatsResponseDtoResponse) SetUsers

SetUsers sets the value of Users.

func (*GetStatsResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsResponseDtoResponse) Validate

func (s *GetStatsResponseDtoResponse) Validate() error

type GetStatsResponseDtoResponseCPU

type GetStatsResponseDtoResponseCPU struct {
	Cores         float64 `json:"cores"`
	PhysicalCores float64 `json:"physicalCores"`
}

func (*GetStatsResponseDtoResponseCPU) Decode

Decode decodes GetStatsResponseDtoResponseCPU from json.

func (*GetStatsResponseDtoResponseCPU) Encode

Encode implements json.Marshaler.

func (*GetStatsResponseDtoResponseCPU) GetCores

GetCores returns the value of Cores.

func (*GetStatsResponseDtoResponseCPU) GetPhysicalCores

func (s *GetStatsResponseDtoResponseCPU) GetPhysicalCores() float64

GetPhysicalCores returns the value of PhysicalCores.

func (*GetStatsResponseDtoResponseCPU) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsResponseDtoResponseCPU) SetCores

func (s *GetStatsResponseDtoResponseCPU) SetCores(val float64)

SetCores sets the value of Cores.

func (*GetStatsResponseDtoResponseCPU) SetFake

func (s *GetStatsResponseDtoResponseCPU) SetFake()

SetFake set fake values.

func (*GetStatsResponseDtoResponseCPU) SetPhysicalCores

func (s *GetStatsResponseDtoResponseCPU) SetPhysicalCores(val float64)

SetPhysicalCores sets the value of PhysicalCores.

func (*GetStatsResponseDtoResponseCPU) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsResponseDtoResponseCPU) Validate

func (s *GetStatsResponseDtoResponseCPU) Validate() error

type GetStatsResponseDtoResponseMemory

type GetStatsResponseDtoResponseMemory struct {
	Total     float64 `json:"total"`
	Free      float64 `json:"free"`
	Used      float64 `json:"used"`
	Active    float64 `json:"active"`
	Available float64 `json:"available"`
}

func (*GetStatsResponseDtoResponseMemory) Decode

Decode decodes GetStatsResponseDtoResponseMemory from json.

func (*GetStatsResponseDtoResponseMemory) Encode

Encode implements json.Marshaler.

func (*GetStatsResponseDtoResponseMemory) GetActive

GetActive returns the value of Active.

func (*GetStatsResponseDtoResponseMemory) GetAvailable

func (s *GetStatsResponseDtoResponseMemory) GetAvailable() float64

GetAvailable returns the value of Available.

func (*GetStatsResponseDtoResponseMemory) GetFree

GetFree returns the value of Free.

func (*GetStatsResponseDtoResponseMemory) GetTotal

GetTotal returns the value of Total.

func (*GetStatsResponseDtoResponseMemory) GetUsed

GetUsed returns the value of Used.

func (*GetStatsResponseDtoResponseMemory) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsResponseDtoResponseMemory) SetActive

func (s *GetStatsResponseDtoResponseMemory) SetActive(val float64)

SetActive sets the value of Active.

func (*GetStatsResponseDtoResponseMemory) SetAvailable

func (s *GetStatsResponseDtoResponseMemory) SetAvailable(val float64)

SetAvailable sets the value of Available.

func (*GetStatsResponseDtoResponseMemory) SetFake

func (s *GetStatsResponseDtoResponseMemory) SetFake()

SetFake set fake values.

func (*GetStatsResponseDtoResponseMemory) SetFree

SetFree sets the value of Free.

func (*GetStatsResponseDtoResponseMemory) SetTotal

func (s *GetStatsResponseDtoResponseMemory) SetTotal(val float64)

SetTotal sets the value of Total.

func (*GetStatsResponseDtoResponseMemory) SetUsed

SetUsed sets the value of Used.

func (*GetStatsResponseDtoResponseMemory) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsResponseDtoResponseMemory) Validate

type GetStatsResponseDtoResponseNodes

type GetStatsResponseDtoResponseNodes struct {
	TotalOnline        float64 `json:"totalOnline"`
	TotalBytesLifetime string  `json:"totalBytesLifetime"`
}

func (*GetStatsResponseDtoResponseNodes) Decode

Decode decodes GetStatsResponseDtoResponseNodes from json.

func (*GetStatsResponseDtoResponseNodes) Encode

Encode implements json.Marshaler.

func (*GetStatsResponseDtoResponseNodes) GetTotalBytesLifetime

func (s *GetStatsResponseDtoResponseNodes) GetTotalBytesLifetime() string

GetTotalBytesLifetime returns the value of TotalBytesLifetime.

func (*GetStatsResponseDtoResponseNodes) GetTotalOnline

func (s *GetStatsResponseDtoResponseNodes) GetTotalOnline() float64

GetTotalOnline returns the value of TotalOnline.

func (*GetStatsResponseDtoResponseNodes) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsResponseDtoResponseNodes) SetFake

func (s *GetStatsResponseDtoResponseNodes) SetFake()

SetFake set fake values.

func (*GetStatsResponseDtoResponseNodes) SetTotalBytesLifetime

func (s *GetStatsResponseDtoResponseNodes) SetTotalBytesLifetime(val string)

SetTotalBytesLifetime sets the value of TotalBytesLifetime.

func (*GetStatsResponseDtoResponseNodes) SetTotalOnline

func (s *GetStatsResponseDtoResponseNodes) SetTotalOnline(val float64)

SetTotalOnline sets the value of TotalOnline.

func (*GetStatsResponseDtoResponseNodes) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsResponseDtoResponseNodes) Validate

type GetStatsResponseDtoResponseOnlineStats

type GetStatsResponseDtoResponseOnlineStats struct {
	LastDay     float64 `json:"lastDay"`
	LastWeek    float64 `json:"lastWeek"`
	NeverOnline float64 `json:"neverOnline"`
	OnlineNow   float64 `json:"onlineNow"`
}

func (*GetStatsResponseDtoResponseOnlineStats) Decode

Decode decodes GetStatsResponseDtoResponseOnlineStats from json.

func (*GetStatsResponseDtoResponseOnlineStats) Encode

Encode implements json.Marshaler.

func (*GetStatsResponseDtoResponseOnlineStats) GetLastDay

GetLastDay returns the value of LastDay.

func (*GetStatsResponseDtoResponseOnlineStats) GetLastWeek

GetLastWeek returns the value of LastWeek.

func (*GetStatsResponseDtoResponseOnlineStats) GetNeverOnline

func (s *GetStatsResponseDtoResponseOnlineStats) GetNeverOnline() float64

GetNeverOnline returns the value of NeverOnline.

func (*GetStatsResponseDtoResponseOnlineStats) GetOnlineNow

GetOnlineNow returns the value of OnlineNow.

func (*GetStatsResponseDtoResponseOnlineStats) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsResponseDtoResponseOnlineStats) SetFake

SetFake set fake values.

func (*GetStatsResponseDtoResponseOnlineStats) SetLastDay

SetLastDay sets the value of LastDay.

func (*GetStatsResponseDtoResponseOnlineStats) SetLastWeek

func (s *GetStatsResponseDtoResponseOnlineStats) SetLastWeek(val float64)

SetLastWeek sets the value of LastWeek.

func (*GetStatsResponseDtoResponseOnlineStats) SetNeverOnline

func (s *GetStatsResponseDtoResponseOnlineStats) SetNeverOnline(val float64)

SetNeverOnline sets the value of NeverOnline.

func (*GetStatsResponseDtoResponseOnlineStats) SetOnlineNow

func (s *GetStatsResponseDtoResponseOnlineStats) SetOnlineNow(val float64)

SetOnlineNow sets the value of OnlineNow.

func (*GetStatsResponseDtoResponseOnlineStats) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsResponseDtoResponseOnlineStats) Validate

type GetStatsResponseDtoResponseUsers

type GetStatsResponseDtoResponseUsers struct {
	StatusCounts GetStatsResponseDtoResponseUsersStatusCounts `json:"statusCounts"`
	TotalUsers   float64                                      `json:"totalUsers"`
}

func (*GetStatsResponseDtoResponseUsers) Decode

Decode decodes GetStatsResponseDtoResponseUsers from json.

func (*GetStatsResponseDtoResponseUsers) Encode

Encode implements json.Marshaler.

func (*GetStatsResponseDtoResponseUsers) GetStatusCounts

GetStatusCounts returns the value of StatusCounts.

func (*GetStatsResponseDtoResponseUsers) GetTotalUsers

func (s *GetStatsResponseDtoResponseUsers) GetTotalUsers() float64

GetTotalUsers returns the value of TotalUsers.

func (*GetStatsResponseDtoResponseUsers) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsResponseDtoResponseUsers) SetFake

func (s *GetStatsResponseDtoResponseUsers) SetFake()

SetFake set fake values.

func (*GetStatsResponseDtoResponseUsers) SetStatusCounts

SetStatusCounts sets the value of StatusCounts.

func (*GetStatsResponseDtoResponseUsers) SetTotalUsers

func (s *GetStatsResponseDtoResponseUsers) SetTotalUsers(val float64)

SetTotalUsers sets the value of TotalUsers.

func (*GetStatsResponseDtoResponseUsers) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatsResponseDtoResponseUsers) Validate

type GetStatsResponseDtoResponseUsersStatusCounts

type GetStatsResponseDtoResponseUsersStatusCounts map[string]float64

func (*GetStatsResponseDtoResponseUsersStatusCounts) Decode

Decode decodes GetStatsResponseDtoResponseUsersStatusCounts from json.

func (GetStatsResponseDtoResponseUsersStatusCounts) Encode

Encode implements json.Marshaler.

func (GetStatsResponseDtoResponseUsersStatusCounts) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetStatsResponseDtoResponseUsersStatusCounts) SetFake

SetFake set fake values.

func (*GetStatsResponseDtoResponseUsersStatusCounts) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetStatsResponseDtoResponseUsersStatusCounts) Validate

type GetStatusResponseDto

type GetStatusResponseDto struct {
	Response GetStatusResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetStatusResponseDto

func (*GetStatusResponseDto) Decode

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

Decode decodes GetStatusResponseDto from json.

func (*GetStatusResponseDto) Encode

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

Encode implements json.Marshaler.

func (*GetStatusResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetStatusResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatusResponseDto) SetFake

func (s *GetStatusResponseDto) SetFake()

SetFake set fake values.

func (*GetStatusResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetStatusResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatusResponseDto) Validate

func (s *GetStatusResponseDto) Validate() error

type GetStatusResponseDtoResponse

type GetStatusResponseDtoResponse struct {
	IsLoginAllowed    bool                                          `json:"isLoginAllowed"`
	IsRegisterAllowed bool                                          `json:"isRegisterAllowed"`
	Authentication    NilGetStatusResponseDtoResponseAuthentication `json:"authentication"`
	Branding          GetStatusResponseDtoResponseBranding          `json:"branding"`
}

func (*GetStatusResponseDtoResponse) Decode

Decode decodes GetStatusResponseDtoResponse from json.

func (*GetStatusResponseDtoResponse) Encode

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

Encode implements json.Marshaler.

func (*GetStatusResponseDtoResponse) GetAuthentication

GetAuthentication returns the value of Authentication.

func (*GetStatusResponseDtoResponse) GetBranding

GetBranding returns the value of Branding.

func (*GetStatusResponseDtoResponse) GetIsLoginAllowed

func (s *GetStatusResponseDtoResponse) GetIsLoginAllowed() bool

GetIsLoginAllowed returns the value of IsLoginAllowed.

func (*GetStatusResponseDtoResponse) GetIsRegisterAllowed

func (s *GetStatusResponseDtoResponse) GetIsRegisterAllowed() bool

GetIsRegisterAllowed returns the value of IsRegisterAllowed.

func (*GetStatusResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatusResponseDtoResponse) SetAuthentication

SetAuthentication sets the value of Authentication.

func (*GetStatusResponseDtoResponse) SetBranding

SetBranding sets the value of Branding.

func (*GetStatusResponseDtoResponse) SetFake

func (s *GetStatusResponseDtoResponse) SetFake()

SetFake set fake values.

func (*GetStatusResponseDtoResponse) SetIsLoginAllowed

func (s *GetStatusResponseDtoResponse) SetIsLoginAllowed(val bool)

SetIsLoginAllowed sets the value of IsLoginAllowed.

func (*GetStatusResponseDtoResponse) SetIsRegisterAllowed

func (s *GetStatusResponseDtoResponse) SetIsRegisterAllowed(val bool)

SetIsRegisterAllowed sets the value of IsRegisterAllowed.

func (*GetStatusResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatusResponseDtoResponse) Validate

func (s *GetStatusResponseDtoResponse) Validate() error

type GetStatusResponseDtoResponseAuthentication

type GetStatusResponseDtoResponseAuthentication struct {
	Passkey  NilPasswordSettings                              `json:"passkey"`
	TgAuth   GetStatusResponseDtoResponseAuthenticationTgAuth `json:"tgAuth"`
	OAuth2   GetStatusResponseDtoResponseAuthenticationOAuth2 `json:"oauth2"`
	Password NilPasswordSettings                              `json:"password"`
}

func (*GetStatusResponseDtoResponseAuthentication) Decode

Decode decodes GetStatusResponseDtoResponseAuthentication from json.

func (*GetStatusResponseDtoResponseAuthentication) Encode

Encode implements json.Marshaler.

func (*GetStatusResponseDtoResponseAuthentication) GetOAuth2

GetOAuth2 returns the value of OAuth2.

func (*GetStatusResponseDtoResponseAuthentication) GetPasskey

GetPasskey returns the value of Passkey.

func (*GetStatusResponseDtoResponseAuthentication) GetPassword

GetPassword returns the value of Password.

func (*GetStatusResponseDtoResponseAuthentication) GetTgAuth

GetTgAuth returns the value of TgAuth.

func (*GetStatusResponseDtoResponseAuthentication) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetStatusResponseDtoResponseAuthentication) SetFake

SetFake set fake values.

func (*GetStatusResponseDtoResponseAuthentication) SetOAuth2

SetOAuth2 sets the value of OAuth2.

func (*GetStatusResponseDtoResponseAuthentication) SetPasskey

SetPasskey sets the value of Passkey.

func (*GetStatusResponseDtoResponseAuthentication) SetPassword

SetPassword sets the value of Password.

func (*GetStatusResponseDtoResponseAuthentication) SetTgAuth

SetTgAuth sets the value of TgAuth.

func (*GetStatusResponseDtoResponseAuthentication) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatusResponseDtoResponseAuthentication) Validate

type GetStatusResponseDtoResponseAuthenticationOAuth2

type GetStatusResponseDtoResponseAuthenticationOAuth2 struct {
	Providers GetStatusResponseDtoResponseAuthenticationOAuth2Providers `json:"providers"`
}

func (*GetStatusResponseDtoResponseAuthenticationOAuth2) Decode

Decode decodes GetStatusResponseDtoResponseAuthenticationOAuth2 from json.

func (*GetStatusResponseDtoResponseAuthenticationOAuth2) Encode

Encode implements json.Marshaler.

func (*GetStatusResponseDtoResponseAuthenticationOAuth2) GetProviders

GetProviders returns the value of Providers.

func (*GetStatusResponseDtoResponseAuthenticationOAuth2) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetStatusResponseDtoResponseAuthenticationOAuth2) SetFake

SetFake set fake values.

func (*GetStatusResponseDtoResponseAuthenticationOAuth2) SetProviders

SetProviders sets the value of Providers.

func (*GetStatusResponseDtoResponseAuthenticationOAuth2) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetStatusResponseDtoResponseAuthenticationOAuth2Providers

type GetStatusResponseDtoResponseAuthenticationOAuth2Providers map[string]bool

func (*GetStatusResponseDtoResponseAuthenticationOAuth2Providers) Decode

Decode decodes GetStatusResponseDtoResponseAuthenticationOAuth2Providers from json.

func (GetStatusResponseDtoResponseAuthenticationOAuth2Providers) Encode

Encode implements json.Marshaler.

func (GetStatusResponseDtoResponseAuthenticationOAuth2Providers) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetStatusResponseDtoResponseAuthenticationOAuth2Providers) SetFake

SetFake set fake values.

func (*GetStatusResponseDtoResponseAuthenticationOAuth2Providers) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetStatusResponseDtoResponseAuthenticationTgAuth

type GetStatusResponseDtoResponseAuthenticationTgAuth struct {
	Enabled bool       `json:"enabled"`
	BotId   NilFloat64 `json:"botId"`
}

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) Decode

Decode decodes GetStatusResponseDtoResponseAuthenticationTgAuth from json.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) Encode

Encode implements json.Marshaler.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) GetBotId

GetBotId returns the value of BotId.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) GetEnabled

GetEnabled returns the value of Enabled.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) SetBotId

SetBotId sets the value of BotId.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) SetEnabled

SetEnabled sets the value of Enabled.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) SetFake

SetFake set fake values.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetStatusResponseDtoResponseAuthenticationTgAuth) Validate

type GetStatusResponseDtoResponseBranding

type GetStatusResponseDtoResponseBranding struct {
	Title   NilString `json:"title"`
	LogoUrl NilString `json:"logoUrl"`
}

func (*GetStatusResponseDtoResponseBranding) Decode

Decode decodes GetStatusResponseDtoResponseBranding from json.

func (*GetStatusResponseDtoResponseBranding) Encode

Encode implements json.Marshaler.

func (*GetStatusResponseDtoResponseBranding) GetLogoUrl

GetLogoUrl returns the value of LogoUrl.

func (*GetStatusResponseDtoResponseBranding) GetTitle

GetTitle returns the value of Title.

func (*GetStatusResponseDtoResponseBranding) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetStatusResponseDtoResponseBranding) SetFake

SetFake set fake values.

func (*GetStatusResponseDtoResponseBranding) SetLogoUrl

SetLogoUrl sets the value of LogoUrl.

func (*GetStatusResponseDtoResponseBranding) SetTitle

SetTitle sets the value of Title.

func (*GetStatusResponseDtoResponseBranding) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetStatusResponseDtoStatusCode

type GetStatusResponseDtoStatusCode struct {
	StatusCode int
	Response   GetStatusResponseDto
}

GetStatusResponseDtoStatusCode wraps GetStatusResponseDto with StatusCode.

func (*GetStatusResponseDtoStatusCode) GetResponse

GetResponse returns the value of Response.

func (*GetStatusResponseDtoStatusCode) GetStatusCode

func (s *GetStatusResponseDtoStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*GetStatusResponseDtoStatusCode) SetResponse

SetResponse sets the value of Response.

func (*GetStatusResponseDtoStatusCode) SetStatusCode

func (s *GetStatusResponseDtoStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*GetStatusResponseDtoStatusCode) Validate

func (s *GetStatusResponseDtoStatusCode) Validate() error

type GetSubpageConfigByShortUuidRequestBodyDto

type GetSubpageConfigByShortUuidRequestBodyDto struct {
	RequestHeaders GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders `json:"requestHeaders"`
}

Ref: #/components/schemas/GetSubpageConfigByShortUuidRequestBodyDto

func (*GetSubpageConfigByShortUuidRequestBodyDto) Decode

Decode decodes GetSubpageConfigByShortUuidRequestBodyDto from json.

func (*GetSubpageConfigByShortUuidRequestBodyDto) Encode

Encode implements json.Marshaler.

func (*GetSubpageConfigByShortUuidRequestBodyDto) GetRequestHeaders

GetRequestHeaders returns the value of RequestHeaders.

func (*GetSubpageConfigByShortUuidRequestBodyDto) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetSubpageConfigByShortUuidRequestBodyDto) SetFake

SetFake set fake values.

func (*GetSubpageConfigByShortUuidRequestBodyDto) SetRequestHeaders

SetRequestHeaders sets the value of RequestHeaders.

func (*GetSubpageConfigByShortUuidRequestBodyDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders

type GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders map[string]string

func (*GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) Decode

Decode decodes GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders from json.

func (GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) Encode

Encode implements json.Marshaler.

func (GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) SetFake

SetFake set fake values.

func (*GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSubpageConfigByShortUuidResponseDto

type GetSubpageConfigByShortUuidResponseDto struct {
	Response GetSubpageConfigByShortUuidResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetSubpageConfigByShortUuidResponseDto

func (*GetSubpageConfigByShortUuidResponseDto) Decode

Decode decodes GetSubpageConfigByShortUuidResponseDto from json.

func (*GetSubpageConfigByShortUuidResponseDto) Encode

Encode implements json.Marshaler.

func (*GetSubpageConfigByShortUuidResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetSubpageConfigByShortUuidResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetSubpageConfigByShortUuidResponseDto) SetFake

SetFake set fake values.

func (*GetSubpageConfigByShortUuidResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetSubpageConfigByShortUuidResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSubpageConfigByShortUuidResponseDtoResponse

type GetSubpageConfigByShortUuidResponseDtoResponse struct {
	SubpageConfigUuid NilUUID `json:"subpageConfigUuid"`
	WebpageAllowed    bool    `json:"webpageAllowed"`
}

func (*GetSubpageConfigByShortUuidResponseDtoResponse) Decode

Decode decodes GetSubpageConfigByShortUuidResponseDtoResponse from json.

func (*GetSubpageConfigByShortUuidResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetSubpageConfigByShortUuidResponseDtoResponse) GetSubpageConfigUuid

func (s *GetSubpageConfigByShortUuidResponseDtoResponse) GetSubpageConfigUuid() NilUUID

GetSubpageConfigUuid returns the value of SubpageConfigUuid.

func (*GetSubpageConfigByShortUuidResponseDtoResponse) GetWebpageAllowed

GetWebpageAllowed returns the value of WebpageAllowed.

func (*GetSubpageConfigByShortUuidResponseDtoResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetSubpageConfigByShortUuidResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetSubpageConfigByShortUuidResponseDtoResponse) SetSubpageConfigUuid

func (s *GetSubpageConfigByShortUuidResponseDtoResponse) SetSubpageConfigUuid(val NilUUID)

SetSubpageConfigUuid sets the value of SubpageConfigUuid.

func (*GetSubpageConfigByShortUuidResponseDtoResponse) SetWebpageAllowed

func (s *GetSubpageConfigByShortUuidResponseDtoResponse) SetWebpageAllowed(val bool)

SetWebpageAllowed sets the value of WebpageAllowed.

func (*GetSubpageConfigByShortUuidResponseDtoResponse) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSubscriptionRequestHistoryResponseDto

type GetSubscriptionRequestHistoryResponseDto struct {
	Response UserSubscriptionHistory `json:"response"`
}

Ref: #/components/schemas/GetSubscriptionRequestHistoryResponseDto

func (*GetSubscriptionRequestHistoryResponseDto) Decode

Decode decodes GetSubscriptionRequestHistoryResponseDto from json.

func (*GetSubscriptionRequestHistoryResponseDto) Encode

Encode implements json.Marshaler.

func (*GetSubscriptionRequestHistoryResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetSubscriptionRequestHistoryResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetSubscriptionRequestHistoryResponseDto) SetFake

SetFake set fake values.

func (*GetSubscriptionRequestHistoryResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetSubscriptionRequestHistoryResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetSubscriptionRequestHistoryResponseDto) Validate

type GetSubscriptionRequestHistoryStatsResponseDto

type GetSubscriptionRequestHistoryStatsResponseDto struct {
	Response GetSubscriptionRequestHistoryStatsResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetSubscriptionRequestHistoryStatsResponseDto

func (*GetSubscriptionRequestHistoryStatsResponseDto) Decode

Decode decodes GetSubscriptionRequestHistoryStatsResponseDto from json.

func (*GetSubscriptionRequestHistoryStatsResponseDto) Encode

Encode implements json.Marshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetSubscriptionRequestHistoryStatsResponseDto) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDto) SetFake

SetFake set fake values.

func (*GetSubscriptionRequestHistoryStatsResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetSubscriptionRequestHistoryStatsResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDto) Validate

type GetSubscriptionRequestHistoryStatsResponseDtoResponse

type GetSubscriptionRequestHistoryStatsResponseDtoResponse struct {
	ByParsedApp        []ByAppItem                                                                   `json:"byParsedApp"`
	HourlyRequestStats []GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem `json:"hourlyRequestStats"`
}

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) Decode

Decode decodes GetSubscriptionRequestHistoryStatsResponseDtoResponse from json.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) GetByParsedApp

GetByParsedApp returns the value of ByParsedApp.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) GetHourlyRequestStats

GetHourlyRequestStats returns the value of HourlyRequestStats.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetByParsedApp

SetByParsedApp sets the value of ByParsedApp.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetHourlyRequestStats

SetHourlyRequestStats sets the value of HourlyRequestStats.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) Validate

type GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem

type GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem struct {
	DateTime     time.Time `json:"dateTime"`
	RequestCount float64   `json:"requestCount"`
}

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Decode

Decode decodes GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem from json.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Encode

Encode implements json.Marshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) GetDateTime

GetDateTime returns the value of DateTime.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) GetRequestCount

GetRequestCount returns the value of RequestCount.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetDateTime

SetDateTime sets the value of DateTime.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetFake

SetFake set fake values.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetRequestCount

SetRequestCount sets the value of RequestCount.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Validate

type GetTopUsersByHwidDevicesResponseDto

type GetTopUsersByHwidDevicesResponseDto struct {
	Response GetTopUsersByHwidDevicesResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetTopUsersByHwidDevicesResponseDto

func (*GetTopUsersByHwidDevicesResponseDto) Decode

Decode decodes GetTopUsersByHwidDevicesResponseDto from json.

func (*GetTopUsersByHwidDevicesResponseDto) Encode

Encode implements json.Marshaler.

func (*GetTopUsersByHwidDevicesResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetTopUsersByHwidDevicesResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetTopUsersByHwidDevicesResponseDto) SetFake

SetFake set fake values.

func (*GetTopUsersByHwidDevicesResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetTopUsersByHwidDevicesResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTopUsersByHwidDevicesResponseDto) Validate

type GetTopUsersByHwidDevicesResponseDtoResponse

type GetTopUsersByHwidDevicesResponseDtoResponse struct {
	Users []GetTopUsersByHwidDevicesResponseDtoResponseUsersItem `json:"users"`
	Total float64                                                `json:"total"`
}

func (*GetTopUsersByHwidDevicesResponseDtoResponse) Decode

Decode decodes GetTopUsersByHwidDevicesResponseDtoResponse from json.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) GetTotal

GetTotal returns the value of Total.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) GetUsers

GetUsers returns the value of Users.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) SetTotal

SetTotal sets the value of Total.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) SetUsers

SetUsers sets the value of Users.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTopUsersByHwidDevicesResponseDtoResponse) Validate

type GetTopUsersByHwidDevicesResponseDtoResponseUsersItem

type GetTopUsersByHwidDevicesResponseDtoResponseUsersItem struct {
	UserUuid     uuid.UUID `json:"userUuid"`
	ID           float64   `json:"id"`
	Username     string    `json:"username"`
	DevicesCount float64   `json:"devicesCount"`
}

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Decode

Decode decodes GetTopUsersByHwidDevicesResponseDtoResponseUsersItem from json.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Encode

Encode implements json.Marshaler.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetDevicesCount

GetDevicesCount returns the value of DevicesCount.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetID

GetID returns the value of ID.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetUserUuid

GetUserUuid returns the value of UserUuid.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetUsername

GetUsername returns the value of Username.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetDevicesCount

SetDevicesCount sets the value of DevicesCount.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetFake

SetFake set fake values.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetID

SetID sets the value of ID.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetUserUuid

SetUserUuid sets the value of UserUuid.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetUsername

SetUsername sets the value of Username.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Validate

type GetUserAccessibleNodesResponseDto

type GetUserAccessibleNodesResponseDto struct {
	Response GetUserAccessibleNodesResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/GetUserAccessibleNodesResponseDto

func (*GetUserAccessibleNodesResponseDto) Decode

Decode decodes GetUserAccessibleNodesResponseDto from json.

func (*GetUserAccessibleNodesResponseDto) Encode

Encode implements json.Marshaler.

func (*GetUserAccessibleNodesResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetUserAccessibleNodesResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetUserAccessibleNodesResponseDto) SetFake

func (s *GetUserAccessibleNodesResponseDto) SetFake()

SetFake set fake values.

func (*GetUserAccessibleNodesResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetUserAccessibleNodesResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUserAccessibleNodesResponseDto) Validate

type GetUserAccessibleNodesResponseDtoResponse

type GetUserAccessibleNodesResponseDtoResponse struct {
	UserUuid    uuid.UUID                                                  `json:"userUuid"`
	ActiveNodes []GetUserAccessibleNodesResponseDtoResponseActiveNodesItem `json:"activeNodes"`
}

func (*GetUserAccessibleNodesResponseDtoResponse) Decode

Decode decodes GetUserAccessibleNodesResponseDtoResponse from json.

func (*GetUserAccessibleNodesResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*GetUserAccessibleNodesResponseDtoResponse) GetActiveNodes

GetActiveNodes returns the value of ActiveNodes.

func (*GetUserAccessibleNodesResponseDtoResponse) GetUserUuid

GetUserUuid returns the value of UserUuid.

func (*GetUserAccessibleNodesResponseDtoResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetUserAccessibleNodesResponseDtoResponse) SetActiveNodes

SetActiveNodes sets the value of ActiveNodes.

func (*GetUserAccessibleNodesResponseDtoResponse) SetFake

SetFake set fake values.

func (*GetUserAccessibleNodesResponseDtoResponse) SetUserUuid

SetUserUuid sets the value of UserUuid.

func (*GetUserAccessibleNodesResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUserAccessibleNodesResponseDtoResponse) Validate

type GetUserAccessibleNodesResponseDtoResponseActiveNodesItem

type GetUserAccessibleNodesResponseDtoResponseActiveNodesItem struct {
	UUID              uuid.UUID                                                                  `json:"uuid"`
	NodeName          string                                                                     `json:"nodeName"`
	CountryCode       string                                                                     `json:"countryCode"`
	ConfigProfileUuid uuid.UUID                                                                  `json:"configProfileUuid"`
	ConfigProfileName string                                                                     `json:"configProfileName"`
	ActiveSquads      []GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem `json:"activeSquads"`
}

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Decode

Decode decodes GetUserAccessibleNodesResponseDtoResponseActiveNodesItem from json.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Encode

Encode implements json.Marshaler.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetActiveSquads

GetActiveSquads returns the value of ActiveSquads.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetConfigProfileName

GetConfigProfileName returns the value of ConfigProfileName.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetConfigProfileUuid

GetConfigProfileUuid returns the value of ConfigProfileUuid.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetCountryCode

GetCountryCode returns the value of CountryCode.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetNodeName

GetNodeName returns the value of NodeName.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetUUID

GetUUID returns the value of UUID.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetActiveSquads

SetActiveSquads sets the value of ActiveSquads.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetConfigProfileName

SetConfigProfileName sets the value of ConfigProfileName.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetConfigProfileUuid

SetConfigProfileUuid sets the value of ConfigProfileUuid.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetCountryCode

SetCountryCode sets the value of CountryCode.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetFake

SetFake set fake values.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetNodeName

SetNodeName sets the value of NodeName.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetUUID

SetUUID sets the value of UUID.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Validate

type GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem

type GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem struct {
	SquadName      string   `json:"squadName"`
	ActiveInbounds []string `json:"activeInbounds"`
}

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Decode

Decode decodes GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem from json.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Encode

Encode implements json.Marshaler.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) GetActiveInbounds

GetActiveInbounds returns the value of ActiveInbounds.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) GetSquadName

GetSquadName returns the value of SquadName.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetActiveInbounds

SetActiveInbounds sets the value of ActiveInbounds.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetFake

SetFake set fake values.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetSquadName

SetSquadName sets the value of SquadName.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Validate

type GetUserSubscriptionRequestHistoryResponseDto

type GetUserSubscriptionRequestHistoryResponseDto struct {
	Response UserSubscriptionHistory `json:"response"`
}

Ref: #/components/schemas/GetUserSubscriptionRequestHistoryResponseDto

func (*GetUserSubscriptionRequestHistoryResponseDto) Decode

Decode decodes GetUserSubscriptionRequestHistoryResponseDto from json.

func (*GetUserSubscriptionRequestHistoryResponseDto) Encode

Encode implements json.Marshaler.

func (*GetUserSubscriptionRequestHistoryResponseDto) GetResponse

GetResponse returns the value of Response.

func (*GetUserSubscriptionRequestHistoryResponseDto) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetUserSubscriptionRequestHistoryResponseDto) SetFake

SetFake set fake values.

func (*GetUserSubscriptionRequestHistoryResponseDto) SetResponse

SetResponse sets the value of Response.

func (*GetUserSubscriptionRequestHistoryResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUserSubscriptionRequestHistoryResponseDto) Validate

type Github

type Github struct {
	Enabled       bool      `json:"enabled"`
	ClientId      NilString `json:"clientId"`
	ClientSecret  NilString `json:"clientSecret"`
	AllowedEmails []string  `json:"allowedEmails"`
}

Ref: #/components/schemas/Github

func (*Github) Decode

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

Decode decodes Github from json.

func (*Github) Encode

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

Encode implements json.Marshaler.

func (*Github) GetAllowedEmails

func (s *Github) GetAllowedEmails() []string

GetAllowedEmails returns the value of AllowedEmails.

func (*Github) GetClientId

func (s *Github) GetClientId() NilString

GetClientId returns the value of ClientId.

func (*Github) GetClientSecret

func (s *Github) GetClientSecret() NilString

GetClientSecret returns the value of ClientSecret.

func (*Github) GetEnabled

func (s *Github) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*Github) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Github) SetAllowedEmails

func (s *Github) SetAllowedEmails(val []string)

SetAllowedEmails sets the value of AllowedEmails.

func (*Github) SetClientId

func (s *Github) SetClientId(val NilString)

SetClientId sets the value of ClientId.

func (*Github) SetClientSecret

func (s *Github) SetClientSecret(val NilString)

SetClientSecret sets the value of ClientSecret.

func (*Github) SetEnabled

func (s *Github) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*Github) SetFake

func (s *Github) SetFake()

SetFake set fake values.

func (*Github) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Github) Validate

func (s *Github) Validate() error
type Header struct {
	// {"markdownDescription":"Key of the response header. Must comply with RFC 7230."}.
	Key string `json:"key"`
	// {"markdownDescription":"Value of the response header. "}.
	Value string `json:"value"`
}

{"markdownDescription":"**Key** and **value** of the response header will be added to the response. "}. Ref: #/components/schemas/Header

func (*Header) Decode

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

Decode decodes Header from json.

func (*Header) Encode

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

Encode implements json.Marshaler.

func (*Header) GetKey

func (s *Header) GetKey() string

GetKey returns the value of Key.

func (*Header) GetValue

func (s *Header) GetValue() string

GetValue returns the value of Value.

func (*Header) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Header) SetFake

func (s *Header) SetFake()

SetFake set fake values.

func (*Header) SetKey

func (s *Header) SetKey(val string)

SetKey sets the value of Key.

func (*Header) SetValue

func (s *Header) SetValue(val string)

SetValue sets the value of Value.

func (*Header) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Header) Validate

func (s *Header) Validate() error

type HostItem

type HostItem struct {
	UUID                   uuid.UUID                `json:"uuid"`
	ViewPosition           int                      `json:"viewPosition"`
	Remark                 string                   `json:"remark"`
	Address                string                   `json:"address"`
	Port                   int                      `json:"port"`
	Path                   NilString                `json:"path"`
	Sni                    NilString                `json:"sni"`
	Host                   NilString                `json:"host"`
	Alpn                   NilString                `json:"alpn"`
	Fingerprint            NilString                `json:"fingerprint"`
	IsDisabled             OptBool                  `json:"isDisabled"`
	SecurityLayer          OptHostItemSecurityLayer `json:"securityLayer"`
	XHttpExtraParams       jx.Raw                   `json:"xHttpExtraParams"`
	MuxParams              jx.Raw                   `json:"muxParams"`
	SockoptParams          jx.Raw                   `json:"sockoptParams"`
	Inbound                InboundItem              `json:"inbound"`
	ServerDescription      NilString                `json:"serverDescription"`
	Tag                    NilString                `json:"tag"`
	IsHidden               OptBool                  `json:"isHidden"`
	OverrideSniFromAddress OptBool                  `json:"overrideSniFromAddress"`
	KeepSniBlank           OptBool                  `json:"keepSniBlank"`
	VlessRouteId           NilInt                   `json:"vlessRouteId"`
	AllowInsecure          OptBool                  `json:"allowInsecure"`
	ShuffleHost            bool                     `json:"shuffleHost"`
	MihomoX25519           bool                     `json:"mihomoX25519"`
	Nodes                  []uuid.UUID              `json:"nodes"`
	XrayJsonTemplateUuid   NilUUID                  `json:"xrayJsonTemplateUuid"`
	ExcludedInternalSquads []uuid.UUID              `json:"excludedInternalSquads"`
}

Ref: #/components/schemas/HostItem

func (*HostItem) Decode

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

Decode decodes HostItem from json.

func (*HostItem) Encode

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

Encode implements json.Marshaler.

func (*HostItem) GetAddress

func (s *HostItem) GetAddress() string

GetAddress returns the value of Address.

func (*HostItem) GetAllowInsecure

func (s *HostItem) GetAllowInsecure() OptBool

GetAllowInsecure returns the value of AllowInsecure.

func (*HostItem) GetAlpn

func (s *HostItem) GetAlpn() NilString

GetAlpn returns the value of Alpn.

func (*HostItem) GetExcludedInternalSquads

func (s *HostItem) GetExcludedInternalSquads() []uuid.UUID

GetExcludedInternalSquads returns the value of ExcludedInternalSquads.

func (*HostItem) GetFingerprint

func (s *HostItem) GetFingerprint() NilString

GetFingerprint returns the value of Fingerprint.

func (*HostItem) GetHost

func (s *HostItem) GetHost() NilString

GetHost returns the value of Host.

func (*HostItem) GetInbound

func (s *HostItem) GetInbound() InboundItem

GetInbound returns the value of Inbound.

func (*HostItem) GetIsDisabled

func (s *HostItem) GetIsDisabled() OptBool

GetIsDisabled returns the value of IsDisabled.

func (*HostItem) GetIsHidden

func (s *HostItem) GetIsHidden() OptBool

GetIsHidden returns the value of IsHidden.

func (*HostItem) GetKeepSniBlank

func (s *HostItem) GetKeepSniBlank() OptBool

GetKeepSniBlank returns the value of KeepSniBlank.

func (*HostItem) GetMihomoX25519

func (s *HostItem) GetMihomoX25519() bool

GetMihomoX25519 returns the value of MihomoX25519.

func (*HostItem) GetMuxParams

func (s *HostItem) GetMuxParams() jx.Raw

GetMuxParams returns the value of MuxParams.

func (*HostItem) GetNodes

func (s *HostItem) GetNodes() []uuid.UUID

GetNodes returns the value of Nodes.

func (*HostItem) GetOverrideSniFromAddress

func (s *HostItem) GetOverrideSniFromAddress() OptBool

GetOverrideSniFromAddress returns the value of OverrideSniFromAddress.

func (*HostItem) GetPath

func (s *HostItem) GetPath() NilString

GetPath returns the value of Path.

func (*HostItem) GetPort

func (s *HostItem) GetPort() int

GetPort returns the value of Port.

func (*HostItem) GetRemark

func (s *HostItem) GetRemark() string

GetRemark returns the value of Remark.

func (*HostItem) GetSecurityLayer

func (s *HostItem) GetSecurityLayer() OptHostItemSecurityLayer

GetSecurityLayer returns the value of SecurityLayer.

func (*HostItem) GetServerDescription

func (s *HostItem) GetServerDescription() NilString

GetServerDescription returns the value of ServerDescription.

func (*HostItem) GetShuffleHost

func (s *HostItem) GetShuffleHost() bool

GetShuffleHost returns the value of ShuffleHost.

func (*HostItem) GetSni

func (s *HostItem) GetSni() NilString

GetSni returns the value of Sni.

func (*HostItem) GetSockoptParams

func (s *HostItem) GetSockoptParams() jx.Raw

GetSockoptParams returns the value of SockoptParams.

func (*HostItem) GetTag

func (s *HostItem) GetTag() NilString

GetTag returns the value of Tag.

func (*HostItem) GetUUID

func (s *HostItem) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*HostItem) GetViewPosition

func (s *HostItem) GetViewPosition() int

GetViewPosition returns the value of ViewPosition.

func (*HostItem) GetVlessRouteId

func (s *HostItem) GetVlessRouteId() NilInt

GetVlessRouteId returns the value of VlessRouteId.

func (*HostItem) GetXHttpExtraParams

func (s *HostItem) GetXHttpExtraParams() jx.Raw

GetXHttpExtraParams returns the value of XHttpExtraParams.

func (*HostItem) GetXrayJsonTemplateUuid

func (s *HostItem) GetXrayJsonTemplateUuid() NilUUID

GetXrayJsonTemplateUuid returns the value of XrayJsonTemplateUuid.

func (*HostItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HostItem) SetAddress

func (s *HostItem) SetAddress(val string)

SetAddress sets the value of Address.

func (*HostItem) SetAllowInsecure

func (s *HostItem) SetAllowInsecure(val OptBool)

SetAllowInsecure sets the value of AllowInsecure.

func (*HostItem) SetAlpn

func (s *HostItem) SetAlpn(val NilString)

SetAlpn sets the value of Alpn.

func (*HostItem) SetExcludedInternalSquads

func (s *HostItem) SetExcludedInternalSquads(val []uuid.UUID)

SetExcludedInternalSquads sets the value of ExcludedInternalSquads.

func (*HostItem) SetFake

func (s *HostItem) SetFake()

SetFake set fake values.

func (*HostItem) SetFingerprint

func (s *HostItem) SetFingerprint(val NilString)

SetFingerprint sets the value of Fingerprint.

func (*HostItem) SetHost

func (s *HostItem) SetHost(val NilString)

SetHost sets the value of Host.

func (*HostItem) SetInbound

func (s *HostItem) SetInbound(val InboundItem)

SetInbound sets the value of Inbound.

func (*HostItem) SetIsDisabled

func (s *HostItem) SetIsDisabled(val OptBool)

SetIsDisabled sets the value of IsDisabled.

func (*HostItem) SetIsHidden

func (s *HostItem) SetIsHidden(val OptBool)

SetIsHidden sets the value of IsHidden.

func (*HostItem) SetKeepSniBlank

func (s *HostItem) SetKeepSniBlank(val OptBool)

SetKeepSniBlank sets the value of KeepSniBlank.

func (*HostItem) SetMihomoX25519

func (s *HostItem) SetMihomoX25519(val bool)

SetMihomoX25519 sets the value of MihomoX25519.

func (*HostItem) SetMuxParams

func (s *HostItem) SetMuxParams(val jx.Raw)

SetMuxParams sets the value of MuxParams.

func (*HostItem) SetNodes

func (s *HostItem) SetNodes(val []uuid.UUID)

SetNodes sets the value of Nodes.

func (*HostItem) SetOverrideSniFromAddress

func (s *HostItem) SetOverrideSniFromAddress(val OptBool)

SetOverrideSniFromAddress sets the value of OverrideSniFromAddress.

func (*HostItem) SetPath

func (s *HostItem) SetPath(val NilString)

SetPath sets the value of Path.

func (*HostItem) SetPort

func (s *HostItem) SetPort(val int)

SetPort sets the value of Port.

func (*HostItem) SetRemark

func (s *HostItem) SetRemark(val string)

SetRemark sets the value of Remark.

func (*HostItem) SetSecurityLayer

func (s *HostItem) SetSecurityLayer(val OptHostItemSecurityLayer)

SetSecurityLayer sets the value of SecurityLayer.

func (*HostItem) SetServerDescription

func (s *HostItem) SetServerDescription(val NilString)

SetServerDescription sets the value of ServerDescription.

func (*HostItem) SetShuffleHost

func (s *HostItem) SetShuffleHost(val bool)

SetShuffleHost sets the value of ShuffleHost.

func (*HostItem) SetSni

func (s *HostItem) SetSni(val NilString)

SetSni sets the value of Sni.

func (*HostItem) SetSockoptParams

func (s *HostItem) SetSockoptParams(val jx.Raw)

SetSockoptParams sets the value of SockoptParams.

func (*HostItem) SetTag

func (s *HostItem) SetTag(val NilString)

SetTag sets the value of Tag.

func (*HostItem) SetUUID

func (s *HostItem) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*HostItem) SetViewPosition

func (s *HostItem) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*HostItem) SetVlessRouteId

func (s *HostItem) SetVlessRouteId(val NilInt)

SetVlessRouteId sets the value of VlessRouteId.

func (*HostItem) SetXHttpExtraParams

func (s *HostItem) SetXHttpExtraParams(val jx.Raw)

SetXHttpExtraParams sets the value of XHttpExtraParams.

func (*HostItem) SetXrayJsonTemplateUuid

func (s *HostItem) SetXrayJsonTemplateUuid(val NilUUID)

SetXrayJsonTemplateUuid sets the value of XrayJsonTemplateUuid.

func (*HostItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HostItem) Validate

func (s *HostItem) Validate() error

type HostItemSecurityLayer

type HostItemSecurityLayer string
const (
	HostItemSecurityLayerDEFAULT HostItemSecurityLayer = "DEFAULT"
	HostItemSecurityLayerTLS     HostItemSecurityLayer = "TLS"
	HostItemSecurityLayerNONE    HostItemSecurityLayer = "NONE"
)

func (HostItemSecurityLayer) AllValues

AllValues returns all HostItemSecurityLayer values.

func (*HostItemSecurityLayer) Decode

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

Decode decodes HostItemSecurityLayer from json.

func (HostItemSecurityLayer) Encode

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

Encode encodes HostItemSecurityLayer as json.

func (HostItemSecurityLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (HostItemSecurityLayer) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*HostItemSecurityLayer) SetFake

func (s *HostItemSecurityLayer) SetFake()

SetFake set fake values.

func (*HostItemSecurityLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HostItemSecurityLayer) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (HostItemSecurityLayer) Validate

func (s HostItemSecurityLayer) Validate() error

type HostListResponse

type HostListResponse struct {
	Response []HostItem `json:"response"`
}

Ref: #/components/schemas/HostListResponse

func (*HostListResponse) Decode

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

Decode decodes HostListResponse from json.

func (*HostListResponse) Encode

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

Encode implements json.Marshaler.

func (*HostListResponse) GetResponse

func (s *HostListResponse) GetResponse() []HostItem

GetResponse returns the value of Response.

func (*HostListResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HostListResponse) SetFake

func (s *HostListResponse) SetFake()

SetFake set fake values.

func (*HostListResponse) SetResponse

func (s *HostListResponse) SetResponse(val []HostItem)

SetResponse sets the value of Response.

func (*HostListResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HostListResponse) Validate

func (s *HostListResponse) Validate() error

type HostOverride

type HostOverride struct {
	ServerDescription OptNilString `json:"serverDescription"`
	VlessRouteId      OptNilInt    `json:"vlessRouteId"`
}

Ref: #/components/schemas/HostOverride

func (*HostOverride) Decode

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

Decode decodes HostOverride from json.

func (*HostOverride) Encode

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

Encode implements json.Marshaler.

func (*HostOverride) GetServerDescription

func (s *HostOverride) GetServerDescription() OptNilString

GetServerDescription returns the value of ServerDescription.

func (*HostOverride) GetVlessRouteId

func (s *HostOverride) GetVlessRouteId() OptNilInt

GetVlessRouteId returns the value of VlessRouteId.

func (*HostOverride) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HostOverride) SetFake

func (s *HostOverride) SetFake()

SetFake set fake values.

func (*HostOverride) SetServerDescription

func (s *HostOverride) SetServerDescription(val OptNilString)

SetServerDescription sets the value of ServerDescription.

func (*HostOverride) SetVlessRouteId

func (s *HostOverride) SetVlessRouteId(val OptNilInt)

SetVlessRouteId sets the value of VlessRouteId.

func (*HostOverride) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HostOverride) Validate

func (s *HostOverride) Validate() error

type HostResponse

type HostResponse struct {
	Response HostItem `json:"response"`
}

Ref: #/components/schemas/HostResponse

func (*HostResponse) Decode

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

Decode decodes HostResponse from json.

func (*HostResponse) Encode

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

Encode implements json.Marshaler.

func (*HostResponse) GetResponse

func (s *HostResponse) GetResponse() HostItem

GetResponse returns the value of Response.

func (*HostResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HostResponse) SetFake

func (s *HostResponse) SetFake()

SetFake set fake values.

func (*HostResponse) SetResponse

func (s *HostResponse) SetResponse(val HostItem)

SetResponse sets the value of Response.

func (*HostResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HostResponse) Validate

func (s *HostResponse) Validate() error

type HostsBulkActionsClient

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

HostsBulkActionsClient provides HostsBulkActions operations.

func NewHostsBulkActionsClient

func NewHostsBulkActionsClient(client *Client) *HostsBulkActionsClient

NewHostsBulkActionsClient creates a new HostsBulkActionsClient.

func (*HostsBulkActionsClient) DeleteHosts

DeleteHosts calls HostsBulkActionsController_deleteHosts.

func (*HostsBulkActionsClient) DisableHosts

DisableHosts calls HostsBulkActionsController_disableHosts.

func (*HostsBulkActionsClient) EnableHosts

EnableHosts calls HostsBulkActionsController_enableHosts.

func (*HostsBulkActionsClient) SetInboundToHosts

SetInboundToHosts calls HostsBulkActionsController_setInboundToHosts.

func (*HostsBulkActionsClient) SetPortToHosts

SetPortToHosts calls HostsBulkActionsController_setPortToHosts.

type HostsBulkActionsControllerDeleteHostsRes

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

type HostsBulkActionsControllerDisableHostsRes

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

type HostsBulkActionsControllerEnableHostsRes

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

type HostsBulkActionsControllerSetInboundToHostsRes

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

type HostsBulkActionsControllerSetPortToHostsRes

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

type HostsClient

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

HostsClient provides Hosts operations.

func NewHostsClient

func NewHostsClient(client *Client) *HostsClient

NewHostsClient creates a new HostsClient.

func (*HostsClient) CreateHost

CreateHost calls HostsController_createHost.

func (*HostsClient) DeleteHost

func (sc *HostsClient) DeleteHost(ctx context.Context, uuid string) (HostsControllerDeleteHostRes, error)

DeleteHost calls HostsController_deleteHost.

func (*HostsClient) GetAllHostTags

GetAllHostTags calls HostsController_getAllHostTags.

func (*HostsClient) GetAllHosts

GetAllHosts calls HostsController_getAllHosts.

func (*HostsClient) GetOneHost

func (sc *HostsClient) GetOneHost(ctx context.Context, uuid string) (HostsControllerGetOneHostRes, error)

GetOneHost calls HostsController_getOneHost.

func (*HostsClient) ReorderHosts

ReorderHosts calls HostsController_reorderHosts.

func (*HostsClient) UpdateHost

UpdateHost calls HostsController_updateHost.

type HostsControllerCreateHostRes

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

type HostsControllerDeleteHostParams

type HostsControllerDeleteHostParams struct {
	// UUID of the host.
	UUID string
}

HostsControllerDeleteHostParams is parameters of HostsController_deleteHost operation.

type HostsControllerDeleteHostRes

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

type HostsControllerGetAllHostTagsRes

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

type HostsControllerGetAllHostsRes

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

type HostsControllerGetOneHostParams

type HostsControllerGetOneHostParams struct {
	// UUID of the host.
	UUID string
}

HostsControllerGetOneHostParams is parameters of HostsController_getOneHost operation.

type HostsControllerGetOneHostRes

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

type HostsControllerReorderHostsRes

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

type HostsControllerUpdateHostRes

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

type HwidDevicesResponse

type HwidDevicesResponse struct {
	Response AllHwidDevices `json:"response"`
}

Ref: #/components/schemas/HwidDevicesResponse

func (*HwidDevicesResponse) Decode

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

Decode decodes HwidDevicesResponse from json.

func (*HwidDevicesResponse) Encode

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

Encode implements json.Marshaler.

func (*HwidDevicesResponse) GetResponse

func (s *HwidDevicesResponse) GetResponse() AllHwidDevices

GetResponse returns the value of Response.

func (*HwidDevicesResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HwidDevicesResponse) SetFake

func (s *HwidDevicesResponse) SetFake()

SetFake set fake values.

func (*HwidDevicesResponse) SetResponse

func (s *HwidDevicesResponse) SetResponse(val AllHwidDevices)

SetResponse sets the value of Response.

func (*HwidDevicesResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HwidDevicesResponse) Validate

func (s *HwidDevicesResponse) Validate() error

type HwidSettings

type HwidSettings struct {
	Enabled             bool      `json:"enabled"`
	FallbackDeviceLimit float64   `json:"fallbackDeviceLimit"`
	MaxDevicesAnnounce  NilString `json:"maxDevicesAnnounce"`
}

Ref: #/components/schemas/HwidSettings

func (*HwidSettings) Decode

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

Decode decodes HwidSettings from json.

func (*HwidSettings) Encode

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

Encode implements json.Marshaler.

func (*HwidSettings) GetEnabled

func (s *HwidSettings) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*HwidSettings) GetFallbackDeviceLimit

func (s *HwidSettings) GetFallbackDeviceLimit() float64

GetFallbackDeviceLimit returns the value of FallbackDeviceLimit.

func (*HwidSettings) GetMaxDevicesAnnounce

func (s *HwidSettings) GetMaxDevicesAnnounce() NilString

GetMaxDevicesAnnounce returns the value of MaxDevicesAnnounce.

func (*HwidSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*HwidSettings) SetEnabled

func (s *HwidSettings) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*HwidSettings) SetFake

func (s *HwidSettings) SetFake()

SetFake set fake values.

func (*HwidSettings) SetFallbackDeviceLimit

func (s *HwidSettings) SetFallbackDeviceLimit(val float64)

SetFallbackDeviceLimit sets the value of FallbackDeviceLimit.

func (*HwidSettings) SetMaxDevicesAnnounce

func (s *HwidSettings) SetMaxDevicesAnnounce(val NilString)

SetMaxDevicesAnnounce sets the value of MaxDevicesAnnounce.

func (*HwidSettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HwidSettings) Validate

func (s *HwidSettings) Validate() error

type HwidUserDevicesClient

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

HwidUserDevicesClient provides HwidUserDevices operations.

func NewHwidUserDevicesClient

func NewHwidUserDevicesClient(client *Client) *HwidUserDevicesClient

NewHwidUserDevicesClient creates a new HwidUserDevicesClient.

func (*HwidUserDevicesClient) CreateUserHwidDevice

CreateUserHwidDevice calls HwidUserDevicesController_createUserHwidDevice.

func (*HwidUserDevicesClient) DeleteAllUserHwidDevices

DeleteAllUserHwidDevices calls HwidUserDevicesController_deleteAllUserHwidDevices.

func (*HwidUserDevicesClient) DeleteUserHwidDevice

DeleteUserHwidDevice calls HwidUserDevicesController_deleteUserHwidDevice.

func (*HwidUserDevicesClient) GetAllUsers

GetAllUsers calls HwidUserDevicesController_getAllUsers.

func (*HwidUserDevicesClient) GetHwidDevicesStats

GetHwidDevicesStats calls HwidUserDevicesController_getHwidDevicesStats.

func (*HwidUserDevicesClient) GetTopUsersByHwidDevices

GetTopUsersByHwidDevices calls HwidUserDevicesController_getTopUsersByHwidDevices.

func (*HwidUserDevicesClient) GetUserHwidDevices

GetUserHwidDevices calls HwidUserDevicesController_getUserHwidDevices.

type HwidUserDevicesControllerCreateUserHwidDeviceRes

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

type HwidUserDevicesControllerDeleteAllUserHwidDevicesRes

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

type HwidUserDevicesControllerDeleteUserHwidDeviceRes

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

type HwidUserDevicesControllerGetAllUsersParams

type HwidUserDevicesControllerGetAllUsersParams struct {
	// Page size for pagination.
	Size OptFloat64 `json:",omitempty,omitzero"`
	// Offset for pagination.
	Start OptFloat64 `json:",omitempty,omitzero"`
}

HwidUserDevicesControllerGetAllUsersParams is parameters of HwidUserDevicesController_getAllUsers operation.

type HwidUserDevicesControllerGetAllUsersRes

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

type HwidUserDevicesControllerGetHwidDevicesStatsRes

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

type HwidUserDevicesControllerGetTopUsersByHwidDevicesParams

type HwidUserDevicesControllerGetTopUsersByHwidDevicesParams struct {
	// Page size for pagination.
	Size OptFloat64 `json:",omitempty,omitzero"`
	// Offset for pagination.
	Start OptFloat64 `json:",omitempty,omitzero"`
}

HwidUserDevicesControllerGetTopUsersByHwidDevicesParams is parameters of HwidUserDevicesController_getTopUsersByHwidDevices operation.

type HwidUserDevicesControllerGetTopUsersByHwidDevicesRes

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

type HwidUserDevicesControllerGetUserHwidDevicesParams

type HwidUserDevicesControllerGetUserHwidDevicesParams struct {
	// UUID of the user.
	UserUuid string
}

HwidUserDevicesControllerGetUserHwidDevicesParams is parameters of HwidUserDevicesController_getUserHwidDevices operation.

type HwidUserDevicesControllerGetUserHwidDevicesRes

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

type Inbound

type Inbound struct {
	UUID        uuid.UUID  `json:"uuid"`
	ProfileUuid uuid.UUID  `json:"profileUuid"`
	Tag         string     `json:"tag"`
	Type        string     `json:"type"`
	Network     NilString  `json:"network"`
	Security    NilString  `json:"security"`
	Port        NilFloat64 `json:"port"`
	RawInbound  jx.Raw     `json:"rawInbound"`
}

Ref: #/components/schemas/Inbound

func (*Inbound) Decode

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

Decode decodes Inbound from json.

func (*Inbound) Encode

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

Encode implements json.Marshaler.

func (*Inbound) GetNetwork

func (s *Inbound) GetNetwork() NilString

GetNetwork returns the value of Network.

func (*Inbound) GetPort

func (s *Inbound) GetPort() NilFloat64

GetPort returns the value of Port.

func (*Inbound) GetProfileUuid

func (s *Inbound) GetProfileUuid() uuid.UUID

GetProfileUuid returns the value of ProfileUuid.

func (*Inbound) GetRawInbound

func (s *Inbound) GetRawInbound() jx.Raw

GetRawInbound returns the value of RawInbound.

func (*Inbound) GetSecurity

func (s *Inbound) GetSecurity() NilString

GetSecurity returns the value of Security.

func (*Inbound) GetTag

func (s *Inbound) GetTag() string

GetTag returns the value of Tag.

func (*Inbound) GetType

func (s *Inbound) GetType() string

GetType returns the value of Type.

func (*Inbound) GetUUID

func (s *Inbound) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*Inbound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Inbound) SetFake

func (s *Inbound) SetFake()

SetFake set fake values.

func (*Inbound) SetNetwork

func (s *Inbound) SetNetwork(val NilString)

SetNetwork sets the value of Network.

func (*Inbound) SetPort

func (s *Inbound) SetPort(val NilFloat64)

SetPort sets the value of Port.

func (*Inbound) SetProfileUuid

func (s *Inbound) SetProfileUuid(val uuid.UUID)

SetProfileUuid sets the value of ProfileUuid.

func (*Inbound) SetRawInbound

func (s *Inbound) SetRawInbound(val jx.Raw)

SetRawInbound sets the value of RawInbound.

func (*Inbound) SetSecurity

func (s *Inbound) SetSecurity(val NilString)

SetSecurity sets the value of Security.

func (*Inbound) SetTag

func (s *Inbound) SetTag(val string)

SetTag sets the value of Tag.

func (*Inbound) SetType

func (s *Inbound) SetType(val string)

SetType sets the value of Type.

func (*Inbound) SetUUID

func (s *Inbound) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*Inbound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Inbound) Validate

func (s *Inbound) Validate() error

type InboundItem

type InboundItem struct {
	ConfigProfileUuid        NilUUID `json:"configProfileUuid"`
	ConfigProfileInboundUuid NilUUID `json:"configProfileInboundUuid"`
}

Ref: #/components/schemas/InboundItem

func (*InboundItem) Decode

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

Decode decodes InboundItem from json.

func (*InboundItem) Encode

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

Encode implements json.Marshaler.

func (*InboundItem) GetConfigProfileInboundUuid

func (s *InboundItem) GetConfigProfileInboundUuid() NilUUID

GetConfigProfileInboundUuid returns the value of ConfigProfileInboundUuid.

func (*InboundItem) GetConfigProfileUuid

func (s *InboundItem) GetConfigProfileUuid() NilUUID

GetConfigProfileUuid returns the value of ConfigProfileUuid.

func (*InboundItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InboundItem) SetConfigProfileInboundUuid

func (s *InboundItem) SetConfigProfileInboundUuid(val NilUUID)

SetConfigProfileInboundUuid sets the value of ConfigProfileInboundUuid.

func (*InboundItem) SetConfigProfileUuid

func (s *InboundItem) SetConfigProfileUuid(val NilUUID)

SetConfigProfileUuid sets the value of ConfigProfileUuid.

func (*InboundItem) SetFake

func (s *InboundItem) SetFake()

SetFake set fake values.

func (*InboundItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InboundRef

type InboundRef struct {
	ConfigProfileUuid        uuid.UUID `json:"configProfileUuid"`
	ConfigProfileInboundUuid uuid.UUID `json:"configProfileInboundUuid"`
}

Ref: #/components/schemas/InboundRef

func (*InboundRef) Decode

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

Decode decodes InboundRef from json.

func (*InboundRef) Encode

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

Encode implements json.Marshaler.

func (*InboundRef) GetConfigProfileInboundUuid

func (s *InboundRef) GetConfigProfileInboundUuid() uuid.UUID

GetConfigProfileInboundUuid returns the value of ConfigProfileInboundUuid.

func (*InboundRef) GetConfigProfileUuid

func (s *InboundRef) GetConfigProfileUuid() uuid.UUID

GetConfigProfileUuid returns the value of ConfigProfileUuid.

func (*InboundRef) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InboundRef) SetConfigProfileInboundUuid

func (s *InboundRef) SetConfigProfileInboundUuid(val uuid.UUID)

SetConfigProfileInboundUuid sets the value of ConfigProfileInboundUuid.

func (*InboundRef) SetConfigProfileUuid

func (s *InboundRef) SetConfigProfileUuid(val uuid.UUID)

SetConfigProfileUuid sets the value of ConfigProfileUuid.

func (*InboundRef) SetFake

func (s *InboundRef) SetFake()

SetFake set fake values.

func (*InboundRef) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InboundsResponse

type InboundsResponse struct {
	Response InboundsResponseResponse `json:"response"`
}

Ref: #/components/schemas/InboundsResponse

func (*InboundsResponse) Decode

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

Decode decodes InboundsResponse from json.

func (*InboundsResponse) Encode

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

Encode implements json.Marshaler.

func (*InboundsResponse) GetResponse

func (s *InboundsResponse) GetResponse() InboundsResponseResponse

GetResponse returns the value of Response.

func (*InboundsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InboundsResponse) SetFake

func (s *InboundsResponse) SetFake()

SetFake set fake values.

func (*InboundsResponse) SetResponse

func (s *InboundsResponse) SetResponse(val InboundsResponseResponse)

SetResponse sets the value of Response.

func (*InboundsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InboundsResponse) Validate

func (s *InboundsResponse) Validate() error

type InboundsResponseResponse

type InboundsResponseResponse struct {
	Total    float64                                `json:"total"`
	Inbounds []InboundsResponseResponseInboundsItem `json:"inbounds"`
}

func (*InboundsResponseResponse) Decode

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

Decode decodes InboundsResponseResponse from json.

func (*InboundsResponseResponse) Encode

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

Encode implements json.Marshaler.

func (*InboundsResponseResponse) GetInbounds

GetInbounds returns the value of Inbounds.

func (*InboundsResponseResponse) GetTotal

func (s *InboundsResponseResponse) GetTotal() float64

GetTotal returns the value of Total.

func (*InboundsResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InboundsResponseResponse) SetFake

func (s *InboundsResponseResponse) SetFake()

SetFake set fake values.

func (*InboundsResponseResponse) SetInbounds

SetInbounds sets the value of Inbounds.

func (*InboundsResponseResponse) SetTotal

func (s *InboundsResponseResponse) SetTotal(val float64)

SetTotal sets the value of Total.

func (*InboundsResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InboundsResponseResponse) Validate

func (s *InboundsResponseResponse) Validate() error

type InboundsResponseResponseInboundsItem

type InboundsResponseResponseInboundsItem struct {
	UUID         uuid.UUID   `json:"uuid"`
	ProfileUuid  uuid.UUID   `json:"profileUuid"`
	Tag          string      `json:"tag"`
	Type         string      `json:"type"`
	Network      NilString   `json:"network"`
	Security     NilString   `json:"security"`
	Port         NilFloat64  `json:"port"`
	RawInbound   jx.Raw      `json:"rawInbound"`
	ActiveSquads []uuid.UUID `json:"activeSquads"`
}

func (*InboundsResponseResponseInboundsItem) Decode

Decode decodes InboundsResponseResponseInboundsItem from json.

func (*InboundsResponseResponseInboundsItem) Encode

Encode implements json.Marshaler.

func (*InboundsResponseResponseInboundsItem) GetActiveSquads

func (s *InboundsResponseResponseInboundsItem) GetActiveSquads() []uuid.UUID

GetActiveSquads returns the value of ActiveSquads.

func (*InboundsResponseResponseInboundsItem) GetNetwork

GetNetwork returns the value of Network.

func (*InboundsResponseResponseInboundsItem) GetPort

GetPort returns the value of Port.

func (*InboundsResponseResponseInboundsItem) GetProfileUuid

func (s *InboundsResponseResponseInboundsItem) GetProfileUuid() uuid.UUID

GetProfileUuid returns the value of ProfileUuid.

func (*InboundsResponseResponseInboundsItem) GetRawInbound

func (s *InboundsResponseResponseInboundsItem) GetRawInbound() jx.Raw

GetRawInbound returns the value of RawInbound.

func (*InboundsResponseResponseInboundsItem) GetSecurity

GetSecurity returns the value of Security.

func (*InboundsResponseResponseInboundsItem) GetTag

GetTag returns the value of Tag.

func (*InboundsResponseResponseInboundsItem) GetType

GetType returns the value of Type.

func (*InboundsResponseResponseInboundsItem) GetUUID

GetUUID returns the value of UUID.

func (*InboundsResponseResponseInboundsItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InboundsResponseResponseInboundsItem) SetActiveSquads

func (s *InboundsResponseResponseInboundsItem) SetActiveSquads(val []uuid.UUID)

SetActiveSquads sets the value of ActiveSquads.

func (*InboundsResponseResponseInboundsItem) SetFake

SetFake set fake values.

func (*InboundsResponseResponseInboundsItem) SetNetwork

SetNetwork sets the value of Network.

func (*InboundsResponseResponseInboundsItem) SetPort

SetPort sets the value of Port.

func (*InboundsResponseResponseInboundsItem) SetProfileUuid

func (s *InboundsResponseResponseInboundsItem) SetProfileUuid(val uuid.UUID)

SetProfileUuid sets the value of ProfileUuid.

func (*InboundsResponseResponseInboundsItem) SetRawInbound

func (s *InboundsResponseResponseInboundsItem) SetRawInbound(val jx.Raw)

SetRawInbound sets the value of RawInbound.

func (*InboundsResponseResponseInboundsItem) SetSecurity

func (s *InboundsResponseResponseInboundsItem) SetSecurity(val NilString)

SetSecurity sets the value of Security.

func (*InboundsResponseResponseInboundsItem) SetTag

SetTag sets the value of Tag.

func (*InboundsResponseResponseInboundsItem) SetType

SetType sets the value of Type.

func (*InboundsResponseResponseInboundsItem) SetUUID

SetUUID sets the value of UUID.

func (*InboundsResponseResponseInboundsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InboundsResponseResponseInboundsItem) Validate

type InboundsStat

type InboundsStat struct {
	Tag      string `json:"tag"`
	Upload   string `json:"upload"`
	Download string `json:"download"`
}

Ref: #/components/schemas/InboundsStat

func (*InboundsStat) Decode

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

Decode decodes InboundsStat from json.

func (*InboundsStat) Encode

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

Encode implements json.Marshaler.

func (*InboundsStat) GetDownload

func (s *InboundsStat) GetDownload() string

GetDownload returns the value of Download.

func (*InboundsStat) GetTag

func (s *InboundsStat) GetTag() string

GetTag returns the value of Tag.

func (*InboundsStat) GetUpload

func (s *InboundsStat) GetUpload() string

GetUpload returns the value of Upload.

func (*InboundsStat) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InboundsStat) SetDownload

func (s *InboundsStat) SetDownload(val string)

SetDownload sets the value of Download.

func (*InboundsStat) SetFake

func (s *InboundsStat) SetFake()

SetFake set fake values.

func (*InboundsStat) SetTag

func (s *InboundsStat) SetTag(val string)

SetTag sets the value of Tag.

func (*InboundsStat) SetUpload

func (s *InboundsStat) SetUpload(val string)

SetUpload sets the value of Upload.

func (*InboundsStat) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InfraBillingClient

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

InfraBillingClient provides InfraBilling operations.

func NewInfraBillingClient

func NewInfraBillingClient(client *Client) *InfraBillingClient

NewInfraBillingClient creates a new InfraBillingClient.

func (*InfraBillingClient) CreateInfraBillingHistoryRecord

CreateInfraBillingHistoryRecord calls InfraBillingController_createInfraBillingHistoryRecord.

func (*InfraBillingClient) CreateInfraBillingNode

CreateInfraBillingNode calls InfraBillingController_createInfraBillingNode.

func (*InfraBillingClient) CreateInfraProvider

CreateInfraProvider calls InfraBillingController_createInfraProvider.

func (*InfraBillingClient) DeleteInfraBillingHistoryRecordByUuid

func (sc *InfraBillingClient) DeleteInfraBillingHistoryRecordByUuid(ctx context.Context, uuid string) (InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidRes, error)

DeleteInfraBillingHistoryRecordByUuid calls InfraBillingController_deleteInfraBillingHistoryRecordByUuid.

func (*InfraBillingClient) DeleteInfraBillingNodeByUuid

DeleteInfraBillingNodeByUuid calls InfraBillingController_deleteInfraBillingNodeByUuid.

func (*InfraBillingClient) DeleteInfraProviderByUuid

DeleteInfraProviderByUuid calls InfraBillingController_deleteInfraProviderByUuid.

func (*InfraBillingClient) GetBillingNodes

GetBillingNodes calls InfraBillingController_getBillingNodes.

func (*InfraBillingClient) GetInfraBillingHistoryRecords

GetInfraBillingHistoryRecords calls InfraBillingController_getInfraBillingHistoryRecords.

func (*InfraBillingClient) GetInfraProviderByUuid

GetInfraProviderByUuid calls InfraBillingController_getInfraProviderByUuid.

func (*InfraBillingClient) GetInfraProviders

GetInfraProviders calls InfraBillingController_getInfraProviders.

func (*InfraBillingClient) UpdateInfraBillingNode

UpdateInfraBillingNode calls InfraBillingController_updateInfraBillingNode.

func (*InfraBillingClient) UpdateInfraProvider

UpdateInfraProvider calls InfraBillingController_updateInfraProvider.

type InfraBillingControllerCreateInfraBillingHistoryRecordRes

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

type InfraBillingControllerCreateInfraBillingNodeRes

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

type InfraBillingControllerCreateInfraProviderRes

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

type InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidParams

type InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidParams struct {
	UUID string
}

InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidParams is parameters of InfraBillingController_deleteInfraBillingHistoryRecordByUuid operation.

type InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidRes

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

type InfraBillingControllerDeleteInfraBillingNodeByUuidParams

type InfraBillingControllerDeleteInfraBillingNodeByUuidParams struct {
	UUID string
}

InfraBillingControllerDeleteInfraBillingNodeByUuidParams is parameters of InfraBillingController_deleteInfraBillingNodeByUuid operation.

type InfraBillingControllerDeleteInfraBillingNodeByUuidRes

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

type InfraBillingControllerDeleteInfraProviderByUuidParams

type InfraBillingControllerDeleteInfraProviderByUuidParams struct {
	UUID string
}

InfraBillingControllerDeleteInfraProviderByUuidParams is parameters of InfraBillingController_deleteInfraProviderByUuid operation.

type InfraBillingControllerDeleteInfraProviderByUuidRes

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

type InfraBillingControllerGetBillingNodesRes

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

type InfraBillingControllerGetInfraBillingHistoryRecordsRes

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

type InfraBillingControllerGetInfraProviderByUuidParams

type InfraBillingControllerGetInfraProviderByUuidParams struct {
	UUID string
}

InfraBillingControllerGetInfraProviderByUuidParams is parameters of InfraBillingController_getInfraProviderByUuid operation.

type InfraBillingControllerGetInfraProviderByUuidRes

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

type InfraBillingControllerGetInfraProvidersRes

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

type InfraBillingControllerUpdateInfraBillingNodeRes

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

type InfraBillingControllerUpdateInfraProviderRes

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

type InfraProviderResponseResponse

type InfraProviderResponseResponse struct {
	Response Provider `json:"response"`
}

Ref: #/components/schemas/InfraProviderResponseResponse

func (*InfraProviderResponseResponse) Decode

Decode decodes InfraProviderResponseResponse from json.

func (*InfraProviderResponseResponse) Encode

Encode implements json.Marshaler.

func (*InfraProviderResponseResponse) GetResponse

func (s *InfraProviderResponseResponse) GetResponse() Provider

GetResponse returns the value of Response.

func (*InfraProviderResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InfraProviderResponseResponse) SetFake

func (s *InfraProviderResponseResponse) SetFake()

SetFake set fake values.

func (*InfraProviderResponseResponse) SetResponse

func (s *InfraProviderResponseResponse) SetResponse(val Provider)

SetResponse sets the value of Response.

func (*InfraProviderResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InfraProviderResponseResponse) Validate

func (s *InfraProviderResponseResponse) Validate() error

type InternalServerError

type InternalServerError struct {
	Timestamp OptString `json:"timestamp"`
	Path      OptString `json:"path"`
	Message   OptString `json:"message"`
	ErrorCode OptString `json:"errorCode"`
}

Ref: #/components/schemas/InternalServerError

func (*InternalServerError) Decode

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

Decode decodes InternalServerError from json.

func (*InternalServerError) Encode

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

Encode implements json.Marshaler.

func (*InternalServerError) GetErrorCode

func (s *InternalServerError) GetErrorCode() OptString

GetErrorCode returns the value of ErrorCode.

func (*InternalServerError) GetMessage

func (s *InternalServerError) GetMessage() OptString

GetMessage returns the value of Message.

func (*InternalServerError) GetPath

func (s *InternalServerError) GetPath() OptString

GetPath returns the value of Path.

func (*InternalServerError) GetTimestamp

func (s *InternalServerError) GetTimestamp() OptString

GetTimestamp returns the value of Timestamp.

func (*InternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InternalServerError) SetErrorCode

func (s *InternalServerError) SetErrorCode(val OptString)

SetErrorCode sets the value of ErrorCode.

func (*InternalServerError) SetFake

func (s *InternalServerError) SetFake()

SetFake set fake values.

func (*InternalServerError) SetMessage

func (s *InternalServerError) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*InternalServerError) SetPath

func (s *InternalServerError) SetPath(val OptString)

SetPath sets the value of Path.

func (*InternalServerError) SetTimestamp

func (s *InternalServerError) SetTimestamp(val OptString)

SetTimestamp sets the value of Timestamp.

func (*InternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type InternalSquad

type InternalSquad struct {
	UUID         uuid.UUID                    `json:"uuid"`
	ViewPosition int                          `json:"viewPosition"`
	Name         string                       `json:"name"`
	Info         InternalSquadsResponInfoItem `json:"info"`
	Inbounds     []Inbound                    `json:"inbounds"`
	CreatedAt    time.Time                    `json:"createdAt"`
	UpdatedAt    time.Time                    `json:"updatedAt"`
}

Ref: #/components/schemas/InternalSquad

func (*InternalSquad) Decode

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

Decode decodes InternalSquad from json.

func (*InternalSquad) Encode

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

Encode implements json.Marshaler.

func (*InternalSquad) GetCreatedAt

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

GetCreatedAt returns the value of CreatedAt.

func (*InternalSquad) GetInbounds

func (s *InternalSquad) GetInbounds() []Inbound

GetInbounds returns the value of Inbounds.

func (*InternalSquad) GetInfo

GetInfo returns the value of Info.

func (*InternalSquad) GetName

func (s *InternalSquad) GetName() string

GetName returns the value of Name.

func (*InternalSquad) GetUUID

func (s *InternalSquad) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*InternalSquad) GetUpdatedAt

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

GetUpdatedAt returns the value of UpdatedAt.

func (*InternalSquad) GetViewPosition

func (s *InternalSquad) GetViewPosition() int

GetViewPosition returns the value of ViewPosition.

func (*InternalSquad) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InternalSquad) SetCreatedAt

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

SetCreatedAt sets the value of CreatedAt.

func (*InternalSquad) SetFake

func (s *InternalSquad) SetFake()

SetFake set fake values.

func (*InternalSquad) SetInbounds

func (s *InternalSquad) SetInbounds(val []Inbound)

SetInbounds sets the value of Inbounds.

func (*InternalSquad) SetInfo

SetInfo sets the value of Info.

func (*InternalSquad) SetName

func (s *InternalSquad) SetName(val string)

SetName sets the value of Name.

func (*InternalSquad) SetUUID

func (s *InternalSquad) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*InternalSquad) SetUpdatedAt

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

SetUpdatedAt sets the value of UpdatedAt.

func (*InternalSquad) SetViewPosition

func (s *InternalSquad) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*InternalSquad) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InternalSquad) Validate

func (s *InternalSquad) Validate() error

type InternalSquadClient

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

InternalSquadClient provides InternalSquad operations.

func NewInternalSquadClient

func NewInternalSquadClient(client *Client) *InternalSquadClient

NewInternalSquadClient creates a new InternalSquadClient.

func (*InternalSquadClient) AddUsersToInternalSquad

AddUsersToInternalSquad calls InternalSquadController_addUsersToInternalSquad.

func (*InternalSquadClient) CreateInternalSquad

CreateInternalSquad calls InternalSquadController_createInternalSquad.

func (*InternalSquadClient) DeleteInternalSquad

DeleteInternalSquad calls InternalSquadController_deleteInternalSquad.

func (*InternalSquadClient) GetInternalSquadAccessibleNodes

GetInternalSquadAccessibleNodes calls InternalSquadController_getInternalSquadAccessibleNodes.

func (*InternalSquadClient) GetInternalSquadByUuid

GetInternalSquadByUuid calls InternalSquadController_getInternalSquadByUuid.

func (*InternalSquadClient) GetInternalSquads

GetInternalSquads calls InternalSquadController_getInternalSquads.

func (*InternalSquadClient) RemoveUsersFromInternalSquad

RemoveUsersFromInternalSquad calls InternalSquadController_removeUsersFromInternalSquad.

func (*InternalSquadClient) ReorderInternalSquads

ReorderInternalSquads calls InternalSquadController_reorderInternalSquads.

func (*InternalSquadClient) UpdateInternalSquad

UpdateInternalSquad calls InternalSquadController_updateInternalSquad.

type InternalSquadControllerAddUsersToInternalSquadParams

type InternalSquadControllerAddUsersToInternalSquadParams struct {
	UUID string
}

InternalSquadControllerAddUsersToInternalSquadParams is parameters of InternalSquadController_addUsersToInternalSquad operation.

type InternalSquadControllerAddUsersToInternalSquadRes

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

type InternalSquadControllerCreateInternalSquadConflict

type InternalSquadControllerCreateInternalSquadConflict struct{}

InternalSquadControllerCreateInternalSquadConflict is response for InternalSquadControllerCreateInternalSquad operation.

type InternalSquadControllerCreateInternalSquadRes

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

type InternalSquadControllerDeleteInternalSquadParams

type InternalSquadControllerDeleteInternalSquadParams struct {
	UUID string
}

InternalSquadControllerDeleteInternalSquadParams is parameters of InternalSquadController_deleteInternalSquad operation.

type InternalSquadControllerDeleteInternalSquadRes

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

type InternalSquadControllerGetInternalSquadAccessibleNodesParams

type InternalSquadControllerGetInternalSquadAccessibleNodesParams struct {
	// UUID of the internal squad.
	UUID string
}

InternalSquadControllerGetInternalSquadAccessibleNodesParams is parameters of InternalSquadController_getInternalSquadAccessibleNodes operation.

type InternalSquadControllerGetInternalSquadAccessibleNodesRes

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

type InternalSquadControllerGetInternalSquadByUuidParams

type InternalSquadControllerGetInternalSquadByUuidParams struct {
	UUID string
}

InternalSquadControllerGetInternalSquadByUuidParams is parameters of InternalSquadController_getInternalSquadByUuid operation.

type InternalSquadControllerGetInternalSquadByUuidRes

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

type InternalSquadControllerGetInternalSquadsRes

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

type InternalSquadControllerRemoveUsersFromInternalSquadParams

type InternalSquadControllerRemoveUsersFromInternalSquadParams struct {
	UUID string
}

InternalSquadControllerRemoveUsersFromInternalSquadParams is parameters of InternalSquadController_removeUsersFromInternalSquad operation.

type InternalSquadControllerRemoveUsersFromInternalSquadRes

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

type InternalSquadControllerReorderInternalSquadsRes

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

type InternalSquadControllerUpdateInternalSquadConflict

type InternalSquadControllerUpdateInternalSquadConflict struct{}

InternalSquadControllerUpdateInternalSquadConflict is response for InternalSquadControllerUpdateInternalSquad operation.

type InternalSquadControllerUpdateInternalSquadRes

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

type InternalSquadResponseResponse

type InternalSquadResponseResponse struct {
	Response InternalSquad `json:"response"`
}

Ref: #/components/schemas/InternalSquadResponseResponse

func (*InternalSquadResponseResponse) Decode

Decode decodes InternalSquadResponseResponse from json.

func (*InternalSquadResponseResponse) Encode

Encode implements json.Marshaler.

func (*InternalSquadResponseResponse) GetResponse

GetResponse returns the value of Response.

func (*InternalSquadResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InternalSquadResponseResponse) SetFake

func (s *InternalSquadResponseResponse) SetFake()

SetFake set fake values.

func (*InternalSquadResponseResponse) SetResponse

func (s *InternalSquadResponseResponse) SetResponse(val InternalSquad)

SetResponse sets the value of Response.

func (*InternalSquadResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InternalSquadResponseResponse) Validate

func (s *InternalSquadResponseResponse) Validate() error

type InternalSquadsResponInfoItem

type InternalSquadsResponInfoItem struct {
	MembersCount  float64 `json:"membersCount"`
	InboundsCount float64 `json:"inboundsCount"`
}

Ref: #/components/schemas/InternalSquadsResponInfoItem

func (*InternalSquadsResponInfoItem) Decode

Decode decodes InternalSquadsResponInfoItem from json.

func (*InternalSquadsResponInfoItem) Encode

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

Encode implements json.Marshaler.

func (*InternalSquadsResponInfoItem) GetInboundsCount

func (s *InternalSquadsResponInfoItem) GetInboundsCount() float64

GetInboundsCount returns the value of InboundsCount.

func (*InternalSquadsResponInfoItem) GetMembersCount

func (s *InternalSquadsResponInfoItem) GetMembersCount() float64

GetMembersCount returns the value of MembersCount.

func (*InternalSquadsResponInfoItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InternalSquadsResponInfoItem) SetFake

func (s *InternalSquadsResponInfoItem) SetFake()

SetFake set fake values.

func (*InternalSquadsResponInfoItem) SetInboundsCount

func (s *InternalSquadsResponInfoItem) SetInboundsCount(val float64)

SetInboundsCount sets the value of InboundsCount.

func (*InternalSquadsResponInfoItem) SetMembersCount

func (s *InternalSquadsResponInfoItem) SetMembersCount(val float64)

SetMembersCount sets the value of MembersCount.

func (*InternalSquadsResponInfoItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InternalSquadsResponInfoItem) Validate

func (s *InternalSquadsResponInfoItem) Validate() error

type InternalSquadsResponse

type InternalSquadsResponse struct {
	Response InternalSquadsResponseResponse `json:"response"`
}

Ref: #/components/schemas/InternalSquadsResponse

func (*InternalSquadsResponse) Decode

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

Decode decodes InternalSquadsResponse from json.

func (*InternalSquadsResponse) Encode

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

Encode implements json.Marshaler.

func (*InternalSquadsResponse) GetResponse

GetResponse returns the value of Response.

func (*InternalSquadsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InternalSquadsResponse) SetFake

func (s *InternalSquadsResponse) SetFake()

SetFake set fake values.

func (*InternalSquadsResponse) SetResponse

SetResponse sets the value of Response.

func (*InternalSquadsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InternalSquadsResponse) Validate

func (s *InternalSquadsResponse) Validate() error

type InternalSquadsResponseResponse

type InternalSquadsResponseResponse struct {
	Total          float64         `json:"total"`
	InternalSquads []InternalSquad `json:"internalSquads"`
}

func (*InternalSquadsResponseResponse) Decode

Decode decodes InternalSquadsResponseResponse from json.

func (*InternalSquadsResponseResponse) Encode

Encode implements json.Marshaler.

func (*InternalSquadsResponseResponse) GetInternalSquads

func (s *InternalSquadsResponseResponse) GetInternalSquads() []InternalSquad

GetInternalSquads returns the value of InternalSquads.

func (*InternalSquadsResponseResponse) GetTotal

GetTotal returns the value of Total.

func (*InternalSquadsResponseResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InternalSquadsResponseResponse) SetFake

func (s *InternalSquadsResponseResponse) SetFake()

SetFake set fake values.

func (*InternalSquadsResponseResponse) SetInternalSquads

func (s *InternalSquadsResponseResponse) SetInternalSquads(val []InternalSquad)

SetInternalSquads sets the value of InternalSquads.

func (*InternalSquadsResponseResponse) SetTotal

func (s *InternalSquadsResponseResponse) SetTotal(val float64)

SetTotal sets the value of Total.

func (*InternalSquadsResponseResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InternalSquadsResponseResponse) Validate

func (s *InternalSquadsResponseResponse) Validate() error

type Invoker

type Invoker interface {
	// ApiTokensControllerCreate invokes ApiTokensController_create operation.
	//
	// This endpoint is forbidden to use via "API-key". It can only be used with an admin JWT-token.
	//
	// POST /api/tokens
	ApiTokensControllerCreate(ctx context.Context, request *CreateApiTokenRequestDto) (ApiTokensControllerCreateRes, error)
	// ApiTokensControllerDelete invokes ApiTokensController_delete operation.
	//
	// This endpoint is forbidden to use via "API-key". It can be used only with an admin JWT-token.
	//
	// DELETE /api/tokens/{uuid}
	ApiTokensControllerDelete(ctx context.Context, params ApiTokensControllerDeleteParams) (ApiTokensControllerDeleteRes, error)
	// ApiTokensControllerFindAll invokes ApiTokensController_findAll operation.
	//
	// This endpoint is forbidden to use via "API-key". It can only be used with admin JWT-token.
	//
	// GET /api/tokens
	ApiTokensControllerFindAll(ctx context.Context) (ApiTokensControllerFindAllRes, error)
	// AuthControllerGetStatus invokes AuthController_getStatus operation.
	//
	// Get the status of the authentication.
	//
	// GET /api/auth/status
	AuthControllerGetStatus(ctx context.Context) (AuthControllerGetStatusRes, error)
	// AuthControllerLogin invokes AuthController_login operation.
	//
	// Login as superadmin.
	//
	// POST /api/auth/login
	AuthControllerLogin(ctx context.Context, request *LoginRequestDto) (AuthControllerLoginRes, error)
	// AuthControllerOauth2Authorize invokes AuthController_oauth2Authorize operation.
	//
	// Initiate OAuth2 authorization.
	//
	// POST /api/auth/oauth2/authorize
	AuthControllerOauth2Authorize(ctx context.Context, request *OAuth2AuthorizeRequestDto) (AuthControllerOauth2AuthorizeRes, error)
	// AuthControllerOauth2Callback invokes AuthController_oauth2Callback operation.
	//
	// Callback from OAuth2.
	//
	// POST /api/auth/oauth2/callback
	AuthControllerOauth2Callback(ctx context.Context, request *OAuth2CallbackRequestDto) (AuthControllerOauth2CallbackRes, error)
	// AuthControllerPasskeyAuthenticationOptions invokes AuthController_passkeyAuthenticationOptions operation.
	//
	// Get the authentication options for passkey.
	//
	// GET /api/auth/passkey/authentication/options
	AuthControllerPasskeyAuthenticationOptions(ctx context.Context) (AuthControllerPasskeyAuthenticationOptionsRes, error)
	// AuthControllerPasskeyAuthenticationVerify invokes AuthController_passkeyAuthenticationVerify operation.
	//
	// Verify the authentication for passkey.
	//
	// POST /api/auth/passkey/authentication/verify
	AuthControllerPasskeyAuthenticationVerify(ctx context.Context, request *PasskeyOptions) (AuthControllerPasskeyAuthenticationVerifyRes, error)
	// AuthControllerRegister invokes AuthController_register operation.
	//
	// Register as superadmin.
	//
	// POST /api/auth/register
	AuthControllerRegister(ctx context.Context, request *RegisterRequestDto) (AuthControllerRegisterRes, error)
	// AuthControllerTelegramCallback invokes AuthController_telegramCallback operation.
	//
	// Callback from Telegram OAuth2.
	//
	// POST /api/auth/oauth2/tg/callback
	AuthControllerTelegramCallback(ctx context.Context, request *TelegramCallbackRequestDto) (AuthControllerTelegramCallbackRes, error)
	// BandwidthStatsNodesControllerGetNodeUserUsage invokes BandwidthStatsNodesController_getNodeUserUsage operation.
	//
	// Get Node User Usage by Range and Node UUID (Legacy).
	//
	// GET /api/bandwidth-stats/nodes/{uuid}/users/legacy
	BandwidthStatsNodesControllerGetNodeUserUsage(ctx context.Context, params BandwidthStatsNodesControllerGetNodeUserUsageParams) (BandwidthStatsNodesControllerGetNodeUserUsageRes, error)
	// BandwidthStatsNodesControllerGetNodesRealtimeUsage invokes BandwidthStatsNodesController_getNodesRealtimeUsage operation.
	//
	// Get Nodes Realtime Usage.
	//
	// GET /api/bandwidth-stats/nodes/realtime
	BandwidthStatsNodesControllerGetNodesRealtimeUsage(ctx context.Context) (BandwidthStatsNodesControllerGetNodesRealtimeUsageRes, error)
	// BandwidthStatsNodesControllerGetStatsNodeUsersUsage invokes BandwidthStatsNodesController_getStatsNodeUsersUsage operation.
	//
	// Get Node Users Usage by Node UUID.
	//
	// GET /api/bandwidth-stats/nodes/{uuid}/users
	BandwidthStatsNodesControllerGetStatsNodeUsersUsage(ctx context.Context, params BandwidthStatsNodesControllerGetStatsNodeUsersUsageParams) (BandwidthStatsNodesControllerGetStatsNodeUsersUsageRes, error)
	// BandwidthStatsUsersControllerGetStatsNodesUsage invokes BandwidthStatsUsersController_getStatsNodesUsage operation.
	//
	// Get User Usage by Range.
	//
	// GET /api/bandwidth-stats/users/{uuid}
	BandwidthStatsUsersControllerGetStatsNodesUsage(ctx context.Context, params BandwidthStatsUsersControllerGetStatsNodesUsageParams) (BandwidthStatsUsersControllerGetStatsNodesUsageRes, error)
	// BandwidthStatsUsersControllerGetUserUsageByRange invokes BandwidthStatsUsersController_getUserUsageByRange operation.
	//
	// Get User Usage by Range (Legacy).
	//
	// GET /api/bandwidth-stats/users/{uuid}/legacy
	BandwidthStatsUsersControllerGetUserUsageByRange(ctx context.Context, params BandwidthStatsUsersControllerGetUserUsageByRangeParams) (BandwidthStatsUsersControllerGetUserUsageByRangeRes, error)
	// ConfigProfileControllerCreateConfigProfile invokes ConfigProfileController_createConfigProfile operation.
	//
	// Create config profile.
	//
	// POST /api/config-profiles
	ConfigProfileControllerCreateConfigProfile(ctx context.Context, request *CreateConfigProfileRequestDto) (ConfigProfileControllerCreateConfigProfileRes, error)
	// ConfigProfileControllerDeleteConfigProfileByUuid invokes ConfigProfileController_deleteConfigProfileByUuid operation.
	//
	// Delete config profile.
	//
	// DELETE /api/config-profiles/{uuid}
	ConfigProfileControllerDeleteConfigProfileByUuid(ctx context.Context, params ConfigProfileControllerDeleteConfigProfileByUuidParams) (ConfigProfileControllerDeleteConfigProfileByUuidRes, error)
	// ConfigProfileControllerGetAllInbounds invokes ConfigProfileController_getAllInbounds operation.
	//
	// Get all inbounds from all config profiles.
	//
	// GET /api/config-profiles/inbounds
	ConfigProfileControllerGetAllInbounds(ctx context.Context) (ConfigProfileControllerGetAllInboundsRes, error)
	// ConfigProfileControllerGetComputedConfigProfileByUuid invokes ConfigProfileController_getComputedConfigProfileByUuid operation.
	//
	// Get computed config profile by uuid.
	//
	// GET /api/config-profiles/{uuid}/computed-config
	ConfigProfileControllerGetComputedConfigProfileByUuid(ctx context.Context, params ConfigProfileControllerGetComputedConfigProfileByUuidParams) (ConfigProfileControllerGetComputedConfigProfileByUuidRes, error)
	// ConfigProfileControllerGetConfigProfileByUuid invokes ConfigProfileController_getConfigProfileByUuid operation.
	//
	// Get config profile by uuid.
	//
	// GET /api/config-profiles/{uuid}
	ConfigProfileControllerGetConfigProfileByUuid(ctx context.Context, params ConfigProfileControllerGetConfigProfileByUuidParams) (ConfigProfileControllerGetConfigProfileByUuidRes, error)
	// ConfigProfileControllerGetConfigProfiles invokes ConfigProfileController_getConfigProfiles operation.
	//
	// Get config profiles.
	//
	// GET /api/config-profiles
	ConfigProfileControllerGetConfigProfiles(ctx context.Context) (ConfigProfileControllerGetConfigProfilesRes, error)
	// ConfigProfileControllerGetInboundsByProfileUuid invokes ConfigProfileController_getInboundsByProfileUuid operation.
	//
	// Get inbounds by profile uuid.
	//
	// GET /api/config-profiles/{uuid}/inbounds
	ConfigProfileControllerGetInboundsByProfileUuid(ctx context.Context, params ConfigProfileControllerGetInboundsByProfileUuidParams) (ConfigProfileControllerGetInboundsByProfileUuidRes, error)
	// ConfigProfileControllerReorderConfigProfiles invokes ConfigProfileController_reorderConfigProfiles operation.
	//
	// Reorder config profiles.
	//
	// POST /api/config-profiles/actions/reorder
	ConfigProfileControllerReorderConfigProfiles(ctx context.Context, request *ReorderRequest) (ConfigProfileControllerReorderConfigProfilesRes, error)
	// ConfigProfileControllerUpdateConfigProfile invokes ConfigProfileController_updateConfigProfile operation.
	//
	// Update Core Config in specific config profile.
	//
	// PATCH /api/config-profiles
	ConfigProfileControllerUpdateConfigProfile(ctx context.Context, request *UpdateConfigProfileRequestDto) (ConfigProfileControllerUpdateConfigProfileRes, error)
	// ExternalSquadControllerAddUsersToExternalSquad invokes ExternalSquadController_addUsersToExternalSquad operation.
	//
	// Add all users to external squad.
	//
	// POST /api/external-squads/{uuid}/bulk-actions/add-users
	ExternalSquadControllerAddUsersToExternalSquad(ctx context.Context, params ExternalSquadControllerAddUsersToExternalSquadParams) (ExternalSquadControllerAddUsersToExternalSquadRes, error)
	// ExternalSquadControllerCreateExternalSquad invokes ExternalSquadController_createExternalSquad operation.
	//
	// Create external squad.
	//
	// POST /api/external-squads
	ExternalSquadControllerCreateExternalSquad(ctx context.Context, request *ExternalSquadRequestRequest) (ExternalSquadControllerCreateExternalSquadRes, error)
	// ExternalSquadControllerDeleteExternalSquad invokes ExternalSquadController_deleteExternalSquad operation.
	//
	// Delete external squad.
	//
	// DELETE /api/external-squads/{uuid}
	ExternalSquadControllerDeleteExternalSquad(ctx context.Context, params ExternalSquadControllerDeleteExternalSquadParams) (ExternalSquadControllerDeleteExternalSquadRes, error)
	// ExternalSquadControllerGetExternalSquadByUuid invokes ExternalSquadController_getExternalSquadByUuid operation.
	//
	// Get external squad by uuid.
	//
	// GET /api/external-squads/{uuid}
	ExternalSquadControllerGetExternalSquadByUuid(ctx context.Context, params ExternalSquadControllerGetExternalSquadByUuidParams) (ExternalSquadControllerGetExternalSquadByUuidRes, error)
	// ExternalSquadControllerGetExternalSquads invokes ExternalSquadController_getExternalSquads operation.
	//
	// Get all external squads.
	//
	// GET /api/external-squads
	ExternalSquadControllerGetExternalSquads(ctx context.Context) (ExternalSquadControllerGetExternalSquadsRes, error)
	// ExternalSquadControllerRemoveUsersFromExternalSquad invokes ExternalSquadController_removeUsersFromExternalSquad operation.
	//
	// Delete users from external squad.
	//
	// DELETE /api/external-squads/{uuid}/bulk-actions/remove-users
	ExternalSquadControllerRemoveUsersFromExternalSquad(ctx context.Context, params ExternalSquadControllerRemoveUsersFromExternalSquadParams) (ExternalSquadControllerRemoveUsersFromExternalSquadRes, error)
	// ExternalSquadControllerReorderExternalSquads invokes ExternalSquadController_reorderExternalSquads operation.
	//
	// Reorder external squads.
	//
	// POST /api/external-squads/actions/reorder
	ExternalSquadControllerReorderExternalSquads(ctx context.Context, request *ReorderRequest) (ExternalSquadControllerReorderExternalSquadsRes, error)
	// ExternalSquadControllerUpdateExternalSquad invokes ExternalSquadController_updateExternalSquad operation.
	//
	// Update external squad.
	//
	// PATCH /api/external-squads
	ExternalSquadControllerUpdateExternalSquad(ctx context.Context, request *UpdateExternalSquadRequestDto) (ExternalSquadControllerUpdateExternalSquadRes, error)
	// HostsBulkActionsControllerDeleteHosts invokes HostsBulkActionsController_deleteHosts operation.
	//
	// Delete hosts by UUIDs.
	//
	// POST /api/hosts/bulk/delete
	HostsBulkActionsControllerDeleteHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDeleteHostsRes, error)
	// HostsBulkActionsControllerDisableHosts invokes HostsBulkActionsController_disableHosts operation.
	//
	// Disable hosts by UUIDs.
	//
	// POST /api/hosts/bulk/disable
	HostsBulkActionsControllerDisableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDisableHostsRes, error)
	// HostsBulkActionsControllerEnableHosts invokes HostsBulkActionsController_enableHosts operation.
	//
	// Enable hosts by UUIDs.
	//
	// POST /api/hosts/bulk/enable
	HostsBulkActionsControllerEnableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerEnableHostsRes, error)
	// HostsBulkActionsControllerSetInboundToHosts invokes HostsBulkActionsController_setInboundToHosts operation.
	//
	// Set inbound to hosts by UUIDs.
	//
	// POST /api/hosts/bulk/set-inbound
	HostsBulkActionsControllerSetInboundToHosts(ctx context.Context, request *SetInboundToManyHostsRequestDto) (HostsBulkActionsControllerSetInboundToHostsRes, error)
	// HostsBulkActionsControllerSetPortToHosts invokes HostsBulkActionsController_setPortToHosts operation.
	//
	// Set port to hosts by UUIDs.
	//
	// POST /api/hosts/bulk/set-port
	HostsBulkActionsControllerSetPortToHosts(ctx context.Context, request *SetPortToManyHostsRequestDto) (HostsBulkActionsControllerSetPortToHostsRes, error)
	// HostsControllerCreateHost invokes HostsController_createHost operation.
	//
	// Create a new host.
	//
	// POST /api/hosts
	HostsControllerCreateHost(ctx context.Context, request *CreateHostRequestDto) (HostsControllerCreateHostRes, error)
	// HostsControllerDeleteHost invokes HostsController_deleteHost operation.
	//
	// Delete a host by UUID.
	//
	// DELETE /api/hosts/{uuid}
	HostsControllerDeleteHost(ctx context.Context, params HostsControllerDeleteHostParams) (HostsControllerDeleteHostRes, error)
	// HostsControllerGetAllHostTags invokes HostsController_getAllHostTags operation.
	//
	// Get all existing host tags.
	//
	// GET /api/hosts/tags
	HostsControllerGetAllHostTags(ctx context.Context) (HostsControllerGetAllHostTagsRes, error)
	// HostsControllerGetAllHosts invokes HostsController_getAllHosts operation.
	//
	// Get all hosts.
	//
	// GET /api/hosts
	HostsControllerGetAllHosts(ctx context.Context) (HostsControllerGetAllHostsRes, error)
	// HostsControllerGetOneHost invokes HostsController_getOneHost operation.
	//
	// Get a host by UUID.
	//
	// GET /api/hosts/{uuid}
	HostsControllerGetOneHost(ctx context.Context, params HostsControllerGetOneHostParams) (HostsControllerGetOneHostRes, error)
	// HostsControllerReorderHosts invokes HostsController_reorderHosts operation.
	//
	// Reorder hosts.
	//
	// POST /api/hosts/actions/reorder
	HostsControllerReorderHosts(ctx context.Context, request *ReorderHostRequestDto) (HostsControllerReorderHostsRes, error)
	// HostsControllerUpdateHost invokes HostsController_updateHost operation.
	//
	// Update a host.
	//
	// PATCH /api/hosts
	HostsControllerUpdateHost(ctx context.Context, request *UpdateHostRequestDto) (HostsControllerUpdateHostRes, error)
	// HwidUserDevicesControllerCreateUserHwidDevice invokes HwidUserDevicesController_createUserHwidDevice operation.
	//
	// Create a user HWID device.
	//
	// POST /api/hwid/devices
	HwidUserDevicesControllerCreateUserHwidDevice(ctx context.Context, request *CreateUserHwidDeviceRequestDto) (HwidUserDevicesControllerCreateUserHwidDeviceRes, error)
	// HwidUserDevicesControllerDeleteAllUserHwidDevices invokes HwidUserDevicesController_deleteAllUserHwidDevices operation.
	//
	// Delete all user HWID devices.
	//
	// POST /api/hwid/devices/delete-all
	HwidUserDevicesControllerDeleteAllUserHwidDevices(ctx context.Context, request *DeleteAllUserHwidDevicesRequestDto) (HwidUserDevicesControllerDeleteAllUserHwidDevicesRes, error)
	// HwidUserDevicesControllerDeleteUserHwidDevice invokes HwidUserDevicesController_deleteUserHwidDevice operation.
	//
	// Delete a user HWID device.
	//
	// POST /api/hwid/devices/delete
	HwidUserDevicesControllerDeleteUserHwidDevice(ctx context.Context, request *DeleteUserHwidDeviceRequestDto) (HwidUserDevicesControllerDeleteUserHwidDeviceRes, error)
	// HwidUserDevicesControllerGetAllUsers invokes HwidUserDevicesController_getAllUsers operation.
	//
	// Get all HWID devices.
	//
	// GET /api/hwid/devices
	HwidUserDevicesControllerGetAllUsers(ctx context.Context, params HwidUserDevicesControllerGetAllUsersParams) (HwidUserDevicesControllerGetAllUsersRes, error)
	// HwidUserDevicesControllerGetHwidDevicesStats invokes HwidUserDevicesController_getHwidDevicesStats operation.
	//
	// Get HWID devices stats.
	//
	// GET /api/hwid/devices/stats
	HwidUserDevicesControllerGetHwidDevicesStats(ctx context.Context) (HwidUserDevicesControllerGetHwidDevicesStatsRes, error)
	// HwidUserDevicesControllerGetTopUsersByHwidDevices invokes HwidUserDevicesController_getTopUsersByHwidDevices operation.
	//
	// Get top users by HWID devices.
	//
	// GET /api/hwid/devices/top-users
	HwidUserDevicesControllerGetTopUsersByHwidDevices(ctx context.Context, params HwidUserDevicesControllerGetTopUsersByHwidDevicesParams) (HwidUserDevicesControllerGetTopUsersByHwidDevicesRes, error)
	// HwidUserDevicesControllerGetUserHwidDevices invokes HwidUserDevicesController_getUserHwidDevices operation.
	//
	// Get user HWID devices.
	//
	// GET /api/hwid/devices/{userUuid}
	HwidUserDevicesControllerGetUserHwidDevices(ctx context.Context, params HwidUserDevicesControllerGetUserHwidDevicesParams) (HwidUserDevicesControllerGetUserHwidDevicesRes, error)
	// InfraBillingControllerCreateInfraBillingHistoryRecord invokes InfraBillingController_createInfraBillingHistoryRecord operation.
	//
	// Create infra billing history.
	//
	// POST /api/infra-billing/history
	InfraBillingControllerCreateInfraBillingHistoryRecord(ctx context.Context, request *CreateInfraBillingHistoryRecordRequestDto) (InfraBillingControllerCreateInfraBillingHistoryRecordRes, error)
	// InfraBillingControllerCreateInfraBillingNode invokes InfraBillingController_createInfraBillingNode operation.
	//
	// Create infra billing node.
	//
	// POST /api/infra-billing/nodes
	InfraBillingControllerCreateInfraBillingNode(ctx context.Context, request *CreateInfraBillingNodeRequestDto) (InfraBillingControllerCreateInfraBillingNodeRes, error)
	// InfraBillingControllerCreateInfraProvider invokes InfraBillingController_createInfraProvider operation.
	//
	// Create infra provider.
	//
	// POST /api/infra-billing/providers
	InfraBillingControllerCreateInfraProvider(ctx context.Context, request *CreateInfraProviderRequestDto) (InfraBillingControllerCreateInfraProviderRes, error)
	// InfraBillingControllerDeleteInfraBillingHistoryRecordByUuid invokes InfraBillingController_deleteInfraBillingHistoryRecordByUuid operation.
	//
	// Delete infra billing history.
	//
	// DELETE /api/infra-billing/history/{uuid}
	InfraBillingControllerDeleteInfraBillingHistoryRecordByUuid(ctx context.Context, params InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidParams) (InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidRes, error)
	// InfraBillingControllerDeleteInfraBillingNodeByUuid invokes InfraBillingController_deleteInfraBillingNodeByUuid operation.
	//
	// Delete infra billing node.
	//
	// DELETE /api/infra-billing/nodes/{uuid}
	InfraBillingControllerDeleteInfraBillingNodeByUuid(ctx context.Context, params InfraBillingControllerDeleteInfraBillingNodeByUuidParams) (InfraBillingControllerDeleteInfraBillingNodeByUuidRes, error)
	// InfraBillingControllerDeleteInfraProviderByUuid invokes InfraBillingController_deleteInfraProviderByUuid operation.
	//
	// Delete infra provider by uuid.
	//
	// DELETE /api/infra-billing/providers/{uuid}
	InfraBillingControllerDeleteInfraProviderByUuid(ctx context.Context, params InfraBillingControllerDeleteInfraProviderByUuidParams) (InfraBillingControllerDeleteInfraProviderByUuidRes, error)
	// InfraBillingControllerGetBillingNodes invokes InfraBillingController_getBillingNodes operation.
	//
	// Get infra billing nodes.
	//
	// GET /api/infra-billing/nodes
	InfraBillingControllerGetBillingNodes(ctx context.Context) (InfraBillingControllerGetBillingNodesRes, error)
	// InfraBillingControllerGetInfraBillingHistoryRecords invokes InfraBillingController_getInfraBillingHistoryRecords operation.
	//
	// Get infra billing history.
	//
	// GET /api/infra-billing/history
	InfraBillingControllerGetInfraBillingHistoryRecords(ctx context.Context) (InfraBillingControllerGetInfraBillingHistoryRecordsRes, error)
	// InfraBillingControllerGetInfraProviderByUuid invokes InfraBillingController_getInfraProviderByUuid operation.
	//
	// Get infra provider by uuid.
	//
	// GET /api/infra-billing/providers/{uuid}
	InfraBillingControllerGetInfraProviderByUuid(ctx context.Context, params InfraBillingControllerGetInfraProviderByUuidParams) (InfraBillingControllerGetInfraProviderByUuidRes, error)
	// InfraBillingControllerGetInfraProviders invokes InfraBillingController_getInfraProviders operation.
	//
	// Get all infra providers.
	//
	// GET /api/infra-billing/providers
	InfraBillingControllerGetInfraProviders(ctx context.Context) (InfraBillingControllerGetInfraProvidersRes, error)
	// InfraBillingControllerUpdateInfraBillingNode invokes InfraBillingController_updateInfraBillingNode operation.
	//
	// Update infra billing nodes.
	//
	// PATCH /api/infra-billing/nodes
	InfraBillingControllerUpdateInfraBillingNode(ctx context.Context, request *UpdateInfraBillingNodeRequestDto) (InfraBillingControllerUpdateInfraBillingNodeRes, error)
	// InfraBillingControllerUpdateInfraProvider invokes InfraBillingController_updateInfraProvider operation.
	//
	// Update infra provider.
	//
	// PATCH /api/infra-billing/providers
	InfraBillingControllerUpdateInfraProvider(ctx context.Context, request *UpdateInfraProviderRequestDto) (InfraBillingControllerUpdateInfraProviderRes, error)
	// InternalSquadControllerAddUsersToInternalSquad invokes InternalSquadController_addUsersToInternalSquad operation.
	//
	// Add all users to internal squad.
	//
	// POST /api/internal-squads/{uuid}/bulk-actions/add-users
	InternalSquadControllerAddUsersToInternalSquad(ctx context.Context, params InternalSquadControllerAddUsersToInternalSquadParams) (InternalSquadControllerAddUsersToInternalSquadRes, error)
	// InternalSquadControllerCreateInternalSquad invokes InternalSquadController_createInternalSquad operation.
	//
	// Create internal squad.
	//
	// POST /api/internal-squads
	InternalSquadControllerCreateInternalSquad(ctx context.Context, request *CreateInternalSquadRequestDto) (InternalSquadControllerCreateInternalSquadRes, error)
	// InternalSquadControllerDeleteInternalSquad invokes InternalSquadController_deleteInternalSquad operation.
	//
	// Delete internal squad.
	//
	// DELETE /api/internal-squads/{uuid}
	InternalSquadControllerDeleteInternalSquad(ctx context.Context, params InternalSquadControllerDeleteInternalSquadParams) (InternalSquadControllerDeleteInternalSquadRes, error)
	// InternalSquadControllerGetInternalSquadAccessibleNodes invokes InternalSquadController_getInternalSquadAccessibleNodes operation.
	//
	// Get internal squad accessible nodes.
	//
	// GET /api/internal-squads/{uuid}/accessible-nodes
	InternalSquadControllerGetInternalSquadAccessibleNodes(ctx context.Context, params InternalSquadControllerGetInternalSquadAccessibleNodesParams) (InternalSquadControllerGetInternalSquadAccessibleNodesRes, error)
	// InternalSquadControllerGetInternalSquadByUuid invokes InternalSquadController_getInternalSquadByUuid operation.
	//
	// Get internal squad by uuid.
	//
	// GET /api/internal-squads/{uuid}
	InternalSquadControllerGetInternalSquadByUuid(ctx context.Context, params InternalSquadControllerGetInternalSquadByUuidParams) (InternalSquadControllerGetInternalSquadByUuidRes, error)
	// InternalSquadControllerGetInternalSquads invokes InternalSquadController_getInternalSquads operation.
	//
	// Get all internal squads.
	//
	// GET /api/internal-squads
	InternalSquadControllerGetInternalSquads(ctx context.Context) (InternalSquadControllerGetInternalSquadsRes, error)
	// InternalSquadControllerRemoveUsersFromInternalSquad invokes InternalSquadController_removeUsersFromInternalSquad operation.
	//
	// Delete users from internal squad.
	//
	// DELETE /api/internal-squads/{uuid}/bulk-actions/remove-users
	InternalSquadControllerRemoveUsersFromInternalSquad(ctx context.Context, params InternalSquadControllerRemoveUsersFromInternalSquadParams) (InternalSquadControllerRemoveUsersFromInternalSquadRes, error)
	// InternalSquadControllerReorderInternalSquads invokes InternalSquadController_reorderInternalSquads operation.
	//
	// Reorder internal squads.
	//
	// POST /api/internal-squads/actions/reorder
	InternalSquadControllerReorderInternalSquads(ctx context.Context, request *ReorderRequest) (InternalSquadControllerReorderInternalSquadsRes, error)
	// InternalSquadControllerUpdateInternalSquad invokes InternalSquadController_updateInternalSquad operation.
	//
	// Update internal squad.
	//
	// PATCH /api/internal-squads
	InternalSquadControllerUpdateInternalSquad(ctx context.Context, request *UpdateInternalSquadRequestDto) (InternalSquadControllerUpdateInternalSquadRes, error)
	// KeygenControllerGenerateKey invokes KeygenController_generateKey operation.
	//
	// Get SSL_CERT for Remnawave Node.
	//
	// GET /api/keygen
	KeygenControllerGenerateKey(ctx context.Context) (KeygenControllerGenerateKeyRes, error)
	// NodesControllerCreateNode invokes NodesController_createNode operation.
	//
	// Create a new node.
	//
	// POST /api/nodes
	NodesControllerCreateNode(ctx context.Context, request *CreateNodeRequestDto) (NodesControllerCreateNodeRes, error)
	// NodesControllerDeleteNode invokes NodesController_deleteNode operation.
	//
	// Delete a node.
	//
	// DELETE /api/nodes/{uuid}
	NodesControllerDeleteNode(ctx context.Context, params NodesControllerDeleteNodeParams) (NodesControllerDeleteNodeRes, error)
	// NodesControllerDisableNode invokes NodesController_disableNode operation.
	//
	// Disable a node.
	//
	// POST /api/nodes/{uuid}/actions/disable
	NodesControllerDisableNode(ctx context.Context, params NodesControllerDisableNodeParams) (NodesControllerDisableNodeRes, error)
	// NodesControllerEnableNode invokes NodesController_enableNode operation.
	//
	// Enable a node.
	//
	// POST /api/nodes/{uuid}/actions/enable
	NodesControllerEnableNode(ctx context.Context, params NodesControllerEnableNodeParams) (NodesControllerEnableNodeRes, error)
	// NodesControllerGetAllNodes invokes NodesController_getAllNodes operation.
	//
	// Get all nodes.
	//
	// GET /api/nodes
	NodesControllerGetAllNodes(ctx context.Context) (NodesControllerGetAllNodesRes, error)
	// NodesControllerGetAllNodesTags invokes NodesController_getAllNodesTags operation.
	//
	// Get all existing nodes tags.
	//
	// GET /api/nodes/tags
	NodesControllerGetAllNodesTags(ctx context.Context) (NodesControllerGetAllNodesTagsRes, error)
	// NodesControllerGetOneNode invokes NodesController_getOneNode operation.
	//
	// Get node by UUID.
	//
	// GET /api/nodes/{uuid}
	NodesControllerGetOneNode(ctx context.Context, params NodesControllerGetOneNodeParams) (NodesControllerGetOneNodeRes, error)
	// NodesControllerProfileModification invokes NodesController_profileModification operation.
	//
	// Modify Inbounds & Profile for many nodes.
	//
	// POST /api/nodes/bulk-actions/profile-modification
	NodesControllerProfileModification(ctx context.Context, request *ProfileModificationRequestDto) (NodesControllerProfileModificationRes, error)
	// NodesControllerReorderNodes invokes NodesController_reorderNodes operation.
	//
	// Reorder nodes.
	//
	// POST /api/nodes/actions/reorder
	NodesControllerReorderNodes(ctx context.Context, request *ReorderNodeRequestDto) (NodesControllerReorderNodesRes, error)
	// NodesControllerResetNodeTraffic invokes NodesController_resetNodeTraffic operation.
	//
	// Reset Node Traffic.
	//
	// POST /api/nodes/{uuid}/actions/reset-traffic
	NodesControllerResetNodeTraffic(ctx context.Context, params NodesControllerResetNodeTrafficParams) (NodesControllerResetNodeTrafficRes, error)
	// NodesControllerRestartAllNodes invokes NodesController_restartAllNodes operation.
	//
	// Restart all nodes.
	//
	// POST /api/nodes/actions/restart-all
	NodesControllerRestartAllNodes(ctx context.Context, request *RestartAllNodesRequestBodyDto) (NodesControllerRestartAllNodesRes, error)
	// NodesControllerRestartNode invokes NodesController_restartNode operation.
	//
	// Restart node.
	//
	// POST /api/nodes/{uuid}/actions/restart
	NodesControllerRestartNode(ctx context.Context, params NodesControllerRestartNodeParams) (NodesControllerRestartNodeRes, error)
	// NodesControllerUpdateNode invokes NodesController_updateNode operation.
	//
	// Update node.
	//
	// PATCH /api/nodes
	NodesControllerUpdateNode(ctx context.Context, request *UpdateNodeRequestDto) (NodesControllerUpdateNodeRes, error)
	// NodesUsageHistoryControllerGetStatsNodesUsage invokes NodesUsageHistoryController_getStatsNodesUsage operation.
	//
	// Get Nodes Usage by Range.
	//
	// GET /api/bandwidth-stats/nodes
	NodesUsageHistoryControllerGetStatsNodesUsage(ctx context.Context, params NodesUsageHistoryControllerGetStatsNodesUsageParams) (NodesUsageHistoryControllerGetStatsNodesUsageRes, error)
	// PasskeyControllerDeletePasskey invokes PasskeyController_deletePasskey operation.
	//
	// Delete a passkey by ID.
	//
	// DELETE /api/passkeys
	PasskeyControllerDeletePasskey(ctx context.Context, request *DeletePasskeyRequestDto) (PasskeyControllerDeletePasskeyRes, error)
	// PasskeyControllerGetActivePasskeys invokes PasskeyController_getActivePasskeys operation.
	//
	// Get all passkeys.
	//
	// GET /api/passkeys
	PasskeyControllerGetActivePasskeys(ctx context.Context) (PasskeyControllerGetActivePasskeysRes, error)
	// PasskeyControllerPasskeyRegistrationOptions invokes PasskeyController_passkeyRegistrationOptions operation.
	//
	// Get registration options for passkey.
	//
	// GET /api/passkeys/registration/options
	PasskeyControllerPasskeyRegistrationOptions(ctx context.Context) (PasskeyControllerPasskeyRegistrationOptionsRes, error)
	// PasskeyControllerPasskeyRegistrationVerify invokes PasskeyController_passkeyRegistrationVerify operation.
	//
	// Verify registration for passkey.
	//
	// POST /api/passkeys/registration/verify
	PasskeyControllerPasskeyRegistrationVerify(ctx context.Context, request *PasskeyOptions) (PasskeyControllerPasskeyRegistrationVerifyRes, error)
	// PasskeyControllerUpdatePasskey invokes PasskeyController_updatePasskey operation.
	//
	// Update passkey.
	//
	// PATCH /api/passkeys
	PasskeyControllerUpdatePasskey(ctx context.Context, request *UpdatePasskeyRequestDto) (PasskeyControllerUpdatePasskeyRes, error)
	// RemnawaveSettingsControllerGetSettings invokes RemnawaveSettingsController_getSettings operation.
	//
	// Get Remnawave settings.
	//
	// GET /api/remnawave-settings
	RemnawaveSettingsControllerGetSettings(ctx context.Context) (RemnawaveSettingsControllerGetSettingsRes, error)
	// RemnawaveSettingsControllerUpdateSettings invokes RemnawaveSettingsController_updateSettings operation.
	//
	// Update Remnawave settings.
	//
	// PATCH /api/remnawave-settings
	RemnawaveSettingsControllerUpdateSettings(ctx context.Context, request *UpdateRemnawaveSettingsRequestDto) (RemnawaveSettingsControllerUpdateSettingsRes, error)
	// SnippetsControllerCreateSnippet invokes SnippetsController_createSnippet operation.
	//
	// Create snippet.
	//
	// POST /api/snippets
	SnippetsControllerCreateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerCreateSnippetRes, error)
	// SnippetsControllerDeleteSnippetByName invokes SnippetsController_deleteSnippetByName operation.
	//
	// Delete snippet.
	//
	// DELETE /api/snippets
	SnippetsControllerDeleteSnippetByName(ctx context.Context, request *DeleteSnippetRequestDto) (SnippetsControllerDeleteSnippetByNameRes, error)
	// SnippetsControllerGetSnippets invokes SnippetsController_getSnippets operation.
	//
	// Get snippets.
	//
	// GET /api/snippets
	SnippetsControllerGetSnippets(ctx context.Context) (SnippetsControllerGetSnippetsRes, error)
	// SnippetsControllerUpdateSnippet invokes SnippetsController_updateSnippet operation.
	//
	// Update snippet.
	//
	// PATCH /api/snippets
	SnippetsControllerUpdateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerUpdateSnippetRes, error)
	// SubscriptionControllerGetSubscription invokes SubscriptionController_getSubscription operation.
	//
	// GET /api/sub/{shortUuid}
	SubscriptionControllerGetSubscription(ctx context.Context, params SubscriptionControllerGetSubscriptionParams) error
	// SubscriptionControllerGetSubscriptionByClientType invokes SubscriptionController_getSubscriptionByClientType operation.
	//
	// GET /api/sub/{shortUuid}/{clientType}
	SubscriptionControllerGetSubscriptionByClientType(ctx context.Context, params SubscriptionControllerGetSubscriptionByClientTypeParams) error
	// SubscriptionControllerGetSubscriptionInfoByShortUuid invokes SubscriptionController_getSubscriptionInfoByShortUuid operation.
	//
	// Get Subscription Info by Short UUID.
	//
	// GET /api/sub/{shortUuid}/info
	SubscriptionControllerGetSubscriptionInfoByShortUuid(ctx context.Context, params SubscriptionControllerGetSubscriptionInfoByShortUuidParams) (SubscriptionControllerGetSubscriptionInfoByShortUuidRes, error)
	// SubscriptionControllerGetSubscriptionWithType invokes SubscriptionController_getSubscriptionWithType operation.
	//
	// GET /api/sub/outline/{shortUuid}/{type}/{encodedTag}
	SubscriptionControllerGetSubscriptionWithType(ctx context.Context, params SubscriptionControllerGetSubscriptionWithTypeParams) error
	// SubscriptionPageConfigControllerCloneSubscriptionPageConfig invokes SubscriptionPageConfigController_cloneSubscriptionPageConfig operation.
	//
	// Clone subscription page config.
	//
	// POST /api/subscription-page-configs/actions/clone
	SubscriptionPageConfigControllerCloneSubscriptionPageConfig(ctx context.Context, request *CloneSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerCloneSubscriptionPageConfigRes, error)
	// SubscriptionPageConfigControllerCreateConfig invokes SubscriptionPageConfigController_createConfig operation.
	//
	// Create subscription page config.
	//
	// POST /api/subscription-page-configs
	SubscriptionPageConfigControllerCreateConfig(ctx context.Context, request *ExternalSquadRequestRequest) (SubscriptionPageConfigControllerCreateConfigRes, error)
	// SubscriptionPageConfigControllerDeleteConfig invokes SubscriptionPageConfigController_deleteConfig operation.
	//
	// Delete subscription page config.
	//
	// DELETE /api/subscription-page-configs/{uuid}
	SubscriptionPageConfigControllerDeleteConfig(ctx context.Context, params SubscriptionPageConfigControllerDeleteConfigParams) (SubscriptionPageConfigControllerDeleteConfigRes, error)
	// SubscriptionPageConfigControllerGetAllConfigs invokes SubscriptionPageConfigController_getAllConfigs operation.
	//
	// Get all subscription page configs.
	//
	// GET /api/subscription-page-configs
	SubscriptionPageConfigControllerGetAllConfigs(ctx context.Context) (SubscriptionPageConfigControllerGetAllConfigsRes, error)
	// SubscriptionPageConfigControllerGetConfigByUuid invokes SubscriptionPageConfigController_getConfigByUuid operation.
	//
	// Get subscription page config by uuid.
	//
	// GET /api/subscription-page-configs/{uuid}
	SubscriptionPageConfigControllerGetConfigByUuid(ctx context.Context, params SubscriptionPageConfigControllerGetConfigByUuidParams) (SubscriptionPageConfigControllerGetConfigByUuidRes, error)
	// SubscriptionPageConfigControllerReorderSubscriptionPageConfigs invokes SubscriptionPageConfigController_reorderSubscriptionPageConfigs operation.
	//
	// Reorder subscription page configs.
	//
	// POST /api/subscription-page-configs/actions/reorder
	SubscriptionPageConfigControllerReorderSubscriptionPageConfigs(ctx context.Context, request *ReorderRequest) (SubscriptionPageConfigControllerReorderSubscriptionPageConfigsRes, error)
	// SubscriptionPageConfigControllerUpdateConfig invokes SubscriptionPageConfigController_updateConfig operation.
	//
	// Update subscription page config.
	//
	// PATCH /api/subscription-page-configs
	SubscriptionPageConfigControllerUpdateConfig(ctx context.Context, request *UpdateSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerUpdateConfigRes, error)
	// SubscriptionSettingsControllerGetSettings invokes SubscriptionSettingsController_getSettings operation.
	//
	// Get subscription settings.
	//
	// GET /api/subscription-settings
	SubscriptionSettingsControllerGetSettings(ctx context.Context) (SubscriptionSettingsControllerGetSettingsRes, error)
	// SubscriptionSettingsControllerUpdateSettings invokes SubscriptionSettingsController_updateSettings operation.
	//
	// Update subscription settings.
	//
	// PATCH /api/subscription-settings
	SubscriptionSettingsControllerUpdateSettings(ctx context.Context, request *UpdateSubscriptionSettingsRequestDto) (SubscriptionSettingsControllerUpdateSettingsRes, error)
	// SubscriptionTemplateControllerCreateTemplate invokes SubscriptionTemplateController_createTemplate operation.
	//
	// Create subscription template.
	//
	// POST /api/subscription-templates
	SubscriptionTemplateControllerCreateTemplate(ctx context.Context, request *CreateSubscriptionTemplateRequestDto) (SubscriptionTemplateControllerCreateTemplateRes, error)
	// SubscriptionTemplateControllerDeleteTemplate invokes SubscriptionTemplateController_deleteTemplate operation.
	//
	// Delete subscription template.
	//
	// DELETE /api/subscription-templates/{uuid}
	SubscriptionTemplateControllerDeleteTemplate(ctx context.Context, params SubscriptionTemplateControllerDeleteTemplateParams) (SubscriptionTemplateControllerDeleteTemplateRes, error)
	// SubscriptionTemplateControllerGetAllTemplates invokes SubscriptionTemplateController_getAllTemplates operation.
	//
	// Get all subscription templates (wihout content).
	//
	// GET /api/subscription-templates
	SubscriptionTemplateControllerGetAllTemplates(ctx context.Context) (SubscriptionTemplateControllerGetAllTemplatesRes, error)
	// SubscriptionTemplateControllerGetTemplateByUuid invokes SubscriptionTemplateController_getTemplateByUuid operation.
	//
	// Get subscription template by uuid.
	//
	// GET /api/subscription-templates/{uuid}
	SubscriptionTemplateControllerGetTemplateByUuid(ctx context.Context, params SubscriptionTemplateControllerGetTemplateByUuidParams) (SubscriptionTemplateControllerGetTemplateByUuidRes, error)
	// SubscriptionTemplateControllerReorderSubscriptionTemplates invokes SubscriptionTemplateController_reorderSubscriptionTemplates operation.
	//
	// Reorder subscription templates.
	//
	// POST /api/subscription-templates/actions/reorder
	SubscriptionTemplateControllerReorderSubscriptionTemplates(ctx context.Context, request *ReorderRequest) (SubscriptionTemplateControllerReorderSubscriptionTemplatesRes, error)
	// SubscriptionTemplateControllerUpdateTemplate invokes SubscriptionTemplateController_updateTemplate operation.
	//
	// Update subscription template.
	//
	// PATCH /api/subscription-templates
	SubscriptionTemplateControllerUpdateTemplate(ctx context.Context, request *UpdateTemplateRequestDto) (SubscriptionTemplateControllerUpdateTemplateRes, error)
	// SubscriptionsControllerGetAllSubscriptions invokes SubscriptionsController_getAllSubscriptions operation.
	//
	// Get all subscriptions.
	//
	// GET /api/subscriptions
	SubscriptionsControllerGetAllSubscriptions(ctx context.Context, params SubscriptionsControllerGetAllSubscriptionsParams) (SubscriptionsControllerGetAllSubscriptionsRes, error)
	// SubscriptionsControllerGetRawSubscriptionByShortUuid invokes SubscriptionsController_getRawSubscriptionByShortUuid operation.
	//
	// Get Raw Subscription by Short UUID.
	//
	// GET /api/subscriptions/by-short-uuid/{shortUuid}/raw
	SubscriptionsControllerGetRawSubscriptionByShortUuid(ctx context.Context, params SubscriptionsControllerGetRawSubscriptionByShortUuidParams) (SubscriptionsControllerGetRawSubscriptionByShortUuidRes, error)
	// SubscriptionsControllerGetSubpageConfigByShortUuid invokes SubscriptionsController_getSubpageConfigByShortUuid operation.
	//
	// Get Subpage Config by Short UUID.
	//
	// GET /api/subscriptions/subpage-config/{shortUuid}
	SubscriptionsControllerGetSubpageConfigByShortUuid(ctx context.Context, request *GetSubpageConfigByShortUuidRequestBodyDto, params SubscriptionsControllerGetSubpageConfigByShortUuidParams) (SubscriptionsControllerGetSubpageConfigByShortUuidRes, error)
	// SubscriptionsControllerGetSubscriptionByShortUuidProtected invokes SubscriptionsController_getSubscriptionByShortUuidProtected operation.
	//
	// Get subscription by short uuid (protected route).
	//
	// GET /api/subscriptions/by-short-uuid/{shortUuid}
	SubscriptionsControllerGetSubscriptionByShortUuidProtected(ctx context.Context, params SubscriptionsControllerGetSubscriptionByShortUuidProtectedParams) (SubscriptionsControllerGetSubscriptionByShortUuidProtectedRes, error)
	// SubscriptionsControllerGetSubscriptionByUsername invokes SubscriptionsController_getSubscriptionByUsername operation.
	//
	// Get subscription by username.
	//
	// GET /api/subscriptions/by-username/{username}
	SubscriptionsControllerGetSubscriptionByUsername(ctx context.Context, params SubscriptionsControllerGetSubscriptionByUsernameParams) (SubscriptionsControllerGetSubscriptionByUsernameRes, error)
	// SubscriptionsControllerGetSubscriptionByUuid invokes SubscriptionsController_getSubscriptionByUuid operation.
	//
	// Get subscription by uuid.
	//
	// GET /api/subscriptions/by-uuid/{uuid}
	SubscriptionsControllerGetSubscriptionByUuid(ctx context.Context, params SubscriptionsControllerGetSubscriptionByUuidParams) (SubscriptionsControllerGetSubscriptionByUuidRes, error)
	// SystemControllerDebugSrrMatcher invokes SystemController_debugSrrMatcher operation.
	//
	// Test SRR Matcher.
	//
	// POST /api/system/testers/srr-matcher
	SystemControllerDebugSrrMatcher(ctx context.Context, request *DebugSrrMatcherRequestDto) (SystemControllerDebugSrrMatcherRes, error)
	// SystemControllerEncryptHappCryptoLink invokes SystemController_encryptHappCryptoLink operation.
	//
	// Encrypt Happ Crypto Link.
	//
	// POST /api/system/tools/happ/encrypt
	SystemControllerEncryptHappCryptoLink(ctx context.Context, request *EncryptHappCryptoLinkRequestDto) (SystemControllerEncryptHappCryptoLinkRes, error)
	// SystemControllerGetBandwidthStats invokes SystemController_getBandwidthStats operation.
	//
	// Get Bandwidth Stats.
	//
	// GET /api/system/stats/bandwidth
	SystemControllerGetBandwidthStats(ctx context.Context) (SystemControllerGetBandwidthStatsRes, error)
	// SystemControllerGetNodesMetrics invokes SystemController_getNodesMetrics operation.
	//
	// Get Nodes Metrics.
	//
	// GET /api/system/nodes/metrics
	SystemControllerGetNodesMetrics(ctx context.Context) (SystemControllerGetNodesMetricsRes, error)
	// SystemControllerGetNodesStatistics invokes SystemController_getNodesStatistics operation.
	//
	// Get Nodes Statistics.
	//
	// GET /api/system/stats/nodes
	SystemControllerGetNodesStatistics(ctx context.Context) (SystemControllerGetNodesStatisticsRes, error)
	// SystemControllerGetRemnawaveHealth invokes SystemController_getRemnawaveHealth operation.
	//
	// Get Remnawave Health.
	//
	// GET /api/system/health
	SystemControllerGetRemnawaveHealth(ctx context.Context) (SystemControllerGetRemnawaveHealthRes, error)
	// SystemControllerGetStats invokes SystemController_getStats operation.
	//
	// Get Stats.
	//
	// GET /api/system/stats
	SystemControllerGetStats(ctx context.Context) (SystemControllerGetStatsRes, error)
	// SystemControllerGetX25519Keypairs invokes SystemController_getX25519Keypairs operation.
	//
	// Generate 30 X25519 keypairs.
	//
	// GET /api/system/tools/x25519/generate
	SystemControllerGetX25519Keypairs(ctx context.Context) (SystemControllerGetX25519KeypairsRes, error)
	// UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistory invokes UserSubscriptionRequestHistoryController_getSubscriptionRequestHistory operation.
	//
	// Get all subscription request history.
	//
	// GET /api/subscription-request-history
	UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistory(ctx context.Context, params UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryParams) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryRes, error)
	// UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStats invokes UserSubscriptionRequestHistoryController_getSubscriptionRequestHistoryStats operation.
	//
	// Get subscription request history stats.
	//
	// GET /api/subscription-request-history/stats
	UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStats(ctx context.Context) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsRes, error)
	// UsersBulkActionsControllerBulkAllExtendExpirationDate invokes UsersBulkActionsController_bulkAllExtendExpirationDate operation.
	//
	// Bulk extend all users expiration date.
	//
	// POST /api/users/bulk/all/extend-expiration-date
	UsersBulkActionsControllerBulkAllExtendExpirationDate(ctx context.Context, request *BulkAllExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkAllExtendExpirationDateRes, error)
	// UsersBulkActionsControllerBulkAllResetUserTraffic invokes UsersBulkActionsController_bulkAllResetUserTraffic operation.
	//
	// Bulk reset all users traffic.
	//
	// POST /api/users/bulk/all/reset-traffic
	UsersBulkActionsControllerBulkAllResetUserTraffic(ctx context.Context) (UsersBulkActionsControllerBulkAllResetUserTrafficRes, error)
	// UsersBulkActionsControllerBulkDeleteUsers invokes UsersBulkActionsController_bulkDeleteUsers operation.
	//
	// Bulk delete users by UUIDs.
	//
	// POST /api/users/bulk/delete
	UsersBulkActionsControllerBulkDeleteUsers(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkDeleteUsersRes, error)
	// UsersBulkActionsControllerBulkDeleteUsersByStatus invokes UsersBulkActionsController_bulkDeleteUsersByStatus operation.
	//
	// Bulk delete users by status.
	//
	// POST /api/users/bulk/delete-by-status
	UsersBulkActionsControllerBulkDeleteUsersByStatus(ctx context.Context, request *BulkDeleteUsersByStatusRequestDto) (UsersBulkActionsControllerBulkDeleteUsersByStatusRes, error)
	// UsersBulkActionsControllerBulkExtendExpirationDate invokes UsersBulkActionsController_bulkExtendExpirationDate operation.
	//
	// Bulk extend all users expiration date.
	//
	// POST /api/users/bulk/extend-expiration-date
	UsersBulkActionsControllerBulkExtendExpirationDate(ctx context.Context, request *BulkExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkExtendExpirationDateRes, error)
	// UsersBulkActionsControllerBulkResetUserTraffic invokes UsersBulkActionsController_bulkResetUserTraffic operation.
	//
	// Bulk reset traffic users by UUIDs.
	//
	// POST /api/users/bulk/reset-traffic
	UsersBulkActionsControllerBulkResetUserTraffic(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkResetUserTrafficRes, error)
	// UsersBulkActionsControllerBulkRevokeUsersSubscription invokes UsersBulkActionsController_bulkRevokeUsersSubscription operation.
	//
	// Revoke users subscription by User UUIDs.
	//
	// POST /api/users/bulk/revoke-subscription
	UsersBulkActionsControllerBulkRevokeUsersSubscription(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkRevokeUsersSubscriptionRes, error)
	// UsersBulkActionsControllerBulkUpdateAllUsers invokes UsersBulkActionsController_bulkUpdateAllUsers operation.
	//
	// Bulk update all users.
	//
	// POST /api/users/bulk/all/update
	UsersBulkActionsControllerBulkUpdateAllUsers(ctx context.Context, request *BulkAllUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateAllUsersRes, error)
	// UsersBulkActionsControllerBulkUpdateUsers invokes UsersBulkActionsController_bulkUpdateUsers operation.
	//
	// Bulk update users by UUIDs.
	//
	// POST /api/users/bulk/update
	UsersBulkActionsControllerBulkUpdateUsers(ctx context.Context, request *BulkUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateUsersRes, error)
	// UsersBulkActionsControllerBulkUpdateUsersInternalSquads invokes UsersBulkActionsController_bulkUpdateUsersInternalSquads operation.
	//
	// Bulk update users internal squads by UUIDs.
	//
	// POST /api/users/bulk/update-squads
	UsersBulkActionsControllerBulkUpdateUsersInternalSquads(ctx context.Context, request *BulkUpdateUsersSquadsRequestDto) (UsersBulkActionsControllerBulkUpdateUsersInternalSquadsRes, error)
	// UsersControllerCreateUser invokes UsersController_createUser operation.
	//
	// Create a new user.
	//
	// POST /api/users
	UsersControllerCreateUser(ctx context.Context, request *CreateUserRequestDto) (UsersControllerCreateUserRes, error)
	// UsersControllerDeleteUser invokes UsersController_deleteUser operation.
	//
	// Delete user.
	//
	// DELETE /api/users/{uuid}
	UsersControllerDeleteUser(ctx context.Context, params UsersControllerDeleteUserParams) (UsersControllerDeleteUserRes, error)
	// UsersControllerDisableUser invokes UsersController_disableUser operation.
	//
	// Disable user.
	//
	// POST /api/users/{uuid}/actions/disable
	UsersControllerDisableUser(ctx context.Context, params UsersControllerDisableUserParams) (UsersControllerDisableUserRes, error)
	// UsersControllerEnableUser invokes UsersController_enableUser operation.
	//
	// Enable user.
	//
	// POST /api/users/{uuid}/actions/enable
	UsersControllerEnableUser(ctx context.Context, params UsersControllerEnableUserParams) (UsersControllerEnableUserRes, error)
	// UsersControllerGetAllTags invokes UsersController_getAllTags operation.
	//
	// Get all existing user tags.
	//
	// GET /api/users/tags
	UsersControllerGetAllTags(ctx context.Context) (UsersControllerGetAllTagsRes, error)
	// UsersControllerGetAllUsers invokes UsersController_getAllUsers operation.
	//
	// Get all users.
	//
	// GET /api/users
	UsersControllerGetAllUsers(ctx context.Context, params UsersControllerGetAllUsersParams) (UsersControllerGetAllUsersRes, error)
	// UsersControllerGetUserAccessibleNodes invokes UsersController_getUserAccessibleNodes operation.
	//
	// Get user accessible nodes.
	//
	// GET /api/users/{uuid}/accessible-nodes
	UsersControllerGetUserAccessibleNodes(ctx context.Context, params UsersControllerGetUserAccessibleNodesParams) (UsersControllerGetUserAccessibleNodesRes, error)
	// UsersControllerGetUserById invokes UsersController_getUserById operation.
	//
	// Get user by ID.
	//
	// GET /api/users/by-id/{id}
	UsersControllerGetUserById(ctx context.Context, params UsersControllerGetUserByIdParams) (UsersControllerGetUserByIdRes, error)
	// UsersControllerGetUserByShortUuid invokes UsersController_getUserByShortUuid operation.
	//
	// Get user by Short UUID.
	//
	// GET /api/users/by-short-uuid/{shortUuid}
	UsersControllerGetUserByShortUuid(ctx context.Context, params UsersControllerGetUserByShortUuidParams) (UsersControllerGetUserByShortUuidRes, error)
	// UsersControllerGetUserByTelegramId invokes UsersController_getUserByTelegramId operation.
	//
	// Get users by telegram ID.
	//
	// GET /api/users/by-telegram-id/{telegramId}
	UsersControllerGetUserByTelegramId(ctx context.Context, params UsersControllerGetUserByTelegramIdParams) (UsersControllerGetUserByTelegramIdRes, error)
	// UsersControllerGetUserByUsername invokes UsersController_getUserByUsername operation.
	//
	// Get user by username.
	//
	// GET /api/users/by-username/{username}
	UsersControllerGetUserByUsername(ctx context.Context, params UsersControllerGetUserByUsernameParams) (UsersControllerGetUserByUsernameRes, error)
	// UsersControllerGetUserByUuid invokes UsersController_getUserByUuid operation.
	//
	// Get user by UUID.
	//
	// GET /api/users/{uuid}
	UsersControllerGetUserByUuid(ctx context.Context, params UsersControllerGetUserByUuidParams) (UsersControllerGetUserByUuidRes, error)
	// UsersControllerGetUserSubscriptionRequestHistory invokes UsersController_getUserSubscriptionRequestHistory operation.
	//
	// Get user subscription request history, recent 24 records.
	//
	// GET /api/users/{uuid}/subscription-request-history
	UsersControllerGetUserSubscriptionRequestHistory(ctx context.Context, params UsersControllerGetUserSubscriptionRequestHistoryParams) (UsersControllerGetUserSubscriptionRequestHistoryRes, error)
	// UsersControllerGetUsersByEmail invokes UsersController_getUsersByEmail operation.
	//
	// Get users by email.
	//
	// GET /api/users/by-email/{email}
	UsersControllerGetUsersByEmail(ctx context.Context, params UsersControllerGetUsersByEmailParams) (UsersControllerGetUsersByEmailRes, error)
	// UsersControllerGetUsersByTag invokes UsersController_getUsersByTag operation.
	//
	// Get users by tag.
	//
	// GET /api/users/by-tag/{tag}
	UsersControllerGetUsersByTag(ctx context.Context, params UsersControllerGetUsersByTagParams) (UsersControllerGetUsersByTagRes, error)
	// UsersControllerResetUserTraffic invokes UsersController_resetUserTraffic operation.
	//
	// Reset user traffic.
	//
	// POST /api/users/{uuid}/actions/reset-traffic
	UsersControllerResetUserTraffic(ctx context.Context, params UsersControllerResetUserTrafficParams) (UsersControllerResetUserTrafficRes, error)
	// UsersControllerRevokeUserSubscription invokes UsersController_revokeUserSubscription operation.
	//
	// Revoke user subscription.
	//
	// POST /api/users/{uuid}/actions/revoke
	UsersControllerRevokeUserSubscription(ctx context.Context, request *RevokeUserSubscriptionBodyDto, params UsersControllerRevokeUserSubscriptionParams) (UsersControllerRevokeUserSubscriptionRes, error)
	// UsersControllerUpdateUser invokes UsersController_updateUser operation.
	//
	// Update a user by UUID or username.
	//
	// PATCH /api/users
	UsersControllerUpdateUser(ctx context.Context, request *UpdateUserRequestDto) (UsersControllerUpdateUserRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type KeygenClient

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

KeygenClient provides Keygen operations.

func NewKeygenClient

func NewKeygenClient(client *Client) *KeygenClient

NewKeygenClient creates a new KeygenClient.

func (*KeygenClient) GenerateKey

GenerateKey calls KeygenController_generateKey.

type KeygenControllerGenerateKeyRes

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

type LoginRequestDto

type LoginRequestDto struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Ref: #/components/schemas/LoginRequestDto

func (*LoginRequestDto) Decode

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

Decode decodes LoginRequestDto from json.

func (*LoginRequestDto) Encode

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

Encode implements json.Marshaler.

func (*LoginRequestDto) GetPassword

func (s *LoginRequestDto) GetPassword() string

GetPassword returns the value of Password.

func (*LoginRequestDto) GetUsername

func (s *LoginRequestDto) GetUsername() string

GetUsername returns the value of Username.

func (*LoginRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LoginRequestDto) SetFake

func (s *LoginRequestDto) SetFake()

SetFake set fake values.

func (*LoginRequestDto) SetPassword

func (s *LoginRequestDto) SetPassword(val string)

SetPassword sets the value of Password.

func (*LoginRequestDto) SetUsername

func (s *LoginRequestDto) SetUsername(val string)

SetUsername sets the value of Username.

func (*LoginRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilBrandingSettings

type NilBrandingSettings struct {
	Value BrandingSettings
	Null  bool
}

NilBrandingSettings is nullable BrandingSettings.

func NewNilBrandingSettings

func NewNilBrandingSettings(v BrandingSettings) NilBrandingSettings

NewNilBrandingSettings returns new NilBrandingSettings with value set to v.

func (*NilBrandingSettings) Decode

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

Decode decodes BrandingSettings from json.

func (NilBrandingSettings) Encode

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

Encode encodes BrandingSettings as json.

func (NilBrandingSettings) Get

func (o NilBrandingSettings) Get() (v BrandingSettings, ok bool)

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

func (NilBrandingSettings) IsNull

func (o NilBrandingSettings) IsNull() bool

IsNull returns true if value is Null.

func (NilBrandingSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilBrandingSettings) Or

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

func (*NilBrandingSettings) SetFake

func (s *NilBrandingSettings) SetFake()

SetFake set fake values.

func (*NilBrandingSettings) SetTo

SetTo sets value to v.

func (*NilBrandingSettings) SetToNull

func (o *NilBrandingSettings) SetToNull()

SetToNull sets value to null.

func (*NilBrandingSettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilCustomRemark

type NilCustomRemark struct {
	Value CustomRemark
	Null  bool
}

NilCustomRemark is nullable CustomRemark.

func NewNilCustomRemark

func NewNilCustomRemark(v CustomRemark) NilCustomRemark

NewNilCustomRemark returns new NilCustomRemark with value set to v.

func (*NilCustomRemark) Decode

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

Decode decodes CustomRemark from json.

func (NilCustomRemark) Encode

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

Encode encodes CustomRemark as json.

func (NilCustomRemark) Get

func (o NilCustomRemark) Get() (v CustomRemark, ok bool)

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

func (NilCustomRemark) IsNull

func (o NilCustomRemark) IsNull() bool

IsNull returns true if value is Null.

func (NilCustomRemark) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilCustomRemark) Or

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

func (*NilCustomRemark) SetFake

func (s *NilCustomRemark) SetFake()

SetFake set fake values.

func (*NilCustomRemark) SetTo

func (o *NilCustomRemark) SetTo(v CustomRemark)

SetTo sets value to v.

func (*NilCustomRemark) SetToNull

func (o *NilCustomRemark) SetToNull()

SetToNull sets value to null.

func (*NilCustomRemark) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilDateTime

type NilDateTime struct {
	Value time.Time
	Null  bool
}

NilDateTime is nullable time.Time.

func NewNilDateTime

func NewNilDateTime(v time.Time) NilDateTime

NewNilDateTime returns new NilDateTime with value set to v.

func (*NilDateTime) Decode

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

Decode decodes time.Time from json.

func (NilDateTime) Encode

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

Encode encodes time.Time as json.

func (NilDateTime) Get

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

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

func (NilDateTime) IsNull

func (o NilDateTime) IsNull() bool

IsNull returns true if value is Null.

func (NilDateTime) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilDateTime) Or

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

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

func (*NilDateTime) SetFake

func (s *NilDateTime) SetFake()

SetFake set fake values.

func (*NilDateTime) SetTo

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

SetTo sets value to v.

func (*NilDateTime) SetToNull

func (o *NilDateTime) SetToNull()

SetToNull sets value to null.

func (*NilDateTime) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilExternalSquadResponseHeaders

type NilExternalSquadResponseHeaders struct {
	Value ExternalSquadResponseHeaders
	Null  bool
}

NilExternalSquadResponseHeaders is nullable ExternalSquadResponseHeaders.

func NewNilExternalSquadResponseHeaders

func NewNilExternalSquadResponseHeaders(v ExternalSquadResponseHeaders) NilExternalSquadResponseHeaders

NewNilExternalSquadResponseHeaders returns new NilExternalSquadResponseHeaders with value set to v.

func (*NilExternalSquadResponseHeaders) Decode

Decode decodes ExternalSquadResponseHeaders from json.

func (NilExternalSquadResponseHeaders) Encode

Encode encodes ExternalSquadResponseHeaders as json.

func (NilExternalSquadResponseHeaders) Get

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

func (NilExternalSquadResponseHeaders) IsNull

IsNull returns true if value is Null.

func (NilExternalSquadResponseHeaders) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilExternalSquadResponseHeaders) Or

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

func (*NilExternalSquadResponseHeaders) SetFake

func (s *NilExternalSquadResponseHeaders) SetFake()

SetFake set fake values.

func (*NilExternalSquadResponseHeaders) SetTo

SetTo sets value to v.

func (*NilExternalSquadResponseHeaders) SetToNull

func (o *NilExternalSquadResponseHeaders) SetToNull()

SetToNull sets value to null.

func (*NilExternalSquadResponseHeaders) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilFloat64

type NilFloat64 struct {
	Value float64
	Null  bool
}

NilFloat64 is nullable float64.

func NewNilFloat64

func NewNilFloat64(v float64) NilFloat64

NewNilFloat64 returns new NilFloat64 with value set to v.

func (*NilFloat64) Decode

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

Decode decodes float64 from json.

func (NilFloat64) Encode

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

Encode encodes float64 as json.

func (NilFloat64) Get

func (o NilFloat64) Get() (v float64, ok bool)

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

func (NilFloat64) IsNull

func (o NilFloat64) IsNull() bool

IsNull returns true if value is Null.

func (NilFloat64) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilFloat64) Or

func (o NilFloat64) Or(d float64) float64

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

func (*NilFloat64) SetFake

func (s *NilFloat64) SetFake()

SetFake set fake values.

func (*NilFloat64) SetTo

func (o *NilFloat64) SetTo(v float64)

SetTo sets value to v.

func (*NilFloat64) SetToNull

func (o *NilFloat64) SetToNull()

SetToNull sets value to null.

func (*NilFloat64) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilGetStatusResponseDtoResponseAuthentication

type NilGetStatusResponseDtoResponseAuthentication struct {
	Value GetStatusResponseDtoResponseAuthentication
	Null  bool
}

NilGetStatusResponseDtoResponseAuthentication is nullable GetStatusResponseDtoResponseAuthentication.

func NewNilGetStatusResponseDtoResponseAuthentication

func NewNilGetStatusResponseDtoResponseAuthentication(v GetStatusResponseDtoResponseAuthentication) NilGetStatusResponseDtoResponseAuthentication

NewNilGetStatusResponseDtoResponseAuthentication returns new NilGetStatusResponseDtoResponseAuthentication with value set to v.

func (*NilGetStatusResponseDtoResponseAuthentication) Decode

Decode decodes GetStatusResponseDtoResponseAuthentication from json.

func (NilGetStatusResponseDtoResponseAuthentication) Encode

Encode encodes GetStatusResponseDtoResponseAuthentication as json.

func (NilGetStatusResponseDtoResponseAuthentication) Get

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

func (NilGetStatusResponseDtoResponseAuthentication) IsNull

IsNull returns true if value is Null.

func (NilGetStatusResponseDtoResponseAuthentication) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilGetStatusResponseDtoResponseAuthentication) Or

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

func (*NilGetStatusResponseDtoResponseAuthentication) SetFake

SetFake set fake values.

func (*NilGetStatusResponseDtoResponseAuthentication) SetTo

SetTo sets value to v.

func (*NilGetStatusResponseDtoResponseAuthentication) SetToNull

SetToNull sets value to null.

func (*NilGetStatusResponseDtoResponseAuthentication) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilHostOverride

type NilHostOverride struct {
	Value HostOverride
	Null  bool
}

NilHostOverride is nullable HostOverride.

func NewNilHostOverride

func NewNilHostOverride(v HostOverride) NilHostOverride

NewNilHostOverride returns new NilHostOverride with value set to v.

func (*NilHostOverride) Decode

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

Decode decodes HostOverride from json.

func (NilHostOverride) Encode

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

Encode encodes HostOverride as json.

func (NilHostOverride) Get

func (o NilHostOverride) Get() (v HostOverride, ok bool)

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

func (NilHostOverride) IsNull

func (o NilHostOverride) IsNull() bool

IsNull returns true if value is Null.

func (NilHostOverride) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilHostOverride) Or

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

func (*NilHostOverride) SetFake

func (s *NilHostOverride) SetFake()

SetFake set fake values.

func (*NilHostOverride) SetTo

func (o *NilHostOverride) SetTo(v HostOverride)

SetTo sets value to v.

func (*NilHostOverride) SetToNull

func (o *NilHostOverride) SetToNull()

SetToNull sets value to null.

func (*NilHostOverride) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilHwidSettings

type NilHwidSettings struct {
	Value HwidSettings
	Null  bool
}

NilHwidSettings is nullable HwidSettings.

func NewNilHwidSettings

func NewNilHwidSettings(v HwidSettings) NilHwidSettings

NewNilHwidSettings returns new NilHwidSettings with value set to v.

func (*NilHwidSettings) Decode

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

Decode decodes HwidSettings from json.

func (NilHwidSettings) Encode

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

Encode encodes HwidSettings as json.

func (NilHwidSettings) Get

func (o NilHwidSettings) Get() (v HwidSettings, ok bool)

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

func (NilHwidSettings) IsNull

func (o NilHwidSettings) IsNull() bool

IsNull returns true if value is Null.

func (NilHwidSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilHwidSettings) Or

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

func (*NilHwidSettings) SetFake

func (s *NilHwidSettings) SetFake()

SetFake set fake values.

func (*NilHwidSettings) SetTo

func (o *NilHwidSettings) SetTo(v HwidSettings)

SetTo sets value to v.

func (*NilHwidSettings) SetToNull

func (o *NilHwidSettings) SetToNull()

SetToNull sets value to null.

func (*NilHwidSettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilInt

type NilInt struct {
	Value int
	Null  bool
}

NilInt is nullable int.

func NewNilInt

func NewNilInt(v int) NilInt

NewNilInt returns new NilInt with value set to v.

func (*NilInt) Decode

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

Decode decodes int from json.

func (NilInt) Encode

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

Encode encodes int as json.

func (NilInt) Get

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

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

func (NilInt) IsNull

func (o NilInt) IsNull() bool

IsNull returns true if value is Null.

func (NilInt) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilInt) Or

func (o NilInt) Or(d int) int

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

func (*NilInt) SetFake

func (s *NilInt) SetFake()

SetFake set fake values.

func (*NilInt) SetTo

func (o *NilInt) SetTo(v int)

SetTo sets value to v.

func (*NilInt) SetToNull

func (o *NilInt) SetToNull()

SetToNull sets value to null.

func (*NilInt) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilOauth2Settings

type NilOauth2Settings struct {
	Value Oauth2Settings
	Null  bool
}

NilOauth2Settings is nullable Oauth2Settings.

func NewNilOauth2Settings

func NewNilOauth2Settings(v Oauth2Settings) NilOauth2Settings

NewNilOauth2Settings returns new NilOauth2Settings with value set to v.

func (*NilOauth2Settings) Decode

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

Decode decodes Oauth2Settings from json.

func (NilOauth2Settings) Encode

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

Encode encodes Oauth2Settings as json.

func (NilOauth2Settings) Get

func (o NilOauth2Settings) Get() (v Oauth2Settings, ok bool)

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

func (NilOauth2Settings) IsNull

func (o NilOauth2Settings) IsNull() bool

IsNull returns true if value is Null.

func (NilOauth2Settings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilOauth2Settings) Or

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

func (*NilOauth2Settings) SetFake

func (s *NilOauth2Settings) SetFake()

SetFake set fake values.

func (*NilOauth2Settings) SetTo

func (o *NilOauth2Settings) SetTo(v Oauth2Settings)

SetTo sets value to v.

func (*NilOauth2Settings) SetToNull

func (o *NilOauth2Settings) SetToNull()

SetToNull sets value to null.

func (*NilOauth2Settings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilPasskeySettings

type NilPasskeySettings struct {
	Value PasskeySettings
	Null  bool
}

NilPasskeySettings is nullable PasskeySettings.

func NewNilPasskeySettings

func NewNilPasskeySettings(v PasskeySettings) NilPasskeySettings

NewNilPasskeySettings returns new NilPasskeySettings with value set to v.

func (*NilPasskeySettings) Decode

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

Decode decodes PasskeySettings from json.

func (NilPasskeySettings) Encode

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

Encode encodes PasskeySettings as json.

func (NilPasskeySettings) Get

func (o NilPasskeySettings) Get() (v PasskeySettings, ok bool)

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

func (NilPasskeySettings) IsNull

func (o NilPasskeySettings) IsNull() bool

IsNull returns true if value is Null.

func (NilPasskeySettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilPasskeySettings) Or

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

func (*NilPasskeySettings) SetFake

func (s *NilPasskeySettings) SetFake()

SetFake set fake values.

func (*NilPasskeySettings) SetTo

func (o *NilPasskeySettings) SetTo(v PasskeySettings)

SetTo sets value to v.

func (*NilPasskeySettings) SetToNull

func (o *NilPasskeySettings) SetToNull()

SetToNull sets value to null.

func (*NilPasskeySettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilPasswordSettings

type NilPasswordSettings struct {
	Value PasswordSettings
	Null  bool
}

NilPasswordSettings is nullable PasswordSettings.

func NewNilPasswordSettings

func NewNilPasswordSettings(v PasswordSettings) NilPasswordSettings

NewNilPasswordSettings returns new NilPasswordSettings with value set to v.

func (*NilPasswordSettings) Decode

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

Decode decodes PasswordSettings from json.

func (NilPasswordSettings) Encode

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

Encode encodes PasswordSettings as json.

func (NilPasswordSettings) Get

func (o NilPasswordSettings) Get() (v PasswordSettings, ok bool)

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

func (NilPasswordSettings) IsNull

func (o NilPasswordSettings) IsNull() bool

IsNull returns true if value is Null.

func (NilPasswordSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilPasswordSettings) Or

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

func (*NilPasswordSettings) SetFake

func (s *NilPasswordSettings) SetFake()

SetFake set fake values.

func (*NilPasswordSettings) SetTo

SetTo sets value to v.

func (*NilPasswordSettings) SetToNull

func (o *NilPasswordSettings) SetToNull()

SetToNull sets value to null.

func (*NilPasswordSettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilProviderItem

type NilProviderItem struct {
	Value ProviderItem
	Null  bool
}

NilProviderItem is nullable ProviderItem.

func NewNilProviderItem

func NewNilProviderItem(v ProviderItem) NilProviderItem

NewNilProviderItem returns new NilProviderItem with value set to v.

func (*NilProviderItem) Decode

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

Decode decodes ProviderItem from json.

func (NilProviderItem) Encode

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

Encode encodes ProviderItem as json.

func (NilProviderItem) Get

func (o NilProviderItem) Get() (v ProviderItem, ok bool)

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

func (NilProviderItem) IsNull

func (o NilProviderItem) IsNull() bool

IsNull returns true if value is Null.

func (NilProviderItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilProviderItem) Or

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

func (*NilProviderItem) SetFake

func (s *NilProviderItem) SetFake()

SetFake set fake values.

func (*NilProviderItem) SetTo

func (o *NilProviderItem) SetTo(v ProviderItem)

SetTo sets value to v.

func (*NilProviderItem) SetToNull

func (o *NilProviderItem) SetToNull()

SetToNull sets value to null.

func (*NilProviderItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilString

type NilString struct {
	Value string
	Null  bool
}

NilString is nullable string.

func NewNilString

func NewNilString(v string) NilString

NewNilString returns new NilString with value set to v.

func (*NilString) Decode

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

Decode decodes string from json.

func (NilString) Encode

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

Encode encodes string as json.

func (NilString) Get

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

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

func (NilString) IsNull

func (o NilString) IsNull() bool

IsNull returns true if value is Null.

func (NilString) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilString) Or

func (o NilString) Or(d string) string

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

func (*NilString) SetFake

func (s *NilString) SetFake()

SetFake set fake values.

func (*NilString) SetTo

func (o *NilString) SetTo(v string)

SetTo sets value to v.

func (*NilString) SetToNull

func (o *NilString) SetToNull()

SetToNull sets value to null.

func (*NilString) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilSubscriptionSettings

type NilSubscriptionSettings struct {
	Value SubscriptionSettings
	Null  bool
}

NilSubscriptionSettings is nullable SubscriptionSettings.

func NewNilSubscriptionSettings

func NewNilSubscriptionSettings(v SubscriptionSettings) NilSubscriptionSettings

NewNilSubscriptionSettings returns new NilSubscriptionSettings with value set to v.

func (*NilSubscriptionSettings) Decode

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

Decode decodes SubscriptionSettings from json.

func (NilSubscriptionSettings) Encode

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

Encode encodes SubscriptionSettings as json.

func (NilSubscriptionSettings) Get

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

func (NilSubscriptionSettings) IsNull

func (o NilSubscriptionSettings) IsNull() bool

IsNull returns true if value is Null.

func (NilSubscriptionSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilSubscriptionSettings) Or

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

func (*NilSubscriptionSettings) SetFake

func (s *NilSubscriptionSettings) SetFake()

SetFake set fake values.

func (*NilSubscriptionSettings) SetTo

SetTo sets value to v.

func (*NilSubscriptionSettings) SetToNull

func (o *NilSubscriptionSettings) SetToNull()

SetToNull sets value to null.

func (*NilSubscriptionSettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilSubscriptionSettingsResponseResponseCustomResponseHeaders

type NilSubscriptionSettingsResponseResponseCustomResponseHeaders struct {
	Value SubscriptionSettingsResponseResponseCustomResponseHeaders
	Null  bool
}

NilSubscriptionSettingsResponseResponseCustomResponseHeaders is nullable SubscriptionSettingsResponseResponseCustomResponseHeaders.

func NewNilSubscriptionSettingsResponseResponseCustomResponseHeaders

NewNilSubscriptionSettingsResponseResponseCustomResponseHeaders returns new NilSubscriptionSettingsResponseResponseCustomResponseHeaders with value set to v.

func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Decode

Decode decodes SubscriptionSettingsResponseResponseCustomResponseHeaders from json.

func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Encode

Encode encodes SubscriptionSettingsResponseResponseCustomResponseHeaders as json.

func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Get

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

func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) IsNull

IsNull returns true if value is Null.

func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Or

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

func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetFake

SetFake set fake values.

func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetTo

SetTo sets value to v.

func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetToNull

SetToNull sets value to null.

func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type NilTgAuthSettings

type NilTgAuthSettings struct {
	Value TgAuthSettings
	Null  bool
}

NilTgAuthSettings is nullable TgAuthSettings.

func NewNilTgAuthSettings

func NewNilTgAuthSettings(v TgAuthSettings) NilTgAuthSettings

NewNilTgAuthSettings returns new NilTgAuthSettings with value set to v.

func (*NilTgAuthSettings) Decode

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

Decode decodes TgAuthSettings from json.

func (NilTgAuthSettings) Encode

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

Encode encodes TgAuthSettings as json.

func (NilTgAuthSettings) Get

func (o NilTgAuthSettings) Get() (v TgAuthSettings, ok bool)

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

func (NilTgAuthSettings) IsNull

func (o NilTgAuthSettings) IsNull() bool

IsNull returns true if value is Null.

func (NilTgAuthSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilTgAuthSettings) Or

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

func (*NilTgAuthSettings) SetFake

func (s *NilTgAuthSettings) SetFake()

SetFake set fake values.

func (*NilTgAuthSettings) SetTo

func (o *NilTgAuthSettings) SetTo(v TgAuthSettings)

SetTo sets value to v.

func (*NilTgAuthSettings) SetToNull

func (o *NilTgAuthSettings) SetToNull()

SetToNull sets value to null.

func (*NilTgAuthSettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilURI

type NilURI struct {
	Value url.URL
	Null  bool
}

NilURI is nullable url.URL.

func NewNilURI

func NewNilURI(v url.URL) NilURI

NewNilURI returns new NilURI with value set to v.

func (*NilURI) Decode

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

Decode decodes url.URL from json.

func (NilURI) Encode

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

Encode encodes url.URL as json.

func (NilURI) Get

func (o NilURI) Get() (v url.URL, ok bool)

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

func (NilURI) IsNull

func (o NilURI) IsNull() bool

IsNull returns true if value is Null.

func (NilURI) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilURI) Or

func (o NilURI) Or(d url.URL) url.URL

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

func (*NilURI) SetFake

func (s *NilURI) SetFake()

SetFake set fake values.

func (*NilURI) SetTo

func (o *NilURI) SetTo(v url.URL)

SetTo sets value to v.

func (*NilURI) SetToNull

func (o *NilURI) SetToNull()

SetToNull sets value to null.

func (*NilURI) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilUUID

type NilUUID struct {
	Value uuid.UUID
	Null  bool
}

NilUUID is nullable uuid.UUID.

func NewNilUUID

func NewNilUUID(v uuid.UUID) NilUUID

NewNilUUID returns new NilUUID with value set to v.

func (*NilUUID) Decode

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

Decode decodes uuid.UUID from json.

func (NilUUID) Encode

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

Encode encodes uuid.UUID as json.

func (NilUUID) Get

func (o NilUUID) Get() (v uuid.UUID, ok bool)

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

func (NilUUID) IsNull

func (o NilUUID) IsNull() bool

IsNull returns true if value is Null.

func (NilUUID) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilUUID) Or

func (o NilUUID) Or(d uuid.UUID) uuid.UUID

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

func (*NilUUID) SetFake

func (s *NilUUID) SetFake()

SetFake set fake values.

func (*NilUUID) SetTo

func (o *NilUUID) SetTo(v uuid.UUID)

SetTo sets value to v.

func (*NilUUID) SetToNull

func (o *NilUUID) SetToNull()

SetToNull sets value to null.

func (*NilUUID) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Node

type Node struct {
	UUID        uuid.UUID `json:"uuid"`
	Name        string    `json:"name"`
	CountryCode string    `json:"countryCode"`
}

Ref: #/components/schemas/Node

func (*Node) Decode

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

Decode decodes Node from json.

func (*Node) Encode

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

Encode implements json.Marshaler.

func (*Node) GetCountryCode

func (s *Node) GetCountryCode() string

GetCountryCode returns the value of CountryCode.

func (*Node) GetName

func (s *Node) GetName() string

GetName returns the value of Name.

func (*Node) GetUUID

func (s *Node) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*Node) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Node) SetCountryCode

func (s *Node) SetCountryCode(val string)

SetCountryCode sets the value of CountryCode.

func (*Node) SetFake

func (s *Node) SetFake()

SetFake set fake values.

func (*Node) SetName

func (s *Node) SetName(val string)

SetName sets the value of Name.

func (*Node) SetUUID

func (s *Node) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*Node) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NodeItem

type NodeItem struct {
	UUID                    uuid.UUID         `json:"uuid"`
	Name                    string            `json:"name"`
	Address                 string            `json:"address"`
	Port                    NilInt            `json:"port"`
	IsConnected             bool              `json:"isConnected"`
	IsDisabled              bool              `json:"isDisabled"`
	IsConnecting            bool              `json:"isConnecting"`
	LastStatusChange        NilDateTime       `json:"lastStatusChange"`
	LastStatusMessage       NilString         `json:"lastStatusMessage"`
	XrayVersion             NilString         `json:"xrayVersion"`
	NodeVersion             NilString         `json:"nodeVersion"`
	XrayUptime              string            `json:"xrayUptime"`
	IsTrafficTrackingActive bool              `json:"isTrafficTrackingActive"`
	TrafficResetDay         NilInt            `json:"trafficResetDay"`
	TrafficLimitBytes       NilFloat64        `json:"trafficLimitBytes"`
	TrafficUsedBytes        NilFloat64        `json:"trafficUsedBytes"`
	NotifyPercent           NilInt            `json:"notifyPercent"`
	UsersOnline             NilInt            `json:"usersOnline"`
	ViewPosition            int               `json:"viewPosition"`
	CountryCode             string            `json:"countryCode"`
	ConsumptionMultiplier   float64           `json:"consumptionMultiplier"`
	Tags                    []string          `json:"tags"`
	CpuCount                NilInt            `json:"cpuCount"`
	CpuModel                NilString         `json:"cpuModel"`
	TotalRam                NilString         `json:"totalRam"`
	CreatedAt               time.Time         `json:"createdAt"`
	UpdatedAt               time.Time         `json:"updatedAt"`
	ConfigProfile           ConfigProfileItem `json:"configProfile"`
	ProviderUuid            NilUUID           `json:"providerUuid"`
	Provider                NilProviderItem   `json:"provider"`
}

Ref: #/components/schemas/NodeItem

func (*NodeItem) Decode

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

Decode decodes NodeItem from json.

func (*NodeItem) Encode

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

Encode implements json.Marshaler.

func (*NodeItem) GetAddress

func (s *NodeItem) GetAddress() string

GetAddress returns the value of Address.

func (*NodeItem) GetConfigProfile

func (s *NodeItem) GetConfigProfile() ConfigProfileItem

GetConfigProfile returns the value of ConfigProfile.

func (*NodeItem) GetConsumptionMultiplier

func (s *NodeItem) GetConsumptionMultiplier() float64

GetConsumptionMultiplier returns the value of ConsumptionMultiplier.

func (*NodeItem) GetCountryCode

func (s *NodeItem) GetCountryCode() string

GetCountryCode returns the value of CountryCode.

func (*NodeItem) GetCpuCount

func (s *NodeItem) GetCpuCount() NilInt

GetCpuCount returns the value of CpuCount.

func (*NodeItem) GetCpuModel

func (s *NodeItem) GetCpuModel() NilString

GetCpuModel returns the value of CpuModel.

func (*NodeItem) GetCreatedAt

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

GetCreatedAt returns the value of CreatedAt.

func (*NodeItem) GetIsConnected

func (s *NodeItem) GetIsConnected() bool

GetIsConnected returns the value of IsConnected.

func (*NodeItem) GetIsConnecting

func (s *NodeItem) GetIsConnecting() bool

GetIsConnecting returns the value of IsConnecting.

func (*NodeItem) GetIsDisabled

func (s *NodeItem) GetIsDisabled() bool

GetIsDisabled returns the value of IsDisabled.

func (*NodeItem) GetIsTrafficTrackingActive

func (s *NodeItem) GetIsTrafficTrackingActive() bool

GetIsTrafficTrackingActive returns the value of IsTrafficTrackingActive.

func (*NodeItem) GetLastStatusChange

func (s *NodeItem) GetLastStatusChange() NilDateTime

GetLastStatusChange returns the value of LastStatusChange.

func (*NodeItem) GetLastStatusMessage

func (s *NodeItem) GetLastStatusMessage() NilString

GetLastStatusMessage returns the value of LastStatusMessage.

func (*NodeItem) GetName

func (s *NodeItem) GetName() string

GetName returns the value of Name.

func (*NodeItem) GetNodeVersion

func (s *NodeItem) GetNodeVersion() NilString

GetNodeVersion returns the value of NodeVersion.

func (*NodeItem) GetNotifyPercent

func (s *NodeItem) GetNotifyPercent() NilInt

GetNotifyPercent returns the value of NotifyPercent.

func (*NodeItem) GetPort

func (s *NodeItem) GetPort() NilInt

GetPort returns the value of Port.

func (*NodeItem) GetProvider

func (s *NodeItem) GetProvider() NilProviderItem

GetProvider returns the value of Provider.

func (*NodeItem) GetProviderUuid

func (s *NodeItem) GetProviderUuid() NilUUID

GetProviderUuid returns the value of ProviderUuid.

func (*NodeItem) GetTags

func (s *NodeItem) GetTags() []string

GetTags returns the value of Tags.

func (*NodeItem) GetTotalRam

func (s *NodeItem) GetTotalRam() NilString

GetTotalRam returns the value of TotalRam.

func (*NodeItem) GetTrafficLimitBytes

func (s *NodeItem) GetTrafficLimitBytes() NilFloat64

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*NodeItem) GetTrafficResetDay

func (s *NodeItem) GetTrafficResetDay() NilInt

GetTrafficResetDay returns the value of TrafficResetDay.

func (*NodeItem) GetTrafficUsedBytes

func (s *NodeItem) GetTrafficUsedBytes() NilFloat64

GetTrafficUsedBytes returns the value of TrafficUsedBytes.

func (*NodeItem) GetUUID

func (s *NodeItem) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*NodeItem) GetUpdatedAt

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

GetUpdatedAt returns the value of UpdatedAt.

func (*NodeItem) GetUsersOnline

func (s *NodeItem) GetUsersOnline() NilInt

GetUsersOnline returns the value of UsersOnline.

func (*NodeItem) GetViewPosition

func (s *NodeItem) GetViewPosition() int

GetViewPosition returns the value of ViewPosition.

func (*NodeItem) GetXrayUptime

func (s *NodeItem) GetXrayUptime() string

GetXrayUptime returns the value of XrayUptime.

func (*NodeItem) GetXrayVersion

func (s *NodeItem) GetXrayVersion() NilString

GetXrayVersion returns the value of XrayVersion.

func (*NodeItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*NodeItem) SetAddress

func (s *NodeItem) SetAddress(val string)

SetAddress sets the value of Address.

func (*NodeItem) SetConfigProfile

func (s *NodeItem) SetConfigProfile(val ConfigProfileItem)

SetConfigProfile sets the value of ConfigProfile.

func (*NodeItem) SetConsumptionMultiplier

func (s *NodeItem) SetConsumptionMultiplier(val float64)

SetConsumptionMultiplier sets the value of ConsumptionMultiplier.

func (*NodeItem) SetCountryCode

func (s *NodeItem) SetCountryCode(val string)

SetCountryCode sets the value of CountryCode.

func (*NodeItem) SetCpuCount

func (s *NodeItem) SetCpuCount(val NilInt)

SetCpuCount sets the value of CpuCount.

func (*NodeItem) SetCpuModel

func (s *NodeItem) SetCpuModel(val NilString)

SetCpuModel sets the value of CpuModel.

func (*NodeItem) SetCreatedAt

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

SetCreatedAt sets the value of CreatedAt.

func (*NodeItem) SetFake

func (s *NodeItem) SetFake()

SetFake set fake values.

func (*NodeItem) SetIsConnected

func (s *NodeItem) SetIsConnected(val bool)

SetIsConnected sets the value of IsConnected.

func (*NodeItem) SetIsConnecting

func (s *NodeItem) SetIsConnecting(val bool)

SetIsConnecting sets the value of IsConnecting.

func (*NodeItem) SetIsDisabled

func (s *NodeItem) SetIsDisabled(val bool)

SetIsDisabled sets the value of IsDisabled.

func (*NodeItem) SetIsTrafficTrackingActive

func (s *NodeItem) SetIsTrafficTrackingActive(val bool)

SetIsTrafficTrackingActive sets the value of IsTrafficTrackingActive.

func (*NodeItem) SetLastStatusChange

func (s *NodeItem) SetLastStatusChange(val NilDateTime)

SetLastStatusChange sets the value of LastStatusChange.

func (*NodeItem) SetLastStatusMessage

func (s *NodeItem) SetLastStatusMessage(val NilString)

SetLastStatusMessage sets the value of LastStatusMessage.

func (*NodeItem) SetName

func (s *NodeItem) SetName(val string)

SetName sets the value of Name.

func (*NodeItem) SetNodeVersion

func (s *NodeItem) SetNodeVersion(val NilString)

SetNodeVersion sets the value of NodeVersion.

func (*NodeItem) SetNotifyPercent

func (s *NodeItem) SetNotifyPercent(val NilInt)

SetNotifyPercent sets the value of NotifyPercent.

func (*NodeItem) SetPort

func (s *NodeItem) SetPort(val NilInt)

SetPort sets the value of Port.

func (*NodeItem) SetProvider

func (s *NodeItem) SetProvider(val NilProviderItem)

SetProvider sets the value of Provider.

func (*NodeItem) SetProviderUuid

func (s *NodeItem) SetProviderUuid(val NilUUID)

SetProviderUuid sets the value of ProviderUuid.

func (*NodeItem) SetTags

func (s *NodeItem) SetTags(val []string)

SetTags sets the value of Tags.

func (*NodeItem) SetTotalRam

func (s *NodeItem) SetTotalRam(val NilString)

SetTotalRam sets the value of TotalRam.

func (*NodeItem) SetTrafficLimitBytes

func (s *NodeItem) SetTrafficLimitBytes(val NilFloat64)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*NodeItem) SetTrafficResetDay

func (s *NodeItem) SetTrafficResetDay(val NilInt)

SetTrafficResetDay sets the value of TrafficResetDay.

func (*NodeItem) SetTrafficUsedBytes

func (s *NodeItem) SetTrafficUsedBytes(val NilFloat64)

SetTrafficUsedBytes sets the value of TrafficUsedBytes.

func (*NodeItem) SetUUID

func (s *NodeItem) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*NodeItem) SetUpdatedAt

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

SetUpdatedAt sets the value of UpdatedAt.

func (*NodeItem) SetUsersOnline

func (s *NodeItem) SetUsersOnline(val NilInt)

SetUsersOnline sets the value of UsersOnline.

func (*NodeItem) SetViewPosition

func (s *NodeItem) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*NodeItem) SetXrayUptime

func (s *NodeItem) SetXrayUptime(val string)

SetXrayUptime sets the value of XrayUptime.

func (*NodeItem) SetXrayVersion

func (s *NodeItem) SetXrayVersion(val NilString)

SetXrayVersion sets the value of XrayVersion.

func (*NodeItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*NodeItem) Validate

func (s *NodeItem) Validate() error

type NodeResponse

type NodeResponse struct {
	Response NodeItem `json:"response"`
}

Ref: #/components/schemas/NodeResponse

func (*NodeResponse) Decode

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

Decode decodes NodeResponse from json.

func (*NodeResponse) Encode

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

Encode implements json.Marshaler.

func (*NodeResponse) GetResponse

func (s *NodeResponse) GetResponse() NodeItem

GetResponse returns the value of Response.

func (*NodeResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*NodeResponse) SetFake

func (s *NodeResponse) SetFake()

SetFake set fake values.

func (*NodeResponse) SetResponse

func (s *NodeResponse) SetResponse(val NodeItem)

SetResponse sets the value of Response.

func (*NodeResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*NodeResponse) Validate

func (s *NodeResponse) Validate() error

type NodesClient

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

NodesClient provides Nodes operations.

func NewNodesClient

func NewNodesClient(client *Client) *NodesClient

NewNodesClient creates a new NodesClient.

func (*NodesClient) CreateNode

CreateNode calls NodesController_createNode.

func (*NodesClient) DeleteNode

func (sc *NodesClient) DeleteNode(ctx context.Context, uuid string) (NodesControllerDeleteNodeRes, error)

DeleteNode calls NodesController_deleteNode.

func (*NodesClient) DisableNode

func (sc *NodesClient) DisableNode(ctx context.Context, uuid string) (NodesControllerDisableNodeRes, error)

DisableNode calls NodesController_disableNode.

func (*NodesClient) EnableNode

func (sc *NodesClient) EnableNode(ctx context.Context, uuid string) (NodesControllerEnableNodeRes, error)

EnableNode calls NodesController_enableNode.

func (*NodesClient) GetAllNodes

GetAllNodes calls NodesController_getAllNodes.

func (*NodesClient) GetAllNodesTags

GetAllNodesTags calls NodesController_getAllNodesTags.

func (*NodesClient) GetOneNode

func (sc *NodesClient) GetOneNode(ctx context.Context, uuid string) (NodesControllerGetOneNodeRes, error)

GetOneNode calls NodesController_getOneNode.

func (*NodesClient) ProfileModification

ProfileModification calls NodesController_profileModification.

func (*NodesClient) ReorderNodes

ReorderNodes calls NodesController_reorderNodes.

func (*NodesClient) ResetNodeTraffic

func (sc *NodesClient) ResetNodeTraffic(ctx context.Context, uuid string) (NodesControllerResetNodeTrafficRes, error)

ResetNodeTraffic calls NodesController_resetNodeTraffic.

func (*NodesClient) RestartAllNodes

RestartAllNodes calls NodesController_restartAllNodes.

func (*NodesClient) RestartNode

func (sc *NodesClient) RestartNode(ctx context.Context, uuid string) (NodesControllerRestartNodeRes, error)

RestartNode calls NodesController_restartNode.

func (*NodesClient) UpdateNode

UpdateNode calls NodesController_updateNode.

type NodesControllerCreateNodeRes

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

type NodesControllerDeleteNodeParams

type NodesControllerDeleteNodeParams struct {
	// Node UUID.
	UUID string
}

NodesControllerDeleteNodeParams is parameters of NodesController_deleteNode operation.

type NodesControllerDeleteNodeRes

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

type NodesControllerDisableNodeParams

type NodesControllerDisableNodeParams struct {
	// Node UUID.
	UUID string
}

NodesControllerDisableNodeParams is parameters of NodesController_disableNode operation.

type NodesControllerDisableNodeRes

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

type NodesControllerEnableNodeParams

type NodesControllerEnableNodeParams struct {
	// Node UUID.
	UUID string
}

NodesControllerEnableNodeParams is parameters of NodesController_enableNode operation.

type NodesControllerEnableNodeRes

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

type NodesControllerGetAllNodesRes

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

type NodesControllerGetAllNodesTagsRes

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

type NodesControllerGetOneNodeParams

type NodesControllerGetOneNodeParams struct {
	// Node UUID.
	UUID string
}

NodesControllerGetOneNodeParams is parameters of NodesController_getOneNode operation.

type NodesControllerGetOneNodeRes

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

type NodesControllerProfileModificationRes

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

type NodesControllerReorderNodesRes

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

type NodesControllerResetNodeTrafficParams

type NodesControllerResetNodeTrafficParams struct {
	// Node UUID.
	UUID string
}

NodesControllerResetNodeTrafficParams is parameters of NodesController_resetNodeTraffic operation.

type NodesControllerResetNodeTrafficRes

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

type NodesControllerRestartAllNodesRes

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

type NodesControllerRestartNodeParams

type NodesControllerRestartNodeParams struct {
	// Node UUID.
	UUID string
}

NodesControllerRestartNodeParams is parameters of NodesController_restartNode operation.

type NodesControllerRestartNodeRes

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

type NodesControllerUpdateNodeRes

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

type NodesResponse

type NodesResponse struct {
	Response []NodeItem `json:"response"`
}

Ref: #/components/schemas/NodesResponse

func (*NodesResponse) Decode

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

Decode decodes NodesResponse from json.

func (*NodesResponse) Encode

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

Encode implements json.Marshaler.

func (*NodesResponse) GetResponse

func (s *NodesResponse) GetResponse() []NodeItem

GetResponse returns the value of Response.

func (*NodesResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*NodesResponse) SetFake

func (s *NodesResponse) SetFake()

SetFake set fake values.

func (*NodesResponse) SetResponse

func (s *NodesResponse) SetResponse(val []NodeItem)

SetResponse sets the value of Response.

func (*NodesResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*NodesResponse) Validate

func (s *NodesResponse) Validate() error

type NodesUsageHistoryClient

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

NodesUsageHistoryClient provides NodesUsageHistory operations.

func NewNodesUsageHistoryClient

func NewNodesUsageHistoryClient(client *Client) *NodesUsageHistoryClient

NewNodesUsageHistoryClient creates a new NodesUsageHistoryClient.

func (*NodesUsageHistoryClient) GetStatsNodesUsage

GetStatsNodesUsage calls NodesUsageHistoryController_getStatsNodesUsage.

type NodesUsageHistoryControllerGetStatsNodesUsageParams

type NodesUsageHistoryControllerGetStatsNodesUsageParams struct {
	// Limit of top nodes to return.
	TopNodesLimit float64
	// Start date.
	Start time.Time
	// End date.
	End time.Time
}

NodesUsageHistoryControllerGetStatsNodesUsageParams is parameters of NodesUsageHistoryController_getStatsNodesUsage operation.

type NodesUsageHistoryControllerGetStatsNodesUsageRes

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

type NotFoundError

type NotFoundError struct {
	Message    string  `json:"message"`
	StatusCode float64 `json:"statusCode"`
}

Ref: #/components/schemas/NotFoundError

func (*NotFoundError) Decode

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

Decode decodes NotFoundError from json.

func (*NotFoundError) Encode

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

Encode implements json.Marshaler.

func (*NotFoundError) GetMessage

func (s *NotFoundError) GetMessage() string

GetMessage returns the value of Message.

func (*NotFoundError) GetStatusCode

func (s *NotFoundError) GetStatusCode() float64

GetStatusCode returns the value of StatusCode.

func (*NotFoundError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*NotFoundError) SetFake

func (s *NotFoundError) SetFake()

SetFake set fake values.

func (*NotFoundError) SetMessage

func (s *NotFoundError) SetMessage(val string)

SetMessage sets the value of Message.

func (*NotFoundError) SetStatusCode

func (s *NotFoundError) SetStatusCode(val float64)

SetStatusCode sets the value of StatusCode.

func (*NotFoundError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*NotFoundError) Validate

func (s *NotFoundError) Validate() error

type OAuth2AuthorizeRequestDto

type OAuth2AuthorizeRequestDto struct {
	Provider OAuth2AuthorizeRequestDtoProvider `json:"provider"`
}

Ref: #/components/schemas/OAuth2AuthorizeRequestDto

func (*OAuth2AuthorizeRequestDto) Decode

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

Decode decodes OAuth2AuthorizeRequestDto from json.

func (*OAuth2AuthorizeRequestDto) Encode

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

Encode implements json.Marshaler.

func (*OAuth2AuthorizeRequestDto) GetProvider

GetProvider returns the value of Provider.

func (*OAuth2AuthorizeRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*OAuth2AuthorizeRequestDto) SetFake

func (s *OAuth2AuthorizeRequestDto) SetFake()

SetFake set fake values.

func (*OAuth2AuthorizeRequestDto) SetProvider

SetProvider sets the value of Provider.

func (*OAuth2AuthorizeRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OAuth2AuthorizeRequestDto) Validate

func (s *OAuth2AuthorizeRequestDto) Validate() error

type OAuth2AuthorizeRequestDtoProvider

type OAuth2AuthorizeRequestDtoProvider string
const (
	OAuth2AuthorizeRequestDtoProviderGithub   OAuth2AuthorizeRequestDtoProvider = "github"
	OAuth2AuthorizeRequestDtoProviderPocketid OAuth2AuthorizeRequestDtoProvider = "pocketid"
	OAuth2AuthorizeRequestDtoProviderYandex   OAuth2AuthorizeRequestDtoProvider = "yandex"
)

func (OAuth2AuthorizeRequestDtoProvider) AllValues

AllValues returns all OAuth2AuthorizeRequestDtoProvider values.

func (*OAuth2AuthorizeRequestDtoProvider) Decode

Decode decodes OAuth2AuthorizeRequestDtoProvider from json.

func (OAuth2AuthorizeRequestDtoProvider) Encode

Encode encodes OAuth2AuthorizeRequestDtoProvider as json.

func (OAuth2AuthorizeRequestDtoProvider) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OAuth2AuthorizeRequestDtoProvider) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*OAuth2AuthorizeRequestDtoProvider) SetFake

func (s *OAuth2AuthorizeRequestDtoProvider) SetFake()

SetFake set fake values.

func (*OAuth2AuthorizeRequestDtoProvider) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OAuth2AuthorizeRequestDtoProvider) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (OAuth2AuthorizeRequestDtoProvider) Validate

type OAuth2AuthorizeResponseDto

type OAuth2AuthorizeResponseDto struct {
	Response OAuth2AuthorizeResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/OAuth2AuthorizeResponseDto

func (*OAuth2AuthorizeResponseDto) Decode

Decode decodes OAuth2AuthorizeResponseDto from json.

func (*OAuth2AuthorizeResponseDto) Encode

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

Encode implements json.Marshaler.

func (*OAuth2AuthorizeResponseDto) GetResponse

GetResponse returns the value of Response.

func (*OAuth2AuthorizeResponseDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*OAuth2AuthorizeResponseDto) SetFake

func (s *OAuth2AuthorizeResponseDto) SetFake()

SetFake set fake values.

func (*OAuth2AuthorizeResponseDto) SetResponse

SetResponse sets the value of Response.

func (*OAuth2AuthorizeResponseDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuth2AuthorizeResponseDtoResponse

type OAuth2AuthorizeResponseDtoResponse struct {
	AuthorizationUrl NilURI `json:"authorizationUrl"`
}

func (*OAuth2AuthorizeResponseDtoResponse) Decode

Decode decodes OAuth2AuthorizeResponseDtoResponse from json.

func (*OAuth2AuthorizeResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*OAuth2AuthorizeResponseDtoResponse) GetAuthorizationUrl

func (s *OAuth2AuthorizeResponseDtoResponse) GetAuthorizationUrl() NilURI

GetAuthorizationUrl returns the value of AuthorizationUrl.

func (*OAuth2AuthorizeResponseDtoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*OAuth2AuthorizeResponseDtoResponse) SetAuthorizationUrl

func (s *OAuth2AuthorizeResponseDtoResponse) SetAuthorizationUrl(val NilURI)

SetAuthorizationUrl sets the value of AuthorizationUrl.

func (*OAuth2AuthorizeResponseDtoResponse) SetFake

SetFake set fake values.

func (*OAuth2AuthorizeResponseDtoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuth2AuthorizeResponseDtoStatusCode

type OAuth2AuthorizeResponseDtoStatusCode struct {
	StatusCode int
	Response   OAuth2AuthorizeResponseDto
}

OAuth2AuthorizeResponseDtoStatusCode wraps OAuth2AuthorizeResponseDto with StatusCode.

func (*OAuth2AuthorizeResponseDtoStatusCode) GetResponse

GetResponse returns the value of Response.

func (*OAuth2AuthorizeResponseDtoStatusCode) GetStatusCode

func (s *OAuth2AuthorizeResponseDtoStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*OAuth2AuthorizeResponseDtoStatusCode) SetResponse

SetResponse sets the value of Response.

func (*OAuth2AuthorizeResponseDtoStatusCode) SetStatusCode

func (s *OAuth2AuthorizeResponseDtoStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

type OAuth2CallbackRequestDto

type OAuth2CallbackRequestDto struct {
	Provider OAuth2CallbackRequestDtoProvider `json:"provider"`
	Code     string                           `json:"code"`
	State    string                           `json:"state"`
}

Ref: #/components/schemas/OAuth2CallbackRequestDto

func (*OAuth2CallbackRequestDto) Decode

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

Decode decodes OAuth2CallbackRequestDto from json.

func (*OAuth2CallbackRequestDto) Encode

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

Encode implements json.Marshaler.

func (*OAuth2CallbackRequestDto) GetCode

func (s *OAuth2CallbackRequestDto) GetCode() string

GetCode returns the value of Code.

func (*OAuth2CallbackRequestDto) GetProvider

GetProvider returns the value of Provider.

func (*OAuth2CallbackRequestDto) GetState

func (s *OAuth2CallbackRequestDto) GetState() string

GetState returns the value of State.

func (*OAuth2CallbackRequestDto) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*OAuth2CallbackRequestDto) SetCode

func (s *OAuth2CallbackRequestDto) SetCode(val string)

SetCode sets the value of Code.

func (*OAuth2CallbackRequestDto) SetFake

func (s *OAuth2CallbackRequestDto) SetFake()

SetFake set fake values.

func (*OAuth2CallbackRequestDto) SetProvider

SetProvider sets the value of Provider.

func (*OAuth2CallbackRequestDto) SetState

func (s *OAuth2CallbackRequestDto) SetState(val string)

SetState sets the value of State.

func (*OAuth2CallbackRequestDto) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OAuth2CallbackRequestDto) Validate

func (s *OAuth2CallbackRequestDto) Validate() error

type OAuth2CallbackRequestDtoProvider

type OAuth2CallbackRequestDtoProvider string
const (
	OAuth2CallbackRequestDtoProviderGithub   OAuth2CallbackRequestDtoProvider = "github"
	OAuth2CallbackRequestDtoProviderPocketid OAuth2CallbackRequestDtoProvider = "pocketid"
	OAuth2CallbackRequestDtoProviderYandex   OAuth2CallbackRequestDtoProvider = "yandex"
)

func (OAuth2CallbackRequestDtoProvider) AllValues

AllValues returns all OAuth2CallbackRequestDtoProvider values.

func (*OAuth2CallbackRequestDtoProvider) Decode

Decode decodes OAuth2CallbackRequestDtoProvider from json.

func (OAuth2CallbackRequestDtoProvider) Encode

Encode encodes OAuth2CallbackRequestDtoProvider as json.

func (OAuth2CallbackRequestDtoProvider) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OAuth2CallbackRequestDtoProvider) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*OAuth2CallbackRequestDtoProvider) SetFake

func (s *OAuth2CallbackRequestDtoProvider) SetFake()

SetFake set fake values.

func (*OAuth2CallbackRequestDtoProvider) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OAuth2CallbackRequestDtoProvider) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (OAuth2CallbackRequestDtoProvider) Validate

type Oauth2Settings

type Oauth2Settings struct {
	Github   Github   `json:"github"`
	Pocketid Pocketid `json:"pocketid"`
	Yandex   Github   `json:"yandex"`
}

Ref: #/components/schemas/Oauth2Settings

func (*Oauth2Settings) Decode

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

Decode decodes Oauth2Settings from json.

func (*Oauth2Settings) Encode

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

Encode implements json.Marshaler.

func (*Oauth2Settings) GetGithub

func (s *Oauth2Settings) GetGithub() Github

GetGithub returns the value of Github.

func (*Oauth2Settings) GetPocketid

func (s *Oauth2Settings) GetPocketid() Pocketid

GetPocketid returns the value of Pocketid.

func (*Oauth2Settings) GetYandex

func (s *Oauth2Settings) GetYandex() Github

GetYandex returns the value of Yandex.

func (*Oauth2Settings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Oauth2Settings) SetFake

func (s *Oauth2Settings) SetFake()

SetFake set fake values.

func (*Oauth2Settings) SetGithub

func (s *Oauth2Settings) SetGithub(val Github)

SetGithub sets the value of Github.

func (*Oauth2Settings) SetPocketid

func (s *Oauth2Settings) SetPocketid(val Pocketid)

SetPocketid sets the value of Pocketid.

func (*Oauth2Settings) SetYandex

func (s *Oauth2Settings) SetYandex(val Github)

SetYandex sets the value of Yandex.

func (*Oauth2Settings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Oauth2Settings) Validate

func (s *Oauth2Settings) Validate() error

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	ApiTokensControllerCreateOperation                                                  OperationName = "ApiTokensControllerCreate"
	ApiTokensControllerDeleteOperation                                                  OperationName = "ApiTokensControllerDelete"
	ApiTokensControllerFindAllOperation                                                 OperationName = "ApiTokensControllerFindAll"
	AuthControllerGetStatusOperation                                                    OperationName = "AuthControllerGetStatus"
	AuthControllerLoginOperation                                                        OperationName = "AuthControllerLogin"
	AuthControllerOauth2AuthorizeOperation                                              OperationName = "AuthControllerOauth2Authorize"
	AuthControllerOauth2CallbackOperation                                               OperationName = "AuthControllerOauth2Callback"
	AuthControllerPasskeyAuthenticationOptionsOperation                                 OperationName = "AuthControllerPasskeyAuthenticationOptions"
	AuthControllerPasskeyAuthenticationVerifyOperation                                  OperationName = "AuthControllerPasskeyAuthenticationVerify"
	AuthControllerRegisterOperation                                                     OperationName = "AuthControllerRegister"
	AuthControllerTelegramCallbackOperation                                             OperationName = "AuthControllerTelegramCallback"
	BandwidthStatsNodesControllerGetNodeUserUsageOperation                              OperationName = "BandwidthStatsNodesControllerGetNodeUserUsage"
	BandwidthStatsNodesControllerGetNodesRealtimeUsageOperation                         OperationName = "BandwidthStatsNodesControllerGetNodesRealtimeUsage"
	BandwidthStatsNodesControllerGetStatsNodeUsersUsageOperation                        OperationName = "BandwidthStatsNodesControllerGetStatsNodeUsersUsage"
	BandwidthStatsUsersControllerGetStatsNodesUsageOperation                            OperationName = "BandwidthStatsUsersControllerGetStatsNodesUsage"
	BandwidthStatsUsersControllerGetUserUsageByRangeOperation                           OperationName = "BandwidthStatsUsersControllerGetUserUsageByRange"
	ConfigProfileControllerCreateConfigProfileOperation                                 OperationName = "ConfigProfileControllerCreateConfigProfile"
	ConfigProfileControllerDeleteConfigProfileByUuidOperation                           OperationName = "ConfigProfileControllerDeleteConfigProfileByUuid"
	ConfigProfileControllerGetAllInboundsOperation                                      OperationName = "ConfigProfileControllerGetAllInbounds"
	ConfigProfileControllerGetComputedConfigProfileByUuidOperation                      OperationName = "ConfigProfileControllerGetComputedConfigProfileByUuid"
	ConfigProfileControllerGetConfigProfileByUuidOperation                              OperationName = "ConfigProfileControllerGetConfigProfileByUuid"
	ConfigProfileControllerGetConfigProfilesOperation                                   OperationName = "ConfigProfileControllerGetConfigProfiles"
	ConfigProfileControllerGetInboundsByProfileUuidOperation                            OperationName = "ConfigProfileControllerGetInboundsByProfileUuid"
	ConfigProfileControllerReorderConfigProfilesOperation                               OperationName = "ConfigProfileControllerReorderConfigProfiles"
	ConfigProfileControllerUpdateConfigProfileOperation                                 OperationName = "ConfigProfileControllerUpdateConfigProfile"
	ExternalSquadControllerAddUsersToExternalSquadOperation                             OperationName = "ExternalSquadControllerAddUsersToExternalSquad"
	ExternalSquadControllerCreateExternalSquadOperation                                 OperationName = "ExternalSquadControllerCreateExternalSquad"
	ExternalSquadControllerDeleteExternalSquadOperation                                 OperationName = "ExternalSquadControllerDeleteExternalSquad"
	ExternalSquadControllerGetExternalSquadByUuidOperation                              OperationName = "ExternalSquadControllerGetExternalSquadByUuid"
	ExternalSquadControllerGetExternalSquadsOperation                                   OperationName = "ExternalSquadControllerGetExternalSquads"
	ExternalSquadControllerRemoveUsersFromExternalSquadOperation                        OperationName = "ExternalSquadControllerRemoveUsersFromExternalSquad"
	ExternalSquadControllerReorderExternalSquadsOperation                               OperationName = "ExternalSquadControllerReorderExternalSquads"
	ExternalSquadControllerUpdateExternalSquadOperation                                 OperationName = "ExternalSquadControllerUpdateExternalSquad"
	HostsBulkActionsControllerDeleteHostsOperation                                      OperationName = "HostsBulkActionsControllerDeleteHosts"
	HostsBulkActionsControllerDisableHostsOperation                                     OperationName = "HostsBulkActionsControllerDisableHosts"
	HostsBulkActionsControllerEnableHostsOperation                                      OperationName = "HostsBulkActionsControllerEnableHosts"
	HostsBulkActionsControllerSetInboundToHostsOperation                                OperationName = "HostsBulkActionsControllerSetInboundToHosts"
	HostsBulkActionsControllerSetPortToHostsOperation                                   OperationName = "HostsBulkActionsControllerSetPortToHosts"
	HostsControllerCreateHostOperation                                                  OperationName = "HostsControllerCreateHost"
	HostsControllerDeleteHostOperation                                                  OperationName = "HostsControllerDeleteHost"
	HostsControllerGetAllHostTagsOperation                                              OperationName = "HostsControllerGetAllHostTags"
	HostsControllerGetAllHostsOperation                                                 OperationName = "HostsControllerGetAllHosts"
	HostsControllerGetOneHostOperation                                                  OperationName = "HostsControllerGetOneHost"
	HostsControllerReorderHostsOperation                                                OperationName = "HostsControllerReorderHosts"
	HostsControllerUpdateHostOperation                                                  OperationName = "HostsControllerUpdateHost"
	HwidUserDevicesControllerCreateUserHwidDeviceOperation                              OperationName = "HwidUserDevicesControllerCreateUserHwidDevice"
	HwidUserDevicesControllerDeleteAllUserHwidDevicesOperation                          OperationName = "HwidUserDevicesControllerDeleteAllUserHwidDevices"
	HwidUserDevicesControllerDeleteUserHwidDeviceOperation                              OperationName = "HwidUserDevicesControllerDeleteUserHwidDevice"
	HwidUserDevicesControllerGetAllUsersOperation                                       OperationName = "HwidUserDevicesControllerGetAllUsers"
	HwidUserDevicesControllerGetHwidDevicesStatsOperation                               OperationName = "HwidUserDevicesControllerGetHwidDevicesStats"
	HwidUserDevicesControllerGetTopUsersByHwidDevicesOperation                          OperationName = "HwidUserDevicesControllerGetTopUsersByHwidDevices"
	HwidUserDevicesControllerGetUserHwidDevicesOperation                                OperationName = "HwidUserDevicesControllerGetUserHwidDevices"
	InfraBillingControllerCreateInfraBillingHistoryRecordOperation                      OperationName = "InfraBillingControllerCreateInfraBillingHistoryRecord"
	InfraBillingControllerCreateInfraBillingNodeOperation                               OperationName = "InfraBillingControllerCreateInfraBillingNode"
	InfraBillingControllerCreateInfraProviderOperation                                  OperationName = "InfraBillingControllerCreateInfraProvider"
	InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidOperation                OperationName = "InfraBillingControllerDeleteInfraBillingHistoryRecordByUuid"
	InfraBillingControllerDeleteInfraBillingNodeByUuidOperation                         OperationName = "InfraBillingControllerDeleteInfraBillingNodeByUuid"
	InfraBillingControllerDeleteInfraProviderByUuidOperation                            OperationName = "InfraBillingControllerDeleteInfraProviderByUuid"
	InfraBillingControllerGetBillingNodesOperation                                      OperationName = "InfraBillingControllerGetBillingNodes"
	InfraBillingControllerGetInfraBillingHistoryRecordsOperation                        OperationName = "InfraBillingControllerGetInfraBillingHistoryRecords"
	InfraBillingControllerGetInfraProviderByUuidOperation                               OperationName = "InfraBillingControllerGetInfraProviderByUuid"
	InfraBillingControllerGetInfraProvidersOperation                                    OperationName = "InfraBillingControllerGetInfraProviders"
	InfraBillingControllerUpdateInfraBillingNodeOperation                               OperationName = "InfraBillingControllerUpdateInfraBillingNode"
	InfraBillingControllerUpdateInfraProviderOperation                                  OperationName = "InfraBillingControllerUpdateInfraProvider"
	InternalSquadControllerAddUsersToInternalSquadOperation                             OperationName = "InternalSquadControllerAddUsersToInternalSquad"
	InternalSquadControllerCreateInternalSquadOperation                                 OperationName = "InternalSquadControllerCreateInternalSquad"
	InternalSquadControllerDeleteInternalSquadOperation                                 OperationName = "InternalSquadControllerDeleteInternalSquad"
	InternalSquadControllerGetInternalSquadAccessibleNodesOperation                     OperationName = "InternalSquadControllerGetInternalSquadAccessibleNodes"
	InternalSquadControllerGetInternalSquadByUuidOperation                              OperationName = "InternalSquadControllerGetInternalSquadByUuid"
	InternalSquadControllerGetInternalSquadsOperation                                   OperationName = "InternalSquadControllerGetInternalSquads"
	InternalSquadControllerRemoveUsersFromInternalSquadOperation                        OperationName = "InternalSquadControllerRemoveUsersFromInternalSquad"
	InternalSquadControllerReorderInternalSquadsOperation                               OperationName = "InternalSquadControllerReorderInternalSquads"
	InternalSquadControllerUpdateInternalSquadOperation                                 OperationName = "InternalSquadControllerUpdateInternalSquad"
	KeygenControllerGenerateKeyOperation                                                OperationName = "KeygenControllerGenerateKey"
	NodesControllerCreateNodeOperation                                                  OperationName = "NodesControllerCreateNode"
	NodesControllerDeleteNodeOperation                                                  OperationName = "NodesControllerDeleteNode"
	NodesControllerDisableNodeOperation                                                 OperationName = "NodesControllerDisableNode"
	NodesControllerEnableNodeOperation                                                  OperationName = "NodesControllerEnableNode"
	NodesControllerGetAllNodesOperation                                                 OperationName = "NodesControllerGetAllNodes"
	NodesControllerGetAllNodesTagsOperation                                             OperationName = "NodesControllerGetAllNodesTags"
	NodesControllerGetOneNodeOperation                                                  OperationName = "NodesControllerGetOneNode"
	NodesControllerProfileModificationOperation                                         OperationName = "NodesControllerProfileModification"
	NodesControllerReorderNodesOperation                                                OperationName = "NodesControllerReorderNodes"
	NodesControllerResetNodeTrafficOperation                                            OperationName = "NodesControllerResetNodeTraffic"
	NodesControllerRestartAllNodesOperation                                             OperationName = "NodesControllerRestartAllNodes"
	NodesControllerRestartNodeOperation                                                 OperationName = "NodesControllerRestartNode"
	NodesControllerUpdateNodeOperation                                                  OperationName = "NodesControllerUpdateNode"
	NodesUsageHistoryControllerGetStatsNodesUsageOperation                              OperationName = "NodesUsageHistoryControllerGetStatsNodesUsage"
	PasskeyControllerDeletePasskeyOperation                                             OperationName = "PasskeyControllerDeletePasskey"
	PasskeyControllerGetActivePasskeysOperation                                         OperationName = "PasskeyControllerGetActivePasskeys"
	PasskeyControllerPasskeyRegistrationOptionsOperation                                OperationName = "PasskeyControllerPasskeyRegistrationOptions"
	PasskeyControllerPasskeyRegistrationVerifyOperation                                 OperationName = "PasskeyControllerPasskeyRegistrationVerify"
	PasskeyControllerUpdatePasskeyOperation                                             OperationName = "PasskeyControllerUpdatePasskey"
	RemnawaveSettingsControllerGetSettingsOperation                                     OperationName = "RemnawaveSettingsControllerGetSettings"
	RemnawaveSettingsControllerUpdateSettingsOperation                                  OperationName = "RemnawaveSettingsControllerUpdateSettings"
	SnippetsControllerCreateSnippetOperation                                            OperationName = "SnippetsControllerCreateSnippet"
	SnippetsControllerDeleteSnippetByNameOperation                                      OperationName = "SnippetsControllerDeleteSnippetByName"
	SnippetsControllerGetSnippetsOperation                                              OperationName = "SnippetsControllerGetSnippets"
	SnippetsControllerUpdateSnippetOperation                                            OperationName = "SnippetsControllerUpdateSnippet"
	SubscriptionControllerGetSubscriptionOperation                                      OperationName = "SubscriptionControllerGetSubscription"
	SubscriptionControllerGetSubscriptionByClientTypeOperation                          OperationName = "SubscriptionControllerGetSubscriptionByClientType"
	SubscriptionControllerGetSubscriptionInfoByShortUuidOperation                       OperationName = "SubscriptionControllerGetSubscriptionInfoByShortUuid"
	SubscriptionControllerGetSubscriptionWithTypeOperation                              OperationName = "SubscriptionControllerGetSubscriptionWithType"
	SubscriptionPageConfigControllerCloneSubscriptionPageConfigOperation                OperationName = "SubscriptionPageConfigControllerCloneSubscriptionPageConfig"
	SubscriptionPageConfigControllerCreateConfigOperation                               OperationName = "SubscriptionPageConfigControllerCreateConfig"
	SubscriptionPageConfigControllerDeleteConfigOperation                               OperationName = "SubscriptionPageConfigControllerDeleteConfig"
	SubscriptionPageConfigControllerGetAllConfigsOperation                              OperationName = "SubscriptionPageConfigControllerGetAllConfigs"
	SubscriptionPageConfigControllerGetConfigByUuidOperation                            OperationName = "SubscriptionPageConfigControllerGetConfigByUuid"
	SubscriptionPageConfigControllerReorderSubscriptionPageConfigsOperation             OperationName = "SubscriptionPageConfigControllerReorderSubscriptionPageConfigs"
	SubscriptionPageConfigControllerUpdateConfigOperation                               OperationName = "SubscriptionPageConfigControllerUpdateConfig"
	SubscriptionSettingsControllerGetSettingsOperation                                  OperationName = "SubscriptionSettingsControllerGetSettings"
	SubscriptionSettingsControllerUpdateSettingsOperation                               OperationName = "SubscriptionSettingsControllerUpdateSettings"
	SubscriptionTemplateControllerCreateTemplateOperation                               OperationName = "SubscriptionTemplateControllerCreateTemplate"
	SubscriptionTemplateControllerDeleteTemplateOperation                               OperationName = "SubscriptionTemplateControllerDeleteTemplate"
	SubscriptionTemplateControllerGetAllTemplatesOperation                              OperationName = "SubscriptionTemplateControllerGetAllTemplates"
	SubscriptionTemplateControllerGetTemplateByUuidOperation                            OperationName = "SubscriptionTemplateControllerGetTemplateByUuid"
	SubscriptionTemplateControllerReorderSubscriptionTemplatesOperation                 OperationName = "SubscriptionTemplateControllerReorderSubscriptionTemplates"
	SubscriptionTemplateControllerUpdateTemplateOperation                               OperationName = "SubscriptionTemplateControllerUpdateTemplate"
	SubscriptionsControllerGetAllSubscriptionsOperation                                 OperationName = "SubscriptionsControllerGetAllSubscriptions"
	SubscriptionsControllerGetRawSubscriptionByShortUuidOperation                       OperationName = "SubscriptionsControllerGetRawSubscriptionByShortUuid"
	SubscriptionsControllerGetSubpageConfigByShortUuidOperation                         OperationName = "SubscriptionsControllerGetSubpageConfigByShortUuid"
	SubscriptionsControllerGetSubscriptionByShortUuidProtectedOperation                 OperationName = "SubscriptionsControllerGetSubscriptionByShortUuidProtected"
	SubscriptionsControllerGetSubscriptionByUsernameOperation                           OperationName = "SubscriptionsControllerGetSubscriptionByUsername"
	SubscriptionsControllerGetSubscriptionByUuidOperation                               OperationName = "SubscriptionsControllerGetSubscriptionByUuid"
	SystemControllerDebugSrrMatcherOperation                                            OperationName = "SystemControllerDebugSrrMatcher"
	SystemControllerEncryptHappCryptoLinkOperation                                      OperationName = "SystemControllerEncryptHappCryptoLink"
	SystemControllerGetBandwidthStatsOperation                                          OperationName = "SystemControllerGetBandwidthStats"
	SystemControllerGetNodesMetricsOperation                                            OperationName = "SystemControllerGetNodesMetrics"
	SystemControllerGetNodesStatisticsOperation                                         OperationName = "SystemControllerGetNodesStatistics"
	SystemControllerGetRemnawaveHealthOperation                                         OperationName = "SystemControllerGetRemnawaveHealth"
	SystemControllerGetStatsOperation                                                   OperationName = "SystemControllerGetStats"
	SystemControllerGetX25519KeypairsOperation                                          OperationName = "SystemControllerGetX25519Keypairs"
	UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryOperation      OperationName = "UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistory"
	UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsOperation OperationName = "UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStats"
	UsersBulkActionsControllerBulkAllExtendExpirationDateOperation                      OperationName = "UsersBulkActionsControllerBulkAllExtendExpirationDate"
	UsersBulkActionsControllerBulkAllResetUserTrafficOperation                          OperationName = "UsersBulkActionsControllerBulkAllResetUserTraffic"
	UsersBulkActionsControllerBulkDeleteUsersOperation                                  OperationName = "UsersBulkActionsControllerBulkDeleteUsers"
	UsersBulkActionsControllerBulkDeleteUsersByStatusOperation                          OperationName = "UsersBulkActionsControllerBulkDeleteUsersByStatus"
	UsersBulkActionsControllerBulkExtendExpirationDateOperation                         OperationName = "UsersBulkActionsControllerBulkExtendExpirationDate"
	UsersBulkActionsControllerBulkResetUserTrafficOperation                             OperationName = "UsersBulkActionsControllerBulkResetUserTraffic"
	UsersBulkActionsControllerBulkRevokeUsersSubscriptionOperation                      OperationName = "UsersBulkActionsControllerBulkRevokeUsersSubscription"
	UsersBulkActionsControllerBulkUpdateAllUsersOperation                               OperationName = "UsersBulkActionsControllerBulkUpdateAllUsers"
	UsersBulkActionsControllerBulkUpdateUsersOperation                                  OperationName = "UsersBulkActionsControllerBulkUpdateUsers"
	UsersBulkActionsControllerBulkUpdateUsersInternalSquadsOperation                    OperationName = "UsersBulkActionsControllerBulkUpdateUsersInternalSquads"
	UsersControllerCreateUserOperation                                                  OperationName = "UsersControllerCreateUser"
	UsersControllerDeleteUserOperation                                                  OperationName = "UsersControllerDeleteUser"
	UsersControllerDisableUserOperation                                                 OperationName = "UsersControllerDisableUser"
	UsersControllerEnableUserOperation                                                  OperationName = "UsersControllerEnableUser"
	UsersControllerGetAllTagsOperation                                                  OperationName = "UsersControllerGetAllTags"
	UsersControllerGetAllUsersOperation                                                 OperationName = "UsersControllerGetAllUsers"
	UsersControllerGetUserAccessibleNodesOperation                                      OperationName = "UsersControllerGetUserAccessibleNodes"
	UsersControllerGetUserByIdOperation                                                 OperationName = "UsersControllerGetUserById"
	UsersControllerGetUserByShortUuidOperation                                          OperationName = "UsersControllerGetUserByShortUuid"
	UsersControllerGetUserByTelegramIdOperation                                         OperationName = "UsersControllerGetUserByTelegramId"
	UsersControllerGetUserByUsernameOperation                                           OperationName = "UsersControllerGetUserByUsername"
	UsersControllerGetUserByUuidOperation                                               OperationName = "UsersControllerGetUserByUuid"
	UsersControllerGetUserSubscriptionRequestHistoryOperation                           OperationName = "UsersControllerGetUserSubscriptionRequestHistory"
	UsersControllerGetUsersByEmailOperation                                             OperationName = "UsersControllerGetUsersByEmail"
	UsersControllerGetUsersByTagOperation                                               OperationName = "UsersControllerGetUsersByTag"
	UsersControllerResetUserTrafficOperation                                            OperationName = "UsersControllerResetUserTraffic"
	UsersControllerRevokeUserSubscriptionOperation                                      OperationName = "UsersControllerRevokeUserSubscription"
	UsersControllerUpdateUserOperation                                                  OperationName = "UsersControllerUpdateUser"
)

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

func (s *OptBool) SetFake()

SetFake set fake values.

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 OptBulkAllUpdateUsersRequestDtoStatus

type OptBulkAllUpdateUsersRequestDtoStatus struct {
	Value BulkAllUpdateUsersRequestDtoStatus
	Set   bool
}

OptBulkAllUpdateUsersRequestDtoStatus is optional BulkAllUpdateUsersRequestDtoStatus.

func NewOptBulkAllUpdateUsersRequestDtoStatus

func NewOptBulkAllUpdateUsersRequestDtoStatus(v BulkAllUpdateUsersRequestDtoStatus) OptBulkAllUpdateUsersRequestDtoStatus

NewOptBulkAllUpdateUsersRequestDtoStatus returns new OptBulkAllUpdateUsersRequestDtoStatus with value set to v.

func (*OptBulkAllUpdateUsersRequestDtoStatus) Decode

Decode decodes BulkAllUpdateUsersRequestDtoStatus from json.

func (OptBulkAllUpdateUsersRequestDtoStatus) Encode

Encode encodes BulkAllUpdateUsersRequestDtoStatus as json.

func (OptBulkAllUpdateUsersRequestDtoStatus) Get

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

func (OptBulkAllUpdateUsersRequestDtoStatus) IsSet

IsSet returns true if OptBulkAllUpdateUsersRequestDtoStatus was set.

func (OptBulkAllUpdateUsersRequestDtoStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptBulkAllUpdateUsersRequestDtoStatus) Or

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

func (*OptBulkAllUpdateUsersRequestDtoStatus) Reset

Reset unsets value.

func (*OptBulkAllUpdateUsersRequestDtoStatus) SetFake

SetFake set fake values.

func (*OptBulkAllUpdateUsersRequestDtoStatus) SetTo

SetTo sets value to v.

func (*OptBulkAllUpdateUsersRequestDtoStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy

type OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy struct {
	Value BulkAllUpdateUsersRequestDtoTrafficLimitStrategy
	Set   bool
}

OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy is optional BulkAllUpdateUsersRequestDtoTrafficLimitStrategy.

func NewOptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy

func NewOptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy(v BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy

NewOptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy returns new OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy with value set to v.

func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Decode

Decode decodes BulkAllUpdateUsersRequestDtoTrafficLimitStrategy from json.

func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Encode

Encode encodes BulkAllUpdateUsersRequestDtoTrafficLimitStrategy as json.

func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Get

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

func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) IsSet

IsSet returns true if OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy was set.

func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Or

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

func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Reset

Reset unsets value.

func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetFake

SetFake set fake values.

func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetTo

SetTo sets value to v.

func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBulkDeleteUsersByStatusRequestDtoStatus

type OptBulkDeleteUsersByStatusRequestDtoStatus struct {
	Value BulkDeleteUsersByStatusRequestDtoStatus
	Set   bool
}

OptBulkDeleteUsersByStatusRequestDtoStatus is optional BulkDeleteUsersByStatusRequestDtoStatus.

func NewOptBulkDeleteUsersByStatusRequestDtoStatus

func NewOptBulkDeleteUsersByStatusRequestDtoStatus(v BulkDeleteUsersByStatusRequestDtoStatus) OptBulkDeleteUsersByStatusRequestDtoStatus

NewOptBulkDeleteUsersByStatusRequestDtoStatus returns new OptBulkDeleteUsersByStatusRequestDtoStatus with value set to v.

func (*OptBulkDeleteUsersByStatusRequestDtoStatus) Decode

Decode decodes BulkDeleteUsersByStatusRequestDtoStatus from json.

func (OptBulkDeleteUsersByStatusRequestDtoStatus) Encode

Encode encodes BulkDeleteUsersByStatusRequestDtoStatus as json.

func (OptBulkDeleteUsersByStatusRequestDtoStatus) Get

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

func (OptBulkDeleteUsersByStatusRequestDtoStatus) IsSet

IsSet returns true if OptBulkDeleteUsersByStatusRequestDtoStatus was set.

func (OptBulkDeleteUsersByStatusRequestDtoStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBulkDeleteUsersByStatusRequestDtoStatus) Or

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

func (*OptBulkDeleteUsersByStatusRequestDtoStatus) Reset

Reset unsets value.

func (*OptBulkDeleteUsersByStatusRequestDtoStatus) SetFake

SetFake set fake values.

func (*OptBulkDeleteUsersByStatusRequestDtoStatus) SetTo

SetTo sets value to v.

func (*OptBulkDeleteUsersByStatusRequestDtoStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBulkUpdateUsersRequestDtoFieldsStatus

type OptBulkUpdateUsersRequestDtoFieldsStatus struct {
	Value BulkUpdateUsersRequestDtoFieldsStatus
	Set   bool
}

OptBulkUpdateUsersRequestDtoFieldsStatus is optional BulkUpdateUsersRequestDtoFieldsStatus.

func NewOptBulkUpdateUsersRequestDtoFieldsStatus

func NewOptBulkUpdateUsersRequestDtoFieldsStatus(v BulkUpdateUsersRequestDtoFieldsStatus) OptBulkUpdateUsersRequestDtoFieldsStatus

NewOptBulkUpdateUsersRequestDtoFieldsStatus returns new OptBulkUpdateUsersRequestDtoFieldsStatus with value set to v.

func (*OptBulkUpdateUsersRequestDtoFieldsStatus) Decode

Decode decodes BulkUpdateUsersRequestDtoFieldsStatus from json.

func (OptBulkUpdateUsersRequestDtoFieldsStatus) Encode

Encode encodes BulkUpdateUsersRequestDtoFieldsStatus as json.

func (OptBulkUpdateUsersRequestDtoFieldsStatus) Get

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

func (OptBulkUpdateUsersRequestDtoFieldsStatus) IsSet

IsSet returns true if OptBulkUpdateUsersRequestDtoFieldsStatus was set.

func (OptBulkUpdateUsersRequestDtoFieldsStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBulkUpdateUsersRequestDtoFieldsStatus) Or

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

func (*OptBulkUpdateUsersRequestDtoFieldsStatus) Reset

Reset unsets value.

func (*OptBulkUpdateUsersRequestDtoFieldsStatus) SetFake

SetFake set fake values.

func (*OptBulkUpdateUsersRequestDtoFieldsStatus) SetTo

SetTo sets value to v.

func (*OptBulkUpdateUsersRequestDtoFieldsStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy

type OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy struct {
	Value BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
	Set   bool
}

OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy is optional BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy.

func NewOptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy

NewOptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy returns new OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy with value set to v.

func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Decode

Decode decodes BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy from json.

func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Encode

Encode encodes BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy as json.

func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Get

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

func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) IsSet

IsSet returns true if OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy was set.

func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Or

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

func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Reset

Reset unsets value.

func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetFake

SetFake set fake values.

func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetTo

SetTo sets value to v.

func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConfigProfileRef

type OptConfigProfileRef struct {
	Value ConfigProfileRef
	Set   bool
}

OptConfigProfileRef is optional ConfigProfileRef.

func NewOptConfigProfileRef

func NewOptConfigProfileRef(v ConfigProfileRef) OptConfigProfileRef

NewOptConfigProfileRef returns new OptConfigProfileRef with value set to v.

func (*OptConfigProfileRef) Decode

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

Decode decodes ConfigProfileRef from json.

func (OptConfigProfileRef) Encode

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

Encode encodes ConfigProfileRef as json.

func (OptConfigProfileRef) Get

func (o OptConfigProfileRef) Get() (v ConfigProfileRef, ok bool)

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

func (OptConfigProfileRef) IsSet

func (o OptConfigProfileRef) IsSet() bool

IsSet returns true if OptConfigProfileRef was set.

func (OptConfigProfileRef) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConfigProfileRef) Or

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

func (*OptConfigProfileRef) Reset

func (o *OptConfigProfileRef) Reset()

Reset unsets value.

func (*OptConfigProfileRef) SetFake

func (s *OptConfigProfileRef) SetFake()

SetFake set fake values.

func (*OptConfigProfileRef) SetTo

SetTo sets value to v.

func (*OptConfigProfileRef) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateHostRequestDtoSecurityLayer

type OptCreateHostRequestDtoSecurityLayer struct {
	Value CreateHostRequestDtoSecurityLayer
	Set   bool
}

OptCreateHostRequestDtoSecurityLayer is optional CreateHostRequestDtoSecurityLayer.

func NewOptCreateHostRequestDtoSecurityLayer

func NewOptCreateHostRequestDtoSecurityLayer(v CreateHostRequestDtoSecurityLayer) OptCreateHostRequestDtoSecurityLayer

NewOptCreateHostRequestDtoSecurityLayer returns new OptCreateHostRequestDtoSecurityLayer with value set to v.

func (*OptCreateHostRequestDtoSecurityLayer) Decode

Decode decodes CreateHostRequestDtoSecurityLayer from json.

func (OptCreateHostRequestDtoSecurityLayer) Encode

Encode encodes CreateHostRequestDtoSecurityLayer as json.

func (OptCreateHostRequestDtoSecurityLayer) Get

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

func (OptCreateHostRequestDtoSecurityLayer) IsSet

IsSet returns true if OptCreateHostRequestDtoSecurityLayer was set.

func (OptCreateHostRequestDtoSecurityLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateHostRequestDtoSecurityLayer) Or

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

func (*OptCreateHostRequestDtoSecurityLayer) Reset

Reset unsets value.

func (*OptCreateHostRequestDtoSecurityLayer) SetFake

SetFake set fake values.

func (*OptCreateHostRequestDtoSecurityLayer) SetTo

SetTo sets value to v.

func (*OptCreateHostRequestDtoSecurityLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateUserRequestDtoStatus

type OptCreateUserRequestDtoStatus struct {
	Value CreateUserRequestDtoStatus
	Set   bool
}

OptCreateUserRequestDtoStatus is optional CreateUserRequestDtoStatus.

func NewOptCreateUserRequestDtoStatus

func NewOptCreateUserRequestDtoStatus(v CreateUserRequestDtoStatus) OptCreateUserRequestDtoStatus

NewOptCreateUserRequestDtoStatus returns new OptCreateUserRequestDtoStatus with value set to v.

func (*OptCreateUserRequestDtoStatus) Decode

Decode decodes CreateUserRequestDtoStatus from json.

func (OptCreateUserRequestDtoStatus) Encode

Encode encodes CreateUserRequestDtoStatus as json.

func (OptCreateUserRequestDtoStatus) Get

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

func (OptCreateUserRequestDtoStatus) IsSet

IsSet returns true if OptCreateUserRequestDtoStatus was set.

func (OptCreateUserRequestDtoStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateUserRequestDtoStatus) Or

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

func (*OptCreateUserRequestDtoStatus) Reset

func (o *OptCreateUserRequestDtoStatus) Reset()

Reset unsets value.

func (*OptCreateUserRequestDtoStatus) SetFake

func (s *OptCreateUserRequestDtoStatus) SetFake()

SetFake set fake values.

func (*OptCreateUserRequestDtoStatus) SetTo

SetTo sets value to v.

func (*OptCreateUserRequestDtoStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateUserRequestDtoTrafficLimitStrategy

type OptCreateUserRequestDtoTrafficLimitStrategy struct {
	Value CreateUserRequestDtoTrafficLimitStrategy
	Set   bool
}

OptCreateUserRequestDtoTrafficLimitStrategy is optional CreateUserRequestDtoTrafficLimitStrategy.

func NewOptCreateUserRequestDtoTrafficLimitStrategy

func NewOptCreateUserRequestDtoTrafficLimitStrategy(v CreateUserRequestDtoTrafficLimitStrategy) OptCreateUserRequestDtoTrafficLimitStrategy

NewOptCreateUserRequestDtoTrafficLimitStrategy returns new OptCreateUserRequestDtoTrafficLimitStrategy with value set to v.

func (*OptCreateUserRequestDtoTrafficLimitStrategy) Decode

Decode decodes CreateUserRequestDtoTrafficLimitStrategy from json.

func (OptCreateUserRequestDtoTrafficLimitStrategy) Encode

Encode encodes CreateUserRequestDtoTrafficLimitStrategy as json.

func (OptCreateUserRequestDtoTrafficLimitStrategy) Get

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

func (OptCreateUserRequestDtoTrafficLimitStrategy) IsSet

IsSet returns true if OptCreateUserRequestDtoTrafficLimitStrategy was set.

func (OptCreateUserRequestDtoTrafficLimitStrategy) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptCreateUserRequestDtoTrafficLimitStrategy) Or

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

func (*OptCreateUserRequestDtoTrafficLimitStrategy) Reset

Reset unsets value.

func (*OptCreateUserRequestDtoTrafficLimitStrategy) SetFake

SetFake set fake values.

func (*OptCreateUserRequestDtoTrafficLimitStrategy) SetTo

SetTo sets value to v.

func (*OptCreateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON

func (s *OptCreateUserRequestDtoTrafficLimitStrategy) 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) SetFake

func (s *OptDateTime) SetFake()

SetFake set fake values.

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

func (s *OptFloat64) SetFake()

SetFake set fake values.

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 OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData

type OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData struct {
	Value GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData
	Set   bool
}

OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData is optional GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData.

func NewOptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData

NewOptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData returns new OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData with value set to v.

func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData from json.

func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Encode

Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData as json.

func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Get

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

func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) IsSet

IsSet returns true if OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData was set.

func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Or

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

func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Reset

Reset unsets value.

func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetFake

SetFake set fake values.

func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetTo

SetTo sets value to v.

func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptHostItemSecurityLayer

type OptHostItemSecurityLayer struct {
	Value HostItemSecurityLayer
	Set   bool
}

OptHostItemSecurityLayer is optional HostItemSecurityLayer.

func NewOptHostItemSecurityLayer

func NewOptHostItemSecurityLayer(v HostItemSecurityLayer) OptHostItemSecurityLayer

NewOptHostItemSecurityLayer returns new OptHostItemSecurityLayer with value set to v.

func (*OptHostItemSecurityLayer) Decode

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

Decode decodes HostItemSecurityLayer from json.

func (OptHostItemSecurityLayer) Encode

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

Encode encodes HostItemSecurityLayer as json.

func (OptHostItemSecurityLayer) Get

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

func (OptHostItemSecurityLayer) IsSet

func (o OptHostItemSecurityLayer) IsSet() bool

IsSet returns true if OptHostItemSecurityLayer was set.

func (OptHostItemSecurityLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptHostItemSecurityLayer) Or

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

func (*OptHostItemSecurityLayer) Reset

func (o *OptHostItemSecurityLayer) Reset()

Reset unsets value.

func (*OptHostItemSecurityLayer) SetFake

func (s *OptHostItemSecurityLayer) SetFake()

SetFake set fake values.

func (*OptHostItemSecurityLayer) SetTo

SetTo sets value to v.

func (*OptHostItemSecurityLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInboundRef

type OptInboundRef struct {
	Value InboundRef
	Set   bool
}

OptInboundRef is optional InboundRef.

func NewOptInboundRef

func NewOptInboundRef(v InboundRef) OptInboundRef

NewOptInboundRef returns new OptInboundRef with value set to v.

func (*OptInboundRef) Decode

func (o *OptInboundRef) Decode(d *jx.Decoder) error

Decode decodes InboundRef from json.

func (OptInboundRef) Encode

func (o OptInboundRef) Encode(e *jx.Encoder)

Encode encodes InboundRef as json.

func (OptInboundRef) Get

func (o OptInboundRef) Get() (v InboundRef, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInboundRef) IsSet

func (o OptInboundRef) IsSet() bool

IsSet returns true if OptInboundRef was set.

func (OptInboundRef) MarshalJSON

func (s OptInboundRef) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInboundRef) Or

Or returns value if set, or given parameter if does not.

func (*OptInboundRef) Reset

func (o *OptInboundRef) Reset()

Reset unsets value.

func (*OptInboundRef) SetFake

func (s *OptInboundRef) SetFake()

SetFake set fake values.

func (*OptInboundRef) SetTo

func (o *OptInboundRef) SetTo(v InboundRef)

SetTo sets value to v.

func (*OptInboundRef) UnmarshalJSON

func (s *OptInboundRef) 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) SetFake

func (s *OptInt) SetFake()

SetFake set fake values.

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 OptNilBool

type OptNilBool struct {
	Value bool
	Set   bool
	Null  bool
}

OptNilBool is optional nullable bool.

func NewOptNilBool

func NewOptNilBool(v bool) OptNilBool

NewOptNilBool returns new OptNilBool with value set to v.

func (*OptNilBool) Decode

func (o *OptNilBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptNilBool) Encode

func (o OptNilBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptNilBool) Get

func (o OptNilBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilBool) IsNull

func (o OptNilBool) IsNull() bool

IsNull returns true if value is Null.

func (OptNilBool) IsSet

func (o OptNilBool) IsSet() bool

IsSet returns true if OptNilBool was set.

func (OptNilBool) MarshalJSON

func (s OptNilBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilBool) Or

func (o OptNilBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptNilBool) Reset

func (o *OptNilBool) Reset()

Reset unsets value.

func (*OptNilBool) SetFake

func (s *OptNilBool) SetFake()

SetFake set fake values.

func (*OptNilBool) SetTo

func (o *OptNilBool) SetTo(v bool)

SetTo sets value to v.

func (*OptNilBool) SetToNull

func (o *OptNilBool) SetToNull()

SetToNull sets value to null.

func (*OptNilBool) UnmarshalJSON

func (s *OptNilBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBrandingSettings

type OptNilBrandingSettings struct {
	Value BrandingSettings
	Set   bool
	Null  bool
}

OptNilBrandingSettings is optional nullable BrandingSettings.

func NewOptNilBrandingSettings

func NewOptNilBrandingSettings(v BrandingSettings) OptNilBrandingSettings

NewOptNilBrandingSettings returns new OptNilBrandingSettings with value set to v.

func (*OptNilBrandingSettings) Decode

func (o *OptNilBrandingSettings) Decode(d *jx.Decoder) error

Decode decodes BrandingSettings from json.

func (OptNilBrandingSettings) Encode

func (o OptNilBrandingSettings) Encode(e *jx.Encoder)

Encode encodes BrandingSettings as json.

func (OptNilBrandingSettings) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBrandingSettings) IsNull

func (o OptNilBrandingSettings) IsNull() bool

IsNull returns true if value is Null.

func (OptNilBrandingSettings) IsSet

func (o OptNilBrandingSettings) IsSet() bool

IsSet returns true if OptNilBrandingSettings was set.

func (OptNilBrandingSettings) MarshalJSON

func (s OptNilBrandingSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilBrandingSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBrandingSettings) Reset

func (o *OptNilBrandingSettings) Reset()

Reset unsets value.

func (*OptNilBrandingSettings) SetFake

func (s *OptNilBrandingSettings) SetFake()

SetFake set fake values.

func (*OptNilBrandingSettings) SetTo

SetTo sets value to v.

func (*OptNilBrandingSettings) SetToNull

func (o *OptNilBrandingSettings) SetToNull()

SetToNull sets value to null.

func (*OptNilBrandingSettings) UnmarshalJSON

func (s *OptNilBrandingSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilCreateHostRequestDtoAlpn

type OptNilCreateHostRequestDtoAlpn struct {
	Value CreateHostRequestDtoAlpn
	Set   bool
	Null  bool
}

OptNilCreateHostRequestDtoAlpn is optional nullable CreateHostRequestDtoAlpn.

func NewOptNilCreateHostRequestDtoAlpn

func NewOptNilCreateHostRequestDtoAlpn(v CreateHostRequestDtoAlpn) OptNilCreateHostRequestDtoAlpn

NewOptNilCreateHostRequestDtoAlpn returns new OptNilCreateHostRequestDtoAlpn with value set to v.

func (*OptNilCreateHostRequestDtoAlpn) Decode

Decode decodes CreateHostRequestDtoAlpn from json.

func (OptNilCreateHostRequestDtoAlpn) Encode

Encode encodes CreateHostRequestDtoAlpn as json.

func (OptNilCreateHostRequestDtoAlpn) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilCreateHostRequestDtoAlpn) IsNull

IsNull returns true if value is Null.

func (OptNilCreateHostRequestDtoAlpn) IsSet

IsSet returns true if OptNilCreateHostRequestDtoAlpn was set.

func (OptNilCreateHostRequestDtoAlpn) MarshalJSON

func (s OptNilCreateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilCreateHostRequestDtoAlpn) Or

Or returns value if set, or given parameter if does not.

func (*OptNilCreateHostRequestDtoAlpn) Reset

func (o *OptNilCreateHostRequestDtoAlpn) Reset()

Reset unsets value.

func (*OptNilCreateHostRequestDtoAlpn) SetFake

func (s *OptNilCreateHostRequestDtoAlpn) SetFake()

SetFake set fake values.

func (*OptNilCreateHostRequestDtoAlpn) SetTo

SetTo sets value to v.

func (*OptNilCreateHostRequestDtoAlpn) SetToNull

func (o *OptNilCreateHostRequestDtoAlpn) SetToNull()

SetToNull sets value to null.

func (*OptNilCreateHostRequestDtoAlpn) UnmarshalJSON

func (s *OptNilCreateHostRequestDtoAlpn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilCreateHostRequestDtoFingerprint

type OptNilCreateHostRequestDtoFingerprint struct {
	Value CreateHostRequestDtoFingerprint
	Set   bool
	Null  bool
}

OptNilCreateHostRequestDtoFingerprint is optional nullable CreateHostRequestDtoFingerprint.

func NewOptNilCreateHostRequestDtoFingerprint

func NewOptNilCreateHostRequestDtoFingerprint(v CreateHostRequestDtoFingerprint) OptNilCreateHostRequestDtoFingerprint

NewOptNilCreateHostRequestDtoFingerprint returns new OptNilCreateHostRequestDtoFingerprint with value set to v.

func (*OptNilCreateHostRequestDtoFingerprint) Decode

Decode decodes CreateHostRequestDtoFingerprint from json.

func (OptNilCreateHostRequestDtoFingerprint) Encode

Encode encodes CreateHostRequestDtoFingerprint as json.

func (OptNilCreateHostRequestDtoFingerprint) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilCreateHostRequestDtoFingerprint) IsNull

IsNull returns true if value is Null.

func (OptNilCreateHostRequestDtoFingerprint) IsSet

IsSet returns true if OptNilCreateHostRequestDtoFingerprint was set.

func (OptNilCreateHostRequestDtoFingerprint) MarshalJSON

func (s OptNilCreateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilCreateHostRequestDtoFingerprint) Or

Or returns value if set, or given parameter if does not.

func (*OptNilCreateHostRequestDtoFingerprint) Reset

Reset unsets value.

func (*OptNilCreateHostRequestDtoFingerprint) SetFake

SetFake set fake values.

func (*OptNilCreateHostRequestDtoFingerprint) SetTo

SetTo sets value to v.

func (*OptNilCreateHostRequestDtoFingerprint) SetToNull

SetToNull sets value to null.

func (*OptNilCreateHostRequestDtoFingerprint) UnmarshalJSON

func (s *OptNilCreateHostRequestDtoFingerprint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilCustomRemark

type OptNilCustomRemark struct {
	Value CustomRemark
	Set   bool
	Null  bool
}

OptNilCustomRemark is optional nullable CustomRemark.

func NewOptNilCustomRemark

func NewOptNilCustomRemark(v CustomRemark) OptNilCustomRemark

NewOptNilCustomRemark returns new OptNilCustomRemark with value set to v.

func (*OptNilCustomRemark) Decode

func (o *OptNilCustomRemark) Decode(d *jx.Decoder) error

Decode decodes CustomRemark from json.

func (OptNilCustomRemark) Encode

func (o OptNilCustomRemark) Encode(e *jx.Encoder)

Encode encodes CustomRemark as json.

func (OptNilCustomRemark) Get

func (o OptNilCustomRemark) Get() (v CustomRemark, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilCustomRemark) IsNull

func (o OptNilCustomRemark) IsNull() bool

IsNull returns true if value is Null.

func (OptNilCustomRemark) IsSet

func (o OptNilCustomRemark) IsSet() bool

IsSet returns true if OptNilCustomRemark was set.

func (OptNilCustomRemark) MarshalJSON

func (s OptNilCustomRemark) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilCustomRemark) Or

Or returns value if set, or given parameter if does not.

func (*OptNilCustomRemark) Reset

func (o *OptNilCustomRemark) Reset()

Reset unsets value.

func (*OptNilCustomRemark) SetFake

func (s *OptNilCustomRemark) SetFake()

SetFake set fake values.

func (*OptNilCustomRemark) SetTo

func (o *OptNilCustomRemark) SetTo(v CustomRemark)

SetTo sets value to v.

func (*OptNilCustomRemark) SetToNull

func (o *OptNilCustomRemark) SetToNull()

SetToNull sets value to null.

func (*OptNilCustomRemark) UnmarshalJSON

func (s *OptNilCustomRemark) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFloat64

type OptNilFloat64 struct {
	Value float64
	Set   bool
	Null  bool
}

OptNilFloat64 is optional nullable float64.

func NewOptNilFloat64

func NewOptNilFloat64(v float64) OptNilFloat64

NewOptNilFloat64 returns new OptNilFloat64 with value set to v.

func (*OptNilFloat64) Decode

func (o *OptNilFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptNilFloat64) Encode

func (o OptNilFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptNilFloat64) Get

func (o OptNilFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilFloat64) IsNull

func (o OptNilFloat64) IsNull() bool

IsNull returns true if value is Null.

func (OptNilFloat64) IsSet

func (o OptNilFloat64) IsSet() bool

IsSet returns true if OptNilFloat64 was set.

func (OptNilFloat64) MarshalJSON

func (s OptNilFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFloat64) Or

func (o OptNilFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptNilFloat64) Reset

func (o *OptNilFloat64) Reset()

Reset unsets value.

func (*OptNilFloat64) SetFake

func (s *OptNilFloat64) SetFake()

SetFake set fake values.

func (*OptNilFloat64) SetTo

func (o *OptNilFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptNilFloat64) SetToNull

func (o *OptNilFloat64) SetToNull()

SetToNull sets value to null.

func (*OptNilFloat64) UnmarshalJSON

func (s *OptNilFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams

type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams struct {
	Value GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams
	Set   bool
	Null  bool
}

OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams is optional nullable GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams.

func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams

NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams returns new OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams with value set to v.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams from json.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Encode

Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams as json.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) IsNull

IsNull returns true if value is Null.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) IsSet

IsSet returns true if OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams was set.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Reset

Reset unsets value.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetFake

SetFake set fake values.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetTo

SetTo sets value to v.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetToNull

SetToNull sets value to null.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions

type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions struct {
	Value GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions
	Set   bool
	Null  bool
}

OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions is optional nullable GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions.

func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions

NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions returns new OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions with value set to v.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions from json.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Encode

Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions as json.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) IsNull

IsNull returns true if value is Null.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) IsSet

IsSet returns true if OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions was set.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Reset

Reset unsets value.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetFake

SetFake set fake values.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetTo

SetTo sets value to v.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetToNull

SetToNull sets value to null.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs

type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs struct {
	Value GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs
	Set   bool
	Null  bool
}

OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs is optional nullable GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs.

func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs

NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs returns new OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs with value set to v.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs from json.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Encode

Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs as json.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) IsNull

IsNull returns true if value is Null.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) IsSet

IsSet returns true if OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs was set.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Reset

Reset unsets value.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetFake

SetFake set fake values.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetTo

SetTo sets value to v.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetToNull

SetToNull sets value to null.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings

type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings struct {
	Value GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
	Set   bool
	Null  bool
}

OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings is optional nullable GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings.

func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings

NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings returns new OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings with value set to v.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Decode

Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings from json.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Encode

Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings as json.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) IsNull

IsNull returns true if value is Null.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) IsSet

IsSet returns true if OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings was set.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Reset

Reset unsets value.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetFake

SetFake set fake values.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetTo

SetTo sets value to v.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetToNull

SetToNull sets value to null.

func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilHostOverride

type OptNilHostOverride struct {
	Value HostOverride
	Set   bool
	Null  bool
}

OptNilHostOverride is optional nullable HostOverride.

func NewOptNilHostOverride

func NewOptNilHostOverride(v HostOverride) OptNilHostOverride

NewOptNilHostOverride returns new OptNilHostOverride with value set to v.

func (*OptNilHostOverride) Decode

func (o *OptNilHostOverride) Decode(d *jx.Decoder) error

Decode decodes HostOverride from json.

func (OptNilHostOverride) Encode

func (o OptNilHostOverride) Encode(e *jx.Encoder)

Encode encodes HostOverride as json.

func (OptNilHostOverride) Get

func (o OptNilHostOverride) Get() (v HostOverride, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilHostOverride) IsNull

func (o OptNilHostOverride) IsNull() bool

IsNull returns true if value is Null.

func (OptNilHostOverride) IsSet

func (o OptNilHostOverride) IsSet() bool

IsSet returns true if OptNilHostOverride was set.

func (OptNilHostOverride) MarshalJSON

func (s OptNilHostOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilHostOverride) Or

Or returns value if set, or given parameter if does not.

func (*OptNilHostOverride) Reset

func (o *OptNilHostOverride) Reset()

Reset unsets value.

func (*OptNilHostOverride) SetFake

func (s *OptNilHostOverride) SetFake()

SetFake set fake values.

func (*OptNilHostOverride) SetTo

func (o *OptNilHostOverride) SetTo(v HostOverride)

SetTo sets value to v.

func (*OptNilHostOverride) SetToNull

func (o *OptNilHostOverride) SetToNull()

SetToNull sets value to null.

func (*OptNilHostOverride) UnmarshalJSON

func (s *OptNilHostOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilHwidSettings

type OptNilHwidSettings struct {
	Value HwidSettings
	Set   bool
	Null  bool
}

OptNilHwidSettings is optional nullable HwidSettings.

func NewOptNilHwidSettings

func NewOptNilHwidSettings(v HwidSettings) OptNilHwidSettings

NewOptNilHwidSettings returns new OptNilHwidSettings with value set to v.

func (*OptNilHwidSettings) Decode

func (o *OptNilHwidSettings) Decode(d *jx.Decoder) error

Decode decodes HwidSettings from json.

func (OptNilHwidSettings) Encode

func (o OptNilHwidSettings) Encode(e *jx.Encoder)

Encode encodes HwidSettings as json.

func (OptNilHwidSettings) Get

func (o OptNilHwidSettings) Get() (v HwidSettings, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilHwidSettings) IsNull

func (o OptNilHwidSettings) IsNull() bool

IsNull returns true if value is Null.

func (OptNilHwidSettings) IsSet

func (o OptNilHwidSettings) IsSet() bool

IsSet returns true if OptNilHwidSettings was set.

func (OptNilHwidSettings) MarshalJSON

func (s OptNilHwidSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilHwidSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptNilHwidSettings) Reset

func (o *OptNilHwidSettings) Reset()

Reset unsets value.

func (*OptNilHwidSettings) SetFake

func (s *OptNilHwidSettings) SetFake()

SetFake set fake values.

func (*OptNilHwidSettings) SetTo

func (o *OptNilHwidSettings) SetTo(v HwidSettings)

SetTo sets value to v.

func (*OptNilHwidSettings) SetToNull

func (o *OptNilHwidSettings) SetToNull()

SetToNull sets value to null.

func (*OptNilHwidSettings) UnmarshalJSON

func (s *OptNilHwidSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilInt

type OptNilInt struct {
	Value int
	Set   bool
	Null  bool
}

OptNilInt is optional nullable int.

func NewOptNilInt

func NewOptNilInt(v int) OptNilInt

NewOptNilInt returns new OptNilInt with value set to v.

func (*OptNilInt) Decode

func (o *OptNilInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptNilInt) Encode

func (o OptNilInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptNilInt) Get

func (o OptNilInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilInt) IsNull

func (o OptNilInt) IsNull() bool

IsNull returns true if value is Null.

func (OptNilInt) IsSet

func (o OptNilInt) IsSet() bool

IsSet returns true if OptNilInt was set.

func (OptNilInt) MarshalJSON

func (s OptNilInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilInt) Or

func (o OptNilInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptNilInt) Reset

func (o *OptNilInt) Reset()

Reset unsets value.

func (*OptNilInt) SetFake

func (s *OptNilInt) SetFake()

SetFake set fake values.

func (*OptNilInt) SetTo

func (o *OptNilInt) SetTo(v int)

SetTo sets value to v.

func (*OptNilInt) SetToNull

func (o *OptNilInt) SetToNull()

SetToNull sets value to null.

func (*OptNilInt) UnmarshalJSON

func (s *OptNilInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilOauth2Settings

type OptNilOauth2Settings struct {
	Value Oauth2Settings
	Set   bool
	Null  bool
}

OptNilOauth2Settings is optional nullable Oauth2Settings.

func NewOptNilOauth2Settings

func NewOptNilOauth2Settings(v Oauth2Settings) OptNilOauth2Settings

NewOptNilOauth2Settings returns new OptNilOauth2Settings with value set to v.

func (*OptNilOauth2Settings) Decode

func (o *OptNilOauth2Settings) Decode(d *jx.Decoder) error

Decode decodes Oauth2Settings from json.

func (OptNilOauth2Settings) Encode

func (o OptNilOauth2Settings) Encode(e *jx.Encoder)

Encode encodes Oauth2Settings as json.

func (OptNilOauth2Settings) Get

func (o OptNilOauth2Settings) Get() (v Oauth2Settings, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilOauth2Settings) IsNull

func (o OptNilOauth2Settings) IsNull() bool

IsNull returns true if value is Null.

func (OptNilOauth2Settings) IsSet

func (o OptNilOauth2Settings) IsSet() bool

IsSet returns true if OptNilOauth2Settings was set.

func (OptNilOauth2Settings) MarshalJSON

func (s OptNilOauth2Settings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilOauth2Settings) Or

Or returns value if set, or given parameter if does not.

func (*OptNilOauth2Settings) Reset

func (o *OptNilOauth2Settings) Reset()

Reset unsets value.

func (*OptNilOauth2Settings) SetFake

func (s *OptNilOauth2Settings) SetFake()

SetFake set fake values.

func (*OptNilOauth2Settings) SetTo

SetTo sets value to v.

func (*OptNilOauth2Settings) SetToNull

func (o *OptNilOauth2Settings) SetToNull()

SetToNull sets value to null.

func (*OptNilOauth2Settings) UnmarshalJSON

func (s *OptNilOauth2Settings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilPasskeySettings

type OptNilPasskeySettings struct {
	Value PasskeySettings
	Set   bool
	Null  bool
}

OptNilPasskeySettings is optional nullable PasskeySettings.

func NewOptNilPasskeySettings

func NewOptNilPasskeySettings(v PasskeySettings) OptNilPasskeySettings

NewOptNilPasskeySettings returns new OptNilPasskeySettings with value set to v.

func (*OptNilPasskeySettings) Decode

func (o *OptNilPasskeySettings) Decode(d *jx.Decoder) error

Decode decodes PasskeySettings from json.

func (OptNilPasskeySettings) Encode

func (o OptNilPasskeySettings) Encode(e *jx.Encoder)

Encode encodes PasskeySettings as json.

func (OptNilPasskeySettings) Get

func (o OptNilPasskeySettings) Get() (v PasskeySettings, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilPasskeySettings) IsNull

func (o OptNilPasskeySettings) IsNull() bool

IsNull returns true if value is Null.

func (OptNilPasskeySettings) IsSet

func (o OptNilPasskeySettings) IsSet() bool

IsSet returns true if OptNilPasskeySettings was set.

func (OptNilPasskeySettings) MarshalJSON

func (s OptNilPasskeySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilPasskeySettings) Or

Or returns value if set, or given parameter if does not.

func (*OptNilPasskeySettings) Reset

func (o *OptNilPasskeySettings) Reset()

Reset unsets value.

func (*OptNilPasskeySettings) SetFake

func (s *OptNilPasskeySettings) SetFake()

SetFake set fake values.

func (*OptNilPasskeySettings) SetTo

SetTo sets value to v.

func (*OptNilPasskeySettings) SetToNull

func (o *OptNilPasskeySettings) SetToNull()

SetToNull sets value to null.

func (*OptNilPasskeySettings) UnmarshalJSON

func (s *OptNilPasskeySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilPasswordSettings

type OptNilPasswordSettings struct {
	Value PasswordSettings
	Set   bool
	Null  bool
}

OptNilPasswordSettings is optional nullable PasswordSettings.

func NewOptNilPasswordSettings

func NewOptNilPasswordSettings(v PasswordSettings) OptNilPasswordSettings

NewOptNilPasswordSettings returns new OptNilPasswordSettings with value set to v.

func (*OptNilPasswordSettings) Decode

func (o *OptNilPasswordSettings) Decode(d *jx.Decoder) error

Decode decodes PasswordSettings from json.

func (OptNilPasswordSettings) Encode

func (o OptNilPasswordSettings) Encode(e *jx.Encoder)

Encode encodes PasswordSettings as json.

func (OptNilPasswordSettings) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilPasswordSettings) IsNull

func (o OptNilPasswordSettings) IsNull() bool

IsNull returns true if value is Null.

func (OptNilPasswordSettings) IsSet

func (o OptNilPasswordSettings) IsSet() bool

IsSet returns true if OptNilPasswordSettings was set.

func (OptNilPasswordSettings) MarshalJSON

func (s OptNilPasswordSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilPasswordSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptNilPasswordSettings) Reset

func (o *OptNilPasswordSettings) Reset()

Reset unsets value.

func (*OptNilPasswordSettings) SetFake

func (s *OptNilPasswordSettings) SetFake()

SetFake set fake values.

func (*OptNilPasswordSettings) SetTo

SetTo sets value to v.

func (*OptNilPasswordSettings) SetToNull

func (o *OptNilPasswordSettings) SetToNull()

SetToNull sets value to null.

func (*OptNilPasswordSettings) UnmarshalJSON

func (s *OptNilPasswordSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilString

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

OptNilString is optional nullable string.

func NewOptNilString

func NewOptNilString(v string) OptNilString

NewOptNilString returns new OptNilString with value set to v.

func (*OptNilString) Decode

func (o *OptNilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptNilString) Encode

func (o OptNilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptNilString) Get

func (o OptNilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilString) IsNull

func (o OptNilString) IsNull() bool

IsNull returns true if value is Null.

func (OptNilString) IsSet

func (o OptNilString) IsSet() bool

IsSet returns true if OptNilString was set.

func (OptNilString) MarshalJSON

func (s OptNilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilString) Or

func (o OptNilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptNilString) Reset

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetFake

func (s *OptNilString) SetFake()

SetFake set fake values.

func (*OptNilString) SetTo

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull

func (o *OptNilString) SetToNull()

SetToNull sets value to null.

func (*OptNilString) UnmarshalJSON

func (s *OptNilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSubscriptionSettings

type OptNilSubscriptionSettings struct {
	Value SubscriptionSettings
	Set   bool
	Null  bool
}

OptNilSubscriptionSettings is optional nullable SubscriptionSettings.

func NewOptNilSubscriptionSettings

func NewOptNilSubscriptionSettings(v SubscriptionSettings) OptNilSubscriptionSettings

NewOptNilSubscriptionSettings returns new OptNilSubscriptionSettings with value set to v.

func (*OptNilSubscriptionSettings) Decode

Decode decodes SubscriptionSettings from json.

func (OptNilSubscriptionSettings) Encode

func (o OptNilSubscriptionSettings) Encode(e *jx.Encoder)

Encode encodes SubscriptionSettings as json.

func (OptNilSubscriptionSettings) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSubscriptionSettings) IsNull

func (o OptNilSubscriptionSettings) IsNull() bool

IsNull returns true if value is Null.

func (OptNilSubscriptionSettings) IsSet

func (o OptNilSubscriptionSettings) IsSet() bool

IsSet returns true if OptNilSubscriptionSettings was set.

func (OptNilSubscriptionSettings) MarshalJSON

func (s OptNilSubscriptionSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilSubscriptionSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSubscriptionSettings) Reset

func (o *OptNilSubscriptionSettings) Reset()

Reset unsets value.

func (*OptNilSubscriptionSettings) SetFake

func (s *OptNilSubscriptionSettings) SetFake()

SetFake set fake values.

func (*OptNilSubscriptionSettings) SetTo

SetTo sets value to v.

func (*OptNilSubscriptionSettings) SetToNull

func (o *OptNilSubscriptionSettings) SetToNull()

SetToNull sets value to null.

func (*OptNilSubscriptionSettings) UnmarshalJSON

func (s *OptNilSubscriptionSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilTgAuthSettings

type OptNilTgAuthSettings struct {
	Value TgAuthSettings
	Set   bool
	Null  bool
}

OptNilTgAuthSettings is optional nullable TgAuthSettings.

func NewOptNilTgAuthSettings

func NewOptNilTgAuthSettings(v TgAuthSettings) OptNilTgAuthSettings

NewOptNilTgAuthSettings returns new OptNilTgAuthSettings with value set to v.

func (*OptNilTgAuthSettings) Decode

func (o *OptNilTgAuthSettings) Decode(d *jx.Decoder) error

Decode decodes TgAuthSettings from json.

func (OptNilTgAuthSettings) Encode

func (o OptNilTgAuthSettings) Encode(e *jx.Encoder)

Encode encodes TgAuthSettings as json.

func (OptNilTgAuthSettings) Get

func (o OptNilTgAuthSettings) Get() (v TgAuthSettings, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilTgAuthSettings) IsNull

func (o OptNilTgAuthSettings) IsNull() bool

IsNull returns true if value is Null.

func (OptNilTgAuthSettings) IsSet

func (o OptNilTgAuthSettings) IsSet() bool

IsSet returns true if OptNilTgAuthSettings was set.

func (OptNilTgAuthSettings) MarshalJSON

func (s OptNilTgAuthSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilTgAuthSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptNilTgAuthSettings) Reset

func (o *OptNilTgAuthSettings) Reset()

Reset unsets value.

func (*OptNilTgAuthSettings) SetFake

func (s *OptNilTgAuthSettings) SetFake()

SetFake set fake values.

func (*OptNilTgAuthSettings) SetTo

SetTo sets value to v.

func (*OptNilTgAuthSettings) SetToNull

func (o *OptNilTgAuthSettings) SetToNull()

SetToNull sets value to null.

func (*OptNilTgAuthSettings) UnmarshalJSON

func (s *OptNilTgAuthSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilURI

type OptNilURI struct {
	Value url.URL
	Set   bool
	Null  bool
}

OptNilURI is optional nullable url.URL.

func NewOptNilURI

func NewOptNilURI(v url.URL) OptNilURI

NewOptNilURI returns new OptNilURI with value set to v.

func (*OptNilURI) Decode

func (o *OptNilURI) Decode(d *jx.Decoder) error

Decode decodes url.URL from json.

func (OptNilURI) Encode

func (o OptNilURI) Encode(e *jx.Encoder)

Encode encodes url.URL as json.

func (OptNilURI) Get

func (o OptNilURI) Get() (v url.URL, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilURI) IsNull

func (o OptNilURI) IsNull() bool

IsNull returns true if value is Null.

func (OptNilURI) IsSet

func (o OptNilURI) IsSet() bool

IsSet returns true if OptNilURI was set.

func (OptNilURI) MarshalJSON

func (s OptNilURI) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilURI) Or

func (o OptNilURI) Or(d url.URL) url.URL

Or returns value if set, or given parameter if does not.

func (*OptNilURI) Reset

func (o *OptNilURI) Reset()

Reset unsets value.

func (*OptNilURI) SetFake

func (s *OptNilURI) SetFake()

SetFake set fake values.

func (*OptNilURI) SetTo

func (o *OptNilURI) SetTo(v url.URL)

SetTo sets value to v.

func (*OptNilURI) SetToNull

func (o *OptNilURI) SetToNull()

SetToNull sets value to null.

func (*OptNilURI) UnmarshalJSON

func (s *OptNilURI) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUUID

type OptNilUUID struct {
	Value uuid.UUID
	Set   bool
	Null  bool
}

OptNilUUID is optional nullable uuid.UUID.

func NewOptNilUUID

func NewOptNilUUID(v uuid.UUID) OptNilUUID

NewOptNilUUID returns new OptNilUUID with value set to v.

func (*OptNilUUID) Decode

func (o *OptNilUUID) Decode(d *jx.Decoder) error

Decode decodes uuid.UUID from json.

func (OptNilUUID) Encode

func (o OptNilUUID) Encode(e *jx.Encoder)

Encode encodes uuid.UUID as json.

func (OptNilUUID) Get

func (o OptNilUUID) Get() (v uuid.UUID, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilUUID) IsNull

func (o OptNilUUID) IsNull() bool

IsNull returns true if value is Null.

func (OptNilUUID) IsSet

func (o OptNilUUID) IsSet() bool

IsSet returns true if OptNilUUID was set.

func (OptNilUUID) MarshalJSON

func (s OptNilUUID) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilUUID) Or

func (o OptNilUUID) Or(d uuid.UUID) uuid.UUID

Or returns value if set, or given parameter if does not.

func (*OptNilUUID) Reset

func (o *OptNilUUID) Reset()

Reset unsets value.

func (*OptNilUUID) SetFake

func (s *OptNilUUID) SetFake()

SetFake set fake values.

func (*OptNilUUID) SetTo

func (o *OptNilUUID) SetTo(v uuid.UUID)

SetTo sets value to v.

func (*OptNilUUID) SetToNull

func (o *OptNilUUID) SetToNull()

SetToNull sets value to null.

func (*OptNilUUID) UnmarshalJSON

func (s *OptNilUUID) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUpdateExternalSquadRequestDtoResponseHeaders

type OptNilUpdateExternalSquadRequestDtoResponseHeaders struct {
	Value UpdateExternalSquadRequestDtoResponseHeaders
	Set   bool
	Null  bool
}

OptNilUpdateExternalSquadRequestDtoResponseHeaders is optional nullable UpdateExternalSquadRequestDtoResponseHeaders.

func NewOptNilUpdateExternalSquadRequestDtoResponseHeaders

func NewOptNilUpdateExternalSquadRequestDtoResponseHeaders(v UpdateExternalSquadRequestDtoResponseHeaders) OptNilUpdateExternalSquadRequestDtoResponseHeaders

NewOptNilUpdateExternalSquadRequestDtoResponseHeaders returns new OptNilUpdateExternalSquadRequestDtoResponseHeaders with value set to v.

func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) Decode

Decode decodes UpdateExternalSquadRequestDtoResponseHeaders from json.

func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) Encode

Encode encodes UpdateExternalSquadRequestDtoResponseHeaders as json.

func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) IsNull

IsNull returns true if value is Null.

func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) IsSet

IsSet returns true if OptNilUpdateExternalSquadRequestDtoResponseHeaders was set.

func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) Or

Or returns value if set, or given parameter if does not.

func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) Reset

Reset unsets value.

func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetFake

SetFake set fake values.

func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetTo

SetTo sets value to v.

func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetToNull

SetToNull sets value to null.

func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUpdateHostRequestDtoAlpn

type OptNilUpdateHostRequestDtoAlpn struct {
	Value UpdateHostRequestDtoAlpn
	Set   bool
	Null  bool
}

OptNilUpdateHostRequestDtoAlpn is optional nullable UpdateHostRequestDtoAlpn.

func NewOptNilUpdateHostRequestDtoAlpn

func NewOptNilUpdateHostRequestDtoAlpn(v UpdateHostRequestDtoAlpn) OptNilUpdateHostRequestDtoAlpn

NewOptNilUpdateHostRequestDtoAlpn returns new OptNilUpdateHostRequestDtoAlpn with value set to v.

func (*OptNilUpdateHostRequestDtoAlpn) Decode

Decode decodes UpdateHostRequestDtoAlpn from json.

func (OptNilUpdateHostRequestDtoAlpn) Encode

Encode encodes UpdateHostRequestDtoAlpn as json.

func (OptNilUpdateHostRequestDtoAlpn) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilUpdateHostRequestDtoAlpn) IsNull

IsNull returns true if value is Null.

func (OptNilUpdateHostRequestDtoAlpn) IsSet

IsSet returns true if OptNilUpdateHostRequestDtoAlpn was set.

func (OptNilUpdateHostRequestDtoAlpn) MarshalJSON

func (s OptNilUpdateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilUpdateHostRequestDtoAlpn) Or

Or returns value if set, or given parameter if does not.

func (*OptNilUpdateHostRequestDtoAlpn) Reset

func (o *OptNilUpdateHostRequestDtoAlpn) Reset()

Reset unsets value.

func (*OptNilUpdateHostRequestDtoAlpn) SetFake

func (s *OptNilUpdateHostRequestDtoAlpn) SetFake()

SetFake set fake values.

func (*OptNilUpdateHostRequestDtoAlpn) SetTo

SetTo sets value to v.

func (*OptNilUpdateHostRequestDtoAlpn) SetToNull

func (o *OptNilUpdateHostRequestDtoAlpn) SetToNull()

SetToNull sets value to null.

func (*OptNilUpdateHostRequestDtoAlpn) UnmarshalJSON

func (s *OptNilUpdateHostRequestDtoAlpn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUpdateHostRequestDtoFingerprint

type OptNilUpdateHostRequestDtoFingerprint struct {
	Value UpdateHostRequestDtoFingerprint
	Set   bool
	Null  bool
}

OptNilUpdateHostRequestDtoFingerprint is optional nullable UpdateHostRequestDtoFingerprint.

func NewOptNilUpdateHostRequestDtoFingerprint

func NewOptNilUpdateHostRequestDtoFingerprint(v UpdateHostRequestDtoFingerprint) OptNilUpdateHostRequestDtoFingerprint

NewOptNilUpdateHostRequestDtoFingerprint returns new OptNilUpdateHostRequestDtoFingerprint with value set to v.

func (*OptNilUpdateHostRequestDtoFingerprint) Decode

Decode decodes UpdateHostRequestDtoFingerprint from json.

func (OptNilUpdateHostRequestDtoFingerprint) Encode

Encode encodes UpdateHostRequestDtoFingerprint as json.

func (OptNilUpdateHostRequestDtoFingerprint) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilUpdateHostRequestDtoFingerprint) IsNull

IsNull returns true if value is Null.

func (OptNilUpdateHostRequestDtoFingerprint) IsSet

IsSet returns true if OptNilUpdateHostRequestDtoFingerprint was set.

func (OptNilUpdateHostRequestDtoFingerprint) MarshalJSON

func (s OptNilUpdateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilUpdateHostRequestDtoFingerprint) Or

Or returns value if set, or given parameter if does not.

func (*OptNilUpdateHostRequestDtoFingerprint) Reset

Reset unsets value.

func (*OptNilUpdateHostRequestDtoFingerprint) SetFake

SetFake set fake values.

func (*OptNilUpdateHostRequestDtoFingerprint) SetTo

SetTo sets value to v.

func (*OptNilUpdateHostRequestDtoFingerprint) SetToNull

SetToNull sets value to null.

func (*OptNilUpdateHostRequestDtoFingerprint) UnmarshalJSON

func (s *OptNilUpdateHostRequestDtoFingerprint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptResponseModification

type OptResponseModification struct {
	Value ResponseModification
	Set   bool
}

OptResponseModification is optional ResponseModification.

func NewOptResponseModification

func NewOptResponseModification(v ResponseModification) OptResponseModification

NewOptResponseModification returns new OptResponseModification with value set to v.

func (*OptResponseModification) Decode

func (o *OptResponseModification) Decode(d *jx.Decoder) error

Decode decodes ResponseModification from json.

func (OptResponseModification) Encode

func (o OptResponseModification) Encode(e *jx.Encoder)

Encode encodes ResponseModification as json.

func (OptResponseModification) Get

Get returns value and boolean that denotes whether value was set.

func (OptResponseModification) IsSet

func (o OptResponseModification) IsSet() bool

IsSet returns true if OptResponseModification was set.

func (OptResponseModification) MarshalJSON

func (s OptResponseModification) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptResponseModification) Or

Or returns value if set, or given parameter if does not.

func (*OptResponseModification) Reset

func (o *OptResponseModification) Reset()

Reset unsets value.

func (*OptResponseModification) SetFake

func (s *OptResponseModification) SetFake()

SetFake set fake values.

func (*OptResponseModification) SetTo

SetTo sets value to v.

func (*OptResponseModification) UnmarshalJSON

func (s *OptResponseModification) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptResponseRules

type OptResponseRules struct {
	Value ResponseRules
	Set   bool
}

OptResponseRules is optional ResponseRules.

func NewOptResponseRules

func NewOptResponseRules(v ResponseRules) OptResponseRules

NewOptResponseRules returns new OptResponseRules with value set to v.

func (*OptResponseRules) Decode

func (o *OptResponseRules) Decode(d *jx.Decoder) error

Decode decodes ResponseRules from json.

func (OptResponseRules) Encode

func (o OptResponseRules) Encode(e *jx.Encoder)

Encode encodes ResponseRules as json.

func (OptResponseRules) Get

func (o OptResponseRules) Get() (v ResponseRules, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptResponseRules) IsSet

func (o OptResponseRules) IsSet() bool

IsSet returns true if OptResponseRules was set.

func (OptResponseRules) MarshalJSON

func (s OptResponseRules) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptResponseRules) Or

Or returns value if set, or given parameter if does not.

func (*OptResponseRules) Reset

func (o *OptResponseRules) Reset()

Reset unsets value.

func (*OptResponseRules) SetFake

func (s *OptResponseRules) SetFake()

SetFake set fake values.

func (*OptResponseRules) SetTo

func (o *OptResponseRules) SetTo(v ResponseRules)

SetTo sets value to v.

func (*OptResponseRules) UnmarshalJSON

func (s *OptResponseRules) 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) SetFake

func (s *OptString) SetFake()

SetFake set fake values.

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 OptURI

type OptURI struct {
	Value url.URL
	Set   bool
}

OptURI is optional url.URL.

func NewOptURI

func NewOptURI(v url.URL) OptURI

NewOptURI returns new OptURI with value set to v.

func (*OptURI) Decode

func (o *OptURI) Decode(d *jx.Decoder) error

Decode decodes url.URL from json.

func (OptURI) Encode

func (o OptURI) Encode(e *jx.Encoder)

Encode encodes url.URL as json.

func (OptURI) Get

func (o OptURI) Get() (v url.URL, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptURI) IsSet

func (o OptURI) IsSet() bool

IsSet returns true if OptURI was set.

func (OptURI) MarshalJSON

func (s OptURI) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptURI) Or

func (o OptURI) Or(d url.URL) url.URL

Or returns value if set, or given parameter if does not.

func (*OptURI) Reset

func (o *OptURI) Reset()

Reset unsets value.

func (*OptURI) SetFake

func (s *OptURI) SetFake()

SetFake set fake values.

func (*OptURI) SetTo

func (o *OptURI) SetTo(v url.URL)

SetTo sets value to v.

func (*OptURI) UnmarshalJSON

func (s *OptURI) 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) SetFake

func (s *OptUUID) SetFake()

SetFake set fake values.

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 OptUpdateHostRequestDtoSecurityLayer

type OptUpdateHostRequestDtoSecurityLayer struct {
	Value UpdateHostRequestDtoSecurityLayer
	Set   bool
}

OptUpdateHostRequestDtoSecurityLayer is optional UpdateHostRequestDtoSecurityLayer.

func NewOptUpdateHostRequestDtoSecurityLayer

func NewOptUpdateHostRequestDtoSecurityLayer(v UpdateHostRequestDtoSecurityLayer) OptUpdateHostRequestDtoSecurityLayer

NewOptUpdateHostRequestDtoSecurityLayer returns new OptUpdateHostRequestDtoSecurityLayer with value set to v.

func (*OptUpdateHostRequestDtoSecurityLayer) Decode

Decode decodes UpdateHostRequestDtoSecurityLayer from json.

func (OptUpdateHostRequestDtoSecurityLayer) Encode

Encode encodes UpdateHostRequestDtoSecurityLayer as json.

func (OptUpdateHostRequestDtoSecurityLayer) Get

Get returns value and boolean that denotes whether value was set.

func (OptUpdateHostRequestDtoSecurityLayer) IsSet

IsSet returns true if OptUpdateHostRequestDtoSecurityLayer was set.

func (OptUpdateHostRequestDtoSecurityLayer) MarshalJSON

func (s OptUpdateHostRequestDtoSecurityLayer) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUpdateHostRequestDtoSecurityLayer) Or

Or returns value if set, or given parameter if does not.

func (*OptUpdateHostRequestDtoSecurityLayer) Reset

Reset unsets value.

func (*OptUpdateHostRequestDtoSecurityLayer) SetFake

SetFake set fake values.

func (*OptUpdateHostRequestDtoSecurityLayer) SetTo

SetTo sets value to v.

func (*OptUpdateHostRequestDtoSecurityLayer) UnmarshalJSON

func (s *OptUpdateHostRequestDtoSecurityLayer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders

type OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders struct {
	Value UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders
	Set   bool
}

OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders is optional UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders.

func NewOptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders

NewOptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders returns new OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders with value set to v.

func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Decode

Decode decodes UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders from json.

func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Encode

Encode encodes UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders as json.

func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Get

Get returns value and boolean that denotes whether value was set.

func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) IsSet

IsSet returns true if OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders was set.

func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Or

Or returns value if set, or given parameter if does not.

func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Reset

Reset unsets value.

func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetFake

SetFake set fake values.

func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetTo

SetTo sets value to v.

func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUpdateUserRequestDtoStatus

type OptUpdateUserRequestDtoStatus struct {
	Value UpdateUserRequestDtoStatus
	Set   bool
}

OptUpdateUserRequestDtoStatus is optional UpdateUserRequestDtoStatus.

func NewOptUpdateUserRequestDtoStatus

func NewOptUpdateUserRequestDtoStatus(v UpdateUserRequestDtoStatus) OptUpdateUserRequestDtoStatus

NewOptUpdateUserRequestDtoStatus returns new OptUpdateUserRequestDtoStatus with value set to v.

func (*OptUpdateUserRequestDtoStatus) Decode

Decode decodes UpdateUserRequestDtoStatus from json.

func (OptUpdateUserRequestDtoStatus) Encode

Encode encodes UpdateUserRequestDtoStatus as json.

func (OptUpdateUserRequestDtoStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptUpdateUserRequestDtoStatus) IsSet

IsSet returns true if OptUpdateUserRequestDtoStatus was set.

func (OptUpdateUserRequestDtoStatus) MarshalJSON

func (s OptUpdateUserRequestDtoStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUpdateUserRequestDtoStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptUpdateUserRequestDtoStatus) Reset

func (o *OptUpdateUserRequestDtoStatus) Reset()

Reset unsets value.

func (*OptUpdateUserRequestDtoStatus) SetFake

func (s *OptUpdateUserRequestDtoStatus) SetFake()

SetFake set fake values.

func (*OptUpdateUserRequestDtoStatus) SetTo

SetTo sets value to v.

func (*OptUpdateUserRequestDtoStatus) UnmarshalJSON

func (s *OptUpdateUserRequestDtoStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUpdateUserRequestDtoTrafficLimitStrategy

type OptUpdateUserRequestDtoTrafficLimitStrategy struct {
	Value UpdateUserRequestDtoTrafficLimitStrategy
	Set   bool
}

OptUpdateUserRequestDtoTrafficLimitStrategy is optional UpdateUserRequestDtoTrafficLimitStrategy.

func NewOptUpdateUserRequestDtoTrafficLimitStrategy

func NewOptUpdateUserRequestDtoTrafficLimitStrategy(v UpdateUserRequestDtoTrafficLimitStrategy) OptUpdateUserRequestDtoTrafficLimitStrategy

NewOptUpdateUserRequestDtoTrafficLimitStrategy returns new OptUpdateUserRequestDtoTrafficLimitStrategy with value set to v.

func (*OptUpdateUserRequestDtoTrafficLimitStrategy) Decode

Decode decodes UpdateUserRequestDtoTrafficLimitStrategy from json.

func (OptUpdateUserRequestDtoTrafficLimitStrategy) Encode

Encode encodes UpdateUserRequestDtoTrafficLimitStrategy as json.

func (OptUpdateUserRequestDtoTrafficLimitStrategy) Get

Get returns value and boolean that denotes whether value was set.

func (OptUpdateUserRequestDtoTrafficLimitStrategy) IsSet

IsSet returns true if OptUpdateUserRequestDtoTrafficLimitStrategy was set.

func (OptUpdateUserRequestDtoTrafficLimitStrategy) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptUpdateUserRequestDtoTrafficLimitStrategy) Or

Or returns value if set, or given parameter if does not.

func (*OptUpdateUserRequestDtoTrafficLimitStrategy) Reset

Reset unsets value.

func (*OptUpdateUserRequestDtoTrafficLimitStrategy) SetFake

SetFake set fake values.

func (*OptUpdateUserRequestDtoTrafficLimitStrategy) SetTo

SetTo sets value to v.

func (*OptUpdateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON

func (s *OptUpdateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUserStatus

type OptUserStatus struct {
	Value UserStatus
	Set   bool
}

OptUserStatus is optional UserStatus.

func NewOptUserStatus

func NewOptUserStatus(v UserStatus) OptUserStatus

NewOptUserStatus returns new OptUserStatus with value set to v.

func (*OptUserStatus) Decode

func (o *OptUserStatus) Decode(d *jx.Decoder) error

Decode decodes UserStatus from json.

func (OptUserStatus) Encode

func (o OptUserStatus) Encode(e *jx.Encoder)

Encode encodes UserStatus as json.

func (OptUserStatus) Get

func (o OptUserStatus) Get() (v UserStatus, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptUserStatus) IsSet

func (o OptUserStatus) IsSet() bool

IsSet returns true if OptUserStatus was set.

func (OptUserStatus) MarshalJSON

func (s OptUserStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUserStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptUserStatus) Reset

func (o *OptUserStatus) Reset()

Reset unsets value.

func (*OptUserStatus) SetFake

func (s *OptUserStatus) SetFake()

SetFake set fake values.

func (*OptUserStatus) SetTo

func (o *OptUserStatus) SetTo(v UserStatus)

SetTo sets value to v.

func (*OptUserStatus) UnmarshalJSON

func (s *OptUserStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUserTrafficLimitStrategy

type OptUserTrafficLimitStrategy struct {
	Value UserTrafficLimitStrategy
	Set   bool
}

OptUserTrafficLimitStrategy is optional UserTrafficLimitStrategy.

func NewOptUserTrafficLimitStrategy

func NewOptUserTrafficLimitStrategy(v UserTrafficLimitStrategy) OptUserTrafficLimitStrategy

NewOptUserTrafficLimitStrategy returns new OptUserTrafficLimitStrategy with value set to v.

func (*OptUserTrafficLimitStrategy) Decode

Decode decodes UserTrafficLimitStrategy from json.

func (OptUserTrafficLimitStrategy) Encode

func (o OptUserTrafficLimitStrategy) Encode(e *jx.Encoder)

Encode encodes UserTrafficLimitStrategy as json.

func (OptUserTrafficLimitStrategy) Get

Get returns value and boolean that denotes whether value was set.

func (OptUserTrafficLimitStrategy) IsSet

IsSet returns true if OptUserTrafficLimitStrategy was set.

func (OptUserTrafficLimitStrategy) MarshalJSON

func (s OptUserTrafficLimitStrategy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUserTrafficLimitStrategy) Or

Or returns value if set, or given parameter if does not.

func (*OptUserTrafficLimitStrategy) Reset

func (o *OptUserTrafficLimitStrategy) Reset()

Reset unsets value.

func (*OptUserTrafficLimitStrategy) SetFake

func (s *OptUserTrafficLimitStrategy) SetFake()

SetFake set fake values.

func (*OptUserTrafficLimitStrategy) SetTo

SetTo sets value to v.

func (*OptUserTrafficLimitStrategy) UnmarshalJSON

func (s *OptUserTrafficLimitStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ClientOption
}

Option is config option.

func WithAttributes

func WithAttributes(attributes ...attribute.KeyValue) Option

WithAttributes specifies default otel attributes.

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 PasskeyClient

type PasskeyClient struct {
	// contains filtered or unexported fields
}

PasskeyClient provides Passkey operations.

func NewPasskeyClient

func NewPasskeyClient(client *Client) *PasskeyClient

NewPasskeyClient creates a new PasskeyClient.

func (*PasskeyClient) DeletePasskey

DeletePasskey calls PasskeyController_deletePasskey.

func (*PasskeyClient) GetActivePasskeys

GetActivePasskeys calls PasskeyController_getActivePasskeys.

func (*PasskeyClient) PasskeyRegistrationOptions

func (sc *PasskeyClient) PasskeyRegistrationOptions(ctx context.Context) (PasskeyControllerPasskeyRegistrationOptionsRes, error)

PasskeyRegistrationOptions calls PasskeyController_passkeyRegistrationOptions.

func (*PasskeyClient) PasskeyRegistrationVerify

func (sc *PasskeyClient) PasskeyRegistrationVerify(ctx context.Context, request *PasskeyOptions) (PasskeyControllerPasskeyRegistrationVerifyRes, error)

PasskeyRegistrationVerify calls PasskeyController_passkeyRegistrationVerify.

func (*PasskeyClient) UpdatePasskey

UpdatePasskey calls PasskeyController_updatePasskey.

type PasskeyControllerDeletePasskeyRes

type PasskeyControllerDeletePasskeyRes interface {
	// contains filtered or unexported methods
}

type PasskeyControllerGetActivePasskeysRes

type PasskeyControllerGetActivePasskeysRes interface {
	// contains filtered or unexported methods
}

type PasskeyControllerPasskeyRegistrationOptionsRes

type PasskeyControllerPasskeyRegistrationOptionsRes interface {
	// contains filtered or unexported methods
}

type PasskeyControllerPasskeyRegistrationVerifyRes

type PasskeyControllerPasskeyRegistrationVerifyRes interface {
	// contains filtered or unexported methods
}

type PasskeyControllerUpdatePasskeyRes

type PasskeyControllerUpdatePasskeyRes interface {
	// contains filtered or unexported methods
}

type PasskeyOptions

type PasskeyOptions struct {
	Response jx.Raw `json:"response"`
}

Ref: #/components/schemas/PasskeyOptions

func (*PasskeyOptions) Decode

func (s *PasskeyOptions) Decode(d *jx.Decoder) error

Decode decodes PasskeyOptions from json.

func (*PasskeyOptions) Encode

func (s *PasskeyOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PasskeyOptions) GetResponse

func (s *PasskeyOptions) GetResponse() jx.Raw

GetResponse returns the value of Response.

func (*PasskeyOptions) MarshalJSON

func (s *PasskeyOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PasskeyOptions) SetFake

func (s *PasskeyOptions) SetFake()

SetFake set fake values.

func (*PasskeyOptions) SetResponse

func (s *PasskeyOptions) SetResponse(val jx.Raw)

SetResponse sets the value of Response.

func (*PasskeyOptions) UnmarshalJSON

func (s *PasskeyOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PasskeyOptionsStatusCode

type PasskeyOptionsStatusCode struct {
	StatusCode int
	Response   PasskeyOptions
}

PasskeyOptionsStatusCode wraps PasskeyOptions with StatusCode.

func (*PasskeyOptionsStatusCode) GetResponse

func (s *PasskeyOptionsStatusCode) GetResponse() PasskeyOptions

GetResponse returns the value of Response.

func (*PasskeyOptionsStatusCode) GetStatusCode

func (s *PasskeyOptionsStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*PasskeyOptionsStatusCode) SetResponse

func (s *PasskeyOptionsStatusCode) SetResponse(val PasskeyOptions)

SetResponse sets the value of Response.

func (*PasskeyOptionsStatusCode) SetStatusCode

func (s *PasskeyOptionsStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

type PasskeySettings

type PasskeySettings struct {
	Enabled bool      `json:"enabled"`
	RpId    NilString `json:"rpId"`
	Origin  NilString `json:"origin"`
}

Ref: #/components/schemas/PasskeySettings

func (*PasskeySettings) Decode

func (s *PasskeySettings) Decode(d *jx.Decoder) error

Decode decodes PasskeySettings from json.

func (*PasskeySettings) Encode

func (s *PasskeySettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PasskeySettings) GetEnabled

func (s *PasskeySettings) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*PasskeySettings) GetOrigin

func (s *PasskeySettings) GetOrigin() NilString

GetOrigin returns the value of Origin.

func (*PasskeySettings) GetRpId

func (s *PasskeySettings) GetRpId() NilString

GetRpId returns the value of RpId.

func (*PasskeySettings) MarshalJSON

func (s *PasskeySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PasskeySettings) SetEnabled

func (s *PasskeySettings) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*PasskeySettings) SetFake

func (s *PasskeySettings) SetFake()

SetFake set fake values.

func (*PasskeySettings) SetOrigin

func (s *PasskeySettings) SetOrigin(val NilString)

SetOrigin sets the value of Origin.

func (*PasskeySettings) SetRpId

func (s *PasskeySettings) SetRpId(val NilString)

SetRpId sets the value of RpId.

func (*PasskeySettings) UnmarshalJSON

func (s *PasskeySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PasskeysResponse

type PasskeysResponse struct {
	Response PasskeysResponseResponse `json:"response"`
}

Ref: #/components/schemas/PasskeysResponse

func (*PasskeysResponse) Decode

func (s *PasskeysResponse) Decode(d *jx.Decoder) error

Decode decodes PasskeysResponse from json.

func (*PasskeysResponse) Encode

func (s *PasskeysResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PasskeysResponse) GetResponse

func (s *PasskeysResponse) GetResponse() PasskeysResponseResponse

GetResponse returns the value of Response.

func (*PasskeysResponse) MarshalJSON

func (s *PasskeysResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PasskeysResponse) SetFake

func (s *PasskeysResponse) SetFake()

SetFake set fake values.

func (*PasskeysResponse) SetResponse

func (s *PasskeysResponse) SetResponse(val PasskeysResponseResponse)

SetResponse sets the value of Response.

func (*PasskeysResponse) UnmarshalJSON

func (s *PasskeysResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PasskeysResponse) Validate

func (s *PasskeysResponse) Validate() error

type PasskeysResponseResponse

type PasskeysResponseResponse struct {
	Passkeys []PasskeysResponseResponsePasskeysItem `json:"passkeys"`
}

func (*PasskeysResponseResponse) Decode

func (s *PasskeysResponseResponse) Decode(d *jx.Decoder) error

Decode decodes PasskeysResponseResponse from json.

func (*PasskeysResponseResponse) Encode

func (s *PasskeysResponseResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PasskeysResponseResponse) GetPasskeys

GetPasskeys returns the value of Passkeys.

func (*PasskeysResponseResponse) MarshalJSON

func (s *PasskeysResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PasskeysResponseResponse) SetFake

func (s *PasskeysResponseResponse) SetFake()

SetFake set fake values.

func (*PasskeysResponseResponse) SetPasskeys

SetPasskeys sets the value of Passkeys.

func (*PasskeysResponseResponse) UnmarshalJSON

func (s *PasskeysResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PasskeysResponseResponse) Validate

func (s *PasskeysResponseResponse) Validate() error

type PasskeysResponseResponsePasskeysItem

type PasskeysResponseResponsePasskeysItem struct {
	ID   string `json:"id"`
	Name string `json:"name"`
	// Created date. Format: 2025-01-17T15:38:45.065Z.
	CreatedAt time.Time `json:"createdAt"`
	// Last used date. Format: 2025-01-17T15:38:45.065Z.
	LastUsedAt time.Time `json:"lastUsedAt"`
}

func (*PasskeysResponseResponsePasskeysItem) Decode

Decode decodes PasskeysResponseResponsePasskeysItem from json.

func (*PasskeysResponseResponsePasskeysItem) Encode

Encode implements json.Marshaler.

func (*PasskeysResponseResponsePasskeysItem) GetCreatedAt

GetCreatedAt returns the value of CreatedAt.

func (*PasskeysResponseResponsePasskeysItem) GetID

GetID returns the value of ID.

func (*PasskeysResponseResponsePasskeysItem) GetLastUsedAt

func (s *PasskeysResponseResponsePasskeysItem) GetLastUsedAt() time.Time

GetLastUsedAt returns the value of LastUsedAt.

func (*PasskeysResponseResponsePasskeysItem) GetName

GetName returns the value of Name.

func (*PasskeysResponseResponsePasskeysItem) MarshalJSON

func (s *PasskeysResponseResponsePasskeysItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PasskeysResponseResponsePasskeysItem) SetCreatedAt

func (s *PasskeysResponseResponsePasskeysItem) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*PasskeysResponseResponsePasskeysItem) SetFake

SetFake set fake values.

func (*PasskeysResponseResponsePasskeysItem) SetID

SetID sets the value of ID.

func (*PasskeysResponseResponsePasskeysItem) SetLastUsedAt

func (s *PasskeysResponseResponsePasskeysItem) SetLastUsedAt(val time.Time)

SetLastUsedAt sets the value of LastUsedAt.

func (*PasskeysResponseResponsePasskeysItem) SetName

SetName sets the value of Name.

func (*PasskeysResponseResponsePasskeysItem) UnmarshalJSON

func (s *PasskeysResponseResponsePasskeysItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PasskeysResponseStatusCode

type PasskeysResponseStatusCode struct {
	StatusCode int
	Response   PasskeysResponse
}

PasskeysResponseStatusCode wraps PasskeysResponse with StatusCode.

func (*PasskeysResponseStatusCode) GetResponse

GetResponse returns the value of Response.

func (*PasskeysResponseStatusCode) GetStatusCode

func (s *PasskeysResponseStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*PasskeysResponseStatusCode) SetResponse

func (s *PasskeysResponseStatusCode) SetResponse(val PasskeysResponse)

SetResponse sets the value of Response.

func (*PasskeysResponseStatusCode) SetStatusCode

func (s *PasskeysResponseStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*PasskeysResponseStatusCode) Validate

func (s *PasskeysResponseStatusCode) Validate() error

type PasswordSettings

type PasswordSettings struct {
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/PasswordSettings

func (*PasswordSettings) Decode

func (s *PasswordSettings) Decode(d *jx.Decoder) error

Decode decodes PasswordSettings from json.

func (*PasswordSettings) Encode

func (s *PasswordSettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PasswordSettings) GetEnabled

func (s *PasswordSettings) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*PasswordSettings) MarshalJSON

func (s *PasswordSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PasswordSettings) SetEnabled

func (s *PasswordSettings) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*PasswordSettings) SetFake

func (s *PasswordSettings) SetFake()

SetFake set fake values.

func (*PasswordSettings) UnmarshalJSON

func (s *PasswordSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Pocketid

type Pocketid struct {
	Enabled       bool      `json:"enabled"`
	ClientId      NilString `json:"clientId"`
	ClientSecret  NilString `json:"clientSecret"`
	PlainDomain   NilString `json:"plainDomain"`
	AllowedEmails []string  `json:"allowedEmails"`
}

Ref: #/components/schemas/Pocketid

func (*Pocketid) Decode

func (s *Pocketid) Decode(d *jx.Decoder) error

Decode decodes Pocketid from json.

func (*Pocketid) Encode

func (s *Pocketid) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Pocketid) GetAllowedEmails

func (s *Pocketid) GetAllowedEmails() []string

GetAllowedEmails returns the value of AllowedEmails.

func (*Pocketid) GetClientId

func (s *Pocketid) GetClientId() NilString

GetClientId returns the value of ClientId.

func (*Pocketid) GetClientSecret

func (s *Pocketid) GetClientSecret() NilString

GetClientSecret returns the value of ClientSecret.

func (*Pocketid) GetEnabled

func (s *Pocketid) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*Pocketid) GetPlainDomain

func (s *Pocketid) GetPlainDomain() NilString

GetPlainDomain returns the value of PlainDomain.

func (*Pocketid) MarshalJSON

func (s *Pocketid) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Pocketid) SetAllowedEmails

func (s *Pocketid) SetAllowedEmails(val []string)

SetAllowedEmails sets the value of AllowedEmails.

func (*Pocketid) SetClientId

func (s *Pocketid) SetClientId(val NilString)

SetClientId sets the value of ClientId.

func (*Pocketid) SetClientSecret

func (s *Pocketid) SetClientSecret(val NilString)

SetClientSecret sets the value of ClientSecret.

func (*Pocketid) SetEnabled

func (s *Pocketid) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*Pocketid) SetFake

func (s *Pocketid) SetFake()

SetFake set fake values.

func (*Pocketid) SetPlainDomain

func (s *Pocketid) SetPlainDomain(val NilString)

SetPlainDomain sets the value of PlainDomain.

func (*Pocketid) UnmarshalJSON

func (s *Pocketid) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Pocketid) Validate

func (s *Pocketid) Validate() error

type ProfileModificationRequestDto

type ProfileModificationRequestDto struct {
	Uuids         []uuid.UUID                                `json:"uuids"`
	ConfigProfile ProfileModificationRequestDtoConfigProfile `json:"configProfile"`
}

Ref: #/components/schemas/ProfileModificationRequestDto

func (*ProfileModificationRequestDto) Decode

Decode decodes ProfileModificationRequestDto from json.

func (*ProfileModificationRequestDto) Encode

Encode implements json.Marshaler.

func (*ProfileModificationRequestDto) GetConfigProfile

GetConfigProfile returns the value of ConfigProfile.

func (*ProfileModificationRequestDto) GetUuids

func (s *ProfileModificationRequestDto) GetUuids() []uuid.UUID

GetUuids returns the value of Uuids.

func (*ProfileModificationRequestDto) MarshalJSON

func (s *ProfileModificationRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProfileModificationRequestDto) SetConfigProfile

SetConfigProfile sets the value of ConfigProfile.

func (*ProfileModificationRequestDto) SetFake

func (s *ProfileModificationRequestDto) SetFake()

SetFake set fake values.

func (*ProfileModificationRequestDto) SetUuids

func (s *ProfileModificationRequestDto) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*ProfileModificationRequestDto) UnmarshalJSON

func (s *ProfileModificationRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProfileModificationRequestDto) Validate

func (s *ProfileModificationRequestDto) Validate() error

type ProfileModificationRequestDtoConfigProfile

type ProfileModificationRequestDtoConfigProfile struct {
	ActiveConfigProfileUuid uuid.UUID   `json:"activeConfigProfileUuid"`
	ActiveInbounds          []uuid.UUID `json:"activeInbounds"`
}

func (*ProfileModificationRequestDtoConfigProfile) Decode

Decode decodes ProfileModificationRequestDtoConfigProfile from json.

func (*ProfileModificationRequestDtoConfigProfile) Encode

Encode implements json.Marshaler.

func (*ProfileModificationRequestDtoConfigProfile) GetActiveConfigProfileUuid

func (s *ProfileModificationRequestDtoConfigProfile) GetActiveConfigProfileUuid() uuid.UUID

GetActiveConfigProfileUuid returns the value of ActiveConfigProfileUuid.

func (*ProfileModificationRequestDtoConfigProfile) GetActiveInbounds

func (s *ProfileModificationRequestDtoConfigProfile) GetActiveInbounds() []uuid.UUID

GetActiveInbounds returns the value of ActiveInbounds.

func (*ProfileModificationRequestDtoConfigProfile) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ProfileModificationRequestDtoConfigProfile) SetActiveConfigProfileUuid

func (s *ProfileModificationRequestDtoConfigProfile) SetActiveConfigProfileUuid(val uuid.UUID)

SetActiveConfigProfileUuid sets the value of ActiveConfigProfileUuid.

func (*ProfileModificationRequestDtoConfigProfile) SetActiveInbounds

func (s *ProfileModificationRequestDtoConfigProfile) SetActiveInbounds(val []uuid.UUID)

SetActiveInbounds sets the value of ActiveInbounds.

func (*ProfileModificationRequestDtoConfigProfile) SetFake

SetFake set fake values.

func (*ProfileModificationRequestDtoConfigProfile) UnmarshalJSON

func (s *ProfileModificationRequestDtoConfigProfile) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProfileModificationRequestDtoConfigProfile) Validate

type Provider

type Provider struct {
	UUID           uuid.UUID          `json:"uuid"`
	Name           string             `json:"name"`
	FaviconLink    NilString          `json:"faviconLink"`
	LoginUrl       NilString          `json:"loginUrl"`
	CreatedAt      time.Time          `json:"createdAt"`
	UpdatedAt      time.Time          `json:"updatedAt"`
	BillingHistory BillingHistoryItem `json:"billingHistory"`
	BillingNodes   []BillingNode      `json:"billingNodes"`
}

Ref: #/components/schemas/Provider

func (*Provider) Decode

func (s *Provider) Decode(d *jx.Decoder) error

Decode decodes Provider from json.

func (*Provider) Encode

func (s *Provider) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Provider) GetBillingHistory

func (s *Provider) GetBillingHistory() BillingHistoryItem

GetBillingHistory returns the value of BillingHistory.

func (*Provider) GetBillingNodes

func (s *Provider) GetBillingNodes() []BillingNode

GetBillingNodes returns the value of BillingNodes.

func (*Provider) GetCreatedAt

func (s *Provider) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (s *Provider) GetFaviconLink() NilString

GetFaviconLink returns the value of FaviconLink.

func (*Provider) GetLoginUrl

func (s *Provider) GetLoginUrl() NilString

GetLoginUrl returns the value of LoginUrl.

func (*Provider) GetName

func (s *Provider) GetName() string

GetName returns the value of Name.

func (*Provider) GetUUID

func (s *Provider) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*Provider) GetUpdatedAt

func (s *Provider) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Provider) MarshalJSON

func (s *Provider) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Provider) SetBillingHistory

func (s *Provider) SetBillingHistory(val BillingHistoryItem)

SetBillingHistory sets the value of BillingHistory.

func (*Provider) SetBillingNodes

func (s *Provider) SetBillingNodes(val []BillingNode)

SetBillingNodes sets the value of BillingNodes.

func (*Provider) SetCreatedAt

func (s *Provider) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Provider) SetFake

func (s *Provider) SetFake()

SetFake set fake values.

func (s *Provider) SetFaviconLink(val NilString)

SetFaviconLink sets the value of FaviconLink.

func (*Provider) SetLoginUrl

func (s *Provider) SetLoginUrl(val NilString)

SetLoginUrl sets the value of LoginUrl.

func (*Provider) SetName

func (s *Provider) SetName(val string)

SetName sets the value of Name.

func (*Provider) SetUUID

func (s *Provider) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*Provider) SetUpdatedAt

func (s *Provider) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Provider) UnmarshalJSON

func (s *Provider) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Provider) Validate

func (s *Provider) Validate() error

type ProviderItem

type ProviderItem struct {
	UUID        uuid.UUID `json:"uuid"`
	Name        string    `json:"name"`
	FaviconLink NilString `json:"faviconLink"`
	LoginUrl    NilString `json:"loginUrl"`
	CreatedAt   time.Time `json:"createdAt"`
	UpdatedAt   time.Time `json:"updatedAt"`
}

Ref: #/components/schemas/ProviderItem

func (*ProviderItem) Decode

func (s *ProviderItem) Decode(d *jx.Decoder) error

Decode decodes ProviderItem from json.

func (*ProviderItem) Encode

func (s *ProviderItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProviderItem) GetCreatedAt

func (s *ProviderItem) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (s *ProviderItem) GetFaviconLink() NilString

GetFaviconLink returns the value of FaviconLink.

func (*ProviderItem) GetLoginUrl

func (s *ProviderItem) GetLoginUrl() NilString

GetLoginUrl returns the value of LoginUrl.

func (*ProviderItem) GetName

func (s *ProviderItem) GetName() string

GetName returns the value of Name.

func (*ProviderItem) GetUUID

func (s *ProviderItem) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*ProviderItem) GetUpdatedAt

func (s *ProviderItem) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*ProviderItem) MarshalJSON

func (s *ProviderItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProviderItem) SetCreatedAt

func (s *ProviderItem) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*ProviderItem) SetFake

func (s *ProviderItem) SetFake()

SetFake set fake values.

func (s *ProviderItem) SetFaviconLink(val NilString)

SetFaviconLink sets the value of FaviconLink.

func (*ProviderItem) SetLoginUrl

func (s *ProviderItem) SetLoginUrl(val NilString)

SetLoginUrl sets the value of LoginUrl.

func (*ProviderItem) SetName

func (s *ProviderItem) SetName(val string)

SetName sets the value of Name.

func (*ProviderItem) SetUUID

func (s *ProviderItem) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*ProviderItem) SetUpdatedAt

func (s *ProviderItem) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*ProviderItem) UnmarshalJSON

func (s *ProviderItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Record

type Record struct {
	ID        float64   `json:"id"`
	UserUuid  uuid.UUID `json:"userUuid"`
	RequestAt time.Time `json:"requestAt"`
	RequestIp NilString `json:"requestIp"`
	UserAgent NilString `json:"userAgent"`
}

Ref: #/components/schemas/Record

func (*Record) Decode

func (s *Record) Decode(d *jx.Decoder) error

Decode decodes Record from json.

func (*Record) Encode

func (s *Record) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Record) GetID

func (s *Record) GetID() float64

GetID returns the value of ID.

func (*Record) GetRequestAt

func (s *Record) GetRequestAt() time.Time

GetRequestAt returns the value of RequestAt.

func (*Record) GetRequestIp

func (s *Record) GetRequestIp() NilString

GetRequestIp returns the value of RequestIp.

func (*Record) GetUserAgent

func (s *Record) GetUserAgent() NilString

GetUserAgent returns the value of UserAgent.

func (*Record) GetUserUuid

func (s *Record) GetUserUuid() uuid.UUID

GetUserUuid returns the value of UserUuid.

func (*Record) MarshalJSON

func (s *Record) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Record) SetFake

func (s *Record) SetFake()

SetFake set fake values.

func (*Record) SetID

func (s *Record) SetID(val float64)

SetID sets the value of ID.

func (*Record) SetRequestAt

func (s *Record) SetRequestAt(val time.Time)

SetRequestAt sets the value of RequestAt.

func (*Record) SetRequestIp

func (s *Record) SetRequestIp(val NilString)

SetRequestIp sets the value of RequestIp.

func (*Record) SetUserAgent

func (s *Record) SetUserAgent(val NilString)

SetUserAgent sets the value of UserAgent.

func (*Record) SetUserUuid

func (s *Record) SetUserUuid(val uuid.UUID)

SetUserUuid sets the value of UserUuid.

func (*Record) UnmarshalJSON

func (s *Record) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Record) Validate

func (s *Record) Validate() error

type RegisterRequestDto

type RegisterRequestDto struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Ref: #/components/schemas/RegisterRequestDto

func (*RegisterRequestDto) Decode

func (s *RegisterRequestDto) Decode(d *jx.Decoder) error

Decode decodes RegisterRequestDto from json.

func (*RegisterRequestDto) Encode

func (s *RegisterRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RegisterRequestDto) GetPassword

func (s *RegisterRequestDto) GetPassword() string

GetPassword returns the value of Password.

func (*RegisterRequestDto) GetUsername

func (s *RegisterRequestDto) GetUsername() string

GetUsername returns the value of Username.

func (*RegisterRequestDto) MarshalJSON

func (s *RegisterRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegisterRequestDto) SetFake

func (s *RegisterRequestDto) SetFake()

SetFake set fake values.

func (*RegisterRequestDto) SetPassword

func (s *RegisterRequestDto) SetPassword(val string)

SetPassword sets the value of Password.

func (*RegisterRequestDto) SetUsername

func (s *RegisterRequestDto) SetUsername(val string)

SetUsername sets the value of Username.

func (*RegisterRequestDto) UnmarshalJSON

func (s *RegisterRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RegisterRequestDto) Validate

func (s *RegisterRequestDto) Validate() error

type RemnawaveSettingsClient

type RemnawaveSettingsClient struct {
	// contains filtered or unexported fields
}

RemnawaveSettingsClient provides RemnawaveSettings operations.

func NewRemnawaveSettingsClient

func NewRemnawaveSettingsClient(client *Client) *RemnawaveSettingsClient

NewRemnawaveSettingsClient creates a new RemnawaveSettingsClient.

func (*RemnawaveSettingsClient) GetSettings

GetSettings calls RemnawaveSettingsController_getSettings.

func (*RemnawaveSettingsClient) UpdateSettings

UpdateSettings calls RemnawaveSettingsController_updateSettings.

type RemnawaveSettingsControllerGetSettingsRes

type RemnawaveSettingsControllerGetSettingsRes interface {
	// contains filtered or unexported methods
}

type RemnawaveSettingsControllerUpdateSettingsRes

type RemnawaveSettingsControllerUpdateSettingsRes interface {
	// contains filtered or unexported methods
}

type ReorderHostRequestDto

type ReorderHostRequestDto struct {
	Hosts []ReorderRequestItem `json:"hosts"`
}

Ref: #/components/schemas/ReorderHostRequestDto

func (*ReorderHostRequestDto) Decode

func (s *ReorderHostRequestDto) Decode(d *jx.Decoder) error

Decode decodes ReorderHostRequestDto from json.

func (*ReorderHostRequestDto) Encode

func (s *ReorderHostRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReorderHostRequestDto) GetHosts

func (s *ReorderHostRequestDto) GetHosts() []ReorderRequestItem

GetHosts returns the value of Hosts.

func (*ReorderHostRequestDto) MarshalJSON

func (s *ReorderHostRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReorderHostRequestDto) SetFake

func (s *ReorderHostRequestDto) SetFake()

SetFake set fake values.

func (*ReorderHostRequestDto) SetHosts

func (s *ReorderHostRequestDto) SetHosts(val []ReorderRequestItem)

SetHosts sets the value of Hosts.

func (*ReorderHostRequestDto) UnmarshalJSON

func (s *ReorderHostRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReorderHostRequestDto) Validate

func (s *ReorderHostRequestDto) Validate() error

type ReorderHostResponseDto

type ReorderHostResponseDto struct {
	Response ReorderHostResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/ReorderHostResponseDto

func (*ReorderHostResponseDto) Decode

func (s *ReorderHostResponseDto) Decode(d *jx.Decoder) error

Decode decodes ReorderHostResponseDto from json.

func (*ReorderHostResponseDto) Encode

func (s *ReorderHostResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReorderHostResponseDto) GetResponse

GetResponse returns the value of Response.

func (*ReorderHostResponseDto) MarshalJSON

func (s *ReorderHostResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReorderHostResponseDto) SetFake

func (s *ReorderHostResponseDto) SetFake()

SetFake set fake values.

func (*ReorderHostResponseDto) SetResponse

SetResponse sets the value of Response.

func (*ReorderHostResponseDto) UnmarshalJSON

func (s *ReorderHostResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReorderHostResponseDtoResponse

type ReorderHostResponseDtoResponse struct {
	IsUpdated bool `json:"isUpdated"`
}

func (*ReorderHostResponseDtoResponse) Decode

Decode decodes ReorderHostResponseDtoResponse from json.

func (*ReorderHostResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*ReorderHostResponseDtoResponse) GetIsUpdated

func (s *ReorderHostResponseDtoResponse) GetIsUpdated() bool

GetIsUpdated returns the value of IsUpdated.

func (*ReorderHostResponseDtoResponse) MarshalJSON

func (s *ReorderHostResponseDtoResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReorderHostResponseDtoResponse) SetFake

func (s *ReorderHostResponseDtoResponse) SetFake()

SetFake set fake values.

func (*ReorderHostResponseDtoResponse) SetIsUpdated

func (s *ReorderHostResponseDtoResponse) SetIsUpdated(val bool)

SetIsUpdated sets the value of IsUpdated.

func (*ReorderHostResponseDtoResponse) UnmarshalJSON

func (s *ReorderHostResponseDtoResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReorderNodeRequestDto

type ReorderNodeRequestDto struct {
	Nodes []ReorderRequestItem `json:"nodes"`
}

Ref: #/components/schemas/ReorderNodeRequestDto

func (*ReorderNodeRequestDto) Decode

func (s *ReorderNodeRequestDto) Decode(d *jx.Decoder) error

Decode decodes ReorderNodeRequestDto from json.

func (*ReorderNodeRequestDto) Encode

func (s *ReorderNodeRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReorderNodeRequestDto) GetNodes

func (s *ReorderNodeRequestDto) GetNodes() []ReorderRequestItem

GetNodes returns the value of Nodes.

func (*ReorderNodeRequestDto) MarshalJSON

func (s *ReorderNodeRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReorderNodeRequestDto) SetFake

func (s *ReorderNodeRequestDto) SetFake()

SetFake set fake values.

func (*ReorderNodeRequestDto) SetNodes

func (s *ReorderNodeRequestDto) SetNodes(val []ReorderRequestItem)

SetNodes sets the value of Nodes.

func (*ReorderNodeRequestDto) UnmarshalJSON

func (s *ReorderNodeRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReorderNodeRequestDto) Validate

func (s *ReorderNodeRequestDto) Validate() error

type ReorderRequest

type ReorderRequest struct {
	Items []ReorderRequestItem `json:"items"`
}

Ref: #/components/schemas/ReorderRequest

func (*ReorderRequest) Decode

func (s *ReorderRequest) Decode(d *jx.Decoder) error

Decode decodes ReorderRequest from json.

func (*ReorderRequest) Encode

func (s *ReorderRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReorderRequest) GetItems

func (s *ReorderRequest) GetItems() []ReorderRequestItem

GetItems returns the value of Items.

func (*ReorderRequest) MarshalJSON

func (s *ReorderRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReorderRequest) SetFake

func (s *ReorderRequest) SetFake()

SetFake set fake values.

func (*ReorderRequest) SetItems

func (s *ReorderRequest) SetItems(val []ReorderRequestItem)

SetItems sets the value of Items.

func (*ReorderRequest) UnmarshalJSON

func (s *ReorderRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReorderRequest) Validate

func (s *ReorderRequest) Validate() error

type ReorderRequestItem

type ReorderRequestItem struct {
	ViewPosition int       `json:"viewPosition"`
	UUID         uuid.UUID `json:"uuid"`
}

Ref: #/components/schemas/ReorderRequestItem

func (*ReorderRequestItem) Decode

func (s *ReorderRequestItem) Decode(d *jx.Decoder) error

Decode decodes ReorderRequestItem from json.

func (*ReorderRequestItem) Encode

func (s *ReorderRequestItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReorderRequestItem) GetUUID

func (s *ReorderRequestItem) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*ReorderRequestItem) GetViewPosition

func (s *ReorderRequestItem) GetViewPosition() int

GetViewPosition returns the value of ViewPosition.

func (*ReorderRequestItem) MarshalJSON

func (s *ReorderRequestItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReorderRequestItem) SetFake

func (s *ReorderRequestItem) SetFake()

SetFake set fake values.

func (*ReorderRequestItem) SetUUID

func (s *ReorderRequestItem) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*ReorderRequestItem) SetViewPosition

func (s *ReorderRequestItem) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*ReorderRequestItem) UnmarshalJSON

func (s *ReorderRequestItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ResponseModification

type ResponseModification struct {
	// {"defaultSnippets":[{"label":"Examples: Add custom header","markdownDescription":"Add a custom
	// header to the response","body":[{"key":"X-Custom-Header","value":"CustomValue"}]}],
	// "markdownDescription":"Array of headers to be added when the rule is matched."}.
	Headers []Header `json:"headers"`
	// {"markdownDescription":"Override the subscription template with the given name. If not provided,
	// the default subscription template will be used. If the template name is not found, the default
	// subscription template for this type will be used. **This modification have higher priority than
	// settings from External Squads.**"}.
	SubscriptionTemplate OptString `json:"subscriptionTemplate"`
}

{"examples":[{"headers":[{"key":"X-Custom-Header","value":"CustomValue"}]}], "markdownDescription":"Response modifications to be applied when the rule is matched. Optional."}. Ref: #/components/schemas/ResponseModification

func (*ResponseModification) Decode

func (s *ResponseModification) Decode(d *jx.Decoder) error

Decode decodes ResponseModification from json.

func (*ResponseModification) Encode

func (s *ResponseModification) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ResponseModification) GetHeaders

func (s *ResponseModification) GetHeaders() []Header

GetHeaders returns the value of Headers.

func (*ResponseModification) GetSubscriptionTemplate

func (s *ResponseModification) GetSubscriptionTemplate() OptString

GetSubscriptionTemplate returns the value of SubscriptionTemplate.

func (*ResponseModification) MarshalJSON

func (s *ResponseModification) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ResponseModification) SetFake

func (s *ResponseModification) SetFake()

SetFake set fake values.

func (*ResponseModification) SetHeaders

func (s *ResponseModification) SetHeaders(val []Header)

SetHeaders sets the value of Headers.

func (*ResponseModification) SetSubscriptionTemplate

func (s *ResponseModification) SetSubscriptionTemplate(val OptString)

SetSubscriptionTemplate sets the value of SubscriptionTemplate.

func (*ResponseModification) UnmarshalJSON

func (s *ResponseModification) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResponseModification) Validate

func (s *ResponseModification) Validate() error

type ResponseRules

type ResponseRules struct {
	// {"title":"Response Rules Config Version","markdownDescription":"Version of the **response rules**
	// config. Currently supported version is **1**."}.
	Version ResponseRulesVersion `json:"version"`
	// {"title":"Response Rules","markdownDescription":"Array of **response rules**. Rules are evaluated
	// in order and the first rule that matches is applied. If no rule matches, request will be blocked
	// by default.\n\n**Example:**\n“`json\n[\n  {\n    \"name\": \"Blank rule\",\n    \"description\":
	// \"Blank rule\",\n    \"operator\": \"AND\",\n    \"enabled\": true,\n    \"conditions\": [],\n
	// \"responseType\": \"BLOCK\",\n    \"responseModifications\": {\n      \"headers\": []\n    }\n
	// }\n]\n“`","defaultSnippets":[]}.
	Rules []Rule `json:"rules"`
}

Ref: #/components/schemas/ResponseRules

func (*ResponseRules) Decode

func (s *ResponseRules) Decode(d *jx.Decoder) error

Decode decodes ResponseRules from json.

func (*ResponseRules) Encode

func (s *ResponseRules) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ResponseRules) GetRules

func (s *ResponseRules) GetRules() []Rule

GetRules returns the value of Rules.

func (*ResponseRules) GetVersion

func (s *ResponseRules) GetVersion() ResponseRulesVersion

GetVersion returns the value of Version.

func (*ResponseRules) MarshalJSON

func (s *ResponseRules) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ResponseRules) SetFake

func (s *ResponseRules) SetFake()

SetFake set fake values.

func (*ResponseRules) SetRules

func (s *ResponseRules) SetRules(val []Rule)

SetRules sets the value of Rules.

func (*ResponseRules) SetVersion

func (s *ResponseRules) SetVersion(val ResponseRulesVersion)

SetVersion sets the value of Version.

func (*ResponseRules) UnmarshalJSON

func (s *ResponseRules) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResponseRules) Validate

func (s *ResponseRules) Validate() error

type ResponseRulesVersion

type ResponseRulesVersion string

{"title":"Response Rules Config Version","markdownDescription":"Version of the **response rules** config. Currently supported version is **1**."}.

const (
	ResponseRulesVersion1 ResponseRulesVersion = "1"
)

func (ResponseRulesVersion) AllValues

AllValues returns all ResponseRulesVersion values.

func (*ResponseRulesVersion) Decode

func (s *ResponseRulesVersion) Decode(d *jx.Decoder) error

Decode decodes ResponseRulesVersion from json.

func (ResponseRulesVersion) Encode

func (s ResponseRulesVersion) Encode(e *jx.Encoder)

Encode encodes ResponseRulesVersion as json.

func (ResponseRulesVersion) MarshalJSON

func (s ResponseRulesVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ResponseRulesVersion) MarshalText

func (s ResponseRulesVersion) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ResponseRulesVersion) SetFake

func (s *ResponseRulesVersion) SetFake()

SetFake set fake values.

func (*ResponseRulesVersion) UnmarshalJSON

func (s *ResponseRulesVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResponseRulesVersion) UnmarshalText

func (s *ResponseRulesVersion) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ResponseRulesVersion) Validate

func (s ResponseRulesVersion) Validate() error

type ResponseWrapper

type ResponseWrapper struct {
	Data   interface{}            `json:"-"`
	Raw    map[string]interface{} `json:"-"`
	Fields map[string]interface{} `json:"-"`
}

ResponseWrapper is a generic wrapper for API responses that might have unknown fields

func (*ResponseWrapper) GetBool

func (r *ResponseWrapper) GetBool(key string) bool

GetBool retrieves a bool field, returning false if not found or wrong type

func (*ResponseWrapper) GetField

func (r *ResponseWrapper) GetField(key string) interface{}

GetField retrieves a field from the response, returning nil if not found

func (*ResponseWrapper) GetInt

func (r *ResponseWrapper) GetInt(key string) int

GetInt retrieves an int field, returning 0 if not found or wrong type

func (*ResponseWrapper) GetString

func (r *ResponseWrapper) GetString(key string) string

GetString retrieves a string field, returning empty string if not found or wrong type

func (*ResponseWrapper) HasField

func (r *ResponseWrapper) HasField(key string) bool

HasField checks if a field exists in the response

func (*ResponseWrapper) UnmarshalJSON

func (r *ResponseWrapper) UnmarshalJSON(data []byte) error

UnmarshalJSON implements custom unmarshaling that preserves all fields

type RestartAllNodesRequestBodyDto

type RestartAllNodesRequestBodyDto struct {
	ForceRestart OptBool `json:"forceRestart"`
}

Ref: #/components/schemas/RestartAllNodesRequestBodyDto

func (*RestartAllNodesRequestBodyDto) Decode

Decode decodes RestartAllNodesRequestBodyDto from json.

func (*RestartAllNodesRequestBodyDto) Encode

Encode implements json.Marshaler.

func (*RestartAllNodesRequestBodyDto) GetForceRestart

func (s *RestartAllNodesRequestBodyDto) GetForceRestart() OptBool

GetForceRestart returns the value of ForceRestart.

func (*RestartAllNodesRequestBodyDto) MarshalJSON

func (s *RestartAllNodesRequestBodyDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RestartAllNodesRequestBodyDto) SetFake

func (s *RestartAllNodesRequestBodyDto) SetFake()

SetFake set fake values.

func (*RestartAllNodesRequestBodyDto) SetForceRestart

func (s *RestartAllNodesRequestBodyDto) SetForceRestart(val OptBool)

SetForceRestart sets the value of ForceRestart.

func (*RestartAllNodesRequestBodyDto) UnmarshalJSON

func (s *RestartAllNodesRequestBodyDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RevokeUserSubscriptionBodyDto

type RevokeUserSubscriptionBodyDto struct {
	// Optional. If not provided, a new short UUID will be generated by Remnawave. Please note that it is
	// strongly recommended to allow Remnawave to generate the short UUID.
	ShortUuid OptString `json:"shortUuid"`
}

Ref: #/components/schemas/RevokeUserSubscriptionBodyDto

func (*RevokeUserSubscriptionBodyDto) Decode

Decode decodes RevokeUserSubscriptionBodyDto from json.

func (*RevokeUserSubscriptionBodyDto) Encode

Encode implements json.Marshaler.

func (*RevokeUserSubscriptionBodyDto) GetShortUuid

func (s *RevokeUserSubscriptionBodyDto) GetShortUuid() OptString

GetShortUuid returns the value of ShortUuid.

func (*RevokeUserSubscriptionBodyDto) MarshalJSON

func (s *RevokeUserSubscriptionBodyDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RevokeUserSubscriptionBodyDto) SetFake

func (s *RevokeUserSubscriptionBodyDto) SetFake()

SetFake set fake values.

func (*RevokeUserSubscriptionBodyDto) SetShortUuid

func (s *RevokeUserSubscriptionBodyDto) SetShortUuid(val OptString)

SetShortUuid sets the value of ShortUuid.

func (*RevokeUserSubscriptionBodyDto) UnmarshalJSON

func (s *RevokeUserSubscriptionBodyDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RevokeUserSubscriptionBodyDto) Validate

func (s *RevokeUserSubscriptionBodyDto) Validate() error

type Rule

type Rule struct {
	// {"markdownDescription":"Name of the response rule."}.
	Name string `json:"name"`
	// {"markdownDescription":"Description of the response rule. Optional."}.
	Description OptString `json:"description"`
	// {"markdownDescription":"Control whether the response rule is enabled or disabled. \n\n - `true`
	// the rule will be applied. \n\n - `false` the rule will be always ignored."}.
	Enabled bool `json:"enabled"`
	// {"markdownDescription":"Operator to use for combining conditions in the rule."}.
	Operator RuleOperator `json:"operator"`
	// {"markdownDescription":"Array of conditions to check against the request headers. Conditions are
	// applied with **operator**. If conditions are empty, the rule will be matched."}.
	Conditions []Condition `json:"conditions"`
	// {"errorMessage":"Invalid response type. Please select a valid response type.",
	// "markdownDescription":"Type of the response. Determines the type of **response** to be returned
	// when the rule is matched.","markdownEnumDescriptions":["Return **subscription** in XRAY-JSON
	// format. (Using `Xray Json` template)","Return **subscription** in BASE64 encoded string.
	// Compatible with most client application with Xray core.","Return **subscription** in Mihomo format.
	//  (Using `Mihomo` template)","Return **subscription** in Stash format. (Using `Stash` template)",
	// "Return **subscription** in Clash format. (Using `Clash` template) Useful for client application
	// that use Legacy Clash core.","Return **subscription** in Singbox format. (Using `Singbox`
	// template) Format which is used by Singbox client application.","Return **subscription** as browser
	// format. The same as on `/info` route.","**Drop** request and return `403` status code.","**Drop**
	// request and return `404` status code.","**Drop** request and return `451` status code.","**Drop**
	// the socket connection."]}.
	ResponseType          RuleResponseType        `json:"responseType"`
	ResponseModifications OptResponseModification `json:"responseModifications"`
}

{"defaultSnippets":[{"label":"Examples: Blank rule","markdownDescription":"Simple blank rule with no conditions or modifications.\n```json\n{\n \"name\": \"Blank rule\",\n \"description\": \"Blank rule\",\n \"operator\": \"AND\",\n \"enabled\": true,\n \"conditions\": [],\n \"responseType\": \"BLOCK\",\n \"responseModifications\": {\n \"headers\": []\n }\n}\n```", "body":{"name":"Blank rule","description":"Blank rule","operator":"AND","enabled":true, "conditions":[],"responseType":"BLOCK","responseModifications":{"headers":[]}}}, {"label":"Examples: Block Legacy Clients","markdownDescription":"Block requests from legacy clients\n```json\n{\n \"name\": \"Block Legacy Clients\",\n \"description\": \"Block requests from legacy clients\",\n \"enabled\": true,\n \"operator\": \"OR\",\n \"conditions\": [\n {\n \"headerName\": \"user-agent\",\n \"operator\": \"CONTAINS\",\n \"value\": \"Hiddify\",\n \"caseSensitive\": true\n },\n {\n \"headerName\": \"user-agent\", \n \"operator\": \"CONTAINS\",\n \"value\": \"FoxRay\",\n \"caseSensitive\": true\n

}\n  ],\n  \"responseType\": \"BLOCK\"\n}\n```","body":{"name":"Block Legacy Clients",

"description":"Block requests from legacy clients","enabled":true,"operator":"OR", "conditions":[{"headerName":"user-agent","operator":"CONTAINS","value":"Hiddify", "caseSensitive":true},{"headerName":"user-agent","operator":"CONTAINS","value":"FoxRay", "caseSensitive":true}],"responseType":"BLOCK"}}],"title":"Response Rule", "markdownDescription":"Response rule configuration.\n\n**Fields:**\n- **name**: Name of the response rule.\n- **description**: Description of the response rule. Optional.\n- **enabled**: Control whether the response rule is enabled or disabled. \n\n - `true` the rule will be applied. \n\n - `false` the rule will be always ignored.\n- **operator**: Operator to use for combining conditions in the rule.\n- **conditions**: Array of conditions to check against the request headers. Conditions are applied with **operator**. If conditions are empty, the rule will be matched.\n- **responseType**: Type of the response. Determines the type of **response** to be returned when the rule is matched.\n- **responseModifications**: Response modifications to be applied when the rule is matched. Optional.\n\n**Example:**\n```json\n{\n \"name\": \"Block Legacy Clients\",\n \"description\": \"Block requests from legacy clients\",\n \"enabled\": true, \n \"operator\": \"OR\",\n \"conditions\": [\n {\n \"headerName\": \"user-agent\",\n

\"operator\": \"CONTAINS\",\n      \"value\": \"Hiddify\",\n      \"caseSensitive\": true\n    },

\n {\n \"headerName\": \"user-agent\",\n \"operator\": \"CONTAINS\",\n \"value\": \"FoxRay\",\n \"caseSensitive\": true\n }\n ],\n \"responseType\": \"BLOCK\"\n}\n```"}. Ref: #/components/schemas/Rule

func (*Rule) Decode

func (s *Rule) Decode(d *jx.Decoder) error

Decode decodes Rule from json.

func (*Rule) Encode

func (s *Rule) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Rule) GetConditions

func (s *Rule) GetConditions() []Condition

GetConditions returns the value of Conditions.

func (*Rule) GetDescription

func (s *Rule) GetDescription() OptString

GetDescription returns the value of Description.

func (*Rule) GetEnabled

func (s *Rule) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*Rule) GetName

func (s *Rule) GetName() string

GetName returns the value of Name.

func (*Rule) GetOperator

func (s *Rule) GetOperator() RuleOperator

GetOperator returns the value of Operator.

func (*Rule) GetResponseModifications

func (s *Rule) GetResponseModifications() OptResponseModification

GetResponseModifications returns the value of ResponseModifications.

func (*Rule) GetResponseType

func (s *Rule) GetResponseType() RuleResponseType

GetResponseType returns the value of ResponseType.

func (*Rule) MarshalJSON

func (s *Rule) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Rule) SetConditions

func (s *Rule) SetConditions(val []Condition)

SetConditions sets the value of Conditions.

func (*Rule) SetDescription

func (s *Rule) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Rule) SetEnabled

func (s *Rule) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*Rule) SetFake

func (s *Rule) SetFake()

SetFake set fake values.

func (*Rule) SetName

func (s *Rule) SetName(val string)

SetName sets the value of Name.

func (*Rule) SetOperator

func (s *Rule) SetOperator(val RuleOperator)

SetOperator sets the value of Operator.

func (*Rule) SetResponseModifications

func (s *Rule) SetResponseModifications(val OptResponseModification)

SetResponseModifications sets the value of ResponseModifications.

func (*Rule) SetResponseType

func (s *Rule) SetResponseType(val RuleResponseType)

SetResponseType sets the value of ResponseType.

func (*Rule) UnmarshalJSON

func (s *Rule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Rule) Validate

func (s *Rule) Validate() error

type RuleOperator

type RuleOperator string

{"markdownDescription":"Operator to use for combining conditions in the rule."}.

const (
	RuleOperatorAND RuleOperator = "AND"
	RuleOperatorOR  RuleOperator = "OR"
)

func (RuleOperator) AllValues

func (RuleOperator) AllValues() []RuleOperator

AllValues returns all RuleOperator values.

func (*RuleOperator) Decode

func (s *RuleOperator) Decode(d *jx.Decoder) error

Decode decodes RuleOperator from json.

func (RuleOperator) Encode

func (s RuleOperator) Encode(e *jx.Encoder)

Encode encodes RuleOperator as json.

func (RuleOperator) MarshalJSON

func (s RuleOperator) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RuleOperator) MarshalText

func (s RuleOperator) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RuleOperator) SetFake

func (s *RuleOperator) SetFake()

SetFake set fake values.

func (*RuleOperator) UnmarshalJSON

func (s *RuleOperator) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleOperator) UnmarshalText

func (s *RuleOperator) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RuleOperator) Validate

func (s RuleOperator) Validate() error

type RuleResponseType

type RuleResponseType string

{"errorMessage":"Invalid response type. Please select a valid response type.", "markdownDescription":"Type of the response. Determines the type of **response** to be returned when the rule is matched.","markdownEnumDescriptions":["Return **subscription** in XRAY-JSON format. (Using `Xray Json` template)","Return **subscription** in BASE64 encoded string. Compatible with most client application with Xray core.","Return **subscription** in Mihomo format.

(Using `Mihomo` template)","Return **subscription** in Stash format. (Using `Stash` template)",

"Return **subscription** in Clash format. (Using `Clash` template) Useful for client application that use Legacy Clash core.","Return **subscription** in Singbox format. (Using `Singbox` template) Format which is used by Singbox client application.","Return **subscription** as browser format. The same as on `/info` route.","**Drop** request and return `403` status code.","**Drop** request and return `404` status code.","**Drop** request and return `451` status code.","**Drop** the socket connection."]}.

const (
	RuleResponseTypeXRAYJSON      RuleResponseType = "XRAY_JSON"
	RuleResponseTypeXRAYBASE64    RuleResponseType = "XRAY_BASE64"
	RuleResponseTypeMIHOMO        RuleResponseType = "MIHOMO"
	RuleResponseTypeSTASH         RuleResponseType = "STASH"
	RuleResponseTypeCLASH         RuleResponseType = "CLASH"
	RuleResponseTypeSINGBOX       RuleResponseType = "SINGBOX"
	RuleResponseTypeBROWSER       RuleResponseType = "BROWSER"
	RuleResponseTypeBLOCK         RuleResponseType = "BLOCK"
	RuleResponseTypeSTATUSCODE404 RuleResponseType = "STATUS_CODE_404"
	RuleResponseTypeSTATUSCODE451 RuleResponseType = "STATUS_CODE_451"
	RuleResponseTypeSOCKETDROP    RuleResponseType = "SOCKET_DROP"
)

func (RuleResponseType) AllValues

func (RuleResponseType) AllValues() []RuleResponseType

AllValues returns all RuleResponseType values.

func (*RuleResponseType) Decode

func (s *RuleResponseType) Decode(d *jx.Decoder) error

Decode decodes RuleResponseType from json.

func (RuleResponseType) Encode

func (s RuleResponseType) Encode(e *jx.Encoder)

Encode encodes RuleResponseType as json.

func (RuleResponseType) MarshalJSON

func (s RuleResponseType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RuleResponseType) MarshalText

func (s RuleResponseType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RuleResponseType) SetFake

func (s *RuleResponseType) SetFake()

SetFake set fake values.

func (*RuleResponseType) UnmarshalJSON

func (s *RuleResponseType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleResponseType) UnmarshalText

func (s *RuleResponseType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RuleResponseType) Validate

func (s RuleResponseType) Validate() error

type SecuritySource

type SecuritySource interface {
	// Authorization provides Authorization security value.
	// JWT obtained login.
	Authorization(ctx context.Context, operationName OperationName) (Authorization, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type SetInboundToManyHostsRequestDto

type SetInboundToManyHostsRequestDto struct {
	Uuids                    []uuid.UUID `json:"uuids"`
	ConfigProfileUuid        uuid.UUID   `json:"configProfileUuid"`
	ConfigProfileInboundUuid uuid.UUID   `json:"configProfileInboundUuid"`
}

Ref: #/components/schemas/SetInboundToManyHostsRequestDto

func (*SetInboundToManyHostsRequestDto) Decode

Decode decodes SetInboundToManyHostsRequestDto from json.

func (*SetInboundToManyHostsRequestDto) Encode

Encode implements json.Marshaler.

func (*SetInboundToManyHostsRequestDto) GetConfigProfileInboundUuid

func (s *SetInboundToManyHostsRequestDto) GetConfigProfileInboundUuid() uuid.UUID

GetConfigProfileInboundUuid returns the value of ConfigProfileInboundUuid.

func (*SetInboundToManyHostsRequestDto) GetConfigProfileUuid

func (s *SetInboundToManyHostsRequestDto) GetConfigProfileUuid() uuid.UUID

GetConfigProfileUuid returns the value of ConfigProfileUuid.

func (*SetInboundToManyHostsRequestDto) GetUuids

func (s *SetInboundToManyHostsRequestDto) GetUuids() []uuid.UUID

GetUuids returns the value of Uuids.

func (*SetInboundToManyHostsRequestDto) MarshalJSON

func (s *SetInboundToManyHostsRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetInboundToManyHostsRequestDto) SetConfigProfileInboundUuid

func (s *SetInboundToManyHostsRequestDto) SetConfigProfileInboundUuid(val uuid.UUID)

SetConfigProfileInboundUuid sets the value of ConfigProfileInboundUuid.

func (*SetInboundToManyHostsRequestDto) SetConfigProfileUuid

func (s *SetInboundToManyHostsRequestDto) SetConfigProfileUuid(val uuid.UUID)

SetConfigProfileUuid sets the value of ConfigProfileUuid.

func (*SetInboundToManyHostsRequestDto) SetFake

func (s *SetInboundToManyHostsRequestDto) SetFake()

SetFake set fake values.

func (*SetInboundToManyHostsRequestDto) SetUuids

func (s *SetInboundToManyHostsRequestDto) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*SetInboundToManyHostsRequestDto) UnmarshalJSON

func (s *SetInboundToManyHostsRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SetInboundToManyHostsRequestDto) Validate

func (s *SetInboundToManyHostsRequestDto) Validate() error

type SetPortToManyHostsRequestDto

type SetPortToManyHostsRequestDto struct {
	Uuids []uuid.UUID `json:"uuids"`
	Port  int         `json:"port"`
}

Ref: #/components/schemas/SetPortToManyHostsRequestDto

func (*SetPortToManyHostsRequestDto) Decode

Decode decodes SetPortToManyHostsRequestDto from json.

func (*SetPortToManyHostsRequestDto) Encode

func (s *SetPortToManyHostsRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SetPortToManyHostsRequestDto) GetPort

func (s *SetPortToManyHostsRequestDto) GetPort() int

GetPort returns the value of Port.

func (*SetPortToManyHostsRequestDto) GetUuids

func (s *SetPortToManyHostsRequestDto) GetUuids() []uuid.UUID

GetUuids returns the value of Uuids.

func (*SetPortToManyHostsRequestDto) MarshalJSON

func (s *SetPortToManyHostsRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetPortToManyHostsRequestDto) SetFake

func (s *SetPortToManyHostsRequestDto) SetFake()

SetFake set fake values.

func (*SetPortToManyHostsRequestDto) SetPort

func (s *SetPortToManyHostsRequestDto) SetPort(val int)

SetPort sets the value of Port.

func (*SetPortToManyHostsRequestDto) SetUuids

func (s *SetPortToManyHostsRequestDto) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*SetPortToManyHostsRequestDto) UnmarshalJSON

func (s *SetPortToManyHostsRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SetPortToManyHostsRequestDto) Validate

func (s *SetPortToManyHostsRequestDto) Validate() error

type SettingsResponse

type SettingsResponse struct {
	Response SettingsResponseResponse `json:"response"`
}

Ref: #/components/schemas/SettingsResponse

func (*SettingsResponse) Decode

func (s *SettingsResponse) Decode(d *jx.Decoder) error

Decode decodes SettingsResponse from json.

func (*SettingsResponse) Encode

func (s *SettingsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SettingsResponse) GetResponse

func (s *SettingsResponse) GetResponse() SettingsResponseResponse

GetResponse returns the value of Response.

func (*SettingsResponse) MarshalJSON

func (s *SettingsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SettingsResponse) SetFake

func (s *SettingsResponse) SetFake()

SetFake set fake values.

func (*SettingsResponse) SetResponse

func (s *SettingsResponse) SetResponse(val SettingsResponseResponse)

SetResponse sets the value of Response.

func (*SettingsResponse) UnmarshalJSON

func (s *SettingsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SettingsResponse) Validate

func (s *SettingsResponse) Validate() error

type SettingsResponseResponse

type SettingsResponseResponse struct {
	PasskeySettings  NilPasskeySettings  `json:"passkeySettings"`
	Oauth2Settings   NilOauth2Settings   `json:"oauth2Settings"`
	TgAuthSettings   NilTgAuthSettings   `json:"tgAuthSettings"`
	PasswordSettings NilPasswordSettings `json:"passwordSettings"`
	BrandingSettings NilBrandingSettings `json:"brandingSettings"`
}

func (*SettingsResponseResponse) Decode

func (s *SettingsResponseResponse) Decode(d *jx.Decoder) error

Decode decodes SettingsResponseResponse from json.

func (*SettingsResponseResponse) Encode

func (s *SettingsResponseResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SettingsResponseResponse) GetBrandingSettings

func (s *SettingsResponseResponse) GetBrandingSettings() NilBrandingSettings

GetBrandingSettings returns the value of BrandingSettings.

func (*SettingsResponseResponse) GetOauth2Settings

func (s *SettingsResponseResponse) GetOauth2Settings() NilOauth2Settings

GetOauth2Settings returns the value of Oauth2Settings.

func (*SettingsResponseResponse) GetPasskeySettings

func (s *SettingsResponseResponse) GetPasskeySettings() NilPasskeySettings

GetPasskeySettings returns the value of PasskeySettings.

func (*SettingsResponseResponse) GetPasswordSettings

func (s *SettingsResponseResponse) GetPasswordSettings() NilPasswordSettings

GetPasswordSettings returns the value of PasswordSettings.

func (*SettingsResponseResponse) GetTgAuthSettings

func (s *SettingsResponseResponse) GetTgAuthSettings() NilTgAuthSettings

GetTgAuthSettings returns the value of TgAuthSettings.

func (*SettingsResponseResponse) MarshalJSON

func (s *SettingsResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SettingsResponseResponse) SetBrandingSettings

func (s *SettingsResponseResponse) SetBrandingSettings(val NilBrandingSettings)

SetBrandingSettings sets the value of BrandingSettings.

func (*SettingsResponseResponse) SetFake

func (s *SettingsResponseResponse) SetFake()

SetFake set fake values.

func (*SettingsResponseResponse) SetOauth2Settings

func (s *SettingsResponseResponse) SetOauth2Settings(val NilOauth2Settings)

SetOauth2Settings sets the value of Oauth2Settings.

func (*SettingsResponseResponse) SetPasskeySettings

func (s *SettingsResponseResponse) SetPasskeySettings(val NilPasskeySettings)

SetPasskeySettings sets the value of PasskeySettings.

func (*SettingsResponseResponse) SetPasswordSettings

func (s *SettingsResponseResponse) SetPasswordSettings(val NilPasswordSettings)

SetPasswordSettings sets the value of PasswordSettings.

func (*SettingsResponseResponse) SetTgAuthSettings

func (s *SettingsResponseResponse) SetTgAuthSettings(val NilTgAuthSettings)

SetTgAuthSettings sets the value of TgAuthSettings.

func (*SettingsResponseResponse) UnmarshalJSON

func (s *SettingsResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SettingsResponseResponse) Validate

func (s *SettingsResponseResponse) Validate() error

type SnippetRequest

type SnippetRequest struct {
	Name    string                      `json:"name"`
	Snippet []SnippetRequestSnippetItem `json:"snippet"`
}

Ref: #/components/schemas/SnippetRequest

func (*SnippetRequest) Decode

func (s *SnippetRequest) Decode(d *jx.Decoder) error

Decode decodes SnippetRequest from json.

func (*SnippetRequest) Encode

func (s *SnippetRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SnippetRequest) GetName

func (s *SnippetRequest) GetName() string

GetName returns the value of Name.

func (*SnippetRequest) GetSnippet

func (s *SnippetRequest) GetSnippet() []SnippetRequestSnippetItem

GetSnippet returns the value of Snippet.

func (*SnippetRequest) MarshalJSON

func (s *SnippetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SnippetRequest) SetFake

func (s *SnippetRequest) SetFake()

SetFake set fake values.

func (*SnippetRequest) SetName

func (s *SnippetRequest) SetName(val string)

SetName sets the value of Name.

func (*SnippetRequest) SetSnippet

func (s *SnippetRequest) SetSnippet(val []SnippetRequestSnippetItem)

SetSnippet sets the value of Snippet.

func (*SnippetRequest) UnmarshalJSON

func (s *SnippetRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SnippetRequest) Validate

func (s *SnippetRequest) Validate() error

type SnippetRequestSnippetItem

type SnippetRequestSnippetItem struct{}

func (*SnippetRequestSnippetItem) Decode

func (s *SnippetRequestSnippetItem) Decode(d *jx.Decoder) error

Decode decodes SnippetRequestSnippetItem from json.

func (*SnippetRequestSnippetItem) Encode

func (s *SnippetRequestSnippetItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SnippetRequestSnippetItem) MarshalJSON

func (s *SnippetRequestSnippetItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SnippetRequestSnippetItem) SetFake

func (s *SnippetRequestSnippetItem) SetFake()

SetFake set fake values.

func (*SnippetRequestSnippetItem) UnmarshalJSON

func (s *SnippetRequestSnippetItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SnippetsClient

type SnippetsClient struct {
	// contains filtered or unexported fields
}

SnippetsClient provides Snippets operations.

func NewSnippetsClient

func NewSnippetsClient(client *Client) *SnippetsClient

NewSnippetsClient creates a new SnippetsClient.

func (*SnippetsClient) CreateSnippet

CreateSnippet calls SnippetsController_createSnippet.

func (*SnippetsClient) DeleteSnippetByName

DeleteSnippetByName calls SnippetsController_deleteSnippetByName.

func (*SnippetsClient) GetSnippets

GetSnippets calls SnippetsController_getSnippets.

func (*SnippetsClient) UpdateSnippet

UpdateSnippet calls SnippetsController_updateSnippet.

type SnippetsControllerCreateSnippetConflict

type SnippetsControllerCreateSnippetConflict struct{}

SnippetsControllerCreateSnippetConflict is response for SnippetsControllerCreateSnippet operation.

type SnippetsControllerCreateSnippetRes

type SnippetsControllerCreateSnippetRes interface {
	// contains filtered or unexported methods
}

type SnippetsControllerDeleteSnippetByNameRes

type SnippetsControllerDeleteSnippetByNameRes interface {
	// contains filtered or unexported methods
}

type SnippetsControllerGetSnippetsRes

type SnippetsControllerGetSnippetsRes interface {
	// contains filtered or unexported methods
}

type SnippetsControllerUpdateSnippetConflict

type SnippetsControllerUpdateSnippetConflict struct{}

SnippetsControllerUpdateSnippetConflict is response for SnippetsControllerUpdateSnippet operation.

type SnippetsControllerUpdateSnippetRes

type SnippetsControllerUpdateSnippetRes interface {
	// contains filtered or unexported methods
}

type SnippetsResponse

type SnippetsResponse struct {
	Response SnippetsResponseResponse `json:"response"`
}

Ref: #/components/schemas/SnippetsResponse

func (*SnippetsResponse) Decode

func (s *SnippetsResponse) Decode(d *jx.Decoder) error

Decode decodes SnippetsResponse from json.

func (*SnippetsResponse) Encode

func (s *SnippetsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SnippetsResponse) GetResponse

func (s *SnippetsResponse) GetResponse() SnippetsResponseResponse

GetResponse returns the value of Response.

func (*SnippetsResponse) MarshalJSON

func (s *SnippetsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SnippetsResponse) SetFake

func (s *SnippetsResponse) SetFake()

SetFake set fake values.

func (*SnippetsResponse) SetResponse

func (s *SnippetsResponse) SetResponse(val SnippetsResponseResponse)

SetResponse sets the value of Response.

func (*SnippetsResponse) UnmarshalJSON

func (s *SnippetsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SnippetsResponse) Validate

func (s *SnippetsResponse) Validate() error

type SnippetsResponseResponse

type SnippetsResponseResponse struct {
	Total    float64                                `json:"total"`
	Snippets []SnippetsResponseResponseSnippetsItem `json:"snippets"`
}

func (*SnippetsResponseResponse) Decode

func (s *SnippetsResponseResponse) Decode(d *jx.Decoder) error

Decode decodes SnippetsResponseResponse from json.

func (*SnippetsResponseResponse) Encode

func (s *SnippetsResponseResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SnippetsResponseResponse) GetSnippets

GetSnippets returns the value of Snippets.

func (*SnippetsResponseResponse) GetTotal

func (s *SnippetsResponseResponse) GetTotal() float64

GetTotal returns the value of Total.

func (*SnippetsResponseResponse) MarshalJSON

func (s *SnippetsResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SnippetsResponseResponse) SetFake

func (s *SnippetsResponseResponse) SetFake()

SetFake set fake values.

func (*SnippetsResponseResponse) SetSnippets

SetSnippets sets the value of Snippets.

func (*SnippetsResponseResponse) SetTotal

func (s *SnippetsResponseResponse) SetTotal(val float64)

SetTotal sets the value of Total.

func (*SnippetsResponseResponse) UnmarshalJSON

func (s *SnippetsResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SnippetsResponseResponse) Validate

func (s *SnippetsResponseResponse) Validate() error

type SnippetsResponseResponseSnippetsItem

type SnippetsResponseResponseSnippetsItem struct {
	Name    string `json:"name"`
	Snippet jx.Raw `json:"snippet"`
}

func (*SnippetsResponseResponseSnippetsItem) Decode

Decode decodes SnippetsResponseResponseSnippetsItem from json.

func (*SnippetsResponseResponseSnippetsItem) Encode

Encode implements json.Marshaler.

func (*SnippetsResponseResponseSnippetsItem) GetName

GetName returns the value of Name.

func (*SnippetsResponseResponseSnippetsItem) GetSnippet

GetSnippet returns the value of Snippet.

func (*SnippetsResponseResponseSnippetsItem) MarshalJSON

func (s *SnippetsResponseResponseSnippetsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SnippetsResponseResponseSnippetsItem) SetFake

SetFake set fake values.

func (*SnippetsResponseResponseSnippetsItem) SetName

SetName sets the value of Name.

func (*SnippetsResponseResponseSnippetsItem) SetSnippet

func (s *SnippetsResponseResponseSnippetsItem) SetSnippet(val jx.Raw)

SetSnippet sets the value of Snippet.

func (*SnippetsResponseResponseSnippetsItem) UnmarshalJSON

func (s *SnippetsResponseResponseSnippetsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StaticToken

type StaticToken struct{ Token string }

func (StaticToken) Authorization

func (s StaticToken) Authorization(_ context.Context, _ OperationName) (Authorization, error)

type StatsUserUsageResponseResponse

type StatsUserUsageResponseResponse struct {
	Response StatsUserUsageResponseResponseResponse `json:"response"`
}

Ref: #/components/schemas/StatsUserUsageResponseResponse

func (*StatsUserUsageResponseResponse) Decode

Decode decodes StatsUserUsageResponseResponse from json.

func (*StatsUserUsageResponseResponse) Encode

Encode implements json.Marshaler.

func (*StatsUserUsageResponseResponse) GetResponse

GetResponse returns the value of Response.

func (*StatsUserUsageResponseResponse) MarshalJSON

func (s *StatsUserUsageResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StatsUserUsageResponseResponse) SetFake

func (s *StatsUserUsageResponseResponse) SetFake()

SetFake set fake values.

func (*StatsUserUsageResponseResponse) SetResponse

SetResponse sets the value of Response.

func (*StatsUserUsageResponseResponse) UnmarshalJSON

func (s *StatsUserUsageResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatsUserUsageResponseResponse) Validate

func (s *StatsUserUsageResponseResponse) Validate() error

type StatsUserUsageResponseResponseResponse

type StatsUserUsageResponseResponseResponse struct {
	Categories    []string                                             `json:"categories"`
	SparklineData []float64                                            `json:"sparklineData"`
	TopNodes      []StatsUserUsageResponseResponseResponseTopNodesItem `json:"topNodes"`
	Series        []StatsUserUsageResponseResponseResponseSeriesItem   `json:"series"`
}

func (*StatsUserUsageResponseResponseResponse) Decode

Decode decodes StatsUserUsageResponseResponseResponse from json.

func (*StatsUserUsageResponseResponseResponse) Encode

Encode implements json.Marshaler.

func (*StatsUserUsageResponseResponseResponse) GetCategories

func (s *StatsUserUsageResponseResponseResponse) GetCategories() []string

GetCategories returns the value of Categories.

func (*StatsUserUsageResponseResponseResponse) GetSeries

GetSeries returns the value of Series.

func (*StatsUserUsageResponseResponseResponse) GetSparklineData

func (s *StatsUserUsageResponseResponseResponse) GetSparklineData() []float64

GetSparklineData returns the value of SparklineData.

func (*StatsUserUsageResponseResponseResponse) GetTopNodes

GetTopNodes returns the value of TopNodes.

func (*StatsUserUsageResponseResponseResponse) MarshalJSON

func (s *StatsUserUsageResponseResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StatsUserUsageResponseResponseResponse) SetCategories

func (s *StatsUserUsageResponseResponseResponse) SetCategories(val []string)

SetCategories sets the value of Categories.

func (*StatsUserUsageResponseResponseResponse) SetFake

SetFake set fake values.

func (*StatsUserUsageResponseResponseResponse) SetSeries

SetSeries sets the value of Series.

func (*StatsUserUsageResponseResponseResponse) SetSparklineData

func (s *StatsUserUsageResponseResponseResponse) SetSparklineData(val []float64)

SetSparklineData sets the value of SparklineData.

func (*StatsUserUsageResponseResponseResponse) SetTopNodes

SetTopNodes sets the value of TopNodes.

func (*StatsUserUsageResponseResponseResponse) UnmarshalJSON

func (s *StatsUserUsageResponseResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatsUserUsageResponseResponseResponse) Validate

type StatsUserUsageResponseResponseResponseSeriesItem

type StatsUserUsageResponseResponseResponseSeriesItem struct {
	UUID        uuid.UUID `json:"uuid"`
	Name        string    `json:"name"`
	Color       string    `json:"color"`
	CountryCode string    `json:"countryCode"`
	Total       float64   `json:"total"`
	Data        []float64 `json:"data"`
}

func (*StatsUserUsageResponseResponseResponseSeriesItem) Decode

Decode decodes StatsUserUsageResponseResponseResponseSeriesItem from json.

func (*StatsUserUsageResponseResponseResponseSeriesItem) Encode

Encode implements json.Marshaler.

func (*StatsUserUsageResponseResponseResponseSeriesItem) GetColor

GetColor returns the value of Color.

func (*StatsUserUsageResponseResponseResponseSeriesItem) GetCountryCode

GetCountryCode returns the value of CountryCode.

func (*StatsUserUsageResponseResponseResponseSeriesItem) GetData

GetData returns the value of Data.

func (*StatsUserUsageResponseResponseResponseSeriesItem) GetName

GetName returns the value of Name.

func (*StatsUserUsageResponseResponseResponseSeriesItem) GetTotal

GetTotal returns the value of Total.

func (*StatsUserUsageResponseResponseResponseSeriesItem) GetUUID

GetUUID returns the value of UUID.

func (*StatsUserUsageResponseResponseResponseSeriesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*StatsUserUsageResponseResponseResponseSeriesItem) SetColor

SetColor sets the value of Color.

func (*StatsUserUsageResponseResponseResponseSeriesItem) SetCountryCode

SetCountryCode sets the value of CountryCode.

func (*StatsUserUsageResponseResponseResponseSeriesItem) SetData

SetData sets the value of Data.

func (*StatsUserUsageResponseResponseResponseSeriesItem) SetFake

SetFake set fake values.

func (*StatsUserUsageResponseResponseResponseSeriesItem) SetName

SetName sets the value of Name.

func (*StatsUserUsageResponseResponseResponseSeriesItem) SetTotal

SetTotal sets the value of Total.

func (*StatsUserUsageResponseResponseResponseSeriesItem) SetUUID

SetUUID sets the value of UUID.

func (*StatsUserUsageResponseResponseResponseSeriesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatsUserUsageResponseResponseResponseSeriesItem) Validate

type StatsUserUsageResponseResponseResponseTopNodesItem

type StatsUserUsageResponseResponseResponseTopNodesItem struct {
	UUID        uuid.UUID `json:"uuid"`
	Color       string    `json:"color"`
	Name        string    `json:"name"`
	CountryCode string    `json:"countryCode"`
	Total       float64   `json:"total"`
}

func (*StatsUserUsageResponseResponseResponseTopNodesItem) Decode

Decode decodes StatsUserUsageResponseResponseResponseTopNodesItem from json.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) Encode

Encode implements json.Marshaler.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetColor

GetColor returns the value of Color.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetCountryCode

GetCountryCode returns the value of CountryCode.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetName

GetName returns the value of Name.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetTotal

GetTotal returns the value of Total.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetUUID

GetUUID returns the value of UUID.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetColor

SetColor sets the value of Color.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetCountryCode

SetCountryCode sets the value of CountryCode.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetFake

SetFake set fake values.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetName

SetName sets the value of Name.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetTotal

SetTotal sets the value of Total.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetUUID

SetUUID sets the value of UUID.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StatsUserUsageResponseResponseResponseTopNodesItem) Validate

type Subscription

type Subscription struct {
	IsFound         bool                    `json:"isFound"`
	User            UserItem                `json:"user"`
	Links           []string                `json:"links"`
	SsConfLinks     SubscriptionSsConfLinks `json:"ssConfLinks"`
	SubscriptionUrl string                  `json:"subscriptionUrl"`
}

Ref: #/components/schemas/Subscription

func (*Subscription) Decode

func (s *Subscription) Decode(d *jx.Decoder) error

Decode decodes Subscription from json.

func (*Subscription) Encode

func (s *Subscription) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Subscription) GetIsFound

func (s *Subscription) GetIsFound() bool

GetIsFound returns the value of IsFound.

func (s *Subscription) GetLinks() []string

GetLinks returns the value of Links.

func (s *Subscription) GetSsConfLinks() SubscriptionSsConfLinks

GetSsConfLinks returns the value of SsConfLinks.

func (*Subscription) GetSubscriptionUrl

func (s *Subscription) GetSubscriptionUrl() string

GetSubscriptionUrl returns the value of SubscriptionUrl.

func (*Subscription) GetUser

func (s *Subscription) GetUser() UserItem

GetUser returns the value of User.

func (*Subscription) MarshalJSON

func (s *Subscription) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Subscription) SetFake

func (s *Subscription) SetFake()

SetFake set fake values.

func (*Subscription) SetIsFound

func (s *Subscription) SetIsFound(val bool)

SetIsFound sets the value of IsFound.

func (s *Subscription) SetLinks(val []string)

SetLinks sets the value of Links.

func (s *Subscription) SetSsConfLinks(val SubscriptionSsConfLinks)

SetSsConfLinks sets the value of SsConfLinks.

func (*Subscription) SetSubscriptionUrl

func (s *Subscription) SetSubscriptionUrl(val string)

SetSubscriptionUrl sets the value of SubscriptionUrl.

func (*Subscription) SetUser

func (s *Subscription) SetUser(val UserItem)

SetUser sets the value of User.

func (*Subscription) UnmarshalJSON

func (s *Subscription) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Subscription) Validate

func (s *Subscription) Validate() error

type SubscriptionClient

type SubscriptionClient struct {
	// contains filtered or unexported fields
}

SubscriptionClient provides Subscription operations.

func NewSubscriptionClient

func NewSubscriptionClient(client *Client) *SubscriptionClient

NewSubscriptionClient creates a new SubscriptionClient.

func (*SubscriptionClient) GetSubscriptionInfoByShortUuid

func (sc *SubscriptionClient) GetSubscriptionInfoByShortUuid(ctx context.Context, shortuuid string) (SubscriptionControllerGetSubscriptionInfoByShortUuidRes, error)

GetSubscriptionInfoByShortUuid calls SubscriptionController_getSubscriptionInfoByShortUuid.

type SubscriptionControllerGetSubscriptionByClientTypeClientType

type SubscriptionControllerGetSubscriptionByClientTypeClientType string
const (
	SubscriptionControllerGetSubscriptionByClientTypeClientTypeStash     SubscriptionControllerGetSubscriptionByClientTypeClientType = "stash"
	SubscriptionControllerGetSubscriptionByClientTypeClientTypeSingbox   SubscriptionControllerGetSubscriptionByClientTypeClientType = "singbox"
	SubscriptionControllerGetSubscriptionByClientTypeClientTypeMihomo    SubscriptionControllerGetSubscriptionByClientTypeClientType = "mihomo"
	SubscriptionControllerGetSubscriptionByClientTypeClientTypeJSON      SubscriptionControllerGetSubscriptionByClientTypeClientType = "json"
	SubscriptionControllerGetSubscriptionByClientTypeClientTypeV2rayJSON SubscriptionControllerGetSubscriptionByClientTypeClientType = "v2ray-json"
	SubscriptionControllerGetSubscriptionByClientTypeClientTypeClash     SubscriptionControllerGetSubscriptionByClientTypeClientType = "clash"
)

func (SubscriptionControllerGetSubscriptionByClientTypeClientType) AllValues

AllValues returns all SubscriptionControllerGetSubscriptionByClientTypeClientType values.

func (SubscriptionControllerGetSubscriptionByClientTypeClientType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*SubscriptionControllerGetSubscriptionByClientTypeClientType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (SubscriptionControllerGetSubscriptionByClientTypeClientType) Validate

type SubscriptionControllerGetSubscriptionByClientTypeOK

type SubscriptionControllerGetSubscriptionByClientTypeOK struct{}

SubscriptionControllerGetSubscriptionByClientTypeOK is response for SubscriptionControllerGetSubscriptionByClientType operation.

type SubscriptionControllerGetSubscriptionByClientTypeParams

type SubscriptionControllerGetSubscriptionByClientTypeParams struct {
	// Client type.
	ClientType SubscriptionControllerGetSubscriptionByClientTypeClientType
	// Short UUID of the user.
	ShortUuid string
}

SubscriptionControllerGetSubscriptionByClientTypeParams is parameters of SubscriptionController_getSubscriptionByClientType operation.

type SubscriptionControllerGetSubscriptionInfoByShortUuidParams

type SubscriptionControllerGetSubscriptionInfoByShortUuidParams struct {
	// Short UUID of the user.
	ShortUuid string
}

SubscriptionControllerGetSubscriptionInfoByShortUuidParams is parameters of SubscriptionController_getSubscriptionInfoByShortUuid operation.

type SubscriptionControllerGetSubscriptionInfoByShortUuidRes

type SubscriptionControllerGetSubscriptionInfoByShortUuidRes interface {
	// contains filtered or unexported methods
}

type SubscriptionControllerGetSubscriptionOK

type SubscriptionControllerGetSubscriptionOK struct{}

SubscriptionControllerGetSubscriptionOK is response for SubscriptionControllerGetSubscription operation.

type SubscriptionControllerGetSubscriptionParams

type SubscriptionControllerGetSubscriptionParams struct {
	// Short UUID of the user.
	ShortUuid string
}

SubscriptionControllerGetSubscriptionParams is parameters of SubscriptionController_getSubscription operation.

type SubscriptionControllerGetSubscriptionWithTypeOK

type SubscriptionControllerGetSubscriptionWithTypeOK struct{}

SubscriptionControllerGetSubscriptionWithTypeOK is response for SubscriptionControllerGetSubscriptionWithType operation.

type SubscriptionControllerGetSubscriptionWithTypeParams

type SubscriptionControllerGetSubscriptionWithTypeParams struct {
	// Subscription type (required if encodedTag is provided). Only SS is supported for now.
	Type string
	// Base64 encoded tag for Outline config. This paramter is optional. It is required only when type=ss.
	EncodedTag string
	// Short UUID of the user.
	ShortUuid string
}

SubscriptionControllerGetSubscriptionWithTypeParams is parameters of SubscriptionController_getSubscriptionWithType operation.

type SubscriptionPageConfigClient

type SubscriptionPageConfigClient struct {
	// contains filtered or unexported fields
}

SubscriptionPageConfigClient provides SubscriptionPageConfig operations.

func NewSubscriptionPageConfigClient

func NewSubscriptionPageConfigClient(client *Client) *SubscriptionPageConfigClient

NewSubscriptionPageConfigClient creates a new SubscriptionPageConfigClient.

func (*SubscriptionPageConfigClient) CloneSubscriptionPageConfig

CloneSubscriptionPageConfig calls SubscriptionPageConfigController_cloneSubscriptionPageConfig.

func (*SubscriptionPageConfigClient) CreateConfig

CreateConfig calls SubscriptionPageConfigController_createConfig.

func (*SubscriptionPageConfigClient) DeleteConfig

DeleteConfig calls SubscriptionPageConfigController_deleteConfig.

func (*SubscriptionPageConfigClient) GetAllConfigs

GetAllConfigs calls SubscriptionPageConfigController_getAllConfigs.

func (*SubscriptionPageConfigClient) GetConfigByUuid

GetConfigByUuid calls SubscriptionPageConfigController_getConfigByUuid.

func (*SubscriptionPageConfigClient) ReorderSubscriptionPageConfigs

ReorderSubscriptionPageConfigs calls SubscriptionPageConfigController_reorderSubscriptionPageConfigs.

func (*SubscriptionPageConfigClient) UpdateConfig

UpdateConfig calls SubscriptionPageConfigController_updateConfig.

type SubscriptionPageConfigControllerCloneSubscriptionPageConfigRes

type SubscriptionPageConfigControllerCloneSubscriptionPageConfigRes interface {
	// contains filtered or unexported methods
}

type SubscriptionPageConfigControllerCreateConfigRes

type SubscriptionPageConfigControllerCreateConfigRes interface {
	// contains filtered or unexported methods
}

type SubscriptionPageConfigControllerDeleteConfigParams

type SubscriptionPageConfigControllerDeleteConfigParams struct {
	// Subscription page config UUID.
	UUID string
}

SubscriptionPageConfigControllerDeleteConfigParams is parameters of SubscriptionPageConfigController_deleteConfig operation.

type SubscriptionPageConfigControllerDeleteConfigRes

type SubscriptionPageConfigControllerDeleteConfigRes interface {
	// contains filtered or unexported methods
}

type SubscriptionPageConfigControllerGetAllConfigsRes

type SubscriptionPageConfigControllerGetAllConfigsRes interface {
	// contains filtered or unexported methods
}

type SubscriptionPageConfigControllerGetConfigByUuidParams

type SubscriptionPageConfigControllerGetConfigByUuidParams struct {
	// Subscription page config UUID.
	UUID string
}

SubscriptionPageConfigControllerGetConfigByUuidParams is parameters of SubscriptionPageConfigController_getConfigByUuid operation.

type SubscriptionPageConfigControllerGetConfigByUuidRes

type SubscriptionPageConfigControllerGetConfigByUuidRes interface {
	// contains filtered or unexported methods
}

type SubscriptionPageConfigControllerReorderSubscriptionPageConfigsRes

type SubscriptionPageConfigControllerReorderSubscriptionPageConfigsRes interface {
	// contains filtered or unexported methods
}

type SubscriptionPageConfigControllerUpdateConfigRes

type SubscriptionPageConfigControllerUpdateConfigRes interface {
	// contains filtered or unexported methods
}

type SubscriptionPageConfigResponseResponse

type SubscriptionPageConfigResponseResponse struct {
	Response SubscriptionPageConfigResponseResponseResponse `json:"response"`
}

Ref: #/components/schemas/SubscriptionPageConfigResponseResponse

func (*SubscriptionPageConfigResponseResponse) Decode

Decode decodes SubscriptionPageConfigResponseResponse from json.

func (*SubscriptionPageConfigResponseResponse) Encode

Encode implements json.Marshaler.

func (*SubscriptionPageConfigResponseResponse) GetResponse

GetResponse returns the value of Response.

func (*SubscriptionPageConfigResponseResponse) MarshalJSON

func (s *SubscriptionPageConfigResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionPageConfigResponseResponse) SetFake

SetFake set fake values.

func (*SubscriptionPageConfigResponseResponse) SetResponse

SetResponse sets the value of Response.

func (*SubscriptionPageConfigResponseResponse) UnmarshalJSON

func (s *SubscriptionPageConfigResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SubscriptionPageConfigResponseResponseResponse

type SubscriptionPageConfigResponseResponseResponse struct {
	UUID         uuid.UUID `json:"uuid"`
	ViewPosition int       `json:"viewPosition"`
	Name         string    `json:"name"`
	Config       jx.Raw    `json:"config"`
}

func (*SubscriptionPageConfigResponseResponseResponse) Decode

Decode decodes SubscriptionPageConfigResponseResponseResponse from json.

func (*SubscriptionPageConfigResponseResponseResponse) Encode

Encode implements json.Marshaler.

func (*SubscriptionPageConfigResponseResponseResponse) GetConfig

GetConfig returns the value of Config.

func (*SubscriptionPageConfigResponseResponseResponse) GetName

GetName returns the value of Name.

func (*SubscriptionPageConfigResponseResponseResponse) GetUUID

GetUUID returns the value of UUID.

func (*SubscriptionPageConfigResponseResponseResponse) GetViewPosition

GetViewPosition returns the value of ViewPosition.

func (*SubscriptionPageConfigResponseResponseResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionPageConfigResponseResponseResponse) SetConfig

SetConfig sets the value of Config.

func (*SubscriptionPageConfigResponseResponseResponse) SetFake

SetFake set fake values.

func (*SubscriptionPageConfigResponseResponseResponse) SetName

SetName sets the value of Name.

func (*SubscriptionPageConfigResponseResponseResponse) SetUUID

SetUUID sets the value of UUID.

func (*SubscriptionPageConfigResponseResponseResponse) SetViewPosition

func (s *SubscriptionPageConfigResponseResponseResponse) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*SubscriptionPageConfigResponseResponseResponse) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type SubscriptionPageConfigsResponseResponse

type SubscriptionPageConfigsResponseResponse struct {
	Response SubscriptionPageConfigsResponseResponseResponse `json:"response"`
}

Ref: #/components/schemas/SubscriptionPageConfigsResponseResponse

func (*SubscriptionPageConfigsResponseResponse) Decode

Decode decodes SubscriptionPageConfigsResponseResponse from json.

func (*SubscriptionPageConfigsResponseResponse) Encode

Encode implements json.Marshaler.

func (*SubscriptionPageConfigsResponseResponse) GetResponse

GetResponse returns the value of Response.

func (*SubscriptionPageConfigsResponseResponse) MarshalJSON

func (s *SubscriptionPageConfigsResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionPageConfigsResponseResponse) SetFake

SetFake set fake values.

func (*SubscriptionPageConfigsResponseResponse) SetResponse

SetResponse sets the value of Response.

func (*SubscriptionPageConfigsResponseResponse) UnmarshalJSON

func (s *SubscriptionPageConfigsResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionPageConfigsResponseResponse) Validate

type SubscriptionPageConfigsResponseResponseResponse

type SubscriptionPageConfigsResponseResponseResponse struct {
	Total   float64  `json:"total"`
	Configs []Config `json:"configs"`
}

func (*SubscriptionPageConfigsResponseResponseResponse) Decode

Decode decodes SubscriptionPageConfigsResponseResponseResponse from json.

func (*SubscriptionPageConfigsResponseResponseResponse) Encode

Encode implements json.Marshaler.

func (*SubscriptionPageConfigsResponseResponseResponse) GetConfigs

GetConfigs returns the value of Configs.

func (*SubscriptionPageConfigsResponseResponseResponse) GetTotal

GetTotal returns the value of Total.

func (*SubscriptionPageConfigsResponseResponseResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionPageConfigsResponseResponseResponse) SetConfigs

SetConfigs sets the value of Configs.

func (*SubscriptionPageConfigsResponseResponseResponse) SetFake

SetFake set fake values.

func (*SubscriptionPageConfigsResponseResponseResponse) SetTotal

SetTotal sets the value of Total.

func (*SubscriptionPageConfigsResponseResponseResponse) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionPageConfigsResponseResponseResponse) Validate

type SubscriptionResponse

type SubscriptionResponse struct {
	Response Subscription `json:"response"`
}

Ref: #/components/schemas/SubscriptionResponse

func (*SubscriptionResponse) Decode

func (s *SubscriptionResponse) Decode(d *jx.Decoder) error

Decode decodes SubscriptionResponse from json.

func (*SubscriptionResponse) Encode

func (s *SubscriptionResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SubscriptionResponse) GetResponse

func (s *SubscriptionResponse) GetResponse() Subscription

GetResponse returns the value of Response.

func (*SubscriptionResponse) MarshalJSON

func (s *SubscriptionResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionResponse) SetFake

func (s *SubscriptionResponse) SetFake()

SetFake set fake values.

func (*SubscriptionResponse) SetResponse

func (s *SubscriptionResponse) SetResponse(val Subscription)

SetResponse sets the value of Response.

func (*SubscriptionResponse) UnmarshalJSON

func (s *SubscriptionResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionResponse) Validate

func (s *SubscriptionResponse) Validate() error

type SubscriptionSettings

type SubscriptionSettings struct {
	ProfileTitle                OptString    `json:"profileTitle"`
	SupportLink                 OptString    `json:"supportLink"`
	ProfileUpdateInterval       OptInt       `json:"profileUpdateInterval"`
	IsProfileWebpageUrlEnabled  OptBool      `json:"isProfileWebpageUrlEnabled"`
	ServeJsonAtBaseSubscription OptBool      `json:"serveJsonAtBaseSubscription"`
	IsShowCustomRemarks         OptBool      `json:"isShowCustomRemarks"`
	HappAnnounce                OptNilString `json:"happAnnounce"`
	HappRouting                 OptNilString `json:"happRouting"`
	RandomizeHosts              OptBool      `json:"randomizeHosts"`
}

Ref: #/components/schemas/SubscriptionSettings

func (*SubscriptionSettings) Decode

func (s *SubscriptionSettings) Decode(d *jx.Decoder) error

Decode decodes SubscriptionSettings from json.

func (*SubscriptionSettings) Encode

func (s *SubscriptionSettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SubscriptionSettings) GetHappAnnounce

func (s *SubscriptionSettings) GetHappAnnounce() OptNilString

GetHappAnnounce returns the value of HappAnnounce.

func (*SubscriptionSettings) GetHappRouting

func (s *SubscriptionSettings) GetHappRouting() OptNilString

GetHappRouting returns the value of HappRouting.

func (*SubscriptionSettings) GetIsProfileWebpageUrlEnabled

func (s *SubscriptionSettings) GetIsProfileWebpageUrlEnabled() OptBool

GetIsProfileWebpageUrlEnabled returns the value of IsProfileWebpageUrlEnabled.

func (*SubscriptionSettings) GetIsShowCustomRemarks

func (s *SubscriptionSettings) GetIsShowCustomRemarks() OptBool

GetIsShowCustomRemarks returns the value of IsShowCustomRemarks.

func (*SubscriptionSettings) GetProfileTitle

func (s *SubscriptionSettings) GetProfileTitle() OptString

GetProfileTitle returns the value of ProfileTitle.

func (*SubscriptionSettings) GetProfileUpdateInterval

func (s *SubscriptionSettings) GetProfileUpdateInterval() OptInt

GetProfileUpdateInterval returns the value of ProfileUpdateInterval.

func (*SubscriptionSettings) GetRandomizeHosts

func (s *SubscriptionSettings) GetRandomizeHosts() OptBool

GetRandomizeHosts returns the value of RandomizeHosts.

func (*SubscriptionSettings) GetServeJsonAtBaseSubscription

func (s *SubscriptionSettings) GetServeJsonAtBaseSubscription() OptBool

GetServeJsonAtBaseSubscription returns the value of ServeJsonAtBaseSubscription.

func (s *SubscriptionSettings) GetSupportLink() OptString

GetSupportLink returns the value of SupportLink.

func (*SubscriptionSettings) MarshalJSON

func (s *SubscriptionSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionSettings) SetFake

func (s *SubscriptionSettings) SetFake()

SetFake set fake values.

func (*SubscriptionSettings) SetHappAnnounce

func (s *SubscriptionSettings) SetHappAnnounce(val OptNilString)

SetHappAnnounce sets the value of HappAnnounce.

func (*SubscriptionSettings) SetHappRouting

func (s *SubscriptionSettings) SetHappRouting(val OptNilString)

SetHappRouting sets the value of HappRouting.

func (*SubscriptionSettings) SetIsProfileWebpageUrlEnabled

func (s *SubscriptionSettings) SetIsProfileWebpageUrlEnabled(val OptBool)

SetIsProfileWebpageUrlEnabled sets the value of IsProfileWebpageUrlEnabled.

func (*SubscriptionSettings) SetIsShowCustomRemarks

func (s *SubscriptionSettings) SetIsShowCustomRemarks(val OptBool)

SetIsShowCustomRemarks sets the value of IsShowCustomRemarks.

func (*SubscriptionSettings) SetProfileTitle

func (s *SubscriptionSettings) SetProfileTitle(val OptString)

SetProfileTitle sets the value of ProfileTitle.

func (*SubscriptionSettings) SetProfileUpdateInterval

func (s *SubscriptionSettings) SetProfileUpdateInterval(val OptInt)

SetProfileUpdateInterval sets the value of ProfileUpdateInterval.

func (*SubscriptionSettings) SetRandomizeHosts

func (s *SubscriptionSettings) SetRandomizeHosts(val OptBool)

SetRandomizeHosts sets the value of RandomizeHosts.

func (*SubscriptionSettings) SetServeJsonAtBaseSubscription

func (s *SubscriptionSettings) SetServeJsonAtBaseSubscription(val OptBool)

SetServeJsonAtBaseSubscription sets the value of ServeJsonAtBaseSubscription.

func (s *SubscriptionSettings) SetSupportLink(val OptString)

SetSupportLink sets the value of SupportLink.

func (*SubscriptionSettings) UnmarshalJSON

func (s *SubscriptionSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionSettings) Validate

func (s *SubscriptionSettings) Validate() error

type SubscriptionSettingsClient

type SubscriptionSettingsClient struct {
	// contains filtered or unexported fields
}

SubscriptionSettingsClient provides SubscriptionSettings operations.

func NewSubscriptionSettingsClient

func NewSubscriptionSettingsClient(client *Client) *SubscriptionSettingsClient

NewSubscriptionSettingsClient creates a new SubscriptionSettingsClient.

func (*SubscriptionSettingsClient) GetSettings

GetSettings calls SubscriptionSettingsController_getSettings.

func (*SubscriptionSettingsClient) UpdateSettings

UpdateSettings calls SubscriptionSettingsController_updateSettings.

type SubscriptionSettingsControllerGetSettingsRes

type SubscriptionSettingsControllerGetSettingsRes interface {
	// contains filtered or unexported methods
}

type SubscriptionSettingsControllerUpdateSettingsRes

type SubscriptionSettingsControllerUpdateSettingsRes interface {
	// contains filtered or unexported methods
}

type SubscriptionSettingsResponse

type SubscriptionSettingsResponse struct {
	Response SubscriptionSettingsResponseResponse `json:"response"`
}

Ref: #/components/schemas/SubscriptionSettingsResponse

func (*SubscriptionSettingsResponse) Decode

Decode decodes SubscriptionSettingsResponse from json.

func (*SubscriptionSettingsResponse) Encode

func (s *SubscriptionSettingsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SubscriptionSettingsResponse) GetResponse

GetResponse returns the value of Response.

func (*SubscriptionSettingsResponse) MarshalJSON

func (s *SubscriptionSettingsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionSettingsResponse) SetFake

func (s *SubscriptionSettingsResponse) SetFake()

SetFake set fake values.

func (*SubscriptionSettingsResponse) SetResponse

SetResponse sets the value of Response.

func (*SubscriptionSettingsResponse) UnmarshalJSON

func (s *SubscriptionSettingsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionSettingsResponse) Validate

func (s *SubscriptionSettingsResponse) Validate() error

type SubscriptionSettingsResponseResponse

type SubscriptionSettingsResponseResponse struct {
	UUID                        uuid.UUID                                                    `json:"uuid"`
	ProfileTitle                string                                                       `json:"profileTitle"`
	SupportLink                 string                                                       `json:"supportLink"`
	ProfileUpdateInterval       int                                                          `json:"profileUpdateInterval"`
	IsProfileWebpageUrlEnabled  bool                                                         `json:"isProfileWebpageUrlEnabled"`
	ServeJsonAtBaseSubscription bool                                                         `json:"serveJsonAtBaseSubscription"`
	IsShowCustomRemarks         bool                                                         `json:"isShowCustomRemarks"`
	CustomRemarks               NilCustomRemark                                              `json:"customRemarks"`
	HappAnnounce                NilString                                                    `json:"happAnnounce"`
	HappRouting                 NilString                                                    `json:"happRouting"`
	CustomResponseHeaders       NilSubscriptionSettingsResponseResponseCustomResponseHeaders `json:"customResponseHeaders"`
	RandomizeHosts              bool                                                         `json:"randomizeHosts"`
	ResponseRules               ResponseRules                                                `json:"responseRules"`
	HwidSettings                NilHwidSettings                                              `json:"hwidSettings"`
	CreatedAt                   time.Time                                                    `json:"createdAt"`
	UpdatedAt                   time.Time                                                    `json:"updatedAt"`
}

func (*SubscriptionSettingsResponseResponse) Decode

Decode decodes SubscriptionSettingsResponseResponse from json.

func (*SubscriptionSettingsResponseResponse) Encode

Encode implements json.Marshaler.

func (*SubscriptionSettingsResponseResponse) GetCreatedAt

GetCreatedAt returns the value of CreatedAt.

func (*SubscriptionSettingsResponseResponse) GetCustomRemarks

GetCustomRemarks returns the value of CustomRemarks.

func (*SubscriptionSettingsResponseResponse) GetCustomResponseHeaders

GetCustomResponseHeaders returns the value of CustomResponseHeaders.

func (*SubscriptionSettingsResponseResponse) GetHappAnnounce

func (s *SubscriptionSettingsResponseResponse) GetHappAnnounce() NilString

GetHappAnnounce returns the value of HappAnnounce.

func (*SubscriptionSettingsResponseResponse) GetHappRouting

func (s *SubscriptionSettingsResponseResponse) GetHappRouting() NilString

GetHappRouting returns the value of HappRouting.

func (*SubscriptionSettingsResponseResponse) GetHwidSettings

GetHwidSettings returns the value of HwidSettings.

func (*SubscriptionSettingsResponseResponse) GetIsProfileWebpageUrlEnabled

func (s *SubscriptionSettingsResponseResponse) GetIsProfileWebpageUrlEnabled() bool

GetIsProfileWebpageUrlEnabled returns the value of IsProfileWebpageUrlEnabled.

func (*SubscriptionSettingsResponseResponse) GetIsShowCustomRemarks

func (s *SubscriptionSettingsResponseResponse) GetIsShowCustomRemarks() bool

GetIsShowCustomRemarks returns the value of IsShowCustomRemarks.

func (*SubscriptionSettingsResponseResponse) GetProfileTitle

func (s *SubscriptionSettingsResponseResponse) GetProfileTitle() string

GetProfileTitle returns the value of ProfileTitle.

func (*SubscriptionSettingsResponseResponse) GetProfileUpdateInterval

func (s *SubscriptionSettingsResponseResponse) GetProfileUpdateInterval() int

GetProfileUpdateInterval returns the value of ProfileUpdateInterval.

func (*SubscriptionSettingsResponseResponse) GetRandomizeHosts

func (s *SubscriptionSettingsResponseResponse) GetRandomizeHosts() bool

GetRandomizeHosts returns the value of RandomizeHosts.

func (*SubscriptionSettingsResponseResponse) GetResponseRules

GetResponseRules returns the value of ResponseRules.

func (*SubscriptionSettingsResponseResponse) GetServeJsonAtBaseSubscription

func (s *SubscriptionSettingsResponseResponse) GetServeJsonAtBaseSubscription() bool

GetServeJsonAtBaseSubscription returns the value of ServeJsonAtBaseSubscription.

func (s *SubscriptionSettingsResponseResponse) GetSupportLink() string

GetSupportLink returns the value of SupportLink.

func (*SubscriptionSettingsResponseResponse) GetUUID

GetUUID returns the value of UUID.

func (*SubscriptionSettingsResponseResponse) GetUpdatedAt

GetUpdatedAt returns the value of UpdatedAt.

func (*SubscriptionSettingsResponseResponse) MarshalJSON

func (s *SubscriptionSettingsResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionSettingsResponseResponse) SetCreatedAt

func (s *SubscriptionSettingsResponseResponse) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*SubscriptionSettingsResponseResponse) SetCustomRemarks

func (s *SubscriptionSettingsResponseResponse) SetCustomRemarks(val NilCustomRemark)

SetCustomRemarks sets the value of CustomRemarks.

func (*SubscriptionSettingsResponseResponse) SetCustomResponseHeaders

SetCustomResponseHeaders sets the value of CustomResponseHeaders.

func (*SubscriptionSettingsResponseResponse) SetFake

SetFake set fake values.

func (*SubscriptionSettingsResponseResponse) SetHappAnnounce

func (s *SubscriptionSettingsResponseResponse) SetHappAnnounce(val NilString)

SetHappAnnounce sets the value of HappAnnounce.

func (*SubscriptionSettingsResponseResponse) SetHappRouting

func (s *SubscriptionSettingsResponseResponse) SetHappRouting(val NilString)

SetHappRouting sets the value of HappRouting.

func (*SubscriptionSettingsResponseResponse) SetHwidSettings

func (s *SubscriptionSettingsResponseResponse) SetHwidSettings(val NilHwidSettings)

SetHwidSettings sets the value of HwidSettings.

func (*SubscriptionSettingsResponseResponse) SetIsProfileWebpageUrlEnabled

func (s *SubscriptionSettingsResponseResponse) SetIsProfileWebpageUrlEnabled(val bool)

SetIsProfileWebpageUrlEnabled sets the value of IsProfileWebpageUrlEnabled.

func (*SubscriptionSettingsResponseResponse) SetIsShowCustomRemarks

func (s *SubscriptionSettingsResponseResponse) SetIsShowCustomRemarks(val bool)

SetIsShowCustomRemarks sets the value of IsShowCustomRemarks.

func (*SubscriptionSettingsResponseResponse) SetProfileTitle

func (s *SubscriptionSettingsResponseResponse) SetProfileTitle(val string)

SetProfileTitle sets the value of ProfileTitle.

func (*SubscriptionSettingsResponseResponse) SetProfileUpdateInterval

func (s *SubscriptionSettingsResponseResponse) SetProfileUpdateInterval(val int)

SetProfileUpdateInterval sets the value of ProfileUpdateInterval.

func (*SubscriptionSettingsResponseResponse) SetRandomizeHosts

func (s *SubscriptionSettingsResponseResponse) SetRandomizeHosts(val bool)

SetRandomizeHosts sets the value of RandomizeHosts.

func (*SubscriptionSettingsResponseResponse) SetResponseRules

func (s *SubscriptionSettingsResponseResponse) SetResponseRules(val ResponseRules)

SetResponseRules sets the value of ResponseRules.

func (*SubscriptionSettingsResponseResponse) SetServeJsonAtBaseSubscription

func (s *SubscriptionSettingsResponseResponse) SetServeJsonAtBaseSubscription(val bool)

SetServeJsonAtBaseSubscription sets the value of ServeJsonAtBaseSubscription.

func (s *SubscriptionSettingsResponseResponse) SetSupportLink(val string)

SetSupportLink sets the value of SupportLink.

func (*SubscriptionSettingsResponseResponse) SetUUID

SetUUID sets the value of UUID.

func (*SubscriptionSettingsResponseResponse) SetUpdatedAt

func (s *SubscriptionSettingsResponseResponse) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*SubscriptionSettingsResponseResponse) UnmarshalJSON

func (s *SubscriptionSettingsResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionSettingsResponseResponse) Validate

type SubscriptionSettingsResponseResponseCustomResponseHeaders

type SubscriptionSettingsResponseResponseCustomResponseHeaders map[string]string

func (*SubscriptionSettingsResponseResponseCustomResponseHeaders) Decode

Decode decodes SubscriptionSettingsResponseResponseCustomResponseHeaders from json.

func (SubscriptionSettingsResponseResponseCustomResponseHeaders) Encode

Encode implements json.Marshaler.

func (SubscriptionSettingsResponseResponseCustomResponseHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionSettingsResponseResponseCustomResponseHeaders) SetFake

SetFake set fake values.

func (*SubscriptionSettingsResponseResponseCustomResponseHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type SubscriptionSsConfLinks map[string]string

func (*SubscriptionSsConfLinks) Decode

func (s *SubscriptionSsConfLinks) Decode(d *jx.Decoder) error

Decode decodes SubscriptionSsConfLinks from json.

func (SubscriptionSsConfLinks) Encode

func (s SubscriptionSsConfLinks) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (SubscriptionSsConfLinks) MarshalJSON

func (s SubscriptionSsConfLinks) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionSsConfLinks) SetFake

func (s *SubscriptionSsConfLinks) SetFake()

SetFake set fake values.

func (*SubscriptionSsConfLinks) UnmarshalJSON

func (s *SubscriptionSsConfLinks) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SubscriptionTemplateClient

type SubscriptionTemplateClient struct {
	// contains filtered or unexported fields
}

SubscriptionTemplateClient provides SubscriptionTemplate operations.

func NewSubscriptionTemplateClient

func NewSubscriptionTemplateClient(client *Client) *SubscriptionTemplateClient

NewSubscriptionTemplateClient creates a new SubscriptionTemplateClient.

func (*SubscriptionTemplateClient) CreateTemplate

CreateTemplate calls SubscriptionTemplateController_createTemplate.

func (*SubscriptionTemplateClient) DeleteTemplate

DeleteTemplate calls SubscriptionTemplateController_deleteTemplate.

func (*SubscriptionTemplateClient) GetAllTemplates

GetAllTemplates calls SubscriptionTemplateController_getAllTemplates.

func (*SubscriptionTemplateClient) GetTemplateByUuid

GetTemplateByUuid calls SubscriptionTemplateController_getTemplateByUuid.

func (*SubscriptionTemplateClient) ReorderSubscriptionTemplates

ReorderSubscriptionTemplates calls SubscriptionTemplateController_reorderSubscriptionTemplates.

func (*SubscriptionTemplateClient) UpdateTemplate

UpdateTemplate calls SubscriptionTemplateController_updateTemplate.

type SubscriptionTemplateControllerCreateTemplateRes

type SubscriptionTemplateControllerCreateTemplateRes interface {
	// contains filtered or unexported methods
}

type SubscriptionTemplateControllerDeleteTemplateParams

type SubscriptionTemplateControllerDeleteTemplateParams struct {
	// Template UUID.
	UUID string
}

SubscriptionTemplateControllerDeleteTemplateParams is parameters of SubscriptionTemplateController_deleteTemplate operation.

type SubscriptionTemplateControllerDeleteTemplateRes

type SubscriptionTemplateControllerDeleteTemplateRes interface {
	// contains filtered or unexported methods
}

type SubscriptionTemplateControllerGetAllTemplatesRes

type SubscriptionTemplateControllerGetAllTemplatesRes interface {
	// contains filtered or unexported methods
}

type SubscriptionTemplateControllerGetTemplateByUuidParams

type SubscriptionTemplateControllerGetTemplateByUuidParams struct {
	// Template UUID.
	UUID string
}

SubscriptionTemplateControllerGetTemplateByUuidParams is parameters of SubscriptionTemplateController_getTemplateByUuid operation.

type SubscriptionTemplateControllerGetTemplateByUuidRes

type SubscriptionTemplateControllerGetTemplateByUuidRes interface {
	// contains filtered or unexported methods
}

type SubscriptionTemplateControllerReorderSubscriptionTemplatesRes

type SubscriptionTemplateControllerReorderSubscriptionTemplatesRes interface {
	// contains filtered or unexported methods
}

type SubscriptionTemplateControllerUpdateTemplateRes

type SubscriptionTemplateControllerUpdateTemplateRes interface {
	// contains filtered or unexported methods
}

type SubscriptionsClient

type SubscriptionsClient struct {
	// contains filtered or unexported fields
}

SubscriptionsClient provides Subscriptions operations.

func NewSubscriptionsClient

func NewSubscriptionsClient(client *Client) *SubscriptionsClient

NewSubscriptionsClient creates a new SubscriptionsClient.

func (*SubscriptionsClient) GetAllSubscriptions

GetAllSubscriptions calls SubscriptionsController_getAllSubscriptions.

func (*SubscriptionsClient) GetRawSubscriptionByShortUuid

func (sc *SubscriptionsClient) GetRawSubscriptionByShortUuid(ctx context.Context, withdisabledhosts bool, shortuuid string) (SubscriptionsControllerGetRawSubscriptionByShortUuidRes, error)

GetRawSubscriptionByShortUuid calls SubscriptionsController_getRawSubscriptionByShortUuid.

func (*SubscriptionsClient) GetSubpageConfigByShortUuid

GetSubpageConfigByShortUuid calls SubscriptionsController_getSubpageConfigByShortUuid.

func (*SubscriptionsClient) GetSubscriptionByShortUuidProtected

func (sc *SubscriptionsClient) GetSubscriptionByShortUuidProtected(ctx context.Context, shortuuid string) (SubscriptionsControllerGetSubscriptionByShortUuidProtectedRes, error)

GetSubscriptionByShortUuidProtected calls SubscriptionsController_getSubscriptionByShortUuidProtected.

func (*SubscriptionsClient) GetSubscriptionByUsername

GetSubscriptionByUsername calls SubscriptionsController_getSubscriptionByUsername.

func (*SubscriptionsClient) GetSubscriptionByUuid

GetSubscriptionByUuid calls SubscriptionsController_getSubscriptionByUuid.

type SubscriptionsControllerGetAllSubscriptionsParams

type SubscriptionsControllerGetAllSubscriptionsParams struct {
	// Number of subscriptions to return, no more than 500.
	Size OptFloat64 `json:",omitempty,omitzero"`
	// Start index (offset) of the users to return, default is 0.
	Start OptFloat64 `json:",omitempty,omitzero"`
}

SubscriptionsControllerGetAllSubscriptionsParams is parameters of SubscriptionsController_getAllSubscriptions operation.

type SubscriptionsControllerGetAllSubscriptionsRes

type SubscriptionsControllerGetAllSubscriptionsRes interface {
	// contains filtered or unexported methods
}

type SubscriptionsControllerGetRawSubscriptionByShortUuidParams

type SubscriptionsControllerGetRawSubscriptionByShortUuidParams struct {
	// Include disabled hosts in the subscription. Default is false.
	WithDisabledHosts OptBool `json:",omitempty,omitzero"`
	// Short UUID of the user.
	ShortUuid string
}

SubscriptionsControllerGetRawSubscriptionByShortUuidParams is parameters of SubscriptionsController_getRawSubscriptionByShortUuid operation.

type SubscriptionsControllerGetRawSubscriptionByShortUuidRes

type SubscriptionsControllerGetRawSubscriptionByShortUuidRes interface {
	// contains filtered or unexported methods
}

type SubscriptionsControllerGetSubpageConfigByShortUuidParams

type SubscriptionsControllerGetSubpageConfigByShortUuidParams struct {
	// Short UUID of the user.
	ShortUuid string
}

SubscriptionsControllerGetSubpageConfigByShortUuidParams is parameters of SubscriptionsController_getSubpageConfigByShortUuid operation.

type SubscriptionsControllerGetSubpageConfigByShortUuidRes

type SubscriptionsControllerGetSubpageConfigByShortUuidRes interface {
	// contains filtered or unexported methods
}

type SubscriptionsControllerGetSubscriptionByShortUuidProtectedParams

type SubscriptionsControllerGetSubscriptionByShortUuidProtectedParams struct {
	// Short uuid of the user.
	ShortUuid string
}

SubscriptionsControllerGetSubscriptionByShortUuidProtectedParams is parameters of SubscriptionsController_getSubscriptionByShortUuidProtected operation.

type SubscriptionsControllerGetSubscriptionByShortUuidProtectedRes

type SubscriptionsControllerGetSubscriptionByShortUuidProtectedRes interface {
	// contains filtered or unexported methods
}

type SubscriptionsControllerGetSubscriptionByUsernameParams

type SubscriptionsControllerGetSubscriptionByUsernameParams struct {
	// Username of the user.
	Username string
}

SubscriptionsControllerGetSubscriptionByUsernameParams is parameters of SubscriptionsController_getSubscriptionByUsername operation.

type SubscriptionsControllerGetSubscriptionByUsernameRes

type SubscriptionsControllerGetSubscriptionByUsernameRes interface {
	// contains filtered or unexported methods
}

type SubscriptionsControllerGetSubscriptionByUuidParams

type SubscriptionsControllerGetSubscriptionByUuidParams struct {
	// Uuid of the user.
	UUID string
}

SubscriptionsControllerGetSubscriptionByUuidParams is parameters of SubscriptionsController_getSubscriptionByUuid operation.

type SubscriptionsControllerGetSubscriptionByUuidRes

type SubscriptionsControllerGetSubscriptionByUuidRes interface {
	// contains filtered or unexported methods
}

type SystemClient

type SystemClient struct {
	// contains filtered or unexported fields
}

SystemClient provides System operations.

func NewSystemClient

func NewSystemClient(client *Client) *SystemClient

NewSystemClient creates a new SystemClient.

func (*SystemClient) DebugSrrMatcher

DebugSrrMatcher calls SystemController_debugSrrMatcher.

EncryptHappCryptoLink calls SystemController_encryptHappCryptoLink.

func (*SystemClient) GetBandwidthStats

GetBandwidthStats calls SystemController_getBandwidthStats.

func (*SystemClient) GetNodesMetrics

GetNodesMetrics calls SystemController_getNodesMetrics.

func (*SystemClient) GetNodesStatistics

GetNodesStatistics calls SystemController_getNodesStatistics.

func (*SystemClient) GetRemnawaveHealth

GetRemnawaveHealth calls SystemController_getRemnawaveHealth.

func (*SystemClient) GetStats

GetStats calls SystemController_getStats.

func (*SystemClient) GetX25519Keypairs

GetX25519Keypairs calls SystemController_getX25519Keypairs.

type SystemControllerDebugSrrMatcherRes

type SystemControllerDebugSrrMatcherRes interface {
	// contains filtered or unexported methods
}

type SystemControllerEncryptHappCryptoLinkRes

type SystemControllerEncryptHappCryptoLinkRes interface {
	// contains filtered or unexported methods
}

type SystemControllerGetBandwidthStatsRes

type SystemControllerGetBandwidthStatsRes interface {
	// contains filtered or unexported methods
}

type SystemControllerGetNodesMetricsRes

type SystemControllerGetNodesMetricsRes interface {
	// contains filtered or unexported methods
}

type SystemControllerGetNodesStatisticsRes

type SystemControllerGetNodesStatisticsRes interface {
	// contains filtered or unexported methods
}

type SystemControllerGetRemnawaveHealthRes

type SystemControllerGetRemnawaveHealthRes interface {
	// contains filtered or unexported methods
}

type SystemControllerGetStatsRes

type SystemControllerGetStatsRes interface {
	// contains filtered or unexported methods
}

type SystemControllerGetX25519KeypairsRes

type SystemControllerGetX25519KeypairsRes interface {
	// contains filtered or unexported methods
}

type TagsResponse

type TagsResponse struct {
	Response TagsResponseResponse `json:"response"`
}

Ref: #/components/schemas/TagsResponse

func (*TagsResponse) Decode

func (s *TagsResponse) Decode(d *jx.Decoder) error

Decode decodes TagsResponse from json.

func (*TagsResponse) Encode

func (s *TagsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagsResponse) GetResponse

func (s *TagsResponse) GetResponse() TagsResponseResponse

GetResponse returns the value of Response.

func (*TagsResponse) MarshalJSON

func (s *TagsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagsResponse) SetFake

func (s *TagsResponse) SetFake()

SetFake set fake values.

func (*TagsResponse) SetResponse

func (s *TagsResponse) SetResponse(val TagsResponseResponse)

SetResponse sets the value of Response.

func (*TagsResponse) UnmarshalJSON

func (s *TagsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagsResponse) Validate

func (s *TagsResponse) Validate() error

type TagsResponseResponse

type TagsResponseResponse struct {
	Tags []string `json:"tags"`
}

func (*TagsResponseResponse) Decode

func (s *TagsResponseResponse) Decode(d *jx.Decoder) error

Decode decodes TagsResponseResponse from json.

func (*TagsResponseResponse) Encode

func (s *TagsResponseResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagsResponseResponse) GetTags

func (s *TagsResponseResponse) GetTags() []string

GetTags returns the value of Tags.

func (*TagsResponseResponse) MarshalJSON

func (s *TagsResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagsResponseResponse) SetFake

func (s *TagsResponseResponse) SetFake()

SetFake set fake values.

func (*TagsResponseResponse) SetTags

func (s *TagsResponseResponse) SetTags(val []string)

SetTags sets the value of Tags.

func (*TagsResponseResponse) UnmarshalJSON

func (s *TagsResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagsResponseResponse) Validate

func (s *TagsResponseResponse) Validate() error

type TelegramCallbackRequestDto

type TelegramCallbackRequestDto struct {
	ID        float64   `json:"id"`
	FirstName string    `json:"first_name"`
	LastName  OptString `json:"last_name"`
	Username  OptString `json:"username"`
	PhotoURL  OptString `json:"photo_url"`
	AuthDate  float64   `json:"auth_date"`
	Hash      string    `json:"hash"`
}

Ref: #/components/schemas/TelegramCallbackRequestDto

func (*TelegramCallbackRequestDto) Decode

Decode decodes TelegramCallbackRequestDto from json.

func (*TelegramCallbackRequestDto) Encode

func (s *TelegramCallbackRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TelegramCallbackRequestDto) GetAuthDate

func (s *TelegramCallbackRequestDto) GetAuthDate() float64

GetAuthDate returns the value of AuthDate.

func (*TelegramCallbackRequestDto) GetFirstName

func (s *TelegramCallbackRequestDto) GetFirstName() string

GetFirstName returns the value of FirstName.

func (*TelegramCallbackRequestDto) GetHash

func (s *TelegramCallbackRequestDto) GetHash() string

GetHash returns the value of Hash.

func (*TelegramCallbackRequestDto) GetID

GetID returns the value of ID.

func (*TelegramCallbackRequestDto) GetLastName

func (s *TelegramCallbackRequestDto) GetLastName() OptString

GetLastName returns the value of LastName.

func (*TelegramCallbackRequestDto) GetPhotoURL

func (s *TelegramCallbackRequestDto) GetPhotoURL() OptString

GetPhotoURL returns the value of PhotoURL.

func (*TelegramCallbackRequestDto) GetUsername

func (s *TelegramCallbackRequestDto) GetUsername() OptString

GetUsername returns the value of Username.

func (*TelegramCallbackRequestDto) MarshalJSON

func (s *TelegramCallbackRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TelegramCallbackRequestDto) SetAuthDate

func (s *TelegramCallbackRequestDto) SetAuthDate(val float64)

SetAuthDate sets the value of AuthDate.

func (*TelegramCallbackRequestDto) SetFake

func (s *TelegramCallbackRequestDto) SetFake()

SetFake set fake values.

func (*TelegramCallbackRequestDto) SetFirstName

func (s *TelegramCallbackRequestDto) SetFirstName(val string)

SetFirstName sets the value of FirstName.

func (*TelegramCallbackRequestDto) SetHash

func (s *TelegramCallbackRequestDto) SetHash(val string)

SetHash sets the value of Hash.

func (*TelegramCallbackRequestDto) SetID

func (s *TelegramCallbackRequestDto) SetID(val float64)

SetID sets the value of ID.

func (*TelegramCallbackRequestDto) SetLastName

func (s *TelegramCallbackRequestDto) SetLastName(val OptString)

SetLastName sets the value of LastName.

func (*TelegramCallbackRequestDto) SetPhotoURL

func (s *TelegramCallbackRequestDto) SetPhotoURL(val OptString)

SetPhotoURL sets the value of PhotoURL.

func (*TelegramCallbackRequestDto) SetUsername

func (s *TelegramCallbackRequestDto) SetUsername(val OptString)

SetUsername sets the value of Username.

func (*TelegramCallbackRequestDto) UnmarshalJSON

func (s *TelegramCallbackRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TelegramCallbackRequestDto) Validate

func (s *TelegramCallbackRequestDto) Validate() error

type Template

type Template struct {
	UUID                uuid.UUID            `json:"uuid"`
	ViewPosition        int                  `json:"viewPosition"`
	Name                string               `json:"name"`
	TemplateType        TemplateTemplateType `json:"templateType"`
	TemplateJson        jx.Raw               `json:"templateJson"`
	EncodedTemplateYaml NilString            `json:"encodedTemplateYaml"`
}

Ref: #/components/schemas/Template

func (*Template) Decode

func (s *Template) Decode(d *jx.Decoder) error

Decode decodes Template from json.

func (*Template) Encode

func (s *Template) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Template) GetEncodedTemplateYaml

func (s *Template) GetEncodedTemplateYaml() NilString

GetEncodedTemplateYaml returns the value of EncodedTemplateYaml.

func (*Template) GetName

func (s *Template) GetName() string

GetName returns the value of Name.

func (*Template) GetTemplateJson

func (s *Template) GetTemplateJson() jx.Raw

GetTemplateJson returns the value of TemplateJson.

func (*Template) GetTemplateType

func (s *Template) GetTemplateType() TemplateTemplateType

GetTemplateType returns the value of TemplateType.

func (*Template) GetUUID

func (s *Template) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*Template) GetViewPosition

func (s *Template) GetViewPosition() int

GetViewPosition returns the value of ViewPosition.

func (*Template) MarshalJSON

func (s *Template) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Template) SetEncodedTemplateYaml

func (s *Template) SetEncodedTemplateYaml(val NilString)

SetEncodedTemplateYaml sets the value of EncodedTemplateYaml.

func (*Template) SetFake

func (s *Template) SetFake()

SetFake set fake values.

func (*Template) SetName

func (s *Template) SetName(val string)

SetName sets the value of Name.

func (*Template) SetTemplateJson

func (s *Template) SetTemplateJson(val jx.Raw)

SetTemplateJson sets the value of TemplateJson.

func (*Template) SetTemplateType

func (s *Template) SetTemplateType(val TemplateTemplateType)

SetTemplateType sets the value of TemplateType.

func (*Template) SetUUID

func (s *Template) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*Template) SetViewPosition

func (s *Template) SetViewPosition(val int)

SetViewPosition sets the value of ViewPosition.

func (*Template) UnmarshalJSON

func (s *Template) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Template) Validate

func (s *Template) Validate() error

type TemplateRef

type TemplateRef struct {
	TemplateUuid uuid.UUID               `json:"templateUuid"`
	TemplateType TemplateRefTemplateType `json:"templateType"`
}

Ref: #/components/schemas/TemplateRef

func (*TemplateRef) Decode

func (s *TemplateRef) Decode(d *jx.Decoder) error

Decode decodes TemplateRef from json.

func (*TemplateRef) Encode

func (s *TemplateRef) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TemplateRef) GetTemplateType

func (s *TemplateRef) GetTemplateType() TemplateRefTemplateType

GetTemplateType returns the value of TemplateType.

func (*TemplateRef) GetTemplateUuid

func (s *TemplateRef) GetTemplateUuid() uuid.UUID

GetTemplateUuid returns the value of TemplateUuid.

func (*TemplateRef) MarshalJSON

func (s *TemplateRef) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TemplateRef) SetFake

func (s *TemplateRef) SetFake()

SetFake set fake values.

func (*TemplateRef) SetTemplateType

func (s *TemplateRef) SetTemplateType(val TemplateRefTemplateType)

SetTemplateType sets the value of TemplateType.

func (*TemplateRef) SetTemplateUuid

func (s *TemplateRef) SetTemplateUuid(val uuid.UUID)

SetTemplateUuid sets the value of TemplateUuid.

func (*TemplateRef) UnmarshalJSON

func (s *TemplateRef) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TemplateRef) Validate

func (s *TemplateRef) Validate() error

type TemplateRefTemplateType

type TemplateRefTemplateType string
const (
	TemplateRefTemplateTypeXRAYJSON   TemplateRefTemplateType = "XRAY_JSON"
	TemplateRefTemplateTypeXRAYBASE64 TemplateRefTemplateType = "XRAY_BASE64"
	TemplateRefTemplateTypeMIHOMO     TemplateRefTemplateType = "MIHOMO"
	TemplateRefTemplateTypeSTASH      TemplateRefTemplateType = "STASH"
	TemplateRefTemplateTypeCLASH      TemplateRefTemplateType = "CLASH"
	TemplateRefTemplateTypeSINGBOX    TemplateRefTemplateType = "SINGBOX"
)

func (TemplateRefTemplateType) AllValues

AllValues returns all TemplateRefTemplateType values.

func (*TemplateRefTemplateType) Decode

func (s *TemplateRefTemplateType) Decode(d *jx.Decoder) error

Decode decodes TemplateRefTemplateType from json.

func (TemplateRefTemplateType) Encode

func (s TemplateRefTemplateType) Encode(e *jx.Encoder)

Encode encodes TemplateRefTemplateType as json.

func (TemplateRefTemplateType) MarshalJSON

func (s TemplateRefTemplateType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TemplateRefTemplateType) MarshalText

func (s TemplateRefTemplateType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TemplateRefTemplateType) SetFake

func (s *TemplateRefTemplateType) SetFake()

SetFake set fake values.

func (*TemplateRefTemplateType) UnmarshalJSON

func (s *TemplateRefTemplateType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TemplateRefTemplateType) UnmarshalText

func (s *TemplateRefTemplateType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TemplateRefTemplateType) Validate

func (s TemplateRefTemplateType) Validate() error

type TemplateResponse

type TemplateResponse struct {
	Response Template `json:"response"`
}

Ref: #/components/schemas/TemplateResponse

func (*TemplateResponse) Decode

func (s *TemplateResponse) Decode(d *jx.Decoder) error

Decode decodes TemplateResponse from json.

func (*TemplateResponse) Encode

func (s *TemplateResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TemplateResponse) GetResponse

func (s *TemplateResponse) GetResponse() Template

GetResponse returns the value of Response.

func (*TemplateResponse) MarshalJSON

func (s *TemplateResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TemplateResponse) SetFake

func (s *TemplateResponse) SetFake()

SetFake set fake values.

func (*TemplateResponse) SetResponse

func (s *TemplateResponse) SetResponse(val Template)

SetResponse sets the value of Response.

func (*TemplateResponse) UnmarshalJSON

func (s *TemplateResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TemplateResponse) Validate

func (s *TemplateResponse) Validate() error

type TemplateTemplateType

type TemplateTemplateType string
const (
	TemplateTemplateTypeXRAYJSON   TemplateTemplateType = "XRAY_JSON"
	TemplateTemplateTypeXRAYBASE64 TemplateTemplateType = "XRAY_BASE64"
	TemplateTemplateTypeMIHOMO     TemplateTemplateType = "MIHOMO"
	TemplateTemplateTypeSTASH      TemplateTemplateType = "STASH"
	TemplateTemplateTypeCLASH      TemplateTemplateType = "CLASH"
	TemplateTemplateTypeSINGBOX    TemplateTemplateType = "SINGBOX"
)

func (TemplateTemplateType) AllValues

AllValues returns all TemplateTemplateType values.

func (*TemplateTemplateType) Decode

func (s *TemplateTemplateType) Decode(d *jx.Decoder) error

Decode decodes TemplateTemplateType from json.

func (TemplateTemplateType) Encode

func (s TemplateTemplateType) Encode(e *jx.Encoder)

Encode encodes TemplateTemplateType as json.

func (TemplateTemplateType) MarshalJSON

func (s TemplateTemplateType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TemplateTemplateType) MarshalText

func (s TemplateTemplateType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TemplateTemplateType) SetFake

func (s *TemplateTemplateType) SetFake()

SetFake set fake values.

func (*TemplateTemplateType) UnmarshalJSON

func (s *TemplateTemplateType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TemplateTemplateType) UnmarshalText

func (s *TemplateTemplateType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TemplateTemplateType) Validate

func (s TemplateTemplateType) Validate() error

type TemplatesResponse

type TemplatesResponse struct {
	Response TemplatesResponseResponse `json:"response"`
}

Ref: #/components/schemas/TemplatesResponse

func (*TemplatesResponse) Decode

func (s *TemplatesResponse) Decode(d *jx.Decoder) error

Decode decodes TemplatesResponse from json.

func (*TemplatesResponse) Encode

func (s *TemplatesResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TemplatesResponse) GetResponse

GetResponse returns the value of Response.

func (*TemplatesResponse) MarshalJSON

func (s *TemplatesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TemplatesResponse) SetFake

func (s *TemplatesResponse) SetFake()

SetFake set fake values.

func (*TemplatesResponse) SetResponse

func (s *TemplatesResponse) SetResponse(val TemplatesResponseResponse)

SetResponse sets the value of Response.

func (*TemplatesResponse) UnmarshalJSON

func (s *TemplatesResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TemplatesResponse) Validate

func (s *TemplatesResponse) Validate() error

type TemplatesResponseResponse

type TemplatesResponseResponse struct {
	Total     float64    `json:"total"`
	Templates []Template `json:"templates"`
}

func (*TemplatesResponseResponse) Decode

func (s *TemplatesResponseResponse) Decode(d *jx.Decoder) error

Decode decodes TemplatesResponseResponse from json.

func (*TemplatesResponseResponse) Encode

func (s *TemplatesResponseResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TemplatesResponseResponse) GetTemplates

func (s *TemplatesResponseResponse) GetTemplates() []Template

GetTemplates returns the value of Templates.

func (*TemplatesResponseResponse) GetTotal

func (s *TemplatesResponseResponse) GetTotal() float64

GetTotal returns the value of Total.

func (*TemplatesResponseResponse) MarshalJSON

func (s *TemplatesResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TemplatesResponseResponse) SetFake

func (s *TemplatesResponseResponse) SetFake()

SetFake set fake values.

func (*TemplatesResponseResponse) SetTemplates

func (s *TemplatesResponseResponse) SetTemplates(val []Template)

SetTemplates sets the value of Templates.

func (*TemplatesResponseResponse) SetTotal

func (s *TemplatesResponseResponse) SetTotal(val float64)

SetTotal sets the value of Total.

func (*TemplatesResponseResponse) UnmarshalJSON

func (s *TemplatesResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TemplatesResponseResponse) Validate

func (s *TemplatesResponseResponse) Validate() error

type TgAuthSettings

type TgAuthSettings struct {
	Enabled  bool      `json:"enabled"`
	BotToken NilString `json:"botToken"`
	AdminIds []string  `json:"adminIds"`
}

Ref: #/components/schemas/TgAuthSettings

func (*TgAuthSettings) Decode

func (s *TgAuthSettings) Decode(d *jx.Decoder) error

Decode decodes TgAuthSettings from json.

func (*TgAuthSettings) Encode

func (s *TgAuthSettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TgAuthSettings) GetAdminIds

func (s *TgAuthSettings) GetAdminIds() []string

GetAdminIds returns the value of AdminIds.

func (*TgAuthSettings) GetBotToken

func (s *TgAuthSettings) GetBotToken() NilString

GetBotToken returns the value of BotToken.

func (*TgAuthSettings) GetEnabled

func (s *TgAuthSettings) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*TgAuthSettings) MarshalJSON

func (s *TgAuthSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TgAuthSettings) SetAdminIds

func (s *TgAuthSettings) SetAdminIds(val []string)

SetAdminIds sets the value of AdminIds.

func (*TgAuthSettings) SetBotToken

func (s *TgAuthSettings) SetBotToken(val NilString)

SetBotToken sets the value of BotToken.

func (*TgAuthSettings) SetEnabled

func (s *TgAuthSettings) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*TgAuthSettings) SetFake

func (s *TgAuthSettings) SetFake()

SetFake set fake values.

func (*TgAuthSettings) UnmarshalJSON

func (s *TgAuthSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TgAuthSettings) Validate

func (s *TgAuthSettings) Validate() error

type TokenResponse

type TokenResponse struct {
	Response TokenResponseResponse `json:"response"`
}

Ref: #/components/schemas/TokenResponse

func (*TokenResponse) Decode

func (s *TokenResponse) Decode(d *jx.Decoder) error

Decode decodes TokenResponse from json.

func (*TokenResponse) Encode

func (s *TokenResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TokenResponse) GetResponse

func (s *TokenResponse) GetResponse() TokenResponseResponse

GetResponse returns the value of Response.

func (*TokenResponse) MarshalJSON

func (s *TokenResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TokenResponse) SetFake

func (s *TokenResponse) SetFake()

SetFake set fake values.

func (*TokenResponse) SetResponse

func (s *TokenResponse) SetResponse(val TokenResponseResponse)

SetResponse sets the value of Response.

func (*TokenResponse) UnmarshalJSON

func (s *TokenResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TokenResponseResponse

type TokenResponseResponse struct {
	AccessToken string `json:"accessToken"`
}

func (*TokenResponseResponse) Decode

func (s *TokenResponseResponse) Decode(d *jx.Decoder) error

Decode decodes TokenResponseResponse from json.

func (*TokenResponseResponse) Encode

func (s *TokenResponseResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TokenResponseResponse) GetAccessToken

func (s *TokenResponseResponse) GetAccessToken() string

GetAccessToken returns the value of AccessToken.

func (*TokenResponseResponse) MarshalJSON

func (s *TokenResponseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TokenResponseResponse) SetAccessToken

func (s *TokenResponseResponse) SetAccessToken(val string)

SetAccessToken sets the value of AccessToken.

func (*TokenResponseResponse) SetFake

func (s *TokenResponseResponse) SetFake()

SetFake set fake values.

func (*TokenResponseResponse) UnmarshalJSON

func (s *TokenResponseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TokenResponseStatusCode

type TokenResponseStatusCode struct {
	StatusCode int
	Response   TokenResponse
}

TokenResponseStatusCode wraps TokenResponse with StatusCode.

func (*TokenResponseStatusCode) GetResponse

func (s *TokenResponseStatusCode) GetResponse() TokenResponse

GetResponse returns the value of Response.

func (*TokenResponseStatusCode) GetStatusCode

func (s *TokenResponseStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*TokenResponseStatusCode) SetResponse

func (s *TokenResponseStatusCode) SetResponse(val TokenResponse)

SetResponse sets the value of Response.

func (*TokenResponseStatusCode) SetStatusCode

func (s *TokenResponseStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

type UnauthorizedError

type UnauthorizedError struct {
	Message    string  `json:"message"`
	StatusCode float64 `json:"statusCode"`
}

Ref: #/components/schemas/UnauthorizedError

func (*UnauthorizedError) Decode

func (s *UnauthorizedError) Decode(d *jx.Decoder) error

Decode decodes UnauthorizedError from json.

func (*UnauthorizedError) Encode

func (s *UnauthorizedError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UnauthorizedError) GetMessage

func (s *UnauthorizedError) GetMessage() string

GetMessage returns the value of Message.

func (*UnauthorizedError) GetStatusCode

func (s *UnauthorizedError) GetStatusCode() float64

GetStatusCode returns the value of StatusCode.

func (*UnauthorizedError) MarshalJSON

func (s *UnauthorizedError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnauthorizedError) SetFake

func (s *UnauthorizedError) SetFake()

SetFake set fake values.

func (*UnauthorizedError) SetMessage

func (s *UnauthorizedError) SetMessage(val string)

SetMessage sets the value of Message.

func (*UnauthorizedError) SetStatusCode

func (s *UnauthorizedError) SetStatusCode(val float64)

SetStatusCode sets the value of StatusCode.

func (*UnauthorizedError) UnmarshalJSON

func (s *UnauthorizedError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnauthorizedError) Validate

func (s *UnauthorizedError) Validate() error

type UnknownFieldsDecoder

type UnknownFieldsDecoder struct {
	// If true, logs warnings about unknown fields
	LogUnknownFields bool
	// If true, ignores unknown fields silently
	SilentMode bool
}

UnknownFieldsDecoder is a wrapper that safely handles unknown fields in JSON responses. It allows the library to gracefully handle API responses that contain fields not defined in the DTO models.

func NewUnknownFieldsDecoder

func NewUnknownFieldsDecoder() *UnknownFieldsDecoder

NewUnknownFieldsDecoder creates a new decoder that handles unknown fields

func (*UnknownFieldsDecoder) DecodeWithUnknownFields

func (d *UnknownFieldsDecoder) DecodeWithUnknownFields(data []byte, v interface{}) error

DecodeWithUnknownFields decodes JSON data into a struct, ignoring unknown fields This is useful for API responses that might contain new fields not yet defined in the DTO

type UpdateConfigProfileRequestDto

type UpdateConfigProfileRequestDto struct {
	UUID   uuid.UUID                            `json:"uuid"`
	Name   OptString                            `json:"name"`
	Config *UpdateConfigProfileRequestDtoConfig `json:"config"`
}

Ref: #/components/schemas/UpdateConfigProfileRequestDto

func (*UpdateConfigProfileRequestDto) Decode

Decode decodes UpdateConfigProfileRequestDto from json.

func (*UpdateConfigProfileRequestDto) Encode

Encode implements json.Marshaler.

func (*UpdateConfigProfileRequestDto) GetConfig

GetConfig returns the value of Config.

func (*UpdateConfigProfileRequestDto) GetName

GetName returns the value of Name.

func (*UpdateConfigProfileRequestDto) GetUUID

GetUUID returns the value of UUID.

func (*UpdateConfigProfileRequestDto) MarshalJSON

func (s *UpdateConfigProfileRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateConfigProfileRequestDto) SetConfig

SetConfig sets the value of Config.

func (*UpdateConfigProfileRequestDto) SetFake

func (s *UpdateConfigProfileRequestDto) SetFake()

SetFake set fake values.

func (*UpdateConfigProfileRequestDto) SetName

func (s *UpdateConfigProfileRequestDto) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateConfigProfileRequestDto) SetUUID

func (s *UpdateConfigProfileRequestDto) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*UpdateConfigProfileRequestDto) UnmarshalJSON

func (s *UpdateConfigProfileRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateConfigProfileRequestDto) Validate

func (s *UpdateConfigProfileRequestDto) Validate() error

type UpdateConfigProfileRequestDtoConfig

type UpdateConfigProfileRequestDtoConfig struct{}

func (*UpdateConfigProfileRequestDtoConfig) Decode

Decode decodes UpdateConfigProfileRequestDtoConfig from json.

func (*UpdateConfigProfileRequestDtoConfig) Encode

Encode implements json.Marshaler.

func (*UpdateConfigProfileRequestDtoConfig) MarshalJSON

func (s *UpdateConfigProfileRequestDtoConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateConfigProfileRequestDtoConfig) SetFake

SetFake set fake values.

func (*UpdateConfigProfileRequestDtoConfig) UnmarshalJSON

func (s *UpdateConfigProfileRequestDtoConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateExternalSquadRequestDto

type UpdateExternalSquadRequestDto struct {
	UUID                 uuid.UUID                                          `json:"uuid"`
	Name                 OptString                                          `json:"name"`
	Templates            []TemplateRef                                      `json:"templates"`
	SubscriptionSettings OptNilSubscriptionSettings                         `json:"subscriptionSettings"`
	HostOverrides        OptNilHostOverride                                 `json:"hostOverrides"`
	ResponseHeaders      OptNilUpdateExternalSquadRequestDtoResponseHeaders `json:"responseHeaders"`
	HwidSettings         OptNilHwidSettings                                 `json:"hwidSettings"`
	CustomRemarks        OptNilCustomRemark                                 `json:"customRemarks"`
	SubpageConfigUuid    OptNilUUID                                         `json:"subpageConfigUuid"`
}

Ref: #/components/schemas/UpdateExternalSquadRequestDto

func (*UpdateExternalSquadRequestDto) Decode

Decode decodes UpdateExternalSquadRequestDto from json.

func (*UpdateExternalSquadRequestDto) Encode

Encode implements json.Marshaler.

func (*UpdateExternalSquadRequestDto) GetCustomRemarks

func (s *UpdateExternalSquadRequestDto) GetCustomRemarks() OptNilCustomRemark

GetCustomRemarks returns the value of CustomRemarks.

func (*UpdateExternalSquadRequestDto) GetHostOverrides

func (s *UpdateExternalSquadRequestDto) GetHostOverrides() OptNilHostOverride

GetHostOverrides returns the value of HostOverrides.

func (*UpdateExternalSquadRequestDto) GetHwidSettings

GetHwidSettings returns the value of HwidSettings.

func (*UpdateExternalSquadRequestDto) GetName

GetName returns the value of Name.

func (*UpdateExternalSquadRequestDto) GetResponseHeaders

GetResponseHeaders returns the value of ResponseHeaders.

func (*UpdateExternalSquadRequestDto) GetSubpageConfigUuid

func (s *UpdateExternalSquadRequestDto) GetSubpageConfigUuid() OptNilUUID

GetSubpageConfigUuid returns the value of SubpageConfigUuid.

func (*UpdateExternalSquadRequestDto) GetSubscriptionSettings

func (s *UpdateExternalSquadRequestDto) GetSubscriptionSettings() OptNilSubscriptionSettings

GetSubscriptionSettings returns the value of SubscriptionSettings.

func (*UpdateExternalSquadRequestDto) GetTemplates

func (s *UpdateExternalSquadRequestDto) GetTemplates() []TemplateRef

GetTemplates returns the value of Templates.

func (*UpdateExternalSquadRequestDto) GetUUID

GetUUID returns the value of UUID.

func (*UpdateExternalSquadRequestDto) MarshalJSON

func (s *UpdateExternalSquadRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateExternalSquadRequestDto) SetCustomRemarks

func (s *UpdateExternalSquadRequestDto) SetCustomRemarks(val OptNilCustomRemark)

SetCustomRemarks sets the value of CustomRemarks.

func (*UpdateExternalSquadRequestDto) SetFake

func (s *UpdateExternalSquadRequestDto) SetFake()

SetFake set fake values.

func (*UpdateExternalSquadRequestDto) SetHostOverrides

func (s *UpdateExternalSquadRequestDto) SetHostOverrides(val OptNilHostOverride)

SetHostOverrides sets the value of HostOverrides.

func (*UpdateExternalSquadRequestDto) SetHwidSettings

func (s *UpdateExternalSquadRequestDto) SetHwidSettings(val OptNilHwidSettings)

SetHwidSettings sets the value of HwidSettings.

func (*UpdateExternalSquadRequestDto) SetName

func (s *UpdateExternalSquadRequestDto) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateExternalSquadRequestDto) SetResponseHeaders

SetResponseHeaders sets the value of ResponseHeaders.

func (*UpdateExternalSquadRequestDto) SetSubpageConfigUuid

func (s *UpdateExternalSquadRequestDto) SetSubpageConfigUuid(val OptNilUUID)

SetSubpageConfigUuid sets the value of SubpageConfigUuid.

func (*UpdateExternalSquadRequestDto) SetSubscriptionSettings

func (s *UpdateExternalSquadRequestDto) SetSubscriptionSettings(val OptNilSubscriptionSettings)

SetSubscriptionSettings sets the value of SubscriptionSettings.

func (*UpdateExternalSquadRequestDto) SetTemplates

func (s *UpdateExternalSquadRequestDto) SetTemplates(val []TemplateRef)

SetTemplates sets the value of Templates.

func (*UpdateExternalSquadRequestDto) SetUUID

func (s *UpdateExternalSquadRequestDto) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*UpdateExternalSquadRequestDto) UnmarshalJSON

func (s *UpdateExternalSquadRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateExternalSquadRequestDto) Validate

func (s *UpdateExternalSquadRequestDto) Validate() error

type UpdateExternalSquadRequestDtoResponseHeaders

type UpdateExternalSquadRequestDtoResponseHeaders map[string]string

func (*UpdateExternalSquadRequestDtoResponseHeaders) Decode

Decode decodes UpdateExternalSquadRequestDtoResponseHeaders from json.

func (UpdateExternalSquadRequestDtoResponseHeaders) Encode

Encode implements json.Marshaler.

func (UpdateExternalSquadRequestDtoResponseHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*UpdateExternalSquadRequestDtoResponseHeaders) SetFake

SetFake set fake values.

func (*UpdateExternalSquadRequestDtoResponseHeaders) UnmarshalJSON

func (s *UpdateExternalSquadRequestDtoResponseHeaders) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateHostRequestDto

type UpdateHostRequestDto struct {
	UUID              uuid.UUID                             `json:"uuid"`
	Inbound           OptInboundRef                         `json:"inbound"`
	Remark            OptString                             `json:"remark"`
	Address           OptString                             `json:"address"`
	Port              OptInt                                `json:"port"`
	Path              OptString                             `json:"path"`
	Sni               OptString                             `json:"sni"`
	Host              OptString                             `json:"host"`
	Alpn              OptNilUpdateHostRequestDtoAlpn        `json:"alpn"`
	Fingerprint       OptNilUpdateHostRequestDtoFingerprint `json:"fingerprint"`
	IsDisabled        OptBool                               `json:"isDisabled"`
	SecurityLayer     OptUpdateHostRequestDtoSecurityLayer  `json:"securityLayer"`
	XHttpExtraParams  jx.Raw                                `json:"xHttpExtraParams"`
	MuxParams         jx.Raw                                `json:"muxParams"`
	SockoptParams     jx.Raw                                `json:"sockoptParams"`
	ServerDescription OptNilString                          `json:"serverDescription"`
	// Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores
	// and colons are allowed.
	Tag                    OptNilString `json:"tag"`
	IsHidden               OptBool      `json:"isHidden"`
	OverrideSniFromAddress OptBool      `json:"overrideSniFromAddress"`
	KeepSniBlank           OptBool      `json:"keepSniBlank"`
	VlessRouteId           OptNilInt    `json:"vlessRouteId"`
	AllowInsecure          OptBool      `json:"allowInsecure"`
	ShuffleHost            OptBool      `json:"shuffleHost"`
	MihomoX25519           OptBool      `json:"mihomoX25519"`
	Nodes                  []uuid.UUID  `json:"nodes"`
	XrayJsonTemplateUuid   OptNilUUID   `json:"xrayJsonTemplateUuid"`
	// Optional. Internal squads from which the host will be excluded.
	ExcludedInternalSquads []uuid.UUID `json:"excludedInternalSquads"`
}

Ref: #/components/schemas/UpdateHostRequestDto

func (*UpdateHostRequestDto) Decode

func (s *UpdateHostRequestDto) Decode(d *jx.Decoder) error

Decode decodes UpdateHostRequestDto from json.

func (*UpdateHostRequestDto) Encode

func (s *UpdateHostRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateHostRequestDto) GetAddress

func (s *UpdateHostRequestDto) GetAddress() OptString

GetAddress returns the value of Address.

func (*UpdateHostRequestDto) GetAllowInsecure

func (s *UpdateHostRequestDto) GetAllowInsecure() OptBool

GetAllowInsecure returns the value of AllowInsecure.

func (*UpdateHostRequestDto) GetAlpn

GetAlpn returns the value of Alpn.

func (*UpdateHostRequestDto) GetExcludedInternalSquads

func (s *UpdateHostRequestDto) GetExcludedInternalSquads() []uuid.UUID

GetExcludedInternalSquads returns the value of ExcludedInternalSquads.

func (*UpdateHostRequestDto) GetFingerprint

GetFingerprint returns the value of Fingerprint.

func (*UpdateHostRequestDto) GetHost

func (s *UpdateHostRequestDto) GetHost() OptString

GetHost returns the value of Host.

func (*UpdateHostRequestDto) GetInbound

func (s *UpdateHostRequestDto) GetInbound() OptInboundRef

GetInbound returns the value of Inbound.

func (*UpdateHostRequestDto) GetIsDisabled

func (s *UpdateHostRequestDto) GetIsDisabled() OptBool

GetIsDisabled returns the value of IsDisabled.

func (*UpdateHostRequestDto) GetIsHidden

func (s *UpdateHostRequestDto) GetIsHidden() OptBool

GetIsHidden returns the value of IsHidden.

func (*UpdateHostRequestDto) GetKeepSniBlank

func (s *UpdateHostRequestDto) GetKeepSniBlank() OptBool

GetKeepSniBlank returns the value of KeepSniBlank.

func (*UpdateHostRequestDto) GetMihomoX25519

func (s *UpdateHostRequestDto) GetMihomoX25519() OptBool

GetMihomoX25519 returns the value of MihomoX25519.

func (*UpdateHostRequestDto) GetMuxParams

func (s *UpdateHostRequestDto) GetMuxParams() jx.Raw

GetMuxParams returns the value of MuxParams.

func (*UpdateHostRequestDto) GetNodes

func (s *UpdateHostRequestDto) GetNodes() []uuid.UUID

GetNodes returns the value of Nodes.

func (*UpdateHostRequestDto) GetOverrideSniFromAddress

func (s *UpdateHostRequestDto) GetOverrideSniFromAddress() OptBool

GetOverrideSniFromAddress returns the value of OverrideSniFromAddress.

func (*UpdateHostRequestDto) GetPath

func (s *UpdateHostRequestDto) GetPath() OptString

GetPath returns the value of Path.

func (*UpdateHostRequestDto) GetPort

func (s *UpdateHostRequestDto) GetPort() OptInt

GetPort returns the value of Port.

func (*UpdateHostRequestDto) GetRemark

func (s *UpdateHostRequestDto) GetRemark() OptString

GetRemark returns the value of Remark.

func (*UpdateHostRequestDto) GetSecurityLayer

GetSecurityLayer returns the value of SecurityLayer.

func (*UpdateHostRequestDto) GetServerDescription

func (s *UpdateHostRequestDto) GetServerDescription() OptNilString

GetServerDescription returns the value of ServerDescription.

func (*UpdateHostRequestDto) GetShuffleHost

func (s *UpdateHostRequestDto) GetShuffleHost() OptBool

GetShuffleHost returns the value of ShuffleHost.

func (*UpdateHostRequestDto) GetSni

func (s *UpdateHostRequestDto) GetSni() OptString

GetSni returns the value of Sni.

func (*UpdateHostRequestDto) GetSockoptParams

func (s *UpdateHostRequestDto) GetSockoptParams() jx.Raw

GetSockoptParams returns the value of SockoptParams.

func (*UpdateHostRequestDto) GetTag

func (s *UpdateHostRequestDto) GetTag() OptNilString

GetTag returns the value of Tag.

func (*UpdateHostRequestDto) GetUUID

func (s *UpdateHostRequestDto) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*UpdateHostRequestDto) GetVlessRouteId

func (s *UpdateHostRequestDto) GetVlessRouteId() OptNilInt

GetVlessRouteId returns the value of VlessRouteId.

func (*UpdateHostRequestDto) GetXHttpExtraParams

func (s *UpdateHostRequestDto) GetXHttpExtraParams() jx.Raw

GetXHttpExtraParams returns the value of XHttpExtraParams.

func (*UpdateHostRequestDto) GetXrayJsonTemplateUuid

func (s *UpdateHostRequestDto) GetXrayJsonTemplateUuid() OptNilUUID

GetXrayJsonTemplateUuid returns the value of XrayJsonTemplateUuid.

func (*UpdateHostRequestDto) MarshalJSON

func (s *UpdateHostRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateHostRequestDto) SetAddress

func (s *UpdateHostRequestDto) SetAddress(val OptString)

SetAddress sets the value of Address.

func (*UpdateHostRequestDto) SetAllowInsecure

func (s *UpdateHostRequestDto) SetAllowInsecure(val OptBool)

SetAllowInsecure sets the value of AllowInsecure.

func (*UpdateHostRequestDto) SetAlpn

SetAlpn sets the value of Alpn.

func (*UpdateHostRequestDto) SetExcludedInternalSquads

func (s *UpdateHostRequestDto) SetExcludedInternalSquads(val []uuid.UUID)

SetExcludedInternalSquads sets the value of ExcludedInternalSquads.

func (*UpdateHostRequestDto) SetFake

func (s *UpdateHostRequestDto) SetFake()

SetFake set fake values.

func (*UpdateHostRequestDto) SetFingerprint

SetFingerprint sets the value of Fingerprint.

func (*UpdateHostRequestDto) SetHost

func (s *UpdateHostRequestDto) SetHost(val OptString)

SetHost sets the value of Host.

func (*UpdateHostRequestDto) SetInbound

func (s *UpdateHostRequestDto) SetInbound(val OptInboundRef)

SetInbound sets the value of Inbound.

func (*UpdateHostRequestDto) SetIsDisabled

func (s *UpdateHostRequestDto) SetIsDisabled(val OptBool)

SetIsDisabled sets the value of IsDisabled.

func (*UpdateHostRequestDto) SetIsHidden

func (s *UpdateHostRequestDto) SetIsHidden(val OptBool)

SetIsHidden sets the value of IsHidden.

func (*UpdateHostRequestDto) SetKeepSniBlank

func (s *UpdateHostRequestDto) SetKeepSniBlank(val OptBool)

SetKeepSniBlank sets the value of KeepSniBlank.

func (*UpdateHostRequestDto) SetMihomoX25519

func (s *UpdateHostRequestDto) SetMihomoX25519(val OptBool)

SetMihomoX25519 sets the value of MihomoX25519.

func (*UpdateHostRequestDto) SetMuxParams

func (s *UpdateHostRequestDto) SetMuxParams(val jx.Raw)

SetMuxParams sets the value of MuxParams.

func (*UpdateHostRequestDto) SetNodes

func (s *UpdateHostRequestDto) SetNodes(val []uuid.UUID)

SetNodes sets the value of Nodes.

func (*UpdateHostRequestDto) SetOverrideSniFromAddress

func (s *UpdateHostRequestDto) SetOverrideSniFromAddress(val OptBool)

SetOverrideSniFromAddress sets the value of OverrideSniFromAddress.

func (*UpdateHostRequestDto) SetPath

func (s *UpdateHostRequestDto) SetPath(val OptString)

SetPath sets the value of Path.

func (*UpdateHostRequestDto) SetPort

func (s *UpdateHostRequestDto) SetPort(val OptInt)

SetPort sets the value of Port.

func (*UpdateHostRequestDto) SetRemark

func (s *UpdateHostRequestDto) SetRemark(val OptString)

SetRemark sets the value of Remark.

func (*UpdateHostRequestDto) SetSecurityLayer

SetSecurityLayer sets the value of SecurityLayer.

func (*UpdateHostRequestDto) SetServerDescription

func (s *UpdateHostRequestDto) SetServerDescription(val OptNilString)

SetServerDescription sets the value of ServerDescription.

func (*UpdateHostRequestDto) SetShuffleHost

func (s *UpdateHostRequestDto) SetShuffleHost(val OptBool)

SetShuffleHost sets the value of ShuffleHost.

func (*UpdateHostRequestDto) SetSni

func (s *UpdateHostRequestDto) SetSni(val OptString)

SetSni sets the value of Sni.

func (*UpdateHostRequestDto) SetSockoptParams

func (s *UpdateHostRequestDto) SetSockoptParams(val jx.Raw)

SetSockoptParams sets the value of SockoptParams.

func (*UpdateHostRequestDto) SetTag

func (s *UpdateHostRequestDto) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*UpdateHostRequestDto) SetUUID

func (s *UpdateHostRequestDto) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*UpdateHostRequestDto) SetVlessRouteId

func (s *UpdateHostRequestDto) SetVlessRouteId(val OptNilInt)

SetVlessRouteId sets the value of VlessRouteId.

func (*UpdateHostRequestDto) SetXHttpExtraParams

func (s *UpdateHostRequestDto) SetXHttpExtraParams(val jx.Raw)

SetXHttpExtraParams sets the value of XHttpExtraParams.

func (*UpdateHostRequestDto) SetXrayJsonTemplateUuid

func (s *UpdateHostRequestDto) SetXrayJsonTemplateUuid(val OptNilUUID)

SetXrayJsonTemplateUuid sets the value of XrayJsonTemplateUuid.

func (*UpdateHostRequestDto) UnmarshalJSON

func (s *UpdateHostRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateHostRequestDto) Validate

func (s *UpdateHostRequestDto) Validate() error

type UpdateHostRequestDtoAlpn

type UpdateHostRequestDtoAlpn string
const (
	UpdateHostRequestDtoAlpnH3         UpdateHostRequestDtoAlpn = "h3"
	UpdateHostRequestDtoAlpnH2         UpdateHostRequestDtoAlpn = "h2"
	UpdateHostRequestDtoAlpnHTTP11     UpdateHostRequestDtoAlpn = "http/1.1"
	UpdateHostRequestDtoAlpnH2HTTP11   UpdateHostRequestDtoAlpn = "h2,http/1.1"
	UpdateHostRequestDtoAlpnH3H2HTTP11 UpdateHostRequestDtoAlpn = "h3,h2,http/1.1"
	UpdateHostRequestDtoAlpnH3H2       UpdateHostRequestDtoAlpn = "h3,h2"
)

func (UpdateHostRequestDtoAlpn) AllValues

AllValues returns all UpdateHostRequestDtoAlpn values.

func (*UpdateHostRequestDtoAlpn) Decode

func (s *UpdateHostRequestDtoAlpn) Decode(d *jx.Decoder) error

Decode decodes UpdateHostRequestDtoAlpn from json.

func (UpdateHostRequestDtoAlpn) Encode

func (s UpdateHostRequestDtoAlpn) Encode(e *jx.Encoder)

Encode encodes UpdateHostRequestDtoAlpn as json.

func (UpdateHostRequestDtoAlpn) MarshalJSON

func (s UpdateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UpdateHostRequestDtoAlpn) MarshalText

func (s UpdateHostRequestDtoAlpn) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UpdateHostRequestDtoAlpn) SetFake

func (s *UpdateHostRequestDtoAlpn) SetFake()

SetFake set fake values.

func (*UpdateHostRequestDtoAlpn) UnmarshalJSON

func (s *UpdateHostRequestDtoAlpn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateHostRequestDtoAlpn) UnmarshalText

func (s *UpdateHostRequestDtoAlpn) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UpdateHostRequestDtoAlpn) Validate

func (s UpdateHostRequestDtoAlpn) Validate() error

type UpdateHostRequestDtoFingerprint

type UpdateHostRequestDtoFingerprint string
const (
	UpdateHostRequestDtoFingerprintChrome     UpdateHostRequestDtoFingerprint = "chrome"
	UpdateHostRequestDtoFingerprintFirefox    UpdateHostRequestDtoFingerprint = "firefox"
	UpdateHostRequestDtoFingerprintSafari     UpdateHostRequestDtoFingerprint = "safari"
	UpdateHostRequestDtoFingerprintIos        UpdateHostRequestDtoFingerprint = "ios"
	UpdateHostRequestDtoFingerprintAndroid    UpdateHostRequestDtoFingerprint = "android"
	UpdateHostRequestDtoFingerprintEdge       UpdateHostRequestDtoFingerprint = "edge"
	UpdateHostRequestDtoFingerprintQq         UpdateHostRequestDtoFingerprint = "qq"
	UpdateHostRequestDtoFingerprintRandom     UpdateHostRequestDtoFingerprint = "random"
	UpdateHostRequestDtoFingerprintRandomized UpdateHostRequestDtoFingerprint = "randomized"
)

func (UpdateHostRequestDtoFingerprint) AllValues

AllValues returns all UpdateHostRequestDtoFingerprint values.

func (*UpdateHostRequestDtoFingerprint) Decode

Decode decodes UpdateHostRequestDtoFingerprint from json.

func (UpdateHostRequestDtoFingerprint) Encode

Encode encodes UpdateHostRequestDtoFingerprint as json.

func (UpdateHostRequestDtoFingerprint) MarshalJSON

func (s UpdateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UpdateHostRequestDtoFingerprint) MarshalText

func (s UpdateHostRequestDtoFingerprint) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UpdateHostRequestDtoFingerprint) SetFake

func (s *UpdateHostRequestDtoFingerprint) SetFake()

SetFake set fake values.

func (*UpdateHostRequestDtoFingerprint) UnmarshalJSON

func (s *UpdateHostRequestDtoFingerprint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateHostRequestDtoFingerprint) UnmarshalText

func (s *UpdateHostRequestDtoFingerprint) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UpdateHostRequestDtoFingerprint) Validate

type UpdateHostRequestDtoSecurityLayer

type UpdateHostRequestDtoSecurityLayer string
const (
	UpdateHostRequestDtoSecurityLayerDEFAULT UpdateHostRequestDtoSecurityLayer = "DEFAULT"
	UpdateHostRequestDtoSecurityLayerTLS     UpdateHostRequestDtoSecurityLayer = "TLS"
	UpdateHostRequestDtoSecurityLayerNONE    UpdateHostRequestDtoSecurityLayer = "NONE"
)

func (UpdateHostRequestDtoSecurityLayer) AllValues

AllValues returns all UpdateHostRequestDtoSecurityLayer values.

func (*UpdateHostRequestDtoSecurityLayer) Decode

Decode decodes UpdateHostRequestDtoSecurityLayer from json.

func (UpdateHostRequestDtoSecurityLayer) Encode

Encode encodes UpdateHostRequestDtoSecurityLayer as json.

func (UpdateHostRequestDtoSecurityLayer) MarshalJSON

func (s UpdateHostRequestDtoSecurityLayer) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UpdateHostRequestDtoSecurityLayer) MarshalText

func (s UpdateHostRequestDtoSecurityLayer) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UpdateHostRequestDtoSecurityLayer) SetFake

func (s *UpdateHostRequestDtoSecurityLayer) SetFake()

SetFake set fake values.

func (*UpdateHostRequestDtoSecurityLayer) UnmarshalJSON

func (s *UpdateHostRequestDtoSecurityLayer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateHostRequestDtoSecurityLayer) UnmarshalText

func (s *UpdateHostRequestDtoSecurityLayer) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UpdateHostRequestDtoSecurityLayer) Validate

type UpdateInfraBillingNodeRequestDto

type UpdateInfraBillingNodeRequestDto struct {
	Uuids         []uuid.UUID `json:"uuids"`
	NextBillingAt time.Time   `json:"nextBillingAt"`
}

Ref: #/components/schemas/UpdateInfraBillingNodeRequestDto

func (*UpdateInfraBillingNodeRequestDto) Decode

Decode decodes UpdateInfraBillingNodeRequestDto from json.

func (*UpdateInfraBillingNodeRequestDto) Encode

Encode implements json.Marshaler.

func (*UpdateInfraBillingNodeRequestDto) GetNextBillingAt

func (s *UpdateInfraBillingNodeRequestDto) GetNextBillingAt() time.Time

GetNextBillingAt returns the value of NextBillingAt.

func (*UpdateInfraBillingNodeRequestDto) GetUuids

func (s *UpdateInfraBillingNodeRequestDto) GetUuids() []uuid.UUID

GetUuids returns the value of Uuids.

func (*UpdateInfraBillingNodeRequestDto) MarshalJSON

func (s *UpdateInfraBillingNodeRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateInfraBillingNodeRequestDto) SetFake

func (s *UpdateInfraBillingNodeRequestDto) SetFake()

SetFake set fake values.

func (*UpdateInfraBillingNodeRequestDto) SetNextBillingAt

func (s *UpdateInfraBillingNodeRequestDto) SetNextBillingAt(val time.Time)

SetNextBillingAt sets the value of NextBillingAt.

func (*UpdateInfraBillingNodeRequestDto) SetUuids

func (s *UpdateInfraBillingNodeRequestDto) SetUuids(val []uuid.UUID)

SetUuids sets the value of Uuids.

func (*UpdateInfraBillingNodeRequestDto) UnmarshalJSON

func (s *UpdateInfraBillingNodeRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateInfraBillingNodeRequestDto) Validate

type UpdateInfraProviderRequestDto

type UpdateInfraProviderRequestDto struct {
	UUID        uuid.UUID `json:"uuid"`
	Name        OptString `json:"name"`
	FaviconLink OptNilURI `json:"faviconLink"`
	LoginUrl    OptNilURI `json:"loginUrl"`
}

Ref: #/components/schemas/UpdateInfraProviderRequestDto

func (*UpdateInfraProviderRequestDto) Decode

Decode decodes UpdateInfraProviderRequestDto from json.

func (*UpdateInfraProviderRequestDto) Encode

Encode implements json.Marshaler.

func (s *UpdateInfraProviderRequestDto) GetFaviconLink() OptNilURI

GetFaviconLink returns the value of FaviconLink.

func (*UpdateInfraProviderRequestDto) GetLoginUrl

func (s *UpdateInfraProviderRequestDto) GetLoginUrl() OptNilURI

GetLoginUrl returns the value of LoginUrl.

func (*UpdateInfraProviderRequestDto) GetName

GetName returns the value of Name.

func (*UpdateInfraProviderRequestDto) GetUUID

GetUUID returns the value of UUID.

func (*UpdateInfraProviderRequestDto) MarshalJSON

func (s *UpdateInfraProviderRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateInfraProviderRequestDto) SetFake

func (s *UpdateInfraProviderRequestDto) SetFake()

SetFake set fake values.

func (s *UpdateInfraProviderRequestDto) SetFaviconLink(val OptNilURI)

SetFaviconLink sets the value of FaviconLink.

func (*UpdateInfraProviderRequestDto) SetLoginUrl

func (s *UpdateInfraProviderRequestDto) SetLoginUrl(val OptNilURI)

SetLoginUrl sets the value of LoginUrl.

func (*UpdateInfraProviderRequestDto) SetName

func (s *UpdateInfraProviderRequestDto) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateInfraProviderRequestDto) SetUUID

func (s *UpdateInfraProviderRequestDto) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*UpdateInfraProviderRequestDto) UnmarshalJSON

func (s *UpdateInfraProviderRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateInfraProviderRequestDto) Validate

func (s *UpdateInfraProviderRequestDto) Validate() error

type UpdateInternalSquadRequestDto

type UpdateInternalSquadRequestDto struct {
	UUID     uuid.UUID   `json:"uuid"`
	Name     OptString   `json:"name"`
	Inbounds []uuid.UUID `json:"inbounds"`
}

Ref: #/components/schemas/UpdateInternalSquadRequestDto

func (*UpdateInternalSquadRequestDto) Decode

Decode decodes UpdateInternalSquadRequestDto from json.

func (*UpdateInternalSquadRequestDto) Encode

Encode implements json.Marshaler.

func (*UpdateInternalSquadRequestDto) GetInbounds

func (s *UpdateInternalSquadRequestDto) GetInbounds() []uuid.UUID

GetInbounds returns the value of Inbounds.

func (*UpdateInternalSquadRequestDto) GetName

GetName returns the value of Name.

func (*UpdateInternalSquadRequestDto) GetUUID

GetUUID returns the value of UUID.

func (*UpdateInternalSquadRequestDto) MarshalJSON

func (s *UpdateInternalSquadRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateInternalSquadRequestDto) SetFake

func (s *UpdateInternalSquadRequestDto) SetFake()

SetFake set fake values.

func (*UpdateInternalSquadRequestDto) SetInbounds

func (s *UpdateInternalSquadRequestDto) SetInbounds(val []uuid.UUID)

SetInbounds sets the value of Inbounds.

func (*UpdateInternalSquadRequestDto) SetName

func (s *UpdateInternalSquadRequestDto) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateInternalSquadRequestDto) SetUUID

func (s *UpdateInternalSquadRequestDto) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*UpdateInternalSquadRequestDto) UnmarshalJSON

func (s *UpdateInternalSquadRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateInternalSquadRequestDto) Validate

func (s *UpdateInternalSquadRequestDto) Validate() error

type UpdateNodeRequestDto

type UpdateNodeRequestDto struct {
	UUID                    uuid.UUID           `json:"uuid"`
	Name                    OptString           `json:"name"`
	Address                 OptString           `json:"address"`
	Port                    OptFloat64          `json:"port"`
	IsTrafficTrackingActive OptBool             `json:"isTrafficTrackingActive"`
	TrafficLimitBytes       OptFloat64          `json:"trafficLimitBytes"`
	NotifyPercent           OptFloat64          `json:"notifyPercent"`
	TrafficResetDay         OptFloat64          `json:"trafficResetDay"`
	CountryCode             OptString           `json:"countryCode"`
	ConsumptionMultiplier   OptFloat64          `json:"consumptionMultiplier"`
	ConfigProfile           OptConfigProfileRef `json:"configProfile"`
	ProviderUuid            OptNilUUID          `json:"providerUuid"`
	Tags                    []string            `json:"tags"`
}

Ref: #/components/schemas/UpdateNodeRequestDto

func (*UpdateNodeRequestDto) Decode

func (s *UpdateNodeRequestDto) Decode(d *jx.Decoder) error

Decode decodes UpdateNodeRequestDto from json.

func (*UpdateNodeRequestDto) Encode

func (s *UpdateNodeRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateNodeRequestDto) GetAddress

func (s *UpdateNodeRequestDto) GetAddress() OptString

GetAddress returns the value of Address.

func (*UpdateNodeRequestDto) GetConfigProfile

func (s *UpdateNodeRequestDto) GetConfigProfile() OptConfigProfileRef

GetConfigProfile returns the value of ConfigProfile.

func (*UpdateNodeRequestDto) GetConsumptionMultiplier

func (s *UpdateNodeRequestDto) GetConsumptionMultiplier() OptFloat64

GetConsumptionMultiplier returns the value of ConsumptionMultiplier.

func (*UpdateNodeRequestDto) GetCountryCode

func (s *UpdateNodeRequestDto) GetCountryCode() OptString

GetCountryCode returns the value of CountryCode.

func (*UpdateNodeRequestDto) GetIsTrafficTrackingActive

func (s *UpdateNodeRequestDto) GetIsTrafficTrackingActive() OptBool

GetIsTrafficTrackingActive returns the value of IsTrafficTrackingActive.

func (*UpdateNodeRequestDto) GetName

func (s *UpdateNodeRequestDto) GetName() OptString

GetName returns the value of Name.

func (*UpdateNodeRequestDto) GetNotifyPercent

func (s *UpdateNodeRequestDto) GetNotifyPercent() OptFloat64

GetNotifyPercent returns the value of NotifyPercent.

func (*UpdateNodeRequestDto) GetPort

func (s *UpdateNodeRequestDto) GetPort() OptFloat64

GetPort returns the value of Port.

func (*UpdateNodeRequestDto) GetProviderUuid

func (s *UpdateNodeRequestDto) GetProviderUuid() OptNilUUID

GetProviderUuid returns the value of ProviderUuid.

func (*UpdateNodeRequestDto) GetTags

func (s *UpdateNodeRequestDto) GetTags() []string

GetTags returns the value of Tags.

func (*UpdateNodeRequestDto) GetTrafficLimitBytes

func (s *UpdateNodeRequestDto) GetTrafficLimitBytes() OptFloat64

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*UpdateNodeRequestDto) GetTrafficResetDay

func (s *UpdateNodeRequestDto) GetTrafficResetDay() OptFloat64

GetTrafficResetDay returns the value of TrafficResetDay.

func (*UpdateNodeRequestDto) GetUUID

func (s *UpdateNodeRequestDto) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*UpdateNodeRequestDto) MarshalJSON

func (s *UpdateNodeRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateNodeRequestDto) SetAddress

func (s *UpdateNodeRequestDto) SetAddress(val OptString)

SetAddress sets the value of Address.

func (*UpdateNodeRequestDto) SetConfigProfile

func (s *UpdateNodeRequestDto) SetConfigProfile(val OptConfigProfileRef)

SetConfigProfile sets the value of ConfigProfile.

func (*UpdateNodeRequestDto) SetConsumptionMultiplier

func (s *UpdateNodeRequestDto) SetConsumptionMultiplier(val OptFloat64)

SetConsumptionMultiplier sets the value of ConsumptionMultiplier.

func (*UpdateNodeRequestDto) SetCountryCode

func (s *UpdateNodeRequestDto) SetCountryCode(val OptString)

SetCountryCode sets the value of CountryCode.

func (*UpdateNodeRequestDto) SetFake

func (s *UpdateNodeRequestDto) SetFake()

SetFake set fake values.

func (*UpdateNodeRequestDto) SetIsTrafficTrackingActive

func (s *UpdateNodeRequestDto) SetIsTrafficTrackingActive(val OptBool)

SetIsTrafficTrackingActive sets the value of IsTrafficTrackingActive.

func (*UpdateNodeRequestDto) SetName

func (s *UpdateNodeRequestDto) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateNodeRequestDto) SetNotifyPercent

func (s *UpdateNodeRequestDto) SetNotifyPercent(val OptFloat64)

SetNotifyPercent sets the value of NotifyPercent.

func (*UpdateNodeRequestDto) SetPort

func (s *UpdateNodeRequestDto) SetPort(val OptFloat64)

SetPort sets the value of Port.

func (*UpdateNodeRequestDto) SetProviderUuid

func (s *UpdateNodeRequestDto) SetProviderUuid(val OptNilUUID)

SetProviderUuid sets the value of ProviderUuid.

func (*UpdateNodeRequestDto) SetTags

func (s *UpdateNodeRequestDto) SetTags(val []string)

SetTags sets the value of Tags.

func (*UpdateNodeRequestDto) SetTrafficLimitBytes

func (s *UpdateNodeRequestDto) SetTrafficLimitBytes(val OptFloat64)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*UpdateNodeRequestDto) SetTrafficResetDay

func (s *UpdateNodeRequestDto) SetTrafficResetDay(val OptFloat64)

SetTrafficResetDay sets the value of TrafficResetDay.

func (*UpdateNodeRequestDto) SetUUID

func (s *UpdateNodeRequestDto) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*UpdateNodeRequestDto) UnmarshalJSON

func (s *UpdateNodeRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateNodeRequestDto) Validate

func (s *UpdateNodeRequestDto) Validate() error

type UpdatePasskeyRequestDto

type UpdatePasskeyRequestDto struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Ref: #/components/schemas/UpdatePasskeyRequestDto

func (*UpdatePasskeyRequestDto) Decode

func (s *UpdatePasskeyRequestDto) Decode(d *jx.Decoder) error

Decode decodes UpdatePasskeyRequestDto from json.

func (*UpdatePasskeyRequestDto) Encode

func (s *UpdatePasskeyRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdatePasskeyRequestDto) GetID

func (s *UpdatePasskeyRequestDto) GetID() string

GetID returns the value of ID.

func (*UpdatePasskeyRequestDto) GetName

func (s *UpdatePasskeyRequestDto) GetName() string

GetName returns the value of Name.

func (*UpdatePasskeyRequestDto) MarshalJSON

func (s *UpdatePasskeyRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdatePasskeyRequestDto) SetFake

func (s *UpdatePasskeyRequestDto) SetFake()

SetFake set fake values.

func (*UpdatePasskeyRequestDto) SetID

func (s *UpdatePasskeyRequestDto) SetID(val string)

SetID sets the value of ID.

func (*UpdatePasskeyRequestDto) SetName

func (s *UpdatePasskeyRequestDto) SetName(val string)

SetName sets the value of Name.

func (*UpdatePasskeyRequestDto) UnmarshalJSON

func (s *UpdatePasskeyRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdatePasskeyRequestDto) Validate

func (s *UpdatePasskeyRequestDto) Validate() error

type UpdateRemnawaveSettingsRequestDto

type UpdateRemnawaveSettingsRequestDto struct {
	PasskeySettings  OptNilPasskeySettings  `json:"passkeySettings"`
	Oauth2Settings   OptNilOauth2Settings   `json:"oauth2Settings"`
	TgAuthSettings   OptNilTgAuthSettings   `json:"tgAuthSettings"`
	PasswordSettings OptNilPasswordSettings `json:"passwordSettings"`
	BrandingSettings OptNilBrandingSettings `json:"brandingSettings"`
}

Ref: #/components/schemas/UpdateRemnawaveSettingsRequestDto

func (*UpdateRemnawaveSettingsRequestDto) Decode

Decode decodes UpdateRemnawaveSettingsRequestDto from json.

func (*UpdateRemnawaveSettingsRequestDto) Encode

Encode implements json.Marshaler.

func (*UpdateRemnawaveSettingsRequestDto) GetBrandingSettings

GetBrandingSettings returns the value of BrandingSettings.

func (*UpdateRemnawaveSettingsRequestDto) GetOauth2Settings

GetOauth2Settings returns the value of Oauth2Settings.

func (*UpdateRemnawaveSettingsRequestDto) GetPasskeySettings

GetPasskeySettings returns the value of PasskeySettings.

func (*UpdateRemnawaveSettingsRequestDto) GetPasswordSettings

GetPasswordSettings returns the value of PasswordSettings.

func (*UpdateRemnawaveSettingsRequestDto) GetTgAuthSettings

GetTgAuthSettings returns the value of TgAuthSettings.

func (*UpdateRemnawaveSettingsRequestDto) MarshalJSON

func (s *UpdateRemnawaveSettingsRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateRemnawaveSettingsRequestDto) SetBrandingSettings

func (s *UpdateRemnawaveSettingsRequestDto) SetBrandingSettings(val OptNilBrandingSettings)

SetBrandingSettings sets the value of BrandingSettings.

func (*UpdateRemnawaveSettingsRequestDto) SetFake

func (s *UpdateRemnawaveSettingsRequestDto) SetFake()

SetFake set fake values.

func (*UpdateRemnawaveSettingsRequestDto) SetOauth2Settings

func (s *UpdateRemnawaveSettingsRequestDto) SetOauth2Settings(val OptNilOauth2Settings)

SetOauth2Settings sets the value of Oauth2Settings.

func (*UpdateRemnawaveSettingsRequestDto) SetPasskeySettings

func (s *UpdateRemnawaveSettingsRequestDto) SetPasskeySettings(val OptNilPasskeySettings)

SetPasskeySettings sets the value of PasskeySettings.

func (*UpdateRemnawaveSettingsRequestDto) SetPasswordSettings

func (s *UpdateRemnawaveSettingsRequestDto) SetPasswordSettings(val OptNilPasswordSettings)

SetPasswordSettings sets the value of PasswordSettings.

func (*UpdateRemnawaveSettingsRequestDto) SetTgAuthSettings

func (s *UpdateRemnawaveSettingsRequestDto) SetTgAuthSettings(val OptNilTgAuthSettings)

SetTgAuthSettings sets the value of TgAuthSettings.

func (*UpdateRemnawaveSettingsRequestDto) UnmarshalJSON

func (s *UpdateRemnawaveSettingsRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateRemnawaveSettingsRequestDto) Validate

type UpdateSubscriptionPageConfigRequestDto

type UpdateSubscriptionPageConfigRequestDto struct {
	UUID   uuid.UUID `json:"uuid"`
	Name   OptString `json:"name"`
	Config jx.Raw    `json:"config"`
}

Ref: #/components/schemas/UpdateSubscriptionPageConfigRequestDto

func (*UpdateSubscriptionPageConfigRequestDto) Decode

Decode decodes UpdateSubscriptionPageConfigRequestDto from json.

func (*UpdateSubscriptionPageConfigRequestDto) Encode

Encode implements json.Marshaler.

func (*UpdateSubscriptionPageConfigRequestDto) GetConfig

GetConfig returns the value of Config.

func (*UpdateSubscriptionPageConfigRequestDto) GetName

GetName returns the value of Name.

func (*UpdateSubscriptionPageConfigRequestDto) GetUUID

GetUUID returns the value of UUID.

func (*UpdateSubscriptionPageConfigRequestDto) MarshalJSON

func (s *UpdateSubscriptionPageConfigRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateSubscriptionPageConfigRequestDto) SetConfig

func (s *UpdateSubscriptionPageConfigRequestDto) SetConfig(val jx.Raw)

SetConfig sets the value of Config.

func (*UpdateSubscriptionPageConfigRequestDto) SetFake

SetFake set fake values.

func (*UpdateSubscriptionPageConfigRequestDto) SetName

SetName sets the value of Name.

func (*UpdateSubscriptionPageConfigRequestDto) SetUUID

SetUUID sets the value of UUID.

func (*UpdateSubscriptionPageConfigRequestDto) UnmarshalJSON

func (s *UpdateSubscriptionPageConfigRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateSubscriptionPageConfigRequestDto) Validate

type UpdateSubscriptionSettingsRequestDto

type UpdateSubscriptionSettingsRequestDto struct {
	UUID                        uuid.UUID                                                    `json:"uuid"`
	ProfileTitle                OptString                                                    `json:"profileTitle"`
	SupportLink                 OptString                                                    `json:"supportLink"`
	ProfileUpdateInterval       OptInt                                                       `json:"profileUpdateInterval"`
	IsProfileWebpageUrlEnabled  OptBool                                                      `json:"isProfileWebpageUrlEnabled"`
	ServeJsonAtBaseSubscription OptBool                                                      `json:"serveJsonAtBaseSubscription"`
	HappAnnounce                OptNilString                                                 `json:"happAnnounce"`
	HappRouting                 OptNilString                                                 `json:"happRouting"`
	IsShowCustomRemarks         OptBool                                                      `json:"isShowCustomRemarks"`
	CustomRemarks               OptNilCustomRemark                                           `json:"customRemarks"`
	CustomResponseHeaders       OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders `json:"customResponseHeaders"`
	RandomizeHosts              OptBool                                                      `json:"randomizeHosts"`
	ResponseRules               OptResponseRules                                             `json:"responseRules"`
	HwidSettings                OptNilHwidSettings                                           `json:"hwidSettings"`
}

Ref: #/components/schemas/UpdateSubscriptionSettingsRequestDto

func (*UpdateSubscriptionSettingsRequestDto) Decode

Decode decodes UpdateSubscriptionSettingsRequestDto from json.

func (*UpdateSubscriptionSettingsRequestDto) Encode

Encode implements json.Marshaler.

func (*UpdateSubscriptionSettingsRequestDto) GetCustomRemarks

GetCustomRemarks returns the value of CustomRemarks.

func (*UpdateSubscriptionSettingsRequestDto) GetCustomResponseHeaders

GetCustomResponseHeaders returns the value of CustomResponseHeaders.

func (*UpdateSubscriptionSettingsRequestDto) GetHappAnnounce

GetHappAnnounce returns the value of HappAnnounce.

func (*UpdateSubscriptionSettingsRequestDto) GetHappRouting

GetHappRouting returns the value of HappRouting.

func (*UpdateSubscriptionSettingsRequestDto) GetHwidSettings

GetHwidSettings returns the value of HwidSettings.

func (*UpdateSubscriptionSettingsRequestDto) GetIsProfileWebpageUrlEnabled

func (s *UpdateSubscriptionSettingsRequestDto) GetIsProfileWebpageUrlEnabled() OptBool

GetIsProfileWebpageUrlEnabled returns the value of IsProfileWebpageUrlEnabled.

func (*UpdateSubscriptionSettingsRequestDto) GetIsShowCustomRemarks

func (s *UpdateSubscriptionSettingsRequestDto) GetIsShowCustomRemarks() OptBool

GetIsShowCustomRemarks returns the value of IsShowCustomRemarks.

func (*UpdateSubscriptionSettingsRequestDto) GetProfileTitle

func (s *UpdateSubscriptionSettingsRequestDto) GetProfileTitle() OptString

GetProfileTitle returns the value of ProfileTitle.

func (*UpdateSubscriptionSettingsRequestDto) GetProfileUpdateInterval

func (s *UpdateSubscriptionSettingsRequestDto) GetProfileUpdateInterval() OptInt

GetProfileUpdateInterval returns the value of ProfileUpdateInterval.

func (*UpdateSubscriptionSettingsRequestDto) GetRandomizeHosts

func (s *UpdateSubscriptionSettingsRequestDto) GetRandomizeHosts() OptBool

GetRandomizeHosts returns the value of RandomizeHosts.

func (*UpdateSubscriptionSettingsRequestDto) GetResponseRules

GetResponseRules returns the value of ResponseRules.

func (*UpdateSubscriptionSettingsRequestDto) GetServeJsonAtBaseSubscription

func (s *UpdateSubscriptionSettingsRequestDto) GetServeJsonAtBaseSubscription() OptBool

GetServeJsonAtBaseSubscription returns the value of ServeJsonAtBaseSubscription.

func (s *UpdateSubscriptionSettingsRequestDto) GetSupportLink() OptString

GetSupportLink returns the value of SupportLink.

func (*UpdateSubscriptionSettingsRequestDto) GetUUID

GetUUID returns the value of UUID.

func (*UpdateSubscriptionSettingsRequestDto) MarshalJSON

func (s *UpdateSubscriptionSettingsRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateSubscriptionSettingsRequestDto) SetCustomRemarks

SetCustomRemarks sets the value of CustomRemarks.

func (*UpdateSubscriptionSettingsRequestDto) SetCustomResponseHeaders

SetCustomResponseHeaders sets the value of CustomResponseHeaders.

func (*UpdateSubscriptionSettingsRequestDto) SetFake

SetFake set fake values.

func (*UpdateSubscriptionSettingsRequestDto) SetHappAnnounce

func (s *UpdateSubscriptionSettingsRequestDto) SetHappAnnounce(val OptNilString)

SetHappAnnounce sets the value of HappAnnounce.

func (*UpdateSubscriptionSettingsRequestDto) SetHappRouting

func (s *UpdateSubscriptionSettingsRequestDto) SetHappRouting(val OptNilString)

SetHappRouting sets the value of HappRouting.

func (*UpdateSubscriptionSettingsRequestDto) SetHwidSettings

SetHwidSettings sets the value of HwidSettings.

func (*UpdateSubscriptionSettingsRequestDto) SetIsProfileWebpageUrlEnabled

func (s *UpdateSubscriptionSettingsRequestDto) SetIsProfileWebpageUrlEnabled(val OptBool)

SetIsProfileWebpageUrlEnabled sets the value of IsProfileWebpageUrlEnabled.

func (*UpdateSubscriptionSettingsRequestDto) SetIsShowCustomRemarks

func (s *UpdateSubscriptionSettingsRequestDto) SetIsShowCustomRemarks(val OptBool)

SetIsShowCustomRemarks sets the value of IsShowCustomRemarks.

func (*UpdateSubscriptionSettingsRequestDto) SetProfileTitle

func (s *UpdateSubscriptionSettingsRequestDto) SetProfileTitle(val OptString)

SetProfileTitle sets the value of ProfileTitle.

func (*UpdateSubscriptionSettingsRequestDto) SetProfileUpdateInterval

func (s *UpdateSubscriptionSettingsRequestDto) SetProfileUpdateInterval(val OptInt)

SetProfileUpdateInterval sets the value of ProfileUpdateInterval.

func (*UpdateSubscriptionSettingsRequestDto) SetRandomizeHosts

func (s *UpdateSubscriptionSettingsRequestDto) SetRandomizeHosts(val OptBool)

SetRandomizeHosts sets the value of RandomizeHosts.

func (*UpdateSubscriptionSettingsRequestDto) SetResponseRules

func (s *UpdateSubscriptionSettingsRequestDto) SetResponseRules(val OptResponseRules)

SetResponseRules sets the value of ResponseRules.

func (*UpdateSubscriptionSettingsRequestDto) SetServeJsonAtBaseSubscription

func (s *UpdateSubscriptionSettingsRequestDto) SetServeJsonAtBaseSubscription(val OptBool)

SetServeJsonAtBaseSubscription sets the value of ServeJsonAtBaseSubscription.

func (s *UpdateSubscriptionSettingsRequestDto) SetSupportLink(val OptString)

SetSupportLink sets the value of SupportLink.

func (*UpdateSubscriptionSettingsRequestDto) SetUUID

SetUUID sets the value of UUID.

func (*UpdateSubscriptionSettingsRequestDto) UnmarshalJSON

func (s *UpdateSubscriptionSettingsRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateSubscriptionSettingsRequestDto) Validate

type UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders

type UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders map[string]string

func (*UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Decode

Decode decodes UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders from json.

func (UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Encode

Encode implements json.Marshaler.

func (UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetFake

SetFake set fake values.

func (*UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateTemplateRequestDto

type UpdateTemplateRequestDto struct {
	UUID                uuid.UUID                             `json:"uuid"`
	Name                OptString                             `json:"name"`
	TemplateJson        *UpdateTemplateRequestDtoTemplateJson `json:"templateJson"`
	EncodedTemplateYaml OptString                             `json:"encodedTemplateYaml"`
}

Ref: #/components/schemas/UpdateTemplateRequestDto

func (*UpdateTemplateRequestDto) Decode

func (s *UpdateTemplateRequestDto) Decode(d *jx.Decoder) error

Decode decodes UpdateTemplateRequestDto from json.

func (*UpdateTemplateRequestDto) Encode

func (s *UpdateTemplateRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateTemplateRequestDto) GetEncodedTemplateYaml

func (s *UpdateTemplateRequestDto) GetEncodedTemplateYaml() OptString

GetEncodedTemplateYaml returns the value of EncodedTemplateYaml.

func (*UpdateTemplateRequestDto) GetName

func (s *UpdateTemplateRequestDto) GetName() OptString

GetName returns the value of Name.

func (*UpdateTemplateRequestDto) GetTemplateJson

GetTemplateJson returns the value of TemplateJson.

func (*UpdateTemplateRequestDto) GetUUID

func (s *UpdateTemplateRequestDto) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*UpdateTemplateRequestDto) MarshalJSON

func (s *UpdateTemplateRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateTemplateRequestDto) SetEncodedTemplateYaml

func (s *UpdateTemplateRequestDto) SetEncodedTemplateYaml(val OptString)

SetEncodedTemplateYaml sets the value of EncodedTemplateYaml.

func (*UpdateTemplateRequestDto) SetFake

func (s *UpdateTemplateRequestDto) SetFake()

SetFake set fake values.

func (*UpdateTemplateRequestDto) SetName

func (s *UpdateTemplateRequestDto) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateTemplateRequestDto) SetTemplateJson

SetTemplateJson sets the value of TemplateJson.

func (*UpdateTemplateRequestDto) SetUUID

func (s *UpdateTemplateRequestDto) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*UpdateTemplateRequestDto) UnmarshalJSON

func (s *UpdateTemplateRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateTemplateRequestDto) Validate

func (s *UpdateTemplateRequestDto) Validate() error

type UpdateTemplateRequestDtoTemplateJson

type UpdateTemplateRequestDtoTemplateJson struct{}

func (*UpdateTemplateRequestDtoTemplateJson) Decode

Decode decodes UpdateTemplateRequestDtoTemplateJson from json.

func (*UpdateTemplateRequestDtoTemplateJson) Encode

Encode implements json.Marshaler.

func (*UpdateTemplateRequestDtoTemplateJson) MarshalJSON

func (s *UpdateTemplateRequestDtoTemplateJson) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateTemplateRequestDtoTemplateJson) SetFake

SetFake set fake values.

func (*UpdateTemplateRequestDtoTemplateJson) UnmarshalJSON

func (s *UpdateTemplateRequestDtoTemplateJson) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateUserRequestDto

type UpdateUserRequestDto struct {
	// Username of the user.
	Username OptString `json:"username"`
	// UUID of the user. UUID has higher priority than username, so if both are provided, username will
	// be ignored.
	UUID   OptUUID                       `json:"uuid"`
	Status OptUpdateUserRequestDtoStatus `json:"status"`
	// Traffic limit in bytes. 0 - unlimited.
	TrafficLimitBytes OptInt `json:"trafficLimitBytes"`
	// Available reset periods.
	TrafficLimitStrategy OptUpdateUserRequestDtoTrafficLimitStrategy `json:"trafficLimitStrategy"`
	// Expiration date: 2025-01-17T15:38:45.065Z.
	ExpireAt             OptDateTime  `json:"expireAt"`
	Description          OptNilString `json:"description"`
	Tag                  OptNilString `json:"tag"`
	TelegramId           OptNilInt    `json:"telegramId"`
	Email                OptNilString `json:"email"`
	HwidDeviceLimit      OptNilInt    `json:"hwidDeviceLimit"`
	ActiveInternalSquads []uuid.UUID  `json:"activeInternalSquads"`
	// Optional. External squad UUID.
	ExternalSquadUuid OptNilUUID `json:"externalSquadUuid"`
}

Ref: #/components/schemas/UpdateUserRequestDto

func (*UpdateUserRequestDto) Decode

func (s *UpdateUserRequestDto) Decode(d *jx.Decoder) error

Decode decodes UpdateUserRequestDto from json.

func (*UpdateUserRequestDto) Encode

func (s *UpdateUserRequestDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateUserRequestDto) GetActiveInternalSquads

func (s *UpdateUserRequestDto) GetActiveInternalSquads() []uuid.UUID

GetActiveInternalSquads returns the value of ActiveInternalSquads.

func (*UpdateUserRequestDto) GetDescription

func (s *UpdateUserRequestDto) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*UpdateUserRequestDto) GetEmail

func (s *UpdateUserRequestDto) GetEmail() OptNilString

GetEmail returns the value of Email.

func (*UpdateUserRequestDto) GetExpireAt

func (s *UpdateUserRequestDto) GetExpireAt() OptDateTime

GetExpireAt returns the value of ExpireAt.

func (*UpdateUserRequestDto) GetExternalSquadUuid

func (s *UpdateUserRequestDto) GetExternalSquadUuid() OptNilUUID

GetExternalSquadUuid returns the value of ExternalSquadUuid.

func (*UpdateUserRequestDto) GetHwidDeviceLimit

func (s *UpdateUserRequestDto) GetHwidDeviceLimit() OptNilInt

GetHwidDeviceLimit returns the value of HwidDeviceLimit.

func (*UpdateUserRequestDto) GetStatus

GetStatus returns the value of Status.

func (*UpdateUserRequestDto) GetTag

func (s *UpdateUserRequestDto) GetTag() OptNilString

GetTag returns the value of Tag.

func (*UpdateUserRequestDto) GetTelegramId

func (s *UpdateUserRequestDto) GetTelegramId() OptNilInt

GetTelegramId returns the value of TelegramId.

func (*UpdateUserRequestDto) GetTrafficLimitBytes

func (s *UpdateUserRequestDto) GetTrafficLimitBytes() OptInt

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*UpdateUserRequestDto) GetTrafficLimitStrategy

GetTrafficLimitStrategy returns the value of TrafficLimitStrategy.

func (*UpdateUserRequestDto) GetUUID

func (s *UpdateUserRequestDto) GetUUID() OptUUID

GetUUID returns the value of UUID.

func (*UpdateUserRequestDto) GetUsername

func (s *UpdateUserRequestDto) GetUsername() OptString

GetUsername returns the value of Username.

func (*UpdateUserRequestDto) MarshalJSON

func (s *UpdateUserRequestDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateUserRequestDto) SetActiveInternalSquads

func (s *UpdateUserRequestDto) SetActiveInternalSquads(val []uuid.UUID)

SetActiveInternalSquads sets the value of ActiveInternalSquads.

func (*UpdateUserRequestDto) SetDescription

func (s *UpdateUserRequestDto) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*UpdateUserRequestDto) SetEmail

func (s *UpdateUserRequestDto) SetEmail(val OptNilString)

SetEmail sets the value of Email.

func (*UpdateUserRequestDto) SetExpireAt

func (s *UpdateUserRequestDto) SetExpireAt(val OptDateTime)

SetExpireAt sets the value of ExpireAt.

func (*UpdateUserRequestDto) SetExternalSquadUuid

func (s *UpdateUserRequestDto) SetExternalSquadUuid(val OptNilUUID)

SetExternalSquadUuid sets the value of ExternalSquadUuid.

func (*UpdateUserRequestDto) SetFake

func (s *UpdateUserRequestDto) SetFake()

SetFake set fake values.

func (*UpdateUserRequestDto) SetHwidDeviceLimit

func (s *UpdateUserRequestDto) SetHwidDeviceLimit(val OptNilInt)

SetHwidDeviceLimit sets the value of HwidDeviceLimit.

func (*UpdateUserRequestDto) SetStatus

SetStatus sets the value of Status.

func (*UpdateUserRequestDto) SetTag

func (s *UpdateUserRequestDto) SetTag(val OptNilString)

SetTag sets the value of Tag.

func (*UpdateUserRequestDto) SetTelegramId

func (s *UpdateUserRequestDto) SetTelegramId(val OptNilInt)

SetTelegramId sets the value of TelegramId.

func (*UpdateUserRequestDto) SetTrafficLimitBytes

func (s *UpdateUserRequestDto) SetTrafficLimitBytes(val OptInt)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*UpdateUserRequestDto) SetTrafficLimitStrategy

func (s *UpdateUserRequestDto) SetTrafficLimitStrategy(val OptUpdateUserRequestDtoTrafficLimitStrategy)

SetTrafficLimitStrategy sets the value of TrafficLimitStrategy.

func (*UpdateUserRequestDto) SetUUID

func (s *UpdateUserRequestDto) SetUUID(val OptUUID)

SetUUID sets the value of UUID.

func (*UpdateUserRequestDto) SetUsername

func (s *UpdateUserRequestDto) SetUsername(val OptString)

SetUsername sets the value of Username.

func (*UpdateUserRequestDto) UnmarshalJSON

func (s *UpdateUserRequestDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateUserRequestDto) Validate

func (s *UpdateUserRequestDto) Validate() error

type UpdateUserRequestDtoStatus

type UpdateUserRequestDtoStatus string
const (
	UpdateUserRequestDtoStatusACTIVE   UpdateUserRequestDtoStatus = "ACTIVE"
	UpdateUserRequestDtoStatusDISABLED UpdateUserRequestDtoStatus = "DISABLED"
)

func (UpdateUserRequestDtoStatus) AllValues

AllValues returns all UpdateUserRequestDtoStatus values.

func (*UpdateUserRequestDtoStatus) Decode

Decode decodes UpdateUserRequestDtoStatus from json.

func (UpdateUserRequestDtoStatus) Encode

func (s UpdateUserRequestDtoStatus) Encode(e *jx.Encoder)

Encode encodes UpdateUserRequestDtoStatus as json.

func (UpdateUserRequestDtoStatus) MarshalJSON

func (s UpdateUserRequestDtoStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UpdateUserRequestDtoStatus) MarshalText

func (s UpdateUserRequestDtoStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UpdateUserRequestDtoStatus) SetFake

func (s *UpdateUserRequestDtoStatus) SetFake()

SetFake set fake values.

func (*UpdateUserRequestDtoStatus) UnmarshalJSON

func (s *UpdateUserRequestDtoStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateUserRequestDtoStatus) UnmarshalText

func (s *UpdateUserRequestDtoStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UpdateUserRequestDtoStatus) Validate

func (s UpdateUserRequestDtoStatus) Validate() error

type UpdateUserRequestDtoTrafficLimitStrategy

type UpdateUserRequestDtoTrafficLimitStrategy string

Available reset periods.

const (
	UpdateUserRequestDtoTrafficLimitStrategyNORESET UpdateUserRequestDtoTrafficLimitStrategy = "NO_RESET"
	UpdateUserRequestDtoTrafficLimitStrategyDAY     UpdateUserRequestDtoTrafficLimitStrategy = "DAY"
	UpdateUserRequestDtoTrafficLimitStrategyWEEK    UpdateUserRequestDtoTrafficLimitStrategy = "WEEK"
	UpdateUserRequestDtoTrafficLimitStrategyMONTH   UpdateUserRequestDtoTrafficLimitStrategy = "MONTH"
)

func (UpdateUserRequestDtoTrafficLimitStrategy) AllValues

AllValues returns all UpdateUserRequestDtoTrafficLimitStrategy values.

func (*UpdateUserRequestDtoTrafficLimitStrategy) Decode

Decode decodes UpdateUserRequestDtoTrafficLimitStrategy from json.

func (UpdateUserRequestDtoTrafficLimitStrategy) Encode

Encode encodes UpdateUserRequestDtoTrafficLimitStrategy as json.

func (UpdateUserRequestDtoTrafficLimitStrategy) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (UpdateUserRequestDtoTrafficLimitStrategy) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*UpdateUserRequestDtoTrafficLimitStrategy) SetFake

SetFake set fake values.

func (*UpdateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON

func (s *UpdateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateUserRequestDtoTrafficLimitStrategy) UnmarshalText

func (s *UpdateUserRequestDtoTrafficLimitStrategy) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UpdateUserRequestDtoTrafficLimitStrategy) Validate

type User

type User struct {
	UUID              uuid.UUID     `json:"uuid"`
	ID                float64       `json:"id"`
	ShortUuid         string        `json:"shortUuid"`
	Username          string        `json:"username"`
	Status            OptUserStatus `json:"status"`
	TrafficLimitBytes OptInt        `json:"trafficLimitBytes"`
	// Available reset periods.
	TrafficLimitStrategy   OptUserTrafficLimitStrategy `json:"trafficLimitStrategy"`
	ExpireAt               time.Time                   `json:"expireAt"`
	TelegramId             NilInt                      `json:"telegramId"`
	Email                  NilString                   `json:"email"`
	Description            NilString                   `json:"description"`
	Tag                    NilString                   `json:"tag"`
	HwidDeviceLimit        NilInt                      `json:"hwidDeviceLimit"`
	ExternalSquadUuid      NilUUID                     `json:"externalSquadUuid"`
	TrojanPassword         string                      `json:"trojanPassword"`
	VlessUuid              uuid.UUID                   `json:"vlessUuid"`
	SsPassword             string                      `json:"ssPassword"`
	LastTriggeredThreshold OptInt                      `json:"lastTriggeredThreshold"`
	SubRevokedAt           NilDateTime                 `json:"subRevokedAt"`
	SubLastUserAgent       NilString                   `json:"subLastUserAgent"`
	SubLastOpenedAt        NilDateTime                 `json:"subLastOpenedAt"`
	LastTrafficResetAt     NilDateTime                 `json:"lastTrafficResetAt"`
	CreatedAt              time.Time                   `json:"createdAt"`
	UpdatedAt              time.Time                   `json:"updatedAt"`
	SubscriptionUrl        string                      `json:"subscriptionUrl"`
	ActiveInternalSquads   []ActiveInternalSquad       `json:"activeInternalSquads"`
	UserTraffic            UserTrafficItem             `json:"userTraffic"`
}

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) GetActiveInternalSquads

func (s *User) GetActiveInternalSquads() []ActiveInternalSquad

GetActiveInternalSquads returns the value of ActiveInternalSquads.

func (*User) GetCreatedAt

func (s *User) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*User) GetDescription

func (s *User) GetDescription() NilString

GetDescription returns the value of Description.

func (*User) GetEmail

func (s *User) GetEmail() NilString

GetEmail returns the value of Email.

func (*User) GetExpireAt

func (s *User) GetExpireAt() time.Time

GetExpireAt returns the value of ExpireAt.

func (*User) GetExternalSquadUuid

func (s *User) GetExternalSquadUuid() NilUUID

GetExternalSquadUuid returns the value of ExternalSquadUuid.

func (*User) GetHwidDeviceLimit

func (s *User) GetHwidDeviceLimit() NilInt

GetHwidDeviceLimit returns the value of HwidDeviceLimit.

func (*User) GetID

func (s *User) GetID() float64

GetID returns the value of ID.

func (*User) GetLastTrafficResetAt

func (s *User) GetLastTrafficResetAt() NilDateTime

GetLastTrafficResetAt returns the value of LastTrafficResetAt.

func (*User) GetLastTriggeredThreshold

func (s *User) GetLastTriggeredThreshold() OptInt

GetLastTriggeredThreshold returns the value of LastTriggeredThreshold.

func (*User) GetShortUuid

func (s *User) GetShortUuid() string

GetShortUuid returns the value of ShortUuid.

func (*User) GetSsPassword

func (s *User) GetSsPassword() string

GetSsPassword returns the value of SsPassword.

func (*User) GetStatus

func (s *User) GetStatus() OptUserStatus

GetStatus returns the value of Status.

func (*User) GetSubLastOpenedAt

func (s *User) GetSubLastOpenedAt() NilDateTime

GetSubLastOpenedAt returns the value of SubLastOpenedAt.

func (*User) GetSubLastUserAgent

func (s *User) GetSubLastUserAgent() NilString

GetSubLastUserAgent returns the value of SubLastUserAgent.

func (*User) GetSubRevokedAt

func (s *User) GetSubRevokedAt() NilDateTime

GetSubRevokedAt returns the value of SubRevokedAt.

func (*User) GetSubscriptionUrl

func (s *User) GetSubscriptionUrl() string

GetSubscriptionUrl returns the value of SubscriptionUrl.

func (*User) GetTag

func (s *User) GetTag() NilString

GetTag returns the value of Tag.

func (*User) GetTelegramId

func (s *User) GetTelegramId() NilInt

GetTelegramId returns the value of TelegramId.

func (*User) GetTrafficLimitBytes

func (s *User) GetTrafficLimitBytes() OptInt

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*User) GetTrafficLimitStrategy

func (s *User) GetTrafficLimitStrategy() OptUserTrafficLimitStrategy

GetTrafficLimitStrategy returns the value of TrafficLimitStrategy.

func (*User) GetTrojanPassword

func (s *User) GetTrojanPassword() string

GetTrojanPassword returns the value of TrojanPassword.

func (*User) GetUUID

func (s *User) GetUUID() uuid.UUID

GetUUID returns the value of UUID.

func (*User) GetUpdatedAt

func (s *User) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*User) GetUserTraffic

func (s *User) GetUserTraffic() UserTrafficItem

GetUserTraffic returns the value of UserTraffic.

func (*User) GetUsername

func (s *User) GetUsername() string

GetUsername returns the value of Username.

func (*User) GetVlessUuid

func (s *User) GetVlessUuid() uuid.UUID

GetVlessUuid returns the value of VlessUuid.

func (*User) MarshalJSON

func (s *User) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*User) SetActiveInternalSquads

func (s *User) SetActiveInternalSquads(val []ActiveInternalSquad)

SetActiveInternalSquads sets the value of ActiveInternalSquads.

func (*User) SetCreatedAt

func (s *User) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*User) SetDescription

func (s *User) SetDescription(val NilString)

SetDescription sets the value of Description.

func (*User) SetEmail

func (s *User) SetEmail(val NilString)

SetEmail sets the value of Email.

func (*User) SetExpireAt

func (s *User) SetExpireAt(val time.Time)

SetExpireAt sets the value of ExpireAt.

func (*User) SetExternalSquadUuid

func (s *User) SetExternalSquadUuid(val NilUUID)

SetExternalSquadUuid sets the value of ExternalSquadUuid.

func (*User) SetFake

func (s *User) SetFake()

SetFake set fake values.

func (*User) SetHwidDeviceLimit

func (s *User) SetHwidDeviceLimit(val NilInt)

SetHwidDeviceLimit sets the value of HwidDeviceLimit.

func (*User) SetID

func (s *User) SetID(val float64)

SetID sets the value of ID.

func (*User) SetLastTrafficResetAt

func (s *User) SetLastTrafficResetAt(val NilDateTime)

SetLastTrafficResetAt sets the value of LastTrafficResetAt.

func (*User) SetLastTriggeredThreshold

func (s *User) SetLastTriggeredThreshold(val OptInt)

SetLastTriggeredThreshold sets the value of LastTriggeredThreshold.

func (*User) SetShortUuid

func (s *User) SetShortUuid(val string)

SetShortUuid sets the value of ShortUuid.

func (*User) SetSsPassword

func (s *User) SetSsPassword(val string)

SetSsPassword sets the value of SsPassword.

func (*User) SetStatus

func (s *User) SetStatus(val OptUserStatus)

SetStatus sets the value of Status.

func (*User) SetSubLastOpenedAt

func (s *User) SetSubLastOpenedAt(val NilDateTime)

SetSubLastOpenedAt sets the value of SubLastOpenedAt.

func (*User) SetSubLastUserAgent

func (s *User) SetSubLastUserAgent(val NilString)

SetSubLastUserAgent sets the value of SubLastUserAgent.

func (*User) SetSubRevokedAt

func (s *User) SetSubRevokedAt(val NilDateTime)

SetSubRevokedAt sets the value of SubRevokedAt.

func (*User) SetSubscriptionUrl

func (s *User) SetSubscriptionUrl(val string)

SetSubscriptionUrl sets the value of SubscriptionUrl.

func (*User) SetTag

func (s *User) SetTag(val NilString)

SetTag sets the value of Tag.

func (*User) SetTelegramId

func (s *User) SetTelegramId(val NilInt)

SetTelegramId sets the value of TelegramId.

func (*User) SetTrafficLimitBytes

func (s *User) SetTrafficLimitBytes(val OptInt)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*User) SetTrafficLimitStrategy

func (s *User) SetTrafficLimitStrategy(val OptUserTrafficLimitStrategy)

SetTrafficLimitStrategy sets the value of TrafficLimitStrategy.

func (*User) SetTrojanPassword

func (s *User) SetTrojanPassword(val string)

SetTrojanPassword sets the value of TrojanPassword.

func (*User) SetUUID

func (s *User) SetUUID(val uuid.UUID)

SetUUID sets the value of UUID.

func (*User) SetUpdatedAt

func (s *User) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*User) SetUserTraffic

func (s *User) SetUserTraffic(val UserTrafficItem)

SetUserTraffic sets the value of UserTraffic.

func (*User) SetUsername

func (s *User) SetUsername(val string)

SetUsername sets the value of Username.

func (*User) SetVlessUuid

func (s *User) SetVlessUuid(val uuid.UUID)

SetVlessUuid sets the value of VlessUuid.

func (*User) UnmarshalJSON

func (s *User) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*User) Validate

func (s *User) Validate() error

type UserItem

type UserItem struct {
	ShortUuid                string                       `json:"shortUuid"`
	DaysLeft                 float64                      `json:"daysLeft"`
	TrafficUsed              string                       `json:"trafficUsed"`
	TrafficLimit             string                       `json:"trafficLimit"`
	LifetimeTrafficUsed      string                       `json:"lifetimeTrafficUsed"`
	TrafficUsedBytes         string                       `json:"trafficUsedBytes"`
	TrafficLimitBytes        string                       `json:"trafficLimitBytes"`
	LifetimeTrafficUsedBytes string                       `json:"lifetimeTrafficUsedBytes"`
	Username                 string                       `json:"username"`
	ExpiresAt                time.Time                    `json:"expiresAt"`
	IsActive                 bool                         `json:"isActive"`
	UserStatus               UserItemUserStatus           `json:"userStatus"`
	TrafficLimitStrategy     UserItemTrafficLimitStrategy `json:"trafficLimitStrategy"`
}

Ref: #/components/schemas/UserItem

func (*UserItem) Decode

func (s *UserItem) Decode(d *jx.Decoder) error

Decode decodes UserItem from json.

func (*UserItem) Encode

func (s *UserItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserItem) GetDaysLeft

func (s *UserItem) GetDaysLeft() float64

GetDaysLeft returns the value of DaysLeft.

func (*UserItem) GetExpiresAt

func (s *UserItem) GetExpiresAt() time.Time

GetExpiresAt returns the value of ExpiresAt.

func (*UserItem) GetIsActive

func (s *UserItem) GetIsActive() bool

GetIsActive returns the value of IsActive.

func (*UserItem) GetLifetimeTrafficUsed

func (s *UserItem) GetLifetimeTrafficUsed() string

GetLifetimeTrafficUsed returns the value of LifetimeTrafficUsed.

func (*UserItem) GetLifetimeTrafficUsedBytes

func (s *UserItem) GetLifetimeTrafficUsedBytes() string

GetLifetimeTrafficUsedBytes returns the value of LifetimeTrafficUsedBytes.

func (*UserItem) GetShortUuid

func (s *UserItem) GetShortUuid() string

GetShortUuid returns the value of ShortUuid.

func (*UserItem) GetTrafficLimit

func (s *UserItem) GetTrafficLimit() string

GetTrafficLimit returns the value of TrafficLimit.

func (*UserItem) GetTrafficLimitBytes

func (s *UserItem) GetTrafficLimitBytes() string

GetTrafficLimitBytes returns the value of TrafficLimitBytes.

func (*UserItem) GetTrafficLimitStrategy

func (s *UserItem) GetTrafficLimitStrategy() UserItemTrafficLimitStrategy

GetTrafficLimitStrategy returns the value of TrafficLimitStrategy.

func (*UserItem) GetTrafficUsed

func (s *UserItem) GetTrafficUsed() string

GetTrafficUsed returns the value of TrafficUsed.

func (*UserItem) GetTrafficUsedBytes

func (s *UserItem) GetTrafficUsedBytes() string

GetTrafficUsedBytes returns the value of TrafficUsedBytes.

func (*UserItem) GetUserStatus

func (s *UserItem) GetUserStatus() UserItemUserStatus

GetUserStatus returns the value of UserStatus.

func (*UserItem) GetUsername

func (s *UserItem) GetUsername() string

GetUsername returns the value of Username.

func (*UserItem) MarshalJSON

func (s *UserItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserItem) SetDaysLeft

func (s *UserItem) SetDaysLeft(val float64)

SetDaysLeft sets the value of DaysLeft.

func (*UserItem) SetExpiresAt

func (s *UserItem) SetExpiresAt(val time.Time)

SetExpiresAt sets the value of ExpiresAt.

func (*UserItem) SetFake

func (s *UserItem) SetFake()

SetFake set fake values.

func (*UserItem) SetIsActive

func (s *UserItem) SetIsActive(val bool)

SetIsActive sets the value of IsActive.

func (*UserItem) SetLifetimeTrafficUsed

func (s *UserItem) SetLifetimeTrafficUsed(val string)

SetLifetimeTrafficUsed sets the value of LifetimeTrafficUsed.

func (*UserItem) SetLifetimeTrafficUsedBytes

func (s *UserItem) SetLifetimeTrafficUsedBytes(val string)

SetLifetimeTrafficUsedBytes sets the value of LifetimeTrafficUsedBytes.

func (*UserItem) SetShortUuid

func (s *UserItem) SetShortUuid(val string)

SetShortUuid sets the value of ShortUuid.

func (*UserItem) SetTrafficLimit

func (s *UserItem) SetTrafficLimit(val string)

SetTrafficLimit sets the value of TrafficLimit.

func (*UserItem) SetTrafficLimitBytes

func (s *UserItem) SetTrafficLimitBytes(val string)

SetTrafficLimitBytes sets the value of TrafficLimitBytes.

func (*UserItem) SetTrafficLimitStrategy

func (s *UserItem) SetTrafficLimitStrategy(val UserItemTrafficLimitStrategy)

SetTrafficLimitStrategy sets the value of TrafficLimitStrategy.

func (*UserItem) SetTrafficUsed

func (s *UserItem) SetTrafficUsed(val string)

SetTrafficUsed sets the value of TrafficUsed.

func (*UserItem) SetTrafficUsedBytes

func (s *UserItem) SetTrafficUsedBytes(val string)

SetTrafficUsedBytes sets the value of TrafficUsedBytes.

func (*UserItem) SetUserStatus

func (s *UserItem) SetUserStatus(val UserItemUserStatus)

SetUserStatus sets the value of UserStatus.

func (*UserItem) SetUsername

func (s *UserItem) SetUsername(val string)

SetUsername sets the value of Username.

func (*UserItem) UnmarshalJSON

func (s *UserItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserItem) Validate

func (s *UserItem) Validate() error

type UserItemTrafficLimitStrategy

type UserItemTrafficLimitStrategy string
const (
	UserItemTrafficLimitStrategyNORESET UserItemTrafficLimitStrategy = "NO_RESET"
	UserItemTrafficLimitStrategyDAY     UserItemTrafficLimitStrategy = "DAY"
	UserItemTrafficLimitStrategyWEEK    UserItemTrafficLimitStrategy = "WEEK"
	UserItemTrafficLimitStrategyMONTH   UserItemTrafficLimitStrategy = "MONTH"
)

func (UserItemTrafficLimitStrategy) AllValues

AllValues returns all UserItemTrafficLimitStrategy values.

func (*UserItemTrafficLimitStrategy) Decode

Decode decodes UserItemTrafficLimitStrategy from json.

func (UserItemTrafficLimitStrategy) Encode

Encode encodes UserItemTrafficLimitStrategy as json.

func (UserItemTrafficLimitStrategy) MarshalJSON

func (s UserItemTrafficLimitStrategy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserItemTrafficLimitStrategy) MarshalText

func (s UserItemTrafficLimitStrategy) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserItemTrafficLimitStrategy) SetFake

func (s *UserItemTrafficLimitStrategy) SetFake()

SetFake set fake values.

func (*UserItemTrafficLimitStrategy) UnmarshalJSON

func (s *UserItemTrafficLimitStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserItemTrafficLimitStrategy) UnmarshalText

func (s *UserItemTrafficLimitStrategy) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserItemTrafficLimitStrategy) Validate

func (s UserItemTrafficLimitStrategy) Validate() error

type UserItemUserStatus

type UserItemUserStatus string
const (
	UserItemUserStatusACTIVE   UserItemUserStatus = "ACTIVE"
	UserItemUserStatusDISABLED UserItemUserStatus = "DISABLED"
	UserItemUserStatusLIMITED  UserItemUserStatus = "LIMITED"
	UserItemUserStatusEXPIRED  UserItemUserStatus = "EXPIRED"
)

func (UserItemUserStatus) AllValues

func (UserItemUserStatus) AllValues() []UserItemUserStatus

AllValues returns all UserItemUserStatus values.

func (*UserItemUserStatus) Decode

func (s *UserItemUserStatus) Decode(d *jx.Decoder) error

Decode decodes UserItemUserStatus from json.

func (UserItemUserStatus) Encode

func (s UserItemUserStatus) Encode(e *jx.Encoder)

Encode encodes UserItemUserStatus as json.

func (UserItemUserStatus) MarshalJSON

func (s UserItemUserStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserItemUserStatus) MarshalText

func (s UserItemUserStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserItemUserStatus) SetFake

func (s *UserItemUserStatus) SetFake()

SetFake set fake values.

func (*UserItemUserStatus) UnmarshalJSON

func (s *UserItemUserStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserItemUserStatus) UnmarshalText

func (s *UserItemUserStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserItemUserStatus) Validate

func (s UserItemUserStatus) Validate() error

type UserResponse

type UserResponse struct {
	Response User `json:"response"`
}

Ref: #/components/schemas/UserResponse

func (*UserResponse) Decode

func (s *UserResponse) Decode(d *jx.Decoder) error

Decode decodes UserResponse from json.

func (*UserResponse) Encode

func (s *UserResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserResponse) GetResponse

func (s *UserResponse) GetResponse() User

GetResponse returns the value of Response.

func (*UserResponse) MarshalJSON

func (s *UserResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserResponse) SetFake

func (s *UserResponse) SetFake()

SetFake set fake values.

func (*UserResponse) SetResponse

func (s *UserResponse) SetResponse(val User)

SetResponse sets the value of Response.

func (*UserResponse) UnmarshalJSON

func (s *UserResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserResponse) Validate

func (s *UserResponse) Validate() error

type UserStatus

type UserStatus string
const (
	UserStatusACTIVE   UserStatus = "ACTIVE"
	UserStatusDISABLED UserStatus = "DISABLED"
	UserStatusLIMITED  UserStatus = "LIMITED"
	UserStatusEXPIRED  UserStatus = "EXPIRED"
)

func (UserStatus) AllValues

func (UserStatus) AllValues() []UserStatus

AllValues returns all UserStatus values.

func (*UserStatus) Decode

func (s *UserStatus) Decode(d *jx.Decoder) error

Decode decodes UserStatus from json.

func (UserStatus) Encode

func (s UserStatus) Encode(e *jx.Encoder)

Encode encodes UserStatus as json.

func (UserStatus) MarshalJSON

func (s UserStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserStatus) MarshalText

func (s UserStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserStatus) SetFake

func (s *UserStatus) SetFake()

SetFake set fake values.

func (*UserStatus) UnmarshalJSON

func (s *UserStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserStatus) UnmarshalText

func (s *UserStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserStatus) Validate

func (s UserStatus) Validate() error

type UserSubscriptionHistory

type UserSubscriptionHistory struct {
	Total   float64  `json:"total"`
	Records []Record `json:"records"`
}

Ref: #/components/schemas/UserSubscriptionHistory

func (*UserSubscriptionHistory) Decode

func (s *UserSubscriptionHistory) Decode(d *jx.Decoder) error

Decode decodes UserSubscriptionHistory from json.

func (*UserSubscriptionHistory) Encode

func (s *UserSubscriptionHistory) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserSubscriptionHistory) GetRecords

func (s *UserSubscriptionHistory) GetRecords() []Record

GetRecords returns the value of Records.

func (*UserSubscriptionHistory) GetTotal

func (s *UserSubscriptionHistory) GetTotal() float64

GetTotal returns the value of Total.

func (*UserSubscriptionHistory) MarshalJSON

func (s *UserSubscriptionHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserSubscriptionHistory) SetFake

func (s *UserSubscriptionHistory) SetFake()

SetFake set fake values.

func (*UserSubscriptionHistory) SetRecords

func (s *UserSubscriptionHistory) SetRecords(val []Record)

SetRecords sets the value of Records.

func (*UserSubscriptionHistory) SetTotal

func (s *UserSubscriptionHistory) SetTotal(val float64)

SetTotal sets the value of Total.

func (*UserSubscriptionHistory) UnmarshalJSON

func (s *UserSubscriptionHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserSubscriptionHistory) Validate

func (s *UserSubscriptionHistory) Validate() error

type UserSubscriptionRequestHistoryClient

type UserSubscriptionRequestHistoryClient struct {
	// contains filtered or unexported fields
}

UserSubscriptionRequestHistoryClient provides UserSubscriptionRequestHistory operations.

func NewUserSubscriptionRequestHistoryClient

func NewUserSubscriptionRequestHistoryClient(client *Client) *UserSubscriptionRequestHistoryClient

NewUserSubscriptionRequestHistoryClient creates a new UserSubscriptionRequestHistoryClient.

func (*UserSubscriptionRequestHistoryClient) GetSubscriptionRequestHistory

GetSubscriptionRequestHistory calls UserSubscriptionRequestHistoryController_getSubscriptionRequestHistory.

func (*UserSubscriptionRequestHistoryClient) GetSubscriptionRequestHistoryStats

GetSubscriptionRequestHistoryStats calls UserSubscriptionRequestHistoryController_getSubscriptionRequestHistoryStats.

type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryParams

type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryParams struct {
	// Page size for pagination.
	Size OptFloat64 `json:",omitempty,omitzero"`
	// Offset for pagination.
	Start OptFloat64 `json:",omitempty,omitzero"`
}

UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryParams is parameters of UserSubscriptionRequestHistoryController_getSubscriptionRequestHistory operation.

type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryRes

type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryRes interface {
	// contains filtered or unexported methods
}

type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsRes

type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsRes interface {
	// contains filtered or unexported methods
}

type UserTrafficItem

type UserTrafficItem struct {
	UsedTrafficBytes         float64     `json:"usedTrafficBytes"`
	LifetimeUsedTrafficBytes float64     `json:"lifetimeUsedTrafficBytes"`
	OnlineAt                 NilDateTime `json:"onlineAt"`
	FirstConnectedAt         NilDateTime `json:"firstConnectedAt"`
	LastConnectedNodeUuid    NilUUID     `json:"lastConnectedNodeUuid"`
}

Ref: #/components/schemas/UserTrafficItem

func (*UserTrafficItem) Decode

func (s *UserTrafficItem) Decode(d *jx.Decoder) error

Decode decodes UserTrafficItem from json.

func (*UserTrafficItem) Encode

func (s *UserTrafficItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserTrafficItem) GetFirstConnectedAt

func (s *UserTrafficItem) GetFirstConnectedAt() NilDateTime

GetFirstConnectedAt returns the value of FirstConnectedAt.

func (*UserTrafficItem) GetLastConnectedNodeUuid

func (s *UserTrafficItem) GetLastConnectedNodeUuid() NilUUID

GetLastConnectedNodeUuid returns the value of LastConnectedNodeUuid.

func (*UserTrafficItem) GetLifetimeUsedTrafficBytes

func (s *UserTrafficItem) GetLifetimeUsedTrafficBytes() float64

GetLifetimeUsedTrafficBytes returns the value of LifetimeUsedTrafficBytes.

func (*UserTrafficItem) GetOnlineAt

func (s *UserTrafficItem) GetOnlineAt() NilDateTime

GetOnlineAt returns the value of OnlineAt.

func (*UserTrafficItem) GetUsedTrafficBytes

func (s *UserTrafficItem) GetUsedTrafficBytes() float64

GetUsedTrafficBytes returns the value of UsedTrafficBytes.

func (*UserTrafficItem) MarshalJSON

func (s *UserTrafficItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserTrafficItem) SetFake

func (s *UserTrafficItem) SetFake()

SetFake set fake values.

func (*UserTrafficItem) SetFirstConnectedAt

func (s *UserTrafficItem) SetFirstConnectedAt(val NilDateTime)

SetFirstConnectedAt sets the value of FirstConnectedAt.

func (*UserTrafficItem) SetLastConnectedNodeUuid

func (s *UserTrafficItem) SetLastConnectedNodeUuid(val NilUUID)

SetLastConnectedNodeUuid sets the value of LastConnectedNodeUuid.

func (*UserTrafficItem) SetLifetimeUsedTrafficBytes

func (s *UserTrafficItem) SetLifetimeUsedTrafficBytes(val float64)

SetLifetimeUsedTrafficBytes sets the value of LifetimeUsedTrafficBytes.

func (*UserTrafficItem) SetOnlineAt

func (s *UserTrafficItem) SetOnlineAt(val NilDateTime)

SetOnlineAt sets the value of OnlineAt.

func (*UserTrafficItem) SetUsedTrafficBytes

func (s *UserTrafficItem) SetUsedTrafficBytes(val float64)

SetUsedTrafficBytes sets the value of UsedTrafficBytes.

func (*UserTrafficItem) UnmarshalJSON

func (s *UserTrafficItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserTrafficItem) Validate

func (s *UserTrafficItem) Validate() error

type UserTrafficLimitStrategy

type UserTrafficLimitStrategy string

Available reset periods.

const (
	UserTrafficLimitStrategyNORESET UserTrafficLimitStrategy = "NO_RESET"
	UserTrafficLimitStrategyDAY     UserTrafficLimitStrategy = "DAY"
	UserTrafficLimitStrategyWEEK    UserTrafficLimitStrategy = "WEEK"
	UserTrafficLimitStrategyMONTH   UserTrafficLimitStrategy = "MONTH"
)

func (UserTrafficLimitStrategy) AllValues

AllValues returns all UserTrafficLimitStrategy values.

func (*UserTrafficLimitStrategy) Decode

func (s *UserTrafficLimitStrategy) Decode(d *jx.Decoder) error

Decode decodes UserTrafficLimitStrategy from json.

func (UserTrafficLimitStrategy) Encode

func (s UserTrafficLimitStrategy) Encode(e *jx.Encoder)

Encode encodes UserTrafficLimitStrategy as json.

func (UserTrafficLimitStrategy) MarshalJSON

func (s UserTrafficLimitStrategy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserTrafficLimitStrategy) MarshalText

func (s UserTrafficLimitStrategy) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserTrafficLimitStrategy) SetFake

func (s *UserTrafficLimitStrategy) SetFake()

SetFake set fake values.

func (*UserTrafficLimitStrategy) UnmarshalJSON

func (s *UserTrafficLimitStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserTrafficLimitStrategy) UnmarshalText

func (s *UserTrafficLimitStrategy) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserTrafficLimitStrategy) Validate

func (s UserTrafficLimitStrategy) Validate() error

type UsersBulkActionsClient

type UsersBulkActionsClient struct {
	// contains filtered or unexported fields
}

UsersBulkActionsClient provides UsersBulkActions operations.

func NewUsersBulkActionsClient

func NewUsersBulkActionsClient(client *Client) *UsersBulkActionsClient

NewUsersBulkActionsClient creates a new UsersBulkActionsClient.

func (*UsersBulkActionsClient) BulkAllExtendExpirationDate

BulkAllExtendExpirationDate calls UsersBulkActionsController_bulkAllExtendExpirationDate.

func (*UsersBulkActionsClient) BulkAllResetUserTraffic

BulkAllResetUserTraffic calls UsersBulkActionsController_bulkAllResetUserTraffic.

func (*UsersBulkActionsClient) BulkDeleteUsers

BulkDeleteUsers calls UsersBulkActionsController_bulkDeleteUsers.

func (*UsersBulkActionsClient) BulkDeleteUsersByStatus

BulkDeleteUsersByStatus calls UsersBulkActionsController_bulkDeleteUsersByStatus.

func (*UsersBulkActionsClient) BulkExtendExpirationDate

BulkExtendExpirationDate calls UsersBulkActionsController_bulkExtendExpirationDate.

func (*UsersBulkActionsClient) BulkResetUserTraffic

BulkResetUserTraffic calls UsersBulkActionsController_bulkResetUserTraffic.

func (*UsersBulkActionsClient) BulkRevokeUsersSubscription

BulkRevokeUsersSubscription calls UsersBulkActionsController_bulkRevokeUsersSubscription.

func (*UsersBulkActionsClient) BulkUpdateAllUsers

BulkUpdateAllUsers calls UsersBulkActionsController_bulkUpdateAllUsers.

func (*UsersBulkActionsClient) BulkUpdateUsers

BulkUpdateUsers calls UsersBulkActionsController_bulkUpdateUsers.

func (*UsersBulkActionsClient) BulkUpdateUsersInternalSquads

BulkUpdateUsersInternalSquads calls UsersBulkActionsController_bulkUpdateUsersInternalSquads.

type UsersBulkActionsControllerBulkAllExtendExpirationDateRes

type UsersBulkActionsControllerBulkAllExtendExpirationDateRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkAllResetUserTrafficRes

type UsersBulkActionsControllerBulkAllResetUserTrafficRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkDeleteUsersByStatusRes

type UsersBulkActionsControllerBulkDeleteUsersByStatusRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkDeleteUsersRes

type UsersBulkActionsControllerBulkDeleteUsersRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkExtendExpirationDateRes

type UsersBulkActionsControllerBulkExtendExpirationDateRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkResetUserTrafficRes

type UsersBulkActionsControllerBulkResetUserTrafficRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkRevokeUsersSubscriptionRes

type UsersBulkActionsControllerBulkRevokeUsersSubscriptionRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkUpdateAllUsersRes

type UsersBulkActionsControllerBulkUpdateAllUsersRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkUpdateUsersInternalSquadsRes

type UsersBulkActionsControllerBulkUpdateUsersInternalSquadsRes interface {
	// contains filtered or unexported methods
}

type UsersBulkActionsControllerBulkUpdateUsersRes

type UsersBulkActionsControllerBulkUpdateUsersRes interface {
	// contains filtered or unexported methods
}

type UsersClient

type UsersClient struct {
	// contains filtered or unexported fields
}

UsersClient provides Users operations.

func NewUsersClient

func NewUsersClient(client *Client) *UsersClient

NewUsersClient creates a new UsersClient.

func (*UsersClient) CreateUser

CreateUser calls UsersController_createUser.

func (*UsersClient) DeleteUser

func (sc *UsersClient) DeleteUser(ctx context.Context, uuid string) (UsersControllerDeleteUserRes, error)

DeleteUser calls UsersController_deleteUser.

func (*UsersClient) DisableUser

func (sc *UsersClient) DisableUser(ctx context.Context, uuid string) (UsersControllerDisableUserRes, error)

DisableUser calls UsersController_disableUser.

func (*UsersClient) EnableUser

func (sc *UsersClient) EnableUser(ctx context.Context, uuid string) (UsersControllerEnableUserRes, error)

EnableUser calls UsersController_enableUser.

func (*UsersClient) GetAllTags

GetAllTags calls UsersController_getAllTags.

func (*UsersClient) GetAllUsers

func (sc *UsersClient) GetAllUsers(ctx context.Context, size float64, start float64) (UsersControllerGetAllUsersRes, error)

GetAllUsers calls UsersController_getAllUsers.

func (*UsersClient) GetUserAccessibleNodes

func (sc *UsersClient) GetUserAccessibleNodes(ctx context.Context, uuid string) (UsersControllerGetUserAccessibleNodesRes, error)

GetUserAccessibleNodes calls UsersController_getUserAccessibleNodes.

func (*UsersClient) GetUserById

GetUserById calls UsersController_getUserById.

func (*UsersClient) GetUserByShortUuid

func (sc *UsersClient) GetUserByShortUuid(ctx context.Context, shortuuid string) (UsersControllerGetUserByShortUuidRes, error)

GetUserByShortUuid calls UsersController_getUserByShortUuid.

func (*UsersClient) GetUserByTelegramId

func (sc *UsersClient) GetUserByTelegramId(ctx context.Context, telegramid string) (UsersControllerGetUserByTelegramIdRes, error)

GetUserByTelegramId calls UsersController_getUserByTelegramId.

func (*UsersClient) GetUserByUsername

func (sc *UsersClient) GetUserByUsername(ctx context.Context, username string) (UsersControllerGetUserByUsernameRes, error)

GetUserByUsername calls UsersController_getUserByUsername.

func (*UsersClient) GetUserByUuid

func (sc *UsersClient) GetUserByUuid(ctx context.Context, uuid string) (UsersControllerGetUserByUuidRes, error)

GetUserByUuid calls UsersController_getUserByUuid.

func (*UsersClient) GetUserSubscriptionRequestHistory

func (sc *UsersClient) GetUserSubscriptionRequestHistory(ctx context.Context, uuid string) (UsersControllerGetUserSubscriptionRequestHistoryRes, error)

GetUserSubscriptionRequestHistory calls UsersController_getUserSubscriptionRequestHistory.

func (*UsersClient) GetUsersByEmail

func (sc *UsersClient) GetUsersByEmail(ctx context.Context, email string) (UsersControllerGetUsersByEmailRes, error)

GetUsersByEmail calls UsersController_getUsersByEmail.

func (*UsersClient) GetUsersByTag

func (sc *UsersClient) GetUsersByTag(ctx context.Context, tag string) (UsersControllerGetUsersByTagRes, error)

GetUsersByTag calls UsersController_getUsersByTag.

func (*UsersClient) ResetUserTraffic

func (sc *UsersClient) ResetUserTraffic(ctx context.Context, uuid string) (UsersControllerResetUserTrafficRes, error)

ResetUserTraffic calls UsersController_resetUserTraffic.

func (*UsersClient) RevokeUserSubscription

RevokeUserSubscription calls UsersController_revokeUserSubscription.

func (*UsersClient) UpdateUser

UpdateUser calls UsersController_updateUser.

type UsersControllerCreateUserRes

type UsersControllerCreateUserRes interface {
	// contains filtered or unexported methods
}

type UsersControllerDeleteUserParams

type UsersControllerDeleteUserParams struct {
	// UUID of the user.
	UUID string
}

UsersControllerDeleteUserParams is parameters of UsersController_deleteUser operation.

type UsersControllerDeleteUserRes

type UsersControllerDeleteUserRes interface {
	// contains filtered or unexported methods
}

type UsersControllerDisableUserParams

type UsersControllerDisableUserParams struct {
	// UUID of the user.
	UUID string
}

UsersControllerDisableUserParams is parameters of UsersController_disableUser operation.

type UsersControllerDisableUserRes

type UsersControllerDisableUserRes interface {
	// contains filtered or unexported methods
}

type UsersControllerEnableUserParams

type UsersControllerEnableUserParams struct {
	// UUID of the user.
	UUID string
}

UsersControllerEnableUserParams is parameters of UsersController_enableUser operation.

type UsersControllerEnableUserRes

type UsersControllerEnableUserRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetAllTagsRes

type UsersControllerGetAllTagsRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetAllUsersParams

type UsersControllerGetAllUsersParams struct {
	// Page size for pagination.
	Size OptFloat64 `json:",omitempty,omitzero"`
	// Offset for pagination.
	Start OptFloat64 `json:",omitempty,omitzero"`
}

UsersControllerGetAllUsersParams is parameters of UsersController_getAllUsers operation.

type UsersControllerGetAllUsersRes

type UsersControllerGetAllUsersRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUserAccessibleNodesParams

type UsersControllerGetUserAccessibleNodesParams struct {
	// UUID of the user.
	UUID string
}

UsersControllerGetUserAccessibleNodesParams is parameters of UsersController_getUserAccessibleNodes operation.

type UsersControllerGetUserAccessibleNodesRes

type UsersControllerGetUserAccessibleNodesRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUserByIdParams

type UsersControllerGetUserByIdParams struct {
	// ID of the user.
	ID string
}

UsersControllerGetUserByIdParams is parameters of UsersController_getUserById operation.

type UsersControllerGetUserByIdRes

type UsersControllerGetUserByIdRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUserByShortUuidParams

type UsersControllerGetUserByShortUuidParams struct {
	// Short UUID of the user.
	ShortUuid string
}

UsersControllerGetUserByShortUuidParams is parameters of UsersController_getUserByShortUuid operation.

type UsersControllerGetUserByShortUuidRes

type UsersControllerGetUserByShortUuidRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUserByTelegramIdParams

type UsersControllerGetUserByTelegramIdParams struct {
	// Telegram ID of the user.
	TelegramId string
}

UsersControllerGetUserByTelegramIdParams is parameters of UsersController_getUserByTelegramId operation.

type UsersControllerGetUserByTelegramIdRes

type UsersControllerGetUserByTelegramIdRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUserByUsernameParams

type UsersControllerGetUserByUsernameParams struct {
	// Username of the user.
	Username string
}

UsersControllerGetUserByUsernameParams is parameters of UsersController_getUserByUsername operation.

type UsersControllerGetUserByUsernameRes

type UsersControllerGetUserByUsernameRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUserByUuidParams

type UsersControllerGetUserByUuidParams struct {
	// UUID of the user.
	UUID string
}

UsersControllerGetUserByUuidParams is parameters of UsersController_getUserByUuid operation.

type UsersControllerGetUserByUuidRes

type UsersControllerGetUserByUuidRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUserSubscriptionRequestHistoryParams

type UsersControllerGetUserSubscriptionRequestHistoryParams struct {
	// UUID of the user.
	UUID string
}

UsersControllerGetUserSubscriptionRequestHistoryParams is parameters of UsersController_getUserSubscriptionRequestHistory operation.

type UsersControllerGetUserSubscriptionRequestHistoryRes

type UsersControllerGetUserSubscriptionRequestHistoryRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUsersByEmailParams

type UsersControllerGetUsersByEmailParams struct {
	// Email of the user.
	Email string
}

UsersControllerGetUsersByEmailParams is parameters of UsersController_getUsersByEmail operation.

type UsersControllerGetUsersByEmailRes

type UsersControllerGetUsersByEmailRes interface {
	// contains filtered or unexported methods
}

type UsersControllerGetUsersByTagParams

type UsersControllerGetUsersByTagParams struct {
	// Tag of the user.
	Tag string
}

UsersControllerGetUsersByTagParams is parameters of UsersController_getUsersByTag operation.

type UsersControllerGetUsersByTagRes

type UsersControllerGetUsersByTagRes interface {
	// contains filtered or unexported methods
}

type UsersControllerResetUserTrafficParams

type UsersControllerResetUserTrafficParams struct {
	// UUID of the user.
	UUID string
}

UsersControllerResetUserTrafficParams is parameters of UsersController_resetUserTraffic operation.

type UsersControllerResetUserTrafficRes

type UsersControllerResetUserTrafficRes interface {
	// contains filtered or unexported methods
}

type UsersControllerRevokeUserSubscriptionParams

type UsersControllerRevokeUserSubscriptionParams struct {
	// UUID of the user.
	UUID string
}

UsersControllerRevokeUserSubscriptionParams is parameters of UsersController_revokeUserSubscription operation.

type UsersControllerRevokeUserSubscriptionRes

type UsersControllerRevokeUserSubscriptionRes interface {
	// contains filtered or unexported methods
}

type UsersControllerUpdateUserRes

type UsersControllerUpdateUserRes interface {
	// contains filtered or unexported methods
}

type UsersResponse

type UsersResponse struct {
	Response []User `json:"response"`
}

Ref: #/components/schemas/UsersResponse

func (*UsersResponse) Decode

func (s *UsersResponse) Decode(d *jx.Decoder) error

Decode decodes UsersResponse from json.

func (*UsersResponse) Encode

func (s *UsersResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UsersResponse) GetResponse

func (s *UsersResponse) GetResponse() []User

GetResponse returns the value of Response.

func (*UsersResponse) MarshalJSON

func (s *UsersResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UsersResponse) SetFake

func (s *UsersResponse) SetFake()

SetFake set fake values.

func (*UsersResponse) SetResponse

func (s *UsersResponse) SetResponse(val []User)

SetResponse sets the value of Response.

func (*UsersResponse) UnmarshalJSON

func (s *UsersResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UsersResponse) Validate

func (s *UsersResponse) Validate() error

type ValidationError

type ValidationError struct {
	Validation string   `json:"validation"`
	Code       string   `json:"code"`
	Message    string   `json:"message"`
	Path       []string `json:"path"`
}

Ref: #/components/schemas/ValidationError

func (*ValidationError) Decode

func (s *ValidationError) Decode(d *jx.Decoder) error

Decode decodes ValidationError from json.

func (*ValidationError) Encode

func (s *ValidationError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ValidationError) GetCode

func (s *ValidationError) GetCode() string

GetCode returns the value of Code.

func (*ValidationError) GetMessage

func (s *ValidationError) GetMessage() string

GetMessage returns the value of Message.

func (*ValidationError) GetPath

func (s *ValidationError) GetPath() []string

GetPath returns the value of Path.

func (*ValidationError) GetValidation

func (s *ValidationError) GetValidation() string

GetValidation returns the value of Validation.

func (*ValidationError) MarshalJSON

func (s *ValidationError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidationError) SetCode

func (s *ValidationError) SetCode(val string)

SetCode sets the value of Code.

func (*ValidationError) SetFake

func (s *ValidationError) SetFake()

SetFake set fake values.

func (*ValidationError) SetMessage

func (s *ValidationError) SetMessage(val string)

SetMessage sets the value of Message.

func (*ValidationError) SetPath

func (s *ValidationError) SetPath(val []string)

SetPath sets the value of Path.

func (*ValidationError) SetValidation

func (s *ValidationError) SetValidation(val string)

SetValidation sets the value of Validation.

func (*ValidationError) UnmarshalJSON

func (s *ValidationError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ValidationError) Validate

func (s *ValidationError) Validate() error

type VerifyPasskeyRegistrationResponseDto

type VerifyPasskeyRegistrationResponseDto struct {
	Response VerifyPasskeyRegistrationResponseDtoResponse `json:"response"`
}

Ref: #/components/schemas/VerifyPasskeyRegistrationResponseDto

func (*VerifyPasskeyRegistrationResponseDto) Decode

Decode decodes VerifyPasskeyRegistrationResponseDto from json.

func (*VerifyPasskeyRegistrationResponseDto) Encode

Encode implements json.Marshaler.

func (*VerifyPasskeyRegistrationResponseDto) GetResponse

GetResponse returns the value of Response.

func (*VerifyPasskeyRegistrationResponseDto) MarshalJSON

func (s *VerifyPasskeyRegistrationResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VerifyPasskeyRegistrationResponseDto) SetFake

SetFake set fake values.

func (*VerifyPasskeyRegistrationResponseDto) SetResponse

SetResponse sets the value of Response.

func (*VerifyPasskeyRegistrationResponseDto) UnmarshalJSON

func (s *VerifyPasskeyRegistrationResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VerifyPasskeyRegistrationResponseDtoResponse

type VerifyPasskeyRegistrationResponseDtoResponse struct {
	Verified bool `json:"verified"`
}

func (*VerifyPasskeyRegistrationResponseDtoResponse) Decode

Decode decodes VerifyPasskeyRegistrationResponseDtoResponse from json.

func (*VerifyPasskeyRegistrationResponseDtoResponse) Encode

Encode implements json.Marshaler.

func (*VerifyPasskeyRegistrationResponseDtoResponse) GetVerified

GetVerified returns the value of Verified.

func (*VerifyPasskeyRegistrationResponseDtoResponse) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*VerifyPasskeyRegistrationResponseDtoResponse) SetFake

SetFake set fake values.

func (*VerifyPasskeyRegistrationResponseDtoResponse) SetVerified

SetVerified sets the value of Verified.

func (*VerifyPasskeyRegistrationResponseDtoResponse) UnmarshalJSON

func (s *VerifyPasskeyRegistrationResponseDtoResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VerifyPasskeyRegistrationResponseDtoStatusCode

type VerifyPasskeyRegistrationResponseDtoStatusCode struct {
	StatusCode int
	Response   VerifyPasskeyRegistrationResponseDto
}

VerifyPasskeyRegistrationResponseDtoStatusCode wraps VerifyPasskeyRegistrationResponseDto with StatusCode.

func (*VerifyPasskeyRegistrationResponseDtoStatusCode) GetResponse

GetResponse returns the value of Response.

func (*VerifyPasskeyRegistrationResponseDtoStatusCode) GetStatusCode

GetStatusCode returns the value of StatusCode.

func (*VerifyPasskeyRegistrationResponseDtoStatusCode) SetResponse

SetResponse sets the value of Response.

func (*VerifyPasskeyRegistrationResponseDtoStatusCode) SetStatusCode

SetStatusCode sets the value of StatusCode.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL