devices_v4

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminBanDeviceV4BadRequest

type AdminBanDeviceV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanDeviceV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>10204</td><td>device can not be banned</td></tr></table>

func NewAdminBanDeviceV4BadRequest

func NewAdminBanDeviceV4BadRequest() *AdminBanDeviceV4BadRequest

NewAdminBanDeviceV4BadRequest creates a AdminBanDeviceV4BadRequest with default headers values

func (*AdminBanDeviceV4BadRequest) Error

func (*AdminBanDeviceV4BadRequest) GetPayload

func (*AdminBanDeviceV4BadRequest) ToJSONString

func (o *AdminBanDeviceV4BadRequest) ToJSONString() string

type AdminBanDeviceV4Conflict

type AdminBanDeviceV4Conflict struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanDeviceV4Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10202</td><td>active device ban config already exists</td></tr></table>

func NewAdminBanDeviceV4Conflict

func NewAdminBanDeviceV4Conflict() *AdminBanDeviceV4Conflict

NewAdminBanDeviceV4Conflict creates a AdminBanDeviceV4Conflict with default headers values

func (*AdminBanDeviceV4Conflict) Error

func (o *AdminBanDeviceV4Conflict) Error() string

func (*AdminBanDeviceV4Conflict) GetPayload

func (*AdminBanDeviceV4Conflict) ToJSONString

func (o *AdminBanDeviceV4Conflict) ToJSONString() string

type AdminBanDeviceV4Forbidden added in v0.31.0

type AdminBanDeviceV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanDeviceV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminBanDeviceV4Forbidden added in v0.31.0

func NewAdminBanDeviceV4Forbidden() *AdminBanDeviceV4Forbidden

NewAdminBanDeviceV4Forbidden creates a AdminBanDeviceV4Forbidden with default headers values

func (*AdminBanDeviceV4Forbidden) Error added in v0.31.0

func (o *AdminBanDeviceV4Forbidden) Error() string

func (*AdminBanDeviceV4Forbidden) GetPayload added in v0.31.0

func (*AdminBanDeviceV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminBanDeviceV4Forbidden) ToJSONString() string

type AdminBanDeviceV4InternalServerError

type AdminBanDeviceV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanDeviceV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminBanDeviceV4InternalServerError

func NewAdminBanDeviceV4InternalServerError() *AdminBanDeviceV4InternalServerError

NewAdminBanDeviceV4InternalServerError creates a AdminBanDeviceV4InternalServerError with default headers values

func (*AdminBanDeviceV4InternalServerError) Error

func (*AdminBanDeviceV4InternalServerError) GetPayload

func (*AdminBanDeviceV4InternalServerError) ToJSONString

func (o *AdminBanDeviceV4InternalServerError) ToJSONString() string

type AdminBanDeviceV4NoContent

type AdminBanDeviceV4NoContent struct {
}

AdminBanDeviceV4NoContent handles this case with default header values.

Operation succeeded

func NewAdminBanDeviceV4NoContent

func NewAdminBanDeviceV4NoContent() *AdminBanDeviceV4NoContent

NewAdminBanDeviceV4NoContent creates a AdminBanDeviceV4NoContent with default headers values

func (*AdminBanDeviceV4NoContent) Error

func (o *AdminBanDeviceV4NoContent) Error() string

type AdminBanDeviceV4Params

type AdminBanDeviceV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelDeviceBanRequestV4
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

AdminBanDeviceV4Params contains all the parameters to send to the API endpoint for the admin ban device v4 operation typically these are written to a http.Request

func NewAdminBanDeviceV4Params

func NewAdminBanDeviceV4Params() *AdminBanDeviceV4Params

NewAdminBanDeviceV4Params creates a new AdminBanDeviceV4Params object with the default values initialized.

func NewAdminBanDeviceV4ParamsWithContext

func NewAdminBanDeviceV4ParamsWithContext(ctx context.Context) *AdminBanDeviceV4Params

NewAdminBanDeviceV4ParamsWithContext creates a new AdminBanDeviceV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminBanDeviceV4ParamsWithHTTPClient

func NewAdminBanDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminBanDeviceV4Params

NewAdminBanDeviceV4ParamsWithHTTPClient creates a new AdminBanDeviceV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminBanDeviceV4ParamsWithTimeout

func NewAdminBanDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminBanDeviceV4Params

NewAdminBanDeviceV4ParamsWithTimeout creates a new AdminBanDeviceV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminBanDeviceV4Params) SetAuthInfoWriter

