smartlock_auth

package
v0.0.0-...-f6492d7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: Apache-2.0 Imports: 14 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 auth API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SmartlockAuthResourceDeleteDelete

SmartlockAuthResourceDeleteDelete deletes asynchronous a smartlock authorization

func (*Client) SmartlockAuthResourceGetGet

func (a *Client) SmartlockAuthResourceGetGet(params *SmartlockAuthResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceGetGetOK, error)

SmartlockAuthResourceGetGet gets a smartlock authorization

func (*Client) SmartlockAuthResourcePostPost

SmartlockAuthResourcePostPost updates asynchronous a smartlock authorization

func (*Client) SmartlockAuthsResourceGetGet

func (a *Client) SmartlockAuthsResourceGetGet(params *SmartlockAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourceGetGetOK, error)

SmartlockAuthsResourceGetGet gets a list of smartlock authorizations

func (*Client) SmartlockAuthsResourcePutPut

SmartlockAuthsResourcePutPut creates asynchronous a smartlock authorization

func (*Client) SmartlocksAuthsResourceDeleteDelete

SmartlocksAuthsResourceDeleteDelete deletes smartlock authorizations asynchronously

func (*Client) SmartlocksAuthsResourceGetGet

func (a *Client) SmartlocksAuthsResourceGetGet(params *SmartlocksAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceGetGetOK, error)

SmartlocksAuthsResourceGetGet gets a list of smartlock authorizations for your smartlocks

func (*Client) SmartlocksAuthsResourcePostPost

SmartlocksAuthsResourcePostPost updates smartlock authorizations asynchronously

func (*Client) SmartlocksAuthsResourcePutPut

SmartlocksAuthsResourcePutPut creates asynchronous smartlock authorizations

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SmartlockAuthResourceDeleteDelete(params *SmartlockAuthResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceDeleteDeleteNoContent, error)

	SmartlockAuthResourceGetGet(params *SmartlockAuthResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceGetGetOK, error)

	SmartlockAuthResourcePostPost(params *SmartlockAuthResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourcePostPostNoContent, error)

	SmartlockAuthsResourceGetGet(params *SmartlockAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourceGetGetOK, error)

	SmartlockAuthsResourcePutPut(params *SmartlockAuthsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourcePutPutNoContent, error)

	SmartlocksAuthsResourceDeleteDelete(params *SmartlocksAuthsResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceDeleteDeleteNoContent, error)

	SmartlocksAuthsResourceGetGet(params *SmartlocksAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceGetGetOK, error)

	SmartlocksAuthsResourcePostPost(params *SmartlocksAuthsResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourcePostPostNoContent, error)

	SmartlocksAuthsResourcePutPut(params *SmartlocksAuthsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourcePutPutNoContent, 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 auth API client.

type InstrumentedClientService

type InstrumentedClientService struct {
	ClientService
	// contains filtered or unexported fields
}

type MockClientService

type MockClientService struct {
	mock.Mock
}

MockClientService is an autogenerated mock type for the ClientService type

func NewMockClientService

func NewMockClientService(t mockConstructorTestingTNewMockClientService) *MockClientService

NewMockClientService creates a new instance of MockClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockClientService) SetTransport

func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockClientService) SmartlockAuthResourceDeleteDelete

SmartlockAuthResourceDeleteDelete provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SmartlockAuthResourceGetGet

SmartlockAuthResourceGetGet provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SmartlockAuthResourcePostPost

SmartlockAuthResourcePostPost provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SmartlockAuthsResourceGetGet

SmartlockAuthsResourceGetGet provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SmartlockAuthsResourcePutPut

SmartlockAuthsResourcePutPut provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SmartlocksAuthsResourceDeleteDelete

SmartlocksAuthsResourceDeleteDelete provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SmartlocksAuthsResourceGetGet

SmartlocksAuthsResourceGetGet provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SmartlocksAuthsResourcePostPost

SmartlocksAuthsResourcePostPost provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SmartlocksAuthsResourcePutPut

SmartlocksAuthsResourcePutPut provides a mock function with given fields: params, authInfo, opts

type SmartlockAuthResourceDeleteDeleteForbidden

type SmartlockAuthResourceDeleteDeleteForbidden struct {
}

SmartlockAuthResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSmartlockAuthResourceDeleteDeleteForbidden

func NewSmartlockAuthResourceDeleteDeleteForbidden() *SmartlockAuthResourceDeleteDeleteForbidden

NewSmartlockAuthResourceDeleteDeleteForbidden creates a SmartlockAuthResourceDeleteDeleteForbidden with default headers values

func (*SmartlockAuthResourceDeleteDeleteForbidden) Code

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

func (*SmartlockAuthResourceDeleteDeleteForbidden) Error

func (*SmartlockAuthResourceDeleteDeleteForbidden) IsClientError

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

func (*SmartlockAuthResourceDeleteDeleteForbidden) IsCode

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

func (*SmartlockAuthResourceDeleteDeleteForbidden) IsRedirect

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

func (*SmartlockAuthResourceDeleteDeleteForbidden) IsServerError

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

func (*SmartlockAuthResourceDeleteDeleteForbidden) IsSuccess

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

func (*SmartlockAuthResourceDeleteDeleteForbidden) String

type SmartlockAuthResourceDeleteDeleteLocked

type SmartlockAuthResourceDeleteDeleteLocked struct {
}

SmartlockAuthResourceDeleteDeleteLocked describes a response with status code 423, with default header values.

Locked

func NewSmartlockAuthResourceDeleteDeleteLocked

func NewSmartlockAuthResourceDeleteDeleteLocked() *SmartlockAuthResourceDeleteDeleteLocked

NewSmartlockAuthResourceDeleteDeleteLocked creates a SmartlockAuthResourceDeleteDeleteLocked with default headers values

func (*SmartlockAuthResourceDeleteDeleteLocked) Code

Code gets the status code for the smartlock auth resource delete delete locked response

func (*SmartlockAuthResourceDeleteDeleteLocked) Error

func (*SmartlockAuthResourceDeleteDeleteLocked) IsClientError

func (o *SmartlockAuthResourceDeleteDeleteLocked) IsClientError() bool

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

func (*SmartlockAuthResourceDeleteDeleteLocked) IsCode

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

func (*SmartlockAuthResourceDeleteDeleteLocked) IsRedirect

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

func (*SmartlockAuthResourceDeleteDeleteLocked) IsServerError

func (o *SmartlockAuthResourceDeleteDeleteLocked) IsServerError() bool

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

func (*SmartlockAuthResourceDeleteDeleteLocked) IsSuccess

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

func (*SmartlockAuthResourceDeleteDeleteLocked) String

type SmartlockAuthResourceDeleteDeleteNoContent

type SmartlockAuthResourceDeleteDeleteNoContent struct {
}

SmartlockAuthResourceDeleteDeleteNoContent describes a response with status code 204, with default header values.

Ok

func NewSmartlockAuthResourceDeleteDeleteNoContent

func NewSmartlockAuthResourceDeleteDeleteNoContent() *SmartlockAuthResourceDeleteDeleteNoContent

NewSmartlockAuthResourceDeleteDeleteNoContent creates a SmartlockAuthResourceDeleteDeleteNoContent with default headers values

func (*SmartlockAuthResourceDeleteDeleteNoContent) Code

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

func (*SmartlockAuthResourceDeleteDeleteNoContent) Error

func (*SmartlockAuthResourceDeleteDeleteNoContent) IsClientError

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

func (*SmartlockAuthResourceDeleteDeleteNoContent) IsCode

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

func (*SmartlockAuthResourceDeleteDeleteNoContent) IsRedirect

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

func (*SmartlockAuthResourceDeleteDeleteNoContent) IsServerError

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

func (*SmartlockAuthResourceDeleteDeleteNoContent) IsSuccess

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

func (*SmartlockAuthResourceDeleteDeleteNoContent) String

type SmartlockAuthResourceDeleteDeleteParams

type SmartlockAuthResourceDeleteDeleteParams struct {

	/* ID.

	   The smartlock authorization unique id
	*/
	ID string

	/* SmartlockID.

	   The smartlock id
	*/
	SmartlockID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlockAuthResourceDeleteDeleteParams contains all the parameters to send to the API endpoint

for the smartlock auth resource delete delete operation.

Typically these are written to a http.Request.

func NewSmartlockAuthResourceDeleteDeleteParams

func NewSmartlockAuthResourceDeleteDeleteParams() *SmartlockAuthResourceDeleteDeleteParams

NewSmartlockAuthResourceDeleteDeleteParams creates a new SmartlockAuthResourceDeleteDeleteParams 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 NewSmartlockAuthResourceDeleteDeleteParamsWithContext

func NewSmartlockAuthResourceDeleteDeleteParamsWithContext(ctx context.Context) *SmartlockAuthResourceDeleteDeleteParams

NewSmartlockAuthResourceDeleteDeleteParamsWithContext creates a new SmartlockAuthResourceDeleteDeleteParams object with the ability to set a context for a request.

func NewSmartlockAuthResourceDeleteDeleteParamsWithHTTPClient

func NewSmartlockAuthResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourceDeleteDeleteParams

NewSmartlockAuthResourceDeleteDeleteParamsWithHTTPClient creates a new SmartlockAuthResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockAuthResourceDeleteDeleteParamsWithTimeout

func NewSmartlockAuthResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourceDeleteDeleteParams

NewSmartlockAuthResourceDeleteDeleteParamsWithTimeout creates a new SmartlockAuthResourceDeleteDeleteParams object with the ability to set a timeout on a request.

func (*SmartlockAuthResourceDeleteDeleteParams) SetContext

SetContext adds the context to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) SetDefaults

func (o *SmartlockAuthResourceDeleteDeleteParams) SetDefaults()

SetDefaults hydrates default values in the smartlock auth resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthResourceDeleteDeleteParams) SetHTTPClient

func (o *SmartlockAuthResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) SetID

SetID adds the id to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) SetSmartlockID

func (o *SmartlockAuthResourceDeleteDeleteParams) SetSmartlockID(smartlockID int64)

SetSmartlockID adds the smartlockId to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) SetTimeout

func (o *SmartlockAuthResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) WithContext

WithContext adds the context to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) WithDefaults

WithDefaults hydrates default values in the smartlock auth resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthResourceDeleteDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) WithID

WithID adds the id to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the smartlock auth resource delete delete params

func (*SmartlockAuthResourceDeleteDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockAuthResourceDeleteDeleteReader

type SmartlockAuthResourceDeleteDeleteReader struct {
	// contains filtered or unexported fields
}

SmartlockAuthResourceDeleteDeleteReader is a Reader for the SmartlockAuthResourceDeleteDelete structure.

func (*SmartlockAuthResourceDeleteDeleteReader) ReadResponse

func (o *SmartlockAuthResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlockAuthResourceDeleteDeleteUnauthorized

type SmartlockAuthResourceDeleteDeleteUnauthorized struct {
}

SmartlockAuthResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewSmartlockAuthResourceDeleteDeleteUnauthorized

func NewSmartlockAuthResourceDeleteDeleteUnauthorized() *SmartlockAuthResourceDeleteDeleteUnauthorized

NewSmartlockAuthResourceDeleteDeleteUnauthorized creates a SmartlockAuthResourceDeleteDeleteUnauthorized with default headers values

func (*SmartlockAuthResourceDeleteDeleteUnauthorized) Code

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

func (*SmartlockAuthResourceDeleteDeleteUnauthorized) Error

func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsClientError

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

func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsCode

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

func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsRedirect

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

func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsServerError

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

func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsSuccess

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

func (*SmartlockAuthResourceDeleteDeleteUnauthorized) String

type SmartlockAuthResourceGetGetForbidden

type SmartlockAuthResourceGetGetForbidden struct {
}

SmartlockAuthResourceGetGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSmartlockAuthResourceGetGetForbidden

func NewSmartlockAuthResourceGetGetForbidden() *SmartlockAuthResourceGetGetForbidden

NewSmartlockAuthResourceGetGetForbidden creates a SmartlockAuthResourceGetGetForbidden with default headers values

func (*SmartlockAuthResourceGetGetForbidden) Code

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

func (*SmartlockAuthResourceGetGetForbidden) Error

func (*SmartlockAuthResourceGetGetForbidden) IsClientError

func (o *SmartlockAuthResourceGetGetForbidden) IsClientError() bool

IsClientError returns true when this smartlock auth resource get get forbidden response has a 4xx status code

func (*SmartlockAuthResourceGetGetForbidden) IsCode

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

func (*SmartlockAuthResourceGetGetForbidden) IsRedirect

IsRedirect returns true when this smartlock auth resource get get forbidden response has a 3xx status code

func (*SmartlockAuthResourceGetGetForbidden) IsServerError

func (o *SmartlockAuthResourceGetGetForbidden) IsServerError() bool

IsServerError returns true when this smartlock auth resource get get forbidden response has a 5xx status code

func (*SmartlockAuthResourceGetGetForbidden) IsSuccess

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

func (*SmartlockAuthResourceGetGetForbidden) String

type SmartlockAuthResourceGetGetOK

type SmartlockAuthResourceGetGetOK struct {
	Payload *models.SmartlockAuth
}

SmartlockAuthResourceGetGetOK describes a response with status code 200, with default header values.

successful operation

func NewSmartlockAuthResourceGetGetOK

func NewSmartlockAuthResourceGetGetOK() *SmartlockAuthResourceGetGetOK

NewSmartlockAuthResourceGetGetOK creates a SmartlockAuthResourceGetGetOK with default headers values

func (*SmartlockAuthResourceGetGetOK) Code

Code gets the status code for the smartlock auth resource get get o k response

func (*SmartlockAuthResourceGetGetOK) Error

func (*SmartlockAuthResourceGetGetOK) GetPayload

func (*SmartlockAuthResourceGetGetOK) IsClientError

func (o *SmartlockAuthResourceGetGetOK) IsClientError() bool

IsClientError returns true when this smartlock auth resource get get o k response has a 4xx status code

func (*SmartlockAuthResourceGetGetOK) IsCode

func (o *SmartlockAuthResourceGetGetOK) IsCode(code int) bool

IsCode returns true when this smartlock auth resource get get o k response a status code equal to that given

func (*SmartlockAuthResourceGetGetOK) IsRedirect

func (o *SmartlockAuthResourceGetGetOK) IsRedirect() bool

IsRedirect returns true when this smartlock auth resource get get o k response has a 3xx status code

func (*SmartlockAuthResourceGetGetOK) IsServerError

func (o *SmartlockAuthResourceGetGetOK) IsServerError() bool

IsServerError returns true when this smartlock auth resource get get o k response has a 5xx status code

func (*SmartlockAuthResourceGetGetOK) IsSuccess

func (o *SmartlockAuthResourceGetGetOK) IsSuccess() bool

IsSuccess returns true when this smartlock auth resource get get o k response has a 2xx status code

func (*SmartlockAuthResourceGetGetOK) String

type SmartlockAuthResourceGetGetParams

type SmartlockAuthResourceGetGetParams struct {

	/* ID.

	   The smartlock auth unique id
	*/
	ID string

	/* SmartlockID.

	   The smartlock id
	*/
	SmartlockID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlockAuthResourceGetGetParams contains all the parameters to send to the API endpoint

for the smartlock auth resource get get operation.

Typically these are written to a http.Request.

func NewSmartlockAuthResourceGetGetParams

func NewSmartlockAuthResourceGetGetParams() *SmartlockAuthResourceGetGetParams

NewSmartlockAuthResourceGetGetParams creates a new SmartlockAuthResourceGetGetParams 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 NewSmartlockAuthResourceGetGetParamsWithContext

func NewSmartlockAuthResourceGetGetParamsWithContext(ctx context.Context) *SmartlockAuthResourceGetGetParams

NewSmartlockAuthResourceGetGetParamsWithContext creates a new SmartlockAuthResourceGetGetParams object with the ability to set a context for a request.

func NewSmartlockAuthResourceGetGetParamsWithHTTPClient

func NewSmartlockAuthResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourceGetGetParams

NewSmartlockAuthResourceGetGetParamsWithHTTPClient creates a new SmartlockAuthResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockAuthResourceGetGetParamsWithTimeout

func NewSmartlockAuthResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourceGetGetParams

NewSmartlockAuthResourceGetGetParamsWithTimeout creates a new SmartlockAuthResourceGetGetParams object with the ability to set a timeout on a request.

func (*SmartlockAuthResourceGetGetParams) SetContext

SetContext adds the context to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) SetDefaults

func (o *SmartlockAuthResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the smartlock auth resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthResourceGetGetParams) SetHTTPClient

func (o *SmartlockAuthResourceGetGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) SetID

SetID adds the id to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) SetSmartlockID

func (o *SmartlockAuthResourceGetGetParams) SetSmartlockID(smartlockID int64)

SetSmartlockID adds the smartlockId to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) SetTimeout

func (o *SmartlockAuthResourceGetGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) WithContext

WithContext adds the context to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the smartlock auth resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) WithID

WithID adds the id to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the smartlock auth resource get get params

