generatedhttp

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 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

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

NewRegisterPushDeviceRequest calls the generic RegisterPushDevice builder with application/json body

func NewRegisterPushDeviceRequestWithBody

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

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

NewSubscribeDeviceDingRequest constructs an http.Request for the SubscribeDeviceDing method

func NewSubscribeDeviceMotionRequest

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

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

NewUnlockIntercomRequest calls the generic UnlockIntercom builder with application/json body

func NewUnlockIntercomRequestWithBody

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 historical 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 historical 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 Historical 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 Start or continue OAuth sign-in

Starts an OAuth authorization session and requests an authorization code. Redirects may continue an existing sign-in session.

Corresponds with GET /oauth/v2/authorize (the `BeginOrContinueOAuthAuthorization` operationId).

func (*Client) DeleteRecording

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

DeleteRecording Delete a recording

Deletes a recording. A confirmation parameter may be required for a favorited recording.

Corresponds with DELETE /clients_api/dings/{recording_id} (the `DeleteRecording` operationId).

func (*Client) ExchangeOrRefreshOAuthTokenWithBody

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

ExchangeOrRefreshOAuthTokenWithBody Exchange or refresh an OAuth token

Exchanges an authorization grant for access tokens or refreshes an existing token.

Takes any type of body and a specified content type.

Corresponds with POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId).

func (*Client) ExchangeOrRefreshOAuthTokenWithFormdataBody

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

ExchangeOrRefreshOAuthTokenWithFormdataBody Exchange or refresh an OAuth token

Exchanges an authorization grant for access tokens or refreshes an existing token.

Takes a body of the `application/x-www-form-urlencoded` content type.

Corresponds with POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId).

func (*Client) FavoriteRecording

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

FavoriteRecording Favorite a recording

Marks a recording as a favorite.

Corresponds with PUT /clients_api/dings/{recording_id}/favorite (the `FavoriteRecording` operationId).

func (*Client) GetActiveDings

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

GetActiveDings List active alerts

Retrieves currently active Ring alerts.

Corresponds with GET /clients_api/dings/active (the `GetActiveDings` operationId).

func (*Client) GetCapturedLocationTickets

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

GetCapturedLocationTickets Get location signaling tickets

Retrieves signaling tickets and connection metadata for a location.

Corresponds with GET /api/v1/clap/tickets (the `GetCapturedLocationTickets` operationId).

func (*Client) GetDevice

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

GetDevice Get a device

Retrieves details for a specific device.

Corresponds with GET /device_info/v3/devices/{device_id} (the `GetDevice` operationId).

func (*Client) GetDeviceSettings

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

GetDeviceSettings Get device settings

Retrieves the current settings for a device.

Corresponds with GET /devices/v1/devices/{device_id}/settings (the `GetDeviceSettings` operationId).

func (*Client) GetDeviceTimeline

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

GetDeviceTimeline Get a device timeline

Retrieves timeline events for a device within an optional time range.

Corresponds with GET /evm/v2/timeline/devices/{device_id} (the `GetDeviceTimeline` operationId).

func (*Client) GetHistoryDevices

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

GetHistoryDevices List account history events

Retrieves account history events and feed items, with optional source and capability filters.

Corresponds with GET /evm/v3/history/devices (the `GetHistoryDevices` operationId).

func (*Client) GetLegacyDeviceHealth

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

GetLegacyDeviceHealth Get device health

Retrieves health information for a Ring device.

Corresponds with GET /clients_api/ring_devices/{device_id}/health (the `GetLegacyDeviceHealth` operationId).

func (*Client) GetLegacyDeviceHistory

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

GetLegacyDeviceHistory List doorbell recordings

Retrieves recordings associated with a doorbell, with optional filters and pagination.

Corresponds with GET /clients_api/doorbots/{device_id}/history (the `GetLegacyDeviceHistory` operationId).

func (*Client) GetLegacyRecordingShareURL

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

GetLegacyRecordingShareURL Get a recording share URL

Retrieves the playback share link for a recording.

Corresponds with GET /clients_api/dings/{recording_id}/share/play (the `GetLegacyRecordingShareURL` operationId).

func (*Client) GetLegacySnapshotImage

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

GetLegacySnapshotImage Get a snapshot image

Retrieves a device snapshot as JPEG image data.

Corresponds with GET /clients_api/snapshots/image/{device_id} (the `GetLegacySnapshotImage` operationId).

func (*Client) GetLocation

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

GetLocation Get a location

Retrieves details for a specific location, with optional related resources.

Corresponds with GET /location_info/v4/locations/{location_id} (the `GetLocation` operationId).

func (*Client) ListDevices

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

ListDevices List devices

Retrieves the devices available to the authenticated account.

Corresponds with GET /device_info/v3/devices (the `ListDevices` operationId).

func (*Client) ListLocationDevices

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

ListLocationDevices List devices at a location

Retrieves the devices assigned to a location.

Corresponds with GET /groups/v1/locations/{location_id}/devices (the `ListLocationDevices` operationId).

func (*Client) ListLocationGroups

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

ListLocationGroups List device groups at a location

Retrieves device groups configured for a location.

Corresponds with GET /groups/v1/locations/{location_id}/groups (the `ListLocationGroups` operationId).

func (*Client) ListLocations

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

ListLocations List locations

Retrieves locations available to the authenticated account.

Corresponds with GET /location_info/v3/locations (the `ListLocations` operationId).

func (*Client) PatchDeviceSettings

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

PatchDeviceSettings Update device settings

Updates one or more supported settings for a device.

Takes a body of the `application/json` content type.

Corresponds with PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId).

func (*Client) PatchDeviceSettingsWithBody

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

PatchDeviceSettingsWithBody Update device settings

Updates one or more supported settings for a device.

Takes any type of body and a specified content type.

Corresponds with PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId).

func (*Client) RefreshLegacySnapshotTimestamp

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

RefreshLegacySnapshotTimestamp Request a snapshot timestamp

Requests the latest snapshot timestamp for a device. A timestamp can be used to retrieve the corresponding image.

Takes a body of the `application/json` content type.

Corresponds with POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId).

func (*Client) RefreshLegacySnapshotTimestampWithBody

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

RefreshLegacySnapshotTimestampWithBody Request a snapshot timestamp

Requests the latest snapshot timestamp for a device. A timestamp can be used to retrieve the corresponding image.

Takes any type of body and a specified content type.

Corresponds with POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId).

func (*Client) RegisterClientSession

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

RegisterClientSession Register a client session

Registers a client session that can be used for device inventory and signaling requests.

Takes a body of the `application/json` content type.

Corresponds with POST /clients_api/session (the `RegisterClientSession` operationId).

func (*Client) RegisterClientSessionWithBody

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

RegisterClientSessionWithBody Register a client session

Registers a client session that can be used for device inventory and signaling requests.

Takes any type of body and a specified content type.

Corresponds with POST /clients_api/session (the `RegisterClientSession` operationId).

func (*Client) RegisterPushDevice

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

RegisterPushDevice Register a push notification device

Registers a push notification token so the device can receive Ring alerts.

Takes a body of the `application/json` content type.

Corresponds with PATCH /clients_api/device (the `RegisterPushDevice` operationId).

func (*Client) RegisterPushDeviceWithBody

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

RegisterPushDeviceWithBody Register a push notification device

Registers a push notification token so the device can receive Ring alerts.

Takes any type of body and a specified content type.

Corresponds with PATCH /clients_api/device (the `RegisterPushDevice` operationId).

func (*Client) RequestLegacySignalingTicket

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

RequestLegacySignalingTicket Request a signaling ticket

Requests a signaling ticket used to establish a device connection.

Corresponds with POST /api/v1/clap/ticket/request/signalsocket (the `RequestLegacySignalingTicket` operationId).

func (*Client) SendDeviceCommand

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

SendDeviceCommand Send a device command

Sends a command to a device and returns when Ring accepts it.

Takes a body of the `application/json` content type.

Corresponds with PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId).

func (*Client) SendDeviceCommandWithBody

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

SendDeviceCommandWithBody Send a device command

Sends a command to a device and returns when Ring accepts it.

Takes any type of body and a specified content type.

Corresponds with PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId).

func (*Client) SetChimeVolume

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

SetChimeVolume Set chime volume

Changes a chime device’s playback volume.

Corresponds with PUT /clients_api/chimes/{device_id} (the `SetChimeVolume` operationId).

func (*Client) SetLiveViewEnabled

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

SetLiveViewEnabled Set live view availability

Enables or disables live view for a device.

Takes a body of the `application/json` content type.

Corresponds with PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId).

func (*Client) SetLiveViewEnabledWithBody

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

SetLiveViewEnabledWithBody Set live view availability

Enables or disables live view for a device.

Takes any type of body and a specified content type.

Corresponds with PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId).

func (*Client) StreamRecording

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

StreamRecording Stream a recording

Returns the recording media as an MP4 stream.

Corresponds with GET /clients_api/dings/{recording_id}/recording (the `StreamRecording` operationId).

func (*Client) SubmitOAuthCredentialsWithBody

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

SubmitOAuthCredentialsWithBody Submit OAuth credentials

Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.

Takes any type of body and a specified content type.

Corresponds with POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId).

func (*Client) SubmitOAuthCredentialsWithFormdataBody

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

SubmitOAuthCredentialsWithFormdataBody Submit OAuth credentials

Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.

Takes a body of the `application/x-www-form-urlencoded` content type.

Corresponds with POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId).

func (*Client) SubscribeDeviceDing

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

SubscribeDeviceDing Subscribe to device alerts

Subscribes to alert notifications from a doorbell device.

Corresponds with POST /clients_api/doorbots/{device_id}/subscribe (the `SubscribeDeviceDing` operationId).

func (*Client) SubscribeDeviceMotion

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

SubscribeDeviceMotion Subscribe to motion alerts

Subscribes to motion notifications from a doorbell device.

Corresponds with POST /clients_api/doorbots/{device_id}/motions_subscribe (the `SubscribeDeviceMotion` operationId).

func (*Client) TestChimeSound

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

TestChimeSound Play a chime sound

Plays a selected test sound on a chime device.

Corresponds with POST /clients_api/chimes/{device_id}/play_sound (the `TestChimeSound` operationId).

func (*Client) TurnFloodlightOff

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

TurnFloodlightOff Turn off a floodlight

Turns off a device’s floodlight.

Corresponds with PUT /clients_api/doorbots/{device_id}/floodlight_light_off (the `TurnFloodlightOff` operationId).

func (*Client) TurnFloodlightOn

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

TurnFloodlightOn Turn on a floodlight

Turns on a device’s floodlight.

Corresponds with PUT /clients_api/doorbots/{device_id}/floodlight_light_on (the `TurnFloodlightOn` operationId).

func (*Client) TurnSirenOff

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

TurnSirenOff Turn off a siren

Stops the siren on a doorbell device.

Corresponds with PUT /clients_api/doorbots/{device_id}/siren_off (the `TurnSirenOff` operationId).

func (*Client) TurnSirenOn

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

TurnSirenOn Turn on a siren

Activates the siren on a doorbell device.

Corresponds with PUT /clients_api/doorbots/{device_id}/siren_on (the `TurnSirenOn` operationId).

func (*Client) UnlockIntercom

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

UnlockIntercom Unlock an intercom

Sends an unlock command to an intercom device.

Takes a body of the `application/json` content type.

Corresponds with PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId).

func (*Client) UnlockIntercomWithBody

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

UnlockIntercomWithBody Unlock an intercom

Sends an unlock command to an intercom device.

Takes any type of body and a specified content type.

Corresponds with PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId).

func (*Client) UpdateLegacyDoorbotControls

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

UpdateLegacyDoorbotControls Update doorbell and chime settings

Changes supported doorbell volume or in-home chime settings.

Corresponds with PUT /clients_api/doorbots/{device_id} (the `UpdateLegacyDoorbotControls` operationId).

func (*Client) VerifyOAuthTwoFactorCodeWithBody

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

VerifyOAuthTwoFactorCodeWithBody Verify an OAuth two-factor code

Submits a two-factor authentication code to complete OAuth sign-in.

Takes any type of body and a specified content type.

Corresponds with POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId).

func (*Client) VerifyOAuthTwoFactorCodeWithFormdataBody

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

VerifyOAuthTwoFactorCodeWithFormdataBody Verify an OAuth two-factor code

Submits a two-factor authentication code to complete OAuth sign-in.

Takes a body of the `application/x-www-form-urlencoded` content type.

Corresponds with POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId).

type ClientInterface

