Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func GetUnknownFields(rawJSON map[string]interface{}, knownFields map[string]bool) map[string]interface{}
- func MustFieldExtraction(data interface{}, path ...string) interface{}
- func SafeFieldExtraction(data interface{}, path ...string) (interface{}, error)
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type ActiveInternalSquad
- func (s *ActiveInternalSquad) Decode(d *jx.Decoder) error
- func (s *ActiveInternalSquad) Encode(e *jx.Encoder)
- func (s *ActiveInternalSquad) GetName() string
- func (s *ActiveInternalSquad) GetUUID() uuid.UUID
- func (s *ActiveInternalSquad) MarshalJSON() ([]byte, error)
- func (s *ActiveInternalSquad) SetFake()
- func (s *ActiveInternalSquad) SetName(val string)
- func (s *ActiveInternalSquad) SetUUID(val uuid.UUID)
- func (s *ActiveInternalSquad) UnmarshalJSON(data []byte) error
- type AllHwidDevices
- func (s *AllHwidDevices) Decode(d *jx.Decoder) error
- func (s *AllHwidDevices) Encode(e *jx.Encoder)
- func (s *AllHwidDevices) GetDevices() []Device
- func (s *AllHwidDevices) GetTotal() float64
- func (s *AllHwidDevices) MarshalJSON() ([]byte, error)
- func (s *AllHwidDevices) SetDevices(val []Device)
- func (s *AllHwidDevices) SetFake()
- func (s *AllHwidDevices) SetTotal(val float64)
- func (s *AllHwidDevices) UnmarshalJSON(data []byte) error
- func (s *AllHwidDevices) Validate() error
- type ApiTokensClient
- func (sc *ApiTokensClient) Create(ctx context.Context, request *CreateApiTokenRequestDto) (ApiTokensControllerCreateRes, error)
- func (sc *ApiTokensClient) Delete(ctx context.Context, uuid string) (ApiTokensControllerDeleteRes, error)
- func (sc *ApiTokensClient) FindAll(ctx context.Context) (ApiTokensControllerFindAllRes, error)
- type ApiTokensControllerCreateRes
- type ApiTokensControllerDeleteParams
- type ApiTokensControllerDeleteRes
- type ApiTokensControllerFindAllRes
- type AuthClient
- func (sc *AuthClient) GetStatus(ctx context.Context) (AuthControllerGetStatusRes, error)
- func (sc *AuthClient) Login(ctx context.Context, request *LoginRequestDto) (AuthControllerLoginRes, error)
- func (sc *AuthClient) Oauth2Authorize(ctx context.Context, request *OAuth2AuthorizeRequestDto) (AuthControllerOauth2AuthorizeRes, error)
- func (sc *AuthClient) Oauth2Callback(ctx context.Context, request *OAuth2CallbackRequestDto) (AuthControllerOauth2CallbackRes, error)
- func (sc *AuthClient) PasskeyAuthenticationOptions(ctx context.Context) (AuthControllerPasskeyAuthenticationOptionsRes, error)
- func (sc *AuthClient) PasskeyAuthenticationVerify(ctx context.Context, request *PasskeyOptions) (AuthControllerPasskeyAuthenticationVerifyRes, error)
- func (sc *AuthClient) Register(ctx context.Context, request *RegisterRequestDto) (AuthControllerRegisterRes, error)
- func (sc *AuthClient) TelegramCallback(ctx context.Context, request *TelegramCallbackRequestDto) (AuthControllerTelegramCallbackRes, error)
- type AuthControllerGetStatusRes
- type AuthControllerLoginRes
- type AuthControllerOauth2AuthorizeRes
- type AuthControllerOauth2CallbackRes
- type AuthControllerPasskeyAuthenticationOptionsRes
- type AuthControllerPasskeyAuthenticationVerifyRes
- type AuthControllerRegisterRes
- type AuthControllerTelegramCallbackRes
- type Authorization
- type BadRequestError
- func (s *BadRequestError) Decode(d *jx.Decoder) error
- func (s *BadRequestError) Encode(e *jx.Encoder)
- func (s *BadRequestError) GetErrors() []ValidationError
- func (s *BadRequestError) GetMessage() string
- func (s *BadRequestError) GetStatusCode() float64
- func (s *BadRequestError) MarshalJSON() ([]byte, error)
- func (s *BadRequestError) SetErrors(val []ValidationError)
- func (s *BadRequestError) SetFake()
- func (s *BadRequestError) SetMessage(val string)
- func (s *BadRequestError) SetStatusCode(val float64)
- func (s *BadRequestError) UnmarshalJSON(data []byte) error
- func (s *BadRequestError) Validate() error
- type BandwidthLastTwoDays
- func (s *BandwidthLastTwoDays) Decode(d *jx.Decoder) error
- func (s *BandwidthLastTwoDays) Encode(e *jx.Encoder)
- func (s *BandwidthLastTwoDays) GetCurrent() string
- func (s *BandwidthLastTwoDays) GetDifference() string
- func (s *BandwidthLastTwoDays) GetPrevious() string
- func (s *BandwidthLastTwoDays) MarshalJSON() ([]byte, error)
- func (s *BandwidthLastTwoDays) SetCurrent(val string)
- func (s *BandwidthLastTwoDays) SetDifference(val string)
- func (s *BandwidthLastTwoDays) SetFake()
- func (s *BandwidthLastTwoDays) SetPrevious(val string)
- func (s *BandwidthLastTwoDays) UnmarshalJSON(data []byte) error
- type BandwidthStatsNodesClient
- func (sc *BandwidthStatsNodesClient) GetNodeUserUsage(ctx context.Context, ...) (BandwidthStatsNodesControllerGetNodeUserUsageRes, error)
- func (sc *BandwidthStatsNodesClient) GetNodesRealtimeUsage(ctx context.Context) (BandwidthStatsNodesControllerGetNodesRealtimeUsageRes, error)
- func (sc *BandwidthStatsNodesClient) GetStatsNodeUsersUsage(ctx context.Context, ...) (BandwidthStatsNodesControllerGetStatsNodeUsersUsageRes, error)
- type BandwidthStatsNodesControllerGetNodeUserUsageParams
- type BandwidthStatsNodesControllerGetNodeUserUsageRes
- type BandwidthStatsNodesControllerGetNodesRealtimeUsageRes
- type BandwidthStatsNodesControllerGetStatsNodeUsersUsageParams
- type BandwidthStatsNodesControllerGetStatsNodeUsersUsageRes
- type BandwidthStatsUsersClient
- type BandwidthStatsUsersControllerGetStatsNodesUsageParams
- type BandwidthStatsUsersControllerGetStatsNodesUsageRes
- type BandwidthStatsUsersControllerGetUserUsageByRangeParams
- type BandwidthStatsUsersControllerGetUserUsageByRangeRes
- type BillingHistoryItem
- func (s *BillingHistoryItem) Decode(d *jx.Decoder) error
- func (s *BillingHistoryItem) Encode(e *jx.Encoder)
- func (s *BillingHistoryItem) GetTotalAmount() float64
- func (s *BillingHistoryItem) GetTotalBills() float64
- func (s *BillingHistoryItem) MarshalJSON() ([]byte, error)
- func (s *BillingHistoryItem) SetFake()
- func (s *BillingHistoryItem) SetTotalAmount(val float64)
- func (s *BillingHistoryItem) SetTotalBills(val float64)
- func (s *BillingHistoryItem) UnmarshalJSON(data []byte) error
- func (s *BillingHistoryItem) Validate() error
- type BillingHistoryResponse
- func (s *BillingHistoryResponse) Decode(d *jx.Decoder) error
- func (s *BillingHistoryResponse) Encode(e *jx.Encoder)
- func (s *BillingHistoryResponse) GetResponse() BillingHistoryResponseResponse
- func (s *BillingHistoryResponse) MarshalJSON() ([]byte, error)
- func (s *BillingHistoryResponse) SetFake()
- func (s *BillingHistoryResponse) SetResponse(val BillingHistoryResponseResponse)
- func (s *BillingHistoryResponse) UnmarshalJSON(data []byte) error
- func (s *BillingHistoryResponse) Validate() error
- type BillingHistoryResponseResponse
- func (s *BillingHistoryResponseResponse) Decode(d *jx.Decoder) error
- func (s *BillingHistoryResponseResponse) Encode(e *jx.Encoder)
- func (s *BillingHistoryResponseResponse) GetRecords() []BillingHistoryResponseResponseRecordsItem
- func (s *BillingHistoryResponseResponse) GetTotal() float64
- func (s *BillingHistoryResponseResponse) MarshalJSON() ([]byte, error)
- func (s *BillingHistoryResponseResponse) SetFake()
- func (s *BillingHistoryResponseResponse) SetRecords(val []BillingHistoryResponseResponseRecordsItem)
- func (s *BillingHistoryResponseResponse) SetTotal(val float64)
- func (s *BillingHistoryResponseResponse) UnmarshalJSON(data []byte) error
- func (s *BillingHistoryResponseResponse) Validate() error
- type BillingHistoryResponseResponseRecordsItem
- func (s *BillingHistoryResponseResponseRecordsItem) Decode(d *jx.Decoder) error
- func (s *BillingHistoryResponseResponseRecordsItem) Encode(e *jx.Encoder)
- func (s *BillingHistoryResponseResponseRecordsItem) GetAmount() float64
- func (s *BillingHistoryResponseResponseRecordsItem) GetBilledAt() time.Time
- func (s *BillingHistoryResponseResponseRecordsItem) GetProvider() BillingHistoryResponseResponseRecordsItemProvider
- func (s *BillingHistoryResponseResponseRecordsItem) GetProviderUuid() uuid.UUID
- func (s *BillingHistoryResponseResponseRecordsItem) GetUUID() uuid.UUID
- func (s *BillingHistoryResponseResponseRecordsItem) MarshalJSON() ([]byte, error)
- func (s *BillingHistoryResponseResponseRecordsItem) SetAmount(val float64)
- func (s *BillingHistoryResponseResponseRecordsItem) SetBilledAt(val time.Time)
- func (s *BillingHistoryResponseResponseRecordsItem) SetFake()
- func (s *BillingHistoryResponseResponseRecordsItem) SetProvider(val BillingHistoryResponseResponseRecordsItemProvider)
- func (s *BillingHistoryResponseResponseRecordsItem) SetProviderUuid(val uuid.UUID)
- func (s *BillingHistoryResponseResponseRecordsItem) SetUUID(val uuid.UUID)
- func (s *BillingHistoryResponseResponseRecordsItem) UnmarshalJSON(data []byte) error
- func (s *BillingHistoryResponseResponseRecordsItem) Validate() error
- type BillingHistoryResponseResponseRecordsItemProvider
- func (s *BillingHistoryResponseResponseRecordsItemProvider) Decode(d *jx.Decoder) error
- func (s *BillingHistoryResponseResponseRecordsItemProvider) Encode(e *jx.Encoder)
- func (s *BillingHistoryResponseResponseRecordsItemProvider) GetFaviconLink() NilString
- func (s *BillingHistoryResponseResponseRecordsItemProvider) GetName() string
- func (s *BillingHistoryResponseResponseRecordsItemProvider) GetUUID() uuid.UUID
- func (s *BillingHistoryResponseResponseRecordsItemProvider) MarshalJSON() ([]byte, error)
- func (s *BillingHistoryResponseResponseRecordsItemProvider) SetFake()
- func (s *BillingHistoryResponseResponseRecordsItemProvider) SetFaviconLink(val NilString)
- func (s *BillingHistoryResponseResponseRecordsItemProvider) SetName(val string)
- func (s *BillingHistoryResponseResponseRecordsItemProvider) SetUUID(val uuid.UUID)
- func (s *BillingHistoryResponseResponseRecordsItemProvider) UnmarshalJSON(data []byte) error
- type BillingNode
- func (s *BillingNode) Decode(d *jx.Decoder) error
- func (s *BillingNode) Encode(e *jx.Encoder)
- func (s *BillingNode) GetCountryCode() string
- func (s *BillingNode) GetName() string
- func (s *BillingNode) GetNodeUuid() uuid.UUID
- func (s *BillingNode) MarshalJSON() ([]byte, error)
- func (s *BillingNode) SetCountryCode(val string)
- func (s *BillingNode) SetFake()
- func (s *BillingNode) SetName(val string)
- func (s *BillingNode) SetNodeUuid(val uuid.UUID)
- func (s *BillingNode) UnmarshalJSON(data []byte) error
- type BillingNodesResponse
- func (s *BillingNodesResponse) Decode(d *jx.Decoder) error
- func (s *BillingNodesResponse) Encode(e *jx.Encoder)
- func (s *BillingNodesResponse) GetResponse() BillingNodesResponseResponse
- func (s *BillingNodesResponse) MarshalJSON() ([]byte, error)
- func (s *BillingNodesResponse) SetFake()
- func (s *BillingNodesResponse) SetResponse(val BillingNodesResponseResponse)
- func (s *BillingNodesResponse) UnmarshalJSON(data []byte) error
- func (s *BillingNodesResponse) Validate() error
- type BillingNodesResponseResponse
- func (s *BillingNodesResponseResponse) Decode(d *jx.Decoder) error
- func (s *BillingNodesResponseResponse) Encode(e *jx.Encoder)
- func (s *BillingNodesResponseResponse) GetAvailableBillingNodes() []Node
- func (s *BillingNodesResponseResponse) GetBillingNodes() []BillingNodesResponseResponseBillingNodesItem
- func (s *BillingNodesResponseResponse) GetStats() BillingNodesResponseResponseStats
- func (s *BillingNodesResponseResponse) GetTotalAvailableBillingNodes() float64
- func (s *BillingNodesResponseResponse) GetTotalBillingNodes() float64
- func (s *BillingNodesResponseResponse) MarshalJSON() ([]byte, error)
- func (s *BillingNodesResponseResponse) SetAvailableBillingNodes(val []Node)
- func (s *BillingNodesResponseResponse) SetBillingNodes(val []BillingNodesResponseResponseBillingNodesItem)
- func (s *BillingNodesResponseResponse) SetFake()
- func (s *BillingNodesResponseResponse) SetStats(val BillingNodesResponseResponseStats)
- func (s *BillingNodesResponseResponse) SetTotalAvailableBillingNodes(val float64)
- func (s *BillingNodesResponseResponse) SetTotalBillingNodes(val float64)
- func (s *BillingNodesResponseResponse) UnmarshalJSON(data []byte) error
- func (s *BillingNodesResponseResponse) Validate() error
- type BillingNodesResponseResponseBillingNodesItem
- func (s *BillingNodesResponseResponseBillingNodesItem) Decode(d *jx.Decoder) error
- func (s *BillingNodesResponseResponseBillingNodesItem) Encode(e *jx.Encoder)
- func (s *BillingNodesResponseResponseBillingNodesItem) GetCreatedAt() time.Time
- func (s *BillingNodesResponseResponseBillingNodesItem) GetNextBillingAt() time.Time
- func (s *BillingNodesResponseResponseBillingNodesItem) GetNode() Node
- func (s *BillingNodesResponseResponseBillingNodesItem) GetNodeUuid() uuid.UUID
- func (s *BillingNodesResponseResponseBillingNodesItem) GetProvider() BillingNodesResponseResponseBillingNodesItemProvider
- func (s *BillingNodesResponseResponseBillingNodesItem) GetProviderUuid() uuid.UUID
- func (s *BillingNodesResponseResponseBillingNodesItem) GetUUID() uuid.UUID
- func (s *BillingNodesResponseResponseBillingNodesItem) GetUpdatedAt() time.Time
- func (s *BillingNodesResponseResponseBillingNodesItem) MarshalJSON() ([]byte, error)
- func (s *BillingNodesResponseResponseBillingNodesItem) SetCreatedAt(val time.Time)
- func (s *BillingNodesResponseResponseBillingNodesItem) SetFake()
- func (s *BillingNodesResponseResponseBillingNodesItem) SetNextBillingAt(val time.Time)
- func (s *BillingNodesResponseResponseBillingNodesItem) SetNode(val Node)
- func (s *BillingNodesResponseResponseBillingNodesItem) SetNodeUuid(val uuid.UUID)
- func (s *BillingNodesResponseResponseBillingNodesItem) SetProvider(val BillingNodesResponseResponseBillingNodesItemProvider)
- func (s *BillingNodesResponseResponseBillingNodesItem) SetProviderUuid(val uuid.UUID)
- func (s *BillingNodesResponseResponseBillingNodesItem) SetUUID(val uuid.UUID)
- func (s *BillingNodesResponseResponseBillingNodesItem) SetUpdatedAt(val time.Time)
- func (s *BillingNodesResponseResponseBillingNodesItem) UnmarshalJSON(data []byte) error
- type BillingNodesResponseResponseBillingNodesItemProvider
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) Decode(d *jx.Decoder) error
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) Encode(e *jx.Encoder)
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) GetFaviconLink() NilString
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) GetLoginUrl() NilString
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) GetName() string
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) GetUUID() uuid.UUID
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) MarshalJSON() ([]byte, error)
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetFake()
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetFaviconLink(val NilString)
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetLoginUrl(val NilString)
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetName(val string)
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetUUID(val uuid.UUID)
- func (s *BillingNodesResponseResponseBillingNodesItemProvider) UnmarshalJSON(data []byte) error
- type BillingNodesResponseResponseStats
- func (s *BillingNodesResponseResponseStats) Decode(d *jx.Decoder) error
- func (s *BillingNodesResponseResponseStats) Encode(e *jx.Encoder)
- func (s *BillingNodesResponseResponseStats) GetCurrentMonthPayments() float64
- func (s *BillingNodesResponseResponseStats) GetTotalSpent() float64
- func (s *BillingNodesResponseResponseStats) GetUpcomingNodesCount() float64
- func (s *BillingNodesResponseResponseStats) MarshalJSON() ([]byte, error)
- func (s *BillingNodesResponseResponseStats) SetCurrentMonthPayments(val float64)
- func (s *BillingNodesResponseResponseStats) SetFake()
- func (s *BillingNodesResponseResponseStats) SetTotalSpent(val float64)
- func (s *BillingNodesResponseResponseStats) SetUpcomingNodesCount(val float64)
- func (s *BillingNodesResponseResponseStats) UnmarshalJSON(data []byte) error
- func (s *BillingNodesResponseResponseStats) Validate() error
- type BrandingSettings
- func (s *BrandingSettings) Decode(d *jx.Decoder) error
- func (s *BrandingSettings) Encode(e *jx.Encoder)
- func (s *BrandingSettings) GetLogoUrl() NilURI
- func (s *BrandingSettings) GetTitle() NilString
- func (s *BrandingSettings) MarshalJSON() ([]byte, error)
- func (s *BrandingSettings) SetFake()
- func (s *BrandingSettings) SetLogoUrl(val NilURI)
- func (s *BrandingSettings) SetTitle(val NilString)
- func (s *BrandingSettings) UnmarshalJSON(data []byte) error
- type BulkActionResponse
- func (s *BulkActionResponse) Decode(d *jx.Decoder) error
- func (s *BulkActionResponse) Encode(e *jx.Encoder)
- func (s *BulkActionResponse) GetResponse() BulkActionResponseResponse
- func (s *BulkActionResponse) MarshalJSON() ([]byte, error)
- func (s *BulkActionResponse) SetFake()
- func (s *BulkActionResponse) SetResponse(val BulkActionResponseResponse)
- func (s *BulkActionResponse) UnmarshalJSON(data []byte) error
- func (s *BulkActionResponse) Validate() error
- type BulkActionResponseResponse
- func (s *BulkActionResponseResponse) Decode(d *jx.Decoder) error
- func (s *BulkActionResponseResponse) Encode(e *jx.Encoder)
- func (s *BulkActionResponseResponse) GetAffectedRows() float64
- func (s *BulkActionResponseResponse) MarshalJSON() ([]byte, error)
- func (s *BulkActionResponseResponse) SetAffectedRows(val float64)
- func (s *BulkActionResponseResponse) SetFake()
- func (s *BulkActionResponseResponse) UnmarshalJSON(data []byte) error
- func (s *BulkActionResponseResponse) Validate() error
- type BulkAllExtendExpirationDateRequestDto
- func (s *BulkAllExtendExpirationDateRequestDto) Decode(d *jx.Decoder) error
- func (s *BulkAllExtendExpirationDateRequestDto) Encode(e *jx.Encoder)
- func (s *BulkAllExtendExpirationDateRequestDto) GetExtendDays() int
- func (s *BulkAllExtendExpirationDateRequestDto) MarshalJSON() ([]byte, error)
- func (s *BulkAllExtendExpirationDateRequestDto) SetExtendDays(val int)
- func (s *BulkAllExtendExpirationDateRequestDto) SetFake()
- func (s *BulkAllExtendExpirationDateRequestDto) UnmarshalJSON(data []byte) error
- func (s *BulkAllExtendExpirationDateRequestDto) Validate() error
- type BulkAllUpdateUsersRequestDto
- func (s *BulkAllUpdateUsersRequestDto) Decode(d *jx.Decoder) error
- func (s *BulkAllUpdateUsersRequestDto) Encode(e *jx.Encoder)
- func (s *BulkAllUpdateUsersRequestDto) GetDescription() OptNilString
- func (s *BulkAllUpdateUsersRequestDto) GetEmail() OptNilString
- func (s *BulkAllUpdateUsersRequestDto) GetExpireAt() OptDateTime
- func (s *BulkAllUpdateUsersRequestDto) GetHwidDeviceLimit() OptNilInt
- func (s *BulkAllUpdateUsersRequestDto) GetStatus() OptBulkAllUpdateUsersRequestDtoStatus
- func (s *BulkAllUpdateUsersRequestDto) GetTag() OptNilString
- func (s *BulkAllUpdateUsersRequestDto) GetTelegramId() OptNilInt
- func (s *BulkAllUpdateUsersRequestDto) GetTrafficLimitBytes() OptInt
- func (s *BulkAllUpdateUsersRequestDto) GetTrafficLimitStrategy() OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy
- func (s *BulkAllUpdateUsersRequestDto) MarshalJSON() ([]byte, error)
- func (s *BulkAllUpdateUsersRequestDto) SetDescription(val OptNilString)
- func (s *BulkAllUpdateUsersRequestDto) SetEmail(val OptNilString)
- func (s *BulkAllUpdateUsersRequestDto) SetExpireAt(val OptDateTime)
- func (s *BulkAllUpdateUsersRequestDto) SetFake()
- func (s *BulkAllUpdateUsersRequestDto) SetHwidDeviceLimit(val OptNilInt)
- func (s *BulkAllUpdateUsersRequestDto) SetStatus(val OptBulkAllUpdateUsersRequestDtoStatus)
- func (s *BulkAllUpdateUsersRequestDto) SetTag(val OptNilString)
- func (s *BulkAllUpdateUsersRequestDto) SetTelegramId(val OptNilInt)
- func (s *BulkAllUpdateUsersRequestDto) SetTrafficLimitBytes(val OptInt)
- func (s *BulkAllUpdateUsersRequestDto) SetTrafficLimitStrategy(val OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy)
- func (s *BulkAllUpdateUsersRequestDto) UnmarshalJSON(data []byte) error
- func (s *BulkAllUpdateUsersRequestDto) Validate() error
- type BulkAllUpdateUsersRequestDtoStatus
- func (BulkAllUpdateUsersRequestDtoStatus) AllValues() []BulkAllUpdateUsersRequestDtoStatus
- func (s *BulkAllUpdateUsersRequestDtoStatus) Decode(d *jx.Decoder) error
- func (s BulkAllUpdateUsersRequestDtoStatus) Encode(e *jx.Encoder)
- func (s BulkAllUpdateUsersRequestDtoStatus) MarshalJSON() ([]byte, error)
- func (s BulkAllUpdateUsersRequestDtoStatus) MarshalText() ([]byte, error)
- func (s *BulkAllUpdateUsersRequestDtoStatus) SetFake()
- func (s *BulkAllUpdateUsersRequestDtoStatus) UnmarshalJSON(data []byte) error
- func (s *BulkAllUpdateUsersRequestDtoStatus) UnmarshalText(data []byte) error
- func (s BulkAllUpdateUsersRequestDtoStatus) Validate() error
- type BulkAllUpdateUsersRequestDtoTrafficLimitStrategy
- func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) AllValues() []BulkAllUpdateUsersRequestDtoTrafficLimitStrategy
- func (s *BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (s BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (s BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (s BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalText() ([]byte, error)
- func (s *BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetFake()
- func (s *BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- func (s *BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalText(data []byte) error
- func (s BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Validate() error
- type BulkDeleteUsersByStatusRequestDto
- func (s *BulkDeleteUsersByStatusRequestDto) Decode(d *jx.Decoder) error
- func (s *BulkDeleteUsersByStatusRequestDto) Encode(e *jx.Encoder)
- func (s *BulkDeleteUsersByStatusRequestDto) GetStatus() OptBulkDeleteUsersByStatusRequestDtoStatus
- func (s *BulkDeleteUsersByStatusRequestDto) MarshalJSON() ([]byte, error)
- func (s *BulkDeleteUsersByStatusRequestDto) SetFake()
- func (s *BulkDeleteUsersByStatusRequestDto) SetStatus(val OptBulkDeleteUsersByStatusRequestDtoStatus)
- func (s *BulkDeleteUsersByStatusRequestDto) UnmarshalJSON(data []byte) error
- func (s *BulkDeleteUsersByStatusRequestDto) Validate() error
- type BulkDeleteUsersByStatusRequestDtoStatus
- func (BulkDeleteUsersByStatusRequestDtoStatus) AllValues() []BulkDeleteUsersByStatusRequestDtoStatus
- func (s *BulkDeleteUsersByStatusRequestDtoStatus) Decode(d *jx.Decoder) error
- func (s BulkDeleteUsersByStatusRequestDtoStatus) Encode(e *jx.Encoder)
- func (s BulkDeleteUsersByStatusRequestDtoStatus) MarshalJSON() ([]byte, error)
- func (s BulkDeleteUsersByStatusRequestDtoStatus) MarshalText() ([]byte, error)
- func (s *BulkDeleteUsersByStatusRequestDtoStatus) SetFake()
- func (s *BulkDeleteUsersByStatusRequestDtoStatus) UnmarshalJSON(data []byte) error
- func (s *BulkDeleteUsersByStatusRequestDtoStatus) UnmarshalText(data []byte) error
- func (s BulkDeleteUsersByStatusRequestDtoStatus) Validate() error
- type BulkExtendExpirationDateRequestDto
- func (s *BulkExtendExpirationDateRequestDto) Decode(d *jx.Decoder) error
- func (s *BulkExtendExpirationDateRequestDto) Encode(e *jx.Encoder)
- func (s *BulkExtendExpirationDateRequestDto) GetExtendDays() int
- func (s *BulkExtendExpirationDateRequestDto) GetUuids() []uuid.UUID
- func (s *BulkExtendExpirationDateRequestDto) MarshalJSON() ([]byte, error)
- func (s *BulkExtendExpirationDateRequestDto) SetExtendDays(val int)
- func (s *BulkExtendExpirationDateRequestDto) SetFake()
- func (s *BulkExtendExpirationDateRequestDto) SetUuids(val []uuid.UUID)
- func (s *BulkExtendExpirationDateRequestDto) UnmarshalJSON(data []byte) error
- func (s *BulkExtendExpirationDateRequestDto) Validate() error
- type BulkUpdateUsersRequestDto
- func (s *BulkUpdateUsersRequestDto) Decode(d *jx.Decoder) error
- func (s *BulkUpdateUsersRequestDto) Encode(e *jx.Encoder)
- func (s *BulkUpdateUsersRequestDto) GetFields() BulkUpdateUsersRequestDtoFields
- func (s *BulkUpdateUsersRequestDto) GetUuids() []uuid.UUID
- func (s *BulkUpdateUsersRequestDto) MarshalJSON() ([]byte, error)
- func (s *BulkUpdateUsersRequestDto) SetFake()
- func (s *BulkUpdateUsersRequestDto) SetFields(val BulkUpdateUsersRequestDtoFields)
- func (s *BulkUpdateUsersRequestDto) SetUuids(val []uuid.UUID)
- func (s *BulkUpdateUsersRequestDto) UnmarshalJSON(data []byte) error
- func (s *BulkUpdateUsersRequestDto) Validate() error
- type BulkUpdateUsersRequestDtoFields
- func (s *BulkUpdateUsersRequestDtoFields) Decode(d *jx.Decoder) error
- func (s *BulkUpdateUsersRequestDtoFields) Encode(e *jx.Encoder)
- func (s *BulkUpdateUsersRequestDtoFields) GetDescription() OptNilString
- func (s *BulkUpdateUsersRequestDtoFields) GetEmail() OptNilString
- func (s *BulkUpdateUsersRequestDtoFields) GetExpireAt() OptDateTime
- func (s *BulkUpdateUsersRequestDtoFields) GetExternalSquadUuid() OptNilUUID
- func (s *BulkUpdateUsersRequestDtoFields) GetHwidDeviceLimit() OptNilInt
- func (s *BulkUpdateUsersRequestDtoFields) GetStatus() OptBulkUpdateUsersRequestDtoFieldsStatus
- func (s *BulkUpdateUsersRequestDtoFields) GetTag() OptNilString
- func (s *BulkUpdateUsersRequestDtoFields) GetTelegramId() OptNilInt
- func (s *BulkUpdateUsersRequestDtoFields) GetTrafficLimitBytes() OptInt
- func (s *BulkUpdateUsersRequestDtoFields) GetTrafficLimitStrategy() OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
- func (s *BulkUpdateUsersRequestDtoFields) MarshalJSON() ([]byte, error)
- func (s *BulkUpdateUsersRequestDtoFields) SetDescription(val OptNilString)
- func (s *BulkUpdateUsersRequestDtoFields) SetEmail(val OptNilString)
- func (s *BulkUpdateUsersRequestDtoFields) SetExpireAt(val OptDateTime)
- func (s *BulkUpdateUsersRequestDtoFields) SetExternalSquadUuid(val OptNilUUID)
- func (s *BulkUpdateUsersRequestDtoFields) SetFake()
- func (s *BulkUpdateUsersRequestDtoFields) SetHwidDeviceLimit(val OptNilInt)
- func (s *BulkUpdateUsersRequestDtoFields) SetStatus(val OptBulkUpdateUsersRequestDtoFieldsStatus)
- func (s *BulkUpdateUsersRequestDtoFields) SetTag(val OptNilString)
- func (s *BulkUpdateUsersRequestDtoFields) SetTelegramId(val OptNilInt)
- func (s *BulkUpdateUsersRequestDtoFields) SetTrafficLimitBytes(val OptInt)
- func (s *BulkUpdateUsersRequestDtoFields) SetTrafficLimitStrategy(val OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy)
- func (s *BulkUpdateUsersRequestDtoFields) UnmarshalJSON(data []byte) error
- func (s *BulkUpdateUsersRequestDtoFields) Validate() error
- type BulkUpdateUsersRequestDtoFieldsStatus
- func (BulkUpdateUsersRequestDtoFieldsStatus) AllValues() []BulkUpdateUsersRequestDtoFieldsStatus
- func (s *BulkUpdateUsersRequestDtoFieldsStatus) Decode(d *jx.Decoder) error
- func (s BulkUpdateUsersRequestDtoFieldsStatus) Encode(e *jx.Encoder)
- func (s BulkUpdateUsersRequestDtoFieldsStatus) MarshalJSON() ([]byte, error)
- func (s BulkUpdateUsersRequestDtoFieldsStatus) MarshalText() ([]byte, error)
- func (s *BulkUpdateUsersRequestDtoFieldsStatus) SetFake()
- func (s *BulkUpdateUsersRequestDtoFieldsStatus) UnmarshalJSON(data []byte) error
- func (s *BulkUpdateUsersRequestDtoFieldsStatus) UnmarshalText(data []byte) error
- func (s BulkUpdateUsersRequestDtoFieldsStatus) Validate() error
- type BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
- func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) AllValues() []BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
- func (s *BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (s BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (s BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (s BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalText() ([]byte, error)
- func (s *BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetFake()
- func (s *BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- func (s *BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalText(data []byte) error
- func (s BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Validate() error
- type BulkUpdateUsersSquadsRequestDto
- func (s *BulkUpdateUsersSquadsRequestDto) Decode(d *jx.Decoder) error
- func (s *BulkUpdateUsersSquadsRequestDto) Encode(e *jx.Encoder)
- func (s *BulkUpdateUsersSquadsRequestDto) GetActiveInternalSquads() []uuid.UUID
- func (s *BulkUpdateUsersSquadsRequestDto) GetUuids() []uuid.UUID
- func (s *BulkUpdateUsersSquadsRequestDto) MarshalJSON() ([]byte, error)
- func (s *BulkUpdateUsersSquadsRequestDto) SetActiveInternalSquads(val []uuid.UUID)
- func (s *BulkUpdateUsersSquadsRequestDto) SetFake()
- func (s *BulkUpdateUsersSquadsRequestDto) SetUuids(val []uuid.UUID)
- func (s *BulkUpdateUsersSquadsRequestDto) UnmarshalJSON(data []byte) error
- func (s *BulkUpdateUsersSquadsRequestDto) Validate() error
- type BulkUuidsRequest
- func (s *BulkUuidsRequest) Decode(d *jx.Decoder) error
- func (s *BulkUuidsRequest) Encode(e *jx.Encoder)
- func (s *BulkUuidsRequest) GetUuids() []uuid.UUID
- func (s *BulkUuidsRequest) MarshalJSON() ([]byte, error)
- func (s *BulkUuidsRequest) SetFake()
- func (s *BulkUuidsRequest) SetUuids(val []uuid.UUID)
- func (s *BulkUuidsRequest) UnmarshalJSON(data []byte) error
- func (s *BulkUuidsRequest) Validate() error
- type BulkUuidsRequest2
- func (s *BulkUuidsRequest2) Decode(d *jx.Decoder) error
- func (s *BulkUuidsRequest2) Encode(e *jx.Encoder)
- func (s *BulkUuidsRequest2) GetUuids() []uuid.UUID
- func (s *BulkUuidsRequest2) MarshalJSON() ([]byte, error)
- func (s *BulkUuidsRequest2) SetFake()
- func (s *BulkUuidsRequest2) SetUuids(val []uuid.UUID)
- func (s *BulkUuidsRequest2) UnmarshalJSON(data []byte) error
- func (s *BulkUuidsRequest2) Validate() error
- type ByAppItem
- func (s *ByAppItem) Decode(d *jx.Decoder) error
- func (s *ByAppItem) Encode(e *jx.Encoder)
- func (s *ByAppItem) GetApp() string
- func (s *ByAppItem) GetCount() float64
- func (s *ByAppItem) MarshalJSON() ([]byte, error)
- func (s *ByAppItem) SetApp(val string)
- func (s *ByAppItem) SetCount(val float64)
- func (s *ByAppItem) SetFake()
- func (s *ByAppItem) UnmarshalJSON(data []byte) error
- func (s *ByAppItem) Validate() error
- type Client
- func (c *Client) ApiTokensControllerCreate(ctx context.Context, request *CreateApiTokenRequestDto) (ApiTokensControllerCreateRes, error)
- func (c *Client) ApiTokensControllerDelete(ctx context.Context, params ApiTokensControllerDeleteParams) (ApiTokensControllerDeleteRes, error)
- func (c *Client) ApiTokensControllerFindAll(ctx context.Context) (ApiTokensControllerFindAllRes, error)
- func (c *Client) AuthControllerGetStatus(ctx context.Context) (AuthControllerGetStatusRes, error)
- func (c *Client) AuthControllerLogin(ctx context.Context, request *LoginRequestDto) (AuthControllerLoginRes, error)
- func (c *Client) AuthControllerOauth2Authorize(ctx context.Context, request *OAuth2AuthorizeRequestDto) (AuthControllerOauth2AuthorizeRes, error)
- func (c *Client) AuthControllerOauth2Callback(ctx context.Context, request *OAuth2CallbackRequestDto) (AuthControllerOauth2CallbackRes, error)
- func (c *Client) AuthControllerPasskeyAuthenticationOptions(ctx context.Context) (AuthControllerPasskeyAuthenticationOptionsRes, error)
- func (c *Client) AuthControllerPasskeyAuthenticationVerify(ctx context.Context, request *PasskeyOptions) (AuthControllerPasskeyAuthenticationVerifyRes, error)
- func (c *Client) AuthControllerRegister(ctx context.Context, request *RegisterRequestDto) (AuthControllerRegisterRes, error)
- func (c *Client) AuthControllerTelegramCallback(ctx context.Context, request *TelegramCallbackRequestDto) (AuthControllerTelegramCallbackRes, error)
- func (c *Client) BandwidthStatsNodesControllerGetNodeUserUsage(ctx context.Context, ...) (BandwidthStatsNodesControllerGetNodeUserUsageRes, error)
- func (c *Client) BandwidthStatsNodesControllerGetNodesRealtimeUsage(ctx context.Context) (BandwidthStatsNodesControllerGetNodesRealtimeUsageRes, error)
- func (c *Client) BandwidthStatsNodesControllerGetStatsNodeUsersUsage(ctx context.Context, ...) (BandwidthStatsNodesControllerGetStatsNodeUsersUsageRes, error)
- func (c *Client) BandwidthStatsUsersControllerGetStatsNodesUsage(ctx context.Context, ...) (BandwidthStatsUsersControllerGetStatsNodesUsageRes, error)
- func (c *Client) BandwidthStatsUsersControllerGetUserUsageByRange(ctx context.Context, ...) (BandwidthStatsUsersControllerGetUserUsageByRangeRes, error)
- func (c *Client) ConfigProfileControllerCreateConfigProfile(ctx context.Context, request *CreateConfigProfileRequestDto) (ConfigProfileControllerCreateConfigProfileRes, error)
- func (c *Client) ConfigProfileControllerDeleteConfigProfileByUuid(ctx context.Context, ...) (ConfigProfileControllerDeleteConfigProfileByUuidRes, error)
- func (c *Client) ConfigProfileControllerGetAllInbounds(ctx context.Context) (ConfigProfileControllerGetAllInboundsRes, error)
- func (c *Client) ConfigProfileControllerGetComputedConfigProfileByUuid(ctx context.Context, ...) (ConfigProfileControllerGetComputedConfigProfileByUuidRes, error)
- func (c *Client) ConfigProfileControllerGetConfigProfileByUuid(ctx context.Context, ...) (ConfigProfileControllerGetConfigProfileByUuidRes, error)
- func (c *Client) ConfigProfileControllerGetConfigProfiles(ctx context.Context) (ConfigProfileControllerGetConfigProfilesRes, error)
- func (c *Client) ConfigProfileControllerGetInboundsByProfileUuid(ctx context.Context, ...) (ConfigProfileControllerGetInboundsByProfileUuidRes, error)
- func (c *Client) ConfigProfileControllerReorderConfigProfiles(ctx context.Context, request *ReorderRequest) (ConfigProfileControllerReorderConfigProfilesRes, error)
- func (c *Client) ConfigProfileControllerUpdateConfigProfile(ctx context.Context, request *UpdateConfigProfileRequestDto) (ConfigProfileControllerUpdateConfigProfileRes, error)
- func (c *Client) ExternalSquadControllerAddUsersToExternalSquad(ctx context.Context, ...) (ExternalSquadControllerAddUsersToExternalSquadRes, error)
- func (c *Client) ExternalSquadControllerCreateExternalSquad(ctx context.Context, request *ExternalSquadRequestRequest) (ExternalSquadControllerCreateExternalSquadRes, error)
- func (c *Client) ExternalSquadControllerDeleteExternalSquad(ctx context.Context, params ExternalSquadControllerDeleteExternalSquadParams) (ExternalSquadControllerDeleteExternalSquadRes, error)
- func (c *Client) ExternalSquadControllerGetExternalSquadByUuid(ctx context.Context, ...) (ExternalSquadControllerGetExternalSquadByUuidRes, error)
- func (c *Client) ExternalSquadControllerGetExternalSquads(ctx context.Context) (ExternalSquadControllerGetExternalSquadsRes, error)
- func (c *Client) ExternalSquadControllerRemoveUsersFromExternalSquad(ctx context.Context, ...) (ExternalSquadControllerRemoveUsersFromExternalSquadRes, error)
- func (c *Client) ExternalSquadControllerReorderExternalSquads(ctx context.Context, request *ReorderRequest) (ExternalSquadControllerReorderExternalSquadsRes, error)
- func (c *Client) ExternalSquadControllerUpdateExternalSquad(ctx context.Context, request *UpdateExternalSquadRequestDto) (ExternalSquadControllerUpdateExternalSquadRes, error)
- func (c *Client) HostsBulkActionsControllerDeleteHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDeleteHostsRes, error)
- func (c *Client) HostsBulkActionsControllerDisableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDisableHostsRes, error)
- func (c *Client) HostsBulkActionsControllerEnableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerEnableHostsRes, error)
- func (c *Client) HostsBulkActionsControllerSetInboundToHosts(ctx context.Context, request *SetInboundToManyHostsRequestDto) (HostsBulkActionsControllerSetInboundToHostsRes, error)
- func (c *Client) HostsBulkActionsControllerSetPortToHosts(ctx context.Context, request *SetPortToManyHostsRequestDto) (HostsBulkActionsControllerSetPortToHostsRes, error)
- func (c *Client) HostsControllerCreateHost(ctx context.Context, request *CreateHostRequestDto) (HostsControllerCreateHostRes, error)
- func (c *Client) HostsControllerDeleteHost(ctx context.Context, params HostsControllerDeleteHostParams) (HostsControllerDeleteHostRes, error)
- func (c *Client) HostsControllerGetAllHostTags(ctx context.Context) (HostsControllerGetAllHostTagsRes, error)
- func (c *Client) HostsControllerGetAllHosts(ctx context.Context) (HostsControllerGetAllHostsRes, error)
- func (c *Client) HostsControllerGetOneHost(ctx context.Context, params HostsControllerGetOneHostParams) (HostsControllerGetOneHostRes, error)
- func (c *Client) HostsControllerReorderHosts(ctx context.Context, request *ReorderHostRequestDto) (HostsControllerReorderHostsRes, error)
- func (c *Client) HostsControllerUpdateHost(ctx context.Context, request *UpdateHostRequestDto) (HostsControllerUpdateHostRes, error)
- func (c *Client) HwidUserDevicesControllerCreateUserHwidDevice(ctx context.Context, request *CreateUserHwidDeviceRequestDto) (HwidUserDevicesControllerCreateUserHwidDeviceRes, error)
- func (c *Client) HwidUserDevicesControllerDeleteAllUserHwidDevices(ctx context.Context, request *DeleteAllUserHwidDevicesRequestDto) (HwidUserDevicesControllerDeleteAllUserHwidDevicesRes, error)
- func (c *Client) HwidUserDevicesControllerDeleteUserHwidDevice(ctx context.Context, request *DeleteUserHwidDeviceRequestDto) (HwidUserDevicesControllerDeleteUserHwidDeviceRes, error)
- func (c *Client) HwidUserDevicesControllerGetAllUsers(ctx context.Context, params HwidUserDevicesControllerGetAllUsersParams) (HwidUserDevicesControllerGetAllUsersRes, error)
- func (c *Client) HwidUserDevicesControllerGetHwidDevicesStats(ctx context.Context) (HwidUserDevicesControllerGetHwidDevicesStatsRes, error)
- func (c *Client) HwidUserDevicesControllerGetTopUsersByHwidDevices(ctx context.Context, ...) (HwidUserDevicesControllerGetTopUsersByHwidDevicesRes, error)
- func (c *Client) HwidUserDevicesControllerGetUserHwidDevices(ctx context.Context, params HwidUserDevicesControllerGetUserHwidDevicesParams) (HwidUserDevicesControllerGetUserHwidDevicesRes, error)
- func (c *Client) InfraBillingControllerCreateInfraBillingHistoryRecord(ctx context.Context, request *CreateInfraBillingHistoryRecordRequestDto) (InfraBillingControllerCreateInfraBillingHistoryRecordRes, error)
- func (c *Client) InfraBillingControllerCreateInfraBillingNode(ctx context.Context, request *CreateInfraBillingNodeRequestDto) (InfraBillingControllerCreateInfraBillingNodeRes, error)
- func (c *Client) InfraBillingControllerCreateInfraProvider(ctx context.Context, request *CreateInfraProviderRequestDto) (InfraBillingControllerCreateInfraProviderRes, error)
- func (c *Client) InfraBillingControllerDeleteInfraBillingHistoryRecordByUuid(ctx context.Context, ...) (InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidRes, error)
- func (c *Client) InfraBillingControllerDeleteInfraBillingNodeByUuid(ctx context.Context, ...) (InfraBillingControllerDeleteInfraBillingNodeByUuidRes, error)
- func (c *Client) InfraBillingControllerDeleteInfraProviderByUuid(ctx context.Context, ...) (InfraBillingControllerDeleteInfraProviderByUuidRes, error)
- func (c *Client) InfraBillingControllerGetBillingNodes(ctx context.Context) (InfraBillingControllerGetBillingNodesRes, error)
- func (c *Client) InfraBillingControllerGetInfraBillingHistoryRecords(ctx context.Context) (InfraBillingControllerGetInfraBillingHistoryRecordsRes, error)
- func (c *Client) InfraBillingControllerGetInfraProviderByUuid(ctx context.Context, params InfraBillingControllerGetInfraProviderByUuidParams) (InfraBillingControllerGetInfraProviderByUuidRes, error)
- func (c *Client) InfraBillingControllerGetInfraProviders(ctx context.Context) (InfraBillingControllerGetInfraProvidersRes, error)
- func (c *Client) InfraBillingControllerUpdateInfraBillingNode(ctx context.Context, request *UpdateInfraBillingNodeRequestDto) (InfraBillingControllerUpdateInfraBillingNodeRes, error)
- func (c *Client) InfraBillingControllerUpdateInfraProvider(ctx context.Context, request *UpdateInfraProviderRequestDto) (InfraBillingControllerUpdateInfraProviderRes, error)
- func (c *Client) InternalSquadControllerAddUsersToInternalSquad(ctx context.Context, ...) (InternalSquadControllerAddUsersToInternalSquadRes, error)
- func (c *Client) InternalSquadControllerCreateInternalSquad(ctx context.Context, request *CreateInternalSquadRequestDto) (InternalSquadControllerCreateInternalSquadRes, error)
- func (c *Client) InternalSquadControllerDeleteInternalSquad(ctx context.Context, params InternalSquadControllerDeleteInternalSquadParams) (InternalSquadControllerDeleteInternalSquadRes, error)
- func (c *Client) InternalSquadControllerGetInternalSquadAccessibleNodes(ctx context.Context, ...) (InternalSquadControllerGetInternalSquadAccessibleNodesRes, error)
- func (c *Client) InternalSquadControllerGetInternalSquadByUuid(ctx context.Context, ...) (InternalSquadControllerGetInternalSquadByUuidRes, error)
- func (c *Client) InternalSquadControllerGetInternalSquads(ctx context.Context) (InternalSquadControllerGetInternalSquadsRes, error)
- func (c *Client) InternalSquadControllerRemoveUsersFromInternalSquad(ctx context.Context, ...) (InternalSquadControllerRemoveUsersFromInternalSquadRes, error)
- func (c *Client) InternalSquadControllerReorderInternalSquads(ctx context.Context, request *ReorderRequest) (InternalSquadControllerReorderInternalSquadsRes, error)
- func (c *Client) InternalSquadControllerUpdateInternalSquad(ctx context.Context, request *UpdateInternalSquadRequestDto) (InternalSquadControllerUpdateInternalSquadRes, error)
- func (c *Client) KeygenControllerGenerateKey(ctx context.Context) (KeygenControllerGenerateKeyRes, error)
- func (c *Client) NodesControllerCreateNode(ctx context.Context, request *CreateNodeRequestDto) (NodesControllerCreateNodeRes, error)
- func (c *Client) NodesControllerDeleteNode(ctx context.Context, params NodesControllerDeleteNodeParams) (NodesControllerDeleteNodeRes, error)
- func (c *Client) NodesControllerDisableNode(ctx context.Context, params NodesControllerDisableNodeParams) (NodesControllerDisableNodeRes, error)
- func (c *Client) NodesControllerEnableNode(ctx context.Context, params NodesControllerEnableNodeParams) (NodesControllerEnableNodeRes, error)
- func (c *Client) NodesControllerGetAllNodes(ctx context.Context) (NodesControllerGetAllNodesRes, error)
- func (c *Client) NodesControllerGetAllNodesTags(ctx context.Context) (NodesControllerGetAllNodesTagsRes, error)
- func (c *Client) NodesControllerGetOneNode(ctx context.Context, params NodesControllerGetOneNodeParams) (NodesControllerGetOneNodeRes, error)
- func (c *Client) NodesControllerProfileModification(ctx context.Context, request *ProfileModificationRequestDto) (NodesControllerProfileModificationRes, error)
- func (c *Client) NodesControllerReorderNodes(ctx context.Context, request *ReorderNodeRequestDto) (NodesControllerReorderNodesRes, error)
- func (c *Client) NodesControllerResetNodeTraffic(ctx context.Context, params NodesControllerResetNodeTrafficParams) (NodesControllerResetNodeTrafficRes, error)
- func (c *Client) NodesControllerRestartAllNodes(ctx context.Context, request *RestartAllNodesRequestBodyDto) (NodesControllerRestartAllNodesRes, error)
- func (c *Client) NodesControllerRestartNode(ctx context.Context, params NodesControllerRestartNodeParams) (NodesControllerRestartNodeRes, error)
- func (c *Client) NodesControllerUpdateNode(ctx context.Context, request *UpdateNodeRequestDto) (NodesControllerUpdateNodeRes, error)
- func (c *Client) NodesUsageHistoryControllerGetStatsNodesUsage(ctx context.Context, ...) (NodesUsageHistoryControllerGetStatsNodesUsageRes, error)
- func (c *Client) PasskeyControllerDeletePasskey(ctx context.Context, request *DeletePasskeyRequestDto) (PasskeyControllerDeletePasskeyRes, error)
- func (c *Client) PasskeyControllerGetActivePasskeys(ctx context.Context) (PasskeyControllerGetActivePasskeysRes, error)
- func (c *Client) PasskeyControllerPasskeyRegistrationOptions(ctx context.Context) (PasskeyControllerPasskeyRegistrationOptionsRes, error)
- func (c *Client) PasskeyControllerPasskeyRegistrationVerify(ctx context.Context, request *PasskeyOptions) (PasskeyControllerPasskeyRegistrationVerifyRes, error)
- func (c *Client) PasskeyControllerUpdatePasskey(ctx context.Context, request *UpdatePasskeyRequestDto) (PasskeyControllerUpdatePasskeyRes, error)
- func (c *Client) RemnawaveSettingsControllerGetSettings(ctx context.Context) (RemnawaveSettingsControllerGetSettingsRes, error)
- func (c *Client) RemnawaveSettingsControllerUpdateSettings(ctx context.Context, request *UpdateRemnawaveSettingsRequestDto) (RemnawaveSettingsControllerUpdateSettingsRes, error)
- func (c *Client) SnippetsControllerCreateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerCreateSnippetRes, error)
- func (c *Client) SnippetsControllerDeleteSnippetByName(ctx context.Context, request *DeleteSnippetRequestDto) (SnippetsControllerDeleteSnippetByNameRes, error)
- func (c *Client) SnippetsControllerGetSnippets(ctx context.Context) (SnippetsControllerGetSnippetsRes, error)
- func (c *Client) SnippetsControllerUpdateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerUpdateSnippetRes, error)
- func (c *Client) SubscriptionControllerGetSubscription(ctx context.Context, params SubscriptionControllerGetSubscriptionParams) error
- func (c *Client) SubscriptionControllerGetSubscriptionByClientType(ctx context.Context, ...) error
- func (c *Client) SubscriptionControllerGetSubscriptionInfoByShortUuid(ctx context.Context, ...) (SubscriptionControllerGetSubscriptionInfoByShortUuidRes, error)
- func (c *Client) SubscriptionControllerGetSubscriptionWithType(ctx context.Context, ...) error
- func (c *Client) SubscriptionPageConfigControllerCloneSubscriptionPageConfig(ctx context.Context, request *CloneSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerCloneSubscriptionPageConfigRes, error)
- func (c *Client) SubscriptionPageConfigControllerCreateConfig(ctx context.Context, request *ExternalSquadRequestRequest) (SubscriptionPageConfigControllerCreateConfigRes, error)
- func (c *Client) SubscriptionPageConfigControllerDeleteConfig(ctx context.Context, params SubscriptionPageConfigControllerDeleteConfigParams) (SubscriptionPageConfigControllerDeleteConfigRes, error)
- func (c *Client) SubscriptionPageConfigControllerGetAllConfigs(ctx context.Context) (SubscriptionPageConfigControllerGetAllConfigsRes, error)
- func (c *Client) SubscriptionPageConfigControllerGetConfigByUuid(ctx context.Context, ...) (SubscriptionPageConfigControllerGetConfigByUuidRes, error)
- func (c *Client) SubscriptionPageConfigControllerReorderSubscriptionPageConfigs(ctx context.Context, request *ReorderRequest) (SubscriptionPageConfigControllerReorderSubscriptionPageConfigsRes, error)
- func (c *Client) SubscriptionPageConfigControllerUpdateConfig(ctx context.Context, request *UpdateSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerUpdateConfigRes, error)
- func (c *Client) SubscriptionSettingsControllerGetSettings(ctx context.Context) (SubscriptionSettingsControllerGetSettingsRes, error)
- func (c *Client) SubscriptionSettingsControllerUpdateSettings(ctx context.Context, request *UpdateSubscriptionSettingsRequestDto) (SubscriptionSettingsControllerUpdateSettingsRes, error)
- func (c *Client) SubscriptionTemplateControllerCreateTemplate(ctx context.Context, request *CreateSubscriptionTemplateRequestDto) (SubscriptionTemplateControllerCreateTemplateRes, error)
- func (c *Client) SubscriptionTemplateControllerDeleteTemplate(ctx context.Context, params SubscriptionTemplateControllerDeleteTemplateParams) (SubscriptionTemplateControllerDeleteTemplateRes, error)
- func (c *Client) SubscriptionTemplateControllerGetAllTemplates(ctx context.Context) (SubscriptionTemplateControllerGetAllTemplatesRes, error)
- func (c *Client) SubscriptionTemplateControllerGetTemplateByUuid(ctx context.Context, ...) (SubscriptionTemplateControllerGetTemplateByUuidRes, error)
- func (c *Client) SubscriptionTemplateControllerReorderSubscriptionTemplates(ctx context.Context, request *ReorderRequest) (SubscriptionTemplateControllerReorderSubscriptionTemplatesRes, error)
- func (c *Client) SubscriptionTemplateControllerUpdateTemplate(ctx context.Context, request *UpdateTemplateRequestDto) (SubscriptionTemplateControllerUpdateTemplateRes, error)
- func (c *Client) SubscriptionsControllerGetAllSubscriptions(ctx context.Context, params SubscriptionsControllerGetAllSubscriptionsParams) (SubscriptionsControllerGetAllSubscriptionsRes, error)
- func (c *Client) SubscriptionsControllerGetRawSubscriptionByShortUuid(ctx context.Context, ...) (SubscriptionsControllerGetRawSubscriptionByShortUuidRes, error)
- func (c *Client) SubscriptionsControllerGetSubpageConfigByShortUuid(ctx context.Context, request *GetSubpageConfigByShortUuidRequestBodyDto, ...) (SubscriptionsControllerGetSubpageConfigByShortUuidRes, error)
- func (c *Client) SubscriptionsControllerGetSubscriptionByShortUuidProtected(ctx context.Context, ...) (SubscriptionsControllerGetSubscriptionByShortUuidProtectedRes, error)
- func (c *Client) SubscriptionsControllerGetSubscriptionByUsername(ctx context.Context, ...) (SubscriptionsControllerGetSubscriptionByUsernameRes, error)
- func (c *Client) SubscriptionsControllerGetSubscriptionByUuid(ctx context.Context, params SubscriptionsControllerGetSubscriptionByUuidParams) (SubscriptionsControllerGetSubscriptionByUuidRes, error)
- func (c *Client) SystemControllerDebugSrrMatcher(ctx context.Context, request *DebugSrrMatcherRequestDto) (SystemControllerDebugSrrMatcherRes, error)
- func (c *Client) SystemControllerEncryptHappCryptoLink(ctx context.Context, request *EncryptHappCryptoLinkRequestDto) (SystemControllerEncryptHappCryptoLinkRes, error)
- func (c *Client) SystemControllerGetBandwidthStats(ctx context.Context) (SystemControllerGetBandwidthStatsRes, error)
- func (c *Client) SystemControllerGetNodesMetrics(ctx context.Context) (SystemControllerGetNodesMetricsRes, error)
- func (c *Client) SystemControllerGetNodesStatistics(ctx context.Context) (SystemControllerGetNodesStatisticsRes, error)
- func (c *Client) SystemControllerGetRemnawaveHealth(ctx context.Context) (SystemControllerGetRemnawaveHealthRes, error)
- func (c *Client) SystemControllerGetStats(ctx context.Context) (SystemControllerGetStatsRes, error)
- func (c *Client) SystemControllerGetX25519Keypairs(ctx context.Context) (SystemControllerGetX25519KeypairsRes, error)
- func (c *Client) UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistory(ctx context.Context, ...) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryRes, ...)
- func (c *Client) UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStats(ctx context.Context) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsRes, ...)
- func (c *Client) UsersBulkActionsControllerBulkAllExtendExpirationDate(ctx context.Context, request *BulkAllExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkAllExtendExpirationDateRes, error)
- func (c *Client) UsersBulkActionsControllerBulkAllResetUserTraffic(ctx context.Context) (UsersBulkActionsControllerBulkAllResetUserTrafficRes, error)
- func (c *Client) UsersBulkActionsControllerBulkDeleteUsers(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkDeleteUsersRes, error)
- func (c *Client) UsersBulkActionsControllerBulkDeleteUsersByStatus(ctx context.Context, request *BulkDeleteUsersByStatusRequestDto) (UsersBulkActionsControllerBulkDeleteUsersByStatusRes, error)
- func (c *Client) UsersBulkActionsControllerBulkExtendExpirationDate(ctx context.Context, request *BulkExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkExtendExpirationDateRes, error)
- func (c *Client) UsersBulkActionsControllerBulkResetUserTraffic(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkResetUserTrafficRes, error)
- func (c *Client) UsersBulkActionsControllerBulkRevokeUsersSubscription(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkRevokeUsersSubscriptionRes, error)
- func (c *Client) UsersBulkActionsControllerBulkUpdateAllUsers(ctx context.Context, request *BulkAllUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateAllUsersRes, error)
- func (c *Client) UsersBulkActionsControllerBulkUpdateUsers(ctx context.Context, request *BulkUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateUsersRes, error)
- func (c *Client) UsersBulkActionsControllerBulkUpdateUsersInternalSquads(ctx context.Context, request *BulkUpdateUsersSquadsRequestDto) (UsersBulkActionsControllerBulkUpdateUsersInternalSquadsRes, error)
- func (c *Client) UsersControllerCreateUser(ctx context.Context, request *CreateUserRequestDto) (UsersControllerCreateUserRes, error)
- func (c *Client) UsersControllerDeleteUser(ctx context.Context, params UsersControllerDeleteUserParams) (UsersControllerDeleteUserRes, error)
- func (c *Client) UsersControllerDisableUser(ctx context.Context, params UsersControllerDisableUserParams) (UsersControllerDisableUserRes, error)
- func (c *Client) UsersControllerEnableUser(ctx context.Context, params UsersControllerEnableUserParams) (UsersControllerEnableUserRes, error)
- func (c *Client) UsersControllerGetAllTags(ctx context.Context) (UsersControllerGetAllTagsRes, error)
- func (c *Client) UsersControllerGetAllUsers(ctx context.Context, params UsersControllerGetAllUsersParams) (UsersControllerGetAllUsersRes, error)
- func (c *Client) UsersControllerGetUserAccessibleNodes(ctx context.Context, params UsersControllerGetUserAccessibleNodesParams) (UsersControllerGetUserAccessibleNodesRes, error)
- func (c *Client) UsersControllerGetUserById(ctx context.Context, params UsersControllerGetUserByIdParams) (UsersControllerGetUserByIdRes, error)
- func (c *Client) UsersControllerGetUserByShortUuid(ctx context.Context, params UsersControllerGetUserByShortUuidParams) (UsersControllerGetUserByShortUuidRes, error)
- func (c *Client) UsersControllerGetUserByTelegramId(ctx context.Context, params UsersControllerGetUserByTelegramIdParams) (UsersControllerGetUserByTelegramIdRes, error)
- func (c *Client) UsersControllerGetUserByUsername(ctx context.Context, params UsersControllerGetUserByUsernameParams) (UsersControllerGetUserByUsernameRes, error)
- func (c *Client) UsersControllerGetUserByUuid(ctx context.Context, params UsersControllerGetUserByUuidParams) (UsersControllerGetUserByUuidRes, error)
- func (c *Client) UsersControllerGetUserSubscriptionRequestHistory(ctx context.Context, ...) (UsersControllerGetUserSubscriptionRequestHistoryRes, error)
- func (c *Client) UsersControllerGetUsersByEmail(ctx context.Context, params UsersControllerGetUsersByEmailParams) (UsersControllerGetUsersByEmailRes, error)
- func (c *Client) UsersControllerGetUsersByTag(ctx context.Context, params UsersControllerGetUsersByTagParams) (UsersControllerGetUsersByTagRes, error)
- func (c *Client) UsersControllerResetUserTraffic(ctx context.Context, params UsersControllerResetUserTrafficParams) (UsersControllerResetUserTrafficRes, error)
- func (c *Client) UsersControllerRevokeUserSubscription(ctx context.Context, request *RevokeUserSubscriptionBodyDto, ...) (UsersControllerRevokeUserSubscriptionRes, error)
- func (c *Client) UsersControllerUpdateUser(ctx context.Context, request *UpdateUserRequestDto) (UsersControllerUpdateUserRes, error)
- type ClientExt
- func (ce *ClientExt) ApiTokens() *ApiTokensClient
- func (ce *ClientExt) Auth() *AuthClient
- func (ce *ClientExt) BandwidthStatsNodes() *BandwidthStatsNodesClient
- func (ce *ClientExt) BandwidthStatsUsers() *BandwidthStatsUsersClient
- func (ce *ClientExt) Client() *Client
- func (ce *ClientExt) ConfigProfile() *ConfigProfileClient
- func (ce *ClientExt) ExternalSquad() *ExternalSquadClient
- func (ce *ClientExt) Hosts() *HostsClient
- func (ce *ClientExt) HostsBulkActions() *HostsBulkActionsClient
- func (ce *ClientExt) HwidUserDevices() *HwidUserDevicesClient
- func (ce *ClientExt) InfraBilling() *InfraBillingClient
- func (ce *ClientExt) InternalSquad() *InternalSquadClient
- func (ce *ClientExt) Keygen() *KeygenClient
- func (ce *ClientExt) Nodes() *NodesClient
- func (ce *ClientExt) NodesUsageHistory() *NodesUsageHistoryClient
- func (ce *ClientExt) Passkey() *PasskeyClient
- func (ce *ClientExt) RemnawaveSettings() *RemnawaveSettingsClient
- func (ce *ClientExt) Snippets() *SnippetsClient
- func (ce *ClientExt) Subscription() *SubscriptionClient
- func (ce *ClientExt) SubscriptionPageConfig() *SubscriptionPageConfigClient
- func (ce *ClientExt) SubscriptionSettings() *SubscriptionSettingsClient
- func (ce *ClientExt) SubscriptionTemplate() *SubscriptionTemplateClient
- func (ce *ClientExt) Subscriptions() *SubscriptionsClient
- func (ce *ClientExt) System() *SystemClient
- func (ce *ClientExt) UserSubscriptionRequestHistory() *UserSubscriptionRequestHistoryClient
- func (ce *ClientExt) Users() *UsersClient
- func (ce *ClientExt) UsersBulkActions() *UsersBulkActionsClient
- type ClientOption
- type CloneSubscriptionPageConfigRequestDto
- func (s *CloneSubscriptionPageConfigRequestDto) Decode(d *jx.Decoder) error
- func (s *CloneSubscriptionPageConfigRequestDto) Encode(e *jx.Encoder)
- func (s *CloneSubscriptionPageConfigRequestDto) GetCloneFromUuid() uuid.UUID
- func (s *CloneSubscriptionPageConfigRequestDto) MarshalJSON() ([]byte, error)
- func (s *CloneSubscriptionPageConfigRequestDto) SetCloneFromUuid(val uuid.UUID)
- func (s *CloneSubscriptionPageConfigRequestDto) SetFake()
- func (s *CloneSubscriptionPageConfigRequestDto) UnmarshalJSON(data []byte) error
- type Condition
- func (s *Condition) Decode(d *jx.Decoder) error
- func (s *Condition) Encode(e *jx.Encoder)
- func (s *Condition) GetCaseSensitive() bool
- func (s *Condition) GetHeaderName() string
- func (s *Condition) GetOperator() ConditionOperator
- func (s *Condition) GetValue() string
- func (s *Condition) MarshalJSON() ([]byte, error)
- func (s *Condition) SetCaseSensitive(val bool)
- func (s *Condition) SetFake()
- func (s *Condition) SetHeaderName(val string)
- func (s *Condition) SetOperator(val ConditionOperator)
- func (s *Condition) SetValue(val string)
- func (s *Condition) UnmarshalJSON(data []byte) error
- func (s *Condition) Validate() error
- type ConditionOperator
- func (ConditionOperator) AllValues() []ConditionOperator
- func (s *ConditionOperator) Decode(d *jx.Decoder) error
- func (s ConditionOperator) Encode(e *jx.Encoder)
- func (s ConditionOperator) MarshalJSON() ([]byte, error)
- func (s ConditionOperator) MarshalText() ([]byte, error)
- func (s *ConditionOperator) SetFake()
- func (s *ConditionOperator) UnmarshalJSON(data []byte) error
- func (s *ConditionOperator) UnmarshalText(data []byte) error
- func (s ConditionOperator) Validate() error
- type Config
- func (s *Config) Decode(d *jx.Decoder) error
- func (s *Config) Encode(e *jx.Encoder)
- func (s *Config) GetConfig() jx.Raw
- func (s *Config) GetName() string
- func (s *Config) GetUUID() uuid.UUID
- func (s *Config) GetViewPosition() int
- func (s *Config) MarshalJSON() ([]byte, error)
- func (s *Config) SetConfig(val jx.Raw)
- func (s *Config) SetFake()
- func (s *Config) SetName(val string)
- func (s *Config) SetUUID(val uuid.UUID)
- func (s *Config) SetViewPosition(val int)
- func (s *Config) UnmarshalJSON(data []byte) error
- type ConfigProfile
- func (s *ConfigProfile) Decode(d *jx.Decoder) error
- func (s *ConfigProfile) Encode(e *jx.Encoder)
- func (s *ConfigProfile) GetConfig() jx.Raw
- func (s *ConfigProfile) GetCreatedAt() time.Time
- func (s *ConfigProfile) GetInbounds() []Inbound
- func (s *ConfigProfile) GetName() string
- func (s *ConfigProfile) GetNodes() []Node
- func (s *ConfigProfile) GetUUID() uuid.UUID
- func (s *ConfigProfile) GetUpdatedAt() time.Time
- func (s *ConfigProfile) GetViewPosition() int
- func (s *ConfigProfile) MarshalJSON() ([]byte, error)
- func (s *ConfigProfile) SetConfig(val jx.Raw)
- func (s *ConfigProfile) SetCreatedAt(val time.Time)
- func (s *ConfigProfile) SetFake()
- func (s *ConfigProfile) SetInbounds(val []Inbound)
- func (s *ConfigProfile) SetName(val string)
- func (s *ConfigProfile) SetNodes(val []Node)
- func (s *ConfigProfile) SetUUID(val uuid.UUID)
- func (s *ConfigProfile) SetUpdatedAt(val time.Time)
- func (s *ConfigProfile) SetViewPosition(val int)
- func (s *ConfigProfile) UnmarshalJSON(data []byte) error
- func (s *ConfigProfile) Validate() error
- type ConfigProfileClient
- func (sc *ConfigProfileClient) CreateConfigProfile(ctx context.Context, request *CreateConfigProfileRequestDto) (ConfigProfileControllerCreateConfigProfileRes, error)
- func (sc *ConfigProfileClient) DeleteConfigProfileByUuid(ctx context.Context, uuid string) (ConfigProfileControllerDeleteConfigProfileByUuidRes, error)
- func (sc *ConfigProfileClient) GetAllInbounds(ctx context.Context) (ConfigProfileControllerGetAllInboundsRes, error)
- func (sc *ConfigProfileClient) GetComputedConfigProfileByUuid(ctx context.Context, uuid string) (ConfigProfileControllerGetComputedConfigProfileByUuidRes, error)
- func (sc *ConfigProfileClient) GetConfigProfileByUuid(ctx context.Context, uuid string) (ConfigProfileControllerGetConfigProfileByUuidRes, error)
- func (sc *ConfigProfileClient) GetConfigProfiles(ctx context.Context) (ConfigProfileControllerGetConfigProfilesRes, error)
- func (sc *ConfigProfileClient) GetInboundsByProfileUuid(ctx context.Context, uuid string) (ConfigProfileControllerGetInboundsByProfileUuidRes, error)
- func (sc *ConfigProfileClient) ReorderConfigProfiles(ctx context.Context, request *ReorderRequest) (ConfigProfileControllerReorderConfigProfilesRes, error)
- func (sc *ConfigProfileClient) UpdateConfigProfile(ctx context.Context, request *UpdateConfigProfileRequestDto) (ConfigProfileControllerUpdateConfigProfileRes, error)
- type ConfigProfileControllerCreateConfigProfileConflict
- type ConfigProfileControllerCreateConfigProfileRes
- type ConfigProfileControllerDeleteConfigProfileByUuidParams
- type ConfigProfileControllerDeleteConfigProfileByUuidRes
- type ConfigProfileControllerGetAllInboundsRes
- type ConfigProfileControllerGetComputedConfigProfileByUuidParams
- type ConfigProfileControllerGetComputedConfigProfileByUuidRes
- type ConfigProfileControllerGetConfigProfileByUuidParams
- type ConfigProfileControllerGetConfigProfileByUuidRes
- type ConfigProfileControllerGetConfigProfilesRes
- type ConfigProfileControllerGetInboundsByProfileUuidParams
- type ConfigProfileControllerGetInboundsByProfileUuidRes
- type ConfigProfileControllerReorderConfigProfilesRes
- type ConfigProfileControllerUpdateConfigProfileConflict
- type ConfigProfileControllerUpdateConfigProfileRes
- type ConfigProfileItem
- func (s *ConfigProfileItem) Decode(d *jx.Decoder) error
- func (s *ConfigProfileItem) Encode(e *jx.Encoder)
- func (s *ConfigProfileItem) GetActiveConfigProfileUuid() NilUUID
- func (s *ConfigProfileItem) GetActiveInbounds() []Inbound
- func (s *ConfigProfileItem) MarshalJSON() ([]byte, error)
- func (s *ConfigProfileItem) SetActiveConfigProfileUuid(val NilUUID)
- func (s *ConfigProfileItem) SetActiveInbounds(val []Inbound)
- func (s *ConfigProfileItem) SetFake()
- func (s *ConfigProfileItem) UnmarshalJSON(data []byte) error
- func (s *ConfigProfileItem) Validate() error
- type ConfigProfileRef
- func (s *ConfigProfileRef) Decode(d *jx.Decoder) error
- func (s *ConfigProfileRef) Encode(e *jx.Encoder)
- func (s *ConfigProfileRef) GetActiveConfigProfileUuid() uuid.UUID
- func (s *ConfigProfileRef) GetActiveInbounds() []uuid.UUID
- func (s *ConfigProfileRef) MarshalJSON() ([]byte, error)
- func (s *ConfigProfileRef) SetActiveConfigProfileUuid(val uuid.UUID)
- func (s *ConfigProfileRef) SetActiveInbounds(val []uuid.UUID)
- func (s *ConfigProfileRef) SetFake()
- func (s *ConfigProfileRef) UnmarshalJSON(data []byte) error
- func (s *ConfigProfileRef) Validate() error
- type ConfigProfileResponse
- func (s *ConfigProfileResponse) Decode(d *jx.Decoder) error
- func (s *ConfigProfileResponse) Encode(e *jx.Encoder)
- func (s *ConfigProfileResponse) GetResponse() ConfigProfile
- func (s *ConfigProfileResponse) MarshalJSON() ([]byte, error)
- func (s *ConfigProfileResponse) SetFake()
- func (s *ConfigProfileResponse) SetResponse(val ConfigProfile)
- func (s *ConfigProfileResponse) UnmarshalJSON(data []byte) error
- func (s *ConfigProfileResponse) Validate() error
- type ConfigProfilesResponse
- func (s *ConfigProfilesResponse) Decode(d *jx.Decoder) error
- func (s *ConfigProfilesResponse) Encode(e *jx.Encoder)
- func (s *ConfigProfilesResponse) GetResponse() ConfigProfilesResponseResponse
- func (s *ConfigProfilesResponse) MarshalJSON() ([]byte, error)
- func (s *ConfigProfilesResponse) SetFake()
- func (s *ConfigProfilesResponse) SetResponse(val ConfigProfilesResponseResponse)
- func (s *ConfigProfilesResponse) UnmarshalJSON(data []byte) error
- func (s *ConfigProfilesResponse) Validate() error
- type ConfigProfilesResponseResponse
- func (s *ConfigProfilesResponseResponse) Decode(d *jx.Decoder) error
- func (s *ConfigProfilesResponseResponse) Encode(e *jx.Encoder)
- func (s *ConfigProfilesResponseResponse) GetConfigProfiles() []ConfigProfile
- func (s *ConfigProfilesResponseResponse) GetTotal() float64
- func (s *ConfigProfilesResponseResponse) MarshalJSON() ([]byte, error)
- func (s *ConfigProfilesResponseResponse) SetConfigProfiles(val []ConfigProfile)
- func (s *ConfigProfilesResponseResponse) SetFake()
- func (s *ConfigProfilesResponseResponse) SetTotal(val float64)
- func (s *ConfigProfilesResponseResponse) UnmarshalJSON(data []byte) error
- func (s *ConfigProfilesResponseResponse) Validate() error
- type CreateApiTokenRequestDto
- func (s *CreateApiTokenRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateApiTokenRequestDto) Encode(e *jx.Encoder)
- func (s *CreateApiTokenRequestDto) GetTokenName() string
- func (s *CreateApiTokenRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateApiTokenRequestDto) SetFake()
- func (s *CreateApiTokenRequestDto) SetTokenName(val string)
- func (s *CreateApiTokenRequestDto) UnmarshalJSON(data []byte) error
- type CreateApiTokenResponseDto
- func (s *CreateApiTokenResponseDto) Decode(d *jx.Decoder) error
- func (s *CreateApiTokenResponseDto) Encode(e *jx.Encoder)
- func (s *CreateApiTokenResponseDto) GetResponse() CreateApiTokenResponseDtoResponse
- func (s *CreateApiTokenResponseDto) MarshalJSON() ([]byte, error)
- func (s *CreateApiTokenResponseDto) SetFake()
- func (s *CreateApiTokenResponseDto) SetResponse(val CreateApiTokenResponseDtoResponse)
- func (s *CreateApiTokenResponseDto) UnmarshalJSON(data []byte) error
- type CreateApiTokenResponseDtoResponse
- func (s *CreateApiTokenResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *CreateApiTokenResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *CreateApiTokenResponseDtoResponse) GetToken() string
- func (s *CreateApiTokenResponseDtoResponse) GetUUID() string
- func (s *CreateApiTokenResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *CreateApiTokenResponseDtoResponse) SetFake()
- func (s *CreateApiTokenResponseDtoResponse) SetToken(val string)
- func (s *CreateApiTokenResponseDtoResponse) SetUUID(val string)
- func (s *CreateApiTokenResponseDtoResponse) UnmarshalJSON(data []byte) error
- type CreateConfigProfileRequestDto
- func (s *CreateConfigProfileRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateConfigProfileRequestDto) Encode(e *jx.Encoder)
- func (s *CreateConfigProfileRequestDto) GetConfig() CreateConfigProfileRequestDtoConfig
- func (s *CreateConfigProfileRequestDto) GetName() string
- func (s *CreateConfigProfileRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateConfigProfileRequestDto) SetConfig(val CreateConfigProfileRequestDtoConfig)
- func (s *CreateConfigProfileRequestDto) SetFake()
- func (s *CreateConfigProfileRequestDto) SetName(val string)
- func (s *CreateConfigProfileRequestDto) UnmarshalJSON(data []byte) error
- func (s *CreateConfigProfileRequestDto) Validate() error
- type CreateConfigProfileRequestDtoConfig
- func (s *CreateConfigProfileRequestDtoConfig) Decode(d *jx.Decoder) error
- func (s *CreateConfigProfileRequestDtoConfig) Encode(e *jx.Encoder)
- func (s *CreateConfigProfileRequestDtoConfig) MarshalJSON() ([]byte, error)
- func (s *CreateConfigProfileRequestDtoConfig) SetFake()
- func (s *CreateConfigProfileRequestDtoConfig) UnmarshalJSON(data []byte) error
- type CreateHostRequestDto
- func (s *CreateHostRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateHostRequestDto) Encode(e *jx.Encoder)
- func (s *CreateHostRequestDto) GetAddress() string
- func (s *CreateHostRequestDto) GetAllowInsecure() OptBool
- func (s *CreateHostRequestDto) GetAlpn() OptNilCreateHostRequestDtoAlpn
- func (s *CreateHostRequestDto) GetExcludedInternalSquads() []uuid.UUID
- func (s *CreateHostRequestDto) GetFingerprint() OptNilCreateHostRequestDtoFingerprint
- func (s *CreateHostRequestDto) GetHost() OptString
- func (s *CreateHostRequestDto) GetInbound() InboundRef
- func (s *CreateHostRequestDto) GetIsDisabled() OptBool
- func (s *CreateHostRequestDto) GetIsHidden() OptBool
- func (s *CreateHostRequestDto) GetKeepSniBlank() OptBool
- func (s *CreateHostRequestDto) GetMihomoX25519() OptBool
- func (s *CreateHostRequestDto) GetMuxParams() jx.Raw
- func (s *CreateHostRequestDto) GetNodes() []uuid.UUID
- func (s *CreateHostRequestDto) GetOverrideSniFromAddress() OptBool
- func (s *CreateHostRequestDto) GetPath() OptString
- func (s *CreateHostRequestDto) GetPort() int
- func (s *CreateHostRequestDto) GetRemark() string
- func (s *CreateHostRequestDto) GetSecurityLayer() OptCreateHostRequestDtoSecurityLayer
- func (s *CreateHostRequestDto) GetServerDescription() OptNilString
- func (s *CreateHostRequestDto) GetShuffleHost() OptBool
- func (s *CreateHostRequestDto) GetSni() OptString
- func (s *CreateHostRequestDto) GetSockoptParams() jx.Raw
- func (s *CreateHostRequestDto) GetTag() OptNilString
- func (s *CreateHostRequestDto) GetVlessRouteId() OptNilInt
- func (s *CreateHostRequestDto) GetXHttpExtraParams() jx.Raw
- func (s *CreateHostRequestDto) GetXrayJsonTemplateUuid() OptNilUUID
- func (s *CreateHostRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateHostRequestDto) SetAddress(val string)
- func (s *CreateHostRequestDto) SetAllowInsecure(val OptBool)
- func (s *CreateHostRequestDto) SetAlpn(val OptNilCreateHostRequestDtoAlpn)
- func (s *CreateHostRequestDto) SetExcludedInternalSquads(val []uuid.UUID)
- func (s *CreateHostRequestDto) SetFake()
- func (s *CreateHostRequestDto) SetFingerprint(val OptNilCreateHostRequestDtoFingerprint)
- func (s *CreateHostRequestDto) SetHost(val OptString)
- func (s *CreateHostRequestDto) SetInbound(val InboundRef)
- func (s *CreateHostRequestDto) SetIsDisabled(val OptBool)
- func (s *CreateHostRequestDto) SetIsHidden(val OptBool)
- func (s *CreateHostRequestDto) SetKeepSniBlank(val OptBool)
- func (s *CreateHostRequestDto) SetMihomoX25519(val OptBool)
- func (s *CreateHostRequestDto) SetMuxParams(val jx.Raw)
- func (s *CreateHostRequestDto) SetNodes(val []uuid.UUID)
- func (s *CreateHostRequestDto) SetOverrideSniFromAddress(val OptBool)
- func (s *CreateHostRequestDto) SetPath(val OptString)
- func (s *CreateHostRequestDto) SetPort(val int)
- func (s *CreateHostRequestDto) SetRemark(val string)
- func (s *CreateHostRequestDto) SetSecurityLayer(val OptCreateHostRequestDtoSecurityLayer)
- func (s *CreateHostRequestDto) SetServerDescription(val OptNilString)
- func (s *CreateHostRequestDto) SetShuffleHost(val OptBool)
- func (s *CreateHostRequestDto) SetSni(val OptString)
- func (s *CreateHostRequestDto) SetSockoptParams(val jx.Raw)
- func (s *CreateHostRequestDto) SetTag(val OptNilString)
- func (s *CreateHostRequestDto) SetVlessRouteId(val OptNilInt)
- func (s *CreateHostRequestDto) SetXHttpExtraParams(val jx.Raw)
- func (s *CreateHostRequestDto) SetXrayJsonTemplateUuid(val OptNilUUID)
- func (s *CreateHostRequestDto) UnmarshalJSON(data []byte) error
- func (s *CreateHostRequestDto) Validate() error
- type CreateHostRequestDtoAlpn
- func (CreateHostRequestDtoAlpn) AllValues() []CreateHostRequestDtoAlpn
- func (s *CreateHostRequestDtoAlpn) Decode(d *jx.Decoder) error
- func (s CreateHostRequestDtoAlpn) Encode(e *jx.Encoder)
- func (s CreateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)
- func (s CreateHostRequestDtoAlpn) MarshalText() ([]byte, error)
- func (s *CreateHostRequestDtoAlpn) SetFake()
- func (s *CreateHostRequestDtoAlpn) UnmarshalJSON(data []byte) error
- func (s *CreateHostRequestDtoAlpn) UnmarshalText(data []byte) error
- func (s CreateHostRequestDtoAlpn) Validate() error
- type CreateHostRequestDtoFingerprint
- func (CreateHostRequestDtoFingerprint) AllValues() []CreateHostRequestDtoFingerprint
- func (s *CreateHostRequestDtoFingerprint) Decode(d *jx.Decoder) error
- func (s CreateHostRequestDtoFingerprint) Encode(e *jx.Encoder)
- func (s CreateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)
- func (s CreateHostRequestDtoFingerprint) MarshalText() ([]byte, error)
- func (s *CreateHostRequestDtoFingerprint) SetFake()
- func (s *CreateHostRequestDtoFingerprint) UnmarshalJSON(data []byte) error
- func (s *CreateHostRequestDtoFingerprint) UnmarshalText(data []byte) error
- func (s CreateHostRequestDtoFingerprint) Validate() error
- type CreateHostRequestDtoSecurityLayer
- func (CreateHostRequestDtoSecurityLayer) AllValues() []CreateHostRequestDtoSecurityLayer
- func (s *CreateHostRequestDtoSecurityLayer) Decode(d *jx.Decoder) error
- func (s CreateHostRequestDtoSecurityLayer) Encode(e *jx.Encoder)
- func (s CreateHostRequestDtoSecurityLayer) MarshalJSON() ([]byte, error)
- func (s CreateHostRequestDtoSecurityLayer) MarshalText() ([]byte, error)
- func (s *CreateHostRequestDtoSecurityLayer) SetFake()
- func (s *CreateHostRequestDtoSecurityLayer) UnmarshalJSON(data []byte) error
- func (s *CreateHostRequestDtoSecurityLayer) UnmarshalText(data []byte) error
- func (s CreateHostRequestDtoSecurityLayer) Validate() error
- type CreateInfraBillingHistoryRecordRequestDto
- func (s *CreateInfraBillingHistoryRecordRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateInfraBillingHistoryRecordRequestDto) Encode(e *jx.Encoder)
- func (s *CreateInfraBillingHistoryRecordRequestDto) GetAmount() float64
- func (s *CreateInfraBillingHistoryRecordRequestDto) GetBilledAt() time.Time
- func (s *CreateInfraBillingHistoryRecordRequestDto) GetProviderUuid() uuid.UUID
- func (s *CreateInfraBillingHistoryRecordRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateInfraBillingHistoryRecordRequestDto) SetAmount(val float64)
- func (s *CreateInfraBillingHistoryRecordRequestDto) SetBilledAt(val time.Time)
- func (s *CreateInfraBillingHistoryRecordRequestDto) SetFake()
- func (s *CreateInfraBillingHistoryRecordRequestDto) SetProviderUuid(val uuid.UUID)
- func (s *CreateInfraBillingHistoryRecordRequestDto) UnmarshalJSON(data []byte) error
- func (s *CreateInfraBillingHistoryRecordRequestDto) Validate() error
- type CreateInfraBillingNodeRequestDto
- func (s *CreateInfraBillingNodeRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateInfraBillingNodeRequestDto) Encode(e *jx.Encoder)
- func (s *CreateInfraBillingNodeRequestDto) GetNextBillingAt() OptDateTime
- func (s *CreateInfraBillingNodeRequestDto) GetNodeUuid() uuid.UUID
- func (s *CreateInfraBillingNodeRequestDto) GetProviderUuid() uuid.UUID
- func (s *CreateInfraBillingNodeRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateInfraBillingNodeRequestDto) SetFake()
- func (s *CreateInfraBillingNodeRequestDto) SetNextBillingAt(val OptDateTime)
- func (s *CreateInfraBillingNodeRequestDto) SetNodeUuid(val uuid.UUID)
- func (s *CreateInfraBillingNodeRequestDto) SetProviderUuid(val uuid.UUID)
- func (s *CreateInfraBillingNodeRequestDto) UnmarshalJSON(data []byte) error
- type CreateInfraProviderRequestDto
- func (s *CreateInfraProviderRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateInfraProviderRequestDto) Encode(e *jx.Encoder)
- func (s *CreateInfraProviderRequestDto) GetFaviconLink() OptURI
- func (s *CreateInfraProviderRequestDto) GetLoginUrl() OptURI
- func (s *CreateInfraProviderRequestDto) GetName() string
- func (s *CreateInfraProviderRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateInfraProviderRequestDto) SetFake()
- func (s *CreateInfraProviderRequestDto) SetFaviconLink(val OptURI)
- func (s *CreateInfraProviderRequestDto) SetLoginUrl(val OptURI)
- func (s *CreateInfraProviderRequestDto) SetName(val string)
- func (s *CreateInfraProviderRequestDto) UnmarshalJSON(data []byte) error
- func (s *CreateInfraProviderRequestDto) Validate() error
- type CreateInternalSquadRequestDto
- func (s *CreateInternalSquadRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateInternalSquadRequestDto) Encode(e *jx.Encoder)
- func (s *CreateInternalSquadRequestDto) GetInbounds() []uuid.UUID
- func (s *CreateInternalSquadRequestDto) GetName() string
- func (s *CreateInternalSquadRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateInternalSquadRequestDto) SetFake()
- func (s *CreateInternalSquadRequestDto) SetInbounds(val []uuid.UUID)
- func (s *CreateInternalSquadRequestDto) SetName(val string)
- func (s *CreateInternalSquadRequestDto) UnmarshalJSON(data []byte) error
- func (s *CreateInternalSquadRequestDto) Validate() error
- type CreateNodeRequestDto
- func (s *CreateNodeRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateNodeRequestDto) Encode(e *jx.Encoder)
- func (s *CreateNodeRequestDto) GetAddress() string
- func (s *CreateNodeRequestDto) GetConfigProfile() ConfigProfileRef
- func (s *CreateNodeRequestDto) GetConsumptionMultiplier() OptFloat64
- func (s *CreateNodeRequestDto) GetCountryCode() OptString
- func (s *CreateNodeRequestDto) GetIsTrafficTrackingActive() OptBool
- func (s *CreateNodeRequestDto) GetName() string
- func (s *CreateNodeRequestDto) GetNotifyPercent() OptInt
- func (s *CreateNodeRequestDto) GetPort() OptInt
- func (s *CreateNodeRequestDto) GetProviderUuid() OptNilUUID
- func (s *CreateNodeRequestDto) GetTags() []string
- func (s *CreateNodeRequestDto) GetTrafficLimitBytes() OptInt
- func (s *CreateNodeRequestDto) GetTrafficResetDay() OptInt
- func (s *CreateNodeRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateNodeRequestDto) SetAddress(val string)
- func (s *CreateNodeRequestDto) SetConfigProfile(val ConfigProfileRef)
- func (s *CreateNodeRequestDto) SetConsumptionMultiplier(val OptFloat64)
- func (s *CreateNodeRequestDto) SetCountryCode(val OptString)
- func (s *CreateNodeRequestDto) SetFake()
- func (s *CreateNodeRequestDto) SetIsTrafficTrackingActive(val OptBool)
- func (s *CreateNodeRequestDto) SetName(val string)
- func (s *CreateNodeRequestDto) SetNotifyPercent(val OptInt)
- func (s *CreateNodeRequestDto) SetPort(val OptInt)
- func (s *CreateNodeRequestDto) SetProviderUuid(val OptNilUUID)
- func (s *CreateNodeRequestDto) SetTags(val []string)
- func (s *CreateNodeRequestDto) SetTrafficLimitBytes(val OptInt)
- func (s *CreateNodeRequestDto) SetTrafficResetDay(val OptInt)
- func (s *CreateNodeRequestDto) UnmarshalJSON(data []byte) error
- func (s *CreateNodeRequestDto) Validate() error
- type CreateSubscriptionPageConfigResponseDto
- func (s *CreateSubscriptionPageConfigResponseDto) Decode(d *jx.Decoder) error
- func (s *CreateSubscriptionPageConfigResponseDto) Encode(e *jx.Encoder)
- func (s *CreateSubscriptionPageConfigResponseDto) GetResponse() Config
- func (s *CreateSubscriptionPageConfigResponseDto) MarshalJSON() ([]byte, error)
- func (s *CreateSubscriptionPageConfigResponseDto) SetFake()
- func (s *CreateSubscriptionPageConfigResponseDto) SetResponse(val Config)
- func (s *CreateSubscriptionPageConfigResponseDto) UnmarshalJSON(data []byte) error
- type CreateSubscriptionTemplateRequestDto
- func (s *CreateSubscriptionTemplateRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateSubscriptionTemplateRequestDto) Encode(e *jx.Encoder)
- func (s *CreateSubscriptionTemplateRequestDto) GetName() string
- func (s *CreateSubscriptionTemplateRequestDto) GetTemplateType() CreateSubscriptionTemplateRequestDtoTemplateType
- func (s *CreateSubscriptionTemplateRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateSubscriptionTemplateRequestDto) SetFake()
- func (s *CreateSubscriptionTemplateRequestDto) SetName(val string)
- func (s *CreateSubscriptionTemplateRequestDto) SetTemplateType(val CreateSubscriptionTemplateRequestDtoTemplateType)
- func (s *CreateSubscriptionTemplateRequestDto) UnmarshalJSON(data []byte) error
- func (s *CreateSubscriptionTemplateRequestDto) Validate() error
- type CreateSubscriptionTemplateRequestDtoTemplateType
- func (CreateSubscriptionTemplateRequestDtoTemplateType) AllValues() []CreateSubscriptionTemplateRequestDtoTemplateType
- func (s *CreateSubscriptionTemplateRequestDtoTemplateType) Decode(d *jx.Decoder) error
- func (s CreateSubscriptionTemplateRequestDtoTemplateType) Encode(e *jx.Encoder)
- func (s CreateSubscriptionTemplateRequestDtoTemplateType) MarshalJSON() ([]byte, error)
- func (s CreateSubscriptionTemplateRequestDtoTemplateType) MarshalText() ([]byte, error)
- func (s *CreateSubscriptionTemplateRequestDtoTemplateType) SetFake()
- func (s *CreateSubscriptionTemplateRequestDtoTemplateType) UnmarshalJSON(data []byte) error
- func (s *CreateSubscriptionTemplateRequestDtoTemplateType) UnmarshalText(data []byte) error
- func (s CreateSubscriptionTemplateRequestDtoTemplateType) Validate() error
- type CreateUserHwidDeviceRequestDto
- func (s *CreateUserHwidDeviceRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateUserHwidDeviceRequestDto) Encode(e *jx.Encoder)
- func (s *CreateUserHwidDeviceRequestDto) GetDeviceModel() OptString
- func (s *CreateUserHwidDeviceRequestDto) GetHwid() string
- func (s *CreateUserHwidDeviceRequestDto) GetOsVersion() OptString
- func (s *CreateUserHwidDeviceRequestDto) GetPlatform() OptString
- func (s *CreateUserHwidDeviceRequestDto) GetUserAgent() OptString
- func (s *CreateUserHwidDeviceRequestDto) GetUserUuid() uuid.UUID
- func (s *CreateUserHwidDeviceRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateUserHwidDeviceRequestDto) SetDeviceModel(val OptString)
- func (s *CreateUserHwidDeviceRequestDto) SetFake()
- func (s *CreateUserHwidDeviceRequestDto) SetHwid(val string)
- func (s *CreateUserHwidDeviceRequestDto) SetOsVersion(val OptString)
- func (s *CreateUserHwidDeviceRequestDto) SetPlatform(val OptString)
- func (s *CreateUserHwidDeviceRequestDto) SetUserAgent(val OptString)
- func (s *CreateUserHwidDeviceRequestDto) SetUserUuid(val uuid.UUID)
- func (s *CreateUserHwidDeviceRequestDto) UnmarshalJSON(data []byte) error
- type CreateUserRequestDto
- func (s *CreateUserRequestDto) Decode(d *jx.Decoder) error
- func (s *CreateUserRequestDto) Encode(e *jx.Encoder)
- func (s *CreateUserRequestDto) GetActiveInternalSquads() []uuid.UUID
- func (s *CreateUserRequestDto) GetCreatedAt() OptDateTime
- func (s *CreateUserRequestDto) GetDescription() OptString
- func (s *CreateUserRequestDto) GetEmail() OptNilString
- func (s *CreateUserRequestDto) GetExpireAt() time.Time
- func (s *CreateUserRequestDto) GetExternalSquadUuid() OptNilUUID
- func (s *CreateUserRequestDto) GetHwidDeviceLimit() OptInt
- func (s *CreateUserRequestDto) GetLastTrafficResetAt() OptDateTime
- func (s *CreateUserRequestDto) GetShortUuid() OptString
- func (s *CreateUserRequestDto) GetSsPassword() OptString
- func (s *CreateUserRequestDto) GetStatus() OptCreateUserRequestDtoStatus
- func (s *CreateUserRequestDto) GetTag() OptNilString
- func (s *CreateUserRequestDto) GetTelegramId() OptNilInt
- func (s *CreateUserRequestDto) GetTrafficLimitBytes() OptInt
- func (s *CreateUserRequestDto) GetTrafficLimitStrategy() OptCreateUserRequestDtoTrafficLimitStrategy
- func (s *CreateUserRequestDto) GetTrojanPassword() OptString
- func (s *CreateUserRequestDto) GetUUID() OptUUID
- func (s *CreateUserRequestDto) GetUsername() string
- func (s *CreateUserRequestDto) GetVlessUuid() OptUUID
- func (s *CreateUserRequestDto) MarshalJSON() ([]byte, error)
- func (s *CreateUserRequestDto) SetActiveInternalSquads(val []uuid.UUID)
- func (s *CreateUserRequestDto) SetCreatedAt(val OptDateTime)
- func (s *CreateUserRequestDto) SetDescription(val OptString)
- func (s *CreateUserRequestDto) SetEmail(val OptNilString)
- func (s *CreateUserRequestDto) SetExpireAt(val time.Time)
- func (s *CreateUserRequestDto) SetExternalSquadUuid(val OptNilUUID)
- func (s *CreateUserRequestDto) SetFake()
- func (s *CreateUserRequestDto) SetHwidDeviceLimit(val OptInt)
- func (s *CreateUserRequestDto) SetLastTrafficResetAt(val OptDateTime)
- func (s *CreateUserRequestDto) SetShortUuid(val OptString)
- func (s *CreateUserRequestDto) SetSsPassword(val OptString)
- func (s *CreateUserRequestDto) SetStatus(val OptCreateUserRequestDtoStatus)
- func (s *CreateUserRequestDto) SetTag(val OptNilString)
- func (s *CreateUserRequestDto) SetTelegramId(val OptNilInt)
- func (s *CreateUserRequestDto) SetTrafficLimitBytes(val OptInt)
- func (s *CreateUserRequestDto) SetTrafficLimitStrategy(val OptCreateUserRequestDtoTrafficLimitStrategy)
- func (s *CreateUserRequestDto) SetTrojanPassword(val OptString)
- func (s *CreateUserRequestDto) SetUUID(val OptUUID)
- func (s *CreateUserRequestDto) SetUsername(val string)
- func (s *CreateUserRequestDto) SetVlessUuid(val OptUUID)
- func (s *CreateUserRequestDto) UnmarshalJSON(data []byte) error
- func (s *CreateUserRequestDto) Validate() error
- type CreateUserRequestDtoStatus
- func (CreateUserRequestDtoStatus) AllValues() []CreateUserRequestDtoStatus
- func (s *CreateUserRequestDtoStatus) Decode(d *jx.Decoder) error
- func (s CreateUserRequestDtoStatus) Encode(e *jx.Encoder)
- func (s CreateUserRequestDtoStatus) MarshalJSON() ([]byte, error)
- func (s CreateUserRequestDtoStatus) MarshalText() ([]byte, error)
- func (s *CreateUserRequestDtoStatus) SetFake()
- func (s *CreateUserRequestDtoStatus) UnmarshalJSON(data []byte) error
- func (s *CreateUserRequestDtoStatus) UnmarshalText(data []byte) error
- func (s CreateUserRequestDtoStatus) Validate() error
- type CreateUserRequestDtoTrafficLimitStrategy
- func (CreateUserRequestDtoTrafficLimitStrategy) AllValues() []CreateUserRequestDtoTrafficLimitStrategy
- func (s *CreateUserRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (s CreateUserRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (s CreateUserRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (s CreateUserRequestDtoTrafficLimitStrategy) MarshalText() ([]byte, error)
- func (s *CreateUserRequestDtoTrafficLimitStrategy) SetFake()
- func (s *CreateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- func (s *CreateUserRequestDtoTrafficLimitStrategy) UnmarshalText(data []byte) error
- func (s CreateUserRequestDtoTrafficLimitStrategy) Validate() error
- type CustomRemark
- func (s *CustomRemark) Decode(d *jx.Decoder) error
- func (s *CustomRemark) Encode(e *jx.Encoder)
- func (s *CustomRemark) GetDisabledUsers() []string
- func (s *CustomRemark) GetEmptyHosts() []string
- func (s *CustomRemark) GetEmptyInternalSquads() []string
- func (s *CustomRemark) GetExpiredUsers() []string
- func (s *CustomRemark) GetLimitedUsers() []string
- func (s *CustomRemark) MarshalJSON() ([]byte, error)
- func (s *CustomRemark) SetDisabledUsers(val []string)
- func (s *CustomRemark) SetEmptyHosts(val []string)
- func (s *CustomRemark) SetEmptyInternalSquads(val []string)
- func (s *CustomRemark) SetExpiredUsers(val []string)
- func (s *CustomRemark) SetFake()
- func (s *CustomRemark) SetLimitedUsers(val []string)
- func (s *CustomRemark) UnmarshalJSON(data []byte) error
- func (s *CustomRemark) Validate() error
- type DebugSrrMatcherRequestDto
- func (s *DebugSrrMatcherRequestDto) Decode(d *jx.Decoder) error
- func (s *DebugSrrMatcherRequestDto) Encode(e *jx.Encoder)
- func (s *DebugSrrMatcherRequestDto) GetResponseRules() ResponseRules
- func (s *DebugSrrMatcherRequestDto) MarshalJSON() ([]byte, error)
- func (s *DebugSrrMatcherRequestDto) SetFake()
- func (s *DebugSrrMatcherRequestDto) SetResponseRules(val ResponseRules)
- func (s *DebugSrrMatcherRequestDto) UnmarshalJSON(data []byte) error
- func (s *DebugSrrMatcherRequestDto) Validate() error
- type DebugSrrMatcherResponseDto
- func (s *DebugSrrMatcherResponseDto) Decode(d *jx.Decoder) error
- func (s *DebugSrrMatcherResponseDto) Encode(e *jx.Encoder)
- func (s *DebugSrrMatcherResponseDto) GetResponse() DebugSrrMatcherResponseDtoResponse
- func (s *DebugSrrMatcherResponseDto) MarshalJSON() ([]byte, error)
- func (s *DebugSrrMatcherResponseDto) SetFake()
- func (s *DebugSrrMatcherResponseDto) SetResponse(val DebugSrrMatcherResponseDtoResponse)
- func (s *DebugSrrMatcherResponseDto) UnmarshalJSON(data []byte) error
- func (s *DebugSrrMatcherResponseDto) Validate() error
- type DebugSrrMatcherResponseDtoResponse
- func (s *DebugSrrMatcherResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *DebugSrrMatcherResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *DebugSrrMatcherResponseDtoResponse) GetInputHeaders() DebugSrrMatcherResponseDtoResponseInputHeaders
- func (s *DebugSrrMatcherResponseDtoResponse) GetMatched() bool
- func (s *DebugSrrMatcherResponseDtoResponse) GetMatchedRule() Rule
- func (s *DebugSrrMatcherResponseDtoResponse) GetOutputHeaders() DebugSrrMatcherResponseDtoResponseOutputHeaders
- func (s *DebugSrrMatcherResponseDtoResponse) GetResponseType() DebugSrrMatcherResponseDtoResponseResponseType
- func (s *DebugSrrMatcherResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *DebugSrrMatcherResponseDtoResponse) SetFake()
- func (s *DebugSrrMatcherResponseDtoResponse) SetInputHeaders(val DebugSrrMatcherResponseDtoResponseInputHeaders)
- func (s *DebugSrrMatcherResponseDtoResponse) SetMatched(val bool)
- func (s *DebugSrrMatcherResponseDtoResponse) SetMatchedRule(val Rule)
- func (s *DebugSrrMatcherResponseDtoResponse) SetOutputHeaders(val DebugSrrMatcherResponseDtoResponseOutputHeaders)
- func (s *DebugSrrMatcherResponseDtoResponse) SetResponseType(val DebugSrrMatcherResponseDtoResponseResponseType)
- func (s *DebugSrrMatcherResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *DebugSrrMatcherResponseDtoResponse) Validate() error
- type DebugSrrMatcherResponseDtoResponseInputHeaders
- func (s *DebugSrrMatcherResponseDtoResponseInputHeaders) Decode(d *jx.Decoder) error
- func (s DebugSrrMatcherResponseDtoResponseInputHeaders) Encode(e *jx.Encoder)
- func (s DebugSrrMatcherResponseDtoResponseInputHeaders) MarshalJSON() ([]byte, error)
- func (s *DebugSrrMatcherResponseDtoResponseInputHeaders) SetFake()
- func (s *DebugSrrMatcherResponseDtoResponseInputHeaders) UnmarshalJSON(data []byte) error
- type DebugSrrMatcherResponseDtoResponseOutputHeaders
- func (s *DebugSrrMatcherResponseDtoResponseOutputHeaders) Decode(d *jx.Decoder) error
- func (s DebugSrrMatcherResponseDtoResponseOutputHeaders) Encode(e *jx.Encoder)
- func (s DebugSrrMatcherResponseDtoResponseOutputHeaders) MarshalJSON() ([]byte, error)
- func (s *DebugSrrMatcherResponseDtoResponseOutputHeaders) SetFake()
- func (s *DebugSrrMatcherResponseDtoResponseOutputHeaders) UnmarshalJSON(data []byte) error
- type DebugSrrMatcherResponseDtoResponseResponseType
- func (DebugSrrMatcherResponseDtoResponseResponseType) AllValues() []DebugSrrMatcherResponseDtoResponseResponseType
- func (s *DebugSrrMatcherResponseDtoResponseResponseType) Decode(d *jx.Decoder) error
- func (s DebugSrrMatcherResponseDtoResponseResponseType) Encode(e *jx.Encoder)
- func (s DebugSrrMatcherResponseDtoResponseResponseType) MarshalJSON() ([]byte, error)
- func (s DebugSrrMatcherResponseDtoResponseResponseType) MarshalText() ([]byte, error)
- func (s *DebugSrrMatcherResponseDtoResponseResponseType) SetFake()
- func (s *DebugSrrMatcherResponseDtoResponseResponseType) UnmarshalJSON(data []byte) error
- func (s *DebugSrrMatcherResponseDtoResponseResponseType) UnmarshalText(data []byte) error
- func (s DebugSrrMatcherResponseDtoResponseResponseType) Validate() error
- type DeleteAllUserHwidDevicesRequestDto
- func (s *DeleteAllUserHwidDevicesRequestDto) Decode(d *jx.Decoder) error
- func (s *DeleteAllUserHwidDevicesRequestDto) Encode(e *jx.Encoder)
- func (s *DeleteAllUserHwidDevicesRequestDto) GetUserUuid() uuid.UUID
- func (s *DeleteAllUserHwidDevicesRequestDto) MarshalJSON() ([]byte, error)
- func (s *DeleteAllUserHwidDevicesRequestDto) SetFake()
- func (s *DeleteAllUserHwidDevicesRequestDto) SetUserUuid(val uuid.UUID)
- func (s *DeleteAllUserHwidDevicesRequestDto) UnmarshalJSON(data []byte) error
- type DeleteApiTokenResponseDto
- func (s *DeleteApiTokenResponseDto) Decode(d *jx.Decoder) error
- func (s *DeleteApiTokenResponseDto) Encode(e *jx.Encoder)
- func (s *DeleteApiTokenResponseDto) GetResponse() bool
- func (s *DeleteApiTokenResponseDto) MarshalJSON() ([]byte, error)
- func (s *DeleteApiTokenResponseDto) SetFake()
- func (s *DeleteApiTokenResponseDto) SetResponse(val bool)
- func (s *DeleteApiTokenResponseDto) UnmarshalJSON(data []byte) error
- type DeletePasskeyRequestDto
- func (s *DeletePasskeyRequestDto) Decode(d *jx.Decoder) error
- func (s *DeletePasskeyRequestDto) Encode(e *jx.Encoder)
- func (s *DeletePasskeyRequestDto) GetID() string
- func (s *DeletePasskeyRequestDto) MarshalJSON() ([]byte, error)
- func (s *DeletePasskeyRequestDto) SetFake()
- func (s *DeletePasskeyRequestDto) SetID(val string)
- func (s *DeletePasskeyRequestDto) UnmarshalJSON(data []byte) error
- type DeleteResponse
- func (s *DeleteResponse) Decode(d *jx.Decoder) error
- func (s *DeleteResponse) Encode(e *jx.Encoder)
- func (s *DeleteResponse) GetResponse() DeleteResponseResponse
- func (s *DeleteResponse) MarshalJSON() ([]byte, error)
- func (s *DeleteResponse) SetFake()
- func (s *DeleteResponse) SetResponse(val DeleteResponseResponse)
- func (s *DeleteResponse) UnmarshalJSON(data []byte) error
- type DeleteResponseResponse
- func (s *DeleteResponseResponse) Decode(d *jx.Decoder) error
- func (s *DeleteResponseResponse) Encode(e *jx.Encoder)
- func (s *DeleteResponseResponse) GetIsDeleted() bool
- func (s *DeleteResponseResponse) MarshalJSON() ([]byte, error)
- func (s *DeleteResponseResponse) SetFake()
- func (s *DeleteResponseResponse) SetIsDeleted(val bool)
- func (s *DeleteResponseResponse) UnmarshalJSON(data []byte) error
- type DeleteSnippetRequestDto
- func (s *DeleteSnippetRequestDto) Decode(d *jx.Decoder) error
- func (s *DeleteSnippetRequestDto) Encode(e *jx.Encoder)
- func (s *DeleteSnippetRequestDto) GetName() string
- func (s *DeleteSnippetRequestDto) MarshalJSON() ([]byte, error)
- func (s *DeleteSnippetRequestDto) SetFake()
- func (s *DeleteSnippetRequestDto) SetName(val string)
- func (s *DeleteSnippetRequestDto) UnmarshalJSON(data []byte) error
- func (s *DeleteSnippetRequestDto) Validate() error
- type DeleteUserHwidDeviceRequestDto
- func (s *DeleteUserHwidDeviceRequestDto) Decode(d *jx.Decoder) error
- func (s *DeleteUserHwidDeviceRequestDto) Encode(e *jx.Encoder)
- func (s *DeleteUserHwidDeviceRequestDto) GetHwid() string
- func (s *DeleteUserHwidDeviceRequestDto) GetUserUuid() uuid.UUID
- func (s *DeleteUserHwidDeviceRequestDto) MarshalJSON() ([]byte, error)
- func (s *DeleteUserHwidDeviceRequestDto) SetFake()
- func (s *DeleteUserHwidDeviceRequestDto) SetHwid(val string)
- func (s *DeleteUserHwidDeviceRequestDto) SetUserUuid(val uuid.UUID)
- func (s *DeleteUserHwidDeviceRequestDto) UnmarshalJSON(data []byte) error
- type Device
- func (s *Device) Decode(d *jx.Decoder) error
- func (s *Device) Encode(e *jx.Encoder)
- func (s *Device) GetCreatedAt() time.Time
- func (s *Device) GetDeviceModel() NilString
- func (s *Device) GetHwid() string
- func (s *Device) GetOsVersion() NilString
- func (s *Device) GetPlatform() NilString
- func (s *Device) GetUpdatedAt() time.Time
- func (s *Device) GetUserAgent() NilString
- func (s *Device) GetUserUuid() uuid.UUID
- func (s *Device) MarshalJSON() ([]byte, error)
- func (s *Device) SetCreatedAt(val time.Time)
- func (s *Device) SetDeviceModel(val NilString)
- func (s *Device) SetFake()
- func (s *Device) SetHwid(val string)
- func (s *Device) SetOsVersion(val NilString)
- func (s *Device) SetPlatform(val NilString)
- func (s *Device) SetUpdatedAt(val time.Time)
- func (s *Device) SetUserAgent(val NilString)
- func (s *Device) SetUserUuid(val uuid.UUID)
- func (s *Device) UnmarshalJSON(data []byte) error
- type EncryptHappCryptoLinkRequestDto
- func (s *EncryptHappCryptoLinkRequestDto) Decode(d *jx.Decoder) error
- func (s *EncryptHappCryptoLinkRequestDto) Encode(e *jx.Encoder)
- func (s *EncryptHappCryptoLinkRequestDto) GetLinkToEncrypt() url.URL
- func (s *EncryptHappCryptoLinkRequestDto) MarshalJSON() ([]byte, error)
- func (s *EncryptHappCryptoLinkRequestDto) SetFake()
- func (s *EncryptHappCryptoLinkRequestDto) SetLinkToEncrypt(val url.URL)
- func (s *EncryptHappCryptoLinkRequestDto) UnmarshalJSON(data []byte) error
- type EncryptHappCryptoLinkResponseDto
- func (s *EncryptHappCryptoLinkResponseDto) Decode(d *jx.Decoder) error
- func (s *EncryptHappCryptoLinkResponseDto) Encode(e *jx.Encoder)
- func (s *EncryptHappCryptoLinkResponseDto) GetResponse() EncryptHappCryptoLinkResponseDtoResponse
- func (s *EncryptHappCryptoLinkResponseDto) MarshalJSON() ([]byte, error)
- func (s *EncryptHappCryptoLinkResponseDto) SetFake()
- func (s *EncryptHappCryptoLinkResponseDto) SetResponse(val EncryptHappCryptoLinkResponseDtoResponse)
- func (s *EncryptHappCryptoLinkResponseDto) UnmarshalJSON(data []byte) error
- type EncryptHappCryptoLinkResponseDtoResponse
- func (s *EncryptHappCryptoLinkResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *EncryptHappCryptoLinkResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *EncryptHappCryptoLinkResponseDtoResponse) GetEncryptedLink() string
- func (s *EncryptHappCryptoLinkResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *EncryptHappCryptoLinkResponseDtoResponse) SetEncryptedLink(val string)
- func (s *EncryptHappCryptoLinkResponseDtoResponse) SetFake()
- func (s *EncryptHappCryptoLinkResponseDtoResponse) UnmarshalJSON(data []byte) error
- type EventResponse
- func (s *EventResponse) Decode(d *jx.Decoder) error
- func (s *EventResponse) Encode(e *jx.Encoder)
- func (s *EventResponse) GetResponse() EventResponseResponse
- func (s *EventResponse) MarshalJSON() ([]byte, error)
- func (s *EventResponse) SetFake()
- func (s *EventResponse) SetResponse(val EventResponseResponse)
- func (s *EventResponse) UnmarshalJSON(data []byte) error
- type EventResponseResponse
- func (s *EventResponseResponse) Decode(d *jx.Decoder) error
- func (s *EventResponseResponse) Encode(e *jx.Encoder)
- func (s *EventResponseResponse) GetEventSent() bool
- func (s *EventResponseResponse) MarshalJSON() ([]byte, error)
- func (s *EventResponseResponse) SetEventSent(val bool)
- func (s *EventResponseResponse) SetFake()
- func (s *EventResponseResponse) UnmarshalJSON(data []byte) error
- type ExternalSquad
- func (s *ExternalSquad) Decode(d *jx.Decoder) error
- func (s *ExternalSquad) Encode(e *jx.Encoder)
- func (s *ExternalSquad) GetCreatedAt() time.Time
- func (s *ExternalSquad) GetCustomRemarks() NilCustomRemark
- func (s *ExternalSquad) GetHostOverrides() NilHostOverride
- func (s *ExternalSquad) GetHwidSettings() NilHwidSettings
- func (s *ExternalSquad) GetInfo() ExternalSquadsResponInfoItem
- func (s *ExternalSquad) GetName() string
- func (s *ExternalSquad) GetResponseHeaders() NilExternalSquadResponseHeaders
- func (s *ExternalSquad) GetSubpageConfigUuid() NilUUID
- func (s *ExternalSquad) GetSubscriptionSettings() NilSubscriptionSettings
- func (s *ExternalSquad) GetTemplates() []TemplateRef
- func (s *ExternalSquad) GetUUID() uuid.UUID
- func (s *ExternalSquad) GetUpdatedAt() time.Time
- func (s *ExternalSquad) GetViewPosition() int
- func (s *ExternalSquad) MarshalJSON() ([]byte, error)
- func (s *ExternalSquad) SetCreatedAt(val time.Time)
- func (s *ExternalSquad) SetCustomRemarks(val NilCustomRemark)
- func (s *ExternalSquad) SetFake()
- func (s *ExternalSquad) SetHostOverrides(val NilHostOverride)
- func (s *ExternalSquad) SetHwidSettings(val NilHwidSettings)
- func (s *ExternalSquad) SetInfo(val ExternalSquadsResponInfoItem)
- func (s *ExternalSquad) SetName(val string)
- func (s *ExternalSquad) SetResponseHeaders(val NilExternalSquadResponseHeaders)
- func (s *ExternalSquad) SetSubpageConfigUuid(val NilUUID)
- func (s *ExternalSquad) SetSubscriptionSettings(val NilSubscriptionSettings)
- func (s *ExternalSquad) SetTemplates(val []TemplateRef)
- func (s *ExternalSquad) SetUUID(val uuid.UUID)
- func (s *ExternalSquad) SetUpdatedAt(val time.Time)
- func (s *ExternalSquad) SetViewPosition(val int)
- func (s *ExternalSquad) UnmarshalJSON(data []byte) error
- func (s *ExternalSquad) Validate() error
- type ExternalSquadClient
- func (sc *ExternalSquadClient) AddUsersToExternalSquad(ctx context.Context, uuid string) (ExternalSquadControllerAddUsersToExternalSquadRes, error)
- func (sc *ExternalSquadClient) CreateExternalSquad(ctx context.Context, request *ExternalSquadRequestRequest) (ExternalSquadControllerCreateExternalSquadRes, error)
- func (sc *ExternalSquadClient) DeleteExternalSquad(ctx context.Context, uuid string) (ExternalSquadControllerDeleteExternalSquadRes, error)
- func (sc *ExternalSquadClient) GetExternalSquadByUuid(ctx context.Context, uuid string) (ExternalSquadControllerGetExternalSquadByUuidRes, error)
- func (sc *ExternalSquadClient) GetExternalSquads(ctx context.Context) (ExternalSquadControllerGetExternalSquadsRes, error)
- func (sc *ExternalSquadClient) RemoveUsersFromExternalSquad(ctx context.Context, uuid string) (ExternalSquadControllerRemoveUsersFromExternalSquadRes, error)
- func (sc *ExternalSquadClient) ReorderExternalSquads(ctx context.Context, request *ReorderRequest) (ExternalSquadControllerReorderExternalSquadsRes, error)
- func (sc *ExternalSquadClient) UpdateExternalSquad(ctx context.Context, request *UpdateExternalSquadRequestDto) (ExternalSquadControllerUpdateExternalSquadRes, error)
- type ExternalSquadControllerAddUsersToExternalSquadParams
- type ExternalSquadControllerAddUsersToExternalSquadRes
- type ExternalSquadControllerCreateExternalSquadConflict
- type ExternalSquadControllerCreateExternalSquadRes
- type ExternalSquadControllerDeleteExternalSquadParams
- type ExternalSquadControllerDeleteExternalSquadRes
- type ExternalSquadControllerGetExternalSquadByUuidParams
- type ExternalSquadControllerGetExternalSquadByUuidRes
- type ExternalSquadControllerGetExternalSquadsRes
- type ExternalSquadControllerRemoveUsersFromExternalSquadParams
- type ExternalSquadControllerRemoveUsersFromExternalSquadRes
- type ExternalSquadControllerReorderExternalSquadsRes
- type ExternalSquadControllerUpdateExternalSquadConflict
- type ExternalSquadControllerUpdateExternalSquadRes
- type ExternalSquadRequestRequest
- func (s *ExternalSquadRequestRequest) Decode(d *jx.Decoder) error
- func (s *ExternalSquadRequestRequest) Encode(e *jx.Encoder)
- func (s *ExternalSquadRequestRequest) GetName() string
- func (s *ExternalSquadRequestRequest) MarshalJSON() ([]byte, error)
- func (s *ExternalSquadRequestRequest) SetFake()
- func (s *ExternalSquadRequestRequest) SetName(val string)
- func (s *ExternalSquadRequestRequest) UnmarshalJSON(data []byte) error
- func (s *ExternalSquadRequestRequest) Validate() error
- type ExternalSquadResponseHeaders
- func (s *ExternalSquadResponseHeaders) Decode(d *jx.Decoder) error
- func (s ExternalSquadResponseHeaders) Encode(e *jx.Encoder)
- func (s ExternalSquadResponseHeaders) MarshalJSON() ([]byte, error)
- func (s *ExternalSquadResponseHeaders) SetFake()
- func (s *ExternalSquadResponseHeaders) UnmarshalJSON(data []byte) error
- type ExternalSquadResponseResponse
- func (s *ExternalSquadResponseResponse) Decode(d *jx.Decoder) error
- func (s *ExternalSquadResponseResponse) Encode(e *jx.Encoder)
- func (s *ExternalSquadResponseResponse) GetResponse() ExternalSquad
- func (s *ExternalSquadResponseResponse) MarshalJSON() ([]byte, error)
- func (s *ExternalSquadResponseResponse) SetFake()
- func (s *ExternalSquadResponseResponse) SetResponse(val ExternalSquad)
- func (s *ExternalSquadResponseResponse) UnmarshalJSON(data []byte) error
- func (s *ExternalSquadResponseResponse) Validate() error
- type ExternalSquadsResponInfoItem
- func (s *ExternalSquadsResponInfoItem) Decode(d *jx.Decoder) error
- func (s *ExternalSquadsResponInfoItem) Encode(e *jx.Encoder)
- func (s *ExternalSquadsResponInfoItem) GetMembersCount() float64
- func (s *ExternalSquadsResponInfoItem) MarshalJSON() ([]byte, error)
- func (s *ExternalSquadsResponInfoItem) SetFake()
- func (s *ExternalSquadsResponInfoItem) SetMembersCount(val float64)
- func (s *ExternalSquadsResponInfoItem) UnmarshalJSON(data []byte) error
- func (s *ExternalSquadsResponInfoItem) Validate() error
- type ExternalSquadsResponse
- func (s *ExternalSquadsResponse) Decode(d *jx.Decoder) error
- func (s *ExternalSquadsResponse) Encode(e *jx.Encoder)
- func (s *ExternalSquadsResponse) GetResponse() ExternalSquadsResponseResponse
- func (s *ExternalSquadsResponse) MarshalJSON() ([]byte, error)
- func (s *ExternalSquadsResponse) SetFake()
- func (s *ExternalSquadsResponse) SetResponse(val ExternalSquadsResponseResponse)
- func (s *ExternalSquadsResponse) UnmarshalJSON(data []byte) error
- func (s *ExternalSquadsResponse) Validate() error
- type ExternalSquadsResponseResponse
- func (s *ExternalSquadsResponseResponse) Decode(d *jx.Decoder) error
- func (s *ExternalSquadsResponseResponse) Encode(e *jx.Encoder)
- func (s *ExternalSquadsResponseResponse) GetExternalSquads() []ExternalSquad
- func (s *ExternalSquadsResponseResponse) GetTotal() float64
- func (s *ExternalSquadsResponseResponse) MarshalJSON() ([]byte, error)
- func (s *ExternalSquadsResponseResponse) SetExternalSquads(val []ExternalSquad)
- func (s *ExternalSquadsResponseResponse) SetFake()
- func (s *ExternalSquadsResponseResponse) SetTotal(val float64)
- func (s *ExternalSquadsResponseResponse) UnmarshalJSON(data []byte) error
- func (s *ExternalSquadsResponseResponse) Validate() error
- type FindAllApiTokensResponseDto
- func (s *FindAllApiTokensResponseDto) Decode(d *jx.Decoder) error
- func (s *FindAllApiTokensResponseDto) Encode(e *jx.Encoder)
- func (s *FindAllApiTokensResponseDto) GetResponse() FindAllApiTokensResponseDtoResponse
- func (s *FindAllApiTokensResponseDto) MarshalJSON() ([]byte, error)
- func (s *FindAllApiTokensResponseDto) SetFake()
- func (s *FindAllApiTokensResponseDto) SetResponse(val FindAllApiTokensResponseDtoResponse)
- func (s *FindAllApiTokensResponseDto) UnmarshalJSON(data []byte) error
- func (s *FindAllApiTokensResponseDto) Validate() error
- type FindAllApiTokensResponseDtoResponse
- func (s *FindAllApiTokensResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *FindAllApiTokensResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *FindAllApiTokensResponseDtoResponse) GetApiKeys() []FindAllApiTokensResponseDtoResponseApiKeysItem
- func (s *FindAllApiTokensResponseDtoResponse) GetDocs() FindAllApiTokensResponseDtoResponseDocs
- func (s *FindAllApiTokensResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *FindAllApiTokensResponseDtoResponse) SetApiKeys(val []FindAllApiTokensResponseDtoResponseApiKeysItem)
- func (s *FindAllApiTokensResponseDtoResponse) SetDocs(val FindAllApiTokensResponseDtoResponseDocs)
- func (s *FindAllApiTokensResponseDtoResponse) SetFake()
- func (s *FindAllApiTokensResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *FindAllApiTokensResponseDtoResponse) Validate() error
- type FindAllApiTokensResponseDtoResponseApiKeysItem
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) Decode(d *jx.Decoder) error
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) Encode(e *jx.Encoder)
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetCreatedAt() time.Time
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetToken() string
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetTokenName() string
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetUUID() uuid.UUID
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetUpdatedAt() time.Time
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) MarshalJSON() ([]byte, error)
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetCreatedAt(val time.Time)
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetFake()
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetToken(val string)
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetTokenName(val string)
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetUUID(val uuid.UUID)
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetUpdatedAt(val time.Time)
- func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) UnmarshalJSON(data []byte) error
- type FindAllApiTokensResponseDtoResponseDocs
- func (s *FindAllApiTokensResponseDtoResponseDocs) Decode(d *jx.Decoder) error
- func (s *FindAllApiTokensResponseDtoResponseDocs) Encode(e *jx.Encoder)
- func (s *FindAllApiTokensResponseDtoResponseDocs) GetIsDocsEnabled() bool
- func (s *FindAllApiTokensResponseDtoResponseDocs) GetScalarPath() NilString
- func (s *FindAllApiTokensResponseDtoResponseDocs) GetSwaggerPath() NilString
- func (s *FindAllApiTokensResponseDtoResponseDocs) MarshalJSON() ([]byte, error)
- func (s *FindAllApiTokensResponseDtoResponseDocs) SetFake()
- func (s *FindAllApiTokensResponseDtoResponseDocs) SetIsDocsEnabled(val bool)
- func (s *FindAllApiTokensResponseDtoResponseDocs) SetScalarPath(val NilString)
- func (s *FindAllApiTokensResponseDtoResponseDocs) SetSwaggerPath(val NilString)
- func (s *FindAllApiTokensResponseDtoResponseDocs) UnmarshalJSON(data []byte) error
- type ForbiddenError
- func (s *ForbiddenError) Decode(d *jx.Decoder) error
- func (s *ForbiddenError) Encode(e *jx.Encoder)
- func (s *ForbiddenError) GetMessage() string
- func (s *ForbiddenError) GetStatusCode() float64
- func (s *ForbiddenError) MarshalJSON() ([]byte, error)
- func (s *ForbiddenError) SetFake()
- func (s *ForbiddenError) SetMessage(val string)
- func (s *ForbiddenError) SetStatusCode(val float64)
- func (s *ForbiddenError) UnmarshalJSON(data []byte) error
- func (s *ForbiddenError) Validate() error
- type GenerateX25519ResponseDto
- func (s *GenerateX25519ResponseDto) Decode(d *jx.Decoder) error
- func (s *GenerateX25519ResponseDto) Encode(e *jx.Encoder)
- func (s *GenerateX25519ResponseDto) GetResponse() GenerateX25519ResponseDtoResponse
- func (s *GenerateX25519ResponseDto) MarshalJSON() ([]byte, error)
- func (s *GenerateX25519ResponseDto) SetFake()
- func (s *GenerateX25519ResponseDto) SetResponse(val GenerateX25519ResponseDtoResponse)
- func (s *GenerateX25519ResponseDto) UnmarshalJSON(data []byte) error
- func (s *GenerateX25519ResponseDto) Validate() error
- type GenerateX25519ResponseDtoResponse
- func (s *GenerateX25519ResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GenerateX25519ResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GenerateX25519ResponseDtoResponse) GetKeypairs() []GenerateX25519ResponseDtoResponseKeypairsItem
- func (s *GenerateX25519ResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GenerateX25519ResponseDtoResponse) SetFake()
- func (s *GenerateX25519ResponseDtoResponse) SetKeypairs(val []GenerateX25519ResponseDtoResponseKeypairsItem)
- func (s *GenerateX25519ResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GenerateX25519ResponseDtoResponse) Validate() error
- type GenerateX25519ResponseDtoResponseKeypairsItem
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) Decode(d *jx.Decoder) error
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) Encode(e *jx.Encoder)
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) GetPrivateKey() string
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) GetPublicKey() string
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) MarshalJSON() ([]byte, error)
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) SetFake()
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) SetPrivateKey(val string)
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) SetPublicKey(val string)
- func (s *GenerateX25519ResponseDtoResponseKeypairsItem) UnmarshalJSON(data []byte) error
- type GetAllHwidDevicesResponseDto
- func (s *GetAllHwidDevicesResponseDto) Decode(d *jx.Decoder) error
- func (s *GetAllHwidDevicesResponseDto) Encode(e *jx.Encoder)
- func (s *GetAllHwidDevicesResponseDto) GetResponse() AllHwidDevices
- func (s *GetAllHwidDevicesResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetAllHwidDevicesResponseDto) SetFake()
- func (s *GetAllHwidDevicesResponseDto) SetResponse(val AllHwidDevices)
- func (s *GetAllHwidDevicesResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetAllHwidDevicesResponseDto) Validate() error
- type GetAllSubscriptionsResponseDto
- func (s *GetAllSubscriptionsResponseDto) Decode(d *jx.Decoder) error
- func (s *GetAllSubscriptionsResponseDto) Encode(e *jx.Encoder)
- func (s *GetAllSubscriptionsResponseDto) GetResponse() GetAllSubscriptionsResponseDtoResponse
- func (s *GetAllSubscriptionsResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetAllSubscriptionsResponseDto) SetFake()
- func (s *GetAllSubscriptionsResponseDto) SetResponse(val GetAllSubscriptionsResponseDtoResponse)
- func (s *GetAllSubscriptionsResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetAllSubscriptionsResponseDto) Validate() error
- type GetAllSubscriptionsResponseDtoResponse
- func (s *GetAllSubscriptionsResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetAllSubscriptionsResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetAllSubscriptionsResponseDtoResponse) GetSubscriptions() []Subscription
- func (s *GetAllSubscriptionsResponseDtoResponse) GetTotal() float64
- func (s *GetAllSubscriptionsResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetAllSubscriptionsResponseDtoResponse) SetFake()
- func (s *GetAllSubscriptionsResponseDtoResponse) SetSubscriptions(val []Subscription)
- func (s *GetAllSubscriptionsResponseDtoResponse) SetTotal(val float64)
- func (s *GetAllSubscriptionsResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetAllSubscriptionsResponseDtoResponse) Validate() error
- type GetAllUsersResponseDto
- func (s *GetAllUsersResponseDto) Decode(d *jx.Decoder) error
- func (s *GetAllUsersResponseDto) Encode(e *jx.Encoder)
- func (s *GetAllUsersResponseDto) GetResponse() GetAllUsersResponseDtoResponse
- func (s *GetAllUsersResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetAllUsersResponseDto) SetFake()
- func (s *GetAllUsersResponseDto) SetResponse(val GetAllUsersResponseDtoResponse)
- func (s *GetAllUsersResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetAllUsersResponseDto) Validate() error
- type GetAllUsersResponseDtoResponse
- func (s *GetAllUsersResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetAllUsersResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetAllUsersResponseDtoResponse) GetTotal() float64
- func (s *GetAllUsersResponseDtoResponse) GetUsers() []User
- func (s *GetAllUsersResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetAllUsersResponseDtoResponse) SetFake()
- func (s *GetAllUsersResponseDtoResponse) SetTotal(val float64)
- func (s *GetAllUsersResponseDtoResponse) SetUsers(val []User)
- func (s *GetAllUsersResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetAllUsersResponseDtoResponse) Validate() error
- type GetBandwidthStatsResponseDto
- func (s *GetBandwidthStatsResponseDto) Decode(d *jx.Decoder) error
- func (s *GetBandwidthStatsResponseDto) Encode(e *jx.Encoder)
- func (s *GetBandwidthStatsResponseDto) GetResponse() GetBandwidthStatsResponseDtoResponse
- func (s *GetBandwidthStatsResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetBandwidthStatsResponseDto) SetFake()
- func (s *GetBandwidthStatsResponseDto) SetResponse(val GetBandwidthStatsResponseDtoResponse)
- func (s *GetBandwidthStatsResponseDto) UnmarshalJSON(data []byte) error
- type GetBandwidthStatsResponseDtoResponse
- func (s *GetBandwidthStatsResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetBandwidthStatsResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthCalendarMonth() BandwidthLastTwoDays
- func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthCurrentYear() BandwidthLastTwoDays
- func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthLast30Days() BandwidthLastTwoDays
- func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthLastSevenDays() BandwidthLastTwoDays
- func (s *GetBandwidthStatsResponseDtoResponse) GetBandwidthLastTwoDays() BandwidthLastTwoDays
- func (s *GetBandwidthStatsResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthCalendarMonth(val BandwidthLastTwoDays)
- func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthCurrentYear(val BandwidthLastTwoDays)
- func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthLast30Days(val BandwidthLastTwoDays)
- func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthLastSevenDays(val BandwidthLastTwoDays)
- func (s *GetBandwidthStatsResponseDtoResponse) SetBandwidthLastTwoDays(val BandwidthLastTwoDays)
- func (s *GetBandwidthStatsResponseDtoResponse) SetFake()
- func (s *GetBandwidthStatsResponseDtoResponse) UnmarshalJSON(data []byte) error
- type GetHwidDevicesStatsResponseDto
- func (s *GetHwidDevicesStatsResponseDto) Decode(d *jx.Decoder) error
- func (s *GetHwidDevicesStatsResponseDto) Encode(e *jx.Encoder)
- func (s *GetHwidDevicesStatsResponseDto) GetResponse() GetHwidDevicesStatsResponseDtoResponse
- func (s *GetHwidDevicesStatsResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetHwidDevicesStatsResponseDto) SetFake()
- func (s *GetHwidDevicesStatsResponseDto) SetResponse(val GetHwidDevicesStatsResponseDtoResponse)
- func (s *GetHwidDevicesStatsResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetHwidDevicesStatsResponseDto) Validate() error
- type GetHwidDevicesStatsResponseDtoResponse
- func (s *GetHwidDevicesStatsResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetHwidDevicesStatsResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetHwidDevicesStatsResponseDtoResponse) GetByApp() []ByAppItem
- func (s *GetHwidDevicesStatsResponseDtoResponse) GetByPlatform() []GetHwidDevicesStatsResponseDtoResponseByPlatformItem
- func (s *GetHwidDevicesStatsResponseDtoResponse) GetStats() GetHwidDevicesStatsResponseDtoResponseStats
- func (s *GetHwidDevicesStatsResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetHwidDevicesStatsResponseDtoResponse) SetByApp(val []ByAppItem)
- func (s *GetHwidDevicesStatsResponseDtoResponse) SetByPlatform(val []GetHwidDevicesStatsResponseDtoResponseByPlatformItem)
- func (s *GetHwidDevicesStatsResponseDtoResponse) SetFake()
- func (s *GetHwidDevicesStatsResponseDtoResponse) SetStats(val GetHwidDevicesStatsResponseDtoResponseStats)
- func (s *GetHwidDevicesStatsResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetHwidDevicesStatsResponseDtoResponse) Validate() error
- type GetHwidDevicesStatsResponseDtoResponseByPlatformItem
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Decode(d *jx.Decoder) error
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Encode(e *jx.Encoder)
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) GetCount() float64
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) GetPlatform() string
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) MarshalJSON() ([]byte, error)
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetCount(val float64)
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetFake()
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetPlatform(val string)
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) UnmarshalJSON(data []byte) error
- func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Validate() error
- type GetHwidDevicesStatsResponseDtoResponseStats
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) Decode(d *jx.Decoder) error
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) Encode(e *jx.Encoder)
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) GetAverageHwidDevicesPerUser() float64
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) GetTotalHwidDevices() float64
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) GetTotalUniqueDevices() float64
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) MarshalJSON() ([]byte, error)
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) SetAverageHwidDevicesPerUser(val float64)
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) SetFake()
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) SetTotalHwidDevices(val float64)
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) SetTotalUniqueDevices(val float64)
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) UnmarshalJSON(data []byte) error
- func (s *GetHwidDevicesStatsResponseDtoResponseStats) Validate() error
- type GetInfraProvidersResponseDto
- func (s *GetInfraProvidersResponseDto) Decode(d *jx.Decoder) error
- func (s *GetInfraProvidersResponseDto) Encode(e *jx.Encoder)
- func (s *GetInfraProvidersResponseDto) GetResponse() GetInfraProvidersResponseDtoResponse
- func (s *GetInfraProvidersResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetInfraProvidersResponseDto) SetFake()
- func (s *GetInfraProvidersResponseDto) SetResponse(val GetInfraProvidersResponseDtoResponse)
- func (s *GetInfraProvidersResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetInfraProvidersResponseDto) Validate() error
- type GetInfraProvidersResponseDtoResponse
- func (s *GetInfraProvidersResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetInfraProvidersResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetInfraProvidersResponseDtoResponse) GetProviders() []Provider
- func (s *GetInfraProvidersResponseDtoResponse) GetTotal() float64
- func (s *GetInfraProvidersResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetInfraProvidersResponseDtoResponse) SetFake()
- func (s *GetInfraProvidersResponseDtoResponse) SetProviders(val []Provider)
- func (s *GetInfraProvidersResponseDtoResponse) SetTotal(val float64)
- func (s *GetInfraProvidersResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetInfraProvidersResponseDtoResponse) Validate() error
- type GetInternalSquadAccessibleNodesResponseDto
- func (s *GetInternalSquadAccessibleNodesResponseDto) Decode(d *jx.Decoder) error
- func (s *GetInternalSquadAccessibleNodesResponseDto) Encode(e *jx.Encoder)
- func (s *GetInternalSquadAccessibleNodesResponseDto) GetResponse() GetInternalSquadAccessibleNodesResponseDtoResponse
- func (s *GetInternalSquadAccessibleNodesResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetInternalSquadAccessibleNodesResponseDto) SetFake()
- func (s *GetInternalSquadAccessibleNodesResponseDto) SetResponse(val GetInternalSquadAccessibleNodesResponseDtoResponse)
- func (s *GetInternalSquadAccessibleNodesResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetInternalSquadAccessibleNodesResponseDto) Validate() error
- type GetInternalSquadAccessibleNodesResponseDtoResponse
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) GetAccessibleNodes() []GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) GetSquadUuid() uuid.UUID
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) SetAccessibleNodes(val []GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) SetFake()
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) SetSquadUuid(val uuid.UUID)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) Validate() error
- type GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Decode(d *jx.Decoder) error
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Encode(e *jx.Encoder)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetActiveInbounds() []string
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetConfigProfileName() string
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetConfigProfileUuid() uuid.UUID
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetCountryCode() string
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetNodeName() string
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetUUID() uuid.UUID
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) MarshalJSON() ([]byte, error)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetActiveInbounds(val []string)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetConfigProfileName(val string)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetConfigProfileUuid(val uuid.UUID)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetCountryCode(val string)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetFake()
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetNodeName(val string)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetUUID(val uuid.UUID)
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) UnmarshalJSON(data []byte) error
- func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Validate() error
- type GetLegacyStatsNodesUsersUsageResponseDto
- func (s *GetLegacyStatsNodesUsersUsageResponseDto) Decode(d *jx.Decoder) error
- func (s *GetLegacyStatsNodesUsersUsageResponseDto) Encode(e *jx.Encoder)
- func (s *GetLegacyStatsNodesUsersUsageResponseDto) GetResponse() []GetLegacyStatsNodesUsersUsageResponseDtoResponseItem
- func (s *GetLegacyStatsNodesUsersUsageResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetLegacyStatsNodesUsersUsageResponseDto) SetFake()
- func (s *GetLegacyStatsNodesUsersUsageResponseDto) SetResponse(val []GetLegacyStatsNodesUsersUsageResponseDtoResponseItem)
- func (s *GetLegacyStatsNodesUsersUsageResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetLegacyStatsNodesUsersUsageResponseDto) Validate() error
- type GetLegacyStatsNodesUsersUsageResponseDtoResponseItem
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Decode(d *jx.Decoder) error
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Encode(e *jx.Encoder)
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetDate() string
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetNodeUuid() uuid.UUID
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetTotal() float64
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetUserUuid() uuid.UUID
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetUsername() string
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) MarshalJSON() ([]byte, error)
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetDate(val string)
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetFake()
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetNodeUuid(val uuid.UUID)
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetTotal(val float64)
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetUserUuid(val uuid.UUID)
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetUsername(val string)
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) UnmarshalJSON(data []byte) error
- func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Validate() error
- type GetLegacyStatsUserUsageResponseDto
- func (s *GetLegacyStatsUserUsageResponseDto) Decode(d *jx.Decoder) error
- func (s *GetLegacyStatsUserUsageResponseDto) Encode(e *jx.Encoder)
- func (s *GetLegacyStatsUserUsageResponseDto) GetResponse() []GetLegacyStatsUserUsageResponseDtoResponseItem
- func (s *GetLegacyStatsUserUsageResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetLegacyStatsUserUsageResponseDto) SetFake()
- func (s *GetLegacyStatsUserUsageResponseDto) SetResponse(val []GetLegacyStatsUserUsageResponseDtoResponseItem)
- func (s *GetLegacyStatsUserUsageResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetLegacyStatsUserUsageResponseDto) Validate() error
- type GetLegacyStatsUserUsageResponseDtoResponseItem
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) Decode(d *jx.Decoder) error
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) Encode(e *jx.Encoder)
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetCountryCode() string
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetDate() string
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetNodeName() string
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetNodeUuid() uuid.UUID
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetTotal() float64
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetUserUuid() uuid.UUID
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) MarshalJSON() ([]byte, error)
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetCountryCode(val string)
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetDate(val string)
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetFake()
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetNodeName(val string)
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetNodeUuid(val uuid.UUID)
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetTotal(val float64)
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetUserUuid(val uuid.UUID)
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) UnmarshalJSON(data []byte) error
- func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) Validate() error
- type GetNodesMetricsResponseDto
- func (s *GetNodesMetricsResponseDto) Decode(d *jx.Decoder) error
- func (s *GetNodesMetricsResponseDto) Encode(e *jx.Encoder)
- func (s *GetNodesMetricsResponseDto) GetResponse() GetNodesMetricsResponseDtoResponse
- func (s *GetNodesMetricsResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetNodesMetricsResponseDto) SetFake()
- func (s *GetNodesMetricsResponseDto) SetResponse(val GetNodesMetricsResponseDtoResponse)
- func (s *GetNodesMetricsResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetNodesMetricsResponseDto) Validate() error
- type GetNodesMetricsResponseDtoResponse
- func (s *GetNodesMetricsResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetNodesMetricsResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetNodesMetricsResponseDtoResponse) GetNodes() []GetNodesMetricsResponseDtoResponseNodesItem
- func (s *GetNodesMetricsResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetNodesMetricsResponseDtoResponse) SetFake()
- func (s *GetNodesMetricsResponseDtoResponse) SetNodes(val []GetNodesMetricsResponseDtoResponseNodesItem)
- func (s *GetNodesMetricsResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetNodesMetricsResponseDtoResponse) Validate() error
- type GetNodesMetricsResponseDtoResponseNodesItem
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) Decode(d *jx.Decoder) error
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) Encode(e *jx.Encoder)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetCountryEmoji() string
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetInboundsStats() []InboundsStat
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetNodeName() string
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetNodeUuid() string
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetOutboundsStats() []InboundsStat
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetProviderName() string
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetUsersOnline() float64
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) MarshalJSON() ([]byte, error)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetCountryEmoji(val string)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetFake()
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetInboundsStats(val []InboundsStat)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetNodeName(val string)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetNodeUuid(val string)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetOutboundsStats(val []InboundsStat)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetProviderName(val string)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetUsersOnline(val float64)
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) UnmarshalJSON(data []byte) error
- func (s *GetNodesMetricsResponseDtoResponseNodesItem) Validate() error
- type GetNodesStatisticsResponseDto
- func (s *GetNodesStatisticsResponseDto) Decode(d *jx.Decoder) error
- func (s *GetNodesStatisticsResponseDto) Encode(e *jx.Encoder)
- func (s *GetNodesStatisticsResponseDto) GetResponse() GetNodesStatisticsResponseDtoResponse
- func (s *GetNodesStatisticsResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetNodesStatisticsResponseDto) SetFake()
- func (s *GetNodesStatisticsResponseDto) SetResponse(val GetNodesStatisticsResponseDtoResponse)
- func (s *GetNodesStatisticsResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetNodesStatisticsResponseDto) Validate() error
- type GetNodesStatisticsResponseDtoResponse
- func (s *GetNodesStatisticsResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetNodesStatisticsResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetNodesStatisticsResponseDtoResponse) GetLastSevenDays() []GetNodesStatisticsResponseDtoResponseLastSevenDaysItem
- func (s *GetNodesStatisticsResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetNodesStatisticsResponseDtoResponse) SetFake()
- func (s *GetNodesStatisticsResponseDtoResponse) SetLastSevenDays(val []GetNodesStatisticsResponseDtoResponseLastSevenDaysItem)
- func (s *GetNodesStatisticsResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetNodesStatisticsResponseDtoResponse) Validate() error
- type GetNodesStatisticsResponseDtoResponseLastSevenDaysItem
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) Decode(d *jx.Decoder) error
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) Encode(e *jx.Encoder)
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetDate() string
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetNodeName() string
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetTotalBytes() string
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) MarshalJSON() ([]byte, error)
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetDate(val string)
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetFake()
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetNodeName(val string)
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetTotalBytes(val string)
- func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) UnmarshalJSON(data []byte) error
- type GetPubKeyResponseDto
- func (s *GetPubKeyResponseDto) Decode(d *jx.Decoder) error
- func (s *GetPubKeyResponseDto) Encode(e *jx.Encoder)
- func (s *GetPubKeyResponseDto) GetResponse() GetPubKeyResponseDtoResponse
- func (s *GetPubKeyResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetPubKeyResponseDto) SetFake()
- func (s *GetPubKeyResponseDto) SetResponse(val GetPubKeyResponseDtoResponse)
- func (s *GetPubKeyResponseDto) UnmarshalJSON(data []byte) error
- type GetPubKeyResponseDtoResponse
- func (s *GetPubKeyResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetPubKeyResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetPubKeyResponseDtoResponse) GetPubKey() string
- func (s *GetPubKeyResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetPubKeyResponseDtoResponse) SetFake()
- func (s *GetPubKeyResponseDtoResponse) SetPubKey(val string)
- func (s *GetPubKeyResponseDtoResponse) UnmarshalJSON(data []byte) error
- type GetRawSubscriptionByShortUuidResponseDto
- func (s *GetRawSubscriptionByShortUuidResponseDto) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDto) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDto) GetResponse() GetRawSubscriptionByShortUuidResponseDtoResponse
- func (s *GetRawSubscriptionByShortUuidResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDto) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDto) SetResponse(val GetRawSubscriptionByShortUuidResponseDtoResponse)
- func (s *GetRawSubscriptionByShortUuidResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetRawSubscriptionByShortUuidResponseDto) Validate() error
- type GetRawSubscriptionByShortUuidResponseDtoResponse
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) GetConvertedUserInfo() GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) GetHeaders() GetRawSubscriptionByShortUuidResponseDtoResponseHeaders
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) GetRawHosts() []GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) GetUser() User
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetConvertedUserInfo(val GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetHeaders(val GetRawSubscriptionByShortUuidResponseDtoResponseHeaders)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetRawHosts(val []GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetUser(val User)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) Validate() error
- type GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetDaysLeft() float64
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetIsHwidLimited() bool
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetLifetimeTrafficUsed() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetTrafficLimit() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetTrafficUsed() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetDaysLeft(val float64)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetIsHwidLimited(val bool)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetLifetimeTrafficUsed(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetTrafficLimit(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetTrafficUsed(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) UnmarshalJSON(data []byte) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Validate() error
- type GetRawSubscriptionByShortUuidResponseDtoResponseHeaders
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) Decode(d *jx.Decoder) error
- func (s GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) Encode(e *jx.Encoder)
- func (s GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) UnmarshalJSON(data []byte) error
- type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAdditionalParams() ...
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAddress() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAllowInsecure() OptNilBool
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAlpn() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetDbData() OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetEncryption() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetFingerprint() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetFlow() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetHost() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMihomoX25519() OptNilBool
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMldsa65Verify() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMuxParams() jx.Raw
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetNetwork() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPassword() GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPath() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPort() OptNilFloat64
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetProtocol() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetProtocolOptions() ...
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPublicKey() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetRawSettings() OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetRemark() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetServerDescription() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetShortId() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetShuffleHost() OptNilBool
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSni() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSockoptParams() jx.Raw
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSpiderX() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetTLS() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetXHttpExtraParams() jx.Raw
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetXrayJsonTemplate() jx.Raw
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAdditionalParams(...)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAddress(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAllowInsecure(val OptNilBool)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAlpn(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetDbData(val OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetEncryption(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFingerprint(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFlow(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetHost(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMihomoX25519(val OptNilBool)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMldsa65Verify(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMuxParams(val jx.Raw)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetNetwork(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPassword(val GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPath(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPort(val OptNilFloat64)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetProtocol(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetProtocolOptions(...)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPublicKey(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetRawSettings(...)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetRemark(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetServerDescription(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetShortId(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetShuffleHost(val OptNilBool)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSni(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSockoptParams(val jx.Raw)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSpiderX(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetTLS(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetXHttpExtraParams(val jx.Raw)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetXrayJsonTemplate(val jx.Raw)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) UnmarshalJSON(data []byte) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Validate() error
- type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetHeartbeatPeriod() OptNilFloat64
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetMode() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetHeartbeatPeriod(val OptNilFloat64)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetMode(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) UnmarshalJSON(data []byte) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Validate() error
- type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetConfigProfileInboundUuid() NilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetConfigProfileUuid() NilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetInboundTag() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetIsDisabled() bool
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetIsHidden() bool
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRawInbound() jx.Raw
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRemark() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetTag() NilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetUUID() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetViewPosition() float64
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetVlessRouteId() NilInt
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetConfigProfileInboundUuid(val NilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetConfigProfileUuid(val NilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetInboundTag(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetIsDisabled(val bool)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetIsHidden(val bool)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetRawInbound(val jx.Raw)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetRemark(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetTag(val NilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetUUID(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetViewPosition(val float64)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetVlessRouteId(val NilInt)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) UnmarshalJSON(data []byte) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Validate() error
- type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetSsPassword() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetTrojanPassword() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetVlessPassword() string
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetSsPassword(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetTrojanPassword(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetVlessPassword(val string)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) UnmarshalJSON(data []byte) error
- type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) GetSs() ...
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetSs(...)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) UnmarshalJSON(data []byte) error
- type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) GetMethod() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetMethod(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) UnmarshalJSON(data []byte) error
- type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Decode(d *jx.Decoder) error
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Encode(e *jx.Encoder)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetHeaderType() OptNilString
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetRequest() jx.Raw
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) MarshalJSON() ([]byte, error)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetFake()
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetHeaderType(val OptNilString)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetRequest(val jx.Raw)
- func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) UnmarshalJSON(data []byte) error
- type GetRemnawaveHealthResponseDto
- func (s *GetRemnawaveHealthResponseDto) Decode(d *jx.Decoder) error
- func (s *GetRemnawaveHealthResponseDto) Encode(e *jx.Encoder)
- func (s *GetRemnawaveHealthResponseDto) GetResponse() GetRemnawaveHealthResponseDtoResponse
- func (s *GetRemnawaveHealthResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetRemnawaveHealthResponseDto) SetFake()
- func (s *GetRemnawaveHealthResponseDto) SetResponse(val GetRemnawaveHealthResponseDtoResponse)
- func (s *GetRemnawaveHealthResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetRemnawaveHealthResponseDto) Validate() error
- type GetRemnawaveHealthResponseDtoResponse
- func (s *GetRemnawaveHealthResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetRemnawaveHealthResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetRemnawaveHealthResponseDtoResponse) GetPm2Stats() []GetRemnawaveHealthResponseDtoResponsePm2StatsItem
- func (s *GetRemnawaveHealthResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetRemnawaveHealthResponseDtoResponse) SetFake()
- func (s *GetRemnawaveHealthResponseDtoResponse) SetPm2Stats(val []GetRemnawaveHealthResponseDtoResponsePm2StatsItem)
- func (s *GetRemnawaveHealthResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetRemnawaveHealthResponseDtoResponse) Validate() error
- type GetRemnawaveHealthResponseDtoResponsePm2StatsItem
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) Decode(d *jx.Decoder) error
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) Encode(e *jx.Encoder)
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetCPU() string
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetMemory() string
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetName() string
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) MarshalJSON() ([]byte, error)
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetCPU(val string)
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetFake()
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetMemory(val string)
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetName(val string)
- func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) UnmarshalJSON(data []byte) error
- type GetStatsNodeUsersUsageResponseDto
- func (s *GetStatsNodeUsersUsageResponseDto) Decode(d *jx.Decoder) error
- func (s *GetStatsNodeUsersUsageResponseDto) Encode(e *jx.Encoder)
- func (s *GetStatsNodeUsersUsageResponseDto) GetResponse() GetStatsNodeUsersUsageResponseDtoResponse
- func (s *GetStatsNodeUsersUsageResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetStatsNodeUsersUsageResponseDto) SetFake()
- func (s *GetStatsNodeUsersUsageResponseDto) SetResponse(val GetStatsNodeUsersUsageResponseDtoResponse)
- func (s *GetStatsNodeUsersUsageResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetStatsNodeUsersUsageResponseDto) Validate() error
- type GetStatsNodeUsersUsageResponseDtoResponse
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) GetCategories() []string
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) GetSparklineData() []float64
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) GetTopUsers() []GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetCategories(val []string)
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetFake()
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetSparklineData(val []float64)
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetTopUsers(val []GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem)
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetStatsNodeUsersUsageResponseDtoResponse) Validate() error
- type GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Decode(d *jx.Decoder) error
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Encode(e *jx.Encoder)
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetColor() string
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetTotal() float64
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetUsername() string
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) MarshalJSON() ([]byte, error)
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetColor(val string)
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetFake()
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetTotal(val float64)
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetUsername(val string)
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) UnmarshalJSON(data []byte) error
- func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Validate() error
- type GetStatsNodesRealtimeUsageResponseDto
- func (s *GetStatsNodesRealtimeUsageResponseDto) Decode(d *jx.Decoder) error
- func (s *GetStatsNodesRealtimeUsageResponseDto) Encode(e *jx.Encoder)
- func (s *GetStatsNodesRealtimeUsageResponseDto) GetResponse() []GetStatsNodesRealtimeUsageResponseDtoResponseItem
- func (s *GetStatsNodesRealtimeUsageResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetStatsNodesRealtimeUsageResponseDto) SetFake()
- func (s *GetStatsNodesRealtimeUsageResponseDto) SetResponse(val []GetStatsNodesRealtimeUsageResponseDtoResponseItem)
- func (s *GetStatsNodesRealtimeUsageResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetStatsNodesRealtimeUsageResponseDto) Validate() error
- type GetStatsNodesRealtimeUsageResponseDtoResponseItem
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) Decode(d *jx.Decoder) error
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) Encode(e *jx.Encoder)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetCountryCode() string
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetDownloadBytes() float64
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetDownloadSpeedBps() float64
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetNodeName() string
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetNodeUuid() uuid.UUID
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetTotalBytes() float64
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetTotalSpeedBps() float64
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetUploadBytes() float64
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetUploadSpeedBps() float64
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) MarshalJSON() ([]byte, error)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetCountryCode(val string)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadBytes(val float64)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadSpeedBps(val float64)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetFake()
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetNodeName(val string)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetNodeUuid(val uuid.UUID)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetTotalBytes(val float64)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetTotalSpeedBps(val float64)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetUploadBytes(val float64)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetUploadSpeedBps(val float64)
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) UnmarshalJSON(data []byte) error
- func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) Validate() error
- type GetStatsResponseDto
- func (s *GetStatsResponseDto) Decode(d *jx.Decoder) error
- func (s *GetStatsResponseDto) Encode(e *jx.Encoder)
- func (s *GetStatsResponseDto) GetResponse() GetStatsResponseDtoResponse
- func (s *GetStatsResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetStatsResponseDto) SetFake()
- func (s *GetStatsResponseDto) SetResponse(val GetStatsResponseDtoResponse)
- func (s *GetStatsResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetStatsResponseDto) Validate() error
- type GetStatsResponseDtoResponse
- func (s *GetStatsResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetStatsResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetStatsResponseDtoResponse) GetCPU() GetStatsResponseDtoResponseCPU
- func (s *GetStatsResponseDtoResponse) GetMemory() GetStatsResponseDtoResponseMemory
- func (s *GetStatsResponseDtoResponse) GetNodes() GetStatsResponseDtoResponseNodes
- func (s *GetStatsResponseDtoResponse) GetOnlineStats() GetStatsResponseDtoResponseOnlineStats
- func (s *GetStatsResponseDtoResponse) GetTimestamp() float64
- func (s *GetStatsResponseDtoResponse) GetUptime() float64
- func (s *GetStatsResponseDtoResponse) GetUsers() GetStatsResponseDtoResponseUsers
- func (s *GetStatsResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetStatsResponseDtoResponse) SetCPU(val GetStatsResponseDtoResponseCPU)
- func (s *GetStatsResponseDtoResponse) SetFake()
- func (s *GetStatsResponseDtoResponse) SetMemory(val GetStatsResponseDtoResponseMemory)
- func (s *GetStatsResponseDtoResponse) SetNodes(val GetStatsResponseDtoResponseNodes)
- func (s *GetStatsResponseDtoResponse) SetOnlineStats(val GetStatsResponseDtoResponseOnlineStats)
- func (s *GetStatsResponseDtoResponse) SetTimestamp(val float64)
- func (s *GetStatsResponseDtoResponse) SetUptime(val float64)
- func (s *GetStatsResponseDtoResponse) SetUsers(val GetStatsResponseDtoResponseUsers)
- func (s *GetStatsResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetStatsResponseDtoResponse) Validate() error
- type GetStatsResponseDtoResponseCPU
- func (s *GetStatsResponseDtoResponseCPU) Decode(d *jx.Decoder) error
- func (s *GetStatsResponseDtoResponseCPU) Encode(e *jx.Encoder)
- func (s *GetStatsResponseDtoResponseCPU) GetCores() float64
- func (s *GetStatsResponseDtoResponseCPU) GetPhysicalCores() float64
- func (s *GetStatsResponseDtoResponseCPU) MarshalJSON() ([]byte, error)
- func (s *GetStatsResponseDtoResponseCPU) SetCores(val float64)
- func (s *GetStatsResponseDtoResponseCPU) SetFake()
- func (s *GetStatsResponseDtoResponseCPU) SetPhysicalCores(val float64)
- func (s *GetStatsResponseDtoResponseCPU) UnmarshalJSON(data []byte) error
- func (s *GetStatsResponseDtoResponseCPU) Validate() error
- type GetStatsResponseDtoResponseMemory
- func (s *GetStatsResponseDtoResponseMemory) Decode(d *jx.Decoder) error
- func (s *GetStatsResponseDtoResponseMemory) Encode(e *jx.Encoder)
- func (s *GetStatsResponseDtoResponseMemory) GetActive() float64
- func (s *GetStatsResponseDtoResponseMemory) GetAvailable() float64
- func (s *GetStatsResponseDtoResponseMemory) GetFree() float64
- func (s *GetStatsResponseDtoResponseMemory) GetTotal() float64
- func (s *GetStatsResponseDtoResponseMemory) GetUsed() float64
- func (s *GetStatsResponseDtoResponseMemory) MarshalJSON() ([]byte, error)
- func (s *GetStatsResponseDtoResponseMemory) SetActive(val float64)
- func (s *GetStatsResponseDtoResponseMemory) SetAvailable(val float64)
- func (s *GetStatsResponseDtoResponseMemory) SetFake()
- func (s *GetStatsResponseDtoResponseMemory) SetFree(val float64)
- func (s *GetStatsResponseDtoResponseMemory) SetTotal(val float64)
- func (s *GetStatsResponseDtoResponseMemory) SetUsed(val float64)
- func (s *GetStatsResponseDtoResponseMemory) UnmarshalJSON(data []byte) error
- func (s *GetStatsResponseDtoResponseMemory) Validate() error
- type GetStatsResponseDtoResponseNodes
- func (s *GetStatsResponseDtoResponseNodes) Decode(d *jx.Decoder) error
- func (s *GetStatsResponseDtoResponseNodes) Encode(e *jx.Encoder)
- func (s *GetStatsResponseDtoResponseNodes) GetTotalBytesLifetime() string
- func (s *GetStatsResponseDtoResponseNodes) GetTotalOnline() float64
- func (s *GetStatsResponseDtoResponseNodes) MarshalJSON() ([]byte, error)
- func (s *GetStatsResponseDtoResponseNodes) SetFake()
- func (s *GetStatsResponseDtoResponseNodes) SetTotalBytesLifetime(val string)
- func (s *GetStatsResponseDtoResponseNodes) SetTotalOnline(val float64)
- func (s *GetStatsResponseDtoResponseNodes) UnmarshalJSON(data []byte) error
- func (s *GetStatsResponseDtoResponseNodes) Validate() error
- type GetStatsResponseDtoResponseOnlineStats
- func (s *GetStatsResponseDtoResponseOnlineStats) Decode(d *jx.Decoder) error
- func (s *GetStatsResponseDtoResponseOnlineStats) Encode(e *jx.Encoder)
- func (s *GetStatsResponseDtoResponseOnlineStats) GetLastDay() float64
- func (s *GetStatsResponseDtoResponseOnlineStats) GetLastWeek() float64
- func (s *GetStatsResponseDtoResponseOnlineStats) GetNeverOnline() float64
- func (s *GetStatsResponseDtoResponseOnlineStats) GetOnlineNow() float64
- func (s *GetStatsResponseDtoResponseOnlineStats) MarshalJSON() ([]byte, error)
- func (s *GetStatsResponseDtoResponseOnlineStats) SetFake()
- func (s *GetStatsResponseDtoResponseOnlineStats) SetLastDay(val float64)
- func (s *GetStatsResponseDtoResponseOnlineStats) SetLastWeek(val float64)
- func (s *GetStatsResponseDtoResponseOnlineStats) SetNeverOnline(val float64)
- func (s *GetStatsResponseDtoResponseOnlineStats) SetOnlineNow(val float64)
- func (s *GetStatsResponseDtoResponseOnlineStats) UnmarshalJSON(data []byte) error
- func (s *GetStatsResponseDtoResponseOnlineStats) Validate() error
- type GetStatsResponseDtoResponseUsers
- func (s *GetStatsResponseDtoResponseUsers) Decode(d *jx.Decoder) error
- func (s *GetStatsResponseDtoResponseUsers) Encode(e *jx.Encoder)
- func (s *GetStatsResponseDtoResponseUsers) GetStatusCounts() GetStatsResponseDtoResponseUsersStatusCounts
- func (s *GetStatsResponseDtoResponseUsers) GetTotalUsers() float64
- func (s *GetStatsResponseDtoResponseUsers) MarshalJSON() ([]byte, error)
- func (s *GetStatsResponseDtoResponseUsers) SetFake()
- func (s *GetStatsResponseDtoResponseUsers) SetStatusCounts(val GetStatsResponseDtoResponseUsersStatusCounts)
- func (s *GetStatsResponseDtoResponseUsers) SetTotalUsers(val float64)
- func (s *GetStatsResponseDtoResponseUsers) UnmarshalJSON(data []byte) error
- func (s *GetStatsResponseDtoResponseUsers) Validate() error
- type GetStatsResponseDtoResponseUsersStatusCounts
- func (s *GetStatsResponseDtoResponseUsersStatusCounts) Decode(d *jx.Decoder) error
- func (s GetStatsResponseDtoResponseUsersStatusCounts) Encode(e *jx.Encoder)
- func (s GetStatsResponseDtoResponseUsersStatusCounts) MarshalJSON() ([]byte, error)
- func (s *GetStatsResponseDtoResponseUsersStatusCounts) SetFake()
- func (s *GetStatsResponseDtoResponseUsersStatusCounts) UnmarshalJSON(data []byte) error
- func (s GetStatsResponseDtoResponseUsersStatusCounts) Validate() error
- type GetStatusResponseDto
- func (s *GetStatusResponseDto) Decode(d *jx.Decoder) error
- func (s *GetStatusResponseDto) Encode(e *jx.Encoder)
- func (s *GetStatusResponseDto) GetResponse() GetStatusResponseDtoResponse
- func (s *GetStatusResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetStatusResponseDto) SetFake()
- func (s *GetStatusResponseDto) SetResponse(val GetStatusResponseDtoResponse)
- func (s *GetStatusResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetStatusResponseDto) Validate() error
- type GetStatusResponseDtoResponse
- func (s *GetStatusResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetStatusResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetStatusResponseDtoResponse) GetAuthentication() NilGetStatusResponseDtoResponseAuthentication
- func (s *GetStatusResponseDtoResponse) GetBranding() GetStatusResponseDtoResponseBranding
- func (s *GetStatusResponseDtoResponse) GetIsLoginAllowed() bool
- func (s *GetStatusResponseDtoResponse) GetIsRegisterAllowed() bool
- func (s *GetStatusResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetStatusResponseDtoResponse) SetAuthentication(val NilGetStatusResponseDtoResponseAuthentication)
- func (s *GetStatusResponseDtoResponse) SetBranding(val GetStatusResponseDtoResponseBranding)
- func (s *GetStatusResponseDtoResponse) SetFake()
- func (s *GetStatusResponseDtoResponse) SetIsLoginAllowed(val bool)
- func (s *GetStatusResponseDtoResponse) SetIsRegisterAllowed(val bool)
- func (s *GetStatusResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetStatusResponseDtoResponse) Validate() error
- type GetStatusResponseDtoResponseAuthentication
- func (s *GetStatusResponseDtoResponseAuthentication) Decode(d *jx.Decoder) error
- func (s *GetStatusResponseDtoResponseAuthentication) Encode(e *jx.Encoder)
- func (s *GetStatusResponseDtoResponseAuthentication) GetOAuth2() GetStatusResponseDtoResponseAuthenticationOAuth2
- func (s *GetStatusResponseDtoResponseAuthentication) GetPasskey() NilPasswordSettings
- func (s *GetStatusResponseDtoResponseAuthentication) GetPassword() NilPasswordSettings
- func (s *GetStatusResponseDtoResponseAuthentication) GetTgAuth() GetStatusResponseDtoResponseAuthenticationTgAuth
- func (s *GetStatusResponseDtoResponseAuthentication) MarshalJSON() ([]byte, error)
- func (s *GetStatusResponseDtoResponseAuthentication) SetFake()
- func (s *GetStatusResponseDtoResponseAuthentication) SetOAuth2(val GetStatusResponseDtoResponseAuthenticationOAuth2)
- func (s *GetStatusResponseDtoResponseAuthentication) SetPasskey(val NilPasswordSettings)
- func (s *GetStatusResponseDtoResponseAuthentication) SetPassword(val NilPasswordSettings)
- func (s *GetStatusResponseDtoResponseAuthentication) SetTgAuth(val GetStatusResponseDtoResponseAuthenticationTgAuth)
- func (s *GetStatusResponseDtoResponseAuthentication) UnmarshalJSON(data []byte) error
- func (s *GetStatusResponseDtoResponseAuthentication) Validate() error
- type GetStatusResponseDtoResponseAuthenticationOAuth2
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) Decode(d *jx.Decoder) error
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) Encode(e *jx.Encoder)
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) GetProviders() GetStatusResponseDtoResponseAuthenticationOAuth2Providers
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) MarshalJSON() ([]byte, error)
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) SetFake()
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) SetProviders(val GetStatusResponseDtoResponseAuthenticationOAuth2Providers)
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) UnmarshalJSON(data []byte) error
- type GetStatusResponseDtoResponseAuthenticationOAuth2Providers
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2Providers) Decode(d *jx.Decoder) error
- func (s GetStatusResponseDtoResponseAuthenticationOAuth2Providers) Encode(e *jx.Encoder)
- func (s GetStatusResponseDtoResponseAuthenticationOAuth2Providers) MarshalJSON() ([]byte, error)
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2Providers) SetFake()
- func (s *GetStatusResponseDtoResponseAuthenticationOAuth2Providers) UnmarshalJSON(data []byte) error
- type GetStatusResponseDtoResponseAuthenticationTgAuth
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) Decode(d *jx.Decoder) error
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) Encode(e *jx.Encoder)
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) GetBotId() NilFloat64
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) GetEnabled() bool
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) MarshalJSON() ([]byte, error)
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) SetBotId(val NilFloat64)
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) SetEnabled(val bool)
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) SetFake()
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) UnmarshalJSON(data []byte) error
- func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) Validate() error
- type GetStatusResponseDtoResponseBranding
- func (s *GetStatusResponseDtoResponseBranding) Decode(d *jx.Decoder) error
- func (s *GetStatusResponseDtoResponseBranding) Encode(e *jx.Encoder)
- func (s *GetStatusResponseDtoResponseBranding) GetLogoUrl() NilString
- func (s *GetStatusResponseDtoResponseBranding) GetTitle() NilString
- func (s *GetStatusResponseDtoResponseBranding) MarshalJSON() ([]byte, error)
- func (s *GetStatusResponseDtoResponseBranding) SetFake()
- func (s *GetStatusResponseDtoResponseBranding) SetLogoUrl(val NilString)
- func (s *GetStatusResponseDtoResponseBranding) SetTitle(val NilString)
- func (s *GetStatusResponseDtoResponseBranding) UnmarshalJSON(data []byte) error
- type GetStatusResponseDtoStatusCode
- func (s *GetStatusResponseDtoStatusCode) GetResponse() GetStatusResponseDto
- func (s *GetStatusResponseDtoStatusCode) GetStatusCode() int
- func (s *GetStatusResponseDtoStatusCode) SetResponse(val GetStatusResponseDto)
- func (s *GetStatusResponseDtoStatusCode) SetStatusCode(val int)
- func (s *GetStatusResponseDtoStatusCode) Validate() error
- type GetSubpageConfigByShortUuidRequestBodyDto
- func (s *GetSubpageConfigByShortUuidRequestBodyDto) Decode(d *jx.Decoder) error
- func (s *GetSubpageConfigByShortUuidRequestBodyDto) Encode(e *jx.Encoder)
- func (s *GetSubpageConfigByShortUuidRequestBodyDto) GetRequestHeaders() GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders
- func (s *GetSubpageConfigByShortUuidRequestBodyDto) MarshalJSON() ([]byte, error)
- func (s *GetSubpageConfigByShortUuidRequestBodyDto) SetFake()
- func (s *GetSubpageConfigByShortUuidRequestBodyDto) SetRequestHeaders(val GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders)
- func (s *GetSubpageConfigByShortUuidRequestBodyDto) UnmarshalJSON(data []byte) error
- type GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders
- func (s *GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) Decode(d *jx.Decoder) error
- func (s GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) Encode(e *jx.Encoder)
- func (s GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) MarshalJSON() ([]byte, error)
- func (s *GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) SetFake()
- func (s *GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) UnmarshalJSON(data []byte) error
- type GetSubpageConfigByShortUuidResponseDto
- func (s *GetSubpageConfigByShortUuidResponseDto) Decode(d *jx.Decoder) error
- func (s *GetSubpageConfigByShortUuidResponseDto) Encode(e *jx.Encoder)
- func (s *GetSubpageConfigByShortUuidResponseDto) GetResponse() GetSubpageConfigByShortUuidResponseDtoResponse
- func (s *GetSubpageConfigByShortUuidResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetSubpageConfigByShortUuidResponseDto) SetFake()
- func (s *GetSubpageConfigByShortUuidResponseDto) SetResponse(val GetSubpageConfigByShortUuidResponseDtoResponse)
- func (s *GetSubpageConfigByShortUuidResponseDto) UnmarshalJSON(data []byte) error
- type GetSubpageConfigByShortUuidResponseDtoResponse
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) GetSubpageConfigUuid() NilUUID
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) GetWebpageAllowed() bool
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) SetFake()
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) SetSubpageConfigUuid(val NilUUID)
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) SetWebpageAllowed(val bool)
- func (s *GetSubpageConfigByShortUuidResponseDtoResponse) UnmarshalJSON(data []byte) error
- type GetSubscriptionRequestHistoryResponseDto
- func (s *GetSubscriptionRequestHistoryResponseDto) Decode(d *jx.Decoder) error
- func (s *GetSubscriptionRequestHistoryResponseDto) Encode(e *jx.Encoder)
- func (s *GetSubscriptionRequestHistoryResponseDto) GetResponse() UserSubscriptionHistory
- func (s *GetSubscriptionRequestHistoryResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetSubscriptionRequestHistoryResponseDto) SetFake()
- func (s *GetSubscriptionRequestHistoryResponseDto) SetResponse(val UserSubscriptionHistory)
- func (s *GetSubscriptionRequestHistoryResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetSubscriptionRequestHistoryResponseDto) Validate() error
- type GetSubscriptionRequestHistoryStatsResponseDto
- func (s *GetSubscriptionRequestHistoryStatsResponseDto) Decode(d *jx.Decoder) error
- func (s *GetSubscriptionRequestHistoryStatsResponseDto) Encode(e *jx.Encoder)
- func (s *GetSubscriptionRequestHistoryStatsResponseDto) GetResponse() GetSubscriptionRequestHistoryStatsResponseDtoResponse
- func (s *GetSubscriptionRequestHistoryStatsResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetSubscriptionRequestHistoryStatsResponseDto) SetFake()
- func (s *GetSubscriptionRequestHistoryStatsResponseDto) SetResponse(val GetSubscriptionRequestHistoryStatsResponseDtoResponse)
- func (s *GetSubscriptionRequestHistoryStatsResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetSubscriptionRequestHistoryStatsResponseDto) Validate() error
- type GetSubscriptionRequestHistoryStatsResponseDtoResponse
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) GetByParsedApp() []ByAppItem
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) GetHourlyRequestStats() []GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetByParsedApp(val []ByAppItem)
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetFake()
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetHourlyRequestStats(...)
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) Validate() error
- type GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Decode(d *jx.Decoder) error
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Encode(e *jx.Encoder)
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) GetDateTime() time.Time
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) GetRequestCount() float64
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) MarshalJSON() ([]byte, error)
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetDateTime(val time.Time)
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetFake()
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetRequestCount(val float64)
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) UnmarshalJSON(data []byte) error
- func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Validate() error
- type GetTopUsersByHwidDevicesResponseDto
- func (s *GetTopUsersByHwidDevicesResponseDto) Decode(d *jx.Decoder) error
- func (s *GetTopUsersByHwidDevicesResponseDto) Encode(e *jx.Encoder)
- func (s *GetTopUsersByHwidDevicesResponseDto) GetResponse() GetTopUsersByHwidDevicesResponseDtoResponse
- func (s *GetTopUsersByHwidDevicesResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetTopUsersByHwidDevicesResponseDto) SetFake()
- func (s *GetTopUsersByHwidDevicesResponseDto) SetResponse(val GetTopUsersByHwidDevicesResponseDtoResponse)
- func (s *GetTopUsersByHwidDevicesResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetTopUsersByHwidDevicesResponseDto) Validate() error
- type GetTopUsersByHwidDevicesResponseDtoResponse
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) GetTotal() float64
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) GetUsers() []GetTopUsersByHwidDevicesResponseDtoResponseUsersItem
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) SetFake()
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) SetTotal(val float64)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) SetUsers(val []GetTopUsersByHwidDevicesResponseDtoResponseUsersItem)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetTopUsersByHwidDevicesResponseDtoResponse) Validate() error
- type GetTopUsersByHwidDevicesResponseDtoResponseUsersItem
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Decode(d *jx.Decoder) error
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Encode(e *jx.Encoder)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetDevicesCount() float64
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetID() float64
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetUserUuid() uuid.UUID
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetUsername() string
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) MarshalJSON() ([]byte, error)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetDevicesCount(val float64)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetFake()
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetID(val float64)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetUserUuid(val uuid.UUID)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetUsername(val string)
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) UnmarshalJSON(data []byte) error
- func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Validate() error
- type GetUserAccessibleNodesResponseDto
- func (s *GetUserAccessibleNodesResponseDto) Decode(d *jx.Decoder) error
- func (s *GetUserAccessibleNodesResponseDto) Encode(e *jx.Encoder)
- func (s *GetUserAccessibleNodesResponseDto) GetResponse() GetUserAccessibleNodesResponseDtoResponse
- func (s *GetUserAccessibleNodesResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetUserAccessibleNodesResponseDto) SetFake()
- func (s *GetUserAccessibleNodesResponseDto) SetResponse(val GetUserAccessibleNodesResponseDtoResponse)
- func (s *GetUserAccessibleNodesResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetUserAccessibleNodesResponseDto) Validate() error
- type GetUserAccessibleNodesResponseDtoResponse
- func (s *GetUserAccessibleNodesResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *GetUserAccessibleNodesResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *GetUserAccessibleNodesResponseDtoResponse) GetActiveNodes() []GetUserAccessibleNodesResponseDtoResponseActiveNodesItem
- func (s *GetUserAccessibleNodesResponseDtoResponse) GetUserUuid() uuid.UUID
- func (s *GetUserAccessibleNodesResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *GetUserAccessibleNodesResponseDtoResponse) SetActiveNodes(val []GetUserAccessibleNodesResponseDtoResponseActiveNodesItem)
- func (s *GetUserAccessibleNodesResponseDtoResponse) SetFake()
- func (s *GetUserAccessibleNodesResponseDtoResponse) SetUserUuid(val uuid.UUID)
- func (s *GetUserAccessibleNodesResponseDtoResponse) UnmarshalJSON(data []byte) error
- func (s *GetUserAccessibleNodesResponseDtoResponse) Validate() error
- type GetUserAccessibleNodesResponseDtoResponseActiveNodesItem
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Decode(d *jx.Decoder) error
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Encode(e *jx.Encoder)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetActiveSquads() []GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetConfigProfileName() string
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetConfigProfileUuid() uuid.UUID
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetCountryCode() string
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetNodeName() string
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetUUID() uuid.UUID
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) MarshalJSON() ([]byte, error)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetActiveSquads(val []GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetConfigProfileName(val string)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetConfigProfileUuid(val uuid.UUID)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetCountryCode(val string)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetFake()
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetNodeName(val string)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetUUID(val uuid.UUID)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) UnmarshalJSON(data []byte) error
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Validate() error
- type GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Decode(d *jx.Decoder) error
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Encode(e *jx.Encoder)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) GetActiveInbounds() []string
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) GetSquadName() string
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) MarshalJSON() ([]byte, error)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetActiveInbounds(val []string)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetFake()
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetSquadName(val string)
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) UnmarshalJSON(data []byte) error
- func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Validate() error
- type GetUserSubscriptionRequestHistoryResponseDto
- func (s *GetUserSubscriptionRequestHistoryResponseDto) Decode(d *jx.Decoder) error
- func (s *GetUserSubscriptionRequestHistoryResponseDto) Encode(e *jx.Encoder)
- func (s *GetUserSubscriptionRequestHistoryResponseDto) GetResponse() UserSubscriptionHistory
- func (s *GetUserSubscriptionRequestHistoryResponseDto) MarshalJSON() ([]byte, error)
- func (s *GetUserSubscriptionRequestHistoryResponseDto) SetFake()
- func (s *GetUserSubscriptionRequestHistoryResponseDto) SetResponse(val UserSubscriptionHistory)
- func (s *GetUserSubscriptionRequestHistoryResponseDto) UnmarshalJSON(data []byte) error
- func (s *GetUserSubscriptionRequestHistoryResponseDto) Validate() error
- type Github
- func (s *Github) Decode(d *jx.Decoder) error
- func (s *Github) Encode(e *jx.Encoder)
- func (s *Github) GetAllowedEmails() []string
- func (s *Github) GetClientId() NilString
- func (s *Github) GetClientSecret() NilString
- func (s *Github) GetEnabled() bool
- func (s *Github) MarshalJSON() ([]byte, error)
- func (s *Github) SetAllowedEmails(val []string)
- func (s *Github) SetClientId(val NilString)
- func (s *Github) SetClientSecret(val NilString)
- func (s *Github) SetEnabled(val bool)
- func (s *Github) SetFake()
- func (s *Github) UnmarshalJSON(data []byte) error
- func (s *Github) Validate() error
- type Header
- func (s *Header) Decode(d *jx.Decoder) error
- func (s *Header) Encode(e *jx.Encoder)
- func (s *Header) GetKey() string
- func (s *Header) GetValue() string
- func (s *Header) MarshalJSON() ([]byte, error)
- func (s *Header) SetFake()
- func (s *Header) SetKey(val string)
- func (s *Header) SetValue(val string)
- func (s *Header) UnmarshalJSON(data []byte) error
- func (s *Header) Validate() error
- type HostItem
- func (s *HostItem) Decode(d *jx.Decoder) error
- func (s *HostItem) Encode(e *jx.Encoder)
- func (s *HostItem) GetAddress() string
- func (s *HostItem) GetAllowInsecure() OptBool
- func (s *HostItem) GetAlpn() NilString
- func (s *HostItem) GetExcludedInternalSquads() []uuid.UUID
- func (s *HostItem) GetFingerprint() NilString
- func (s *HostItem) GetHost() NilString
- func (s *HostItem) GetInbound() InboundItem
- func (s *HostItem) GetIsDisabled() OptBool
- func (s *HostItem) GetIsHidden() OptBool
- func (s *HostItem) GetKeepSniBlank() OptBool
- func (s *HostItem) GetMihomoX25519() bool
- func (s *HostItem) GetMuxParams() jx.Raw
- func (s *HostItem) GetNodes() []uuid.UUID
- func (s *HostItem) GetOverrideSniFromAddress() OptBool
- func (s *HostItem) GetPath() NilString
- func (s *HostItem) GetPort() int
- func (s *HostItem) GetRemark() string
- func (s *HostItem) GetSecurityLayer() OptHostItemSecurityLayer
- func (s *HostItem) GetServerDescription() NilString
- func (s *HostItem) GetShuffleHost() bool
- func (s *HostItem) GetSni() NilString
- func (s *HostItem) GetSockoptParams() jx.Raw
- func (s *HostItem) GetTag() NilString
- func (s *HostItem) GetUUID() uuid.UUID
- func (s *HostItem) GetViewPosition() int
- func (s *HostItem) GetVlessRouteId() NilInt
- func (s *HostItem) GetXHttpExtraParams() jx.Raw
- func (s *HostItem) GetXrayJsonTemplateUuid() NilUUID
- func (s *HostItem) MarshalJSON() ([]byte, error)
- func (s *HostItem) SetAddress(val string)
- func (s *HostItem) SetAllowInsecure(val OptBool)
- func (s *HostItem) SetAlpn(val NilString)
- func (s *HostItem) SetExcludedInternalSquads(val []uuid.UUID)
- func (s *HostItem) SetFake()
- func (s *HostItem) SetFingerprint(val NilString)
- func (s *HostItem) SetHost(val NilString)
- func (s *HostItem) SetInbound(val InboundItem)
- func (s *HostItem) SetIsDisabled(val OptBool)
- func (s *HostItem) SetIsHidden(val OptBool)
- func (s *HostItem) SetKeepSniBlank(val OptBool)
- func (s *HostItem) SetMihomoX25519(val bool)
- func (s *HostItem) SetMuxParams(val jx.Raw)
- func (s *HostItem) SetNodes(val []uuid.UUID)
- func (s *HostItem) SetOverrideSniFromAddress(val OptBool)
- func (s *HostItem) SetPath(val NilString)
- func (s *HostItem) SetPort(val int)
- func (s *HostItem) SetRemark(val string)
- func (s *HostItem) SetSecurityLayer(val OptHostItemSecurityLayer)
- func (s *HostItem) SetServerDescription(val NilString)
- func (s *HostItem) SetShuffleHost(val bool)
- func (s *HostItem) SetSni(val NilString)
- func (s *HostItem) SetSockoptParams(val jx.Raw)
- func (s *HostItem) SetTag(val NilString)
- func (s *HostItem) SetUUID(val uuid.UUID)
- func (s *HostItem) SetViewPosition(val int)
- func (s *HostItem) SetVlessRouteId(val NilInt)
- func (s *HostItem) SetXHttpExtraParams(val jx.Raw)
- func (s *HostItem) SetXrayJsonTemplateUuid(val NilUUID)
- func (s *HostItem) UnmarshalJSON(data []byte) error
- func (s *HostItem) Validate() error
- type HostItemSecurityLayer
- func (HostItemSecurityLayer) AllValues() []HostItemSecurityLayer
- func (s *HostItemSecurityLayer) Decode(d *jx.Decoder) error
- func (s HostItemSecurityLayer) Encode(e *jx.Encoder)
- func (s HostItemSecurityLayer) MarshalJSON() ([]byte, error)
- func (s HostItemSecurityLayer) MarshalText() ([]byte, error)
- func (s *HostItemSecurityLayer) SetFake()
- func (s *HostItemSecurityLayer) UnmarshalJSON(data []byte) error
- func (s *HostItemSecurityLayer) UnmarshalText(data []byte) error
- func (s HostItemSecurityLayer) Validate() error
- type HostListResponse
- func (s *HostListResponse) Decode(d *jx.Decoder) error
- func (s *HostListResponse) Encode(e *jx.Encoder)
- func (s *HostListResponse) GetResponse() []HostItem
- func (s *HostListResponse) MarshalJSON() ([]byte, error)
- func (s *HostListResponse) SetFake()
- func (s *HostListResponse) SetResponse(val []HostItem)
- func (s *HostListResponse) UnmarshalJSON(data []byte) error
- func (s *HostListResponse) Validate() error
- type HostOverride
- func (s *HostOverride) Decode(d *jx.Decoder) error
- func (s *HostOverride) Encode(e *jx.Encoder)
- func (s *HostOverride) GetServerDescription() OptNilString
- func (s *HostOverride) GetVlessRouteId() OptNilInt
- func (s *HostOverride) MarshalJSON() ([]byte, error)
- func (s *HostOverride) SetFake()
- func (s *HostOverride) SetServerDescription(val OptNilString)
- func (s *HostOverride) SetVlessRouteId(val OptNilInt)
- func (s *HostOverride) UnmarshalJSON(data []byte) error
- func (s *HostOverride) Validate() error
- type HostResponse
- func (s *HostResponse) Decode(d *jx.Decoder) error
- func (s *HostResponse) Encode(e *jx.Encoder)
- func (s *HostResponse) GetResponse() HostItem
- func (s *HostResponse) MarshalJSON() ([]byte, error)
- func (s *HostResponse) SetFake()
- func (s *HostResponse) SetResponse(val HostItem)
- func (s *HostResponse) UnmarshalJSON(data []byte) error
- func (s *HostResponse) Validate() error
- type HostsBulkActionsClient
- func (sc *HostsBulkActionsClient) DeleteHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDeleteHostsRes, error)
- func (sc *HostsBulkActionsClient) DisableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDisableHostsRes, error)
- func (sc *HostsBulkActionsClient) EnableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerEnableHostsRes, error)
- func (sc *HostsBulkActionsClient) SetInboundToHosts(ctx context.Context, request *SetInboundToManyHostsRequestDto) (HostsBulkActionsControllerSetInboundToHostsRes, error)
- func (sc *HostsBulkActionsClient) SetPortToHosts(ctx context.Context, request *SetPortToManyHostsRequestDto) (HostsBulkActionsControllerSetPortToHostsRes, error)
- type HostsBulkActionsControllerDeleteHostsRes
- type HostsBulkActionsControllerDisableHostsRes
- type HostsBulkActionsControllerEnableHostsRes
- type HostsBulkActionsControllerSetInboundToHostsRes
- type HostsBulkActionsControllerSetPortToHostsRes
- type HostsClient
- func (sc *HostsClient) CreateHost(ctx context.Context, request *CreateHostRequestDto) (HostsControllerCreateHostRes, error)
- func (sc *HostsClient) DeleteHost(ctx context.Context, uuid string) (HostsControllerDeleteHostRes, error)
- func (sc *HostsClient) GetAllHostTags(ctx context.Context) (HostsControllerGetAllHostTagsRes, error)
- func (sc *HostsClient) GetAllHosts(ctx context.Context) (HostsControllerGetAllHostsRes, error)
- func (sc *HostsClient) GetOneHost(ctx context.Context, uuid string) (HostsControllerGetOneHostRes, error)
- func (sc *HostsClient) ReorderHosts(ctx context.Context, request *ReorderHostRequestDto) (HostsControllerReorderHostsRes, error)
- func (sc *HostsClient) UpdateHost(ctx context.Context, request *UpdateHostRequestDto) (HostsControllerUpdateHostRes, error)
- type HostsControllerCreateHostRes
- type HostsControllerDeleteHostParams
- type HostsControllerDeleteHostRes
- type HostsControllerGetAllHostTagsRes
- type HostsControllerGetAllHostsRes
- type HostsControllerGetOneHostParams
- type HostsControllerGetOneHostRes
- type HostsControllerReorderHostsRes
- type HostsControllerUpdateHostRes
- type HwidDevicesResponse
- func (s *HwidDevicesResponse) Decode(d *jx.Decoder) error
- func (s *HwidDevicesResponse) Encode(e *jx.Encoder)
- func (s *HwidDevicesResponse) GetResponse() AllHwidDevices
- func (s *HwidDevicesResponse) MarshalJSON() ([]byte, error)
- func (s *HwidDevicesResponse) SetFake()
- func (s *HwidDevicesResponse) SetResponse(val AllHwidDevices)
- func (s *HwidDevicesResponse) UnmarshalJSON(data []byte) error
- func (s *HwidDevicesResponse) Validate() error
- type HwidSettings
- func (s *HwidSettings) Decode(d *jx.Decoder) error
- func (s *HwidSettings) Encode(e *jx.Encoder)
- func (s *HwidSettings) GetEnabled() bool
- func (s *HwidSettings) GetFallbackDeviceLimit() float64
- func (s *HwidSettings) GetMaxDevicesAnnounce() NilString
- func (s *HwidSettings) MarshalJSON() ([]byte, error)
- func (s *HwidSettings) SetEnabled(val bool)
- func (s *HwidSettings) SetFake()
- func (s *HwidSettings) SetFallbackDeviceLimit(val float64)
- func (s *HwidSettings) SetMaxDevicesAnnounce(val NilString)
- func (s *HwidSettings) UnmarshalJSON(data []byte) error
- func (s *HwidSettings) Validate() error
- type HwidUserDevicesClient
- func (sc *HwidUserDevicesClient) CreateUserHwidDevice(ctx context.Context, request *CreateUserHwidDeviceRequestDto) (HwidUserDevicesControllerCreateUserHwidDeviceRes, error)
- func (sc *HwidUserDevicesClient) DeleteAllUserHwidDevices(ctx context.Context, request *DeleteAllUserHwidDevicesRequestDto) (HwidUserDevicesControllerDeleteAllUserHwidDevicesRes, error)
- func (sc *HwidUserDevicesClient) DeleteUserHwidDevice(ctx context.Context, request *DeleteUserHwidDeviceRequestDto) (HwidUserDevicesControllerDeleteUserHwidDeviceRes, error)
- func (sc *HwidUserDevicesClient) GetAllUsers(ctx context.Context, size float64, start float64) (HwidUserDevicesControllerGetAllUsersRes, error)
- func (sc *HwidUserDevicesClient) GetHwidDevicesStats(ctx context.Context) (HwidUserDevicesControllerGetHwidDevicesStatsRes, error)
- func (sc *HwidUserDevicesClient) GetTopUsersByHwidDevices(ctx context.Context, size float64, start float64) (HwidUserDevicesControllerGetTopUsersByHwidDevicesRes, error)
- func (sc *HwidUserDevicesClient) GetUserHwidDevices(ctx context.Context, useruuid string) (HwidUserDevicesControllerGetUserHwidDevicesRes, error)
- type HwidUserDevicesControllerCreateUserHwidDeviceRes
- type HwidUserDevicesControllerDeleteAllUserHwidDevicesRes
- type HwidUserDevicesControllerDeleteUserHwidDeviceRes
- type HwidUserDevicesControllerGetAllUsersParams
- type HwidUserDevicesControllerGetAllUsersRes
- type HwidUserDevicesControllerGetHwidDevicesStatsRes
- type HwidUserDevicesControllerGetTopUsersByHwidDevicesParams
- type HwidUserDevicesControllerGetTopUsersByHwidDevicesRes
- type HwidUserDevicesControllerGetUserHwidDevicesParams
- type HwidUserDevicesControllerGetUserHwidDevicesRes
- type Inbound
- func (s *Inbound) Decode(d *jx.Decoder) error
- func (s *Inbound) Encode(e *jx.Encoder)
- func (s *Inbound) GetNetwork() NilString
- func (s *Inbound) GetPort() NilFloat64
- func (s *Inbound) GetProfileUuid() uuid.UUID
- func (s *Inbound) GetRawInbound() jx.Raw
- func (s *Inbound) GetSecurity() NilString
- func (s *Inbound) GetTag() string
- func (s *Inbound) GetType() string
- func (s *Inbound) GetUUID() uuid.UUID
- func (s *Inbound) MarshalJSON() ([]byte, error)
- func (s *Inbound) SetFake()
- func (s *Inbound) SetNetwork(val NilString)
- func (s *Inbound) SetPort(val NilFloat64)
- func (s *Inbound) SetProfileUuid(val uuid.UUID)
- func (s *Inbound) SetRawInbound(val jx.Raw)
- func (s *Inbound) SetSecurity(val NilString)
- func (s *Inbound) SetTag(val string)
- func (s *Inbound) SetType(val string)
- func (s *Inbound) SetUUID(val uuid.UUID)
- func (s *Inbound) UnmarshalJSON(data []byte) error
- func (s *Inbound) Validate() error
- type InboundItem
- func (s *InboundItem) Decode(d *jx.Decoder) error
- func (s *InboundItem) Encode(e *jx.Encoder)
- func (s *InboundItem) GetConfigProfileInboundUuid() NilUUID
- func (s *InboundItem) GetConfigProfileUuid() NilUUID
- func (s *InboundItem) MarshalJSON() ([]byte, error)
- func (s *InboundItem) SetConfigProfileInboundUuid(val NilUUID)
- func (s *InboundItem) SetConfigProfileUuid(val NilUUID)
- func (s *InboundItem) SetFake()
- func (s *InboundItem) UnmarshalJSON(data []byte) error
- type InboundRef
- func (s *InboundRef) Decode(d *jx.Decoder) error
- func (s *InboundRef) Encode(e *jx.Encoder)
- func (s *InboundRef) GetConfigProfileInboundUuid() uuid.UUID
- func (s *InboundRef) GetConfigProfileUuid() uuid.UUID
- func (s *InboundRef) MarshalJSON() ([]byte, error)
- func (s *InboundRef) SetConfigProfileInboundUuid(val uuid.UUID)
- func (s *InboundRef) SetConfigProfileUuid(val uuid.UUID)
- func (s *InboundRef) SetFake()
- func (s *InboundRef) UnmarshalJSON(data []byte) error
- type InboundsResponse
- func (s *InboundsResponse) Decode(d *jx.Decoder) error
- func (s *InboundsResponse) Encode(e *jx.Encoder)
- func (s *InboundsResponse) GetResponse() InboundsResponseResponse
- func (s *InboundsResponse) MarshalJSON() ([]byte, error)
- func (s *InboundsResponse) SetFake()
- func (s *InboundsResponse) SetResponse(val InboundsResponseResponse)
- func (s *InboundsResponse) UnmarshalJSON(data []byte) error
- func (s *InboundsResponse) Validate() error
- type InboundsResponseResponse
- func (s *InboundsResponseResponse) Decode(d *jx.Decoder) error
- func (s *InboundsResponseResponse) Encode(e *jx.Encoder)
- func (s *InboundsResponseResponse) GetInbounds() []InboundsResponseResponseInboundsItem
- func (s *InboundsResponseResponse) GetTotal() float64
- func (s *InboundsResponseResponse) MarshalJSON() ([]byte, error)
- func (s *InboundsResponseResponse) SetFake()
- func (s *InboundsResponseResponse) SetInbounds(val []InboundsResponseResponseInboundsItem)
- func (s *InboundsResponseResponse) SetTotal(val float64)
- func (s *InboundsResponseResponse) UnmarshalJSON(data []byte) error
- func (s *InboundsResponseResponse) Validate() error
- type InboundsResponseResponseInboundsItem
- func (s *InboundsResponseResponseInboundsItem) Decode(d *jx.Decoder) error
- func (s *InboundsResponseResponseInboundsItem) Encode(e *jx.Encoder)
- func (s *InboundsResponseResponseInboundsItem) GetActiveSquads() []uuid.UUID
- func (s *InboundsResponseResponseInboundsItem) GetNetwork() NilString
- func (s *InboundsResponseResponseInboundsItem) GetPort() NilFloat64
- func (s *InboundsResponseResponseInboundsItem) GetProfileUuid() uuid.UUID
- func (s *InboundsResponseResponseInboundsItem) GetRawInbound() jx.Raw
- func (s *InboundsResponseResponseInboundsItem) GetSecurity() NilString
- func (s *InboundsResponseResponseInboundsItem) GetTag() string
- func (s *InboundsResponseResponseInboundsItem) GetType() string
- func (s *InboundsResponseResponseInboundsItem) GetUUID() uuid.UUID
- func (s *InboundsResponseResponseInboundsItem) MarshalJSON() ([]byte, error)
- func (s *InboundsResponseResponseInboundsItem) SetActiveSquads(val []uuid.UUID)
- func (s *InboundsResponseResponseInboundsItem) SetFake()
- func (s *InboundsResponseResponseInboundsItem) SetNetwork(val NilString)
- func (s *InboundsResponseResponseInboundsItem) SetPort(val NilFloat64)
- func (s *InboundsResponseResponseInboundsItem) SetProfileUuid(val uuid.UUID)
- func (s *InboundsResponseResponseInboundsItem) SetRawInbound(val jx.Raw)
- func (s *InboundsResponseResponseInboundsItem) SetSecurity(val NilString)
- func (s *InboundsResponseResponseInboundsItem) SetTag(val string)
- func (s *InboundsResponseResponseInboundsItem) SetType(val string)
- func (s *InboundsResponseResponseInboundsItem) SetUUID(val uuid.UUID)
- func (s *InboundsResponseResponseInboundsItem) UnmarshalJSON(data []byte) error
- func (s *InboundsResponseResponseInboundsItem) Validate() error
- type InboundsStat
- func (s *InboundsStat) Decode(d *jx.Decoder) error
- func (s *InboundsStat) Encode(e *jx.Encoder)
- func (s *InboundsStat) GetDownload() string
- func (s *InboundsStat) GetTag() string
- func (s *InboundsStat) GetUpload() string
- func (s *InboundsStat) MarshalJSON() ([]byte, error)
- func (s *InboundsStat) SetDownload(val string)
- func (s *InboundsStat) SetFake()
- func (s *InboundsStat) SetTag(val string)
- func (s *InboundsStat) SetUpload(val string)
- func (s *InboundsStat) UnmarshalJSON(data []byte) error
- type InfraBillingClient
- func (sc *InfraBillingClient) CreateInfraBillingHistoryRecord(ctx context.Context, request *CreateInfraBillingHistoryRecordRequestDto) (InfraBillingControllerCreateInfraBillingHistoryRecordRes, error)
- func (sc *InfraBillingClient) CreateInfraBillingNode(ctx context.Context, request *CreateInfraBillingNodeRequestDto) (InfraBillingControllerCreateInfraBillingNodeRes, error)
- func (sc *InfraBillingClient) CreateInfraProvider(ctx context.Context, request *CreateInfraProviderRequestDto) (InfraBillingControllerCreateInfraProviderRes, error)
- func (sc *InfraBillingClient) DeleteInfraBillingHistoryRecordByUuid(ctx context.Context, uuid string) (InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidRes, error)
- func (sc *InfraBillingClient) DeleteInfraBillingNodeByUuid(ctx context.Context, uuid string) (InfraBillingControllerDeleteInfraBillingNodeByUuidRes, error)
- func (sc *InfraBillingClient) DeleteInfraProviderByUuid(ctx context.Context, uuid string) (InfraBillingControllerDeleteInfraProviderByUuidRes, error)
- func (sc *InfraBillingClient) GetBillingNodes(ctx context.Context) (InfraBillingControllerGetBillingNodesRes, error)
- func (sc *InfraBillingClient) GetInfraBillingHistoryRecords(ctx context.Context) (InfraBillingControllerGetInfraBillingHistoryRecordsRes, error)
- func (sc *InfraBillingClient) GetInfraProviderByUuid(ctx context.Context, uuid string) (InfraBillingControllerGetInfraProviderByUuidRes, error)
- func (sc *InfraBillingClient) GetInfraProviders(ctx context.Context) (InfraBillingControllerGetInfraProvidersRes, error)
- func (sc *InfraBillingClient) UpdateInfraBillingNode(ctx context.Context, request *UpdateInfraBillingNodeRequestDto) (InfraBillingControllerUpdateInfraBillingNodeRes, error)
- func (sc *InfraBillingClient) UpdateInfraProvider(ctx context.Context, request *UpdateInfraProviderRequestDto) (InfraBillingControllerUpdateInfraProviderRes, error)
- type InfraBillingControllerCreateInfraBillingHistoryRecordRes
- type InfraBillingControllerCreateInfraBillingNodeRes
- type InfraBillingControllerCreateInfraProviderRes
- type InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidParams
- type InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidRes
- type InfraBillingControllerDeleteInfraBillingNodeByUuidParams
- type InfraBillingControllerDeleteInfraBillingNodeByUuidRes
- type InfraBillingControllerDeleteInfraProviderByUuidParams
- type InfraBillingControllerDeleteInfraProviderByUuidRes
- type InfraBillingControllerGetBillingNodesRes
- type InfraBillingControllerGetInfraBillingHistoryRecordsRes
- type InfraBillingControllerGetInfraProviderByUuidParams
- type InfraBillingControllerGetInfraProviderByUuidRes
- type InfraBillingControllerGetInfraProvidersRes
- type InfraBillingControllerUpdateInfraBillingNodeRes
- type InfraBillingControllerUpdateInfraProviderRes
- type InfraProviderResponseResponse
- func (s *InfraProviderResponseResponse) Decode(d *jx.Decoder) error
- func (s *InfraProviderResponseResponse) Encode(e *jx.Encoder)
- func (s *InfraProviderResponseResponse) GetResponse() Provider
- func (s *InfraProviderResponseResponse) MarshalJSON() ([]byte, error)
- func (s *InfraProviderResponseResponse) SetFake()
- func (s *InfraProviderResponseResponse) SetResponse(val Provider)
- func (s *InfraProviderResponseResponse) UnmarshalJSON(data []byte) error
- func (s *InfraProviderResponseResponse) Validate() error
- type InternalServerError
- func (s *InternalServerError) Decode(d *jx.Decoder) error
- func (s *InternalServerError) Encode(e *jx.Encoder)
- func (s *InternalServerError) GetErrorCode() OptString
- func (s *InternalServerError) GetMessage() OptString
- func (s *InternalServerError) GetPath() OptString
- func (s *InternalServerError) GetTimestamp() OptString
- func (s *InternalServerError) MarshalJSON() ([]byte, error)
- func (s *InternalServerError) SetErrorCode(val OptString)
- func (s *InternalServerError) SetFake()
- func (s *InternalServerError) SetMessage(val OptString)
- func (s *InternalServerError) SetPath(val OptString)
- func (s *InternalServerError) SetTimestamp(val OptString)
- func (s *InternalServerError) UnmarshalJSON(data []byte) error
- type InternalSquad
- func (s *InternalSquad) Decode(d *jx.Decoder) error
- func (s *InternalSquad) Encode(e *jx.Encoder)
- func (s *InternalSquad) GetCreatedAt() time.Time
- func (s *InternalSquad) GetInbounds() []Inbound
- func (s *InternalSquad) GetInfo() InternalSquadsResponInfoItem
- func (s *InternalSquad) GetName() string
- func (s *InternalSquad) GetUUID() uuid.UUID
- func (s *InternalSquad) GetUpdatedAt() time.Time
- func (s *InternalSquad) GetViewPosition() int
- func (s *InternalSquad) MarshalJSON() ([]byte, error)
- func (s *InternalSquad) SetCreatedAt(val time.Time)
- func (s *InternalSquad) SetFake()
- func (s *InternalSquad) SetInbounds(val []Inbound)
- func (s *InternalSquad) SetInfo(val InternalSquadsResponInfoItem)
- func (s *InternalSquad) SetName(val string)
- func (s *InternalSquad) SetUUID(val uuid.UUID)
- func (s *InternalSquad) SetUpdatedAt(val time.Time)
- func (s *InternalSquad) SetViewPosition(val int)
- func (s *InternalSquad) UnmarshalJSON(data []byte) error
- func (s *InternalSquad) Validate() error
- type InternalSquadClient
- func (sc *InternalSquadClient) AddUsersToInternalSquad(ctx context.Context, uuid string) (InternalSquadControllerAddUsersToInternalSquadRes, error)
- func (sc *InternalSquadClient) CreateInternalSquad(ctx context.Context, request *CreateInternalSquadRequestDto) (InternalSquadControllerCreateInternalSquadRes, error)
- func (sc *InternalSquadClient) DeleteInternalSquad(ctx context.Context, uuid string) (InternalSquadControllerDeleteInternalSquadRes, error)
- func (sc *InternalSquadClient) GetInternalSquadAccessibleNodes(ctx context.Context, uuid string) (InternalSquadControllerGetInternalSquadAccessibleNodesRes, error)
- func (sc *InternalSquadClient) GetInternalSquadByUuid(ctx context.Context, uuid string) (InternalSquadControllerGetInternalSquadByUuidRes, error)
- func (sc *InternalSquadClient) GetInternalSquads(ctx context.Context) (InternalSquadControllerGetInternalSquadsRes, error)
- func (sc *InternalSquadClient) RemoveUsersFromInternalSquad(ctx context.Context, uuid string) (InternalSquadControllerRemoveUsersFromInternalSquadRes, error)
- func (sc *InternalSquadClient) ReorderInternalSquads(ctx context.Context, request *ReorderRequest) (InternalSquadControllerReorderInternalSquadsRes, error)
- func (sc *InternalSquadClient) UpdateInternalSquad(ctx context.Context, request *UpdateInternalSquadRequestDto) (InternalSquadControllerUpdateInternalSquadRes, error)
- type InternalSquadControllerAddUsersToInternalSquadParams
- type InternalSquadControllerAddUsersToInternalSquadRes
- type InternalSquadControllerCreateInternalSquadConflict
- type InternalSquadControllerCreateInternalSquadRes
- type InternalSquadControllerDeleteInternalSquadParams
- type InternalSquadControllerDeleteInternalSquadRes
- type InternalSquadControllerGetInternalSquadAccessibleNodesParams
- type InternalSquadControllerGetInternalSquadAccessibleNodesRes
- type InternalSquadControllerGetInternalSquadByUuidParams
- type InternalSquadControllerGetInternalSquadByUuidRes
- type InternalSquadControllerGetInternalSquadsRes
- type InternalSquadControllerRemoveUsersFromInternalSquadParams
- type InternalSquadControllerRemoveUsersFromInternalSquadRes
- type InternalSquadControllerReorderInternalSquadsRes
- type InternalSquadControllerUpdateInternalSquadConflict
- type InternalSquadControllerUpdateInternalSquadRes
- type InternalSquadResponseResponse
- func (s *InternalSquadResponseResponse) Decode(d *jx.Decoder) error
- func (s *InternalSquadResponseResponse) Encode(e *jx.Encoder)
- func (s *InternalSquadResponseResponse) GetResponse() InternalSquad
- func (s *InternalSquadResponseResponse) MarshalJSON() ([]byte, error)
- func (s *InternalSquadResponseResponse) SetFake()
- func (s *InternalSquadResponseResponse) SetResponse(val InternalSquad)
- func (s *InternalSquadResponseResponse) UnmarshalJSON(data []byte) error
- func (s *InternalSquadResponseResponse) Validate() error
- type InternalSquadsResponInfoItem
- func (s *InternalSquadsResponInfoItem) Decode(d *jx.Decoder) error
- func (s *InternalSquadsResponInfoItem) Encode(e *jx.Encoder)
- func (s *InternalSquadsResponInfoItem) GetInboundsCount() float64
- func (s *InternalSquadsResponInfoItem) GetMembersCount() float64
- func (s *InternalSquadsResponInfoItem) MarshalJSON() ([]byte, error)
- func (s *InternalSquadsResponInfoItem) SetFake()
- func (s *InternalSquadsResponInfoItem) SetInboundsCount(val float64)
- func (s *InternalSquadsResponInfoItem) SetMembersCount(val float64)
- func (s *InternalSquadsResponInfoItem) UnmarshalJSON(data []byte) error
- func (s *InternalSquadsResponInfoItem) Validate() error
- type InternalSquadsResponse
- func (s *InternalSquadsResponse) Decode(d *jx.Decoder) error
- func (s *InternalSquadsResponse) Encode(e *jx.Encoder)
- func (s *InternalSquadsResponse) GetResponse() InternalSquadsResponseResponse
- func (s *InternalSquadsResponse) MarshalJSON() ([]byte, error)
- func (s *InternalSquadsResponse) SetFake()
- func (s *InternalSquadsResponse) SetResponse(val InternalSquadsResponseResponse)
- func (s *InternalSquadsResponse) UnmarshalJSON(data []byte) error
- func (s *InternalSquadsResponse) Validate() error
- type InternalSquadsResponseResponse
- func (s *InternalSquadsResponseResponse) Decode(d *jx.Decoder) error
- func (s *InternalSquadsResponseResponse) Encode(e *jx.Encoder)
- func (s *InternalSquadsResponseResponse) GetInternalSquads() []InternalSquad
- func (s *InternalSquadsResponseResponse) GetTotal() float64
- func (s *InternalSquadsResponseResponse) MarshalJSON() ([]byte, error)
- func (s *InternalSquadsResponseResponse) SetFake()
- func (s *InternalSquadsResponseResponse) SetInternalSquads(val []InternalSquad)
- func (s *InternalSquadsResponseResponse) SetTotal(val float64)
- func (s *InternalSquadsResponseResponse) UnmarshalJSON(data []byte) error
- func (s *InternalSquadsResponseResponse) Validate() error
- type Invoker
- type KeygenClient
- type KeygenControllerGenerateKeyRes
- type LoginRequestDto
- func (s *LoginRequestDto) Decode(d *jx.Decoder) error
- func (s *LoginRequestDto) Encode(e *jx.Encoder)
- func (s *LoginRequestDto) GetPassword() string
- func (s *LoginRequestDto) GetUsername() string
- func (s *LoginRequestDto) MarshalJSON() ([]byte, error)
- func (s *LoginRequestDto) SetFake()
- func (s *LoginRequestDto) SetPassword(val string)
- func (s *LoginRequestDto) SetUsername(val string)
- func (s *LoginRequestDto) UnmarshalJSON(data []byte) error
- type NilBrandingSettings
- func (o *NilBrandingSettings) Decode(d *jx.Decoder) error
- func (o NilBrandingSettings) Encode(e *jx.Encoder)
- func (o NilBrandingSettings) Get() (v BrandingSettings, ok bool)
- func (o NilBrandingSettings) IsNull() bool
- func (s NilBrandingSettings) MarshalJSON() ([]byte, error)
- func (o NilBrandingSettings) Or(d BrandingSettings) BrandingSettings
- func (s *NilBrandingSettings) SetFake()
- func (o *NilBrandingSettings) SetTo(v BrandingSettings)
- func (o *NilBrandingSettings) SetToNull()
- func (s *NilBrandingSettings) UnmarshalJSON(data []byte) error
- type NilCustomRemark
- func (o *NilCustomRemark) Decode(d *jx.Decoder) error
- func (o NilCustomRemark) Encode(e *jx.Encoder)
- func (o NilCustomRemark) Get() (v CustomRemark, ok bool)
- func (o NilCustomRemark) IsNull() bool
- func (s NilCustomRemark) MarshalJSON() ([]byte, error)
- func (o NilCustomRemark) Or(d CustomRemark) CustomRemark
- func (s *NilCustomRemark) SetFake()
- func (o *NilCustomRemark) SetTo(v CustomRemark)
- func (o *NilCustomRemark) SetToNull()
- func (s *NilCustomRemark) UnmarshalJSON(data []byte) error
- type NilDateTime
- func (o *NilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o NilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o NilDateTime) Get() (v time.Time, ok bool)
- func (o NilDateTime) IsNull() bool
- func (s NilDateTime) MarshalJSON() ([]byte, error)
- func (o NilDateTime) Or(d time.Time) time.Time
- func (s *NilDateTime) SetFake()
- func (o *NilDateTime) SetTo(v time.Time)
- func (o *NilDateTime) SetToNull()
- func (s *NilDateTime) UnmarshalJSON(data []byte) error
- type NilExternalSquadResponseHeaders
- func (o *NilExternalSquadResponseHeaders) Decode(d *jx.Decoder) error
- func (o NilExternalSquadResponseHeaders) Encode(e *jx.Encoder)
- func (o NilExternalSquadResponseHeaders) Get() (v ExternalSquadResponseHeaders, ok bool)
- func (o NilExternalSquadResponseHeaders) IsNull() bool
- func (s NilExternalSquadResponseHeaders) MarshalJSON() ([]byte, error)
- func (o NilExternalSquadResponseHeaders) Or(d ExternalSquadResponseHeaders) ExternalSquadResponseHeaders
- func (s *NilExternalSquadResponseHeaders) SetFake()
- func (o *NilExternalSquadResponseHeaders) SetTo(v ExternalSquadResponseHeaders)
- func (o *NilExternalSquadResponseHeaders) SetToNull()
- func (s *NilExternalSquadResponseHeaders) UnmarshalJSON(data []byte) error
- type NilFloat64
- func (o *NilFloat64) Decode(d *jx.Decoder) error
- func (o NilFloat64) Encode(e *jx.Encoder)
- func (o NilFloat64) Get() (v float64, ok bool)
- func (o NilFloat64) IsNull() bool
- func (s NilFloat64) MarshalJSON() ([]byte, error)
- func (o NilFloat64) Or(d float64) float64
- func (s *NilFloat64) SetFake()
- func (o *NilFloat64) SetTo(v float64)
- func (o *NilFloat64) SetToNull()
- func (s *NilFloat64) UnmarshalJSON(data []byte) error
- type NilGetStatusResponseDtoResponseAuthentication
- func (o *NilGetStatusResponseDtoResponseAuthentication) Decode(d *jx.Decoder) error
- func (o NilGetStatusResponseDtoResponseAuthentication) Encode(e *jx.Encoder)
- func (o NilGetStatusResponseDtoResponseAuthentication) Get() (v GetStatusResponseDtoResponseAuthentication, ok bool)
- func (o NilGetStatusResponseDtoResponseAuthentication) IsNull() bool
- func (s NilGetStatusResponseDtoResponseAuthentication) MarshalJSON() ([]byte, error)
- func (o NilGetStatusResponseDtoResponseAuthentication) Or(d GetStatusResponseDtoResponseAuthentication) GetStatusResponseDtoResponseAuthentication
- func (s *NilGetStatusResponseDtoResponseAuthentication) SetFake()
- func (o *NilGetStatusResponseDtoResponseAuthentication) SetTo(v GetStatusResponseDtoResponseAuthentication)
- func (o *NilGetStatusResponseDtoResponseAuthentication) SetToNull()
- func (s *NilGetStatusResponseDtoResponseAuthentication) UnmarshalJSON(data []byte) error
- type NilHostOverride
- func (o *NilHostOverride) Decode(d *jx.Decoder) error
- func (o NilHostOverride) Encode(e *jx.Encoder)
- func (o NilHostOverride) Get() (v HostOverride, ok bool)
- func (o NilHostOverride) IsNull() bool
- func (s NilHostOverride) MarshalJSON() ([]byte, error)
- func (o NilHostOverride) Or(d HostOverride) HostOverride
- func (s *NilHostOverride) SetFake()
- func (o *NilHostOverride) SetTo(v HostOverride)
- func (o *NilHostOverride) SetToNull()
- func (s *NilHostOverride) UnmarshalJSON(data []byte) error
- type NilHwidSettings
- func (o *NilHwidSettings) Decode(d *jx.Decoder) error
- func (o NilHwidSettings) Encode(e *jx.Encoder)
- func (o NilHwidSettings) Get() (v HwidSettings, ok bool)
- func (o NilHwidSettings) IsNull() bool
- func (s NilHwidSettings) MarshalJSON() ([]byte, error)
- func (o NilHwidSettings) Or(d HwidSettings) HwidSettings
- func (s *NilHwidSettings) SetFake()
- func (o *NilHwidSettings) SetTo(v HwidSettings)
- func (o *NilHwidSettings) SetToNull()
- func (s *NilHwidSettings) UnmarshalJSON(data []byte) error
- type NilInt
- func (o *NilInt) Decode(d *jx.Decoder) error
- func (o NilInt) Encode(e *jx.Encoder)
- func (o NilInt) Get() (v int, ok bool)
- func (o NilInt) IsNull() bool
- func (s NilInt) MarshalJSON() ([]byte, error)
- func (o NilInt) Or(d int) int
- func (s *NilInt) SetFake()
- func (o *NilInt) SetTo(v int)
- func (o *NilInt) SetToNull()
- func (s *NilInt) UnmarshalJSON(data []byte) error
- type NilOauth2Settings
- func (o *NilOauth2Settings) Decode(d *jx.Decoder) error
- func (o NilOauth2Settings) Encode(e *jx.Encoder)
- func (o NilOauth2Settings) Get() (v Oauth2Settings, ok bool)
- func (o NilOauth2Settings) IsNull() bool
- func (s NilOauth2Settings) MarshalJSON() ([]byte, error)
- func (o NilOauth2Settings) Or(d Oauth2Settings) Oauth2Settings
- func (s *NilOauth2Settings) SetFake()
- func (o *NilOauth2Settings) SetTo(v Oauth2Settings)
- func (o *NilOauth2Settings) SetToNull()
- func (s *NilOauth2Settings) UnmarshalJSON(data []byte) error
- type NilPasskeySettings
- func (o *NilPasskeySettings) Decode(d *jx.Decoder) error
- func (o NilPasskeySettings) Encode(e *jx.Encoder)
- func (o NilPasskeySettings) Get() (v PasskeySettings, ok bool)
- func (o NilPasskeySettings) IsNull() bool
- func (s NilPasskeySettings) MarshalJSON() ([]byte, error)
- func (o NilPasskeySettings) Or(d PasskeySettings) PasskeySettings
- func (s *NilPasskeySettings) SetFake()
- func (o *NilPasskeySettings) SetTo(v PasskeySettings)
- func (o *NilPasskeySettings) SetToNull()
- func (s *NilPasskeySettings) UnmarshalJSON(data []byte) error
- type NilPasswordSettings
- func (o *NilPasswordSettings) Decode(d *jx.Decoder) error
- func (o NilPasswordSettings) Encode(e *jx.Encoder)
- func (o NilPasswordSettings) Get() (v PasswordSettings, ok bool)
- func (o NilPasswordSettings) IsNull() bool
- func (s NilPasswordSettings) MarshalJSON() ([]byte, error)
- func (o NilPasswordSettings) Or(d PasswordSettings) PasswordSettings
- func (s *NilPasswordSettings) SetFake()
- func (o *NilPasswordSettings) SetTo(v PasswordSettings)
- func (o *NilPasswordSettings) SetToNull()
- func (s *NilPasswordSettings) UnmarshalJSON(data []byte) error
- type NilProviderItem
- func (o *NilProviderItem) Decode(d *jx.Decoder) error
- func (o NilProviderItem) Encode(e *jx.Encoder)
- func (o NilProviderItem) Get() (v ProviderItem, ok bool)
- func (o NilProviderItem) IsNull() bool
- func (s NilProviderItem) MarshalJSON() ([]byte, error)
- func (o NilProviderItem) Or(d ProviderItem) ProviderItem
- func (s *NilProviderItem) SetFake()
- func (o *NilProviderItem) SetTo(v ProviderItem)
- func (o *NilProviderItem) SetToNull()
- func (s *NilProviderItem) UnmarshalJSON(data []byte) error
- type NilString
- func (o *NilString) Decode(d *jx.Decoder) error
- func (o NilString) Encode(e *jx.Encoder)
- func (o NilString) Get() (v string, ok bool)
- func (o NilString) IsNull() bool
- func (s NilString) MarshalJSON() ([]byte, error)
- func (o NilString) Or(d string) string
- func (s *NilString) SetFake()
- func (o *NilString) SetTo(v string)
- func (o *NilString) SetToNull()
- func (s *NilString) UnmarshalJSON(data []byte) error
- type NilSubscriptionSettings
- func (o *NilSubscriptionSettings) Decode(d *jx.Decoder) error
- func (o NilSubscriptionSettings) Encode(e *jx.Encoder)
- func (o NilSubscriptionSettings) Get() (v SubscriptionSettings, ok bool)
- func (o NilSubscriptionSettings) IsNull() bool
- func (s NilSubscriptionSettings) MarshalJSON() ([]byte, error)
- func (o NilSubscriptionSettings) Or(d SubscriptionSettings) SubscriptionSettings
- func (s *NilSubscriptionSettings) SetFake()
- func (o *NilSubscriptionSettings) SetTo(v SubscriptionSettings)
- func (o *NilSubscriptionSettings) SetToNull()
- func (s *NilSubscriptionSettings) UnmarshalJSON(data []byte) error
- type NilSubscriptionSettingsResponseResponseCustomResponseHeaders
- func (o *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Decode(d *jx.Decoder) error
- func (o NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Encode(e *jx.Encoder)
- func (o NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Get() (v SubscriptionSettingsResponseResponseCustomResponseHeaders, ok bool)
- func (o NilSubscriptionSettingsResponseResponseCustomResponseHeaders) IsNull() bool
- func (s NilSubscriptionSettingsResponseResponseCustomResponseHeaders) MarshalJSON() ([]byte, error)
- func (o NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Or(d SubscriptionSettingsResponseResponseCustomResponseHeaders) SubscriptionSettingsResponseResponseCustomResponseHeaders
- func (s *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetFake()
- func (o *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetTo(v SubscriptionSettingsResponseResponseCustomResponseHeaders)
- func (o *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetToNull()
- func (s *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) UnmarshalJSON(data []byte) error
- type NilTgAuthSettings
- func (o *NilTgAuthSettings) Decode(d *jx.Decoder) error
- func (o NilTgAuthSettings) Encode(e *jx.Encoder)
- func (o NilTgAuthSettings) Get() (v TgAuthSettings, ok bool)
- func (o NilTgAuthSettings) IsNull() bool
- func (s NilTgAuthSettings) MarshalJSON() ([]byte, error)
- func (o NilTgAuthSettings) Or(d TgAuthSettings) TgAuthSettings
- func (s *NilTgAuthSettings) SetFake()
- func (o *NilTgAuthSettings) SetTo(v TgAuthSettings)
- func (o *NilTgAuthSettings) SetToNull()
- func (s *NilTgAuthSettings) UnmarshalJSON(data []byte) error
- type NilURI
- func (o *NilURI) Decode(d *jx.Decoder) error
- func (o NilURI) Encode(e *jx.Encoder)
- func (o NilURI) Get() (v url.URL, ok bool)
- func (o NilURI) IsNull() bool
- func (s NilURI) MarshalJSON() ([]byte, error)
- func (o NilURI) Or(d url.URL) url.URL
- func (s *NilURI) SetFake()
- func (o *NilURI) SetTo(v url.URL)
- func (o *NilURI) SetToNull()
- func (s *NilURI) UnmarshalJSON(data []byte) error
- type NilUUID
- func (o *NilUUID) Decode(d *jx.Decoder) error
- func (o NilUUID) Encode(e *jx.Encoder)
- func (o NilUUID) Get() (v uuid.UUID, ok bool)
- func (o NilUUID) IsNull() bool
- func (s NilUUID) MarshalJSON() ([]byte, error)
- func (o NilUUID) Or(d uuid.UUID) uuid.UUID
- func (s *NilUUID) SetFake()
- func (o *NilUUID) SetTo(v uuid.UUID)
- func (o *NilUUID) SetToNull()
- func (s *NilUUID) UnmarshalJSON(data []byte) error
- type Node
- func (s *Node) Decode(d *jx.Decoder) error
- func (s *Node) Encode(e *jx.Encoder)
- func (s *Node) GetCountryCode() string
- func (s *Node) GetName() string
- func (s *Node) GetUUID() uuid.UUID
- func (s *Node) MarshalJSON() ([]byte, error)
- func (s *Node) SetCountryCode(val string)
- func (s *Node) SetFake()
- func (s *Node) SetName(val string)
- func (s *Node) SetUUID(val uuid.UUID)
- func (s *Node) UnmarshalJSON(data []byte) error
- type NodeItem
- func (s *NodeItem) Decode(d *jx.Decoder) error
- func (s *NodeItem) Encode(e *jx.Encoder)
- func (s *NodeItem) GetAddress() string
- func (s *NodeItem) GetConfigProfile() ConfigProfileItem
- func (s *NodeItem) GetConsumptionMultiplier() float64
- func (s *NodeItem) GetCountryCode() string
- func (s *NodeItem) GetCpuCount() NilInt
- func (s *NodeItem) GetCpuModel() NilString
- func (s *NodeItem) GetCreatedAt() time.Time
- func (s *NodeItem) GetIsConnected() bool
- func (s *NodeItem) GetIsConnecting() bool
- func (s *NodeItem) GetIsDisabled() bool
- func (s *NodeItem) GetIsTrafficTrackingActive() bool
- func (s *NodeItem) GetLastStatusChange() NilDateTime
- func (s *NodeItem) GetLastStatusMessage() NilString
- func (s *NodeItem) GetName() string
- func (s *NodeItem) GetNodeVersion() NilString
- func (s *NodeItem) GetNotifyPercent() NilInt
- func (s *NodeItem) GetPort() NilInt
- func (s *NodeItem) GetProvider() NilProviderItem
- func (s *NodeItem) GetProviderUuid() NilUUID
- func (s *NodeItem) GetTags() []string
- func (s *NodeItem) GetTotalRam() NilString
- func (s *NodeItem) GetTrafficLimitBytes() NilFloat64
- func (s *NodeItem) GetTrafficResetDay() NilInt
- func (s *NodeItem) GetTrafficUsedBytes() NilFloat64
- func (s *NodeItem) GetUUID() uuid.UUID
- func (s *NodeItem) GetUpdatedAt() time.Time
- func (s *NodeItem) GetUsersOnline() NilInt
- func (s *NodeItem) GetViewPosition() int
- func (s *NodeItem) GetXrayUptime() string
- func (s *NodeItem) GetXrayVersion() NilString
- func (s *NodeItem) MarshalJSON() ([]byte, error)
- func (s *NodeItem) SetAddress(val string)
- func (s *NodeItem) SetConfigProfile(val ConfigProfileItem)
- func (s *NodeItem) SetConsumptionMultiplier(val float64)
- func (s *NodeItem) SetCountryCode(val string)
- func (s *NodeItem) SetCpuCount(val NilInt)
- func (s *NodeItem) SetCpuModel(val NilString)
- func (s *NodeItem) SetCreatedAt(val time.Time)
- func (s *NodeItem) SetFake()
- func (s *NodeItem) SetIsConnected(val bool)
- func (s *NodeItem) SetIsConnecting(val bool)
- func (s *NodeItem) SetIsDisabled(val bool)
- func (s *NodeItem) SetIsTrafficTrackingActive(val bool)
- func (s *NodeItem) SetLastStatusChange(val NilDateTime)
- func (s *NodeItem) SetLastStatusMessage(val NilString)
- func (s *NodeItem) SetName(val string)
- func (s *NodeItem) SetNodeVersion(val NilString)
- func (s *NodeItem) SetNotifyPercent(val NilInt)
- func (s *NodeItem) SetPort(val NilInt)
- func (s *NodeItem) SetProvider(val NilProviderItem)
- func (s *NodeItem) SetProviderUuid(val NilUUID)
- func (s *NodeItem) SetTags(val []string)
- func (s *NodeItem) SetTotalRam(val NilString)
- func (s *NodeItem) SetTrafficLimitBytes(val NilFloat64)
- func (s *NodeItem) SetTrafficResetDay(val NilInt)
- func (s *NodeItem) SetTrafficUsedBytes(val NilFloat64)
- func (s *NodeItem) SetUUID(val uuid.UUID)
- func (s *NodeItem) SetUpdatedAt(val time.Time)
- func (s *NodeItem) SetUsersOnline(val NilInt)
- func (s *NodeItem) SetViewPosition(val int)
- func (s *NodeItem) SetXrayUptime(val string)
- func (s *NodeItem) SetXrayVersion(val NilString)
- func (s *NodeItem) UnmarshalJSON(data []byte) error
- func (s *NodeItem) Validate() error
- type NodeResponse
- func (s *NodeResponse) Decode(d *jx.Decoder) error
- func (s *NodeResponse) Encode(e *jx.Encoder)
- func (s *NodeResponse) GetResponse() NodeItem
- func (s *NodeResponse) MarshalJSON() ([]byte, error)
- func (s *NodeResponse) SetFake()
- func (s *NodeResponse) SetResponse(val NodeItem)
- func (s *NodeResponse) UnmarshalJSON(data []byte) error
- func (s *NodeResponse) Validate() error
- type NodesClient
- func (sc *NodesClient) CreateNode(ctx context.Context, request *CreateNodeRequestDto) (NodesControllerCreateNodeRes, error)
- func (sc *NodesClient) DeleteNode(ctx context.Context, uuid string) (NodesControllerDeleteNodeRes, error)
- func (sc *NodesClient) DisableNode(ctx context.Context, uuid string) (NodesControllerDisableNodeRes, error)
- func (sc *NodesClient) EnableNode(ctx context.Context, uuid string) (NodesControllerEnableNodeRes, error)
- func (sc *NodesClient) GetAllNodes(ctx context.Context) (NodesControllerGetAllNodesRes, error)
- func (sc *NodesClient) GetAllNodesTags(ctx context.Context) (NodesControllerGetAllNodesTagsRes, error)
- func (sc *NodesClient) GetOneNode(ctx context.Context, uuid string) (NodesControllerGetOneNodeRes, error)
- func (sc *NodesClient) ProfileModification(ctx context.Context, request *ProfileModificationRequestDto) (NodesControllerProfileModificationRes, error)
- func (sc *NodesClient) ReorderNodes(ctx context.Context, request *ReorderNodeRequestDto) (NodesControllerReorderNodesRes, error)
- func (sc *NodesClient) ResetNodeTraffic(ctx context.Context, uuid string) (NodesControllerResetNodeTrafficRes, error)
- func (sc *NodesClient) RestartAllNodes(ctx context.Context, request *RestartAllNodesRequestBodyDto) (NodesControllerRestartAllNodesRes, error)
- func (sc *NodesClient) RestartNode(ctx context.Context, uuid string) (NodesControllerRestartNodeRes, error)
- func (sc *NodesClient) UpdateNode(ctx context.Context, request *UpdateNodeRequestDto) (NodesControllerUpdateNodeRes, error)
- type NodesControllerCreateNodeRes
- type NodesControllerDeleteNodeParams
- type NodesControllerDeleteNodeRes
- type NodesControllerDisableNodeParams
- type NodesControllerDisableNodeRes
- type NodesControllerEnableNodeParams
- type NodesControllerEnableNodeRes
- type NodesControllerGetAllNodesRes
- type NodesControllerGetAllNodesTagsRes
- type NodesControllerGetOneNodeParams
- type NodesControllerGetOneNodeRes
- type NodesControllerProfileModificationRes
- type NodesControllerReorderNodesRes
- type NodesControllerResetNodeTrafficParams
- type NodesControllerResetNodeTrafficRes
- type NodesControllerRestartAllNodesRes
- type NodesControllerRestartNodeParams
- type NodesControllerRestartNodeRes
- type NodesControllerUpdateNodeRes
- type NodesResponse
- func (s *NodesResponse) Decode(d *jx.Decoder) error
- func (s *NodesResponse) Encode(e *jx.Encoder)
- func (s *NodesResponse) GetResponse() []NodeItem
- func (s *NodesResponse) MarshalJSON() ([]byte, error)
- func (s *NodesResponse) SetFake()
- func (s *NodesResponse) SetResponse(val []NodeItem)
- func (s *NodesResponse) UnmarshalJSON(data []byte) error
- func (s *NodesResponse) Validate() error
- type NodesUsageHistoryClient
- type NodesUsageHistoryControllerGetStatsNodesUsageParams
- type NodesUsageHistoryControllerGetStatsNodesUsageRes
- type NotFoundError
- func (s *NotFoundError) Decode(d *jx.Decoder) error
- func (s *NotFoundError) Encode(e *jx.Encoder)
- func (s *NotFoundError) GetMessage() string
- func (s *NotFoundError) GetStatusCode() float64
- func (s *NotFoundError) MarshalJSON() ([]byte, error)
- func (s *NotFoundError) SetFake()
- func (s *NotFoundError) SetMessage(val string)
- func (s *NotFoundError) SetStatusCode(val float64)
- func (s *NotFoundError) UnmarshalJSON(data []byte) error
- func (s *NotFoundError) Validate() error
- type OAuth2AuthorizeRequestDto
- func (s *OAuth2AuthorizeRequestDto) Decode(d *jx.Decoder) error
- func (s *OAuth2AuthorizeRequestDto) Encode(e *jx.Encoder)
- func (s *OAuth2AuthorizeRequestDto) GetProvider() OAuth2AuthorizeRequestDtoProvider
- func (s *OAuth2AuthorizeRequestDto) MarshalJSON() ([]byte, error)
- func (s *OAuth2AuthorizeRequestDto) SetFake()
- func (s *OAuth2AuthorizeRequestDto) SetProvider(val OAuth2AuthorizeRequestDtoProvider)
- func (s *OAuth2AuthorizeRequestDto) UnmarshalJSON(data []byte) error
- func (s *OAuth2AuthorizeRequestDto) Validate() error
- type OAuth2AuthorizeRequestDtoProvider
- func (OAuth2AuthorizeRequestDtoProvider) AllValues() []OAuth2AuthorizeRequestDtoProvider
- func (s *OAuth2AuthorizeRequestDtoProvider) Decode(d *jx.Decoder) error
- func (s OAuth2AuthorizeRequestDtoProvider) Encode(e *jx.Encoder)
- func (s OAuth2AuthorizeRequestDtoProvider) MarshalJSON() ([]byte, error)
- func (s OAuth2AuthorizeRequestDtoProvider) MarshalText() ([]byte, error)
- func (s *OAuth2AuthorizeRequestDtoProvider) SetFake()
- func (s *OAuth2AuthorizeRequestDtoProvider) UnmarshalJSON(data []byte) error
- func (s *OAuth2AuthorizeRequestDtoProvider) UnmarshalText(data []byte) error
- func (s OAuth2AuthorizeRequestDtoProvider) Validate() error
- type OAuth2AuthorizeResponseDto
- func (s *OAuth2AuthorizeResponseDto) Decode(d *jx.Decoder) error
- func (s *OAuth2AuthorizeResponseDto) Encode(e *jx.Encoder)
- func (s *OAuth2AuthorizeResponseDto) GetResponse() OAuth2AuthorizeResponseDtoResponse
- func (s *OAuth2AuthorizeResponseDto) MarshalJSON() ([]byte, error)
- func (s *OAuth2AuthorizeResponseDto) SetFake()
- func (s *OAuth2AuthorizeResponseDto) SetResponse(val OAuth2AuthorizeResponseDtoResponse)
- func (s *OAuth2AuthorizeResponseDto) UnmarshalJSON(data []byte) error
- type OAuth2AuthorizeResponseDtoResponse
- func (s *OAuth2AuthorizeResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *OAuth2AuthorizeResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *OAuth2AuthorizeResponseDtoResponse) GetAuthorizationUrl() NilURI
- func (s *OAuth2AuthorizeResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *OAuth2AuthorizeResponseDtoResponse) SetAuthorizationUrl(val NilURI)
- func (s *OAuth2AuthorizeResponseDtoResponse) SetFake()
- func (s *OAuth2AuthorizeResponseDtoResponse) UnmarshalJSON(data []byte) error
- type OAuth2AuthorizeResponseDtoStatusCode
- func (s *OAuth2AuthorizeResponseDtoStatusCode) GetResponse() OAuth2AuthorizeResponseDto
- func (s *OAuth2AuthorizeResponseDtoStatusCode) GetStatusCode() int
- func (s *OAuth2AuthorizeResponseDtoStatusCode) SetResponse(val OAuth2AuthorizeResponseDto)
- func (s *OAuth2AuthorizeResponseDtoStatusCode) SetStatusCode(val int)
- type OAuth2CallbackRequestDto
- func (s *OAuth2CallbackRequestDto) Decode(d *jx.Decoder) error
- func (s *OAuth2CallbackRequestDto) Encode(e *jx.Encoder)
- func (s *OAuth2CallbackRequestDto) GetCode() string
- func (s *OAuth2CallbackRequestDto) GetProvider() OAuth2CallbackRequestDtoProvider
- func (s *OAuth2CallbackRequestDto) GetState() string
- func (s *OAuth2CallbackRequestDto) MarshalJSON() ([]byte, error)
- func (s *OAuth2CallbackRequestDto) SetCode(val string)
- func (s *OAuth2CallbackRequestDto) SetFake()
- func (s *OAuth2CallbackRequestDto) SetProvider(val OAuth2CallbackRequestDtoProvider)
- func (s *OAuth2CallbackRequestDto) SetState(val string)
- func (s *OAuth2CallbackRequestDto) UnmarshalJSON(data []byte) error
- func (s *OAuth2CallbackRequestDto) Validate() error
- type OAuth2CallbackRequestDtoProvider
- func (OAuth2CallbackRequestDtoProvider) AllValues() []OAuth2CallbackRequestDtoProvider
- func (s *OAuth2CallbackRequestDtoProvider) Decode(d *jx.Decoder) error
- func (s OAuth2CallbackRequestDtoProvider) Encode(e *jx.Encoder)
- func (s OAuth2CallbackRequestDtoProvider) MarshalJSON() ([]byte, error)
- func (s OAuth2CallbackRequestDtoProvider) MarshalText() ([]byte, error)
- func (s *OAuth2CallbackRequestDtoProvider) SetFake()
- func (s *OAuth2CallbackRequestDtoProvider) UnmarshalJSON(data []byte) error
- func (s *OAuth2CallbackRequestDtoProvider) UnmarshalText(data []byte) error
- func (s OAuth2CallbackRequestDtoProvider) Validate() error
- type Oauth2Settings
- func (s *Oauth2Settings) Decode(d *jx.Decoder) error
- func (s *Oauth2Settings) Encode(e *jx.Encoder)
- func (s *Oauth2Settings) GetGithub() Github
- func (s *Oauth2Settings) GetPocketid() Pocketid
- func (s *Oauth2Settings) GetYandex() Github
- func (s *Oauth2Settings) MarshalJSON() ([]byte, error)
- func (s *Oauth2Settings) SetFake()
- func (s *Oauth2Settings) SetGithub(val Github)
- func (s *Oauth2Settings) SetPocketid(val Pocketid)
- func (s *Oauth2Settings) SetYandex(val Github)
- func (s *Oauth2Settings) UnmarshalJSON(data []byte) error
- func (s *Oauth2Settings) Validate() error
- type OperationName
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (s *OptBool) SetFake()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptBulkAllUpdateUsersRequestDtoStatus
- func (o *OptBulkAllUpdateUsersRequestDtoStatus) Decode(d *jx.Decoder) error
- func (o OptBulkAllUpdateUsersRequestDtoStatus) Encode(e *jx.Encoder)
- func (o OptBulkAllUpdateUsersRequestDtoStatus) Get() (v BulkAllUpdateUsersRequestDtoStatus, ok bool)
- func (o OptBulkAllUpdateUsersRequestDtoStatus) IsSet() bool
- func (s OptBulkAllUpdateUsersRequestDtoStatus) MarshalJSON() ([]byte, error)
- func (o OptBulkAllUpdateUsersRequestDtoStatus) Or(d BulkAllUpdateUsersRequestDtoStatus) BulkAllUpdateUsersRequestDtoStatus
- func (o *OptBulkAllUpdateUsersRequestDtoStatus) Reset()
- func (s *OptBulkAllUpdateUsersRequestDtoStatus) SetFake()
- func (o *OptBulkAllUpdateUsersRequestDtoStatus) SetTo(v BulkAllUpdateUsersRequestDtoStatus)
- func (s *OptBulkAllUpdateUsersRequestDtoStatus) UnmarshalJSON(data []byte) error
- type OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy
- func (o *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (o OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (o OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Get() (v BulkAllUpdateUsersRequestDtoTrafficLimitStrategy, ok bool)
- func (o OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) IsSet() bool
- func (s OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (o OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Or(d BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) BulkAllUpdateUsersRequestDtoTrafficLimitStrategy
- func (o *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Reset()
- func (s *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetFake()
- func (o *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetTo(v BulkAllUpdateUsersRequestDtoTrafficLimitStrategy)
- func (s *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- type OptBulkDeleteUsersByStatusRequestDtoStatus
- func (o *OptBulkDeleteUsersByStatusRequestDtoStatus) Decode(d *jx.Decoder) error
- func (o OptBulkDeleteUsersByStatusRequestDtoStatus) Encode(e *jx.Encoder)
- func (o OptBulkDeleteUsersByStatusRequestDtoStatus) Get() (v BulkDeleteUsersByStatusRequestDtoStatus, ok bool)
- func (o OptBulkDeleteUsersByStatusRequestDtoStatus) IsSet() bool
- func (s OptBulkDeleteUsersByStatusRequestDtoStatus) MarshalJSON() ([]byte, error)
- func (o OptBulkDeleteUsersByStatusRequestDtoStatus) Or(d BulkDeleteUsersByStatusRequestDtoStatus) BulkDeleteUsersByStatusRequestDtoStatus
- func (o *OptBulkDeleteUsersByStatusRequestDtoStatus) Reset()
- func (s *OptBulkDeleteUsersByStatusRequestDtoStatus) SetFake()
- func (o *OptBulkDeleteUsersByStatusRequestDtoStatus) SetTo(v BulkDeleteUsersByStatusRequestDtoStatus)
- func (s *OptBulkDeleteUsersByStatusRequestDtoStatus) UnmarshalJSON(data []byte) error
- type OptBulkUpdateUsersRequestDtoFieldsStatus
- func (o *OptBulkUpdateUsersRequestDtoFieldsStatus) Decode(d *jx.Decoder) error
- func (o OptBulkUpdateUsersRequestDtoFieldsStatus) Encode(e *jx.Encoder)
- func (o OptBulkUpdateUsersRequestDtoFieldsStatus) Get() (v BulkUpdateUsersRequestDtoFieldsStatus, ok bool)
- func (o OptBulkUpdateUsersRequestDtoFieldsStatus) IsSet() bool
- func (s OptBulkUpdateUsersRequestDtoFieldsStatus) MarshalJSON() ([]byte, error)
- func (o OptBulkUpdateUsersRequestDtoFieldsStatus) Or(d BulkUpdateUsersRequestDtoFieldsStatus) BulkUpdateUsersRequestDtoFieldsStatus
- func (o *OptBulkUpdateUsersRequestDtoFieldsStatus) Reset()
- func (s *OptBulkUpdateUsersRequestDtoFieldsStatus) SetFake()
- func (o *OptBulkUpdateUsersRequestDtoFieldsStatus) SetTo(v BulkUpdateUsersRequestDtoFieldsStatus)
- func (s *OptBulkUpdateUsersRequestDtoFieldsStatus) UnmarshalJSON(data []byte) error
- type OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
- func (o *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (o OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (o OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Get() (v BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy, ok bool)
- func (o OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) IsSet() bool
- func (s OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (o OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Or(d BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
- func (o *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Reset()
- func (s *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetFake()
- func (o *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetTo(v BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy)
- func (s *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- type OptConfigProfileRef
- func (o *OptConfigProfileRef) Decode(d *jx.Decoder) error
- func (o OptConfigProfileRef) Encode(e *jx.Encoder)
- func (o OptConfigProfileRef) Get() (v ConfigProfileRef, ok bool)
- func (o OptConfigProfileRef) IsSet() bool
- func (s OptConfigProfileRef) MarshalJSON() ([]byte, error)
- func (o OptConfigProfileRef) Or(d ConfigProfileRef) ConfigProfileRef
- func (o *OptConfigProfileRef) Reset()
- func (s *OptConfigProfileRef) SetFake()
- func (o *OptConfigProfileRef) SetTo(v ConfigProfileRef)
- func (s *OptConfigProfileRef) UnmarshalJSON(data []byte) error
- type OptCreateHostRequestDtoSecurityLayer
- func (o *OptCreateHostRequestDtoSecurityLayer) Decode(d *jx.Decoder) error
- func (o OptCreateHostRequestDtoSecurityLayer) Encode(e *jx.Encoder)
- func (o OptCreateHostRequestDtoSecurityLayer) Get() (v CreateHostRequestDtoSecurityLayer, ok bool)
- func (o OptCreateHostRequestDtoSecurityLayer) IsSet() bool
- func (s OptCreateHostRequestDtoSecurityLayer) MarshalJSON() ([]byte, error)
- func (o OptCreateHostRequestDtoSecurityLayer) Or(d CreateHostRequestDtoSecurityLayer) CreateHostRequestDtoSecurityLayer
- func (o *OptCreateHostRequestDtoSecurityLayer) Reset()
- func (s *OptCreateHostRequestDtoSecurityLayer) SetFake()
- func (o *OptCreateHostRequestDtoSecurityLayer) SetTo(v CreateHostRequestDtoSecurityLayer)
- func (s *OptCreateHostRequestDtoSecurityLayer) UnmarshalJSON(data []byte) error
- type OptCreateUserRequestDtoStatus
- func (o *OptCreateUserRequestDtoStatus) Decode(d *jx.Decoder) error
- func (o OptCreateUserRequestDtoStatus) Encode(e *jx.Encoder)
- func (o OptCreateUserRequestDtoStatus) Get() (v CreateUserRequestDtoStatus, ok bool)
- func (o OptCreateUserRequestDtoStatus) IsSet() bool
- func (s OptCreateUserRequestDtoStatus) MarshalJSON() ([]byte, error)
- func (o OptCreateUserRequestDtoStatus) Or(d CreateUserRequestDtoStatus) CreateUserRequestDtoStatus
- func (o *OptCreateUserRequestDtoStatus) Reset()
- func (s *OptCreateUserRequestDtoStatus) SetFake()
- func (o *OptCreateUserRequestDtoStatus) SetTo(v CreateUserRequestDtoStatus)
- func (s *OptCreateUserRequestDtoStatus) UnmarshalJSON(data []byte) error
- type OptCreateUserRequestDtoTrafficLimitStrategy
- func (o *OptCreateUserRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (o OptCreateUserRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (o OptCreateUserRequestDtoTrafficLimitStrategy) Get() (v CreateUserRequestDtoTrafficLimitStrategy, ok bool)
- func (o OptCreateUserRequestDtoTrafficLimitStrategy) IsSet() bool
- func (s OptCreateUserRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (o OptCreateUserRequestDtoTrafficLimitStrategy) Or(d CreateUserRequestDtoTrafficLimitStrategy) CreateUserRequestDtoTrafficLimitStrategy
- func (o *OptCreateUserRequestDtoTrafficLimitStrategy) Reset()
- func (s *OptCreateUserRequestDtoTrafficLimitStrategy) SetFake()
- func (o *OptCreateUserRequestDtoTrafficLimitStrategy) SetTo(v CreateUserRequestDtoTrafficLimitStrategy)
- func (s *OptCreateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (s *OptDateTime) SetFake()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (s *OptFloat64) SetFake()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData
- func (o *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Decode(d *jx.Decoder) error
- func (o OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Encode(e *jx.Encoder)
- func (o OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData, ok bool)
- func (o OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) IsSet() bool
- func (s OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) MarshalJSON() ([]byte, error)
- func (o OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData
- func (o *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Reset()
- func (s *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetFake()
- func (o *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData)
- func (s *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) UnmarshalJSON(data []byte) error
- type OptHostItemSecurityLayer
- func (o *OptHostItemSecurityLayer) Decode(d *jx.Decoder) error
- func (o OptHostItemSecurityLayer) Encode(e *jx.Encoder)
- func (o OptHostItemSecurityLayer) Get() (v HostItemSecurityLayer, ok bool)
- func (o OptHostItemSecurityLayer) IsSet() bool
- func (s OptHostItemSecurityLayer) MarshalJSON() ([]byte, error)
- func (o OptHostItemSecurityLayer) Or(d HostItemSecurityLayer) HostItemSecurityLayer
- func (o *OptHostItemSecurityLayer) Reset()
- func (s *OptHostItemSecurityLayer) SetFake()
- func (o *OptHostItemSecurityLayer) SetTo(v HostItemSecurityLayer)
- func (s *OptHostItemSecurityLayer) UnmarshalJSON(data []byte) error
- type OptInboundRef
- func (o *OptInboundRef) Decode(d *jx.Decoder) error
- func (o OptInboundRef) Encode(e *jx.Encoder)
- func (o OptInboundRef) Get() (v InboundRef, ok bool)
- func (o OptInboundRef) IsSet() bool
- func (s OptInboundRef) MarshalJSON() ([]byte, error)
- func (o OptInboundRef) Or(d InboundRef) InboundRef
- func (o *OptInboundRef) Reset()
- func (s *OptInboundRef) SetFake()
- func (o *OptInboundRef) SetTo(v InboundRef)
- func (s *OptInboundRef) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (s *OptInt) SetFake()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptNilBool
- func (o *OptNilBool) Decode(d *jx.Decoder) error
- func (o OptNilBool) Encode(e *jx.Encoder)
- func (o OptNilBool) Get() (v bool, ok bool)
- func (o OptNilBool) IsNull() bool
- func (o OptNilBool) IsSet() bool
- func (s OptNilBool) MarshalJSON() ([]byte, error)
- func (o OptNilBool) Or(d bool) bool
- func (o *OptNilBool) Reset()
- func (s *OptNilBool) SetFake()
- func (o *OptNilBool) SetTo(v bool)
- func (o *OptNilBool) SetToNull()
- func (s *OptNilBool) UnmarshalJSON(data []byte) error
- type OptNilBrandingSettings
- func (o *OptNilBrandingSettings) Decode(d *jx.Decoder) error
- func (o OptNilBrandingSettings) Encode(e *jx.Encoder)
- func (o OptNilBrandingSettings) Get() (v BrandingSettings, ok bool)
- func (o OptNilBrandingSettings) IsNull() bool
- func (o OptNilBrandingSettings) IsSet() bool
- func (s OptNilBrandingSettings) MarshalJSON() ([]byte, error)
- func (o OptNilBrandingSettings) Or(d BrandingSettings) BrandingSettings
- func (o *OptNilBrandingSettings) Reset()
- func (s *OptNilBrandingSettings) SetFake()
- func (o *OptNilBrandingSettings) SetTo(v BrandingSettings)
- func (o *OptNilBrandingSettings) SetToNull()
- func (s *OptNilBrandingSettings) UnmarshalJSON(data []byte) error
- type OptNilCreateHostRequestDtoAlpn
- func (o *OptNilCreateHostRequestDtoAlpn) Decode(d *jx.Decoder) error
- func (o OptNilCreateHostRequestDtoAlpn) Encode(e *jx.Encoder)
- func (o OptNilCreateHostRequestDtoAlpn) Get() (v CreateHostRequestDtoAlpn, ok bool)
- func (o OptNilCreateHostRequestDtoAlpn) IsNull() bool
- func (o OptNilCreateHostRequestDtoAlpn) IsSet() bool
- func (s OptNilCreateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)
- func (o OptNilCreateHostRequestDtoAlpn) Or(d CreateHostRequestDtoAlpn) CreateHostRequestDtoAlpn
- func (o *OptNilCreateHostRequestDtoAlpn) Reset()
- func (s *OptNilCreateHostRequestDtoAlpn) SetFake()
- func (o *OptNilCreateHostRequestDtoAlpn) SetTo(v CreateHostRequestDtoAlpn)
- func (o *OptNilCreateHostRequestDtoAlpn) SetToNull()
- func (s *OptNilCreateHostRequestDtoAlpn) UnmarshalJSON(data []byte) error
- type OptNilCreateHostRequestDtoFingerprint
- func (o *OptNilCreateHostRequestDtoFingerprint) Decode(d *jx.Decoder) error
- func (o OptNilCreateHostRequestDtoFingerprint) Encode(e *jx.Encoder)
- func (o OptNilCreateHostRequestDtoFingerprint) Get() (v CreateHostRequestDtoFingerprint, ok bool)
- func (o OptNilCreateHostRequestDtoFingerprint) IsNull() bool
- func (o OptNilCreateHostRequestDtoFingerprint) IsSet() bool
- func (s OptNilCreateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)
- func (o OptNilCreateHostRequestDtoFingerprint) Or(d CreateHostRequestDtoFingerprint) CreateHostRequestDtoFingerprint
- func (o *OptNilCreateHostRequestDtoFingerprint) Reset()
- func (s *OptNilCreateHostRequestDtoFingerprint) SetFake()
- func (o *OptNilCreateHostRequestDtoFingerprint) SetTo(v CreateHostRequestDtoFingerprint)
- func (o *OptNilCreateHostRequestDtoFingerprint) SetToNull()
- func (s *OptNilCreateHostRequestDtoFingerprint) UnmarshalJSON(data []byte) error
- type OptNilCustomRemark
- func (o *OptNilCustomRemark) Decode(d *jx.Decoder) error
- func (o OptNilCustomRemark) Encode(e *jx.Encoder)
- func (o OptNilCustomRemark) Get() (v CustomRemark, ok bool)
- func (o OptNilCustomRemark) IsNull() bool
- func (o OptNilCustomRemark) IsSet() bool
- func (s OptNilCustomRemark) MarshalJSON() ([]byte, error)
- func (o OptNilCustomRemark) Or(d CustomRemark) CustomRemark
- func (o *OptNilCustomRemark) Reset()
- func (s *OptNilCustomRemark) SetFake()
- func (o *OptNilCustomRemark) SetTo(v CustomRemark)
- func (o *OptNilCustomRemark) SetToNull()
- func (s *OptNilCustomRemark) UnmarshalJSON(data []byte) error
- type OptNilFloat64
- func (o *OptNilFloat64) Decode(d *jx.Decoder) error
- func (o OptNilFloat64) Encode(e *jx.Encoder)
- func (o OptNilFloat64) Get() (v float64, ok bool)
- func (o OptNilFloat64) IsNull() bool
- func (o OptNilFloat64) IsSet() bool
- func (s OptNilFloat64) MarshalJSON() ([]byte, error)
- func (o OptNilFloat64) Or(d float64) float64
- func (o *OptNilFloat64) Reset()
- func (s *OptNilFloat64) SetFake()
- func (o *OptNilFloat64) SetTo(v float64)
- func (o *OptNilFloat64) SetToNull()
- func (s *OptNilFloat64) UnmarshalJSON(data []byte) error
- type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Decode(d *jx.Decoder) error
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Encode(e *jx.Encoder)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams, ...)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) IsNull() bool
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) IsSet() bool
- func (s OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) MarshalJSON() ([]byte, error)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Reset()
- func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetFake()
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams)
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetToNull()
- func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) UnmarshalJSON(data []byte) error
- type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Decode(d *jx.Decoder) error
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Encode(e *jx.Encoder)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions, ...)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) IsNull() bool
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) IsSet() bool
- func (s OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) MarshalJSON() ([]byte, error)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Reset()
- func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetFake()
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions)
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetToNull()
- func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) UnmarshalJSON(data []byte) error
- type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Decode(d *jx.Decoder) error
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Encode(e *jx.Encoder)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Get() (...)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) IsNull() bool
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) IsSet() bool
- func (s OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) MarshalJSON() ([]byte, error)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Or(...) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Reset()
- func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetFake()
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetTo(...)
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetToNull()
- func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) UnmarshalJSON(data []byte) error
- type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Decode(d *jx.Decoder) error
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Encode(e *jx.Encoder)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings, ...)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) IsNull() bool
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) IsSet() bool
- func (s OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) MarshalJSON() ([]byte, error)
- func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Reset()
- func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetFake()
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings)
- func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetToNull()
- func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) UnmarshalJSON(data []byte) error
- type OptNilHostOverride
- func (o *OptNilHostOverride) Decode(d *jx.Decoder) error
- func (o OptNilHostOverride) Encode(e *jx.Encoder)
- func (o OptNilHostOverride) Get() (v HostOverride, ok bool)
- func (o OptNilHostOverride) IsNull() bool
- func (o OptNilHostOverride) IsSet() bool
- func (s OptNilHostOverride) MarshalJSON() ([]byte, error)
- func (o OptNilHostOverride) Or(d HostOverride) HostOverride
- func (o *OptNilHostOverride) Reset()
- func (s *OptNilHostOverride) SetFake()
- func (o *OptNilHostOverride) SetTo(v HostOverride)
- func (o *OptNilHostOverride) SetToNull()
- func (s *OptNilHostOverride) UnmarshalJSON(data []byte) error
- type OptNilHwidSettings
- func (o *OptNilHwidSettings) Decode(d *jx.Decoder) error
- func (o OptNilHwidSettings) Encode(e *jx.Encoder)
- func (o OptNilHwidSettings) Get() (v HwidSettings, ok bool)
- func (o OptNilHwidSettings) IsNull() bool
- func (o OptNilHwidSettings) IsSet() bool
- func (s OptNilHwidSettings) MarshalJSON() ([]byte, error)
- func (o OptNilHwidSettings) Or(d HwidSettings) HwidSettings
- func (o *OptNilHwidSettings) Reset()
- func (s *OptNilHwidSettings) SetFake()
- func (o *OptNilHwidSettings) SetTo(v HwidSettings)
- func (o *OptNilHwidSettings) SetToNull()
- func (s *OptNilHwidSettings) UnmarshalJSON(data []byte) error
- type OptNilInt
- func (o *OptNilInt) Decode(d *jx.Decoder) error
- func (o OptNilInt) Encode(e *jx.Encoder)
- func (o OptNilInt) Get() (v int, ok bool)
- func (o OptNilInt) IsNull() bool
- func (o OptNilInt) IsSet() bool
- func (s OptNilInt) MarshalJSON() ([]byte, error)
- func (o OptNilInt) Or(d int) int
- func (o *OptNilInt) Reset()
- func (s *OptNilInt) SetFake()
- func (o *OptNilInt) SetTo(v int)
- func (o *OptNilInt) SetToNull()
- func (s *OptNilInt) UnmarshalJSON(data []byte) error
- type OptNilOauth2Settings
- func (o *OptNilOauth2Settings) Decode(d *jx.Decoder) error
- func (o OptNilOauth2Settings) Encode(e *jx.Encoder)
- func (o OptNilOauth2Settings) Get() (v Oauth2Settings, ok bool)
- func (o OptNilOauth2Settings) IsNull() bool
- func (o OptNilOauth2Settings) IsSet() bool
- func (s OptNilOauth2Settings) MarshalJSON() ([]byte, error)
- func (o OptNilOauth2Settings) Or(d Oauth2Settings) Oauth2Settings
- func (o *OptNilOauth2Settings) Reset()
- func (s *OptNilOauth2Settings) SetFake()
- func (o *OptNilOauth2Settings) SetTo(v Oauth2Settings)
- func (o *OptNilOauth2Settings) SetToNull()
- func (s *OptNilOauth2Settings) UnmarshalJSON(data []byte) error
- type OptNilPasskeySettings
- func (o *OptNilPasskeySettings) Decode(d *jx.Decoder) error
- func (o OptNilPasskeySettings) Encode(e *jx.Encoder)
- func (o OptNilPasskeySettings) Get() (v PasskeySettings, ok bool)
- func (o OptNilPasskeySettings) IsNull() bool
- func (o OptNilPasskeySettings) IsSet() bool
- func (s OptNilPasskeySettings) MarshalJSON() ([]byte, error)
- func (o OptNilPasskeySettings) Or(d PasskeySettings) PasskeySettings
- func (o *OptNilPasskeySettings) Reset()
- func (s *OptNilPasskeySettings) SetFake()
- func (o *OptNilPasskeySettings) SetTo(v PasskeySettings)
- func (o *OptNilPasskeySettings) SetToNull()
- func (s *OptNilPasskeySettings) UnmarshalJSON(data []byte) error
- type OptNilPasswordSettings
- func (o *OptNilPasswordSettings) Decode(d *jx.Decoder) error
- func (o OptNilPasswordSettings) Encode(e *jx.Encoder)
- func (o OptNilPasswordSettings) Get() (v PasswordSettings, ok bool)
- func (o OptNilPasswordSettings) IsNull() bool
- func (o OptNilPasswordSettings) IsSet() bool
- func (s OptNilPasswordSettings) MarshalJSON() ([]byte, error)
- func (o OptNilPasswordSettings) Or(d PasswordSettings) PasswordSettings
- func (o *OptNilPasswordSettings) Reset()
- func (s *OptNilPasswordSettings) SetFake()
- func (o *OptNilPasswordSettings) SetTo(v PasswordSettings)
- func (o *OptNilPasswordSettings) SetToNull()
- func (s *OptNilPasswordSettings) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (s *OptNilString) SetFake()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptNilSubscriptionSettings
- func (o *OptNilSubscriptionSettings) Decode(d *jx.Decoder) error
- func (o OptNilSubscriptionSettings) Encode(e *jx.Encoder)
- func (o OptNilSubscriptionSettings) Get() (v SubscriptionSettings, ok bool)
- func (o OptNilSubscriptionSettings) IsNull() bool
- func (o OptNilSubscriptionSettings) IsSet() bool
- func (s OptNilSubscriptionSettings) MarshalJSON() ([]byte, error)
- func (o OptNilSubscriptionSettings) Or(d SubscriptionSettings) SubscriptionSettings
- func (o *OptNilSubscriptionSettings) Reset()
- func (s *OptNilSubscriptionSettings) SetFake()
- func (o *OptNilSubscriptionSettings) SetTo(v SubscriptionSettings)
- func (o *OptNilSubscriptionSettings) SetToNull()
- func (s *OptNilSubscriptionSettings) UnmarshalJSON(data []byte) error
- type OptNilTgAuthSettings
- func (o *OptNilTgAuthSettings) Decode(d *jx.Decoder) error
- func (o OptNilTgAuthSettings) Encode(e *jx.Encoder)
- func (o OptNilTgAuthSettings) Get() (v TgAuthSettings, ok bool)
- func (o OptNilTgAuthSettings) IsNull() bool
- func (o OptNilTgAuthSettings) IsSet() bool
- func (s OptNilTgAuthSettings) MarshalJSON() ([]byte, error)
- func (o OptNilTgAuthSettings) Or(d TgAuthSettings) TgAuthSettings
- func (o *OptNilTgAuthSettings) Reset()
- func (s *OptNilTgAuthSettings) SetFake()
- func (o *OptNilTgAuthSettings) SetTo(v TgAuthSettings)
- func (o *OptNilTgAuthSettings) SetToNull()
- func (s *OptNilTgAuthSettings) UnmarshalJSON(data []byte) error
- type OptNilURI
- func (o *OptNilURI) Decode(d *jx.Decoder) error
- func (o OptNilURI) Encode(e *jx.Encoder)
- func (o OptNilURI) Get() (v url.URL, ok bool)
- func (o OptNilURI) IsNull() bool
- func (o OptNilURI) IsSet() bool
- func (s OptNilURI) MarshalJSON() ([]byte, error)
- func (o OptNilURI) Or(d url.URL) url.URL
- func (o *OptNilURI) Reset()
- func (s *OptNilURI) SetFake()
- func (o *OptNilURI) SetTo(v url.URL)
- func (o *OptNilURI) SetToNull()
- func (s *OptNilURI) UnmarshalJSON(data []byte) error
- type OptNilUUID
- func (o *OptNilUUID) Decode(d *jx.Decoder) error
- func (o OptNilUUID) Encode(e *jx.Encoder)
- func (o OptNilUUID) Get() (v uuid.UUID, ok bool)
- func (o OptNilUUID) IsNull() bool
- func (o OptNilUUID) IsSet() bool
- func (s OptNilUUID) MarshalJSON() ([]byte, error)
- func (o OptNilUUID) Or(d uuid.UUID) uuid.UUID
- func (o *OptNilUUID) Reset()
- func (s *OptNilUUID) SetFake()
- func (o *OptNilUUID) SetTo(v uuid.UUID)
- func (o *OptNilUUID) SetToNull()
- func (s *OptNilUUID) UnmarshalJSON(data []byte) error
- type OptNilUpdateExternalSquadRequestDtoResponseHeaders
- func (o *OptNilUpdateExternalSquadRequestDtoResponseHeaders) Decode(d *jx.Decoder) error
- func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) Encode(e *jx.Encoder)
- func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) Get() (v UpdateExternalSquadRequestDtoResponseHeaders, ok bool)
- func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) IsNull() bool
- func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) IsSet() bool
- func (s OptNilUpdateExternalSquadRequestDtoResponseHeaders) MarshalJSON() ([]byte, error)
- func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) Or(d UpdateExternalSquadRequestDtoResponseHeaders) UpdateExternalSquadRequestDtoResponseHeaders
- func (o *OptNilUpdateExternalSquadRequestDtoResponseHeaders) Reset()
- func (s *OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetFake()
- func (o *OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetTo(v UpdateExternalSquadRequestDtoResponseHeaders)
- func (o *OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetToNull()
- func (s *OptNilUpdateExternalSquadRequestDtoResponseHeaders) UnmarshalJSON(data []byte) error
- type OptNilUpdateHostRequestDtoAlpn
- func (o *OptNilUpdateHostRequestDtoAlpn) Decode(d *jx.Decoder) error
- func (o OptNilUpdateHostRequestDtoAlpn) Encode(e *jx.Encoder)
- func (o OptNilUpdateHostRequestDtoAlpn) Get() (v UpdateHostRequestDtoAlpn, ok bool)
- func (o OptNilUpdateHostRequestDtoAlpn) IsNull() bool
- func (o OptNilUpdateHostRequestDtoAlpn) IsSet() bool
- func (s OptNilUpdateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)
- func (o OptNilUpdateHostRequestDtoAlpn) Or(d UpdateHostRequestDtoAlpn) UpdateHostRequestDtoAlpn
- func (o *OptNilUpdateHostRequestDtoAlpn) Reset()
- func (s *OptNilUpdateHostRequestDtoAlpn) SetFake()
- func (o *OptNilUpdateHostRequestDtoAlpn) SetTo(v UpdateHostRequestDtoAlpn)
- func (o *OptNilUpdateHostRequestDtoAlpn) SetToNull()
- func (s *OptNilUpdateHostRequestDtoAlpn) UnmarshalJSON(data []byte) error
- type OptNilUpdateHostRequestDtoFingerprint
- func (o *OptNilUpdateHostRequestDtoFingerprint) Decode(d *jx.Decoder) error
- func (o OptNilUpdateHostRequestDtoFingerprint) Encode(e *jx.Encoder)
- func (o OptNilUpdateHostRequestDtoFingerprint) Get() (v UpdateHostRequestDtoFingerprint, ok bool)
- func (o OptNilUpdateHostRequestDtoFingerprint) IsNull() bool
- func (o OptNilUpdateHostRequestDtoFingerprint) IsSet() bool
- func (s OptNilUpdateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)
- func (o OptNilUpdateHostRequestDtoFingerprint) Or(d UpdateHostRequestDtoFingerprint) UpdateHostRequestDtoFingerprint
- func (o *OptNilUpdateHostRequestDtoFingerprint) Reset()
- func (s *OptNilUpdateHostRequestDtoFingerprint) SetFake()
- func (o *OptNilUpdateHostRequestDtoFingerprint) SetTo(v UpdateHostRequestDtoFingerprint)
- func (o *OptNilUpdateHostRequestDtoFingerprint) SetToNull()
- func (s *OptNilUpdateHostRequestDtoFingerprint) UnmarshalJSON(data []byte) error
- type OptResponseModification
- func (o *OptResponseModification) Decode(d *jx.Decoder) error
- func (o OptResponseModification) Encode(e *jx.Encoder)
- func (o OptResponseModification) Get() (v ResponseModification, ok bool)
- func (o OptResponseModification) IsSet() bool
- func (s OptResponseModification) MarshalJSON() ([]byte, error)
- func (o OptResponseModification) Or(d ResponseModification) ResponseModification
- func (o *OptResponseModification) Reset()
- func (s *OptResponseModification) SetFake()
- func (o *OptResponseModification) SetTo(v ResponseModification)
- func (s *OptResponseModification) UnmarshalJSON(data []byte) error
- type OptResponseRules
- func (o *OptResponseRules) Decode(d *jx.Decoder) error
- func (o OptResponseRules) Encode(e *jx.Encoder)
- func (o OptResponseRules) Get() (v ResponseRules, ok bool)
- func (o OptResponseRules) IsSet() bool
- func (s OptResponseRules) MarshalJSON() ([]byte, error)
- func (o OptResponseRules) Or(d ResponseRules) ResponseRules
- func (o *OptResponseRules) Reset()
- func (s *OptResponseRules) SetFake()
- func (o *OptResponseRules) SetTo(v ResponseRules)
- func (s *OptResponseRules) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (s *OptString) SetFake()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptURI
- func (o *OptURI) Decode(d *jx.Decoder) error
- func (o OptURI) Encode(e *jx.Encoder)
- func (o OptURI) Get() (v url.URL, ok bool)
- func (o OptURI) IsSet() bool
- func (s OptURI) MarshalJSON() ([]byte, error)
- func (o OptURI) Or(d url.URL) url.URL
- func (o *OptURI) Reset()
- func (s *OptURI) SetFake()
- func (o *OptURI) SetTo(v url.URL)
- func (s *OptURI) UnmarshalJSON(data []byte) error
- type OptUUID
- func (o *OptUUID) Decode(d *jx.Decoder) error
- func (o OptUUID) Encode(e *jx.Encoder)
- func (o OptUUID) Get() (v uuid.UUID, ok bool)
- func (o OptUUID) IsSet() bool
- func (s OptUUID) MarshalJSON() ([]byte, error)
- func (o OptUUID) Or(d uuid.UUID) uuid.UUID
- func (o *OptUUID) Reset()
- func (s *OptUUID) SetFake()
- func (o *OptUUID) SetTo(v uuid.UUID)
- func (s *OptUUID) UnmarshalJSON(data []byte) error
- type OptUpdateHostRequestDtoSecurityLayer
- func (o *OptUpdateHostRequestDtoSecurityLayer) Decode(d *jx.Decoder) error
- func (o OptUpdateHostRequestDtoSecurityLayer) Encode(e *jx.Encoder)
- func (o OptUpdateHostRequestDtoSecurityLayer) Get() (v UpdateHostRequestDtoSecurityLayer, ok bool)
- func (o OptUpdateHostRequestDtoSecurityLayer) IsSet() bool
- func (s OptUpdateHostRequestDtoSecurityLayer) MarshalJSON() ([]byte, error)
- func (o OptUpdateHostRequestDtoSecurityLayer) Or(d UpdateHostRequestDtoSecurityLayer) UpdateHostRequestDtoSecurityLayer
- func (o *OptUpdateHostRequestDtoSecurityLayer) Reset()
- func (s *OptUpdateHostRequestDtoSecurityLayer) SetFake()
- func (o *OptUpdateHostRequestDtoSecurityLayer) SetTo(v UpdateHostRequestDtoSecurityLayer)
- func (s *OptUpdateHostRequestDtoSecurityLayer) UnmarshalJSON(data []byte) error
- type OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders
- func (o *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Decode(d *jx.Decoder) error
- func (o OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Encode(e *jx.Encoder)
- func (o OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Get() (v UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders, ok bool)
- func (o OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) IsSet() bool
- func (s OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) MarshalJSON() ([]byte, error)
- func (o OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Or(d UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders
- func (o *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Reset()
- func (s *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetFake()
- func (o *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetTo(v UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders)
- func (s *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UnmarshalJSON(data []byte) error
- type OptUpdateUserRequestDtoStatus
- func (o *OptUpdateUserRequestDtoStatus) Decode(d *jx.Decoder) error
- func (o OptUpdateUserRequestDtoStatus) Encode(e *jx.Encoder)
- func (o OptUpdateUserRequestDtoStatus) Get() (v UpdateUserRequestDtoStatus, ok bool)
- func (o OptUpdateUserRequestDtoStatus) IsSet() bool
- func (s OptUpdateUserRequestDtoStatus) MarshalJSON() ([]byte, error)
- func (o OptUpdateUserRequestDtoStatus) Or(d UpdateUserRequestDtoStatus) UpdateUserRequestDtoStatus
- func (o *OptUpdateUserRequestDtoStatus) Reset()
- func (s *OptUpdateUserRequestDtoStatus) SetFake()
- func (o *OptUpdateUserRequestDtoStatus) SetTo(v UpdateUserRequestDtoStatus)
- func (s *OptUpdateUserRequestDtoStatus) UnmarshalJSON(data []byte) error
- type OptUpdateUserRequestDtoTrafficLimitStrategy
- func (o *OptUpdateUserRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (o OptUpdateUserRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (o OptUpdateUserRequestDtoTrafficLimitStrategy) Get() (v UpdateUserRequestDtoTrafficLimitStrategy, ok bool)
- func (o OptUpdateUserRequestDtoTrafficLimitStrategy) IsSet() bool
- func (s OptUpdateUserRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (o OptUpdateUserRequestDtoTrafficLimitStrategy) Or(d UpdateUserRequestDtoTrafficLimitStrategy) UpdateUserRequestDtoTrafficLimitStrategy
- func (o *OptUpdateUserRequestDtoTrafficLimitStrategy) Reset()
- func (s *OptUpdateUserRequestDtoTrafficLimitStrategy) SetFake()
- func (o *OptUpdateUserRequestDtoTrafficLimitStrategy) SetTo(v UpdateUserRequestDtoTrafficLimitStrategy)
- func (s *OptUpdateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- type OptUserStatus
- func (o *OptUserStatus) Decode(d *jx.Decoder) error
- func (o OptUserStatus) Encode(e *jx.Encoder)
- func (o OptUserStatus) Get() (v UserStatus, ok bool)
- func (o OptUserStatus) IsSet() bool
- func (s OptUserStatus) MarshalJSON() ([]byte, error)
- func (o OptUserStatus) Or(d UserStatus) UserStatus
- func (o *OptUserStatus) Reset()
- func (s *OptUserStatus) SetFake()
- func (o *OptUserStatus) SetTo(v UserStatus)
- func (s *OptUserStatus) UnmarshalJSON(data []byte) error
- type OptUserTrafficLimitStrategy
- func (o *OptUserTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (o OptUserTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (o OptUserTrafficLimitStrategy) Get() (v UserTrafficLimitStrategy, ok bool)
- func (o OptUserTrafficLimitStrategy) IsSet() bool
- func (s OptUserTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (o OptUserTrafficLimitStrategy) Or(d UserTrafficLimitStrategy) UserTrafficLimitStrategy
- func (o *OptUserTrafficLimitStrategy) Reset()
- func (s *OptUserTrafficLimitStrategy) SetFake()
- func (o *OptUserTrafficLimitStrategy) SetTo(v UserTrafficLimitStrategy)
- func (s *OptUserTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- type Option
- type PasskeyClient
- func (sc *PasskeyClient) DeletePasskey(ctx context.Context, request *DeletePasskeyRequestDto) (PasskeyControllerDeletePasskeyRes, error)
- func (sc *PasskeyClient) GetActivePasskeys(ctx context.Context) (PasskeyControllerGetActivePasskeysRes, error)
- func (sc *PasskeyClient) PasskeyRegistrationOptions(ctx context.Context) (PasskeyControllerPasskeyRegistrationOptionsRes, error)
- func (sc *PasskeyClient) PasskeyRegistrationVerify(ctx context.Context, request *PasskeyOptions) (PasskeyControllerPasskeyRegistrationVerifyRes, error)
- func (sc *PasskeyClient) UpdatePasskey(ctx context.Context, request *UpdatePasskeyRequestDto) (PasskeyControllerUpdatePasskeyRes, error)
- type PasskeyControllerDeletePasskeyRes
- type PasskeyControllerGetActivePasskeysRes
- type PasskeyControllerPasskeyRegistrationOptionsRes
- type PasskeyControllerPasskeyRegistrationVerifyRes
- type PasskeyControllerUpdatePasskeyRes
- type PasskeyOptions
- func (s *PasskeyOptions) Decode(d *jx.Decoder) error
- func (s *PasskeyOptions) Encode(e *jx.Encoder)
- func (s *PasskeyOptions) GetResponse() jx.Raw
- func (s *PasskeyOptions) MarshalJSON() ([]byte, error)
- func (s *PasskeyOptions) SetFake()
- func (s *PasskeyOptions) SetResponse(val jx.Raw)
- func (s *PasskeyOptions) UnmarshalJSON(data []byte) error
- type PasskeyOptionsStatusCode
- type PasskeySettings
- func (s *PasskeySettings) Decode(d *jx.Decoder) error
- func (s *PasskeySettings) Encode(e *jx.Encoder)
- func (s *PasskeySettings) GetEnabled() bool
- func (s *PasskeySettings) GetOrigin() NilString
- func (s *PasskeySettings) GetRpId() NilString
- func (s *PasskeySettings) MarshalJSON() ([]byte, error)
- func (s *PasskeySettings) SetEnabled(val bool)
- func (s *PasskeySettings) SetFake()
- func (s *PasskeySettings) SetOrigin(val NilString)
- func (s *PasskeySettings) SetRpId(val NilString)
- func (s *PasskeySettings) UnmarshalJSON(data []byte) error
- type PasskeysResponse
- func (s *PasskeysResponse) Decode(d *jx.Decoder) error
- func (s *PasskeysResponse) Encode(e *jx.Encoder)
- func (s *PasskeysResponse) GetResponse() PasskeysResponseResponse
- func (s *PasskeysResponse) MarshalJSON() ([]byte, error)
- func (s *PasskeysResponse) SetFake()
- func (s *PasskeysResponse) SetResponse(val PasskeysResponseResponse)
- func (s *PasskeysResponse) UnmarshalJSON(data []byte) error
- func (s *PasskeysResponse) Validate() error
- type PasskeysResponseResponse
- func (s *PasskeysResponseResponse) Decode(d *jx.Decoder) error
- func (s *PasskeysResponseResponse) Encode(e *jx.Encoder)
- func (s *PasskeysResponseResponse) GetPasskeys() []PasskeysResponseResponsePasskeysItem
- func (s *PasskeysResponseResponse) MarshalJSON() ([]byte, error)
- func (s *PasskeysResponseResponse) SetFake()
- func (s *PasskeysResponseResponse) SetPasskeys(val []PasskeysResponseResponsePasskeysItem)
- func (s *PasskeysResponseResponse) UnmarshalJSON(data []byte) error
- func (s *PasskeysResponseResponse) Validate() error
- type PasskeysResponseResponsePasskeysItem
- func (s *PasskeysResponseResponsePasskeysItem) Decode(d *jx.Decoder) error
- func (s *PasskeysResponseResponsePasskeysItem) Encode(e *jx.Encoder)
- func (s *PasskeysResponseResponsePasskeysItem) GetCreatedAt() time.Time
- func (s *PasskeysResponseResponsePasskeysItem) GetID() string
- func (s *PasskeysResponseResponsePasskeysItem) GetLastUsedAt() time.Time
- func (s *PasskeysResponseResponsePasskeysItem) GetName() string
- func (s *PasskeysResponseResponsePasskeysItem) MarshalJSON() ([]byte, error)
- func (s *PasskeysResponseResponsePasskeysItem) SetCreatedAt(val time.Time)
- func (s *PasskeysResponseResponsePasskeysItem) SetFake()
- func (s *PasskeysResponseResponsePasskeysItem) SetID(val string)
- func (s *PasskeysResponseResponsePasskeysItem) SetLastUsedAt(val time.Time)
- func (s *PasskeysResponseResponsePasskeysItem) SetName(val string)
- func (s *PasskeysResponseResponsePasskeysItem) UnmarshalJSON(data []byte) error
- type PasskeysResponseStatusCode
- func (s *PasskeysResponseStatusCode) GetResponse() PasskeysResponse
- func (s *PasskeysResponseStatusCode) GetStatusCode() int
- func (s *PasskeysResponseStatusCode) SetResponse(val PasskeysResponse)
- func (s *PasskeysResponseStatusCode) SetStatusCode(val int)
- func (s *PasskeysResponseStatusCode) Validate() error
- type PasswordSettings
- func (s *PasswordSettings) Decode(d *jx.Decoder) error
- func (s *PasswordSettings) Encode(e *jx.Encoder)
- func (s *PasswordSettings) GetEnabled() bool
- func (s *PasswordSettings) MarshalJSON() ([]byte, error)
- func (s *PasswordSettings) SetEnabled(val bool)
- func (s *PasswordSettings) SetFake()
- func (s *PasswordSettings) UnmarshalJSON(data []byte) error
- type Pocketid
- func (s *Pocketid) Decode(d *jx.Decoder) error
- func (s *Pocketid) Encode(e *jx.Encoder)
- func (s *Pocketid) GetAllowedEmails() []string
- func (s *Pocketid) GetClientId() NilString
- func (s *Pocketid) GetClientSecret() NilString
- func (s *Pocketid) GetEnabled() bool
- func (s *Pocketid) GetPlainDomain() NilString
- func (s *Pocketid) MarshalJSON() ([]byte, error)
- func (s *Pocketid) SetAllowedEmails(val []string)
- func (s *Pocketid) SetClientId(val NilString)
- func (s *Pocketid) SetClientSecret(val NilString)
- func (s *Pocketid) SetEnabled(val bool)
- func (s *Pocketid) SetFake()
- func (s *Pocketid) SetPlainDomain(val NilString)
- func (s *Pocketid) UnmarshalJSON(data []byte) error
- func (s *Pocketid) Validate() error
- type ProfileModificationRequestDto
- func (s *ProfileModificationRequestDto) Decode(d *jx.Decoder) error
- func (s *ProfileModificationRequestDto) Encode(e *jx.Encoder)
- func (s *ProfileModificationRequestDto) GetConfigProfile() ProfileModificationRequestDtoConfigProfile
- func (s *ProfileModificationRequestDto) GetUuids() []uuid.UUID
- func (s *ProfileModificationRequestDto) MarshalJSON() ([]byte, error)
- func (s *ProfileModificationRequestDto) SetConfigProfile(val ProfileModificationRequestDtoConfigProfile)
- func (s *ProfileModificationRequestDto) SetFake()
- func (s *ProfileModificationRequestDto) SetUuids(val []uuid.UUID)
- func (s *ProfileModificationRequestDto) UnmarshalJSON(data []byte) error
- func (s *ProfileModificationRequestDto) Validate() error
- type ProfileModificationRequestDtoConfigProfile
- func (s *ProfileModificationRequestDtoConfigProfile) Decode(d *jx.Decoder) error
- func (s *ProfileModificationRequestDtoConfigProfile) Encode(e *jx.Encoder)
- func (s *ProfileModificationRequestDtoConfigProfile) GetActiveConfigProfileUuid() uuid.UUID
- func (s *ProfileModificationRequestDtoConfigProfile) GetActiveInbounds() []uuid.UUID
- func (s *ProfileModificationRequestDtoConfigProfile) MarshalJSON() ([]byte, error)
- func (s *ProfileModificationRequestDtoConfigProfile) SetActiveConfigProfileUuid(val uuid.UUID)
- func (s *ProfileModificationRequestDtoConfigProfile) SetActiveInbounds(val []uuid.UUID)
- func (s *ProfileModificationRequestDtoConfigProfile) SetFake()
- func (s *ProfileModificationRequestDtoConfigProfile) UnmarshalJSON(data []byte) error
- func (s *ProfileModificationRequestDtoConfigProfile) Validate() error
- type Provider
- func (s *Provider) Decode(d *jx.Decoder) error
- func (s *Provider) Encode(e *jx.Encoder)
- func (s *Provider) GetBillingHistory() BillingHistoryItem
- func (s *Provider) GetBillingNodes() []BillingNode
- func (s *Provider) GetCreatedAt() time.Time
- func (s *Provider) GetFaviconLink() NilString
- func (s *Provider) GetLoginUrl() NilString
- func (s *Provider) GetName() string
- func (s *Provider) GetUUID() uuid.UUID
- func (s *Provider) GetUpdatedAt() time.Time
- func (s *Provider) MarshalJSON() ([]byte, error)
- func (s *Provider) SetBillingHistory(val BillingHistoryItem)
- func (s *Provider) SetBillingNodes(val []BillingNode)
- func (s *Provider) SetCreatedAt(val time.Time)
- func (s *Provider) SetFake()
- func (s *Provider) SetFaviconLink(val NilString)
- func (s *Provider) SetLoginUrl(val NilString)
- func (s *Provider) SetName(val string)
- func (s *Provider) SetUUID(val uuid.UUID)
- func (s *Provider) SetUpdatedAt(val time.Time)
- func (s *Provider) UnmarshalJSON(data []byte) error
- func (s *Provider) Validate() error
- type ProviderItem
- func (s *ProviderItem) Decode(d *jx.Decoder) error
- func (s *ProviderItem) Encode(e *jx.Encoder)
- func (s *ProviderItem) GetCreatedAt() time.Time
- func (s *ProviderItem) GetFaviconLink() NilString
- func (s *ProviderItem) GetLoginUrl() NilString
- func (s *ProviderItem) GetName() string
- func (s *ProviderItem) GetUUID() uuid.UUID
- func (s *ProviderItem) GetUpdatedAt() time.Time
- func (s *ProviderItem) MarshalJSON() ([]byte, error)
- func (s *ProviderItem) SetCreatedAt(val time.Time)
- func (s *ProviderItem) SetFake()
- func (s *ProviderItem) SetFaviconLink(val NilString)
- func (s *ProviderItem) SetLoginUrl(val NilString)
- func (s *ProviderItem) SetName(val string)
- func (s *ProviderItem) SetUUID(val uuid.UUID)
- func (s *ProviderItem) SetUpdatedAt(val time.Time)
- func (s *ProviderItem) UnmarshalJSON(data []byte) error
- type Record
- func (s *Record) Decode(d *jx.Decoder) error
- func (s *Record) Encode(e *jx.Encoder)
- func (s *Record) GetID() float64
- func (s *Record) GetRequestAt() time.Time
- func (s *Record) GetRequestIp() NilString
- func (s *Record) GetUserAgent() NilString
- func (s *Record) GetUserUuid() uuid.UUID
- func (s *Record) MarshalJSON() ([]byte, error)
- func (s *Record) SetFake()
- func (s *Record) SetID(val float64)
- func (s *Record) SetRequestAt(val time.Time)
- func (s *Record) SetRequestIp(val NilString)
- func (s *Record) SetUserAgent(val NilString)
- func (s *Record) SetUserUuid(val uuid.UUID)
- func (s *Record) UnmarshalJSON(data []byte) error
- func (s *Record) Validate() error
- type RegisterRequestDto
- func (s *RegisterRequestDto) Decode(d *jx.Decoder) error
- func (s *RegisterRequestDto) Encode(e *jx.Encoder)
- func (s *RegisterRequestDto) GetPassword() string
- func (s *RegisterRequestDto) GetUsername() string
- func (s *RegisterRequestDto) MarshalJSON() ([]byte, error)
- func (s *RegisterRequestDto) SetFake()
- func (s *RegisterRequestDto) SetPassword(val string)
- func (s *RegisterRequestDto) SetUsername(val string)
- func (s *RegisterRequestDto) UnmarshalJSON(data []byte) error
- func (s *RegisterRequestDto) Validate() error
- type RemnawaveSettingsClient
- type RemnawaveSettingsControllerGetSettingsRes
- type RemnawaveSettingsControllerUpdateSettingsRes
- type ReorderHostRequestDto
- func (s *ReorderHostRequestDto) Decode(d *jx.Decoder) error
- func (s *ReorderHostRequestDto) Encode(e *jx.Encoder)
- func (s *ReorderHostRequestDto) GetHosts() []ReorderRequestItem
- func (s *ReorderHostRequestDto) MarshalJSON() ([]byte, error)
- func (s *ReorderHostRequestDto) SetFake()
- func (s *ReorderHostRequestDto) SetHosts(val []ReorderRequestItem)
- func (s *ReorderHostRequestDto) UnmarshalJSON(data []byte) error
- func (s *ReorderHostRequestDto) Validate() error
- type ReorderHostResponseDto
- func (s *ReorderHostResponseDto) Decode(d *jx.Decoder) error
- func (s *ReorderHostResponseDto) Encode(e *jx.Encoder)
- func (s *ReorderHostResponseDto) GetResponse() ReorderHostResponseDtoResponse
- func (s *ReorderHostResponseDto) MarshalJSON() ([]byte, error)
- func (s *ReorderHostResponseDto) SetFake()
- func (s *ReorderHostResponseDto) SetResponse(val ReorderHostResponseDtoResponse)
- func (s *ReorderHostResponseDto) UnmarshalJSON(data []byte) error
- type ReorderHostResponseDtoResponse
- func (s *ReorderHostResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *ReorderHostResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *ReorderHostResponseDtoResponse) GetIsUpdated() bool
- func (s *ReorderHostResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *ReorderHostResponseDtoResponse) SetFake()
- func (s *ReorderHostResponseDtoResponse) SetIsUpdated(val bool)
- func (s *ReorderHostResponseDtoResponse) UnmarshalJSON(data []byte) error
- type ReorderNodeRequestDto
- func (s *ReorderNodeRequestDto) Decode(d *jx.Decoder) error
- func (s *ReorderNodeRequestDto) Encode(e *jx.Encoder)
- func (s *ReorderNodeRequestDto) GetNodes() []ReorderRequestItem
- func (s *ReorderNodeRequestDto) MarshalJSON() ([]byte, error)
- func (s *ReorderNodeRequestDto) SetFake()
- func (s *ReorderNodeRequestDto) SetNodes(val []ReorderRequestItem)
- func (s *ReorderNodeRequestDto) UnmarshalJSON(data []byte) error
- func (s *ReorderNodeRequestDto) Validate() error
- type ReorderRequest
- func (s *ReorderRequest) Decode(d *jx.Decoder) error
- func (s *ReorderRequest) Encode(e *jx.Encoder)
- func (s *ReorderRequest) GetItems() []ReorderRequestItem
- func (s *ReorderRequest) MarshalJSON() ([]byte, error)
- func (s *ReorderRequest) SetFake()
- func (s *ReorderRequest) SetItems(val []ReorderRequestItem)
- func (s *ReorderRequest) UnmarshalJSON(data []byte) error
- func (s *ReorderRequest) Validate() error
- type ReorderRequestItem
- func (s *ReorderRequestItem) Decode(d *jx.Decoder) error
- func (s *ReorderRequestItem) Encode(e *jx.Encoder)
- func (s *ReorderRequestItem) GetUUID() uuid.UUID
- func (s *ReorderRequestItem) GetViewPosition() int
- func (s *ReorderRequestItem) MarshalJSON() ([]byte, error)
- func (s *ReorderRequestItem) SetFake()
- func (s *ReorderRequestItem) SetUUID(val uuid.UUID)
- func (s *ReorderRequestItem) SetViewPosition(val int)
- func (s *ReorderRequestItem) UnmarshalJSON(data []byte) error
- type ResponseModification
- func (s *ResponseModification) Decode(d *jx.Decoder) error
- func (s *ResponseModification) Encode(e *jx.Encoder)
- func (s *ResponseModification) GetHeaders() []Header
- func (s *ResponseModification) GetSubscriptionTemplate() OptString
- func (s *ResponseModification) MarshalJSON() ([]byte, error)
- func (s *ResponseModification) SetFake()
- func (s *ResponseModification) SetHeaders(val []Header)
- func (s *ResponseModification) SetSubscriptionTemplate(val OptString)
- func (s *ResponseModification) UnmarshalJSON(data []byte) error
- func (s *ResponseModification) Validate() error
- type ResponseRules
- func (s *ResponseRules) Decode(d *jx.Decoder) error
- func (s *ResponseRules) Encode(e *jx.Encoder)
- func (s *ResponseRules) GetRules() []Rule
- func (s *ResponseRules) GetVersion() ResponseRulesVersion
- func (s *ResponseRules) MarshalJSON() ([]byte, error)
- func (s *ResponseRules) SetFake()
- func (s *ResponseRules) SetRules(val []Rule)
- func (s *ResponseRules) SetVersion(val ResponseRulesVersion)
- func (s *ResponseRules) UnmarshalJSON(data []byte) error
- func (s *ResponseRules) Validate() error
- type ResponseRulesVersion
- func (ResponseRulesVersion) AllValues() []ResponseRulesVersion
- func (s *ResponseRulesVersion) Decode(d *jx.Decoder) error
- func (s ResponseRulesVersion) Encode(e *jx.Encoder)
- func (s ResponseRulesVersion) MarshalJSON() ([]byte, error)
- func (s ResponseRulesVersion) MarshalText() ([]byte, error)
- func (s *ResponseRulesVersion) SetFake()
- func (s *ResponseRulesVersion) UnmarshalJSON(data []byte) error
- func (s *ResponseRulesVersion) UnmarshalText(data []byte) error
- func (s ResponseRulesVersion) Validate() error
- type ResponseWrapper
- func (r *ResponseWrapper) GetBool(key string) bool
- func (r *ResponseWrapper) GetField(key string) interface{}
- func (r *ResponseWrapper) GetInt(key string) int
- func (r *ResponseWrapper) GetString(key string) string
- func (r *ResponseWrapper) HasField(key string) bool
- func (r *ResponseWrapper) UnmarshalJSON(data []byte) error
- type RestartAllNodesRequestBodyDto
- func (s *RestartAllNodesRequestBodyDto) Decode(d *jx.Decoder) error
- func (s *RestartAllNodesRequestBodyDto) Encode(e *jx.Encoder)
- func (s *RestartAllNodesRequestBodyDto) GetForceRestart() OptBool
- func (s *RestartAllNodesRequestBodyDto) MarshalJSON() ([]byte, error)
- func (s *RestartAllNodesRequestBodyDto) SetFake()
- func (s *RestartAllNodesRequestBodyDto) SetForceRestart(val OptBool)
- func (s *RestartAllNodesRequestBodyDto) UnmarshalJSON(data []byte) error
- type RevokeUserSubscriptionBodyDto
- func (s *RevokeUserSubscriptionBodyDto) Decode(d *jx.Decoder) error
- func (s *RevokeUserSubscriptionBodyDto) Encode(e *jx.Encoder)
- func (s *RevokeUserSubscriptionBodyDto) GetShortUuid() OptString
- func (s *RevokeUserSubscriptionBodyDto) MarshalJSON() ([]byte, error)
- func (s *RevokeUserSubscriptionBodyDto) SetFake()
- func (s *RevokeUserSubscriptionBodyDto) SetShortUuid(val OptString)
- func (s *RevokeUserSubscriptionBodyDto) UnmarshalJSON(data []byte) error
- func (s *RevokeUserSubscriptionBodyDto) Validate() error
- type Rule
- func (s *Rule) Decode(d *jx.Decoder) error
- func (s *Rule) Encode(e *jx.Encoder)
- func (s *Rule) GetConditions() []Condition
- func (s *Rule) GetDescription() OptString
- func (s *Rule) GetEnabled() bool
- func (s *Rule) GetName() string
- func (s *Rule) GetOperator() RuleOperator
- func (s *Rule) GetResponseModifications() OptResponseModification
- func (s *Rule) GetResponseType() RuleResponseType
- func (s *Rule) MarshalJSON() ([]byte, error)
- func (s *Rule) SetConditions(val []Condition)
- func (s *Rule) SetDescription(val OptString)
- func (s *Rule) SetEnabled(val bool)
- func (s *Rule) SetFake()
- func (s *Rule) SetName(val string)
- func (s *Rule) SetOperator(val RuleOperator)
- func (s *Rule) SetResponseModifications(val OptResponseModification)
- func (s *Rule) SetResponseType(val RuleResponseType)
- func (s *Rule) UnmarshalJSON(data []byte) error
- func (s *Rule) Validate() error
- type RuleOperator
- func (RuleOperator) AllValues() []RuleOperator
- func (s *RuleOperator) Decode(d *jx.Decoder) error
- func (s RuleOperator) Encode(e *jx.Encoder)
- func (s RuleOperator) MarshalJSON() ([]byte, error)
- func (s RuleOperator) MarshalText() ([]byte, error)
- func (s *RuleOperator) SetFake()
- func (s *RuleOperator) UnmarshalJSON(data []byte) error
- func (s *RuleOperator) UnmarshalText(data []byte) error
- func (s RuleOperator) Validate() error
- type RuleResponseType
- func (RuleResponseType) AllValues() []RuleResponseType
- func (s *RuleResponseType) Decode(d *jx.Decoder) error
- func (s RuleResponseType) Encode(e *jx.Encoder)
- func (s RuleResponseType) MarshalJSON() ([]byte, error)
- func (s RuleResponseType) MarshalText() ([]byte, error)
- func (s *RuleResponseType) SetFake()
- func (s *RuleResponseType) UnmarshalJSON(data []byte) error
- func (s *RuleResponseType) UnmarshalText(data []byte) error
- func (s RuleResponseType) Validate() error
- type SecuritySource
- type SetInboundToManyHostsRequestDto
- func (s *SetInboundToManyHostsRequestDto) Decode(d *jx.Decoder) error
- func (s *SetInboundToManyHostsRequestDto) Encode(e *jx.Encoder)
- func (s *SetInboundToManyHostsRequestDto) GetConfigProfileInboundUuid() uuid.UUID
- func (s *SetInboundToManyHostsRequestDto) GetConfigProfileUuid() uuid.UUID
- func (s *SetInboundToManyHostsRequestDto) GetUuids() []uuid.UUID
- func (s *SetInboundToManyHostsRequestDto) MarshalJSON() ([]byte, error)
- func (s *SetInboundToManyHostsRequestDto) SetConfigProfileInboundUuid(val uuid.UUID)
- func (s *SetInboundToManyHostsRequestDto) SetConfigProfileUuid(val uuid.UUID)
- func (s *SetInboundToManyHostsRequestDto) SetFake()
- func (s *SetInboundToManyHostsRequestDto) SetUuids(val []uuid.UUID)
- func (s *SetInboundToManyHostsRequestDto) UnmarshalJSON(data []byte) error
- func (s *SetInboundToManyHostsRequestDto) Validate() error
- type SetPortToManyHostsRequestDto
- func (s *SetPortToManyHostsRequestDto) Decode(d *jx.Decoder) error
- func (s *SetPortToManyHostsRequestDto) Encode(e *jx.Encoder)
- func (s *SetPortToManyHostsRequestDto) GetPort() int
- func (s *SetPortToManyHostsRequestDto) GetUuids() []uuid.UUID
- func (s *SetPortToManyHostsRequestDto) MarshalJSON() ([]byte, error)
- func (s *SetPortToManyHostsRequestDto) SetFake()
- func (s *SetPortToManyHostsRequestDto) SetPort(val int)
- func (s *SetPortToManyHostsRequestDto) SetUuids(val []uuid.UUID)
- func (s *SetPortToManyHostsRequestDto) UnmarshalJSON(data []byte) error
- func (s *SetPortToManyHostsRequestDto) Validate() error
- type SettingsResponse
- func (s *SettingsResponse) Decode(d *jx.Decoder) error
- func (s *SettingsResponse) Encode(e *jx.Encoder)
- func (s *SettingsResponse) GetResponse() SettingsResponseResponse
- func (s *SettingsResponse) MarshalJSON() ([]byte, error)
- func (s *SettingsResponse) SetFake()
- func (s *SettingsResponse) SetResponse(val SettingsResponseResponse)
- func (s *SettingsResponse) UnmarshalJSON(data []byte) error
- func (s *SettingsResponse) Validate() error
- type SettingsResponseResponse
- func (s *SettingsResponseResponse) Decode(d *jx.Decoder) error
- func (s *SettingsResponseResponse) Encode(e *jx.Encoder)
- func (s *SettingsResponseResponse) GetBrandingSettings() NilBrandingSettings
- func (s *SettingsResponseResponse) GetOauth2Settings() NilOauth2Settings
- func (s *SettingsResponseResponse) GetPasskeySettings() NilPasskeySettings
- func (s *SettingsResponseResponse) GetPasswordSettings() NilPasswordSettings
- func (s *SettingsResponseResponse) GetTgAuthSettings() NilTgAuthSettings
- func (s *SettingsResponseResponse) MarshalJSON() ([]byte, error)
- func (s *SettingsResponseResponse) SetBrandingSettings(val NilBrandingSettings)
- func (s *SettingsResponseResponse) SetFake()
- func (s *SettingsResponseResponse) SetOauth2Settings(val NilOauth2Settings)
- func (s *SettingsResponseResponse) SetPasskeySettings(val NilPasskeySettings)
- func (s *SettingsResponseResponse) SetPasswordSettings(val NilPasswordSettings)
- func (s *SettingsResponseResponse) SetTgAuthSettings(val NilTgAuthSettings)
- func (s *SettingsResponseResponse) UnmarshalJSON(data []byte) error
- func (s *SettingsResponseResponse) Validate() error
- type SnippetRequest
- func (s *SnippetRequest) Decode(d *jx.Decoder) error
- func (s *SnippetRequest) Encode(e *jx.Encoder)
- func (s *SnippetRequest) GetName() string
- func (s *SnippetRequest) GetSnippet() []SnippetRequestSnippetItem
- func (s *SnippetRequest) MarshalJSON() ([]byte, error)
- func (s *SnippetRequest) SetFake()
- func (s *SnippetRequest) SetName(val string)
- func (s *SnippetRequest) SetSnippet(val []SnippetRequestSnippetItem)
- func (s *SnippetRequest) UnmarshalJSON(data []byte) error
- func (s *SnippetRequest) Validate() error
- type SnippetRequestSnippetItem
- func (s *SnippetRequestSnippetItem) Decode(d *jx.Decoder) error
- func (s *SnippetRequestSnippetItem) Encode(e *jx.Encoder)
- func (s *SnippetRequestSnippetItem) MarshalJSON() ([]byte, error)
- func (s *SnippetRequestSnippetItem) SetFake()
- func (s *SnippetRequestSnippetItem) UnmarshalJSON(data []byte) error
- type SnippetsClient
- func (sc *SnippetsClient) CreateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerCreateSnippetRes, error)
- func (sc *SnippetsClient) DeleteSnippetByName(ctx context.Context, request *DeleteSnippetRequestDto) (SnippetsControllerDeleteSnippetByNameRes, error)
- func (sc *SnippetsClient) GetSnippets(ctx context.Context) (SnippetsControllerGetSnippetsRes, error)
- func (sc *SnippetsClient) UpdateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerUpdateSnippetRes, error)
- type SnippetsControllerCreateSnippetConflict
- type SnippetsControllerCreateSnippetRes
- type SnippetsControllerDeleteSnippetByNameRes
- type SnippetsControllerGetSnippetsRes
- type SnippetsControllerUpdateSnippetConflict
- type SnippetsControllerUpdateSnippetRes
- type SnippetsResponse
- func (s *SnippetsResponse) Decode(d *jx.Decoder) error
- func (s *SnippetsResponse) Encode(e *jx.Encoder)
- func (s *SnippetsResponse) GetResponse() SnippetsResponseResponse
- func (s *SnippetsResponse) MarshalJSON() ([]byte, error)
- func (s *SnippetsResponse) SetFake()
- func (s *SnippetsResponse) SetResponse(val SnippetsResponseResponse)
- func (s *SnippetsResponse) UnmarshalJSON(data []byte) error
- func (s *SnippetsResponse) Validate() error
- type SnippetsResponseResponse
- func (s *SnippetsResponseResponse) Decode(d *jx.Decoder) error
- func (s *SnippetsResponseResponse) Encode(e *jx.Encoder)
- func (s *SnippetsResponseResponse) GetSnippets() []SnippetsResponseResponseSnippetsItem
- func (s *SnippetsResponseResponse) GetTotal() float64
- func (s *SnippetsResponseResponse) MarshalJSON() ([]byte, error)
- func (s *SnippetsResponseResponse) SetFake()
- func (s *SnippetsResponseResponse) SetSnippets(val []SnippetsResponseResponseSnippetsItem)
- func (s *SnippetsResponseResponse) SetTotal(val float64)
- func (s *SnippetsResponseResponse) UnmarshalJSON(data []byte) error
- func (s *SnippetsResponseResponse) Validate() error
- type SnippetsResponseResponseSnippetsItem
- func (s *SnippetsResponseResponseSnippetsItem) Decode(d *jx.Decoder) error
- func (s *SnippetsResponseResponseSnippetsItem) Encode(e *jx.Encoder)
- func (s *SnippetsResponseResponseSnippetsItem) GetName() string
- func (s *SnippetsResponseResponseSnippetsItem) GetSnippet() jx.Raw
- func (s *SnippetsResponseResponseSnippetsItem) MarshalJSON() ([]byte, error)
- func (s *SnippetsResponseResponseSnippetsItem) SetFake()
- func (s *SnippetsResponseResponseSnippetsItem) SetName(val string)
- func (s *SnippetsResponseResponseSnippetsItem) SetSnippet(val jx.Raw)
- func (s *SnippetsResponseResponseSnippetsItem) UnmarshalJSON(data []byte) error
- type StaticToken
- type StatsUserUsageResponseResponse
- func (s *StatsUserUsageResponseResponse) Decode(d *jx.Decoder) error
- func (s *StatsUserUsageResponseResponse) Encode(e *jx.Encoder)
- func (s *StatsUserUsageResponseResponse) GetResponse() StatsUserUsageResponseResponseResponse
- func (s *StatsUserUsageResponseResponse) MarshalJSON() ([]byte, error)
- func (s *StatsUserUsageResponseResponse) SetFake()
- func (s *StatsUserUsageResponseResponse) SetResponse(val StatsUserUsageResponseResponseResponse)
- func (s *StatsUserUsageResponseResponse) UnmarshalJSON(data []byte) error
- func (s *StatsUserUsageResponseResponse) Validate() error
- type StatsUserUsageResponseResponseResponse
- func (s *StatsUserUsageResponseResponseResponse) Decode(d *jx.Decoder) error
- func (s *StatsUserUsageResponseResponseResponse) Encode(e *jx.Encoder)
- func (s *StatsUserUsageResponseResponseResponse) GetCategories() []string
- func (s *StatsUserUsageResponseResponseResponse) GetSeries() []StatsUserUsageResponseResponseResponseSeriesItem
- func (s *StatsUserUsageResponseResponseResponse) GetSparklineData() []float64
- func (s *StatsUserUsageResponseResponseResponse) GetTopNodes() []StatsUserUsageResponseResponseResponseTopNodesItem
- func (s *StatsUserUsageResponseResponseResponse) MarshalJSON() ([]byte, error)
- func (s *StatsUserUsageResponseResponseResponse) SetCategories(val []string)
- func (s *StatsUserUsageResponseResponseResponse) SetFake()
- func (s *StatsUserUsageResponseResponseResponse) SetSeries(val []StatsUserUsageResponseResponseResponseSeriesItem)
- func (s *StatsUserUsageResponseResponseResponse) SetSparklineData(val []float64)
- func (s *StatsUserUsageResponseResponseResponse) SetTopNodes(val []StatsUserUsageResponseResponseResponseTopNodesItem)
- func (s *StatsUserUsageResponseResponseResponse) UnmarshalJSON(data []byte) error
- func (s *StatsUserUsageResponseResponseResponse) Validate() error
- type StatsUserUsageResponseResponseResponseSeriesItem
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) Decode(d *jx.Decoder) error
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) Encode(e *jx.Encoder)
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetColor() string
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetCountryCode() string
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetData() []float64
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetName() string
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetTotal() float64
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetUUID() uuid.UUID
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) MarshalJSON() ([]byte, error)
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetColor(val string)
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetCountryCode(val string)
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetData(val []float64)
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetFake()
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetName(val string)
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetTotal(val float64)
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetUUID(val uuid.UUID)
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) UnmarshalJSON(data []byte) error
- func (s *StatsUserUsageResponseResponseResponseSeriesItem) Validate() error
- type StatsUserUsageResponseResponseResponseTopNodesItem
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) Decode(d *jx.Decoder) error
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) Encode(e *jx.Encoder)
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetColor() string
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetCountryCode() string
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetName() string
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetTotal() float64
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetUUID() uuid.UUID
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) MarshalJSON() ([]byte, error)
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetColor(val string)
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetCountryCode(val string)
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetFake()
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetName(val string)
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetTotal(val float64)
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetUUID(val uuid.UUID)
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) UnmarshalJSON(data []byte) error
- func (s *StatsUserUsageResponseResponseResponseTopNodesItem) Validate() error
- type Subscription
- func (s *Subscription) Decode(d *jx.Decoder) error
- func (s *Subscription) Encode(e *jx.Encoder)
- func (s *Subscription) GetIsFound() bool
- func (s *Subscription) GetLinks() []string
- func (s *Subscription) GetSsConfLinks() SubscriptionSsConfLinks
- func (s *Subscription) GetSubscriptionUrl() string
- func (s *Subscription) GetUser() UserItem
- func (s *Subscription) MarshalJSON() ([]byte, error)
- func (s *Subscription) SetFake()
- func (s *Subscription) SetIsFound(val bool)
- func (s *Subscription) SetLinks(val []string)
- func (s *Subscription) SetSsConfLinks(val SubscriptionSsConfLinks)
- func (s *Subscription) SetSubscriptionUrl(val string)
- func (s *Subscription) SetUser(val UserItem)
- func (s *Subscription) UnmarshalJSON(data []byte) error
- func (s *Subscription) Validate() error
- type SubscriptionClient
- type SubscriptionControllerGetSubscriptionByClientTypeClientType
- func (SubscriptionControllerGetSubscriptionByClientTypeClientType) AllValues() []SubscriptionControllerGetSubscriptionByClientTypeClientType
- func (s SubscriptionControllerGetSubscriptionByClientTypeClientType) MarshalText() ([]byte, error)
- func (s *SubscriptionControllerGetSubscriptionByClientTypeClientType) UnmarshalText(data []byte) error
- func (s SubscriptionControllerGetSubscriptionByClientTypeClientType) Validate() error
- type SubscriptionControllerGetSubscriptionByClientTypeOK
- type SubscriptionControllerGetSubscriptionByClientTypeParams
- type SubscriptionControllerGetSubscriptionInfoByShortUuidParams
- type SubscriptionControllerGetSubscriptionInfoByShortUuidRes
- type SubscriptionControllerGetSubscriptionOK
- type SubscriptionControllerGetSubscriptionParams
- type SubscriptionControllerGetSubscriptionWithTypeOK
- type SubscriptionControllerGetSubscriptionWithTypeParams
- type SubscriptionPageConfigClient
- func (sc *SubscriptionPageConfigClient) CloneSubscriptionPageConfig(ctx context.Context, request *CloneSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerCloneSubscriptionPageConfigRes, error)
- func (sc *SubscriptionPageConfigClient) CreateConfig(ctx context.Context, request *ExternalSquadRequestRequest) (SubscriptionPageConfigControllerCreateConfigRes, error)
- func (sc *SubscriptionPageConfigClient) DeleteConfig(ctx context.Context, uuid string) (SubscriptionPageConfigControllerDeleteConfigRes, error)
- func (sc *SubscriptionPageConfigClient) GetAllConfigs(ctx context.Context) (SubscriptionPageConfigControllerGetAllConfigsRes, error)
- func (sc *SubscriptionPageConfigClient) GetConfigByUuid(ctx context.Context, uuid string) (SubscriptionPageConfigControllerGetConfigByUuidRes, error)
- func (sc *SubscriptionPageConfigClient) ReorderSubscriptionPageConfigs(ctx context.Context, request *ReorderRequest) (SubscriptionPageConfigControllerReorderSubscriptionPageConfigsRes, error)
- func (sc *SubscriptionPageConfigClient) UpdateConfig(ctx context.Context, request *UpdateSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerUpdateConfigRes, error)
- type SubscriptionPageConfigControllerCloneSubscriptionPageConfigRes
- type SubscriptionPageConfigControllerCreateConfigRes
- type SubscriptionPageConfigControllerDeleteConfigParams
- type SubscriptionPageConfigControllerDeleteConfigRes
- type SubscriptionPageConfigControllerGetAllConfigsRes
- type SubscriptionPageConfigControllerGetConfigByUuidParams
- type SubscriptionPageConfigControllerGetConfigByUuidRes
- type SubscriptionPageConfigControllerReorderSubscriptionPageConfigsRes
- type SubscriptionPageConfigControllerUpdateConfigRes
- type SubscriptionPageConfigResponseResponse
- func (s *SubscriptionPageConfigResponseResponse) Decode(d *jx.Decoder) error
- func (s *SubscriptionPageConfigResponseResponse) Encode(e *jx.Encoder)
- func (s *SubscriptionPageConfigResponseResponse) GetResponse() SubscriptionPageConfigResponseResponseResponse
- func (s *SubscriptionPageConfigResponseResponse) MarshalJSON() ([]byte, error)
- func (s *SubscriptionPageConfigResponseResponse) SetFake()
- func (s *SubscriptionPageConfigResponseResponse) SetResponse(val SubscriptionPageConfigResponseResponseResponse)
- func (s *SubscriptionPageConfigResponseResponse) UnmarshalJSON(data []byte) error
- type SubscriptionPageConfigResponseResponseResponse
- func (s *SubscriptionPageConfigResponseResponseResponse) Decode(d *jx.Decoder) error
- func (s *SubscriptionPageConfigResponseResponseResponse) Encode(e *jx.Encoder)
- func (s *SubscriptionPageConfigResponseResponseResponse) GetConfig() jx.Raw
- func (s *SubscriptionPageConfigResponseResponseResponse) GetName() string
- func (s *SubscriptionPageConfigResponseResponseResponse) GetUUID() uuid.UUID
- func (s *SubscriptionPageConfigResponseResponseResponse) GetViewPosition() int
- func (s *SubscriptionPageConfigResponseResponseResponse) MarshalJSON() ([]byte, error)
- func (s *SubscriptionPageConfigResponseResponseResponse) SetConfig(val jx.Raw)
- func (s *SubscriptionPageConfigResponseResponseResponse) SetFake()
- func (s *SubscriptionPageConfigResponseResponseResponse) SetName(val string)
- func (s *SubscriptionPageConfigResponseResponseResponse) SetUUID(val uuid.UUID)
- func (s *SubscriptionPageConfigResponseResponseResponse) SetViewPosition(val int)
- func (s *SubscriptionPageConfigResponseResponseResponse) UnmarshalJSON(data []byte) error
- type SubscriptionPageConfigsResponseResponse
- func (s *SubscriptionPageConfigsResponseResponse) Decode(d *jx.Decoder) error
- func (s *SubscriptionPageConfigsResponseResponse) Encode(e *jx.Encoder)
- func (s *SubscriptionPageConfigsResponseResponse) GetResponse() SubscriptionPageConfigsResponseResponseResponse
- func (s *SubscriptionPageConfigsResponseResponse) MarshalJSON() ([]byte, error)
- func (s *SubscriptionPageConfigsResponseResponse) SetFake()
- func (s *SubscriptionPageConfigsResponseResponse) SetResponse(val SubscriptionPageConfigsResponseResponseResponse)
- func (s *SubscriptionPageConfigsResponseResponse) UnmarshalJSON(data []byte) error
- func (s *SubscriptionPageConfigsResponseResponse) Validate() error
- type SubscriptionPageConfigsResponseResponseResponse
- func (s *SubscriptionPageConfigsResponseResponseResponse) Decode(d *jx.Decoder) error
- func (s *SubscriptionPageConfigsResponseResponseResponse) Encode(e *jx.Encoder)
- func (s *SubscriptionPageConfigsResponseResponseResponse) GetConfigs() []Config
- func (s *SubscriptionPageConfigsResponseResponseResponse) GetTotal() float64
- func (s *SubscriptionPageConfigsResponseResponseResponse) MarshalJSON() ([]byte, error)
- func (s *SubscriptionPageConfigsResponseResponseResponse) SetConfigs(val []Config)
- func (s *SubscriptionPageConfigsResponseResponseResponse) SetFake()
- func (s *SubscriptionPageConfigsResponseResponseResponse) SetTotal(val float64)
- func (s *SubscriptionPageConfigsResponseResponseResponse) UnmarshalJSON(data []byte) error
- func (s *SubscriptionPageConfigsResponseResponseResponse) Validate() error
- type SubscriptionResponse
- func (s *SubscriptionResponse) Decode(d *jx.Decoder) error
- func (s *SubscriptionResponse) Encode(e *jx.Encoder)
- func (s *SubscriptionResponse) GetResponse() Subscription
- func (s *SubscriptionResponse) MarshalJSON() ([]byte, error)
- func (s *SubscriptionResponse) SetFake()
- func (s *SubscriptionResponse) SetResponse(val Subscription)
- func (s *SubscriptionResponse) UnmarshalJSON(data []byte) error
- func (s *SubscriptionResponse) Validate() error
- type SubscriptionSettings
- func (s *SubscriptionSettings) Decode(d *jx.Decoder) error
- func (s *SubscriptionSettings) Encode(e *jx.Encoder)
- func (s *SubscriptionSettings) GetHappAnnounce() OptNilString
- func (s *SubscriptionSettings) GetHappRouting() OptNilString
- func (s *SubscriptionSettings) GetIsProfileWebpageUrlEnabled() OptBool
- func (s *SubscriptionSettings) GetIsShowCustomRemarks() OptBool
- func (s *SubscriptionSettings) GetProfileTitle() OptString
- func (s *SubscriptionSettings) GetProfileUpdateInterval() OptInt
- func (s *SubscriptionSettings) GetRandomizeHosts() OptBool
- func (s *SubscriptionSettings) GetServeJsonAtBaseSubscription() OptBool
- func (s *SubscriptionSettings) GetSupportLink() OptString
- func (s *SubscriptionSettings) MarshalJSON() ([]byte, error)
- func (s *SubscriptionSettings) SetFake()
- func (s *SubscriptionSettings) SetHappAnnounce(val OptNilString)
- func (s *SubscriptionSettings) SetHappRouting(val OptNilString)
- func (s *SubscriptionSettings) SetIsProfileWebpageUrlEnabled(val OptBool)
- func (s *SubscriptionSettings) SetIsShowCustomRemarks(val OptBool)
- func (s *SubscriptionSettings) SetProfileTitle(val OptString)
- func (s *SubscriptionSettings) SetProfileUpdateInterval(val OptInt)
- func (s *SubscriptionSettings) SetRandomizeHosts(val OptBool)
- func (s *SubscriptionSettings) SetServeJsonAtBaseSubscription(val OptBool)
- func (s *SubscriptionSettings) SetSupportLink(val OptString)
- func (s *SubscriptionSettings) UnmarshalJSON(data []byte) error
- func (s *SubscriptionSettings) Validate() error
- type SubscriptionSettingsClient
- func (sc *SubscriptionSettingsClient) GetSettings(ctx context.Context) (SubscriptionSettingsControllerGetSettingsRes, error)
- func (sc *SubscriptionSettingsClient) UpdateSettings(ctx context.Context, request *UpdateSubscriptionSettingsRequestDto) (SubscriptionSettingsControllerUpdateSettingsRes, error)
- type SubscriptionSettingsControllerGetSettingsRes
- type SubscriptionSettingsControllerUpdateSettingsRes
- type SubscriptionSettingsResponse
- func (s *SubscriptionSettingsResponse) Decode(d *jx.Decoder) error
- func (s *SubscriptionSettingsResponse) Encode(e *jx.Encoder)
- func (s *SubscriptionSettingsResponse) GetResponse() SubscriptionSettingsResponseResponse
- func (s *SubscriptionSettingsResponse) MarshalJSON() ([]byte, error)
- func (s *SubscriptionSettingsResponse) SetFake()
- func (s *SubscriptionSettingsResponse) SetResponse(val SubscriptionSettingsResponseResponse)
- func (s *SubscriptionSettingsResponse) UnmarshalJSON(data []byte) error
- func (s *SubscriptionSettingsResponse) Validate() error
- type SubscriptionSettingsResponseResponse
- func (s *SubscriptionSettingsResponseResponse) Decode(d *jx.Decoder) error
- func (s *SubscriptionSettingsResponseResponse) Encode(e *jx.Encoder)
- func (s *SubscriptionSettingsResponseResponse) GetCreatedAt() time.Time
- func (s *SubscriptionSettingsResponseResponse) GetCustomRemarks() NilCustomRemark
- func (s *SubscriptionSettingsResponseResponse) GetCustomResponseHeaders() NilSubscriptionSettingsResponseResponseCustomResponseHeaders
- func (s *SubscriptionSettingsResponseResponse) GetHappAnnounce() NilString
- func (s *SubscriptionSettingsResponseResponse) GetHappRouting() NilString
- func (s *SubscriptionSettingsResponseResponse) GetHwidSettings() NilHwidSettings
- func (s *SubscriptionSettingsResponseResponse) GetIsProfileWebpageUrlEnabled() bool
- func (s *SubscriptionSettingsResponseResponse) GetIsShowCustomRemarks() bool
- func (s *SubscriptionSettingsResponseResponse) GetProfileTitle() string
- func (s *SubscriptionSettingsResponseResponse) GetProfileUpdateInterval() int
- func (s *SubscriptionSettingsResponseResponse) GetRandomizeHosts() bool
- func (s *SubscriptionSettingsResponseResponse) GetResponseRules() ResponseRules
- func (s *SubscriptionSettingsResponseResponse) GetServeJsonAtBaseSubscription() bool
- func (s *SubscriptionSettingsResponseResponse) GetSupportLink() string
- func (s *SubscriptionSettingsResponseResponse) GetUUID() uuid.UUID
- func (s *SubscriptionSettingsResponseResponse) GetUpdatedAt() time.Time
- func (s *SubscriptionSettingsResponseResponse) MarshalJSON() ([]byte, error)
- func (s *SubscriptionSettingsResponseResponse) SetCreatedAt(val time.Time)
- func (s *SubscriptionSettingsResponseResponse) SetCustomRemarks(val NilCustomRemark)
- func (s *SubscriptionSettingsResponseResponse) SetCustomResponseHeaders(val NilSubscriptionSettingsResponseResponseCustomResponseHeaders)
- func (s *SubscriptionSettingsResponseResponse) SetFake()
- func (s *SubscriptionSettingsResponseResponse) SetHappAnnounce(val NilString)
- func (s *SubscriptionSettingsResponseResponse) SetHappRouting(val NilString)
- func (s *SubscriptionSettingsResponseResponse) SetHwidSettings(val NilHwidSettings)
- func (s *SubscriptionSettingsResponseResponse) SetIsProfileWebpageUrlEnabled(val bool)
- func (s *SubscriptionSettingsResponseResponse) SetIsShowCustomRemarks(val bool)
- func (s *SubscriptionSettingsResponseResponse) SetProfileTitle(val string)
- func (s *SubscriptionSettingsResponseResponse) SetProfileUpdateInterval(val int)
- func (s *SubscriptionSettingsResponseResponse) SetRandomizeHosts(val bool)
- func (s *SubscriptionSettingsResponseResponse) SetResponseRules(val ResponseRules)
- func (s *SubscriptionSettingsResponseResponse) SetServeJsonAtBaseSubscription(val bool)
- func (s *SubscriptionSettingsResponseResponse) SetSupportLink(val string)
- func (s *SubscriptionSettingsResponseResponse) SetUUID(val uuid.UUID)
- func (s *SubscriptionSettingsResponseResponse) SetUpdatedAt(val time.Time)
- func (s *SubscriptionSettingsResponseResponse) UnmarshalJSON(data []byte) error
- func (s *SubscriptionSettingsResponseResponse) Validate() error
- type SubscriptionSettingsResponseResponseCustomResponseHeaders
- func (s *SubscriptionSettingsResponseResponseCustomResponseHeaders) Decode(d *jx.Decoder) error
- func (s SubscriptionSettingsResponseResponseCustomResponseHeaders) Encode(e *jx.Encoder)
- func (s SubscriptionSettingsResponseResponseCustomResponseHeaders) MarshalJSON() ([]byte, error)
- func (s *SubscriptionSettingsResponseResponseCustomResponseHeaders) SetFake()
- func (s *SubscriptionSettingsResponseResponseCustomResponseHeaders) UnmarshalJSON(data []byte) error
- type SubscriptionSsConfLinks
- type SubscriptionTemplateClient
- func (sc *SubscriptionTemplateClient) CreateTemplate(ctx context.Context, request *CreateSubscriptionTemplateRequestDto) (SubscriptionTemplateControllerCreateTemplateRes, error)
- func (sc *SubscriptionTemplateClient) DeleteTemplate(ctx context.Context, uuid string) (SubscriptionTemplateControllerDeleteTemplateRes, error)
- func (sc *SubscriptionTemplateClient) GetAllTemplates(ctx context.Context) (SubscriptionTemplateControllerGetAllTemplatesRes, error)
- func (sc *SubscriptionTemplateClient) GetTemplateByUuid(ctx context.Context, uuid string) (SubscriptionTemplateControllerGetTemplateByUuidRes, error)
- func (sc *SubscriptionTemplateClient) ReorderSubscriptionTemplates(ctx context.Context, request *ReorderRequest) (SubscriptionTemplateControllerReorderSubscriptionTemplatesRes, error)
- func (sc *SubscriptionTemplateClient) UpdateTemplate(ctx context.Context, request *UpdateTemplateRequestDto) (SubscriptionTemplateControllerUpdateTemplateRes, error)
- type SubscriptionTemplateControllerCreateTemplateRes
- type SubscriptionTemplateControllerDeleteTemplateParams
- type SubscriptionTemplateControllerDeleteTemplateRes
- type SubscriptionTemplateControllerGetAllTemplatesRes
- type SubscriptionTemplateControllerGetTemplateByUuidParams
- type SubscriptionTemplateControllerGetTemplateByUuidRes
- type SubscriptionTemplateControllerReorderSubscriptionTemplatesRes
- type SubscriptionTemplateControllerUpdateTemplateRes
- type SubscriptionsClient
- func (sc *SubscriptionsClient) GetAllSubscriptions(ctx context.Context, size float64, start float64) (SubscriptionsControllerGetAllSubscriptionsRes, error)
- func (sc *SubscriptionsClient) GetRawSubscriptionByShortUuid(ctx context.Context, withdisabledhosts bool, shortuuid string) (SubscriptionsControllerGetRawSubscriptionByShortUuidRes, error)
- func (sc *SubscriptionsClient) GetSubpageConfigByShortUuid(ctx context.Context, request *GetSubpageConfigByShortUuidRequestBodyDto, ...) (SubscriptionsControllerGetSubpageConfigByShortUuidRes, error)
- func (sc *SubscriptionsClient) GetSubscriptionByShortUuidProtected(ctx context.Context, shortuuid string) (SubscriptionsControllerGetSubscriptionByShortUuidProtectedRes, error)
- func (sc *SubscriptionsClient) GetSubscriptionByUsername(ctx context.Context, username string) (SubscriptionsControllerGetSubscriptionByUsernameRes, error)
- func (sc *SubscriptionsClient) GetSubscriptionByUuid(ctx context.Context, uuid string) (SubscriptionsControllerGetSubscriptionByUuidRes, error)
- type SubscriptionsControllerGetAllSubscriptionsParams
- type SubscriptionsControllerGetAllSubscriptionsRes
- type SubscriptionsControllerGetRawSubscriptionByShortUuidParams
- type SubscriptionsControllerGetRawSubscriptionByShortUuidRes
- type SubscriptionsControllerGetSubpageConfigByShortUuidParams
- type SubscriptionsControllerGetSubpageConfigByShortUuidRes
- type SubscriptionsControllerGetSubscriptionByShortUuidProtectedParams
- type SubscriptionsControllerGetSubscriptionByShortUuidProtectedRes
- type SubscriptionsControllerGetSubscriptionByUsernameParams
- type SubscriptionsControllerGetSubscriptionByUsernameRes
- type SubscriptionsControllerGetSubscriptionByUuidParams
- type SubscriptionsControllerGetSubscriptionByUuidRes
- type SystemClient
- func (sc *SystemClient) DebugSrrMatcher(ctx context.Context, request *DebugSrrMatcherRequestDto) (SystemControllerDebugSrrMatcherRes, error)
- func (sc *SystemClient) EncryptHappCryptoLink(ctx context.Context, request *EncryptHappCryptoLinkRequestDto) (SystemControllerEncryptHappCryptoLinkRes, error)
- func (sc *SystemClient) GetBandwidthStats(ctx context.Context) (SystemControllerGetBandwidthStatsRes, error)
- func (sc *SystemClient) GetNodesMetrics(ctx context.Context) (SystemControllerGetNodesMetricsRes, error)
- func (sc *SystemClient) GetNodesStatistics(ctx context.Context) (SystemControllerGetNodesStatisticsRes, error)
- func (sc *SystemClient) GetRemnawaveHealth(ctx context.Context) (SystemControllerGetRemnawaveHealthRes, error)
- func (sc *SystemClient) GetStats(ctx context.Context) (SystemControllerGetStatsRes, error)
- func (sc *SystemClient) GetX25519Keypairs(ctx context.Context) (SystemControllerGetX25519KeypairsRes, error)
- type SystemControllerDebugSrrMatcherRes
- type SystemControllerEncryptHappCryptoLinkRes
- type SystemControllerGetBandwidthStatsRes
- type SystemControllerGetNodesMetricsRes
- type SystemControllerGetNodesStatisticsRes
- type SystemControllerGetRemnawaveHealthRes
- type SystemControllerGetStatsRes
- type SystemControllerGetX25519KeypairsRes
- type TagsResponse
- func (s *TagsResponse) Decode(d *jx.Decoder) error
- func (s *TagsResponse) Encode(e *jx.Encoder)
- func (s *TagsResponse) GetResponse() TagsResponseResponse
- func (s *TagsResponse) MarshalJSON() ([]byte, error)
- func (s *TagsResponse) SetFake()
- func (s *TagsResponse) SetResponse(val TagsResponseResponse)
- func (s *TagsResponse) UnmarshalJSON(data []byte) error
- func (s *TagsResponse) Validate() error
- type TagsResponseResponse
- func (s *TagsResponseResponse) Decode(d *jx.Decoder) error
- func (s *TagsResponseResponse) Encode(e *jx.Encoder)
- func (s *TagsResponseResponse) GetTags() []string
- func (s *TagsResponseResponse) MarshalJSON() ([]byte, error)
- func (s *TagsResponseResponse) SetFake()
- func (s *TagsResponseResponse) SetTags(val []string)
- func (s *TagsResponseResponse) UnmarshalJSON(data []byte) error
- func (s *TagsResponseResponse) Validate() error
- type TelegramCallbackRequestDto
- func (s *TelegramCallbackRequestDto) Decode(d *jx.Decoder) error
- func (s *TelegramCallbackRequestDto) Encode(e *jx.Encoder)
- func (s *TelegramCallbackRequestDto) GetAuthDate() float64
- func (s *TelegramCallbackRequestDto) GetFirstName() string
- func (s *TelegramCallbackRequestDto) GetHash() string
- func (s *TelegramCallbackRequestDto) GetID() float64
- func (s *TelegramCallbackRequestDto) GetLastName() OptString
- func (s *TelegramCallbackRequestDto) GetPhotoURL() OptString
- func (s *TelegramCallbackRequestDto) GetUsername() OptString
- func (s *TelegramCallbackRequestDto) MarshalJSON() ([]byte, error)
- func (s *TelegramCallbackRequestDto) SetAuthDate(val float64)
- func (s *TelegramCallbackRequestDto) SetFake()
- func (s *TelegramCallbackRequestDto) SetFirstName(val string)
- func (s *TelegramCallbackRequestDto) SetHash(val string)
- func (s *TelegramCallbackRequestDto) SetID(val float64)
- func (s *TelegramCallbackRequestDto) SetLastName(val OptString)
- func (s *TelegramCallbackRequestDto) SetPhotoURL(val OptString)
- func (s *TelegramCallbackRequestDto) SetUsername(val OptString)
- func (s *TelegramCallbackRequestDto) UnmarshalJSON(data []byte) error
- func (s *TelegramCallbackRequestDto) Validate() error
- type Template
- func (s *Template) Decode(d *jx.Decoder) error
- func (s *Template) Encode(e *jx.Encoder)
- func (s *Template) GetEncodedTemplateYaml() NilString
- func (s *Template) GetName() string
- func (s *Template) GetTemplateJson() jx.Raw
- func (s *Template) GetTemplateType() TemplateTemplateType
- func (s *Template) GetUUID() uuid.UUID
- func (s *Template) GetViewPosition() int
- func (s *Template) MarshalJSON() ([]byte, error)
- func (s *Template) SetEncodedTemplateYaml(val NilString)
- func (s *Template) SetFake()
- func (s *Template) SetName(val string)
- func (s *Template) SetTemplateJson(val jx.Raw)
- func (s *Template) SetTemplateType(val TemplateTemplateType)
- func (s *Template) SetUUID(val uuid.UUID)
- func (s *Template) SetViewPosition(val int)
- func (s *Template) UnmarshalJSON(data []byte) error
- func (s *Template) Validate() error
- type TemplateRef
- func (s *TemplateRef) Decode(d *jx.Decoder) error
- func (s *TemplateRef) Encode(e *jx.Encoder)
- func (s *TemplateRef) GetTemplateType() TemplateRefTemplateType
- func (s *TemplateRef) GetTemplateUuid() uuid.UUID
- func (s *TemplateRef) MarshalJSON() ([]byte, error)
- func (s *TemplateRef) SetFake()
- func (s *TemplateRef) SetTemplateType(val TemplateRefTemplateType)
- func (s *TemplateRef) SetTemplateUuid(val uuid.UUID)
- func (s *TemplateRef) UnmarshalJSON(data []byte) error
- func (s *TemplateRef) Validate() error
- type TemplateRefTemplateType
- func (TemplateRefTemplateType) AllValues() []TemplateRefTemplateType
- func (s *TemplateRefTemplateType) Decode(d *jx.Decoder) error
- func (s TemplateRefTemplateType) Encode(e *jx.Encoder)
- func (s TemplateRefTemplateType) MarshalJSON() ([]byte, error)
- func (s TemplateRefTemplateType) MarshalText() ([]byte, error)
- func (s *TemplateRefTemplateType) SetFake()
- func (s *TemplateRefTemplateType) UnmarshalJSON(data []byte) error
- func (s *TemplateRefTemplateType) UnmarshalText(data []byte) error
- func (s TemplateRefTemplateType) Validate() error
- type TemplateResponse
- func (s *TemplateResponse) Decode(d *jx.Decoder) error
- func (s *TemplateResponse) Encode(e *jx.Encoder)
- func (s *TemplateResponse) GetResponse() Template
- func (s *TemplateResponse) MarshalJSON() ([]byte, error)
- func (s *TemplateResponse) SetFake()
- func (s *TemplateResponse) SetResponse(val Template)
- func (s *TemplateResponse) UnmarshalJSON(data []byte) error
- func (s *TemplateResponse) Validate() error
- type TemplateTemplateType
- func (TemplateTemplateType) AllValues() []TemplateTemplateType
- func (s *TemplateTemplateType) Decode(d *jx.Decoder) error
- func (s TemplateTemplateType) Encode(e *jx.Encoder)
- func (s TemplateTemplateType) MarshalJSON() ([]byte, error)
- func (s TemplateTemplateType) MarshalText() ([]byte, error)
- func (s *TemplateTemplateType) SetFake()
- func (s *TemplateTemplateType) UnmarshalJSON(data []byte) error
- func (s *TemplateTemplateType) UnmarshalText(data []byte) error
- func (s TemplateTemplateType) Validate() error
- type TemplatesResponse
- func (s *TemplatesResponse) Decode(d *jx.Decoder) error
- func (s *TemplatesResponse) Encode(e *jx.Encoder)
- func (s *TemplatesResponse) GetResponse() TemplatesResponseResponse
- func (s *TemplatesResponse) MarshalJSON() ([]byte, error)
- func (s *TemplatesResponse) SetFake()
- func (s *TemplatesResponse) SetResponse(val TemplatesResponseResponse)
- func (s *TemplatesResponse) UnmarshalJSON(data []byte) error
- func (s *TemplatesResponse) Validate() error
- type TemplatesResponseResponse
- func (s *TemplatesResponseResponse) Decode(d *jx.Decoder) error
- func (s *TemplatesResponseResponse) Encode(e *jx.Encoder)
- func (s *TemplatesResponseResponse) GetTemplates() []Template
- func (s *TemplatesResponseResponse) GetTotal() float64
- func (s *TemplatesResponseResponse) MarshalJSON() ([]byte, error)
- func (s *TemplatesResponseResponse) SetFake()
- func (s *TemplatesResponseResponse) SetTemplates(val []Template)
- func (s *TemplatesResponseResponse) SetTotal(val float64)
- func (s *TemplatesResponseResponse) UnmarshalJSON(data []byte) error
- func (s *TemplatesResponseResponse) Validate() error
- type TgAuthSettings
- func (s *TgAuthSettings) Decode(d *jx.Decoder) error
- func (s *TgAuthSettings) Encode(e *jx.Encoder)
- func (s *TgAuthSettings) GetAdminIds() []string
- func (s *TgAuthSettings) GetBotToken() NilString
- func (s *TgAuthSettings) GetEnabled() bool
- func (s *TgAuthSettings) MarshalJSON() ([]byte, error)
- func (s *TgAuthSettings) SetAdminIds(val []string)
- func (s *TgAuthSettings) SetBotToken(val NilString)
- func (s *TgAuthSettings) SetEnabled(val bool)
- func (s *TgAuthSettings) SetFake()
- func (s *TgAuthSettings) UnmarshalJSON(data []byte) error
- func (s *TgAuthSettings) Validate() error
- type TokenResponse
- func (s *TokenResponse) Decode(d *jx.Decoder) error
- func (s *TokenResponse) Encode(e *jx.Encoder)
- func (s *TokenResponse) GetResponse() TokenResponseResponse
- func (s *TokenResponse) MarshalJSON() ([]byte, error)
- func (s *TokenResponse) SetFake()
- func (s *TokenResponse) SetResponse(val TokenResponseResponse)
- func (s *TokenResponse) UnmarshalJSON(data []byte) error
- type TokenResponseResponse
- func (s *TokenResponseResponse) Decode(d *jx.Decoder) error
- func (s *TokenResponseResponse) Encode(e *jx.Encoder)
- func (s *TokenResponseResponse) GetAccessToken() string
- func (s *TokenResponseResponse) MarshalJSON() ([]byte, error)
- func (s *TokenResponseResponse) SetAccessToken(val string)
- func (s *TokenResponseResponse) SetFake()
- func (s *TokenResponseResponse) UnmarshalJSON(data []byte) error
- type TokenResponseStatusCode
- type UnauthorizedError
- func (s *UnauthorizedError) Decode(d *jx.Decoder) error
- func (s *UnauthorizedError) Encode(e *jx.Encoder)
- func (s *UnauthorizedError) GetMessage() string
- func (s *UnauthorizedError) GetStatusCode() float64
- func (s *UnauthorizedError) MarshalJSON() ([]byte, error)
- func (s *UnauthorizedError) SetFake()
- func (s *UnauthorizedError) SetMessage(val string)
- func (s *UnauthorizedError) SetStatusCode(val float64)
- func (s *UnauthorizedError) UnmarshalJSON(data []byte) error
- func (s *UnauthorizedError) Validate() error
- type UnknownFieldsDecoder
- type UpdateConfigProfileRequestDto
- func (s *UpdateConfigProfileRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateConfigProfileRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateConfigProfileRequestDto) GetConfig() *UpdateConfigProfileRequestDtoConfig
- func (s *UpdateConfigProfileRequestDto) GetName() OptString
- func (s *UpdateConfigProfileRequestDto) GetUUID() uuid.UUID
- func (s *UpdateConfigProfileRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateConfigProfileRequestDto) SetConfig(val *UpdateConfigProfileRequestDtoConfig)
- func (s *UpdateConfigProfileRequestDto) SetFake()
- func (s *UpdateConfigProfileRequestDto) SetName(val OptString)
- func (s *UpdateConfigProfileRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateConfigProfileRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateConfigProfileRequestDto) Validate() error
- type UpdateConfigProfileRequestDtoConfig
- func (s *UpdateConfigProfileRequestDtoConfig) Decode(d *jx.Decoder) error
- func (s *UpdateConfigProfileRequestDtoConfig) Encode(e *jx.Encoder)
- func (s *UpdateConfigProfileRequestDtoConfig) MarshalJSON() ([]byte, error)
- func (s *UpdateConfigProfileRequestDtoConfig) SetFake()
- func (s *UpdateConfigProfileRequestDtoConfig) UnmarshalJSON(data []byte) error
- type UpdateExternalSquadRequestDto
- func (s *UpdateExternalSquadRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateExternalSquadRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateExternalSquadRequestDto) GetCustomRemarks() OptNilCustomRemark
- func (s *UpdateExternalSquadRequestDto) GetHostOverrides() OptNilHostOverride
- func (s *UpdateExternalSquadRequestDto) GetHwidSettings() OptNilHwidSettings
- func (s *UpdateExternalSquadRequestDto) GetName() OptString
- func (s *UpdateExternalSquadRequestDto) GetResponseHeaders() OptNilUpdateExternalSquadRequestDtoResponseHeaders
- func (s *UpdateExternalSquadRequestDto) GetSubpageConfigUuid() OptNilUUID
- func (s *UpdateExternalSquadRequestDto) GetSubscriptionSettings() OptNilSubscriptionSettings
- func (s *UpdateExternalSquadRequestDto) GetTemplates() []TemplateRef
- func (s *UpdateExternalSquadRequestDto) GetUUID() uuid.UUID
- func (s *UpdateExternalSquadRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateExternalSquadRequestDto) SetCustomRemarks(val OptNilCustomRemark)
- func (s *UpdateExternalSquadRequestDto) SetFake()
- func (s *UpdateExternalSquadRequestDto) SetHostOverrides(val OptNilHostOverride)
- func (s *UpdateExternalSquadRequestDto) SetHwidSettings(val OptNilHwidSettings)
- func (s *UpdateExternalSquadRequestDto) SetName(val OptString)
- func (s *UpdateExternalSquadRequestDto) SetResponseHeaders(val OptNilUpdateExternalSquadRequestDtoResponseHeaders)
- func (s *UpdateExternalSquadRequestDto) SetSubpageConfigUuid(val OptNilUUID)
- func (s *UpdateExternalSquadRequestDto) SetSubscriptionSettings(val OptNilSubscriptionSettings)
- func (s *UpdateExternalSquadRequestDto) SetTemplates(val []TemplateRef)
- func (s *UpdateExternalSquadRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateExternalSquadRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateExternalSquadRequestDto) Validate() error
- type UpdateExternalSquadRequestDtoResponseHeaders
- func (s *UpdateExternalSquadRequestDtoResponseHeaders) Decode(d *jx.Decoder) error
- func (s UpdateExternalSquadRequestDtoResponseHeaders) Encode(e *jx.Encoder)
- func (s UpdateExternalSquadRequestDtoResponseHeaders) MarshalJSON() ([]byte, error)
- func (s *UpdateExternalSquadRequestDtoResponseHeaders) SetFake()
- func (s *UpdateExternalSquadRequestDtoResponseHeaders) UnmarshalJSON(data []byte) error
- type UpdateHostRequestDto
- func (s *UpdateHostRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateHostRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateHostRequestDto) GetAddress() OptString
- func (s *UpdateHostRequestDto) GetAllowInsecure() OptBool
- func (s *UpdateHostRequestDto) GetAlpn() OptNilUpdateHostRequestDtoAlpn
- func (s *UpdateHostRequestDto) GetExcludedInternalSquads() []uuid.UUID
- func (s *UpdateHostRequestDto) GetFingerprint() OptNilUpdateHostRequestDtoFingerprint
- func (s *UpdateHostRequestDto) GetHost() OptString
- func (s *UpdateHostRequestDto) GetInbound() OptInboundRef
- func (s *UpdateHostRequestDto) GetIsDisabled() OptBool
- func (s *UpdateHostRequestDto) GetIsHidden() OptBool
- func (s *UpdateHostRequestDto) GetKeepSniBlank() OptBool
- func (s *UpdateHostRequestDto) GetMihomoX25519() OptBool
- func (s *UpdateHostRequestDto) GetMuxParams() jx.Raw
- func (s *UpdateHostRequestDto) GetNodes() []uuid.UUID
- func (s *UpdateHostRequestDto) GetOverrideSniFromAddress() OptBool
- func (s *UpdateHostRequestDto) GetPath() OptString
- func (s *UpdateHostRequestDto) GetPort() OptInt
- func (s *UpdateHostRequestDto) GetRemark() OptString
- func (s *UpdateHostRequestDto) GetSecurityLayer() OptUpdateHostRequestDtoSecurityLayer
- func (s *UpdateHostRequestDto) GetServerDescription() OptNilString
- func (s *UpdateHostRequestDto) GetShuffleHost() OptBool
- func (s *UpdateHostRequestDto) GetSni() OptString
- func (s *UpdateHostRequestDto) GetSockoptParams() jx.Raw
- func (s *UpdateHostRequestDto) GetTag() OptNilString
- func (s *UpdateHostRequestDto) GetUUID() uuid.UUID
- func (s *UpdateHostRequestDto) GetVlessRouteId() OptNilInt
- func (s *UpdateHostRequestDto) GetXHttpExtraParams() jx.Raw
- func (s *UpdateHostRequestDto) GetXrayJsonTemplateUuid() OptNilUUID
- func (s *UpdateHostRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateHostRequestDto) SetAddress(val OptString)
- func (s *UpdateHostRequestDto) SetAllowInsecure(val OptBool)
- func (s *UpdateHostRequestDto) SetAlpn(val OptNilUpdateHostRequestDtoAlpn)
- func (s *UpdateHostRequestDto) SetExcludedInternalSquads(val []uuid.UUID)
- func (s *UpdateHostRequestDto) SetFake()
- func (s *UpdateHostRequestDto) SetFingerprint(val OptNilUpdateHostRequestDtoFingerprint)
- func (s *UpdateHostRequestDto) SetHost(val OptString)
- func (s *UpdateHostRequestDto) SetInbound(val OptInboundRef)
- func (s *UpdateHostRequestDto) SetIsDisabled(val OptBool)
- func (s *UpdateHostRequestDto) SetIsHidden(val OptBool)
- func (s *UpdateHostRequestDto) SetKeepSniBlank(val OptBool)
- func (s *UpdateHostRequestDto) SetMihomoX25519(val OptBool)
- func (s *UpdateHostRequestDto) SetMuxParams(val jx.Raw)
- func (s *UpdateHostRequestDto) SetNodes(val []uuid.UUID)
- func (s *UpdateHostRequestDto) SetOverrideSniFromAddress(val OptBool)
- func (s *UpdateHostRequestDto) SetPath(val OptString)
- func (s *UpdateHostRequestDto) SetPort(val OptInt)
- func (s *UpdateHostRequestDto) SetRemark(val OptString)
- func (s *UpdateHostRequestDto) SetSecurityLayer(val OptUpdateHostRequestDtoSecurityLayer)
- func (s *UpdateHostRequestDto) SetServerDescription(val OptNilString)
- func (s *UpdateHostRequestDto) SetShuffleHost(val OptBool)
- func (s *UpdateHostRequestDto) SetSni(val OptString)
- func (s *UpdateHostRequestDto) SetSockoptParams(val jx.Raw)
- func (s *UpdateHostRequestDto) SetTag(val OptNilString)
- func (s *UpdateHostRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateHostRequestDto) SetVlessRouteId(val OptNilInt)
- func (s *UpdateHostRequestDto) SetXHttpExtraParams(val jx.Raw)
- func (s *UpdateHostRequestDto) SetXrayJsonTemplateUuid(val OptNilUUID)
- func (s *UpdateHostRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateHostRequestDto) Validate() error
- type UpdateHostRequestDtoAlpn
- func (UpdateHostRequestDtoAlpn) AllValues() []UpdateHostRequestDtoAlpn
- func (s *UpdateHostRequestDtoAlpn) Decode(d *jx.Decoder) error
- func (s UpdateHostRequestDtoAlpn) Encode(e *jx.Encoder)
- func (s UpdateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)
- func (s UpdateHostRequestDtoAlpn) MarshalText() ([]byte, error)
- func (s *UpdateHostRequestDtoAlpn) SetFake()
- func (s *UpdateHostRequestDtoAlpn) UnmarshalJSON(data []byte) error
- func (s *UpdateHostRequestDtoAlpn) UnmarshalText(data []byte) error
- func (s UpdateHostRequestDtoAlpn) Validate() error
- type UpdateHostRequestDtoFingerprint
- func (UpdateHostRequestDtoFingerprint) AllValues() []UpdateHostRequestDtoFingerprint
- func (s *UpdateHostRequestDtoFingerprint) Decode(d *jx.Decoder) error
- func (s UpdateHostRequestDtoFingerprint) Encode(e *jx.Encoder)
- func (s UpdateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)
- func (s UpdateHostRequestDtoFingerprint) MarshalText() ([]byte, error)
- func (s *UpdateHostRequestDtoFingerprint) SetFake()
- func (s *UpdateHostRequestDtoFingerprint) UnmarshalJSON(data []byte) error
- func (s *UpdateHostRequestDtoFingerprint) UnmarshalText(data []byte) error
- func (s UpdateHostRequestDtoFingerprint) Validate() error
- type UpdateHostRequestDtoSecurityLayer
- func (UpdateHostRequestDtoSecurityLayer) AllValues() []UpdateHostRequestDtoSecurityLayer
- func (s *UpdateHostRequestDtoSecurityLayer) Decode(d *jx.Decoder) error
- func (s UpdateHostRequestDtoSecurityLayer) Encode(e *jx.Encoder)
- func (s UpdateHostRequestDtoSecurityLayer) MarshalJSON() ([]byte, error)
- func (s UpdateHostRequestDtoSecurityLayer) MarshalText() ([]byte, error)
- func (s *UpdateHostRequestDtoSecurityLayer) SetFake()
- func (s *UpdateHostRequestDtoSecurityLayer) UnmarshalJSON(data []byte) error
- func (s *UpdateHostRequestDtoSecurityLayer) UnmarshalText(data []byte) error
- func (s UpdateHostRequestDtoSecurityLayer) Validate() error
- type UpdateInfraBillingNodeRequestDto
- func (s *UpdateInfraBillingNodeRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateInfraBillingNodeRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateInfraBillingNodeRequestDto) GetNextBillingAt() time.Time
- func (s *UpdateInfraBillingNodeRequestDto) GetUuids() []uuid.UUID
- func (s *UpdateInfraBillingNodeRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateInfraBillingNodeRequestDto) SetFake()
- func (s *UpdateInfraBillingNodeRequestDto) SetNextBillingAt(val time.Time)
- func (s *UpdateInfraBillingNodeRequestDto) SetUuids(val []uuid.UUID)
- func (s *UpdateInfraBillingNodeRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateInfraBillingNodeRequestDto) Validate() error
- type UpdateInfraProviderRequestDto
- func (s *UpdateInfraProviderRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateInfraProviderRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateInfraProviderRequestDto) GetFaviconLink() OptNilURI
- func (s *UpdateInfraProviderRequestDto) GetLoginUrl() OptNilURI
- func (s *UpdateInfraProviderRequestDto) GetName() OptString
- func (s *UpdateInfraProviderRequestDto) GetUUID() uuid.UUID
- func (s *UpdateInfraProviderRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateInfraProviderRequestDto) SetFake()
- func (s *UpdateInfraProviderRequestDto) SetFaviconLink(val OptNilURI)
- func (s *UpdateInfraProviderRequestDto) SetLoginUrl(val OptNilURI)
- func (s *UpdateInfraProviderRequestDto) SetName(val OptString)
- func (s *UpdateInfraProviderRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateInfraProviderRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateInfraProviderRequestDto) Validate() error
- type UpdateInternalSquadRequestDto
- func (s *UpdateInternalSquadRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateInternalSquadRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateInternalSquadRequestDto) GetInbounds() []uuid.UUID
- func (s *UpdateInternalSquadRequestDto) GetName() OptString
- func (s *UpdateInternalSquadRequestDto) GetUUID() uuid.UUID
- func (s *UpdateInternalSquadRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateInternalSquadRequestDto) SetFake()
- func (s *UpdateInternalSquadRequestDto) SetInbounds(val []uuid.UUID)
- func (s *UpdateInternalSquadRequestDto) SetName(val OptString)
- func (s *UpdateInternalSquadRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateInternalSquadRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateInternalSquadRequestDto) Validate() error
- type UpdateNodeRequestDto
- func (s *UpdateNodeRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateNodeRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateNodeRequestDto) GetAddress() OptString
- func (s *UpdateNodeRequestDto) GetConfigProfile() OptConfigProfileRef
- func (s *UpdateNodeRequestDto) GetConsumptionMultiplier() OptFloat64
- func (s *UpdateNodeRequestDto) GetCountryCode() OptString
- func (s *UpdateNodeRequestDto) GetIsTrafficTrackingActive() OptBool
- func (s *UpdateNodeRequestDto) GetName() OptString
- func (s *UpdateNodeRequestDto) GetNotifyPercent() OptFloat64
- func (s *UpdateNodeRequestDto) GetPort() OptFloat64
- func (s *UpdateNodeRequestDto) GetProviderUuid() OptNilUUID
- func (s *UpdateNodeRequestDto) GetTags() []string
- func (s *UpdateNodeRequestDto) GetTrafficLimitBytes() OptFloat64
- func (s *UpdateNodeRequestDto) GetTrafficResetDay() OptFloat64
- func (s *UpdateNodeRequestDto) GetUUID() uuid.UUID
- func (s *UpdateNodeRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateNodeRequestDto) SetAddress(val OptString)
- func (s *UpdateNodeRequestDto) SetConfigProfile(val OptConfigProfileRef)
- func (s *UpdateNodeRequestDto) SetConsumptionMultiplier(val OptFloat64)
- func (s *UpdateNodeRequestDto) SetCountryCode(val OptString)
- func (s *UpdateNodeRequestDto) SetFake()
- func (s *UpdateNodeRequestDto) SetIsTrafficTrackingActive(val OptBool)
- func (s *UpdateNodeRequestDto) SetName(val OptString)
- func (s *UpdateNodeRequestDto) SetNotifyPercent(val OptFloat64)
- func (s *UpdateNodeRequestDto) SetPort(val OptFloat64)
- func (s *UpdateNodeRequestDto) SetProviderUuid(val OptNilUUID)
- func (s *UpdateNodeRequestDto) SetTags(val []string)
- func (s *UpdateNodeRequestDto) SetTrafficLimitBytes(val OptFloat64)
- func (s *UpdateNodeRequestDto) SetTrafficResetDay(val OptFloat64)
- func (s *UpdateNodeRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateNodeRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateNodeRequestDto) Validate() error
- type UpdatePasskeyRequestDto
- func (s *UpdatePasskeyRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdatePasskeyRequestDto) Encode(e *jx.Encoder)
- func (s *UpdatePasskeyRequestDto) GetID() string
- func (s *UpdatePasskeyRequestDto) GetName() string
- func (s *UpdatePasskeyRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdatePasskeyRequestDto) SetFake()
- func (s *UpdatePasskeyRequestDto) SetID(val string)
- func (s *UpdatePasskeyRequestDto) SetName(val string)
- func (s *UpdatePasskeyRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdatePasskeyRequestDto) Validate() error
- type UpdateRemnawaveSettingsRequestDto
- func (s *UpdateRemnawaveSettingsRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateRemnawaveSettingsRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateRemnawaveSettingsRequestDto) GetBrandingSettings() OptNilBrandingSettings
- func (s *UpdateRemnawaveSettingsRequestDto) GetOauth2Settings() OptNilOauth2Settings
- func (s *UpdateRemnawaveSettingsRequestDto) GetPasskeySettings() OptNilPasskeySettings
- func (s *UpdateRemnawaveSettingsRequestDto) GetPasswordSettings() OptNilPasswordSettings
- func (s *UpdateRemnawaveSettingsRequestDto) GetTgAuthSettings() OptNilTgAuthSettings
- func (s *UpdateRemnawaveSettingsRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateRemnawaveSettingsRequestDto) SetBrandingSettings(val OptNilBrandingSettings)
- func (s *UpdateRemnawaveSettingsRequestDto) SetFake()
- func (s *UpdateRemnawaveSettingsRequestDto) SetOauth2Settings(val OptNilOauth2Settings)
- func (s *UpdateRemnawaveSettingsRequestDto) SetPasskeySettings(val OptNilPasskeySettings)
- func (s *UpdateRemnawaveSettingsRequestDto) SetPasswordSettings(val OptNilPasswordSettings)
- func (s *UpdateRemnawaveSettingsRequestDto) SetTgAuthSettings(val OptNilTgAuthSettings)
- func (s *UpdateRemnawaveSettingsRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateRemnawaveSettingsRequestDto) Validate() error
- type UpdateSubscriptionPageConfigRequestDto
- func (s *UpdateSubscriptionPageConfigRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateSubscriptionPageConfigRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateSubscriptionPageConfigRequestDto) GetConfig() jx.Raw
- func (s *UpdateSubscriptionPageConfigRequestDto) GetName() OptString
- func (s *UpdateSubscriptionPageConfigRequestDto) GetUUID() uuid.UUID
- func (s *UpdateSubscriptionPageConfigRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateSubscriptionPageConfigRequestDto) SetConfig(val jx.Raw)
- func (s *UpdateSubscriptionPageConfigRequestDto) SetFake()
- func (s *UpdateSubscriptionPageConfigRequestDto) SetName(val OptString)
- func (s *UpdateSubscriptionPageConfigRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateSubscriptionPageConfigRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateSubscriptionPageConfigRequestDto) Validate() error
- type UpdateSubscriptionSettingsRequestDto
- func (s *UpdateSubscriptionSettingsRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateSubscriptionSettingsRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateSubscriptionSettingsRequestDto) GetCustomRemarks() OptNilCustomRemark
- func (s *UpdateSubscriptionSettingsRequestDto) GetCustomResponseHeaders() OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders
- func (s *UpdateSubscriptionSettingsRequestDto) GetHappAnnounce() OptNilString
- func (s *UpdateSubscriptionSettingsRequestDto) GetHappRouting() OptNilString
- func (s *UpdateSubscriptionSettingsRequestDto) GetHwidSettings() OptNilHwidSettings
- func (s *UpdateSubscriptionSettingsRequestDto) GetIsProfileWebpageUrlEnabled() OptBool
- func (s *UpdateSubscriptionSettingsRequestDto) GetIsShowCustomRemarks() OptBool
- func (s *UpdateSubscriptionSettingsRequestDto) GetProfileTitle() OptString
- func (s *UpdateSubscriptionSettingsRequestDto) GetProfileUpdateInterval() OptInt
- func (s *UpdateSubscriptionSettingsRequestDto) GetRandomizeHosts() OptBool
- func (s *UpdateSubscriptionSettingsRequestDto) GetResponseRules() OptResponseRules
- func (s *UpdateSubscriptionSettingsRequestDto) GetServeJsonAtBaseSubscription() OptBool
- func (s *UpdateSubscriptionSettingsRequestDto) GetSupportLink() OptString
- func (s *UpdateSubscriptionSettingsRequestDto) GetUUID() uuid.UUID
- func (s *UpdateSubscriptionSettingsRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateSubscriptionSettingsRequestDto) SetCustomRemarks(val OptNilCustomRemark)
- func (s *UpdateSubscriptionSettingsRequestDto) SetCustomResponseHeaders(val OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders)
- func (s *UpdateSubscriptionSettingsRequestDto) SetFake()
- func (s *UpdateSubscriptionSettingsRequestDto) SetHappAnnounce(val OptNilString)
- func (s *UpdateSubscriptionSettingsRequestDto) SetHappRouting(val OptNilString)
- func (s *UpdateSubscriptionSettingsRequestDto) SetHwidSettings(val OptNilHwidSettings)
- func (s *UpdateSubscriptionSettingsRequestDto) SetIsProfileWebpageUrlEnabled(val OptBool)
- func (s *UpdateSubscriptionSettingsRequestDto) SetIsShowCustomRemarks(val OptBool)
- func (s *UpdateSubscriptionSettingsRequestDto) SetProfileTitle(val OptString)
- func (s *UpdateSubscriptionSettingsRequestDto) SetProfileUpdateInterval(val OptInt)
- func (s *UpdateSubscriptionSettingsRequestDto) SetRandomizeHosts(val OptBool)
- func (s *UpdateSubscriptionSettingsRequestDto) SetResponseRules(val OptResponseRules)
- func (s *UpdateSubscriptionSettingsRequestDto) SetServeJsonAtBaseSubscription(val OptBool)
- func (s *UpdateSubscriptionSettingsRequestDto) SetSupportLink(val OptString)
- func (s *UpdateSubscriptionSettingsRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateSubscriptionSettingsRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateSubscriptionSettingsRequestDto) Validate() error
- type UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders
- func (s *UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Decode(d *jx.Decoder) error
- func (s UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Encode(e *jx.Encoder)
- func (s UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) MarshalJSON() ([]byte, error)
- func (s *UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetFake()
- func (s *UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UnmarshalJSON(data []byte) error
- type UpdateTemplateRequestDto
- func (s *UpdateTemplateRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateTemplateRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateTemplateRequestDto) GetEncodedTemplateYaml() OptString
- func (s *UpdateTemplateRequestDto) GetName() OptString
- func (s *UpdateTemplateRequestDto) GetTemplateJson() *UpdateTemplateRequestDtoTemplateJson
- func (s *UpdateTemplateRequestDto) GetUUID() uuid.UUID
- func (s *UpdateTemplateRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateTemplateRequestDto) SetEncodedTemplateYaml(val OptString)
- func (s *UpdateTemplateRequestDto) SetFake()
- func (s *UpdateTemplateRequestDto) SetName(val OptString)
- func (s *UpdateTemplateRequestDto) SetTemplateJson(val *UpdateTemplateRequestDtoTemplateJson)
- func (s *UpdateTemplateRequestDto) SetUUID(val uuid.UUID)
- func (s *UpdateTemplateRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateTemplateRequestDto) Validate() error
- type UpdateTemplateRequestDtoTemplateJson
- func (s *UpdateTemplateRequestDtoTemplateJson) Decode(d *jx.Decoder) error
- func (s *UpdateTemplateRequestDtoTemplateJson) Encode(e *jx.Encoder)
- func (s *UpdateTemplateRequestDtoTemplateJson) MarshalJSON() ([]byte, error)
- func (s *UpdateTemplateRequestDtoTemplateJson) SetFake()
- func (s *UpdateTemplateRequestDtoTemplateJson) UnmarshalJSON(data []byte) error
- type UpdateUserRequestDto
- func (s *UpdateUserRequestDto) Decode(d *jx.Decoder) error
- func (s *UpdateUserRequestDto) Encode(e *jx.Encoder)
- func (s *UpdateUserRequestDto) GetActiveInternalSquads() []uuid.UUID
- func (s *UpdateUserRequestDto) GetDescription() OptNilString
- func (s *UpdateUserRequestDto) GetEmail() OptNilString
- func (s *UpdateUserRequestDto) GetExpireAt() OptDateTime
- func (s *UpdateUserRequestDto) GetExternalSquadUuid() OptNilUUID
- func (s *UpdateUserRequestDto) GetHwidDeviceLimit() OptNilInt
- func (s *UpdateUserRequestDto) GetStatus() OptUpdateUserRequestDtoStatus
- func (s *UpdateUserRequestDto) GetTag() OptNilString
- func (s *UpdateUserRequestDto) GetTelegramId() OptNilInt
- func (s *UpdateUserRequestDto) GetTrafficLimitBytes() OptInt
- func (s *UpdateUserRequestDto) GetTrafficLimitStrategy() OptUpdateUserRequestDtoTrafficLimitStrategy
- func (s *UpdateUserRequestDto) GetUUID() OptUUID
- func (s *UpdateUserRequestDto) GetUsername() OptString
- func (s *UpdateUserRequestDto) MarshalJSON() ([]byte, error)
- func (s *UpdateUserRequestDto) SetActiveInternalSquads(val []uuid.UUID)
- func (s *UpdateUserRequestDto) SetDescription(val OptNilString)
- func (s *UpdateUserRequestDto) SetEmail(val OptNilString)
- func (s *UpdateUserRequestDto) SetExpireAt(val OptDateTime)
- func (s *UpdateUserRequestDto) SetExternalSquadUuid(val OptNilUUID)
- func (s *UpdateUserRequestDto) SetFake()
- func (s *UpdateUserRequestDto) SetHwidDeviceLimit(val OptNilInt)
- func (s *UpdateUserRequestDto) SetStatus(val OptUpdateUserRequestDtoStatus)
- func (s *UpdateUserRequestDto) SetTag(val OptNilString)
- func (s *UpdateUserRequestDto) SetTelegramId(val OptNilInt)
- func (s *UpdateUserRequestDto) SetTrafficLimitBytes(val OptInt)
- func (s *UpdateUserRequestDto) SetTrafficLimitStrategy(val OptUpdateUserRequestDtoTrafficLimitStrategy)
- func (s *UpdateUserRequestDto) SetUUID(val OptUUID)
- func (s *UpdateUserRequestDto) SetUsername(val OptString)
- func (s *UpdateUserRequestDto) UnmarshalJSON(data []byte) error
- func (s *UpdateUserRequestDto) Validate() error
- type UpdateUserRequestDtoStatus
- func (UpdateUserRequestDtoStatus) AllValues() []UpdateUserRequestDtoStatus
- func (s *UpdateUserRequestDtoStatus) Decode(d *jx.Decoder) error
- func (s UpdateUserRequestDtoStatus) Encode(e *jx.Encoder)
- func (s UpdateUserRequestDtoStatus) MarshalJSON() ([]byte, error)
- func (s UpdateUserRequestDtoStatus) MarshalText() ([]byte, error)
- func (s *UpdateUserRequestDtoStatus) SetFake()
- func (s *UpdateUserRequestDtoStatus) UnmarshalJSON(data []byte) error
- func (s *UpdateUserRequestDtoStatus) UnmarshalText(data []byte) error
- func (s UpdateUserRequestDtoStatus) Validate() error
- type UpdateUserRequestDtoTrafficLimitStrategy
- func (UpdateUserRequestDtoTrafficLimitStrategy) AllValues() []UpdateUserRequestDtoTrafficLimitStrategy
- func (s *UpdateUserRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (s UpdateUserRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (s UpdateUserRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (s UpdateUserRequestDtoTrafficLimitStrategy) MarshalText() ([]byte, error)
- func (s *UpdateUserRequestDtoTrafficLimitStrategy) SetFake()
- func (s *UpdateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- func (s *UpdateUserRequestDtoTrafficLimitStrategy) UnmarshalText(data []byte) error
- func (s UpdateUserRequestDtoTrafficLimitStrategy) Validate() error
- type User
- func (s *User) Decode(d *jx.Decoder) error
- func (s *User) Encode(e *jx.Encoder)
- func (s *User) GetActiveInternalSquads() []ActiveInternalSquad
- func (s *User) GetCreatedAt() time.Time
- func (s *User) GetDescription() NilString
- func (s *User) GetEmail() NilString
- func (s *User) GetExpireAt() time.Time
- func (s *User) GetExternalSquadUuid() NilUUID
- func (s *User) GetHwidDeviceLimit() NilInt
- func (s *User) GetID() float64
- func (s *User) GetLastTrafficResetAt() NilDateTime
- func (s *User) GetLastTriggeredThreshold() OptInt
- func (s *User) GetShortUuid() string
- func (s *User) GetSsPassword() string
- func (s *User) GetStatus() OptUserStatus
- func (s *User) GetSubLastOpenedAt() NilDateTime
- func (s *User) GetSubLastUserAgent() NilString
- func (s *User) GetSubRevokedAt() NilDateTime
- func (s *User) GetSubscriptionUrl() string
- func (s *User) GetTag() NilString
- func (s *User) GetTelegramId() NilInt
- func (s *User) GetTrafficLimitBytes() OptInt
- func (s *User) GetTrafficLimitStrategy() OptUserTrafficLimitStrategy
- func (s *User) GetTrojanPassword() string
- func (s *User) GetUUID() uuid.UUID
- func (s *User) GetUpdatedAt() time.Time
- func (s *User) GetUserTraffic() UserTrafficItem
- func (s *User) GetUsername() string
- func (s *User) GetVlessUuid() uuid.UUID
- func (s *User) MarshalJSON() ([]byte, error)
- func (s *User) SetActiveInternalSquads(val []ActiveInternalSquad)
- func (s *User) SetCreatedAt(val time.Time)
- func (s *User) SetDescription(val NilString)
- func (s *User) SetEmail(val NilString)
- func (s *User) SetExpireAt(val time.Time)
- func (s *User) SetExternalSquadUuid(val NilUUID)
- func (s *User) SetFake()
- func (s *User) SetHwidDeviceLimit(val NilInt)
- func (s *User) SetID(val float64)
- func (s *User) SetLastTrafficResetAt(val NilDateTime)
- func (s *User) SetLastTriggeredThreshold(val OptInt)
- func (s *User) SetShortUuid(val string)
- func (s *User) SetSsPassword(val string)
- func (s *User) SetStatus(val OptUserStatus)
- func (s *User) SetSubLastOpenedAt(val NilDateTime)
- func (s *User) SetSubLastUserAgent(val NilString)
- func (s *User) SetSubRevokedAt(val NilDateTime)
- func (s *User) SetSubscriptionUrl(val string)
- func (s *User) SetTag(val NilString)
- func (s *User) SetTelegramId(val NilInt)
- func (s *User) SetTrafficLimitBytes(val OptInt)
- func (s *User) SetTrafficLimitStrategy(val OptUserTrafficLimitStrategy)
- func (s *User) SetTrojanPassword(val string)
- func (s *User) SetUUID(val uuid.UUID)
- func (s *User) SetUpdatedAt(val time.Time)
- func (s *User) SetUserTraffic(val UserTrafficItem)
- func (s *User) SetUsername(val string)
- func (s *User) SetVlessUuid(val uuid.UUID)
- func (s *User) UnmarshalJSON(data []byte) error
- func (s *User) Validate() error
- type UserItem
- func (s *UserItem) Decode(d *jx.Decoder) error
- func (s *UserItem) Encode(e *jx.Encoder)
- func (s *UserItem) GetDaysLeft() float64
- func (s *UserItem) GetExpiresAt() time.Time
- func (s *UserItem) GetIsActive() bool
- func (s *UserItem) GetLifetimeTrafficUsed() string
- func (s *UserItem) GetLifetimeTrafficUsedBytes() string
- func (s *UserItem) GetShortUuid() string
- func (s *UserItem) GetTrafficLimit() string
- func (s *UserItem) GetTrafficLimitBytes() string
- func (s *UserItem) GetTrafficLimitStrategy() UserItemTrafficLimitStrategy
- func (s *UserItem) GetTrafficUsed() string
- func (s *UserItem) GetTrafficUsedBytes() string
- func (s *UserItem) GetUserStatus() UserItemUserStatus
- func (s *UserItem) GetUsername() string
- func (s *UserItem) MarshalJSON() ([]byte, error)
- func (s *UserItem) SetDaysLeft(val float64)
- func (s *UserItem) SetExpiresAt(val time.Time)
- func (s *UserItem) SetFake()
- func (s *UserItem) SetIsActive(val bool)
- func (s *UserItem) SetLifetimeTrafficUsed(val string)
- func (s *UserItem) SetLifetimeTrafficUsedBytes(val string)
- func (s *UserItem) SetShortUuid(val string)
- func (s *UserItem) SetTrafficLimit(val string)
- func (s *UserItem) SetTrafficLimitBytes(val string)
- func (s *UserItem) SetTrafficLimitStrategy(val UserItemTrafficLimitStrategy)
- func (s *UserItem) SetTrafficUsed(val string)
- func (s *UserItem) SetTrafficUsedBytes(val string)
- func (s *UserItem) SetUserStatus(val UserItemUserStatus)
- func (s *UserItem) SetUsername(val string)
- func (s *UserItem) UnmarshalJSON(data []byte) error
- func (s *UserItem) Validate() error
- type UserItemTrafficLimitStrategy
- func (UserItemTrafficLimitStrategy) AllValues() []UserItemTrafficLimitStrategy
- func (s *UserItemTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (s UserItemTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (s UserItemTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (s UserItemTrafficLimitStrategy) MarshalText() ([]byte, error)
- func (s *UserItemTrafficLimitStrategy) SetFake()
- func (s *UserItemTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- func (s *UserItemTrafficLimitStrategy) UnmarshalText(data []byte) error
- func (s UserItemTrafficLimitStrategy) Validate() error
- type UserItemUserStatus
- func (UserItemUserStatus) AllValues() []UserItemUserStatus
- func (s *UserItemUserStatus) Decode(d *jx.Decoder) error
- func (s UserItemUserStatus) Encode(e *jx.Encoder)
- func (s UserItemUserStatus) MarshalJSON() ([]byte, error)
- func (s UserItemUserStatus) MarshalText() ([]byte, error)
- func (s *UserItemUserStatus) SetFake()
- func (s *UserItemUserStatus) UnmarshalJSON(data []byte) error
- func (s *UserItemUserStatus) UnmarshalText(data []byte) error
- func (s UserItemUserStatus) Validate() error
- type UserResponse
- func (s *UserResponse) Decode(d *jx.Decoder) error
- func (s *UserResponse) Encode(e *jx.Encoder)
- func (s *UserResponse) GetResponse() User
- func (s *UserResponse) MarshalJSON() ([]byte, error)
- func (s *UserResponse) SetFake()
- func (s *UserResponse) SetResponse(val User)
- func (s *UserResponse) UnmarshalJSON(data []byte) error
- func (s *UserResponse) Validate() error
- type UserStatus
- func (UserStatus) AllValues() []UserStatus
- func (s *UserStatus) Decode(d *jx.Decoder) error
- func (s UserStatus) Encode(e *jx.Encoder)
- func (s UserStatus) MarshalJSON() ([]byte, error)
- func (s UserStatus) MarshalText() ([]byte, error)
- func (s *UserStatus) SetFake()
- func (s *UserStatus) UnmarshalJSON(data []byte) error
- func (s *UserStatus) UnmarshalText(data []byte) error
- func (s UserStatus) Validate() error
- type UserSubscriptionHistory
- func (s *UserSubscriptionHistory) Decode(d *jx.Decoder) error
- func (s *UserSubscriptionHistory) Encode(e *jx.Encoder)
- func (s *UserSubscriptionHistory) GetRecords() []Record
- func (s *UserSubscriptionHistory) GetTotal() float64
- func (s *UserSubscriptionHistory) MarshalJSON() ([]byte, error)
- func (s *UserSubscriptionHistory) SetFake()
- func (s *UserSubscriptionHistory) SetRecords(val []Record)
- func (s *UserSubscriptionHistory) SetTotal(val float64)
- func (s *UserSubscriptionHistory) UnmarshalJSON(data []byte) error
- func (s *UserSubscriptionHistory) Validate() error
- type UserSubscriptionRequestHistoryClient
- func (sc *UserSubscriptionRequestHistoryClient) GetSubscriptionRequestHistory(ctx context.Context, size float64, start float64) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryRes, ...)
- func (sc *UserSubscriptionRequestHistoryClient) GetSubscriptionRequestHistoryStats(ctx context.Context) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsRes, ...)
- type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryParams
- type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryRes
- type UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsRes
- type UserTrafficItem
- func (s *UserTrafficItem) Decode(d *jx.Decoder) error
- func (s *UserTrafficItem) Encode(e *jx.Encoder)
- func (s *UserTrafficItem) GetFirstConnectedAt() NilDateTime
- func (s *UserTrafficItem) GetLastConnectedNodeUuid() NilUUID
- func (s *UserTrafficItem) GetLifetimeUsedTrafficBytes() float64
- func (s *UserTrafficItem) GetOnlineAt() NilDateTime
- func (s *UserTrafficItem) GetUsedTrafficBytes() float64
- func (s *UserTrafficItem) MarshalJSON() ([]byte, error)
- func (s *UserTrafficItem) SetFake()
- func (s *UserTrafficItem) SetFirstConnectedAt(val NilDateTime)
- func (s *UserTrafficItem) SetLastConnectedNodeUuid(val NilUUID)
- func (s *UserTrafficItem) SetLifetimeUsedTrafficBytes(val float64)
- func (s *UserTrafficItem) SetOnlineAt(val NilDateTime)
- func (s *UserTrafficItem) SetUsedTrafficBytes(val float64)
- func (s *UserTrafficItem) UnmarshalJSON(data []byte) error
- func (s *UserTrafficItem) Validate() error
- type UserTrafficLimitStrategy
- func (UserTrafficLimitStrategy) AllValues() []UserTrafficLimitStrategy
- func (s *UserTrafficLimitStrategy) Decode(d *jx.Decoder) error
- func (s UserTrafficLimitStrategy) Encode(e *jx.Encoder)
- func (s UserTrafficLimitStrategy) MarshalJSON() ([]byte, error)
- func (s UserTrafficLimitStrategy) MarshalText() ([]byte, error)
- func (s *UserTrafficLimitStrategy) SetFake()
- func (s *UserTrafficLimitStrategy) UnmarshalJSON(data []byte) error
- func (s *UserTrafficLimitStrategy) UnmarshalText(data []byte) error
- func (s UserTrafficLimitStrategy) Validate() error
- type UsersBulkActionsClient
- func (sc *UsersBulkActionsClient) BulkAllExtendExpirationDate(ctx context.Context, request *BulkAllExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkAllExtendExpirationDateRes, error)
- func (sc *UsersBulkActionsClient) BulkAllResetUserTraffic(ctx context.Context) (UsersBulkActionsControllerBulkAllResetUserTrafficRes, error)
- func (sc *UsersBulkActionsClient) BulkDeleteUsers(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkDeleteUsersRes, error)
- func (sc *UsersBulkActionsClient) BulkDeleteUsersByStatus(ctx context.Context, request *BulkDeleteUsersByStatusRequestDto) (UsersBulkActionsControllerBulkDeleteUsersByStatusRes, error)
- func (sc *UsersBulkActionsClient) BulkExtendExpirationDate(ctx context.Context, request *BulkExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkExtendExpirationDateRes, error)
- func (sc *UsersBulkActionsClient) BulkResetUserTraffic(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkResetUserTrafficRes, error)
- func (sc *UsersBulkActionsClient) BulkRevokeUsersSubscription(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkRevokeUsersSubscriptionRes, error)
- func (sc *UsersBulkActionsClient) BulkUpdateAllUsers(ctx context.Context, request *BulkAllUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateAllUsersRes, error)
- func (sc *UsersBulkActionsClient) BulkUpdateUsers(ctx context.Context, request *BulkUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateUsersRes, error)
- func (sc *UsersBulkActionsClient) BulkUpdateUsersInternalSquads(ctx context.Context, request *BulkUpdateUsersSquadsRequestDto) (UsersBulkActionsControllerBulkUpdateUsersInternalSquadsRes, error)
- type UsersBulkActionsControllerBulkAllExtendExpirationDateRes
- type UsersBulkActionsControllerBulkAllResetUserTrafficRes
- type UsersBulkActionsControllerBulkDeleteUsersByStatusRes
- type UsersBulkActionsControllerBulkDeleteUsersRes
- type UsersBulkActionsControllerBulkExtendExpirationDateRes
- type UsersBulkActionsControllerBulkResetUserTrafficRes
- type UsersBulkActionsControllerBulkRevokeUsersSubscriptionRes
- type UsersBulkActionsControllerBulkUpdateAllUsersRes
- type UsersBulkActionsControllerBulkUpdateUsersInternalSquadsRes
- type UsersBulkActionsControllerBulkUpdateUsersRes
- type UsersClient
- func (sc *UsersClient) CreateUser(ctx context.Context, request *CreateUserRequestDto) (UsersControllerCreateUserRes, error)
- func (sc *UsersClient) DeleteUser(ctx context.Context, uuid string) (UsersControllerDeleteUserRes, error)
- func (sc *UsersClient) DisableUser(ctx context.Context, uuid string) (UsersControllerDisableUserRes, error)
- func (sc *UsersClient) EnableUser(ctx context.Context, uuid string) (UsersControllerEnableUserRes, error)
- func (sc *UsersClient) GetAllTags(ctx context.Context) (UsersControllerGetAllTagsRes, error)
- func (sc *UsersClient) GetAllUsers(ctx context.Context, size float64, start float64) (UsersControllerGetAllUsersRes, error)
- func (sc *UsersClient) GetUserAccessibleNodes(ctx context.Context, uuid string) (UsersControllerGetUserAccessibleNodesRes, error)
- func (sc *UsersClient) GetUserById(ctx context.Context, id string) (UsersControllerGetUserByIdRes, error)
- func (sc *UsersClient) GetUserByShortUuid(ctx context.Context, shortuuid string) (UsersControllerGetUserByShortUuidRes, error)
- func (sc *UsersClient) GetUserByTelegramId(ctx context.Context, telegramid string) (UsersControllerGetUserByTelegramIdRes, error)
- func (sc *UsersClient) GetUserByUsername(ctx context.Context, username string) (UsersControllerGetUserByUsernameRes, error)
- func (sc *UsersClient) GetUserByUuid(ctx context.Context, uuid string) (UsersControllerGetUserByUuidRes, error)
- func (sc *UsersClient) GetUserSubscriptionRequestHistory(ctx context.Context, uuid string) (UsersControllerGetUserSubscriptionRequestHistoryRes, error)
- func (sc *UsersClient) GetUsersByEmail(ctx context.Context, email string) (UsersControllerGetUsersByEmailRes, error)
- func (sc *UsersClient) GetUsersByTag(ctx context.Context, tag string) (UsersControllerGetUsersByTagRes, error)
- func (sc *UsersClient) ResetUserTraffic(ctx context.Context, uuid string) (UsersControllerResetUserTrafficRes, error)
- func (sc *UsersClient) RevokeUserSubscription(ctx context.Context, request *RevokeUserSubscriptionBodyDto, uuid string) (UsersControllerRevokeUserSubscriptionRes, error)
- func (sc *UsersClient) UpdateUser(ctx context.Context, request *UpdateUserRequestDto) (UsersControllerUpdateUserRes, error)
- type UsersControllerCreateUserRes
- type UsersControllerDeleteUserParams
- type UsersControllerDeleteUserRes
- type UsersControllerDisableUserParams
- type UsersControllerDisableUserRes
- type UsersControllerEnableUserParams
- type UsersControllerEnableUserRes
- type UsersControllerGetAllTagsRes
- type UsersControllerGetAllUsersParams
- type UsersControllerGetAllUsersRes
- type UsersControllerGetUserAccessibleNodesParams
- type UsersControllerGetUserAccessibleNodesRes
- type UsersControllerGetUserByIdParams
- type UsersControllerGetUserByIdRes
- type UsersControllerGetUserByShortUuidParams
- type UsersControllerGetUserByShortUuidRes
- type UsersControllerGetUserByTelegramIdParams
- type UsersControllerGetUserByTelegramIdRes
- type UsersControllerGetUserByUsernameParams
- type UsersControllerGetUserByUsernameRes
- type UsersControllerGetUserByUuidParams
- type UsersControllerGetUserByUuidRes
- type UsersControllerGetUserSubscriptionRequestHistoryParams
- type UsersControllerGetUserSubscriptionRequestHistoryRes
- type UsersControllerGetUsersByEmailParams
- type UsersControllerGetUsersByEmailRes
- type UsersControllerGetUsersByTagParams
- type UsersControllerGetUsersByTagRes
- type UsersControllerResetUserTrafficParams
- type UsersControllerResetUserTrafficRes
- type UsersControllerRevokeUserSubscriptionParams
- type UsersControllerRevokeUserSubscriptionRes
- type UsersControllerUpdateUserRes
- type UsersResponse
- func (s *UsersResponse) Decode(d *jx.Decoder) error
- func (s *UsersResponse) Encode(e *jx.Encoder)
- func (s *UsersResponse) GetResponse() []User
- func (s *UsersResponse) MarshalJSON() ([]byte, error)
- func (s *UsersResponse) SetFake()
- func (s *UsersResponse) SetResponse(val []User)
- func (s *UsersResponse) UnmarshalJSON(data []byte) error
- func (s *UsersResponse) Validate() error
- type ValidationError
- func (s *ValidationError) Decode(d *jx.Decoder) error
- func (s *ValidationError) Encode(e *jx.Encoder)
- func (s *ValidationError) GetCode() string
- func (s *ValidationError) GetMessage() string
- func (s *ValidationError) GetPath() []string
- func (s *ValidationError) GetValidation() string
- func (s *ValidationError) MarshalJSON() ([]byte, error)
- func (s *ValidationError) SetCode(val string)
- func (s *ValidationError) SetFake()
- func (s *ValidationError) SetMessage(val string)
- func (s *ValidationError) SetPath(val []string)
- func (s *ValidationError) SetValidation(val string)
- func (s *ValidationError) UnmarshalJSON(data []byte) error
- func (s *ValidationError) Validate() error
- type VerifyPasskeyRegistrationResponseDto
- func (s *VerifyPasskeyRegistrationResponseDto) Decode(d *jx.Decoder) error
- func (s *VerifyPasskeyRegistrationResponseDto) Encode(e *jx.Encoder)
- func (s *VerifyPasskeyRegistrationResponseDto) GetResponse() VerifyPasskeyRegistrationResponseDtoResponse
- func (s *VerifyPasskeyRegistrationResponseDto) MarshalJSON() ([]byte, error)
- func (s *VerifyPasskeyRegistrationResponseDto) SetFake()
- func (s *VerifyPasskeyRegistrationResponseDto) SetResponse(val VerifyPasskeyRegistrationResponseDtoResponse)
- func (s *VerifyPasskeyRegistrationResponseDto) UnmarshalJSON(data []byte) error
- type VerifyPasskeyRegistrationResponseDtoResponse
- func (s *VerifyPasskeyRegistrationResponseDtoResponse) Decode(d *jx.Decoder) error
- func (s *VerifyPasskeyRegistrationResponseDtoResponse) Encode(e *jx.Encoder)
- func (s *VerifyPasskeyRegistrationResponseDtoResponse) GetVerified() bool
- func (s *VerifyPasskeyRegistrationResponseDtoResponse) MarshalJSON() ([]byte, error)
- func (s *VerifyPasskeyRegistrationResponseDtoResponse) SetFake()
- func (s *VerifyPasskeyRegistrationResponseDtoResponse) SetVerified(val bool)
- func (s *VerifyPasskeyRegistrationResponseDtoResponse) UnmarshalJSON(data []byte) error
- type VerifyPasskeyRegistrationResponseDtoStatusCode
- func (s *VerifyPasskeyRegistrationResponseDtoStatusCode) GetResponse() VerifyPasskeyRegistrationResponseDto
- func (s *VerifyPasskeyRegistrationResponseDtoStatusCode) GetStatusCode() int
- func (s *VerifyPasskeyRegistrationResponseDtoStatusCode) SetResponse(val VerifyPasskeyRegistrationResponseDto)
- func (s *VerifyPasskeyRegistrationResponseDtoStatusCode) SetStatusCode(val int)
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 ¶
SafeFieldExtraction safely extracts a nested field from an interface{} value
Types ¶
type ActiveInternalSquad ¶
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 ¶
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) 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 ¶
func (sc *ApiTokensClient) Create(ctx context.Context, request *CreateApiTokenRequestDto) (ApiTokensControllerCreateRes, error)
Create calls ApiTokensController_create.
func (*ApiTokensClient) Delete ¶
func (sc *ApiTokensClient) Delete(ctx context.Context, uuid string) (ApiTokensControllerDeleteRes, error)
Delete calls ApiTokensController_delete.
func (*ApiTokensClient) FindAll ¶
func (sc *ApiTokensClient) FindAll(ctx context.Context) (ApiTokensControllerFindAllRes, error)
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 ¶
func (sc *AuthClient) GetStatus(ctx context.Context) (AuthControllerGetStatusRes, error)
GetStatus calls AuthController_getStatus.
func (*AuthClient) Login ¶
func (sc *AuthClient) Login(ctx context.Context, request *LoginRequestDto) (AuthControllerLoginRes, error)
Login calls AuthController_login.
func (*AuthClient) Oauth2Authorize ¶
func (sc *AuthClient) Oauth2Authorize(ctx context.Context, request *OAuth2AuthorizeRequestDto) (AuthControllerOauth2AuthorizeRes, error)
Oauth2Authorize calls AuthController_oauth2Authorize.
func (*AuthClient) Oauth2Callback ¶
func (sc *AuthClient) Oauth2Callback(ctx context.Context, request *OAuth2CallbackRequestDto) (AuthControllerOauth2CallbackRes, error)
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 ¶
func (sc *AuthClient) Register(ctx context.Context, request *RegisterRequestDto) (AuthControllerRegisterRes, error)
Register calls AuthController_register.
func (*AuthClient) TelegramCallback ¶
func (sc *AuthClient) TelegramCallback(ctx context.Context, request *TelegramCallbackRequestDto) (AuthControllerTelegramCallbackRes, error)
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 ¶
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) 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 ¶
func (sc *BandwidthStatsNodesClient) GetNodeUserUsage(ctx context.Context, params BandwidthStatsNodesControllerGetNodeUserUsageParams) (BandwidthStatsNodesControllerGetNodeUserUsageRes, error)
GetNodeUserUsage calls BandwidthStatsNodesController_getNodeUserUsage.
func (*BandwidthStatsNodesClient) GetNodesRealtimeUsage ¶
func (sc *BandwidthStatsNodesClient) GetNodesRealtimeUsage(ctx context.Context) (BandwidthStatsNodesControllerGetNodesRealtimeUsageRes, error)
GetNodesRealtimeUsage calls BandwidthStatsNodesController_getNodesRealtimeUsage.
func (*BandwidthStatsNodesClient) GetStatsNodeUsersUsage ¶
func (sc *BandwidthStatsNodesClient) GetStatsNodeUsersUsage(ctx context.Context, params BandwidthStatsNodesControllerGetStatsNodeUsersUsageParams) (BandwidthStatsNodesControllerGetStatsNodeUsersUsageRes, error)
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 ¶
func (sc *BandwidthStatsUsersClient) GetStatsNodesUsage(ctx context.Context, params BandwidthStatsUsersControllerGetStatsNodesUsageParams) (BandwidthStatsUsersControllerGetStatsNodesUsageRes, error)
GetStatsNodesUsage calls BandwidthStatsUsersController_getStatsNodesUsage.
func (*BandwidthStatsUsersClient) GetUserUsageByRange ¶
func (sc *BandwidthStatsUsersClient) GetUserUsageByRange(ctx context.Context, params BandwidthStatsUsersControllerGetUserUsageByRangeParams) (BandwidthStatsUsersControllerGetUserUsageByRangeRes, error)
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 ¶
func (s *BillingHistoryResponse) GetResponse() BillingHistoryResponseResponse
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 ¶
func (s *BillingHistoryResponse) SetResponse(val BillingHistoryResponseResponse)
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 ¶
func (s *BillingHistoryResponseResponse) Decode(d *jx.Decoder) error
Decode decodes BillingHistoryResponseResponse from json.
func (*BillingHistoryResponseResponse) Encode ¶
func (s *BillingHistoryResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BillingHistoryResponseResponse) GetRecords ¶
func (s *BillingHistoryResponseResponse) GetRecords() []BillingHistoryResponseResponseRecordsItem
GetRecords returns the value of Records.
func (*BillingHistoryResponseResponse) GetTotal ¶
func (s *BillingHistoryResponseResponse) GetTotal() float64
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 ¶
func (s *BillingHistoryResponseResponse) SetRecords(val []BillingHistoryResponseResponseRecordsItem)
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 ¶
func (s *BillingHistoryResponseResponseRecordsItem) Decode(d *jx.Decoder) error
Decode decodes BillingHistoryResponseResponseRecordsItem from json.
func (*BillingHistoryResponseResponseRecordsItem) Encode ¶
func (s *BillingHistoryResponseResponseRecordsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BillingHistoryResponseResponseRecordsItem) GetAmount ¶
func (s *BillingHistoryResponseResponseRecordsItem) GetAmount() float64
GetAmount returns the value of Amount.
func (*BillingHistoryResponseResponseRecordsItem) GetBilledAt ¶
func (s *BillingHistoryResponseResponseRecordsItem) GetBilledAt() time.Time
GetBilledAt returns the value of BilledAt.
func (*BillingHistoryResponseResponseRecordsItem) GetProvider ¶
func (s *BillingHistoryResponseResponseRecordsItem) GetProvider() BillingHistoryResponseResponseRecordsItemProvider
GetProvider returns the value of Provider.
func (*BillingHistoryResponseResponseRecordsItem) GetProviderUuid ¶
func (s *BillingHistoryResponseResponseRecordsItem) GetProviderUuid() uuid.UUID
GetProviderUuid returns the value of ProviderUuid.
func (*BillingHistoryResponseResponseRecordsItem) GetUUID ¶
func (s *BillingHistoryResponseResponseRecordsItem) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*BillingHistoryResponseResponseRecordsItem) MarshalJSON ¶
func (s *BillingHistoryResponseResponseRecordsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BillingHistoryResponseResponseRecordsItem) SetAmount ¶
func (s *BillingHistoryResponseResponseRecordsItem) SetAmount(val float64)
SetAmount sets the value of Amount.
func (*BillingHistoryResponseResponseRecordsItem) SetBilledAt ¶
func (s *BillingHistoryResponseResponseRecordsItem) SetBilledAt(val time.Time)
SetBilledAt sets the value of BilledAt.
func (*BillingHistoryResponseResponseRecordsItem) SetFake ¶
func (s *BillingHistoryResponseResponseRecordsItem) SetFake()
SetFake set fake values.
func (*BillingHistoryResponseResponseRecordsItem) SetProvider ¶
func (s *BillingHistoryResponseResponseRecordsItem) SetProvider(val BillingHistoryResponseResponseRecordsItemProvider)
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 ¶
func (s *BillingHistoryResponseResponseRecordsItem) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*BillingHistoryResponseResponseRecordsItem) UnmarshalJSON ¶
func (s *BillingHistoryResponseResponseRecordsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BillingHistoryResponseResponseRecordsItem) Validate ¶
func (s *BillingHistoryResponseResponseRecordsItem) Validate() error
type BillingHistoryResponseResponseRecordsItemProvider ¶
type BillingHistoryResponseResponseRecordsItemProvider struct {
UUID uuid.UUID `json:"uuid"`
Name string `json:"name"`
FaviconLink NilString `json:"faviconLink"`
}
func (*BillingHistoryResponseResponseRecordsItemProvider) Decode ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) Decode(d *jx.Decoder) error
Decode decodes BillingHistoryResponseResponseRecordsItemProvider from json.
func (*BillingHistoryResponseResponseRecordsItemProvider) Encode ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BillingHistoryResponseResponseRecordsItemProvider) GetFaviconLink ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) GetFaviconLink() NilString
GetFaviconLink returns the value of FaviconLink.
func (*BillingHistoryResponseResponseRecordsItemProvider) GetName ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) GetName() string
GetName returns the value of Name.
func (*BillingHistoryResponseResponseRecordsItemProvider) GetUUID ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*BillingHistoryResponseResponseRecordsItemProvider) MarshalJSON ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BillingHistoryResponseResponseRecordsItemProvider) SetFake ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) SetFake()
SetFake set fake values.
func (*BillingHistoryResponseResponseRecordsItemProvider) SetFaviconLink ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) SetFaviconLink(val NilString)
SetFaviconLink sets the value of FaviconLink.
func (*BillingHistoryResponseResponseRecordsItemProvider) SetName ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) SetName(val string)
SetName sets the value of Name.
func (*BillingHistoryResponseResponseRecordsItemProvider) SetUUID ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*BillingHistoryResponseResponseRecordsItemProvider) UnmarshalJSON ¶
func (s *BillingHistoryResponseResponseRecordsItemProvider) UnmarshalJSON(data []byte) error
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) 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 ¶
func (s *BillingNodesResponse) GetResponse() BillingNodesResponseResponse
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 ¶
func (s *BillingNodesResponse) SetResponse(val BillingNodesResponseResponse)
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 ¶
func (s *BillingNodesResponseResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *BillingNodesResponseResponse) GetBillingNodes() []BillingNodesResponseResponseBillingNodesItem
GetBillingNodes returns the value of BillingNodes.
func (*BillingNodesResponseResponse) GetStats ¶
func (s *BillingNodesResponseResponse) GetStats() BillingNodesResponseResponseStats
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 ¶
func (s *BillingNodesResponseResponse) SetBillingNodes(val []BillingNodesResponseResponseBillingNodesItem)
SetBillingNodes sets the value of BillingNodes.
func (*BillingNodesResponseResponse) SetFake ¶
func (s *BillingNodesResponseResponse) SetFake()
SetFake set fake values.
func (*BillingNodesResponseResponse) SetStats ¶
func (s *BillingNodesResponseResponse) SetStats(val BillingNodesResponseResponseStats)
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 ¶
func (s *BillingNodesResponseResponseBillingNodesItem) Decode(d *jx.Decoder) error
Decode decodes BillingNodesResponseResponseBillingNodesItem from json.
func (*BillingNodesResponseResponseBillingNodesItem) Encode ¶
func (s *BillingNodesResponseResponseBillingNodesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BillingNodesResponseResponseBillingNodesItem) GetCreatedAt ¶
func (s *BillingNodesResponseResponseBillingNodesItem) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*BillingNodesResponseResponseBillingNodesItem) GetNextBillingAt ¶
func (s *BillingNodesResponseResponseBillingNodesItem) GetNextBillingAt() time.Time
GetNextBillingAt returns the value of NextBillingAt.
func (*BillingNodesResponseResponseBillingNodesItem) GetNode ¶
func (s *BillingNodesResponseResponseBillingNodesItem) GetNode() Node
GetNode returns the value of Node.
func (*BillingNodesResponseResponseBillingNodesItem) GetNodeUuid ¶
func (s *BillingNodesResponseResponseBillingNodesItem) GetNodeUuid() uuid.UUID
GetNodeUuid returns the value of NodeUuid.
func (*BillingNodesResponseResponseBillingNodesItem) GetProvider ¶
func (s *BillingNodesResponseResponseBillingNodesItem) GetProvider() BillingNodesResponseResponseBillingNodesItemProvider
GetProvider returns the value of Provider.
func (*BillingNodesResponseResponseBillingNodesItem) GetProviderUuid ¶
func (s *BillingNodesResponseResponseBillingNodesItem) GetProviderUuid() uuid.UUID
GetProviderUuid returns the value of ProviderUuid.
func (*BillingNodesResponseResponseBillingNodesItem) GetUUID ¶
func (s *BillingNodesResponseResponseBillingNodesItem) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*BillingNodesResponseResponseBillingNodesItem) GetUpdatedAt ¶
func (s *BillingNodesResponseResponseBillingNodesItem) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*BillingNodesResponseResponseBillingNodesItem) MarshalJSON ¶
func (s *BillingNodesResponseResponseBillingNodesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BillingNodesResponseResponseBillingNodesItem) SetCreatedAt ¶
func (s *BillingNodesResponseResponseBillingNodesItem) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*BillingNodesResponseResponseBillingNodesItem) SetFake ¶
func (s *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 ¶
func (s *BillingNodesResponseResponseBillingNodesItem) SetNode(val Node)
SetNode sets the value of Node.
func (*BillingNodesResponseResponseBillingNodesItem) SetNodeUuid ¶
func (s *BillingNodesResponseResponseBillingNodesItem) SetNodeUuid(val uuid.UUID)
SetNodeUuid sets the value of NodeUuid.
func (*BillingNodesResponseResponseBillingNodesItem) SetProvider ¶
func (s *BillingNodesResponseResponseBillingNodesItem) SetProvider(val BillingNodesResponseResponseBillingNodesItemProvider)
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 ¶
func (s *BillingNodesResponseResponseBillingNodesItem) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*BillingNodesResponseResponseBillingNodesItem) SetUpdatedAt ¶
func (s *BillingNodesResponseResponseBillingNodesItem) SetUpdatedAt(val time.Time)
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 ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) Decode(d *jx.Decoder) error
Decode decodes BillingNodesResponseResponseBillingNodesItemProvider from json.
func (*BillingNodesResponseResponseBillingNodesItemProvider) Encode ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BillingNodesResponseResponseBillingNodesItemProvider) GetFaviconLink ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) GetFaviconLink() NilString
GetFaviconLink returns the value of FaviconLink.
func (*BillingNodesResponseResponseBillingNodesItemProvider) GetLoginUrl ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) GetLoginUrl() NilString
GetLoginUrl returns the value of LoginUrl.
func (*BillingNodesResponseResponseBillingNodesItemProvider) GetName ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) GetName() string
GetName returns the value of Name.
func (*BillingNodesResponseResponseBillingNodesItemProvider) GetUUID ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*BillingNodesResponseResponseBillingNodesItemProvider) MarshalJSON ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BillingNodesResponseResponseBillingNodesItemProvider) SetFake ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetFake()
SetFake set fake values.
func (*BillingNodesResponseResponseBillingNodesItemProvider) SetFaviconLink ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetFaviconLink(val NilString)
SetFaviconLink sets the value of FaviconLink.
func (*BillingNodesResponseResponseBillingNodesItemProvider) SetLoginUrl ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetLoginUrl(val NilString)
SetLoginUrl sets the value of LoginUrl.
func (*BillingNodesResponseResponseBillingNodesItemProvider) SetName ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetName(val string)
SetName sets the value of Name.
func (*BillingNodesResponseResponseBillingNodesItemProvider) SetUUID ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*BillingNodesResponseResponseBillingNodesItemProvider) UnmarshalJSON ¶
func (s *BillingNodesResponseResponseBillingNodesItemProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BillingNodesResponseResponseStats ¶
type BillingNodesResponseResponseStats struct {
UpcomingNodesCount float64 `json:"upcomingNodesCount"`
CurrentMonthPayments float64 `json:"currentMonthPayments"`
TotalSpent float64 `json:"totalSpent"`
}
func (*BillingNodesResponseResponseStats) Decode ¶
func (s *BillingNodesResponseResponseStats) Decode(d *jx.Decoder) error
Decode decodes BillingNodesResponseResponseStats from json.
func (*BillingNodesResponseResponseStats) Encode ¶
func (s *BillingNodesResponseResponseStats) Encode(e *jx.Encoder)
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 ¶
func (s *BillingNodesResponseResponseStats) Validate() error
type BrandingSettings ¶
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) 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 ¶
func (s *BulkActionResponse) GetResponse() BulkActionResponseResponse
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 ¶
func (s *BulkActionResponseResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *BulkAllExtendExpirationDateRequestDto) Decode(d *jx.Decoder) error
Decode decodes BulkAllExtendExpirationDateRequestDto from json.
func (*BulkAllExtendExpirationDateRequestDto) Encode ¶
func (s *BulkAllExtendExpirationDateRequestDto) Encode(e *jx.Encoder)
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 ¶
func (s *BulkAllExtendExpirationDateRequestDto) SetFake()
SetFake set fake values.
func (*BulkAllExtendExpirationDateRequestDto) UnmarshalJSON ¶
func (s *BulkAllExtendExpirationDateRequestDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BulkAllExtendExpirationDateRequestDto) Validate ¶
func (s *BulkAllExtendExpirationDateRequestDto) Validate() error
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 ¶
func (s *BulkAllUpdateUsersRequestDto) Decode(d *jx.Decoder) error
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 ¶
func (s *BulkAllUpdateUsersRequestDto) GetEmail() OptNilString
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 ¶
func (s *BulkAllUpdateUsersRequestDto) GetStatus() OptBulkAllUpdateUsersRequestDtoStatus
GetStatus returns the value of Status.
func (*BulkAllUpdateUsersRequestDto) GetTag ¶
func (s *BulkAllUpdateUsersRequestDto) GetTag() OptNilString
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 ¶
func (s *BulkAllUpdateUsersRequestDto) GetTrafficLimitStrategy() OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy
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 ¶
func (s *BulkAllUpdateUsersRequestDto) SetStatus(val OptBulkAllUpdateUsersRequestDtoStatus)
SetStatus sets the value of Status.
func (*BulkAllUpdateUsersRequestDto) SetTag ¶
func (s *BulkAllUpdateUsersRequestDto) SetTag(val OptNilString)
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 ¶
func (s *BulkAllUpdateUsersRequestDto) SetTrafficLimitStrategy(val OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy)
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 ¶
func (BulkAllUpdateUsersRequestDtoStatus) AllValues() []BulkAllUpdateUsersRequestDtoStatus
AllValues returns all BulkAllUpdateUsersRequestDtoStatus values.
func (*BulkAllUpdateUsersRequestDtoStatus) Decode ¶
func (s *BulkAllUpdateUsersRequestDtoStatus) Decode(d *jx.Decoder) error
Decode decodes BulkAllUpdateUsersRequestDtoStatus from json.
func (BulkAllUpdateUsersRequestDtoStatus) Encode ¶
func (s BulkAllUpdateUsersRequestDtoStatus) Encode(e *jx.Encoder)
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 ¶
func (s *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 ¶
func (s BulkAllUpdateUsersRequestDtoStatus) Validate() error
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 ¶
func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) AllValues() []BulkAllUpdateUsersRequestDtoTrafficLimitStrategy
AllValues returns all BulkAllUpdateUsersRequestDtoTrafficLimitStrategy values.
func (*BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Decode ¶
func (s *BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes BulkAllUpdateUsersRequestDtoTrafficLimitStrategy from json.
func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Encode ¶
func (s BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes BulkAllUpdateUsersRequestDtoTrafficLimitStrategy as json.
func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalJSON ¶
func (s BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalText ¶
func (s BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetFake ¶
func (s *BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetFake()
SetFake set fake values.
func (*BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalJSON ¶
func (s *BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalText ¶
func (s *BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Validate ¶
func (s BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Validate() error
type BulkDeleteUsersByStatusRequestDto ¶
type BulkDeleteUsersByStatusRequestDto struct {
Status OptBulkDeleteUsersByStatusRequestDtoStatus `json:"status"`
}
Ref: #/components/schemas/BulkDeleteUsersByStatusRequestDto
func (*BulkDeleteUsersByStatusRequestDto) Decode ¶
func (s *BulkDeleteUsersByStatusRequestDto) Decode(d *jx.Decoder) error
Decode decodes BulkDeleteUsersByStatusRequestDto from json.
func (*BulkDeleteUsersByStatusRequestDto) Encode ¶
func (s *BulkDeleteUsersByStatusRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BulkDeleteUsersByStatusRequestDto) GetStatus ¶
func (s *BulkDeleteUsersByStatusRequestDto) GetStatus() OptBulkDeleteUsersByStatusRequestDtoStatus
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 ¶
func (s *BulkDeleteUsersByStatusRequestDto) SetStatus(val OptBulkDeleteUsersByStatusRequestDtoStatus)
SetStatus sets the value of Status.
func (*BulkDeleteUsersByStatusRequestDto) UnmarshalJSON ¶
func (s *BulkDeleteUsersByStatusRequestDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BulkDeleteUsersByStatusRequestDto) Validate ¶
func (s *BulkDeleteUsersByStatusRequestDto) Validate() error
type BulkDeleteUsersByStatusRequestDtoStatus ¶
type BulkDeleteUsersByStatusRequestDtoStatus string
const ( BulkDeleteUsersByStatusRequestDtoStatusACTIVE BulkDeleteUsersByStatusRequestDtoStatus = "ACTIVE" BulkDeleteUsersByStatusRequestDtoStatusDISABLED BulkDeleteUsersByStatusRequestDtoStatus = "DISABLED" BulkDeleteUsersByStatusRequestDtoStatusLIMITED BulkDeleteUsersByStatusRequestDtoStatus = "LIMITED" BulkDeleteUsersByStatusRequestDtoStatusEXPIRED BulkDeleteUsersByStatusRequestDtoStatus = "EXPIRED" )
func (BulkDeleteUsersByStatusRequestDtoStatus) AllValues ¶
func (BulkDeleteUsersByStatusRequestDtoStatus) AllValues() []BulkDeleteUsersByStatusRequestDtoStatus
AllValues returns all BulkDeleteUsersByStatusRequestDtoStatus values.
func (*BulkDeleteUsersByStatusRequestDtoStatus) Decode ¶
func (s *BulkDeleteUsersByStatusRequestDtoStatus) Decode(d *jx.Decoder) error
Decode decodes BulkDeleteUsersByStatusRequestDtoStatus from json.
func (BulkDeleteUsersByStatusRequestDtoStatus) Encode ¶
func (s BulkDeleteUsersByStatusRequestDtoStatus) Encode(e *jx.Encoder)
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 ¶
func (s *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 ¶
func (s BulkDeleteUsersByStatusRequestDtoStatus) Validate() error
type BulkExtendExpirationDateRequestDto ¶
type BulkExtendExpirationDateRequestDto struct {
Uuids []uuid.UUID `json:"uuids"`
ExtendDays int `json:"extendDays"`
}
Ref: #/components/schemas/BulkExtendExpirationDateRequestDto
func (*BulkExtendExpirationDateRequestDto) Decode ¶
func (s *BulkExtendExpirationDateRequestDto) Decode(d *jx.Decoder) error
Decode decodes BulkExtendExpirationDateRequestDto from json.
func (*BulkExtendExpirationDateRequestDto) Encode ¶
func (s *BulkExtendExpirationDateRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BulkExtendExpirationDateRequestDto) GetExtendDays ¶
func (s *BulkExtendExpirationDateRequestDto) GetExtendDays() int
GetExtendDays returns the value of ExtendDays.
func (*BulkExtendExpirationDateRequestDto) GetUuids ¶
func (s *BulkExtendExpirationDateRequestDto) GetUuids() []uuid.UUID
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 ¶
func (s *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 ¶
func (s *BulkExtendExpirationDateRequestDto) Validate() error
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 ¶
func (s *BulkUpdateUsersRequestDto) GetFields() BulkUpdateUsersRequestDtoFields
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 ¶
func (s *BulkUpdateUsersRequestDto) SetFields(val BulkUpdateUsersRequestDtoFields)
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 ¶
func (s *BulkUpdateUsersRequestDtoFields) Decode(d *jx.Decoder) error
Decode decodes BulkUpdateUsersRequestDtoFields from json.
func (*BulkUpdateUsersRequestDtoFields) Encode ¶
func (s *BulkUpdateUsersRequestDtoFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BulkUpdateUsersRequestDtoFields) GetDescription ¶
func (s *BulkUpdateUsersRequestDtoFields) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*BulkUpdateUsersRequestDtoFields) GetEmail ¶
func (s *BulkUpdateUsersRequestDtoFields) GetEmail() OptNilString
GetEmail returns the value of Email.
func (*BulkUpdateUsersRequestDtoFields) GetExpireAt ¶
func (s *BulkUpdateUsersRequestDtoFields) GetExpireAt() OptDateTime
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 ¶
func (s *BulkUpdateUsersRequestDtoFields) GetStatus() OptBulkUpdateUsersRequestDtoFieldsStatus
GetStatus returns the value of Status.
func (*BulkUpdateUsersRequestDtoFields) GetTag ¶
func (s *BulkUpdateUsersRequestDtoFields) GetTag() OptNilString
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 ¶
func (s *BulkUpdateUsersRequestDtoFields) GetTrafficLimitStrategy() OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
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 ¶
func (s *BulkUpdateUsersRequestDtoFields) SetEmail(val OptNilString)
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 ¶
func (s *BulkUpdateUsersRequestDtoFields) SetStatus(val OptBulkUpdateUsersRequestDtoFieldsStatus)
SetStatus sets the value of Status.
func (*BulkUpdateUsersRequestDtoFields) SetTag ¶
func (s *BulkUpdateUsersRequestDtoFields) SetTag(val OptNilString)
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 ¶
func (s *BulkUpdateUsersRequestDtoFields) SetTrafficLimitStrategy(val OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy)
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 ¶
func (BulkUpdateUsersRequestDtoFieldsStatus) AllValues() []BulkUpdateUsersRequestDtoFieldsStatus
AllValues returns all BulkUpdateUsersRequestDtoFieldsStatus values.
func (*BulkUpdateUsersRequestDtoFieldsStatus) Decode ¶
func (s *BulkUpdateUsersRequestDtoFieldsStatus) Decode(d *jx.Decoder) error
Decode decodes BulkUpdateUsersRequestDtoFieldsStatus from json.
func (BulkUpdateUsersRequestDtoFieldsStatus) Encode ¶
func (s BulkUpdateUsersRequestDtoFieldsStatus) Encode(e *jx.Encoder)
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 ¶
func (s *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 ¶
func (s BulkUpdateUsersRequestDtoFieldsStatus) Validate() error
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 ¶
func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) AllValues() []BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
AllValues returns all BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy values.
func (*BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Decode ¶
func (s *BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy from json.
func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Encode ¶
func (s BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy as json.
func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalJSON ¶
func (s BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalText ¶
func (s BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetFake ¶
func (s *BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetFake()
SetFake set fake values.
func (*BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalJSON ¶
func (s *BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalText ¶
func (s *BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Validate ¶
func (s BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Validate() error
type BulkUpdateUsersSquadsRequestDto ¶
type BulkUpdateUsersSquadsRequestDto struct {
Uuids []uuid.UUID `json:"uuids"`
ActiveInternalSquads []uuid.UUID `json:"activeInternalSquads"`
}
Ref: #/components/schemas/BulkUpdateUsersSquadsRequestDto
func (*BulkUpdateUsersSquadsRequestDto) Decode ¶
func (s *BulkUpdateUsersSquadsRequestDto) Decode(d *jx.Decoder) error
Decode decodes BulkUpdateUsersSquadsRequestDto from json.
func (*BulkUpdateUsersSquadsRequestDto) Encode ¶
func (s *BulkUpdateUsersSquadsRequestDto) Encode(e *jx.Encoder)
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 ¶
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) 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 ¶
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) 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 ¶
Ref: #/components/schemas/ByAppItem
func (*ByAppItem) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ByAppItem) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) 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 ¶
func (c *Client) BandwidthStatsNodesControllerGetNodeUserUsage(ctx context.Context, params BandwidthStatsNodesControllerGetNodeUserUsageParams) (BandwidthStatsNodesControllerGetNodeUserUsageRes, error)
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 ¶
func (c *Client) BandwidthStatsNodesControllerGetStatsNodeUsersUsage(ctx context.Context, params BandwidthStatsNodesControllerGetStatsNodeUsersUsageParams) (BandwidthStatsNodesControllerGetStatsNodeUsersUsageRes, error)
BandwidthStatsNodesControllerGetStatsNodeUsersUsage invokes BandwidthStatsNodesController_getStatsNodeUsersUsage operation.
Get Node Users Usage by Node UUID.
GET /api/bandwidth-stats/nodes/{uuid}/users
func (*Client) BandwidthStatsUsersControllerGetStatsNodesUsage ¶
func (c *Client) BandwidthStatsUsersControllerGetStatsNodesUsage(ctx context.Context, params BandwidthStatsUsersControllerGetStatsNodesUsageParams) (BandwidthStatsUsersControllerGetStatsNodesUsageRes, error)
BandwidthStatsUsersControllerGetStatsNodesUsage invokes BandwidthStatsUsersController_getStatsNodesUsage operation.
Get User Usage by Range.
GET /api/bandwidth-stats/users/{uuid}
func (*Client) BandwidthStatsUsersControllerGetUserUsageByRange ¶
func (c *Client) BandwidthStatsUsersControllerGetUserUsageByRange(ctx context.Context, params BandwidthStatsUsersControllerGetUserUsageByRangeParams) (BandwidthStatsUsersControllerGetUserUsageByRangeRes, error)
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 ¶
func (c *Client) ConfigProfileControllerDeleteConfigProfileByUuid(ctx context.Context, params ConfigProfileControllerDeleteConfigProfileByUuidParams) (ConfigProfileControllerDeleteConfigProfileByUuidRes, error)
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 ¶
func (c *Client) ConfigProfileControllerGetComputedConfigProfileByUuid(ctx context.Context, params ConfigProfileControllerGetComputedConfigProfileByUuidParams) (ConfigProfileControllerGetComputedConfigProfileByUuidRes, error)
ConfigProfileControllerGetComputedConfigProfileByUuid invokes ConfigProfileController_getComputedConfigProfileByUuid operation.
Get computed config profile by uuid.
GET /api/config-profiles/{uuid}/computed-config
func (*Client) ConfigProfileControllerGetConfigProfileByUuid ¶
func (c *Client) ConfigProfileControllerGetConfigProfileByUuid(ctx context.Context, params ConfigProfileControllerGetConfigProfileByUuidParams) (ConfigProfileControllerGetConfigProfileByUuidRes, error)
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 ¶
func (c *Client) ConfigProfileControllerGetInboundsByProfileUuid(ctx context.Context, params ConfigProfileControllerGetInboundsByProfileUuidParams) (ConfigProfileControllerGetInboundsByProfileUuidRes, error)
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 ¶
func (c *Client) ExternalSquadControllerAddUsersToExternalSquad(ctx context.Context, params ExternalSquadControllerAddUsersToExternalSquadParams) (ExternalSquadControllerAddUsersToExternalSquadRes, error)
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 ¶
func (c *Client) ExternalSquadControllerDeleteExternalSquad(ctx context.Context, params ExternalSquadControllerDeleteExternalSquadParams) (ExternalSquadControllerDeleteExternalSquadRes, error)
ExternalSquadControllerDeleteExternalSquad invokes ExternalSquadController_deleteExternalSquad operation.
Delete external squad.
DELETE /api/external-squads/{uuid}
func (*Client) ExternalSquadControllerGetExternalSquadByUuid ¶
func (c *Client) ExternalSquadControllerGetExternalSquadByUuid(ctx context.Context, params ExternalSquadControllerGetExternalSquadByUuidParams) (ExternalSquadControllerGetExternalSquadByUuidRes, error)
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 ¶
func (c *Client) ExternalSquadControllerRemoveUsersFromExternalSquad(ctx context.Context, params ExternalSquadControllerRemoveUsersFromExternalSquadParams) (ExternalSquadControllerRemoveUsersFromExternalSquadRes, error)
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 ¶
func (c *Client) HwidUserDevicesControllerGetAllUsers(ctx context.Context, params HwidUserDevicesControllerGetAllUsersParams) (HwidUserDevicesControllerGetAllUsersRes, error)
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 ¶
func (c *Client) HwidUserDevicesControllerGetTopUsersByHwidDevices(ctx context.Context, params HwidUserDevicesControllerGetTopUsersByHwidDevicesParams) (HwidUserDevicesControllerGetTopUsersByHwidDevicesRes, error)
HwidUserDevicesControllerGetTopUsersByHwidDevices invokes HwidUserDevicesController_getTopUsersByHwidDevices operation.
Get top users by HWID devices.
GET /api/hwid/devices/top-users
func (*Client) HwidUserDevicesControllerGetUserHwidDevices ¶
func (c *Client) HwidUserDevicesControllerGetUserHwidDevices(ctx context.Context, params HwidUserDevicesControllerGetUserHwidDevicesParams) (HwidUserDevicesControllerGetUserHwidDevicesRes, error)
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 ¶
func (c *Client) InfraBillingControllerDeleteInfraBillingHistoryRecordByUuid(ctx context.Context, params InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidParams) (InfraBillingControllerDeleteInfraBillingHistoryRecordByUuidRes, error)
InfraBillingControllerDeleteInfraBillingHistoryRecordByUuid invokes InfraBillingController_deleteInfraBillingHistoryRecordByUuid operation.
Delete infra billing history.
DELETE /api/infra-billing/history/{uuid}
func (*Client) InfraBillingControllerDeleteInfraBillingNodeByUuid ¶
func (c *Client) InfraBillingControllerDeleteInfraBillingNodeByUuid(ctx context.Context, params InfraBillingControllerDeleteInfraBillingNodeByUuidParams) (InfraBillingControllerDeleteInfraBillingNodeByUuidRes, error)
InfraBillingControllerDeleteInfraBillingNodeByUuid invokes InfraBillingController_deleteInfraBillingNodeByUuid operation.
Delete infra billing node.
DELETE /api/infra-billing/nodes/{uuid}
func (*Client) InfraBillingControllerDeleteInfraProviderByUuid ¶
func (c *Client) InfraBillingControllerDeleteInfraProviderByUuid(ctx context.Context, params InfraBillingControllerDeleteInfraProviderByUuidParams) (InfraBillingControllerDeleteInfraProviderByUuidRes, error)
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 ¶
func (c *Client) InfraBillingControllerGetInfraProviderByUuid(ctx context.Context, params InfraBillingControllerGetInfraProviderByUuidParams) (InfraBillingControllerGetInfraProviderByUuidRes, error)
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 ¶
func (c *Client) InternalSquadControllerAddUsersToInternalSquad(ctx context.Context, params InternalSquadControllerAddUsersToInternalSquadParams) (InternalSquadControllerAddUsersToInternalSquadRes, error)
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 ¶
func (c *Client) InternalSquadControllerDeleteInternalSquad(ctx context.Context, params InternalSquadControllerDeleteInternalSquadParams) (InternalSquadControllerDeleteInternalSquadRes, error)
InternalSquadControllerDeleteInternalSquad invokes InternalSquadController_deleteInternalSquad operation.
Delete internal squad.
DELETE /api/internal-squads/{uuid}
func (*Client) InternalSquadControllerGetInternalSquadAccessibleNodes ¶
func (c *Client) InternalSquadControllerGetInternalSquadAccessibleNodes(ctx context.Context, params InternalSquadControllerGetInternalSquadAccessibleNodesParams) (InternalSquadControllerGetInternalSquadAccessibleNodesRes, error)
InternalSquadControllerGetInternalSquadAccessibleNodes invokes InternalSquadController_getInternalSquadAccessibleNodes operation.
Get internal squad accessible nodes.
GET /api/internal-squads/{uuid}/accessible-nodes
func (*Client) InternalSquadControllerGetInternalSquadByUuid ¶
func (c *Client) InternalSquadControllerGetInternalSquadByUuid(ctx context.Context, params InternalSquadControllerGetInternalSquadByUuidParams) (InternalSquadControllerGetInternalSquadByUuidRes, error)
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 ¶
func (c *Client) InternalSquadControllerRemoveUsersFromInternalSquad(ctx context.Context, params InternalSquadControllerRemoveUsersFromInternalSquadParams) (InternalSquadControllerRemoveUsersFromInternalSquadRes, error)
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 ¶
func (c *Client) NodesUsageHistoryControllerGetStatsNodesUsage(ctx context.Context, params NodesUsageHistoryControllerGetStatsNodesUsageParams) (NodesUsageHistoryControllerGetStatsNodesUsageRes, error)
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 ¶
func (c *Client) SubscriptionControllerGetSubscriptionInfoByShortUuid(ctx context.Context, params SubscriptionControllerGetSubscriptionInfoByShortUuidParams) (SubscriptionControllerGetSubscriptionInfoByShortUuidRes, error)
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 ¶
func (c *Client) SubscriptionPageConfigControllerDeleteConfig(ctx context.Context, params SubscriptionPageConfigControllerDeleteConfigParams) (SubscriptionPageConfigControllerDeleteConfigRes, error)
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 ¶
func (c *Client) SubscriptionPageConfigControllerGetConfigByUuid(ctx context.Context, params SubscriptionPageConfigControllerGetConfigByUuidParams) (SubscriptionPageConfigControllerGetConfigByUuidRes, error)
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 ¶
func (c *Client) SubscriptionTemplateControllerDeleteTemplate(ctx context.Context, params SubscriptionTemplateControllerDeleteTemplateParams) (SubscriptionTemplateControllerDeleteTemplateRes, error)
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 ¶
func (c *Client) SubscriptionTemplateControllerGetTemplateByUuid(ctx context.Context, params SubscriptionTemplateControllerGetTemplateByUuidParams) (SubscriptionTemplateControllerGetTemplateByUuidRes, error)
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 ¶
func (c *Client) SubscriptionsControllerGetAllSubscriptions(ctx context.Context, params SubscriptionsControllerGetAllSubscriptionsParams) (SubscriptionsControllerGetAllSubscriptionsRes, error)
SubscriptionsControllerGetAllSubscriptions invokes SubscriptionsController_getAllSubscriptions operation.
Get all subscriptions.
GET /api/subscriptions
func (*Client) SubscriptionsControllerGetRawSubscriptionByShortUuid ¶
func (c *Client) SubscriptionsControllerGetRawSubscriptionByShortUuid(ctx context.Context, params SubscriptionsControllerGetRawSubscriptionByShortUuidParams) (SubscriptionsControllerGetRawSubscriptionByShortUuidRes, error)
SubscriptionsControllerGetRawSubscriptionByShortUuid invokes SubscriptionsController_getRawSubscriptionByShortUuid operation.
Get Raw Subscription by Short UUID.
GET /api/subscriptions/by-short-uuid/{shortUuid}/raw
func (*Client) SubscriptionsControllerGetSubpageConfigByShortUuid ¶
func (c *Client) SubscriptionsControllerGetSubpageConfigByShortUuid(ctx context.Context, request *GetSubpageConfigByShortUuidRequestBodyDto, params SubscriptionsControllerGetSubpageConfigByShortUuidParams) (SubscriptionsControllerGetSubpageConfigByShortUuidRes, error)
SubscriptionsControllerGetSubpageConfigByShortUuid invokes SubscriptionsController_getSubpageConfigByShortUuid operation.
Get Subpage Config by Short UUID.
GET /api/subscriptions/subpage-config/{shortUuid}
func (*Client) SubscriptionsControllerGetSubscriptionByShortUuidProtected ¶
func (c *Client) SubscriptionsControllerGetSubscriptionByShortUuidProtected(ctx context.Context, params SubscriptionsControllerGetSubscriptionByShortUuidProtectedParams) (SubscriptionsControllerGetSubscriptionByShortUuidProtectedRes, error)
SubscriptionsControllerGetSubscriptionByShortUuidProtected invokes SubscriptionsController_getSubscriptionByShortUuidProtected operation.
Get subscription by short uuid (protected route).
GET /api/subscriptions/by-short-uuid/{shortUuid}
func (*Client) SubscriptionsControllerGetSubscriptionByUsername ¶
func (c *Client) SubscriptionsControllerGetSubscriptionByUsername(ctx context.Context, params SubscriptionsControllerGetSubscriptionByUsernameParams) (SubscriptionsControllerGetSubscriptionByUsernameRes, error)
SubscriptionsControllerGetSubscriptionByUsername invokes SubscriptionsController_getSubscriptionByUsername operation.
Get subscription by username.
GET /api/subscriptions/by-username/{username}
func (*Client) SubscriptionsControllerGetSubscriptionByUuid ¶
func (c *Client) SubscriptionsControllerGetSubscriptionByUuid(ctx context.Context, params SubscriptionsControllerGetSubscriptionByUuidParams) (SubscriptionsControllerGetSubscriptionByUuidRes, error)
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 (*Client) SystemControllerEncryptHappCryptoLink ¶
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 ¶
func (c *Client) UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistory(ctx context.Context, params UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryParams) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryRes, error)
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 ¶
func (c *Client) UsersControllerGetUserAccessibleNodes(ctx context.Context, params UsersControllerGetUserAccessibleNodesParams) (UsersControllerGetUserAccessibleNodesRes, error)
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 ¶
func (c *Client) UsersControllerGetUserSubscriptionRequestHistory(ctx context.Context, params UsersControllerGetUserSubscriptionRequestHistoryParams) (UsersControllerGetUserSubscriptionRequestHistoryRes, error)
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 ¶
func (c *Client) UsersControllerRevokeUserSubscription(ctx context.Context, request *RevokeUserSubscriptionBodyDto, params UsersControllerRevokeUserSubscriptionParams) (UsersControllerRevokeUserSubscriptionRes, error)
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 ¶
NewClientExt creates a new ClientExt wrapper.
func (*ClientExt) ApiTokens ¶
func (ce *ClientExt) ApiTokens() *ApiTokensClient
ApiTokens returns the ApiTokensClient.
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) ConfigProfile ¶
func (ce *ClientExt) ConfigProfile() *ConfigProfileClient
ConfigProfile returns the ConfigProfileClient.
func (*ClientExt) ExternalSquad ¶
func (ce *ClientExt) ExternalSquad() *ExternalSquadClient
ExternalSquad returns the ExternalSquadClient.
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) 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) 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 ¶
func (s *CloneSubscriptionPageConfigRequestDto) Decode(d *jx.Decoder) error
Decode decodes CloneSubscriptionPageConfigRequestDto from json.
func (*CloneSubscriptionPageConfigRequestDto) Encode ¶
func (s *CloneSubscriptionPageConfigRequestDto) Encode(e *jx.Encoder)
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 ¶
func (s *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) GetCaseSensitive ¶
GetCaseSensitive returns the value of CaseSensitive.
func (*Condition) GetHeaderName ¶
GetHeaderName returns the value of HeaderName.
func (*Condition) GetOperator ¶
func (s *Condition) GetOperator() ConditionOperator
GetOperator returns the value of Operator.
func (*Condition) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Condition) SetCaseSensitive ¶
SetCaseSensitive sets the value of CaseSensitive.
func (*Condition) SetHeaderName ¶
SetHeaderName sets the value of HeaderName.
func (*Condition) SetOperator ¶
func (s *Condition) SetOperator(val ConditionOperator)
SetOperator sets the value of Operator.
func (*Condition) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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) GetViewPosition ¶
GetViewPosition returns the value of ViewPosition.
func (*Config) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Config) SetViewPosition ¶
SetViewPosition sets the value of ViewPosition.
func (*Config) UnmarshalJSON ¶
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) 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 ¶
func (sc *ConfigProfileClient) CreateConfigProfile(ctx context.Context, request *CreateConfigProfileRequestDto) (ConfigProfileControllerCreateConfigProfileRes, error)
CreateConfigProfile calls ConfigProfileController_createConfigProfile.
func (*ConfigProfileClient) DeleteConfigProfileByUuid ¶
func (sc *ConfigProfileClient) DeleteConfigProfileByUuid(ctx context.Context, uuid string) (ConfigProfileControllerDeleteConfigProfileByUuidRes, error)
DeleteConfigProfileByUuid calls ConfigProfileController_deleteConfigProfileByUuid.
func (*ConfigProfileClient) GetAllInbounds ¶
func (sc *ConfigProfileClient) GetAllInbounds(ctx context.Context) (ConfigProfileControllerGetAllInboundsRes, error)
GetAllInbounds calls ConfigProfileController_getAllInbounds.
func (*ConfigProfileClient) GetComputedConfigProfileByUuid ¶
func (sc *ConfigProfileClient) GetComputedConfigProfileByUuid(ctx context.Context, uuid string) (ConfigProfileControllerGetComputedConfigProfileByUuidRes, error)
GetComputedConfigProfileByUuid calls ConfigProfileController_getComputedConfigProfileByUuid.
func (*ConfigProfileClient) GetConfigProfileByUuid ¶
func (sc *ConfigProfileClient) GetConfigProfileByUuid(ctx context.Context, uuid string) (ConfigProfileControllerGetConfigProfileByUuidRes, error)
GetConfigProfileByUuid calls ConfigProfileController_getConfigProfileByUuid.
func (*ConfigProfileClient) GetConfigProfiles ¶
func (sc *ConfigProfileClient) GetConfigProfiles(ctx context.Context) (ConfigProfileControllerGetConfigProfilesRes, error)
GetConfigProfiles calls ConfigProfileController_getConfigProfiles.
func (*ConfigProfileClient) GetInboundsByProfileUuid ¶
func (sc *ConfigProfileClient) GetInboundsByProfileUuid(ctx context.Context, uuid string) (ConfigProfileControllerGetInboundsByProfileUuidRes, error)
GetInboundsByProfileUuid calls ConfigProfileController_getInboundsByProfileUuid.
func (*ConfigProfileClient) ReorderConfigProfiles ¶
func (sc *ConfigProfileClient) ReorderConfigProfiles(ctx context.Context, request *ReorderRequest) (ConfigProfileControllerReorderConfigProfilesRes, error)
ReorderConfigProfiles calls ConfigProfileController_reorderConfigProfiles.
func (*ConfigProfileClient) UpdateConfigProfile ¶
func (sc *ConfigProfileClient) UpdateConfigProfile(ctx context.Context, request *UpdateConfigProfileRequestDto) (ConfigProfileControllerUpdateConfigProfileRes, error)
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) 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) 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 ¶
func (s *ConfigProfilesResponse) GetResponse() ConfigProfilesResponseResponse
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 ¶
func (s *ConfigProfilesResponse) SetResponse(val ConfigProfilesResponseResponse)
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 ¶
func (s *ConfigProfilesResponseResponse) Decode(d *jx.Decoder) error
Decode decodes ConfigProfilesResponseResponse from json.
func (*ConfigProfilesResponseResponse) Encode ¶
func (s *ConfigProfilesResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConfigProfilesResponseResponse) GetConfigProfiles ¶
func (s *ConfigProfilesResponseResponse) GetConfigProfiles() []ConfigProfile
GetConfigProfiles returns the value of ConfigProfiles.
func (*ConfigProfilesResponseResponse) GetTotal ¶
func (s *ConfigProfilesResponseResponse) GetTotal() float64
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 ¶
func (s *CreateApiTokenResponseDto) GetResponse() CreateApiTokenResponseDtoResponse
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 ¶
func (s *CreateApiTokenResponseDto) SetResponse(val CreateApiTokenResponseDtoResponse)
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 ¶
func (s *CreateApiTokenResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes CreateApiTokenResponseDtoResponse from json.
func (*CreateApiTokenResponseDtoResponse) Encode ¶
func (s *CreateApiTokenResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateApiTokenResponseDtoResponse) GetToken ¶
func (s *CreateApiTokenResponseDtoResponse) GetToken() string
GetToken returns the value of Token.
func (*CreateApiTokenResponseDtoResponse) GetUUID ¶
func (s *CreateApiTokenResponseDtoResponse) GetUUID() string
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 ¶
func (s *CreateConfigProfileRequestDto) Decode(d *jx.Decoder) error
Decode decodes CreateConfigProfileRequestDto from json.
func (*CreateConfigProfileRequestDto) Encode ¶
func (s *CreateConfigProfileRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateConfigProfileRequestDto) GetConfig ¶
func (s *CreateConfigProfileRequestDto) GetConfig() CreateConfigProfileRequestDtoConfig
GetConfig returns the value of Config.
func (*CreateConfigProfileRequestDto) GetName ¶
func (s *CreateConfigProfileRequestDto) GetName() string
GetName returns the value of Name.
func (*CreateConfigProfileRequestDto) MarshalJSON ¶
func (s *CreateConfigProfileRequestDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateConfigProfileRequestDto) SetConfig ¶
func (s *CreateConfigProfileRequestDto) SetConfig(val CreateConfigProfileRequestDtoConfig)
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 ¶
func (s *CreateConfigProfileRequestDtoConfig) Decode(d *jx.Decoder) error
Decode decodes CreateConfigProfileRequestDtoConfig from json.
func (*CreateConfigProfileRequestDtoConfig) Encode ¶
func (s *CreateConfigProfileRequestDtoConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateConfigProfileRequestDtoConfig) MarshalJSON ¶
func (s *CreateConfigProfileRequestDtoConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateConfigProfileRequestDtoConfig) SetFake ¶
func (s *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 ¶
func (s *CreateHostRequestDto) GetAlpn() OptNilCreateHostRequestDtoAlpn
GetAlpn returns the value of Alpn.
func (*CreateHostRequestDto) GetExcludedInternalSquads ¶
func (s *CreateHostRequestDto) GetExcludedInternalSquads() []uuid.UUID
GetExcludedInternalSquads returns the value of ExcludedInternalSquads.
func (*CreateHostRequestDto) GetFingerprint ¶
func (s *CreateHostRequestDto) GetFingerprint() OptNilCreateHostRequestDtoFingerprint
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 ¶
func (s *CreateHostRequestDto) GetSecurityLayer() OptCreateHostRequestDtoSecurityLayer
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 ¶
func (s *CreateHostRequestDto) SetAlpn(val OptNilCreateHostRequestDtoAlpn)
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 ¶
func (s *CreateHostRequestDto) SetFingerprint(val OptNilCreateHostRequestDtoFingerprint)
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 ¶
func (s *CreateHostRequestDto) SetSecurityLayer(val OptCreateHostRequestDtoSecurityLayer)
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 ¶
func (CreateHostRequestDtoAlpn) AllValues() []CreateHostRequestDtoAlpn
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 ¶
func (CreateHostRequestDtoFingerprint) AllValues() []CreateHostRequestDtoFingerprint
AllValues returns all CreateHostRequestDtoFingerprint values.
func (*CreateHostRequestDtoFingerprint) Decode ¶
func (s *CreateHostRequestDtoFingerprint) Decode(d *jx.Decoder) error
Decode decodes CreateHostRequestDtoFingerprint from json.
func (CreateHostRequestDtoFingerprint) Encode ¶
func (s CreateHostRequestDtoFingerprint) Encode(e *jx.Encoder)
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 ¶
func (s CreateHostRequestDtoFingerprint) Validate() error
type CreateHostRequestDtoSecurityLayer ¶
type CreateHostRequestDtoSecurityLayer string
const ( CreateHostRequestDtoSecurityLayerDEFAULT CreateHostRequestDtoSecurityLayer = "DEFAULT" CreateHostRequestDtoSecurityLayerTLS CreateHostRequestDtoSecurityLayer = "TLS" CreateHostRequestDtoSecurityLayerNONE CreateHostRequestDtoSecurityLayer = "NONE" )
func (CreateHostRequestDtoSecurityLayer) AllValues ¶
func (CreateHostRequestDtoSecurityLayer) AllValues() []CreateHostRequestDtoSecurityLayer
AllValues returns all CreateHostRequestDtoSecurityLayer values.
func (*CreateHostRequestDtoSecurityLayer) Decode ¶
func (s *CreateHostRequestDtoSecurityLayer) Decode(d *jx.Decoder) error
Decode decodes CreateHostRequestDtoSecurityLayer from json.
func (CreateHostRequestDtoSecurityLayer) Encode ¶
func (s CreateHostRequestDtoSecurityLayer) Encode(e *jx.Encoder)
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 ¶
func (s CreateHostRequestDtoSecurityLayer) Validate() error
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 ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) Decode(d *jx.Decoder) error
Decode decodes CreateInfraBillingHistoryRecordRequestDto from json.
func (*CreateInfraBillingHistoryRecordRequestDto) Encode ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateInfraBillingHistoryRecordRequestDto) GetAmount ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) GetAmount() float64
GetAmount returns the value of Amount.
func (*CreateInfraBillingHistoryRecordRequestDto) GetBilledAt ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) GetBilledAt() time.Time
GetBilledAt returns the value of BilledAt.
func (*CreateInfraBillingHistoryRecordRequestDto) GetProviderUuid ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) GetProviderUuid() uuid.UUID
GetProviderUuid returns the value of ProviderUuid.
func (*CreateInfraBillingHistoryRecordRequestDto) MarshalJSON ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateInfraBillingHistoryRecordRequestDto) SetAmount ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) SetAmount(val float64)
SetAmount sets the value of Amount.
func (*CreateInfraBillingHistoryRecordRequestDto) SetBilledAt ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) SetBilledAt(val time.Time)
SetBilledAt sets the value of BilledAt.
func (*CreateInfraBillingHistoryRecordRequestDto) SetFake ¶
func (s *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 ¶
func (s *CreateInfraBillingHistoryRecordRequestDto) Validate() error
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 ¶
func (s *CreateInfraBillingNodeRequestDto) Decode(d *jx.Decoder) error
Decode decodes CreateInfraBillingNodeRequestDto from json.
func (*CreateInfraBillingNodeRequestDto) Encode ¶
func (s *CreateInfraBillingNodeRequestDto) Encode(e *jx.Encoder)
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 ¶
func (s *CreateInfraProviderRequestDto) Decode(d *jx.Decoder) error
Decode decodes CreateInfraProviderRequestDto from json.
func (*CreateInfraProviderRequestDto) Encode ¶
func (s *CreateInfraProviderRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateInfraProviderRequestDto) GetFaviconLink ¶
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 ¶
func (s *CreateInfraProviderRequestDto) GetName() string
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 (*CreateInfraProviderRequestDto) SetFaviconLink ¶
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 ¶
func (s *CreateInternalSquadRequestDto) Decode(d *jx.Decoder) error
Decode decodes CreateInternalSquadRequestDto from json.
func (*CreateInternalSquadRequestDto) Encode ¶
func (s *CreateInternalSquadRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateInternalSquadRequestDto) GetInbounds ¶
func (s *CreateInternalSquadRequestDto) GetInbounds() []uuid.UUID
GetInbounds returns the value of Inbounds.
func (*CreateInternalSquadRequestDto) GetName ¶
func (s *CreateInternalSquadRequestDto) GetName() string
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 ¶
func (s *CreateSubscriptionPageConfigResponseDto) Decode(d *jx.Decoder) error
Decode decodes CreateSubscriptionPageConfigResponseDto from json.
func (*CreateSubscriptionPageConfigResponseDto) Encode ¶
func (s *CreateSubscriptionPageConfigResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateSubscriptionPageConfigResponseDto) GetResponse ¶
func (s *CreateSubscriptionPageConfigResponseDto) GetResponse() Config
GetResponse returns the value of Response.
func (*CreateSubscriptionPageConfigResponseDto) MarshalJSON ¶
func (s *CreateSubscriptionPageConfigResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSubscriptionPageConfigResponseDto) SetFake ¶
func (s *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 ¶
func (s *CreateSubscriptionTemplateRequestDto) Decode(d *jx.Decoder) error
Decode decodes CreateSubscriptionTemplateRequestDto from json.
func (*CreateSubscriptionTemplateRequestDto) Encode ¶
func (s *CreateSubscriptionTemplateRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateSubscriptionTemplateRequestDto) GetName ¶
func (s *CreateSubscriptionTemplateRequestDto) GetName() string
GetName returns the value of Name.
func (*CreateSubscriptionTemplateRequestDto) GetTemplateType ¶
func (s *CreateSubscriptionTemplateRequestDto) GetTemplateType() CreateSubscriptionTemplateRequestDtoTemplateType
GetTemplateType returns the value of TemplateType.
func (*CreateSubscriptionTemplateRequestDto) MarshalJSON ¶
func (s *CreateSubscriptionTemplateRequestDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSubscriptionTemplateRequestDto) SetFake ¶
func (s *CreateSubscriptionTemplateRequestDto) SetFake()
SetFake set fake values.
func (*CreateSubscriptionTemplateRequestDto) SetName ¶
func (s *CreateSubscriptionTemplateRequestDto) SetName(val string)
SetName sets the value of Name.
func (*CreateSubscriptionTemplateRequestDto) SetTemplateType ¶
func (s *CreateSubscriptionTemplateRequestDto) SetTemplateType(val CreateSubscriptionTemplateRequestDtoTemplateType)
SetTemplateType sets the value of TemplateType.
func (*CreateSubscriptionTemplateRequestDto) UnmarshalJSON ¶
func (s *CreateSubscriptionTemplateRequestDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateSubscriptionTemplateRequestDto) Validate ¶
func (s *CreateSubscriptionTemplateRequestDto) Validate() error
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 ¶
func (CreateSubscriptionTemplateRequestDtoTemplateType) AllValues() []CreateSubscriptionTemplateRequestDtoTemplateType
AllValues returns all CreateSubscriptionTemplateRequestDtoTemplateType values.
func (*CreateSubscriptionTemplateRequestDtoTemplateType) Decode ¶
func (s *CreateSubscriptionTemplateRequestDtoTemplateType) Decode(d *jx.Decoder) error
Decode decodes CreateSubscriptionTemplateRequestDtoTemplateType from json.
func (CreateSubscriptionTemplateRequestDtoTemplateType) Encode ¶
func (s CreateSubscriptionTemplateRequestDtoTemplateType) Encode(e *jx.Encoder)
Encode encodes CreateSubscriptionTemplateRequestDtoTemplateType as json.
func (CreateSubscriptionTemplateRequestDtoTemplateType) MarshalJSON ¶
func (s CreateSubscriptionTemplateRequestDtoTemplateType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateSubscriptionTemplateRequestDtoTemplateType) MarshalText ¶
func (s CreateSubscriptionTemplateRequestDtoTemplateType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateSubscriptionTemplateRequestDtoTemplateType) SetFake ¶
func (s *CreateSubscriptionTemplateRequestDtoTemplateType) SetFake()
SetFake set fake values.
func (*CreateSubscriptionTemplateRequestDtoTemplateType) UnmarshalJSON ¶
func (s *CreateSubscriptionTemplateRequestDtoTemplateType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateSubscriptionTemplateRequestDtoTemplateType) UnmarshalText ¶
func (s *CreateSubscriptionTemplateRequestDtoTemplateType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateSubscriptionTemplateRequestDtoTemplateType) Validate ¶
func (s CreateSubscriptionTemplateRequestDtoTemplateType) Validate() error
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 ¶
func (s *CreateUserHwidDeviceRequestDto) Decode(d *jx.Decoder) error
Decode decodes CreateUserHwidDeviceRequestDto from json.
func (*CreateUserHwidDeviceRequestDto) Encode ¶
func (s *CreateUserHwidDeviceRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateUserHwidDeviceRequestDto) GetDeviceModel ¶
func (s *CreateUserHwidDeviceRequestDto) GetDeviceModel() OptString
GetDeviceModel returns the value of DeviceModel.
func (*CreateUserHwidDeviceRequestDto) GetHwid ¶
func (s *CreateUserHwidDeviceRequestDto) GetHwid() string
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 ¶
func (s *CreateUserRequestDto) GetStatus() OptCreateUserRequestDtoStatus
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 ¶
func (s *CreateUserRequestDto) GetTrafficLimitStrategy() OptCreateUserRequestDtoTrafficLimitStrategy
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 ¶
func (s *CreateUserRequestDto) SetStatus(val OptCreateUserRequestDtoStatus)
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 ¶
func (CreateUserRequestDtoStatus) AllValues() []CreateUserRequestDtoStatus
AllValues returns all CreateUserRequestDtoStatus values.
func (*CreateUserRequestDtoStatus) Decode ¶
func (s *CreateUserRequestDtoStatus) Decode(d *jx.Decoder) error
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 ¶
func (CreateUserRequestDtoTrafficLimitStrategy) AllValues() []CreateUserRequestDtoTrafficLimitStrategy
AllValues returns all CreateUserRequestDtoTrafficLimitStrategy values.
func (*CreateUserRequestDtoTrafficLimitStrategy) Decode ¶
func (s *CreateUserRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes CreateUserRequestDtoTrafficLimitStrategy from json.
func (CreateUserRequestDtoTrafficLimitStrategy) Encode ¶
func (s CreateUserRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes CreateUserRequestDtoTrafficLimitStrategy as json.
func (CreateUserRequestDtoTrafficLimitStrategy) MarshalJSON ¶
func (s CreateUserRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateUserRequestDtoTrafficLimitStrategy) MarshalText ¶
func (s CreateUserRequestDtoTrafficLimitStrategy) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateUserRequestDtoTrafficLimitStrategy) SetFake ¶
func (s *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 ¶
func (s CreateUserRequestDtoTrafficLimitStrategy) Validate() error
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) 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 ¶
func (s *DebugSrrMatcherResponseDto) Decode(d *jx.Decoder) error
Decode decodes DebugSrrMatcherResponseDto from json.
func (*DebugSrrMatcherResponseDto) Encode ¶
func (s *DebugSrrMatcherResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DebugSrrMatcherResponseDto) GetResponse ¶
func (s *DebugSrrMatcherResponseDto) GetResponse() DebugSrrMatcherResponseDtoResponse
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 ¶
func (s *DebugSrrMatcherResponseDto) SetResponse(val DebugSrrMatcherResponseDtoResponse)
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 ¶
func (s *DebugSrrMatcherResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes DebugSrrMatcherResponseDtoResponse from json.
func (*DebugSrrMatcherResponseDtoResponse) Encode ¶
func (s *DebugSrrMatcherResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DebugSrrMatcherResponseDtoResponse) GetInputHeaders ¶
func (s *DebugSrrMatcherResponseDtoResponse) GetInputHeaders() DebugSrrMatcherResponseDtoResponseInputHeaders
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 ¶
func (s *DebugSrrMatcherResponseDtoResponse) GetOutputHeaders() DebugSrrMatcherResponseDtoResponseOutputHeaders
GetOutputHeaders returns the value of OutputHeaders.
func (*DebugSrrMatcherResponseDtoResponse) GetResponseType ¶
func (s *DebugSrrMatcherResponseDtoResponse) GetResponseType() DebugSrrMatcherResponseDtoResponseResponseType
GetResponseType returns the value of ResponseType.
func (*DebugSrrMatcherResponseDtoResponse) MarshalJSON ¶
func (s *DebugSrrMatcherResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DebugSrrMatcherResponseDtoResponse) SetFake ¶
func (s *DebugSrrMatcherResponseDtoResponse) SetFake()
SetFake set fake values.
func (*DebugSrrMatcherResponseDtoResponse) SetInputHeaders ¶
func (s *DebugSrrMatcherResponseDtoResponse) SetInputHeaders(val DebugSrrMatcherResponseDtoResponseInputHeaders)
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 ¶
func (s *DebugSrrMatcherResponseDtoResponse) SetOutputHeaders(val DebugSrrMatcherResponseDtoResponseOutputHeaders)
SetOutputHeaders sets the value of OutputHeaders.
func (*DebugSrrMatcherResponseDtoResponse) SetResponseType ¶
func (s *DebugSrrMatcherResponseDtoResponse) SetResponseType(val DebugSrrMatcherResponseDtoResponseResponseType)
SetResponseType sets the value of ResponseType.
func (*DebugSrrMatcherResponseDtoResponse) UnmarshalJSON ¶
func (s *DebugSrrMatcherResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DebugSrrMatcherResponseDtoResponse) Validate ¶
func (s *DebugSrrMatcherResponseDtoResponse) Validate() error
type DebugSrrMatcherResponseDtoResponseInputHeaders ¶
func (*DebugSrrMatcherResponseDtoResponseInputHeaders) Decode ¶
func (s *DebugSrrMatcherResponseDtoResponseInputHeaders) Decode(d *jx.Decoder) error
Decode decodes DebugSrrMatcherResponseDtoResponseInputHeaders from json.
func (DebugSrrMatcherResponseDtoResponseInputHeaders) Encode ¶
func (s DebugSrrMatcherResponseDtoResponseInputHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DebugSrrMatcherResponseDtoResponseInputHeaders) MarshalJSON ¶
func (s DebugSrrMatcherResponseDtoResponseInputHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DebugSrrMatcherResponseDtoResponseInputHeaders) SetFake ¶
func (s *DebugSrrMatcherResponseDtoResponseInputHeaders) SetFake()
SetFake set fake values.
func (*DebugSrrMatcherResponseDtoResponseInputHeaders) UnmarshalJSON ¶
func (s *DebugSrrMatcherResponseDtoResponseInputHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DebugSrrMatcherResponseDtoResponseOutputHeaders ¶
func (*DebugSrrMatcherResponseDtoResponseOutputHeaders) Decode ¶
func (s *DebugSrrMatcherResponseDtoResponseOutputHeaders) Decode(d *jx.Decoder) error
Decode decodes DebugSrrMatcherResponseDtoResponseOutputHeaders from json.
func (DebugSrrMatcherResponseDtoResponseOutputHeaders) Encode ¶
func (s DebugSrrMatcherResponseDtoResponseOutputHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DebugSrrMatcherResponseDtoResponseOutputHeaders) MarshalJSON ¶
func (s DebugSrrMatcherResponseDtoResponseOutputHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DebugSrrMatcherResponseDtoResponseOutputHeaders) SetFake ¶
func (s *DebugSrrMatcherResponseDtoResponseOutputHeaders) SetFake()
SetFake set fake values.
func (*DebugSrrMatcherResponseDtoResponseOutputHeaders) UnmarshalJSON ¶
func (s *DebugSrrMatcherResponseDtoResponseOutputHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (DebugSrrMatcherResponseDtoResponseResponseType) AllValues() []DebugSrrMatcherResponseDtoResponseResponseType
AllValues returns all DebugSrrMatcherResponseDtoResponseResponseType values.
func (*DebugSrrMatcherResponseDtoResponseResponseType) Decode ¶
func (s *DebugSrrMatcherResponseDtoResponseResponseType) Decode(d *jx.Decoder) error
Decode decodes DebugSrrMatcherResponseDtoResponseResponseType from json.
func (DebugSrrMatcherResponseDtoResponseResponseType) Encode ¶
func (s DebugSrrMatcherResponseDtoResponseResponseType) Encode(e *jx.Encoder)
Encode encodes DebugSrrMatcherResponseDtoResponseResponseType as json.
func (DebugSrrMatcherResponseDtoResponseResponseType) MarshalJSON ¶
func (s DebugSrrMatcherResponseDtoResponseResponseType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DebugSrrMatcherResponseDtoResponseResponseType) MarshalText ¶
func (s DebugSrrMatcherResponseDtoResponseResponseType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DebugSrrMatcherResponseDtoResponseResponseType) SetFake ¶
func (s *DebugSrrMatcherResponseDtoResponseResponseType) SetFake()
SetFake set fake values.
func (*DebugSrrMatcherResponseDtoResponseResponseType) UnmarshalJSON ¶
func (s *DebugSrrMatcherResponseDtoResponseResponseType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DebugSrrMatcherResponseDtoResponseResponseType) UnmarshalText ¶
func (s *DebugSrrMatcherResponseDtoResponseResponseType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DebugSrrMatcherResponseDtoResponseResponseType) Validate ¶
func (s DebugSrrMatcherResponseDtoResponseResponseType) Validate() error
type DeleteAllUserHwidDevicesRequestDto ¶
Ref: #/components/schemas/DeleteAllUserHwidDevicesRequestDto
func (*DeleteAllUserHwidDevicesRequestDto) Decode ¶
func (s *DeleteAllUserHwidDevicesRequestDto) Decode(d *jx.Decoder) error
Decode decodes DeleteAllUserHwidDevicesRequestDto from json.
func (*DeleteAllUserHwidDevicesRequestDto) Encode ¶
func (s *DeleteAllUserHwidDevicesRequestDto) Encode(e *jx.Encoder)
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 ¶
func (s *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) 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 ¶
func (s *DeleteUserHwidDeviceRequestDto) Decode(d *jx.Decoder) error
Decode decodes DeleteUserHwidDeviceRequestDto from json.
func (*DeleteUserHwidDeviceRequestDto) Encode ¶
func (s *DeleteUserHwidDeviceRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeleteUserHwidDeviceRequestDto) GetHwid ¶
func (s *DeleteUserHwidDeviceRequestDto) GetHwid() string
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) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Device) GetDeviceModel ¶
GetDeviceModel returns the value of DeviceModel.
func (*Device) GetOsVersion ¶
GetOsVersion returns the value of OsVersion.
func (*Device) GetPlatform ¶
GetPlatform returns the value of Platform.
func (*Device) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*Device) GetUserAgent ¶
GetUserAgent returns the value of UserAgent.
func (*Device) GetUserUuid ¶
GetUserUuid returns the value of UserUuid.
func (*Device) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Device) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Device) SetDeviceModel ¶
SetDeviceModel sets the value of DeviceModel.
func (*Device) SetOsVersion ¶
SetOsVersion sets the value of OsVersion.
func (*Device) SetPlatform ¶
SetPlatform sets the value of Platform.
func (*Device) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*Device) SetUserAgent ¶
SetUserAgent sets the value of UserAgent.
func (*Device) SetUserUuid ¶
SetUserUuid sets the value of UserUuid.
func (*Device) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type EncryptHappCryptoLinkRequestDto ¶
Ref: #/components/schemas/EncryptHappCryptoLinkRequestDto
func (*EncryptHappCryptoLinkRequestDto) Decode ¶
func (s *EncryptHappCryptoLinkRequestDto) Decode(d *jx.Decoder) error
Decode decodes EncryptHappCryptoLinkRequestDto from json.
func (*EncryptHappCryptoLinkRequestDto) Encode ¶
func (s *EncryptHappCryptoLinkRequestDto) Encode(e *jx.Encoder)
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 ¶
func (s *EncryptHappCryptoLinkResponseDto) Decode(d *jx.Decoder) error
Decode decodes EncryptHappCryptoLinkResponseDto from json.
func (*EncryptHappCryptoLinkResponseDto) Encode ¶
func (s *EncryptHappCryptoLinkResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EncryptHappCryptoLinkResponseDto) GetResponse ¶
func (s *EncryptHappCryptoLinkResponseDto) GetResponse() EncryptHappCryptoLinkResponseDtoResponse
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 ¶
func (s *EncryptHappCryptoLinkResponseDto) SetResponse(val EncryptHappCryptoLinkResponseDtoResponse)
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 ¶
func (s *EncryptHappCryptoLinkResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes EncryptHappCryptoLinkResponseDtoResponse from json.
func (*EncryptHappCryptoLinkResponseDtoResponse) Encode ¶
func (s *EncryptHappCryptoLinkResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EncryptHappCryptoLinkResponseDtoResponse) GetEncryptedLink ¶
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 (*EncryptHappCryptoLinkResponseDtoResponse) SetEncryptedLink ¶
func (s *EncryptHappCryptoLinkResponseDtoResponse) SetEncryptedLink(val string)
SetEncryptedLink sets the value of EncryptedLink.
func (*EncryptHappCryptoLinkResponseDtoResponse) SetFake ¶
func (s *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) 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 ¶
func (s *ExternalSquad) GetInfo() ExternalSquadsResponInfoItem
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) 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 ¶
func (s *ExternalSquad) SetInfo(val ExternalSquadsResponInfoItem)
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 ¶
func (sc *ExternalSquadClient) AddUsersToExternalSquad(ctx context.Context, uuid string) (ExternalSquadControllerAddUsersToExternalSquadRes, error)
AddUsersToExternalSquad calls ExternalSquadController_addUsersToExternalSquad.
func (*ExternalSquadClient) CreateExternalSquad ¶
func (sc *ExternalSquadClient) CreateExternalSquad(ctx context.Context, request *ExternalSquadRequestRequest) (ExternalSquadControllerCreateExternalSquadRes, error)
CreateExternalSquad calls ExternalSquadController_createExternalSquad.
func (*ExternalSquadClient) DeleteExternalSquad ¶
func (sc *ExternalSquadClient) DeleteExternalSquad(ctx context.Context, uuid string) (ExternalSquadControllerDeleteExternalSquadRes, error)
DeleteExternalSquad calls ExternalSquadController_deleteExternalSquad.
func (*ExternalSquadClient) GetExternalSquadByUuid ¶
func (sc *ExternalSquadClient) GetExternalSquadByUuid(ctx context.Context, uuid string) (ExternalSquadControllerGetExternalSquadByUuidRes, error)
GetExternalSquadByUuid calls ExternalSquadController_getExternalSquadByUuid.
func (*ExternalSquadClient) GetExternalSquads ¶
func (sc *ExternalSquadClient) GetExternalSquads(ctx context.Context) (ExternalSquadControllerGetExternalSquadsRes, error)
GetExternalSquads calls ExternalSquadController_getExternalSquads.
func (*ExternalSquadClient) RemoveUsersFromExternalSquad ¶
func (sc *ExternalSquadClient) RemoveUsersFromExternalSquad(ctx context.Context, uuid string) (ExternalSquadControllerRemoveUsersFromExternalSquadRes, error)
RemoveUsersFromExternalSquad calls ExternalSquadController_removeUsersFromExternalSquad.
func (*ExternalSquadClient) ReorderExternalSquads ¶
func (sc *ExternalSquadClient) ReorderExternalSquads(ctx context.Context, request *ReorderRequest) (ExternalSquadControllerReorderExternalSquadsRes, error)
ReorderExternalSquads calls ExternalSquadController_reorderExternalSquads.
func (*ExternalSquadClient) UpdateExternalSquad ¶
func (sc *ExternalSquadClient) UpdateExternalSquad(ctx context.Context, request *UpdateExternalSquadRequestDto) (ExternalSquadControllerUpdateExternalSquadRes, error)
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 ¶
func (s *ExternalSquadRequestRequest) Decode(d *jx.Decoder) error
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 ¶
func (*ExternalSquadResponseHeaders) Decode ¶
func (s *ExternalSquadResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes ExternalSquadResponseHeaders from json.
func (ExternalSquadResponseHeaders) Encode ¶
func (s ExternalSquadResponseHeaders) Encode(e *jx.Encoder)
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 ¶
func (s *ExternalSquadResponseResponse) Decode(d *jx.Decoder) error
Decode decodes ExternalSquadResponseResponse from json.
func (*ExternalSquadResponseResponse) Encode ¶
func (s *ExternalSquadResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExternalSquadResponseResponse) GetResponse ¶
func (s *ExternalSquadResponseResponse) GetResponse() ExternalSquad
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 ¶
func (s *ExternalSquadsResponInfoItem) Decode(d *jx.Decoder) error
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 ¶
func (s *ExternalSquadsResponse) GetResponse() ExternalSquadsResponseResponse
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 ¶
func (s *ExternalSquadsResponse) SetResponse(val ExternalSquadsResponseResponse)
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 ¶
func (s *ExternalSquadsResponseResponse) Decode(d *jx.Decoder) error
Decode decodes ExternalSquadsResponseResponse from json.
func (*ExternalSquadsResponseResponse) Encode ¶
func (s *ExternalSquadsResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExternalSquadsResponseResponse) GetExternalSquads ¶
func (s *ExternalSquadsResponseResponse) GetExternalSquads() []ExternalSquad
GetExternalSquads returns the value of ExternalSquads.
func (*ExternalSquadsResponseResponse) GetTotal ¶
func (s *ExternalSquadsResponseResponse) GetTotal() float64
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 ¶
func (s *FindAllApiTokensResponseDto) Decode(d *jx.Decoder) error
Decode decodes FindAllApiTokensResponseDto from json.
func (*FindAllApiTokensResponseDto) Encode ¶
func (s *FindAllApiTokensResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FindAllApiTokensResponseDto) GetResponse ¶
func (s *FindAllApiTokensResponseDto) GetResponse() FindAllApiTokensResponseDtoResponse
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 ¶
func (s *FindAllApiTokensResponseDto) SetResponse(val FindAllApiTokensResponseDtoResponse)
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 ¶
func (s *FindAllApiTokensResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes FindAllApiTokensResponseDtoResponse from json.
func (*FindAllApiTokensResponseDtoResponse) Encode ¶
func (s *FindAllApiTokensResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FindAllApiTokensResponseDtoResponse) GetApiKeys ¶
func (s *FindAllApiTokensResponseDtoResponse) GetApiKeys() []FindAllApiTokensResponseDtoResponseApiKeysItem
GetApiKeys returns the value of ApiKeys.
func (*FindAllApiTokensResponseDtoResponse) GetDocs ¶
func (s *FindAllApiTokensResponseDtoResponse) GetDocs() FindAllApiTokensResponseDtoResponseDocs
GetDocs returns the value of Docs.
func (*FindAllApiTokensResponseDtoResponse) MarshalJSON ¶
func (s *FindAllApiTokensResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FindAllApiTokensResponseDtoResponse) SetApiKeys ¶
func (s *FindAllApiTokensResponseDtoResponse) SetApiKeys(val []FindAllApiTokensResponseDtoResponseApiKeysItem)
SetApiKeys sets the value of ApiKeys.
func (*FindAllApiTokensResponseDtoResponse) SetDocs ¶
func (s *FindAllApiTokensResponseDtoResponse) SetDocs(val FindAllApiTokensResponseDtoResponseDocs)
SetDocs sets the value of Docs.
func (*FindAllApiTokensResponseDtoResponse) SetFake ¶
func (s *FindAllApiTokensResponseDtoResponse) SetFake()
SetFake set fake values.
func (*FindAllApiTokensResponseDtoResponse) UnmarshalJSON ¶
func (s *FindAllApiTokensResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FindAllApiTokensResponseDtoResponse) Validate ¶
func (s *FindAllApiTokensResponseDtoResponse) Validate() error
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 ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) Decode(d *jx.Decoder) error
Decode decodes FindAllApiTokensResponseDtoResponseApiKeysItem from json.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) Encode ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetCreatedAt ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetToken ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetToken() string
GetToken returns the value of Token.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetTokenName ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetTokenName() string
GetTokenName returns the value of TokenName.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetUUID ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) GetUpdatedAt ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) MarshalJSON ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetCreatedAt ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetFake ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetFake()
SetFake set fake values.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetToken ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetToken(val string)
SetToken sets the value of Token.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetTokenName ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetTokenName(val string)
SetTokenName sets the value of TokenName.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetUUID ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) SetUpdatedAt ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*FindAllApiTokensResponseDtoResponseApiKeysItem) UnmarshalJSON ¶
func (s *FindAllApiTokensResponseDtoResponseApiKeysItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FindAllApiTokensResponseDtoResponseDocs ¶
type FindAllApiTokensResponseDtoResponseDocs struct {
IsDocsEnabled bool `json:"isDocsEnabled"`
ScalarPath NilString `json:"scalarPath"`
SwaggerPath NilString `json:"swaggerPath"`
}
func (*FindAllApiTokensResponseDtoResponseDocs) Decode ¶
func (s *FindAllApiTokensResponseDtoResponseDocs) Decode(d *jx.Decoder) error
Decode decodes FindAllApiTokensResponseDtoResponseDocs from json.
func (*FindAllApiTokensResponseDtoResponseDocs) Encode ¶
func (s *FindAllApiTokensResponseDtoResponseDocs) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FindAllApiTokensResponseDtoResponseDocs) GetIsDocsEnabled ¶
func (s *FindAllApiTokensResponseDtoResponseDocs) GetIsDocsEnabled() bool
GetIsDocsEnabled returns the value of IsDocsEnabled.
func (*FindAllApiTokensResponseDtoResponseDocs) GetScalarPath ¶
func (s *FindAllApiTokensResponseDtoResponseDocs) GetScalarPath() NilString
GetScalarPath returns the value of ScalarPath.
func (*FindAllApiTokensResponseDtoResponseDocs) GetSwaggerPath ¶
func (s *FindAllApiTokensResponseDtoResponseDocs) GetSwaggerPath() NilString
GetSwaggerPath returns the value of SwaggerPath.
func (*FindAllApiTokensResponseDtoResponseDocs) MarshalJSON ¶
func (s *FindAllApiTokensResponseDtoResponseDocs) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FindAllApiTokensResponseDtoResponseDocs) SetFake ¶
func (s *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) 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 ¶
func (s *GenerateX25519ResponseDto) GetResponse() GenerateX25519ResponseDtoResponse
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 ¶
func (s *GenerateX25519ResponseDto) SetResponse(val GenerateX25519ResponseDtoResponse)
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 ¶
func (s *GenerateX25519ResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GenerateX25519ResponseDtoResponse from json.
func (*GenerateX25519ResponseDtoResponse) Encode ¶
func (s *GenerateX25519ResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GenerateX25519ResponseDtoResponse) GetKeypairs ¶
func (s *GenerateX25519ResponseDtoResponse) GetKeypairs() []GenerateX25519ResponseDtoResponseKeypairsItem
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 ¶
func (s *GenerateX25519ResponseDtoResponse) SetKeypairs(val []GenerateX25519ResponseDtoResponseKeypairsItem)
SetKeypairs sets the value of Keypairs.
func (*GenerateX25519ResponseDtoResponse) UnmarshalJSON ¶
func (s *GenerateX25519ResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GenerateX25519ResponseDtoResponse) Validate ¶
func (s *GenerateX25519ResponseDtoResponse) Validate() error
type GenerateX25519ResponseDtoResponseKeypairsItem ¶
type GenerateX25519ResponseDtoResponseKeypairsItem struct {
PublicKey string `json:"publicKey"`
PrivateKey string `json:"privateKey"`
}
func (*GenerateX25519ResponseDtoResponseKeypairsItem) Decode ¶
func (s *GenerateX25519ResponseDtoResponseKeypairsItem) Decode(d *jx.Decoder) error
Decode decodes GenerateX25519ResponseDtoResponseKeypairsItem from json.
func (*GenerateX25519ResponseDtoResponseKeypairsItem) Encode ¶
func (s *GenerateX25519ResponseDtoResponseKeypairsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GenerateX25519ResponseDtoResponseKeypairsItem) GetPrivateKey ¶
func (s *GenerateX25519ResponseDtoResponseKeypairsItem) GetPrivateKey() string
GetPrivateKey returns the value of PrivateKey.
func (*GenerateX25519ResponseDtoResponseKeypairsItem) GetPublicKey ¶
func (s *GenerateX25519ResponseDtoResponseKeypairsItem) GetPublicKey() string
GetPublicKey returns the value of PublicKey.
func (*GenerateX25519ResponseDtoResponseKeypairsItem) MarshalJSON ¶
func (s *GenerateX25519ResponseDtoResponseKeypairsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateX25519ResponseDtoResponseKeypairsItem) SetFake ¶
func (s *GenerateX25519ResponseDtoResponseKeypairsItem) SetFake()
SetFake set fake values.
func (*GenerateX25519ResponseDtoResponseKeypairsItem) SetPrivateKey ¶
func (s *GenerateX25519ResponseDtoResponseKeypairsItem) SetPrivateKey(val string)
SetPrivateKey sets the value of PrivateKey.
func (*GenerateX25519ResponseDtoResponseKeypairsItem) SetPublicKey ¶
func (s *GenerateX25519ResponseDtoResponseKeypairsItem) SetPublicKey(val string)
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 ¶
func (s *GetAllHwidDevicesResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetAllHwidDevicesResponseDto from json.
func (*GetAllHwidDevicesResponseDto) Encode ¶
func (s *GetAllHwidDevicesResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllHwidDevicesResponseDto) GetResponse ¶
func (s *GetAllHwidDevicesResponseDto) GetResponse() AllHwidDevices
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 ¶
func (s *GetAllSubscriptionsResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetAllSubscriptionsResponseDto from json.
func (*GetAllSubscriptionsResponseDto) Encode ¶
func (s *GetAllSubscriptionsResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllSubscriptionsResponseDto) GetResponse ¶
func (s *GetAllSubscriptionsResponseDto) GetResponse() GetAllSubscriptionsResponseDtoResponse
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 ¶
func (s *GetAllSubscriptionsResponseDto) SetResponse(val GetAllSubscriptionsResponseDtoResponse)
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 ¶
func (s *GetAllSubscriptionsResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetAllSubscriptionsResponseDtoResponse from json.
func (*GetAllSubscriptionsResponseDtoResponse) Encode ¶
func (s *GetAllSubscriptionsResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllSubscriptionsResponseDtoResponse) GetSubscriptions ¶
func (s *GetAllSubscriptionsResponseDtoResponse) GetSubscriptions() []Subscription
GetSubscriptions returns the value of Subscriptions.
func (*GetAllSubscriptionsResponseDtoResponse) GetTotal ¶
func (s *GetAllSubscriptionsResponseDtoResponse) GetTotal() float64
GetTotal returns the value of Total.
func (*GetAllSubscriptionsResponseDtoResponse) MarshalJSON ¶
func (s *GetAllSubscriptionsResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllSubscriptionsResponseDtoResponse) SetFake ¶
func (s *GetAllSubscriptionsResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetAllSubscriptionsResponseDtoResponse) SetSubscriptions ¶
func (s *GetAllSubscriptionsResponseDtoResponse) SetSubscriptions(val []Subscription)
SetSubscriptions sets the value of Subscriptions.
func (*GetAllSubscriptionsResponseDtoResponse) SetTotal ¶
func (s *GetAllSubscriptionsResponseDtoResponse) SetTotal(val float64)
SetTotal sets the value of Total.
func (*GetAllSubscriptionsResponseDtoResponse) UnmarshalJSON ¶
func (s *GetAllSubscriptionsResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetAllSubscriptionsResponseDtoResponse) Validate ¶
func (s *GetAllSubscriptionsResponseDtoResponse) Validate() error
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 ¶
func (s *GetAllUsersResponseDto) GetResponse() GetAllUsersResponseDtoResponse
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 ¶
func (s *GetAllUsersResponseDto) SetResponse(val GetAllUsersResponseDtoResponse)
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 ¶
func (s *GetAllUsersResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetAllUsersResponseDtoResponse from json.
func (*GetAllUsersResponseDtoResponse) Encode ¶
func (s *GetAllUsersResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllUsersResponseDtoResponse) GetTotal ¶
func (s *GetAllUsersResponseDtoResponse) GetTotal() float64
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 ¶
func (s *GetBandwidthStatsResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetBandwidthStatsResponseDto from json.
func (*GetBandwidthStatsResponseDto) Encode ¶
func (s *GetBandwidthStatsResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetBandwidthStatsResponseDto) GetResponse ¶
func (s *GetBandwidthStatsResponseDto) GetResponse() GetBandwidthStatsResponseDtoResponse
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 ¶
func (s *GetBandwidthStatsResponseDto) SetResponse(val GetBandwidthStatsResponseDtoResponse)
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 ¶
func (s *GetBandwidthStatsResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetBandwidthStatsResponseDtoResponse from json.
func (*GetBandwidthStatsResponseDtoResponse) Encode ¶
func (s *GetBandwidthStatsResponseDtoResponse) Encode(e *jx.Encoder)
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 ¶
func (s *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 ¶
func (s *GetHwidDevicesStatsResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetHwidDevicesStatsResponseDto from json.
func (*GetHwidDevicesStatsResponseDto) Encode ¶
func (s *GetHwidDevicesStatsResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetHwidDevicesStatsResponseDto) GetResponse ¶
func (s *GetHwidDevicesStatsResponseDto) GetResponse() GetHwidDevicesStatsResponseDtoResponse
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 ¶
func (s *GetHwidDevicesStatsResponseDto) SetResponse(val GetHwidDevicesStatsResponseDtoResponse)
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 ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetHwidDevicesStatsResponseDtoResponse from json.
func (*GetHwidDevicesStatsResponseDtoResponse) Encode ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetHwidDevicesStatsResponseDtoResponse) GetByApp ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) GetByApp() []ByAppItem
GetByApp returns the value of ByApp.
func (*GetHwidDevicesStatsResponseDtoResponse) GetByPlatform ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) GetByPlatform() []GetHwidDevicesStatsResponseDtoResponseByPlatformItem
GetByPlatform returns the value of ByPlatform.
func (*GetHwidDevicesStatsResponseDtoResponse) GetStats ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) GetStats() GetHwidDevicesStatsResponseDtoResponseStats
GetStats returns the value of Stats.
func (*GetHwidDevicesStatsResponseDtoResponse) MarshalJSON ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHwidDevicesStatsResponseDtoResponse) SetByApp ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) SetByApp(val []ByAppItem)
SetByApp sets the value of ByApp.
func (*GetHwidDevicesStatsResponseDtoResponse) SetByPlatform ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) SetByPlatform(val []GetHwidDevicesStatsResponseDtoResponseByPlatformItem)
SetByPlatform sets the value of ByPlatform.
func (*GetHwidDevicesStatsResponseDtoResponse) SetFake ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetHwidDevicesStatsResponseDtoResponse) SetStats ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) SetStats(val GetHwidDevicesStatsResponseDtoResponseStats)
SetStats sets the value of Stats.
func (*GetHwidDevicesStatsResponseDtoResponse) UnmarshalJSON ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetHwidDevicesStatsResponseDtoResponse) Validate ¶
func (s *GetHwidDevicesStatsResponseDtoResponse) Validate() error
type GetHwidDevicesStatsResponseDtoResponseByPlatformItem ¶
type GetHwidDevicesStatsResponseDtoResponseByPlatformItem struct {
Platform string `json:"platform"`
Count float64 `json:"count"`
}
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Decode ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Decode(d *jx.Decoder) error
Decode decodes GetHwidDevicesStatsResponseDtoResponseByPlatformItem from json.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Encode ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) GetCount ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) GetCount() float64
GetCount returns the value of Count.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) GetPlatform ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) GetPlatform() string
GetPlatform returns the value of Platform.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) MarshalJSON ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetCount ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetCount(val float64)
SetCount sets the value of Count.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetFake ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetFake()
SetFake set fake values.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetPlatform ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) SetPlatform(val string)
SetPlatform sets the value of Platform.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) UnmarshalJSON ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Validate ¶
func (s *GetHwidDevicesStatsResponseDtoResponseByPlatformItem) Validate() error
type GetHwidDevicesStatsResponseDtoResponseStats ¶
type GetHwidDevicesStatsResponseDtoResponseStats struct {
TotalUniqueDevices float64 `json:"totalUniqueDevices"`
TotalHwidDevices float64 `json:"totalHwidDevices"`
AverageHwidDevicesPerUser float64 `json:"averageHwidDevicesPerUser"`
}
func (*GetHwidDevicesStatsResponseDtoResponseStats) Decode ¶
func (s *GetHwidDevicesStatsResponseDtoResponseStats) Decode(d *jx.Decoder) error
Decode decodes GetHwidDevicesStatsResponseDtoResponseStats from json.
func (*GetHwidDevicesStatsResponseDtoResponseStats) Encode ¶
func (s *GetHwidDevicesStatsResponseDtoResponseStats) Encode(e *jx.Encoder)
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 ¶
func (s *GetHwidDevicesStatsResponseDtoResponseStats) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHwidDevicesStatsResponseDtoResponseStats) SetAverageHwidDevicesPerUser ¶
func (s *GetHwidDevicesStatsResponseDtoResponseStats) SetAverageHwidDevicesPerUser(val float64)
SetAverageHwidDevicesPerUser sets the value of AverageHwidDevicesPerUser.
func (*GetHwidDevicesStatsResponseDtoResponseStats) SetFake ¶
func (s *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 ¶
func (s *GetHwidDevicesStatsResponseDtoResponseStats) Validate() error
type GetInfraProvidersResponseDto ¶
type GetInfraProvidersResponseDto struct {
Response GetInfraProvidersResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetInfraProvidersResponseDto
func (*GetInfraProvidersResponseDto) Decode ¶
func (s *GetInfraProvidersResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetInfraProvidersResponseDto from json.
func (*GetInfraProvidersResponseDto) Encode ¶
func (s *GetInfraProvidersResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetInfraProvidersResponseDto) GetResponse ¶
func (s *GetInfraProvidersResponseDto) GetResponse() GetInfraProvidersResponseDtoResponse
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 ¶
func (s *GetInfraProvidersResponseDto) SetResponse(val GetInfraProvidersResponseDtoResponse)
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 ¶
func (s *GetInfraProvidersResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetInfraProvidersResponseDtoResponse from json.
func (*GetInfraProvidersResponseDtoResponse) Encode ¶
func (s *GetInfraProvidersResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetInfraProvidersResponseDtoResponse) GetProviders ¶
func (s *GetInfraProvidersResponseDtoResponse) GetProviders() []Provider
GetProviders returns the value of Providers.
func (*GetInfraProvidersResponseDtoResponse) GetTotal ¶
func (s *GetInfraProvidersResponseDtoResponse) GetTotal() float64
GetTotal returns the value of Total.
func (*GetInfraProvidersResponseDtoResponse) MarshalJSON ¶
func (s *GetInfraProvidersResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInfraProvidersResponseDtoResponse) SetFake ¶
func (s *GetInfraProvidersResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetInfraProvidersResponseDtoResponse) SetProviders ¶
func (s *GetInfraProvidersResponseDtoResponse) SetProviders(val []Provider)
SetProviders sets the value of Providers.
func (*GetInfraProvidersResponseDtoResponse) SetTotal ¶
func (s *GetInfraProvidersResponseDtoResponse) SetTotal(val float64)
SetTotal sets the value of Total.
func (*GetInfraProvidersResponseDtoResponse) UnmarshalJSON ¶
func (s *GetInfraProvidersResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetInfraProvidersResponseDtoResponse) Validate ¶
func (s *GetInfraProvidersResponseDtoResponse) Validate() error
type GetInternalSquadAccessibleNodesResponseDto ¶
type GetInternalSquadAccessibleNodesResponseDto struct {
Response GetInternalSquadAccessibleNodesResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetInternalSquadAccessibleNodesResponseDto
func (*GetInternalSquadAccessibleNodesResponseDto) Decode ¶
func (s *GetInternalSquadAccessibleNodesResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetInternalSquadAccessibleNodesResponseDto from json.
func (*GetInternalSquadAccessibleNodesResponseDto) Encode ¶
func (s *GetInternalSquadAccessibleNodesResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetInternalSquadAccessibleNodesResponseDto) GetResponse ¶
func (s *GetInternalSquadAccessibleNodesResponseDto) GetResponse() GetInternalSquadAccessibleNodesResponseDtoResponse
GetResponse returns the value of Response.
func (*GetInternalSquadAccessibleNodesResponseDto) MarshalJSON ¶
func (s *GetInternalSquadAccessibleNodesResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInternalSquadAccessibleNodesResponseDto) SetFake ¶
func (s *GetInternalSquadAccessibleNodesResponseDto) SetFake()
SetFake set fake values.
func (*GetInternalSquadAccessibleNodesResponseDto) SetResponse ¶
func (s *GetInternalSquadAccessibleNodesResponseDto) SetResponse(val GetInternalSquadAccessibleNodesResponseDtoResponse)
SetResponse sets the value of Response.
func (*GetInternalSquadAccessibleNodesResponseDto) UnmarshalJSON ¶
func (s *GetInternalSquadAccessibleNodesResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetInternalSquadAccessibleNodesResponseDto) Validate ¶
func (s *GetInternalSquadAccessibleNodesResponseDto) Validate() error
type GetInternalSquadAccessibleNodesResponseDtoResponse ¶
type GetInternalSquadAccessibleNodesResponseDtoResponse struct {
SquadUuid uuid.UUID `json:"squadUuid"`
AccessibleNodes []GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem `json:"accessibleNodes"`
}
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) Decode ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetInternalSquadAccessibleNodesResponseDtoResponse from json.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) Encode ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) GetAccessibleNodes ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) GetAccessibleNodes() []GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem
GetAccessibleNodes returns the value of AccessibleNodes.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) GetSquadUuid ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) GetSquadUuid() uuid.UUID
GetSquadUuid returns the value of SquadUuid.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) MarshalJSON ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) SetAccessibleNodes ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) SetAccessibleNodes(val []GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem)
SetAccessibleNodes sets the value of AccessibleNodes.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) SetFake ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) SetSquadUuid ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) SetSquadUuid(val uuid.UUID)
SetSquadUuid sets the value of SquadUuid.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) UnmarshalJSON ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetInternalSquadAccessibleNodesResponseDtoResponse) Validate ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponse) Validate() error
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 ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Decode(d *jx.Decoder) error
Decode decodes GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem from json.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Encode ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetActiveInbounds ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetActiveInbounds() []string
GetActiveInbounds returns the value of ActiveInbounds.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetConfigProfileName ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetConfigProfileName() string
GetConfigProfileName returns the value of ConfigProfileName.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetConfigProfileUuid ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetConfigProfileUuid() uuid.UUID
GetConfigProfileUuid returns the value of ConfigProfileUuid.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetCountryCode ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetCountryCode() string
GetCountryCode returns the value of CountryCode.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetNodeName ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetNodeName() string
GetNodeName returns the value of NodeName.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetUUID ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) MarshalJSON ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetActiveInbounds ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetActiveInbounds(val []string)
SetActiveInbounds sets the value of ActiveInbounds.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetConfigProfileName ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetConfigProfileName(val string)
SetConfigProfileName sets the value of ConfigProfileName.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetConfigProfileUuid ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetConfigProfileUuid(val uuid.UUID)
SetConfigProfileUuid sets the value of ConfigProfileUuid.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetCountryCode ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetCountryCode(val string)
SetCountryCode sets the value of CountryCode.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetFake ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetFake()
SetFake set fake values.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetNodeName ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetNodeName(val string)
SetNodeName sets the value of NodeName.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetUUID ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) UnmarshalJSON ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Validate ¶
func (s *GetInternalSquadAccessibleNodesResponseDtoResponseAccessibleNodesItem) Validate() error
type GetLegacyStatsNodesUsersUsageResponseDto ¶
type GetLegacyStatsNodesUsersUsageResponseDto struct {
Response []GetLegacyStatsNodesUsersUsageResponseDtoResponseItem `json:"response"`
}
Ref: #/components/schemas/GetLegacyStatsNodesUsersUsageResponseDto
func (*GetLegacyStatsNodesUsersUsageResponseDto) Decode ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetLegacyStatsNodesUsersUsageResponseDto from json.
func (*GetLegacyStatsNodesUsersUsageResponseDto) Encode ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetLegacyStatsNodesUsersUsageResponseDto) GetResponse ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDto) GetResponse() []GetLegacyStatsNodesUsersUsageResponseDtoResponseItem
GetResponse returns the value of Response.
func (*GetLegacyStatsNodesUsersUsageResponseDto) MarshalJSON ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLegacyStatsNodesUsersUsageResponseDto) SetFake ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDto) SetFake()
SetFake set fake values.
func (*GetLegacyStatsNodesUsersUsageResponseDto) SetResponse ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDto) SetResponse(val []GetLegacyStatsNodesUsersUsageResponseDtoResponseItem)
SetResponse sets the value of Response.
func (*GetLegacyStatsNodesUsersUsageResponseDto) UnmarshalJSON ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetLegacyStatsNodesUsersUsageResponseDto) Validate ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDto) Validate() error
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 ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Decode(d *jx.Decoder) error
Decode decodes GetLegacyStatsNodesUsersUsageResponseDtoResponseItem from json.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Encode ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetDate ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetDate() string
GetDate returns the value of Date.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetNodeUuid ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetNodeUuid() uuid.UUID
GetNodeUuid returns the value of NodeUuid.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetTotal ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetTotal() float64
GetTotal returns the value of Total.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetUserUuid ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetUserUuid() uuid.UUID
GetUserUuid returns the value of UserUuid.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetUsername ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) GetUsername() string
GetUsername returns the value of Username.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) MarshalJSON ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetDate ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetDate(val string)
SetDate sets the value of Date.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetFake ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetFake()
SetFake set fake values.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetNodeUuid ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetNodeUuid(val uuid.UUID)
SetNodeUuid sets the value of NodeUuid.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetTotal ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetTotal(val float64)
SetTotal sets the value of Total.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetUserUuid ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetUserUuid(val uuid.UUID)
SetUserUuid sets the value of UserUuid.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetUsername ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) SetUsername(val string)
SetUsername sets the value of Username.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) UnmarshalJSON ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Validate ¶
func (s *GetLegacyStatsNodesUsersUsageResponseDtoResponseItem) Validate() error
type GetLegacyStatsUserUsageResponseDto ¶
type GetLegacyStatsUserUsageResponseDto struct {
Response []GetLegacyStatsUserUsageResponseDtoResponseItem `json:"response"`
}
Ref: #/components/schemas/GetLegacyStatsUserUsageResponseDto
func (*GetLegacyStatsUserUsageResponseDto) Decode ¶
func (s *GetLegacyStatsUserUsageResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetLegacyStatsUserUsageResponseDto from json.
func (*GetLegacyStatsUserUsageResponseDto) Encode ¶
func (s *GetLegacyStatsUserUsageResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetLegacyStatsUserUsageResponseDto) GetResponse ¶
func (s *GetLegacyStatsUserUsageResponseDto) GetResponse() []GetLegacyStatsUserUsageResponseDtoResponseItem
GetResponse returns the value of Response.
func (*GetLegacyStatsUserUsageResponseDto) MarshalJSON ¶
func (s *GetLegacyStatsUserUsageResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLegacyStatsUserUsageResponseDto) SetFake ¶
func (s *GetLegacyStatsUserUsageResponseDto) SetFake()
SetFake set fake values.
func (*GetLegacyStatsUserUsageResponseDto) SetResponse ¶
func (s *GetLegacyStatsUserUsageResponseDto) SetResponse(val []GetLegacyStatsUserUsageResponseDtoResponseItem)
SetResponse sets the value of Response.
func (*GetLegacyStatsUserUsageResponseDto) UnmarshalJSON ¶
func (s *GetLegacyStatsUserUsageResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetLegacyStatsUserUsageResponseDto) Validate ¶
func (s *GetLegacyStatsUserUsageResponseDto) Validate() error
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 ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) Decode(d *jx.Decoder) error
Decode decodes GetLegacyStatsUserUsageResponseDtoResponseItem from json.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) Encode ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetCountryCode ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetCountryCode() string
GetCountryCode returns the value of CountryCode.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetDate ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetDate() string
GetDate returns the value of Date.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetNodeName ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetNodeName() string
GetNodeName returns the value of NodeName.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetNodeUuid ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetNodeUuid() uuid.UUID
GetNodeUuid returns the value of NodeUuid.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetTotal ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetTotal() float64
GetTotal returns the value of Total.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) GetUserUuid ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) GetUserUuid() uuid.UUID
GetUserUuid returns the value of UserUuid.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) MarshalJSON ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetCountryCode ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetCountryCode(val string)
SetCountryCode sets the value of CountryCode.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetDate ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetDate(val string)
SetDate sets the value of Date.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetFake ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetFake()
SetFake set fake values.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetNodeName ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetNodeName(val string)
SetNodeName sets the value of NodeName.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetNodeUuid ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetNodeUuid(val uuid.UUID)
SetNodeUuid sets the value of NodeUuid.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetTotal ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetTotal(val float64)
SetTotal sets the value of Total.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) SetUserUuid ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) SetUserUuid(val uuid.UUID)
SetUserUuid sets the value of UserUuid.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) UnmarshalJSON ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetLegacyStatsUserUsageResponseDtoResponseItem) Validate ¶
func (s *GetLegacyStatsUserUsageResponseDtoResponseItem) Validate() error
type GetNodesMetricsResponseDto ¶
type GetNodesMetricsResponseDto struct {
Response GetNodesMetricsResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetNodesMetricsResponseDto
func (*GetNodesMetricsResponseDto) Decode ¶
func (s *GetNodesMetricsResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetNodesMetricsResponseDto from json.
func (*GetNodesMetricsResponseDto) Encode ¶
func (s *GetNodesMetricsResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetNodesMetricsResponseDto) GetResponse ¶
func (s *GetNodesMetricsResponseDto) GetResponse() GetNodesMetricsResponseDtoResponse
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 ¶
func (s *GetNodesMetricsResponseDto) SetResponse(val GetNodesMetricsResponseDtoResponse)
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 ¶
func (s *GetNodesMetricsResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetNodesMetricsResponseDtoResponse from json.
func (*GetNodesMetricsResponseDtoResponse) Encode ¶
func (s *GetNodesMetricsResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetNodesMetricsResponseDtoResponse) GetNodes ¶
func (s *GetNodesMetricsResponseDtoResponse) GetNodes() []GetNodesMetricsResponseDtoResponseNodesItem
GetNodes returns the value of Nodes.
func (*GetNodesMetricsResponseDtoResponse) MarshalJSON ¶
func (s *GetNodesMetricsResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetNodesMetricsResponseDtoResponse) SetFake ¶
func (s *GetNodesMetricsResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetNodesMetricsResponseDtoResponse) SetNodes ¶
func (s *GetNodesMetricsResponseDtoResponse) SetNodes(val []GetNodesMetricsResponseDtoResponseNodesItem)
SetNodes sets the value of Nodes.
func (*GetNodesMetricsResponseDtoResponse) UnmarshalJSON ¶
func (s *GetNodesMetricsResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetNodesMetricsResponseDtoResponse) Validate ¶
func (s *GetNodesMetricsResponseDtoResponse) Validate() error
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 ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) Decode(d *jx.Decoder) error
Decode decodes GetNodesMetricsResponseDtoResponseNodesItem from json.
func (*GetNodesMetricsResponseDtoResponseNodesItem) Encode ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetNodesMetricsResponseDtoResponseNodesItem) GetCountryEmoji ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetCountryEmoji() string
GetCountryEmoji returns the value of CountryEmoji.
func (*GetNodesMetricsResponseDtoResponseNodesItem) GetInboundsStats ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetInboundsStats() []InboundsStat
GetInboundsStats returns the value of InboundsStats.
func (*GetNodesMetricsResponseDtoResponseNodesItem) GetNodeName ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetNodeName() string
GetNodeName returns the value of NodeName.
func (*GetNodesMetricsResponseDtoResponseNodesItem) GetNodeUuid ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetNodeUuid() string
GetNodeUuid returns the value of NodeUuid.
func (*GetNodesMetricsResponseDtoResponseNodesItem) GetOutboundsStats ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetOutboundsStats() []InboundsStat
GetOutboundsStats returns the value of OutboundsStats.
func (*GetNodesMetricsResponseDtoResponseNodesItem) GetProviderName ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetProviderName() string
GetProviderName returns the value of ProviderName.
func (*GetNodesMetricsResponseDtoResponseNodesItem) GetUsersOnline ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) GetUsersOnline() float64
GetUsersOnline returns the value of UsersOnline.
func (*GetNodesMetricsResponseDtoResponseNodesItem) MarshalJSON ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetNodesMetricsResponseDtoResponseNodesItem) SetCountryEmoji ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetCountryEmoji(val string)
SetCountryEmoji sets the value of CountryEmoji.
func (*GetNodesMetricsResponseDtoResponseNodesItem) SetFake ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetFake()
SetFake set fake values.
func (*GetNodesMetricsResponseDtoResponseNodesItem) SetInboundsStats ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetInboundsStats(val []InboundsStat)
SetInboundsStats sets the value of InboundsStats.
func (*GetNodesMetricsResponseDtoResponseNodesItem) SetNodeName ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetNodeName(val string)
SetNodeName sets the value of NodeName.
func (*GetNodesMetricsResponseDtoResponseNodesItem) SetNodeUuid ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetNodeUuid(val string)
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 ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) SetUsersOnline(val float64)
SetUsersOnline sets the value of UsersOnline.
func (*GetNodesMetricsResponseDtoResponseNodesItem) UnmarshalJSON ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetNodesMetricsResponseDtoResponseNodesItem) Validate ¶
func (s *GetNodesMetricsResponseDtoResponseNodesItem) Validate() error
type GetNodesStatisticsResponseDto ¶
type GetNodesStatisticsResponseDto struct {
Response GetNodesStatisticsResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetNodesStatisticsResponseDto
func (*GetNodesStatisticsResponseDto) Decode ¶
func (s *GetNodesStatisticsResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetNodesStatisticsResponseDto from json.
func (*GetNodesStatisticsResponseDto) Encode ¶
func (s *GetNodesStatisticsResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetNodesStatisticsResponseDto) GetResponse ¶
func (s *GetNodesStatisticsResponseDto) GetResponse() GetNodesStatisticsResponseDtoResponse
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 ¶
func (s *GetNodesStatisticsResponseDto) SetResponse(val GetNodesStatisticsResponseDtoResponse)
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 ¶
func (s *GetNodesStatisticsResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetNodesStatisticsResponseDtoResponse from json.
func (*GetNodesStatisticsResponseDtoResponse) Encode ¶
func (s *GetNodesStatisticsResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetNodesStatisticsResponseDtoResponse) GetLastSevenDays ¶
func (s *GetNodesStatisticsResponseDtoResponse) GetLastSevenDays() []GetNodesStatisticsResponseDtoResponseLastSevenDaysItem
GetLastSevenDays returns the value of LastSevenDays.
func (*GetNodesStatisticsResponseDtoResponse) MarshalJSON ¶
func (s *GetNodesStatisticsResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetNodesStatisticsResponseDtoResponse) SetFake ¶
func (s *GetNodesStatisticsResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetNodesStatisticsResponseDtoResponse) SetLastSevenDays ¶
func (s *GetNodesStatisticsResponseDtoResponse) SetLastSevenDays(val []GetNodesStatisticsResponseDtoResponseLastSevenDaysItem)
SetLastSevenDays sets the value of LastSevenDays.
func (*GetNodesStatisticsResponseDtoResponse) UnmarshalJSON ¶
func (s *GetNodesStatisticsResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetNodesStatisticsResponseDtoResponse) Validate ¶
func (s *GetNodesStatisticsResponseDtoResponse) Validate() error
type GetNodesStatisticsResponseDtoResponseLastSevenDaysItem ¶
type GetNodesStatisticsResponseDtoResponseLastSevenDaysItem struct {
NodeName string `json:"nodeName"`
Date string `json:"date"`
TotalBytes string `json:"totalBytes"`
}
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) Decode ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) Decode(d *jx.Decoder) error
Decode decodes GetNodesStatisticsResponseDtoResponseLastSevenDaysItem from json.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) Encode ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetDate ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetDate() string
GetDate returns the value of Date.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetNodeName ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetNodeName() string
GetNodeName returns the value of NodeName.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetTotalBytes ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) GetTotalBytes() string
GetTotalBytes returns the value of TotalBytes.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) MarshalJSON ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetDate ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetDate(val string)
SetDate sets the value of Date.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetFake ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetFake()
SetFake set fake values.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetNodeName ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetNodeName(val string)
SetNodeName sets the value of NodeName.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetTotalBytes ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) SetTotalBytes(val string)
SetTotalBytes sets the value of TotalBytes.
func (*GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) UnmarshalJSON ¶
func (s *GetNodesStatisticsResponseDtoResponseLastSevenDaysItem) UnmarshalJSON(data []byte) error
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 ¶
func (s *GetPubKeyResponseDto) GetResponse() GetPubKeyResponseDtoResponse
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 ¶
func (s *GetPubKeyResponseDto) SetResponse(val GetPubKeyResponseDtoResponse)
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 ¶
func (s *GetPubKeyResponseDtoResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *GetRawSubscriptionByShortUuidResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDto from json.
func (*GetRawSubscriptionByShortUuidResponseDto) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDto) GetResponse ¶
func (s *GetRawSubscriptionByShortUuidResponseDto) GetResponse() GetRawSubscriptionByShortUuidResponseDtoResponse
GetResponse returns the value of Response.
func (*GetRawSubscriptionByShortUuidResponseDto) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDto) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDto) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDto) SetResponse ¶
func (s *GetRawSubscriptionByShortUuidResponseDto) SetResponse(val GetRawSubscriptionByShortUuidResponseDtoResponse)
SetResponse sets the value of Response.
func (*GetRawSubscriptionByShortUuidResponseDto) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawSubscriptionByShortUuidResponseDto) Validate ¶
func (s *GetRawSubscriptionByShortUuidResponseDto) Validate() error
type GetRawSubscriptionByShortUuidResponseDtoResponse ¶
type GetRawSubscriptionByShortUuidResponseDtoResponse struct {
User User `json:"user"`
ConvertedUserInfo GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo `json:"convertedUserInfo"`
Headers GetRawSubscriptionByShortUuidResponseDtoResponseHeaders `json:"headers"`
RawHosts []GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem `json:"rawHosts"`
}
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) Decode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponse from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) GetConvertedUserInfo ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) GetConvertedUserInfo() GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo
GetConvertedUserInfo returns the value of ConvertedUserInfo.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) GetHeaders ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) GetHeaders() GetRawSubscriptionByShortUuidResponseDtoResponseHeaders
GetHeaders returns the value of Headers.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) GetRawHosts ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) GetRawHosts() []GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem
GetRawHosts returns the value of RawHosts.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) GetUser ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) GetUser() User
GetUser returns the value of User.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetConvertedUserInfo ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetConvertedUserInfo(val GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo)
SetConvertedUserInfo sets the value of ConvertedUserInfo.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetHeaders ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetHeaders(val GetRawSubscriptionByShortUuidResponseDtoResponseHeaders)
SetHeaders sets the value of Headers.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetRawHosts ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetRawHosts(val []GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem)
SetRawHosts sets the value of RawHosts.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) SetUser ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) SetUser(val User)
SetUser sets the value of User.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponse) Validate ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponse) Validate() error
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 ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetDaysLeft ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetDaysLeft() float64
GetDaysLeft returns the value of DaysLeft.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetIsHwidLimited ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetIsHwidLimited() bool
GetIsHwidLimited returns the value of IsHwidLimited.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetLifetimeTrafficUsed ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetLifetimeTrafficUsed() string
GetLifetimeTrafficUsed returns the value of LifetimeTrafficUsed.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetTrafficLimit ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetTrafficLimit() string
GetTrafficLimit returns the value of TrafficLimit.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetTrafficUsed ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) GetTrafficUsed() string
GetTrafficUsed returns the value of TrafficUsed.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetDaysLeft ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetDaysLeft(val float64)
SetDaysLeft sets the value of DaysLeft.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetIsHwidLimited ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetIsHwidLimited(val bool)
SetIsHwidLimited sets the value of IsHwidLimited.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetLifetimeTrafficUsed ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetLifetimeTrafficUsed(val string)
SetLifetimeTrafficUsed sets the value of LifetimeTrafficUsed.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetTrafficLimit ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetTrafficLimit(val string)
SetTrafficLimit sets the value of TrafficLimit.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetTrafficUsed ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) SetTrafficUsed(val string)
SetTrafficUsed sets the value of TrafficUsed.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Validate ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseConvertedUserInfo) Validate() error
type GetRawSubscriptionByShortUuidResponseDtoResponseHeaders ¶
func (*GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) Decode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseHeaders from json.
func (GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) Encode ¶
func (s GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) MarshalJSON ¶
func (s GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAdditionalParams ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAdditionalParams() OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams
GetAdditionalParams returns the value of AdditionalParams.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAddress ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAddress() OptNilString
GetAddress returns the value of Address.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAllowInsecure ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAllowInsecure() OptNilBool
GetAllowInsecure returns the value of AllowInsecure.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAlpn ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetAlpn() OptNilString
GetAlpn returns the value of Alpn.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetDbData ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetDbData() OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData
GetDbData returns the value of DbData.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetEncryption ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetEncryption() OptNilString
GetEncryption returns the value of Encryption.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetFingerprint ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetFingerprint() OptNilString
GetFingerprint returns the value of Fingerprint.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetFlow ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetFlow() OptNilString
GetFlow returns the value of Flow.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetHost ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetHost() OptNilString
GetHost returns the value of Host.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMihomoX25519 ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMihomoX25519() OptNilBool
GetMihomoX25519 returns the value of MihomoX25519.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMldsa65Verify ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMldsa65Verify() OptNilString
GetMldsa65Verify returns the value of Mldsa65Verify.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMuxParams ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetMuxParams() jx.Raw
GetMuxParams returns the value of MuxParams.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetNetwork ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetNetwork() OptNilString
GetNetwork returns the value of Network.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPassword ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPassword() GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword
GetPassword returns the value of Password.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPath ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPath() OptNilString
GetPath returns the value of Path.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPort ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPort() OptNilFloat64
GetPort returns the value of Port.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetProtocol ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetProtocol() OptNilString
GetProtocol returns the value of Protocol.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetProtocolOptions ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetProtocolOptions() OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions
GetProtocolOptions returns the value of ProtocolOptions.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPublicKey ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetPublicKey() OptNilString
GetPublicKey returns the value of PublicKey.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetRawSettings ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetRawSettings() OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
GetRawSettings returns the value of RawSettings.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetRemark ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetRemark() OptNilString
GetRemark returns the value of Remark.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetServerDescription ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetServerDescription() OptNilString
GetServerDescription returns the value of ServerDescription.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetShortId ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetShortId() OptNilString
GetShortId returns the value of ShortId.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetShuffleHost ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetShuffleHost() OptNilBool
GetShuffleHost returns the value of ShuffleHost.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSni ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSni() OptNilString
GetSni returns the value of Sni.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSockoptParams ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSockoptParams() jx.Raw
GetSockoptParams returns the value of SockoptParams.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSpiderX ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetSpiderX() OptNilString
GetSpiderX returns the value of SpiderX.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetTLS ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetTLS() OptNilString
GetTLS returns the value of TLS.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetXHttpExtraParams ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetXHttpExtraParams() jx.Raw
GetXHttpExtraParams returns the value of XHttpExtraParams.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetXrayJsonTemplate ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) GetXrayJsonTemplate() jx.Raw
GetXrayJsonTemplate returns the value of XrayJsonTemplate.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAdditionalParams ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAdditionalParams(val OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams)
SetAdditionalParams sets the value of AdditionalParams.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAddress ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAddress(val OptNilString)
SetAddress sets the value of Address.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAllowInsecure ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAllowInsecure(val OptNilBool)
SetAllowInsecure sets the value of AllowInsecure.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAlpn ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetAlpn(val OptNilString)
SetAlpn sets the value of Alpn.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetDbData ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetDbData(val OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData)
SetDbData sets the value of DbData.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetEncryption ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetEncryption(val OptNilString)
SetEncryption sets the value of Encryption.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFingerprint ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFingerprint(val OptNilString)
SetFingerprint sets the value of Fingerprint.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFlow ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetFlow(val OptNilString)
SetFlow sets the value of Flow.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetHost ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetHost(val OptNilString)
SetHost sets the value of Host.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMihomoX25519 ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMihomoX25519(val OptNilBool)
SetMihomoX25519 sets the value of MihomoX25519.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMldsa65Verify ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMldsa65Verify(val OptNilString)
SetMldsa65Verify sets the value of Mldsa65Verify.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMuxParams ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetMuxParams(val jx.Raw)
SetMuxParams sets the value of MuxParams.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetNetwork ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetNetwork(val OptNilString)
SetNetwork sets the value of Network.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPassword ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPassword(val GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword)
SetPassword sets the value of Password.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPath ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPath(val OptNilString)
SetPath sets the value of Path.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPort ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPort(val OptNilFloat64)
SetPort sets the value of Port.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetProtocol ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetProtocol(val OptNilString)
SetProtocol sets the value of Protocol.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetProtocolOptions ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetProtocolOptions(val OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions)
SetProtocolOptions sets the value of ProtocolOptions.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPublicKey ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetPublicKey(val OptNilString)
SetPublicKey sets the value of PublicKey.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetRawSettings ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetRawSettings(val OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings)
SetRawSettings sets the value of RawSettings.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetRemark ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetRemark(val OptNilString)
SetRemark sets the value of Remark.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetServerDescription ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetServerDescription(val OptNilString)
SetServerDescription sets the value of ServerDescription.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetShortId ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetShortId(val OptNilString)
SetShortId sets the value of ShortId.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetShuffleHost ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetShuffleHost(val OptNilBool)
SetShuffleHost sets the value of ShuffleHost.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSni ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSni(val OptNilString)
SetSni sets the value of Sni.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSockoptParams ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSockoptParams(val jx.Raw)
SetSockoptParams sets the value of SockoptParams.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSpiderX ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetSpiderX(val OptNilString)
SetSpiderX sets the value of SpiderX.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetTLS ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetTLS(val OptNilString)
SetTLS sets the value of TLS.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetXHttpExtraParams ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetXHttpExtraParams(val jx.Raw)
SetXHttpExtraParams sets the value of XHttpExtraParams.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetXrayJsonTemplate ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) SetXrayJsonTemplate(val jx.Raw)
SetXrayJsonTemplate sets the value of XrayJsonTemplate.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Validate ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItem) Validate() error
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams ¶
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams struct {
Mode OptNilString `json:"mode"`
HeartbeatPeriod OptNilFloat64 `json:"heartbeatPeriod"`
}
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Decode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetHeartbeatPeriod ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetHeartbeatPeriod() OptNilFloat64
GetHeartbeatPeriod returns the value of HeartbeatPeriod.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetMode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetMode() OptNilString
GetMode returns the value of Mode.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetHeartbeatPeriod ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetHeartbeatPeriod(val OptNilFloat64)
SetHeartbeatPeriod sets the value of HeartbeatPeriod.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetMode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetMode(val OptNilString)
SetMode sets the value of Mode.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Validate ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Validate() error
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 ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetConfigProfileInboundUuid ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetConfigProfileInboundUuid() NilString
GetConfigProfileInboundUuid returns the value of ConfigProfileInboundUuid.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetConfigProfileUuid ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetConfigProfileUuid() NilString
GetConfigProfileUuid returns the value of ConfigProfileUuid.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetInboundTag ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetInboundTag() string
GetInboundTag returns the value of InboundTag.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetIsDisabled ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetIsDisabled() bool
GetIsDisabled returns the value of IsDisabled.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetIsHidden ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetIsHidden() bool
GetIsHidden returns the value of IsHidden.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRawInbound ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRawInbound() jx.Raw
GetRawInbound returns the value of RawInbound.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRemark ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRemark() string
GetRemark returns the value of Remark.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetTag ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetTag() NilString
GetTag returns the value of Tag.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetUUID ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetUUID() string
GetUUID returns the value of UUID.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetViewPosition ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetViewPosition() float64
GetViewPosition returns the value of ViewPosition.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetVlessRouteId ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetVlessRouteId() NilInt
GetVlessRouteId returns the value of VlessRouteId.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetConfigProfileInboundUuid ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetConfigProfileInboundUuid(val NilString)
SetConfigProfileInboundUuid sets the value of ConfigProfileInboundUuid.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetConfigProfileUuid ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetConfigProfileUuid(val NilString)
SetConfigProfileUuid sets the value of ConfigProfileUuid.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetInboundTag ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetInboundTag(val string)
SetInboundTag sets the value of InboundTag.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetIsDisabled ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetIsDisabled(val bool)
SetIsDisabled sets the value of IsDisabled.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetIsHidden ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetIsHidden(val bool)
SetIsHidden sets the value of IsHidden.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetRawInbound ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetRawInbound(val jx.Raw)
SetRawInbound sets the value of RawInbound.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetRemark ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetRemark(val string)
SetRemark sets the value of Remark.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetTag ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetTag(val NilString)
SetTag sets the value of Tag.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetUUID ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetUUID(val string)
SetUUID sets the value of UUID.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetViewPosition ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetViewPosition(val float64)
SetViewPosition sets the value of ViewPosition.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetVlessRouteId ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetVlessRouteId(val NilInt)
SetVlessRouteId sets the value of VlessRouteId.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Validate ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Validate() error
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword ¶
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword struct {
SsPassword string `json:"ssPassword"`
TrojanPassword string `json:"trojanPassword"`
VlessPassword string `json:"vlessPassword"`
}
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) Decode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetSsPassword ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetSsPassword() string
GetSsPassword returns the value of SsPassword.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetTrojanPassword ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetTrojanPassword() string
GetTrojanPassword returns the value of TrojanPassword.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetVlessPassword ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) GetVlessPassword() string
GetVlessPassword returns the value of VlessPassword.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetSsPassword ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetSsPassword(val string)
SetSsPassword sets the value of SsPassword.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetTrojanPassword ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetTrojanPassword(val string)
SetTrojanPassword sets the value of TrojanPassword.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetVlessPassword ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) SetVlessPassword(val string)
SetVlessPassword sets the value of VlessPassword.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemPassword) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions ¶
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions struct {
Ss OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs `json:"ss"`
}
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Decode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) GetSs ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) GetSs() OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs
GetSs returns the value of Ss.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetSs ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetSs(val OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs)
SetSs sets the value of Ss.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs ¶
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs struct {
Method OptNilString `json:"method"`
}
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Decode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) GetMethod ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) GetMethod() OptNilString
GetMethod returns the value of Method.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetMethod ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetMethod(val OptNilString)
SetMethod sets the value of Method.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings ¶
type GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings struct {
HeaderType OptNilString `json:"headerType"`
Request jx.Raw `json:"request"`
}
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Decode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings from json.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Encode ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetHeaderType ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetHeaderType() OptNilString
GetHeaderType returns the value of HeaderType.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetRequest ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetRequest() jx.Raw
GetRequest returns the value of Request.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) MarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetFake ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetFake()
SetFake set fake values.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetHeaderType ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetHeaderType(val OptNilString)
SetHeaderType sets the value of HeaderType.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetRequest ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetRequest(val jx.Raw)
SetRequest sets the value of Request.
func (*GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) UnmarshalJSON ¶
func (s *GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRemnawaveHealthResponseDto ¶
type GetRemnawaveHealthResponseDto struct {
Response GetRemnawaveHealthResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetRemnawaveHealthResponseDto
func (*GetRemnawaveHealthResponseDto) Decode ¶
func (s *GetRemnawaveHealthResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetRemnawaveHealthResponseDto from json.
func (*GetRemnawaveHealthResponseDto) Encode ¶
func (s *GetRemnawaveHealthResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRemnawaveHealthResponseDto) GetResponse ¶
func (s *GetRemnawaveHealthResponseDto) GetResponse() GetRemnawaveHealthResponseDtoResponse
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 ¶
func (s *GetRemnawaveHealthResponseDto) SetResponse(val GetRemnawaveHealthResponseDtoResponse)
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 ¶
func (s *GetRemnawaveHealthResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetRemnawaveHealthResponseDtoResponse from json.
func (*GetRemnawaveHealthResponseDtoResponse) Encode ¶
func (s *GetRemnawaveHealthResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRemnawaveHealthResponseDtoResponse) GetPm2Stats ¶
func (s *GetRemnawaveHealthResponseDtoResponse) GetPm2Stats() []GetRemnawaveHealthResponseDtoResponsePm2StatsItem
GetPm2Stats returns the value of Pm2Stats.
func (*GetRemnawaveHealthResponseDtoResponse) MarshalJSON ¶
func (s *GetRemnawaveHealthResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRemnawaveHealthResponseDtoResponse) SetFake ¶
func (s *GetRemnawaveHealthResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetRemnawaveHealthResponseDtoResponse) SetPm2Stats ¶
func (s *GetRemnawaveHealthResponseDtoResponse) SetPm2Stats(val []GetRemnawaveHealthResponseDtoResponsePm2StatsItem)
SetPm2Stats sets the value of Pm2Stats.
func (*GetRemnawaveHealthResponseDtoResponse) UnmarshalJSON ¶
func (s *GetRemnawaveHealthResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRemnawaveHealthResponseDtoResponse) Validate ¶
func (s *GetRemnawaveHealthResponseDtoResponse) Validate() error
type GetRemnawaveHealthResponseDtoResponsePm2StatsItem ¶
type GetRemnawaveHealthResponseDtoResponsePm2StatsItem struct {
Name string `json:"name"`
Memory string `json:"memory"`
CPU string `json:"cpu"`
}
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) Decode ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) Decode(d *jx.Decoder) error
Decode decodes GetRemnawaveHealthResponseDtoResponsePm2StatsItem from json.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) Encode ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetCPU ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetCPU() string
GetCPU returns the value of CPU.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetMemory ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetMemory() string
GetMemory returns the value of Memory.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetName ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) GetName() string
GetName returns the value of Name.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) MarshalJSON ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetCPU ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetCPU(val string)
SetCPU sets the value of CPU.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetFake ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetFake()
SetFake set fake values.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetMemory ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetMemory(val string)
SetMemory sets the value of Memory.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetName ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) SetName(val string)
SetName sets the value of Name.
func (*GetRemnawaveHealthResponseDtoResponsePm2StatsItem) UnmarshalJSON ¶
func (s *GetRemnawaveHealthResponseDtoResponsePm2StatsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetStatsNodeUsersUsageResponseDto ¶
type GetStatsNodeUsersUsageResponseDto struct {
Response GetStatsNodeUsersUsageResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetStatsNodeUsersUsageResponseDto
func (*GetStatsNodeUsersUsageResponseDto) Decode ¶
func (s *GetStatsNodeUsersUsageResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetStatsNodeUsersUsageResponseDto from json.
func (*GetStatsNodeUsersUsageResponseDto) Encode ¶
func (s *GetStatsNodeUsersUsageResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsNodeUsersUsageResponseDto) GetResponse ¶
func (s *GetStatsNodeUsersUsageResponseDto) GetResponse() GetStatsNodeUsersUsageResponseDtoResponse
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 ¶
func (s *GetStatsNodeUsersUsageResponseDto) SetResponse(val GetStatsNodeUsersUsageResponseDtoResponse)
SetResponse sets the value of Response.
func (*GetStatsNodeUsersUsageResponseDto) UnmarshalJSON ¶
func (s *GetStatsNodeUsersUsageResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStatsNodeUsersUsageResponseDto) Validate ¶
func (s *GetStatsNodeUsersUsageResponseDto) Validate() error
type GetStatsNodeUsersUsageResponseDtoResponse ¶
type GetStatsNodeUsersUsageResponseDtoResponse struct {
Categories []string `json:"categories"`
SparklineData []float64 `json:"sparklineData"`
TopUsers []GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem `json:"topUsers"`
}
func (*GetStatsNodeUsersUsageResponseDtoResponse) Decode ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetStatsNodeUsersUsageResponseDtoResponse from json.
func (*GetStatsNodeUsersUsageResponseDtoResponse) Encode ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsNodeUsersUsageResponseDtoResponse) GetCategories ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) GetCategories() []string
GetCategories returns the value of Categories.
func (*GetStatsNodeUsersUsageResponseDtoResponse) GetSparklineData ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) GetSparklineData() []float64
GetSparklineData returns the value of SparklineData.
func (*GetStatsNodeUsersUsageResponseDtoResponse) GetTopUsers ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) GetTopUsers() []GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem
GetTopUsers returns the value of TopUsers.
func (*GetStatsNodeUsersUsageResponseDtoResponse) MarshalJSON ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatsNodeUsersUsageResponseDtoResponse) SetCategories ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetCategories(val []string)
SetCategories sets the value of Categories.
func (*GetStatsNodeUsersUsageResponseDtoResponse) SetFake ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetStatsNodeUsersUsageResponseDtoResponse) SetSparklineData ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetSparklineData(val []float64)
SetSparklineData sets the value of SparklineData.
func (*GetStatsNodeUsersUsageResponseDtoResponse) SetTopUsers ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) SetTopUsers(val []GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem)
SetTopUsers sets the value of TopUsers.
func (*GetStatsNodeUsersUsageResponseDtoResponse) UnmarshalJSON ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStatsNodeUsersUsageResponseDtoResponse) Validate ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponse) Validate() error
type GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem ¶
type GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem struct {
Color string `json:"color"`
Username string `json:"username"`
Total float64 `json:"total"`
}
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Decode ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Decode(d *jx.Decoder) error
Decode decodes GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem from json.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Encode ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetColor ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetColor() string
GetColor returns the value of Color.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetTotal ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetTotal() float64
GetTotal returns the value of Total.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetUsername ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) GetUsername() string
GetUsername returns the value of Username.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) MarshalJSON ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetColor ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetColor(val string)
SetColor sets the value of Color.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetFake ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetFake()
SetFake set fake values.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetTotal ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetTotal(val float64)
SetTotal sets the value of Total.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetUsername ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) SetUsername(val string)
SetUsername sets the value of Username.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) UnmarshalJSON ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Validate ¶
func (s *GetStatsNodeUsersUsageResponseDtoResponseTopUsersItem) Validate() error
type GetStatsNodesRealtimeUsageResponseDto ¶
type GetStatsNodesRealtimeUsageResponseDto struct {
Response []GetStatsNodesRealtimeUsageResponseDtoResponseItem `json:"response"`
}
Ref: #/components/schemas/GetStatsNodesRealtimeUsageResponseDto
func (*GetStatsNodesRealtimeUsageResponseDto) Decode ¶
func (s *GetStatsNodesRealtimeUsageResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetStatsNodesRealtimeUsageResponseDto from json.
func (*GetStatsNodesRealtimeUsageResponseDto) Encode ¶
func (s *GetStatsNodesRealtimeUsageResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsNodesRealtimeUsageResponseDto) GetResponse ¶
func (s *GetStatsNodesRealtimeUsageResponseDto) GetResponse() []GetStatsNodesRealtimeUsageResponseDtoResponseItem
GetResponse returns the value of Response.
func (*GetStatsNodesRealtimeUsageResponseDto) MarshalJSON ¶
func (s *GetStatsNodesRealtimeUsageResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatsNodesRealtimeUsageResponseDto) SetFake ¶
func (s *GetStatsNodesRealtimeUsageResponseDto) SetFake()
SetFake set fake values.
func (*GetStatsNodesRealtimeUsageResponseDto) SetResponse ¶
func (s *GetStatsNodesRealtimeUsageResponseDto) SetResponse(val []GetStatsNodesRealtimeUsageResponseDtoResponseItem)
SetResponse sets the value of Response.
func (*GetStatsNodesRealtimeUsageResponseDto) UnmarshalJSON ¶
func (s *GetStatsNodesRealtimeUsageResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStatsNodesRealtimeUsageResponseDto) Validate ¶
func (s *GetStatsNodesRealtimeUsageResponseDto) Validate() error
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 ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) Decode(d *jx.Decoder) error
Decode decodes GetStatsNodesRealtimeUsageResponseDtoResponseItem from json.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) Encode ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetCountryCode ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetCountryCode() string
GetCountryCode returns the value of CountryCode.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetDownloadBytes ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetDownloadBytes() float64
GetDownloadBytes returns the value of DownloadBytes.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetDownloadSpeedBps ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetDownloadSpeedBps() float64
GetDownloadSpeedBps returns the value of DownloadSpeedBps.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetNodeName ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetNodeName() string
GetNodeName returns the value of NodeName.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetNodeUuid ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetNodeUuid() uuid.UUID
GetNodeUuid returns the value of NodeUuid.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetTotalBytes ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetTotalBytes() float64
GetTotalBytes returns the value of TotalBytes.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetTotalSpeedBps ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetTotalSpeedBps() float64
GetTotalSpeedBps returns the value of TotalSpeedBps.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetUploadBytes ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetUploadBytes() float64
GetUploadBytes returns the value of UploadBytes.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetUploadSpeedBps ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) GetUploadSpeedBps() float64
GetUploadSpeedBps returns the value of UploadSpeedBps.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) MarshalJSON ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetCountryCode ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetCountryCode(val string)
SetCountryCode sets the value of CountryCode.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadBytes ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadBytes(val float64)
SetDownloadBytes sets the value of DownloadBytes.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadSpeedBps ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetDownloadSpeedBps(val float64)
SetDownloadSpeedBps sets the value of DownloadSpeedBps.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetFake ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetFake()
SetFake set fake values.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetNodeName ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetNodeName(val string)
SetNodeName sets the value of NodeName.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetNodeUuid ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetNodeUuid(val uuid.UUID)
SetNodeUuid sets the value of NodeUuid.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetTotalBytes ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetTotalBytes(val float64)
SetTotalBytes sets the value of TotalBytes.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetTotalSpeedBps ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetTotalSpeedBps(val float64)
SetTotalSpeedBps sets the value of TotalSpeedBps.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetUploadBytes ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetUploadBytes(val float64)
SetUploadBytes sets the value of UploadBytes.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetUploadSpeedBps ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) SetUploadSpeedBps(val float64)
SetUploadSpeedBps sets the value of UploadSpeedBps.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) UnmarshalJSON ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStatsNodesRealtimeUsageResponseDtoResponseItem) Validate ¶
func (s *GetStatsNodesRealtimeUsageResponseDtoResponseItem) Validate() error
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 ¶
func (s *GetStatsResponseDto) GetResponse() GetStatsResponseDtoResponse
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 ¶
func (s *GetStatsResponseDto) SetResponse(val GetStatsResponseDtoResponse)
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 ¶
func (s *GetStatsResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetStatsResponseDtoResponse from json.
func (*GetStatsResponseDtoResponse) Encode ¶
func (s *GetStatsResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsResponseDtoResponse) GetCPU ¶
func (s *GetStatsResponseDtoResponse) GetCPU() GetStatsResponseDtoResponseCPU
GetCPU returns the value of CPU.
func (*GetStatsResponseDtoResponse) GetMemory ¶
func (s *GetStatsResponseDtoResponse) GetMemory() GetStatsResponseDtoResponseMemory
GetMemory returns the value of Memory.
func (*GetStatsResponseDtoResponse) GetNodes ¶
func (s *GetStatsResponseDtoResponse) GetNodes() GetStatsResponseDtoResponseNodes
GetNodes returns the value of Nodes.
func (*GetStatsResponseDtoResponse) GetOnlineStats ¶
func (s *GetStatsResponseDtoResponse) GetOnlineStats() GetStatsResponseDtoResponseOnlineStats
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 ¶
func (s *GetStatsResponseDtoResponse) GetUsers() GetStatsResponseDtoResponseUsers
GetUsers returns the value of Users.
func (*GetStatsResponseDtoResponse) MarshalJSON ¶
func (s *GetStatsResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatsResponseDtoResponse) SetCPU ¶
func (s *GetStatsResponseDtoResponse) SetCPU(val GetStatsResponseDtoResponseCPU)
SetCPU sets the value of CPU.
func (*GetStatsResponseDtoResponse) SetFake ¶
func (s *GetStatsResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetStatsResponseDtoResponse) SetMemory ¶
func (s *GetStatsResponseDtoResponse) SetMemory(val GetStatsResponseDtoResponseMemory)
SetMemory sets the value of Memory.
func (*GetStatsResponseDtoResponse) SetNodes ¶
func (s *GetStatsResponseDtoResponse) SetNodes(val GetStatsResponseDtoResponseNodes)
SetNodes sets the value of Nodes.
func (*GetStatsResponseDtoResponse) SetOnlineStats ¶
func (s *GetStatsResponseDtoResponse) SetOnlineStats(val GetStatsResponseDtoResponseOnlineStats)
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 ¶
func (s *GetStatsResponseDtoResponse) SetUsers(val GetStatsResponseDtoResponseUsers)
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 ¶
func (s *GetStatsResponseDtoResponseCPU) Decode(d *jx.Decoder) error
Decode decodes GetStatsResponseDtoResponseCPU from json.
func (*GetStatsResponseDtoResponseCPU) Encode ¶
func (s *GetStatsResponseDtoResponseCPU) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsResponseDtoResponseCPU) GetCores ¶
func (s *GetStatsResponseDtoResponseCPU) GetCores() float64
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 ¶
func (s *GetStatsResponseDtoResponseMemory) Decode(d *jx.Decoder) error
Decode decodes GetStatsResponseDtoResponseMemory from json.
func (*GetStatsResponseDtoResponseMemory) Encode ¶
func (s *GetStatsResponseDtoResponseMemory) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsResponseDtoResponseMemory) GetActive ¶
func (s *GetStatsResponseDtoResponseMemory) GetActive() float64
GetActive returns the value of Active.
func (*GetStatsResponseDtoResponseMemory) GetAvailable ¶
func (s *GetStatsResponseDtoResponseMemory) GetAvailable() float64
GetAvailable returns the value of Available.
func (*GetStatsResponseDtoResponseMemory) GetFree ¶
func (s *GetStatsResponseDtoResponseMemory) GetFree() float64
GetFree returns the value of Free.
func (*GetStatsResponseDtoResponseMemory) GetTotal ¶
func (s *GetStatsResponseDtoResponseMemory) GetTotal() float64
GetTotal returns the value of Total.
func (*GetStatsResponseDtoResponseMemory) GetUsed ¶
func (s *GetStatsResponseDtoResponseMemory) GetUsed() float64
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 ¶
func (s *GetStatsResponseDtoResponseMemory) SetFree(val float64)
SetFree sets the value of Free.
func (*GetStatsResponseDtoResponseMemory) SetTotal ¶
func (s *GetStatsResponseDtoResponseMemory) SetTotal(val float64)
SetTotal sets the value of Total.
func (*GetStatsResponseDtoResponseMemory) SetUsed ¶
func (s *GetStatsResponseDtoResponseMemory) SetUsed(val float64)
SetUsed sets the value of Used.
func (*GetStatsResponseDtoResponseMemory) UnmarshalJSON ¶
func (s *GetStatsResponseDtoResponseMemory) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStatsResponseDtoResponseMemory) Validate ¶
func (s *GetStatsResponseDtoResponseMemory) Validate() error
type GetStatsResponseDtoResponseNodes ¶
type GetStatsResponseDtoResponseNodes struct {
TotalOnline float64 `json:"totalOnline"`
TotalBytesLifetime string `json:"totalBytesLifetime"`
}
func (*GetStatsResponseDtoResponseNodes) Decode ¶
func (s *GetStatsResponseDtoResponseNodes) Decode(d *jx.Decoder) error
Decode decodes GetStatsResponseDtoResponseNodes from json.
func (*GetStatsResponseDtoResponseNodes) Encode ¶
func (s *GetStatsResponseDtoResponseNodes) Encode(e *jx.Encoder)
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 ¶
func (s *GetStatsResponseDtoResponseNodes) Validate() error
type GetStatsResponseDtoResponseOnlineStats ¶
type GetStatsResponseDtoResponseOnlineStats struct {
LastDay float64 `json:"lastDay"`
LastWeek float64 `json:"lastWeek"`
NeverOnline float64 `json:"neverOnline"`
OnlineNow float64 `json:"onlineNow"`
}
func (*GetStatsResponseDtoResponseOnlineStats) Decode ¶
func (s *GetStatsResponseDtoResponseOnlineStats) Decode(d *jx.Decoder) error
Decode decodes GetStatsResponseDtoResponseOnlineStats from json.
func (*GetStatsResponseDtoResponseOnlineStats) Encode ¶
func (s *GetStatsResponseDtoResponseOnlineStats) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsResponseDtoResponseOnlineStats) GetLastDay ¶
func (s *GetStatsResponseDtoResponseOnlineStats) GetLastDay() float64
GetLastDay returns the value of LastDay.
func (*GetStatsResponseDtoResponseOnlineStats) GetLastWeek ¶
func (s *GetStatsResponseDtoResponseOnlineStats) GetLastWeek() float64
GetLastWeek returns the value of LastWeek.
func (*GetStatsResponseDtoResponseOnlineStats) GetNeverOnline ¶
func (s *GetStatsResponseDtoResponseOnlineStats) GetNeverOnline() float64
GetNeverOnline returns the value of NeverOnline.
func (*GetStatsResponseDtoResponseOnlineStats) GetOnlineNow ¶
func (s *GetStatsResponseDtoResponseOnlineStats) GetOnlineNow() float64
GetOnlineNow returns the value of OnlineNow.
func (*GetStatsResponseDtoResponseOnlineStats) MarshalJSON ¶
func (s *GetStatsResponseDtoResponseOnlineStats) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatsResponseDtoResponseOnlineStats) SetFake ¶
func (s *GetStatsResponseDtoResponseOnlineStats) SetFake()
SetFake set fake values.
func (*GetStatsResponseDtoResponseOnlineStats) SetLastDay ¶
func (s *GetStatsResponseDtoResponseOnlineStats) SetLastDay(val float64)
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 ¶
func (s *GetStatsResponseDtoResponseOnlineStats) Validate() error
type GetStatsResponseDtoResponseUsers ¶
type GetStatsResponseDtoResponseUsers struct {
StatusCounts GetStatsResponseDtoResponseUsersStatusCounts `json:"statusCounts"`
TotalUsers float64 `json:"totalUsers"`
}
func (*GetStatsResponseDtoResponseUsers) Decode ¶
func (s *GetStatsResponseDtoResponseUsers) Decode(d *jx.Decoder) error
Decode decodes GetStatsResponseDtoResponseUsers from json.
func (*GetStatsResponseDtoResponseUsers) Encode ¶
func (s *GetStatsResponseDtoResponseUsers) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatsResponseDtoResponseUsers) GetStatusCounts ¶
func (s *GetStatsResponseDtoResponseUsers) GetStatusCounts() GetStatsResponseDtoResponseUsersStatusCounts
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 ¶
func (s *GetStatsResponseDtoResponseUsers) SetStatusCounts(val GetStatsResponseDtoResponseUsersStatusCounts)
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 ¶
func (s *GetStatsResponseDtoResponseUsers) Validate() error
type GetStatsResponseDtoResponseUsersStatusCounts ¶
func (*GetStatsResponseDtoResponseUsersStatusCounts) Decode ¶
func (s *GetStatsResponseDtoResponseUsersStatusCounts) Decode(d *jx.Decoder) error
Decode decodes GetStatsResponseDtoResponseUsersStatusCounts from json.
func (GetStatsResponseDtoResponseUsersStatusCounts) Encode ¶
func (s GetStatsResponseDtoResponseUsersStatusCounts) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetStatsResponseDtoResponseUsersStatusCounts) MarshalJSON ¶
func (s GetStatsResponseDtoResponseUsersStatusCounts) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatsResponseDtoResponseUsersStatusCounts) SetFake ¶
func (s *GetStatsResponseDtoResponseUsersStatusCounts) SetFake()
SetFake set fake values.
func (*GetStatsResponseDtoResponseUsersStatusCounts) UnmarshalJSON ¶
func (s *GetStatsResponseDtoResponseUsersStatusCounts) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetStatsResponseDtoResponseUsersStatusCounts) Validate ¶
func (s GetStatsResponseDtoResponseUsersStatusCounts) Validate() error
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 ¶
func (s *GetStatusResponseDto) GetResponse() GetStatusResponseDtoResponse
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 ¶
func (s *GetStatusResponseDto) SetResponse(val GetStatusResponseDtoResponse)
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 ¶
func (s *GetStatusResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetStatusResponseDtoResponse from json.
func (*GetStatusResponseDtoResponse) Encode ¶
func (s *GetStatusResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatusResponseDtoResponse) GetAuthentication ¶
func (s *GetStatusResponseDtoResponse) GetAuthentication() NilGetStatusResponseDtoResponseAuthentication
GetAuthentication returns the value of Authentication.
func (*GetStatusResponseDtoResponse) GetBranding ¶
func (s *GetStatusResponseDtoResponse) GetBranding() GetStatusResponseDtoResponseBranding
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 ¶
func (s *GetStatusResponseDtoResponse) SetAuthentication(val NilGetStatusResponseDtoResponseAuthentication)
SetAuthentication sets the value of Authentication.
func (*GetStatusResponseDtoResponse) SetBranding ¶
func (s *GetStatusResponseDtoResponse) SetBranding(val GetStatusResponseDtoResponseBranding)
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 ¶
func (s *GetStatusResponseDtoResponseAuthentication) Decode(d *jx.Decoder) error
Decode decodes GetStatusResponseDtoResponseAuthentication from json.
func (*GetStatusResponseDtoResponseAuthentication) Encode ¶
func (s *GetStatusResponseDtoResponseAuthentication) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatusResponseDtoResponseAuthentication) GetOAuth2 ¶
func (s *GetStatusResponseDtoResponseAuthentication) GetOAuth2() GetStatusResponseDtoResponseAuthenticationOAuth2
GetOAuth2 returns the value of OAuth2.
func (*GetStatusResponseDtoResponseAuthentication) GetPasskey ¶
func (s *GetStatusResponseDtoResponseAuthentication) GetPasskey() NilPasswordSettings
GetPasskey returns the value of Passkey.
func (*GetStatusResponseDtoResponseAuthentication) GetPassword ¶
func (s *GetStatusResponseDtoResponseAuthentication) GetPassword() NilPasswordSettings
GetPassword returns the value of Password.
func (*GetStatusResponseDtoResponseAuthentication) GetTgAuth ¶
func (s *GetStatusResponseDtoResponseAuthentication) GetTgAuth() GetStatusResponseDtoResponseAuthenticationTgAuth
GetTgAuth returns the value of TgAuth.
func (*GetStatusResponseDtoResponseAuthentication) MarshalJSON ¶
func (s *GetStatusResponseDtoResponseAuthentication) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatusResponseDtoResponseAuthentication) SetFake ¶
func (s *GetStatusResponseDtoResponseAuthentication) SetFake()
SetFake set fake values.
func (*GetStatusResponseDtoResponseAuthentication) SetOAuth2 ¶
func (s *GetStatusResponseDtoResponseAuthentication) SetOAuth2(val GetStatusResponseDtoResponseAuthenticationOAuth2)
SetOAuth2 sets the value of OAuth2.
func (*GetStatusResponseDtoResponseAuthentication) SetPasskey ¶
func (s *GetStatusResponseDtoResponseAuthentication) SetPasskey(val NilPasswordSettings)
SetPasskey sets the value of Passkey.
func (*GetStatusResponseDtoResponseAuthentication) SetPassword ¶
func (s *GetStatusResponseDtoResponseAuthentication) SetPassword(val NilPasswordSettings)
SetPassword sets the value of Password.
func (*GetStatusResponseDtoResponseAuthentication) SetTgAuth ¶
func (s *GetStatusResponseDtoResponseAuthentication) SetTgAuth(val GetStatusResponseDtoResponseAuthenticationTgAuth)
SetTgAuth sets the value of TgAuth.
func (*GetStatusResponseDtoResponseAuthentication) UnmarshalJSON ¶
func (s *GetStatusResponseDtoResponseAuthentication) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStatusResponseDtoResponseAuthentication) Validate ¶
func (s *GetStatusResponseDtoResponseAuthentication) Validate() error
type GetStatusResponseDtoResponseAuthenticationOAuth2 ¶
type GetStatusResponseDtoResponseAuthenticationOAuth2 struct {
Providers GetStatusResponseDtoResponseAuthenticationOAuth2Providers `json:"providers"`
}
func (*GetStatusResponseDtoResponseAuthenticationOAuth2) Decode ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) Decode(d *jx.Decoder) error
Decode decodes GetStatusResponseDtoResponseAuthenticationOAuth2 from json.
func (*GetStatusResponseDtoResponseAuthenticationOAuth2) Encode ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatusResponseDtoResponseAuthenticationOAuth2) GetProviders ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) GetProviders() GetStatusResponseDtoResponseAuthenticationOAuth2Providers
GetProviders returns the value of Providers.
func (*GetStatusResponseDtoResponseAuthenticationOAuth2) MarshalJSON ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatusResponseDtoResponseAuthenticationOAuth2) SetFake ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) SetFake()
SetFake set fake values.
func (*GetStatusResponseDtoResponseAuthenticationOAuth2) SetProviders ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) SetProviders(val GetStatusResponseDtoResponseAuthenticationOAuth2Providers)
SetProviders sets the value of Providers.
func (*GetStatusResponseDtoResponseAuthenticationOAuth2) UnmarshalJSON ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetStatusResponseDtoResponseAuthenticationOAuth2Providers ¶
func (*GetStatusResponseDtoResponseAuthenticationOAuth2Providers) Decode ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2Providers) Decode(d *jx.Decoder) error
Decode decodes GetStatusResponseDtoResponseAuthenticationOAuth2Providers from json.
func (GetStatusResponseDtoResponseAuthenticationOAuth2Providers) Encode ¶
func (s GetStatusResponseDtoResponseAuthenticationOAuth2Providers) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetStatusResponseDtoResponseAuthenticationOAuth2Providers) MarshalJSON ¶
func (s GetStatusResponseDtoResponseAuthenticationOAuth2Providers) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatusResponseDtoResponseAuthenticationOAuth2Providers) SetFake ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2Providers) SetFake()
SetFake set fake values.
func (*GetStatusResponseDtoResponseAuthenticationOAuth2Providers) UnmarshalJSON ¶
func (s *GetStatusResponseDtoResponseAuthenticationOAuth2Providers) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetStatusResponseDtoResponseAuthenticationTgAuth ¶
type GetStatusResponseDtoResponseAuthenticationTgAuth struct {
Enabled bool `json:"enabled"`
BotId NilFloat64 `json:"botId"`
}
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) Decode ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) Decode(d *jx.Decoder) error
Decode decodes GetStatusResponseDtoResponseAuthenticationTgAuth from json.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) Encode ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) GetBotId ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) GetBotId() NilFloat64
GetBotId returns the value of BotId.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) GetEnabled ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) GetEnabled() bool
GetEnabled returns the value of Enabled.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) MarshalJSON ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) SetBotId ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) SetBotId(val NilFloat64)
SetBotId sets the value of BotId.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) SetEnabled ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) SetEnabled(val bool)
SetEnabled sets the value of Enabled.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) SetFake ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) SetFake()
SetFake set fake values.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) UnmarshalJSON ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStatusResponseDtoResponseAuthenticationTgAuth) Validate ¶
func (s *GetStatusResponseDtoResponseAuthenticationTgAuth) Validate() error
type GetStatusResponseDtoResponseBranding ¶
type GetStatusResponseDtoResponseBranding struct {
Title NilString `json:"title"`
LogoUrl NilString `json:"logoUrl"`
}
func (*GetStatusResponseDtoResponseBranding) Decode ¶
func (s *GetStatusResponseDtoResponseBranding) Decode(d *jx.Decoder) error
Decode decodes GetStatusResponseDtoResponseBranding from json.
func (*GetStatusResponseDtoResponseBranding) Encode ¶
func (s *GetStatusResponseDtoResponseBranding) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStatusResponseDtoResponseBranding) GetLogoUrl ¶
func (s *GetStatusResponseDtoResponseBranding) GetLogoUrl() NilString
GetLogoUrl returns the value of LogoUrl.
func (*GetStatusResponseDtoResponseBranding) GetTitle ¶
func (s *GetStatusResponseDtoResponseBranding) GetTitle() NilString
GetTitle returns the value of Title.
func (*GetStatusResponseDtoResponseBranding) MarshalJSON ¶
func (s *GetStatusResponseDtoResponseBranding) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStatusResponseDtoResponseBranding) SetFake ¶
func (s *GetStatusResponseDtoResponseBranding) SetFake()
SetFake set fake values.
func (*GetStatusResponseDtoResponseBranding) SetLogoUrl ¶
func (s *GetStatusResponseDtoResponseBranding) SetLogoUrl(val NilString)
SetLogoUrl sets the value of LogoUrl.
func (*GetStatusResponseDtoResponseBranding) SetTitle ¶
func (s *GetStatusResponseDtoResponseBranding) SetTitle(val NilString)
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 ¶
func (s *GetStatusResponseDtoStatusCode) GetResponse() GetStatusResponseDto
GetResponse returns the value of Response.
func (*GetStatusResponseDtoStatusCode) GetStatusCode ¶
func (s *GetStatusResponseDtoStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*GetStatusResponseDtoStatusCode) SetResponse ¶
func (s *GetStatusResponseDtoStatusCode) SetResponse(val GetStatusResponseDto)
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 ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDto) Decode(d *jx.Decoder) error
Decode decodes GetSubpageConfigByShortUuidRequestBodyDto from json.
func (*GetSubpageConfigByShortUuidRequestBodyDto) Encode ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSubpageConfigByShortUuidRequestBodyDto) GetRequestHeaders ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDto) GetRequestHeaders() GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders
GetRequestHeaders returns the value of RequestHeaders.
func (*GetSubpageConfigByShortUuidRequestBodyDto) MarshalJSON ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSubpageConfigByShortUuidRequestBodyDto) SetFake ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDto) SetFake()
SetFake set fake values.
func (*GetSubpageConfigByShortUuidRequestBodyDto) SetRequestHeaders ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDto) SetRequestHeaders(val GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders)
SetRequestHeaders sets the value of RequestHeaders.
func (*GetSubpageConfigByShortUuidRequestBodyDto) UnmarshalJSON ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders ¶
func (*GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) Decode ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) Decode(d *jx.Decoder) error
Decode decodes GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders from json.
func (GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) Encode ¶
func (s GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) MarshalJSON ¶
func (s GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) SetFake ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) SetFake()
SetFake set fake values.
func (*GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) UnmarshalJSON ¶
func (s *GetSubpageConfigByShortUuidRequestBodyDtoRequestHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSubpageConfigByShortUuidResponseDto ¶
type GetSubpageConfigByShortUuidResponseDto struct {
Response GetSubpageConfigByShortUuidResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetSubpageConfigByShortUuidResponseDto
func (*GetSubpageConfigByShortUuidResponseDto) Decode ¶
func (s *GetSubpageConfigByShortUuidResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetSubpageConfigByShortUuidResponseDto from json.
func (*GetSubpageConfigByShortUuidResponseDto) Encode ¶
func (s *GetSubpageConfigByShortUuidResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSubpageConfigByShortUuidResponseDto) GetResponse ¶
func (s *GetSubpageConfigByShortUuidResponseDto) GetResponse() GetSubpageConfigByShortUuidResponseDtoResponse
GetResponse returns the value of Response.
func (*GetSubpageConfigByShortUuidResponseDto) MarshalJSON ¶
func (s *GetSubpageConfigByShortUuidResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSubpageConfigByShortUuidResponseDto) SetFake ¶
func (s *GetSubpageConfigByShortUuidResponseDto) SetFake()
SetFake set fake values.
func (*GetSubpageConfigByShortUuidResponseDto) SetResponse ¶
func (s *GetSubpageConfigByShortUuidResponseDto) SetResponse(val GetSubpageConfigByShortUuidResponseDtoResponse)
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 ¶
func (s *GetSubpageConfigByShortUuidResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetSubpageConfigByShortUuidResponseDtoResponse from json.
func (*GetSubpageConfigByShortUuidResponseDtoResponse) Encode ¶
func (s *GetSubpageConfigByShortUuidResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSubpageConfigByShortUuidResponseDtoResponse) GetSubpageConfigUuid ¶
func (s *GetSubpageConfigByShortUuidResponseDtoResponse) GetSubpageConfigUuid() NilUUID
GetSubpageConfigUuid returns the value of SubpageConfigUuid.
func (*GetSubpageConfigByShortUuidResponseDtoResponse) GetWebpageAllowed ¶
func (s *GetSubpageConfigByShortUuidResponseDtoResponse) GetWebpageAllowed() bool
GetWebpageAllowed returns the value of WebpageAllowed.
func (*GetSubpageConfigByShortUuidResponseDtoResponse) MarshalJSON ¶
func (s *GetSubpageConfigByShortUuidResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSubpageConfigByShortUuidResponseDtoResponse) SetFake ¶
func (s *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 ¶
func (s *GetSubpageConfigByShortUuidResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSubscriptionRequestHistoryResponseDto ¶
type GetSubscriptionRequestHistoryResponseDto struct {
Response UserSubscriptionHistory `json:"response"`
}
Ref: #/components/schemas/GetSubscriptionRequestHistoryResponseDto
func (*GetSubscriptionRequestHistoryResponseDto) Decode ¶
func (s *GetSubscriptionRequestHistoryResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetSubscriptionRequestHistoryResponseDto from json.
func (*GetSubscriptionRequestHistoryResponseDto) Encode ¶
func (s *GetSubscriptionRequestHistoryResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSubscriptionRequestHistoryResponseDto) GetResponse ¶
func (s *GetSubscriptionRequestHistoryResponseDto) GetResponse() UserSubscriptionHistory
GetResponse returns the value of Response.
func (*GetSubscriptionRequestHistoryResponseDto) MarshalJSON ¶
func (s *GetSubscriptionRequestHistoryResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSubscriptionRequestHistoryResponseDto) SetFake ¶
func (s *GetSubscriptionRequestHistoryResponseDto) SetFake()
SetFake set fake values.
func (*GetSubscriptionRequestHistoryResponseDto) SetResponse ¶
func (s *GetSubscriptionRequestHistoryResponseDto) SetResponse(val UserSubscriptionHistory)
SetResponse sets the value of Response.
func (*GetSubscriptionRequestHistoryResponseDto) UnmarshalJSON ¶
func (s *GetSubscriptionRequestHistoryResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetSubscriptionRequestHistoryResponseDto) Validate ¶
func (s *GetSubscriptionRequestHistoryResponseDto) Validate() error
type GetSubscriptionRequestHistoryStatsResponseDto ¶
type GetSubscriptionRequestHistoryStatsResponseDto struct {
Response GetSubscriptionRequestHistoryStatsResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetSubscriptionRequestHistoryStatsResponseDto
func (*GetSubscriptionRequestHistoryStatsResponseDto) Decode ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetSubscriptionRequestHistoryStatsResponseDto from json.
func (*GetSubscriptionRequestHistoryStatsResponseDto) Encode ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDto) GetResponse ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDto) GetResponse() GetSubscriptionRequestHistoryStatsResponseDtoResponse
GetResponse returns the value of Response.
func (*GetSubscriptionRequestHistoryStatsResponseDto) MarshalJSON ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDto) SetFake ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDto) SetFake()
SetFake set fake values.
func (*GetSubscriptionRequestHistoryStatsResponseDto) SetResponse ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDto) SetResponse(val GetSubscriptionRequestHistoryStatsResponseDtoResponse)
SetResponse sets the value of Response.
func (*GetSubscriptionRequestHistoryStatsResponseDto) UnmarshalJSON ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDto) Validate ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDto) Validate() error
type GetSubscriptionRequestHistoryStatsResponseDtoResponse ¶
type GetSubscriptionRequestHistoryStatsResponseDtoResponse struct {
ByParsedApp []ByAppItem `json:"byParsedApp"`
HourlyRequestStats []GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem `json:"hourlyRequestStats"`
}
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) Decode ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetSubscriptionRequestHistoryStatsResponseDtoResponse from json.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) Encode ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) GetByParsedApp ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) GetByParsedApp() []ByAppItem
GetByParsedApp returns the value of ByParsedApp.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) GetHourlyRequestStats ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) GetHourlyRequestStats() []GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem
GetHourlyRequestStats returns the value of HourlyRequestStats.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) MarshalJSON ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetByParsedApp ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetByParsedApp(val []ByAppItem)
SetByParsedApp sets the value of ByParsedApp.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetFake ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetHourlyRequestStats ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) SetHourlyRequestStats(val []GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem)
SetHourlyRequestStats sets the value of HourlyRequestStats.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) UnmarshalJSON ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponse) Validate ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponse) Validate() error
type GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem ¶
type GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem struct {
DateTime time.Time `json:"dateTime"`
RequestCount float64 `json:"requestCount"`
}
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Decode ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Decode(d *jx.Decoder) error
Decode decodes GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem from json.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Encode ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) GetDateTime ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) GetDateTime() time.Time
GetDateTime returns the value of DateTime.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) GetRequestCount ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) GetRequestCount() float64
GetRequestCount returns the value of RequestCount.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) MarshalJSON ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetDateTime ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetDateTime(val time.Time)
SetDateTime sets the value of DateTime.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetFake ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetFake()
SetFake set fake values.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetRequestCount ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) SetRequestCount(val float64)
SetRequestCount sets the value of RequestCount.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) UnmarshalJSON ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Validate ¶
func (s *GetSubscriptionRequestHistoryStatsResponseDtoResponseHourlyRequestStatsItem) Validate() error
type GetTopUsersByHwidDevicesResponseDto ¶
type GetTopUsersByHwidDevicesResponseDto struct {
Response GetTopUsersByHwidDevicesResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetTopUsersByHwidDevicesResponseDto
func (*GetTopUsersByHwidDevicesResponseDto) Decode ¶
func (s *GetTopUsersByHwidDevicesResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetTopUsersByHwidDevicesResponseDto from json.
func (*GetTopUsersByHwidDevicesResponseDto) Encode ¶
func (s *GetTopUsersByHwidDevicesResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetTopUsersByHwidDevicesResponseDto) GetResponse ¶
func (s *GetTopUsersByHwidDevicesResponseDto) GetResponse() GetTopUsersByHwidDevicesResponseDtoResponse
GetResponse returns the value of Response.
func (*GetTopUsersByHwidDevicesResponseDto) MarshalJSON ¶
func (s *GetTopUsersByHwidDevicesResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTopUsersByHwidDevicesResponseDto) SetFake ¶
func (s *GetTopUsersByHwidDevicesResponseDto) SetFake()
SetFake set fake values.
func (*GetTopUsersByHwidDevicesResponseDto) SetResponse ¶
func (s *GetTopUsersByHwidDevicesResponseDto) SetResponse(val GetTopUsersByHwidDevicesResponseDtoResponse)
SetResponse sets the value of Response.
func (*GetTopUsersByHwidDevicesResponseDto) UnmarshalJSON ¶
func (s *GetTopUsersByHwidDevicesResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetTopUsersByHwidDevicesResponseDto) Validate ¶
func (s *GetTopUsersByHwidDevicesResponseDto) Validate() error
type GetTopUsersByHwidDevicesResponseDtoResponse ¶
type GetTopUsersByHwidDevicesResponseDtoResponse struct {
Users []GetTopUsersByHwidDevicesResponseDtoResponseUsersItem `json:"users"`
Total float64 `json:"total"`
}
func (*GetTopUsersByHwidDevicesResponseDtoResponse) Decode ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetTopUsersByHwidDevicesResponseDtoResponse from json.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) Encode ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) GetTotal ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) GetTotal() float64
GetTotal returns the value of Total.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) GetUsers ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) GetUsers() []GetTopUsersByHwidDevicesResponseDtoResponseUsersItem
GetUsers returns the value of Users.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) MarshalJSON ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) SetFake ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) SetTotal ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) SetTotal(val float64)
SetTotal sets the value of Total.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) SetUsers ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) SetUsers(val []GetTopUsersByHwidDevicesResponseDtoResponseUsersItem)
SetUsers sets the value of Users.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) UnmarshalJSON ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetTopUsersByHwidDevicesResponseDtoResponse) Validate ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponse) Validate() error
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 ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Decode(d *jx.Decoder) error
Decode decodes GetTopUsersByHwidDevicesResponseDtoResponseUsersItem from json.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Encode ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetDevicesCount ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetDevicesCount() float64
GetDevicesCount returns the value of DevicesCount.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetID ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetID() float64
GetID returns the value of ID.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetUserUuid ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetUserUuid() uuid.UUID
GetUserUuid returns the value of UserUuid.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetUsername ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) GetUsername() string
GetUsername returns the value of Username.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) MarshalJSON ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetDevicesCount ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetDevicesCount(val float64)
SetDevicesCount sets the value of DevicesCount.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetFake ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetFake()
SetFake set fake values.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetID ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetID(val float64)
SetID sets the value of ID.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetUserUuid ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetUserUuid(val uuid.UUID)
SetUserUuid sets the value of UserUuid.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetUsername ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) SetUsername(val string)
SetUsername sets the value of Username.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) UnmarshalJSON ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Validate ¶
func (s *GetTopUsersByHwidDevicesResponseDtoResponseUsersItem) Validate() error
type GetUserAccessibleNodesResponseDto ¶
type GetUserAccessibleNodesResponseDto struct {
Response GetUserAccessibleNodesResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/GetUserAccessibleNodesResponseDto
func (*GetUserAccessibleNodesResponseDto) Decode ¶
func (s *GetUserAccessibleNodesResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetUserAccessibleNodesResponseDto from json.
func (*GetUserAccessibleNodesResponseDto) Encode ¶
func (s *GetUserAccessibleNodesResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetUserAccessibleNodesResponseDto) GetResponse ¶
func (s *GetUserAccessibleNodesResponseDto) GetResponse() GetUserAccessibleNodesResponseDtoResponse
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 ¶
func (s *GetUserAccessibleNodesResponseDto) SetResponse(val GetUserAccessibleNodesResponseDtoResponse)
SetResponse sets the value of Response.
func (*GetUserAccessibleNodesResponseDto) UnmarshalJSON ¶
func (s *GetUserAccessibleNodesResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetUserAccessibleNodesResponseDto) Validate ¶
func (s *GetUserAccessibleNodesResponseDto) Validate() error
type GetUserAccessibleNodesResponseDtoResponse ¶
type GetUserAccessibleNodesResponseDtoResponse struct {
UserUuid uuid.UUID `json:"userUuid"`
ActiveNodes []GetUserAccessibleNodesResponseDtoResponseActiveNodesItem `json:"activeNodes"`
}
func (*GetUserAccessibleNodesResponseDtoResponse) Decode ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes GetUserAccessibleNodesResponseDtoResponse from json.
func (*GetUserAccessibleNodesResponseDtoResponse) Encode ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetUserAccessibleNodesResponseDtoResponse) GetActiveNodes ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) GetActiveNodes() []GetUserAccessibleNodesResponseDtoResponseActiveNodesItem
GetActiveNodes returns the value of ActiveNodes.
func (*GetUserAccessibleNodesResponseDtoResponse) GetUserUuid ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) GetUserUuid() uuid.UUID
GetUserUuid returns the value of UserUuid.
func (*GetUserAccessibleNodesResponseDtoResponse) MarshalJSON ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUserAccessibleNodesResponseDtoResponse) SetActiveNodes ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) SetActiveNodes(val []GetUserAccessibleNodesResponseDtoResponseActiveNodesItem)
SetActiveNodes sets the value of ActiveNodes.
func (*GetUserAccessibleNodesResponseDtoResponse) SetFake ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) SetFake()
SetFake set fake values.
func (*GetUserAccessibleNodesResponseDtoResponse) SetUserUuid ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) SetUserUuid(val uuid.UUID)
SetUserUuid sets the value of UserUuid.
func (*GetUserAccessibleNodesResponseDtoResponse) UnmarshalJSON ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetUserAccessibleNodesResponseDtoResponse) Validate ¶
func (s *GetUserAccessibleNodesResponseDtoResponse) Validate() error
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 ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Decode(d *jx.Decoder) error
Decode decodes GetUserAccessibleNodesResponseDtoResponseActiveNodesItem from json.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Encode ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetActiveSquads ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetActiveSquads() []GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem
GetActiveSquads returns the value of ActiveSquads.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetConfigProfileName ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetConfigProfileName() string
GetConfigProfileName returns the value of ConfigProfileName.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetConfigProfileUuid ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetConfigProfileUuid() uuid.UUID
GetConfigProfileUuid returns the value of ConfigProfileUuid.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetCountryCode ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetCountryCode() string
GetCountryCode returns the value of CountryCode.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetNodeName ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetNodeName() string
GetNodeName returns the value of NodeName.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetUUID ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) MarshalJSON ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetActiveSquads ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetActiveSquads(val []GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem)
SetActiveSquads sets the value of ActiveSquads.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetConfigProfileName ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetConfigProfileName(val string)
SetConfigProfileName sets the value of ConfigProfileName.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetConfigProfileUuid ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetConfigProfileUuid(val uuid.UUID)
SetConfigProfileUuid sets the value of ConfigProfileUuid.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetCountryCode ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetCountryCode(val string)
SetCountryCode sets the value of CountryCode.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetFake ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetFake()
SetFake set fake values.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetNodeName ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetNodeName(val string)
SetNodeName sets the value of NodeName.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetUUID ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) UnmarshalJSON ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Validate ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItem) Validate() error
type GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem ¶
type GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem struct {
SquadName string `json:"squadName"`
ActiveInbounds []string `json:"activeInbounds"`
}
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Decode ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Decode(d *jx.Decoder) error
Decode decodes GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem from json.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Encode ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) GetActiveInbounds ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) GetActiveInbounds() []string
GetActiveInbounds returns the value of ActiveInbounds.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) GetSquadName ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) GetSquadName() string
GetSquadName returns the value of SquadName.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) MarshalJSON ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetActiveInbounds ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetActiveInbounds(val []string)
SetActiveInbounds sets the value of ActiveInbounds.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetFake ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetFake()
SetFake set fake values.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetSquadName ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) SetSquadName(val string)
SetSquadName sets the value of SquadName.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) UnmarshalJSON ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Validate ¶
func (s *GetUserAccessibleNodesResponseDtoResponseActiveNodesItemActiveSquadsItem) Validate() error
type GetUserSubscriptionRequestHistoryResponseDto ¶
type GetUserSubscriptionRequestHistoryResponseDto struct {
Response UserSubscriptionHistory `json:"response"`
}
Ref: #/components/schemas/GetUserSubscriptionRequestHistoryResponseDto
func (*GetUserSubscriptionRequestHistoryResponseDto) Decode ¶
func (s *GetUserSubscriptionRequestHistoryResponseDto) Decode(d *jx.Decoder) error
Decode decodes GetUserSubscriptionRequestHistoryResponseDto from json.
func (*GetUserSubscriptionRequestHistoryResponseDto) Encode ¶
func (s *GetUserSubscriptionRequestHistoryResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetUserSubscriptionRequestHistoryResponseDto) GetResponse ¶
func (s *GetUserSubscriptionRequestHistoryResponseDto) GetResponse() UserSubscriptionHistory
GetResponse returns the value of Response.
func (*GetUserSubscriptionRequestHistoryResponseDto) MarshalJSON ¶
func (s *GetUserSubscriptionRequestHistoryResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUserSubscriptionRequestHistoryResponseDto) SetFake ¶
func (s *GetUserSubscriptionRequestHistoryResponseDto) SetFake()
SetFake set fake values.
func (*GetUserSubscriptionRequestHistoryResponseDto) SetResponse ¶
func (s *GetUserSubscriptionRequestHistoryResponseDto) SetResponse(val UserSubscriptionHistory)
SetResponse sets the value of Response.
func (*GetUserSubscriptionRequestHistoryResponseDto) UnmarshalJSON ¶
func (s *GetUserSubscriptionRequestHistoryResponseDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetUserSubscriptionRequestHistoryResponseDto) Validate ¶
func (s *GetUserSubscriptionRequestHistoryResponseDto) Validate() error
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) GetAllowedEmails ¶
GetAllowedEmails returns the value of AllowedEmails.
func (*Github) GetClientId ¶
GetClientId returns the value of ClientId.
func (*Github) GetClientSecret ¶
GetClientSecret returns the value of ClientSecret.
func (*Github) GetEnabled ¶
GetEnabled returns the value of Enabled.
func (*Github) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Github) SetAllowedEmails ¶
SetAllowedEmails sets the value of AllowedEmails.
func (*Github) SetClientId ¶
SetClientId sets the value of ClientId.
func (*Github) SetClientSecret ¶
SetClientSecret sets the value of ClientSecret.
func (*Github) SetEnabled ¶
SetEnabled sets the value of Enabled.
func (*Github) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Header ¶
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Header) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetAddress ¶
GetAddress returns the value of Address.
func (*HostItem) GetAllowInsecure ¶
GetAllowInsecure returns the value of AllowInsecure.
func (*HostItem) GetExcludedInternalSquads ¶
GetExcludedInternalSquads returns the value of ExcludedInternalSquads.
func (*HostItem) GetFingerprint ¶
GetFingerprint returns the value of Fingerprint.
func (*HostItem) GetInbound ¶
func (s *HostItem) GetInbound() InboundItem
GetInbound returns the value of Inbound.
func (*HostItem) GetIsDisabled ¶
GetIsDisabled returns the value of IsDisabled.
func (*HostItem) GetIsHidden ¶
GetIsHidden returns the value of IsHidden.
func (*HostItem) GetKeepSniBlank ¶
GetKeepSniBlank returns the value of KeepSniBlank.
func (*HostItem) GetMihomoX25519 ¶
GetMihomoX25519 returns the value of MihomoX25519.
func (*HostItem) GetMuxParams ¶
GetMuxParams returns the value of MuxParams.
func (*HostItem) GetOverrideSniFromAddress ¶
GetOverrideSniFromAddress returns the value of OverrideSniFromAddress.
func (*HostItem) GetSecurityLayer ¶
func (s *HostItem) GetSecurityLayer() OptHostItemSecurityLayer
GetSecurityLayer returns the value of SecurityLayer.
func (*HostItem) GetServerDescription ¶
GetServerDescription returns the value of ServerDescription.
func (*HostItem) GetShuffleHost ¶
GetShuffleHost returns the value of ShuffleHost.
func (*HostItem) GetSockoptParams ¶
GetSockoptParams returns the value of SockoptParams.
func (*HostItem) GetViewPosition ¶
GetViewPosition returns the value of ViewPosition.
func (*HostItem) GetVlessRouteId ¶
GetVlessRouteId returns the value of VlessRouteId.
func (*HostItem) GetXHttpExtraParams ¶
GetXHttpExtraParams returns the value of XHttpExtraParams.
func (*HostItem) GetXrayJsonTemplateUuid ¶
GetXrayJsonTemplateUuid returns the value of XrayJsonTemplateUuid.
func (*HostItem) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*HostItem) SetAddress ¶
SetAddress sets the value of Address.
func (*HostItem) SetAllowInsecure ¶
SetAllowInsecure sets the value of AllowInsecure.
func (*HostItem) SetExcludedInternalSquads ¶
SetExcludedInternalSquads sets the value of ExcludedInternalSquads.
func (*HostItem) SetFingerprint ¶
SetFingerprint sets the value of Fingerprint.
func (*HostItem) SetInbound ¶
func (s *HostItem) SetInbound(val InboundItem)
SetInbound sets the value of Inbound.
func (*HostItem) SetIsDisabled ¶
SetIsDisabled sets the value of IsDisabled.
func (*HostItem) SetIsHidden ¶
SetIsHidden sets the value of IsHidden.
func (*HostItem) SetKeepSniBlank ¶
SetKeepSniBlank sets the value of KeepSniBlank.
func (*HostItem) SetMihomoX25519 ¶
SetMihomoX25519 sets the value of MihomoX25519.
func (*HostItem) SetMuxParams ¶
SetMuxParams sets the value of MuxParams.
func (*HostItem) SetOverrideSniFromAddress ¶
SetOverrideSniFromAddress sets the value of OverrideSniFromAddress.
func (*HostItem) SetSecurityLayer ¶
func (s *HostItem) SetSecurityLayer(val OptHostItemSecurityLayer)
SetSecurityLayer sets the value of SecurityLayer.
func (*HostItem) SetServerDescription ¶
SetServerDescription sets the value of ServerDescription.
func (*HostItem) SetShuffleHost ¶
SetShuffleHost sets the value of ShuffleHost.
func (*HostItem) SetSockoptParams ¶
SetSockoptParams sets the value of SockoptParams.
func (*HostItem) SetViewPosition ¶
SetViewPosition sets the value of ViewPosition.
func (*HostItem) SetVlessRouteId ¶
SetVlessRouteId sets the value of VlessRouteId.
func (*HostItem) SetXHttpExtraParams ¶
SetXHttpExtraParams sets the value of XHttpExtraParams.
func (*HostItem) SetXrayJsonTemplateUuid ¶
SetXrayJsonTemplateUuid sets the value of XrayJsonTemplateUuid.
func (*HostItem) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type HostItemSecurityLayer ¶
type HostItemSecurityLayer string
const ( HostItemSecurityLayerDEFAULT HostItemSecurityLayer = "DEFAULT" HostItemSecurityLayerTLS HostItemSecurityLayer = "TLS" HostItemSecurityLayerNONE HostItemSecurityLayer = "NONE" )
func (HostItemSecurityLayer) AllValues ¶
func (HostItemSecurityLayer) AllValues() []HostItemSecurityLayer
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) 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) 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) 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 ¶
func (sc *HostsBulkActionsClient) DeleteHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDeleteHostsRes, error)
DeleteHosts calls HostsBulkActionsController_deleteHosts.
func (*HostsBulkActionsClient) DisableHosts ¶
func (sc *HostsBulkActionsClient) DisableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerDisableHostsRes, error)
DisableHosts calls HostsBulkActionsController_disableHosts.
func (*HostsBulkActionsClient) EnableHosts ¶
func (sc *HostsBulkActionsClient) EnableHosts(ctx context.Context, request *BulkUuidsRequest2) (HostsBulkActionsControllerEnableHostsRes, error)
EnableHosts calls HostsBulkActionsController_enableHosts.
func (*HostsBulkActionsClient) SetInboundToHosts ¶
func (sc *HostsBulkActionsClient) SetInboundToHosts(ctx context.Context, request *SetInboundToManyHostsRequestDto) (HostsBulkActionsControllerSetInboundToHostsRes, error)
SetInboundToHosts calls HostsBulkActionsController_setInboundToHosts.
func (*HostsBulkActionsClient) SetPortToHosts ¶
func (sc *HostsBulkActionsClient) SetPortToHosts(ctx context.Context, request *SetPortToManyHostsRequestDto) (HostsBulkActionsControllerSetPortToHostsRes, error)
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 ¶
func (sc *HostsClient) CreateHost(ctx context.Context, request *CreateHostRequestDto) (HostsControllerCreateHostRes, error)
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 ¶
func (sc *HostsClient) GetAllHostTags(ctx context.Context) (HostsControllerGetAllHostTagsRes, error)
GetAllHostTags calls HostsController_getAllHostTags.
func (*HostsClient) GetAllHosts ¶
func (sc *HostsClient) GetAllHosts(ctx context.Context) (HostsControllerGetAllHostsRes, error)
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 ¶
func (sc *HostsClient) ReorderHosts(ctx context.Context, request *ReorderHostRequestDto) (HostsControllerReorderHostsRes, error)
ReorderHosts calls HostsController_reorderHosts.
func (*HostsClient) UpdateHost ¶
func (sc *HostsClient) UpdateHost(ctx context.Context, request *UpdateHostRequestDto) (HostsControllerUpdateHostRes, error)
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) 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 ¶
func (sc *HwidUserDevicesClient) CreateUserHwidDevice(ctx context.Context, request *CreateUserHwidDeviceRequestDto) (HwidUserDevicesControllerCreateUserHwidDeviceRes, error)
CreateUserHwidDevice calls HwidUserDevicesController_createUserHwidDevice.
func (*HwidUserDevicesClient) DeleteAllUserHwidDevices ¶
func (sc *HwidUserDevicesClient) DeleteAllUserHwidDevices(ctx context.Context, request *DeleteAllUserHwidDevicesRequestDto) (HwidUserDevicesControllerDeleteAllUserHwidDevicesRes, error)
DeleteAllUserHwidDevices calls HwidUserDevicesController_deleteAllUserHwidDevices.
func (*HwidUserDevicesClient) DeleteUserHwidDevice ¶
func (sc *HwidUserDevicesClient) DeleteUserHwidDevice(ctx context.Context, request *DeleteUserHwidDeviceRequestDto) (HwidUserDevicesControllerDeleteUserHwidDeviceRes, error)
DeleteUserHwidDevice calls HwidUserDevicesController_deleteUserHwidDevice.
func (*HwidUserDevicesClient) GetAllUsers ¶
func (sc *HwidUserDevicesClient) GetAllUsers(ctx context.Context, size float64, start float64) (HwidUserDevicesControllerGetAllUsersRes, error)
GetAllUsers calls HwidUserDevicesController_getAllUsers.
func (*HwidUserDevicesClient) GetHwidDevicesStats ¶
func (sc *HwidUserDevicesClient) GetHwidDevicesStats(ctx context.Context) (HwidUserDevicesControllerGetHwidDevicesStatsRes, error)
GetHwidDevicesStats calls HwidUserDevicesController_getHwidDevicesStats.
func (*HwidUserDevicesClient) GetTopUsersByHwidDevices ¶
func (sc *HwidUserDevicesClient) GetTopUsersByHwidDevices(ctx context.Context, size float64, start float64) (HwidUserDevicesControllerGetTopUsersByHwidDevicesRes, error)
GetTopUsersByHwidDevices calls HwidUserDevicesController_getTopUsersByHwidDevices.
func (*HwidUserDevicesClient) GetUserHwidDevices ¶
func (sc *HwidUserDevicesClient) GetUserHwidDevices(ctx context.Context, useruuid string) (HwidUserDevicesControllerGetUserHwidDevicesRes, error)
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) GetNetwork ¶
GetNetwork returns the value of Network.
func (*Inbound) GetProfileUuid ¶
GetProfileUuid returns the value of ProfileUuid.
func (*Inbound) GetRawInbound ¶
GetRawInbound returns the value of RawInbound.
func (*Inbound) GetSecurity ¶
GetSecurity returns the value of Security.
func (*Inbound) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Inbound) SetNetwork ¶
SetNetwork sets the value of Network.
func (*Inbound) SetProfileUuid ¶
SetProfileUuid sets the value of ProfileUuid.
func (*Inbound) SetRawInbound ¶
SetRawInbound sets the value of RawInbound.
func (*Inbound) SetSecurity ¶
SetSecurity sets the value of Security.
func (*Inbound) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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) 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) 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 ¶
func (s *InboundsResponseResponse) GetInbounds() []InboundsResponseResponseInboundsItem
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 ¶
func (s *InboundsResponseResponse) SetInbounds(val []InboundsResponseResponseInboundsItem)
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 ¶
func (s *InboundsResponseResponseInboundsItem) Decode(d *jx.Decoder) error
Decode decodes InboundsResponseResponseInboundsItem from json.
func (*InboundsResponseResponseInboundsItem) Encode ¶
func (s *InboundsResponseResponseInboundsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InboundsResponseResponseInboundsItem) GetActiveSquads ¶
func (s *InboundsResponseResponseInboundsItem) GetActiveSquads() []uuid.UUID
GetActiveSquads returns the value of ActiveSquads.
func (*InboundsResponseResponseInboundsItem) GetNetwork ¶
func (s *InboundsResponseResponseInboundsItem) GetNetwork() NilString
GetNetwork returns the value of Network.
func (*InboundsResponseResponseInboundsItem) GetPort ¶
func (s *InboundsResponseResponseInboundsItem) GetPort() NilFloat64
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 ¶
func (s *InboundsResponseResponseInboundsItem) GetSecurity() NilString
GetSecurity returns the value of Security.
func (*InboundsResponseResponseInboundsItem) GetTag ¶
func (s *InboundsResponseResponseInboundsItem) GetTag() string
GetTag returns the value of Tag.
func (*InboundsResponseResponseInboundsItem) GetType ¶
func (s *InboundsResponseResponseInboundsItem) GetType() string
GetType returns the value of Type.
func (*InboundsResponseResponseInboundsItem) GetUUID ¶
func (s *InboundsResponseResponseInboundsItem) GetUUID() uuid.UUID
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 ¶
func (s *InboundsResponseResponseInboundsItem) SetFake()
SetFake set fake values.
func (*InboundsResponseResponseInboundsItem) SetNetwork ¶
func (s *InboundsResponseResponseInboundsItem) SetNetwork(val NilString)
SetNetwork sets the value of Network.
func (*InboundsResponseResponseInboundsItem) SetPort ¶
func (s *InboundsResponseResponseInboundsItem) SetPort(val NilFloat64)
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 ¶
func (s *InboundsResponseResponseInboundsItem) SetTag(val string)
SetTag sets the value of Tag.
func (*InboundsResponseResponseInboundsItem) SetType ¶
func (s *InboundsResponseResponseInboundsItem) SetType(val string)
SetType sets the value of Type.
func (*InboundsResponseResponseInboundsItem) SetUUID ¶
func (s *InboundsResponseResponseInboundsItem) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*InboundsResponseResponseInboundsItem) UnmarshalJSON ¶
func (s *InboundsResponseResponseInboundsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*InboundsResponseResponseInboundsItem) Validate ¶
func (s *InboundsResponseResponseInboundsItem) Validate() error
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) 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 ¶
func (sc *InfraBillingClient) CreateInfraBillingHistoryRecord(ctx context.Context, request *CreateInfraBillingHistoryRecordRequestDto) (InfraBillingControllerCreateInfraBillingHistoryRecordRes, error)
CreateInfraBillingHistoryRecord calls InfraBillingController_createInfraBillingHistoryRecord.
func (*InfraBillingClient) CreateInfraBillingNode ¶
func (sc *InfraBillingClient) CreateInfraBillingNode(ctx context.Context, request *CreateInfraBillingNodeRequestDto) (InfraBillingControllerCreateInfraBillingNodeRes, error)
CreateInfraBillingNode calls InfraBillingController_createInfraBillingNode.
func (*InfraBillingClient) CreateInfraProvider ¶
func (sc *InfraBillingClient) CreateInfraProvider(ctx context.Context, request *CreateInfraProviderRequestDto) (InfraBillingControllerCreateInfraProviderRes, error)
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 ¶
func (sc *InfraBillingClient) DeleteInfraBillingNodeByUuid(ctx context.Context, uuid string) (InfraBillingControllerDeleteInfraBillingNodeByUuidRes, error)
DeleteInfraBillingNodeByUuid calls InfraBillingController_deleteInfraBillingNodeByUuid.
func (*InfraBillingClient) DeleteInfraProviderByUuid ¶
func (sc *InfraBillingClient) DeleteInfraProviderByUuid(ctx context.Context, uuid string) (InfraBillingControllerDeleteInfraProviderByUuidRes, error)
DeleteInfraProviderByUuid calls InfraBillingController_deleteInfraProviderByUuid.
func (*InfraBillingClient) GetBillingNodes ¶
func (sc *InfraBillingClient) GetBillingNodes(ctx context.Context) (InfraBillingControllerGetBillingNodesRes, error)
GetBillingNodes calls InfraBillingController_getBillingNodes.
func (*InfraBillingClient) GetInfraBillingHistoryRecords ¶
func (sc *InfraBillingClient) GetInfraBillingHistoryRecords(ctx context.Context) (InfraBillingControllerGetInfraBillingHistoryRecordsRes, error)
GetInfraBillingHistoryRecords calls InfraBillingController_getInfraBillingHistoryRecords.
func (*InfraBillingClient) GetInfraProviderByUuid ¶
func (sc *InfraBillingClient) GetInfraProviderByUuid(ctx context.Context, uuid string) (InfraBillingControllerGetInfraProviderByUuidRes, error)
GetInfraProviderByUuid calls InfraBillingController_getInfraProviderByUuid.
func (*InfraBillingClient) GetInfraProviders ¶
func (sc *InfraBillingClient) GetInfraProviders(ctx context.Context) (InfraBillingControllerGetInfraProvidersRes, error)
GetInfraProviders calls InfraBillingController_getInfraProviders.
func (*InfraBillingClient) UpdateInfraBillingNode ¶
func (sc *InfraBillingClient) UpdateInfraBillingNode(ctx context.Context, request *UpdateInfraBillingNodeRequestDto) (InfraBillingControllerUpdateInfraBillingNodeRes, error)
UpdateInfraBillingNode calls InfraBillingController_updateInfraBillingNode.
func (*InfraBillingClient) UpdateInfraProvider ¶
func (sc *InfraBillingClient) UpdateInfraProvider(ctx context.Context, request *UpdateInfraProviderRequestDto) (InfraBillingControllerUpdateInfraProviderRes, error)
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 ¶
func (s *InfraProviderResponseResponse) Decode(d *jx.Decoder) error
Decode decodes InfraProviderResponseResponse from json.
func (*InfraProviderResponseResponse) Encode ¶
func (s *InfraProviderResponseResponse) Encode(e *jx.Encoder)
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 ¶
func (s *InternalSquad) GetInfo() InternalSquadsResponInfoItem
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) SetInbounds ¶
func (s *InternalSquad) SetInbounds(val []Inbound)
SetInbounds sets the value of Inbounds.
func (*InternalSquad) SetInfo ¶
func (s *InternalSquad) SetInfo(val InternalSquadsResponInfoItem)
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 ¶
func (sc *InternalSquadClient) AddUsersToInternalSquad(ctx context.Context, uuid string) (InternalSquadControllerAddUsersToInternalSquadRes, error)
AddUsersToInternalSquad calls InternalSquadController_addUsersToInternalSquad.
func (*InternalSquadClient) CreateInternalSquad ¶
func (sc *InternalSquadClient) CreateInternalSquad(ctx context.Context, request *CreateInternalSquadRequestDto) (InternalSquadControllerCreateInternalSquadRes, error)
CreateInternalSquad calls InternalSquadController_createInternalSquad.
func (*InternalSquadClient) DeleteInternalSquad ¶
func (sc *InternalSquadClient) DeleteInternalSquad(ctx context.Context, uuid string) (InternalSquadControllerDeleteInternalSquadRes, error)
DeleteInternalSquad calls InternalSquadController_deleteInternalSquad.
func (*InternalSquadClient) GetInternalSquadAccessibleNodes ¶
func (sc *InternalSquadClient) GetInternalSquadAccessibleNodes(ctx context.Context, uuid string) (InternalSquadControllerGetInternalSquadAccessibleNodesRes, error)
GetInternalSquadAccessibleNodes calls InternalSquadController_getInternalSquadAccessibleNodes.
func (*InternalSquadClient) GetInternalSquadByUuid ¶
func (sc *InternalSquadClient) GetInternalSquadByUuid(ctx context.Context, uuid string) (InternalSquadControllerGetInternalSquadByUuidRes, error)
GetInternalSquadByUuid calls InternalSquadController_getInternalSquadByUuid.
func (*InternalSquadClient) GetInternalSquads ¶
func (sc *InternalSquadClient) GetInternalSquads(ctx context.Context) (InternalSquadControllerGetInternalSquadsRes, error)
GetInternalSquads calls InternalSquadController_getInternalSquads.
func (*InternalSquadClient) RemoveUsersFromInternalSquad ¶
func (sc *InternalSquadClient) RemoveUsersFromInternalSquad(ctx context.Context, uuid string) (InternalSquadControllerRemoveUsersFromInternalSquadRes, error)
RemoveUsersFromInternalSquad calls InternalSquadController_removeUsersFromInternalSquad.
func (*InternalSquadClient) ReorderInternalSquads ¶
func (sc *InternalSquadClient) ReorderInternalSquads(ctx context.Context, request *ReorderRequest) (InternalSquadControllerReorderInternalSquadsRes, error)
ReorderInternalSquads calls InternalSquadController_reorderInternalSquads.
func (*InternalSquadClient) UpdateInternalSquad ¶
func (sc *InternalSquadClient) UpdateInternalSquad(ctx context.Context, request *UpdateInternalSquadRequestDto) (InternalSquadControllerUpdateInternalSquadRes, error)
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 ¶
func (s *InternalSquadResponseResponse) Decode(d *jx.Decoder) error
Decode decodes InternalSquadResponseResponse from json.
func (*InternalSquadResponseResponse) Encode ¶
func (s *InternalSquadResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InternalSquadResponseResponse) GetResponse ¶
func (s *InternalSquadResponseResponse) GetResponse() InternalSquad
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 ¶
func (s *InternalSquadsResponInfoItem) Decode(d *jx.Decoder) error
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 ¶
func (s *InternalSquadsResponse) GetResponse() InternalSquadsResponseResponse
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 ¶
func (s *InternalSquadsResponse) SetResponse(val InternalSquadsResponseResponse)
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 ¶
func (s *InternalSquadsResponseResponse) Decode(d *jx.Decoder) error
Decode decodes InternalSquadsResponseResponse from json.
func (*InternalSquadsResponseResponse) Encode ¶
func (s *InternalSquadsResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InternalSquadsResponseResponse) GetInternalSquads ¶
func (s *InternalSquadsResponseResponse) GetInternalSquads() []InternalSquad
GetInternalSquads returns the value of InternalSquads.
func (*InternalSquadsResponseResponse) GetTotal ¶
func (s *InternalSquadsResponseResponse) GetTotal() float64
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 ¶
func (sc *KeygenClient) GenerateKey(ctx context.Context) (KeygenControllerGenerateKeyRes, error)
GenerateKey calls KeygenController_generateKey.
type KeygenControllerGenerateKeyRes ¶
type KeygenControllerGenerateKeyRes interface {
// contains filtered or unexported methods
}
type LoginRequestDto ¶
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) 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 ¶
func (o NilBrandingSettings) Or(d BrandingSettings) BrandingSettings
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 ¶
func (o *NilBrandingSettings) SetTo(v BrandingSettings)
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 ¶
func (o NilCustomRemark) Or(d CustomRemark) CustomRemark
Or returns value if set, or given parameter if does not.
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 ¶
NilDateTime is nullable time.Time.
func NewNilDateTime ¶
func NewNilDateTime(v time.Time) NilDateTime
NewNilDateTime returns new NilDateTime with value set to v.
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) 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 ¶
func (o *NilExternalSquadResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes ExternalSquadResponseHeaders from json.
func (NilExternalSquadResponseHeaders) Encode ¶
func (o NilExternalSquadResponseHeaders) Encode(e *jx.Encoder)
Encode encodes ExternalSquadResponseHeaders as json.
func (NilExternalSquadResponseHeaders) Get ¶
func (o NilExternalSquadResponseHeaders) Get() (v ExternalSquadResponseHeaders, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilExternalSquadResponseHeaders) IsNull ¶
func (o NilExternalSquadResponseHeaders) IsNull() bool
IsNull returns true if value is Null.
func (NilExternalSquadResponseHeaders) MarshalJSON ¶
func (s NilExternalSquadResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilExternalSquadResponseHeaders) Or ¶
func (o NilExternalSquadResponseHeaders) Or(d ExternalSquadResponseHeaders) ExternalSquadResponseHeaders
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 ¶
func (o *NilExternalSquadResponseHeaders) SetTo(v ExternalSquadResponseHeaders)
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 ¶
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) 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) 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 ¶
func (o *NilGetStatusResponseDtoResponseAuthentication) Decode(d *jx.Decoder) error
Decode decodes GetStatusResponseDtoResponseAuthentication from json.
func (NilGetStatusResponseDtoResponseAuthentication) Encode ¶
func (o NilGetStatusResponseDtoResponseAuthentication) Encode(e *jx.Encoder)
Encode encodes GetStatusResponseDtoResponseAuthentication as json.
func (NilGetStatusResponseDtoResponseAuthentication) Get ¶
func (o NilGetStatusResponseDtoResponseAuthentication) Get() (v GetStatusResponseDtoResponseAuthentication, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilGetStatusResponseDtoResponseAuthentication) IsNull ¶
func (o NilGetStatusResponseDtoResponseAuthentication) IsNull() bool
IsNull returns true if value is Null.
func (NilGetStatusResponseDtoResponseAuthentication) MarshalJSON ¶
func (s NilGetStatusResponseDtoResponseAuthentication) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilGetStatusResponseDtoResponseAuthentication) Or ¶
func (o NilGetStatusResponseDtoResponseAuthentication) Or(d GetStatusResponseDtoResponseAuthentication) GetStatusResponseDtoResponseAuthentication
Or returns value if set, or given parameter if does not.
func (*NilGetStatusResponseDtoResponseAuthentication) SetFake ¶
func (s *NilGetStatusResponseDtoResponseAuthentication) SetFake()
SetFake set fake values.
func (*NilGetStatusResponseDtoResponseAuthentication) SetTo ¶
func (o *NilGetStatusResponseDtoResponseAuthentication) SetTo(v GetStatusResponseDtoResponseAuthentication)
SetTo sets value to v.
func (*NilGetStatusResponseDtoResponseAuthentication) SetToNull ¶
func (o *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 ¶
func (o NilHostOverride) Or(d HostOverride) HostOverride
Or returns value if set, or given parameter if does not.
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 ¶
func (o NilHwidSettings) Or(d HwidSettings) HwidSettings
Or returns value if set, or given parameter if does not.
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 ¶
NilInt is nullable int.
func (NilInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilInt) UnmarshalJSON ¶
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 ¶
func (o NilOauth2Settings) Or(d Oauth2Settings) Oauth2Settings
Or returns value if set, or given parameter if does not.
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 ¶
func (o NilPasskeySettings) Or(d PasskeySettings) PasskeySettings
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 ¶
func (o NilPasswordSettings) Or(d PasswordSettings) PasswordSettings
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 ¶
func (o *NilPasswordSettings) SetTo(v PasswordSettings)
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 ¶
func (o NilProviderItem) Or(d ProviderItem) ProviderItem
Or returns value if set, or given parameter if does not.
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 ¶
NilString is nullable string.
func NewNilString ¶
NewNilString returns new NilString with value set to v.
func (NilString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilString) UnmarshalJSON ¶
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 ¶
func (o NilSubscriptionSettings) Get() (v SubscriptionSettings, ok bool)
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 ¶
func (o NilSubscriptionSettings) Or(d SubscriptionSettings) SubscriptionSettings
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 ¶
func (o *NilSubscriptionSettings) SetTo(v SubscriptionSettings)
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 ¶
func NewNilSubscriptionSettingsResponseResponseCustomResponseHeaders(v SubscriptionSettingsResponseResponseCustomResponseHeaders) NilSubscriptionSettingsResponseResponseCustomResponseHeaders
NewNilSubscriptionSettingsResponseResponseCustomResponseHeaders returns new NilSubscriptionSettingsResponseResponseCustomResponseHeaders with value set to v.
func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Decode ¶
func (o *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes SubscriptionSettingsResponseResponseCustomResponseHeaders from json.
func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Encode ¶
func (o NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Encode(e *jx.Encoder)
Encode encodes SubscriptionSettingsResponseResponseCustomResponseHeaders as json.
func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Get ¶
func (o NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Get() (v SubscriptionSettingsResponseResponseCustomResponseHeaders, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) IsNull ¶
func (o NilSubscriptionSettingsResponseResponseCustomResponseHeaders) IsNull() bool
IsNull returns true if value is Null.
func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) MarshalJSON ¶
func (s NilSubscriptionSettingsResponseResponseCustomResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Or ¶
func (o NilSubscriptionSettingsResponseResponseCustomResponseHeaders) Or(d SubscriptionSettingsResponseResponseCustomResponseHeaders) SubscriptionSettingsResponseResponseCustomResponseHeaders
Or returns value if set, or given parameter if does not.
func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetFake ¶
func (s *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetFake()
SetFake set fake values.
func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetTo ¶
func (o *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetTo(v SubscriptionSettingsResponseResponseCustomResponseHeaders)
SetTo sets value to v.
func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetToNull ¶
func (o *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) SetToNull()
SetToNull sets value to null.
func (*NilSubscriptionSettingsResponseResponseCustomResponseHeaders) UnmarshalJSON ¶
func (s *NilSubscriptionSettingsResponseResponseCustomResponseHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (o NilTgAuthSettings) Or(d TgAuthSettings) TgAuthSettings
Or returns value if set, or given parameter if does not.
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 ¶
NilURI is nullable url.URL.
func (NilURI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilURI) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NilUUID ¶
NilUUID is nullable uuid.UUID.
func NewNilUUID ¶
NewNilUUID returns new NilUUID with value set to v.
func (NilUUID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilUUID) UnmarshalJSON ¶
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) GetCountryCode ¶
GetCountryCode returns the value of CountryCode.
func (*Node) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Node) SetCountryCode ¶
SetCountryCode sets the value of CountryCode.
func (*Node) UnmarshalJSON ¶
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) GetAddress ¶
GetAddress returns the value of Address.
func (*NodeItem) GetConfigProfile ¶
func (s *NodeItem) GetConfigProfile() ConfigProfileItem
GetConfigProfile returns the value of ConfigProfile.
func (*NodeItem) GetConsumptionMultiplier ¶
GetConsumptionMultiplier returns the value of ConsumptionMultiplier.
func (*NodeItem) GetCountryCode ¶
GetCountryCode returns the value of CountryCode.
func (*NodeItem) GetCpuCount ¶
GetCpuCount returns the value of CpuCount.
func (*NodeItem) GetCpuModel ¶
GetCpuModel returns the value of CpuModel.
func (*NodeItem) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*NodeItem) GetIsConnected ¶
GetIsConnected returns the value of IsConnected.
func (*NodeItem) GetIsConnecting ¶
GetIsConnecting returns the value of IsConnecting.
func (*NodeItem) GetIsDisabled ¶
GetIsDisabled returns the value of IsDisabled.
func (*NodeItem) GetIsTrafficTrackingActive ¶
GetIsTrafficTrackingActive returns the value of IsTrafficTrackingActive.
func (*NodeItem) GetLastStatusChange ¶
func (s *NodeItem) GetLastStatusChange() NilDateTime
GetLastStatusChange returns the value of LastStatusChange.
func (*NodeItem) GetLastStatusMessage ¶
GetLastStatusMessage returns the value of LastStatusMessage.
func (*NodeItem) GetNodeVersion ¶
GetNodeVersion returns the value of NodeVersion.
func (*NodeItem) GetNotifyPercent ¶
GetNotifyPercent returns the value of NotifyPercent.
func (*NodeItem) GetProvider ¶
func (s *NodeItem) GetProvider() NilProviderItem
GetProvider returns the value of Provider.
func (*NodeItem) GetProviderUuid ¶
GetProviderUuid returns the value of ProviderUuid.
func (*NodeItem) GetTotalRam ¶
GetTotalRam returns the value of TotalRam.
func (*NodeItem) GetTrafficLimitBytes ¶
func (s *NodeItem) GetTrafficLimitBytes() NilFloat64
GetTrafficLimitBytes returns the value of TrafficLimitBytes.
func (*NodeItem) GetTrafficResetDay ¶
GetTrafficResetDay returns the value of TrafficResetDay.
func (*NodeItem) GetTrafficUsedBytes ¶
func (s *NodeItem) GetTrafficUsedBytes() NilFloat64
GetTrafficUsedBytes returns the value of TrafficUsedBytes.
func (*NodeItem) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*NodeItem) GetUsersOnline ¶
GetUsersOnline returns the value of UsersOnline.
func (*NodeItem) GetViewPosition ¶
GetViewPosition returns the value of ViewPosition.
func (*NodeItem) GetXrayUptime ¶
GetXrayUptime returns the value of XrayUptime.
func (*NodeItem) GetXrayVersion ¶
GetXrayVersion returns the value of XrayVersion.
func (*NodeItem) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NodeItem) SetAddress ¶
SetAddress sets the value of Address.
func (*NodeItem) SetConfigProfile ¶
func (s *NodeItem) SetConfigProfile(val ConfigProfileItem)
SetConfigProfile sets the value of ConfigProfile.
func (*NodeItem) SetConsumptionMultiplier ¶
SetConsumptionMultiplier sets the value of ConsumptionMultiplier.
func (*NodeItem) SetCountryCode ¶
SetCountryCode sets the value of CountryCode.
func (*NodeItem) SetCpuCount ¶
SetCpuCount sets the value of CpuCount.
func (*NodeItem) SetCpuModel ¶
SetCpuModel sets the value of CpuModel.
func (*NodeItem) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*NodeItem) SetIsConnected ¶
SetIsConnected sets the value of IsConnected.
func (*NodeItem) SetIsConnecting ¶
SetIsConnecting sets the value of IsConnecting.
func (*NodeItem) SetIsDisabled ¶
SetIsDisabled sets the value of IsDisabled.
func (*NodeItem) SetIsTrafficTrackingActive ¶
SetIsTrafficTrackingActive sets the value of IsTrafficTrackingActive.
func (*NodeItem) SetLastStatusChange ¶
func (s *NodeItem) SetLastStatusChange(val NilDateTime)
SetLastStatusChange sets the value of LastStatusChange.
func (*NodeItem) SetLastStatusMessage ¶
SetLastStatusMessage sets the value of LastStatusMessage.
func (*NodeItem) SetNodeVersion ¶
SetNodeVersion sets the value of NodeVersion.
func (*NodeItem) SetNotifyPercent ¶
SetNotifyPercent sets the value of NotifyPercent.
func (*NodeItem) SetProvider ¶
func (s *NodeItem) SetProvider(val NilProviderItem)
SetProvider sets the value of Provider.
func (*NodeItem) SetProviderUuid ¶
SetProviderUuid sets the value of ProviderUuid.
func (*NodeItem) SetTotalRam ¶
SetTotalRam sets the value of TotalRam.
func (*NodeItem) SetTrafficLimitBytes ¶
func (s *NodeItem) SetTrafficLimitBytes(val NilFloat64)
SetTrafficLimitBytes sets the value of TrafficLimitBytes.
func (*NodeItem) SetTrafficResetDay ¶
SetTrafficResetDay sets the value of TrafficResetDay.
func (*NodeItem) SetTrafficUsedBytes ¶
func (s *NodeItem) SetTrafficUsedBytes(val NilFloat64)
SetTrafficUsedBytes sets the value of TrafficUsedBytes.
func (*NodeItem) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*NodeItem) SetUsersOnline ¶
SetUsersOnline sets the value of UsersOnline.
func (*NodeItem) SetViewPosition ¶
SetViewPosition sets the value of ViewPosition.
func (*NodeItem) SetXrayUptime ¶
SetXrayUptime sets the value of XrayUptime.
func (*NodeItem) SetXrayVersion ¶
SetXrayVersion sets the value of XrayVersion.
func (*NodeItem) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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 ¶
func (sc *NodesClient) CreateNode(ctx context.Context, request *CreateNodeRequestDto) (NodesControllerCreateNodeRes, error)
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 ¶
func (sc *NodesClient) GetAllNodes(ctx context.Context) (NodesControllerGetAllNodesRes, error)
GetAllNodes calls NodesController_getAllNodes.
func (*NodesClient) GetAllNodesTags ¶
func (sc *NodesClient) GetAllNodesTags(ctx context.Context) (NodesControllerGetAllNodesTagsRes, error)
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 ¶
func (sc *NodesClient) ProfileModification(ctx context.Context, request *ProfileModificationRequestDto) (NodesControllerProfileModificationRes, error)
ProfileModification calls NodesController_profileModification.
func (*NodesClient) ReorderNodes ¶
func (sc *NodesClient) ReorderNodes(ctx context.Context, request *ReorderNodeRequestDto) (NodesControllerReorderNodesRes, error)
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 ¶
func (sc *NodesClient) RestartAllNodes(ctx context.Context, request *RestartAllNodesRequestBodyDto) (NodesControllerRestartAllNodesRes, error)
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 ¶
func (sc *NodesClient) UpdateNode(ctx context.Context, request *UpdateNodeRequestDto) (NodesControllerUpdateNodeRes, error)
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) 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 ¶
func (sc *NodesUsageHistoryClient) GetStatsNodesUsage(ctx context.Context, params NodesUsageHistoryControllerGetStatsNodesUsageParams) (NodesUsageHistoryControllerGetStatsNodesUsageRes, error)
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) 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 ¶
func (s *OAuth2AuthorizeRequestDto) GetProvider() OAuth2AuthorizeRequestDtoProvider
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 ¶
func (s *OAuth2AuthorizeRequestDto) SetProvider(val OAuth2AuthorizeRequestDtoProvider)
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 ¶
func (OAuth2AuthorizeRequestDtoProvider) AllValues() []OAuth2AuthorizeRequestDtoProvider
AllValues returns all OAuth2AuthorizeRequestDtoProvider values.
func (*OAuth2AuthorizeRequestDtoProvider) Decode ¶
func (s *OAuth2AuthorizeRequestDtoProvider) Decode(d *jx.Decoder) error
Decode decodes OAuth2AuthorizeRequestDtoProvider from json.
func (OAuth2AuthorizeRequestDtoProvider) Encode ¶
func (s OAuth2AuthorizeRequestDtoProvider) Encode(e *jx.Encoder)
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 ¶
func (s OAuth2AuthorizeRequestDtoProvider) Validate() error
type OAuth2AuthorizeResponseDto ¶
type OAuth2AuthorizeResponseDto struct {
Response OAuth2AuthorizeResponseDtoResponse `json:"response"`
}
Ref: #/components/schemas/OAuth2AuthorizeResponseDto
func (*OAuth2AuthorizeResponseDto) Decode ¶
func (s *OAuth2AuthorizeResponseDto) Decode(d *jx.Decoder) error
Decode decodes OAuth2AuthorizeResponseDto from json.
func (*OAuth2AuthorizeResponseDto) Encode ¶
func (s *OAuth2AuthorizeResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OAuth2AuthorizeResponseDto) GetResponse ¶
func (s *OAuth2AuthorizeResponseDto) GetResponse() OAuth2AuthorizeResponseDtoResponse
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 ¶
func (s *OAuth2AuthorizeResponseDto) SetResponse(val OAuth2AuthorizeResponseDtoResponse)
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 ¶
func (s *OAuth2AuthorizeResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes OAuth2AuthorizeResponseDtoResponse from json.
func (*OAuth2AuthorizeResponseDtoResponse) Encode ¶
func (s *OAuth2AuthorizeResponseDtoResponse) Encode(e *jx.Encoder)
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 ¶
func (s *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 ¶
func (s *OAuth2AuthorizeResponseDtoStatusCode) GetResponse() OAuth2AuthorizeResponseDto
GetResponse returns the value of Response.
func (*OAuth2AuthorizeResponseDtoStatusCode) GetStatusCode ¶
func (s *OAuth2AuthorizeResponseDtoStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*OAuth2AuthorizeResponseDtoStatusCode) SetResponse ¶
func (s *OAuth2AuthorizeResponseDtoStatusCode) SetResponse(val OAuth2AuthorizeResponseDto)
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 ¶
func (s *OAuth2CallbackRequestDto) GetProvider() OAuth2CallbackRequestDtoProvider
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 ¶
func (s *OAuth2CallbackRequestDto) SetProvider(val OAuth2CallbackRequestDtoProvider)
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 ¶
func (OAuth2CallbackRequestDtoProvider) AllValues() []OAuth2CallbackRequestDtoProvider
AllValues returns all OAuth2CallbackRequestDtoProvider values.
func (*OAuth2CallbackRequestDtoProvider) Decode ¶
func (s *OAuth2CallbackRequestDtoProvider) Decode(d *jx.Decoder) error
Decode decodes OAuth2CallbackRequestDtoProvider from json.
func (OAuth2CallbackRequestDtoProvider) Encode ¶
func (s OAuth2CallbackRequestDtoProvider) Encode(e *jx.Encoder)
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 ¶
func (s OAuth2CallbackRequestDtoProvider) Validate() error
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) 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 ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
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 ¶
func (o *OptBulkAllUpdateUsersRequestDtoStatus) Decode(d *jx.Decoder) error
Decode decodes BulkAllUpdateUsersRequestDtoStatus from json.
func (OptBulkAllUpdateUsersRequestDtoStatus) Encode ¶
func (o OptBulkAllUpdateUsersRequestDtoStatus) Encode(e *jx.Encoder)
Encode encodes BulkAllUpdateUsersRequestDtoStatus as json.
func (OptBulkAllUpdateUsersRequestDtoStatus) Get ¶
func (o OptBulkAllUpdateUsersRequestDtoStatus) Get() (v BulkAllUpdateUsersRequestDtoStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBulkAllUpdateUsersRequestDtoStatus) IsSet ¶
func (o OptBulkAllUpdateUsersRequestDtoStatus) IsSet() bool
IsSet returns true if OptBulkAllUpdateUsersRequestDtoStatus was set.
func (OptBulkAllUpdateUsersRequestDtoStatus) MarshalJSON ¶
func (s OptBulkAllUpdateUsersRequestDtoStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBulkAllUpdateUsersRequestDtoStatus) Or ¶
func (o OptBulkAllUpdateUsersRequestDtoStatus) Or(d BulkAllUpdateUsersRequestDtoStatus) BulkAllUpdateUsersRequestDtoStatus
Or returns value if set, or given parameter if does not.
func (*OptBulkAllUpdateUsersRequestDtoStatus) Reset ¶
func (o *OptBulkAllUpdateUsersRequestDtoStatus) Reset()
Reset unsets value.
func (*OptBulkAllUpdateUsersRequestDtoStatus) SetFake ¶
func (s *OptBulkAllUpdateUsersRequestDtoStatus) SetFake()
SetFake set fake values.
func (*OptBulkAllUpdateUsersRequestDtoStatus) SetTo ¶
func (o *OptBulkAllUpdateUsersRequestDtoStatus) SetTo(v BulkAllUpdateUsersRequestDtoStatus)
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 ¶
func (o *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes BulkAllUpdateUsersRequestDtoTrafficLimitStrategy from json.
func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Encode ¶
func (o OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes BulkAllUpdateUsersRequestDtoTrafficLimitStrategy as json.
func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Get ¶
func (o OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Get() (v BulkAllUpdateUsersRequestDtoTrafficLimitStrategy, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) IsSet ¶
func (o OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) IsSet() bool
IsSet returns true if OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy was set.
func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalJSON ¶
func (s OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Or ¶
func (o OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Or(d BulkAllUpdateUsersRequestDtoTrafficLimitStrategy) BulkAllUpdateUsersRequestDtoTrafficLimitStrategy
Or returns value if set, or given parameter if does not.
func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Reset ¶
func (o *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) Reset()
Reset unsets value.
func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetFake ¶
func (s *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetFake()
SetFake set fake values.
func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetTo ¶
func (o *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) SetTo(v BulkAllUpdateUsersRequestDtoTrafficLimitStrategy)
SetTo sets value to v.
func (*OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalJSON ¶
func (s *OptBulkAllUpdateUsersRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptBulkDeleteUsersByStatusRequestDtoStatus) Decode(d *jx.Decoder) error
Decode decodes BulkDeleteUsersByStatusRequestDtoStatus from json.
func (OptBulkDeleteUsersByStatusRequestDtoStatus) Encode ¶
func (o OptBulkDeleteUsersByStatusRequestDtoStatus) Encode(e *jx.Encoder)
Encode encodes BulkDeleteUsersByStatusRequestDtoStatus as json.
func (OptBulkDeleteUsersByStatusRequestDtoStatus) Get ¶
func (o OptBulkDeleteUsersByStatusRequestDtoStatus) Get() (v BulkDeleteUsersByStatusRequestDtoStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBulkDeleteUsersByStatusRequestDtoStatus) IsSet ¶
func (o OptBulkDeleteUsersByStatusRequestDtoStatus) IsSet() bool
IsSet returns true if OptBulkDeleteUsersByStatusRequestDtoStatus was set.
func (OptBulkDeleteUsersByStatusRequestDtoStatus) MarshalJSON ¶
func (s OptBulkDeleteUsersByStatusRequestDtoStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBulkDeleteUsersByStatusRequestDtoStatus) Or ¶
func (o OptBulkDeleteUsersByStatusRequestDtoStatus) Or(d BulkDeleteUsersByStatusRequestDtoStatus) BulkDeleteUsersByStatusRequestDtoStatus
Or returns value if set, or given parameter if does not.
func (*OptBulkDeleteUsersByStatusRequestDtoStatus) Reset ¶
func (o *OptBulkDeleteUsersByStatusRequestDtoStatus) Reset()
Reset unsets value.
func (*OptBulkDeleteUsersByStatusRequestDtoStatus) SetFake ¶
func (s *OptBulkDeleteUsersByStatusRequestDtoStatus) SetFake()
SetFake set fake values.
func (*OptBulkDeleteUsersByStatusRequestDtoStatus) SetTo ¶
func (o *OptBulkDeleteUsersByStatusRequestDtoStatus) SetTo(v BulkDeleteUsersByStatusRequestDtoStatus)
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 ¶
func (o *OptBulkUpdateUsersRequestDtoFieldsStatus) Decode(d *jx.Decoder) error
Decode decodes BulkUpdateUsersRequestDtoFieldsStatus from json.
func (OptBulkUpdateUsersRequestDtoFieldsStatus) Encode ¶
func (o OptBulkUpdateUsersRequestDtoFieldsStatus) Encode(e *jx.Encoder)
Encode encodes BulkUpdateUsersRequestDtoFieldsStatus as json.
func (OptBulkUpdateUsersRequestDtoFieldsStatus) Get ¶
func (o OptBulkUpdateUsersRequestDtoFieldsStatus) Get() (v BulkUpdateUsersRequestDtoFieldsStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBulkUpdateUsersRequestDtoFieldsStatus) IsSet ¶
func (o OptBulkUpdateUsersRequestDtoFieldsStatus) IsSet() bool
IsSet returns true if OptBulkUpdateUsersRequestDtoFieldsStatus was set.
func (OptBulkUpdateUsersRequestDtoFieldsStatus) MarshalJSON ¶
func (s OptBulkUpdateUsersRequestDtoFieldsStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBulkUpdateUsersRequestDtoFieldsStatus) Or ¶
func (o OptBulkUpdateUsersRequestDtoFieldsStatus) Or(d BulkUpdateUsersRequestDtoFieldsStatus) BulkUpdateUsersRequestDtoFieldsStatus
Or returns value if set, or given parameter if does not.
func (*OptBulkUpdateUsersRequestDtoFieldsStatus) Reset ¶
func (o *OptBulkUpdateUsersRequestDtoFieldsStatus) Reset()
Reset unsets value.
func (*OptBulkUpdateUsersRequestDtoFieldsStatus) SetFake ¶
func (s *OptBulkUpdateUsersRequestDtoFieldsStatus) SetFake()
SetFake set fake values.
func (*OptBulkUpdateUsersRequestDtoFieldsStatus) SetTo ¶
func (o *OptBulkUpdateUsersRequestDtoFieldsStatus) SetTo(v BulkUpdateUsersRequestDtoFieldsStatus)
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 ¶
func NewOptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy(v BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
NewOptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy returns new OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy with value set to v.
func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Decode ¶
func (o *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy from json.
func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Encode ¶
func (o OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy as json.
func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Get ¶
func (o OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Get() (v BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) IsSet ¶
func (o OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) IsSet() bool
IsSet returns true if OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy was set.
func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalJSON ¶
func (s OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Or ¶
func (o OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Or(d BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy
Or returns value if set, or given parameter if does not.
func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Reset ¶
func (o *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) Reset()
Reset unsets value.
func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetFake ¶
func (s *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetFake()
SetFake set fake values.
func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetTo ¶
func (o *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) SetTo(v BulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy)
SetTo sets value to v.
func (*OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalJSON ¶
func (s *OptBulkUpdateUsersRequestDtoFieldsTrafficLimitStrategy) UnmarshalJSON(data []byte) error
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 ¶
func (o OptConfigProfileRef) Or(d ConfigProfileRef) ConfigProfileRef
Or returns value if set, or given parameter if does not.
func (*OptConfigProfileRef) SetFake ¶
func (s *OptConfigProfileRef) SetFake()
SetFake set fake values.
func (*OptConfigProfileRef) SetTo ¶
func (o *OptConfigProfileRef) SetTo(v ConfigProfileRef)
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 ¶
func (o *OptCreateHostRequestDtoSecurityLayer) Decode(d *jx.Decoder) error
Decode decodes CreateHostRequestDtoSecurityLayer from json.
func (OptCreateHostRequestDtoSecurityLayer) Encode ¶
func (o OptCreateHostRequestDtoSecurityLayer) Encode(e *jx.Encoder)
Encode encodes CreateHostRequestDtoSecurityLayer as json.
func (OptCreateHostRequestDtoSecurityLayer) Get ¶
func (o OptCreateHostRequestDtoSecurityLayer) Get() (v CreateHostRequestDtoSecurityLayer, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateHostRequestDtoSecurityLayer) IsSet ¶
func (o OptCreateHostRequestDtoSecurityLayer) IsSet() bool
IsSet returns true if OptCreateHostRequestDtoSecurityLayer was set.
func (OptCreateHostRequestDtoSecurityLayer) MarshalJSON ¶
func (s OptCreateHostRequestDtoSecurityLayer) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateHostRequestDtoSecurityLayer) Or ¶
func (o OptCreateHostRequestDtoSecurityLayer) Or(d CreateHostRequestDtoSecurityLayer) CreateHostRequestDtoSecurityLayer
Or returns value if set, or given parameter if does not.
func (*OptCreateHostRequestDtoSecurityLayer) Reset ¶
func (o *OptCreateHostRequestDtoSecurityLayer) Reset()
Reset unsets value.
func (*OptCreateHostRequestDtoSecurityLayer) SetFake ¶
func (s *OptCreateHostRequestDtoSecurityLayer) SetFake()
SetFake set fake values.
func (*OptCreateHostRequestDtoSecurityLayer) SetTo ¶
func (o *OptCreateHostRequestDtoSecurityLayer) SetTo(v CreateHostRequestDtoSecurityLayer)
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 ¶
func (o *OptCreateUserRequestDtoStatus) Decode(d *jx.Decoder) error
Decode decodes CreateUserRequestDtoStatus from json.
func (OptCreateUserRequestDtoStatus) Encode ¶
func (o OptCreateUserRequestDtoStatus) Encode(e *jx.Encoder)
Encode encodes CreateUserRequestDtoStatus as json.
func (OptCreateUserRequestDtoStatus) Get ¶
func (o OptCreateUserRequestDtoStatus) Get() (v CreateUserRequestDtoStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateUserRequestDtoStatus) IsSet ¶
func (o OptCreateUserRequestDtoStatus) IsSet() bool
IsSet returns true if OptCreateUserRequestDtoStatus was set.
func (OptCreateUserRequestDtoStatus) MarshalJSON ¶
func (s OptCreateUserRequestDtoStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptCreateUserRequestDtoStatus) Reset ¶
func (o *OptCreateUserRequestDtoStatus) Reset()
Reset unsets value.
func (*OptCreateUserRequestDtoStatus) SetFake ¶
func (s *OptCreateUserRequestDtoStatus) SetFake()
SetFake set fake values.
func (*OptCreateUserRequestDtoStatus) SetTo ¶
func (o *OptCreateUserRequestDtoStatus) SetTo(v CreateUserRequestDtoStatus)
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 ¶
func (o *OptCreateUserRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes CreateUserRequestDtoTrafficLimitStrategy from json.
func (OptCreateUserRequestDtoTrafficLimitStrategy) Encode ¶
func (o OptCreateUserRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes CreateUserRequestDtoTrafficLimitStrategy as json.
func (OptCreateUserRequestDtoTrafficLimitStrategy) Get ¶
func (o OptCreateUserRequestDtoTrafficLimitStrategy) Get() (v CreateUserRequestDtoTrafficLimitStrategy, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateUserRequestDtoTrafficLimitStrategy) IsSet ¶
func (o OptCreateUserRequestDtoTrafficLimitStrategy) IsSet() bool
IsSet returns true if OptCreateUserRequestDtoTrafficLimitStrategy was set.
func (OptCreateUserRequestDtoTrafficLimitStrategy) MarshalJSON ¶
func (s OptCreateUserRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateUserRequestDtoTrafficLimitStrategy) Or ¶
func (o OptCreateUserRequestDtoTrafficLimitStrategy) Or(d CreateUserRequestDtoTrafficLimitStrategy) CreateUserRequestDtoTrafficLimitStrategy
Or returns value if set, or given parameter if does not.
func (*OptCreateUserRequestDtoTrafficLimitStrategy) Reset ¶
func (o *OptCreateUserRequestDtoTrafficLimitStrategy) Reset()
Reset unsets value.
func (*OptCreateUserRequestDtoTrafficLimitStrategy) SetFake ¶
func (s *OptCreateUserRequestDtoTrafficLimitStrategy) SetFake()
SetFake set fake values.
func (*OptCreateUserRequestDtoTrafficLimitStrategy) SetTo ¶
func (o *OptCreateUserRequestDtoTrafficLimitStrategy) SetTo(v CreateUserRequestDtoTrafficLimitStrategy)
SetTo sets value to v.
func (*OptCreateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON ¶
func (s *OptCreateUserRequestDtoTrafficLimitStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
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) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat64 ¶
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) 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 ¶
func NewOptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData
NewOptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData returns new OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData with value set to v.
func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Decode ¶
func (o *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData from json.
func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Encode ¶
func (o OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Encode(e *jx.Encoder)
Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData as json.
func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Get ¶
func (o OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) IsSet ¶
IsSet returns true if OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData was set.
func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) MarshalJSON ¶
func (s OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Or ¶
func (o OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData
Or returns value if set, or given parameter if does not.
func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Reset ¶
func (o *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) Reset()
Reset unsets value.
func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetFake ¶
func (s *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetFake()
SetFake set fake values.
func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetTo ¶
func (o *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData)
SetTo sets value to v.
func (*OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) UnmarshalJSON ¶
func (s *OptGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemDbData) UnmarshalJSON(data []byte) error
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 ¶
func (o OptHostItemSecurityLayer) Get() (v HostItemSecurityLayer, ok bool)
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 ¶
func (o OptHostItemSecurityLayer) Or(d HostItemSecurityLayer) HostItemSecurityLayer
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 ¶
func (o *OptHostItemSecurityLayer) SetTo(v HostItemSecurityLayer)
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 ¶
func (o OptInboundRef) Or(d InboundRef) InboundRef
Or returns value if set, or given parameter if does not.
func (*OptInboundRef) UnmarshalJSON ¶
func (s *OptInboundRef) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilBool ¶
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) Get ¶
func (o OptNilBool) Get() (v bool, ok bool)
Get returns value and boolean that denotes whether value was set.
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) 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 ¶
func (o OptNilBrandingSettings) Get() (v BrandingSettings, ok bool)
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 ¶
func (o OptNilBrandingSettings) Or(d BrandingSettings) BrandingSettings
Or returns value if set, or given parameter if does not.
func (*OptNilBrandingSettings) SetFake ¶
func (s *OptNilBrandingSettings) SetFake()
SetFake set fake values.
func (*OptNilBrandingSettings) SetTo ¶
func (o *OptNilBrandingSettings) SetTo(v BrandingSettings)
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 ¶
func (o *OptNilCreateHostRequestDtoAlpn) Decode(d *jx.Decoder) error
Decode decodes CreateHostRequestDtoAlpn from json.
func (OptNilCreateHostRequestDtoAlpn) Encode ¶
func (o OptNilCreateHostRequestDtoAlpn) Encode(e *jx.Encoder)
Encode encodes CreateHostRequestDtoAlpn as json.
func (OptNilCreateHostRequestDtoAlpn) Get ¶
func (o OptNilCreateHostRequestDtoAlpn) Get() (v CreateHostRequestDtoAlpn, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilCreateHostRequestDtoAlpn) IsNull ¶
func (o OptNilCreateHostRequestDtoAlpn) IsNull() bool
IsNull returns true if value is Null.
func (OptNilCreateHostRequestDtoAlpn) IsSet ¶
func (o OptNilCreateHostRequestDtoAlpn) IsSet() bool
IsSet returns true if OptNilCreateHostRequestDtoAlpn was set.
func (OptNilCreateHostRequestDtoAlpn) MarshalJSON ¶
func (s OptNilCreateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptNilCreateHostRequestDtoAlpn) Reset ¶
func (o *OptNilCreateHostRequestDtoAlpn) Reset()
Reset unsets value.
func (*OptNilCreateHostRequestDtoAlpn) SetFake ¶
func (s *OptNilCreateHostRequestDtoAlpn) SetFake()
SetFake set fake values.
func (*OptNilCreateHostRequestDtoAlpn) SetTo ¶
func (o *OptNilCreateHostRequestDtoAlpn) SetTo(v CreateHostRequestDtoAlpn)
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 ¶
func (o *OptNilCreateHostRequestDtoFingerprint) Decode(d *jx.Decoder) error
Decode decodes CreateHostRequestDtoFingerprint from json.
func (OptNilCreateHostRequestDtoFingerprint) Encode ¶
func (o OptNilCreateHostRequestDtoFingerprint) Encode(e *jx.Encoder)
Encode encodes CreateHostRequestDtoFingerprint as json.
func (OptNilCreateHostRequestDtoFingerprint) Get ¶
func (o OptNilCreateHostRequestDtoFingerprint) Get() (v CreateHostRequestDtoFingerprint, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilCreateHostRequestDtoFingerprint) IsNull ¶
func (o OptNilCreateHostRequestDtoFingerprint) IsNull() bool
IsNull returns true if value is Null.
func (OptNilCreateHostRequestDtoFingerprint) IsSet ¶
func (o OptNilCreateHostRequestDtoFingerprint) IsSet() bool
IsSet returns true if OptNilCreateHostRequestDtoFingerprint was set.
func (OptNilCreateHostRequestDtoFingerprint) MarshalJSON ¶
func (s OptNilCreateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilCreateHostRequestDtoFingerprint) Or ¶
func (o OptNilCreateHostRequestDtoFingerprint) Or(d CreateHostRequestDtoFingerprint) CreateHostRequestDtoFingerprint
Or returns value if set, or given parameter if does not.
func (*OptNilCreateHostRequestDtoFingerprint) Reset ¶
func (o *OptNilCreateHostRequestDtoFingerprint) Reset()
Reset unsets value.
func (*OptNilCreateHostRequestDtoFingerprint) SetFake ¶
func (s *OptNilCreateHostRequestDtoFingerprint) SetFake()
SetFake set fake values.
func (*OptNilCreateHostRequestDtoFingerprint) SetTo ¶
func (o *OptNilCreateHostRequestDtoFingerprint) SetTo(v CreateHostRequestDtoFingerprint)
SetTo sets value to v.
func (*OptNilCreateHostRequestDtoFingerprint) SetToNull ¶
func (o *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 ¶
func (o OptNilCustomRemark) Or(d CustomRemark) CustomRemark
Or returns value if set, or given parameter if does not.
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 ¶
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) 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 ¶
func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams
NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams returns new OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams with value set to v.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Decode ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams from json.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Encode ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Encode(e *jx.Encoder)
Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams as json.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Get ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) IsNull ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) IsNull() bool
IsNull returns true if value is Null.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) IsSet ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) IsSet() bool
IsSet returns true if OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams was set.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) MarshalJSON ¶
func (s OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Or ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams
Or returns value if set, or given parameter if does not.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Reset ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) Reset()
Reset unsets value.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetFake ¶
func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetFake()
SetFake set fake values.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetTo ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams)
SetTo sets value to v.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetToNull ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) SetToNull()
SetToNull sets value to null.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) UnmarshalJSON ¶
func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemAdditionalParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions ¶
type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions struct {
Value GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions
Set bool
Null bool
}
OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions is optional nullable GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions.
func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions ¶
func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions
NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions returns new OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions with value set to v.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Decode ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions from json.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Encode ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Encode(e *jx.Encoder)
Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions as json.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Get ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) IsNull ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) IsNull() bool
IsNull returns true if value is Null.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) IsSet ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) IsSet() bool
IsSet returns true if OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions was set.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) MarshalJSON ¶
func (s OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Or ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions
Or returns value if set, or given parameter if does not.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) Reset ¶
Reset unsets value.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetFake ¶
func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetFake()
SetFake set fake values.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetTo ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions)
SetTo sets value to v.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetToNull ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) SetToNull()
SetToNull sets value to null.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) UnmarshalJSON ¶
func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs ¶
type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs struct {
Value GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs
Set bool
Null bool
}
OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs is optional nullable GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs.
func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs ¶
func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs
NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs returns new OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs with value set to v.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Decode ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs from json.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Encode ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Encode(e *jx.Encoder)
Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs as json.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Get ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) IsNull ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) IsNull() bool
IsNull returns true if value is Null.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) IsSet ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) IsSet() bool
IsSet returns true if OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs was set.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) MarshalJSON ¶
func (s OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Or ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs
Or returns value if set, or given parameter if does not.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Reset ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) Reset()
Reset unsets value.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetFake ¶
func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetFake()
SetFake set fake values.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetTo ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs)
SetTo sets value to v.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetToNull ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) SetToNull()
SetToNull sets value to null.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) UnmarshalJSON ¶
func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemProtocolOptionsSs) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings ¶
type OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings struct {
Value GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
Set bool
Null bool
}
OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings is optional nullable GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings.
func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings ¶
func NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
NewOptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings returns new OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings with value set to v.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Decode ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Decode(d *jx.Decoder) error
Decode decodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings from json.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Encode ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Encode(e *jx.Encoder)
Encode encodes GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings as json.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Get ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Get() (v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) IsNull ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) IsNull() bool
IsNull returns true if value is Null.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) IsSet ¶
IsSet returns true if OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings was set.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) MarshalJSON ¶
func (s OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Or ¶
func (o OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Or(d GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings
Or returns value if set, or given parameter if does not.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) Reset ¶
Reset unsets value.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetFake ¶
func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetFake()
SetFake set fake values.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetTo ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetTo(v GetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings)
SetTo sets value to v.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetToNull ¶
func (o *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) SetToNull()
SetToNull sets value to null.
func (*OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) UnmarshalJSON ¶
func (s *OptNilGetRawSubscriptionByShortUuidResponseDtoResponseRawHostsItemRawSettings) UnmarshalJSON(data []byte) error
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 ¶
func (o OptNilHostOverride) Or(d HostOverride) HostOverride
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptNilHwidSettings) Or(d HwidSettings) HwidSettings
Or returns value if set, or given parameter if does not.
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 ¶
OptNilInt is optional nullable int.
func NewOptNilInt ¶
NewOptNilInt returns new OptNilInt with value set to v.
func (OptNilInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptNilInt) UnmarshalJSON ¶
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 ¶
func (o OptNilOauth2Settings) Or(d Oauth2Settings) Oauth2Settings
Or returns value if set, or given parameter if does not.
func (*OptNilOauth2Settings) SetFake ¶
func (s *OptNilOauth2Settings) SetFake()
SetFake set fake values.
func (*OptNilOauth2Settings) SetTo ¶
func (o *OptNilOauth2Settings) SetTo(v Oauth2Settings)
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 ¶
func (o OptNilPasskeySettings) Or(d PasskeySettings) PasskeySettings
Or returns value if set, or given parameter if does not.
func (*OptNilPasskeySettings) SetFake ¶
func (s *OptNilPasskeySettings) SetFake()
SetFake set fake values.
func (*OptNilPasskeySettings) SetTo ¶
func (o *OptNilPasskeySettings) SetTo(v PasskeySettings)
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 ¶
func (o OptNilPasswordSettings) Get() (v PasswordSettings, ok bool)
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 ¶
func (o OptNilPasswordSettings) Or(d PasswordSettings) PasswordSettings
Or returns value if set, or given parameter if does not.
func (*OptNilPasswordSettings) SetFake ¶
func (s *OptNilPasswordSettings) SetFake()
SetFake set fake values.
func (*OptNilPasswordSettings) SetTo ¶
func (o *OptNilPasswordSettings) SetTo(v PasswordSettings)
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 ¶
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) 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 ¶
func (o *OptNilSubscriptionSettings) Decode(d *jx.Decoder) error
Decode decodes SubscriptionSettings from json.
func (OptNilSubscriptionSettings) Encode ¶
func (o OptNilSubscriptionSettings) Encode(e *jx.Encoder)
Encode encodes SubscriptionSettings as json.
func (OptNilSubscriptionSettings) Get ¶
func (o OptNilSubscriptionSettings) Get() (v SubscriptionSettings, ok bool)
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 ¶
func (o OptNilSubscriptionSettings) Or(d SubscriptionSettings) SubscriptionSettings
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 ¶
func (o *OptNilSubscriptionSettings) SetTo(v SubscriptionSettings)
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 ¶
func (o OptNilTgAuthSettings) Or(d TgAuthSettings) TgAuthSettings
Or returns value if set, or given parameter if does not.
func (*OptNilTgAuthSettings) SetFake ¶
func (s *OptNilTgAuthSettings) SetFake()
SetFake set fake values.
func (*OptNilTgAuthSettings) SetTo ¶
func (o *OptNilTgAuthSettings) SetTo(v TgAuthSettings)
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 ¶
OptNilURI is optional nullable url.URL.
func NewOptNilURI ¶
NewOptNilURI returns new OptNilURI with value set to v.
func (OptNilURI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptNilURI) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilUUID ¶
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) 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) 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 ¶
func (o *OptNilUpdateExternalSquadRequestDtoResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes UpdateExternalSquadRequestDtoResponseHeaders from json.
func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) Encode ¶
func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) Encode(e *jx.Encoder)
Encode encodes UpdateExternalSquadRequestDtoResponseHeaders as json.
func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) Get ¶
func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) Get() (v UpdateExternalSquadRequestDtoResponseHeaders, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) IsNull ¶
func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) IsNull() bool
IsNull returns true if value is Null.
func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) IsSet ¶
func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) IsSet() bool
IsSet returns true if OptNilUpdateExternalSquadRequestDtoResponseHeaders was set.
func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) MarshalJSON ¶
func (s OptNilUpdateExternalSquadRequestDtoResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilUpdateExternalSquadRequestDtoResponseHeaders) Or ¶
func (o OptNilUpdateExternalSquadRequestDtoResponseHeaders) Or(d UpdateExternalSquadRequestDtoResponseHeaders) UpdateExternalSquadRequestDtoResponseHeaders
Or returns value if set, or given parameter if does not.
func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) Reset ¶
func (o *OptNilUpdateExternalSquadRequestDtoResponseHeaders) Reset()
Reset unsets value.
func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetFake ¶
func (s *OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetFake()
SetFake set fake values.
func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetTo ¶
func (o *OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetTo(v UpdateExternalSquadRequestDtoResponseHeaders)
SetTo sets value to v.
func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetToNull ¶
func (o *OptNilUpdateExternalSquadRequestDtoResponseHeaders) SetToNull()
SetToNull sets value to null.
func (*OptNilUpdateExternalSquadRequestDtoResponseHeaders) UnmarshalJSON ¶
func (s *OptNilUpdateExternalSquadRequestDtoResponseHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilUpdateHostRequestDtoAlpn) Decode(d *jx.Decoder) error
Decode decodes UpdateHostRequestDtoAlpn from json.
func (OptNilUpdateHostRequestDtoAlpn) Encode ¶
func (o OptNilUpdateHostRequestDtoAlpn) Encode(e *jx.Encoder)
Encode encodes UpdateHostRequestDtoAlpn as json.
func (OptNilUpdateHostRequestDtoAlpn) Get ¶
func (o OptNilUpdateHostRequestDtoAlpn) Get() (v UpdateHostRequestDtoAlpn, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilUpdateHostRequestDtoAlpn) IsNull ¶
func (o OptNilUpdateHostRequestDtoAlpn) IsNull() bool
IsNull returns true if value is Null.
func (OptNilUpdateHostRequestDtoAlpn) IsSet ¶
func (o OptNilUpdateHostRequestDtoAlpn) IsSet() bool
IsSet returns true if OptNilUpdateHostRequestDtoAlpn was set.
func (OptNilUpdateHostRequestDtoAlpn) MarshalJSON ¶
func (s OptNilUpdateHostRequestDtoAlpn) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptNilUpdateHostRequestDtoAlpn) Reset ¶
func (o *OptNilUpdateHostRequestDtoAlpn) Reset()
Reset unsets value.
func (*OptNilUpdateHostRequestDtoAlpn) SetFake ¶
func (s *OptNilUpdateHostRequestDtoAlpn) SetFake()
SetFake set fake values.
func (*OptNilUpdateHostRequestDtoAlpn) SetTo ¶
func (o *OptNilUpdateHostRequestDtoAlpn) SetTo(v UpdateHostRequestDtoAlpn)
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 ¶
func (o *OptNilUpdateHostRequestDtoFingerprint) Decode(d *jx.Decoder) error
Decode decodes UpdateHostRequestDtoFingerprint from json.
func (OptNilUpdateHostRequestDtoFingerprint) Encode ¶
func (o OptNilUpdateHostRequestDtoFingerprint) Encode(e *jx.Encoder)
Encode encodes UpdateHostRequestDtoFingerprint as json.
func (OptNilUpdateHostRequestDtoFingerprint) Get ¶
func (o OptNilUpdateHostRequestDtoFingerprint) Get() (v UpdateHostRequestDtoFingerprint, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilUpdateHostRequestDtoFingerprint) IsNull ¶
func (o OptNilUpdateHostRequestDtoFingerprint) IsNull() bool
IsNull returns true if value is Null.
func (OptNilUpdateHostRequestDtoFingerprint) IsSet ¶
func (o OptNilUpdateHostRequestDtoFingerprint) IsSet() bool
IsSet returns true if OptNilUpdateHostRequestDtoFingerprint was set.
func (OptNilUpdateHostRequestDtoFingerprint) MarshalJSON ¶
func (s OptNilUpdateHostRequestDtoFingerprint) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilUpdateHostRequestDtoFingerprint) Or ¶
func (o OptNilUpdateHostRequestDtoFingerprint) Or(d UpdateHostRequestDtoFingerprint) UpdateHostRequestDtoFingerprint
Or returns value if set, or given parameter if does not.
func (*OptNilUpdateHostRequestDtoFingerprint) Reset ¶
func (o *OptNilUpdateHostRequestDtoFingerprint) Reset()
Reset unsets value.
func (*OptNilUpdateHostRequestDtoFingerprint) SetFake ¶
func (s *OptNilUpdateHostRequestDtoFingerprint) SetFake()
SetFake set fake values.
func (*OptNilUpdateHostRequestDtoFingerprint) SetTo ¶
func (o *OptNilUpdateHostRequestDtoFingerprint) SetTo(v UpdateHostRequestDtoFingerprint)
SetTo sets value to v.
func (*OptNilUpdateHostRequestDtoFingerprint) SetToNull ¶
func (o *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 ¶
func (o OptResponseModification) Get() (v ResponseModification, ok bool)
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 ¶
func (o OptResponseModification) Or(d ResponseModification) ResponseModification
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 ¶
func (o *OptResponseModification) SetTo(v ResponseModification)
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 ¶
func (o OptResponseRules) Or(d ResponseRules) ResponseRules
Or returns value if set, or given parameter if does not.
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 ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptURI ¶
OptURI is optional url.URL.
func (OptURI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptURI) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUUID ¶
OptUUID is optional uuid.UUID.
func NewOptUUID ¶
NewOptUUID returns new OptUUID with value set to v.
func (OptUUID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptUUID) UnmarshalJSON ¶
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 ¶
func (o *OptUpdateHostRequestDtoSecurityLayer) Decode(d *jx.Decoder) error
Decode decodes UpdateHostRequestDtoSecurityLayer from json.
func (OptUpdateHostRequestDtoSecurityLayer) Encode ¶
func (o OptUpdateHostRequestDtoSecurityLayer) Encode(e *jx.Encoder)
Encode encodes UpdateHostRequestDtoSecurityLayer as json.
func (OptUpdateHostRequestDtoSecurityLayer) Get ¶
func (o OptUpdateHostRequestDtoSecurityLayer) Get() (v UpdateHostRequestDtoSecurityLayer, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateHostRequestDtoSecurityLayer) IsSet ¶
func (o OptUpdateHostRequestDtoSecurityLayer) IsSet() bool
IsSet returns true if OptUpdateHostRequestDtoSecurityLayer was set.
func (OptUpdateHostRequestDtoSecurityLayer) MarshalJSON ¶
func (s OptUpdateHostRequestDtoSecurityLayer) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateHostRequestDtoSecurityLayer) Or ¶
func (o OptUpdateHostRequestDtoSecurityLayer) Or(d UpdateHostRequestDtoSecurityLayer) UpdateHostRequestDtoSecurityLayer
Or returns value if set, or given parameter if does not.
func (*OptUpdateHostRequestDtoSecurityLayer) Reset ¶
func (o *OptUpdateHostRequestDtoSecurityLayer) Reset()
Reset unsets value.
func (*OptUpdateHostRequestDtoSecurityLayer) SetFake ¶
func (s *OptUpdateHostRequestDtoSecurityLayer) SetFake()
SetFake set fake values.
func (*OptUpdateHostRequestDtoSecurityLayer) SetTo ¶
func (o *OptUpdateHostRequestDtoSecurityLayer) SetTo(v UpdateHostRequestDtoSecurityLayer)
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 ¶
func NewOptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders(v UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders
NewOptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders returns new OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders with value set to v.
func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Decode ¶
func (o *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders from json.
func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Encode ¶
func (o OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Encode(e *jx.Encoder)
Encode encodes UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders as json.
func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Get ¶
func (o OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Get() (v UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) IsSet ¶
func (o OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) IsSet() bool
IsSet returns true if OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders was set.
func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) MarshalJSON ¶
func (s OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Or ¶
func (o OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Or(d UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders
Or returns value if set, or given parameter if does not.
func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Reset ¶
func (o *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Reset()
Reset unsets value.
func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetFake ¶
func (s *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetFake()
SetFake set fake values.
func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetTo ¶
func (o *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetTo(v UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders)
SetTo sets value to v.
func (*OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UnmarshalJSON ¶
func (s *OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptUpdateUserRequestDtoStatus) Decode(d *jx.Decoder) error
Decode decodes UpdateUserRequestDtoStatus from json.
func (OptUpdateUserRequestDtoStatus) Encode ¶
func (o OptUpdateUserRequestDtoStatus) Encode(e *jx.Encoder)
Encode encodes UpdateUserRequestDtoStatus as json.
func (OptUpdateUserRequestDtoStatus) Get ¶
func (o OptUpdateUserRequestDtoStatus) Get() (v UpdateUserRequestDtoStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateUserRequestDtoStatus) IsSet ¶
func (o OptUpdateUserRequestDtoStatus) IsSet() bool
IsSet returns true if OptUpdateUserRequestDtoStatus was set.
func (OptUpdateUserRequestDtoStatus) MarshalJSON ¶
func (s OptUpdateUserRequestDtoStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptUpdateUserRequestDtoStatus) Reset ¶
func (o *OptUpdateUserRequestDtoStatus) Reset()
Reset unsets value.
func (*OptUpdateUserRequestDtoStatus) SetFake ¶
func (s *OptUpdateUserRequestDtoStatus) SetFake()
SetFake set fake values.
func (*OptUpdateUserRequestDtoStatus) SetTo ¶
func (o *OptUpdateUserRequestDtoStatus) SetTo(v UpdateUserRequestDtoStatus)
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 ¶
func (o *OptUpdateUserRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes UpdateUserRequestDtoTrafficLimitStrategy from json.
func (OptUpdateUserRequestDtoTrafficLimitStrategy) Encode ¶
func (o OptUpdateUserRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes UpdateUserRequestDtoTrafficLimitStrategy as json.
func (OptUpdateUserRequestDtoTrafficLimitStrategy) Get ¶
func (o OptUpdateUserRequestDtoTrafficLimitStrategy) Get() (v UpdateUserRequestDtoTrafficLimitStrategy, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateUserRequestDtoTrafficLimitStrategy) IsSet ¶
func (o OptUpdateUserRequestDtoTrafficLimitStrategy) IsSet() bool
IsSet returns true if OptUpdateUserRequestDtoTrafficLimitStrategy was set.
func (OptUpdateUserRequestDtoTrafficLimitStrategy) MarshalJSON ¶
func (s OptUpdateUserRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateUserRequestDtoTrafficLimitStrategy) Or ¶
func (o OptUpdateUserRequestDtoTrafficLimitStrategy) Or(d UpdateUserRequestDtoTrafficLimitStrategy) UpdateUserRequestDtoTrafficLimitStrategy
Or returns value if set, or given parameter if does not.
func (*OptUpdateUserRequestDtoTrafficLimitStrategy) Reset ¶
func (o *OptUpdateUserRequestDtoTrafficLimitStrategy) Reset()
Reset unsets value.
func (*OptUpdateUserRequestDtoTrafficLimitStrategy) SetFake ¶
func (s *OptUpdateUserRequestDtoTrafficLimitStrategy) SetFake()
SetFake set fake values.
func (*OptUpdateUserRequestDtoTrafficLimitStrategy) SetTo ¶
func (o *OptUpdateUserRequestDtoTrafficLimitStrategy) SetTo(v UpdateUserRequestDtoTrafficLimitStrategy)
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 ¶
func (o OptUserStatus) Or(d UserStatus) UserStatus
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptUserTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes UserTrafficLimitStrategy from json.
func (OptUserTrafficLimitStrategy) Encode ¶
func (o OptUserTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes UserTrafficLimitStrategy as json.
func (OptUserTrafficLimitStrategy) Get ¶
func (o OptUserTrafficLimitStrategy) Get() (v UserTrafficLimitStrategy, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUserTrafficLimitStrategy) IsSet ¶
func (o OptUserTrafficLimitStrategy) IsSet() bool
IsSet returns true if OptUserTrafficLimitStrategy was set.
func (OptUserTrafficLimitStrategy) MarshalJSON ¶
func (s OptUserTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptUserTrafficLimitStrategy) Reset ¶
func (o *OptUserTrafficLimitStrategy) Reset()
Reset unsets value.
func (*OptUserTrafficLimitStrategy) SetFake ¶
func (s *OptUserTrafficLimitStrategy) SetFake()
SetFake set fake values.
func (*OptUserTrafficLimitStrategy) SetTo ¶
func (o *OptUserTrafficLimitStrategy) SetTo(v UserTrafficLimitStrategy)
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 ¶
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 ¶
func (sc *PasskeyClient) DeletePasskey(ctx context.Context, request *DeletePasskeyRequestDto) (PasskeyControllerDeletePasskeyRes, error)
DeletePasskey calls PasskeyController_deletePasskey.
func (*PasskeyClient) GetActivePasskeys ¶
func (sc *PasskeyClient) GetActivePasskeys(ctx context.Context) (PasskeyControllerGetActivePasskeysRes, error)
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 ¶
func (sc *PasskeyClient) UpdatePasskey(ctx context.Context, request *UpdatePasskeyRequestDto) (PasskeyControllerUpdatePasskeyRes, error)
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 ¶
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) 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) 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) 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 ¶
func (s *PasskeysResponseResponse) GetPasskeys() []PasskeysResponseResponsePasskeysItem
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 ¶
func (s *PasskeysResponseResponse) SetPasskeys(val []PasskeysResponseResponsePasskeysItem)
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 ¶
func (s *PasskeysResponseResponsePasskeysItem) Decode(d *jx.Decoder) error
Decode decodes PasskeysResponseResponsePasskeysItem from json.
func (*PasskeysResponseResponsePasskeysItem) Encode ¶
func (s *PasskeysResponseResponsePasskeysItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasskeysResponseResponsePasskeysItem) GetCreatedAt ¶
func (s *PasskeysResponseResponsePasskeysItem) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*PasskeysResponseResponsePasskeysItem) GetID ¶
func (s *PasskeysResponseResponsePasskeysItem) GetID() string
GetID returns the value of ID.
func (*PasskeysResponseResponsePasskeysItem) GetLastUsedAt ¶
func (s *PasskeysResponseResponsePasskeysItem) GetLastUsedAt() time.Time
GetLastUsedAt returns the value of LastUsedAt.
func (*PasskeysResponseResponsePasskeysItem) GetName ¶
func (s *PasskeysResponseResponsePasskeysItem) GetName() string
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 ¶
func (s *PasskeysResponseResponsePasskeysItem) SetFake()
SetFake set fake values.
func (*PasskeysResponseResponsePasskeysItem) SetID ¶
func (s *PasskeysResponseResponsePasskeysItem) SetID(val string)
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 ¶
func (s *PasskeysResponseResponsePasskeysItem) SetName(val string)
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 ¶
func (s *PasskeysResponseStatusCode) GetResponse() PasskeysResponse
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) 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) GetAllowedEmails ¶
GetAllowedEmails returns the value of AllowedEmails.
func (*Pocketid) GetClientId ¶
GetClientId returns the value of ClientId.
func (*Pocketid) GetClientSecret ¶
GetClientSecret returns the value of ClientSecret.
func (*Pocketid) GetEnabled ¶
GetEnabled returns the value of Enabled.
func (*Pocketid) GetPlainDomain ¶
GetPlainDomain returns the value of PlainDomain.
func (*Pocketid) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Pocketid) SetAllowedEmails ¶
SetAllowedEmails sets the value of AllowedEmails.
func (*Pocketid) SetClientId ¶
SetClientId sets the value of ClientId.
func (*Pocketid) SetClientSecret ¶
SetClientSecret sets the value of ClientSecret.
func (*Pocketid) SetEnabled ¶
SetEnabled sets the value of Enabled.
func (*Pocketid) SetPlainDomain ¶
SetPlainDomain sets the value of PlainDomain.
func (*Pocketid) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ProfileModificationRequestDto ¶
type ProfileModificationRequestDto struct {
Uuids []uuid.UUID `json:"uuids"`
ConfigProfile ProfileModificationRequestDtoConfigProfile `json:"configProfile"`
}
Ref: #/components/schemas/ProfileModificationRequestDto
func (*ProfileModificationRequestDto) Decode ¶
func (s *ProfileModificationRequestDto) Decode(d *jx.Decoder) error
Decode decodes ProfileModificationRequestDto from json.
func (*ProfileModificationRequestDto) Encode ¶
func (s *ProfileModificationRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProfileModificationRequestDto) GetConfigProfile ¶
func (s *ProfileModificationRequestDto) GetConfigProfile() ProfileModificationRequestDtoConfigProfile
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 ¶
func (s *ProfileModificationRequestDto) SetConfigProfile(val ProfileModificationRequestDtoConfigProfile)
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 ¶
func (s *ProfileModificationRequestDtoConfigProfile) Decode(d *jx.Decoder) error
Decode decodes ProfileModificationRequestDtoConfigProfile from json.
func (*ProfileModificationRequestDtoConfigProfile) Encode ¶
func (s *ProfileModificationRequestDtoConfigProfile) Encode(e *jx.Encoder)
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 ¶
func (s *ProfileModificationRequestDtoConfigProfile) MarshalJSON() ([]byte, error)
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 ¶
func (s *ProfileModificationRequestDtoConfigProfile) SetFake()
SetFake set fake values.
func (*ProfileModificationRequestDtoConfigProfile) UnmarshalJSON ¶
func (s *ProfileModificationRequestDtoConfigProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProfileModificationRequestDtoConfigProfile) Validate ¶
func (s *ProfileModificationRequestDtoConfigProfile) Validate() error
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) 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 ¶
GetCreatedAt returns the value of CreatedAt.
func (*Provider) GetFaviconLink ¶
GetFaviconLink returns the value of FaviconLink.
func (*Provider) GetLoginUrl ¶
GetLoginUrl returns the value of LoginUrl.
func (*Provider) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*Provider) MarshalJSON ¶
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 ¶
SetCreatedAt sets the value of CreatedAt.
func (*Provider) SetFaviconLink ¶
SetFaviconLink sets the value of FaviconLink.
func (*Provider) SetLoginUrl ¶
SetLoginUrl sets the value of LoginUrl.
func (*Provider) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*Provider) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 (*ProviderItem) GetFaviconLink ¶
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) SetFaviconLink ¶
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) GetRequestAt ¶
GetRequestAt returns the value of RequestAt.
func (*Record) GetRequestIp ¶
GetRequestIp returns the value of RequestIp.
func (*Record) GetUserAgent ¶
GetUserAgent returns the value of UserAgent.
func (*Record) GetUserUuid ¶
GetUserUuid returns the value of UserUuid.
func (*Record) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Record) SetRequestAt ¶
SetRequestAt sets the value of RequestAt.
func (*Record) SetRequestIp ¶
SetRequestIp sets the value of RequestIp.
func (*Record) SetUserAgent ¶
SetUserAgent sets the value of UserAgent.
func (*Record) SetUserUuid ¶
SetUserUuid sets the value of UserUuid.
func (*Record) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (sc *RemnawaveSettingsClient) GetSettings(ctx context.Context) (RemnawaveSettingsControllerGetSettingsRes, error)
GetSettings calls RemnawaveSettingsController_getSettings.
func (*RemnawaveSettingsClient) UpdateSettings ¶
func (sc *RemnawaveSettingsClient) UpdateSettings(ctx context.Context, request *UpdateRemnawaveSettingsRequestDto) (RemnawaveSettingsControllerUpdateSettingsRes, error)
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 ¶
func (s *ReorderHostResponseDto) GetResponse() ReorderHostResponseDtoResponse
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 ¶
func (s *ReorderHostResponseDto) SetResponse(val ReorderHostResponseDtoResponse)
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 ¶
func (s *ReorderHostResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes ReorderHostResponseDtoResponse from json.
func (*ReorderHostResponseDtoResponse) Encode ¶
func (s *ReorderHostResponseDtoResponse) Encode(e *jx.Encoder)
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) 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) 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 ¶
func (ResponseRulesVersion) AllValues() []ResponseRulesVersion
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 ¶
func (s *RestartAllNodesRequestBodyDto) Decode(d *jx.Decoder) error
Decode decodes RestartAllNodesRequestBodyDto from json.
func (*RestartAllNodesRequestBodyDto) Encode ¶
func (s *RestartAllNodesRequestBodyDto) Encode(e *jx.Encoder)
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 ¶
func (s *RevokeUserSubscriptionBodyDto) Decode(d *jx.Decoder) error
Decode decodes RevokeUserSubscriptionBodyDto from json.
func (*RevokeUserSubscriptionBodyDto) Encode ¶
func (s *RevokeUserSubscriptionBodyDto) Encode(e *jx.Encoder)
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) GetConditions ¶
GetConditions returns the value of Conditions.
func (*Rule) GetDescription ¶
GetDescription returns the value of Description.
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 ¶
MarshalJSON implements stdjson.Marshaler.
func (*Rule) SetConditions ¶
SetConditions sets the value of Conditions.
func (*Rule) SetDescription ¶
SetDescription sets the value of Description.
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 ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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) 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 ¶
func (s *SetInboundToManyHostsRequestDto) Decode(d *jx.Decoder) error
Decode decodes SetInboundToManyHostsRequestDto from json.
func (*SetInboundToManyHostsRequestDto) Encode ¶
func (s *SetInboundToManyHostsRequestDto) Encode(e *jx.Encoder)
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 ¶
func (s *SetPortToManyHostsRequestDto) Decode(d *jx.Decoder) error
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) 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) 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 ¶
func (sc *SnippetsClient) CreateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerCreateSnippetRes, error)
CreateSnippet calls SnippetsController_createSnippet.
func (*SnippetsClient) DeleteSnippetByName ¶
func (sc *SnippetsClient) DeleteSnippetByName(ctx context.Context, request *DeleteSnippetRequestDto) (SnippetsControllerDeleteSnippetByNameRes, error)
DeleteSnippetByName calls SnippetsController_deleteSnippetByName.
func (*SnippetsClient) GetSnippets ¶
func (sc *SnippetsClient) GetSnippets(ctx context.Context) (SnippetsControllerGetSnippetsRes, error)
GetSnippets calls SnippetsController_getSnippets.
func (*SnippetsClient) UpdateSnippet ¶
func (sc *SnippetsClient) UpdateSnippet(ctx context.Context, request *SnippetRequest) (SnippetsControllerUpdateSnippetRes, error)
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) 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 ¶
func (s *SnippetsResponseResponse) GetSnippets() []SnippetsResponseResponseSnippetsItem
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 ¶
func (s *SnippetsResponseResponse) SetSnippets(val []SnippetsResponseResponseSnippetsItem)
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 ¶
func (s *SnippetsResponseResponseSnippetsItem) Decode(d *jx.Decoder) error
Decode decodes SnippetsResponseResponseSnippetsItem from json.
func (*SnippetsResponseResponseSnippetsItem) Encode ¶
func (s *SnippetsResponseResponseSnippetsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SnippetsResponseResponseSnippetsItem) GetName ¶
func (s *SnippetsResponseResponseSnippetsItem) GetName() string
GetName returns the value of Name.
func (*SnippetsResponseResponseSnippetsItem) GetSnippet ¶
func (s *SnippetsResponseResponseSnippetsItem) GetSnippet() jx.Raw
GetSnippet returns the value of Snippet.
func (*SnippetsResponseResponseSnippetsItem) MarshalJSON ¶
func (s *SnippetsResponseResponseSnippetsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SnippetsResponseResponseSnippetsItem) SetFake ¶
func (s *SnippetsResponseResponseSnippetsItem) SetFake()
SetFake set fake values.
func (*SnippetsResponseResponseSnippetsItem) SetName ¶
func (s *SnippetsResponseResponseSnippetsItem) SetName(val string)
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 ¶
func (s *StatsUserUsageResponseResponse) Decode(d *jx.Decoder) error
Decode decodes StatsUserUsageResponseResponse from json.
func (*StatsUserUsageResponseResponse) Encode ¶
func (s *StatsUserUsageResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StatsUserUsageResponseResponse) GetResponse ¶
func (s *StatsUserUsageResponseResponse) GetResponse() StatsUserUsageResponseResponseResponse
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 ¶
func (s *StatsUserUsageResponseResponse) SetResponse(val StatsUserUsageResponseResponseResponse)
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 ¶
func (s *StatsUserUsageResponseResponseResponse) Decode(d *jx.Decoder) error
Decode decodes StatsUserUsageResponseResponseResponse from json.
func (*StatsUserUsageResponseResponseResponse) Encode ¶
func (s *StatsUserUsageResponseResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StatsUserUsageResponseResponseResponse) GetCategories ¶
func (s *StatsUserUsageResponseResponseResponse) GetCategories() []string
GetCategories returns the value of Categories.
func (*StatsUserUsageResponseResponseResponse) GetSeries ¶
func (s *StatsUserUsageResponseResponseResponse) GetSeries() []StatsUserUsageResponseResponseResponseSeriesItem
GetSeries returns the value of Series.
func (*StatsUserUsageResponseResponseResponse) GetSparklineData ¶
func (s *StatsUserUsageResponseResponseResponse) GetSparklineData() []float64
GetSparklineData returns the value of SparklineData.
func (*StatsUserUsageResponseResponseResponse) GetTopNodes ¶
func (s *StatsUserUsageResponseResponseResponse) GetTopNodes() []StatsUserUsageResponseResponseResponseTopNodesItem
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 ¶
func (s *StatsUserUsageResponseResponseResponse) SetFake()
SetFake set fake values.
func (*StatsUserUsageResponseResponseResponse) SetSeries ¶
func (s *StatsUserUsageResponseResponseResponse) SetSeries(val []StatsUserUsageResponseResponseResponseSeriesItem)
SetSeries sets the value of Series.
func (*StatsUserUsageResponseResponseResponse) SetSparklineData ¶
func (s *StatsUserUsageResponseResponseResponse) SetSparklineData(val []float64)
SetSparklineData sets the value of SparklineData.
func (*StatsUserUsageResponseResponseResponse) SetTopNodes ¶
func (s *StatsUserUsageResponseResponseResponse) SetTopNodes(val []StatsUserUsageResponseResponseResponseTopNodesItem)
SetTopNodes sets the value of TopNodes.
func (*StatsUserUsageResponseResponseResponse) UnmarshalJSON ¶
func (s *StatsUserUsageResponseResponseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StatsUserUsageResponseResponseResponse) Validate ¶
func (s *StatsUserUsageResponseResponseResponse) Validate() error
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 ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) Decode(d *jx.Decoder) error
Decode decodes StatsUserUsageResponseResponseResponseSeriesItem from json.
func (*StatsUserUsageResponseResponseResponseSeriesItem) Encode ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StatsUserUsageResponseResponseResponseSeriesItem) GetColor ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetColor() string
GetColor returns the value of Color.
func (*StatsUserUsageResponseResponseResponseSeriesItem) GetCountryCode ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetCountryCode() string
GetCountryCode returns the value of CountryCode.
func (*StatsUserUsageResponseResponseResponseSeriesItem) GetData ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetData() []float64
GetData returns the value of Data.
func (*StatsUserUsageResponseResponseResponseSeriesItem) GetName ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetName() string
GetName returns the value of Name.
func (*StatsUserUsageResponseResponseResponseSeriesItem) GetTotal ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetTotal() float64
GetTotal returns the value of Total.
func (*StatsUserUsageResponseResponseResponseSeriesItem) GetUUID ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*StatsUserUsageResponseResponseResponseSeriesItem) MarshalJSON ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StatsUserUsageResponseResponseResponseSeriesItem) SetColor ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetColor(val string)
SetColor sets the value of Color.
func (*StatsUserUsageResponseResponseResponseSeriesItem) SetCountryCode ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetCountryCode(val string)
SetCountryCode sets the value of CountryCode.
func (*StatsUserUsageResponseResponseResponseSeriesItem) SetData ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetData(val []float64)
SetData sets the value of Data.
func (*StatsUserUsageResponseResponseResponseSeriesItem) SetFake ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetFake()
SetFake set fake values.
func (*StatsUserUsageResponseResponseResponseSeriesItem) SetName ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetName(val string)
SetName sets the value of Name.
func (*StatsUserUsageResponseResponseResponseSeriesItem) SetTotal ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetTotal(val float64)
SetTotal sets the value of Total.
func (*StatsUserUsageResponseResponseResponseSeriesItem) SetUUID ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*StatsUserUsageResponseResponseResponseSeriesItem) UnmarshalJSON ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StatsUserUsageResponseResponseResponseSeriesItem) Validate ¶
func (s *StatsUserUsageResponseResponseResponseSeriesItem) Validate() error
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 ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) Decode(d *jx.Decoder) error
Decode decodes StatsUserUsageResponseResponseResponseTopNodesItem from json.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) Encode ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetColor ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetColor() string
GetColor returns the value of Color.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetCountryCode ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetCountryCode() string
GetCountryCode returns the value of CountryCode.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetName ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetName() string
GetName returns the value of Name.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetTotal ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetTotal() float64
GetTotal returns the value of Total.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) GetUUID ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) MarshalJSON ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetColor ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetColor(val string)
SetColor sets the value of Color.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetCountryCode ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetCountryCode(val string)
SetCountryCode sets the value of CountryCode.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetFake ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetFake()
SetFake set fake values.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetName ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetName(val string)
SetName sets the value of Name.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetTotal ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetTotal(val float64)
SetTotal sets the value of Total.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) SetUUID ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) UnmarshalJSON ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StatsUserUsageResponseResponseResponseTopNodesItem) Validate ¶
func (s *StatsUserUsageResponseResponseResponseTopNodesItem) Validate() error
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 (*Subscription) GetLinks ¶
func (s *Subscription) GetLinks() []string
GetLinks returns the value of Links.
func (*Subscription) GetSsConfLinks ¶
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) SetIsFound ¶
func (s *Subscription) SetIsFound(val bool)
SetIsFound sets the value of IsFound.
func (*Subscription) SetLinks ¶
func (s *Subscription) SetLinks(val []string)
SetLinks sets the value of Links.
func (*Subscription) SetSsConfLinks ¶
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 ¶
func (SubscriptionControllerGetSubscriptionByClientTypeClientType) AllValues() []SubscriptionControllerGetSubscriptionByClientTypeClientType
AllValues returns all SubscriptionControllerGetSubscriptionByClientTypeClientType values.
func (SubscriptionControllerGetSubscriptionByClientTypeClientType) MarshalText ¶
func (s SubscriptionControllerGetSubscriptionByClientTypeClientType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SubscriptionControllerGetSubscriptionByClientTypeClientType) UnmarshalText ¶
func (s *SubscriptionControllerGetSubscriptionByClientTypeClientType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SubscriptionControllerGetSubscriptionByClientTypeClientType) Validate ¶
func (s SubscriptionControllerGetSubscriptionByClientTypeClientType) Validate() error
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 ¶
func (sc *SubscriptionPageConfigClient) CloneSubscriptionPageConfig(ctx context.Context, request *CloneSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerCloneSubscriptionPageConfigRes, error)
CloneSubscriptionPageConfig calls SubscriptionPageConfigController_cloneSubscriptionPageConfig.
func (*SubscriptionPageConfigClient) CreateConfig ¶
func (sc *SubscriptionPageConfigClient) CreateConfig(ctx context.Context, request *ExternalSquadRequestRequest) (SubscriptionPageConfigControllerCreateConfigRes, error)
CreateConfig calls SubscriptionPageConfigController_createConfig.
func (*SubscriptionPageConfigClient) DeleteConfig ¶
func (sc *SubscriptionPageConfigClient) DeleteConfig(ctx context.Context, uuid string) (SubscriptionPageConfigControllerDeleteConfigRes, error)
DeleteConfig calls SubscriptionPageConfigController_deleteConfig.
func (*SubscriptionPageConfigClient) GetAllConfigs ¶
func (sc *SubscriptionPageConfigClient) GetAllConfigs(ctx context.Context) (SubscriptionPageConfigControllerGetAllConfigsRes, error)
GetAllConfigs calls SubscriptionPageConfigController_getAllConfigs.
func (*SubscriptionPageConfigClient) GetConfigByUuid ¶
func (sc *SubscriptionPageConfigClient) GetConfigByUuid(ctx context.Context, uuid string) (SubscriptionPageConfigControllerGetConfigByUuidRes, error)
GetConfigByUuid calls SubscriptionPageConfigController_getConfigByUuid.
func (*SubscriptionPageConfigClient) ReorderSubscriptionPageConfigs ¶
func (sc *SubscriptionPageConfigClient) ReorderSubscriptionPageConfigs(ctx context.Context, request *ReorderRequest) (SubscriptionPageConfigControllerReorderSubscriptionPageConfigsRes, error)
ReorderSubscriptionPageConfigs calls SubscriptionPageConfigController_reorderSubscriptionPageConfigs.
func (*SubscriptionPageConfigClient) UpdateConfig ¶
func (sc *SubscriptionPageConfigClient) UpdateConfig(ctx context.Context, request *UpdateSubscriptionPageConfigRequestDto) (SubscriptionPageConfigControllerUpdateConfigRes, error)
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 ¶
func (s *SubscriptionPageConfigResponseResponse) Decode(d *jx.Decoder) error
Decode decodes SubscriptionPageConfigResponseResponse from json.
func (*SubscriptionPageConfigResponseResponse) Encode ¶
func (s *SubscriptionPageConfigResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SubscriptionPageConfigResponseResponse) GetResponse ¶
func (s *SubscriptionPageConfigResponseResponse) GetResponse() SubscriptionPageConfigResponseResponseResponse
GetResponse returns the value of Response.
func (*SubscriptionPageConfigResponseResponse) MarshalJSON ¶
func (s *SubscriptionPageConfigResponseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SubscriptionPageConfigResponseResponse) SetFake ¶
func (s *SubscriptionPageConfigResponseResponse) SetFake()
SetFake set fake values.
func (*SubscriptionPageConfigResponseResponse) SetResponse ¶
func (s *SubscriptionPageConfigResponseResponse) SetResponse(val SubscriptionPageConfigResponseResponseResponse)
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 ¶
func (s *SubscriptionPageConfigResponseResponseResponse) Decode(d *jx.Decoder) error
Decode decodes SubscriptionPageConfigResponseResponseResponse from json.
func (*SubscriptionPageConfigResponseResponseResponse) Encode ¶
func (s *SubscriptionPageConfigResponseResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SubscriptionPageConfigResponseResponseResponse) GetConfig ¶
func (s *SubscriptionPageConfigResponseResponseResponse) GetConfig() jx.Raw
GetConfig returns the value of Config.
func (*SubscriptionPageConfigResponseResponseResponse) GetName ¶
func (s *SubscriptionPageConfigResponseResponseResponse) GetName() string
GetName returns the value of Name.
func (*SubscriptionPageConfigResponseResponseResponse) GetUUID ¶
func (s *SubscriptionPageConfigResponseResponseResponse) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*SubscriptionPageConfigResponseResponseResponse) GetViewPosition ¶
func (s *SubscriptionPageConfigResponseResponseResponse) GetViewPosition() int
GetViewPosition returns the value of ViewPosition.
func (*SubscriptionPageConfigResponseResponseResponse) MarshalJSON ¶
func (s *SubscriptionPageConfigResponseResponseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SubscriptionPageConfigResponseResponseResponse) SetConfig ¶
func (s *SubscriptionPageConfigResponseResponseResponse) SetConfig(val jx.Raw)
SetConfig sets the value of Config.
func (*SubscriptionPageConfigResponseResponseResponse) SetFake ¶
func (s *SubscriptionPageConfigResponseResponseResponse) SetFake()
SetFake set fake values.
func (*SubscriptionPageConfigResponseResponseResponse) SetName ¶
func (s *SubscriptionPageConfigResponseResponseResponse) SetName(val string)
SetName sets the value of Name.
func (*SubscriptionPageConfigResponseResponseResponse) SetUUID ¶
func (s *SubscriptionPageConfigResponseResponseResponse) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*SubscriptionPageConfigResponseResponseResponse) SetViewPosition ¶
func (s *SubscriptionPageConfigResponseResponseResponse) SetViewPosition(val int)
SetViewPosition sets the value of ViewPosition.
func (*SubscriptionPageConfigResponseResponseResponse) UnmarshalJSON ¶
func (s *SubscriptionPageConfigResponseResponseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SubscriptionPageConfigsResponseResponse ¶
type SubscriptionPageConfigsResponseResponse struct {
Response SubscriptionPageConfigsResponseResponseResponse `json:"response"`
}
Ref: #/components/schemas/SubscriptionPageConfigsResponseResponse
func (*SubscriptionPageConfigsResponseResponse) Decode ¶
func (s *SubscriptionPageConfigsResponseResponse) Decode(d *jx.Decoder) error
Decode decodes SubscriptionPageConfigsResponseResponse from json.
func (*SubscriptionPageConfigsResponseResponse) Encode ¶
func (s *SubscriptionPageConfigsResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SubscriptionPageConfigsResponseResponse) GetResponse ¶
func (s *SubscriptionPageConfigsResponseResponse) GetResponse() SubscriptionPageConfigsResponseResponseResponse
GetResponse returns the value of Response.
func (*SubscriptionPageConfigsResponseResponse) MarshalJSON ¶
func (s *SubscriptionPageConfigsResponseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SubscriptionPageConfigsResponseResponse) SetFake ¶
func (s *SubscriptionPageConfigsResponseResponse) SetFake()
SetFake set fake values.
func (*SubscriptionPageConfigsResponseResponse) SetResponse ¶
func (s *SubscriptionPageConfigsResponseResponse) SetResponse(val SubscriptionPageConfigsResponseResponseResponse)
SetResponse sets the value of Response.
func (*SubscriptionPageConfigsResponseResponse) UnmarshalJSON ¶
func (s *SubscriptionPageConfigsResponseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SubscriptionPageConfigsResponseResponse) Validate ¶
func (s *SubscriptionPageConfigsResponseResponse) Validate() error
type SubscriptionPageConfigsResponseResponseResponse ¶
type SubscriptionPageConfigsResponseResponseResponse struct {
Total float64 `json:"total"`
Configs []Config `json:"configs"`
}
func (*SubscriptionPageConfigsResponseResponseResponse) Decode ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) Decode(d *jx.Decoder) error
Decode decodes SubscriptionPageConfigsResponseResponseResponse from json.
func (*SubscriptionPageConfigsResponseResponseResponse) Encode ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SubscriptionPageConfigsResponseResponseResponse) GetConfigs ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) GetConfigs() []Config
GetConfigs returns the value of Configs.
func (*SubscriptionPageConfigsResponseResponseResponse) GetTotal ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) GetTotal() float64
GetTotal returns the value of Total.
func (*SubscriptionPageConfigsResponseResponseResponse) MarshalJSON ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SubscriptionPageConfigsResponseResponseResponse) SetConfigs ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) SetConfigs(val []Config)
SetConfigs sets the value of Configs.
func (*SubscriptionPageConfigsResponseResponseResponse) SetFake ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) SetFake()
SetFake set fake values.
func (*SubscriptionPageConfigsResponseResponseResponse) SetTotal ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) SetTotal(val float64)
SetTotal sets the value of Total.
func (*SubscriptionPageConfigsResponseResponseResponse) UnmarshalJSON ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SubscriptionPageConfigsResponseResponseResponse) Validate ¶
func (s *SubscriptionPageConfigsResponseResponseResponse) Validate() error
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 (*SubscriptionSettings) GetSupportLink ¶
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 (*SubscriptionSettings) SetSupportLink ¶
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 ¶
func (sc *SubscriptionSettingsClient) GetSettings(ctx context.Context) (SubscriptionSettingsControllerGetSettingsRes, error)
GetSettings calls SubscriptionSettingsController_getSettings.
func (*SubscriptionSettingsClient) UpdateSettings ¶
func (sc *SubscriptionSettingsClient) UpdateSettings(ctx context.Context, request *UpdateSubscriptionSettingsRequestDto) (SubscriptionSettingsControllerUpdateSettingsRes, error)
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 ¶
func (s *SubscriptionSettingsResponse) Decode(d *jx.Decoder) error
Decode decodes SubscriptionSettingsResponse from json.
func (*SubscriptionSettingsResponse) Encode ¶
func (s *SubscriptionSettingsResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SubscriptionSettingsResponse) GetResponse ¶
func (s *SubscriptionSettingsResponse) GetResponse() SubscriptionSettingsResponseResponse
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 ¶
func (s *SubscriptionSettingsResponse) SetResponse(val SubscriptionSettingsResponseResponse)
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 ¶
func (s *SubscriptionSettingsResponseResponse) Decode(d *jx.Decoder) error
Decode decodes SubscriptionSettingsResponseResponse from json.
func (*SubscriptionSettingsResponseResponse) Encode ¶
func (s *SubscriptionSettingsResponseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SubscriptionSettingsResponseResponse) GetCreatedAt ¶
func (s *SubscriptionSettingsResponseResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*SubscriptionSettingsResponseResponse) GetCustomRemarks ¶
func (s *SubscriptionSettingsResponseResponse) GetCustomRemarks() NilCustomRemark
GetCustomRemarks returns the value of CustomRemarks.
func (*SubscriptionSettingsResponseResponse) GetCustomResponseHeaders ¶
func (s *SubscriptionSettingsResponseResponse) GetCustomResponseHeaders() NilSubscriptionSettingsResponseResponseCustomResponseHeaders
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 ¶
func (s *SubscriptionSettingsResponseResponse) GetHwidSettings() NilHwidSettings
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 ¶
func (s *SubscriptionSettingsResponseResponse) GetResponseRules() ResponseRules
GetResponseRules returns the value of ResponseRules.
func (*SubscriptionSettingsResponseResponse) GetServeJsonAtBaseSubscription ¶
func (s *SubscriptionSettingsResponseResponse) GetServeJsonAtBaseSubscription() bool
GetServeJsonAtBaseSubscription returns the value of ServeJsonAtBaseSubscription.
func (*SubscriptionSettingsResponseResponse) GetSupportLink ¶
func (s *SubscriptionSettingsResponseResponse) GetSupportLink() string
GetSupportLink returns the value of SupportLink.
func (*SubscriptionSettingsResponseResponse) GetUUID ¶
func (s *SubscriptionSettingsResponseResponse) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*SubscriptionSettingsResponseResponse) GetUpdatedAt ¶
func (s *SubscriptionSettingsResponseResponse) GetUpdatedAt() time.Time
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 ¶
func (s *SubscriptionSettingsResponseResponse) SetCustomResponseHeaders(val NilSubscriptionSettingsResponseResponseCustomResponseHeaders)
SetCustomResponseHeaders sets the value of CustomResponseHeaders.
func (*SubscriptionSettingsResponseResponse) SetFake ¶
func (s *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 (*SubscriptionSettingsResponseResponse) SetSupportLink ¶
func (s *SubscriptionSettingsResponseResponse) SetSupportLink(val string)
SetSupportLink sets the value of SupportLink.
func (*SubscriptionSettingsResponseResponse) SetUUID ¶
func (s *SubscriptionSettingsResponseResponse) SetUUID(val uuid.UUID)
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 ¶
func (s *SubscriptionSettingsResponseResponse) Validate() error
type SubscriptionSettingsResponseResponseCustomResponseHeaders ¶
func (*SubscriptionSettingsResponseResponseCustomResponseHeaders) Decode ¶
func (s *SubscriptionSettingsResponseResponseCustomResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes SubscriptionSettingsResponseResponseCustomResponseHeaders from json.
func (SubscriptionSettingsResponseResponseCustomResponseHeaders) Encode ¶
func (s SubscriptionSettingsResponseResponseCustomResponseHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SubscriptionSettingsResponseResponseCustomResponseHeaders) MarshalJSON ¶
func (s SubscriptionSettingsResponseResponseCustomResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SubscriptionSettingsResponseResponseCustomResponseHeaders) SetFake ¶
func (s *SubscriptionSettingsResponseResponseCustomResponseHeaders) SetFake()
SetFake set fake values.
func (*SubscriptionSettingsResponseResponseCustomResponseHeaders) UnmarshalJSON ¶
func (s *SubscriptionSettingsResponseResponseCustomResponseHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SubscriptionSsConfLinks ¶
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 ¶
func (sc *SubscriptionTemplateClient) CreateTemplate(ctx context.Context, request *CreateSubscriptionTemplateRequestDto) (SubscriptionTemplateControllerCreateTemplateRes, error)
CreateTemplate calls SubscriptionTemplateController_createTemplate.
func (*SubscriptionTemplateClient) DeleteTemplate ¶
func (sc *SubscriptionTemplateClient) DeleteTemplate(ctx context.Context, uuid string) (SubscriptionTemplateControllerDeleteTemplateRes, error)
DeleteTemplate calls SubscriptionTemplateController_deleteTemplate.
func (*SubscriptionTemplateClient) GetAllTemplates ¶
func (sc *SubscriptionTemplateClient) GetAllTemplates(ctx context.Context) (SubscriptionTemplateControllerGetAllTemplatesRes, error)
GetAllTemplates calls SubscriptionTemplateController_getAllTemplates.
func (*SubscriptionTemplateClient) GetTemplateByUuid ¶
func (sc *SubscriptionTemplateClient) GetTemplateByUuid(ctx context.Context, uuid string) (SubscriptionTemplateControllerGetTemplateByUuidRes, error)
GetTemplateByUuid calls SubscriptionTemplateController_getTemplateByUuid.
func (*SubscriptionTemplateClient) ReorderSubscriptionTemplates ¶
func (sc *SubscriptionTemplateClient) ReorderSubscriptionTemplates(ctx context.Context, request *ReorderRequest) (SubscriptionTemplateControllerReorderSubscriptionTemplatesRes, error)
ReorderSubscriptionTemplates calls SubscriptionTemplateController_reorderSubscriptionTemplates.
func (*SubscriptionTemplateClient) UpdateTemplate ¶
func (sc *SubscriptionTemplateClient) UpdateTemplate(ctx context.Context, request *UpdateTemplateRequestDto) (SubscriptionTemplateControllerUpdateTemplateRes, error)
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 ¶
func (sc *SubscriptionsClient) GetAllSubscriptions(ctx context.Context, size float64, start float64) (SubscriptionsControllerGetAllSubscriptionsRes, error)
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 ¶
func (sc *SubscriptionsClient) GetSubpageConfigByShortUuid(ctx context.Context, request *GetSubpageConfigByShortUuidRequestBodyDto, shortuuid string) (SubscriptionsControllerGetSubpageConfigByShortUuidRes, error)
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 ¶
func (sc *SubscriptionsClient) GetSubscriptionByUsername(ctx context.Context, username string) (SubscriptionsControllerGetSubscriptionByUsernameRes, error)
GetSubscriptionByUsername calls SubscriptionsController_getSubscriptionByUsername.
func (*SubscriptionsClient) GetSubscriptionByUuid ¶
func (sc *SubscriptionsClient) GetSubscriptionByUuid(ctx context.Context, uuid string) (SubscriptionsControllerGetSubscriptionByUuidRes, error)
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 ¶
func (sc *SystemClient) DebugSrrMatcher(ctx context.Context, request *DebugSrrMatcherRequestDto) (SystemControllerDebugSrrMatcherRes, error)
DebugSrrMatcher calls SystemController_debugSrrMatcher.
func (*SystemClient) EncryptHappCryptoLink ¶
func (sc *SystemClient) EncryptHappCryptoLink(ctx context.Context, request *EncryptHappCryptoLinkRequestDto) (SystemControllerEncryptHappCryptoLinkRes, error)
EncryptHappCryptoLink calls SystemController_encryptHappCryptoLink.
func (*SystemClient) GetBandwidthStats ¶
func (sc *SystemClient) GetBandwidthStats(ctx context.Context) (SystemControllerGetBandwidthStatsRes, error)
GetBandwidthStats calls SystemController_getBandwidthStats.
func (*SystemClient) GetNodesMetrics ¶
func (sc *SystemClient) GetNodesMetrics(ctx context.Context) (SystemControllerGetNodesMetricsRes, error)
GetNodesMetrics calls SystemController_getNodesMetrics.
func (*SystemClient) GetNodesStatistics ¶
func (sc *SystemClient) GetNodesStatistics(ctx context.Context) (SystemControllerGetNodesStatisticsRes, error)
GetNodesStatistics calls SystemController_getNodesStatistics.
func (*SystemClient) GetRemnawaveHealth ¶
func (sc *SystemClient) GetRemnawaveHealth(ctx context.Context) (SystemControllerGetRemnawaveHealthRes, error)
GetRemnawaveHealth calls SystemController_getRemnawaveHealth.
func (*SystemClient) GetStats ¶
func (sc *SystemClient) GetStats(ctx context.Context) (SystemControllerGetStatsRes, error)
GetStats calls SystemController_getStats.
func (*SystemClient) GetX25519Keypairs ¶
func (sc *SystemClient) GetX25519Keypairs(ctx context.Context) (SystemControllerGetX25519KeypairsRes, error)
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) 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 ¶
func (s *TelegramCallbackRequestDto) Decode(d *jx.Decoder) error
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 ¶
func (s *TelegramCallbackRequestDto) GetID() float64
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) GetEncodedTemplateYaml ¶
GetEncodedTemplateYaml returns the value of EncodedTemplateYaml.
func (*Template) GetTemplateJson ¶
GetTemplateJson returns the value of TemplateJson.
func (*Template) GetTemplateType ¶
func (s *Template) GetTemplateType() TemplateTemplateType
GetTemplateType returns the value of TemplateType.
func (*Template) GetViewPosition ¶
GetViewPosition returns the value of ViewPosition.
func (*Template) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Template) SetEncodedTemplateYaml ¶
SetEncodedTemplateYaml sets the value of EncodedTemplateYaml.
func (*Template) SetTemplateJson ¶
SetTemplateJson sets the value of TemplateJson.
func (*Template) SetTemplateType ¶
func (s *Template) SetTemplateType(val TemplateTemplateType)
SetTemplateType sets the value of TemplateType.
func (*Template) SetViewPosition ¶
SetViewPosition sets the value of ViewPosition.
func (*Template) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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 ¶
func (TemplateRefTemplateType) AllValues() []TemplateRefTemplateType
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) 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 ¶
func (TemplateTemplateType) AllValues() []TemplateTemplateType
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 ¶
func (s *TemplatesResponse) GetResponse() TemplatesResponseResponse
GetResponse returns the value of Response.
func (*TemplatesResponse) MarshalJSON ¶
func (s *TemplatesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
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) 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) 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 {
}
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) 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 ¶
func (s *UpdateConfigProfileRequestDto) Decode(d *jx.Decoder) error
Decode decodes UpdateConfigProfileRequestDto from json.
func (*UpdateConfigProfileRequestDto) Encode ¶
func (s *UpdateConfigProfileRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateConfigProfileRequestDto) GetConfig ¶
func (s *UpdateConfigProfileRequestDto) GetConfig() *UpdateConfigProfileRequestDtoConfig
GetConfig returns the value of Config.
func (*UpdateConfigProfileRequestDto) GetName ¶
func (s *UpdateConfigProfileRequestDto) GetName() OptString
GetName returns the value of Name.
func (*UpdateConfigProfileRequestDto) GetUUID ¶
func (s *UpdateConfigProfileRequestDto) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*UpdateConfigProfileRequestDto) MarshalJSON ¶
func (s *UpdateConfigProfileRequestDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateConfigProfileRequestDto) SetConfig ¶
func (s *UpdateConfigProfileRequestDto) SetConfig(val *UpdateConfigProfileRequestDtoConfig)
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 ¶
func (s *UpdateConfigProfileRequestDtoConfig) Decode(d *jx.Decoder) error
Decode decodes UpdateConfigProfileRequestDtoConfig from json.
func (*UpdateConfigProfileRequestDtoConfig) Encode ¶
func (s *UpdateConfigProfileRequestDtoConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateConfigProfileRequestDtoConfig) MarshalJSON ¶
func (s *UpdateConfigProfileRequestDtoConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateConfigProfileRequestDtoConfig) SetFake ¶
func (s *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 ¶
func (s *UpdateExternalSquadRequestDto) Decode(d *jx.Decoder) error
Decode decodes UpdateExternalSquadRequestDto from json.
func (*UpdateExternalSquadRequestDto) Encode ¶
func (s *UpdateExternalSquadRequestDto) Encode(e *jx.Encoder)
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 ¶
func (s *UpdateExternalSquadRequestDto) GetHwidSettings() OptNilHwidSettings
GetHwidSettings returns the value of HwidSettings.
func (*UpdateExternalSquadRequestDto) GetName ¶
func (s *UpdateExternalSquadRequestDto) GetName() OptString
GetName returns the value of Name.
func (*UpdateExternalSquadRequestDto) GetResponseHeaders ¶
func (s *UpdateExternalSquadRequestDto) GetResponseHeaders() OptNilUpdateExternalSquadRequestDtoResponseHeaders
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 ¶
func (s *UpdateExternalSquadRequestDto) GetUUID() uuid.UUID
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 ¶
func (s *UpdateExternalSquadRequestDto) SetResponseHeaders(val OptNilUpdateExternalSquadRequestDtoResponseHeaders)
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 ¶
func (*UpdateExternalSquadRequestDtoResponseHeaders) Decode ¶
func (s *UpdateExternalSquadRequestDtoResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes UpdateExternalSquadRequestDtoResponseHeaders from json.
func (UpdateExternalSquadRequestDtoResponseHeaders) Encode ¶
func (s UpdateExternalSquadRequestDtoResponseHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UpdateExternalSquadRequestDtoResponseHeaders) MarshalJSON ¶
func (s UpdateExternalSquadRequestDtoResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateExternalSquadRequestDtoResponseHeaders) SetFake ¶
func (s *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 ¶
func (s *UpdateHostRequestDto) GetAlpn() OptNilUpdateHostRequestDtoAlpn
GetAlpn returns the value of Alpn.
func (*UpdateHostRequestDto) GetExcludedInternalSquads ¶
func (s *UpdateHostRequestDto) GetExcludedInternalSquads() []uuid.UUID
GetExcludedInternalSquads returns the value of ExcludedInternalSquads.
func (*UpdateHostRequestDto) GetFingerprint ¶
func (s *UpdateHostRequestDto) GetFingerprint() OptNilUpdateHostRequestDtoFingerprint
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 ¶
func (s *UpdateHostRequestDto) GetSecurityLayer() OptUpdateHostRequestDtoSecurityLayer
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 ¶
func (s *UpdateHostRequestDto) SetAlpn(val OptNilUpdateHostRequestDtoAlpn)
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 ¶
func (s *UpdateHostRequestDto) SetFingerprint(val OptNilUpdateHostRequestDtoFingerprint)
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 ¶
func (s *UpdateHostRequestDto) SetSecurityLayer(val OptUpdateHostRequestDtoSecurityLayer)
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 ¶
func (UpdateHostRequestDtoAlpn) AllValues() []UpdateHostRequestDtoAlpn
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 ¶
func (UpdateHostRequestDtoFingerprint) AllValues() []UpdateHostRequestDtoFingerprint
AllValues returns all UpdateHostRequestDtoFingerprint values.
func (*UpdateHostRequestDtoFingerprint) Decode ¶
func (s *UpdateHostRequestDtoFingerprint) Decode(d *jx.Decoder) error
Decode decodes UpdateHostRequestDtoFingerprint from json.
func (UpdateHostRequestDtoFingerprint) Encode ¶
func (s UpdateHostRequestDtoFingerprint) Encode(e *jx.Encoder)
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 ¶
func (s UpdateHostRequestDtoFingerprint) Validate() error
type UpdateHostRequestDtoSecurityLayer ¶
type UpdateHostRequestDtoSecurityLayer string
const ( UpdateHostRequestDtoSecurityLayerDEFAULT UpdateHostRequestDtoSecurityLayer = "DEFAULT" UpdateHostRequestDtoSecurityLayerTLS UpdateHostRequestDtoSecurityLayer = "TLS" UpdateHostRequestDtoSecurityLayerNONE UpdateHostRequestDtoSecurityLayer = "NONE" )
func (UpdateHostRequestDtoSecurityLayer) AllValues ¶
func (UpdateHostRequestDtoSecurityLayer) AllValues() []UpdateHostRequestDtoSecurityLayer
AllValues returns all UpdateHostRequestDtoSecurityLayer values.
func (*UpdateHostRequestDtoSecurityLayer) Decode ¶
func (s *UpdateHostRequestDtoSecurityLayer) Decode(d *jx.Decoder) error
Decode decodes UpdateHostRequestDtoSecurityLayer from json.
func (UpdateHostRequestDtoSecurityLayer) Encode ¶
func (s UpdateHostRequestDtoSecurityLayer) Encode(e *jx.Encoder)
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 ¶
func (s UpdateHostRequestDtoSecurityLayer) Validate() error
type UpdateInfraBillingNodeRequestDto ¶
type UpdateInfraBillingNodeRequestDto struct {
Uuids []uuid.UUID `json:"uuids"`
NextBillingAt time.Time `json:"nextBillingAt"`
}
Ref: #/components/schemas/UpdateInfraBillingNodeRequestDto
func (*UpdateInfraBillingNodeRequestDto) Decode ¶
func (s *UpdateInfraBillingNodeRequestDto) Decode(d *jx.Decoder) error
Decode decodes UpdateInfraBillingNodeRequestDto from json.
func (*UpdateInfraBillingNodeRequestDto) Encode ¶
func (s *UpdateInfraBillingNodeRequestDto) Encode(e *jx.Encoder)
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 ¶
func (s *UpdateInfraBillingNodeRequestDto) Validate() error
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 ¶
func (s *UpdateInfraProviderRequestDto) Decode(d *jx.Decoder) error
Decode decodes UpdateInfraProviderRequestDto from json.
func (*UpdateInfraProviderRequestDto) Encode ¶
func (s *UpdateInfraProviderRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateInfraProviderRequestDto) GetFaviconLink ¶
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 ¶
func (s *UpdateInfraProviderRequestDto) GetName() OptString
GetName returns the value of Name.
func (*UpdateInfraProviderRequestDto) GetUUID ¶
func (s *UpdateInfraProviderRequestDto) GetUUID() uuid.UUID
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 (*UpdateInfraProviderRequestDto) SetFaviconLink ¶
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 ¶
func (s *UpdateInternalSquadRequestDto) Decode(d *jx.Decoder) error
Decode decodes UpdateInternalSquadRequestDto from json.
func (*UpdateInternalSquadRequestDto) Encode ¶
func (s *UpdateInternalSquadRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateInternalSquadRequestDto) GetInbounds ¶
func (s *UpdateInternalSquadRequestDto) GetInbounds() []uuid.UUID
GetInbounds returns the value of Inbounds.
func (*UpdateInternalSquadRequestDto) GetName ¶
func (s *UpdateInternalSquadRequestDto) GetName() OptString
GetName returns the value of Name.
func (*UpdateInternalSquadRequestDto) GetUUID ¶
func (s *UpdateInternalSquadRequestDto) GetUUID() uuid.UUID
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 ¶
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 ¶
func (s *UpdateRemnawaveSettingsRequestDto) Decode(d *jx.Decoder) error
Decode decodes UpdateRemnawaveSettingsRequestDto from json.
func (*UpdateRemnawaveSettingsRequestDto) Encode ¶
func (s *UpdateRemnawaveSettingsRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateRemnawaveSettingsRequestDto) GetBrandingSettings ¶
func (s *UpdateRemnawaveSettingsRequestDto) GetBrandingSettings() OptNilBrandingSettings
GetBrandingSettings returns the value of BrandingSettings.
func (*UpdateRemnawaveSettingsRequestDto) GetOauth2Settings ¶
func (s *UpdateRemnawaveSettingsRequestDto) GetOauth2Settings() OptNilOauth2Settings
GetOauth2Settings returns the value of Oauth2Settings.
func (*UpdateRemnawaveSettingsRequestDto) GetPasskeySettings ¶
func (s *UpdateRemnawaveSettingsRequestDto) GetPasskeySettings() OptNilPasskeySettings
GetPasskeySettings returns the value of PasskeySettings.
func (*UpdateRemnawaveSettingsRequestDto) GetPasswordSettings ¶
func (s *UpdateRemnawaveSettingsRequestDto) GetPasswordSettings() OptNilPasswordSettings
GetPasswordSettings returns the value of PasswordSettings.
func (*UpdateRemnawaveSettingsRequestDto) GetTgAuthSettings ¶
func (s *UpdateRemnawaveSettingsRequestDto) GetTgAuthSettings() OptNilTgAuthSettings
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 ¶
func (s *UpdateRemnawaveSettingsRequestDto) Validate() error
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 ¶
func (s *UpdateSubscriptionPageConfigRequestDto) Decode(d *jx.Decoder) error
Decode decodes UpdateSubscriptionPageConfigRequestDto from json.
func (*UpdateSubscriptionPageConfigRequestDto) Encode ¶
func (s *UpdateSubscriptionPageConfigRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateSubscriptionPageConfigRequestDto) GetConfig ¶
func (s *UpdateSubscriptionPageConfigRequestDto) GetConfig() jx.Raw
GetConfig returns the value of Config.
func (*UpdateSubscriptionPageConfigRequestDto) GetName ¶
func (s *UpdateSubscriptionPageConfigRequestDto) GetName() OptString
GetName returns the value of Name.
func (*UpdateSubscriptionPageConfigRequestDto) GetUUID ¶
func (s *UpdateSubscriptionPageConfigRequestDto) GetUUID() uuid.UUID
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 ¶
func (s *UpdateSubscriptionPageConfigRequestDto) SetFake()
SetFake set fake values.
func (*UpdateSubscriptionPageConfigRequestDto) SetName ¶
func (s *UpdateSubscriptionPageConfigRequestDto) SetName(val OptString)
SetName sets the value of Name.
func (*UpdateSubscriptionPageConfigRequestDto) SetUUID ¶
func (s *UpdateSubscriptionPageConfigRequestDto) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*UpdateSubscriptionPageConfigRequestDto) UnmarshalJSON ¶
func (s *UpdateSubscriptionPageConfigRequestDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateSubscriptionPageConfigRequestDto) Validate ¶
func (s *UpdateSubscriptionPageConfigRequestDto) Validate() error
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 ¶
func (s *UpdateSubscriptionSettingsRequestDto) Decode(d *jx.Decoder) error
Decode decodes UpdateSubscriptionSettingsRequestDto from json.
func (*UpdateSubscriptionSettingsRequestDto) Encode ¶
func (s *UpdateSubscriptionSettingsRequestDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateSubscriptionSettingsRequestDto) GetCustomRemarks ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetCustomRemarks() OptNilCustomRemark
GetCustomRemarks returns the value of CustomRemarks.
func (*UpdateSubscriptionSettingsRequestDto) GetCustomResponseHeaders ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetCustomResponseHeaders() OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders
GetCustomResponseHeaders returns the value of CustomResponseHeaders.
func (*UpdateSubscriptionSettingsRequestDto) GetHappAnnounce ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetHappAnnounce() OptNilString
GetHappAnnounce returns the value of HappAnnounce.
func (*UpdateSubscriptionSettingsRequestDto) GetHappRouting ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetHappRouting() OptNilString
GetHappRouting returns the value of HappRouting.
func (*UpdateSubscriptionSettingsRequestDto) GetHwidSettings ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetHwidSettings() OptNilHwidSettings
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 ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetResponseRules() OptResponseRules
GetResponseRules returns the value of ResponseRules.
func (*UpdateSubscriptionSettingsRequestDto) GetServeJsonAtBaseSubscription ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetServeJsonAtBaseSubscription() OptBool
GetServeJsonAtBaseSubscription returns the value of ServeJsonAtBaseSubscription.
func (*UpdateSubscriptionSettingsRequestDto) GetSupportLink ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetSupportLink() OptString
GetSupportLink returns the value of SupportLink.
func (*UpdateSubscriptionSettingsRequestDto) GetUUID ¶
func (s *UpdateSubscriptionSettingsRequestDto) GetUUID() uuid.UUID
GetUUID returns the value of UUID.
func (*UpdateSubscriptionSettingsRequestDto) MarshalJSON ¶
func (s *UpdateSubscriptionSettingsRequestDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateSubscriptionSettingsRequestDto) SetCustomRemarks ¶
func (s *UpdateSubscriptionSettingsRequestDto) SetCustomRemarks(val OptNilCustomRemark)
SetCustomRemarks sets the value of CustomRemarks.
func (*UpdateSubscriptionSettingsRequestDto) SetCustomResponseHeaders ¶
func (s *UpdateSubscriptionSettingsRequestDto) SetCustomResponseHeaders(val OptUpdateSubscriptionSettingsRequestDtoCustomResponseHeaders)
SetCustomResponseHeaders sets the value of CustomResponseHeaders.
func (*UpdateSubscriptionSettingsRequestDto) SetFake ¶
func (s *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 ¶
func (s *UpdateSubscriptionSettingsRequestDto) SetHwidSettings(val OptNilHwidSettings)
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 (*UpdateSubscriptionSettingsRequestDto) SetSupportLink ¶
func (s *UpdateSubscriptionSettingsRequestDto) SetSupportLink(val OptString)
SetSupportLink sets the value of SupportLink.
func (*UpdateSubscriptionSettingsRequestDto) SetUUID ¶
func (s *UpdateSubscriptionSettingsRequestDto) SetUUID(val uuid.UUID)
SetUUID sets the value of UUID.
func (*UpdateSubscriptionSettingsRequestDto) UnmarshalJSON ¶
func (s *UpdateSubscriptionSettingsRequestDto) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateSubscriptionSettingsRequestDto) Validate ¶
func (s *UpdateSubscriptionSettingsRequestDto) Validate() error
type UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders ¶
func (*UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Decode ¶
func (s *UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Decode(d *jx.Decoder) error
Decode decodes UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders from json.
func (UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Encode ¶
func (s UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) MarshalJSON ¶
func (s UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetFake ¶
func (s *UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) SetFake()
SetFake set fake values.
func (*UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UnmarshalJSON ¶
func (s *UpdateSubscriptionSettingsRequestDtoCustomResponseHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (s *UpdateTemplateRequestDto) GetTemplateJson() *UpdateTemplateRequestDtoTemplateJson
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 ¶
func (s *UpdateTemplateRequestDto) SetTemplateJson(val *UpdateTemplateRequestDtoTemplateJson)
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 ¶
func (s *UpdateTemplateRequestDtoTemplateJson) Decode(d *jx.Decoder) error
Decode decodes UpdateTemplateRequestDtoTemplateJson from json.
func (*UpdateTemplateRequestDtoTemplateJson) Encode ¶
func (s *UpdateTemplateRequestDtoTemplateJson) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateTemplateRequestDtoTemplateJson) MarshalJSON ¶
func (s *UpdateTemplateRequestDtoTemplateJson) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateTemplateRequestDtoTemplateJson) SetFake ¶
func (s *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 ¶
func (s *UpdateUserRequestDto) GetStatus() OptUpdateUserRequestDtoStatus
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 ¶
func (s *UpdateUserRequestDto) GetTrafficLimitStrategy() OptUpdateUserRequestDtoTrafficLimitStrategy
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 ¶
func (s *UpdateUserRequestDto) SetStatus(val OptUpdateUserRequestDtoStatus)
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 ¶
func (UpdateUserRequestDtoStatus) AllValues() []UpdateUserRequestDtoStatus
AllValues returns all UpdateUserRequestDtoStatus values.
func (*UpdateUserRequestDtoStatus) Decode ¶
func (s *UpdateUserRequestDtoStatus) Decode(d *jx.Decoder) error
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 ¶
func (UpdateUserRequestDtoTrafficLimitStrategy) AllValues() []UpdateUserRequestDtoTrafficLimitStrategy
AllValues returns all UpdateUserRequestDtoTrafficLimitStrategy values.
func (*UpdateUserRequestDtoTrafficLimitStrategy) Decode ¶
func (s *UpdateUserRequestDtoTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes UpdateUserRequestDtoTrafficLimitStrategy from json.
func (UpdateUserRequestDtoTrafficLimitStrategy) Encode ¶
func (s UpdateUserRequestDtoTrafficLimitStrategy) Encode(e *jx.Encoder)
Encode encodes UpdateUserRequestDtoTrafficLimitStrategy as json.
func (UpdateUserRequestDtoTrafficLimitStrategy) MarshalJSON ¶
func (s UpdateUserRequestDtoTrafficLimitStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UpdateUserRequestDtoTrafficLimitStrategy) MarshalText ¶
func (s UpdateUserRequestDtoTrafficLimitStrategy) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UpdateUserRequestDtoTrafficLimitStrategy) SetFake ¶
func (s *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 ¶
func (s UpdateUserRequestDtoTrafficLimitStrategy) Validate() error
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) GetActiveInternalSquads ¶
func (s *User) GetActiveInternalSquads() []ActiveInternalSquad
GetActiveInternalSquads returns the value of ActiveInternalSquads.
func (*User) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*User) GetDescription ¶
GetDescription returns the value of Description.
func (*User) GetExpireAt ¶
GetExpireAt returns the value of ExpireAt.
func (*User) GetExternalSquadUuid ¶
GetExternalSquadUuid returns the value of ExternalSquadUuid.
func (*User) GetHwidDeviceLimit ¶
GetHwidDeviceLimit returns the value of HwidDeviceLimit.
func (*User) GetLastTrafficResetAt ¶
func (s *User) GetLastTrafficResetAt() NilDateTime
GetLastTrafficResetAt returns the value of LastTrafficResetAt.
func (*User) GetLastTriggeredThreshold ¶
GetLastTriggeredThreshold returns the value of LastTriggeredThreshold.
func (*User) GetShortUuid ¶
GetShortUuid returns the value of ShortUuid.
func (*User) GetSsPassword ¶
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 ¶
GetSubLastUserAgent returns the value of SubLastUserAgent.
func (*User) GetSubRevokedAt ¶
func (s *User) GetSubRevokedAt() NilDateTime
GetSubRevokedAt returns the value of SubRevokedAt.
func (*User) GetSubscriptionUrl ¶
GetSubscriptionUrl returns the value of SubscriptionUrl.
func (*User) GetTelegramId ¶
GetTelegramId returns the value of TelegramId.
func (*User) GetTrafficLimitBytes ¶
GetTrafficLimitBytes returns the value of TrafficLimitBytes.
func (*User) GetTrafficLimitStrategy ¶
func (s *User) GetTrafficLimitStrategy() OptUserTrafficLimitStrategy
GetTrafficLimitStrategy returns the value of TrafficLimitStrategy.
func (*User) GetTrojanPassword ¶
GetTrojanPassword returns the value of TrojanPassword.
func (*User) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*User) GetUserTraffic ¶
func (s *User) GetUserTraffic() UserTrafficItem
GetUserTraffic returns the value of UserTraffic.
func (*User) GetUsername ¶
GetUsername returns the value of Username.
func (*User) GetVlessUuid ¶
GetVlessUuid returns the value of VlessUuid.
func (*User) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*User) SetActiveInternalSquads ¶
func (s *User) SetActiveInternalSquads(val []ActiveInternalSquad)
SetActiveInternalSquads sets the value of ActiveInternalSquads.
func (*User) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*User) SetDescription ¶
SetDescription sets the value of Description.
func (*User) SetExpireAt ¶
SetExpireAt sets the value of ExpireAt.
func (*User) SetExternalSquadUuid ¶
SetExternalSquadUuid sets the value of ExternalSquadUuid.
func (*User) SetHwidDeviceLimit ¶
SetHwidDeviceLimit sets the value of HwidDeviceLimit.
func (*User) SetLastTrafficResetAt ¶
func (s *User) SetLastTrafficResetAt(val NilDateTime)
SetLastTrafficResetAt sets the value of LastTrafficResetAt.
func (*User) SetLastTriggeredThreshold ¶
SetLastTriggeredThreshold sets the value of LastTriggeredThreshold.
func (*User) SetShortUuid ¶
SetShortUuid sets the value of ShortUuid.
func (*User) SetSsPassword ¶
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 ¶
SetSubLastUserAgent sets the value of SubLastUserAgent.
func (*User) SetSubRevokedAt ¶
func (s *User) SetSubRevokedAt(val NilDateTime)
SetSubRevokedAt sets the value of SubRevokedAt.
func (*User) SetSubscriptionUrl ¶
SetSubscriptionUrl sets the value of SubscriptionUrl.
func (*User) SetTelegramId ¶
SetTelegramId sets the value of TelegramId.
func (*User) SetTrafficLimitBytes ¶
SetTrafficLimitBytes sets the value of TrafficLimitBytes.
func (*User) SetTrafficLimitStrategy ¶
func (s *User) SetTrafficLimitStrategy(val OptUserTrafficLimitStrategy)
SetTrafficLimitStrategy sets the value of TrafficLimitStrategy.
func (*User) SetTrojanPassword ¶
SetTrojanPassword sets the value of TrojanPassword.
func (*User) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*User) SetUserTraffic ¶
func (s *User) SetUserTraffic(val UserTrafficItem)
SetUserTraffic sets the value of UserTraffic.
func (*User) SetUsername ¶
SetUsername sets the value of Username.
func (*User) SetVlessUuid ¶
SetVlessUuid sets the value of VlessUuid.
func (*User) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetDaysLeft ¶
GetDaysLeft returns the value of DaysLeft.
func (*UserItem) GetExpiresAt ¶
GetExpiresAt returns the value of ExpiresAt.
func (*UserItem) GetIsActive ¶
GetIsActive returns the value of IsActive.
func (*UserItem) GetLifetimeTrafficUsed ¶
GetLifetimeTrafficUsed returns the value of LifetimeTrafficUsed.
func (*UserItem) GetLifetimeTrafficUsedBytes ¶
GetLifetimeTrafficUsedBytes returns the value of LifetimeTrafficUsedBytes.
func (*UserItem) GetShortUuid ¶
GetShortUuid returns the value of ShortUuid.
func (*UserItem) GetTrafficLimit ¶
GetTrafficLimit returns the value of TrafficLimit.
func (*UserItem) GetTrafficLimitBytes ¶
GetTrafficLimitBytes returns the value of TrafficLimitBytes.
func (*UserItem) GetTrafficLimitStrategy ¶
func (s *UserItem) GetTrafficLimitStrategy() UserItemTrafficLimitStrategy
GetTrafficLimitStrategy returns the value of TrafficLimitStrategy.
func (*UserItem) GetTrafficUsed ¶
GetTrafficUsed returns the value of TrafficUsed.
func (*UserItem) GetTrafficUsedBytes ¶
GetTrafficUsedBytes returns the value of TrafficUsedBytes.
func (*UserItem) GetUserStatus ¶
func (s *UserItem) GetUserStatus() UserItemUserStatus
GetUserStatus returns the value of UserStatus.
func (*UserItem) GetUsername ¶
GetUsername returns the value of Username.
func (*UserItem) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*UserItem) SetDaysLeft ¶
SetDaysLeft sets the value of DaysLeft.
func (*UserItem) SetExpiresAt ¶
SetExpiresAt sets the value of ExpiresAt.
func (*UserItem) SetIsActive ¶
SetIsActive sets the value of IsActive.
func (*UserItem) SetLifetimeTrafficUsed ¶
SetLifetimeTrafficUsed sets the value of LifetimeTrafficUsed.
func (*UserItem) SetLifetimeTrafficUsedBytes ¶
SetLifetimeTrafficUsedBytes sets the value of LifetimeTrafficUsedBytes.
func (*UserItem) SetShortUuid ¶
SetShortUuid sets the value of ShortUuid.
func (*UserItem) SetTrafficLimit ¶
SetTrafficLimit sets the value of TrafficLimit.
func (*UserItem) SetTrafficLimitBytes ¶
SetTrafficLimitBytes sets the value of TrafficLimitBytes.
func (*UserItem) SetTrafficLimitStrategy ¶
func (s *UserItem) SetTrafficLimitStrategy(val UserItemTrafficLimitStrategy)
SetTrafficLimitStrategy sets the value of TrafficLimitStrategy.
func (*UserItem) SetTrafficUsed ¶
SetTrafficUsed sets the value of TrafficUsed.
func (*UserItem) SetTrafficUsedBytes ¶
SetTrafficUsedBytes sets the value of TrafficUsedBytes.
func (*UserItem) SetUserStatus ¶
func (s *UserItem) SetUserStatus(val UserItemUserStatus)
SetUserStatus sets the value of UserStatus.
func (*UserItem) SetUsername ¶
SetUsername sets the value of Username.
func (*UserItem) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type UserItemTrafficLimitStrategy ¶
type UserItemTrafficLimitStrategy string
const ( UserItemTrafficLimitStrategyNORESET UserItemTrafficLimitStrategy = "NO_RESET" UserItemTrafficLimitStrategyDAY UserItemTrafficLimitStrategy = "DAY" UserItemTrafficLimitStrategyWEEK UserItemTrafficLimitStrategy = "WEEK" UserItemTrafficLimitStrategyMONTH UserItemTrafficLimitStrategy = "MONTH" )
func (UserItemTrafficLimitStrategy) AllValues ¶
func (UserItemTrafficLimitStrategy) AllValues() []UserItemTrafficLimitStrategy
AllValues returns all UserItemTrafficLimitStrategy values.
func (*UserItemTrafficLimitStrategy) Decode ¶
func (s *UserItemTrafficLimitStrategy) Decode(d *jx.Decoder) error
Decode decodes UserItemTrafficLimitStrategy from json.
func (UserItemTrafficLimitStrategy) Encode ¶
func (s UserItemTrafficLimitStrategy) Encode(e *jx.Encoder)
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) 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) 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 ¶
func (sc *UserSubscriptionRequestHistoryClient) GetSubscriptionRequestHistory(ctx context.Context, size float64, start float64) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryRes, error)
GetSubscriptionRequestHistory calls UserSubscriptionRequestHistoryController_getSubscriptionRequestHistory.
func (*UserSubscriptionRequestHistoryClient) GetSubscriptionRequestHistoryStats ¶
func (sc *UserSubscriptionRequestHistoryClient) GetSubscriptionRequestHistoryStats(ctx context.Context) (UserSubscriptionRequestHistoryControllerGetSubscriptionRequestHistoryStatsRes, error)
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) 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 ¶
func (UserTrafficLimitStrategy) AllValues() []UserTrafficLimitStrategy
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 ¶
func (sc *UsersBulkActionsClient) BulkAllExtendExpirationDate(ctx context.Context, request *BulkAllExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkAllExtendExpirationDateRes, error)
BulkAllExtendExpirationDate calls UsersBulkActionsController_bulkAllExtendExpirationDate.
func (*UsersBulkActionsClient) BulkAllResetUserTraffic ¶
func (sc *UsersBulkActionsClient) BulkAllResetUserTraffic(ctx context.Context) (UsersBulkActionsControllerBulkAllResetUserTrafficRes, error)
BulkAllResetUserTraffic calls UsersBulkActionsController_bulkAllResetUserTraffic.
func (*UsersBulkActionsClient) BulkDeleteUsers ¶
func (sc *UsersBulkActionsClient) BulkDeleteUsers(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkDeleteUsersRes, error)
BulkDeleteUsers calls UsersBulkActionsController_bulkDeleteUsers.
func (*UsersBulkActionsClient) BulkDeleteUsersByStatus ¶
func (sc *UsersBulkActionsClient) BulkDeleteUsersByStatus(ctx context.Context, request *BulkDeleteUsersByStatusRequestDto) (UsersBulkActionsControllerBulkDeleteUsersByStatusRes, error)
BulkDeleteUsersByStatus calls UsersBulkActionsController_bulkDeleteUsersByStatus.
func (*UsersBulkActionsClient) BulkExtendExpirationDate ¶
func (sc *UsersBulkActionsClient) BulkExtendExpirationDate(ctx context.Context, request *BulkExtendExpirationDateRequestDto) (UsersBulkActionsControllerBulkExtendExpirationDateRes, error)
BulkExtendExpirationDate calls UsersBulkActionsController_bulkExtendExpirationDate.
func (*UsersBulkActionsClient) BulkResetUserTraffic ¶
func (sc *UsersBulkActionsClient) BulkResetUserTraffic(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkResetUserTrafficRes, error)
BulkResetUserTraffic calls UsersBulkActionsController_bulkResetUserTraffic.
func (*UsersBulkActionsClient) BulkRevokeUsersSubscription ¶
func (sc *UsersBulkActionsClient) BulkRevokeUsersSubscription(ctx context.Context, request *BulkUuidsRequest) (UsersBulkActionsControllerBulkRevokeUsersSubscriptionRes, error)
BulkRevokeUsersSubscription calls UsersBulkActionsController_bulkRevokeUsersSubscription.
func (*UsersBulkActionsClient) BulkUpdateAllUsers ¶
func (sc *UsersBulkActionsClient) BulkUpdateAllUsers(ctx context.Context, request *BulkAllUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateAllUsersRes, error)
BulkUpdateAllUsers calls UsersBulkActionsController_bulkUpdateAllUsers.
func (*UsersBulkActionsClient) BulkUpdateUsers ¶
func (sc *UsersBulkActionsClient) BulkUpdateUsers(ctx context.Context, request *BulkUpdateUsersRequestDto) (UsersBulkActionsControllerBulkUpdateUsersRes, error)
BulkUpdateUsers calls UsersBulkActionsController_bulkUpdateUsers.
func (*UsersBulkActionsClient) BulkUpdateUsersInternalSquads ¶
func (sc *UsersBulkActionsClient) BulkUpdateUsersInternalSquads(ctx context.Context, request *BulkUpdateUsersSquadsRequestDto) (UsersBulkActionsControllerBulkUpdateUsersInternalSquadsRes, error)
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 ¶
func (sc *UsersClient) CreateUser(ctx context.Context, request *CreateUserRequestDto) (UsersControllerCreateUserRes, error)
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 ¶
func (sc *UsersClient) GetAllTags(ctx context.Context) (UsersControllerGetAllTagsRes, error)
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 ¶
func (sc *UsersClient) GetUserById(ctx context.Context, id string) (UsersControllerGetUserByIdRes, error)
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 ¶
func (sc *UsersClient) RevokeUserSubscription(ctx context.Context, request *RevokeUserSubscriptionBodyDto, uuid string) (UsersControllerRevokeUserSubscriptionRes, error)
RevokeUserSubscription calls UsersController_revokeUserSubscription.
func (*UsersClient) UpdateUser ¶
func (sc *UsersClient) UpdateUser(ctx context.Context, request *UpdateUserRequestDto) (UsersControllerUpdateUserRes, error)
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) 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) 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 ¶
func (s *VerifyPasskeyRegistrationResponseDto) Decode(d *jx.Decoder) error
Decode decodes VerifyPasskeyRegistrationResponseDto from json.
func (*VerifyPasskeyRegistrationResponseDto) Encode ¶
func (s *VerifyPasskeyRegistrationResponseDto) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VerifyPasskeyRegistrationResponseDto) GetResponse ¶
func (s *VerifyPasskeyRegistrationResponseDto) GetResponse() VerifyPasskeyRegistrationResponseDtoResponse
GetResponse returns the value of Response.
func (*VerifyPasskeyRegistrationResponseDto) MarshalJSON ¶
func (s *VerifyPasskeyRegistrationResponseDto) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*VerifyPasskeyRegistrationResponseDto) SetFake ¶
func (s *VerifyPasskeyRegistrationResponseDto) SetFake()
SetFake set fake values.
func (*VerifyPasskeyRegistrationResponseDto) SetResponse ¶
func (s *VerifyPasskeyRegistrationResponseDto) SetResponse(val VerifyPasskeyRegistrationResponseDtoResponse)
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 ¶
func (s *VerifyPasskeyRegistrationResponseDtoResponse) Decode(d *jx.Decoder) error
Decode decodes VerifyPasskeyRegistrationResponseDtoResponse from json.
func (*VerifyPasskeyRegistrationResponseDtoResponse) Encode ¶
func (s *VerifyPasskeyRegistrationResponseDtoResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VerifyPasskeyRegistrationResponseDtoResponse) GetVerified ¶
func (s *VerifyPasskeyRegistrationResponseDtoResponse) GetVerified() bool
GetVerified returns the value of Verified.
func (*VerifyPasskeyRegistrationResponseDtoResponse) MarshalJSON ¶
func (s *VerifyPasskeyRegistrationResponseDtoResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*VerifyPasskeyRegistrationResponseDtoResponse) SetFake ¶
func (s *VerifyPasskeyRegistrationResponseDtoResponse) SetFake()
SetFake set fake values.
func (*VerifyPasskeyRegistrationResponseDtoResponse) SetVerified ¶
func (s *VerifyPasskeyRegistrationResponseDtoResponse) SetVerified(val bool)
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 ¶
func (s *VerifyPasskeyRegistrationResponseDtoStatusCode) GetResponse() VerifyPasskeyRegistrationResponseDto
GetResponse returns the value of Response.
func (*VerifyPasskeyRegistrationResponseDtoStatusCode) GetStatusCode ¶
func (s *VerifyPasskeyRegistrationResponseDtoStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*VerifyPasskeyRegistrationResponseDtoStatusCode) SetResponse ¶
func (s *VerifyPasskeyRegistrationResponseDtoStatusCode) SetResponse(val VerifyPasskeyRegistrationResponseDto)
SetResponse sets the value of Response.
func (*VerifyPasskeyRegistrationResponseDtoStatusCode) SetStatusCode ¶
func (s *VerifyPasskeyRegistrationResponseDtoStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
Source Files
¶
- client_ext.go
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_faker_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_validators_gen.go
- unknown_fields_handler.go
- utils.go