func (*SmartlockAuthResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockAuthResourceGetGetReader

type SmartlockAuthResourceGetGetReader struct {
	// contains filtered or unexported fields
}

SmartlockAuthResourceGetGetReader is a Reader for the SmartlockAuthResourceGetGet structure.

func (*SmartlockAuthResourceGetGetReader) ReadResponse

func (o *SmartlockAuthResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlockAuthResourceGetGetUnauthorized

type SmartlockAuthResourceGetGetUnauthorized struct {
}

SmartlockAuthResourceGetGetUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewSmartlockAuthResourceGetGetUnauthorized

func NewSmartlockAuthResourceGetGetUnauthorized() *SmartlockAuthResourceGetGetUnauthorized

NewSmartlockAuthResourceGetGetUnauthorized creates a SmartlockAuthResourceGetGetUnauthorized with default headers values

func (*SmartlockAuthResourceGetGetUnauthorized) Code

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

func (*SmartlockAuthResourceGetGetUnauthorized) Error

func (*SmartlockAuthResourceGetGetUnauthorized) IsClientError

func (o *SmartlockAuthResourceGetGetUnauthorized) IsClientError() bool

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

func (*SmartlockAuthResourceGetGetUnauthorized) IsCode

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

func (*SmartlockAuthResourceGetGetUnauthorized) IsRedirect

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

func (*SmartlockAuthResourceGetGetUnauthorized) IsServerError

func (o *SmartlockAuthResourceGetGetUnauthorized) IsServerError() bool

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

func (*SmartlockAuthResourceGetGetUnauthorized) IsSuccess

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

func (*SmartlockAuthResourceGetGetUnauthorized) String

type SmartlockAuthResourcePostPostBadRequest

type SmartlockAuthResourcePostPostBadRequest struct {
}

SmartlockAuthResourcePostPostBadRequest describes a response with status code 400, with default header values.

Bad parameter

func NewSmartlockAuthResourcePostPostBadRequest

func NewSmartlockAuthResourcePostPostBadRequest() *SmartlockAuthResourcePostPostBadRequest

NewSmartlockAuthResourcePostPostBadRequest creates a SmartlockAuthResourcePostPostBadRequest with default headers values

func (*SmartlockAuthResourcePostPostBadRequest) Code

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

func (*SmartlockAuthResourcePostPostBadRequest) Error

func (*SmartlockAuthResourcePostPostBadRequest) IsClientError

func (o *SmartlockAuthResourcePostPostBadRequest) IsClientError() bool

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

func (*SmartlockAuthResourcePostPostBadRequest) IsCode

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

func (*SmartlockAuthResourcePostPostBadRequest) IsRedirect

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

func (*SmartlockAuthResourcePostPostBadRequest) IsServerError

func (o *SmartlockAuthResourcePostPostBadRequest) IsServerError() bool

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

func (*SmartlockAuthResourcePostPostBadRequest) IsSuccess

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

func (*SmartlockAuthResourcePostPostBadRequest) String

type SmartlockAuthResourcePostPostConflict

type SmartlockAuthResourcePostPostConflict struct {
}

SmartlockAuthResourcePostPostConflict describes a response with status code 409, with default header values.

Parameter conflicts

func NewSmartlockAuthResourcePostPostConflict

func NewSmartlockAuthResourcePostPostConflict() *SmartlockAuthResourcePostPostConflict

NewSmartlockAuthResourcePostPostConflict creates a SmartlockAuthResourcePostPostConflict with default headers values

func (*SmartlockAuthResourcePostPostConflict) Code

Code gets the status code for the smartlock auth resource post post conflict response

func (*SmartlockAuthResourcePostPostConflict) Error

func (*SmartlockAuthResourcePostPostConflict) IsClientError

func (o *SmartlockAuthResourcePostPostConflict) IsClientError() bool

IsClientError returns true when this smartlock auth resource post post conflict response has a 4xx status code

func (*SmartlockAuthResourcePostPostConflict) IsCode

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

func (*SmartlockAuthResourcePostPostConflict) IsRedirect

IsRedirect returns true when this smartlock auth resource post post conflict response has a 3xx status code

func (*SmartlockAuthResourcePostPostConflict) IsServerError

func (o *SmartlockAuthResourcePostPostConflict) IsServerError() bool

IsServerError returns true when this smartlock auth resource post post conflict response has a 5xx status code

func (*SmartlockAuthResourcePostPostConflict) IsSuccess

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

func (*SmartlockAuthResourcePostPostConflict) String

type SmartlockAuthResourcePostPostForbidden

type SmartlockAuthResourcePostPostForbidden struct {
}

SmartlockAuthResourcePostPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSmartlockAuthResourcePostPostForbidden

func NewSmartlockAuthResourcePostPostForbidden() *SmartlockAuthResourcePostPostForbidden

NewSmartlockAuthResourcePostPostForbidden creates a SmartlockAuthResourcePostPostForbidden with default headers values

func (*SmartlockAuthResourcePostPostForbidden) Code

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

func (*SmartlockAuthResourcePostPostForbidden) Error

func (*SmartlockAuthResourcePostPostForbidden) IsClientError

func (o *SmartlockAuthResourcePostPostForbidden) IsClientError() bool

IsClientError returns true when this smartlock auth resource post post forbidden response has a 4xx status code

func (*SmartlockAuthResourcePostPostForbidden) IsCode

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

func (*SmartlockAuthResourcePostPostForbidden) IsRedirect

IsRedirect returns true when this smartlock auth resource post post forbidden response has a 3xx status code

func (*SmartlockAuthResourcePostPostForbidden) IsServerError

func (o *SmartlockAuthResourcePostPostForbidden) IsServerError() bool

IsServerError returns true when this smartlock auth resource post post forbidden response has a 5xx status code

func (*SmartlockAuthResourcePostPostForbidden) IsSuccess

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

func (*SmartlockAuthResourcePostPostForbidden) String

type SmartlockAuthResourcePostPostLocked

type SmartlockAuthResourcePostPostLocked struct {
}

SmartlockAuthResourcePostPostLocked describes a response with status code 423, with default header values.

Locked

func NewSmartlockAuthResourcePostPostLocked

func NewSmartlockAuthResourcePostPostLocked() *SmartlockAuthResourcePostPostLocked

NewSmartlockAuthResourcePostPostLocked creates a SmartlockAuthResourcePostPostLocked with default headers values

func (*SmartlockAuthResourcePostPostLocked) Code

Code gets the status code for the smartlock auth resource post post locked response

func (*SmartlockAuthResourcePostPostLocked) Error

func (*SmartlockAuthResourcePostPostLocked) IsClientError

func (o *SmartlockAuthResourcePostPostLocked) IsClientError() bool

IsClientError returns true when this smartlock auth resource post post locked response has a 4xx status code

func (*SmartlockAuthResourcePostPostLocked) IsCode

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

func (*SmartlockAuthResourcePostPostLocked) IsRedirect

func (o *SmartlockAuthResourcePostPostLocked) IsRedirect() bool

IsRedirect returns true when this smartlock auth resource post post locked response has a 3xx status code

func (*SmartlockAuthResourcePostPostLocked) IsServerError

func (o *SmartlockAuthResourcePostPostLocked) IsServerError() bool

IsServerError returns true when this smartlock auth resource post post locked response has a 5xx status code

func (*SmartlockAuthResourcePostPostLocked) IsSuccess

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

func (*SmartlockAuthResourcePostPostLocked) String

type SmartlockAuthResourcePostPostNoContent

type SmartlockAuthResourcePostPostNoContent struct {
}

SmartlockAuthResourcePostPostNoContent describes a response with status code 204, with default header values.

Ok

func NewSmartlockAuthResourcePostPostNoContent

func NewSmartlockAuthResourcePostPostNoContent() *SmartlockAuthResourcePostPostNoContent

NewSmartlockAuthResourcePostPostNoContent creates a SmartlockAuthResourcePostPostNoContent with default headers values

func (*SmartlockAuthResourcePostPostNoContent) Code

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

func (*SmartlockAuthResourcePostPostNoContent) Error

func (*SmartlockAuthResourcePostPostNoContent) IsClientError

func (o *SmartlockAuthResourcePostPostNoContent) IsClientError() bool

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

func (*SmartlockAuthResourcePostPostNoContent) IsCode

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

func (*SmartlockAuthResourcePostPostNoContent) IsRedirect

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

func (*SmartlockAuthResourcePostPostNoContent) IsServerError

func (o *SmartlockAuthResourcePostPostNoContent) IsServerError() bool

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

func (*SmartlockAuthResourcePostPostNoContent) IsSuccess

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

func (*SmartlockAuthResourcePostPostNoContent) String

type SmartlockAuthResourcePostPostParams

type SmartlockAuthResourcePostPostParams struct {

	/* Body.

	   Smartlock authorization update representation
	*/
	Body *models.SmartlockAuthUpdate

	/* ID.

	   The smartlock authorization unique id
	*/
	ID string

	/* SmartlockID.

	   The smartlock id
	*/
	SmartlockID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlockAuthResourcePostPostParams contains all the parameters to send to the API endpoint

for the smartlock auth resource post post operation.

Typically these are written to a http.Request.

func NewSmartlockAuthResourcePostPostParams

func NewSmartlockAuthResourcePostPostParams() *SmartlockAuthResourcePostPostParams

NewSmartlockAuthResourcePostPostParams creates a new SmartlockAuthResourcePostPostParams 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 NewSmartlockAuthResourcePostPostParamsWithContext

func NewSmartlockAuthResourcePostPostParamsWithContext(ctx context.Context) *SmartlockAuthResourcePostPostParams

NewSmartlockAuthResourcePostPostParamsWithContext creates a new SmartlockAuthResourcePostPostParams object with the ability to set a context for a request.

func NewSmartlockAuthResourcePostPostParamsWithHTTPClient

func NewSmartlockAuthResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourcePostPostParams

NewSmartlockAuthResourcePostPostParamsWithHTTPClient creates a new SmartlockAuthResourcePostPostParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockAuthResourcePostPostParamsWithTimeout

func NewSmartlockAuthResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourcePostPostParams

NewSmartlockAuthResourcePostPostParamsWithTimeout creates a new SmartlockAuthResourcePostPostParams object with the ability to set a timeout on a request.

func (*SmartlockAuthResourcePostPostParams) SetBody

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

func (*SmartlockAuthResourcePostPostParams) SetContext

SetContext adds the context to the smartlock auth resource post post params

func (*SmartlockAuthResourcePostPostParams) SetDefaults

func (o *SmartlockAuthResourcePostPostParams) SetDefaults()

SetDefaults hydrates default values in the smartlock auth resource post post params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthResourcePostPostParams) SetHTTPClient

func (o *SmartlockAuthResourcePostPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlock auth resource post post params

func (*SmartlockAuthResourcePostPostParams) SetID

SetID adds the id to the smartlock auth resource post post params

func (*SmartlockAuthResourcePostPostParams) SetSmartlockID

func (o *SmartlockAuthResourcePostPostParams) SetSmartlockID(smartlockID int64)

SetSmartlockID adds the smartlockId to the smartlock auth resource post post params

func (*SmartlockAuthResourcePostPostParams) SetTimeout

func (o *SmartlockAuthResourcePostPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the smartlock auth resource post post params

func (*SmartlockAuthResourcePostPostParams) WithBody

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

func (*SmartlockAuthResourcePostPostParams) WithContext

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

func (*SmartlockAuthResourcePostPostParams) WithDefaults

WithDefaults hydrates default values in the smartlock auth resource post post params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthResourcePostPostParams) WithHTTPClient

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

func (*SmartlockAuthResourcePostPostParams) WithID

WithID adds the id to the smartlock auth resource post post params

func (*SmartlockAuthResourcePostPostParams) WithSmartlockID

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

func (*SmartlockAuthResourcePostPostParams) WithTimeout

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

func (*SmartlockAuthResourcePostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockAuthResourcePostPostReader

type SmartlockAuthResourcePostPostReader struct {
	// contains filtered or unexported fields
}

SmartlockAuthResourcePostPostReader is a Reader for the SmartlockAuthResourcePostPost structure.

func (*SmartlockAuthResourcePostPostReader) ReadResponse

func (o *SmartlockAuthResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlockAuthResourcePostPostUnauthorized

type SmartlockAuthResourcePostPostUnauthorized struct {
}

SmartlockAuthResourcePostPostUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewSmartlockAuthResourcePostPostUnauthorized

func NewSmartlockAuthResourcePostPostUnauthorized() *SmartlockAuthResourcePostPostUnauthorized

NewSmartlockAuthResourcePostPostUnauthorized creates a SmartlockAuthResourcePostPostUnauthorized with default headers values

func (*SmartlockAuthResourcePostPostUnauthorized) Code

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

func (*SmartlockAuthResourcePostPostUnauthorized) Error

func (*SmartlockAuthResourcePostPostUnauthorized) IsClientError

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

func (*SmartlockAuthResourcePostPostUnauthorized) IsCode

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

func (*SmartlockAuthResourcePostPostUnauthorized) IsRedirect

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

func (*SmartlockAuthResourcePostPostUnauthorized) IsServerError

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

func (*SmartlockAuthResourcePostPostUnauthorized) IsSuccess

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

func (*SmartlockAuthResourcePostPostUnauthorized) String

type SmartlockAuthsResourceGetGetForbidden

type SmartlockAuthsResourceGetGetForbidden struct {
}

SmartlockAuthsResourceGetGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSmartlockAuthsResourceGetGetForbidden

func NewSmartlockAuthsResourceGetGetForbidden() *SmartlockAuthsResourceGetGetForbidden

NewSmartlockAuthsResourceGetGetForbidden creates a SmartlockAuthsResourceGetGetForbidden with default headers values

func (*SmartlockAuthsResourceGetGetForbidden) Code

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

func (*SmartlockAuthsResourceGetGetForbidden) Error

func (*SmartlockAuthsResourceGetGetForbidden) IsClientError

func (o *SmartlockAuthsResourceGetGetForbidden) IsClientError() bool

IsClientError returns true when this smartlock auths resource get get forbidden response has a 4xx status code

func (*SmartlockAuthsResourceGetGetForbidden) IsCode

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

func (*SmartlockAuthsResourceGetGetForbidden) IsRedirect

IsRedirect returns true when this smartlock auths resource get get forbidden response has a 3xx status code

func (*SmartlockAuthsResourceGetGetForbidden) IsServerError

func (o *SmartlockAuthsResourceGetGetForbidden) IsServerError() bool

IsServerError returns true when this smartlock auths resource get get forbidden response has a 5xx status code

func (*SmartlockAuthsResourceGetGetForbidden) IsSuccess

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

func (*SmartlockAuthsResourceGetGetForbidden) String

type SmartlockAuthsResourceGetGetOK

type SmartlockAuthsResourceGetGetOK struct {
	Payload []*models.SmartlockAuth
}

SmartlockAuthsResourceGetGetOK describes a response with status code 200, with default header values.

successful operation

func NewSmartlockAuthsResourceGetGetOK

func NewSmartlockAuthsResourceGetGetOK() *SmartlockAuthsResourceGetGetOK

NewSmartlockAuthsResourceGetGetOK creates a SmartlockAuthsResourceGetGetOK with default headers values

func (*SmartlockAuthsResourceGetGetOK) Code

Code gets the status code for the smartlock auths resource get get o k response

func (*SmartlockAuthsResourceGetGetOK) Error

func (*SmartlockAuthsResourceGetGetOK) GetPayload

func (*SmartlockAuthsResourceGetGetOK) IsClientError

func (o *SmartlockAuthsResourceGetGetOK) IsClientError() bool

IsClientError returns true when this smartlock auths resource get get o k response has a 4xx status code

func (*SmartlockAuthsResourceGetGetOK) IsCode

func (o *SmartlockAuthsResourceGetGetOK) IsCode(code int) bool

IsCode returns true when this smartlock auths resource get get o k response a status code equal to that given

func (*SmartlockAuthsResourceGetGetOK) IsRedirect

func (o *SmartlockAuthsResourceGetGetOK) IsRedirect() bool

IsRedirect returns true when this smartlock auths resource get get o k response has a 3xx status code

func (*SmartlockAuthsResourceGetGetOK) IsServerError

func (o *SmartlockAuthsResourceGetGetOK) IsServerError() bool

IsServerError returns true when this smartlock auths resource get get o k response has a 5xx status code

func (*SmartlockAuthsResourceGetGetOK) IsSuccess

func (o *SmartlockAuthsResourceGetGetOK) IsSuccess() bool

IsSuccess returns true when this smartlock auths resource get get o k response has a 2xx status code

func (*SmartlockAuthsResourceGetGetOK) String

type SmartlockAuthsResourceGetGetParams

type SmartlockAuthsResourceGetGetParams struct {

	/* SmartlockID.

	   The smartlock id
	*/
	SmartlockID int64

	/* Types.

	   Filter for smartlock authorization's types (comma-separated eg: 0,2,3)
	*/
	Types *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlockAuthsResourceGetGetParams contains all the parameters to send to the API endpoint

for the smartlock auths resource get get operation.

Typically these are written to a http.Request.

func NewSmartlockAuthsResourceGetGetParams

func NewSmartlockAuthsResourceGetGetParams() *SmartlockAuthsResourceGetGetParams

NewSmartlockAuthsResourceGetGetParams creates a new SmartlockAuthsResourceGetGetParams 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 NewSmartlockAuthsResourceGetGetParamsWithContext

func NewSmartlockAuthsResourceGetGetParamsWithContext(ctx context.Context) *SmartlockAuthsResourceGetGetParams

NewSmartlockAuthsResourceGetGetParamsWithContext creates a new SmartlockAuthsResourceGetGetParams object with the ability to set a context for a request.

func NewSmartlockAuthsResourceGetGetParamsWithHTTPClient

func NewSmartlockAuthsResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlockAuthsResourceGetGetParams

NewSmartlockAuthsResourceGetGetParamsWithHTTPClient creates a new SmartlockAuthsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockAuthsResourceGetGetParamsWithTimeout

func NewSmartlockAuthsResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlockAuthsResourceGetGetParams

NewSmartlockAuthsResourceGetGetParamsWithTimeout creates a new SmartlockAuthsResourceGetGetParams object with the ability to set a timeout on a request.

func (*SmartlockAuthsResourceGetGetParams) SetContext

SetContext adds the context to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) SetDefaults

func (o *SmartlockAuthsResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the smartlock auths resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthsResourceGetGetParams) SetHTTPClient

func (o *SmartlockAuthsResourceGetGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) SetSmartlockID

func (o *SmartlockAuthsResourceGetGetParams) SetSmartlockID(smartlockID int64)

SetSmartlockID adds the smartlockId to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) SetTimeout

func (o *SmartlockAuthsResourceGetGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) SetTypes

func (o *SmartlockAuthsResourceGetGetParams) SetTypes(types *string)

SetTypes adds the types to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) WithContext

WithContext adds the context to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the smartlock auths resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthsResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) WithTypes

WithTypes adds the types to the smartlock auths resource get get params

func (*SmartlockAuthsResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockAuthsResourceGetGetReader

type SmartlockAuthsResourceGetGetReader struct {
	// contains filtered or unexported fields
}

SmartlockAuthsResourceGetGetReader is a Reader for the SmartlockAuthsResourceGetGet structure.

func (*SmartlockAuthsResourceGetGetReader) ReadResponse

func (o *SmartlockAuthsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlockAuthsResourceGetGetUnauthorized

type SmartlockAuthsResourceGetGetUnauthorized struct {
}

SmartlockAuthsResourceGetGetUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewSmartlockAuthsResourceGetGetUnauthorized

func NewSmartlockAuthsResourceGetGetUnauthorized() *SmartlockAuthsResourceGetGetUnauthorized

NewSmartlockAuthsResourceGetGetUnauthorized creates a SmartlockAuthsResourceGetGetUnauthorized with default headers values

func (*SmartlockAuthsResourceGetGetUnauthorized) Code

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

func (*SmartlockAuthsResourceGetGetUnauthorized) Error

func (*SmartlockAuthsResourceGetGetUnauthorized) IsClientError

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

func (*SmartlockAuthsResourceGetGetUnauthorized) IsCode

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

func (*SmartlockAuthsResourceGetGetUnauthorized) IsRedirect

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

func (*SmartlockAuthsResourceGetGetUnauthorized) IsServerError

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

func (*SmartlockAuthsResourceGetGetUnauthorized) IsSuccess

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

func (*SmartlockAuthsResourceGetGetUnauthorized) String

type SmartlockAuthsResourcePutPutBadRequest

type SmartlockAuthsResourcePutPutBadRequest struct {
}

SmartlockAuthsResourcePutPutBadRequest describes a response with status code 400, with default header values.

Bad parameter

func NewSmartlockAuthsResourcePutPutBadRequest

func NewSmartlockAuthsResourcePutPutBadRequest() *SmartlockAuthsResourcePutPutBadRequest

NewSmartlockAuthsResourcePutPutBadRequest creates a SmartlockAuthsResourcePutPutBadRequest with default headers values

func (*SmartlockAuthsResourcePutPutBadRequest) Code

Code gets the status code for the smartlock auths resource put put bad request response

func (*SmartlockAuthsResourcePutPutBadRequest) Error

func (*SmartlockAuthsResourcePutPutBadRequest) IsClientError

func (o *SmartlockAuthsResourcePutPutBadRequest) IsClientError() bool

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

func (*SmartlockAuthsResourcePutPutBadRequest) IsCode

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

func (*SmartlockAuthsResourcePutPutBadRequest) IsRedirect

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

func (*SmartlockAuthsResourcePutPutBadRequest) IsServerError

func (o *SmartlockAuthsResourcePutPutBadRequest) IsServerError() bool

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

func (*SmartlockAuthsResourcePutPutBadRequest) IsSuccess

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

func (*SmartlockAuthsResourcePutPutBadRequest) String

type SmartlockAuthsResourcePutPutConflict

type SmartlockAuthsResourcePutPutConflict struct {
}

SmartlockAuthsResourcePutPutConflict describes a response with status code 409, with default header values.

Parameter conflicts

func NewSmartlockAuthsResourcePutPutConflict

func NewSmartlockAuthsResourcePutPutConflict() *SmartlockAuthsResourcePutPutConflict

NewSmartlockAuthsResourcePutPutConflict creates a SmartlockAuthsResourcePutPutConflict with default headers values

func (*SmartlockAuthsResourcePutPutConflict) Code

Code gets the status code for the smartlock auths resource put put conflict response

func (*SmartlockAuthsResourcePutPutConflict) Error

func (*SmartlockAuthsResourcePutPutConflict) IsClientError

func (o *SmartlockAuthsResourcePutPutConflict) IsClientError() bool

IsClientError returns true when this smartlock auths resource put put conflict response has a 4xx status code

func (*SmartlockAuthsResourcePutPutConflict) IsCode

IsCode returns true when this smartlock auths resource put put conflict response a status code equal to that given

func (*SmartlockAuthsResourcePutPutConflict) IsRedirect

IsRedirect returns true when this smartlock auths resource put put conflict response has a 3xx status code

func (*SmartlockAuthsResourcePutPutConflict) IsServerError

func (o *SmartlockAuthsResourcePutPutConflict) IsServerError() bool

IsServerError returns true when this smartlock auths resource put put conflict response has a 5xx status code

func (*SmartlockAuthsResourcePutPutConflict) IsSuccess

IsSuccess returns true when this smartlock auths resource put put conflict response has a 2xx status code

func (*SmartlockAuthsResourcePutPutConflict) String

type SmartlockAuthsResourcePutPutNoContent

type SmartlockAuthsResourcePutPutNoContent struct {
}

SmartlockAuthsResourcePutPutNoContent describes a response with status code 204, with default header values.

Ok

func NewSmartlockAuthsResourcePutPutNoContent

func NewSmartlockAuthsResourcePutPutNoContent() *SmartlockAuthsResourcePutPutNoContent

NewSmartlockAuthsResourcePutPutNoContent creates a SmartlockAuthsResourcePutPutNoContent with default headers values

func (*SmartlockAuthsResourcePutPutNoContent) Code

Code gets the status code for the smartlock auths resource put put no content response

func (*SmartlockAuthsResourcePutPutNoContent) Error

func (*SmartlockAuthsResourcePutPutNoContent) IsClientError

func (o *SmartlockAuthsResourcePutPutNoContent) IsClientError() bool

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

func (*SmartlockAuthsResourcePutPutNoContent) IsCode

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

func (*SmartlockAuthsResourcePutPutNoContent) IsRedirect

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

func (*SmartlockAuthsResourcePutPutNoContent) IsServerError

func (o *SmartlockAuthsResourcePutPutNoContent) IsServerError() bool

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

func (*SmartlockAuthsResourcePutPutNoContent) IsSuccess

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

func (*SmartlockAuthsResourcePutPutNoContent) String

type SmartlockAuthsResourcePutPutParams

type SmartlockAuthsResourcePutPutParams struct {

	/* Body.

	   Smartlock authorization create representation
	*/
	Body *models.SmartlockAuthCreate

	/* SmartlockID.

	   The smartlock id
	*/
	SmartlockID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlockAuthsResourcePutPutParams contains all the parameters to send to the API endpoint

for the smartlock auths resource put put operation.

Typically these are written to a http.Request.

func NewSmartlockAuthsResourcePutPutParams

func NewSmartlockAuthsResourcePutPutParams() *SmartlockAuthsResourcePutPutParams

NewSmartlockAuthsResourcePutPutParams creates a new SmartlockAuthsResourcePutPutParams 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 NewSmartlockAuthsResourcePutPutParamsWithContext

func NewSmartlockAuthsResourcePutPutParamsWithContext(ctx context.Context) *SmartlockAuthsResourcePutPutParams

NewSmartlockAuthsResourcePutPutParamsWithContext creates a new SmartlockAuthsResourcePutPutParams object with the ability to set a context for a request.

func NewSmartlockAuthsResourcePutPutParamsWithHTTPClient

func NewSmartlockAuthsResourcePutPutParamsWithHTTPClient(client *http.Client) *SmartlockAuthsResourcePutPutParams

NewSmartlockAuthsResourcePutPutParamsWithHTTPClient creates a new SmartlockAuthsResourcePutPutParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockAuthsResourcePutPutParamsWithTimeout

func NewSmartlockAuthsResourcePutPutParamsWithTimeout(timeout time.Duration) *SmartlockAuthsResourcePutPutParams

NewSmartlockAuthsResourcePutPutParamsWithTimeout creates a new SmartlockAuthsResourcePutPutParams object with the ability to set a timeout on a request.

func (*SmartlockAuthsResourcePutPutParams) SetBody

SetBody adds the body to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) SetContext

SetContext adds the context to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) SetDefaults

func (o *SmartlockAuthsResourcePutPutParams) SetDefaults()

SetDefaults hydrates default values in the smartlock auths resource put put params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthsResourcePutPutParams) SetHTTPClient

func (o *SmartlockAuthsResourcePutPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) SetSmartlockID

func (o *SmartlockAuthsResourcePutPutParams) SetSmartlockID(smartlockID int64)

SetSmartlockID adds the smartlockId to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) SetTimeout

func (o *SmartlockAuthsResourcePutPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) WithBody

WithBody adds the body to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) WithContext

