models

package
v0.0.0-...-14d5a85 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const (

	// AccountDescentOriginGOOGLE captures enum value "GOOGLE"
	AccountDescentOriginGOOGLE string = "GOOGLE"

	// AccountDescentOriginAPPLE captures enum value "APPLE"
	AccountDescentOriginAPPLE string = "APPLE"
)
View Source
const (

	// AccountIntegrationVersionLEGACY captures enum value "LEGACY"
	AccountIntegrationVersionLEGACY string = "LEGACY"

	// AccountIntegrationVersionHYDRA captures enum value "HYDRA"
	AccountIntegrationVersionHYDRA string = "HYDRA"
)
View Source
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"
)
View Source
const (

	// AccountSettingWebDeviceViewTypeLIST captures enum value "LIST"
	AccountSettingWebDeviceViewTypeLIST string = "LIST"

	// AccountSettingWebDeviceViewTypeTILE captures enum value "TILE"
	AccountSettingWebDeviceViewTypeTILE string = "TILE"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// AddressServiceIDAirbnb captures enum value "airbnb"
	AddressServiceIDAirbnb string = "airbnb"

	// AddressServiceIDBookingsync captures enum value "bookingsync"
	AddressServiceIDBookingsync string = "bookingsync"
)
View Source
const (

	// AddressReservationServiceIDAirbnb captures enum value "airbnb"
	AddressReservationServiceIDAirbnb string = "airbnb"

	// AddressReservationServiceIDBookingsync captures enum value "bookingsync"
	AddressReservationServiceIDBookingsync string = "bookingsync"
)
View Source
const (

	// AddressReservationStateCanceled captures enum value "canceled"
	AddressReservationStateCanceled string = "canceled"

	// AddressReservationStateAccepted captures enum value "accepted"
	AddressReservationStateAccepted string = "accepted"
)
View Source
const (

	// AddressTokenRedeemResultOk captures enum value "ok"
	AddressTokenRedeemResultOk string = "ok"

	// AddressTokenRedeemResultFailed captures enum value "failed"
	AddressTokenRedeemResultFailed string = "failed"
)
View Source
const (

	// AddressUnitResponseRedeemResultOk captures enum value "ok"
	AddressUnitResponseRedeemResultOk string = "ok"

	// AddressUnitResponseRedeemResultFailed captures enum value "failed"
	AddressUnitResponseRedeemResultFailed string = "failed"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// AdvancedAPIKeyWebhookStatusACTIVE captures enum value "ACTIVE"
	AdvancedAPIKeyWebhookStatusACTIVE string = "ACTIVE"

	// AdvancedAPIKeyWebhookStatusDEACTIVATED captures enum value "DEACTIVATED"
	AdvancedAPIKeyWebhookStatusDEACTIVATED string = "DEACTIVATED"
)
View Source
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"
)
View Source
const (

	// AdvancedAPIKeyCreateWebhookStatusACTIVE captures enum value "ACTIVE"
	AdvancedAPIKeyCreateWebhookStatusACTIVE string = "ACTIVE"

	// AdvancedAPIKeyCreateWebhookStatusDEACTIVATED captures enum value "DEACTIVATED"
	AdvancedAPIKeyCreateWebhookStatusDEACTIVATED string = "DEACTIVATED"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// APIKeyAdvancedWebhookStatusACTIVE captures enum value "ACTIVE"
	APIKeyAdvancedWebhookStatusACTIVE string = "ACTIVE"

	// APIKeyAdvancedWebhookStatusDEACTIVATED captures enum value "DEACTIVATED"
	APIKeyAdvancedWebhookStatusDEACTIVATED string = "DEACTIVATED"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// ShsSubscriptionTypeB2C captures enum value "B2C"
	ShsSubscriptionTypeB2C string = "B2C"

	// ShsSubscriptionTypeB2B captures enum value "B2B"
	ShsSubscriptionTypeB2B string = "B2B"
)
View Source
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

func (m *APIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api key based on context it is used

func (*APIKey) MarshalBinary

func (m *APIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIKey) UnmarshalBinary

func (m *APIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIKey) Validate

func (m *APIKey) Validate(formats strfmt.Registry) error

Validate validates this Api key

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

func (m *APIKeyAdvanced) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*APIKeyAdvanced) Validate

