Documentation
¶
Index ¶
- Constants
- type APIKey
- type APIKeyAdvanced
- type APIKeyCreate
- type APIKeyService
- type APIKeyToken
- type APIKeyTokenCreate
- type APIKeyTokenUpdate
- type APIKeyUpdate
- type Account
- type AccountConfig
- type AccountDescent
- type AccountEmailChange
- type AccountIntegration
- type AccountOtpEnable
- type AccountPasswordReset
- type AccountProfile
- type AccountSetting
- type AccountSettingWeb
- type AccountSubCreate
- type AccountSubUpdate
- type AccountSubscription
- type AccountUpdate
- type AccountUser
- type AccountUserCreate
- type AccountUserUpdate
- type Address
- type AddressCreate
- type AddressReservation
- type AddressToken
- type AddressTokenInfo
- type AddressUnit
- type AddressUnitResponse
- type AddressUpdate
- type AdvancedAPIKey
- type AdvancedAPIKeyCreate
- type AdvancedAPIKeyUpdate
- type AdvancedConfirmationResponse
- func (m *AdvancedConfirmationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AdvancedConfirmationResponse) MarshalBinary() ([]byte, error)
- func (m *AdvancedConfirmationResponse) UnmarshalBinary(b []byte) error
- func (m *AdvancedConfirmationResponse) Validate(formats strfmt.Registry) error
- type Application
- type AuthenticationInfo
- type BulkWebConfigRequest
- type CacheDirective
- type Certificate
- type ChallengeRequest
- type ChallengeResponse
- type ChallengeScheme
- type CharacterSet
- type ClientInfo
- type Company
- type CompletableFuture
- type CompletableFutureListAPIKey
- func (m *CompletableFutureListAPIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CompletableFutureListAPIKey) MarshalBinary() ([]byte, error)
- func (m *CompletableFutureListAPIKey) UnmarshalBinary(b []byte) error
- func (m *CompletableFutureListAPIKey) Validate(formats strfmt.Registry) error
- type Conditions
- type ConnectorService
- type ConnegService
- type Context
- type ConverterService
- type Cookie
- type CookieSetting
- type DecentralWebhook
- type DecoderService
- type Digest
- type Disposition
- type EncoderService
- type Encoding
- type Enroler
- type Enumeration
- type EnumerationString
- type ErrorManager
- type Expectation
- type Filter
- type Formatter
- type Handler
- type Header
- type InputStream
- type Language
- type Level
- type Locale
- type Logger
- type MediaType
- type Metadata
- type MetadataService
- type Method
- type MyAccount
- type NamedValue
- type NamedValueString
- type Notification
- type NotificationSetting
- type ObjectID
- type OpenerIntercomBrand
- type OpenerIntercomModel
- type Parameter
- type Preference
- type PreferenceCharacterSet
- func (m *PreferenceCharacterSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PreferenceCharacterSet) MarshalBinary() ([]byte, error)
- func (m *PreferenceCharacterSet) UnmarshalBinary(b []byte) error
- func (m *PreferenceCharacterSet) Validate(formats strfmt.Registry) error
- type PreferenceEncoding
- type PreferenceLanguage
- type PreferenceMediaType
- type Principal
- type Product
- type Protocol
- type PublicKey
- type Range
- type RangeService
- type ReadableByteChannel
- type Reader
- type RecipientInfo
- type Reference
- type Representation
- type Request
- type ReservationAccessTimesUpdate
- func (m *ReservationAccessTimesUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ReservationAccessTimesUpdate) MarshalBinary() ([]byte, error)
- func (m *ReservationAccessTimesUpdate) UnmarshalBinary(b []byte) error
- func (m *ReservationAccessTimesUpdate) Validate(formats strfmt.Registry) error
- type ResourceBundle
- type Response
- type Restlet
- type Role
- type ScheduledExecutorService
- func (m *ScheduledExecutorService) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ScheduledExecutorService) MarshalBinary() ([]byte, error)
- func (m *ScheduledExecutorService) UnmarshalBinary(b []byte) error
- func (m *ScheduledExecutorService) Validate(formats strfmt.Registry) error
- type SelectableChannel
- type SelectionListener
- type SelectionRegistration
- type ServerInfo
- type Service
- type ShsSubscription
- type Smartlock
- type SmartlockAction
- type SmartlockAdminPinUpdate
- func (m *SmartlockAdminPinUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmartlockAdminPinUpdate) MarshalBinary() ([]byte, error)
- func (m *SmartlockAdminPinUpdate) UnmarshalBinary(b []byte) error
- func (m *SmartlockAdminPinUpdate) Validate(formats strfmt.Registry) error
- type SmartlockAdvancedConfig
- func (m *SmartlockAdvancedConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmartlockAdvancedConfig) MarshalBinary() ([]byte, error)
- func (m *SmartlockAdvancedConfig) UnmarshalBinary(b []byte) error
- func (m *SmartlockAdvancedConfig) Validate(formats strfmt.Registry) error
- type SmartlockAuth
- type SmartlockAuthCreate
- type SmartlockAuthMultiUpdate
- func (m *SmartlockAuthMultiUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmartlockAuthMultiUpdate) MarshalBinary() ([]byte, error)
- func (m *SmartlockAuthMultiUpdate) UnmarshalBinary(b []byte) error
- func (m *SmartlockAuthMultiUpdate) Validate(formats strfmt.Registry) error
- type SmartlockAuthUpdate
- type SmartlockConfig
- type SmartlockLog
- type SmartlockLogOpenerLog
- type SmartlockOpenerAdvancedConfig
- func (m *SmartlockOpenerAdvancedConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmartlockOpenerAdvancedConfig) MarshalBinary() ([]byte, error)
- func (m *SmartlockOpenerAdvancedConfig) UnmarshalBinary(b []byte) error
- func (m *SmartlockOpenerAdvancedConfig) Validate(formats strfmt.Registry) error
- type SmartlockSmartdoorAdvancedConfig
- func (m *SmartlockSmartdoorAdvancedConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmartlockSmartdoorAdvancedConfig) MarshalBinary() ([]byte, error)
- func (m *SmartlockSmartdoorAdvancedConfig) UnmarshalBinary(b []byte) error
- func (m *SmartlockSmartdoorAdvancedConfig) Validate(formats strfmt.Registry) error
- type SmartlockState
- type SmartlockUpdate
- type SmartlockWebConfig
- type SmartlocksAuthAdvancedCreate
- func (m *SmartlocksAuthAdvancedCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmartlocksAuthAdvancedCreate) MarshalBinary() ([]byte, error)
- func (m *SmartlocksAuthAdvancedCreate) UnmarshalBinary(b []byte) error
- func (m *SmartlocksAuthAdvancedCreate) Validate(formats strfmt.Registry) error
- type SmartlocksAuthCreate
- type StackTraceElement
- type StaleDevice
- type Status
- type StatusService
- type Subscription
- type Tag
- type TaskService
- type TermsOfUse
- type Throwable
- type TunnelService
- type Uniform
- type User
- type Variant
- type Verifier
- type WakeupListener
- type Warning
- type WebConfigRequest
- type WebhookLog
- type WebhookMessage
Constants ¶
const ( // AccountShsSubscriptionTypeBUSINESS captures enum value "BUSINESS" AccountShsSubscriptionTypeBUSINESS string = "BUSINESS" // AccountShsSubscriptionTypeSTANDARD captures enum value "STANDARD" AccountShsSubscriptionTypeSTANDARD string = "STANDARD" // AccountShsSubscriptionTypeBUSINESSPLUS captures enum value "BUSINESS_PLUS" AccountShsSubscriptionTypeBUSINESSPLUS string = "BUSINESS_PLUS" // AccountShsSubscriptionTypeAPIONLY captures enum value "API_ONLY" AccountShsSubscriptionTypeAPIONLY string = "API_ONLY" )
const ( // AccountDescentOriginGOOGLE captures enum value "GOOGLE" AccountDescentOriginGOOGLE string = "GOOGLE" // AccountDescentOriginAPPLE captures enum value "APPLE" AccountDescentOriginAPPLE string = "APPLE" )
const ( // AccountIntegrationVersionLEGACY captures enum value "LEGACY" AccountIntegrationVersionLEGACY string = "LEGACY" // AccountIntegrationVersionHYDRA captures enum value "HYDRA" AccountIntegrationVersionHYDRA string = "HYDRA" )
const ( // AccountSettingWebDeviceSortTypeFAVOURITESFIRST captures enum value "FAVOURITES_FIRST" AccountSettingWebDeviceSortTypeFAVOURITESFIRST string = "FAVOURITES_FIRST" // AccountSettingWebDeviceSortTypeNAMEASC captures enum value "NAME_ASC" AccountSettingWebDeviceSortTypeNAMEASC string = "NAME_ASC" // AccountSettingWebDeviceSortTypeNAMEDESC captures enum value "NAME_DESC" AccountSettingWebDeviceSortTypeNAMEDESC string = "NAME_DESC" // AccountSettingWebDeviceSortTypeLASTADDEDDESC captures enum value "LAST_ADDED_DESC" AccountSettingWebDeviceSortTypeLASTADDEDDESC string = "LAST_ADDED_DESC" )
const ( // AccountSettingWebDeviceViewTypeLIST captures enum value "LIST" AccountSettingWebDeviceViewTypeLIST string = "LIST" // AccountSettingWebDeviceViewTypeTILE captures enum value "TILE" AccountSettingWebDeviceViewTypeTILE string = "TILE" )
const ( // AccountSubscriptionPaymentTypeFree captures enum value "free" AccountSubscriptionPaymentTypeFree string = "free" // AccountSubscriptionPaymentTypePaypal captures enum value "paypal" AccountSubscriptionPaymentTypePaypal string = "paypal" // AccountSubscriptionPaymentTypeCard captures enum value "card" AccountSubscriptionPaymentTypeCard string = "card" // AccountSubscriptionPaymentTypeAccount captures enum value "account" AccountSubscriptionPaymentTypeAccount string = "account" )
const ( // AccountSubscriptionStatusActive captures enum value "active" AccountSubscriptionStatusActive string = "active" // AccountSubscriptionStatusDeactivated captures enum value "deactivated" AccountSubscriptionStatusDeactivated string = "deactivated" // AccountSubscriptionStatusFinished captures enum value "finished" AccountSubscriptionStatusFinished string = "finished" )
const ( // AccountUserCreateLanguageEn captures enum value "en" AccountUserCreateLanguageEn string = "en" // AccountUserCreateLanguageDe captures enum value "de" AccountUserCreateLanguageDe string = "de" // AccountUserCreateLanguageEs captures enum value "es" AccountUserCreateLanguageEs string = "es" // AccountUserCreateLanguageFr captures enum value "fr" AccountUserCreateLanguageFr string = "fr" // AccountUserCreateLanguageIt captures enum value "it" AccountUserCreateLanguageIt string = "it" // AccountUserCreateLanguageNl captures enum value "nl" AccountUserCreateLanguageNl string = "nl" // AccountUserCreateLanguageCs captures enum value "cs" AccountUserCreateLanguageCs string = "cs" // AccountUserCreateLanguageSk captures enum value "sk" AccountUserCreateLanguageSk string = "sk" )
const ( // AccountUserUpdateLanguageEn captures enum value "en" AccountUserUpdateLanguageEn string = "en" // AccountUserUpdateLanguageDe captures enum value "de" AccountUserUpdateLanguageDe string = "de" // AccountUserUpdateLanguageEs captures enum value "es" AccountUserUpdateLanguageEs string = "es" // AccountUserUpdateLanguageFr captures enum value "fr" AccountUserUpdateLanguageFr string = "fr" // AccountUserUpdateLanguageIt captures enum value "it" AccountUserUpdateLanguageIt string = "it" // AccountUserUpdateLanguageNl captures enum value "nl" AccountUserUpdateLanguageNl string = "nl" // AccountUserUpdateLanguageCs captures enum value "cs" AccountUserUpdateLanguageCs string = "cs" // AccountUserUpdateLanguageSk captures enum value "sk" AccountUserUpdateLanguageSk string = "sk" )
const ( // AddressServiceIDAirbnb captures enum value "airbnb" AddressServiceIDAirbnb string = "airbnb" // AddressServiceIDBookingsync captures enum value "bookingsync" AddressServiceIDBookingsync string = "bookingsync" )
const ( // AddressReservationServiceIDAirbnb captures enum value "airbnb" AddressReservationServiceIDAirbnb string = "airbnb" // AddressReservationServiceIDBookingsync captures enum value "bookingsync" AddressReservationServiceIDBookingsync string = "bookingsync" )
const ( // AddressReservationStateCanceled captures enum value "canceled" AddressReservationStateCanceled string = "canceled" // AddressReservationStateAccepted captures enum value "accepted" AddressReservationStateAccepted string = "accepted" )
const ( // AddressTokenRedeemResultOk captures enum value "ok" AddressTokenRedeemResultOk string = "ok" // AddressTokenRedeemResultFailed captures enum value "failed" AddressTokenRedeemResultFailed string = "failed" )
const ( // AddressUnitResponseRedeemResultOk captures enum value "ok" AddressUnitResponseRedeemResultOk string = "ok" // AddressUnitResponseRedeemResultFailed captures enum value "failed" AddressUnitResponseRedeemResultFailed string = "failed" )
const ( // AdvancedAPIKeyStatusINACTIVE captures enum value "INACTIVE" AdvancedAPIKeyStatusINACTIVE string = "INACTIVE" // AdvancedAPIKeyStatusAPPLIED captures enum value "APPLIED" AdvancedAPIKeyStatusAPPLIED string = "APPLIED" // AdvancedAPIKeyStatusTESTING captures enum value "TESTING" AdvancedAPIKeyStatusTESTING string = "TESTING" // AdvancedAPIKeyStatusACTIVE captures enum value "ACTIVE" AdvancedAPIKeyStatusACTIVE string = "ACTIVE" )
const ( // AdvancedAPIKeyTypeONLYSECRET captures enum value "ONLY_SECRET" AdvancedAPIKeyTypeONLYSECRET string = "ONLY_SECRET" // AdvancedAPIKeyTypeSHORTRENTAL captures enum value "SHORT_RENTAL" AdvancedAPIKeyTypeSHORTRENTAL string = "SHORT_RENTAL" // AdvancedAPIKeyTypeHEALTHCARE captures enum value "HEALTHCARE" AdvancedAPIKeyTypeHEALTHCARE string = "HEALTHCARE" // AdvancedAPIKeyTypeSMARTHOME captures enum value "SMART_HOME" AdvancedAPIKeyTypeSMARTHOME string = "SMART_HOME" // AdvancedAPIKeyTypeOTHER captures enum value "OTHER" AdvancedAPIKeyTypeOTHER string = "OTHER" )
const ( // AdvancedAPIKeyWebhookStatusACTIVE captures enum value "ACTIVE" AdvancedAPIKeyWebhookStatusACTIVE string = "ACTIVE" // AdvancedAPIKeyWebhookStatusDEACTIVATED captures enum value "DEACTIVATED" AdvancedAPIKeyWebhookStatusDEACTIVATED string = "DEACTIVATED" )
const ( // AdvancedAPIKeyCreateTypeONLYSECRET captures enum value "ONLY_SECRET" AdvancedAPIKeyCreateTypeONLYSECRET string = "ONLY_SECRET" // AdvancedAPIKeyCreateTypeSHORTRENTAL captures enum value "SHORT_RENTAL" AdvancedAPIKeyCreateTypeSHORTRENTAL string = "SHORT_RENTAL" // AdvancedAPIKeyCreateTypeHEALTHCARE captures enum value "HEALTHCARE" AdvancedAPIKeyCreateTypeHEALTHCARE string = "HEALTHCARE" // AdvancedAPIKeyCreateTypeSMARTHOME captures enum value "SMART_HOME" AdvancedAPIKeyCreateTypeSMARTHOME string = "SMART_HOME" // AdvancedAPIKeyCreateTypeOTHER captures enum value "OTHER" AdvancedAPIKeyCreateTypeOTHER string = "OTHER" )
const ( // AdvancedAPIKeyCreateWebhookStatusACTIVE captures enum value "ACTIVE" AdvancedAPIKeyCreateWebhookStatusACTIVE string = "ACTIVE" // AdvancedAPIKeyCreateWebhookStatusDEACTIVATED captures enum value "DEACTIVATED" AdvancedAPIKeyCreateWebhookStatusDEACTIVATED string = "DEACTIVATED" )
const ( // APIKeyAdvancedStatusINACTIVE captures enum value "INACTIVE" APIKeyAdvancedStatusINACTIVE string = "INACTIVE" // APIKeyAdvancedStatusAPPLIED captures enum value "APPLIED" APIKeyAdvancedStatusAPPLIED string = "APPLIED" // APIKeyAdvancedStatusTESTING captures enum value "TESTING" APIKeyAdvancedStatusTESTING string = "TESTING" // APIKeyAdvancedStatusACTIVE captures enum value "ACTIVE" APIKeyAdvancedStatusACTIVE string = "ACTIVE" )
const ( // APIKeyAdvancedTypeONLYSECRET captures enum value "ONLY_SECRET" APIKeyAdvancedTypeONLYSECRET string = "ONLY_SECRET" // APIKeyAdvancedTypeSHORTRENTAL captures enum value "SHORT_RENTAL" APIKeyAdvancedTypeSHORTRENTAL string = "SHORT_RENTAL" // APIKeyAdvancedTypeHEALTHCARE captures enum value "HEALTHCARE" APIKeyAdvancedTypeHEALTHCARE string = "HEALTHCARE" // APIKeyAdvancedTypeSMARTHOME captures enum value "SMART_HOME" APIKeyAdvancedTypeSMARTHOME string = "SMART_HOME" // APIKeyAdvancedTypeOTHER captures enum value "OTHER" APIKeyAdvancedTypeOTHER string = "OTHER" )
const ( // APIKeyAdvancedWebhookStatusACTIVE captures enum value "ACTIVE" APIKeyAdvancedWebhookStatusACTIVE string = "ACTIVE" // APIKeyAdvancedWebhookStatusDEACTIVATED captures enum value "DEACTIVATED" APIKeyAdvancedWebhookStatusDEACTIVATED string = "DEACTIVATED" )
const ( // MyAccountShsSubscriptionTypeBUSINESS captures enum value "BUSINESS" MyAccountShsSubscriptionTypeBUSINESS string = "BUSINESS" // MyAccountShsSubscriptionTypeSTANDARD captures enum value "STANDARD" MyAccountShsSubscriptionTypeSTANDARD string = "STANDARD" // MyAccountShsSubscriptionTypeBUSINESSPLUS captures enum value "BUSINESS_PLUS" MyAccountShsSubscriptionTypeBUSINESSPLUS string = "BUSINESS_PLUS" // MyAccountShsSubscriptionTypeAPIONLY captures enum value "API_ONLY" MyAccountShsSubscriptionTypeAPIONLY string = "API_ONLY" )
const ( // ShsSubscriptionShsSubscriptionTypeBUSINESS captures enum value "BUSINESS" ShsSubscriptionShsSubscriptionTypeBUSINESS string = "BUSINESS" // ShsSubscriptionShsSubscriptionTypeSTANDARD captures enum value "STANDARD" ShsSubscriptionShsSubscriptionTypeSTANDARD string = "STANDARD" // ShsSubscriptionShsSubscriptionTypeBUSINESSPLUS captures enum value "BUSINESS_PLUS" ShsSubscriptionShsSubscriptionTypeBUSINESSPLUS string = "BUSINESS_PLUS" // ShsSubscriptionShsSubscriptionTypeAPIONLY captures enum value "API_ONLY" ShsSubscriptionShsSubscriptionTypeAPIONLY string = "API_ONLY" )
const ( // ShsSubscriptionStateACTIVE captures enum value "ACTIVE" ShsSubscriptionStateACTIVE string = "ACTIVE" // ShsSubscriptionStateINACTIVE captures enum value "INACTIVE" ShsSubscriptionStateINACTIVE string = "INACTIVE" // ShsSubscriptionStateCANCELLED captures enum value "CANCELLED" ShsSubscriptionStateCANCELLED string = "CANCELLED" // ShsSubscriptionStateEXPIRED captures enum value "EXPIRED" ShsSubscriptionStateEXPIRED string = "EXPIRED" // ShsSubscriptionStateONHOLD captures enum value "ON_HOLD" ShsSubscriptionStateONHOLD string = "ON_HOLD" // ShsSubscriptionStatePENDING captures enum value "PENDING" ShsSubscriptionStatePENDING string = "PENDING" // ShsSubscriptionStatePENDINGCANCEL captures enum value "PENDING_CANCEL" ShsSubscriptionStatePENDINGCANCEL string = "PENDING_CANCEL" )
const ( // ShsSubscriptionTypeB2C captures enum value "B2C" ShsSubscriptionTypeB2C string = "B2C" // ShsSubscriptionTypeB2B captures enum value "B2B" ShsSubscriptionTypeB2B string = "B2B" )
const ( // TermsOfUseStateAccepted captures enum value "Accepted" TermsOfUseStateAccepted string = "Accepted" // TermsOfUseStateInactive captures enum value "Inactive" TermsOfUseStateInactive string = "Inactive" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
type APIKey struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // The api key APIKey string `json:"apiKey,omitempty"` // The id // Required: true APIKeyID *int32 `json:"apiKeyId"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The description Description string `json:"description,omitempty"` // The redirect uris RedirectUris []string `json:"redirectUris"` }
APIKey Api key
swagger:model ApiKey
func (*APIKey) ContextValidate ¶
ContextValidate validates this Api key based on context it is used
func (*APIKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type APIKeyAdvanced ¶
type APIKeyAdvanced struct { // country Country string `json:"country,omitempty"` // creation date // Format: date-time CreationDate strfmt.DateTime `json:"creationDate,omitempty"` // description Description string `json:"description,omitempty"` // email Email string `json:"email,omitempty"` // last post duration LastPostDuration int64 `json:"lastPostDuration,omitempty"` // last post succesful LastPostSuccesful bool `json:"lastPostSuccesful,omitempty"` // last successful post // Format: date-time LastSuccessfulPost strfmt.DateTime `json:"lastSuccessfulPost,omitempty"` // name Name string `json:"name,omitempty"` // restricted Restricted bool `json:"restricted,omitempty"` // status // Enum: [INACTIVE APPLIED TESTING ACTIVE] Status string `json:"status,omitempty"` // type // Enum: [ONLY_SECRET SHORT_RENTAL HEALTHCARE SMART_HOME OTHER] Type string `json:"type,omitempty"` // update date // Format: date-time UpdateDate strfmt.DateTime `json:"updateDate,omitempty"` // url URL string `json:"url,omitempty"` // webhook features // Unique: true WebhookFeatures []string `json:"webhookFeatures"` // webhook sent erroneous WebhookSentErroneous int32 `json:"webhookSentErroneous,omitempty"` // webhook sent successfully WebhookSentSuccessfully int32 `json:"webhookSentSuccessfully,omitempty"` // webhook status // Enum: [ACTIVE DEACTIVATED] WebhookStatus string `json:"webhookStatus,omitempty"` // webhook Url WebhookURL string `json:"webhookUrl,omitempty"` }
APIKeyAdvanced Api key advanced
swagger:model ApiKey.Advanced
func (*APIKeyAdvanced) ContextValidate ¶
ContextValidate validates this Api key advanced based on context it is used
func (*APIKeyAdvanced) MarshalBinary ¶
func (m *APIKeyAdvanced) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyAdvanced) UnmarshalBinary ¶
func (m *APIKeyAdvanced) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIKeyCreate ¶
type APIKeyCreate struct { // The description Description string `json:"description,omitempty"` // The list of redirect uris RedirectUris []string `json:"redirectUris"` }
APIKeyCreate Api key create
swagger:model ApiKeyCreate
func (*APIKeyCreate) ContextValidate ¶
ContextValidate validates this Api key create based on context it is used
func (*APIKeyCreate) MarshalBinary ¶
func (m *APIKeyCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyCreate) UnmarshalBinary ¶
func (m *APIKeyCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIKeyService ¶
type APIKeyService struct { // by active webhook ByActiveWebhook *CompletableFutureListAPIKey `json:"byActiveWebhook,omitempty"` }
APIKeyService Api key service
swagger:model ApiKeyService
func (*APIKeyService) ContextValidate ¶
ContextValidate validate this Api key service based on the context it is used
func (*APIKeyService) MarshalBinary ¶
func (m *APIKeyService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyService) UnmarshalBinary ¶
func (m *APIKeyService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIKeyToken ¶
type APIKeyToken struct { // The access token AccessToken string `json:"accessToken,omitempty"` // The account id // Required: true AccountID *int32 `json:"accountId"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The description Description string `json:"description,omitempty"` // The id // Required: true ID *string `json:"id"` // The list of scopes // Required: true Scopes []string `json:"scopes"` }
APIKeyToken Api key token
swagger:model ApiKeyToken
func (*APIKeyToken) ContextValidate ¶
ContextValidate validates this Api key token based on context it is used
func (*APIKeyToken) MarshalBinary ¶
func (m *APIKeyToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyToken) UnmarshalBinary ¶
func (m *APIKeyToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIKeyTokenCreate ¶
type APIKeyTokenCreate struct { // The description Description string `json:"description,omitempty"` // The list of scopes Scopes []string `json:"scopes"` }
APIKeyTokenCreate Api key token create
swagger:model ApiKeyTokenCreate
func (*APIKeyTokenCreate) ContextValidate ¶
ContextValidate validates this Api key token create based on context it is used
func (*APIKeyTokenCreate) MarshalBinary ¶
func (m *APIKeyTokenCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyTokenCreate) UnmarshalBinary ¶
func (m *APIKeyTokenCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIKeyTokenUpdate ¶
type APIKeyTokenUpdate struct { // The description Description string `json:"description,omitempty"` // The list of scopes Scopes []string `json:"scopes"` }
APIKeyTokenUpdate Api key token update
swagger:model ApiKeyTokenUpdate
func (*APIKeyTokenUpdate) ContextValidate ¶
ContextValidate validates this Api key token update based on context it is used
func (*APIKeyTokenUpdate) MarshalBinary ¶
func (m *APIKeyTokenUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyTokenUpdate) UnmarshalBinary ¶
func (m *APIKeyTokenUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIKeyUpdate ¶
type APIKeyUpdate struct { // The description Description string `json:"description,omitempty"` // The list of redirect uris RedirectUris []string `json:"redirectUris"` }
APIKeyUpdate Api key update
swagger:model ApiKeyUpdate
func (*APIKeyUpdate) ContextValidate ¶
ContextValidate validates this Api key update based on context it is used
func (*APIKeyUpdate) MarshalBinary ¶
func (m *APIKeyUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyUpdate) UnmarshalBinary ¶
func (m *APIKeyUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Account ¶
type Account struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // api terms of use APITermsOfUse *TermsOfUse `json:"apiTermsOfUse,omitempty"` // b2b active B2bActive bool `json:"b2bActive,omitempty"` // The optional config Config *AccountConfig `json:"config,omitempty"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // Set, if your account is not a standard Nuki Web account // Read Only: true Descent *AccountDescent `json:"descent,omitempty"` // The email address // Required: true Email *string `json:"email"` // true, if the email is verified EmailVerified bool `json:"emailVerified,omitempty"` // The language code // Example: de Language string `json:"language,omitempty"` // The master account id if it's a sub account MasterAccountID int32 `json:"masterAccountId,omitempty"` // The name // Required: true Name *string `json:"name"` // The optional profile Profile *AccountProfile `json:"profile,omitempty"` // The rights bitmask if it's a sub account: 1 .. manage smartlock, 2 .. operate smartlock, 4 .. manage smartlock config, 8 .. manage smartlock authorizations, 16 .. view smartlock logs, 32 .. manage sub accounts, 64 .. create smartlocks // Maximum: 127 // Minimum: 0 Rights *int32 `json:"rights,omitempty"` // subscription type of the account (b2b) // Enum: [BUSINESS STANDARD BUSINESS_PLUS API_ONLY] ShsSubscriptionType string `json:"shsSubscriptionType,omitempty"` // The type: 0 .. user, 1 .. company, 2 .. caretaker // Required: true // Maximum: 2 // Minimum: 0 Type *int32 `json:"type"` // The update date // Required: true // Format: date-time UpdateDate *strfmt.DateTime `json:"updateDate"` }
Account account
swagger:model Account
func (*Account) ContextValidate ¶
ContextValidate validate this account based on the context it is used
func (*Account) MarshalBinary ¶
MarshalBinary interface implementation
func (*Account) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AccountConfig ¶
type AccountConfig struct { // The alexa pin - used by alexa for unlock actions // Required: true AlexaPin *string `json:"alexaPin"` // The google smart home pin - used for unlock actions // Required: true GactionsHomePin *string `json:"gactionsHomePin"` // The opt enabled date // Format: date-time OtpEnabledDate strfmt.DateTime `json:"otpEnabledDate,omitempty"` }
AccountConfig account config
swagger:model Account.Config
func (*AccountConfig) ContextValidate ¶
ContextValidate validates this account config based on context it is used
func (*AccountConfig) MarshalBinary ¶
func (m *AccountConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountConfig) UnmarshalBinary ¶
func (m *AccountConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountDescent ¶
type AccountDescent struct { // The account origin source // Required: true // Read Only: true // Enum: [GOOGLE APPLE] Origin string `json:"origin"` }
AccountDescent account descent
swagger:model Account.Descent
func (*AccountDescent) ContextValidate ¶
ContextValidate validate this account descent based on the context it is used
func (*AccountDescent) MarshalBinary ¶
func (m *AccountDescent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountDescent) UnmarshalBinary ¶
func (m *AccountDescent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountEmailChange ¶
type AccountEmailChange struct { // The new email for the account // Required: true Email *string `json:"email"` }
AccountEmailChange account email change
swagger:model AccountEmailChange
func (*AccountEmailChange) ContextValidate ¶
ContextValidate validates this account email change based on context it is used
func (*AccountEmailChange) MarshalBinary ¶
func (m *AccountEmailChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountEmailChange) UnmarshalBinary ¶
func (m *AccountEmailChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountIntegration ¶
type AccountIntegration struct { // The enum advanced state (TESTING e.g.) if this integration is a advanced one AdvancedState string `json:"advancedState,omitempty"` // The enum advanced type (HEALTHCARE e.g.) if this integration is a advanced one AdvancedType string `json:"advancedType,omitempty"` // The clientId of this integration/device used for deleting the integration // Required: true ClientID *string `json:"clientId"` // First creation date of the token // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // Description given by the user, usually only set for api tokens Description string `json:"description,omitempty"` // True this is a device and false this is an integration Device bool `json:"device,omitempty"` // Last refresh date of the token // Format: date-time LastActiveAt strfmt.DateTime `json:"lastActiveAt,omitempty"` // Name of the token // Required: true Name *string `json:"name"` // The scopes which have been granted to the token Scopes []string `json:"scopes"` // Sort order by which the entry should be sorted, is being set by the vendor key enum SortOrder int32 `json:"sortOrder,omitempty"` // True if the integration is done via a sub-account SubAccount bool `json:"subAccount,omitempty"` // Id of the sub-account or null if there is none, which is associated with this token SubAccountID int32 `json:"subAccountId,omitempty"` // Name of the sub-account or null if there is none, which is associated with this token SubAccountName string `json:"subAccountName,omitempty"` // The tokenId if this a manual generated api token TokenID string `json:"tokenId,omitempty"` // Enum key identifying the integration/device, values are e.g. ALEXA, IOS, NUKI_WEB, API_TOKEN etc // Required: true VendorKey *string `json:"vendorKey"` // If the integration/device is an legacy or from the new oauth implementation // Required: true // Enum: [LEGACY HYDRA] Version *string `json:"version"` // If this is from a legacy integration this is set to true Warning bool `json:"warning,omitempty"` }
AccountIntegration account integration
swagger:model AccountIntegration
func (*AccountIntegration) ContextValidate ¶
ContextValidate validates this account integration based on context it is used
func (*AccountIntegration) MarshalBinary ¶
func (m *AccountIntegration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountIntegration) UnmarshalBinary ¶
func (m *AccountIntegration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountOtpEnable ¶
type AccountOtpEnable struct { // The one time password (otp) // Required: true Otp *string `json:"otp"` }
AccountOtpEnable account otp enable
swagger:model AccountOtpEnable
func (*AccountOtpEnable) ContextValidate ¶
ContextValidate validates this account otp enable based on context it is used
func (*AccountOtpEnable) MarshalBinary ¶
func (m *AccountOtpEnable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountOtpEnable) UnmarshalBinary ¶
func (m *AccountOtpEnable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountPasswordReset ¶
type AccountPasswordReset struct { // delete Api tokens DeleteAPITokens bool `json:"deleteApiTokens,omitempty"` // email // Required: true Email *string `json:"email"` }
AccountPasswordReset account password reset
swagger:model AccountPasswordReset
func (*AccountPasswordReset) ContextValidate ¶
ContextValidate validates this account password reset based on context it is used
func (*AccountPasswordReset) MarshalBinary ¶
func (m *AccountPasswordReset) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountPasswordReset) UnmarshalBinary ¶
func (m *AccountPasswordReset) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountProfile ¶
type AccountProfile struct { // The address // Required: true Address *string `json:"address"` // The city // Required: true City *string `json:"city"` // The 2-letter country code // Required: true Country *string `json:"country"` // The first name // Required: true FirstName *string `json:"firstName"` // The last name // Required: true LastName *string `json:"lastName"` // The postal code // Required: true Zip *string `json:"zip"` }
AccountProfile account profile
swagger:model Account.Profile
func (*AccountProfile) ContextValidate ¶
ContextValidate validates this account profile based on context it is used
func (*AccountProfile) MarshalBinary ¶
func (m *AccountProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountProfile) UnmarshalBinary ¶
func (m *AccountProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountSetting ¶
type AccountSetting struct { // The account settings for Nuki Web Web *AccountSettingWeb `json:"web,omitempty"` }
AccountSetting account setting
swagger:model AccountSetting
func (*AccountSetting) ContextValidate ¶
ContextValidate validate this account setting based on the context it is used
func (*AccountSetting) MarshalBinary ¶
func (m *AccountSetting) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountSetting) UnmarshalBinary ¶
func (m *AccountSetting) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountSettingWeb ¶
type AccountSettingWeb struct { // The initial sort type of the device page // Enum: [FAVOURITES_FIRST NAME_ASC NAME_DESC LAST_ADDED_DESC] DeviceSortType string `json:"deviceSortType,omitempty"` // The initial view type of the device page // Enum: [LIST TILE] DeviceViewType string `json:"deviceViewType,omitempty"` // List of marked staled devices MarkedStaledDevices []*StaleDevice `json:"markedStaledDevices"` // If true, Nuki Club info is dismissed and no banner is shown NukiClubDismissed bool `json:"nukiClubDismissed,omitempty"` // List of removed staled devices RemovedStaledDevices []*StaleDevice `json:"removedStaledDevices"` }
AccountSettingWeb account setting web
swagger:model AccountSetting.Web
func (*AccountSettingWeb) ContextValidate ¶
ContextValidate validate this account setting web based on the context it is used
func (*AccountSettingWeb) MarshalBinary ¶
func (m *AccountSettingWeb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountSettingWeb) UnmarshalBinary ¶
func (m *AccountSettingWeb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountSubCreate ¶
type AccountSubCreate struct { // The email address // Example: test@test.at // Required: true Email *string `json:"email"` // The language code // Example: de // Required: true Language *string `json:"language"` // The name of the sub account // Required: true Name *string `json:"name"` // The password (must be at least 7 chars long) // Required: true Password *string `json:"password"` // The optional profile Profile *AccountProfile `json:"profile,omitempty"` // The right bitmask of the sub account: 1 .. operate smartlock, 2 .. change smartlock config, 4 .. manage smartlock users, 8 .. view smartlock logs, 16 .. manage sub accounts // Required: true // Maximum: 31 // Minimum: 0 Rights *int32 `json:"rights"` }
AccountSubCreate account sub create
swagger:model AccountSubCreate
func (*AccountSubCreate) ContextValidate ¶
ContextValidate validate this account sub create based on the context it is used
func (*AccountSubCreate) MarshalBinary ¶
func (m *AccountSubCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountSubCreate) UnmarshalBinary ¶
func (m *AccountSubCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountSubUpdate ¶
type AccountSubUpdate struct { // The optional config Config *AccountConfig `json:"config,omitempty"` // The new email address // Example: test@test.at Email string `json:"email,omitempty"` // The language code // Example: de // Required: true Language *string `json:"language"` // The new name of the sub account Name string `json:"name,omitempty"` // The new password (must be at least 7 chars long) Password string `json:"password,omitempty"` // The optional profile Profile *AccountProfile `json:"profile,omitempty"` // The new right bitmask of the sub account: 1 .. operate smartlock, 2 .. change smartlock config, 4 .. manage smartlock users, 8 .. view smartlock logs, 16 .. manage sub accounts, 32 .. manage sub accounts, 64 .. create smartlocks // Maximum: 127 // Minimum: 0 Rights *int32 `json:"rights,omitempty"` }
AccountSubUpdate account sub update
swagger:model AccountSubUpdate
func (*AccountSubUpdate) ContextValidate ¶
ContextValidate validate this account sub update based on the context it is used
func (*AccountSubUpdate) MarshalBinary ¶
func (m *AccountSubUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountSubUpdate) UnmarshalBinary ¶
func (m *AccountSubUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountSubscription ¶
type AccountSubscription struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // The optional gift article after first purchase GiftArticle string `json:"giftArticle,omitempty"` // The id // Required: true ID *ObjectID `json:"id"` // The next payment date NextPaymentDate int64 `json:"nextPaymentDate,omitempty"` // The payment type // Required: true // Enum: [free paypal card account] PaymentType *string `json:"paymentType"` // The actual period // Required: true Period *int32 `json:"period"` // The period end date PeriodEndDate int64 `json:"periodEndDate,omitempty"` // The quantity of authorizations // Required: true Quantity *int32 `json:"quantity"` // The start date StartDate int64 `json:"startDate,omitempty"` // The status // Required: true // Enum: [active deactivated finished] Status *string `json:"status"` // The subscription id // Required: true SubscriptionID *int32 `json:"subscriptionId"` }
AccountSubscription account subscription
swagger:model AccountSubscription
func (*AccountSubscription) ContextValidate ¶
ContextValidate validate this account subscription based on the context it is used
func (*AccountSubscription) MarshalBinary ¶
func (m *AccountSubscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountSubscription) UnmarshalBinary ¶
func (m *AccountSubscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUpdate ¶
type AccountUpdate struct { // The optional config Config *AccountConfig `json:"config,omitempty"` // The new email address // Example: test@test.at Email string `json:"email,omitempty"` // The language code // Example: de // Required: true Language *string `json:"language"` // The name of the account Name string `json:"name,omitempty"` // The password (must be at least 7 chars long) Password string `json:"password,omitempty"` // The optional profile Profile *AccountProfile `json:"profile,omitempty"` }
AccountUpdate account update
swagger:model AccountUpdate
func (*AccountUpdate) ContextValidate ¶
ContextValidate validate this account update based on the context it is used
func (*AccountUpdate) MarshalBinary ¶
func (m *AccountUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUpdate) UnmarshalBinary ¶
func (m *AccountUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUser ¶
type AccountUser struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // The account user id // Required: true AccountUserID *int32 `json:"accountUserId"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The email address // Required: true Email *string `json:"email"` // The language code // Example: de Language string `json:"language,omitempty"` // The name // Required: true Name *string `json:"name"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` // The optional type: 0 .. user, 1 .. company // Maximum: 1 // Minimum: 0 Type *int32 `json:"type,omitempty"` // The update date // Required: true // Format: date-time UpdateDate *strfmt.DateTime `json:"updateDate"` }
AccountUser account user
swagger:model AccountUser
func (*AccountUser) ContextValidate ¶
ContextValidate validate this account user based on the context it is used
func (*AccountUser) MarshalBinary ¶
func (m *AccountUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUser) UnmarshalBinary ¶
func (m *AccountUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUserCreate ¶
type AccountUserCreate struct { // The email address // Required: true Email *string `json:"email"` // The language code // Enum: [en de es fr it nl cs sk] Language string `json:"language,omitempty"` // The name // Required: true Name *string `json:"name"` // The optional type - only allowed for caretakers: 0 .. user, 1 .. company // Maximum: 1 // Minimum: 0 Type *int32 `json:"type,omitempty"` }
AccountUserCreate account user create
swagger:model AccountUserCreate
func (*AccountUserCreate) ContextValidate ¶
ContextValidate validates this account user create based on context it is used
func (*AccountUserCreate) MarshalBinary ¶
func (m *AccountUserCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUserCreate) UnmarshalBinary ¶
func (m *AccountUserCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUserUpdate ¶
type AccountUserUpdate struct { // The new email address // Example: test@test.at Email string `json:"email,omitempty"` // The new language code // Enum: [en de es fr it nl cs sk] Language string `json:"language,omitempty"` // The new name of the sub account Name string `json:"name,omitempty"` }
AccountUserUpdate account user update
swagger:model AccountUserUpdate
func (*AccountUserUpdate) ContextValidate ¶
ContextValidate validates this account user update based on context it is used
func (*AccountUserUpdate) MarshalBinary ¶
func (m *AccountUserUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUserUpdate) UnmarshalBinary ¶
func (m *AccountUserUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Address ¶
type Address struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // The address id // Required: true AddressID *int32 `json:"addressId"` // The optional check in time (minutes of the day) CheckInTime int32 `json:"checkInTime,omitempty"` // The optional check out time (minutes of the day) CheckOutTime int32 `json:"checkOutTime,omitempty"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The name of the address // Required: true Name *string `json:"name"` // The optional service id if the address is from an partner service // Enum: [airbnb bookingsync] ServiceID string `json:"serviceId,omitempty"` // The optional settings object Settings map[string]interface{} `json:"settings,omitempty"` // The smartlocks for this address // Required: true SmartlockIds []int64 `json:"smartlockIds"` // The timezone TimeZone string `json:"timeZone,omitempty"` // The update date // Required: true // Format: date-time UpdateDate *strfmt.DateTime `json:"updateDate"` }
Address address
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AddressCreate ¶
type AddressCreate struct { // The name of the address // Required: true Name *string `json:"name"` // The smartlocks for this address // Required: true SmartlockIds []int64 `json:"smartlockIds"` }
AddressCreate address create
swagger:model AddressCreate
func (*AddressCreate) ContextValidate ¶
ContextValidate validates this address create based on context it is used
func (*AddressCreate) MarshalBinary ¶
func (m *AddressCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressCreate) UnmarshalBinary ¶
func (m *AddressCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddressReservation ¶
type AddressReservation struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // The address id // Required: true AddressID *int32 `json:"addressId"` // The automation state // Required: true Automation *int32 `json:"automation"` // True if the user has checked in, false if the check in is pending, null if it isn't monitored CheckedIn bool `json:"checkedIn,omitempty"` // currently issuing auth CurrentlyIssuingAuth bool `json:"currentlyIssuingAuth,omitempty"` // currently revoking auth CurrentlyRevokingAuth bool `json:"currentlyRevokingAuth,omitempty"` // The email of the guest // Required: true Email *string `json:"email"` // The end date // Required: true // Format: date-time EndDate *strfmt.DateTime `json:"endDate"` // The number of guests // Required: true Guests *int32 `json:"guests"` // The number of guests issued // Required: true GuestsIssued *int32 `json:"guestsIssued"` // has custom access times // Required: true HasCustomAccessTimes *bool `json:"hasCustomAccessTimes"` // The id // Required: true ID *string `json:"id"` // is currently issuing auth // Required: true IsCurrentlyIssuingAuth *bool `json:"isCurrentlyIssuingAuth"` // is currently revoking auth // Required: true IsCurrentlyRevokingAuth *bool `json:"isCurrentlyRevokingAuth"` // True if a keypad authorization was issued // Required: true KeypadIssued *bool `json:"keypadIssued"` // The name of the guest // Required: true Name *string `json:"name"` // The reference (booking code) Reference string `json:"reference,omitempty"` // The optional service id if the address is from an partner service // Enum: [airbnb bookingsync] ServiceID string `json:"serviceId,omitempty"` // The start date // Required: true // Format: date-time StartDate *strfmt.DateTime `json:"startDate"` // The state // Required: true // Enum: [canceled accepted] State *string `json:"state"` // The update date // Required: true // Format: date-time UpdateDate *strfmt.DateTime `json:"updateDate"` }
AddressReservation address reservation
swagger:model AddressReservation
func (*AddressReservation) ContextValidate ¶
ContextValidate validates this address reservation based on context it is used
func (*AddressReservation) MarshalBinary ¶
func (m *AddressReservation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressReservation) UnmarshalBinary ¶
func (m *AddressReservation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddressToken ¶
type AddressToken struct { // The address id // Required: true AddressID *int32 `json:"addressId"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The id // Required: true ID *string `json:"id"` // The list of invite keys InviteKeys []string `json:"inviteKeys"` // The redeem account id // Required: true RedeemAccountID *int32 `json:"redeemAccountId"` // The redeem date // Required: true // Format: date-time RedeemDate *strfmt.DateTime `json:"redeemDate"` // The redeem result // Enum: [ok failed] RedeemResult string `json:"redeemResult,omitempty"` }
AddressToken address token
swagger:model AddressToken
func (*AddressToken) ContextValidate ¶
ContextValidate validates this address token based on context it is used
func (*AddressToken) MarshalBinary ¶
func (m *AddressToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressToken) UnmarshalBinary ¶
func (m *AddressToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddressTokenInfo ¶
type AddressTokenInfo struct { // The address name // Required: true AddressName *string `json:"addressName"` // The id // Required: true ID *string `json:"id"` // The associated smartlock names // Required: true SmartlockNames []string `json:"smartlockNames"` }
AddressTokenInfo address token info
swagger:model AddressTokenInfo
func (*AddressTokenInfo) ContextValidate ¶
ContextValidate validates this address token info based on context it is used
func (*AddressTokenInfo) MarshalBinary ¶
func (m *AddressTokenInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressTokenInfo) UnmarshalBinary ¶
func (m *AddressTokenInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddressUnit ¶
type AddressUnit struct { // The address id // Read Only: true AddressID int32 `json:"addressId,omitempty"` // The address token id // Read Only: true AddressTokenID string `json:"addressTokenId,omitempty"` // The id // Read Only: true ID string `json:"id,omitempty"` // The name of the address unit // Required: true Name *string `json:"name"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` }
AddressUnit address unit
swagger:model AddressUnit
func (*AddressUnit) ContextValidate ¶
ContextValidate validate this address unit based on the context it is used
func (*AddressUnit) MarshalBinary ¶
func (m *AddressUnit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressUnit) UnmarshalBinary ¶
func (m *AddressUnit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddressUnitResponse ¶
type AddressUnitResponse struct { // The address id // Read Only: true AddressID int32 `json:"addressId,omitempty"` // The address token id // Read Only: true AddressTokenID string `json:"addressTokenId,omitempty"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The id // Read Only: true ID string `json:"id,omitempty"` // The name of the address unit // Required: true Name *string `json:"name"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` // The redeem date // Required: true // Format: date-time RedeemDate *strfmt.DateTime `json:"redeemDate"` // The redeem result // Enum: [ok failed] RedeemResult string `json:"redeemResult,omitempty"` }
AddressUnitResponse address unit response
swagger:model AddressUnitResponse
func (*AddressUnitResponse) ContextValidate ¶
ContextValidate validate this address unit response based on the context it is used
func (*AddressUnitResponse) MarshalBinary ¶
func (m *AddressUnitResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressUnitResponse) UnmarshalBinary ¶
func (m *AddressUnitResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddressUpdate ¶
type AddressUpdate struct { // The name of the address Name string `json:"name,omitempty"` // The optional settings Settings map[string]interface{} `json:"settings,omitempty"` // The smartlocks for this address SmartlockIds []int64 `json:"smartlockIds"` }
AddressUpdate address update
swagger:model AddressUpdate
func (*AddressUpdate) ContextValidate ¶
ContextValidate validates this address update based on context it is used
func (*AddressUpdate) MarshalBinary ¶
func (m *AddressUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressUpdate) UnmarshalBinary ¶
func (m *AddressUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdvancedAPIKey ¶
type AdvancedAPIKey struct { // The country of the headquarter or the country where you are mainly doing business in // Required: true Country *string `json:"country"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // Describe the services and/or products you offer to your customers and how your customers would use Nuki devices in their processes // Required: true Description *string `json:"description"` // An email address where we can contact you for checks on your application // Required: true Email *string `json:"email"` // The name of the company for which you apply for access // Required: true Name *string `json:"name"` // Whether the advanced API key is restricted // Required: true Restricted *bool `json:"restricted"` // The client secret, visible if application is approved (status >= 'TESTING') // Required: true Secret *string `json:"secret"` // The application status // Required: true // Enum: [INACTIVE APPLIED TESTING ACTIVE] Status *string `json:"status"` // The application type // Required: true // Enum: [ONLY_SECRET SHORT_RENTAL HEALTHCARE SMART_HOME OTHER] Type *string `json:"type"` // The update date // Required: true // Format: date-time UpdateDate *strfmt.DateTime `json:"updateDate"` // A website where we can find more information on the company and its business model // Required: true URL *string `json:"url"` // The features to trigger webhooks, for all types except 'ONLY_SECRET' // Required: true // Unique: true WebhookFeatures []string `json:"webhookFeatures"` // The status of the webhook posting automation // Read Only: true // Enum: [ACTIVE DEACTIVATED] WebhookStatus string `json:"webhookStatus,omitempty"` // The URL where our webhooks should point to // Required: true WebhookURL *string `json:"webhookUrl"` }
AdvancedAPIKey advanced Api key
swagger:model AdvancedApiKey
func (*AdvancedAPIKey) ContextValidate ¶
ContextValidate validate this advanced Api key based on the context it is used
func (*AdvancedAPIKey) MarshalBinary ¶
func (m *AdvancedAPIKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdvancedAPIKey) UnmarshalBinary ¶
func (m *AdvancedAPIKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdvancedAPIKeyCreate ¶
type AdvancedAPIKeyCreate struct { // The country of the headquarter or the country where you are mainly doing business in // Required: true Country *string `json:"country"` // Describe the services and/or products you offer to your customers and how your customers would use Nuki devices in their processes // Required: true Description *string `json:"description"` // An email address where we can contact you for checks on your application // Required: true Email *string `json:"email"` // The name of the company for which you apply for access // Required: true Name *string `json:"name"` // Whether the advanced API key is restricted // Required: true Restricted *bool `json:"restricted"` // The application type // Required: true // Enum: [ONLY_SECRET SHORT_RENTAL HEALTHCARE SMART_HOME OTHER] Type *string `json:"type"` // A website where we can find more information on the company and its business model // Required: true URL *string `json:"url"` // The features to trigger webhooks, for all types except 'ONLY_SECRET' // Required: true // Unique: true WebhookFeatures []string `json:"webhookFeatures"` // The status of the webhook posting automation // Read Only: true // Enum: [ACTIVE DEACTIVATED] WebhookStatus string `json:"webhookStatus,omitempty"` // The URL where our webhooks should point to // Required: true WebhookURL *string `json:"webhookUrl"` }
AdvancedAPIKeyCreate advanced Api key create
swagger:model AdvancedApiKeyCreate
func (*AdvancedAPIKeyCreate) ContextValidate ¶
ContextValidate validate this advanced Api key create based on the context it is used
func (*AdvancedAPIKeyCreate) MarshalBinary ¶
func (m *AdvancedAPIKeyCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdvancedAPIKeyCreate) UnmarshalBinary ¶
func (m *AdvancedAPIKeyCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdvancedAPIKeyUpdate ¶
type AdvancedAPIKeyUpdate struct { // The features to trigger webhooks, for all types except 'ONLY_SECRET' // Required: true // Unique: true WebhookFeatures []string `json:"webhookFeatures"` // The URL where our webhooks should point to // Required: true WebhookURL *string `json:"webhookUrl"` }
AdvancedAPIKeyUpdate advanced Api key update
swagger:model AdvancedApiKeyUpdate
func (*AdvancedAPIKeyUpdate) ContextValidate ¶
ContextValidate validates this advanced Api key update based on context it is used
func (*AdvancedAPIKeyUpdate) MarshalBinary ¶
func (m *AdvancedAPIKeyUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdvancedAPIKeyUpdate) UnmarshalBinary ¶
func (m *AdvancedAPIKeyUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdvancedConfirmationResponse ¶
type AdvancedConfirmationResponse struct { // Contains error message and smartlock IDs, if auths can not be created because they need subscription. Error string `json:"error,omitempty"` // A UUID to identify the upcoming asynchronously web hook response // Required: true RequestID *string `json:"requestId"` }
AdvancedConfirmationResponse advanced confirmation response
swagger:model AdvancedConfirmationResponse
func (*AdvancedConfirmationResponse) ContextValidate ¶
func (m *AdvancedConfirmationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this advanced confirmation response based on context it is used
func (*AdvancedConfirmationResponse) MarshalBinary ¶
func (m *AdvancedConfirmationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdvancedConfirmationResponse) UnmarshalBinary ¶
func (m *AdvancedConfirmationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Application ¶
type Application struct { // application Application *Application `json:"application,omitempty"` // author Author string `json:"author,omitempty"` // connector service ConnectorService *ConnectorService `json:"connectorService,omitempty"` // conneg service ConnegService *ConnegService `json:"connegService,omitempty"` // context Context *Context `json:"context,omitempty"` // converter service ConverterService *ConverterService `json:"converterService,omitempty"` // debugging Debugging bool `json:"debugging,omitempty"` // decoder service DecoderService *DecoderService `json:"decoderService,omitempty"` // description Description string `json:"description,omitempty"` // encoder service EncoderService *EncoderService `json:"encoderService,omitempty"` // inbound root InboundRoot *Restlet `json:"inboundRoot,omitempty"` // logger Logger *Logger `json:"logger,omitempty"` // metadata service MetadataService *MetadataService `json:"metadataService,omitempty"` // name Name string `json:"name,omitempty"` // outbound root OutboundRoot *Restlet `json:"outboundRoot,omitempty"` // owner Owner string `json:"owner,omitempty"` // range service RangeService *RangeService `json:"rangeService,omitempty"` // roles Roles []*Role `json:"roles"` // services Services []*Service `json:"services"` // started Started bool `json:"started,omitempty"` // status service StatusService *StatusService `json:"statusService,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` // task service TaskService *TaskService `json:"taskService,omitempty"` // tunnel service TunnelService *TunnelService `json:"tunnelService,omitempty"` }
Application application
swagger:model Application
func (*Application) ContextValidate ¶
ContextValidate validate this application based on the context it is used
func (*Application) MarshalBinary ¶
func (m *Application) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Application) UnmarshalBinary ¶
func (m *Application) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthenticationInfo ¶
type AuthenticationInfo struct { // client nonce ClientNonce string `json:"clientNonce,omitempty"` // next server nonce NextServerNonce string `json:"nextServerNonce,omitempty"` // nonce count NonceCount int32 `json:"nonceCount,omitempty"` // quality Quality string `json:"quality,omitempty"` // response digest ResponseDigest string `json:"responseDigest,omitempty"` }
AuthenticationInfo authentication info
swagger:model AuthenticationInfo
func (*AuthenticationInfo) ContextValidate ¶
ContextValidate validates this authentication info based on context it is used
func (*AuthenticationInfo) MarshalBinary ¶
func (m *AuthenticationInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthenticationInfo) UnmarshalBinary ¶
func (m *AuthenticationInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkWebConfigRequest ¶
type BulkWebConfigRequest struct { // web config requests WebConfigRequests []*WebConfigRequest `json:"webConfigRequests"` }
BulkWebConfigRequest bulk web config request
swagger:model BulkWebConfigRequest
func (*BulkWebConfigRequest) ContextValidate ¶
ContextValidate validate this bulk web config request based on the context it is used
func (*BulkWebConfigRequest) MarshalBinary ¶
func (m *BulkWebConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkWebConfigRequest) UnmarshalBinary ¶
func (m *BulkWebConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CacheDirective ¶
type CacheDirective struct { // digit Digit bool `json:"digit,omitempty"` // name Name string `json:"name,omitempty"` // value Value string `json:"value,omitempty"` }
CacheDirective cache directive
swagger:model CacheDirective
func (*CacheDirective) ContextValidate ¶
ContextValidate validates this cache directive based on context it is used
func (*CacheDirective) MarshalBinary ¶
func (m *CacheDirective) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CacheDirective) UnmarshalBinary ¶
func (m *CacheDirective) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Certificate ¶
type Certificate struct { // encoded Encoded []strfmt.Base64 `json:"encoded"` // public key PublicKey *PublicKey `json:"publicKey,omitempty"` // type Type string `json:"type,omitempty"` }
Certificate certificate
swagger:model Certificate
func (*Certificate) ContextValidate ¶
ContextValidate validate this certificate based on the context it is used
func (*Certificate) MarshalBinary ¶
func (m *Certificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Certificate) UnmarshalBinary ¶
func (m *Certificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChallengeRequest ¶
type ChallengeRequest struct { // digest algorithm DigestAlgorithm string `json:"digestAlgorithm,omitempty"` // domain refs DomainRefs []*Reference `json:"domainRefs"` // opaque Opaque string `json:"opaque,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // quality options QualityOptions []string `json:"qualityOptions"` // raw value RawValue string `json:"rawValue,omitempty"` // realm Realm string `json:"realm,omitempty"` // scheme Scheme *ChallengeScheme `json:"scheme,omitempty"` // server nonce ServerNonce string `json:"serverNonce,omitempty"` // stale Stale bool `json:"stale,omitempty"` }
ChallengeRequest challenge request
swagger:model ChallengeRequest
func (*ChallengeRequest) ContextValidate ¶
ContextValidate validate this challenge request based on the context it is used
func (*ChallengeRequest) MarshalBinary ¶
func (m *ChallengeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChallengeRequest) UnmarshalBinary ¶
func (m *ChallengeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChallengeResponse ¶
type ChallengeResponse struct { // client nonce ClientNonce string `json:"clientNonce,omitempty"` // digest algorithm DigestAlgorithm string `json:"digestAlgorithm,omitempty"` // digest ref DigestRef *Reference `json:"digestRef,omitempty"` // identifier Identifier string `json:"identifier,omitempty"` // opaque Opaque string `json:"opaque,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // principal Principal *Principal `json:"principal,omitempty"` // quality Quality string `json:"quality,omitempty"` // raw value RawValue string `json:"rawValue,omitempty"` // realm Realm string `json:"realm,omitempty"` // scheme Scheme *ChallengeScheme `json:"scheme,omitempty"` // secret Secret []string `json:"secret"` // secret algorithm SecretAlgorithm string `json:"secretAlgorithm,omitempty"` // server nonce ServerNonce string `json:"serverNonce,omitempty"` // server nounce count ServerNounceCount int32 `json:"serverNounceCount,omitempty"` // server nounce count as hex ServerNounceCountAsHex string `json:"serverNounceCountAsHex,omitempty"` // time issued TimeIssued int64 `json:"timeIssued,omitempty"` }
ChallengeResponse challenge response
swagger:model ChallengeResponse
func (*ChallengeResponse) ContextValidate ¶
ContextValidate validate this challenge response based on the context it is used
func (*ChallengeResponse) MarshalBinary ¶
func (m *ChallengeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChallengeResponse) UnmarshalBinary ¶
func (m *ChallengeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChallengeScheme ¶
type ChallengeScheme struct { // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` // technical name TechnicalName string `json:"technicalName,omitempty"` }
ChallengeScheme challenge scheme
swagger:model ChallengeScheme
func (*ChallengeScheme) ContextValidate ¶
ContextValidate validates this challenge scheme based on context it is used
func (*ChallengeScheme) MarshalBinary ¶
func (m *ChallengeScheme) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChallengeScheme) UnmarshalBinary ¶
func (m *ChallengeScheme) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CharacterSet ¶
type CharacterSet struct { // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` // parent Parent *Metadata `json:"parent,omitempty"` }
CharacterSet character set
swagger:model CharacterSet
func (*CharacterSet) ContextValidate ¶
ContextValidate validate this character set based on the context it is used
func (*CharacterSet) MarshalBinary ¶
func (m *CharacterSet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CharacterSet) UnmarshalBinary ¶
func (m *CharacterSet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClientInfo ¶
type ClientInfo struct { // accepted character sets AcceptedCharacterSets []*PreferenceCharacterSet `json:"acceptedCharacterSets"` // accepted encodings AcceptedEncodings []*PreferenceEncoding `json:"acceptedEncodings"` // accepted languages AcceptedLanguages []*PreferenceLanguage `json:"acceptedLanguages"` // accepted media types AcceptedMediaTypes []*PreferenceMediaType `json:"acceptedMediaTypes"` // accepted patches AcceptedPatches []*PreferenceMediaType `json:"acceptedPatches"` // address Address string `json:"address,omitempty"` // agent Agent string `json:"agent,omitempty"` // agent attributes AgentAttributes map[string]string `json:"agentAttributes,omitempty"` // agent name AgentName string `json:"agentName,omitempty"` // agent products AgentProducts []*Product `json:"agentProducts"` // agent version AgentVersion string `json:"agentVersion,omitempty"` // authenticated Authenticated bool `json:"authenticated,omitempty"` // certificates Certificates []*Certificate `json:"certificates"` // cipher suite CipherSuite string `json:"cipherSuite,omitempty"` // expectations Expectations []*Expectation `json:"expectations"` // forwarded addresses ForwardedAddresses []string `json:"forwardedAddresses"` // from From string `json:"from,omitempty"` // main agent product MainAgentProduct *Product `json:"mainAgentProduct,omitempty"` // port Port int32 `json:"port,omitempty"` // principals Principals []*Principal `json:"principals"` // roles Roles []*Role `json:"roles"` // upstream address UpstreamAddress string `json:"upstreamAddress,omitempty"` // user User *User `json:"user,omitempty"` }
ClientInfo client info
swagger:model ClientInfo
func (*ClientInfo) ContextValidate ¶
ContextValidate validate this client info based on the context it is used
func (*ClientInfo) MarshalBinary ¶
func (m *ClientInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClientInfo) UnmarshalBinary ¶
func (m *ClientInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Company ¶
type Company struct { // email Email string `json:"email,omitempty"` // name Name string `json:"name,omitempty"` }
Company company
swagger:model Company
func (*Company) ContextValidate ¶
ContextValidate validates this company based on context it is used
func (*Company) MarshalBinary ¶
MarshalBinary interface implementation
func (*Company) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CompletableFuture ¶
type CompletableFuture struct { // cancelled Cancelled bool `json:"cancelled,omitempty"` // completed exceptionally CompletedExceptionally bool `json:"completedExceptionally,omitempty"` // done Done bool `json:"done,omitempty"` // number of dependents NumberOfDependents int32 `json:"numberOfDependents,omitempty"` }
CompletableFuture completable future
swagger:model CompletableFuture
func (*CompletableFuture) ContextValidate ¶
ContextValidate validates this completable future based on context it is used
func (*CompletableFuture) MarshalBinary ¶
func (m *CompletableFuture) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompletableFuture) UnmarshalBinary ¶
func (m *CompletableFuture) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CompletableFutureListAPIKey ¶
type CompletableFutureListAPIKey struct { // cancelled Cancelled bool `json:"cancelled,omitempty"` // completed exceptionally CompletedExceptionally bool `json:"completedExceptionally,omitempty"` // done Done bool `json:"done,omitempty"` // number of dependents NumberOfDependents int32 `json:"numberOfDependents,omitempty"` }
CompletableFutureListAPIKey completable future list Api key
swagger:model CompletableFutureListApiKey
func (*CompletableFutureListAPIKey) ContextValidate ¶
func (m *CompletableFutureListAPIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this completable future list Api key based on context it is used
func (*CompletableFutureListAPIKey) MarshalBinary ¶
func (m *CompletableFutureListAPIKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompletableFutureListAPIKey) UnmarshalBinary ¶
func (m *CompletableFutureListAPIKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Conditions ¶
type Conditions struct { // match Match []*Tag `json:"match"` // modified since // Format: date-time ModifiedSince strfmt.DateTime `json:"modifiedSince,omitempty"` // none match NoneMatch []*Tag `json:"noneMatch"` // range date // Format: date-time RangeDate strfmt.DateTime `json:"rangeDate,omitempty"` // range tag RangeTag *Tag `json:"rangeTag,omitempty"` // unmodified since // Format: date-time UnmodifiedSince strfmt.DateTime `json:"unmodifiedSince,omitempty"` }
Conditions conditions
swagger:model Conditions
func (*Conditions) ContextValidate ¶
ContextValidate validate this conditions based on the context it is used
func (*Conditions) MarshalBinary ¶
func (m *Conditions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Conditions) UnmarshalBinary ¶
func (m *Conditions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConnectorService ¶
type ConnectorService struct { // client protocols ClientProtocols []*Protocol `json:"clientProtocols"` // context Context *Context `json:"context,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // server protocols ServerProtocols []*Protocol `json:"serverProtocols"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
ConnectorService connector service
swagger:model ConnectorService
func (*ConnectorService) ContextValidate ¶
ContextValidate validate this connector service based on the context it is used
func (*ConnectorService) MarshalBinary ¶
func (m *ConnectorService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConnectorService) UnmarshalBinary ¶
func (m *ConnectorService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConnegService ¶
type ConnegService struct { // context Context *Context `json:"context,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` // strict Strict bool `json:"strict,omitempty"` }
ConnegService conneg service
swagger:model ConnegService
func (*ConnegService) ContextValidate ¶
ContextValidate validate this conneg service based on the context it is used
func (*ConnegService) MarshalBinary ¶
func (m *ConnegService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConnegService) UnmarshalBinary ¶
func (m *ConnegService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Context ¶
type Context struct { // attributes Attributes map[string]interface{} `json:"attributes,omitempty"` // client dispatcher ClientDispatcher *Restlet `json:"clientDispatcher,omitempty"` // default enroler DefaultEnroler Enroler `json:"defaultEnroler,omitempty"` // default verifier DefaultVerifier Verifier `json:"defaultVerifier,omitempty"` // executor service ExecutorService *ScheduledExecutorService `json:"executorService,omitempty"` // logger Logger *Logger `json:"logger,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // server dispatcher ServerDispatcher *Restlet `json:"serverDispatcher,omitempty"` }
Context context
swagger:model Context
func (*Context) ContextValidate ¶
ContextValidate validate this context based on the context it is used
func (*Context) MarshalBinary ¶
MarshalBinary interface implementation
func (*Context) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ConverterService ¶
type ConverterService struct { // context Context *Context `json:"context,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
ConverterService converter service
swagger:model ConverterService
func (*ConverterService) ContextValidate ¶
ContextValidate validate this converter service based on the context it is used
func (*ConverterService) MarshalBinary ¶
func (m *ConverterService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConverterService) UnmarshalBinary ¶
func (m *ConverterService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Cookie ¶
type Cookie struct { // domain Domain string `json:"domain,omitempty"` // name Name string `json:"name,omitempty"` // path Path string `json:"path,omitempty"` // value Value string `json:"value,omitempty"` // version Version int32 `json:"version,omitempty"` }
Cookie cookie
swagger:model Cookie
func (*Cookie) ContextValidate ¶
ContextValidate validates this cookie based on context it is used
func (*Cookie) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cookie) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CookieSetting ¶
type CookieSetting struct { // access restricted AccessRestricted bool `json:"accessRestricted,omitempty"` // comment Comment string `json:"comment,omitempty"` // description Description string `json:"description,omitempty"` // domain Domain string `json:"domain,omitempty"` // max age MaxAge int32 `json:"maxAge,omitempty"` // name Name string `json:"name,omitempty"` // path Path string `json:"path,omitempty"` // secure Secure bool `json:"secure,omitempty"` // value Value string `json:"value,omitempty"` // version Version int32 `json:"version,omitempty"` }
CookieSetting cookie setting
swagger:model CookieSetting
func (*CookieSetting) ContextValidate ¶
ContextValidate validates this cookie setting based on context it is used
func (*CookieSetting) MarshalBinary ¶
func (m *CookieSetting) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CookieSetting) UnmarshalBinary ¶
func (m *CookieSetting) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DecentralWebhook ¶
type DecentralWebhook struct { // The identifier // Read Only: true ID int32 `json:"id,omitempty"` // The secret to sign the webhook's payload // Read Only: true Secret string `json:"secret,omitempty"` // The features to trigger webhooks, set values: DEVICE_STATUS, DEVICE_MASTERDATA, DEVICE_CONFIG, DEVICE_LOGS, DEVICE_AUTHS, ACCOUNT_USER // Required: true // Unique: true WebhookFeatures []string `json:"webhookFeatures"` // The URL where our webhooks (POST requests) should point to (needs to be https) // Required: true WebhookURL *string `json:"webhookUrl"` }
DecentralWebhook decentral webhook
swagger:model DecentralWebhook
func (*DecentralWebhook) ContextValidate ¶
ContextValidate validate this decentral webhook based on the context it is used
func (*DecentralWebhook) MarshalBinary ¶
func (m *DecentralWebhook) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DecentralWebhook) UnmarshalBinary ¶
func (m *DecentralWebhook) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DecoderService ¶
type DecoderService struct { // context Context *Context `json:"context,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
DecoderService decoder service
swagger:model DecoderService
func (*DecoderService) ContextValidate ¶
ContextValidate validate this decoder service based on the context it is used
func (*DecoderService) MarshalBinary ¶
func (m *DecoderService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DecoderService) UnmarshalBinary ¶
func (m *DecoderService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Digest ¶
type Digest struct { // algorithm Algorithm string `json:"algorithm,omitempty"` // value Value []strfmt.Base64 `json:"value"` }
Digest digest
swagger:model Digest
func (*Digest) ContextValidate ¶
ContextValidate validates this digest based on context it is used
func (*Digest) MarshalBinary ¶
MarshalBinary interface implementation
func (*Digest) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Disposition ¶
type Disposition struct { // filename Filename string `json:"filename,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // type Type string `json:"type,omitempty"` }
Disposition disposition
swagger:model Disposition
func (*Disposition) ContextValidate ¶
ContextValidate validate this disposition based on the context it is used
func (*Disposition) MarshalBinary ¶
func (m *Disposition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Disposition) UnmarshalBinary ¶
func (m *Disposition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncoderService ¶
type EncoderService struct { // accepted media types AcceptedMediaTypes []*MediaType `json:"acceptedMediaTypes"` // context Context *Context `json:"context,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // ignored media types IgnoredMediaTypes []*MediaType `json:"ignoredMediaTypes"` // minimum size MinimumSize int64 `json:"minimumSize,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
EncoderService encoder service
swagger:model EncoderService
func (*EncoderService) ContextValidate ¶
ContextValidate validate this encoder service based on the context it is used
func (*EncoderService) MarshalBinary ¶
func (m *EncoderService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncoderService) UnmarshalBinary ¶
func (m *EncoderService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Encoding ¶
type Encoding struct { // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` // parent Parent *Metadata `json:"parent,omitempty"` }
Encoding encoding
swagger:model Encoding
func (*Encoding) ContextValidate ¶
ContextValidate validate this encoding based on the context it is used
func (*Encoding) MarshalBinary ¶
MarshalBinary interface implementation
func (*Encoding) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EnumerationString ¶
type EnumerationString interface{}
EnumerationString enumeration string
swagger:model EnumerationString
type ErrorManager ¶
type ErrorManager interface{}
ErrorManager error manager
swagger:model ErrorManager
type Expectation ¶
type Expectation struct { // name Name string `json:"name,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // value Value string `json:"value,omitempty"` }
Expectation expectation
swagger:model Expectation
func (*Expectation) ContextValidate ¶
ContextValidate validate this expectation based on the context it is used
func (*Expectation) MarshalBinary ¶
func (m *Expectation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Expectation) UnmarshalBinary ¶
func (m *Expectation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Handler ¶
type Handler struct { // encoding Encoding string `json:"encoding,omitempty"` // error manager ErrorManager ErrorManager `json:"errorManager,omitempty"` // filter Filter Filter `json:"filter,omitempty"` // formatter Formatter Formatter `json:"formatter,omitempty"` // level Level *Level `json:"level,omitempty"` }
Handler handler
swagger:model Handler
func (*Handler) ContextValidate ¶
ContextValidate validate this handler based on the context it is used
func (*Handler) MarshalBinary ¶
MarshalBinary interface implementation
func (*Handler) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Header ¶
type Header struct { // name Name string `json:"name,omitempty"` // value Value string `json:"value,omitempty"` }
Header header
swagger:model Header
func (*Header) ContextValidate ¶
ContextValidate validates this header based on context it is used
func (*Header) MarshalBinary ¶
MarshalBinary interface implementation
func (*Header) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Language ¶
type Language struct { // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` // parent Parent *Language `json:"parent,omitempty"` // primary tag PrimaryTag string `json:"primaryTag,omitempty"` // sub tags SubTags []string `json:"subTags"` }
Language language
swagger:model Language
func (*Language) ContextValidate ¶
ContextValidate validate this language based on the context it is used
func (*Language) MarshalBinary ¶
MarshalBinary interface implementation
func (*Language) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Level ¶
type Level struct { // localized name LocalizedName string `json:"localizedName,omitempty"` // name Name string `json:"name,omitempty"` // resource bundle name ResourceBundleName string `json:"resourceBundleName,omitempty"` }
Level level
swagger:model Level
func (*Level) ContextValidate ¶
ContextValidate validates this level based on context it is used
func (*Level) MarshalBinary ¶
MarshalBinary interface implementation
func (*Level) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Locale ¶
type Locale struct { // country Country string `json:"country,omitempty"` // display country DisplayCountry string `json:"displayCountry,omitempty"` // display language DisplayLanguage string `json:"displayLanguage,omitempty"` // display name DisplayName string `json:"displayName,omitempty"` // display script DisplayScript string `json:"displayScript,omitempty"` // display variant DisplayVariant string `json:"displayVariant,omitempty"` // extension keys // Unique: true ExtensionKeys []string `json:"extensionKeys"` // iso3 country Iso3Country string `json:"iso3Country,omitempty"` // iso3 language Iso3Language string `json:"iso3Language,omitempty"` // language Language string `json:"language,omitempty"` // script Script string `json:"script,omitempty"` // unicode locale attributes // Unique: true UnicodeLocaleAttributes []string `json:"unicodeLocaleAttributes"` // unicode locale keys // Unique: true UnicodeLocaleKeys []string `json:"unicodeLocaleKeys"` // variant Variant string `json:"variant,omitempty"` }
Locale locale
swagger:model Locale
func (*Locale) ContextValidate ¶
ContextValidate validates this locale based on context it is used
func (*Locale) MarshalBinary ¶
MarshalBinary interface implementation
func (*Locale) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Logger ¶
type Logger struct { // filter Filter Filter `json:"filter,omitempty"` // handlers Handlers []*Handler `json:"handlers"` // level Level *Level `json:"level,omitempty"` // name Name string `json:"name,omitempty"` // parent Parent *Logger `json:"parent,omitempty"` // resource bundle ResourceBundle *ResourceBundle `json:"resourceBundle,omitempty"` // resource bundle name ResourceBundleName string `json:"resourceBundleName,omitempty"` // use parent handlers UseParentHandlers bool `json:"useParentHandlers,omitempty"` }
Logger logger
swagger:model Logger
func (*Logger) ContextValidate ¶
ContextValidate validate this logger based on the context it is used
func (*Logger) MarshalBinary ¶
MarshalBinary interface implementation
func (*Logger) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MediaType ¶
type MediaType struct { // concrete Concrete bool `json:"concrete,omitempty"` // description Description string `json:"description,omitempty"` // main type MainType string `json:"mainType,omitempty"` // name Name string `json:"name,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // parent Parent *MediaType `json:"parent,omitempty"` // sub type SubType string `json:"subType,omitempty"` }
MediaType media type
swagger:model MediaType
func (*MediaType) ContextValidate ¶
ContextValidate validate this media type based on the context it is used
func (*MediaType) MarshalBinary ¶
MarshalBinary interface implementation
func (*MediaType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Metadata ¶
type Metadata struct { // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` // parent Parent *Metadata `json:"parent,omitempty"` }
Metadata metadata
swagger:model Metadata
func (*Metadata) ContextValidate ¶
ContextValidate validate this metadata based on the context it is used
func (*Metadata) MarshalBinary ¶
MarshalBinary interface implementation
func (*Metadata) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MetadataService ¶
type MetadataService struct { // all character set extension names AllCharacterSetExtensionNames []string `json:"allCharacterSetExtensionNames"` // all encoding extension names AllEncodingExtensionNames []string `json:"allEncodingExtensionNames"` // all extension names AllExtensionNames []string `json:"allExtensionNames"` // all language extension names AllLanguageExtensionNames []string `json:"allLanguageExtensionNames"` // all media type extension names AllMediaTypeExtensionNames []string `json:"allMediaTypeExtensionNames"` // context Context *Context `json:"context,omitempty"` // default character set DefaultCharacterSet *CharacterSet `json:"defaultCharacterSet,omitempty"` // default encoding DefaultEncoding *Encoding `json:"defaultEncoding,omitempty"` // default language DefaultLanguage *Language `json:"defaultLanguage,omitempty"` // default media type DefaultMediaType *MediaType `json:"defaultMediaType,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
MetadataService metadata service
swagger:model MetadataService
func (*MetadataService) ContextValidate ¶
ContextValidate validate this metadata service based on the context it is used
func (*MetadataService) MarshalBinary ¶
func (m *MetadataService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetadataService) UnmarshalBinary ¶
func (m *MetadataService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Method ¶
type Method struct { // description Description string `json:"description,omitempty"` // idempotent Idempotent bool `json:"idempotent,omitempty"` // name Name string `json:"name,omitempty"` // replying Replying bool `json:"replying,omitempty"` // safe Safe bool `json:"safe,omitempty"` // uri URI string `json:"uri,omitempty"` }
Method method
swagger:model Method
func (*Method) ContextValidate ¶
ContextValidate validates this method based on context it is used
func (*Method) MarshalBinary ¶
MarshalBinary interface implementation
func (*Method) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MyAccount ¶
type MyAccount struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // api terms of use APITermsOfUse *TermsOfUse `json:"apiTermsOfUse,omitempty"` // b2b active B2bActive bool `json:"b2bActive,omitempty"` // The optional config Config *AccountConfig `json:"config,omitempty"` // The creation date // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // Set, if your account is not a standard Nuki Web account // Read Only: true Descent *AccountDescent `json:"descent,omitempty"` // The email address // Required: true Email *string `json:"email"` // true, if the email is verified EmailVerified bool `json:"emailVerified,omitempty"` // The language code // Example: de Language string `json:"language,omitempty"` // The master account id if it's a sub account MasterAccountID int32 `json:"masterAccountId,omitempty"` // The name // Required: true Name *string `json:"name"` // The optional profile Profile *AccountProfile `json:"profile,omitempty"` // The rights bitmask if it's a sub account: 1 .. manage smartlock, 2 .. operate smartlock, 4 .. manage smartlock config, 8 .. manage smartlock authorizations, 16 .. view smartlock logs, 32 .. manage sub accounts, 64 .. create smartlocks // Maximum: 127 // Minimum: 0 Rights *int32 `json:"rights,omitempty"` // The secret base64 encoded Secret []strfmt.Base64 `json:"secret"` // subscription type of the account (b2b) // Enum: [BUSINESS STANDARD BUSINESS_PLUS API_ONLY] ShsSubscriptionType string `json:"shsSubscriptionType,omitempty"` // The type: 0 .. user, 1 .. company, 2 .. caretaker // Required: true // Maximum: 2 // Minimum: 0 Type *int32 `json:"type"` // The update date // Required: true // Format: date-time UpdateDate *strfmt.DateTime `json:"updateDate"` }
MyAccount my account
swagger:model MyAccount
func (*MyAccount) ContextValidate ¶
ContextValidate validate this my account based on the context it is used
func (*MyAccount) MarshalBinary ¶
MarshalBinary interface implementation
func (*MyAccount) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NamedValue ¶
type NamedValue struct { // name Name string `json:"name,omitempty"` // value Value interface{} `json:"value,omitempty"` }
NamedValue named value
swagger:model NamedValue
func (*NamedValue) ContextValidate ¶
ContextValidate validates this named value based on context it is used
func (*NamedValue) MarshalBinary ¶
func (m *NamedValue) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NamedValue) UnmarshalBinary ¶
func (m *NamedValue) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NamedValueString ¶
type NamedValueString struct { // name Name string `json:"name,omitempty"` // value Value string `json:"value,omitempty"` }
NamedValueString named value string
swagger:model NamedValueString
func (*NamedValueString) ContextValidate ¶
ContextValidate validates this named value string based on context it is used
func (*NamedValueString) MarshalBinary ¶
func (m *NamedValueString) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NamedValueString) UnmarshalBinary ¶
func (m *NamedValueString) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Notification ¶
type Notification struct { // The language of push messages: cs, de, en (default), es, fr, it, nl, sk Language string `json:"language,omitempty"` // The last active date // Format: date-time LastActiveDate strfmt.DateTime `json:"lastActiveDate,omitempty"` // The unique notificationId for the notification NotificationID string `json:"notificationId,omitempty"` // The operating system: 0 .. Android, 1 .. iOS, 2 .. web hook // Required: true Os *int32 `json:"os"` // The push ID or the POST URL for a webhook // Required: true PushID *string `json:"pushId"` // The reference ID, an ID to identify a foreign system ReferenceID string `json:"referenceId,omitempty"` // The 40 byte hex string to sign the checksumof the POST payload if the notification is webhook (os=2) // Example: 8d41a187c3954f886f9de3a88c2ef22df0eac190 Secret string `json:"secret,omitempty"` // Settings per Smart Lock // Required: true Settings []*NotificationSetting `json:"settings"` // Current state: 0 .. init, 1 .. active, 2 .. failed Status int32 `json:"status,omitempty"` }
Notification notification
swagger:model Notification
func (*Notification) ContextValidate ¶
ContextValidate validate this notification based on the context it is used
func (*Notification) MarshalBinary ¶
func (m *Notification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Notification) UnmarshalBinary ¶
func (m *Notification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationSetting ¶
type NotificationSetting struct { // A set of auth IDs to filter push notifications to certain users or keypads. If no entry push notifications are triggered for all users and keypads // Unique: true AuthIds []string `json:"authIds"` // The smartlock ID, if not set all Smart Locks of the account are enabled for push notifications SmartlockID int64 `json:"smartlockId,omitempty"` // A set on which push notifications should be triggered: lock, unlock, unlatch, lockngo, open, ring, doorsensor, warnings, smartlock // Required: true // Unique: true TriggerEvents []string `json:"triggerEvents"` }
NotificationSetting notification setting
swagger:model Notification.Setting
func (*NotificationSetting) ContextValidate ¶
ContextValidate validates this notification setting based on context it is used
func (*NotificationSetting) MarshalBinary ¶
func (m *NotificationSetting) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationSetting) UnmarshalBinary ¶
func (m *NotificationSetting) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectID ¶
type ObjectID string
ObjectID object Id
swagger:model ObjectId
func (ObjectID) ContextValidate ¶
ContextValidate validates this object Id based on context it is used
type OpenerIntercomBrand ¶
type OpenerIntercomBrand struct { // The brand name // Required: true Brand *string `json:"brand"` // The brand ID // Required: true BrandID *int32 `json:"brandId"` }
OpenerIntercomBrand opener intercom brand
swagger:model OpenerIntercomBrand
func (*OpenerIntercomBrand) ContextValidate ¶
ContextValidate validates this opener intercom brand based on context it is used
func (*OpenerIntercomBrand) MarshalBinary ¶
func (m *OpenerIntercomBrand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OpenerIntercomBrand) UnmarshalBinary ¶
func (m *OpenerIntercomBrand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OpenerIntercomModel ¶
type OpenerIntercomModel struct { // The related brand ID // Required: true BrandID *int32 `json:"brandId"` // Settings value for BUS mode switch // Required: true BusModeSwitch *int32 `json:"busModeSwitch"` // Settings value for BUS mode switch short cicuit duration // Required: true BusModeSwitchShortCircuitDuration *int32 `json:"busModeSwitchShortCircuitDuration"` // Connection for audio out // Required: true ConAudioout *string `json:"conAudioout"` // Connection for audio BUS // Required: true ConBusAudio *string `json:"conBusAudio"` // Connection for doorbell minus // Required: true ConDoorbellMinus *string `json:"conDoorbellMinus"` // Connection for doorbell plus // Required: true ConDoorbellPlus *string `json:"conDoorbellPlus"` // Connection for ground analogue // Required: true ConGndAnalogue *string `json:"conGndAnalogue"` // Connection for ground BUS // Required: true ConGndBus *string `json:"conGndBus"` // Connection for open the door // Required: true ConOpendoor *string `json:"conOpendoor"` // The creation date // Format: date-time CreationDate strfmt.DateTime `json:"creationDate,omitempty"` // The intercom ID // Required: true IntercomID *int32 `json:"intercomId"` // The model name // Required: true Model *string `json:"model"` // The type of the model // Required: true Type *int32 `json:"type"` // The update date // Format: date-time UpdateDate strfmt.DateTime `json:"updateDate,omitempty"` // Verified Nuki intercom: 1 .. verified to work, 2 .. may be compatible, but not verified, 3 .. not compatible // Required: true Verified *int32 `json:"verified"` }
OpenerIntercomModel opener intercom model
swagger:model OpenerIntercomModel
func (*OpenerIntercomModel) ContextValidate ¶
ContextValidate validates this opener intercom model based on context it is used
func (*OpenerIntercomModel) MarshalBinary ¶
func (m *OpenerIntercomModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OpenerIntercomModel) UnmarshalBinary ¶
func (m *OpenerIntercomModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Parameter ¶
type Parameter struct { // name Name string `json:"name,omitempty"` // value Value string `json:"value,omitempty"` }
Parameter parameter
swagger:model Parameter
func (*Parameter) ContextValidate ¶
ContextValidate validates this parameter based on context it is used
func (*Parameter) MarshalBinary ¶
MarshalBinary interface implementation
func (*Parameter) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Preference ¶
type Preference struct { // metadata Metadata *Metadata `json:"metadata,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // quality Quality float32 `json:"quality,omitempty"` }
Preference preference
swagger:model Preference
func (*Preference) ContextValidate ¶
ContextValidate validate this preference based on the context it is used
func (*Preference) MarshalBinary ¶
func (m *Preference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Preference) UnmarshalBinary ¶
func (m *Preference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PreferenceCharacterSet ¶
type PreferenceCharacterSet struct { // metadata Metadata *CharacterSet `json:"metadata,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // quality Quality float32 `json:"quality,omitempty"` }
PreferenceCharacterSet preference character set
swagger:model PreferenceCharacterSet
func (*PreferenceCharacterSet) ContextValidate ¶
func (m *PreferenceCharacterSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this preference character set based on the context it is used
func (*PreferenceCharacterSet) MarshalBinary ¶
func (m *PreferenceCharacterSet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PreferenceCharacterSet) UnmarshalBinary ¶
func (m *PreferenceCharacterSet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PreferenceEncoding ¶
type PreferenceEncoding struct { // metadata Metadata *Encoding `json:"metadata,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // quality Quality float32 `json:"quality,omitempty"` }
PreferenceEncoding preference encoding
swagger:model PreferenceEncoding
func (*PreferenceEncoding) ContextValidate ¶
ContextValidate validate this preference encoding based on the context it is used
func (*PreferenceEncoding) MarshalBinary ¶
func (m *PreferenceEncoding) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PreferenceEncoding) UnmarshalBinary ¶
func (m *PreferenceEncoding) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PreferenceLanguage ¶
type PreferenceLanguage struct { // metadata Metadata *Language `json:"metadata,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // quality Quality float32 `json:"quality,omitempty"` }
PreferenceLanguage preference language
swagger:model PreferenceLanguage
func (*PreferenceLanguage) ContextValidate ¶
ContextValidate validate this preference language based on the context it is used
func (*PreferenceLanguage) MarshalBinary ¶
func (m *PreferenceLanguage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PreferenceLanguage) UnmarshalBinary ¶
func (m *PreferenceLanguage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PreferenceMediaType ¶
type PreferenceMediaType struct { // metadata Metadata *MediaType `json:"metadata,omitempty"` // parameters Parameters []*Parameter `json:"parameters"` // quality Quality float32 `json:"quality,omitempty"` }
PreferenceMediaType preference media type
swagger:model PreferenceMediaType
func (*PreferenceMediaType) ContextValidate ¶
ContextValidate validate this preference media type based on the context it is used
func (*PreferenceMediaType) MarshalBinary ¶
func (m *PreferenceMediaType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PreferenceMediaType) UnmarshalBinary ¶
func (m *PreferenceMediaType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Principal ¶
type Principal struct { // name Name string `json:"name,omitempty"` }
Principal principal
swagger:model Principal
func (*Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Product ¶
type Product struct { // comment Comment string `json:"comment,omitempty"` // name Name string `json:"name,omitempty"` // version Version string `json:"version,omitempty"` }
Product product
swagger:model Product
func (*Product) ContextValidate ¶
ContextValidate validates this product based on context it is used
func (*Product) MarshalBinary ¶
MarshalBinary interface implementation
func (*Product) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Protocol ¶
type Protocol struct { // confidential Confidential bool `json:"confidential,omitempty"` // default port DefaultPort int32 `json:"defaultPort,omitempty"` // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` // scheme name SchemeName string `json:"schemeName,omitempty"` // technical name TechnicalName string `json:"technicalName,omitempty"` // version Version string `json:"version,omitempty"` }
Protocol protocol
swagger:model Protocol
func (*Protocol) ContextValidate ¶
ContextValidate validates this protocol based on context it is used
func (*Protocol) MarshalBinary ¶
MarshalBinary interface implementation
func (*Protocol) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PublicKey ¶
type PublicKey struct { // algorithm Algorithm string `json:"algorithm,omitempty"` // encoded Encoded []strfmt.Base64 `json:"encoded"` // format Format string `json:"format,omitempty"` }
PublicKey public key
swagger:model PublicKey
func (*PublicKey) ContextValidate ¶
ContextValidate validates this public key based on context it is used
func (*PublicKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*PublicKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Range ¶
type Range struct { // index Index int64 `json:"index,omitempty"` // instance size InstanceSize int64 `json:"instanceSize,omitempty"` // size Size int64 `json:"size,omitempty"` // unit name UnitName string `json:"unitName,omitempty"` }
Range range
swagger:model Range
func (*Range) ContextValidate ¶
ContextValidate validates this range based on context it is used
func (*Range) MarshalBinary ¶
MarshalBinary interface implementation
func (*Range) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RangeService ¶
type RangeService struct { // context Context *Context `json:"context,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
RangeService range service
swagger:model RangeService
func (*RangeService) ContextValidate ¶
ContextValidate validate this range service based on the context it is used
func (*RangeService) MarshalBinary ¶
func (m *RangeService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RangeService) UnmarshalBinary ¶
func (m *RangeService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReadableByteChannel ¶
type ReadableByteChannel struct { // open Open bool `json:"open,omitempty"` }
ReadableByteChannel readable byte channel
swagger:model ReadableByteChannel
func (*ReadableByteChannel) ContextValidate ¶
ContextValidate validates this readable byte channel based on context it is used
func (*ReadableByteChannel) MarshalBinary ¶
func (m *ReadableByteChannel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReadableByteChannel) UnmarshalBinary ¶
func (m *ReadableByteChannel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RecipientInfo ¶
type RecipientInfo struct { // comment Comment string `json:"comment,omitempty"` // name Name string `json:"name,omitempty"` // protocol Protocol *Protocol `json:"protocol,omitempty"` }
RecipientInfo recipient info
swagger:model RecipientInfo
func (*RecipientInfo) ContextValidate ¶
ContextValidate validate this recipient info based on the context it is used
func (*RecipientInfo) MarshalBinary ¶
func (m *RecipientInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecipientInfo) UnmarshalBinary ¶
func (m *RecipientInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Reference ¶
type Reference struct { // absolute Absolute bool `json:"absolute,omitempty"` // authority Authority string `json:"authority,omitempty"` // base ref BaseRef *Reference `json:"baseRef,omitempty"` // extensions Extensions string `json:"extensions,omitempty"` // extensions as array ExtensionsAsArray []string `json:"extensionsAsArray"` // fragment Fragment string `json:"fragment,omitempty"` // hierarchical Hierarchical bool `json:"hierarchical,omitempty"` // hierarchical part HierarchicalPart string `json:"hierarchicalPart,omitempty"` // host domain HostDomain string `json:"hostDomain,omitempty"` // host identifier HostIdentifier string `json:"hostIdentifier,omitempty"` // host port HostPort int32 `json:"hostPort,omitempty"` // identifier Identifier string `json:"identifier,omitempty"` // last segment LastSegment string `json:"lastSegment,omitempty"` // matrix Matrix string `json:"matrix,omitempty"` // matrix as form MatrixAsForm []*Parameter `json:"matrixAsForm"` // opaque Opaque bool `json:"opaque,omitempty"` // parent ref ParentRef *Reference `json:"parentRef,omitempty"` // path Path string `json:"path,omitempty"` // query Query string `json:"query,omitempty"` // query as form QueryAsForm []*Parameter `json:"queryAsForm"` // relative Relative bool `json:"relative,omitempty"` // relative part RelativePart string `json:"relativePart,omitempty"` // relative ref RelativeRef *Reference `json:"relativeRef,omitempty"` // remaining part RemainingPart string `json:"remainingPart,omitempty"` // scheme Scheme string `json:"scheme,omitempty"` // scheme protocol SchemeProtocol *Protocol `json:"schemeProtocol,omitempty"` // scheme specific part SchemeSpecificPart string `json:"schemeSpecificPart,omitempty"` // segments Segments []string `json:"segments"` // target ref TargetRef *Reference `json:"targetRef,omitempty"` // user info UserInfo string `json:"userInfo,omitempty"` }
Reference reference
swagger:model Reference
func (*Reference) ContextValidate ¶
ContextValidate validate this reference based on the context it is used
func (*Reference) MarshalBinary ¶
MarshalBinary interface implementation
func (*Reference) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Representation ¶
type Representation struct { // available Available bool `json:"available,omitempty"` // available size AvailableSize int64 `json:"availableSize,omitempty"` // channel Channel *ReadableByteChannel `json:"channel,omitempty"` // character set CharacterSet *CharacterSet `json:"characterSet,omitempty"` // digest Digest *Digest `json:"digest,omitempty"` // disposition Disposition *Disposition `json:"disposition,omitempty"` // empty Empty bool `json:"empty,omitempty"` // encodings Encodings []*Encoding `json:"encodings"` // expiration date // Format: date-time ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty"` // languages Languages []*Language `json:"languages"` // location ref LocationRef *Reference `json:"locationRef,omitempty"` // media type MediaType *MediaType `json:"mediaType,omitempty"` // modification date // Format: date-time ModificationDate strfmt.DateTime `json:"modificationDate,omitempty"` // range Range *Range `json:"range,omitempty"` // reader Reader Reader `json:"reader,omitempty"` // registration Registration *SelectionRegistration `json:"registration,omitempty"` // selectable Selectable bool `json:"selectable,omitempty"` // size Size int64 `json:"size,omitempty"` // stream Stream InputStream `json:"stream,omitempty"` // tag Tag *Tag `json:"tag,omitempty"` // text Text string `json:"text,omitempty"` // transient Transient bool `json:"transient,omitempty"` }
Representation representation
swagger:model Representation
func (*Representation) ContextValidate ¶
ContextValidate validate this representation based on the context it is used
func (*Representation) MarshalBinary ¶
func (m *Representation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Representation) UnmarshalBinary ¶
func (m *Representation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Request ¶
type Request struct { // access control request headers // Unique: true AccessControlRequestHeaders []string `json:"accessControlRequestHeaders"` // access control request method AccessControlRequestMethod *Method `json:"accessControlRequestMethod,omitempty"` // asynchronous Asynchronous bool `json:"asynchronous,omitempty"` // attributes Attributes map[string]interface{} `json:"attributes,omitempty"` // cache directives CacheDirectives []*CacheDirective `json:"cacheDirectives"` // challenge response ChallengeResponse *ChallengeResponse `json:"challengeResponse,omitempty"` // client info ClientInfo *ClientInfo `json:"clientInfo,omitempty"` // conditions Conditions *Conditions `json:"conditions,omitempty"` // confidential Confidential bool `json:"confidential,omitempty"` // cookies Cookies []*Cookie `json:"cookies"` // date // Format: date-time Date strfmt.DateTime `json:"date,omitempty"` // entity Entity *Representation `json:"entity,omitempty"` // entity as text EntityAsText string `json:"entityAsText,omitempty"` // entity available EntityAvailable bool `json:"entityAvailable,omitempty"` // expecting response ExpectingResponse bool `json:"expectingResponse,omitempty"` // headers Headers []*Header `json:"headers"` // host ref HostRef *Reference `json:"hostRef,omitempty"` // loggable Loggable bool `json:"loggable,omitempty"` // max forwards MaxForwards int32 `json:"maxForwards,omitempty"` // method Method *Method `json:"method,omitempty"` // on error OnError Uniform `json:"onError,omitempty"` // on response OnResponse Uniform `json:"onResponse,omitempty"` // on sent OnSent Uniform `json:"onSent,omitempty"` // original ref OriginalRef *Reference `json:"originalRef,omitempty"` // protocol Protocol *Protocol `json:"protocol,omitempty"` // proxy challenge response ProxyChallengeResponse *ChallengeResponse `json:"proxyChallengeResponse,omitempty"` // ranges Ranges []*Range `json:"ranges"` // recipients info RecipientsInfo []*RecipientInfo `json:"recipientsInfo"` // referrer ref ReferrerRef *Reference `json:"referrerRef,omitempty"` // resource ref ResourceRef *Reference `json:"resourceRef,omitempty"` // root ref RootRef *Reference `json:"rootRef,omitempty"` // synchronous Synchronous bool `json:"synchronous,omitempty"` // warnings Warnings []*Warning `json:"warnings"` }
Request request
swagger:model Request
func (*Request) ContextValidate ¶
ContextValidate validate this request based on the context it is used
func (*Request) MarshalBinary ¶
MarshalBinary interface implementation
func (*Request) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ReservationAccessTimesUpdate ¶
type ReservationAccessTimesUpdate struct { // Custom check in time in minutes from midnight CheckInTime int32 `json:"checkInTime,omitempty"` // Custom check out time in minutes from midnight CheckOutTime int32 `json:"checkOutTime,omitempty"` }
ReservationAccessTimesUpdate reservation access times update
swagger:model ReservationAccessTimesUpdate
func (*ReservationAccessTimesUpdate) ContextValidate ¶
func (m *ReservationAccessTimesUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this reservation access times update based on context it is used
func (*ReservationAccessTimesUpdate) MarshalBinary ¶
func (m *ReservationAccessTimesUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReservationAccessTimesUpdate) UnmarshalBinary ¶
func (m *ReservationAccessTimesUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceBundle ¶
type ResourceBundle struct { // base bundle name BaseBundleName string `json:"baseBundleName,omitempty"` // keys Keys EnumerationString `json:"keys,omitempty"` // locale Locale *Locale `json:"locale,omitempty"` }
ResourceBundle resource bundle
swagger:model ResourceBundle
func (*ResourceBundle) ContextValidate ¶
ContextValidate validate this resource bundle based on the context it is used
func (*ResourceBundle) MarshalBinary ¶
func (m *ResourceBundle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceBundle) UnmarshalBinary ¶
func (m *ResourceBundle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Response ¶
type Response struct { // access control allow credentials AccessControlAllowCredentials bool `json:"accessControlAllowCredentials,omitempty"` // access control allow headers // Unique: true AccessControlAllowHeaders []string `json:"accessControlAllowHeaders"` // access control allow methods // Unique: true AccessControlAllowMethods []*Method `json:"accessControlAllowMethods"` // access control allow origin AccessControlAllowOrigin string `json:"accessControlAllowOrigin,omitempty"` // access control expose headers // Unique: true AccessControlExposeHeaders []string `json:"accessControlExposeHeaders"` // access control max age AccessControlMaxAge int32 `json:"accessControlMaxAge,omitempty"` // age Age int32 `json:"age,omitempty"` // allowed methods // Unique: true AllowedMethods []*Method `json:"allowedMethods"` // attributes Attributes map[string]interface{} `json:"attributes,omitempty"` // authentication info AuthenticationInfo *AuthenticationInfo `json:"authenticationInfo,omitempty"` // auto committing AutoCommitting bool `json:"autoCommitting,omitempty"` // cache directives CacheDirectives []*CacheDirective `json:"cacheDirectives"` // challenge requests ChallengeRequests []*ChallengeRequest `json:"challengeRequests"` // committed Committed bool `json:"committed,omitempty"` // confidential Confidential bool `json:"confidential,omitempty"` // cookie settings CookieSettings []*CookieSetting `json:"cookieSettings"` // date // Format: date-time Date strfmt.DateTime `json:"date,omitempty"` // dimensions // Unique: true Dimensions []string `json:"dimensions"` // entity Entity *Representation `json:"entity,omitempty"` // entity as text EntityAsText string `json:"entityAsText,omitempty"` // entity available EntityAvailable bool `json:"entityAvailable,omitempty"` // final Final bool `json:"final,omitempty"` // headers Headers []*Header `json:"headers"` // location ref LocationRef *Reference `json:"locationRef,omitempty"` // on error OnError Uniform `json:"onError,omitempty"` // on sent OnSent Uniform `json:"onSent,omitempty"` // provisional Provisional bool `json:"provisional,omitempty"` // proxy challenge requests ProxyChallengeRequests []*ChallengeRequest `json:"proxyChallengeRequests"` // recipients info RecipientsInfo []*RecipientInfo `json:"recipientsInfo"` // request Request *Request `json:"request,omitempty"` // retry after // Format: date-time RetryAfter strfmt.DateTime `json:"retryAfter,omitempty"` // server info ServerInfo *ServerInfo `json:"serverInfo,omitempty"` // status Status *Status `json:"status,omitempty"` // warnings Warnings []*Warning `json:"warnings"` }
Response response
swagger:model Response
func (*Response) ContextValidate ¶
ContextValidate validate this response based on the context it is used
func (*Response) MarshalBinary ¶
MarshalBinary interface implementation
func (*Response) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Restlet ¶
type Restlet struct { // application Application *Application `json:"application,omitempty"` // author Author string `json:"author,omitempty"` // context Context *Context `json:"context,omitempty"` // description Description string `json:"description,omitempty"` // logger Logger *Logger `json:"logger,omitempty"` // name Name string `json:"name,omitempty"` // owner Owner string `json:"owner,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
Restlet restlet
swagger:model Restlet
func (*Restlet) ContextValidate ¶
ContextValidate validate this restlet based on the context it is used
func (*Restlet) MarshalBinary ¶
MarshalBinary interface implementation
func (*Restlet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Role ¶
type Role struct { // application Application *Application `json:"application,omitempty"` // child roles ChildRoles []*Role `json:"childRoles"` // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` }
Role role
swagger:model Role
func (*Role) ContextValidate ¶
ContextValidate validate this role based on the context it is used
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ScheduledExecutorService ¶
type ScheduledExecutorService struct { // shutdown Shutdown bool `json:"shutdown,omitempty"` // terminated Terminated bool `json:"terminated,omitempty"` }
ScheduledExecutorService scheduled executor service
swagger:model ScheduledExecutorService
func (*ScheduledExecutorService) ContextValidate ¶
func (m *ScheduledExecutorService) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this scheduled executor service based on context it is used
func (*ScheduledExecutorService) MarshalBinary ¶
func (m *ScheduledExecutorService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScheduledExecutorService) UnmarshalBinary ¶
func (m *ScheduledExecutorService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SelectableChannel ¶
type SelectableChannel struct { // blocking Blocking bool `json:"blocking,omitempty"` // open Open bool `json:"open,omitempty"` // registered Registered bool `json:"registered,omitempty"` }
SelectableChannel selectable channel
swagger:model SelectableChannel
func (*SelectableChannel) ContextValidate ¶
ContextValidate validates this selectable channel based on context it is used
func (*SelectableChannel) MarshalBinary ¶
func (m *SelectableChannel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelectableChannel) UnmarshalBinary ¶
func (m *SelectableChannel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SelectionListener ¶
type SelectionListener interface{}
SelectionListener selection listener
swagger:model SelectionListener
type SelectionRegistration ¶
type SelectionRegistration struct { // canceling Canceling bool `json:"canceling,omitempty"` // connectable Connectable bool `json:"connectable,omitempty"` // interest operations InterestOperations int32 `json:"interestOperations,omitempty"` // interest ready InterestReady bool `json:"interestReady,omitempty"` // readable Readable bool `json:"readable,omitempty"` // ready operations ReadyOperations int32 `json:"readyOperations,omitempty"` // selectable channel SelectableChannel *SelectableChannel `json:"selectableChannel,omitempty"` // selection listener SelectionListener SelectionListener `json:"selectionListener,omitempty"` // wakeup listener WakeupListener WakeupListener `json:"wakeupListener,omitempty"` // writable Writable bool `json:"writable,omitempty"` }
SelectionRegistration selection registration
swagger:model SelectionRegistration
func (*SelectionRegistration) ContextValidate ¶
ContextValidate validate this selection registration based on the context it is used
func (*SelectionRegistration) MarshalBinary ¶
func (m *SelectionRegistration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelectionRegistration) UnmarshalBinary ¶
func (m *SelectionRegistration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerInfo ¶
type ServerInfo struct { // accepting ranges AcceptingRanges bool `json:"acceptingRanges,omitempty"` // address Address string `json:"address,omitempty"` // agent Agent string `json:"agent,omitempty"` // port Port int32 `json:"port,omitempty"` }
ServerInfo server info
swagger:model ServerInfo
func (*ServerInfo) ContextValidate ¶
ContextValidate validates this server info based on context it is used
func (*ServerInfo) MarshalBinary ¶
func (m *ServerInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerInfo) UnmarshalBinary ¶
func (m *ServerInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Service ¶
type Service struct { // context Context *Context `json:"context,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
Service service
swagger:model Service
func (*Service) ContextValidate ¶
ContextValidate validate this service based on the context it is used
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ShsSubscription ¶
type ShsSubscription struct { // creation date // Format: date-time CreationDate strfmt.DateTime `json:"creationDate,omitempty"` // expiration date // Format: date-time ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty"` // grace period warning email sent GracePeriodWarningEmailSent bool `json:"gracePeriodWarningEmailSent,omitempty"` // is grace period warning dismissed IsGracePeriodWarningDismissed bool `json:"isGracePeriodWarningDismissed,omitempty"` // is in grace period IsInGracePeriod bool `json:"isInGracePeriod,omitempty"` // shs subscription type // Enum: [BUSINESS STANDARD BUSINESS_PLUS API_ONLY] ShsSubscriptionType string `json:"shsSubscriptionType,omitempty"` // state // Enum: [ACTIVE INACTIVE CANCELLED EXPIRED ON_HOLD PENDING PENDING_CANCEL] State string `json:"state,omitempty"` // type // Enum: [B2C B2B] Type string `json:"type,omitempty"` // update date // Format: date-time UpdateDate strfmt.DateTime `json:"updateDate,omitempty"` }
ShsSubscription shs subscription
swagger:model ShsSubscription
func (*ShsSubscription) ContextValidate ¶
ContextValidate validates this shs subscription based on context it is used
func (*ShsSubscription) MarshalBinary ¶
func (m *ShsSubscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShsSubscription) UnmarshalBinary ¶
func (m *ShsSubscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Smartlock ¶
type Smartlock struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // The admin pin state: 0 .. ok, 1 .. missing, 2 .. invalid // Required: true // Maximum: 2 // Minimum: 0 AdminPinState *int32 `json:"adminPinState"` // The advanced config AdvancedConfig *SmartlockAdvancedConfig `json:"advancedConfig,omitempty"` // The authorization id // Required: true AuthID *int32 `json:"authId"` // box Box bool `json:"box,omitempty"` // The config Config *SmartlockConfig `json:"config,omitempty"` // The creation date // Format: date-time CreationDate strfmt.DateTime `json:"creationDate,omitempty"` // Current Subscription // Read Only: true CurrentSubscription *ShsSubscription `json:"currentSubscription,omitempty"` // In case of any error, it contains the error message Error string `json:"error,omitempty"` // The favorite flag // Required: true Favorite *bool `json:"favorite"` // The firmware version // Read Only: true FirmwareVersion int32 `json:"firmwareVersion,omitempty"` // The hardware version // Read Only: true HardwareVersion int32 `json:"hardwareVersion,omitempty"` // keyturner Keyturner bool `json:"keyturner,omitempty"` // The lock mechanism used in the smart door lock: 1 .. MyEVO, 2 .. KFV Genius (only for type = 3) LmType int32 `json:"lmType,omitempty"` // The name of the smartlock // Required: true Name *string `json:"name"` // opener Opener bool `json:"opener,omitempty"` // The opener advanced config OpenerAdvancedConfig *SmartlockOpenerAdvancedConfig `json:"openerAdvancedConfig,omitempty"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` // Previous Subscriptions // Read Only: true PreviousSubscriptions []*ShsSubscription `json:"previousSubscriptions"` // The server state: 0 .. ok, 1 .. unregistered, 2 .. auth uuid invalid, 3 .. auth invalid, 4 .. offline // Required: true // Maximum: 4 // Minimum: 0 ServerState *int32 `json:"serverState"` // smart door SmartDoor bool `json:"smartDoor,omitempty"` // The smartdoor advanced config SmartdoorAdvancedConfig *SmartlockSmartdoorAdvancedConfig `json:"smartdoorAdvancedConfig,omitempty"` // smartlock3 Smartlock3 bool `json:"smartlock3,omitempty"` // The smartlock id // Required: true SmartlockID *int64 `json:"smartlockId"` // The state State *SmartlockState `json:"state,omitempty"` // The type: 0 .. keyturner, 1 .. box, 2 .. opener, 3 .. smartdoor, 4 .. smartlock3 // Required: true Type *int32 `json:"type"` // The update date // Format: date-time UpdateDate strfmt.DateTime `json:"updateDate,omitempty"` // The flag indicating a virtual Smart Lock // Read Only: true VirtualDevice *bool `json:"virtualDevice,omitempty"` // The web config WebConfig *SmartlockWebConfig `json:"webConfig,omitempty"` }
Smartlock smartlock
swagger:model Smartlock
func (*Smartlock) ContextValidate ¶
ContextValidate validate this smartlock based on the context it is used
func (*Smartlock) MarshalBinary ¶
MarshalBinary interface implementation
func (*Smartlock) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SmartlockAction ¶
type SmartlockAction struct { // The action: type=0/3/4: 1 .. unlock, 2 .. lock, 3 .. unlatch, 4 .. lock 'n' go, 5 .. lock 'n' go with unlatch; type=1: 1 .. unlock; type=2: 1 activate ring to open, 2 .. deactivate ring to open, 3 .. open (electric strike actuation), 6 ... activate continuous mode, 7 ... deactivate continuous mode // Required: true // Maximum: 7 // Minimum: 0 Action *int32 `json:"action"` // The option mask: 0 .. none, 2 .. force, 4 .. full lock // Maximum: 7 // Minimum: 0 Option *int32 `json:"option,omitempty"` }
SmartlockAction smartlock action
swagger:model SmartlockAction
func (*SmartlockAction) ContextValidate ¶
ContextValidate validates this smartlock action based on context it is used
func (*SmartlockAction) MarshalBinary ¶
func (m *SmartlockAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockAction) UnmarshalBinary ¶
func (m *SmartlockAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockAdminPinUpdate ¶
type SmartlockAdminPinUpdate struct { // The admin pin // Required: true // Maximum: 9999 // Minimum: 0 AdminPin *int32 `json:"adminPin"` }
SmartlockAdminPinUpdate smartlock admin pin update
swagger:model SmartlockAdminPinUpdate
func (*SmartlockAdminPinUpdate) ContextValidate ¶
func (m *SmartlockAdminPinUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this smartlock admin pin update based on context it is used
func (*SmartlockAdminPinUpdate) MarshalBinary ¶
func (m *SmartlockAdminPinUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockAdminPinUpdate) UnmarshalBinary ¶
func (m *SmartlockAdminPinUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockAdvancedConfig ¶
type SmartlockAdvancedConfig struct { // New separate flag with FW >= 2.7.8/1.9.1: The Auto Lock feature automatically locks your door when it has been unlocked for a certain period of time AutoLock bool `json:"autoLock,omitempty"` // Seconds until the smart lock relocks itself after it has been unlocked. FW < 2.7.8/1.9.1: No auto relock if value is 0, FW >= 2.7.8/1.9.1: has to be >=2 (defaults to 2 for values <2 if autoLock is set to true) AutoLockTimeout int32 `json:"autoLockTimeout,omitempty"` // Flag that indicates if available firmware updates for the deviceshould be installed automatically AutoUpdateEnabled bool `json:"autoUpdateEnabled,omitempty"` // Flag that indicates if the automatic detection of the battery type is enabled AutomaticBatteryTypeDetection bool `json:"automaticBatteryTypeDetection,omitempty"` // The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium // Required: true BatteryType *int32 `json:"batteryType"` // Flag that indicates that the inner side of the used cylinder is detached from the outer side DetachedCylinder bool `json:"detachedCylinder,omitempty"` // The desired action, if the button is pressed twice: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status DoubleButtonPressAction int32 `json:"doubleButtonPressAction,omitempty"` // Timeout in seconds for lock ‘n’ go // Enum: [5 10 15 20 30 45 60] LngTimeout int32 `json:"lngTimeout,omitempty"` // Offset that alters the locked position // Required: true LockedPositionOffsetDegrees *int32 `json:"lockedPositionOffsetDegrees"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` // The desired action, if the button is pressed once: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status SingleButtonPressAction int32 `json:"singleButtonPressAction,omitempty"` // Offset that alters the single locked position // Required: true SingleLockedPositionOffsetDegrees *int32 `json:"singleLockedPositionOffsetDegrees"` // The absolute total position in degrees that has been reached during calibration // Required: true // Read Only: true TotalDegrees int32 `json:"totalDegrees"` // Duration in seconds for holding the latch in unlatched position // Enum: [1 3 5 7 10 15 20 30] UnlatchDuration int32 `json:"unlatchDuration,omitempty"` // Offset that alters the unlocked position // Required: true UnlockedPositionOffsetDegrees *int32 `json:"unlockedPositionOffsetDegrees"` // Offset that alters the position where transition from unlocked to locked happens UnlockedToLockedTransitionOffsetDegrees int32 `json:"unlockedToLockedTransitionOffsetDegrees,omitempty"` }
SmartlockAdvancedConfig smartlock advanced config
swagger:model Smartlock.AdvancedConfig
func (*SmartlockAdvancedConfig) ContextValidate ¶
func (m *SmartlockAdvancedConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this smartlock advanced config based on the context it is used
func (*SmartlockAdvancedConfig) MarshalBinary ¶
func (m *SmartlockAdvancedConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockAdvancedConfig) UnmarshalBinary ¶
func (m *SmartlockAdvancedConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockAuth ¶
type SmartlockAuth struct { // The id of the linked account user AccountUserID int32 `json:"accountUserId,omitempty"` // The allowed from date // Format: date-time AllowedFromDate strfmt.DateTime `json:"allowedFromDate,omitempty"` // The allowed from time (in minutes from midnight) AllowedFromTime int32 `json:"allowedFromTime,omitempty"` // The allowed until date // Format: date-time AllowedUntilDate strfmt.DateTime `json:"allowedUntilDate,omitempty"` // The allowed until time (in minutes from midnight) AllowedUntilTime int32 `json:"allowedUntilTime,omitempty"` // The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday // Maximum: 127 // Minimum: 0 AllowedWeekDays *int32 `json:"allowedWeekDays,omitempty"` // The smartlock authorization id AuthID int32 `json:"authId,omitempty"` // auth type as string AuthTypeAsString string `json:"authTypeAsString,omitempty"` // The keypad code (only for type keypad) Code int32 `json:"code,omitempty"` // The creation date // Format: date-time CreationDate strfmt.DateTime `json:"creationDate,omitempty"` // True if the auth is enabled // Required: true Enabled *bool `json:"enabled"` // In case of any error, it contains the error message Error string `json:"error,omitempty"` // fingerprints Fingerprints map[string]string `json:"fingerprints,omitempty"` // The unique id for the smartlock authorization // Required: true ID *string `json:"id"` // The last active date // Format: date-time LastActiveDate strfmt.DateTime `json:"lastActiveDate,omitempty"` // The lock count // Required: true LockCount *int32 `json:"lockCount"` // The name of the authorization (max 32 chars) // Required: true Name *string `json:"name"` // The operation id - if set the auth is locked for another operations. // Read Only: true OperationID ObjectID `json:"operationId,omitempty"` // True if the auth has remote access // Required: true RemoteAllowed *bool `json:"remoteAllowed"` // The smartlock id // Required: true SmartlockID *int64 `json:"smartlockId"` // The type of the authorization: 0 .. app, 1 .. bridge, 2 .. fob, 3 .. keypad, 13 .. keypad code, 14 .. z-key, 15 .. virtual // Required: true // Read Only: true // Maximum: 2 // Minimum: 0 Type int32 `json:"type"` // The update date // Format: date-time UpdateDate strfmt.DateTime `json:"updateDate,omitempty"` }
SmartlockAuth smartlock auth
swagger:model SmartlockAuth
func (*SmartlockAuth) ContextValidate ¶
ContextValidate validate this smartlock auth based on the context it is used
func (*SmartlockAuth) MarshalBinary ¶
func (m *SmartlockAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockAuth) UnmarshalBinary ¶
func (m *SmartlockAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockAuthCreate ¶
type SmartlockAuthCreate struct { // The id of the linked account user (required if type is NOT 13 .. keypad) AccountUserID int32 `json:"accountUserId,omitempty"` // The allowed from date // Format: date-time AllowedFromDate strfmt.DateTime `json:"allowedFromDate,omitempty"` // The allowed from time (in minutes from midnight) AllowedFromTime int32 `json:"allowedFromTime,omitempty"` // The allowed until date // Format: date-time AllowedUntilDate strfmt.DateTime `json:"allowedUntilDate,omitempty"` // The allowed until time (in minutes from midnight) AllowedUntilTime int32 `json:"allowedUntilTime,omitempty"` // The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday // Maximum: 127 // Minimum: 0 AllowedWeekDays *int32 `json:"allowedWeekDays,omitempty"` // The code of the keypad authorization (only for keypad) Code int32 `json:"code,omitempty"` // The name of the authorization (max 32 chars) // Required: true Name *string `json:"name"` // True if the auth has remote access // Required: true RemoteAllowed *bool `json:"remoteAllowed"` // The smart actions enabled flag SmartActionsEnabled bool `json:"smartActionsEnabled,omitempty"` // The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad Type int32 `json:"type,omitempty"` }
SmartlockAuthCreate smartlock auth create
swagger:model SmartlockAuthCreate
func (*SmartlockAuthCreate) ContextValidate ¶
ContextValidate validates this smartlock auth create based on context it is used
func (*SmartlockAuthCreate) MarshalBinary ¶
func (m *SmartlockAuthCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockAuthCreate) UnmarshalBinary ¶
func (m *SmartlockAuthCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockAuthMultiUpdate ¶
type SmartlockAuthMultiUpdate struct { // The id of the linked account user AccountUserID int32 `json:"accountUserId,omitempty"` // The allowed from date // Format: date-time AllowedFromDate strfmt.DateTime `json:"allowedFromDate,omitempty"` // The allowed from time (in minutes from midnight) AllowedFromTime int32 `json:"allowedFromTime,omitempty"` // The allowed until date // Format: date-time AllowedUntilDate strfmt.DateTime `json:"allowedUntilDate,omitempty"` // The allowed until time (in minutes from midnight) AllowedUntilTime int32 `json:"allowedUntilTime,omitempty"` // The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday // Maximum: 127 // Minimum: 0 AllowedWeekDays *int32 `json:"allowedWeekDays,omitempty"` // The code of the keypad authorization (only for keypad) Code int32 `json:"code,omitempty"` // True if the auth is enabled Enabled bool `json:"enabled,omitempty"` // The unique id for the smartlock authorization // Required: true ID *string `json:"id"` // The name of the authorization (max 32 chars) // Required: true Name *string `json:"name"` // True if the auth has remote access RemoteAllowed bool `json:"remoteAllowed,omitempty"` }
SmartlockAuthMultiUpdate smartlock auth multi update
swagger:model SmartlockAuthMultiUpdate
func (*SmartlockAuthMultiUpdate) ContextValidate ¶
func (m *SmartlockAuthMultiUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this smartlock auth multi update based on context it is used
func (*SmartlockAuthMultiUpdate) MarshalBinary ¶
func (m *SmartlockAuthMultiUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockAuthMultiUpdate) UnmarshalBinary ¶
func (m *SmartlockAuthMultiUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockAuthUpdate ¶
type SmartlockAuthUpdate struct { // The id of the linked account user AccountUserID int32 `json:"accountUserId,omitempty"` // The allowed from date // Format: date-time AllowedFromDate strfmt.DateTime `json:"allowedFromDate,omitempty"` // The allowed from time (in minutes from midnight) AllowedFromTime int32 `json:"allowedFromTime,omitempty"` // The allowed until date // Format: date-time AllowedUntilDate strfmt.DateTime `json:"allowedUntilDate,omitempty"` // The allowed until time (in minutes from midnight) AllowedUntilTime int32 `json:"allowedUntilTime,omitempty"` // The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday // Maximum: 127 // Minimum: 0 AllowedWeekDays *int32 `json:"allowedWeekDays,omitempty"` // The code of the keypad authorization (only for keypad) Code int32 `json:"code,omitempty"` // True if the auth is enabled Enabled bool `json:"enabled,omitempty"` // The name of the authorization (max 32 chars) // Required: true Name *string `json:"name"` // True if the auth has remote access RemoteAllowed bool `json:"remoteAllowed,omitempty"` }
SmartlockAuthUpdate smartlock auth update
swagger:model SmartlockAuthUpdate
func (*SmartlockAuthUpdate) ContextValidate ¶
ContextValidate validates this smartlock auth update based on context it is used
func (*SmartlockAuthUpdate) MarshalBinary ¶
func (m *SmartlockAuthUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockAuthUpdate) UnmarshalBinary ¶
func (m *SmartlockAuthUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockConfig ¶
type SmartlockConfig struct { // The advertising mode (battery saving): 0 .. automatic, 1 .. normal, 2 .. slow, 3 .. slowest // Required: true // Maximum: 3 // Minimum: 0 AdvertisingMode *int32 `json:"advertisingMode"` // True if the door should be unlatched on unlocking (knob) (only for type=1 and type=3) AutoUnlatch bool `json:"autoUnlatch,omitempty"` // True if the button on the smartlock is enabled ButtonEnabled bool `json:"buttonEnabled,omitempty"` // The capabilities indicate whether door opening via app is possible, RTO is possible or both: 0 .. only door opening possible, 1 .. both possible, 2 .. only RTO possible (only for type=2) // Read Only: true // Maximum: 2 // Minimum: 0 Capabilities int32 `json:"capabilities,omitempty"` // [deprecated] The daylight saving mode: 0 .. off, 1 .. european DaylightSavingMode int32 `json:"daylightSavingMode,omitempty"` // The device type of a Nuki device // Read Only: true DeviceType int32 `json:"deviceType,omitempty"` // The fob action if button is pressed once: type=0/3/4: 0 .. none, 1 .. unlock, 2 .. lock, 3 .. lock 'n' go, 4 .. intelligent (lock/unlocked based on the current state); type=2: 0 .. none, 1 .. toggle ring to open, 2 .. activate ring to open, 3 .. deactivate ring to open, 7 .. open (electric strike actuation), 8 .. ring // Read Only: true // Maximum: 8 // Minimum: 0 FobAction1 int32 `json:"fobAction1,omitempty"` // The fob action if button is pressed twice: type=0/3/4: 0 .. none, 1 .. unlock, 2 .. lock, 3 .. lock 'n' go, 4 .. intelligent (lock/unlocked based on the current state); type=2: 0 .. none, 1 .. toggle ring to open, 2 .. activate ring to open, 3 .. deactivate ring to open, 7 .. open (electric strike actuation), 8 .. ring // Read Only: true // Maximum: 8 // Minimum: 0 FobAction2 int32 `json:"fobAction2,omitempty"` // The fob action if button is pressed 3 times: type=0/3/4: 0 .. none, 1 .. unlock, 2 .. lock, 3 .. lock 'n' go, 4 .. intelligent (lock/unlocked based on the current state); type=2: 0 .. none, 1 .. toggle ring to open, 2 .. activate ring to open, 3 .. deactivate ring to open, 7 .. open (electric strike actuation), 8 .. ring // Read Only: true // Maximum: 8 // Minimum: 0 FobAction3 int32 `json:"fobAction3,omitempty"` // True if a fob is paired with the smartlock // Read Only: true FobPaired *bool `json:"fobPaired,omitempty"` // The homekit state: 0 .. unavailable, 1 .. disabled, 2 .. enabled, 3 .. enabled & paired // Read Only: true // Maximum: 3 // Minimum: 0 HomekitState int32 `json:"homekitState,omitempty"` // True if a keypad 2 is paired with the smartlock // Read Only: true Keypad2Paired *bool `json:"keypad2Paired,omitempty"` // True if a keypad is paired with the smartlock // Read Only: true KeypadPaired *bool `json:"keypadPaired,omitempty"` // The latitude of the smartlock position // Required: true Latitude *float32 `json:"latitude"` // The brightness of the LED: 0 .. off, 5 .. max (only for type=1 and type=3) LedBrightness int32 `json:"ledBrightness,omitempty"` // True if the LED on the smartlock is enabled LedEnabled bool `json:"ledEnabled,omitempty"` // True if the door has a lift up handle, which is required to be lifted up to lock the door LiftUpHandle bool `json:"liftUpHandle,omitempty"` // The longitude of the smartlock position // Required: true Longitude *float32 `json:"longitude"` // The matter state: 0 .. not available, 1 .. disabled and no certificate available, 2 .. disabled, 3 .. enabled, 4 .. enabled & paired // Read Only: true // Maximum: 4 // Minimum: 0 MatterState int32 `json:"matterState,omitempty"` // The name of the smartlock for new users // Required: true Name *string `json:"name"` // The operating mode of the opener (only for type=2): 0x00 .. generic door opener, 0x01 .. analogue intercom, 0x02 .. digital intercom, 0x03 .. digital intercom Siedle, 0x04 .. digital intercom TCS, 0x05 .. digital intercom Bticino, 0x06 .. analog intercom Siedle HTS, 0x07 .. digital intercom STR, 0x08 .. digital intercom Ritto, 0x09 .. digital intercom Fermax, 0x0A .. digital intercom Comelit, 0x0B .. digital intercom Urmet BiBus, 0x0C .. digital intercom Urmet 2Voice, 0x0D .. digital intercom Golmar, 0x0E .. digital intercom SKS, 0x0F .. digital intercom Spare // Read Only: true OperatingMode int32 `json:"operatingMode,omitempty"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` // True if the pairing is allowed via the smartlock button PairingEnabled bool `json:"pairingEnabled,omitempty"` // True if the smartlock should only lock once (instead of twice) (only for type=1) // Required: true SingleLock *bool `json:"singleLock"` // The timezone id (check https://developer.nuki.io for ids) // Required: true // Maximum: 45 // Minimum: 0 TimezoneID *int32 `json:"timezoneId"` // [deprecated] The timezone offset (in minutes) // Required: true TimezoneOffset *int32 `json:"timezoneOffset"` // Flag that indicates if the devices internal WIFI module can be used // Read Only: true WifiEnabled *bool `json:"wifiEnabled,omitempty"` }
SmartlockConfig smartlock config
swagger:model Smartlock.Config
func (*SmartlockConfig) ContextValidate ¶
ContextValidate validate this smartlock config based on the context it is used
func (*SmartlockConfig) MarshalBinary ¶
func (m *SmartlockConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockConfig) UnmarshalBinary ¶
func (m *SmartlockConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockLog ¶
type SmartlockLog struct { // The id of the linked account user AccountUserID int32 `json:"accountUserId,omitempty"` // The action: 1 .. unlock, 2 .. lock, 3 .. unlatch, 4 .. lock'n'go, 5 .. lock'n'go with unlatch, 208 .. door warning ajar, 209 door warning status mismatch, 224 .. doorbell recognition (only Opener), 240 .. door opened, 241 .. door closed, 242 .. door sensor jammed, 243 .. firmware update, 250 .. door log enabled, 251 .. door log disabled, 252 .. initialization, 253 .. calibration, 254 .. log enabled, 255 .. log disabled // Required: true // Maximum: 255 // Minimum: 1 Action *int32 `json:"action"` // The door sensor warning ajar timeout (in minutes, only for action = 208) AjarTimeout int32 `json:"ajarTimeout,omitempty"` // The id of the linked smartlock auth AuthID string `json:"authId,omitempty"` // True if it was an auto unlock // Required: true AutoUnlock *bool `json:"autoUnlock"` // The log date // Required: true // Format: date-time Date *strfmt.DateTime `json:"date"` // The device type: 0 .. smartlock and box, 2 .. opener, 3 .. smartdoor // Required: true // Enum: [0 2 3] DeviceType *int32 `json:"deviceType"` // In case of any error, it contains the error message Error string `json:"error,omitempty"` // The unique id for the smartlock log // Required: true ID *string `json:"id"` // The name // Required: true Name *string `json:"name"` // The opener specific log OpenerLog *SmartlockLogOpenerLog `json:"openerLog,omitempty"` // The smartlock id // Required: true SmartlockID *int64 `json:"smartlockId"` // The source of action: 1 .. Keypad code, 2 .. Fingerprint, 0 .. Default Source int32 `json:"source,omitempty"` // The completion state: 0 .. Success, 1 .. Motor blocked, 2 .. Canceled, 3 .. Too recent, 4 .. Busy, 5 .. Low motor voltage, 6 .. Clutch failure, 7 .. Motor power failure, 8 .. Incomplete, 9 .. Rejected, 10 .. Rejected night mode, 254 .. Other error, 255 .. Unknown error // Required: true // Maximum: 255 // Minimum: 1 State *int32 `json:"state"` // The trigger: 0 .. system, 1 .. manual, 2 .. button, 3 .. automatic, 4 .. web, 5 .. app, 6 .. auto lock, 7 .. accessory, 255 .. keypad // Required: true // Maximum: 255 // Minimum: 0 Trigger *int32 `json:"trigger"` }
SmartlockLog smartlock log
swagger:model SmartlockLog
func (*SmartlockLog) ContextValidate ¶
ContextValidate validate this smartlock log based on the context it is used
func (*SmartlockLog) MarshalBinary ¶
func (m *SmartlockLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockLog) UnmarshalBinary ¶
func (m *SmartlockLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockLogOpenerLog ¶
type SmartlockLogOpenerLog struct { // Flag indicating if continuous mode was active // Required: true ActiveCm *bool `json:"activeCm"` // Flag indicating if ring to open was active // Required: true ActiveRto *bool `json:"activeRto"` // Flag indicating if doorbell suppression was active // Required: true FlagDoorbellSuppression *bool `json:"flagDoorbellSuppression"` // Flag indicating a force induced action // Required: true FlagForce *bool `json:"flagForce"` // Flag indicating a geo fence induced action // Required: true FlagGeoFence *bool `json:"flagGeoFence"` // The cause of the activation of ring to open or continuous mode: 0 .. doorbell, 1 .. timecontrol, 2 .. app, 3 .. button, 4 .. fob, 5 .. bridge, 6 .. keypad // Required: true // Maximum: 6 // Minimum: 0 Source *int32 `json:"source"` }
SmartlockLogOpenerLog smartlock log opener log
swagger:model SmartlockLog.OpenerLog
func (*SmartlockLogOpenerLog) ContextValidate ¶
ContextValidate validates this smartlock log opener log based on context it is used
func (*SmartlockLogOpenerLog) MarshalBinary ¶
func (m *SmartlockLogOpenerLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockLogOpenerLog) UnmarshalBinary ¶
func (m *SmartlockLogOpenerLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockOpenerAdvancedConfig ¶
type SmartlockOpenerAdvancedConfig struct { // Flag that indicates if available firmware updates for the deviceshould be installed automatically AutoUpdateEnabled bool `json:"autoUpdateEnabled,omitempty"` // Flag that indicates if the automatic detection of the battery type is enabled AutomaticBatteryTypeDetection bool `json:"automaticBatteryTypeDetection,omitempty"` // The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed // Required: true BatteryType *int32 `json:"batteryType"` // Method to switch between data and analogue mode // Required: true // Read Only: true // Enum: [0 1] BusModeSwitch int32 `json:"busModeSwitch"` // Flag to disable RTO after ring // Required: true DisableRtoAfterRing *bool `json:"disableRtoAfterRing"` // The doorbell supression bitmask: first bit (least significant) .. whenever the doorbell rings and CM and RTO are inactive, second bit .. RTO is active, third bit .. CM is active // Required: true DoorbellSuppression *int32 `json:"doorbellSuppression"` // Duration in ms of doorbell suppression (only in Operating mode 2 'digital Intercom') // Required: true DoorbellSuppressionDuration *int32 `json:"doorbellSuppressionDuration"` // The desired action, if the button is pressed twice: 0 .. no action, 1 .. toggle RTO, 2 .. activate RTO, 3 .. deactivate RTO, 4 .. toggle CM, 5 .. activate CM, 6 .. deactivate CM, 7 .. open // Required: true DoubleButtonPressAction *int32 `json:"doubleButtonPressAction"` // Delay of electric strike activation in ms after lock action 3 'electric strike actuation' // Required: true ElectricStrikeDelay *int32 `json:"electricStrikeDelay"` // Duration in ms of electric strike actuation lock action 3 'electric strike actuation' // Required: true ElectricStrikeDuration *int32 `json:"electricStrikeDuration"` // The database ID of the connected intercom // Required: true // Read Only: true IntercomID int32 `json:"intercomId"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` // Random electricStrikeDelay (range 3000 - 7000 ms) in order to simulate a person inside actuating the electric strike // Required: true RandomElectricStrikeDelay *bool `json:"randomElectricStrikeDelay"` // After this period of time in minutes, RTO gets deactivated automatically // Required: true RtoTimeout *int32 `json:"rtoTimeout"` // Duration of the short circuit for BUS mode switching in ms // Required: true ShortCircuitDuration *int32 `json:"shortCircuitDuration"` // The desired action, if the button is pressed once: 0 .. no action, 1 .. toggle RTO, 2 .. activate RTO, 3 .. deactivate RTO, 4 .. toggle CM, 5 .. activate CM, 6 .. deactivate CM, 7 .. open // Required: true SingleButtonPressAction *int32 `json:"singleButtonPressAction"` // The sound for CM: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3 // Required: true // Enum: [0 1 2 3] SoundCm *int32 `json:"soundCm"` // The sound confirmation: 0 .. no sound, 1 .. sound // Required: true // Enum: [0 1] SoundConfirmation *int32 `json:"soundConfirmation"` // The sound level // Required: true SoundLevel *int32 `json:"soundLevel"` // The sound for open: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3 // Required: true // Enum: [0 1 2 3] SoundOpen *int32 `json:"soundOpen"` // The sound for ring: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3 // Required: true // Enum: [0 1 2 3] SoundRing *int32 `json:"soundRing"` // The sound for RTO: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3 // Required: true // Enum: [0 1 2 3] SoundRto *int32 `json:"soundRto"` }
SmartlockOpenerAdvancedConfig smartlock opener advanced config
swagger:model Smartlock.OpenerAdvancedConfig
func (*SmartlockOpenerAdvancedConfig) ContextValidate ¶
func (m *SmartlockOpenerAdvancedConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this smartlock opener advanced config based on the context it is used
func (*SmartlockOpenerAdvancedConfig) MarshalBinary ¶
func (m *SmartlockOpenerAdvancedConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockOpenerAdvancedConfig) UnmarshalBinary ¶
func (m *SmartlockOpenerAdvancedConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockSmartdoorAdvancedConfig ¶
type SmartlockSmartdoorAdvancedConfig struct { // The Auto Lock feature automatically locks your door when it has been unlocked for a certain period of time // Required: true AutoLock *bool `json:"autoLock"` // Seconds until the smart lock relocks itself after it has been unlocked. No auto relock if value is 0 AutoLockTimeout int32 `json:"autoLockTimeout,omitempty"` // Flag that indicates if the automatic detection of the battery type is enabled AutomaticBatteryTypeDetection bool `json:"automaticBatteryTypeDetection,omitempty"` // The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed, 255 .. unknown // Required: true BatteryType *int32 `json:"batteryType"` // The volume of the buzzer: 0 .. off, 1 .. low, 2 .. normal // Enum: [0 1 2] BuzzerVolume int32 `json:"buzzerVolume,omitempty"` // The desired action, if the button is pressed twice: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status DoubleButtonPressAction int32 `json:"doubleButtonPressAction,omitempty"` // Timeout in seconds for lock ‘n’ go // Enum: [5 10 15 20 30 45 60] LngTimeout int32 `json:"lngTimeout,omitempty"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` // The desired action, if the button is pressed once: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status SingleButtonPressAction int32 `json:"singleButtonPressAction,omitempty"` // Set of supported battery types: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed, 254 .. automatic, 255 .. unknown // Read Only: true // Unique: true SupportedBatteryTypes []int32 `json:"supportedBatteryTypes"` // Duration in seconds for holding the latch in unlatched position // Enum: [1 3 5 7 10 15 20 30] UnlatchDuration int32 `json:"unlatchDuration,omitempty"` }
SmartlockSmartdoorAdvancedConfig smartlock smartdoor advanced config
swagger:model Smartlock.SmartdoorAdvancedConfig
func (*SmartlockSmartdoorAdvancedConfig) ContextValidate ¶
func (m *SmartlockSmartdoorAdvancedConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this smartlock smartdoor advanced config based on the context it is used
func (*SmartlockSmartdoorAdvancedConfig) MarshalBinary ¶
func (m *SmartlockSmartdoorAdvancedConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockSmartdoorAdvancedConfig) UnmarshalBinary ¶
func (m *SmartlockSmartdoorAdvancedConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockState ¶
type SmartlockState struct { // Remaining capacity of a Nuki battery pack in % // Maximum: 100 // Minimum: 0 BatteryCharge *int32 `json:"batteryCharge,omitempty"` // True if a Nuki battery pack in a Smart Lock is currently charging BatteryCharging bool `json:"batteryCharging,omitempty"` // True if the battery state of the device is critical // Required: true BatteryCritical *bool `json:"batteryCritical"` // The door state: 0 .. unavailable/not paired, 1 .. deactivated, 2 .. door closed, 3 .. door opened, 4 .. door state unknown, 5 .. calibrating, 16 .. uncalibrated, 240 .. removed, 255 .. unknown // Required: true // Maximum: 255 // Minimum: 0 DoorState *int32 `json:"doorState"` // True if the battery of a paired doorsensor is critical (only available for supported devices) DoorsensorBatteryCritical bool `json:"doorsensorBatteryCritical,omitempty"` // True if the battery of a paired Keypad is critical (only available for supported devices) KeypadBatteryCritical bool `json:"keypadBatteryCritical,omitempty"` // The action: type=0/3/4: 1 .. unlock, 2 .. lock, 3 .. unlatch, 4 .. lock 'n' go, 5 .. lock 'n' go with unlatch; type=1: 1 .. unlock; type=2: 1 .. activate ring to open, 2 .. deactivate ring to open, 3 .. open (electric strike actuation) // Required: true // Maximum: 5 // Minimum: 0 LastAction *int32 `json:"lastAction"` // The smartlock mode: 0 .. uninitialized, 1 .. pairing, 2 .. door (default), 3 .. continuous (type=2 only), 4 .. maintenance // Required: true // Maximum: 4 // Minimum: 0 Mode *int32 `json:"mode"` // True if night mode currently active // Required: true NightMode *bool `json:"nightMode"` // The operation id - if set it's locked for another operation // Read Only: true OperationID string `json:"operationId,omitempty"` // End date of ring to open timeout; null if ring to open is not active (type=2 only) // Format: date-time RingToOpenEnd strfmt.DateTime `json:"ringToOpenEnd,omitempty"` // [deprecated] Remaining ring to open time; 0 if ring to open is not active (type=2 only) // Required: true // Maximum: 65535 // Minimum: 0 RingToOpenTimer *int32 `json:"ringToOpenTimer"` // The smartlock state: type=0/3/4: 0 .. uncalibrated, 1 .. locked, 2 .. unlocking, 3 .. unlocked, 4 .. locking, 5 .. unlatched, 6 .. unlocked (lock 'n' go), 7 .. unlatching, 224 .. Error wrong entry code, 225 .. Error wrong Fingerprint, 254 .. motor blocked, 255 .. undefined; type=2: 0 .. untrained, 1 .. online, 3 .. ring to open active, 5 .. open, 7 .. opening, 253 .. boot run, 255 .. undefined // Required: true // Maximum: 255 // Minimum: 0 State *int32 `json:"state"` // The state trigger: 0 .. system, 1 .. manual, 2 .. button, 3 .. automatic, 4 .. web (type=1 only), 5 .. app (type=1 only), 6 .. continuous mode (type=2 only), 7 .. accessory (type=3 only) // Required: true // Maximum: 6 // Minimum: 0 Trigger *int32 `json:"trigger"` }
SmartlockState smartlock state
swagger:model Smartlock.State
func (*SmartlockState) ContextValidate ¶
ContextValidate validate this smartlock state based on the context it is used
func (*SmartlockState) MarshalBinary ¶
func (m *SmartlockState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockState) UnmarshalBinary ¶
func (m *SmartlockState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockUpdate ¶
type SmartlockUpdate struct { // True if the smartlock is favorite Favorite bool `json:"favorite,omitempty"` // The new name of the smartlock Name string `json:"name,omitempty"` }
SmartlockUpdate smartlock update
swagger:model SmartlockUpdate
func (*SmartlockUpdate) ContextValidate ¶
ContextValidate validates this smartlock update based on context it is used
func (*SmartlockUpdate) MarshalBinary ¶
func (m *SmartlockUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockUpdate) UnmarshalBinary ¶
func (m *SmartlockUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlockWebConfig ¶
type SmartlockWebConfig struct { // True if a battery warning is send via email, if null/not send, the value is not being updated BatteryWarningPerMailEnabled bool `json:"batteryWarningPerMailEnabled,omitempty"` // Contains the account ids which have dismissed the lift up handle warning, if null/not send, the value is not being updated. To clear send a empty array [] DismissedLiftUpHandleWarning []int32 `json:"dismissedLiftUpHandleWarning"` }
SmartlockWebConfig smartlock web config
swagger:model Smartlock.WebConfig
func (*SmartlockWebConfig) ContextValidate ¶
ContextValidate validates this smartlock web config based on context it is used
func (*SmartlockWebConfig) MarshalBinary ¶
func (m *SmartlockWebConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlockWebConfig) UnmarshalBinary ¶
func (m *SmartlockWebConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlocksAuthAdvancedCreate ¶
type SmartlocksAuthAdvancedCreate struct { // The id of the linked account user // Required: true AccountUserID *int32 `json:"accountUserId"` // The allowed from date // Format: date-time AllowedFromDate strfmt.DateTime `json:"allowedFromDate,omitempty"` // The allowed from time (in minutes from midnight) AllowedFromTime int32 `json:"allowedFromTime,omitempty"` // The allowed until date // Format: date-time AllowedUntilDate strfmt.DateTime `json:"allowedUntilDate,omitempty"` // The allowed until time (in minutes from midnight) AllowedUntilTime int32 `json:"allowedUntilTime,omitempty"` // The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday // Maximum: 127 // Minimum: 0 AllowedWeekDays *int32 `json:"allowedWeekDays,omitempty"` // The name of the authorization (max 32 chars) // Required: true Name *string `json:"name"` // True if the auth has remote access // Required: true RemoteAllowed *bool `json:"remoteAllowed"` // The smart actions enabled flag SmartActionsEnabled bool `json:"smartActionsEnabled,omitempty"` // The list of smartlock ids // Required: true SmartlockIds []int64 `json:"smartlockIds"` }
SmartlocksAuthAdvancedCreate smartlocks auth advanced create
swagger:model SmartlocksAuthAdvancedCreate
func (*SmartlocksAuthAdvancedCreate) ContextValidate ¶
func (m *SmartlocksAuthAdvancedCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this smartlocks auth advanced create based on context it is used
func (*SmartlocksAuthAdvancedCreate) MarshalBinary ¶
func (m *SmartlocksAuthAdvancedCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlocksAuthAdvancedCreate) UnmarshalBinary ¶
func (m *SmartlocksAuthAdvancedCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartlocksAuthCreate ¶
type SmartlocksAuthCreate struct { // The id of the linked account user (required if type is NOT 13 .. keypad) AccountUserID int32 `json:"accountUserId,omitempty"` // The allowed from date // Format: date-time AllowedFromDate strfmt.DateTime `json:"allowedFromDate,omitempty"` // The allowed from time (in minutes from midnight) AllowedFromTime int32 `json:"allowedFromTime,omitempty"` // The allowed until date // Format: date-time AllowedUntilDate strfmt.DateTime `json:"allowedUntilDate,omitempty"` // The allowed until time (in minutes from midnight) AllowedUntilTime int32 `json:"allowedUntilTime,omitempty"` // The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday // Maximum: 127 // Minimum: 0 AllowedWeekDays *int32 `json:"allowedWeekDays,omitempty"` // The code of the keypad authorization (only for keypad) Code int32 `json:"code,omitempty"` // The name of the authorization (max 32 chars) // Required: true Name *string `json:"name"` // True if the auth has remote access // Required: true RemoteAllowed *bool `json:"remoteAllowed"` // The smart actions enabled flag SmartActionsEnabled bool `json:"smartActionsEnabled,omitempty"` // The list of smartlock ids SmartlockIds []int64 `json:"smartlockIds"` // The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad Type int32 `json:"type,omitempty"` }
SmartlocksAuthCreate smartlocks auth create
swagger:model SmartlocksAuthCreate
func (*SmartlocksAuthCreate) ContextValidate ¶
ContextValidate validates this smartlocks auth create based on context it is used
func (*SmartlocksAuthCreate) MarshalBinary ¶
func (m *SmartlocksAuthCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartlocksAuthCreate) UnmarshalBinary ¶
func (m *SmartlocksAuthCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackTraceElement ¶
type StackTraceElement struct { // class name ClassName string `json:"className,omitempty"` // file name FileName string `json:"fileName,omitempty"` // line number LineNumber int32 `json:"lineNumber,omitempty"` // method name MethodName string `json:"methodName,omitempty"` // native method NativeMethod bool `json:"nativeMethod,omitempty"` }
StackTraceElement stack trace element
swagger:model StackTraceElement
func (*StackTraceElement) ContextValidate ¶
ContextValidate validates this stack trace element based on context it is used
func (*StackTraceElement) MarshalBinary ¶
func (m *StackTraceElement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackTraceElement) UnmarshalBinary ¶
func (m *StackTraceElement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StaleDevice ¶
type StaleDevice struct { // name Name string `json:"name,omitempty"` // read Read bool `json:"read,omitempty"` // smartlock Id SmartlockID int64 `json:"smartlockId,omitempty"` }
StaleDevice stale device
swagger:model StaleDevice
func (*StaleDevice) ContextValidate ¶
ContextValidate validates this stale device based on context it is used
func (*StaleDevice) MarshalBinary ¶
func (m *StaleDevice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StaleDevice) UnmarshalBinary ¶
func (m *StaleDevice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Status ¶
type Status struct { // client error ClientError bool `json:"clientError,omitempty"` // code Code int32 `json:"code,omitempty"` // connector error ConnectorError bool `json:"connectorError,omitempty"` // description Description string `json:"description,omitempty"` // error Error bool `json:"error,omitempty"` // global error GlobalError bool `json:"globalError,omitempty"` // informational Informational bool `json:"informational,omitempty"` // reason phrase ReasonPhrase string `json:"reasonPhrase,omitempty"` // recoverable error RecoverableError bool `json:"recoverableError,omitempty"` // redirection Redirection bool `json:"redirection,omitempty"` // server error ServerError bool `json:"serverError,omitempty"` // success Success bool `json:"success,omitempty"` // throwable Throwable *Throwable `json:"throwable,omitempty"` // uri URI string `json:"uri,omitempty"` }
Status status
swagger:model Status
func (*Status) ContextValidate ¶
ContextValidate validate this status based on the context it is used
func (*Status) MarshalBinary ¶
MarshalBinary interface implementation
func (*Status) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StatusService ¶
type StatusService struct { // conneg service ConnegService *ConnegService `json:"connegService,omitempty"` // contact email ContactEmail string `json:"contactEmail,omitempty"` // context Context *Context `json:"context,omitempty"` // converter service ConverterService *ConverterService `json:"converterService,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // home ref HomeRef *Reference `json:"homeRef,omitempty"` // metadata service MetadataService *MetadataService `json:"metadataService,omitempty"` // overwriting Overwriting bool `json:"overwriting,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` }
StatusService status service
swagger:model StatusService
func (*StatusService) ContextValidate ¶
ContextValidate validate this status service based on the context it is used
func (*StatusService) MarshalBinary ¶
func (m *StatusService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatusService) UnmarshalBinary ¶
func (m *StatusService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Subscription ¶
type Subscription struct { // True if the subscription is available for new users // Required: true Available *bool `json:"available"` // The description per language // Example: { de: ”, en: ”} // Required: true Descriptions map[string]string `json:"descriptions"` // The optional gift article GiftArticle string `json:"giftArticle,omitempty"` // The length with number and unit (e.g. 30d, 2y) // Example: 30d // Required: true Length *string `json:"length"` // The price // Required: true Price *float64 `json:"price"` // The quantity of authorizations // Required: true Quantity *int32 `json:"quantity"` // The unique subscription id // Required: true SubscriptionID *int32 `json:"subscriptionId"` // The title per language // Example: { de: ”, en: ”} // Required: true Titles map[string]string `json:"titles"` // The update date UpdateDate int64 `json:"updateDate,omitempty"` }
Subscription subscription
swagger:model Subscription
func (*Subscription) ContextValidate ¶
ContextValidate validates this subscription based on context it is used
func (*Subscription) MarshalBinary ¶
func (m *Subscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscription) UnmarshalBinary ¶
func (m *Subscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Tag ¶
type Tag struct { // name Name string `json:"name,omitempty"` // weak Weak bool `json:"weak,omitempty"` }
Tag tag
swagger:model Tag
func (*Tag) ContextValidate ¶
ContextValidate validates this tag based on context it is used
func (*Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TaskService ¶
type TaskService struct { // context Context *Context `json:"context,omitempty"` // core pool size CorePoolSize int32 `json:"corePoolSize,omitempty"` // daemon Daemon bool `json:"daemon,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // shutdown Shutdown bool `json:"shutdown,omitempty"` // shutdown allowed ShutdownAllowed bool `json:"shutdownAllowed,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` // terminated Terminated bool `json:"terminated,omitempty"` }
TaskService task service
swagger:model TaskService
func (*TaskService) ContextValidate ¶
ContextValidate validate this task service based on the context it is used
func (*TaskService) MarshalBinary ¶
func (m *TaskService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskService) UnmarshalBinary ¶
func (m *TaskService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TermsOfUse ¶
type TermsOfUse struct { // acceptance date // Format: date-time AcceptanceDate strfmt.DateTime `json:"acceptanceDate,omitempty"` // publish date // Format: date-time PublishDate strfmt.DateTime `json:"publishDate,omitempty"` // state // Enum: [Accepted Inactive] State string `json:"state,omitempty"` }
TermsOfUse terms of use
swagger:model TermsOfUse
func (*TermsOfUse) ContextValidate ¶
ContextValidate validates this terms of use based on context it is used
func (*TermsOfUse) MarshalBinary ¶
func (m *TermsOfUse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TermsOfUse) UnmarshalBinary ¶
func (m *TermsOfUse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Throwable ¶
type Throwable struct { // cause Cause *Throwable `json:"cause,omitempty"` // localized message LocalizedMessage string `json:"localizedMessage,omitempty"` // message Message string `json:"message,omitempty"` // stack trace StackTrace []*StackTraceElement `json:"stackTrace"` // suppressed Suppressed []*Throwable `json:"suppressed"` }
Throwable throwable
swagger:model Throwable
func (*Throwable) ContextValidate ¶
ContextValidate validate this throwable based on the context it is used
func (*Throwable) MarshalBinary ¶
MarshalBinary interface implementation
func (*Throwable) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TunnelService ¶
type TunnelService struct { // character set parameter CharacterSetParameter string `json:"characterSetParameter,omitempty"` // context Context *Context `json:"context,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // encoding parameter EncodingParameter string `json:"encodingParameter,omitempty"` // extensions tunnel ExtensionsTunnel bool `json:"extensionsTunnel,omitempty"` // headers tunnel HeadersTunnel bool `json:"headersTunnel,omitempty"` // language parameter LanguageParameter string `json:"languageParameter,omitempty"` // media type parameter MediaTypeParameter string `json:"mediaTypeParameter,omitempty"` // method header MethodHeader string `json:"methodHeader,omitempty"` // method parameter MethodParameter string `json:"methodParameter,omitempty"` // method tunnel MethodTunnel bool `json:"methodTunnel,omitempty"` // preferences tunnel PreferencesTunnel bool `json:"preferencesTunnel,omitempty"` // query tunnel QueryTunnel bool `json:"queryTunnel,omitempty"` // started Started bool `json:"started,omitempty"` // stopped Stopped bool `json:"stopped,omitempty"` // user agent tunnel UserAgentTunnel bool `json:"userAgentTunnel,omitempty"` }
TunnelService tunnel service
swagger:model TunnelService
func (*TunnelService) ContextValidate ¶
ContextValidate validate this tunnel service based on the context it is used
func (*TunnelService) MarshalBinary ¶
func (m *TunnelService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TunnelService) UnmarshalBinary ¶
func (m *TunnelService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct { // email Email string `json:"email,omitempty"` // first name FirstName string `json:"firstName,omitempty"` // identifier Identifier string `json:"identifier,omitempty"` // last name LastName string `json:"lastName,omitempty"` // name Name string `json:"name,omitempty"` // secret Secret []string `json:"secret"` }
User user
swagger:model User
func (*User) ContextValidate ¶
ContextValidate validates this user based on context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Variant ¶
type Variant struct { // character set CharacterSet *CharacterSet `json:"characterSet,omitempty"` // encodings Encodings []*Encoding `json:"encodings"` // languages Languages []*Language `json:"languages"` // location ref LocationRef *Reference `json:"locationRef,omitempty"` // media type MediaType *MediaType `json:"mediaType,omitempty"` }
Variant variant
swagger:model Variant
func (*Variant) ContextValidate ¶
ContextValidate validate this variant based on the context it is used
func (*Variant) MarshalBinary ¶
MarshalBinary interface implementation
func (*Variant) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WakeupListener ¶
type WakeupListener interface{}
WakeupListener wakeup listener
swagger:model WakeupListener
type Warning ¶
type Warning struct { // agent Agent string `json:"agent,omitempty"` // date // Format: date-time Date strfmt.DateTime `json:"date,omitempty"` // status Status *Status `json:"status,omitempty"` // text Text string `json:"text,omitempty"` }
Warning warning
swagger:model Warning
func (*Warning) ContextValidate ¶
ContextValidate validate this warning based on the context it is used
func (*Warning) MarshalBinary ¶
MarshalBinary interface implementation
func (*Warning) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WebConfigRequest ¶
type WebConfigRequest struct { // smartlock Id SmartlockID int64 `json:"smartlockId,omitempty"` // web config WebConfig *SmartlockWebConfig `json:"webConfig,omitempty"` }
WebConfigRequest web config request
swagger:model WebConfigRequest
func (*WebConfigRequest) ContextValidate ¶
ContextValidate validate this web config request based on the context it is used
func (*WebConfigRequest) MarshalBinary ¶
func (m *WebConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebConfigRequest) UnmarshalBinary ¶
func (m *WebConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebhookLog ¶
type WebhookLog struct { // The account id // Required: true AccountID *int32 `json:"accountId"` // Used Api Key for the webhook // Required: true APIKeyID *int32 `json:"apiKeyId"` // Creation Date // Required: true // Format: date-time Created *strfmt.DateTime `json:"created"` // The duration of the webhook in milli seconds Duration int64 `json:"duration,omitempty"` // The WebhookLog id // Required: true ID *string `json:"id"` // Only set if webhook triggered by user Request *WebhookMessage `json:"request,omitempty"` // Request id, set when api-triggered request otherwise empty RequestID string `json:"requestId,omitempty"` // Set if webhook sent Response *WebhookMessage `json:"response,omitempty"` // Http Status code of the webhook response ResponseStatus int32 `json:"responseStatus,omitempty"` // If the webhooks sends the data successfully Succeeded bool `json:"succeeded,omitempty"` // last updated time // Required: true // Format: date-time Updated *strfmt.DateTime `json:"updated"` }
WebhookLog webhook log
swagger:model WebhookLog
func (*WebhookLog) ContextValidate ¶
ContextValidate validate this webhook log based on the context it is used
func (*WebhookLog) MarshalBinary ¶
func (m *WebhookLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebhookLog) UnmarshalBinary ¶
func (m *WebhookLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebhookMessage ¶
type WebhookMessage struct { // Http Body as Json Body map[string]interface{} `json:"body,omitempty"` // Http Headers as key value pairs // Required: true Headers map[string]string `json:"headers"` // Path of the message // Required: true Path *string `json:"path"` // The timestamp when the message was created // Format: date-time Timestamp strfmt.DateTime `json:"timestamp,omitempty"` }
WebhookMessage webhook message
swagger:model WebhookMessage
func (*WebhookMessage) ContextValidate ¶
ContextValidate validates this webhook message based on context it is used
func (*WebhookMessage) MarshalBinary ¶
func (m *WebhookMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebhookMessage) UnmarshalBinary ¶
func (m *WebhookMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- account.go
- account_config.go
- account_descent.go
- account_email_change.go
- account_integration.go
- account_otp_enable.go
- account_password_reset.go
- account_profile.go
- account_setting.go
- account_setting_web.go
- account_sub_create.go
- account_sub_update.go
- account_subscription.go
- account_update.go
- account_user.go
- account_user_create.go
- account_user_update.go
- address.go
- address_create.go
- address_reservation.go
- address_token.go
- address_token_info.go
- address_unit.go
- address_unit_response.go
- address_update.go
- advanced_api_key.go
- advanced_api_key_create.go
- advanced_api_key_update.go
- advanced_confirmation_response.go
- api_key.go
- api_key_advanced.go
- api_key_create.go
- api_key_service.go
- api_key_token.go
- api_key_token_create.go
- api_key_token_update.go
- api_key_update.go
- application.go
- authentication_info.go
- bulk_web_config_request.go
- cache_directive.go
- certificate.go
- challenge_request.go
- challenge_response.go
- challenge_scheme.go
- character_set.go
- client_info.go
- company.go
- completable_future.go
- completable_future_list_api_key.go
- conditions.go
- connector_service.go
- conneg_service.go
- context.go
- converter_service.go
- cookie.go
- cookie_setting.go
- decentral_webhook.go
- decoder_service.go
- digest.go
- disposition.go
- encoder_service.go
- encoding.go
- enroler.go
- enumeration.go
- enumeration_string.go
- error_manager.go
- expectation.go
- filter.go
- formatter.go
- handler.go
- header.go
- input_stream.go
- language.go
- level.go
- locale.go
- logger.go
- media_type.go
- metadata.go
- metadata_service.go
- method.go
- my_account.go
- named_value.go
- named_value_string.go
- notification.go
- notification_setting.go
- object_id.go
- opener_intercom_brand.go
- opener_intercom_model.go
- parameter.go
- preference.go
- preference_character_set.go
- preference_encoding.go
- preference_language.go
- preference_media_type.go
- principal.go
- product.go
- protocol.go
- public_key.go
- range.go
- range_service.go
- readable_byte_channel.go
- reader.go
- recipient_info.go
- reference.go
- representation.go
- request.go
- reservation_access_times_update.go
- resource_bundle.go
- response.go
- restlet.go
- role.go
- scheduled_executor_service.go
- selectable_channel.go
- selection_listener.go
- selection_registration.go
- server_info.go
- service.go
- shs_subscription.go
- smartlock.go
- smartlock_action.go
- smartlock_admin_pin_update.go
- smartlock_advanced_config.go
- smartlock_auth.go
- smartlock_auth_create.go
- smartlock_auth_multi_update.go
- smartlock_auth_update.go
- smartlock_config.go
- smartlock_log.go
- smartlock_log_opener_log.go
- smartlock_opener_advanced_config.go
- smartlock_smartdoor_advanced_config.go
- smartlock_state.go
- smartlock_update.go
- smartlock_web_config.go
- smartlocks_auth_advanced_create.go
- smartlocks_auth_create.go
- stack_trace_element.go
- stale_device.go
- status.go
- status_service.go
- subscription.go
- tag.go
- task_service.go
- terms_of_use.go
- throwable.go
- tunnel_service.go
- uniform.go
- user.go
- variant.go
- verifier.go
- wakeup_listener.go
- warning.go
- web_config_request.go
- webhook_log.go
- webhook_message.go