WithContext adds the context to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) WithDefaults

WithDefaults hydrates default values in the smartlock auths resource put put params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlockAuthsResourcePutPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) WithSmartlockID

WithSmartlockID adds the smartlockID to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) WithTimeout

WithTimeout adds the timeout to the smartlock auths resource put put params

func (*SmartlockAuthsResourcePutPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockAuthsResourcePutPutPaymentRequired

type SmartlockAuthsResourcePutPutPaymentRequired struct {
}

SmartlockAuthsResourcePutPutPaymentRequired describes a response with status code 402, with default header values.

Account not payed

func NewSmartlockAuthsResourcePutPutPaymentRequired

func NewSmartlockAuthsResourcePutPutPaymentRequired() *SmartlockAuthsResourcePutPutPaymentRequired

NewSmartlockAuthsResourcePutPutPaymentRequired creates a SmartlockAuthsResourcePutPutPaymentRequired with default headers values

func (*SmartlockAuthsResourcePutPutPaymentRequired) Code

Code gets the status code for the smartlock auths resource put put payment required response

func (*SmartlockAuthsResourcePutPutPaymentRequired) Error

func (*SmartlockAuthsResourcePutPutPaymentRequired) IsClientError

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

func (*SmartlockAuthsResourcePutPutPaymentRequired) IsCode

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

func (*SmartlockAuthsResourcePutPutPaymentRequired) IsRedirect

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

func (*SmartlockAuthsResourcePutPutPaymentRequired) IsServerError

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

func (*SmartlockAuthsResourcePutPutPaymentRequired) IsSuccess

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

func (*SmartlockAuthsResourcePutPutPaymentRequired) String

type SmartlockAuthsResourcePutPutReader

type SmartlockAuthsResourcePutPutReader struct {
	// contains filtered or unexported fields
}

SmartlockAuthsResourcePutPutReader is a Reader for the SmartlockAuthsResourcePutPut structure.

func (*SmartlockAuthsResourcePutPutReader) ReadResponse

func (o *SmartlockAuthsResourcePutPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlockAuthsResourcePutPutUpgradeRequired

type SmartlockAuthsResourcePutPutUpgradeRequired struct {
}

SmartlockAuthsResourcePutPutUpgradeRequired describes a response with status code 426, with default header values.

Account upgrade required

func NewSmartlockAuthsResourcePutPutUpgradeRequired

func NewSmartlockAuthsResourcePutPutUpgradeRequired() *SmartlockAuthsResourcePutPutUpgradeRequired

NewSmartlockAuthsResourcePutPutUpgradeRequired creates a SmartlockAuthsResourcePutPutUpgradeRequired with default headers values

func (*SmartlockAuthsResourcePutPutUpgradeRequired) Code

Code gets the status code for the smartlock auths resource put put upgrade required response

func (*SmartlockAuthsResourcePutPutUpgradeRequired) Error

func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsClientError

IsClientError returns true when this smartlock auths resource put put upgrade required response has a 4xx status code

func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsCode

IsCode returns true when this smartlock auths resource put put upgrade required response a status code equal to that given

func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsRedirect

IsRedirect returns true when this smartlock auths resource put put upgrade required response has a 3xx status code

func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsServerError

IsServerError returns true when this smartlock auths resource put put upgrade required response has a 5xx status code

func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsSuccess

IsSuccess returns true when this smartlock auths resource put put upgrade required response has a 2xx status code

func (*SmartlockAuthsResourcePutPutUpgradeRequired) String

type SmartlocksAuthsResourceDeleteDeleteBadRequest

type SmartlocksAuthsResourceDeleteDeleteBadRequest struct {
}

SmartlocksAuthsResourceDeleteDeleteBadRequest describes a response with status code 400, with default header values.

Bad parameter

func NewSmartlocksAuthsResourceDeleteDeleteBadRequest

func NewSmartlocksAuthsResourceDeleteDeleteBadRequest() *SmartlocksAuthsResourceDeleteDeleteBadRequest

NewSmartlocksAuthsResourceDeleteDeleteBadRequest creates a SmartlocksAuthsResourceDeleteDeleteBadRequest with default headers values

func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) Code

Code gets the status code for the smartlocks auths resource delete delete bad request response

func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) Error