type ClientInterface interface {

	// RequestLegacySignalingTicket Request a signaling ticket
	//
	// Requests a signaling ticket used to establish a device connection.
	//
	// Corresponds with POST /api/v1/clap/ticket/request/signalsocket (the `RequestLegacySignalingTicket` operationId).
	RequestLegacySignalingTicket(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCapturedLocationTickets Get location signaling tickets
	//
	// Retrieves signaling tickets and connection metadata for a location.
	//
	// Corresponds with GET /api/v1/clap/tickets (the `GetCapturedLocationTickets` operationId).
	GetCapturedLocationTickets(ctx context.Context, params *GetCapturedLocationTicketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChimeVolume Set chime volume
	//
	// Changes a chime device’s playback volume.
	//
	// Corresponds with PUT /clients_api/chimes/{device_id} (the `SetChimeVolume` operationId).
	SetChimeVolume(ctx context.Context, deviceId DeviceId, params *SetChimeVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TestChimeSound Play a chime sound
	//
	// Plays a selected test sound on a chime device.
	//
	// Corresponds with POST /clients_api/chimes/{device_id}/play_sound (the `TestChimeSound` operationId).
	TestChimeSound(ctx context.Context, deviceId DeviceId, params *TestChimeSoundParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterPushDeviceWithBody Register a push notification device
	//
	// Registers a push notification token so the device can receive Ring alerts.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /clients_api/device (the `RegisterPushDevice` operationId).
	RegisterPushDeviceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterPushDevice Register a push notification device
	//
	// Registers a push notification token so the device can receive Ring alerts.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /clients_api/device (the `RegisterPushDevice` operationId).
	RegisterPushDevice(ctx context.Context, body RegisterPushDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetActiveDings List active alerts
	//
	// Retrieves currently active Ring alerts.
	//
	// Corresponds with GET /clients_api/dings/active (the `GetActiveDings` operationId).
	GetActiveDings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRecording Delete a recording
	//
	// Deletes a recording. A confirmation parameter may be required for a favorited recording.
	//
	// Corresponds with DELETE /clients_api/dings/{recording_id} (the `DeleteRecording` operationId).
	DeleteRecording(ctx context.Context, recordingId RecordingId, params *DeleteRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FavoriteRecording Favorite a recording
	//
	// Marks a recording as a favorite.
	//
	// Corresponds with PUT /clients_api/dings/{recording_id}/favorite (the `FavoriteRecording` operationId).
	FavoriteRecording(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamRecording Stream a recording
	//
	// Returns the recording media as an MP4 stream.
	//
	// Corresponds with GET /clients_api/dings/{recording_id}/recording (the `StreamRecording` operationId).
	StreamRecording(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegacyRecordingShareURL Get a recording share URL
	//
	// Retrieves the playback share link for a recording.
	//
	// Corresponds with GET /clients_api/dings/{recording_id}/share/play (the `GetLegacyRecordingShareURL` operationId).
	GetLegacyRecordingShareURL(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLegacyDoorbotControls Update doorbell and chime settings
	//
	// Changes supported doorbell volume or in-home chime settings.
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id} (the `UpdateLegacyDoorbotControls` operationId).
	UpdateLegacyDoorbotControls(ctx context.Context, deviceId DeviceId, params *UpdateLegacyDoorbotControlsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TurnFloodlightOff Turn off a floodlight
	//
	// Turns off a device’s floodlight.
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id}/floodlight_light_off (the `TurnFloodlightOff` operationId).
	TurnFloodlightOff(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TurnFloodlightOn Turn on a floodlight
	//
	// Turns on a device’s floodlight.
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id}/floodlight_light_on (the `TurnFloodlightOn` operationId).
	TurnFloodlightOn(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegacyDeviceHistory List doorbell recordings
	//
	// Retrieves recordings associated with a doorbell, with optional filters and pagination.
	//
	// Corresponds with GET /clients_api/doorbots/{device_id}/history (the `GetLegacyDeviceHistory` operationId).
	GetLegacyDeviceHistory(ctx context.Context, deviceId DeviceId, params *GetLegacyDeviceHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubscribeDeviceMotion Subscribe to motion alerts
	//
	// Subscribes to motion notifications from a doorbell device.
	//
	// Corresponds with POST /clients_api/doorbots/{device_id}/motions_subscribe (the `SubscribeDeviceMotion` operationId).
	SubscribeDeviceMotion(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TurnSirenOff Turn off a siren
	//
	// Stops the siren on a doorbell device.
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id}/siren_off (the `TurnSirenOff` operationId).
	TurnSirenOff(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TurnSirenOn Turn on a siren
	//
	// Activates the siren on a doorbell device.
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id}/siren_on (the `TurnSirenOn` operationId).
	TurnSirenOn(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubscribeDeviceDing Subscribe to device alerts
	//
	// Subscribes to alert notifications from a doorbell device.
	//
	// Corresponds with POST /clients_api/doorbots/{device_id}/subscribe (the `SubscribeDeviceDing` operationId).
	SubscribeDeviceDing(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegacyDeviceHealth Get device health
	//
	// Retrieves health information for a Ring device.
	//
	// Corresponds with GET /clients_api/ring_devices/{device_id}/health (the `GetLegacyDeviceHealth` operationId).
	GetLegacyDeviceHealth(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterClientSessionWithBody Register a client session
	//
	// Registers a client session that can be used for device inventory and signaling requests.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /clients_api/session (the `RegisterClientSession` operationId).
	RegisterClientSessionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterClientSession Register a client session
	//
	// Registers a client session that can be used for device inventory and signaling requests.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /clients_api/session (the `RegisterClientSession` operationId).
	RegisterClientSession(ctx context.Context, body RegisterClientSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegacySnapshotImage Get a snapshot image
	//
	// Retrieves a device snapshot as JPEG image data.
	//
	// Corresponds with GET /clients_api/snapshots/image/{device_id} (the `GetLegacySnapshotImage` operationId).
	GetLegacySnapshotImage(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshLegacySnapshotTimestampWithBody Request a snapshot timestamp
	//
	// Requests the latest snapshot timestamp for a device. A timestamp can be used to retrieve the corresponding image.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId).
	RefreshLegacySnapshotTimestampWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshLegacySnapshotTimestamp Request a snapshot timestamp
	//
	// Requests the latest snapshot timestamp for a device. A timestamp can be used to retrieve the corresponding image.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId).
	RefreshLegacySnapshotTimestamp(ctx context.Context, body RefreshLegacySnapshotTimestampJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendDeviceCommandWithBody Send a device command
	//
	// Sends a command to a device and returns when Ring accepts it.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId).
	SendDeviceCommandWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendDeviceCommand Send a device command
	//
	// Sends a command to a device and returns when Ring accepts it.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId).
	SendDeviceCommand(ctx context.Context, deviceId DeviceId, body SendDeviceCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnlockIntercomWithBody Unlock an intercom
	//
	// Sends an unlock command to an intercom device.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId).
	UnlockIntercomWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnlockIntercom Unlock an intercom
	//
	// Sends an unlock command to an intercom device.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId).
	UnlockIntercom(ctx context.Context, deviceId DeviceId, body UnlockIntercomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDevices List devices
	//
	// Retrieves the devices available to the authenticated account.
	//
	// Corresponds with GET /device_info/v3/devices (the `ListDevices` operationId).
	ListDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDevice Get a device
	//
	// Retrieves details for a specific device.
	//
	// Corresponds with GET /device_info/v3/devices/{device_id} (the `GetDevice` operationId).
	GetDevice(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeviceSettings Get device settings
	//
	// Retrieves the current settings for a device.
	//
	// Corresponds with GET /devices/v1/devices/{device_id}/settings (the `GetDeviceSettings` operationId).
	GetDeviceSettings(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDeviceSettingsWithBody Update device settings
	//
	// Updates one or more supported settings for a device.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId).
	PatchDeviceSettingsWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDeviceSettings Update device settings
	//
	// Updates one or more supported settings for a device.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId).
	PatchDeviceSettings(ctx context.Context, deviceId DeviceId, body PatchDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetLiveViewEnabledWithBody Set live view availability
	//
	// Enables or disables live view for a device.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId).
	SetLiveViewEnabledWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetLiveViewEnabled Set live view availability
	//
	// Enables or disables live view for a device.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId).
	SetLiveViewEnabled(ctx context.Context, deviceId DeviceId, body SetLiveViewEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeviceTimeline Get a device timeline
	//
	// Retrieves timeline events for a device within an optional time range.
	//
	// Corresponds with GET /evm/v2/timeline/devices/{device_id} (the `GetDeviceTimeline` operationId).
	GetDeviceTimeline(ctx context.Context, deviceId DeviceId, params *GetDeviceTimelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHistoryDevices List account history events
	//
	// Retrieves account history events and feed items, with optional source and capability filters.
	//
	// Corresponds with GET /evm/v3/history/devices (the `GetHistoryDevices` operationId).
	GetHistoryDevices(ctx context.Context, params *GetHistoryDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLocationDevices List devices at a location
	//
	// Retrieves the devices assigned to a location.
	//
	// Corresponds with GET /groups/v1/locations/{location_id}/devices (the `ListLocationDevices` operationId).
	ListLocationDevices(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLocationGroups List device groups at a location
	//
	// Retrieves device groups configured for a location.
	//
	// Corresponds with GET /groups/v1/locations/{location_id}/groups (the `ListLocationGroups` operationId).
	ListLocationGroups(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLocations List locations
	//
	// Retrieves locations available to the authenticated account.
	//
	// Corresponds with GET /location_info/v3/locations (the `ListLocations` operationId).
	ListLocations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLocation Get a location
	//
	// Retrieves details for a specific location, with optional related resources.
	//
	// Corresponds with GET /location_info/v4/locations/{location_id} (the `GetLocation` operationId).
	GetLocation(ctx context.Context, locationId LocationId, params *GetLocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangeOrRefreshOAuthTokenWithBody Exchange or refresh an OAuth token
	//
	// Exchanges an authorization grant for access tokens or refreshes an existing token.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId).
	ExchangeOrRefreshOAuthTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangeOrRefreshOAuthTokenWithFormdataBody Exchange or refresh an OAuth token
	//
	// Exchanges an authorization grant for access tokens or refreshes an existing token.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Corresponds with POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId).
	ExchangeOrRefreshOAuthTokenWithFormdataBody(ctx context.Context, body ExchangeOrRefreshOAuthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyOAuthTwoFactorCodeWithBody Verify an OAuth two-factor code
	//
	// Submits a two-factor authentication code to complete OAuth sign-in.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId).
	VerifyOAuthTwoFactorCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyOAuthTwoFactorCodeWithFormdataBody Verify an OAuth two-factor code
	//
	// Submits a two-factor authentication code to complete OAuth sign-in.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Corresponds with POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId).
	VerifyOAuthTwoFactorCodeWithFormdataBody(ctx context.Context, body VerifyOAuthTwoFactorCodeFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BeginOrContinueOAuthAuthorization Start or continue OAuth sign-in
	//
	// Starts an OAuth authorization session and requests an authorization code. Redirects may continue an existing sign-in session.
	//
	// Corresponds with GET /oauth/v2/authorize (the `BeginOrContinueOAuthAuthorization` operationId).
	BeginOrContinueOAuthAuthorization(ctx context.Context, params *BeginOrContinueOAuthAuthorizationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitOAuthCredentialsWithBody Submit OAuth credentials
	//
	// Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId).
	SubmitOAuthCredentialsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitOAuthCredentialsWithFormdataBody Submit OAuth credentials
	//
	// Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Corresponds with POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId).
	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 Start or continue OAuth sign-in

Starts an OAuth authorization session and requests an authorization code. Redirects may continue an existing sign-in session.

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

Corresponds with GET /oauth/v2/authorize (the `BeginOrContinueOAuthAuthorization` operationId).

func (*ClientWithResponses) DeleteRecordingWithResponse

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

DeleteRecordingWithResponse Delete a recording

Deletes a recording. A confirmation parameter may be required for a favorited recording.

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

Corresponds with DELETE /clients_api/dings/{recording_id} (the `DeleteRecording` operationId).

func (*ClientWithResponses) ExchangeOrRefreshOAuthTokenWithBodyWithResponse

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

ExchangeOrRefreshOAuthTokenWithBodyWithResponse Exchange or refresh an OAuth token

Exchanges an authorization grant for access tokens or refreshes an existing token.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId).

func (*ClientWithResponses) ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse

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

ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse Exchange or refresh an OAuth token

Exchanges an authorization grant for access tokens or refreshes an existing token.

Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId).

func (*ClientWithResponses) FavoriteRecordingWithResponse

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

FavoriteRecordingWithResponse Favorite a recording

Marks a recording as a favorite.

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

Corresponds with PUT /clients_api/dings/{recording_id}/favorite (the `FavoriteRecording` operationId).

func (*ClientWithResponses) GetActiveDingsWithResponse

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

GetActiveDingsWithResponse List active alerts

Retrieves currently active Ring alerts.

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

Corresponds with GET /clients_api/dings/active (the `GetActiveDings` operationId).

func (*ClientWithResponses) GetCapturedLocationTicketsWithResponse

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

GetCapturedLocationTicketsWithResponse Get location signaling tickets

Retrieves signaling tickets and connection metadata for a location.

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

Corresponds with GET /api/v1/clap/tickets (the `GetCapturedLocationTickets` operationId).

func (*ClientWithResponses) GetDeviceSettingsWithResponse

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

GetDeviceSettingsWithResponse Get device settings

Retrieves the current settings for a device.

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

Corresponds with GET /devices/v1/devices/{device_id}/settings (the `GetDeviceSettings` operationId).

func (*ClientWithResponses) GetDeviceTimelineWithResponse

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

GetDeviceTimelineWithResponse Get a device timeline

Retrieves timeline events for a device within an optional time range.

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

Corresponds with GET /evm/v2/timeline/devices/{device_id} (the `GetDeviceTimeline` operationId).

func (*ClientWithResponses) GetDeviceWithResponse

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

GetDeviceWithResponse Get a device

Retrieves details for a specific device.

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

Corresponds with GET /device_info/v3/devices/{device_id} (the `GetDevice` operationId).

func (*ClientWithResponses) GetHistoryDevicesWithResponse

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

GetHistoryDevicesWithResponse List account history events

Retrieves account history events and feed items, with optional source and capability filters.

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

Corresponds with GET /evm/v3/history/devices (the `GetHistoryDevices` operationId).

func (*ClientWithResponses) GetLegacyDeviceHealthWithResponse

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

GetLegacyDeviceHealthWithResponse Get device health

Retrieves health information for a Ring device.

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

Corresponds with GET /clients_api/ring_devices/{device_id}/health (the `GetLegacyDeviceHealth` operationId).

func (*ClientWithResponses) GetLegacyDeviceHistoryWithResponse

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

GetLegacyDeviceHistoryWithResponse List doorbell recordings

Retrieves recordings associated with a doorbell, with optional filters and pagination.

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

Corresponds with GET /clients_api/doorbots/{device_id}/history (the `GetLegacyDeviceHistory` operationId).

func (*ClientWithResponses) GetLegacyRecordingShareURLWithResponse

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

GetLegacyRecordingShareURLWithResponse Get a recording share URL

Retrieves the playback share link for a recording.

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

Corresponds with GET /clients_api/dings/{recording_id}/share/play (the `GetLegacyRecordingShareURL` operationId).

func (*ClientWithResponses) GetLegacySnapshotImageWithResponse

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

GetLegacySnapshotImageWithResponse Get a snapshot image

Retrieves a device snapshot as JPEG image data.

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

Corresponds with GET /clients_api/snapshots/image/{device_id} (the `GetLegacySnapshotImage` operationId).

func (*ClientWithResponses) GetLocationWithResponse

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

GetLocationWithResponse Get a location

Retrieves details for a specific location, with optional related resources.

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

Corresponds with GET /location_info/v4/locations/{location_id} (the `GetLocation` operationId).

func (*ClientWithResponses) ListDevicesWithResponse

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

ListDevicesWithResponse List devices

Retrieves the devices available to the authenticated account.

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

Corresponds with GET /device_info/v3/devices (the `ListDevices` operationId).

func (*ClientWithResponses) ListLocationDevicesWithResponse

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

ListLocationDevicesWithResponse List devices at a location

Retrieves the devices assigned to a location.

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

Corresponds with GET /groups/v1/locations/{location_id}/devices (the `ListLocationDevices` operationId).

func (*ClientWithResponses) ListLocationGroupsWithResponse

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

ListLocationGroupsWithResponse List device groups at a location

Retrieves device groups configured for a location.

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

Corresponds with GET /groups/v1/locations/{location_id}/groups (the `ListLocationGroups` operationId).

func (*ClientWithResponses) ListLocationsWithResponse

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

ListLocationsWithResponse List locations

Retrieves locations available to the authenticated account.

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

Corresponds with GET /location_info/v3/locations (the `ListLocations` operationId).

func (*ClientWithResponses) PatchDeviceSettingsWithBodyWithResponse

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

PatchDeviceSettingsWithBodyWithResponse Update device settings

Updates one or more supported settings for a device.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId).

func (*ClientWithResponses) PatchDeviceSettingsWithResponse

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

PatchDeviceSettingsWithResponse Update device settings

Updates one or more supported settings for a device.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId).

func (*ClientWithResponses) RefreshLegacySnapshotTimestampWithBodyWithResponse

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

RefreshLegacySnapshotTimestampWithBodyWithResponse Request a snapshot timestamp

Requests the latest snapshot timestamp for a device. A timestamp can be used to retrieve the corresponding image.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId).

func (*ClientWithResponses) RefreshLegacySnapshotTimestampWithResponse

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

RefreshLegacySnapshotTimestampWithResponse Request a snapshot timestamp

Requests the latest snapshot timestamp for a device. A timestamp can be used to retrieve the corresponding image.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId).

func (*ClientWithResponses) RegisterClientSessionWithBodyWithResponse

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

RegisterClientSessionWithBodyWithResponse Register a client session

Registers a client session that can be used for device inventory and signaling requests.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /clients_api/session (the `RegisterClientSession` operationId).

func (*ClientWithResponses) RegisterClientSessionWithResponse

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

RegisterClientSessionWithResponse Register a client session

Registers a client session that can be used for device inventory and signaling requests.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /clients_api/session (the `RegisterClientSession` operationId).

func (*ClientWithResponses) RegisterPushDeviceWithBodyWithResponse

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

RegisterPushDeviceWithBodyWithResponse Register a push notification device

Registers a push notification token so the device can receive Ring alerts.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /clients_api/device (the `RegisterPushDevice` operationId).

func (*ClientWithResponses) RegisterPushDeviceWithResponse

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

RegisterPushDeviceWithResponse Register a push notification device

Registers a push notification token so the device can receive Ring alerts.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /clients_api/device (the `RegisterPushDevice` operationId).

func (*ClientWithResponses) RequestLegacySignalingTicketWithResponse

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

RequestLegacySignalingTicketWithResponse Request a signaling ticket

Requests a signaling ticket used to establish a device connection.

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

Corresponds with POST /api/v1/clap/ticket/request/signalsocket (the `RequestLegacySignalingTicket` operationId).

func (*ClientWithResponses) SendDeviceCommandWithBodyWithResponse

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

SendDeviceCommandWithBodyWithResponse Send a device command

Sends a command to a device and returns when Ring accepts it.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId).

func (*ClientWithResponses) SendDeviceCommandWithResponse

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

SendDeviceCommandWithResponse Send a device command

Sends a command to a device and returns when Ring accepts it.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId).

func (*ClientWithResponses) SetChimeVolumeWithResponse

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

SetChimeVolumeWithResponse Set chime volume

Changes a chime device’s playback volume.

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

Corresponds with PUT /clients_api/chimes/{device_id} (the `SetChimeVolume` operationId).

func (*ClientWithResponses) SetLiveViewEnabledWithBodyWithResponse

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

SetLiveViewEnabledWithBodyWithResponse Set live view availability

Enables or disables live view for a device.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId).

func (*ClientWithResponses) SetLiveViewEnabledWithResponse

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

SetLiveViewEnabledWithResponse Set live view availability

Enables or disables live view for a device.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId).

func (*ClientWithResponses) StreamRecordingWithResponse

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

StreamRecordingWithResponse Stream a recording

Returns the recording media as an MP4 stream.

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

Corresponds with GET /clients_api/dings/{recording_id}/recording (the `StreamRecording` operationId).

func (*ClientWithResponses) SubmitOAuthCredentialsWithBodyWithResponse

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

SubmitOAuthCredentialsWithBodyWithResponse Submit OAuth credentials

Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId).

func (*ClientWithResponses) SubmitOAuthCredentialsWithFormdataBodyWithResponse

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

SubmitOAuthCredentialsWithFormdataBodyWithResponse Submit OAuth credentials

Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.

Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId).

func (*ClientWithResponses) SubscribeDeviceDingWithResponse

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

SubscribeDeviceDingWithResponse Subscribe to device alerts

Subscribes to alert notifications from a doorbell device.

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

Corresponds with POST /clients_api/doorbots/{device_id}/subscribe (the `SubscribeDeviceDing` operationId).

func (*ClientWithResponses) SubscribeDeviceMotionWithResponse

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

SubscribeDeviceMotionWithResponse Subscribe to motion alerts

Subscribes to motion notifications from a doorbell device.

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

Corresponds with POST /clients_api/doorbots/{device_id}/motions_subscribe (the `SubscribeDeviceMotion` operationId).

func (*ClientWithResponses) TestChimeSoundWithResponse

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

TestChimeSoundWithResponse Play a chime sound

Plays a selected test sound on a chime device.

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

Corresponds with POST /clients_api/chimes/{device_id}/play_sound (the `TestChimeSound` operationId).

func (*ClientWithResponses) TurnFloodlightOffWithResponse

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

TurnFloodlightOffWithResponse Turn off a floodlight

Turns off a device’s floodlight.

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

Corresponds with PUT /clients_api/doorbots/{device_id}/floodlight_light_off (the `TurnFloodlightOff` operationId).

func (*ClientWithResponses) TurnFloodlightOnWithResponse

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

TurnFloodlightOnWithResponse Turn on a floodlight

Turns on a device’s floodlight.

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

Corresponds with PUT /clients_api/doorbots/{device_id}/floodlight_light_on (the `TurnFloodlightOn` operationId).

func (*ClientWithResponses) TurnSirenOffWithResponse

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

TurnSirenOffWithResponse Turn off a siren

Stops the siren on a doorbell device.

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

Corresponds with PUT /clients_api/doorbots/{device_id}/siren_off (the `TurnSirenOff` operationId).

func (*ClientWithResponses) TurnSirenOnWithResponse

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

TurnSirenOnWithResponse Turn on a siren

Activates the siren on a doorbell device.

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

Corresponds with PUT /clients_api/doorbots/{device_id}/siren_on (the `TurnSirenOn` operationId).

func (*ClientWithResponses) UnlockIntercomWithBodyWithResponse

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

UnlockIntercomWithBodyWithResponse Unlock an intercom

Sends an unlock command to an intercom device.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId).

func (*ClientWithResponses) UnlockIntercomWithResponse

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

UnlockIntercomWithResponse Unlock an intercom

Sends an unlock command to an intercom device.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId).

func (*ClientWithResponses) UpdateLegacyDoorbotControlsWithResponse

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

UpdateLegacyDoorbotControlsWithResponse Update doorbell and chime settings

Changes supported doorbell volume or in-home chime settings.

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

Corresponds with PUT /clients_api/doorbots/{device_id} (the `UpdateLegacyDoorbotControls` operationId).

func (*ClientWithResponses) VerifyOAuthTwoFactorCodeWithBodyWithResponse

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

VerifyOAuthTwoFactorCodeWithBodyWithResponse Verify an OAuth two-factor code

Submits a two-factor authentication code to complete OAuth sign-in.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId).

func (*ClientWithResponses) VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse

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

VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse Verify an OAuth two-factor code

Submits a two-factor authentication code to complete OAuth sign-in.

Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// RequestLegacySignalingTicketWithResponse Request a signaling ticket
	//
	// Requests a signaling ticket used to establish a device connection.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/clap/ticket/request/signalsocket (the `RequestLegacySignalingTicket` operationId).
	RequestLegacySignalingTicketWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RequestLegacySignalingTicketResponse, error)

	// GetCapturedLocationTicketsWithResponse Get location signaling tickets
	//
	// Retrieves signaling tickets and connection metadata for a location.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/clap/tickets (the `GetCapturedLocationTickets` operationId).
	GetCapturedLocationTicketsWithResponse(ctx context.Context, params *GetCapturedLocationTicketsParams, reqEditors ...RequestEditorFn) (*GetCapturedLocationTicketsResponse, error)

	// SetChimeVolumeWithResponse Set chime volume
	//
	// Changes a chime device’s playback volume.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /clients_api/chimes/{device_id} (the `SetChimeVolume` operationId).
	SetChimeVolumeWithResponse(ctx context.Context, deviceId DeviceId, params *SetChimeVolumeParams, reqEditors ...RequestEditorFn) (*SetChimeVolumeResponse, error)

	// TestChimeSoundWithResponse Play a chime sound
	//
	// Plays a selected test sound on a chime device.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /clients_api/chimes/{device_id}/play_sound (the `TestChimeSound` operationId).
	TestChimeSoundWithResponse(ctx context.Context, deviceId DeviceId, params *TestChimeSoundParams, reqEditors ...RequestEditorFn) (*TestChimeSoundResponse, error)

	// RegisterPushDeviceWithBodyWithResponse Register a push notification device
	//
	// Registers a push notification token so the device can receive Ring alerts.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /clients_api/device (the `RegisterPushDevice` operationId).
	RegisterPushDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterPushDeviceResponse, error)

	// RegisterPushDeviceWithResponse Register a push notification device
	//
	// Registers a push notification token so the device can receive Ring alerts.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /clients_api/device (the `RegisterPushDevice` operationId).
	RegisterPushDeviceWithResponse(ctx context.Context, body RegisterPushDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterPushDeviceResponse, error)

	// GetActiveDingsWithResponse List active alerts
	//
	// Retrieves currently active Ring alerts.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clients_api/dings/active (the `GetActiveDings` operationId).
	GetActiveDingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetActiveDingsResponse, error)

	// DeleteRecordingWithResponse Delete a recording
	//
	// Deletes a recording. A confirmation parameter may be required for a favorited recording.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /clients_api/dings/{recording_id} (the `DeleteRecording` operationId).
	DeleteRecordingWithResponse(ctx context.Context, recordingId RecordingId, params *DeleteRecordingParams, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)

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

	// StreamRecordingWithResponse Stream a recording
	//
	// Returns the recording media as an MP4 stream.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clients_api/dings/{recording_id}/recording (the `StreamRecording` operationId).
	StreamRecordingWithResponse(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*StreamRecordingResponse, error)

	// GetLegacyRecordingShareURLWithResponse Get a recording share URL
	//
	// Retrieves the playback share link for a recording.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clients_api/dings/{recording_id}/share/play (the `GetLegacyRecordingShareURL` operationId).
	GetLegacyRecordingShareURLWithResponse(ctx context.Context, recordingId RecordingId, reqEditors ...RequestEditorFn) (*GetLegacyRecordingShareURLResponse, error)

	// UpdateLegacyDoorbotControlsWithResponse Update doorbell and chime settings
	//
	// Changes supported doorbell volume or in-home chime settings.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id} (the `UpdateLegacyDoorbotControls` operationId).
	UpdateLegacyDoorbotControlsWithResponse(ctx context.Context, deviceId DeviceId, params *UpdateLegacyDoorbotControlsParams, reqEditors ...RequestEditorFn) (*UpdateLegacyDoorbotControlsResponse, error)

	// TurnFloodlightOffWithResponse Turn off a floodlight
	//
	// Turns off a device’s floodlight.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id}/floodlight_light_off (the `TurnFloodlightOff` operationId).
	TurnFloodlightOffWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnFloodlightOffResponse, error)

	// TurnFloodlightOnWithResponse Turn on a floodlight
	//
	// Turns on a device’s floodlight.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id}/floodlight_light_on (the `TurnFloodlightOn` operationId).
	TurnFloodlightOnWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnFloodlightOnResponse, error)

	// GetLegacyDeviceHistoryWithResponse List doorbell recordings
	//
	// Retrieves recordings associated with a doorbell, with optional filters and pagination.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clients_api/doorbots/{device_id}/history (the `GetLegacyDeviceHistory` operationId).
	GetLegacyDeviceHistoryWithResponse(ctx context.Context, deviceId DeviceId, params *GetLegacyDeviceHistoryParams, reqEditors ...RequestEditorFn) (*GetLegacyDeviceHistoryResponse, error)

	// SubscribeDeviceMotionWithResponse Subscribe to motion alerts
	//
	// Subscribes to motion notifications from a doorbell device.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /clients_api/doorbots/{device_id}/motions_subscribe (the `SubscribeDeviceMotion` operationId).
	SubscribeDeviceMotionWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*SubscribeDeviceMotionResponse, error)

	// TurnSirenOffWithResponse Turn off a siren
	//
	// Stops the siren on a doorbell device.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id}/siren_off (the `TurnSirenOff` operationId).
	TurnSirenOffWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnSirenOffResponse, error)

	// TurnSirenOnWithResponse Turn on a siren
	//
	// Activates the siren on a doorbell device.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /clients_api/doorbots/{device_id}/siren_on (the `TurnSirenOn` operationId).
	TurnSirenOnWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*TurnSirenOnResponse, error)

	// SubscribeDeviceDingWithResponse Subscribe to device alerts
	//
	// Subscribes to alert notifications from a doorbell device.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /clients_api/doorbots/{device_id}/subscribe (the `SubscribeDeviceDing` operationId).
	SubscribeDeviceDingWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*SubscribeDeviceDingResponse, error)

	// GetLegacyDeviceHealthWithResponse Get device health
	//
	// Retrieves health information for a Ring device.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clients_api/ring_devices/{device_id}/health (the `GetLegacyDeviceHealth` operationId).
	GetLegacyDeviceHealthWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetLegacyDeviceHealthResponse, error)

	// RegisterClientSessionWithBodyWithResponse Register a client session
	//
	// Registers a client session that can be used for device inventory and signaling requests.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /clients_api/session (the `RegisterClientSession` operationId).
	RegisterClientSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterClientSessionResponse, error)

	// RegisterClientSessionWithResponse Register a client session
	//
	// Registers a client session that can be used for device inventory and signaling requests.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /clients_api/session (the `RegisterClientSession` operationId).
	RegisterClientSessionWithResponse(ctx context.Context, body RegisterClientSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterClientSessionResponse, error)

	// GetLegacySnapshotImageWithResponse Get a snapshot image
	//
	// Retrieves a device snapshot as JPEG image data.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clients_api/snapshots/image/{device_id} (the `GetLegacySnapshotImage` operationId).
	GetLegacySnapshotImageWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetLegacySnapshotImageResponse, error)

	// RefreshLegacySnapshotTimestampWithBodyWithResponse Request a snapshot timestamp
	//
	// Requests the latest snapshot timestamp for a device. A timestamp can be used to retrieve the corresponding image.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId).
	RefreshLegacySnapshotTimestampWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefreshLegacySnapshotTimestampResponse, error)

	// RefreshLegacySnapshotTimestampWithResponse Request a snapshot timestamp
	//
	// Requests the latest snapshot timestamp for a device. A timestamp can be used to retrieve the corresponding image.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /clients_api/snapshots/timestamps (the `RefreshLegacySnapshotTimestamp` operationId).
	RefreshLegacySnapshotTimestampWithResponse(ctx context.Context, body RefreshLegacySnapshotTimestampJSONRequestBody, reqEditors ...RequestEditorFn) (*RefreshLegacySnapshotTimestampResponse, error)

	// SendDeviceCommandWithBodyWithResponse Send a device command
	//
	// Sends a command to a device and returns when Ring accepts it.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId).
	SendDeviceCommandWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendDeviceCommandResponse, error)

	// SendDeviceCommandWithResponse Send a device command
	//
	// Sends a command to a device and returns when Ring accepts it.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /commands/v1/devices/{device_id} (the `SendDeviceCommand` operationId).
	SendDeviceCommandWithResponse(ctx context.Context, deviceId DeviceId, body SendDeviceCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*SendDeviceCommandResponse, error)

	// UnlockIntercomWithBodyWithResponse Unlock an intercom
	//
	// Sends an unlock command to an intercom device.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId).
	UnlockIntercomWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnlockIntercomResponse, error)

	// UnlockIntercomWithResponse Unlock an intercom
	//
	// Sends an unlock command to an intercom device.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /commands/v1/devices/{device_id}/device_rpc (the `UnlockIntercom` operationId).
	UnlockIntercomWithResponse(ctx context.Context, deviceId DeviceId, body UnlockIntercomJSONRequestBody, reqEditors ...RequestEditorFn) (*UnlockIntercomResponse, error)

	// ListDevicesWithResponse List devices
	//
	// Retrieves the devices available to the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /device_info/v3/devices (the `ListDevices` operationId).
	ListDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDevicesResponse, error)

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

	// GetDeviceSettingsWithResponse Get device settings
	//
	// Retrieves the current settings for a device.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /devices/v1/devices/{device_id}/settings (the `GetDeviceSettings` operationId).
	GetDeviceSettingsWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetDeviceSettingsResponse, error)

	// PatchDeviceSettingsWithBodyWithResponse Update device settings
	//
	// Updates one or more supported settings for a device.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId).
	PatchDeviceSettingsWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDeviceSettingsResponse, error)

	// PatchDeviceSettingsWithResponse Update device settings
	//
	// Updates one or more supported settings for a device.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /devices/v1/devices/{device_id}/settings (the `PatchDeviceSettings` operationId).
	PatchDeviceSettingsWithResponse(ctx context.Context, deviceId DeviceId, body PatchDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDeviceSettingsResponse, error)

	// SetLiveViewEnabledWithBodyWithResponse Set live view availability
	//
	// Enables or disables live view for a device.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId).
	SetLiveViewEnabledWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLiveViewEnabledResponse, error)

	// SetLiveViewEnabledWithResponse Set live view availability
	//
	// Enables or disables live view for a device.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /duos/v1/devices/{device_id}/update (the `SetLiveViewEnabled` operationId).
	SetLiveViewEnabledWithResponse(ctx context.Context, deviceId DeviceId, body SetLiveViewEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLiveViewEnabledResponse, error)

	// GetDeviceTimelineWithResponse Get a device timeline
	//
	// Retrieves timeline events for a device within an optional time range.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /evm/v2/timeline/devices/{device_id} (the `GetDeviceTimeline` operationId).
	GetDeviceTimelineWithResponse(ctx context.Context, deviceId DeviceId, params *GetDeviceTimelineParams, reqEditors ...RequestEditorFn) (*GetDeviceTimelineResponse, error)

	// GetHistoryDevicesWithResponse List account history events
	//
	// Retrieves account history events and feed items, with optional source and capability filters.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /evm/v3/history/devices (the `GetHistoryDevices` operationId).
	GetHistoryDevicesWithResponse(ctx context.Context, params *GetHistoryDevicesParams, reqEditors ...RequestEditorFn) (*GetHistoryDevicesResponse, error)

	// ListLocationDevicesWithResponse List devices at a location
	//
	// Retrieves the devices assigned to a location.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /groups/v1/locations/{location_id}/devices (the `ListLocationDevices` operationId).
	ListLocationDevicesWithResponse(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*ListLocationDevicesResponse, error)

	// ListLocationGroupsWithResponse List device groups at a location
	//
	// Retrieves device groups configured for a location.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /groups/v1/locations/{location_id}/groups (the `ListLocationGroups` operationId).
	ListLocationGroupsWithResponse(ctx context.Context, locationId LocationId, reqEditors ...RequestEditorFn) (*ListLocationGroupsResponse, error)

	// ListLocationsWithResponse List locations
	//
	// Retrieves locations available to the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /location_info/v3/locations (the `ListLocations` operationId).
	ListLocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLocationsResponse, error)

	// GetLocationWithResponse Get a location
	//
	// Retrieves details for a specific location, with optional related resources.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /location_info/v4/locations/{location_id} (the `GetLocation` operationId).
	GetLocationWithResponse(ctx context.Context, locationId LocationId, params *GetLocationParams, reqEditors ...RequestEditorFn) (*GetLocationResponse, error)

	// ExchangeOrRefreshOAuthTokenWithBodyWithResponse Exchange or refresh an OAuth token
	//
	// Exchanges an authorization grant for access tokens or refreshes an existing token.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId).
	ExchangeOrRefreshOAuthTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangeOrRefreshOAuthTokenResponse, error)

	// ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse Exchange or refresh an OAuth token
	//
	// Exchanges an authorization grant for access tokens or refreshes an existing token.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /oauth/token (the `ExchangeOrRefreshOAuthToken` operationId).
	ExchangeOrRefreshOAuthTokenWithFormdataBodyWithResponse(ctx context.Context, body ExchangeOrRefreshOAuthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*ExchangeOrRefreshOAuthTokenResponse, error)

	// VerifyOAuthTwoFactorCodeWithBodyWithResponse Verify an OAuth two-factor code
	//
	// Submits a two-factor authentication code to complete OAuth sign-in.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId).
	VerifyOAuthTwoFactorCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyOAuthTwoFactorCodeResponse, error)

	// VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse Verify an OAuth two-factor code
	//
	// Submits a two-factor authentication code to complete OAuth sign-in.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /oauth/v2/2fa/verify (the `VerifyOAuthTwoFactorCode` operationId).
	VerifyOAuthTwoFactorCodeWithFormdataBodyWithResponse(ctx context.Context, body VerifyOAuthTwoFactorCodeFormdataRequestBody, reqEditors ...RequestEditorFn) (*VerifyOAuthTwoFactorCodeResponse, error)

	// BeginOrContinueOAuthAuthorizationWithResponse Start or continue OAuth sign-in
	//
	// Starts an OAuth authorization session and requests an authorization code. Redirects may continue an existing sign-in session.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /oauth/v2/authorize (the `BeginOrContinueOAuthAuthorization` operationId).
	BeginOrContinueOAuthAuthorizationWithResponse(ctx context.Context, params *BeginOrContinueOAuthAuthorizationParams, reqEditors ...RequestEditorFn) (*BeginOrContinueOAuthAuthorizationResponse, error)

	// SubmitOAuthCredentialsWithBodyWithResponse Submit OAuth credentials
	//
	// Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId).
	SubmitOAuthCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitOAuthCredentialsResponse, error)

	// SubmitOAuthCredentialsWithFormdataBodyWithResponse Submit OAuth credentials
	//
	// Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /oauth/v2/signin (the `SubmitOAuthCredentials` operationId).
	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 historical 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 historical 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 historical 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 historical 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 historical 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 Historical 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

