generatedhttp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package generatedhttp provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBeginOrContinueOAuthAuthorizationRequest

func NewBeginOrContinueOAuthAuthorizationRequest(server string, params *BeginOrContinueOAuthAuthorizationParams) (*http.Request, error)

NewBeginOrContinueOAuthAuthorizationRequest constructs an http.Request for the BeginOrContinueOAuthAuthorization method

func NewDeleteRecordingRequest

func NewDeleteRecordingRequest(server string, recordingId RecordingId, params *DeleteRecordingParams) (*http.Request, error)

NewDeleteRecordingRequest constructs an http.Request for the DeleteRecording method

func NewExchangeOrRefreshOAuthTokenRequestWithBody

func NewExchangeOrRefreshOAuthTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewExchangeOrRefreshOAuthTokenRequestWithBody constructs an http.Request for the ExchangeOrRefreshOAuthToken method, with any body, and a specified content type

func NewExchangeOrRefreshOAuthTokenRequestWithFormdataBody

func NewExchangeOrRefreshOAuthTokenRequestWithFormdataBody(server string, body ExchangeOrRefreshOAuthTokenFormdataRequestBody) (*http.Request, error)

NewExchangeOrRefreshOAuthTokenRequestWithFormdataBody calls the generic ExchangeOrRefreshOAuthToken builder with application/x-www-form-urlencoded body

func NewFavoriteRecordingRequest

func NewFavoriteRecordingRequest(server string, recordingId RecordingId) (*http.Request, error)

NewFavoriteRecordingRequest constructs an http.Request for the FavoriteRecording method

func NewGetActiveDingsRequest

func NewGetActiveDingsRequest(server string) (*http.Request, error)

NewGetActiveDingsRequest constructs an http.Request for the GetActiveDings method

func NewGetCapturedLocationTicketsRequest

func NewGetCapturedLocationTicketsRequest(server string, params *GetCapturedLocationTicketsParams) (*http.Request, error)

NewGetCapturedLocationTicketsRequest constructs an http.Request for the GetCapturedLocationTickets method

func NewGetDeviceRequest

func NewGetDeviceRequest(server string, deviceId DeviceId) (*http.Request, error)

NewGetDeviceRequest constructs an http.Request for the GetDevice method

func NewGetDeviceSettingsRequest

func NewGetDeviceSettingsRequest(server string, deviceId DeviceId) (*http.Request, error)

NewGetDeviceSettingsRequest constructs an http.Request for the GetDeviceSettings method

func NewGetDeviceTimelineRequest

func NewGetDeviceTimelineRequest(server string, deviceId DeviceId, params *GetDeviceTimelineParams) (*http.Request, error)

NewGetDeviceTimelineRequest constructs an http.Request for the GetDeviceTimeline method

func NewGetHistoryDevicesRequest

func NewGetHistoryDevicesRequest(server string, params *GetHistoryDevicesParams) (*http.Request, error)

NewGetHistoryDevicesRequest constructs an http.Request for the GetHistoryDevices method

func NewGetLegacyDeviceHealthRequest

func NewGetLegacyDeviceHealthRequest(server string, deviceId DeviceId) (*http.Request, error)

NewGetLegacyDeviceHealthRequest constructs an http.Request for the GetLegacyDeviceHealth method

func NewGetLegacyDeviceHistoryRequest

func NewGetLegacyDeviceHistoryRequest(server string, deviceId DeviceId, params *GetLegacyDeviceHistoryParams) (*http.Request, error)

NewGetLegacyDeviceHistoryRequest constructs an http.Request for the GetLegacyDeviceHistory method

func NewGetLegacyRecordingShareURLRequest

func NewGetLegacyRecordingShareURLRequest(server string, recordingId RecordingId) (*http.Request, error)

NewGetLegacyRecordingShareURLRequest constructs an http.Request for the GetLegacyRecordingShareURL method

func NewGetLegacySnapshotImageRequest

func NewGetLegacySnapshotImageRequest(server string, deviceId DeviceId) (*http.Request, error)

NewGetLegacySnapshotImageRequest constructs an http.Request for the GetLegacySnapshotImage method

func NewGetLocationRequest

func NewGetLocationRequest(server string, locationId LocationId, params *GetLocationParams) (*http.Request, error)

NewGetLocationRequest constructs an http.Request for the GetLocation method

func NewListDevicesRequest

func NewListDevicesRequest(server string) (*http.Request, error)

NewListDevicesRequest constructs an http.Request for the ListDevices method

func NewListLocationDevicesRequest

func NewListLocationDevicesRequest(server string, locationId LocationId) (*http.Request, error)

NewListLocationDevicesRequest constructs an http.Request for the ListLocationDevices method

func NewListLocationGroupsRequest

func NewListLocationGroupsRequest(server string, locationId LocationId) (*http.Request, error)

NewListLocationGroupsRequest constructs an http.Request for the ListLocationGroups method

func NewListLocationsRequest

func NewListLocationsRequest(server string) (*http.Request, error)

NewListLocationsRequest constructs an http.Request for the ListLocations method

func NewPatchDeviceSettingsRequest

func NewPatchDeviceSettingsRequest(server string, deviceId DeviceId, body PatchDeviceSettingsJSONRequestBody) (*http.Request, error)

NewPatchDeviceSettingsRequest calls the generic PatchDeviceSettings builder with application/json body

func NewPatchDeviceSettingsRequestWithBody

func NewPatchDeviceSettingsRequestWithBody(server string, deviceId DeviceId, contentType string, body io.Reader) (*http.Request, error)

NewPatchDeviceSettingsRequestWithBody constructs an http.Request for the PatchDeviceSettings method, with any body, and a specified content type

func NewRefreshLegacySnapshotTimestampRequest

func NewRefreshLegacySnapshotTimestampRequest(server string, body RefreshLegacySnapshotTimestampJSONRequestBody) (*http.Request, error)

NewRefreshLegacySnapshotTimestampRequest calls the generic RefreshLegacySnapshotTimestamp builder with application/json body

func NewRefreshLegacySnapshotTimestampRequestWithBody

func NewRefreshLegacySnapshotTimestampRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRefreshLegacySnapshotTimestampRequestWithBody constructs an http.Request for the RefreshLegacySnapshotTimestamp method, with any body, and a specified content type

func NewRegisterClientSessionRequest

func NewRegisterClientSessionRequest(server string, body RegisterClientSessionJSONRequestBody) (*http.Request, error)

NewRegisterClientSessionRequest calls the generic RegisterClientSession builder with application/json body

func NewRegisterClientSessionRequestWithBody

func NewRegisterClientSessionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRegisterClientSessionRequestWithBody constructs an http.Request for the RegisterClientSession method, with any body, and a specified content type

func NewRegisterPushDeviceRequest added in v0.4.0

func NewRegisterPushDeviceRequest(server string, body RegisterPushDeviceJSONRequestBody) (*http.Request, error)

NewRegisterPushDeviceRequest calls the generic RegisterPushDevice builder with application/json body

func NewRegisterPushDeviceRequestWithBody added in v0.4.0

func NewRegisterPushDeviceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRegisterPushDeviceRequestWithBody constructs an http.Request for the RegisterPushDevice method, with any body, and a specified content type

func NewRequestLegacySignalingTicketRequest

func NewRequestLegacySignalingTicketRequest(server string) (*http.Request, error)

NewRequestLegacySignalingTicketRequest constructs an http.Request for the RequestLegacySignalingTicket method

func NewSendDeviceCommandRequest

func NewSendDeviceCommandRequest(server string, deviceId DeviceId, body SendDeviceCommandJSONRequestBody) (*http.Request, error)

NewSendDeviceCommandRequest calls the generic SendDeviceCommand builder with application/json body

func NewSendDeviceCommandRequestWithBody

func NewSendDeviceCommandRequestWithBody(server string, deviceId DeviceId, contentType string, body io.Reader) (*http.Request, error)

NewSendDeviceCommandRequestWithBody constructs an http.Request for the SendDeviceCommand method, with any body, and a specified content type

func NewSetChimeVolumeRequest

func NewSetChimeVolumeRequest(server string, deviceId DeviceId, params *SetChimeVolumeParams) (*http.Request, error)

NewSetChimeVolumeRequest constructs an http.Request for the SetChimeVolume method

func NewSetLiveViewEnabledRequest

func NewSetLiveViewEnabledRequest(server string, deviceId DeviceId, body SetLiveViewEnabledJSONRequestBody) (*http.Request, error)

NewSetLiveViewEnabledRequest calls the generic SetLiveViewEnabled builder with application/json body

func NewSetLiveViewEnabledRequestWithBody

func NewSetLiveViewEnabledRequestWithBody(server string, deviceId DeviceId, contentType string, body io.Reader) (*http.Request, error)

NewSetLiveViewEnabledRequestWithBody constructs an http.Request for the SetLiveViewEnabled method, with any body, and a specified content type

func NewStreamRecordingRequest

func NewStreamRecordingRequest(server string, recordingId RecordingId) (*http.Request, error)

NewStreamRecordingRequest constructs an http.Request for the StreamRecording method

func NewSubmitOAuthCredentialsRequestWithBody

func NewSubmitOAuthCredentialsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSubmitOAuthCredentialsRequestWithBody constructs an http.Request for the SubmitOAuthCredentials method, with any body, and a specified content type

func NewSubmitOAuthCredentialsRequestWithFormdataBody

func NewSubmitOAuthCredentialsRequestWithFormdataBody(server string, body SubmitOAuthCredentialsFormdataRequestBody) (*http.Request, error)

NewSubmitOAuthCredentialsRequestWithFormdataBody calls the generic SubmitOAuthCredentials builder with application/x-www-form-urlencoded body

func NewSubscribeDeviceDingRequest added in v0.4.0

func NewSubscribeDeviceDingRequest(server string, deviceId DeviceId) (*http.Request, error)

NewSubscribeDeviceDingRequest constructs an http.Request for the SubscribeDeviceDing method

func NewSubscribeDeviceMotionRequest added in v0.4.0

func NewSubscribeDeviceMotionRequest(server string, deviceId DeviceId) (*http.Request, error)

NewSubscribeDeviceMotionRequest constructs an http.Request for the SubscribeDeviceMotion method

func NewTestChimeSoundRequest

func NewTestChimeSoundRequest(server string, deviceId DeviceId, params *TestChimeSoundParams) (*http.Request, error)

NewTestChimeSoundRequest constructs an http.Request for the TestChimeSound method

func NewTurnFloodlightOffRequest

func NewTurnFloodlightOffRequest(server string, deviceId DeviceId) (*http.Request, error)

NewTurnFloodlightOffRequest constructs an http.Request for the TurnFloodlightOff method

func NewTurnFloodlightOnRequest

func NewTurnFloodlightOnRequest(server string, deviceId DeviceId) (*http.Request, error)

NewTurnFloodlightOnRequest constructs an http.Request for the TurnFloodlightOn method

func NewTurnSirenOffRequest

func NewTurnSirenOffRequest(server string, deviceId DeviceId) (*http.Request, error)

NewTurnSirenOffRequest constructs an http.Request for the TurnSirenOff method

func NewTurnSirenOnRequest

func NewTurnSirenOnRequest(server string, deviceId DeviceId) (*http.Request, error)

NewTurnSirenOnRequest constructs an http.Request for the TurnSirenOn method

func NewUnlockIntercomRequest added in v0.4.0

func NewUnlockIntercomRequest(server string, deviceId DeviceId, body UnlockIntercomJSONRequestBody) (*http.Request, error)

NewUnlockIntercomRequest calls the generic UnlockIntercom builder with application/json body

func NewUnlockIntercomRequestWithBody added in v0.4.0

func NewUnlockIntercomRequestWithBody(server string, deviceId DeviceId, contentType string, body io.Reader) (*http.Request, error)

NewUnlockIntercomRequestWithBody constructs an http.Request for the UnlockIntercom method, with any body, and a specified content type

func NewUpdateLegacyDoorbotControlsRequest

func NewUpdateLegacyDoorbotControlsRequest(server string, deviceId DeviceId, params *UpdateLegacyDoorbotControlsParams) (*http.Request, error)

NewUpdateLegacyDoorbotControlsRequest constructs an http.Request for the UpdateLegacyDoorbotControls method

func NewVerifyOAuthTwoFactorCodeRequestWithBody

func NewVerifyOAuthTwoFactorCodeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewVerifyOAuthTwoFactorCodeRequestWithBody constructs an http.Request for the VerifyOAuthTwoFactorCode method, with any body, and a specified content type

func NewVerifyOAuthTwoFactorCodeRequestWithFormdataBody

func NewVerifyOAuthTwoFactorCodeRequestWithFormdataBody(server string, body VerifyOAuthTwoFactorCodeFormdataRequestBody) (*http.Request, error)

NewVerifyOAuthTwoFactorCodeRequestWithFormdataBody calls the generic VerifyOAuthTwoFactorCode builder with application/x-www-form-urlencoded body

Types

type AllowUserOnly

type AllowUserOnly = bool

AllowUserOnly defines model for allowUserOnly.

type AuthFailure

type AuthFailure = JsonValue

AuthFailure Explicit escape hatch for fields without observed structure or typed error responses.

type AuthorizationCodeGrant

type AuthorizationCodeGrant struct {
	ClientId     string                          `json:"client_id"`
	Code         string                          `json:"code"`
	CodeVerifier string                          `json:"code_verifier"`
	GrantType    AuthorizationCodeGrantGrantType `json:"grant_type"`
	RedirectUri  string                          `json:"redirect_uri"`
}

AuthorizationCodeGrant defines model for AuthorizationCodeGrant.

type AuthorizationCodeGrantGrantType

type AuthorizationCodeGrantGrantType string

AuthorizationCodeGrantGrantType defines model for AuthorizationCodeGrant.GrantType.

const (
	AuthorizationCode AuthorizationCodeGrantGrantType = "authorization_code"
)

Defines values for AuthorizationCodeGrantGrantType.

func (AuthorizationCodeGrantGrantType) Valid

Valid indicates whether the value is a known member of the AuthorizationCodeGrantGrantType enum.

type BeginOrContinueOAuthAuthorizationParams

type BeginOrContinueOAuthAuthorizationParams struct {
	RedirectUri  *string                                              `form:"redirect_uri,omitempty" json:"redirect_uri,omitempty"`
	ClientId     *string                                              `form:"client_id,omitempty" json:"client_id,omitempty"`
	ResponseType *BeginOrContinueOAuthAuthorizationParamsResponseType `form:"response_type,omitempty" json:"response_type,omitempty"`

	// Prompt The implemented PKCE flow sends login; other OAuth prompts may exist.
	Prompt *string `form:"prompt,omitempty" json:"prompt,omitempty"`
	State  *string `form:"state,omitempty" json:"state,omitempty"`

	// Scope The implemented client requests the client scope.
	Scope               *string                                                     `form:"scope,omitempty" json:"scope,omitempty"`
	CodeChallenge       *string                                                     `form:"code_challenge,omitempty" json:"code_challenge,omitempty"`
	CodeChallengeMethod *BeginOrContinueOAuthAuthorizationParamsCodeChallengeMethod `form:"code_challenge_method,omitempty" json:"code_challenge_method,omitempty"`
	DeviceModel         *string                                                     `form:"device_model,omitempty" json:"device_model,omitempty"`
	AppVersion          *string                                                     `form:"app_version,omitempty" json:"app_version,omitempty"`

	// DarkMode Boolean serialized as a query string.
	DarkMode        *bool   `form:"dark_mode,omitempty" json:"dark_mode,omitempty"`
	DeviceBrand     *string `form:"device_brand,omitempty" json:"device_brand,omitempty"`
	DeviceOsVersion *string `form:"device_os_version,omitempty" json:"device_os_version,omitempty"`
	AppBrand        *string `form:"app_brand,omitempty" json:"app_brand,omitempty"`
	HardwareId      *string `form:"hardware_id,omitempty" json:"hardware_id,omitempty"`
}

BeginOrContinueOAuthAuthorizationParams defines parameters for BeginOrContinueOAuthAuthorization.

type BeginOrContinueOAuthAuthorizationParamsCodeChallengeMethod

type BeginOrContinueOAuthAuthorizationParamsCodeChallengeMethod string

BeginOrContinueOAuthAuthorizationParamsCodeChallengeMethod defines parameters for BeginOrContinueOAuthAuthorization.

Defines values for BeginOrContinueOAuthAuthorizationParamsCodeChallengeMethod.

func (BeginOrContinueOAuthAuthorizationParamsCodeChallengeMethod) Valid

Valid indicates whether the value is a known member of the BeginOrContinueOAuthAuthorizationParamsCodeChallengeMethod enum.

type BeginOrContinueOAuthAuthorizationParamsResponseType

type BeginOrContinueOAuthAuthorizationParamsResponseType string

BeginOrContinueOAuthAuthorizationParamsResponseType defines parameters for BeginOrContinueOAuthAuthorization.

Defines values for BeginOrContinueOAuthAuthorizationParamsResponseType.

func (BeginOrContinueOAuthAuthorizationParamsResponseType) Valid

Valid indicates whether the value is a known member of the BeginOrContinueOAuthAuthorizationParamsResponseType enum.

type BeginOrContinueOAuthAuthorizationResponse

type BeginOrContinueOAuthAuthorizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *AuthFailure
	// Headers302 the parsed response headers for an HTTP 302 response
	Headers302 *BeginOrContinueOAuthAuthorizationResponse302Headers
}

func ParseBeginOrContinueOAuthAuthorizationResponse

func ParseBeginOrContinueOAuthAuthorizationResponse(rsp *http.Response) (*BeginOrContinueOAuthAuthorizationResponse, error)

ParseBeginOrContinueOAuthAuthorizationResponse parses an HTTP response from a BeginOrContinueOAuthAuthorizationWithResponse call

func (BeginOrContinueOAuthAuthorizationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BeginOrContinueOAuthAuthorizationResponse) GetBody

GetBody returns the raw response body bytes

func (BeginOrContinueOAuthAuthorizationResponse) GetJSONDefault

GetJSONDefault returns the response for an HTTP default `application/json` response

func (BeginOrContinueOAuthAuthorizationResponse) Status

Status returns HTTPResponse.Status

func (BeginOrContinueOAuthAuthorizationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BeginOrContinueOAuthAuthorizationResponse302Headers

type BeginOrContinueOAuthAuthorizationResponse302Headers struct {
	Location string
}

BeginOrContinueOAuthAuthorizationResponse302Headers the declared response headers of an HTTP 302 response for BeginOrContinueOAuthAuthorization

type CameraDeviceKind

type CameraDeviceKind string

CameraDeviceKind Known camera kinds from captured and baseline inventories.

const (
	CocoaCamera         CameraDeviceKind = "cocoa_camera"
	CocoaFloodlight     CameraDeviceKind = "cocoa_floodlight"
	CocoaSpotlight      CameraDeviceKind = "cocoa_spotlight"
	FloodlightPro       CameraDeviceKind = "floodlight_pro"
	FloodlightV2        CameraDeviceKind = "floodlight_v2"
	HpCamV1             CameraDeviceKind = "hp_cam_v1"
	HpCamV2             CameraDeviceKind = "hp_cam_v2"
	SpotlightwV2        CameraDeviceKind = "spotlightw_v2"
	StickupCam          CameraDeviceKind = "stickup_cam"
	StickupCamElite     CameraDeviceKind = "stickup_cam_elite"
	StickupCamLongfin   CameraDeviceKind = "stickup_cam_longfin"
	StickupCamLunar     CameraDeviceKind = "stickup_cam_lunar"
	StickupCamMini      CameraDeviceKind = "stickup_cam_mini"
	StickupCamMiniPtzV1 CameraDeviceKind = "stickup_cam_mini_ptz_v1"
	StickupCamMiniV2    CameraDeviceKind = "stickup_cam_mini_v2"
	StickupCamV3        CameraDeviceKind = "stickup_cam_v3"
	StickupCamV4        CameraDeviceKind = "stickup_cam_v4"
	StickupCamWired     CameraDeviceKind = "stickup_cam_wired"
)

Defines values for CameraDeviceKind.

func (CameraDeviceKind) Valid

func (e CameraDeviceKind) Valid() bool

Valid indicates whether the value is a known member of the CameraDeviceKind enum.

type Capabilities

type Capabilities = string

Capabilities defines model for capabilities.

type CapturedTickets

type CapturedTickets struct {
	Assets               *[]JsonValue           `json:"assets,omitempty"`
	Host                 string                 `json:"host"`
	SubscriptionTopics   *[]string              `json:"subscriptionTopics,omitempty"`
	Ticket               string                 `json:"ticket"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

CapturedTickets defines model for CapturedTickets.

func (CapturedTickets) Get

func (a CapturedTickets) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for CapturedTickets. Returns the specified element and whether it was found

func (CapturedTickets) MarshalJSON

func (a CapturedTickets) MarshalJSON() ([]byte, error)

Override default JSON handling for CapturedTickets to handle AdditionalProperties

func (*CapturedTickets) Set

func (a *CapturedTickets) Set(fieldName string, value interface{})

Setter for additional properties for CapturedTickets

func (*CapturedTickets) UnmarshalJSON

func (a *CapturedTickets) UnmarshalJSON(b []byte) error

Override default JSON handling for CapturedTickets to handle AdditionalProperties

type ChimeDeviceKind

type ChimeDeviceKind string

ChimeDeviceKind Known chime kinds from captured and baseline inventories.

const (
	Chime      ChimeDeviceKind = "chime"
	ChimePro   ChimeDeviceKind = "chime_pro"
	ChimeProV2 ChimeDeviceKind = "chime_pro_v2"
	ChimeV2    ChimeDeviceKind = "chime_v2"
)

Defines values for ChimeDeviceKind.

func (ChimeDeviceKind) Valid

func (e ChimeDeviceKind) Valid() bool

Valid indicates whether the value is a known member of the ChimeDeviceKind enum.

type ChimeSettings

type ChimeSettings struct {
	// Duration Chime duration in seconds.
	Duration *int  `json:"duration,omitempty"`
	Enable   *bool `json:"enable,omitempty"`

	// Type Captured chime type code is 2; other numeric codes remain valid.
	Type                 *int                   `json:"type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ChimeSettings defines model for ChimeSettings.

func (ChimeSettings) Get

func (a ChimeSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ChimeSettings. Returns the specified element and whether it was found

func (ChimeSettings) MarshalJSON

func (a ChimeSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for ChimeSettings to handle AdditionalProperties

func (*ChimeSettings) Set

func (a *ChimeSettings) Set(fieldName string, value interface{})

Setter for additional properties for ChimeSettings

func (*ChimeSettings) UnmarshalJSON

func (a *ChimeSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for ChimeSettings to handle AdditionalProperties

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

func (c *Client) BeginOrContinueOAuthAuthorization(ctx context.Context, params *BeginOrContinueOAuthAuthorizationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BeginOrContinueOAuthAuthorization performs a GET /oauth/v2/authorize (the `BeginOrContinueOAuthAuthorization` operationId) request.

Existing Go PKCE flow. The first request sends the authorization query parameters; later requests reuse the cookie-backed session and may omit them. Redirect state is checked by the client. This route is not present in the C1 HTTP captures.

func (*Client) DeleteRecording

func (c *Client) DeleteRecording(ctx context.Context, recordingId RecordingId, params *DeleteRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteRecording performs a DELETE /clients_api/dings/{recording_id} (the `DeleteRecording` operationId) request.

func (*Client) ExchangeOrRefreshOAuthTokenWithBody

func (c *Client) ExchangeOrRefreshOAuthTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ExchangeOrRefreshOAuthTokenWithBody performs a POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId) request, with any type of body and a specified content type.

Existing Go authorization-code PKCE exchange and explicit refresh; legacy password grant remains a fallback only when the OAuth authorize endpoint is unavailable. There is no captured OAuth token exchange.

func (*Client) ExchangeOrRefreshOAuthTokenWithFormdataBody

func (c *Client) ExchangeOrRefreshOAuthTokenWithFormdataBody(ctx context.Context, body ExchangeOrRefreshOAuthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ExchangeOrRefreshOAuthTokenWithFormdataBody performs a POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId) request. Takes a body of the `application/x-www-form-urlencoded` content type.

Existing Go authorization-code PKCE exchange and explicit refresh; legacy password grant remains a fallback only when the OAuth authorize endpoint is unavailable. There is no captured OAuth token exchange.

func (*Client) FavoriteRecording

func (c *Client) FavoriteRecording(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

FavoriteRecording performs a PUT /clients_api/dings/{recording_id}/favorite (the `FavoriteRecording` operationId) request.

func (*Client) GetActiveDings

func (c *Client) GetActiveDings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetActiveDings performs a GET /clients_api/dings/active (the `GetActiveDings` operationId) request.

Existing Go active-dings route. No matching C1 capture was identified.

func (*Client) GetCapturedLocationTickets

func (c *Client) GetCapturedLocationTickets(ctx context.Context, params *GetCapturedLocationTicketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCapturedLocationTickets performs a GET /api/v1/clap/tickets (the `GetCapturedLocationTickets` operationId) request.

Captured GET route. Its relationship to the existing POST signaling bootstrap below is not established.

func (*Client) GetDevice

func (c *Client) GetDevice(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDevice performs a GET /device_info/v3/devices/{device_id} (the `GetDevice` operationId) request.

func (*Client) GetDeviceSettings

func (c *Client) GetDeviceSettings(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDeviceSettings performs a GET /devices/v1/devices/{device_id}/settings (the `GetDeviceSettings` operationId) request.

Captured response is extensible; typed Go API exposes motion_detection_enabled only.

func (*Client) GetDeviceTimeline

func (c *Client) GetDeviceTimeline(ctx context.Context, deviceId DeviceId, params *GetDeviceTimelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDeviceTimeline performs a GET /evm/v2/timeline/devices/{device_id} (the `GetDeviceTimeline` operationId) request.

func (*Client) GetHistoryDevices

func (c *Client) GetHistoryDevices(ctx context.Context, params *GetHistoryDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetHistoryDevices performs a GET /evm/v3/history/devices (the `GetHistoryDevices` operationId) request.

func (*Client) GetLegacyDeviceHealth

func (c *Client) GetLegacyDeviceHealth(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLegacyDeviceHealth performs a GET /clients_api/ring_devices/{device_id}/health (the `GetLegacyDeviceHealth` operationId) request.

Generic device health route. The captured HTTP set has no matching health response; SDK tests use local fixtures only.

func (*Client) GetLegacyDeviceHistory

func (c *Client) GetLegacyDeviceHistory(ctx context.Context, deviceId DeviceId, params *GetLegacyDeviceHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLegacyDeviceHistory performs a GET /clients_api/doorbots/{device_id}/history (the `GetLegacyDeviceHistory` operationId) request.

Existing Go history operation uses this doorbot path. The Go API exposes limit and kind; older_than is documented but not sent by the client. C1 history routes use EVM endpoints and are specified separately.

func (*Client) GetLegacyRecordingShareURL

func (c *Client) GetLegacyRecordingShareURL(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLegacyRecordingShareURL performs a GET /clients_api/dings/{recording_id}/share/play (the `GetLegacyRecordingShareURL` operationId) request.

Legacy share/play response, replayed synthetically; no matching C1 response.

func (*Client) GetLegacySnapshotImage

func (c *Client) GetLegacySnapshotImage(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLegacySnapshotImage performs a GET /clients_api/snapshots/image/{device_id} (the `GetLegacySnapshotImage` operationId) request.

Legacy image download after a newer timestamp appears; response shape is synthetic replay evidence.

func (*Client) GetLocation

func (c *Client) GetLocation(ctx context.Context, locationId LocationId, params *GetLocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLocation performs a GET /location_info/v4/locations/{location_id} (the `GetLocation` operationId) request.

func (*Client) ListDevices

func (c *Client) ListDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListDevices performs a GET /device_info/v3/devices (the `ListDevices` operationId) request.

func (*Client) ListLocationDevices

func (c *Client) ListLocationDevices(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListLocationDevices performs a GET /groups/v1/locations/{location_id}/devices (the `ListLocationDevices` operationId) request.

func (*Client) ListLocationGroups

func (c *Client) ListLocationGroups(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListLocationGroups performs a GET /groups/v1/locations/{location_id}/groups (the `ListLocationGroups` operationId) request.

func (*Client) ListLocations

func (c *Client) ListLocations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListLocations performs a GET /location_info/v3/locations (the `ListLocations` operationId) request.

func (*Client) PatchDeviceSettings

func (c *Client) PatchDeviceSettings(ctx context.Context, deviceId DeviceId, body PatchDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchDeviceSettings performs a PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId) request. Takes a body of the `application/json` content type.

The wire schema accepts all captured settings patches. The typed Go API currently sends only motion_settings.motion_detection_enabled.

func (*Client) PatchDeviceSettingsWithBody

func (c *Client) PatchDeviceSettingsWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchDeviceSettingsWithBody performs a PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId) request, with any type of body and a specified content type.

The wire schema accepts all captured settings patches. The typed Go API currently sends only motion_settings.motion_detection_enabled.

func (*Client) RefreshLegacySnapshotTimestamp

func (c *Client) RefreshLegacySnapshotTimestamp(ctx context.Context, body RefreshLegacySnapshotTimestampJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RefreshLegacySnapshotTimestamp performs a POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId) request. Takes a body of the `application/json` content type.

Legacy snapshot trigger and poll. The first response may omit timestamps. This contract comes from shared synthetic replay, not the C1 app-snaps request with missing response.

func (*Client) RefreshLegacySnapshotTimestampWithBody

func (c *Client) RefreshLegacySnapshotTimestampWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RefreshLegacySnapshotTimestampWithBody performs a POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId) request, with any type of body and a specified content type.

Legacy snapshot trigger and poll. The first response may omit timestamps. This contract comes from shared synthetic replay, not the C1 app-snaps request with missing response.

func (*Client) RegisterClientSession

func (c *Client) RegisterClientSession(ctx context.Context, body RegisterClientSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterClientSession performs a POST /clients_api/session (the `RegisterClientSession` operationId) request. Takes a body of the `application/json` content type.

Existing Go session-registration body, sent once before inventory or signaling when a hardware ID is configured. The shape below follows the Go implementation; no C1 capture was identified.

func (*Client) RegisterClientSessionWithBody

func (c *Client) RegisterClientSessionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterClientSessionWithBody performs a POST /clients_api/session (the `RegisterClientSession` operationId) request, with any type of body and a specified content type.

Existing Go session-registration body, sent once before inventory or signaling when a hardware ID is configured. The shape below follows the Go implementation; no C1 capture was identified.

func (*Client) RegisterPushDevice added in v0.4.0

func (c *Client) RegisterPushDevice(ctx context.Context, body RegisterPushDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterPushDevice performs a PATCH /clients_api/device (the `RegisterPushDevice` operationId) request. Takes a body of the `application/json` content type.

Register a caller-owned FCM token for Ring notifications; source-client contract, not observed in the camera HTTP capture.

func (*Client) RegisterPushDeviceWithBody added in v0.4.0

func (c *Client) RegisterPushDeviceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterPushDeviceWithBody performs a PATCH /clients_api/device (the `RegisterPushDevice` operationId) request, with any type of body and a specified content type.

Register a caller-owned FCM token for Ring notifications; source-client contract, not observed in the camera HTTP capture.

func (*Client) RequestLegacySignalingTicket

func (c *Client) RequestLegacySignalingTicket(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

RequestLegacySignalingTicket performs a POST /api/v1/clap/ticket/request/signalsocket (the `RequestLegacySignalingTicket` operationId) request.

Existing Go signaling bootstrap. This POST route is implemented and covered by local tests, but was not found in the C1 HTTP recordings. It is distinct from the captured GET /api/v1/clap/tickets operation.

func (*Client) SendDeviceCommand

func (c *Client) SendDeviceCommand(ctx context.Context, deviceId DeviceId, body SendDeviceCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SendDeviceCommand performs a PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId) request. Takes a body of the `application/json` content type.

func (*Client) SendDeviceCommandWithBody

func (c *Client) SendDeviceCommandWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SendDeviceCommandWithBody performs a PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId) request, with any type of body and a specified content type.

func (*Client) SetChimeVolume

func (c *Client) SetChimeVolume(ctx context.Context, deviceId DeviceId, params *SetChimeVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SetChimeVolume performs a PUT /clients_api/chimes/{device_id} (the `SetChimeVolume` operationId) request.

Legacy volume update. The client requires description to reproduce the synthetic replay request shape; no capture proves the server requires that query field for volume changes.

func (*Client) SetLiveViewEnabled

func (c *Client) SetLiveViewEnabled(ctx context.Context, deviceId DeviceId, body SetLiveViewEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetLiveViewEnabled performs a PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId) request. Takes a body of the `application/json` content type.

func (*Client) SetLiveViewEnabledWithBody

func (c *Client) SetLiveViewEnabledWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetLiveViewEnabledWithBody performs a PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId) request, with any type of body and a specified content type.

func (*Client) StreamRecording

func (c *Client) StreamRecording(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

StreamRecording performs a GET /clients_api/dings/{recording_id}/recording (the `StreamRecording` operationId) request.

Existing Go method returns the response body as a streaming VideoStream; the caller owns and must close Body. It requests video/mp4 and does not buffer the media. Go's default http.Client follows redirects according to its CheckRedirect policy; a custom client may change that behavior. No sanitized recording response establishes redirect or media-host details.

func (*Client) SubmitOAuthCredentialsWithBody

func (c *Client) SubmitOAuthCredentialsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SubmitOAuthCredentialsWithBody performs a POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId) request, with any type of body and a specified content type.

Existing Go PKCE credential submission using the OAuth cookie jar and CSRF token. Credentials are form data, never query parameters. No C1 capture establishes this flow.

func (*Client) SubmitOAuthCredentialsWithFormdataBody

func (c *Client) SubmitOAuthCredentialsWithFormdataBody(ctx context.Context, body SubmitOAuthCredentialsFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SubmitOAuthCredentialsWithFormdataBody performs a POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId) request. Takes a body of the `application/x-www-form-urlencoded` content type.

Existing Go PKCE credential submission using the OAuth cookie jar and CSRF token. Credentials are form data, never query parameters. No C1 capture establishes this flow.

func (*Client) SubscribeDeviceDing added in v0.4.0

func (c *Client) SubscribeDeviceDing(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

SubscribeDeviceDing performs a POST /clients_api/doorbots/{device_id}/subscribe (the `SubscribeDeviceDing` operationId) request.

func (*Client) SubscribeDeviceMotion added in v0.4.0

func (c *Client) SubscribeDeviceMotion(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

SubscribeDeviceMotion performs a POST /clients_api/doorbots/{device_id}/motions_subscribe (the `SubscribeDeviceMotion` operationId) request.

func (*Client) TestChimeSound

func (c *Client) TestChimeSound(ctx context.Context, deviceId DeviceId, params *TestChimeSoundParams, reqEditors ...RequestEditorFn) (*http.Response, error)

TestChimeSound performs a POST /clients_api/chimes/{device_id}/play_sound (the `TestChimeSound` operationId) request.

Legacy sound request from synthetic replay.

func (*Client) TurnFloodlightOff

func (c *Client) TurnFloodlightOff(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

TurnFloodlightOff performs a PUT /clients_api/doorbots/{device_id}/floodlight_light_off (the `TurnFloodlightOff` operationId) request.

Legacy off path; no corresponding captured or synthetic request fixture.

func (*Client) TurnFloodlightOn

func (c *Client) TurnFloodlightOn(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

TurnFloodlightOn performs a PUT /clients_api/doorbots/{device_id}/floodlight_light_on (the `TurnFloodlightOn` operationId) request.

Legacy light-on request from synthetic replay.

func (*Client) TurnSirenOff

func (c *Client) TurnSirenOff(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

TurnSirenOff performs a PUT /clients_api/doorbots/{device_id}/siren_off (the `TurnSirenOff` operationId) request.

func (*Client) TurnSirenOn

func (c *Client) TurnSirenOn(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

TurnSirenOn performs a PUT /clients_api/doorbots/{device_id}/siren_on (the `TurnSirenOn` operationId) request.

No duration query or request body is present in the capture.

func (*Client) UnlockIntercom added in v0.4.0

func (c *Client) UnlockIntercom(ctx context.Context, deviceId DeviceId, body UnlockIntercomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UnlockIntercom performs a PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId) request. Takes a body of the `application/json` content type.

Intercom unlock route documented by the dgreif Ring client; not present in the camera capture.

func (*Client) UnlockIntercomWithBody added in v0.4.0

func (c *Client) UnlockIntercomWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UnlockIntercomWithBody performs a PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId) request, with any type of body and a specified content type.

Intercom unlock route documented by the dgreif Ring client; not present in the camera capture.

func (*Client) UpdateLegacyDoorbotControls

func (c *Client) UpdateLegacyDoorbotControls(ctx context.Context, deviceId DeviceId, params *UpdateLegacyDoorbotControlsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateLegacyDoorbotControls performs a PUT /clients_api/doorbots/{device_id} (the `UpdateLegacyDoorbotControls` operationId) request.

Legacy doorbell-volume or one in-home chime setting; query variants come from portable synthetic fixtures, not a C1 field capture. The client requires description to reproduce the replayed request shape; server necessity is unverified. A separate captured doorbot PUT sent a description and an empty settings object.

func (*Client) VerifyOAuthTwoFactorCodeWithBody

func (c *Client) VerifyOAuthTwoFactorCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyOAuthTwoFactorCodeWithBody performs a POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId) request, with any type of body and a specified content type.

Existing Go PKCE verification request; uses the same cookie-backed session. No C1 capture.

func (*Client) VerifyOAuthTwoFactorCodeWithFormdataBody

func (c *Client) VerifyOAuthTwoFactorCodeWithFormdataBody(ctx context.Context, body VerifyOAuthTwoFactorCodeFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyOAuthTwoFactorCodeWithFormdataBody performs a POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId) request. Takes a body of the `application/x-www-form-urlencoded` content type.

Existing Go PKCE verification request; uses the same cookie-backed session. No C1 capture.

type ClientInterface

type ClientInterface interface {

	// RequestLegacySignalingTicket performs a POST /api/v1/clap/ticket/request/signalsocket (the `RequestLegacySignalingTicket` operationId) request.
	//
	// Existing Go signaling bootstrap. This POST route is implemented and covered by local tests, but was not found in the C1 HTTP recordings. It is distinct from the captured GET /api/v1/clap/tickets operation.
	RequestLegacySignalingTicket(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCapturedLocationTickets performs a GET /api/v1/clap/tickets (the `GetCapturedLocationTickets` operationId) request.
	//
	// Captured GET route. Its relationship to the existing POST signaling bootstrap below is not established.
	GetCapturedLocationTickets(ctx context.Context, params *GetCapturedLocationTicketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChimeVolume performs a PUT /clients_api/chimes/{device_id} (the `SetChimeVolume` operationId) request.
	//
	// Legacy volume update. The client requires description to reproduce the synthetic replay request shape; no capture proves the server requires that query field for volume changes.
	SetChimeVolume(ctx context.Context, deviceId DeviceId, params *SetChimeVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TestChimeSound performs a POST /clients_api/chimes/{device_id}/play_sound (the `TestChimeSound` operationId) request.
	//
	// Legacy sound request from synthetic replay.
	TestChimeSound(ctx context.Context, deviceId DeviceId, params *TestChimeSoundParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterPushDeviceWithBody performs a PATCH /clients_api/device (the `RegisterPushDevice` operationId) request,
	// with any type of body and a specified content type.
	//
	// Register a caller-owned FCM token for Ring notifications; source-client contract, not observed in the camera HTTP capture.
	RegisterPushDeviceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterPushDevice performs a PATCH /clients_api/device (the `RegisterPushDevice` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Register a caller-owned FCM token for Ring notifications; source-client contract, not observed in the camera HTTP capture.
	RegisterPushDevice(ctx context.Context, body RegisterPushDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetActiveDings performs a GET /clients_api/dings/active (the `GetActiveDings` operationId) request.
	//
	// Existing Go active-dings route. No matching C1 capture was identified.
	GetActiveDings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRecording performs a DELETE /clients_api/dings/{recording_id} (the `DeleteRecording` operationId) request.
	DeleteRecording(ctx context.Context, recordingId RecordingId, params *DeleteRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FavoriteRecording performs a PUT /clients_api/dings/{recording_id}/favorite (the `FavoriteRecording` operationId) request.
	FavoriteRecording(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamRecording performs a GET /clients_api/dings/{recording_id}/recording (the `StreamRecording` operationId) request.
	//
	// Existing Go method returns the response body as a streaming VideoStream; the caller owns and must close Body. It requests video/mp4 and does not buffer the media. Go's default http.Client follows redirects according to its CheckRedirect policy; a custom client may change that behavior. No sanitized recording response establishes redirect or media-host details.
	StreamRecording(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegacyRecordingShareURL performs a GET /clients_api/dings/{recording_id}/share/play (the `GetLegacyRecordingShareURL` operationId) request.
	//
	// Legacy share/play response, replayed synthetically; no matching C1 response.
	GetLegacyRecordingShareURL(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLegacyDoorbotControls performs a PUT /clients_api/doorbots/{device_id} (the `UpdateLegacyDoorbotControls` operationId) request.
	//
	// Legacy doorbell-volume or one in-home chime setting; query variants come from portable synthetic fixtures, not a C1 field capture. The client requires description to reproduce the replayed request shape; server necessity is unverified. A separate captured doorbot PUT sent a description and an empty settings object.
	UpdateLegacyDoorbotControls(ctx context.Context, deviceId DeviceId, params *UpdateLegacyDoorbotControlsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TurnFloodlightOff performs a PUT /clients_api/doorbots/{device_id}/floodlight_light_off (the `TurnFloodlightOff` operationId) request.
	//
	// Legacy off path; no corresponding captured or synthetic request fixture.
	TurnFloodlightOff(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TurnFloodlightOn performs a PUT /clients_api/doorbots/{device_id}/floodlight_light_on (the `TurnFloodlightOn` operationId) request.
	//
	// Legacy light-on request from synthetic replay.
	TurnFloodlightOn(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegacyDeviceHistory performs a GET /clients_api/doorbots/{device_id}/history (the `GetLegacyDeviceHistory` operationId) request.
	//
	// Existing Go history operation uses this doorbot path. The Go API exposes limit and kind; older_than is documented but not sent by the client. C1 history routes use EVM endpoints and are specified separately.
	GetLegacyDeviceHistory(ctx context.Context, deviceId DeviceId, params *GetLegacyDeviceHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubscribeDeviceMotion performs a POST /clients_api/doorbots/{device_id}/motions_subscribe (the `SubscribeDeviceMotion` operationId) request.
	SubscribeDeviceMotion(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TurnSirenOff performs a PUT /clients_api/doorbots/{device_id}/siren_off (the `TurnSirenOff` operationId) request.
	TurnSirenOff(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TurnSirenOn performs a PUT /clients_api/doorbots/{device_id}/siren_on (the `TurnSirenOn` operationId) request.
	//
	// No duration query or request body is present in the capture.
	TurnSirenOn(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubscribeDeviceDing performs a POST /clients_api/doorbots/{device_id}/subscribe (the `SubscribeDeviceDing` operationId) request.
	SubscribeDeviceDing(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegacyDeviceHealth performs a GET /clients_api/ring_devices/{device_id}/health (the `GetLegacyDeviceHealth` operationId) request.
	//
	// Generic device health route. The captured HTTP set has no matching health response; SDK tests use local fixtures only.
	GetLegacyDeviceHealth(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterClientSessionWithBody performs a POST /clients_api/session (the `RegisterClientSession` operationId) request,
	// with any type of body and a specified content type.
	//
	// Existing Go session-registration body, sent once before inventory or signaling when a hardware ID is configured. The shape below follows the Go implementation; no C1 capture was identified.
	RegisterClientSessionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterClientSession performs a POST /clients_api/session (the `RegisterClientSession` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Existing Go session-registration body, sent once before inventory or signaling when a hardware ID is configured. The shape below follows the Go implementation; no C1 capture was identified.
	RegisterClientSession(ctx context.Context, body RegisterClientSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegacySnapshotImage performs a GET /clients_api/snapshots/image/{device_id} (the `GetLegacySnapshotImage` operationId) request.
	//
	// Legacy image download after a newer timestamp appears; response shape is synthetic replay evidence.
	GetLegacySnapshotImage(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshLegacySnapshotTimestampWithBody performs a POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId) request,
	// with any type of body and a specified content type.
	//
	// Legacy snapshot trigger and poll. The first response may omit timestamps. This contract comes from shared synthetic replay, not the C1 app-snaps request with missing response.
	RefreshLegacySnapshotTimestampWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshLegacySnapshotTimestamp performs a POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Legacy snapshot trigger and poll. The first response may omit timestamps. This contract comes from shared synthetic replay, not the C1 app-snaps request with missing response.
	RefreshLegacySnapshotTimestamp(ctx context.Context, body RefreshLegacySnapshotTimestampJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendDeviceCommandWithBody performs a PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId) request,
	// with any type of body and a specified content type.
	SendDeviceCommandWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendDeviceCommand performs a PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId) request.
	// Takes a body of the `application/json` content type.
	SendDeviceCommand(ctx context.Context, deviceId DeviceId, body SendDeviceCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnlockIntercomWithBody performs a PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId) request,
	// with any type of body and a specified content type.
	//
	// Intercom unlock route documented by the dgreif Ring client; not present in the camera capture.
	UnlockIntercomWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnlockIntercom performs a PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Intercom unlock route documented by the dgreif Ring client; not present in the camera capture.
	UnlockIntercom(ctx context.Context, deviceId DeviceId, body UnlockIntercomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDevices performs a GET /device_info/v3/devices (the `ListDevices` operationId) request.
	ListDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDevice performs a GET /device_info/v3/devices/{device_id} (the `GetDevice` operationId) request.
	GetDevice(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeviceSettings performs a GET /devices/v1/devices/{device_id}/settings (the `GetDeviceSettings` operationId) request.
	//
	// Captured response is extensible; typed Go API exposes motion_detection_enabled only.
	GetDeviceSettings(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDeviceSettingsWithBody performs a PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId) request,
	// with any type of body and a specified content type.
	//
	// The wire schema accepts all captured settings patches. The typed Go API currently sends only motion_settings.motion_detection_enabled.
	PatchDeviceSettingsWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDeviceSettings performs a PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// The wire schema accepts all captured settings patches. The typed Go API currently sends only motion_settings.motion_detection_enabled.
	PatchDeviceSettings(ctx context.Context, deviceId DeviceId, body PatchDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetLiveViewEnabledWithBody performs a PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId) request,
	// with any type of body and a specified content type.
	SetLiveViewEnabledWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetLiveViewEnabled performs a PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId) request.
	// Takes a body of the `application/json` content type.
	SetLiveViewEnabled(ctx context.Context, deviceId DeviceId, body SetLiveViewEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeviceTimeline performs a GET /evm/v2/timeline/devices/{device_id} (the `GetDeviceTimeline` operationId) request.
	GetDeviceTimeline(ctx context.Context, deviceId DeviceId, params *GetDeviceTimelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHistoryDevices performs a GET /evm/v3/history/devices (the `GetHistoryDevices` operationId) request.
	GetHistoryDevices(ctx context.Context, params *GetHistoryDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLocationDevices performs a GET /groups/v1/locations/{location_id}/devices (the `ListLocationDevices` operationId) request.
	ListLocationDevices(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLocationGroups performs a GET /groups/v1/locations/{location_id}/groups (the `ListLocationGroups` operationId) request.
	ListLocationGroups(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLocations performs a GET /location_info/v3/locations (the `ListLocations` operationId) request.
	ListLocations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLocation performs a GET /location_info/v4/locations/{location_id} (the `GetLocation` operationId) request.
	GetLocation(ctx context.Context, locationId LocationId, params *GetLocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangeOrRefreshOAuthTokenWithBody performs a POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId) request,
	// with any type of body and a specified content type.
	//
	// Existing Go authorization-code PKCE exchange and explicit refresh; legacy password grant remains a fallback only when the OAuth authorize endpoint is unavailable. There is no captured OAuth token exchange.
	ExchangeOrRefreshOAuthTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangeOrRefreshOAuthTokenWithFormdataBody performs a POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId) request.
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Existing Go authorization-code PKCE exchange and explicit refresh; legacy password grant remains a fallback only when the OAuth authorize endpoint is unavailable. There is no captured OAuth token exchange.
	ExchangeOrRefreshOAuthTokenWithFormdataBody(ctx context.Context, body ExchangeOrRefreshOAuthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyOAuthTwoFactorCodeWithBody performs a POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId) request,
	// with any type of body and a specified content type.
	//
	// Existing Go PKCE verification request; uses the same cookie-backed session. No C1 capture.
	VerifyOAuthTwoFactorCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyOAuthTwoFactorCodeWithFormdataBody performs a POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId) request.
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Existing Go PKCE verification request; uses the same cookie-backed session. No C1 capture.
	VerifyOAuthTwoFactorCodeWithFormdataBody(ctx context.Context, body VerifyOAuthTwoFactorCodeFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BeginOrContinueOAuthAuthorization performs a GET /oauth/v2/authorize (the `BeginOrContinueOAuthAuthorization` operationId) request.
	//
	// Existing Go PKCE flow. The first request sends the authorization query parameters; later requests reuse the cookie-backed session and may omit them. Redirect state is checked by the client. This route is not present in the C1 HTTP captures.
	BeginOrContinueOAuthAuthorization(ctx context.Context, params *BeginOrContinueOAuthAuthorizationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitOAuthCredentialsWithBody performs a POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId) request,
	// with any type of body and a specified content type.
	//
	// Existing Go PKCE credential submission using the OAuth cookie jar and CSRF token. Credentials are form data, never query parameters. No C1 capture establishes this flow.
	SubmitOAuthCredentialsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitOAuthCredentialsWithFormdataBody performs a POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId) request.
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Existing Go PKCE credential submission using the OAuth cookie jar and CSRF token. Credentials are form data, never query parameters. No C1 capture establishes this flow.
	SubmitOAuthCredentialsWithFormdataBody(ctx context.Context, body SubmitOAuthCredentialsFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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 ClientSessionRegistration

type ClientSessionRegistration struct {
	Device               ClientSessionRegistration_Device `json:"device"`
	AdditionalProperties map[string]interface{}           `json:"-"`
}

ClientSessionRegistration defines model for ClientSessionRegistration.

func (ClientSessionRegistration) Get

func (a ClientSessionRegistration) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ClientSessionRegistration. Returns the specified element and whether it was found

func (ClientSessionRegistration) MarshalJSON

func (a ClientSessionRegistration) MarshalJSON() ([]byte, error)

Override default JSON handling for ClientSessionRegistration to handle AdditionalProperties

func (*ClientSessionRegistration) Set

func (a *ClientSessionRegistration) Set(fieldName string, value interface{})

Setter for additional properties for ClientSessionRegistration

func (*ClientSessionRegistration) UnmarshalJSON

func (a *ClientSessionRegistration) UnmarshalJSON(b []byte) error

Override default JSON handling for ClientSessionRegistration to handle AdditionalProperties

type ClientSessionRegistrationDeviceMetadataApiVersion

type ClientSessionRegistrationDeviceMetadataApiVersion int

ClientSessionRegistrationDeviceMetadataApiVersion defines model for ClientSessionRegistration.Device.Metadata.ApiVersion.

Defines values for ClientSessionRegistrationDeviceMetadataApiVersion.

func (ClientSessionRegistrationDeviceMetadataApiVersion) Valid

Valid indicates whether the value is a known member of the ClientSessionRegistrationDeviceMetadataApiVersion enum.

type ClientSessionRegistrationDeviceOs

type ClientSessionRegistrationDeviceOs string

ClientSessionRegistrationDeviceOs defines model for ClientSessionRegistration.Device.Os.

const (
	ClientSessionRegistrationDeviceOsAndroid ClientSessionRegistrationDeviceOs = "android"
)

Defines values for ClientSessionRegistrationDeviceOs.

func (ClientSessionRegistrationDeviceOs) Valid

Valid indicates whether the value is a known member of the ClientSessionRegistrationDeviceOs enum.

type ClientSessionRegistration_Device

type ClientSessionRegistration_Device struct {
	HardwareId           string                                    `json:"hardware_id"`
	Metadata             ClientSessionRegistration_Device_Metadata `json:"metadata"`
	Os                   ClientSessionRegistrationDeviceOs         `json:"os"`
	AdditionalProperties map[string]interface{}                    `json:"-"`
}

ClientSessionRegistration_Device defines model for ClientSessionRegistration.Device.

func (ClientSessionRegistration_Device) Get

func (a ClientSessionRegistration_Device) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ClientSessionRegistration_Device. Returns the specified element and whether it was found

func (ClientSessionRegistration_Device) MarshalJSON

func (a ClientSessionRegistration_Device) MarshalJSON() ([]byte, error)

Override default JSON handling for ClientSessionRegistration_Device to handle AdditionalProperties

func (*ClientSessionRegistration_Device) Set

func (a *ClientSessionRegistration_Device) Set(fieldName string, value interface{})

Setter for additional properties for ClientSessionRegistration_Device

func (*ClientSessionRegistration_Device) UnmarshalJSON

func (a *ClientSessionRegistration_Device) UnmarshalJSON(b []byte) error

Override default JSON handling for ClientSessionRegistration_Device to handle AdditionalProperties

type ClientSessionRegistration_Device_Metadata

type ClientSessionRegistration_Device_Metadata struct {
	ApiVersion           ClientSessionRegistrationDeviceMetadataApiVersion `json:"api_version"`
	DeviceModel          string                                            `json:"device_model"`
	AdditionalProperties map[string]interface{}                            `json:"-"`
}

ClientSessionRegistration_Device_Metadata defines model for ClientSessionRegistration.Device.Metadata.

func (ClientSessionRegistration_Device_Metadata) Get

func (a ClientSessionRegistration_Device_Metadata) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ClientSessionRegistration_Device_Metadata. Returns the specified element and whether it was found

func (ClientSessionRegistration_Device_Metadata) MarshalJSON

Override default JSON handling for ClientSessionRegistration_Device_Metadata to handle AdditionalProperties

func (*ClientSessionRegistration_Device_Metadata) Set

func (a *ClientSessionRegistration_Device_Metadata) Set(fieldName string, value interface{})

Setter for additional properties for ClientSessionRegistration_Device_Metadata

func (*ClientSessionRegistration_Device_Metadata) UnmarshalJSON

Override default JSON handling for ClientSessionRegistration_Device_Metadata to handle AdditionalProperties

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

func (c *ClientWithResponses) BeginOrContinueOAuthAuthorizationWithResponse(ctx context.Context, params *BeginOrContinueOAuthAuthorizationParams, reqEditors ...RequestEditorFn) (*BeginOrContinueOAuthAuthorizationResponse, error)

BeginOrContinueOAuthAuthorizationWithResponse performs a GET /oauth/v2/authorize (the `BeginOrContinueOAuthAuthorization` operationId) request.

Existing Go PKCE flow. The first request sends the authorization query parameters; later requests reuse the cookie-backed session and may omit them. Redirect state is checked by the client. This route is not present in the C1 HTTP captures.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteRecordingWithResponse

func (c *ClientWithResponses) DeleteRecordingWithResponse(ctx context.Context, recordingId RecordingId, params *DeleteRecordingParams, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)

DeleteRecordingWithResponse performs a DELETE /clients_api/dings/{recording_id} (the `DeleteRecording` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ExchangeOrRefreshOAuthTokenWithBodyWithResponse

func (c *ClientWithResponses) ExchangeOrRefreshOAuthTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangeOrRefreshOAuthTokenResponse, error)

ExchangeOrRefreshOAuthTokenWithBodyWithResponse performs a POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId) request, with any type of body and a specified content type.

Existing Go authorization-code PKCE exchange and explicit refresh; legacy password grant remains a fallback only when the OAuth authorize endpoint is unavailable. There is no captured OAuth token exchange.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse

func (c *ClientWithResponses) ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse(ctx context.Context, body ExchangeOrRefreshOAuthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*ExchangeOrRefreshOAuthTokenResponse, error)

ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse performs a POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId) request. Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Existing Go authorization-code PKCE exchange and explicit refresh; legacy password grant remains a fallback only when the OAuth authorize endpoint is unavailable. There is no captured OAuth token exchange.

func (*ClientWithResponses) FavoriteRecordingWithResponse

func (c *ClientWithResponses) FavoriteRecordingWithResponse(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*FavoriteRecordingResponse, error)

FavoriteRecordingWithResponse performs a PUT /clients_api/dings/{recording_id}/favorite (the `FavoriteRecording` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetActiveDingsWithResponse

func (c *ClientWithResponses) GetActiveDingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetActiveDingsResponse, error)

GetActiveDingsWithResponse performs a GET /clients_api/dings/active (the `GetActiveDings` operationId) request.

Existing Go active-dings route. No matching C1 capture was identified.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetCapturedLocationTicketsWithResponse

func (c *ClientWithResponses) GetCapturedLocationTicketsWithResponse(ctx context.Context, params *GetCapturedLocationTicketsParams, reqEditors ...RequestEditorFn) (*GetCapturedLocationTicketsResponse, error)

GetCapturedLocationTicketsWithResponse performs a GET /api/v1/clap/tickets (the `GetCapturedLocationTickets` operationId) request.

Captured GET route. Its relationship to the existing POST signaling bootstrap below is not established.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetDeviceSettingsWithResponse

func (c *ClientWithResponses) GetDeviceSettingsWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetDeviceSettingsResponse, error)

GetDeviceSettingsWithResponse performs a GET /devices/v1/devices/{device_id}/settings (the `GetDeviceSettings` operationId) request.

Captured response is extensible; typed Go API exposes motion_detection_enabled only.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetDeviceTimelineWithResponse

func (c *ClientWithResponses) GetDeviceTimelineWithResponse(ctx context.Context, deviceId DeviceId, params *GetDeviceTimelineParams, reqEditors ...RequestEditorFn) (*GetDeviceTimelineResponse, error)

GetDeviceTimelineWithResponse performs a GET /evm/v2/timeline/devices/{device_id} (the `GetDeviceTimeline` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetDeviceWithResponse

func (c *ClientWithResponses) GetDeviceWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetDeviceResponse, error)

GetDeviceWithResponse performs a GET /device_info/v3/devices/{device_id} (the `GetDevice` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetHistoryDevicesWithResponse

func (c *ClientWithResponses) GetHistoryDevicesWithResponse(ctx context.Context, params *GetHistoryDevicesParams, reqEditors ...RequestEditorFn) (*GetHistoryDevicesResponse, error)

GetHistoryDevicesWithResponse performs a GET /evm/v3/history/devices (the `GetHistoryDevices` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetLegacyDeviceHealthWithResponse

func (c *ClientWithResponses) GetLegacyDeviceHealthWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetLegacyDeviceHealthResponse, error)

GetLegacyDeviceHealthWithResponse performs a GET /clients_api/ring_devices/{device_id}/health (the `GetLegacyDeviceHealth` operationId) request.

Generic device health route. The captured HTTP set has no matching health response; SDK tests use local fixtures only.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetLegacyDeviceHistoryWithResponse

func (c *ClientWithResponses) GetLegacyDeviceHistoryWithResponse(ctx context.Context, deviceId DeviceId, params *GetLegacyDeviceHistoryParams, reqEditors ...RequestEditorFn) (*GetLegacyDeviceHistoryResponse, error)

GetLegacyDeviceHistoryWithResponse performs a GET /clients_api/doorbots/{device_id}/history (the `GetLegacyDeviceHistory` operationId) request.

Existing Go history operation uses this doorbot path. The Go API exposes limit and kind; older_than is documented but not sent by the client. C1 history routes use EVM endpoints and are specified separately.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetLegacyRecordingShareURLWithResponse

func (c *ClientWithResponses) GetLegacyRecordingShareURLWithResponse(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*GetLegacyRecordingShareURLResponse, error)

GetLegacyRecordingShareURLWithResponse performs a GET /clients_api/dings/{recording_id}/share/play (the `GetLegacyRecordingShareURL` operationId) request.

Legacy share/play response, replayed synthetically; no matching C1 response.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetLegacySnapshotImageWithResponse

func (c *ClientWithResponses) GetLegacySnapshotImageWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetLegacySnapshotImageResponse, error)

GetLegacySnapshotImageWithResponse performs a GET /clients_api/snapshots/image/{device_id} (the `GetLegacySnapshotImage` operationId) request.

Legacy image download after a newer timestamp appears; response shape is synthetic replay evidence.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetLocationWithResponse

func (c *ClientWithResponses) GetLocationWithResponse(ctx context.Context, locationId LocationId, params *GetLocationParams, reqEditors ...RequestEditorFn) (*GetLocationResponse, error)

GetLocationWithResponse performs a GET /location_info/v4/locations/{location_id} (the `GetLocation` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListDevicesWithResponse

func (c *ClientWithResponses) ListDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDevicesResponse, error)

ListDevicesWithResponse performs a GET /device_info/v3/devices (the `ListDevices` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListLocationDevicesWithResponse

func (c *ClientWithResponses) ListLocationDevicesWithResponse(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*ListLocationDevicesResponse, error)

ListLocationDevicesWithResponse performs a GET /groups/v1/locations/{location_id}/devices (the `ListLocationDevices` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListLocationGroupsWithResponse

func (c *ClientWithResponses) ListLocationGroupsWithResponse(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*ListLocationGroupsResponse, error)

ListLocationGroupsWithResponse performs a GET /groups/v1/locations/{location_id}/groups (the `ListLocationGroups` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListLocationsWithResponse

func (c *ClientWithResponses) ListLocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLocationsResponse, error)

ListLocationsWithResponse performs a GET /location_info/v3/locations (the `ListLocations` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PatchDeviceSettingsWithBodyWithResponse

func (c *ClientWithResponses) PatchDeviceSettingsWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDeviceSettingsResponse, error)

PatchDeviceSettingsWithBodyWithResponse performs a PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId) request, with any type of body and a specified content type.

The wire schema accepts all captured settings patches. The typed Go API currently sends only motion_settings.motion_detection_enabled.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PatchDeviceSettingsWithResponse

func (c *ClientWithResponses) PatchDeviceSettingsWithResponse(ctx context.Context, deviceId DeviceId, body PatchDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDeviceSettingsResponse, error)

PatchDeviceSettingsWithResponse performs a PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

The wire schema accepts all captured settings patches. The typed Go API currently sends only motion_settings.motion_detection_enabled.

func (*ClientWithResponses) RefreshLegacySnapshotTimestampWithBodyWithResponse

func (c *ClientWithResponses) RefreshLegacySnapshotTimestampWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefreshLegacySnapshotTimestampResponse, error)

RefreshLegacySnapshotTimestampWithBodyWithResponse performs a POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId) request, with any type of body and a specified content type.

Legacy snapshot trigger and poll. The first response may omit timestamps. This contract comes from shared synthetic replay, not the C1 app-snaps request with missing response.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RefreshLegacySnapshotTimestampWithResponse

func (c *ClientWithResponses) RefreshLegacySnapshotTimestampWithResponse(ctx context.Context, body RefreshLegacySnapshotTimestampJSONRequestBody, reqEditors ...RequestEditorFn) (*RefreshLegacySnapshotTimestampResponse, error)

RefreshLegacySnapshotTimestampWithResponse performs a POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Legacy snapshot trigger and poll. The first response may omit timestamps. This contract comes from shared synthetic replay, not the C1 app-snaps request with missing response.

func (*ClientWithResponses) RegisterClientSessionWithBodyWithResponse

func (c *ClientWithResponses) RegisterClientSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterClientSessionResponse, error)

RegisterClientSessionWithBodyWithResponse performs a POST /clients_api/session (the `RegisterClientSession` operationId) request, with any type of body and a specified content type.

Existing Go session-registration body, sent once before inventory or signaling when a hardware ID is configured. The shape below follows the Go implementation; no C1 capture was identified.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RegisterClientSessionWithResponse

func (c *ClientWithResponses) RegisterClientSessionWithResponse(ctx context.Context, body RegisterClientSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterClientSessionResponse, error)

RegisterClientSessionWithResponse performs a POST /clients_api/session (the `RegisterClientSession` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Existing Go session-registration body, sent once before inventory or signaling when a hardware ID is configured. The shape below follows the Go implementation; no C1 capture was identified.

func (*ClientWithResponses) RegisterPushDeviceWithBodyWithResponse added in v0.4.0

func (c *ClientWithResponses) RegisterPushDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterPushDeviceResponse, error)

RegisterPushDeviceWithBodyWithResponse performs a PATCH /clients_api/device (the `RegisterPushDevice` operationId) request, with any type of body and a specified content type.

Register a caller-owned FCM token for Ring notifications; source-client contract, not observed in the camera HTTP capture.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RegisterPushDeviceWithResponse added in v0.4.0

func (c *ClientWithResponses) RegisterPushDeviceWithResponse(ctx context.Context, body RegisterPushDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterPushDeviceResponse, error)

RegisterPushDeviceWithResponse performs a PATCH /clients_api/device (the `RegisterPushDevice` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Register a caller-owned FCM token for Ring notifications; source-client contract, not observed in the camera HTTP capture.

func (*ClientWithResponses) RequestLegacySignalingTicketWithResponse

func (c *ClientWithResponses) RequestLegacySignalingTicketWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RequestLegacySignalingTicketResponse, error)

RequestLegacySignalingTicketWithResponse performs a POST /api/v1/clap/ticket/request/signalsocket (the `RequestLegacySignalingTicket` operationId) request.

Existing Go signaling bootstrap. This POST route is implemented and covered by local tests, but was not found in the C1 HTTP recordings. It is distinct from the captured GET /api/v1/clap/tickets operation.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SendDeviceCommandWithBodyWithResponse

func (c *ClientWithResponses) SendDeviceCommandWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendDeviceCommandResponse, error)

SendDeviceCommandWithBodyWithResponse performs a PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SendDeviceCommandWithResponse

func (c *ClientWithResponses) SendDeviceCommandWithResponse(ctx context.Context, deviceId DeviceId, body SendDeviceCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*SendDeviceCommandResponse, error)

SendDeviceCommandWithResponse performs a PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetChimeVolumeWithResponse

func (c *ClientWithResponses) SetChimeVolumeWithResponse(ctx context.Context, deviceId DeviceId, params *SetChimeVolumeParams, reqEditors ...RequestEditorFn) (*SetChimeVolumeResponse, error)

SetChimeVolumeWithResponse performs a PUT /clients_api/chimes/{device_id} (the `SetChimeVolume` operationId) request.

Legacy volume update. The client requires description to reproduce the synthetic replay request shape; no capture proves the server requires that query field for volume changes.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetLiveViewEnabledWithBodyWithResponse

func (c *ClientWithResponses) SetLiveViewEnabledWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLiveViewEnabledResponse, error)

SetLiveViewEnabledWithBodyWithResponse performs a PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetLiveViewEnabledWithResponse

func (c *ClientWithResponses) SetLiveViewEnabledWithResponse(ctx context.Context, deviceId DeviceId, body SetLiveViewEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLiveViewEnabledResponse, error)

SetLiveViewEnabledWithResponse performs a PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) StreamRecordingWithResponse

func (c *ClientWithResponses) StreamRecordingWithResponse(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*StreamRecordingResponse, error)

StreamRecordingWithResponse performs a GET /clients_api/dings/{recording_id}/recording (the `StreamRecording` operationId) request.

Existing Go method returns the response body as a streaming VideoStream; the caller owns and must close Body. It requests video/mp4 and does not buffer the media. Go's default http.Client follows redirects according to its CheckRedirect policy; a custom client may change that behavior. No sanitized recording response establishes redirect or media-host details.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SubmitOAuthCredentialsWithBodyWithResponse

func (c *ClientWithResponses) SubmitOAuthCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitOAuthCredentialsResponse, error)

SubmitOAuthCredentialsWithBodyWithResponse performs a POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId) request, with any type of body and a specified content type.

Existing Go PKCE credential submission using the OAuth cookie jar and CSRF token. Credentials are form data, never query parameters. No C1 capture establishes this flow.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SubmitOAuthCredentialsWithFormdataBodyWithResponse

func (c *ClientWithResponses) SubmitOAuthCredentialsWithFormdataBodyWithResponse(ctx context.Context, body SubmitOAuthCredentialsFormdataRequestBody, reqEditors ...RequestEditorFn) (*SubmitOAuthCredentialsResponse, error)

SubmitOAuthCredentialsWithFormdataBodyWithResponse performs a POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId) request. Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Existing Go PKCE credential submission using the OAuth cookie jar and CSRF token. Credentials are form data, never query parameters. No C1 capture establishes this flow.

func (*ClientWithResponses) SubscribeDeviceDingWithResponse added in v0.4.0

func (c *ClientWithResponses) SubscribeDeviceDingWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*SubscribeDeviceDingResponse, error)

SubscribeDeviceDingWithResponse performs a POST /clients_api/doorbots/{device_id}/subscribe (the `SubscribeDeviceDing` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SubscribeDeviceMotionWithResponse added in v0.4.0

func (c *ClientWithResponses) SubscribeDeviceMotionWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*SubscribeDeviceMotionResponse, error)

SubscribeDeviceMotionWithResponse performs a POST /clients_api/doorbots/{device_id}/motions_subscribe (the `SubscribeDeviceMotion` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) TestChimeSoundWithResponse

func (c *ClientWithResponses) TestChimeSoundWithResponse(ctx context.Context, deviceId DeviceId, params *TestChimeSoundParams, reqEditors ...RequestEditorFn) (*TestChimeSoundResponse, error)

TestChimeSoundWithResponse performs a POST /clients_api/chimes/{device_id}/play_sound (the `TestChimeSound` operationId) request.

Legacy sound request from synthetic replay.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) TurnFloodlightOffWithResponse

func (c *ClientWithResponses) TurnFloodlightOffWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnFloodlightOffResponse, error)

TurnFloodlightOffWithResponse performs a PUT /clients_api/doorbots/{device_id}/floodlight_light_off (the `TurnFloodlightOff` operationId) request.

Legacy off path; no corresponding captured or synthetic request fixture.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) TurnFloodlightOnWithResponse

func (c *ClientWithResponses) TurnFloodlightOnWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnFloodlightOnResponse, error)

TurnFloodlightOnWithResponse performs a PUT /clients_api/doorbots/{device_id}/floodlight_light_on (the `TurnFloodlightOn` operationId) request.

Legacy light-on request from synthetic replay.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) TurnSirenOffWithResponse

func (c *ClientWithResponses) TurnSirenOffWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnSirenOffResponse, error)

TurnSirenOffWithResponse performs a PUT /clients_api/doorbots/{device_id}/siren_off (the `TurnSirenOff` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) TurnSirenOnWithResponse

func (c *ClientWithResponses) TurnSirenOnWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnSirenOnResponse, error)

TurnSirenOnWithResponse performs a PUT /clients_api/doorbots/{device_id}/siren_on (the `TurnSirenOn` operationId) request.

No duration query or request body is present in the capture.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) UnlockIntercomWithBodyWithResponse added in v0.4.0

func (c *ClientWithResponses) UnlockIntercomWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnlockIntercomResponse, error)

UnlockIntercomWithBodyWithResponse performs a PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId) request, with any type of body and a specified content type.

Intercom unlock route documented by the dgreif Ring client; not present in the camera capture.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) UnlockIntercomWithResponse added in v0.4.0

func (c *ClientWithResponses) UnlockIntercomWithResponse(ctx context.Context, deviceId DeviceId, body UnlockIntercomJSONRequestBody, reqEditors ...RequestEditorFn) (*UnlockIntercomResponse, error)

UnlockIntercomWithResponse performs a PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Intercom unlock route documented by the dgreif Ring client; not present in the camera capture.

func (*ClientWithResponses) UpdateLegacyDoorbotControlsWithResponse

func (c *ClientWithResponses) UpdateLegacyDoorbotControlsWithResponse(ctx context.Context, deviceId DeviceId, params *UpdateLegacyDoorbotControlsParams, reqEditors ...RequestEditorFn) (*UpdateLegacyDoorbotControlsResponse, error)

UpdateLegacyDoorbotControlsWithResponse performs a PUT /clients_api/doorbots/{device_id} (the `UpdateLegacyDoorbotControls` operationId) request.

Legacy doorbell-volume or one in-home chime setting; query variants come from portable synthetic fixtures, not a C1 field capture. The client requires description to reproduce the replayed request shape; server necessity is unverified. A separate captured doorbot PUT sent a description and an empty settings object.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) VerifyOAuthTwoFactorCodeWithBodyWithResponse

func (c *ClientWithResponses) VerifyOAuthTwoFactorCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyOAuthTwoFactorCodeResponse, error)

VerifyOAuthTwoFactorCodeWithBodyWithResponse performs a POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId) request, with any type of body and a specified content type.

Existing Go PKCE verification request; uses the same cookie-backed session. No C1 capture.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse

func (c *ClientWithResponses) VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse(ctx context.Context, body VerifyOAuthTwoFactorCodeFormdataRequestBody, reqEditors ...RequestEditorFn) (*VerifyOAuthTwoFactorCodeResponse, error)

VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse performs a POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId) request. Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Existing Go PKCE verification request; uses the same cookie-backed session. No C1 capture.

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// RequestLegacySignalingTicketWithResponse performs a POST /api/v1/clap/ticket/request/signalsocket (the `RequestLegacySignalingTicket` operationId) request.
	//
	// Existing Go signaling bootstrap. This POST route is implemented and covered by local tests, but was not found in the C1 HTTP recordings. It is distinct from the captured GET /api/v1/clap/tickets operation.
	//
	// Returns a wrapper object for the known response body format(s).
	RequestLegacySignalingTicketWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RequestLegacySignalingTicketResponse, error)

	// GetCapturedLocationTicketsWithResponse performs a GET /api/v1/clap/tickets (the `GetCapturedLocationTickets` operationId) request.
	//
	// Captured GET route. Its relationship to the existing POST signaling bootstrap below is not established.
	//
	// Returns a wrapper object for the known response body format(s).
	GetCapturedLocationTicketsWithResponse(ctx context.Context, params *GetCapturedLocationTicketsParams, reqEditors ...RequestEditorFn) (*GetCapturedLocationTicketsResponse, error)

	// SetChimeVolumeWithResponse performs a PUT /clients_api/chimes/{device_id} (the `SetChimeVolume` operationId) request.
	//
	// Legacy volume update. The client requires description to reproduce the synthetic replay request shape; no capture proves the server requires that query field for volume changes.
	//
	// Returns a wrapper object for the known response body format(s).
	SetChimeVolumeWithResponse(ctx context.Context, deviceId DeviceId, params *SetChimeVolumeParams, reqEditors ...RequestEditorFn) (*SetChimeVolumeResponse, error)

	// TestChimeSoundWithResponse performs a POST /clients_api/chimes/{device_id}/play_sound (the `TestChimeSound` operationId) request.
	//
	// Legacy sound request from synthetic replay.
	//
	// Returns a wrapper object for the known response body format(s).
	TestChimeSoundWithResponse(ctx context.Context, deviceId DeviceId, params *TestChimeSoundParams, reqEditors ...RequestEditorFn) (*TestChimeSoundResponse, error)

	// RegisterPushDeviceWithBodyWithResponse performs a PATCH /clients_api/device (the `RegisterPushDevice` operationId) request,
	// with any type of body and a specified content type.
	//
	// Register a caller-owned FCM token for Ring notifications; source-client contract, not observed in the camera HTTP capture.
	//
	// Returns a wrapper object for the known response body format(s).
	RegisterPushDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterPushDeviceResponse, error)

	// RegisterPushDeviceWithResponse performs a PATCH /clients_api/device (the `RegisterPushDevice` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Register a caller-owned FCM token for Ring notifications; source-client contract, not observed in the camera HTTP capture.
	RegisterPushDeviceWithResponse(ctx context.Context, body RegisterPushDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterPushDeviceResponse, error)

	// GetActiveDingsWithResponse performs a GET /clients_api/dings/active (the `GetActiveDings` operationId) request.
	//
	// Existing Go active-dings route. No matching C1 capture was identified.
	//
	// Returns a wrapper object for the known response body format(s).
	GetActiveDingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetActiveDingsResponse, error)

	// DeleteRecordingWithResponse performs a DELETE /clients_api/dings/{recording_id} (the `DeleteRecording` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteRecordingWithResponse(ctx context.Context, recordingId RecordingId, params *DeleteRecordingParams, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)

	// FavoriteRecordingWithResponse performs a PUT /clients_api/dings/{recording_id}/favorite (the `FavoriteRecording` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	FavoriteRecordingWithResponse(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*FavoriteRecordingResponse, error)

	// StreamRecordingWithResponse performs a GET /clients_api/dings/{recording_id}/recording (the `StreamRecording` operationId) request.
	//
	// Existing Go method returns the response body as a streaming VideoStream; the caller owns and must close Body. It requests video/mp4 and does not buffer the media. Go's default http.Client follows redirects according to its CheckRedirect policy; a custom client may change that behavior. No sanitized recording response establishes redirect or media-host details.
	//
	// Returns a wrapper object for the known response body format(s).
	StreamRecordingWithResponse(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*StreamRecordingResponse, error)

	// GetLegacyRecordingShareURLWithResponse performs a GET /clients_api/dings/{recording_id}/share/play (the `GetLegacyRecordingShareURL` operationId) request.
	//
	// Legacy share/play response, replayed synthetically; no matching C1 response.
	//
	// Returns a wrapper object for the known response body format(s).
	GetLegacyRecordingShareURLWithResponse(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*GetLegacyRecordingShareURLResponse, error)

	// UpdateLegacyDoorbotControlsWithResponse performs a PUT /clients_api/doorbots/{device_id} (the `UpdateLegacyDoorbotControls` operationId) request.
	//
	// Legacy doorbell-volume or one in-home chime setting; query variants come from portable synthetic fixtures, not a C1 field capture. The client requires description to reproduce the replayed request shape; server necessity is unverified. A separate captured doorbot PUT sent a description and an empty settings object.
	//
	// Returns a wrapper object for the known response body format(s).
	UpdateLegacyDoorbotControlsWithResponse(ctx context.Context, deviceId DeviceId, params *UpdateLegacyDoorbotControlsParams, reqEditors ...RequestEditorFn) (*UpdateLegacyDoorbotControlsResponse, error)

	// TurnFloodlightOffWithResponse performs a PUT /clients_api/doorbots/{device_id}/floodlight_light_off (the `TurnFloodlightOff` operationId) request.
	//
	// Legacy off path; no corresponding captured or synthetic request fixture.
	//
	// Returns a wrapper object for the known response body format(s).
	TurnFloodlightOffWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnFloodlightOffResponse, error)

	// TurnFloodlightOnWithResponse performs a PUT /clients_api/doorbots/{device_id}/floodlight_light_on (the `TurnFloodlightOn` operationId) request.
	//
	// Legacy light-on request from synthetic replay.
	//
	// Returns a wrapper object for the known response body format(s).
	TurnFloodlightOnWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnFloodlightOnResponse, error)

	// GetLegacyDeviceHistoryWithResponse performs a GET /clients_api/doorbots/{device_id}/history (the `GetLegacyDeviceHistory` operationId) request.
	//
	// Existing Go history operation uses this doorbot path. The Go API exposes limit and kind; older_than is documented but not sent by the client. C1 history routes use EVM endpoints and are specified separately.
	//
	// Returns a wrapper object for the known response body format(s).
	GetLegacyDeviceHistoryWithResponse(ctx context.Context, deviceId DeviceId, params *GetLegacyDeviceHistoryParams, reqEditors ...RequestEditorFn) (*GetLegacyDeviceHistoryResponse, error)

	// SubscribeDeviceMotionWithResponse performs a POST /clients_api/doorbots/{device_id}/motions_subscribe (the `SubscribeDeviceMotion` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	SubscribeDeviceMotionWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*SubscribeDeviceMotionResponse, error)

	// TurnSirenOffWithResponse performs a PUT /clients_api/doorbots/{device_id}/siren_off (the `TurnSirenOff` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	TurnSirenOffWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnSirenOffResponse, error)

	// TurnSirenOnWithResponse performs a PUT /clients_api/doorbots/{device_id}/siren_on (the `TurnSirenOn` operationId) request.
	//
	// No duration query or request body is present in the capture.
	//
	// Returns a wrapper object for the known response body format(s).
	TurnSirenOnWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnSirenOnResponse, error)

	// SubscribeDeviceDingWithResponse performs a POST /clients_api/doorbots/{device_id}/subscribe (the `SubscribeDeviceDing` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	SubscribeDeviceDingWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*SubscribeDeviceDingResponse, error)

	// GetLegacyDeviceHealthWithResponse performs a GET /clients_api/ring_devices/{device_id}/health (the `GetLegacyDeviceHealth` operationId) request.
	//
	// Generic device health route. The captured HTTP set has no matching health response; SDK tests use local fixtures only.
	//
	// Returns a wrapper object for the known response body format(s).
	GetLegacyDeviceHealthWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetLegacyDeviceHealthResponse, error)

	// RegisterClientSessionWithBodyWithResponse performs a POST /clients_api/session (the `RegisterClientSession` operationId) request,
	// with any type of body and a specified content type.
	//
	// Existing Go session-registration body, sent once before inventory or signaling when a hardware ID is configured. The shape below follows the Go implementation; no C1 capture was identified.
	//
	// Returns a wrapper object for the known response body format(s).
	RegisterClientSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterClientSessionResponse, error)

	// RegisterClientSessionWithResponse performs a POST /clients_api/session (the `RegisterClientSession` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Existing Go session-registration body, sent once before inventory or signaling when a hardware ID is configured. The shape below follows the Go implementation; no C1 capture was identified.
	RegisterClientSessionWithResponse(ctx context.Context, body RegisterClientSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterClientSessionResponse, error)

	// GetLegacySnapshotImageWithResponse performs a GET /clients_api/snapshots/image/{device_id} (the `GetLegacySnapshotImage` operationId) request.
	//
	// Legacy image download after a newer timestamp appears; response shape is synthetic replay evidence.
	//
	// Returns a wrapper object for the known response body format(s).
	GetLegacySnapshotImageWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetLegacySnapshotImageResponse, error)

	// RefreshLegacySnapshotTimestampWithBodyWithResponse performs a POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId) request,
	// with any type of body and a specified content type.
	//
	// Legacy snapshot trigger and poll. The first response may omit timestamps. This contract comes from shared synthetic replay, not the C1 app-snaps request with missing response.
	//
	// Returns a wrapper object for the known response body format(s).
	RefreshLegacySnapshotTimestampWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefreshLegacySnapshotTimestampResponse, error)

	// RefreshLegacySnapshotTimestampWithResponse performs a POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Legacy snapshot trigger and poll. The first response may omit timestamps. This contract comes from shared synthetic replay, not the C1 app-snaps request with missing response.
	RefreshLegacySnapshotTimestampWithResponse(ctx context.Context, body RefreshLegacySnapshotTimestampJSONRequestBody, reqEditors ...RequestEditorFn) (*RefreshLegacySnapshotTimestampResponse, error)

	// SendDeviceCommandWithBodyWithResponse performs a PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	SendDeviceCommandWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendDeviceCommandResponse, error)

	// SendDeviceCommandWithResponse performs a PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	SendDeviceCommandWithResponse(ctx context.Context, deviceId DeviceId, body SendDeviceCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*SendDeviceCommandResponse, error)

	// UnlockIntercomWithBodyWithResponse performs a PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId) request,
	// with any type of body and a specified content type.
	//
	// Intercom unlock route documented by the dgreif Ring client; not present in the camera capture.
	//
	// Returns a wrapper object for the known response body format(s).
	UnlockIntercomWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnlockIntercomResponse, error)

	// UnlockIntercomWithResponse performs a PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Intercom unlock route documented by the dgreif Ring client; not present in the camera capture.
	UnlockIntercomWithResponse(ctx context.Context, deviceId DeviceId, body UnlockIntercomJSONRequestBody, reqEditors ...RequestEditorFn) (*UnlockIntercomResponse, error)

	// ListDevicesWithResponse performs a GET /device_info/v3/devices (the `ListDevices` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDevicesResponse, error)

	// GetDeviceWithResponse performs a GET /device_info/v3/devices/{device_id} (the `GetDevice` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetDeviceWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetDeviceResponse, error)

	// GetDeviceSettingsWithResponse performs a GET /devices/v1/devices/{device_id}/settings (the `GetDeviceSettings` operationId) request.
	//
	// Captured response is extensible; typed Go API exposes motion_detection_enabled only.
	//
	// Returns a wrapper object for the known response body format(s).
	GetDeviceSettingsWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetDeviceSettingsResponse, error)

	// PatchDeviceSettingsWithBodyWithResponse performs a PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId) request,
	// with any type of body and a specified content type.
	//
	// The wire schema accepts all captured settings patches. The typed Go API currently sends only motion_settings.motion_detection_enabled.
	//
	// Returns a wrapper object for the known response body format(s).
	PatchDeviceSettingsWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDeviceSettingsResponse, error)

	// PatchDeviceSettingsWithResponse performs a PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// The wire schema accepts all captured settings patches. The typed Go API currently sends only motion_settings.motion_detection_enabled.
	PatchDeviceSettingsWithResponse(ctx context.Context, deviceId DeviceId, body PatchDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDeviceSettingsResponse, error)

	// SetLiveViewEnabledWithBodyWithResponse performs a PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	SetLiveViewEnabledWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLiveViewEnabledResponse, error)

	// SetLiveViewEnabledWithResponse performs a PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	SetLiveViewEnabledWithResponse(ctx context.Context, deviceId DeviceId, body SetLiveViewEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLiveViewEnabledResponse, error)

	// GetDeviceTimelineWithResponse performs a GET /evm/v2/timeline/devices/{device_id} (the `GetDeviceTimeline` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetDeviceTimelineWithResponse(ctx context.Context, deviceId DeviceId, params *GetDeviceTimelineParams, reqEditors ...RequestEditorFn) (*GetDeviceTimelineResponse, error)

	// GetHistoryDevicesWithResponse performs a GET /evm/v3/history/devices (the `GetHistoryDevices` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetHistoryDevicesWithResponse(ctx context.Context, params *GetHistoryDevicesParams, reqEditors ...RequestEditorFn) (*GetHistoryDevicesResponse, error)

	// ListLocationDevicesWithResponse performs a GET /groups/v1/locations/{location_id}/devices (the `ListLocationDevices` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListLocationDevicesWithResponse(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*ListLocationDevicesResponse, error)

	// ListLocationGroupsWithResponse performs a GET /groups/v1/locations/{location_id}/groups (the `ListLocationGroups` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListLocationGroupsWithResponse(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*ListLocationGroupsResponse, error)

	// ListLocationsWithResponse performs a GET /location_info/v3/locations (the `ListLocations` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListLocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLocationsResponse, error)

	// GetLocationWithResponse performs a GET /location_info/v4/locations/{location_id} (the `GetLocation` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetLocationWithResponse(ctx context.Context, locationId LocationId, params *GetLocationParams, reqEditors ...RequestEditorFn) (*GetLocationResponse, error)

	// ExchangeOrRefreshOAuthTokenWithBodyWithResponse performs a POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId) request,
	// with any type of body and a specified content type.
	//
	// Existing Go authorization-code PKCE exchange and explicit refresh; legacy password grant remains a fallback only when the OAuth authorize endpoint is unavailable. There is no captured OAuth token exchange.
	//
	// Returns a wrapper object for the known response body format(s).
	ExchangeOrRefreshOAuthTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangeOrRefreshOAuthTokenResponse, error)

	// ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse performs a POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId) request.
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Existing Go authorization-code PKCE exchange and explicit refresh; legacy password grant remains a fallback only when the OAuth authorize endpoint is unavailable. There is no captured OAuth token exchange.
	ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse(ctx context.Context, body ExchangeOrRefreshOAuthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*ExchangeOrRefreshOAuthTokenResponse, error)

	// VerifyOAuthTwoFactorCodeWithBodyWithResponse performs a POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId) request,
	// with any type of body and a specified content type.
	//
	// Existing Go PKCE verification request; uses the same cookie-backed session. No C1 capture.
	//
	// Returns a wrapper object for the known response body format(s).
	VerifyOAuthTwoFactorCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyOAuthTwoFactorCodeResponse, error)

	// VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse performs a POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId) request.
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Existing Go PKCE verification request; uses the same cookie-backed session. No C1 capture.
	VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse(ctx context.Context, body VerifyOAuthTwoFactorCodeFormdataRequestBody, reqEditors ...RequestEditorFn) (*VerifyOAuthTwoFactorCodeResponse, error)

	// BeginOrContinueOAuthAuthorizationWithResponse performs a GET /oauth/v2/authorize (the `BeginOrContinueOAuthAuthorization` operationId) request.
	//
	// Existing Go PKCE flow. The first request sends the authorization query parameters; later requests reuse the cookie-backed session and may omit them. Redirect state is checked by the client. This route is not present in the C1 HTTP captures.
	//
	// Returns a wrapper object for the known response body format(s).
	BeginOrContinueOAuthAuthorizationWithResponse(ctx context.Context, params *BeginOrContinueOAuthAuthorizationParams, reqEditors ...RequestEditorFn) (*BeginOrContinueOAuthAuthorizationResponse, error)

	// SubmitOAuthCredentialsWithBodyWithResponse performs a POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId) request,
	// with any type of body and a specified content type.
	//
	// Existing Go PKCE credential submission using the OAuth cookie jar and CSRF token. Credentials are form data, never query parameters. No C1 capture establishes this flow.
	//
	// Returns a wrapper object for the known response body format(s).
	SubmitOAuthCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitOAuthCredentialsResponse, error)

	// SubmitOAuthCredentialsWithFormdataBodyWithResponse performs a POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId) request.
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Existing Go PKCE credential submission using the OAuth cookie jar and CSRF token. Credentials are form data, never query parameters. No C1 capture establishes this flow.
	SubmitOAuthCredentialsWithFormdataBodyWithResponse(ctx context.Context, body SubmitOAuthCredentialsFormdataRequestBody, reqEditors ...RequestEditorFn) (*SubmitOAuthCredentialsResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConfirmDeleteFavorite

type ConfirmDeleteFavorite = bool

ConfirmDeleteFavorite defines model for confirm_delete_favorite.

type DeleteRecordingParams

type DeleteRecordingParams struct {
	// ConfirmDeleteFavorite Boolean encoded as a query string; false was recorded and requiredness is not established.
	ConfirmDeleteFavorite *ConfirmDeleteFavorite `form:"confirm_delete_favorite,omitempty" json:"confirm_delete_favorite,omitempty"`
}

DeleteRecordingParams defines parameters for DeleteRecording.

type DeleteRecordingResponse

type DeleteRecordingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteRecordingResponse

func ParseDeleteRecordingResponse(rsp *http.Response) (*DeleteRecordingResponse, error)

ParseDeleteRecordingResponse parses an HTTP response from a DeleteRecordingWithResponse call

func (DeleteRecordingResponse) ContentType

func (r DeleteRecordingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteRecordingResponse) GetBody

func (r DeleteRecordingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteRecordingResponse) Status

func (r DeleteRecordingResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteRecordingResponse) StatusCode

func (r DeleteRecordingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Device

type Device struct {
	// ActiveScheduleUuid Only null was observed in the captured device response; future values are unverified.
	ActiveScheduleUuid any            `json:"active_schedule_uuid,omitempty"`
	Address            *string        `json:"address,omitempty"`
	Alerts             *Device_Alerts `json:"alerts,omitempty"`

	// BatteryLife Ring has returned a percentage, numeric text, and out-of-range hardware values (for example 4081 in a baseline fixture); callers must validate before treating it as a percentage.
	BatteryLife *Device_BatteryLife `json:"battery_life,omitempty"`

	// BatteryLife2 Optional second battery, with the same wire variants as battery_life.
	BatteryLife2         *Device_BatteryLife2    `json:"battery_life_2,omitempty"`
	CameraLocationIndoor *bool                   `json:"camera_location_indoor,omitempty"`
	CreatedAt            *time.Time              `json:"created_at,omitempty"`
	DeactivatedAt        *time.Time              `json:"deactivated_at,omitempty"`
	Description          string                  `json:"description"`
	DeviceId             *string                 `json:"device_id,omitempty"`
	DeviceResourceId     *string                 `json:"device_resource_id,omitempty"`
	EncryptionGroup      *Device_EncryptionGroup `json:"encryption_group,omitempty"`

	// ExtPowerState Only null was observed in the captured device response; future values are unverified.
	ExtPowerState      any   `json:"ext_power_state,omitempty"`
	ExternalConnection *bool `json:"external_connection,omitempty"`
	FacingWindow       *bool `json:"facing_window,omitempty"`

	// Family Baseline families include doorbots, chimes, stickup_cams and other; absent in the v3 capture and unknown families remain valid.
	Family            *string         `json:"family,omitempty"`
	Features          *DeviceFeatures `json:"features,omitempty"`
	FirmwareVersion   *string         `json:"firmware_version,omitempty"`
	HasLight          *bool           `json:"has_light,omitempty"`
	Health            *DeviceHealth   `json:"health,omitempty"`
	Id                int64           `json:"id"`
	IsSidewalkGateway *bool           `json:"is_sidewalk_gateway,omitempty"`

	// Kind Observed v3 kind is stickup_cam_mini_ptz_v1; baseline fixtures also include doorbells, chimes and intercoms. Unknown kinds remain valid.
	Kind                   string               `json:"kind"`
	Latitude               *float32             `json:"latitude,omitempty"`
	LightBrightness        *int                 `json:"light_brightness,omitempty"`
	LocationId             *string              `json:"location_id,omitempty"`
	Longitude              *float32             `json:"longitude,omitempty"`
	MotionDetectionEnabled *bool                `json:"motion_detection_enabled,omitempty"`
	MotionSnooze           *Device_MotionSnooze `json:"motion_snooze,omitempty"`

	// Name Legacy inventory display name; v3 capture uses description.
	Name         *string      `json:"name,omitempty"`
	OperationSet *string      `json:"operation_set,omitempty"`
	Owned        *bool        `json:"owned,omitempty"`
	Owner        *DeviceOwner `json:"owner,omitempty"`

	// RingId Only null was observed in the captured device response; future values are unverified.
	RingId any `json:"ring_id,omitempty"`

	// RingNetId Null in the v3 camera capture; text in a legacy device response.
	RingNetId *string               `json:"ring_net_id,omitempty"`
	SchemaId  *string               `json:"schema_id,omitempty"`
	Settings  *DeviceLegacySettings `json:"settings,omitempty"`

	// SharedAt Only null was observed in the captured device response; future values are unverified.
	SharedAt    any                 `json:"shared_at,omitempty"`
	SirenStatus *Device_SirenStatus `json:"siren_status,omitempty"`

	// SnoozeSettings Only null was observed in the captured device response; future values are unverified.
	SnoozeSettings    any   `json:"snooze_settings,omitempty"`
	Stolen            *bool `json:"stolen,omitempty"`
	Subscribed        *bool `json:"subscribed,omitempty"`
	SubscribedMotions *bool `json:"subscribed_motions,omitempty"`

	// TimeZone Alternate legacy timezone spelling.
	TimeZone             *string                `json:"time_zone,omitempty"`
	Timezone             *string                `json:"timezone,omitempty"`
	Volume               *int                   `json:"volume,omitempty"`
	WifiName             *string                `json:"wifi_name,omitempty"`
	WifiSignalStrength   *int                   `json:"wifi_signal_strength,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Device Captured inventory/detail shape with additional baseline fixture fields; unknown hardware fields remain open.

func (Device) Get

func (a Device) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Device. Returns the specified element and whether it was found

func (Device) MarshalJSON

func (a Device) MarshalJSON() ([]byte, error)

Override default JSON handling for Device to handle AdditionalProperties

func (*Device) Set

func (a *Device) Set(fieldName string, value interface{})

Setter for additional properties for Device

func (*Device) UnmarshalJSON

func (a *Device) UnmarshalJSON(b []byte) error

Override default JSON handling for Device to handle AdditionalProperties

type DeviceBatteryLife0 added in v0.4.0

type DeviceBatteryLife0 = int

DeviceBatteryLife0 defines model for Device.BatteryLife.0.

type DeviceBatteryLife1 added in v0.4.0

type DeviceBatteryLife1 = string

DeviceBatteryLife1 defines model for Device.BatteryLife.1.

type DeviceBatteryLife20 added in v0.4.0

type DeviceBatteryLife20 = int

DeviceBatteryLife20 defines model for Device.BatteryLife2.0.

type DeviceBatteryLife21 added in v0.4.0

type DeviceBatteryLife21 = string

DeviceBatteryLife21 defines model for Device.BatteryLife2.1.

type DeviceCommand

type DeviceCommand struct {
	CommandName DeviceCommandCommandName `json:"command_name"`
}

DeviceCommand defines model for DeviceCommand.

type DeviceCommandCommandName

type DeviceCommandCommandName string

DeviceCommandCommandName defines model for DeviceCommand.CommandName.

const (
	Reboot DeviceCommandCommandName = "reboot"
)

Defines values for DeviceCommandCommandName.

func (DeviceCommandCommandName) Valid

func (e DeviceCommandCommandName) Valid() bool

Valid indicates whether the value is a known member of the DeviceCommandCommandName enum.

type DeviceDetail

type DeviceDetail struct {
	// Device Captured inventory/detail shape with additional baseline fixture fields; unknown hardware fields remain open.
	Device               Device                         `json:"device"`
	DeviceOperationSet   *map[string]DeviceOperationSet `json:"device_operation_set,omitempty"`
	AdditionalProperties map[string]interface{}         `json:"-"`
}

DeviceDetail defines model for DeviceDetail.

func (DeviceDetail) Get

func (a DeviceDetail) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceDetail. Returns the specified element and whether it was found

func (DeviceDetail) MarshalJSON

func (a DeviceDetail) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceDetail to handle AdditionalProperties

func (*DeviceDetail) Set

func (a *DeviceDetail) Set(fieldName string, value interface{})

Setter for additional properties for DeviceDetail

func (*DeviceDetail) UnmarshalJSON

func (a *DeviceDetail) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceDetail to handle AdditionalProperties

type DeviceFamilyCode

type DeviceFamilyCode string

DeviceFamilyCode Observed legacy family labels. The device family field itself remains open to future values.

const (
	Chimes      DeviceFamilyCode = "chimes"
	Doorbots    DeviceFamilyCode = "doorbots"
	Other       DeviceFamilyCode = "other"
	StickupCams DeviceFamilyCode = "stickup_cams"
)

Defines values for DeviceFamilyCode.

func (DeviceFamilyCode) Valid

func (e DeviceFamilyCode) Valid() bool

Valid indicates whether the value is a known member of the DeviceFamilyCode enum.

type DeviceFeatures

type DeviceFeatures struct {
	AiAutomatedWarnings    *DeviceFeatures_AiAutomatedWarnings    `json:"ai_automated_warnings,omitempty"`
	AiLabsDailyClip        *DeviceFeatures_AiLabsDailyClip        `json:"ai_labs_daily_clip,omitempty"`
	AiLabsMemorableMoments *DeviceFeatures_AiLabsMemorableMoments `json:"ai_labs_memorable_moments,omitempty"`

	// AlexaPlusGreetings Only null was observed in the captured device response; future values are unverified.
	AlexaPlusGreetings      any   `json:"alexa_plus_greetings,omitempty"`
	AnimalDetectionEligible *bool `json:"animal_detection_eligible,omitempty"`

	// AutoShutoffDevice Only null was observed in the captured device response; future values are unverified.
	AutoShutoffDevice any                  `json:"auto_shutoff_device,omitempty"`
	AutoTrack         *FeatureAvailability `json:"auto_track,omitempty"`
	AutoZoomTrack     *FeatureAvailability `json:"auto_zoom_track,omitempty"`

	// AutomatedSiren Only null was observed in the captured device response; future values are unverified.
	AutomatedSiren                    any                                               `json:"automated_siren,omitempty"`
	CfesEligible                      *bool                                             `json:"cfes_eligible,omitempty"`
	ChimeSettings                     *DeviceFeatures_ChimeSettings                     `json:"chime_settings,omitempty"`
	DynamicNetworkSwitchingEligible   *bool                                             `json:"dynamic_network_switching_eligible,omitempty"`
	LiveViewAudioPrivacyControls      *DeviceFeatures_LiveViewAudioPrivacyControls      `json:"live_view_audio_privacy_controls,omitempty"`
	MotionMessageEnabled              *bool                                             `json:"motion_message_enabled,omitempty"`
	MotionStopEdgeEligible            *bool                                             `json:"motion_stop_edge_eligible,omitempty"`
	MotionZoneRecommendation          *bool                                             `json:"motion_zone_recommendation,omitempty"`
	MotionsEnabled                    *bool                                             `json:"motions_enabled,omitempty"`
	NetworkBackup                     *DeviceFeatures_NetworkBackup                     `json:"network_backup,omitempty"`
	NetworkBackupHost                 *DeviceFeatures_NetworkBackupHost                 `json:"network_backup_host,omitempty"`
	OriginalVideoQualityDownloadOffer *DeviceFeatures_OriginalVideoQualityDownloadOffer `json:"original_video_quality_download_offer,omitempty"`

	// PackageWarning Only null was observed in the captured device response; future values are unverified.
	PackageWarning        any                                  `json:"package_warning,omitempty"`
	PersonIdentification  *DeviceFeatures_PersonIdentification `json:"person_identification,omitempty"`
	PropertyView          *DeviceFeatures_PropertyView         `json:"property_view,omitempty"`
	PtzSetupComplete      *bool                                `json:"ptz_setup_complete,omitempty"`
	Recording24x7Eligible *bool                                `json:"recording_24x7_eligible,omitempty"`

	// RemoteAccessControl Only null was observed in the captured device response; future values are unverified.
	RemoteAccessControl            any                                   `json:"remote_access_control,omitempty"`
	RetinalTuning                  *DeviceFeatures_RetinalTuning         `json:"retinal_tuning,omitempty"`
	RichNotificationsEligible      *bool                                 `json:"rich_notifications_eligible,omitempty"`
	SheilaCameraEligible           *bool                                 `json:"sheila_camera_eligible,omitempty"`
	SheilaCameraProcessingEligible *bool                                 `json:"sheila_camera_processing_eligible,omitempty"`
	Show24x7Lite                   *bool                                 `json:"show_24x7_lite,omitempty"`
	ShowOfflineMotionEvents        *bool                                 `json:"show_offline_motion_events,omitempty"`
	ShowRecordings                 *bool                                 `json:"show_recordings,omitempty"`
	ShowVodSettings                *bool                                 `json:"show_vod_settings,omitempty"`
	SingleAlert                    *DeviceFeatures_SingleAlert           `json:"single_alert,omitempty"`
	SmartVideoDescription          *DeviceFeatures_SmartVideoDescription `json:"smart_video_description,omitempty"`
	SmartVideoSearch               *DeviceFeatures_SmartVideoSearch      `json:"smart_video_search,omitempty"`

	// Tracklight Only null was observed in the captured device response; future values are unverified.
	Tracklight any `json:"tracklight,omitempty"`

	// TransformerScore Only null was observed in the captured device response; future values are unverified.
	TransformerScore         any                            `json:"transformer_score,omitempty"`
	UnusualAlert             *DeviceFeatures_UnusualAlert   `json:"unusual_alert,omitempty"`
	VehicleDetectionEligible *bool                          `json:"vehicle_detection_eligible,omitempty"`
	VideoDonation            *DeviceFeatures_VideoDonation  `json:"video_donation,omitempty"`
	VideoRecording           *DeviceFeatures_VideoRecording `json:"video_recording,omitempty"`
	VideoRendering           *VideoRenderingFeature         `json:"video_rendering,omitempty"`
	AdditionalProperties     map[string]interface{}         `json:"-"`
}

DeviceFeatures defines model for DeviceFeatures.

func (DeviceFeatures) Get

func (a DeviceFeatures) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures. Returns the specified element and whether it was found

func (DeviceFeatures) MarshalJSON

func (a DeviceFeatures) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures to handle AdditionalProperties

func (*DeviceFeatures) Set

func (a *DeviceFeatures) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures

func (*DeviceFeatures) UnmarshalJSON

func (a *DeviceFeatures) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures to handle AdditionalProperties

type DeviceFeatures_AiAutomatedWarnings added in v0.4.0

type DeviceFeatures_AiAutomatedWarnings struct {
	Eligibility          *DeviceFeatures_AiAutomatedWarnings_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_AiAutomatedWarnings_Enablement  `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                          `json:"-"`
}

DeviceFeatures_AiAutomatedWarnings defines model for DeviceFeatures.AiAutomatedWarnings.

func (DeviceFeatures_AiAutomatedWarnings) Get added in v0.4.0

func (a DeviceFeatures_AiAutomatedWarnings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiAutomatedWarnings. Returns the specified element and whether it was found

func (DeviceFeatures_AiAutomatedWarnings) MarshalJSON added in v0.4.0

func (a DeviceFeatures_AiAutomatedWarnings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings to handle AdditionalProperties

func (*DeviceFeatures_AiAutomatedWarnings) Set added in v0.4.0

func (a *DeviceFeatures_AiAutomatedWarnings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiAutomatedWarnings

func (*DeviceFeatures_AiAutomatedWarnings) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_AiAutomatedWarnings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings to handle AdditionalProperties

type DeviceFeatures_AiAutomatedWarnings_Eligibility added in v0.4.0

type DeviceFeatures_AiAutomatedWarnings_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]interface{}         `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_AiAutomatedWarnings_Eligibility defines model for DeviceFeatures.AiAutomatedWarnings.Eligibility.

func (DeviceFeatures_AiAutomatedWarnings_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_AiAutomatedWarnings_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiAutomatedWarnings_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_AiAutomatedWarnings_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_AiAutomatedWarnings_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_AiAutomatedWarnings_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiAutomatedWarnings_Eligibility

func (*DeviceFeatures_AiAutomatedWarnings_Eligibility) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings_Eligibility to handle AdditionalProperties

type DeviceFeatures_AiAutomatedWarnings_Enablement added in v0.4.0

type DeviceFeatures_AiAutomatedWarnings_Enablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]string              `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_AiAutomatedWarnings_Enablement defines model for DeviceFeatures.AiAutomatedWarnings.Enablement.

func (DeviceFeatures_AiAutomatedWarnings_Enablement) Get added in v0.4.0

func (a DeviceFeatures_AiAutomatedWarnings_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiAutomatedWarnings_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_AiAutomatedWarnings_Enablement) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings_Enablement to handle AdditionalProperties

func (*DeviceFeatures_AiAutomatedWarnings_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_AiAutomatedWarnings_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiAutomatedWarnings_Enablement

func (*DeviceFeatures_AiAutomatedWarnings_Enablement) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings_Enablement to handle AdditionalProperties

type DeviceFeatures_AiLabsDailyClip added in v0.4.0

type DeviceFeatures_AiLabsDailyClip struct {
	AllowsNoLocation     *bool                                       `json:"allows_no_location,omitempty"`
	Eligibility          *DeviceFeatures_AiLabsDailyClip_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_AiLabsDailyClip_Enablement  `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                      `json:"-"`
}

DeviceFeatures_AiLabsDailyClip defines model for DeviceFeatures.AiLabsDailyClip.

func (DeviceFeatures_AiLabsDailyClip) Get added in v0.4.0

func (a DeviceFeatures_AiLabsDailyClip) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiLabsDailyClip. Returns the specified element and whether it was found

func (DeviceFeatures_AiLabsDailyClip) MarshalJSON added in v0.4.0

func (a DeviceFeatures_AiLabsDailyClip) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_AiLabsDailyClip to handle AdditionalProperties

func (*DeviceFeatures_AiLabsDailyClip) Set added in v0.4.0

func (a *DeviceFeatures_AiLabsDailyClip) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiLabsDailyClip

func (*DeviceFeatures_AiLabsDailyClip) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_AiLabsDailyClip) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_AiLabsDailyClip to handle AdditionalProperties

type DeviceFeatures_AiLabsDailyClip_Eligibility added in v0.4.0

type DeviceFeatures_AiLabsDailyClip_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]string              `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_AiLabsDailyClip_Eligibility defines model for DeviceFeatures.AiLabsDailyClip.Eligibility.

func (DeviceFeatures_AiLabsDailyClip_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_AiLabsDailyClip_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiLabsDailyClip_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_AiLabsDailyClip_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiLabsDailyClip_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_AiLabsDailyClip_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_AiLabsDailyClip_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiLabsDailyClip_Eligibility

func (*DeviceFeatures_AiLabsDailyClip_Eligibility) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiLabsDailyClip_Eligibility to handle AdditionalProperties

type DeviceFeatures_AiLabsDailyClip_Enablement added in v0.4.0

type DeviceFeatures_AiLabsDailyClip_Enablement struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_AiLabsDailyClip_Enablement defines model for DeviceFeatures.AiLabsDailyClip.Enablement.

func (DeviceFeatures_AiLabsDailyClip_Enablement) Get added in v0.4.0

func (a DeviceFeatures_AiLabsDailyClip_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiLabsDailyClip_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_AiLabsDailyClip_Enablement) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiLabsDailyClip_Enablement to handle AdditionalProperties

func (*DeviceFeatures_AiLabsDailyClip_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_AiLabsDailyClip_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiLabsDailyClip_Enablement

func (*DeviceFeatures_AiLabsDailyClip_Enablement) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiLabsDailyClip_Enablement to handle AdditionalProperties

type DeviceFeatures_AiLabsMemorableMoments added in v0.4.0

type DeviceFeatures_AiLabsMemorableMoments struct {
	AllowsNoLocation     *bool                                              `json:"allows_no_location,omitempty"`
	Eligibility          *DeviceFeatures_AiLabsMemorableMoments_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_AiLabsMemorableMoments_Enablement  `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                             `json:"-"`
}

DeviceFeatures_AiLabsMemorableMoments defines model for DeviceFeatures.AiLabsMemorableMoments.

func (DeviceFeatures_AiLabsMemorableMoments) Get added in v0.4.0

func (a DeviceFeatures_AiLabsMemorableMoments) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiLabsMemorableMoments. Returns the specified element and whether it was found

func (DeviceFeatures_AiLabsMemorableMoments) MarshalJSON added in v0.4.0

func (a DeviceFeatures_AiLabsMemorableMoments) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments to handle AdditionalProperties

func (*DeviceFeatures_AiLabsMemorableMoments) Set added in v0.4.0

func (a *DeviceFeatures_AiLabsMemorableMoments) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiLabsMemorableMoments

func (*DeviceFeatures_AiLabsMemorableMoments) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_AiLabsMemorableMoments) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments to handle AdditionalProperties

type DeviceFeatures_AiLabsMemorableMoments_Eligibility added in v0.4.0

type DeviceFeatures_AiLabsMemorableMoments_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]string              `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_AiLabsMemorableMoments_Eligibility defines model for DeviceFeatures.AiLabsMemorableMoments.Eligibility.

func (DeviceFeatures_AiLabsMemorableMoments_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_AiLabsMemorableMoments_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiLabsMemorableMoments_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_AiLabsMemorableMoments_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_AiLabsMemorableMoments_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_AiLabsMemorableMoments_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiLabsMemorableMoments_Eligibility

func (*DeviceFeatures_AiLabsMemorableMoments_Eligibility) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments_Eligibility to handle AdditionalProperties

type DeviceFeatures_AiLabsMemorableMoments_Enablement added in v0.4.0

type DeviceFeatures_AiLabsMemorableMoments_Enablement struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_AiLabsMemorableMoments_Enablement defines model for DeviceFeatures.AiLabsMemorableMoments.Enablement.

func (DeviceFeatures_AiLabsMemorableMoments_Enablement) Get added in v0.4.0

func (a DeviceFeatures_AiLabsMemorableMoments_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_AiLabsMemorableMoments_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_AiLabsMemorableMoments_Enablement) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments_Enablement to handle AdditionalProperties

func (*DeviceFeatures_AiLabsMemorableMoments_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_AiLabsMemorableMoments_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_AiLabsMemorableMoments_Enablement

func (*DeviceFeatures_AiLabsMemorableMoments_Enablement) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments_Enablement to handle AdditionalProperties

type DeviceFeatures_ChimeSettings added in v0.4.0

type DeviceFeatures_ChimeSettings struct {
	IsEligible           *bool                  `json:"is_eligible,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_ChimeSettings defines model for DeviceFeatures.ChimeSettings.

func (DeviceFeatures_ChimeSettings) Get added in v0.4.0

func (a DeviceFeatures_ChimeSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_ChimeSettings. Returns the specified element and whether it was found

func (DeviceFeatures_ChimeSettings) MarshalJSON added in v0.4.0

func (a DeviceFeatures_ChimeSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_ChimeSettings to handle AdditionalProperties

func (*DeviceFeatures_ChimeSettings) Set added in v0.4.0

func (a *DeviceFeatures_ChimeSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_ChimeSettings

func (*DeviceFeatures_ChimeSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_ChimeSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_ChimeSettings to handle AdditionalProperties

type DeviceFeatures_LiveViewAudioPrivacyControls added in v0.4.0

type DeviceFeatures_LiveViewAudioPrivacyControls struct {
	Eligibility          *DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility `json:"eligibility,omitempty"`
	AdditionalProperties map[string]interface{}                                   `json:"-"`
}

DeviceFeatures_LiveViewAudioPrivacyControls defines model for DeviceFeatures.LiveViewAudioPrivacyControls.

func (DeviceFeatures_LiveViewAudioPrivacyControls) Get added in v0.4.0

func (a DeviceFeatures_LiveViewAudioPrivacyControls) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_LiveViewAudioPrivacyControls. Returns the specified element and whether it was found

func (DeviceFeatures_LiveViewAudioPrivacyControls) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_LiveViewAudioPrivacyControls to handle AdditionalProperties

func (*DeviceFeatures_LiveViewAudioPrivacyControls) Set added in v0.4.0

func (a *DeviceFeatures_LiveViewAudioPrivacyControls) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_LiveViewAudioPrivacyControls

func (*DeviceFeatures_LiveViewAudioPrivacyControls) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_LiveViewAudioPrivacyControls to handle AdditionalProperties

type DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility added in v0.4.0

type DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]string              `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility defines model for DeviceFeatures.LiveViewAudioPrivacyControls.Eligibility.

func (DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility

func (*DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility to handle AdditionalProperties

type DeviceFeatures_NetworkBackup added in v0.4.0

type DeviceFeatures_NetworkBackup struct {
	Eligibility          *DeviceFeatures_NetworkBackup_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_NetworkBackup_Enablement  `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                    `json:"-"`
}

DeviceFeatures_NetworkBackup defines model for DeviceFeatures.NetworkBackup.

func (DeviceFeatures_NetworkBackup) Get added in v0.4.0

func (a DeviceFeatures_NetworkBackup) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_NetworkBackup. Returns the specified element and whether it was found

func (DeviceFeatures_NetworkBackup) MarshalJSON added in v0.4.0

func (a DeviceFeatures_NetworkBackup) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_NetworkBackup to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackup) Set added in v0.4.0

func (a *DeviceFeatures_NetworkBackup) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_NetworkBackup

func (*DeviceFeatures_NetworkBackup) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_NetworkBackup) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_NetworkBackup to handle AdditionalProperties

type DeviceFeatures_NetworkBackupHost added in v0.4.0

type DeviceFeatures_NetworkBackupHost struct {
	Eligibility          *DeviceFeatures_NetworkBackupHost_Eligibility `json:"eligibility,omitempty"`
	AdditionalProperties map[string]interface{}                        `json:"-"`
}

DeviceFeatures_NetworkBackupHost defines model for DeviceFeatures.NetworkBackupHost.

func (DeviceFeatures_NetworkBackupHost) Get added in v0.4.0

func (a DeviceFeatures_NetworkBackupHost) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_NetworkBackupHost. Returns the specified element and whether it was found

func (DeviceFeatures_NetworkBackupHost) MarshalJSON added in v0.4.0

func (a DeviceFeatures_NetworkBackupHost) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_NetworkBackupHost to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackupHost) Set added in v0.4.0

func (a *DeviceFeatures_NetworkBackupHost) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_NetworkBackupHost

func (*DeviceFeatures_NetworkBackupHost) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_NetworkBackupHost) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_NetworkBackupHost to handle AdditionalProperties

type DeviceFeatures_NetworkBackupHost_Eligibility added in v0.4.0

type DeviceFeatures_NetworkBackupHost_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]string              `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_NetworkBackupHost_Eligibility defines model for DeviceFeatures.NetworkBackupHost.Eligibility.

func (DeviceFeatures_NetworkBackupHost_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_NetworkBackupHost_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_NetworkBackupHost_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_NetworkBackupHost_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_NetworkBackupHost_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackupHost_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_NetworkBackupHost_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_NetworkBackupHost_Eligibility

func (*DeviceFeatures_NetworkBackupHost_Eligibility) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_NetworkBackupHost_Eligibility to handle AdditionalProperties

type DeviceFeatures_NetworkBackup_Eligibility added in v0.4.0

type DeviceFeatures_NetworkBackup_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]string              `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_NetworkBackup_Eligibility defines model for DeviceFeatures.NetworkBackup.Eligibility.

func (DeviceFeatures_NetworkBackup_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_NetworkBackup_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_NetworkBackup_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_NetworkBackup_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_NetworkBackup_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackup_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_NetworkBackup_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_NetworkBackup_Eligibility

func (*DeviceFeatures_NetworkBackup_Eligibility) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_NetworkBackup_Eligibility) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_NetworkBackup_Eligibility to handle AdditionalProperties

type DeviceFeatures_NetworkBackup_Enablement added in v0.4.0

type DeviceFeatures_NetworkBackup_Enablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]string              `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_NetworkBackup_Enablement defines model for DeviceFeatures.NetworkBackup.Enablement.

func (DeviceFeatures_NetworkBackup_Enablement) Get added in v0.4.0

func (a DeviceFeatures_NetworkBackup_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_NetworkBackup_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_NetworkBackup_Enablement) MarshalJSON added in v0.4.0

func (a DeviceFeatures_NetworkBackup_Enablement) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_NetworkBackup_Enablement to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackup_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_NetworkBackup_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_NetworkBackup_Enablement

func (*DeviceFeatures_NetworkBackup_Enablement) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_NetworkBackup_Enablement) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_NetworkBackup_Enablement to handle AdditionalProperties

type DeviceFeatures_OriginalVideoQualityDownloadOffer added in v0.4.0

type DeviceFeatures_OriginalVideoQualityDownloadOffer struct {
	IsEnabled            *bool                  `json:"is_enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_OriginalVideoQualityDownloadOffer defines model for DeviceFeatures.OriginalVideoQualityDownloadOffer.

func (DeviceFeatures_OriginalVideoQualityDownloadOffer) Get added in v0.4.0

func (a DeviceFeatures_OriginalVideoQualityDownloadOffer) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_OriginalVideoQualityDownloadOffer. Returns the specified element and whether it was found

func (DeviceFeatures_OriginalVideoQualityDownloadOffer) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_OriginalVideoQualityDownloadOffer to handle AdditionalProperties

func (*DeviceFeatures_OriginalVideoQualityDownloadOffer) Set added in v0.4.0

func (a *DeviceFeatures_OriginalVideoQualityDownloadOffer) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_OriginalVideoQualityDownloadOffer

func (*DeviceFeatures_OriginalVideoQualityDownloadOffer) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_OriginalVideoQualityDownloadOffer to handle AdditionalProperties

type DeviceFeatures_PersonIdentification added in v0.4.0

type DeviceFeatures_PersonIdentification struct {
	Eligibility          *DeviceFeatures_PersonIdentification_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_PersonIdentification_Enablement  `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                           `json:"-"`
}

DeviceFeatures_PersonIdentification defines model for DeviceFeatures.PersonIdentification.

func (DeviceFeatures_PersonIdentification) Get added in v0.4.0

func (a DeviceFeatures_PersonIdentification) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_PersonIdentification. Returns the specified element and whether it was found

func (DeviceFeatures_PersonIdentification) MarshalJSON added in v0.4.0

func (a DeviceFeatures_PersonIdentification) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_PersonIdentification to handle AdditionalProperties

func (*DeviceFeatures_PersonIdentification) Set added in v0.4.0

func (a *DeviceFeatures_PersonIdentification) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_PersonIdentification

func (*DeviceFeatures_PersonIdentification) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_PersonIdentification) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_PersonIdentification to handle AdditionalProperties

type DeviceFeatures_PersonIdentification_Eligibility added in v0.4.0

type DeviceFeatures_PersonIdentification_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]interface{}         `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_PersonIdentification_Eligibility defines model for DeviceFeatures.PersonIdentification.Eligibility.

func (DeviceFeatures_PersonIdentification_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_PersonIdentification_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_PersonIdentification_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_PersonIdentification_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_PersonIdentification_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_PersonIdentification_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_PersonIdentification_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_PersonIdentification_Eligibility

func (*DeviceFeatures_PersonIdentification_Eligibility) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_PersonIdentification_Eligibility to handle AdditionalProperties

type DeviceFeatures_PersonIdentification_Enablement added in v0.4.0

type DeviceFeatures_PersonIdentification_Enablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]string              `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_PersonIdentification_Enablement defines model for DeviceFeatures.PersonIdentification.Enablement.

func (DeviceFeatures_PersonIdentification_Enablement) Get added in v0.4.0

func (a DeviceFeatures_PersonIdentification_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_PersonIdentification_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_PersonIdentification_Enablement) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_PersonIdentification_Enablement to handle AdditionalProperties

func (*DeviceFeatures_PersonIdentification_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_PersonIdentification_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_PersonIdentification_Enablement

func (*DeviceFeatures_PersonIdentification_Enablement) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_PersonIdentification_Enablement to handle AdditionalProperties

type DeviceFeatures_PropertyView added in v0.4.0

type DeviceFeatures_PropertyView struct {
	Enablement           *DeviceFeatures_PropertyView_Enablement `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                  `json:"-"`
}

DeviceFeatures_PropertyView defines model for DeviceFeatures.PropertyView.

func (DeviceFeatures_PropertyView) Get added in v0.4.0

func (a DeviceFeatures_PropertyView) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_PropertyView. Returns the specified element and whether it was found

func (DeviceFeatures_PropertyView) MarshalJSON added in v0.4.0

func (a DeviceFeatures_PropertyView) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_PropertyView to handle AdditionalProperties

func (*DeviceFeatures_PropertyView) Set added in v0.4.0

func (a *DeviceFeatures_PropertyView) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_PropertyView

func (*DeviceFeatures_PropertyView) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_PropertyView) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_PropertyView to handle AdditionalProperties

type DeviceFeatures_PropertyView_Enablement added in v0.4.0

type DeviceFeatures_PropertyView_Enablement struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_PropertyView_Enablement defines model for DeviceFeatures.PropertyView.Enablement.

func (DeviceFeatures_PropertyView_Enablement) Get added in v0.4.0

func (a DeviceFeatures_PropertyView_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_PropertyView_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_PropertyView_Enablement) MarshalJSON added in v0.4.0

func (a DeviceFeatures_PropertyView_Enablement) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_PropertyView_Enablement to handle AdditionalProperties

func (*DeviceFeatures_PropertyView_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_PropertyView_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_PropertyView_Enablement

func (*DeviceFeatures_PropertyView_Enablement) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_PropertyView_Enablement) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_PropertyView_Enablement to handle AdditionalProperties

type DeviceFeatures_RetinalTuning added in v0.4.0

type DeviceFeatures_RetinalTuning struct {
	Eligibility           *DeviceFeatures_RetinalTuning_Eligibility `json:"eligibility,omitempty"`
	Enablement            *DeviceFeatures_RetinalTuning_Enablement  `json:"enablement,omitempty"`
	RtMaxDigitalZoomLevel *float32                                  `json:"rt_max_digital_zoom_level,omitempty"`
	AdditionalProperties  map[string]interface{}                    `json:"-"`
}

DeviceFeatures_RetinalTuning defines model for DeviceFeatures.RetinalTuning.

func (DeviceFeatures_RetinalTuning) Get added in v0.4.0

func (a DeviceFeatures_RetinalTuning) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_RetinalTuning. Returns the specified element and whether it was found

func (DeviceFeatures_RetinalTuning) MarshalJSON added in v0.4.0

func (a DeviceFeatures_RetinalTuning) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_RetinalTuning to handle AdditionalProperties

func (*DeviceFeatures_RetinalTuning) Set added in v0.4.0

func (a *DeviceFeatures_RetinalTuning) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_RetinalTuning

func (*DeviceFeatures_RetinalTuning) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_RetinalTuning) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_RetinalTuning to handle AdditionalProperties

type DeviceFeatures_RetinalTuning_Eligibility added in v0.4.0

type DeviceFeatures_RetinalTuning_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]interface{}         `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_RetinalTuning_Eligibility defines model for DeviceFeatures.RetinalTuning.Eligibility.

func (DeviceFeatures_RetinalTuning_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_RetinalTuning_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_RetinalTuning_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_RetinalTuning_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_RetinalTuning_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_RetinalTuning_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_RetinalTuning_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_RetinalTuning_Eligibility

func (*DeviceFeatures_RetinalTuning_Eligibility) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_RetinalTuning_Eligibility) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_RetinalTuning_Eligibility to handle AdditionalProperties

type DeviceFeatures_RetinalTuning_Enablement added in v0.4.0

type DeviceFeatures_RetinalTuning_Enablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]interface{}         `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_RetinalTuning_Enablement defines model for DeviceFeatures.RetinalTuning.Enablement.

func (DeviceFeatures_RetinalTuning_Enablement) Get added in v0.4.0

func (a DeviceFeatures_RetinalTuning_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_RetinalTuning_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_RetinalTuning_Enablement) MarshalJSON added in v0.4.0

func (a DeviceFeatures_RetinalTuning_Enablement) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_RetinalTuning_Enablement to handle AdditionalProperties

func (*DeviceFeatures_RetinalTuning_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_RetinalTuning_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_RetinalTuning_Enablement

func (*DeviceFeatures_RetinalTuning_Enablement) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_RetinalTuning_Enablement) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_RetinalTuning_Enablement to handle AdditionalProperties

type DeviceFeatures_SingleAlert added in v0.4.0

type DeviceFeatures_SingleAlert struct {
	Eligibility          *DeviceFeatures_SingleAlert_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_SingleAlert_Enablement  `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                  `json:"-"`
}

DeviceFeatures_SingleAlert defines model for DeviceFeatures.SingleAlert.

func (DeviceFeatures_SingleAlert) Get added in v0.4.0

func (a DeviceFeatures_SingleAlert) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SingleAlert. Returns the specified element and whether it was found

func (DeviceFeatures_SingleAlert) MarshalJSON added in v0.4.0

func (a DeviceFeatures_SingleAlert) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_SingleAlert to handle AdditionalProperties

func (*DeviceFeatures_SingleAlert) Set added in v0.4.0

func (a *DeviceFeatures_SingleAlert) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SingleAlert

func (*DeviceFeatures_SingleAlert) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_SingleAlert) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_SingleAlert to handle AdditionalProperties

type DeviceFeatures_SingleAlert_Eligibility added in v0.4.0

type DeviceFeatures_SingleAlert_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]interface{}         `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_SingleAlert_Eligibility defines model for DeviceFeatures.SingleAlert.Eligibility.

func (DeviceFeatures_SingleAlert_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_SingleAlert_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SingleAlert_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_SingleAlert_Eligibility) MarshalJSON added in v0.4.0

func (a DeviceFeatures_SingleAlert_Eligibility) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_SingleAlert_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_SingleAlert_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_SingleAlert_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SingleAlert_Eligibility

func (*DeviceFeatures_SingleAlert_Eligibility) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_SingleAlert_Eligibility) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_SingleAlert_Eligibility to handle AdditionalProperties

type DeviceFeatures_SingleAlert_Enablement added in v0.4.0

type DeviceFeatures_SingleAlert_Enablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]string              `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_SingleAlert_Enablement defines model for DeviceFeatures.SingleAlert.Enablement.

func (DeviceFeatures_SingleAlert_Enablement) Get added in v0.4.0

func (a DeviceFeatures_SingleAlert_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SingleAlert_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_SingleAlert_Enablement) MarshalJSON added in v0.4.0

func (a DeviceFeatures_SingleAlert_Enablement) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_SingleAlert_Enablement to handle AdditionalProperties

func (*DeviceFeatures_SingleAlert_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_SingleAlert_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SingleAlert_Enablement

func (*DeviceFeatures_SingleAlert_Enablement) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_SingleAlert_Enablement) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_SingleAlert_Enablement to handle AdditionalProperties

type DeviceFeatures_SmartVideoDescription added in v0.4.0

type DeviceFeatures_SmartVideoDescription struct {
	Eligibility          *DeviceFeatures_SmartVideoDescription_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_SmartVideoDescription_Enablement  `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                            `json:"-"`
}

DeviceFeatures_SmartVideoDescription defines model for DeviceFeatures.SmartVideoDescription.

func (DeviceFeatures_SmartVideoDescription) Get added in v0.4.0

func (a DeviceFeatures_SmartVideoDescription) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SmartVideoDescription. Returns the specified element and whether it was found

func (DeviceFeatures_SmartVideoDescription) MarshalJSON added in v0.4.0

func (a DeviceFeatures_SmartVideoDescription) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_SmartVideoDescription to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoDescription) Set added in v0.4.0

func (a *DeviceFeatures_SmartVideoDescription) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SmartVideoDescription

func (*DeviceFeatures_SmartVideoDescription) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_SmartVideoDescription) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_SmartVideoDescription to handle AdditionalProperties

type DeviceFeatures_SmartVideoDescription_Eligibility added in v0.4.0

type DeviceFeatures_SmartVideoDescription_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]interface{}         `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_SmartVideoDescription_Eligibility defines model for DeviceFeatures.SmartVideoDescription.Eligibility.

func (DeviceFeatures_SmartVideoDescription_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_SmartVideoDescription_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SmartVideoDescription_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_SmartVideoDescription_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_SmartVideoDescription_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoDescription_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_SmartVideoDescription_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SmartVideoDescription_Eligibility

func (*DeviceFeatures_SmartVideoDescription_Eligibility) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_SmartVideoDescription_Eligibility to handle AdditionalProperties

type DeviceFeatures_SmartVideoDescription_Enablement added in v0.4.0

type DeviceFeatures_SmartVideoDescription_Enablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]string              `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_SmartVideoDescription_Enablement defines model for DeviceFeatures.SmartVideoDescription.Enablement.

func (DeviceFeatures_SmartVideoDescription_Enablement) Get added in v0.4.0

func (a DeviceFeatures_SmartVideoDescription_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SmartVideoDescription_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_SmartVideoDescription_Enablement) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_SmartVideoDescription_Enablement to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoDescription_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_SmartVideoDescription_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SmartVideoDescription_Enablement

func (*DeviceFeatures_SmartVideoDescription_Enablement) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_SmartVideoDescription_Enablement to handle AdditionalProperties

type DeviceFeatures_SmartVideoSearch added in v0.4.0

type DeviceFeatures_SmartVideoSearch struct {
	Eligibility          *DeviceFeatures_SmartVideoSearch_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_SmartVideoSearch_Enablement  `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{}                       `json:"-"`
}

DeviceFeatures_SmartVideoSearch defines model for DeviceFeatures.SmartVideoSearch.

func (DeviceFeatures_SmartVideoSearch) Get added in v0.4.0

func (a DeviceFeatures_SmartVideoSearch) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SmartVideoSearch. Returns the specified element and whether it was found

func (DeviceFeatures_SmartVideoSearch) MarshalJSON added in v0.4.0

func (a DeviceFeatures_SmartVideoSearch) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_SmartVideoSearch to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoSearch) Set added in v0.4.0

func (a *DeviceFeatures_SmartVideoSearch) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SmartVideoSearch

func (*DeviceFeatures_SmartVideoSearch) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_SmartVideoSearch) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_SmartVideoSearch to handle AdditionalProperties

type DeviceFeatures_SmartVideoSearch_Eligibility added in v0.4.0

type DeviceFeatures_SmartVideoSearch_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]interface{}         `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_SmartVideoSearch_Eligibility defines model for DeviceFeatures.SmartVideoSearch.Eligibility.

func (DeviceFeatures_SmartVideoSearch_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_SmartVideoSearch_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SmartVideoSearch_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_SmartVideoSearch_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_SmartVideoSearch_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoSearch_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_SmartVideoSearch_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SmartVideoSearch_Eligibility

func (*DeviceFeatures_SmartVideoSearch_Eligibility) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_SmartVideoSearch_Eligibility to handle AdditionalProperties

type DeviceFeatures_SmartVideoSearch_Enablement added in v0.4.0

type DeviceFeatures_SmartVideoSearch_Enablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]string              `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_SmartVideoSearch_Enablement defines model for DeviceFeatures.SmartVideoSearch.Enablement.

func (DeviceFeatures_SmartVideoSearch_Enablement) Get added in v0.4.0

func (a DeviceFeatures_SmartVideoSearch_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_SmartVideoSearch_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_SmartVideoSearch_Enablement) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_SmartVideoSearch_Enablement to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoSearch_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_SmartVideoSearch_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_SmartVideoSearch_Enablement

func (*DeviceFeatures_SmartVideoSearch_Enablement) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_SmartVideoSearch_Enablement to handle AdditionalProperties

type DeviceFeatures_UnusualAlert added in v0.4.0

type DeviceFeatures_UnusualAlert struct {
	Eligibility          *DeviceFeatures_UnusualAlert_Eligibility `json:"eligibility,omitempty"`
	Enablement           *DeviceFeatures_UnusualAlert_Enablement  `json:"enablement,omitempty"`
	Learning             *DeviceFeatures_UnusualAlert_Learning    `json:"learning,omitempty"`
	AdditionalProperties map[string]interface{}                   `json:"-"`
}

DeviceFeatures_UnusualAlert defines model for DeviceFeatures.UnusualAlert.

func (DeviceFeatures_UnusualAlert) Get added in v0.4.0

func (a DeviceFeatures_UnusualAlert) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_UnusualAlert. Returns the specified element and whether it was found

func (DeviceFeatures_UnusualAlert) MarshalJSON added in v0.4.0

func (a DeviceFeatures_UnusualAlert) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_UnusualAlert to handle AdditionalProperties

func (*DeviceFeatures_UnusualAlert) Set added in v0.4.0

func (a *DeviceFeatures_UnusualAlert) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_UnusualAlert

func (*DeviceFeatures_UnusualAlert) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_UnusualAlert) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_UnusualAlert to handle AdditionalProperties

type DeviceFeatures_UnusualAlert_Eligibility added in v0.4.0

type DeviceFeatures_UnusualAlert_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]interface{}         `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_UnusualAlert_Eligibility defines model for DeviceFeatures.UnusualAlert.Eligibility.

func (DeviceFeatures_UnusualAlert_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_UnusualAlert_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_UnusualAlert_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_UnusualAlert_Eligibility) MarshalJSON added in v0.4.0

func (a DeviceFeatures_UnusualAlert_Eligibility) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_UnusualAlert_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_UnusualAlert_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_UnusualAlert_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_UnusualAlert_Eligibility

func (*DeviceFeatures_UnusualAlert_Eligibility) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_UnusualAlert_Eligibility) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_UnusualAlert_Eligibility to handle AdditionalProperties

type DeviceFeatures_UnusualAlert_Enablement added in v0.4.0

type DeviceFeatures_UnusualAlert_Enablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]string              `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_UnusualAlert_Enablement defines model for DeviceFeatures.UnusualAlert.Enablement.

func (DeviceFeatures_UnusualAlert_Enablement) Get added in v0.4.0

func (a DeviceFeatures_UnusualAlert_Enablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_UnusualAlert_Enablement. Returns the specified element and whether it was found

func (DeviceFeatures_UnusualAlert_Enablement) MarshalJSON added in v0.4.0

func (a DeviceFeatures_UnusualAlert_Enablement) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_UnusualAlert_Enablement to handle AdditionalProperties

func (*DeviceFeatures_UnusualAlert_Enablement) Set added in v0.4.0

func (a *DeviceFeatures_UnusualAlert_Enablement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_UnusualAlert_Enablement

func (*DeviceFeatures_UnusualAlert_Enablement) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_UnusualAlert_Enablement) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_UnusualAlert_Enablement to handle AdditionalProperties

type DeviceFeatures_UnusualAlert_Learning added in v0.4.0

type DeviceFeatures_UnusualAlert_Learning struct {
	State                *string                `json:"state,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_UnusualAlert_Learning defines model for DeviceFeatures.UnusualAlert.Learning.

func (DeviceFeatures_UnusualAlert_Learning) Get added in v0.4.0

func (a DeviceFeatures_UnusualAlert_Learning) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_UnusualAlert_Learning. Returns the specified element and whether it was found

func (DeviceFeatures_UnusualAlert_Learning) MarshalJSON added in v0.4.0

func (a DeviceFeatures_UnusualAlert_Learning) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_UnusualAlert_Learning to handle AdditionalProperties

func (*DeviceFeatures_UnusualAlert_Learning) Set added in v0.4.0

func (a *DeviceFeatures_UnusualAlert_Learning) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_UnusualAlert_Learning

func (*DeviceFeatures_UnusualAlert_Learning) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_UnusualAlert_Learning) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_UnusualAlert_Learning to handle AdditionalProperties

type DeviceFeatures_VideoDonation added in v0.4.0

type DeviceFeatures_VideoDonation struct {
	Eligibility          *DeviceFeatures_VideoDonation_Eligibility `json:"eligibility,omitempty"`
	AdditionalProperties map[string]interface{}                    `json:"-"`
}

DeviceFeatures_VideoDonation defines model for DeviceFeatures.VideoDonation.

func (DeviceFeatures_VideoDonation) Get added in v0.4.0

func (a DeviceFeatures_VideoDonation) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_VideoDonation. Returns the specified element and whether it was found

func (DeviceFeatures_VideoDonation) MarshalJSON added in v0.4.0

func (a DeviceFeatures_VideoDonation) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_VideoDonation to handle AdditionalProperties

func (*DeviceFeatures_VideoDonation) Set added in v0.4.0

func (a *DeviceFeatures_VideoDonation) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_VideoDonation

func (*DeviceFeatures_VideoDonation) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_VideoDonation) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_VideoDonation to handle AdditionalProperties

type DeviceFeatures_VideoDonation_Eligibility added in v0.4.0

type DeviceFeatures_VideoDonation_Eligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]interface{}         `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_VideoDonation_Eligibility defines model for DeviceFeatures.VideoDonation.Eligibility.

func (DeviceFeatures_VideoDonation_Eligibility) Get added in v0.4.0

func (a DeviceFeatures_VideoDonation_Eligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_VideoDonation_Eligibility. Returns the specified element and whether it was found

func (DeviceFeatures_VideoDonation_Eligibility) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_VideoDonation_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_VideoDonation_Eligibility) Set added in v0.4.0

func (a *DeviceFeatures_VideoDonation_Eligibility) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_VideoDonation_Eligibility

func (*DeviceFeatures_VideoDonation_Eligibility) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_VideoDonation_Eligibility) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_VideoDonation_Eligibility to handle AdditionalProperties

type DeviceFeatures_VideoRecording added in v0.4.0

type DeviceFeatures_VideoRecording struct {
	RecordingEnabled          *bool                                                    `json:"recording_enabled,omitempty"`
	RecordingMode             *string                                                  `json:"recording_mode,omitempty"`
	RecordingModeAvailability *DeviceFeatures_VideoRecording_RecordingModeAvailability `json:"recording_mode_availability,omitempty"`
	RecordingState            *string                                                  `json:"recording_state,omitempty"`
	AdditionalProperties      map[string]interface{}                                   `json:"-"`
}

DeviceFeatures_VideoRecording defines model for DeviceFeatures.VideoRecording.

func (DeviceFeatures_VideoRecording) Get added in v0.4.0

func (a DeviceFeatures_VideoRecording) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_VideoRecording. Returns the specified element and whether it was found

func (DeviceFeatures_VideoRecording) MarshalJSON added in v0.4.0

func (a DeviceFeatures_VideoRecording) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceFeatures_VideoRecording to handle AdditionalProperties

func (*DeviceFeatures_VideoRecording) Set added in v0.4.0

func (a *DeviceFeatures_VideoRecording) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_VideoRecording

func (*DeviceFeatures_VideoRecording) UnmarshalJSON added in v0.4.0

func (a *DeviceFeatures_VideoRecording) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceFeatures_VideoRecording to handle AdditionalProperties

type DeviceFeatures_VideoRecording_RecordingModeAvailability added in v0.4.0

type DeviceFeatures_VideoRecording_RecordingModeAvailability struct {
	Continuous           *DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous `json:"continuous,omitempty"`
	AdditionalProperties map[string]interface{}                                              `json:"-"`
}

DeviceFeatures_VideoRecording_RecordingModeAvailability defines model for DeviceFeatures.VideoRecording.RecordingModeAvailability.

func (DeviceFeatures_VideoRecording_RecordingModeAvailability) Get added in v0.4.0

func (a DeviceFeatures_VideoRecording_RecordingModeAvailability) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_VideoRecording_RecordingModeAvailability. Returns the specified element and whether it was found

func (DeviceFeatures_VideoRecording_RecordingModeAvailability) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_VideoRecording_RecordingModeAvailability to handle AdditionalProperties

func (*DeviceFeatures_VideoRecording_RecordingModeAvailability) Set added in v0.4.0

func (a *DeviceFeatures_VideoRecording_RecordingModeAvailability) Set(fieldName string, value interface{})

Setter for additional properties for DeviceFeatures_VideoRecording_RecordingModeAvailability

func (*DeviceFeatures_VideoRecording_RecordingModeAvailability) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_VideoRecording_RecordingModeAvailability to handle AdditionalProperties

type DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous added in v0.4.0

type DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous struct {
	Available            *bool                  `json:"available,omitempty"`
	Supported            *bool                  `json:"supported,omitempty"`
	UnavailabilityReason *string                `json:"unavailability_reason,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous defines model for DeviceFeatures.VideoRecording.RecordingModeAvailability.Continuous.

func (DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous) Get added in v0.4.0

func (a DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous. Returns the specified element and whether it was found

func (DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous to handle AdditionalProperties

func (*DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous) Set added in v0.4.0

Setter for additional properties for DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous

func (*DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous to handle AdditionalProperties

type DeviceHealth

type DeviceHealth struct {
	AcPower           *int  `json:"ac_power,omitempty"`
	Bandwidth         *int  `json:"bandwidth,omitempty"`
	BandwidthLastTime *int  `json:"bandwidth_last_time,omitempty"`
	BatteryError      *bool `json:"battery_error,omitempty"`
	BatteryLevel      *int  `json:"battery_level,omitempty"`

	// BatteryPercentage Seen in other Ring device families; absent from the captured wired camera.
	BatteryPercentage *float32 `json:"battery_percentage,omitempty"`

	// BatteryPercentageCategory The capture reports unknown; other battery categories remain valid.
	BatteryPercentageCategory *string `json:"battery_percentage_category,omitempty"`

	// BatteryPresent Seen in other Ring device families; absent from the captured wired camera.
	BatteryPresent           *bool    `json:"battery_present,omitempty"`
	BatteryStatus            *string  `json:"battery_status,omitempty"`
	BatteryVoltageCategory   *string  `json:"battery_voltage_category,omitempty"`
	Channel                  *string  `json:"channel,omitempty"`
	Connected                *bool    `json:"connected,omitempty"`
	CurrentBandwidth         *int     `json:"current_bandwidth,omitempty"`
	CurrentBandwidthCategory *string  `json:"current_bandwidth_category,omitempty"`
	CurrentBandwidthMb       *float32 `json:"current_bandwidth_mb,omitempty"`
	DeviceType               *string  `json:"device_type,omitempty"`
	EgressTxRate             *string  `json:"egress_tx_rate,omitempty"`
	EgressTxRateCategory     *string  `json:"egress_tx_rate_category,omitempty"`
	EncryptionGroupError     *int     `json:"encryption_group_error,omitempty"`
	ExternalConnection       *bool    `json:"external_connection,omitempty"`
	FastPingHop1Score        *string  `json:"fast_ping_hop1_score,omitempty"`
	FirmwareAvgBitrate       *string  `json:"firmware_avg_bitrate,omitempty"`
	FirmwareVersion          *string  `json:"firmware_version,omitempty"`
	FirmwareVersionStatus    *string  `json:"firmware_version_status,omitempty"`
	FloodlightOn             *bool    `json:"floodlight_on,omitempty"`
	HatchOpen                *bool    `json:"hatch_open,omitempty"`
	LastUpdate               *string  `json:"last_update,omitempty"`
	LastUpdateTime           *int     `json:"last_update_time,omitempty"`
	NetworkConnectionValue   *string  `json:"network_connection_value,omitempty"`
	NightModeOn              *bool    `json:"night_mode_on,omitempty"`
	OtaStatus                *string  `json:"ota_status,omitempty"`
	PacketLoss               *float32 `json:"packet_loss,omitempty"`
	PacketLossCategory       *string  `json:"packet_loss_category,omitempty"`
	PrefRunMode              *string  `json:"pref_run_mode,omitempty"`
	PrivacyCoverEnabled      *bool    `json:"privacy_cover_enabled,omitempty"`

	// PtzConnected Observed non-null PTZ connection label is emperor; other hardware labels remain valid.
	PtzConnected                    *string                `json:"ptz_connected,omitempty"`
	RssConnected                    *bool                  `json:"rss_connected,omitempty"`
	Rssi                            *float32               `json:"rssi,omitempty"`
	RssiCategory                    *string                `json:"rssi_category,omitempty"`
	RunMode                         *string                `json:"run_mode,omitempty"`
	SecondBatteryPercentageCategory *string                `json:"second_battery_percentage_category,omitempty"`
	SecondBatteryVoltageCategory    *string                `json:"second_battery_voltage_category,omitempty"`
	SidewalkConnection              *bool                  `json:"sidewalk_connection,omitempty"`
	SignalStrength                  *int                   `json:"signal_strength,omitempty"`
	SirenOn                         *bool                  `json:"siren_on,omitempty"`
	StatusTime                      *int64                 `json:"status_time,omitempty"`
	SupportedRpcCommands            *[]string              `json:"supported_rpc_commands,omitempty"`
	TxRate                          *int                   `json:"tx_rate,omitempty"`
	VideoPacketsTotal               *string                `json:"video_packets_total,omitempty"`
	VodEnabled                      *bool                  `json:"vod_enabled,omitempty"`
	WhiteLedOn                      *bool                  `json:"white_led_on,omitempty"`
	WifiIsRingNetwork               *bool                  `json:"wifi_is_ring_network,omitempty"`
	WifiName                        *string                `json:"wifi_name,omitempty"`
	AdditionalProperties            map[string]interface{} `json:"-"`
}

DeviceHealth defines model for DeviceHealth.

func (DeviceHealth) Get

func (a DeviceHealth) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceHealth. Returns the specified element and whether it was found

func (DeviceHealth) MarshalJSON

func (a DeviceHealth) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceHealth to handle AdditionalProperties

func (*DeviceHealth) Set

func (a *DeviceHealth) Set(fieldName string, value interface{})

Setter for additional properties for DeviceHealth

func (*DeviceHealth) UnmarshalJSON

func (a *DeviceHealth) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceHealth to handle AdditionalProperties

type DeviceId

type DeviceId = int64

DeviceId defines model for device_id.

type DeviceLegacySettings

type DeviceLegacySettings struct {
	// ActiveStreamingEventLedEnabled Only null was observed in the captured device response; future values are unverified.
	ActiveStreamingEventLedEnabled       any                                          `json:"active_streaming_event_led_enabled,omitempty"`
	AdvancedMotionDetectionEnabled       *bool                                        `json:"advanced_motion_detection_enabled,omitempty"`
	AdvancedMotionDetectionHumanOnlyMode *bool                                        `json:"advanced_motion_detection_human_only_mode,omitempty"`
	AdvancedMotionDetectionTypes         *[]string                                    `json:"advanced_motion_detection_types,omitempty"`
	AdvancedMotionZones                  *DeviceLegacySettings_AdvancedMotionZones    `json:"advanced_motion_zones,omitempty"`
	AdvancedMotionZonesEnabled           *bool                                        `json:"advanced_motion_zones_enabled,omitempty"`
	AdvancedMotionZonesType              *string                                      `json:"advanced_motion_zones_type,omitempty"`
	AdvancedPirMotionZones               *DeviceLegacySettings_AdvancedPirMotionZones `json:"advanced_pir_motion_zones,omitempty"`
	AudioSettings                        *DeviceLegacySettings_AudioSettings          `json:"audio_settings,omitempty"`
	CvPaidFeatures                       *DeviceLegacySettings_CvPaidFeatures         `json:"cv_paid_features,omitempty"`
	CvSettings                           *DeviceLegacySettings_CvSettings             `json:"cv_settings,omitempty"`

	// DoorbellVolume Legacy doorbell volume accepted by the Go client.
	DoorbellVolume          *int  `json:"doorbell_volume,omitempty"`
	EnableAudioRecording    *bool `json:"enable_audio_recording,omitempty"`
	EnableIrLed             *bool `json:"enable_ir_led,omitempty"`
	EnableRichNotifications *bool `json:"enable_rich_notifications,omitempty"`

	// EnableVod Integer in the v3 camera capture; boolean in legacy family responses.
	EnableVod                 *DeviceLegacySettings_EnableVod           `json:"enable_vod,omitempty"`
	ExposureControl           *int                                      `json:"exposure_control,omitempty"`
	ExtendedLiveView          *int                                      `json:"extended_live_view,omitempty"`
	FlickElimRecommendedMode  *int                                      `json:"flick_elim_recommended_mode,omitempty"`
	HybridMotionZones         *DeviceLegacySettings_HybridMotionZones   `json:"hybrid_motion_zones,omitempty"`
	IgnoreZones               *DeviceLegacySettings_IgnoreZones         `json:"ignore_zones,omitempty"`
	LightSnoozeSettings       *DeviceLegacySettings_LightSnoozeSettings `json:"light_snooze_settings,omitempty"`
	Lite24x7                  *DeviceLegacySettings_Lite24x7            `json:"lite_24x7,omitempty"`
	Lite24x7FootageTtl        *int                                      `json:"lite_24x7_footage_ttl,omitempty"`
	LiveViewDisabled          *bool                                     `json:"live_view_disabled,omitempty"`
	LiveViewPresetProfile     *string                                   `json:"live_view_preset_profile,omitempty"`
	LiveViewPresets           *[]string                                 `json:"live_view_presets,omitempty"`
	LoiteringThreshold        *int                                      `json:"loitering_threshold,omitempty"`
	MotionAnnouncement        *bool                                     `json:"motion_announcement,omitempty"`
	MotionDetectionEnabled    *bool                                     `json:"motion_detection_enabled,omitempty"`
	MotionSettings            *DeviceLegacySettings_MotionSettings      `json:"motion_settings,omitempty"`
	MotionSnoozePresetProfile *string                                   `json:"motion_snooze_preset_profile,omitempty"`
	MotionSnoozePresets       *[]string                                 `json:"motion_snooze_presets,omitempty"`

	// MotionZones Empty array in the v3 capture; structured zone map in legacy families.
	MotionZones                *DeviceLegacySettings_MotionZones                `json:"motion_zones,omitempty"`
	NetworkSettings            *DeviceLegacySettings_NetworkSettings            `json:"network_settings,omitempty"`
	OfflineMotionEventSettings *DeviceLegacySettings_OfflineMotionEventSettings `json:"offline_motion_event_settings,omitempty"`
	OtherPaidFeatures          *DeviceLegacySettings_OtherPaidFeatures          `json:"other_paid_features,omitempty"`
	PeopleDetectionEligible    *bool                                            `json:"people_detection_eligible,omitempty"`
	PirSensitivity1            *int                                             `json:"pir_sensitivity_1,omitempty"`

	// PowerMode Wired in the captured camera response; other power modes remain valid.
	PowerMode                        *string                              `json:"power_mode,omitempty"`
	PtzSettings                      *DeviceLegacySettings_PtzSettings    `json:"ptz_settings,omitempty"`
	RichNotificationsBillingEligible *bool                                `json:"rich_notifications_billing_eligible,omitempty"`
	RichNotificationsFaceCropEnabled *bool                                `json:"rich_notifications_face_crop_enabled,omitempty"`
	RichNotificationsSceneSource     *string                              `json:"rich_notifications_scene_source,omitempty"`
	ServerSettings                   *DeviceLegacySettings_ServerSettings `json:"server_settings,omitempty"`
	SheilaSettings                   *DeviceLegacySettings_SheilaSettings `json:"sheila_settings,omitempty"`

	// StarkEnabled Only null was observed in the captured device response; future values are unverified.
	StarkEnabled  any   `json:"stark_enabled,omitempty"`
	StarkEnrolled *bool `json:"stark_enrolled,omitempty"`

	// TermsOfServiceAccepted Only null was observed in the captured device response; future values are unverified.
	TermsOfServiceAccepted    any                                 `json:"terms_of_service_accepted,omitempty"`
	UserSpecifiedRecordingTtl *int                                `json:"user_specified_recording_ttl,omitempty"`
	VideoSettings             *DeviceLegacySettings_VideoSettings `json:"video_settings,omitempty"`
	VodStatus                 *string                             `json:"vod_status,omitempty"`
	VodSuspended              *int                                `json:"vod_suspended,omitempty"`
	VoiceVolume               *int                                `json:"voice_volume,omitempty"`
	ZoneSettings              *DeviceLegacySettings_ZoneSettings  `json:"zone_settings,omitempty"`
	AdditionalProperties      map[string]interface{}              `json:"-"`
}

DeviceLegacySettings defines model for DeviceLegacySettings.

func (DeviceLegacySettings) Get

func (a DeviceLegacySettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings. Returns the specified element and whether it was found

func (DeviceLegacySettings) MarshalJSON

func (a DeviceLegacySettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings to handle AdditionalProperties

func (*DeviceLegacySettings) Set

func (a *DeviceLegacySettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings

func (*DeviceLegacySettings) UnmarshalJSON

func (a *DeviceLegacySettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings to handle AdditionalProperties

type DeviceLegacySettingsEnableVod0 added in v0.4.0

type DeviceLegacySettingsEnableVod0 = int

DeviceLegacySettingsEnableVod0 defines model for DeviceLegacySettings.EnableVod.0.

type DeviceLegacySettingsEnableVod1 added in v0.4.0

type DeviceLegacySettingsEnableVod1 = bool

DeviceLegacySettingsEnableVod1 defines model for DeviceLegacySettings.EnableVod.1.

type DeviceLegacySettingsMotionZones0 added in v0.4.0

type DeviceLegacySettingsMotionZones0 = []interface{}

DeviceLegacySettingsMotionZones0 defines model for DeviceLegacySettings.MotionZones.0.

type DeviceLegacySettingsMotionZones1 added in v0.4.0

type DeviceLegacySettingsMotionZones1 map[string]interface{}

DeviceLegacySettingsMotionZones1 defines model for DeviceLegacySettings.MotionZones.1.

type DeviceLegacySettings_AdvancedMotionZones added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones struct {
	Zone1                *DeviceLegacySettings_AdvancedMotionZones_Zone1 `json:"zone1,omitempty"`
	Zone2                *DeviceLegacySettings_AdvancedMotionZones_Zone2 `json:"zone2,omitempty"`
	Zone3                *DeviceLegacySettings_AdvancedMotionZones_Zone3 `json:"zone3,omitempty"`
	AdditionalProperties map[string]interface{}                          `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones defines model for DeviceLegacySettings.AdvancedMotionZones.

func (DeviceLegacySettings_AdvancedMotionZones) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones

func (*DeviceLegacySettings_AdvancedMotionZones) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1 struct {
	Name                 *string                                                 `json:"name,omitempty"`
	State                *int                                                    `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2 `json:"vertex2,omitempty"`
	Vertex3              *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3 `json:"vertex3,omitempty"`
	Vertex4              *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4 `json:"vertex4,omitempty"`
	Vertex5              *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5 `json:"vertex5,omitempty"`
	Vertex6              *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6 `json:"vertex6,omitempty"`
	Vertex7              *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7 `json:"vertex7,omitempty"`
	Vertex8              *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8 `json:"vertex8,omitempty"`
	AdditionalProperties map[string]interface{}                                  `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.Vertex1.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2 struct {
	X                    *float32               `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.Vertex2.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.Vertex3.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *float32               `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.Vertex4.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.Vertex5.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6 struct {
	X                    *float32               `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.Vertex6.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.Vertex7.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *float32               `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone1.Vertex8.

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2 struct {
	Name                 *string                                                 `json:"name,omitempty"`
	State                *int                                                    `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2 `json:"vertex2,omitempty"`
	Vertex3              *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3 `json:"vertex3,omitempty"`
	Vertex4              *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4 `json:"vertex4,omitempty"`
	Vertex5              *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5 `json:"vertex5,omitempty"`
	Vertex6              *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6 `json:"vertex6,omitempty"`
	Vertex7              *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7 `json:"vertex7,omitempty"`
	Vertex8              *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8 `json:"vertex8,omitempty"`
	AdditionalProperties map[string]interface{}                                  `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.Vertex1.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.Vertex2.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.Vertex3.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.Vertex4.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.Vertex5.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.Vertex6.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.Vertex7.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone2.Vertex8.

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3 struct {
	Name                 *string                                                 `json:"name,omitempty"`
	State                *int                                                    `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2 `json:"vertex2,omitempty"`
	Vertex3              *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3 `json:"vertex3,omitempty"`
	Vertex4              *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4 `json:"vertex4,omitempty"`
	Vertex5              *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5 `json:"vertex5,omitempty"`
	Vertex6              *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6 `json:"vertex6,omitempty"`
	Vertex7              *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7 `json:"vertex7,omitempty"`
	Vertex8              *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8 `json:"vertex8,omitempty"`
	AdditionalProperties map[string]interface{}                                  `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.Vertex1.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.Vertex2.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.Vertex3.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.Vertex4.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.Vertex5.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.Vertex6.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.Vertex7.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8 added in v0.4.0

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8 defines model for DeviceLegacySettings.AdvancedMotionZones.Zone3.Vertex8.

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedPirMotionZones added in v0.4.0

type DeviceLegacySettings_AdvancedPirMotionZones struct {
	Zone1Sensitivity     *int                   `json:"zone1_sensitivity,omitempty"`
	Zone2Sensitivity     *int                   `json:"zone2_sensitivity,omitempty"`
	Zone3Sensitivity     *int                   `json:"zone3_sensitivity,omitempty"`
	Zone4Sensitivity     *int                   `json:"zone4_sensitivity,omitempty"`
	Zone5Sensitivity     *int                   `json:"zone5_sensitivity,omitempty"`
	Zone6Sensitivity     *int                   `json:"zone6_sensitivity,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AdvancedPirMotionZones defines model for DeviceLegacySettings.AdvancedPirMotionZones.

func (DeviceLegacySettings_AdvancedPirMotionZones) Get added in v0.4.0

func (a DeviceLegacySettings_AdvancedPirMotionZones) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AdvancedPirMotionZones. Returns the specified element and whether it was found

func (DeviceLegacySettings_AdvancedPirMotionZones) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedPirMotionZones to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedPirMotionZones) Set added in v0.4.0

func (a *DeviceLegacySettings_AdvancedPirMotionZones) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AdvancedPirMotionZones

func (*DeviceLegacySettings_AdvancedPirMotionZones) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_AdvancedPirMotionZones to handle AdditionalProperties

type DeviceLegacySettings_AudioSettings added in v0.4.0

type DeviceLegacySettings_AudioSettings struct {
	EnableLiveViewAudioOverride *bool                  `json:"enable_live_view_audio_override,omitempty"`
	AdditionalProperties        map[string]interface{} `json:"-"`
}

DeviceLegacySettings_AudioSettings defines model for DeviceLegacySettings.AudioSettings.

func (DeviceLegacySettings_AudioSettings) Get added in v0.4.0

func (a DeviceLegacySettings_AudioSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_AudioSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_AudioSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_AudioSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_AudioSettings to handle AdditionalProperties

func (*DeviceLegacySettings_AudioSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_AudioSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_AudioSettings

func (*DeviceLegacySettings_AudioSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_AudioSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_AudioSettings to handle AdditionalProperties

type DeviceLegacySettings_CvPaidFeatures added in v0.4.0

type DeviceLegacySettings_CvPaidFeatures struct {
	Animal               *bool                  `json:"animal,omitempty"`
	BabyCry              *bool                  `json:"baby_cry,omitempty"`
	CarAlarm             *bool                  `json:"car_alarm,omitempty"`
	Co2SmokeAlarm        *bool                  `json:"co2_smoke_alarm,omitempty"`
	CvTriggers           *bool                  `json:"cv_triggers,omitempty"`
	DogBark              *bool                  `json:"dog_bark,omitempty"`
	GeneralSound         *bool                  `json:"general_sound,omitempty"`
	GlassBreak           *bool                  `json:"glass_break,omitempty"`
	Human                *bool                  `json:"human,omitempty"`
	Loitering            *bool                  `json:"loitering,omitempty"`
	Motion               *bool                  `json:"motion,omitempty"`
	OtherMotion          *bool                  `json:"other_motion,omitempty"`
	PackageDelivery      *bool                  `json:"package_delivery,omitempty"`
	PackagePickup        *bool                  `json:"package_pickup,omitempty"`
	Vehicle              *bool                  `json:"vehicle,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvPaidFeatures defines model for DeviceLegacySettings.CvPaidFeatures.

func (DeviceLegacySettings_CvPaidFeatures) Get added in v0.4.0

func (a DeviceLegacySettings_CvPaidFeatures) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvPaidFeatures. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvPaidFeatures) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_CvPaidFeatures) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_CvPaidFeatures to handle AdditionalProperties

func (*DeviceLegacySettings_CvPaidFeatures) Set added in v0.4.0

func (a *DeviceLegacySettings_CvPaidFeatures) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvPaidFeatures

func (*DeviceLegacySettings_CvPaidFeatures) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_CvPaidFeatures) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_CvPaidFeatures to handle AdditionalProperties

type DeviceLegacySettings_CvSettings added in v0.4.0

type DeviceLegacySettings_CvSettings struct {
	DetectionTypes       *DeviceLegacySettings_CvSettings_DetectionTypes `json:"detection_types,omitempty"`
	SearchTypes          *DeviceLegacySettings_CvSettings_SearchTypes    `json:"search_types,omitempty"`
	Threshold            *DeviceLegacySettings_CvSettings_Threshold      `json:"threshold,omitempty"`
	Triggers             *[]interface{}                                  `json:"triggers,omitempty"`
	AdditionalProperties map[string]interface{}                          `json:"-"`
}

DeviceLegacySettings_CvSettings defines model for DeviceLegacySettings.CvSettings.

func (DeviceLegacySettings_CvSettings) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_CvSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_CvSettings to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings

func (*DeviceLegacySettings_CvSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_CvSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_CvSettings to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes struct {
	Animal               *DeviceLegacySettings_CvSettings_DetectionTypes_Animal           `json:"animal,omitempty"`
	BabyCry              *DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry          `json:"baby_cry,omitempty"`
	CarAlarm             *DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm         `json:"car_alarm,omitempty"`
	Co2SmokeAlarm        *DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm    `json:"co2_smoke_alarm,omitempty"`
	DogBark              *DeviceLegacySettings_CvSettings_DetectionTypes_DogBark          `json:"dog_bark,omitempty"`
	GeneralSound         *DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound     `json:"general_sound,omitempty"`
	GlassBreak           *DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak       `json:"glass_break,omitempty"`
	Human                *DeviceLegacySettings_CvSettings_DetectionTypes_Human            `json:"human,omitempty"`
	Loitering            *DeviceLegacySettings_CvSettings_DetectionTypes_Loitering        `json:"loitering,omitempty"`
	Motion               *DeviceLegacySettings_CvSettings_DetectionTypes_Motion           `json:"motion,omitempty"`
	MotionStop           *DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop       `json:"motion_stop,omitempty"`
	MovingVehicle        *DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle    `json:"moving_vehicle,omitempty"`
	OtherMotion          *DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion      `json:"other_motion,omitempty"`
	PackageDelivery      *DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery  `json:"package_delivery,omitempty"`
	PackagePickup        *DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup    `json:"package_pickup,omitempty"`
	UnverifiedMotion     *DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion `json:"unverified_motion,omitempty"`
	Vehicle              *DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle          `json:"vehicle,omitempty"`
	AdditionalProperties map[string]interface{}                                           `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes defines model for DeviceLegacySettings.CvSettings.DetectionTypes.

func (DeviceLegacySettings_CvSettings_DetectionTypes) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes

func (*DeviceLegacySettings_CvSettings_DetectionTypes) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Animal added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_Animal struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_Animal defines model for DeviceLegacySettings.CvSettings.DetectionTypes.Animal.

func (DeviceLegacySettings_CvSettings_DetectionTypes_Animal) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_Animal) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Animal. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_Animal) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Animal to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Animal) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_Animal) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Animal

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Animal) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Animal to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry defines model for DeviceLegacySettings.CvSettings.DetectionTypes.BabyCry.

func (DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry

func (*DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm defines model for DeviceLegacySettings.CvSettings.DetectionTypes.CarAlarm.

func (DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm

func (*DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm defines model for DeviceLegacySettings.CvSettings.DetectionTypes.Co2SmokeAlarm.

func (DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_DogBark added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_DogBark struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_DogBark defines model for DeviceLegacySettings.CvSettings.DetectionTypes.DogBark.

func (DeviceLegacySettings_CvSettings_DetectionTypes_DogBark) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_DogBark) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_DogBark. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_DogBark) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_DogBark to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_DogBark) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_DogBark) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_DogBark

func (*DeviceLegacySettings_CvSettings_DetectionTypes_DogBark) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_DogBark to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound defines model for DeviceLegacySettings.CvSettings.DetectionTypes.GeneralSound.

func (DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound

func (*DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak defines model for DeviceLegacySettings.CvSettings.DetectionTypes.GlassBreak.

func (DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak

func (*DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Human added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_Human struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_Human defines model for DeviceLegacySettings.CvSettings.DetectionTypes.Human.

func (DeviceLegacySettings_CvSettings_DetectionTypes_Human) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_Human) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Human. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_Human) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Human to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Human) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_Human) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Human

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Human) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Human to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Loitering added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_Loitering struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_Loitering defines model for DeviceLegacySettings.CvSettings.DetectionTypes.Loitering.

func (DeviceLegacySettings_CvSettings_DetectionTypes_Loitering) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_Loitering) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Loitering. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_Loitering) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Loitering to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Loitering) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_Loitering) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Loitering

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Loitering) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Loitering to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Motion added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_Motion struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_Motion defines model for DeviceLegacySettings.CvSettings.DetectionTypes.Motion.

func (DeviceLegacySettings_CvSettings_DetectionTypes_Motion) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_Motion) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Motion. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_Motion) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Motion to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Motion) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_Motion) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Motion

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Motion) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Motion to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop defines model for DeviceLegacySettings.CvSettings.DetectionTypes.MotionStop.

func (DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop

func (*DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle defines model for DeviceLegacySettings.CvSettings.DetectionTypes.MovingVehicle.

func (DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle

func (*DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion defines model for DeviceLegacySettings.CvSettings.DetectionTypes.OtherMotion.

func (DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion

func (*DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery defines model for DeviceLegacySettings.CvSettings.DetectionTypes.PackageDelivery.

func (DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery

func (*DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup defines model for DeviceLegacySettings.CvSettings.DetectionTypes.PackagePickup.

func (DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup

func (*DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion defines model for DeviceLegacySettings.CvSettings.DetectionTypes.UnverifiedMotion.

func (DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion

func (*DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle added in v0.4.0

type DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	Notification         *bool                  `json:"notification,omitempty"`
	Record               *bool                  `json:"record,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle defines model for DeviceLegacySettings.CvSettings.DetectionTypes.Vehicle.

func (DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_SearchTypes added in v0.4.0

type DeviceLegacySettings_CvSettings_SearchTypes struct {
	NaturalLanguageSearch *DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch `json:"natural_language_search,omitempty"`
	AdditionalProperties  map[string]interface{}                                             `json:"-"`
}

DeviceLegacySettings_CvSettings_SearchTypes defines model for DeviceLegacySettings.CvSettings.SearchTypes.

func (DeviceLegacySettings_CvSettings_SearchTypes) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_SearchTypes) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_SearchTypes. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_SearchTypes) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_SearchTypes to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_SearchTypes) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_SearchTypes) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_SearchTypes

func (*DeviceLegacySettings_CvSettings_SearchTypes) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_SearchTypes to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch added in v0.4.0

type DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	Mode                 *string                `json:"mode,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch defines model for DeviceLegacySettings.CvSettings.SearchTypes.NaturalLanguageSearch.

func (DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch) Set added in v0.4.0

Setter for additional properties for DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch

func (*DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_Threshold added in v0.4.0

type DeviceLegacySettings_CvSettings_Threshold struct {
	BabyCry              *float32               `json:"baby_cry,omitempty"`
	CarAlarm             *float32               `json:"car_alarm,omitempty"`
	Co2SmokeAlarm        *float32               `json:"co2_smoke_alarm,omitempty"`
	DogBark              *float32               `json:"dog_bark,omitempty"`
	GeneralSound         *float32               `json:"general_sound,omitempty"`
	GlassBreak           *float32               `json:"glass_break,omitempty"`
	Loitering            *float32               `json:"loitering,omitempty"`
	PackageDelivery      *float32               `json:"package_delivery,omitempty"`
	UnverifiedMotion     *float32               `json:"unverified_motion,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_CvSettings_Threshold defines model for DeviceLegacySettings.CvSettings.Threshold.

func (DeviceLegacySettings_CvSettings_Threshold) Get added in v0.4.0

func (a DeviceLegacySettings_CvSettings_Threshold) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_CvSettings_Threshold. Returns the specified element and whether it was found

func (DeviceLegacySettings_CvSettings_Threshold) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_Threshold to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_Threshold) Set added in v0.4.0

func (a *DeviceLegacySettings_CvSettings_Threshold) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_CvSettings_Threshold

func (*DeviceLegacySettings_CvSettings_Threshold) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_CvSettings_Threshold to handle AdditionalProperties

type DeviceLegacySettings_EnableVod added in v0.4.0

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

DeviceLegacySettings_EnableVod Integer in the v3 camera capture; boolean in legacy family responses.

func (DeviceLegacySettings_EnableVod) AsDeviceLegacySettingsEnableVod0 added in v0.4.0

func (t DeviceLegacySettings_EnableVod) AsDeviceLegacySettingsEnableVod0() (DeviceLegacySettingsEnableVod0, error)

AsDeviceLegacySettingsEnableVod0 returns the union data inside the DeviceLegacySettings_EnableVod as a DeviceLegacySettingsEnableVod0

func (DeviceLegacySettings_EnableVod) AsDeviceLegacySettingsEnableVod1 added in v0.4.0

func (t DeviceLegacySettings_EnableVod) AsDeviceLegacySettingsEnableVod1() (DeviceLegacySettingsEnableVod1, error)

AsDeviceLegacySettingsEnableVod1 returns the union data inside the DeviceLegacySettings_EnableVod as a DeviceLegacySettingsEnableVod1

func (*DeviceLegacySettings_EnableVod) FromDeviceLegacySettingsEnableVod0 added in v0.4.0

func (t *DeviceLegacySettings_EnableVod) FromDeviceLegacySettingsEnableVod0(v DeviceLegacySettingsEnableVod0) error

FromDeviceLegacySettingsEnableVod0 overwrites any union data inside the DeviceLegacySettings_EnableVod as the provided DeviceLegacySettingsEnableVod0

func (*DeviceLegacySettings_EnableVod) FromDeviceLegacySettingsEnableVod1 added in v0.4.0

func (t *DeviceLegacySettings_EnableVod) FromDeviceLegacySettingsEnableVod1(v DeviceLegacySettingsEnableVod1) error

FromDeviceLegacySettingsEnableVod1 overwrites any union data inside the DeviceLegacySettings_EnableVod as the provided DeviceLegacySettingsEnableVod1

func (DeviceLegacySettings_EnableVod) MarshalJSON added in v0.4.0

func (t DeviceLegacySettings_EnableVod) MarshalJSON() ([]byte, error)

func (*DeviceLegacySettings_EnableVod) MergeDeviceLegacySettingsEnableVod0 added in v0.4.0

func (t *DeviceLegacySettings_EnableVod) MergeDeviceLegacySettingsEnableVod0(v DeviceLegacySettingsEnableVod0) error

MergeDeviceLegacySettingsEnableVod0 performs a merge with any union data inside the DeviceLegacySettings_EnableVod, using the provided DeviceLegacySettingsEnableVod0

func (*DeviceLegacySettings_EnableVod) MergeDeviceLegacySettingsEnableVod1 added in v0.4.0

func (t *DeviceLegacySettings_EnableVod) MergeDeviceLegacySettingsEnableVod1(v DeviceLegacySettingsEnableVod1) error

MergeDeviceLegacySettingsEnableVod1 performs a merge with any union data inside the DeviceLegacySettings_EnableVod, using the provided DeviceLegacySettingsEnableVod1

func (*DeviceLegacySettings_EnableVod) UnmarshalJSON added in v0.4.0

func (t *DeviceLegacySettings_EnableVod) UnmarshalJSON(b []byte) error

type DeviceLegacySettings_HybridMotionZones added in v0.4.0

type DeviceLegacySettings_HybridMotionZones struct {
	ActiveMotionFilter         *int                                                           `json:"active_motion_filter,omitempty"`
	AdvancedMotionZonesEnabled *bool                                                          `json:"advanced_motion_zones_enabled,omitempty"`
	AdvancedMotionZonesType    *string                                                        `json:"advanced_motion_zones_type,omitempty"`
	AdvancedObjectSettings     *DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings `json:"advanced_object_settings,omitempty"`
	AdvancedPirMotionZones     *DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones `json:"advanced_pir_motion_zones,omitempty"`
	EnableAudio                *bool                                                          `json:"enable_audio,omitempty"`

	// EnableIr Only null was observed in the captured device response; future values are unverified.
	EnableIr                   any                                           `json:"enable_ir,omitempty"`
	EnablePirValidation        *bool                                         `json:"enable_pir_validation,omitempty"`
	EnableRlmd                 *bool                                         `json:"enable_rlmd,omitempty"`
	MotionSnoozePrivacyTimeout *int                                          `json:"motion_snooze_privacy_timeout,omitempty"`
	Sensitivity                *int                                          `json:"sensitivity,omitempty"`
	Zone1                      *DeviceLegacySettings_HybridMotionZones_Zone1 `json:"zone1,omitempty"`
	Zone2                      *DeviceLegacySettings_HybridMotionZones_Zone2 `json:"zone2,omitempty"`
	Zone3                      *DeviceLegacySettings_HybridMotionZones_Zone3 `json:"zone3,omitempty"`
	AdditionalProperties       map[string]interface{}                        `json:"-"`
}

DeviceLegacySettings_HybridMotionZones defines model for DeviceLegacySettings.HybridMotionZones.

func (DeviceLegacySettings_HybridMotionZones) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_HybridMotionZones to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones

func (*DeviceLegacySettings_HybridMotionZones) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_HybridMotionZones to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings struct {
	HumanDetectionConfidence *DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence `json:"human_detection_confidence,omitempty"`
	MotionZoneOverlap        *DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap        `json:"motion_zone_overlap,omitempty"`
	ObjectSizeMaximum        *DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum        `json:"object_size_maximum,omitempty"`
	ObjectSizeMinimum        *DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum        `json:"object_size_minimum,omitempty"`
	ObjectTimeOverlap        *DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap        `json:"object_time_overlap,omitempty"`
	AdditionalProperties     map[string]interface{}                                                                  `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings defines model for DeviceLegacySettings.HybridMotionZones.AdvancedObjectSettings.

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence struct {
	Day                  *float32               `json:"day,omitempty"`
	Night                *float32               `json:"night,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence defines model for DeviceLegacySettings.HybridMotionZones.AdvancedObjectSettings.HumanDetectionConfidence.

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence) Get added in v0.4.0

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence) Set added in v0.4.0

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap struct {
	Day                  *float32               `json:"day,omitempty"`
	Night                *float32               `json:"night,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap defines model for DeviceLegacySettings.HybridMotionZones.AdvancedObjectSettings.MotionZoneOverlap.

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap) Get added in v0.4.0

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap) Set added in v0.4.0

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum struct {
	Day                  *float32               `json:"day,omitempty"`
	Night                *float32               `json:"night,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum defines model for DeviceLegacySettings.HybridMotionZones.AdvancedObjectSettings.ObjectSizeMaximum.

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum) Get added in v0.4.0

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum) Set added in v0.4.0

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum struct {
	Day                  *float32               `json:"day,omitempty"`
	Night                *float32               `json:"night,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum defines model for DeviceLegacySettings.HybridMotionZones.AdvancedObjectSettings.ObjectSizeMinimum.

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum) Get added in v0.4.0

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum) Set added in v0.4.0

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap struct {
	Day                  *float32               `json:"day,omitempty"`
	Night                *float32               `json:"night,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap defines model for DeviceLegacySettings.HybridMotionZones.AdvancedObjectSettings.ObjectTimeOverlap.

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap) Get added in v0.4.0

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap) Set added in v0.4.0

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones struct {
	Zone1Sensitivity     *int                   `json:"zone1_sensitivity,omitempty"`
	Zone2Sensitivity     *int                   `json:"zone2_sensitivity,omitempty"`
	Zone3Sensitivity     *int                   `json:"zone3_sensitivity,omitempty"`
	Zone4Sensitivity     *int                   `json:"zone4_sensitivity,omitempty"`
	Zone5Sensitivity     *int                   `json:"zone5_sensitivity,omitempty"`
	Zone6Sensitivity     *int                   `json:"zone6_sensitivity,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones defines model for DeviceLegacySettings.HybridMotionZones.AdvancedPirMotionZones.

func (DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones

func (*DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1 struct {
	Name                 *string                                               `json:"name,omitempty"`
	State                *int                                                  `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2 `json:"vertex2,omitempty"`
	Vertex3              *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3 `json:"vertex3,omitempty"`
	Vertex4              *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4 `json:"vertex4,omitempty"`
	Vertex5              *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5 `json:"vertex5,omitempty"`
	Vertex6              *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6 `json:"vertex6,omitempty"`
	Vertex7              *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7 `json:"vertex7,omitempty"`
	Vertex8              *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8 `json:"vertex8,omitempty"`
	AdditionalProperties map[string]interface{}                                `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.

func (DeviceLegacySettings_HybridMotionZones_Zone1) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1

func (*DeviceLegacySettings_HybridMotionZones_Zone1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.Vertex1.

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2 struct {
	X                    *float32               `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.Vertex2.

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.Vertex3.

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *float32               `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.Vertex4.

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.Vertex5.

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6 struct {
	X                    *float32               `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.Vertex6.

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.Vertex7.

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *float32               `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8 defines model for DeviceLegacySettings.HybridMotionZones.Zone1.Vertex8.

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2 struct {
	Name                 *string                                               `json:"name,omitempty"`
	State                *int                                                  `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2 `json:"vertex2,omitempty"`
	Vertex3              *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3 `json:"vertex3,omitempty"`
	Vertex4              *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4 `json:"vertex4,omitempty"`
	Vertex5              *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5 `json:"vertex5,omitempty"`
	Vertex6              *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6 `json:"vertex6,omitempty"`
	Vertex7              *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7 `json:"vertex7,omitempty"`
	Vertex8              *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8 `json:"vertex8,omitempty"`
	AdditionalProperties map[string]interface{}                                `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.

func (DeviceLegacySettings_HybridMotionZones_Zone2) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2

func (*DeviceLegacySettings_HybridMotionZones_Zone2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.Vertex1.

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.Vertex2.

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.Vertex3.

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.Vertex4.

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.Vertex5.

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.Vertex6.

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.Vertex7.

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8 defines model for DeviceLegacySettings.HybridMotionZones.Zone2.Vertex8.

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3 struct {
	Name                 *string                                               `json:"name,omitempty"`
	State                *int                                                  `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2 `json:"vertex2,omitempty"`
	Vertex3              *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3 `json:"vertex3,omitempty"`
	Vertex4              *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4 `json:"vertex4,omitempty"`
	Vertex5              *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5 `json:"vertex5,omitempty"`
	Vertex6              *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6 `json:"vertex6,omitempty"`
	Vertex7              *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7 `json:"vertex7,omitempty"`
	Vertex8              *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8 `json:"vertex8,omitempty"`
	AdditionalProperties map[string]interface{}                                `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.

func (DeviceLegacySettings_HybridMotionZones_Zone3) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3

func (*DeviceLegacySettings_HybridMotionZones_Zone3) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.Vertex1.

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.Vertex2.

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.Vertex3.

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.Vertex4.

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.Vertex5.

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.Vertex6.

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.Vertex7.

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8 added in v0.4.0

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8 defines model for DeviceLegacySettings.HybridMotionZones.Zone3.Vertex8.

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8) Get added in v0.4.0

func (a DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8. Returns the specified element and whether it was found

func (DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8) Set added in v0.4.0

func (a *DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones added in v0.4.0

type DeviceLegacySettings_IgnoreZones struct {
	Zone1                *DeviceLegacySettings_IgnoreZones_Zone1 `json:"zone1,omitempty"`
	Zone2                *DeviceLegacySettings_IgnoreZones_Zone2 `json:"zone2,omitempty"`
	Zone3                *DeviceLegacySettings_IgnoreZones_Zone3 `json:"zone3,omitempty"`
	Zone4                *DeviceLegacySettings_IgnoreZones_Zone4 `json:"zone4,omitempty"`
	AdditionalProperties map[string]interface{}                  `json:"-"`
}

DeviceLegacySettings_IgnoreZones defines model for DeviceLegacySettings.IgnoreZones.

func (DeviceLegacySettings_IgnoreZones) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_IgnoreZones to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones

func (*DeviceLegacySettings_IgnoreZones) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_IgnoreZones to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone1 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone1 struct {
	Name                 *string                                         `json:"name,omitempty"`
	State                *int                                            `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_IgnoreZones_Zone1_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_IgnoreZones_Zone1_Vertex2 `json:"vertex2,omitempty"`
	AdditionalProperties map[string]interface{}                          `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone1 defines model for DeviceLegacySettings.IgnoreZones.Zone1.

func (DeviceLegacySettings_IgnoreZones_Zone1) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone1. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone1) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone1) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone1) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone1

func (*DeviceLegacySettings_IgnoreZones_Zone1) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone1) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone1_Vertex1 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone1_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone1_Vertex1 defines model for DeviceLegacySettings.IgnoreZones.Zone1.Vertex1.

func (DeviceLegacySettings_IgnoreZones_Zone1_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone1_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone1_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone1_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone1_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone1_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone1_Vertex1

func (*DeviceLegacySettings_IgnoreZones_Zone1_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone1_Vertex2 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone1_Vertex2 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone1_Vertex2 defines model for DeviceLegacySettings.IgnoreZones.Zone1.Vertex2.

func (DeviceLegacySettings_IgnoreZones_Zone1_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone1_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone1_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone1_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone1_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone1_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone1_Vertex2

func (*DeviceLegacySettings_IgnoreZones_Zone1_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone2 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone2 struct {
	Name                 *string                                         `json:"name,omitempty"`
	State                *int                                            `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_IgnoreZones_Zone2_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_IgnoreZones_Zone2_Vertex2 `json:"vertex2,omitempty"`
	AdditionalProperties map[string]interface{}                          `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone2 defines model for DeviceLegacySettings.IgnoreZones.Zone2.

func (DeviceLegacySettings_IgnoreZones_Zone2) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone2. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone2) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone2) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone2) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone2

func (*DeviceLegacySettings_IgnoreZones_Zone2) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone2) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone2_Vertex1 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone2_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone2_Vertex1 defines model for DeviceLegacySettings.IgnoreZones.Zone2.Vertex1.

func (DeviceLegacySettings_IgnoreZones_Zone2_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone2_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone2_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone2_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone2_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone2_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone2_Vertex1

func (*DeviceLegacySettings_IgnoreZones_Zone2_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone2_Vertex2 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone2_Vertex2 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone2_Vertex2 defines model for DeviceLegacySettings.IgnoreZones.Zone2.Vertex2.

func (DeviceLegacySettings_IgnoreZones_Zone2_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone2_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone2_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone2_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone2_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone2_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone2_Vertex2

func (*DeviceLegacySettings_IgnoreZones_Zone2_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone3 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone3 struct {
	Name                 *string                                         `json:"name,omitempty"`
	State                *int                                            `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_IgnoreZones_Zone3_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_IgnoreZones_Zone3_Vertex2 `json:"vertex2,omitempty"`
	AdditionalProperties map[string]interface{}                          `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone3 defines model for DeviceLegacySettings.IgnoreZones.Zone3.

func (DeviceLegacySettings_IgnoreZones_Zone3) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone3) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone3. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone3) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone3) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone3) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone3) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone3

func (*DeviceLegacySettings_IgnoreZones_Zone3) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone3) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone3_Vertex1 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone3_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone3_Vertex1 defines model for DeviceLegacySettings.IgnoreZones.Zone3.Vertex1.

func (DeviceLegacySettings_IgnoreZones_Zone3_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone3_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone3_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone3_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone3_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone3_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone3_Vertex1

func (*DeviceLegacySettings_IgnoreZones_Zone3_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone3_Vertex2 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone3_Vertex2 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone3_Vertex2 defines model for DeviceLegacySettings.IgnoreZones.Zone3.Vertex2.

func (DeviceLegacySettings_IgnoreZones_Zone3_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone3_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone3_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone3_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone3_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone3_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone3_Vertex2

func (*DeviceLegacySettings_IgnoreZones_Zone3_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone4 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone4 struct {
	Name                 *string                                         `json:"name,omitempty"`
	State                *int                                            `json:"state,omitempty"`
	Vertex1              *DeviceLegacySettings_IgnoreZones_Zone4_Vertex1 `json:"vertex1,omitempty"`
	Vertex2              *DeviceLegacySettings_IgnoreZones_Zone4_Vertex2 `json:"vertex2,omitempty"`
	AdditionalProperties map[string]interface{}                          `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone4 defines model for DeviceLegacySettings.IgnoreZones.Zone4.

func (DeviceLegacySettings_IgnoreZones_Zone4) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone4) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone4. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone4) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone4) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone4) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone4) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone4

func (*DeviceLegacySettings_IgnoreZones_Zone4) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone4) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone4_Vertex1 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone4_Vertex1 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone4_Vertex1 defines model for DeviceLegacySettings.IgnoreZones.Zone4.Vertex1.

func (DeviceLegacySettings_IgnoreZones_Zone4_Vertex1) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone4_Vertex1) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone4_Vertex1. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone4_Vertex1) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone4_Vertex1) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone4_Vertex1) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone4_Vertex1

func (*DeviceLegacySettings_IgnoreZones_Zone4_Vertex1) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone4_Vertex2 added in v0.4.0

type DeviceLegacySettings_IgnoreZones_Zone4_Vertex2 struct {
	X                    *int                   `json:"x,omitempty"`
	Y                    *int                   `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_IgnoreZones_Zone4_Vertex2 defines model for DeviceLegacySettings.IgnoreZones.Zone4.Vertex2.

func (DeviceLegacySettings_IgnoreZones_Zone4_Vertex2) Get added in v0.4.0

func (a DeviceLegacySettings_IgnoreZones_Zone4_Vertex2) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_IgnoreZones_Zone4_Vertex2. Returns the specified element and whether it was found

func (DeviceLegacySettings_IgnoreZones_Zone4_Vertex2) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone4_Vertex2) Set added in v0.4.0

func (a *DeviceLegacySettings_IgnoreZones_Zone4_Vertex2) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone4_Vertex2

func (*DeviceLegacySettings_IgnoreZones_Zone4_Vertex2) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_LightSnoozeSettings added in v0.4.0

type DeviceLegacySettings_LightSnoozeSettings struct {
	// AlwaysOn Only null was observed in the captured device response; future values are unverified.
	AlwaysOn             any                    `json:"always_on,omitempty"`
	Duration             *int                   `json:"duration,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_LightSnoozeSettings defines model for DeviceLegacySettings.LightSnoozeSettings.

func (DeviceLegacySettings_LightSnoozeSettings) Get added in v0.4.0

func (a DeviceLegacySettings_LightSnoozeSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_LightSnoozeSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_LightSnoozeSettings) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_LightSnoozeSettings to handle AdditionalProperties

func (*DeviceLegacySettings_LightSnoozeSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_LightSnoozeSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_LightSnoozeSettings

func (*DeviceLegacySettings_LightSnoozeSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_LightSnoozeSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_LightSnoozeSettings to handle AdditionalProperties

type DeviceLegacySettings_Lite24x7 added in v0.4.0

type DeviceLegacySettings_Lite24x7 struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	FrequencySecs        *int                   `json:"frequency_secs,omitempty"`
	ResolutionP          *int                   `json:"resolution_p,omitempty"`
	Subscribed           *bool                  `json:"subscribed,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_Lite24x7 defines model for DeviceLegacySettings.Lite24x7.

func (DeviceLegacySettings_Lite24x7) Get added in v0.4.0

func (a DeviceLegacySettings_Lite24x7) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_Lite24x7. Returns the specified element and whether it was found

func (DeviceLegacySettings_Lite24x7) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_Lite24x7) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_Lite24x7 to handle AdditionalProperties

func (*DeviceLegacySettings_Lite24x7) Set added in v0.4.0

func (a *DeviceLegacySettings_Lite24x7) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_Lite24x7

func (*DeviceLegacySettings_Lite24x7) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_Lite24x7) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_Lite24x7 to handle AdditionalProperties

type DeviceLegacySettings_MotionSettings added in v0.4.0

type DeviceLegacySettings_MotionSettings struct {
	MotionSnoozePresetProfile *string                `json:"motion_snooze_preset_profile,omitempty"`
	AdditionalProperties      map[string]interface{} `json:"-"`
}

DeviceLegacySettings_MotionSettings defines model for DeviceLegacySettings.MotionSettings.

func (DeviceLegacySettings_MotionSettings) Get added in v0.4.0

func (a DeviceLegacySettings_MotionSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_MotionSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_MotionSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_MotionSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_MotionSettings to handle AdditionalProperties

func (*DeviceLegacySettings_MotionSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_MotionSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_MotionSettings

func (*DeviceLegacySettings_MotionSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_MotionSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_MotionSettings to handle AdditionalProperties

type DeviceLegacySettings_MotionZones added in v0.4.0

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

DeviceLegacySettings_MotionZones Empty array in the v3 capture; structured zone map in legacy families.

func (DeviceLegacySettings_MotionZones) AsDeviceLegacySettingsMotionZones0 added in v0.4.0

func (t DeviceLegacySettings_MotionZones) AsDeviceLegacySettingsMotionZones0() (DeviceLegacySettingsMotionZones0, error)

AsDeviceLegacySettingsMotionZones0 returns the union data inside the DeviceLegacySettings_MotionZones as a DeviceLegacySettingsMotionZones0

func (DeviceLegacySettings_MotionZones) AsDeviceLegacySettingsMotionZones1 added in v0.4.0

func (t DeviceLegacySettings_MotionZones) AsDeviceLegacySettingsMotionZones1() (DeviceLegacySettingsMotionZones1, error)

AsDeviceLegacySettingsMotionZones1 returns the union data inside the DeviceLegacySettings_MotionZones as a DeviceLegacySettingsMotionZones1

func (*DeviceLegacySettings_MotionZones) FromDeviceLegacySettingsMotionZones0 added in v0.4.0

func (t *DeviceLegacySettings_MotionZones) FromDeviceLegacySettingsMotionZones0(v DeviceLegacySettingsMotionZones0) error

FromDeviceLegacySettingsMotionZones0 overwrites any union data inside the DeviceLegacySettings_MotionZones as the provided DeviceLegacySettingsMotionZones0

func (*DeviceLegacySettings_MotionZones) FromDeviceLegacySettingsMotionZones1 added in v0.4.0

func (t *DeviceLegacySettings_MotionZones) FromDeviceLegacySettingsMotionZones1(v DeviceLegacySettingsMotionZones1) error

FromDeviceLegacySettingsMotionZones1 overwrites any union data inside the DeviceLegacySettings_MotionZones as the provided DeviceLegacySettingsMotionZones1

func (DeviceLegacySettings_MotionZones) MarshalJSON added in v0.4.0

func (t DeviceLegacySettings_MotionZones) MarshalJSON() ([]byte, error)

func (*DeviceLegacySettings_MotionZones) MergeDeviceLegacySettingsMotionZones0 added in v0.4.0

func (t *DeviceLegacySettings_MotionZones) MergeDeviceLegacySettingsMotionZones0(v DeviceLegacySettingsMotionZones0) error

MergeDeviceLegacySettingsMotionZones0 performs a merge with any union data inside the DeviceLegacySettings_MotionZones, using the provided DeviceLegacySettingsMotionZones0

func (*DeviceLegacySettings_MotionZones) MergeDeviceLegacySettingsMotionZones1 added in v0.4.0

func (t *DeviceLegacySettings_MotionZones) MergeDeviceLegacySettingsMotionZones1(v DeviceLegacySettingsMotionZones1) error

MergeDeviceLegacySettingsMotionZones1 performs a merge with any union data inside the DeviceLegacySettings_MotionZones, using the provided DeviceLegacySettingsMotionZones1

func (*DeviceLegacySettings_MotionZones) UnmarshalJSON added in v0.4.0

func (t *DeviceLegacySettings_MotionZones) UnmarshalJSON(b []byte) error

type DeviceLegacySettings_NetworkSettings added in v0.4.0

type DeviceLegacySettings_NetworkSettings struct {
	// DataRestrictionEnabled Only null was observed in the captured device response; future values are unverified.
	DataRestrictionEnabled any `json:"data_restriction_enabled,omitempty"`

	// MacAddressBle Only null was observed in the captured device response; future values are unverified.
	MacAddressBle any `json:"mac_address_ble,omitempty"`

	// MacAddressWifi24 Only null was observed in the captured device response; future values are unverified.
	MacAddressWifi24 any `json:"mac_address_wifi_24,omitempty"`

	// MacAddressWifi5 Only null was observed in the captured device response; future values are unverified.
	MacAddressWifi5 any `json:"mac_address_wifi_5,omitempty"`

	// MaxDynamicListenInterval Only null was observed in the captured device response; future values are unverified.
	MaxDynamicListenInterval any                                                    `json:"max_dynamic_listen_interval,omitempty"`
	MultiNetPref             *int                                                   `json:"multi_net_pref,omitempty"`
	NetworkDiagnosis         *DeviceLegacySettings_NetworkSettings_NetworkDiagnosis `json:"network_diagnosis,omitempty"`
	AdditionalProperties     map[string]interface{}                                 `json:"-"`
}

DeviceLegacySettings_NetworkSettings defines model for DeviceLegacySettings.NetworkSettings.

func (DeviceLegacySettings_NetworkSettings) Get added in v0.4.0

func (a DeviceLegacySettings_NetworkSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_NetworkSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_NetworkSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_NetworkSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_NetworkSettings to handle AdditionalProperties

func (*DeviceLegacySettings_NetworkSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_NetworkSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_NetworkSettings

func (*DeviceLegacySettings_NetworkSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_NetworkSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_NetworkSettings to handle AdditionalProperties

type DeviceLegacySettings_NetworkSettings_NetworkDiagnosis added in v0.4.0

type DeviceLegacySettings_NetworkSettings_NetworkDiagnosis struct {
	// ChannelAnalysis Only null was observed in the captured device response; future values are unverified.
	ChannelAnalysis any `json:"channel_analysis,omitempty"`

	// LanPerformance Only null was observed in the captured device response; future values are unverified.
	LanPerformance any `json:"lan_performance,omitempty"`

	// PeriodicDiagnosis Only null was observed in the captured device response; future values are unverified.
	PeriodicDiagnosis any `json:"periodic_diagnosis,omitempty"`

	// TcpHost Only null was observed in the captured device response; future values are unverified.
	TcpHost any `json:"tcp_host,omitempty"`

	// TcpIperf Only null was observed in the captured device response; future values are unverified.
	TcpIperf any `json:"tcp_iperf,omitempty"`

	// TcpPort Only null was observed in the captured device response; future values are unverified.
	TcpPort any `json:"tcp_port,omitempty"`

	// UdpBandwidth Only null was observed in the captured device response; future values are unverified.
	UdpBandwidth any `json:"udp_bandwidth,omitempty"`

	// UdpHost Only null was observed in the captured device response; future values are unverified.
	UdpHost any `json:"udp_host,omitempty"`

	// UdpIperf Only null was observed in the captured device response; future values are unverified.
	UdpIperf any `json:"udp_iperf,omitempty"`

	// UdpPort Only null was observed in the captured device response; future values are unverified.
	UdpPort              any                    `json:"udp_port,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_NetworkSettings_NetworkDiagnosis defines model for DeviceLegacySettings.NetworkSettings.NetworkDiagnosis.

func (DeviceLegacySettings_NetworkSettings_NetworkDiagnosis) Get added in v0.4.0

func (a DeviceLegacySettings_NetworkSettings_NetworkDiagnosis) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_NetworkSettings_NetworkDiagnosis. Returns the specified element and whether it was found

func (DeviceLegacySettings_NetworkSettings_NetworkDiagnosis) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_NetworkSettings_NetworkDiagnosis to handle AdditionalProperties

func (*DeviceLegacySettings_NetworkSettings_NetworkDiagnosis) Set added in v0.4.0

func (a *DeviceLegacySettings_NetworkSettings_NetworkDiagnosis) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_NetworkSettings_NetworkDiagnosis

func (*DeviceLegacySettings_NetworkSettings_NetworkDiagnosis) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_NetworkSettings_NetworkDiagnosis to handle AdditionalProperties

type DeviceLegacySettings_OfflineMotionEventSettings added in v0.4.0

type DeviceLegacySettings_OfflineMotionEventSettings struct {
	Enabled              *bool                  `json:"enabled,omitempty"`
	FrequencyAfterSecs   *int                   `json:"frequency_after_secs,omitempty"`
	MaxUploadKb          *int                   `json:"max_upload_kb,omitempty"`
	PeriodAfterSecs      *int                   `json:"period_after_secs,omitempty"`
	ResolutionP          *int                   `json:"resolution_p,omitempty"`
	Subscribed           *bool                  `json:"subscribed,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_OfflineMotionEventSettings defines model for DeviceLegacySettings.OfflineMotionEventSettings.

func (DeviceLegacySettings_OfflineMotionEventSettings) Get added in v0.4.0

func (a DeviceLegacySettings_OfflineMotionEventSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_OfflineMotionEventSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_OfflineMotionEventSettings) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_OfflineMotionEventSettings to handle AdditionalProperties

func (*DeviceLegacySettings_OfflineMotionEventSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_OfflineMotionEventSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_OfflineMotionEventSettings

func (*DeviceLegacySettings_OfflineMotionEventSettings) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_OfflineMotionEventSettings to handle AdditionalProperties

type DeviceLegacySettings_OtherPaidFeatures added in v0.4.0

type DeviceLegacySettings_OtherPaidFeatures struct {
	AlarmTriggeredRecording *bool                  `json:"alarm_triggered_recording,omitempty"`
	AlexaConcierge          *bool                  `json:"alexa_concierge,omitempty"`
	ClosedCaption           *bool                  `json:"closed_caption,omitempty"`
	CriticalAlerts          *bool                  `json:"critical_alerts,omitempty"`
	DailyDigest             *bool                  `json:"daily_digest,omitempty"`
	DingCall                *bool                  `json:"ding_call,omitempty"`
	ExtendedLiveView        *bool                  `json:"extended_live_view,omitempty"`
	LiveSpeak               *bool                  `json:"live_speak,omitempty"`
	MulticamLiveView        *bool                  `json:"multicam_live_view,omitempty"`
	NaturalLanguageSearch   *bool                  `json:"natural_language_search,omitempty"`
	PackageProtection       *bool                  `json:"package_protection,omitempty"`
	Recording24x7           *bool                  `json:"recording_24x7,omitempty"`
	SheilaCv                *bool                  `json:"sheila_cv,omitempty"`
	SheilaRecording         *bool                  `json:"sheila_recording,omitempty"`
	SnapshotCapturePlus     *bool                  `json:"snapshot_capture_plus,omitempty"`
	SystemLevelPip          *bool                  `json:"system_level_pip,omitempty"`
	AdditionalProperties    map[string]interface{} `json:"-"`
}

DeviceLegacySettings_OtherPaidFeatures defines model for DeviceLegacySettings.OtherPaidFeatures.

func (DeviceLegacySettings_OtherPaidFeatures) Get added in v0.4.0

func (a DeviceLegacySettings_OtherPaidFeatures) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_OtherPaidFeatures. Returns the specified element and whether it was found

func (DeviceLegacySettings_OtherPaidFeatures) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_OtherPaidFeatures) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_OtherPaidFeatures to handle AdditionalProperties

func (*DeviceLegacySettings_OtherPaidFeatures) Set added in v0.4.0

func (a *DeviceLegacySettings_OtherPaidFeatures) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_OtherPaidFeatures

func (*DeviceLegacySettings_OtherPaidFeatures) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_OtherPaidFeatures) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_OtherPaidFeatures to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings added in v0.4.0

type DeviceLegacySettings_PtzSettings struct {
	AutoScan             *DeviceLegacySettings_PtzSettings_AutoScan     `json:"auto_scan,omitempty"`
	Mode                 *string                                        `json:"mode,omitempty"`
	PanSettings          *DeviceLegacySettings_PtzSettings_PanSettings  `json:"pan_settings,omitempty"`
	TiltSettings         *DeviceLegacySettings_PtzSettings_TiltSettings `json:"tilt_settings,omitempty"`
	AdditionalProperties map[string]interface{}                         `json:"-"`
}

DeviceLegacySettings_PtzSettings defines model for DeviceLegacySettings.PtzSettings.

func (DeviceLegacySettings_PtzSettings) Get added in v0.4.0

func (a DeviceLegacySettings_PtzSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_PtzSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_PtzSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_PtzSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_PtzSettings to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_PtzSettings

func (*DeviceLegacySettings_PtzSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_PtzSettings to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_AutoScan added in v0.4.0

type DeviceLegacySettings_PtzSettings_AutoScan struct {
	PauseMs              *int                   `json:"pause_ms,omitempty"`
	StepSize             *float32               `json:"step_size,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_PtzSettings_AutoScan defines model for DeviceLegacySettings.PtzSettings.AutoScan.

func (DeviceLegacySettings_PtzSettings_AutoScan) Get added in v0.4.0

func (a DeviceLegacySettings_PtzSettings_AutoScan) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_PtzSettings_AutoScan. Returns the specified element and whether it was found

func (DeviceLegacySettings_PtzSettings_AutoScan) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_AutoScan to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_AutoScan) Set added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings_AutoScan) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_PtzSettings_AutoScan

func (*DeviceLegacySettings_PtzSettings_AutoScan) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_AutoScan to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_PanSettings added in v0.4.0

type DeviceLegacySettings_PtzSettings_PanSettings struct {
	Movement             *DeviceLegacySettings_PtzSettings_PanSettings_Movement  `json:"movement,omitempty"`
	Positions            *DeviceLegacySettings_PtzSettings_PanSettings_Positions `json:"positions,omitempty"`
	AdditionalProperties map[string]interface{}                                  `json:"-"`
}

DeviceLegacySettings_PtzSettings_PanSettings defines model for DeviceLegacySettings.PtzSettings.PanSettings.

func (DeviceLegacySettings_PtzSettings_PanSettings) Get added in v0.4.0

func (a DeviceLegacySettings_PtzSettings_PanSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_PtzSettings_PanSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_PtzSettings_PanSettings) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_PanSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings_PanSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_PtzSettings_PanSettings

func (*DeviceLegacySettings_PtzSettings_PanSettings) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_PanSettings_Movement added in v0.4.0

type DeviceLegacySettings_PtzSettings_PanSettings_Movement struct {
	MaxAcceleration      *float32               `json:"max_acceleration,omitempty"`
	MaxSpeed             *float32               `json:"max_speed,omitempty"`
	StepSize             *float32               `json:"step_size,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_PtzSettings_PanSettings_Movement defines model for DeviceLegacySettings.PtzSettings.PanSettings.Movement.

func (DeviceLegacySettings_PtzSettings_PanSettings_Movement) Get added in v0.4.0

func (a DeviceLegacySettings_PtzSettings_PanSettings_Movement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_PtzSettings_PanSettings_Movement. Returns the specified element and whether it was found

func (DeviceLegacySettings_PtzSettings_PanSettings_Movement) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings_Movement to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_PanSettings_Movement) Set added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings_PanSettings_Movement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_PtzSettings_PanSettings_Movement

func (*DeviceLegacySettings_PtzSettings_PanSettings_Movement) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings_Movement to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_PanSettings_Positions added in v0.4.0

type DeviceLegacySettings_PtzSettings_PanSettings_Positions struct {
	Default              *float32               `json:"default,omitempty"`
	Max                  *float32               `json:"max,omitempty"`
	Min                  *float32               `json:"min,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_PtzSettings_PanSettings_Positions defines model for DeviceLegacySettings.PtzSettings.PanSettings.Positions.

func (DeviceLegacySettings_PtzSettings_PanSettings_Positions) Get added in v0.4.0

func (a DeviceLegacySettings_PtzSettings_PanSettings_Positions) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_PtzSettings_PanSettings_Positions. Returns the specified element and whether it was found

func (DeviceLegacySettings_PtzSettings_PanSettings_Positions) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings_Positions to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_PanSettings_Positions) Set added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings_PanSettings_Positions) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_PtzSettings_PanSettings_Positions

func (*DeviceLegacySettings_PtzSettings_PanSettings_Positions) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings_Positions to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_TiltSettings added in v0.4.0

type DeviceLegacySettings_PtzSettings_TiltSettings struct {
	Movement             *DeviceLegacySettings_PtzSettings_TiltSettings_Movement  `json:"movement,omitempty"`
	Positions            *DeviceLegacySettings_PtzSettings_TiltSettings_Positions `json:"positions,omitempty"`
	AdditionalProperties map[string]interface{}                                   `json:"-"`
}

DeviceLegacySettings_PtzSettings_TiltSettings defines model for DeviceLegacySettings.PtzSettings.TiltSettings.

func (DeviceLegacySettings_PtzSettings_TiltSettings) Get added in v0.4.0

func (a DeviceLegacySettings_PtzSettings_TiltSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_PtzSettings_TiltSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_PtzSettings_TiltSettings) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_TiltSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings_TiltSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_PtzSettings_TiltSettings

func (*DeviceLegacySettings_PtzSettings_TiltSettings) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_TiltSettings_Movement added in v0.4.0

type DeviceLegacySettings_PtzSettings_TiltSettings_Movement struct {
	MaxAcceleration      *float32               `json:"max_acceleration,omitempty"`
	MaxSpeed             *float32               `json:"max_speed,omitempty"`
	StepSize             *float32               `json:"step_size,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_PtzSettings_TiltSettings_Movement defines model for DeviceLegacySettings.PtzSettings.TiltSettings.Movement.

func (DeviceLegacySettings_PtzSettings_TiltSettings_Movement) Get added in v0.4.0

func (a DeviceLegacySettings_PtzSettings_TiltSettings_Movement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_PtzSettings_TiltSettings_Movement. Returns the specified element and whether it was found

func (DeviceLegacySettings_PtzSettings_TiltSettings_Movement) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings_Movement to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_TiltSettings_Movement) Set added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings_TiltSettings_Movement) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_PtzSettings_TiltSettings_Movement

func (*DeviceLegacySettings_PtzSettings_TiltSettings_Movement) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings_Movement to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_TiltSettings_Positions added in v0.4.0

type DeviceLegacySettings_PtzSettings_TiltSettings_Positions struct {
	Default              *float32               `json:"default,omitempty"`
	Max                  *float32               `json:"max,omitempty"`
	Min                  *float32               `json:"min,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_PtzSettings_TiltSettings_Positions defines model for DeviceLegacySettings.PtzSettings.TiltSettings.Positions.

func (DeviceLegacySettings_PtzSettings_TiltSettings_Positions) Get added in v0.4.0

func (a DeviceLegacySettings_PtzSettings_TiltSettings_Positions) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_PtzSettings_TiltSettings_Positions. Returns the specified element and whether it was found

func (DeviceLegacySettings_PtzSettings_TiltSettings_Positions) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings_Positions to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_TiltSettings_Positions) Set added in v0.4.0

func (a *DeviceLegacySettings_PtzSettings_TiltSettings_Positions) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_PtzSettings_TiltSettings_Positions

func (*DeviceLegacySettings_PtzSettings_TiltSettings_Positions) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings_Positions to handle AdditionalProperties

type DeviceLegacySettings_ServerSettings added in v0.4.0

type DeviceLegacySettings_ServerSettings struct {
	RingMediaServerEnabled *bool                  `json:"ring_media_server_enabled,omitempty"`
	RingMediaServerHost    *string                `json:"ring_media_server_host,omitempty"`
	AdditionalProperties   map[string]interface{} `json:"-"`
}

DeviceLegacySettings_ServerSettings defines model for DeviceLegacySettings.ServerSettings.

func (DeviceLegacySettings_ServerSettings) Get added in v0.4.0

func (a DeviceLegacySettings_ServerSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_ServerSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_ServerSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_ServerSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_ServerSettings to handle AdditionalProperties

func (*DeviceLegacySettings_ServerSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_ServerSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_ServerSettings

func (*DeviceLegacySettings_ServerSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_ServerSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_ServerSettings to handle AdditionalProperties

type DeviceLegacySettings_SheilaSettings added in v0.4.0

type DeviceLegacySettings_SheilaSettings struct {
	CvProcessingEnabled  *bool                  `json:"cv_processing_enabled,omitempty"`
	LocalStorageEnabled  *bool                  `json:"local_storage_enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_SheilaSettings defines model for DeviceLegacySettings.SheilaSettings.

func (DeviceLegacySettings_SheilaSettings) Get added in v0.4.0

func (a DeviceLegacySettings_SheilaSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_SheilaSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_SheilaSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_SheilaSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_SheilaSettings to handle AdditionalProperties

func (*DeviceLegacySettings_SheilaSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_SheilaSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_SheilaSettings

func (*DeviceLegacySettings_SheilaSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_SheilaSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_SheilaSettings to handle AdditionalProperties

type DeviceLegacySettings_VideoSettings added in v0.4.0

type DeviceLegacySettings_VideoSettings struct {
	// EncryptionEligibilityMode Only null was observed in the captured device response; future values are unverified.
	EncryptionEligibilityMode any                    `json:"encryption_eligibility_mode,omitempty"`
	EncryptionEnabled         *bool                  `json:"encryption_enabled,omitempty"`
	EncryptionMethod          *int                   `json:"encryption_method,omitempty"`
	HevcEnabled               *bool                  `json:"hevc_enabled,omitempty"`
	Recording24x7Mode         *int                   `json:"recording_24x7_mode,omitempty"`
	AdditionalProperties      map[string]interface{} `json:"-"`
}

DeviceLegacySettings_VideoSettings defines model for DeviceLegacySettings.VideoSettings.

func (DeviceLegacySettings_VideoSettings) Get added in v0.4.0

func (a DeviceLegacySettings_VideoSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_VideoSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_VideoSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_VideoSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_VideoSettings to handle AdditionalProperties

func (*DeviceLegacySettings_VideoSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_VideoSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_VideoSettings

func (*DeviceLegacySettings_VideoSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_VideoSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_VideoSettings to handle AdditionalProperties

type DeviceLegacySettings_ZoneSettings added in v0.4.0

type DeviceLegacySettings_ZoneSettings struct {
	Monitoring           *[]interface{}                              `json:"monitoring,omitempty"`
	Motion               *[]DeviceLegacySettings_ZoneSettings_Motion `json:"motion,omitempty"`
	AdditionalProperties map[string]interface{}                      `json:"-"`
}

DeviceLegacySettings_ZoneSettings defines model for DeviceLegacySettings.ZoneSettings.

func (DeviceLegacySettings_ZoneSettings) Get added in v0.4.0

func (a DeviceLegacySettings_ZoneSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_ZoneSettings. Returns the specified element and whether it was found

func (DeviceLegacySettings_ZoneSettings) MarshalJSON added in v0.4.0

func (a DeviceLegacySettings_ZoneSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceLegacySettings_ZoneSettings to handle AdditionalProperties

func (*DeviceLegacySettings_ZoneSettings) Set added in v0.4.0

func (a *DeviceLegacySettings_ZoneSettings) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_ZoneSettings

func (*DeviceLegacySettings_ZoneSettings) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_ZoneSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_ZoneSettings to handle AdditionalProperties

type DeviceLegacySettings_ZoneSettings_Motion added in v0.4.0

type DeviceLegacySettings_ZoneSettings_Motion struct {
	Id                   *string                                              `json:"id,omitempty"`
	Name                 *string                                              `json:"name,omitempty"`
	Properties           *DeviceLegacySettings_ZoneSettings_Motion_Properties `json:"properties,omitempty"`
	State                *string                                              `json:"state,omitempty"`
	Vertices             *[]DeviceLegacySettings_ZoneSettings_Motion_Vertices `json:"vertices,omitempty"`
	AdditionalProperties map[string]interface{}                               `json:"-"`
}

DeviceLegacySettings_ZoneSettings_Motion defines model for DeviceLegacySettings.ZoneSettings.Motion.

func (DeviceLegacySettings_ZoneSettings_Motion) Get added in v0.4.0

func (a DeviceLegacySettings_ZoneSettings_Motion) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_ZoneSettings_Motion. Returns the specified element and whether it was found

func (DeviceLegacySettings_ZoneSettings_Motion) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion to handle AdditionalProperties

func (*DeviceLegacySettings_ZoneSettings_Motion) Set added in v0.4.0

func (a *DeviceLegacySettings_ZoneSettings_Motion) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_ZoneSettings_Motion

func (*DeviceLegacySettings_ZoneSettings_Motion) UnmarshalJSON added in v0.4.0

func (a *DeviceLegacySettings_ZoneSettings_Motion) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion to handle AdditionalProperties

type DeviceLegacySettings_ZoneSettings_Motion_Properties added in v0.4.0

type DeviceLegacySettings_ZoneSettings_Motion_Properties struct {
	DetectionTypes       *[]string              `json:"detection_types,omitempty"`
	ZoneTypes            *[]interface{}         `json:"zone_types,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_ZoneSettings_Motion_Properties defines model for DeviceLegacySettings.ZoneSettings.Motion.Properties.

func (DeviceLegacySettings_ZoneSettings_Motion_Properties) Get added in v0.4.0

func (a DeviceLegacySettings_ZoneSettings_Motion_Properties) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_ZoneSettings_Motion_Properties. Returns the specified element and whether it was found

func (DeviceLegacySettings_ZoneSettings_Motion_Properties) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion_Properties to handle AdditionalProperties

func (*DeviceLegacySettings_ZoneSettings_Motion_Properties) Set added in v0.4.0

func (a *DeviceLegacySettings_ZoneSettings_Motion_Properties) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_ZoneSettings_Motion_Properties

func (*DeviceLegacySettings_ZoneSettings_Motion_Properties) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion_Properties to handle AdditionalProperties

type DeviceLegacySettings_ZoneSettings_Motion_Vertices added in v0.4.0

type DeviceLegacySettings_ZoneSettings_Motion_Vertices struct {
	X                    *float32               `json:"x,omitempty"`
	Y                    *float32               `json:"y,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceLegacySettings_ZoneSettings_Motion_Vertices defines model for DeviceLegacySettings.ZoneSettings.Motion.Vertices.

func (DeviceLegacySettings_ZoneSettings_Motion_Vertices) Get added in v0.4.0

func (a DeviceLegacySettings_ZoneSettings_Motion_Vertices) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceLegacySettings_ZoneSettings_Motion_Vertices. Returns the specified element and whether it was found

func (DeviceLegacySettings_ZoneSettings_Motion_Vertices) MarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion_Vertices to handle AdditionalProperties

func (*DeviceLegacySettings_ZoneSettings_Motion_Vertices) Set added in v0.4.0

func (a *DeviceLegacySettings_ZoneSettings_Motion_Vertices) Set(fieldName string, value interface{})

Setter for additional properties for DeviceLegacySettings_ZoneSettings_Motion_Vertices

func (*DeviceLegacySettings_ZoneSettings_Motion_Vertices) UnmarshalJSON added in v0.4.0

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion_Vertices to handle AdditionalProperties

type DeviceList

type DeviceList struct {
	DeviceOperationSets  *map[string]DeviceOperationSet `json:"device_operation_sets,omitempty"`
	Devices              []Device                       `json:"devices"`
	AdditionalProperties map[string]interface{}         `json:"-"`
}

DeviceList defines model for DeviceList.

func (DeviceList) Get

func (a DeviceList) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceList. Returns the specified element and whether it was found

func (DeviceList) MarshalJSON

func (a DeviceList) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceList to handle AdditionalProperties

func (*DeviceList) Set

func (a *DeviceList) Set(fieldName string, value interface{})

Setter for additional properties for DeviceList

func (*DeviceList) UnmarshalJSON

func (a *DeviceList) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceList to handle AdditionalProperties

type DeviceOperationSet

type DeviceOperationSet map[string]map[string]interface{}

DeviceOperationSet Operation names are dynamic; captured entries are empty capability descriptors.

type DeviceOwner

type DeviceOwner struct {
	Email     *string `json:"email,omitempty"`
	FirstName *string `json:"first_name,omitempty"`

	// Id Numeric in the v3 capture and string in legacy inventory fixtures.
	Id                   *DeviceOwner_Id        `json:"id,omitempty"`
	LastName             *string                `json:"last_name,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceOwner defines model for DeviceOwner.

func (DeviceOwner) Get

func (a DeviceOwner) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceOwner. Returns the specified element and whether it was found

func (DeviceOwner) MarshalJSON

func (a DeviceOwner) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceOwner to handle AdditionalProperties

func (*DeviceOwner) Set

func (a *DeviceOwner) Set(fieldName string, value interface{})

Setter for additional properties for DeviceOwner

func (*DeviceOwner) UnmarshalJSON

func (a *DeviceOwner) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceOwner to handle AdditionalProperties

type DeviceOwnerId0

type DeviceOwnerId0 = int64

DeviceOwnerId0 defines model for DeviceOwner.Id.0.

type DeviceOwnerId1

type DeviceOwnerId1 = string

DeviceOwnerId1 defines model for DeviceOwner.Id.1.

type DeviceOwner_Id

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

DeviceOwner_Id Numeric in the v3 capture and string in legacy inventory fixtures.

func (DeviceOwner_Id) AsDeviceOwnerId0

func (t DeviceOwner_Id) AsDeviceOwnerId0() (DeviceOwnerId0, error)

AsDeviceOwnerId0 returns the union data inside the DeviceOwner_Id as a DeviceOwnerId0

func (DeviceOwner_Id) AsDeviceOwnerId1

func (t DeviceOwner_Id) AsDeviceOwnerId1() (DeviceOwnerId1, error)

AsDeviceOwnerId1 returns the union data inside the DeviceOwner_Id as a DeviceOwnerId1

func (*DeviceOwner_Id) FromDeviceOwnerId0

func (t *DeviceOwner_Id) FromDeviceOwnerId0(v DeviceOwnerId0) error

FromDeviceOwnerId0 overwrites any union data inside the DeviceOwner_Id as the provided DeviceOwnerId0

func (*DeviceOwner_Id) FromDeviceOwnerId1

func (t *DeviceOwner_Id) FromDeviceOwnerId1(v DeviceOwnerId1) error

FromDeviceOwnerId1 overwrites any union data inside the DeviceOwner_Id as the provided DeviceOwnerId1

func (DeviceOwner_Id) MarshalJSON

func (t DeviceOwner_Id) MarshalJSON() ([]byte, error)

func (*DeviceOwner_Id) MergeDeviceOwnerId0

func (t *DeviceOwner_Id) MergeDeviceOwnerId0(v DeviceOwnerId0) error

MergeDeviceOwnerId0 performs a merge with any union data inside the DeviceOwner_Id, using the provided DeviceOwnerId0

func (*DeviceOwner_Id) MergeDeviceOwnerId1

func (t *DeviceOwner_Id) MergeDeviceOwnerId1(v DeviceOwnerId1) error

MergeDeviceOwnerId1 performs a merge with any union data inside the DeviceOwner_Id, using the provided DeviceOwnerId1

func (*DeviceOwner_Id) UnmarshalJSON

func (t *DeviceOwner_Id) UnmarshalJSON(b []byte) error

type DeviceSettings

type DeviceSettings struct {
	ChimeSettings        *ChimeSettings       `json:"chime_settings,omitempty"`
	MotionSettings       *MotionSettings      `json:"motion_settings,omitempty"`
	PtzSettings          *PTZSettings         `json:"ptz_settings,omitempty"`
	VideoSettings        *VideoSettings       `json:"video_settings,omitempty"`
	VolumeSettings       *VolumeSettings      `json:"volume_settings,omitempty"`
	AdditionalProperties map[string]JsonValue `json:"-"`
}

DeviceSettings defines model for DeviceSettings.

func (DeviceSettings) Get

func (a DeviceSettings) Get(fieldName string) (value JsonValue, found bool)

Getter for additional properties for DeviceSettings. Returns the specified element and whether it was found

func (DeviceSettings) MarshalJSON

func (a DeviceSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceSettings to handle AdditionalProperties

func (*DeviceSettings) Set

func (a *DeviceSettings) Set(fieldName string, value JsonValue)

Setter for additional properties for DeviceSettings

func (*DeviceSettings) UnmarshalJSON

func (a *DeviceSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceSettings to handle AdditionalProperties

type DeviceSettingsPatch

type DeviceSettingsPatch struct {
	GeneralSettings      *SettingsObject           `json:"general_settings,omitempty"`
	MotionSettings       *MotionSettingsPatch      `json:"motion_settings,omitempty"`
	VideoSettings        *SettingsObject           `json:"video_settings,omitempty"`
	VolumeSettings       *SettingsObject           `json:"volume_settings,omitempty"`
	AdditionalProperties map[string]SettingsObject `json:"-"`
}

DeviceSettingsPatch Extensible wire patch. Captured variants include motion_settings, video_settings, general_settings, and volume_settings. The public typed Go method currently emits motion_settings only.

func (DeviceSettingsPatch) Get

func (a DeviceSettingsPatch) Get(fieldName string) (value SettingsObject, found bool)

Getter for additional properties for DeviceSettingsPatch. Returns the specified element and whether it was found

func (DeviceSettingsPatch) MarshalJSON

func (a DeviceSettingsPatch) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceSettingsPatch to handle AdditionalProperties

func (*DeviceSettingsPatch) Set

func (a *DeviceSettingsPatch) Set(fieldName string, value SettingsObject)

Setter for additional properties for DeviceSettingsPatch

func (*DeviceSettingsPatch) UnmarshalJSON

func (a *DeviceSettingsPatch) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceSettingsPatch to handle AdditionalProperties

type DeviceTimeline

type DeviceTimeline struct {
	Items                []TimelineEvent        `json:"items"`
	PaginationKey        *string                `json:"pagination_key,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

DeviceTimeline defines model for DeviceTimeline.

func (DeviceTimeline) Get

func (a DeviceTimeline) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for DeviceTimeline. Returns the specified element and whether it was found

func (DeviceTimeline) MarshalJSON

func (a DeviceTimeline) MarshalJSON() ([]byte, error)

Override default JSON handling for DeviceTimeline to handle AdditionalProperties

func (*DeviceTimeline) Set

func (a *DeviceTimeline) Set(fieldName string, value interface{})

Setter for additional properties for DeviceTimeline

func (*DeviceTimeline) UnmarshalJSON

func (a *DeviceTimeline) UnmarshalJSON(b []byte) error

Override default JSON handling for DeviceTimeline to handle AdditionalProperties

type Device_Alerts added in v0.4.0

type Device_Alerts struct {
	// Connection Online in the captured camera response; offline in a baseline family fixture. Other states remain valid.
	Connection           *string                `json:"connection,omitempty"`
	OtaStatus            *string                `json:"ota_status,omitempty"`
	PrivacyCoverEnabled  *bool                  `json:"privacy_cover_enabled,omitempty"`
	SidewalkConnection   *bool                  `json:"sidewalk_connection,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Device_Alerts defines model for Device.Alerts.

func (Device_Alerts) Get added in v0.4.0

func (a Device_Alerts) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Device_Alerts. Returns the specified element and whether it was found

func (Device_Alerts) MarshalJSON added in v0.4.0

func (a Device_Alerts) MarshalJSON() ([]byte, error)

Override default JSON handling for Device_Alerts to handle AdditionalProperties

func (*Device_Alerts) Set added in v0.4.0

func (a *Device_Alerts) Set(fieldName string, value interface{})

Setter for additional properties for Device_Alerts

func (*Device_Alerts) UnmarshalJSON added in v0.4.0

func (a *Device_Alerts) UnmarshalJSON(b []byte) error

Override default JSON handling for Device_Alerts to handle AdditionalProperties

type Device_BatteryLife added in v0.4.0

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

Device_BatteryLife Ring has returned a percentage, numeric text, and out-of-range hardware values (for example 4081 in a baseline fixture); callers must validate before treating it as a percentage.

func (Device_BatteryLife) AsDeviceBatteryLife0 added in v0.4.0

func (t Device_BatteryLife) AsDeviceBatteryLife0() (DeviceBatteryLife0, error)

AsDeviceBatteryLife0 returns the union data inside the Device_BatteryLife as a DeviceBatteryLife0

func (Device_BatteryLife) AsDeviceBatteryLife1 added in v0.4.0

func (t Device_BatteryLife) AsDeviceBatteryLife1() (DeviceBatteryLife1, error)

AsDeviceBatteryLife1 returns the union data inside the Device_BatteryLife as a DeviceBatteryLife1

func (*Device_BatteryLife) FromDeviceBatteryLife0 added in v0.4.0

func (t *Device_BatteryLife) FromDeviceBatteryLife0(v DeviceBatteryLife0) error

FromDeviceBatteryLife0 overwrites any union data inside the Device_BatteryLife as the provided DeviceBatteryLife0

func (*Device_BatteryLife) FromDeviceBatteryLife1 added in v0.4.0

func (t *Device_BatteryLife) FromDeviceBatteryLife1(v DeviceBatteryLife1) error

FromDeviceBatteryLife1 overwrites any union data inside the Device_BatteryLife as the provided DeviceBatteryLife1

func (Device_BatteryLife) MarshalJSON added in v0.4.0

func (t Device_BatteryLife) MarshalJSON() ([]byte, error)

func (*Device_BatteryLife) MergeDeviceBatteryLife0 added in v0.4.0

func (t *Device_BatteryLife) MergeDeviceBatteryLife0(v DeviceBatteryLife0) error

MergeDeviceBatteryLife0 performs a merge with any union data inside the Device_BatteryLife, using the provided DeviceBatteryLife0

func (*Device_BatteryLife) MergeDeviceBatteryLife1 added in v0.4.0

func (t *Device_BatteryLife) MergeDeviceBatteryLife1(v DeviceBatteryLife1) error

MergeDeviceBatteryLife1 performs a merge with any union data inside the Device_BatteryLife, using the provided DeviceBatteryLife1

func (*Device_BatteryLife) UnmarshalJSON added in v0.4.0

func (t *Device_BatteryLife) UnmarshalJSON(b []byte) error

type Device_BatteryLife2 added in v0.4.0

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

Device_BatteryLife2 Optional second battery, with the same wire variants as battery_life.

func (Device_BatteryLife2) AsDeviceBatteryLife20 added in v0.4.0

func (t Device_BatteryLife2) AsDeviceBatteryLife20() (DeviceBatteryLife20, error)

AsDeviceBatteryLife20 returns the union data inside the Device_BatteryLife2 as a DeviceBatteryLife20

func (Device_BatteryLife2) AsDeviceBatteryLife21 added in v0.4.0

func (t Device_BatteryLife2) AsDeviceBatteryLife21() (DeviceBatteryLife21, error)

AsDeviceBatteryLife21 returns the union data inside the Device_BatteryLife2 as a DeviceBatteryLife21

func (*Device_BatteryLife2) FromDeviceBatteryLife20 added in v0.4.0

func (t *Device_BatteryLife2) FromDeviceBatteryLife20(v DeviceBatteryLife20) error

FromDeviceBatteryLife20 overwrites any union data inside the Device_BatteryLife2 as the provided DeviceBatteryLife20

func (*Device_BatteryLife2) FromDeviceBatteryLife21 added in v0.4.0

func (t *Device_BatteryLife2) FromDeviceBatteryLife21(v DeviceBatteryLife21) error

FromDeviceBatteryLife21 overwrites any union data inside the Device_BatteryLife2 as the provided DeviceBatteryLife21

func (Device_BatteryLife2) MarshalJSON added in v0.4.0

func (t Device_BatteryLife2) MarshalJSON() ([]byte, error)

func (*Device_BatteryLife2) MergeDeviceBatteryLife20 added in v0.4.0

func (t *Device_BatteryLife2) MergeDeviceBatteryLife20(v DeviceBatteryLife20) error

MergeDeviceBatteryLife20 performs a merge with any union data inside the Device_BatteryLife2, using the provided DeviceBatteryLife20

func (*Device_BatteryLife2) MergeDeviceBatteryLife21 added in v0.4.0

func (t *Device_BatteryLife2) MergeDeviceBatteryLife21(v DeviceBatteryLife21) error

MergeDeviceBatteryLife21 performs a merge with any union data inside the Device_BatteryLife2, using the provided DeviceBatteryLife21

func (*Device_BatteryLife2) UnmarshalJSON added in v0.4.0

func (t *Device_BatteryLife2) UnmarshalJSON(b []byte) error

type Device_EncryptionGroup added in v0.4.0

type Device_EncryptionGroup struct {
	// AccountGroupRevisionId Only null was observed in the captured device response; future values are unverified.
	AccountGroupRevisionId any `json:"account_group_revision_id,omitempty"`

	// Id Only null was observed in the captured device response; future values are unverified.
	Id                   any                    `json:"id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Device_EncryptionGroup defines model for Device.EncryptionGroup.

func (Device_EncryptionGroup) Get added in v0.4.0

func (a Device_EncryptionGroup) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Device_EncryptionGroup. Returns the specified element and whether it was found

func (Device_EncryptionGroup) MarshalJSON added in v0.4.0

func (a Device_EncryptionGroup) MarshalJSON() ([]byte, error)

Override default JSON handling for Device_EncryptionGroup to handle AdditionalProperties

func (*Device_EncryptionGroup) Set added in v0.4.0

func (a *Device_EncryptionGroup) Set(fieldName string, value interface{})

Setter for additional properties for Device_EncryptionGroup

func (*Device_EncryptionGroup) UnmarshalJSON added in v0.4.0

func (a *Device_EncryptionGroup) UnmarshalJSON(b []byte) error

Override default JSON handling for Device_EncryptionGroup to handle AdditionalProperties

type Device_MotionSnooze added in v0.4.0

type Device_MotionSnooze struct {
	Scheduled            *bool                  `json:"scheduled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Device_MotionSnooze defines model for Device.MotionSnooze.

func (Device_MotionSnooze) Get added in v0.4.0

func (a Device_MotionSnooze) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Device_MotionSnooze. Returns the specified element and whether it was found

func (Device_MotionSnooze) MarshalJSON added in v0.4.0

func (a Device_MotionSnooze) MarshalJSON() ([]byte, error)

Override default JSON handling for Device_MotionSnooze to handle AdditionalProperties

func (*Device_MotionSnooze) Set added in v0.4.0

func (a *Device_MotionSnooze) Set(fieldName string, value interface{})

Setter for additional properties for Device_MotionSnooze

func (*Device_MotionSnooze) UnmarshalJSON added in v0.4.0

func (a *Device_MotionSnooze) UnmarshalJSON(b []byte) error

Override default JSON handling for Device_MotionSnooze to handle AdditionalProperties

type Device_SirenStatus added in v0.4.0

type Device_SirenStatus struct {
	Duration             *string                `json:"duration,omitempty"`
	EndsAt               *string                `json:"ends_at,omitempty"`
	SecondsRemaining     *int                   `json:"seconds_remaining,omitempty"`
	StartedAt            *string                `json:"started_at,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Device_SirenStatus defines model for Device.SirenStatus.

func (Device_SirenStatus) Get added in v0.4.0

func (a Device_SirenStatus) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Device_SirenStatus. Returns the specified element and whether it was found

func (Device_SirenStatus) MarshalJSON added in v0.4.0

func (a Device_SirenStatus) MarshalJSON() ([]byte, error)

Override default JSON handling for Device_SirenStatus to handle AdditionalProperties

func (*Device_SirenStatus) Set added in v0.4.0

func (a *Device_SirenStatus) Set(fieldName string, value interface{})

Setter for additional properties for Device_SirenStatus

func (*Device_SirenStatus) UnmarshalJSON added in v0.4.0

func (a *Device_SirenStatus) UnmarshalJSON(b []byte) error

Override default JSON handling for Device_SirenStatus to handle AdditionalProperties

type DoorbellDeviceKind

type DoorbellDeviceKind string

DoorbellDeviceKind Known doorbell kinds from captured and baseline inventories; unknown kinds remain valid on Device.kind.

const (
	CocoaDoorbell         DoorbellDeviceKind = "cocoa_doorbell"
	CocoaDoorbellV2       DoorbellDeviceKind = "cocoa_doorbell_v2"
	DfDoorbellClownfish   DoorbellDeviceKind = "df_doorbell_clownfish"
	Doorbell              DoorbellDeviceKind = "doorbell"
	DoorbellGrahamCracker DoorbellDeviceKind = "doorbell_graham_cracker"
	DoorbellOyster        DoorbellDeviceKind = "doorbell_oyster"
	DoorbellPortal        DoorbellDeviceKind = "doorbell_portal"
	DoorbellScallop       DoorbellDeviceKind = "doorbell_scallop"
	DoorbellScallopLite   DoorbellDeviceKind = "doorbell_scallop_lite"
	DoorbellV3            DoorbellDeviceKind = "doorbell_v3"
	DoorbellV4            DoorbellDeviceKind = "doorbell_v4"
	DoorbellV5            DoorbellDeviceKind = "doorbell_v5"
	Doorbot               DoorbellDeviceKind = "doorbot"
	JboxV1                DoorbellDeviceKind = "jbox_v1"
	LpdV1                 DoorbellDeviceKind = "lpd_v1"
	LpdV2                 DoorbellDeviceKind = "lpd_v2"
	LpdV3                 DoorbellDeviceKind = "lpd_v3"
	LpdV4                 DoorbellDeviceKind = "lpd_v4"
)

Defines values for DoorbellDeviceKind.

func (DoorbellDeviceKind) Valid

func (e DoorbellDeviceKind) Valid() bool

Valid indicates whether the value is a known member of the DoorbellDeviceKind enum.

type EnableExtendedEmergencyCellUsage

type EnableExtendedEmergencyCellUsage = bool

EnableExtendedEmergencyCellUsage defines model for enableExtendedEmergencyCellUsage.

type EndTime

type EndTime = time.Time

EndTime defines model for end_time.

type ExchangeOrRefreshOAuthTokenFormdataRequestBody

type ExchangeOrRefreshOAuthTokenFormdataRequestBody = OAuthTokenGrant

ExchangeOrRefreshOAuthTokenFormdataRequestBody defines body for ExchangeOrRefreshOAuthToken for application/x-www-form-urlencoded ContentType.

type ExchangeOrRefreshOAuthTokenResponse

type ExchangeOrRefreshOAuthTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OAuthToken
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *AuthFailure
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *AuthFailure
	// JSON412 the response for an HTTP 412 `application/json` response
	JSON412 *TwoFactorRequired
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *AuthFailure
}

func ParseExchangeOrRefreshOAuthTokenResponse

func ParseExchangeOrRefreshOAuthTokenResponse(rsp *http.Response) (*ExchangeOrRefreshOAuthTokenResponse, error)

ParseExchangeOrRefreshOAuthTokenResponse parses an HTTP response from a ExchangeOrRefreshOAuthTokenWithResponse call

func (ExchangeOrRefreshOAuthTokenResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExchangeOrRefreshOAuthTokenResponse) GetBody

GetBody returns the raw response body bytes

func (ExchangeOrRefreshOAuthTokenResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ExchangeOrRefreshOAuthTokenResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ExchangeOrRefreshOAuthTokenResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ExchangeOrRefreshOAuthTokenResponse) GetJSON412

GetJSON412 returns the response for an HTTP 412 `application/json` response

func (ExchangeOrRefreshOAuthTokenResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ExchangeOrRefreshOAuthTokenResponse) GetJSONDefault

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ExchangeOrRefreshOAuthTokenResponse) Status

Status returns HTTPResponse.Status

func (ExchangeOrRefreshOAuthTokenResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ExtensibleObject

type ExtensibleObject map[string]JsonValue

ExtensibleObject defines model for ExtensibleObject.

type FavoriteRecordingResponse

type FavoriteRecordingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseFavoriteRecordingResponse

func ParseFavoriteRecordingResponse(rsp *http.Response) (*FavoriteRecordingResponse, error)

ParseFavoriteRecordingResponse parses an HTTP response from a FavoriteRecordingWithResponse call

func (FavoriteRecordingResponse) ContentType

func (r FavoriteRecordingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FavoriteRecordingResponse) GetBody

func (r FavoriteRecordingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FavoriteRecordingResponse) Status

func (r FavoriteRecordingResponse) Status() string

Status returns HTTPResponse.Status

func (FavoriteRecordingResponse) StatusCode

func (r FavoriteRecordingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FeatureAvailability

type FeatureAvailability struct {
	Eligibility          *FeatureEligibility    `json:"eligibility,omitempty"`
	Enablement           *FeatureEnablement     `json:"enablement,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

FeatureAvailability defines model for FeatureAvailability.

func (FeatureAvailability) Get

func (a FeatureAvailability) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for FeatureAvailability. Returns the specified element and whether it was found

func (FeatureAvailability) MarshalJSON

func (a FeatureAvailability) MarshalJSON() ([]byte, error)

Override default JSON handling for FeatureAvailability to handle AdditionalProperties

func (*FeatureAvailability) Set

func (a *FeatureAvailability) Set(fieldName string, value interface{})

Setter for additional properties for FeatureAvailability

func (*FeatureAvailability) UnmarshalJSON

func (a *FeatureAvailability) UnmarshalJSON(b []byte) error

Override default JSON handling for FeatureAvailability to handle AdditionalProperties

type FeatureEligibility

type FeatureEligibility struct {
	Eligible             *bool                  `json:"eligible,omitempty"`
	IneligibilityReasons *[]string              `json:"ineligibility_reasons,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

FeatureEligibility defines model for FeatureEligibility.

func (FeatureEligibility) Get

func (a FeatureEligibility) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for FeatureEligibility. Returns the specified element and whether it was found

func (FeatureEligibility) MarshalJSON

func (a FeatureEligibility) MarshalJSON() ([]byte, error)

Override default JSON handling for FeatureEligibility to handle AdditionalProperties

func (*FeatureEligibility) Set

func (a *FeatureEligibility) Set(fieldName string, value interface{})

Setter for additional properties for FeatureEligibility

func (*FeatureEligibility) UnmarshalJSON

func (a *FeatureEligibility) UnmarshalJSON(b []byte) error

Override default JSON handling for FeatureEligibility to handle AdditionalProperties

type FeatureEnablement

type FeatureEnablement struct {
	Allowed              *bool                  `json:"allowed,omitempty"`
	DisallowReasons      *[]string              `json:"disallow_reasons,omitempty"`
	Enabled              *bool                  `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

FeatureEnablement defines model for FeatureEnablement.

func (FeatureEnablement) Get

func (a FeatureEnablement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for FeatureEnablement. Returns the specified element and whether it was found

func (FeatureEnablement) MarshalJSON

func (a FeatureEnablement) MarshalJSON() ([]byte, error)

Override default JSON handling for FeatureEnablement to handle AdditionalProperties

func (*FeatureEnablement) Set

func (a *FeatureEnablement) Set(fieldName string, value interface{})

Setter for additional properties for FeatureEnablement

func (*FeatureEnablement) UnmarshalJSON

func (a *FeatureEnablement) UnmarshalJSON(b []byte) error

Override default JSON handling for FeatureEnablement to handle AdditionalProperties

type GeoCoordinates

type GeoCoordinates struct {
	Latitude             *float32               `json:"latitude,omitempty"`
	Longitude            *float32               `json:"longitude,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

GeoCoordinates defines model for GeoCoordinates.

func (GeoCoordinates) Get

func (a GeoCoordinates) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for GeoCoordinates. Returns the specified element and whether it was found

func (GeoCoordinates) MarshalJSON

func (a GeoCoordinates) MarshalJSON() ([]byte, error)

Override default JSON handling for GeoCoordinates to handle AdditionalProperties

func (*GeoCoordinates) Set

func (a *GeoCoordinates) Set(fieldName string, value interface{})

Setter for additional properties for GeoCoordinates

func (*GeoCoordinates) UnmarshalJSON

func (a *GeoCoordinates) UnmarshalJSON(b []byte) error

Override default JSON handling for GeoCoordinates to handle AdditionalProperties

type GetActiveDingsResponse

type GetActiveDingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RecordingArray
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseGetActiveDingsResponse

func ParseGetActiveDingsResponse(rsp *http.Response) (*GetActiveDingsResponse, error)

ParseGetActiveDingsResponse parses an HTTP response from a GetActiveDingsWithResponse call

func (GetActiveDingsResponse) ContentType

func (r GetActiveDingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetActiveDingsResponse) GetBody

func (r GetActiveDingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetActiveDingsResponse) GetJSON200

func (r GetActiveDingsResponse) GetJSON200() *RecordingArray

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetActiveDingsResponse) GetJSONDefault

func (r GetActiveDingsResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetActiveDingsResponse) Status

func (r GetActiveDingsResponse) Status() string

Status returns HTTPResponse.Status

func (GetActiveDingsResponse) StatusCode

func (r GetActiveDingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCapturedLocationTicketsParams

type GetCapturedLocationTicketsParams struct {
	// AllowUserOnly Boolean encoded as a query string; false was recorded.
	AllowUserOnly        *AllowUserOnly        `form:"allowUserOnly,omitempty" json:"allowUserOnly,omitempty"`
	LocationID           *LocationID           `form:"locationID,omitempty" json:"locationID,omitempty"`
	LocationSubscription *LocationSubscription `form:"locationSubscription,omitempty" json:"locationSubscription,omitempty"`

	// EnableExtendedEmergencyCellUsage Boolean encoded as a query string; true was recorded.
	EnableExtendedEmergencyCellUsage *EnableExtendedEmergencyCellUsage `form:"enableExtendedEmergencyCellUsage,omitempty" json:"enableExtendedEmergencyCellUsage,omitempty"`

	// RequestedTransport WebSocket transport ws was recorded; other transports remain possible.
	RequestedTransport *RequestedTransport `form:"requestedTransport,omitempty" json:"requestedTransport,omitempty"`
}

GetCapturedLocationTicketsParams defines parameters for GetCapturedLocationTickets.

type GetCapturedLocationTicketsResponse

type GetCapturedLocationTicketsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CapturedTickets
}

func ParseGetCapturedLocationTicketsResponse

func ParseGetCapturedLocationTicketsResponse(rsp *http.Response) (*GetCapturedLocationTicketsResponse, error)

ParseGetCapturedLocationTicketsResponse parses an HTTP response from a GetCapturedLocationTicketsWithResponse call

func (GetCapturedLocationTicketsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCapturedLocationTicketsResponse) GetBody

GetBody returns the raw response body bytes

func (GetCapturedLocationTicketsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCapturedLocationTicketsResponse) Status

Status returns HTTPResponse.Status

func (GetCapturedLocationTicketsResponse) StatusCode

func (r GetCapturedLocationTicketsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeviceResponse

type GetDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeviceDetail
}

func ParseGetDeviceResponse

func ParseGetDeviceResponse(rsp *http.Response) (*GetDeviceResponse, error)

ParseGetDeviceResponse parses an HTTP response from a GetDeviceWithResponse call

func (GetDeviceResponse) ContentType

func (r GetDeviceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDeviceResponse) GetBody

func (r GetDeviceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDeviceResponse) GetJSON200

func (r GetDeviceResponse) GetJSON200() *DeviceDetail

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDeviceResponse) Status

func (r GetDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (GetDeviceResponse) StatusCode

func (r GetDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeviceSettingsResponse

type GetDeviceSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeviceSettings
}

func ParseGetDeviceSettingsResponse

func ParseGetDeviceSettingsResponse(rsp *http.Response) (*GetDeviceSettingsResponse, error)

ParseGetDeviceSettingsResponse parses an HTTP response from a GetDeviceSettingsWithResponse call

func (GetDeviceSettingsResponse) ContentType

func (r GetDeviceSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDeviceSettingsResponse) GetBody

func (r GetDeviceSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDeviceSettingsResponse) GetJSON200

func (r GetDeviceSettingsResponse) GetJSON200() *DeviceSettings

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDeviceSettingsResponse) Status

func (r GetDeviceSettingsResponse) Status() string

Status returns HTTPResponse.Status

func (GetDeviceSettingsResponse) StatusCode

func (r GetDeviceSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeviceTimelineParams

type GetDeviceTimelineParams struct {
	// StartTime Inclusive timeline start in RFC 3339 format; requiredness is not established.
	StartTime *StartTime `form:"start_time,omitempty" json:"start_time,omitempty"`

	// EndTime Timeline end in RFC 3339 format; requiredness is not established.
	EndTime *EndTime `form:"end_time,omitempty" json:"end_time,omitempty"`

	// Order Descending order was recorded; other values may be accepted.
	Order *Order `form:"order,omitempty" json:"order,omitempty"`

	// Limit Positive maximum number of results; 20 was recorded.
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Capabilities Comma-separated capability tokens. Observed tokens are offline_event, vehicle and ringtercom; future tokens are possible.
	Capabilities *Capabilities `form:"capabilities,omitempty" json:"capabilities,omitempty"`
}

GetDeviceTimelineParams defines parameters for GetDeviceTimeline.

type GetDeviceTimelineResponse

type GetDeviceTimelineResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeviceTimeline
}

func ParseGetDeviceTimelineResponse

func ParseGetDeviceTimelineResponse(rsp *http.Response) (*GetDeviceTimelineResponse, error)

ParseGetDeviceTimelineResponse parses an HTTP response from a GetDeviceTimelineWithResponse call

func (GetDeviceTimelineResponse) ContentType

func (r GetDeviceTimelineResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDeviceTimelineResponse) GetBody

func (r GetDeviceTimelineResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDeviceTimelineResponse) GetJSON200

func (r GetDeviceTimelineResponse) GetJSON200() *DeviceTimeline

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDeviceTimelineResponse) Status

func (r GetDeviceTimelineResponse) Status() string

Status returns HTTPResponse.Status

func (GetDeviceTimelineResponse) StatusCode

func (r GetDeviceTimelineResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHistoryDevicesParams

type GetHistoryDevicesParams struct {
	// SourceIds Observed query name; value is sanitized in the capture.
	SourceIds *SourceIds `form:"source_ids,omitempty" json:"source_ids,omitempty"`

	// Capabilities Comma-separated capability tokens. Observed tokens are offline_event, vehicle and ringtercom; future tokens are possible.
	Capabilities *Capabilities `form:"capabilities,omitempty" json:"capabilities,omitempty"`
}

GetHistoryDevicesParams defines parameters for GetHistoryDevices.

type GetHistoryDevicesResponse

type GetHistoryDevicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HistoryDevices
}

func ParseGetHistoryDevicesResponse

func ParseGetHistoryDevicesResponse(rsp *http.Response) (*GetHistoryDevicesResponse, error)

ParseGetHistoryDevicesResponse parses an HTTP response from a GetHistoryDevicesWithResponse call

func (GetHistoryDevicesResponse) ContentType

func (r GetHistoryDevicesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHistoryDevicesResponse) GetBody

func (r GetHistoryDevicesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHistoryDevicesResponse) GetJSON200

func (r GetHistoryDevicesResponse) GetJSON200() *HistoryDevices

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHistoryDevicesResponse) Status

func (r GetHistoryDevicesResponse) Status() string

Status returns HTTPResponse.Status

func (GetHistoryDevicesResponse) StatusCode

func (r GetHistoryDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLegacyDeviceHealthResponse

type GetLegacyDeviceHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LegacyDeviceHealth
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseGetLegacyDeviceHealthResponse

func ParseGetLegacyDeviceHealthResponse(rsp *http.Response) (*GetLegacyDeviceHealthResponse, error)

ParseGetLegacyDeviceHealthResponse parses an HTTP response from a GetLegacyDeviceHealthWithResponse call

func (GetLegacyDeviceHealthResponse) ContentType

func (r GetLegacyDeviceHealthResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLegacyDeviceHealthResponse) GetBody

func (r GetLegacyDeviceHealthResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLegacyDeviceHealthResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLegacyDeviceHealthResponse) GetJSONDefault

func (r GetLegacyDeviceHealthResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetLegacyDeviceHealthResponse) Status

Status returns HTTPResponse.Status

func (GetLegacyDeviceHealthResponse) StatusCode

func (r GetLegacyDeviceHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLegacyDeviceHistoryParams

type GetLegacyDeviceHistoryParams struct {
	// Limit Positive maximum number of results; 20 was recorded.
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Kind Go forwards this value without restricting it; known history kinds are ding, motion and on_demand.
	Kind *Kind `form:"kind,omitempty" json:"kind,omitempty"`

	// OlderThan Positive history cursor timestamp documented for this route; not currently sent by Go.
	OlderThan *OlderThan `form:"older_than,omitempty" json:"older_than,omitempty"`
}

GetLegacyDeviceHistoryParams defines parameters for GetLegacyDeviceHistory.

type GetLegacyDeviceHistoryResponse

type GetLegacyDeviceHistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RecordingArray
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseGetLegacyDeviceHistoryResponse

func ParseGetLegacyDeviceHistoryResponse(rsp *http.Response) (*GetLegacyDeviceHistoryResponse, error)

ParseGetLegacyDeviceHistoryResponse parses an HTTP response from a GetLegacyDeviceHistoryWithResponse call

func (GetLegacyDeviceHistoryResponse) ContentType

func (r GetLegacyDeviceHistoryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLegacyDeviceHistoryResponse) GetBody

func (r GetLegacyDeviceHistoryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLegacyDeviceHistoryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLegacyDeviceHistoryResponse) GetJSONDefault

func (r GetLegacyDeviceHistoryResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetLegacyDeviceHistoryResponse) Status

Status returns HTTPResponse.Status

func (GetLegacyDeviceHistoryResponse) StatusCode

func (r GetLegacyDeviceHistoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLegacyRecordingShareURLResponse

type GetLegacyRecordingShareURLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RecordingShare
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseGetLegacyRecordingShareURLResponse

func ParseGetLegacyRecordingShareURLResponse(rsp *http.Response) (*GetLegacyRecordingShareURLResponse, error)

ParseGetLegacyRecordingShareURLResponse parses an HTTP response from a GetLegacyRecordingShareURLWithResponse call

func (GetLegacyRecordingShareURLResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLegacyRecordingShareURLResponse) GetBody

GetBody returns the raw response body bytes

func (GetLegacyRecordingShareURLResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLegacyRecordingShareURLResponse) GetJSONDefault

func (r GetLegacyRecordingShareURLResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetLegacyRecordingShareURLResponse) Status

Status returns HTTPResponse.Status

func (GetLegacyRecordingShareURLResponse) StatusCode

func (r GetLegacyRecordingShareURLResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLegacySnapshotImageResponse

type GetLegacySnapshotImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseGetLegacySnapshotImageResponse

func ParseGetLegacySnapshotImageResponse(rsp *http.Response) (*GetLegacySnapshotImageResponse, error)

ParseGetLegacySnapshotImageResponse parses an HTTP response from a GetLegacySnapshotImageWithResponse call

func (GetLegacySnapshotImageResponse) ContentType

func (r GetLegacySnapshotImageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLegacySnapshotImageResponse) GetBody

func (r GetLegacySnapshotImageResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLegacySnapshotImageResponse) GetJSONDefault

func (r GetLegacySnapshotImageResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetLegacySnapshotImageResponse) Status

Status returns HTTPResponse.Status

func (GetLegacySnapshotImageResponse) StatusCode

func (r GetLegacySnapshotImageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLocationParams

type GetLocationParams struct {
	// Include Comma-separated location expansions. Observed tokens are capabilities, presentation and status; future tokens are possible.
	Include *Include `form:"include,omitempty" json:"include,omitempty"`
}

GetLocationParams defines parameters for GetLocation.

type GetLocationResponse

type GetLocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LocationDetail
}

func ParseGetLocationResponse

func ParseGetLocationResponse(rsp *http.Response) (*GetLocationResponse, error)

ParseGetLocationResponse parses an HTTP response from a GetLocationWithResponse call

func (GetLocationResponse) ContentType

func (r GetLocationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLocationResponse) GetBody

func (r GetLocationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLocationResponse) GetJSON200

func (r GetLocationResponse) GetJSON200() *LocationDetail

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLocationResponse) Status

func (r GetLocationResponse) Status() string

Status returns HTTPResponse.Status

func (GetLocationResponse) StatusCode

func (r GetLocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HTTPFailure

type HTTPFailure = JsonValue

HTTPFailure Explicit escape hatch for fields without observed structure or typed error responses.

type HistoryDevices

type HistoryDevices struct {
	Events               []TimelineEvent        `json:"events"`
	Feed                 *[]HistoryFeedItem     `json:"feed,omitempty"`
	PaginationKey        *string                `json:"pagination_key,omitempty"`
	Schema               *string                `json:"schema,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

HistoryDevices defines model for HistoryDevices.

func (HistoryDevices) Get

func (a HistoryDevices) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for HistoryDevices. Returns the specified element and whether it was found

func (HistoryDevices) MarshalJSON

func (a HistoryDevices) MarshalJSON() ([]byte, error)

Override default JSON handling for HistoryDevices to handle AdditionalProperties

func (*HistoryDevices) Set

func (a *HistoryDevices) Set(fieldName string, value interface{})

Setter for additional properties for HistoryDevices

func (*HistoryDevices) UnmarshalJSON

func (a *HistoryDevices) UnmarshalJSON(b []byte) error

Override default JSON handling for HistoryDevices to handle AdditionalProperties

type HistoryFeedItem

type HistoryFeedItem struct {
	Id *string `json:"id,omitempty"`

	// Type Captured feed item type is EVENT; other types remain valid.
	Type                 *string                `json:"type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

HistoryFeedItem defines model for HistoryFeedItem.

func (HistoryFeedItem) Get

func (a HistoryFeedItem) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for HistoryFeedItem. Returns the specified element and whether it was found

func (HistoryFeedItem) MarshalJSON

func (a HistoryFeedItem) MarshalJSON() ([]byte, error)

Override default JSON handling for HistoryFeedItem to handle AdditionalProperties

func (*HistoryFeedItem) Set

func (a *HistoryFeedItem) Set(fieldName string, value interface{})

Setter for additional properties for HistoryFeedItem

func (*HistoryFeedItem) UnmarshalJSON

func (a *HistoryFeedItem) UnmarshalJSON(b []byte) error

Override default JSON handling for HistoryFeedItem to handle AdditionalProperties

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Include

type Include = string

Include defines model for include.

type IntercomUnlockCommand added in v0.4.0

type IntercomUnlockCommand struct {
	CommandName IntercomUnlockCommandCommandName `json:"command_name"`
	Request     IntercomUnlockRPC                `json:"request"`
}

IntercomUnlockCommand defines model for IntercomUnlockCommand.

type IntercomUnlockCommandCommandName added in v0.4.0

type IntercomUnlockCommandCommandName string

IntercomUnlockCommandCommandName defines model for IntercomUnlockCommand.CommandName.

const (
	DeviceRpc IntercomUnlockCommandCommandName = "device_rpc"
)

Defines values for IntercomUnlockCommandCommandName.

func (IntercomUnlockCommandCommandName) Valid added in v0.4.0

Valid indicates whether the value is a known member of the IntercomUnlockCommandCommandName enum.

type IntercomUnlockParams added in v0.4.0

type IntercomUnlockParams struct {
	DoorId IntercomUnlockParamsDoorId `json:"door_id"`
	UserId IntercomUnlockParamsUserId `json:"user_id"`
}

IntercomUnlockParams defines model for IntercomUnlockParams.

type IntercomUnlockParamsDoorId added in v0.4.0

type IntercomUnlockParamsDoorId int

IntercomUnlockParamsDoorId defines model for IntercomUnlockParams.DoorId.

const (
	IntercomUnlockParamsDoorIdN0 IntercomUnlockParamsDoorId = 0
)

Defines values for IntercomUnlockParamsDoorId.

func (IntercomUnlockParamsDoorId) Valid added in v0.4.0

func (e IntercomUnlockParamsDoorId) Valid() bool

Valid indicates whether the value is a known member of the IntercomUnlockParamsDoorId enum.

type IntercomUnlockParamsUserId added in v0.4.0

type IntercomUnlockParamsUserId int

IntercomUnlockParamsUserId defines model for IntercomUnlockParams.UserId.

const (
	IntercomUnlockParamsUserIdN0 IntercomUnlockParamsUserId = 0
)

Defines values for IntercomUnlockParamsUserId.

func (IntercomUnlockParamsUserId) Valid added in v0.4.0

func (e IntercomUnlockParamsUserId) Valid() bool

Valid indicates whether the value is a known member of the IntercomUnlockParamsUserId enum.

type IntercomUnlockRPC added in v0.4.0

type IntercomUnlockRPC struct {
	Jsonrpc IntercomUnlockRPCJsonrpc `json:"jsonrpc"`
	Method  IntercomUnlockRPCMethod  `json:"method"`
	Params  IntercomUnlockParams     `json:"params"`
}

IntercomUnlockRPC defines model for IntercomUnlockRPC.

type IntercomUnlockRPCJsonrpc added in v0.4.0

type IntercomUnlockRPCJsonrpc string

IntercomUnlockRPCJsonrpc defines model for IntercomUnlockRPC.Jsonrpc.

const (
	N20 IntercomUnlockRPCJsonrpc = "2.0"
)

Defines values for IntercomUnlockRPCJsonrpc.

func (IntercomUnlockRPCJsonrpc) Valid added in v0.4.0

func (e IntercomUnlockRPCJsonrpc) Valid() bool

Valid indicates whether the value is a known member of the IntercomUnlockRPCJsonrpc enum.

type IntercomUnlockRPCMethod added in v0.4.0

type IntercomUnlockRPCMethod string

IntercomUnlockRPCMethod defines model for IntercomUnlockRPC.Method.

const (
	UnlockDoor IntercomUnlockRPCMethod = "unlock_door"
)

Defines values for IntercomUnlockRPCMethod.

func (IntercomUnlockRPCMethod) Valid added in v0.4.0

func (e IntercomUnlockRPCMethod) Valid() bool

Valid indicates whether the value is a known member of the IntercomUnlockRPCMethod enum.

type Json

type Json = JsonValue

Json Explicit escape hatch for fields without observed structure or typed error responses.

type JsonValue

type JsonValue = interface{}

JsonValue Explicit escape hatch for fields without observed structure or typed error responses.

type Kind

type Kind = string

Kind defines model for kind.

type LegacyDeviceHealth

type LegacyDeviceHealth struct {
	BatteryLevel         *int                   `json:"battery_level,omitempty"`
	BatteryStatus        *string                `json:"battery_status,omitempty"`
	FirmwareVersion      *string                `json:"firmware_version,omitempty"`
	LastUpdate           *string                `json:"last_update,omitempty"`
	SignalStrength       *int                   `json:"signal_strength,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LegacyDeviceHealth Fields consumed by the legacy health adapter; no captured C1 response establishes additional fields.

func (LegacyDeviceHealth) Get

func (a LegacyDeviceHealth) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LegacyDeviceHealth. Returns the specified element and whether it was found

func (LegacyDeviceHealth) MarshalJSON

func (a LegacyDeviceHealth) MarshalJSON() ([]byte, error)

Override default JSON handling for LegacyDeviceHealth to handle AdditionalProperties

func (*LegacyDeviceHealth) Set

func (a *LegacyDeviceHealth) Set(fieldName string, value interface{})

Setter for additional properties for LegacyDeviceHealth

func (*LegacyDeviceHealth) UnmarshalJSON

func (a *LegacyDeviceHealth) UnmarshalJSON(b []byte) error

Override default JSON handling for LegacyDeviceHealth to handle AdditionalProperties

type LegacyPasswordGrant

type LegacyPasswordGrant struct {
	ClientId  string                       `json:"client_id"`
	GrantType LegacyPasswordGrantGrantType `json:"grant_type"`
	Password  string                       `json:"password"`
	Scope     string                       `json:"scope"`
	Username  string                       `json:"username"`
}

LegacyPasswordGrant defines model for LegacyPasswordGrant.

type LegacyPasswordGrantGrantType

type LegacyPasswordGrantGrantType string

LegacyPasswordGrantGrantType defines model for LegacyPasswordGrant.GrantType.

const (
	Password LegacyPasswordGrantGrantType = "password"
)

Defines values for LegacyPasswordGrantGrantType.

func (LegacyPasswordGrantGrantType) Valid

Valid indicates whether the value is a known member of the LegacyPasswordGrantGrantType enum.

type LegacySignalingTicket

type LegacySignalingTicket struct {
	Ticket               string                 `json:"ticket"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LegacySignalingTicket defines model for LegacySignalingTicket.

func (LegacySignalingTicket) Get

func (a LegacySignalingTicket) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LegacySignalingTicket. Returns the specified element and whether it was found

func (LegacySignalingTicket) MarshalJSON

func (a LegacySignalingTicket) MarshalJSON() ([]byte, error)

Override default JSON handling for LegacySignalingTicket to handle AdditionalProperties

func (*LegacySignalingTicket) Set

func (a *LegacySignalingTicket) Set(fieldName string, value interface{})

Setter for additional properties for LegacySignalingTicket

func (*LegacySignalingTicket) UnmarshalJSON

func (a *LegacySignalingTicket) UnmarshalJSON(b []byte) error

Override default JSON handling for LegacySignalingTicket to handle AdditionalProperties

type Limit

type Limit = int

Limit defines model for limit.

type ListDevicesResponse

type ListDevicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeviceList
}

func ParseListDevicesResponse

func ParseListDevicesResponse(rsp *http.Response) (*ListDevicesResponse, error)

ParseListDevicesResponse parses an HTTP response from a ListDevicesWithResponse call

func (ListDevicesResponse) ContentType

func (r ListDevicesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListDevicesResponse) GetBody

func (r ListDevicesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListDevicesResponse) GetJSON200

func (r ListDevicesResponse) GetJSON200() *DeviceList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListDevicesResponse) Status

func (r ListDevicesResponse) Status() string

Status returns HTTPResponse.Status

func (ListDevicesResponse) StatusCode

func (r ListDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLocationDevicesResponse

type ListLocationDevicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LocationGroupDevices
}

func ParseListLocationDevicesResponse

func ParseListLocationDevicesResponse(rsp *http.Response) (*ListLocationDevicesResponse, error)

ParseListLocationDevicesResponse parses an HTTP response from a ListLocationDevicesWithResponse call

func (ListLocationDevicesResponse) ContentType

func (r ListLocationDevicesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListLocationDevicesResponse) GetBody

func (r ListLocationDevicesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListLocationDevicesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListLocationDevicesResponse) Status

Status returns HTTPResponse.Status

func (ListLocationDevicesResponse) StatusCode

func (r ListLocationDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLocationGroupsResponse

type ListLocationGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LocationGroups
}

func ParseListLocationGroupsResponse

func ParseListLocationGroupsResponse(rsp *http.Response) (*ListLocationGroupsResponse, error)

ParseListLocationGroupsResponse parses an HTTP response from a ListLocationGroupsWithResponse call

func (ListLocationGroupsResponse) ContentType

func (r ListLocationGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListLocationGroupsResponse) GetBody

func (r ListLocationGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListLocationGroupsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListLocationGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListLocationGroupsResponse) StatusCode

func (r ListLocationGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLocationsResponse

type ListLocationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LocationList
}

func ParseListLocationsResponse

func ParseListLocationsResponse(rsp *http.Response) (*ListLocationsResponse, error)

ParseListLocationsResponse parses an HTTP response from a ListLocationsWithResponse call

func (ListLocationsResponse) ContentType

func (r ListLocationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListLocationsResponse) GetBody

func (r ListLocationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListLocationsResponse) GetJSON200

func (r ListLocationsResponse) GetJSON200() *LocationList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListLocationsResponse) Status

func (r ListLocationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListLocationsResponse) StatusCode

func (r ListLocationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LiveViewSetting

type LiveViewSetting struct {
	LiveViewEnabled bool `json:"live_view_enabled"`
}

LiveViewSetting defines model for LiveViewSetting.

type LiveViewSettingRequest

type LiveViewSettingRequest struct {
	Entity LiveViewSetting `json:"entity"`
}

LiveViewSettingRequest defines model for LiveViewSettingRequest.

type LocationAddress

type LocationAddress struct {
	Address1             *string                `json:"address1,omitempty"`
	Address2             *string                `json:"address2,omitempty"`
	City                 *string                `json:"city,omitempty"`
	Country              *string                `json:"country,omitempty"`
	State                *string                `json:"state,omitempty"`
	Timezone             *string                `json:"timezone,omitempty"`
	ZipCode              *string                `json:"zip_code,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationAddress defines model for LocationAddress.

func (LocationAddress) Get

func (a LocationAddress) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationAddress. Returns the specified element and whether it was found

func (LocationAddress) MarshalJSON

func (a LocationAddress) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationAddress to handle AdditionalProperties

func (*LocationAddress) Set

func (a *LocationAddress) Set(fieldName string, value interface{})

Setter for additional properties for LocationAddress

func (*LocationAddress) UnmarshalJSON

func (a *LocationAddress) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationAddress to handle AdditionalProperties

type LocationAttributes

type LocationAttributes struct {
	City                 *string                `json:"city,omitempty"`
	Country              *string                `json:"country,omitempty"`
	Latitude             *float32               `json:"latitude,omitempty"`
	Longitude            *float32               `json:"longitude,omitempty"`
	Name                 *string                `json:"name,omitempty"`
	State                *string                `json:"state,omitempty"`
	TimeZone             *string                `json:"time_zone,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationAttributes defines model for LocationAttributes.

func (LocationAttributes) Get

func (a LocationAttributes) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationAttributes. Returns the specified element and whether it was found

func (LocationAttributes) MarshalJSON

func (a LocationAttributes) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationAttributes to handle AdditionalProperties

func (*LocationAttributes) Set

func (a *LocationAttributes) Set(fieldName string, value interface{})

Setter for additional properties for LocationAttributes

func (*LocationAttributes) UnmarshalJSON

func (a *LocationAttributes) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationAttributes to handle AdditionalProperties

type LocationDetail

type LocationDetail struct {
	Data                 LocationResource       `json:"data"`
	Included             *[]LocationResource    `json:"included,omitempty"`
	Meta                 *LocationMeta          `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationDetail defines model for LocationDetail.

func (LocationDetail) Get

func (a LocationDetail) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationDetail. Returns the specified element and whether it was found

func (LocationDetail) MarshalJSON

func (a LocationDetail) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationDetail to handle AdditionalProperties

func (*LocationDetail) Set

func (a *LocationDetail) Set(fieldName string, value interface{})

Setter for additional properties for LocationDetail

func (*LocationDetail) UnmarshalJSON

func (a *LocationDetail) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationDetail to handle AdditionalProperties

type LocationGroup

type LocationGroup struct {
	Id                   *string                `json:"id,omitempty"`
	Name                 *string                `json:"name,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationGroup Group entries were empty or null in the capture; identity fields follow the baseline fixtures.

func (LocationGroup) Get

func (a LocationGroup) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationGroup. Returns the specified element and whether it was found

func (LocationGroup) MarshalJSON

func (a LocationGroup) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationGroup to handle AdditionalProperties

func (*LocationGroup) Set

func (a *LocationGroup) Set(fieldName string, value interface{})

Setter for additional properties for LocationGroup

func (*LocationGroup) UnmarshalJSON

func (a *LocationGroup) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationGroup to handle AdditionalProperties

type LocationGroupDevices

type LocationGroupDevices struct {
	Groups               []LocationGroup        `json:"groups"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationGroupDevices defines model for LocationGroupDevices.

func (LocationGroupDevices) Get

func (a LocationGroupDevices) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationGroupDevices. Returns the specified element and whether it was found

func (LocationGroupDevices) MarshalJSON

func (a LocationGroupDevices) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationGroupDevices to handle AdditionalProperties

func (*LocationGroupDevices) Set

func (a *LocationGroupDevices) Set(fieldName string, value interface{})

Setter for additional properties for LocationGroupDevices

func (*LocationGroupDevices) UnmarshalJSON

func (a *LocationGroupDevices) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationGroupDevices to handle AdditionalProperties

type LocationGroups

type LocationGroups struct {
	DeviceGroups         *[]LocationGroup       `json:"device_groups,omitempty"`
	IsOwner              *bool                  `json:"is_owner,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationGroups defines model for LocationGroups.

func (LocationGroups) Get

func (a LocationGroups) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationGroups. Returns the specified element and whether it was found

func (LocationGroups) MarshalJSON

func (a LocationGroups) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationGroups to handle AdditionalProperties

func (*LocationGroups) Set

func (a *LocationGroups) Set(fieldName string, value interface{})

Setter for additional properties for LocationGroups

func (*LocationGroups) UnmarshalJSON

func (a *LocationGroups) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationGroups to handle AdditionalProperties

type LocationID

type LocationID = string

LocationID defines model for locationID.

type LocationId

type LocationId = string

LocationId defines model for location_id.

type LocationList

type LocationList struct {
	LocationOperationSets *map[string]DeviceOperationSet `json:"location_operation_sets,omitempty"`
	UserLocations         []LocationSummary              `json:"user_locations"`
	AdditionalProperties  map[string]interface{}         `json:"-"`
}

LocationList defines model for LocationList.

func (LocationList) Get

func (a LocationList) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationList. Returns the specified element and whether it was found

func (LocationList) MarshalJSON

func (a LocationList) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationList to handle AdditionalProperties

func (*LocationList) Set

func (a *LocationList) Set(fieldName string, value interface{})

Setter for additional properties for LocationList

func (*LocationList) UnmarshalJSON

func (a *LocationList) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationList to handle AdditionalProperties

type LocationMeta

type LocationMeta struct {
	Time                 *time.Time             `json:"time,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationMeta defines model for LocationMeta.

func (LocationMeta) Get

func (a LocationMeta) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationMeta. Returns the specified element and whether it was found

func (LocationMeta) MarshalJSON

func (a LocationMeta) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationMeta to handle AdditionalProperties

func (*LocationMeta) Set

func (a *LocationMeta) Set(fieldName string, value interface{})

Setter for additional properties for LocationMeta

func (*LocationMeta) UnmarshalJSON

func (a *LocationMeta) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationMeta to handle AdditionalProperties

type LocationResource

type LocationResource struct {
	Attributes           *LocationAttributes    `json:"attributes,omitempty"`
	Id                   string                 `json:"id"`
	Type                 string                 `json:"type"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationResource defines model for LocationResource.

func (LocationResource) Get

func (a LocationResource) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationResource. Returns the specified element and whether it was found

func (LocationResource) MarshalJSON

func (a LocationResource) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationResource to handle AdditionalProperties

func (*LocationResource) Set

func (a *LocationResource) Set(fieldName string, value interface{})

Setter for additional properties for LocationResource

func (*LocationResource) UnmarshalJSON

func (a *LocationResource) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationResource to handle AdditionalProperties

type LocationSubscription

type LocationSubscription = string

LocationSubscription defines model for locationSubscription.

type LocationSummary

type LocationSummary struct {
	Address              *LocationAddress       `json:"address,omitempty"`
	GeoCoordinates       *GeoCoordinates        `json:"geo_coordinates,omitempty"`
	IsOwner              *bool                  `json:"is_owner,omitempty"`
	LocationId           string                 `json:"location_id"`
	LocationType         *string                `json:"location_type,omitempty"`
	Name                 string                 `json:"name"`
	OwnerId              *int64                 `json:"owner_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationSummary defines model for LocationSummary.

func (LocationSummary) Get

func (a LocationSummary) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LocationSummary. Returns the specified element and whether it was found

func (LocationSummary) MarshalJSON

func (a LocationSummary) MarshalJSON() ([]byte, error)

Override default JSON handling for LocationSummary to handle AdditionalProperties

func (*LocationSummary) Set

func (a *LocationSummary) Set(fieldName string, value interface{})

Setter for additional properties for LocationSummary

func (*LocationSummary) UnmarshalJSON

func (a *LocationSummary) UnmarshalJSON(b []byte) error

Override default JSON handling for LocationSummary to handle AdditionalProperties

type MotionSettings

type MotionSettings struct {
	MotionDetectionEnabled *bool                `json:"motion_detection_enabled,omitempty"`
	AdditionalProperties   map[string]JsonValue `json:"-"`
}

MotionSettings defines model for MotionSettings.

func (MotionSettings) Get

func (a MotionSettings) Get(fieldName string) (value JsonValue, found bool)

Getter for additional properties for MotionSettings. Returns the specified element and whether it was found

func (MotionSettings) MarshalJSON

func (a MotionSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for MotionSettings to handle AdditionalProperties

func (*MotionSettings) Set

func (a *MotionSettings) Set(fieldName string, value JsonValue)

Setter for additional properties for MotionSettings

func (*MotionSettings) UnmarshalJSON

func (a *MotionSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for MotionSettings to handle AdditionalProperties

type MotionSettingsPatch

type MotionSettingsPatch struct {
	MotionDetectionEnabled *bool                `json:"motion_detection_enabled,omitempty"`
	AdditionalProperties   map[string]JsonValue `json:"-"`
}

MotionSettingsPatch defines model for MotionSettingsPatch.

func (MotionSettingsPatch) Get

func (a MotionSettingsPatch) Get(fieldName string) (value JsonValue, found bool)

Getter for additional properties for MotionSettingsPatch. Returns the specified element and whether it was found

func (MotionSettingsPatch) MarshalJSON

func (a MotionSettingsPatch) MarshalJSON() ([]byte, error)

Override default JSON handling for MotionSettingsPatch to handle AdditionalProperties

func (*MotionSettingsPatch) Set

func (a *MotionSettingsPatch) Set(fieldName string, value JsonValue)

Setter for additional properties for MotionSettingsPatch

func (*MotionSettingsPatch) UnmarshalJSON

func (a *MotionSettingsPatch) UnmarshalJSON(b []byte) error

Override default JSON handling for MotionSettingsPatch to handle AdditionalProperties

type OAuthToken

type OAuthToken struct {
	AccessToken          string                 `json:"access_token"`
	ExpiresIn            *int                   `json:"expires_in,omitempty"`
	RefreshToken         *string                `json:"refresh_token,omitempty"`
	Scope                *string                `json:"scope,omitempty"`
	TokenType            string                 `json:"token_type"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OAuthToken defines model for OAuthToken.

func (OAuthToken) Get

func (a OAuthToken) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OAuthToken. Returns the specified element and whether it was found

func (OAuthToken) MarshalJSON

func (a OAuthToken) MarshalJSON() ([]byte, error)

Override default JSON handling for OAuthToken to handle AdditionalProperties

func (*OAuthToken) Set

func (a *OAuthToken) Set(fieldName string, value interface{})

Setter for additional properties for OAuthToken

func (*OAuthToken) UnmarshalJSON

func (a *OAuthToken) UnmarshalJSON(b []byte) error

Override default JSON handling for OAuthToken to handle AdditionalProperties

type OAuthTokenGrant

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

OAuthTokenGrant Form variants currently used by Go: authorization-code PKCE, explicit refresh, and the compatibility password grant fallback.

func (OAuthTokenGrant) AsAuthorizationCodeGrant

func (t OAuthTokenGrant) AsAuthorizationCodeGrant() (AuthorizationCodeGrant, error)

AsAuthorizationCodeGrant returns the union data inside the OAuthTokenGrant as a AuthorizationCodeGrant

func (OAuthTokenGrant) AsLegacyPasswordGrant

func (t OAuthTokenGrant) AsLegacyPasswordGrant() (LegacyPasswordGrant, error)

AsLegacyPasswordGrant returns the union data inside the OAuthTokenGrant as a LegacyPasswordGrant

func (OAuthTokenGrant) AsRefreshTokenGrant

func (t OAuthTokenGrant) AsRefreshTokenGrant() (RefreshTokenGrant, error)

AsRefreshTokenGrant returns the union data inside the OAuthTokenGrant as a RefreshTokenGrant

func (*OAuthTokenGrant) FromAuthorizationCodeGrant

func (t *OAuthTokenGrant) FromAuthorizationCodeGrant(v AuthorizationCodeGrant) error

FromAuthorizationCodeGrant overwrites any union data inside the OAuthTokenGrant as the provided AuthorizationCodeGrant

func (*OAuthTokenGrant) FromLegacyPasswordGrant

func (t *OAuthTokenGrant) FromLegacyPasswordGrant(v LegacyPasswordGrant) error

FromLegacyPasswordGrant overwrites any union data inside the OAuthTokenGrant as the provided LegacyPasswordGrant

func (*OAuthTokenGrant) FromRefreshTokenGrant

func (t *OAuthTokenGrant) FromRefreshTokenGrant(v RefreshTokenGrant) error

FromRefreshTokenGrant overwrites any union data inside the OAuthTokenGrant as the provided RefreshTokenGrant

func (OAuthTokenGrant) MarshalJSON

func (t OAuthTokenGrant) MarshalJSON() ([]byte, error)

func (*OAuthTokenGrant) MergeAuthorizationCodeGrant

func (t *OAuthTokenGrant) MergeAuthorizationCodeGrant(v AuthorizationCodeGrant) error

MergeAuthorizationCodeGrant performs a merge with any union data inside the OAuthTokenGrant, using the provided AuthorizationCodeGrant

func (*OAuthTokenGrant) MergeLegacyPasswordGrant

func (t *OAuthTokenGrant) MergeLegacyPasswordGrant(v LegacyPasswordGrant) error

MergeLegacyPasswordGrant performs a merge with any union data inside the OAuthTokenGrant, using the provided LegacyPasswordGrant

func (*OAuthTokenGrant) MergeRefreshTokenGrant

func (t *OAuthTokenGrant) MergeRefreshTokenGrant(v RefreshTokenGrant) error

MergeRefreshTokenGrant performs a merge with any union data inside the OAuthTokenGrant, using the provided RefreshTokenGrant

func (*OAuthTokenGrant) UnmarshalJSON

func (t *OAuthTokenGrant) UnmarshalJSON(b []byte) error

type OlderThan

type OlderThan = int64

OlderThan defines model for older_than.

type Order

type Order = string

Order defines model for order.

type OtherDeviceKind

type OtherDeviceKind string

OtherDeviceKind Known devices with no doorbell, chime, or camera projection.

const (
	BeamsCt200Transformer OtherDeviceKind = "beams_ct200_transformer"
	IntercomHandsetAudio  OtherDeviceKind = "intercom_handset_audio"
	IntercomHandsetVideo  OtherDeviceKind = "intercom_handset_video"
)

Defines values for OtherDeviceKind.

func (OtherDeviceKind) Valid

func (e OtherDeviceKind) Valid() bool

Valid indicates whether the value is a known member of the OtherDeviceKind enum.

type PTZAutoScan

type PTZAutoScan struct {
	// PauseMs Auto-scan pause in milliseconds.
	PauseMs *int `json:"pause_ms,omitempty"`

	// StepSize Device-reported auto-scan step size; units are not established by the capture.
	StepSize             *float32               `json:"step_size,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PTZAutoScan defines model for PTZAutoScan.

func (PTZAutoScan) Get

func (a PTZAutoScan) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PTZAutoScan. Returns the specified element and whether it was found

func (PTZAutoScan) MarshalJSON

func (a PTZAutoScan) MarshalJSON() ([]byte, error)

Override default JSON handling for PTZAutoScan to handle AdditionalProperties

func (*PTZAutoScan) Set

func (a *PTZAutoScan) Set(fieldName string, value interface{})

Setter for additional properties for PTZAutoScan

func (*PTZAutoScan) UnmarshalJSON

func (a *PTZAutoScan) UnmarshalJSON(b []byte) error

Override default JSON handling for PTZAutoScan to handle AdditionalProperties

type PTZAxisSettings

type PTZAxisSettings struct {
	Movement             *PTZMovement           `json:"movement,omitempty"`
	Positions            *PTZPositions          `json:"positions,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PTZAxisSettings defines model for PTZAxisSettings.

func (PTZAxisSettings) Get

func (a PTZAxisSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PTZAxisSettings. Returns the specified element and whether it was found

func (PTZAxisSettings) MarshalJSON

func (a PTZAxisSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for PTZAxisSettings to handle AdditionalProperties

func (*PTZAxisSettings) Set

func (a *PTZAxisSettings) Set(fieldName string, value interface{})

Setter for additional properties for PTZAxisSettings

func (*PTZAxisSettings) UnmarshalJSON

func (a *PTZAxisSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for PTZAxisSettings to handle AdditionalProperties

type PTZMovement

type PTZMovement struct {
	// MaxAcceleration Non-negative device-reported acceleration limit; its scale is not established.
	MaxAcceleration *float32 `json:"max_acceleration,omitempty"`

	// MaxSpeed Device-reported normalized maximum PTZ speed, distinct from a command's requested speed.
	MaxSpeed *float32 `json:"max_speed,omitempty"`

	// StepSize Device-reported movement step size; units are not established by the capture.
	StepSize             *float32               `json:"step_size,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PTZMovement defines model for PTZMovement.

func (PTZMovement) Get

func (a PTZMovement) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PTZMovement. Returns the specified element and whether it was found

func (PTZMovement) MarshalJSON

func (a PTZMovement) MarshalJSON() ([]byte, error)

Override default JSON handling for PTZMovement to handle AdditionalProperties

func (*PTZMovement) Set

func (a *PTZMovement) Set(fieldName string, value interface{})

Setter for additional properties for PTZMovement

func (*PTZMovement) UnmarshalJSON

func (a *PTZMovement) UnmarshalJSON(b []byte) error

Override default JSON handling for PTZMovement to handle AdditionalProperties

type PTZPositions

type PTZPositions struct {
	Default              *float32               `json:"default,omitempty"`
	Max                  *float32               `json:"max,omitempty"`
	Min                  *float32               `json:"min,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PTZPositions defines model for PTZPositions.

func (PTZPositions) Get

func (a PTZPositions) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PTZPositions. Returns the specified element and whether it was found

func (PTZPositions) MarshalJSON

func (a PTZPositions) MarshalJSON() ([]byte, error)

Override default JSON handling for PTZPositions to handle AdditionalProperties

func (*PTZPositions) Set

func (a *PTZPositions) Set(fieldName string, value interface{})

Setter for additional properties for PTZPositions

func (*PTZPositions) UnmarshalJSON

func (a *PTZPositions) UnmarshalJSON(b []byte) error

Override default JSON handling for PTZPositions to handle AdditionalProperties

type PTZSettings

type PTZSettings struct {
	AutoScan *PTZAutoScan `json:"auto_scan,omitempty"`

	// Mode Observed PTZ mode is user; other device modes remain valid.
	Mode                 *string                `json:"mode,omitempty"`
	PanSettings          *PTZAxisSettings       `json:"pan_settings,omitempty"`
	TiltSettings         *PTZAxisSettings       `json:"tilt_settings,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PTZSettings defines model for PTZSettings.

func (PTZSettings) Get

func (a PTZSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PTZSettings. Returns the specified element and whether it was found

func (PTZSettings) MarshalJSON

func (a PTZSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for PTZSettings to handle AdditionalProperties

func (*PTZSettings) Set

func (a *PTZSettings) Set(fieldName string, value interface{})

Setter for additional properties for PTZSettings

func (*PTZSettings) UnmarshalJSON

func (a *PTZSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for PTZSettings to handle AdditionalProperties

type PatchDeviceSettingsJSONRequestBody

type PatchDeviceSettingsJSONRequestBody = DeviceSettingsPatch

PatchDeviceSettingsJSONRequestBody defines body for PatchDeviceSettings for application/json ContentType.

type PatchDeviceSettingsResponse

type PatchDeviceSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeviceSettings
}

func ParsePatchDeviceSettingsResponse

func ParsePatchDeviceSettingsResponse(rsp *http.Response) (*PatchDeviceSettingsResponse, error)

ParsePatchDeviceSettingsResponse parses an HTTP response from a PatchDeviceSettingsWithResponse call

func (PatchDeviceSettingsResponse) ContentType

func (r PatchDeviceSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchDeviceSettingsResponse) GetBody

func (r PatchDeviceSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchDeviceSettingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchDeviceSettingsResponse) Status

Status returns HTTPResponse.Status

func (PatchDeviceSettingsResponse) StatusCode

func (r PatchDeviceSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PushDeviceMetadata added in v0.4.0

type PushDeviceMetadata struct {
	ApiVersion    *int                            `json:"api_version,omitempty"`
	DeviceModel   *string                         `json:"device_model,omitempty"`
	PnDictVersion PushDeviceMetadataPnDictVersion `json:"pn_dict_version"`
	PnService     PushDeviceMetadataPnService     `json:"pn_service"`
}

PushDeviceMetadata defines model for PushDeviceMetadata.

type PushDeviceMetadataPnDictVersion added in v0.4.0

type PushDeviceMetadataPnDictVersion string

PushDeviceMetadataPnDictVersion defines model for PushDeviceMetadata.PnDictVersion.

const (
	N200 PushDeviceMetadataPnDictVersion = "2.0.0"
)

Defines values for PushDeviceMetadataPnDictVersion.

func (PushDeviceMetadataPnDictVersion) Valid added in v0.4.0

Valid indicates whether the value is a known member of the PushDeviceMetadataPnDictVersion enum.

type PushDeviceMetadataPnService added in v0.4.0

type PushDeviceMetadataPnService string

PushDeviceMetadataPnService defines model for PushDeviceMetadata.PnService.

const (
	Fcm PushDeviceMetadataPnService = "fcm"
)

Defines values for PushDeviceMetadataPnService.

func (PushDeviceMetadataPnService) Valid added in v0.4.0

Valid indicates whether the value is a known member of the PushDeviceMetadataPnService enum.

type PushDeviceRegistration added in v0.4.0

type PushDeviceRegistration struct {
	Device PushDeviceRegistrationDevice `json:"device"`
}

PushDeviceRegistration defines model for PushDeviceRegistration.

type PushDeviceRegistrationDevice added in v0.4.0

type PushDeviceRegistrationDevice struct {
	Metadata              PushDeviceMetadata             `json:"metadata"`
	Os                    PushDeviceRegistrationDeviceOs `json:"os"`
	PushNotificationToken string                         `json:"push_notification_token"`
}

PushDeviceRegistrationDevice defines model for PushDeviceRegistrationDevice.

type PushDeviceRegistrationDeviceOs added in v0.4.0

type PushDeviceRegistrationDeviceOs string

PushDeviceRegistrationDeviceOs defines model for PushDeviceRegistrationDevice.Os.

const (
	PushDeviceRegistrationDeviceOsAndroid PushDeviceRegistrationDeviceOs = "android"
)

Defines values for PushDeviceRegistrationDeviceOs.

func (PushDeviceRegistrationDeviceOs) Valid added in v0.4.0

Valid indicates whether the value is a known member of the PushDeviceRegistrationDeviceOs enum.

type RateLimited

type RateLimited = JsonValue

RateLimited Explicit escape hatch for fields without observed structure or typed error responses.

type Recording

type Recording struct {
	Answered  bool              `json:"answered"`
	CreatedAt string            `json:"created_at"`
	Doorbot   Recording_Doorbot `json:"doorbot"`
	Id        int               `json:"id"`

	// Kind Known recording kinds include ding, motion and on_demand; future kinds remain valid.
	Kind                 string                 `json:"kind"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Recording defines model for Recording.

func (Recording) Get

func (a Recording) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Recording. Returns the specified element and whether it was found

func (Recording) MarshalJSON

func (a Recording) MarshalJSON() ([]byte, error)

Override default JSON handling for Recording to handle AdditionalProperties

func (*Recording) Set

func (a *Recording) Set(fieldName string, value interface{})

Setter for additional properties for Recording

func (*Recording) UnmarshalJSON

func (a *Recording) UnmarshalJSON(b []byte) error

Override default JSON handling for Recording to handle AdditionalProperties

type RecordingArray

type RecordingArray = []Recording

RecordingArray defines model for RecordingArray.

type RecordingId

type RecordingId = int64

RecordingId defines model for recording_id.

type RecordingShare

type RecordingShare struct {
	Url string `json:"url"`
}

RecordingShare defines model for RecordingShare.

type Recording_Doorbot

type Recording_Doorbot struct {
	// Description Legacy recording fixture field.
	Description *string `json:"description,omitempty"`
	Id          int     `json:"id"`

	// Type Legacy recording fixture field.
	Type                 *string                `json:"type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Recording_Doorbot defines model for Recording.Doorbot.

func (Recording_Doorbot) Get

func (a Recording_Doorbot) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Recording_Doorbot. Returns the specified element and whether it was found

func (Recording_Doorbot) MarshalJSON

func (a Recording_Doorbot) MarshalJSON() ([]byte, error)

Override default JSON handling for Recording_Doorbot to handle AdditionalProperties

func (*Recording_Doorbot) Set

func (a *Recording_Doorbot) Set(fieldName string, value interface{})

Setter for additional properties for Recording_Doorbot

func (*Recording_Doorbot) UnmarshalJSON

func (a *Recording_Doorbot) UnmarshalJSON(b []byte) error

Override default JSON handling for Recording_Doorbot to handle AdditionalProperties

type RefreshLegacySnapshotTimestampJSONRequestBody

type RefreshLegacySnapshotTimestampJSONRequestBody = SnapshotTimestampRequest

RefreshLegacySnapshotTimestampJSONRequestBody defines body for RefreshLegacySnapshotTimestamp for application/json ContentType.

type RefreshLegacySnapshotTimestampResponse

type RefreshLegacySnapshotTimestampResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SnapshotTimestampResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseRefreshLegacySnapshotTimestampResponse

func ParseRefreshLegacySnapshotTimestampResponse(rsp *http.Response) (*RefreshLegacySnapshotTimestampResponse, error)

ParseRefreshLegacySnapshotTimestampResponse parses an HTTP response from a RefreshLegacySnapshotTimestampWithResponse call

func (RefreshLegacySnapshotTimestampResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RefreshLegacySnapshotTimestampResponse) GetBody

GetBody returns the raw response body bytes

func (RefreshLegacySnapshotTimestampResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RefreshLegacySnapshotTimestampResponse) GetJSONDefault

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RefreshLegacySnapshotTimestampResponse) Status

Status returns HTTPResponse.Status

func (RefreshLegacySnapshotTimestampResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RefreshTokenGrant

type RefreshTokenGrant struct {
	ClientId     string                     `json:"client_id"`
	GrantType    RefreshTokenGrantGrantType `json:"grant_type"`
	RefreshToken string                     `json:"refresh_token"`
	Scope        string                     `json:"scope"`
}

RefreshTokenGrant defines model for RefreshTokenGrant.

type RefreshTokenGrantGrantType

type RefreshTokenGrantGrantType string

RefreshTokenGrantGrantType defines model for RefreshTokenGrant.GrantType.

const (
	RefreshToken RefreshTokenGrantGrantType = "refresh_token"
)

Defines values for RefreshTokenGrantGrantType.

func (RefreshTokenGrantGrantType) Valid

func (e RefreshTokenGrantGrantType) Valid() bool

Valid indicates whether the value is a known member of the RefreshTokenGrantGrantType enum.

type RegisterClientSessionJSONRequestBody

type RegisterClientSessionJSONRequestBody = ClientSessionRegistration

RegisterClientSessionJSONRequestBody defines body for RegisterClientSession for application/json ContentType.

type RegisterClientSessionResponse

type RegisterClientSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Json
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseRegisterClientSessionResponse

func ParseRegisterClientSessionResponse(rsp *http.Response) (*RegisterClientSessionResponse, error)

ParseRegisterClientSessionResponse parses an HTTP response from a RegisterClientSessionWithResponse call

func (RegisterClientSessionResponse) ContentType

func (r RegisterClientSessionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RegisterClientSessionResponse) GetBody

func (r RegisterClientSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RegisterClientSessionResponse) GetJSON200

func (r RegisterClientSessionResponse) GetJSON200() *Json

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RegisterClientSessionResponse) GetJSONDefault

func (r RegisterClientSessionResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RegisterClientSessionResponse) Status

Status returns HTTPResponse.Status

func (RegisterClientSessionResponse) StatusCode

func (r RegisterClientSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RegisterPushDeviceJSONRequestBody added in v0.4.0

type RegisterPushDeviceJSONRequestBody = PushDeviceRegistration

RegisterPushDeviceJSONRequestBody defines body for RegisterPushDevice for application/json ContentType.

type RegisterPushDeviceResponse added in v0.4.0

type RegisterPushDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRegisterPushDeviceResponse added in v0.4.0

func ParseRegisterPushDeviceResponse(rsp *http.Response) (*RegisterPushDeviceResponse, error)

ParseRegisterPushDeviceResponse parses an HTTP response from a RegisterPushDeviceWithResponse call

func (RegisterPushDeviceResponse) ContentType added in v0.4.0

func (r RegisterPushDeviceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RegisterPushDeviceResponse) GetBody added in v0.4.0

func (r RegisterPushDeviceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RegisterPushDeviceResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (RegisterPushDeviceResponse) StatusCode added in v0.4.0

func (r RegisterPushDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestLegacySignalingTicketResponse

type RequestLegacySignalingTicketResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LegacySignalingTicket
}

func ParseRequestLegacySignalingTicketResponse

func ParseRequestLegacySignalingTicketResponse(rsp *http.Response) (*RequestLegacySignalingTicketResponse, error)

ParseRequestLegacySignalingTicketResponse parses an HTTP response from a RequestLegacySignalingTicketWithResponse call

func (RequestLegacySignalingTicketResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RequestLegacySignalingTicketResponse) GetBody

GetBody returns the raw response body bytes

func (RequestLegacySignalingTicketResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RequestLegacySignalingTicketResponse) Status

Status returns HTTPResponse.Status

func (RequestLegacySignalingTicketResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestedTransport

type RequestedTransport = string

RequestedTransport defines model for requestedTransport.

type SendDeviceCommandJSONRequestBody

type SendDeviceCommandJSONRequestBody = DeviceCommand

SendDeviceCommandJSONRequestBody defines body for SendDeviceCommand for application/json ContentType.

type SendDeviceCommandResponse

type SendDeviceCommandResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseSendDeviceCommandResponse

func ParseSendDeviceCommandResponse(rsp *http.Response) (*SendDeviceCommandResponse, error)

ParseSendDeviceCommandResponse parses an HTTP response from a SendDeviceCommandWithResponse call

func (SendDeviceCommandResponse) ContentType

func (r SendDeviceCommandResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SendDeviceCommandResponse) GetBody

func (r SendDeviceCommandResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SendDeviceCommandResponse) Status

func (r SendDeviceCommandResponse) Status() string

Status returns HTTPResponse.Status

func (SendDeviceCommandResponse) StatusCode

func (r SendDeviceCommandResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetChimeVolumeParams

type SetChimeVolumeParams struct {
	ChimeDescription    string `form:"chime[description]" json:"chime[description]"`
	ChimeSettingsVolume int    `form:"chime[settings][volume]" json:"chime[settings][volume]"`
}

SetChimeVolumeParams defines parameters for SetChimeVolume.

type SetChimeVolumeResponse

type SetChimeVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Json
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseSetChimeVolumeResponse

func ParseSetChimeVolumeResponse(rsp *http.Response) (*SetChimeVolumeResponse, error)

ParseSetChimeVolumeResponse parses an HTTP response from a SetChimeVolumeWithResponse call

func (SetChimeVolumeResponse) ContentType

func (r SetChimeVolumeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetChimeVolumeResponse) GetBody

func (r SetChimeVolumeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetChimeVolumeResponse) GetJSON200

func (r SetChimeVolumeResponse) GetJSON200() *Json

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetChimeVolumeResponse) GetJSONDefault

func (r SetChimeVolumeResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SetChimeVolumeResponse) Status

func (r SetChimeVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (SetChimeVolumeResponse) StatusCode

func (r SetChimeVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetLiveViewEnabledJSONRequestBody

type SetLiveViewEnabledJSONRequestBody = LiveViewSettingRequest

SetLiveViewEnabledJSONRequestBody defines body for SetLiveViewEnabled for application/json ContentType.

type SetLiveViewEnabledResponse

type SetLiveViewEnabledResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseSetLiveViewEnabledResponse

func ParseSetLiveViewEnabledResponse(rsp *http.Response) (*SetLiveViewEnabledResponse, error)

ParseSetLiveViewEnabledResponse parses an HTTP response from a SetLiveViewEnabledWithResponse call

func (SetLiveViewEnabledResponse) ContentType

func (r SetLiveViewEnabledResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetLiveViewEnabledResponse) GetBody

func (r SetLiveViewEnabledResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetLiveViewEnabledResponse) Status

Status returns HTTPResponse.Status

func (SetLiveViewEnabledResponse) StatusCode

func (r SetLiveViewEnabledResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SettingsObject

type SettingsObject map[string]JsonValue

SettingsObject defines model for SettingsObject.

type SignInForm

type SignInForm struct {
	CsrfToken string `json:"csrf-token"`
	Password  string `json:"password"`
	Username  string `json:"username"`
}

SignInForm defines model for SignInForm.

type SignInState

type SignInState struct {
	NextTimeInSecs *int `json:"next_time_in_secs,omitempty"`

	// TsvState Presence indicates two-factor verification is required.
	TsvState             *string                `json:"tsv_state,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

SignInState defines model for SignInState.

func (SignInState) Get

func (a SignInState) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SignInState. Returns the specified element and whether it was found

func (SignInState) MarshalJSON

func (a SignInState) MarshalJSON() ([]byte, error)

Override default JSON handling for SignInState to handle AdditionalProperties

func (*SignInState) Set

func (a *SignInState) Set(fieldName string, value interface{})

Setter for additional properties for SignInState

func (*SignInState) UnmarshalJSON

func (a *SignInState) UnmarshalJSON(b []byte) error

Override default JSON handling for SignInState to handle AdditionalProperties

type SirenOn

type SirenOn = SirenStatus

SirenOn defines model for SirenOn.

type SirenStatus

type SirenStatus struct {
	// Duration Server-reported siren duration in seconds.
	Duration int       `json:"duration"`
	EndsAt   time.Time `json:"ends_at"`

	// SecondsRemaining Server-reported remaining siren time in seconds.
	SecondsRemaining     int                    `json:"seconds_remaining"`
	StartedAt            time.Time              `json:"started_at"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

SirenStatus defines model for SirenStatus.

func (SirenStatus) Get

func (a SirenStatus) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SirenStatus. Returns the specified element and whether it was found

func (SirenStatus) MarshalJSON

func (a SirenStatus) MarshalJSON() ([]byte, error)

Override default JSON handling for SirenStatus to handle AdditionalProperties

func (*SirenStatus) Set

func (a *SirenStatus) Set(fieldName string, value interface{})

Setter for additional properties for SirenStatus

func (*SirenStatus) UnmarshalJSON

func (a *SirenStatus) UnmarshalJSON(b []byte) error

Override default JSON handling for SirenStatus to handle AdditionalProperties

type SnapshotTimestamp

type SnapshotTimestamp struct {
	Timestamp int64 `json:"timestamp"`
}

SnapshotTimestamp defines model for SnapshotTimestamp.

type SnapshotTimestampRequest

type SnapshotTimestampRequest struct {
	DoorbotIds []int `json:"doorbot_ids"`
}

SnapshotTimestampRequest defines model for SnapshotTimestampRequest.

type SnapshotTimestampResponse

type SnapshotTimestampResponse struct {
	Timestamps *[]SnapshotTimestamp `json:"timestamps,omitempty"`
}

SnapshotTimestampResponse defines model for SnapshotTimestampResponse.

type SourceIds

type SourceIds = string

SourceIds defines model for source_ids.

type StartTime

type StartTime = time.Time

StartTime defines model for start_time.

type StreamRecordingResponse

type StreamRecordingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
	// Headers302 the parsed response headers for an HTTP 302 response
	Headers302 *StreamRecordingResponse302Headers
}

func ParseStreamRecordingResponse

func ParseStreamRecordingResponse(rsp *http.Response) (*StreamRecordingResponse, error)

ParseStreamRecordingResponse parses an HTTP response from a StreamRecordingWithResponse call

func (StreamRecordingResponse) ContentType

func (r StreamRecordingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StreamRecordingResponse) GetBody

func (r StreamRecordingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StreamRecordingResponse) GetJSONDefault

func (r StreamRecordingResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (StreamRecordingResponse) Status

func (r StreamRecordingResponse) Status() string

Status returns HTTPResponse.Status

func (StreamRecordingResponse) StatusCode

func (r StreamRecordingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamRecordingResponse302Headers

type StreamRecordingResponse302Headers struct {
	Location *string
}

StreamRecordingResponse302Headers the declared response headers of an HTTP 302 response for StreamRecording

type SubmitOAuthCredentialsFormdataRequestBody

type SubmitOAuthCredentialsFormdataRequestBody = SignInForm

SubmitOAuthCredentialsFormdataRequestBody defines body for SubmitOAuthCredentials for application/x-www-form-urlencoded ContentType.

type SubmitOAuthCredentialsResponse

type SubmitOAuthCredentialsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SignInState
	// JSON412 the response for an HTTP 412 `application/json` response
	JSON412 *TwoFactorRequired
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *AuthFailure
	// Headers302 the parsed response headers for an HTTP 302 response
	Headers302 *SubmitOAuthCredentialsResponse302Headers
}

func ParseSubmitOAuthCredentialsResponse

func ParseSubmitOAuthCredentialsResponse(rsp *http.Response) (*SubmitOAuthCredentialsResponse, error)

ParseSubmitOAuthCredentialsResponse parses an HTTP response from a SubmitOAuthCredentialsWithResponse call

func (SubmitOAuthCredentialsResponse) ContentType

func (r SubmitOAuthCredentialsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SubmitOAuthCredentialsResponse) GetBody

func (r SubmitOAuthCredentialsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SubmitOAuthCredentialsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SubmitOAuthCredentialsResponse) GetJSON412

GetJSON412 returns the response for an HTTP 412 `application/json` response

func (SubmitOAuthCredentialsResponse) GetJSONDefault

func (r SubmitOAuthCredentialsResponse) GetJSONDefault() *AuthFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SubmitOAuthCredentialsResponse) Status

Status returns HTTPResponse.Status

func (SubmitOAuthCredentialsResponse) StatusCode

func (r SubmitOAuthCredentialsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SubmitOAuthCredentialsResponse302Headers

type SubmitOAuthCredentialsResponse302Headers struct {
	Location string
}

SubmitOAuthCredentialsResponse302Headers the declared response headers of an HTTP 302 response for SubmitOAuthCredentials

type SubscribeDeviceDingResponse added in v0.4.0

type SubscribeDeviceDingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseSubscribeDeviceDingResponse added in v0.4.0

func ParseSubscribeDeviceDingResponse(rsp *http.Response) (*SubscribeDeviceDingResponse, error)

ParseSubscribeDeviceDingResponse parses an HTTP response from a SubscribeDeviceDingWithResponse call

func (SubscribeDeviceDingResponse) ContentType added in v0.4.0

func (r SubscribeDeviceDingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SubscribeDeviceDingResponse) GetBody added in v0.4.0

func (r SubscribeDeviceDingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SubscribeDeviceDingResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (SubscribeDeviceDingResponse) StatusCode added in v0.4.0

func (r SubscribeDeviceDingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SubscribeDeviceMotionResponse added in v0.4.0

type SubscribeDeviceMotionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseSubscribeDeviceMotionResponse added in v0.4.0

func ParseSubscribeDeviceMotionResponse(rsp *http.Response) (*SubscribeDeviceMotionResponse, error)

ParseSubscribeDeviceMotionResponse parses an HTTP response from a SubscribeDeviceMotionWithResponse call

func (SubscribeDeviceMotionResponse) ContentType added in v0.4.0

func (r SubscribeDeviceMotionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SubscribeDeviceMotionResponse) GetBody added in v0.4.0

func (r SubscribeDeviceMotionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SubscribeDeviceMotionResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (SubscribeDeviceMotionResponse) StatusCode added in v0.4.0

func (r SubscribeDeviceMotionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TestChimeSoundParams

type TestChimeSoundParams struct {
	Kind TestChimeSoundParamsKind `form:"kind" json:"kind"`
}

TestChimeSoundParams defines parameters for TestChimeSound.

type TestChimeSoundParamsKind

type TestChimeSoundParamsKind string

TestChimeSoundParamsKind defines parameters for TestChimeSound.

const (
	Ding   TestChimeSoundParamsKind = "ding"
	Motion TestChimeSoundParamsKind = "motion"
)

Defines values for TestChimeSoundParamsKind.

func (TestChimeSoundParamsKind) Valid

func (e TestChimeSoundParamsKind) Valid() bool

Valid indicates whether the value is a known member of the TestChimeSoundParamsKind enum.

type TestChimeSoundResponse

type TestChimeSoundResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Json
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseTestChimeSoundResponse

func ParseTestChimeSoundResponse(rsp *http.Response) (*TestChimeSoundResponse, error)

ParseTestChimeSoundResponse parses an HTTP response from a TestChimeSoundWithResponse call

func (TestChimeSoundResponse) ContentType

func (r TestChimeSoundResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TestChimeSoundResponse) GetBody

func (r TestChimeSoundResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TestChimeSoundResponse) GetJSON200

func (r TestChimeSoundResponse) GetJSON200() *Json

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TestChimeSoundResponse) GetJSONDefault

func (r TestChimeSoundResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (TestChimeSoundResponse) Status

func (r TestChimeSoundResponse) Status() string

Status returns HTTPResponse.Status

func (TestChimeSoundResponse) StatusCode

func (r TestChimeSoundResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TimelineDevice

type TimelineDevice struct {
	Description          *string                `json:"description,omitempty"`
	Id                   *int64                 `json:"id,omitempty"`
	Type                 *string                `json:"type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

TimelineDevice defines model for TimelineDevice.

func (TimelineDevice) Get

func (a TimelineDevice) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TimelineDevice. Returns the specified element and whether it was found

func (TimelineDevice) MarshalJSON

func (a TimelineDevice) MarshalJSON() ([]byte, error)

Override default JSON handling for TimelineDevice to handle AdditionalProperties

func (*TimelineDevice) Set

func (a *TimelineDevice) Set(fieldName string, value interface{})

Setter for additional properties for TimelineDevice

func (*TimelineDevice) UnmarshalJSON

func (a *TimelineDevice) UnmarshalJSON(b []byte) error

Override default JSON handling for TimelineDevice to handle AdditionalProperties

type TimelineEvent

type TimelineEvent struct {
	Device *TimelineDevice `json:"device,omitempty"`

	// DurationMs Event duration in milliseconds.
	DurationMs *int       `json:"duration_ms,omitempty"`
	EndTime    *time.Time `json:"end_time,omitempty"`
	EventId    string     `json:"event_id"`

	// EventType Captured type is on_demand; other event kinds remain valid.
	EventType  string `json:"event_type"`
	IsFavorite *bool  `json:"is_favorite,omitempty"`

	// RecordingStatus Captured recording status is ready; other statuses remain valid.
	RecordingStatus *string   `json:"recording_status,omitempty"`
	Schema          *string   `json:"schema,omitempty"`
	SourceId        *string   `json:"source_id,omitempty"`
	StartTime       time.Time `json:"start_time"`

	// State Captured event state is completed; other states remain valid.
	State                *string                `json:"state,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

TimelineEvent defines model for TimelineEvent.

func (TimelineEvent) Get

func (a TimelineEvent) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TimelineEvent. Returns the specified element and whether it was found

func (TimelineEvent) MarshalJSON

func (a TimelineEvent) MarshalJSON() ([]byte, error)

Override default JSON handling for TimelineEvent to handle AdditionalProperties

func (*TimelineEvent) Set

func (a *TimelineEvent) Set(fieldName string, value interface{})

Setter for additional properties for TimelineEvent

func (*TimelineEvent) UnmarshalJSON

func (a *TimelineEvent) UnmarshalJSON(b []byte) error

Override default JSON handling for TimelineEvent to handle AdditionalProperties

type TurnFloodlightOffResponse

type TurnFloodlightOffResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Json
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseTurnFloodlightOffResponse

func ParseTurnFloodlightOffResponse(rsp *http.Response) (*TurnFloodlightOffResponse, error)

ParseTurnFloodlightOffResponse parses an HTTP response from a TurnFloodlightOffWithResponse call

func (TurnFloodlightOffResponse) ContentType

func (r TurnFloodlightOffResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TurnFloodlightOffResponse) GetBody

func (r TurnFloodlightOffResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TurnFloodlightOffResponse) GetJSON200

func (r TurnFloodlightOffResponse) GetJSON200() *Json

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TurnFloodlightOffResponse) GetJSONDefault

func (r TurnFloodlightOffResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (TurnFloodlightOffResponse) Status

func (r TurnFloodlightOffResponse) Status() string

Status returns HTTPResponse.Status

func (TurnFloodlightOffResponse) StatusCode

func (r TurnFloodlightOffResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TurnFloodlightOnResponse

type TurnFloodlightOnResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Json
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseTurnFloodlightOnResponse

func ParseTurnFloodlightOnResponse(rsp *http.Response) (*TurnFloodlightOnResponse, error)

ParseTurnFloodlightOnResponse parses an HTTP response from a TurnFloodlightOnWithResponse call

func (TurnFloodlightOnResponse) ContentType

func (r TurnFloodlightOnResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TurnFloodlightOnResponse) GetBody

func (r TurnFloodlightOnResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TurnFloodlightOnResponse) GetJSON200

func (r TurnFloodlightOnResponse) GetJSON200() *Json

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TurnFloodlightOnResponse) GetJSONDefault

func (r TurnFloodlightOnResponse) GetJSONDefault() *HTTPFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (TurnFloodlightOnResponse) Status

func (r TurnFloodlightOnResponse) Status() string

Status returns HTTPResponse.Status

func (TurnFloodlightOnResponse) StatusCode

func (r TurnFloodlightOnResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TurnSirenOffResponse

type TurnSirenOffResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseTurnSirenOffResponse

func ParseTurnSirenOffResponse(rsp *http.Response) (*TurnSirenOffResponse, error)

ParseTurnSirenOffResponse parses an HTTP response from a TurnSirenOffWithResponse call

func (TurnSirenOffResponse) ContentType

func (r TurnSirenOffResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TurnSirenOffResponse) GetBody

func (r TurnSirenOffResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TurnSirenOffResponse) Status

func (r TurnSirenOffResponse) Status() string

Status returns HTTPResponse.Status

func (TurnSirenOffResponse) StatusCode

func (r TurnSirenOffResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TurnSirenOnResponse

type TurnSirenOnResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SirenOn
}

func ParseTurnSirenOnResponse

func ParseTurnSirenOnResponse(rsp *http.Response) (*TurnSirenOnResponse, error)

ParseTurnSirenOnResponse parses an HTTP response from a TurnSirenOnWithResponse call

func (TurnSirenOnResponse) ContentType

func (r TurnSirenOnResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TurnSirenOnResponse) GetBody

func (r TurnSirenOnResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TurnSirenOnResponse) GetJSON200

func (r TurnSirenOnResponse) GetJSON200() *SirenOn

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TurnSirenOnResponse) Status

func (r TurnSirenOnResponse) Status() string

Status returns HTTPResponse.Status

func (TurnSirenOnResponse) StatusCode

func (r TurnSirenOnResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TwoFactorForm

type TwoFactorForm struct {
	N2faCode   string                  `json:"2fa_code"`
	CsrfToken  string                  `json:"csrf-token"`
	RememberMe TwoFactorFormRememberMe `json:"remember_me"`
}

TwoFactorForm defines model for TwoFactorForm.

type TwoFactorFormRememberMe

type TwoFactorFormRememberMe string

TwoFactorFormRememberMe defines model for TwoFactorForm.RememberMe.

const (
	False TwoFactorFormRememberMe = "false"
)

Defines values for TwoFactorFormRememberMe.

func (TwoFactorFormRememberMe) Valid

func (e TwoFactorFormRememberMe) Valid() bool

Valid indicates whether the value is a known member of the TwoFactorFormRememberMe enum.

type TwoFactorRequired

type TwoFactorRequired = JsonValue

TwoFactorRequired Explicit escape hatch for fields without observed structure or typed error responses.

type UnlockIntercomJSONRequestBody added in v0.4.0

type UnlockIntercomJSONRequestBody = IntercomUnlockCommand

UnlockIntercomJSONRequestBody defines body for UnlockIntercom for application/json ContentType.

type UnlockIntercomResponse added in v0.4.0

type UnlockIntercomResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUnlockIntercomResponse added in v0.4.0

func ParseUnlockIntercomResponse(rsp *http.Response) (*UnlockIntercomResponse, error)

ParseUnlockIntercomResponse parses an HTTP response from a UnlockIntercomWithResponse call

func (UnlockIntercomResponse) ContentType added in v0.4.0

func (r UnlockIntercomResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnlockIntercomResponse) GetBody added in v0.4.0

func (r UnlockIntercomResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UnlockIntercomResponse) Status added in v0.4.0

func (r UnlockIntercomResponse) Status() string

Status returns HTTPResponse.Status

func (UnlockIntercomResponse) StatusCode added in v0.4.0

func (r UnlockIntercomResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateLegacyDoorbotControlsParams

type UpdateLegacyDoorbotControlsParams struct {
	DoorbotDescription                   string                                                               `form:"doorbot[description]" json:"doorbot[description]"`
	DoorbotSettingsDoorbellVolume        *int                                                                 `form:"doorbot[settings][doorbell_volume],omitempty" json:"doorbot[settings][doorbell_volume],omitempty"`
	DoorbotSettingsChimeSettingsType     *int                                                                 `form:"doorbot[settings][chime_settings][type],omitempty" json:"doorbot[settings][chime_settings][type],omitempty"`
	DoorbotSettingsChimeSettingsEnable   *UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable `form:"doorbot[settings][chime_settings][enable],omitempty" json:"doorbot[settings][chime_settings][enable],omitempty"`
	DoorbotSettingsChimeSettingsDuration *int                                                                 `form:"doorbot[settings][chime_settings][duration],omitempty" json:"doorbot[settings][chime_settings][duration],omitempty"`
}

UpdateLegacyDoorbotControlsParams defines parameters for UpdateLegacyDoorbotControls.

type UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable

type UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable int

UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable defines parameters for UpdateLegacyDoorbotControls.

const (
	UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnableN0 UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable = 0
	UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnableN1 UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable = 1
)

Defines values for UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable.

func (UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable) Valid

Valid indicates whether the value is a known member of the UpdateLegacyDoorbotControlsParamsDoorbotSettingsChimeSettingsEnable enum.

type UpdateLegacyDoorbotControlsResponse

type UpdateLegacyDoorbotControlsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Json
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *HTTPFailure
}

func ParseUpdateLegacyDoorbotControlsResponse

func ParseUpdateLegacyDoorbotControlsResponse(rsp *http.Response) (*UpdateLegacyDoorbotControlsResponse, error)

ParseUpdateLegacyDoorbotControlsResponse parses an HTTP response from a UpdateLegacyDoorbotControlsWithResponse call

func (UpdateLegacyDoorbotControlsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateLegacyDoorbotControlsResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateLegacyDoorbotControlsResponse) GetJSON200

func (r UpdateLegacyDoorbotControlsResponse) GetJSON200() *Json

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateLegacyDoorbotControlsResponse) GetJSONDefault

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateLegacyDoorbotControlsResponse) Status

Status returns HTTPResponse.Status

func (UpdateLegacyDoorbotControlsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type VerifyOAuthTwoFactorCodeFormdataRequestBody

type VerifyOAuthTwoFactorCodeFormdataRequestBody = TwoFactorForm

VerifyOAuthTwoFactorCodeFormdataRequestBody defines body for VerifyOAuthTwoFactorCode for application/x-www-form-urlencoded ContentType.

type VerifyOAuthTwoFactorCodeResponse

type VerifyOAuthTwoFactorCodeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Json
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Json
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *AuthFailure
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *AuthFailure
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *AuthFailure
}

func ParseVerifyOAuthTwoFactorCodeResponse

func ParseVerifyOAuthTwoFactorCodeResponse(rsp *http.Response) (*VerifyOAuthTwoFactorCodeResponse, error)

ParseVerifyOAuthTwoFactorCodeResponse parses an HTTP response from a VerifyOAuthTwoFactorCodeWithResponse call

func (VerifyOAuthTwoFactorCodeResponse) ContentType

func (r VerifyOAuthTwoFactorCodeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (VerifyOAuthTwoFactorCodeResponse) GetBody

func (r VerifyOAuthTwoFactorCodeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (VerifyOAuthTwoFactorCodeResponse) GetJSON200

func (r VerifyOAuthTwoFactorCodeResponse) GetJSON200() *Json

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (VerifyOAuthTwoFactorCodeResponse) GetJSON201

func (r VerifyOAuthTwoFactorCodeResponse) GetJSON201() *Json

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (VerifyOAuthTwoFactorCodeResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (VerifyOAuthTwoFactorCodeResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (VerifyOAuthTwoFactorCodeResponse) GetJSONDefault

func (r VerifyOAuthTwoFactorCodeResponse) GetJSONDefault() *AuthFailure

GetJSONDefault returns the response for an HTTP default `application/json` response

func (VerifyOAuthTwoFactorCodeResponse) Status

Status returns HTTPResponse.Status

func (VerifyOAuthTwoFactorCodeResponse) StatusCode

func (r VerifyOAuthTwoFactorCodeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VideoRenderingFeature

type VideoRenderingFeature struct {
	// MaxDigitalZoomLevel Device-reported maximum digital zoom level; units beyond the capture are not established.
	MaxDigitalZoomLevel  *float32               `json:"max_digital_zoom_level,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

VideoRenderingFeature defines model for VideoRenderingFeature.

func (VideoRenderingFeature) Get

func (a VideoRenderingFeature) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for VideoRenderingFeature. Returns the specified element and whether it was found

func (VideoRenderingFeature) MarshalJSON

func (a VideoRenderingFeature) MarshalJSON() ([]byte, error)

Override default JSON handling for VideoRenderingFeature to handle AdditionalProperties

func (*VideoRenderingFeature) Set

func (a *VideoRenderingFeature) Set(fieldName string, value interface{})

Setter for additional properties for VideoRenderingFeature

func (*VideoRenderingFeature) UnmarshalJSON

func (a *VideoRenderingFeature) UnmarshalJSON(b []byte) error

Override default JSON handling for VideoRenderingFeature to handle AdditionalProperties

type VideoSettings

type VideoSettings struct {
	// Brightness Device-reported brightness level; the capture does not establish a maximum.
	Brightness *int `json:"brightness,omitempty"`

	// ClipLengthMax Maximum clip duration in seconds.
	ClipLengthMax *int `json:"clip_length_max,omitempty"`

	// ClipLengthMin Minimum clip duration in seconds.
	ClipLengthMin        *int                   `json:"clip_length_min,omitempty"`
	HdrEnable            *bool                  `json:"hdr_enable,omitempty"`
	HevcEnabled          *bool                  `json:"hevc_enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

VideoSettings defines model for VideoSettings.

func (VideoSettings) Get

func (a VideoSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for VideoSettings. Returns the specified element and whether it was found

func (VideoSettings) MarshalJSON

func (a VideoSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for VideoSettings to handle AdditionalProperties

func (*VideoSettings) Set

func (a *VideoSettings) Set(fieldName string, value interface{})

Setter for additional properties for VideoSettings

func (*VideoSettings) UnmarshalJSON

func (a *VideoSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for VideoSettings to handle AdditionalProperties

type VolumeSettings

type VolumeSettings struct {
	// DoorbellVolume Legacy doorbell volume accepted by the Go client.
	DoorbellVolume *int `json:"doorbell_volume,omitempty"`

	// MicVolume Non-negative device-reported microphone volume; upper bound is not established.
	MicVolume *int `json:"mic_volume,omitempty"`

	// VoiceVolume Non-negative device-reported voice volume; upper bound is not established.
	VoiceVolume          *int                   `json:"voice_volume,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

VolumeSettings defines model for VolumeSettings.

func (VolumeSettings) Get

func (a VolumeSettings) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for VolumeSettings. Returns the specified element and whether it was found

func (VolumeSettings) MarshalJSON

func (a VolumeSettings) MarshalJSON() ([]byte, error)

Override default JSON handling for VolumeSettings to handle AdditionalProperties

func (*VolumeSettings) Set

func (a *VolumeSettings) Set(fieldName string, value interface{})

Setter for additional properties for VolumeSettings

func (*VolumeSettings) UnmarshalJSON

func (a *VolumeSettings) UnmarshalJSON(b []byte) error

Override default JSON handling for VolumeSettings to handle AdditionalProperties

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL