bans

package
v0.1.0-alpha.16 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminBanUserBulkV3BadRequest

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

func NewAdminBanUserBulkV3BadRequest() *AdminBanUserBulkV3BadRequest

NewAdminBanUserBulkV3BadRequest creates a AdminBanUserBulkV3BadRequest with default headers values

func (*AdminBanUserBulkV3BadRequest) Error

func (*AdminBanUserBulkV3BadRequest) GetPayload

func (*AdminBanUserBulkV3BadRequest) ToJSONString

func (o *AdminBanUserBulkV3BadRequest) ToJSONString() string

type AdminBanUserBulkV3Created

type AdminBanUserBulkV3Created struct {
	Payload *iamclientmodels.ModelListBulkUserBanResponseV3
}

AdminBanUserBulkV3Created handles this case with default header values.

Created

func NewAdminBanUserBulkV3Created

func NewAdminBanUserBulkV3Created() *AdminBanUserBulkV3Created

NewAdminBanUserBulkV3Created creates a AdminBanUserBulkV3Created with default headers values

func (*AdminBanUserBulkV3Created) Error

func (o *AdminBanUserBulkV3Created) Error() string

func (*AdminBanUserBulkV3Created) GetPayload

func (*AdminBanUserBulkV3Created) ToJSONString

func (o *AdminBanUserBulkV3Created) ToJSONString() string

type AdminBanUserBulkV3Forbidden

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

func NewAdminBanUserBulkV3Forbidden() *AdminBanUserBulkV3Forbidden

NewAdminBanUserBulkV3Forbidden creates a AdminBanUserBulkV3Forbidden with default headers values

func (*AdminBanUserBulkV3Forbidden) Error

func (*AdminBanUserBulkV3Forbidden) GetPayload

func (*AdminBanUserBulkV3Forbidden) ToJSONString

func (o *AdminBanUserBulkV3Forbidden) ToJSONString() string

type AdminBanUserBulkV3InternalServerError

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

func NewAdminBanUserBulkV3InternalServerError() *AdminBanUserBulkV3InternalServerError

NewAdminBanUserBulkV3InternalServerError creates a AdminBanUserBulkV3InternalServerError with default headers values

func (*AdminBanUserBulkV3InternalServerError) Error

func (*AdminBanUserBulkV3InternalServerError) GetPayload

func (*AdminBanUserBulkV3InternalServerError) ToJSONString

type AdminBanUserBulkV3NotFound

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

func NewAdminBanUserBulkV3NotFound() *AdminBanUserBulkV3NotFound

NewAdminBanUserBulkV3NotFound creates a AdminBanUserBulkV3NotFound with default headers values

func (*AdminBanUserBulkV3NotFound) Error

func (*AdminBanUserBulkV3NotFound) GetPayload

func (*AdminBanUserBulkV3NotFound) ToJSONString

func (o *AdminBanUserBulkV3NotFound) ToJSONString() string

type AdminBanUserBulkV3Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewAdminBanUserBulkV3Params() *AdminBanUserBulkV3Params

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

func NewAdminBanUserBulkV3ParamsWithContext

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

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

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

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

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

func (*AdminBanUserBulkV3Params) SetBody

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

func (*AdminBanUserBulkV3Params) SetContext

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

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

func (*AdminBanUserBulkV3Params) SetFlightId

func (o *AdminBanUserBulkV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminBanUserBulkV3Params) SetHTTPClient

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

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

func (*AdminBanUserBulkV3Params) SetHTTPClientTransport

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

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

func (*AdminBanUserBulkV3Params) SetNamespace

func (o *AdminBanUserBulkV3Params) SetNamespace(namespace string)

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

func (*AdminBanUserBulkV3Params) SetTimeout

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

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

func (*AdminBanUserBulkV3Params) WithBody

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

func (*AdminBanUserBulkV3Params) WithContext

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

func (*AdminBanUserBulkV3Params) WithHTTPClient

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

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

func (*AdminBanUserBulkV3Params) WithNamespace

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

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

func (*AdminBanUserBulkV3Params) WithTimeout

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