func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsClientError

IsClientError returns true when this smartlocks auths resource delete delete bad request response has a 4xx status code

func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsCode

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

func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsRedirect

IsRedirect returns true when this smartlocks auths resource delete delete bad request response has a 3xx status code

func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsServerError

IsServerError returns true when this smartlocks auths resource delete delete bad request response has a 5xx status code

func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsSuccess

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

func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) String

type SmartlocksAuthsResourceDeleteDeleteForbidden

type SmartlocksAuthsResourceDeleteDeleteForbidden struct {
}

SmartlocksAuthsResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSmartlocksAuthsResourceDeleteDeleteForbidden

func NewSmartlocksAuthsResourceDeleteDeleteForbidden() *SmartlocksAuthsResourceDeleteDeleteForbidden

NewSmartlocksAuthsResourceDeleteDeleteForbidden creates a SmartlocksAuthsResourceDeleteDeleteForbidden with default headers values

func (*SmartlocksAuthsResourceDeleteDeleteForbidden) Code

Code gets the status code for the smartlocks auths resource delete delete forbidden response

func (*SmartlocksAuthsResourceDeleteDeleteForbidden) Error

func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsClientError

IsClientError returns true when this smartlocks auths resource delete delete forbidden response has a 4xx status code

func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsCode

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

func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsRedirect

IsRedirect returns true when this smartlocks auths resource delete delete forbidden response has a 3xx status code

func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsServerError

IsServerError returns true when this smartlocks auths resource delete delete forbidden response has a 5xx status code

func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsSuccess

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

func (*SmartlocksAuthsResourceDeleteDeleteForbidden) String

type SmartlocksAuthsResourceDeleteDeleteLocked

type SmartlocksAuthsResourceDeleteDeleteLocked struct {
}

SmartlocksAuthsResourceDeleteDeleteLocked describes a response with status code 423, with default header values.

Locked

func NewSmartlocksAuthsResourceDeleteDeleteLocked

func NewSmartlocksAuthsResourceDeleteDeleteLocked() *SmartlocksAuthsResourceDeleteDeleteLocked

NewSmartlocksAuthsResourceDeleteDeleteLocked creates a SmartlocksAuthsResourceDeleteDeleteLocked with default headers values

func (*SmartlocksAuthsResourceDeleteDeleteLocked) Code

Code gets the status code for the smartlocks auths resource delete delete locked response

func (*SmartlocksAuthsResourceDeleteDeleteLocked) Error

func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsClientError

IsClientError returns true when this smartlocks auths resource delete delete locked response has a 4xx status code

func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsCode

IsCode returns true when this smartlocks auths resource delete delete locked response a status code equal to that given

func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsRedirect

IsRedirect returns true when this smartlocks auths resource delete delete locked response has a 3xx status code

func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsServerError

IsServerError returns true when this smartlocks auths resource delete delete locked response has a 5xx status code

func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsSuccess

IsSuccess returns true when this smartlocks auths resource delete delete locked response has a 2xx status code

func (*SmartlocksAuthsResourceDeleteDeleteLocked) String

type SmartlocksAuthsResourceDeleteDeleteNoContent

type SmartlocksAuthsResourceDeleteDeleteNoContent struct {
}

SmartlocksAuthsResourceDeleteDeleteNoContent describes a response with status code 204, with default header values.

Ok

func NewSmartlocksAuthsResourceDeleteDeleteNoContent

func NewSmartlocksAuthsResourceDeleteDeleteNoContent() *SmartlocksAuthsResourceDeleteDeleteNoContent

NewSmartlocksAuthsResourceDeleteDeleteNoContent creates a SmartlocksAuthsResourceDeleteDeleteNoContent with default headers values

func (*SmartlocksAuthsResourceDeleteDeleteNoContent) Code

Code gets the status code for the smartlocks auths resource delete delete no content response

func (*SmartlocksAuthsResourceDeleteDeleteNoContent) Error

func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsClientError

IsClientError returns true when this smartlocks auths resource delete delete no content response has a 4xx status code

func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsCode

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

func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsRedirect

IsRedirect returns true when this smartlocks auths resource delete delete no content response has a 3xx status code

func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsServerError

IsServerError returns true when this smartlocks auths resource delete delete no content response has a 5xx status code

func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsSuccess

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

func (*SmartlocksAuthsResourceDeleteDeleteNoContent) String

type SmartlocksAuthsResourceDeleteDeleteParams

type SmartlocksAuthsResourceDeleteDeleteParams struct {

	/* Body.

	   Smartlock authorization IDs to delete
	*/
	Body []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlocksAuthsResourceDeleteDeleteParams contains all the parameters to send to the API endpoint

for the smartlocks auths resource delete delete operation.

Typically these are written to a http.Request.

func NewSmartlocksAuthsResourceDeleteDeleteParams

func NewSmartlocksAuthsResourceDeleteDeleteParams() *SmartlocksAuthsResourceDeleteDeleteParams

NewSmartlocksAuthsResourceDeleteDeleteParams creates a new SmartlocksAuthsResourceDeleteDeleteParams 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 NewSmartlocksAuthsResourceDeleteDeleteParamsWithContext

func NewSmartlocksAuthsResourceDeleteDeleteParamsWithContext(ctx context.Context) *SmartlocksAuthsResourceDeleteDeleteParams

NewSmartlocksAuthsResourceDeleteDeleteParamsWithContext creates a new SmartlocksAuthsResourceDeleteDeleteParams object with the ability to set a context for a request.

func NewSmartlocksAuthsResourceDeleteDeleteParamsWithHTTPClient

func NewSmartlocksAuthsResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourceDeleteDeleteParams

NewSmartlocksAuthsResourceDeleteDeleteParamsWithHTTPClient creates a new SmartlocksAuthsResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlocksAuthsResourceDeleteDeleteParamsWithTimeout

func NewSmartlocksAuthsResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourceDeleteDeleteParams

NewSmartlocksAuthsResourceDeleteDeleteParamsWithTimeout creates a new SmartlocksAuthsResourceDeleteDeleteParams object with the ability to set a timeout on a request.

func (*SmartlocksAuthsResourceDeleteDeleteParams) SetBody

SetBody adds the body to the smartlocks auths resource delete delete params

func (*SmartlocksAuthsResourceDeleteDeleteParams) SetContext

SetContext adds the context to the smartlocks auths resource delete delete params

func (*SmartlocksAuthsResourceDeleteDeleteParams) SetDefaults

SetDefaults hydrates default values in the smartlocks auths resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlocksAuthsResourceDeleteDeleteParams) SetHTTPClient

