Documentation ¶
Index ¶
- type AdminGetBannedUsersV3Forbidden
- type AdminGetBannedUsersV3OK
- type AdminGetBannedUsersV3Params
- func NewAdminGetBannedUsersV3Params() *AdminGetBannedUsersV3Params
- func NewAdminGetBannedUsersV3ParamsWithContext(ctx context.Context) *AdminGetBannedUsersV3Params
- func NewAdminGetBannedUsersV3ParamsWithHTTPClient(client *http.Client) *AdminGetBannedUsersV3Params
- func NewAdminGetBannedUsersV3ParamsWithTimeout(timeout time.Duration) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) SetActiveOnly(activeOnly *bool)
- func (o *AdminGetBannedUsersV3Params) SetBanType(banType *string)
- func (o *AdminGetBannedUsersV3Params) SetContext(ctx context.Context)
- func (o *AdminGetBannedUsersV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetBannedUsersV3Params) SetLimit(limit *int64)
- func (o *AdminGetBannedUsersV3Params) SetNamespace(namespace string)
- func (o *AdminGetBannedUsersV3Params) SetOffset(offset *int64)
- func (o *AdminGetBannedUsersV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetBannedUsersV3Params) WithActiveOnly(activeOnly *bool) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) WithBanType(banType *string) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) WithContext(ctx context.Context) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) WithHTTPClient(client *http.Client) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) WithLimit(limit *int64) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) WithNamespace(namespace string) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) WithOffset(offset *int64) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) WithTimeout(timeout time.Duration) *AdminGetBannedUsersV3Params
- func (o *AdminGetBannedUsersV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetBannedUsersV3Reader
- type AdminGetBannedUsersV3Unauthorized
- type AdminGetBansTypeV3Forbidden
- type AdminGetBansTypeV3OK
- type AdminGetBansTypeV3Params
- func NewAdminGetBansTypeV3Params() *AdminGetBansTypeV3Params
- func NewAdminGetBansTypeV3ParamsWithContext(ctx context.Context) *AdminGetBansTypeV3Params
- func NewAdminGetBansTypeV3ParamsWithHTTPClient(client *http.Client) *AdminGetBansTypeV3Params
- func NewAdminGetBansTypeV3ParamsWithTimeout(timeout time.Duration) *AdminGetBansTypeV3Params
- func (o *AdminGetBansTypeV3Params) SetContext(ctx context.Context)
- func (o *AdminGetBansTypeV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetBansTypeV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetBansTypeV3Params) WithContext(ctx context.Context) *AdminGetBansTypeV3Params
- func (o *AdminGetBansTypeV3Params) WithHTTPClient(client *http.Client) *AdminGetBansTypeV3Params
- func (o *AdminGetBansTypeV3Params) WithTimeout(timeout time.Duration) *AdminGetBansTypeV3Params
- func (o *AdminGetBansTypeV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetBansTypeV3Reader
- type AdminGetBansTypeV3Unauthorized
- type AdminGetBansTypeWithNamespaceV3Forbidden
- type AdminGetBansTypeWithNamespaceV3OK
- type AdminGetBansTypeWithNamespaceV3Params
- func NewAdminGetBansTypeWithNamespaceV3Params() *AdminGetBansTypeWithNamespaceV3Params
- func NewAdminGetBansTypeWithNamespaceV3ParamsWithContext(ctx context.Context) *AdminGetBansTypeWithNamespaceV3Params
- func NewAdminGetBansTypeWithNamespaceV3ParamsWithHTTPClient(client *http.Client) *AdminGetBansTypeWithNamespaceV3Params
- func NewAdminGetBansTypeWithNamespaceV3ParamsWithTimeout(timeout time.Duration) *AdminGetBansTypeWithNamespaceV3Params
- func (o *AdminGetBansTypeWithNamespaceV3Params) SetContext(ctx context.Context)
- func (o *AdminGetBansTypeWithNamespaceV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetBansTypeWithNamespaceV3Params) SetNamespace(namespace string)
- func (o *AdminGetBansTypeWithNamespaceV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetBansTypeWithNamespaceV3Params) WithContext(ctx context.Context) *AdminGetBansTypeWithNamespaceV3Params
- func (o *AdminGetBansTypeWithNamespaceV3Params) WithHTTPClient(client *http.Client) *AdminGetBansTypeWithNamespaceV3Params
- func (o *AdminGetBansTypeWithNamespaceV3Params) WithNamespace(namespace string) *AdminGetBansTypeWithNamespaceV3Params
- func (o *AdminGetBansTypeWithNamespaceV3Params) WithTimeout(timeout time.Duration) *AdminGetBansTypeWithNamespaceV3Params
- func (o *AdminGetBansTypeWithNamespaceV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetBansTypeWithNamespaceV3Reader
- type AdminGetBansTypeWithNamespaceV3Unauthorized
- type AdminGetListBanReasonV3Forbidden
- type AdminGetListBanReasonV3OK
- type AdminGetListBanReasonV3Params
- func NewAdminGetListBanReasonV3Params() *AdminGetListBanReasonV3Params
- func NewAdminGetListBanReasonV3ParamsWithContext(ctx context.Context) *AdminGetListBanReasonV3Params
- func NewAdminGetListBanReasonV3ParamsWithHTTPClient(client *http.Client) *AdminGetListBanReasonV3Params
- func NewAdminGetListBanReasonV3ParamsWithTimeout(timeout time.Duration) *AdminGetListBanReasonV3Params
- func (o *AdminGetListBanReasonV3Params) SetContext(ctx context.Context)
- func (o *AdminGetListBanReasonV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetListBanReasonV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetListBanReasonV3Params) WithContext(ctx context.Context) *AdminGetListBanReasonV3Params
- func (o *AdminGetListBanReasonV3Params) WithHTTPClient(client *http.Client) *AdminGetListBanReasonV3Params
- func (o *AdminGetListBanReasonV3Params) WithTimeout(timeout time.Duration) *AdminGetListBanReasonV3Params
- func (o *AdminGetListBanReasonV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetListBanReasonV3Reader
- type AdminGetListBanReasonV3Unauthorized
- type Client
- func (a *Client) AdminGetBannedUsersV3(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, *AdminGetBannedUsersV3Unauthorized, ...)
- func (a *Client) AdminGetBansTypeV3(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, *AdminGetBansTypeV3Unauthorized, ...)
- func (a *Client) AdminGetBansTypeWithNamespaceV3(params *AdminGetBansTypeWithNamespaceV3Params, ...) (*AdminGetBansTypeWithNamespaceV3OK, ...)
- func (a *Client) AdminGetListBanReasonV3(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, *AdminGetListBanReasonV3Unauthorized, ...)
- func (a *Client) GetBansType(params *GetBansTypeParams, authInfo runtime.ClientAuthInfoWriter) (*GetBansTypeOK, *GetBansTypeUnauthorized, *GetBansTypeForbidden, error)
- func (a *Client) GetListBanReason(params *GetListBanReasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetListBanReasonOK, *GetListBanReasonUnauthorized, *GetListBanReasonForbidden, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetBansTypeForbidden
- type GetBansTypeOK
- type GetBansTypeParams
- func (o *GetBansTypeParams) SetContext(ctx context.Context)
- func (o *GetBansTypeParams) SetHTTPClient(client *http.Client)
- func (o *GetBansTypeParams) SetTimeout(timeout time.Duration)
- func (o *GetBansTypeParams) WithContext(ctx context.Context) *GetBansTypeParams
- func (o *GetBansTypeParams) WithHTTPClient(client *http.Client) *GetBansTypeParams
- func (o *GetBansTypeParams) WithTimeout(timeout time.Duration) *GetBansTypeParams
- func (o *GetBansTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBansTypeReader
- type GetBansTypeUnauthorized
- type GetListBanReasonForbidden
- type GetListBanReasonOK
- type GetListBanReasonParams
- func NewGetListBanReasonParams() *GetListBanReasonParams
- func NewGetListBanReasonParamsWithContext(ctx context.Context) *GetListBanReasonParams
- func NewGetListBanReasonParamsWithHTTPClient(client *http.Client) *GetListBanReasonParams
- func NewGetListBanReasonParamsWithTimeout(timeout time.Duration) *GetListBanReasonParams
- func (o *GetListBanReasonParams) SetContext(ctx context.Context)
- func (o *GetListBanReasonParams) SetHTTPClient(client *http.Client)
- func (o *GetListBanReasonParams) SetTimeout(timeout time.Duration)
- func (o *GetListBanReasonParams) WithContext(ctx context.Context) *GetListBanReasonParams
- func (o *GetListBanReasonParams) WithHTTPClient(client *http.Client) *GetListBanReasonParams
- func (o *GetListBanReasonParams) WithTimeout(timeout time.Duration) *GetListBanReasonParams
- func (o *GetListBanReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListBanReasonReader
- type GetListBanReasonUnauthorized
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 (o *AdminGetBannedUsersV3Forbidden) Error() string
func (*AdminGetBannedUsersV3Forbidden) GetPayload ¶
func (o *AdminGetBannedUsersV3Forbidden) GetPayload() *iamclientmodels.ModelGetUserBanV3Response
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 (o *AdminGetBannedUsersV3OK) GetPayload() *iamclientmodels.ModelGetUserBanV3Response
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 ¶
func (o *AdminGetBannedUsersV3Params) WithBanType(banType *string) *AdminGetBannedUsersV3Params
WithBanType adds the banType to the admin get banned users v3 params
func (*AdminGetBannedUsersV3Params) WithContext ¶
func (o *AdminGetBannedUsersV3Params) WithContext(ctx context.Context) *AdminGetBannedUsersV3Params
WithContext adds the context to the admin get banned users v3 params
func (*AdminGetBannedUsersV3Params) WithHTTPClient ¶
func (o *AdminGetBannedUsersV3Params) WithHTTPClient(client *http.Client) *AdminGetBannedUsersV3Params
WithHTTPClient adds the HTTPClient to the admin get banned users v3 params
func (*AdminGetBannedUsersV3Params) WithLimit ¶
func (o *AdminGetBannedUsersV3Params) WithLimit(limit *int64) *AdminGetBannedUsersV3Params
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 ¶
func (o *AdminGetBannedUsersV3Params) WithOffset(offset *int64) *AdminGetBannedUsersV3Params
WithOffset adds the offset to the admin get banned users v3 params
func (*AdminGetBannedUsersV3Params) WithTimeout ¶
func (o *AdminGetBannedUsersV3Params) WithTimeout(timeout time.Duration) *AdminGetBannedUsersV3Params
WithTimeout adds the timeout to the admin get banned users v3 params
func (*AdminGetBannedUsersV3Params) WriteToRequest ¶
func (o *AdminGetBannedUsersV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetBannedUsersV3Unauthorized) Error() string
func (*AdminGetBannedUsersV3Unauthorized) GetPayload ¶
func (o *AdminGetBannedUsersV3Unauthorized) GetPayload() *iamclientmodels.ModelGetUserBanV3Response
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 (o *AdminGetBansTypeV3Forbidden) Error() string
func (*AdminGetBansTypeV3Forbidden) GetPayload ¶
func (o *AdminGetBansTypeV3Forbidden) GetPayload() *iamclientmodels.RestapiErrorResponse
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 (o *AdminGetBansTypeV3OK) GetPayload() *iamclientmodels.AccountcommonBansV3
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 ¶
func (o *AdminGetBansTypeV3Params) WithContext(ctx context.Context) *AdminGetBansTypeV3Params
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 ¶
func (o *AdminGetBansTypeV3Params) WithTimeout(timeout time.Duration) *AdminGetBansTypeV3Params
WithTimeout adds the timeout to the admin get bans type v3 params
func (*AdminGetBansTypeV3Params) WriteToRequest ¶
func (o *AdminGetBansTypeV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetBansTypeV3Unauthorized) Error() string
func (*AdminGetBansTypeV3Unauthorized) GetPayload ¶
func (o *AdminGetBansTypeV3Unauthorized) GetPayload() *iamclientmodels.RestapiErrorResponse
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 (o *AdminGetBansTypeWithNamespaceV3Forbidden) Error() string
func (*AdminGetBansTypeWithNamespaceV3Forbidden) GetPayload ¶
func (o *AdminGetBansTypeWithNamespaceV3Forbidden) GetPayload() *iamclientmodels.RestapiErrorResponse
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 (o *AdminGetBansTypeWithNamespaceV3OK) Error() string
func (*AdminGetBansTypeWithNamespaceV3OK) GetPayload ¶
func (o *AdminGetBansTypeWithNamespaceV3OK) GetPayload() *iamclientmodels.AccountcommonBansV3
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 ¶
func (o *AdminGetBansTypeWithNamespaceV3Params) SetContext(ctx context.Context)
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 ¶
func (o *AdminGetBansTypeWithNamespaceV3Params) WithContext(ctx context.Context) *AdminGetBansTypeWithNamespaceV3Params
WithContext adds the context to the admin get bans type with namespace v3 params
func (*AdminGetBansTypeWithNamespaceV3Params) WithHTTPClient ¶
func (o *AdminGetBansTypeWithNamespaceV3Params) WithHTTPClient(client *http.Client) *AdminGetBansTypeWithNamespaceV3Params
WithHTTPClient adds the HTTPClient to the admin get bans type with namespace v3 params
func (*AdminGetBansTypeWithNamespaceV3Params) WithNamespace ¶
func (o *AdminGetBansTypeWithNamespaceV3Params) WithNamespace(namespace string) *AdminGetBansTypeWithNamespaceV3Params
WithNamespace adds the namespace to the admin get bans type with namespace v3 params
func (*AdminGetBansTypeWithNamespaceV3Params) WithTimeout ¶
func (o *AdminGetBansTypeWithNamespaceV3Params) WithTimeout(timeout time.Duration) *AdminGetBansTypeWithNamespaceV3Params
WithTimeout adds the timeout to the admin get bans type with namespace v3 params
func (*AdminGetBansTypeWithNamespaceV3Params) WriteToRequest ¶
func (o *AdminGetBansTypeWithNamespaceV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetBansTypeWithNamespaceV3Unauthorized) Error() string
func (*AdminGetBansTypeWithNamespaceV3Unauthorized) GetPayload ¶
func (o *AdminGetBansTypeWithNamespaceV3Unauthorized) GetPayload() *iamclientmodels.RestapiErrorResponse
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 (o *AdminGetListBanReasonV3Forbidden) Error() string
func (*AdminGetListBanReasonV3Forbidden) GetPayload ¶
func (o *AdminGetListBanReasonV3Forbidden) GetPayload() *iamclientmodels.RestapiErrorResponse
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 (o *AdminGetListBanReasonV3OK) GetPayload() *iamclientmodels.AccountcommonBanReasonsV3
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 ¶
func (o *AdminGetListBanReasonV3Params) WithContext(ctx context.Context) *AdminGetListBanReasonV3Params
WithContext adds the context to the admin get list ban reason v3 params
func (*AdminGetListBanReasonV3Params) WithHTTPClient ¶
func (o *AdminGetListBanReasonV3Params) WithHTTPClient(client *http.Client) *AdminGetListBanReasonV3Params
WithHTTPClient adds the HTTPClient to the admin get list ban reason v3 params
func (*AdminGetListBanReasonV3Params) WithTimeout ¶
func (o *AdminGetListBanReasonV3Params) WithTimeout(timeout time.Duration) *AdminGetListBanReasonV3Params
WithTimeout adds the timeout to the admin get list ban reason v3 params
func (*AdminGetListBanReasonV3Params) WriteToRequest ¶
func (o *AdminGetListBanReasonV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetListBanReasonV3Unauthorized) Error() string
func (*AdminGetListBanReasonV3Unauthorized) GetPayload ¶
func (o *AdminGetListBanReasonV3Unauthorized) GetPayload() *iamclientmodels.RestapiErrorResponse
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for bans API
func (*Client) AdminGetBannedUsersV3 ¶
func (a *Client) AdminGetBannedUsersV3(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, *AdminGetBannedUsersV3Unauthorized, *AdminGetBannedUsersV3Forbidden, error)
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 ¶
func (a *Client) AdminGetBansTypeV3(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, *AdminGetBansTypeV3Unauthorized, *AdminGetBansTypeV3Forbidden, error)
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 ¶
func (a *Client) AdminGetBansTypeWithNamespaceV3(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, *AdminGetBansTypeWithNamespaceV3Unauthorized, *AdminGetBansTypeWithNamespaceV3Forbidden, error)
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 ¶
func (a *Client) AdminGetListBanReasonV3(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, *AdminGetListBanReasonV3Unauthorized, *AdminGetListBanReasonV3Forbidden, error)
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 ¶
func (a *Client) GetBansType(params *GetBansTypeParams, authInfo runtime.ClientAuthInfoWriter) (*GetBansTypeOK, *GetBansTypeUnauthorized, *GetBansTypeForbidden, error)
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 ¶
func (a *Client) GetListBanReason(params *GetListBanReasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetListBanReasonOK, *GetListBanReasonUnauthorized, *GetListBanReasonForbidden, error)
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 ClientService ¶
type ClientService interface { AdminGetBannedUsersV3(params *AdminGetBannedUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBannedUsersV3OK, *AdminGetBannedUsersV3Unauthorized, *AdminGetBannedUsersV3Forbidden, error) AdminGetBansTypeV3(params *AdminGetBansTypeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeV3OK, *AdminGetBansTypeV3Unauthorized, *AdminGetBansTypeV3Forbidden, error) AdminGetBansTypeWithNamespaceV3(params *AdminGetBansTypeWithNamespaceV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetBansTypeWithNamespaceV3OK, *AdminGetBansTypeWithNamespaceV3Unauthorized, *AdminGetBansTypeWithNamespaceV3Forbidden, error) AdminGetListBanReasonV3(params *AdminGetListBanReasonV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListBanReasonV3OK, *AdminGetListBanReasonV3Unauthorized, *AdminGetListBanReasonV3Forbidden, error) GetBansType(params *GetBansTypeParams, authInfo runtime.ClientAuthInfoWriter) (*GetBansTypeOK, *GetBansTypeUnauthorized, *GetBansTypeForbidden, error) GetListBanReason(params *GetListBanReasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetListBanReasonOK, *GetListBanReasonUnauthorized, *GetListBanReasonForbidden, 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 { }
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 ¶
func (o *GetBansTypeOK) GetPayload() *iamclientmodels.AccountcommonBans
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 ¶
func (o *GetListBanReasonOK) GetPayload() *iamclientmodels.AccountcommonBanReasons
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 ¶
func (o *GetListBanReasonParams) WithContext(ctx context.Context) *GetListBanReasonParams
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 ¶
func (o *GetListBanReasonParams) WithTimeout(timeout time.Duration) *GetListBanReasonParams
WithTimeout adds the timeout to the get list ban reason params
func (*GetListBanReasonParams) WriteToRequest ¶
func (o *GetListBanReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetListBanReasonUnauthorized) Error() string
Source Files ¶
- admin_get_banned_users_v3_parameters.go
- admin_get_banned_users_v3_responses.go
- admin_get_bans_type_v3_parameters.go
- admin_get_bans_type_v3_responses.go
- admin_get_bans_type_with_namespace_v3_parameters.go
- admin_get_bans_type_with_namespace_v3_responses.go
- admin_get_list_ban_reason_v3_parameters.go
- admin_get_list_ban_reason_v3_responses.go
- bans_client.go
- get_bans_type_parameters.go
- get_bans_type_responses.go
- get_list_ban_reason_parameters.go
- get_list_ban_reason_responses.go