func (*AdminBanUserBulkV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminBanUserBulkV3Reader

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

AdminBanUserBulkV3Reader is a Reader for the AdminBanUserBulkV3 structure.

func (*AdminBanUserBulkV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminBanUserBulkV3Unauthorized

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

func NewAdminBanUserBulkV3Unauthorized() *AdminBanUserBulkV3Unauthorized

NewAdminBanUserBulkV3Unauthorized creates a AdminBanUserBulkV3Unauthorized with default headers values

func (*AdminBanUserBulkV3Unauthorized) Error

func (*AdminBanUserBulkV3Unauthorized) GetPayload

func (*AdminBanUserBulkV3Unauthorized) ToJSONString

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

func (o *AdminGetBannedUsersV3Forbidden) ToJSONString() string

type AdminGetBannedUsersV3InternalServerError

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

func NewAdminGetBannedUsersV3InternalServerError() *AdminGetBannedUsersV3InternalServerError

NewAdminGetBannedUsersV3InternalServerError creates a AdminGetBannedUsersV3InternalServerError with default headers values

func (*AdminGetBannedUsersV3InternalServerError) Error

func (*AdminGetBannedUsersV3InternalServerError) GetPayload

func (*AdminGetBannedUsersV3InternalServerError) ToJSONString

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

func (o *AdminGetBannedUsersV3OK) ToJSONString() string

type AdminGetBannedUsersV3Params

type AdminGetBannedUsersV3Params struct {

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

	*/
	Namespace string
	/*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
	/*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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *AdminGetBannedUsersV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

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

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

func (o *AdminGetBansTypeV3Forbidden) ToJSONString() string

type AdminGetBansTypeV3InternalServerError

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

func NewAdminGetBansTypeV3InternalServerError() *AdminGetBansTypeV3InternalServerError

NewAdminGetBansTypeV3InternalServerError creates a AdminGetBansTypeV3InternalServerError with default headers values

func (*AdminGetBansTypeV3InternalServerError) Error

func (*AdminGetBansTypeV3InternalServerError) GetPayload

func (*AdminGetBansTypeV3InternalServerError) ToJSONString

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

func (o *AdminGetBansTypeV3OK) ToJSONString() string

type AdminGetBansTypeV3Params

type AdminGetBansTypeV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *AdminGetBansTypeV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

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

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

type AdminGetBansTypeWithNamespaceV3InternalServerError

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

func NewAdminGetBansTypeWithNamespaceV3InternalServerError() *AdminGetBansTypeWithNamespaceV3InternalServerError

NewAdminGetBansTypeWithNamespaceV3InternalServerError creates a AdminGetBansTypeWithNamespaceV3InternalServerError with default headers values

func (*AdminGetBansTypeWithNamespaceV3InternalServerError) Error

func (*AdminGetBansTypeWithNamespaceV3InternalServerError) GetPayload

func (*AdminGetBansTypeWithNamespaceV3InternalServerError) ToJSONString

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *AdminGetBansTypeWithNamespaceV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

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

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

func (o *AdminGetListBanReasonV3Forbidden) ToJSONString() string

type AdminGetListBanReasonV3InternalServerError

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

func NewAdminGetListBanReasonV3InternalServerError() *AdminGetListBanReasonV3InternalServerError

NewAdminGetListBanReasonV3InternalServerError creates a AdminGetListBanReasonV3InternalServerError with default headers values

func (*AdminGetListBanReasonV3InternalServerError) Error

func (*AdminGetListBanReasonV3InternalServerError) GetPayload

func (*AdminGetListBanReasonV3InternalServerError) ToJSONString

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

func (o *AdminGetListBanReasonV3OK) ToJSONString() string

type AdminGetListBanReasonV3Params

type AdminGetListBanReasonV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *AdminGetListBanReasonV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

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

func (o *AdminGetListBanReasonV3Unauthorized) ToJSONString() string

type AdminUnbanUserBulkV3BadRequest

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

func NewAdminUnbanUserBulkV3BadRequest() *AdminUnbanUserBulkV3BadRequest

NewAdminUnbanUserBulkV3BadRequest creates a AdminUnbanUserBulkV3BadRequest with default headers values

func (*AdminUnbanUserBulkV3BadRequest) Error

func (*AdminUnbanUserBulkV3BadRequest) GetPayload

func (*AdminUnbanUserBulkV3BadRequest) ToJSONString

func (o *AdminUnbanUserBulkV3BadRequest) ToJSONString() string

type AdminUnbanUserBulkV3Created

type AdminUnbanUserBulkV3Created struct {
	Payload *iamclientmodels.ModelListBulkUserBanResponseV3
}

AdminUnbanUserBulkV3Created handles this case with default header values.

Created

func NewAdminUnbanUserBulkV3Created

func NewAdminUnbanUserBulkV3Created() *AdminUnbanUserBulkV3Created

NewAdminUnbanUserBulkV3Created creates a AdminUnbanUserBulkV3Created with default headers values

func (*AdminUnbanUserBulkV3Created) Error

func (*AdminUnbanUserBulkV3Created) GetPayload

func (*AdminUnbanUserBulkV3Created) ToJSONString

func (o *AdminUnbanUserBulkV3Created) ToJSONString() string

type AdminUnbanUserBulkV3Forbidden

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

func NewAdminUnbanUserBulkV3Forbidden() *AdminUnbanUserBulkV3Forbidden

NewAdminUnbanUserBulkV3Forbidden creates a AdminUnbanUserBulkV3Forbidden with default headers values

func (*AdminUnbanUserBulkV3Forbidden) Error

func (*AdminUnbanUserBulkV3Forbidden) GetPayload

func (*AdminUnbanUserBulkV3Forbidden) ToJSONString

func (o *AdminUnbanUserBulkV3Forbidden) ToJSONString() string

type AdminUnbanUserBulkV3InternalServerError

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

func NewAdminUnbanUserBulkV3InternalServerError() *AdminUnbanUserBulkV3InternalServerError

NewAdminUnbanUserBulkV3InternalServerError creates a AdminUnbanUserBulkV3InternalServerError with default headers values

func (*AdminUnbanUserBulkV3InternalServerError) Error

func (*AdminUnbanUserBulkV3InternalServerError) GetPayload

func (*AdminUnbanUserBulkV3InternalServerError) ToJSONString

type AdminUnbanUserBulkV3NotFound

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

func NewAdminUnbanUserBulkV3NotFound() *AdminUnbanUserBulkV3NotFound

NewAdminUnbanUserBulkV3NotFound creates a AdminUnbanUserBulkV3NotFound with default headers values

func (*AdminUnbanUserBulkV3NotFound) Error

func (*AdminUnbanUserBulkV3NotFound) GetPayload

func (*AdminUnbanUserBulkV3NotFound) ToJSONString

func (o *AdminUnbanUserBulkV3NotFound) ToJSONString() string

type AdminUnbanUserBulkV3Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewAdminUnbanUserBulkV3Params() *AdminUnbanUserBulkV3Params

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

func NewAdminUnbanUserBulkV3ParamsWithContext

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

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

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

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

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

func (*AdminUnbanUserBulkV3Params) SetBody

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

func (*AdminUnbanUserBulkV3Params) SetContext

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

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

func (*AdminUnbanUserBulkV3Params) SetFlightId

func (o *AdminUnbanUserBulkV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminUnbanUserBulkV3Params) SetHTTPClient

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

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

func (*AdminUnbanUserBulkV3Params) SetHTTPClientTransport

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

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

func (*AdminUnbanUserBulkV3Params) SetNamespace

func (o *AdminUnbanUserBulkV3Params) SetNamespace(namespace string)

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

func (*AdminUnbanUserBulkV3Params) SetTimeout

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

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

func (*AdminUnbanUserBulkV3Params) WithBody

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

func (*AdminUnbanUserBulkV3Params) WithContext

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

func (*AdminUnbanUserBulkV3Params) WithHTTPClient

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

func (*AdminUnbanUserBulkV3Params) WithNamespace

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

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

func (*AdminUnbanUserBulkV3Params) WithTimeout

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

func (*AdminUnbanUserBulkV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUnbanUserBulkV3Reader

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

AdminUnbanUserBulkV3Reader is a Reader for the AdminUnbanUserBulkV3 structure.

func (*AdminUnbanUserBulkV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUnbanUserBulkV3Unauthorized

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

func NewAdminUnbanUserBulkV3Unauthorized() *AdminUnbanUserBulkV3Unauthorized

NewAdminUnbanUserBulkV3Unauthorized creates a AdminUnbanUserBulkV3Unauthorized with default headers values

func (*AdminUnbanUserBulkV3Unauthorized) Error

func (*AdminUnbanUserBulkV3Unauthorized) GetPayload

func (*AdminUnbanUserBulkV3Unauthorized) ToJSONString

func (o *AdminUnbanUserBulkV3Unauthorized) ToJSONString() string

type Client

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

Client for bans API

func (*Client) AdminBanUserBulkV3Short

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

AdminBanUserBulkV3Short bulk ban user Bulk ban user with specific type of ban. Ban types and reason can be queried. The maximum limit value is 100 userIDs action code : 10141

func (*Client) AdminGetBannedUsersV3Short

func (a *Client) AdminGetBannedUsersV3Short(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, error)

AdminGetBannedUsersV3Short get list of user filtered by ban types Ban type is the code available for ban assignment. It is applicable globally for any namespace. action code : 10201

func (*Client) AdminGetBansTypeV3Short

func (a *Client) AdminGetBansTypeV3Short(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, error)

AdminGetBansTypeV3Short get list of ban types Ban type is the code available for ban assignment. It is applicable globally for any namespace. action code : 10201

func (*Client) AdminGetBansTypeWithNamespaceV3Short

func (a *Client) AdminGetBansTypeWithNamespaceV3Short(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, error)

AdminGetBansTypeWithNamespaceV3Short get list of ban types Ban type is the code available for ban assignment. It is applicable globally for any namespace. action code : 10201

func (*Client) AdminGetListBanReasonV3Short

func (a *Client) AdminGetListBanReasonV3Short(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, error)

AdminGetListBanReasonV3Short get list of ban reasons Ban reasons is the code available to justify ban assignment. It is applicable globally for any namespace. action code : 10202

func (*Client) AdminUnbanUserBulkV3Short

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

AdminUnbanUserBulkV3Short bulk unban user disable bulk ban user. The maximum limit value is 100 action code : 10142

func (*Client) GetBansTypeShort

func (a *Client) GetBansTypeShort(params *GetBansTypeParams, authInfo runtime.ClientAuthInfoWriter) (*GetBansTypeOK, error)

GetBansTypeShort get list of ban types ## The endpoint is going to be deprecated ### Endpoint migration guide - **Substitute endpoint: _/iam/v3/admin/bans [GET]_**

func (*Client) GetListBanReasonShort

func (a *Client) GetListBanReasonShort(params *GetListBanReasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetListBanReasonOK, error)

GetListBanReasonShort get list of ban reasons ## The endpoint is going to be deprecated ### Endpoint migration guide - **Substitute endpoint: _/iam/v3/admin/bans/reasons [GET]_**

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetBansTypeShort(params *GetBansTypeParams, authInfo runtime.ClientAuthInfoWriter) (*GetBansTypeOK, error)
	GetListBanReasonShort(params *GetListBanReasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetListBanReasonOK, error)
	AdminGetBansTypeV3Short(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, error)
	AdminGetListBanReasonV3Short(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, error)
	AdminGetBannedUsersV3Short(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, error)
	AdminBanUserBulkV3Short(params *AdminBanUserBulkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBanUserBulkV3Created, error)
	AdminUnbanUserBulkV3Short(params *AdminUnbanUserBulkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanUserBulkV3Created, error)
	AdminGetBansTypeWithNamespaceV3Short(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, 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

func (*GetBansTypeForbidden) ToJSONString

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

func (o *GetBansTypeOK) ToJSONString() string

type GetBansTypeParams

type GetBansTypeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *GetBansTypeParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetBansTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bans type params

func (*GetBansTypeParams) SetHTTPClientTransport

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

func (*GetBansTypeUnauthorized) ToJSONString

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

func (*GetListBanReasonForbidden) ToJSONString

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

func (o *GetListBanReasonOK) ToJSONString() string

type GetListBanReasonParams

type GetListBanReasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *GetListBanReasonParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetListBanReasonParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list ban reason params

func (*GetListBanReasonParams) SetHTTPClientTransport

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

func (*GetListBanReasonUnauthorized) ToJSONString

func (o *GetListBanReasonUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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