type DeviceBatteryLife0 = int

DeviceBatteryLife0 defines model for Device.BatteryLife.0.

type DeviceBatteryLife1

type DeviceBatteryLife1 = string

DeviceBatteryLife1 defines model for Device.BatteryLife.1.

type DeviceBatteryLife20

type DeviceBatteryLife20 = int

DeviceBatteryLife20 defines model for Device.BatteryLife2.0.

type DeviceBatteryLife21

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 Historical 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 historical 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 historical 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 historical 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 historical 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 historical 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 historical device response; future values are unverified.
	Tracklight any `json:"tracklight,omitempty"`

	// TransformerScore Only null was observed in the historical 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

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

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

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

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings to handle AdditionalProperties

func (*DeviceFeatures_AiAutomatedWarnings) Set

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

Setter for additional properties for DeviceFeatures_AiAutomatedWarnings

func (*DeviceFeatures_AiAutomatedWarnings) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings to handle AdditionalProperties

type DeviceFeatures_AiAutomatedWarnings_Eligibility

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

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

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_AiAutomatedWarnings_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_AiAutomatedWarnings_Eligibility

func (*DeviceFeatures_AiAutomatedWarnings_Eligibility) UnmarshalJSON

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings_Eligibility to handle AdditionalProperties

type DeviceFeatures_AiAutomatedWarnings_Enablement

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

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

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings_Enablement to handle AdditionalProperties

