advanced_api

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for advanced api API

func (*Client) DecentralWebhookResourceDeleteDelete

DecentralWebhookResourceDeleteDelete unregisters a decentral webhook

func (*Client) DecentralWebhooksResourceGetGet

func (a *Client) DecentralWebhooksResourceGetGet(params *DecentralWebhooksResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecentralWebhooksResourceGetGetOK, error)

DecentralWebhooksResourceGetGet gets all registered decentral webhooks

func (*Client) DecentralWebhooksResourcePutPut

func (a *Client) DecentralWebhooksResourcePutPut(params *DecentralWebhooksResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecentralWebhooksResourcePutPutOK, error)

DecentralWebhooksResourcePutPut creates decentral webhook

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SmartlockActionAdvancedResourceActionPost

SmartlockActionAdvancedResourceActionPost smartlocks action with callback

func (*Client) SmartlockAuthsAdvancedResourcePutPut

func (a *Client) SmartlockAuthsAdvancedResourcePutPut(params *SmartlockAuthsAdvancedResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsAdvancedResourcePutPutOK, error)

SmartlockAuthsAdvancedResourcePutPut creates asynchronous smartlock authorizations

func (*Client) SmartlockLockActionAdvancedResourcePostLockPost

SmartlockLockActionAdvancedResourcePostLockPost locks a smartlock

func (*Client) SmartlockUnlockActionAdvancedResourcePostLockPost

SmartlockUnlockActionAdvancedResourcePostLockPost unlocks a smartlock

func (*Client) WebhookLogsResourceGetGet

func (a *Client) WebhookLogsResourceGetGet(params *WebhookLogsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookLogsResourceGetGetOK, error)

