Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SmartdoorAdvancedConfigResourcePostPost(params *SmartdoorAdvancedConfigResourcePostPostParams, ...) (*SmartdoorAdvancedConfigResourcePostPostNoContent, error)
- func (a *Client) SmartlockActionResourcePostPost(params *SmartlockActionResourcePostPostParams, ...) (*SmartlockActionResourcePostPostNoContent, error)
- func (a *Client) SmartlockAdminPinResourcePostPost(params *SmartlockAdminPinResourcePostPostParams, ...) (*SmartlockAdminPinResourcePostPostNoContent, error)
- func (a *Client) SmartlockAdvancedConfigResourcePostPost(params *SmartlockAdvancedConfigResourcePostPostParams, ...) (*SmartlockAdvancedConfigResourcePostPostNoContent, error)
- func (a *Client) SmartlockBulkWebConfigResourcePostPost(params *SmartlockBulkWebConfigResourcePostPostParams, ...) (*SmartlockBulkWebConfigResourcePostPostNoContent, error)
- func (a *Client) SmartlockConfigResourcePostPost(params *SmartlockConfigResourcePostPostParams, ...) (*SmartlockConfigResourcePostPostNoContent, error)
- func (a *Client) SmartlockLockActionResourcePostLockPost(params *SmartlockLockActionResourcePostLockPostParams, ...) (*SmartlockLockActionResourcePostLockPostNoContent, error)
- func (a *Client) SmartlockOpenerAdvancedConfigResourcePostPost(params *SmartlockOpenerAdvancedConfigResourcePostPostParams, ...) (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent, error)
- func (a *Client) SmartlockResourceDeleteDelete(params *SmartlockResourceDeleteDeleteParams, ...) (*SmartlockResourceDeleteDeleteNoContent, error)
- func (a *Client) SmartlockResourceGetGet(params *SmartlockResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SmartlockResourceGetGetOK, error)
- func (a *Client) SmartlockResourcePostPost(params *SmartlockResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SmartlockResourcePostPostNoContent, error)
- func (a *Client) SmartlockSyncResourcePostPost(params *SmartlockSyncResourcePostPostParams, ...) (*SmartlockSyncResourcePostPostNoContent, error)
- func (a *Client) SmartlockUnlockActionResourcePostUnlockPost(params *SmartlockUnlockActionResourcePostUnlockPostParams, ...) (*SmartlockUnlockActionResourcePostUnlockPostNoContent, error)
- func (a *Client) SmartlockWebConfigResourcePostPost(params *SmartlockWebConfigResourcePostPostParams, ...) (*SmartlockWebConfigResourcePostPostNoContent, error)
- func (a *Client) SmartlocksResourceGetGet(params *SmartlocksResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SmartlocksResourceGetGetOK, error)
- type ClientOption
- type ClientService
- type SmartdoorAdvancedConfigResourcePostPostBadRequest
- func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) Code() int
- func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) Error() string
- func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) String() string
- type SmartdoorAdvancedConfigResourcePostPostNoContent
- func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) Code() int
- func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) Error() string
- func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsClientError() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsServerError() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) String() string
- type SmartdoorAdvancedConfigResourcePostPostParams
- func NewSmartdoorAdvancedConfigResourcePostPostParams() *SmartdoorAdvancedConfigResourcePostPostParams
- func NewSmartdoorAdvancedConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartdoorAdvancedConfigResourcePostPostParams
- func NewSmartdoorAdvancedConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartdoorAdvancedConfigResourcePostPostParams
- func NewSmartdoorAdvancedConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartdoorAdvancedConfigResourcePostPostParams
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetBody(body *models.SmartlockSmartdoorAdvancedConfig)
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetDefaults()
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithBody(body *models.SmartlockSmartdoorAdvancedConfig) *SmartdoorAdvancedConfigResourcePostPostParams
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartdoorAdvancedConfigResourcePostPostParams
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithDefaults() *SmartdoorAdvancedConfigResourcePostPostParams
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartdoorAdvancedConfigResourcePostPostParams
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartdoorAdvancedConfigResourcePostPostParams
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartdoorAdvancedConfigResourcePostPostParams
- func (o *SmartdoorAdvancedConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartdoorAdvancedConfigResourcePostPostReader
- type SmartdoorAdvancedConfigResourcePostPostUnauthorized
- func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) Code() int
- func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) Error() string
- func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) String() string
- type SmartlockActionResourcePostPostBadRequest
- func (o *SmartlockActionResourcePostPostBadRequest) Code() int
- func (o *SmartlockActionResourcePostPostBadRequest) Error() string
- func (o *SmartlockActionResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockActionResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockActionResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockActionResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockActionResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockActionResourcePostPostBadRequest) String() string
- type SmartlockActionResourcePostPostNoContent
- func (o *SmartlockActionResourcePostPostNoContent) Code() int
- func (o *SmartlockActionResourcePostPostNoContent) Error() string
- func (o *SmartlockActionResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockActionResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockActionResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockActionResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockActionResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockActionResourcePostPostNoContent) String() string
- type SmartlockActionResourcePostPostParams
- func NewSmartlockActionResourcePostPostParams() *SmartlockActionResourcePostPostParams
- func NewSmartlockActionResourcePostPostParamsWithContext(ctx context.Context) *SmartlockActionResourcePostPostParams
- func NewSmartlockActionResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockActionResourcePostPostParams
- func NewSmartlockActionResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockActionResourcePostPostParams
- func (o *SmartlockActionResourcePostPostParams) SetBody(body *models.SmartlockAction)
- func (o *SmartlockActionResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockActionResourcePostPostParams) SetDefaults()
- func (o *SmartlockActionResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockActionResourcePostPostParams) SetSmartlockID(smartlockID string)
- func (o *SmartlockActionResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockActionResourcePostPostParams) WithBody(body *models.SmartlockAction) *SmartlockActionResourcePostPostParams
- func (o *SmartlockActionResourcePostPostParams) WithContext(ctx context.Context) *SmartlockActionResourcePostPostParams
- func (o *SmartlockActionResourcePostPostParams) WithDefaults() *SmartlockActionResourcePostPostParams
- func (o *SmartlockActionResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockActionResourcePostPostParams
- func (o *SmartlockActionResourcePostPostParams) WithSmartlockID(smartlockID string) *SmartlockActionResourcePostPostParams
- func (o *SmartlockActionResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockActionResourcePostPostParams
- func (o *SmartlockActionResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockActionResourcePostPostPaymentRequired
- func (o *SmartlockActionResourcePostPostPaymentRequired) Code() int
- func (o *SmartlockActionResourcePostPostPaymentRequired) Error() string
- func (o *SmartlockActionResourcePostPostPaymentRequired) IsClientError() bool
- func (o *SmartlockActionResourcePostPostPaymentRequired) IsCode(code int) bool
- func (o *SmartlockActionResourcePostPostPaymentRequired) IsRedirect() bool
- func (o *SmartlockActionResourcePostPostPaymentRequired) IsServerError() bool
- func (o *SmartlockActionResourcePostPostPaymentRequired) IsSuccess() bool
- func (o *SmartlockActionResourcePostPostPaymentRequired) String() string
- type SmartlockActionResourcePostPostReader
- type SmartlockActionResourcePostPostUnauthorized
- func (o *SmartlockActionResourcePostPostUnauthorized) Code() int
- func (o *SmartlockActionResourcePostPostUnauthorized) Error() string
- func (o *SmartlockActionResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockActionResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockActionResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockActionResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockActionResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockActionResourcePostPostUnauthorized) String() string
- type SmartlockAdminPinResourcePostPostBadRequest
- func (o *SmartlockAdminPinResourcePostPostBadRequest) Code() int
- func (o *SmartlockAdminPinResourcePostPostBadRequest) Error() string
- func (o *SmartlockAdminPinResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockAdminPinResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockAdminPinResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockAdminPinResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockAdminPinResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockAdminPinResourcePostPostBadRequest) String() string
- type SmartlockAdminPinResourcePostPostNoContent
- func (o *SmartlockAdminPinResourcePostPostNoContent) Code() int
- func (o *SmartlockAdminPinResourcePostPostNoContent) Error() string
- func (o *SmartlockAdminPinResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockAdminPinResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockAdminPinResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockAdminPinResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockAdminPinResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockAdminPinResourcePostPostNoContent) String() string
- type SmartlockAdminPinResourcePostPostParams
- func NewSmartlockAdminPinResourcePostPostParams() *SmartlockAdminPinResourcePostPostParams
- func NewSmartlockAdminPinResourcePostPostParamsWithContext(ctx context.Context) *SmartlockAdminPinResourcePostPostParams
- func NewSmartlockAdminPinResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockAdminPinResourcePostPostParams
- func NewSmartlockAdminPinResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockAdminPinResourcePostPostParams
- func (o *SmartlockAdminPinResourcePostPostParams) SetBody(body *models.SmartlockAdminPinUpdate)
- func (o *SmartlockAdminPinResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockAdminPinResourcePostPostParams) SetDefaults()
- func (o *SmartlockAdminPinResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockAdminPinResourcePostPostParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockAdminPinResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockAdminPinResourcePostPostParams) WithBody(body *models.SmartlockAdminPinUpdate) *SmartlockAdminPinResourcePostPostParams
- func (o *SmartlockAdminPinResourcePostPostParams) WithContext(ctx context.Context) *SmartlockAdminPinResourcePostPostParams
- func (o *SmartlockAdminPinResourcePostPostParams) WithDefaults() *SmartlockAdminPinResourcePostPostParams
- func (o *SmartlockAdminPinResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockAdminPinResourcePostPostParams
- func (o *SmartlockAdminPinResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockAdminPinResourcePostPostParams
- func (o *SmartlockAdminPinResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockAdminPinResourcePostPostParams
- func (o *SmartlockAdminPinResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockAdminPinResourcePostPostReader
- type SmartlockAdminPinResourcePostPostUnauthorized
- func (o *SmartlockAdminPinResourcePostPostUnauthorized) Code() int
- func (o *SmartlockAdminPinResourcePostPostUnauthorized) Error() string
- func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockAdminPinResourcePostPostUnauthorized) String() string
- type SmartlockAdvancedConfigResourcePostPostBadRequest
- func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) Code() int
- func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) Error() string
- func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) String() string
- type SmartlockAdvancedConfigResourcePostPostNoContent
- func (o *SmartlockAdvancedConfigResourcePostPostNoContent) Code() int
- func (o *SmartlockAdvancedConfigResourcePostPostNoContent) Error() string
- func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockAdvancedConfigResourcePostPostNoContent) String() string
- type SmartlockAdvancedConfigResourcePostPostParams
- func NewSmartlockAdvancedConfigResourcePostPostParams() *SmartlockAdvancedConfigResourcePostPostParams
- func NewSmartlockAdvancedConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockAdvancedConfigResourcePostPostParams
- func NewSmartlockAdvancedConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockAdvancedConfigResourcePostPostParams
- func NewSmartlockAdvancedConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockAdvancedConfigResourcePostPostParams
- func (o *SmartlockAdvancedConfigResourcePostPostParams) SetBody(body *models.SmartlockAdvancedConfig)
- func (o *SmartlockAdvancedConfigResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockAdvancedConfigResourcePostPostParams) SetDefaults()
- func (o *SmartlockAdvancedConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockAdvancedConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockAdvancedConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockAdvancedConfigResourcePostPostParams) WithBody(body *models.SmartlockAdvancedConfig) *SmartlockAdvancedConfigResourcePostPostParams
- func (o *SmartlockAdvancedConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockAdvancedConfigResourcePostPostParams
- func (o *SmartlockAdvancedConfigResourcePostPostParams) WithDefaults() *SmartlockAdvancedConfigResourcePostPostParams
- func (o *SmartlockAdvancedConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockAdvancedConfigResourcePostPostParams
- func (o *SmartlockAdvancedConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockAdvancedConfigResourcePostPostParams
- func (o *SmartlockAdvancedConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockAdvancedConfigResourcePostPostParams
- func (o *SmartlockAdvancedConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockAdvancedConfigResourcePostPostReader
- type SmartlockAdvancedConfigResourcePostPostUnauthorized
- func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) Code() int
- func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) Error() string
- func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) String() string
- type SmartlockBulkWebConfigResourcePostPostBadRequest
- func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) Code() int
- func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) Error() string
- func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) String() string
- type SmartlockBulkWebConfigResourcePostPostNoContent
- func (o *SmartlockBulkWebConfigResourcePostPostNoContent) Code() int
- func (o *SmartlockBulkWebConfigResourcePostPostNoContent) Error() string
- func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockBulkWebConfigResourcePostPostNoContent) String() string
- type SmartlockBulkWebConfigResourcePostPostParams
- func NewSmartlockBulkWebConfigResourcePostPostParams() *SmartlockBulkWebConfigResourcePostPostParams
- func NewSmartlockBulkWebConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockBulkWebConfigResourcePostPostParams
- func NewSmartlockBulkWebConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockBulkWebConfigResourcePostPostParams
- func NewSmartlockBulkWebConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockBulkWebConfigResourcePostPostParams
- func (o *SmartlockBulkWebConfigResourcePostPostParams) SetBody(body *models.BulkWebConfigRequest)
- func (o *SmartlockBulkWebConfigResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockBulkWebConfigResourcePostPostParams) SetDefaults()
- func (o *SmartlockBulkWebConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockBulkWebConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockBulkWebConfigResourcePostPostParams) WithBody(body *models.BulkWebConfigRequest) *SmartlockBulkWebConfigResourcePostPostParams
- func (o *SmartlockBulkWebConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockBulkWebConfigResourcePostPostParams
- func (o *SmartlockBulkWebConfigResourcePostPostParams) WithDefaults() *SmartlockBulkWebConfigResourcePostPostParams
- func (o *SmartlockBulkWebConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockBulkWebConfigResourcePostPostParams
- func (o *SmartlockBulkWebConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockBulkWebConfigResourcePostPostParams
- func (o *SmartlockBulkWebConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockBulkWebConfigResourcePostPostReader
- type SmartlockBulkWebConfigResourcePostPostUnauthorized
- func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) Code() int
- func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) Error() string
- func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) String() string
- type SmartlockConfigResourcePostPostBadRequest
- func (o *SmartlockConfigResourcePostPostBadRequest) Code() int
- func (o *SmartlockConfigResourcePostPostBadRequest) Error() string
- func (o *SmartlockConfigResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockConfigResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockConfigResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockConfigResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockConfigResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockConfigResourcePostPostBadRequest) String() string
- type SmartlockConfigResourcePostPostNoContent
- func (o *SmartlockConfigResourcePostPostNoContent) Code() int
- func (o *SmartlockConfigResourcePostPostNoContent) Error() string
- func (o *SmartlockConfigResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockConfigResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockConfigResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockConfigResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockConfigResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockConfigResourcePostPostNoContent) String() string
- type SmartlockConfigResourcePostPostParams
- func NewSmartlockConfigResourcePostPostParams() *SmartlockConfigResourcePostPostParams
- func NewSmartlockConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockConfigResourcePostPostParams
- func NewSmartlockConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockConfigResourcePostPostParams
- func NewSmartlockConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockConfigResourcePostPostParams
- func (o *SmartlockConfigResourcePostPostParams) SetBody(body *models.SmartlockConfig)
- func (o *SmartlockConfigResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockConfigResourcePostPostParams) SetDefaults()
- func (o *SmartlockConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockConfigResourcePostPostParams) WithBody(body *models.SmartlockConfig) *SmartlockConfigResourcePostPostParams
- func (o *SmartlockConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockConfigResourcePostPostParams
- func (o *SmartlockConfigResourcePostPostParams) WithDefaults() *SmartlockConfigResourcePostPostParams
- func (o *SmartlockConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockConfigResourcePostPostParams
- func (o *SmartlockConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockConfigResourcePostPostParams
- func (o *SmartlockConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockConfigResourcePostPostParams
- func (o *SmartlockConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockConfigResourcePostPostReader
- type SmartlockConfigResourcePostPostUnauthorized
- func (o *SmartlockConfigResourcePostPostUnauthorized) Code() int
- func (o *SmartlockConfigResourcePostPostUnauthorized) Error() string
- func (o *SmartlockConfigResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockConfigResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockConfigResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockConfigResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockConfigResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockConfigResourcePostPostUnauthorized) String() string
- type SmartlockLockActionResourcePostLockPostBadRequest
- func (o *SmartlockLockActionResourcePostLockPostBadRequest) Code() int
- func (o *SmartlockLockActionResourcePostLockPostBadRequest) Error() string
- func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsClientError() bool
- func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsCode(code int) bool
- func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsRedirect() bool
- func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsServerError() bool
- func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsSuccess() bool
- func (o *SmartlockLockActionResourcePostLockPostBadRequest) String() string
- type SmartlockLockActionResourcePostLockPostMethodNotAllowed
- func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) Code() int
- func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) Error() string
- func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsClientError() bool
- func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsCode(code int) bool
- func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsRedirect() bool
- func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsServerError() bool
- func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsSuccess() bool
- func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) String() string
- type SmartlockLockActionResourcePostLockPostNoContent
- func (o *SmartlockLockActionResourcePostLockPostNoContent) Code() int
- func (o *SmartlockLockActionResourcePostLockPostNoContent) Error() string
- func (o *SmartlockLockActionResourcePostLockPostNoContent) IsClientError() bool
- func (o *SmartlockLockActionResourcePostLockPostNoContent) IsCode(code int) bool
- func (o *SmartlockLockActionResourcePostLockPostNoContent) IsRedirect() bool
- func (o *SmartlockLockActionResourcePostLockPostNoContent) IsServerError() bool
- func (o *SmartlockLockActionResourcePostLockPostNoContent) IsSuccess() bool
- func (o *SmartlockLockActionResourcePostLockPostNoContent) String() string
- type SmartlockLockActionResourcePostLockPostParams
- func NewSmartlockLockActionResourcePostLockPostParams() *SmartlockLockActionResourcePostLockPostParams
- func NewSmartlockLockActionResourcePostLockPostParamsWithContext(ctx context.Context) *SmartlockLockActionResourcePostLockPostParams
- func NewSmartlockLockActionResourcePostLockPostParamsWithHTTPClient(client *http.Client) *SmartlockLockActionResourcePostLockPostParams
- func NewSmartlockLockActionResourcePostLockPostParamsWithTimeout(timeout time.Duration) *SmartlockLockActionResourcePostLockPostParams
- func (o *SmartlockLockActionResourcePostLockPostParams) SetContext(ctx context.Context)
- func (o *SmartlockLockActionResourcePostLockPostParams) SetDefaults()
- func (o *SmartlockLockActionResourcePostLockPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockLockActionResourcePostLockPostParams) SetSmartlockID(smartlockID string)
- func (o *SmartlockLockActionResourcePostLockPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockLockActionResourcePostLockPostParams) WithContext(ctx context.Context) *SmartlockLockActionResourcePostLockPostParams
- func (o *SmartlockLockActionResourcePostLockPostParams) WithDefaults() *SmartlockLockActionResourcePostLockPostParams
- func (o *SmartlockLockActionResourcePostLockPostParams) WithHTTPClient(client *http.Client) *SmartlockLockActionResourcePostLockPostParams
- func (o *SmartlockLockActionResourcePostLockPostParams) WithSmartlockID(smartlockID string) *SmartlockLockActionResourcePostLockPostParams
- func (o *SmartlockLockActionResourcePostLockPostParams) WithTimeout(timeout time.Duration) *SmartlockLockActionResourcePostLockPostParams
- func (o *SmartlockLockActionResourcePostLockPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockLockActionResourcePostLockPostReader
- type SmartlockLockActionResourcePostLockPostUnauthorized
- func (o *SmartlockLockActionResourcePostLockPostUnauthorized) Code() int
- func (o *SmartlockLockActionResourcePostLockPostUnauthorized) Error() string
- func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsClientError() bool
- func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsRedirect() bool
- func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsServerError() bool
- func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsSuccess() bool
- func (o *SmartlockLockActionResourcePostLockPostUnauthorized) String() string
- type SmartlockOpenerAdvancedConfigResourcePostPostBadRequest
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) Code() int
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) Error() string
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) String() string
- type SmartlockOpenerAdvancedConfigResourcePostPostNoContent
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) Code() int
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) Error() string
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) String() string
- type SmartlockOpenerAdvancedConfigResourcePostPostParams
- func NewSmartlockOpenerAdvancedConfigResourcePostPostParams() *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetBody(body *models.SmartlockOpenerAdvancedConfig)
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetDefaults()
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithBody(body *models.SmartlockOpenerAdvancedConfig) *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithDefaults() *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockOpenerAdvancedConfigResourcePostPostParams
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockOpenerAdvancedConfigResourcePostPostReader
- type SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) Code() int
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) Error() string
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) String() string
- type SmartlockResourceDeleteDeleteBadRequest
- func (o *SmartlockResourceDeleteDeleteBadRequest) Code() int
- func (o *SmartlockResourceDeleteDeleteBadRequest) Error() string
- func (o *SmartlockResourceDeleteDeleteBadRequest) IsClientError() bool
- func (o *SmartlockResourceDeleteDeleteBadRequest) IsCode(code int) bool
- func (o *SmartlockResourceDeleteDeleteBadRequest) IsRedirect() bool
- func (o *SmartlockResourceDeleteDeleteBadRequest) IsServerError() bool
- func (o *SmartlockResourceDeleteDeleteBadRequest) IsSuccess() bool
- func (o *SmartlockResourceDeleteDeleteBadRequest) String() string
- type SmartlockResourceDeleteDeleteForbidden
- func (o *SmartlockResourceDeleteDeleteForbidden) Code() int
- func (o *SmartlockResourceDeleteDeleteForbidden) Error() string
- func (o *SmartlockResourceDeleteDeleteForbidden) IsClientError() bool
- func (o *SmartlockResourceDeleteDeleteForbidden) IsCode(code int) bool
- func (o *SmartlockResourceDeleteDeleteForbidden) IsRedirect() bool
- func (o *SmartlockResourceDeleteDeleteForbidden) IsServerError() bool
- func (o *SmartlockResourceDeleteDeleteForbidden) IsSuccess() bool
- func (o *SmartlockResourceDeleteDeleteForbidden) String() string
- type SmartlockResourceDeleteDeleteNoContent
- func (o *SmartlockResourceDeleteDeleteNoContent) Code() int
- func (o *SmartlockResourceDeleteDeleteNoContent) Error() string
- func (o *SmartlockResourceDeleteDeleteNoContent) IsClientError() bool
- func (o *SmartlockResourceDeleteDeleteNoContent) IsCode(code int) bool
- func (o *SmartlockResourceDeleteDeleteNoContent) IsRedirect() bool
- func (o *SmartlockResourceDeleteDeleteNoContent) IsServerError() bool
- func (o *SmartlockResourceDeleteDeleteNoContent) IsSuccess() bool
- func (o *SmartlockResourceDeleteDeleteNoContent) String() string
- type SmartlockResourceDeleteDeleteParams
- func NewSmartlockResourceDeleteDeleteParams() *SmartlockResourceDeleteDeleteParams
- func NewSmartlockResourceDeleteDeleteParamsWithContext(ctx context.Context) *SmartlockResourceDeleteDeleteParams
- func NewSmartlockResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *SmartlockResourceDeleteDeleteParams
- func NewSmartlockResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *SmartlockResourceDeleteDeleteParams
- func (o *SmartlockResourceDeleteDeleteParams) SetContext(ctx context.Context)
- func (o *SmartlockResourceDeleteDeleteParams) SetDefaults()
- func (o *SmartlockResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockResourceDeleteDeleteParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockResourceDeleteDeleteParams) WithContext(ctx context.Context) *SmartlockResourceDeleteDeleteParams
- func (o *SmartlockResourceDeleteDeleteParams) WithDefaults() *SmartlockResourceDeleteDeleteParams
- func (o *SmartlockResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *SmartlockResourceDeleteDeleteParams
- func (o *SmartlockResourceDeleteDeleteParams) WithSmartlockID(smartlockID int64) *SmartlockResourceDeleteDeleteParams
- func (o *SmartlockResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *SmartlockResourceDeleteDeleteParams
- func (o *SmartlockResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockResourceDeleteDeleteReader
- type SmartlockResourceDeleteDeleteUnauthorized
- func (o *SmartlockResourceDeleteDeleteUnauthorized) Code() int
- func (o *SmartlockResourceDeleteDeleteUnauthorized) Error() string
- func (o *SmartlockResourceDeleteDeleteUnauthorized) IsClientError() bool
- func (o *SmartlockResourceDeleteDeleteUnauthorized) IsCode(code int) bool
- func (o *SmartlockResourceDeleteDeleteUnauthorized) IsRedirect() bool
- func (o *SmartlockResourceDeleteDeleteUnauthorized) IsServerError() bool
- func (o *SmartlockResourceDeleteDeleteUnauthorized) IsSuccess() bool
- func (o *SmartlockResourceDeleteDeleteUnauthorized) String() string
- type SmartlockResourceGetGetForbidden
- func (o *SmartlockResourceGetGetForbidden) Code() int
- func (o *SmartlockResourceGetGetForbidden) Error() string
- func (o *SmartlockResourceGetGetForbidden) IsClientError() bool
- func (o *SmartlockResourceGetGetForbidden) IsCode(code int) bool
- func (o *SmartlockResourceGetGetForbidden) IsRedirect() bool
- func (o *SmartlockResourceGetGetForbidden) IsServerError() bool
- func (o *SmartlockResourceGetGetForbidden) IsSuccess() bool
- func (o *SmartlockResourceGetGetForbidden) String() string
- type SmartlockResourceGetGetNotFound
- func (o *SmartlockResourceGetGetNotFound) Code() int
- func (o *SmartlockResourceGetGetNotFound) Error() string
- func (o *SmartlockResourceGetGetNotFound) IsClientError() bool
- func (o *SmartlockResourceGetGetNotFound) IsCode(code int) bool
- func (o *SmartlockResourceGetGetNotFound) IsRedirect() bool
- func (o *SmartlockResourceGetGetNotFound) IsServerError() bool
- func (o *SmartlockResourceGetGetNotFound) IsSuccess() bool
- func (o *SmartlockResourceGetGetNotFound) String() string
- type SmartlockResourceGetGetOK
- func (o *SmartlockResourceGetGetOK) Code() int
- func (o *SmartlockResourceGetGetOK) Error() string
- func (o *SmartlockResourceGetGetOK) GetPayload() *models.Smartlock
- func (o *SmartlockResourceGetGetOK) IsClientError() bool
- func (o *SmartlockResourceGetGetOK) IsCode(code int) bool
- func (o *SmartlockResourceGetGetOK) IsRedirect() bool
- func (o *SmartlockResourceGetGetOK) IsServerError() bool
- func (o *SmartlockResourceGetGetOK) IsSuccess() bool
- func (o *SmartlockResourceGetGetOK) String() string
- type SmartlockResourceGetGetParams
- func NewSmartlockResourceGetGetParams() *SmartlockResourceGetGetParams
- func NewSmartlockResourceGetGetParamsWithContext(ctx context.Context) *SmartlockResourceGetGetParams
- func NewSmartlockResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlockResourceGetGetParams
- func NewSmartlockResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlockResourceGetGetParams
- func (o *SmartlockResourceGetGetParams) SetContext(ctx context.Context)
- func (o *SmartlockResourceGetGetParams) SetDefaults()
- func (o *SmartlockResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockResourceGetGetParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockResourceGetGetParams) WithContext(ctx context.Context) *SmartlockResourceGetGetParams
- func (o *SmartlockResourceGetGetParams) WithDefaults() *SmartlockResourceGetGetParams
- func (o *SmartlockResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlockResourceGetGetParams
- func (o *SmartlockResourceGetGetParams) WithSmartlockID(smartlockID int64) *SmartlockResourceGetGetParams
- func (o *SmartlockResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlockResourceGetGetParams
- func (o *SmartlockResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockResourceGetGetReader
- type SmartlockResourceGetGetUnauthorized
- func (o *SmartlockResourceGetGetUnauthorized) Code() int
- func (o *SmartlockResourceGetGetUnauthorized) Error() string
- func (o *SmartlockResourceGetGetUnauthorized) IsClientError() bool
- func (o *SmartlockResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *SmartlockResourceGetGetUnauthorized) IsRedirect() bool
- func (o *SmartlockResourceGetGetUnauthorized) IsServerError() bool
- func (o *SmartlockResourceGetGetUnauthorized) IsSuccess() bool
- func (o *SmartlockResourceGetGetUnauthorized) String() string
- type SmartlockResourcePostPostBadRequest
- func (o *SmartlockResourcePostPostBadRequest) Code() int
- func (o *SmartlockResourcePostPostBadRequest) Error() string
- func (o *SmartlockResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockResourcePostPostBadRequest) String() string
- type SmartlockResourcePostPostForbidden
- func (o *SmartlockResourcePostPostForbidden) Code() int
- func (o *SmartlockResourcePostPostForbidden) Error() string
- func (o *SmartlockResourcePostPostForbidden) IsClientError() bool
- func (o *SmartlockResourcePostPostForbidden) IsCode(code int) bool
- func (o *SmartlockResourcePostPostForbidden) IsRedirect() bool
- func (o *SmartlockResourcePostPostForbidden) IsServerError() bool
- func (o *SmartlockResourcePostPostForbidden) IsSuccess() bool
- func (o *SmartlockResourcePostPostForbidden) String() string
- type SmartlockResourcePostPostNoContent
- func (o *SmartlockResourcePostPostNoContent) Code() int
- func (o *SmartlockResourcePostPostNoContent) Error() string
- func (o *SmartlockResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockResourcePostPostNoContent) String() string
- type SmartlockResourcePostPostParams
- func NewSmartlockResourcePostPostParams() *SmartlockResourcePostPostParams
- func NewSmartlockResourcePostPostParamsWithContext(ctx context.Context) *SmartlockResourcePostPostParams
- func NewSmartlockResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockResourcePostPostParams
- func NewSmartlockResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockResourcePostPostParams
- func (o *SmartlockResourcePostPostParams) SetBody(body *models.SmartlockUpdate)
- func (o *SmartlockResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockResourcePostPostParams) SetDefaults()
- func (o *SmartlockResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockResourcePostPostParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockResourcePostPostParams) WithBody(body *models.SmartlockUpdate) *SmartlockResourcePostPostParams
- func (o *SmartlockResourcePostPostParams) WithContext(ctx context.Context) *SmartlockResourcePostPostParams
- func (o *SmartlockResourcePostPostParams) WithDefaults() *SmartlockResourcePostPostParams
- func (o *SmartlockResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockResourcePostPostParams
- func (o *SmartlockResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockResourcePostPostParams
- func (o *SmartlockResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockResourcePostPostParams
- func (o *SmartlockResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockResourcePostPostReader
- type SmartlockResourcePostPostUnauthorized
- func (o *SmartlockResourcePostPostUnauthorized) Code() int
- func (o *SmartlockResourcePostPostUnauthorized) Error() string
- func (o *SmartlockResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockResourcePostPostUnauthorized) String() string
- type SmartlockSyncResourcePostPostBadRequest
- func (o *SmartlockSyncResourcePostPostBadRequest) Code() int
- func (o *SmartlockSyncResourcePostPostBadRequest) Error() string
- func (o *SmartlockSyncResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockSyncResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockSyncResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockSyncResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockSyncResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockSyncResourcePostPostBadRequest) String() string
- type SmartlockSyncResourcePostPostNoContent
- func (o *SmartlockSyncResourcePostPostNoContent) Code() int
- func (o *SmartlockSyncResourcePostPostNoContent) Error() string
- func (o *SmartlockSyncResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockSyncResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockSyncResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockSyncResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockSyncResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockSyncResourcePostPostNoContent) String() string
- type SmartlockSyncResourcePostPostParams
- func NewSmartlockSyncResourcePostPostParams() *SmartlockSyncResourcePostPostParams
- func NewSmartlockSyncResourcePostPostParamsWithContext(ctx context.Context) *SmartlockSyncResourcePostPostParams
- func NewSmartlockSyncResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockSyncResourcePostPostParams
- func NewSmartlockSyncResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockSyncResourcePostPostParams
- func (o *SmartlockSyncResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockSyncResourcePostPostParams) SetDefaults()
- func (o *SmartlockSyncResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockSyncResourcePostPostParams) SetSmartlockID(smartlockID string)
- func (o *SmartlockSyncResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockSyncResourcePostPostParams) WithContext(ctx context.Context) *SmartlockSyncResourcePostPostParams
- func (o *SmartlockSyncResourcePostPostParams) WithDefaults() *SmartlockSyncResourcePostPostParams
- func (o *SmartlockSyncResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockSyncResourcePostPostParams
- func (o *SmartlockSyncResourcePostPostParams) WithSmartlockID(smartlockID string) *SmartlockSyncResourcePostPostParams
- func (o *SmartlockSyncResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockSyncResourcePostPostParams
- func (o *SmartlockSyncResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockSyncResourcePostPostReader
- type SmartlockSyncResourcePostPostUnauthorized
- func (o *SmartlockSyncResourcePostPostUnauthorized) Code() int
- func (o *SmartlockSyncResourcePostPostUnauthorized) Error() string
- func (o *SmartlockSyncResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockSyncResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockSyncResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockSyncResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockSyncResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockSyncResourcePostPostUnauthorized) String() string
- type SmartlockUnlockActionResourcePostUnlockPostBadRequest
- func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) Code() int
- func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) Error() string
- func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsClientError() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsCode(code int) bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsRedirect() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsServerError() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsSuccess() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) String() string
- type SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed
- func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) Code() int
- func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) Error() string
- func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsClientError() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsCode(code int) bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsRedirect() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsServerError() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsSuccess() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) String() string
- type SmartlockUnlockActionResourcePostUnlockPostNoContent
- func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) Code() int
- func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) Error() string
- func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsClientError() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsCode(code int) bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsRedirect() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsServerError() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsSuccess() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) String() string
- type SmartlockUnlockActionResourcePostUnlockPostParams
- func NewSmartlockUnlockActionResourcePostUnlockPostParams() *SmartlockUnlockActionResourcePostUnlockPostParams
- func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithContext(ctx context.Context) *SmartlockUnlockActionResourcePostUnlockPostParams
- func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithHTTPClient(client *http.Client) *SmartlockUnlockActionResourcePostUnlockPostParams
- func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithTimeout(timeout time.Duration) *SmartlockUnlockActionResourcePostUnlockPostParams
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetContext(ctx context.Context)
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetDefaults()
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetSmartlockID(smartlockID string)
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithContext(ctx context.Context) *SmartlockUnlockActionResourcePostUnlockPostParams
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithDefaults() *SmartlockUnlockActionResourcePostUnlockPostParams
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithHTTPClient(client *http.Client) *SmartlockUnlockActionResourcePostUnlockPostParams
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithSmartlockID(smartlockID string) *SmartlockUnlockActionResourcePostUnlockPostParams
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithTimeout(timeout time.Duration) *SmartlockUnlockActionResourcePostUnlockPostParams
- func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockUnlockActionResourcePostUnlockPostReader
- type SmartlockUnlockActionResourcePostUnlockPostUnauthorized
- func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) Code() int
- func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) Error() string
- func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsClientError() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsRedirect() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsServerError() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsSuccess() bool
- func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) String() string
- type SmartlockWebConfigResourcePostPostBadRequest
- func (o *SmartlockWebConfigResourcePostPostBadRequest) Code() int
- func (o *SmartlockWebConfigResourcePostPostBadRequest) Error() string
- func (o *SmartlockWebConfigResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockWebConfigResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockWebConfigResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockWebConfigResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockWebConfigResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockWebConfigResourcePostPostBadRequest) String() string
- type SmartlockWebConfigResourcePostPostNoContent
- func (o *SmartlockWebConfigResourcePostPostNoContent) Code() int
- func (o *SmartlockWebConfigResourcePostPostNoContent) Error() string
- func (o *SmartlockWebConfigResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockWebConfigResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockWebConfigResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockWebConfigResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockWebConfigResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockWebConfigResourcePostPostNoContent) String() string
- type SmartlockWebConfigResourcePostPostParams
- func NewSmartlockWebConfigResourcePostPostParams() *SmartlockWebConfigResourcePostPostParams
- func NewSmartlockWebConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockWebConfigResourcePostPostParams
- func NewSmartlockWebConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockWebConfigResourcePostPostParams
- func NewSmartlockWebConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockWebConfigResourcePostPostParams
- func (o *SmartlockWebConfigResourcePostPostParams) SetBody(body *models.SmartlockWebConfig)
- func (o *SmartlockWebConfigResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockWebConfigResourcePostPostParams) SetDefaults()
- func (o *SmartlockWebConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockWebConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockWebConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockWebConfigResourcePostPostParams) WithBody(body *models.SmartlockWebConfig) *SmartlockWebConfigResourcePostPostParams
- func (o *SmartlockWebConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockWebConfigResourcePostPostParams
- func (o *SmartlockWebConfigResourcePostPostParams) WithDefaults() *SmartlockWebConfigResourcePostPostParams
- func (o *SmartlockWebConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockWebConfigResourcePostPostParams
- func (o *SmartlockWebConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockWebConfigResourcePostPostParams
- func (o *SmartlockWebConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockWebConfigResourcePostPostParams
- func (o *SmartlockWebConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockWebConfigResourcePostPostReader
- type SmartlockWebConfigResourcePostPostUnauthorized
- func (o *SmartlockWebConfigResourcePostPostUnauthorized) Code() int
- func (o *SmartlockWebConfigResourcePostPostUnauthorized) Error() string
- func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockWebConfigResourcePostPostUnauthorized) String() string
- type SmartlocksResourceGetGetOK
- func (o *SmartlocksResourceGetGetOK) Code() int
- func (o *SmartlocksResourceGetGetOK) Error() string
- func (o *SmartlocksResourceGetGetOK) GetPayload() []*models.Smartlock
- func (o *SmartlocksResourceGetGetOK) IsClientError() bool
- func (o *SmartlocksResourceGetGetOK) IsCode(code int) bool
- func (o *SmartlocksResourceGetGetOK) IsRedirect() bool
- func (o *SmartlocksResourceGetGetOK) IsServerError() bool
- func (o *SmartlocksResourceGetGetOK) IsSuccess() bool
- func (o *SmartlocksResourceGetGetOK) String() string
- type SmartlocksResourceGetGetParams
- func NewSmartlocksResourceGetGetParams() *SmartlocksResourceGetGetParams
- func NewSmartlocksResourceGetGetParamsWithContext(ctx context.Context) *SmartlocksResourceGetGetParams
- func NewSmartlocksResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlocksResourceGetGetParams
- func NewSmartlocksResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlocksResourceGetGetParams
- func (o *SmartlocksResourceGetGetParams) SetAuthID(authID *int64)
- func (o *SmartlocksResourceGetGetParams) SetContext(ctx context.Context)
- func (o *SmartlocksResourceGetGetParams) SetDefaults()
- func (o *SmartlocksResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *SmartlocksResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *SmartlocksResourceGetGetParams) SetType(typeVar *int64)
- func (o *SmartlocksResourceGetGetParams) WithAuthID(authID *int64) *SmartlocksResourceGetGetParams
- func (o *SmartlocksResourceGetGetParams) WithContext(ctx context.Context) *SmartlocksResourceGetGetParams
- func (o *SmartlocksResourceGetGetParams) WithDefaults() *SmartlocksResourceGetGetParams
- func (o *SmartlocksResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlocksResourceGetGetParams
- func (o *SmartlocksResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlocksResourceGetGetParams
- func (o *SmartlocksResourceGetGetParams) WithType(typeVar *int64) *SmartlocksResourceGetGetParams
- func (o *SmartlocksResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlocksResourceGetGetReader
- type SmartlocksResourceGetGetUnauthorized
- func (o *SmartlocksResourceGetGetUnauthorized) Code() int
- func (o *SmartlocksResourceGetGetUnauthorized) Error() string
- func (o *SmartlocksResourceGetGetUnauthorized) IsClientError() bool
- func (o *SmartlocksResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *SmartlocksResourceGetGetUnauthorized) IsRedirect() bool
- func (o *SmartlocksResourceGetGetUnauthorized) IsServerError() bool
- func (o *SmartlocksResourceGetGetUnauthorized) IsSuccess() bool
- func (o *SmartlocksResourceGetGetUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for smartlock API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SmartdoorAdvancedConfigResourcePostPost ¶
func (a *Client) SmartdoorAdvancedConfigResourcePostPost(params *SmartdoorAdvancedConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartdoorAdvancedConfigResourcePostPostNoContent, error)
SmartdoorAdvancedConfigResourcePostPost updates a smartdoor advanced config
func (*Client) SmartlockActionResourcePostPost ¶
func (a *Client) SmartlockActionResourcePostPost(params *SmartlockActionResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockActionResourcePostPostNoContent, error)
SmartlockActionResourcePostPost locks and unlock a smartlock with options
func (*Client) SmartlockAdminPinResourcePostPost ¶
func (a *Client) SmartlockAdminPinResourcePostPost(params *SmartlockAdminPinResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAdminPinResourcePostPostNoContent, error)
SmartlockAdminPinResourcePostPost updates a smartlock admin pin
func (*Client) SmartlockAdvancedConfigResourcePostPost ¶
func (a *Client) SmartlockAdvancedConfigResourcePostPost(params *SmartlockAdvancedConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAdvancedConfigResourcePostPostNoContent, error)
SmartlockAdvancedConfigResourcePostPost updates a smartlock advanced config
func (*Client) SmartlockBulkWebConfigResourcePostPost ¶
func (a *Client) SmartlockBulkWebConfigResourcePostPost(params *SmartlockBulkWebConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockBulkWebConfigResourcePostPostNoContent, error)
SmartlockBulkWebConfigResourcePostPost updates the web config for a group of smartlocks
func (*Client) SmartlockConfigResourcePostPost ¶
func (a *Client) SmartlockConfigResourcePostPost(params *SmartlockConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockConfigResourcePostPostNoContent, error)
SmartlockConfigResourcePostPost updates a smartlock config
func (*Client) SmartlockLockActionResourcePostLockPost ¶
func (a *Client) SmartlockLockActionResourcePostLockPost(params *SmartlockLockActionResourcePostLockPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockLockActionResourcePostLockPostNoContent, error)
SmartlockLockActionResourcePostLockPost locks a smartlock
func (*Client) SmartlockOpenerAdvancedConfigResourcePostPost ¶
func (a *Client) SmartlockOpenerAdvancedConfigResourcePostPost(params *SmartlockOpenerAdvancedConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent, error)
SmartlockOpenerAdvancedConfigResourcePostPost updates an opener advanced config
func (*Client) SmartlockResourceDeleteDelete ¶
func (a *Client) SmartlockResourceDeleteDelete(params *SmartlockResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockResourceDeleteDeleteNoContent, error)
SmartlockResourceDeleteDelete deletes a smartlock
func (*Client) SmartlockResourceGetGet ¶
func (a *Client) SmartlockResourceGetGet(params *SmartlockResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockResourceGetGetOK, error)
SmartlockResourceGetGet gets a smartlock
func (*Client) SmartlockResourcePostPost ¶
func (a *Client) SmartlockResourcePostPost(params *SmartlockResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockResourcePostPostNoContent, error)
SmartlockResourcePostPost updates a smartlock
func (*Client) SmartlockSyncResourcePostPost ¶
func (a *Client) SmartlockSyncResourcePostPost(params *SmartlockSyncResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockSyncResourcePostPostNoContent, error)
SmartlockSyncResourcePostPost syncs a smartlock
func (*Client) SmartlockUnlockActionResourcePostUnlockPost ¶
func (a *Client) SmartlockUnlockActionResourcePostUnlockPost(params *SmartlockUnlockActionResourcePostUnlockPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockUnlockActionResourcePostUnlockPostNoContent, error)
SmartlockUnlockActionResourcePostUnlockPost unlocks a smartlock
func (*Client) SmartlockWebConfigResourcePostPost ¶
func (a *Client) SmartlockWebConfigResourcePostPost(params *SmartlockWebConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockWebConfigResourcePostPostNoContent, error)
SmartlockWebConfigResourcePostPost updates a smartlock web config
func (*Client) SmartlocksResourceGetGet ¶
func (a *Client) SmartlocksResourceGetGet(params *SmartlocksResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksResourceGetGetOK, error)
SmartlocksResourceGetGet gets a list of smartlocks
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SmartdoorAdvancedConfigResourcePostPost(params *SmartdoorAdvancedConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartdoorAdvancedConfigResourcePostPostNoContent, error) SmartlockActionResourcePostPost(params *SmartlockActionResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockActionResourcePostPostNoContent, error) SmartlockAdminPinResourcePostPost(params *SmartlockAdminPinResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAdminPinResourcePostPostNoContent, error) SmartlockAdvancedConfigResourcePostPost(params *SmartlockAdvancedConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAdvancedConfigResourcePostPostNoContent, error) SmartlockBulkWebConfigResourcePostPost(params *SmartlockBulkWebConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockBulkWebConfigResourcePostPostNoContent, error) SmartlockConfigResourcePostPost(params *SmartlockConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockConfigResourcePostPostNoContent, error) SmartlockLockActionResourcePostLockPost(params *SmartlockLockActionResourcePostLockPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockLockActionResourcePostLockPostNoContent, error) SmartlockOpenerAdvancedConfigResourcePostPost(params *SmartlockOpenerAdvancedConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent, error) SmartlockResourceDeleteDelete(params *SmartlockResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockResourceDeleteDeleteNoContent, error) SmartlockResourceGetGet(params *SmartlockResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockResourceGetGetOK, error) SmartlockResourcePostPost(params *SmartlockResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockResourcePostPostNoContent, error) SmartlockSyncResourcePostPost(params *SmartlockSyncResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockSyncResourcePostPostNoContent, error) SmartlockUnlockActionResourcePostUnlockPost(params *SmartlockUnlockActionResourcePostUnlockPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockUnlockActionResourcePostUnlockPostNoContent, error) SmartlockWebConfigResourcePostPost(params *SmartlockWebConfigResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockWebConfigResourcePostPostNoContent, error) SmartlocksResourceGetGet(params *SmartlocksResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksResourceGetGetOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new smartlock API client.
type SmartdoorAdvancedConfigResourcePostPostBadRequest ¶
type SmartdoorAdvancedConfigResourcePostPostBadRequest struct { }
SmartdoorAdvancedConfigResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartdoorAdvancedConfigResourcePostPostBadRequest ¶
func NewSmartdoorAdvancedConfigResourcePostPostBadRequest() *SmartdoorAdvancedConfigResourcePostPostBadRequest
NewSmartdoorAdvancedConfigResourcePostPostBadRequest creates a SmartdoorAdvancedConfigResourcePostPostBadRequest with default headers values
func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) Code ¶
func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) Code() int
Code gets the status code for the smartdoor advanced config resource post post bad request response
func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) Error ¶
func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) Error() string
func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsClientError ¶
func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartdoor advanced config resource post post bad request response has a 4xx status code
func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsCode ¶
func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartdoor advanced config resource post post bad request response a status code equal to that given
func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartdoor advanced config resource post post bad request response has a 3xx status code
func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsServerError ¶
func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartdoor advanced config resource post post bad request response has a 5xx status code
func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartdoor advanced config resource post post bad request response has a 2xx status code
func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) String ¶
func (o *SmartdoorAdvancedConfigResourcePostPostBadRequest) String() string
type SmartdoorAdvancedConfigResourcePostPostNoContent ¶
type SmartdoorAdvancedConfigResourcePostPostNoContent struct { }
SmartdoorAdvancedConfigResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartdoorAdvancedConfigResourcePostPostNoContent ¶
func NewSmartdoorAdvancedConfigResourcePostPostNoContent() *SmartdoorAdvancedConfigResourcePostPostNoContent
NewSmartdoorAdvancedConfigResourcePostPostNoContent creates a SmartdoorAdvancedConfigResourcePostPostNoContent with default headers values
func (*SmartdoorAdvancedConfigResourcePostPostNoContent) Code ¶
func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) Code() int
Code gets the status code for the smartdoor advanced config resource post post no content response
func (*SmartdoorAdvancedConfigResourcePostPostNoContent) Error ¶
func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) Error() string
func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsClientError ¶
func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartdoor advanced config resource post post no content response has a 4xx status code
func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsCode ¶
func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartdoor advanced config resource post post no content response a status code equal to that given
func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsRedirect ¶
func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartdoor advanced config resource post post no content response has a 3xx status code
func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsServerError ¶
func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartdoor advanced config resource post post no content response has a 5xx status code
func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsSuccess ¶
func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartdoor advanced config resource post post no content response has a 2xx status code
func (*SmartdoorAdvancedConfigResourcePostPostNoContent) String ¶
func (o *SmartdoorAdvancedConfigResourcePostPostNoContent) String() string
type SmartdoorAdvancedConfigResourcePostPostParams ¶
type SmartdoorAdvancedConfigResourcePostPostParams struct { /* Body. Smartdoor advanced config update representation */ Body *models.SmartlockSmartdoorAdvancedConfig /* SmartlockID. The smartdoor id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartdoorAdvancedConfigResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartdoor advanced config resource post post operation. Typically these are written to a http.Request.
func NewSmartdoorAdvancedConfigResourcePostPostParams ¶
func NewSmartdoorAdvancedConfigResourcePostPostParams() *SmartdoorAdvancedConfigResourcePostPostParams
NewSmartdoorAdvancedConfigResourcePostPostParams creates a new SmartdoorAdvancedConfigResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartdoorAdvancedConfigResourcePostPostParamsWithContext ¶
func NewSmartdoorAdvancedConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartdoorAdvancedConfigResourcePostPostParams
NewSmartdoorAdvancedConfigResourcePostPostParamsWithContext creates a new SmartdoorAdvancedConfigResourcePostPostParams object with the ability to set a context for a request.
func NewSmartdoorAdvancedConfigResourcePostPostParamsWithHTTPClient ¶
func NewSmartdoorAdvancedConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartdoorAdvancedConfigResourcePostPostParams
NewSmartdoorAdvancedConfigResourcePostPostParamsWithHTTPClient creates a new SmartdoorAdvancedConfigResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartdoorAdvancedConfigResourcePostPostParamsWithTimeout ¶
func NewSmartdoorAdvancedConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartdoorAdvancedConfigResourcePostPostParams
NewSmartdoorAdvancedConfigResourcePostPostParamsWithTimeout creates a new SmartdoorAdvancedConfigResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartdoorAdvancedConfigResourcePostPostParams) SetBody ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetBody(body *models.SmartlockSmartdoorAdvancedConfig)
SetBody adds the body to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) SetContext ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) SetDefaults ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartdoor advanced config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartdoorAdvancedConfigResourcePostPostParams) SetHTTPClient ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) SetSmartlockID ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) SetTimeout ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) WithBody ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithBody(body *models.SmartlockSmartdoorAdvancedConfig) *SmartdoorAdvancedConfigResourcePostPostParams
WithBody adds the body to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) WithContext ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartdoorAdvancedConfigResourcePostPostParams
WithContext adds the context to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) WithDefaults ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithDefaults() *SmartdoorAdvancedConfigResourcePostPostParams
WithDefaults hydrates default values in the smartdoor advanced config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartdoorAdvancedConfigResourcePostPostParams) WithHTTPClient ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartdoorAdvancedConfigResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) WithSmartlockID ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartdoorAdvancedConfigResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) WithTimeout ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartdoorAdvancedConfigResourcePostPostParams
WithTimeout adds the timeout to the smartdoor advanced config resource post post params
func (*SmartdoorAdvancedConfigResourcePostPostParams) WriteToRequest ¶
func (o *SmartdoorAdvancedConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartdoorAdvancedConfigResourcePostPostReader ¶
type SmartdoorAdvancedConfigResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartdoorAdvancedConfigResourcePostPostReader is a Reader for the SmartdoorAdvancedConfigResourcePostPost structure.
func (*SmartdoorAdvancedConfigResourcePostPostReader) ReadResponse ¶
func (o *SmartdoorAdvancedConfigResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartdoorAdvancedConfigResourcePostPostUnauthorized ¶
type SmartdoorAdvancedConfigResourcePostPostUnauthorized struct { }
SmartdoorAdvancedConfigResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartdoorAdvancedConfigResourcePostPostUnauthorized ¶
func NewSmartdoorAdvancedConfigResourcePostPostUnauthorized() *SmartdoorAdvancedConfigResourcePostPostUnauthorized
NewSmartdoorAdvancedConfigResourcePostPostUnauthorized creates a SmartdoorAdvancedConfigResourcePostPostUnauthorized with default headers values
func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) Code ¶
func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartdoor advanced config resource post post unauthorized response
func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) Error ¶
func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) Error() string
func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartdoor advanced config resource post post unauthorized response has a 4xx status code
func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsCode ¶
func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartdoor advanced config resource post post unauthorized response a status code equal to that given
func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartdoor advanced config resource post post unauthorized response has a 3xx status code
func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartdoor advanced config resource post post unauthorized response has a 5xx status code
func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartdoor advanced config resource post post unauthorized response has a 2xx status code
func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) String ¶
func (o *SmartdoorAdvancedConfigResourcePostPostUnauthorized) String() string
type SmartlockActionResourcePostPostBadRequest ¶
type SmartlockActionResourcePostPostBadRequest struct { }
SmartlockActionResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewSmartlockActionResourcePostPostBadRequest ¶
func NewSmartlockActionResourcePostPostBadRequest() *SmartlockActionResourcePostPostBadRequest
NewSmartlockActionResourcePostPostBadRequest creates a SmartlockActionResourcePostPostBadRequest with default headers values
func (*SmartlockActionResourcePostPostBadRequest) Code ¶
func (o *SmartlockActionResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock action resource post post bad request response
func (*SmartlockActionResourcePostPostBadRequest) Error ¶
func (o *SmartlockActionResourcePostPostBadRequest) Error() string
func (*SmartlockActionResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockActionResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock action resource post post bad request response has a 4xx status code
func (*SmartlockActionResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockActionResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock action resource post post bad request response a status code equal to that given
func (*SmartlockActionResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockActionResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock action resource post post bad request response has a 3xx status code
func (*SmartlockActionResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockActionResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock action resource post post bad request response has a 5xx status code
func (*SmartlockActionResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockActionResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock action resource post post bad request response has a 2xx status code
func (*SmartlockActionResourcePostPostBadRequest) String ¶
func (o *SmartlockActionResourcePostPostBadRequest) String() string
type SmartlockActionResourcePostPostNoContent ¶
type SmartlockActionResourcePostPostNoContent struct { }
SmartlockActionResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockActionResourcePostPostNoContent ¶
func NewSmartlockActionResourcePostPostNoContent() *SmartlockActionResourcePostPostNoContent
NewSmartlockActionResourcePostPostNoContent creates a SmartlockActionResourcePostPostNoContent with default headers values
func (*SmartlockActionResourcePostPostNoContent) Code ¶
func (o *SmartlockActionResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock action resource post post no content response
func (*SmartlockActionResourcePostPostNoContent) Error ¶
func (o *SmartlockActionResourcePostPostNoContent) Error() string
func (*SmartlockActionResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockActionResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock action resource post post no content response has a 4xx status code
func (*SmartlockActionResourcePostPostNoContent) IsCode ¶
func (o *SmartlockActionResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock action resource post post no content response a status code equal to that given
func (*SmartlockActionResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockActionResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock action resource post post no content response has a 3xx status code
func (*SmartlockActionResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockActionResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock action resource post post no content response has a 5xx status code
func (*SmartlockActionResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockActionResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock action resource post post no content response has a 2xx status code
func (*SmartlockActionResourcePostPostNoContent) String ¶
func (o *SmartlockActionResourcePostPostNoContent) String() string
type SmartlockActionResourcePostPostParams ¶
type SmartlockActionResourcePostPostParams struct { /* Body. Smartlock action representation */ Body *models.SmartlockAction /* SmartlockID. The smartlock id */ SmartlockID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockActionResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock action resource post post operation. Typically these are written to a http.Request.
func NewSmartlockActionResourcePostPostParams ¶
func NewSmartlockActionResourcePostPostParams() *SmartlockActionResourcePostPostParams
NewSmartlockActionResourcePostPostParams creates a new SmartlockActionResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockActionResourcePostPostParamsWithContext ¶
func NewSmartlockActionResourcePostPostParamsWithContext(ctx context.Context) *SmartlockActionResourcePostPostParams
NewSmartlockActionResourcePostPostParamsWithContext creates a new SmartlockActionResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockActionResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockActionResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockActionResourcePostPostParams
NewSmartlockActionResourcePostPostParamsWithHTTPClient creates a new SmartlockActionResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockActionResourcePostPostParamsWithTimeout ¶
func NewSmartlockActionResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockActionResourcePostPostParams
NewSmartlockActionResourcePostPostParamsWithTimeout creates a new SmartlockActionResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockActionResourcePostPostParams) SetBody ¶
func (o *SmartlockActionResourcePostPostParams) SetBody(body *models.SmartlockAction)
SetBody adds the body to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) SetContext ¶
func (o *SmartlockActionResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) SetDefaults ¶
func (o *SmartlockActionResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock action resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockActionResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockActionResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockActionResourcePostPostParams) SetSmartlockID(smartlockID string)
SetSmartlockID adds the smartlockId to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) SetTimeout ¶
func (o *SmartlockActionResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) WithBody ¶
func (o *SmartlockActionResourcePostPostParams) WithBody(body *models.SmartlockAction) *SmartlockActionResourcePostPostParams
WithBody adds the body to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) WithContext ¶
func (o *SmartlockActionResourcePostPostParams) WithContext(ctx context.Context) *SmartlockActionResourcePostPostParams
WithContext adds the context to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) WithDefaults ¶
func (o *SmartlockActionResourcePostPostParams) WithDefaults() *SmartlockActionResourcePostPostParams
WithDefaults hydrates default values in the smartlock action resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockActionResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockActionResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockActionResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockActionResourcePostPostParams) WithSmartlockID(smartlockID string) *SmartlockActionResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) WithTimeout ¶
func (o *SmartlockActionResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockActionResourcePostPostParams
WithTimeout adds the timeout to the smartlock action resource post post params
func (*SmartlockActionResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockActionResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockActionResourcePostPostPaymentRequired ¶
type SmartlockActionResourcePostPostPaymentRequired struct { }
SmartlockActionResourcePostPostPaymentRequired describes a response with status code 402, with default header values.
Account not payed
func NewSmartlockActionResourcePostPostPaymentRequired ¶
func NewSmartlockActionResourcePostPostPaymentRequired() *SmartlockActionResourcePostPostPaymentRequired
NewSmartlockActionResourcePostPostPaymentRequired creates a SmartlockActionResourcePostPostPaymentRequired with default headers values
func (*SmartlockActionResourcePostPostPaymentRequired) Code ¶
func (o *SmartlockActionResourcePostPostPaymentRequired) Code() int
Code gets the status code for the smartlock action resource post post payment required response
func (*SmartlockActionResourcePostPostPaymentRequired) Error ¶
func (o *SmartlockActionResourcePostPostPaymentRequired) Error() string
func (*SmartlockActionResourcePostPostPaymentRequired) IsClientError ¶
func (o *SmartlockActionResourcePostPostPaymentRequired) IsClientError() bool
IsClientError returns true when this smartlock action resource post post payment required response has a 4xx status code
func (*SmartlockActionResourcePostPostPaymentRequired) IsCode ¶
func (o *SmartlockActionResourcePostPostPaymentRequired) IsCode(code int) bool
IsCode returns true when this smartlock action resource post post payment required response a status code equal to that given
func (*SmartlockActionResourcePostPostPaymentRequired) IsRedirect ¶
func (o *SmartlockActionResourcePostPostPaymentRequired) IsRedirect() bool
IsRedirect returns true when this smartlock action resource post post payment required response has a 3xx status code
func (*SmartlockActionResourcePostPostPaymentRequired) IsServerError ¶
func (o *SmartlockActionResourcePostPostPaymentRequired) IsServerError() bool
IsServerError returns true when this smartlock action resource post post payment required response has a 5xx status code
func (*SmartlockActionResourcePostPostPaymentRequired) IsSuccess ¶
func (o *SmartlockActionResourcePostPostPaymentRequired) IsSuccess() bool
IsSuccess returns true when this smartlock action resource post post payment required response has a 2xx status code
func (*SmartlockActionResourcePostPostPaymentRequired) String ¶
func (o *SmartlockActionResourcePostPostPaymentRequired) String() string
type SmartlockActionResourcePostPostReader ¶
type SmartlockActionResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockActionResourcePostPostReader is a Reader for the SmartlockActionResourcePostPost structure.
func (*SmartlockActionResourcePostPostReader) ReadResponse ¶
func (o *SmartlockActionResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockActionResourcePostPostUnauthorized ¶
type SmartlockActionResourcePostPostUnauthorized struct { }
SmartlockActionResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockActionResourcePostPostUnauthorized ¶
func NewSmartlockActionResourcePostPostUnauthorized() *SmartlockActionResourcePostPostUnauthorized
NewSmartlockActionResourcePostPostUnauthorized creates a SmartlockActionResourcePostPostUnauthorized with default headers values
func (*SmartlockActionResourcePostPostUnauthorized) Code ¶
func (o *SmartlockActionResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock action resource post post unauthorized response
func (*SmartlockActionResourcePostPostUnauthorized) Error ¶
func (o *SmartlockActionResourcePostPostUnauthorized) Error() string
func (*SmartlockActionResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockActionResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock action resource post post unauthorized response has a 4xx status code
func (*SmartlockActionResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockActionResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock action resource post post unauthorized response a status code equal to that given
func (*SmartlockActionResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockActionResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock action resource post post unauthorized response has a 3xx status code
func (*SmartlockActionResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockActionResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock action resource post post unauthorized response has a 5xx status code
func (*SmartlockActionResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockActionResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock action resource post post unauthorized response has a 2xx status code
func (*SmartlockActionResourcePostPostUnauthorized) String ¶
func (o *SmartlockActionResourcePostPostUnauthorized) String() string
type SmartlockAdminPinResourcePostPostBadRequest ¶
type SmartlockAdminPinResourcePostPostBadRequest struct { }
SmartlockAdminPinResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockAdminPinResourcePostPostBadRequest ¶
func NewSmartlockAdminPinResourcePostPostBadRequest() *SmartlockAdminPinResourcePostPostBadRequest
NewSmartlockAdminPinResourcePostPostBadRequest creates a SmartlockAdminPinResourcePostPostBadRequest with default headers values
func (*SmartlockAdminPinResourcePostPostBadRequest) Code ¶
func (o *SmartlockAdminPinResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock admin pin resource post post bad request response
func (*SmartlockAdminPinResourcePostPostBadRequest) Error ¶
func (o *SmartlockAdminPinResourcePostPostBadRequest) Error() string
func (*SmartlockAdminPinResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockAdminPinResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock admin pin resource post post bad request response has a 4xx status code
func (*SmartlockAdminPinResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockAdminPinResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock admin pin resource post post bad request response a status code equal to that given
func (*SmartlockAdminPinResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockAdminPinResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock admin pin resource post post bad request response has a 3xx status code
func (*SmartlockAdminPinResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockAdminPinResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock admin pin resource post post bad request response has a 5xx status code
func (*SmartlockAdminPinResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockAdminPinResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock admin pin resource post post bad request response has a 2xx status code
func (*SmartlockAdminPinResourcePostPostBadRequest) String ¶
func (o *SmartlockAdminPinResourcePostPostBadRequest) String() string
type SmartlockAdminPinResourcePostPostNoContent ¶
type SmartlockAdminPinResourcePostPostNoContent struct { }
SmartlockAdminPinResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockAdminPinResourcePostPostNoContent ¶
func NewSmartlockAdminPinResourcePostPostNoContent() *SmartlockAdminPinResourcePostPostNoContent
NewSmartlockAdminPinResourcePostPostNoContent creates a SmartlockAdminPinResourcePostPostNoContent with default headers values
func (*SmartlockAdminPinResourcePostPostNoContent) Code ¶
func (o *SmartlockAdminPinResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock admin pin resource post post no content response
func (*SmartlockAdminPinResourcePostPostNoContent) Error ¶
func (o *SmartlockAdminPinResourcePostPostNoContent) Error() string
func (*SmartlockAdminPinResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockAdminPinResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock admin pin resource post post no content response has a 4xx status code
func (*SmartlockAdminPinResourcePostPostNoContent) IsCode ¶
func (o *SmartlockAdminPinResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock admin pin resource post post no content response a status code equal to that given
func (*SmartlockAdminPinResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockAdminPinResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock admin pin resource post post no content response has a 3xx status code
func (*SmartlockAdminPinResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockAdminPinResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock admin pin resource post post no content response has a 5xx status code
func (*SmartlockAdminPinResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockAdminPinResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock admin pin resource post post no content response has a 2xx status code
func (*SmartlockAdminPinResourcePostPostNoContent) String ¶
func (o *SmartlockAdminPinResourcePostPostNoContent) String() string
type SmartlockAdminPinResourcePostPostParams ¶
type SmartlockAdminPinResourcePostPostParams struct { /* Body. Smartlock admin pin update representation */ Body *models.SmartlockAdminPinUpdate /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockAdminPinResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock admin pin resource post post operation. Typically these are written to a http.Request.
func NewSmartlockAdminPinResourcePostPostParams ¶
func NewSmartlockAdminPinResourcePostPostParams() *SmartlockAdminPinResourcePostPostParams
NewSmartlockAdminPinResourcePostPostParams creates a new SmartlockAdminPinResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockAdminPinResourcePostPostParamsWithContext ¶
func NewSmartlockAdminPinResourcePostPostParamsWithContext(ctx context.Context) *SmartlockAdminPinResourcePostPostParams
NewSmartlockAdminPinResourcePostPostParamsWithContext creates a new SmartlockAdminPinResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockAdminPinResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockAdminPinResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockAdminPinResourcePostPostParams
NewSmartlockAdminPinResourcePostPostParamsWithHTTPClient creates a new SmartlockAdminPinResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockAdminPinResourcePostPostParamsWithTimeout ¶
func NewSmartlockAdminPinResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockAdminPinResourcePostPostParams
NewSmartlockAdminPinResourcePostPostParamsWithTimeout creates a new SmartlockAdminPinResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockAdminPinResourcePostPostParams) SetBody ¶
func (o *SmartlockAdminPinResourcePostPostParams) SetBody(body *models.SmartlockAdminPinUpdate)
SetBody adds the body to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) SetContext ¶
func (o *SmartlockAdminPinResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) SetDefaults ¶
func (o *SmartlockAdminPinResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock admin pin resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAdminPinResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockAdminPinResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockAdminPinResourcePostPostParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) SetTimeout ¶
func (o *SmartlockAdminPinResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) WithBody ¶
func (o *SmartlockAdminPinResourcePostPostParams) WithBody(body *models.SmartlockAdminPinUpdate) *SmartlockAdminPinResourcePostPostParams
WithBody adds the body to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) WithContext ¶
func (o *SmartlockAdminPinResourcePostPostParams) WithContext(ctx context.Context) *SmartlockAdminPinResourcePostPostParams
WithContext adds the context to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) WithDefaults ¶
func (o *SmartlockAdminPinResourcePostPostParams) WithDefaults() *SmartlockAdminPinResourcePostPostParams
WithDefaults hydrates default values in the smartlock admin pin resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAdminPinResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockAdminPinResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockAdminPinResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockAdminPinResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockAdminPinResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) WithTimeout ¶
func (o *SmartlockAdminPinResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockAdminPinResourcePostPostParams
WithTimeout adds the timeout to the smartlock admin pin resource post post params
func (*SmartlockAdminPinResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockAdminPinResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockAdminPinResourcePostPostReader ¶
type SmartlockAdminPinResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockAdminPinResourcePostPostReader is a Reader for the SmartlockAdminPinResourcePostPost structure.
func (*SmartlockAdminPinResourcePostPostReader) ReadResponse ¶
func (o *SmartlockAdminPinResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockAdminPinResourcePostPostUnauthorized ¶
type SmartlockAdminPinResourcePostPostUnauthorized struct { }
SmartlockAdminPinResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockAdminPinResourcePostPostUnauthorized ¶
func NewSmartlockAdminPinResourcePostPostUnauthorized() *SmartlockAdminPinResourcePostPostUnauthorized
NewSmartlockAdminPinResourcePostPostUnauthorized creates a SmartlockAdminPinResourcePostPostUnauthorized with default headers values
func (*SmartlockAdminPinResourcePostPostUnauthorized) Code ¶
func (o *SmartlockAdminPinResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock admin pin resource post post unauthorized response
func (*SmartlockAdminPinResourcePostPostUnauthorized) Error ¶
func (o *SmartlockAdminPinResourcePostPostUnauthorized) Error() string
func (*SmartlockAdminPinResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock admin pin resource post post unauthorized response has a 4xx status code
func (*SmartlockAdminPinResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock admin pin resource post post unauthorized response a status code equal to that given
func (*SmartlockAdminPinResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock admin pin resource post post unauthorized response has a 3xx status code
func (*SmartlockAdminPinResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock admin pin resource post post unauthorized response has a 5xx status code
func (*SmartlockAdminPinResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockAdminPinResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock admin pin resource post post unauthorized response has a 2xx status code
func (*SmartlockAdminPinResourcePostPostUnauthorized) String ¶
func (o *SmartlockAdminPinResourcePostPostUnauthorized) String() string
type SmartlockAdvancedConfigResourcePostPostBadRequest ¶
type SmartlockAdvancedConfigResourcePostPostBadRequest struct { }
SmartlockAdvancedConfigResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockAdvancedConfigResourcePostPostBadRequest ¶
func NewSmartlockAdvancedConfigResourcePostPostBadRequest() *SmartlockAdvancedConfigResourcePostPostBadRequest
NewSmartlockAdvancedConfigResourcePostPostBadRequest creates a SmartlockAdvancedConfigResourcePostPostBadRequest with default headers values
func (*SmartlockAdvancedConfigResourcePostPostBadRequest) Code ¶
func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock advanced config resource post post bad request response
func (*SmartlockAdvancedConfigResourcePostPostBadRequest) Error ¶
func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) Error() string
func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock advanced config resource post post bad request response has a 4xx status code
func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock advanced config resource post post bad request response a status code equal to that given
func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock advanced config resource post post bad request response has a 3xx status code
func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock advanced config resource post post bad request response has a 5xx status code
func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock advanced config resource post post bad request response has a 2xx status code
func (*SmartlockAdvancedConfigResourcePostPostBadRequest) String ¶
func (o *SmartlockAdvancedConfigResourcePostPostBadRequest) String() string
type SmartlockAdvancedConfigResourcePostPostNoContent ¶
type SmartlockAdvancedConfigResourcePostPostNoContent struct { }
SmartlockAdvancedConfigResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockAdvancedConfigResourcePostPostNoContent ¶
func NewSmartlockAdvancedConfigResourcePostPostNoContent() *SmartlockAdvancedConfigResourcePostPostNoContent
NewSmartlockAdvancedConfigResourcePostPostNoContent creates a SmartlockAdvancedConfigResourcePostPostNoContent with default headers values
func (*SmartlockAdvancedConfigResourcePostPostNoContent) Code ¶
func (o *SmartlockAdvancedConfigResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock advanced config resource post post no content response
func (*SmartlockAdvancedConfigResourcePostPostNoContent) Error ¶
func (o *SmartlockAdvancedConfigResourcePostPostNoContent) Error() string
func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock advanced config resource post post no content response has a 4xx status code
func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsCode ¶
func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock advanced config resource post post no content response a status code equal to that given
func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock advanced config resource post post no content response has a 3xx status code
func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock advanced config resource post post no content response has a 5xx status code
func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockAdvancedConfigResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock advanced config resource post post no content response has a 2xx status code
func (*SmartlockAdvancedConfigResourcePostPostNoContent) String ¶
func (o *SmartlockAdvancedConfigResourcePostPostNoContent) String() string
type SmartlockAdvancedConfigResourcePostPostParams ¶
type SmartlockAdvancedConfigResourcePostPostParams struct { /* Body. Smartlock config update representation */ Body *models.SmartlockAdvancedConfig /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockAdvancedConfigResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock advanced config resource post post operation. Typically these are written to a http.Request.
func NewSmartlockAdvancedConfigResourcePostPostParams ¶
func NewSmartlockAdvancedConfigResourcePostPostParams() *SmartlockAdvancedConfigResourcePostPostParams
NewSmartlockAdvancedConfigResourcePostPostParams creates a new SmartlockAdvancedConfigResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockAdvancedConfigResourcePostPostParamsWithContext ¶
func NewSmartlockAdvancedConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockAdvancedConfigResourcePostPostParams
NewSmartlockAdvancedConfigResourcePostPostParamsWithContext creates a new SmartlockAdvancedConfigResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockAdvancedConfigResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockAdvancedConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockAdvancedConfigResourcePostPostParams
NewSmartlockAdvancedConfigResourcePostPostParamsWithHTTPClient creates a new SmartlockAdvancedConfigResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockAdvancedConfigResourcePostPostParamsWithTimeout ¶
func NewSmartlockAdvancedConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockAdvancedConfigResourcePostPostParams
NewSmartlockAdvancedConfigResourcePostPostParamsWithTimeout creates a new SmartlockAdvancedConfigResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockAdvancedConfigResourcePostPostParams) SetBody ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) SetBody(body *models.SmartlockAdvancedConfig)
SetBody adds the body to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) SetContext ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) SetDefaults ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock advanced config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAdvancedConfigResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) SetTimeout ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) WithBody ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) WithBody(body *models.SmartlockAdvancedConfig) *SmartlockAdvancedConfigResourcePostPostParams
WithBody adds the body to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) WithContext ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockAdvancedConfigResourcePostPostParams
WithContext adds the context to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) WithDefaults ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) WithDefaults() *SmartlockAdvancedConfigResourcePostPostParams
WithDefaults hydrates default values in the smartlock advanced config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAdvancedConfigResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockAdvancedConfigResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockAdvancedConfigResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) WithTimeout ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockAdvancedConfigResourcePostPostParams
WithTimeout adds the timeout to the smartlock advanced config resource post post params
func (*SmartlockAdvancedConfigResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockAdvancedConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockAdvancedConfigResourcePostPostReader ¶
type SmartlockAdvancedConfigResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockAdvancedConfigResourcePostPostReader is a Reader for the SmartlockAdvancedConfigResourcePostPost structure.
func (*SmartlockAdvancedConfigResourcePostPostReader) ReadResponse ¶
func (o *SmartlockAdvancedConfigResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockAdvancedConfigResourcePostPostUnauthorized ¶
type SmartlockAdvancedConfigResourcePostPostUnauthorized struct { }
SmartlockAdvancedConfigResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockAdvancedConfigResourcePostPostUnauthorized ¶
func NewSmartlockAdvancedConfigResourcePostPostUnauthorized() *SmartlockAdvancedConfigResourcePostPostUnauthorized
NewSmartlockAdvancedConfigResourcePostPostUnauthorized creates a SmartlockAdvancedConfigResourcePostPostUnauthorized with default headers values
func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) Code ¶
func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock advanced config resource post post unauthorized response
func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) Error ¶
func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) Error() string
func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock advanced config resource post post unauthorized response has a 4xx status code
func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock advanced config resource post post unauthorized response a status code equal to that given
func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock advanced config resource post post unauthorized response has a 3xx status code
func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock advanced config resource post post unauthorized response has a 5xx status code
func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock advanced config resource post post unauthorized response has a 2xx status code
func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) String ¶
func (o *SmartlockAdvancedConfigResourcePostPostUnauthorized) String() string
type SmartlockBulkWebConfigResourcePostPostBadRequest ¶
type SmartlockBulkWebConfigResourcePostPostBadRequest struct { }
SmartlockBulkWebConfigResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockBulkWebConfigResourcePostPostBadRequest ¶
func NewSmartlockBulkWebConfigResourcePostPostBadRequest() *SmartlockBulkWebConfigResourcePostPostBadRequest
NewSmartlockBulkWebConfigResourcePostPostBadRequest creates a SmartlockBulkWebConfigResourcePostPostBadRequest with default headers values
func (*SmartlockBulkWebConfigResourcePostPostBadRequest) Code ¶
func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock bulk web config resource post post bad request response
func (*SmartlockBulkWebConfigResourcePostPostBadRequest) Error ¶
func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) Error() string
func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock bulk web config resource post post bad request response has a 4xx status code
func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock bulk web config resource post post bad request response a status code equal to that given
func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock bulk web config resource post post bad request response has a 3xx status code
func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock bulk web config resource post post bad request response has a 5xx status code
func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock bulk web config resource post post bad request response has a 2xx status code
func (*SmartlockBulkWebConfigResourcePostPostBadRequest) String ¶
func (o *SmartlockBulkWebConfigResourcePostPostBadRequest) String() string
type SmartlockBulkWebConfigResourcePostPostNoContent ¶
type SmartlockBulkWebConfigResourcePostPostNoContent struct { }
SmartlockBulkWebConfigResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockBulkWebConfigResourcePostPostNoContent ¶
func NewSmartlockBulkWebConfigResourcePostPostNoContent() *SmartlockBulkWebConfigResourcePostPostNoContent
NewSmartlockBulkWebConfigResourcePostPostNoContent creates a SmartlockBulkWebConfigResourcePostPostNoContent with default headers values
func (*SmartlockBulkWebConfigResourcePostPostNoContent) Code ¶
func (o *SmartlockBulkWebConfigResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock bulk web config resource post post no content response
func (*SmartlockBulkWebConfigResourcePostPostNoContent) Error ¶
func (o *SmartlockBulkWebConfigResourcePostPostNoContent) Error() string
func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock bulk web config resource post post no content response has a 4xx status code
func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsCode ¶
func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock bulk web config resource post post no content response a status code equal to that given
func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock bulk web config resource post post no content response has a 3xx status code
func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock bulk web config resource post post no content response has a 5xx status code
func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockBulkWebConfigResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock bulk web config resource post post no content response has a 2xx status code
func (*SmartlockBulkWebConfigResourcePostPostNoContent) String ¶
func (o *SmartlockBulkWebConfigResourcePostPostNoContent) String() string
type SmartlockBulkWebConfigResourcePostPostParams ¶
type SmartlockBulkWebConfigResourcePostPostParams struct { /* Body. Smartlocks web config update representation */ Body *models.BulkWebConfigRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockBulkWebConfigResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock bulk web config resource post post operation. Typically these are written to a http.Request.
func NewSmartlockBulkWebConfigResourcePostPostParams ¶
func NewSmartlockBulkWebConfigResourcePostPostParams() *SmartlockBulkWebConfigResourcePostPostParams
NewSmartlockBulkWebConfigResourcePostPostParams creates a new SmartlockBulkWebConfigResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockBulkWebConfigResourcePostPostParamsWithContext ¶
func NewSmartlockBulkWebConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockBulkWebConfigResourcePostPostParams
NewSmartlockBulkWebConfigResourcePostPostParamsWithContext creates a new SmartlockBulkWebConfigResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockBulkWebConfigResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockBulkWebConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockBulkWebConfigResourcePostPostParams
NewSmartlockBulkWebConfigResourcePostPostParamsWithHTTPClient creates a new SmartlockBulkWebConfigResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockBulkWebConfigResourcePostPostParamsWithTimeout ¶
func NewSmartlockBulkWebConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockBulkWebConfigResourcePostPostParams
NewSmartlockBulkWebConfigResourcePostPostParamsWithTimeout creates a new SmartlockBulkWebConfigResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockBulkWebConfigResourcePostPostParams) SetBody ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) SetBody(body *models.BulkWebConfigRequest)
SetBody adds the body to the smartlock bulk web config resource post post params
func (*SmartlockBulkWebConfigResourcePostPostParams) SetContext ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock bulk web config resource post post params
func (*SmartlockBulkWebConfigResourcePostPostParams) SetDefaults ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock bulk web config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockBulkWebConfigResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock bulk web config resource post post params
func (*SmartlockBulkWebConfigResourcePostPostParams) SetTimeout ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock bulk web config resource post post params
func (*SmartlockBulkWebConfigResourcePostPostParams) WithBody ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) WithBody(body *models.BulkWebConfigRequest) *SmartlockBulkWebConfigResourcePostPostParams
WithBody adds the body to the smartlock bulk web config resource post post params
func (*SmartlockBulkWebConfigResourcePostPostParams) WithContext ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockBulkWebConfigResourcePostPostParams
WithContext adds the context to the smartlock bulk web config resource post post params
func (*SmartlockBulkWebConfigResourcePostPostParams) WithDefaults ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) WithDefaults() *SmartlockBulkWebConfigResourcePostPostParams
WithDefaults hydrates default values in the smartlock bulk web config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockBulkWebConfigResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockBulkWebConfigResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock bulk web config resource post post params
func (*SmartlockBulkWebConfigResourcePostPostParams) WithTimeout ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockBulkWebConfigResourcePostPostParams
WithTimeout adds the timeout to the smartlock bulk web config resource post post params
func (*SmartlockBulkWebConfigResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockBulkWebConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockBulkWebConfigResourcePostPostReader ¶
type SmartlockBulkWebConfigResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockBulkWebConfigResourcePostPostReader is a Reader for the SmartlockBulkWebConfigResourcePostPost structure.
func (*SmartlockBulkWebConfigResourcePostPostReader) ReadResponse ¶
func (o *SmartlockBulkWebConfigResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockBulkWebConfigResourcePostPostUnauthorized ¶
type SmartlockBulkWebConfigResourcePostPostUnauthorized struct { }
SmartlockBulkWebConfigResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockBulkWebConfigResourcePostPostUnauthorized ¶
func NewSmartlockBulkWebConfigResourcePostPostUnauthorized() *SmartlockBulkWebConfigResourcePostPostUnauthorized
NewSmartlockBulkWebConfigResourcePostPostUnauthorized creates a SmartlockBulkWebConfigResourcePostPostUnauthorized with default headers values
func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) Code ¶
func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock bulk web config resource post post unauthorized response
func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) Error ¶
func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) Error() string
func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock bulk web config resource post post unauthorized response has a 4xx status code
func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock bulk web config resource post post unauthorized response a status code equal to that given
func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock bulk web config resource post post unauthorized response has a 3xx status code
func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock bulk web config resource post post unauthorized response has a 5xx status code
func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock bulk web config resource post post unauthorized response has a 2xx status code
func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) String ¶
func (o *SmartlockBulkWebConfigResourcePostPostUnauthorized) String() string
type SmartlockConfigResourcePostPostBadRequest ¶
type SmartlockConfigResourcePostPostBadRequest struct { }
SmartlockConfigResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockConfigResourcePostPostBadRequest ¶
func NewSmartlockConfigResourcePostPostBadRequest() *SmartlockConfigResourcePostPostBadRequest
NewSmartlockConfigResourcePostPostBadRequest creates a SmartlockConfigResourcePostPostBadRequest with default headers values
func (*SmartlockConfigResourcePostPostBadRequest) Code ¶
func (o *SmartlockConfigResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock config resource post post bad request response
func (*SmartlockConfigResourcePostPostBadRequest) Error ¶
func (o *SmartlockConfigResourcePostPostBadRequest) Error() string
func (*SmartlockConfigResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockConfigResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock config resource post post bad request response has a 4xx status code
func (*SmartlockConfigResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockConfigResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock config resource post post bad request response a status code equal to that given
func (*SmartlockConfigResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockConfigResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock config resource post post bad request response has a 3xx status code
func (*SmartlockConfigResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockConfigResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock config resource post post bad request response has a 5xx status code
func (*SmartlockConfigResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockConfigResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock config resource post post bad request response has a 2xx status code
func (*SmartlockConfigResourcePostPostBadRequest) String ¶
func (o *SmartlockConfigResourcePostPostBadRequest) String() string
type SmartlockConfigResourcePostPostNoContent ¶
type SmartlockConfigResourcePostPostNoContent struct { }
SmartlockConfigResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockConfigResourcePostPostNoContent ¶
func NewSmartlockConfigResourcePostPostNoContent() *SmartlockConfigResourcePostPostNoContent
NewSmartlockConfigResourcePostPostNoContent creates a SmartlockConfigResourcePostPostNoContent with default headers values
func (*SmartlockConfigResourcePostPostNoContent) Code ¶
func (o *SmartlockConfigResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock config resource post post no content response
func (*SmartlockConfigResourcePostPostNoContent) Error ¶
func (o *SmartlockConfigResourcePostPostNoContent) Error() string
func (*SmartlockConfigResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockConfigResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock config resource post post no content response has a 4xx status code
func (*SmartlockConfigResourcePostPostNoContent) IsCode ¶
func (o *SmartlockConfigResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock config resource post post no content response a status code equal to that given
func (*SmartlockConfigResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockConfigResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock config resource post post no content response has a 3xx status code
func (*SmartlockConfigResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockConfigResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock config resource post post no content response has a 5xx status code
func (*SmartlockConfigResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockConfigResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock config resource post post no content response has a 2xx status code
func (*SmartlockConfigResourcePostPostNoContent) String ¶
func (o *SmartlockConfigResourcePostPostNoContent) String() string
type SmartlockConfigResourcePostPostParams ¶
type SmartlockConfigResourcePostPostParams struct { /* Body. Smartlock config update representation */ Body *models.SmartlockConfig /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockConfigResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock config resource post post operation. Typically these are written to a http.Request.
func NewSmartlockConfigResourcePostPostParams ¶
func NewSmartlockConfigResourcePostPostParams() *SmartlockConfigResourcePostPostParams
NewSmartlockConfigResourcePostPostParams creates a new SmartlockConfigResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockConfigResourcePostPostParamsWithContext ¶
func NewSmartlockConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockConfigResourcePostPostParams
NewSmartlockConfigResourcePostPostParamsWithContext creates a new SmartlockConfigResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockConfigResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockConfigResourcePostPostParams
NewSmartlockConfigResourcePostPostParamsWithHTTPClient creates a new SmartlockConfigResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockConfigResourcePostPostParamsWithTimeout ¶
func NewSmartlockConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockConfigResourcePostPostParams
NewSmartlockConfigResourcePostPostParamsWithTimeout creates a new SmartlockConfigResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockConfigResourcePostPostParams) SetBody ¶
func (o *SmartlockConfigResourcePostPostParams) SetBody(body *models.SmartlockConfig)
SetBody adds the body to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) SetContext ¶
func (o *SmartlockConfigResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) SetDefaults ¶
func (o *SmartlockConfigResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockConfigResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) SetTimeout ¶
func (o *SmartlockConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) WithBody ¶
func (o *SmartlockConfigResourcePostPostParams) WithBody(body *models.SmartlockConfig) *SmartlockConfigResourcePostPostParams
WithBody adds the body to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) WithContext ¶
func (o *SmartlockConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockConfigResourcePostPostParams
WithContext adds the context to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) WithDefaults ¶
func (o *SmartlockConfigResourcePostPostParams) WithDefaults() *SmartlockConfigResourcePostPostParams
WithDefaults hydrates default values in the smartlock config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockConfigResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockConfigResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockConfigResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) WithTimeout ¶
func (o *SmartlockConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockConfigResourcePostPostParams
WithTimeout adds the timeout to the smartlock config resource post post params
func (*SmartlockConfigResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockConfigResourcePostPostReader ¶
type SmartlockConfigResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockConfigResourcePostPostReader is a Reader for the SmartlockConfigResourcePostPost structure.
func (*SmartlockConfigResourcePostPostReader) ReadResponse ¶
func (o *SmartlockConfigResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockConfigResourcePostPostUnauthorized ¶
type SmartlockConfigResourcePostPostUnauthorized struct { }
SmartlockConfigResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockConfigResourcePostPostUnauthorized ¶
func NewSmartlockConfigResourcePostPostUnauthorized() *SmartlockConfigResourcePostPostUnauthorized
NewSmartlockConfigResourcePostPostUnauthorized creates a SmartlockConfigResourcePostPostUnauthorized with default headers values
func (*SmartlockConfigResourcePostPostUnauthorized) Code ¶
func (o *SmartlockConfigResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock config resource post post unauthorized response
func (*SmartlockConfigResourcePostPostUnauthorized) Error ¶
func (o *SmartlockConfigResourcePostPostUnauthorized) Error() string
func (*SmartlockConfigResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockConfigResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock config resource post post unauthorized response has a 4xx status code
func (*SmartlockConfigResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockConfigResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock config resource post post unauthorized response a status code equal to that given
func (*SmartlockConfigResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockConfigResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock config resource post post unauthorized response has a 3xx status code
func (*SmartlockConfigResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockConfigResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock config resource post post unauthorized response has a 5xx status code
func (*SmartlockConfigResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockConfigResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock config resource post post unauthorized response has a 2xx status code
func (*SmartlockConfigResourcePostPostUnauthorized) String ¶
func (o *SmartlockConfigResourcePostPostUnauthorized) String() string
type SmartlockLockActionResourcePostLockPostBadRequest ¶
type SmartlockLockActionResourcePostLockPostBadRequest struct { }
SmartlockLockActionResourcePostLockPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewSmartlockLockActionResourcePostLockPostBadRequest ¶
func NewSmartlockLockActionResourcePostLockPostBadRequest() *SmartlockLockActionResourcePostLockPostBadRequest
NewSmartlockLockActionResourcePostLockPostBadRequest creates a SmartlockLockActionResourcePostLockPostBadRequest with default headers values
func (*SmartlockLockActionResourcePostLockPostBadRequest) Code ¶
func (o *SmartlockLockActionResourcePostLockPostBadRequest) Code() int
Code gets the status code for the smartlock lock action resource post lock post bad request response
func (*SmartlockLockActionResourcePostLockPostBadRequest) Error ¶
func (o *SmartlockLockActionResourcePostLockPostBadRequest) Error() string
func (*SmartlockLockActionResourcePostLockPostBadRequest) IsClientError ¶
func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock lock action resource post lock post bad request response has a 4xx status code
func (*SmartlockLockActionResourcePostLockPostBadRequest) IsCode ¶
func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock lock action resource post lock post bad request response a status code equal to that given
func (*SmartlockLockActionResourcePostLockPostBadRequest) IsRedirect ¶
func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock lock action resource post lock post bad request response has a 3xx status code
func (*SmartlockLockActionResourcePostLockPostBadRequest) IsServerError ¶
func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock lock action resource post lock post bad request response has a 5xx status code
func (*SmartlockLockActionResourcePostLockPostBadRequest) IsSuccess ¶
func (o *SmartlockLockActionResourcePostLockPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock lock action resource post lock post bad request response has a 2xx status code
func (*SmartlockLockActionResourcePostLockPostBadRequest) String ¶
func (o *SmartlockLockActionResourcePostLockPostBadRequest) String() string
type SmartlockLockActionResourcePostLockPostMethodNotAllowed ¶
type SmartlockLockActionResourcePostLockPostMethodNotAllowed struct { }
SmartlockLockActionResourcePostLockPostMethodNotAllowed describes a response with status code 405, with default header values.
Not allowed
func NewSmartlockLockActionResourcePostLockPostMethodNotAllowed ¶
func NewSmartlockLockActionResourcePostLockPostMethodNotAllowed() *SmartlockLockActionResourcePostLockPostMethodNotAllowed
NewSmartlockLockActionResourcePostLockPostMethodNotAllowed creates a SmartlockLockActionResourcePostLockPostMethodNotAllowed with default headers values
func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) Code ¶
func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) Code() int
Code gets the status code for the smartlock lock action resource post lock post method not allowed response
func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) Error ¶
func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) Error() string
func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsClientError ¶
func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsClientError() bool
IsClientError returns true when this smartlock lock action resource post lock post method not allowed response has a 4xx status code
func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsCode ¶
func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this smartlock lock action resource post lock post method not allowed response a status code equal to that given
func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsRedirect ¶
func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this smartlock lock action resource post lock post method not allowed response has a 3xx status code
func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsServerError ¶
func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsServerError() bool
IsServerError returns true when this smartlock lock action resource post lock post method not allowed response has a 5xx status code
func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsSuccess ¶
func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this smartlock lock action resource post lock post method not allowed response has a 2xx status code
func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) String ¶
func (o *SmartlockLockActionResourcePostLockPostMethodNotAllowed) String() string
type SmartlockLockActionResourcePostLockPostNoContent ¶
type SmartlockLockActionResourcePostLockPostNoContent struct { }
SmartlockLockActionResourcePostLockPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockLockActionResourcePostLockPostNoContent ¶
func NewSmartlockLockActionResourcePostLockPostNoContent() *SmartlockLockActionResourcePostLockPostNoContent
NewSmartlockLockActionResourcePostLockPostNoContent creates a SmartlockLockActionResourcePostLockPostNoContent with default headers values
func (*SmartlockLockActionResourcePostLockPostNoContent) Code ¶
func (o *SmartlockLockActionResourcePostLockPostNoContent) Code() int
Code gets the status code for the smartlock lock action resource post lock post no content response
func (*SmartlockLockActionResourcePostLockPostNoContent) Error ¶
func (o *SmartlockLockActionResourcePostLockPostNoContent) Error() string
func (*SmartlockLockActionResourcePostLockPostNoContent) IsClientError ¶
func (o *SmartlockLockActionResourcePostLockPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock lock action resource post lock post no content response has a 4xx status code
func (*SmartlockLockActionResourcePostLockPostNoContent) IsCode ¶
func (o *SmartlockLockActionResourcePostLockPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock lock action resource post lock post no content response a status code equal to that given
func (*SmartlockLockActionResourcePostLockPostNoContent) IsRedirect ¶
func (o *SmartlockLockActionResourcePostLockPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock lock action resource post lock post no content response has a 3xx status code
func (*SmartlockLockActionResourcePostLockPostNoContent) IsServerError ¶
func (o *SmartlockLockActionResourcePostLockPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock lock action resource post lock post no content response has a 5xx status code
func (*SmartlockLockActionResourcePostLockPostNoContent) IsSuccess ¶
func (o *SmartlockLockActionResourcePostLockPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock lock action resource post lock post no content response has a 2xx status code
func (*SmartlockLockActionResourcePostLockPostNoContent) String ¶
func (o *SmartlockLockActionResourcePostLockPostNoContent) String() string
type SmartlockLockActionResourcePostLockPostParams ¶
type SmartlockLockActionResourcePostLockPostParams struct { /* SmartlockID. The smartlock id */ SmartlockID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockLockActionResourcePostLockPostParams contains all the parameters to send to the API endpoint
for the smartlock lock action resource post lock post operation. Typically these are written to a http.Request.
func NewSmartlockLockActionResourcePostLockPostParams ¶
func NewSmartlockLockActionResourcePostLockPostParams() *SmartlockLockActionResourcePostLockPostParams
NewSmartlockLockActionResourcePostLockPostParams creates a new SmartlockLockActionResourcePostLockPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockLockActionResourcePostLockPostParamsWithContext ¶
func NewSmartlockLockActionResourcePostLockPostParamsWithContext(ctx context.Context) *SmartlockLockActionResourcePostLockPostParams
NewSmartlockLockActionResourcePostLockPostParamsWithContext creates a new SmartlockLockActionResourcePostLockPostParams object with the ability to set a context for a request.
func NewSmartlockLockActionResourcePostLockPostParamsWithHTTPClient ¶
func NewSmartlockLockActionResourcePostLockPostParamsWithHTTPClient(client *http.Client) *SmartlockLockActionResourcePostLockPostParams
NewSmartlockLockActionResourcePostLockPostParamsWithHTTPClient creates a new SmartlockLockActionResourcePostLockPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockLockActionResourcePostLockPostParamsWithTimeout ¶
func NewSmartlockLockActionResourcePostLockPostParamsWithTimeout(timeout time.Duration) *SmartlockLockActionResourcePostLockPostParams
NewSmartlockLockActionResourcePostLockPostParamsWithTimeout creates a new SmartlockLockActionResourcePostLockPostParams object with the ability to set a timeout on a request.
func (*SmartlockLockActionResourcePostLockPostParams) SetContext ¶
func (o *SmartlockLockActionResourcePostLockPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock lock action resource post lock post params
func (*SmartlockLockActionResourcePostLockPostParams) SetDefaults ¶
func (o *SmartlockLockActionResourcePostLockPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock lock action resource post lock post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockLockActionResourcePostLockPostParams) SetHTTPClient ¶
func (o *SmartlockLockActionResourcePostLockPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock lock action resource post lock post params
func (*SmartlockLockActionResourcePostLockPostParams) SetSmartlockID ¶
func (o *SmartlockLockActionResourcePostLockPostParams) SetSmartlockID(smartlockID string)
SetSmartlockID adds the smartlockId to the smartlock lock action resource post lock post params
func (*SmartlockLockActionResourcePostLockPostParams) SetTimeout ¶
func (o *SmartlockLockActionResourcePostLockPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock lock action resource post lock post params
func (*SmartlockLockActionResourcePostLockPostParams) WithContext ¶
func (o *SmartlockLockActionResourcePostLockPostParams) WithContext(ctx context.Context) *SmartlockLockActionResourcePostLockPostParams
WithContext adds the context to the smartlock lock action resource post lock post params
func (*SmartlockLockActionResourcePostLockPostParams) WithDefaults ¶
func (o *SmartlockLockActionResourcePostLockPostParams) WithDefaults() *SmartlockLockActionResourcePostLockPostParams
WithDefaults hydrates default values in the smartlock lock action resource post lock post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockLockActionResourcePostLockPostParams) WithHTTPClient ¶
func (o *SmartlockLockActionResourcePostLockPostParams) WithHTTPClient(client *http.Client) *SmartlockLockActionResourcePostLockPostParams
WithHTTPClient adds the HTTPClient to the smartlock lock action resource post lock post params
func (*SmartlockLockActionResourcePostLockPostParams) WithSmartlockID ¶
func (o *SmartlockLockActionResourcePostLockPostParams) WithSmartlockID(smartlockID string) *SmartlockLockActionResourcePostLockPostParams
WithSmartlockID adds the smartlockID to the smartlock lock action resource post lock post params
func (*SmartlockLockActionResourcePostLockPostParams) WithTimeout ¶
func (o *SmartlockLockActionResourcePostLockPostParams) WithTimeout(timeout time.Duration) *SmartlockLockActionResourcePostLockPostParams
WithTimeout adds the timeout to the smartlock lock action resource post lock post params
func (*SmartlockLockActionResourcePostLockPostParams) WriteToRequest ¶
func (o *SmartlockLockActionResourcePostLockPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockLockActionResourcePostLockPostReader ¶
type SmartlockLockActionResourcePostLockPostReader struct {
// contains filtered or unexported fields
}
SmartlockLockActionResourcePostLockPostReader is a Reader for the SmartlockLockActionResourcePostLockPost structure.
func (*SmartlockLockActionResourcePostLockPostReader) ReadResponse ¶
func (o *SmartlockLockActionResourcePostLockPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockLockActionResourcePostLockPostUnauthorized ¶
type SmartlockLockActionResourcePostLockPostUnauthorized struct { }
SmartlockLockActionResourcePostLockPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockLockActionResourcePostLockPostUnauthorized ¶
func NewSmartlockLockActionResourcePostLockPostUnauthorized() *SmartlockLockActionResourcePostLockPostUnauthorized
NewSmartlockLockActionResourcePostLockPostUnauthorized creates a SmartlockLockActionResourcePostLockPostUnauthorized with default headers values
func (*SmartlockLockActionResourcePostLockPostUnauthorized) Code ¶
func (o *SmartlockLockActionResourcePostLockPostUnauthorized) Code() int
Code gets the status code for the smartlock lock action resource post lock post unauthorized response
func (*SmartlockLockActionResourcePostLockPostUnauthorized) Error ¶
func (o *SmartlockLockActionResourcePostLockPostUnauthorized) Error() string
func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsClientError ¶
func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock lock action resource post lock post unauthorized response has a 4xx status code
func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsCode ¶
func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock lock action resource post lock post unauthorized response a status code equal to that given
func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsRedirect ¶
func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock lock action resource post lock post unauthorized response has a 3xx status code
func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsServerError ¶
func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock lock action resource post lock post unauthorized response has a 5xx status code
func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsSuccess ¶
func (o *SmartlockLockActionResourcePostLockPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock lock action resource post lock post unauthorized response has a 2xx status code
func (*SmartlockLockActionResourcePostLockPostUnauthorized) String ¶
func (o *SmartlockLockActionResourcePostLockPostUnauthorized) String() string
type SmartlockOpenerAdvancedConfigResourcePostPostBadRequest ¶
type SmartlockOpenerAdvancedConfigResourcePostPostBadRequest struct { }
SmartlockOpenerAdvancedConfigResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockOpenerAdvancedConfigResourcePostPostBadRequest ¶
func NewSmartlockOpenerAdvancedConfigResourcePostPostBadRequest() *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest
NewSmartlockOpenerAdvancedConfigResourcePostPostBadRequest creates a SmartlockOpenerAdvancedConfigResourcePostPostBadRequest with default headers values
func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) Code ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock opener advanced config resource post post bad request response
func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) Error ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) Error() string
func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock opener advanced config resource post post bad request response has a 4xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock opener advanced config resource post post bad request response a status code equal to that given
func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock opener advanced config resource post post bad request response has a 3xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock opener advanced config resource post post bad request response has a 5xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock opener advanced config resource post post bad request response has a 2xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) String ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) String() string
type SmartlockOpenerAdvancedConfigResourcePostPostNoContent ¶
type SmartlockOpenerAdvancedConfigResourcePostPostNoContent struct { }
SmartlockOpenerAdvancedConfigResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockOpenerAdvancedConfigResourcePostPostNoContent ¶
func NewSmartlockOpenerAdvancedConfigResourcePostPostNoContent() *SmartlockOpenerAdvancedConfigResourcePostPostNoContent
NewSmartlockOpenerAdvancedConfigResourcePostPostNoContent creates a SmartlockOpenerAdvancedConfigResourcePostPostNoContent with default headers values
func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) Code ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock opener advanced config resource post post no content response
func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) Error ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) Error() string
func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock opener advanced config resource post post no content response has a 4xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsCode ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock opener advanced config resource post post no content response a status code equal to that given
func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock opener advanced config resource post post no content response has a 3xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock opener advanced config resource post post no content response has a 5xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock opener advanced config resource post post no content response has a 2xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) String ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostNoContent) String() string
type SmartlockOpenerAdvancedConfigResourcePostPostParams ¶
type SmartlockOpenerAdvancedConfigResourcePostPostParams struct { /* Body. Opener advanced config update representation */ Body *models.SmartlockOpenerAdvancedConfig /* SmartlockID. The smartlock (opener) id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockOpenerAdvancedConfigResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock opener advanced config resource post post operation. Typically these are written to a http.Request.
func NewSmartlockOpenerAdvancedConfigResourcePostPostParams ¶
func NewSmartlockOpenerAdvancedConfigResourcePostPostParams() *SmartlockOpenerAdvancedConfigResourcePostPostParams
NewSmartlockOpenerAdvancedConfigResourcePostPostParams creates a new SmartlockOpenerAdvancedConfigResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithContext ¶
func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockOpenerAdvancedConfigResourcePostPostParams
NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithContext creates a new SmartlockOpenerAdvancedConfigResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockOpenerAdvancedConfigResourcePostPostParams
NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithHTTPClient creates a new SmartlockOpenerAdvancedConfigResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithTimeout ¶
func NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockOpenerAdvancedConfigResourcePostPostParams
NewSmartlockOpenerAdvancedConfigResourcePostPostParamsWithTimeout creates a new SmartlockOpenerAdvancedConfigResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) SetBody ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetBody(body *models.SmartlockOpenerAdvancedConfig)
SetBody adds the body to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) SetContext ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) SetDefaults ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock opener advanced config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) SetTimeout ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithBody ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithBody(body *models.SmartlockOpenerAdvancedConfig) *SmartlockOpenerAdvancedConfigResourcePostPostParams
WithBody adds the body to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithContext ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockOpenerAdvancedConfigResourcePostPostParams
WithContext adds the context to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithDefaults ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithDefaults() *SmartlockOpenerAdvancedConfigResourcePostPostParams
WithDefaults hydrates default values in the smartlock opener advanced config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockOpenerAdvancedConfigResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockOpenerAdvancedConfigResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithTimeout ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockOpenerAdvancedConfigResourcePostPostParams
WithTimeout adds the timeout to the smartlock opener advanced config resource post post params
func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockOpenerAdvancedConfigResourcePostPostReader ¶
type SmartlockOpenerAdvancedConfigResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockOpenerAdvancedConfigResourcePostPostReader is a Reader for the SmartlockOpenerAdvancedConfigResourcePostPost structure.
func (*SmartlockOpenerAdvancedConfigResourcePostPostReader) ReadResponse ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized ¶
type SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized struct { }
SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockOpenerAdvancedConfigResourcePostPostUnauthorized ¶
func NewSmartlockOpenerAdvancedConfigResourcePostPostUnauthorized() *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized
NewSmartlockOpenerAdvancedConfigResourcePostPostUnauthorized creates a SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized with default headers values
func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) Code ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock opener advanced config resource post post unauthorized response
func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) Error ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) Error() string
func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock opener advanced config resource post post unauthorized response has a 4xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock opener advanced config resource post post unauthorized response a status code equal to that given
func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock opener advanced config resource post post unauthorized response has a 3xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock opener advanced config resource post post unauthorized response has a 5xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock opener advanced config resource post post unauthorized response has a 2xx status code
func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) String ¶
func (o *SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) String() string
type SmartlockResourceDeleteDeleteBadRequest ¶
type SmartlockResourceDeleteDeleteBadRequest struct { }
SmartlockResourceDeleteDeleteBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockResourceDeleteDeleteBadRequest ¶
func NewSmartlockResourceDeleteDeleteBadRequest() *SmartlockResourceDeleteDeleteBadRequest
NewSmartlockResourceDeleteDeleteBadRequest creates a SmartlockResourceDeleteDeleteBadRequest with default headers values
func (*SmartlockResourceDeleteDeleteBadRequest) Code ¶
func (o *SmartlockResourceDeleteDeleteBadRequest) Code() int
Code gets the status code for the smartlock resource delete delete bad request response
func (*SmartlockResourceDeleteDeleteBadRequest) Error ¶
func (o *SmartlockResourceDeleteDeleteBadRequest) Error() string
func (*SmartlockResourceDeleteDeleteBadRequest) IsClientError ¶
func (o *SmartlockResourceDeleteDeleteBadRequest) IsClientError() bool
IsClientError returns true when this smartlock resource delete delete bad request response has a 4xx status code
func (*SmartlockResourceDeleteDeleteBadRequest) IsCode ¶
func (o *SmartlockResourceDeleteDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock resource delete delete bad request response a status code equal to that given
func (*SmartlockResourceDeleteDeleteBadRequest) IsRedirect ¶
func (o *SmartlockResourceDeleteDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock resource delete delete bad request response has a 3xx status code
func (*SmartlockResourceDeleteDeleteBadRequest) IsServerError ¶
func (o *SmartlockResourceDeleteDeleteBadRequest) IsServerError() bool
IsServerError returns true when this smartlock resource delete delete bad request response has a 5xx status code
func (*SmartlockResourceDeleteDeleteBadRequest) IsSuccess ¶
func (o *SmartlockResourceDeleteDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock resource delete delete bad request response has a 2xx status code
func (*SmartlockResourceDeleteDeleteBadRequest) String ¶
func (o *SmartlockResourceDeleteDeleteBadRequest) String() string
type SmartlockResourceDeleteDeleteForbidden ¶
type SmartlockResourceDeleteDeleteForbidden struct { }
SmartlockResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlockResourceDeleteDeleteForbidden ¶
func NewSmartlockResourceDeleteDeleteForbidden() *SmartlockResourceDeleteDeleteForbidden
NewSmartlockResourceDeleteDeleteForbidden creates a SmartlockResourceDeleteDeleteForbidden with default headers values
func (*SmartlockResourceDeleteDeleteForbidden) Code ¶
func (o *SmartlockResourceDeleteDeleteForbidden) Code() int
Code gets the status code for the smartlock resource delete delete forbidden response
func (*SmartlockResourceDeleteDeleteForbidden) Error ¶
func (o *SmartlockResourceDeleteDeleteForbidden) Error() string
func (*SmartlockResourceDeleteDeleteForbidden) IsClientError ¶
func (o *SmartlockResourceDeleteDeleteForbidden) IsClientError() bool
IsClientError returns true when this smartlock resource delete delete forbidden response has a 4xx status code
func (*SmartlockResourceDeleteDeleteForbidden) IsCode ¶
func (o *SmartlockResourceDeleteDeleteForbidden) IsCode(code int) bool
IsCode returns true when this smartlock resource delete delete forbidden response a status code equal to that given
func (*SmartlockResourceDeleteDeleteForbidden) IsRedirect ¶
func (o *SmartlockResourceDeleteDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this smartlock resource delete delete forbidden response has a 3xx status code
func (*SmartlockResourceDeleteDeleteForbidden) IsServerError ¶
func (o *SmartlockResourceDeleteDeleteForbidden) IsServerError() bool
IsServerError returns true when this smartlock resource delete delete forbidden response has a 5xx status code
func (*SmartlockResourceDeleteDeleteForbidden) IsSuccess ¶
func (o *SmartlockResourceDeleteDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this smartlock resource delete delete forbidden response has a 2xx status code
func (*SmartlockResourceDeleteDeleteForbidden) String ¶
func (o *SmartlockResourceDeleteDeleteForbidden) String() string
type SmartlockResourceDeleteDeleteNoContent ¶
type SmartlockResourceDeleteDeleteNoContent struct { }
SmartlockResourceDeleteDeleteNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockResourceDeleteDeleteNoContent ¶
func NewSmartlockResourceDeleteDeleteNoContent() *SmartlockResourceDeleteDeleteNoContent
NewSmartlockResourceDeleteDeleteNoContent creates a SmartlockResourceDeleteDeleteNoContent with default headers values
func (*SmartlockResourceDeleteDeleteNoContent) Code ¶
func (o *SmartlockResourceDeleteDeleteNoContent) Code() int
Code gets the status code for the smartlock resource delete delete no content response
func (*SmartlockResourceDeleteDeleteNoContent) Error ¶
func (o *SmartlockResourceDeleteDeleteNoContent) Error() string
func (*SmartlockResourceDeleteDeleteNoContent) IsClientError ¶
func (o *SmartlockResourceDeleteDeleteNoContent) IsClientError() bool
IsClientError returns true when this smartlock resource delete delete no content response has a 4xx status code
func (*SmartlockResourceDeleteDeleteNoContent) IsCode ¶
func (o *SmartlockResourceDeleteDeleteNoContent) IsCode(code int) bool
IsCode returns true when this smartlock resource delete delete no content response a status code equal to that given
func (*SmartlockResourceDeleteDeleteNoContent) IsRedirect ¶
func (o *SmartlockResourceDeleteDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock resource delete delete no content response has a 3xx status code
func (*SmartlockResourceDeleteDeleteNoContent) IsServerError ¶
func (o *SmartlockResourceDeleteDeleteNoContent) IsServerError() bool
IsServerError returns true when this smartlock resource delete delete no content response has a 5xx status code
func (*SmartlockResourceDeleteDeleteNoContent) IsSuccess ¶
func (o *SmartlockResourceDeleteDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock resource delete delete no content response has a 2xx status code
func (*SmartlockResourceDeleteDeleteNoContent) String ¶
func (o *SmartlockResourceDeleteDeleteNoContent) String() string
type SmartlockResourceDeleteDeleteParams ¶
type SmartlockResourceDeleteDeleteParams struct { /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockResourceDeleteDeleteParams contains all the parameters to send to the API endpoint
for the smartlock resource delete delete operation. Typically these are written to a http.Request.
func NewSmartlockResourceDeleteDeleteParams ¶
func NewSmartlockResourceDeleteDeleteParams() *SmartlockResourceDeleteDeleteParams
NewSmartlockResourceDeleteDeleteParams creates a new SmartlockResourceDeleteDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockResourceDeleteDeleteParamsWithContext ¶
func NewSmartlockResourceDeleteDeleteParamsWithContext(ctx context.Context) *SmartlockResourceDeleteDeleteParams
NewSmartlockResourceDeleteDeleteParamsWithContext creates a new SmartlockResourceDeleteDeleteParams object with the ability to set a context for a request.
func NewSmartlockResourceDeleteDeleteParamsWithHTTPClient ¶
func NewSmartlockResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *SmartlockResourceDeleteDeleteParams
NewSmartlockResourceDeleteDeleteParamsWithHTTPClient creates a new SmartlockResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockResourceDeleteDeleteParamsWithTimeout ¶
func NewSmartlockResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *SmartlockResourceDeleteDeleteParams
NewSmartlockResourceDeleteDeleteParamsWithTimeout creates a new SmartlockResourceDeleteDeleteParams object with the ability to set a timeout on a request.
func (*SmartlockResourceDeleteDeleteParams) SetContext ¶
func (o *SmartlockResourceDeleteDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock resource delete delete params
func (*SmartlockResourceDeleteDeleteParams) SetDefaults ¶
func (o *SmartlockResourceDeleteDeleteParams) SetDefaults()
SetDefaults hydrates default values in the smartlock resource delete delete params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockResourceDeleteDeleteParams) SetHTTPClient ¶
func (o *SmartlockResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock resource delete delete params
func (*SmartlockResourceDeleteDeleteParams) SetSmartlockID ¶
func (o *SmartlockResourceDeleteDeleteParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock resource delete delete params
func (*SmartlockResourceDeleteDeleteParams) SetTimeout ¶
func (o *SmartlockResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock resource delete delete params
func (*SmartlockResourceDeleteDeleteParams) WithContext ¶
func (o *SmartlockResourceDeleteDeleteParams) WithContext(ctx context.Context) *SmartlockResourceDeleteDeleteParams
WithContext adds the context to the smartlock resource delete delete params
func (*SmartlockResourceDeleteDeleteParams) WithDefaults ¶
func (o *SmartlockResourceDeleteDeleteParams) WithDefaults() *SmartlockResourceDeleteDeleteParams
WithDefaults hydrates default values in the smartlock resource delete delete params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockResourceDeleteDeleteParams) WithHTTPClient ¶
func (o *SmartlockResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *SmartlockResourceDeleteDeleteParams
WithHTTPClient adds the HTTPClient to the smartlock resource delete delete params
func (*SmartlockResourceDeleteDeleteParams) WithSmartlockID ¶
func (o *SmartlockResourceDeleteDeleteParams) WithSmartlockID(smartlockID int64) *SmartlockResourceDeleteDeleteParams
WithSmartlockID adds the smartlockID to the smartlock resource delete delete params
func (*SmartlockResourceDeleteDeleteParams) WithTimeout ¶
func (o *SmartlockResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *SmartlockResourceDeleteDeleteParams
WithTimeout adds the timeout to the smartlock resource delete delete params
func (*SmartlockResourceDeleteDeleteParams) WriteToRequest ¶
func (o *SmartlockResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockResourceDeleteDeleteReader ¶
type SmartlockResourceDeleteDeleteReader struct {
// contains filtered or unexported fields
}
SmartlockResourceDeleteDeleteReader is a Reader for the SmartlockResourceDeleteDelete structure.
func (*SmartlockResourceDeleteDeleteReader) ReadResponse ¶
func (o *SmartlockResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockResourceDeleteDeleteUnauthorized ¶
type SmartlockResourceDeleteDeleteUnauthorized struct { }
SmartlockResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockResourceDeleteDeleteUnauthorized ¶
func NewSmartlockResourceDeleteDeleteUnauthorized() *SmartlockResourceDeleteDeleteUnauthorized
NewSmartlockResourceDeleteDeleteUnauthorized creates a SmartlockResourceDeleteDeleteUnauthorized with default headers values
func (*SmartlockResourceDeleteDeleteUnauthorized) Code ¶
func (o *SmartlockResourceDeleteDeleteUnauthorized) Code() int
Code gets the status code for the smartlock resource delete delete unauthorized response
func (*SmartlockResourceDeleteDeleteUnauthorized) Error ¶
func (o *SmartlockResourceDeleteDeleteUnauthorized) Error() string
func (*SmartlockResourceDeleteDeleteUnauthorized) IsClientError ¶
func (o *SmartlockResourceDeleteDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock resource delete delete unauthorized response has a 4xx status code
func (*SmartlockResourceDeleteDeleteUnauthorized) IsCode ¶
func (o *SmartlockResourceDeleteDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock resource delete delete unauthorized response a status code equal to that given
func (*SmartlockResourceDeleteDeleteUnauthorized) IsRedirect ¶
func (o *SmartlockResourceDeleteDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock resource delete delete unauthorized response has a 3xx status code
func (*SmartlockResourceDeleteDeleteUnauthorized) IsServerError ¶
func (o *SmartlockResourceDeleteDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock resource delete delete unauthorized response has a 5xx status code
func (*SmartlockResourceDeleteDeleteUnauthorized) IsSuccess ¶
func (o *SmartlockResourceDeleteDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock resource delete delete unauthorized response has a 2xx status code
func (*SmartlockResourceDeleteDeleteUnauthorized) String ¶
func (o *SmartlockResourceDeleteDeleteUnauthorized) String() string
type SmartlockResourceGetGetForbidden ¶
type SmartlockResourceGetGetForbidden struct { }
SmartlockResourceGetGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlockResourceGetGetForbidden ¶
func NewSmartlockResourceGetGetForbidden() *SmartlockResourceGetGetForbidden
NewSmartlockResourceGetGetForbidden creates a SmartlockResourceGetGetForbidden with default headers values
func (*SmartlockResourceGetGetForbidden) Code ¶
func (o *SmartlockResourceGetGetForbidden) Code() int
Code gets the status code for the smartlock resource get get forbidden response
func (*SmartlockResourceGetGetForbidden) Error ¶
func (o *SmartlockResourceGetGetForbidden) Error() string
func (*SmartlockResourceGetGetForbidden) IsClientError ¶
func (o *SmartlockResourceGetGetForbidden) IsClientError() bool
IsClientError returns true when this smartlock resource get get forbidden response has a 4xx status code
func (*SmartlockResourceGetGetForbidden) IsCode ¶
func (o *SmartlockResourceGetGetForbidden) IsCode(code int) bool
IsCode returns true when this smartlock resource get get forbidden response a status code equal to that given
func (*SmartlockResourceGetGetForbidden) IsRedirect ¶
func (o *SmartlockResourceGetGetForbidden) IsRedirect() bool
IsRedirect returns true when this smartlock resource get get forbidden response has a 3xx status code
func (*SmartlockResourceGetGetForbidden) IsServerError ¶
func (o *SmartlockResourceGetGetForbidden) IsServerError() bool
IsServerError returns true when this smartlock resource get get forbidden response has a 5xx status code
func (*SmartlockResourceGetGetForbidden) IsSuccess ¶
func (o *SmartlockResourceGetGetForbidden) IsSuccess() bool
IsSuccess returns true when this smartlock resource get get forbidden response has a 2xx status code
func (*SmartlockResourceGetGetForbidden) String ¶
func (o *SmartlockResourceGetGetForbidden) String() string
type SmartlockResourceGetGetNotFound ¶
type SmartlockResourceGetGetNotFound struct { }
SmartlockResourceGetGetNotFound describes a response with status code 404, with default header values.
Not found
func NewSmartlockResourceGetGetNotFound ¶
func NewSmartlockResourceGetGetNotFound() *SmartlockResourceGetGetNotFound
NewSmartlockResourceGetGetNotFound creates a SmartlockResourceGetGetNotFound with default headers values
func (*SmartlockResourceGetGetNotFound) Code ¶
func (o *SmartlockResourceGetGetNotFound) Code() int
Code gets the status code for the smartlock resource get get not found response
func (*SmartlockResourceGetGetNotFound) Error ¶
func (o *SmartlockResourceGetGetNotFound) Error() string
func (*SmartlockResourceGetGetNotFound) IsClientError ¶
func (o *SmartlockResourceGetGetNotFound) IsClientError() bool
IsClientError returns true when this smartlock resource get get not found response has a 4xx status code
func (*SmartlockResourceGetGetNotFound) IsCode ¶
func (o *SmartlockResourceGetGetNotFound) IsCode(code int) bool
IsCode returns true when this smartlock resource get get not found response a status code equal to that given
func (*SmartlockResourceGetGetNotFound) IsRedirect ¶
func (o *SmartlockResourceGetGetNotFound) IsRedirect() bool
IsRedirect returns true when this smartlock resource get get not found response has a 3xx status code
func (*SmartlockResourceGetGetNotFound) IsServerError ¶
func (o *SmartlockResourceGetGetNotFound) IsServerError() bool
IsServerError returns true when this smartlock resource get get not found response has a 5xx status code
func (*SmartlockResourceGetGetNotFound) IsSuccess ¶
func (o *SmartlockResourceGetGetNotFound) IsSuccess() bool
IsSuccess returns true when this smartlock resource get get not found response has a 2xx status code
func (*SmartlockResourceGetGetNotFound) String ¶
func (o *SmartlockResourceGetGetNotFound) String() string
type SmartlockResourceGetGetOK ¶
SmartlockResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewSmartlockResourceGetGetOK ¶
func NewSmartlockResourceGetGetOK() *SmartlockResourceGetGetOK
NewSmartlockResourceGetGetOK creates a SmartlockResourceGetGetOK with default headers values
func (*SmartlockResourceGetGetOK) Code ¶
func (o *SmartlockResourceGetGetOK) Code() int
Code gets the status code for the smartlock resource get get o k response
func (*SmartlockResourceGetGetOK) Error ¶
func (o *SmartlockResourceGetGetOK) Error() string
func (*SmartlockResourceGetGetOK) GetPayload ¶
func (o *SmartlockResourceGetGetOK) GetPayload() *models.Smartlock
func (*SmartlockResourceGetGetOK) IsClientError ¶
func (o *SmartlockResourceGetGetOK) IsClientError() bool
IsClientError returns true when this smartlock resource get get o k response has a 4xx status code
func (*SmartlockResourceGetGetOK) IsCode ¶
func (o *SmartlockResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this smartlock resource get get o k response a status code equal to that given
func (*SmartlockResourceGetGetOK) IsRedirect ¶
func (o *SmartlockResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this smartlock resource get get o k response has a 3xx status code
func (*SmartlockResourceGetGetOK) IsServerError ¶
func (o *SmartlockResourceGetGetOK) IsServerError() bool
IsServerError returns true when this smartlock resource get get o k response has a 5xx status code
func (*SmartlockResourceGetGetOK) IsSuccess ¶
func (o *SmartlockResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this smartlock resource get get o k response has a 2xx status code
func (*SmartlockResourceGetGetOK) String ¶
func (o *SmartlockResourceGetGetOK) String() string
type SmartlockResourceGetGetParams ¶
type SmartlockResourceGetGetParams struct { /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockResourceGetGetParams contains all the parameters to send to the API endpoint
for the smartlock resource get get operation. Typically these are written to a http.Request.
func NewSmartlockResourceGetGetParams ¶
func NewSmartlockResourceGetGetParams() *SmartlockResourceGetGetParams
NewSmartlockResourceGetGetParams creates a new SmartlockResourceGetGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockResourceGetGetParamsWithContext ¶
func NewSmartlockResourceGetGetParamsWithContext(ctx context.Context) *SmartlockResourceGetGetParams
NewSmartlockResourceGetGetParamsWithContext creates a new SmartlockResourceGetGetParams object with the ability to set a context for a request.
func NewSmartlockResourceGetGetParamsWithHTTPClient ¶
func NewSmartlockResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlockResourceGetGetParams
NewSmartlockResourceGetGetParamsWithHTTPClient creates a new SmartlockResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockResourceGetGetParamsWithTimeout ¶
func NewSmartlockResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlockResourceGetGetParams
NewSmartlockResourceGetGetParamsWithTimeout creates a new SmartlockResourceGetGetParams object with the ability to set a timeout on a request.
func (*SmartlockResourceGetGetParams) SetContext ¶
func (o *SmartlockResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock resource get get params
func (*SmartlockResourceGetGetParams) SetDefaults ¶
func (o *SmartlockResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the smartlock resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockResourceGetGetParams) SetHTTPClient ¶
func (o *SmartlockResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock resource get get params
func (*SmartlockResourceGetGetParams) SetSmartlockID ¶
func (o *SmartlockResourceGetGetParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock resource get get params
func (*SmartlockResourceGetGetParams) SetTimeout ¶
func (o *SmartlockResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock resource get get params
func (*SmartlockResourceGetGetParams) WithContext ¶
func (o *SmartlockResourceGetGetParams) WithContext(ctx context.Context) *SmartlockResourceGetGetParams
WithContext adds the context to the smartlock resource get get params
func (*SmartlockResourceGetGetParams) WithDefaults ¶
func (o *SmartlockResourceGetGetParams) WithDefaults() *SmartlockResourceGetGetParams
WithDefaults hydrates default values in the smartlock resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockResourceGetGetParams) WithHTTPClient ¶
func (o *SmartlockResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlockResourceGetGetParams
WithHTTPClient adds the HTTPClient to the smartlock resource get get params
func (*SmartlockResourceGetGetParams) WithSmartlockID ¶
func (o *SmartlockResourceGetGetParams) WithSmartlockID(smartlockID int64) *SmartlockResourceGetGetParams
WithSmartlockID adds the smartlockID to the smartlock resource get get params
func (*SmartlockResourceGetGetParams) WithTimeout ¶
func (o *SmartlockResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlockResourceGetGetParams
WithTimeout adds the timeout to the smartlock resource get get params
func (*SmartlockResourceGetGetParams) WriteToRequest ¶
func (o *SmartlockResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockResourceGetGetReader ¶
type SmartlockResourceGetGetReader struct {
// contains filtered or unexported fields
}
SmartlockResourceGetGetReader is a Reader for the SmartlockResourceGetGet structure.
func (*SmartlockResourceGetGetReader) ReadResponse ¶
func (o *SmartlockResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockResourceGetGetUnauthorized ¶
type SmartlockResourceGetGetUnauthorized struct { }
SmartlockResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockResourceGetGetUnauthorized ¶
func NewSmartlockResourceGetGetUnauthorized() *SmartlockResourceGetGetUnauthorized
NewSmartlockResourceGetGetUnauthorized creates a SmartlockResourceGetGetUnauthorized with default headers values
func (*SmartlockResourceGetGetUnauthorized) Code ¶
func (o *SmartlockResourceGetGetUnauthorized) Code() int
Code gets the status code for the smartlock resource get get unauthorized response
func (*SmartlockResourceGetGetUnauthorized) Error ¶
func (o *SmartlockResourceGetGetUnauthorized) Error() string
func (*SmartlockResourceGetGetUnauthorized) IsClientError ¶
func (o *SmartlockResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock resource get get unauthorized response has a 4xx status code
func (*SmartlockResourceGetGetUnauthorized) IsCode ¶
func (o *SmartlockResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock resource get get unauthorized response a status code equal to that given
func (*SmartlockResourceGetGetUnauthorized) IsRedirect ¶
func (o *SmartlockResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock resource get get unauthorized response has a 3xx status code
func (*SmartlockResourceGetGetUnauthorized) IsServerError ¶
func (o *SmartlockResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock resource get get unauthorized response has a 5xx status code
func (*SmartlockResourceGetGetUnauthorized) IsSuccess ¶
func (o *SmartlockResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock resource get get unauthorized response has a 2xx status code
func (*SmartlockResourceGetGetUnauthorized) String ¶
func (o *SmartlockResourceGetGetUnauthorized) String() string
type SmartlockResourcePostPostBadRequest ¶
type SmartlockResourcePostPostBadRequest struct { }
SmartlockResourcePostPostBadRequest describes a response with status code 400, with default header values.
Invalid parameter given
func NewSmartlockResourcePostPostBadRequest ¶
func NewSmartlockResourcePostPostBadRequest() *SmartlockResourcePostPostBadRequest
NewSmartlockResourcePostPostBadRequest creates a SmartlockResourcePostPostBadRequest with default headers values
func (*SmartlockResourcePostPostBadRequest) Code ¶
func (o *SmartlockResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock resource post post bad request response
func (*SmartlockResourcePostPostBadRequest) Error ¶
func (o *SmartlockResourcePostPostBadRequest) Error() string
func (*SmartlockResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock resource post post bad request response has a 4xx status code
func (*SmartlockResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock resource post post bad request response a status code equal to that given
func (*SmartlockResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock resource post post bad request response has a 3xx status code
func (*SmartlockResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock resource post post bad request response has a 5xx status code
func (*SmartlockResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock resource post post bad request response has a 2xx status code
func (*SmartlockResourcePostPostBadRequest) String ¶
func (o *SmartlockResourcePostPostBadRequest) String() string
type SmartlockResourcePostPostForbidden ¶
type SmartlockResourcePostPostForbidden struct { }
SmartlockResourcePostPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlockResourcePostPostForbidden ¶
func NewSmartlockResourcePostPostForbidden() *SmartlockResourcePostPostForbidden
NewSmartlockResourcePostPostForbidden creates a SmartlockResourcePostPostForbidden with default headers values
func (*SmartlockResourcePostPostForbidden) Code ¶
func (o *SmartlockResourcePostPostForbidden) Code() int
Code gets the status code for the smartlock resource post post forbidden response
func (*SmartlockResourcePostPostForbidden) Error ¶
func (o *SmartlockResourcePostPostForbidden) Error() string
func (*SmartlockResourcePostPostForbidden) IsClientError ¶
func (o *SmartlockResourcePostPostForbidden) IsClientError() bool
IsClientError returns true when this smartlock resource post post forbidden response has a 4xx status code
func (*SmartlockResourcePostPostForbidden) IsCode ¶
func (o *SmartlockResourcePostPostForbidden) IsCode(code int) bool
IsCode returns true when this smartlock resource post post forbidden response a status code equal to that given
func (*SmartlockResourcePostPostForbidden) IsRedirect ¶
func (o *SmartlockResourcePostPostForbidden) IsRedirect() bool
IsRedirect returns true when this smartlock resource post post forbidden response has a 3xx status code
func (*SmartlockResourcePostPostForbidden) IsServerError ¶
func (o *SmartlockResourcePostPostForbidden) IsServerError() bool
IsServerError returns true when this smartlock resource post post forbidden response has a 5xx status code
func (*SmartlockResourcePostPostForbidden) IsSuccess ¶
func (o *SmartlockResourcePostPostForbidden) IsSuccess() bool
IsSuccess returns true when this smartlock resource post post forbidden response has a 2xx status code
func (*SmartlockResourcePostPostForbidden) String ¶
func (o *SmartlockResourcePostPostForbidden) String() string
type SmartlockResourcePostPostNoContent ¶
type SmartlockResourcePostPostNoContent struct { }
SmartlockResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockResourcePostPostNoContent ¶
func NewSmartlockResourcePostPostNoContent() *SmartlockResourcePostPostNoContent
NewSmartlockResourcePostPostNoContent creates a SmartlockResourcePostPostNoContent with default headers values
func (*SmartlockResourcePostPostNoContent) Code ¶
func (o *SmartlockResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock resource post post no content response
func (*SmartlockResourcePostPostNoContent) Error ¶
func (o *SmartlockResourcePostPostNoContent) Error() string
func (*SmartlockResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock resource post post no content response has a 4xx status code
func (*SmartlockResourcePostPostNoContent) IsCode ¶
func (o *SmartlockResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock resource post post no content response a status code equal to that given
func (*SmartlockResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock resource post post no content response has a 3xx status code
func (*SmartlockResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock resource post post no content response has a 5xx status code
func (*SmartlockResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock resource post post no content response has a 2xx status code
func (*SmartlockResourcePostPostNoContent) String ¶
func (o *SmartlockResourcePostPostNoContent) String() string
type SmartlockResourcePostPostParams ¶
type SmartlockResourcePostPostParams struct { /* Body. Smartlock update representation */ Body *models.SmartlockUpdate /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock resource post post operation. Typically these are written to a http.Request.
func NewSmartlockResourcePostPostParams ¶
func NewSmartlockResourcePostPostParams() *SmartlockResourcePostPostParams
NewSmartlockResourcePostPostParams creates a new SmartlockResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockResourcePostPostParamsWithContext ¶
func NewSmartlockResourcePostPostParamsWithContext(ctx context.Context) *SmartlockResourcePostPostParams
NewSmartlockResourcePostPostParamsWithContext creates a new SmartlockResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockResourcePostPostParams
NewSmartlockResourcePostPostParamsWithHTTPClient creates a new SmartlockResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockResourcePostPostParamsWithTimeout ¶
func NewSmartlockResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockResourcePostPostParams
NewSmartlockResourcePostPostParamsWithTimeout creates a new SmartlockResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockResourcePostPostParams) SetBody ¶
func (o *SmartlockResourcePostPostParams) SetBody(body *models.SmartlockUpdate)
SetBody adds the body to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) SetContext ¶
func (o *SmartlockResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) SetDefaults ¶
func (o *SmartlockResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockResourcePostPostParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) SetTimeout ¶
func (o *SmartlockResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) WithBody ¶
func (o *SmartlockResourcePostPostParams) WithBody(body *models.SmartlockUpdate) *SmartlockResourcePostPostParams
WithBody adds the body to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) WithContext ¶
func (o *SmartlockResourcePostPostParams) WithContext(ctx context.Context) *SmartlockResourcePostPostParams
WithContext adds the context to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) WithDefaults ¶
func (o *SmartlockResourcePostPostParams) WithDefaults() *SmartlockResourcePostPostParams
WithDefaults hydrates default values in the smartlock resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) WithTimeout ¶
func (o *SmartlockResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockResourcePostPostParams
WithTimeout adds the timeout to the smartlock resource post post params
func (*SmartlockResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockResourcePostPostReader ¶
type SmartlockResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockResourcePostPostReader is a Reader for the SmartlockResourcePostPost structure.
func (*SmartlockResourcePostPostReader) ReadResponse ¶
func (o *SmartlockResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockResourcePostPostUnauthorized ¶
type SmartlockResourcePostPostUnauthorized struct { }
SmartlockResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockResourcePostPostUnauthorized ¶
func NewSmartlockResourcePostPostUnauthorized() *SmartlockResourcePostPostUnauthorized
NewSmartlockResourcePostPostUnauthorized creates a SmartlockResourcePostPostUnauthorized with default headers values
func (*SmartlockResourcePostPostUnauthorized) Code ¶
func (o *SmartlockResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock resource post post unauthorized response
func (*SmartlockResourcePostPostUnauthorized) Error ¶
func (o *SmartlockResourcePostPostUnauthorized) Error() string
func (*SmartlockResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock resource post post unauthorized response has a 4xx status code
func (*SmartlockResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock resource post post unauthorized response a status code equal to that given
func (*SmartlockResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock resource post post unauthorized response has a 3xx status code
func (*SmartlockResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock resource post post unauthorized response has a 5xx status code
func (*SmartlockResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock resource post post unauthorized response has a 2xx status code
func (*SmartlockResourcePostPostUnauthorized) String ¶
func (o *SmartlockResourcePostPostUnauthorized) String() string
type SmartlockSyncResourcePostPostBadRequest ¶
type SmartlockSyncResourcePostPostBadRequest struct { }
SmartlockSyncResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewSmartlockSyncResourcePostPostBadRequest ¶
func NewSmartlockSyncResourcePostPostBadRequest() *SmartlockSyncResourcePostPostBadRequest
NewSmartlockSyncResourcePostPostBadRequest creates a SmartlockSyncResourcePostPostBadRequest with default headers values
func (*SmartlockSyncResourcePostPostBadRequest) Code ¶
func (o *SmartlockSyncResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock sync resource post post bad request response
func (*SmartlockSyncResourcePostPostBadRequest) Error ¶
func (o *SmartlockSyncResourcePostPostBadRequest) Error() string
func (*SmartlockSyncResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockSyncResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock sync resource post post bad request response has a 4xx status code
func (*SmartlockSyncResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockSyncResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock sync resource post post bad request response a status code equal to that given
func (*SmartlockSyncResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockSyncResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock sync resource post post bad request response has a 3xx status code
func (*SmartlockSyncResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockSyncResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock sync resource post post bad request response has a 5xx status code
func (*SmartlockSyncResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockSyncResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock sync resource post post bad request response has a 2xx status code
func (*SmartlockSyncResourcePostPostBadRequest) String ¶
func (o *SmartlockSyncResourcePostPostBadRequest) String() string
type SmartlockSyncResourcePostPostNoContent ¶
type SmartlockSyncResourcePostPostNoContent struct { }
SmartlockSyncResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockSyncResourcePostPostNoContent ¶
func NewSmartlockSyncResourcePostPostNoContent() *SmartlockSyncResourcePostPostNoContent
NewSmartlockSyncResourcePostPostNoContent creates a SmartlockSyncResourcePostPostNoContent with default headers values
func (*SmartlockSyncResourcePostPostNoContent) Code ¶
func (o *SmartlockSyncResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock sync resource post post no content response
func (*SmartlockSyncResourcePostPostNoContent) Error ¶
func (o *SmartlockSyncResourcePostPostNoContent) Error() string
func (*SmartlockSyncResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockSyncResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock sync resource post post no content response has a 4xx status code
func (*SmartlockSyncResourcePostPostNoContent) IsCode ¶
func (o *SmartlockSyncResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock sync resource post post no content response a status code equal to that given
func (*SmartlockSyncResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockSyncResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock sync resource post post no content response has a 3xx status code
func (*SmartlockSyncResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockSyncResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock sync resource post post no content response has a 5xx status code
func (*SmartlockSyncResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockSyncResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock sync resource post post no content response has a 2xx status code
func (*SmartlockSyncResourcePostPostNoContent) String ¶
func (o *SmartlockSyncResourcePostPostNoContent) String() string
type SmartlockSyncResourcePostPostParams ¶
type SmartlockSyncResourcePostPostParams struct { /* SmartlockID. The smartlock id */ SmartlockID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockSyncResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock sync resource post post operation. Typically these are written to a http.Request.
func NewSmartlockSyncResourcePostPostParams ¶
func NewSmartlockSyncResourcePostPostParams() *SmartlockSyncResourcePostPostParams
NewSmartlockSyncResourcePostPostParams creates a new SmartlockSyncResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockSyncResourcePostPostParamsWithContext ¶
func NewSmartlockSyncResourcePostPostParamsWithContext(ctx context.Context) *SmartlockSyncResourcePostPostParams
NewSmartlockSyncResourcePostPostParamsWithContext creates a new SmartlockSyncResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockSyncResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockSyncResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockSyncResourcePostPostParams
NewSmartlockSyncResourcePostPostParamsWithHTTPClient creates a new SmartlockSyncResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockSyncResourcePostPostParamsWithTimeout ¶
func NewSmartlockSyncResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockSyncResourcePostPostParams
NewSmartlockSyncResourcePostPostParamsWithTimeout creates a new SmartlockSyncResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockSyncResourcePostPostParams) SetContext ¶
func (o *SmartlockSyncResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock sync resource post post params
func (*SmartlockSyncResourcePostPostParams) SetDefaults ¶
func (o *SmartlockSyncResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock sync resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockSyncResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockSyncResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock sync resource post post params
func (*SmartlockSyncResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockSyncResourcePostPostParams) SetSmartlockID(smartlockID string)
SetSmartlockID adds the smartlockId to the smartlock sync resource post post params
func (*SmartlockSyncResourcePostPostParams) SetTimeout ¶
func (o *SmartlockSyncResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock sync resource post post params
func (*SmartlockSyncResourcePostPostParams) WithContext ¶
func (o *SmartlockSyncResourcePostPostParams) WithContext(ctx context.Context) *SmartlockSyncResourcePostPostParams
WithContext adds the context to the smartlock sync resource post post params
func (*SmartlockSyncResourcePostPostParams) WithDefaults ¶
func (o *SmartlockSyncResourcePostPostParams) WithDefaults() *SmartlockSyncResourcePostPostParams
WithDefaults hydrates default values in the smartlock sync resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockSyncResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockSyncResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockSyncResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock sync resource post post params
func (*SmartlockSyncResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockSyncResourcePostPostParams) WithSmartlockID(smartlockID string) *SmartlockSyncResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock sync resource post post params
func (*SmartlockSyncResourcePostPostParams) WithTimeout ¶
func (o *SmartlockSyncResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockSyncResourcePostPostParams
WithTimeout adds the timeout to the smartlock sync resource post post params
func (*SmartlockSyncResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockSyncResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockSyncResourcePostPostReader ¶
type SmartlockSyncResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockSyncResourcePostPostReader is a Reader for the SmartlockSyncResourcePostPost structure.
func (*SmartlockSyncResourcePostPostReader) ReadResponse ¶
func (o *SmartlockSyncResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockSyncResourcePostPostUnauthorized ¶
type SmartlockSyncResourcePostPostUnauthorized struct { }
SmartlockSyncResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockSyncResourcePostPostUnauthorized ¶
func NewSmartlockSyncResourcePostPostUnauthorized() *SmartlockSyncResourcePostPostUnauthorized
NewSmartlockSyncResourcePostPostUnauthorized creates a SmartlockSyncResourcePostPostUnauthorized with default headers values
func (*SmartlockSyncResourcePostPostUnauthorized) Code ¶
func (o *SmartlockSyncResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock sync resource post post unauthorized response
func (*SmartlockSyncResourcePostPostUnauthorized) Error ¶
func (o *SmartlockSyncResourcePostPostUnauthorized) Error() string
func (*SmartlockSyncResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockSyncResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock sync resource post post unauthorized response has a 4xx status code
func (*SmartlockSyncResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockSyncResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock sync resource post post unauthorized response a status code equal to that given
func (*SmartlockSyncResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockSyncResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock sync resource post post unauthorized response has a 3xx status code
func (*SmartlockSyncResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockSyncResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock sync resource post post unauthorized response has a 5xx status code
func (*SmartlockSyncResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockSyncResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock sync resource post post unauthorized response has a 2xx status code
func (*SmartlockSyncResourcePostPostUnauthorized) String ¶
func (o *SmartlockSyncResourcePostPostUnauthorized) String() string
type SmartlockUnlockActionResourcePostUnlockPostBadRequest ¶
type SmartlockUnlockActionResourcePostUnlockPostBadRequest struct { }
SmartlockUnlockActionResourcePostUnlockPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewSmartlockUnlockActionResourcePostUnlockPostBadRequest ¶
func NewSmartlockUnlockActionResourcePostUnlockPostBadRequest() *SmartlockUnlockActionResourcePostUnlockPostBadRequest
NewSmartlockUnlockActionResourcePostUnlockPostBadRequest creates a SmartlockUnlockActionResourcePostUnlockPostBadRequest with default headers values
func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) Code ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) Code() int
Code gets the status code for the smartlock unlock action resource post unlock post bad request response
func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) Error ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) Error() string
func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsClientError ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock unlock action resource post unlock post bad request response has a 4xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsCode ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock unlock action resource post unlock post bad request response a status code equal to that given
func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsRedirect ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock unlock action resource post unlock post bad request response has a 3xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsServerError ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock unlock action resource post unlock post bad request response has a 5xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsSuccess ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock unlock action resource post unlock post bad request response has a 2xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) String ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostBadRequest) String() string
type SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed ¶
type SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed struct { }
SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed describes a response with status code 405, with default header values.
Not allowed
func NewSmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed ¶
func NewSmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed() *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed
NewSmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed creates a SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed with default headers values
func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) Code ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) Code() int
Code gets the status code for the smartlock unlock action resource post unlock post method not allowed response
func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) Error ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) Error() string
func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsClientError ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsClientError() bool
IsClientError returns true when this smartlock unlock action resource post unlock post method not allowed response has a 4xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsCode ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this smartlock unlock action resource post unlock post method not allowed response a status code equal to that given
func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsRedirect ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this smartlock unlock action resource post unlock post method not allowed response has a 3xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsServerError ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsServerError() bool
IsServerError returns true when this smartlock unlock action resource post unlock post method not allowed response has a 5xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsSuccess ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this smartlock unlock action resource post unlock post method not allowed response has a 2xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) String ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) String() string
type SmartlockUnlockActionResourcePostUnlockPostNoContent ¶
type SmartlockUnlockActionResourcePostUnlockPostNoContent struct { }
SmartlockUnlockActionResourcePostUnlockPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockUnlockActionResourcePostUnlockPostNoContent ¶
func NewSmartlockUnlockActionResourcePostUnlockPostNoContent() *SmartlockUnlockActionResourcePostUnlockPostNoContent
NewSmartlockUnlockActionResourcePostUnlockPostNoContent creates a SmartlockUnlockActionResourcePostUnlockPostNoContent with default headers values
func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) Code ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) Code() int
Code gets the status code for the smartlock unlock action resource post unlock post no content response
func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) Error ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) Error() string
func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsClientError ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock unlock action resource post unlock post no content response has a 4xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsCode ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock unlock action resource post unlock post no content response a status code equal to that given
func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsRedirect ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock unlock action resource post unlock post no content response has a 3xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsServerError ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock unlock action resource post unlock post no content response has a 5xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsSuccess ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock unlock action resource post unlock post no content response has a 2xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) String ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostNoContent) String() string
type SmartlockUnlockActionResourcePostUnlockPostParams ¶
type SmartlockUnlockActionResourcePostUnlockPostParams struct { /* SmartlockID. The smartlock id */ SmartlockID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockUnlockActionResourcePostUnlockPostParams contains all the parameters to send to the API endpoint
for the smartlock unlock action resource post unlock post operation. Typically these are written to a http.Request.
func NewSmartlockUnlockActionResourcePostUnlockPostParams ¶
func NewSmartlockUnlockActionResourcePostUnlockPostParams() *SmartlockUnlockActionResourcePostUnlockPostParams
NewSmartlockUnlockActionResourcePostUnlockPostParams creates a new SmartlockUnlockActionResourcePostUnlockPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithContext ¶
func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithContext(ctx context.Context) *SmartlockUnlockActionResourcePostUnlockPostParams
NewSmartlockUnlockActionResourcePostUnlockPostParamsWithContext creates a new SmartlockUnlockActionResourcePostUnlockPostParams object with the ability to set a context for a request.
func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithHTTPClient ¶
func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithHTTPClient(client *http.Client) *SmartlockUnlockActionResourcePostUnlockPostParams
NewSmartlockUnlockActionResourcePostUnlockPostParamsWithHTTPClient creates a new SmartlockUnlockActionResourcePostUnlockPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithTimeout ¶
func NewSmartlockUnlockActionResourcePostUnlockPostParamsWithTimeout(timeout time.Duration) *SmartlockUnlockActionResourcePostUnlockPostParams
NewSmartlockUnlockActionResourcePostUnlockPostParamsWithTimeout creates a new SmartlockUnlockActionResourcePostUnlockPostParams object with the ability to set a timeout on a request.
func (*SmartlockUnlockActionResourcePostUnlockPostParams) SetContext ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock unlock action resource post unlock post params
func (*SmartlockUnlockActionResourcePostUnlockPostParams) SetDefaults ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock unlock action resource post unlock post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockUnlockActionResourcePostUnlockPostParams) SetHTTPClient ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock unlock action resource post unlock post params
func (*SmartlockUnlockActionResourcePostUnlockPostParams) SetSmartlockID ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetSmartlockID(smartlockID string)
SetSmartlockID adds the smartlockId to the smartlock unlock action resource post unlock post params
func (*SmartlockUnlockActionResourcePostUnlockPostParams) SetTimeout ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock unlock action resource post unlock post params
func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithContext ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithContext(ctx context.Context) *SmartlockUnlockActionResourcePostUnlockPostParams
WithContext adds the context to the smartlock unlock action resource post unlock post params
func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithDefaults ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithDefaults() *SmartlockUnlockActionResourcePostUnlockPostParams
WithDefaults hydrates default values in the smartlock unlock action resource post unlock post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithHTTPClient ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithHTTPClient(client *http.Client) *SmartlockUnlockActionResourcePostUnlockPostParams
WithHTTPClient adds the HTTPClient to the smartlock unlock action resource post unlock post params
func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithSmartlockID ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithSmartlockID(smartlockID string) *SmartlockUnlockActionResourcePostUnlockPostParams
WithSmartlockID adds the smartlockID to the smartlock unlock action resource post unlock post params
func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithTimeout ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WithTimeout(timeout time.Duration) *SmartlockUnlockActionResourcePostUnlockPostParams
WithTimeout adds the timeout to the smartlock unlock action resource post unlock post params
func (*SmartlockUnlockActionResourcePostUnlockPostParams) WriteToRequest ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockUnlockActionResourcePostUnlockPostReader ¶
type SmartlockUnlockActionResourcePostUnlockPostReader struct {
// contains filtered or unexported fields
}
SmartlockUnlockActionResourcePostUnlockPostReader is a Reader for the SmartlockUnlockActionResourcePostUnlockPost structure.
func (*SmartlockUnlockActionResourcePostUnlockPostReader) ReadResponse ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockUnlockActionResourcePostUnlockPostUnauthorized ¶
type SmartlockUnlockActionResourcePostUnlockPostUnauthorized struct { }
SmartlockUnlockActionResourcePostUnlockPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockUnlockActionResourcePostUnlockPostUnauthorized ¶
func NewSmartlockUnlockActionResourcePostUnlockPostUnauthorized() *SmartlockUnlockActionResourcePostUnlockPostUnauthorized
NewSmartlockUnlockActionResourcePostUnlockPostUnauthorized creates a SmartlockUnlockActionResourcePostUnlockPostUnauthorized with default headers values
func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) Code ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) Code() int
Code gets the status code for the smartlock unlock action resource post unlock post unauthorized response
func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) Error ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) Error() string
func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsClientError ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock unlock action resource post unlock post unauthorized response has a 4xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsCode ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock unlock action resource post unlock post unauthorized response a status code equal to that given
func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsRedirect ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock unlock action resource post unlock post unauthorized response has a 3xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsServerError ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock unlock action resource post unlock post unauthorized response has a 5xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsSuccess ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock unlock action resource post unlock post unauthorized response has a 2xx status code
func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) String ¶
func (o *SmartlockUnlockActionResourcePostUnlockPostUnauthorized) String() string
type SmartlockWebConfigResourcePostPostBadRequest ¶
type SmartlockWebConfigResourcePostPostBadRequest struct { }
SmartlockWebConfigResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockWebConfigResourcePostPostBadRequest ¶
func NewSmartlockWebConfigResourcePostPostBadRequest() *SmartlockWebConfigResourcePostPostBadRequest
NewSmartlockWebConfigResourcePostPostBadRequest creates a SmartlockWebConfigResourcePostPostBadRequest with default headers values
func (*SmartlockWebConfigResourcePostPostBadRequest) Code ¶
func (o *SmartlockWebConfigResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock web config resource post post bad request response
func (*SmartlockWebConfigResourcePostPostBadRequest) Error ¶
func (o *SmartlockWebConfigResourcePostPostBadRequest) Error() string
func (*SmartlockWebConfigResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockWebConfigResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock web config resource post post bad request response has a 4xx status code
func (*SmartlockWebConfigResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockWebConfigResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock web config resource post post bad request response a status code equal to that given
func (*SmartlockWebConfigResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockWebConfigResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock web config resource post post bad request response has a 3xx status code
func (*SmartlockWebConfigResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockWebConfigResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock web config resource post post bad request response has a 5xx status code
func (*SmartlockWebConfigResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockWebConfigResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock web config resource post post bad request response has a 2xx status code
func (*SmartlockWebConfigResourcePostPostBadRequest) String ¶
func (o *SmartlockWebConfigResourcePostPostBadRequest) String() string
type SmartlockWebConfigResourcePostPostNoContent ¶
type SmartlockWebConfigResourcePostPostNoContent struct { }
SmartlockWebConfigResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockWebConfigResourcePostPostNoContent ¶
func NewSmartlockWebConfigResourcePostPostNoContent() *SmartlockWebConfigResourcePostPostNoContent
NewSmartlockWebConfigResourcePostPostNoContent creates a SmartlockWebConfigResourcePostPostNoContent with default headers values
func (*SmartlockWebConfigResourcePostPostNoContent) Code ¶
func (o *SmartlockWebConfigResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock web config resource post post no content response
func (*SmartlockWebConfigResourcePostPostNoContent) Error ¶
func (o *SmartlockWebConfigResourcePostPostNoContent) Error() string
func (*SmartlockWebConfigResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockWebConfigResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock web config resource post post no content response has a 4xx status code
func (*SmartlockWebConfigResourcePostPostNoContent) IsCode ¶
func (o *SmartlockWebConfigResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock web config resource post post no content response a status code equal to that given
func (*SmartlockWebConfigResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockWebConfigResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock web config resource post post no content response has a 3xx status code
func (*SmartlockWebConfigResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockWebConfigResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock web config resource post post no content response has a 5xx status code
func (*SmartlockWebConfigResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockWebConfigResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock web config resource post post no content response has a 2xx status code
func (*SmartlockWebConfigResourcePostPostNoContent) String ¶
func (o *SmartlockWebConfigResourcePostPostNoContent) String() string
type SmartlockWebConfigResourcePostPostParams ¶
type SmartlockWebConfigResourcePostPostParams struct { /* Body. Smartlock web config update representation */ Body *models.SmartlockWebConfig /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockWebConfigResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock web config resource post post operation. Typically these are written to a http.Request.
func NewSmartlockWebConfigResourcePostPostParams ¶
func NewSmartlockWebConfigResourcePostPostParams() *SmartlockWebConfigResourcePostPostParams
NewSmartlockWebConfigResourcePostPostParams creates a new SmartlockWebConfigResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockWebConfigResourcePostPostParamsWithContext ¶
func NewSmartlockWebConfigResourcePostPostParamsWithContext(ctx context.Context) *SmartlockWebConfigResourcePostPostParams
NewSmartlockWebConfigResourcePostPostParamsWithContext creates a new SmartlockWebConfigResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockWebConfigResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockWebConfigResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockWebConfigResourcePostPostParams
NewSmartlockWebConfigResourcePostPostParamsWithHTTPClient creates a new SmartlockWebConfigResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockWebConfigResourcePostPostParamsWithTimeout ¶
func NewSmartlockWebConfigResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockWebConfigResourcePostPostParams
NewSmartlockWebConfigResourcePostPostParamsWithTimeout creates a new SmartlockWebConfigResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockWebConfigResourcePostPostParams) SetBody ¶
func (o *SmartlockWebConfigResourcePostPostParams) SetBody(body *models.SmartlockWebConfig)
SetBody adds the body to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) SetContext ¶
func (o *SmartlockWebConfigResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) SetDefaults ¶
func (o *SmartlockWebConfigResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock web config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockWebConfigResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockWebConfigResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockWebConfigResourcePostPostParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) SetTimeout ¶
func (o *SmartlockWebConfigResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) WithBody ¶
func (o *SmartlockWebConfigResourcePostPostParams) WithBody(body *models.SmartlockWebConfig) *SmartlockWebConfigResourcePostPostParams
WithBody adds the body to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) WithContext ¶
func (o *SmartlockWebConfigResourcePostPostParams) WithContext(ctx context.Context) *SmartlockWebConfigResourcePostPostParams
WithContext adds the context to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) WithDefaults ¶
func (o *SmartlockWebConfigResourcePostPostParams) WithDefaults() *SmartlockWebConfigResourcePostPostParams
WithDefaults hydrates default values in the smartlock web config resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockWebConfigResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockWebConfigResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockWebConfigResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockWebConfigResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockWebConfigResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) WithTimeout ¶
func (o *SmartlockWebConfigResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockWebConfigResourcePostPostParams
WithTimeout adds the timeout to the smartlock web config resource post post params
func (*SmartlockWebConfigResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockWebConfigResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockWebConfigResourcePostPostReader ¶
type SmartlockWebConfigResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockWebConfigResourcePostPostReader is a Reader for the SmartlockWebConfigResourcePostPost structure.
func (*SmartlockWebConfigResourcePostPostReader) ReadResponse ¶
func (o *SmartlockWebConfigResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockWebConfigResourcePostPostUnauthorized ¶
type SmartlockWebConfigResourcePostPostUnauthorized struct { }
SmartlockWebConfigResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockWebConfigResourcePostPostUnauthorized ¶
func NewSmartlockWebConfigResourcePostPostUnauthorized() *SmartlockWebConfigResourcePostPostUnauthorized
NewSmartlockWebConfigResourcePostPostUnauthorized creates a SmartlockWebConfigResourcePostPostUnauthorized with default headers values
func (*SmartlockWebConfigResourcePostPostUnauthorized) Code ¶
func (o *SmartlockWebConfigResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock web config resource post post unauthorized response
func (*SmartlockWebConfigResourcePostPostUnauthorized) Error ¶
func (o *SmartlockWebConfigResourcePostPostUnauthorized) Error() string
func (*SmartlockWebConfigResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock web config resource post post unauthorized response has a 4xx status code
func (*SmartlockWebConfigResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock web config resource post post unauthorized response a status code equal to that given
func (*SmartlockWebConfigResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock web config resource post post unauthorized response has a 3xx status code
func (*SmartlockWebConfigResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock web config resource post post unauthorized response has a 5xx status code
func (*SmartlockWebConfigResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockWebConfigResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock web config resource post post unauthorized response has a 2xx status code
func (*SmartlockWebConfigResourcePostPostUnauthorized) String ¶
func (o *SmartlockWebConfigResourcePostPostUnauthorized) String() string
type SmartlocksResourceGetGetOK ¶
SmartlocksResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewSmartlocksResourceGetGetOK ¶
func NewSmartlocksResourceGetGetOK() *SmartlocksResourceGetGetOK
NewSmartlocksResourceGetGetOK creates a SmartlocksResourceGetGetOK with default headers values
func (*SmartlocksResourceGetGetOK) Code ¶
func (o *SmartlocksResourceGetGetOK) Code() int
Code gets the status code for the smartlocks resource get get o k response
func (*SmartlocksResourceGetGetOK) Error ¶
func (o *SmartlocksResourceGetGetOK) Error() string
func (*SmartlocksResourceGetGetOK) GetPayload ¶
func (o *SmartlocksResourceGetGetOK) GetPayload() []*models.Smartlock
func (*SmartlocksResourceGetGetOK) IsClientError ¶
func (o *SmartlocksResourceGetGetOK) IsClientError() bool
IsClientError returns true when this smartlocks resource get get o k response has a 4xx status code
func (*SmartlocksResourceGetGetOK) IsCode ¶
func (o *SmartlocksResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this smartlocks resource get get o k response a status code equal to that given
func (*SmartlocksResourceGetGetOK) IsRedirect ¶
func (o *SmartlocksResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this smartlocks resource get get o k response has a 3xx status code
func (*SmartlocksResourceGetGetOK) IsServerError ¶
func (o *SmartlocksResourceGetGetOK) IsServerError() bool
IsServerError returns true when this smartlocks resource get get o k response has a 5xx status code
func (*SmartlocksResourceGetGetOK) IsSuccess ¶
func (o *SmartlocksResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this smartlocks resource get get o k response has a 2xx status code
func (*SmartlocksResourceGetGetOK) String ¶
func (o *SmartlocksResourceGetGetOK) String() string
type SmartlocksResourceGetGetParams ¶
type SmartlocksResourceGetGetParams struct { /* AuthID. Filter for authId */ AuthID *int64 /* Type. Filter for type */ Type *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlocksResourceGetGetParams contains all the parameters to send to the API endpoint
for the smartlocks resource get get operation. Typically these are written to a http.Request.
func NewSmartlocksResourceGetGetParams ¶
func NewSmartlocksResourceGetGetParams() *SmartlocksResourceGetGetParams
NewSmartlocksResourceGetGetParams creates a new SmartlocksResourceGetGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlocksResourceGetGetParamsWithContext ¶
func NewSmartlocksResourceGetGetParamsWithContext(ctx context.Context) *SmartlocksResourceGetGetParams
NewSmartlocksResourceGetGetParamsWithContext creates a new SmartlocksResourceGetGetParams object with the ability to set a context for a request.
func NewSmartlocksResourceGetGetParamsWithHTTPClient ¶
func NewSmartlocksResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlocksResourceGetGetParams
NewSmartlocksResourceGetGetParamsWithHTTPClient creates a new SmartlocksResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlocksResourceGetGetParamsWithTimeout ¶
func NewSmartlocksResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlocksResourceGetGetParams
NewSmartlocksResourceGetGetParamsWithTimeout creates a new SmartlocksResourceGetGetParams object with the ability to set a timeout on a request.
func (*SmartlocksResourceGetGetParams) SetAuthID ¶
func (o *SmartlocksResourceGetGetParams) SetAuthID(authID *int64)
SetAuthID adds the authId to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) SetContext ¶
func (o *SmartlocksResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) SetDefaults ¶
func (o *SmartlocksResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the smartlocks resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksResourceGetGetParams) SetHTTPClient ¶
func (o *SmartlocksResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) SetTimeout ¶
func (o *SmartlocksResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) SetType ¶
func (o *SmartlocksResourceGetGetParams) SetType(typeVar *int64)
SetType adds the type to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) WithAuthID ¶
func (o *SmartlocksResourceGetGetParams) WithAuthID(authID *int64) *SmartlocksResourceGetGetParams
WithAuthID adds the authID to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) WithContext ¶
func (o *SmartlocksResourceGetGetParams) WithContext(ctx context.Context) *SmartlocksResourceGetGetParams
WithContext adds the context to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) WithDefaults ¶
func (o *SmartlocksResourceGetGetParams) WithDefaults() *SmartlocksResourceGetGetParams
WithDefaults hydrates default values in the smartlocks resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksResourceGetGetParams) WithHTTPClient ¶
func (o *SmartlocksResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlocksResourceGetGetParams
WithHTTPClient adds the HTTPClient to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) WithTimeout ¶
func (o *SmartlocksResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlocksResourceGetGetParams
WithTimeout adds the timeout to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) WithType ¶
func (o *SmartlocksResourceGetGetParams) WithType(typeVar *int64) *SmartlocksResourceGetGetParams
WithType adds the typeVar to the smartlocks resource get get params
func (*SmartlocksResourceGetGetParams) WriteToRequest ¶
func (o *SmartlocksResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlocksResourceGetGetReader ¶
type SmartlocksResourceGetGetReader struct {
// contains filtered or unexported fields
}
SmartlocksResourceGetGetReader is a Reader for the SmartlocksResourceGetGet structure.
func (*SmartlocksResourceGetGetReader) ReadResponse ¶
func (o *SmartlocksResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlocksResourceGetGetUnauthorized ¶
type SmartlocksResourceGetGetUnauthorized struct { }
SmartlocksResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlocksResourceGetGetUnauthorized ¶
func NewSmartlocksResourceGetGetUnauthorized() *SmartlocksResourceGetGetUnauthorized
NewSmartlocksResourceGetGetUnauthorized creates a SmartlocksResourceGetGetUnauthorized with default headers values
func (*SmartlocksResourceGetGetUnauthorized) Code ¶
func (o *SmartlocksResourceGetGetUnauthorized) Code() int
Code gets the status code for the smartlocks resource get get unauthorized response
func (*SmartlocksResourceGetGetUnauthorized) Error ¶
func (o *SmartlocksResourceGetGetUnauthorized) Error() string
func (*SmartlocksResourceGetGetUnauthorized) IsClientError ¶
func (o *SmartlocksResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this smartlocks resource get get unauthorized response has a 4xx status code
func (*SmartlocksResourceGetGetUnauthorized) IsCode ¶
func (o *SmartlocksResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlocks resource get get unauthorized response a status code equal to that given
func (*SmartlocksResourceGetGetUnauthorized) IsRedirect ¶
func (o *SmartlocksResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlocks resource get get unauthorized response has a 3xx status code
func (*SmartlocksResourceGetGetUnauthorized) IsServerError ¶
func (o *SmartlocksResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this smartlocks resource get get unauthorized response has a 5xx status code
func (*SmartlocksResourceGetGetUnauthorized) IsSuccess ¶
func (o *SmartlocksResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlocks resource get get unauthorized response has a 2xx status code
func (*SmartlocksResourceGetGetUnauthorized) String ¶
func (o *SmartlocksResourceGetGetUnauthorized) String() string
Source Files
¶
- smartdoor_advanced_config_resource_post_post_parameters.go
- smartdoor_advanced_config_resource_post_post_responses.go
- smartlock_action_resource_post_post_parameters.go
- smartlock_action_resource_post_post_responses.go
- smartlock_admin_pin_resource_post_post_parameters.go
- smartlock_admin_pin_resource_post_post_responses.go
- smartlock_advanced_config_resource_post_post_parameters.go
- smartlock_advanced_config_resource_post_post_responses.go
- smartlock_bulk_web_config_resource_post_post_parameters.go
- smartlock_bulk_web_config_resource_post_post_responses.go
- smartlock_client.go
- smartlock_config_resource_post_post_parameters.go
- smartlock_config_resource_post_post_responses.go
- smartlock_lock_action_resource_post_lock_post_parameters.go
- smartlock_lock_action_resource_post_lock_post_responses.go
- smartlock_opener_advanced_config_resource_post_post_parameters.go
- smartlock_opener_advanced_config_resource_post_post_responses.go
- smartlock_resource_delete_delete_parameters.go
- smartlock_resource_delete_delete_responses.go
- smartlock_resource_get_get_parameters.go
- smartlock_resource_get_get_responses.go
- smartlock_resource_post_post_parameters.go
- smartlock_resource_post_post_responses.go
- smartlock_sync_resource_post_post_parameters.go
- smartlock_sync_resource_post_post_responses.go
- smartlock_unlock_action_resource_post_unlock_post_parameters.go
- smartlock_unlock_action_resource_post_unlock_post_responses.go
- smartlock_web_config_resource_post_post_parameters.go
- smartlock_web_config_resource_post_post_responses.go
- smartlocks_resource_get_get_parameters.go
- smartlocks_resource_get_get_responses.go