func (m *APIKeyAdvanced) Validate(formats strfmt.Registry) error

Validate validates this Api key advanced

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

func (m *APIKeyCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*APIKeyCreate) Validate

func (m *APIKeyCreate) Validate(formats strfmt.Registry) error

Validate validates this Api key create

type APIKeyService

type APIKeyService struct {

	// by active webhook
	ByActiveWebhook *CompletableFutureListAPIKey `json:"byActiveWebhook,omitempty"`
}

APIKeyService Api key service

swagger:model ApiKeyService

func (*APIKeyService) ContextValidate

func (m *APIKeyService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*APIKeyService) Validate

func (m *APIKeyService) Validate(formats strfmt.Registry) error

Validate validates this Api key service

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

func (m *APIKeyToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*APIKeyToken) Validate

func (m *APIKeyToken) Validate(formats strfmt.Registry) error

Validate validates this Api key token

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

func (m *APIKeyTokenCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*APIKeyTokenCreate) Validate

func (m *APIKeyTokenCreate) Validate(formats strfmt.Registry) error

Validate validates this Api key token create

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

func (m *APIKeyTokenUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*APIKeyTokenUpdate) Validate

func (m *APIKeyTokenUpdate) Validate(formats strfmt.Registry) error

Validate validates this Api key token update

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

func (m *APIKeyUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*APIKeyUpdate) Validate

func (m *APIKeyUpdate) Validate(formats strfmt.Registry) error

Validate validates this Api key update

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

func (m *Account) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this account based on the context it is used

func (*Account) MarshalBinary

func (m *Account) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Account) UnmarshalBinary

func (m *Account) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Account) Validate

func (m *Account) Validate(formats strfmt.Registry) error

Validate validates this account

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

func (m *AccountConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountConfig) Validate

func (m *AccountConfig) Validate(formats strfmt.Registry) error

Validate validates this account config

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

func (m *AccountDescent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountDescent) Validate

func (m *AccountDescent) Validate(formats strfmt.Registry) error

Validate validates this account descent

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

func (m *AccountEmailChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountEmailChange) Validate

func (m *AccountEmailChange) Validate(formats strfmt.Registry) error

Validate validates this account email change

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

func (m *AccountIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountIntegration) Validate

func (m *AccountIntegration) Validate(formats strfmt.Registry) error

Validate validates this account integration

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

func (m *AccountOtpEnable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountOtpEnable) Validate

func (m *AccountOtpEnable) Validate(formats strfmt.Registry) error

Validate validates this account otp enable

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

func (m *AccountPasswordReset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountPasswordReset) Validate

func (m *AccountPasswordReset) Validate(formats strfmt.Registry) error

Validate validates this account password reset

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

func (m *AccountProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountProfile) Validate

func (m *AccountProfile) Validate(formats strfmt.Registry) error

Validate validates this account profile

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

func (m *AccountSetting) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountSetting) Validate

func (m *AccountSetting) Validate(formats strfmt.Registry) error

Validate validates this account setting

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

func (m *AccountSettingWeb) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountSettingWeb) Validate

func (m *AccountSettingWeb) Validate(formats strfmt.Registry) error

Validate validates this account setting web

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

func (m *AccountSubCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountSubCreate) Validate

func (m *AccountSubCreate) Validate(formats strfmt.Registry) error

Validate validates this account sub create

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

func (m *AccountSubUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountSubUpdate) Validate

func (m *AccountSubUpdate) Validate(formats strfmt.Registry) error

Validate validates this account sub update

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

func (m *AccountSubscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountSubscription) Validate

func (m *AccountSubscription) Validate(formats strfmt.Registry) error

Validate validates this account subscription

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

func (m *AccountUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountUpdate) Validate

func (m *AccountUpdate) Validate(formats strfmt.Registry) error

Validate validates this account update

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

func (m *AccountUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountUser) Validate

func (m *AccountUser) Validate(formats strfmt.Registry) error