WebhookLogsResourceGetGet gets a list of webhook logs descending

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DecentralWebhookResourceDeleteDelete(params *DecentralWebhookResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecentralWebhookResourceDeleteDeleteNoContent, error)

	DecentralWebhooksResourceGetGet(params *DecentralWebhooksResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecentralWebhooksResourceGetGetOK, error)

	DecentralWebhooksResourcePutPut(params *DecentralWebhooksResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecentralWebhooksResourcePutPutOK, error)

	SmartlockActionAdvancedResourceActionPost(params *SmartlockActionAdvancedResourceActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockActionAdvancedResourceActionPostOK, error)

	SmartlockAuthsAdvancedResourcePutPut(params *SmartlockAuthsAdvancedResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsAdvancedResourcePutPutOK, error)

	SmartlockLockActionAdvancedResourcePostLockPost(params *SmartlockLockActionAdvancedResourcePostLockPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockLockActionAdvancedResourcePostLockPostOK, error)

	SmartlockUnlockActionAdvancedResourcePostLockPost(params *SmartlockUnlockActionAdvancedResourcePostLockPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockUnlockActionAdvancedResourcePostLockPostOK, error)

	WebhookLogsResourceGetGet(params *WebhookLogsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookLogsResourceGetGetOK, 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 advanced api API client.

type DecentralWebhookResourceDeleteDeleteForbidden

type DecentralWebhookResourceDeleteDeleteForbidden struct {
}

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

Forbidden

func NewDecentralWebhookResourceDeleteDeleteForbidden

func NewDecentralWebhookResourceDeleteDeleteForbidden() *DecentralWebhookResourceDeleteDeleteForbidden

NewDecentralWebhookResourceDeleteDeleteForbidden creates a DecentralWebhookResourceDeleteDeleteForbidden with default headers values

func (*DecentralWebhookResourceDeleteDeleteForbidden) Code

Code gets the status code for the decentral webhook resource delete delete forbidden response

func (*DecentralWebhookResourceDeleteDeleteForbidden) Error

func (*DecentralWebhookResourceDeleteDeleteForbidden) IsClientError

IsClientError returns true when this decentral webhook resource delete delete forbidden response has a 4xx status code

func (*DecentralWebhookResourceDeleteDeleteForbidden) IsCode

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

func (*DecentralWebhookResourceDeleteDeleteForbidden) IsRedirect

IsRedirect returns true when this decentral webhook resource delete delete forbidden response has a 3xx status code

func (*DecentralWebhookResourceDeleteDeleteForbidden) IsServerError

IsServerError returns true when this decentral webhook resource delete delete forbidden response has a 5xx status code

func (*DecentralWebhookResourceDeleteDeleteForbidden) IsSuccess

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

func (*DecentralWebhookResourceDeleteDeleteForbidden) String

type DecentralWebhookResourceDeleteDeleteNoContent

type DecentralWebhookResourceDeleteDeleteNoContent struct {
}

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

Ok

func NewDecentralWebhookResourceDeleteDeleteNoContent

func NewDecentralWebhookResourceDeleteDeleteNoContent() *DecentralWebhookResourceDeleteDeleteNoContent

NewDecentralWebhookResourceDeleteDeleteNoContent creates a DecentralWebhookResourceDeleteDeleteNoContent with default headers values

func (*DecentralWebhookResourceDeleteDeleteNoContent) Code

Code gets the status code for the decentral webhook resource delete delete no content response

func (*DecentralWebhookResourceDeleteDeleteNoContent) Error

func (*DecentralWebhookResourceDeleteDeleteNoContent) IsClientError

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

func (*DecentralWebhookResourceDeleteDeleteNoContent) IsCode

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

func (*DecentralWebhookResourceDeleteDeleteNoContent) IsRedirect

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

func (*DecentralWebhookResourceDeleteDeleteNoContent) IsServerError

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

func (*DecentralWebhookResourceDeleteDeleteNoContent) IsSuccess

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

func (*DecentralWebhookResourceDeleteDeleteNoContent) String

type DecentralWebhookResourceDeleteDeleteParams

type DecentralWebhookResourceDeleteDeleteParams struct {

	/* ID.

	   The ID of the decentral webhook
	*/
	ID int64

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

DecentralWebhookResourceDeleteDeleteParams contains all the parameters to send to the API endpoint

for the decentral webhook resource delete delete operation.

Typically these are written to a http.Request.

func NewDecentralWebhookResourceDeleteDeleteParams

func NewDecentralWebhookResourceDeleteDeleteParams() *DecentralWebhookResourceDeleteDeleteParams

NewDecentralWebhookResourceDeleteDeleteParams creates a new DecentralWebhookResourceDeleteDeleteParams 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 NewDecentralWebhookResourceDeleteDeleteParamsWithContext

func NewDecentralWebhookResourceDeleteDeleteParamsWithContext(ctx context.Context) *DecentralWebhookResourceDeleteDeleteParams

NewDecentralWebhookResourceDeleteDeleteParamsWithContext creates a new DecentralWebhookResourceDeleteDeleteParams object with the ability to set a context for a request.

func NewDecentralWebhookResourceDeleteDeleteParamsWithHTTPClient

func NewDecentralWebhookResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *DecentralWebhookResourceDeleteDeleteParams

NewDecentralWebhookResourceDeleteDeleteParamsWithHTTPClient creates a new DecentralWebhookResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewDecentralWebhookResourceDeleteDeleteParamsWithTimeout

func NewDecentralWebhookResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *DecentralWebhookResourceDeleteDeleteParams

NewDecentralWebhookResourceDeleteDeleteParamsWithTimeout creates a new DecentralWebhookResourceDeleteDeleteParams object with the ability to set a timeout on a request.

func (*DecentralWebhookResourceDeleteDeleteParams) SetContext

SetContext adds the context to the decentral webhook resource delete delete params

func (*DecentralWebhookResourceDeleteDeleteParams) SetDefaults

SetDefaults hydrates default values in the decentral webhook resource delete delete params (not the query body).

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

func (*DecentralWebhookResourceDeleteDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the decentral webhook resource delete delete params

func (*DecentralWebhookResourceDeleteDeleteParams) SetID

SetID adds the id to the decentral webhook resource delete delete params

func (*DecentralWebhookResourceDeleteDeleteParams) SetTimeout

SetTimeout adds the timeout to the decentral webhook resource delete delete params

func (*DecentralWebhookResourceDeleteDeleteParams) WithContext

WithContext adds the context to the decentral webhook resource delete delete params

func (*DecentralWebhookResourceDeleteDeleteParams) WithDefaults

WithDefaults hydrates default values in the decentral webhook resource delete delete params (not the query body).

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

func (*DecentralWebhookResourceDeleteDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the decentral webhook resource delete delete params

func (*DecentralWebhookResourceDeleteDeleteParams) WithID

WithID adds the id to the decentral webhook resource delete delete params

func (*DecentralWebhookResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the decentral webhook resource delete delete params

func (*DecentralWebhookResourceDeleteDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DecentralWebhookResourceDeleteDeleteReader

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

DecentralWebhookResourceDeleteDeleteReader is a Reader for the DecentralWebhookResourceDeleteDelete structure.

func (*DecentralWebhookResourceDeleteDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DecentralWebhookResourceDeleteDeleteUnauthorized

type DecentralWebhookResourceDeleteDeleteUnauthorized struct {
}

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

Not authorized

func NewDecentralWebhookResourceDeleteDeleteUnauthorized

func NewDecentralWebhookResourceDeleteDeleteUnauthorized() *DecentralWebhookResourceDeleteDeleteUnauthorized

NewDecentralWebhookResourceDeleteDeleteUnauthorized creates a DecentralWebhookResourceDeleteDeleteUnauthorized with default headers values

func (*DecentralWebhookResourceDeleteDeleteUnauthorized) Code

Code gets the status code for the decentral webhook resource delete delete unauthorized response

func (*DecentralWebhookResourceDeleteDeleteUnauthorized) Error

func (*DecentralWebhookResourceDeleteDeleteUnauthorized) IsClientError

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

func (*DecentralWebhookResourceDeleteDeleteUnauthorized) IsCode

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

func (*DecentralWebhookResourceDeleteDeleteUnauthorized) IsRedirect

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

func (*DecentralWebhookResourceDeleteDeleteUnauthorized) IsServerError

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

func (*DecentralWebhookResourceDeleteDeleteUnauthorized) IsSuccess

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

func (*DecentralWebhookResourceDeleteDeleteUnauthorized) String

type DecentralWebhooksResourceGetGetForbidden

type DecentralWebhooksResourceGetGetForbidden struct {
}

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

Forbidden

func NewDecentralWebhooksResourceGetGetForbidden

func NewDecentralWebhooksResourceGetGetForbidden() *DecentralWebhooksResourceGetGetForbidden

NewDecentralWebhooksResourceGetGetForbidden creates a DecentralWebhooksResourceGetGetForbidden with default headers values

func (*DecentralWebhooksResourceGetGetForbidden) Code

Code gets the status code for the decentral webhooks resource get get forbidden response

func (*DecentralWebhooksResourceGetGetForbidden) Error

func (*DecentralWebhooksResourceGetGetForbidden) IsClientError

IsClientError returns true when this decentral webhooks resource get get forbidden response has a 4xx status code

func (*DecentralWebhooksResourceGetGetForbidden) IsCode

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

func (*DecentralWebhooksResourceGetGetForbidden) IsRedirect

IsRedirect returns true when this decentral webhooks resource get get forbidden response has a 3xx status code

func (*DecentralWebhooksResourceGetGetForbidden) IsServerError

IsServerError returns true when this decentral webhooks resource get get forbidden response has a 5xx status code

func (*DecentralWebhooksResourceGetGetForbidden) IsSuccess

IsSuccess returns true when this decentral webhooks resource get get forbidden response has a 2xx status code

func (*DecentralWebhooksResourceGetGetForbidden) String

type DecentralWebhooksResourceGetGetOK

type DecentralWebhooksResourceGetGetOK struct {
	Payload []*models.DecentralWebhook
}

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

successful operation

func NewDecentralWebhooksResourceGetGetOK

func NewDecentralWebhooksResourceGetGetOK() *DecentralWebhooksResourceGetGetOK

NewDecentralWebhooksResourceGetGetOK creates a DecentralWebhooksResourceGetGetOK with default headers values

func (*DecentralWebhooksResourceGetGetOK) Code

Code gets the status code for the decentral webhooks resource get get o k response

func (*DecentralWebhooksResourceGetGetOK) Error

func (*DecentralWebhooksResourceGetGetOK) GetPayload

func (*DecentralWebhooksResourceGetGetOK) IsClientError

func (o *DecentralWebhooksResourceGetGetOK) IsClientError() bool

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

func (*DecentralWebhooksResourceGetGetOK) IsCode

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

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

func (*DecentralWebhooksResourceGetGetOK) IsRedirect

func (o *DecentralWebhooksResourceGetGetOK) IsRedirect() bool

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

func (*DecentralWebhooksResourceGetGetOK) IsServerError

func (o *DecentralWebhooksResourceGetGetOK) IsServerError() bool

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

func (*DecentralWebhooksResourceGetGetOK) IsSuccess

func (o *DecentralWebhooksResourceGetGetOK) IsSuccess() bool

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

func (*DecentralWebhooksResourceGetGetOK) String

type DecentralWebhooksResourceGetGetParams

type DecentralWebhooksResourceGetGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DecentralWebhooksResourceGetGetParams contains all the parameters to send to the API endpoint

for the decentral webhooks resource get get operation.

Typically these are written to a http.Request.

func NewDecentralWebhooksResourceGetGetParams

func NewDecentralWebhooksResourceGetGetParams() *DecentralWebhooksResourceGetGetParams

NewDecentralWebhooksResourceGetGetParams creates a new DecentralWebhooksResourceGetGetParams 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 NewDecentralWebhooksResourceGetGetParamsWithContext

func NewDecentralWebhooksResourceGetGetParamsWithContext(ctx context.Context) *DecentralWebhooksResourceGetGetParams

NewDecentralWebhooksResourceGetGetParamsWithContext creates a new DecentralWebhooksResourceGetGetParams object with the ability to set a context for a request.

func NewDecentralWebhooksResourceGetGetParamsWithHTTPClient

func NewDecentralWebhooksResourceGetGetParamsWithHTTPClient(client *http.Client) *DecentralWebhooksResourceGetGetParams

NewDecentralWebhooksResourceGetGetParamsWithHTTPClient creates a new DecentralWebhooksResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewDecentralWebhooksResourceGetGetParamsWithTimeout

func NewDecentralWebhooksResourceGetGetParamsWithTimeout(timeout time.Duration) *DecentralWebhooksResourceGetGetParams

NewDecentralWebhooksResourceGetGetParamsWithTimeout creates a new DecentralWebhooksResourceGetGetParams object with the ability to set a timeout on a request.

func (*DecentralWebhooksResourceGetGetParams) SetContext

SetContext adds the context to the decentral webhooks resource get get params

func (*DecentralWebhooksResourceGetGetParams) SetDefaults

func (o *DecentralWebhooksResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the decentral webhooks resource get get params (not the query body).

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

func (*DecentralWebhooksResourceGetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the decentral webhooks resource get get params

func (*DecentralWebhooksResourceGetGetParams) SetTimeout

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

SetTimeout adds the timeout to the decentral webhooks resource get get params

func (*DecentralWebhooksResourceGetGetParams) WithContext

WithContext adds the context to the decentral webhooks resource get get params

func (*DecentralWebhooksResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the decentral webhooks resource get get params (not the query body).

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

func (*DecentralWebhooksResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the decentral webhooks resource get get params

func (*DecentralWebhooksResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the decentral webhooks resource get get params

func (*DecentralWebhooksResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DecentralWebhooksResourceGetGetReader

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

DecentralWebhooksResourceGetGetReader is a Reader for the DecentralWebhooksResourceGetGet structure.

func (*DecentralWebhooksResourceGetGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DecentralWebhooksResourceGetGetUnauthorized

type DecentralWebhooksResourceGetGetUnauthorized struct {
}

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

Not authorized

func NewDecentralWebhooksResourceGetGetUnauthorized

func NewDecentralWebhooksResourceGetGetUnauthorized() *DecentralWebhooksResourceGetGetUnauthorized

NewDecentralWebhooksResourceGetGetUnauthorized creates a DecentralWebhooksResourceGetGetUnauthorized with default headers values

func (*DecentralWebhooksResourceGetGetUnauthorized) Code

Code gets the status code for the decentral webhooks resource get get unauthorized response

func (*DecentralWebhooksResourceGetGetUnauthorized) Error

func (*DecentralWebhooksResourceGetGetUnauthorized) IsClientError

IsClientError returns true when this decentral webhooks resource get get unauthorized response has a 4xx status code

func (*DecentralWebhooksResourceGetGetUnauthorized) IsCode

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

func (*DecentralWebhooksResourceGetGetUnauthorized) IsRedirect

IsRedirect returns true when this decentral webhooks resource get get unauthorized response has a 3xx status code

func (*DecentralWebhooksResourceGetGetUnauthorized) IsServerError

IsServerError returns true when this decentral webhooks resource get get unauthorized response has a 5xx status code

func (*DecentralWebhooksResourceGetGetUnauthorized) IsSuccess

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

func (*DecentralWebhooksResourceGetGetUnauthorized) String

type DecentralWebhooksResourcePutPutBadRequest

type DecentralWebhooksResourcePutPutBadRequest struct {
}

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

Bad Parameter

func NewDecentralWebhooksResourcePutPutBadRequest

func NewDecentralWebhooksResourcePutPutBadRequest() *DecentralWebhooksResourcePutPutBadRequest

NewDecentralWebhooksResourcePutPutBadRequest creates a DecentralWebhooksResourcePutPutBadRequest with default headers values

func (*DecentralWebhooksResourcePutPutBadRequest) Code

Code gets the status code for the decentral webhooks resource put put bad request response

func (*DecentralWebhooksResourcePutPutBadRequest) Error

func (*DecentralWebhooksResourcePutPutBadRequest) IsClientError

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

func (*DecentralWebhooksResourcePutPutBadRequest) IsCode

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

func (*DecentralWebhooksResourcePutPutBadRequest) IsRedirect

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

func (*DecentralWebhooksResourcePutPutBadRequest) IsServerError

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

func (*DecentralWebhooksResourcePutPutBadRequest) IsSuccess

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

func (*DecentralWebhooksResourcePutPutBadRequest) String

type DecentralWebhooksResourcePutPutForbidden

type DecentralWebhooksResourcePutPutForbidden struct {
}

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

Forbidden

func NewDecentralWebhooksResourcePutPutForbidden

func NewDecentralWebhooksResourcePutPutForbidden() *DecentralWebhooksResourcePutPutForbidden

NewDecentralWebhooksResourcePutPutForbidden creates a DecentralWebhooksResourcePutPutForbidden with default headers values

func (*DecentralWebhooksResourcePutPutForbidden) Code

Code gets the status code for the decentral webhooks resource put put forbidden response

func (*DecentralWebhooksResourcePutPutForbidden) Error

func (*DecentralWebhooksResourcePutPutForbidden) IsClientError

IsClientError returns true when this decentral webhooks resource put put forbidden response has a 4xx status code

func (*DecentralWebhooksResourcePutPutForbidden) IsCode

IsCode returns true when this decentral webhooks resource put put forbidden response a status code equal to that given

func (*DecentralWebhooksResourcePutPutForbidden) IsRedirect

IsRedirect returns true when this decentral webhooks resource put put forbidden response has a 3xx status code

func (*DecentralWebhooksResourcePutPutForbidden) IsServerError

IsServerError returns true when this decentral webhooks resource put put forbidden response has a 5xx status code

func (*DecentralWebhooksResourcePutPutForbidden) IsSuccess

IsSuccess returns true when this decentral webhooks resource put put forbidden response has a 2xx status code

func (*DecentralWebhooksResourcePutPutForbidden) String

type DecentralWebhooksResourcePutPutOK

type DecentralWebhooksResourcePutPutOK struct {
	Payload *models.DecentralWebhook
}

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

successful operation

func NewDecentralWebhooksResourcePutPutOK

func NewDecentralWebhooksResourcePutPutOK() *DecentralWebhooksResourcePutPutOK

NewDecentralWebhooksResourcePutPutOK creates a DecentralWebhooksResourcePutPutOK with default headers values

func (*DecentralWebhooksResourcePutPutOK) Code

Code gets the status code for the decentral webhooks resource put put o k response

func (*DecentralWebhooksResourcePutPutOK) Error

func (*DecentralWebhooksResourcePutPutOK) GetPayload

func (*DecentralWebhooksResourcePutPutOK) IsClientError

func (o *DecentralWebhooksResourcePutPutOK) IsClientError() bool

IsClientError returns true when this decentral webhooks resource put put o k response has a 4xx status code

func (*DecentralWebhooksResourcePutPutOK) IsCode

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

IsCode returns true when this decentral webhooks resource put put o k response a status code equal to that given

func (*DecentralWebhooksResourcePutPutOK) IsRedirect

func (o *DecentralWebhooksResourcePutPutOK) IsRedirect() bool

IsRedirect returns true when this decentral webhooks resource put put o k response has a 3xx status code

func (*DecentralWebhooksResourcePutPutOK) IsServerError

func (o *DecentralWebhooksResourcePutPutOK) IsServerError() bool

IsServerError returns true when this decentral webhooks resource put put o k response has a 5xx status code

func (*DecentralWebhooksResourcePutPutOK) IsSuccess

func (o *DecentralWebhooksResourcePutPutOK) IsSuccess() bool

IsSuccess returns true when this decentral webhooks resource put put o k response has a 2xx status code

func (*DecentralWebhooksResourcePutPutOK) String

type DecentralWebhooksResourcePutPutParams

type DecentralWebhooksResourcePutPutParams struct {

	/* Body.

	   Decentral webhook representation
	*/
	Body *models.DecentralWebhook

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

DecentralWebhooksResourcePutPutParams contains all the parameters to send to the API endpoint

for the decentral webhooks resource put put operation.

Typically these are written to a http.Request.

func NewDecentralWebhooksResourcePutPutParams

func NewDecentralWebhooksResourcePutPutParams() *DecentralWebhooksResourcePutPutParams

NewDecentralWebhooksResourcePutPutParams creates a new DecentralWebhooksResourcePutPutParams 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 NewDecentralWebhooksResourcePutPutParamsWithContext

func NewDecentralWebhooksResourcePutPutParamsWithContext(ctx context.Context) *DecentralWebhooksResourcePutPutParams

NewDecentralWebhooksResourcePutPutParamsWithContext creates a new DecentralWebhooksResourcePutPutParams object with the ability to set a context for a request.

func NewDecentralWebhooksResourcePutPutParamsWithHTTPClient

func NewDecentralWebhooksResourcePutPutParamsWithHTTPClient(client *http.Client) *DecentralWebhooksResourcePutPutParams

NewDecentralWebhooksResourcePutPutParamsWithHTTPClient creates a new DecentralWebhooksResourcePutPutParams object with the ability to set a custom HTTPClient for a request.

func NewDecentralWebhooksResourcePutPutParamsWithTimeout

func NewDecentralWebhooksResourcePutPutParamsWithTimeout(timeout time.Duration) *DecentralWebhooksResourcePutPutParams

NewDecentralWebhooksResourcePutPutParamsWithTimeout creates a new DecentralWebhooksResourcePutPutParams object with the ability to set a timeout on a request.

func (*DecentralWebhooksResourcePutPutParams) SetBody

SetBody adds the body to the decentral webhooks resource put put params

func (*DecentralWebhooksResourcePutPutParams) SetContext

SetContext adds the context to the decentral webhooks resource put put params

func (*DecentralWebhooksResourcePutPutParams) SetDefaults

func (o *DecentralWebhooksResourcePutPutParams) SetDefaults()

SetDefaults hydrates default values in the decentral webhooks resource put put params (not the query body).

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

func (*DecentralWebhooksResourcePutPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the decentral webhooks resource put put params

func (*DecentralWebhooksResourcePutPutParams) SetTimeout

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

SetTimeout adds the timeout to the decentral webhooks resource put put params

func (*DecentralWebhooksResourcePutPutParams) WithBody

WithBody adds the body to the decentral webhooks resource put put params

func (*DecentralWebhooksResourcePutPutParams) WithContext

WithContext adds the context to the decentral webhooks resource put put params

func (*DecentralWebhooksResourcePutPutParams) WithDefaults

WithDefaults hydrates default values in the decentral webhooks resource put put params (not the query body).

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

func (*DecentralWebhooksResourcePutPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the decentral webhooks resource put put params

func (*DecentralWebhooksResourcePutPutParams) WithTimeout

WithTimeout adds the timeout to the decentral webhooks resource put put params

func (*DecentralWebhooksResourcePutPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DecentralWebhooksResourcePutPutReader

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

DecentralWebhooksResourcePutPutReader is a Reader for the DecentralWebhooksResourcePutPut structure.

func (*DecentralWebhooksResourcePutPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DecentralWebhooksResourcePutPutUnauthorized

type DecentralWebhooksResourcePutPutUnauthorized struct {
}

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

Not authorized

func NewDecentralWebhooksResourcePutPutUnauthorized

func NewDecentralWebhooksResourcePutPutUnauthorized() *DecentralWebhooksResourcePutPutUnauthorized

NewDecentralWebhooksResourcePutPutUnauthorized creates a DecentralWebhooksResourcePutPutUnauthorized with default headers values

func (*DecentralWebhooksResourcePutPutUnauthorized) Code

Code gets the status code for the decentral webhooks resource put put unauthorized response

func (*DecentralWebhooksResourcePutPutUnauthorized) Error

func (*DecentralWebhooksResourcePutPutUnauthorized) IsClientError

IsClientError returns true when this decentral webhooks resource put put unauthorized response has a 4xx status code

func (*DecentralWebhooksResourcePutPutUnauthorized) IsCode

IsCode returns true when this decentral webhooks resource put put unauthorized response a status code equal to that given

func (*DecentralWebhooksResourcePutPutUnauthorized) IsRedirect

IsRedirect returns true when this decentral webhooks resource put put unauthorized response has a 3xx status code

func (*DecentralWebhooksResourcePutPutUnauthorized) IsServerError

IsServerError returns true when this decentral webhooks resource put put unauthorized response has a 5xx status code

func (*DecentralWebhooksResourcePutPutUnauthorized) IsSuccess

IsSuccess returns true when this decentral webhooks resource put put unauthorized response has a 2xx status code

func (*DecentralWebhooksResourcePutPutUnauthorized) String

type SmartlockActionAdvancedResourceActionPostBadRequest

type SmartlockActionAdvancedResourceActionPostBadRequest struct {
}

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

Bad parameter

func NewSmartlockActionAdvancedResourceActionPostBadRequest

func NewSmartlockActionAdvancedResourceActionPostBadRequest() *SmartlockActionAdvancedResourceActionPostBadRequest

NewSmartlockActionAdvancedResourceActionPostBadRequest creates a SmartlockActionAdvancedResourceActionPostBadRequest with default headers values

func (*SmartlockActionAdvancedResourceActionPostBadRequest) Code

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

func (*SmartlockActionAdvancedResourceActionPostBadRequest) Error

func (*SmartlockActionAdvancedResourceActionPostBadRequest) IsClientError

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

func (*SmartlockActionAdvancedResourceActionPostBadRequest) IsCode

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

func (*SmartlockActionAdvancedResourceActionPostBadRequest) IsRedirect

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

func (*SmartlockActionAdvancedResourceActionPostBadRequest) IsServerError

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

func (*SmartlockActionAdvancedResourceActionPostBadRequest) IsSuccess

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

func (*SmartlockActionAdvancedResourceActionPostBadRequest) String

type SmartlockActionAdvancedResourceActionPostConflict

type SmartlockActionAdvancedResourceActionPostConflict struct {
}

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

Parameter conflicts

func NewSmartlockActionAdvancedResourceActionPostConflict

func NewSmartlockActionAdvancedResourceActionPostConflict() *SmartlockActionAdvancedResourceActionPostConflict

NewSmartlockActionAdvancedResourceActionPostConflict creates a SmartlockActionAdvancedResourceActionPostConflict with default headers values

func (*SmartlockActionAdvancedResourceActionPostConflict) Code

Code gets the status code for the smartlock action advanced resource action post conflict response

func (*SmartlockActionAdvancedResourceActionPostConflict) Error

func (*SmartlockActionAdvancedResourceActionPostConflict) IsClientError

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

func (*SmartlockActionAdvancedResourceActionPostConflict) IsCode

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

func (*SmartlockActionAdvancedResourceActionPostConflict) IsRedirect

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

func (*SmartlockActionAdvancedResourceActionPostConflict) IsServerError

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

func (*SmartlockActionAdvancedResourceActionPostConflict) IsSuccess

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

func (*SmartlockActionAdvancedResourceActionPostConflict) String

type SmartlockActionAdvancedResourceActionPostOK

type SmartlockActionAdvancedResourceActionPostOK struct {
	Payload *models.AdvancedConfirmationResponse
}

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

Ok

func NewSmartlockActionAdvancedResourceActionPostOK

func NewSmartlockActionAdvancedResourceActionPostOK() *SmartlockActionAdvancedResourceActionPostOK

NewSmartlockActionAdvancedResourceActionPostOK creates a SmartlockActionAdvancedResourceActionPostOK with default headers values

func (*SmartlockActionAdvancedResourceActionPostOK) Code

Code gets the status code for the smartlock action advanced resource action post o k response

func (*SmartlockActionAdvancedResourceActionPostOK) Error

func (*SmartlockActionAdvancedResourceActionPostOK) GetPayload

func (*SmartlockActionAdvancedResourceActionPostOK) IsClientError

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

func (*SmartlockActionAdvancedResourceActionPostOK) IsCode

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

func (*SmartlockActionAdvancedResourceActionPostOK) IsRedirect

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

func (*SmartlockActionAdvancedResourceActionPostOK) IsServerError

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

func (*SmartlockActionAdvancedResourceActionPostOK) IsSuccess

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

func (*SmartlockActionAdvancedResourceActionPostOK) String

type SmartlockActionAdvancedResourceActionPostParams

type SmartlockActionAdvancedResourceActionPostParams struct {

	/* Body.

	   Smartlock action representation
	*/
	Body *models.SmartlockAction

	/* SmartlockID.

	   The smartlock id
	*/
	SmartlockID string

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

SmartlockActionAdvancedResourceActionPostParams contains all the parameters to send to the API endpoint

for the smartlock action advanced resource action post operation.

Typically these are written to a http.Request.

func NewSmartlockActionAdvancedResourceActionPostParams

func NewSmartlockActionAdvancedResourceActionPostParams() *SmartlockActionAdvancedResourceActionPostParams

NewSmartlockActionAdvancedResourceActionPostParams creates a new SmartlockActionAdvancedResourceActionPostParams 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 NewSmartlockActionAdvancedResourceActionPostParamsWithContext

func NewSmartlockActionAdvancedResourceActionPostParamsWithContext(ctx context.Context) *SmartlockActionAdvancedResourceActionPostParams

NewSmartlockActionAdvancedResourceActionPostParamsWithContext creates a new SmartlockActionAdvancedResourceActionPostParams object with the ability to set a context for a request.

func NewSmartlockActionAdvancedResourceActionPostParamsWithHTTPClient

func NewSmartlockActionAdvancedResourceActionPostParamsWithHTTPClient(client *http.Client) *SmartlockActionAdvancedResourceActionPostParams

NewSmartlockActionAdvancedResourceActionPostParamsWithHTTPClient creates a new SmartlockActionAdvancedResourceActionPostParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockActionAdvancedResourceActionPostParamsWithTimeout

func NewSmartlockActionAdvancedResourceActionPostParamsWithTimeout(timeout time.Duration) *SmartlockActionAdvancedResourceActionPostParams

NewSmartlockActionAdvancedResourceActionPostParamsWithTimeout creates a new SmartlockActionAdvancedResourceActionPostParams object with the ability to set a timeout on a request.

func (*SmartlockActionAdvancedResourceActionPostParams) SetBody

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

func (*SmartlockActionAdvancedResourceActionPostParams) SetContext

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

func (*SmartlockActionAdvancedResourceActionPostParams) SetDefaults

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

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

func (*SmartlockActionAdvancedResourceActionPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the smartlock action advanced resource action post params

func (*SmartlockActionAdvancedResourceActionPostParams) SetSmartlockID

func (o *SmartlockActionAdvancedResourceActionPostParams) SetSmartlockID(smartlockID string)

SetSmartlockID adds the smartlockId to the smartlock action advanced resource action post params

func (*SmartlockActionAdvancedResourceActionPostParams) SetTimeout

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

func (*SmartlockActionAdvancedResourceActionPostParams) WithBody

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

func (*SmartlockActionAdvancedResourceActionPostParams) WithContext

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

func (*SmartlockActionAdvancedResourceActionPostParams) WithDefaults

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

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

func (*SmartlockActionAdvancedResourceActionPostParams) WithHTTPClient

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

func (*SmartlockActionAdvancedResourceActionPostParams) WithSmartlockID

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

func (*SmartlockActionAdvancedResourceActionPostParams) WithTimeout

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

func (*SmartlockActionAdvancedResourceActionPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockActionAdvancedResourceActionPostPaymentRequired

type SmartlockActionAdvancedResourceActionPostPaymentRequired struct {
}

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

Account not payed

func NewSmartlockActionAdvancedResourceActionPostPaymentRequired

func NewSmartlockActionAdvancedResourceActionPostPaymentRequired() *SmartlockActionAdvancedResourceActionPostPaymentRequired

NewSmartlockActionAdvancedResourceActionPostPaymentRequired creates a SmartlockActionAdvancedResourceActionPostPaymentRequired with default headers values

func (*SmartlockActionAdvancedResourceActionPostPaymentRequired) Code

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

func (*SmartlockActionAdvancedResourceActionPostPaymentRequired) Error

func (*SmartlockActionAdvancedResourceActionPostPaymentRequired) IsClientError

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

func (*SmartlockActionAdvancedResourceActionPostPaymentRequired) IsCode

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

func (*SmartlockActionAdvancedResourceActionPostPaymentRequired) IsRedirect

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

func (*SmartlockActionAdvancedResourceActionPostPaymentRequired) IsServerError

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

func (*SmartlockActionAdvancedResourceActionPostPaymentRequired) IsSuccess

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

func (*SmartlockActionAdvancedResourceActionPostPaymentRequired) String

type SmartlockActionAdvancedResourceActionPostReader

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

SmartlockActionAdvancedResourceActionPostReader is a Reader for the SmartlockActionAdvancedResourceActionPost structure.

func (*SmartlockActionAdvancedResourceActionPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SmartlockActionAdvancedResourceActionPostUpgradeRequired

type SmartlockActionAdvancedResourceActionPostUpgradeRequired struct {
}

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

Account upgrade required

func NewSmartlockActionAdvancedResourceActionPostUpgradeRequired

func NewSmartlockActionAdvancedResourceActionPostUpgradeRequired() *SmartlockActionAdvancedResourceActionPostUpgradeRequired

NewSmartlockActionAdvancedResourceActionPostUpgradeRequired creates a SmartlockActionAdvancedResourceActionPostUpgradeRequired with default headers values

func (*SmartlockActionAdvancedResourceActionPostUpgradeRequired) Code

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

func (*SmartlockActionAdvancedResourceActionPostUpgradeRequired) Error

func (*SmartlockActionAdvancedResourceActionPostUpgradeRequired) IsClientError

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

func (*SmartlockActionAdvancedResourceActionPostUpgradeRequired) IsCode

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

func (*SmartlockActionAdvancedResourceActionPostUpgradeRequired) IsRedirect

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

func (*SmartlockActionAdvancedResourceActionPostUpgradeRequired) IsServerError

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

func (*SmartlockActionAdvancedResourceActionPostUpgradeRequired) IsSuccess

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

func (*SmartlockActionAdvancedResourceActionPostUpgradeRequired) String

type SmartlockAuthsAdvancedResourcePutPutBadRequest

type SmartlockAuthsAdvancedResourcePutPutBadRequest struct {
}

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

Bad parameter

func NewSmartlockAuthsAdvancedResourcePutPutBadRequest

func NewSmartlockAuthsAdvancedResourcePutPutBadRequest() *SmartlockAuthsAdvancedResourcePutPutBadRequest

NewSmartlockAuthsAdvancedResourcePutPutBadRequest creates a SmartlockAuthsAdvancedResourcePutPutBadRequest with default headers values

func (*SmartlockAuthsAdvancedResourcePutPutBadRequest) Code

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

func (*SmartlockAuthsAdvancedResourcePutPutBadRequest) Error

func (*SmartlockAuthsAdvancedResourcePutPutBadRequest) IsClientError

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

func (*SmartlockAuthsAdvancedResourcePutPutBadRequest) IsCode

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

func (*SmartlockAuthsAdvancedResourcePutPutBadRequest) IsRedirect

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

func (*SmartlockAuthsAdvancedResourcePutPutBadRequest) IsServerError

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

func (*SmartlockAuthsAdvancedResourcePutPutBadRequest) IsSuccess

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

func (*SmartlockAuthsAdvancedResourcePutPutBadRequest) String

type SmartlockAuthsAdvancedResourcePutPutConflict

type SmartlockAuthsAdvancedResourcePutPutConflict struct {
}

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

Parameter conflicts

func NewSmartlockAuthsAdvancedResourcePutPutConflict

func NewSmartlockAuthsAdvancedResourcePutPutConflict() *SmartlockAuthsAdvancedResourcePutPutConflict

NewSmartlockAuthsAdvancedResourcePutPutConflict creates a SmartlockAuthsAdvancedResourcePutPutConflict with default headers values

func (*SmartlockAuthsAdvancedResourcePutPutConflict) Code

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

func (*SmartlockAuthsAdvancedResourcePutPutConflict) Error

func (*SmartlockAuthsAdvancedResourcePutPutConflict) IsClientError

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

func (*SmartlockAuthsAdvancedResourcePutPutConflict) IsCode

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

func (*SmartlockAuthsAdvancedResourcePutPutConflict) IsRedirect

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

func (*SmartlockAuthsAdvancedResourcePutPutConflict) IsServerError

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

func (*SmartlockAuthsAdvancedResourcePutPutConflict) IsSuccess

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

func (*SmartlockAuthsAdvancedResourcePutPutConflict) String

type SmartlockAuthsAdvancedResourcePutPutOK

type SmartlockAuthsAdvancedResourcePutPutOK struct {
	Payload *models.AdvancedConfirmationResponse
}

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

Ok

func NewSmartlockAuthsAdvancedResourcePutPutOK

func NewSmartlockAuthsAdvancedResourcePutPutOK() *SmartlockAuthsAdvancedResourcePutPutOK

NewSmartlockAuthsAdvancedResourcePutPutOK creates a SmartlockAuthsAdvancedResourcePutPutOK with default headers values

func (*SmartlockAuthsAdvancedResourcePutPutOK) Code

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

func (*SmartlockAuthsAdvancedResourcePutPutOK) Error

func (*SmartlockAuthsAdvancedResourcePutPutOK) GetPayload

func (*SmartlockAuthsAdvancedResourcePutPutOK) IsClientError

func (o *SmartlockAuthsAdvancedResourcePutPutOK) IsClientError() bool

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

func (*SmartlockAuthsAdvancedResourcePutPutOK) IsCode

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

func (*SmartlockAuthsAdvancedResourcePutPutOK) IsRedirect

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

func (*SmartlockAuthsAdvancedResourcePutPutOK) IsServerError

func (o *SmartlockAuthsAdvancedResourcePutPutOK) IsServerError() bool

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

func (*SmartlockAuthsAdvancedResourcePutPutOK) IsSuccess

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

func (*SmartlockAuthsAdvancedResourcePutPutOK) String

type SmartlockAuthsAdvancedResourcePutPutParams

type SmartlockAuthsAdvancedResourcePutPutParams struct {

	/* Body.

	   Smartlock authorization create representation
	*/
	Body *models.SmartlocksAuthAdvancedCreate

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

SmartlockAuthsAdvancedResourcePutPutParams contains all the parameters to send to the API endpoint

for the smartlock auths advanced resource put put operation.

Typically these are written to a http.Request.

func NewSmartlockAuthsAdvancedResourcePutPutParams

func NewSmartlockAuthsAdvancedResourcePutPutParams() *SmartlockAuthsAdvancedResourcePutPutParams

NewSmartlockAuthsAdvancedResourcePutPutParams creates a new SmartlockAuthsAdvancedResourcePutPutParams 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 NewSmartlockAuthsAdvancedResourcePutPutParamsWithContext

func NewSmartlockAuthsAdvancedResourcePutPutParamsWithContext(ctx context.Context) *SmartlockAuthsAdvancedResourcePutPutParams

NewSmartlockAuthsAdvancedResourcePutPutParamsWithContext creates a new SmartlockAuthsAdvancedResourcePutPutParams object with the ability to set a context for a request.

func NewSmartlockAuthsAdvancedResourcePutPutParamsWithHTTPClient

func NewSmartlockAuthsAdvancedResourcePutPutParamsWithHTTPClient(client *http.Client) *SmartlockAuthsAdvancedResourcePutPutParams

NewSmartlockAuthsAdvancedResourcePutPutParamsWithHTTPClient creates a new SmartlockAuthsAdvancedResourcePutPutParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockAuthsAdvancedResourcePutPutParamsWithTimeout

func NewSmartlockAuthsAdvancedResourcePutPutParamsWithTimeout(timeout time.Duration) *SmartlockAuthsAdvancedResourcePutPutParams

NewSmartlockAuthsAdvancedResourcePutPutParamsWithTimeout creates a new SmartlockAuthsAdvancedResourcePutPutParams object with the ability to set a timeout on a request.

func (*SmartlockAuthsAdvancedResourcePutPutParams) SetBody

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) SetContext

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) SetDefaults

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

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) SetHTTPClient

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

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) SetTimeout

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) WithBody

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) WithContext

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) WithDefaults

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

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) WithHTTPClient

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) WithTimeout

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

func (*SmartlockAuthsAdvancedResourcePutPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockAuthsAdvancedResourcePutPutPaymentRequired

type SmartlockAuthsAdvancedResourcePutPutPaymentRequired struct {
}

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

Account not payed

func NewSmartlockAuthsAdvancedResourcePutPutPaymentRequired

func NewSmartlockAuthsAdvancedResourcePutPutPaymentRequired() *SmartlockAuthsAdvancedResourcePutPutPaymentRequired

NewSmartlockAuthsAdvancedResourcePutPutPaymentRequired creates a SmartlockAuthsAdvancedResourcePutPutPaymentRequired with default headers values

func (*SmartlockAuthsAdvancedResourcePutPutPaymentRequired) Code

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

func (*SmartlockAuthsAdvancedResourcePutPutPaymentRequired) Error

func (*SmartlockAuthsAdvancedResourcePutPutPaymentRequired) IsClientError

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

func (*SmartlockAuthsAdvancedResourcePutPutPaymentRequired) IsCode

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

func (*SmartlockAuthsAdvancedResourcePutPutPaymentRequired) IsRedirect

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

func (*SmartlockAuthsAdvancedResourcePutPutPaymentRequired) IsServerError

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

func (*SmartlockAuthsAdvancedResourcePutPutPaymentRequired) IsSuccess

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

func (*SmartlockAuthsAdvancedResourcePutPutPaymentRequired) String

type SmartlockAuthsAdvancedResourcePutPutReader

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

SmartlockAuthsAdvancedResourcePutPutReader is a Reader for the SmartlockAuthsAdvancedResourcePutPut structure.

func (*SmartlockAuthsAdvancedResourcePutPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SmartlockAuthsAdvancedResourcePutPutUpgradeRequired

type SmartlockAuthsAdvancedResourcePutPutUpgradeRequired struct {
}

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

Account upgrade required

func NewSmartlockAuthsAdvancedResourcePutPutUpgradeRequired

func NewSmartlockAuthsAdvancedResourcePutPutUpgradeRequired() *SmartlockAuthsAdvancedResourcePutPutUpgradeRequired

NewSmartlockAuthsAdvancedResourcePutPutUpgradeRequired creates a SmartlockAuthsAdvancedResourcePutPutUpgradeRequired with default headers values

func (*SmartlockAuthsAdvancedResourcePutPutUpgradeRequired) Code

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

func (*SmartlockAuthsAdvancedResourcePutPutUpgradeRequired) Error

func (*SmartlockAuthsAdvancedResourcePutPutUpgradeRequired) IsClientError

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

func (*SmartlockAuthsAdvancedResourcePutPutUpgradeRequired) IsCode

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

func (*SmartlockAuthsAdvancedResourcePutPutUpgradeRequired) IsRedirect

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

func (*SmartlockAuthsAdvancedResourcePutPutUpgradeRequired) IsServerError

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

func (*SmartlockAuthsAdvancedResourcePutPutUpgradeRequired) IsSuccess

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

func (*SmartlockAuthsAdvancedResourcePutPutUpgradeRequired) String

type SmartlockLockActionAdvancedResourcePostLockPostBadRequest

type SmartlockLockActionAdvancedResourcePostLockPostBadRequest struct {
}

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

Bad Parameter

func NewSmartlockLockActionAdvancedResourcePostLockPostBadRequest

func NewSmartlockLockActionAdvancedResourcePostLockPostBadRequest() *SmartlockLockActionAdvancedResourcePostLockPostBadRequest

NewSmartlockLockActionAdvancedResourcePostLockPostBadRequest creates a SmartlockLockActionAdvancedResourcePostLockPostBadRequest with default headers values

func (*SmartlockLockActionAdvancedResourcePostLockPostBadRequest) Code

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

func (*SmartlockLockActionAdvancedResourcePostLockPostBadRequest) Error

func (*SmartlockLockActionAdvancedResourcePostLockPostBadRequest) IsClientError

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

func (*SmartlockLockActionAdvancedResourcePostLockPostBadRequest) IsCode

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

func (*SmartlockLockActionAdvancedResourcePostLockPostBadRequest) IsRedirect

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

func (*SmartlockLockActionAdvancedResourcePostLockPostBadRequest) IsServerError

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

func (*SmartlockLockActionAdvancedResourcePostLockPostBadRequest) IsSuccess

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

func (*SmartlockLockActionAdvancedResourcePostLockPostBadRequest) String

type SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed

type SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed struct {
}

SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed describes a response with status code 405, with default header values.

Not allowed

func NewSmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed

func NewSmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed() *SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed

NewSmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed creates a SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed with default headers values

func (*SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed) Code

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

func (*SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed) Error

func (*SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed) IsClientError

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

func (*SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed) IsCode

IsCode returns true when this smartlock lock action advanced resource post lock post method not allowed response a status code equal to that given

func (*SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed) IsRedirect

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

func (*SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed) IsServerError

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

func (*SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed) IsSuccess

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

func (*SmartlockLockActionAdvancedResourcePostLockPostMethodNotAllowed) String

type SmartlockLockActionAdvancedResourcePostLockPostOK

type SmartlockLockActionAdvancedResourcePostLockPostOK struct {
	Payload *models.AdvancedConfirmationResponse
}

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

Ok

func NewSmartlockLockActionAdvancedResourcePostLockPostOK

func NewSmartlockLockActionAdvancedResourcePostLockPostOK() *SmartlockLockActionAdvancedResourcePostLockPostOK

NewSmartlockLockActionAdvancedResourcePostLockPostOK creates a SmartlockLockActionAdvancedResourcePostLockPostOK with default headers values

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) Code

Code gets the status code for the smartlock lock action advanced resource post lock post o k response

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) Error

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) GetPayload

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) IsClientError

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

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) IsCode

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

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) IsRedirect

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

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) IsServerError

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

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) IsSuccess

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

func (*SmartlockLockActionAdvancedResourcePostLockPostOK) String

type SmartlockLockActionAdvancedResourcePostLockPostParams

type SmartlockLockActionAdvancedResourcePostLockPostParams struct {

	/* SmartlockID.

	   The smartlock id
	*/
	SmartlockID string

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

SmartlockLockActionAdvancedResourcePostLockPostParams contains all the parameters to send to the API endpoint

for the smartlock lock action advanced resource post lock post operation.

Typically these are written to a http.Request.

func NewSmartlockLockActionAdvancedResourcePostLockPostParams

func NewSmartlockLockActionAdvancedResourcePostLockPostParams() *SmartlockLockActionAdvancedResourcePostLockPostParams

NewSmartlockLockActionAdvancedResourcePostLockPostParams creates a new SmartlockLockActionAdvancedResourcePostLockPostParams 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 NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithContext

func NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithContext(ctx context.Context) *SmartlockLockActionAdvancedResourcePostLockPostParams

NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithContext creates a new SmartlockLockActionAdvancedResourcePostLockPostParams object with the ability to set a context for a request.

func NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithHTTPClient

func NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithHTTPClient(client *http.Client) *SmartlockLockActionAdvancedResourcePostLockPostParams

NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithHTTPClient creates a new SmartlockLockActionAdvancedResourcePostLockPostParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithTimeout

func NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithTimeout(timeout time.Duration) *SmartlockLockActionAdvancedResourcePostLockPostParams

NewSmartlockLockActionAdvancedResourcePostLockPostParamsWithTimeout creates a new SmartlockLockActionAdvancedResourcePostLockPostParams object with the ability to set a timeout on a request.

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) SetContext

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

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) SetDefaults

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

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

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the smartlock lock action advanced resource post lock post params

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) SetSmartlockID

func (o *SmartlockLockActionAdvancedResourcePostLockPostParams) SetSmartlockID(smartlockID string)

SetSmartlockID adds the smartlockId to the smartlock lock action advanced resource post lock post params

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) SetTimeout

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

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) WithContext

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

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) WithDefaults

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

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

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) WithHTTPClient

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

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) WithSmartlockID

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

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) WithTimeout

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

func (*SmartlockLockActionAdvancedResourcePostLockPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockLockActionAdvancedResourcePostLockPostReader

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

SmartlockLockActionAdvancedResourcePostLockPostReader is a Reader for the SmartlockLockActionAdvancedResourcePostLockPost structure.

func (*SmartlockLockActionAdvancedResourcePostLockPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SmartlockLockActionAdvancedResourcePostLockPostUnauthorized

type SmartlockLockActionAdvancedResourcePostLockPostUnauthorized struct {
}

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

Not authorized

func NewSmartlockLockActionAdvancedResourcePostLockPostUnauthorized

func NewSmartlockLockActionAdvancedResourcePostLockPostUnauthorized() *SmartlockLockActionAdvancedResourcePostLockPostUnauthorized

NewSmartlockLockActionAdvancedResourcePostLockPostUnauthorized creates a SmartlockLockActionAdvancedResourcePostLockPostUnauthorized with default headers values

func (*SmartlockLockActionAdvancedResourcePostLockPostUnauthorized) Code

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

func (*SmartlockLockActionAdvancedResourcePostLockPostUnauthorized) Error

func (*SmartlockLockActionAdvancedResourcePostLockPostUnauthorized) IsClientError

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

func (*SmartlockLockActionAdvancedResourcePostLockPostUnauthorized) IsCode

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

func (*SmartlockLockActionAdvancedResourcePostLockPostUnauthorized) IsRedirect

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

func (*SmartlockLockActionAdvancedResourcePostLockPostUnauthorized) IsServerError

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

func (*SmartlockLockActionAdvancedResourcePostLockPostUnauthorized) IsSuccess

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

func (*SmartlockLockActionAdvancedResourcePostLockPostUnauthorized) String

type SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest

type SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest struct {
}

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

Bad Parameter

func NewSmartlockUnlockActionAdvancedResourcePostLockPostBadRequest

func NewSmartlockUnlockActionAdvancedResourcePostLockPostBadRequest() *SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest

NewSmartlockUnlockActionAdvancedResourcePostLockPostBadRequest creates a SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest with default headers values

func (*SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest) Code

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest) Error

func (*SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest) IsClientError

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest) IsCode

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest) IsRedirect

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest) IsServerError

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest) IsSuccess

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostBadRequest) String

type SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed

type SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed struct {
}

SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed describes a response with status code 405, with default header values.

Not allowed

func NewSmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed

func NewSmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed() *SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed

NewSmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed creates a SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed with default headers values

func (*SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed) Code

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed) Error

func (*SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed) IsClientError

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed) IsCode

IsCode returns true when this smartlock unlock action advanced resource post lock post method not allowed response a status code equal to that given

func (*SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed) IsRedirect

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed) IsServerError

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed) IsSuccess

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostMethodNotAllowed) String

type SmartlockUnlockActionAdvancedResourcePostLockPostOK

type SmartlockUnlockActionAdvancedResourcePostLockPostOK struct {
	Payload *models.AdvancedConfirmationResponse
}

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

Ok

func NewSmartlockUnlockActionAdvancedResourcePostLockPostOK

func NewSmartlockUnlockActionAdvancedResourcePostLockPostOK() *SmartlockUnlockActionAdvancedResourcePostLockPostOK

NewSmartlockUnlockActionAdvancedResourcePostLockPostOK creates a SmartlockUnlockActionAdvancedResourcePostLockPostOK with default headers values

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) Code

Code gets the status code for the smartlock unlock action advanced resource post lock post o k response

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) Error

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) GetPayload

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) IsClientError

IsClientError returns true when this smartlock unlock action advanced resource post lock post o k response has a 4xx status code

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) IsCode

IsCode returns true when this smartlock unlock action advanced resource post lock post o k response a status code equal to that given

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) IsRedirect

IsRedirect returns true when this smartlock unlock action advanced resource post lock post o k response has a 3xx status code

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) IsServerError

IsServerError returns true when this smartlock unlock action advanced resource post lock post o k response has a 5xx status code

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) IsSuccess

IsSuccess returns true when this smartlock unlock action advanced resource post lock post o k response has a 2xx status code

func (*SmartlockUnlockActionAdvancedResourcePostLockPostOK) String

type SmartlockUnlockActionAdvancedResourcePostLockPostParams

type SmartlockUnlockActionAdvancedResourcePostLockPostParams struct {

	/* SmartlockID.

	   The smartlock id
	*/
	SmartlockID string

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

SmartlockUnlockActionAdvancedResourcePostLockPostParams contains all the parameters to send to the API endpoint

for the smartlock unlock action advanced resource post lock post operation.

Typically these are written to a http.Request.

func NewSmartlockUnlockActionAdvancedResourcePostLockPostParams

func NewSmartlockUnlockActionAdvancedResourcePostLockPostParams() *SmartlockUnlockActionAdvancedResourcePostLockPostParams

NewSmartlockUnlockActionAdvancedResourcePostLockPostParams creates a new SmartlockUnlockActionAdvancedResourcePostLockPostParams 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 NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithContext

func NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithContext(ctx context.Context) *SmartlockUnlockActionAdvancedResourcePostLockPostParams

NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithContext creates a new SmartlockUnlockActionAdvancedResourcePostLockPostParams object with the ability to set a context for a request.

func NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithHTTPClient

func NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithHTTPClient(client *http.Client) *SmartlockUnlockActionAdvancedResourcePostLockPostParams

NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithHTTPClient creates a new SmartlockUnlockActionAdvancedResourcePostLockPostParams object with the ability to set a custom HTTPClient for a request.

func NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithTimeout

func NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithTimeout(timeout time.Duration) *SmartlockUnlockActionAdvancedResourcePostLockPostParams

NewSmartlockUnlockActionAdvancedResourcePostLockPostParamsWithTimeout creates a new SmartlockUnlockActionAdvancedResourcePostLockPostParams object with the ability to set a timeout on a request.

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) SetContext

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) SetDefaults