func (o *AdminBanDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin ban device v4 params

func (*AdminBanDeviceV4Params) SetBody

SetBody adds the body to the admin ban device v4 params

func (*AdminBanDeviceV4Params) SetContext

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

SetContext adds the context to the admin ban device v4 params

func (*AdminBanDeviceV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin ban device v4 params

func (*AdminBanDeviceV4Params) SetHTTPClientTransport

func (o *AdminBanDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin ban device v4 params

func (*AdminBanDeviceV4Params) SetNamespace

func (o *AdminBanDeviceV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin ban device v4 params

func (*AdminBanDeviceV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin ban device v4 params

func (*AdminBanDeviceV4Params) WithBody

WithBody adds the body to the admin ban device v4 params

func (*AdminBanDeviceV4Params) WithContext

WithContext adds the context to the admin ban device v4 params

func (*AdminBanDeviceV4Params) WithHTTPClient

func (o *AdminBanDeviceV4Params) WithHTTPClient(client *http.Client) *AdminBanDeviceV4Params

WithHTTPClient adds the HTTPClient to the admin ban device v4 params

func (*AdminBanDeviceV4Params) WithNamespace

func (o *AdminBanDeviceV4Params) WithNamespace(namespace string) *AdminBanDeviceV4Params

WithNamespace adds the namespace to the admin ban device v4 params

func (*AdminBanDeviceV4Params) WithTimeout

WithTimeout adds the timeout to the admin ban device v4 params

func (*AdminBanDeviceV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminBanDeviceV4Reader

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

AdminBanDeviceV4Reader is a Reader for the AdminBanDeviceV4 structure.

func (*AdminBanDeviceV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminBanDeviceV4Unauthorized

type AdminBanDeviceV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanDeviceV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminBanDeviceV4Unauthorized

func NewAdminBanDeviceV4Unauthorized() *AdminBanDeviceV4Unauthorized

NewAdminBanDeviceV4Unauthorized creates a AdminBanDeviceV4Unauthorized with default headers values

func (*AdminBanDeviceV4Unauthorized) Error

func (*AdminBanDeviceV4Unauthorized) GetPayload

func (*AdminBanDeviceV4Unauthorized) ToJSONString

func (o *AdminBanDeviceV4Unauthorized) ToJSONString() string

type AdminDecryptDeviceV4BadRequest

type AdminDecryptDeviceV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDecryptDeviceV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminDecryptDeviceV4BadRequest

func NewAdminDecryptDeviceV4BadRequest() *AdminDecryptDeviceV4BadRequest

NewAdminDecryptDeviceV4BadRequest creates a AdminDecryptDeviceV4BadRequest with default headers values

func (*AdminDecryptDeviceV4BadRequest) Error

func (*AdminDecryptDeviceV4BadRequest) GetPayload

func (*AdminDecryptDeviceV4BadRequest) ToJSONString

func (o *AdminDecryptDeviceV4BadRequest) ToJSONString() string

type AdminDecryptDeviceV4Forbidden added in v0.31.0

type AdminDecryptDeviceV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDecryptDeviceV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminDecryptDeviceV4Forbidden added in v0.31.0

func NewAdminDecryptDeviceV4Forbidden() *AdminDecryptDeviceV4Forbidden

NewAdminDecryptDeviceV4Forbidden creates a AdminDecryptDeviceV4Forbidden with default headers values

func (*AdminDecryptDeviceV4Forbidden) Error added in v0.31.0

func (*AdminDecryptDeviceV4Forbidden) GetPayload added in v0.31.0

func (*AdminDecryptDeviceV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminDecryptDeviceV4Forbidden) ToJSONString() string

type AdminDecryptDeviceV4InternalServerError

type AdminDecryptDeviceV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDecryptDeviceV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminDecryptDeviceV4InternalServerError

func NewAdminDecryptDeviceV4InternalServerError() *AdminDecryptDeviceV4InternalServerError

NewAdminDecryptDeviceV4InternalServerError creates a AdminDecryptDeviceV4InternalServerError with default headers values

func (*AdminDecryptDeviceV4InternalServerError) Error

func (*AdminDecryptDeviceV4InternalServerError) GetPayload

func (*AdminDecryptDeviceV4InternalServerError) ToJSONString

type AdminDecryptDeviceV4OK

type AdminDecryptDeviceV4OK struct {
	Payload *iamclientmodels.ModelDeviceIDDecryptResponseV4
}

AdminDecryptDeviceV4OK handles this case with default header values.

Operation succeeded

func NewAdminDecryptDeviceV4OK

func NewAdminDecryptDeviceV4OK() *AdminDecryptDeviceV4OK

NewAdminDecryptDeviceV4OK creates a AdminDecryptDeviceV4OK with default headers values

func (*AdminDecryptDeviceV4OK) Error

func (o *AdminDecryptDeviceV4OK) Error() string

func (*AdminDecryptDeviceV4OK) GetPayload

func (*AdminDecryptDeviceV4OK) ToJSONString

func (o *AdminDecryptDeviceV4OK) ToJSONString() string

type AdminDecryptDeviceV4Params

type AdminDecryptDeviceV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*DeviceID
	  device id

	*/
	DeviceID string
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

AdminDecryptDeviceV4Params contains all the parameters to send to the API endpoint for the admin decrypt device v4 operation typically these are written to a http.Request

func NewAdminDecryptDeviceV4Params

func NewAdminDecryptDeviceV4Params() *AdminDecryptDeviceV4Params

NewAdminDecryptDeviceV4Params creates a new AdminDecryptDeviceV4Params object with the default values initialized.

func NewAdminDecryptDeviceV4ParamsWithContext

func NewAdminDecryptDeviceV4ParamsWithContext(ctx context.Context) *AdminDecryptDeviceV4Params

NewAdminDecryptDeviceV4ParamsWithContext creates a new AdminDecryptDeviceV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminDecryptDeviceV4ParamsWithHTTPClient

func NewAdminDecryptDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminDecryptDeviceV4Params

NewAdminDecryptDeviceV4ParamsWithHTTPClient creates a new AdminDecryptDeviceV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminDecryptDeviceV4ParamsWithTimeout

func NewAdminDecryptDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminDecryptDeviceV4Params

NewAdminDecryptDeviceV4ParamsWithTimeout creates a new AdminDecryptDeviceV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminDecryptDeviceV4Params) SetAuthInfoWriter

func (o *AdminDecryptDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) SetContext

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

SetContext adds the context to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) SetDeviceID

func (o *AdminDecryptDeviceV4Params) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) SetHTTPClientTransport

func (o *AdminDecryptDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) SetNamespace

func (o *AdminDecryptDeviceV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) WithContext

WithContext adds the context to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) WithDeviceID

WithDeviceID adds the deviceID to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) WithNamespace

func (o *AdminDecryptDeviceV4Params) WithNamespace(namespace string) *AdminDecryptDeviceV4Params

WithNamespace adds the namespace to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) WithTimeout

WithTimeout adds the timeout to the admin decrypt device v4 params

func (*AdminDecryptDeviceV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDecryptDeviceV4Reader

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

AdminDecryptDeviceV4Reader is a Reader for the AdminDecryptDeviceV4 structure.

func (*AdminDecryptDeviceV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDecryptDeviceV4Unauthorized

type AdminDecryptDeviceV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDecryptDeviceV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminDecryptDeviceV4Unauthorized

func NewAdminDecryptDeviceV4Unauthorized() *AdminDecryptDeviceV4Unauthorized

NewAdminDecryptDeviceV4Unauthorized creates a AdminDecryptDeviceV4Unauthorized with default headers values

func (*AdminDecryptDeviceV4Unauthorized) Error

func (*AdminDecryptDeviceV4Unauthorized) GetPayload

func (*AdminDecryptDeviceV4Unauthorized) ToJSONString

func (o *AdminDecryptDeviceV4Unauthorized) ToJSONString() string

type AdminGenerateReportV4BadRequest

type AdminGenerateReportV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGenerateReportV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGenerateReportV4BadRequest

func NewAdminGenerateReportV4BadRequest() *AdminGenerateReportV4BadRequest

NewAdminGenerateReportV4BadRequest creates a AdminGenerateReportV4BadRequest with default headers values

func (*AdminGenerateReportV4BadRequest) Error

func (*AdminGenerateReportV4BadRequest) GetPayload

func (*AdminGenerateReportV4BadRequest) ToJSONString

func (o *AdminGenerateReportV4BadRequest) ToJSONString() string

type AdminGenerateReportV4Forbidden added in v0.31.0

type AdminGenerateReportV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGenerateReportV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGenerateReportV4Forbidden added in v0.31.0

func NewAdminGenerateReportV4Forbidden() *AdminGenerateReportV4Forbidden

NewAdminGenerateReportV4Forbidden creates a AdminGenerateReportV4Forbidden with default headers values

func (*AdminGenerateReportV4Forbidden) Error added in v0.31.0

func (*AdminGenerateReportV4Forbidden) GetPayload added in v0.31.0

func (*AdminGenerateReportV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminGenerateReportV4Forbidden) ToJSONString() string

type AdminGenerateReportV4InternalServerError

type AdminGenerateReportV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGenerateReportV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGenerateReportV4InternalServerError

func NewAdminGenerateReportV4InternalServerError() *AdminGenerateReportV4InternalServerError

NewAdminGenerateReportV4InternalServerError creates a AdminGenerateReportV4InternalServerError with default headers values

func (*AdminGenerateReportV4InternalServerError) Error

func (*AdminGenerateReportV4InternalServerError) GetPayload

func (*AdminGenerateReportV4InternalServerError) ToJSONString

type AdminGenerateReportV4NotFound

type AdminGenerateReportV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGenerateReportV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20008</td><td>user not found</td></tr><tr><td>10139</td><td>platform account not found</td></tr><tr><td>10158</td><td>ban not found</td></tr></table>

func NewAdminGenerateReportV4NotFound

func NewAdminGenerateReportV4NotFound() *AdminGenerateReportV4NotFound

NewAdminGenerateReportV4NotFound creates a AdminGenerateReportV4NotFound with default headers values

func (*AdminGenerateReportV4NotFound) Error

func (*AdminGenerateReportV4NotFound) GetPayload

func (*AdminGenerateReportV4NotFound) ToJSONString

func (o *AdminGenerateReportV4NotFound) ToJSONString() string

type AdminGenerateReportV4OK

type AdminGenerateReportV4OK struct {
}

AdminGenerateReportV4OK handles this case with default header values.

Operation succeeded

func NewAdminGenerateReportV4OK

func NewAdminGenerateReportV4OK() *AdminGenerateReportV4OK

NewAdminGenerateReportV4OK creates a AdminGenerateReportV4OK with default headers values

func (*AdminGenerateReportV4OK) Error

func (o *AdminGenerateReportV4OK) Error() string

type AdminGenerateReportV4Params

type AdminGenerateReportV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*EndDate
	  end date

	*/
	EndDate *string
	/*StartDate
	  start date

	*/
	StartDate *string
	/*DeviceType
	  device type

	*/
	DeviceType string

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

AdminGenerateReportV4Params contains all the parameters to send to the API endpoint for the admin generate report v4 operation typically these are written to a http.Request

func NewAdminGenerateReportV4Params

func NewAdminGenerateReportV4Params() *AdminGenerateReportV4Params

NewAdminGenerateReportV4Params creates a new AdminGenerateReportV4Params object with the default values initialized.

func NewAdminGenerateReportV4ParamsWithContext

func NewAdminGenerateReportV4ParamsWithContext(ctx context.Context) *AdminGenerateReportV4Params

NewAdminGenerateReportV4ParamsWithContext creates a new AdminGenerateReportV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGenerateReportV4ParamsWithHTTPClient

func NewAdminGenerateReportV4ParamsWithHTTPClient(client *http.Client) *AdminGenerateReportV4Params

NewAdminGenerateReportV4ParamsWithHTTPClient creates a new AdminGenerateReportV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGenerateReportV4ParamsWithTimeout

func NewAdminGenerateReportV4ParamsWithTimeout(timeout time.Duration) *AdminGenerateReportV4Params

NewAdminGenerateReportV4ParamsWithTimeout creates a new AdminGenerateReportV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGenerateReportV4Params) SetAuthInfoWriter

func (o *AdminGenerateReportV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin generate report v4 params

func (*AdminGenerateReportV4Params) SetContext

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

SetContext adds the context to the admin generate report v4 params

func (*AdminGenerateReportV4Params) SetDeviceType

func (o *AdminGenerateReportV4Params) SetDeviceType(deviceType string)

SetDeviceType adds the deviceType to the admin generate report v4 params

func (*AdminGenerateReportV4Params) SetEndDate

func (o *AdminGenerateReportV4Params) SetEndDate(endDate *string)

SetEndDate adds the endDate to the admin generate report v4 params

func (*AdminGenerateReportV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin generate report v4 params

func (*AdminGenerateReportV4Params) SetHTTPClientTransport

func (o *AdminGenerateReportV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin generate report v4 params

func (*AdminGenerateReportV4Params) SetNamespace

func (o *AdminGenerateReportV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin generate report v4 params

func (*AdminGenerateReportV4Params) SetStartDate

func (o *AdminGenerateReportV4Params) SetStartDate(startDate *string)

SetStartDate adds the startDate to the admin generate report v4 params

func (*AdminGenerateReportV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin generate report v4 params

func (*AdminGenerateReportV4Params) WithContext

WithContext adds the context to the admin generate report v4 params

func (*AdminGenerateReportV4Params) WithDeviceType

func (o *AdminGenerateReportV4Params) WithDeviceType(deviceType string) *AdminGenerateReportV4Params

WithDeviceType adds the deviceType to the admin generate report v4 params

func (*AdminGenerateReportV4Params) WithEndDate

WithEndDate adds the endDate to the admin generate report v4 params

func (*AdminGenerateReportV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin generate report v4 params

func (*AdminGenerateReportV4Params) WithNamespace

func (o *AdminGenerateReportV4Params) WithNamespace(namespace string) *AdminGenerateReportV4Params

WithNamespace adds the namespace to the admin generate report v4 params

func (*AdminGenerateReportV4Params) WithStartDate

func (o *AdminGenerateReportV4Params) WithStartDate(startDate *string) *AdminGenerateReportV4Params

WithStartDate adds the startDate to the admin generate report v4 params

func (*AdminGenerateReportV4Params) WithTimeout

WithTimeout adds the timeout to the admin generate report v4 params

func (*AdminGenerateReportV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGenerateReportV4Reader

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

AdminGenerateReportV4Reader is a Reader for the AdminGenerateReportV4 structure.

func (*AdminGenerateReportV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGenerateReportV4Unauthorized

type AdminGenerateReportV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGenerateReportV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGenerateReportV4Unauthorized

func NewAdminGenerateReportV4Unauthorized() *AdminGenerateReportV4Unauthorized

NewAdminGenerateReportV4Unauthorized creates a AdminGenerateReportV4Unauthorized with default headers values

func (*AdminGenerateReportV4Unauthorized) Error

func (*AdminGenerateReportV4Unauthorized) GetPayload

func (*AdminGenerateReportV4Unauthorized) ToJSONString

func (o *AdminGenerateReportV4Unauthorized) ToJSONString() string

type AdminGetBannedDevicesV4Forbidden added in v0.31.0

type AdminGetBannedDevicesV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBannedDevicesV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetBannedDevicesV4Forbidden added in v0.31.0

func NewAdminGetBannedDevicesV4Forbidden() *AdminGetBannedDevicesV4Forbidden

NewAdminGetBannedDevicesV4Forbidden creates a AdminGetBannedDevicesV4Forbidden with default headers values

func (*AdminGetBannedDevicesV4Forbidden) Error added in v0.31.0

func (*AdminGetBannedDevicesV4Forbidden) GetPayload added in v0.31.0

func (*AdminGetBannedDevicesV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminGetBannedDevicesV4Forbidden) ToJSONString() string

type AdminGetBannedDevicesV4InternalServerError

type AdminGetBannedDevicesV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBannedDevicesV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetBannedDevicesV4InternalServerError

func NewAdminGetBannedDevicesV4InternalServerError() *AdminGetBannedDevicesV4InternalServerError

NewAdminGetBannedDevicesV4InternalServerError creates a AdminGetBannedDevicesV4InternalServerError with default headers values

func (*AdminGetBannedDevicesV4InternalServerError) Error

func (*AdminGetBannedDevicesV4InternalServerError) GetPayload

func (*AdminGetBannedDevicesV4InternalServerError) ToJSONString

type AdminGetBannedDevicesV4OK

type AdminGetBannedDevicesV4OK struct {
	Payload *iamclientmodels.ModelDeviceBannedResponseV4
}

AdminGetBannedDevicesV4OK handles this case with default header values.

Operation succeeded

func NewAdminGetBannedDevicesV4OK

func NewAdminGetBannedDevicesV4OK() *AdminGetBannedDevicesV4OK

NewAdminGetBannedDevicesV4OK creates a AdminGetBannedDevicesV4OK with default headers values

func (*AdminGetBannedDevicesV4OK) Error

func (o *AdminGetBannedDevicesV4OK) Error() string

func (*AdminGetBannedDevicesV4OK) GetPayload

func (*AdminGetBannedDevicesV4OK) ToJSONString

func (o *AdminGetBannedDevicesV4OK) ToJSONString() string

type AdminGetBannedDevicesV4Params

type AdminGetBannedDevicesV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*DeviceType
	  device type

	*/
	DeviceType *string
	/*EndDate
	  end date

	*/
	EndDate *string
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64
	/*Offset
	  the count to skip

	*/
	Offset *int64
	/*StartDate
	  start date

	*/
	StartDate *string

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

AdminGetBannedDevicesV4Params contains all the parameters to send to the API endpoint for the admin get banned devices v4 operation typically these are written to a http.Request

func NewAdminGetBannedDevicesV4Params

func NewAdminGetBannedDevicesV4Params() *AdminGetBannedDevicesV4Params

NewAdminGetBannedDevicesV4Params creates a new AdminGetBannedDevicesV4Params object with the default values initialized.

func NewAdminGetBannedDevicesV4ParamsWithContext

func NewAdminGetBannedDevicesV4ParamsWithContext(ctx context.Context) *AdminGetBannedDevicesV4Params

NewAdminGetBannedDevicesV4ParamsWithContext creates a new AdminGetBannedDevicesV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetBannedDevicesV4ParamsWithHTTPClient

func NewAdminGetBannedDevicesV4ParamsWithHTTPClient(client *http.Client) *AdminGetBannedDevicesV4Params

NewAdminGetBannedDevicesV4ParamsWithHTTPClient creates a new AdminGetBannedDevicesV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetBannedDevicesV4ParamsWithTimeout

func NewAdminGetBannedDevicesV4ParamsWithTimeout(timeout time.Duration) *AdminGetBannedDevicesV4Params

NewAdminGetBannedDevicesV4ParamsWithTimeout creates a new AdminGetBannedDevicesV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetBannedDevicesV4Params) SetAuthInfoWriter

func (o *AdminGetBannedDevicesV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetContext

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

SetContext adds the context to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetDeviceType

func (o *AdminGetBannedDevicesV4Params) SetDeviceType(deviceType *string)

SetDeviceType adds the deviceType to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetEndDate

func (o *AdminGetBannedDevicesV4Params) SetEndDate(endDate *string)

SetEndDate adds the endDate to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetHTTPClientTransport

func (o *AdminGetBannedDevicesV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetLimit

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

SetLimit adds the limit to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetNamespace

func (o *AdminGetBannedDevicesV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetOffset

func (o *AdminGetBannedDevicesV4Params) SetOffset(offset *int64)

SetOffset adds the offset to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetStartDate

func (o *AdminGetBannedDevicesV4Params) SetStartDate(startDate *string)

SetStartDate adds the startDate to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithContext

WithContext adds the context to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithDeviceType

func (o *AdminGetBannedDevicesV4Params) WithDeviceType(deviceType *string) *AdminGetBannedDevicesV4Params

WithDeviceType adds the deviceType to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithEndDate

WithEndDate adds the endDate to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithLimit

WithLimit adds the limit to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithNamespace

WithNamespace adds the namespace to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithOffset

WithOffset adds the offset to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithStartDate

WithStartDate adds the startDate to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WithTimeout

WithTimeout adds the timeout to the admin get banned devices v4 params

func (*AdminGetBannedDevicesV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetBannedDevicesV4Reader

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

AdminGetBannedDevicesV4Reader is a Reader for the AdminGetBannedDevicesV4 structure.

func (*AdminGetBannedDevicesV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetBannedDevicesV4Unauthorized

type AdminGetBannedDevicesV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBannedDevicesV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetBannedDevicesV4Unauthorized

func NewAdminGetBannedDevicesV4Unauthorized() *AdminGetBannedDevicesV4Unauthorized

NewAdminGetBannedDevicesV4Unauthorized creates a AdminGetBannedDevicesV4Unauthorized with default headers values

func (*AdminGetBannedDevicesV4Unauthorized) Error

func (*AdminGetBannedDevicesV4Unauthorized) GetPayload

func (*AdminGetBannedDevicesV4Unauthorized) ToJSONString

func (o *AdminGetBannedDevicesV4Unauthorized) ToJSONString() string

type AdminGetDeviceBanV4BadRequest

type AdminGetDeviceBanV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBanV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetDeviceBanV4BadRequest

func NewAdminGetDeviceBanV4BadRequest() *AdminGetDeviceBanV4BadRequest

NewAdminGetDeviceBanV4BadRequest creates a AdminGetDeviceBanV4BadRequest with default headers values

func (*AdminGetDeviceBanV4BadRequest) Error

func (*AdminGetDeviceBanV4BadRequest) GetPayload

func (*AdminGetDeviceBanV4BadRequest) ToJSONString

func (o *AdminGetDeviceBanV4BadRequest) ToJSONString() string

type AdminGetDeviceBanV4Forbidden added in v0.31.0

type AdminGetDeviceBanV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBanV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetDeviceBanV4Forbidden added in v0.31.0

func NewAdminGetDeviceBanV4Forbidden() *AdminGetDeviceBanV4Forbidden

NewAdminGetDeviceBanV4Forbidden creates a AdminGetDeviceBanV4Forbidden with default headers values

func (*AdminGetDeviceBanV4Forbidden) Error added in v0.31.0

func (*AdminGetDeviceBanV4Forbidden) GetPayload added in v0.31.0

func (*AdminGetDeviceBanV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminGetDeviceBanV4Forbidden) ToJSONString() string

type AdminGetDeviceBanV4InternalServerError

type AdminGetDeviceBanV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBanV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetDeviceBanV4InternalServerError

func NewAdminGetDeviceBanV4InternalServerError() *AdminGetDeviceBanV4InternalServerError

NewAdminGetDeviceBanV4InternalServerError creates a AdminGetDeviceBanV4InternalServerError with default headers values

func (*AdminGetDeviceBanV4InternalServerError) Error

func (*AdminGetDeviceBanV4InternalServerError) GetPayload

func (*AdminGetDeviceBanV4InternalServerError) ToJSONString

type AdminGetDeviceBanV4NotFound

type AdminGetDeviceBanV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBanV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10158</td><td>ban not found</td></tr></table>

func NewAdminGetDeviceBanV4NotFound

func NewAdminGetDeviceBanV4NotFound() *AdminGetDeviceBanV4NotFound

NewAdminGetDeviceBanV4NotFound creates a AdminGetDeviceBanV4NotFound with default headers values

func (*AdminGetDeviceBanV4NotFound) Error

func (*AdminGetDeviceBanV4NotFound) GetPayload

func (*AdminGetDeviceBanV4NotFound) ToJSONString

func (o *AdminGetDeviceBanV4NotFound) ToJSONString() string

type AdminGetDeviceBanV4OK

type AdminGetDeviceBanV4OK struct {
	Payload *iamclientmodels.ModelDeviceBanResponseV4
}

AdminGetDeviceBanV4OK handles this case with default header values.

Operation succeeded

func NewAdminGetDeviceBanV4OK

func NewAdminGetDeviceBanV4OK() *AdminGetDeviceBanV4OK

NewAdminGetDeviceBanV4OK creates a AdminGetDeviceBanV4OK with default headers values

func (*AdminGetDeviceBanV4OK) Error

func (o *AdminGetDeviceBanV4OK) Error() string

func (*AdminGetDeviceBanV4OK) GetPayload

func (*AdminGetDeviceBanV4OK) ToJSONString

func (o *AdminGetDeviceBanV4OK) ToJSONString() string

type AdminGetDeviceBanV4Params

type AdminGetDeviceBanV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*BanID
	  device id

	*/
	BanID string
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

AdminGetDeviceBanV4Params contains all the parameters to send to the API endpoint for the admin get device ban v4 operation typically these are written to a http.Request

func NewAdminGetDeviceBanV4Params

func NewAdminGetDeviceBanV4Params() *AdminGetDeviceBanV4Params

NewAdminGetDeviceBanV4Params creates a new AdminGetDeviceBanV4Params object with the default values initialized.

func NewAdminGetDeviceBanV4ParamsWithContext

func NewAdminGetDeviceBanV4ParamsWithContext(ctx context.Context) *AdminGetDeviceBanV4Params

NewAdminGetDeviceBanV4ParamsWithContext creates a new AdminGetDeviceBanV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetDeviceBanV4ParamsWithHTTPClient

func NewAdminGetDeviceBanV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceBanV4Params

NewAdminGetDeviceBanV4ParamsWithHTTPClient creates a new AdminGetDeviceBanV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetDeviceBanV4ParamsWithTimeout

func NewAdminGetDeviceBanV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceBanV4Params

NewAdminGetDeviceBanV4ParamsWithTimeout creates a new AdminGetDeviceBanV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetDeviceBanV4Params) SetAuthInfoWriter

func (o *AdminGetDeviceBanV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) SetBanID

func (o *AdminGetDeviceBanV4Params) SetBanID(banID string)

SetBanID adds the banId to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) SetContext

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

SetContext adds the context to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) SetHTTPClientTransport

func (o *AdminGetDeviceBanV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) SetNamespace

func (o *AdminGetDeviceBanV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) WithBanID

WithBanID adds the banID to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) WithContext

WithContext adds the context to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) WithHTTPClient

func (o *AdminGetDeviceBanV4Params) WithHTTPClient(client *http.Client) *AdminGetDeviceBanV4Params

WithHTTPClient adds the HTTPClient to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) WithNamespace

func (o *AdminGetDeviceBanV4Params) WithNamespace(namespace string) *AdminGetDeviceBanV4Params

WithNamespace adds the namespace to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) WithTimeout

WithTimeout adds the timeout to the admin get device ban v4 params

func (*AdminGetDeviceBanV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetDeviceBanV4Reader

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

AdminGetDeviceBanV4Reader is a Reader for the AdminGetDeviceBanV4 structure.

func (*AdminGetDeviceBanV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetDeviceBanV4Unauthorized

type AdminGetDeviceBanV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBanV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetDeviceBanV4Unauthorized

func NewAdminGetDeviceBanV4Unauthorized() *AdminGetDeviceBanV4Unauthorized

NewAdminGetDeviceBanV4Unauthorized creates a AdminGetDeviceBanV4Unauthorized with default headers values

func (*AdminGetDeviceBanV4Unauthorized) Error

func (*AdminGetDeviceBanV4Unauthorized) GetPayload

func (*AdminGetDeviceBanV4Unauthorized) ToJSONString

func (o *AdminGetDeviceBanV4Unauthorized) ToJSONString() string

type AdminGetDeviceBansV4BadRequest

type AdminGetDeviceBansV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBansV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetDeviceBansV4BadRequest

func NewAdminGetDeviceBansV4BadRequest() *AdminGetDeviceBansV4BadRequest

NewAdminGetDeviceBansV4BadRequest creates a AdminGetDeviceBansV4BadRequest with default headers values

func (*AdminGetDeviceBansV4BadRequest) Error

func (*AdminGetDeviceBansV4BadRequest) GetPayload

func (*AdminGetDeviceBansV4BadRequest) ToJSONString

func (o *AdminGetDeviceBansV4BadRequest) ToJSONString() string

type AdminGetDeviceBansV4Forbidden added in v0.31.0

type AdminGetDeviceBansV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBansV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetDeviceBansV4Forbidden added in v0.31.0

func NewAdminGetDeviceBansV4Forbidden() *AdminGetDeviceBansV4Forbidden

NewAdminGetDeviceBansV4Forbidden creates a AdminGetDeviceBansV4Forbidden with default headers values

func (*AdminGetDeviceBansV4Forbidden) Error added in v0.31.0

func (*AdminGetDeviceBansV4Forbidden) GetPayload added in v0.31.0

func (*AdminGetDeviceBansV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminGetDeviceBansV4Forbidden) ToJSONString() string

type AdminGetDeviceBansV4InternalServerError

type AdminGetDeviceBansV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBansV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetDeviceBansV4InternalServerError

func NewAdminGetDeviceBansV4InternalServerError() *AdminGetDeviceBansV4InternalServerError

NewAdminGetDeviceBansV4InternalServerError creates a AdminGetDeviceBansV4InternalServerError with default headers values

func (*AdminGetDeviceBansV4InternalServerError) Error

func (*AdminGetDeviceBansV4InternalServerError) GetPayload

func (*AdminGetDeviceBansV4InternalServerError) ToJSONString

type AdminGetDeviceBansV4OK

type AdminGetDeviceBansV4OK struct {
	Payload *iamclientmodels.ModelDeviceBansResponseV4
}

AdminGetDeviceBansV4OK handles this case with default header values.

Operation succeeded

func NewAdminGetDeviceBansV4OK

func NewAdminGetDeviceBansV4OK() *AdminGetDeviceBansV4OK

NewAdminGetDeviceBansV4OK creates a AdminGetDeviceBansV4OK with default headers values

func (*AdminGetDeviceBansV4OK) Error

func (o *AdminGetDeviceBansV4OK) Error() string

func (*AdminGetDeviceBansV4OK) GetPayload

func (*AdminGetDeviceBansV4OK) ToJSONString

func (o *AdminGetDeviceBansV4OK) ToJSONString() string

type AdminGetDeviceBansV4Params

type AdminGetDeviceBansV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*DeviceID
	  device id

	*/
	DeviceID string
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

AdminGetDeviceBansV4Params contains all the parameters to send to the API endpoint for the admin get device bans v4 operation typically these are written to a http.Request

func NewAdminGetDeviceBansV4Params

func NewAdminGetDeviceBansV4Params() *AdminGetDeviceBansV4Params

NewAdminGetDeviceBansV4Params creates a new AdminGetDeviceBansV4Params object with the default values initialized.

func NewAdminGetDeviceBansV4ParamsWithContext

func NewAdminGetDeviceBansV4ParamsWithContext(ctx context.Context) *AdminGetDeviceBansV4Params

NewAdminGetDeviceBansV4ParamsWithContext creates a new AdminGetDeviceBansV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetDeviceBansV4ParamsWithHTTPClient

func NewAdminGetDeviceBansV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceBansV4Params

NewAdminGetDeviceBansV4ParamsWithHTTPClient creates a new AdminGetDeviceBansV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetDeviceBansV4ParamsWithTimeout

func NewAdminGetDeviceBansV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceBansV4Params

NewAdminGetDeviceBansV4ParamsWithTimeout creates a new AdminGetDeviceBansV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetDeviceBansV4Params) SetAuthInfoWriter

func (o *AdminGetDeviceBansV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) SetContext

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

SetContext adds the context to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) SetDeviceID

func (o *AdminGetDeviceBansV4Params) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) SetHTTPClientTransport

func (o *AdminGetDeviceBansV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) SetNamespace

func (o *AdminGetDeviceBansV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) WithContext

WithContext adds the context to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) WithDeviceID

WithDeviceID adds the deviceID to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) WithNamespace

func (o *AdminGetDeviceBansV4Params) WithNamespace(namespace string) *AdminGetDeviceBansV4Params

WithNamespace adds the namespace to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) WithTimeout

WithTimeout adds the timeout to the admin get device bans v4 params

func (*AdminGetDeviceBansV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetDeviceBansV4Reader

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

AdminGetDeviceBansV4Reader is a Reader for the AdminGetDeviceBansV4 structure.

func (*AdminGetDeviceBansV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetDeviceBansV4Unauthorized

type AdminGetDeviceBansV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceBansV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetDeviceBansV4Unauthorized

func NewAdminGetDeviceBansV4Unauthorized() *AdminGetDeviceBansV4Unauthorized

NewAdminGetDeviceBansV4Unauthorized creates a AdminGetDeviceBansV4Unauthorized with default headers values

func (*AdminGetDeviceBansV4Unauthorized) Error

func (*AdminGetDeviceBansV4Unauthorized) GetPayload

func (*AdminGetDeviceBansV4Unauthorized) ToJSONString

func (o *AdminGetDeviceBansV4Unauthorized) ToJSONString() string

type AdminGetDeviceTypesV4Forbidden added in v0.31.0

type AdminGetDeviceTypesV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceTypesV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetDeviceTypesV4Forbidden added in v0.31.0

func NewAdminGetDeviceTypesV4Forbidden() *AdminGetDeviceTypesV4Forbidden

NewAdminGetDeviceTypesV4Forbidden creates a AdminGetDeviceTypesV4Forbidden with default headers values

func (*AdminGetDeviceTypesV4Forbidden) Error added in v0.31.0

func (*AdminGetDeviceTypesV4Forbidden) GetPayload added in v0.31.0

func (*AdminGetDeviceTypesV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminGetDeviceTypesV4Forbidden) ToJSONString() string

type AdminGetDeviceTypesV4InternalServerError

type AdminGetDeviceTypesV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceTypesV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetDeviceTypesV4InternalServerError

func NewAdminGetDeviceTypesV4InternalServerError() *AdminGetDeviceTypesV4InternalServerError

NewAdminGetDeviceTypesV4InternalServerError creates a AdminGetDeviceTypesV4InternalServerError with default headers values

func (*AdminGetDeviceTypesV4InternalServerError) Error

func (*AdminGetDeviceTypesV4InternalServerError) GetPayload

func (*AdminGetDeviceTypesV4InternalServerError) ToJSONString

type AdminGetDeviceTypesV4OK

type AdminGetDeviceTypesV4OK struct {
	Payload *iamclientmodels.ModelDeviceTypesResponseV4
}

AdminGetDeviceTypesV4OK handles this case with default header values.

Operation succeeded

func NewAdminGetDeviceTypesV4OK

func NewAdminGetDeviceTypesV4OK() *AdminGetDeviceTypesV4OK

NewAdminGetDeviceTypesV4OK creates a AdminGetDeviceTypesV4OK with default headers values

func (*AdminGetDeviceTypesV4OK) Error

func (o *AdminGetDeviceTypesV4OK) Error() string

func (*AdminGetDeviceTypesV4OK) GetPayload

func (*AdminGetDeviceTypesV4OK) ToJSONString

func (o *AdminGetDeviceTypesV4OK) ToJSONString() string

type AdminGetDeviceTypesV4Params

type AdminGetDeviceTypesV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

AdminGetDeviceTypesV4Params contains all the parameters to send to the API endpoint for the admin get device types v4 operation typically these are written to a http.Request

func NewAdminGetDeviceTypesV4Params

func NewAdminGetDeviceTypesV4Params() *AdminGetDeviceTypesV4Params

NewAdminGetDeviceTypesV4Params creates a new AdminGetDeviceTypesV4Params object with the default values initialized.

func NewAdminGetDeviceTypesV4ParamsWithContext

func NewAdminGetDeviceTypesV4ParamsWithContext(ctx context.Context) *AdminGetDeviceTypesV4Params

NewAdminGetDeviceTypesV4ParamsWithContext creates a new AdminGetDeviceTypesV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetDeviceTypesV4ParamsWithHTTPClient

func NewAdminGetDeviceTypesV4ParamsWithHTTPClient(client *http.Client) *AdminGetDeviceTypesV4Params

NewAdminGetDeviceTypesV4ParamsWithHTTPClient creates a new AdminGetDeviceTypesV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetDeviceTypesV4ParamsWithTimeout

func NewAdminGetDeviceTypesV4ParamsWithTimeout(timeout time.Duration) *AdminGetDeviceTypesV4Params

NewAdminGetDeviceTypesV4ParamsWithTimeout creates a new AdminGetDeviceTypesV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetDeviceTypesV4Params) SetAuthInfoWriter

func (o *AdminGetDeviceTypesV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) SetContext

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

SetContext adds the context to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) SetHTTPClientTransport

func (o *AdminGetDeviceTypesV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) SetNamespace

func (o *AdminGetDeviceTypesV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) WithContext

WithContext adds the context to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) WithNamespace

func (o *AdminGetDeviceTypesV4Params) WithNamespace(namespace string) *AdminGetDeviceTypesV4Params

WithNamespace adds the namespace to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) WithTimeout

WithTimeout adds the timeout to the admin get device types v4 params

func (*AdminGetDeviceTypesV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetDeviceTypesV4Reader

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

AdminGetDeviceTypesV4Reader is a Reader for the AdminGetDeviceTypesV4 structure.

func (*AdminGetDeviceTypesV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetDeviceTypesV4Unauthorized

type AdminGetDeviceTypesV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDeviceTypesV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetDeviceTypesV4Unauthorized

func NewAdminGetDeviceTypesV4Unauthorized() *AdminGetDeviceTypesV4Unauthorized

NewAdminGetDeviceTypesV4Unauthorized creates a AdminGetDeviceTypesV4Unauthorized with default headers values

func (*AdminGetDeviceTypesV4Unauthorized) Error

func (*AdminGetDeviceTypesV4Unauthorized) GetPayload

func (*AdminGetDeviceTypesV4Unauthorized) ToJSONString

func (o *AdminGetDeviceTypesV4Unauthorized) ToJSONString() string

type AdminGetDevicesByUserV4BadRequest

type AdminGetDevicesByUserV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDevicesByUserV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20021</td><td>invalid pagination parameter</td></tr></table>

func NewAdminGetDevicesByUserV4BadRequest

func NewAdminGetDevicesByUserV4BadRequest() *AdminGetDevicesByUserV4BadRequest

NewAdminGetDevicesByUserV4BadRequest creates a AdminGetDevicesByUserV4BadRequest with default headers values

func (*AdminGetDevicesByUserV4BadRequest) Error

func (*AdminGetDevicesByUserV4BadRequest) GetPayload

func (*AdminGetDevicesByUserV4BadRequest) ToJSONString

func (o *AdminGetDevicesByUserV4BadRequest) ToJSONString() string

type AdminGetDevicesByUserV4Forbidden added in v0.31.0

type AdminGetDevicesByUserV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDevicesByUserV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetDevicesByUserV4Forbidden added in v0.31.0

func NewAdminGetDevicesByUserV4Forbidden() *AdminGetDevicesByUserV4Forbidden

NewAdminGetDevicesByUserV4Forbidden creates a AdminGetDevicesByUserV4Forbidden with default headers values

func (*AdminGetDevicesByUserV4Forbidden) Error added in v0.31.0

func (*AdminGetDevicesByUserV4Forbidden) GetPayload added in v0.31.0

func (*AdminGetDevicesByUserV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminGetDevicesByUserV4Forbidden) ToJSONString() string

type AdminGetDevicesByUserV4InternalServerError

type AdminGetDevicesByUserV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDevicesByUserV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetDevicesByUserV4InternalServerError

func NewAdminGetDevicesByUserV4InternalServerError() *AdminGetDevicesByUserV4InternalServerError

NewAdminGetDevicesByUserV4InternalServerError creates a AdminGetDevicesByUserV4InternalServerError with default headers values

func (*AdminGetDevicesByUserV4InternalServerError) Error

func (*AdminGetDevicesByUserV4InternalServerError) GetPayload

func (*AdminGetDevicesByUserV4InternalServerError) ToJSONString

type AdminGetDevicesByUserV4NotFound

type AdminGetDevicesByUserV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDevicesByUserV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10139</td><td>platform account not found</td></tr></table>

func NewAdminGetDevicesByUserV4NotFound

func NewAdminGetDevicesByUserV4NotFound() *AdminGetDevicesByUserV4NotFound

NewAdminGetDevicesByUserV4NotFound creates a AdminGetDevicesByUserV4NotFound with default headers values

func (*AdminGetDevicesByUserV4NotFound) Error

func (*AdminGetDevicesByUserV4NotFound) GetPayload

func (*AdminGetDevicesByUserV4NotFound) ToJSONString

func (o *AdminGetDevicesByUserV4NotFound) ToJSONString() string

type AdminGetDevicesByUserV4OK

type AdminGetDevicesByUserV4OK struct {
	Payload *iamclientmodels.ModelDevicesResponseV4
}

AdminGetDevicesByUserV4OK handles this case with default header values.

Operation succeeded

func NewAdminGetDevicesByUserV4OK

func NewAdminGetDevicesByUserV4OK() *AdminGetDevicesByUserV4OK

NewAdminGetDevicesByUserV4OK creates a AdminGetDevicesByUserV4OK with default headers values

func (*AdminGetDevicesByUserV4OK) Error

func (o *AdminGetDevicesByUserV4OK) Error() string

func (*AdminGetDevicesByUserV4OK) GetPayload

func (*AdminGetDevicesByUserV4OK) ToJSONString

func (o *AdminGetDevicesByUserV4OK) ToJSONString() string

type AdminGetDevicesByUserV4Params

type AdminGetDevicesByUserV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID *string

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

AdminGetDevicesByUserV4Params contains all the parameters to send to the API endpoint for the admin get devices by user v4 operation typically these are written to a http.Request

func NewAdminGetDevicesByUserV4Params

func NewAdminGetDevicesByUserV4Params() *AdminGetDevicesByUserV4Params

NewAdminGetDevicesByUserV4Params creates a new AdminGetDevicesByUserV4Params object with the default values initialized.

func NewAdminGetDevicesByUserV4ParamsWithContext

func NewAdminGetDevicesByUserV4ParamsWithContext(ctx context.Context) *AdminGetDevicesByUserV4Params

NewAdminGetDevicesByUserV4ParamsWithContext creates a new AdminGetDevicesByUserV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetDevicesByUserV4ParamsWithHTTPClient

func NewAdminGetDevicesByUserV4ParamsWithHTTPClient(client *http.Client) *AdminGetDevicesByUserV4Params

NewAdminGetDevicesByUserV4ParamsWithHTTPClient creates a new AdminGetDevicesByUserV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetDevicesByUserV4ParamsWithTimeout

func NewAdminGetDevicesByUserV4ParamsWithTimeout(timeout time.Duration) *AdminGetDevicesByUserV4Params

NewAdminGetDevicesByUserV4ParamsWithTimeout creates a new AdminGetDevicesByUserV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetDevicesByUserV4Params) SetAuthInfoWriter

func (o *AdminGetDevicesByUserV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) SetContext

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

SetContext adds the context to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) SetHTTPClientTransport

func (o *AdminGetDevicesByUserV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) SetNamespace

func (o *AdminGetDevicesByUserV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) SetUserID

func (o *AdminGetDevicesByUserV4Params) SetUserID(userID *string)

SetUserID adds the userId to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) WithContext