func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlocks auths resource delete delete params

func (*SmartlocksAuthsResourceDeleteDeleteParams) SetTimeout

SetTimeout adds the timeout to the smartlocks auths resource delete delete params

func (*SmartlocksAuthsResourceDeleteDeleteParams) WithBody

WithBody adds the body to the smartlocks auths resource delete delete params

func (*SmartlocksAuthsResourceDeleteDeleteParams) WithContext

WithContext adds the context to the smartlocks auths resource delete delete params

func (*SmartlocksAuthsResourceDeleteDeleteParams) WithDefaults

WithDefaults hydrates default values in the smartlocks auths resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlocksAuthsResourceDeleteDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the smartlocks auths resource delete delete params

func (*SmartlocksAuthsResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the smartlocks auths resource delete delete params

func (*SmartlocksAuthsResourceDeleteDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlocksAuthsResourceDeleteDeleteReader

type SmartlocksAuthsResourceDeleteDeleteReader struct {
	// contains filtered or unexported fields
}

SmartlocksAuthsResourceDeleteDeleteReader is a Reader for the SmartlocksAuthsResourceDeleteDelete structure.

func (*SmartlocksAuthsResourceDeleteDeleteReader) ReadResponse

func (o *SmartlocksAuthsResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlocksAuthsResourceDeleteDeleteUnauthorized

type SmartlocksAuthsResourceDeleteDeleteUnauthorized struct {
}

SmartlocksAuthsResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewSmartlocksAuthsResourceDeleteDeleteUnauthorized

func NewSmartlocksAuthsResourceDeleteDeleteUnauthorized() *SmartlocksAuthsResourceDeleteDeleteUnauthorized

NewSmartlocksAuthsResourceDeleteDeleteUnauthorized creates a SmartlocksAuthsResourceDeleteDeleteUnauthorized with default headers values

func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) Code

Code gets the status code for the smartlocks auths resource delete delete unauthorized response

func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) Error

func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsClientError

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

func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsCode

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

func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsRedirect

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

func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsServerError

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

func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsSuccess

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

func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) String

type SmartlocksAuthsResourceGetGetOK

type SmartlocksAuthsResourceGetGetOK struct {
	Payload []*models.SmartlockAuth
}

SmartlocksAuthsResourceGetGetOK describes a response with status code 200, with default header values.

successful operation

func NewSmartlocksAuthsResourceGetGetOK

func NewSmartlocksAuthsResourceGetGetOK() *SmartlocksAuthsResourceGetGetOK

NewSmartlocksAuthsResourceGetGetOK creates a SmartlocksAuthsResourceGetGetOK with default headers values

func (*SmartlocksAuthsResourceGetGetOK) Code

Code gets the status code for the smartlocks auths resource get get o k response

func (*SmartlocksAuthsResourceGetGetOK) Error

func (*SmartlocksAuthsResourceGetGetOK) GetPayload

func (*SmartlocksAuthsResourceGetGetOK) IsClientError

func (o *SmartlocksAuthsResourceGetGetOK) IsClientError() bool

IsClientError returns true when this smartlocks auths resource get get o k response has a 4xx status code

func (*SmartlocksAuthsResourceGetGetOK) IsCode

func (o *SmartlocksAuthsResourceGetGetOK) IsCode(code int) bool

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

func (*SmartlocksAuthsResourceGetGetOK) IsRedirect

func (o *SmartlocksAuthsResourceGetGetOK) IsRedirect() bool

IsRedirect returns true when this smartlocks auths resource get get o k response has a 3xx status code

func (*SmartlocksAuthsResourceGetGetOK) IsServerError

func (o *SmartlocksAuthsResourceGetGetOK) IsServerError() bool

IsServerError returns true when this smartlocks auths resource get get o k response has a 5xx status code

func (*SmartlocksAuthsResourceGetGetOK) IsSuccess

func (o *SmartlocksAuthsResourceGetGetOK) IsSuccess() bool

IsSuccess returns true when this smartlocks auths resource get get o k response has a 2xx status code

func (*SmartlocksAuthsResourceGetGetOK) String

type SmartlocksAuthsResourceGetGetParams

type SmartlocksAuthsResourceGetGetParams struct {

	/* AccountUserID.

	   Filter for account users:  set to a positive number will filter for authorizations with this specific accountUserId, set to a negative number will filter without set accountUserId
	*/
	AccountUserID *int64

	/* Types.

	   Filter for authorization's types (comma-separated eg: 0,2,3)
	*/
	Types *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlocksAuthsResourceGetGetParams contains all the parameters to send to the API endpoint

for the smartlocks auths resource get get operation.

Typically these are written to a http.Request.

func NewSmartlocksAuthsResourceGetGetParams

func NewSmartlocksAuthsResourceGetGetParams() *SmartlocksAuthsResourceGetGetParams

NewSmartlocksAuthsResourceGetGetParams creates a new SmartlocksAuthsResourceGetGetParams 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 NewSmartlocksAuthsResourceGetGetParamsWithContext

func NewSmartlocksAuthsResourceGetGetParamsWithContext(ctx context.Context) *SmartlocksAuthsResourceGetGetParams

NewSmartlocksAuthsResourceGetGetParamsWithContext creates a new SmartlocksAuthsResourceGetGetParams object with the ability to set a context for a request.

func NewSmartlocksAuthsResourceGetGetParamsWithHTTPClient

func NewSmartlocksAuthsResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourceGetGetParams

NewSmartlocksAuthsResourceGetGetParamsWithHTTPClient creates a new SmartlocksAuthsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlocksAuthsResourceGetGetParamsWithTimeout

func NewSmartlocksAuthsResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourceGetGetParams

NewSmartlocksAuthsResourceGetGetParamsWithTimeout creates a new SmartlocksAuthsResourceGetGetParams object with the ability to set a timeout on a request.

func (*SmartlocksAuthsResourceGetGetParams) SetAccountUserID

func (o *SmartlocksAuthsResourceGetGetParams) SetAccountUserID(accountUserID *int64)

SetAccountUserID adds the accountUserId to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) SetContext

SetContext adds the context to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) SetDefaults

func (o *SmartlocksAuthsResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the smartlocks auths resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlocksAuthsResourceGetGetParams) SetHTTPClient

func (o *SmartlocksAuthsResourceGetGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) SetTimeout

func (o *SmartlocksAuthsResourceGetGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) SetTypes

func (o *SmartlocksAuthsResourceGetGetParams) SetTypes(types *string)

SetTypes adds the types to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) WithAccountUserID

WithAccountUserID adds the accountUserID to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) WithContext

WithContext adds the context to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the smartlocks auths resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlocksAuthsResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) WithTypes

WithTypes adds the types to the smartlocks auths resource get get params