SetDefaults hydrates default values in the smartlock unlock action advanced resource post lock post params (not the query body).

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the smartlock unlock action advanced resource post lock post params

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) SetSmartlockID

func (o *SmartlockUnlockActionAdvancedResourcePostLockPostParams) SetSmartlockID(smartlockID string)

SetSmartlockID adds the smartlockId to the smartlock unlock action advanced resource post lock post params

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) SetTimeout

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) WithContext

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) WithDefaults

WithDefaults hydrates default values in the smartlock unlock action advanced resource post lock post params (not the query body).

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) WithHTTPClient

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) WithSmartlockID

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) WithTimeout

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SmartlockUnlockActionAdvancedResourcePostLockPostReader

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

SmartlockUnlockActionAdvancedResourcePostLockPostReader is a Reader for the SmartlockUnlockActionAdvancedResourcePostLockPost structure.

func (*SmartlockUnlockActionAdvancedResourcePostLockPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized

type SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized struct {
}

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

Not authorized

func NewSmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized

func NewSmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized() *SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized

NewSmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized creates a SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized with default headers values

func (*SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized) Code

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized) Error

func (*SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized) IsClientError

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized) IsCode

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized) IsRedirect

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized) IsServerError

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized) IsSuccess

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