func (*DeviceFeatures_AiAutomatedWarnings_Enablement) Set

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

Setter for additional properties for DeviceFeatures_AiAutomatedWarnings_Enablement

func (*DeviceFeatures_AiAutomatedWarnings_Enablement) UnmarshalJSON

Override default JSON handling for DeviceFeatures_AiAutomatedWarnings_Enablement to handle AdditionalProperties

type DeviceFeatures_AiLabsDailyClip

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

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

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

Override default JSON handling for DeviceFeatures_AiLabsDailyClip to handle AdditionalProperties

func (*DeviceFeatures_AiLabsDailyClip) Set

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

Setter for additional properties for DeviceFeatures_AiLabsDailyClip

func (*DeviceFeatures_AiLabsDailyClip) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_AiLabsDailyClip to handle AdditionalProperties

type DeviceFeatures_AiLabsDailyClip_Eligibility

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

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

Override default JSON handling for DeviceFeatures_AiLabsDailyClip_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_AiLabsDailyClip_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_AiLabsDailyClip_Eligibility

func (*DeviceFeatures_AiLabsDailyClip_Eligibility) UnmarshalJSON

Override default JSON handling for DeviceFeatures_AiLabsDailyClip_Eligibility to handle AdditionalProperties

type DeviceFeatures_AiLabsDailyClip_Enablement

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

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

