bans

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 13 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 {

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

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

	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

	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) 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) 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 {
	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) 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) 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 'ADMIN:BAN [READ]' <br>Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  <br>action code : 10201

func (*Client) AdminGetBansTypeV3

  AdminGetBansTypeV3 gets list of ban types

  Required permission 'ADMIN:BAN [READ]' <br>Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  <br>action code : 10201

func (*Client) AdminGetBansTypeWithNamespaceV3

  AdminGetBansTypeWithNamespaceV3 gets list of ban types

  Required permission 'ADMIN:BAN [READ]' <br>Ban type is the code
			available for ban assignment. It is applicable globally for any namespace.  <br>action code : 10201

func (*Client) AdminGetListBanReasonV3

AdminGetListBanReasonV3 gets list of ban reasons

<p>Required permission 'ADMIN:BAN [READ]'</p>

Ban reasons is the code available to justify ban assignment. It is applicable globally for any namespace. <p>action code : 10202</p>

func (*Client) GetBansType

  GetBansType gets list of ban types

  <p>Required permission 'BAN:ADMIN [READ]' or 'ADMIN:BAN [READ]'</p>
			<p>Required Permission 'BAN:ADMIN [READ]' is going to be <strong>DEPRECATED</strong> for security purpose.
			It is going to be deprecated on <strong>31 JANUARY 2019</strong>, please use permission 'ADMIN:BAN [READ]' instead.</p>

func (*Client) GetListBanReason

  GetListBanReason gets list of ban reasons

  <p>Required permission 'BAN:ADMIN [READ]' or 'ADMIN:BAN [READ]'</p>
			<p>Required Permission 'BAN:ADMIN [READ]' is going to be <strong>DEPRECATED</strong> for security purpose.
			It is going to be deprecated on <strong>31 JANUARY 2019</strong>, please use permission 'ADMIN:BAN [READ]' instead.</p>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetBansTypeForbidden

type GetBansTypeForbidden struct {
}

GetBansTypeForbidden handles this case with default header values.

Forbidden

func NewGetBansTypeForbidden

func NewGetBansTypeForbidden() *GetBansTypeForbidden

NewGetBansTypeForbidden creates a GetBansTypeForbidden with default headers values

func (*GetBansTypeForbidden) Error

func (o *GetBansTypeForbidden) Error() 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

type GetBansTypeParams

type GetBansTypeParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetBansTypeParams

func NewGetBansTypeParams() *GetBansTypeParams

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

func NewGetBansTypeParamsWithContext

func NewGetBansTypeParamsWithContext(ctx context.Context) *GetBansTypeParams

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

func NewGetBansTypeParamsWithHTTPClient

func NewGetBansTypeParamsWithHTTPClient(client *http.Client) *GetBansTypeParams

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

func NewGetBansTypeParamsWithTimeout

func NewGetBansTypeParamsWithTimeout(timeout time.Duration) *GetBansTypeParams

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

func (*GetBansTypeParams) SetContext

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

SetContext adds the context to the get bans type params

func (*GetBansTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bans type params

func (*GetBansTypeParams) 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 {
}

GetBansTypeUnauthorized handles this case with default header values.

Unauthorized access

func NewGetBansTypeUnauthorized

func NewGetBansTypeUnauthorized() *GetBansTypeUnauthorized

NewGetBansTypeUnauthorized creates a GetBansTypeUnauthorized with default headers values

func (*GetBansTypeUnauthorized) Error

func (o *GetBansTypeUnauthorized) Error() string

type GetListBanReasonForbidden

type GetListBanReasonForbidden struct {
}

GetListBanReasonForbidden handles this case with default header values.

Forbidden

func NewGetListBanReasonForbidden

func NewGetListBanReasonForbidden() *GetListBanReasonForbidden

NewGetListBanReasonForbidden creates a GetListBanReasonForbidden with default headers values

func (*GetListBanReasonForbidden) Error

func (o *GetListBanReasonForbidden) Error() 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

type GetListBanReasonParams

type GetListBanReasonParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetListBanReasonParams

func NewGetListBanReasonParams() *GetListBanReasonParams

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

func NewGetListBanReasonParamsWithContext

func NewGetListBanReasonParamsWithContext(ctx context.Context) *GetListBanReasonParams

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

func NewGetListBanReasonParamsWithHTTPClient

func NewGetListBanReasonParamsWithHTTPClient(client *http.Client) *GetListBanReasonParams

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

func NewGetListBanReasonParamsWithTimeout

func NewGetListBanReasonParamsWithTimeout(timeout time.Duration) *GetListBanReasonParams

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

func (*GetListBanReasonParams) SetContext

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

SetContext adds the context to the get list ban reason params

func (*GetListBanReasonParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list ban reason params

func (*GetListBanReasonParams) 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 {
}

GetListBanReasonUnauthorized handles this case with default header values.

Unauthorized access

func NewGetListBanReasonUnauthorized

func NewGetListBanReasonUnauthorized() *GetListBanReasonUnauthorized

NewGetListBanReasonUnauthorized creates a GetListBanReasonUnauthorized with default headers values

func (*GetListBanReasonUnauthorized) Error

Jump to

Keyboard shortcuts

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