func (*SmartlocksAuthsResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlocksAuthsResourceGetGetReader

type SmartlocksAuthsResourceGetGetReader struct {
	// contains filtered or unexported fields
}

SmartlocksAuthsResourceGetGetReader is a Reader for the SmartlocksAuthsResourceGetGet structure.

func (*SmartlocksAuthsResourceGetGetReader) ReadResponse

func (o *SmartlocksAuthsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlocksAuthsResourceGetGetUnauthorized

type SmartlocksAuthsResourceGetGetUnauthorized struct {
}

SmartlocksAuthsResourceGetGetUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewSmartlocksAuthsResourceGetGetUnauthorized

func NewSmartlocksAuthsResourceGetGetUnauthorized() *SmartlocksAuthsResourceGetGetUnauthorized

NewSmartlocksAuthsResourceGetGetUnauthorized creates a SmartlocksAuthsResourceGetGetUnauthorized with default headers values

func (*SmartlocksAuthsResourceGetGetUnauthorized) Code

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

func (*SmartlocksAuthsResourceGetGetUnauthorized) Error

func (*SmartlocksAuthsResourceGetGetUnauthorized) IsClientError

IsClientError returns true when this smartlocks auths resource get get unauthorized response has a 4xx status code

func (*SmartlocksAuthsResourceGetGetUnauthorized) IsCode

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

func (*SmartlocksAuthsResourceGetGetUnauthorized) IsRedirect

IsRedirect returns true when this smartlocks auths resource get get unauthorized response has a 3xx status code

func (*SmartlocksAuthsResourceGetGetUnauthorized) IsServerError

IsServerError returns true when this smartlocks auths resource get get unauthorized response has a 5xx status code

func (*SmartlocksAuthsResourceGetGetUnauthorized) IsSuccess

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

func (*SmartlocksAuthsResourceGetGetUnauthorized) String

type SmartlocksAuthsResourcePostPostBadRequest

type SmartlocksAuthsResourcePostPostBadRequest struct {
}

SmartlocksAuthsResourcePostPostBadRequest describes a response with status code 400, with default header values.

Bad parameter

func NewSmartlocksAuthsResourcePostPostBadRequest

func NewSmartlocksAuthsResourcePostPostBadRequest() *SmartlocksAuthsResourcePostPostBadRequest

NewSmartlocksAuthsResourcePostPostBadRequest creates a SmartlocksAuthsResourcePostPostBadRequest with default headers values

func (*SmartlocksAuthsResourcePostPostBadRequest) Code

Code gets the status code for the smartlocks auths resource post post bad request response

func (*SmartlocksAuthsResourcePostPostBadRequest) Error

func (*SmartlocksAuthsResourcePostPostBadRequest) IsClientError

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

func (*SmartlocksAuthsResourcePostPostBadRequest) IsCode

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

func (*SmartlocksAuthsResourcePostPostBadRequest) IsRedirect

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

func (*SmartlocksAuthsResourcePostPostBadRequest) IsServerError

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

func (*SmartlocksAuthsResourcePostPostBadRequest) IsSuccess

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

func (*SmartlocksAuthsResourcePostPostBadRequest) String

type SmartlocksAuthsResourcePostPostConflict

type SmartlocksAuthsResourcePostPostConflict struct {
}

SmartlocksAuthsResourcePostPostConflict describes a response with status code 409, with default header values.

Parameter conflicts

func NewSmartlocksAuthsResourcePostPostConflict

func NewSmartlocksAuthsResourcePostPostConflict() *SmartlocksAuthsResourcePostPostConflict

NewSmartlocksAuthsResourcePostPostConflict creates a SmartlocksAuthsResourcePostPostConflict with default headers values

func (*SmartlocksAuthsResourcePostPostConflict) Code

Code gets the status code for the smartlocks auths resource post post conflict response

func (*SmartlocksAuthsResourcePostPostConflict) Error

func (*SmartlocksAuthsResourcePostPostConflict) IsClientError

func (o *SmartlocksAuthsResourcePostPostConflict) IsClientError() bool

IsClientError returns true when this smartlocks auths resource post post conflict response has a 4xx status code

func (*SmartlocksAuthsResourcePostPostConflict) IsCode

IsCode returns true when this smartlocks auths resource post post conflict response a status code equal to that given

func (*SmartlocksAuthsResourcePostPostConflict) IsRedirect

IsRedirect returns true when this smartlocks auths resource post post conflict response has a 3xx status code

func (*SmartlocksAuthsResourcePostPostConflict) IsServerError

func (o *SmartlocksAuthsResourcePostPostConflict) IsServerError() bool

IsServerError returns true when this smartlocks auths resource post post conflict response has a 5xx status code

func (*SmartlocksAuthsResourcePostPostConflict) IsSuccess

IsSuccess returns true when this smartlocks auths resource post post conflict response has a 2xx status code

func (*SmartlocksAuthsResourcePostPostConflict) String

type SmartlocksAuthsResourcePostPostForbidden

type SmartlocksAuthsResourcePostPostForbidden struct {
}

SmartlocksAuthsResourcePostPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSmartlocksAuthsResourcePostPostForbidden

func NewSmartlocksAuthsResourcePostPostForbidden() *SmartlocksAuthsResourcePostPostForbidden

NewSmartlocksAuthsResourcePostPostForbidden creates a SmartlocksAuthsResourcePostPostForbidden with default headers values

func (*SmartlocksAuthsResourcePostPostForbidden) Code

Code gets the status code for the smartlocks auths resource post post forbidden response

func (*SmartlocksAuthsResourcePostPostForbidden) Error

func (*SmartlocksAuthsResourcePostPostForbidden) IsClientError

IsClientError returns true when this smartlocks auths resource post post forbidden response has a 4xx status code

func (*SmartlocksAuthsResourcePostPostForbidden) IsCode

IsCode returns true when this smartlocks auths resource post post forbidden response a status code equal to that given

func (*SmartlocksAuthsResourcePostPostForbidden) IsRedirect

IsRedirect returns true when this smartlocks auths resource post post forbidden response has a 3xx status code

func (*SmartlocksAuthsResourcePostPostForbidden) IsServerError

IsServerError returns true when this smartlocks auths resource post post forbidden response has a 5xx status code

func (*SmartlocksAuthsResourcePostPostForbidden) IsSuccess

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

func (*SmartlocksAuthsResourcePostPostForbidden) String

type SmartlocksAuthsResourcePostPostLocked

type SmartlocksAuthsResourcePostPostLocked struct {
}

SmartlocksAuthsResourcePostPostLocked describes a response with status code 423, with default header values.

Locked

func NewSmartlocksAuthsResourcePostPostLocked

func NewSmartlocksAuthsResourcePostPostLocked() *SmartlocksAuthsResourcePostPostLocked

NewSmartlocksAuthsResourcePostPostLocked creates a SmartlocksAuthsResourcePostPostLocked with default headers values

func (*SmartlocksAuthsResourcePostPostLocked) Code

Code gets the status code for the smartlocks auths resource post post locked response

func (*SmartlocksAuthsResourcePostPostLocked) Error

func (*SmartlocksAuthsResourcePostPostLocked) IsClientError

func (o *SmartlocksAuthsResourcePostPostLocked) IsClientError() bool

IsClientError returns true when this smartlocks auths resource post post locked response has a 4xx status code

func (*SmartlocksAuthsResourcePostPostLocked) IsCode

IsCode returns true when this smartlocks auths resource post post locked response a status code equal to that given

func (*SmartlocksAuthsResourcePostPostLocked) IsRedirect

IsRedirect returns true when this smartlocks auths resource post post locked response has a 3xx status code

func (*SmartlocksAuthsResourcePostPostLocked) IsServerError

func (o *SmartlocksAuthsResourcePostPostLocked) IsServerError() bool

IsServerError returns true when this smartlocks auths resource post post locked response has a 5xx status code

func (*SmartlocksAuthsResourcePostPostLocked) IsSuccess

IsSuccess returns true when this smartlocks auths resource post post locked response has a 2xx status code

func (*SmartlocksAuthsResourcePostPostLocked) String

type SmartlocksAuthsResourcePostPostNoContent

type SmartlocksAuthsResourcePostPostNoContent struct {
}

SmartlocksAuthsResourcePostPostNoContent describes a response with status code 204, with default header values.

Ok

func NewSmartlocksAuthsResourcePostPostNoContent

func NewSmartlocksAuthsResourcePostPostNoContent() *SmartlocksAuthsResourcePostPostNoContent

NewSmartlocksAuthsResourcePostPostNoContent creates a SmartlocksAuthsResourcePostPostNoContent with default headers values

func (*SmartlocksAuthsResourcePostPostNoContent) Code

Code gets the status code for the smartlocks auths resource post post no content response

func (*SmartlocksAuthsResourcePostPostNoContent) Error

func (*SmartlocksAuthsResourcePostPostNoContent) IsClientError

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

func (*SmartlocksAuthsResourcePostPostNoContent) IsCode

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

func (*SmartlocksAuthsResourcePostPostNoContent) IsRedirect

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

func (*SmartlocksAuthsResourcePostPostNoContent) IsServerError

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

func (*SmartlocksAuthsResourcePostPostNoContent) IsSuccess

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

func (*SmartlocksAuthsResourcePostPostNoContent) String

type SmartlocksAuthsResourcePostPostParams

type SmartlocksAuthsResourcePostPostParams struct {

	/* Body.

	   Smartlock authorization update representations
	*/
	Body []*models.SmartlockAuthMultiUpdate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlocksAuthsResourcePostPostParams contains all the parameters to send to the API endpoint

for the smartlocks auths resource post post operation.

Typically these are written to a http.Request.

func NewSmartlocksAuthsResourcePostPostParams

func NewSmartlocksAuthsResourcePostPostParams() *SmartlocksAuthsResourcePostPostParams

NewSmartlocksAuthsResourcePostPostParams creates a new SmartlocksAuthsResourcePostPostParams 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 NewSmartlocksAuthsResourcePostPostParamsWithContext

func NewSmartlocksAuthsResourcePostPostParamsWithContext(ctx context.Context) *SmartlocksAuthsResourcePostPostParams

NewSmartlocksAuthsResourcePostPostParamsWithContext creates a new SmartlocksAuthsResourcePostPostParams object with the ability to set a context for a request.

func NewSmartlocksAuthsResourcePostPostParamsWithHTTPClient

func NewSmartlocksAuthsResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePostPostParams

NewSmartlocksAuthsResourcePostPostParamsWithHTTPClient creates a new SmartlocksAuthsResourcePostPostParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlocksAuthsResourcePostPostParamsWithTimeout

func NewSmartlocksAuthsResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePostPostParams

NewSmartlocksAuthsResourcePostPostParamsWithTimeout creates a new SmartlocksAuthsResourcePostPostParams object with the ability to set a timeout on a request.

func (*SmartlocksAuthsResourcePostPostParams) SetBody

SetBody adds the body to the smartlocks auths resource post post params

func (*SmartlocksAuthsResourcePostPostParams) SetContext

SetContext adds the context to the smartlocks auths resource post post params

func (*SmartlocksAuthsResourcePostPostParams) SetDefaults

func (o *SmartlocksAuthsResourcePostPostParams) SetDefaults()

SetDefaults hydrates default values in the smartlocks auths resource post post params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlocksAuthsResourcePostPostParams) SetHTTPClient

func (o *SmartlocksAuthsResourcePostPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlocks auths resource post post params

func (*SmartlocksAuthsResourcePostPostParams) SetTimeout

func (o *SmartlocksAuthsResourcePostPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the smartlocks auths resource post post params

func (*SmartlocksAuthsResourcePostPostParams) WithBody

WithBody adds the body to the smartlocks auths resource post post params

func (*SmartlocksAuthsResourcePostPostParams) WithContext

WithContext adds the context to the smartlocks auths resource post post params

func (*SmartlocksAuthsResourcePostPostParams) WithDefaults

WithDefaults hydrates default values in the smartlocks auths resource post post params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlocksAuthsResourcePostPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the smartlocks auths resource post post params

func (*SmartlocksAuthsResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the smartlocks auths resource post post params

func (*SmartlocksAuthsResourcePostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlocksAuthsResourcePostPostReader

type SmartlocksAuthsResourcePostPostReader struct {
	// contains filtered or unexported fields
}

SmartlocksAuthsResourcePostPostReader is a Reader for the SmartlocksAuthsResourcePostPost structure.

func (*SmartlocksAuthsResourcePostPostReader) ReadResponse

func (o *SmartlocksAuthsResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlocksAuthsResourcePostPostUnauthorized

type SmartlocksAuthsResourcePostPostUnauthorized struct {
}

SmartlocksAuthsResourcePostPostUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewSmartlocksAuthsResourcePostPostUnauthorized

func NewSmartlocksAuthsResourcePostPostUnauthorized() *SmartlocksAuthsResourcePostPostUnauthorized

NewSmartlocksAuthsResourcePostPostUnauthorized creates a SmartlocksAuthsResourcePostPostUnauthorized with default headers values

func (*SmartlocksAuthsResourcePostPostUnauthorized) Code

Code gets the status code for the smartlocks auths resource post post unauthorized response

func (*SmartlocksAuthsResourcePostPostUnauthorized) Error

func (*SmartlocksAuthsResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this smartlocks auths resource post post unauthorized response has a 4xx status code

func (*SmartlocksAuthsResourcePostPostUnauthorized) IsCode

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

func (*SmartlocksAuthsResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this smartlocks auths resource post post unauthorized response has a 3xx status code

func (*SmartlocksAuthsResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this smartlocks auths resource post post unauthorized response has a 5xx status code

func (*SmartlocksAuthsResourcePostPostUnauthorized) IsSuccess

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

func (*SmartlocksAuthsResourcePostPostUnauthorized) String

type SmartlocksAuthsResourcePutPutBadRequest

type SmartlocksAuthsResourcePutPutBadRequest struct {
}

SmartlocksAuthsResourcePutPutBadRequest describes a response with status code 400, with default header values.

Bad parameter

func NewSmartlocksAuthsResourcePutPutBadRequest

func NewSmartlocksAuthsResourcePutPutBadRequest() *SmartlocksAuthsResourcePutPutBadRequest

NewSmartlocksAuthsResourcePutPutBadRequest creates a SmartlocksAuthsResourcePutPutBadRequest with default headers values

func (*SmartlocksAuthsResourcePutPutBadRequest) Code

Code gets the status code for the smartlocks auths resource put put bad request response

func (*SmartlocksAuthsResourcePutPutBadRequest) Error

func (*SmartlocksAuthsResourcePutPutBadRequest) IsClientError

func (o *SmartlocksAuthsResourcePutPutBadRequest) IsClientError() bool

IsClientError returns true when this smartlocks auths resource put put bad request response has a 4xx status code

func (*SmartlocksAuthsResourcePutPutBadRequest) IsCode

IsCode returns true when this smartlocks auths resource put put bad request response a status code equal to that given

func (*SmartlocksAuthsResourcePutPutBadRequest) IsRedirect

IsRedirect returns true when this smartlocks auths resource put put bad request response has a 3xx status code

func (*SmartlocksAuthsResourcePutPutBadRequest) IsServerError

func (o *SmartlocksAuthsResourcePutPutBadRequest) IsServerError() bool

IsServerError returns true when this smartlocks auths resource put put bad request response has a 5xx status code

func (*SmartlocksAuthsResourcePutPutBadRequest) IsSuccess

IsSuccess returns true when this smartlocks auths resource put put bad request response has a 2xx status code

func (*SmartlocksAuthsResourcePutPutBadRequest) String

type SmartlocksAuthsResourcePutPutConflict

type SmartlocksAuthsResourcePutPutConflict struct {
}

SmartlocksAuthsResourcePutPutConflict describes a response with status code 409, with default header values.

Parameter conflicts

func NewSmartlocksAuthsResourcePutPutConflict

func NewSmartlocksAuthsResourcePutPutConflict() *SmartlocksAuthsResourcePutPutConflict

NewSmartlocksAuthsResourcePutPutConflict creates a SmartlocksAuthsResourcePutPutConflict with default headers values

func (*SmartlocksAuthsResourcePutPutConflict) Code

Code gets the status code for the smartlocks auths resource put put conflict response

func (*SmartlocksAuthsResourcePutPutConflict) Error

func (*SmartlocksAuthsResourcePutPutConflict) IsClientError

func (o *SmartlocksAuthsResourcePutPutConflict) IsClientError() bool

IsClientError returns true when this smartlocks auths resource put put conflict response has a 4xx status code

func (*SmartlocksAuthsResourcePutPutConflict) IsCode

IsCode returns true when this smartlocks auths resource put put conflict response a status code equal to that given

func (*SmartlocksAuthsResourcePutPutConflict) IsRedirect

IsRedirect returns true when this smartlocks auths resource put put conflict response has a 3xx status code

func (*SmartlocksAuthsResourcePutPutConflict) IsServerError

func (o *SmartlocksAuthsResourcePutPutConflict) IsServerError() bool

IsServerError returns true when this smartlocks auths resource put put conflict response has a 5xx status code

func (*SmartlocksAuthsResourcePutPutConflict) IsSuccess

IsSuccess returns true when this smartlocks auths resource put put conflict response has a 2xx status code

func (*SmartlocksAuthsResourcePutPutConflict) String

type SmartlocksAuthsResourcePutPutNoContent

type SmartlocksAuthsResourcePutPutNoContent struct {
}

SmartlocksAuthsResourcePutPutNoContent describes a response with status code 204, with default header values.

Ok

func NewSmartlocksAuthsResourcePutPutNoContent

func NewSmartlocksAuthsResourcePutPutNoContent() *SmartlocksAuthsResourcePutPutNoContent

NewSmartlocksAuthsResourcePutPutNoContent creates a SmartlocksAuthsResourcePutPutNoContent with default headers values

func (*SmartlocksAuthsResourcePutPutNoContent) Code

Code gets the status code for the smartlocks auths resource put put no content response

func (*SmartlocksAuthsResourcePutPutNoContent) Error

func (*SmartlocksAuthsResourcePutPutNoContent) IsClientError

func (o *SmartlocksAuthsResourcePutPutNoContent) IsClientError() bool

IsClientError returns true when this smartlocks auths resource put put no content response has a 4xx status code

func (*SmartlocksAuthsResourcePutPutNoContent) IsCode

IsCode returns true when this smartlocks auths resource put put no content response a status code equal to that given

func (*SmartlocksAuthsResourcePutPutNoContent) IsRedirect

IsRedirect returns true when this smartlocks auths resource put put no content response has a 3xx status code

func (*SmartlocksAuthsResourcePutPutNoContent) IsServerError

func (o *SmartlocksAuthsResourcePutPutNoContent) IsServerError() bool

IsServerError returns true when this smartlocks auths resource put put no content response has a 5xx status code

func (*SmartlocksAuthsResourcePutPutNoContent) IsSuccess

IsSuccess returns true when this smartlocks auths resource put put no content response has a 2xx status code

func (*SmartlocksAuthsResourcePutPutNoContent) String

type SmartlocksAuthsResourcePutPutParams

type SmartlocksAuthsResourcePutPutParams struct {

	/* Body.

	   Smartlock authorization create representation
	*/
	Body *models.SmartlocksAuthCreate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SmartlocksAuthsResourcePutPutParams contains all the parameters to send to the API endpoint

for the smartlocks auths resource put put operation.

Typically these are written to a http.Request.

func NewSmartlocksAuthsResourcePutPutParams

func NewSmartlocksAuthsResourcePutPutParams() *SmartlocksAuthsResourcePutPutParams

NewSmartlocksAuthsResourcePutPutParams creates a new SmartlocksAuthsResourcePutPutParams 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 NewSmartlocksAuthsResourcePutPutParamsWithContext

func NewSmartlocksAuthsResourcePutPutParamsWithContext(ctx context.Context) *SmartlocksAuthsResourcePutPutParams

NewSmartlocksAuthsResourcePutPutParamsWithContext creates a new SmartlocksAuthsResourcePutPutParams object with the ability to set a context for a request.

func NewSmartlocksAuthsResourcePutPutParamsWithHTTPClient

func NewSmartlocksAuthsResourcePutPutParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePutPutParams

NewSmartlocksAuthsResourcePutPutParamsWithHTTPClient creates a new SmartlocksAuthsResourcePutPutParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlocksAuthsResourcePutPutParamsWithTimeout

func NewSmartlocksAuthsResourcePutPutParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePutPutParams

NewSmartlocksAuthsResourcePutPutParamsWithTimeout creates a new SmartlocksAuthsResourcePutPutParams object with the ability to set a timeout on a request.

func (*SmartlocksAuthsResourcePutPutParams) SetBody

SetBody adds the body to the smartlocks auths resource put put params

func (*SmartlocksAuthsResourcePutPutParams) SetContext

SetContext adds the context to the smartlocks auths resource put put params

func (*SmartlocksAuthsResourcePutPutParams) SetDefaults

func (o *SmartlocksAuthsResourcePutPutParams) SetDefaults()

SetDefaults hydrates default values in the smartlocks auths resource put put params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlocksAuthsResourcePutPutParams) SetHTTPClient

func (o *SmartlocksAuthsResourcePutPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the smartlocks auths resource put put params

func (*SmartlocksAuthsResourcePutPutParams) SetTimeout

func (o *SmartlocksAuthsResourcePutPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the smartlocks auths resource put put params

func (*SmartlocksAuthsResourcePutPutParams) WithBody

WithBody adds the body to the smartlocks auths resource put put params

func (*SmartlocksAuthsResourcePutPutParams) WithContext

WithContext adds the context to the smartlocks auths resource put put params

func (*SmartlocksAuthsResourcePutPutParams) WithDefaults

WithDefaults hydrates default values in the smartlocks auths resource put put params (not the query body).

All values with no default are reset to their zero value.

func (*SmartlocksAuthsResourcePutPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the smartlocks auths resource put put params

func (*SmartlocksAuthsResourcePutPutParams) WithTimeout

WithTimeout adds the timeout to the smartlocks auths resource put put params

func (*SmartlocksAuthsResourcePutPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlocksAuthsResourcePutPutPaymentRequired

type SmartlocksAuthsResourcePutPutPaymentRequired struct {
}

SmartlocksAuthsResourcePutPutPaymentRequired describes a response with status code 402, with default header values.

Account not payed

func NewSmartlocksAuthsResourcePutPutPaymentRequired

func NewSmartlocksAuthsResourcePutPutPaymentRequired() *SmartlocksAuthsResourcePutPutPaymentRequired

NewSmartlocksAuthsResourcePutPutPaymentRequired creates a SmartlocksAuthsResourcePutPutPaymentRequired with default headers values

func (*SmartlocksAuthsResourcePutPutPaymentRequired) Code

Code gets the status code for the smartlocks auths resource put put payment required response

func (*SmartlocksAuthsResourcePutPutPaymentRequired) Error

func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsClientError

IsClientError returns true when this smartlocks auths resource put put payment required response has a 4xx status code

func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsCode

IsCode returns true when this smartlocks auths resource put put payment required response a status code equal to that given

func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsRedirect

IsRedirect returns true when this smartlocks auths resource put put payment required response has a 3xx status code

func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsServerError

IsServerError returns true when this smartlocks auths resource put put payment required response has a 5xx status code

func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsSuccess

IsSuccess returns true when this smartlocks auths resource put put payment required response has a 2xx status code

func (*SmartlocksAuthsResourcePutPutPaymentRequired) String

type SmartlocksAuthsResourcePutPutReader

type SmartlocksAuthsResourcePutPutReader struct {
	// contains filtered or unexported fields
}

SmartlocksAuthsResourcePutPutReader is a Reader for the SmartlocksAuthsResourcePutPut structure.

func (*SmartlocksAuthsResourcePutPutReader) ReadResponse

func (o *SmartlocksAuthsResourcePutPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SmartlocksAuthsResourcePutPutUpgradeRequired

type SmartlocksAuthsResourcePutPutUpgradeRequired struct {
}

SmartlocksAuthsResourcePutPutUpgradeRequired describes a response with status code 426, with default header values.

Account upgrade required

func NewSmartlocksAuthsResourcePutPutUpgradeRequired

func NewSmartlocksAuthsResourcePutPutUpgradeRequired() *SmartlocksAuthsResourcePutPutUpgradeRequired

NewSmartlocksAuthsResourcePutPutUpgradeRequired creates a SmartlocksAuthsResourcePutPutUpgradeRequired with default headers values

func (*SmartlocksAuthsResourcePutPutUpgradeRequired) Code

Code gets the status code for the smartlocks auths resource put put upgrade required response

func (*SmartlocksAuthsResourcePutPutUpgradeRequired) Error

func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsClientError

IsClientError returns true when this smartlocks auths resource put put upgrade required response has a 4xx status code

func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsCode

IsCode returns true when this smartlocks auths resource put put upgrade required response a status code equal to that given

func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsRedirect

IsRedirect returns true when this smartlocks auths resource put put upgrade required response has a 3xx status code

func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsServerError

IsServerError returns true when this smartlocks auths resource put put upgrade required response has a 5xx status code

func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsSuccess

IsSuccess returns true when this smartlocks auths resource put put upgrade required response has a 2xx status code

func (*SmartlocksAuthsResourcePutPutUpgradeRequired) String

Jump to

Keyboard shortcuts

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