func (*SmartlockUnlockActionAdvancedResourcePostLockPostUnauthorized) String

type WebhookLogsResourceGetGetOK

type WebhookLogsResourceGetGetOK struct {
	Payload []*models.WebhookLog
}

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

successful operation

func NewWebhookLogsResourceGetGetOK

func NewWebhookLogsResourceGetGetOK() *WebhookLogsResourceGetGetOK

NewWebhookLogsResourceGetGetOK creates a WebhookLogsResourceGetGetOK with default headers values

func (*WebhookLogsResourceGetGetOK) Code

func (o *WebhookLogsResourceGetGetOK) Code() int

Code gets the status code for the webhook logs resource get get o k response

func (*WebhookLogsResourceGetGetOK) Error

func (*WebhookLogsResourceGetGetOK) GetPayload

func (o *WebhookLogsResourceGetGetOK) GetPayload() []*models.WebhookLog

func (*WebhookLogsResourceGetGetOK) IsClientError

func (o *WebhookLogsResourceGetGetOK) IsClientError() bool

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

func (*WebhookLogsResourceGetGetOK) IsCode

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

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

func (*WebhookLogsResourceGetGetOK) IsRedirect

func (o *WebhookLogsResourceGetGetOK) IsRedirect() bool

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

func (*WebhookLogsResourceGetGetOK) IsServerError