Validate validates this account user

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

func (m *AccountUserCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountUserCreate) Validate

func (m *AccountUserCreate) Validate(formats strfmt.Registry) error

Validate validates this account user create

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

func (m *AccountUserUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AccountUserUpdate) Validate

func (m *AccountUserUpdate) Validate(formats strfmt.Registry) error

Validate validates this account user update

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

func (m *Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this address based on context it is used

func (*Address) MarshalBinary

func (m *Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Address) UnmarshalBinary

func (m *Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Address) Validate

func (m *Address) Validate(formats strfmt.Registry) error

Validate validates this address

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

func (m *AddressCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AddressCreate) Validate

func (m *AddressCreate) Validate(formats strfmt.Registry) error

Validate validates this address create

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

func (m *AddressReservation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AddressReservation) Validate

func (m *AddressReservation) Validate(formats strfmt.Registry) error

Validate validates this address reservation

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

func (m *AddressToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AddressToken) Validate

func (m *AddressToken) Validate(formats strfmt.Registry) error

Validate validates this address token

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

func (m *AddressTokenInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AddressTokenInfo) Validate

func (m *AddressTokenInfo) Validate(formats strfmt.Registry) error

Validate validates this address token info

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

func (m *AddressUnit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AddressUnit) Validate

func (m *AddressUnit) Validate(formats strfmt.Registry) error

Validate validates this address unit

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

func (m *AddressUnitResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AddressUnitResponse) Validate

func (m *AddressUnitResponse) Validate(formats strfmt.Registry) error

Validate validates this address unit response

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

func (m *AddressUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AddressUpdate) Validate

func (m *AddressUpdate) Validate(formats strfmt.Registry) error

Validate validates this address update

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

func (m *AdvancedAPIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AdvancedAPIKey) Validate

func (m *AdvancedAPIKey) Validate(formats strfmt.Registry) error

Validate validates this advanced Api key

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

func (m *AdvancedAPIKeyCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AdvancedAPIKeyCreate) Validate

func (m *AdvancedAPIKeyCreate) Validate(formats strfmt.Registry) error

Validate validates this advanced Api key create

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

func (m *AdvancedAPIKeyUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AdvancedAPIKeyUpdate) Validate

func (m *AdvancedAPIKeyUpdate) Validate(formats strfmt.Registry) error

Validate validates this advanced Api key update

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

func (*AdvancedConfirmationResponse) Validate

func (m *AdvancedConfirmationResponse) Validate(formats strfmt.Registry) error

Validate validates this advanced confirmation response

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

func (m *Application) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Application) Validate

func (m *Application) Validate(formats strfmt.Registry) error

Validate validates this application

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

func (m *AuthenticationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AuthenticationInfo) Validate

func (m *AuthenticationInfo) Validate(formats strfmt.Registry) error

Validate validates this authentication info

type BulkWebConfigRequest

type BulkWebConfigRequest struct {

	// web config requests
	WebConfigRequests []*WebConfigRequest `json:"webConfigRequests"`
}

BulkWebConfigRequest bulk web config request

swagger:model BulkWebConfigRequest

func (*BulkWebConfigRequest) ContextValidate

func (m *BulkWebConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*BulkWebConfigRequest) Validate

func (m *BulkWebConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this bulk web config request

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

func (m *CacheDirective) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CacheDirective) Validate

func (m *CacheDirective) Validate(formats strfmt.Registry) error

Validate validates this cache directive

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

func (m *Certificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Certificate) Validate

func (m *Certificate) Validate(formats strfmt.Registry) error

Validate validates this certificate

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

func (m *ChallengeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ChallengeRequest) Validate

func (m *ChallengeRequest) Validate(formats strfmt.Registry) error

Validate validates this challenge request

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

func (m *ChallengeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ChallengeResponse) Validate

func (m *ChallengeResponse) Validate(formats strfmt.Registry) error

Validate validates this challenge response

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

func (m *ChallengeScheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ChallengeScheme) Validate

func (m *ChallengeScheme) Validate(formats strfmt.Registry) error

Validate validates this challenge scheme

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