WithContext adds the context to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) WithNamespace

WithNamespace adds the namespace to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) WithTimeout

WithTimeout adds the timeout to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) WithUserID

WithUserID adds the userID to the admin get devices by user v4 params

func (*AdminGetDevicesByUserV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetDevicesByUserV4Reader

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

AdminGetDevicesByUserV4Reader is a Reader for the AdminGetDevicesByUserV4 structure.

func (*AdminGetDevicesByUserV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetDevicesByUserV4Unauthorized

type AdminGetDevicesByUserV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetDevicesByUserV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetDevicesByUserV4Unauthorized

func NewAdminGetDevicesByUserV4Unauthorized() *AdminGetDevicesByUserV4Unauthorized

NewAdminGetDevicesByUserV4Unauthorized creates a AdminGetDevicesByUserV4Unauthorized with default headers values

func (*AdminGetDevicesByUserV4Unauthorized) Error

func (*AdminGetDevicesByUserV4Unauthorized) GetPayload

func (*AdminGetDevicesByUserV4Unauthorized) ToJSONString

func (o *AdminGetDevicesByUserV4Unauthorized) ToJSONString() string

type AdminGetUserDeviceBansV4Forbidden added in v0.31.0

type AdminGetUserDeviceBansV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetUserDeviceBansV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetUserDeviceBansV4Forbidden added in v0.31.0

func NewAdminGetUserDeviceBansV4Forbidden() *AdminGetUserDeviceBansV4Forbidden

NewAdminGetUserDeviceBansV4Forbidden creates a AdminGetUserDeviceBansV4Forbidden with default headers values

func (*AdminGetUserDeviceBansV4Forbidden) Error added in v0.31.0

func (*AdminGetUserDeviceBansV4Forbidden) GetPayload added in v0.31.0

func (*AdminGetUserDeviceBansV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminGetUserDeviceBansV4Forbidden) ToJSONString() string

type AdminGetUserDeviceBansV4InternalServerError

type AdminGetUserDeviceBansV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetUserDeviceBansV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetUserDeviceBansV4InternalServerError

func NewAdminGetUserDeviceBansV4InternalServerError() *AdminGetUserDeviceBansV4InternalServerError

NewAdminGetUserDeviceBansV4InternalServerError creates a AdminGetUserDeviceBansV4InternalServerError with default headers values

func (*AdminGetUserDeviceBansV4InternalServerError) Error

func (*AdminGetUserDeviceBansV4InternalServerError) GetPayload

func (*AdminGetUserDeviceBansV4InternalServerError) ToJSONString

type AdminGetUserDeviceBansV4NotFound

type AdminGetUserDeviceBansV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetUserDeviceBansV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10139</td><td>platform account not found</td></tr></table>

func NewAdminGetUserDeviceBansV4NotFound

func NewAdminGetUserDeviceBansV4NotFound() *AdminGetUserDeviceBansV4NotFound

NewAdminGetUserDeviceBansV4NotFound creates a AdminGetUserDeviceBansV4NotFound with default headers values

func (*AdminGetUserDeviceBansV4NotFound) Error

func (*AdminGetUserDeviceBansV4NotFound) GetPayload

func (*AdminGetUserDeviceBansV4NotFound) ToJSONString

func (o *AdminGetUserDeviceBansV4NotFound) ToJSONString() string

type AdminGetUserDeviceBansV4OK

type AdminGetUserDeviceBansV4OK struct {
	Payload *iamclientmodels.ModelDeviceBansResponseV4
}

AdminGetUserDeviceBansV4OK handles this case with default header values.

Operation succeeded

func NewAdminGetUserDeviceBansV4OK

func NewAdminGetUserDeviceBansV4OK() *AdminGetUserDeviceBansV4OK

NewAdminGetUserDeviceBansV4OK creates a AdminGetUserDeviceBansV4OK with default headers values

func (*AdminGetUserDeviceBansV4OK) Error

func (*AdminGetUserDeviceBansV4OK) GetPayload

func (*AdminGetUserDeviceBansV4OK) ToJSONString

func (o *AdminGetUserDeviceBansV4OK) ToJSONString() string

type AdminGetUserDeviceBansV4Params

type AdminGetUserDeviceBansV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

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

AdminGetUserDeviceBansV4Params contains all the parameters to send to the API endpoint for the admin get user device bans v4 operation typically these are written to a http.Request

func NewAdminGetUserDeviceBansV4Params

func NewAdminGetUserDeviceBansV4Params() *AdminGetUserDeviceBansV4Params

NewAdminGetUserDeviceBansV4Params creates a new AdminGetUserDeviceBansV4Params object with the default values initialized.

func NewAdminGetUserDeviceBansV4ParamsWithContext

func NewAdminGetUserDeviceBansV4ParamsWithContext(ctx context.Context) *AdminGetUserDeviceBansV4Params

NewAdminGetUserDeviceBansV4ParamsWithContext creates a new AdminGetUserDeviceBansV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetUserDeviceBansV4ParamsWithHTTPClient

func NewAdminGetUserDeviceBansV4ParamsWithHTTPClient(client *http.Client) *AdminGetUserDeviceBansV4Params

NewAdminGetUserDeviceBansV4ParamsWithHTTPClient creates a new AdminGetUserDeviceBansV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetUserDeviceBansV4ParamsWithTimeout

func NewAdminGetUserDeviceBansV4ParamsWithTimeout(timeout time.Duration) *AdminGetUserDeviceBansV4Params

NewAdminGetUserDeviceBansV4ParamsWithTimeout creates a new AdminGetUserDeviceBansV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetUserDeviceBansV4Params) SetAuthInfoWriter

func (o *AdminGetUserDeviceBansV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) SetContext

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

SetContext adds the context to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) SetHTTPClientTransport