Override default JSON handling for DeviceFeatures_AiLabsDailyClip_Enablement to handle AdditionalProperties

func (*DeviceFeatures_AiLabsDailyClip_Enablement) Set

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

Setter for additional properties for DeviceFeatures_AiLabsDailyClip_Enablement

func (*DeviceFeatures_AiLabsDailyClip_Enablement) UnmarshalJSON

Override default JSON handling for DeviceFeatures_AiLabsDailyClip_Enablement to handle AdditionalProperties

type DeviceFeatures_AiLabsMemorableMoments

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

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

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

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments to handle AdditionalProperties

func (*DeviceFeatures_AiLabsMemorableMoments) Set

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

Setter for additional properties for DeviceFeatures_AiLabsMemorableMoments

func (*DeviceFeatures_AiLabsMemorableMoments) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments to handle AdditionalProperties

type DeviceFeatures_AiLabsMemorableMoments_Eligibility

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

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

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_AiLabsMemorableMoments_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_AiLabsMemorableMoments_Eligibility

func (*DeviceFeatures_AiLabsMemorableMoments_Eligibility) UnmarshalJSON

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments_Eligibility to handle AdditionalProperties

type DeviceFeatures_AiLabsMemorableMoments_Enablement

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

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

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments_Enablement to handle AdditionalProperties

func (*DeviceFeatures_AiLabsMemorableMoments_Enablement) Set

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

Setter for additional properties for DeviceFeatures_AiLabsMemorableMoments_Enablement

func (*DeviceFeatures_AiLabsMemorableMoments_Enablement) UnmarshalJSON

Override default JSON handling for DeviceFeatures_AiLabsMemorableMoments_Enablement to handle AdditionalProperties

type DeviceFeatures_ChimeSettings

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

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

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

Override default JSON handling for DeviceFeatures_ChimeSettings to handle AdditionalProperties

func (*DeviceFeatures_ChimeSettings) Set

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

Setter for additional properties for DeviceFeatures_ChimeSettings

func (*DeviceFeatures_ChimeSettings) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_ChimeSettings to handle AdditionalProperties

type DeviceFeatures_LiveViewAudioPrivacyControls

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

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

Override default JSON handling for DeviceFeatures_LiveViewAudioPrivacyControls to handle AdditionalProperties

func (*DeviceFeatures_LiveViewAudioPrivacyControls) Set

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

Setter for additional properties for DeviceFeatures_LiveViewAudioPrivacyControls

func (*DeviceFeatures_LiveViewAudioPrivacyControls) UnmarshalJSON

Override default JSON handling for DeviceFeatures_LiveViewAudioPrivacyControls to handle AdditionalProperties

type DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility

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

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

Override default JSON handling for DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility

func (*DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility) UnmarshalJSON

Override default JSON handling for DeviceFeatures_LiveViewAudioPrivacyControls_Eligibility to handle AdditionalProperties

type DeviceFeatures_NetworkBackup

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

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

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

Override default JSON handling for DeviceFeatures_NetworkBackup to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackup) Set

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

Setter for additional properties for DeviceFeatures_NetworkBackup

func (*DeviceFeatures_NetworkBackup) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_NetworkBackup to handle AdditionalProperties

type DeviceFeatures_NetworkBackupHost

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

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

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

Override default JSON handling for DeviceFeatures_NetworkBackupHost to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackupHost) Set

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

Setter for additional properties for DeviceFeatures_NetworkBackupHost

func (*DeviceFeatures_NetworkBackupHost) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_NetworkBackupHost to handle AdditionalProperties

type DeviceFeatures_NetworkBackupHost_Eligibility

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

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

Override default JSON handling for DeviceFeatures_NetworkBackupHost_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackupHost_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_NetworkBackupHost_Eligibility

func (*DeviceFeatures_NetworkBackupHost_Eligibility) UnmarshalJSON

Override default JSON handling for DeviceFeatures_NetworkBackupHost_Eligibility to handle AdditionalProperties

type DeviceFeatures_NetworkBackup_Eligibility

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

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

Override default JSON handling for DeviceFeatures_NetworkBackup_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackup_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_NetworkBackup_Eligibility

func (*DeviceFeatures_NetworkBackup_Eligibility) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_NetworkBackup_Eligibility to handle AdditionalProperties

type DeviceFeatures_NetworkBackup_Enablement

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

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

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

Override default JSON handling for DeviceFeatures_NetworkBackup_Enablement to handle AdditionalProperties

func (*DeviceFeatures_NetworkBackup_Enablement) Set

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

Setter for additional properties for DeviceFeatures_NetworkBackup_Enablement

func (*DeviceFeatures_NetworkBackup_Enablement) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_NetworkBackup_Enablement to handle AdditionalProperties

type DeviceFeatures_OriginalVideoQualityDownloadOffer

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

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

Override default JSON handling for DeviceFeatures_OriginalVideoQualityDownloadOffer to handle AdditionalProperties

func (*DeviceFeatures_OriginalVideoQualityDownloadOffer) Set

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

Setter for additional properties for DeviceFeatures_OriginalVideoQualityDownloadOffer

func (*DeviceFeatures_OriginalVideoQualityDownloadOffer) UnmarshalJSON

Override default JSON handling for DeviceFeatures_OriginalVideoQualityDownloadOffer to handle AdditionalProperties

type DeviceFeatures_PersonIdentification

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

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

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

Override default JSON handling for DeviceFeatures_PersonIdentification to handle AdditionalProperties

func (*DeviceFeatures_PersonIdentification) Set

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

Setter for additional properties for DeviceFeatures_PersonIdentification

func (*DeviceFeatures_PersonIdentification) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_PersonIdentification to handle AdditionalProperties

type DeviceFeatures_PersonIdentification_Eligibility

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

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

Override default JSON handling for DeviceFeatures_PersonIdentification_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_PersonIdentification_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_PersonIdentification_Eligibility

func (*DeviceFeatures_PersonIdentification_Eligibility) UnmarshalJSON

Override default JSON handling for DeviceFeatures_PersonIdentification_Eligibility to handle AdditionalProperties

type DeviceFeatures_PersonIdentification_Enablement

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

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

Override default JSON handling for DeviceFeatures_PersonIdentification_Enablement to handle AdditionalProperties

func (*DeviceFeatures_PersonIdentification_Enablement) Set

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

Setter for additional properties for DeviceFeatures_PersonIdentification_Enablement

func (*DeviceFeatures_PersonIdentification_Enablement) UnmarshalJSON

Override default JSON handling for DeviceFeatures_PersonIdentification_Enablement to handle AdditionalProperties

type DeviceFeatures_PropertyView

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

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

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

Override default JSON handling for DeviceFeatures_PropertyView to handle AdditionalProperties

func (*DeviceFeatures_PropertyView) Set

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

Setter for additional properties for DeviceFeatures_PropertyView

func (*DeviceFeatures_PropertyView) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_PropertyView to handle AdditionalProperties

type DeviceFeatures_PropertyView_Enablement

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

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

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

Override default JSON handling for DeviceFeatures_PropertyView_Enablement to handle AdditionalProperties

func (*DeviceFeatures_PropertyView_Enablement) Set

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

Setter for additional properties for DeviceFeatures_PropertyView_Enablement

func (*DeviceFeatures_PropertyView_Enablement) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_PropertyView_Enablement to handle AdditionalProperties

type DeviceFeatures_RetinalTuning

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

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

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

Override default JSON handling for DeviceFeatures_RetinalTuning to handle AdditionalProperties

func (*DeviceFeatures_RetinalTuning) Set

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

Setter for additional properties for DeviceFeatures_RetinalTuning

func (*DeviceFeatures_RetinalTuning) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_RetinalTuning to handle AdditionalProperties

type DeviceFeatures_RetinalTuning_Eligibility

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

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

Override default JSON handling for DeviceFeatures_RetinalTuning_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_RetinalTuning_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_RetinalTuning_Eligibility

func (*DeviceFeatures_RetinalTuning_Eligibility) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_RetinalTuning_Eligibility to handle AdditionalProperties

type DeviceFeatures_RetinalTuning_Enablement

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

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

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

Override default JSON handling for DeviceFeatures_RetinalTuning_Enablement to handle AdditionalProperties

func (*DeviceFeatures_RetinalTuning_Enablement) Set

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

Setter for additional properties for DeviceFeatures_RetinalTuning_Enablement

func (*DeviceFeatures_RetinalTuning_Enablement) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_RetinalTuning_Enablement to handle AdditionalProperties

type DeviceFeatures_SingleAlert

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

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

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

Override default JSON handling for DeviceFeatures_SingleAlert to handle AdditionalProperties

func (*DeviceFeatures_SingleAlert) Set

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

Setter for additional properties for DeviceFeatures_SingleAlert

func (*DeviceFeatures_SingleAlert) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_SingleAlert to handle AdditionalProperties

type DeviceFeatures_SingleAlert_Eligibility

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

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

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

Override default JSON handling for DeviceFeatures_SingleAlert_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_SingleAlert_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_SingleAlert_Eligibility

func (*DeviceFeatures_SingleAlert_Eligibility) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_SingleAlert_Eligibility to handle AdditionalProperties

