Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SmartlockAuthResourceDeleteDelete(params *SmartlockAuthResourceDeleteDeleteParams, ...) (*SmartlockAuthResourceDeleteDeleteNoContent, error)
- func (a *Client) SmartlockAuthResourceGetGet(params *SmartlockAuthResourceGetGetParams, ...) (*SmartlockAuthResourceGetGetOK, error)
- func (a *Client) SmartlockAuthResourcePostPost(params *SmartlockAuthResourcePostPostParams, ...) (*SmartlockAuthResourcePostPostNoContent, error)
- func (a *Client) SmartlockAuthsResourceGetGet(params *SmartlockAuthsResourceGetGetParams, ...) (*SmartlockAuthsResourceGetGetOK, error)
- func (a *Client) SmartlockAuthsResourcePutPut(params *SmartlockAuthsResourcePutPutParams, ...) (*SmartlockAuthsResourcePutPutNoContent, error)
- func (a *Client) SmartlocksAuthsResourceDeleteDelete(params *SmartlocksAuthsResourceDeleteDeleteParams, ...) (*SmartlocksAuthsResourceDeleteDeleteNoContent, error)
- func (a *Client) SmartlocksAuthsResourceGetGet(params *SmartlocksAuthsResourceGetGetParams, ...) (*SmartlocksAuthsResourceGetGetOK, error)
- func (a *Client) SmartlocksAuthsResourcePostPost(params *SmartlocksAuthsResourcePostPostParams, ...) (*SmartlocksAuthsResourcePostPostNoContent, error)
- func (a *Client) SmartlocksAuthsResourcePutPut(params *SmartlocksAuthsResourcePutPutParams, ...) (*SmartlocksAuthsResourcePutPutNoContent, error)
- type ClientOption
- type ClientService
- type InstrumentedClientService
- func (c *InstrumentedClientService) SmartlockAuthResourceDeleteDelete(_c0 *SmartlockAuthResourceDeleteDeleteParams, _c1 runtime.ClientAuthInfoWriter, ...) (*SmartlockAuthResourceDeleteDeleteNoContent, error)
- func (c *InstrumentedClientService) SmartlockAuthResourceGetGet(_c0 *SmartlockAuthResourceGetGetParams, _c1 runtime.ClientAuthInfoWriter, ...) (*SmartlockAuthResourceGetGetOK, error)
- func (c *InstrumentedClientService) SmartlockAuthResourcePostPost(_c0 *SmartlockAuthResourcePostPostParams, _c1 runtime.ClientAuthInfoWriter, ...) (*SmartlockAuthResourcePostPostNoContent, error)
- func (c *InstrumentedClientService) SmartlockAuthsResourceGetGet(_c0 *SmartlockAuthsResourceGetGetParams, _c1 runtime.ClientAuthInfoWriter, ...) (*SmartlockAuthsResourceGetGetOK, error)
- func (c *InstrumentedClientService) SmartlockAuthsResourcePutPut(_c0 *SmartlockAuthsResourcePutPutParams, _c1 runtime.ClientAuthInfoWriter, ...) (*SmartlockAuthsResourcePutPutNoContent, error)
- func (c *InstrumentedClientService) SmartlocksAuthsResourceDeleteDelete(_c0 *SmartlocksAuthsResourceDeleteDeleteParams, ...) (*SmartlocksAuthsResourceDeleteDeleteNoContent, error)
- func (c *InstrumentedClientService) SmartlocksAuthsResourceGetGet(_c0 *SmartlocksAuthsResourceGetGetParams, _c1 runtime.ClientAuthInfoWriter, ...) (*SmartlocksAuthsResourceGetGetOK, error)
- func (c *InstrumentedClientService) SmartlocksAuthsResourcePostPost(_c0 *SmartlocksAuthsResourcePostPostParams, _c1 runtime.ClientAuthInfoWriter, ...) (*SmartlocksAuthsResourcePostPostNoContent, error)
- func (c *InstrumentedClientService) SmartlocksAuthsResourcePutPut(_c0 *SmartlocksAuthsResourcePutPutParams, _c1 runtime.ClientAuthInfoWriter, ...) (*SmartlocksAuthsResourcePutPutNoContent, error)
- type MockClientService
- func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *MockClientService) SmartlockAuthResourceDeleteDelete(params *SmartlockAuthResourceDeleteDeleteParams, ...) (*SmartlockAuthResourceDeleteDeleteNoContent, error)
- func (_m *MockClientService) SmartlockAuthResourceGetGet(params *SmartlockAuthResourceGetGetParams, ...) (*SmartlockAuthResourceGetGetOK, error)
- func (_m *MockClientService) SmartlockAuthResourcePostPost(params *SmartlockAuthResourcePostPostParams, ...) (*SmartlockAuthResourcePostPostNoContent, error)
- func (_m *MockClientService) SmartlockAuthsResourceGetGet(params *SmartlockAuthsResourceGetGetParams, ...) (*SmartlockAuthsResourceGetGetOK, error)
- func (_m *MockClientService) SmartlockAuthsResourcePutPut(params *SmartlockAuthsResourcePutPutParams, ...) (*SmartlockAuthsResourcePutPutNoContent, error)
- func (_m *MockClientService) SmartlocksAuthsResourceDeleteDelete(params *SmartlocksAuthsResourceDeleteDeleteParams, ...) (*SmartlocksAuthsResourceDeleteDeleteNoContent, error)
- func (_m *MockClientService) SmartlocksAuthsResourceGetGet(params *SmartlocksAuthsResourceGetGetParams, ...) (*SmartlocksAuthsResourceGetGetOK, error)
- func (_m *MockClientService) SmartlocksAuthsResourcePostPost(params *SmartlocksAuthsResourcePostPostParams, ...) (*SmartlocksAuthsResourcePostPostNoContent, error)
- func (_m *MockClientService) SmartlocksAuthsResourcePutPut(params *SmartlocksAuthsResourcePutPutParams, ...) (*SmartlocksAuthsResourcePutPutNoContent, error)
- type SmartlockAuthResourceDeleteDeleteForbidden
- func (o *SmartlockAuthResourceDeleteDeleteForbidden) Code() int
- func (o *SmartlockAuthResourceDeleteDeleteForbidden) Error() string
- func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsClientError() bool
- func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsCode(code int) bool
- func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsRedirect() bool
- func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsServerError() bool
- func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsSuccess() bool
- func (o *SmartlockAuthResourceDeleteDeleteForbidden) String() string
- type SmartlockAuthResourceDeleteDeleteLocked
- func (o *SmartlockAuthResourceDeleteDeleteLocked) Code() int
- func (o *SmartlockAuthResourceDeleteDeleteLocked) Error() string
- func (o *SmartlockAuthResourceDeleteDeleteLocked) IsClientError() bool
- func (o *SmartlockAuthResourceDeleteDeleteLocked) IsCode(code int) bool
- func (o *SmartlockAuthResourceDeleteDeleteLocked) IsRedirect() bool
- func (o *SmartlockAuthResourceDeleteDeleteLocked) IsServerError() bool
- func (o *SmartlockAuthResourceDeleteDeleteLocked) IsSuccess() bool
- func (o *SmartlockAuthResourceDeleteDeleteLocked) String() string
- type SmartlockAuthResourceDeleteDeleteNoContent
- func (o *SmartlockAuthResourceDeleteDeleteNoContent) Code() int
- func (o *SmartlockAuthResourceDeleteDeleteNoContent) Error() string
- func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsClientError() bool
- func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsCode(code int) bool
- func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsRedirect() bool
- func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsServerError() bool
- func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsSuccess() bool
- func (o *SmartlockAuthResourceDeleteDeleteNoContent) String() string
- type SmartlockAuthResourceDeleteDeleteParams
- func NewSmartlockAuthResourceDeleteDeleteParams() *SmartlockAuthResourceDeleteDeleteParams
- func NewSmartlockAuthResourceDeleteDeleteParamsWithContext(ctx context.Context) *SmartlockAuthResourceDeleteDeleteParams
- func NewSmartlockAuthResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourceDeleteDeleteParams
- func NewSmartlockAuthResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourceDeleteDeleteParams
- func (o *SmartlockAuthResourceDeleteDeleteParams) SetContext(ctx context.Context)
- func (o *SmartlockAuthResourceDeleteDeleteParams) SetDefaults()
- func (o *SmartlockAuthResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockAuthResourceDeleteDeleteParams) SetID(id string)
- func (o *SmartlockAuthResourceDeleteDeleteParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockAuthResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockAuthResourceDeleteDeleteParams) WithContext(ctx context.Context) *SmartlockAuthResourceDeleteDeleteParams
- func (o *SmartlockAuthResourceDeleteDeleteParams) WithDefaults() *SmartlockAuthResourceDeleteDeleteParams
- func (o *SmartlockAuthResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *SmartlockAuthResourceDeleteDeleteParams
- func (o *SmartlockAuthResourceDeleteDeleteParams) WithID(id string) *SmartlockAuthResourceDeleteDeleteParams
- func (o *SmartlockAuthResourceDeleteDeleteParams) WithSmartlockID(smartlockID int64) *SmartlockAuthResourceDeleteDeleteParams
- func (o *SmartlockAuthResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *SmartlockAuthResourceDeleteDeleteParams
- func (o *SmartlockAuthResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockAuthResourceDeleteDeleteReader
- type SmartlockAuthResourceDeleteDeleteUnauthorized
- func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) Code() int
- func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) Error() string
- func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsClientError() bool
- func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsCode(code int) bool
- func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsRedirect() bool
- func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsServerError() bool
- func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsSuccess() bool
- func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) String() string
- type SmartlockAuthResourceGetGetForbidden
- func (o *SmartlockAuthResourceGetGetForbidden) Code() int
- func (o *SmartlockAuthResourceGetGetForbidden) Error() string
- func (o *SmartlockAuthResourceGetGetForbidden) IsClientError() bool
- func (o *SmartlockAuthResourceGetGetForbidden) IsCode(code int) bool
- func (o *SmartlockAuthResourceGetGetForbidden) IsRedirect() bool
- func (o *SmartlockAuthResourceGetGetForbidden) IsServerError() bool
- func (o *SmartlockAuthResourceGetGetForbidden) IsSuccess() bool
- func (o *SmartlockAuthResourceGetGetForbidden) String() string
- type SmartlockAuthResourceGetGetOK
- func (o *SmartlockAuthResourceGetGetOK) Code() int
- func (o *SmartlockAuthResourceGetGetOK) Error() string
- func (o *SmartlockAuthResourceGetGetOK) GetPayload() *models.SmartlockAuth
- func (o *SmartlockAuthResourceGetGetOK) IsClientError() bool
- func (o *SmartlockAuthResourceGetGetOK) IsCode(code int) bool
- func (o *SmartlockAuthResourceGetGetOK) IsRedirect() bool
- func (o *SmartlockAuthResourceGetGetOK) IsServerError() bool
- func (o *SmartlockAuthResourceGetGetOK) IsSuccess() bool
- func (o *SmartlockAuthResourceGetGetOK) String() string
- type SmartlockAuthResourceGetGetParams
- func NewSmartlockAuthResourceGetGetParams() *SmartlockAuthResourceGetGetParams
- func NewSmartlockAuthResourceGetGetParamsWithContext(ctx context.Context) *SmartlockAuthResourceGetGetParams
- func NewSmartlockAuthResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourceGetGetParams
- func NewSmartlockAuthResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourceGetGetParams
- func (o *SmartlockAuthResourceGetGetParams) SetContext(ctx context.Context)
- func (o *SmartlockAuthResourceGetGetParams) SetDefaults()
- func (o *SmartlockAuthResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockAuthResourceGetGetParams) SetID(id string)
- func (o *SmartlockAuthResourceGetGetParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockAuthResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockAuthResourceGetGetParams) WithContext(ctx context.Context) *SmartlockAuthResourceGetGetParams
- func (o *SmartlockAuthResourceGetGetParams) WithDefaults() *SmartlockAuthResourceGetGetParams
- func (o *SmartlockAuthResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlockAuthResourceGetGetParams
- func (o *SmartlockAuthResourceGetGetParams) WithID(id string) *SmartlockAuthResourceGetGetParams
- func (o *SmartlockAuthResourceGetGetParams) WithSmartlockID(smartlockID int64) *SmartlockAuthResourceGetGetParams
- func (o *SmartlockAuthResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlockAuthResourceGetGetParams
- func (o *SmartlockAuthResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockAuthResourceGetGetReader
- type SmartlockAuthResourceGetGetUnauthorized
- func (o *SmartlockAuthResourceGetGetUnauthorized) Code() int
- func (o *SmartlockAuthResourceGetGetUnauthorized) Error() string
- func (o *SmartlockAuthResourceGetGetUnauthorized) IsClientError() bool
- func (o *SmartlockAuthResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *SmartlockAuthResourceGetGetUnauthorized) IsRedirect() bool
- func (o *SmartlockAuthResourceGetGetUnauthorized) IsServerError() bool
- func (o *SmartlockAuthResourceGetGetUnauthorized) IsSuccess() bool
- func (o *SmartlockAuthResourceGetGetUnauthorized) String() string
- type SmartlockAuthResourcePostPostBadRequest
- func (o *SmartlockAuthResourcePostPostBadRequest) Code() int
- func (o *SmartlockAuthResourcePostPostBadRequest) Error() string
- func (o *SmartlockAuthResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlockAuthResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlockAuthResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlockAuthResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlockAuthResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlockAuthResourcePostPostBadRequest) String() string
- type SmartlockAuthResourcePostPostConflict
- func (o *SmartlockAuthResourcePostPostConflict) Code() int
- func (o *SmartlockAuthResourcePostPostConflict) Error() string
- func (o *SmartlockAuthResourcePostPostConflict) IsClientError() bool
- func (o *SmartlockAuthResourcePostPostConflict) IsCode(code int) bool
- func (o *SmartlockAuthResourcePostPostConflict) IsRedirect() bool
- func (o *SmartlockAuthResourcePostPostConflict) IsServerError() bool
- func (o *SmartlockAuthResourcePostPostConflict) IsSuccess() bool
- func (o *SmartlockAuthResourcePostPostConflict) String() string
- type SmartlockAuthResourcePostPostForbidden
- func (o *SmartlockAuthResourcePostPostForbidden) Code() int
- func (o *SmartlockAuthResourcePostPostForbidden) Error() string
- func (o *SmartlockAuthResourcePostPostForbidden) IsClientError() bool
- func (o *SmartlockAuthResourcePostPostForbidden) IsCode(code int) bool
- func (o *SmartlockAuthResourcePostPostForbidden) IsRedirect() bool
- func (o *SmartlockAuthResourcePostPostForbidden) IsServerError() bool
- func (o *SmartlockAuthResourcePostPostForbidden) IsSuccess() bool
- func (o *SmartlockAuthResourcePostPostForbidden) String() string
- type SmartlockAuthResourcePostPostLocked
- func (o *SmartlockAuthResourcePostPostLocked) Code() int
- func (o *SmartlockAuthResourcePostPostLocked) Error() string
- func (o *SmartlockAuthResourcePostPostLocked) IsClientError() bool
- func (o *SmartlockAuthResourcePostPostLocked) IsCode(code int) bool
- func (o *SmartlockAuthResourcePostPostLocked) IsRedirect() bool
- func (o *SmartlockAuthResourcePostPostLocked) IsServerError() bool
- func (o *SmartlockAuthResourcePostPostLocked) IsSuccess() bool
- func (o *SmartlockAuthResourcePostPostLocked) String() string
- type SmartlockAuthResourcePostPostNoContent
- func (o *SmartlockAuthResourcePostPostNoContent) Code() int
- func (o *SmartlockAuthResourcePostPostNoContent) Error() string
- func (o *SmartlockAuthResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlockAuthResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlockAuthResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlockAuthResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlockAuthResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlockAuthResourcePostPostNoContent) String() string
- type SmartlockAuthResourcePostPostParams
- func NewSmartlockAuthResourcePostPostParams() *SmartlockAuthResourcePostPostParams
- func NewSmartlockAuthResourcePostPostParamsWithContext(ctx context.Context) *SmartlockAuthResourcePostPostParams
- func NewSmartlockAuthResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourcePostPostParams
- func NewSmartlockAuthResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourcePostPostParams
- func (o *SmartlockAuthResourcePostPostParams) SetBody(body *models.SmartlockAuthUpdate)
- func (o *SmartlockAuthResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlockAuthResourcePostPostParams) SetDefaults()
- func (o *SmartlockAuthResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockAuthResourcePostPostParams) SetID(id string)
- func (o *SmartlockAuthResourcePostPostParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockAuthResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockAuthResourcePostPostParams) WithBody(body *models.SmartlockAuthUpdate) *SmartlockAuthResourcePostPostParams
- func (o *SmartlockAuthResourcePostPostParams) WithContext(ctx context.Context) *SmartlockAuthResourcePostPostParams
- func (o *SmartlockAuthResourcePostPostParams) WithDefaults() *SmartlockAuthResourcePostPostParams
- func (o *SmartlockAuthResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockAuthResourcePostPostParams
- func (o *SmartlockAuthResourcePostPostParams) WithID(id string) *SmartlockAuthResourcePostPostParams
- func (o *SmartlockAuthResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockAuthResourcePostPostParams
- func (o *SmartlockAuthResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockAuthResourcePostPostParams
- func (o *SmartlockAuthResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockAuthResourcePostPostReader
- type SmartlockAuthResourcePostPostUnauthorized
- func (o *SmartlockAuthResourcePostPostUnauthorized) Code() int
- func (o *SmartlockAuthResourcePostPostUnauthorized) Error() string
- func (o *SmartlockAuthResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlockAuthResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlockAuthResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlockAuthResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlockAuthResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlockAuthResourcePostPostUnauthorized) String() string
- type SmartlockAuthsResourceGetGetForbidden
- func (o *SmartlockAuthsResourceGetGetForbidden) Code() int
- func (o *SmartlockAuthsResourceGetGetForbidden) Error() string
- func (o *SmartlockAuthsResourceGetGetForbidden) IsClientError() bool
- func (o *SmartlockAuthsResourceGetGetForbidden) IsCode(code int) bool
- func (o *SmartlockAuthsResourceGetGetForbidden) IsRedirect() bool
- func (o *SmartlockAuthsResourceGetGetForbidden) IsServerError() bool
- func (o *SmartlockAuthsResourceGetGetForbidden) IsSuccess() bool
- func (o *SmartlockAuthsResourceGetGetForbidden) String() string
- type SmartlockAuthsResourceGetGetOK
- func (o *SmartlockAuthsResourceGetGetOK) Code() int
- func (o *SmartlockAuthsResourceGetGetOK) Error() string
- func (o *SmartlockAuthsResourceGetGetOK) GetPayload() []*models.SmartlockAuth
- func (o *SmartlockAuthsResourceGetGetOK) IsClientError() bool
- func (o *SmartlockAuthsResourceGetGetOK) IsCode(code int) bool
- func (o *SmartlockAuthsResourceGetGetOK) IsRedirect() bool
- func (o *SmartlockAuthsResourceGetGetOK) IsServerError() bool
- func (o *SmartlockAuthsResourceGetGetOK) IsSuccess() bool
- func (o *SmartlockAuthsResourceGetGetOK) String() string
- type SmartlockAuthsResourceGetGetParams
- func NewSmartlockAuthsResourceGetGetParams() *SmartlockAuthsResourceGetGetParams
- func NewSmartlockAuthsResourceGetGetParamsWithContext(ctx context.Context) *SmartlockAuthsResourceGetGetParams
- func NewSmartlockAuthsResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlockAuthsResourceGetGetParams
- func NewSmartlockAuthsResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlockAuthsResourceGetGetParams
- func (o *SmartlockAuthsResourceGetGetParams) SetContext(ctx context.Context)
- func (o *SmartlockAuthsResourceGetGetParams) SetDefaults()
- func (o *SmartlockAuthsResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockAuthsResourceGetGetParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockAuthsResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockAuthsResourceGetGetParams) SetTypes(types *string)
- func (o *SmartlockAuthsResourceGetGetParams) WithContext(ctx context.Context) *SmartlockAuthsResourceGetGetParams
- func (o *SmartlockAuthsResourceGetGetParams) WithDefaults() *SmartlockAuthsResourceGetGetParams
- func (o *SmartlockAuthsResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlockAuthsResourceGetGetParams
- func (o *SmartlockAuthsResourceGetGetParams) WithSmartlockID(smartlockID int64) *SmartlockAuthsResourceGetGetParams
- func (o *SmartlockAuthsResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlockAuthsResourceGetGetParams
- func (o *SmartlockAuthsResourceGetGetParams) WithTypes(types *string) *SmartlockAuthsResourceGetGetParams
- func (o *SmartlockAuthsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockAuthsResourceGetGetReader
- type SmartlockAuthsResourceGetGetUnauthorized
- func (o *SmartlockAuthsResourceGetGetUnauthorized) Code() int
- func (o *SmartlockAuthsResourceGetGetUnauthorized) Error() string
- func (o *SmartlockAuthsResourceGetGetUnauthorized) IsClientError() bool
- func (o *SmartlockAuthsResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *SmartlockAuthsResourceGetGetUnauthorized) IsRedirect() bool
- func (o *SmartlockAuthsResourceGetGetUnauthorized) IsServerError() bool
- func (o *SmartlockAuthsResourceGetGetUnauthorized) IsSuccess() bool
- func (o *SmartlockAuthsResourceGetGetUnauthorized) String() string
- type SmartlockAuthsResourcePutPutBadRequest
- func (o *SmartlockAuthsResourcePutPutBadRequest) Code() int
- func (o *SmartlockAuthsResourcePutPutBadRequest) Error() string
- func (o *SmartlockAuthsResourcePutPutBadRequest) IsClientError() bool
- func (o *SmartlockAuthsResourcePutPutBadRequest) IsCode(code int) bool
- func (o *SmartlockAuthsResourcePutPutBadRequest) IsRedirect() bool
- func (o *SmartlockAuthsResourcePutPutBadRequest) IsServerError() bool
- func (o *SmartlockAuthsResourcePutPutBadRequest) IsSuccess() bool
- func (o *SmartlockAuthsResourcePutPutBadRequest) String() string
- type SmartlockAuthsResourcePutPutConflict
- func (o *SmartlockAuthsResourcePutPutConflict) Code() int
- func (o *SmartlockAuthsResourcePutPutConflict) Error() string
- func (o *SmartlockAuthsResourcePutPutConflict) IsClientError() bool
- func (o *SmartlockAuthsResourcePutPutConflict) IsCode(code int) bool
- func (o *SmartlockAuthsResourcePutPutConflict) IsRedirect() bool
- func (o *SmartlockAuthsResourcePutPutConflict) IsServerError() bool
- func (o *SmartlockAuthsResourcePutPutConflict) IsSuccess() bool
- func (o *SmartlockAuthsResourcePutPutConflict) String() string
- type SmartlockAuthsResourcePutPutNoContent
- func (o *SmartlockAuthsResourcePutPutNoContent) Code() int
- func (o *SmartlockAuthsResourcePutPutNoContent) Error() string
- func (o *SmartlockAuthsResourcePutPutNoContent) IsClientError() bool
- func (o *SmartlockAuthsResourcePutPutNoContent) IsCode(code int) bool
- func (o *SmartlockAuthsResourcePutPutNoContent) IsRedirect() bool
- func (o *SmartlockAuthsResourcePutPutNoContent) IsServerError() bool
- func (o *SmartlockAuthsResourcePutPutNoContent) IsSuccess() bool
- func (o *SmartlockAuthsResourcePutPutNoContent) String() string
- type SmartlockAuthsResourcePutPutParams
- func NewSmartlockAuthsResourcePutPutParams() *SmartlockAuthsResourcePutPutParams
- func NewSmartlockAuthsResourcePutPutParamsWithContext(ctx context.Context) *SmartlockAuthsResourcePutPutParams
- func NewSmartlockAuthsResourcePutPutParamsWithHTTPClient(client *http.Client) *SmartlockAuthsResourcePutPutParams
- func NewSmartlockAuthsResourcePutPutParamsWithTimeout(timeout time.Duration) *SmartlockAuthsResourcePutPutParams
- func (o *SmartlockAuthsResourcePutPutParams) SetBody(body *models.SmartlockAuthCreate)
- func (o *SmartlockAuthsResourcePutPutParams) SetContext(ctx context.Context)
- func (o *SmartlockAuthsResourcePutPutParams) SetDefaults()
- func (o *SmartlockAuthsResourcePutPutParams) SetHTTPClient(client *http.Client)
- func (o *SmartlockAuthsResourcePutPutParams) SetSmartlockID(smartlockID int64)
- func (o *SmartlockAuthsResourcePutPutParams) SetTimeout(timeout time.Duration)
- func (o *SmartlockAuthsResourcePutPutParams) WithBody(body *models.SmartlockAuthCreate) *SmartlockAuthsResourcePutPutParams
- func (o *SmartlockAuthsResourcePutPutParams) WithContext(ctx context.Context) *SmartlockAuthsResourcePutPutParams
- func (o *SmartlockAuthsResourcePutPutParams) WithDefaults() *SmartlockAuthsResourcePutPutParams
- func (o *SmartlockAuthsResourcePutPutParams) WithHTTPClient(client *http.Client) *SmartlockAuthsResourcePutPutParams
- func (o *SmartlockAuthsResourcePutPutParams) WithSmartlockID(smartlockID int64) *SmartlockAuthsResourcePutPutParams
- func (o *SmartlockAuthsResourcePutPutParams) WithTimeout(timeout time.Duration) *SmartlockAuthsResourcePutPutParams
- func (o *SmartlockAuthsResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlockAuthsResourcePutPutPaymentRequired
- func (o *SmartlockAuthsResourcePutPutPaymentRequired) Code() int
- func (o *SmartlockAuthsResourcePutPutPaymentRequired) Error() string
- func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsClientError() bool
- func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsCode(code int) bool
- func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsRedirect() bool
- func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsServerError() bool
- func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsSuccess() bool
- func (o *SmartlockAuthsResourcePutPutPaymentRequired) String() string
- type SmartlockAuthsResourcePutPutReader
- type SmartlockAuthsResourcePutPutUpgradeRequired
- func (o *SmartlockAuthsResourcePutPutUpgradeRequired) Code() int
- func (o *SmartlockAuthsResourcePutPutUpgradeRequired) Error() string
- func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsClientError() bool
- func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsCode(code int) bool
- func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsRedirect() bool
- func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsServerError() bool
- func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsSuccess() bool
- func (o *SmartlockAuthsResourcePutPutUpgradeRequired) String() string
- type SmartlocksAuthsResourceDeleteDeleteBadRequest
- func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) Code() int
- func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) Error() string
- func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsClientError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsCode(code int) bool
- func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsRedirect() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsServerError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsSuccess() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) String() string
- type SmartlocksAuthsResourceDeleteDeleteForbidden
- func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) Code() int
- func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) Error() string
- func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsClientError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsCode(code int) bool
- func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsRedirect() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsServerError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsSuccess() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) String() string
- type SmartlocksAuthsResourceDeleteDeleteLocked
- func (o *SmartlocksAuthsResourceDeleteDeleteLocked) Code() int
- func (o *SmartlocksAuthsResourceDeleteDeleteLocked) Error() string
- func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsClientError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsCode(code int) bool
- func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsRedirect() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsServerError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsSuccess() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteLocked) String() string
- type SmartlocksAuthsResourceDeleteDeleteNoContent
- func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) Code() int
- func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) Error() string
- func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsClientError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsCode(code int) bool
- func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsRedirect() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsServerError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsSuccess() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) String() string
- type SmartlocksAuthsResourceDeleteDeleteParams
- func NewSmartlocksAuthsResourceDeleteDeleteParams() *SmartlocksAuthsResourceDeleteDeleteParams
- func NewSmartlocksAuthsResourceDeleteDeleteParamsWithContext(ctx context.Context) *SmartlocksAuthsResourceDeleteDeleteParams
- func NewSmartlocksAuthsResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourceDeleteDeleteParams
- func NewSmartlocksAuthsResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourceDeleteDeleteParams
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetBody(body []string)
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetContext(ctx context.Context)
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetDefaults()
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithBody(body []string) *SmartlocksAuthsResourceDeleteDeleteParams
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithContext(ctx context.Context) *SmartlocksAuthsResourceDeleteDeleteParams
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithDefaults() *SmartlocksAuthsResourceDeleteDeleteParams
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *SmartlocksAuthsResourceDeleteDeleteParams
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *SmartlocksAuthsResourceDeleteDeleteParams
- func (o *SmartlocksAuthsResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlocksAuthsResourceDeleteDeleteReader
- type SmartlocksAuthsResourceDeleteDeleteUnauthorized
- func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) Code() int
- func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) Error() string
- func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsClientError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsCode(code int) bool
- func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsRedirect() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsServerError() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsSuccess() bool
- func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) String() string
- type SmartlocksAuthsResourceGetGetOK
- func (o *SmartlocksAuthsResourceGetGetOK) Code() int
- func (o *SmartlocksAuthsResourceGetGetOK) Error() string
- func (o *SmartlocksAuthsResourceGetGetOK) GetPayload() []*models.SmartlockAuth
- func (o *SmartlocksAuthsResourceGetGetOK) IsClientError() bool
- func (o *SmartlocksAuthsResourceGetGetOK) IsCode(code int) bool
- func (o *SmartlocksAuthsResourceGetGetOK) IsRedirect() bool
- func (o *SmartlocksAuthsResourceGetGetOK) IsServerError() bool
- func (o *SmartlocksAuthsResourceGetGetOK) IsSuccess() bool
- func (o *SmartlocksAuthsResourceGetGetOK) String() string
- type SmartlocksAuthsResourceGetGetParams
- func NewSmartlocksAuthsResourceGetGetParams() *SmartlocksAuthsResourceGetGetParams
- func NewSmartlocksAuthsResourceGetGetParamsWithContext(ctx context.Context) *SmartlocksAuthsResourceGetGetParams
- func NewSmartlocksAuthsResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourceGetGetParams
- func NewSmartlocksAuthsResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourceGetGetParams
- func (o *SmartlocksAuthsResourceGetGetParams) SetAccountUserID(accountUserID *int64)
- func (o *SmartlocksAuthsResourceGetGetParams) SetContext(ctx context.Context)
- func (o *SmartlocksAuthsResourceGetGetParams) SetDefaults()
- func (o *SmartlocksAuthsResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *SmartlocksAuthsResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *SmartlocksAuthsResourceGetGetParams) SetTypes(types *string)
- func (o *SmartlocksAuthsResourceGetGetParams) WithAccountUserID(accountUserID *int64) *SmartlocksAuthsResourceGetGetParams
- func (o *SmartlocksAuthsResourceGetGetParams) WithContext(ctx context.Context) *SmartlocksAuthsResourceGetGetParams
- func (o *SmartlocksAuthsResourceGetGetParams) WithDefaults() *SmartlocksAuthsResourceGetGetParams
- func (o *SmartlocksAuthsResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlocksAuthsResourceGetGetParams
- func (o *SmartlocksAuthsResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlocksAuthsResourceGetGetParams
- func (o *SmartlocksAuthsResourceGetGetParams) WithTypes(types *string) *SmartlocksAuthsResourceGetGetParams
- func (o *SmartlocksAuthsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlocksAuthsResourceGetGetReader
- type SmartlocksAuthsResourceGetGetUnauthorized
- func (o *SmartlocksAuthsResourceGetGetUnauthorized) Code() int
- func (o *SmartlocksAuthsResourceGetGetUnauthorized) Error() string
- func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsClientError() bool
- func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsRedirect() bool
- func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsServerError() bool
- func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsSuccess() bool
- func (o *SmartlocksAuthsResourceGetGetUnauthorized) String() string
- type SmartlocksAuthsResourcePostPostBadRequest
- func (o *SmartlocksAuthsResourcePostPostBadRequest) Code() int
- func (o *SmartlocksAuthsResourcePostPostBadRequest) Error() string
- func (o *SmartlocksAuthsResourcePostPostBadRequest) IsClientError() bool
- func (o *SmartlocksAuthsResourcePostPostBadRequest) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePostPostBadRequest) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePostPostBadRequest) IsServerError() bool
- func (o *SmartlocksAuthsResourcePostPostBadRequest) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePostPostBadRequest) String() string
- type SmartlocksAuthsResourcePostPostConflict
- func (o *SmartlocksAuthsResourcePostPostConflict) Code() int
- func (o *SmartlocksAuthsResourcePostPostConflict) Error() string
- func (o *SmartlocksAuthsResourcePostPostConflict) IsClientError() bool
- func (o *SmartlocksAuthsResourcePostPostConflict) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePostPostConflict) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePostPostConflict) IsServerError() bool
- func (o *SmartlocksAuthsResourcePostPostConflict) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePostPostConflict) String() string
- type SmartlocksAuthsResourcePostPostForbidden
- func (o *SmartlocksAuthsResourcePostPostForbidden) Code() int
- func (o *SmartlocksAuthsResourcePostPostForbidden) Error() string
- func (o *SmartlocksAuthsResourcePostPostForbidden) IsClientError() bool
- func (o *SmartlocksAuthsResourcePostPostForbidden) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePostPostForbidden) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePostPostForbidden) IsServerError() bool
- func (o *SmartlocksAuthsResourcePostPostForbidden) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePostPostForbidden) String() string
- type SmartlocksAuthsResourcePostPostLocked
- func (o *SmartlocksAuthsResourcePostPostLocked) Code() int
- func (o *SmartlocksAuthsResourcePostPostLocked) Error() string
- func (o *SmartlocksAuthsResourcePostPostLocked) IsClientError() bool
- func (o *SmartlocksAuthsResourcePostPostLocked) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePostPostLocked) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePostPostLocked) IsServerError() bool
- func (o *SmartlocksAuthsResourcePostPostLocked) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePostPostLocked) String() string
- type SmartlocksAuthsResourcePostPostNoContent
- func (o *SmartlocksAuthsResourcePostPostNoContent) Code() int
- func (o *SmartlocksAuthsResourcePostPostNoContent) Error() string
- func (o *SmartlocksAuthsResourcePostPostNoContent) IsClientError() bool
- func (o *SmartlocksAuthsResourcePostPostNoContent) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePostPostNoContent) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePostPostNoContent) IsServerError() bool
- func (o *SmartlocksAuthsResourcePostPostNoContent) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePostPostNoContent) String() string
- type SmartlocksAuthsResourcePostPostParams
- func NewSmartlocksAuthsResourcePostPostParams() *SmartlocksAuthsResourcePostPostParams
- func NewSmartlocksAuthsResourcePostPostParamsWithContext(ctx context.Context) *SmartlocksAuthsResourcePostPostParams
- func NewSmartlocksAuthsResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePostPostParams
- func NewSmartlocksAuthsResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePostPostParams
- func (o *SmartlocksAuthsResourcePostPostParams) SetBody(body []*models.SmartlockAuthMultiUpdate)
- func (o *SmartlocksAuthsResourcePostPostParams) SetContext(ctx context.Context)
- func (o *SmartlocksAuthsResourcePostPostParams) SetDefaults()
- func (o *SmartlocksAuthsResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *SmartlocksAuthsResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *SmartlocksAuthsResourcePostPostParams) WithBody(body []*models.SmartlockAuthMultiUpdate) *SmartlocksAuthsResourcePostPostParams
- func (o *SmartlocksAuthsResourcePostPostParams) WithContext(ctx context.Context) *SmartlocksAuthsResourcePostPostParams
- func (o *SmartlocksAuthsResourcePostPostParams) WithDefaults() *SmartlocksAuthsResourcePostPostParams
- func (o *SmartlocksAuthsResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePostPostParams
- func (o *SmartlocksAuthsResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePostPostParams
- func (o *SmartlocksAuthsResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlocksAuthsResourcePostPostReader
- type SmartlocksAuthsResourcePostPostUnauthorized
- func (o *SmartlocksAuthsResourcePostPostUnauthorized) Code() int
- func (o *SmartlocksAuthsResourcePostPostUnauthorized) Error() string
- func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsClientError() bool
- func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsServerError() bool
- func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePostPostUnauthorized) String() string
- type SmartlocksAuthsResourcePutPutBadRequest
- func (o *SmartlocksAuthsResourcePutPutBadRequest) Code() int
- func (o *SmartlocksAuthsResourcePutPutBadRequest) Error() string
- func (o *SmartlocksAuthsResourcePutPutBadRequest) IsClientError() bool
- func (o *SmartlocksAuthsResourcePutPutBadRequest) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePutPutBadRequest) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePutPutBadRequest) IsServerError() bool
- func (o *SmartlocksAuthsResourcePutPutBadRequest) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePutPutBadRequest) String() string
- type SmartlocksAuthsResourcePutPutConflict
- func (o *SmartlocksAuthsResourcePutPutConflict) Code() int
- func (o *SmartlocksAuthsResourcePutPutConflict) Error() string
- func (o *SmartlocksAuthsResourcePutPutConflict) IsClientError() bool
- func (o *SmartlocksAuthsResourcePutPutConflict) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePutPutConflict) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePutPutConflict) IsServerError() bool
- func (o *SmartlocksAuthsResourcePutPutConflict) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePutPutConflict) String() string
- type SmartlocksAuthsResourcePutPutNoContent
- func (o *SmartlocksAuthsResourcePutPutNoContent) Code() int
- func (o *SmartlocksAuthsResourcePutPutNoContent) Error() string
- func (o *SmartlocksAuthsResourcePutPutNoContent) IsClientError() bool
- func (o *SmartlocksAuthsResourcePutPutNoContent) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePutPutNoContent) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePutPutNoContent) IsServerError() bool
- func (o *SmartlocksAuthsResourcePutPutNoContent) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePutPutNoContent) String() string
- type SmartlocksAuthsResourcePutPutParams
- func NewSmartlocksAuthsResourcePutPutParams() *SmartlocksAuthsResourcePutPutParams
- func NewSmartlocksAuthsResourcePutPutParamsWithContext(ctx context.Context) *SmartlocksAuthsResourcePutPutParams
- func NewSmartlocksAuthsResourcePutPutParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePutPutParams
- func NewSmartlocksAuthsResourcePutPutParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePutPutParams
- func (o *SmartlocksAuthsResourcePutPutParams) SetBody(body *models.SmartlocksAuthCreate)
- func (o *SmartlocksAuthsResourcePutPutParams) SetContext(ctx context.Context)
- func (o *SmartlocksAuthsResourcePutPutParams) SetDefaults()
- func (o *SmartlocksAuthsResourcePutPutParams) SetHTTPClient(client *http.Client)
- func (o *SmartlocksAuthsResourcePutPutParams) SetTimeout(timeout time.Duration)
- func (o *SmartlocksAuthsResourcePutPutParams) WithBody(body *models.SmartlocksAuthCreate) *SmartlocksAuthsResourcePutPutParams
- func (o *SmartlocksAuthsResourcePutPutParams) WithContext(ctx context.Context) *SmartlocksAuthsResourcePutPutParams
- func (o *SmartlocksAuthsResourcePutPutParams) WithDefaults() *SmartlocksAuthsResourcePutPutParams
- func (o *SmartlocksAuthsResourcePutPutParams) WithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePutPutParams
- func (o *SmartlocksAuthsResourcePutPutParams) WithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePutPutParams
- func (o *SmartlocksAuthsResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SmartlocksAuthsResourcePutPutPaymentRequired
- func (o *SmartlocksAuthsResourcePutPutPaymentRequired) Code() int
- func (o *SmartlocksAuthsResourcePutPutPaymentRequired) Error() string
- func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsClientError() bool
- func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsServerError() bool
- func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePutPutPaymentRequired) String() string
- type SmartlocksAuthsResourcePutPutReader
- type SmartlocksAuthsResourcePutPutUpgradeRequired
- func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) Code() int
- func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) Error() string
- func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsClientError() bool
- func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsCode(code int) bool
- func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsRedirect() bool
- func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsServerError() bool
- func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsSuccess() bool
- func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for smartlock auth API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SmartlockAuthResourceDeleteDelete ¶
func (a *Client) SmartlockAuthResourceDeleteDelete(params *SmartlockAuthResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceDeleteDeleteNoContent, error)
SmartlockAuthResourceDeleteDelete deletes asynchronous a smartlock authorization
func (*Client) SmartlockAuthResourceGetGet ¶
func (a *Client) SmartlockAuthResourceGetGet(params *SmartlockAuthResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceGetGetOK, error)
SmartlockAuthResourceGetGet gets a smartlock authorization
func (*Client) SmartlockAuthResourcePostPost ¶
func (a *Client) SmartlockAuthResourcePostPost(params *SmartlockAuthResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourcePostPostNoContent, error)
SmartlockAuthResourcePostPost updates asynchronous a smartlock authorization
func (*Client) SmartlockAuthsResourceGetGet ¶
func (a *Client) SmartlockAuthsResourceGetGet(params *SmartlockAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourceGetGetOK, error)
SmartlockAuthsResourceGetGet gets a list of smartlock authorizations
func (*Client) SmartlockAuthsResourcePutPut ¶
func (a *Client) SmartlockAuthsResourcePutPut(params *SmartlockAuthsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourcePutPutNoContent, error)
SmartlockAuthsResourcePutPut creates asynchronous a smartlock authorization
func (*Client) SmartlocksAuthsResourceDeleteDelete ¶
func (a *Client) SmartlocksAuthsResourceDeleteDelete(params *SmartlocksAuthsResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceDeleteDeleteNoContent, error)
SmartlocksAuthsResourceDeleteDelete deletes smartlock authorizations asynchronously
func (*Client) SmartlocksAuthsResourceGetGet ¶
func (a *Client) SmartlocksAuthsResourceGetGet(params *SmartlocksAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceGetGetOK, error)
SmartlocksAuthsResourceGetGet gets a list of smartlock authorizations for your smartlocks
func (*Client) SmartlocksAuthsResourcePostPost ¶
func (a *Client) SmartlocksAuthsResourcePostPost(params *SmartlocksAuthsResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourcePostPostNoContent, error)
SmartlocksAuthsResourcePostPost updates smartlock authorizations asynchronously
func (*Client) SmartlocksAuthsResourcePutPut ¶
func (a *Client) SmartlocksAuthsResourcePutPut(params *SmartlocksAuthsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourcePutPutNoContent, error)
SmartlocksAuthsResourcePutPut creates asynchronous smartlock authorizations
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SmartlockAuthResourceDeleteDelete(params *SmartlockAuthResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceDeleteDeleteNoContent, error) SmartlockAuthResourceGetGet(params *SmartlockAuthResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceGetGetOK, error) SmartlockAuthResourcePostPost(params *SmartlockAuthResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourcePostPostNoContent, error) SmartlockAuthsResourceGetGet(params *SmartlockAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourceGetGetOK, error) SmartlockAuthsResourcePutPut(params *SmartlockAuthsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourcePutPutNoContent, error) SmartlocksAuthsResourceDeleteDelete(params *SmartlocksAuthsResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceDeleteDeleteNoContent, error) SmartlocksAuthsResourceGetGet(params *SmartlocksAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceGetGetOK, error) SmartlocksAuthsResourcePostPost(params *SmartlocksAuthsResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourcePostPostNoContent, error) SmartlocksAuthsResourcePutPut(params *SmartlocksAuthsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourcePutPutNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new smartlock auth API client.
type InstrumentedClientService ¶
type InstrumentedClientService struct { ClientService // contains filtered or unexported fields }
func NewInstrumentedClientService ¶
func NewInstrumentedClientService(impl ClientService, r prometheus.Registerer) *InstrumentedClientService
func (*InstrumentedClientService) SmartlockAuthResourceDeleteDelete ¶
func (c *InstrumentedClientService) SmartlockAuthResourceDeleteDelete(_c0 *SmartlockAuthResourceDeleteDeleteParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlockAuthResourceDeleteDeleteNoContent, error)
func (*InstrumentedClientService) SmartlockAuthResourceGetGet ¶
func (c *InstrumentedClientService) SmartlockAuthResourceGetGet(_c0 *SmartlockAuthResourceGetGetParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlockAuthResourceGetGetOK, error)
func (*InstrumentedClientService) SmartlockAuthResourcePostPost ¶
func (c *InstrumentedClientService) SmartlockAuthResourcePostPost(_c0 *SmartlockAuthResourcePostPostParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlockAuthResourcePostPostNoContent, error)
func (*InstrumentedClientService) SmartlockAuthsResourceGetGet ¶
func (c *InstrumentedClientService) SmartlockAuthsResourceGetGet(_c0 *SmartlockAuthsResourceGetGetParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlockAuthsResourceGetGetOK, error)
func (*InstrumentedClientService) SmartlockAuthsResourcePutPut ¶
func (c *InstrumentedClientService) SmartlockAuthsResourcePutPut(_c0 *SmartlockAuthsResourcePutPutParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlockAuthsResourcePutPutNoContent, error)
func (*InstrumentedClientService) SmartlocksAuthsResourceDeleteDelete ¶
func (c *InstrumentedClientService) SmartlocksAuthsResourceDeleteDelete(_c0 *SmartlocksAuthsResourceDeleteDeleteParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlocksAuthsResourceDeleteDeleteNoContent, error)
func (*InstrumentedClientService) SmartlocksAuthsResourceGetGet ¶
func (c *InstrumentedClientService) SmartlocksAuthsResourceGetGet(_c0 *SmartlocksAuthsResourceGetGetParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlocksAuthsResourceGetGetOK, error)
func (*InstrumentedClientService) SmartlocksAuthsResourcePostPost ¶
func (c *InstrumentedClientService) SmartlocksAuthsResourcePostPost(_c0 *SmartlocksAuthsResourcePostPostParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlocksAuthsResourcePostPostNoContent, error)
func (*InstrumentedClientService) SmartlocksAuthsResourcePutPut ¶
func (c *InstrumentedClientService) SmartlocksAuthsResourcePutPut(_c0 *SmartlocksAuthsResourcePutPutParams, _c1 runtime.ClientAuthInfoWriter, _c2 ...ClientOption) (*SmartlocksAuthsResourcePutPutNoContent, error)
type MockClientService ¶
MockClientService is an autogenerated mock type for the ClientService type
func NewMockClientService ¶
func NewMockClientService(t mockConstructorTestingTNewMockClientService) *MockClientService
NewMockClientService creates a new instance of MockClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockClientService) SetTransport ¶
func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport
func (*MockClientService) SmartlockAuthResourceDeleteDelete ¶
func (_m *MockClientService) SmartlockAuthResourceDeleteDelete(params *SmartlockAuthResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceDeleteDeleteNoContent, error)
SmartlockAuthResourceDeleteDelete provides a mock function with given fields: params, authInfo, opts
func (*MockClientService) SmartlockAuthResourceGetGet ¶
func (_m *MockClientService) SmartlockAuthResourceGetGet(params *SmartlockAuthResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourceGetGetOK, error)
SmartlockAuthResourceGetGet provides a mock function with given fields: params, authInfo, opts
func (*MockClientService) SmartlockAuthResourcePostPost ¶
func (_m *MockClientService) SmartlockAuthResourcePostPost(params *SmartlockAuthResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthResourcePostPostNoContent, error)
SmartlockAuthResourcePostPost provides a mock function with given fields: params, authInfo, opts
func (*MockClientService) SmartlockAuthsResourceGetGet ¶
func (_m *MockClientService) SmartlockAuthsResourceGetGet(params *SmartlockAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourceGetGetOK, error)
SmartlockAuthsResourceGetGet provides a mock function with given fields: params, authInfo, opts
func (*MockClientService) SmartlockAuthsResourcePutPut ¶
func (_m *MockClientService) SmartlockAuthsResourcePutPut(params *SmartlockAuthsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlockAuthsResourcePutPutNoContent, error)
SmartlockAuthsResourcePutPut provides a mock function with given fields: params, authInfo, opts
func (*MockClientService) SmartlocksAuthsResourceDeleteDelete ¶
func (_m *MockClientService) SmartlocksAuthsResourceDeleteDelete(params *SmartlocksAuthsResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceDeleteDeleteNoContent, error)
SmartlocksAuthsResourceDeleteDelete provides a mock function with given fields: params, authInfo, opts
func (*MockClientService) SmartlocksAuthsResourceGetGet ¶
func (_m *MockClientService) SmartlocksAuthsResourceGetGet(params *SmartlocksAuthsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourceGetGetOK, error)
SmartlocksAuthsResourceGetGet provides a mock function with given fields: params, authInfo, opts
func (*MockClientService) SmartlocksAuthsResourcePostPost ¶
func (_m *MockClientService) SmartlocksAuthsResourcePostPost(params *SmartlocksAuthsResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourcePostPostNoContent, error)
SmartlocksAuthsResourcePostPost provides a mock function with given fields: params, authInfo, opts
func (*MockClientService) SmartlocksAuthsResourcePutPut ¶
func (_m *MockClientService) SmartlocksAuthsResourcePutPut(params *SmartlocksAuthsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SmartlocksAuthsResourcePutPutNoContent, error)
SmartlocksAuthsResourcePutPut provides a mock function with given fields: params, authInfo, opts
type SmartlockAuthResourceDeleteDeleteForbidden ¶
type SmartlockAuthResourceDeleteDeleteForbidden struct { }
SmartlockAuthResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlockAuthResourceDeleteDeleteForbidden ¶
func NewSmartlockAuthResourceDeleteDeleteForbidden() *SmartlockAuthResourceDeleteDeleteForbidden
NewSmartlockAuthResourceDeleteDeleteForbidden creates a SmartlockAuthResourceDeleteDeleteForbidden with default headers values
func (*SmartlockAuthResourceDeleteDeleteForbidden) Code ¶
func (o *SmartlockAuthResourceDeleteDeleteForbidden) Code() int
Code gets the status code for the smartlock auth resource delete delete forbidden response
func (*SmartlockAuthResourceDeleteDeleteForbidden) Error ¶
func (o *SmartlockAuthResourceDeleteDeleteForbidden) Error() string
func (*SmartlockAuthResourceDeleteDeleteForbidden) IsClientError ¶
func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsClientError() bool
IsClientError returns true when this smartlock auth resource delete delete forbidden response has a 4xx status code
func (*SmartlockAuthResourceDeleteDeleteForbidden) IsCode ¶
func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsCode(code int) bool
IsCode returns true when this smartlock auth resource delete delete forbidden response a status code equal to that given
func (*SmartlockAuthResourceDeleteDeleteForbidden) IsRedirect ¶
func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource delete delete forbidden response has a 3xx status code
func (*SmartlockAuthResourceDeleteDeleteForbidden) IsServerError ¶
func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsServerError() bool
IsServerError returns true when this smartlock auth resource delete delete forbidden response has a 5xx status code
func (*SmartlockAuthResourceDeleteDeleteForbidden) IsSuccess ¶
func (o *SmartlockAuthResourceDeleteDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource delete delete forbidden response has a 2xx status code
func (*SmartlockAuthResourceDeleteDeleteForbidden) String ¶
func (o *SmartlockAuthResourceDeleteDeleteForbidden) String() string
type SmartlockAuthResourceDeleteDeleteLocked ¶
type SmartlockAuthResourceDeleteDeleteLocked struct { }
SmartlockAuthResourceDeleteDeleteLocked describes a response with status code 423, with default header values.
Locked
func NewSmartlockAuthResourceDeleteDeleteLocked ¶
func NewSmartlockAuthResourceDeleteDeleteLocked() *SmartlockAuthResourceDeleteDeleteLocked
NewSmartlockAuthResourceDeleteDeleteLocked creates a SmartlockAuthResourceDeleteDeleteLocked with default headers values
func (*SmartlockAuthResourceDeleteDeleteLocked) Code ¶
func (o *SmartlockAuthResourceDeleteDeleteLocked) Code() int
Code gets the status code for the smartlock auth resource delete delete locked response
func (*SmartlockAuthResourceDeleteDeleteLocked) Error ¶
func (o *SmartlockAuthResourceDeleteDeleteLocked) Error() string
func (*SmartlockAuthResourceDeleteDeleteLocked) IsClientError ¶
func (o *SmartlockAuthResourceDeleteDeleteLocked) IsClientError() bool
IsClientError returns true when this smartlock auth resource delete delete locked response has a 4xx status code
func (*SmartlockAuthResourceDeleteDeleteLocked) IsCode ¶
func (o *SmartlockAuthResourceDeleteDeleteLocked) IsCode(code int) bool
IsCode returns true when this smartlock auth resource delete delete locked response a status code equal to that given
func (*SmartlockAuthResourceDeleteDeleteLocked) IsRedirect ¶
func (o *SmartlockAuthResourceDeleteDeleteLocked) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource delete delete locked response has a 3xx status code
func (*SmartlockAuthResourceDeleteDeleteLocked) IsServerError ¶
func (o *SmartlockAuthResourceDeleteDeleteLocked) IsServerError() bool
IsServerError returns true when this smartlock auth resource delete delete locked response has a 5xx status code
func (*SmartlockAuthResourceDeleteDeleteLocked) IsSuccess ¶
func (o *SmartlockAuthResourceDeleteDeleteLocked) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource delete delete locked response has a 2xx status code
func (*SmartlockAuthResourceDeleteDeleteLocked) String ¶
func (o *SmartlockAuthResourceDeleteDeleteLocked) String() string
type SmartlockAuthResourceDeleteDeleteNoContent ¶
type SmartlockAuthResourceDeleteDeleteNoContent struct { }
SmartlockAuthResourceDeleteDeleteNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockAuthResourceDeleteDeleteNoContent ¶
func NewSmartlockAuthResourceDeleteDeleteNoContent() *SmartlockAuthResourceDeleteDeleteNoContent
NewSmartlockAuthResourceDeleteDeleteNoContent creates a SmartlockAuthResourceDeleteDeleteNoContent with default headers values
func (*SmartlockAuthResourceDeleteDeleteNoContent) Code ¶
func (o *SmartlockAuthResourceDeleteDeleteNoContent) Code() int
Code gets the status code for the smartlock auth resource delete delete no content response
func (*SmartlockAuthResourceDeleteDeleteNoContent) Error ¶
func (o *SmartlockAuthResourceDeleteDeleteNoContent) Error() string
func (*SmartlockAuthResourceDeleteDeleteNoContent) IsClientError ¶
func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsClientError() bool
IsClientError returns true when this smartlock auth resource delete delete no content response has a 4xx status code
func (*SmartlockAuthResourceDeleteDeleteNoContent) IsCode ¶
func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsCode(code int) bool
IsCode returns true when this smartlock auth resource delete delete no content response a status code equal to that given
func (*SmartlockAuthResourceDeleteDeleteNoContent) IsRedirect ¶
func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource delete delete no content response has a 3xx status code
func (*SmartlockAuthResourceDeleteDeleteNoContent) IsServerError ¶
func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsServerError() bool
IsServerError returns true when this smartlock auth resource delete delete no content response has a 5xx status code
func (*SmartlockAuthResourceDeleteDeleteNoContent) IsSuccess ¶
func (o *SmartlockAuthResourceDeleteDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource delete delete no content response has a 2xx status code
func (*SmartlockAuthResourceDeleteDeleteNoContent) String ¶
func (o *SmartlockAuthResourceDeleteDeleteNoContent) String() string
type SmartlockAuthResourceDeleteDeleteParams ¶
type SmartlockAuthResourceDeleteDeleteParams struct { /* ID. The smartlock authorization unique id */ ID string /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockAuthResourceDeleteDeleteParams contains all the parameters to send to the API endpoint
for the smartlock auth resource delete delete operation. Typically these are written to a http.Request.
func NewSmartlockAuthResourceDeleteDeleteParams ¶
func NewSmartlockAuthResourceDeleteDeleteParams() *SmartlockAuthResourceDeleteDeleteParams
NewSmartlockAuthResourceDeleteDeleteParams creates a new SmartlockAuthResourceDeleteDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockAuthResourceDeleteDeleteParamsWithContext ¶
func NewSmartlockAuthResourceDeleteDeleteParamsWithContext(ctx context.Context) *SmartlockAuthResourceDeleteDeleteParams
NewSmartlockAuthResourceDeleteDeleteParamsWithContext creates a new SmartlockAuthResourceDeleteDeleteParams object with the ability to set a context for a request.
func NewSmartlockAuthResourceDeleteDeleteParamsWithHTTPClient ¶
func NewSmartlockAuthResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourceDeleteDeleteParams
NewSmartlockAuthResourceDeleteDeleteParamsWithHTTPClient creates a new SmartlockAuthResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockAuthResourceDeleteDeleteParamsWithTimeout ¶
func NewSmartlockAuthResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourceDeleteDeleteParams
NewSmartlockAuthResourceDeleteDeleteParamsWithTimeout creates a new SmartlockAuthResourceDeleteDeleteParams object with the ability to set a timeout on a request.
func (*SmartlockAuthResourceDeleteDeleteParams) SetContext ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) SetDefaults ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) SetDefaults()
SetDefaults hydrates default values in the smartlock auth resource delete delete params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthResourceDeleteDeleteParams) SetHTTPClient ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) SetID ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) SetID(id string)
SetID adds the id to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) SetSmartlockID ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) SetTimeout ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) WithContext ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) WithContext(ctx context.Context) *SmartlockAuthResourceDeleteDeleteParams
WithContext adds the context to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) WithDefaults ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) WithDefaults() *SmartlockAuthResourceDeleteDeleteParams
WithDefaults hydrates default values in the smartlock auth resource delete delete params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthResourceDeleteDeleteParams) WithHTTPClient ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *SmartlockAuthResourceDeleteDeleteParams
WithHTTPClient adds the HTTPClient to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) WithID ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) WithID(id string) *SmartlockAuthResourceDeleteDeleteParams
WithID adds the id to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) WithSmartlockID ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) WithSmartlockID(smartlockID int64) *SmartlockAuthResourceDeleteDeleteParams
WithSmartlockID adds the smartlockID to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) WithTimeout ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *SmartlockAuthResourceDeleteDeleteParams
WithTimeout adds the timeout to the smartlock auth resource delete delete params
func (*SmartlockAuthResourceDeleteDeleteParams) WriteToRequest ¶
func (o *SmartlockAuthResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockAuthResourceDeleteDeleteReader ¶
type SmartlockAuthResourceDeleteDeleteReader struct {
// contains filtered or unexported fields
}
SmartlockAuthResourceDeleteDeleteReader is a Reader for the SmartlockAuthResourceDeleteDelete structure.
func (*SmartlockAuthResourceDeleteDeleteReader) ReadResponse ¶
func (o *SmartlockAuthResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockAuthResourceDeleteDeleteUnauthorized ¶
type SmartlockAuthResourceDeleteDeleteUnauthorized struct { }
SmartlockAuthResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockAuthResourceDeleteDeleteUnauthorized ¶
func NewSmartlockAuthResourceDeleteDeleteUnauthorized() *SmartlockAuthResourceDeleteDeleteUnauthorized
NewSmartlockAuthResourceDeleteDeleteUnauthorized creates a SmartlockAuthResourceDeleteDeleteUnauthorized with default headers values
func (*SmartlockAuthResourceDeleteDeleteUnauthorized) Code ¶
func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) Code() int
Code gets the status code for the smartlock auth resource delete delete unauthorized response
func (*SmartlockAuthResourceDeleteDeleteUnauthorized) Error ¶
func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) Error() string
func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsClientError ¶
func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock auth resource delete delete unauthorized response has a 4xx status code
func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsCode ¶
func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock auth resource delete delete unauthorized response a status code equal to that given
func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsRedirect ¶
func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource delete delete unauthorized response has a 3xx status code
func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsServerError ¶
func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock auth resource delete delete unauthorized response has a 5xx status code
func (*SmartlockAuthResourceDeleteDeleteUnauthorized) IsSuccess ¶
func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource delete delete unauthorized response has a 2xx status code
func (*SmartlockAuthResourceDeleteDeleteUnauthorized) String ¶
func (o *SmartlockAuthResourceDeleteDeleteUnauthorized) String() string
type SmartlockAuthResourceGetGetForbidden ¶
type SmartlockAuthResourceGetGetForbidden struct { }
SmartlockAuthResourceGetGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlockAuthResourceGetGetForbidden ¶
func NewSmartlockAuthResourceGetGetForbidden() *SmartlockAuthResourceGetGetForbidden
NewSmartlockAuthResourceGetGetForbidden creates a SmartlockAuthResourceGetGetForbidden with default headers values
func (*SmartlockAuthResourceGetGetForbidden) Code ¶
func (o *SmartlockAuthResourceGetGetForbidden) Code() int
Code gets the status code for the smartlock auth resource get get forbidden response
func (*SmartlockAuthResourceGetGetForbidden) Error ¶
func (o *SmartlockAuthResourceGetGetForbidden) Error() string
func (*SmartlockAuthResourceGetGetForbidden) IsClientError ¶
func (o *SmartlockAuthResourceGetGetForbidden) IsClientError() bool
IsClientError returns true when this smartlock auth resource get get forbidden response has a 4xx status code
func (*SmartlockAuthResourceGetGetForbidden) IsCode ¶
func (o *SmartlockAuthResourceGetGetForbidden) IsCode(code int) bool
IsCode returns true when this smartlock auth resource get get forbidden response a status code equal to that given
func (*SmartlockAuthResourceGetGetForbidden) IsRedirect ¶
func (o *SmartlockAuthResourceGetGetForbidden) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource get get forbidden response has a 3xx status code
func (*SmartlockAuthResourceGetGetForbidden) IsServerError ¶
func (o *SmartlockAuthResourceGetGetForbidden) IsServerError() bool
IsServerError returns true when this smartlock auth resource get get forbidden response has a 5xx status code
func (*SmartlockAuthResourceGetGetForbidden) IsSuccess ¶
func (o *SmartlockAuthResourceGetGetForbidden) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource get get forbidden response has a 2xx status code
func (*SmartlockAuthResourceGetGetForbidden) String ¶
func (o *SmartlockAuthResourceGetGetForbidden) String() string
type SmartlockAuthResourceGetGetOK ¶
type SmartlockAuthResourceGetGetOK struct {
Payload *models.SmartlockAuth
}
SmartlockAuthResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewSmartlockAuthResourceGetGetOK ¶
func NewSmartlockAuthResourceGetGetOK() *SmartlockAuthResourceGetGetOK
NewSmartlockAuthResourceGetGetOK creates a SmartlockAuthResourceGetGetOK with default headers values
func (*SmartlockAuthResourceGetGetOK) Code ¶
func (o *SmartlockAuthResourceGetGetOK) Code() int
Code gets the status code for the smartlock auth resource get get o k response
func (*SmartlockAuthResourceGetGetOK) Error ¶
func (o *SmartlockAuthResourceGetGetOK) Error() string
func (*SmartlockAuthResourceGetGetOK) GetPayload ¶
func (o *SmartlockAuthResourceGetGetOK) GetPayload() *models.SmartlockAuth
func (*SmartlockAuthResourceGetGetOK) IsClientError ¶
func (o *SmartlockAuthResourceGetGetOK) IsClientError() bool
IsClientError returns true when this smartlock auth resource get get o k response has a 4xx status code
func (*SmartlockAuthResourceGetGetOK) IsCode ¶
func (o *SmartlockAuthResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this smartlock auth resource get get o k response a status code equal to that given
func (*SmartlockAuthResourceGetGetOK) IsRedirect ¶
func (o *SmartlockAuthResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource get get o k response has a 3xx status code
func (*SmartlockAuthResourceGetGetOK) IsServerError ¶
func (o *SmartlockAuthResourceGetGetOK) IsServerError() bool
IsServerError returns true when this smartlock auth resource get get o k response has a 5xx status code
func (*SmartlockAuthResourceGetGetOK) IsSuccess ¶
func (o *SmartlockAuthResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource get get o k response has a 2xx status code
func (*SmartlockAuthResourceGetGetOK) String ¶
func (o *SmartlockAuthResourceGetGetOK) String() string
type SmartlockAuthResourceGetGetParams ¶
type SmartlockAuthResourceGetGetParams struct { /* ID. The smartlock auth unique id */ ID string /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockAuthResourceGetGetParams contains all the parameters to send to the API endpoint
for the smartlock auth resource get get operation. Typically these are written to a http.Request.
func NewSmartlockAuthResourceGetGetParams ¶
func NewSmartlockAuthResourceGetGetParams() *SmartlockAuthResourceGetGetParams
NewSmartlockAuthResourceGetGetParams creates a new SmartlockAuthResourceGetGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockAuthResourceGetGetParamsWithContext ¶
func NewSmartlockAuthResourceGetGetParamsWithContext(ctx context.Context) *SmartlockAuthResourceGetGetParams
NewSmartlockAuthResourceGetGetParamsWithContext creates a new SmartlockAuthResourceGetGetParams object with the ability to set a context for a request.
func NewSmartlockAuthResourceGetGetParamsWithHTTPClient ¶
func NewSmartlockAuthResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourceGetGetParams
NewSmartlockAuthResourceGetGetParamsWithHTTPClient creates a new SmartlockAuthResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockAuthResourceGetGetParamsWithTimeout ¶
func NewSmartlockAuthResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourceGetGetParams
NewSmartlockAuthResourceGetGetParamsWithTimeout creates a new SmartlockAuthResourceGetGetParams object with the ability to set a timeout on a request.
func (*SmartlockAuthResourceGetGetParams) SetContext ¶
func (o *SmartlockAuthResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) SetDefaults ¶
func (o *SmartlockAuthResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the smartlock auth resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthResourceGetGetParams) SetHTTPClient ¶
func (o *SmartlockAuthResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) SetID ¶
func (o *SmartlockAuthResourceGetGetParams) SetID(id string)
SetID adds the id to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) SetSmartlockID ¶
func (o *SmartlockAuthResourceGetGetParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) SetTimeout ¶
func (o *SmartlockAuthResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) WithContext ¶
func (o *SmartlockAuthResourceGetGetParams) WithContext(ctx context.Context) *SmartlockAuthResourceGetGetParams
WithContext adds the context to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) WithDefaults ¶
func (o *SmartlockAuthResourceGetGetParams) WithDefaults() *SmartlockAuthResourceGetGetParams
WithDefaults hydrates default values in the smartlock auth resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthResourceGetGetParams) WithHTTPClient ¶
func (o *SmartlockAuthResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlockAuthResourceGetGetParams
WithHTTPClient adds the HTTPClient to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) WithID ¶
func (o *SmartlockAuthResourceGetGetParams) WithID(id string) *SmartlockAuthResourceGetGetParams
WithID adds the id to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) WithSmartlockID ¶
func (o *SmartlockAuthResourceGetGetParams) WithSmartlockID(smartlockID int64) *SmartlockAuthResourceGetGetParams
WithSmartlockID adds the smartlockID to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) WithTimeout ¶
func (o *SmartlockAuthResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlockAuthResourceGetGetParams
WithTimeout adds the timeout to the smartlock auth resource get get params
func (*SmartlockAuthResourceGetGetParams) WriteToRequest ¶
func (o *SmartlockAuthResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockAuthResourceGetGetReader ¶
type SmartlockAuthResourceGetGetReader struct {
// contains filtered or unexported fields
}
SmartlockAuthResourceGetGetReader is a Reader for the SmartlockAuthResourceGetGet structure.
func (*SmartlockAuthResourceGetGetReader) ReadResponse ¶
func (o *SmartlockAuthResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockAuthResourceGetGetUnauthorized ¶
type SmartlockAuthResourceGetGetUnauthorized struct { }
SmartlockAuthResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockAuthResourceGetGetUnauthorized ¶
func NewSmartlockAuthResourceGetGetUnauthorized() *SmartlockAuthResourceGetGetUnauthorized
NewSmartlockAuthResourceGetGetUnauthorized creates a SmartlockAuthResourceGetGetUnauthorized with default headers values
func (*SmartlockAuthResourceGetGetUnauthorized) Code ¶
func (o *SmartlockAuthResourceGetGetUnauthorized) Code() int
Code gets the status code for the smartlock auth resource get get unauthorized response
func (*SmartlockAuthResourceGetGetUnauthorized) Error ¶
func (o *SmartlockAuthResourceGetGetUnauthorized) Error() string
func (*SmartlockAuthResourceGetGetUnauthorized) IsClientError ¶
func (o *SmartlockAuthResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock auth resource get get unauthorized response has a 4xx status code
func (*SmartlockAuthResourceGetGetUnauthorized) IsCode ¶
func (o *SmartlockAuthResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock auth resource get get unauthorized response a status code equal to that given
func (*SmartlockAuthResourceGetGetUnauthorized) IsRedirect ¶
func (o *SmartlockAuthResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource get get unauthorized response has a 3xx status code
func (*SmartlockAuthResourceGetGetUnauthorized) IsServerError ¶
func (o *SmartlockAuthResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock auth resource get get unauthorized response has a 5xx status code
func (*SmartlockAuthResourceGetGetUnauthorized) IsSuccess ¶
func (o *SmartlockAuthResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource get get unauthorized response has a 2xx status code
func (*SmartlockAuthResourceGetGetUnauthorized) String ¶
func (o *SmartlockAuthResourceGetGetUnauthorized) String() string
type SmartlockAuthResourcePostPostBadRequest ¶
type SmartlockAuthResourcePostPostBadRequest struct { }
SmartlockAuthResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockAuthResourcePostPostBadRequest ¶
func NewSmartlockAuthResourcePostPostBadRequest() *SmartlockAuthResourcePostPostBadRequest
NewSmartlockAuthResourcePostPostBadRequest creates a SmartlockAuthResourcePostPostBadRequest with default headers values
func (*SmartlockAuthResourcePostPostBadRequest) Code ¶
func (o *SmartlockAuthResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlock auth resource post post bad request response
func (*SmartlockAuthResourcePostPostBadRequest) Error ¶
func (o *SmartlockAuthResourcePostPostBadRequest) Error() string
func (*SmartlockAuthResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlockAuthResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlock auth resource post post bad request response has a 4xx status code
func (*SmartlockAuthResourcePostPostBadRequest) IsCode ¶
func (o *SmartlockAuthResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock auth resource post post bad request response a status code equal to that given
func (*SmartlockAuthResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlockAuthResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource post post bad request response has a 3xx status code
func (*SmartlockAuthResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlockAuthResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlock auth resource post post bad request response has a 5xx status code
func (*SmartlockAuthResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlockAuthResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource post post bad request response has a 2xx status code
func (*SmartlockAuthResourcePostPostBadRequest) String ¶
func (o *SmartlockAuthResourcePostPostBadRequest) String() string
type SmartlockAuthResourcePostPostConflict ¶
type SmartlockAuthResourcePostPostConflict struct { }
SmartlockAuthResourcePostPostConflict describes a response with status code 409, with default header values.
Parameter conflicts
func NewSmartlockAuthResourcePostPostConflict ¶
func NewSmartlockAuthResourcePostPostConflict() *SmartlockAuthResourcePostPostConflict
NewSmartlockAuthResourcePostPostConflict creates a SmartlockAuthResourcePostPostConflict with default headers values
func (*SmartlockAuthResourcePostPostConflict) Code ¶
func (o *SmartlockAuthResourcePostPostConflict) Code() int
Code gets the status code for the smartlock auth resource post post conflict response
func (*SmartlockAuthResourcePostPostConflict) Error ¶
func (o *SmartlockAuthResourcePostPostConflict) Error() string
func (*SmartlockAuthResourcePostPostConflict) IsClientError ¶
func (o *SmartlockAuthResourcePostPostConflict) IsClientError() bool
IsClientError returns true when this smartlock auth resource post post conflict response has a 4xx status code
func (*SmartlockAuthResourcePostPostConflict) IsCode ¶
func (o *SmartlockAuthResourcePostPostConflict) IsCode(code int) bool
IsCode returns true when this smartlock auth resource post post conflict response a status code equal to that given
func (*SmartlockAuthResourcePostPostConflict) IsRedirect ¶
func (o *SmartlockAuthResourcePostPostConflict) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource post post conflict response has a 3xx status code
func (*SmartlockAuthResourcePostPostConflict) IsServerError ¶
func (o *SmartlockAuthResourcePostPostConflict) IsServerError() bool
IsServerError returns true when this smartlock auth resource post post conflict response has a 5xx status code
func (*SmartlockAuthResourcePostPostConflict) IsSuccess ¶
func (o *SmartlockAuthResourcePostPostConflict) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource post post conflict response has a 2xx status code
func (*SmartlockAuthResourcePostPostConflict) String ¶
func (o *SmartlockAuthResourcePostPostConflict) String() string
type SmartlockAuthResourcePostPostForbidden ¶
type SmartlockAuthResourcePostPostForbidden struct { }
SmartlockAuthResourcePostPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlockAuthResourcePostPostForbidden ¶
func NewSmartlockAuthResourcePostPostForbidden() *SmartlockAuthResourcePostPostForbidden
NewSmartlockAuthResourcePostPostForbidden creates a SmartlockAuthResourcePostPostForbidden with default headers values
func (*SmartlockAuthResourcePostPostForbidden) Code ¶
func (o *SmartlockAuthResourcePostPostForbidden) Code() int
Code gets the status code for the smartlock auth resource post post forbidden response
func (*SmartlockAuthResourcePostPostForbidden) Error ¶
func (o *SmartlockAuthResourcePostPostForbidden) Error() string
func (*SmartlockAuthResourcePostPostForbidden) IsClientError ¶
func (o *SmartlockAuthResourcePostPostForbidden) IsClientError() bool
IsClientError returns true when this smartlock auth resource post post forbidden response has a 4xx status code
func (*SmartlockAuthResourcePostPostForbidden) IsCode ¶
func (o *SmartlockAuthResourcePostPostForbidden) IsCode(code int) bool
IsCode returns true when this smartlock auth resource post post forbidden response a status code equal to that given
func (*SmartlockAuthResourcePostPostForbidden) IsRedirect ¶
func (o *SmartlockAuthResourcePostPostForbidden) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource post post forbidden response has a 3xx status code
func (*SmartlockAuthResourcePostPostForbidden) IsServerError ¶
func (o *SmartlockAuthResourcePostPostForbidden) IsServerError() bool
IsServerError returns true when this smartlock auth resource post post forbidden response has a 5xx status code
func (*SmartlockAuthResourcePostPostForbidden) IsSuccess ¶
func (o *SmartlockAuthResourcePostPostForbidden) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource post post forbidden response has a 2xx status code
func (*SmartlockAuthResourcePostPostForbidden) String ¶
func (o *SmartlockAuthResourcePostPostForbidden) String() string
type SmartlockAuthResourcePostPostLocked ¶
type SmartlockAuthResourcePostPostLocked struct { }
SmartlockAuthResourcePostPostLocked describes a response with status code 423, with default header values.
Locked
func NewSmartlockAuthResourcePostPostLocked ¶
func NewSmartlockAuthResourcePostPostLocked() *SmartlockAuthResourcePostPostLocked
NewSmartlockAuthResourcePostPostLocked creates a SmartlockAuthResourcePostPostLocked with default headers values
func (*SmartlockAuthResourcePostPostLocked) Code ¶
func (o *SmartlockAuthResourcePostPostLocked) Code() int
Code gets the status code for the smartlock auth resource post post locked response
func (*SmartlockAuthResourcePostPostLocked) Error ¶
func (o *SmartlockAuthResourcePostPostLocked) Error() string
func (*SmartlockAuthResourcePostPostLocked) IsClientError ¶
func (o *SmartlockAuthResourcePostPostLocked) IsClientError() bool
IsClientError returns true when this smartlock auth resource post post locked response has a 4xx status code
func (*SmartlockAuthResourcePostPostLocked) IsCode ¶
func (o *SmartlockAuthResourcePostPostLocked) IsCode(code int) bool
IsCode returns true when this smartlock auth resource post post locked response a status code equal to that given
func (*SmartlockAuthResourcePostPostLocked) IsRedirect ¶
func (o *SmartlockAuthResourcePostPostLocked) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource post post locked response has a 3xx status code
func (*SmartlockAuthResourcePostPostLocked) IsServerError ¶
func (o *SmartlockAuthResourcePostPostLocked) IsServerError() bool
IsServerError returns true when this smartlock auth resource post post locked response has a 5xx status code
func (*SmartlockAuthResourcePostPostLocked) IsSuccess ¶
func (o *SmartlockAuthResourcePostPostLocked) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource post post locked response has a 2xx status code
func (*SmartlockAuthResourcePostPostLocked) String ¶
func (o *SmartlockAuthResourcePostPostLocked) String() string
type SmartlockAuthResourcePostPostNoContent ¶
type SmartlockAuthResourcePostPostNoContent struct { }
SmartlockAuthResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockAuthResourcePostPostNoContent ¶
func NewSmartlockAuthResourcePostPostNoContent() *SmartlockAuthResourcePostPostNoContent
NewSmartlockAuthResourcePostPostNoContent creates a SmartlockAuthResourcePostPostNoContent with default headers values
func (*SmartlockAuthResourcePostPostNoContent) Code ¶
func (o *SmartlockAuthResourcePostPostNoContent) Code() int
Code gets the status code for the smartlock auth resource post post no content response
func (*SmartlockAuthResourcePostPostNoContent) Error ¶
func (o *SmartlockAuthResourcePostPostNoContent) Error() string
func (*SmartlockAuthResourcePostPostNoContent) IsClientError ¶
func (o *SmartlockAuthResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlock auth resource post post no content response has a 4xx status code
func (*SmartlockAuthResourcePostPostNoContent) IsCode ¶
func (o *SmartlockAuthResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlock auth resource post post no content response a status code equal to that given
func (*SmartlockAuthResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlockAuthResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource post post no content response has a 3xx status code
func (*SmartlockAuthResourcePostPostNoContent) IsServerError ¶
func (o *SmartlockAuthResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlock auth resource post post no content response has a 5xx status code
func (*SmartlockAuthResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlockAuthResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource post post no content response has a 2xx status code
func (*SmartlockAuthResourcePostPostNoContent) String ¶
func (o *SmartlockAuthResourcePostPostNoContent) String() string
type SmartlockAuthResourcePostPostParams ¶
type SmartlockAuthResourcePostPostParams struct { /* Body. Smartlock authorization update representation */ Body *models.SmartlockAuthUpdate /* ID. The smartlock authorization unique id */ ID string /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockAuthResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlock auth resource post post operation. Typically these are written to a http.Request.
func NewSmartlockAuthResourcePostPostParams ¶
func NewSmartlockAuthResourcePostPostParams() *SmartlockAuthResourcePostPostParams
NewSmartlockAuthResourcePostPostParams creates a new SmartlockAuthResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockAuthResourcePostPostParamsWithContext ¶
func NewSmartlockAuthResourcePostPostParamsWithContext(ctx context.Context) *SmartlockAuthResourcePostPostParams
NewSmartlockAuthResourcePostPostParamsWithContext creates a new SmartlockAuthResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlockAuthResourcePostPostParamsWithHTTPClient ¶
func NewSmartlockAuthResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlockAuthResourcePostPostParams
NewSmartlockAuthResourcePostPostParamsWithHTTPClient creates a new SmartlockAuthResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockAuthResourcePostPostParamsWithTimeout ¶
func NewSmartlockAuthResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlockAuthResourcePostPostParams
NewSmartlockAuthResourcePostPostParamsWithTimeout creates a new SmartlockAuthResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlockAuthResourcePostPostParams) SetBody ¶
func (o *SmartlockAuthResourcePostPostParams) SetBody(body *models.SmartlockAuthUpdate)
SetBody adds the body to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) SetContext ¶
func (o *SmartlockAuthResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) SetDefaults ¶
func (o *SmartlockAuthResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlock auth resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlockAuthResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) SetID ¶
func (o *SmartlockAuthResourcePostPostParams) SetID(id string)
SetID adds the id to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) SetSmartlockID ¶
func (o *SmartlockAuthResourcePostPostParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) SetTimeout ¶
func (o *SmartlockAuthResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) WithBody ¶
func (o *SmartlockAuthResourcePostPostParams) WithBody(body *models.SmartlockAuthUpdate) *SmartlockAuthResourcePostPostParams
WithBody adds the body to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) WithContext ¶
func (o *SmartlockAuthResourcePostPostParams) WithContext(ctx context.Context) *SmartlockAuthResourcePostPostParams
WithContext adds the context to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) WithDefaults ¶
func (o *SmartlockAuthResourcePostPostParams) WithDefaults() *SmartlockAuthResourcePostPostParams
WithDefaults hydrates default values in the smartlock auth resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlockAuthResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlockAuthResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) WithID ¶
func (o *SmartlockAuthResourcePostPostParams) WithID(id string) *SmartlockAuthResourcePostPostParams
WithID adds the id to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) WithSmartlockID ¶
func (o *SmartlockAuthResourcePostPostParams) WithSmartlockID(smartlockID int64) *SmartlockAuthResourcePostPostParams
WithSmartlockID adds the smartlockID to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) WithTimeout ¶
func (o *SmartlockAuthResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlockAuthResourcePostPostParams
WithTimeout adds the timeout to the smartlock auth resource post post params
func (*SmartlockAuthResourcePostPostParams) WriteToRequest ¶
func (o *SmartlockAuthResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockAuthResourcePostPostReader ¶
type SmartlockAuthResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlockAuthResourcePostPostReader is a Reader for the SmartlockAuthResourcePostPost structure.
func (*SmartlockAuthResourcePostPostReader) ReadResponse ¶
func (o *SmartlockAuthResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockAuthResourcePostPostUnauthorized ¶
type SmartlockAuthResourcePostPostUnauthorized struct { }
SmartlockAuthResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockAuthResourcePostPostUnauthorized ¶
func NewSmartlockAuthResourcePostPostUnauthorized() *SmartlockAuthResourcePostPostUnauthorized
NewSmartlockAuthResourcePostPostUnauthorized creates a SmartlockAuthResourcePostPostUnauthorized with default headers values
func (*SmartlockAuthResourcePostPostUnauthorized) Code ¶
func (o *SmartlockAuthResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlock auth resource post post unauthorized response
func (*SmartlockAuthResourcePostPostUnauthorized) Error ¶
func (o *SmartlockAuthResourcePostPostUnauthorized) Error() string
func (*SmartlockAuthResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlockAuthResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock auth resource post post unauthorized response has a 4xx status code
func (*SmartlockAuthResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlockAuthResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock auth resource post post unauthorized response a status code equal to that given
func (*SmartlockAuthResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlockAuthResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock auth resource post post unauthorized response has a 3xx status code
func (*SmartlockAuthResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlockAuthResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock auth resource post post unauthorized response has a 5xx status code
func (*SmartlockAuthResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlockAuthResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock auth resource post post unauthorized response has a 2xx status code
func (*SmartlockAuthResourcePostPostUnauthorized) String ¶
func (o *SmartlockAuthResourcePostPostUnauthorized) String() string
type SmartlockAuthsResourceGetGetForbidden ¶
type SmartlockAuthsResourceGetGetForbidden struct { }
SmartlockAuthsResourceGetGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlockAuthsResourceGetGetForbidden ¶
func NewSmartlockAuthsResourceGetGetForbidden() *SmartlockAuthsResourceGetGetForbidden
NewSmartlockAuthsResourceGetGetForbidden creates a SmartlockAuthsResourceGetGetForbidden with default headers values
func (*SmartlockAuthsResourceGetGetForbidden) Code ¶
func (o *SmartlockAuthsResourceGetGetForbidden) Code() int
Code gets the status code for the smartlock auths resource get get forbidden response
func (*SmartlockAuthsResourceGetGetForbidden) Error ¶
func (o *SmartlockAuthsResourceGetGetForbidden) Error() string
func (*SmartlockAuthsResourceGetGetForbidden) IsClientError ¶
func (o *SmartlockAuthsResourceGetGetForbidden) IsClientError() bool
IsClientError returns true when this smartlock auths resource get get forbidden response has a 4xx status code
func (*SmartlockAuthsResourceGetGetForbidden) IsCode ¶
func (o *SmartlockAuthsResourceGetGetForbidden) IsCode(code int) bool
IsCode returns true when this smartlock auths resource get get forbidden response a status code equal to that given
func (*SmartlockAuthsResourceGetGetForbidden) IsRedirect ¶
func (o *SmartlockAuthsResourceGetGetForbidden) IsRedirect() bool
IsRedirect returns true when this smartlock auths resource get get forbidden response has a 3xx status code
func (*SmartlockAuthsResourceGetGetForbidden) IsServerError ¶
func (o *SmartlockAuthsResourceGetGetForbidden) IsServerError() bool
IsServerError returns true when this smartlock auths resource get get forbidden response has a 5xx status code
func (*SmartlockAuthsResourceGetGetForbidden) IsSuccess ¶
func (o *SmartlockAuthsResourceGetGetForbidden) IsSuccess() bool
IsSuccess returns true when this smartlock auths resource get get forbidden response has a 2xx status code
func (*SmartlockAuthsResourceGetGetForbidden) String ¶
func (o *SmartlockAuthsResourceGetGetForbidden) String() string
type SmartlockAuthsResourceGetGetOK ¶
type SmartlockAuthsResourceGetGetOK struct {
Payload []*models.SmartlockAuth
}
SmartlockAuthsResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewSmartlockAuthsResourceGetGetOK ¶
func NewSmartlockAuthsResourceGetGetOK() *SmartlockAuthsResourceGetGetOK
NewSmartlockAuthsResourceGetGetOK creates a SmartlockAuthsResourceGetGetOK with default headers values
func (*SmartlockAuthsResourceGetGetOK) Code ¶
func (o *SmartlockAuthsResourceGetGetOK) Code() int
Code gets the status code for the smartlock auths resource get get o k response
func (*SmartlockAuthsResourceGetGetOK) Error ¶
func (o *SmartlockAuthsResourceGetGetOK) Error() string
func (*SmartlockAuthsResourceGetGetOK) GetPayload ¶
func (o *SmartlockAuthsResourceGetGetOK) GetPayload() []*models.SmartlockAuth
func (*SmartlockAuthsResourceGetGetOK) IsClientError ¶
func (o *SmartlockAuthsResourceGetGetOK) IsClientError() bool
IsClientError returns true when this smartlock auths resource get get o k response has a 4xx status code
func (*SmartlockAuthsResourceGetGetOK) IsCode ¶
func (o *SmartlockAuthsResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this smartlock auths resource get get o k response a status code equal to that given
func (*SmartlockAuthsResourceGetGetOK) IsRedirect ¶
func (o *SmartlockAuthsResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this smartlock auths resource get get o k response has a 3xx status code
func (*SmartlockAuthsResourceGetGetOK) IsServerError ¶
func (o *SmartlockAuthsResourceGetGetOK) IsServerError() bool
IsServerError returns true when this smartlock auths resource get get o k response has a 5xx status code
func (*SmartlockAuthsResourceGetGetOK) IsSuccess ¶
func (o *SmartlockAuthsResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this smartlock auths resource get get o k response has a 2xx status code
func (*SmartlockAuthsResourceGetGetOK) String ¶
func (o *SmartlockAuthsResourceGetGetOK) String() string
type SmartlockAuthsResourceGetGetParams ¶
type SmartlockAuthsResourceGetGetParams struct { /* SmartlockID. The smartlock id */ SmartlockID int64 /* Types. Filter for smartlock authorization's types (comma-separated eg: 0,2,3) */ Types *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockAuthsResourceGetGetParams contains all the parameters to send to the API endpoint
for the smartlock auths resource get get operation. Typically these are written to a http.Request.
func NewSmartlockAuthsResourceGetGetParams ¶
func NewSmartlockAuthsResourceGetGetParams() *SmartlockAuthsResourceGetGetParams
NewSmartlockAuthsResourceGetGetParams creates a new SmartlockAuthsResourceGetGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockAuthsResourceGetGetParamsWithContext ¶
func NewSmartlockAuthsResourceGetGetParamsWithContext(ctx context.Context) *SmartlockAuthsResourceGetGetParams
NewSmartlockAuthsResourceGetGetParamsWithContext creates a new SmartlockAuthsResourceGetGetParams object with the ability to set a context for a request.
func NewSmartlockAuthsResourceGetGetParamsWithHTTPClient ¶
func NewSmartlockAuthsResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlockAuthsResourceGetGetParams
NewSmartlockAuthsResourceGetGetParamsWithHTTPClient creates a new SmartlockAuthsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockAuthsResourceGetGetParamsWithTimeout ¶
func NewSmartlockAuthsResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlockAuthsResourceGetGetParams
NewSmartlockAuthsResourceGetGetParamsWithTimeout creates a new SmartlockAuthsResourceGetGetParams object with the ability to set a timeout on a request.
func (*SmartlockAuthsResourceGetGetParams) SetContext ¶
func (o *SmartlockAuthsResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) SetDefaults ¶
func (o *SmartlockAuthsResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the smartlock auths resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthsResourceGetGetParams) SetHTTPClient ¶
func (o *SmartlockAuthsResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) SetSmartlockID ¶
func (o *SmartlockAuthsResourceGetGetParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) SetTimeout ¶
func (o *SmartlockAuthsResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) SetTypes ¶
func (o *SmartlockAuthsResourceGetGetParams) SetTypes(types *string)
SetTypes adds the types to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) WithContext ¶
func (o *SmartlockAuthsResourceGetGetParams) WithContext(ctx context.Context) *SmartlockAuthsResourceGetGetParams
WithContext adds the context to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) WithDefaults ¶
func (o *SmartlockAuthsResourceGetGetParams) WithDefaults() *SmartlockAuthsResourceGetGetParams
WithDefaults hydrates default values in the smartlock auths resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthsResourceGetGetParams) WithHTTPClient ¶
func (o *SmartlockAuthsResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlockAuthsResourceGetGetParams
WithHTTPClient adds the HTTPClient to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) WithSmartlockID ¶
func (o *SmartlockAuthsResourceGetGetParams) WithSmartlockID(smartlockID int64) *SmartlockAuthsResourceGetGetParams
WithSmartlockID adds the smartlockID to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) WithTimeout ¶
func (o *SmartlockAuthsResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlockAuthsResourceGetGetParams
WithTimeout adds the timeout to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) WithTypes ¶
func (o *SmartlockAuthsResourceGetGetParams) WithTypes(types *string) *SmartlockAuthsResourceGetGetParams
WithTypes adds the types to the smartlock auths resource get get params
func (*SmartlockAuthsResourceGetGetParams) WriteToRequest ¶
func (o *SmartlockAuthsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockAuthsResourceGetGetReader ¶
type SmartlockAuthsResourceGetGetReader struct {
// contains filtered or unexported fields
}
SmartlockAuthsResourceGetGetReader is a Reader for the SmartlockAuthsResourceGetGet structure.
func (*SmartlockAuthsResourceGetGetReader) ReadResponse ¶
func (o *SmartlockAuthsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockAuthsResourceGetGetUnauthorized ¶
type SmartlockAuthsResourceGetGetUnauthorized struct { }
SmartlockAuthsResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlockAuthsResourceGetGetUnauthorized ¶
func NewSmartlockAuthsResourceGetGetUnauthorized() *SmartlockAuthsResourceGetGetUnauthorized
NewSmartlockAuthsResourceGetGetUnauthorized creates a SmartlockAuthsResourceGetGetUnauthorized with default headers values
func (*SmartlockAuthsResourceGetGetUnauthorized) Code ¶
func (o *SmartlockAuthsResourceGetGetUnauthorized) Code() int
Code gets the status code for the smartlock auths resource get get unauthorized response
func (*SmartlockAuthsResourceGetGetUnauthorized) Error ¶
func (o *SmartlockAuthsResourceGetGetUnauthorized) Error() string
func (*SmartlockAuthsResourceGetGetUnauthorized) IsClientError ¶
func (o *SmartlockAuthsResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this smartlock auths resource get get unauthorized response has a 4xx status code
func (*SmartlockAuthsResourceGetGetUnauthorized) IsCode ¶
func (o *SmartlockAuthsResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlock auths resource get get unauthorized response a status code equal to that given
func (*SmartlockAuthsResourceGetGetUnauthorized) IsRedirect ¶
func (o *SmartlockAuthsResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlock auths resource get get unauthorized response has a 3xx status code
func (*SmartlockAuthsResourceGetGetUnauthorized) IsServerError ¶
func (o *SmartlockAuthsResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this smartlock auths resource get get unauthorized response has a 5xx status code
func (*SmartlockAuthsResourceGetGetUnauthorized) IsSuccess ¶
func (o *SmartlockAuthsResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlock auths resource get get unauthorized response has a 2xx status code
func (*SmartlockAuthsResourceGetGetUnauthorized) String ¶
func (o *SmartlockAuthsResourceGetGetUnauthorized) String() string
type SmartlockAuthsResourcePutPutBadRequest ¶
type SmartlockAuthsResourcePutPutBadRequest struct { }
SmartlockAuthsResourcePutPutBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlockAuthsResourcePutPutBadRequest ¶
func NewSmartlockAuthsResourcePutPutBadRequest() *SmartlockAuthsResourcePutPutBadRequest
NewSmartlockAuthsResourcePutPutBadRequest creates a SmartlockAuthsResourcePutPutBadRequest with default headers values
func (*SmartlockAuthsResourcePutPutBadRequest) Code ¶
func (o *SmartlockAuthsResourcePutPutBadRequest) Code() int
Code gets the status code for the smartlock auths resource put put bad request response
func (*SmartlockAuthsResourcePutPutBadRequest) Error ¶
func (o *SmartlockAuthsResourcePutPutBadRequest) Error() string
func (*SmartlockAuthsResourcePutPutBadRequest) IsClientError ¶
func (o *SmartlockAuthsResourcePutPutBadRequest) IsClientError() bool
IsClientError returns true when this smartlock auths resource put put bad request response has a 4xx status code
func (*SmartlockAuthsResourcePutPutBadRequest) IsCode ¶
func (o *SmartlockAuthsResourcePutPutBadRequest) IsCode(code int) bool
IsCode returns true when this smartlock auths resource put put bad request response a status code equal to that given
func (*SmartlockAuthsResourcePutPutBadRequest) IsRedirect ¶
func (o *SmartlockAuthsResourcePutPutBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlock auths resource put put bad request response has a 3xx status code
func (*SmartlockAuthsResourcePutPutBadRequest) IsServerError ¶
func (o *SmartlockAuthsResourcePutPutBadRequest) IsServerError() bool
IsServerError returns true when this smartlock auths resource put put bad request response has a 5xx status code
func (*SmartlockAuthsResourcePutPutBadRequest) IsSuccess ¶
func (o *SmartlockAuthsResourcePutPutBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlock auths resource put put bad request response has a 2xx status code
func (*SmartlockAuthsResourcePutPutBadRequest) String ¶
func (o *SmartlockAuthsResourcePutPutBadRequest) String() string
type SmartlockAuthsResourcePutPutConflict ¶
type SmartlockAuthsResourcePutPutConflict struct { }
SmartlockAuthsResourcePutPutConflict describes a response with status code 409, with default header values.
Parameter conflicts
func NewSmartlockAuthsResourcePutPutConflict ¶
func NewSmartlockAuthsResourcePutPutConflict() *SmartlockAuthsResourcePutPutConflict
NewSmartlockAuthsResourcePutPutConflict creates a SmartlockAuthsResourcePutPutConflict with default headers values
func (*SmartlockAuthsResourcePutPutConflict) Code ¶
func (o *SmartlockAuthsResourcePutPutConflict) Code() int
Code gets the status code for the smartlock auths resource put put conflict response
func (*SmartlockAuthsResourcePutPutConflict) Error ¶
func (o *SmartlockAuthsResourcePutPutConflict) Error() string
func (*SmartlockAuthsResourcePutPutConflict) IsClientError ¶
func (o *SmartlockAuthsResourcePutPutConflict) IsClientError() bool
IsClientError returns true when this smartlock auths resource put put conflict response has a 4xx status code
func (*SmartlockAuthsResourcePutPutConflict) IsCode ¶
func (o *SmartlockAuthsResourcePutPutConflict) IsCode(code int) bool
IsCode returns true when this smartlock auths resource put put conflict response a status code equal to that given
func (*SmartlockAuthsResourcePutPutConflict) IsRedirect ¶
func (o *SmartlockAuthsResourcePutPutConflict) IsRedirect() bool
IsRedirect returns true when this smartlock auths resource put put conflict response has a 3xx status code
func (*SmartlockAuthsResourcePutPutConflict) IsServerError ¶
func (o *SmartlockAuthsResourcePutPutConflict) IsServerError() bool
IsServerError returns true when this smartlock auths resource put put conflict response has a 5xx status code
func (*SmartlockAuthsResourcePutPutConflict) IsSuccess ¶
func (o *SmartlockAuthsResourcePutPutConflict) IsSuccess() bool
IsSuccess returns true when this smartlock auths resource put put conflict response has a 2xx status code
func (*SmartlockAuthsResourcePutPutConflict) String ¶
func (o *SmartlockAuthsResourcePutPutConflict) String() string
type SmartlockAuthsResourcePutPutNoContent ¶
type SmartlockAuthsResourcePutPutNoContent struct { }
SmartlockAuthsResourcePutPutNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlockAuthsResourcePutPutNoContent ¶
func NewSmartlockAuthsResourcePutPutNoContent() *SmartlockAuthsResourcePutPutNoContent
NewSmartlockAuthsResourcePutPutNoContent creates a SmartlockAuthsResourcePutPutNoContent with default headers values
func (*SmartlockAuthsResourcePutPutNoContent) Code ¶
func (o *SmartlockAuthsResourcePutPutNoContent) Code() int
Code gets the status code for the smartlock auths resource put put no content response
func (*SmartlockAuthsResourcePutPutNoContent) Error ¶
func (o *SmartlockAuthsResourcePutPutNoContent) Error() string
func (*SmartlockAuthsResourcePutPutNoContent) IsClientError ¶
func (o *SmartlockAuthsResourcePutPutNoContent) IsClientError() bool
IsClientError returns true when this smartlock auths resource put put no content response has a 4xx status code
func (*SmartlockAuthsResourcePutPutNoContent) IsCode ¶
func (o *SmartlockAuthsResourcePutPutNoContent) IsCode(code int) bool
IsCode returns true when this smartlock auths resource put put no content response a status code equal to that given
func (*SmartlockAuthsResourcePutPutNoContent) IsRedirect ¶
func (o *SmartlockAuthsResourcePutPutNoContent) IsRedirect() bool
IsRedirect returns true when this smartlock auths resource put put no content response has a 3xx status code
func (*SmartlockAuthsResourcePutPutNoContent) IsServerError ¶
func (o *SmartlockAuthsResourcePutPutNoContent) IsServerError() bool
IsServerError returns true when this smartlock auths resource put put no content response has a 5xx status code
func (*SmartlockAuthsResourcePutPutNoContent) IsSuccess ¶
func (o *SmartlockAuthsResourcePutPutNoContent) IsSuccess() bool
IsSuccess returns true when this smartlock auths resource put put no content response has a 2xx status code
func (*SmartlockAuthsResourcePutPutNoContent) String ¶
func (o *SmartlockAuthsResourcePutPutNoContent) String() string
type SmartlockAuthsResourcePutPutParams ¶
type SmartlockAuthsResourcePutPutParams struct { /* Body. Smartlock authorization create representation */ Body *models.SmartlockAuthCreate /* SmartlockID. The smartlock id */ SmartlockID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlockAuthsResourcePutPutParams contains all the parameters to send to the API endpoint
for the smartlock auths resource put put operation. Typically these are written to a http.Request.
func NewSmartlockAuthsResourcePutPutParams ¶
func NewSmartlockAuthsResourcePutPutParams() *SmartlockAuthsResourcePutPutParams
NewSmartlockAuthsResourcePutPutParams creates a new SmartlockAuthsResourcePutPutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlockAuthsResourcePutPutParamsWithContext ¶
func NewSmartlockAuthsResourcePutPutParamsWithContext(ctx context.Context) *SmartlockAuthsResourcePutPutParams
NewSmartlockAuthsResourcePutPutParamsWithContext creates a new SmartlockAuthsResourcePutPutParams object with the ability to set a context for a request.
func NewSmartlockAuthsResourcePutPutParamsWithHTTPClient ¶
func NewSmartlockAuthsResourcePutPutParamsWithHTTPClient(client *http.Client) *SmartlockAuthsResourcePutPutParams
NewSmartlockAuthsResourcePutPutParamsWithHTTPClient creates a new SmartlockAuthsResourcePutPutParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlockAuthsResourcePutPutParamsWithTimeout ¶
func NewSmartlockAuthsResourcePutPutParamsWithTimeout(timeout time.Duration) *SmartlockAuthsResourcePutPutParams
NewSmartlockAuthsResourcePutPutParamsWithTimeout creates a new SmartlockAuthsResourcePutPutParams object with the ability to set a timeout on a request.
func (*SmartlockAuthsResourcePutPutParams) SetBody ¶
func (o *SmartlockAuthsResourcePutPutParams) SetBody(body *models.SmartlockAuthCreate)
SetBody adds the body to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) SetContext ¶
func (o *SmartlockAuthsResourcePutPutParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) SetDefaults ¶
func (o *SmartlockAuthsResourcePutPutParams) SetDefaults()
SetDefaults hydrates default values in the smartlock auths resource put put params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthsResourcePutPutParams) SetHTTPClient ¶
func (o *SmartlockAuthsResourcePutPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) SetSmartlockID ¶
func (o *SmartlockAuthsResourcePutPutParams) SetSmartlockID(smartlockID int64)
SetSmartlockID adds the smartlockId to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) SetTimeout ¶
func (o *SmartlockAuthsResourcePutPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) WithBody ¶
func (o *SmartlockAuthsResourcePutPutParams) WithBody(body *models.SmartlockAuthCreate) *SmartlockAuthsResourcePutPutParams
WithBody adds the body to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) WithContext ¶
func (o *SmartlockAuthsResourcePutPutParams) WithContext(ctx context.Context) *SmartlockAuthsResourcePutPutParams
WithContext adds the context to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) WithDefaults ¶
func (o *SmartlockAuthsResourcePutPutParams) WithDefaults() *SmartlockAuthsResourcePutPutParams
WithDefaults hydrates default values in the smartlock auths resource put put params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlockAuthsResourcePutPutParams) WithHTTPClient ¶
func (o *SmartlockAuthsResourcePutPutParams) WithHTTPClient(client *http.Client) *SmartlockAuthsResourcePutPutParams
WithHTTPClient adds the HTTPClient to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) WithSmartlockID ¶
func (o *SmartlockAuthsResourcePutPutParams) WithSmartlockID(smartlockID int64) *SmartlockAuthsResourcePutPutParams
WithSmartlockID adds the smartlockID to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) WithTimeout ¶
func (o *SmartlockAuthsResourcePutPutParams) WithTimeout(timeout time.Duration) *SmartlockAuthsResourcePutPutParams
WithTimeout adds the timeout to the smartlock auths resource put put params
func (*SmartlockAuthsResourcePutPutParams) WriteToRequest ¶
func (o *SmartlockAuthsResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlockAuthsResourcePutPutPaymentRequired ¶
type SmartlockAuthsResourcePutPutPaymentRequired struct { }
SmartlockAuthsResourcePutPutPaymentRequired describes a response with status code 402, with default header values.
Account not payed
func NewSmartlockAuthsResourcePutPutPaymentRequired ¶
func NewSmartlockAuthsResourcePutPutPaymentRequired() *SmartlockAuthsResourcePutPutPaymentRequired
NewSmartlockAuthsResourcePutPutPaymentRequired creates a SmartlockAuthsResourcePutPutPaymentRequired with default headers values
func (*SmartlockAuthsResourcePutPutPaymentRequired) Code ¶
func (o *SmartlockAuthsResourcePutPutPaymentRequired) Code() int
Code gets the status code for the smartlock auths resource put put payment required response
func (*SmartlockAuthsResourcePutPutPaymentRequired) Error ¶
func (o *SmartlockAuthsResourcePutPutPaymentRequired) Error() string
func (*SmartlockAuthsResourcePutPutPaymentRequired) IsClientError ¶
func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsClientError() bool
IsClientError returns true when this smartlock auths resource put put payment required response has a 4xx status code
func (*SmartlockAuthsResourcePutPutPaymentRequired) IsCode ¶
func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsCode(code int) bool
IsCode returns true when this smartlock auths resource put put payment required response a status code equal to that given
func (*SmartlockAuthsResourcePutPutPaymentRequired) IsRedirect ¶
func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsRedirect() bool
IsRedirect returns true when this smartlock auths resource put put payment required response has a 3xx status code
func (*SmartlockAuthsResourcePutPutPaymentRequired) IsServerError ¶
func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsServerError() bool
IsServerError returns true when this smartlock auths resource put put payment required response has a 5xx status code
func (*SmartlockAuthsResourcePutPutPaymentRequired) IsSuccess ¶
func (o *SmartlockAuthsResourcePutPutPaymentRequired) IsSuccess() bool
IsSuccess returns true when this smartlock auths resource put put payment required response has a 2xx status code
func (*SmartlockAuthsResourcePutPutPaymentRequired) String ¶
func (o *SmartlockAuthsResourcePutPutPaymentRequired) String() string
type SmartlockAuthsResourcePutPutReader ¶
type SmartlockAuthsResourcePutPutReader struct {
// contains filtered or unexported fields
}
SmartlockAuthsResourcePutPutReader is a Reader for the SmartlockAuthsResourcePutPut structure.
func (*SmartlockAuthsResourcePutPutReader) ReadResponse ¶
func (o *SmartlockAuthsResourcePutPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlockAuthsResourcePutPutUpgradeRequired ¶
type SmartlockAuthsResourcePutPutUpgradeRequired struct { }
SmartlockAuthsResourcePutPutUpgradeRequired describes a response with status code 426, with default header values.
Account upgrade required
func NewSmartlockAuthsResourcePutPutUpgradeRequired ¶
func NewSmartlockAuthsResourcePutPutUpgradeRequired() *SmartlockAuthsResourcePutPutUpgradeRequired
NewSmartlockAuthsResourcePutPutUpgradeRequired creates a SmartlockAuthsResourcePutPutUpgradeRequired with default headers values
func (*SmartlockAuthsResourcePutPutUpgradeRequired) Code ¶
func (o *SmartlockAuthsResourcePutPutUpgradeRequired) Code() int
Code gets the status code for the smartlock auths resource put put upgrade required response
func (*SmartlockAuthsResourcePutPutUpgradeRequired) Error ¶
func (o *SmartlockAuthsResourcePutPutUpgradeRequired) Error() string
func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsClientError ¶
func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsClientError() bool
IsClientError returns true when this smartlock auths resource put put upgrade required response has a 4xx status code
func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsCode ¶
func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsCode(code int) bool
IsCode returns true when this smartlock auths resource put put upgrade required response a status code equal to that given
func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsRedirect ¶
func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsRedirect() bool
IsRedirect returns true when this smartlock auths resource put put upgrade required response has a 3xx status code
func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsServerError ¶
func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsServerError() bool
IsServerError returns true when this smartlock auths resource put put upgrade required response has a 5xx status code
func (*SmartlockAuthsResourcePutPutUpgradeRequired) IsSuccess ¶
func (o *SmartlockAuthsResourcePutPutUpgradeRequired) IsSuccess() bool
IsSuccess returns true when this smartlock auths resource put put upgrade required response has a 2xx status code
func (*SmartlockAuthsResourcePutPutUpgradeRequired) String ¶
func (o *SmartlockAuthsResourcePutPutUpgradeRequired) String() string
type SmartlocksAuthsResourceDeleteDeleteBadRequest ¶
type SmartlocksAuthsResourceDeleteDeleteBadRequest struct { }
SmartlocksAuthsResourceDeleteDeleteBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlocksAuthsResourceDeleteDeleteBadRequest ¶
func NewSmartlocksAuthsResourceDeleteDeleteBadRequest() *SmartlocksAuthsResourceDeleteDeleteBadRequest
NewSmartlocksAuthsResourceDeleteDeleteBadRequest creates a SmartlocksAuthsResourceDeleteDeleteBadRequest with default headers values
func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) Code ¶
func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) Code() int
Code gets the status code for the smartlocks auths resource delete delete bad request response
func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) Error ¶
func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) Error() string
func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsClientError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsClientError() bool
IsClientError returns true when this smartlocks auths resource delete delete bad request response has a 4xx status code
func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsCode ¶
func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource delete delete bad request response a status code equal to that given
func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsRedirect ¶
func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource delete delete bad request response has a 3xx status code
func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsServerError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsServerError() bool
IsServerError returns true when this smartlocks auths resource delete delete bad request response has a 5xx status code
func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) IsSuccess ¶
func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource delete delete bad request response has a 2xx status code
func (*SmartlocksAuthsResourceDeleteDeleteBadRequest) String ¶
func (o *SmartlocksAuthsResourceDeleteDeleteBadRequest) String() string
type SmartlocksAuthsResourceDeleteDeleteForbidden ¶
type SmartlocksAuthsResourceDeleteDeleteForbidden struct { }
SmartlocksAuthsResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlocksAuthsResourceDeleteDeleteForbidden ¶
func NewSmartlocksAuthsResourceDeleteDeleteForbidden() *SmartlocksAuthsResourceDeleteDeleteForbidden
NewSmartlocksAuthsResourceDeleteDeleteForbidden creates a SmartlocksAuthsResourceDeleteDeleteForbidden with default headers values
func (*SmartlocksAuthsResourceDeleteDeleteForbidden) Code ¶
func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) Code() int
Code gets the status code for the smartlocks auths resource delete delete forbidden response
func (*SmartlocksAuthsResourceDeleteDeleteForbidden) Error ¶
func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) Error() string
func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsClientError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsClientError() bool
IsClientError returns true when this smartlocks auths resource delete delete forbidden response has a 4xx status code
func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsCode ¶
func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource delete delete forbidden response a status code equal to that given
func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsRedirect ¶
func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource delete delete forbidden response has a 3xx status code
func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsServerError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsServerError() bool
IsServerError returns true when this smartlocks auths resource delete delete forbidden response has a 5xx status code
func (*SmartlocksAuthsResourceDeleteDeleteForbidden) IsSuccess ¶
func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource delete delete forbidden response has a 2xx status code
func (*SmartlocksAuthsResourceDeleteDeleteForbidden) String ¶
func (o *SmartlocksAuthsResourceDeleteDeleteForbidden) String() string
type SmartlocksAuthsResourceDeleteDeleteLocked ¶
type SmartlocksAuthsResourceDeleteDeleteLocked struct { }
SmartlocksAuthsResourceDeleteDeleteLocked describes a response with status code 423, with default header values.
Locked
func NewSmartlocksAuthsResourceDeleteDeleteLocked ¶
func NewSmartlocksAuthsResourceDeleteDeleteLocked() *SmartlocksAuthsResourceDeleteDeleteLocked
NewSmartlocksAuthsResourceDeleteDeleteLocked creates a SmartlocksAuthsResourceDeleteDeleteLocked with default headers values
func (*SmartlocksAuthsResourceDeleteDeleteLocked) Code ¶
func (o *SmartlocksAuthsResourceDeleteDeleteLocked) Code() int
Code gets the status code for the smartlocks auths resource delete delete locked response
func (*SmartlocksAuthsResourceDeleteDeleteLocked) Error ¶
func (o *SmartlocksAuthsResourceDeleteDeleteLocked) Error() string
func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsClientError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsClientError() bool
IsClientError returns true when this smartlocks auths resource delete delete locked response has a 4xx status code
func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsCode ¶
func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource delete delete locked response a status code equal to that given
func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsRedirect ¶
func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource delete delete locked response has a 3xx status code
func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsServerError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsServerError() bool
IsServerError returns true when this smartlocks auths resource delete delete locked response has a 5xx status code
func (*SmartlocksAuthsResourceDeleteDeleteLocked) IsSuccess ¶
func (o *SmartlocksAuthsResourceDeleteDeleteLocked) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource delete delete locked response has a 2xx status code
func (*SmartlocksAuthsResourceDeleteDeleteLocked) String ¶
func (o *SmartlocksAuthsResourceDeleteDeleteLocked) String() string
type SmartlocksAuthsResourceDeleteDeleteNoContent ¶
type SmartlocksAuthsResourceDeleteDeleteNoContent struct { }
SmartlocksAuthsResourceDeleteDeleteNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlocksAuthsResourceDeleteDeleteNoContent ¶
func NewSmartlocksAuthsResourceDeleteDeleteNoContent() *SmartlocksAuthsResourceDeleteDeleteNoContent
NewSmartlocksAuthsResourceDeleteDeleteNoContent creates a SmartlocksAuthsResourceDeleteDeleteNoContent with default headers values
func (*SmartlocksAuthsResourceDeleteDeleteNoContent) Code ¶
func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) Code() int
Code gets the status code for the smartlocks auths resource delete delete no content response
func (*SmartlocksAuthsResourceDeleteDeleteNoContent) Error ¶
func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) Error() string
func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsClientError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsClientError() bool
IsClientError returns true when this smartlocks auths resource delete delete no content response has a 4xx status code
func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsCode ¶
func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource delete delete no content response a status code equal to that given
func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsRedirect ¶
func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource delete delete no content response has a 3xx status code
func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsServerError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsServerError() bool
IsServerError returns true when this smartlocks auths resource delete delete no content response has a 5xx status code
func (*SmartlocksAuthsResourceDeleteDeleteNoContent) IsSuccess ¶
func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource delete delete no content response has a 2xx status code
func (*SmartlocksAuthsResourceDeleteDeleteNoContent) String ¶
func (o *SmartlocksAuthsResourceDeleteDeleteNoContent) String() string
type SmartlocksAuthsResourceDeleteDeleteParams ¶
type SmartlocksAuthsResourceDeleteDeleteParams struct { /* Body. Smartlock authorization IDs to delete */ Body []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlocksAuthsResourceDeleteDeleteParams contains all the parameters to send to the API endpoint
for the smartlocks auths resource delete delete operation. Typically these are written to a http.Request.
func NewSmartlocksAuthsResourceDeleteDeleteParams ¶
func NewSmartlocksAuthsResourceDeleteDeleteParams() *SmartlocksAuthsResourceDeleteDeleteParams
NewSmartlocksAuthsResourceDeleteDeleteParams creates a new SmartlocksAuthsResourceDeleteDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlocksAuthsResourceDeleteDeleteParamsWithContext ¶
func NewSmartlocksAuthsResourceDeleteDeleteParamsWithContext(ctx context.Context) *SmartlocksAuthsResourceDeleteDeleteParams
NewSmartlocksAuthsResourceDeleteDeleteParamsWithContext creates a new SmartlocksAuthsResourceDeleteDeleteParams object with the ability to set a context for a request.
func NewSmartlocksAuthsResourceDeleteDeleteParamsWithHTTPClient ¶
func NewSmartlocksAuthsResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourceDeleteDeleteParams
NewSmartlocksAuthsResourceDeleteDeleteParamsWithHTTPClient creates a new SmartlocksAuthsResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlocksAuthsResourceDeleteDeleteParamsWithTimeout ¶
func NewSmartlocksAuthsResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourceDeleteDeleteParams
NewSmartlocksAuthsResourceDeleteDeleteParamsWithTimeout creates a new SmartlocksAuthsResourceDeleteDeleteParams object with the ability to set a timeout on a request.
func (*SmartlocksAuthsResourceDeleteDeleteParams) SetBody ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetBody(body []string)
SetBody adds the body to the smartlocks auths resource delete delete params
func (*SmartlocksAuthsResourceDeleteDeleteParams) SetContext ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlocks auths resource delete delete params
func (*SmartlocksAuthsResourceDeleteDeleteParams) SetDefaults ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetDefaults()
SetDefaults hydrates default values in the smartlocks auths resource delete delete params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksAuthsResourceDeleteDeleteParams) SetHTTPClient ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlocks auths resource delete delete params
func (*SmartlocksAuthsResourceDeleteDeleteParams) SetTimeout ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlocks auths resource delete delete params
func (*SmartlocksAuthsResourceDeleteDeleteParams) WithBody ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithBody(body []string) *SmartlocksAuthsResourceDeleteDeleteParams
WithBody adds the body to the smartlocks auths resource delete delete params
func (*SmartlocksAuthsResourceDeleteDeleteParams) WithContext ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithContext(ctx context.Context) *SmartlocksAuthsResourceDeleteDeleteParams
WithContext adds the context to the smartlocks auths resource delete delete params
func (*SmartlocksAuthsResourceDeleteDeleteParams) WithDefaults ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithDefaults() *SmartlocksAuthsResourceDeleteDeleteParams
WithDefaults hydrates default values in the smartlocks auths resource delete delete params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksAuthsResourceDeleteDeleteParams) WithHTTPClient ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *SmartlocksAuthsResourceDeleteDeleteParams
WithHTTPClient adds the HTTPClient to the smartlocks auths resource delete delete params
func (*SmartlocksAuthsResourceDeleteDeleteParams) WithTimeout ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *SmartlocksAuthsResourceDeleteDeleteParams
WithTimeout adds the timeout to the smartlocks auths resource delete delete params
func (*SmartlocksAuthsResourceDeleteDeleteParams) WriteToRequest ¶
func (o *SmartlocksAuthsResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlocksAuthsResourceDeleteDeleteReader ¶
type SmartlocksAuthsResourceDeleteDeleteReader struct {
// contains filtered or unexported fields
}
SmartlocksAuthsResourceDeleteDeleteReader is a Reader for the SmartlocksAuthsResourceDeleteDelete structure.
func (*SmartlocksAuthsResourceDeleteDeleteReader) ReadResponse ¶
func (o *SmartlocksAuthsResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlocksAuthsResourceDeleteDeleteUnauthorized ¶
type SmartlocksAuthsResourceDeleteDeleteUnauthorized struct { }
SmartlocksAuthsResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlocksAuthsResourceDeleteDeleteUnauthorized ¶
func NewSmartlocksAuthsResourceDeleteDeleteUnauthorized() *SmartlocksAuthsResourceDeleteDeleteUnauthorized
NewSmartlocksAuthsResourceDeleteDeleteUnauthorized creates a SmartlocksAuthsResourceDeleteDeleteUnauthorized with default headers values
func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) Code ¶
func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) Code() int
Code gets the status code for the smartlocks auths resource delete delete unauthorized response
func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) Error ¶
func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) Error() string
func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsClientError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this smartlocks auths resource delete delete unauthorized response has a 4xx status code
func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsCode ¶
func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource delete delete unauthorized response a status code equal to that given
func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsRedirect ¶
func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource delete delete unauthorized response has a 3xx status code
func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsServerError ¶
func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this smartlocks auths resource delete delete unauthorized response has a 5xx status code
func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsSuccess ¶
func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource delete delete unauthorized response has a 2xx status code
func (*SmartlocksAuthsResourceDeleteDeleteUnauthorized) String ¶
func (o *SmartlocksAuthsResourceDeleteDeleteUnauthorized) String() string
type SmartlocksAuthsResourceGetGetOK ¶
type SmartlocksAuthsResourceGetGetOK struct {
Payload []*models.SmartlockAuth
}
SmartlocksAuthsResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewSmartlocksAuthsResourceGetGetOK ¶
func NewSmartlocksAuthsResourceGetGetOK() *SmartlocksAuthsResourceGetGetOK
NewSmartlocksAuthsResourceGetGetOK creates a SmartlocksAuthsResourceGetGetOK with default headers values
func (*SmartlocksAuthsResourceGetGetOK) Code ¶
func (o *SmartlocksAuthsResourceGetGetOK) Code() int
Code gets the status code for the smartlocks auths resource get get o k response
func (*SmartlocksAuthsResourceGetGetOK) Error ¶
func (o *SmartlocksAuthsResourceGetGetOK) Error() string
func (*SmartlocksAuthsResourceGetGetOK) GetPayload ¶
func (o *SmartlocksAuthsResourceGetGetOK) GetPayload() []*models.SmartlockAuth
func (*SmartlocksAuthsResourceGetGetOK) IsClientError ¶
func (o *SmartlocksAuthsResourceGetGetOK) IsClientError() bool
IsClientError returns true when this smartlocks auths resource get get o k response has a 4xx status code
func (*SmartlocksAuthsResourceGetGetOK) IsCode ¶
func (o *SmartlocksAuthsResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource get get o k response a status code equal to that given
func (*SmartlocksAuthsResourceGetGetOK) IsRedirect ¶
func (o *SmartlocksAuthsResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource get get o k response has a 3xx status code
func (*SmartlocksAuthsResourceGetGetOK) IsServerError ¶
func (o *SmartlocksAuthsResourceGetGetOK) IsServerError() bool
IsServerError returns true when this smartlocks auths resource get get o k response has a 5xx status code
func (*SmartlocksAuthsResourceGetGetOK) IsSuccess ¶
func (o *SmartlocksAuthsResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource get get o k response has a 2xx status code
func (*SmartlocksAuthsResourceGetGetOK) String ¶
func (o *SmartlocksAuthsResourceGetGetOK) String() string
type SmartlocksAuthsResourceGetGetParams ¶
type SmartlocksAuthsResourceGetGetParams struct { /* AccountUserID. Filter for account users: set to a positive number will filter for authorizations with this specific accountUserId, set to a negative number will filter without set accountUserId */ AccountUserID *int64 /* Types. Filter for authorization's types (comma-separated eg: 0,2,3) */ Types *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlocksAuthsResourceGetGetParams contains all the parameters to send to the API endpoint
for the smartlocks auths resource get get operation. Typically these are written to a http.Request.
func NewSmartlocksAuthsResourceGetGetParams ¶
func NewSmartlocksAuthsResourceGetGetParams() *SmartlocksAuthsResourceGetGetParams
NewSmartlocksAuthsResourceGetGetParams creates a new SmartlocksAuthsResourceGetGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlocksAuthsResourceGetGetParamsWithContext ¶
func NewSmartlocksAuthsResourceGetGetParamsWithContext(ctx context.Context) *SmartlocksAuthsResourceGetGetParams
NewSmartlocksAuthsResourceGetGetParamsWithContext creates a new SmartlocksAuthsResourceGetGetParams object with the ability to set a context for a request.
func NewSmartlocksAuthsResourceGetGetParamsWithHTTPClient ¶
func NewSmartlocksAuthsResourceGetGetParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourceGetGetParams
NewSmartlocksAuthsResourceGetGetParamsWithHTTPClient creates a new SmartlocksAuthsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlocksAuthsResourceGetGetParamsWithTimeout ¶
func NewSmartlocksAuthsResourceGetGetParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourceGetGetParams
NewSmartlocksAuthsResourceGetGetParamsWithTimeout creates a new SmartlocksAuthsResourceGetGetParams object with the ability to set a timeout on a request.
func (*SmartlocksAuthsResourceGetGetParams) SetAccountUserID ¶
func (o *SmartlocksAuthsResourceGetGetParams) SetAccountUserID(accountUserID *int64)
SetAccountUserID adds the accountUserId to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) SetContext ¶
func (o *SmartlocksAuthsResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) SetDefaults ¶
func (o *SmartlocksAuthsResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the smartlocks auths resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksAuthsResourceGetGetParams) SetHTTPClient ¶
func (o *SmartlocksAuthsResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) SetTimeout ¶
func (o *SmartlocksAuthsResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) SetTypes ¶
func (o *SmartlocksAuthsResourceGetGetParams) SetTypes(types *string)
SetTypes adds the types to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) WithAccountUserID ¶
func (o *SmartlocksAuthsResourceGetGetParams) WithAccountUserID(accountUserID *int64) *SmartlocksAuthsResourceGetGetParams
WithAccountUserID adds the accountUserID to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) WithContext ¶
func (o *SmartlocksAuthsResourceGetGetParams) WithContext(ctx context.Context) *SmartlocksAuthsResourceGetGetParams
WithContext adds the context to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) WithDefaults ¶
func (o *SmartlocksAuthsResourceGetGetParams) WithDefaults() *SmartlocksAuthsResourceGetGetParams
WithDefaults hydrates default values in the smartlocks auths resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksAuthsResourceGetGetParams) WithHTTPClient ¶
func (o *SmartlocksAuthsResourceGetGetParams) WithHTTPClient(client *http.Client) *SmartlocksAuthsResourceGetGetParams
WithHTTPClient adds the HTTPClient to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) WithTimeout ¶
func (o *SmartlocksAuthsResourceGetGetParams) WithTimeout(timeout time.Duration) *SmartlocksAuthsResourceGetGetParams
WithTimeout adds the timeout to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) WithTypes ¶
func (o *SmartlocksAuthsResourceGetGetParams) WithTypes(types *string) *SmartlocksAuthsResourceGetGetParams
WithTypes adds the types to the smartlocks auths resource get get params
func (*SmartlocksAuthsResourceGetGetParams) WriteToRequest ¶
func (o *SmartlocksAuthsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlocksAuthsResourceGetGetReader ¶
type SmartlocksAuthsResourceGetGetReader struct {
// contains filtered or unexported fields
}
SmartlocksAuthsResourceGetGetReader is a Reader for the SmartlocksAuthsResourceGetGet structure.
func (*SmartlocksAuthsResourceGetGetReader) ReadResponse ¶
func (o *SmartlocksAuthsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlocksAuthsResourceGetGetUnauthorized ¶
type SmartlocksAuthsResourceGetGetUnauthorized struct { }
SmartlocksAuthsResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlocksAuthsResourceGetGetUnauthorized ¶
func NewSmartlocksAuthsResourceGetGetUnauthorized() *SmartlocksAuthsResourceGetGetUnauthorized
NewSmartlocksAuthsResourceGetGetUnauthorized creates a SmartlocksAuthsResourceGetGetUnauthorized with default headers values
func (*SmartlocksAuthsResourceGetGetUnauthorized) Code ¶
func (o *SmartlocksAuthsResourceGetGetUnauthorized) Code() int
Code gets the status code for the smartlocks auths resource get get unauthorized response
func (*SmartlocksAuthsResourceGetGetUnauthorized) Error ¶
func (o *SmartlocksAuthsResourceGetGetUnauthorized) Error() string
func (*SmartlocksAuthsResourceGetGetUnauthorized) IsClientError ¶
func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this smartlocks auths resource get get unauthorized response has a 4xx status code
func (*SmartlocksAuthsResourceGetGetUnauthorized) IsCode ¶
func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource get get unauthorized response a status code equal to that given
func (*SmartlocksAuthsResourceGetGetUnauthorized) IsRedirect ¶
func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource get get unauthorized response has a 3xx status code
func (*SmartlocksAuthsResourceGetGetUnauthorized) IsServerError ¶
func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this smartlocks auths resource get get unauthorized response has a 5xx status code
func (*SmartlocksAuthsResourceGetGetUnauthorized) IsSuccess ¶
func (o *SmartlocksAuthsResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource get get unauthorized response has a 2xx status code
func (*SmartlocksAuthsResourceGetGetUnauthorized) String ¶
func (o *SmartlocksAuthsResourceGetGetUnauthorized) String() string
type SmartlocksAuthsResourcePostPostBadRequest ¶
type SmartlocksAuthsResourcePostPostBadRequest struct { }
SmartlocksAuthsResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlocksAuthsResourcePostPostBadRequest ¶
func NewSmartlocksAuthsResourcePostPostBadRequest() *SmartlocksAuthsResourcePostPostBadRequest
NewSmartlocksAuthsResourcePostPostBadRequest creates a SmartlocksAuthsResourcePostPostBadRequest with default headers values
func (*SmartlocksAuthsResourcePostPostBadRequest) Code ¶
func (o *SmartlocksAuthsResourcePostPostBadRequest) Code() int
Code gets the status code for the smartlocks auths resource post post bad request response
func (*SmartlocksAuthsResourcePostPostBadRequest) Error ¶
func (o *SmartlocksAuthsResourcePostPostBadRequest) Error() string
func (*SmartlocksAuthsResourcePostPostBadRequest) IsClientError ¶
func (o *SmartlocksAuthsResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this smartlocks auths resource post post bad request response has a 4xx status code
func (*SmartlocksAuthsResourcePostPostBadRequest) IsCode ¶
func (o *SmartlocksAuthsResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource post post bad request response a status code equal to that given
func (*SmartlocksAuthsResourcePostPostBadRequest) IsRedirect ¶
func (o *SmartlocksAuthsResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource post post bad request response has a 3xx status code
func (*SmartlocksAuthsResourcePostPostBadRequest) IsServerError ¶
func (o *SmartlocksAuthsResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this smartlocks auths resource post post bad request response has a 5xx status code
func (*SmartlocksAuthsResourcePostPostBadRequest) IsSuccess ¶
func (o *SmartlocksAuthsResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource post post bad request response has a 2xx status code
func (*SmartlocksAuthsResourcePostPostBadRequest) String ¶
func (o *SmartlocksAuthsResourcePostPostBadRequest) String() string
type SmartlocksAuthsResourcePostPostConflict ¶
type SmartlocksAuthsResourcePostPostConflict struct { }
SmartlocksAuthsResourcePostPostConflict describes a response with status code 409, with default header values.
Parameter conflicts
func NewSmartlocksAuthsResourcePostPostConflict ¶
func NewSmartlocksAuthsResourcePostPostConflict() *SmartlocksAuthsResourcePostPostConflict
NewSmartlocksAuthsResourcePostPostConflict creates a SmartlocksAuthsResourcePostPostConflict with default headers values
func (*SmartlocksAuthsResourcePostPostConflict) Code ¶
func (o *SmartlocksAuthsResourcePostPostConflict) Code() int
Code gets the status code for the smartlocks auths resource post post conflict response
func (*SmartlocksAuthsResourcePostPostConflict) Error ¶
func (o *SmartlocksAuthsResourcePostPostConflict) Error() string
func (*SmartlocksAuthsResourcePostPostConflict) IsClientError ¶
func (o *SmartlocksAuthsResourcePostPostConflict) IsClientError() bool
IsClientError returns true when this smartlocks auths resource post post conflict response has a 4xx status code
func (*SmartlocksAuthsResourcePostPostConflict) IsCode ¶
func (o *SmartlocksAuthsResourcePostPostConflict) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource post post conflict response a status code equal to that given
func (*SmartlocksAuthsResourcePostPostConflict) IsRedirect ¶
func (o *SmartlocksAuthsResourcePostPostConflict) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource post post conflict response has a 3xx status code
func (*SmartlocksAuthsResourcePostPostConflict) IsServerError ¶
func (o *SmartlocksAuthsResourcePostPostConflict) IsServerError() bool
IsServerError returns true when this smartlocks auths resource post post conflict response has a 5xx status code
func (*SmartlocksAuthsResourcePostPostConflict) IsSuccess ¶
func (o *SmartlocksAuthsResourcePostPostConflict) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource post post conflict response has a 2xx status code
func (*SmartlocksAuthsResourcePostPostConflict) String ¶
func (o *SmartlocksAuthsResourcePostPostConflict) String() string
type SmartlocksAuthsResourcePostPostForbidden ¶
type SmartlocksAuthsResourcePostPostForbidden struct { }
SmartlocksAuthsResourcePostPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSmartlocksAuthsResourcePostPostForbidden ¶
func NewSmartlocksAuthsResourcePostPostForbidden() *SmartlocksAuthsResourcePostPostForbidden
NewSmartlocksAuthsResourcePostPostForbidden creates a SmartlocksAuthsResourcePostPostForbidden with default headers values
func (*SmartlocksAuthsResourcePostPostForbidden) Code ¶
func (o *SmartlocksAuthsResourcePostPostForbidden) Code() int
Code gets the status code for the smartlocks auths resource post post forbidden response
func (*SmartlocksAuthsResourcePostPostForbidden) Error ¶
func (o *SmartlocksAuthsResourcePostPostForbidden) Error() string
func (*SmartlocksAuthsResourcePostPostForbidden) IsClientError ¶
func (o *SmartlocksAuthsResourcePostPostForbidden) IsClientError() bool
IsClientError returns true when this smartlocks auths resource post post forbidden response has a 4xx status code
func (*SmartlocksAuthsResourcePostPostForbidden) IsCode ¶
func (o *SmartlocksAuthsResourcePostPostForbidden) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource post post forbidden response a status code equal to that given
func (*SmartlocksAuthsResourcePostPostForbidden) IsRedirect ¶
func (o *SmartlocksAuthsResourcePostPostForbidden) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource post post forbidden response has a 3xx status code
func (*SmartlocksAuthsResourcePostPostForbidden) IsServerError ¶
func (o *SmartlocksAuthsResourcePostPostForbidden) IsServerError() bool
IsServerError returns true when this smartlocks auths resource post post forbidden response has a 5xx status code
func (*SmartlocksAuthsResourcePostPostForbidden) IsSuccess ¶
func (o *SmartlocksAuthsResourcePostPostForbidden) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource post post forbidden response has a 2xx status code
func (*SmartlocksAuthsResourcePostPostForbidden) String ¶
func (o *SmartlocksAuthsResourcePostPostForbidden) String() string
type SmartlocksAuthsResourcePostPostLocked ¶
type SmartlocksAuthsResourcePostPostLocked struct { }
SmartlocksAuthsResourcePostPostLocked describes a response with status code 423, with default header values.
Locked
func NewSmartlocksAuthsResourcePostPostLocked ¶
func NewSmartlocksAuthsResourcePostPostLocked() *SmartlocksAuthsResourcePostPostLocked
NewSmartlocksAuthsResourcePostPostLocked creates a SmartlocksAuthsResourcePostPostLocked with default headers values
func (*SmartlocksAuthsResourcePostPostLocked) Code ¶
func (o *SmartlocksAuthsResourcePostPostLocked) Code() int
Code gets the status code for the smartlocks auths resource post post locked response
func (*SmartlocksAuthsResourcePostPostLocked) Error ¶
func (o *SmartlocksAuthsResourcePostPostLocked) Error() string
func (*SmartlocksAuthsResourcePostPostLocked) IsClientError ¶
func (o *SmartlocksAuthsResourcePostPostLocked) IsClientError() bool
IsClientError returns true when this smartlocks auths resource post post locked response has a 4xx status code
func (*SmartlocksAuthsResourcePostPostLocked) IsCode ¶
func (o *SmartlocksAuthsResourcePostPostLocked) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource post post locked response a status code equal to that given
func (*SmartlocksAuthsResourcePostPostLocked) IsRedirect ¶
func (o *SmartlocksAuthsResourcePostPostLocked) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource post post locked response has a 3xx status code
func (*SmartlocksAuthsResourcePostPostLocked) IsServerError ¶
func (o *SmartlocksAuthsResourcePostPostLocked) IsServerError() bool
IsServerError returns true when this smartlocks auths resource post post locked response has a 5xx status code
func (*SmartlocksAuthsResourcePostPostLocked) IsSuccess ¶
func (o *SmartlocksAuthsResourcePostPostLocked) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource post post locked response has a 2xx status code
func (*SmartlocksAuthsResourcePostPostLocked) String ¶
func (o *SmartlocksAuthsResourcePostPostLocked) String() string
type SmartlocksAuthsResourcePostPostNoContent ¶
type SmartlocksAuthsResourcePostPostNoContent struct { }
SmartlocksAuthsResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlocksAuthsResourcePostPostNoContent ¶
func NewSmartlocksAuthsResourcePostPostNoContent() *SmartlocksAuthsResourcePostPostNoContent
NewSmartlocksAuthsResourcePostPostNoContent creates a SmartlocksAuthsResourcePostPostNoContent with default headers values
func (*SmartlocksAuthsResourcePostPostNoContent) Code ¶
func (o *SmartlocksAuthsResourcePostPostNoContent) Code() int
Code gets the status code for the smartlocks auths resource post post no content response
func (*SmartlocksAuthsResourcePostPostNoContent) Error ¶
func (o *SmartlocksAuthsResourcePostPostNoContent) Error() string
func (*SmartlocksAuthsResourcePostPostNoContent) IsClientError ¶
func (o *SmartlocksAuthsResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this smartlocks auths resource post post no content response has a 4xx status code
func (*SmartlocksAuthsResourcePostPostNoContent) IsCode ¶
func (o *SmartlocksAuthsResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource post post no content response a status code equal to that given
func (*SmartlocksAuthsResourcePostPostNoContent) IsRedirect ¶
func (o *SmartlocksAuthsResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource post post no content response has a 3xx status code
func (*SmartlocksAuthsResourcePostPostNoContent) IsServerError ¶
func (o *SmartlocksAuthsResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this smartlocks auths resource post post no content response has a 5xx status code
func (*SmartlocksAuthsResourcePostPostNoContent) IsSuccess ¶
func (o *SmartlocksAuthsResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource post post no content response has a 2xx status code
func (*SmartlocksAuthsResourcePostPostNoContent) String ¶
func (o *SmartlocksAuthsResourcePostPostNoContent) String() string
type SmartlocksAuthsResourcePostPostParams ¶
type SmartlocksAuthsResourcePostPostParams struct { /* Body. Smartlock authorization update representations */ Body []*models.SmartlockAuthMultiUpdate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlocksAuthsResourcePostPostParams contains all the parameters to send to the API endpoint
for the smartlocks auths resource post post operation. Typically these are written to a http.Request.
func NewSmartlocksAuthsResourcePostPostParams ¶
func NewSmartlocksAuthsResourcePostPostParams() *SmartlocksAuthsResourcePostPostParams
NewSmartlocksAuthsResourcePostPostParams creates a new SmartlocksAuthsResourcePostPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlocksAuthsResourcePostPostParamsWithContext ¶
func NewSmartlocksAuthsResourcePostPostParamsWithContext(ctx context.Context) *SmartlocksAuthsResourcePostPostParams
NewSmartlocksAuthsResourcePostPostParamsWithContext creates a new SmartlocksAuthsResourcePostPostParams object with the ability to set a context for a request.
func NewSmartlocksAuthsResourcePostPostParamsWithHTTPClient ¶
func NewSmartlocksAuthsResourcePostPostParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePostPostParams
NewSmartlocksAuthsResourcePostPostParamsWithHTTPClient creates a new SmartlocksAuthsResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlocksAuthsResourcePostPostParamsWithTimeout ¶
func NewSmartlocksAuthsResourcePostPostParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePostPostParams
NewSmartlocksAuthsResourcePostPostParamsWithTimeout creates a new SmartlocksAuthsResourcePostPostParams object with the ability to set a timeout on a request.
func (*SmartlocksAuthsResourcePostPostParams) SetBody ¶
func (o *SmartlocksAuthsResourcePostPostParams) SetBody(body []*models.SmartlockAuthMultiUpdate)
SetBody adds the body to the smartlocks auths resource post post params
func (*SmartlocksAuthsResourcePostPostParams) SetContext ¶
func (o *SmartlocksAuthsResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlocks auths resource post post params
func (*SmartlocksAuthsResourcePostPostParams) SetDefaults ¶
func (o *SmartlocksAuthsResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the smartlocks auths resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksAuthsResourcePostPostParams) SetHTTPClient ¶
func (o *SmartlocksAuthsResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlocks auths resource post post params
func (*SmartlocksAuthsResourcePostPostParams) SetTimeout ¶
func (o *SmartlocksAuthsResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlocks auths resource post post params
func (*SmartlocksAuthsResourcePostPostParams) WithBody ¶
func (o *SmartlocksAuthsResourcePostPostParams) WithBody(body []*models.SmartlockAuthMultiUpdate) *SmartlocksAuthsResourcePostPostParams
WithBody adds the body to the smartlocks auths resource post post params
func (*SmartlocksAuthsResourcePostPostParams) WithContext ¶
func (o *SmartlocksAuthsResourcePostPostParams) WithContext(ctx context.Context) *SmartlocksAuthsResourcePostPostParams
WithContext adds the context to the smartlocks auths resource post post params
func (*SmartlocksAuthsResourcePostPostParams) WithDefaults ¶
func (o *SmartlocksAuthsResourcePostPostParams) WithDefaults() *SmartlocksAuthsResourcePostPostParams
WithDefaults hydrates default values in the smartlocks auths resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksAuthsResourcePostPostParams) WithHTTPClient ¶
func (o *SmartlocksAuthsResourcePostPostParams) WithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePostPostParams
WithHTTPClient adds the HTTPClient to the smartlocks auths resource post post params
func (*SmartlocksAuthsResourcePostPostParams) WithTimeout ¶
func (o *SmartlocksAuthsResourcePostPostParams) WithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePostPostParams
WithTimeout adds the timeout to the smartlocks auths resource post post params
func (*SmartlocksAuthsResourcePostPostParams) WriteToRequest ¶
func (o *SmartlocksAuthsResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlocksAuthsResourcePostPostReader ¶
type SmartlocksAuthsResourcePostPostReader struct {
// contains filtered or unexported fields
}
SmartlocksAuthsResourcePostPostReader is a Reader for the SmartlocksAuthsResourcePostPost structure.
func (*SmartlocksAuthsResourcePostPostReader) ReadResponse ¶
func (o *SmartlocksAuthsResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlocksAuthsResourcePostPostUnauthorized ¶
type SmartlocksAuthsResourcePostPostUnauthorized struct { }
SmartlocksAuthsResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSmartlocksAuthsResourcePostPostUnauthorized ¶
func NewSmartlocksAuthsResourcePostPostUnauthorized() *SmartlocksAuthsResourcePostPostUnauthorized
NewSmartlocksAuthsResourcePostPostUnauthorized creates a SmartlocksAuthsResourcePostPostUnauthorized with default headers values
func (*SmartlocksAuthsResourcePostPostUnauthorized) Code ¶
func (o *SmartlocksAuthsResourcePostPostUnauthorized) Code() int
Code gets the status code for the smartlocks auths resource post post unauthorized response
func (*SmartlocksAuthsResourcePostPostUnauthorized) Error ¶
func (o *SmartlocksAuthsResourcePostPostUnauthorized) Error() string
func (*SmartlocksAuthsResourcePostPostUnauthorized) IsClientError ¶
func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this smartlocks auths resource post post unauthorized response has a 4xx status code
func (*SmartlocksAuthsResourcePostPostUnauthorized) IsCode ¶
func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource post post unauthorized response a status code equal to that given
func (*SmartlocksAuthsResourcePostPostUnauthorized) IsRedirect ¶
func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource post post unauthorized response has a 3xx status code
func (*SmartlocksAuthsResourcePostPostUnauthorized) IsServerError ¶
func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this smartlocks auths resource post post unauthorized response has a 5xx status code
func (*SmartlocksAuthsResourcePostPostUnauthorized) IsSuccess ¶
func (o *SmartlocksAuthsResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource post post unauthorized response has a 2xx status code
func (*SmartlocksAuthsResourcePostPostUnauthorized) String ¶
func (o *SmartlocksAuthsResourcePostPostUnauthorized) String() string
type SmartlocksAuthsResourcePutPutBadRequest ¶
type SmartlocksAuthsResourcePutPutBadRequest struct { }
SmartlocksAuthsResourcePutPutBadRequest describes a response with status code 400, with default header values.
Bad parameter
func NewSmartlocksAuthsResourcePutPutBadRequest ¶
func NewSmartlocksAuthsResourcePutPutBadRequest() *SmartlocksAuthsResourcePutPutBadRequest
NewSmartlocksAuthsResourcePutPutBadRequest creates a SmartlocksAuthsResourcePutPutBadRequest with default headers values
func (*SmartlocksAuthsResourcePutPutBadRequest) Code ¶
func (o *SmartlocksAuthsResourcePutPutBadRequest) Code() int
Code gets the status code for the smartlocks auths resource put put bad request response
func (*SmartlocksAuthsResourcePutPutBadRequest) Error ¶
func (o *SmartlocksAuthsResourcePutPutBadRequest) Error() string
func (*SmartlocksAuthsResourcePutPutBadRequest) IsClientError ¶
func (o *SmartlocksAuthsResourcePutPutBadRequest) IsClientError() bool
IsClientError returns true when this smartlocks auths resource put put bad request response has a 4xx status code
func (*SmartlocksAuthsResourcePutPutBadRequest) IsCode ¶
func (o *SmartlocksAuthsResourcePutPutBadRequest) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource put put bad request response a status code equal to that given
func (*SmartlocksAuthsResourcePutPutBadRequest) IsRedirect ¶
func (o *SmartlocksAuthsResourcePutPutBadRequest) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource put put bad request response has a 3xx status code
func (*SmartlocksAuthsResourcePutPutBadRequest) IsServerError ¶
func (o *SmartlocksAuthsResourcePutPutBadRequest) IsServerError() bool
IsServerError returns true when this smartlocks auths resource put put bad request response has a 5xx status code
func (*SmartlocksAuthsResourcePutPutBadRequest) IsSuccess ¶
func (o *SmartlocksAuthsResourcePutPutBadRequest) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource put put bad request response has a 2xx status code
func (*SmartlocksAuthsResourcePutPutBadRequest) String ¶
func (o *SmartlocksAuthsResourcePutPutBadRequest) String() string
type SmartlocksAuthsResourcePutPutConflict ¶
type SmartlocksAuthsResourcePutPutConflict struct { }
SmartlocksAuthsResourcePutPutConflict describes a response with status code 409, with default header values.
Parameter conflicts
func NewSmartlocksAuthsResourcePutPutConflict ¶
func NewSmartlocksAuthsResourcePutPutConflict() *SmartlocksAuthsResourcePutPutConflict
NewSmartlocksAuthsResourcePutPutConflict creates a SmartlocksAuthsResourcePutPutConflict with default headers values
func (*SmartlocksAuthsResourcePutPutConflict) Code ¶
func (o *SmartlocksAuthsResourcePutPutConflict) Code() int
Code gets the status code for the smartlocks auths resource put put conflict response
func (*SmartlocksAuthsResourcePutPutConflict) Error ¶
func (o *SmartlocksAuthsResourcePutPutConflict) Error() string
func (*SmartlocksAuthsResourcePutPutConflict) IsClientError ¶
func (o *SmartlocksAuthsResourcePutPutConflict) IsClientError() bool
IsClientError returns true when this smartlocks auths resource put put conflict response has a 4xx status code
func (*SmartlocksAuthsResourcePutPutConflict) IsCode ¶
func (o *SmartlocksAuthsResourcePutPutConflict) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource put put conflict response a status code equal to that given
func (*SmartlocksAuthsResourcePutPutConflict) IsRedirect ¶
func (o *SmartlocksAuthsResourcePutPutConflict) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource put put conflict response has a 3xx status code
func (*SmartlocksAuthsResourcePutPutConflict) IsServerError ¶
func (o *SmartlocksAuthsResourcePutPutConflict) IsServerError() bool
IsServerError returns true when this smartlocks auths resource put put conflict response has a 5xx status code
func (*SmartlocksAuthsResourcePutPutConflict) IsSuccess ¶
func (o *SmartlocksAuthsResourcePutPutConflict) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource put put conflict response has a 2xx status code
func (*SmartlocksAuthsResourcePutPutConflict) String ¶
func (o *SmartlocksAuthsResourcePutPutConflict) String() string
type SmartlocksAuthsResourcePutPutNoContent ¶
type SmartlocksAuthsResourcePutPutNoContent struct { }
SmartlocksAuthsResourcePutPutNoContent describes a response with status code 204, with default header values.
Ok
func NewSmartlocksAuthsResourcePutPutNoContent ¶
func NewSmartlocksAuthsResourcePutPutNoContent() *SmartlocksAuthsResourcePutPutNoContent
NewSmartlocksAuthsResourcePutPutNoContent creates a SmartlocksAuthsResourcePutPutNoContent with default headers values
func (*SmartlocksAuthsResourcePutPutNoContent) Code ¶
func (o *SmartlocksAuthsResourcePutPutNoContent) Code() int
Code gets the status code for the smartlocks auths resource put put no content response
func (*SmartlocksAuthsResourcePutPutNoContent) Error ¶
func (o *SmartlocksAuthsResourcePutPutNoContent) Error() string
func (*SmartlocksAuthsResourcePutPutNoContent) IsClientError ¶
func (o *SmartlocksAuthsResourcePutPutNoContent) IsClientError() bool
IsClientError returns true when this smartlocks auths resource put put no content response has a 4xx status code
func (*SmartlocksAuthsResourcePutPutNoContent) IsCode ¶
func (o *SmartlocksAuthsResourcePutPutNoContent) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource put put no content response a status code equal to that given
func (*SmartlocksAuthsResourcePutPutNoContent) IsRedirect ¶
func (o *SmartlocksAuthsResourcePutPutNoContent) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource put put no content response has a 3xx status code
func (*SmartlocksAuthsResourcePutPutNoContent) IsServerError ¶
func (o *SmartlocksAuthsResourcePutPutNoContent) IsServerError() bool
IsServerError returns true when this smartlocks auths resource put put no content response has a 5xx status code
func (*SmartlocksAuthsResourcePutPutNoContent) IsSuccess ¶
func (o *SmartlocksAuthsResourcePutPutNoContent) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource put put no content response has a 2xx status code
func (*SmartlocksAuthsResourcePutPutNoContent) String ¶
func (o *SmartlocksAuthsResourcePutPutNoContent) String() string
type SmartlocksAuthsResourcePutPutParams ¶
type SmartlocksAuthsResourcePutPutParams struct { /* Body. Smartlock authorization create representation */ Body *models.SmartlocksAuthCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SmartlocksAuthsResourcePutPutParams contains all the parameters to send to the API endpoint
for the smartlocks auths resource put put operation. Typically these are written to a http.Request.
func NewSmartlocksAuthsResourcePutPutParams ¶
func NewSmartlocksAuthsResourcePutPutParams() *SmartlocksAuthsResourcePutPutParams
NewSmartlocksAuthsResourcePutPutParams creates a new SmartlocksAuthsResourcePutPutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSmartlocksAuthsResourcePutPutParamsWithContext ¶
func NewSmartlocksAuthsResourcePutPutParamsWithContext(ctx context.Context) *SmartlocksAuthsResourcePutPutParams
NewSmartlocksAuthsResourcePutPutParamsWithContext creates a new SmartlocksAuthsResourcePutPutParams object with the ability to set a context for a request.
func NewSmartlocksAuthsResourcePutPutParamsWithHTTPClient ¶
func NewSmartlocksAuthsResourcePutPutParamsWithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePutPutParams
NewSmartlocksAuthsResourcePutPutParamsWithHTTPClient creates a new SmartlocksAuthsResourcePutPutParams object with the ability to set a custom HTTPClient for a request.
func NewSmartlocksAuthsResourcePutPutParamsWithTimeout ¶
func NewSmartlocksAuthsResourcePutPutParamsWithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePutPutParams
NewSmartlocksAuthsResourcePutPutParamsWithTimeout creates a new SmartlocksAuthsResourcePutPutParams object with the ability to set a timeout on a request.
func (*SmartlocksAuthsResourcePutPutParams) SetBody ¶
func (o *SmartlocksAuthsResourcePutPutParams) SetBody(body *models.SmartlocksAuthCreate)
SetBody adds the body to the smartlocks auths resource put put params
func (*SmartlocksAuthsResourcePutPutParams) SetContext ¶
func (o *SmartlocksAuthsResourcePutPutParams) SetContext(ctx context.Context)
SetContext adds the context to the smartlocks auths resource put put params
func (*SmartlocksAuthsResourcePutPutParams) SetDefaults ¶
func (o *SmartlocksAuthsResourcePutPutParams) SetDefaults()
SetDefaults hydrates default values in the smartlocks auths resource put put params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksAuthsResourcePutPutParams) SetHTTPClient ¶
func (o *SmartlocksAuthsResourcePutPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the smartlocks auths resource put put params
func (*SmartlocksAuthsResourcePutPutParams) SetTimeout ¶
func (o *SmartlocksAuthsResourcePutPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the smartlocks auths resource put put params
func (*SmartlocksAuthsResourcePutPutParams) WithBody ¶
func (o *SmartlocksAuthsResourcePutPutParams) WithBody(body *models.SmartlocksAuthCreate) *SmartlocksAuthsResourcePutPutParams
WithBody adds the body to the smartlocks auths resource put put params
func (*SmartlocksAuthsResourcePutPutParams) WithContext ¶
func (o *SmartlocksAuthsResourcePutPutParams) WithContext(ctx context.Context) *SmartlocksAuthsResourcePutPutParams
WithContext adds the context to the smartlocks auths resource put put params
func (*SmartlocksAuthsResourcePutPutParams) WithDefaults ¶
func (o *SmartlocksAuthsResourcePutPutParams) WithDefaults() *SmartlocksAuthsResourcePutPutParams
WithDefaults hydrates default values in the smartlocks auths resource put put params (not the query body).
All values with no default are reset to their zero value.
func (*SmartlocksAuthsResourcePutPutParams) WithHTTPClient ¶
func (o *SmartlocksAuthsResourcePutPutParams) WithHTTPClient(client *http.Client) *SmartlocksAuthsResourcePutPutParams
WithHTTPClient adds the HTTPClient to the smartlocks auths resource put put params
func (*SmartlocksAuthsResourcePutPutParams) WithTimeout ¶
func (o *SmartlocksAuthsResourcePutPutParams) WithTimeout(timeout time.Duration) *SmartlocksAuthsResourcePutPutParams
WithTimeout adds the timeout to the smartlocks auths resource put put params
func (*SmartlocksAuthsResourcePutPutParams) WriteToRequest ¶
func (o *SmartlocksAuthsResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SmartlocksAuthsResourcePutPutPaymentRequired ¶
type SmartlocksAuthsResourcePutPutPaymentRequired struct { }
SmartlocksAuthsResourcePutPutPaymentRequired describes a response with status code 402, with default header values.
Account not payed
func NewSmartlocksAuthsResourcePutPutPaymentRequired ¶
func NewSmartlocksAuthsResourcePutPutPaymentRequired() *SmartlocksAuthsResourcePutPutPaymentRequired
NewSmartlocksAuthsResourcePutPutPaymentRequired creates a SmartlocksAuthsResourcePutPutPaymentRequired with default headers values
func (*SmartlocksAuthsResourcePutPutPaymentRequired) Code ¶
func (o *SmartlocksAuthsResourcePutPutPaymentRequired) Code() int
Code gets the status code for the smartlocks auths resource put put payment required response
func (*SmartlocksAuthsResourcePutPutPaymentRequired) Error ¶
func (o *SmartlocksAuthsResourcePutPutPaymentRequired) Error() string
func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsClientError ¶
func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsClientError() bool
IsClientError returns true when this smartlocks auths resource put put payment required response has a 4xx status code
func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsCode ¶
func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource put put payment required response a status code equal to that given
func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsRedirect ¶
func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource put put payment required response has a 3xx status code
func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsServerError ¶
func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsServerError() bool
IsServerError returns true when this smartlocks auths resource put put payment required response has a 5xx status code
func (*SmartlocksAuthsResourcePutPutPaymentRequired) IsSuccess ¶
func (o *SmartlocksAuthsResourcePutPutPaymentRequired) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource put put payment required response has a 2xx status code
func (*SmartlocksAuthsResourcePutPutPaymentRequired) String ¶
func (o *SmartlocksAuthsResourcePutPutPaymentRequired) String() string
type SmartlocksAuthsResourcePutPutReader ¶
type SmartlocksAuthsResourcePutPutReader struct {
// contains filtered or unexported fields
}
SmartlocksAuthsResourcePutPutReader is a Reader for the SmartlocksAuthsResourcePutPut structure.
func (*SmartlocksAuthsResourcePutPutReader) ReadResponse ¶
func (o *SmartlocksAuthsResourcePutPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SmartlocksAuthsResourcePutPutUpgradeRequired ¶
type SmartlocksAuthsResourcePutPutUpgradeRequired struct { }
SmartlocksAuthsResourcePutPutUpgradeRequired describes a response with status code 426, with default header values.
Account upgrade required
func NewSmartlocksAuthsResourcePutPutUpgradeRequired ¶
func NewSmartlocksAuthsResourcePutPutUpgradeRequired() *SmartlocksAuthsResourcePutPutUpgradeRequired
NewSmartlocksAuthsResourcePutPutUpgradeRequired creates a SmartlocksAuthsResourcePutPutUpgradeRequired with default headers values
func (*SmartlocksAuthsResourcePutPutUpgradeRequired) Code ¶
func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) Code() int
Code gets the status code for the smartlocks auths resource put put upgrade required response
func (*SmartlocksAuthsResourcePutPutUpgradeRequired) Error ¶
func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) Error() string
func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsClientError ¶
func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsClientError() bool
IsClientError returns true when this smartlocks auths resource put put upgrade required response has a 4xx status code
func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsCode ¶
func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsCode(code int) bool
IsCode returns true when this smartlocks auths resource put put upgrade required response a status code equal to that given
func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsRedirect ¶
func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsRedirect() bool
IsRedirect returns true when this smartlocks auths resource put put upgrade required response has a 3xx status code
func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsServerError ¶
func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsServerError() bool
IsServerError returns true when this smartlocks auths resource put put upgrade required response has a 5xx status code
func (*SmartlocksAuthsResourcePutPutUpgradeRequired) IsSuccess ¶
func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) IsSuccess() bool
IsSuccess returns true when this smartlocks auths resource put put upgrade required response has a 2xx status code
func (*SmartlocksAuthsResourcePutPutUpgradeRequired) String ¶
func (o *SmartlocksAuthsResourcePutPutUpgradeRequired) String() string
Source Files
¶
- intrumented.go
- mock_ClientService.go
- smartlock_auth_client.go
- smartlock_auth_resource_delete_delete_parameters.go
- smartlock_auth_resource_delete_delete_responses.go
- smartlock_auth_resource_get_get_parameters.go
- smartlock_auth_resource_get_get_responses.go
- smartlock_auth_resource_post_post_parameters.go
- smartlock_auth_resource_post_post_responses.go
- smartlock_auths_resource_get_get_parameters.go
- smartlock_auths_resource_get_get_responses.go
- smartlock_auths_resource_put_put_parameters.go
- smartlock_auths_resource_put_put_responses.go
- smartlocks_auths_resource_delete_delete_parameters.go
- smartlocks_auths_resource_delete_delete_responses.go
- smartlocks_auths_resource_get_get_parameters.go
- smartlocks_auths_resource_get_get_responses.go
- smartlocks_auths_resource_post_post_parameters.go
- smartlocks_auths_resource_post_post_responses.go
- smartlocks_auths_resource_put_put_parameters.go
- smartlocks_auths_resource_put_put_responses.go