func (o *AdminGetUserDeviceBansV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) SetNamespace

func (o *AdminGetUserDeviceBansV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) SetUserID

func (o *AdminGetUserDeviceBansV4Params) SetUserID(userID string)

SetUserID adds the userId to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) WithContext

WithContext adds the context to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) WithNamespace

WithNamespace adds the namespace to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) WithTimeout

WithTimeout adds the timeout to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) WithUserID

WithUserID adds the userID to the admin get user device bans v4 params

func (*AdminGetUserDeviceBansV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetUserDeviceBansV4Reader

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

AdminGetUserDeviceBansV4Reader is a Reader for the AdminGetUserDeviceBansV4 structure.

func (*AdminGetUserDeviceBansV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetUserDeviceBansV4Unauthorized

type AdminGetUserDeviceBansV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetUserDeviceBansV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetUserDeviceBansV4Unauthorized

func NewAdminGetUserDeviceBansV4Unauthorized() *AdminGetUserDeviceBansV4Unauthorized

NewAdminGetUserDeviceBansV4Unauthorized creates a AdminGetUserDeviceBansV4Unauthorized with default headers values

func (*AdminGetUserDeviceBansV4Unauthorized) Error

func (*AdminGetUserDeviceBansV4Unauthorized) GetPayload

func (*AdminGetUserDeviceBansV4Unauthorized) ToJSONString

func (o *AdminGetUserDeviceBansV4Unauthorized) ToJSONString() string

type AdminGetUsersByDeviceV4BadRequest

type AdminGetUsersByDeviceV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetUsersByDeviceV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetUsersByDeviceV4BadRequest

func NewAdminGetUsersByDeviceV4BadRequest() *AdminGetUsersByDeviceV4BadRequest

NewAdminGetUsersByDeviceV4BadRequest creates a AdminGetUsersByDeviceV4BadRequest with default headers values

func (*AdminGetUsersByDeviceV4BadRequest) Error

func (*AdminGetUsersByDeviceV4BadRequest) GetPayload

func (*AdminGetUsersByDeviceV4BadRequest) ToJSONString

func (o *AdminGetUsersByDeviceV4BadRequest) ToJSONString() string

type AdminGetUsersByDeviceV4Forbidden added in v0.31.0

type AdminGetUsersByDeviceV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetUsersByDeviceV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetUsersByDeviceV4Forbidden added in v0.31.0

func NewAdminGetUsersByDeviceV4Forbidden() *AdminGetUsersByDeviceV4Forbidden

NewAdminGetUsersByDeviceV4Forbidden creates a AdminGetUsersByDeviceV4Forbidden with default headers values

func (*AdminGetUsersByDeviceV4Forbidden) Error added in v0.31.0

func (*AdminGetUsersByDeviceV4Forbidden) GetPayload added in v0.31.0

func (*AdminGetUsersByDeviceV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminGetUsersByDeviceV4Forbidden) ToJSONString() string

type AdminGetUsersByDeviceV4InternalServerError

type AdminGetUsersByDeviceV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetUsersByDeviceV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetUsersByDeviceV4InternalServerError

func NewAdminGetUsersByDeviceV4InternalServerError() *AdminGetUsersByDeviceV4InternalServerError

NewAdminGetUsersByDeviceV4InternalServerError creates a AdminGetUsersByDeviceV4InternalServerError with default headers values

func (*AdminGetUsersByDeviceV4InternalServerError) Error

func (*AdminGetUsersByDeviceV4InternalServerError) GetPayload

func (*AdminGetUsersByDeviceV4InternalServerError) ToJSONString

type AdminGetUsersByDeviceV4OK

type AdminGetUsersByDeviceV4OK struct {
	Payload *iamclientmodels.ModelDeviceUsersResponseV4
}

AdminGetUsersByDeviceV4OK handles this case with default header values.

Operation succeeded

func NewAdminGetUsersByDeviceV4OK

func NewAdminGetUsersByDeviceV4OK() *AdminGetUsersByDeviceV4OK

NewAdminGetUsersByDeviceV4OK creates a AdminGetUsersByDeviceV4OK with default headers values

func (*AdminGetUsersByDeviceV4OK) Error

func (o *AdminGetUsersByDeviceV4OK) Error() string

func (*AdminGetUsersByDeviceV4OK) GetPayload

func (*AdminGetUsersByDeviceV4OK) ToJSONString

func (o *AdminGetUsersByDeviceV4OK) ToJSONString() string

type AdminGetUsersByDeviceV4Params

type AdminGetUsersByDeviceV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*DeviceID
	  device id

	*/
	DeviceID string
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

AdminGetUsersByDeviceV4Params contains all the parameters to send to the API endpoint for the admin get users by device v4 operation typically these are written to a http.Request

func NewAdminGetUsersByDeviceV4Params

func NewAdminGetUsersByDeviceV4Params() *AdminGetUsersByDeviceV4Params

NewAdminGetUsersByDeviceV4Params creates a new AdminGetUsersByDeviceV4Params object with the default values initialized.

func NewAdminGetUsersByDeviceV4ParamsWithContext

func NewAdminGetUsersByDeviceV4ParamsWithContext(ctx context.Context) *AdminGetUsersByDeviceV4Params

NewAdminGetUsersByDeviceV4ParamsWithContext creates a new AdminGetUsersByDeviceV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetUsersByDeviceV4ParamsWithHTTPClient

func NewAdminGetUsersByDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminGetUsersByDeviceV4Params

NewAdminGetUsersByDeviceV4ParamsWithHTTPClient creates a new AdminGetUsersByDeviceV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetUsersByDeviceV4ParamsWithTimeout

func NewAdminGetUsersByDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminGetUsersByDeviceV4Params

NewAdminGetUsersByDeviceV4ParamsWithTimeout creates a new AdminGetUsersByDeviceV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetUsersByDeviceV4Params) SetAuthInfoWriter

func (o *AdminGetUsersByDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) SetContext

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

SetContext adds the context to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) SetDeviceID