type DeviceFeatures_SingleAlert_Enablement

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

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

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

Override default JSON handling for DeviceFeatures_SingleAlert_Enablement to handle AdditionalProperties

func (*DeviceFeatures_SingleAlert_Enablement) Set

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

Setter for additional properties for DeviceFeatures_SingleAlert_Enablement

func (*DeviceFeatures_SingleAlert_Enablement) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_SingleAlert_Enablement to handle AdditionalProperties

type DeviceFeatures_SmartVideoDescription

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

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

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

Override default JSON handling for DeviceFeatures_SmartVideoDescription to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoDescription) Set

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

Setter for additional properties for DeviceFeatures_SmartVideoDescription

func (*DeviceFeatures_SmartVideoDescription) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_SmartVideoDescription to handle AdditionalProperties

type DeviceFeatures_SmartVideoDescription_Eligibility

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

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

Override default JSON handling for DeviceFeatures_SmartVideoDescription_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoDescription_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_SmartVideoDescription_Eligibility

func (*DeviceFeatures_SmartVideoDescription_Eligibility) UnmarshalJSON

Override default JSON handling for DeviceFeatures_SmartVideoDescription_Eligibility to handle AdditionalProperties

type DeviceFeatures_SmartVideoDescription_Enablement

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

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

Override default JSON handling for DeviceFeatures_SmartVideoDescription_Enablement to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoDescription_Enablement) Set

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

Setter for additional properties for DeviceFeatures_SmartVideoDescription_Enablement

func (*DeviceFeatures_SmartVideoDescription_Enablement) UnmarshalJSON

Override default JSON handling for DeviceFeatures_SmartVideoDescription_Enablement to handle AdditionalProperties

type DeviceFeatures_SmartVideoSearch

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

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

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

Override default JSON handling for DeviceFeatures_SmartVideoSearch to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoSearch) Set

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

Setter for additional properties for DeviceFeatures_SmartVideoSearch

func (*DeviceFeatures_SmartVideoSearch) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_SmartVideoSearch to handle AdditionalProperties

type DeviceFeatures_SmartVideoSearch_Eligibility

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

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

Override default JSON handling for DeviceFeatures_SmartVideoSearch_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoSearch_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_SmartVideoSearch_Eligibility

func (*DeviceFeatures_SmartVideoSearch_Eligibility) UnmarshalJSON

Override default JSON handling for DeviceFeatures_SmartVideoSearch_Eligibility to handle AdditionalProperties

type DeviceFeatures_SmartVideoSearch_Enablement

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

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

Override default JSON handling for DeviceFeatures_SmartVideoSearch_Enablement to handle AdditionalProperties

func (*DeviceFeatures_SmartVideoSearch_Enablement) Set

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

Setter for additional properties for DeviceFeatures_SmartVideoSearch_Enablement

func (*DeviceFeatures_SmartVideoSearch_Enablement) UnmarshalJSON

Override default JSON handling for DeviceFeatures_SmartVideoSearch_Enablement to handle AdditionalProperties

type DeviceFeatures_UnusualAlert

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

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

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

Override default JSON handling for DeviceFeatures_UnusualAlert to handle AdditionalProperties

func (*DeviceFeatures_UnusualAlert) Set

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

Setter for additional properties for DeviceFeatures_UnusualAlert

func (*DeviceFeatures_UnusualAlert) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_UnusualAlert to handle AdditionalProperties

type DeviceFeatures_UnusualAlert_Eligibility

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

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

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

Override default JSON handling for DeviceFeatures_UnusualAlert_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_UnusualAlert_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_UnusualAlert_Eligibility

func (*DeviceFeatures_UnusualAlert_Eligibility) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_UnusualAlert_Eligibility to handle AdditionalProperties

type DeviceFeatures_UnusualAlert_Enablement

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

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

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

Override default JSON handling for DeviceFeatures_UnusualAlert_Enablement to handle AdditionalProperties

func (*DeviceFeatures_UnusualAlert_Enablement) Set

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

Setter for additional properties for DeviceFeatures_UnusualAlert_Enablement

func (*DeviceFeatures_UnusualAlert_Enablement) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_UnusualAlert_Enablement to handle AdditionalProperties

type DeviceFeatures_UnusualAlert_Learning

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

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

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

Override default JSON handling for DeviceFeatures_UnusualAlert_Learning to handle AdditionalProperties

func (*DeviceFeatures_UnusualAlert_Learning) Set

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

Setter for additional properties for DeviceFeatures_UnusualAlert_Learning

func (*DeviceFeatures_UnusualAlert_Learning) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_UnusualAlert_Learning to handle AdditionalProperties

type DeviceFeatures_VideoDonation

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

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

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

Override default JSON handling for DeviceFeatures_VideoDonation to handle AdditionalProperties

func (*DeviceFeatures_VideoDonation) Set

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

Setter for additional properties for DeviceFeatures_VideoDonation

func (*DeviceFeatures_VideoDonation) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_VideoDonation to handle AdditionalProperties

type DeviceFeatures_VideoDonation_Eligibility

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

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

Override default JSON handling for DeviceFeatures_VideoDonation_Eligibility to handle AdditionalProperties

func (*DeviceFeatures_VideoDonation_Eligibility) Set

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

Setter for additional properties for DeviceFeatures_VideoDonation_Eligibility

func (*DeviceFeatures_VideoDonation_Eligibility) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_VideoDonation_Eligibility to handle AdditionalProperties

type DeviceFeatures_VideoRecording

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

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

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

Override default JSON handling for DeviceFeatures_VideoRecording to handle AdditionalProperties

func (*DeviceFeatures_VideoRecording) Set

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

Setter for additional properties for DeviceFeatures_VideoRecording

func (*DeviceFeatures_VideoRecording) UnmarshalJSON

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

Override default JSON handling for DeviceFeatures_VideoRecording to handle AdditionalProperties

type DeviceFeatures_VideoRecording_RecordingModeAvailability

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

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

Override default JSON handling for DeviceFeatures_VideoRecording_RecordingModeAvailability to handle AdditionalProperties

func (*DeviceFeatures_VideoRecording_RecordingModeAvailability) Set

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

Setter for additional properties for DeviceFeatures_VideoRecording_RecordingModeAvailability

func (*DeviceFeatures_VideoRecording_RecordingModeAvailability) UnmarshalJSON

Override default JSON handling for DeviceFeatures_VideoRecording_RecordingModeAvailability to handle AdditionalProperties

type DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous

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

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

Override default JSON handling for DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous to handle AdditionalProperties

func (*DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous) Set

Setter for additional properties for DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous

func (*DeviceFeatures_VideoRecording_RecordingModeAvailability_Continuous) UnmarshalJSON

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 historical 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 historical 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 historical 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 Doorbell volume level.
	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 historical 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 historical 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 historical 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

type DeviceLegacySettingsEnableVod0 = int

DeviceLegacySettingsEnableVod0 defines model for DeviceLegacySettings.EnableVod.0.

type DeviceLegacySettingsEnableVod1

type DeviceLegacySettingsEnableVod1 = bool

DeviceLegacySettingsEnableVod1 defines model for DeviceLegacySettings.EnableVod.1.

type DeviceLegacySettingsMotionZones0

type DeviceLegacySettingsMotionZones0 = []interface{}

DeviceLegacySettingsMotionZones0 defines model for DeviceLegacySettings.MotionZones.0.

type DeviceLegacySettingsMotionZones1

type DeviceLegacySettingsMotionZones1 map[string]interface{}

DeviceLegacySettingsMotionZones1 defines model for DeviceLegacySettings.MotionZones.1.

type DeviceLegacySettings_AdvancedMotionZones

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones) Set

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

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones

func (*DeviceLegacySettings_AdvancedMotionZones) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1) Set

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

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone1

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone1_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2) Set

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

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone2

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone2_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3) Set

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

Setter for additional properties for DeviceLegacySettings_AdvancedMotionZones_Zone3

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8) Set

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

Override default JSON handling for DeviceLegacySettings_AdvancedMotionZones_Zone3_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_AdvancedPirMotionZones

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

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

Override default JSON handling for DeviceLegacySettings_AdvancedPirMotionZones to handle AdditionalProperties

func (*DeviceLegacySettings_AdvancedPirMotionZones) Set

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

Setter for additional properties for DeviceLegacySettings_AdvancedPirMotionZones

func (*DeviceLegacySettings_AdvancedPirMotionZones) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_AdvancedPirMotionZones to handle AdditionalProperties

type DeviceLegacySettings_AudioSettings

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

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

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

Override default JSON handling for DeviceLegacySettings_AudioSettings to handle AdditionalProperties

func (*DeviceLegacySettings_AudioSettings) Set

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

Setter for additional properties for DeviceLegacySettings_AudioSettings

func (*DeviceLegacySettings_AudioSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_AudioSettings to handle AdditionalProperties

type DeviceLegacySettings_CvPaidFeatures

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

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

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

Override default JSON handling for DeviceLegacySettings_CvPaidFeatures to handle AdditionalProperties

func (*DeviceLegacySettings_CvPaidFeatures) Set

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

Setter for additional properties for DeviceLegacySettings_CvPaidFeatures

func (*DeviceLegacySettings_CvPaidFeatures) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_CvPaidFeatures to handle AdditionalProperties

type DeviceLegacySettings_CvSettings

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

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings) Set

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

Setter for additional properties for DeviceLegacySettings_CvSettings

func (*DeviceLegacySettings_CvSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_CvSettings to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes) Set

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

Setter for additional properties for DeviceLegacySettings_CvSettings_DetectionTypes

func (*DeviceLegacySettings_CvSettings_DetectionTypes) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Animal

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Animal to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Animal) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Animal to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_BabyCry to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_CarAlarm to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Co2SmokeAlarm to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_DogBark

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_DogBark to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_DogBark) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_DogBark to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_GeneralSound to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_GlassBreak to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Human

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Human to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Human) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Human to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Loitering

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Loitering to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Loitering) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Loitering to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Motion

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Motion to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Motion) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Motion to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_MotionStop to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_MovingVehicle to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_OtherMotion to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_PackageDelivery to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_PackagePickup to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_UnverifiedMotion to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle) Set

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

Override default JSON handling for DeviceLegacySettings_CvSettings_DetectionTypes_Vehicle to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_SearchTypes

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_SearchTypes to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_SearchTypes) Set

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

Setter for additional properties for DeviceLegacySettings_CvSettings_SearchTypes

func (*DeviceLegacySettings_CvSettings_SearchTypes) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_CvSettings_SearchTypes to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch) Set

Setter for additional properties for DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch

func (*DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_CvSettings_SearchTypes_NaturalLanguageSearch to handle AdditionalProperties

type DeviceLegacySettings_CvSettings_Threshold

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

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

Override default JSON handling for DeviceLegacySettings_CvSettings_Threshold to handle AdditionalProperties

func (*DeviceLegacySettings_CvSettings_Threshold) Set

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

Setter for additional properties for DeviceLegacySettings_CvSettings_Threshold

func (*DeviceLegacySettings_CvSettings_Threshold) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_CvSettings_Threshold to handle AdditionalProperties

type DeviceLegacySettings_EnableVod

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

func (t DeviceLegacySettings_EnableVod) AsDeviceLegacySettingsEnableVod0() (DeviceLegacySettingsEnableVod0, error)

AsDeviceLegacySettingsEnableVod0 returns the union data inside the DeviceLegacySettings_EnableVod as a DeviceLegacySettingsEnableVod0

func (DeviceLegacySettings_EnableVod) AsDeviceLegacySettingsEnableVod1

func (t DeviceLegacySettings_EnableVod) AsDeviceLegacySettingsEnableVod1() (DeviceLegacySettingsEnableVod1, error)

AsDeviceLegacySettingsEnableVod1 returns the union data inside the DeviceLegacySettings_EnableVod as a DeviceLegacySettingsEnableVod1

func (*DeviceLegacySettings_EnableVod) FromDeviceLegacySettingsEnableVod0

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

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

func (t DeviceLegacySettings_EnableVod) MarshalJSON() ([]byte, error)

func (*DeviceLegacySettings_EnableVod) MergeDeviceLegacySettingsEnableVod0

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

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

func (t *DeviceLegacySettings_EnableVod) UnmarshalJSON(b []byte) error

type DeviceLegacySettings_HybridMotionZones

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 historical 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

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones) Set

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

Setter for additional properties for DeviceLegacySettings_HybridMotionZones

func (*DeviceLegacySettings_HybridMotionZones) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings) Set

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

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence

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

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

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence) MarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence) Set

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_HumanDetectionConfidence to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap

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

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

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap) MarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap) Set

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_MotionZoneOverlap to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum

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

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

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum) MarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum) Set

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMaximum to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum

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

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

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum) MarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum) Set

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectSizeMinimum to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap

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

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

