Documentation ¶
Overview ¶
Package myuplink provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewGetAssetsIdentityServerAnyRequest(server string, any string) (*http.Request, error)
- func NewGetConnectAuthorizeCallbackRequest(server string) (*http.Request, error)
- func NewGetOauthAuthorizeRequest(server string) (*http.Request, error)
- func NewGetOauthConsentRequest(server string) (*http.Request, error)
- func NewGetOauthErrorRequest(server string) (*http.Request, error)
- func NewGetOauthLoginRequest(server string) (*http.Request, error)
- func NewGetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadRequest(server string, brandId string, firmwareTypeId string, version string) (*http.Request, error)
- func NewGetV2DevicesDeviceIdAidModeRequest(server string, deviceId string) (*http.Request, error)
- func NewGetV2DevicesDeviceIdFirmwareInfoRequest(server string, deviceId string) (*http.Request, error)
- func NewGetV2DevicesDeviceIdPointsRequest(server string, deviceId string, params *GetV2DevicesDeviceIdPointsParams) (*http.Request, error)
- func NewGetV2DevicesDeviceIdRequest(server string, deviceId string) (*http.Request, error)
- func NewGetV2DevicesDeviceIdSmartHomeCategoriesRequest(server string, deviceId string) (*http.Request, error)
- func NewGetV2DevicesDeviceIdSmartHomeZonesRequest(server string, deviceId string, ...) (*http.Request, error)
- func NewGetV2FirmwareFirmwareTypeIdVersionVersionDownloadRequest(server string, firmwareTypeId string, version string) (*http.Request, error)
- func NewGetV2ProtectedPingRequest(server string) (*http.Request, error)
- func NewGetV2SystemsMeRequest(server string, params *GetV2SystemsMeParams) (*http.Request, error)
- func NewGetV2SystemsSystemIdNotificationsActiveRequest(server string, systemId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetV2SystemsSystemIdNotificationsRequest(server string, systemId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetV2SystemsSystemIdSmartHomeModeRequest(server string, systemId openapi_types.UUID) (*http.Request, error)
- func NewGetV2SystemsSystemIdSubscriptionsRequest(server string, systemId openapi_types.UUID) (*http.Request, error)
- func NewGetV3DevicesDeviceIdPointsRequest(server string, deviceId string, params *GetV3DevicesDeviceIdPointsParams) (*http.Request, error)
- func NewGetWellKnownOpenidConfigurationJwksRequest(server string) (*http.Request, error)
- func NewGetWellKnownOpenidConfigurationRequest(server string) (*http.Request, error)
- func NewPatchV2DevicesDeviceIdPointsRequest(server string, deviceId string, ...) (*http.Request, error)
- func NewPatchV2DevicesDeviceIdPointsRequestWithApplicationJSONPatchPlusJSONBody(server string, deviceId string, ...) (*http.Request, error)
- func NewPatchV2DevicesDeviceIdPointsRequestWithApplicationWildcardPlusJSONBody(server string, deviceId string, ...) (*http.Request, error)
- func NewPatchV2DevicesDeviceIdPointsRequestWithBody(server string, deviceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchV2DevicesDeviceIdZonesZoneIdRequest(server string, deviceId string, zoneId int32, ...) (*http.Request, error)
- func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithApplicationJSONPatchPlusJSONBody(server string, deviceId string, zoneId int32, ...) (*http.Request, error)
- func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithApplicationWildcardPlusJSONBody(server string, deviceId string, zoneId int32, ...) (*http.Request, error)
- func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithBody(server string, deviceId string, zoneId int32, contentType string, ...) (*http.Request, error)
- func NewPostOauthAuthorizeRequest(server string) (*http.Request, error)
- func NewPostOauthConsentRequest(server string) (*http.Request, error)
- func NewPostOauthLoginRequest(server string) (*http.Request, error)
- func NewPostOauthTokenRequest(server string) (*http.Request, error)
- func NewPutV2SystemsSystemIdSmartHomeModeRequest(server string, systemId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutV2SystemsSystemIdSmartHomeModeRequestWithApplicationJSONPatchPlusJSONBody(server string, systemId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutV2SystemsSystemIdSmartHomeModeRequestWithApplicationWildcardPlusJSONBody(server string, systemId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutV2SystemsSystemIdSmartHomeModeRequestWithBody(server string, systemId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AidMode
- type AidModeResponseModel
- type Alarm
- type AlarmStatus
- type AlarmsPaged
- type AvailableMethods
- type Client
- func (c *Client) GetAssetsIdentityServerAny(ctx context.Context, any string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConnectAuthorizeCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOauthAuthorize(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOauthConsent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOauthError(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOauthLogin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownload(ctx context.Context, brandId string, firmwareTypeId string, version string, ...) (*http.Response, error)
- func (c *Client) GetV2DevicesDeviceId(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2DevicesDeviceIdAidMode(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2DevicesDeviceIdFirmwareInfo(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2DevicesDeviceIdPoints(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdPointsParams, ...) (*http.Response, error)
- func (c *Client) GetV2DevicesDeviceIdSmartHomeCategories(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2DevicesDeviceIdSmartHomeZones(ctx context.Context, deviceId string, ...) (*http.Response, error)
- func (c *Client) GetV2FirmwareFirmwareTypeIdVersionVersionDownload(ctx context.Context, firmwareTypeId string, version string, ...) (*http.Response, error)
- func (c *Client) GetV2ProtectedPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2SystemsMe(ctx context.Context, params *GetV2SystemsMeParams, ...) (*http.Response, error)
- func (c *Client) GetV2SystemsSystemIdNotifications(ctx context.Context, systemId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetV2SystemsSystemIdNotificationsActive(ctx context.Context, systemId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetV2SystemsSystemIdSmartHomeMode(ctx context.Context, systemId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetV2SystemsSystemIdSubscriptions(ctx context.Context, systemId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetV3DevicesDeviceIdPoints(ctx context.Context, deviceId string, params *GetV3DevicesDeviceIdPointsParams, ...) (*http.Response, error)
- func (c *Client) GetWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWellKnownOpenidConfigurationJwks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchV2DevicesDeviceIdPoints(ctx context.Context, deviceId string, ...) (*http.Response, error)
- func (c *Client) PatchV2DevicesDeviceIdPointsWithApplicationJSONPatchPlusJSONBody(ctx context.Context, deviceId string, ...) (*http.Response, error)
- func (c *Client) PatchV2DevicesDeviceIdPointsWithApplicationWildcardPlusJSONBody(ctx context.Context, deviceId string, ...) (*http.Response, error)
- func (c *Client) PatchV2DevicesDeviceIdPointsWithBody(ctx context.Context, deviceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchV2DevicesDeviceIdZonesZoneId(ctx context.Context, deviceId string, zoneId int32, ...) (*http.Response, error)
- func (c *Client) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationJSONPatchPlusJSONBody(ctx context.Context, deviceId string, zoneId int32, ...) (*http.Response, error)
- func (c *Client) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationWildcardPlusJSONBody(ctx context.Context, deviceId string, zoneId int32, ...) (*http.Response, error)
- func (c *Client) PatchV2DevicesDeviceIdZonesZoneIdWithBody(ctx context.Context, deviceId string, zoneId int32, contentType string, ...) (*http.Response, error)
- func (c *Client) PostOauthAuthorize(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostOauthConsent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostOauthLogin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostOauthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PutV2SystemsSystemIdSmartHomeMode(ctx context.Context, systemId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutV2SystemsSystemIdSmartHomeModeWithApplicationJSONPatchPlusJSONBody(ctx context.Context, systemId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutV2SystemsSystemIdSmartHomeModeWithApplicationWildcardPlusJSONBody(ctx context.Context, systemId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutV2SystemsSystemIdSmartHomeModeWithBody(ctx context.Context, systemId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) GetAssetsIdentityServerAnyWithResponse(ctx context.Context, any string, reqEditors ...RequestEditorFn) (*GetAssetsIdentityServerAnyResponse, error)
- func (c *ClientWithResponses) GetConnectAuthorizeCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConnectAuthorizeCallbackResponse, error)
- func (c *ClientWithResponses) GetOauthAuthorizeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthAuthorizeResponse, error)
- func (c *ClientWithResponses) GetOauthConsentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthConsentResponse, error)
- func (c *ClientWithResponses) GetOauthErrorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthErrorResponse, error)
- func (c *ClientWithResponses) GetOauthLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthLoginResponse, error)
- func (c *ClientWithResponses) GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadWithResponse(ctx context.Context, brandId string, firmwareTypeId string, version string, ...) (*GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse, error)
- func (c *ClientWithResponses) GetV2DevicesDeviceIdAidModeWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdAidModeResponse, error)
- func (c *ClientWithResponses) GetV2DevicesDeviceIdFirmwareInfoWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdFirmwareInfoResponse, error)
- func (c *ClientWithResponses) GetV2DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdPointsParams, ...) (*GetV2DevicesDeviceIdPointsResponse, error)
- func (c *ClientWithResponses) GetV2DevicesDeviceIdSmartHomeCategoriesWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdSmartHomeCategoriesResponse, error)
- func (c *ClientWithResponses) GetV2DevicesDeviceIdSmartHomeZonesWithResponse(ctx context.Context, deviceId string, ...) (*GetV2DevicesDeviceIdSmartHomeZonesResponse, error)
- func (c *ClientWithResponses) GetV2DevicesDeviceIdWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdResponse, error)
- func (c *ClientWithResponses) GetV2FirmwareFirmwareTypeIdVersionVersionDownloadWithResponse(ctx context.Context, firmwareTypeId string, version string, ...) (*GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse, error)
- func (c *ClientWithResponses) GetV2ProtectedPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2ProtectedPingResponse, error)
- func (c *ClientWithResponses) GetV2SystemsMeWithResponse(ctx context.Context, params *GetV2SystemsMeParams, ...) (*GetV2SystemsMeResponse, error)
- func (c *ClientWithResponses) GetV2SystemsSystemIdNotificationsActiveWithResponse(ctx context.Context, systemId openapi_types.UUID, ...) (*GetV2SystemsSystemIdNotificationsActiveResponse, error)
- func (c *ClientWithResponses) GetV2SystemsSystemIdNotificationsWithResponse(ctx context.Context, systemId openapi_types.UUID, ...) (*GetV2SystemsSystemIdNotificationsResponse, error)
- func (c *ClientWithResponses) GetV2SystemsSystemIdSmartHomeModeWithResponse(ctx context.Context, systemId openapi_types.UUID, ...) (*GetV2SystemsSystemIdSmartHomeModeResponse, error)
- func (c *ClientWithResponses) GetV2SystemsSystemIdSubscriptionsWithResponse(ctx context.Context, systemId openapi_types.UUID, ...) (*GetV2SystemsSystemIdSubscriptionsResponse, error)
- func (c *ClientWithResponses) GetV3DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, params *GetV3DevicesDeviceIdPointsParams, ...) (*GetV3DevicesDeviceIdPointsResponse, error)
- func (c *ClientWithResponses) GetWellKnownOpenidConfigurationJwksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationJwksResponse, error)
- func (c *ClientWithResponses) GetWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationResponse, error)
- func (c *ClientWithResponses) PatchV2DevicesDeviceIdPointsWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, deviceId string, ...) (*PatchV2DevicesDeviceIdPointsResponse, error)
- func (c *ClientWithResponses) PatchV2DevicesDeviceIdPointsWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, deviceId string, ...) (*PatchV2DevicesDeviceIdPointsResponse, error)
- func (c *ClientWithResponses) PatchV2DevicesDeviceIdPointsWithBodyWithResponse(ctx context.Context, deviceId string, contentType string, body io.Reader, ...) (*PatchV2DevicesDeviceIdPointsResponse, error)
- func (c *ClientWithResponses) PatchV2DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, ...) (*PatchV2DevicesDeviceIdPointsResponse, error)
- func (c *ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, ...) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
- func (c *ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, ...) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
- func (c *ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, contentType string, ...) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
- func (c *ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithResponse(ctx context.Context, deviceId string, zoneId int32, ...) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
- func (c *ClientWithResponses) PostOauthAuthorizeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthAuthorizeResponse, error)
- func (c *ClientWithResponses) PostOauthConsentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthConsentResponse, error)
- func (c *ClientWithResponses) PostOauthLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthLoginResponse, error)
- func (c *ClientWithResponses) PostOauthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthTokenResponse, error)
- func (c *ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, ...) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
- func (c *ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, ...) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
- func (c *ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, contentType string, ...) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
- func (c *ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithResponse(ctx context.Context, systemId openapi_types.UUID, ...) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
- type ClientWithResponsesInterface
- type CloudToDeviceMethodResult
- type DeviceConnectionState
- type DeviceFirmwareInfoResponse
- type DevicePremiumResponse
- type DeviceResponseModel
- type EnumValues
- type FirmwareResponseModel
- type GetAssetsIdentityServerAnyResponse
- type GetConnectAuthorizeCallbackResponse
- type GetOauthAuthorizeResponse
- type GetOauthConsentResponse
- type GetOauthErrorResponse
- type GetOauthLoginResponse
- type GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse
- type GetV2DevicesDeviceIdAidModeResponse
- type GetV2DevicesDeviceIdFirmwareInfoResponse
- type GetV2DevicesDeviceIdPointsParams
- type GetV2DevicesDeviceIdPointsResponse
- type GetV2DevicesDeviceIdResponse
- type GetV2DevicesDeviceIdSmartHomeCategoriesResponse
- type GetV2DevicesDeviceIdSmartHomeZonesParams
- type GetV2DevicesDeviceIdSmartHomeZonesResponse
- type GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse
- type GetV2ProtectedPingResponse
- type GetV2SystemsMeParams
- type GetV2SystemsMeResponse
- type GetV2SystemsSystemIdNotificationsActiveParams
- type GetV2SystemsSystemIdNotificationsActiveResponse
- type GetV2SystemsSystemIdNotificationsParams
- type GetV2SystemsSystemIdNotificationsResponse
- type GetV2SystemsSystemIdSmartHomeModeResponse
- type GetV2SystemsSystemIdSubscriptionsResponse
- type GetV3DevicesDeviceIdPointsParams
- type GetV3DevicesDeviceIdPointsResponse
- type GetWellKnownOpenidConfigurationJwksResponse
- type GetWellKnownOpenidConfigurationResponse
- type HttpRequestDoer
- type PagedSystemResult
- type ParameterData
- type PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONBody
- type PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody
- type PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONBody
- type PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody
- type PatchV2DevicesDeviceIdPointsJSONBody
- type PatchV2DevicesDeviceIdPointsJSONRequestBody
- type PatchV2DevicesDeviceIdPointsResponse
- type PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody
- type PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody
- type PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody
- type PatchV2DevicesDeviceIdZonesZoneIdResponse
- type PostOauthAuthorizeResponse
- type PostOauthConsentResponse
- type PostOauthLoginResponse
- type PostOauthTokenResponse
- type PremiumFeatureResponseModel
- type PremiumFeatures
- type Product
- type ProductResponseModel
- type PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody
- type PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody
- type PutV2SystemsSystemIdSmartHomeModeJSONRequestBody
- type PutV2SystemsSystemIdSmartHomeModeResponse
- type RequestEditorFn
- type SecurityLevel
- type SmartHomeModeModel
- type SmartMode
- type Status
- type SystemDevice
- type SystemWithDevices
- type ZonePatchRequest
- type ZoneResponse
Constants ¶
const ( Client_CredentialsScopes = "Client_Credentials.Scopes" Client_Credentials_AD_B2CScopes = "Client_Credentials_AD_B2C.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func NewGetAssetsIdentityServerAnyRequest ¶
NewGetAssetsIdentityServerAnyRequest generates requests for GetAssetsIdentityServerAny
func NewGetConnectAuthorizeCallbackRequest ¶
NewGetConnectAuthorizeCallbackRequest generates requests for GetConnectAuthorizeCallback
func NewGetOauthAuthorizeRequest ¶
NewGetOauthAuthorizeRequest generates requests for GetOauthAuthorize
func NewGetOauthConsentRequest ¶
NewGetOauthConsentRequest generates requests for GetOauthConsent
func NewGetOauthErrorRequest ¶
NewGetOauthErrorRequest generates requests for GetOauthError
func NewGetOauthLoginRequest ¶
NewGetOauthLoginRequest generates requests for GetOauthLogin
func NewGetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadRequest ¶
func NewGetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadRequest(server string, brandId string, firmwareTypeId string, version string) (*http.Request, error)
NewGetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadRequest generates requests for GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownload
func NewGetV2DevicesDeviceIdAidModeRequest ¶
NewGetV2DevicesDeviceIdAidModeRequest generates requests for GetV2DevicesDeviceIdAidMode
func NewGetV2DevicesDeviceIdFirmwareInfoRequest ¶
func NewGetV2DevicesDeviceIdFirmwareInfoRequest(server string, deviceId string) (*http.Request, error)
NewGetV2DevicesDeviceIdFirmwareInfoRequest generates requests for GetV2DevicesDeviceIdFirmwareInfo
func NewGetV2DevicesDeviceIdPointsRequest ¶
func NewGetV2DevicesDeviceIdPointsRequest(server string, deviceId string, params *GetV2DevicesDeviceIdPointsParams) (*http.Request, error)
NewGetV2DevicesDeviceIdPointsRequest generates requests for GetV2DevicesDeviceIdPoints
func NewGetV2DevicesDeviceIdRequest ¶
NewGetV2DevicesDeviceIdRequest generates requests for GetV2DevicesDeviceId
func NewGetV2DevicesDeviceIdSmartHomeCategoriesRequest ¶
func NewGetV2DevicesDeviceIdSmartHomeCategoriesRequest(server string, deviceId string) (*http.Request, error)
NewGetV2DevicesDeviceIdSmartHomeCategoriesRequest generates requests for GetV2DevicesDeviceIdSmartHomeCategories
func NewGetV2DevicesDeviceIdSmartHomeZonesRequest ¶
func NewGetV2DevicesDeviceIdSmartHomeZonesRequest(server string, deviceId string, params *GetV2DevicesDeviceIdSmartHomeZonesParams) (*http.Request, error)
NewGetV2DevicesDeviceIdSmartHomeZonesRequest generates requests for GetV2DevicesDeviceIdSmartHomeZones
func NewGetV2FirmwareFirmwareTypeIdVersionVersionDownloadRequest ¶
func NewGetV2FirmwareFirmwareTypeIdVersionVersionDownloadRequest(server string, firmwareTypeId string, version string) (*http.Request, error)
NewGetV2FirmwareFirmwareTypeIdVersionVersionDownloadRequest generates requests for GetV2FirmwareFirmwareTypeIdVersionVersionDownload
func NewGetV2ProtectedPingRequest ¶
NewGetV2ProtectedPingRequest generates requests for GetV2ProtectedPing
func NewGetV2SystemsMeRequest ¶
func NewGetV2SystemsMeRequest(server string, params *GetV2SystemsMeParams) (*http.Request, error)
NewGetV2SystemsMeRequest generates requests for GetV2SystemsMe
func NewGetV2SystemsSystemIdNotificationsActiveRequest ¶
func NewGetV2SystemsSystemIdNotificationsActiveRequest(server string, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsActiveParams) (*http.Request, error)
NewGetV2SystemsSystemIdNotificationsActiveRequest generates requests for GetV2SystemsSystemIdNotificationsActive
func NewGetV2SystemsSystemIdNotificationsRequest ¶
func NewGetV2SystemsSystemIdNotificationsRequest(server string, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsParams) (*http.Request, error)
NewGetV2SystemsSystemIdNotificationsRequest generates requests for GetV2SystemsSystemIdNotifications
func NewGetV2SystemsSystemIdSmartHomeModeRequest ¶
func NewGetV2SystemsSystemIdSmartHomeModeRequest(server string, systemId openapi_types.UUID) (*http.Request, error)
NewGetV2SystemsSystemIdSmartHomeModeRequest generates requests for GetV2SystemsSystemIdSmartHomeMode
func NewGetV2SystemsSystemIdSubscriptionsRequest ¶
func NewGetV2SystemsSystemIdSubscriptionsRequest(server string, systemId openapi_types.UUID) (*http.Request, error)
NewGetV2SystemsSystemIdSubscriptionsRequest generates requests for GetV2SystemsSystemIdSubscriptions
func NewGetV3DevicesDeviceIdPointsRequest ¶
func NewGetV3DevicesDeviceIdPointsRequest(server string, deviceId string, params *GetV3DevicesDeviceIdPointsParams) (*http.Request, error)
NewGetV3DevicesDeviceIdPointsRequest generates requests for GetV3DevicesDeviceIdPoints
func NewGetWellKnownOpenidConfigurationJwksRequest ¶
NewGetWellKnownOpenidConfigurationJwksRequest generates requests for GetWellKnownOpenidConfigurationJwks
func NewGetWellKnownOpenidConfigurationRequest ¶
NewGetWellKnownOpenidConfigurationRequest generates requests for GetWellKnownOpenidConfiguration
func NewPatchV2DevicesDeviceIdPointsRequest ¶
func NewPatchV2DevicesDeviceIdPointsRequest(server string, deviceId string, body PatchV2DevicesDeviceIdPointsJSONRequestBody) (*http.Request, error)
NewPatchV2DevicesDeviceIdPointsRequest calls the generic PatchV2DevicesDeviceIdPoints builder with application/json body
func NewPatchV2DevicesDeviceIdPointsRequestWithApplicationJSONPatchPlusJSONBody ¶
func NewPatchV2DevicesDeviceIdPointsRequestWithApplicationJSONPatchPlusJSONBody(server string, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)
NewPatchV2DevicesDeviceIdPointsRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchV2DevicesDeviceIdPoints builder with application/json-patch+json body
func NewPatchV2DevicesDeviceIdPointsRequestWithApplicationWildcardPlusJSONBody ¶
func NewPatchV2DevicesDeviceIdPointsRequestWithApplicationWildcardPlusJSONBody(server string, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewPatchV2DevicesDeviceIdPointsRequestWithApplicationWildcardPlusJSONBody calls the generic PatchV2DevicesDeviceIdPoints builder with application/*+json body
func NewPatchV2DevicesDeviceIdPointsRequestWithBody ¶
func NewPatchV2DevicesDeviceIdPointsRequestWithBody(server string, deviceId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV2DevicesDeviceIdPointsRequestWithBody generates requests for PatchV2DevicesDeviceIdPoints with any type of body
func NewPatchV2DevicesDeviceIdZonesZoneIdRequest ¶
func NewPatchV2DevicesDeviceIdZonesZoneIdRequest(server string, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody) (*http.Request, error)
NewPatchV2DevicesDeviceIdZonesZoneIdRequest calls the generic PatchV2DevicesDeviceIdZonesZoneId builder with application/json body
func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithApplicationJSONPatchPlusJSONBody ¶
func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithApplicationJSONPatchPlusJSONBody(server string, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)
NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchV2DevicesDeviceIdZonesZoneId builder with application/json-patch+json body
func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithApplicationWildcardPlusJSONBody ¶
func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithApplicationWildcardPlusJSONBody(server string, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithApplicationWildcardPlusJSONBody calls the generic PatchV2DevicesDeviceIdZonesZoneId builder with application/*+json body
func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithBody ¶
func NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithBody(server string, deviceId string, zoneId int32, contentType string, body io.Reader) (*http.Request, error)
NewPatchV2DevicesDeviceIdZonesZoneIdRequestWithBody generates requests for PatchV2DevicesDeviceIdZonesZoneId with any type of body
func NewPostOauthAuthorizeRequest ¶
NewPostOauthAuthorizeRequest generates requests for PostOauthAuthorize
func NewPostOauthConsentRequest ¶
NewPostOauthConsentRequest generates requests for PostOauthConsent
func NewPostOauthLoginRequest ¶
NewPostOauthLoginRequest generates requests for PostOauthLogin
func NewPostOauthTokenRequest ¶
NewPostOauthTokenRequest generates requests for PostOauthToken
func NewPutV2SystemsSystemIdSmartHomeModeRequest ¶
func NewPutV2SystemsSystemIdSmartHomeModeRequest(server string, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeJSONRequestBody) (*http.Request, error)
NewPutV2SystemsSystemIdSmartHomeModeRequest calls the generic PutV2SystemsSystemIdSmartHomeMode builder with application/json body
func NewPutV2SystemsSystemIdSmartHomeModeRequestWithApplicationJSONPatchPlusJSONBody ¶
func NewPutV2SystemsSystemIdSmartHomeModeRequestWithApplicationJSONPatchPlusJSONBody(server string, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)
NewPutV2SystemsSystemIdSmartHomeModeRequestWithApplicationJSONPatchPlusJSONBody calls the generic PutV2SystemsSystemIdSmartHomeMode builder with application/json-patch+json body
func NewPutV2SystemsSystemIdSmartHomeModeRequestWithApplicationWildcardPlusJSONBody ¶
func NewPutV2SystemsSystemIdSmartHomeModeRequestWithApplicationWildcardPlusJSONBody(server string, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody) (*http.Request, error)
NewPutV2SystemsSystemIdSmartHomeModeRequestWithApplicationWildcardPlusJSONBody calls the generic PutV2SystemsSystemIdSmartHomeMode builder with application/*+json body
func NewPutV2SystemsSystemIdSmartHomeModeRequestWithBody ¶
func NewPutV2SystemsSystemIdSmartHomeModeRequestWithBody(server string, systemId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutV2SystemsSystemIdSmartHomeModeRequestWithBody generates requests for PutV2SystemsSystemIdSmartHomeMode with any type of body
Types ¶
type AidModeResponseModel ¶
type AidModeResponseModel struct {
AidMode *AidMode `json:"aidMode,omitempty"`
}
AidModeResponseModel defines model for AidModeResponseModel.
type Alarm ¶
type Alarm struct { // AlarmNumber The company´s id of the alarm. AlarmNumber *int32 `json:"alarmNumber,omitempty"` // CreatedDatetime Date of the creation. CreatedDatetime *string `json:"createdDatetime"` // Description Localized alarm description. Description *string `json:"description"` // DeviceId The device which the alarm belongs to. DeviceId *string `json:"deviceId"` // EquipName The name of the equipment. EquipName *string `json:"equipName"` // Header Localized alarm title. Header *string `json:"header"` // Id The id of the alarm stored in the database. Id *openapi_types.UUID `json:"id,omitempty"` // Severity Determines the severity of the alarm, // 1 being the most severe. Severity *int32 `json:"severity,omitempty"` Status *Status `json:"status,omitempty"` // StatusHistory Status history. StatusHistory *[]AlarmStatus `json:"statusHistory"` }
Alarm Alarm.
type AlarmStatus ¶
type AlarmStatus struct { // Datetime Date of the alarm. Datetime *int32 `json:"datetime,omitempty"` Status *Status `json:"status,omitempty"` }
AlarmStatus defines model for AlarmStatus.
type AlarmsPaged ¶
type AlarmsPaged struct { // ItemsPerPage Items per page. ItemsPerPage *int32 `json:"itemsPerPage,omitempty"` // Notifications Notifications. Notifications *[]Alarm `json:"notifications"` // NumItems Num items. NumItems *int32 `json:"numItems,omitempty"` // Page Page. Page *int32 `json:"page,omitempty"` }
AlarmsPaged Alarms paged.
type AvailableMethods ¶
type AvailableMethods struct { BoostHotWater *bool `json:"boostHotWater,omitempty"` BoostVentilation *bool `json:"boostVentilation,omitempty"` ForceUpdate *bool `json:"forceUpdate,omitempty"` Forcesync *bool `json:"forcesync,omitempty"` GetGuideQuestion *bool `json:"getGuideQuestion,omitempty"` GetMenu *bool `json:"getMenu,omitempty"` GetMenuChain *bool `json:"getMenuChain,omitempty"` GetScheduleConfig *bool `json:"getScheduleConfig,omitempty"` GetScheduleModes *bool `json:"getScheduleModes,omitempty"` GetScheduleVacation *bool `json:"getScheduleVacation,omitempty"` GetScheduleWeekly *bool `json:"getScheduleWeekly,omitempty"` GetZones *bool `json:"getZones,omitempty"` ProcessIntent *bool `json:"processIntent,omitempty"` Reboot *bool `json:"reboot,omitempty"` RequestUpdate *bool `json:"requestUpdate,omitempty"` ResetAlarm *bool `json:"resetAlarm,omitempty"` SendHaystack *bool `json:"sendHaystack,omitempty"` SetAidMode *bool `json:"setAidMode,omitempty"` SetScheduleModes *bool `json:"setScheduleModes,omitempty"` SetScheduleOverride *bool `json:"setScheduleOverride,omitempty"` SetScheduleVacation *bool `json:"setScheduleVacation,omitempty"` SetScheduleWeekly *bool `json:"setScheduleWeekly,omitempty"` SetSmartMode *bool `json:"setSmartMode,omitempty"` SetVentilationMode *bool `json:"setVentilationMode,omitempty"` Settings *bool `json:"settings,omitempty"` TriggerEvent *bool `json:"triggerEvent,omitempty"` }
AvailableMethods defines model for AvailableMethods.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) GetAssetsIdentityServerAny ¶
func (*Client) GetConnectAuthorizeCallback ¶
func (*Client) GetOauthAuthorize ¶
func (*Client) GetOauthConsent ¶
func (*Client) GetOauthError ¶
func (*Client) GetOauthLogin ¶
func (*Client) GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownload ¶
func (*Client) GetV2DevicesDeviceId ¶
func (*Client) GetV2DevicesDeviceIdAidMode ¶
func (*Client) GetV2DevicesDeviceIdFirmwareInfo ¶
func (*Client) GetV2DevicesDeviceIdPoints ¶
func (c *Client) GetV2DevicesDeviceIdPoints(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdPointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2DevicesDeviceIdSmartHomeCategories ¶
func (*Client) GetV2DevicesDeviceIdSmartHomeZones ¶
func (c *Client) GetV2DevicesDeviceIdSmartHomeZones(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdSmartHomeZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2FirmwareFirmwareTypeIdVersionVersionDownload ¶
func (*Client) GetV2ProtectedPing ¶
func (*Client) GetV2SystemsMe ¶
func (c *Client) GetV2SystemsMe(ctx context.Context, params *GetV2SystemsMeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2SystemsSystemIdNotifications ¶
func (c *Client) GetV2SystemsSystemIdNotifications(ctx context.Context, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2SystemsSystemIdNotificationsActive ¶
func (c *Client) GetV2SystemsSystemIdNotificationsActive(ctx context.Context, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsActiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2SystemsSystemIdSmartHomeMode ¶
func (c *Client) GetV2SystemsSystemIdSmartHomeMode(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2SystemsSystemIdSubscriptions ¶
func (c *Client) GetV2SystemsSystemIdSubscriptions(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV3DevicesDeviceIdPoints ¶
func (c *Client) GetV3DevicesDeviceIdPoints(ctx context.Context, deviceId string, params *GetV3DevicesDeviceIdPointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWellKnownOpenidConfiguration ¶
func (*Client) GetWellKnownOpenidConfigurationJwks ¶
func (*Client) PatchV2DevicesDeviceIdPoints ¶
func (c *Client) PatchV2DevicesDeviceIdPoints(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV2DevicesDeviceIdPointsWithApplicationJSONPatchPlusJSONBody ¶
func (c *Client) PatchV2DevicesDeviceIdPointsWithApplicationJSONPatchPlusJSONBody(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV2DevicesDeviceIdPointsWithApplicationWildcardPlusJSONBody ¶
func (c *Client) PatchV2DevicesDeviceIdPointsWithApplicationWildcardPlusJSONBody(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV2DevicesDeviceIdPointsWithBody ¶
func (*Client) PatchV2DevicesDeviceIdZonesZoneId ¶
func (c *Client) PatchV2DevicesDeviceIdZonesZoneId(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationJSONPatchPlusJSONBody ¶
func (c *Client) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationJSONPatchPlusJSONBody(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationWildcardPlusJSONBody ¶
func (c *Client) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationWildcardPlusJSONBody(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV2DevicesDeviceIdZonesZoneIdWithBody ¶
func (*Client) PostOauthAuthorize ¶
func (*Client) PostOauthConsent ¶
func (*Client) PostOauthLogin ¶
func (*Client) PostOauthToken ¶
func (*Client) PutV2SystemsSystemIdSmartHomeMode ¶
func (c *Client) PutV2SystemsSystemIdSmartHomeMode(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2SystemsSystemIdSmartHomeModeWithApplicationJSONPatchPlusJSONBody ¶
func (c *Client) PutV2SystemsSystemIdSmartHomeModeWithApplicationJSONPatchPlusJSONBody(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2SystemsSystemIdSmartHomeModeWithApplicationWildcardPlusJSONBody ¶
func (c *Client) PutV2SystemsSystemIdSmartHomeModeWithApplicationWildcardPlusJSONBody(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2SystemsSystemIdSmartHomeModeWithBody ¶
type ClientInterface ¶
type ClientInterface interface { // GetWellKnownOpenidConfiguration request GetWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetWellKnownOpenidConfigurationJwks request GetWellKnownOpenidConfigurationJwks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAssetsIdentityServerAny request GetAssetsIdentityServerAny(ctx context.Context, any string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetConnectAuthorizeCallback request GetConnectAuthorizeCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOauthAuthorize request GetOauthAuthorize(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostOauthAuthorize request PostOauthAuthorize(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOauthConsent request GetOauthConsent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostOauthConsent request PostOauthConsent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOauthError request GetOauthError(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOauthLogin request GetOauthLogin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostOauthLogin request PostOauthLogin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostOauthToken request PostOauthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownload request GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownload(ctx context.Context, brandId string, firmwareTypeId string, version string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2DevicesDeviceId request GetV2DevicesDeviceId(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2DevicesDeviceIdAidMode request GetV2DevicesDeviceIdAidMode(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2DevicesDeviceIdFirmwareInfo request GetV2DevicesDeviceIdFirmwareInfo(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2DevicesDeviceIdPoints request GetV2DevicesDeviceIdPoints(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdPointsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchV2DevicesDeviceIdPointsWithBody request with any body PatchV2DevicesDeviceIdPointsWithBody(ctx context.Context, deviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchV2DevicesDeviceIdPointsWithApplicationWildcardPlusJSONBody(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) PatchV2DevicesDeviceIdPoints(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) PatchV2DevicesDeviceIdPointsWithApplicationJSONPatchPlusJSONBody(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2DevicesDeviceIdSmartHomeCategories request GetV2DevicesDeviceIdSmartHomeCategories(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2DevicesDeviceIdSmartHomeZones request GetV2DevicesDeviceIdSmartHomeZones(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdSmartHomeZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchV2DevicesDeviceIdZonesZoneIdWithBody request with any body PatchV2DevicesDeviceIdZonesZoneIdWithBody(ctx context.Context, deviceId string, zoneId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationWildcardPlusJSONBody(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) PatchV2DevicesDeviceIdZonesZoneId(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationJSONPatchPlusJSONBody(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2FirmwareFirmwareTypeIdVersionVersionDownload request GetV2FirmwareFirmwareTypeIdVersionVersionDownload(ctx context.Context, firmwareTypeId string, version string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2ProtectedPing request GetV2ProtectedPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2SystemsMe request GetV2SystemsMe(ctx context.Context, params *GetV2SystemsMeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2SystemsSystemIdNotifications request GetV2SystemsSystemIdNotifications(ctx context.Context, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2SystemsSystemIdNotificationsActive request GetV2SystemsSystemIdNotificationsActive(ctx context.Context, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsActiveParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2SystemsSystemIdSmartHomeMode request GetV2SystemsSystemIdSmartHomeMode(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // PutV2SystemsSystemIdSmartHomeModeWithBody request with any body PutV2SystemsSystemIdSmartHomeModeWithBody(ctx context.Context, systemId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutV2SystemsSystemIdSmartHomeModeWithApplicationWildcardPlusJSONBody(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) PutV2SystemsSystemIdSmartHomeMode(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) PutV2SystemsSystemIdSmartHomeModeWithApplicationJSONPatchPlusJSONBody(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV2SystemsSystemIdSubscriptions request GetV2SystemsSystemIdSubscriptions(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV3DevicesDeviceIdPoints request GetV3DevicesDeviceIdPoints(ctx context.Context, deviceId string, params *GetV3DevicesDeviceIdPointsParams, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) GetAssetsIdentityServerAnyWithResponse ¶
func (c *ClientWithResponses) GetAssetsIdentityServerAnyWithResponse(ctx context.Context, any string, reqEditors ...RequestEditorFn) (*GetAssetsIdentityServerAnyResponse, error)
GetAssetsIdentityServerAnyWithResponse request returning *GetAssetsIdentityServerAnyResponse
func (*ClientWithResponses) GetConnectAuthorizeCallbackWithResponse ¶
func (c *ClientWithResponses) GetConnectAuthorizeCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConnectAuthorizeCallbackResponse, error)
GetConnectAuthorizeCallbackWithResponse request returning *GetConnectAuthorizeCallbackResponse
func (*ClientWithResponses) GetOauthAuthorizeWithResponse ¶
func (c *ClientWithResponses) GetOauthAuthorizeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthAuthorizeResponse, error)
GetOauthAuthorizeWithResponse request returning *GetOauthAuthorizeResponse
func (*ClientWithResponses) GetOauthConsentWithResponse ¶
func (c *ClientWithResponses) GetOauthConsentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthConsentResponse, error)
GetOauthConsentWithResponse request returning *GetOauthConsentResponse
func (*ClientWithResponses) GetOauthErrorWithResponse ¶
func (c *ClientWithResponses) GetOauthErrorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthErrorResponse, error)
GetOauthErrorWithResponse request returning *GetOauthErrorResponse
func (*ClientWithResponses) GetOauthLoginWithResponse ¶
func (c *ClientWithResponses) GetOauthLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthLoginResponse, error)
GetOauthLoginWithResponse request returning *GetOauthLoginResponse
func (*ClientWithResponses) GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadWithResponse ¶
func (c *ClientWithResponses) GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadWithResponse(ctx context.Context, brandId string, firmwareTypeId string, version string, reqEditors ...RequestEditorFn) (*GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse, error)
GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadWithResponse request returning *GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse
func (*ClientWithResponses) GetV2DevicesDeviceIdAidModeWithResponse ¶
func (c *ClientWithResponses) GetV2DevicesDeviceIdAidModeWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdAidModeResponse, error)
GetV2DevicesDeviceIdAidModeWithResponse request returning *GetV2DevicesDeviceIdAidModeResponse
func (*ClientWithResponses) GetV2DevicesDeviceIdFirmwareInfoWithResponse ¶
func (c *ClientWithResponses) GetV2DevicesDeviceIdFirmwareInfoWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdFirmwareInfoResponse, error)
GetV2DevicesDeviceIdFirmwareInfoWithResponse request returning *GetV2DevicesDeviceIdFirmwareInfoResponse
func (*ClientWithResponses) GetV2DevicesDeviceIdPointsWithResponse ¶
func (c *ClientWithResponses) GetV2DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdPointsParams, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdPointsResponse, error)
GetV2DevicesDeviceIdPointsWithResponse request returning *GetV2DevicesDeviceIdPointsResponse
func (*ClientWithResponses) GetV2DevicesDeviceIdSmartHomeCategoriesWithResponse ¶
func (c *ClientWithResponses) GetV2DevicesDeviceIdSmartHomeCategoriesWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdSmartHomeCategoriesResponse, error)
GetV2DevicesDeviceIdSmartHomeCategoriesWithResponse request returning *GetV2DevicesDeviceIdSmartHomeCategoriesResponse
func (*ClientWithResponses) GetV2DevicesDeviceIdSmartHomeZonesWithResponse ¶
func (c *ClientWithResponses) GetV2DevicesDeviceIdSmartHomeZonesWithResponse(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdSmartHomeZonesParams, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdSmartHomeZonesResponse, error)
GetV2DevicesDeviceIdSmartHomeZonesWithResponse request returning *GetV2DevicesDeviceIdSmartHomeZonesResponse
func (*ClientWithResponses) GetV2DevicesDeviceIdWithResponse ¶
func (c *ClientWithResponses) GetV2DevicesDeviceIdWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdResponse, error)
GetV2DevicesDeviceIdWithResponse request returning *GetV2DevicesDeviceIdResponse
func (*ClientWithResponses) GetV2FirmwareFirmwareTypeIdVersionVersionDownloadWithResponse ¶
func (c *ClientWithResponses) GetV2FirmwareFirmwareTypeIdVersionVersionDownloadWithResponse(ctx context.Context, firmwareTypeId string, version string, reqEditors ...RequestEditorFn) (*GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse, error)
GetV2FirmwareFirmwareTypeIdVersionVersionDownloadWithResponse request returning *GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse
func (*ClientWithResponses) GetV2ProtectedPingWithResponse ¶
func (c *ClientWithResponses) GetV2ProtectedPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2ProtectedPingResponse, error)
GetV2ProtectedPingWithResponse request returning *GetV2ProtectedPingResponse
func (*ClientWithResponses) GetV2SystemsMeWithResponse ¶
func (c *ClientWithResponses) GetV2SystemsMeWithResponse(ctx context.Context, params *GetV2SystemsMeParams, reqEditors ...RequestEditorFn) (*GetV2SystemsMeResponse, error)
GetV2SystemsMeWithResponse request returning *GetV2SystemsMeResponse
func (*ClientWithResponses) GetV2SystemsSystemIdNotificationsActiveWithResponse ¶
func (c *ClientWithResponses) GetV2SystemsSystemIdNotificationsActiveWithResponse(ctx context.Context, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsActiveParams, reqEditors ...RequestEditorFn) (*GetV2SystemsSystemIdNotificationsActiveResponse, error)
GetV2SystemsSystemIdNotificationsActiveWithResponse request returning *GetV2SystemsSystemIdNotificationsActiveResponse
func (*ClientWithResponses) GetV2SystemsSystemIdNotificationsWithResponse ¶
func (c *ClientWithResponses) GetV2SystemsSystemIdNotificationsWithResponse(ctx context.Context, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsParams, reqEditors ...RequestEditorFn) (*GetV2SystemsSystemIdNotificationsResponse, error)
GetV2SystemsSystemIdNotificationsWithResponse request returning *GetV2SystemsSystemIdNotificationsResponse
func (*ClientWithResponses) GetV2SystemsSystemIdSmartHomeModeWithResponse ¶
func (c *ClientWithResponses) GetV2SystemsSystemIdSmartHomeModeWithResponse(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetV2SystemsSystemIdSmartHomeModeResponse, error)
GetV2SystemsSystemIdSmartHomeModeWithResponse request returning *GetV2SystemsSystemIdSmartHomeModeResponse
func (*ClientWithResponses) GetV2SystemsSystemIdSubscriptionsWithResponse ¶
func (c *ClientWithResponses) GetV2SystemsSystemIdSubscriptionsWithResponse(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetV2SystemsSystemIdSubscriptionsResponse, error)
GetV2SystemsSystemIdSubscriptionsWithResponse request returning *GetV2SystemsSystemIdSubscriptionsResponse
func (*ClientWithResponses) GetV3DevicesDeviceIdPointsWithResponse ¶
func (c *ClientWithResponses) GetV3DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, params *GetV3DevicesDeviceIdPointsParams, reqEditors ...RequestEditorFn) (*GetV3DevicesDeviceIdPointsResponse, error)
GetV3DevicesDeviceIdPointsWithResponse request returning *GetV3DevicesDeviceIdPointsResponse
func (*ClientWithResponses) GetWellKnownOpenidConfigurationJwksWithResponse ¶
func (c *ClientWithResponses) GetWellKnownOpenidConfigurationJwksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationJwksResponse, error)
GetWellKnownOpenidConfigurationJwksWithResponse request returning *GetWellKnownOpenidConfigurationJwksResponse
func (*ClientWithResponses) GetWellKnownOpenidConfigurationWithResponse ¶
func (c *ClientWithResponses) GetWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationResponse, error)
GetWellKnownOpenidConfigurationWithResponse request returning *GetWellKnownOpenidConfigurationResponse
func (*ClientWithResponses) PatchV2DevicesDeviceIdPointsWithApplicationJSONPatchPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) PatchV2DevicesDeviceIdPointsWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdPointsResponse, error)
func (*ClientWithResponses) PatchV2DevicesDeviceIdPointsWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) PatchV2DevicesDeviceIdPointsWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdPointsResponse, error)
func (*ClientWithResponses) PatchV2DevicesDeviceIdPointsWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV2DevicesDeviceIdPointsWithBodyWithResponse(ctx context.Context, deviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdPointsResponse, error)
PatchV2DevicesDeviceIdPointsWithBodyWithResponse request with arbitrary body returning *PatchV2DevicesDeviceIdPointsResponse
func (*ClientWithResponses) PatchV2DevicesDeviceIdPointsWithResponse ¶
func (c *ClientWithResponses) PatchV2DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdPointsResponse, error)
func (*ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationJSONPatchPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
func (*ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
func (*ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
PatchV2DevicesDeviceIdZonesZoneIdWithBodyWithResponse request with arbitrary body returning *PatchV2DevicesDeviceIdZonesZoneIdResponse
func (*ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithResponse ¶
func (c *ClientWithResponses) PatchV2DevicesDeviceIdZonesZoneIdWithResponse(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
func (*ClientWithResponses) PostOauthAuthorizeWithResponse ¶
func (c *ClientWithResponses) PostOauthAuthorizeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthAuthorizeResponse, error)
PostOauthAuthorizeWithResponse request returning *PostOauthAuthorizeResponse
func (*ClientWithResponses) PostOauthConsentWithResponse ¶
func (c *ClientWithResponses) PostOauthConsentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthConsentResponse, error)
PostOauthConsentWithResponse request returning *PostOauthConsentResponse
func (*ClientWithResponses) PostOauthLoginWithResponse ¶
func (c *ClientWithResponses) PostOauthLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthLoginResponse, error)
PostOauthLoginWithResponse request returning *PostOauthLoginResponse
func (*ClientWithResponses) PostOauthTokenWithResponse ¶
func (c *ClientWithResponses) PostOauthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthTokenResponse, error)
PostOauthTokenWithResponse request returning *PostOauthTokenResponse
func (*ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithApplicationJSONPatchPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
func (*ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithApplicationWildcardPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
func (*ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
PutV2SystemsSystemIdSmartHomeModeWithBodyWithResponse request with arbitrary body returning *PutV2SystemsSystemIdSmartHomeModeResponse
func (*ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithResponse ¶
func (c *ClientWithResponses) PutV2SystemsSystemIdSmartHomeModeWithResponse(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetWellKnownOpenidConfigurationWithResponse request GetWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationResponse, error) // GetWellKnownOpenidConfigurationJwksWithResponse request GetWellKnownOpenidConfigurationJwksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationJwksResponse, error) // GetAssetsIdentityServerAnyWithResponse request GetAssetsIdentityServerAnyWithResponse(ctx context.Context, any string, reqEditors ...RequestEditorFn) (*GetAssetsIdentityServerAnyResponse, error) // GetConnectAuthorizeCallbackWithResponse request GetConnectAuthorizeCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConnectAuthorizeCallbackResponse, error) // GetOauthAuthorizeWithResponse request GetOauthAuthorizeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthAuthorizeResponse, error) // PostOauthAuthorizeWithResponse request PostOauthAuthorizeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthAuthorizeResponse, error) // GetOauthConsentWithResponse request GetOauthConsentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthConsentResponse, error) // PostOauthConsentWithResponse request PostOauthConsentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthConsentResponse, error) // GetOauthErrorWithResponse request GetOauthErrorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthErrorResponse, error) // GetOauthLoginWithResponse request GetOauthLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauthLoginResponse, error) // PostOauthLoginWithResponse request PostOauthLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthLoginResponse, error) // PostOauthTokenWithResponse request PostOauthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostOauthTokenResponse, error) // GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadWithResponse request GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadWithResponse(ctx context.Context, brandId string, firmwareTypeId string, version string, reqEditors ...RequestEditorFn) (*GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse, error) // GetV2DevicesDeviceIdWithResponse request GetV2DevicesDeviceIdWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdResponse, error) // GetV2DevicesDeviceIdAidModeWithResponse request GetV2DevicesDeviceIdAidModeWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdAidModeResponse, error) // GetV2DevicesDeviceIdFirmwareInfoWithResponse request GetV2DevicesDeviceIdFirmwareInfoWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdFirmwareInfoResponse, error) // GetV2DevicesDeviceIdPointsWithResponse request GetV2DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdPointsParams, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdPointsResponse, error) // PatchV2DevicesDeviceIdPointsWithBodyWithResponse request with any body PatchV2DevicesDeviceIdPointsWithBodyWithResponse(ctx context.Context, deviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdPointsResponse, error) PatchV2DevicesDeviceIdPointsWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdPointsResponse, error) PatchV2DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdPointsResponse, error) PatchV2DevicesDeviceIdPointsWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, deviceId string, body PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdPointsResponse, error) // GetV2DevicesDeviceIdSmartHomeCategoriesWithResponse request GetV2DevicesDeviceIdSmartHomeCategoriesWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdSmartHomeCategoriesResponse, error) // GetV2DevicesDeviceIdSmartHomeZonesWithResponse request GetV2DevicesDeviceIdSmartHomeZonesWithResponse(ctx context.Context, deviceId string, params *GetV2DevicesDeviceIdSmartHomeZonesParams, reqEditors ...RequestEditorFn) (*GetV2DevicesDeviceIdSmartHomeZonesResponse, error) // PatchV2DevicesDeviceIdZonesZoneIdWithBodyWithResponse request with any body PatchV2DevicesDeviceIdZonesZoneIdWithBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error) PatchV2DevicesDeviceIdZonesZoneIdWithResponse(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error) PatchV2DevicesDeviceIdZonesZoneIdWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, deviceId string, zoneId int32, body PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error) // GetV2FirmwareFirmwareTypeIdVersionVersionDownloadWithResponse request GetV2FirmwareFirmwareTypeIdVersionVersionDownloadWithResponse(ctx context.Context, firmwareTypeId string, version string, reqEditors ...RequestEditorFn) (*GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse, error) // GetV2ProtectedPingWithResponse request GetV2ProtectedPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2ProtectedPingResponse, error) // GetV2SystemsMeWithResponse request GetV2SystemsMeWithResponse(ctx context.Context, params *GetV2SystemsMeParams, reqEditors ...RequestEditorFn) (*GetV2SystemsMeResponse, error) // GetV2SystemsSystemIdNotificationsWithResponse request GetV2SystemsSystemIdNotificationsWithResponse(ctx context.Context, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsParams, reqEditors ...RequestEditorFn) (*GetV2SystemsSystemIdNotificationsResponse, error) // GetV2SystemsSystemIdNotificationsActiveWithResponse request GetV2SystemsSystemIdNotificationsActiveWithResponse(ctx context.Context, systemId openapi_types.UUID, params *GetV2SystemsSystemIdNotificationsActiveParams, reqEditors ...RequestEditorFn) (*GetV2SystemsSystemIdNotificationsActiveResponse, error) // GetV2SystemsSystemIdSmartHomeModeWithResponse request GetV2SystemsSystemIdSmartHomeModeWithResponse(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetV2SystemsSystemIdSmartHomeModeResponse, error) // PutV2SystemsSystemIdSmartHomeModeWithBodyWithResponse request with any body PutV2SystemsSystemIdSmartHomeModeWithBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2SystemsSystemIdSmartHomeModeResponse, error) PutV2SystemsSystemIdSmartHomeModeWithApplicationWildcardPlusJSONBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2SystemsSystemIdSmartHomeModeResponse, error) PutV2SystemsSystemIdSmartHomeModeWithResponse(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2SystemsSystemIdSmartHomeModeResponse, error) PutV2SystemsSystemIdSmartHomeModeWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, systemId openapi_types.UUID, body PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2SystemsSystemIdSmartHomeModeResponse, error) // GetV2SystemsSystemIdSubscriptionsWithResponse request GetV2SystemsSystemIdSubscriptionsWithResponse(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetV2SystemsSystemIdSubscriptionsResponse, error) // GetV3DevicesDeviceIdPointsWithResponse request GetV3DevicesDeviceIdPointsWithResponse(ctx context.Context, deviceId string, params *GetV3DevicesDeviceIdPointsParams, reqEditors ...RequestEditorFn) (*GetV3DevicesDeviceIdPointsResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloudToDeviceMethodResult ¶
type CloudToDeviceMethodResult struct { Payload *interface{} `json:"payload,omitempty"` // Status Gets or sets the status of device method invocation. Status *int32 `json:"status,omitempty"` }
CloudToDeviceMethodResult Represents the Device Method Invocation Results.
type DeviceConnectionState ¶
type DeviceConnectionState string
DeviceConnectionState Specifies the different connection states of a device. 0 - Disconnected 1 - Connected
const ( Connected DeviceConnectionState = "Connected" Disconnected DeviceConnectionState = "Disconnected" )
Defines values for DeviceConnectionState.
type DeviceFirmwareInfoResponse ¶
type DeviceFirmwareInfoResponse struct { CurrentFwVersion *string `json:"currentFwVersion"` DesiredFwVersion *string `json:"desiredFwVersion"` DeviceId *string `json:"deviceId"` FirmwareId *string `json:"firmwareId"` PendingFwVersion *string `json:"pendingFwVersion"` }
DeviceFirmwareInfoResponse defines model for DeviceFirmwareInfoResponse.
type DevicePremiumResponse ¶
type DevicePremiumResponse struct {
Subscriptions *[]PremiumFeatureResponseModel `json:"subscriptions"`
}
DevicePremiumResponse defines model for DevicePremiumResponse.
type DeviceResponseModel ¶
type DeviceResponseModel struct { AvailableFeatures *AvailableMethods `json:"availableFeatures,omitempty"` // ConnectionState Specifies the different connection states of a device. // 0 - Disconnected // 1 - Connected ConnectionState *DeviceConnectionState `json:"connectionState,omitempty"` // Firmware Firmware response model Firmware *FirmwareResponseModel `json:"firmware,omitempty"` // Id Id. Id *string `json:"id"` // Product ProductResponseModel Product *ProductResponseModel `json:"product,omitempty"` }
DeviceResponseModel DeviceResponseModel.
type EnumValues ¶
type EnumValues struct { // Icon The EnumIcon of the Enum. Icon *string `json:"icon"` // Text The EnumText of the Enum. Text *string `json:"text"` // Value The EnumValue of the Enum. Value *string `json:"value"` }
EnumValues defines model for EnumValues.
type FirmwareResponseModel ¶
type FirmwareResponseModel struct { // CurrentFwVersion Current Firmware Version CurrentFwVersion *string `json:"currentFwVersion"` // DesiredFwVersion Desired Firmware Version DesiredFwVersion *string `json:"desiredFwVersion"` }
FirmwareResponseModel Firmware response model
type GetAssetsIdentityServerAnyResponse ¶
func ParseGetAssetsIdentityServerAnyResponse ¶
func ParseGetAssetsIdentityServerAnyResponse(rsp *http.Response) (*GetAssetsIdentityServerAnyResponse, error)
ParseGetAssetsIdentityServerAnyResponse parses an HTTP response from a GetAssetsIdentityServerAnyWithResponse call
func (GetAssetsIdentityServerAnyResponse) Status ¶
func (r GetAssetsIdentityServerAnyResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetsIdentityServerAnyResponse) StatusCode ¶
func (r GetAssetsIdentityServerAnyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConnectAuthorizeCallbackResponse ¶
func ParseGetConnectAuthorizeCallbackResponse ¶
func ParseGetConnectAuthorizeCallbackResponse(rsp *http.Response) (*GetConnectAuthorizeCallbackResponse, error)
ParseGetConnectAuthorizeCallbackResponse parses an HTTP response from a GetConnectAuthorizeCallbackWithResponse call
func (GetConnectAuthorizeCallbackResponse) Status ¶
func (r GetConnectAuthorizeCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (GetConnectAuthorizeCallbackResponse) StatusCode ¶
func (r GetConnectAuthorizeCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOauthAuthorizeResponse ¶
func ParseGetOauthAuthorizeResponse ¶
func ParseGetOauthAuthorizeResponse(rsp *http.Response) (*GetOauthAuthorizeResponse, error)
ParseGetOauthAuthorizeResponse parses an HTTP response from a GetOauthAuthorizeWithResponse call
func (GetOauthAuthorizeResponse) Status ¶
func (r GetOauthAuthorizeResponse) Status() string
Status returns HTTPResponse.Status
func (GetOauthAuthorizeResponse) StatusCode ¶
func (r GetOauthAuthorizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOauthConsentResponse ¶
func ParseGetOauthConsentResponse ¶
func ParseGetOauthConsentResponse(rsp *http.Response) (*GetOauthConsentResponse, error)
ParseGetOauthConsentResponse parses an HTTP response from a GetOauthConsentWithResponse call
func (GetOauthConsentResponse) Status ¶
func (r GetOauthConsentResponse) Status() string
Status returns HTTPResponse.Status
func (GetOauthConsentResponse) StatusCode ¶
func (r GetOauthConsentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOauthErrorResponse ¶
func ParseGetOauthErrorResponse ¶
func ParseGetOauthErrorResponse(rsp *http.Response) (*GetOauthErrorResponse, error)
ParseGetOauthErrorResponse parses an HTTP response from a GetOauthErrorWithResponse call
func (GetOauthErrorResponse) Status ¶
func (r GetOauthErrorResponse) Status() string
Status returns HTTPResponse.Status
func (GetOauthErrorResponse) StatusCode ¶
func (r GetOauthErrorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOauthLoginResponse ¶
func ParseGetOauthLoginResponse ¶
func ParseGetOauthLoginResponse(rsp *http.Response) (*GetOauthLoginResponse, error)
ParseGetOauthLoginResponse parses an HTTP response from a GetOauthLoginWithResponse call
func (GetOauthLoginResponse) Status ¶
func (r GetOauthLoginResponse) Status() string
Status returns HTTPResponse.Status
func (GetOauthLoginResponse) StatusCode ¶
func (r GetOauthLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse ¶
type GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *openapi_types.File }
func ParseGetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse ¶
func ParseGetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse(rsp *http.Response) (*GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse, error)
ParseGetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse parses an HTTP response from a GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadWithResponse call
func (GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse) Status ¶
func (r GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse) StatusCode ¶
func (r GetV2BrandsBrandIdFirmwareFirmwareTypeIdVersionVersionDownloadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2DevicesDeviceIdAidModeResponse ¶
type GetV2DevicesDeviceIdAidModeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AidModeResponseModel }
func ParseGetV2DevicesDeviceIdAidModeResponse ¶
func ParseGetV2DevicesDeviceIdAidModeResponse(rsp *http.Response) (*GetV2DevicesDeviceIdAidModeResponse, error)
ParseGetV2DevicesDeviceIdAidModeResponse parses an HTTP response from a GetV2DevicesDeviceIdAidModeWithResponse call
func (GetV2DevicesDeviceIdAidModeResponse) Status ¶
func (r GetV2DevicesDeviceIdAidModeResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2DevicesDeviceIdAidModeResponse) StatusCode ¶
func (r GetV2DevicesDeviceIdAidModeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2DevicesDeviceIdFirmwareInfoResponse ¶
type GetV2DevicesDeviceIdFirmwareInfoResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeviceFirmwareInfoResponse }
func ParseGetV2DevicesDeviceIdFirmwareInfoResponse ¶
func ParseGetV2DevicesDeviceIdFirmwareInfoResponse(rsp *http.Response) (*GetV2DevicesDeviceIdFirmwareInfoResponse, error)
ParseGetV2DevicesDeviceIdFirmwareInfoResponse parses an HTTP response from a GetV2DevicesDeviceIdFirmwareInfoWithResponse call
func (GetV2DevicesDeviceIdFirmwareInfoResponse) Status ¶
func (r GetV2DevicesDeviceIdFirmwareInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2DevicesDeviceIdFirmwareInfoResponse) StatusCode ¶
func (r GetV2DevicesDeviceIdFirmwareInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2DevicesDeviceIdPointsParams ¶
type GetV2DevicesDeviceIdPointsParams struct { // Parameters Parameter ids separated by comma. Optional parameter: // If Parameter Ids are not defined, then all device's parameters will be listed. Parameters *string `form:"parameters,omitempty" json:"parameters,omitempty"` // AcceptLanguage Language (e.g. en-GB). AcceptLanguage *string `json:"Accept-Language,omitempty"` }
GetV2DevicesDeviceIdPointsParams defines parameters for GetV2DevicesDeviceIdPoints.
type GetV2DevicesDeviceIdPointsResponse ¶
type GetV2DevicesDeviceIdPointsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ParameterData }
func ParseGetV2DevicesDeviceIdPointsResponse ¶
func ParseGetV2DevicesDeviceIdPointsResponse(rsp *http.Response) (*GetV2DevicesDeviceIdPointsResponse, error)
ParseGetV2DevicesDeviceIdPointsResponse parses an HTTP response from a GetV2DevicesDeviceIdPointsWithResponse call
func (GetV2DevicesDeviceIdPointsResponse) Status ¶
func (r GetV2DevicesDeviceIdPointsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2DevicesDeviceIdPointsResponse) StatusCode ¶
func (r GetV2DevicesDeviceIdPointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2DevicesDeviceIdResponse ¶
type GetV2DevicesDeviceIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeviceResponseModel }
func ParseGetV2DevicesDeviceIdResponse ¶
func ParseGetV2DevicesDeviceIdResponse(rsp *http.Response) (*GetV2DevicesDeviceIdResponse, error)
ParseGetV2DevicesDeviceIdResponse parses an HTTP response from a GetV2DevicesDeviceIdWithResponse call
func (GetV2DevicesDeviceIdResponse) Status ¶
func (r GetV2DevicesDeviceIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2DevicesDeviceIdResponse) StatusCode ¶
func (r GetV2DevicesDeviceIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2DevicesDeviceIdSmartHomeCategoriesResponse ¶
type GetV2DevicesDeviceIdSmartHomeCategoriesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { ShElectricPowerUsedCurrently *bool `json:"sh-electricPowerUsedCurrently,omitempty"` ShElectricalPriceMode *bool `json:"sh-electricalPriceMode,omitempty"` ShElectricalPriceModeDuration *bool `json:"sh-electricalPriceModeDuration,omitempty"` ShEnergyMetered *bool `json:"sh-energyMetered,omitempty"` ShFanMode *bool `json:"sh-fanMode,omitempty"` ShFanStatus *bool `json:"sh-fanStatus,omitempty"` ShHwBoost *bool `json:"sh-hwBoost,omitempty"` ShHwMode *bool `json:"sh-hwMode,omitempty"` ShHwTemp *bool `json:"sh-hwTemp,omitempty"` ShIndoorCO2 *bool `json:"sh-indoorCO2,omitempty"` ShIndoorCO2Sp *bool `json:"sh-indoorCO2Sp,omitempty"` ShIndoorDeHumiditySp *bool `json:"sh-indoorDeHumiditySp,omitempty"` ShIndoorHumidity *bool `json:"sh-indoorHumidity,omitempty"` ShIndoorHumidityMode *bool `json:"sh-indoorHumidityMode,omitempty"` ShIndoorHumiditySp *bool `json:"sh-indoorHumiditySp,omitempty"` ShIndoorSpCool *bool `json:"sh-indoorSpCool,omitempty"` ShIndoorSpHeat *bool `json:"sh-indoorSpHeat,omitempty"` ShIndoorSpOffsCool *bool `json:"sh-indoorSpOffsCool,omitempty"` ShIndoorSpOffsHeat *bool `json:"sh-indoorSpOffsHeat,omitempty"` ShIndoorTemp *bool `json:"sh-indoorTemp,omitempty"` ShOutdoorTemp *bool `json:"sh-outdoorTemp,omitempty"` ShPoolSp *bool `json:"sh-poolSp,omitempty"` ShPoolTemp *bool `json:"sh-poolTemp,omitempty"` ShReturnTemp *bool `json:"sh-returnTemp,omitempty"` ShSmartMode *bool `json:"sh-smartMode,omitempty"` ShSolarEnergyProducedDay *bool `json:"sh-solarEnergyProducedDay,omitempty"` ShSolarEnergyProducedMonth *bool `json:"sh-solarEnergyProducedMonth,omitempty"` ShSolarEnergyProducedTotal *bool `json:"sh-solarEnergyProducedTotal,omitempty"` ShSolarEnergyProducedWeek *bool `json:"sh-solarEnergyProducedWeek,omitempty"` ShSolarEnergyProducedYear *bool `json:"sh-solarEnergyProducedYear,omitempty"` ShSolarPowerAvailableCurrently *bool `json:"sh-solarPowerAvailableCurrently,omitempty"` ShSupplyTemp *bool `json:"sh-supplyTemp,omitempty"` ShVentBoost *bool `json:"sh-ventBoost,omitempty"` ShVentMode *bool `json:"sh-ventMode,omitempty"` ShZoneMode *bool `json:"sh-zoneMode,omitempty"` ShZones *bool `json:"sh-zones,omitempty"` } }
func ParseGetV2DevicesDeviceIdSmartHomeCategoriesResponse ¶
func ParseGetV2DevicesDeviceIdSmartHomeCategoriesResponse(rsp *http.Response) (*GetV2DevicesDeviceIdSmartHomeCategoriesResponse, error)
ParseGetV2DevicesDeviceIdSmartHomeCategoriesResponse parses an HTTP response from a GetV2DevicesDeviceIdSmartHomeCategoriesWithResponse call
func (GetV2DevicesDeviceIdSmartHomeCategoriesResponse) Status ¶
func (r GetV2DevicesDeviceIdSmartHomeCategoriesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2DevicesDeviceIdSmartHomeCategoriesResponse) StatusCode ¶
func (r GetV2DevicesDeviceIdSmartHomeCategoriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2DevicesDeviceIdSmartHomeZonesParams ¶
type GetV2DevicesDeviceIdSmartHomeZonesParams struct { // AcceptLanguage Language (e.g. en-GB). AcceptLanguage *string `json:"Accept-Language,omitempty"` }
GetV2DevicesDeviceIdSmartHomeZonesParams defines parameters for GetV2DevicesDeviceIdSmartHomeZones.
type GetV2DevicesDeviceIdSmartHomeZonesResponse ¶
type GetV2DevicesDeviceIdSmartHomeZonesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ZoneResponse }
func ParseGetV2DevicesDeviceIdSmartHomeZonesResponse ¶
func ParseGetV2DevicesDeviceIdSmartHomeZonesResponse(rsp *http.Response) (*GetV2DevicesDeviceIdSmartHomeZonesResponse, error)
ParseGetV2DevicesDeviceIdSmartHomeZonesResponse parses an HTTP response from a GetV2DevicesDeviceIdSmartHomeZonesWithResponse call
func (GetV2DevicesDeviceIdSmartHomeZonesResponse) Status ¶
func (r GetV2DevicesDeviceIdSmartHomeZonesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2DevicesDeviceIdSmartHomeZonesResponse) StatusCode ¶
func (r GetV2DevicesDeviceIdSmartHomeZonesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse ¶
type GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *openapi_types.File }
func ParseGetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse ¶
func ParseGetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse(rsp *http.Response) (*GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse, error)
ParseGetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse parses an HTTP response from a GetV2FirmwareFirmwareTypeIdVersionVersionDownloadWithResponse call
func (GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse) Status ¶
func (r GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse) StatusCode ¶
func (r GetV2FirmwareFirmwareTypeIdVersionVersionDownloadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ProtectedPingResponse ¶
func ParseGetV2ProtectedPingResponse ¶
func ParseGetV2ProtectedPingResponse(rsp *http.Response) (*GetV2ProtectedPingResponse, error)
ParseGetV2ProtectedPingResponse parses an HTTP response from a GetV2ProtectedPingWithResponse call
func (GetV2ProtectedPingResponse) Status ¶
func (r GetV2ProtectedPingResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProtectedPingResponse) StatusCode ¶
func (r GetV2ProtectedPingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2SystemsMeParams ¶
type GetV2SystemsMeParams struct { // Page Page. Page *int32 `form:"page,omitempty" json:"page,omitempty"` // ItemsPerPage Items per page. ItemsPerPage *int32 `form:"itemsPerPage,omitempty" json:"itemsPerPage,omitempty"` }
GetV2SystemsMeParams defines parameters for GetV2SystemsMe.
type GetV2SystemsMeResponse ¶
type GetV2SystemsMeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PagedSystemResult }
func ParseGetV2SystemsMeResponse ¶
func ParseGetV2SystemsMeResponse(rsp *http.Response) (*GetV2SystemsMeResponse, error)
ParseGetV2SystemsMeResponse parses an HTTP response from a GetV2SystemsMeWithResponse call
func (GetV2SystemsMeResponse) Status ¶
func (r GetV2SystemsMeResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2SystemsMeResponse) StatusCode ¶
func (r GetV2SystemsMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2SystemsSystemIdNotificationsActiveParams ¶
type GetV2SystemsSystemIdNotificationsActiveParams struct { // Page Page number. Optional, defaults to 1. Page *int32 `form:"page,omitempty" json:"page,omitempty"` // ItemsPerPage Maximum number of results to be returned. Optional, defaults to 10. ItemsPerPage *int32 `form:"itemsPerPage,omitempty" json:"itemsPerPage,omitempty"` // AcceptLanguage Language (e.g. en-GB). AcceptLanguage *string `json:"Accept-Language,omitempty"` }
GetV2SystemsSystemIdNotificationsActiveParams defines parameters for GetV2SystemsSystemIdNotificationsActive.
type GetV2SystemsSystemIdNotificationsActiveResponse ¶
type GetV2SystemsSystemIdNotificationsActiveResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AlarmsPaged }
func ParseGetV2SystemsSystemIdNotificationsActiveResponse ¶
func ParseGetV2SystemsSystemIdNotificationsActiveResponse(rsp *http.Response) (*GetV2SystemsSystemIdNotificationsActiveResponse, error)
ParseGetV2SystemsSystemIdNotificationsActiveResponse parses an HTTP response from a GetV2SystemsSystemIdNotificationsActiveWithResponse call
func (GetV2SystemsSystemIdNotificationsActiveResponse) Status ¶
func (r GetV2SystemsSystemIdNotificationsActiveResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2SystemsSystemIdNotificationsActiveResponse) StatusCode ¶
func (r GetV2SystemsSystemIdNotificationsActiveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2SystemsSystemIdNotificationsParams ¶
type GetV2SystemsSystemIdNotificationsParams struct { // Page Page number. Optional, defaults to 1. Page *int32 `form:"page,omitempty" json:"page,omitempty"` // ItemsPerPage Maximum number of results to be returned. Optional, defaults to 10. ItemsPerPage *int32 `form:"itemsPerPage,omitempty" json:"itemsPerPage,omitempty"` // AcceptLanguage Language (e.g. en-GB). AcceptLanguage *string `json:"Accept-Language,omitempty"` }
GetV2SystemsSystemIdNotificationsParams defines parameters for GetV2SystemsSystemIdNotifications.
type GetV2SystemsSystemIdNotificationsResponse ¶
type GetV2SystemsSystemIdNotificationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AlarmsPaged }
func ParseGetV2SystemsSystemIdNotificationsResponse ¶
func ParseGetV2SystemsSystemIdNotificationsResponse(rsp *http.Response) (*GetV2SystemsSystemIdNotificationsResponse, error)
ParseGetV2SystemsSystemIdNotificationsResponse parses an HTTP response from a GetV2SystemsSystemIdNotificationsWithResponse call
func (GetV2SystemsSystemIdNotificationsResponse) Status ¶
func (r GetV2SystemsSystemIdNotificationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2SystemsSystemIdNotificationsResponse) StatusCode ¶
func (r GetV2SystemsSystemIdNotificationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2SystemsSystemIdSmartHomeModeResponse ¶
type GetV2SystemsSystemIdSmartHomeModeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SmartHomeModeModel }
func ParseGetV2SystemsSystemIdSmartHomeModeResponse ¶
func ParseGetV2SystemsSystemIdSmartHomeModeResponse(rsp *http.Response) (*GetV2SystemsSystemIdSmartHomeModeResponse, error)
ParseGetV2SystemsSystemIdSmartHomeModeResponse parses an HTTP response from a GetV2SystemsSystemIdSmartHomeModeWithResponse call
func (GetV2SystemsSystemIdSmartHomeModeResponse) Status ¶
func (r GetV2SystemsSystemIdSmartHomeModeResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2SystemsSystemIdSmartHomeModeResponse) StatusCode ¶
func (r GetV2SystemsSystemIdSmartHomeModeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2SystemsSystemIdSubscriptionsResponse ¶
type GetV2SystemsSystemIdSubscriptionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]DevicePremiumResponse }
func ParseGetV2SystemsSystemIdSubscriptionsResponse ¶
func ParseGetV2SystemsSystemIdSubscriptionsResponse(rsp *http.Response) (*GetV2SystemsSystemIdSubscriptionsResponse, error)
ParseGetV2SystemsSystemIdSubscriptionsResponse parses an HTTP response from a GetV2SystemsSystemIdSubscriptionsWithResponse call
func (GetV2SystemsSystemIdSubscriptionsResponse) Status ¶
func (r GetV2SystemsSystemIdSubscriptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2SystemsSystemIdSubscriptionsResponse) StatusCode ¶
func (r GetV2SystemsSystemIdSubscriptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV3DevicesDeviceIdPointsParams ¶
type GetV3DevicesDeviceIdPointsParams struct { // Parameters Parameter ids separated by comma. Optional parameter: // If parameter ids are not defined, then all device's parameters will be listed. Parameters *string `form:"parameters,omitempty" json:"parameters,omitempty"` // AcceptLanguage Language (e.g. en-GB). AcceptLanguage *string `json:"Accept-Language,omitempty"` }
GetV3DevicesDeviceIdPointsParams defines parameters for GetV3DevicesDeviceIdPoints.
type GetV3DevicesDeviceIdPointsResponse ¶
type GetV3DevicesDeviceIdPointsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ParameterData }
func ParseGetV3DevicesDeviceIdPointsResponse ¶
func ParseGetV3DevicesDeviceIdPointsResponse(rsp *http.Response) (*GetV3DevicesDeviceIdPointsResponse, error)
ParseGetV3DevicesDeviceIdPointsResponse parses an HTTP response from a GetV3DevicesDeviceIdPointsWithResponse call
func (GetV3DevicesDeviceIdPointsResponse) Status ¶
func (r GetV3DevicesDeviceIdPointsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV3DevicesDeviceIdPointsResponse) StatusCode ¶
func (r GetV3DevicesDeviceIdPointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWellKnownOpenidConfigurationJwksResponse ¶
func ParseGetWellKnownOpenidConfigurationJwksResponse ¶
func ParseGetWellKnownOpenidConfigurationJwksResponse(rsp *http.Response) (*GetWellKnownOpenidConfigurationJwksResponse, error)
ParseGetWellKnownOpenidConfigurationJwksResponse parses an HTTP response from a GetWellKnownOpenidConfigurationJwksWithResponse call
func (GetWellKnownOpenidConfigurationJwksResponse) Status ¶
func (r GetWellKnownOpenidConfigurationJwksResponse) Status() string
Status returns HTTPResponse.Status
func (GetWellKnownOpenidConfigurationJwksResponse) StatusCode ¶
func (r GetWellKnownOpenidConfigurationJwksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWellKnownOpenidConfigurationResponse ¶
func ParseGetWellKnownOpenidConfigurationResponse ¶
func ParseGetWellKnownOpenidConfigurationResponse(rsp *http.Response) (*GetWellKnownOpenidConfigurationResponse, error)
ParseGetWellKnownOpenidConfigurationResponse parses an HTTP response from a GetWellKnownOpenidConfigurationWithResponse call
func (GetWellKnownOpenidConfigurationResponse) Status ¶
func (r GetWellKnownOpenidConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (GetWellKnownOpenidConfigurationResponse) StatusCode ¶
func (r GetWellKnownOpenidConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type PagedSystemResult ¶
type PagedSystemResult struct { // ItemsPerPage Connection state. ItemsPerPage *int32 `json:"itemsPerPage,omitempty"` // NumItems Firmware. NumItems *int32 `json:"numItems,omitempty"` // Page Id. Page *int32 `json:"page,omitempty"` // Systems Groups. Systems *[]SystemWithDevices `json:"systems"` }
PagedSystemResult Group list.
type ParameterData ¶
type ParameterData struct { // Category Category. Category *string `json:"category"` // EnumValues Parameter enum values. EnumValues *[]EnumValues `json:"enumValues"` // MaxValue Parameter max value. MaxValue *float64 `json:"maxValue"` // MinValue Parameter min value. MinValue *float64 `json:"minValue"` // ParameterId Parameter id. ParameterId *string `json:"parameterId"` // ParameterName Parameter name. ParameterName *string `json:"parameterName"` // ParameterUnit Parameter unit. ParameterUnit *string `json:"parameterUnit"` // ScaleValue Parameter scale value. ScaleValue *string `json:"scaleValue"` // SmartHomeCategories Parameter Smart home categories. SmartHomeCategories *[]string `json:"smartHomeCategories"` // StepValue Parameter step value, specifies the allowed stepping between valid values // when the value is numeric. StepValue *float64 `json:"stepValue"` // StrVal String value property. StrVal *string `json:"strVal"` // Timestamp Timestamp property. Timestamp *time.Time `json:"timestamp,omitempty"` // Value Value property. Value *float64 `json:"value"` // Writable Defines if parameter could be changed. Writable *bool `json:"writable,omitempty"` // ZoneId Reference to a ShZone entity. ZoneId *string `json:"zoneId"` }
ParameterData Grouped parameter value.
type PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONBody ¶
PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONBody defines parameters for PatchV2DevicesDeviceIdPoints.
type PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody ¶
type PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONBody
PatchV2DevicesDeviceIdPointsApplicationJSONPatchPlusJSONRequestBody defines body for PatchV2DevicesDeviceIdPoints for application/json-patch+json ContentType.
type PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONBody ¶
PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONBody defines parameters for PatchV2DevicesDeviceIdPoints.
type PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody ¶
type PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONBody
PatchV2DevicesDeviceIdPointsApplicationWildcardPlusJSONRequestBody defines body for PatchV2DevicesDeviceIdPoints for application/*+json ContentType.
type PatchV2DevicesDeviceIdPointsJSONBody ¶
PatchV2DevicesDeviceIdPointsJSONBody defines parameters for PatchV2DevicesDeviceIdPoints.
type PatchV2DevicesDeviceIdPointsJSONRequestBody ¶
type PatchV2DevicesDeviceIdPointsJSONRequestBody PatchV2DevicesDeviceIdPointsJSONBody
PatchV2DevicesDeviceIdPointsJSONRequestBody defines body for PatchV2DevicesDeviceIdPoints for application/json ContentType.
type PatchV2DevicesDeviceIdPointsResponse ¶
type PatchV2DevicesDeviceIdPointsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudToDeviceMethodResult }
func ParsePatchV2DevicesDeviceIdPointsResponse ¶
func ParsePatchV2DevicesDeviceIdPointsResponse(rsp *http.Response) (*PatchV2DevicesDeviceIdPointsResponse, error)
ParsePatchV2DevicesDeviceIdPointsResponse parses an HTTP response from a PatchV2DevicesDeviceIdPointsWithResponse call
func (PatchV2DevicesDeviceIdPointsResponse) Status ¶
func (r PatchV2DevicesDeviceIdPointsResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV2DevicesDeviceIdPointsResponse) StatusCode ¶
func (r PatchV2DevicesDeviceIdPointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody ¶
type PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody = ZonePatchRequest
PatchV2DevicesDeviceIdZonesZoneIdApplicationJSONPatchPlusJSONRequestBody defines body for PatchV2DevicesDeviceIdZonesZoneId for application/json-patch+json ContentType.
type PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody ¶
type PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody = ZonePatchRequest
PatchV2DevicesDeviceIdZonesZoneIdApplicationWildcardPlusJSONRequestBody defines body for PatchV2DevicesDeviceIdZonesZoneId for application/*+json ContentType.
type PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody ¶
type PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody = ZonePatchRequest
PatchV2DevicesDeviceIdZonesZoneIdJSONRequestBody defines body for PatchV2DevicesDeviceIdZonesZoneId for application/json ContentType.
type PatchV2DevicesDeviceIdZonesZoneIdResponse ¶
type PatchV2DevicesDeviceIdZonesZoneIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]string }
func ParsePatchV2DevicesDeviceIdZonesZoneIdResponse ¶
func ParsePatchV2DevicesDeviceIdZonesZoneIdResponse(rsp *http.Response) (*PatchV2DevicesDeviceIdZonesZoneIdResponse, error)
ParsePatchV2DevicesDeviceIdZonesZoneIdResponse parses an HTTP response from a PatchV2DevicesDeviceIdZonesZoneIdWithResponse call
func (PatchV2DevicesDeviceIdZonesZoneIdResponse) Status ¶
func (r PatchV2DevicesDeviceIdZonesZoneIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV2DevicesDeviceIdZonesZoneIdResponse) StatusCode ¶
func (r PatchV2DevicesDeviceIdZonesZoneIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostOauthAuthorizeResponse ¶
func ParsePostOauthAuthorizeResponse ¶
func ParsePostOauthAuthorizeResponse(rsp *http.Response) (*PostOauthAuthorizeResponse, error)
ParsePostOauthAuthorizeResponse parses an HTTP response from a PostOauthAuthorizeWithResponse call
func (PostOauthAuthorizeResponse) Status ¶
func (r PostOauthAuthorizeResponse) Status() string
Status returns HTTPResponse.Status
func (PostOauthAuthorizeResponse) StatusCode ¶
func (r PostOauthAuthorizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostOauthConsentResponse ¶
func ParsePostOauthConsentResponse ¶
func ParsePostOauthConsentResponse(rsp *http.Response) (*PostOauthConsentResponse, error)
ParsePostOauthConsentResponse parses an HTTP response from a PostOauthConsentWithResponse call
func (PostOauthConsentResponse) Status ¶
func (r PostOauthConsentResponse) Status() string
Status returns HTTPResponse.Status
func (PostOauthConsentResponse) StatusCode ¶
func (r PostOauthConsentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostOauthLoginResponse ¶
func ParsePostOauthLoginResponse ¶
func ParsePostOauthLoginResponse(rsp *http.Response) (*PostOauthLoginResponse, error)
ParsePostOauthLoginResponse parses an HTTP response from a PostOauthLoginWithResponse call
func (PostOauthLoginResponse) Status ¶
func (r PostOauthLoginResponse) Status() string
Status returns HTTPResponse.Status
func (PostOauthLoginResponse) StatusCode ¶
func (r PostOauthLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostOauthTokenResponse ¶
func ParsePostOauthTokenResponse ¶
func ParsePostOauthTokenResponse(rsp *http.Response) (*PostOauthTokenResponse, error)
ParsePostOauthTokenResponse parses an HTTP response from a PostOauthTokenWithResponse call
func (PostOauthTokenResponse) Status ¶
func (r PostOauthTokenResponse) Status() string
Status returns HTTPResponse.Status
func (PostOauthTokenResponse) StatusCode ¶
func (r PostOauthTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PremiumFeatureResponseModel ¶
type PremiumFeatureResponseModel struct { // Type Premium features enum. Type *PremiumFeatures `json:"type,omitempty"` ValidUntil *time.Time `json:"validUntil"` }
PremiumFeatureResponseModel defines model for PremiumFeatureResponseModel.
type PremiumFeatures ¶
type PremiumFeatures string
PremiumFeatures Premium features enum.
const ( History PremiumFeatures = "history" Manage PremiumFeatures = "manage" Organization PremiumFeatures = "organization" )
Defines values for PremiumFeatures.
type Product ¶
type Product struct { // Name Name. Name *string `json:"name"` // SerialNumber Serial number. SerialNumber *string `json:"serialNumber"` }
Product Product model.
type ProductResponseModel ¶
type ProductResponseModel struct { // Name Name Name *string `json:"name"` // SerialNumber SerialNumber SerialNumber *string `json:"serialNumber"` }
ProductResponseModel ProductResponseModel
type PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody ¶
type PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody = SmartHomeModeModel
PutV2SystemsSystemIdSmartHomeModeApplicationJSONPatchPlusJSONRequestBody defines body for PutV2SystemsSystemIdSmartHomeMode for application/json-patch+json ContentType.
type PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody ¶
type PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody = SmartHomeModeModel
PutV2SystemsSystemIdSmartHomeModeApplicationWildcardPlusJSONRequestBody defines body for PutV2SystemsSystemIdSmartHomeMode for application/*+json ContentType.
type PutV2SystemsSystemIdSmartHomeModeJSONRequestBody ¶
type PutV2SystemsSystemIdSmartHomeModeJSONRequestBody = SmartHomeModeModel
PutV2SystemsSystemIdSmartHomeModeJSONRequestBody defines body for PutV2SystemsSystemIdSmartHomeMode for application/json ContentType.
type PutV2SystemsSystemIdSmartHomeModeResponse ¶
func ParsePutV2SystemsSystemIdSmartHomeModeResponse ¶
func ParsePutV2SystemsSystemIdSmartHomeModeResponse(rsp *http.Response) (*PutV2SystemsSystemIdSmartHomeModeResponse, error)
ParsePutV2SystemsSystemIdSmartHomeModeResponse parses an HTTP response from a PutV2SystemsSystemIdSmartHomeModeWithResponse call
func (PutV2SystemsSystemIdSmartHomeModeResponse) Status ¶
func (r PutV2SystemsSystemIdSmartHomeModeResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2SystemsSystemIdSmartHomeModeResponse) StatusCode ¶
func (r PutV2SystemsSystemIdSmartHomeModeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SecurityLevel ¶
type SecurityLevel string
SecurityLevel defines model for SecurityLevel.
const ( Admin SecurityLevel = "admin" Manager SecurityLevel = "manager" Viewer SecurityLevel = "viewer" )
Defines values for SecurityLevel.
type SmartHomeModeModel ¶
type SmartHomeModeModel struct { // SmartHomeMode Smart mode enum. SmartHomeMode *SmartMode `json:"smartHomeMode,omitempty"` }
SmartHomeModeModel defines model for SmartHomeModeModel.
type SystemDevice ¶
type SystemDevice struct { // ConnectionState Specifies the different connection states of a device. // 0 - Disconnected // 1 - Connected ConnectionState *DeviceConnectionState `json:"connectionState,omitempty"` // CurrentFwVersion Current firmware version. CurrentFwVersion *string `json:"currentFwVersion"` // Id Id. Id *string `json:"id"` // Product Product model. Product *Product `json:"product,omitempty"` }
SystemDevice Device model.
type SystemWithDevices ¶
type SystemWithDevices struct { // Country System country. Country *string `json:"country"` // Devices List of devices. Devices *[]SystemDevice `json:"devices"` // HasAlarm Whether system currently has an active alarm. HasAlarm *bool `json:"hasAlarm,omitempty"` // Name System name. Name *string `json:"name"` SecurityLevel *SecurityLevel `json:"securityLevel,omitempty"` // SystemId System identifier. SystemId *openapi_types.UUID `json:"systemId,omitempty"` }
SystemWithDevices Group.
type ZonePatchRequest ¶
type ZonePatchRequest struct { Mode *string `json:"mode"` SetpointCool *float64 `json:"setpointCool"` SetpointHeat *float64 `json:"setpointHeat"` }
ZonePatchRequest defines model for ZonePatchRequest.
type ZoneResponse ¶
type ZoneResponse struct { // CommandOnly If true, zone is command-only and no temperature readings // are available. Setpoint will be an unspecified value // (not degrees). CommandOnly *bool `json:"commandOnly,omitempty"` // IndoorCo2 Indoor CO2 levels (0-40000ppm) IndoorCo2 *int32 `json:"indoorCo2"` // IndoorHumidity Indoor humidity (0-100%RH) IndoorHumidity *float64 `json:"indoorHumidity"` // IsCelsius Specified temperature unit in haystack. // If "isCelsius" is false then all temperatures are in Fahrenheit. Otherwies it is in Celsius. IsCelsius *bool `json:"isCelsius,omitempty"` // Mode Sh-zone's current mode. Mode *string `json:"mode"` // Name sh-zone's parameter name. Name *string `json:"name"` // Setpoint Target temperature in target unit. Setpoint *float64 `json:"setpoint"` // SetpointCool Cooling setpoint current value. SetpointCool *float64 `json:"setpointCool"` // SetpointHeat Heating setpoint current value. SetpointHeat *float64 `json:"setpointHeat"` // SetpointRangeMax Maximum temperature range. SetpointRangeMax *int32 `json:"setpointRangeMax"` // SetpointRangeMin Minimum temperature range. SetpointRangeMin *int32 `json:"setpointRangeMin"` // SupportedModes sh-zone's supported modes. SupportedModes *string `json:"supportedModes"` // Temperature Current temperature in target unit. Temperature *float64 `json:"temperature"` // ZoneId sh-zone's parameter id. ZoneId *string `json:"zoneId"` }
ZoneResponse defines model for ZoneResponse.