func (o *AdminGetUsersByDeviceV4Params) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) SetHTTPClientTransport

func (o *AdminGetUsersByDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) SetNamespace

func (o *AdminGetUsersByDeviceV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) WithContext

WithContext adds the context to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) WithDeviceID

WithDeviceID adds the deviceID to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) WithNamespace

WithNamespace adds the namespace to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) WithTimeout

WithTimeout adds the timeout to the admin get users by device v4 params

func (*AdminGetUsersByDeviceV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetUsersByDeviceV4Reader

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

AdminGetUsersByDeviceV4Reader is a Reader for the AdminGetUsersByDeviceV4 structure.

func (*AdminGetUsersByDeviceV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetUsersByDeviceV4Unauthorized

type AdminGetUsersByDeviceV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetUsersByDeviceV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetUsersByDeviceV4Unauthorized

func NewAdminGetUsersByDeviceV4Unauthorized() *AdminGetUsersByDeviceV4Unauthorized

NewAdminGetUsersByDeviceV4Unauthorized creates a AdminGetUsersByDeviceV4Unauthorized with default headers values

func (*AdminGetUsersByDeviceV4Unauthorized) Error

func (*AdminGetUsersByDeviceV4Unauthorized) GetPayload

func (*AdminGetUsersByDeviceV4Unauthorized) ToJSONString

func (o *AdminGetUsersByDeviceV4Unauthorized) ToJSONString() string

type AdminUnbanDeviceV4BadRequest

type AdminUnbanDeviceV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanDeviceV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminUnbanDeviceV4BadRequest

func NewAdminUnbanDeviceV4BadRequest() *AdminUnbanDeviceV4BadRequest

NewAdminUnbanDeviceV4BadRequest creates a AdminUnbanDeviceV4BadRequest with default headers values

func (*AdminUnbanDeviceV4BadRequest) Error

func (*AdminUnbanDeviceV4BadRequest) GetPayload

func (*AdminUnbanDeviceV4BadRequest) ToJSONString

func (o *AdminUnbanDeviceV4BadRequest) ToJSONString() string

type AdminUnbanDeviceV4Forbidden added in v0.31.0

type AdminUnbanDeviceV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanDeviceV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminUnbanDeviceV4Forbidden added in v0.31.0

func NewAdminUnbanDeviceV4Forbidden() *AdminUnbanDeviceV4Forbidden

NewAdminUnbanDeviceV4Forbidden creates a AdminUnbanDeviceV4Forbidden with default headers values

func (*AdminUnbanDeviceV4Forbidden) Error added in v0.31.0

func (*AdminUnbanDeviceV4Forbidden) GetPayload added in v0.31.0

func (*AdminUnbanDeviceV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminUnbanDeviceV4Forbidden) ToJSONString() string

type AdminUnbanDeviceV4InternalServerError

type AdminUnbanDeviceV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanDeviceV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminUnbanDeviceV4InternalServerError

func NewAdminUnbanDeviceV4InternalServerError() *AdminUnbanDeviceV4InternalServerError

NewAdminUnbanDeviceV4InternalServerError creates a AdminUnbanDeviceV4InternalServerError with default headers values

func (*AdminUnbanDeviceV4InternalServerError) Error

func (*AdminUnbanDeviceV4InternalServerError) GetPayload

func (*AdminUnbanDeviceV4InternalServerError) ToJSONString

type AdminUnbanDeviceV4NoContent

type AdminUnbanDeviceV4NoContent struct {
}

AdminUnbanDeviceV4NoContent handles this case with default header values.

Operation succeeded

func NewAdminUnbanDeviceV4NoContent

func NewAdminUnbanDeviceV4NoContent() *AdminUnbanDeviceV4NoContent

NewAdminUnbanDeviceV4NoContent creates a AdminUnbanDeviceV4NoContent with default headers values

func (*AdminUnbanDeviceV4NoContent) Error

type AdminUnbanDeviceV4Params

type AdminUnbanDeviceV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*DeviceID
	  device id

	*/
	DeviceID string
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

AdminUnbanDeviceV4Params contains all the parameters to send to the API endpoint for the admin unban device v4 operation typically these are written to a http.Request

func NewAdminUnbanDeviceV4Params

func NewAdminUnbanDeviceV4Params() *AdminUnbanDeviceV4Params

NewAdminUnbanDeviceV4Params creates a new AdminUnbanDeviceV4Params object with the default values initialized.

func NewAdminUnbanDeviceV4ParamsWithContext

func NewAdminUnbanDeviceV4ParamsWithContext(ctx context.Context) *AdminUnbanDeviceV4Params

NewAdminUnbanDeviceV4ParamsWithContext creates a new AdminUnbanDeviceV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminUnbanDeviceV4ParamsWithHTTPClient

func NewAdminUnbanDeviceV4ParamsWithHTTPClient(client *http.Client) *AdminUnbanDeviceV4Params

NewAdminUnbanDeviceV4ParamsWithHTTPClient creates a new AdminUnbanDeviceV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUnbanDeviceV4ParamsWithTimeout

func NewAdminUnbanDeviceV4ParamsWithTimeout(timeout time.Duration) *AdminUnbanDeviceV4Params

NewAdminUnbanDeviceV4ParamsWithTimeout creates a new AdminUnbanDeviceV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUnbanDeviceV4Params) SetAuthInfoWriter

func (o *AdminUnbanDeviceV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) SetContext

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

SetContext adds the context to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) SetDeviceID