func (DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap) MarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap) Set

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap

func (*DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedObjectSettings_ObjectTimeOverlap to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones) Set

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

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones

func (*DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_AdvancedPirMotionZones to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1) Set

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

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone1

func (*DeviceLegacySettings_HybridMotionZones_Zone1) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone1_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2) Set

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

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone2

func (*DeviceLegacySettings_HybridMotionZones_Zone2) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone2_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3) Set

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

Setter for additional properties for DeviceLegacySettings_HybridMotionZones_Zone3

func (*DeviceLegacySettings_HybridMotionZones_Zone3) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex3 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex4 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex5 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex6 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex7 to handle AdditionalProperties

type DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8

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

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8 to handle AdditionalProperties

func (*DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8) Set

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

Override default JSON handling for DeviceLegacySettings_HybridMotionZones_Zone3_Vertex8 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones) Set

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

Setter for additional properties for DeviceLegacySettings_IgnoreZones

func (*DeviceLegacySettings_IgnoreZones) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone1

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone1) Set

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

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone1

func (*DeviceLegacySettings_IgnoreZones_Zone1) UnmarshalJSON

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone1_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone1_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone1_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone1_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone2

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone2) Set

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

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone2

func (*DeviceLegacySettings_IgnoreZones_Zone2) UnmarshalJSON

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone2_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone2_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone2_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone2_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone3

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone3) Set

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

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone3

func (*DeviceLegacySettings_IgnoreZones_Zone3) UnmarshalJSON

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone3_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone3_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone3_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone3_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone4

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone4) Set

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

Setter for additional properties for DeviceLegacySettings_IgnoreZones_Zone4

func (*DeviceLegacySettings_IgnoreZones_Zone4) UnmarshalJSON

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

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4_Vertex1 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone4_Vertex1) Set

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4_Vertex1 to handle AdditionalProperties

type DeviceLegacySettings_IgnoreZones_Zone4_Vertex2

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

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4_Vertex2 to handle AdditionalProperties

func (*DeviceLegacySettings_IgnoreZones_Zone4_Vertex2) Set

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

Override default JSON handling for DeviceLegacySettings_IgnoreZones_Zone4_Vertex2 to handle AdditionalProperties

type DeviceLegacySettings_LightSnoozeSettings

type DeviceLegacySettings_LightSnoozeSettings struct {
	// AlwaysOn Only null was observed in the historical 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

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

Override default JSON handling for DeviceLegacySettings_LightSnoozeSettings to handle AdditionalProperties

func (*DeviceLegacySettings_LightSnoozeSettings) Set

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

Setter for additional properties for DeviceLegacySettings_LightSnoozeSettings

func (*DeviceLegacySettings_LightSnoozeSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_LightSnoozeSettings to handle AdditionalProperties

type DeviceLegacySettings_Lite24x7

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

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

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

Override default JSON handling for DeviceLegacySettings_Lite24x7 to handle AdditionalProperties

func (*DeviceLegacySettings_Lite24x7) Set

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

Setter for additional properties for DeviceLegacySettings_Lite24x7

func (*DeviceLegacySettings_Lite24x7) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_Lite24x7 to handle AdditionalProperties

type DeviceLegacySettings_MotionSettings

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

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

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

Override default JSON handling for DeviceLegacySettings_MotionSettings to handle AdditionalProperties

func (*DeviceLegacySettings_MotionSettings) Set

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

Setter for additional properties for DeviceLegacySettings_MotionSettings

func (*DeviceLegacySettings_MotionSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_MotionSettings to handle AdditionalProperties

type DeviceLegacySettings_MotionZones

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

func (t DeviceLegacySettings_MotionZones) AsDeviceLegacySettingsMotionZones0() (DeviceLegacySettingsMotionZones0, error)

AsDeviceLegacySettingsMotionZones0 returns the union data inside the DeviceLegacySettings_MotionZones as a DeviceLegacySettingsMotionZones0

func (DeviceLegacySettings_MotionZones) AsDeviceLegacySettingsMotionZones1

func (t DeviceLegacySettings_MotionZones) AsDeviceLegacySettingsMotionZones1() (DeviceLegacySettingsMotionZones1, error)

AsDeviceLegacySettingsMotionZones1 returns the union data inside the DeviceLegacySettings_MotionZones as a DeviceLegacySettingsMotionZones1

func (*DeviceLegacySettings_MotionZones) FromDeviceLegacySettingsMotionZones0

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

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

func (t DeviceLegacySettings_MotionZones) MarshalJSON() ([]byte, error)

func (*DeviceLegacySettings_MotionZones) MergeDeviceLegacySettingsMotionZones0

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

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

func (t *DeviceLegacySettings_MotionZones) UnmarshalJSON(b []byte) error

type DeviceLegacySettings_NetworkSettings

type DeviceLegacySettings_NetworkSettings struct {
	// DataRestrictionEnabled Only null was observed in the historical device response; future values are unverified.
	DataRestrictionEnabled any `json:"data_restriction_enabled,omitempty"`

	// MacAddressBle Only null was observed in the historical device response; future values are unverified.
	MacAddressBle any `json:"mac_address_ble,omitempty"`

	// MacAddressWifi24 Only null was observed in the historical device response; future values are unverified.
	MacAddressWifi24 any `json:"mac_address_wifi_24,omitempty"`

	// MacAddressWifi5 Only null was observed in the historical device response; future values are unverified.
	MacAddressWifi5 any `json:"mac_address_wifi_5,omitempty"`

	// MaxDynamicListenInterval Only null was observed in the historical 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

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

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

Override default JSON handling for DeviceLegacySettings_NetworkSettings to handle AdditionalProperties

func (*DeviceLegacySettings_NetworkSettings) Set

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

Setter for additional properties for DeviceLegacySettings_NetworkSettings

func (*DeviceLegacySettings_NetworkSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_NetworkSettings to handle AdditionalProperties

type DeviceLegacySettings_NetworkSettings_NetworkDiagnosis

type DeviceLegacySettings_NetworkSettings_NetworkDiagnosis struct {
	// ChannelAnalysis Only null was observed in the historical device response; future values are unverified.
	ChannelAnalysis any `json:"channel_analysis,omitempty"`

	// LanPerformance Only null was observed in the historical device response; future values are unverified.
	LanPerformance any `json:"lan_performance,omitempty"`

	// PeriodicDiagnosis Only null was observed in the historical device response; future values are unverified.
	PeriodicDiagnosis any `json:"periodic_diagnosis,omitempty"`

	// TcpHost Only null was observed in the historical device response; future values are unverified.
	TcpHost any `json:"tcp_host,omitempty"`

	// TcpIperf Only null was observed in the historical device response; future values are unverified.
	TcpIperf any `json:"tcp_iperf,omitempty"`

	// TcpPort Only null was observed in the historical device response; future values are unverified.
	TcpPort any `json:"tcp_port,omitempty"`

	// UdpBandwidth Only null was observed in the historical device response; future values are unverified.
	UdpBandwidth any `json:"udp_bandwidth,omitempty"`

	// UdpHost Only null was observed in the historical device response; future values are unverified.
	UdpHost any `json:"udp_host,omitempty"`

	// UdpIperf Only null was observed in the historical device response; future values are unverified.
	UdpIperf any `json:"udp_iperf,omitempty"`

	// UdpPort Only null was observed in the historical 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

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

Override default JSON handling for DeviceLegacySettings_NetworkSettings_NetworkDiagnosis to handle AdditionalProperties

func (*DeviceLegacySettings_NetworkSettings_NetworkDiagnosis) Set

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

Setter for additional properties for DeviceLegacySettings_NetworkSettings_NetworkDiagnosis

func (*DeviceLegacySettings_NetworkSettings_NetworkDiagnosis) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_NetworkSettings_NetworkDiagnosis to handle AdditionalProperties

type DeviceLegacySettings_OfflineMotionEventSettings

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

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

Override default JSON handling for DeviceLegacySettings_OfflineMotionEventSettings to handle AdditionalProperties

func (*DeviceLegacySettings_OfflineMotionEventSettings) Set

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

Setter for additional properties for DeviceLegacySettings_OfflineMotionEventSettings

func (*DeviceLegacySettings_OfflineMotionEventSettings) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_OfflineMotionEventSettings to handle AdditionalProperties

type DeviceLegacySettings_OtherPaidFeatures

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

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

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

Override default JSON handling for DeviceLegacySettings_OtherPaidFeatures to handle AdditionalProperties

func (*DeviceLegacySettings_OtherPaidFeatures) Set

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

Setter for additional properties for DeviceLegacySettings_OtherPaidFeatures

func (*DeviceLegacySettings_OtherPaidFeatures) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_OtherPaidFeatures to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings

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

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

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

Override default JSON handling for DeviceLegacySettings_PtzSettings to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings) Set

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

Setter for additional properties for DeviceLegacySettings_PtzSettings

func (*DeviceLegacySettings_PtzSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_PtzSettings to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_AutoScan

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

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_AutoScan to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_AutoScan) Set

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

Setter for additional properties for DeviceLegacySettings_PtzSettings_AutoScan

func (*DeviceLegacySettings_PtzSettings_AutoScan) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_PtzSettings_AutoScan to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_PanSettings

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

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_PanSettings) Set

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

Setter for additional properties for DeviceLegacySettings_PtzSettings_PanSettings

func (*DeviceLegacySettings_PtzSettings_PanSettings) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_PanSettings_Movement

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

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings_Movement to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_PanSettings_Movement) Set

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings_Movement to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_PanSettings_Positions

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

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings_Positions to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_PanSettings_Positions) Set

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_PanSettings_Positions to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_TiltSettings

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

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_TiltSettings) Set

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

Setter for additional properties for DeviceLegacySettings_PtzSettings_TiltSettings

func (*DeviceLegacySettings_PtzSettings_TiltSettings) UnmarshalJSON

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_TiltSettings_Movement

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

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings_Movement to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_TiltSettings_Movement) Set

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings_Movement to handle AdditionalProperties

type DeviceLegacySettings_PtzSettings_TiltSettings_Positions

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

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings_Positions to handle AdditionalProperties

func (*DeviceLegacySettings_PtzSettings_TiltSettings_Positions) Set

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

Override default JSON handling for DeviceLegacySettings_PtzSettings_TiltSettings_Positions to handle AdditionalProperties

type DeviceLegacySettings_ServerSettings

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

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

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

Override default JSON handling for DeviceLegacySettings_ServerSettings to handle AdditionalProperties

func (*DeviceLegacySettings_ServerSettings) Set

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

Setter for additional properties for DeviceLegacySettings_ServerSettings