func (m *CharacterSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CharacterSet) Validate

func (m *CharacterSet) Validate(formats strfmt.Registry) error

Validate validates this character set

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

func (m *ClientInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ClientInfo) Validate

func (m *ClientInfo) Validate(formats strfmt.Registry) error

Validate validates this client info

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

func (m *Company) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this company based on context it is used

func (*Company) MarshalBinary

func (m *Company) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Company) UnmarshalBinary

func (m *Company) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Company) Validate

func (m *Company) Validate(formats strfmt.Registry) error

Validate validates this company

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

func (m *CompletableFuture) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CompletableFuture) Validate

func (m *CompletableFuture) Validate(formats strfmt.Registry) error

Validate validates this completable future

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

func (*CompletableFutureListAPIKey) Validate

func (m *CompletableFutureListAPIKey) Validate(formats strfmt.Registry) error

Validate validates this completable future list Api key

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

func (m *Conditions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Conditions) Validate

func (m *Conditions) Validate(formats strfmt.Registry) error

Validate validates this conditions

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

func (m *ConnectorService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ConnectorService) Validate

func (m *ConnectorService) Validate(formats strfmt.Registry) error

Validate validates this connector service

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

func (m *ConnegService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ConnegService) Validate

func (m *ConnegService) Validate(formats strfmt.Registry) error

Validate validates this conneg service

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

func (m *Context) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this context based on the context it is used

func (*Context) MarshalBinary

func (m *Context) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Context) UnmarshalBinary

func (m *Context) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Context) Validate

func (m *Context) Validate(formats strfmt.Registry) error

Validate validates this context

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

func (m *ConverterService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ConverterService) Validate

func (m *ConverterService) Validate(formats strfmt.Registry) error

Validate validates this converter service

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

func (m *Cookie) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cookie based on context it is used

func (*Cookie) MarshalBinary

func (m *Cookie) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Cookie) UnmarshalBinary

func (m *Cookie) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cookie) Validate

func (m *Cookie) Validate(formats strfmt.Registry) error

Validate validates this cookie

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

func (m *CookieSetting) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CookieSetting) Validate

func (m *CookieSetting) Validate(formats strfmt.Registry) error

Validate validates this cookie setting

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

func (m *DecentralWebhook) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DecentralWebhook) Validate

func (m *DecentralWebhook) Validate(formats strfmt.Registry) error

Validate validates this decentral webhook

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

func (m *DecoderService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*DecoderService) Validate

func (m *DecoderService) Validate(formats strfmt.Registry) error

Validate validates this decoder service

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

func (m *Digest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this digest based on context it is used

func (*Digest) MarshalBinary

func (m *Digest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Digest) UnmarshalBinary

func (m *Digest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Digest) Validate

func (m *Digest) Validate(formats strfmt.Registry) error

Validate validates this digest

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

func (m *Disposition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Disposition) Validate

func (m *Disposition) Validate(formats strfmt.Registry) error

Validate validates this disposition

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

func (m *EncoderService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*EncoderService) Validate

func (m *EncoderService) Validate(formats strfmt.Registry) error

Validate validates this encoder service

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

func (m *Encoding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this encoding based on the context it is used

func (*Encoding) MarshalBinary

func (m *Encoding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Encoding) UnmarshalBinary

func (m *Encoding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Encoding) Validate

func (m *Encoding) Validate(formats strfmt.Registry) error

Validate validates this encoding

type Enroler

type Enroler interface{}

Enroler enroler

swagger:model Enroler

type Enumeration

type Enumeration interface{}

Enumeration enumeration

swagger:model Enumeration

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

func (m *Expectation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Expectation) Validate

func (m *Expectation) Validate(formats strfmt.Registry) error

Validate validates this expectation

type Filter

type Filter interface{}

Filter filter

swagger:model Filter

type Formatter

type Formatter interface{}

Formatter formatter

swagger:model Formatter

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

func (m *Handler) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this handler based on the context it is used

func (*Handler) MarshalBinary

func (m *Handler) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Handler) UnmarshalBinary

func (m *Handler) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Handler) Validate

func (m *Handler) Validate(formats strfmt.Registry) error

