Documentation ¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type AccountLoginRes
- type AccountLoginV2Res
- type AccountPasswordResetCheckValidParams
- type AccountPasswordResetCheckValidRes
- type AccountPasswordResetCompleteParams
- type AccountPasswordResetCompleteRes
- type AccountSignUpRes
- type AccountSignUpV2BadRequest
- type AccountSignUpV2Conflict
- type AccountSignUpV2Forbidden
- type AccountSignUpV2Res
- type AdminGetOnlineDevicesRes
- type AdminGetOnlineDevicesUnauthorized
- type AdminOnlineDeviceResponse
- func (s *AdminOnlineDeviceResponse) Decode(d *jx.Decoder) error
- func (s *AdminOnlineDeviceResponse) Encode(e *jx.Encoder)
- func (s *AdminOnlineDeviceResponse) GetConnectedAt() OptDateTime
- func (s *AdminOnlineDeviceResponse) GetFirmwareVersion() OptNilString
- func (s *AdminOnlineDeviceResponse) GetGateway() OptNilString
- func (s *AdminOnlineDeviceResponse) GetID() OptUUID
- func (s *AdminOnlineDeviceResponse) GetName() OptNilString
- func (s *AdminOnlineDeviceResponse) GetOwner() OptGenericIni
- func (s *AdminOnlineDeviceResponse) MarshalJSON() ([]byte, error)
- func (s *AdminOnlineDeviceResponse) SetConnectedAt(val OptDateTime)
- func (s *AdminOnlineDeviceResponse) SetFake()
- func (s *AdminOnlineDeviceResponse) SetFirmwareVersion(val OptNilString)
- func (s *AdminOnlineDeviceResponse) SetGateway(val OptNilString)
- func (s *AdminOnlineDeviceResponse) SetID(val OptUUID)
- func (s *AdminOnlineDeviceResponse) SetName(val OptNilString)
- func (s *AdminOnlineDeviceResponse) SetOwner(val OptGenericIni)
- func (s *AdminOnlineDeviceResponse) UnmarshalJSON(data []byte) error
- func (s *AdminOnlineDeviceResponse) Validate() error
- type AdminOnlineDeviceResponseIEnumerableBaseResponse
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) GetData() OptNilAdminOnlineDeviceResponseArray
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) SetData(val OptNilAdminOnlineDeviceResponseArray)
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) SetFake()
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) Validate() error
- type BooleanNullableBaseResponse
- func (s *BooleanNullableBaseResponse) Decode(d *jx.Decoder) error
- func (s *BooleanNullableBaseResponse) Encode(e *jx.Encoder)
- func (s *BooleanNullableBaseResponse) GetData() OptNilBool
- func (s *BooleanNullableBaseResponse) GetMessage() OptNilString
- func (s *BooleanNullableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *BooleanNullableBaseResponse) SetData(val OptNilBool)
- func (s *BooleanNullableBaseResponse) SetFake()
- func (s *BooleanNullableBaseResponse) SetMessage(val OptNilString)
- func (s *BooleanNullableBaseResponse) UnmarshalJSON(data []byte) error
- type Client
- func (c *Client) AccountLogin(ctx context.Context, request OptLogin) (AccountLoginRes, error)
- func (c *Client) AccountLoginV2(ctx context.Context, request OptLoginV2) (AccountLoginV2Res, error)
- func (c *Client) AccountPasswordResetCheckValid(ctx context.Context, params AccountPasswordResetCheckValidParams) (AccountPasswordResetCheckValidRes, error)
- func (c *Client) AccountPasswordResetComplete(ctx context.Context, request OptPasswordResetProcessData, ...) (AccountPasswordResetCompleteRes, error)
- func (c *Client) AccountPasswordResetInitiate(ctx context.Context, request OptResetRequest) (*ObjectBaseResponse, error)
- func (c *Client) AccountSignUp(ctx context.Context, request OptSignUp) (AccountSignUpRes, error)
- func (c *Client) AccountSignUpV2(ctx context.Context, request OptSignUpV2) (AccountSignUpV2Res, error)
- func (c *Client) AdminGetOnlineDevices(ctx context.Context) (AdminGetOnlineDevicesRes, error)
- func (c *Client) DeviceGetLiveControlGateway(ctx context.Context) (DeviceGetLiveControlGatewayRes, error)
- func (c *Client) DeviceGetSelf(ctx context.Context) (*DeviceSelfResponseBaseResponse, error)
- func (c *Client) DevicePair(ctx context.Context, params DevicePairParams) (DevicePairRes, error)
- func (c *Client) DevicePairDEPRECATED(ctx context.Context, params DevicePairDEPRECATEDParams) (DevicePairDEPRECATEDRes, error)
- func (c *Client) DevicesCreateDevice(ctx context.Context) (*GuidBaseResponse, error)
- func (c *Client) DevicesEditDevice(ctx context.Context, request OptDeviceEdit, params DevicesEditDeviceParams) (DevicesEditDeviceRes, error)
- func (c *Client) DevicesGetDeviceById(ctx context.Context, params DevicesGetDeviceByIdParams) (DevicesGetDeviceByIdRes, error)
- func (c *Client) DevicesGetLiveControlGatewayInfo(ctx context.Context, params DevicesGetLiveControlGatewayInfoParams) (DevicesGetLiveControlGatewayInfoRes, error)
- func (c *Client) DevicesGetOtaUpdateHistory(ctx context.Context, params DevicesGetOtaUpdateHistoryParams) (DevicesGetOtaUpdateHistoryRes, error)
- func (c *Client) DevicesGetPairCode(ctx context.Context, params DevicesGetPairCodeParams) (DevicesGetPairCodeRes, error)
- func (c *Client) DevicesGetShockers(ctx context.Context, params DevicesGetShockersParams) (DevicesGetShockersRes, error)
- func (c *Client) DevicesListDevices(ctx context.Context) (*ResponseDeviceIEnumerableBaseResponse, error)
- func (c *Client) DevicesRegenerateDeviceToken(ctx context.Context, params DevicesRegenerateDeviceTokenParams) (DevicesRegenerateDeviceTokenRes, error)
- func (c *Client) DevicesRemoveDevice(ctx context.Context, params DevicesRemoveDeviceParams) (DevicesRemoveDeviceRes, error)
- func (c *Client) PublicGetOnlineDevicesStatistics(ctx context.Context) (*StatsResponseBaseResponse, error)
- func (c *Client) PublicGetShareLink(ctx context.Context, params PublicGetShareLinkParams) (PublicGetShareLinkRes, error)
- func (c *Client) ShareLinksAddShocker(ctx context.Context, params ShareLinksAddShockerParams) (ShareLinksAddShockerRes, error)
- func (c *Client) ShareLinksCreateShareLink(ctx context.Context, request OptShareLinkCreate) (*GuidBaseResponse, error)
- func (c *Client) ShareLinksDeleteShareLink(ctx context.Context, params ShareLinksDeleteShareLinkParams) (ShareLinksDeleteShareLinkRes, error)
- func (c *Client) ShareLinksEditShocker(ctx context.Context, request OptShareLinkEditShocker, ...) (ShareLinksEditShockerRes, error)
- func (c *Client) ShareLinksList(ctx context.Context) (*ShareLinkResponseIEnumerableBaseResponse, error)
- func (c *Client) ShareLinksPauseShocker(ctx context.Context, request OptPauseRequest, ...) (ShareLinksPauseShockerRes, error)
- func (c *Client) ShareLinksRemoveShocker(ctx context.Context, params ShareLinksRemoveShockerParams) (ShareLinksRemoveShockerRes, error)
- func (c *Client) SharesDeleteShareCode(ctx context.Context, params SharesDeleteShareCodeParams) (SharesDeleteShareCodeRes, error)
- func (c *Client) SharesLinkShareCode(ctx context.Context, params SharesLinkShareCodeParams) (SharesLinkShareCodeRes, error)
- func (c *Client) ShockerEditShocker(ctx context.Context, request OptNewShocker, params ShockerEditShockerParams) (ShockerEditShockerRes, error)
- func (c *Client) ShockerGetShockerById(ctx context.Context, params ShockerGetShockerByIdParams) (ShockerGetShockerByIdRes, error)
- func (c *Client) ShockerGetShockerLogs(ctx context.Context, params ShockerGetShockerLogsParams) (ShockerGetShockerLogsRes, error)
- func (c *Client) ShockerGetShockerShares(ctx context.Context, params ShockerGetShockerSharesParams) (ShockerGetShockerSharesRes, error)
- func (c *Client) ShockerListSharedShockers(ctx context.Context) (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse, error)
- func (c *Client) ShockerListShockers(ctx context.Context) (*ResponseDeviceWithShockersIEnumerableBaseResponse, error)
- func (c *Client) ShockerPauseShocker(ctx context.Context, request OptPauseRequest, params ShockerPauseShockerParams) (ShockerPauseShockerRes, error)
- func (c *Client) ShockerRegisterShocker(ctx context.Context, request OptNewShocker) (ShockerRegisterShockerRes, error)
- func (c *Client) ShockerRemoveShocker(ctx context.Context, params ShockerRemoveShockerParams) (ShockerRemoveShockerRes, error)
- func (c *Client) ShockerSendControl(ctx context.Context, request OptControlRequest) (ShockerSendControlRes, error)
- func (c *Client) ShockerSendControlDEPRECATED(ctx context.Context, request []Control) (ShockerSendControlDEPRECATEDRes, error)
- func (c *Client) ShockerShockerShareCodeCreate(ctx context.Context, request OptCreateShareCode, ...) (ShockerShockerShareCodeCreateRes, error)
- func (c *Client) ShockerShockerShareCodeList(ctx context.Context, params ShockerShockerShareCodeListParams) (ShockerShockerShareCodeListRes, error)
- func (c *Client) ShockerShockerShareCodePause(ctx context.Context, request OptPauseRequest, ...) (ShockerShockerShareCodePauseRes, error)
- func (c *Client) ShockerShockerShareCodeRemove(ctx context.Context, params ShockerShockerShareCodeRemoveParams) (ShockerShockerShareCodeRemoveRes, error)
- func (c *Client) ShockerShockerShareCodeUpdate(ctx context.Context, request OptCreateShareCode, ...) (ShockerShockerShareCodeUpdateRes, error)
- func (c *Client) TokensCreateToken(ctx context.Context, request OptCreateTokenRequest) (*StringBaseResponse, error)
- func (c *Client) TokensDeleteToken(ctx context.Context, params TokensDeleteTokenParams) (TokensDeleteTokenRes, error)
- func (c *Client) TokensEditToken(ctx context.Context, request OptEditTokenRequest, params TokensEditTokenParams) (TokensEditTokenRes, error)
- func (c *Client) TokensGetTokenById(ctx context.Context, params TokensGetTokenByIdParams) (TokensGetTokenByIdRes, error)
- func (c *Client) TokensListTokens(ctx context.Context) (*TokenResponseIEnumerableBaseResponse, error)
- func (c *Client) UsersGetSelf(ctx context.Context) (*SelfResponseBaseResponse, error)
- func (c *Client) VersionGetBackendVersion(ctx context.Context) (*RootResponseBaseResponse, error)
- type ClientOption
- type Control
- func (s *Control) Decode(d *jx.Decoder) error
- func (s *Control) Encode(e *jx.Encoder)
- func (s *Control) GetDuration() OptInt32
- func (s *Control) GetExclusive() OptBool
- func (s *Control) GetID() OptUUID
- func (s *Control) GetIntensity() OptInt32
- func (s *Control) GetType() OptControlType
- func (s *Control) MarshalJSON() ([]byte, error)
- func (s *Control) SetDuration(val OptInt32)
- func (s *Control) SetExclusive(val OptBool)
- func (s *Control) SetFake()
- func (s *Control) SetID(val OptUUID)
- func (s *Control) SetIntensity(val OptInt32)
- func (s *Control) SetType(val OptControlType)
- func (s *Control) UnmarshalJSON(data []byte) error
- func (s *Control) Validate() error
- type ControlLogSenderLight
- func (s *ControlLogSenderLight) Decode(d *jx.Decoder) error
- func (s *ControlLogSenderLight) Encode(e *jx.Encoder)
- func (s *ControlLogSenderLight) GetCustomName() OptNilString
- func (s *ControlLogSenderLight) GetID() OptUUID
- func (s *ControlLogSenderLight) GetImage() OptNilURI
- func (s *ControlLogSenderLight) GetName() OptNilString
- func (s *ControlLogSenderLight) MarshalJSON() ([]byte, error)
- func (s *ControlLogSenderLight) SetCustomName(val OptNilString)
- func (s *ControlLogSenderLight) SetFake()
- func (s *ControlLogSenderLight) SetID(val OptUUID)
- func (s *ControlLogSenderLight) SetImage(val OptNilURI)
- func (s *ControlLogSenderLight) SetName(val OptNilString)
- func (s *ControlLogSenderLight) UnmarshalJSON(data []byte) error
- type ControlRequest
- func (s *ControlRequest) Decode(d *jx.Decoder) error
- func (s *ControlRequest) Encode(e *jx.Encoder)
- func (s *ControlRequest) GetCustomName() OptNilString
- func (s *ControlRequest) GetShocks() OptNilControlArray
- func (s *ControlRequest) MarshalJSON() ([]byte, error)
- func (s *ControlRequest) SetCustomName(val OptNilString)
- func (s *ControlRequest) SetFake()
- func (s *ControlRequest) SetShocks(val OptNilControlArray)
- func (s *ControlRequest) UnmarshalJSON(data []byte) error
- func (s *ControlRequest) Validate() error
- type ControlType
- func (ControlType) AllValues() []ControlType
- func (s *ControlType) Decode(d *jx.Decoder) error
- func (s ControlType) Encode(e *jx.Encoder)
- func (s ControlType) MarshalJSON() ([]byte, error)
- func (s ControlType) MarshalText() ([]byte, error)
- func (s *ControlType) SetFake()
- func (s *ControlType) UnmarshalJSON(data []byte) error
- func (s *ControlType) UnmarshalText(data []byte) error
- func (s ControlType) Validate() error
- type CreateShareCode
- func (s *CreateShareCode) Decode(d *jx.Decoder) error
- func (s *CreateShareCode) Encode(e *jx.Encoder)
- func (s *CreateShareCode) GetLimits() OptShockerLimits
- func (s *CreateShareCode) GetPermissions() OptShockerPermissions
- func (s *CreateShareCode) MarshalJSON() ([]byte, error)
- func (s *CreateShareCode) SetFake()
- func (s *CreateShareCode) SetLimits(val OptShockerLimits)
- func (s *CreateShareCode) SetPermissions(val OptShockerPermissions)
- func (s *CreateShareCode) UnmarshalJSON(data []byte) error
- func (s *CreateShareCode) Validate() error
- type CreateTokenRequest
- func (s *CreateTokenRequest) Decode(d *jx.Decoder) error
- func (s *CreateTokenRequest) Encode(e *jx.Encoder)
- func (s *CreateTokenRequest) GetName() OptNilString
- func (s *CreateTokenRequest) GetPermissions() OptNilPermissionTypeArray
- func (s *CreateTokenRequest) GetValidUntil() OptNilDate
- func (s *CreateTokenRequest) MarshalJSON() ([]byte, error)
- func (s *CreateTokenRequest) SetFake()
- func (s *CreateTokenRequest) SetName(val OptNilString)
- func (s *CreateTokenRequest) SetPermissions(val OptNilPermissionTypeArray)
- func (s *CreateTokenRequest) SetValidUntil(val OptNilDate)
- func (s *CreateTokenRequest) UnmarshalJSON(data []byte) error
- func (s *CreateTokenRequest) Validate() error
- type DeviceEdit
- func (s *DeviceEdit) Decode(d *jx.Decoder) error
- func (s *DeviceEdit) Encode(e *jx.Encoder)
- func (s *DeviceEdit) GetName() OptNilString
- func (s *DeviceEdit) MarshalJSON() ([]byte, error)
- func (s *DeviceEdit) SetFake()
- func (s *DeviceEdit) SetName(val OptNilString)
- func (s *DeviceEdit) UnmarshalJSON(data []byte) error
- func (s *DeviceEdit) Validate() error
- type DeviceGetLiveControlGatewayRes
- type DevicePairDEPRECATEDParams
- type DevicePairDEPRECATEDRes
- type DevicePairParams
- type DevicePairRes
- type DeviceSelfResponse
- func (s *DeviceSelfResponse) Decode(d *jx.Decoder) error
- func (s *DeviceSelfResponse) Encode(e *jx.Encoder)
- func (s *DeviceSelfResponse) GetID() OptUUID
- func (s *DeviceSelfResponse) GetName() OptNilString
- func (s *DeviceSelfResponse) GetShockers() OptNilMinimalShockerArray
- func (s *DeviceSelfResponse) MarshalJSON() ([]byte, error)
- func (s *DeviceSelfResponse) SetFake()
- func (s *DeviceSelfResponse) SetID(val OptUUID)
- func (s *DeviceSelfResponse) SetName(val OptNilString)
- func (s *DeviceSelfResponse) SetShockers(val OptNilMinimalShockerArray)
- func (s *DeviceSelfResponse) UnmarshalJSON(data []byte) error
- func (s *DeviceSelfResponse) Validate() error
- type DeviceSelfResponseBaseResponse
- func (s *DeviceSelfResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *DeviceSelfResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *DeviceSelfResponseBaseResponse) GetData() OptDeviceSelfResponse
- func (s *DeviceSelfResponseBaseResponse) GetMessage() OptNilString
- func (s *DeviceSelfResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *DeviceSelfResponseBaseResponse) SetData(val OptDeviceSelfResponse)
- func (s *DeviceSelfResponseBaseResponse) SetFake()
- func (s *DeviceSelfResponseBaseResponse) SetMessage(val OptNilString)
- func (s *DeviceSelfResponseBaseResponse) UnmarshalJSON(data []byte) error
- func (s *DeviceSelfResponseBaseResponse) Validate() error
- type DevicesEditDeviceParams
- type DevicesEditDeviceRes
- type DevicesGetDeviceByIdParams
- type DevicesGetDeviceByIdRes
- type DevicesGetLiveControlGatewayInfoInternalServerError
- type DevicesGetLiveControlGatewayInfoNotFound
- func (s *DevicesGetLiveControlGatewayInfoNotFound) Decode(d *jx.Decoder) error
- func (s *DevicesGetLiveControlGatewayInfoNotFound) Encode(e *jx.Encoder)
- func (s *DevicesGetLiveControlGatewayInfoNotFound) MarshalJSON() ([]byte, error)
- func (s *DevicesGetLiveControlGatewayInfoNotFound) SetFake()
- func (s *DevicesGetLiveControlGatewayInfoNotFound) UnmarshalJSON(data []byte) error
- type DevicesGetLiveControlGatewayInfoParams
- type DevicesGetLiveControlGatewayInfoPreconditionFailed
- func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) Decode(d *jx.Decoder) error
- func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) Encode(e *jx.Encoder)
- func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) MarshalJSON() ([]byte, error)
- func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) SetFake()
- func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) UnmarshalJSON(data []byte) error
- type DevicesGetLiveControlGatewayInfoRes
- type DevicesGetOtaUpdateHistoryParams
- type DevicesGetOtaUpdateHistoryRes
- type DevicesGetPairCodeParams
- type DevicesGetPairCodeRes
- type DevicesGetShockersParams
- type DevicesGetShockersRes
- type DevicesRegenerateDeviceTokenInternalServerError
- type DevicesRegenerateDeviceTokenParams
- type DevicesRegenerateDeviceTokenRes
- type DevicesRemoveDeviceParams
- type DevicesRemoveDeviceRes
- type EditTokenRequest
- func (s *EditTokenRequest) Decode(d *jx.Decoder) error
- func (s *EditTokenRequest) Encode(e *jx.Encoder)
- func (s *EditTokenRequest) GetName() OptNilString
- func (s *EditTokenRequest) GetPermissions() OptNilPermissionTypeArray
- func (s *EditTokenRequest) MarshalJSON() ([]byte, error)
- func (s *EditTokenRequest) SetFake()
- func (s *EditTokenRequest) SetName(val OptNilString)
- func (s *EditTokenRequest) SetPermissions(val OptNilPermissionTypeArray)
- func (s *EditTokenRequest) UnmarshalJSON(data []byte) error
- func (s *EditTokenRequest) Validate() error
- type GenericIni
- func (s *GenericIni) Decode(d *jx.Decoder) error
- func (s *GenericIni) Encode(e *jx.Encoder)
- func (s *GenericIni) GetID() OptUUID
- func (s *GenericIni) GetImage() OptNilURI
- func (s *GenericIni) GetName() OptNilString
- func (s *GenericIni) MarshalJSON() ([]byte, error)
- func (s *GenericIni) SetFake()
- func (s *GenericIni) SetID(val OptUUID)
- func (s *GenericIni) SetImage(val OptNilURI)
- func (s *GenericIni) SetName(val OptNilString)
- func (s *GenericIni) UnmarshalJSON(data []byte) error
- type GuidBaseResponse
- func (s *GuidBaseResponse) Decode(d *jx.Decoder) error
- func (s *GuidBaseResponse) Encode(e *jx.Encoder)
- func (s *GuidBaseResponse) GetData() OptUUID
- func (s *GuidBaseResponse) GetMessage() OptNilString
- func (s *GuidBaseResponse) MarshalJSON() ([]byte, error)
- func (s *GuidBaseResponse) SetData(val OptUUID)
- func (s *GuidBaseResponse) SetFake()
- func (s *GuidBaseResponse) SetMessage(val OptNilString)
- func (s *GuidBaseResponse) UnmarshalJSON(data []byte) error
- type Invoker
- type LcgNodeResponse
- func (s *LcgNodeResponse) Decode(d *jx.Decoder) error
- func (s *LcgNodeResponse) Encode(e *jx.Encoder)
- func (s *LcgNodeResponse) GetCountry() OptNilString
- func (s *LcgNodeResponse) GetFqdn() OptNilString
- func (s *LcgNodeResponse) MarshalJSON() ([]byte, error)
- func (s *LcgNodeResponse) SetCountry(val OptNilString)
- func (s *LcgNodeResponse) SetFake()
- func (s *LcgNodeResponse) SetFqdn(val OptNilString)
- func (s *LcgNodeResponse) UnmarshalJSON(data []byte) error
- type LcgNodeResponseBaseResponse
- func (s *LcgNodeResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *LcgNodeResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *LcgNodeResponseBaseResponse) GetData() OptLcgNodeResponse
- func (s *LcgNodeResponseBaseResponse) GetMessage() OptNilString
- func (s *LcgNodeResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *LcgNodeResponseBaseResponse) SetData(val OptLcgNodeResponse)
- func (s *LcgNodeResponseBaseResponse) SetFake()
- func (s *LcgNodeResponseBaseResponse) SetMessage(val OptNilString)
- func (s *LcgNodeResponseBaseResponse) UnmarshalJSON(data []byte) error
- type LcgResponse
- func (s *LcgResponse) Decode(d *jx.Decoder) error
- func (s *LcgResponse) Encode(e *jx.Encoder)
- func (s *LcgResponse) GetCountry() OptNilString
- func (s *LcgResponse) GetGateway() OptNilString
- func (s *LcgResponse) MarshalJSON() ([]byte, error)
- func (s *LcgResponse) SetCountry(val OptNilString)
- func (s *LcgResponse) SetFake()
- func (s *LcgResponse) SetGateway(val OptNilString)
- func (s *LcgResponse) UnmarshalJSON(data []byte) error
- type LcgResponseBaseResponse
- func (s *LcgResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *LcgResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *LcgResponseBaseResponse) GetData() OptLcgResponse
- func (s *LcgResponseBaseResponse) GetMessage() OptNilString
- func (s *LcgResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *LcgResponseBaseResponse) SetData(val OptLcgResponse)
- func (s *LcgResponseBaseResponse) SetFake()
- func (s *LcgResponseBaseResponse) SetMessage(val OptNilString)
- func (s *LcgResponseBaseResponse) UnmarshalJSON(data []byte) error
- type LogEntry
- func (s *LogEntry) Decode(d *jx.Decoder) error
- func (s *LogEntry) Encode(e *jx.Encoder)
- func (s *LogEntry) GetControlledBy() OptControlLogSenderLight
- func (s *LogEntry) GetCreatedOn() OptDateTime
- func (s *LogEntry) GetDuration() OptInt32
- func (s *LogEntry) GetID() OptUUID
- func (s *LogEntry) GetIntensity() OptInt32
- func (s *LogEntry) GetType() OptControlType
- func (s *LogEntry) MarshalJSON() ([]byte, error)
- func (s *LogEntry) SetControlledBy(val OptControlLogSenderLight)
- func (s *LogEntry) SetCreatedOn(val OptDateTime)
- func (s *LogEntry) SetDuration(val OptInt32)
- func (s *LogEntry) SetFake()
- func (s *LogEntry) SetID(val OptUUID)
- func (s *LogEntry) SetIntensity(val OptInt32)
- func (s *LogEntry) SetType(val OptControlType)
- func (s *LogEntry) UnmarshalJSON(data []byte) error
- func (s *LogEntry) Validate() error
- type LogEntryIEnumerableBaseResponse
- func (s *LogEntryIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *LogEntryIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *LogEntryIEnumerableBaseResponse) GetData() OptNilLogEntryArray
- func (s *LogEntryIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *LogEntryIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *LogEntryIEnumerableBaseResponse) SetData(val OptNilLogEntryArray)
- func (s *LogEntryIEnumerableBaseResponse) SetFake()
- func (s *LogEntryIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *LogEntryIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *LogEntryIEnumerableBaseResponse) Validate() error
- type Login
- func (s *Login) Decode(d *jx.Decoder) error
- func (s *Login) Encode(e *jx.Encoder)
- func (s *Login) GetEmail() OptNilString
- func (s *Login) GetPassword() OptNilString
- func (s *Login) MarshalJSON() ([]byte, error)
- func (s *Login) SetEmail(val OptNilString)
- func (s *Login) SetFake()
- func (s *Login) SetPassword(val OptNilString)
- func (s *Login) UnmarshalJSON(data []byte) error
- func (s *Login) Validate() error
- type LoginV2
- func (s *LoginV2) Decode(d *jx.Decoder) error
- func (s *LoginV2) Encode(e *jx.Encoder)
- func (s *LoginV2) GetEmail() string
- func (s *LoginV2) GetPassword() string
- func (s *LoginV2) GetTurnstileResponse() string
- func (s *LoginV2) MarshalJSON() ([]byte, error)
- func (s *LoginV2) SetEmail(val string)
- func (s *LoginV2) SetFake()
- func (s *LoginV2) SetPassword(val string)
- func (s *LoginV2) SetTurnstileResponse(val string)
- func (s *LoginV2) UnmarshalJSON(data []byte) error
- func (s *LoginV2) Validate() error
- type MinimalShocker
- func (s *MinimalShocker) Decode(d *jx.Decoder) error
- func (s *MinimalShocker) Encode(e *jx.Encoder)
- func (s *MinimalShocker) GetID() OptUUID
- func (s *MinimalShocker) GetModel() OptShockerModelType
- func (s *MinimalShocker) GetRfId() OptInt32
- func (s *MinimalShocker) MarshalJSON() ([]byte, error)
- func (s *MinimalShocker) SetFake()
- func (s *MinimalShocker) SetID(val OptUUID)
- func (s *MinimalShocker) SetModel(val OptShockerModelType)
- func (s *MinimalShocker) SetRfId(val OptInt32)
- func (s *MinimalShocker) UnmarshalJSON(data []byte) error
- func (s *MinimalShocker) Validate() error
- type NewShocker
- func (s *NewShocker) Decode(d *jx.Decoder) error
- func (s *NewShocker) Encode(e *jx.Encoder)
- func (s *NewShocker) GetDevice() OptUUID
- func (s *NewShocker) GetModel() OptShockerModelType
- func (s *NewShocker) GetName() OptNilString
- func (s *NewShocker) GetRfId() OptInt32
- func (s *NewShocker) MarshalJSON() ([]byte, error)
- func (s *NewShocker) SetDevice(val OptUUID)
- func (s *NewShocker) SetFake()
- func (s *NewShocker) SetModel(val OptShockerModelType)
- func (s *NewShocker) SetName(val OptNilString)
- func (s *NewShocker) SetRfId(val OptInt32)
- func (s *NewShocker) UnmarshalJSON(data []byte) error
- func (s *NewShocker) Validate() error
- type ObjectBaseResponse
- func (s *ObjectBaseResponse) Decode(d *jx.Decoder) error
- func (s *ObjectBaseResponse) Encode(e *jx.Encoder)
- func (s *ObjectBaseResponse) GetData() jx.Raw
- func (s *ObjectBaseResponse) GetMessage() OptNilString
- func (s *ObjectBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ObjectBaseResponse) SetData(val jx.Raw)
- func (s *ObjectBaseResponse) SetFake()
- func (s *ObjectBaseResponse) SetMessage(val OptNilString)
- func (s *ObjectBaseResponse) UnmarshalJSON(data []byte) error
- type OpenShockProblem
- func (s *OpenShockProblem) Decode(d *jx.Decoder) error
- func (s *OpenShockProblem) Encode(e *jx.Encoder)
- func (s *OpenShockProblem) GetAdditionalProps() OpenShockProblemAdditional
- func (s *OpenShockProblem) GetDetail() OptNilString
- func (s *OpenShockProblem) GetInstance() OptNilString
- func (s *OpenShockProblem) GetMessage() OptNilString
- func (s *OpenShockProblem) GetStatus() OptNilInt32
- func (s *OpenShockProblem) GetTitle() OptNilString
- func (s *OpenShockProblem) GetTraceId() OptNilString
- func (s *OpenShockProblem) GetType() OptNilString
- func (s *OpenShockProblem) MarshalJSON() ([]byte, error)
- func (s *OpenShockProblem) SetAdditionalProps(val OpenShockProblemAdditional)
- func (s *OpenShockProblem) SetDetail(val OptNilString)
- func (s *OpenShockProblem) SetFake()
- func (s *OpenShockProblem) SetInstance(val OptNilString)
- func (s *OpenShockProblem) SetMessage(val OptNilString)
- func (s *OpenShockProblem) SetStatus(val OptNilInt32)
- func (s *OpenShockProblem) SetTitle(val OptNilString)
- func (s *OpenShockProblem) SetTraceId(val OptNilString)
- func (s *OpenShockProblem) SetType(val OptNilString)
- func (s *OpenShockProblem) UnmarshalJSON(data []byte) error
- type OpenShockProblemAdditional
- func (s *OpenShockProblemAdditional) Decode(d *jx.Decoder) error
- func (s OpenShockProblemAdditional) Encode(e *jx.Encoder)
- func (s OpenShockProblemAdditional) MarshalJSON() ([]byte, error)
- func (s *OpenShockProblemAdditional) SetFake()
- func (s *OpenShockProblemAdditional) UnmarshalJSON(data []byte) error
- type OpenShockToken
- 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 OptControlLogSenderLight
- func (o *OptControlLogSenderLight) Decode(d *jx.Decoder) error
- func (o OptControlLogSenderLight) Encode(e *jx.Encoder)
- func (o OptControlLogSenderLight) Get() (v ControlLogSenderLight, ok bool)
- func (o OptControlLogSenderLight) IsSet() bool
- func (s OptControlLogSenderLight) MarshalJSON() ([]byte, error)
- func (o OptControlLogSenderLight) Or(d ControlLogSenderLight) ControlLogSenderLight
- func (o *OptControlLogSenderLight) Reset()
- func (s *OptControlLogSenderLight) SetFake()
- func (o *OptControlLogSenderLight) SetTo(v ControlLogSenderLight)
- func (s *OptControlLogSenderLight) UnmarshalJSON(data []byte) error
- type OptControlRequest
- func (o *OptControlRequest) Decode(d *jx.Decoder) error
- func (o OptControlRequest) Encode(e *jx.Encoder)
- func (o OptControlRequest) Get() (v ControlRequest, ok bool)
- func (o OptControlRequest) IsSet() bool
- func (s OptControlRequest) MarshalJSON() ([]byte, error)
- func (o OptControlRequest) Or(d ControlRequest) ControlRequest
- func (o *OptControlRequest) Reset()
- func (s *OptControlRequest) SetFake()
- func (o *OptControlRequest) SetTo(v ControlRequest)
- func (s *OptControlRequest) UnmarshalJSON(data []byte) error
- type OptControlType
- func (o *OptControlType) Decode(d *jx.Decoder) error
- func (o OptControlType) Encode(e *jx.Encoder)
- func (o OptControlType) Get() (v ControlType, ok bool)
- func (o OptControlType) IsSet() bool
- func (s OptControlType) MarshalJSON() ([]byte, error)
- func (o OptControlType) Or(d ControlType) ControlType
- func (o *OptControlType) Reset()
- func (s *OptControlType) SetFake()
- func (o *OptControlType) SetTo(v ControlType)
- func (s *OptControlType) UnmarshalJSON(data []byte) error
- type OptCreateShareCode
- func (o *OptCreateShareCode) Decode(d *jx.Decoder) error
- func (o OptCreateShareCode) Encode(e *jx.Encoder)
- func (o OptCreateShareCode) Get() (v CreateShareCode, ok bool)
- func (o OptCreateShareCode) IsSet() bool
- func (s OptCreateShareCode) MarshalJSON() ([]byte, error)
- func (o OptCreateShareCode) Or(d CreateShareCode) CreateShareCode
- func (o *OptCreateShareCode) Reset()
- func (s *OptCreateShareCode) SetFake()
- func (o *OptCreateShareCode) SetTo(v CreateShareCode)
- func (s *OptCreateShareCode) UnmarshalJSON(data []byte) error
- type OptCreateTokenRequest
- func (o *OptCreateTokenRequest) Decode(d *jx.Decoder) error
- func (o OptCreateTokenRequest) Encode(e *jx.Encoder)
- func (o OptCreateTokenRequest) Get() (v CreateTokenRequest, ok bool)
- func (o OptCreateTokenRequest) IsSet() bool
- func (s OptCreateTokenRequest) MarshalJSON() ([]byte, error)
- func (o OptCreateTokenRequest) Or(d CreateTokenRequest) CreateTokenRequest
- func (o *OptCreateTokenRequest) Reset()
- func (s *OptCreateTokenRequest) SetFake()
- func (o *OptCreateTokenRequest) SetTo(v CreateTokenRequest)
- func (s *OptCreateTokenRequest) 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 OptDeviceEdit
- func (o *OptDeviceEdit) Decode(d *jx.Decoder) error
- func (o OptDeviceEdit) Encode(e *jx.Encoder)
- func (o OptDeviceEdit) Get() (v DeviceEdit, ok bool)
- func (o OptDeviceEdit) IsSet() bool
- func (s OptDeviceEdit) MarshalJSON() ([]byte, error)
- func (o OptDeviceEdit) Or(d DeviceEdit) DeviceEdit
- func (o *OptDeviceEdit) Reset()
- func (s *OptDeviceEdit) SetFake()
- func (o *OptDeviceEdit) SetTo(v DeviceEdit)
- func (s *OptDeviceEdit) UnmarshalJSON(data []byte) error
- type OptDeviceSelfResponse
- func (o *OptDeviceSelfResponse) Decode(d *jx.Decoder) error
- func (o OptDeviceSelfResponse) Encode(e *jx.Encoder)
- func (o OptDeviceSelfResponse) Get() (v DeviceSelfResponse, ok bool)
- func (o OptDeviceSelfResponse) IsSet() bool
- func (s OptDeviceSelfResponse) MarshalJSON() ([]byte, error)
- func (o OptDeviceSelfResponse) Or(d DeviceSelfResponse) DeviceSelfResponse
- func (o *OptDeviceSelfResponse) Reset()
- func (s *OptDeviceSelfResponse) SetFake()
- func (o *OptDeviceSelfResponse) SetTo(v DeviceSelfResponse)
- func (s *OptDeviceSelfResponse) UnmarshalJSON(data []byte) error
- type OptEditTokenRequest
- func (o *OptEditTokenRequest) Decode(d *jx.Decoder) error
- func (o OptEditTokenRequest) Encode(e *jx.Encoder)
- func (o OptEditTokenRequest) Get() (v EditTokenRequest, ok bool)
- func (o OptEditTokenRequest) IsSet() bool
- func (s OptEditTokenRequest) MarshalJSON() ([]byte, error)
- func (o OptEditTokenRequest) Or(d EditTokenRequest) EditTokenRequest
- func (o *OptEditTokenRequest) Reset()
- func (s *OptEditTokenRequest) SetFake()
- func (o *OptEditTokenRequest) SetTo(v EditTokenRequest)
- func (s *OptEditTokenRequest) UnmarshalJSON(data []byte) error
- type OptGenericIni
- func (o *OptGenericIni) Decode(d *jx.Decoder) error
- func (o OptGenericIni) Encode(e *jx.Encoder)
- func (o OptGenericIni) Get() (v GenericIni, ok bool)
- func (o OptGenericIni) IsSet() bool
- func (s OptGenericIni) MarshalJSON() ([]byte, error)
- func (o OptGenericIni) Or(d GenericIni) GenericIni
- func (o *OptGenericIni) Reset()
- func (s *OptGenericIni) SetFake()
- func (o *OptGenericIni) SetTo(v GenericIni)
- func (s *OptGenericIni) 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 OptInt32
- func (o *OptInt32) Decode(d *jx.Decoder) error
- func (o OptInt32) Encode(e *jx.Encoder)
- func (o OptInt32) Get() (v int32, ok bool)
- func (o OptInt32) IsSet() bool
- func (s OptInt32) MarshalJSON() ([]byte, error)
- func (o OptInt32) Or(d int32) int32
- func (o *OptInt32) Reset()
- func (s *OptInt32) SetFake()
- func (o *OptInt32) SetTo(v int32)
- func (s *OptInt32) UnmarshalJSON(data []byte) error
- type OptLcgNodeResponse
- func (o *OptLcgNodeResponse) Decode(d *jx.Decoder) error
- func (o OptLcgNodeResponse) Encode(e *jx.Encoder)
- func (o OptLcgNodeResponse) Get() (v LcgNodeResponse, ok bool)
- func (o OptLcgNodeResponse) IsSet() bool
- func (s OptLcgNodeResponse) MarshalJSON() ([]byte, error)
- func (o OptLcgNodeResponse) Or(d LcgNodeResponse) LcgNodeResponse
- func (o *OptLcgNodeResponse) Reset()
- func (s *OptLcgNodeResponse) SetFake()
- func (o *OptLcgNodeResponse) SetTo(v LcgNodeResponse)
- func (s *OptLcgNodeResponse) UnmarshalJSON(data []byte) error
- type OptLcgResponse
- func (o *OptLcgResponse) Decode(d *jx.Decoder) error
- func (o OptLcgResponse) Encode(e *jx.Encoder)
- func (o OptLcgResponse) Get() (v LcgResponse, ok bool)
- func (o OptLcgResponse) IsSet() bool
- func (s OptLcgResponse) MarshalJSON() ([]byte, error)
- func (o OptLcgResponse) Or(d LcgResponse) LcgResponse
- func (o *OptLcgResponse) Reset()
- func (s *OptLcgResponse) SetFake()
- func (o *OptLcgResponse) SetTo(v LcgResponse)
- func (s *OptLcgResponse) UnmarshalJSON(data []byte) error
- type OptLogin
- func (o *OptLogin) Decode(d *jx.Decoder) error
- func (o OptLogin) Encode(e *jx.Encoder)
- func (o OptLogin) Get() (v Login, ok bool)
- func (o OptLogin) IsSet() bool
- func (s OptLogin) MarshalJSON() ([]byte, error)
- func (o OptLogin) Or(d Login) Login
- func (o *OptLogin) Reset()
- func (s *OptLogin) SetFake()
- func (o *OptLogin) SetTo(v Login)
- func (s *OptLogin) UnmarshalJSON(data []byte) error
- type OptLoginV2
- func (o *OptLoginV2) Decode(d *jx.Decoder) error
- func (o OptLoginV2) Encode(e *jx.Encoder)
- func (o OptLoginV2) Get() (v LoginV2, ok bool)
- func (o OptLoginV2) IsSet() bool
- func (s OptLoginV2) MarshalJSON() ([]byte, error)
- func (o OptLoginV2) Or(d LoginV2) LoginV2
- func (o *OptLoginV2) Reset()
- func (s *OptLoginV2) SetFake()
- func (o *OptLoginV2) SetTo(v LoginV2)
- func (s *OptLoginV2) UnmarshalJSON(data []byte) error
- type OptNewShocker
- func (o *OptNewShocker) Decode(d *jx.Decoder) error
- func (o OptNewShocker) Encode(e *jx.Encoder)
- func (o OptNewShocker) Get() (v NewShocker, ok bool)
- func (o OptNewShocker) IsSet() bool
- func (s OptNewShocker) MarshalJSON() ([]byte, error)
- func (o OptNewShocker) Or(d NewShocker) NewShocker
- func (o *OptNewShocker) Reset()
- func (s *OptNewShocker) SetFake()
- func (o *OptNewShocker) SetTo(v NewShocker)
- func (s *OptNewShocker) UnmarshalJSON(data []byte) error
- type OptNilAdminOnlineDeviceResponseArray
- func (o *OptNilAdminOnlineDeviceResponseArray) Decode(d *jx.Decoder) error
- func (o OptNilAdminOnlineDeviceResponseArray) Encode(e *jx.Encoder)
- func (o OptNilAdminOnlineDeviceResponseArray) Get() (v []AdminOnlineDeviceResponse, ok bool)
- func (o OptNilAdminOnlineDeviceResponseArray) IsNull() bool
- func (o OptNilAdminOnlineDeviceResponseArray) IsSet() bool
- func (s OptNilAdminOnlineDeviceResponseArray) MarshalJSON() ([]byte, error)
- func (o OptNilAdminOnlineDeviceResponseArray) Or(d []AdminOnlineDeviceResponse) []AdminOnlineDeviceResponse
- func (o *OptNilAdminOnlineDeviceResponseArray) Reset()
- func (s *OptNilAdminOnlineDeviceResponseArray) SetFake()
- func (o *OptNilAdminOnlineDeviceResponseArray) SetTo(v []AdminOnlineDeviceResponse)
- func (o *OptNilAdminOnlineDeviceResponseArray) SetToNull()
- func (s *OptNilAdminOnlineDeviceResponseArray) 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 OptNilControlArray
- func (o *OptNilControlArray) Decode(d *jx.Decoder) error
- func (o OptNilControlArray) Encode(e *jx.Encoder)
- func (o OptNilControlArray) Get() (v []Control, ok bool)
- func (o OptNilControlArray) IsNull() bool
- func (o OptNilControlArray) IsSet() bool
- func (s OptNilControlArray) MarshalJSON() ([]byte, error)
- func (o OptNilControlArray) Or(d []Control) []Control
- func (o *OptNilControlArray) Reset()
- func (s *OptNilControlArray) SetFake()
- func (o *OptNilControlArray) SetTo(v []Control)
- func (o *OptNilControlArray) SetToNull()
- func (s *OptNilControlArray) UnmarshalJSON(data []byte) error
- type OptNilDate
- func (o *OptNilDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptNilDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptNilDate) Get() (v time.Time, ok bool)
- func (o OptNilDate) IsNull() bool
- func (o OptNilDate) IsSet() bool
- func (s OptNilDate) MarshalJSON() ([]byte, error)
- func (o OptNilDate) Or(d time.Time) time.Time
- func (o *OptNilDate) Reset()
- func (s *OptNilDate) SetFake()
- func (o *OptNilDate) SetTo(v time.Time)
- func (o *OptNilDate) SetToNull()
- func (s *OptNilDate) UnmarshalJSON(data []byte) error
- type OptNilDateTime
- func (o *OptNilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptNilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptNilDateTime) Get() (v time.Time, ok bool)
- func (o OptNilDateTime) IsNull() bool
- func (o OptNilDateTime) IsSet() bool
- func (s OptNilDateTime) MarshalJSON() ([]byte, error)
- func (o OptNilDateTime) Or(d time.Time) time.Time
- func (o *OptNilDateTime) Reset()
- func (s *OptNilDateTime) SetFake()
- func (o *OptNilDateTime) SetTo(v time.Time)
- func (o *OptNilDateTime) SetToNull()
- func (s *OptNilDateTime) UnmarshalJSON(data []byte) error
- type OptNilInt32
- func (o *OptNilInt32) Decode(d *jx.Decoder) error
- func (o OptNilInt32) Encode(e *jx.Encoder)
- func (o OptNilInt32) Get() (v int32, ok bool)
- func (o OptNilInt32) IsNull() bool
- func (o OptNilInt32) IsSet() bool
- func (s OptNilInt32) MarshalJSON() ([]byte, error)
- func (o OptNilInt32) Or(d int32) int32
- func (o *OptNilInt32) Reset()
- func (s *OptNilInt32) SetFake()
- func (o *OptNilInt32) SetTo(v int32)
- func (o *OptNilInt32) SetToNull()
- func (s *OptNilInt32) UnmarshalJSON(data []byte) error
- type OptNilLogEntryArray
- func (o *OptNilLogEntryArray) Decode(d *jx.Decoder) error
- func (o OptNilLogEntryArray) Encode(e *jx.Encoder)
- func (o OptNilLogEntryArray) Get() (v []LogEntry, ok bool)
- func (o OptNilLogEntryArray) IsNull() bool
- func (o OptNilLogEntryArray) IsSet() bool
- func (s OptNilLogEntryArray) MarshalJSON() ([]byte, error)
- func (o OptNilLogEntryArray) Or(d []LogEntry) []LogEntry
- func (o *OptNilLogEntryArray) Reset()
- func (s *OptNilLogEntryArray) SetFake()
- func (o *OptNilLogEntryArray) SetTo(v []LogEntry)
- func (o *OptNilLogEntryArray) SetToNull()
- func (s *OptNilLogEntryArray) UnmarshalJSON(data []byte) error
- type OptNilMinimalShockerArray
- func (o *OptNilMinimalShockerArray) Decode(d *jx.Decoder) error
- func (o OptNilMinimalShockerArray) Encode(e *jx.Encoder)
- func (o OptNilMinimalShockerArray) Get() (v []MinimalShocker, ok bool)
- func (o OptNilMinimalShockerArray) IsNull() bool
- func (o OptNilMinimalShockerArray) IsSet() bool
- func (s OptNilMinimalShockerArray) MarshalJSON() ([]byte, error)
- func (o OptNilMinimalShockerArray) Or(d []MinimalShocker) []MinimalShocker
- func (o *OptNilMinimalShockerArray) Reset()
- func (s *OptNilMinimalShockerArray) SetFake()
- func (o *OptNilMinimalShockerArray) SetTo(v []MinimalShocker)
- func (o *OptNilMinimalShockerArray) SetToNull()
- func (s *OptNilMinimalShockerArray) UnmarshalJSON(data []byte) error
- type OptNilOtaItemArray
- func (o *OptNilOtaItemArray) Decode(d *jx.Decoder) error
- func (o OptNilOtaItemArray) Encode(e *jx.Encoder)
- func (o OptNilOtaItemArray) Get() (v []OtaItem, ok bool)
- func (o OptNilOtaItemArray) IsNull() bool
- func (o OptNilOtaItemArray) IsSet() bool
- func (s OptNilOtaItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilOtaItemArray) Or(d []OtaItem) []OtaItem
- func (o *OptNilOtaItemArray) Reset()
- func (s *OptNilOtaItemArray) SetFake()
- func (o *OptNilOtaItemArray) SetTo(v []OtaItem)
- func (o *OptNilOtaItemArray) SetToNull()
- func (s *OptNilOtaItemArray) UnmarshalJSON(data []byte) error
- type OptNilOwnerShockerResponseArrayArray
- func (o *OptNilOwnerShockerResponseArrayArray) Decode(d *jx.Decoder) error
- func (o OptNilOwnerShockerResponseArrayArray) Encode(e *jx.Encoder)
- func (o OptNilOwnerShockerResponseArrayArray) Get() (v [][]OwnerShockerResponse, ok bool)
- func (o OptNilOwnerShockerResponseArrayArray) IsNull() bool
- func (o OptNilOwnerShockerResponseArrayArray) IsSet() bool
- func (s OptNilOwnerShockerResponseArrayArray) MarshalJSON() ([]byte, error)
- func (o OptNilOwnerShockerResponseArrayArray) Or(d [][]OwnerShockerResponse) [][]OwnerShockerResponse
- func (o *OptNilOwnerShockerResponseArrayArray) Reset()
- func (s *OptNilOwnerShockerResponseArrayArray) SetFake()
- func (o *OptNilOwnerShockerResponseArrayArray) SetTo(v [][]OwnerShockerResponse)
- func (o *OptNilOwnerShockerResponseArrayArray) SetToNull()
- func (s *OptNilOwnerShockerResponseArrayArray) UnmarshalJSON(data []byte) error
- type OptNilPermissionTypeArray
- func (o *OptNilPermissionTypeArray) Decode(d *jx.Decoder) error
- func (o OptNilPermissionTypeArray) Encode(e *jx.Encoder)
- func (o OptNilPermissionTypeArray) Get() (v []PermissionType, ok bool)
- func (o OptNilPermissionTypeArray) IsNull() bool
- func (o OptNilPermissionTypeArray) IsSet() bool
- func (s OptNilPermissionTypeArray) MarshalJSON() ([]byte, error)
- func (o OptNilPermissionTypeArray) Or(d []PermissionType) []PermissionType
- func (o *OptNilPermissionTypeArray) Reset()
- func (s *OptNilPermissionTypeArray) SetFake()
- func (o *OptNilPermissionTypeArray) SetTo(v []PermissionType)
- func (o *OptNilPermissionTypeArray) SetToNull()
- func (s *OptNilPermissionTypeArray) UnmarshalJSON(data []byte) error
- type OptNilResponseDeviceArray
- func (o *OptNilResponseDeviceArray) Decode(d *jx.Decoder) error
- func (o OptNilResponseDeviceArray) Encode(e *jx.Encoder)
- func (o OptNilResponseDeviceArray) Get() (v []ResponseDevice, ok bool)
- func (o OptNilResponseDeviceArray) IsNull() bool
- func (o OptNilResponseDeviceArray) IsSet() bool
- func (s OptNilResponseDeviceArray) MarshalJSON() ([]byte, error)
- func (o OptNilResponseDeviceArray) Or(d []ResponseDevice) []ResponseDevice
- func (o *OptNilResponseDeviceArray) Reset()
- func (s *OptNilResponseDeviceArray) SetFake()
- func (o *OptNilResponseDeviceArray) SetTo(v []ResponseDevice)
- func (o *OptNilResponseDeviceArray) SetToNull()
- func (s *OptNilResponseDeviceArray) UnmarshalJSON(data []byte) error
- type OptNilResponseDeviceWithShockersArray
- func (o *OptNilResponseDeviceWithShockersArray) Decode(d *jx.Decoder) error
- func (o OptNilResponseDeviceWithShockersArray) Encode(e *jx.Encoder)
- func (o OptNilResponseDeviceWithShockersArray) Get() (v []ResponseDeviceWithShockers, ok bool)
- func (o OptNilResponseDeviceWithShockersArray) IsNull() bool
- func (o OptNilResponseDeviceWithShockersArray) IsSet() bool
- func (s OptNilResponseDeviceWithShockersArray) MarshalJSON() ([]byte, error)
- func (o OptNilResponseDeviceWithShockersArray) Or(d []ResponseDeviceWithShockers) []ResponseDeviceWithShockers
- func (o *OptNilResponseDeviceWithShockersArray) Reset()
- func (s *OptNilResponseDeviceWithShockersArray) SetFake()
- func (o *OptNilResponseDeviceWithShockersArray) SetTo(v []ResponseDeviceWithShockers)
- func (o *OptNilResponseDeviceWithShockersArray) SetToNull()
- func (s *OptNilResponseDeviceWithShockersArray) UnmarshalJSON(data []byte) error
- type OptNilShareCodeInfoArray
- func (o *OptNilShareCodeInfoArray) Decode(d *jx.Decoder) error
- func (o OptNilShareCodeInfoArray) Encode(e *jx.Encoder)
- func (o OptNilShareCodeInfoArray) Get() (v []ShareCodeInfo, ok bool)
- func (o OptNilShareCodeInfoArray) IsNull() bool
- func (o OptNilShareCodeInfoArray) IsSet() bool
- func (s OptNilShareCodeInfoArray) MarshalJSON() ([]byte, error)
- func (o OptNilShareCodeInfoArray) Or(d []ShareCodeInfo) []ShareCodeInfo
- func (o *OptNilShareCodeInfoArray) Reset()
- func (s *OptNilShareCodeInfoArray) SetFake()
- func (o *OptNilShareCodeInfoArray) SetTo(v []ShareCodeInfo)
- func (o *OptNilShareCodeInfoArray) SetToNull()
- func (s *OptNilShareCodeInfoArray) UnmarshalJSON(data []byte) error
- type OptNilShareInfoArray
- func (o *OptNilShareInfoArray) Decode(d *jx.Decoder) error
- func (o OptNilShareInfoArray) Encode(e *jx.Encoder)
- func (o OptNilShareInfoArray) Get() (v []ShareInfo, ok bool)
- func (o OptNilShareInfoArray) IsNull() bool
- func (o OptNilShareInfoArray) IsSet() bool
- func (s OptNilShareInfoArray) MarshalJSON() ([]byte, error)
- func (o OptNilShareInfoArray) Or(d []ShareInfo) []ShareInfo
- func (o *OptNilShareInfoArray) Reset()
- func (s *OptNilShareInfoArray) SetFake()
- func (o *OptNilShareInfoArray) SetTo(v []ShareInfo)
- func (o *OptNilShareInfoArray) SetToNull()
- func (s *OptNilShareInfoArray) UnmarshalJSON(data []byte) error
- type OptNilShareLinkDeviceArray
- func (o *OptNilShareLinkDeviceArray) Decode(d *jx.Decoder) error
- func (o OptNilShareLinkDeviceArray) Encode(e *jx.Encoder)
- func (o OptNilShareLinkDeviceArray) Get() (v []ShareLinkDevice, ok bool)
- func (o OptNilShareLinkDeviceArray) IsNull() bool
- func (o OptNilShareLinkDeviceArray) IsSet() bool
- func (s OptNilShareLinkDeviceArray) MarshalJSON() ([]byte, error)
- func (o OptNilShareLinkDeviceArray) Or(d []ShareLinkDevice) []ShareLinkDevice
- func (o *OptNilShareLinkDeviceArray) Reset()
- func (s *OptNilShareLinkDeviceArray) SetFake()
- func (o *OptNilShareLinkDeviceArray) SetTo(v []ShareLinkDevice)
- func (o *OptNilShareLinkDeviceArray) SetToNull()
- func (s *OptNilShareLinkDeviceArray) UnmarshalJSON(data []byte) error
- type OptNilShareLinkResponseArray
- func (o *OptNilShareLinkResponseArray) Decode(d *jx.Decoder) error
- func (o OptNilShareLinkResponseArray) Encode(e *jx.Encoder)
- func (o OptNilShareLinkResponseArray) Get() (v []ShareLinkResponse, ok bool)
- func (o OptNilShareLinkResponseArray) IsNull() bool
- func (o OptNilShareLinkResponseArray) IsSet() bool
- func (s OptNilShareLinkResponseArray) MarshalJSON() ([]byte, error)
- func (o OptNilShareLinkResponseArray) Or(d []ShareLinkResponse) []ShareLinkResponse
- func (o *OptNilShareLinkResponseArray) Reset()
- func (s *OptNilShareLinkResponseArray) SetFake()
- func (o *OptNilShareLinkResponseArray) SetTo(v []ShareLinkResponse)
- func (o *OptNilShareLinkResponseArray) SetToNull()
- func (s *OptNilShareLinkResponseArray) UnmarshalJSON(data []byte) error
- type OptNilShareLinkShockerArray
- func (o *OptNilShareLinkShockerArray) Decode(d *jx.Decoder) error
- func (o OptNilShareLinkShockerArray) Encode(e *jx.Encoder)
- func (o OptNilShareLinkShockerArray) Get() (v []ShareLinkShocker, ok bool)
- func (o OptNilShareLinkShockerArray) IsNull() bool
- func (o OptNilShareLinkShockerArray) IsSet() bool
- func (s OptNilShareLinkShockerArray) MarshalJSON() ([]byte, error)
- func (o OptNilShareLinkShockerArray) Or(d []ShareLinkShocker) []ShareLinkShocker
- func (o *OptNilShareLinkShockerArray) Reset()
- func (s *OptNilShareLinkShockerArray) SetFake()
- func (o *OptNilShareLinkShockerArray) SetTo(v []ShareLinkShocker)
- func (o *OptNilShareLinkShockerArray) SetToNull()
- func (s *OptNilShareLinkShockerArray) UnmarshalJSON(data []byte) error
- type OptNilSharedDeviceArray
- func (o *OptNilSharedDeviceArray) Decode(d *jx.Decoder) error
- func (o OptNilSharedDeviceArray) Encode(e *jx.Encoder)
- func (o OptNilSharedDeviceArray) Get() (v []SharedDevice, ok bool)
- func (o OptNilSharedDeviceArray) IsNull() bool
- func (o OptNilSharedDeviceArray) IsSet() bool
- func (s OptNilSharedDeviceArray) MarshalJSON() ([]byte, error)
- func (o OptNilSharedDeviceArray) Or(d []SharedDevice) []SharedDevice
- func (o *OptNilSharedDeviceArray) Reset()
- func (s *OptNilSharedDeviceArray) SetFake()
- func (o *OptNilSharedDeviceArray) SetTo(v []SharedDevice)
- func (o *OptNilSharedDeviceArray) SetToNull()
- func (s *OptNilSharedDeviceArray) UnmarshalJSON(data []byte) error
- type OptNilSharedShockerArray
- func (o *OptNilSharedShockerArray) Decode(d *jx.Decoder) error
- func (o OptNilSharedShockerArray) Encode(e *jx.Encoder)
- func (o OptNilSharedShockerArray) Get() (v []SharedShocker, ok bool)
- func (o OptNilSharedShockerArray) IsNull() bool
- func (o OptNilSharedShockerArray) IsSet() bool
- func (s OptNilSharedShockerArray) MarshalJSON() ([]byte, error)
- func (o OptNilSharedShockerArray) Or(d []SharedShocker) []SharedShocker
- func (o *OptNilSharedShockerArray) Reset()
- func (s *OptNilSharedShockerArray) SetFake()
- func (o *OptNilSharedShockerArray) SetTo(v []SharedShocker)
- func (o *OptNilSharedShockerArray) SetToNull()
- func (s *OptNilSharedShockerArray) UnmarshalJSON(data []byte) error
- type OptNilShockerResponseArray
- func (o *OptNilShockerResponseArray) Decode(d *jx.Decoder) error
- func (o OptNilShockerResponseArray) Encode(e *jx.Encoder)
- func (o OptNilShockerResponseArray) Get() (v []ShockerResponse, ok bool)
- func (o OptNilShockerResponseArray) IsNull() bool
- func (o OptNilShockerResponseArray) IsSet() bool
- func (s OptNilShockerResponseArray) MarshalJSON() ([]byte, error)
- func (o OptNilShockerResponseArray) Or(d []ShockerResponse) []ShockerResponse
- func (o *OptNilShockerResponseArray) Reset()
- func (s *OptNilShockerResponseArray) SetFake()
- func (o *OptNilShockerResponseArray) SetTo(v []ShockerResponse)
- func (o *OptNilShockerResponseArray) SetToNull()
- func (s *OptNilShockerResponseArray) 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 OptNilTokenResponseArray
- func (o *OptNilTokenResponseArray) Decode(d *jx.Decoder) error
- func (o OptNilTokenResponseArray) Encode(e *jx.Encoder)
- func (o OptNilTokenResponseArray) Get() (v []TokenResponse, ok bool)
- func (o OptNilTokenResponseArray) IsNull() bool
- func (o OptNilTokenResponseArray) IsSet() bool
- func (s OptNilTokenResponseArray) MarshalJSON() ([]byte, error)
- func (o OptNilTokenResponseArray) Or(d []TokenResponse) []TokenResponse
- func (o *OptNilTokenResponseArray) Reset()
- func (s *OptNilTokenResponseArray) SetFake()
- func (o *OptNilTokenResponseArray) SetTo(v []TokenResponse)
- func (o *OptNilTokenResponseArray) SetToNull()
- func (s *OptNilTokenResponseArray) 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 OptOtaUpdateStatus
- func (o *OptOtaUpdateStatus) Decode(d *jx.Decoder) error
- func (o OptOtaUpdateStatus) Encode(e *jx.Encoder)
- func (o OptOtaUpdateStatus) Get() (v OtaUpdateStatus, ok bool)
- func (o OptOtaUpdateStatus) IsSet() bool
- func (s OptOtaUpdateStatus) MarshalJSON() ([]byte, error)
- func (o OptOtaUpdateStatus) Or(d OtaUpdateStatus) OtaUpdateStatus
- func (o *OptOtaUpdateStatus) Reset()
- func (s *OptOtaUpdateStatus) SetFake()
- func (o *OptOtaUpdateStatus) SetTo(v OtaUpdateStatus)
- func (s *OptOtaUpdateStatus) UnmarshalJSON(data []byte) error
- type OptPasswordResetProcessData
- func (o *OptPasswordResetProcessData) Decode(d *jx.Decoder) error
- func (o OptPasswordResetProcessData) Encode(e *jx.Encoder)
- func (o OptPasswordResetProcessData) Get() (v PasswordResetProcessData, ok bool)
- func (o OptPasswordResetProcessData) IsSet() bool
- func (s OptPasswordResetProcessData) MarshalJSON() ([]byte, error)
- func (o OptPasswordResetProcessData) Or(d PasswordResetProcessData) PasswordResetProcessData
- func (o *OptPasswordResetProcessData) Reset()
- func (s *OptPasswordResetProcessData) SetFake()
- func (o *OptPasswordResetProcessData) SetTo(v PasswordResetProcessData)
- func (s *OptPasswordResetProcessData) UnmarshalJSON(data []byte) error
- type OptPauseRequest
- func (o *OptPauseRequest) Decode(d *jx.Decoder) error
- func (o OptPauseRequest) Encode(e *jx.Encoder)
- func (o OptPauseRequest) Get() (v PauseRequest, ok bool)
- func (o OptPauseRequest) IsSet() bool
- func (s OptPauseRequest) MarshalJSON() ([]byte, error)
- func (o OptPauseRequest) Or(d PauseRequest) PauseRequest
- func (o *OptPauseRequest) Reset()
- func (s *OptPauseRequest) SetFake()
- func (o *OptPauseRequest) SetTo(v PauseRequest)
- func (s *OptPauseRequest) UnmarshalJSON(data []byte) error
- type OptPublicShareLinkResponse
- func (o *OptPublicShareLinkResponse) Decode(d *jx.Decoder) error
- func (o OptPublicShareLinkResponse) Encode(e *jx.Encoder)
- func (o OptPublicShareLinkResponse) Get() (v PublicShareLinkResponse, ok bool)
- func (o OptPublicShareLinkResponse) IsSet() bool
- func (s OptPublicShareLinkResponse) MarshalJSON() ([]byte, error)
- func (o OptPublicShareLinkResponse) Or(d PublicShareLinkResponse) PublicShareLinkResponse
- func (o *OptPublicShareLinkResponse) Reset()
- func (s *OptPublicShareLinkResponse) SetFake()
- func (o *OptPublicShareLinkResponse) SetTo(v PublicShareLinkResponse)
- func (s *OptPublicShareLinkResponse) UnmarshalJSON(data []byte) error
- type OptRankType
- func (o *OptRankType) Decode(d *jx.Decoder) error
- func (o OptRankType) Encode(e *jx.Encoder)
- func (o OptRankType) Get() (v RankType, ok bool)
- func (o OptRankType) IsSet() bool
- func (s OptRankType) MarshalJSON() ([]byte, error)
- func (o OptRankType) Or(d RankType) RankType
- func (o *OptRankType) Reset()
- func (s *OptRankType) SetFake()
- func (o *OptRankType) SetTo(v RankType)
- func (s *OptRankType) UnmarshalJSON(data []byte) error
- type OptResetRequest
- func (o *OptResetRequest) Decode(d *jx.Decoder) error
- func (o OptResetRequest) Encode(e *jx.Encoder)
- func (o OptResetRequest) Get() (v ResetRequest, ok bool)
- func (o OptResetRequest) IsSet() bool
- func (s OptResetRequest) MarshalJSON() ([]byte, error)
- func (o OptResetRequest) Or(d ResetRequest) ResetRequest
- func (o *OptResetRequest) Reset()
- func (s *OptResetRequest) SetFake()
- func (o *OptResetRequest) SetTo(v ResetRequest)
- func (s *OptResetRequest) UnmarshalJSON(data []byte) error
- type OptResponseDeviceWithToken
- func (o *OptResponseDeviceWithToken) Decode(d *jx.Decoder) error
- func (o OptResponseDeviceWithToken) Encode(e *jx.Encoder)
- func (o OptResponseDeviceWithToken) Get() (v ResponseDeviceWithToken, ok bool)
- func (o OptResponseDeviceWithToken) IsSet() bool
- func (s OptResponseDeviceWithToken) MarshalJSON() ([]byte, error)
- func (o OptResponseDeviceWithToken) Or(d ResponseDeviceWithToken) ResponseDeviceWithToken
- func (o *OptResponseDeviceWithToken) Reset()
- func (s *OptResponseDeviceWithToken) SetFake()
- func (o *OptResponseDeviceWithToken) SetTo(v ResponseDeviceWithToken)
- func (s *OptResponseDeviceWithToken) UnmarshalJSON(data []byte) error
- type OptRootResponse
- func (o *OptRootResponse) Decode(d *jx.Decoder) error
- func (o OptRootResponse) Encode(e *jx.Encoder)
- func (o OptRootResponse) Get() (v RootResponse, ok bool)
- func (o OptRootResponse) IsSet() bool
- func (s OptRootResponse) MarshalJSON() ([]byte, error)
- func (o OptRootResponse) Or(d RootResponse) RootResponse
- func (o *OptRootResponse) Reset()
- func (s *OptRootResponse) SetFake()
- func (o *OptRootResponse) SetTo(v RootResponse)
- func (s *OptRootResponse) UnmarshalJSON(data []byte) error
- type OptSelfResponse
- func (o *OptSelfResponse) Decode(d *jx.Decoder) error
- func (o OptSelfResponse) Encode(e *jx.Encoder)
- func (o OptSelfResponse) Get() (v SelfResponse, ok bool)
- func (o OptSelfResponse) IsSet() bool
- func (s OptSelfResponse) MarshalJSON() ([]byte, error)
- func (o OptSelfResponse) Or(d SelfResponse) SelfResponse
- func (o *OptSelfResponse) Reset()
- func (s *OptSelfResponse) SetFake()
- func (o *OptSelfResponse) SetTo(v SelfResponse)
- func (s *OptSelfResponse) UnmarshalJSON(data []byte) error
- type OptShareLinkCreate
- func (o *OptShareLinkCreate) Decode(d *jx.Decoder) error
- func (o OptShareLinkCreate) Encode(e *jx.Encoder)
- func (o OptShareLinkCreate) Get() (v ShareLinkCreate, ok bool)
- func (o OptShareLinkCreate) IsSet() bool
- func (s OptShareLinkCreate) MarshalJSON() ([]byte, error)
- func (o OptShareLinkCreate) Or(d ShareLinkCreate) ShareLinkCreate
- func (o *OptShareLinkCreate) Reset()
- func (s *OptShareLinkCreate) SetFake()
- func (o *OptShareLinkCreate) SetTo(v ShareLinkCreate)
- func (s *OptShareLinkCreate) UnmarshalJSON(data []byte) error
- type OptShareLinkEditShocker
- func (o *OptShareLinkEditShocker) Decode(d *jx.Decoder) error
- func (o OptShareLinkEditShocker) Encode(e *jx.Encoder)
- func (o OptShareLinkEditShocker) Get() (v ShareLinkEditShocker, ok bool)
- func (o OptShareLinkEditShocker) IsSet() bool
- func (s OptShareLinkEditShocker) MarshalJSON() ([]byte, error)
- func (o OptShareLinkEditShocker) Or(d ShareLinkEditShocker) ShareLinkEditShocker
- func (o *OptShareLinkEditShocker) Reset()
- func (s *OptShareLinkEditShocker) SetFake()
- func (o *OptShareLinkEditShocker) SetTo(v ShareLinkEditShocker)
- func (s *OptShareLinkEditShocker) UnmarshalJSON(data []byte) error
- type OptShareLinkResponse
- func (o *OptShareLinkResponse) Decode(d *jx.Decoder) error
- func (o OptShareLinkResponse) Encode(e *jx.Encoder)
- func (o OptShareLinkResponse) Get() (v ShareLinkResponse, ok bool)
- func (o OptShareLinkResponse) IsSet() bool
- func (s OptShareLinkResponse) MarshalJSON() ([]byte, error)
- func (o OptShareLinkResponse) Or(d ShareLinkResponse) ShareLinkResponse
- func (o *OptShareLinkResponse) Reset()
- func (s *OptShareLinkResponse) SetFake()
- func (o *OptShareLinkResponse) SetTo(v ShareLinkResponse)
- func (s *OptShareLinkResponse) UnmarshalJSON(data []byte) error
- type OptShockerLimits
- func (o *OptShockerLimits) Decode(d *jx.Decoder) error
- func (o OptShockerLimits) Encode(e *jx.Encoder)
- func (o OptShockerLimits) Get() (v ShockerLimits, ok bool)
- func (o OptShockerLimits) IsSet() bool
- func (s OptShockerLimits) MarshalJSON() ([]byte, error)
- func (o OptShockerLimits) Or(d ShockerLimits) ShockerLimits
- func (o *OptShockerLimits) Reset()
- func (s *OptShockerLimits) SetFake()
- func (o *OptShockerLimits) SetTo(v ShockerLimits)
- func (s *OptShockerLimits) UnmarshalJSON(data []byte) error
- type OptShockerModelType
- func (o *OptShockerModelType) Decode(d *jx.Decoder) error
- func (o OptShockerModelType) Encode(e *jx.Encoder)
- func (o OptShockerModelType) Get() (v ShockerModelType, ok bool)
- func (o OptShockerModelType) IsSet() bool
- func (s OptShockerModelType) MarshalJSON() ([]byte, error)
- func (o OptShockerModelType) Or(d ShockerModelType) ShockerModelType
- func (o *OptShockerModelType) Reset()
- func (s *OptShockerModelType) SetFake()
- func (o *OptShockerModelType) SetTo(v ShockerModelType)
- func (s *OptShockerModelType) UnmarshalJSON(data []byte) error
- type OptShockerPermissions
- func (o *OptShockerPermissions) Decode(d *jx.Decoder) error
- func (o OptShockerPermissions) Encode(e *jx.Encoder)
- func (o OptShockerPermissions) Get() (v ShockerPermissions, ok bool)
- func (o OptShockerPermissions) IsSet() bool
- func (s OptShockerPermissions) MarshalJSON() ([]byte, error)
- func (o OptShockerPermissions) Or(d ShockerPermissions) ShockerPermissions
- func (o *OptShockerPermissions) Reset()
- func (s *OptShockerPermissions) SetFake()
- func (o *OptShockerPermissions) SetTo(v ShockerPermissions)
- func (s *OptShockerPermissions) UnmarshalJSON(data []byte) error
- type OptShockerWithDevice
- func (o *OptShockerWithDevice) Decode(d *jx.Decoder) error
- func (o OptShockerWithDevice) Encode(e *jx.Encoder)
- func (o OptShockerWithDevice) Get() (v ShockerWithDevice, ok bool)
- func (o OptShockerWithDevice) IsSet() bool
- func (s OptShockerWithDevice) MarshalJSON() ([]byte, error)
- func (o OptShockerWithDevice) Or(d ShockerWithDevice) ShockerWithDevice
- func (o *OptShockerWithDevice) Reset()
- func (s *OptShockerWithDevice) SetFake()
- func (o *OptShockerWithDevice) SetTo(v ShockerWithDevice)
- func (s *OptShockerWithDevice) UnmarshalJSON(data []byte) error
- type OptSignUp
- func (o *OptSignUp) Decode(d *jx.Decoder) error
- func (o OptSignUp) Encode(e *jx.Encoder)
- func (o OptSignUp) Get() (v SignUp, ok bool)
- func (o OptSignUp) IsSet() bool
- func (s OptSignUp) MarshalJSON() ([]byte, error)
- func (o OptSignUp) Or(d SignUp) SignUp
- func (o *OptSignUp) Reset()
- func (s *OptSignUp) SetFake()
- func (o *OptSignUp) SetTo(v SignUp)
- func (s *OptSignUp) UnmarshalJSON(data []byte) error
- type OptSignUpV2
- func (o *OptSignUpV2) Decode(d *jx.Decoder) error
- func (o OptSignUpV2) Encode(e *jx.Encoder)
- func (o OptSignUpV2) Get() (v SignUpV2, ok bool)
- func (o OptSignUpV2) IsSet() bool
- func (s OptSignUpV2) MarshalJSON() ([]byte, error)
- func (o OptSignUpV2) Or(d SignUpV2) SignUpV2
- func (o *OptSignUpV2) Reset()
- func (s *OptSignUpV2) SetFake()
- func (o *OptSignUpV2) SetTo(v SignUpV2)
- func (s *OptSignUpV2) UnmarshalJSON(data []byte) error
- type OptStatsResponse
- func (o *OptStatsResponse) Decode(d *jx.Decoder) error
- func (o OptStatsResponse) Encode(e *jx.Encoder)
- func (o OptStatsResponse) Get() (v StatsResponse, ok bool)
- func (o OptStatsResponse) IsSet() bool
- func (s OptStatsResponse) MarshalJSON() ([]byte, error)
- func (o OptStatsResponse) Or(d StatsResponse) StatsResponse
- func (o *OptStatsResponse) Reset()
- func (s *OptStatsResponse) SetFake()
- func (o *OptStatsResponse) SetTo(v StatsResponse)
- func (s *OptStatsResponse) UnmarshalJSON(data []byte) error
- type OptTokenResponse
- func (o *OptTokenResponse) Decode(d *jx.Decoder) error
- func (o OptTokenResponse) Encode(e *jx.Encoder)
- func (o OptTokenResponse) Get() (v TokenResponse, ok bool)
- func (o OptTokenResponse) IsSet() bool
- func (s OptTokenResponse) MarshalJSON() ([]byte, error)
- func (o OptTokenResponse) Or(d TokenResponse) TokenResponse
- func (o *OptTokenResponse) Reset()
- func (s *OptTokenResponse) SetFake()
- func (o *OptTokenResponse) SetTo(v TokenResponse)
- func (s *OptTokenResponse) 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 Option
- type OtaItem
- func (s *OtaItem) Decode(d *jx.Decoder) error
- func (s *OtaItem) Encode(e *jx.Encoder)
- func (s *OtaItem) GetID() OptInt32
- func (s *OtaItem) GetMessage() OptNilString
- func (s *OtaItem) GetStartedAt() OptDateTime
- func (s *OtaItem) GetStatus() OptOtaUpdateStatus
- func (s *OtaItem) GetVersion() OptNilString
- func (s *OtaItem) MarshalJSON() ([]byte, error)
- func (s *OtaItem) SetFake()
- func (s *OtaItem) SetID(val OptInt32)
- func (s *OtaItem) SetMessage(val OptNilString)
- func (s *OtaItem) SetStartedAt(val OptDateTime)
- func (s *OtaItem) SetStatus(val OptOtaUpdateStatus)
- func (s *OtaItem) SetVersion(val OptNilString)
- func (s *OtaItem) UnmarshalJSON(data []byte) error
- func (s *OtaItem) Validate() error
- type OtaItemIReadOnlyCollectionBaseResponse
- func (s *OtaItemIReadOnlyCollectionBaseResponse) Decode(d *jx.Decoder) error
- func (s *OtaItemIReadOnlyCollectionBaseResponse) Encode(e *jx.Encoder)
- func (s *OtaItemIReadOnlyCollectionBaseResponse) GetData() OptNilOtaItemArray
- func (s *OtaItemIReadOnlyCollectionBaseResponse) GetMessage() OptNilString
- func (s *OtaItemIReadOnlyCollectionBaseResponse) MarshalJSON() ([]byte, error)
- func (s *OtaItemIReadOnlyCollectionBaseResponse) SetData(val OptNilOtaItemArray)
- func (s *OtaItemIReadOnlyCollectionBaseResponse) SetFake()
- func (s *OtaItemIReadOnlyCollectionBaseResponse) SetMessage(val OptNilString)
- func (s *OtaItemIReadOnlyCollectionBaseResponse) UnmarshalJSON(data []byte) error
- func (s *OtaItemIReadOnlyCollectionBaseResponse) Validate() error
- type OtaUpdateStatus
- func (OtaUpdateStatus) AllValues() []OtaUpdateStatus
- func (s *OtaUpdateStatus) Decode(d *jx.Decoder) error
- func (s OtaUpdateStatus) Encode(e *jx.Encoder)
- func (s OtaUpdateStatus) MarshalJSON() ([]byte, error)
- func (s OtaUpdateStatus) MarshalText() ([]byte, error)
- func (s *OtaUpdateStatus) SetFake()
- func (s *OtaUpdateStatus) UnmarshalJSON(data []byte) error
- func (s *OtaUpdateStatus) UnmarshalText(data []byte) error
- func (s OtaUpdateStatus) Validate() error
- type OwnerShockerResponse
- func (s *OwnerShockerResponse) Decode(d *jx.Decoder) error
- func (s *OwnerShockerResponse) Encode(e *jx.Encoder)
- func (s *OwnerShockerResponse) GetDevices() OptNilSharedDeviceArray
- func (s *OwnerShockerResponse) GetID() OptUUID
- func (s *OwnerShockerResponse) GetName() OptNilString
- func (s *OwnerShockerResponse) MarshalJSON() ([]byte, error)
- func (s *OwnerShockerResponse) SetDevices(val OptNilSharedDeviceArray)
- func (s *OwnerShockerResponse) SetFake()
- func (s *OwnerShockerResponse) SetID(val OptUUID)
- func (s *OwnerShockerResponse) SetName(val OptNilString)
- func (s *OwnerShockerResponse) UnmarshalJSON(data []byte) error
- func (s *OwnerShockerResponse) Validate() error
- type OwnerShockerResponseIEnumerableIEnumerableBaseResponse
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) GetData() OptNilOwnerShockerResponseArrayArray
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetData(val OptNilOwnerShockerResponseArrayArray)
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetFake()
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Validate() error
- type PasswordResetProcessData
- func (s *PasswordResetProcessData) Decode(d *jx.Decoder) error
- func (s *PasswordResetProcessData) Encode(e *jx.Encoder)
- func (s *PasswordResetProcessData) GetPassword() OptNilString
- func (s *PasswordResetProcessData) MarshalJSON() ([]byte, error)
- func (s *PasswordResetProcessData) SetFake()
- func (s *PasswordResetProcessData) SetPassword(val OptNilString)
- func (s *PasswordResetProcessData) UnmarshalJSON(data []byte) error
- type PauseReasonBaseResponse
- func (s *PauseReasonBaseResponse) Decode(d *jx.Decoder) error
- func (s *PauseReasonBaseResponse) Encode(e *jx.Encoder)
- func (s *PauseReasonBaseResponse) GetData() OptInt
- func (s *PauseReasonBaseResponse) GetMessage() OptNilString
- func (s *PauseReasonBaseResponse) MarshalJSON() ([]byte, error)
- func (s *PauseReasonBaseResponse) SetData(val OptInt)
- func (s *PauseReasonBaseResponse) SetFake()
- func (s *PauseReasonBaseResponse) SetMessage(val OptNilString)
- func (s *PauseReasonBaseResponse) UnmarshalJSON(data []byte) error
- type PauseRequest
- func (s *PauseRequest) Decode(d *jx.Decoder) error
- func (s *PauseRequest) Encode(e *jx.Encoder)
- func (s *PauseRequest) GetPause() OptBool
- func (s *PauseRequest) MarshalJSON() ([]byte, error)
- func (s *PauseRequest) SetFake()
- func (s *PauseRequest) SetPause(val OptBool)
- func (s *PauseRequest) UnmarshalJSON(data []byte) error
- type PermissionType
- func (PermissionType) AllValues() []PermissionType
- func (s *PermissionType) Decode(d *jx.Decoder) error
- func (s PermissionType) Encode(e *jx.Encoder)
- func (s PermissionType) MarshalJSON() ([]byte, error)
- func (s PermissionType) MarshalText() ([]byte, error)
- func (s *PermissionType) SetFake()
- func (s *PermissionType) UnmarshalJSON(data []byte) error
- func (s *PermissionType) UnmarshalText(data []byte) error
- func (s PermissionType) Validate() error
- type PublicGetShareLinkParams
- type PublicGetShareLinkRes
- type PublicShareLinkResponse
- func (s *PublicShareLinkResponse) Decode(d *jx.Decoder) error
- func (s *PublicShareLinkResponse) Encode(e *jx.Encoder)
- func (s *PublicShareLinkResponse) GetAuthor() OptGenericIni
- func (s *PublicShareLinkResponse) GetCreatedOn() OptDateTime
- func (s *PublicShareLinkResponse) GetDevices() OptNilShareLinkDeviceArray
- func (s *PublicShareLinkResponse) GetExpiresOn() OptNilDateTime
- func (s *PublicShareLinkResponse) GetID() OptUUID
- func (s *PublicShareLinkResponse) GetName() OptNilString
- func (s *PublicShareLinkResponse) MarshalJSON() ([]byte, error)
- func (s *PublicShareLinkResponse) SetAuthor(val OptGenericIni)
- func (s *PublicShareLinkResponse) SetCreatedOn(val OptDateTime)
- func (s *PublicShareLinkResponse) SetDevices(val OptNilShareLinkDeviceArray)
- func (s *PublicShareLinkResponse) SetExpiresOn(val OptNilDateTime)
- func (s *PublicShareLinkResponse) SetFake()
- func (s *PublicShareLinkResponse) SetID(val OptUUID)
- func (s *PublicShareLinkResponse) SetName(val OptNilString)
- func (s *PublicShareLinkResponse) UnmarshalJSON(data []byte) error
- func (s *PublicShareLinkResponse) Validate() error
- type PublicShareLinkResponseBaseResponse
- func (s *PublicShareLinkResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *PublicShareLinkResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *PublicShareLinkResponseBaseResponse) GetData() OptPublicShareLinkResponse
- func (s *PublicShareLinkResponseBaseResponse) GetMessage() OptNilString
- func (s *PublicShareLinkResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *PublicShareLinkResponseBaseResponse) SetData(val OptPublicShareLinkResponse)
- func (s *PublicShareLinkResponseBaseResponse) SetFake()
- func (s *PublicShareLinkResponseBaseResponse) SetMessage(val OptNilString)
- func (s *PublicShareLinkResponseBaseResponse) UnmarshalJSON(data []byte) error
- func (s *PublicShareLinkResponseBaseResponse) Validate() error
- type RankType
- func (RankType) AllValues() []RankType
- func (s *RankType) Decode(d *jx.Decoder) error
- func (s RankType) Encode(e *jx.Encoder)
- func (s RankType) MarshalJSON() ([]byte, error)
- func (s RankType) MarshalText() ([]byte, error)
- func (s *RankType) SetFake()
- func (s *RankType) UnmarshalJSON(data []byte) error
- func (s *RankType) UnmarshalText(data []byte) error
- func (s RankType) Validate() error
- type ResetRequest
- func (s *ResetRequest) Decode(d *jx.Decoder) error
- func (s *ResetRequest) Encode(e *jx.Encoder)
- func (s *ResetRequest) GetEmail() OptNilString
- func (s *ResetRequest) MarshalJSON() ([]byte, error)
- func (s *ResetRequest) SetEmail(val OptNilString)
- func (s *ResetRequest) SetFake()
- func (s *ResetRequest) UnmarshalJSON(data []byte) error
- type ResponseDevice
- func (s *ResponseDevice) Decode(d *jx.Decoder) error
- func (s *ResponseDevice) Encode(e *jx.Encoder)
- func (s *ResponseDevice) GetCreatedOn() OptDateTime
- func (s *ResponseDevice) GetID() OptUUID
- func (s *ResponseDevice) GetName() OptNilString
- func (s *ResponseDevice) MarshalJSON() ([]byte, error)
- func (s *ResponseDevice) SetCreatedOn(val OptDateTime)
- func (s *ResponseDevice) SetFake()
- func (s *ResponseDevice) SetID(val OptUUID)
- func (s *ResponseDevice) SetName(val OptNilString)
- func (s *ResponseDevice) UnmarshalJSON(data []byte) error
- type ResponseDeviceIEnumerableBaseResponse
- func (s *ResponseDeviceIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *ResponseDeviceIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *ResponseDeviceIEnumerableBaseResponse) GetData() OptNilResponseDeviceArray
- func (s *ResponseDeviceIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *ResponseDeviceIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ResponseDeviceIEnumerableBaseResponse) SetData(val OptNilResponseDeviceArray)
- func (s *ResponseDeviceIEnumerableBaseResponse) SetFake()
- func (s *ResponseDeviceIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *ResponseDeviceIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *ResponseDeviceIEnumerableBaseResponse) Validate() error
- type ResponseDeviceWithShockers
- func (s *ResponseDeviceWithShockers) Decode(d *jx.Decoder) error
- func (s *ResponseDeviceWithShockers) Encode(e *jx.Encoder)
- func (s *ResponseDeviceWithShockers) GetCreatedOn() OptDateTime
- func (s *ResponseDeviceWithShockers) GetID() OptUUID
- func (s *ResponseDeviceWithShockers) GetName() OptNilString
- func (s *ResponseDeviceWithShockers) GetShockers() OptNilShockerResponseArray
- func (s *ResponseDeviceWithShockers) MarshalJSON() ([]byte, error)
- func (s *ResponseDeviceWithShockers) SetCreatedOn(val OptDateTime)
- func (s *ResponseDeviceWithShockers) SetFake()
- func (s *ResponseDeviceWithShockers) SetID(val OptUUID)
- func (s *ResponseDeviceWithShockers) SetName(val OptNilString)
- func (s *ResponseDeviceWithShockers) SetShockers(val OptNilShockerResponseArray)
- func (s *ResponseDeviceWithShockers) UnmarshalJSON(data []byte) error
- func (s *ResponseDeviceWithShockers) Validate() error
- type ResponseDeviceWithShockersIEnumerableBaseResponse
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) GetData() OptNilResponseDeviceWithShockersArray
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) SetData(val OptNilResponseDeviceWithShockersArray)
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) SetFake()
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) Validate() error
- type ResponseDeviceWithToken
- func (s *ResponseDeviceWithToken) Decode(d *jx.Decoder) error
- func (s *ResponseDeviceWithToken) Encode(e *jx.Encoder)
- func (s *ResponseDeviceWithToken) GetCreatedOn() OptDateTime
- func (s *ResponseDeviceWithToken) GetID() OptUUID
- func (s *ResponseDeviceWithToken) GetName() OptNilString
- func (s *ResponseDeviceWithToken) GetToken() OptNilString
- func (s *ResponseDeviceWithToken) MarshalJSON() ([]byte, error)
- func (s *ResponseDeviceWithToken) SetCreatedOn(val OptDateTime)
- func (s *ResponseDeviceWithToken) SetFake()
- func (s *ResponseDeviceWithToken) SetID(val OptUUID)
- func (s *ResponseDeviceWithToken) SetName(val OptNilString)
- func (s *ResponseDeviceWithToken) SetToken(val OptNilString)
- func (s *ResponseDeviceWithToken) UnmarshalJSON(data []byte) error
- type ResponseDeviceWithTokenBaseResponse
- func (s *ResponseDeviceWithTokenBaseResponse) Decode(d *jx.Decoder) error
- func (s *ResponseDeviceWithTokenBaseResponse) Encode(e *jx.Encoder)
- func (s *ResponseDeviceWithTokenBaseResponse) GetData() OptResponseDeviceWithToken
- func (s *ResponseDeviceWithTokenBaseResponse) GetMessage() OptNilString
- func (s *ResponseDeviceWithTokenBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ResponseDeviceWithTokenBaseResponse) SetData(val OptResponseDeviceWithToken)
- func (s *ResponseDeviceWithTokenBaseResponse) SetFake()
- func (s *ResponseDeviceWithTokenBaseResponse) SetMessage(val OptNilString)
- func (s *ResponseDeviceWithTokenBaseResponse) UnmarshalJSON(data []byte) error
- type RootResponse
- func (s *RootResponse) Decode(d *jx.Decoder) error
- func (s *RootResponse) Encode(e *jx.Encoder)
- func (s *RootResponse) GetCommit() OptNilString
- func (s *RootResponse) GetCurrentTime() OptDateTime
- func (s *RootResponse) GetVersion() OptNilString
- func (s *RootResponse) MarshalJSON() ([]byte, error)
- func (s *RootResponse) SetCommit(val OptNilString)
- func (s *RootResponse) SetCurrentTime(val OptDateTime)
- func (s *RootResponse) SetFake()
- func (s *RootResponse) SetVersion(val OptNilString)
- func (s *RootResponse) UnmarshalJSON(data []byte) error
- type RootResponseBaseResponse
- func (s *RootResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *RootResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *RootResponseBaseResponse) GetData() OptRootResponse
- func (s *RootResponseBaseResponse) GetMessage() OptNilString
- func (s *RootResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *RootResponseBaseResponse) SetData(val OptRootResponse)
- func (s *RootResponseBaseResponse) SetFake()
- func (s *RootResponseBaseResponse) SetMessage(val OptNilString)
- func (s *RootResponseBaseResponse) UnmarshalJSON(data []byte) error
- type SecuritySource
- type SelfResponse
- func (s *SelfResponse) Decode(d *jx.Decoder) error
- func (s *SelfResponse) Encode(e *jx.Encoder)
- func (s *SelfResponse) GetEmail() OptNilString
- func (s *SelfResponse) GetID() OptUUID
- func (s *SelfResponse) GetImage() OptNilURI
- func (s *SelfResponse) GetName() OptNilString
- func (s *SelfResponse) GetRank() OptRankType
- func (s *SelfResponse) MarshalJSON() ([]byte, error)
- func (s *SelfResponse) SetEmail(val OptNilString)
- func (s *SelfResponse) SetFake()
- func (s *SelfResponse) SetID(val OptUUID)
- func (s *SelfResponse) SetImage(val OptNilURI)
- func (s *SelfResponse) SetName(val OptNilString)
- func (s *SelfResponse) SetRank(val OptRankType)
- func (s *SelfResponse) UnmarshalJSON(data []byte) error
- func (s *SelfResponse) Validate() error
- type SelfResponseBaseResponse
- func (s *SelfResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *SelfResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *SelfResponseBaseResponse) GetData() OptSelfResponse
- func (s *SelfResponseBaseResponse) GetMessage() OptNilString
- func (s *SelfResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *SelfResponseBaseResponse) SetData(val OptSelfResponse)
- func (s *SelfResponseBaseResponse) SetFake()
- func (s *SelfResponseBaseResponse) SetMessage(val OptNilString)
- func (s *SelfResponseBaseResponse) UnmarshalJSON(data []byte) error
- func (s *SelfResponseBaseResponse) Validate() error
- type ShareCodeInfo
- func (s *ShareCodeInfo) Decode(d *jx.Decoder) error
- func (s *ShareCodeInfo) Encode(e *jx.Encoder)
- func (s *ShareCodeInfo) GetCreatedOn() OptDateTime
- func (s *ShareCodeInfo) GetID() OptUUID
- func (s *ShareCodeInfo) MarshalJSON() ([]byte, error)
- func (s *ShareCodeInfo) SetCreatedOn(val OptDateTime)
- func (s *ShareCodeInfo) SetFake()
- func (s *ShareCodeInfo) SetID(val OptUUID)
- func (s *ShareCodeInfo) UnmarshalJSON(data []byte) error
- type ShareCodeInfoIEnumerableBaseResponse
- func (s *ShareCodeInfoIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *ShareCodeInfoIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *ShareCodeInfoIEnumerableBaseResponse) GetData() OptNilShareCodeInfoArray
- func (s *ShareCodeInfoIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *ShareCodeInfoIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ShareCodeInfoIEnumerableBaseResponse) SetData(val OptNilShareCodeInfoArray)
- func (s *ShareCodeInfoIEnumerableBaseResponse) SetFake()
- func (s *ShareCodeInfoIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *ShareCodeInfoIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *ShareCodeInfoIEnumerableBaseResponse) Validate() error
- type ShareInfo
- func (s *ShareInfo) Decode(d *jx.Decoder) error
- func (s *ShareInfo) Encode(e *jx.Encoder)
- func (s *ShareInfo) GetCreatedOn() OptDateTime
- func (s *ShareInfo) GetLimits() OptShockerLimits
- func (s *ShareInfo) GetPaused() OptBool
- func (s *ShareInfo) GetPermissions() OptShockerPermissions
- func (s *ShareInfo) GetSharedWith() OptGenericIni
- func (s *ShareInfo) MarshalJSON() ([]byte, error)
- func (s *ShareInfo) SetCreatedOn(val OptDateTime)
- func (s *ShareInfo) SetFake()
- func (s *ShareInfo) SetLimits(val OptShockerLimits)
- func (s *ShareInfo) SetPaused(val OptBool)
- func (s *ShareInfo) SetPermissions(val OptShockerPermissions)
- func (s *ShareInfo) SetSharedWith(val OptGenericIni)
- func (s *ShareInfo) UnmarshalJSON(data []byte) error
- func (s *ShareInfo) Validate() error
- type ShareInfoIEnumerableBaseResponse
- func (s *ShareInfoIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *ShareInfoIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *ShareInfoIEnumerableBaseResponse) GetData() OptNilShareInfoArray
- func (s *ShareInfoIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *ShareInfoIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ShareInfoIEnumerableBaseResponse) SetData(val OptNilShareInfoArray)
- func (s *ShareInfoIEnumerableBaseResponse) SetFake()
- func (s *ShareInfoIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *ShareInfoIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *ShareInfoIEnumerableBaseResponse) Validate() error
- type ShareLinkCreate
- func (s *ShareLinkCreate) Decode(d *jx.Decoder) error
- func (s *ShareLinkCreate) Encode(e *jx.Encoder)
- func (s *ShareLinkCreate) GetExpiresOn() OptNilDateTime
- func (s *ShareLinkCreate) GetName() OptNilString
- func (s *ShareLinkCreate) MarshalJSON() ([]byte, error)
- func (s *ShareLinkCreate) SetExpiresOn(val OptNilDateTime)
- func (s *ShareLinkCreate) SetFake()
- func (s *ShareLinkCreate) SetName(val OptNilString)
- func (s *ShareLinkCreate) UnmarshalJSON(data []byte) error
- type ShareLinkDevice
- func (s *ShareLinkDevice) Decode(d *jx.Decoder) error
- func (s *ShareLinkDevice) Encode(e *jx.Encoder)
- func (s *ShareLinkDevice) GetID() OptUUID
- func (s *ShareLinkDevice) GetName() OptNilString
- func (s *ShareLinkDevice) GetShockers() OptNilShareLinkShockerArray
- func (s *ShareLinkDevice) MarshalJSON() ([]byte, error)
- func (s *ShareLinkDevice) SetFake()
- func (s *ShareLinkDevice) SetID(val OptUUID)
- func (s *ShareLinkDevice) SetName(val OptNilString)
- func (s *ShareLinkDevice) SetShockers(val OptNilShareLinkShockerArray)
- func (s *ShareLinkDevice) UnmarshalJSON(data []byte) error
- func (s *ShareLinkDevice) Validate() error
- type ShareLinkEditShocker
- func (s *ShareLinkEditShocker) Decode(d *jx.Decoder) error
- func (s *ShareLinkEditShocker) Encode(e *jx.Encoder)
- func (s *ShareLinkEditShocker) GetCooldown() OptNilInt32
- func (s *ShareLinkEditShocker) GetLimits() OptShockerLimits
- func (s *ShareLinkEditShocker) GetPermissions() OptShockerPermissions
- func (s *ShareLinkEditShocker) MarshalJSON() ([]byte, error)
- func (s *ShareLinkEditShocker) SetCooldown(val OptNilInt32)
- func (s *ShareLinkEditShocker) SetFake()
- func (s *ShareLinkEditShocker) SetLimits(val OptShockerLimits)
- func (s *ShareLinkEditShocker) SetPermissions(val OptShockerPermissions)
- func (s *ShareLinkEditShocker) UnmarshalJSON(data []byte) error
- func (s *ShareLinkEditShocker) Validate() error
- type ShareLinkResponse
- func (s *ShareLinkResponse) Decode(d *jx.Decoder) error
- func (s *ShareLinkResponse) Encode(e *jx.Encoder)
- func (s *ShareLinkResponse) GetCreatedOn() OptDateTime
- func (s *ShareLinkResponse) GetExpiresOn() OptNilDateTime
- func (s *ShareLinkResponse) GetID() OptUUID
- func (s *ShareLinkResponse) GetName() OptNilString
- func (s *ShareLinkResponse) MarshalJSON() ([]byte, error)
- func (s *ShareLinkResponse) SetCreatedOn(val OptDateTime)
- func (s *ShareLinkResponse) SetExpiresOn(val OptNilDateTime)
- func (s *ShareLinkResponse) SetFake()
- func (s *ShareLinkResponse) SetID(val OptUUID)
- func (s *ShareLinkResponse) SetName(val OptNilString)
- func (s *ShareLinkResponse) UnmarshalJSON(data []byte) error
- type ShareLinkResponseBaseResponse
- func (s *ShareLinkResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *ShareLinkResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *ShareLinkResponseBaseResponse) GetData() OptShareLinkResponse
- func (s *ShareLinkResponseBaseResponse) GetMessage() OptNilString
- func (s *ShareLinkResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ShareLinkResponseBaseResponse) SetData(val OptShareLinkResponse)
- func (s *ShareLinkResponseBaseResponse) SetFake()
- func (s *ShareLinkResponseBaseResponse) SetMessage(val OptNilString)
- func (s *ShareLinkResponseBaseResponse) UnmarshalJSON(data []byte) error
- type ShareLinkResponseIEnumerableBaseResponse
- func (s *ShareLinkResponseIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *ShareLinkResponseIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *ShareLinkResponseIEnumerableBaseResponse) GetData() OptNilShareLinkResponseArray
- func (s *ShareLinkResponseIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *ShareLinkResponseIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ShareLinkResponseIEnumerableBaseResponse) SetData(val OptNilShareLinkResponseArray)
- func (s *ShareLinkResponseIEnumerableBaseResponse) SetFake()
- func (s *ShareLinkResponseIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *ShareLinkResponseIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *ShareLinkResponseIEnumerableBaseResponse) Validate() error
- type ShareLinkShocker
- func (s *ShareLinkShocker) Decode(d *jx.Decoder) error
- func (s *ShareLinkShocker) Encode(e *jx.Encoder)
- func (s *ShareLinkShocker) GetID() OptUUID
- func (s *ShareLinkShocker) GetLimits() OptShockerLimits
- func (s *ShareLinkShocker) GetName() OptNilString
- func (s *ShareLinkShocker) GetPaused() OptInt
- func (s *ShareLinkShocker) GetPermissions() OptShockerPermissions
- func (s *ShareLinkShocker) MarshalJSON() ([]byte, error)
- func (s *ShareLinkShocker) SetFake()
- func (s *ShareLinkShocker) SetID(val OptUUID)
- func (s *ShareLinkShocker) SetLimits(val OptShockerLimits)
- func (s *ShareLinkShocker) SetName(val OptNilString)
- func (s *ShareLinkShocker) SetPaused(val OptInt)
- func (s *ShareLinkShocker) SetPermissions(val OptShockerPermissions)
- func (s *ShareLinkShocker) UnmarshalJSON(data []byte) error
- func (s *ShareLinkShocker) Validate() error
- type ShareLinksAddShockerConflict
- func (s *ShareLinksAddShockerConflict) Decode(d *jx.Decoder) error
- func (s *ShareLinksAddShockerConflict) Encode(e *jx.Encoder)
- func (s *ShareLinksAddShockerConflict) MarshalJSON() ([]byte, error)
- func (s *ShareLinksAddShockerConflict) SetFake()
- func (s *ShareLinksAddShockerConflict) UnmarshalJSON(data []byte) error
- type ShareLinksAddShockerNotFound
- func (s *ShareLinksAddShockerNotFound) Decode(d *jx.Decoder) error
- func (s *ShareLinksAddShockerNotFound) Encode(e *jx.Encoder)
- func (s *ShareLinksAddShockerNotFound) MarshalJSON() ([]byte, error)
- func (s *ShareLinksAddShockerNotFound) SetFake()
- func (s *ShareLinksAddShockerNotFound) UnmarshalJSON(data []byte) error
- type ShareLinksAddShockerParams
- type ShareLinksAddShockerRes
- type ShareLinksDeleteShareLinkParams
- type ShareLinksDeleteShareLinkRes
- type ShareLinksEditShockerBadRequest
- type ShareLinksEditShockerParams
- type ShareLinksEditShockerRes
- type ShareLinksPauseShockerBadRequest
- type ShareLinksPauseShockerParams
- type ShareLinksPauseShockerRes
- type ShareLinksRemoveShockerBadRequest
- type ShareLinksRemoveShockerParams
- type ShareLinksRemoveShockerRes
- type SharedDevice
- func (s *SharedDevice) Decode(d *jx.Decoder) error
- func (s *SharedDevice) Encode(e *jx.Encoder)
- func (s *SharedDevice) GetID() OptUUID
- func (s *SharedDevice) GetName() OptNilString
- func (s *SharedDevice) GetShockers() OptNilSharedShockerArray
- func (s *SharedDevice) MarshalJSON() ([]byte, error)
- func (s *SharedDevice) SetFake()
- func (s *SharedDevice) SetID(val OptUUID)
- func (s *SharedDevice) SetName(val OptNilString)
- func (s *SharedDevice) SetShockers(val OptNilSharedShockerArray)
- func (s *SharedDevice) UnmarshalJSON(data []byte) error
- func (s *SharedDevice) Validate() error
- type SharedShocker
- func (s *SharedShocker) Decode(d *jx.Decoder) error
- func (s *SharedShocker) Encode(e *jx.Encoder)
- func (s *SharedShocker) GetID() OptUUID
- func (s *SharedShocker) GetIsPaused() OptBool
- func (s *SharedShocker) GetLimits() OptShockerLimits
- func (s *SharedShocker) GetName() OptNilString
- func (s *SharedShocker) GetPermissions() OptShockerPermissions
- func (s *SharedShocker) MarshalJSON() ([]byte, error)
- func (s *SharedShocker) SetFake()
- func (s *SharedShocker) SetID(val OptUUID)
- func (s *SharedShocker) SetIsPaused(val OptBool)
- func (s *SharedShocker) SetLimits(val OptShockerLimits)
- func (s *SharedShocker) SetName(val OptNilString)
- func (s *SharedShocker) SetPermissions(val OptShockerPermissions)
- func (s *SharedShocker) UnmarshalJSON(data []byte) error
- func (s *SharedShocker) Validate() error
- type SharesDeleteShareCodeParams
- type SharesDeleteShareCodeRes
- type SharesLinkShareCodeBadRequest
- func (s *SharesLinkShareCodeBadRequest) Decode(d *jx.Decoder) error
- func (s *SharesLinkShareCodeBadRequest) Encode(e *jx.Encoder)
- func (s *SharesLinkShareCodeBadRequest) MarshalJSON() ([]byte, error)
- func (s *SharesLinkShareCodeBadRequest) SetFake()
- func (s *SharesLinkShareCodeBadRequest) UnmarshalJSON(data []byte) error
- type SharesLinkShareCodeInternalServerError
- type SharesLinkShareCodeNotFound
- func (s *SharesLinkShareCodeNotFound) Decode(d *jx.Decoder) error
- func (s *SharesLinkShareCodeNotFound) Encode(e *jx.Encoder)
- func (s *SharesLinkShareCodeNotFound) MarshalJSON() ([]byte, error)
- func (s *SharesLinkShareCodeNotFound) SetFake()
- func (s *SharesLinkShareCodeNotFound) UnmarshalJSON(data []byte) error
- type SharesLinkShareCodeParams
- type SharesLinkShareCodeRes
- type ShockerEditShockerParams
- type ShockerEditShockerRes
- type ShockerGetShockerByIdParams
- type ShockerGetShockerByIdRes
- type ShockerGetShockerLogsParams
- type ShockerGetShockerLogsRes
- type ShockerGetShockerSharesParams
- type ShockerGetShockerSharesRes
- type ShockerLimits
- func (s *ShockerLimits) Decode(d *jx.Decoder) error
- func (s *ShockerLimits) Encode(e *jx.Encoder)
- func (s *ShockerLimits) GetDuration() OptNilInt32
- func (s *ShockerLimits) GetIntensity() OptNilInt32
- func (s *ShockerLimits) MarshalJSON() ([]byte, error)
- func (s *ShockerLimits) SetDuration(val OptNilInt32)
- func (s *ShockerLimits) SetFake()
- func (s *ShockerLimits) SetIntensity(val OptNilInt32)
- func (s *ShockerLimits) UnmarshalJSON(data []byte) error
- func (s *ShockerLimits) Validate() error
- type ShockerModelType
- func (ShockerModelType) AllValues() []ShockerModelType
- func (s *ShockerModelType) Decode(d *jx.Decoder) error
- func (s ShockerModelType) Encode(e *jx.Encoder)
- func (s ShockerModelType) MarshalJSON() ([]byte, error)
- func (s ShockerModelType) MarshalText() ([]byte, error)
- func (s *ShockerModelType) SetFake()
- func (s *ShockerModelType) UnmarshalJSON(data []byte) error
- func (s *ShockerModelType) UnmarshalText(data []byte) error
- func (s ShockerModelType) Validate() error
- type ShockerPauseShockerParams
- type ShockerPauseShockerRes
- type ShockerPermissions
- func (s *ShockerPermissions) Decode(d *jx.Decoder) error
- func (s *ShockerPermissions) Encode(e *jx.Encoder)
- func (s *ShockerPermissions) GetLive() OptBool
- func (s *ShockerPermissions) GetShock() OptBool
- func (s *ShockerPermissions) GetSound() OptBool
- func (s *ShockerPermissions) GetVibrate() OptBool
- func (s *ShockerPermissions) MarshalJSON() ([]byte, error)
- func (s *ShockerPermissions) SetFake()
- func (s *ShockerPermissions) SetLive(val OptBool)
- func (s *ShockerPermissions) SetShock(val OptBool)
- func (s *ShockerPermissions) SetSound(val OptBool)
- func (s *ShockerPermissions) SetVibrate(val OptBool)
- func (s *ShockerPermissions) UnmarshalJSON(data []byte) error
- type ShockerRegisterShockerBadRequest
- func (s *ShockerRegisterShockerBadRequest) Decode(d *jx.Decoder) error
- func (s *ShockerRegisterShockerBadRequest) Encode(e *jx.Encoder)
- func (s *ShockerRegisterShockerBadRequest) MarshalJSON() ([]byte, error)
- func (s *ShockerRegisterShockerBadRequest) SetFake()
- func (s *ShockerRegisterShockerBadRequest) UnmarshalJSON(data []byte) error
- type ShockerRegisterShockerNotFound
- func (s *ShockerRegisterShockerNotFound) Decode(d *jx.Decoder) error
- func (s *ShockerRegisterShockerNotFound) Encode(e *jx.Encoder)
- func (s *ShockerRegisterShockerNotFound) MarshalJSON() ([]byte, error)
- func (s *ShockerRegisterShockerNotFound) SetFake()
- func (s *ShockerRegisterShockerNotFound) UnmarshalJSON(data []byte) error
- type ShockerRegisterShockerRes
- type ShockerRemoveShockerParams
- type ShockerRemoveShockerRes
- type ShockerResponse
- func (s *ShockerResponse) Decode(d *jx.Decoder) error
- func (s *ShockerResponse) Encode(e *jx.Encoder)
- func (s *ShockerResponse) GetCreatedOn() OptDateTime
- func (s *ShockerResponse) GetID() OptUUID
- func (s *ShockerResponse) GetIsPaused() OptBool
- func (s *ShockerResponse) GetModel() OptShockerModelType
- func (s *ShockerResponse) GetName() OptNilString
- func (s *ShockerResponse) GetRfId() OptInt32
- func (s *ShockerResponse) MarshalJSON() ([]byte, error)
- func (s *ShockerResponse) SetCreatedOn(val OptDateTime)
- func (s *ShockerResponse) SetFake()
- func (s *ShockerResponse) SetID(val OptUUID)
- func (s *ShockerResponse) SetIsPaused(val OptBool)
- func (s *ShockerResponse) SetModel(val OptShockerModelType)
- func (s *ShockerResponse) SetName(val OptNilString)
- func (s *ShockerResponse) SetRfId(val OptInt32)
- func (s *ShockerResponse) UnmarshalJSON(data []byte) error
- func (s *ShockerResponse) Validate() error
- type ShockerResponseIEnumerableBaseResponse
- func (s *ShockerResponseIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *ShockerResponseIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *ShockerResponseIEnumerableBaseResponse) GetData() OptNilShockerResponseArray
- func (s *ShockerResponseIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *ShockerResponseIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ShockerResponseIEnumerableBaseResponse) SetData(val OptNilShockerResponseArray)
- func (s *ShockerResponseIEnumerableBaseResponse) SetFake()
- func (s *ShockerResponseIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *ShockerResponseIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *ShockerResponseIEnumerableBaseResponse) Validate() error
- type ShockerSendControlDEPRECATEDForbidden
- func (s *ShockerSendControlDEPRECATEDForbidden) Decode(d *jx.Decoder) error
- func (s *ShockerSendControlDEPRECATEDForbidden) Encode(e *jx.Encoder)
- func (s *ShockerSendControlDEPRECATEDForbidden) MarshalJSON() ([]byte, error)
- func (s *ShockerSendControlDEPRECATEDForbidden) SetFake()
- func (s *ShockerSendControlDEPRECATEDForbidden) UnmarshalJSON(data []byte) error
- type ShockerSendControlDEPRECATEDNotFound
- func (s *ShockerSendControlDEPRECATEDNotFound) Decode(d *jx.Decoder) error
- func (s *ShockerSendControlDEPRECATEDNotFound) Encode(e *jx.Encoder)
- func (s *ShockerSendControlDEPRECATEDNotFound) MarshalJSON() ([]byte, error)
- func (s *ShockerSendControlDEPRECATEDNotFound) SetFake()
- func (s *ShockerSendControlDEPRECATEDNotFound) UnmarshalJSON(data []byte) error
- type ShockerSendControlDEPRECATEDPreconditionFailed
- func (s *ShockerSendControlDEPRECATEDPreconditionFailed) Decode(d *jx.Decoder) error
- func (s *ShockerSendControlDEPRECATEDPreconditionFailed) Encode(e *jx.Encoder)
- func (s *ShockerSendControlDEPRECATEDPreconditionFailed) MarshalJSON() ([]byte, error)
- func (s *ShockerSendControlDEPRECATEDPreconditionFailed) SetFake()
- func (s *ShockerSendControlDEPRECATEDPreconditionFailed) UnmarshalJSON(data []byte) error
- type ShockerSendControlDEPRECATEDRes
- type ShockerSendControlForbidden
- func (s *ShockerSendControlForbidden) Decode(d *jx.Decoder) error
- func (s *ShockerSendControlForbidden) Encode(e *jx.Encoder)
- func (s *ShockerSendControlForbidden) MarshalJSON() ([]byte, error)
- func (s *ShockerSendControlForbidden) SetFake()
- func (s *ShockerSendControlForbidden) UnmarshalJSON(data []byte) error
- type ShockerSendControlNotFound
- func (s *ShockerSendControlNotFound) Decode(d *jx.Decoder) error
- func (s *ShockerSendControlNotFound) Encode(e *jx.Encoder)
- func (s *ShockerSendControlNotFound) MarshalJSON() ([]byte, error)
- func (s *ShockerSendControlNotFound) SetFake()
- func (s *ShockerSendControlNotFound) UnmarshalJSON(data []byte) error
- type ShockerSendControlPreconditionFailed
- func (s *ShockerSendControlPreconditionFailed) Decode(d *jx.Decoder) error
- func (s *ShockerSendControlPreconditionFailed) Encode(e *jx.Encoder)
- func (s *ShockerSendControlPreconditionFailed) MarshalJSON() ([]byte, error)
- func (s *ShockerSendControlPreconditionFailed) SetFake()
- func (s *ShockerSendControlPreconditionFailed) UnmarshalJSON(data []byte) error
- type ShockerSendControlRes
- type ShockerShockerShareCodeCreateParams
- type ShockerShockerShareCodeCreateRes
- type ShockerShockerShareCodeListParams
- type ShockerShockerShareCodeListRes
- type ShockerShockerShareCodePauseParams
- type ShockerShockerShareCodePauseRes
- type ShockerShockerShareCodeRemoveParams
- type ShockerShockerShareCodeRemoveRes
- type ShockerShockerShareCodeUpdateParams
- type ShockerShockerShareCodeUpdateRes
- type ShockerWithDevice
- func (s *ShockerWithDevice) Decode(d *jx.Decoder) error
- func (s *ShockerWithDevice) Encode(e *jx.Encoder)
- func (s *ShockerWithDevice) GetCreatedOn() OptDateTime
- func (s *ShockerWithDevice) GetDevice() OptUUID
- func (s *ShockerWithDevice) GetID() OptUUID
- func (s *ShockerWithDevice) GetIsPaused() OptBool
- func (s *ShockerWithDevice) GetModel() OptShockerModelType
- func (s *ShockerWithDevice) GetName() OptNilString
- func (s *ShockerWithDevice) GetRfId() OptInt32
- func (s *ShockerWithDevice) MarshalJSON() ([]byte, error)
- func (s *ShockerWithDevice) SetCreatedOn(val OptDateTime)
- func (s *ShockerWithDevice) SetDevice(val OptUUID)
- func (s *ShockerWithDevice) SetFake()
- func (s *ShockerWithDevice) SetID(val OptUUID)
- func (s *ShockerWithDevice) SetIsPaused(val OptBool)
- func (s *ShockerWithDevice) SetModel(val OptShockerModelType)
- func (s *ShockerWithDevice) SetName(val OptNilString)
- func (s *ShockerWithDevice) SetRfId(val OptInt32)
- func (s *ShockerWithDevice) UnmarshalJSON(data []byte) error
- func (s *ShockerWithDevice) Validate() error
- type ShockerWithDeviceBaseResponse
- func (s *ShockerWithDeviceBaseResponse) Decode(d *jx.Decoder) error
- func (s *ShockerWithDeviceBaseResponse) Encode(e *jx.Encoder)
- func (s *ShockerWithDeviceBaseResponse) GetData() OptShockerWithDevice
- func (s *ShockerWithDeviceBaseResponse) GetMessage() OptNilString
- func (s *ShockerWithDeviceBaseResponse) MarshalJSON() ([]byte, error)
- func (s *ShockerWithDeviceBaseResponse) SetData(val OptShockerWithDevice)
- func (s *ShockerWithDeviceBaseResponse) SetFake()
- func (s *ShockerWithDeviceBaseResponse) SetMessage(val OptNilString)
- func (s *ShockerWithDeviceBaseResponse) UnmarshalJSON(data []byte) error
- func (s *ShockerWithDeviceBaseResponse) Validate() error
- type SignUp
- func (s *SignUp) Decode(d *jx.Decoder) error
- func (s *SignUp) Encode(e *jx.Encoder)
- func (s *SignUp) GetEmail() OptNilString
- func (s *SignUp) GetPassword() OptNilString
- func (s *SignUp) GetUsername() OptNilString
- func (s *SignUp) MarshalJSON() ([]byte, error)
- func (s *SignUp) SetEmail(val OptNilString)
- func (s *SignUp) SetFake()
- func (s *SignUp) SetPassword(val OptNilString)
- func (s *SignUp) SetUsername(val OptNilString)
- func (s *SignUp) UnmarshalJSON(data []byte) error
- func (s *SignUp) Validate() error
- type SignUpV2
- func (s *SignUpV2) Decode(d *jx.Decoder) error
- func (s *SignUpV2) Encode(e *jx.Encoder)
- func (s *SignUpV2) GetEmail() OptNilString
- func (s *SignUpV2) GetPassword() OptNilString
- func (s *SignUpV2) GetTurnstileResponse() string
- func (s *SignUpV2) GetUsername() OptNilString
- func (s *SignUpV2) MarshalJSON() ([]byte, error)
- func (s *SignUpV2) SetEmail(val OptNilString)
- func (s *SignUpV2) SetFake()
- func (s *SignUpV2) SetPassword(val OptNilString)
- func (s *SignUpV2) SetTurnstileResponse(val string)
- func (s *SignUpV2) SetUsername(val OptNilString)
- func (s *SignUpV2) UnmarshalJSON(data []byte) error
- func (s *SignUpV2) Validate() error
- type StatsResponse
- func (s *StatsResponse) Decode(d *jx.Decoder) error
- func (s *StatsResponse) Encode(e *jx.Encoder)
- func (s *StatsResponse) GetDevicesOnline() OptInt32
- func (s *StatsResponse) MarshalJSON() ([]byte, error)
- func (s *StatsResponse) SetDevicesOnline(val OptInt32)
- func (s *StatsResponse) SetFake()
- func (s *StatsResponse) UnmarshalJSON(data []byte) error
- type StatsResponseBaseResponse
- func (s *StatsResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *StatsResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *StatsResponseBaseResponse) GetData() OptStatsResponse
- func (s *StatsResponseBaseResponse) GetMessage() OptNilString
- func (s *StatsResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *StatsResponseBaseResponse) SetData(val OptStatsResponse)
- func (s *StatsResponseBaseResponse) SetFake()
- func (s *StatsResponseBaseResponse) SetMessage(val OptNilString)
- func (s *StatsResponseBaseResponse) UnmarshalJSON(data []byte) error
- type StringBaseResponse
- func (s *StringBaseResponse) Decode(d *jx.Decoder) error
- func (s *StringBaseResponse) Encode(e *jx.Encoder)
- func (s *StringBaseResponse) GetData() OptNilString
- func (s *StringBaseResponse) GetMessage() OptNilString
- func (s *StringBaseResponse) MarshalJSON() ([]byte, error)
- func (s *StringBaseResponse) SetData(val OptNilString)
- func (s *StringBaseResponse) SetFake()
- func (s *StringBaseResponse) SetMessage(val OptNilString)
- func (s *StringBaseResponse) UnmarshalJSON(data []byte) error
- type TokenResponse
- func (s *TokenResponse) Decode(d *jx.Decoder) error
- func (s *TokenResponse) Encode(e *jx.Encoder)
- func (s *TokenResponse) GetCreatedByIp() OptNilString
- func (s *TokenResponse) GetCreatedOn() OptDateTime
- func (s *TokenResponse) GetID() OptUUID
- func (s *TokenResponse) GetName() OptNilString
- func (s *TokenResponse) GetPermissions() OptNilPermissionTypeArray
- func (s *TokenResponse) GetValidUntil() OptNilDate
- func (s *TokenResponse) MarshalJSON() ([]byte, error)
- func (s *TokenResponse) SetCreatedByIp(val OptNilString)
- func (s *TokenResponse) SetCreatedOn(val OptDateTime)
- func (s *TokenResponse) SetFake()
- func (s *TokenResponse) SetID(val OptUUID)
- func (s *TokenResponse) SetName(val OptNilString)
- func (s *TokenResponse) SetPermissions(val OptNilPermissionTypeArray)
- func (s *TokenResponse) SetValidUntil(val OptNilDate)
- func (s *TokenResponse) UnmarshalJSON(data []byte) error
- func (s *TokenResponse) Validate() error
- type TokenResponseBaseResponse
- func (s *TokenResponseBaseResponse) Decode(d *jx.Decoder) error
- func (s *TokenResponseBaseResponse) Encode(e *jx.Encoder)
- func (s *TokenResponseBaseResponse) GetData() OptTokenResponse
- func (s *TokenResponseBaseResponse) GetMessage() OptNilString
- func (s *TokenResponseBaseResponse) MarshalJSON() ([]byte, error)
- func (s *TokenResponseBaseResponse) SetData(val OptTokenResponse)
- func (s *TokenResponseBaseResponse) SetFake()
- func (s *TokenResponseBaseResponse) SetMessage(val OptNilString)
- func (s *TokenResponseBaseResponse) UnmarshalJSON(data []byte) error
- func (s *TokenResponseBaseResponse) Validate() error
- type TokenResponseIEnumerableBaseResponse
- func (s *TokenResponseIEnumerableBaseResponse) Decode(d *jx.Decoder) error
- func (s *TokenResponseIEnumerableBaseResponse) Encode(e *jx.Encoder)
- func (s *TokenResponseIEnumerableBaseResponse) GetData() OptNilTokenResponseArray
- func (s *TokenResponseIEnumerableBaseResponse) GetMessage() OptNilString
- func (s *TokenResponseIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
- func (s *TokenResponseIEnumerableBaseResponse) SetData(val OptNilTokenResponseArray)
- func (s *TokenResponseIEnumerableBaseResponse) SetFake()
- func (s *TokenResponseIEnumerableBaseResponse) SetMessage(val OptNilString)
- func (s *TokenResponseIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
- func (s *TokenResponseIEnumerableBaseResponse) Validate() error
- type TokensDeleteTokenParams
- type TokensDeleteTokenRes
- type TokensEditTokenParams
- type TokensEditTokenRes
- type TokensGetTokenByIdParams
- type TokensGetTokenByIdRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountLoginRes ¶
type AccountLoginRes interface {
// contains filtered or unexported methods
}
type AccountLoginV2Res ¶
type AccountLoginV2Res interface {
// contains filtered or unexported methods
}
type AccountPasswordResetCheckValidParams ¶
type AccountPasswordResetCheckValidParams struct { // The id of the password reset. PasswordResetId uuid.UUID // The secret of the password reset. Secret string }
AccountPasswordResetCheckValidParams is parameters of Account_PasswordResetCheckValid operation.
type AccountPasswordResetCheckValidRes ¶
type AccountPasswordResetCheckValidRes interface {
// contains filtered or unexported methods
}
type AccountPasswordResetCompleteParams ¶
type AccountPasswordResetCompleteParams struct { // The id of the password reset. PasswordResetId uuid.UUID // The secret of the password reset. Secret string }
AccountPasswordResetCompleteParams is parameters of Account_PasswordResetComplete operation.
type AccountPasswordResetCompleteRes ¶
type AccountPasswordResetCompleteRes interface {
// contains filtered or unexported methods
}
type AccountSignUpRes ¶
type AccountSignUpRes interface {
// contains filtered or unexported methods
}
type AccountSignUpV2BadRequest ¶
type AccountSignUpV2BadRequest struct{}
AccountSignUpV2BadRequest is response for AccountSignUpV2 operation.
type AccountSignUpV2Conflict ¶
type AccountSignUpV2Conflict OpenShockProblem
func (*AccountSignUpV2Conflict) Decode ¶
func (s *AccountSignUpV2Conflict) Decode(d *jx.Decoder) error
Decode decodes AccountSignUpV2Conflict from json.
func (*AccountSignUpV2Conflict) Encode ¶
func (s *AccountSignUpV2Conflict) Encode(e *jx.Encoder)
Encode encodes AccountSignUpV2Conflict as json.
func (*AccountSignUpV2Conflict) MarshalJSON ¶
func (s *AccountSignUpV2Conflict) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountSignUpV2Conflict) SetFake ¶
func (s *AccountSignUpV2Conflict) SetFake()
SetFake set fake values.
func (*AccountSignUpV2Conflict) UnmarshalJSON ¶
func (s *AccountSignUpV2Conflict) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountSignUpV2Forbidden ¶
type AccountSignUpV2Forbidden OpenShockProblem
func (*AccountSignUpV2Forbidden) Decode ¶
func (s *AccountSignUpV2Forbidden) Decode(d *jx.Decoder) error
Decode decodes AccountSignUpV2Forbidden from json.
func (*AccountSignUpV2Forbidden) Encode ¶
func (s *AccountSignUpV2Forbidden) Encode(e *jx.Encoder)
Encode encodes AccountSignUpV2Forbidden as json.
func (*AccountSignUpV2Forbidden) MarshalJSON ¶
func (s *AccountSignUpV2Forbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountSignUpV2Forbidden) SetFake ¶
func (s *AccountSignUpV2Forbidden) SetFake()
SetFake set fake values.
func (*AccountSignUpV2Forbidden) UnmarshalJSON ¶
func (s *AccountSignUpV2Forbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountSignUpV2Res ¶
type AccountSignUpV2Res interface {
// contains filtered or unexported methods
}
type AdminGetOnlineDevicesRes ¶
type AdminGetOnlineDevicesRes interface {
// contains filtered or unexported methods
}
type AdminGetOnlineDevicesUnauthorized ¶
type AdminGetOnlineDevicesUnauthorized struct{}
AdminGetOnlineDevicesUnauthorized is response for AdminGetOnlineDevices operation.
type AdminOnlineDeviceResponse ¶
type AdminOnlineDeviceResponse struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` Owner OptGenericIni `json:"owner"` FirmwareVersion OptNilString `json:"firmwareVersion"` Gateway OptNilString `json:"gateway"` ConnectedAt OptDateTime `json:"connectedAt"` }
Ref: #/components/schemas/AdminOnlineDeviceResponse
func (*AdminOnlineDeviceResponse) Decode ¶
func (s *AdminOnlineDeviceResponse) Decode(d *jx.Decoder) error
Decode decodes AdminOnlineDeviceResponse from json.
func (*AdminOnlineDeviceResponse) Encode ¶
func (s *AdminOnlineDeviceResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AdminOnlineDeviceResponse) GetConnectedAt ¶
func (s *AdminOnlineDeviceResponse) GetConnectedAt() OptDateTime
GetConnectedAt returns the value of ConnectedAt.
func (*AdminOnlineDeviceResponse) GetFirmwareVersion ¶
func (s *AdminOnlineDeviceResponse) GetFirmwareVersion() OptNilString
GetFirmwareVersion returns the value of FirmwareVersion.
func (*AdminOnlineDeviceResponse) GetGateway ¶
func (s *AdminOnlineDeviceResponse) GetGateway() OptNilString
GetGateway returns the value of Gateway.
func (*AdminOnlineDeviceResponse) GetID ¶
func (s *AdminOnlineDeviceResponse) GetID() OptUUID
GetID returns the value of ID.
func (*AdminOnlineDeviceResponse) GetName ¶
func (s *AdminOnlineDeviceResponse) GetName() OptNilString
GetName returns the value of Name.
func (*AdminOnlineDeviceResponse) GetOwner ¶
func (s *AdminOnlineDeviceResponse) GetOwner() OptGenericIni
GetOwner returns the value of Owner.
func (*AdminOnlineDeviceResponse) MarshalJSON ¶
func (s *AdminOnlineDeviceResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AdminOnlineDeviceResponse) SetConnectedAt ¶
func (s *AdminOnlineDeviceResponse) SetConnectedAt(val OptDateTime)
SetConnectedAt sets the value of ConnectedAt.
func (*AdminOnlineDeviceResponse) SetFake ¶
func (s *AdminOnlineDeviceResponse) SetFake()
SetFake set fake values.
func (*AdminOnlineDeviceResponse) SetFirmwareVersion ¶
func (s *AdminOnlineDeviceResponse) SetFirmwareVersion(val OptNilString)
SetFirmwareVersion sets the value of FirmwareVersion.
func (*AdminOnlineDeviceResponse) SetGateway ¶
func (s *AdminOnlineDeviceResponse) SetGateway(val OptNilString)
SetGateway sets the value of Gateway.
func (*AdminOnlineDeviceResponse) SetID ¶
func (s *AdminOnlineDeviceResponse) SetID(val OptUUID)
SetID sets the value of ID.
func (*AdminOnlineDeviceResponse) SetName ¶
func (s *AdminOnlineDeviceResponse) SetName(val OptNilString)
SetName sets the value of Name.
func (*AdminOnlineDeviceResponse) SetOwner ¶
func (s *AdminOnlineDeviceResponse) SetOwner(val OptGenericIni)
SetOwner sets the value of Owner.
func (*AdminOnlineDeviceResponse) UnmarshalJSON ¶
func (s *AdminOnlineDeviceResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AdminOnlineDeviceResponse) Validate ¶
func (s *AdminOnlineDeviceResponse) Validate() error
type AdminOnlineDeviceResponseIEnumerableBaseResponse ¶
type AdminOnlineDeviceResponseIEnumerableBaseResponse struct { Message OptNilString `json:"message"` Data OptNilAdminOnlineDeviceResponseArray `json:"data"` }
Ref: #/components/schemas/AdminOnlineDeviceResponseIEnumerableBaseResponse
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) Decode ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes AdminOnlineDeviceResponseIEnumerableBaseResponse from json.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) Encode ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) GetData ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) GetData() OptNilAdminOnlineDeviceResponseArray
GetData returns the value of Data.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) GetMessage ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) MarshalJSON ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) SetData ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) SetData(val OptNilAdminOnlineDeviceResponseArray)
SetData sets the value of Data.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) SetFake ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) SetMessage ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AdminOnlineDeviceResponseIEnumerableBaseResponse) Validate ¶
func (s *AdminOnlineDeviceResponseIEnumerableBaseResponse) Validate() error
type BooleanNullableBaseResponse ¶
type BooleanNullableBaseResponse struct { Message OptNilString `json:"message"` Data OptNilBool `json:"data"` }
Ref: #/components/schemas/BooleanNullableBaseResponse
func (*BooleanNullableBaseResponse) Decode ¶
func (s *BooleanNullableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes BooleanNullableBaseResponse from json.
func (*BooleanNullableBaseResponse) Encode ¶
func (s *BooleanNullableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BooleanNullableBaseResponse) GetData ¶
func (s *BooleanNullableBaseResponse) GetData() OptNilBool
GetData returns the value of Data.
func (*BooleanNullableBaseResponse) GetMessage ¶
func (s *BooleanNullableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*BooleanNullableBaseResponse) MarshalJSON ¶
func (s *BooleanNullableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BooleanNullableBaseResponse) SetData ¶
func (s *BooleanNullableBaseResponse) SetData(val OptNilBool)
SetData sets the value of Data.
func (*BooleanNullableBaseResponse) SetFake ¶
func (s *BooleanNullableBaseResponse) SetFake()
SetFake set fake values.
func (*BooleanNullableBaseResponse) SetMessage ¶
func (s *BooleanNullableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*BooleanNullableBaseResponse) UnmarshalJSON ¶
func (s *BooleanNullableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) AccountLogin ¶
AccountLogin invokes Account_Login operation.
Authenticate a user.
POST /1/account/login
func (*Client) AccountLoginV2 ¶
func (c *Client) AccountLoginV2(ctx context.Context, request OptLoginV2) (AccountLoginV2Res, error)
AccountLoginV2 invokes Account_LoginV2 operation.
Authenticate a user.
POST /2/account/login
func (*Client) AccountPasswordResetCheckValid ¶
func (c *Client) AccountPasswordResetCheckValid(ctx context.Context, params AccountPasswordResetCheckValidParams) (AccountPasswordResetCheckValidRes, error)
AccountPasswordResetCheckValid invokes Account_PasswordResetCheckValid operation.
Check if a password reset is in progress.
HEAD /1/account/recover/{passwordResetId}/{secret}
func (*Client) AccountPasswordResetComplete ¶
func (c *Client) AccountPasswordResetComplete(ctx context.Context, request OptPasswordResetProcessData, params AccountPasswordResetCompleteParams) (AccountPasswordResetCompleteRes, error)
AccountPasswordResetComplete invokes Account_PasswordResetComplete operation.
Complete a password reset process.
POST /1/account/recover/{passwordResetId}/{secret}
func (*Client) AccountPasswordResetInitiate ¶
func (c *Client) AccountPasswordResetInitiate(ctx context.Context, request OptResetRequest) (*ObjectBaseResponse, error)
AccountPasswordResetInitiate invokes Account_PasswordResetInitiate operation.
Initiate a password reset.
POST /1/account/reset
func (*Client) AccountSignUp ¶
AccountSignUp invokes Account_SignUp operation.
Signs up a new user.
POST /1/account/signup
func (*Client) AccountSignUpV2 ¶
func (c *Client) AccountSignUpV2(ctx context.Context, request OptSignUpV2) (AccountSignUpV2Res, error)
AccountSignUpV2 invokes Account_SignUpV2 operation.
Signs up a new user.
POST /2/account/signup
func (*Client) AdminGetOnlineDevices ¶
func (c *Client) AdminGetOnlineDevices(ctx context.Context) (AdminGetOnlineDevicesRes, error)
AdminGetOnlineDevices invokes Admin_GetOnlineDevices operation.
Gets all online devices.
GET /1/admin/monitoring/onlineDevices
func (*Client) DeviceGetLiveControlGateway ¶
func (c *Client) DeviceGetLiveControlGateway(ctx context.Context) (DeviceGetLiveControlGatewayRes, error)
DeviceGetLiveControlGateway invokes Device_GetLiveControlGateway operation.
Gets the best suited LCG node for the client.
GET /1/device/assignLCG
func (*Client) DeviceGetSelf ¶
func (c *Client) DeviceGetSelf(ctx context.Context) (*DeviceSelfResponseBaseResponse, error)
DeviceGetSelf invokes Device_GetSelf operation.
Gets information about the authenticated device.
GET /1/device/self
func (*Client) DevicePair ¶
func (c *Client) DevicePair(ctx context.Context, params DevicePairParams) (DevicePairRes, error)
DevicePair invokes Device_Pair operation.
Pair a device with a pair code.
GET /1/device/pair/{pairCode}
func (*Client) DevicePairDEPRECATED ¶
func (c *Client) DevicePairDEPRECATED(ctx context.Context, params DevicePairDEPRECATEDParams) (DevicePairDEPRECATEDRes, error)
DevicePairDEPRECATED invokes Device_Pair_DEPRECATED operation.
Pair a device with a pair code.
GET /1/pair/{pairCode}
func (*Client) DevicesCreateDevice ¶
func (c *Client) DevicesCreateDevice(ctx context.Context) (*GuidBaseResponse, error)
DevicesCreateDevice invokes Devices_CreateDevice operation.
Create a new device for the current user.
POST /1/devices
func (*Client) DevicesEditDevice ¶
func (c *Client) DevicesEditDevice(ctx context.Context, request OptDeviceEdit, params DevicesEditDeviceParams) (DevicesEditDeviceRes, error)
DevicesEditDevice invokes Devices_EditDevice operation.
Edit a device.
PATCH /1/devices/{deviceId}
func (*Client) DevicesGetDeviceById ¶
func (c *Client) DevicesGetDeviceById(ctx context.Context, params DevicesGetDeviceByIdParams) (DevicesGetDeviceByIdRes, error)
DevicesGetDeviceById invokes Devices_GetDeviceById operation.
Get a device by its id.
GET /1/devices/{deviceId}
func (*Client) DevicesGetLiveControlGatewayInfo ¶
func (c *Client) DevicesGetLiveControlGatewayInfo(ctx context.Context, params DevicesGetLiveControlGatewayInfoParams) (DevicesGetLiveControlGatewayInfoRes, error)
DevicesGetLiveControlGatewayInfo invokes Devices_GetLiveControlGatewayInfo operation.
Get LCG info for a device if it is online and connected to a LCG node.
GET /1/devices/{deviceId}/lcg
func (*Client) DevicesGetOtaUpdateHistory ¶
func (c *Client) DevicesGetOtaUpdateHistory(ctx context.Context, params DevicesGetOtaUpdateHistoryParams) (DevicesGetOtaUpdateHistoryRes, error)
DevicesGetOtaUpdateHistory invokes Devices_GetOtaUpdateHistory operation.
Gets the OTA update history for a device.
GET /1/devices/{deviceId}/ota
func (*Client) DevicesGetPairCode ¶
func (c *Client) DevicesGetPairCode(ctx context.Context, params DevicesGetPairCodeParams) (DevicesGetPairCodeRes, error)
DevicesGetPairCode invokes Devices_GetPairCode operation.
Get a pair code for a device.
GET /1/devices/{deviceId}/pair
func (*Client) DevicesGetShockers ¶
func (c *Client) DevicesGetShockers(ctx context.Context, params DevicesGetShockersParams) (DevicesGetShockersRes, error)
DevicesGetShockers invokes Devices_GetShockers operation.
Get all shockers for a device.
GET /1/devices/{deviceId}/shockers
func (*Client) DevicesListDevices ¶
func (c *Client) DevicesListDevices(ctx context.Context) (*ResponseDeviceIEnumerableBaseResponse, error)
DevicesListDevices invokes Devices_ListDevices operation.
Get all devices for the current user.
GET /1/devices
func (*Client) DevicesRegenerateDeviceToken ¶
func (c *Client) DevicesRegenerateDeviceToken(ctx context.Context, params DevicesRegenerateDeviceTokenParams) (DevicesRegenerateDeviceTokenRes, error)
DevicesRegenerateDeviceToken invokes Devices_RegenerateDeviceToken operation.
Regenerate a device token.
PUT /1/devices/{deviceId}
func (*Client) DevicesRemoveDevice ¶
func (c *Client) DevicesRemoveDevice(ctx context.Context, params DevicesRemoveDeviceParams) (DevicesRemoveDeviceRes, error)
DevicesRemoveDevice invokes Devices_RemoveDevice operation.
Remove a device from current user's account.
DELETE /1/devices/{deviceId}
func (*Client) PublicGetOnlineDevicesStatistics ¶
func (c *Client) PublicGetOnlineDevicesStatistics(ctx context.Context) (*StatsResponseBaseResponse, error)
PublicGetOnlineDevicesStatistics invokes Public_GetOnlineDevicesStatistics operation.
Gets online devices statistics.
GET /1/public/stats
func (*Client) PublicGetShareLink ¶
func (c *Client) PublicGetShareLink(ctx context.Context, params PublicGetShareLinkParams) (PublicGetShareLinkRes, error)
PublicGetShareLink invokes Public_GetShareLink operation.
Gets information about a public share link.
GET /1/public/shares/links/{shareLinkId}
func (*Client) ShareLinksAddShocker ¶
func (c *Client) ShareLinksAddShocker(ctx context.Context, params ShareLinksAddShockerParams) (ShareLinksAddShockerRes, error)
ShareLinksAddShocker invokes ShareLinks_AddShocker operation.
Add a shocker to a share link.
POST /1/shares/links/{shareLinkId}/{shockerId}
func (*Client) ShareLinksCreateShareLink ¶
func (c *Client) ShareLinksCreateShareLink(ctx context.Context, request OptShareLinkCreate) (*GuidBaseResponse, error)
ShareLinksCreateShareLink invokes ShareLinks_CreateShareLink operation.
Create a new share link.
POST /1/shares/links
func (*Client) ShareLinksDeleteShareLink ¶
func (c *Client) ShareLinksDeleteShareLink(ctx context.Context, params ShareLinksDeleteShareLinkParams) (ShareLinksDeleteShareLinkRes, error)
ShareLinksDeleteShareLink invokes ShareLinks_DeleteShareLink operation.
Deletes a share link.
DELETE /1/shares/links/{shareLinkId}
func (*Client) ShareLinksEditShocker ¶
func (c *Client) ShareLinksEditShocker(ctx context.Context, request OptShareLinkEditShocker, params ShareLinksEditShockerParams) (ShareLinksEditShockerRes, error)
ShareLinksEditShocker invokes ShareLinks_EditShocker operation.
Edit a shocker in a share link.
PATCH /1/shares/links/{shareLinkId}/{shockerId}
func (*Client) ShareLinksList ¶
func (c *Client) ShareLinksList(ctx context.Context) (*ShareLinkResponseIEnumerableBaseResponse, error)
ShareLinksList invokes ShareLinks_List operation.
Get all share links for the current user.
GET /1/shares/links
func (*Client) ShareLinksPauseShocker ¶
func (c *Client) ShareLinksPauseShocker(ctx context.Context, request OptPauseRequest, params ShareLinksPauseShockerParams) (ShareLinksPauseShockerRes, error)
ShareLinksPauseShocker invokes ShareLinks_PauseShocker operation.
Pause a shocker in a share link.
POST /1/shares/links/{shareLinkId}/{shockerId}/pause
func (*Client) ShareLinksRemoveShocker ¶
func (c *Client) ShareLinksRemoveShocker(ctx context.Context, params ShareLinksRemoveShockerParams) (ShareLinksRemoveShockerRes, error)
ShareLinksRemoveShocker invokes ShareLinks_RemoveShocker operation.
Remove a shocker from a share link.
DELETE /1/shares/links/{shareLinkId}/{shockerId}
func (*Client) SharesDeleteShareCode ¶
func (c *Client) SharesDeleteShareCode(ctx context.Context, params SharesDeleteShareCodeParams) (SharesDeleteShareCodeRes, error)
SharesDeleteShareCode invokes Shares_DeleteShareCode operation.
Delete a share code.
DELETE /1/shares/code/{shareCodeId}
func (*Client) SharesLinkShareCode ¶
func (c *Client) SharesLinkShareCode(ctx context.Context, params SharesLinkShareCodeParams) (SharesLinkShareCodeRes, error)
SharesLinkShareCode invokes Shares_LinkShareCode operation.
Link a share code to your account.
POST /1/shares/code/{shareCodeId}
func (*Client) ShockerEditShocker ¶
func (c *Client) ShockerEditShocker(ctx context.Context, request OptNewShocker, params ShockerEditShockerParams) (ShockerEditShockerRes, error)
ShockerEditShocker invokes Shocker_EditShocker operation.
Edit a shocker.
PATCH /1/shockers/{shockerId}
func (*Client) ShockerGetShockerById ¶
func (c *Client) ShockerGetShockerById(ctx context.Context, params ShockerGetShockerByIdParams) (ShockerGetShockerByIdRes, error)
ShockerGetShockerById invokes Shocker_GetShockerById operation.
Get information about a shocker.
GET /1/shockers/{shockerId}
func (*Client) ShockerGetShockerLogs ¶
func (c *Client) ShockerGetShockerLogs(ctx context.Context, params ShockerGetShockerLogsParams) (ShockerGetShockerLogsRes, error)
ShockerGetShockerLogs invokes Shocker_GetShockerLogs operation.
Get the logs for a shocker.
GET /1/shockers/{shockerId}/logs
func (*Client) ShockerGetShockerShares ¶
func (c *Client) ShockerGetShockerShares(ctx context.Context, params ShockerGetShockerSharesParams) (ShockerGetShockerSharesRes, error)
ShockerGetShockerShares invokes Shocker_GetShockerShares operation.
Get all shares for a shocker.
GET /1/shockers/{shockerId}/shares
func (*Client) ShockerListSharedShockers ¶
func (c *Client) ShockerListSharedShockers(ctx context.Context) (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse, error)
ShockerListSharedShockers invokes Shocker_ListSharedShockers operation.
List all shockers shared with the authenticated user.
GET /1/shockers/shared
func (*Client) ShockerListShockers ¶
func (c *Client) ShockerListShockers(ctx context.Context) (*ResponseDeviceWithShockersIEnumerableBaseResponse, error)
ShockerListShockers invokes Shocker_ListShockers operation.
List all shockers belonging to the authenticated user.
GET /1/shockers/own
func (*Client) ShockerPauseShocker ¶
func (c *Client) ShockerPauseShocker(ctx context.Context, request OptPauseRequest, params ShockerPauseShockerParams) (ShockerPauseShockerRes, error)
ShockerPauseShocker invokes Shocker_PauseShocker operation.
Pause or unpause a shocker.
POST /1/shockers/{shockerId}/pause
func (*Client) ShockerRegisterShocker ¶
func (c *Client) ShockerRegisterShocker(ctx context.Context, request OptNewShocker) (ShockerRegisterShockerRes, error)
ShockerRegisterShocker invokes Shocker_RegisterShocker operation.
Register a shocker.
POST /1/shockers
func (*Client) ShockerRemoveShocker ¶
func (c *Client) ShockerRemoveShocker(ctx context.Context, params ShockerRemoveShockerParams) (ShockerRemoveShockerRes, error)
ShockerRemoveShocker invokes Shocker_RemoveShocker operation.
Remove a shocker.
DELETE /1/shockers/{shockerId}
func (*Client) ShockerSendControl ¶
func (c *Client) ShockerSendControl(ctx context.Context, request OptControlRequest) (ShockerSendControlRes, error)
ShockerSendControl invokes Shocker_SendControl operation.
Send a control message to shockers.
POST /2/shockers/control
func (*Client) ShockerSendControlDEPRECATED ¶
func (c *Client) ShockerSendControlDEPRECATED(ctx context.Context, request []Control) (ShockerSendControlDEPRECATEDRes, error)
ShockerSendControlDEPRECATED invokes Shocker_SendControl_DEPRECATED operation.
Send a control message to shockers (Deprecated in favor of the /2/shockers/control endpoint).
POST /1/shockers/control
func (*Client) ShockerShockerShareCodeCreate ¶
func (c *Client) ShockerShockerShareCodeCreate(ctx context.Context, request OptCreateShareCode, params ShockerShockerShareCodeCreateParams) (ShockerShockerShareCodeCreateRes, error)
ShockerShockerShareCodeCreate invokes Shocker_ShockerShareCodeCreate operation.
Create a share code for a shocker.
POST /1/shockers/{shockerId}/shares
func (*Client) ShockerShockerShareCodeList ¶
func (c *Client) ShockerShockerShareCodeList(ctx context.Context, params ShockerShockerShareCodeListParams) (ShockerShockerShareCodeListRes, error)
ShockerShockerShareCodeList invokes Shocker_ShockerShareCodeList operation.
List all share codes for a shocker.
GET /1/shockers/{shockerId}/shareCodes
func (*Client) ShockerShockerShareCodePause ¶
func (c *Client) ShockerShockerShareCodePause(ctx context.Context, request OptPauseRequest, params ShockerShockerShareCodePauseParams) (ShockerShockerShareCodePauseRes, error)
ShockerShockerShareCodePause invokes Shocker_ShockerShareCodePause operation.
Pause/Unpause a share code for a shocker.
POST /1/shockers/{shockerId}/shares/{sharedWithUserId}/pause
func (*Client) ShockerShockerShareCodeRemove ¶
func (c *Client) ShockerShockerShareCodeRemove(ctx context.Context, params ShockerShockerShareCodeRemoveParams) (ShockerShockerShareCodeRemoveRes, error)
ShockerShockerShareCodeRemove invokes Shocker_ShockerShareCodeRemove operation.
Remove a share code for a shocker.
DELETE /1/shockers/{shockerId}/shares/{sharedWithUserId}
func (*Client) ShockerShockerShareCodeUpdate ¶
func (c *Client) ShockerShockerShareCodeUpdate(ctx context.Context, request OptCreateShareCode, params ShockerShockerShareCodeUpdateParams) (ShockerShockerShareCodeUpdateRes, error)
ShockerShockerShareCodeUpdate invokes Shocker_ShockerShareCodeUpdate operation.
Update a share code for a shocker.
PATCH /1/shockers/{shockerId}/shares/{sharedWithUserId}
func (*Client) TokensCreateToken ¶
func (c *Client) TokensCreateToken(ctx context.Context, request OptCreateTokenRequest) (*StringBaseResponse, error)
TokensCreateToken invokes Tokens_CreateToken operation.
Create a new token.
POST /1/tokens
func (*Client) TokensDeleteToken ¶
func (c *Client) TokensDeleteToken(ctx context.Context, params TokensDeleteTokenParams) (TokensDeleteTokenRes, error)
TokensDeleteToken invokes Tokens_DeleteToken operation.
Revoke a token from the current user.
DELETE /1/tokens/{tokenId}
func (*Client) TokensEditToken ¶
func (c *Client) TokensEditToken(ctx context.Context, request OptEditTokenRequest, params TokensEditTokenParams) (TokensEditTokenRes, error)
TokensEditToken invokes Tokens_EditToken operation.
Edit a token.
PATCH /1/tokens/{tokenId}
func (*Client) TokensGetTokenById ¶
func (c *Client) TokensGetTokenById(ctx context.Context, params TokensGetTokenByIdParams) (TokensGetTokenByIdRes, error)
TokensGetTokenById invokes Tokens_GetTokenById operation.
Get a token by id.
GET /1/tokens/{tokenId}
func (*Client) TokensListTokens ¶
func (c *Client) TokensListTokens(ctx context.Context) (*TokenResponseIEnumerableBaseResponse, error)
TokensListTokens invokes Tokens_ListTokens operation.
List all tokens for the current user.
GET /1/tokens
func (*Client) UsersGetSelf ¶
func (c *Client) UsersGetSelf(ctx context.Context) (*SelfResponseBaseResponse, error)
UsersGetSelf invokes Users_GetSelf operation.
Get the current user's information.
GET /1/users/self
func (*Client) VersionGetBackendVersion ¶
func (c *Client) VersionGetBackendVersion(ctx context.Context) (*RootResponseBaseResponse, error)
VersionGetBackendVersion invokes Version_GetBackendVersion operation.
Gets the version of the OpenShock backend.
GET /1
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 Control ¶
type Control struct { ID OptUUID `json:"id"` Type OptControlType `json:"type"` Intensity OptInt32 `json:"intensity"` Duration OptInt32 `json:"duration"` Exclusive OptBool `json:"exclusive"` }
Ref: #/components/schemas/Control
func (*Control) GetDuration ¶
GetDuration returns the value of Duration.
func (*Control) GetExclusive ¶
GetExclusive returns the value of Exclusive.
func (*Control) GetIntensity ¶
GetIntensity returns the value of Intensity.
func (*Control) GetType ¶
func (s *Control) GetType() OptControlType
GetType returns the value of Type.
func (*Control) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Control) SetDuration ¶
SetDuration sets the value of Duration.
func (*Control) SetExclusive ¶
SetExclusive sets the value of Exclusive.
func (*Control) SetIntensity ¶
SetIntensity sets the value of Intensity.
func (*Control) SetType ¶
func (s *Control) SetType(val OptControlType)
SetType sets the value of Type.
func (*Control) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ControlLogSenderLight ¶
type ControlLogSenderLight struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` Image OptNilURI `json:"image"` CustomName OptNilString `json:"customName"` }
Ref: #/components/schemas/ControlLogSenderLight
func (*ControlLogSenderLight) Decode ¶
func (s *ControlLogSenderLight) Decode(d *jx.Decoder) error
Decode decodes ControlLogSenderLight from json.
func (*ControlLogSenderLight) Encode ¶
func (s *ControlLogSenderLight) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ControlLogSenderLight) GetCustomName ¶
func (s *ControlLogSenderLight) GetCustomName() OptNilString
GetCustomName returns the value of CustomName.
func (*ControlLogSenderLight) GetID ¶
func (s *ControlLogSenderLight) GetID() OptUUID
GetID returns the value of ID.
func (*ControlLogSenderLight) GetImage ¶
func (s *ControlLogSenderLight) GetImage() OptNilURI
GetImage returns the value of Image.
func (*ControlLogSenderLight) GetName ¶
func (s *ControlLogSenderLight) GetName() OptNilString
GetName returns the value of Name.
func (*ControlLogSenderLight) MarshalJSON ¶
func (s *ControlLogSenderLight) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ControlLogSenderLight) SetCustomName ¶
func (s *ControlLogSenderLight) SetCustomName(val OptNilString)
SetCustomName sets the value of CustomName.
func (*ControlLogSenderLight) SetFake ¶
func (s *ControlLogSenderLight) SetFake()
SetFake set fake values.
func (*ControlLogSenderLight) SetID ¶
func (s *ControlLogSenderLight) SetID(val OptUUID)
SetID sets the value of ID.
func (*ControlLogSenderLight) SetImage ¶
func (s *ControlLogSenderLight) SetImage(val OptNilURI)
SetImage sets the value of Image.
func (*ControlLogSenderLight) SetName ¶
func (s *ControlLogSenderLight) SetName(val OptNilString)
SetName sets the value of Name.
func (*ControlLogSenderLight) UnmarshalJSON ¶
func (s *ControlLogSenderLight) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ControlRequest ¶
type ControlRequest struct { Shocks OptNilControlArray `json:"shocks"` CustomName OptNilString `json:"customName"` }
Ref: #/components/schemas/ControlRequest
func (*ControlRequest) Decode ¶
func (s *ControlRequest) Decode(d *jx.Decoder) error
Decode decodes ControlRequest from json.
func (*ControlRequest) Encode ¶
func (s *ControlRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ControlRequest) GetCustomName ¶
func (s *ControlRequest) GetCustomName() OptNilString
GetCustomName returns the value of CustomName.
func (*ControlRequest) GetShocks ¶
func (s *ControlRequest) GetShocks() OptNilControlArray
GetShocks returns the value of Shocks.
func (*ControlRequest) MarshalJSON ¶
func (s *ControlRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ControlRequest) SetCustomName ¶
func (s *ControlRequest) SetCustomName(val OptNilString)
SetCustomName sets the value of CustomName.
func (*ControlRequest) SetShocks ¶
func (s *ControlRequest) SetShocks(val OptNilControlArray)
SetShocks sets the value of Shocks.
func (*ControlRequest) UnmarshalJSON ¶
func (s *ControlRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ControlRequest) Validate ¶
func (s *ControlRequest) Validate() error
type ControlType ¶
type ControlType string
Ref: #/components/schemas/ControlType
const ( ControlTypeStop ControlType = "Stop" ControlTypeShock ControlType = "Shock" ControlTypeVibrate ControlType = "Vibrate" ControlTypeSound ControlType = "Sound" )
func (ControlType) AllValues ¶
func (ControlType) AllValues() []ControlType
AllValues returns all ControlType values.
func (*ControlType) Decode ¶
func (s *ControlType) Decode(d *jx.Decoder) error
Decode decodes ControlType from json.
func (ControlType) Encode ¶
func (s ControlType) Encode(e *jx.Encoder)
Encode encodes ControlType as json.
func (ControlType) MarshalJSON ¶
func (s ControlType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ControlType) MarshalText ¶
func (s ControlType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ControlType) UnmarshalJSON ¶
func (s *ControlType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ControlType) UnmarshalText ¶
func (s *ControlType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ControlType) Validate ¶
func (s ControlType) Validate() error
type CreateShareCode ¶
type CreateShareCode struct {}
Ref: #/components/schemas/CreateShareCode
func (*CreateShareCode) Decode ¶
func (s *CreateShareCode) Decode(d *jx.Decoder) error
Decode decodes CreateShareCode from json.
func (*CreateShareCode) Encode ¶
func (s *CreateShareCode) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateShareCode) GetLimits ¶
func (s *CreateShareCode) GetLimits() OptShockerLimits
GetLimits returns the value of Limits.
func (*CreateShareCode) GetPermissions ¶
func (s *CreateShareCode) GetPermissions() OptShockerPermissions
GetPermissions returns the value of Permissions.
func (*CreateShareCode) MarshalJSON ¶
func (s *CreateShareCode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateShareCode) SetLimits ¶
func (s *CreateShareCode) SetLimits(val OptShockerLimits)
SetLimits sets the value of Limits.
func (*CreateShareCode) SetPermissions ¶
func (s *CreateShareCode) SetPermissions(val OptShockerPermissions)
SetPermissions sets the value of Permissions.
func (*CreateShareCode) UnmarshalJSON ¶
func (s *CreateShareCode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateShareCode) Validate ¶
func (s *CreateShareCode) Validate() error
type CreateTokenRequest ¶
type CreateTokenRequest struct { Name OptNilString `json:"name"` Permissions OptNilPermissionTypeArray `json:"permissions"` ValidUntil OptNilDate `json:"validUntil"` }
Ref: #/components/schemas/CreateTokenRequest
func (*CreateTokenRequest) Decode ¶
func (s *CreateTokenRequest) Decode(d *jx.Decoder) error
Decode decodes CreateTokenRequest from json.
func (*CreateTokenRequest) Encode ¶
func (s *CreateTokenRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateTokenRequest) GetName ¶
func (s *CreateTokenRequest) GetName() OptNilString
GetName returns the value of Name.
func (*CreateTokenRequest) GetPermissions ¶
func (s *CreateTokenRequest) GetPermissions() OptNilPermissionTypeArray
GetPermissions returns the value of Permissions.
func (*CreateTokenRequest) GetValidUntil ¶
func (s *CreateTokenRequest) GetValidUntil() OptNilDate
GetValidUntil returns the value of ValidUntil.
func (*CreateTokenRequest) MarshalJSON ¶
func (s *CreateTokenRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTokenRequest) SetFake ¶
func (s *CreateTokenRequest) SetFake()
SetFake set fake values.
func (*CreateTokenRequest) SetName ¶
func (s *CreateTokenRequest) SetName(val OptNilString)
SetName sets the value of Name.
func (*CreateTokenRequest) SetPermissions ¶
func (s *CreateTokenRequest) SetPermissions(val OptNilPermissionTypeArray)
SetPermissions sets the value of Permissions.
func (*CreateTokenRequest) SetValidUntil ¶
func (s *CreateTokenRequest) SetValidUntil(val OptNilDate)
SetValidUntil sets the value of ValidUntil.
func (*CreateTokenRequest) UnmarshalJSON ¶
func (s *CreateTokenRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateTokenRequest) Validate ¶
func (s *CreateTokenRequest) Validate() error
type DeviceEdit ¶
type DeviceEdit struct {
Name OptNilString `json:"name"`
}
Ref: #/components/schemas/DeviceEdit
func (*DeviceEdit) Decode ¶
func (s *DeviceEdit) Decode(d *jx.Decoder) error
Decode decodes DeviceEdit from json.
func (*DeviceEdit) Encode ¶
func (s *DeviceEdit) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeviceEdit) GetName ¶
func (s *DeviceEdit) GetName() OptNilString
GetName returns the value of Name.
func (*DeviceEdit) MarshalJSON ¶
func (s *DeviceEdit) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeviceEdit) SetName ¶
func (s *DeviceEdit) SetName(val OptNilString)
SetName sets the value of Name.
func (*DeviceEdit) UnmarshalJSON ¶
func (s *DeviceEdit) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DeviceEdit) Validate ¶
func (s *DeviceEdit) Validate() error
type DeviceGetLiveControlGatewayRes ¶
type DeviceGetLiveControlGatewayRes interface {
// contains filtered or unexported methods
}
type DevicePairDEPRECATEDParams ¶
type DevicePairDEPRECATEDParams struct { // The pair code to pair with. PairCode string }
DevicePairDEPRECATEDParams is parameters of Device_Pair_DEPRECATED operation.
type DevicePairDEPRECATEDRes ¶
type DevicePairDEPRECATEDRes interface {
// contains filtered or unexported methods
}
type DevicePairParams ¶
type DevicePairParams struct { // The pair code to pair with. PairCode string }
DevicePairParams is parameters of Device_Pair operation.
type DevicePairRes ¶
type DevicePairRes interface {
// contains filtered or unexported methods
}
type DeviceSelfResponse ¶
type DeviceSelfResponse struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` Shockers OptNilMinimalShockerArray `json:"shockers"` }
Ref: #/components/schemas/DeviceSelfResponse
func (*DeviceSelfResponse) Decode ¶
func (s *DeviceSelfResponse) Decode(d *jx.Decoder) error
Decode decodes DeviceSelfResponse from json.
func (*DeviceSelfResponse) Encode ¶
func (s *DeviceSelfResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeviceSelfResponse) GetID ¶
func (s *DeviceSelfResponse) GetID() OptUUID
GetID returns the value of ID.
func (*DeviceSelfResponse) GetName ¶
func (s *DeviceSelfResponse) GetName() OptNilString
GetName returns the value of Name.
func (*DeviceSelfResponse) GetShockers ¶
func (s *DeviceSelfResponse) GetShockers() OptNilMinimalShockerArray
GetShockers returns the value of Shockers.
func (*DeviceSelfResponse) MarshalJSON ¶
func (s *DeviceSelfResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeviceSelfResponse) SetFake ¶
func (s *DeviceSelfResponse) SetFake()
SetFake set fake values.
func (*DeviceSelfResponse) SetID ¶
func (s *DeviceSelfResponse) SetID(val OptUUID)
SetID sets the value of ID.
func (*DeviceSelfResponse) SetName ¶
func (s *DeviceSelfResponse) SetName(val OptNilString)
SetName sets the value of Name.
func (*DeviceSelfResponse) SetShockers ¶
func (s *DeviceSelfResponse) SetShockers(val OptNilMinimalShockerArray)
SetShockers sets the value of Shockers.
func (*DeviceSelfResponse) UnmarshalJSON ¶
func (s *DeviceSelfResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DeviceSelfResponse) Validate ¶
func (s *DeviceSelfResponse) Validate() error
type DeviceSelfResponseBaseResponse ¶
type DeviceSelfResponseBaseResponse struct { Message OptNilString `json:"message"` Data OptDeviceSelfResponse `json:"data"` }
Ref: #/components/schemas/DeviceSelfResponseBaseResponse
func (*DeviceSelfResponseBaseResponse) Decode ¶
func (s *DeviceSelfResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes DeviceSelfResponseBaseResponse from json.
func (*DeviceSelfResponseBaseResponse) Encode ¶
func (s *DeviceSelfResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeviceSelfResponseBaseResponse) GetData ¶
func (s *DeviceSelfResponseBaseResponse) GetData() OptDeviceSelfResponse
GetData returns the value of Data.
func (*DeviceSelfResponseBaseResponse) GetMessage ¶
func (s *DeviceSelfResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*DeviceSelfResponseBaseResponse) MarshalJSON ¶
func (s *DeviceSelfResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeviceSelfResponseBaseResponse) SetData ¶
func (s *DeviceSelfResponseBaseResponse) SetData(val OptDeviceSelfResponse)
SetData sets the value of Data.
func (*DeviceSelfResponseBaseResponse) SetFake ¶
func (s *DeviceSelfResponseBaseResponse) SetFake()
SetFake set fake values.
func (*DeviceSelfResponseBaseResponse) SetMessage ¶
func (s *DeviceSelfResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*DeviceSelfResponseBaseResponse) UnmarshalJSON ¶
func (s *DeviceSelfResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DeviceSelfResponseBaseResponse) Validate ¶
func (s *DeviceSelfResponseBaseResponse) Validate() error
type DevicesEditDeviceParams ¶
DevicesEditDeviceParams is parameters of Devices_EditDevice operation.
type DevicesEditDeviceRes ¶
type DevicesEditDeviceRes interface {
// contains filtered or unexported methods
}
type DevicesGetDeviceByIdParams ¶
DevicesGetDeviceByIdParams is parameters of Devices_GetDeviceById operation.
type DevicesGetDeviceByIdRes ¶
type DevicesGetDeviceByIdRes interface {
// contains filtered or unexported methods
}
type DevicesGetLiveControlGatewayInfoInternalServerError ¶
type DevicesGetLiveControlGatewayInfoInternalServerError struct{}
DevicesGetLiveControlGatewayInfoInternalServerError is response for DevicesGetLiveControlGatewayInfo operation.
type DevicesGetLiveControlGatewayInfoNotFound ¶
type DevicesGetLiveControlGatewayInfoNotFound OpenShockProblem
func (*DevicesGetLiveControlGatewayInfoNotFound) Decode ¶
func (s *DevicesGetLiveControlGatewayInfoNotFound) Decode(d *jx.Decoder) error
Decode decodes DevicesGetLiveControlGatewayInfoNotFound from json.
func (*DevicesGetLiveControlGatewayInfoNotFound) Encode ¶
func (s *DevicesGetLiveControlGatewayInfoNotFound) Encode(e *jx.Encoder)
Encode encodes DevicesGetLiveControlGatewayInfoNotFound as json.
func (*DevicesGetLiveControlGatewayInfoNotFound) MarshalJSON ¶
func (s *DevicesGetLiveControlGatewayInfoNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DevicesGetLiveControlGatewayInfoNotFound) SetFake ¶
func (s *DevicesGetLiveControlGatewayInfoNotFound) SetFake()
SetFake set fake values.
func (*DevicesGetLiveControlGatewayInfoNotFound) UnmarshalJSON ¶
func (s *DevicesGetLiveControlGatewayInfoNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DevicesGetLiveControlGatewayInfoParams ¶
DevicesGetLiveControlGatewayInfoParams is parameters of Devices_GetLiveControlGatewayInfo operation.
type DevicesGetLiveControlGatewayInfoPreconditionFailed ¶
type DevicesGetLiveControlGatewayInfoPreconditionFailed OpenShockProblem
func (*DevicesGetLiveControlGatewayInfoPreconditionFailed) Decode ¶
func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) Decode(d *jx.Decoder) error
Decode decodes DevicesGetLiveControlGatewayInfoPreconditionFailed from json.
func (*DevicesGetLiveControlGatewayInfoPreconditionFailed) Encode ¶
func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) Encode(e *jx.Encoder)
Encode encodes DevicesGetLiveControlGatewayInfoPreconditionFailed as json.
func (*DevicesGetLiveControlGatewayInfoPreconditionFailed) MarshalJSON ¶
func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DevicesGetLiveControlGatewayInfoPreconditionFailed) SetFake ¶
func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) SetFake()
SetFake set fake values.
func (*DevicesGetLiveControlGatewayInfoPreconditionFailed) UnmarshalJSON ¶
func (s *DevicesGetLiveControlGatewayInfoPreconditionFailed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DevicesGetLiveControlGatewayInfoRes ¶
type DevicesGetLiveControlGatewayInfoRes interface {
// contains filtered or unexported methods
}
type DevicesGetOtaUpdateHistoryParams ¶
DevicesGetOtaUpdateHistoryParams is parameters of Devices_GetOtaUpdateHistory operation.
type DevicesGetOtaUpdateHistoryRes ¶
type DevicesGetOtaUpdateHistoryRes interface {
// contains filtered or unexported methods
}
type DevicesGetPairCodeParams ¶
DevicesGetPairCodeParams is parameters of Devices_GetPairCode operation.
type DevicesGetPairCodeRes ¶
type DevicesGetPairCodeRes interface {
// contains filtered or unexported methods
}
type DevicesGetShockersParams ¶
DevicesGetShockersParams is parameters of Devices_GetShockers operation.
type DevicesGetShockersRes ¶
type DevicesGetShockersRes interface {
// contains filtered or unexported methods
}
type DevicesRegenerateDeviceTokenInternalServerError ¶
type DevicesRegenerateDeviceTokenInternalServerError struct{}
DevicesRegenerateDeviceTokenInternalServerError is response for DevicesRegenerateDeviceToken operation.
type DevicesRegenerateDeviceTokenParams ¶
type DevicesRegenerateDeviceTokenParams struct { // The id of the device to regenerate the token for. DeviceId uuid.UUID }
DevicesRegenerateDeviceTokenParams is parameters of Devices_RegenerateDeviceToken operation.
type DevicesRegenerateDeviceTokenRes ¶
type DevicesRegenerateDeviceTokenRes interface {
// contains filtered or unexported methods
}
type DevicesRemoveDeviceParams ¶
DevicesRemoveDeviceParams is parameters of Devices_RemoveDevice operation.
type DevicesRemoveDeviceRes ¶
type DevicesRemoveDeviceRes interface {
// contains filtered or unexported methods
}
type EditTokenRequest ¶
type EditTokenRequest struct { Name OptNilString `json:"name"` Permissions OptNilPermissionTypeArray `json:"permissions"` }
Ref: #/components/schemas/EditTokenRequest
func (*EditTokenRequest) Decode ¶
func (s *EditTokenRequest) Decode(d *jx.Decoder) error
Decode decodes EditTokenRequest from json.
func (*EditTokenRequest) Encode ¶
func (s *EditTokenRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EditTokenRequest) GetName ¶
func (s *EditTokenRequest) GetName() OptNilString
GetName returns the value of Name.
func (*EditTokenRequest) GetPermissions ¶
func (s *EditTokenRequest) GetPermissions() OptNilPermissionTypeArray
GetPermissions returns the value of Permissions.
func (*EditTokenRequest) MarshalJSON ¶
func (s *EditTokenRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditTokenRequest) SetName ¶
func (s *EditTokenRequest) SetName(val OptNilString)
SetName sets the value of Name.
func (*EditTokenRequest) SetPermissions ¶
func (s *EditTokenRequest) SetPermissions(val OptNilPermissionTypeArray)
SetPermissions sets the value of Permissions.
func (*EditTokenRequest) UnmarshalJSON ¶
func (s *EditTokenRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EditTokenRequest) Validate ¶
func (s *EditTokenRequest) Validate() error
type GenericIni ¶
type GenericIni struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` Image OptNilURI `json:"image"` }
Ref: #/components/schemas/GenericIni
func (*GenericIni) Decode ¶
func (s *GenericIni) Decode(d *jx.Decoder) error
Decode decodes GenericIni from json.
func (*GenericIni) Encode ¶
func (s *GenericIni) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GenericIni) GetImage ¶
func (s *GenericIni) GetImage() OptNilURI
GetImage returns the value of Image.
func (*GenericIni) GetName ¶
func (s *GenericIni) GetName() OptNilString
GetName returns the value of Name.
func (*GenericIni) MarshalJSON ¶
func (s *GenericIni) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenericIni) SetImage ¶
func (s *GenericIni) SetImage(val OptNilURI)
SetImage sets the value of Image.
func (*GenericIni) SetName ¶
func (s *GenericIni) SetName(val OptNilString)
SetName sets the value of Name.
func (*GenericIni) UnmarshalJSON ¶
func (s *GenericIni) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GuidBaseResponse ¶
type GuidBaseResponse struct { Message OptNilString `json:"message"` Data OptUUID `json:"data"` }
Ref: #/components/schemas/GuidBaseResponse
func (*GuidBaseResponse) Decode ¶
func (s *GuidBaseResponse) Decode(d *jx.Decoder) error
Decode decodes GuidBaseResponse from json.
func (*GuidBaseResponse) Encode ¶
func (s *GuidBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GuidBaseResponse) GetData ¶
func (s *GuidBaseResponse) GetData() OptUUID
GetData returns the value of Data.
func (*GuidBaseResponse) GetMessage ¶
func (s *GuidBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*GuidBaseResponse) MarshalJSON ¶
func (s *GuidBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GuidBaseResponse) SetData ¶
func (s *GuidBaseResponse) SetData(val OptUUID)
SetData sets the value of Data.
func (*GuidBaseResponse) SetMessage ¶
func (s *GuidBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*GuidBaseResponse) UnmarshalJSON ¶
func (s *GuidBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Invoker ¶
type Invoker interface { // AccountLogin invokes Account_Login operation. // // Authenticate a user. // // POST /1/account/login AccountLogin(ctx context.Context, request OptLogin) (AccountLoginRes, error) // AccountLoginV2 invokes Account_LoginV2 operation. // // Authenticate a user. // // POST /2/account/login AccountLoginV2(ctx context.Context, request OptLoginV2) (AccountLoginV2Res, error) // AccountPasswordResetCheckValid invokes Account_PasswordResetCheckValid operation. // // Check if a password reset is in progress. // // HEAD /1/account/recover/{passwordResetId}/{secret} AccountPasswordResetCheckValid(ctx context.Context, params AccountPasswordResetCheckValidParams) (AccountPasswordResetCheckValidRes, error) // AccountPasswordResetComplete invokes Account_PasswordResetComplete operation. // // Complete a password reset process. // // POST /1/account/recover/{passwordResetId}/{secret} AccountPasswordResetComplete(ctx context.Context, request OptPasswordResetProcessData, params AccountPasswordResetCompleteParams) (AccountPasswordResetCompleteRes, error) // AccountPasswordResetInitiate invokes Account_PasswordResetInitiate operation. // // Initiate a password reset. // // POST /1/account/reset AccountPasswordResetInitiate(ctx context.Context, request OptResetRequest) (*ObjectBaseResponse, error) // AccountSignUp invokes Account_SignUp operation. // // Signs up a new user. // // POST /1/account/signup AccountSignUp(ctx context.Context, request OptSignUp) (AccountSignUpRes, error) // AccountSignUpV2 invokes Account_SignUpV2 operation. // // Signs up a new user. // // POST /2/account/signup AccountSignUpV2(ctx context.Context, request OptSignUpV2) (AccountSignUpV2Res, error) // AdminGetOnlineDevices invokes Admin_GetOnlineDevices operation. // // Gets all online devices. // // GET /1/admin/monitoring/onlineDevices AdminGetOnlineDevices(ctx context.Context) (AdminGetOnlineDevicesRes, error) // DeviceGetLiveControlGateway invokes Device_GetLiveControlGateway operation. // // Gets the best suited LCG node for the client. // // GET /1/device/assignLCG DeviceGetLiveControlGateway(ctx context.Context) (DeviceGetLiveControlGatewayRes, error) // DeviceGetSelf invokes Device_GetSelf operation. // // Gets information about the authenticated device. // // GET /1/device/self DeviceGetSelf(ctx context.Context) (*DeviceSelfResponseBaseResponse, error) // DevicePair invokes Device_Pair operation. // // Pair a device with a pair code. // // GET /1/device/pair/{pairCode} DevicePair(ctx context.Context, params DevicePairParams) (DevicePairRes, error) // DevicePairDEPRECATED invokes Device_Pair_DEPRECATED operation. // // Pair a device with a pair code. // // GET /1/pair/{pairCode} DevicePairDEPRECATED(ctx context.Context, params DevicePairDEPRECATEDParams) (DevicePairDEPRECATEDRes, error) // DevicesCreateDevice invokes Devices_CreateDevice operation. // // Create a new device for the current user. // // POST /1/devices DevicesCreateDevice(ctx context.Context) (*GuidBaseResponse, error) // DevicesEditDevice invokes Devices_EditDevice operation. // // Edit a device. // // PATCH /1/devices/{deviceId} DevicesEditDevice(ctx context.Context, request OptDeviceEdit, params DevicesEditDeviceParams) (DevicesEditDeviceRes, error) // DevicesGetDeviceById invokes Devices_GetDeviceById operation. // // Get a device by its id. // // GET /1/devices/{deviceId} DevicesGetDeviceById(ctx context.Context, params DevicesGetDeviceByIdParams) (DevicesGetDeviceByIdRes, error) // DevicesGetLiveControlGatewayInfo invokes Devices_GetLiveControlGatewayInfo operation. // // Get LCG info for a device if it is online and connected to a LCG node. // // GET /1/devices/{deviceId}/lcg DevicesGetLiveControlGatewayInfo(ctx context.Context, params DevicesGetLiveControlGatewayInfoParams) (DevicesGetLiveControlGatewayInfoRes, error) // DevicesGetOtaUpdateHistory invokes Devices_GetOtaUpdateHistory operation. // // Gets the OTA update history for a device. // // GET /1/devices/{deviceId}/ota DevicesGetOtaUpdateHistory(ctx context.Context, params DevicesGetOtaUpdateHistoryParams) (DevicesGetOtaUpdateHistoryRes, error) // DevicesGetPairCode invokes Devices_GetPairCode operation. // // Get a pair code for a device. // // GET /1/devices/{deviceId}/pair DevicesGetPairCode(ctx context.Context, params DevicesGetPairCodeParams) (DevicesGetPairCodeRes, error) // DevicesGetShockers invokes Devices_GetShockers operation. // // Get all shockers for a device. // // GET /1/devices/{deviceId}/shockers DevicesGetShockers(ctx context.Context, params DevicesGetShockersParams) (DevicesGetShockersRes, error) // DevicesListDevices invokes Devices_ListDevices operation. // // Get all devices for the current user. // // GET /1/devices DevicesListDevices(ctx context.Context) (*ResponseDeviceIEnumerableBaseResponse, error) // DevicesRegenerateDeviceToken invokes Devices_RegenerateDeviceToken operation. // // Regenerate a device token. // // PUT /1/devices/{deviceId} DevicesRegenerateDeviceToken(ctx context.Context, params DevicesRegenerateDeviceTokenParams) (DevicesRegenerateDeviceTokenRes, error) // DevicesRemoveDevice invokes Devices_RemoveDevice operation. // // Remove a device from current user's account. // // DELETE /1/devices/{deviceId} DevicesRemoveDevice(ctx context.Context, params DevicesRemoveDeviceParams) (DevicesRemoveDeviceRes, error) // PublicGetOnlineDevicesStatistics invokes Public_GetOnlineDevicesStatistics operation. // // Gets online devices statistics. // // GET /1/public/stats PublicGetOnlineDevicesStatistics(ctx context.Context) (*StatsResponseBaseResponse, error) // // Gets information about a public share link. // // GET /1/public/shares/links/{shareLinkId} PublicGetShareLink(ctx context.Context, params PublicGetShareLinkParams) (PublicGetShareLinkRes, error) // // Add a shocker to a share link. // // POST /1/shares/links/{shareLinkId}/{shockerId} ShareLinksAddShocker(ctx context.Context, params ShareLinksAddShockerParams) (ShareLinksAddShockerRes, error) // // Create a new share link. // // POST /1/shares/links ShareLinksCreateShareLink(ctx context.Context, request OptShareLinkCreate) (*GuidBaseResponse, error) // // Deletes a share link. // // DELETE /1/shares/links/{shareLinkId} ShareLinksDeleteShareLink(ctx context.Context, params ShareLinksDeleteShareLinkParams) (ShareLinksDeleteShareLinkRes, error) // // Edit a shocker in a share link. // // PATCH /1/shares/links/{shareLinkId}/{shockerId} ShareLinksEditShocker(ctx context.Context, request OptShareLinkEditShocker, params ShareLinksEditShockerParams) (ShareLinksEditShockerRes, error) // // Get all share links for the current user. // // GET /1/shares/links ShareLinksList(ctx context.Context) (*ShareLinkResponseIEnumerableBaseResponse, error) // // Pause a shocker in a share link. // // POST /1/shares/links/{shareLinkId}/{shockerId}/pause ShareLinksPauseShocker(ctx context.Context, request OptPauseRequest, params ShareLinksPauseShockerParams) (ShareLinksPauseShockerRes, error) // // Remove a shocker from a share link. // // DELETE /1/shares/links/{shareLinkId}/{shockerId} ShareLinksRemoveShocker(ctx context.Context, params ShareLinksRemoveShockerParams) (ShareLinksRemoveShockerRes, error) // // Delete a share code. // // DELETE /1/shares/code/{shareCodeId} SharesDeleteShareCode(ctx context.Context, params SharesDeleteShareCodeParams) (SharesDeleteShareCodeRes, error) // // Link a share code to your account. // // POST /1/shares/code/{shareCodeId} SharesLinkShareCode(ctx context.Context, params SharesLinkShareCodeParams) (SharesLinkShareCodeRes, error) // ShockerEditShocker invokes Shocker_EditShocker operation. // // Edit a shocker. // // PATCH /1/shockers/{shockerId} ShockerEditShocker(ctx context.Context, request OptNewShocker, params ShockerEditShockerParams) (ShockerEditShockerRes, error) // ShockerGetShockerById invokes Shocker_GetShockerById operation. // // Get information about a shocker. // // GET /1/shockers/{shockerId} ShockerGetShockerById(ctx context.Context, params ShockerGetShockerByIdParams) (ShockerGetShockerByIdRes, error) // ShockerGetShockerLogs invokes Shocker_GetShockerLogs operation. // // Get the logs for a shocker. // // GET /1/shockers/{shockerId}/logs ShockerGetShockerLogs(ctx context.Context, params ShockerGetShockerLogsParams) (ShockerGetShockerLogsRes, error) // // Get all shares for a shocker. // // GET /1/shockers/{shockerId}/shares ShockerGetShockerShares(ctx context.Context, params ShockerGetShockerSharesParams) (ShockerGetShockerSharesRes, error) // // List all shockers shared with the authenticated user. // // GET /1/shockers/shared ShockerListSharedShockers(ctx context.Context) (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse, error) // ShockerListShockers invokes Shocker_ListShockers operation. // // List all shockers belonging to the authenticated user. // // GET /1/shockers/own ShockerListShockers(ctx context.Context) (*ResponseDeviceWithShockersIEnumerableBaseResponse, error) // ShockerPauseShocker invokes Shocker_PauseShocker operation. // // Pause or unpause a shocker. // // POST /1/shockers/{shockerId}/pause ShockerPauseShocker(ctx context.Context, request OptPauseRequest, params ShockerPauseShockerParams) (ShockerPauseShockerRes, error) // ShockerRegisterShocker invokes Shocker_RegisterShocker operation. // // Register a shocker. // // POST /1/shockers ShockerRegisterShocker(ctx context.Context, request OptNewShocker) (ShockerRegisterShockerRes, error) // ShockerRemoveShocker invokes Shocker_RemoveShocker operation. // // Remove a shocker. // // DELETE /1/shockers/{shockerId} ShockerRemoveShocker(ctx context.Context, params ShockerRemoveShockerParams) (ShockerRemoveShockerRes, error) // ShockerSendControl invokes Shocker_SendControl operation. // // Send a control message to shockers. // // POST /2/shockers/control ShockerSendControl(ctx context.Context, request OptControlRequest) (ShockerSendControlRes, error) // ShockerSendControlDEPRECATED invokes Shocker_SendControl_DEPRECATED operation. // // Send a control message to shockers (Deprecated in favor of the /2/shockers/control endpoint). // // POST /1/shockers/control ShockerSendControlDEPRECATED(ctx context.Context, request []Control) (ShockerSendControlDEPRECATEDRes, error) // // Create a share code for a shocker. // // POST /1/shockers/{shockerId}/shares ShockerShockerShareCodeCreate(ctx context.Context, request OptCreateShareCode, params ShockerShockerShareCodeCreateParams) (ShockerShockerShareCodeCreateRes, error) // // List all share codes for a shocker. // // GET /1/shockers/{shockerId}/shareCodes ShockerShockerShareCodeList(ctx context.Context, params ShockerShockerShareCodeListParams) (ShockerShockerShareCodeListRes, error) // // Pause/Unpause a share code for a shocker. // // POST /1/shockers/{shockerId}/shares/{sharedWithUserId}/pause ShockerShockerShareCodePause(ctx context.Context, request OptPauseRequest, params ShockerShockerShareCodePauseParams) (ShockerShockerShareCodePauseRes, error) // // Remove a share code for a shocker. // // DELETE /1/shockers/{shockerId}/shares/{sharedWithUserId} ShockerShockerShareCodeRemove(ctx context.Context, params ShockerShockerShareCodeRemoveParams) (ShockerShockerShareCodeRemoveRes, error) // // Update a share code for a shocker. // // PATCH /1/shockers/{shockerId}/shares/{sharedWithUserId} ShockerShockerShareCodeUpdate(ctx context.Context, request OptCreateShareCode, params ShockerShockerShareCodeUpdateParams) (ShockerShockerShareCodeUpdateRes, error) // TokensCreateToken invokes Tokens_CreateToken operation. // // Create a new token. // // POST /1/tokens TokensCreateToken(ctx context.Context, request OptCreateTokenRequest) (*StringBaseResponse, error) // TokensDeleteToken invokes Tokens_DeleteToken operation. // // Revoke a token from the current user. // // DELETE /1/tokens/{tokenId} TokensDeleteToken(ctx context.Context, params TokensDeleteTokenParams) (TokensDeleteTokenRes, error) // TokensEditToken invokes Tokens_EditToken operation. // // Edit a token. // // PATCH /1/tokens/{tokenId} TokensEditToken(ctx context.Context, request OptEditTokenRequest, params TokensEditTokenParams) (TokensEditTokenRes, error) // TokensGetTokenById invokes Tokens_GetTokenById operation. // // Get a token by id. // // GET /1/tokens/{tokenId} TokensGetTokenById(ctx context.Context, params TokensGetTokenByIdParams) (TokensGetTokenByIdRes, error) // TokensListTokens invokes Tokens_ListTokens operation. // // List all tokens for the current user. // // GET /1/tokens TokensListTokens(ctx context.Context) (*TokenResponseIEnumerableBaseResponse, error) // UsersGetSelf invokes Users_GetSelf operation. // // Get the current user's information. // // GET /1/users/self UsersGetSelf(ctx context.Context) (*SelfResponseBaseResponse, error) // VersionGetBackendVersion invokes Version_GetBackendVersion operation. // // Gets the version of the OpenShock backend. // // GET /1 VersionGetBackendVersion(ctx context.Context) (*RootResponseBaseResponse, error) }
Invoker invokes operations described by OpenAPI v3 specification.
type LcgNodeResponse ¶
type LcgNodeResponse struct { Fqdn OptNilString `json:"fqdn"` Country OptNilString `json:"country"` }
Ref: #/components/schemas/LcgNodeResponse
func (*LcgNodeResponse) Decode ¶
func (s *LcgNodeResponse) Decode(d *jx.Decoder) error
Decode decodes LcgNodeResponse from json.
func (*LcgNodeResponse) Encode ¶
func (s *LcgNodeResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LcgNodeResponse) GetCountry ¶
func (s *LcgNodeResponse) GetCountry() OptNilString
GetCountry returns the value of Country.
func (*LcgNodeResponse) GetFqdn ¶
func (s *LcgNodeResponse) GetFqdn() OptNilString
GetFqdn returns the value of Fqdn.
func (*LcgNodeResponse) MarshalJSON ¶
func (s *LcgNodeResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LcgNodeResponse) SetCountry ¶
func (s *LcgNodeResponse) SetCountry(val OptNilString)
SetCountry sets the value of Country.
func (*LcgNodeResponse) SetFqdn ¶
func (s *LcgNodeResponse) SetFqdn(val OptNilString)
SetFqdn sets the value of Fqdn.
func (*LcgNodeResponse) UnmarshalJSON ¶
func (s *LcgNodeResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LcgNodeResponseBaseResponse ¶
type LcgNodeResponseBaseResponse struct { Message OptNilString `json:"message"` Data OptLcgNodeResponse `json:"data"` }
Ref: #/components/schemas/LcgNodeResponseBaseResponse
func (*LcgNodeResponseBaseResponse) Decode ¶
func (s *LcgNodeResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes LcgNodeResponseBaseResponse from json.
func (*LcgNodeResponseBaseResponse) Encode ¶
func (s *LcgNodeResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LcgNodeResponseBaseResponse) GetData ¶
func (s *LcgNodeResponseBaseResponse) GetData() OptLcgNodeResponse
GetData returns the value of Data.
func (*LcgNodeResponseBaseResponse) GetMessage ¶
func (s *LcgNodeResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*LcgNodeResponseBaseResponse) MarshalJSON ¶
func (s *LcgNodeResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LcgNodeResponseBaseResponse) SetData ¶
func (s *LcgNodeResponseBaseResponse) SetData(val OptLcgNodeResponse)
SetData sets the value of Data.
func (*LcgNodeResponseBaseResponse) SetFake ¶
func (s *LcgNodeResponseBaseResponse) SetFake()
SetFake set fake values.
func (*LcgNodeResponseBaseResponse) SetMessage ¶
func (s *LcgNodeResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*LcgNodeResponseBaseResponse) UnmarshalJSON ¶
func (s *LcgNodeResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LcgResponse ¶
type LcgResponse struct { Gateway OptNilString `json:"gateway"` Country OptNilString `json:"country"` }
Ref: #/components/schemas/LcgResponse
func (*LcgResponse) Decode ¶
func (s *LcgResponse) Decode(d *jx.Decoder) error
Decode decodes LcgResponse from json.
func (*LcgResponse) Encode ¶
func (s *LcgResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LcgResponse) GetCountry ¶
func (s *LcgResponse) GetCountry() OptNilString
GetCountry returns the value of Country.
func (*LcgResponse) GetGateway ¶
func (s *LcgResponse) GetGateway() OptNilString
GetGateway returns the value of Gateway.
func (*LcgResponse) MarshalJSON ¶
func (s *LcgResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LcgResponse) SetCountry ¶
func (s *LcgResponse) SetCountry(val OptNilString)
SetCountry sets the value of Country.
func (*LcgResponse) SetGateway ¶
func (s *LcgResponse) SetGateway(val OptNilString)
SetGateway sets the value of Gateway.
func (*LcgResponse) UnmarshalJSON ¶
func (s *LcgResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LcgResponseBaseResponse ¶
type LcgResponseBaseResponse struct { Message OptNilString `json:"message"` Data OptLcgResponse `json:"data"` }
Ref: #/components/schemas/LcgResponseBaseResponse
func (*LcgResponseBaseResponse) Decode ¶
func (s *LcgResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes LcgResponseBaseResponse from json.
func (*LcgResponseBaseResponse) Encode ¶
func (s *LcgResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LcgResponseBaseResponse) GetData ¶
func (s *LcgResponseBaseResponse) GetData() OptLcgResponse
GetData returns the value of Data.
func (*LcgResponseBaseResponse) GetMessage ¶
func (s *LcgResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*LcgResponseBaseResponse) MarshalJSON ¶
func (s *LcgResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LcgResponseBaseResponse) SetData ¶
func (s *LcgResponseBaseResponse) SetData(val OptLcgResponse)
SetData sets the value of Data.
func (*LcgResponseBaseResponse) SetFake ¶
func (s *LcgResponseBaseResponse) SetFake()
SetFake set fake values.
func (*LcgResponseBaseResponse) SetMessage ¶
func (s *LcgResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*LcgResponseBaseResponse) UnmarshalJSON ¶
func (s *LcgResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LogEntry ¶
type LogEntry struct { ID OptUUID `json:"id"` CreatedOn OptDateTime `json:"createdOn"` Type OptControlType `json:"type"` ControlledBy OptControlLogSenderLight `json:"controlledBy"` Intensity OptInt32 `json:"intensity"` Duration OptInt32 `json:"duration"` }
Ref: #/components/schemas/LogEntry
func (*LogEntry) GetControlledBy ¶
func (s *LogEntry) GetControlledBy() OptControlLogSenderLight
GetControlledBy returns the value of ControlledBy.
func (*LogEntry) GetCreatedOn ¶
func (s *LogEntry) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*LogEntry) GetDuration ¶
GetDuration returns the value of Duration.
func (*LogEntry) GetIntensity ¶
GetIntensity returns the value of Intensity.
func (*LogEntry) GetType ¶
func (s *LogEntry) GetType() OptControlType
GetType returns the value of Type.
func (*LogEntry) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*LogEntry) SetControlledBy ¶
func (s *LogEntry) SetControlledBy(val OptControlLogSenderLight)
SetControlledBy sets the value of ControlledBy.
func (*LogEntry) SetCreatedOn ¶
func (s *LogEntry) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*LogEntry) SetDuration ¶
SetDuration sets the value of Duration.
func (*LogEntry) SetIntensity ¶
SetIntensity sets the value of Intensity.
func (*LogEntry) SetType ¶
func (s *LogEntry) SetType(val OptControlType)
SetType sets the value of Type.
func (*LogEntry) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type LogEntryIEnumerableBaseResponse ¶
type LogEntryIEnumerableBaseResponse struct { Message OptNilString `json:"message"` Data OptNilLogEntryArray `json:"data"` }
Ref: #/components/schemas/LogEntryIEnumerableBaseResponse
func (*LogEntryIEnumerableBaseResponse) Decode ¶
func (s *LogEntryIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes LogEntryIEnumerableBaseResponse from json.
func (*LogEntryIEnumerableBaseResponse) Encode ¶
func (s *LogEntryIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LogEntryIEnumerableBaseResponse) GetData ¶
func (s *LogEntryIEnumerableBaseResponse) GetData() OptNilLogEntryArray
GetData returns the value of Data.
func (*LogEntryIEnumerableBaseResponse) GetMessage ¶
func (s *LogEntryIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*LogEntryIEnumerableBaseResponse) MarshalJSON ¶
func (s *LogEntryIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LogEntryIEnumerableBaseResponse) SetData ¶
func (s *LogEntryIEnumerableBaseResponse) SetData(val OptNilLogEntryArray)
SetData sets the value of Data.
func (*LogEntryIEnumerableBaseResponse) SetFake ¶
func (s *LogEntryIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*LogEntryIEnumerableBaseResponse) SetMessage ¶
func (s *LogEntryIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*LogEntryIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *LogEntryIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*LogEntryIEnumerableBaseResponse) Validate ¶
func (s *LogEntryIEnumerableBaseResponse) Validate() error
type Login ¶
type Login struct { Password OptNilString `json:"password"` Email OptNilString `json:"email"` }
Ref: #/components/schemas/Login
func (*Login) GetEmail ¶
func (s *Login) GetEmail() OptNilString
GetEmail returns the value of Email.
func (*Login) GetPassword ¶
func (s *Login) GetPassword() OptNilString
GetPassword returns the value of Password.
func (*Login) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Login) SetEmail ¶
func (s *Login) SetEmail(val OptNilString)
SetEmail sets the value of Email.
func (*Login) SetPassword ¶
func (s *Login) SetPassword(val OptNilString)
SetPassword sets the value of Password.
func (*Login) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type LoginV2 ¶
type LoginV2 struct { Password string `json:"password"` Email string `json:"email"` TurnstileResponse string `json:"turnstileResponse"` }
Ref: #/components/schemas/LoginV2
func (*LoginV2) GetPassword ¶
GetPassword returns the value of Password.
func (*LoginV2) GetTurnstileResponse ¶
GetTurnstileResponse returns the value of TurnstileResponse.
func (*LoginV2) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*LoginV2) SetPassword ¶
SetPassword sets the value of Password.
func (*LoginV2) SetTurnstileResponse ¶
SetTurnstileResponse sets the value of TurnstileResponse.
func (*LoginV2) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type MinimalShocker ¶
type MinimalShocker struct { ID OptUUID `json:"id"` RfId OptInt32 `json:"rfId"` Model OptShockerModelType `json:"model"` }
Ref: #/components/schemas/MinimalShocker
func (*MinimalShocker) Decode ¶
func (s *MinimalShocker) Decode(d *jx.Decoder) error
Decode decodes MinimalShocker from json.
func (*MinimalShocker) Encode ¶
func (s *MinimalShocker) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MinimalShocker) GetID ¶
func (s *MinimalShocker) GetID() OptUUID
GetID returns the value of ID.
func (*MinimalShocker) GetModel ¶
func (s *MinimalShocker) GetModel() OptShockerModelType
GetModel returns the value of Model.
func (*MinimalShocker) GetRfId ¶
func (s *MinimalShocker) GetRfId() OptInt32
GetRfId returns the value of RfId.
func (*MinimalShocker) MarshalJSON ¶
func (s *MinimalShocker) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MinimalShocker) SetID ¶
func (s *MinimalShocker) SetID(val OptUUID)
SetID sets the value of ID.
func (*MinimalShocker) SetModel ¶
func (s *MinimalShocker) SetModel(val OptShockerModelType)
SetModel sets the value of Model.
func (*MinimalShocker) SetRfId ¶
func (s *MinimalShocker) SetRfId(val OptInt32)
SetRfId sets the value of RfId.
func (*MinimalShocker) UnmarshalJSON ¶
func (s *MinimalShocker) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MinimalShocker) Validate ¶
func (s *MinimalShocker) Validate() error
type NewShocker ¶
type NewShocker struct { Name OptNilString `json:"name"` RfId OptInt32 `json:"rfId"` Device OptUUID `json:"device"` Model OptShockerModelType `json:"model"` }
Ref: #/components/schemas/NewShocker
func (*NewShocker) Decode ¶
func (s *NewShocker) Decode(d *jx.Decoder) error
Decode decodes NewShocker from json.
func (*NewShocker) Encode ¶
func (s *NewShocker) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*NewShocker) GetDevice ¶
func (s *NewShocker) GetDevice() OptUUID
GetDevice returns the value of Device.
func (*NewShocker) GetModel ¶
func (s *NewShocker) GetModel() OptShockerModelType
GetModel returns the value of Model.
func (*NewShocker) GetName ¶
func (s *NewShocker) GetName() OptNilString
GetName returns the value of Name.
func (*NewShocker) GetRfId ¶
func (s *NewShocker) GetRfId() OptInt32
GetRfId returns the value of RfId.
func (*NewShocker) MarshalJSON ¶
func (s *NewShocker) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NewShocker) SetDevice ¶
func (s *NewShocker) SetDevice(val OptUUID)
SetDevice sets the value of Device.
func (*NewShocker) SetModel ¶
func (s *NewShocker) SetModel(val OptShockerModelType)
SetModel sets the value of Model.
func (*NewShocker) SetName ¶
func (s *NewShocker) SetName(val OptNilString)
SetName sets the value of Name.
func (*NewShocker) SetRfId ¶
func (s *NewShocker) SetRfId(val OptInt32)
SetRfId sets the value of RfId.
func (*NewShocker) UnmarshalJSON ¶
func (s *NewShocker) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NewShocker) Validate ¶
func (s *NewShocker) Validate() error
type ObjectBaseResponse ¶
type ObjectBaseResponse struct { Message OptNilString `json:"message"` Data jx.Raw `json:"data"` }
Ref: #/components/schemas/ObjectBaseResponse
func (*ObjectBaseResponse) Decode ¶
func (s *ObjectBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ObjectBaseResponse from json.
func (*ObjectBaseResponse) Encode ¶
func (s *ObjectBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ObjectBaseResponse) GetData ¶
func (s *ObjectBaseResponse) GetData() jx.Raw
GetData returns the value of Data.
func (*ObjectBaseResponse) GetMessage ¶
func (s *ObjectBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ObjectBaseResponse) MarshalJSON ¶
func (s *ObjectBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ObjectBaseResponse) SetData ¶
func (s *ObjectBaseResponse) SetData(val jx.Raw)
SetData sets the value of Data.
func (*ObjectBaseResponse) SetFake ¶
func (s *ObjectBaseResponse) SetFake()
SetFake set fake values.
func (*ObjectBaseResponse) SetMessage ¶
func (s *ObjectBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ObjectBaseResponse) UnmarshalJSON ¶
func (s *ObjectBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OpenShockProblem ¶
type OpenShockProblem struct { Type OptNilString `json:"type"` Title OptNilString `json:"title"` Status OptNilInt32 `json:"status"` Detail OptNilString `json:"detail"` Instance OptNilString `json:"instance"` // Deprecated: schema marks this property as deprecated. Message OptNilString `json:"message"` TraceId OptNilString `json:"traceId"` AdditionalProps OpenShockProblemAdditional }
Ref: #/components/schemas/OpenShockProblem
func (*OpenShockProblem) Decode ¶
func (s *OpenShockProblem) Decode(d *jx.Decoder) error
Decode decodes OpenShockProblem from json.
func (*OpenShockProblem) Encode ¶
func (s *OpenShockProblem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OpenShockProblem) GetAdditionalProps ¶
func (s *OpenShockProblem) GetAdditionalProps() OpenShockProblemAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OpenShockProblem) GetDetail ¶
func (s *OpenShockProblem) GetDetail() OptNilString
GetDetail returns the value of Detail.
func (*OpenShockProblem) GetInstance ¶
func (s *OpenShockProblem) GetInstance() OptNilString
GetInstance returns the value of Instance.
func (*OpenShockProblem) GetMessage ¶
func (s *OpenShockProblem) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*OpenShockProblem) GetStatus ¶
func (s *OpenShockProblem) GetStatus() OptNilInt32
GetStatus returns the value of Status.
func (*OpenShockProblem) GetTitle ¶
func (s *OpenShockProblem) GetTitle() OptNilString
GetTitle returns the value of Title.
func (*OpenShockProblem) GetTraceId ¶
func (s *OpenShockProblem) GetTraceId() OptNilString
GetTraceId returns the value of TraceId.
func (*OpenShockProblem) GetType ¶
func (s *OpenShockProblem) GetType() OptNilString
GetType returns the value of Type.
func (*OpenShockProblem) MarshalJSON ¶
func (s *OpenShockProblem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OpenShockProblem) SetAdditionalProps ¶
func (s *OpenShockProblem) SetAdditionalProps(val OpenShockProblemAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OpenShockProblem) SetDetail ¶
func (s *OpenShockProblem) SetDetail(val OptNilString)
SetDetail sets the value of Detail.
func (*OpenShockProblem) SetInstance ¶
func (s *OpenShockProblem) SetInstance(val OptNilString)
SetInstance sets the value of Instance.
func (*OpenShockProblem) SetMessage ¶
func (s *OpenShockProblem) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*OpenShockProblem) SetStatus ¶
func (s *OpenShockProblem) SetStatus(val OptNilInt32)
SetStatus sets the value of Status.
func (*OpenShockProblem) SetTitle ¶
func (s *OpenShockProblem) SetTitle(val OptNilString)
SetTitle sets the value of Title.
func (*OpenShockProblem) SetTraceId ¶
func (s *OpenShockProblem) SetTraceId(val OptNilString)
SetTraceId sets the value of TraceId.
func (*OpenShockProblem) SetType ¶
func (s *OpenShockProblem) SetType(val OptNilString)
SetType sets the value of Type.
func (*OpenShockProblem) UnmarshalJSON ¶
func (s *OpenShockProblem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OpenShockProblemAdditional ¶
func (*OpenShockProblemAdditional) Decode ¶
func (s *OpenShockProblemAdditional) Decode(d *jx.Decoder) error
Decode decodes OpenShockProblemAdditional from json.
func (OpenShockProblemAdditional) Encode ¶
func (s OpenShockProblemAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OpenShockProblemAdditional) MarshalJSON ¶
func (s OpenShockProblemAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OpenShockProblemAdditional) SetFake ¶
func (s *OpenShockProblemAdditional) SetFake()
SetFake set fake values.
func (*OpenShockProblemAdditional) UnmarshalJSON ¶
func (s *OpenShockProblemAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OpenShockToken ¶
type OpenShockToken struct {
APIKey string
}
func (*OpenShockToken) GetAPIKey ¶
func (s *OpenShockToken) GetAPIKey() string
GetAPIKey returns the value of APIKey.
func (*OpenShockToken) SetAPIKey ¶
func (s *OpenShockToken) SetAPIKey(val string)
SetAPIKey sets the value of APIKey.
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 OptControlLogSenderLight ¶
type OptControlLogSenderLight struct { Value ControlLogSenderLight Set bool }
OptControlLogSenderLight is optional ControlLogSenderLight.
func NewOptControlLogSenderLight ¶
func NewOptControlLogSenderLight(v ControlLogSenderLight) OptControlLogSenderLight
NewOptControlLogSenderLight returns new OptControlLogSenderLight with value set to v.
func (*OptControlLogSenderLight) Decode ¶
func (o *OptControlLogSenderLight) Decode(d *jx.Decoder) error
Decode decodes ControlLogSenderLight from json.
func (OptControlLogSenderLight) Encode ¶
func (o OptControlLogSenderLight) Encode(e *jx.Encoder)
Encode encodes ControlLogSenderLight as json.
func (OptControlLogSenderLight) Get ¶
func (o OptControlLogSenderLight) Get() (v ControlLogSenderLight, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptControlLogSenderLight) IsSet ¶
func (o OptControlLogSenderLight) IsSet() bool
IsSet returns true if OptControlLogSenderLight was set.
func (OptControlLogSenderLight) MarshalJSON ¶
func (s OptControlLogSenderLight) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptControlLogSenderLight) Or ¶
func (o OptControlLogSenderLight) Or(d ControlLogSenderLight) ControlLogSenderLight
Or returns value if set, or given parameter if does not.
func (*OptControlLogSenderLight) Reset ¶
func (o *OptControlLogSenderLight) Reset()
Reset unsets value.
func (*OptControlLogSenderLight) SetFake ¶
func (s *OptControlLogSenderLight) SetFake()
SetFake set fake values.
func (*OptControlLogSenderLight) SetTo ¶
func (o *OptControlLogSenderLight) SetTo(v ControlLogSenderLight)
SetTo sets value to v.
func (*OptControlLogSenderLight) UnmarshalJSON ¶
func (s *OptControlLogSenderLight) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptControlRequest ¶
type OptControlRequest struct { Value ControlRequest Set bool }
OptControlRequest is optional ControlRequest.
func NewOptControlRequest ¶
func NewOptControlRequest(v ControlRequest) OptControlRequest
NewOptControlRequest returns new OptControlRequest with value set to v.
func (*OptControlRequest) Decode ¶
func (o *OptControlRequest) Decode(d *jx.Decoder) error
Decode decodes ControlRequest from json.
func (OptControlRequest) Encode ¶
func (o OptControlRequest) Encode(e *jx.Encoder)
Encode encodes ControlRequest as json.
func (OptControlRequest) Get ¶
func (o OptControlRequest) Get() (v ControlRequest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptControlRequest) IsSet ¶
func (o OptControlRequest) IsSet() bool
IsSet returns true if OptControlRequest was set.
func (OptControlRequest) MarshalJSON ¶
func (s OptControlRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptControlRequest) Or ¶
func (o OptControlRequest) Or(d ControlRequest) ControlRequest
Or returns value if set, or given parameter if does not.
func (*OptControlRequest) SetTo ¶
func (o *OptControlRequest) SetTo(v ControlRequest)
SetTo sets value to v.
func (*OptControlRequest) UnmarshalJSON ¶
func (s *OptControlRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptControlType ¶
type OptControlType struct { Value ControlType Set bool }
OptControlType is optional ControlType.
func NewOptControlType ¶
func NewOptControlType(v ControlType) OptControlType
NewOptControlType returns new OptControlType with value set to v.
func (*OptControlType) Decode ¶
func (o *OptControlType) Decode(d *jx.Decoder) error
Decode decodes ControlType from json.
func (OptControlType) Encode ¶
func (o OptControlType) Encode(e *jx.Encoder)
Encode encodes ControlType as json.
func (OptControlType) Get ¶
func (o OptControlType) Get() (v ControlType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptControlType) IsSet ¶
func (o OptControlType) IsSet() bool
IsSet returns true if OptControlType was set.
func (OptControlType) MarshalJSON ¶
func (s OptControlType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptControlType) Or ¶
func (o OptControlType) Or(d ControlType) ControlType
Or returns value if set, or given parameter if does not.
func (*OptControlType) UnmarshalJSON ¶
func (s *OptControlType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateShareCode ¶
type OptCreateShareCode struct {}
OptCreateShareCode is optional CreateShareCode.
func NewOptCreateShareCode ¶
func NewOptCreateShareCode(v CreateShareCode) OptCreateShareCode
NewOptCreateShareCode returns new OptCreateShareCode with value set to v.
func (*OptCreateShareCode) Decode ¶
func (o *OptCreateShareCode) Decode(d *jx.Decoder) error
Decode decodes CreateShareCode from json.
func (OptCreateShareCode) Encode ¶
func (o OptCreateShareCode) Encode(e *jx.Encoder)
Encode encodes CreateShareCode as json.
func (OptCreateShareCode) Get ¶
func (o OptCreateShareCode) Get() (v CreateShareCode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateShareCode) IsSet ¶
func (o OptCreateShareCode) IsSet() bool
IsSet returns true if OptCreateShareCode was set.
func (OptCreateShareCode) MarshalJSON ¶
func (s OptCreateShareCode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateShareCode) Or ¶
func (o OptCreateShareCode) Or(d CreateShareCode) CreateShareCode
Or returns value if set, or given parameter if does not.
func (*OptCreateShareCode) SetFake ¶
func (s *OptCreateShareCode) SetFake()
SetFake set fake values.
func (*OptCreateShareCode) SetTo ¶
func (o *OptCreateShareCode) SetTo(v CreateShareCode)
SetTo sets value to v.
func (*OptCreateShareCode) UnmarshalJSON ¶
func (s *OptCreateShareCode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateTokenRequest ¶
type OptCreateTokenRequest struct { Value CreateTokenRequest Set bool }
OptCreateTokenRequest is optional CreateTokenRequest.
func NewOptCreateTokenRequest ¶
func NewOptCreateTokenRequest(v CreateTokenRequest) OptCreateTokenRequest
NewOptCreateTokenRequest returns new OptCreateTokenRequest with value set to v.
func (*OptCreateTokenRequest) Decode ¶
func (o *OptCreateTokenRequest) Decode(d *jx.Decoder) error
Decode decodes CreateTokenRequest from json.
func (OptCreateTokenRequest) Encode ¶
func (o OptCreateTokenRequest) Encode(e *jx.Encoder)
Encode encodes CreateTokenRequest as json.
func (OptCreateTokenRequest) Get ¶
func (o OptCreateTokenRequest) Get() (v CreateTokenRequest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateTokenRequest) IsSet ¶
func (o OptCreateTokenRequest) IsSet() bool
IsSet returns true if OptCreateTokenRequest was set.
func (OptCreateTokenRequest) MarshalJSON ¶
func (s OptCreateTokenRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateTokenRequest) Or ¶
func (o OptCreateTokenRequest) Or(d CreateTokenRequest) CreateTokenRequest
Or returns value if set, or given parameter if does not.
func (*OptCreateTokenRequest) SetFake ¶
func (s *OptCreateTokenRequest) SetFake()
SetFake set fake values.
func (*OptCreateTokenRequest) SetTo ¶
func (o *OptCreateTokenRequest) SetTo(v CreateTokenRequest)
SetTo sets value to v.
func (*OptCreateTokenRequest) UnmarshalJSON ¶
func (s *OptCreateTokenRequest) 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 OptDeviceEdit ¶
type OptDeviceEdit struct { Value DeviceEdit Set bool }
OptDeviceEdit is optional DeviceEdit.
func NewOptDeviceEdit ¶
func NewOptDeviceEdit(v DeviceEdit) OptDeviceEdit
NewOptDeviceEdit returns new OptDeviceEdit with value set to v.
func (*OptDeviceEdit) Decode ¶
func (o *OptDeviceEdit) Decode(d *jx.Decoder) error
Decode decodes DeviceEdit from json.
func (OptDeviceEdit) Encode ¶
func (o OptDeviceEdit) Encode(e *jx.Encoder)
Encode encodes DeviceEdit as json.
func (OptDeviceEdit) Get ¶
func (o OptDeviceEdit) Get() (v DeviceEdit, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDeviceEdit) IsSet ¶
func (o OptDeviceEdit) IsSet() bool
IsSet returns true if OptDeviceEdit was set.
func (OptDeviceEdit) MarshalJSON ¶
func (s OptDeviceEdit) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDeviceEdit) Or ¶
func (o OptDeviceEdit) Or(d DeviceEdit) DeviceEdit
Or returns value if set, or given parameter if does not.
func (*OptDeviceEdit) UnmarshalJSON ¶
func (s *OptDeviceEdit) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDeviceSelfResponse ¶
type OptDeviceSelfResponse struct { Value DeviceSelfResponse Set bool }
OptDeviceSelfResponse is optional DeviceSelfResponse.
func NewOptDeviceSelfResponse ¶
func NewOptDeviceSelfResponse(v DeviceSelfResponse) OptDeviceSelfResponse
NewOptDeviceSelfResponse returns new OptDeviceSelfResponse with value set to v.
func (*OptDeviceSelfResponse) Decode ¶
func (o *OptDeviceSelfResponse) Decode(d *jx.Decoder) error
Decode decodes DeviceSelfResponse from json.
func (OptDeviceSelfResponse) Encode ¶
func (o OptDeviceSelfResponse) Encode(e *jx.Encoder)
Encode encodes DeviceSelfResponse as json.
func (OptDeviceSelfResponse) Get ¶
func (o OptDeviceSelfResponse) Get() (v DeviceSelfResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDeviceSelfResponse) IsSet ¶
func (o OptDeviceSelfResponse) IsSet() bool
IsSet returns true if OptDeviceSelfResponse was set.
func (OptDeviceSelfResponse) MarshalJSON ¶
func (s OptDeviceSelfResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDeviceSelfResponse) Or ¶
func (o OptDeviceSelfResponse) Or(d DeviceSelfResponse) DeviceSelfResponse
Or returns value if set, or given parameter if does not.
func (*OptDeviceSelfResponse) SetFake ¶
func (s *OptDeviceSelfResponse) SetFake()
SetFake set fake values.
func (*OptDeviceSelfResponse) SetTo ¶
func (o *OptDeviceSelfResponse) SetTo(v DeviceSelfResponse)
SetTo sets value to v.
func (*OptDeviceSelfResponse) UnmarshalJSON ¶
func (s *OptDeviceSelfResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptEditTokenRequest ¶
type OptEditTokenRequest struct { Value EditTokenRequest Set bool }
OptEditTokenRequest is optional EditTokenRequest.
func NewOptEditTokenRequest ¶
func NewOptEditTokenRequest(v EditTokenRequest) OptEditTokenRequest
NewOptEditTokenRequest returns new OptEditTokenRequest with value set to v.
func (*OptEditTokenRequest) Decode ¶
func (o *OptEditTokenRequest) Decode(d *jx.Decoder) error
Decode decodes EditTokenRequest from json.
func (OptEditTokenRequest) Encode ¶
func (o OptEditTokenRequest) Encode(e *jx.Encoder)
Encode encodes EditTokenRequest as json.
func (OptEditTokenRequest) Get ¶
func (o OptEditTokenRequest) Get() (v EditTokenRequest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEditTokenRequest) IsSet ¶
func (o OptEditTokenRequest) IsSet() bool
IsSet returns true if OptEditTokenRequest was set.
func (OptEditTokenRequest) MarshalJSON ¶
func (s OptEditTokenRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEditTokenRequest) Or ¶
func (o OptEditTokenRequest) Or(d EditTokenRequest) EditTokenRequest
Or returns value if set, or given parameter if does not.
func (*OptEditTokenRequest) SetFake ¶
func (s *OptEditTokenRequest) SetFake()
SetFake set fake values.
func (*OptEditTokenRequest) SetTo ¶
func (o *OptEditTokenRequest) SetTo(v EditTokenRequest)
SetTo sets value to v.
func (*OptEditTokenRequest) UnmarshalJSON ¶
func (s *OptEditTokenRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGenericIni ¶
type OptGenericIni struct { Value GenericIni Set bool }
OptGenericIni is optional GenericIni.
func NewOptGenericIni ¶
func NewOptGenericIni(v GenericIni) OptGenericIni
NewOptGenericIni returns new OptGenericIni with value set to v.
func (*OptGenericIni) Decode ¶
func (o *OptGenericIni) Decode(d *jx.Decoder) error
Decode decodes GenericIni from json.
func (OptGenericIni) Encode ¶
func (o OptGenericIni) Encode(e *jx.Encoder)
Encode encodes GenericIni as json.
func (OptGenericIni) Get ¶
func (o OptGenericIni) Get() (v GenericIni, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGenericIni) IsSet ¶
func (o OptGenericIni) IsSet() bool
IsSet returns true if OptGenericIni was set.
func (OptGenericIni) MarshalJSON ¶
func (s OptGenericIni) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGenericIni) Or ¶
func (o OptGenericIni) Or(d GenericIni) GenericIni
Or returns value if set, or given parameter if does not.
func (*OptGenericIni) UnmarshalJSON ¶
func (s *OptGenericIni) 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 OptInt32 ¶
OptInt32 is optional int32.
func NewOptInt32 ¶
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt32) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptLcgNodeResponse ¶
type OptLcgNodeResponse struct { Value LcgNodeResponse Set bool }
OptLcgNodeResponse is optional LcgNodeResponse.
func NewOptLcgNodeResponse ¶
func NewOptLcgNodeResponse(v LcgNodeResponse) OptLcgNodeResponse
NewOptLcgNodeResponse returns new OptLcgNodeResponse with value set to v.
func (*OptLcgNodeResponse) Decode ¶
func (o *OptLcgNodeResponse) Decode(d *jx.Decoder) error
Decode decodes LcgNodeResponse from json.
func (OptLcgNodeResponse) Encode ¶
func (o OptLcgNodeResponse) Encode(e *jx.Encoder)
Encode encodes LcgNodeResponse as json.
func (OptLcgNodeResponse) Get ¶
func (o OptLcgNodeResponse) Get() (v LcgNodeResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLcgNodeResponse) IsSet ¶
func (o OptLcgNodeResponse) IsSet() bool
IsSet returns true if OptLcgNodeResponse was set.
func (OptLcgNodeResponse) MarshalJSON ¶
func (s OptLcgNodeResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptLcgNodeResponse) Or ¶
func (o OptLcgNodeResponse) Or(d LcgNodeResponse) LcgNodeResponse
Or returns value if set, or given parameter if does not.
func (*OptLcgNodeResponse) SetFake ¶
func (s *OptLcgNodeResponse) SetFake()
SetFake set fake values.
func (*OptLcgNodeResponse) SetTo ¶
func (o *OptLcgNodeResponse) SetTo(v LcgNodeResponse)
SetTo sets value to v.
func (*OptLcgNodeResponse) UnmarshalJSON ¶
func (s *OptLcgNodeResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptLcgResponse ¶
type OptLcgResponse struct { Value LcgResponse Set bool }
OptLcgResponse is optional LcgResponse.
func NewOptLcgResponse ¶
func NewOptLcgResponse(v LcgResponse) OptLcgResponse
NewOptLcgResponse returns new OptLcgResponse with value set to v.
func (*OptLcgResponse) Decode ¶
func (o *OptLcgResponse) Decode(d *jx.Decoder) error
Decode decodes LcgResponse from json.
func (OptLcgResponse) Encode ¶
func (o OptLcgResponse) Encode(e *jx.Encoder)
Encode encodes LcgResponse as json.
func (OptLcgResponse) Get ¶
func (o OptLcgResponse) Get() (v LcgResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLcgResponse) IsSet ¶
func (o OptLcgResponse) IsSet() bool
IsSet returns true if OptLcgResponse was set.
func (OptLcgResponse) MarshalJSON ¶
func (s OptLcgResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptLcgResponse) Or ¶
func (o OptLcgResponse) Or(d LcgResponse) LcgResponse
Or returns value if set, or given parameter if does not.
func (*OptLcgResponse) UnmarshalJSON ¶
func (s *OptLcgResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptLogin ¶
OptLogin is optional Login.
func NewOptLogin ¶
NewOptLogin returns new OptLogin with value set to v.
func (OptLogin) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptLogin) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptLoginV2 ¶
OptLoginV2 is optional LoginV2.
func NewOptLoginV2 ¶
func NewOptLoginV2(v LoginV2) OptLoginV2
NewOptLoginV2 returns new OptLoginV2 with value set to v.
func (*OptLoginV2) Decode ¶
func (o *OptLoginV2) Decode(d *jx.Decoder) error
Decode decodes LoginV2 from json.
func (OptLoginV2) Encode ¶
func (o OptLoginV2) Encode(e *jx.Encoder)
Encode encodes LoginV2 as json.
func (OptLoginV2) Get ¶
func (o OptLoginV2) Get() (v LoginV2, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLoginV2) IsSet ¶
func (o OptLoginV2) IsSet() bool
IsSet returns true if OptLoginV2 was set.
func (OptLoginV2) MarshalJSON ¶
func (s OptLoginV2) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptLoginV2) Or ¶
func (o OptLoginV2) Or(d LoginV2) LoginV2
Or returns value if set, or given parameter if does not.
func (*OptLoginV2) UnmarshalJSON ¶
func (s *OptLoginV2) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNewShocker ¶
type OptNewShocker struct { Value NewShocker Set bool }
OptNewShocker is optional NewShocker.
func NewOptNewShocker ¶
func NewOptNewShocker(v NewShocker) OptNewShocker
NewOptNewShocker returns new OptNewShocker with value set to v.
func (*OptNewShocker) Decode ¶
func (o *OptNewShocker) Decode(d *jx.Decoder) error
Decode decodes NewShocker from json.
func (OptNewShocker) Encode ¶
func (o OptNewShocker) Encode(e *jx.Encoder)
Encode encodes NewShocker as json.
func (OptNewShocker) Get ¶
func (o OptNewShocker) Get() (v NewShocker, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNewShocker) IsSet ¶
func (o OptNewShocker) IsSet() bool
IsSet returns true if OptNewShocker was set.
func (OptNewShocker) MarshalJSON ¶
func (s OptNewShocker) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNewShocker) Or ¶
func (o OptNewShocker) Or(d NewShocker) NewShocker
Or returns value if set, or given parameter if does not.
func (*OptNewShocker) UnmarshalJSON ¶
func (s *OptNewShocker) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilAdminOnlineDeviceResponseArray ¶
type OptNilAdminOnlineDeviceResponseArray struct { Value []AdminOnlineDeviceResponse Set bool Null bool }
OptNilAdminOnlineDeviceResponseArray is optional nullable []AdminOnlineDeviceResponse.
func NewOptNilAdminOnlineDeviceResponseArray ¶
func NewOptNilAdminOnlineDeviceResponseArray(v []AdminOnlineDeviceResponse) OptNilAdminOnlineDeviceResponseArray
NewOptNilAdminOnlineDeviceResponseArray returns new OptNilAdminOnlineDeviceResponseArray with value set to v.
func (*OptNilAdminOnlineDeviceResponseArray) Decode ¶
func (o *OptNilAdminOnlineDeviceResponseArray) Decode(d *jx.Decoder) error
Decode decodes []AdminOnlineDeviceResponse from json.
func (OptNilAdminOnlineDeviceResponseArray) Encode ¶
func (o OptNilAdminOnlineDeviceResponseArray) Encode(e *jx.Encoder)
Encode encodes []AdminOnlineDeviceResponse as json.
func (OptNilAdminOnlineDeviceResponseArray) Get ¶
func (o OptNilAdminOnlineDeviceResponseArray) Get() (v []AdminOnlineDeviceResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilAdminOnlineDeviceResponseArray) IsNull ¶
func (o OptNilAdminOnlineDeviceResponseArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilAdminOnlineDeviceResponseArray) IsSet ¶
func (o OptNilAdminOnlineDeviceResponseArray) IsSet() bool
IsSet returns true if OptNilAdminOnlineDeviceResponseArray was set.
func (OptNilAdminOnlineDeviceResponseArray) MarshalJSON ¶
func (s OptNilAdminOnlineDeviceResponseArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilAdminOnlineDeviceResponseArray) Or ¶
func (o OptNilAdminOnlineDeviceResponseArray) Or(d []AdminOnlineDeviceResponse) []AdminOnlineDeviceResponse
Or returns value if set, or given parameter if does not.
func (*OptNilAdminOnlineDeviceResponseArray) Reset ¶
func (o *OptNilAdminOnlineDeviceResponseArray) Reset()
Reset unsets value.
func (*OptNilAdminOnlineDeviceResponseArray) SetFake ¶
func (s *OptNilAdminOnlineDeviceResponseArray) SetFake()
SetFake set fake values.
func (*OptNilAdminOnlineDeviceResponseArray) SetTo ¶
func (o *OptNilAdminOnlineDeviceResponseArray) SetTo(v []AdminOnlineDeviceResponse)
SetTo sets value to v.
func (*OptNilAdminOnlineDeviceResponseArray) SetToNull ¶
func (o *OptNilAdminOnlineDeviceResponseArray) SetToNull()
SetNull sets value to null.
func (*OptNilAdminOnlineDeviceResponseArray) UnmarshalJSON ¶
func (s *OptNilAdminOnlineDeviceResponseArray) UnmarshalJSON(data []byte) error
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 OptNilControlArray ¶
OptNilControlArray is optional nullable []Control.
func NewOptNilControlArray ¶
func NewOptNilControlArray(v []Control) OptNilControlArray
NewOptNilControlArray returns new OptNilControlArray with value set to v.
func (*OptNilControlArray) Decode ¶
func (o *OptNilControlArray) Decode(d *jx.Decoder) error
Decode decodes []Control from json.
func (OptNilControlArray) Encode ¶
func (o OptNilControlArray) Encode(e *jx.Encoder)
Encode encodes []Control as json.
func (OptNilControlArray) Get ¶
func (o OptNilControlArray) Get() (v []Control, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilControlArray) IsNull ¶
func (o OptNilControlArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilControlArray) IsSet ¶
func (o OptNilControlArray) IsSet() bool
IsSet returns true if OptNilControlArray was set.
func (OptNilControlArray) MarshalJSON ¶
func (s OptNilControlArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilControlArray) Or ¶
func (o OptNilControlArray) Or(d []Control) []Control
Or returns value if set, or given parameter if does not.
func (*OptNilControlArray) SetFake ¶
func (s *OptNilControlArray) SetFake()
SetFake set fake values.
func (*OptNilControlArray) SetTo ¶
func (o *OptNilControlArray) SetTo(v []Control)
SetTo sets value to v.
func (*OptNilControlArray) SetToNull ¶
func (o *OptNilControlArray) SetToNull()
SetNull sets value to null.
func (*OptNilControlArray) UnmarshalJSON ¶
func (s *OptNilControlArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilDate ¶
OptNilDate is optional nullable time.Time.
func NewOptNilDate ¶
func NewOptNilDate(v time.Time) OptNilDate
NewOptNilDate returns new OptNilDate with value set to v.
func (OptNilDate) Get ¶
func (o OptNilDate) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilDate) IsSet ¶
func (o OptNilDate) IsSet() bool
IsSet returns true if OptNilDate was set.
func (OptNilDate) MarshalJSON ¶
func (s OptNilDate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilDate) Or ¶
func (o OptNilDate) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptNilDate) UnmarshalJSON ¶
func (s *OptNilDate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilDateTime ¶
OptNilDateTime is optional nullable time.Time.
func NewOptNilDateTime ¶
func NewOptNilDateTime(v time.Time) OptNilDateTime
NewOptNilDateTime returns new OptNilDateTime with value set to v.
func (OptNilDateTime) Get ¶
func (o OptNilDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilDateTime) IsNull ¶
func (o OptNilDateTime) IsNull() bool
IsSet returns true if value is Null.
func (OptNilDateTime) IsSet ¶
func (o OptNilDateTime) IsSet() bool
IsSet returns true if OptNilDateTime was set.
func (OptNilDateTime) MarshalJSON ¶
func (s OptNilDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilDateTime) Or ¶
func (o OptNilDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptNilDateTime) UnmarshalJSON ¶
func (s *OptNilDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilInt32 ¶
OptNilInt32 is optional nullable int32.
func NewOptNilInt32 ¶
func NewOptNilInt32(v int32) OptNilInt32
NewOptNilInt32 returns new OptNilInt32 with value set to v.
func (*OptNilInt32) Decode ¶
func (o *OptNilInt32) Decode(d *jx.Decoder) error
Decode decodes int32 from json.
func (OptNilInt32) Encode ¶
func (o OptNilInt32) Encode(e *jx.Encoder)
Encode encodes int32 as json.
func (OptNilInt32) Get ¶
func (o OptNilInt32) Get() (v int32, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilInt32) IsSet ¶
func (o OptNilInt32) IsSet() bool
IsSet returns true if OptNilInt32 was set.
func (OptNilInt32) MarshalJSON ¶
func (s OptNilInt32) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilInt32) Or ¶
func (o OptNilInt32) Or(d int32) int32
Or returns value if set, or given parameter if does not.
func (*OptNilInt32) UnmarshalJSON ¶
func (s *OptNilInt32) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilLogEntryArray ¶
OptNilLogEntryArray is optional nullable []LogEntry.
func NewOptNilLogEntryArray ¶
func NewOptNilLogEntryArray(v []LogEntry) OptNilLogEntryArray
NewOptNilLogEntryArray returns new OptNilLogEntryArray with value set to v.
func (*OptNilLogEntryArray) Decode ¶
func (o *OptNilLogEntryArray) Decode(d *jx.Decoder) error
Decode decodes []LogEntry from json.
func (OptNilLogEntryArray) Encode ¶
func (o OptNilLogEntryArray) Encode(e *jx.Encoder)
Encode encodes []LogEntry as json.
func (OptNilLogEntryArray) Get ¶
func (o OptNilLogEntryArray) Get() (v []LogEntry, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilLogEntryArray) IsNull ¶
func (o OptNilLogEntryArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilLogEntryArray) IsSet ¶
func (o OptNilLogEntryArray) IsSet() bool
IsSet returns true if OptNilLogEntryArray was set.
func (OptNilLogEntryArray) MarshalJSON ¶
func (s OptNilLogEntryArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilLogEntryArray) Or ¶
func (o OptNilLogEntryArray) Or(d []LogEntry) []LogEntry
Or returns value if set, or given parameter if does not.
func (*OptNilLogEntryArray) SetFake ¶
func (s *OptNilLogEntryArray) SetFake()
SetFake set fake values.
func (*OptNilLogEntryArray) SetTo ¶
func (o *OptNilLogEntryArray) SetTo(v []LogEntry)
SetTo sets value to v.
func (*OptNilLogEntryArray) SetToNull ¶
func (o *OptNilLogEntryArray) SetToNull()
SetNull sets value to null.
func (*OptNilLogEntryArray) UnmarshalJSON ¶
func (s *OptNilLogEntryArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilMinimalShockerArray ¶
type OptNilMinimalShockerArray struct { Value []MinimalShocker Set bool Null bool }
OptNilMinimalShockerArray is optional nullable []MinimalShocker.
func NewOptNilMinimalShockerArray ¶
func NewOptNilMinimalShockerArray(v []MinimalShocker) OptNilMinimalShockerArray
NewOptNilMinimalShockerArray returns new OptNilMinimalShockerArray with value set to v.
func (*OptNilMinimalShockerArray) Decode ¶
func (o *OptNilMinimalShockerArray) Decode(d *jx.Decoder) error
Decode decodes []MinimalShocker from json.
func (OptNilMinimalShockerArray) Encode ¶
func (o OptNilMinimalShockerArray) Encode(e *jx.Encoder)
Encode encodes []MinimalShocker as json.
func (OptNilMinimalShockerArray) Get ¶
func (o OptNilMinimalShockerArray) Get() (v []MinimalShocker, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilMinimalShockerArray) IsNull ¶
func (o OptNilMinimalShockerArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilMinimalShockerArray) IsSet ¶
func (o OptNilMinimalShockerArray) IsSet() bool
IsSet returns true if OptNilMinimalShockerArray was set.
func (OptNilMinimalShockerArray) MarshalJSON ¶
func (s OptNilMinimalShockerArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilMinimalShockerArray) Or ¶
func (o OptNilMinimalShockerArray) Or(d []MinimalShocker) []MinimalShocker
Or returns value if set, or given parameter if does not.
func (*OptNilMinimalShockerArray) Reset ¶
func (o *OptNilMinimalShockerArray) Reset()
Reset unsets value.
func (*OptNilMinimalShockerArray) SetFake ¶
func (s *OptNilMinimalShockerArray) SetFake()
SetFake set fake values.
func (*OptNilMinimalShockerArray) SetTo ¶
func (o *OptNilMinimalShockerArray) SetTo(v []MinimalShocker)
SetTo sets value to v.
func (*OptNilMinimalShockerArray) SetToNull ¶
func (o *OptNilMinimalShockerArray) SetToNull()
SetNull sets value to null.
func (*OptNilMinimalShockerArray) UnmarshalJSON ¶
func (s *OptNilMinimalShockerArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilOtaItemArray ¶
OptNilOtaItemArray is optional nullable []OtaItem.
func NewOptNilOtaItemArray ¶
func NewOptNilOtaItemArray(v []OtaItem) OptNilOtaItemArray
NewOptNilOtaItemArray returns new OptNilOtaItemArray with value set to v.
func (*OptNilOtaItemArray) Decode ¶
func (o *OptNilOtaItemArray) Decode(d *jx.Decoder) error
Decode decodes []OtaItem from json.
func (OptNilOtaItemArray) Encode ¶
func (o OptNilOtaItemArray) Encode(e *jx.Encoder)
Encode encodes []OtaItem as json.
func (OptNilOtaItemArray) Get ¶
func (o OptNilOtaItemArray) Get() (v []OtaItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilOtaItemArray) IsNull ¶
func (o OptNilOtaItemArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilOtaItemArray) IsSet ¶
func (o OptNilOtaItemArray) IsSet() bool
IsSet returns true if OptNilOtaItemArray was set.
func (OptNilOtaItemArray) MarshalJSON ¶
func (s OptNilOtaItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilOtaItemArray) Or ¶
func (o OptNilOtaItemArray) Or(d []OtaItem) []OtaItem
Or returns value if set, or given parameter if does not.
func (*OptNilOtaItemArray) SetFake ¶
func (s *OptNilOtaItemArray) SetFake()
SetFake set fake values.
func (*OptNilOtaItemArray) SetTo ¶
func (o *OptNilOtaItemArray) SetTo(v []OtaItem)
SetTo sets value to v.
func (*OptNilOtaItemArray) SetToNull ¶
func (o *OptNilOtaItemArray) SetToNull()
SetNull sets value to null.
func (*OptNilOtaItemArray) UnmarshalJSON ¶
func (s *OptNilOtaItemArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilOwnerShockerResponseArrayArray ¶
type OptNilOwnerShockerResponseArrayArray struct { Value [][]OwnerShockerResponse Set bool Null bool }
OptNilOwnerShockerResponseArrayArray is optional nullable [][]OwnerShockerResponse.
func NewOptNilOwnerShockerResponseArrayArray ¶
func NewOptNilOwnerShockerResponseArrayArray(v [][]OwnerShockerResponse) OptNilOwnerShockerResponseArrayArray
NewOptNilOwnerShockerResponseArrayArray returns new OptNilOwnerShockerResponseArrayArray with value set to v.
func (*OptNilOwnerShockerResponseArrayArray) Decode ¶
func (o *OptNilOwnerShockerResponseArrayArray) Decode(d *jx.Decoder) error
Decode decodes [][]OwnerShockerResponse from json.
func (OptNilOwnerShockerResponseArrayArray) Encode ¶
func (o OptNilOwnerShockerResponseArrayArray) Encode(e *jx.Encoder)
Encode encodes [][]OwnerShockerResponse as json.
func (OptNilOwnerShockerResponseArrayArray) Get ¶
func (o OptNilOwnerShockerResponseArrayArray) Get() (v [][]OwnerShockerResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilOwnerShockerResponseArrayArray) IsNull ¶
func (o OptNilOwnerShockerResponseArrayArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilOwnerShockerResponseArrayArray) IsSet ¶
func (o OptNilOwnerShockerResponseArrayArray) IsSet() bool
IsSet returns true if OptNilOwnerShockerResponseArrayArray was set.
func (OptNilOwnerShockerResponseArrayArray) MarshalJSON ¶
func (s OptNilOwnerShockerResponseArrayArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilOwnerShockerResponseArrayArray) Or ¶
func (o OptNilOwnerShockerResponseArrayArray) Or(d [][]OwnerShockerResponse) [][]OwnerShockerResponse
Or returns value if set, or given parameter if does not.
func (*OptNilOwnerShockerResponseArrayArray) Reset ¶
func (o *OptNilOwnerShockerResponseArrayArray) Reset()
Reset unsets value.
func (*OptNilOwnerShockerResponseArrayArray) SetFake ¶
func (s *OptNilOwnerShockerResponseArrayArray) SetFake()
SetFake set fake values.
func (*OptNilOwnerShockerResponseArrayArray) SetTo ¶
func (o *OptNilOwnerShockerResponseArrayArray) SetTo(v [][]OwnerShockerResponse)
SetTo sets value to v.
func (*OptNilOwnerShockerResponseArrayArray) SetToNull ¶
func (o *OptNilOwnerShockerResponseArrayArray) SetToNull()
SetNull sets value to null.
func (*OptNilOwnerShockerResponseArrayArray) UnmarshalJSON ¶
func (s *OptNilOwnerShockerResponseArrayArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilPermissionTypeArray ¶
type OptNilPermissionTypeArray struct { Value []PermissionType Set bool Null bool }
OptNilPermissionTypeArray is optional nullable []PermissionType.
func NewOptNilPermissionTypeArray ¶
func NewOptNilPermissionTypeArray(v []PermissionType) OptNilPermissionTypeArray
NewOptNilPermissionTypeArray returns new OptNilPermissionTypeArray with value set to v.
func (*OptNilPermissionTypeArray) Decode ¶
func (o *OptNilPermissionTypeArray) Decode(d *jx.Decoder) error
Decode decodes []PermissionType from json.
func (OptNilPermissionTypeArray) Encode ¶
func (o OptNilPermissionTypeArray) Encode(e *jx.Encoder)
Encode encodes []PermissionType as json.
func (OptNilPermissionTypeArray) Get ¶
func (o OptNilPermissionTypeArray) Get() (v []PermissionType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilPermissionTypeArray) IsNull ¶
func (o OptNilPermissionTypeArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilPermissionTypeArray) IsSet ¶
func (o OptNilPermissionTypeArray) IsSet() bool
IsSet returns true if OptNilPermissionTypeArray was set.
func (OptNilPermissionTypeArray) MarshalJSON ¶
func (s OptNilPermissionTypeArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilPermissionTypeArray) Or ¶
func (o OptNilPermissionTypeArray) Or(d []PermissionType) []PermissionType
Or returns value if set, or given parameter if does not.
func (*OptNilPermissionTypeArray) Reset ¶
func (o *OptNilPermissionTypeArray) Reset()
Reset unsets value.
func (*OptNilPermissionTypeArray) SetFake ¶
func (s *OptNilPermissionTypeArray) SetFake()
SetFake set fake values.
func (*OptNilPermissionTypeArray) SetTo ¶
func (o *OptNilPermissionTypeArray) SetTo(v []PermissionType)
SetTo sets value to v.
func (*OptNilPermissionTypeArray) SetToNull ¶
func (o *OptNilPermissionTypeArray) SetToNull()
SetNull sets value to null.
func (*OptNilPermissionTypeArray) UnmarshalJSON ¶
func (s *OptNilPermissionTypeArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilResponseDeviceArray ¶
type OptNilResponseDeviceArray struct { Value []ResponseDevice Set bool Null bool }
OptNilResponseDeviceArray is optional nullable []ResponseDevice.
func NewOptNilResponseDeviceArray ¶
func NewOptNilResponseDeviceArray(v []ResponseDevice) OptNilResponseDeviceArray
NewOptNilResponseDeviceArray returns new OptNilResponseDeviceArray with value set to v.
func (*OptNilResponseDeviceArray) Decode ¶
func (o *OptNilResponseDeviceArray) Decode(d *jx.Decoder) error
Decode decodes []ResponseDevice from json.
func (OptNilResponseDeviceArray) Encode ¶
func (o OptNilResponseDeviceArray) Encode(e *jx.Encoder)
Encode encodes []ResponseDevice as json.
func (OptNilResponseDeviceArray) Get ¶
func (o OptNilResponseDeviceArray) Get() (v []ResponseDevice, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilResponseDeviceArray) IsNull ¶
func (o OptNilResponseDeviceArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilResponseDeviceArray) IsSet ¶
func (o OptNilResponseDeviceArray) IsSet() bool
IsSet returns true if OptNilResponseDeviceArray was set.
func (OptNilResponseDeviceArray) MarshalJSON ¶
func (s OptNilResponseDeviceArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilResponseDeviceArray) Or ¶
func (o OptNilResponseDeviceArray) Or(d []ResponseDevice) []ResponseDevice
Or returns value if set, or given parameter if does not.
func (*OptNilResponseDeviceArray) Reset ¶
func (o *OptNilResponseDeviceArray) Reset()
Reset unsets value.
func (*OptNilResponseDeviceArray) SetFake ¶
func (s *OptNilResponseDeviceArray) SetFake()
SetFake set fake values.
func (*OptNilResponseDeviceArray) SetTo ¶
func (o *OptNilResponseDeviceArray) SetTo(v []ResponseDevice)
SetTo sets value to v.
func (*OptNilResponseDeviceArray) SetToNull ¶
func (o *OptNilResponseDeviceArray) SetToNull()
SetNull sets value to null.
func (*OptNilResponseDeviceArray) UnmarshalJSON ¶
func (s *OptNilResponseDeviceArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilResponseDeviceWithShockersArray ¶
type OptNilResponseDeviceWithShockersArray struct { Value []ResponseDeviceWithShockers Set bool Null bool }
OptNilResponseDeviceWithShockersArray is optional nullable []ResponseDeviceWithShockers.
func NewOptNilResponseDeviceWithShockersArray ¶
func NewOptNilResponseDeviceWithShockersArray(v []ResponseDeviceWithShockers) OptNilResponseDeviceWithShockersArray
NewOptNilResponseDeviceWithShockersArray returns new OptNilResponseDeviceWithShockersArray with value set to v.
func (*OptNilResponseDeviceWithShockersArray) Decode ¶
func (o *OptNilResponseDeviceWithShockersArray) Decode(d *jx.Decoder) error
Decode decodes []ResponseDeviceWithShockers from json.
func (OptNilResponseDeviceWithShockersArray) Encode ¶
func (o OptNilResponseDeviceWithShockersArray) Encode(e *jx.Encoder)
Encode encodes []ResponseDeviceWithShockers as json.
func (OptNilResponseDeviceWithShockersArray) Get ¶
func (o OptNilResponseDeviceWithShockersArray) Get() (v []ResponseDeviceWithShockers, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilResponseDeviceWithShockersArray) IsNull ¶
func (o OptNilResponseDeviceWithShockersArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilResponseDeviceWithShockersArray) IsSet ¶
func (o OptNilResponseDeviceWithShockersArray) IsSet() bool
IsSet returns true if OptNilResponseDeviceWithShockersArray was set.
func (OptNilResponseDeviceWithShockersArray) MarshalJSON ¶
func (s OptNilResponseDeviceWithShockersArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilResponseDeviceWithShockersArray) Or ¶
func (o OptNilResponseDeviceWithShockersArray) Or(d []ResponseDeviceWithShockers) []ResponseDeviceWithShockers
Or returns value if set, or given parameter if does not.
func (*OptNilResponseDeviceWithShockersArray) Reset ¶
func (o *OptNilResponseDeviceWithShockersArray) Reset()
Reset unsets value.
func (*OptNilResponseDeviceWithShockersArray) SetFake ¶
func (s *OptNilResponseDeviceWithShockersArray) SetFake()
SetFake set fake values.
func (*OptNilResponseDeviceWithShockersArray) SetTo ¶
func (o *OptNilResponseDeviceWithShockersArray) SetTo(v []ResponseDeviceWithShockers)
SetTo sets value to v.
func (*OptNilResponseDeviceWithShockersArray) SetToNull ¶
func (o *OptNilResponseDeviceWithShockersArray) SetToNull()
SetNull sets value to null.
func (*OptNilResponseDeviceWithShockersArray) UnmarshalJSON ¶
func (s *OptNilResponseDeviceWithShockersArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilShareCodeInfoArray ¶
type OptNilShareCodeInfoArray struct {}
OptNilShareCodeInfoArray is optional nullable []ShareCodeInfo.
func NewOptNilShareCodeInfoArray ¶
func NewOptNilShareCodeInfoArray(v []ShareCodeInfo) OptNilShareCodeInfoArray
NewOptNilShareCodeInfoArray returns new OptNilShareCodeInfoArray with value set to v.
func (*OptNilShareCodeInfoArray) Decode ¶
func (o *OptNilShareCodeInfoArray) Decode(d *jx.Decoder) error
Decode decodes []ShareCodeInfo from json.
func (OptNilShareCodeInfoArray) Encode ¶
func (o OptNilShareCodeInfoArray) Encode(e *jx.Encoder)
Encode encodes []ShareCodeInfo as json.
func (OptNilShareCodeInfoArray) Get ¶
func (o OptNilShareCodeInfoArray) Get() (v []ShareCodeInfo, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilShareCodeInfoArray) IsNull ¶
func (o OptNilShareCodeInfoArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilShareCodeInfoArray) IsSet ¶
func (o OptNilShareCodeInfoArray) IsSet() bool
IsSet returns true if OptNilShareCodeInfoArray was set.
func (OptNilShareCodeInfoArray) MarshalJSON ¶
func (s OptNilShareCodeInfoArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilShareCodeInfoArray) Or ¶
func (o OptNilShareCodeInfoArray) Or(d []ShareCodeInfo) []ShareCodeInfo
Or returns value if set, or given parameter if does not.
func (*OptNilShareCodeInfoArray) Reset ¶
func (o *OptNilShareCodeInfoArray) Reset()
Reset unsets value.
func (*OptNilShareCodeInfoArray) SetFake ¶
func (s *OptNilShareCodeInfoArray) SetFake()
SetFake set fake values.
func (*OptNilShareCodeInfoArray) SetTo ¶
func (o *OptNilShareCodeInfoArray) SetTo(v []ShareCodeInfo)
SetTo sets value to v.
func (*OptNilShareCodeInfoArray) SetToNull ¶
func (o *OptNilShareCodeInfoArray) SetToNull()
SetNull sets value to null.
func (*OptNilShareCodeInfoArray) UnmarshalJSON ¶
func (s *OptNilShareCodeInfoArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilShareInfoArray ¶
type OptNilShareInfoArray struct {}
OptNilShareInfoArray is optional nullable []ShareInfo.
func NewOptNilShareInfoArray ¶
func NewOptNilShareInfoArray(v []ShareInfo) OptNilShareInfoArray
NewOptNilShareInfoArray returns new OptNilShareInfoArray with value set to v.
func (*OptNilShareInfoArray) Decode ¶
func (o *OptNilShareInfoArray) Decode(d *jx.Decoder) error
Decode decodes []ShareInfo from json.
func (OptNilShareInfoArray) Encode ¶
func (o OptNilShareInfoArray) Encode(e *jx.Encoder)
Encode encodes []ShareInfo as json.
func (OptNilShareInfoArray) Get ¶
func (o OptNilShareInfoArray) Get() (v []ShareInfo, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilShareInfoArray) IsNull ¶
func (o OptNilShareInfoArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilShareInfoArray) IsSet ¶
func (o OptNilShareInfoArray) IsSet() bool
IsSet returns true if OptNilShareInfoArray was set.
func (OptNilShareInfoArray) MarshalJSON ¶
func (s OptNilShareInfoArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilShareInfoArray) Or ¶
func (o OptNilShareInfoArray) Or(d []ShareInfo) []ShareInfo
Or returns value if set, or given parameter if does not.
func (*OptNilShareInfoArray) SetFake ¶
func (s *OptNilShareInfoArray) SetFake()
SetFake set fake values.
func (*OptNilShareInfoArray) SetTo ¶
func (o *OptNilShareInfoArray) SetTo(v []ShareInfo)
SetTo sets value to v.
func (*OptNilShareInfoArray) SetToNull ¶
func (o *OptNilShareInfoArray) SetToNull()
SetNull sets value to null.
func (*OptNilShareInfoArray) UnmarshalJSON ¶
func (s *OptNilShareInfoArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilShareLinkDeviceArray ¶
type OptNilShareLinkDeviceArray struct {}
OptNilShareLinkDeviceArray is optional nullable []ShareLinkDevice.
func NewOptNilShareLinkDeviceArray ¶
func NewOptNilShareLinkDeviceArray(v []ShareLinkDevice) OptNilShareLinkDeviceArray
NewOptNilShareLinkDeviceArray returns new OptNilShareLinkDeviceArray with value set to v.
func (*OptNilShareLinkDeviceArray) Decode ¶
func (o *OptNilShareLinkDeviceArray) Decode(d *jx.Decoder) error
Decode decodes []ShareLinkDevice from json.
func (OptNilShareLinkDeviceArray) Encode ¶
func (o OptNilShareLinkDeviceArray) Encode(e *jx.Encoder)
Encode encodes []ShareLinkDevice as json.
func (OptNilShareLinkDeviceArray) Get ¶
func (o OptNilShareLinkDeviceArray) Get() (v []ShareLinkDevice, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilShareLinkDeviceArray) IsNull ¶
func (o OptNilShareLinkDeviceArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilShareLinkDeviceArray) IsSet ¶
func (o OptNilShareLinkDeviceArray) IsSet() bool
IsSet returns true if OptNilShareLinkDeviceArray was set.
func (OptNilShareLinkDeviceArray) MarshalJSON ¶
func (s OptNilShareLinkDeviceArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilShareLinkDeviceArray) Or ¶
func (o OptNilShareLinkDeviceArray) Or(d []ShareLinkDevice) []ShareLinkDevice
Or returns value if set, or given parameter if does not.
func (*OptNilShareLinkDeviceArray) Reset ¶
func (o *OptNilShareLinkDeviceArray) Reset()
Reset unsets value.
func (*OptNilShareLinkDeviceArray) SetFake ¶
func (s *OptNilShareLinkDeviceArray) SetFake()
SetFake set fake values.
func (*OptNilShareLinkDeviceArray) SetTo ¶
func (o *OptNilShareLinkDeviceArray) SetTo(v []ShareLinkDevice)
SetTo sets value to v.
func (*OptNilShareLinkDeviceArray) SetToNull ¶
func (o *OptNilShareLinkDeviceArray) SetToNull()
SetNull sets value to null.
func (*OptNilShareLinkDeviceArray) UnmarshalJSON ¶
func (s *OptNilShareLinkDeviceArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilShareLinkResponseArray ¶
type OptNilShareLinkResponseArray struct {}
OptNilShareLinkResponseArray is optional nullable []ShareLinkResponse.
func NewOptNilShareLinkResponseArray ¶
func NewOptNilShareLinkResponseArray(v []ShareLinkResponse) OptNilShareLinkResponseArray
NewOptNilShareLinkResponseArray returns new OptNilShareLinkResponseArray with value set to v.
func (*OptNilShareLinkResponseArray) Decode ¶
func (o *OptNilShareLinkResponseArray) Decode(d *jx.Decoder) error
Decode decodes []ShareLinkResponse from json.
func (OptNilShareLinkResponseArray) Encode ¶
func (o OptNilShareLinkResponseArray) Encode(e *jx.Encoder)
Encode encodes []ShareLinkResponse as json.
func (OptNilShareLinkResponseArray) Get ¶
func (o OptNilShareLinkResponseArray) Get() (v []ShareLinkResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilShareLinkResponseArray) IsNull ¶
func (o OptNilShareLinkResponseArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilShareLinkResponseArray) IsSet ¶
func (o OptNilShareLinkResponseArray) IsSet() bool
IsSet returns true if OptNilShareLinkResponseArray was set.
func (OptNilShareLinkResponseArray) MarshalJSON ¶
func (s OptNilShareLinkResponseArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilShareLinkResponseArray) Or ¶
func (o OptNilShareLinkResponseArray) Or(d []ShareLinkResponse) []ShareLinkResponse
Or returns value if set, or given parameter if does not.
func (*OptNilShareLinkResponseArray) Reset ¶
func (o *OptNilShareLinkResponseArray) Reset()
Reset unsets value.
func (*OptNilShareLinkResponseArray) SetFake ¶
func (s *OptNilShareLinkResponseArray) SetFake()
SetFake set fake values.
func (*OptNilShareLinkResponseArray) SetTo ¶
func (o *OptNilShareLinkResponseArray) SetTo(v []ShareLinkResponse)
SetTo sets value to v.
func (*OptNilShareLinkResponseArray) SetToNull ¶
func (o *OptNilShareLinkResponseArray) SetToNull()
SetNull sets value to null.
func (*OptNilShareLinkResponseArray) UnmarshalJSON ¶
func (s *OptNilShareLinkResponseArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilShareLinkShockerArray ¶
type OptNilShareLinkShockerArray struct {}
OptNilShareLinkShockerArray is optional nullable []ShareLinkShocker.
func NewOptNilShareLinkShockerArray ¶
func NewOptNilShareLinkShockerArray(v []ShareLinkShocker) OptNilShareLinkShockerArray
NewOptNilShareLinkShockerArray returns new OptNilShareLinkShockerArray with value set to v.
func (*OptNilShareLinkShockerArray) Decode ¶
func (o *OptNilShareLinkShockerArray) Decode(d *jx.Decoder) error
Decode decodes []ShareLinkShocker from json.
func (OptNilShareLinkShockerArray) Encode ¶
func (o OptNilShareLinkShockerArray) Encode(e *jx.Encoder)
Encode encodes []ShareLinkShocker as json.
func (OptNilShareLinkShockerArray) Get ¶
func (o OptNilShareLinkShockerArray) Get() (v []ShareLinkShocker, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilShareLinkShockerArray) IsNull ¶
func (o OptNilShareLinkShockerArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilShareLinkShockerArray) IsSet ¶
func (o OptNilShareLinkShockerArray) IsSet() bool
IsSet returns true if OptNilShareLinkShockerArray was set.
func (OptNilShareLinkShockerArray) MarshalJSON ¶
func (s OptNilShareLinkShockerArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilShareLinkShockerArray) Or ¶
func (o OptNilShareLinkShockerArray) Or(d []ShareLinkShocker) []ShareLinkShocker
Or returns value if set, or given parameter if does not.
func (*OptNilShareLinkShockerArray) Reset ¶
func (o *OptNilShareLinkShockerArray) Reset()
Reset unsets value.
func (*OptNilShareLinkShockerArray) SetFake ¶
func (s *OptNilShareLinkShockerArray) SetFake()
SetFake set fake values.
func (*OptNilShareLinkShockerArray) SetTo ¶
func (o *OptNilShareLinkShockerArray) SetTo(v []ShareLinkShocker)
SetTo sets value to v.
func (*OptNilShareLinkShockerArray) SetToNull ¶
func (o *OptNilShareLinkShockerArray) SetToNull()
SetNull sets value to null.
func (*OptNilShareLinkShockerArray) UnmarshalJSON ¶
func (s *OptNilShareLinkShockerArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSharedDeviceArray ¶
type OptNilSharedDeviceArray struct {}
OptNilSharedDeviceArray is optional nullable []SharedDevice.
func NewOptNilSharedDeviceArray ¶
func NewOptNilSharedDeviceArray(v []SharedDevice) OptNilSharedDeviceArray
NewOptNilSharedDeviceArray returns new OptNilSharedDeviceArray with value set to v.
func (*OptNilSharedDeviceArray) Decode ¶
func (o *OptNilSharedDeviceArray) Decode(d *jx.Decoder) error
Decode decodes []SharedDevice from json.
func (OptNilSharedDeviceArray) Encode ¶
func (o OptNilSharedDeviceArray) Encode(e *jx.Encoder)
Encode encodes []SharedDevice as json.
func (OptNilSharedDeviceArray) Get ¶
func (o OptNilSharedDeviceArray) Get() (v []SharedDevice, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSharedDeviceArray) IsNull ¶
func (o OptNilSharedDeviceArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilSharedDeviceArray) IsSet ¶
func (o OptNilSharedDeviceArray) IsSet() bool
IsSet returns true if OptNilSharedDeviceArray was set.
func (OptNilSharedDeviceArray) MarshalJSON ¶
func (s OptNilSharedDeviceArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSharedDeviceArray) Or ¶
func (o OptNilSharedDeviceArray) Or(d []SharedDevice) []SharedDevice
Or returns value if set, or given parameter if does not.
func (*OptNilSharedDeviceArray) Reset ¶
func (o *OptNilSharedDeviceArray) Reset()
Reset unsets value.
func (*OptNilSharedDeviceArray) SetFake ¶
func (s *OptNilSharedDeviceArray) SetFake()
SetFake set fake values.
func (*OptNilSharedDeviceArray) SetTo ¶
func (o *OptNilSharedDeviceArray) SetTo(v []SharedDevice)
SetTo sets value to v.
func (*OptNilSharedDeviceArray) SetToNull ¶
func (o *OptNilSharedDeviceArray) SetToNull()
SetNull sets value to null.
func (*OptNilSharedDeviceArray) UnmarshalJSON ¶
func (s *OptNilSharedDeviceArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSharedShockerArray ¶
type OptNilSharedShockerArray struct {}
OptNilSharedShockerArray is optional nullable []SharedShocker.
func NewOptNilSharedShockerArray ¶
func NewOptNilSharedShockerArray(v []SharedShocker) OptNilSharedShockerArray
NewOptNilSharedShockerArray returns new OptNilSharedShockerArray with value set to v.
func (*OptNilSharedShockerArray) Decode ¶
func (o *OptNilSharedShockerArray) Decode(d *jx.Decoder) error
Decode decodes []SharedShocker from json.
func (OptNilSharedShockerArray) Encode ¶
func (o OptNilSharedShockerArray) Encode(e *jx.Encoder)
Encode encodes []SharedShocker as json.
func (OptNilSharedShockerArray) Get ¶
func (o OptNilSharedShockerArray) Get() (v []SharedShocker, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSharedShockerArray) IsNull ¶
func (o OptNilSharedShockerArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilSharedShockerArray) IsSet ¶
func (o OptNilSharedShockerArray) IsSet() bool
IsSet returns true if OptNilSharedShockerArray was set.
func (OptNilSharedShockerArray) MarshalJSON ¶
func (s OptNilSharedShockerArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSharedShockerArray) Or ¶
func (o OptNilSharedShockerArray) Or(d []SharedShocker) []SharedShocker
Or returns value if set, or given parameter if does not.
func (*OptNilSharedShockerArray) Reset ¶
func (o *OptNilSharedShockerArray) Reset()
Reset unsets value.
func (*OptNilSharedShockerArray) SetFake ¶
func (s *OptNilSharedShockerArray) SetFake()
SetFake set fake values.
func (*OptNilSharedShockerArray) SetTo ¶
func (o *OptNilSharedShockerArray) SetTo(v []SharedShocker)
SetTo sets value to v.
func (*OptNilSharedShockerArray) SetToNull ¶
func (o *OptNilSharedShockerArray) SetToNull()
SetNull sets value to null.
func (*OptNilSharedShockerArray) UnmarshalJSON ¶
func (s *OptNilSharedShockerArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilShockerResponseArray ¶
type OptNilShockerResponseArray struct { Value []ShockerResponse Set bool Null bool }
OptNilShockerResponseArray is optional nullable []ShockerResponse.
func NewOptNilShockerResponseArray ¶
func NewOptNilShockerResponseArray(v []ShockerResponse) OptNilShockerResponseArray
NewOptNilShockerResponseArray returns new OptNilShockerResponseArray with value set to v.
func (*OptNilShockerResponseArray) Decode ¶
func (o *OptNilShockerResponseArray) Decode(d *jx.Decoder) error
Decode decodes []ShockerResponse from json.
func (OptNilShockerResponseArray) Encode ¶
func (o OptNilShockerResponseArray) Encode(e *jx.Encoder)
Encode encodes []ShockerResponse as json.
func (OptNilShockerResponseArray) Get ¶
func (o OptNilShockerResponseArray) Get() (v []ShockerResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilShockerResponseArray) IsNull ¶
func (o OptNilShockerResponseArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilShockerResponseArray) IsSet ¶
func (o OptNilShockerResponseArray) IsSet() bool
IsSet returns true if OptNilShockerResponseArray was set.
func (OptNilShockerResponseArray) MarshalJSON ¶
func (s OptNilShockerResponseArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilShockerResponseArray) Or ¶
func (o OptNilShockerResponseArray) Or(d []ShockerResponse) []ShockerResponse
Or returns value if set, or given parameter if does not.
func (*OptNilShockerResponseArray) Reset ¶
func (o *OptNilShockerResponseArray) Reset()
Reset unsets value.
func (*OptNilShockerResponseArray) SetFake ¶
func (s *OptNilShockerResponseArray) SetFake()
SetFake set fake values.
func (*OptNilShockerResponseArray) SetTo ¶
func (o *OptNilShockerResponseArray) SetTo(v []ShockerResponse)
SetTo sets value to v.
func (*OptNilShockerResponseArray) SetToNull ¶
func (o *OptNilShockerResponseArray) SetToNull()
SetNull sets value to null.
func (*OptNilShockerResponseArray) UnmarshalJSON ¶
func (s *OptNilShockerResponseArray) 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
IsSet 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 OptNilTokenResponseArray ¶
type OptNilTokenResponseArray struct { Value []TokenResponse Set bool Null bool }
OptNilTokenResponseArray is optional nullable []TokenResponse.
func NewOptNilTokenResponseArray ¶
func NewOptNilTokenResponseArray(v []TokenResponse) OptNilTokenResponseArray
NewOptNilTokenResponseArray returns new OptNilTokenResponseArray with value set to v.
func (*OptNilTokenResponseArray) Decode ¶
func (o *OptNilTokenResponseArray) Decode(d *jx.Decoder) error
Decode decodes []TokenResponse from json.
func (OptNilTokenResponseArray) Encode ¶
func (o OptNilTokenResponseArray) Encode(e *jx.Encoder)
Encode encodes []TokenResponse as json.
func (OptNilTokenResponseArray) Get ¶
func (o OptNilTokenResponseArray) Get() (v []TokenResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilTokenResponseArray) IsNull ¶
func (o OptNilTokenResponseArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilTokenResponseArray) IsSet ¶
func (o OptNilTokenResponseArray) IsSet() bool
IsSet returns true if OptNilTokenResponseArray was set.
func (OptNilTokenResponseArray) MarshalJSON ¶
func (s OptNilTokenResponseArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilTokenResponseArray) Or ¶
func (o OptNilTokenResponseArray) Or(d []TokenResponse) []TokenResponse
Or returns value if set, or given parameter if does not.
func (*OptNilTokenResponseArray) Reset ¶
func (o *OptNilTokenResponseArray) Reset()
Reset unsets value.
func (*OptNilTokenResponseArray) SetFake ¶
func (s *OptNilTokenResponseArray) SetFake()
SetFake set fake values.
func (*OptNilTokenResponseArray) SetTo ¶
func (o *OptNilTokenResponseArray) SetTo(v []TokenResponse)
SetTo sets value to v.
func (*OptNilTokenResponseArray) SetToNull ¶
func (o *OptNilTokenResponseArray) SetToNull()
SetNull sets value to null.
func (*OptNilTokenResponseArray) UnmarshalJSON ¶
func (s *OptNilTokenResponseArray) 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 OptOtaUpdateStatus ¶
type OptOtaUpdateStatus struct { Value OtaUpdateStatus Set bool }
OptOtaUpdateStatus is optional OtaUpdateStatus.
func NewOptOtaUpdateStatus ¶
func NewOptOtaUpdateStatus(v OtaUpdateStatus) OptOtaUpdateStatus
NewOptOtaUpdateStatus returns new OptOtaUpdateStatus with value set to v.
func (*OptOtaUpdateStatus) Decode ¶
func (o *OptOtaUpdateStatus) Decode(d *jx.Decoder) error
Decode decodes OtaUpdateStatus from json.
func (OptOtaUpdateStatus) Encode ¶
func (o OptOtaUpdateStatus) Encode(e *jx.Encoder)
Encode encodes OtaUpdateStatus as json.
func (OptOtaUpdateStatus) Get ¶
func (o OptOtaUpdateStatus) Get() (v OtaUpdateStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOtaUpdateStatus) IsSet ¶
func (o OptOtaUpdateStatus) IsSet() bool
IsSet returns true if OptOtaUpdateStatus was set.
func (OptOtaUpdateStatus) MarshalJSON ¶
func (s OptOtaUpdateStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOtaUpdateStatus) Or ¶
func (o OptOtaUpdateStatus) Or(d OtaUpdateStatus) OtaUpdateStatus
Or returns value if set, or given parameter if does not.
func (*OptOtaUpdateStatus) SetFake ¶
func (s *OptOtaUpdateStatus) SetFake()
SetFake set fake values.
func (*OptOtaUpdateStatus) SetTo ¶
func (o *OptOtaUpdateStatus) SetTo(v OtaUpdateStatus)
SetTo sets value to v.
func (*OptOtaUpdateStatus) UnmarshalJSON ¶
func (s *OptOtaUpdateStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPasswordResetProcessData ¶
type OptPasswordResetProcessData struct { Value PasswordResetProcessData Set bool }
OptPasswordResetProcessData is optional PasswordResetProcessData.
func NewOptPasswordResetProcessData ¶
func NewOptPasswordResetProcessData(v PasswordResetProcessData) OptPasswordResetProcessData
NewOptPasswordResetProcessData returns new OptPasswordResetProcessData with value set to v.
func (*OptPasswordResetProcessData) Decode ¶
func (o *OptPasswordResetProcessData) Decode(d *jx.Decoder) error
Decode decodes PasswordResetProcessData from json.
func (OptPasswordResetProcessData) Encode ¶
func (o OptPasswordResetProcessData) Encode(e *jx.Encoder)
Encode encodes PasswordResetProcessData as json.
func (OptPasswordResetProcessData) Get ¶
func (o OptPasswordResetProcessData) Get() (v PasswordResetProcessData, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPasswordResetProcessData) IsSet ¶
func (o OptPasswordResetProcessData) IsSet() bool
IsSet returns true if OptPasswordResetProcessData was set.
func (OptPasswordResetProcessData) MarshalJSON ¶
func (s OptPasswordResetProcessData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptPasswordResetProcessData) Reset ¶
func (o *OptPasswordResetProcessData) Reset()
Reset unsets value.
func (*OptPasswordResetProcessData) SetFake ¶
func (s *OptPasswordResetProcessData) SetFake()
SetFake set fake values.
func (*OptPasswordResetProcessData) SetTo ¶
func (o *OptPasswordResetProcessData) SetTo(v PasswordResetProcessData)
SetTo sets value to v.
func (*OptPasswordResetProcessData) UnmarshalJSON ¶
func (s *OptPasswordResetProcessData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPauseRequest ¶
type OptPauseRequest struct { Value PauseRequest Set bool }
OptPauseRequest is optional PauseRequest.
func NewOptPauseRequest ¶
func NewOptPauseRequest(v PauseRequest) OptPauseRequest
NewOptPauseRequest returns new OptPauseRequest with value set to v.
func (*OptPauseRequest) Decode ¶
func (o *OptPauseRequest) Decode(d *jx.Decoder) error
Decode decodes PauseRequest from json.
func (OptPauseRequest) Encode ¶
func (o OptPauseRequest) Encode(e *jx.Encoder)
Encode encodes PauseRequest as json.
func (OptPauseRequest) Get ¶
func (o OptPauseRequest) Get() (v PauseRequest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPauseRequest) IsSet ¶
func (o OptPauseRequest) IsSet() bool
IsSet returns true if OptPauseRequest was set.
func (OptPauseRequest) MarshalJSON ¶
func (s OptPauseRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPauseRequest) Or ¶
func (o OptPauseRequest) Or(d PauseRequest) PauseRequest
Or returns value if set, or given parameter if does not.
func (*OptPauseRequest) SetTo ¶
func (o *OptPauseRequest) SetTo(v PauseRequest)
SetTo sets value to v.
func (*OptPauseRequest) UnmarshalJSON ¶
func (s *OptPauseRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPublicShareLinkResponse ¶
type OptPublicShareLinkResponse struct {}
OptPublicShareLinkResponse is optional PublicShareLinkResponse.
func NewOptPublicShareLinkResponse ¶
func NewOptPublicShareLinkResponse(v PublicShareLinkResponse) OptPublicShareLinkResponse
NewOptPublicShareLinkResponse returns new OptPublicShareLinkResponse with value set to v.
func (*OptPublicShareLinkResponse) Decode ¶
func (o *OptPublicShareLinkResponse) Decode(d *jx.Decoder) error
Decode decodes PublicShareLinkResponse from json.
func (OptPublicShareLinkResponse) Encode ¶
func (o OptPublicShareLinkResponse) Encode(e *jx.Encoder)
Encode encodes PublicShareLinkResponse as json.
func (OptPublicShareLinkResponse) Get ¶
func (o OptPublicShareLinkResponse) Get() (v PublicShareLinkResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPublicShareLinkResponse) IsSet ¶
func (o OptPublicShareLinkResponse) IsSet() bool
IsSet returns true if OptPublicShareLinkResponse was set.
func (OptPublicShareLinkResponse) MarshalJSON ¶
func (s OptPublicShareLinkResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptPublicShareLinkResponse) Reset ¶
func (o *OptPublicShareLinkResponse) Reset()
Reset unsets value.
func (*OptPublicShareLinkResponse) SetFake ¶
func (s *OptPublicShareLinkResponse) SetFake()
SetFake set fake values.
func (*OptPublicShareLinkResponse) SetTo ¶
func (o *OptPublicShareLinkResponse) SetTo(v PublicShareLinkResponse)
SetTo sets value to v.
func (*OptPublicShareLinkResponse) UnmarshalJSON ¶
func (s *OptPublicShareLinkResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRankType ¶
OptRankType is optional RankType.
func NewOptRankType ¶
func NewOptRankType(v RankType) OptRankType
NewOptRankType returns new OptRankType with value set to v.
func (*OptRankType) Decode ¶
func (o *OptRankType) Decode(d *jx.Decoder) error
Decode decodes RankType from json.
func (OptRankType) Encode ¶
func (o OptRankType) Encode(e *jx.Encoder)
Encode encodes RankType as json.
func (OptRankType) Get ¶
func (o OptRankType) Get() (v RankType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptRankType) IsSet ¶
func (o OptRankType) IsSet() bool
IsSet returns true if OptRankType was set.
func (OptRankType) MarshalJSON ¶
func (s OptRankType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptRankType) Or ¶
func (o OptRankType) Or(d RankType) RankType
Or returns value if set, or given parameter if does not.
func (*OptRankType) UnmarshalJSON ¶
func (s *OptRankType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptResetRequest ¶
type OptResetRequest struct { Value ResetRequest Set bool }
OptResetRequest is optional ResetRequest.
func NewOptResetRequest ¶
func NewOptResetRequest(v ResetRequest) OptResetRequest
NewOptResetRequest returns new OptResetRequest with value set to v.
func (*OptResetRequest) Decode ¶
func (o *OptResetRequest) Decode(d *jx.Decoder) error
Decode decodes ResetRequest from json.
func (OptResetRequest) Encode ¶
func (o OptResetRequest) Encode(e *jx.Encoder)
Encode encodes ResetRequest as json.
func (OptResetRequest) Get ¶
func (o OptResetRequest) Get() (v ResetRequest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptResetRequest) IsSet ¶
func (o OptResetRequest) IsSet() bool
IsSet returns true if OptResetRequest was set.
func (OptResetRequest) MarshalJSON ¶
func (s OptResetRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptResetRequest) Or ¶
func (o OptResetRequest) Or(d ResetRequest) ResetRequest
Or returns value if set, or given parameter if does not.
func (*OptResetRequest) SetTo ¶
func (o *OptResetRequest) SetTo(v ResetRequest)
SetTo sets value to v.
func (*OptResetRequest) UnmarshalJSON ¶
func (s *OptResetRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptResponseDeviceWithToken ¶
type OptResponseDeviceWithToken struct { Value ResponseDeviceWithToken Set bool }
OptResponseDeviceWithToken is optional ResponseDeviceWithToken.
func NewOptResponseDeviceWithToken ¶
func NewOptResponseDeviceWithToken(v ResponseDeviceWithToken) OptResponseDeviceWithToken
NewOptResponseDeviceWithToken returns new OptResponseDeviceWithToken with value set to v.
func (*OptResponseDeviceWithToken) Decode ¶
func (o *OptResponseDeviceWithToken) Decode(d *jx.Decoder) error
Decode decodes ResponseDeviceWithToken from json.
func (OptResponseDeviceWithToken) Encode ¶
func (o OptResponseDeviceWithToken) Encode(e *jx.Encoder)
Encode encodes ResponseDeviceWithToken as json.
func (OptResponseDeviceWithToken) Get ¶
func (o OptResponseDeviceWithToken) Get() (v ResponseDeviceWithToken, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptResponseDeviceWithToken) IsSet ¶
func (o OptResponseDeviceWithToken) IsSet() bool
IsSet returns true if OptResponseDeviceWithToken was set.
func (OptResponseDeviceWithToken) MarshalJSON ¶
func (s OptResponseDeviceWithToken) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptResponseDeviceWithToken) Reset ¶
func (o *OptResponseDeviceWithToken) Reset()
Reset unsets value.
func (*OptResponseDeviceWithToken) SetFake ¶
func (s *OptResponseDeviceWithToken) SetFake()
SetFake set fake values.
func (*OptResponseDeviceWithToken) SetTo ¶
func (o *OptResponseDeviceWithToken) SetTo(v ResponseDeviceWithToken)
SetTo sets value to v.
func (*OptResponseDeviceWithToken) UnmarshalJSON ¶
func (s *OptResponseDeviceWithToken) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRootResponse ¶
type OptRootResponse struct { Value RootResponse Set bool }
OptRootResponse is optional RootResponse.
func NewOptRootResponse ¶
func NewOptRootResponse(v RootResponse) OptRootResponse
NewOptRootResponse returns new OptRootResponse with value set to v.
func (*OptRootResponse) Decode ¶
func (o *OptRootResponse) Decode(d *jx.Decoder) error
Decode decodes RootResponse from json.
func (OptRootResponse) Encode ¶
func (o OptRootResponse) Encode(e *jx.Encoder)
Encode encodes RootResponse as json.
func (OptRootResponse) Get ¶
func (o OptRootResponse) Get() (v RootResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptRootResponse) IsSet ¶
func (o OptRootResponse) IsSet() bool
IsSet returns true if OptRootResponse was set.
func (OptRootResponse) MarshalJSON ¶
func (s OptRootResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptRootResponse) Or ¶
func (o OptRootResponse) Or(d RootResponse) RootResponse
Or returns value if set, or given parameter if does not.
func (*OptRootResponse) SetTo ¶
func (o *OptRootResponse) SetTo(v RootResponse)
SetTo sets value to v.
func (*OptRootResponse) UnmarshalJSON ¶
func (s *OptRootResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSelfResponse ¶
type OptSelfResponse struct { Value SelfResponse Set bool }
OptSelfResponse is optional SelfResponse.
func NewOptSelfResponse ¶
func NewOptSelfResponse(v SelfResponse) OptSelfResponse
NewOptSelfResponse returns new OptSelfResponse with value set to v.
func (*OptSelfResponse) Decode ¶
func (o *OptSelfResponse) Decode(d *jx.Decoder) error
Decode decodes SelfResponse from json.
func (OptSelfResponse) Encode ¶
func (o OptSelfResponse) Encode(e *jx.Encoder)
Encode encodes SelfResponse as json.
func (OptSelfResponse) Get ¶
func (o OptSelfResponse) Get() (v SelfResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSelfResponse) IsSet ¶
func (o OptSelfResponse) IsSet() bool
IsSet returns true if OptSelfResponse was set.
func (OptSelfResponse) MarshalJSON ¶
func (s OptSelfResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSelfResponse) Or ¶
func (o OptSelfResponse) Or(d SelfResponse) SelfResponse
Or returns value if set, or given parameter if does not.
func (*OptSelfResponse) SetTo ¶
func (o *OptSelfResponse) SetTo(v SelfResponse)
SetTo sets value to v.
func (*OptSelfResponse) UnmarshalJSON ¶
func (s *OptSelfResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptShareLinkCreate ¶
type OptShareLinkCreate struct {}
OptShareLinkCreate is optional ShareLinkCreate.
func NewOptShareLinkCreate ¶
func NewOptShareLinkCreate(v ShareLinkCreate) OptShareLinkCreate
NewOptShareLinkCreate returns new OptShareLinkCreate with value set to v.
func (*OptShareLinkCreate) Decode ¶
func (o *OptShareLinkCreate) Decode(d *jx.Decoder) error
Decode decodes ShareLinkCreate from json.
func (OptShareLinkCreate) Encode ¶
func (o OptShareLinkCreate) Encode(e *jx.Encoder)
Encode encodes ShareLinkCreate as json.
func (OptShareLinkCreate) Get ¶
func (o OptShareLinkCreate) Get() (v ShareLinkCreate, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptShareLinkCreate) IsSet ¶
func (o OptShareLinkCreate) IsSet() bool
IsSet returns true if OptShareLinkCreate was set.
func (OptShareLinkCreate) MarshalJSON ¶
func (s OptShareLinkCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptShareLinkCreate) Or ¶
func (o OptShareLinkCreate) Or(d ShareLinkCreate) ShareLinkCreate
Or returns value if set, or given parameter if does not.
func (*OptShareLinkCreate) SetFake ¶
func (s *OptShareLinkCreate) SetFake()
SetFake set fake values.
func (*OptShareLinkCreate) SetTo ¶
func (o *OptShareLinkCreate) SetTo(v ShareLinkCreate)
SetTo sets value to v.
func (*OptShareLinkCreate) UnmarshalJSON ¶
func (s *OptShareLinkCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptShareLinkEditShocker ¶
type OptShareLinkEditShocker struct {}
OptShareLinkEditShocker is optional ShareLinkEditShocker.
func NewOptShareLinkEditShocker ¶
func NewOptShareLinkEditShocker(v ShareLinkEditShocker) OptShareLinkEditShocker
NewOptShareLinkEditShocker returns new OptShareLinkEditShocker with value set to v.
func (*OptShareLinkEditShocker) Decode ¶
func (o *OptShareLinkEditShocker) Decode(d *jx.Decoder) error
Decode decodes ShareLinkEditShocker from json.
func (OptShareLinkEditShocker) Encode ¶
func (o OptShareLinkEditShocker) Encode(e *jx.Encoder)
Encode encodes ShareLinkEditShocker as json.
func (OptShareLinkEditShocker) Get ¶
func (o OptShareLinkEditShocker) Get() (v ShareLinkEditShocker, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptShareLinkEditShocker) IsSet ¶
func (o OptShareLinkEditShocker) IsSet() bool
IsSet returns true if OptShareLinkEditShocker was set.
func (OptShareLinkEditShocker) MarshalJSON ¶
func (s OptShareLinkEditShocker) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptShareLinkEditShocker) Or ¶
func (o OptShareLinkEditShocker) Or(d ShareLinkEditShocker) ShareLinkEditShocker
Or returns value if set, or given parameter if does not.
func (*OptShareLinkEditShocker) Reset ¶
func (o *OptShareLinkEditShocker) Reset()
Reset unsets value.
func (*OptShareLinkEditShocker) SetFake ¶
func (s *OptShareLinkEditShocker) SetFake()
SetFake set fake values.
func (*OptShareLinkEditShocker) SetTo ¶
func (o *OptShareLinkEditShocker) SetTo(v ShareLinkEditShocker)
SetTo sets value to v.
func (*OptShareLinkEditShocker) UnmarshalJSON ¶
func (s *OptShareLinkEditShocker) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptShareLinkResponse ¶
type OptShareLinkResponse struct {}
OptShareLinkResponse is optional ShareLinkResponse.
func NewOptShareLinkResponse ¶
func NewOptShareLinkResponse(v ShareLinkResponse) OptShareLinkResponse
NewOptShareLinkResponse returns new OptShareLinkResponse with value set to v.
func (*OptShareLinkResponse) Decode ¶
func (o *OptShareLinkResponse) Decode(d *jx.Decoder) error
Decode decodes ShareLinkResponse from json.
func (OptShareLinkResponse) Encode ¶
func (o OptShareLinkResponse) Encode(e *jx.Encoder)
Encode encodes ShareLinkResponse as json.
func (OptShareLinkResponse) Get ¶
func (o OptShareLinkResponse) Get() (v ShareLinkResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptShareLinkResponse) IsSet ¶
func (o OptShareLinkResponse) IsSet() bool
IsSet returns true if OptShareLinkResponse was set.
func (OptShareLinkResponse) MarshalJSON ¶
func (s OptShareLinkResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptShareLinkResponse) Or ¶
func (o OptShareLinkResponse) Or(d ShareLinkResponse) ShareLinkResponse
Or returns value if set, or given parameter if does not.
func (*OptShareLinkResponse) SetFake ¶
func (s *OptShareLinkResponse) SetFake()
SetFake set fake values.
func (*OptShareLinkResponse) SetTo ¶
func (o *OptShareLinkResponse) SetTo(v ShareLinkResponse)
SetTo sets value to v.
func (*OptShareLinkResponse) UnmarshalJSON ¶
func (s *OptShareLinkResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptShockerLimits ¶
type OptShockerLimits struct { Value ShockerLimits Set bool }
OptShockerLimits is optional ShockerLimits.
func NewOptShockerLimits ¶
func NewOptShockerLimits(v ShockerLimits) OptShockerLimits
NewOptShockerLimits returns new OptShockerLimits with value set to v.
func (*OptShockerLimits) Decode ¶
func (o *OptShockerLimits) Decode(d *jx.Decoder) error
Decode decodes ShockerLimits from json.
func (OptShockerLimits) Encode ¶
func (o OptShockerLimits) Encode(e *jx.Encoder)
Encode encodes ShockerLimits as json.
func (OptShockerLimits) Get ¶
func (o OptShockerLimits) Get() (v ShockerLimits, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptShockerLimits) IsSet ¶
func (o OptShockerLimits) IsSet() bool
IsSet returns true if OptShockerLimits was set.
func (OptShockerLimits) MarshalJSON ¶
func (s OptShockerLimits) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptShockerLimits) Or ¶
func (o OptShockerLimits) Or(d ShockerLimits) ShockerLimits
Or returns value if set, or given parameter if does not.
func (*OptShockerLimits) SetTo ¶
func (o *OptShockerLimits) SetTo(v ShockerLimits)
SetTo sets value to v.
func (*OptShockerLimits) UnmarshalJSON ¶
func (s *OptShockerLimits) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptShockerModelType ¶
type OptShockerModelType struct { Value ShockerModelType Set bool }
OptShockerModelType is optional ShockerModelType.
func NewOptShockerModelType ¶
func NewOptShockerModelType(v ShockerModelType) OptShockerModelType
NewOptShockerModelType returns new OptShockerModelType with value set to v.
func (*OptShockerModelType) Decode ¶
func (o *OptShockerModelType) Decode(d *jx.Decoder) error
Decode decodes ShockerModelType from json.
func (OptShockerModelType) Encode ¶
func (o OptShockerModelType) Encode(e *jx.Encoder)
Encode encodes ShockerModelType as json.
func (OptShockerModelType) Get ¶
func (o OptShockerModelType) Get() (v ShockerModelType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptShockerModelType) IsSet ¶
func (o OptShockerModelType) IsSet() bool
IsSet returns true if OptShockerModelType was set.
func (OptShockerModelType) MarshalJSON ¶
func (s OptShockerModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptShockerModelType) Or ¶
func (o OptShockerModelType) Or(d ShockerModelType) ShockerModelType
Or returns value if set, or given parameter if does not.
func (*OptShockerModelType) SetFake ¶
func (s *OptShockerModelType) SetFake()
SetFake set fake values.
func (*OptShockerModelType) SetTo ¶
func (o *OptShockerModelType) SetTo(v ShockerModelType)
SetTo sets value to v.
func (*OptShockerModelType) UnmarshalJSON ¶
func (s *OptShockerModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptShockerPermissions ¶
type OptShockerPermissions struct { Value ShockerPermissions Set bool }
OptShockerPermissions is optional ShockerPermissions.
func NewOptShockerPermissions ¶
func NewOptShockerPermissions(v ShockerPermissions) OptShockerPermissions
NewOptShockerPermissions returns new OptShockerPermissions with value set to v.
func (*OptShockerPermissions) Decode ¶
func (o *OptShockerPermissions) Decode(d *jx.Decoder) error
Decode decodes ShockerPermissions from json.
func (OptShockerPermissions) Encode ¶
func (o OptShockerPermissions) Encode(e *jx.Encoder)
Encode encodes ShockerPermissions as json.
func (OptShockerPermissions) Get ¶
func (o OptShockerPermissions) Get() (v ShockerPermissions, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptShockerPermissions) IsSet ¶
func (o OptShockerPermissions) IsSet() bool
IsSet returns true if OptShockerPermissions was set.
func (OptShockerPermissions) MarshalJSON ¶
func (s OptShockerPermissions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptShockerPermissions) Or ¶
func (o OptShockerPermissions) Or(d ShockerPermissions) ShockerPermissions
Or returns value if set, or given parameter if does not.
func (*OptShockerPermissions) SetFake ¶
func (s *OptShockerPermissions) SetFake()
SetFake set fake values.
func (*OptShockerPermissions) SetTo ¶
func (o *OptShockerPermissions) SetTo(v ShockerPermissions)
SetTo sets value to v.
func (*OptShockerPermissions) UnmarshalJSON ¶
func (s *OptShockerPermissions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptShockerWithDevice ¶
type OptShockerWithDevice struct { Value ShockerWithDevice Set bool }
OptShockerWithDevice is optional ShockerWithDevice.
func NewOptShockerWithDevice ¶
func NewOptShockerWithDevice(v ShockerWithDevice) OptShockerWithDevice
NewOptShockerWithDevice returns new OptShockerWithDevice with value set to v.
func (*OptShockerWithDevice) Decode ¶
func (o *OptShockerWithDevice) Decode(d *jx.Decoder) error
Decode decodes ShockerWithDevice from json.
func (OptShockerWithDevice) Encode ¶
func (o OptShockerWithDevice) Encode(e *jx.Encoder)
Encode encodes ShockerWithDevice as json.
func (OptShockerWithDevice) Get ¶
func (o OptShockerWithDevice) Get() (v ShockerWithDevice, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptShockerWithDevice) IsSet ¶
func (o OptShockerWithDevice) IsSet() bool
IsSet returns true if OptShockerWithDevice was set.
func (OptShockerWithDevice) MarshalJSON ¶
func (s OptShockerWithDevice) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptShockerWithDevice) Or ¶
func (o OptShockerWithDevice) Or(d ShockerWithDevice) ShockerWithDevice
Or returns value if set, or given parameter if does not.
func (*OptShockerWithDevice) SetFake ¶
func (s *OptShockerWithDevice) SetFake()
SetFake set fake values.
func (*OptShockerWithDevice) SetTo ¶
func (o *OptShockerWithDevice) SetTo(v ShockerWithDevice)
SetTo sets value to v.
func (*OptShockerWithDevice) UnmarshalJSON ¶
func (s *OptShockerWithDevice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSignUp ¶
OptSignUp is optional SignUp.
func NewOptSignUp ¶
NewOptSignUp returns new OptSignUp with value set to v.
func (OptSignUp) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptSignUp) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSignUpV2 ¶
OptSignUpV2 is optional SignUpV2.
func NewOptSignUpV2 ¶
func NewOptSignUpV2(v SignUpV2) OptSignUpV2
NewOptSignUpV2 returns new OptSignUpV2 with value set to v.
func (*OptSignUpV2) Decode ¶
func (o *OptSignUpV2) Decode(d *jx.Decoder) error
Decode decodes SignUpV2 from json.
func (OptSignUpV2) Encode ¶
func (o OptSignUpV2) Encode(e *jx.Encoder)
Encode encodes SignUpV2 as json.
func (OptSignUpV2) Get ¶
func (o OptSignUpV2) Get() (v SignUpV2, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSignUpV2) IsSet ¶
func (o OptSignUpV2) IsSet() bool
IsSet returns true if OptSignUpV2 was set.
func (OptSignUpV2) MarshalJSON ¶
func (s OptSignUpV2) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSignUpV2) Or ¶
func (o OptSignUpV2) Or(d SignUpV2) SignUpV2
Or returns value if set, or given parameter if does not.
func (*OptSignUpV2) UnmarshalJSON ¶
func (s *OptSignUpV2) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStatsResponse ¶
type OptStatsResponse struct { Value StatsResponse Set bool }
OptStatsResponse is optional StatsResponse.
func NewOptStatsResponse ¶
func NewOptStatsResponse(v StatsResponse) OptStatsResponse
NewOptStatsResponse returns new OptStatsResponse with value set to v.
func (*OptStatsResponse) Decode ¶
func (o *OptStatsResponse) Decode(d *jx.Decoder) error
Decode decodes StatsResponse from json.
func (OptStatsResponse) Encode ¶
func (o OptStatsResponse) Encode(e *jx.Encoder)
Encode encodes StatsResponse as json.
func (OptStatsResponse) Get ¶
func (o OptStatsResponse) Get() (v StatsResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStatsResponse) IsSet ¶
func (o OptStatsResponse) IsSet() bool
IsSet returns true if OptStatsResponse was set.
func (OptStatsResponse) MarshalJSON ¶
func (s OptStatsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStatsResponse) Or ¶
func (o OptStatsResponse) Or(d StatsResponse) StatsResponse
Or returns value if set, or given parameter if does not.
func (*OptStatsResponse) SetTo ¶
func (o *OptStatsResponse) SetTo(v StatsResponse)
SetTo sets value to v.
func (*OptStatsResponse) UnmarshalJSON ¶
func (s *OptStatsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTokenResponse ¶
type OptTokenResponse struct { Value TokenResponse Set bool }
OptTokenResponse is optional TokenResponse.
func NewOptTokenResponse ¶
func NewOptTokenResponse(v TokenResponse) OptTokenResponse
NewOptTokenResponse returns new OptTokenResponse with value set to v.
func (*OptTokenResponse) Decode ¶
func (o *OptTokenResponse) Decode(d *jx.Decoder) error
Decode decodes TokenResponse from json.
func (OptTokenResponse) Encode ¶
func (o OptTokenResponse) Encode(e *jx.Encoder)
Encode encodes TokenResponse as json.
func (OptTokenResponse) Get ¶
func (o OptTokenResponse) Get() (v TokenResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTokenResponse) IsSet ¶
func (o OptTokenResponse) IsSet() bool
IsSet returns true if OptTokenResponse was set.
func (OptTokenResponse) MarshalJSON ¶
func (s OptTokenResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTokenResponse) Or ¶
func (o OptTokenResponse) Or(d TokenResponse) TokenResponse
Or returns value if set, or given parameter if does not.
func (*OptTokenResponse) SetTo ¶
func (o *OptTokenResponse) SetTo(v TokenResponse)
SetTo sets value to v.
func (*OptTokenResponse) UnmarshalJSON ¶
func (s *OptTokenResponse) UnmarshalJSON(data []byte) error
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 OtaItem ¶
type OtaItem struct { ID OptInt32 `json:"id"` StartedAt OptDateTime `json:"startedAt"` Status OptOtaUpdateStatus `json:"status"` Version OptNilString `json:"version"` Message OptNilString `json:"message"` }
Ref: #/components/schemas/OtaItem
func (*OtaItem) GetMessage ¶
func (s *OtaItem) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*OtaItem) GetStartedAt ¶
func (s *OtaItem) GetStartedAt() OptDateTime
GetStartedAt returns the value of StartedAt.
func (*OtaItem) GetStatus ¶
func (s *OtaItem) GetStatus() OptOtaUpdateStatus
GetStatus returns the value of Status.
func (*OtaItem) GetVersion ¶
func (s *OtaItem) GetVersion() OptNilString
GetVersion returns the value of Version.
func (*OtaItem) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OtaItem) SetMessage ¶
func (s *OtaItem) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*OtaItem) SetStartedAt ¶
func (s *OtaItem) SetStartedAt(val OptDateTime)
SetStartedAt sets the value of StartedAt.
func (*OtaItem) SetStatus ¶
func (s *OtaItem) SetStatus(val OptOtaUpdateStatus)
SetStatus sets the value of Status.
func (*OtaItem) SetVersion ¶
func (s *OtaItem) SetVersion(val OptNilString)
SetVersion sets the value of Version.
func (*OtaItem) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OtaItemIReadOnlyCollectionBaseResponse ¶
type OtaItemIReadOnlyCollectionBaseResponse struct { Message OptNilString `json:"message"` Data OptNilOtaItemArray `json:"data"` }
Ref: #/components/schemas/OtaItemIReadOnlyCollectionBaseResponse
func (*OtaItemIReadOnlyCollectionBaseResponse) Decode ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) Decode(d *jx.Decoder) error
Decode decodes OtaItemIReadOnlyCollectionBaseResponse from json.
func (*OtaItemIReadOnlyCollectionBaseResponse) Encode ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OtaItemIReadOnlyCollectionBaseResponse) GetData ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) GetData() OptNilOtaItemArray
GetData returns the value of Data.
func (*OtaItemIReadOnlyCollectionBaseResponse) GetMessage ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*OtaItemIReadOnlyCollectionBaseResponse) MarshalJSON ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OtaItemIReadOnlyCollectionBaseResponse) SetData ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) SetData(val OptNilOtaItemArray)
SetData sets the value of Data.
func (*OtaItemIReadOnlyCollectionBaseResponse) SetFake ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) SetFake()
SetFake set fake values.
func (*OtaItemIReadOnlyCollectionBaseResponse) SetMessage ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*OtaItemIReadOnlyCollectionBaseResponse) UnmarshalJSON ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OtaItemIReadOnlyCollectionBaseResponse) Validate ¶
func (s *OtaItemIReadOnlyCollectionBaseResponse) Validate() error
type OtaUpdateStatus ¶
type OtaUpdateStatus string
Ref: #/components/schemas/OtaUpdateStatus
const ( OtaUpdateStatusStarted OtaUpdateStatus = "Started" OtaUpdateStatusRunning OtaUpdateStatus = "Running" OtaUpdateStatusFinished OtaUpdateStatus = "Finished" OtaUpdateStatusError OtaUpdateStatus = "Error" OtaUpdateStatusTimeout OtaUpdateStatus = "Timeout" )
func (OtaUpdateStatus) AllValues ¶
func (OtaUpdateStatus) AllValues() []OtaUpdateStatus
AllValues returns all OtaUpdateStatus values.
func (*OtaUpdateStatus) Decode ¶
func (s *OtaUpdateStatus) Decode(d *jx.Decoder) error
Decode decodes OtaUpdateStatus from json.
func (OtaUpdateStatus) Encode ¶
func (s OtaUpdateStatus) Encode(e *jx.Encoder)
Encode encodes OtaUpdateStatus as json.
func (OtaUpdateStatus) MarshalJSON ¶
func (s OtaUpdateStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OtaUpdateStatus) MarshalText ¶
func (s OtaUpdateStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OtaUpdateStatus) UnmarshalJSON ¶
func (s *OtaUpdateStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OtaUpdateStatus) UnmarshalText ¶
func (s *OtaUpdateStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OtaUpdateStatus) Validate ¶
func (s OtaUpdateStatus) Validate() error
type OwnerShockerResponse ¶
type OwnerShockerResponse struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` Devices OptNilSharedDeviceArray `json:"devices"` }
Ref: #/components/schemas/OwnerShockerResponse
func (*OwnerShockerResponse) Decode ¶
func (s *OwnerShockerResponse) Decode(d *jx.Decoder) error
Decode decodes OwnerShockerResponse from json.
func (*OwnerShockerResponse) Encode ¶
func (s *OwnerShockerResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OwnerShockerResponse) GetDevices ¶
func (s *OwnerShockerResponse) GetDevices() OptNilSharedDeviceArray
GetDevices returns the value of Devices.
func (*OwnerShockerResponse) GetID ¶
func (s *OwnerShockerResponse) GetID() OptUUID
GetID returns the value of ID.
func (*OwnerShockerResponse) GetName ¶
func (s *OwnerShockerResponse) GetName() OptNilString
GetName returns the value of Name.
func (*OwnerShockerResponse) MarshalJSON ¶
func (s *OwnerShockerResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OwnerShockerResponse) SetDevices ¶
func (s *OwnerShockerResponse) SetDevices(val OptNilSharedDeviceArray)
SetDevices sets the value of Devices.
func (*OwnerShockerResponse) SetFake ¶
func (s *OwnerShockerResponse) SetFake()
SetFake set fake values.
func (*OwnerShockerResponse) SetID ¶
func (s *OwnerShockerResponse) SetID(val OptUUID)
SetID sets the value of ID.
func (*OwnerShockerResponse) SetName ¶
func (s *OwnerShockerResponse) SetName(val OptNilString)
SetName sets the value of Name.
func (*OwnerShockerResponse) UnmarshalJSON ¶
func (s *OwnerShockerResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OwnerShockerResponse) Validate ¶
func (s *OwnerShockerResponse) Validate() error
type OwnerShockerResponseIEnumerableIEnumerableBaseResponse ¶
type OwnerShockerResponseIEnumerableIEnumerableBaseResponse struct { Message OptNilString `json:"message"` Data OptNilOwnerShockerResponseArrayArray `json:"data"` }
Ref: #/components/schemas/OwnerShockerResponseIEnumerableIEnumerableBaseResponse
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Decode ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes OwnerShockerResponseIEnumerableIEnumerableBaseResponse from json.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Encode ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) GetData ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) GetData() OptNilOwnerShockerResponseArrayArray
GetData returns the value of Data.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) GetMessage ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) MarshalJSON ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetData ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetData(val OptNilOwnerShockerResponseArrayArray)
SetData sets the value of Data.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetFake ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetMessage ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Validate ¶
func (s *OwnerShockerResponseIEnumerableIEnumerableBaseResponse) Validate() error
type PasswordResetProcessData ¶
type PasswordResetProcessData struct {
Password OptNilString `json:"password"`
}
Ref: #/components/schemas/PasswordResetProcessData
func (*PasswordResetProcessData) Decode ¶
func (s *PasswordResetProcessData) Decode(d *jx.Decoder) error
Decode decodes PasswordResetProcessData from json.
func (*PasswordResetProcessData) Encode ¶
func (s *PasswordResetProcessData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasswordResetProcessData) GetPassword ¶
func (s *PasswordResetProcessData) GetPassword() OptNilString
GetPassword returns the value of Password.
func (*PasswordResetProcessData) MarshalJSON ¶
func (s *PasswordResetProcessData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasswordResetProcessData) SetFake ¶
func (s *PasswordResetProcessData) SetFake()
SetFake set fake values.
func (*PasswordResetProcessData) SetPassword ¶
func (s *PasswordResetProcessData) SetPassword(val OptNilString)
SetPassword sets the value of Password.
func (*PasswordResetProcessData) UnmarshalJSON ¶
func (s *PasswordResetProcessData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PauseReasonBaseResponse ¶
type PauseReasonBaseResponse struct { Message OptNilString `json:"message"` // An integer representing the reason(s) for the shocker being paused, expressed as a bitfield where // reasons are OR'd together. // Each bit corresponds to: // - 1: Shocker // - 2: Share // - 4: ShareLink // For example, a value of 6 (2 | 4) indicates both 'Share' and 'ShareLink' reasons. Data OptInt `json:"data"` }
Ref: #/components/schemas/PauseReasonBaseResponse
func (*PauseReasonBaseResponse) Decode ¶
func (s *PauseReasonBaseResponse) Decode(d *jx.Decoder) error
Decode decodes PauseReasonBaseResponse from json.
func (*PauseReasonBaseResponse) Encode ¶
func (s *PauseReasonBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PauseReasonBaseResponse) GetData ¶
func (s *PauseReasonBaseResponse) GetData() OptInt
GetData returns the value of Data.
func (*PauseReasonBaseResponse) GetMessage ¶
func (s *PauseReasonBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*PauseReasonBaseResponse) MarshalJSON ¶
func (s *PauseReasonBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PauseReasonBaseResponse) SetData ¶
func (s *PauseReasonBaseResponse) SetData(val OptInt)
SetData sets the value of Data.
func (*PauseReasonBaseResponse) SetFake ¶
func (s *PauseReasonBaseResponse) SetFake()
SetFake set fake values.
func (*PauseReasonBaseResponse) SetMessage ¶
func (s *PauseReasonBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*PauseReasonBaseResponse) UnmarshalJSON ¶
func (s *PauseReasonBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PauseRequest ¶
type PauseRequest struct {
Pause OptBool `json:"pause"`
}
Ref: #/components/schemas/PauseRequest
func (*PauseRequest) Decode ¶
func (s *PauseRequest) Decode(d *jx.Decoder) error
Decode decodes PauseRequest from json.
func (*PauseRequest) Encode ¶
func (s *PauseRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PauseRequest) GetPause ¶
func (s *PauseRequest) GetPause() OptBool
GetPause returns the value of Pause.
func (*PauseRequest) MarshalJSON ¶
func (s *PauseRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PauseRequest) SetPause ¶
func (s *PauseRequest) SetPause(val OptBool)
SetPause sets the value of Pause.
func (*PauseRequest) UnmarshalJSON ¶
func (s *PauseRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PermissionType ¶
type PermissionType string
Ref: #/components/schemas/PermissionType
const (
PermissionTypeShockersUse PermissionType = "Shockers_Use"
)
func (PermissionType) AllValues ¶
func (PermissionType) AllValues() []PermissionType
AllValues returns all PermissionType values.
func (*PermissionType) Decode ¶
func (s *PermissionType) Decode(d *jx.Decoder) error
Decode decodes PermissionType from json.
func (PermissionType) Encode ¶
func (s PermissionType) Encode(e *jx.Encoder)
Encode encodes PermissionType as json.
func (PermissionType) MarshalJSON ¶
func (s PermissionType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PermissionType) MarshalText ¶
func (s PermissionType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PermissionType) UnmarshalJSON ¶
func (s *PermissionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PermissionType) UnmarshalText ¶
func (s *PermissionType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PermissionType) Validate ¶
func (s PermissionType) Validate() error
type PublicGetShareLinkParams ¶
type PublicGetShareLinkParams struct {
}PublicGetShareLinkParams is parameters of Public_GetShareLink operation.
type PublicGetShareLinkRes ¶
type PublicGetShareLinkRes interface {
// contains filtered or unexported methods
}
type PublicShareLinkResponse ¶
type PublicShareLinkResponse struct {}
Ref: #/components/schemas/PublicShareLinkResponse
func (*PublicShareLinkResponse) Decode ¶
func (s *PublicShareLinkResponse) Decode(d *jx.Decoder) error
Decode decodes PublicShareLinkResponse from json.
func (*PublicShareLinkResponse) Encode ¶
func (s *PublicShareLinkResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PublicShareLinkResponse) GetAuthor ¶
func (s *PublicShareLinkResponse) GetAuthor() OptGenericIni
GetAuthor returns the value of Author.
func (*PublicShareLinkResponse) GetCreatedOn ¶
func (s *PublicShareLinkResponse) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*PublicShareLinkResponse) GetDevices ¶
func (s *PublicShareLinkResponse) GetDevices() OptNilShareLinkDeviceArray
GetDevices returns the value of Devices.
func (*PublicShareLinkResponse) GetExpiresOn ¶
func (s *PublicShareLinkResponse) GetExpiresOn() OptNilDateTime
GetExpiresOn returns the value of ExpiresOn.
func (*PublicShareLinkResponse) GetID ¶
func (s *PublicShareLinkResponse) GetID() OptUUID
GetID returns the value of ID.
func (*PublicShareLinkResponse) GetName ¶
func (s *PublicShareLinkResponse) GetName() OptNilString
GetName returns the value of Name.
func (*PublicShareLinkResponse) MarshalJSON ¶
func (s *PublicShareLinkResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PublicShareLinkResponse) SetAuthor ¶
func (s *PublicShareLinkResponse) SetAuthor(val OptGenericIni)
SetAuthor sets the value of Author.
func (*PublicShareLinkResponse) SetCreatedOn ¶
func (s *PublicShareLinkResponse) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*PublicShareLinkResponse) SetDevices ¶
func (s *PublicShareLinkResponse) SetDevices(val OptNilShareLinkDeviceArray)
SetDevices sets the value of Devices.
func (*PublicShareLinkResponse) SetExpiresOn ¶
func (s *PublicShareLinkResponse) SetExpiresOn(val OptNilDateTime)
SetExpiresOn sets the value of ExpiresOn.
func (*PublicShareLinkResponse) SetFake ¶
func (s *PublicShareLinkResponse) SetFake()
SetFake set fake values.
func (*PublicShareLinkResponse) SetID ¶
func (s *PublicShareLinkResponse) SetID(val OptUUID)
SetID sets the value of ID.
func (*PublicShareLinkResponse) SetName ¶
func (s *PublicShareLinkResponse) SetName(val OptNilString)
SetName sets the value of Name.
func (*PublicShareLinkResponse) UnmarshalJSON ¶
func (s *PublicShareLinkResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PublicShareLinkResponse) Validate ¶
func (s *PublicShareLinkResponse) Validate() error
type PublicShareLinkResponseBaseResponse ¶
type PublicShareLinkResponseBaseResponse struct {}
Ref: #/components/schemas/PublicShareLinkResponseBaseResponse
func (*PublicShareLinkResponseBaseResponse) Decode ¶
func (s *PublicShareLinkResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes PublicShareLinkResponseBaseResponse from json.
func (*PublicShareLinkResponseBaseResponse) Encode ¶
func (s *PublicShareLinkResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PublicShareLinkResponseBaseResponse) GetData ¶
func (s *PublicShareLinkResponseBaseResponse) GetData() OptPublicShareLinkResponse
GetData returns the value of Data.
func (*PublicShareLinkResponseBaseResponse) GetMessage ¶
func (s *PublicShareLinkResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*PublicShareLinkResponseBaseResponse) MarshalJSON ¶
func (s *PublicShareLinkResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PublicShareLinkResponseBaseResponse) SetData ¶
func (s *PublicShareLinkResponseBaseResponse) SetData(val OptPublicShareLinkResponse)
SetData sets the value of Data.
func (*PublicShareLinkResponseBaseResponse) SetFake ¶
func (s *PublicShareLinkResponseBaseResponse) SetFake()
SetFake set fake values.
func (*PublicShareLinkResponseBaseResponse) SetMessage ¶
func (s *PublicShareLinkResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*PublicShareLinkResponseBaseResponse) UnmarshalJSON ¶
func (s *PublicShareLinkResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PublicShareLinkResponseBaseResponse) Validate ¶
func (s *PublicShareLinkResponseBaseResponse) Validate() error
type RankType ¶
type RankType string
Ref: #/components/schemas/RankType
func (RankType) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (RankType) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*RankType) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RankType) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type ResetRequest ¶
type ResetRequest struct {
Email OptNilString `json:"email"`
}
Ref: #/components/schemas/ResetRequest
func (*ResetRequest) Decode ¶
func (s *ResetRequest) Decode(d *jx.Decoder) error
Decode decodes ResetRequest from json.
func (*ResetRequest) Encode ¶
func (s *ResetRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResetRequest) GetEmail ¶
func (s *ResetRequest) GetEmail() OptNilString
GetEmail returns the value of Email.
func (*ResetRequest) MarshalJSON ¶
func (s *ResetRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResetRequest) SetEmail ¶
func (s *ResetRequest) SetEmail(val OptNilString)
SetEmail sets the value of Email.
func (*ResetRequest) UnmarshalJSON ¶
func (s *ResetRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResponseDevice ¶
type ResponseDevice struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` CreatedOn OptDateTime `json:"createdOn"` }
Ref: #/components/schemas/ResponseDevice
func (*ResponseDevice) Decode ¶
func (s *ResponseDevice) Decode(d *jx.Decoder) error
Decode decodes ResponseDevice from json.
func (*ResponseDevice) Encode ¶
func (s *ResponseDevice) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResponseDevice) GetCreatedOn ¶
func (s *ResponseDevice) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*ResponseDevice) GetID ¶
func (s *ResponseDevice) GetID() OptUUID
GetID returns the value of ID.
func (*ResponseDevice) GetName ¶
func (s *ResponseDevice) GetName() OptNilString
GetName returns the value of Name.
func (*ResponseDevice) MarshalJSON ¶
func (s *ResponseDevice) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResponseDevice) SetCreatedOn ¶
func (s *ResponseDevice) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*ResponseDevice) SetID ¶
func (s *ResponseDevice) SetID(val OptUUID)
SetID sets the value of ID.
func (*ResponseDevice) SetName ¶
func (s *ResponseDevice) SetName(val OptNilString)
SetName sets the value of Name.
func (*ResponseDevice) UnmarshalJSON ¶
func (s *ResponseDevice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResponseDeviceIEnumerableBaseResponse ¶
type ResponseDeviceIEnumerableBaseResponse struct { Message OptNilString `json:"message"` Data OptNilResponseDeviceArray `json:"data"` }
Ref: #/components/schemas/ResponseDeviceIEnumerableBaseResponse
func (*ResponseDeviceIEnumerableBaseResponse) Decode ¶
func (s *ResponseDeviceIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ResponseDeviceIEnumerableBaseResponse from json.
func (*ResponseDeviceIEnumerableBaseResponse) Encode ¶
func (s *ResponseDeviceIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResponseDeviceIEnumerableBaseResponse) GetData ¶
func (s *ResponseDeviceIEnumerableBaseResponse) GetData() OptNilResponseDeviceArray
GetData returns the value of Data.
func (*ResponseDeviceIEnumerableBaseResponse) GetMessage ¶
func (s *ResponseDeviceIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ResponseDeviceIEnumerableBaseResponse) MarshalJSON ¶
func (s *ResponseDeviceIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResponseDeviceIEnumerableBaseResponse) SetData ¶
func (s *ResponseDeviceIEnumerableBaseResponse) SetData(val OptNilResponseDeviceArray)
SetData sets the value of Data.
func (*ResponseDeviceIEnumerableBaseResponse) SetFake ¶
func (s *ResponseDeviceIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*ResponseDeviceIEnumerableBaseResponse) SetMessage ¶
func (s *ResponseDeviceIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ResponseDeviceIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *ResponseDeviceIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResponseDeviceIEnumerableBaseResponse) Validate ¶
func (s *ResponseDeviceIEnumerableBaseResponse) Validate() error
type ResponseDeviceWithShockers ¶
type ResponseDeviceWithShockers struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` CreatedOn OptDateTime `json:"createdOn"` Shockers OptNilShockerResponseArray `json:"shockers"` }
Ref: #/components/schemas/ResponseDeviceWithShockers
func (*ResponseDeviceWithShockers) Decode ¶
func (s *ResponseDeviceWithShockers) Decode(d *jx.Decoder) error
Decode decodes ResponseDeviceWithShockers from json.
func (*ResponseDeviceWithShockers) Encode ¶
func (s *ResponseDeviceWithShockers) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResponseDeviceWithShockers) GetCreatedOn ¶
func (s *ResponseDeviceWithShockers) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*ResponseDeviceWithShockers) GetID ¶
func (s *ResponseDeviceWithShockers) GetID() OptUUID
GetID returns the value of ID.
func (*ResponseDeviceWithShockers) GetName ¶
func (s *ResponseDeviceWithShockers) GetName() OptNilString
GetName returns the value of Name.
func (*ResponseDeviceWithShockers) GetShockers ¶
func (s *ResponseDeviceWithShockers) GetShockers() OptNilShockerResponseArray
GetShockers returns the value of Shockers.
func (*ResponseDeviceWithShockers) MarshalJSON ¶
func (s *ResponseDeviceWithShockers) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResponseDeviceWithShockers) SetCreatedOn ¶
func (s *ResponseDeviceWithShockers) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*ResponseDeviceWithShockers) SetFake ¶
func (s *ResponseDeviceWithShockers) SetFake()
SetFake set fake values.
func (*ResponseDeviceWithShockers) SetID ¶
func (s *ResponseDeviceWithShockers) SetID(val OptUUID)
SetID sets the value of ID.
func (*ResponseDeviceWithShockers) SetName ¶
func (s *ResponseDeviceWithShockers) SetName(val OptNilString)
SetName sets the value of Name.
func (*ResponseDeviceWithShockers) SetShockers ¶
func (s *ResponseDeviceWithShockers) SetShockers(val OptNilShockerResponseArray)
SetShockers sets the value of Shockers.
func (*ResponseDeviceWithShockers) UnmarshalJSON ¶
func (s *ResponseDeviceWithShockers) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResponseDeviceWithShockers) Validate ¶
func (s *ResponseDeviceWithShockers) Validate() error
type ResponseDeviceWithShockersIEnumerableBaseResponse ¶
type ResponseDeviceWithShockersIEnumerableBaseResponse struct { Message OptNilString `json:"message"` Data OptNilResponseDeviceWithShockersArray `json:"data"` }
Ref: #/components/schemas/ResponseDeviceWithShockersIEnumerableBaseResponse
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) Decode ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ResponseDeviceWithShockersIEnumerableBaseResponse from json.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) Encode ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) GetData ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) GetData() OptNilResponseDeviceWithShockersArray
GetData returns the value of Data.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) GetMessage ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) MarshalJSON ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) SetData ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) SetData(val OptNilResponseDeviceWithShockersArray)
SetData sets the value of Data.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) SetFake ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) SetMessage ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResponseDeviceWithShockersIEnumerableBaseResponse) Validate ¶
func (s *ResponseDeviceWithShockersIEnumerableBaseResponse) Validate() error
type ResponseDeviceWithToken ¶
type ResponseDeviceWithToken struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` CreatedOn OptDateTime `json:"createdOn"` Token OptNilString `json:"token"` }
Ref: #/components/schemas/ResponseDeviceWithToken
func (*ResponseDeviceWithToken) Decode ¶
func (s *ResponseDeviceWithToken) Decode(d *jx.Decoder) error
Decode decodes ResponseDeviceWithToken from json.
func (*ResponseDeviceWithToken) Encode ¶
func (s *ResponseDeviceWithToken) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResponseDeviceWithToken) GetCreatedOn ¶
func (s *ResponseDeviceWithToken) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*ResponseDeviceWithToken) GetID ¶
func (s *ResponseDeviceWithToken) GetID() OptUUID
GetID returns the value of ID.
func (*ResponseDeviceWithToken) GetName ¶
func (s *ResponseDeviceWithToken) GetName() OptNilString
GetName returns the value of Name.
func (*ResponseDeviceWithToken) GetToken ¶
func (s *ResponseDeviceWithToken) GetToken() OptNilString
GetToken returns the value of Token.
func (*ResponseDeviceWithToken) MarshalJSON ¶
func (s *ResponseDeviceWithToken) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResponseDeviceWithToken) SetCreatedOn ¶
func (s *ResponseDeviceWithToken) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*ResponseDeviceWithToken) SetFake ¶
func (s *ResponseDeviceWithToken) SetFake()
SetFake set fake values.
func (*ResponseDeviceWithToken) SetID ¶
func (s *ResponseDeviceWithToken) SetID(val OptUUID)
SetID sets the value of ID.
func (*ResponseDeviceWithToken) SetName ¶
func (s *ResponseDeviceWithToken) SetName(val OptNilString)
SetName sets the value of Name.
func (*ResponseDeviceWithToken) SetToken ¶
func (s *ResponseDeviceWithToken) SetToken(val OptNilString)
SetToken sets the value of Token.
func (*ResponseDeviceWithToken) UnmarshalJSON ¶
func (s *ResponseDeviceWithToken) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResponseDeviceWithTokenBaseResponse ¶
type ResponseDeviceWithTokenBaseResponse struct { Message OptNilString `json:"message"` Data OptResponseDeviceWithToken `json:"data"` }
Ref: #/components/schemas/ResponseDeviceWithTokenBaseResponse
func (*ResponseDeviceWithTokenBaseResponse) Decode ¶
func (s *ResponseDeviceWithTokenBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ResponseDeviceWithTokenBaseResponse from json.
func (*ResponseDeviceWithTokenBaseResponse) Encode ¶
func (s *ResponseDeviceWithTokenBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResponseDeviceWithTokenBaseResponse) GetData ¶
func (s *ResponseDeviceWithTokenBaseResponse) GetData() OptResponseDeviceWithToken
GetData returns the value of Data.
func (*ResponseDeviceWithTokenBaseResponse) GetMessage ¶
func (s *ResponseDeviceWithTokenBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ResponseDeviceWithTokenBaseResponse) MarshalJSON ¶
func (s *ResponseDeviceWithTokenBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResponseDeviceWithTokenBaseResponse) SetData ¶
func (s *ResponseDeviceWithTokenBaseResponse) SetData(val OptResponseDeviceWithToken)
SetData sets the value of Data.
func (*ResponseDeviceWithTokenBaseResponse) SetFake ¶
func (s *ResponseDeviceWithTokenBaseResponse) SetFake()
SetFake set fake values.
func (*ResponseDeviceWithTokenBaseResponse) SetMessage ¶
func (s *ResponseDeviceWithTokenBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ResponseDeviceWithTokenBaseResponse) UnmarshalJSON ¶
func (s *ResponseDeviceWithTokenBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RootResponse ¶
type RootResponse struct { Version OptNilString `json:"version"` Commit OptNilString `json:"commit"` CurrentTime OptDateTime `json:"currentTime"` }
Ref: #/components/schemas/RootResponse
func (*RootResponse) Decode ¶
func (s *RootResponse) Decode(d *jx.Decoder) error
Decode decodes RootResponse from json.
func (*RootResponse) Encode ¶
func (s *RootResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RootResponse) GetCommit ¶
func (s *RootResponse) GetCommit() OptNilString
GetCommit returns the value of Commit.
func (*RootResponse) GetCurrentTime ¶
func (s *RootResponse) GetCurrentTime() OptDateTime
GetCurrentTime returns the value of CurrentTime.
func (*RootResponse) GetVersion ¶
func (s *RootResponse) GetVersion() OptNilString
GetVersion returns the value of Version.
func (*RootResponse) MarshalJSON ¶
func (s *RootResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RootResponse) SetCommit ¶
func (s *RootResponse) SetCommit(val OptNilString)
SetCommit sets the value of Commit.
func (*RootResponse) SetCurrentTime ¶
func (s *RootResponse) SetCurrentTime(val OptDateTime)
SetCurrentTime sets the value of CurrentTime.
func (*RootResponse) SetVersion ¶
func (s *RootResponse) SetVersion(val OptNilString)
SetVersion sets the value of Version.
func (*RootResponse) UnmarshalJSON ¶
func (s *RootResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RootResponseBaseResponse ¶
type RootResponseBaseResponse struct { Message OptNilString `json:"message"` Data OptRootResponse `json:"data"` }
Ref: #/components/schemas/RootResponseBaseResponse
func (*RootResponseBaseResponse) Decode ¶
func (s *RootResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes RootResponseBaseResponse from json.
func (*RootResponseBaseResponse) Encode ¶
func (s *RootResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RootResponseBaseResponse) GetData ¶
func (s *RootResponseBaseResponse) GetData() OptRootResponse
GetData returns the value of Data.
func (*RootResponseBaseResponse) GetMessage ¶
func (s *RootResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*RootResponseBaseResponse) MarshalJSON ¶
func (s *RootResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RootResponseBaseResponse) SetData ¶
func (s *RootResponseBaseResponse) SetData(val OptRootResponse)
SetData sets the value of Data.
func (*RootResponseBaseResponse) SetFake ¶
func (s *RootResponseBaseResponse) SetFake()
SetFake set fake values.
func (*RootResponseBaseResponse) SetMessage ¶
func (s *RootResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*RootResponseBaseResponse) UnmarshalJSON ¶
func (s *RootResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SecuritySource ¶
type SecuritySource interface { // OpenShockToken provides OpenShockToken security value. // API Token Authorization header. OpenShockToken(ctx context.Context, operationName string, client *Client) (OpenShockToken, error) }
SecuritySource is provider of security values (tokens, passwords, etc.).
type SelfResponse ¶
type SelfResponse struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` Email OptNilString `json:"email"` Image OptNilURI `json:"image"` Rank OptRankType `json:"rank"` }
Ref: #/components/schemas/SelfResponse
func (*SelfResponse) Decode ¶
func (s *SelfResponse) Decode(d *jx.Decoder) error
Decode decodes SelfResponse from json.
func (*SelfResponse) Encode ¶
func (s *SelfResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SelfResponse) GetEmail ¶
func (s *SelfResponse) GetEmail() OptNilString
GetEmail returns the value of Email.
func (*SelfResponse) GetImage ¶
func (s *SelfResponse) GetImage() OptNilURI
GetImage returns the value of Image.
func (*SelfResponse) GetName ¶
func (s *SelfResponse) GetName() OptNilString
GetName returns the value of Name.
func (*SelfResponse) GetRank ¶
func (s *SelfResponse) GetRank() OptRankType
GetRank returns the value of Rank.
func (*SelfResponse) MarshalJSON ¶
func (s *SelfResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SelfResponse) SetEmail ¶
func (s *SelfResponse) SetEmail(val OptNilString)
SetEmail sets the value of Email.
func (*SelfResponse) SetImage ¶
func (s *SelfResponse) SetImage(val OptNilURI)
SetImage sets the value of Image.
func (*SelfResponse) SetName ¶
func (s *SelfResponse) SetName(val OptNilString)
SetName sets the value of Name.
func (*SelfResponse) SetRank ¶
func (s *SelfResponse) SetRank(val OptRankType)
SetRank sets the value of Rank.
func (*SelfResponse) UnmarshalJSON ¶
func (s *SelfResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SelfResponse) Validate ¶
func (s *SelfResponse) Validate() error
type SelfResponseBaseResponse ¶
type SelfResponseBaseResponse struct { Message OptNilString `json:"message"` Data OptSelfResponse `json:"data"` }
Ref: #/components/schemas/SelfResponseBaseResponse
func (*SelfResponseBaseResponse) Decode ¶
func (s *SelfResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes SelfResponseBaseResponse from json.
func (*SelfResponseBaseResponse) Encode ¶
func (s *SelfResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SelfResponseBaseResponse) GetData ¶
func (s *SelfResponseBaseResponse) GetData() OptSelfResponse
GetData returns the value of Data.
func (*SelfResponseBaseResponse) GetMessage ¶
func (s *SelfResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*SelfResponseBaseResponse) MarshalJSON ¶
func (s *SelfResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SelfResponseBaseResponse) SetData ¶
func (s *SelfResponseBaseResponse) SetData(val OptSelfResponse)
SetData sets the value of Data.
func (*SelfResponseBaseResponse) SetFake ¶
func (s *SelfResponseBaseResponse) SetFake()
SetFake set fake values.
func (*SelfResponseBaseResponse) SetMessage ¶
func (s *SelfResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*SelfResponseBaseResponse) UnmarshalJSON ¶
func (s *SelfResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SelfResponseBaseResponse) Validate ¶
func (s *SelfResponseBaseResponse) Validate() error
type ShareCodeInfo ¶
type ShareCodeInfo struct {}
Ref: #/components/schemas/ShareCodeInfo
func (*ShareCodeInfo) Decode ¶
func (s *ShareCodeInfo) Decode(d *jx.Decoder) error
Decode decodes ShareCodeInfo from json.
func (*ShareCodeInfo) Encode ¶
func (s *ShareCodeInfo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareCodeInfo) GetCreatedOn ¶
func (s *ShareCodeInfo) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*ShareCodeInfo) GetID ¶
func (s *ShareCodeInfo) GetID() OptUUID
GetID returns the value of ID.
func (*ShareCodeInfo) MarshalJSON ¶
func (s *ShareCodeInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareCodeInfo) SetCreatedOn ¶
func (s *ShareCodeInfo) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*ShareCodeInfo) SetID ¶
func (s *ShareCodeInfo) SetID(val OptUUID)
SetID sets the value of ID.
func (*ShareCodeInfo) UnmarshalJSON ¶
func (s *ShareCodeInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShareCodeInfoIEnumerableBaseResponse ¶
type ShareCodeInfoIEnumerableBaseResponse struct {}
Ref: #/components/schemas/ShareCodeInfoIEnumerableBaseResponse
func (*ShareCodeInfoIEnumerableBaseResponse) Decode ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ShareCodeInfoIEnumerableBaseResponse from json.
func (*ShareCodeInfoIEnumerableBaseResponse) Encode ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareCodeInfoIEnumerableBaseResponse) GetData ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) GetData() OptNilShareCodeInfoArray
GetData returns the value of Data.
func (*ShareCodeInfoIEnumerableBaseResponse) GetMessage ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ShareCodeInfoIEnumerableBaseResponse) MarshalJSON ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareCodeInfoIEnumerableBaseResponse) SetData ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) SetData(val OptNilShareCodeInfoArray)
SetData sets the value of Data.
func (*ShareCodeInfoIEnumerableBaseResponse) SetFake ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*ShareCodeInfoIEnumerableBaseResponse) SetMessage ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ShareCodeInfoIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShareCodeInfoIEnumerableBaseResponse) Validate ¶
func (s *ShareCodeInfoIEnumerableBaseResponse) Validate() error
type ShareInfo ¶
type ShareInfo struct {}
Ref: #/components/schemas/ShareInfo
func (*ShareInfo) GetCreatedOn ¶
func (s *ShareInfo) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*ShareInfo) GetLimits ¶
func (s *ShareInfo) GetLimits() OptShockerLimits
GetLimits returns the value of Limits.
func (*ShareInfo) GetPermissions ¶
func (s *ShareInfo) GetPermissions() OptShockerPermissions
GetPermissions returns the value of Permissions.
func (*ShareInfo) GetSharedWith ¶
func (s *ShareInfo) GetSharedWith() OptGenericIni
GetSharedWith returns the value of SharedWith.
func (*ShareInfo) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ShareInfo) SetCreatedOn ¶
func (s *ShareInfo) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*ShareInfo) SetLimits ¶
func (s *ShareInfo) SetLimits(val OptShockerLimits)
SetLimits sets the value of Limits.
func (*ShareInfo) SetPermissions ¶
func (s *ShareInfo) SetPermissions(val OptShockerPermissions)
SetPermissions sets the value of Permissions.
func (*ShareInfo) SetSharedWith ¶
func (s *ShareInfo) SetSharedWith(val OptGenericIni)
SetSharedWith sets the value of SharedWith.
func (*ShareInfo) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ShareInfoIEnumerableBaseResponse ¶
type ShareInfoIEnumerableBaseResponse struct {}
Ref: #/components/schemas/ShareInfoIEnumerableBaseResponse
func (*ShareInfoIEnumerableBaseResponse) Decode ¶
func (s *ShareInfoIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ShareInfoIEnumerableBaseResponse from json.
func (*ShareInfoIEnumerableBaseResponse) Encode ¶
func (s *ShareInfoIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareInfoIEnumerableBaseResponse) GetData ¶
func (s *ShareInfoIEnumerableBaseResponse) GetData() OptNilShareInfoArray
GetData returns the value of Data.
func (*ShareInfoIEnumerableBaseResponse) GetMessage ¶
func (s *ShareInfoIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ShareInfoIEnumerableBaseResponse) MarshalJSON ¶
func (s *ShareInfoIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareInfoIEnumerableBaseResponse) SetData ¶
func (s *ShareInfoIEnumerableBaseResponse) SetData(val OptNilShareInfoArray)
SetData sets the value of Data.
func (*ShareInfoIEnumerableBaseResponse) SetFake ¶
func (s *ShareInfoIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*ShareInfoIEnumerableBaseResponse) SetMessage ¶
func (s *ShareInfoIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ShareInfoIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *ShareInfoIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShareInfoIEnumerableBaseResponse) Validate ¶
func (s *ShareInfoIEnumerableBaseResponse) Validate() error
type ShareLinkCreate ¶
type ShareLinkCreate struct {}
Ref: #/components/schemas/ShareLinkCreate
func (*ShareLinkCreate) Decode ¶
func (s *ShareLinkCreate) Decode(d *jx.Decoder) error
Decode decodes ShareLinkCreate from json.
func (*ShareLinkCreate) Encode ¶
func (s *ShareLinkCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareLinkCreate) GetExpiresOn ¶
func (s *ShareLinkCreate) GetExpiresOn() OptNilDateTime
GetExpiresOn returns the value of ExpiresOn.
func (*ShareLinkCreate) GetName ¶
func (s *ShareLinkCreate) GetName() OptNilString
GetName returns the value of Name.
func (*ShareLinkCreate) MarshalJSON ¶
func (s *ShareLinkCreate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinkCreate) SetExpiresOn ¶
func (s *ShareLinkCreate) SetExpiresOn(val OptNilDateTime)
SetExpiresOn sets the value of ExpiresOn.
func (*ShareLinkCreate) SetName ¶
func (s *ShareLinkCreate) SetName(val OptNilString)
SetName sets the value of Name.
func (*ShareLinkCreate) UnmarshalJSON ¶
func (s *ShareLinkCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShareLinkDevice ¶
type ShareLinkDevice struct {}
Ref: #/components/schemas/ShareLinkDevice
func (*ShareLinkDevice) Decode ¶
func (s *ShareLinkDevice) Decode(d *jx.Decoder) error
Decode decodes ShareLinkDevice from json.
func (*ShareLinkDevice) Encode ¶
func (s *ShareLinkDevice) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareLinkDevice) GetID ¶
func (s *ShareLinkDevice) GetID() OptUUID
GetID returns the value of ID.
func (*ShareLinkDevice) GetName ¶
func (s *ShareLinkDevice) GetName() OptNilString
GetName returns the value of Name.
func (*ShareLinkDevice) GetShockers ¶
func (s *ShareLinkDevice) GetShockers() OptNilShareLinkShockerArray
GetShockers returns the value of Shockers.
func (*ShareLinkDevice) MarshalJSON ¶
func (s *ShareLinkDevice) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinkDevice) SetID ¶
func (s *ShareLinkDevice) SetID(val OptUUID)
SetID sets the value of ID.
func (*ShareLinkDevice) SetName ¶
func (s *ShareLinkDevice) SetName(val OptNilString)
SetName sets the value of Name.
func (*ShareLinkDevice) SetShockers ¶
func (s *ShareLinkDevice) SetShockers(val OptNilShareLinkShockerArray)
SetShockers sets the value of Shockers.
func (*ShareLinkDevice) UnmarshalJSON ¶
func (s *ShareLinkDevice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShareLinkDevice) Validate ¶
func (s *ShareLinkDevice) Validate() error
type ShareLinkEditShocker ¶
type ShareLinkEditShocker struct {}
Ref: #/components/schemas/ShareLinkEditShocker
func (*ShareLinkEditShocker) Decode ¶
func (s *ShareLinkEditShocker) Decode(d *jx.Decoder) error
Decode decodes ShareLinkEditShocker from json.
func (*ShareLinkEditShocker) Encode ¶
func (s *ShareLinkEditShocker) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareLinkEditShocker) GetCooldown ¶
func (s *ShareLinkEditShocker) GetCooldown() OptNilInt32
GetCooldown returns the value of Cooldown.
func (*ShareLinkEditShocker) GetLimits ¶
func (s *ShareLinkEditShocker) GetLimits() OptShockerLimits
GetLimits returns the value of Limits.
func (*ShareLinkEditShocker) GetPermissions ¶
func (s *ShareLinkEditShocker) GetPermissions() OptShockerPermissions
GetPermissions returns the value of Permissions.
func (*ShareLinkEditShocker) MarshalJSON ¶
func (s *ShareLinkEditShocker) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinkEditShocker) SetCooldown ¶
func (s *ShareLinkEditShocker) SetCooldown(val OptNilInt32)
SetCooldown sets the value of Cooldown.
func (*ShareLinkEditShocker) SetFake ¶
func (s *ShareLinkEditShocker) SetFake()
SetFake set fake values.
func (*ShareLinkEditShocker) SetLimits ¶
func (s *ShareLinkEditShocker) SetLimits(val OptShockerLimits)
SetLimits sets the value of Limits.
func (*ShareLinkEditShocker) SetPermissions ¶
func (s *ShareLinkEditShocker) SetPermissions(val OptShockerPermissions)
SetPermissions sets the value of Permissions.
func (*ShareLinkEditShocker) UnmarshalJSON ¶
func (s *ShareLinkEditShocker) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShareLinkEditShocker) Validate ¶
func (s *ShareLinkEditShocker) Validate() error
type ShareLinkResponse ¶
type ShareLinkResponse struct {}
Ref: #/components/schemas/ShareLinkResponse
func (*ShareLinkResponse) Decode ¶
func (s *ShareLinkResponse) Decode(d *jx.Decoder) error
Decode decodes ShareLinkResponse from json.
func (*ShareLinkResponse) Encode ¶
func (s *ShareLinkResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareLinkResponse) GetCreatedOn ¶
func (s *ShareLinkResponse) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*ShareLinkResponse) GetExpiresOn ¶
func (s *ShareLinkResponse) GetExpiresOn() OptNilDateTime
GetExpiresOn returns the value of ExpiresOn.
func (*ShareLinkResponse) GetID ¶
func (s *ShareLinkResponse) GetID() OptUUID
GetID returns the value of ID.
func (*ShareLinkResponse) GetName ¶
func (s *ShareLinkResponse) GetName() OptNilString
GetName returns the value of Name.
func (*ShareLinkResponse) MarshalJSON ¶
func (s *ShareLinkResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinkResponse) SetCreatedOn ¶
func (s *ShareLinkResponse) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*ShareLinkResponse) SetExpiresOn ¶
func (s *ShareLinkResponse) SetExpiresOn(val OptNilDateTime)
SetExpiresOn sets the value of ExpiresOn.
func (*ShareLinkResponse) SetID ¶
func (s *ShareLinkResponse) SetID(val OptUUID)
SetID sets the value of ID.
func (*ShareLinkResponse) SetName ¶
func (s *ShareLinkResponse) SetName(val OptNilString)
SetName sets the value of Name.
func (*ShareLinkResponse) UnmarshalJSON ¶
func (s *ShareLinkResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShareLinkResponseBaseResponse ¶
type ShareLinkResponseBaseResponse struct {}
Ref: #/components/schemas/ShareLinkResponseBaseResponse
func (*ShareLinkResponseBaseResponse) Decode ¶
func (s *ShareLinkResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ShareLinkResponseBaseResponse from json.
func (*ShareLinkResponseBaseResponse) Encode ¶
func (s *ShareLinkResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareLinkResponseBaseResponse) GetData ¶
func (s *ShareLinkResponseBaseResponse) GetData() OptShareLinkResponse
GetData returns the value of Data.
func (*ShareLinkResponseBaseResponse) GetMessage ¶
func (s *ShareLinkResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ShareLinkResponseBaseResponse) MarshalJSON ¶
func (s *ShareLinkResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinkResponseBaseResponse) SetData ¶
func (s *ShareLinkResponseBaseResponse) SetData(val OptShareLinkResponse)
SetData sets the value of Data.
func (*ShareLinkResponseBaseResponse) SetFake ¶
func (s *ShareLinkResponseBaseResponse) SetFake()
SetFake set fake values.
func (*ShareLinkResponseBaseResponse) SetMessage ¶
func (s *ShareLinkResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ShareLinkResponseBaseResponse) UnmarshalJSON ¶
func (s *ShareLinkResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShareLinkResponseIEnumerableBaseResponse ¶
type ShareLinkResponseIEnumerableBaseResponse struct {}
Ref: #/components/schemas/ShareLinkResponseIEnumerableBaseResponse
func (*ShareLinkResponseIEnumerableBaseResponse) Decode ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ShareLinkResponseIEnumerableBaseResponse from json.
func (*ShareLinkResponseIEnumerableBaseResponse) Encode ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareLinkResponseIEnumerableBaseResponse) GetData ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) GetData() OptNilShareLinkResponseArray
GetData returns the value of Data.
func (*ShareLinkResponseIEnumerableBaseResponse) GetMessage ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ShareLinkResponseIEnumerableBaseResponse) MarshalJSON ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinkResponseIEnumerableBaseResponse) SetData ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) SetData(val OptNilShareLinkResponseArray)
SetData sets the value of Data.
func (*ShareLinkResponseIEnumerableBaseResponse) SetFake ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*ShareLinkResponseIEnumerableBaseResponse) SetMessage ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ShareLinkResponseIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShareLinkResponseIEnumerableBaseResponse) Validate ¶
func (s *ShareLinkResponseIEnumerableBaseResponse) Validate() error
type ShareLinkShocker ¶
type ShareLinkShocker struct { // reasons are OR'd together. // Each bit corresponds to: // - 1: Shocker // - 2: Share // - 4: ShareLink // For example, a value of 6 (2 | 4) indicates both 'Share' and 'ShareLink' reasons. Paused OptInt `json:"paused"` }
Ref: #/components/schemas/ShareLinkShocker
func (*ShareLinkShocker) Decode ¶
func (s *ShareLinkShocker) Decode(d *jx.Decoder) error
Decode decodes ShareLinkShocker from json.
func (*ShareLinkShocker) Encode ¶
func (s *ShareLinkShocker) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShareLinkShocker) GetID ¶
func (s *ShareLinkShocker) GetID() OptUUID
GetID returns the value of ID.
func (*ShareLinkShocker) GetLimits ¶
func (s *ShareLinkShocker) GetLimits() OptShockerLimits
GetLimits returns the value of Limits.
func (*ShareLinkShocker) GetName ¶
func (s *ShareLinkShocker) GetName() OptNilString
GetName returns the value of Name.
func (*ShareLinkShocker) GetPaused ¶
func (s *ShareLinkShocker) GetPaused() OptInt
GetPaused returns the value of Paused.
func (*ShareLinkShocker) GetPermissions ¶
func (s *ShareLinkShocker) GetPermissions() OptShockerPermissions
GetPermissions returns the value of Permissions.
func (*ShareLinkShocker) MarshalJSON ¶
func (s *ShareLinkShocker) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinkShocker) SetID ¶
func (s *ShareLinkShocker) SetID(val OptUUID)
SetID sets the value of ID.
func (*ShareLinkShocker) SetLimits ¶
func (s *ShareLinkShocker) SetLimits(val OptShockerLimits)
SetLimits sets the value of Limits.
func (*ShareLinkShocker) SetName ¶
func (s *ShareLinkShocker) SetName(val OptNilString)
SetName sets the value of Name.
func (*ShareLinkShocker) SetPaused ¶
func (s *ShareLinkShocker) SetPaused(val OptInt)
SetPaused sets the value of Paused.
func (*ShareLinkShocker) SetPermissions ¶
func (s *ShareLinkShocker) SetPermissions(val OptShockerPermissions)
SetPermissions sets the value of Permissions.
func (*ShareLinkShocker) UnmarshalJSON ¶
func (s *ShareLinkShocker) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShareLinkShocker) Validate ¶
func (s *ShareLinkShocker) Validate() error
type ShareLinksAddShockerConflict ¶
type ShareLinksAddShockerConflict OpenShockProblem
func (*ShareLinksAddShockerConflict) Decode ¶
func (s *ShareLinksAddShockerConflict) Decode(d *jx.Decoder) error
Decode decodes ShareLinksAddShockerConflict from json.
func (*ShareLinksAddShockerConflict) Encode ¶
func (s *ShareLinksAddShockerConflict) Encode(e *jx.Encoder)
Encode encodes ShareLinksAddShockerConflict as json.
func (*ShareLinksAddShockerConflict) MarshalJSON ¶
func (s *ShareLinksAddShockerConflict) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinksAddShockerConflict) SetFake ¶
func (s *ShareLinksAddShockerConflict) SetFake()
SetFake set fake values.
func (*ShareLinksAddShockerConflict) UnmarshalJSON ¶
func (s *ShareLinksAddShockerConflict) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShareLinksAddShockerNotFound ¶
type ShareLinksAddShockerNotFound OpenShockProblem
func (*ShareLinksAddShockerNotFound) Decode ¶
func (s *ShareLinksAddShockerNotFound) Decode(d *jx.Decoder) error
Decode decodes ShareLinksAddShockerNotFound from json.
func (*ShareLinksAddShockerNotFound) Encode ¶
func (s *ShareLinksAddShockerNotFound) Encode(e *jx.Encoder)
Encode encodes ShareLinksAddShockerNotFound as json.
func (*ShareLinksAddShockerNotFound) MarshalJSON ¶
func (s *ShareLinksAddShockerNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShareLinksAddShockerNotFound) SetFake ¶
func (s *ShareLinksAddShockerNotFound) SetFake()
SetFake set fake values.
func (*ShareLinksAddShockerNotFound) UnmarshalJSON ¶
func (s *ShareLinksAddShockerNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShareLinksAddShockerParams ¶
type ShareLinksAddShockerParams struct {}
ShareLinksAddShockerParams is parameters of ShareLinks_AddShocker operation.
type ShareLinksAddShockerRes ¶
type ShareLinksAddShockerRes interface {
// contains filtered or unexported methods
}
type ShareLinksDeleteShareLinkParams ¶
type ShareLinksDeleteShareLinkParams struct {
}ShareLinksDeleteShareLinkParams is parameters of ShareLinks_DeleteShareLink operation.
type ShareLinksDeleteShareLinkRes ¶
type ShareLinksDeleteShareLinkRes interface {
// contains filtered or unexported methods
}
type ShareLinksEditShockerBadRequest ¶
type ShareLinksEditShockerBadRequest struct{}
ShareLinksEditShockerBadRequest is response for ShareLinksEditShocker operation.
type ShareLinksEditShockerParams ¶
type ShareLinksEditShockerParams struct {}
ShareLinksEditShockerParams is parameters of ShareLinks_EditShocker operation.
type ShareLinksEditShockerRes ¶
type ShareLinksEditShockerRes interface {
// contains filtered or unexported methods
}
type ShareLinksPauseShockerBadRequest ¶
type ShareLinksPauseShockerBadRequest struct{}
ShareLinksPauseShockerBadRequest is response for ShareLinksPauseShocker operation.
type ShareLinksPauseShockerParams ¶
type ShareLinksPauseShockerParams struct {}
ShareLinksPauseShockerParams is parameters of ShareLinks_PauseShocker operation.
type ShareLinksPauseShockerRes ¶
type ShareLinksPauseShockerRes interface {
// contains filtered or unexported methods
}
type ShareLinksRemoveShockerBadRequest ¶
type ShareLinksRemoveShockerBadRequest struct{}
ShareLinksRemoveShockerBadRequest is response for ShareLinksRemoveShocker operation.
type ShareLinksRemoveShockerParams ¶
type ShareLinksRemoveShockerParams struct {}
ShareLinksRemoveShockerParams is parameters of ShareLinks_RemoveShocker operation.
type ShareLinksRemoveShockerRes ¶
type ShareLinksRemoveShockerRes interface {
// contains filtered or unexported methods
}
type SharedDevice ¶
type SharedDevice struct {}
Ref: #/components/schemas/SharedDevice
func (*SharedDevice) Decode ¶
func (s *SharedDevice) Decode(d *jx.Decoder) error
Decode decodes SharedDevice from json.
func (*SharedDevice) Encode ¶
func (s *SharedDevice) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SharedDevice) GetName ¶
func (s *SharedDevice) GetName() OptNilString
GetName returns the value of Name.
func (*SharedDevice) GetShockers ¶
func (s *SharedDevice) GetShockers() OptNilSharedShockerArray
GetShockers returns the value of Shockers.
func (*SharedDevice) MarshalJSON ¶
func (s *SharedDevice) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SharedDevice) SetName ¶
func (s *SharedDevice) SetName(val OptNilString)
SetName sets the value of Name.
func (*SharedDevice) SetShockers ¶
func (s *SharedDevice) SetShockers(val OptNilSharedShockerArray)
SetShockers sets the value of Shockers.
func (*SharedDevice) UnmarshalJSON ¶
func (s *SharedDevice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SharedDevice) Validate ¶
func (s *SharedDevice) Validate() error
type SharedShocker ¶
type SharedShocker struct {}
Ref: #/components/schemas/SharedShocker
func (*SharedShocker) Decode ¶
func (s *SharedShocker) Decode(d *jx.Decoder) error
Decode decodes SharedShocker from json.
func (*SharedShocker) Encode ¶
func (s *SharedShocker) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SharedShocker) GetID ¶
func (s *SharedShocker) GetID() OptUUID
GetID returns the value of ID.
func (*SharedShocker) GetIsPaused ¶
func (s *SharedShocker) GetIsPaused() OptBool
GetIsPaused returns the value of IsPaused.
func (*SharedShocker) GetLimits ¶
func (s *SharedShocker) GetLimits() OptShockerLimits
GetLimits returns the value of Limits.
func (*SharedShocker) GetName ¶
func (s *SharedShocker) GetName() OptNilString
GetName returns the value of Name.
func (*SharedShocker) GetPermissions ¶
func (s *SharedShocker) GetPermissions() OptShockerPermissions
GetPermissions returns the value of Permissions.
func (*SharedShocker) MarshalJSON ¶
func (s *SharedShocker) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SharedShocker) SetID ¶
func (s *SharedShocker) SetID(val OptUUID)
SetID sets the value of ID.
func (*SharedShocker) SetIsPaused ¶
func (s *SharedShocker) SetIsPaused(val OptBool)
SetIsPaused sets the value of IsPaused.
func (*SharedShocker) SetLimits ¶
func (s *SharedShocker) SetLimits(val OptShockerLimits)
SetLimits sets the value of Limits.
func (*SharedShocker) SetName ¶
func (s *SharedShocker) SetName(val OptNilString)
SetName sets the value of Name.
func (*SharedShocker) SetPermissions ¶
func (s *SharedShocker) SetPermissions(val OptShockerPermissions)
SetPermissions sets the value of Permissions.
func (*SharedShocker) UnmarshalJSON ¶
func (s *SharedShocker) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SharedShocker) Validate ¶
func (s *SharedShocker) Validate() error
type SharesDeleteShareCodeParams ¶
type SharesDeleteShareCodeParams struct {
}SharesDeleteShareCodeParams is parameters of Shares_DeleteShareCode operation.
type SharesDeleteShareCodeRes ¶
type SharesDeleteShareCodeRes interface {
// contains filtered or unexported methods
}
type SharesLinkShareCodeBadRequest ¶
type SharesLinkShareCodeBadRequest OpenShockProblem
func (*SharesLinkShareCodeBadRequest) Decode ¶
func (s *SharesLinkShareCodeBadRequest) Decode(d *jx.Decoder) error
Decode decodes SharesLinkShareCodeBadRequest from json.
func (*SharesLinkShareCodeBadRequest) Encode ¶
func (s *SharesLinkShareCodeBadRequest) Encode(e *jx.Encoder)
Encode encodes SharesLinkShareCodeBadRequest as json.
func (*SharesLinkShareCodeBadRequest) MarshalJSON ¶
func (s *SharesLinkShareCodeBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SharesLinkShareCodeBadRequest) SetFake ¶
func (s *SharesLinkShareCodeBadRequest) SetFake()
SetFake set fake values.
func (*SharesLinkShareCodeBadRequest) UnmarshalJSON ¶
func (s *SharesLinkShareCodeBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SharesLinkShareCodeInternalServerError ¶
type SharesLinkShareCodeInternalServerError struct{}
SharesLinkShareCodeInternalServerError is response for SharesLinkShareCode operation.
type SharesLinkShareCodeNotFound ¶
type SharesLinkShareCodeNotFound OpenShockProblem
func (*SharesLinkShareCodeNotFound) Decode ¶
func (s *SharesLinkShareCodeNotFound) Decode(d *jx.Decoder) error
Decode decodes SharesLinkShareCodeNotFound from json.
func (*SharesLinkShareCodeNotFound) Encode ¶
func (s *SharesLinkShareCodeNotFound) Encode(e *jx.Encoder)
Encode encodes SharesLinkShareCodeNotFound as json.
func (*SharesLinkShareCodeNotFound) MarshalJSON ¶
func (s *SharesLinkShareCodeNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SharesLinkShareCodeNotFound) SetFake ¶
func (s *SharesLinkShareCodeNotFound) SetFake()
SetFake set fake values.
func (*SharesLinkShareCodeNotFound) UnmarshalJSON ¶
func (s *SharesLinkShareCodeNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SharesLinkShareCodeParams ¶
type SharesLinkShareCodeParams struct {
}SharesLinkShareCodeParams is parameters of Shares_LinkShareCode operation.
type SharesLinkShareCodeRes ¶
type SharesLinkShareCodeRes interface {
// contains filtered or unexported methods
}
type ShockerEditShockerParams ¶
ShockerEditShockerParams is parameters of Shocker_EditShocker operation.
type ShockerEditShockerRes ¶
type ShockerEditShockerRes interface {
// contains filtered or unexported methods
}
type ShockerGetShockerByIdParams ¶
ShockerGetShockerByIdParams is parameters of Shocker_GetShockerById operation.
type ShockerGetShockerByIdRes ¶
type ShockerGetShockerByIdRes interface {
// contains filtered or unexported methods
}
type ShockerGetShockerLogsParams ¶
ShockerGetShockerLogsParams is parameters of Shocker_GetShockerLogs operation.
type ShockerGetShockerLogsRes ¶
type ShockerGetShockerLogsRes interface {
// contains filtered or unexported methods
}
type ShockerGetShockerSharesParams ¶
ShockerGetShockerSharesParams is parameters of Shocker_GetShockerShares operation.
type ShockerGetShockerSharesRes ¶
type ShockerGetShockerSharesRes interface {
// contains filtered or unexported methods
}
type ShockerLimits ¶
type ShockerLimits struct { Intensity OptNilInt32 `json:"intensity"` Duration OptNilInt32 `json:"duration"` }
Ref: #/components/schemas/ShockerLimits
func (*ShockerLimits) Decode ¶
func (s *ShockerLimits) Decode(d *jx.Decoder) error
Decode decodes ShockerLimits from json.
func (*ShockerLimits) Encode ¶
func (s *ShockerLimits) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShockerLimits) GetDuration ¶
func (s *ShockerLimits) GetDuration() OptNilInt32
GetDuration returns the value of Duration.
func (*ShockerLimits) GetIntensity ¶
func (s *ShockerLimits) GetIntensity() OptNilInt32
GetIntensity returns the value of Intensity.
func (*ShockerLimits) MarshalJSON ¶
func (s *ShockerLimits) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerLimits) SetDuration ¶
func (s *ShockerLimits) SetDuration(val OptNilInt32)
SetDuration sets the value of Duration.
func (*ShockerLimits) SetIntensity ¶
func (s *ShockerLimits) SetIntensity(val OptNilInt32)
SetIntensity sets the value of Intensity.
func (*ShockerLimits) UnmarshalJSON ¶
func (s *ShockerLimits) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShockerLimits) Validate ¶
func (s *ShockerLimits) Validate() error
type ShockerModelType ¶
type ShockerModelType string
Ref: #/components/schemas/ShockerModelType
const ( ShockerModelTypeCaiXianlin ShockerModelType = "CaiXianlin" ShockerModelTypePetTrainer ShockerModelType = "PetTrainer" ShockerModelTypePetrainer998DR ShockerModelType = "Petrainer998DR" )
func (ShockerModelType) AllValues ¶
func (ShockerModelType) AllValues() []ShockerModelType
AllValues returns all ShockerModelType values.
func (*ShockerModelType) Decode ¶
func (s *ShockerModelType) Decode(d *jx.Decoder) error
Decode decodes ShockerModelType from json.
func (ShockerModelType) Encode ¶
func (s ShockerModelType) Encode(e *jx.Encoder)
Encode encodes ShockerModelType as json.
func (ShockerModelType) MarshalJSON ¶
func (s ShockerModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ShockerModelType) MarshalText ¶
func (s ShockerModelType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ShockerModelType) UnmarshalJSON ¶
func (s *ShockerModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShockerModelType) UnmarshalText ¶
func (s *ShockerModelType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ShockerModelType) Validate ¶
func (s ShockerModelType) Validate() error
type ShockerPauseShockerParams ¶
ShockerPauseShockerParams is parameters of Shocker_PauseShocker operation.
type ShockerPauseShockerRes ¶
type ShockerPauseShockerRes interface {
// contains filtered or unexported methods
}
type ShockerPermissions ¶
type ShockerPermissions struct { Vibrate OptBool `json:"vibrate"` Sound OptBool `json:"sound"` Shock OptBool `json:"shock"` Live OptBool `json:"live"` }
Ref: #/components/schemas/ShockerPermissions
func (*ShockerPermissions) Decode ¶
func (s *ShockerPermissions) Decode(d *jx.Decoder) error
Decode decodes ShockerPermissions from json.
func (*ShockerPermissions) Encode ¶
func (s *ShockerPermissions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShockerPermissions) GetLive ¶
func (s *ShockerPermissions) GetLive() OptBool
GetLive returns the value of Live.
func (*ShockerPermissions) GetShock ¶
func (s *ShockerPermissions) GetShock() OptBool
GetShock returns the value of Shock.
func (*ShockerPermissions) GetSound ¶
func (s *ShockerPermissions) GetSound() OptBool
GetSound returns the value of Sound.
func (*ShockerPermissions) GetVibrate ¶
func (s *ShockerPermissions) GetVibrate() OptBool
GetVibrate returns the value of Vibrate.
func (*ShockerPermissions) MarshalJSON ¶
func (s *ShockerPermissions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerPermissions) SetFake ¶
func (s *ShockerPermissions) SetFake()
SetFake set fake values.
func (*ShockerPermissions) SetLive ¶
func (s *ShockerPermissions) SetLive(val OptBool)
SetLive sets the value of Live.
func (*ShockerPermissions) SetShock ¶
func (s *ShockerPermissions) SetShock(val OptBool)
SetShock sets the value of Shock.
func (*ShockerPermissions) SetSound ¶
func (s *ShockerPermissions) SetSound(val OptBool)
SetSound sets the value of Sound.
func (*ShockerPermissions) SetVibrate ¶
func (s *ShockerPermissions) SetVibrate(val OptBool)
SetVibrate sets the value of Vibrate.
func (*ShockerPermissions) UnmarshalJSON ¶
func (s *ShockerPermissions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerRegisterShockerBadRequest ¶
type ShockerRegisterShockerBadRequest OpenShockProblem
func (*ShockerRegisterShockerBadRequest) Decode ¶
func (s *ShockerRegisterShockerBadRequest) Decode(d *jx.Decoder) error
Decode decodes ShockerRegisterShockerBadRequest from json.
func (*ShockerRegisterShockerBadRequest) Encode ¶
func (s *ShockerRegisterShockerBadRequest) Encode(e *jx.Encoder)
Encode encodes ShockerRegisterShockerBadRequest as json.
func (*ShockerRegisterShockerBadRequest) MarshalJSON ¶
func (s *ShockerRegisterShockerBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerRegisterShockerBadRequest) SetFake ¶
func (s *ShockerRegisterShockerBadRequest) SetFake()
SetFake set fake values.
func (*ShockerRegisterShockerBadRequest) UnmarshalJSON ¶
func (s *ShockerRegisterShockerBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerRegisterShockerNotFound ¶
type ShockerRegisterShockerNotFound OpenShockProblem
func (*ShockerRegisterShockerNotFound) Decode ¶
func (s *ShockerRegisterShockerNotFound) Decode(d *jx.Decoder) error
Decode decodes ShockerRegisterShockerNotFound from json.
func (*ShockerRegisterShockerNotFound) Encode ¶
func (s *ShockerRegisterShockerNotFound) Encode(e *jx.Encoder)
Encode encodes ShockerRegisterShockerNotFound as json.
func (*ShockerRegisterShockerNotFound) MarshalJSON ¶
func (s *ShockerRegisterShockerNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerRegisterShockerNotFound) SetFake ¶
func (s *ShockerRegisterShockerNotFound) SetFake()
SetFake set fake values.
func (*ShockerRegisterShockerNotFound) UnmarshalJSON ¶
func (s *ShockerRegisterShockerNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerRegisterShockerRes ¶
type ShockerRegisterShockerRes interface {
// contains filtered or unexported methods
}
type ShockerRemoveShockerParams ¶
ShockerRemoveShockerParams is parameters of Shocker_RemoveShocker operation.
type ShockerRemoveShockerRes ¶
type ShockerRemoveShockerRes interface {
// contains filtered or unexported methods
}
type ShockerResponse ¶
type ShockerResponse struct { ID OptUUID `json:"id"` RfId OptInt32 `json:"rfId"` Model OptShockerModelType `json:"model"` Name OptNilString `json:"name"` IsPaused OptBool `json:"isPaused"` CreatedOn OptDateTime `json:"createdOn"` }
Ref: #/components/schemas/ShockerResponse
func (*ShockerResponse) Decode ¶
func (s *ShockerResponse) Decode(d *jx.Decoder) error
Decode decodes ShockerResponse from json.
func (*ShockerResponse) Encode ¶
func (s *ShockerResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShockerResponse) GetCreatedOn ¶
func (s *ShockerResponse) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*ShockerResponse) GetID ¶
func (s *ShockerResponse) GetID() OptUUID
GetID returns the value of ID.
func (*ShockerResponse) GetIsPaused ¶
func (s *ShockerResponse) GetIsPaused() OptBool
GetIsPaused returns the value of IsPaused.
func (*ShockerResponse) GetModel ¶
func (s *ShockerResponse) GetModel() OptShockerModelType
GetModel returns the value of Model.
func (*ShockerResponse) GetName ¶
func (s *ShockerResponse) GetName() OptNilString
GetName returns the value of Name.
func (*ShockerResponse) GetRfId ¶
func (s *ShockerResponse) GetRfId() OptInt32
GetRfId returns the value of RfId.
func (*ShockerResponse) MarshalJSON ¶
func (s *ShockerResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerResponse) SetCreatedOn ¶
func (s *ShockerResponse) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*ShockerResponse) SetID ¶
func (s *ShockerResponse) SetID(val OptUUID)
SetID sets the value of ID.
func (*ShockerResponse) SetIsPaused ¶
func (s *ShockerResponse) SetIsPaused(val OptBool)
SetIsPaused sets the value of IsPaused.
func (*ShockerResponse) SetModel ¶
func (s *ShockerResponse) SetModel(val OptShockerModelType)
SetModel sets the value of Model.
func (*ShockerResponse) SetName ¶
func (s *ShockerResponse) SetName(val OptNilString)
SetName sets the value of Name.
func (*ShockerResponse) SetRfId ¶
func (s *ShockerResponse) SetRfId(val OptInt32)
SetRfId sets the value of RfId.
func (*ShockerResponse) UnmarshalJSON ¶
func (s *ShockerResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShockerResponse) Validate ¶
func (s *ShockerResponse) Validate() error
type ShockerResponseIEnumerableBaseResponse ¶
type ShockerResponseIEnumerableBaseResponse struct { Message OptNilString `json:"message"` Data OptNilShockerResponseArray `json:"data"` }
Ref: #/components/schemas/ShockerResponseIEnumerableBaseResponse
func (*ShockerResponseIEnumerableBaseResponse) Decode ¶
func (s *ShockerResponseIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ShockerResponseIEnumerableBaseResponse from json.
func (*ShockerResponseIEnumerableBaseResponse) Encode ¶
func (s *ShockerResponseIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShockerResponseIEnumerableBaseResponse) GetData ¶
func (s *ShockerResponseIEnumerableBaseResponse) GetData() OptNilShockerResponseArray
GetData returns the value of Data.
func (*ShockerResponseIEnumerableBaseResponse) GetMessage ¶
func (s *ShockerResponseIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ShockerResponseIEnumerableBaseResponse) MarshalJSON ¶
func (s *ShockerResponseIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerResponseIEnumerableBaseResponse) SetData ¶
func (s *ShockerResponseIEnumerableBaseResponse) SetData(val OptNilShockerResponseArray)
SetData sets the value of Data.
func (*ShockerResponseIEnumerableBaseResponse) SetFake ¶
func (s *ShockerResponseIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*ShockerResponseIEnumerableBaseResponse) SetMessage ¶
func (s *ShockerResponseIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ShockerResponseIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *ShockerResponseIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShockerResponseIEnumerableBaseResponse) Validate ¶
func (s *ShockerResponseIEnumerableBaseResponse) Validate() error
type ShockerSendControlDEPRECATEDForbidden ¶
type ShockerSendControlDEPRECATEDForbidden OpenShockProblem
func (*ShockerSendControlDEPRECATEDForbidden) Decode ¶
func (s *ShockerSendControlDEPRECATEDForbidden) Decode(d *jx.Decoder) error
Decode decodes ShockerSendControlDEPRECATEDForbidden from json.
func (*ShockerSendControlDEPRECATEDForbidden) Encode ¶
func (s *ShockerSendControlDEPRECATEDForbidden) Encode(e *jx.Encoder)
Encode encodes ShockerSendControlDEPRECATEDForbidden as json.
func (*ShockerSendControlDEPRECATEDForbidden) MarshalJSON ¶
func (s *ShockerSendControlDEPRECATEDForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerSendControlDEPRECATEDForbidden) SetFake ¶
func (s *ShockerSendControlDEPRECATEDForbidden) SetFake()
SetFake set fake values.
func (*ShockerSendControlDEPRECATEDForbidden) UnmarshalJSON ¶
func (s *ShockerSendControlDEPRECATEDForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerSendControlDEPRECATEDNotFound ¶
type ShockerSendControlDEPRECATEDNotFound OpenShockProblem
func (*ShockerSendControlDEPRECATEDNotFound) Decode ¶
func (s *ShockerSendControlDEPRECATEDNotFound) Decode(d *jx.Decoder) error
Decode decodes ShockerSendControlDEPRECATEDNotFound from json.
func (*ShockerSendControlDEPRECATEDNotFound) Encode ¶
func (s *ShockerSendControlDEPRECATEDNotFound) Encode(e *jx.Encoder)
Encode encodes ShockerSendControlDEPRECATEDNotFound as json.
func (*ShockerSendControlDEPRECATEDNotFound) MarshalJSON ¶
func (s *ShockerSendControlDEPRECATEDNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerSendControlDEPRECATEDNotFound) SetFake ¶
func (s *ShockerSendControlDEPRECATEDNotFound) SetFake()
SetFake set fake values.
func (*ShockerSendControlDEPRECATEDNotFound) UnmarshalJSON ¶
func (s *ShockerSendControlDEPRECATEDNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerSendControlDEPRECATEDPreconditionFailed ¶
type ShockerSendControlDEPRECATEDPreconditionFailed OpenShockProblem
func (*ShockerSendControlDEPRECATEDPreconditionFailed) Decode ¶
func (s *ShockerSendControlDEPRECATEDPreconditionFailed) Decode(d *jx.Decoder) error
Decode decodes ShockerSendControlDEPRECATEDPreconditionFailed from json.
func (*ShockerSendControlDEPRECATEDPreconditionFailed) Encode ¶
func (s *ShockerSendControlDEPRECATEDPreconditionFailed) Encode(e *jx.Encoder)
Encode encodes ShockerSendControlDEPRECATEDPreconditionFailed as json.
func (*ShockerSendControlDEPRECATEDPreconditionFailed) MarshalJSON ¶
func (s *ShockerSendControlDEPRECATEDPreconditionFailed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerSendControlDEPRECATEDPreconditionFailed) SetFake ¶
func (s *ShockerSendControlDEPRECATEDPreconditionFailed) SetFake()
SetFake set fake values.
func (*ShockerSendControlDEPRECATEDPreconditionFailed) UnmarshalJSON ¶
func (s *ShockerSendControlDEPRECATEDPreconditionFailed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerSendControlDEPRECATEDRes ¶
type ShockerSendControlDEPRECATEDRes interface {
// contains filtered or unexported methods
}
type ShockerSendControlForbidden ¶
type ShockerSendControlForbidden OpenShockProblem
func (*ShockerSendControlForbidden) Decode ¶
func (s *ShockerSendControlForbidden) Decode(d *jx.Decoder) error
Decode decodes ShockerSendControlForbidden from json.
func (*ShockerSendControlForbidden) Encode ¶
func (s *ShockerSendControlForbidden) Encode(e *jx.Encoder)
Encode encodes ShockerSendControlForbidden as json.
func (*ShockerSendControlForbidden) MarshalJSON ¶
func (s *ShockerSendControlForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerSendControlForbidden) SetFake ¶
func (s *ShockerSendControlForbidden) SetFake()
SetFake set fake values.
func (*ShockerSendControlForbidden) UnmarshalJSON ¶
func (s *ShockerSendControlForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerSendControlNotFound ¶
type ShockerSendControlNotFound OpenShockProblem
func (*ShockerSendControlNotFound) Decode ¶
func (s *ShockerSendControlNotFound) Decode(d *jx.Decoder) error
Decode decodes ShockerSendControlNotFound from json.
func (*ShockerSendControlNotFound) Encode ¶
func (s *ShockerSendControlNotFound) Encode(e *jx.Encoder)
Encode encodes ShockerSendControlNotFound as json.
func (*ShockerSendControlNotFound) MarshalJSON ¶
func (s *ShockerSendControlNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerSendControlNotFound) SetFake ¶
func (s *ShockerSendControlNotFound) SetFake()
SetFake set fake values.
func (*ShockerSendControlNotFound) UnmarshalJSON ¶
func (s *ShockerSendControlNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerSendControlPreconditionFailed ¶
type ShockerSendControlPreconditionFailed OpenShockProblem
func (*ShockerSendControlPreconditionFailed) Decode ¶
func (s *ShockerSendControlPreconditionFailed) Decode(d *jx.Decoder) error
Decode decodes ShockerSendControlPreconditionFailed from json.
func (*ShockerSendControlPreconditionFailed) Encode ¶
func (s *ShockerSendControlPreconditionFailed) Encode(e *jx.Encoder)
Encode encodes ShockerSendControlPreconditionFailed as json.
func (*ShockerSendControlPreconditionFailed) MarshalJSON ¶
func (s *ShockerSendControlPreconditionFailed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerSendControlPreconditionFailed) SetFake ¶
func (s *ShockerSendControlPreconditionFailed) SetFake()
SetFake set fake values.
func (*ShockerSendControlPreconditionFailed) UnmarshalJSON ¶
func (s *ShockerSendControlPreconditionFailed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShockerSendControlRes ¶
type ShockerSendControlRes interface {
// contains filtered or unexported methods
}
type ShockerShockerShareCodeCreateParams ¶
type ShockerShockerShareCodeCreateParams struct {
}ShockerShockerShareCodeCreateParams is parameters of Shocker_ShockerShareCodeCreate operation.
type ShockerShockerShareCodeCreateRes ¶
type ShockerShockerShareCodeCreateRes interface {
// contains filtered or unexported methods
}
type ShockerShockerShareCodeListParams ¶
type ShockerShockerShareCodeListParams struct {
}ShockerShockerShareCodeListParams is parameters of Shocker_ShockerShareCodeList operation.
type ShockerShockerShareCodeListRes ¶
type ShockerShockerShareCodeListRes interface {
// contains filtered or unexported methods
}
type ShockerShockerShareCodePauseParams ¶
type ShockerShockerShareCodePauseParams struct {}
ShockerShockerShareCodePauseParams is parameters of Shocker_ShockerShareCodePause operation.
type ShockerShockerShareCodePauseRes ¶
type ShockerShockerShareCodePauseRes interface {
// contains filtered or unexported methods
}
type ShockerShockerShareCodeRemoveParams ¶
type ShockerShockerShareCodeRemoveParams struct {}
ShockerShockerShareCodeRemoveParams is parameters of Shocker_ShockerShareCodeRemove operation.
type ShockerShockerShareCodeRemoveRes ¶
type ShockerShockerShareCodeRemoveRes interface {
// contains filtered or unexported methods
}
type ShockerShockerShareCodeUpdateParams ¶
type ShockerShockerShareCodeUpdateParams struct {}
ShockerShockerShareCodeUpdateParams is parameters of Shocker_ShockerShareCodeUpdate operation.
type ShockerShockerShareCodeUpdateRes ¶
type ShockerShockerShareCodeUpdateRes interface {
// contains filtered or unexported methods
}
type ShockerWithDevice ¶
type ShockerWithDevice struct { ID OptUUID `json:"id"` RfId OptInt32 `json:"rfId"` Model OptShockerModelType `json:"model"` Name OptNilString `json:"name"` IsPaused OptBool `json:"isPaused"` CreatedOn OptDateTime `json:"createdOn"` Device OptUUID `json:"device"` }
Ref: #/components/schemas/ShockerWithDevice
func (*ShockerWithDevice) Decode ¶
func (s *ShockerWithDevice) Decode(d *jx.Decoder) error
Decode decodes ShockerWithDevice from json.
func (*ShockerWithDevice) Encode ¶
func (s *ShockerWithDevice) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShockerWithDevice) GetCreatedOn ¶
func (s *ShockerWithDevice) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*ShockerWithDevice) GetDevice ¶
func (s *ShockerWithDevice) GetDevice() OptUUID
GetDevice returns the value of Device.
func (*ShockerWithDevice) GetID ¶
func (s *ShockerWithDevice) GetID() OptUUID
GetID returns the value of ID.
func (*ShockerWithDevice) GetIsPaused ¶
func (s *ShockerWithDevice) GetIsPaused() OptBool
GetIsPaused returns the value of IsPaused.
func (*ShockerWithDevice) GetModel ¶
func (s *ShockerWithDevice) GetModel() OptShockerModelType
GetModel returns the value of Model.
func (*ShockerWithDevice) GetName ¶
func (s *ShockerWithDevice) GetName() OptNilString
GetName returns the value of Name.
func (*ShockerWithDevice) GetRfId ¶
func (s *ShockerWithDevice) GetRfId() OptInt32
GetRfId returns the value of RfId.
func (*ShockerWithDevice) MarshalJSON ¶
func (s *ShockerWithDevice) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerWithDevice) SetCreatedOn ¶
func (s *ShockerWithDevice) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*ShockerWithDevice) SetDevice ¶
func (s *ShockerWithDevice) SetDevice(val OptUUID)
SetDevice sets the value of Device.
func (*ShockerWithDevice) SetID ¶
func (s *ShockerWithDevice) SetID(val OptUUID)
SetID sets the value of ID.
func (*ShockerWithDevice) SetIsPaused ¶
func (s *ShockerWithDevice) SetIsPaused(val OptBool)
SetIsPaused sets the value of IsPaused.
func (*ShockerWithDevice) SetModel ¶
func (s *ShockerWithDevice) SetModel(val OptShockerModelType)
SetModel sets the value of Model.
func (*ShockerWithDevice) SetName ¶
func (s *ShockerWithDevice) SetName(val OptNilString)
SetName sets the value of Name.
func (*ShockerWithDevice) SetRfId ¶
func (s *ShockerWithDevice) SetRfId(val OptInt32)
SetRfId sets the value of RfId.
func (*ShockerWithDevice) UnmarshalJSON ¶
func (s *ShockerWithDevice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShockerWithDevice) Validate ¶
func (s *ShockerWithDevice) Validate() error
type ShockerWithDeviceBaseResponse ¶
type ShockerWithDeviceBaseResponse struct { Message OptNilString `json:"message"` Data OptShockerWithDevice `json:"data"` }
Ref: #/components/schemas/ShockerWithDeviceBaseResponse
func (*ShockerWithDeviceBaseResponse) Decode ¶
func (s *ShockerWithDeviceBaseResponse) Decode(d *jx.Decoder) error
Decode decodes ShockerWithDeviceBaseResponse from json.
func (*ShockerWithDeviceBaseResponse) Encode ¶
func (s *ShockerWithDeviceBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ShockerWithDeviceBaseResponse) GetData ¶
func (s *ShockerWithDeviceBaseResponse) GetData() OptShockerWithDevice
GetData returns the value of Data.
func (*ShockerWithDeviceBaseResponse) GetMessage ¶
func (s *ShockerWithDeviceBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ShockerWithDeviceBaseResponse) MarshalJSON ¶
func (s *ShockerWithDeviceBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShockerWithDeviceBaseResponse) SetData ¶
func (s *ShockerWithDeviceBaseResponse) SetData(val OptShockerWithDevice)
SetData sets the value of Data.
func (*ShockerWithDeviceBaseResponse) SetFake ¶
func (s *ShockerWithDeviceBaseResponse) SetFake()
SetFake set fake values.
func (*ShockerWithDeviceBaseResponse) SetMessage ¶
func (s *ShockerWithDeviceBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ShockerWithDeviceBaseResponse) UnmarshalJSON ¶
func (s *ShockerWithDeviceBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ShockerWithDeviceBaseResponse) Validate ¶
func (s *ShockerWithDeviceBaseResponse) Validate() error
type SignUp ¶
type SignUp struct { Username OptNilString `json:"username"` Password OptNilString `json:"password"` Email OptNilString `json:"email"` }
Ref: #/components/schemas/SignUp
func (*SignUp) GetEmail ¶
func (s *SignUp) GetEmail() OptNilString
GetEmail returns the value of Email.
func (*SignUp) GetPassword ¶
func (s *SignUp) GetPassword() OptNilString
GetPassword returns the value of Password.
func (*SignUp) GetUsername ¶
func (s *SignUp) GetUsername() OptNilString
GetUsername returns the value of Username.
func (*SignUp) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SignUp) SetEmail ¶
func (s *SignUp) SetEmail(val OptNilString)
SetEmail sets the value of Email.
func (*SignUp) SetPassword ¶
func (s *SignUp) SetPassword(val OptNilString)
SetPassword sets the value of Password.
func (*SignUp) SetUsername ¶
func (s *SignUp) SetUsername(val OptNilString)
SetUsername sets the value of Username.
func (*SignUp) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SignUpV2 ¶
type SignUpV2 struct { Username OptNilString `json:"username"` Password OptNilString `json:"password"` Email OptNilString `json:"email"` TurnstileResponse string `json:"turnstileResponse"` }
Ref: #/components/schemas/SignUpV2
func (*SignUpV2) GetEmail ¶
func (s *SignUpV2) GetEmail() OptNilString
GetEmail returns the value of Email.
func (*SignUpV2) GetPassword ¶
func (s *SignUpV2) GetPassword() OptNilString
GetPassword returns the value of Password.
func (*SignUpV2) GetTurnstileResponse ¶
GetTurnstileResponse returns the value of TurnstileResponse.
func (*SignUpV2) GetUsername ¶
func (s *SignUpV2) GetUsername() OptNilString
GetUsername returns the value of Username.
func (*SignUpV2) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SignUpV2) SetEmail ¶
func (s *SignUpV2) SetEmail(val OptNilString)
SetEmail sets the value of Email.
func (*SignUpV2) SetPassword ¶
func (s *SignUpV2) SetPassword(val OptNilString)
SetPassword sets the value of Password.
func (*SignUpV2) SetTurnstileResponse ¶
SetTurnstileResponse sets the value of TurnstileResponse.
func (*SignUpV2) SetUsername ¶
func (s *SignUpV2) SetUsername(val OptNilString)
SetUsername sets the value of Username.
func (*SignUpV2) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type StatsResponse ¶
type StatsResponse struct {
DevicesOnline OptInt32 `json:"devicesOnline"`
}
Ref: #/components/schemas/StatsResponse
func (*StatsResponse) Decode ¶
func (s *StatsResponse) Decode(d *jx.Decoder) error
Decode decodes StatsResponse from json.
func (*StatsResponse) Encode ¶
func (s *StatsResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StatsResponse) GetDevicesOnline ¶
func (s *StatsResponse) GetDevicesOnline() OptInt32
GetDevicesOnline returns the value of DevicesOnline.
func (*StatsResponse) MarshalJSON ¶
func (s *StatsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StatsResponse) SetDevicesOnline ¶
func (s *StatsResponse) SetDevicesOnline(val OptInt32)
SetDevicesOnline sets the value of DevicesOnline.
func (*StatsResponse) UnmarshalJSON ¶
func (s *StatsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StatsResponseBaseResponse ¶
type StatsResponseBaseResponse struct { Message OptNilString `json:"message"` Data OptStatsResponse `json:"data"` }
Ref: #/components/schemas/StatsResponseBaseResponse
func (*StatsResponseBaseResponse) Decode ¶
func (s *StatsResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes StatsResponseBaseResponse from json.
func (*StatsResponseBaseResponse) Encode ¶
func (s *StatsResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StatsResponseBaseResponse) GetData ¶
func (s *StatsResponseBaseResponse) GetData() OptStatsResponse
GetData returns the value of Data.
func (*StatsResponseBaseResponse) GetMessage ¶
func (s *StatsResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*StatsResponseBaseResponse) MarshalJSON ¶
func (s *StatsResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StatsResponseBaseResponse) SetData ¶
func (s *StatsResponseBaseResponse) SetData(val OptStatsResponse)
SetData sets the value of Data.
func (*StatsResponseBaseResponse) SetFake ¶
func (s *StatsResponseBaseResponse) SetFake()
SetFake set fake values.
func (*StatsResponseBaseResponse) SetMessage ¶
func (s *StatsResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*StatsResponseBaseResponse) UnmarshalJSON ¶
func (s *StatsResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StringBaseResponse ¶
type StringBaseResponse struct { Message OptNilString `json:"message"` Data OptNilString `json:"data"` }
Ref: #/components/schemas/StringBaseResponse
func (*StringBaseResponse) Decode ¶
func (s *StringBaseResponse) Decode(d *jx.Decoder) error
Decode decodes StringBaseResponse from json.
func (*StringBaseResponse) Encode ¶
func (s *StringBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StringBaseResponse) GetData ¶
func (s *StringBaseResponse) GetData() OptNilString
GetData returns the value of Data.
func (*StringBaseResponse) GetMessage ¶
func (s *StringBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*StringBaseResponse) MarshalJSON ¶
func (s *StringBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringBaseResponse) SetData ¶
func (s *StringBaseResponse) SetData(val OptNilString)
SetData sets the value of Data.
func (*StringBaseResponse) SetFake ¶
func (s *StringBaseResponse) SetFake()
SetFake set fake values.
func (*StringBaseResponse) SetMessage ¶
func (s *StringBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*StringBaseResponse) UnmarshalJSON ¶
func (s *StringBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TokenResponse ¶
type TokenResponse struct { ID OptUUID `json:"id"` Name OptNilString `json:"name"` CreatedOn OptDateTime `json:"createdOn"` CreatedByIp OptNilString `json:"createdByIp"` ValidUntil OptNilDate `json:"validUntil"` Permissions OptNilPermissionTypeArray `json:"permissions"` }
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) GetCreatedByIp ¶
func (s *TokenResponse) GetCreatedByIp() OptNilString
GetCreatedByIp returns the value of CreatedByIp.
func (*TokenResponse) GetCreatedOn ¶
func (s *TokenResponse) GetCreatedOn() OptDateTime
GetCreatedOn returns the value of CreatedOn.
func (*TokenResponse) GetID ¶
func (s *TokenResponse) GetID() OptUUID
GetID returns the value of ID.
func (*TokenResponse) GetName ¶
func (s *TokenResponse) GetName() OptNilString
GetName returns the value of Name.
func (*TokenResponse) GetPermissions ¶
func (s *TokenResponse) GetPermissions() OptNilPermissionTypeArray
GetPermissions returns the value of Permissions.
func (*TokenResponse) GetValidUntil ¶
func (s *TokenResponse) GetValidUntil() OptNilDate
GetValidUntil returns the value of ValidUntil.
func (*TokenResponse) MarshalJSON ¶
func (s *TokenResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenResponse) SetCreatedByIp ¶
func (s *TokenResponse) SetCreatedByIp(val OptNilString)
SetCreatedByIp sets the value of CreatedByIp.
func (*TokenResponse) SetCreatedOn ¶
func (s *TokenResponse) SetCreatedOn(val OptDateTime)
SetCreatedOn sets the value of CreatedOn.
func (*TokenResponse) SetID ¶
func (s *TokenResponse) SetID(val OptUUID)
SetID sets the value of ID.
func (*TokenResponse) SetName ¶
func (s *TokenResponse) SetName(val OptNilString)
SetName sets the value of Name.
func (*TokenResponse) SetPermissions ¶
func (s *TokenResponse) SetPermissions(val OptNilPermissionTypeArray)
SetPermissions sets the value of Permissions.
func (*TokenResponse) SetValidUntil ¶
func (s *TokenResponse) SetValidUntil(val OptNilDate)
SetValidUntil sets the value of ValidUntil.
func (*TokenResponse) UnmarshalJSON ¶
func (s *TokenResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TokenResponse) Validate ¶
func (s *TokenResponse) Validate() error
type TokenResponseBaseResponse ¶
type TokenResponseBaseResponse struct { Message OptNilString `json:"message"` Data OptTokenResponse `json:"data"` }
Ref: #/components/schemas/TokenResponseBaseResponse
func (*TokenResponseBaseResponse) Decode ¶
func (s *TokenResponseBaseResponse) Decode(d *jx.Decoder) error
Decode decodes TokenResponseBaseResponse from json.
func (*TokenResponseBaseResponse) Encode ¶
func (s *TokenResponseBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TokenResponseBaseResponse) GetData ¶
func (s *TokenResponseBaseResponse) GetData() OptTokenResponse
GetData returns the value of Data.
func (*TokenResponseBaseResponse) GetMessage ¶
func (s *TokenResponseBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*TokenResponseBaseResponse) MarshalJSON ¶
func (s *TokenResponseBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenResponseBaseResponse) SetData ¶
func (s *TokenResponseBaseResponse) SetData(val OptTokenResponse)
SetData sets the value of Data.
func (*TokenResponseBaseResponse) SetFake ¶
func (s *TokenResponseBaseResponse) SetFake()
SetFake set fake values.
func (*TokenResponseBaseResponse) SetMessage ¶
func (s *TokenResponseBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*TokenResponseBaseResponse) UnmarshalJSON ¶
func (s *TokenResponseBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TokenResponseBaseResponse) Validate ¶
func (s *TokenResponseBaseResponse) Validate() error
type TokenResponseIEnumerableBaseResponse ¶
type TokenResponseIEnumerableBaseResponse struct { Message OptNilString `json:"message"` Data OptNilTokenResponseArray `json:"data"` }
Ref: #/components/schemas/TokenResponseIEnumerableBaseResponse
func (*TokenResponseIEnumerableBaseResponse) Decode ¶
func (s *TokenResponseIEnumerableBaseResponse) Decode(d *jx.Decoder) error
Decode decodes TokenResponseIEnumerableBaseResponse from json.
func (*TokenResponseIEnumerableBaseResponse) Encode ¶
func (s *TokenResponseIEnumerableBaseResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TokenResponseIEnumerableBaseResponse) GetData ¶
func (s *TokenResponseIEnumerableBaseResponse) GetData() OptNilTokenResponseArray
GetData returns the value of Data.
func (*TokenResponseIEnumerableBaseResponse) GetMessage ¶
func (s *TokenResponseIEnumerableBaseResponse) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*TokenResponseIEnumerableBaseResponse) MarshalJSON ¶
func (s *TokenResponseIEnumerableBaseResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenResponseIEnumerableBaseResponse) SetData ¶
func (s *TokenResponseIEnumerableBaseResponse) SetData(val OptNilTokenResponseArray)
SetData sets the value of Data.
func (*TokenResponseIEnumerableBaseResponse) SetFake ¶
func (s *TokenResponseIEnumerableBaseResponse) SetFake()
SetFake set fake values.
func (*TokenResponseIEnumerableBaseResponse) SetMessage ¶
func (s *TokenResponseIEnumerableBaseResponse) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*TokenResponseIEnumerableBaseResponse) UnmarshalJSON ¶
func (s *TokenResponseIEnumerableBaseResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TokenResponseIEnumerableBaseResponse) Validate ¶
func (s *TokenResponseIEnumerableBaseResponse) Validate() error
type TokensDeleteTokenParams ¶
TokensDeleteTokenParams is parameters of Tokens_DeleteToken operation.
type TokensDeleteTokenRes ¶
type TokensDeleteTokenRes interface {
// contains filtered or unexported methods
}
type TokensEditTokenParams ¶
TokensEditTokenParams is parameters of Tokens_EditToken operation.
type TokensEditTokenRes ¶
type TokensEditTokenRes interface {
// contains filtered or unexported methods
}
type TokensGetTokenByIdParams ¶
TokensGetTokenByIdParams is parameters of Tokens_GetTokenById operation.
type TokensGetTokenByIdRes ¶
type TokensGetTokenByIdRes interface {
// contains filtered or unexported methods
}