func (*DeviceLegacySettings_ServerSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_ServerSettings to handle AdditionalProperties

type DeviceLegacySettings_SheilaSettings

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

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

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

Override default JSON handling for DeviceLegacySettings_SheilaSettings to handle AdditionalProperties

func (*DeviceLegacySettings_SheilaSettings) Set

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

Setter for additional properties for DeviceLegacySettings_SheilaSettings

func (*DeviceLegacySettings_SheilaSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_SheilaSettings to handle AdditionalProperties

type DeviceLegacySettings_VideoSettings

type DeviceLegacySettings_VideoSettings struct {
	// EncryptionEligibilityMode Only null was observed in the historical 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

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

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

Override default JSON handling for DeviceLegacySettings_VideoSettings to handle AdditionalProperties

func (*DeviceLegacySettings_VideoSettings) Set

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

Setter for additional properties for DeviceLegacySettings_VideoSettings

func (*DeviceLegacySettings_VideoSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_VideoSettings to handle AdditionalProperties

type DeviceLegacySettings_ZoneSettings

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

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

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

Override default JSON handling for DeviceLegacySettings_ZoneSettings to handle AdditionalProperties

func (*DeviceLegacySettings_ZoneSettings) Set

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

Setter for additional properties for DeviceLegacySettings_ZoneSettings

func (*DeviceLegacySettings_ZoneSettings) UnmarshalJSON

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

Override default JSON handling for DeviceLegacySettings_ZoneSettings to handle AdditionalProperties

type DeviceLegacySettings_ZoneSettings_Motion

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

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

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion to handle AdditionalProperties

func (*DeviceLegacySettings_ZoneSettings_Motion) Set

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

Setter for additional properties for DeviceLegacySettings_ZoneSettings_Motion

func (*DeviceLegacySettings_ZoneSettings_Motion) UnmarshalJSON

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

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

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

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion_Properties to handle AdditionalProperties

func (*DeviceLegacySettings_ZoneSettings_Motion_Properties) Set

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

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion_Properties to handle AdditionalProperties

type DeviceLegacySettings_ZoneSettings_Motion_Vertices

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

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

Override default JSON handling for DeviceLegacySettings_ZoneSettings_Motion_Vertices to handle AdditionalProperties

func (*DeviceLegacySettings_ZoneSettings_Motion_Vertices) Set

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

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; historical 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. Historical variants include motion_settings, video_settings, general_settings, and volume_settings. Additional settings may be available for other device types.

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

type Device_Alerts struct {
	// Connection Online in the historical 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

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

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

Override default JSON handling for Device_Alerts to handle AdditionalProperties

func (*Device_Alerts) Set

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

Setter for additional properties for Device_Alerts

func (*Device_Alerts) UnmarshalJSON

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

Override default JSON handling for Device_Alerts to handle AdditionalProperties

type Device_BatteryLife

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

func (t Device_BatteryLife) AsDeviceBatteryLife0() (DeviceBatteryLife0, error)

AsDeviceBatteryLife0 returns the union data inside the Device_BatteryLife as a DeviceBatteryLife0

func (Device_BatteryLife) AsDeviceBatteryLife1

func (t Device_BatteryLife) AsDeviceBatteryLife1() (DeviceBatteryLife1, error)

AsDeviceBatteryLife1 returns the union data inside the Device_BatteryLife as a DeviceBatteryLife1

func (*Device_BatteryLife) FromDeviceBatteryLife0

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

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

func (t Device_BatteryLife) MarshalJSON() ([]byte, error)

func (*Device_BatteryLife) MergeDeviceBatteryLife0

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

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

func (t *Device_BatteryLife) UnmarshalJSON(b []byte) error

type Device_BatteryLife2

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

func (t Device_BatteryLife2) AsDeviceBatteryLife20() (DeviceBatteryLife20, error)

AsDeviceBatteryLife20 returns the union data inside the Device_BatteryLife2 as a DeviceBatteryLife20

func (Device_BatteryLife2) AsDeviceBatteryLife21

func (t Device_BatteryLife2) AsDeviceBatteryLife21() (DeviceBatteryLife21, error)

AsDeviceBatteryLife21 returns the union data inside the Device_BatteryLife2 as a DeviceBatteryLife21

func (*Device_BatteryLife2) FromDeviceBatteryLife20

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

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

func (t Device_BatteryLife2) MarshalJSON() ([]byte, error)

func (*Device_BatteryLife2) MergeDeviceBatteryLife20

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

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

func (t *Device_BatteryLife2) UnmarshalJSON(b []byte) error

type Device_EncryptionGroup

type Device_EncryptionGroup struct {
	// AccountGroupRevisionId Only null was observed in the historical device response; future values are unverified.
	AccountGroupRevisionId any `json:"account_group_revision_id,omitempty"`

	// Id Only null was observed in the historical 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

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

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

Override default JSON handling for Device_EncryptionGroup to handle AdditionalProperties

func (*Device_EncryptionGroup) Set

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

Setter for additional properties for Device_EncryptionGroup

func (*Device_EncryptionGroup) UnmarshalJSON

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

Override default JSON handling for Device_EncryptionGroup to handle AdditionalProperties

type Device_MotionSnooze

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

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

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

Override default JSON handling for Device_MotionSnooze to handle AdditionalProperties

func (*Device_MotionSnooze) Set

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

Setter for additional properties for Device_MotionSnooze

func (*Device_MotionSnooze) UnmarshalJSON

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

Override default JSON handling for Device_MotionSnooze to handle AdditionalProperties

type Device_SirenStatus

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

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

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

Override default JSON handling for Device_SirenStatus to handle AdditionalProperties

func (*Device_SirenStatus) Set

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

Setter for additional properties for Device_SirenStatus

func (*Device_SirenStatus) UnmarshalJSON

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 historical 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 Historical query name; values are syntheticized.
	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 History category. Known values include ding, motion, and on_demand.
	Kind *Kind `form:"kind,omitempty" json:"kind,omitempty"`

	// OlderThan Returns history older than this Unix timestamp, when supported.
	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 Historical 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

type IntercomUnlockCommand struct {
	CommandName IntercomUnlockCommandCommandName `json:"command_name"`
	Request     IntercomUnlockRPC                `json:"request"`
}

IntercomUnlockCommand defines model for IntercomUnlockCommand.

type IntercomUnlockCommandCommandName

type IntercomUnlockCommandCommandName string

IntercomUnlockCommandCommandName defines model for IntercomUnlockCommand.CommandName.

const (
	DeviceRpc IntercomUnlockCommandCommandName = "device_rpc"
)

Defines values for IntercomUnlockCommandCommandName.

func (IntercomUnlockCommandCommandName) Valid

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

type IntercomUnlockParams

type IntercomUnlockParams struct {
	DoorId IntercomUnlockParamsDoorId `json:"door_id"`
	UserId IntercomUnlockParamsUserId `json:"user_id"`
}

IntercomUnlockParams defines model for IntercomUnlockParams.

type IntercomUnlockParamsDoorId

type IntercomUnlockParamsDoorId int

IntercomUnlockParamsDoorId defines model for IntercomUnlockParams.DoorId.

const (
	IntercomUnlockParamsDoorIdN0 IntercomUnlockParamsDoorId = 0
)

Defines values for IntercomUnlockParamsDoorId.

func (IntercomUnlockParamsDoorId) Valid

func (e IntercomUnlockParamsDoorId) Valid() bool

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

type IntercomUnlockParamsUserId

type IntercomUnlockParamsUserId int

IntercomUnlockParamsUserId defines model for IntercomUnlockParams.UserId.

const (
	IntercomUnlockParamsUserIdN0 IntercomUnlockParamsUserId = 0
)

Defines values for IntercomUnlockParamsUserId.

func (IntercomUnlockParamsUserId) Valid

func (e IntercomUnlockParamsUserId) Valid() bool

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

type IntercomUnlockRPC

type IntercomUnlockRPC struct {
	Jsonrpc IntercomUnlockRPCJsonrpc `json:"jsonrpc"`
	Method  IntercomUnlockRPCMethod  `json:"method"`
	Params  IntercomUnlockParams     `json:"params"`
}

IntercomUnlockRPC defines model for IntercomUnlockRPC.

type IntercomUnlockRPCJsonrpc

type IntercomUnlockRPCJsonrpc string

IntercomUnlockRPCJsonrpc defines model for IntercomUnlockRPC.Jsonrpc.

const (
	N20 IntercomUnlockRPCJsonrpc = "2.0"
)

Defines values for IntercomUnlockRPCJsonrpc.

func (IntercomUnlockRPCJsonrpc) Valid

func (e IntercomUnlockRPCJsonrpc) Valid() bool

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

type IntercomUnlockRPCMethod

type IntercomUnlockRPCMethod string

IntercomUnlockRPCMethod defines model for IntercomUnlockRPC.Method.

const (
	UnlockDoor IntercomUnlockRPCMethod = "unlock_door"
)

Defines values for IntercomUnlockRPCMethod.

func (IntercomUnlockRPCMethod) Valid

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 Device health fields. Additional fields may be returned.

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 historical fixture; 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 Supports authorization-code PKCE, refresh, and a compatibility password grant.

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 historical fixture.
	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 historical fixture.
	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

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

type PushDeviceMetadataPnDictVersion string

PushDeviceMetadataPnDictVersion defines model for PushDeviceMetadata.PnDictVersion.

const (
	N200 PushDeviceMetadataPnDictVersion = "2.0.0"
)

Defines values for PushDeviceMetadataPnDictVersion.

func (PushDeviceMetadataPnDictVersion) Valid

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

type PushDeviceMetadataPnService

type PushDeviceMetadataPnService string

PushDeviceMetadataPnService defines model for PushDeviceMetadata.PnService.

const (
	Fcm PushDeviceMetadataPnService = "fcm"
)

Defines values for PushDeviceMetadataPnService.

func (PushDeviceMetadataPnService) Valid

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

type PushDeviceRegistration

type PushDeviceRegistration struct {
	Device PushDeviceRegistrationDevice `json:"device"`
}

PushDeviceRegistration defines model for PushDeviceRegistration.

type PushDeviceRegistrationDevice

type PushDeviceRegistrationDevice struct {
	Metadata              PushDeviceMetadata             `json:"metadata"`
	Os                    PushDeviceRegistrationDeviceOs `json:"os"`
	PushNotificationToken string                         `json:"push_notification_token"`
}

PushDeviceRegistrationDevice defines model for PushDeviceRegistrationDevice.

type PushDeviceRegistrationDeviceOs

type PushDeviceRegistrationDeviceOs string

PushDeviceRegistrationDeviceOs defines model for PushDeviceRegistrationDevice.Os.

const (
	PushDeviceRegistrationDeviceOsAndroid PushDeviceRegistrationDeviceOs = "android"
)

Defines values for PushDeviceRegistrationDeviceOs.

func (PushDeviceRegistrationDeviceOs) Valid

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

type RegisterPushDeviceJSONRequestBody = PushDeviceRegistration

RegisterPushDeviceJSONRequestBody defines body for RegisterPushDevice for application/json ContentType.

type RegisterPushDeviceResponse

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

func ParseRegisterPushDeviceResponse

func ParseRegisterPushDeviceResponse(rsp *http.Response) (*RegisterPushDeviceResponse, error)

ParseRegisterPushDeviceResponse parses an HTTP response from a RegisterPushDeviceWithResponse call

func (RegisterPushDeviceResponse) ContentType

func (r RegisterPushDeviceResponse) ContentType() string

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

func (RegisterPushDeviceResponse) GetBody

func (r RegisterPushDeviceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RegisterPushDeviceResponse) Status

Status returns HTTPResponse.Status

func (RegisterPushDeviceResponse) StatusCode

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 RingHeaderName

type RingHeaderName string

RingHeaderName Named outbound Ring request headers used by the handwritten adapters.

const (
	Accept        RingHeaderName = "Accept"
	Authorization RingHeaderName = "Authorization"
	ContentType   RingHeaderName = "Content-Type"
	HardwareId    RingHeaderName = "Hardware_id"
	N2faCode      RingHeaderName = "2fa-Code"
	N2faSupport   RingHeaderName = "2fa-Support"
	UserAgent     RingHeaderName = "User-Agent"
)

Defines values for RingHeaderName.

func (RingHeaderName) Valid

func (e RingHeaderName) Valid() bool

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

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

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

func ParseSubscribeDeviceDingResponse

func ParseSubscribeDeviceDingResponse(rsp *http.Response) (*SubscribeDeviceDingResponse, error)

ParseSubscribeDeviceDingResponse parses an HTTP response from a SubscribeDeviceDingWithResponse call

func (SubscribeDeviceDingResponse) ContentType

func (r SubscribeDeviceDingResponse) ContentType() string

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

func (SubscribeDeviceDingResponse) GetBody

func (r SubscribeDeviceDingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SubscribeDeviceDingResponse) Status

Status returns HTTPResponse.Status

func (SubscribeDeviceDingResponse) StatusCode

func (r SubscribeDeviceDingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SubscribeDeviceMotionResponse

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

func ParseSubscribeDeviceMotionResponse

func ParseSubscribeDeviceMotionResponse(rsp *http.Response) (*SubscribeDeviceMotionResponse, error)

ParseSubscribeDeviceMotionResponse parses an HTTP response from a SubscribeDeviceMotionWithResponse call

func (SubscribeDeviceMotionResponse) ContentType

func (r SubscribeDeviceMotionResponse) ContentType() string

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

func (SubscribeDeviceMotionResponse) GetBody

func (r SubscribeDeviceMotionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SubscribeDeviceMotionResponse) Status

Status returns HTTPResponse.Status

func (SubscribeDeviceMotionResponse) StatusCode

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 Historical type is on_demand; other event kinds remain valid.
	EventType  string `json:"event_type"`
	IsFavorite *bool  `json:"is_favorite,omitempty"`

	// RecordingStatus Historical 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 Historical 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

type UnlockIntercomJSONRequestBody = IntercomUnlockCommand

UnlockIntercomJSONRequestBody defines body for UnlockIntercom for application/json ContentType.

type UnlockIntercomResponse

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

func ParseUnlockIntercomResponse

func ParseUnlockIntercomResponse(rsp *http.Response) (*UnlockIntercomResponse, error)

ParseUnlockIntercomResponse parses an HTTP response from a UnlockIntercomWithResponse call

func (UnlockIntercomResponse) ContentType

func (r UnlockIntercomResponse) ContentType() string

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

func (UnlockIntercomResponse) GetBody

func (r UnlockIntercomResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UnlockIntercomResponse) Status

func (r UnlockIntercomResponse) Status() string

Status returns HTTPResponse.Status

func (UnlockIntercomResponse) StatusCode

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 historical fixture 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 historical fixture 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 Doorbell volume level.
	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