Validate validates this handler

type Header struct {

	// name
	Name string `json:"name,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

Header header

swagger:model Header

func (*Header) ContextValidate

func (m *Header) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this header based on context it is used

func (*Header) MarshalBinary

func (m *Header) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Header) UnmarshalBinary

func (m *Header) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Header) Validate

func (m *Header) Validate(formats strfmt.Registry) error

Validate validates this header

type InputStream

type InputStream interface{}

InputStream input stream

swagger:model InputStream

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

func (m *Language) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this language based on the context it is used

func (*Language) MarshalBinary

func (m *Language) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Language) UnmarshalBinary

func (m *Language) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Language) Validate

func (m *Language) Validate(formats strfmt.Registry) error

Validate validates this language

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

func (m *Level) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this level based on context it is used

func (*Level) MarshalBinary

func (m *Level) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Level) UnmarshalBinary

func (m *Level) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Level) Validate

func (m *Level) Validate(formats strfmt.Registry) error

Validate validates this level

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

func (m *Locale) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this locale based on context it is used

func (*Locale) MarshalBinary

func (m *Locale) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Locale) UnmarshalBinary

func (m *Locale) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Locale) Validate

func (m *Locale) Validate(formats strfmt.Registry) error

Validate validates this locale

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

func (m *Logger) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this logger based on the context it is used

func (*Logger) MarshalBinary

func (m *Logger) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Logger) UnmarshalBinary

func (m *Logger) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Logger) Validate

func (m *Logger) Validate(formats strfmt.Registry) error

Validate validates this logger

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

func (m *MediaType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this media type based on the context it is used

func (*MediaType) MarshalBinary

func (m *MediaType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MediaType) UnmarshalBinary

func (m *MediaType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MediaType) Validate

func (m *MediaType) Validate(formats strfmt.Registry) error

Validate validates this media type

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

func (m *Metadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metadata based on the context it is used

func (*Metadata) MarshalBinary

func (m *Metadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Metadata) UnmarshalBinary

func (m *Metadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Metadata) Validate

func (m *Metadata) Validate(formats strfmt.Registry) error

Validate validates this metadata

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

func (m *MetadataService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*MetadataService) Validate

func (m *MetadataService) Validate(formats strfmt.Registry) error

Validate validates this metadata service

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

func (m *Method) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this method based on context it is used

func (*Method) MarshalBinary

func (m *Method) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Method) UnmarshalBinary

func (m *Method) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Method) Validate

func (m *Method) Validate(formats strfmt.Registry) error

Validate validates this method

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

func (m *MyAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this my account based on the context it is used

func (*MyAccount) MarshalBinary

func (m *MyAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MyAccount) UnmarshalBinary

func (m *MyAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MyAccount) Validate

func (m *MyAccount) Validate(formats strfmt.Registry) error

Validate validates this my account

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

func (m *NamedValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NamedValue) Validate

func (m *NamedValue) Validate(formats strfmt.Registry) error

Validate validates this named value

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

func (m *NamedValueString) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NamedValueString) Validate

func (m *NamedValueString) Validate(formats strfmt.Registry) error

Validate validates this named value string

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

func (m *Notification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Notification) Validate

func (m *Notification) Validate(formats strfmt.Registry) error

Validate validates this notification

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

func (m *NotificationSetting) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*NotificationSetting) Validate

func (m *NotificationSetting) Validate(formats strfmt.Registry) error

Validate validates this notification setting

type ObjectID

type ObjectID string

ObjectID object Id

swagger:model ObjectId

func (ObjectID) ContextValidate

func (m ObjectID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object Id based on context it is used

func (ObjectID) Validate

func (m ObjectID) Validate(formats strfmt.Registry) error

Validate validates this object Id

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

func (m *OpenerIntercomBrand) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OpenerIntercomBrand) Validate

func (m *OpenerIntercomBrand) Validate(formats strfmt.Registry) error

Validate validates this opener intercom brand

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

func (m *OpenerIntercomModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OpenerIntercomModel) Validate

func (m *OpenerIntercomModel) Validate(formats strfmt.Registry) error

Validate validates this opener intercom model

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

func (m *Parameter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this parameter based on context it is used

func (*Parameter) MarshalBinary

func (m *Parameter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Parameter) UnmarshalBinary

func (m *Parameter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Parameter) Validate

func (m *Parameter) Validate(formats strfmt.Registry) error

Validate validates this parameter

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

func (m *Preference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Preference) Validate

func (m *Preference) Validate(formats strfmt.Registry) error

Validate validates this preference

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

func (*PreferenceCharacterSet) Validate

func (m *PreferenceCharacterSet) Validate(formats strfmt.Registry) error

Validate validates this preference character set

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

func (m *PreferenceEncoding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*PreferenceEncoding) Validate

func (m *PreferenceEncoding) Validate(formats strfmt.Registry) error

Validate validates this preference encoding

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

func (m *PreferenceLanguage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*PreferenceLanguage) Validate

func (m *PreferenceLanguage) Validate(formats strfmt.Registry) error

Validate validates this preference language

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

func (m *PreferenceMediaType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*PreferenceMediaType) Validate

func (m *PreferenceMediaType) Validate(formats strfmt.Registry) error

Validate validates this preference media type

type Principal

type Principal struct {

	// name
	Name string `json:"name,omitempty"`
}

Principal principal

swagger:model Principal

func (*Principal) ContextValidate

func (m *Principal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this principal based on context it is used

func (*Principal) MarshalBinary

func (m *Principal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary

func (m *Principal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Principal) Validate

func (m *Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

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

func (m *Product) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this product based on context it is used

func (*Product) MarshalBinary

func (m *Product) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Product) UnmarshalBinary

func (m *Product) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Product) Validate

func (m *Product) Validate(formats strfmt.Registry) error

Validate validates this product

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

func (m *Protocol) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protocol based on context it is used

func (*Protocol) MarshalBinary

func (m *Protocol) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Protocol) UnmarshalBinary

func (m *Protocol) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Protocol) Validate

func (m *Protocol) Validate(formats strfmt.Registry) error

Validate validates this protocol

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

func (m *PublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this public key based on context it is used

func (*PublicKey) MarshalBinary

func (m *PublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicKey) UnmarshalBinary

func (m *PublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicKey) Validate

func (m *PublicKey) Validate(formats strfmt.Registry) error

Validate validates this public key

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

func (m *Range) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this range based on context it is used

func (*Range) MarshalBinary

func (m *Range) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Range) UnmarshalBinary

func (m *Range) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Range) Validate

func (m *Range) Validate(formats strfmt.Registry) error

Validate validates this range

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

func (m *RangeService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*RangeService) Validate

func (m *RangeService) Validate(formats strfmt.Registry) error

Validate validates this range service

type ReadableByteChannel

type ReadableByteChannel struct {

	// open
	Open bool `json:"open,omitempty"`
}

ReadableByteChannel readable byte channel

swagger:model ReadableByteChannel

func (*ReadableByteChannel) ContextValidate

func (m *ReadableByteChannel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ReadableByteChannel) Validate

func (m *ReadableByteChannel) Validate(formats strfmt.Registry) error

Validate validates this readable byte channel

type Reader

type Reader interface{}

Reader reader

swagger:model Reader

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

func (m *RecipientInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*RecipientInfo) Validate

func (m *RecipientInfo) Validate(formats strfmt.Registry) error

Validate validates this recipient info

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

func (m *Reference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reference based on the context it is used

func (*Reference) MarshalBinary

func (m *Reference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Reference) UnmarshalBinary

func (m *Reference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Reference) Validate

func (m *Reference) Validate(formats strfmt.Registry) error

Validate validates this reference

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

func (m *Representation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Representation) Validate

func (m *Representation) Validate(formats strfmt.Registry) error

Validate validates this representation

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

func (m *Request) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this request based on the context it is used

func (*Request) MarshalBinary

func (m *Request) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Request) UnmarshalBinary

func (m *Request) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Request) Validate

func (m *Request) Validate(formats strfmt.Registry) error

Validate validates this request

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

func (*ReservationAccessTimesUpdate) Validate

func (m *ReservationAccessTimesUpdate) Validate(formats strfmt.Registry) error

Validate validates this reservation access times update

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

func (m *ResourceBundle) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ResourceBundle) Validate

func (m *ResourceBundle) Validate(formats strfmt.Registry) error

Validate validates this resource bundle

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

func (m *Response) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response based on the context it is used

func (*Response) MarshalBinary

func (m *Response) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Response) UnmarshalBinary

func (m *Response) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Response) Validate

func (m *Response) Validate(formats strfmt.Registry) error

Validate validates this response

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

func (m *Restlet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this restlet based on the context it is used

func (*Restlet) MarshalBinary

func (m *Restlet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Restlet) UnmarshalBinary

func (m *Restlet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Restlet) Validate

func (m *Restlet) Validate(formats strfmt.Registry) error

Validate validates this restlet

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

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

func (*Role) MarshalBinary

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

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

func (*ScheduledExecutorService) Validate

func (m *ScheduledExecutorService) Validate(formats strfmt.Registry) error

Validate validates this scheduled executor service

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

func (m *SelectableChannel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SelectableChannel) Validate

func (m *SelectableChannel) Validate(formats strfmt.Registry) error

Validate validates this selectable channel

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

func (m *SelectionRegistration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SelectionRegistration) Validate

func (m *SelectionRegistration) Validate(formats strfmt.Registry) error

Validate validates this selection registration

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

func (m *ServerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ServerInfo) Validate

func (m *ServerInfo) Validate(formats strfmt.Registry) error

Validate validates this server info

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

func (m *Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service based on the context it is used

func (*Service) MarshalBinary

func (m *Service) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

func (m *Service) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Service) Validate

func (m *Service) Validate(formats strfmt.Registry) error

Validate validates this service

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

func (m *ShsSubscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ShsSubscription) Validate

func (m *ShsSubscription) Validate(formats strfmt.Registry) error

Validate validates this shs subscription

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

func (m *Smartlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this smartlock based on the context it is used

func (*Smartlock) MarshalBinary

func (m *Smartlock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Smartlock) UnmarshalBinary

func (m *Smartlock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Smartlock) Validate

func (m *Smartlock) Validate(formats strfmt.Registry) error

Validate validates this smartlock

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

func (m *SmartlockAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockAction) Validate

func (m *SmartlockAction) Validate(formats strfmt.Registry) error

Validate validates this smartlock action

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

func (*SmartlockAdminPinUpdate) Validate

func (m *SmartlockAdminPinUpdate) Validate(formats strfmt.Registry) error

Validate validates this smartlock admin pin update

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

func (*SmartlockAdvancedConfig) Validate

func (m *SmartlockAdvancedConfig) Validate(formats strfmt.Registry) error

Validate validates this smartlock advanced config

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

func (m *SmartlockAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockAuth) Validate

func (m *SmartlockAuth) Validate(formats strfmt.Registry) error

Validate validates this smartlock auth

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

func (m *SmartlockAuthCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockAuthCreate) Validate

func (m *SmartlockAuthCreate) Validate(formats strfmt.Registry) error

Validate validates this smartlock auth create

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

func (*SmartlockAuthMultiUpdate) Validate

func (m *SmartlockAuthMultiUpdate) Validate(formats strfmt.Registry) error

Validate validates this smartlock auth multi update

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

func (m *SmartlockAuthUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockAuthUpdate) Validate

func (m *SmartlockAuthUpdate) Validate(formats strfmt.Registry) error

Validate validates this smartlock auth update

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

func (m *SmartlockConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockConfig) Validate

func (m *SmartlockConfig) Validate(formats strfmt.Registry) error

Validate validates this smartlock config

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

func (m *SmartlockLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockLog) Validate

func (m *SmartlockLog) Validate(formats strfmt.Registry) error

Validate validates this smartlock log

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

func (m *SmartlockLogOpenerLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockLogOpenerLog) Validate

func (m *SmartlockLogOpenerLog) Validate(formats strfmt.Registry) error

Validate validates this smartlock log opener log

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

func (*SmartlockOpenerAdvancedConfig) Validate

func (m *SmartlockOpenerAdvancedConfig) Validate(formats strfmt.Registry) error

Validate validates this smartlock opener advanced config

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

func (*SmartlockSmartdoorAdvancedConfig) Validate

Validate validates this smartlock smartdoor advanced config

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

func (m *SmartlockState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockState) Validate

func (m *SmartlockState) Validate(formats strfmt.Registry) error

Validate validates this smartlock state

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

func (m *SmartlockUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockUpdate) Validate

func (m *SmartlockUpdate) Validate(formats strfmt.Registry) error

Validate validates this smartlock update

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

func (m *SmartlockWebConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlockWebConfig) Validate

func (m *SmartlockWebConfig) Validate(formats strfmt.Registry) error

Validate validates this smartlock web config

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

func (*SmartlocksAuthAdvancedCreate) Validate

func (m *SmartlocksAuthAdvancedCreate) Validate(formats strfmt.Registry) error

Validate validates this smartlocks auth advanced create

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

func (m *SmartlocksAuthCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SmartlocksAuthCreate) Validate

func (m *SmartlocksAuthCreate) Validate(formats strfmt.Registry) error

Validate validates this smartlocks auth create

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

func (m *StackTraceElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*StackTraceElement) Validate

func (m *StackTraceElement) Validate(formats strfmt.Registry) error

Validate validates this stack trace element

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

func (m *StaleDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*StaleDevice) Validate

func (m *StaleDevice) Validate(formats strfmt.Registry) error

Validate validates this stale device

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

func (m *Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this status based on the context it is used

func (*Status) MarshalBinary

func (m *Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Status) UnmarshalBinary

func (m *Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Status) Validate

func (m *Status) Validate(formats strfmt.Registry) error

Validate validates this status

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

func (m *StatusService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*StatusService) Validate

func (m *StatusService) Validate(formats strfmt.Registry) error

Validate validates this status service

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

func (m *Subscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Subscription) Validate

func (m *Subscription) Validate(formats strfmt.Registry) error

Validate validates this subscription

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

func (m *Tag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag based on context it is used

func (*Tag) MarshalBinary

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

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

func (m *TaskService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TaskService) Validate

func (m *TaskService) Validate(formats strfmt.Registry) error

Validate validates this task service

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

func (m *TermsOfUse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TermsOfUse) Validate

func (m *TermsOfUse) Validate(formats strfmt.Registry) error

Validate validates this terms of use

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

func (m *Throwable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this throwable based on the context it is used

func (*Throwable) MarshalBinary

func (m *Throwable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Throwable) UnmarshalBinary

func (m *Throwable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Throwable) Validate

func (m *Throwable) Validate(formats strfmt.Registry) error

Validate validates this throwable

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

func (m *TunnelService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TunnelService) Validate

func (m *TunnelService) Validate(formats strfmt.Registry) error

Validate validates this tunnel service

type Uniform

type Uniform interface{}

Uniform uniform

swagger:model Uniform

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

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user based on context it is used

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

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

func (m *Variant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this variant based on the context it is used

func (*Variant) MarshalBinary

func (m *Variant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Variant) UnmarshalBinary

func (m *Variant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Variant) Validate

func (m *Variant) Validate(formats strfmt.Registry) error

Validate validates this variant

type Verifier

type Verifier interface{}

Verifier verifier

swagger:model Verifier

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

func (m *Warning) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this warning based on the context it is used

func (*Warning) MarshalBinary

func (m *Warning) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Warning) UnmarshalBinary

func (m *Warning) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Warning) Validate

func (m *Warning) Validate(formats strfmt.Registry) error

Validate validates this warning

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

func (m *WebConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*WebConfigRequest) Validate

func (m *WebConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this web config request

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

func (m *WebhookLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*WebhookLog) Validate

func (m *WebhookLog) Validate(formats strfmt.Registry) error

Validate validates this webhook log

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

func (m *WebhookMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*WebhookMessage) Validate

func (m *WebhookMessage) Validate(formats strfmt.Registry) error

Validate validates this webhook message

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL