smartlock

package
v0.0.0-...-f9fec28 Latest Latest
Warning

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

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

Documentation

Index

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

SmartdoorAdvancedConfigResourcePostPost updates a smartdoor advanced config

func (*Client) SmartlockActionResourcePostPost

SmartlockActionResourcePostPost locks and unlock a smartlock with options

func (*Client) SmartlockAdminPinResourcePostPost

SmartlockAdminPinResourcePostPost updates a smartlock admin pin

func (*Client) SmartlockAdvancedConfigResourcePostPost

SmartlockAdvancedConfigResourcePostPost updates a smartlock advanced config

func (*Client) SmartlockBulkWebConfigResourcePostPost

SmartlockBulkWebConfigResourcePostPost updates the web config for a group of smartlocks

func (*Client) SmartlockConfigResourcePostPost

SmartlockConfigResourcePostPost updates a smartlock config

func (*Client) SmartlockLockActionResourcePostLockPost

SmartlockLockActionResourcePostLockPost locks a smartlock

func (*Client) SmartlockOpenerAdvancedConfigResourcePostPost

SmartlockOpenerAdvancedConfigResourcePostPost updates an opener advanced config

func (*Client) SmartlockResourceDeleteDelete

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

SmartlockResourcePostPost updates a smartlock

func (*Client) SmartlockSyncResourcePostPost

SmartlockSyncResourcePostPost syncs a smartlock

func (*Client) SmartlockUnlockActionResourcePostUnlockPost

SmartlockUnlockActionResourcePostUnlockPost unlocks a smartlock

func (*Client) SmartlockWebConfigResourcePostPost

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

Code gets the status code for the smartdoor advanced config resource post post bad request response

func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) Error

func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsClientError

IsClientError returns true when this smartdoor advanced config resource post post bad request response has a 4xx status code

func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsCode

IsCode returns true when this smartdoor advanced config resource post post bad request response a status code equal to that given

func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsRedirect

IsRedirect returns true when this smartdoor advanced config resource post post bad request response has a 3xx status code

func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsServerError

IsServerError returns true when this smartdoor advanced config resource post post bad request response has a 5xx status code

func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this smartdoor advanced config resource post post bad request response has a 2xx status code

func (*SmartdoorAdvancedConfigResourcePostPostBadRequest) 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

Code gets the status code for the smartdoor advanced config resource post post no content response

func (*SmartdoorAdvancedConfigResourcePostPostNoContent) Error

func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsClientError

IsClientError returns true when this smartdoor advanced config resource post post no content response has a 4xx status code

func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsCode

IsCode returns true when this smartdoor advanced config resource post post no content response a status code equal to that given

func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this smartdoor advanced config resource post post no content response has a 3xx status code

func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsServerError

IsServerError returns true when this smartdoor advanced config resource post post no content response has a 5xx status code

func (*SmartdoorAdvancedConfigResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this smartdoor advanced config resource post post no content response has a 2xx status code

func (*SmartdoorAdvancedConfigResourcePostPostNoContent) 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

SetBody adds the body to the smartdoor advanced config resource post post params

func (*SmartdoorAdvancedConfigResourcePostPostParams) SetContext

SetContext adds the context to the smartdoor advanced config resource post post params

func (*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

SetTimeout adds the timeout to the smartdoor advanced config resource post post params

func (*SmartdoorAdvancedConfigResourcePostPostParams) WithBody

WithBody adds the body to the smartdoor advanced config resource post post params

func (*SmartdoorAdvancedConfigResourcePostPostParams) WithContext

WithContext adds the context to the smartdoor advanced config resource post post params

func (*SmartdoorAdvancedConfigResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartdoor advanced config resource post post params

func (*SmartdoorAdvancedConfigResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartdoor advanced config resource post post params

func (*SmartdoorAdvancedConfigResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartdoor advanced config resource post post params

func (*SmartdoorAdvancedConfigResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartdoor advanced config resource post post unauthorized response

func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) Error

func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartdoor advanced config resource post post unauthorized response has a 4xx status code

func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartdoor advanced config resource post post unauthorized response a status code equal to that given

func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartdoor advanced config resource post post unauthorized response has a 3xx status code

func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartdoor advanced config resource post post unauthorized response has a 5xx status code

func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartdoor advanced config resource post post unauthorized response has a 2xx status code

func (*SmartdoorAdvancedConfigResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock action resource post post bad request response

func (*SmartlockActionResourcePostPostBadRequest) Error

func (*SmartlockActionResourcePostPostBadRequest) IsClientError

IsClientError returns true when this smartlock action resource post post bad request response has a 4xx status code

func (*SmartlockActionResourcePostPostBadRequest) IsCode

IsCode returns true when this smartlock action resource post post bad request response a status code equal to that given

func (*SmartlockActionResourcePostPostBadRequest) IsRedirect

IsRedirect returns true when this smartlock action resource post post bad request response has a 3xx status code

func (*SmartlockActionResourcePostPostBadRequest) IsServerError

IsServerError returns true when this smartlock action resource post post bad request response has a 5xx status code

func (*SmartlockActionResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock action resource post post bad request response has a 2xx status code

func (*SmartlockActionResourcePostPostBadRequest) 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

Code gets the status code for the smartlock action resource post post no content response

func (*SmartlockActionResourcePostPostNoContent) Error

func (*SmartlockActionResourcePostPostNoContent) IsClientError

IsClientError returns true when this smartlock action resource post post no content response has a 4xx status code

func (*SmartlockActionResourcePostPostNoContent) IsCode

IsCode returns true when this smartlock action resource post post no content response a status code equal to that given

func (*SmartlockActionResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this smartlock action resource post post no content response has a 3xx status code

func (*SmartlockActionResourcePostPostNoContent) IsServerError

IsServerError returns true when this smartlock action resource post post no content response has a 5xx status code

func (*SmartlockActionResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this smartlock action resource post post no content response has a 2xx status code

func (*SmartlockActionResourcePostPostNoContent) 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

SetBody adds the body to the smartlock action resource post post params

func (*SmartlockActionResourcePostPostParams) SetContext

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

WithBody adds the body to the smartlock action resource post post params

func (*SmartlockActionResourcePostPostParams) WithContext

WithContext adds the context to the smartlock action resource post post params

func (*SmartlockActionResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock action resource post post params

func (*SmartlockActionResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock action resource post post params

func (*SmartlockActionResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock action resource post post params

func (*SmartlockActionResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock action resource post post payment required response

func (*SmartlockActionResourcePostPostPaymentRequired) Error

func (*SmartlockActionResourcePostPostPaymentRequired) IsClientError

IsClientError returns true when this smartlock action resource post post payment required response has a 4xx status code

func (*SmartlockActionResourcePostPostPaymentRequired) IsCode

IsCode returns true when this smartlock action resource post post payment required response a status code equal to that given

func (*SmartlockActionResourcePostPostPaymentRequired) IsRedirect

IsRedirect returns true when this smartlock action resource post post payment required response has a 3xx status code

func (*SmartlockActionResourcePostPostPaymentRequired) IsServerError

IsServerError returns true when this smartlock action resource post post payment required response has a 5xx status code

func (*SmartlockActionResourcePostPostPaymentRequired) IsSuccess

IsSuccess returns true when this smartlock action resource post post payment required response has a 2xx status code

func (*SmartlockActionResourcePostPostPaymentRequired) 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

Code gets the status code for the smartlock action resource post post unauthorized response

func (*SmartlockActionResourcePostPostUnauthorized) Error

func (*SmartlockActionResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlock action resource post post unauthorized response has a 4xx status code

func (*SmartlockActionResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartlock action resource post post unauthorized response a status code equal to that given

func (*SmartlockActionResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock action resource post post unauthorized response has a 3xx status code

func (*SmartlockActionResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlock action resource post post unauthorized response has a 5xx status code

func (*SmartlockActionResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock action resource post post unauthorized response has a 2xx status code

func (*SmartlockActionResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock admin pin resource post post bad request response

func (*SmartlockAdminPinResourcePostPostBadRequest) Error

func (*SmartlockAdminPinResourcePostPostBadRequest) IsClientError

IsClientError returns true when this smartlock admin pin resource post post bad request response has a 4xx status code

func (*SmartlockAdminPinResourcePostPostBadRequest) IsCode

IsCode returns true when this smartlock admin pin resource post post bad request response a status code equal to that given

func (*SmartlockAdminPinResourcePostPostBadRequest) IsRedirect

IsRedirect returns true when this smartlock admin pin resource post post bad request response has a 3xx status code

func (*SmartlockAdminPinResourcePostPostBadRequest) IsServerError

IsServerError returns true when this smartlock admin pin resource post post bad request response has a 5xx status code

func (*SmartlockAdminPinResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock admin pin resource post post bad request response has a 2xx status code

func (*SmartlockAdminPinResourcePostPostBadRequest) 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

Code gets the status code for the smartlock admin pin resource post post no content response

func (*SmartlockAdminPinResourcePostPostNoContent) Error

func (*SmartlockAdminPinResourcePostPostNoContent) IsClientError

IsClientError returns true when this smartlock admin pin resource post post no content response has a 4xx status code

func (*SmartlockAdminPinResourcePostPostNoContent) IsCode

IsCode returns true when this smartlock admin pin resource post post no content response a status code equal to that given

func (*SmartlockAdminPinResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this smartlock admin pin resource post post no content response has a 3xx status code

func (*SmartlockAdminPinResourcePostPostNoContent) IsServerError

IsServerError returns true when this smartlock admin pin resource post post no content response has a 5xx status code

func (*SmartlockAdminPinResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this smartlock admin pin resource post post no content response has a 2xx status code

func (*SmartlockAdminPinResourcePostPostNoContent) 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

SetBody adds the body to the smartlock admin pin resource post post params

func (*SmartlockAdminPinResourcePostPostParams) SetContext

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

WithBody adds the body to the smartlock admin pin resource post post params

func (*SmartlockAdminPinResourcePostPostParams) WithContext

WithContext adds the context to the smartlock admin pin resource post post params

func (*SmartlockAdminPinResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock admin pin resource post post params

func (*SmartlockAdminPinResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock admin pin resource post post params

func (*SmartlockAdminPinResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock admin pin resource post post params

func (*SmartlockAdminPinResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock admin pin resource post post unauthorized response

func (*SmartlockAdminPinResourcePostPostUnauthorized) Error

func (*SmartlockAdminPinResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlock admin pin resource post post unauthorized response has a 4xx status code

func (*SmartlockAdminPinResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartlock admin pin resource post post unauthorized response a status code equal to that given

func (*SmartlockAdminPinResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock admin pin resource post post unauthorized response has a 3xx status code

func (*SmartlockAdminPinResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlock admin pin resource post post unauthorized response has a 5xx status code

func (*SmartlockAdminPinResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock admin pin resource post post unauthorized response has a 2xx status code

func (*SmartlockAdminPinResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock advanced config resource post post bad request response

func (*SmartlockAdvancedConfigResourcePostPostBadRequest) Error

func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsClientError

IsClientError returns true when this smartlock advanced config resource post post bad request response has a 4xx status code

func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsCode

IsCode returns true when this smartlock advanced config resource post post bad request response a status code equal to that given

func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsRedirect

IsRedirect returns true when this smartlock advanced config resource post post bad request response has a 3xx status code

func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsServerError

IsServerError returns true when this smartlock advanced config resource post post bad request response has a 5xx status code

func (*SmartlockAdvancedConfigResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock advanced config resource post post bad request response has a 2xx status code

func (*SmartlockAdvancedConfigResourcePostPostBadRequest) 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

Code gets the status code for the smartlock advanced config resource post post no content response

func (*SmartlockAdvancedConfigResourcePostPostNoContent) Error

func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsClientError

IsClientError returns true when this smartlock advanced config resource post post no content response has a 4xx status code

func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsCode

IsCode returns true when this smartlock advanced config resource post post no content response a status code equal to that given

func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this smartlock advanced config resource post post no content response has a 3xx status code

func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsServerError

IsServerError returns true when this smartlock advanced config resource post post no content response has a 5xx status code

func (*SmartlockAdvancedConfigResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this smartlock advanced config resource post post no content response has a 2xx status code

func (*SmartlockAdvancedConfigResourcePostPostNoContent) 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

SetBody adds the body to the smartlock advanced config resource post post params

func (*SmartlockAdvancedConfigResourcePostPostParams) SetContext

SetContext adds the context to the smartlock advanced config resource post post params

func (*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

SetTimeout adds the timeout to the smartlock advanced config resource post post params

func (*SmartlockAdvancedConfigResourcePostPostParams) WithBody

WithBody adds the body to the smartlock advanced config resource post post params

func (*SmartlockAdvancedConfigResourcePostPostParams) WithContext

WithContext adds the context to the smartlock advanced config resource post post params

func (*SmartlockAdvancedConfigResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock advanced config resource post post params

func (*SmartlockAdvancedConfigResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock advanced config resource post post params

func (*SmartlockAdvancedConfigResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock advanced config resource post post params

func (*SmartlockAdvancedConfigResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock advanced config resource post post unauthorized response

func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) Error

func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlock advanced config resource post post unauthorized response has a 4xx status code

func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartlock advanced config resource post post unauthorized response a status code equal to that given

func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock advanced config resource post post unauthorized response has a 3xx status code

func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlock advanced config resource post post unauthorized response has a 5xx status code

func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock advanced config resource post post unauthorized response has a 2xx status code

func (*SmartlockAdvancedConfigResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock bulk web config resource post post bad request response

func (*SmartlockBulkWebConfigResourcePostPostBadRequest) Error

func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsClientError

IsClientError returns true when this smartlock bulk web config resource post post bad request response has a 4xx status code

func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsCode

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

IsRedirect returns true when this smartlock bulk web config resource post post bad request response has a 3xx status code

func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsServerError

IsServerError returns true when this smartlock bulk web config resource post post bad request response has a 5xx status code

func (*SmartlockBulkWebConfigResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock bulk web config resource post post bad request response has a 2xx status code

func (*SmartlockBulkWebConfigResourcePostPostBadRequest) 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

Code gets the status code for the smartlock bulk web config resource post post no content response

func (*SmartlockBulkWebConfigResourcePostPostNoContent) Error

func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsClientError

IsClientError returns true when this smartlock bulk web config resource post post no content response has a 4xx status code

func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsCode

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

IsRedirect returns true when this smartlock bulk web config resource post post no content response has a 3xx status code

func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsServerError

IsServerError returns true when this smartlock bulk web config resource post post no content response has a 5xx status code

func (*SmartlockBulkWebConfigResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this smartlock bulk web config resource post post no content response has a 2xx status code

func (*SmartlockBulkWebConfigResourcePostPostNoContent) 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

SetBody adds the body to the smartlock bulk web config resource post post params

func (*SmartlockBulkWebConfigResourcePostPostParams) SetContext

SetContext adds the context to the smartlock bulk web config resource post post params

func (*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

SetTimeout adds the timeout to the smartlock bulk web config resource post post params

func (*SmartlockBulkWebConfigResourcePostPostParams) WithBody

WithBody adds the body to the smartlock bulk web config resource post post params

func (*SmartlockBulkWebConfigResourcePostPostParams) WithContext

WithContext adds the context to the smartlock bulk web config resource post post params

func (*SmartlockBulkWebConfigResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock bulk web config resource post post params

func (*SmartlockBulkWebConfigResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock bulk web config resource post post params

func (*SmartlockBulkWebConfigResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock bulk web config resource post post unauthorized response

func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) Error

func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlock bulk web config resource post post unauthorized response has a 4xx status code

func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartlock bulk web config resource post post unauthorized response a status code equal to that given

func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock bulk web config resource post post unauthorized response has a 3xx status code

func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlock bulk web config resource post post unauthorized response has a 5xx status code

func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock bulk web config resource post post unauthorized response has a 2xx status code

func (*SmartlockBulkWebConfigResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock config resource post post bad request response

func (*SmartlockConfigResourcePostPostBadRequest) Error

func (*SmartlockConfigResourcePostPostBadRequest) IsClientError

IsClientError returns true when this smartlock config resource post post bad request response has a 4xx status code

func (*SmartlockConfigResourcePostPostBadRequest) IsCode

IsCode returns true when this smartlock config resource post post bad request response a status code equal to that given

func (*SmartlockConfigResourcePostPostBadRequest) IsRedirect

IsRedirect returns true when this smartlock config resource post post bad request response has a 3xx status code

func (*SmartlockConfigResourcePostPostBadRequest) IsServerError

IsServerError returns true when this smartlock config resource post post bad request response has a 5xx status code

func (*SmartlockConfigResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock config resource post post bad request response has a 2xx status code

func (*SmartlockConfigResourcePostPostBadRequest) 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

Code gets the status code for the smartlock config resource post post no content response

func (*SmartlockConfigResourcePostPostNoContent) Error

func (*SmartlockConfigResourcePostPostNoContent) IsClientError

IsClientError returns true when this smartlock config resource post post no content response has a 4xx status code

func (*SmartlockConfigResourcePostPostNoContent) IsCode

IsCode returns true when this smartlock config resource post post no content response a status code equal to that given

func (*SmartlockConfigResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this smartlock config resource post post no content response has a 3xx status code

func (*SmartlockConfigResourcePostPostNoContent) IsServerError

IsServerError returns true when this smartlock config resource post post no content response has a 5xx status code

func (*SmartlockConfigResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this smartlock config resource post post no content response has a 2xx status code

func (*SmartlockConfigResourcePostPostNoContent) 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

SetBody adds the body to the smartlock config resource post post params

func (*SmartlockConfigResourcePostPostParams) SetContext

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

WithBody adds the body to the smartlock config resource post post params

func (*SmartlockConfigResourcePostPostParams) WithContext

WithContext adds the context to the smartlock config resource post post params

func (*SmartlockConfigResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock config resource post post params

func (*SmartlockConfigResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock config resource post post params

func (*SmartlockConfigResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock config resource post post params

func (*SmartlockConfigResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock config resource post post unauthorized response

func (*SmartlockConfigResourcePostPostUnauthorized) Error

func (*SmartlockConfigResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlock config resource post post unauthorized response has a 4xx status code

func (*SmartlockConfigResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartlock config resource post post unauthorized response a status code equal to that given

func (*SmartlockConfigResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock config resource post post unauthorized response has a 3xx status code

func (*SmartlockConfigResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlock config resource post post unauthorized response has a 5xx status code

func (*SmartlockConfigResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock config resource post post unauthorized response has a 2xx status code

func (*SmartlockConfigResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock lock action resource post lock post bad request response

func (*SmartlockLockActionResourcePostLockPostBadRequest) Error

func (*SmartlockLockActionResourcePostLockPostBadRequest) IsClientError

IsClientError returns true when this smartlock lock action resource post lock post bad request response has a 4xx status code

func (*SmartlockLockActionResourcePostLockPostBadRequest) IsCode

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

IsRedirect returns true when this smartlock lock action resource post lock post bad request response has a 3xx status code

func (*SmartlockLockActionResourcePostLockPostBadRequest) IsServerError

IsServerError returns true when this smartlock lock action resource post lock post bad request response has a 5xx status code

func (*SmartlockLockActionResourcePostLockPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock lock action resource post lock post bad request response has a 2xx status code

func (*SmartlockLockActionResourcePostLockPostBadRequest) 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

Code gets the status code for the smartlock lock action resource post lock post method not allowed response

func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) Error

func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsClientError

IsClientError returns true when this smartlock lock action resource post lock post method not allowed response has a 4xx status code

func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsCode

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

IsRedirect returns true when this smartlock lock action resource post lock post method not allowed response has a 3xx status code

func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsServerError

IsServerError returns true when this smartlock lock action resource post lock post method not allowed response has a 5xx status code

func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) IsSuccess

IsSuccess returns true when this smartlock lock action resource post lock post method not allowed response has a 2xx status code

func (*SmartlockLockActionResourcePostLockPostMethodNotAllowed) 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

Code gets the status code for the smartlock lock action resource post lock post no content response

func (*SmartlockLockActionResourcePostLockPostNoContent) Error

func (*SmartlockLockActionResourcePostLockPostNoContent) IsClientError

IsClientError returns true when this smartlock lock action resource post lock post no content response has a 4xx status code

func (*SmartlockLockActionResourcePostLockPostNoContent) IsCode

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

IsRedirect returns true when this smartlock lock action resource post lock post no content response has a 3xx status code

func (*SmartlockLockActionResourcePostLockPostNoContent) IsServerError

IsServerError returns true when this smartlock lock action resource post lock post no content response has a 5xx status code

func (*SmartlockLockActionResourcePostLockPostNoContent) IsSuccess

IsSuccess returns true when this smartlock lock action resource post lock post no content response has a 2xx status code

func (*SmartlockLockActionResourcePostLockPostNoContent) 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

SetContext adds the context to the smartlock lock action resource post lock post params

func (*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

SetTimeout adds the timeout to the smartlock lock action resource post lock post params

func (*SmartlockLockActionResourcePostLockPostParams) WithContext

WithContext adds the context to the smartlock lock action resource post lock post params

func (*SmartlockLockActionResourcePostLockPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock lock action resource post lock post params

func (*SmartlockLockActionResourcePostLockPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock lock action resource post lock post params

func (*SmartlockLockActionResourcePostLockPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock lock action resource post lock post params

func (*SmartlockLockActionResourcePostLockPostParams) WriteToRequest

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

Code gets the status code for the smartlock lock action resource post lock post unauthorized response

func (*SmartlockLockActionResourcePostLockPostUnauthorized) Error

func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsClientError

IsClientError returns true when this smartlock lock action resource post lock post unauthorized response has a 4xx status code

func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsCode

IsCode returns true when this smartlock lock action resource post lock post unauthorized response a status code equal to that given

func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock lock action resource post lock post unauthorized response has a 3xx status code

func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsServerError

IsServerError returns true when this smartlock lock action resource post lock post unauthorized response has a 5xx status code

func (*SmartlockLockActionResourcePostLockPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock lock action resource post lock post unauthorized response has a 2xx status code

func (*SmartlockLockActionResourcePostLockPostUnauthorized) 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

Code gets the status code for the smartlock opener advanced config resource post post bad request response

func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) Error

func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsClientError

IsClientError returns true when this smartlock opener advanced config resource post post bad request response has a 4xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsCode

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

IsRedirect returns true when this smartlock opener advanced config resource post post bad request response has a 3xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsServerError

IsServerError returns true when this smartlock opener advanced config resource post post bad request response has a 5xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock opener advanced config resource post post bad request response has a 2xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostBadRequest) 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

Code gets the status code for the smartlock opener advanced config resource post post no content response

func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) Error

func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsClientError

IsClientError returns true when this smartlock opener advanced config resource post post no content response has a 4xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsCode

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

IsRedirect returns true when this smartlock opener advanced config resource post post no content response has a 3xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsServerError

IsServerError returns true when this smartlock opener advanced config resource post post no content response has a 5xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this smartlock opener advanced config resource post post no content response has a 2xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostNoContent) 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

SetBody adds the body to the smartlock opener advanced config resource post post params

func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) SetContext

SetContext adds the context to the smartlock opener advanced config resource post post params

func (*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

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

SetTimeout adds the timeout to the smartlock opener advanced config resource post post params

func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithBody

WithBody adds the body to the smartlock opener advanced config resource post post params

func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithContext

WithContext adds the context to the smartlock opener advanced config resource post post params

func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock opener advanced config resource post post params

func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock opener advanced config resource post post params

func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock opener advanced config resource post post params

func (*SmartlockOpenerAdvancedConfigResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock opener advanced config resource post post unauthorized response

func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) Error

func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlock opener advanced config resource post post unauthorized response has a 4xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartlock opener advanced config resource post post unauthorized response a status code equal to that given

func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock opener advanced config resource post post unauthorized response has a 3xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlock opener advanced config resource post post unauthorized response has a 5xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock opener advanced config resource post post unauthorized response has a 2xx status code

func (*SmartlockOpenerAdvancedConfigResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock resource delete delete bad request response

func (*SmartlockResourceDeleteDeleteBadRequest) Error

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

IsCode returns true when this smartlock resource delete delete bad request response a status code equal to that given

func (*SmartlockResourceDeleteDeleteBadRequest) IsRedirect

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

IsSuccess returns true when this smartlock resource delete delete bad request response has a 2xx status code

func (*SmartlockResourceDeleteDeleteBadRequest) 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

Code gets the status code for the smartlock resource delete delete forbidden response

func (*SmartlockResourceDeleteDeleteForbidden) Error

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

IsCode returns true when this smartlock resource delete delete forbidden response a status code equal to that given

func (*SmartlockResourceDeleteDeleteForbidden) IsRedirect

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

IsSuccess returns true when this smartlock resource delete delete forbidden response has a 2xx status code

func (*SmartlockResourceDeleteDeleteForbidden) 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

Code gets the status code for the smartlock resource delete delete no content response

func (*SmartlockResourceDeleteDeleteNoContent) Error

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

IsCode returns true when this smartlock resource delete delete no content response a status code equal to that given

func (*SmartlockResourceDeleteDeleteNoContent) IsRedirect

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

IsSuccess returns true when this smartlock resource delete delete no content response has a 2xx status code

func (*SmartlockResourceDeleteDeleteNoContent) 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

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

WithContext adds the context to the smartlock resource delete delete params

func (*SmartlockResourceDeleteDeleteParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock resource delete delete params

func (*SmartlockResourceDeleteDeleteParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock resource delete delete params

func (*SmartlockResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the smartlock resource delete delete params

func (*SmartlockResourceDeleteDeleteParams) WriteToRequest

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

Code gets the status code for the smartlock resource delete delete unauthorized response

func (*SmartlockResourceDeleteDeleteUnauthorized) Error

func (*SmartlockResourceDeleteDeleteUnauthorized) IsClientError

IsClientError returns true when this smartlock resource delete delete unauthorized response has a 4xx status code

func (*SmartlockResourceDeleteDeleteUnauthorized) IsCode

IsCode returns true when this smartlock resource delete delete unauthorized response a status code equal to that given

func (*SmartlockResourceDeleteDeleteUnauthorized) IsRedirect

IsRedirect returns true when this smartlock resource delete delete unauthorized response has a 3xx status code

func (*SmartlockResourceDeleteDeleteUnauthorized) IsServerError

IsServerError returns true when this smartlock resource delete delete unauthorized response has a 5xx status code

func (*SmartlockResourceDeleteDeleteUnauthorized) IsSuccess

IsSuccess returns true when this smartlock resource delete delete unauthorized response has a 2xx status code

func (*SmartlockResourceDeleteDeleteUnauthorized) 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

Code gets the status code for the smartlock resource get get forbidden response

func (*SmartlockResourceGetGetForbidden) Error

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

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

Code gets the status code for the smartlock resource get get not found response

func (*SmartlockResourceGetGetNotFound) Error

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

type SmartlockResourceGetGetOK

type SmartlockResourceGetGetOK struct {
	Payload *models.Smartlock
}

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

WithContext adds the context to the smartlock resource get get params

func (*SmartlockResourceGetGetParams) WithDefaults

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

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

WithTimeout adds the timeout to the smartlock resource get get params

func (*SmartlockResourceGetGetParams) WriteToRequest

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

Code gets the status code for the smartlock resource get get unauthorized response

func (*SmartlockResourceGetGetUnauthorized) Error

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

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

IsSuccess returns true when this smartlock resource get get unauthorized response has a 2xx status code

func (*SmartlockResourceGetGetUnauthorized) 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

Code gets the status code for the smartlock resource post post bad request response

func (*SmartlockResourcePostPostBadRequest) Error

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

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

IsSuccess returns true when this smartlock resource post post bad request response has a 2xx status code

func (*SmartlockResourcePostPostBadRequest) 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

Code gets the status code for the smartlock resource post post forbidden response

func (*SmartlockResourcePostPostForbidden) Error

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

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

IsSuccess returns true when this smartlock resource post post forbidden response has a 2xx status code

func (*SmartlockResourcePostPostForbidden) 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

Code gets the status code for the smartlock resource post post no content response

func (*SmartlockResourcePostPostNoContent) Error

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

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

IsSuccess returns true when this smartlock resource post post no content response has a 2xx status code

func (*SmartlockResourcePostPostNoContent) 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

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

WithBody adds the body to the smartlock resource post post params

func (*SmartlockResourcePostPostParams) WithContext

WithContext adds the context to the smartlock resource post post params

func (*SmartlockResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock resource post post params

func (*SmartlockResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock resource post post params

func (*SmartlockResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock resource post post params

func (*SmartlockResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock resource post post unauthorized response

func (*SmartlockResourcePostPostUnauthorized) Error

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

IsCode returns true when this smartlock resource post post unauthorized response a status code equal to that given

func (*SmartlockResourcePostPostUnauthorized) IsRedirect

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

IsSuccess returns true when this smartlock resource post post unauthorized response has a 2xx status code

func (*SmartlockResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock sync resource post post bad request response

func (*SmartlockSyncResourcePostPostBadRequest) Error

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

IsCode returns true when this smartlock sync resource post post bad request response a status code equal to that given

func (*SmartlockSyncResourcePostPostBadRequest) IsRedirect

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

IsSuccess returns true when this smartlock sync resource post post bad request response has a 2xx status code

func (*SmartlockSyncResourcePostPostBadRequest) 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

Code gets the status code for the smartlock sync resource post post no content response

func (*SmartlockSyncResourcePostPostNoContent) Error

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

IsCode returns true when this smartlock sync resource post post no content response a status code equal to that given

func (*SmartlockSyncResourcePostPostNoContent) IsRedirect

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

IsSuccess returns true when this smartlock sync resource post post no content response has a 2xx status code

func (*SmartlockSyncResourcePostPostNoContent) 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

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

WithContext adds the context to the smartlock sync resource post post params

func (*SmartlockSyncResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock sync resource post post params

func (*SmartlockSyncResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock sync resource post post params

func (*SmartlockSyncResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock sync resource post post params

func (*SmartlockSyncResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock sync resource post post unauthorized response

func (*SmartlockSyncResourcePostPostUnauthorized) Error

func (*SmartlockSyncResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlock sync resource post post unauthorized response has a 4xx status code

func (*SmartlockSyncResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartlock sync resource post post unauthorized response a status code equal to that given

func (*SmartlockSyncResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock sync resource post post unauthorized response has a 3xx status code

func (*SmartlockSyncResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlock sync resource post post unauthorized response has a 5xx status code

func (*SmartlockSyncResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock sync resource post post unauthorized response has a 2xx status code

func (*SmartlockSyncResourcePostPostUnauthorized) 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

Code gets the status code for the smartlock unlock action resource post unlock post bad request response

func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) Error

func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsClientError

IsClientError returns true when this smartlock unlock action resource post unlock post bad request response has a 4xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsCode

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

IsRedirect returns true when this smartlock unlock action resource post unlock post bad request response has a 3xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsServerError

IsServerError returns true when this smartlock unlock action resource post unlock post bad request response has a 5xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock unlock action resource post unlock post bad request response has a 2xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostBadRequest) 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

Code gets the status code for the smartlock unlock action resource post unlock post method not allowed response

func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) Error

func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsClientError

IsClientError returns true when this smartlock unlock action resource post unlock post method not allowed response has a 4xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsCode

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

IsRedirect returns true when this smartlock unlock action resource post unlock post method not allowed response has a 3xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsServerError

IsServerError returns true when this smartlock unlock action resource post unlock post method not allowed response has a 5xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) IsSuccess

IsSuccess returns true when this smartlock unlock action resource post unlock post method not allowed response has a 2xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostMethodNotAllowed) 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

Code gets the status code for the smartlock unlock action resource post unlock post no content response

func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) Error

func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsClientError

IsClientError returns true when this smartlock unlock action resource post unlock post no content response has a 4xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsCode

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

IsRedirect returns true when this smartlock unlock action resource post unlock post no content response has a 3xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsServerError

IsServerError returns true when this smartlock unlock action resource post unlock post no content response has a 5xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) IsSuccess

IsSuccess returns true when this smartlock unlock action resource post unlock post no content response has a 2xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostNoContent) 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

SetContext adds the context to the smartlock unlock action resource post unlock post params

func (*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

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

SetTimeout adds the timeout to the smartlock unlock action resource post unlock post params

func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithContext

WithContext adds the context to the smartlock unlock action resource post unlock post params

func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock unlock action resource post unlock post params

func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock unlock action resource post unlock post params

func (*SmartlockUnlockActionResourcePostUnlockPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock unlock action resource post unlock post params

func (*SmartlockUnlockActionResourcePostUnlockPostParams) WriteToRequest

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

Code gets the status code for the smartlock unlock action resource post unlock post unauthorized response

func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) Error

func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsClientError

IsClientError returns true when this smartlock unlock action resource post unlock post unauthorized response has a 4xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsCode

IsCode returns true when this smartlock unlock action resource post unlock post unauthorized response a status code equal to that given

func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock unlock action resource post unlock post unauthorized response has a 3xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsServerError

IsServerError returns true when this smartlock unlock action resource post unlock post unauthorized response has a 5xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock unlock action resource post unlock post unauthorized response has a 2xx status code

func (*SmartlockUnlockActionResourcePostUnlockPostUnauthorized) 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

Code gets the status code for the smartlock web config resource post post bad request response

func (*SmartlockWebConfigResourcePostPostBadRequest) Error

func (*SmartlockWebConfigResourcePostPostBadRequest) IsClientError

IsClientError returns true when this smartlock web config resource post post bad request response has a 4xx status code

func (*SmartlockWebConfigResourcePostPostBadRequest) IsCode

IsCode returns true when this smartlock web config resource post post bad request response a status code equal to that given

func (*SmartlockWebConfigResourcePostPostBadRequest) IsRedirect

IsRedirect returns true when this smartlock web config resource post post bad request response has a 3xx status code

func (*SmartlockWebConfigResourcePostPostBadRequest) IsServerError

IsServerError returns true when this smartlock web config resource post post bad request response has a 5xx status code

func (*SmartlockWebConfigResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this smartlock web config resource post post bad request response has a 2xx status code

func (*SmartlockWebConfigResourcePostPostBadRequest) 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

Code gets the status code for the smartlock web config resource post post no content response

func (*SmartlockWebConfigResourcePostPostNoContent) Error

func (*SmartlockWebConfigResourcePostPostNoContent) IsClientError

IsClientError returns true when this smartlock web config resource post post no content response has a 4xx status code

func (*SmartlockWebConfigResourcePostPostNoContent) IsCode

IsCode returns true when this smartlock web config resource post post no content response a status code equal to that given

func (*SmartlockWebConfigResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this smartlock web config resource post post no content response has a 3xx status code

func (*SmartlockWebConfigResourcePostPostNoContent) IsServerError

IsServerError returns true when this smartlock web config resource post post no content response has a 5xx status code

func (*SmartlockWebConfigResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this smartlock web config resource post post no content response has a 2xx status code

func (*SmartlockWebConfigResourcePostPostNoContent) 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

SetBody adds the body to the smartlock web config resource post post params

func (*SmartlockWebConfigResourcePostPostParams) SetContext

SetContext adds the context to the smartlock web config resource post post params

func (*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

SetTimeout adds the timeout to the smartlock web config resource post post params

func (*SmartlockWebConfigResourcePostPostParams) WithBody

WithBody adds the body to the smartlock web config resource post post params

func (*SmartlockWebConfigResourcePostPostParams) WithContext

WithContext adds the context to the smartlock web config resource post post params

func (*SmartlockWebConfigResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlock web config resource post post params

func (*SmartlockWebConfigResourcePostPostParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock web config resource post post params

func (*SmartlockWebConfigResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlock web config resource post post params

func (*SmartlockWebConfigResourcePostPostParams) WriteToRequest

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

Code gets the status code for the smartlock web config resource post post unauthorized response

func (*SmartlockWebConfigResourcePostPostUnauthorized) Error

func (*SmartlockWebConfigResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlock web config resource post post unauthorized response has a 4xx status code

func (*SmartlockWebConfigResourcePostPostUnauthorized) IsCode

IsCode returns true when this smartlock web config resource post post unauthorized response a status code equal to that given

func (*SmartlockWebConfigResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlock web config resource post post unauthorized response has a 3xx status code

func (*SmartlockWebConfigResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlock web config resource post post unauthorized response has a 5xx status code

func (*SmartlockWebConfigResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this smartlock web config resource post post unauthorized response has a 2xx status code

func (*SmartlockWebConfigResourcePostPostUnauthorized) String

type SmartlocksResourceGetGetOK

type SmartlocksResourceGetGetOK struct {
	Payload []*models.Smartlock
}

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 (*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

WithAuthID adds the authID to the smartlocks resource get get params

func (*SmartlocksResourceGetGetParams) WithContext

WithContext adds the context to the smartlocks resource get get params

func (*SmartlocksResourceGetGetParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the smartlocks resource get get params

func (*SmartlocksResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the smartlocks resource get get params

func (*SmartlocksResourceGetGetParams) WithType

WithType adds the typeVar to the smartlocks resource get get params

func (*SmartlocksResourceGetGetParams) WriteToRequest

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

Code gets the status code for the smartlocks resource get get unauthorized response

func (*SmartlocksResourceGetGetUnauthorized) Error

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

IsCode returns true when this smartlocks resource get get unauthorized response a status code equal to that given

func (*SmartlocksResourceGetGetUnauthorized) IsRedirect

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

IsSuccess returns true when this smartlocks resource get get unauthorized response has a 2xx status code

func (*SmartlocksResourceGetGetUnauthorized) String

Source Files

Jump to

Keyboard shortcuts

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