bans

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 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 AdminBanUserBulkV3BadRequest added in v0.27.0

type AdminBanUserBulkV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanUserBulkV3BadRequest 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>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminBanUserBulkV3BadRequest added in v0.27.0

func NewAdminBanUserBulkV3BadRequest() *AdminBanUserBulkV3BadRequest

NewAdminBanUserBulkV3BadRequest creates a AdminBanUserBulkV3BadRequest with default headers values

func (*AdminBanUserBulkV3BadRequest) Error added in v0.27.0

func (*AdminBanUserBulkV3BadRequest) GetPayload added in v0.27.0

func (*AdminBanUserBulkV3BadRequest) ToJSONString added in v0.27.0

func (o *AdminBanUserBulkV3BadRequest) ToJSONString() string

type AdminBanUserBulkV3Created added in v0.27.0

type AdminBanUserBulkV3Created struct {
	Payload *iamclientmodels.ModelListBulkUserBanResponseV3
}

AdminBanUserBulkV3Created handles this case with default header values.

Created

func NewAdminBanUserBulkV3Created added in v0.27.0

func NewAdminBanUserBulkV3Created() *AdminBanUserBulkV3Created

NewAdminBanUserBulkV3Created creates a AdminBanUserBulkV3Created with default headers values

func (*AdminBanUserBulkV3Created) Error added in v0.27.0

func (o *AdminBanUserBulkV3Created) Error() string

func (*AdminBanUserBulkV3Created) GetPayload added in v0.27.0

func (*AdminBanUserBulkV3Created) ToJSONString added in v0.27.0

func (o *AdminBanUserBulkV3Created) ToJSONString() string

type AdminBanUserBulkV3Forbidden added in v0.27.0

type AdminBanUserBulkV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanUserBulkV3Forbidden 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 NewAdminBanUserBulkV3Forbidden added in v0.27.0

func NewAdminBanUserBulkV3Forbidden() *AdminBanUserBulkV3Forbidden

NewAdminBanUserBulkV3Forbidden creates a AdminBanUserBulkV3Forbidden with default headers values

func (*AdminBanUserBulkV3Forbidden) Error added in v0.27.0

func (*AdminBanUserBulkV3Forbidden) GetPayload added in v0.27.0

func (*AdminBanUserBulkV3Forbidden) ToJSONString added in v0.27.0

func (o *AdminBanUserBulkV3Forbidden) ToJSONString() string

type AdminBanUserBulkV3InternalServerError added in v0.31.0

type AdminBanUserBulkV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanUserBulkV3InternalServerError 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 NewAdminBanUserBulkV3InternalServerError added in v0.31.0

func NewAdminBanUserBulkV3InternalServerError() *AdminBanUserBulkV3InternalServerError

NewAdminBanUserBulkV3InternalServerError creates a AdminBanUserBulkV3InternalServerError with default headers values

func (*AdminBanUserBulkV3InternalServerError) Error added in v0.31.0

func (*AdminBanUserBulkV3InternalServerError) GetPayload added in v0.31.0

func (*AdminBanUserBulkV3InternalServerError) ToJSONString added in v0.31.0

type AdminBanUserBulkV3NotFound added in v0.27.0

type AdminBanUserBulkV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanUserBulkV3NotFound 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 NewAdminBanUserBulkV3NotFound added in v0.27.0

func NewAdminBanUserBulkV3NotFound() *AdminBanUserBulkV3NotFound

NewAdminBanUserBulkV3NotFound creates a AdminBanUserBulkV3NotFound with default headers values

func (*AdminBanUserBulkV3NotFound) Error added in v0.27.0

func (*AdminBanUserBulkV3NotFound) GetPayload added in v0.27.0

func (*AdminBanUserBulkV3NotFound) ToJSONString added in v0.27.0

func (o *AdminBanUserBulkV3NotFound) ToJSONString() string

type AdminBanUserBulkV3Params added in v0.27.0

type AdminBanUserBulkV3Params struct {

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

	*/
	Namespace string

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

AdminBanUserBulkV3Params contains all the parameters to send to the API endpoint for the admin ban user bulk v3 operation typically these are written to a http.Request

func NewAdminBanUserBulkV3Params added in v0.27.0

func NewAdminBanUserBulkV3Params() *AdminBanUserBulkV3Params

NewAdminBanUserBulkV3Params creates a new AdminBanUserBulkV3Params object with the default values initialized.

func NewAdminBanUserBulkV3ParamsWithContext added in v0.27.0

func NewAdminBanUserBulkV3ParamsWithContext(ctx context.Context) *AdminBanUserBulkV3Params

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

func NewAdminBanUserBulkV3ParamsWithHTTPClient added in v0.27.0

func NewAdminBanUserBulkV3ParamsWithHTTPClient(client *http.Client) *AdminBanUserBulkV3Params

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

func NewAdminBanUserBulkV3ParamsWithTimeout added in v0.27.0

func NewAdminBanUserBulkV3ParamsWithTimeout(timeout time.Duration) *AdminBanUserBulkV3Params

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

func (*AdminBanUserBulkV3Params) SetAuthInfoWriter added in v0.27.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) SetBody added in v0.27.0

SetBody adds the body to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) SetContext added in v0.27.0

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

SetContext adds the context to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) SetHTTPClient added in v0.27.0

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

SetHTTPClient adds the HTTPClient to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) SetHTTPClientTransport added in v0.27.0

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

SetHTTPClient adds the HTTPClient Transport to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) SetNamespace added in v0.27.0

func (o *AdminBanUserBulkV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) SetTimeout added in v0.27.0

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

SetTimeout adds the timeout to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) WithBody added in v0.27.0

WithBody adds the body to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) WithContext added in v0.27.0

WithContext adds the context to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) WithHTTPClient added in v0.27.0

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

WithHTTPClient adds the HTTPClient to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) WithNamespace added in v0.27.0

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

WithNamespace adds the namespace to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) WithTimeout added in v0.27.0

WithTimeout adds the timeout to the admin ban user bulk v3 params

func (*AdminBanUserBulkV3Params) WriteToRequest added in v0.27.0

WriteToRequest writes these params to a swagger request

type AdminBanUserBulkV3Reader added in v0.27.0

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

AdminBanUserBulkV3Reader is a Reader for the AdminBanUserBulkV3 structure.

func (*AdminBanUserBulkV3Reader) ReadResponse added in v0.27.0

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

ReadResponse reads a server response into the received o.

type AdminBanUserBulkV3Unauthorized added in v0.27.0

type AdminBanUserBulkV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminBanUserBulkV3Unauthorized 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 NewAdminBanUserBulkV3Unauthorized added in v0.27.0