func (o *AdminUnbanDeviceV4Params) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) SetHTTPClientTransport

func (o *AdminUnbanDeviceV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) SetNamespace

func (o *AdminUnbanDeviceV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) WithContext

WithContext adds the context to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) WithDeviceID

func (o *AdminUnbanDeviceV4Params) WithDeviceID(deviceID string) *AdminUnbanDeviceV4Params

WithDeviceID adds the deviceID to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) WithHTTPClient

func (o *AdminUnbanDeviceV4Params) WithHTTPClient(client *http.Client) *AdminUnbanDeviceV4Params

WithHTTPClient adds the HTTPClient to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) WithNamespace

func (o *AdminUnbanDeviceV4Params) WithNamespace(namespace string) *AdminUnbanDeviceV4Params

WithNamespace adds the namespace to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) WithTimeout

WithTimeout adds the timeout to the admin unban device v4 params

func (*AdminUnbanDeviceV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUnbanDeviceV4Reader

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

AdminUnbanDeviceV4Reader is a Reader for the AdminUnbanDeviceV4 structure.

func (*AdminUnbanDeviceV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUnbanDeviceV4Unauthorized

type AdminUnbanDeviceV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanDeviceV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminUnbanDeviceV4Unauthorized

func NewAdminUnbanDeviceV4Unauthorized() *AdminUnbanDeviceV4Unauthorized

NewAdminUnbanDeviceV4Unauthorized creates a AdminUnbanDeviceV4Unauthorized with default headers values

func (*AdminUnbanDeviceV4Unauthorized) Error

func (*AdminUnbanDeviceV4Unauthorized) GetPayload

func (*AdminUnbanDeviceV4Unauthorized) ToJSONString

func (o *AdminUnbanDeviceV4Unauthorized) ToJSONString() string

type AdminUpdateDeviceBanV4BadRequest

type AdminUpdateDeviceBanV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateDeviceBanV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminUpdateDeviceBanV4BadRequest

func NewAdminUpdateDeviceBanV4BadRequest() *AdminUpdateDeviceBanV4BadRequest

NewAdminUpdateDeviceBanV4BadRequest creates a AdminUpdateDeviceBanV4BadRequest with default headers values

func (*AdminUpdateDeviceBanV4BadRequest) Error

func (*AdminUpdateDeviceBanV4BadRequest) GetPayload

func (*AdminUpdateDeviceBanV4BadRequest) ToJSONString

func (o *AdminUpdateDeviceBanV4BadRequest) ToJSONString() string

type AdminUpdateDeviceBanV4Conflict

type AdminUpdateDeviceBanV4Conflict struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateDeviceBanV4Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10202</td><td>active device ban config already exists</td></tr></table>

func NewAdminUpdateDeviceBanV4Conflict

func NewAdminUpdateDeviceBanV4Conflict() *AdminUpdateDeviceBanV4Conflict

NewAdminUpdateDeviceBanV4Conflict creates a AdminUpdateDeviceBanV4Conflict with default headers values

func (*AdminUpdateDeviceBanV4Conflict) Error

func (*AdminUpdateDeviceBanV4Conflict) GetPayload

func (*AdminUpdateDeviceBanV4Conflict) ToJSONString

func (o *AdminUpdateDeviceBanV4Conflict) ToJSONString() string

type AdminUpdateDeviceBanV4Forbidden added in v0.31.0

type AdminUpdateDeviceBanV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateDeviceBanV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminUpdateDeviceBanV4Forbidden added in v0.31.0

func NewAdminUpdateDeviceBanV4Forbidden() *AdminUpdateDeviceBanV4Forbidden

NewAdminUpdateDeviceBanV4Forbidden creates a AdminUpdateDeviceBanV4Forbidden with default headers values

func (*AdminUpdateDeviceBanV4Forbidden) Error added in v0.31.0

func (*AdminUpdateDeviceBanV4Forbidden) GetPayload added in v0.31.0

func (*AdminUpdateDeviceBanV4Forbidden) ToJSONString added in v0.31.0

func (o *AdminUpdateDeviceBanV4Forbidden) ToJSONString() string

type AdminUpdateDeviceBanV4InternalServerError

type AdminUpdateDeviceBanV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateDeviceBanV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminUpdateDeviceBanV4InternalServerError

func NewAdminUpdateDeviceBanV4InternalServerError() *AdminUpdateDeviceBanV4InternalServerError

NewAdminUpdateDeviceBanV4InternalServerError creates a AdminUpdateDeviceBanV4InternalServerError with default headers values

func (*AdminUpdateDeviceBanV4InternalServerError) Error

func (*AdminUpdateDeviceBanV4InternalServerError) GetPayload

func (*AdminUpdateDeviceBanV4InternalServerError) ToJSONString

type AdminUpdateDeviceBanV4NoContent

type AdminUpdateDeviceBanV4NoContent struct {
}

AdminUpdateDeviceBanV4NoContent handles this case with default header values.

Operation succeeded

func NewAdminUpdateDeviceBanV4NoContent

func NewAdminUpdateDeviceBanV4NoContent() *AdminUpdateDeviceBanV4NoContent

NewAdminUpdateDeviceBanV4NoContent creates a AdminUpdateDeviceBanV4NoContent with default headers values

func (*AdminUpdateDeviceBanV4NoContent) Error

type AdminUpdateDeviceBanV4NotFound

type AdminUpdateDeviceBanV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateDeviceBanV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10158</td><td>ban not found</td></tr></table>

func NewAdminUpdateDeviceBanV4NotFound

func NewAdminUpdateDeviceBanV4NotFound() *AdminUpdateDeviceBanV4NotFound

NewAdminUpdateDeviceBanV4NotFound creates a AdminUpdateDeviceBanV4NotFound with default headers values

func (*AdminUpdateDeviceBanV4NotFound) Error

func (*AdminUpdateDeviceBanV4NotFound) GetPayload

func (*AdminUpdateDeviceBanV4NotFound) ToJSONString

func (o *AdminUpdateDeviceBanV4NotFound) ToJSONString() string

type AdminUpdateDeviceBanV4Params

type AdminUpdateDeviceBanV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelDeviceBanUpdateRequestV4
	/*BanID
	  Ban ID, should follow UUID version 4 without hyphen

	*/
	BanID string
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

AdminUpdateDeviceBanV4Params contains all the parameters to send to the API endpoint for the admin update device ban v4 operation typically these are written to a http.Request

func NewAdminUpdateDeviceBanV4Params

func NewAdminUpdateDeviceBanV4Params() *AdminUpdateDeviceBanV4Params

NewAdminUpdateDeviceBanV4Params creates a new AdminUpdateDeviceBanV4Params object with the default values initialized.

func NewAdminUpdateDeviceBanV4ParamsWithContext

func NewAdminUpdateDeviceBanV4ParamsWithContext(ctx context.Context) *AdminUpdateDeviceBanV4Params

NewAdminUpdateDeviceBanV4ParamsWithContext creates a new AdminUpdateDeviceBanV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminUpdateDeviceBanV4ParamsWithHTTPClient

func NewAdminUpdateDeviceBanV4ParamsWithHTTPClient(client *http.Client) *AdminUpdateDeviceBanV4Params

NewAdminUpdateDeviceBanV4ParamsWithHTTPClient creates a new AdminUpdateDeviceBanV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUpdateDeviceBanV4ParamsWithTimeout

func NewAdminUpdateDeviceBanV4ParamsWithTimeout(timeout time.Duration) *AdminUpdateDeviceBanV4Params

NewAdminUpdateDeviceBanV4ParamsWithTimeout creates a new AdminUpdateDeviceBanV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUpdateDeviceBanV4Params) SetAuthInfoWriter

func (o *AdminUpdateDeviceBanV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) SetBanID

func (o *AdminUpdateDeviceBanV4Params) SetBanID(banID string)

SetBanID adds the banId to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) SetBody