func (o *WebhookLogsResourceGetGetOK) IsServerError() bool

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

func (*WebhookLogsResourceGetGetOK) IsSuccess

func (o *WebhookLogsResourceGetGetOK) IsSuccess() bool

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

func (*WebhookLogsResourceGetGetOK) String

func (o *WebhookLogsResourceGetGetOK) String() string

type WebhookLogsResourceGetGetParams

type WebhookLogsResourceGetGetParams struct {

	/* APIKeyID.

	   The api key id
	*/
	APIKeyID int64

	/* ID.

	   Optionally filter for older logs
	*/
	ID *string

	/* Limit.

	   Amount of logs (max: 100)

	   Default: 50
	*/
	Limit *int64

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

WebhookLogsResourceGetGetParams contains all the parameters to send to the API endpoint

for the webhook logs resource get get operation.

Typically these are written to a http.Request.

func NewWebhookLogsResourceGetGetParams

func NewWebhookLogsResourceGetGetParams() *WebhookLogsResourceGetGetParams

NewWebhookLogsResourceGetGetParams creates a new WebhookLogsResourceGetGetParams 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 NewWebhookLogsResourceGetGetParamsWithContext

func NewWebhookLogsResourceGetGetParamsWithContext(ctx context.Context) *WebhookLogsResourceGetGetParams

NewWebhookLogsResourceGetGetParamsWithContext creates a new WebhookLogsResourceGetGetParams object with the ability to set a context for a request.

func NewWebhookLogsResourceGetGetParamsWithHTTPClient

func NewWebhookLogsResourceGetGetParamsWithHTTPClient(client *http.Client) *WebhookLogsResourceGetGetParams

NewWebhookLogsResourceGetGetParamsWithHTTPClient creates a new WebhookLogsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewWebhookLogsResourceGetGetParamsWithTimeout

func NewWebhookLogsResourceGetGetParamsWithTimeout(timeout time.Duration) *WebhookLogsResourceGetGetParams

NewWebhookLogsResourceGetGetParamsWithTimeout creates a new WebhookLogsResourceGetGetParams object with the ability to set a timeout on a request.

func (*WebhookLogsResourceGetGetParams) SetAPIKeyID

func (o *WebhookLogsResourceGetGetParams) SetAPIKeyID(aPIKeyID int64)

SetAPIKeyID adds the apiKeyId to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) SetContext