func NewAdminBanUserBulkV3Unauthorized() *AdminBanUserBulkV3Unauthorized

NewAdminBanUserBulkV3Unauthorized creates a AdminBanUserBulkV3Unauthorized with default headers values

func (*AdminBanUserBulkV3Unauthorized) Error added in v0.27.0

func (*AdminBanUserBulkV3Unauthorized) GetPayload added in v0.27.0

func (*AdminBanUserBulkV3Unauthorized) ToJSONString added in v0.27.0

func (o *AdminBanUserBulkV3Unauthorized) ToJSONString() string

type AdminGetBannedUsersV3Forbidden

type AdminGetBannedUsersV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBannedUsersV3Forbidden 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 NewAdminGetBannedUsersV3Forbidden

func NewAdminGetBannedUsersV3Forbidden() *AdminGetBannedUsersV3Forbidden

NewAdminGetBannedUsersV3Forbidden creates a AdminGetBannedUsersV3Forbidden with default headers values

func (*AdminGetBannedUsersV3Forbidden) Error

func (*AdminGetBannedUsersV3Forbidden) GetPayload

func (*AdminGetBannedUsersV3Forbidden) ToJSONString added in v0.25.0

func (o *AdminGetBannedUsersV3Forbidden) ToJSONString() string

type AdminGetBannedUsersV3InternalServerError added in v0.31.0

type AdminGetBannedUsersV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBannedUsersV3InternalServerError 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 NewAdminGetBannedUsersV3InternalServerError added in v0.31.0

func NewAdminGetBannedUsersV3InternalServerError() *AdminGetBannedUsersV3InternalServerError

NewAdminGetBannedUsersV3InternalServerError creates a AdminGetBannedUsersV3InternalServerError with default headers values

func (*AdminGetBannedUsersV3InternalServerError) Error added in v0.31.0

func (*AdminGetBannedUsersV3InternalServerError) GetPayload added in v0.31.0

func (*AdminGetBannedUsersV3InternalServerError) ToJSONString added in v0.31.0

type AdminGetBannedUsersV3OK

type AdminGetBannedUsersV3OK struct {
	Payload *iamclientmodels.ModelGetUserBanV3Response
}

AdminGetBannedUsersV3OK handles this case with default header values.

OK

func NewAdminGetBannedUsersV3OK

func NewAdminGetBannedUsersV3OK() *AdminGetBannedUsersV3OK

NewAdminGetBannedUsersV3OK creates a AdminGetBannedUsersV3OK with default headers values

func (*AdminGetBannedUsersV3OK) Error

func (o *AdminGetBannedUsersV3OK) Error() string

func (*AdminGetBannedUsersV3OK) GetPayload

func (*AdminGetBannedUsersV3OK) ToJSONString added in v0.25.0

func (o *AdminGetBannedUsersV3OK) ToJSONString() string

type AdminGetBannedUsersV3Params

type AdminGetBannedUsersV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly
	  Filter ban based on the ban status. If you set this, only active ban returned

	*/
	ActiveOnly *bool
	/*BanType
	  Filter ban based on the ban type. You can see list of ban from GET /iam/v3/admin/bans

	*/
	BanType *string
	/*Limit
	  Pagination configuration for how much data need to be retrieved in on request, should be in positive number. Default is 20

	*/
	Limit *int64
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*Offset
	  Pagination configuration of from what point the record will be selected, should be in positive number. Default is 0

	*/
	Offset *int64

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

AdminGetBannedUsersV3Params contains all the parameters to send to the API endpoint for the admin get banned users v3 operation typically these are written to a http.Request

func NewAdminGetBannedUsersV3Params

func NewAdminGetBannedUsersV3Params() *AdminGetBannedUsersV3Params

NewAdminGetBannedUsersV3Params creates a new AdminGetBannedUsersV3Params object with the default values initialized.

func NewAdminGetBannedUsersV3ParamsWithContext

func NewAdminGetBannedUsersV3ParamsWithContext(ctx context.Context) *AdminGetBannedUsersV3Params

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

func NewAdminGetBannedUsersV3ParamsWithHTTPClient

func NewAdminGetBannedUsersV3ParamsWithHTTPClient(client *http.Client) *AdminGetBannedUsersV3Params

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

func NewAdminGetBannedUsersV3ParamsWithTimeout

func NewAdminGetBannedUsersV3ParamsWithTimeout(timeout time.Duration) *AdminGetBannedUsersV3Params

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

func (*AdminGetBannedUsersV3Params) SetActiveOnly

func (o *AdminGetBannedUsersV3Params) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetBanType

func (o *AdminGetBannedUsersV3Params) SetBanType(banType *string)

SetBanType adds the banType to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetContext

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

SetContext adds the context to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetLimit

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

SetLimit adds the limit to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetNamespace

func (o *AdminGetBannedUsersV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetOffset

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

SetOffset adds the offset to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WithActiveOnly

func (o *AdminGetBannedUsersV3Params) WithActiveOnly(activeOnly *bool) *AdminGetBannedUsersV3Params

WithActiveOnly adds the activeOnly to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WithBanType

WithBanType adds the banType to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WithContext

WithContext adds the context to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WithLimit

WithLimit adds the limit to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WithNamespace

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

WithNamespace adds the namespace to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WithOffset

WithOffset adds the offset to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WithTimeout

WithTimeout adds the timeout to the admin get banned users v3 params

func (*AdminGetBannedUsersV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetBannedUsersV3Reader

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

AdminGetBannedUsersV3Reader is a Reader for the AdminGetBannedUsersV3 structure.

func (*AdminGetBannedUsersV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetBannedUsersV3Unauthorized

type AdminGetBannedUsersV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBannedUsersV3Unauthorized 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 NewAdminGetBannedUsersV3Unauthorized

func NewAdminGetBannedUsersV3Unauthorized() *AdminGetBannedUsersV3Unauthorized

NewAdminGetBannedUsersV3Unauthorized creates a AdminGetBannedUsersV3Unauthorized with default headers values

func (*AdminGetBannedUsersV3Unauthorized) Error

func (*AdminGetBannedUsersV3Unauthorized) GetPayload

func (*AdminGetBannedUsersV3Unauthorized) ToJSONString added in v0.25.0

func (o *AdminGetBannedUsersV3Unauthorized) ToJSONString() string

type AdminGetBansTypeV3Forbidden

type AdminGetBansTypeV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBansTypeV3Forbidden 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 NewAdminGetBansTypeV3Forbidden

func NewAdminGetBansTypeV3Forbidden() *AdminGetBansTypeV3Forbidden

NewAdminGetBansTypeV3Forbidden creates a AdminGetBansTypeV3Forbidden with default headers values

func (*AdminGetBansTypeV3Forbidden) Error

func (*AdminGetBansTypeV3Forbidden) GetPayload

func (*AdminGetBansTypeV3Forbidden) ToJSONString added in v0.25.0

func (o *AdminGetBansTypeV3Forbidden) ToJSONString() string

type AdminGetBansTypeV3InternalServerError added in v0.31.0

type AdminGetBansTypeV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBansTypeV3InternalServerError 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 NewAdminGetBansTypeV3InternalServerError added in v0.31.0

func NewAdminGetBansTypeV3InternalServerError() *AdminGetBansTypeV3InternalServerError

NewAdminGetBansTypeV3InternalServerError creates a AdminGetBansTypeV3InternalServerError with default headers values

func (*AdminGetBansTypeV3InternalServerError) Error added in v0.31.0

func (*AdminGetBansTypeV3InternalServerError) GetPayload added in v0.31.0

func (*AdminGetBansTypeV3InternalServerError) ToJSONString added in v0.31.0

type AdminGetBansTypeV3OK

type AdminGetBansTypeV3OK struct {
	Payload *iamclientmodels.AccountcommonBansV3
}

AdminGetBansTypeV3OK handles this case with default header values.

OK

func NewAdminGetBansTypeV3OK

func NewAdminGetBansTypeV3OK() *AdminGetBansTypeV3OK

NewAdminGetBansTypeV3OK creates a AdminGetBansTypeV3OK with default headers values

func (*AdminGetBansTypeV3OK) Error

func (o *AdminGetBansTypeV3OK) Error() string

func (*AdminGetBansTypeV3OK) GetPayload

func (*AdminGetBansTypeV3OK) ToJSONString added in v0.25.0

func (o *AdminGetBansTypeV3OK) ToJSONString() string

type AdminGetBansTypeV3Params

type AdminGetBansTypeV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

AdminGetBansTypeV3Params contains all the parameters to send to the API endpoint for the admin get bans type v3 operation typically these are written to a http.Request

func NewAdminGetBansTypeV3Params

func NewAdminGetBansTypeV3Params() *AdminGetBansTypeV3Params

NewAdminGetBansTypeV3Params creates a new AdminGetBansTypeV3Params object with the default values initialized.

func NewAdminGetBansTypeV3ParamsWithContext

func NewAdminGetBansTypeV3ParamsWithContext(ctx context.Context) *AdminGetBansTypeV3Params

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

func NewAdminGetBansTypeV3ParamsWithHTTPClient

func NewAdminGetBansTypeV3ParamsWithHTTPClient(client *http.Client) *AdminGetBansTypeV3Params

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

func NewAdminGetBansTypeV3ParamsWithTimeout

func NewAdminGetBansTypeV3ParamsWithTimeout(timeout time.Duration) *AdminGetBansTypeV3Params

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

func (*AdminGetBansTypeV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get bans type v3 params

func (*AdminGetBansTypeV3Params) SetContext

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

SetContext adds the context to the admin get bans type v3 params

func (*AdminGetBansTypeV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get bans type v3 params

func (*AdminGetBansTypeV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get bans type v3 params

func (*AdminGetBansTypeV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get bans type v3 params

func (*AdminGetBansTypeV3Params) WithContext

WithContext adds the context to the admin get bans type v3 params

func (*AdminGetBansTypeV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get bans type v3 params

func (*AdminGetBansTypeV3Params) WithTimeout

WithTimeout adds the timeout to the admin get bans type v3 params

func (*AdminGetBansTypeV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetBansTypeV3Reader

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

AdminGetBansTypeV3Reader is a Reader for the AdminGetBansTypeV3 structure.

func (*AdminGetBansTypeV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetBansTypeV3Unauthorized

type AdminGetBansTypeV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBansTypeV3Unauthorized 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 NewAdminGetBansTypeV3Unauthorized

func NewAdminGetBansTypeV3Unauthorized() *AdminGetBansTypeV3Unauthorized

NewAdminGetBansTypeV3Unauthorized creates a AdminGetBansTypeV3Unauthorized with default headers values

func (*AdminGetBansTypeV3Unauthorized) Error

func (*AdminGetBansTypeV3Unauthorized) GetPayload

func (*AdminGetBansTypeV3Unauthorized) ToJSONString added in v0.25.0

func (o *AdminGetBansTypeV3Unauthorized) ToJSONString() string

type AdminGetBansTypeWithNamespaceV3Forbidden

type AdminGetBansTypeWithNamespaceV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBansTypeWithNamespaceV3Forbidden 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 NewAdminGetBansTypeWithNamespaceV3Forbidden

func NewAdminGetBansTypeWithNamespaceV3Forbidden() *AdminGetBansTypeWithNamespaceV3Forbidden

NewAdminGetBansTypeWithNamespaceV3Forbidden creates a AdminGetBansTypeWithNamespaceV3Forbidden with default headers values

func (*AdminGetBansTypeWithNamespaceV3Forbidden) Error

func (*AdminGetBansTypeWithNamespaceV3Forbidden) GetPayload

func (*AdminGetBansTypeWithNamespaceV3Forbidden) ToJSONString added in v0.25.0

type AdminGetBansTypeWithNamespaceV3InternalServerError added in v0.31.0

type AdminGetBansTypeWithNamespaceV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBansTypeWithNamespaceV3InternalServerError 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 NewAdminGetBansTypeWithNamespaceV3InternalServerError added in v0.31.0

func NewAdminGetBansTypeWithNamespaceV3InternalServerError() *AdminGetBansTypeWithNamespaceV3InternalServerError

NewAdminGetBansTypeWithNamespaceV3InternalServerError creates a AdminGetBansTypeWithNamespaceV3InternalServerError with default headers values

func (*AdminGetBansTypeWithNamespaceV3InternalServerError) Error added in v0.31.0

func (*AdminGetBansTypeWithNamespaceV3InternalServerError) GetPayload added in v0.31.0

func (*AdminGetBansTypeWithNamespaceV3InternalServerError) ToJSONString added in v0.31.0

type AdminGetBansTypeWithNamespaceV3OK

type AdminGetBansTypeWithNamespaceV3OK struct {
	Payload *iamclientmodels.AccountcommonBansV3
}

AdminGetBansTypeWithNamespaceV3OK handles this case with default header values.

OK

func NewAdminGetBansTypeWithNamespaceV3OK

func NewAdminGetBansTypeWithNamespaceV3OK() *AdminGetBansTypeWithNamespaceV3OK

NewAdminGetBansTypeWithNamespaceV3OK creates a AdminGetBansTypeWithNamespaceV3OK with default headers values

func (*AdminGetBansTypeWithNamespaceV3OK) Error

func (*AdminGetBansTypeWithNamespaceV3OK) GetPayload

func (*AdminGetBansTypeWithNamespaceV3OK) ToJSONString added in v0.25.0

func (o *AdminGetBansTypeWithNamespaceV3OK) ToJSONString() string

type AdminGetBansTypeWithNamespaceV3Params

type AdminGetBansTypeWithNamespaceV3Params 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
}

AdminGetBansTypeWithNamespaceV3Params contains all the parameters to send to the API endpoint for the admin get bans type with namespace v3 operation typically these are written to a http.Request

func NewAdminGetBansTypeWithNamespaceV3Params

func NewAdminGetBansTypeWithNamespaceV3Params() *AdminGetBansTypeWithNamespaceV3Params

NewAdminGetBansTypeWithNamespaceV3Params creates a new AdminGetBansTypeWithNamespaceV3Params object with the default values initialized.

func NewAdminGetBansTypeWithNamespaceV3ParamsWithContext

func NewAdminGetBansTypeWithNamespaceV3ParamsWithContext(ctx context.Context) *AdminGetBansTypeWithNamespaceV3Params

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

func NewAdminGetBansTypeWithNamespaceV3ParamsWithHTTPClient

func NewAdminGetBansTypeWithNamespaceV3ParamsWithHTTPClient(client *http.Client) *AdminGetBansTypeWithNamespaceV3Params

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

func NewAdminGetBansTypeWithNamespaceV3ParamsWithTimeout

func NewAdminGetBansTypeWithNamespaceV3ParamsWithTimeout(timeout time.Duration) *AdminGetBansTypeWithNamespaceV3Params

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

func (*AdminGetBansTypeWithNamespaceV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) SetContext

SetContext adds the context to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) SetNamespace

func (o *AdminGetBansTypeWithNamespaceV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) WithContext

WithContext adds the context to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) WithNamespace

WithNamespace adds the namespace to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) WithTimeout

WithTimeout adds the timeout to the admin get bans type with namespace v3 params

func (*AdminGetBansTypeWithNamespaceV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetBansTypeWithNamespaceV3Reader

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

AdminGetBansTypeWithNamespaceV3Reader is a Reader for the AdminGetBansTypeWithNamespaceV3 structure.

func (*AdminGetBansTypeWithNamespaceV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetBansTypeWithNamespaceV3Unauthorized

type AdminGetBansTypeWithNamespaceV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetBansTypeWithNamespaceV3Unauthorized 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 NewAdminGetBansTypeWithNamespaceV3Unauthorized

func NewAdminGetBansTypeWithNamespaceV3Unauthorized() *AdminGetBansTypeWithNamespaceV3Unauthorized

NewAdminGetBansTypeWithNamespaceV3Unauthorized creates a AdminGetBansTypeWithNamespaceV3Unauthorized with default headers values

func (*AdminGetBansTypeWithNamespaceV3Unauthorized) Error

func (*AdminGetBansTypeWithNamespaceV3Unauthorized) GetPayload

func (*AdminGetBansTypeWithNamespaceV3Unauthorized) ToJSONString added in v0.25.0

type AdminGetListBanReasonV3Forbidden

type AdminGetListBanReasonV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetListBanReasonV3Forbidden 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 NewAdminGetListBanReasonV3Forbidden

func NewAdminGetListBanReasonV3Forbidden() *AdminGetListBanReasonV3Forbidden

NewAdminGetListBanReasonV3Forbidden creates a AdminGetListBanReasonV3Forbidden with default headers values

func (*AdminGetListBanReasonV3Forbidden) Error

func (*AdminGetListBanReasonV3Forbidden) GetPayload

func (*AdminGetListBanReasonV3Forbidden) ToJSONString added in v0.25.0

func (o *AdminGetListBanReasonV3Forbidden) ToJSONString() string

type AdminGetListBanReasonV3InternalServerError added in v0.31.0

type AdminGetListBanReasonV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetListBanReasonV3InternalServerError 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 NewAdminGetListBanReasonV3InternalServerError added in v0.31.0

func NewAdminGetListBanReasonV3InternalServerError() *AdminGetListBanReasonV3InternalServerError

NewAdminGetListBanReasonV3InternalServerError creates a AdminGetListBanReasonV3InternalServerError with default headers values

func (*AdminGetListBanReasonV3InternalServerError) Error added in v0.31.0

func (*AdminGetListBanReasonV3InternalServerError) GetPayload added in v0.31.0

func (*AdminGetListBanReasonV3InternalServerError) ToJSONString added in v0.31.0

type AdminGetListBanReasonV3OK

type AdminGetListBanReasonV3OK struct {
	Payload *iamclientmodels.AccountcommonBanReasonsV3
}

AdminGetListBanReasonV3OK handles this case with default header values.

OK

func NewAdminGetListBanReasonV3OK

func NewAdminGetListBanReasonV3OK() *AdminGetListBanReasonV3OK

NewAdminGetListBanReasonV3OK creates a AdminGetListBanReasonV3OK with default headers values

func (*AdminGetListBanReasonV3OK) Error

func (o *AdminGetListBanReasonV3OK) Error() string

func (*AdminGetListBanReasonV3OK) GetPayload

func (*AdminGetListBanReasonV3OK) ToJSONString added in v0.25.0

func (o *AdminGetListBanReasonV3OK) ToJSONString() string

type AdminGetListBanReasonV3Params

type AdminGetListBanReasonV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

AdminGetListBanReasonV3Params contains all the parameters to send to the API endpoint for the admin get list ban reason v3 operation typically these are written to a http.Request

func NewAdminGetListBanReasonV3Params

func NewAdminGetListBanReasonV3Params() *AdminGetListBanReasonV3Params

NewAdminGetListBanReasonV3Params creates a new AdminGetListBanReasonV3Params object with the default values initialized.

func NewAdminGetListBanReasonV3ParamsWithContext

func NewAdminGetListBanReasonV3ParamsWithContext(ctx context.Context) *AdminGetListBanReasonV3Params

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

func NewAdminGetListBanReasonV3ParamsWithHTTPClient

func NewAdminGetListBanReasonV3ParamsWithHTTPClient(client *http.Client) *AdminGetListBanReasonV3Params

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

func NewAdminGetListBanReasonV3ParamsWithTimeout

func NewAdminGetListBanReasonV3ParamsWithTimeout(timeout time.Duration) *AdminGetListBanReasonV3Params

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

func (*AdminGetListBanReasonV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get list ban reason v3 params

func (*AdminGetListBanReasonV3Params) SetContext

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

SetContext adds the context to the admin get list ban reason v3 params

func (*AdminGetListBanReasonV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get list ban reason v3 params

func (*AdminGetListBanReasonV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get list ban reason v3 params

func (*AdminGetListBanReasonV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get list ban reason v3 params

func (*AdminGetListBanReasonV3Params) WithContext

WithContext adds the context to the admin get list ban reason v3 params

func (*AdminGetListBanReasonV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get list ban reason v3 params

func (*AdminGetListBanReasonV3Params) WithTimeout

WithTimeout adds the timeout to the admin get list ban reason v3 params

func (*AdminGetListBanReasonV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetListBanReasonV3Reader

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

AdminGetListBanReasonV3Reader is a Reader for the AdminGetListBanReasonV3 structure.

func (*AdminGetListBanReasonV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetListBanReasonV3Unauthorized

type AdminGetListBanReasonV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetListBanReasonV3Unauthorized 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 NewAdminGetListBanReasonV3Unauthorized

func NewAdminGetListBanReasonV3Unauthorized() *AdminGetListBanReasonV3Unauthorized

NewAdminGetListBanReasonV3Unauthorized creates a AdminGetListBanReasonV3Unauthorized with default headers values

func (*AdminGetListBanReasonV3Unauthorized) Error

func (*AdminGetListBanReasonV3Unauthorized) GetPayload

func (*AdminGetListBanReasonV3Unauthorized) ToJSONString added in v0.25.0

func (o *AdminGetListBanReasonV3Unauthorized) ToJSONString() string

type AdminUnbanUserBulkV3BadRequest added in v0.27.0

type AdminUnbanUserBulkV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanUserBulkV3BadRequest 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>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminUnbanUserBulkV3BadRequest added in v0.27.0

func NewAdminUnbanUserBulkV3BadRequest() *AdminUnbanUserBulkV3BadRequest

NewAdminUnbanUserBulkV3BadRequest creates a AdminUnbanUserBulkV3BadRequest with default headers values

func (*AdminUnbanUserBulkV3BadRequest) Error added in v0.27.0

func (*AdminUnbanUserBulkV3BadRequest) GetPayload added in v0.27.0

func (*AdminUnbanUserBulkV3BadRequest) ToJSONString added in v0.27.0

func (o *AdminUnbanUserBulkV3BadRequest) ToJSONString() string

type AdminUnbanUserBulkV3Created added in v0.27.0

type AdminUnbanUserBulkV3Created struct {
	Payload *iamclientmodels.ModelListBulkUserBanResponseV3
}

AdminUnbanUserBulkV3Created handles this case with default header values.

Created

func NewAdminUnbanUserBulkV3Created added in v0.27.0

func NewAdminUnbanUserBulkV3Created() *AdminUnbanUserBulkV3Created

NewAdminUnbanUserBulkV3Created creates a AdminUnbanUserBulkV3Created with default headers values

func (*AdminUnbanUserBulkV3Created) Error added in v0.27.0

func (*AdminUnbanUserBulkV3Created) GetPayload added in v0.27.0

func (*AdminUnbanUserBulkV3Created) ToJSONString added in v0.27.0

func (o *AdminUnbanUserBulkV3Created) ToJSONString() string

type AdminUnbanUserBulkV3Forbidden added in v0.27.0

type AdminUnbanUserBulkV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanUserBulkV3Forbidden 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 NewAdminUnbanUserBulkV3Forbidden added in v0.27.0

func NewAdminUnbanUserBulkV3Forbidden() *AdminUnbanUserBulkV3Forbidden

NewAdminUnbanUserBulkV3Forbidden creates a AdminUnbanUserBulkV3Forbidden with default headers values

func (*AdminUnbanUserBulkV3Forbidden) Error added in v0.27.0

func (*AdminUnbanUserBulkV3Forbidden) GetPayload added in v0.27.0

func (*AdminUnbanUserBulkV3Forbidden) ToJSONString added in v0.27.0

func (o *AdminUnbanUserBulkV3Forbidden) ToJSONString() string

type AdminUnbanUserBulkV3InternalServerError added in v0.31.0

type AdminUnbanUserBulkV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanUserBulkV3InternalServerError 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 NewAdminUnbanUserBulkV3InternalServerError added in v0.31.0

func NewAdminUnbanUserBulkV3InternalServerError() *AdminUnbanUserBulkV3InternalServerError

NewAdminUnbanUserBulkV3InternalServerError creates a AdminUnbanUserBulkV3InternalServerError with default headers values

func (*AdminUnbanUserBulkV3InternalServerError) Error added in v0.31.0

func (*AdminUnbanUserBulkV3InternalServerError) GetPayload added in v0.31.0

func (*AdminUnbanUserBulkV3InternalServerError) ToJSONString added in v0.31.0

type AdminUnbanUserBulkV3NotFound added in v0.27.0

type AdminUnbanUserBulkV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanUserBulkV3NotFound 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 NewAdminUnbanUserBulkV3NotFound added in v0.27.0

func NewAdminUnbanUserBulkV3NotFound() *AdminUnbanUserBulkV3NotFound

NewAdminUnbanUserBulkV3NotFound creates a AdminUnbanUserBulkV3NotFound with default headers values

func (*AdminUnbanUserBulkV3NotFound) Error added in v0.27.0

func (*AdminUnbanUserBulkV3NotFound) GetPayload added in v0.27.0

func (*AdminUnbanUserBulkV3NotFound) ToJSONString added in v0.27.0

func (o *AdminUnbanUserBulkV3NotFound) ToJSONString() string

type AdminUnbanUserBulkV3Params added in v0.27.0

type AdminUnbanUserBulkV3Params struct {

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

	*/
	Namespace string

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

AdminUnbanUserBulkV3Params contains all the parameters to send to the API endpoint for the admin unban user bulk v3 operation typically these are written to a http.Request

func NewAdminUnbanUserBulkV3Params added in v0.27.0

func NewAdminUnbanUserBulkV3Params() *AdminUnbanUserBulkV3Params

NewAdminUnbanUserBulkV3Params creates a new AdminUnbanUserBulkV3Params object with the default values initialized.

func NewAdminUnbanUserBulkV3ParamsWithContext added in v0.27.0

func NewAdminUnbanUserBulkV3ParamsWithContext(ctx context.Context) *AdminUnbanUserBulkV3Params

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

func NewAdminUnbanUserBulkV3ParamsWithHTTPClient added in v0.27.0

func NewAdminUnbanUserBulkV3ParamsWithHTTPClient(client *http.Client) *AdminUnbanUserBulkV3Params

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

func NewAdminUnbanUserBulkV3ParamsWithTimeout added in v0.27.0

func NewAdminUnbanUserBulkV3ParamsWithTimeout(timeout time.Duration) *AdminUnbanUserBulkV3Params

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

func (*AdminUnbanUserBulkV3Params) SetAuthInfoWriter added in v0.27.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) SetBody added in v0.27.0

SetBody adds the body to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) SetContext added in v0.27.0

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

SetContext adds the context to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) SetHTTPClient added in v0.27.0

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

SetHTTPClient adds the HTTPClient to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) SetHTTPClientTransport added in v0.27.0

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

SetHTTPClient adds the HTTPClient Transport to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) SetNamespace added in v0.27.0

func (o *AdminUnbanUserBulkV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) SetTimeout added in v0.27.0

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

SetTimeout adds the timeout to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) WithBody added in v0.27.0

WithBody adds the body to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) WithContext added in v0.27.0

WithContext adds the context to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) WithHTTPClient added in v0.27.0

WithHTTPClient adds the HTTPClient to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) WithNamespace added in v0.27.0

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

WithNamespace adds the namespace to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) WithTimeout added in v0.27.0

WithTimeout adds the timeout to the admin unban user bulk v3 params

func (*AdminUnbanUserBulkV3Params) WriteToRequest added in v0.27.0

WriteToRequest writes these params to a swagger request

type AdminUnbanUserBulkV3Reader added in v0.27.0

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

AdminUnbanUserBulkV3Reader is a Reader for the AdminUnbanUserBulkV3 structure.

func (*AdminUnbanUserBulkV3Reader) ReadResponse added in v0.27.0

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

ReadResponse reads a server response into the received o.

type AdminUnbanUserBulkV3Unauthorized added in v0.27.0

type AdminUnbanUserBulkV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUnbanUserBulkV3Unauthorized 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 NewAdminUnbanUserBulkV3Unauthorized added in v0.27.0

func NewAdminUnbanUserBulkV3Unauthorized() *AdminUnbanUserBulkV3Unauthorized

NewAdminUnbanUserBulkV3Unauthorized creates a AdminUnbanUserBulkV3Unauthorized with default headers values

func (*AdminUnbanUserBulkV3Unauthorized) Error added in v0.27.0

func (*AdminUnbanUserBulkV3Unauthorized) GetPayload added in v0.27.0

func (*AdminUnbanUserBulkV3Unauthorized) ToJSONString added in v0.27.0

func (o *AdminUnbanUserBulkV3Unauthorized) ToJSONString() string

type Client

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

Client for bans API

func (*Client) AdminBanUserBulkV3 deprecated added in v0.27.0

Deprecated: Use AdminBanUserBulkV3Short instead.

AdminBanUserBulkV3 bulks ban user

&lt;p&gt;Required permission &#39;ADMIN:NAMESPACE:{namespace}:BAN [CREATE]&#39;.&lt;/p&gt;

&lt;p&gt;Bulk ban user with specific type of ban. Ban types and reason can be queried. The maximum limit value is 100 userIDs&lt;/p&gt; &lt;p&gt;action code : 10141 &lt;/p&gt;

func (*Client) AdminBanUserBulkV3Short added in v0.27.0

func (a *Client) AdminBanUserBulkV3Short(params *AdminBanUserBulkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanUserBulkV3Created, error)
AdminBanUserBulkV3Short bulks ban user

&lt;p&gt;Required permission &#39;ADMIN:NAMESPACE:{namespace}:BAN [CREATE]&#39;.&lt;/p&gt;

&lt;p&gt;Bulk ban user with specific type of ban. Ban types and reason can be queried. The maximum limit value is 100 userIDs&lt;/p&gt; &lt;p&gt;action code : 10141 &lt;/p&gt;

func (*Client) AdminGetBannedUsersV3 deprecated

Deprecated: Use AdminGetBannedUsersV3Short instead.

  AdminGetBannedUsersV3 gets list of user filtered by ban types

  Required permission &#39;ADMIN:BAN [READ]&#39; &lt;br&gt;Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  &lt;br&gt;action code : 10201

func (*Client) AdminGetBannedUsersV3Short added in v0.8.0

func (a *Client) AdminGetBannedUsersV3Short(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, error)
  AdminGetBannedUsersV3Short gets list of user filtered by ban types

  Required permission &#39;ADMIN:BAN [READ]&#39; &lt;br&gt;Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  &lt;br&gt;action code : 10201

func (*Client) AdminGetBansTypeV3 deprecated

Deprecated: Use AdminGetBansTypeV3Short instead.

  AdminGetBansTypeV3 gets list of ban types

  Required permission &#39;ADMIN:BAN [READ]&#39; &lt;br&gt;Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  &lt;br&gt;action code : 10201

func (*Client) AdminGetBansTypeV3Short added in v0.8.0

func (a *Client) AdminGetBansTypeV3Short(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, error)
  AdminGetBansTypeV3Short gets list of ban types

  Required permission &#39;ADMIN:BAN [READ]&#39; &lt;br&gt;Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  &lt;br&gt;action code : 10201

func (*Client) AdminGetBansTypeWithNamespaceV3 deprecated

Deprecated: Use AdminGetBansTypeWithNamespaceV3Short instead.

  AdminGetBansTypeWithNamespaceV3 gets list of ban types

  Required permission &#39;ADMIN:BAN [READ]&#39; &lt;br&gt;Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  &lt;br&gt;action code : 10201

func (*Client) AdminGetBansTypeWithNamespaceV3Short added in v0.8.0

func (a *Client) AdminGetBansTypeWithNamespaceV3Short(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, error)
  AdminGetBansTypeWithNamespaceV3Short gets list of ban types

  Required permission &#39;ADMIN:BAN [READ]&#39; &lt;br&gt;Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  &lt;br&gt;action code : 10201

func (*Client) AdminGetListBanReasonV3 deprecated

Deprecated: Use AdminGetListBanReasonV3Short instead.

AdminGetListBanReasonV3 gets list of ban reasons

&lt;p&gt;Required permission &#39;ADMIN:BAN [READ]&#39;&lt;/p&gt;

Ban reasons is the code available to justify ban assignment. It is applicable globally for any namespace. &lt;p&gt;action code : 10202&lt;/p&gt;

func (*Client) AdminGetListBanReasonV3Short added in v0.8.0

func (a *Client) AdminGetListBanReasonV3Short(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, error)
AdminGetListBanReasonV3Short gets list of ban reasons

&lt;p&gt;Required permission &#39;ADMIN:BAN [READ]&#39;&lt;/p&gt;

Ban reasons is the code available to justify ban assignment. It is applicable globally for any namespace. &lt;p&gt;action code : 10202&lt;/p&gt;

func (*Client) AdminUnbanUserBulkV3 deprecated added in v0.27.0

Deprecated: Use AdminUnbanUserBulkV3Short instead.

AdminUnbanUserBulkV3 bulks unban user

&lt;p&gt;Required permission &#39;ADMIN:NAMESPACE:{namespace}:BAN [UPDATE]&#39;.&lt;/p&gt;

&lt;p&gt;disable bulk ban user. The maximum limit value is 100&lt;/p&gt; &lt;p&gt;action code : 10142 &lt;/p&gt;

func (*Client) AdminUnbanUserBulkV3Short added in v0.27.0

func (a *Client) AdminUnbanUserBulkV3Short(params *AdminUnbanUserBulkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanUserBulkV3Created, error)
AdminUnbanUserBulkV3Short bulks unban user

&lt;p&gt;Required permission &#39;ADMIN:NAMESPACE:{namespace}:BAN [UPDATE]&#39;.&lt;/p&gt;

&lt;p&gt;disable bulk ban user. The maximum limit value is 100&lt;/p&gt; &lt;p&gt;action code : 10142 &lt;/p&gt;

func (*Client) GetBansType deprecated

Deprecated: Use GetBansTypeShort instead.

  GetBansType gets list of ban types

  &lt;h2&gt;The endpoint is going to be deprecated&lt;/h2&gt; &lt;/br&gt;
			&lt;p&gt;Required permission &#39;BAN:ADMIN [READ]&#39; or &#39;ADMIN:BAN [READ]&#39;&lt;/p&gt;
			&lt;strong&gt;Endpoint migration guide&lt;/strong&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;b&gt;Substitute endpoint: &lt;i&gt;/iam/v3/admin/bans [GET]&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
			&lt;/ul&gt;&lt;/p&gt;

func (*Client) GetBansTypeShort added in v0.8.0

func (a *Client) GetBansTypeShort(params *GetBansTypeParams, authInfo runtime.ClientAuthInfoWriter) (*GetBansTypeOK, error)
  GetBansTypeShort gets list of ban types

  &lt;h2&gt;The endpoint is going to be deprecated&lt;/h2&gt; &lt;/br&gt;
			&lt;p&gt;Required permission &#39;BAN:ADMIN [READ]&#39; or &#39;ADMIN:BAN [READ]&#39;&lt;/p&gt;
			&lt;strong&gt;Endpoint migration guide&lt;/strong&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;b&gt;Substitute endpoint: &lt;i&gt;/iam/v3/admin/bans [GET]&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
			&lt;/ul&gt;&lt;/p&gt;

func (*Client) GetListBanReason deprecated

Deprecated: Use GetListBanReasonShort instead.

  GetListBanReason gets list of ban reasons

  &lt;h2&gt;The endpoint is going to be deprecated&lt;/h2&gt; &lt;/br&gt;
			&lt;p&gt;Required permission &#39;BAN:ADMIN [READ]&#39; or &#39;ADMIN:BAN [READ]&#39;&lt;/p&gt;
			&lt;strong&gt;Endpoint migration guide&lt;/strong&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;b&gt;Substitute endpoint: &lt;i&gt;/iam/v3/admin/bans/reasons [GET]&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
			&lt;/ul&gt;&lt;/p&gt;

func (*Client) GetListBanReasonShort added in v0.8.0

func (a *Client) GetListBanReasonShort(params *GetListBanReasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetListBanReasonOK, error)
  GetListBanReasonShort gets list of ban reasons

  &lt;h2&gt;The endpoint is going to be deprecated&lt;/h2&gt; &lt;/br&gt;
			&lt;p&gt;Required permission &#39;BAN:ADMIN [READ]&#39; or &#39;ADMIN:BAN [READ]&#39;&lt;/p&gt;
			&lt;strong&gt;Endpoint migration guide&lt;/strong&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;b&gt;Substitute endpoint: &lt;i&gt;/iam/v3/admin/bans/reasons [GET]&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
			&lt;/ul&gt;&lt;/p&gt;

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminBanUserBulkV3(params *AdminBanUserBulkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanUserBulkV3Created, *AdminBanUserBulkV3BadRequest, *AdminBanUserBulkV3Unauthorized, *AdminBanUserBulkV3Forbidden, *AdminBanUserBulkV3NotFound, *AdminBanUserBulkV3InternalServerError, error)
	AdminBanUserBulkV3Short(params *AdminBanUserBulkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanUserBulkV3Created, error)
	AdminGetBannedUsersV3(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, *AdminGetBannedUsersV3Unauthorized, *AdminGetBannedUsersV3Forbidden, *AdminGetBannedUsersV3InternalServerError, error)
	AdminGetBannedUsersV3Short(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, error)
	AdminGetBansTypeV3(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, *AdminGetBansTypeV3Unauthorized, *AdminGetBansTypeV3Forbidden, *AdminGetBansTypeV3InternalServerError, error)
	AdminGetBansTypeV3Short(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, error)
	AdminGetBansTypeWithNamespaceV3(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, *AdminGetBansTypeWithNamespaceV3Unauthorized, *AdminGetBansTypeWithNamespaceV3Forbidden, *AdminGetBansTypeWithNamespaceV3InternalServerError, error)
	AdminGetBansTypeWithNamespaceV3Short(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, error)
	AdminGetListBanReasonV3(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, *AdminGetListBanReasonV3Unauthorized, *AdminGetListBanReasonV3Forbidden, *AdminGetListBanReasonV3InternalServerError, error)
	AdminGetListBanReasonV3Short(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, error)
	AdminUnbanUserBulkV3(params *AdminUnbanUserBulkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanUserBulkV3Created, *AdminUnbanUserBulkV3BadRequest, *AdminUnbanUserBulkV3Unauthorized, *AdminUnbanUserBulkV3Forbidden, *AdminUnbanUserBulkV3NotFound, *AdminUnbanUserBulkV3InternalServerError, error)
	AdminUnbanUserBulkV3Short(params *AdminUnbanUserBulkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanUserBulkV3Created, error)
	GetBansType(params *GetBansTypeParams, authInfo runtime.ClientAuthInfoWriter) (*GetBansTypeOK, *GetBansTypeUnauthorized, *GetBansTypeForbidden, error)
	GetBansTypeShort(params *GetBansTypeParams, authInfo runtime.ClientAuthInfoWriter) (*GetBansTypeOK, error)
	GetListBanReason(params *GetListBanReasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetListBanReasonOK, *GetListBanReasonUnauthorized, *GetListBanReasonForbidden, error)
	GetListBanReasonShort(params *GetListBanReasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetListBanReasonOK, 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 bans API client.

type GetBansTypeForbidden

type GetBansTypeForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetBansTypeForbidden 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 NewGetBansTypeForbidden

func NewGetBansTypeForbidden() *GetBansTypeForbidden

NewGetBansTypeForbidden creates a GetBansTypeForbidden with default headers values

func (*GetBansTypeForbidden) Error

func (o *GetBansTypeForbidden) Error() string

func (*GetBansTypeForbidden) GetPayload added in v0.31.0

func (*GetBansTypeForbidden) ToJSONString added in v0.31.0

func (o *GetBansTypeForbidden) ToJSONString() string

type GetBansTypeOK

type GetBansTypeOK struct {
	Payload *iamclientmodels.AccountcommonBans
}

GetBansTypeOK handles this case with default header values.

OK

func NewGetBansTypeOK

func NewGetBansTypeOK() *GetBansTypeOK

NewGetBansTypeOK creates a GetBansTypeOK with default headers values

func (*GetBansTypeOK) Error

func (o *GetBansTypeOK) Error() string

func (*GetBansTypeOK) GetPayload

func (*GetBansTypeOK) ToJSONString added in v0.25.0

func (o *GetBansTypeOK) ToJSONString() string

type GetBansTypeParams

type GetBansTypeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

GetBansTypeParams contains all the parameters to send to the API endpoint for the get bans type operation typically these are written to a http.Request

func NewGetBansTypeParams

func NewGetBansTypeParams() *GetBansTypeParams

NewGetBansTypeParams creates a new GetBansTypeParams object with the default values initialized.

func NewGetBansTypeParamsWithContext

func NewGetBansTypeParamsWithContext(ctx context.Context) *GetBansTypeParams

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

func NewGetBansTypeParamsWithHTTPClient

func NewGetBansTypeParamsWithHTTPClient(client *http.Client) *GetBansTypeParams

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

func NewGetBansTypeParamsWithTimeout

func NewGetBansTypeParamsWithTimeout(timeout time.Duration) *GetBansTypeParams

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

func (*GetBansTypeParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get bans type params

func (*GetBansTypeParams) SetContext

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

SetContext adds the context to the get bans type params

func (*GetBansTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bans type params

func (*GetBansTypeParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get bans type params

func (*GetBansTypeParams) SetTimeout

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

SetTimeout adds the timeout to the get bans type params

func (*GetBansTypeParams) WithContext

func (o *GetBansTypeParams) WithContext(ctx context.Context) *GetBansTypeParams

WithContext adds the context to the get bans type params

func (*GetBansTypeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get bans type params

func (*GetBansTypeParams) WithTimeout

func (o *GetBansTypeParams) WithTimeout(timeout time.Duration) *GetBansTypeParams

WithTimeout adds the timeout to the get bans type params

func (*GetBansTypeParams) WriteToRequest

func (o *GetBansTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBansTypeReader

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

GetBansTypeReader is a Reader for the GetBansType structure.

func (*GetBansTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBansTypeUnauthorized

type GetBansTypeUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetBansTypeUnauthorized 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 NewGetBansTypeUnauthorized

func NewGetBansTypeUnauthorized() *GetBansTypeUnauthorized

NewGetBansTypeUnauthorized creates a GetBansTypeUnauthorized with default headers values

func (*GetBansTypeUnauthorized) Error

func (o *GetBansTypeUnauthorized) Error() string

func (*GetBansTypeUnauthorized) GetPayload added in v0.31.0

func (*GetBansTypeUnauthorized) ToJSONString added in v0.31.0

func (o *GetBansTypeUnauthorized) ToJSONString() string

type GetListBanReasonForbidden

type GetListBanReasonForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetListBanReasonForbidden 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 NewGetListBanReasonForbidden

func NewGetListBanReasonForbidden() *GetListBanReasonForbidden

NewGetListBanReasonForbidden creates a GetListBanReasonForbidden with default headers values

func (*GetListBanReasonForbidden) Error

func (o *GetListBanReasonForbidden) Error() string

func (*GetListBanReasonForbidden) GetPayload added in v0.31.0

func (*GetListBanReasonForbidden) ToJSONString added in v0.31.0

func (o *GetListBanReasonForbidden) ToJSONString() string

type GetListBanReasonOK

type GetListBanReasonOK struct {
	Payload *iamclientmodels.AccountcommonBanReasons
}

GetListBanReasonOK handles this case with default header values.

OK

func NewGetListBanReasonOK

func NewGetListBanReasonOK() *GetListBanReasonOK

NewGetListBanReasonOK creates a GetListBanReasonOK with default headers values

func (*GetListBanReasonOK) Error

func (o *GetListBanReasonOK) Error() string

func (*GetListBanReasonOK) GetPayload

func (*GetListBanReasonOK) ToJSONString added in v0.25.0

func (o *GetListBanReasonOK) ToJSONString() string

type GetListBanReasonParams

type GetListBanReasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

GetListBanReasonParams contains all the parameters to send to the API endpoint for the get list ban reason operation typically these are written to a http.Request

func NewGetListBanReasonParams

func NewGetListBanReasonParams() *GetListBanReasonParams

NewGetListBanReasonParams creates a new GetListBanReasonParams object with the default values initialized.

func NewGetListBanReasonParamsWithContext

func NewGetListBanReasonParamsWithContext(ctx context.Context) *GetListBanReasonParams

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

func NewGetListBanReasonParamsWithHTTPClient

func NewGetListBanReasonParamsWithHTTPClient(client *http.Client) *GetListBanReasonParams

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

func NewGetListBanReasonParamsWithTimeout

func NewGetListBanReasonParamsWithTimeout(timeout time.Duration) *GetListBanReasonParams

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

func (*GetListBanReasonParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get list ban reason params

func (*GetListBanReasonParams) SetContext

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

SetContext adds the context to the get list ban reason params

func (*GetListBanReasonParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list ban reason params

func (*GetListBanReasonParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get list ban reason params

func (*GetListBanReasonParams) SetTimeout

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

SetTimeout adds the timeout to the get list ban reason params

func (*GetListBanReasonParams) WithContext

WithContext adds the context to the get list ban reason params

func (*GetListBanReasonParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get list ban reason params

func (*GetListBanReasonParams) WithTimeout

WithTimeout adds the timeout to the get list ban reason params

func (*GetListBanReasonParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetListBanReasonReader

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

GetListBanReasonReader is a Reader for the GetListBanReason structure.

func (*GetListBanReasonReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListBanReasonUnauthorized

type GetListBanReasonUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetListBanReasonUnauthorized 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 NewGetListBanReasonUnauthorized

func NewGetListBanReasonUnauthorized() *GetListBanReasonUnauthorized

NewGetListBanReasonUnauthorized creates a GetListBanReasonUnauthorized with default headers values

func (*GetListBanReasonUnauthorized) Error

func (*GetListBanReasonUnauthorized) GetPayload added in v0.31.0

func (*GetListBanReasonUnauthorized) ToJSONString added in v0.31.0

func (o *GetListBanReasonUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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