SetBody adds the body to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) SetContext

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

SetContext adds the context to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) SetHTTPClientTransport

func (o *AdminUpdateDeviceBanV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) SetNamespace

func (o *AdminUpdateDeviceBanV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) WithBanID

WithBanID adds the banID to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) WithBody

WithBody adds the body to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) WithContext

WithContext adds the context to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) WithNamespace

WithNamespace adds the namespace to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) WithTimeout

WithTimeout adds the timeout to the admin update device ban v4 params

func (*AdminUpdateDeviceBanV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateDeviceBanV4Reader

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

AdminUpdateDeviceBanV4Reader is a Reader for the AdminUpdateDeviceBanV4 structure.

func (*AdminUpdateDeviceBanV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateDeviceBanV4Unauthorized

type AdminUpdateDeviceBanV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateDeviceBanV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminUpdateDeviceBanV4Unauthorized

func NewAdminUpdateDeviceBanV4Unauthorized() *AdminUpdateDeviceBanV4Unauthorized

NewAdminUpdateDeviceBanV4Unauthorized creates a AdminUpdateDeviceBanV4Unauthorized with default headers values

func (*AdminUpdateDeviceBanV4Unauthorized) Error

func (*AdminUpdateDeviceBanV4Unauthorized) GetPayload

func (*AdminUpdateDeviceBanV4Unauthorized) ToJSONString

func (o *AdminUpdateDeviceBanV4Unauthorized) ToJSONString() string

type Client

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

Client for devices v4 API

func (*Client) AdminBanDeviceV4 deprecated

Deprecated: 2022-08-10 - Use AdminBanDeviceV4Short instead.

AdminBanDeviceV4 admin ban a device This is the endpoint for an admin to ban a device

func (*Client) AdminBanDeviceV4Short

func (a *Client) AdminBanDeviceV4Short(params *AdminBanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanDeviceV4NoContent, error)

AdminBanDeviceV4Short admin ban a device This is the endpoint for an admin to ban a device

func (*Client) AdminDecryptDeviceV4 deprecated

Deprecated: 2022-08-10 - Use AdminDecryptDeviceV4Short instead.

AdminDecryptDeviceV4 admin decrypt device id This is the endpoint for an admin to decrypt device id

func (*Client) AdminDecryptDeviceV4Short

func (a *Client) AdminDecryptDeviceV4Short(params *AdminDecryptDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDecryptDeviceV4OK, error)

AdminDecryptDeviceV4Short admin decrypt device id This is the endpoint for an admin to decrypt device id

func (*Client) AdminGenerateReportV4 deprecated

Deprecated: 2022-08-10 - Use AdminGenerateReportV4Short instead.

AdminGenerateReportV4 admin generate device report This is the endpoint for an admin to generate device report

func (*Client) AdminGenerateReportV4Short

func (a *Client) AdminGenerateReportV4Short(params *AdminGenerateReportV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateReportV4OK, error)

AdminGenerateReportV4Short admin generate device report This is the endpoint for an admin to generate device report

func (*Client) AdminGetBannedDevicesV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetBannedDevicesV4Short instead.

AdminGetBannedDevicesV4 admin get banned devices This is the endpoint for an admin to get banned devices

func (*Client) AdminGetBannedDevicesV4Short

func (a *Client) AdminGetBannedDevicesV4Short(params *AdminGetBannedDevicesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedDevicesV4OK, error)

AdminGetBannedDevicesV4Short admin get banned devices This is the endpoint for an admin to get banned devices

func (*Client) AdminGetDeviceBanV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetDeviceBanV4Short instead.

AdminGetDeviceBanV4 admin get device ban config This is the endpoint for an admin to get device ban config

func (*Client) AdminGetDeviceBanV4Short

func (a *Client) AdminGetDeviceBanV4Short(params *AdminGetDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBanV4OK, error)

AdminGetDeviceBanV4Short admin get device ban config This is the endpoint for an admin to get device ban config

func (*Client) AdminGetDeviceBansV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetDeviceBansV4Short instead.

AdminGetDeviceBansV4 admin get device ban list This is the endpoint for an admin to get device ban list

func (*Client) AdminGetDeviceBansV4Short

func (a *Client) AdminGetDeviceBansV4Short(params *AdminGetDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBansV4OK, error)

AdminGetDeviceBansV4Short admin get device ban list This is the endpoint for an admin to get device ban list

func (*Client) AdminGetDeviceTypesV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetDeviceTypesV4Short instead.

AdminGetDeviceTypesV4 admin get device types This is the endpoint for an admin to get device types

func (*Client) AdminGetDeviceTypesV4Short

func (a *Client) AdminGetDeviceTypesV4Short(params *AdminGetDeviceTypesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceTypesV4OK, error)

AdminGetDeviceTypesV4Short admin get device types This is the endpoint for an admin to get device types

func (*Client) AdminGetDevicesByUserV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetDevicesByUserV4Short instead.

AdminGetDevicesByUserV4 admin get devices by user id This is the endpoint for an admin to get devices a user ever used to login

func (*Client) AdminGetDevicesByUserV4Short

func (a *Client) AdminGetDevicesByUserV4Short(params *AdminGetDevicesByUserV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDevicesByUserV4OK, error)

AdminGetDevicesByUserV4Short admin get devices by user id This is the endpoint for an admin to get devices a user ever used to login

func (*Client) AdminGetUserDeviceBansV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetUserDeviceBansV4Short instead.

AdminGetUserDeviceBansV4 admin get device bans of user This is the endpoint for an admin to get device bans of user

func (*Client) AdminGetUserDeviceBansV4Short

func (a *Client) AdminGetUserDeviceBansV4Short(params *AdminGetUserDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserDeviceBansV4OK, error)

AdminGetUserDeviceBansV4Short admin get device bans of user This is the endpoint for an admin to get device bans of user

func (*Client) AdminGetUsersByDeviceV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetUsersByDeviceV4Short instead.

AdminGetUsersByDeviceV4 admin get users by device id This is the endpoint for an admin to get users that ever login on the device

func (*Client) AdminGetUsersByDeviceV4Short

func (a *Client) AdminGetUsersByDeviceV4Short(params *AdminGetUsersByDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUsersByDeviceV4OK, error)

AdminGetUsersByDeviceV4Short admin get users by device id This is the endpoint for an admin to get users that ever login on the device

func (*Client) AdminUnbanDeviceV4 deprecated

Deprecated: 2022-08-10 - Use AdminUnbanDeviceV4Short instead.

AdminUnbanDeviceV4 admin unban device This is the endpoint for an admin to unban device

func (*Client) AdminUnbanDeviceV4Short

func (a *Client) AdminUnbanDeviceV4Short(params *AdminUnbanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanDeviceV4NoContent, error)

AdminUnbanDeviceV4Short admin unban device This is the endpoint for an admin to unban device

func (*Client) AdminUpdateDeviceBanV4 deprecated

Deprecated: 2022-08-10 - Use AdminUpdateDeviceBanV4Short instead.

AdminUpdateDeviceBanV4 admin update device ban config This is the endpoint for an admin to update a device ban config

func (*Client) AdminUpdateDeviceBanV4Short

func (a *Client) AdminUpdateDeviceBanV4Short(params *AdminUpdateDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateDeviceBanV4NoContent, error)

AdminUpdateDeviceBanV4Short admin update device ban config This is the endpoint for an admin to update a device ban config

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetDevicesByUserV4(params *AdminGetDevicesByUserV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDevicesByUserV4OK, *AdminGetDevicesByUserV4BadRequest, *AdminGetDevicesByUserV4Unauthorized, *AdminGetDevicesByUserV4Forbidden, *AdminGetDevicesByUserV4NotFound, *AdminGetDevicesByUserV4InternalServerError, error)
	AdminGetDevicesByUserV4Short(params *AdminGetDevicesByUserV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDevicesByUserV4OK, error)
	AdminGetBannedDevicesV4(params *AdminGetBannedDevicesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedDevicesV4OK, *AdminGetBannedDevicesV4Unauthorized, *AdminGetBannedDevicesV4Forbidden, *AdminGetBannedDevicesV4InternalServerError, error)
	AdminGetBannedDevicesV4Short(params *AdminGetBannedDevicesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedDevicesV4OK, error)
	AdminGetUserDeviceBansV4(params *AdminGetUserDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserDeviceBansV4OK, *AdminGetUserDeviceBansV4Unauthorized, *AdminGetUserDeviceBansV4Forbidden, *AdminGetUserDeviceBansV4NotFound, *AdminGetUserDeviceBansV4InternalServerError, error)
	AdminGetUserDeviceBansV4Short(params *AdminGetUserDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserDeviceBansV4OK, error)
	AdminBanDeviceV4(params *AdminBanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanDeviceV4NoContent, *AdminBanDeviceV4BadRequest, *AdminBanDeviceV4Unauthorized, *AdminBanDeviceV4Forbidden, *AdminBanDeviceV4Conflict, *AdminBanDeviceV4InternalServerError, error)
	AdminBanDeviceV4Short(params *AdminBanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanDeviceV4NoContent, error)
	AdminGetDeviceBanV4(params *AdminGetDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBanV4OK, *AdminGetDeviceBanV4BadRequest, *AdminGetDeviceBanV4Unauthorized, *AdminGetDeviceBanV4Forbidden, *AdminGetDeviceBanV4NotFound, *AdminGetDeviceBanV4InternalServerError, error)
	AdminGetDeviceBanV4Short(params *AdminGetDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBanV4OK, error)
	AdminUpdateDeviceBanV4(params *AdminUpdateDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateDeviceBanV4NoContent, *AdminUpdateDeviceBanV4BadRequest, *AdminUpdateDeviceBanV4Unauthorized, *AdminUpdateDeviceBanV4Forbidden, *AdminUpdateDeviceBanV4NotFound, *AdminUpdateDeviceBanV4Conflict, *AdminUpdateDeviceBanV4InternalServerError, error)
	AdminUpdateDeviceBanV4Short(params *AdminUpdateDeviceBanV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateDeviceBanV4NoContent, error)
	AdminGenerateReportV4(params *AdminGenerateReportV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateReportV4OK, *AdminGenerateReportV4BadRequest, *AdminGenerateReportV4Unauthorized, *AdminGenerateReportV4Forbidden, *AdminGenerateReportV4NotFound, *AdminGenerateReportV4InternalServerError, error)
	AdminGenerateReportV4Short(params *AdminGenerateReportV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateReportV4OK, error)
	AdminGetDeviceTypesV4(params *AdminGetDeviceTypesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceTypesV4OK, *AdminGetDeviceTypesV4Unauthorized, *AdminGetDeviceTypesV4Forbidden, *AdminGetDeviceTypesV4InternalServerError, error)
	AdminGetDeviceTypesV4Short(params *AdminGetDeviceTypesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceTypesV4OK, error)
	AdminGetDeviceBansV4(params *AdminGetDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBansV4OK, *AdminGetDeviceBansV4BadRequest, *AdminGetDeviceBansV4Unauthorized, *AdminGetDeviceBansV4Forbidden, *AdminGetDeviceBansV4InternalServerError, error)
	AdminGetDeviceBansV4Short(params *AdminGetDeviceBansV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetDeviceBansV4OK, error)
	AdminDecryptDeviceV4(params *AdminDecryptDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDecryptDeviceV4OK, *AdminDecryptDeviceV4BadRequest, *AdminDecryptDeviceV4Unauthorized, *AdminDecryptDeviceV4Forbidden, *AdminDecryptDeviceV4InternalServerError, error)
	AdminDecryptDeviceV4Short(params *AdminDecryptDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDecryptDeviceV4OK, error)
	AdminUnbanDeviceV4(params *AdminUnbanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanDeviceV4NoContent, *AdminUnbanDeviceV4BadRequest, *AdminUnbanDeviceV4Unauthorized, *AdminUnbanDeviceV4Forbidden, *AdminUnbanDeviceV4InternalServerError, error)
	AdminUnbanDeviceV4Short(params *AdminUnbanDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanDeviceV4NoContent, error)
	AdminGetUsersByDeviceV4(params *AdminGetUsersByDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUsersByDeviceV4OK, *AdminGetUsersByDeviceV4BadRequest, *AdminGetUsersByDeviceV4Unauthorized, *AdminGetUsersByDeviceV4Forbidden, *AdminGetUsersByDeviceV4InternalServerError, error)
	AdminGetUsersByDeviceV4Short(params *AdminGetUsersByDeviceV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUsersByDeviceV4OK, 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 devices v4 API client.

Jump to

Keyboard shortcuts

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