func (o *WebhookLogsResourceGetGetParams) SetContext(ctx context.Context)

SetContext adds the context to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) SetDefaults

func (o *WebhookLogsResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the webhook logs resource get get params (not the query body).

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

func (*WebhookLogsResourceGetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) SetID

SetID adds the id to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) SetLimit

func (o *WebhookLogsResourceGetGetParams) SetLimit(limit *int64)

SetLimit adds the limit to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) SetTimeout

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

SetTimeout adds the timeout to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) WithAPIKeyID

WithAPIKeyID adds the aPIKeyID to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) WithContext

WithContext adds the context to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the webhook logs resource get get params (not the query body).

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

func (*WebhookLogsResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) WithID

WithID adds the id to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) WithLimit

WithLimit adds the limit to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the webhook logs resource get get params

func (*WebhookLogsResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WebhookLogsResourceGetGetReader

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

WebhookLogsResourceGetGetReader is a Reader for the WebhookLogsResourceGetGet structure.

func (*WebhookLogsResourceGetGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WebhookLogsResourceGetGetUnauthorized

type WebhookLogsResourceGetGetUnauthorized struct {
}

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

Not authorized

func NewWebhookLogsResourceGetGetUnauthorized

func NewWebhookLogsResourceGetGetUnauthorized() *WebhookLogsResourceGetGetUnauthorized

NewWebhookLogsResourceGetGetUnauthorized creates a WebhookLogsResourceGetGetUnauthorized with default headers values

func (*WebhookLogsResourceGetGetUnauthorized) Code

Code gets the status code for the webhook logs resource get get unauthorized response

func (*WebhookLogsResourceGetGetUnauthorized) Error

func (*WebhookLogsResourceGetGetUnauthorized) IsClientError

func (o *WebhookLogsResourceGetGetUnauthorized) IsClientError() bool

IsClientError returns true when this webhook logs resource get get unauthorized response has a 4xx status code

func (*WebhookLogsResourceGetGetUnauthorized) IsCode

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

func (*WebhookLogsResourceGetGetUnauthorized) IsRedirect

IsRedirect returns true when this webhook logs resource get get unauthorized response has a 3xx status code

func (*WebhookLogsResourceGetGetUnauthorized) IsServerError

func (o *WebhookLogsResourceGetGetUnauthorized) IsServerError() bool

IsServerError returns true when this webhook logs resource get get unauthorized response has a 5xx status code

func (*WebhookLogsResourceGetGetUnauthorized) IsSuccess

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

func (*WebhookLogsResourceGetGetUnauthorized) String

Jump to

Keyboard shortcuts

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