bans

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetBannedUsersV3Forbidden

type AdminGetBannedUsersV3Forbidden struct {
	Payload *iamclientmodels.ModelGetUserBanV3Response
}

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

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

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.ModelGetUserBanV3Response
}

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

type AdminGetBansTypeV3Forbidden

type AdminGetBansTypeV3Forbidden struct {
	Payload *iamclientmodels.RestapiErrorResponse
}

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

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

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.RestapiErrorResponse
}

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

type AdminGetBansTypeWithNamespaceV3Forbidden

type AdminGetBansTypeWithNamespaceV3Forbidden struct {
	Payload *iamclientmodels.RestapiErrorResponse
}

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

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

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.RestapiErrorResponse
}

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

type AdminGetListBanReasonV3Forbidden

type AdminGetListBanReasonV3Forbidden struct {
	Payload *iamclientmodels.RestapiErrorResponse
}

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

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

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.RestapiErrorResponse
}

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

type Client

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

Client for bans API

func (*Client) AdminGetBannedUsersV3

  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)

func (*Client) AdminGetBansTypeV3

  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)

func (*Client) AdminGetBansTypeWithNamespaceV3

  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)

func (*Client) AdminGetListBanReasonV3

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)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetBannedUsersV3(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, *AdminGetBannedUsersV3Unauthorized, *AdminGetBannedUsersV3Forbidden, error)
	AdminGetBannedUsersV3Short(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, error)
	AdminGetBansTypeV3(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, *AdminGetBansTypeV3Unauthorized, *AdminGetBansTypeV3Forbidden, error)
	AdminGetBansTypeV3Short(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, error)
	AdminGetBansTypeWithNamespaceV3(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, *AdminGetBansTypeWithNamespaceV3Unauthorized, *AdminGetBansTypeWithNamespaceV3Forbidden, error)
	AdminGetBansTypeWithNamespaceV3Short(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, error)
	AdminGetListBanReasonV3(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, *AdminGetListBanReasonV3Unauthorized, *AdminGetListBanReasonV3Forbidden, error)
	AdminGetListBanReasonV3Short(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, 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.

Jump to

Keyboard shortcuts

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