Documentation
¶
Index ¶
- type AdminGetLoginAllowlistV3Forbidden
- type AdminGetLoginAllowlistV3InternalServerError
- type AdminGetLoginAllowlistV3OK
- type AdminGetLoginAllowlistV3Params
- func NewAdminGetLoginAllowlistV3Params() *AdminGetLoginAllowlistV3Params
- func NewAdminGetLoginAllowlistV3ParamsWithContext(ctx context.Context) *AdminGetLoginAllowlistV3Params
- func NewAdminGetLoginAllowlistV3ParamsWithHTTPClient(client *http.Client) *AdminGetLoginAllowlistV3Params
- func NewAdminGetLoginAllowlistV3ParamsWithTimeout(timeout time.Duration) *AdminGetLoginAllowlistV3Params
- func (o *AdminGetLoginAllowlistV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetLoginAllowlistV3Params) SetContext(ctx context.Context)
- func (o *AdminGetLoginAllowlistV3Params) SetFlightId(flightId string)
- func (o *AdminGetLoginAllowlistV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetLoginAllowlistV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetLoginAllowlistV3Params) SetNamespace(namespace string)
- func (o *AdminGetLoginAllowlistV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetLoginAllowlistV3Params) WithContext(ctx context.Context) *AdminGetLoginAllowlistV3Params
- func (o *AdminGetLoginAllowlistV3Params) WithHTTPClient(client *http.Client) *AdminGetLoginAllowlistV3Params
- func (o *AdminGetLoginAllowlistV3Params) WithNamespace(namespace string) *AdminGetLoginAllowlistV3Params
- func (o *AdminGetLoginAllowlistV3Params) WithTimeout(timeout time.Duration) *AdminGetLoginAllowlistV3Params
- func (o *AdminGetLoginAllowlistV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetLoginAllowlistV3Reader
- type AdminGetLoginAllowlistV3Response
- type AdminGetLoginAllowlistV3Unauthorized
- type AdminUpdateLoginAllowlistV3BadRequest
- type AdminUpdateLoginAllowlistV3Forbidden
- type AdminUpdateLoginAllowlistV3InternalServerError
- type AdminUpdateLoginAllowlistV3NoContent
- type AdminUpdateLoginAllowlistV3Params
- func NewAdminUpdateLoginAllowlistV3Params() *AdminUpdateLoginAllowlistV3Params
- func NewAdminUpdateLoginAllowlistV3ParamsWithContext(ctx context.Context) *AdminUpdateLoginAllowlistV3Params
- func NewAdminUpdateLoginAllowlistV3ParamsWithHTTPClient(client *http.Client) *AdminUpdateLoginAllowlistV3Params
- func NewAdminUpdateLoginAllowlistV3ParamsWithTimeout(timeout time.Duration) *AdminUpdateLoginAllowlistV3Params
- func (o *AdminUpdateLoginAllowlistV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateLoginAllowlistV3Params) SetBody(body *iamclientmodels.ModelLoginAllowlistRequest)
- func (o *AdminUpdateLoginAllowlistV3Params) SetContext(ctx context.Context)
- func (o *AdminUpdateLoginAllowlistV3Params) SetFlightId(flightId string)
- func (o *AdminUpdateLoginAllowlistV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateLoginAllowlistV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateLoginAllowlistV3Params) SetNamespace(namespace string)
- func (o *AdminUpdateLoginAllowlistV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateLoginAllowlistV3Params) WithBody(body *iamclientmodels.ModelLoginAllowlistRequest) *AdminUpdateLoginAllowlistV3Params
- func (o *AdminUpdateLoginAllowlistV3Params) WithContext(ctx context.Context) *AdminUpdateLoginAllowlistV3Params
- func (o *AdminUpdateLoginAllowlistV3Params) WithHTTPClient(client *http.Client) *AdminUpdateLoginAllowlistV3Params
- func (o *AdminUpdateLoginAllowlistV3Params) WithNamespace(namespace string) *AdminUpdateLoginAllowlistV3Params
- func (o *AdminUpdateLoginAllowlistV3Params) WithTimeout(timeout time.Duration) *AdminUpdateLoginAllowlistV3Params
- func (o *AdminUpdateLoginAllowlistV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateLoginAllowlistV3Reader
- type AdminUpdateLoginAllowlistV3Response
- type AdminUpdateLoginAllowlistV3Unauthorized
- type Client
- func (a *Client) AdminGetLoginAllowlistV3Short(params *AdminGetLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetLoginAllowlistV3Response, error)
- func (a *Client) AdminUpdateLoginAllowlistV3Short(params *AdminUpdateLoginAllowlistV3Params, ...) (*AdminUpdateLoginAllowlistV3Response, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminGetLoginAllowlistV3Forbidden ¶
type AdminGetLoginAllowlistV3Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetLoginAllowlistV3Forbidden 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 NewAdminGetLoginAllowlistV3Forbidden ¶
func NewAdminGetLoginAllowlistV3Forbidden() *AdminGetLoginAllowlistV3Forbidden
NewAdminGetLoginAllowlistV3Forbidden creates a AdminGetLoginAllowlistV3Forbidden with default headers values
func (*AdminGetLoginAllowlistV3Forbidden) Error ¶
func (o *AdminGetLoginAllowlistV3Forbidden) Error() string
func (*AdminGetLoginAllowlistV3Forbidden) GetPayload ¶
func (o *AdminGetLoginAllowlistV3Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetLoginAllowlistV3Forbidden) ToJSONString ¶
func (o *AdminGetLoginAllowlistV3Forbidden) ToJSONString() string
type AdminGetLoginAllowlistV3InternalServerError ¶
type AdminGetLoginAllowlistV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetLoginAllowlistV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetLoginAllowlistV3InternalServerError ¶
func NewAdminGetLoginAllowlistV3InternalServerError() *AdminGetLoginAllowlistV3InternalServerError
NewAdminGetLoginAllowlistV3InternalServerError creates a AdminGetLoginAllowlistV3InternalServerError with default headers values
func (*AdminGetLoginAllowlistV3InternalServerError) Error ¶
func (o *AdminGetLoginAllowlistV3InternalServerError) Error() string
func (*AdminGetLoginAllowlistV3InternalServerError) GetPayload ¶
func (o *AdminGetLoginAllowlistV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetLoginAllowlistV3InternalServerError) ToJSONString ¶
func (o *AdminGetLoginAllowlistV3InternalServerError) ToJSONString() string
type AdminGetLoginAllowlistV3OK ¶
type AdminGetLoginAllowlistV3OK struct {
Payload *iamclientmodels.ModelLoginAllowlistResponse
}
AdminGetLoginAllowlistV3OK handles this case with default header values.
Operation succeeded
func NewAdminGetLoginAllowlistV3OK ¶
func NewAdminGetLoginAllowlistV3OK() *AdminGetLoginAllowlistV3OK
NewAdminGetLoginAllowlistV3OK creates a AdminGetLoginAllowlistV3OK with default headers values
func (*AdminGetLoginAllowlistV3OK) Error ¶
func (o *AdminGetLoginAllowlistV3OK) Error() string
func (*AdminGetLoginAllowlistV3OK) GetPayload ¶
func (o *AdminGetLoginAllowlistV3OK) GetPayload() *iamclientmodels.ModelLoginAllowlistResponse
func (*AdminGetLoginAllowlistV3OK) ToJSONString ¶
func (o *AdminGetLoginAllowlistV3OK) ToJSONString() string
type AdminGetLoginAllowlistV3Params ¶
type AdminGetLoginAllowlistV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetLoginAllowlistV3Params contains all the parameters to send to the API endpoint for the admin get login allowlist v3 operation typically these are written to a http.Request
func NewAdminGetLoginAllowlistV3Params ¶
func NewAdminGetLoginAllowlistV3Params() *AdminGetLoginAllowlistV3Params
NewAdminGetLoginAllowlistV3Params creates a new AdminGetLoginAllowlistV3Params object with the default values initialized.
func NewAdminGetLoginAllowlistV3ParamsWithContext ¶
func NewAdminGetLoginAllowlistV3ParamsWithContext(ctx context.Context) *AdminGetLoginAllowlistV3Params
NewAdminGetLoginAllowlistV3ParamsWithContext creates a new AdminGetLoginAllowlistV3Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetLoginAllowlistV3ParamsWithHTTPClient ¶
func NewAdminGetLoginAllowlistV3ParamsWithHTTPClient(client *http.Client) *AdminGetLoginAllowlistV3Params
NewAdminGetLoginAllowlistV3ParamsWithHTTPClient creates a new AdminGetLoginAllowlistV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetLoginAllowlistV3ParamsWithTimeout ¶
func NewAdminGetLoginAllowlistV3ParamsWithTimeout(timeout time.Duration) *AdminGetLoginAllowlistV3Params
NewAdminGetLoginAllowlistV3ParamsWithTimeout creates a new AdminGetLoginAllowlistV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetLoginAllowlistV3Params) SetAuthInfoWriter ¶
func (o *AdminGetLoginAllowlistV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) SetContext ¶
func (o *AdminGetLoginAllowlistV3Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) SetFlightId ¶
func (o *AdminGetLoginAllowlistV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetLoginAllowlistV3Params) SetHTTPClient ¶
func (o *AdminGetLoginAllowlistV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) SetHTTPClientTransport ¶
func (o *AdminGetLoginAllowlistV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) SetNamespace ¶
func (o *AdminGetLoginAllowlistV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) SetTimeout ¶
func (o *AdminGetLoginAllowlistV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) WithContext ¶
func (o *AdminGetLoginAllowlistV3Params) WithContext(ctx context.Context) *AdminGetLoginAllowlistV3Params
WithContext adds the context to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) WithHTTPClient ¶
func (o *AdminGetLoginAllowlistV3Params) WithHTTPClient(client *http.Client) *AdminGetLoginAllowlistV3Params
WithHTTPClient adds the HTTPClient to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) WithNamespace ¶
func (o *AdminGetLoginAllowlistV3Params) WithNamespace(namespace string) *AdminGetLoginAllowlistV3Params
WithNamespace adds the namespace to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) WithTimeout ¶
func (o *AdminGetLoginAllowlistV3Params) WithTimeout(timeout time.Duration) *AdminGetLoginAllowlistV3Params
WithTimeout adds the timeout to the admin get login allowlist v3 params
func (*AdminGetLoginAllowlistV3Params) WriteToRequest ¶
func (o *AdminGetLoginAllowlistV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetLoginAllowlistV3Reader ¶
type AdminGetLoginAllowlistV3Reader struct {
// contains filtered or unexported fields
}
AdminGetLoginAllowlistV3Reader is a Reader for the AdminGetLoginAllowlistV3 structure.
func (*AdminGetLoginAllowlistV3Reader) ReadResponse ¶
func (o *AdminGetLoginAllowlistV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetLoginAllowlistV3Response ¶
type AdminGetLoginAllowlistV3Response struct { iamclientmodels.ApiResponse Data *iamclientmodels.ModelLoginAllowlistResponse Error401 *iamclientmodels.RestErrorResponse Error403 *iamclientmodels.RestErrorResponse Error500 *iamclientmodels.RestErrorResponse }
func (*AdminGetLoginAllowlistV3Response) Unpack ¶
func (m *AdminGetLoginAllowlistV3Response) Unpack() (*iamclientmodels.ModelLoginAllowlistResponse, *iamclientmodels.ApiError)
type AdminGetLoginAllowlistV3Unauthorized ¶
type AdminGetLoginAllowlistV3Unauthorized struct {
}AdminGetLoginAllowlistV3Unauthorized 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 NewAdminGetLoginAllowlistV3Unauthorized ¶
func NewAdminGetLoginAllowlistV3Unauthorized() *AdminGetLoginAllowlistV3Unauthorized
NewAdminGetLoginAllowlistV3Unauthorized creates a AdminGetLoginAllowlistV3Unauthorized with default headers values
func (*AdminGetLoginAllowlistV3Unauthorized) Error ¶
func (o *AdminGetLoginAllowlistV3Unauthorized) Error() string
func (*AdminGetLoginAllowlistV3Unauthorized) GetPayload ¶
func (o *AdminGetLoginAllowlistV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetLoginAllowlistV3Unauthorized) ToJSONString ¶
func (o *AdminGetLoginAllowlistV3Unauthorized) ToJSONString() string
type AdminUpdateLoginAllowlistV3BadRequest ¶
type AdminUpdateLoginAllowlistV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateLoginAllowlistV3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>10240</td><td>namespace is not game namespace</td></tr><tr><td>10470</td><td>role is empty</td></tr></table>
func NewAdminUpdateLoginAllowlistV3BadRequest ¶
func NewAdminUpdateLoginAllowlistV3BadRequest() *AdminUpdateLoginAllowlistV3BadRequest
NewAdminUpdateLoginAllowlistV3BadRequest creates a AdminUpdateLoginAllowlistV3BadRequest with default headers values
func (*AdminUpdateLoginAllowlistV3BadRequest) Error ¶
func (o *AdminUpdateLoginAllowlistV3BadRequest) Error() string
func (*AdminUpdateLoginAllowlistV3BadRequest) GetPayload ¶
func (o *AdminUpdateLoginAllowlistV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateLoginAllowlistV3BadRequest) ToJSONString ¶
func (o *AdminUpdateLoginAllowlistV3BadRequest) ToJSONString() string
type AdminUpdateLoginAllowlistV3Forbidden ¶
type AdminUpdateLoginAllowlistV3Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateLoginAllowlistV3Forbidden 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 NewAdminUpdateLoginAllowlistV3Forbidden ¶
func NewAdminUpdateLoginAllowlistV3Forbidden() *AdminUpdateLoginAllowlistV3Forbidden
NewAdminUpdateLoginAllowlistV3Forbidden creates a AdminUpdateLoginAllowlistV3Forbidden with default headers values
func (*AdminUpdateLoginAllowlistV3Forbidden) Error ¶
func (o *AdminUpdateLoginAllowlistV3Forbidden) Error() string
func (*AdminUpdateLoginAllowlistV3Forbidden) GetPayload ¶
func (o *AdminUpdateLoginAllowlistV3Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateLoginAllowlistV3Forbidden) ToJSONString ¶
func (o *AdminUpdateLoginAllowlistV3Forbidden) ToJSONString() string
type AdminUpdateLoginAllowlistV3InternalServerError ¶
type AdminUpdateLoginAllowlistV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminUpdateLoginAllowlistV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminUpdateLoginAllowlistV3InternalServerError ¶
func NewAdminUpdateLoginAllowlistV3InternalServerError() *AdminUpdateLoginAllowlistV3InternalServerError
NewAdminUpdateLoginAllowlistV3InternalServerError creates a AdminUpdateLoginAllowlistV3InternalServerError with default headers values
func (*AdminUpdateLoginAllowlistV3InternalServerError) Error ¶
func (o *AdminUpdateLoginAllowlistV3InternalServerError) Error() string
func (*AdminUpdateLoginAllowlistV3InternalServerError) GetPayload ¶
func (o *AdminUpdateLoginAllowlistV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateLoginAllowlistV3InternalServerError) ToJSONString ¶
func (o *AdminUpdateLoginAllowlistV3InternalServerError) ToJSONString() string
type AdminUpdateLoginAllowlistV3NoContent ¶
type AdminUpdateLoginAllowlistV3NoContent struct { }
AdminUpdateLoginAllowlistV3NoContent handles this case with default header values.
Operation succeeded
func NewAdminUpdateLoginAllowlistV3NoContent ¶
func NewAdminUpdateLoginAllowlistV3NoContent() *AdminUpdateLoginAllowlistV3NoContent
NewAdminUpdateLoginAllowlistV3NoContent creates a AdminUpdateLoginAllowlistV3NoContent with default headers values
func (*AdminUpdateLoginAllowlistV3NoContent) Error ¶
func (o *AdminUpdateLoginAllowlistV3NoContent) Error() string
type AdminUpdateLoginAllowlistV3Params ¶
type AdminUpdateLoginAllowlistV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *iamclientmodels.ModelLoginAllowlistRequest /*Namespace Namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminUpdateLoginAllowlistV3Params contains all the parameters to send to the API endpoint for the admin update login allowlist v3 operation typically these are written to a http.Request
func NewAdminUpdateLoginAllowlistV3Params ¶
func NewAdminUpdateLoginAllowlistV3Params() *AdminUpdateLoginAllowlistV3Params
NewAdminUpdateLoginAllowlistV3Params creates a new AdminUpdateLoginAllowlistV3Params object with the default values initialized.
func NewAdminUpdateLoginAllowlistV3ParamsWithContext ¶
func NewAdminUpdateLoginAllowlistV3ParamsWithContext(ctx context.Context) *AdminUpdateLoginAllowlistV3Params
NewAdminUpdateLoginAllowlistV3ParamsWithContext creates a new AdminUpdateLoginAllowlistV3Params object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateLoginAllowlistV3ParamsWithHTTPClient ¶
func NewAdminUpdateLoginAllowlistV3ParamsWithHTTPClient(client *http.Client) *AdminUpdateLoginAllowlistV3Params
NewAdminUpdateLoginAllowlistV3ParamsWithHTTPClient creates a new AdminUpdateLoginAllowlistV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateLoginAllowlistV3ParamsWithTimeout ¶
func NewAdminUpdateLoginAllowlistV3ParamsWithTimeout(timeout time.Duration) *AdminUpdateLoginAllowlistV3Params
NewAdminUpdateLoginAllowlistV3ParamsWithTimeout creates a new AdminUpdateLoginAllowlistV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateLoginAllowlistV3Params) SetAuthInfoWriter ¶
func (o *AdminUpdateLoginAllowlistV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) SetBody ¶
func (o *AdminUpdateLoginAllowlistV3Params) SetBody(body *iamclientmodels.ModelLoginAllowlistRequest)
SetBody adds the body to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) SetContext ¶
func (o *AdminUpdateLoginAllowlistV3Params) SetContext(ctx context.Context)
SetContext adds the context to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) SetFlightId ¶
func (o *AdminUpdateLoginAllowlistV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUpdateLoginAllowlistV3Params) SetHTTPClient ¶
func (o *AdminUpdateLoginAllowlistV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) SetHTTPClientTransport ¶
func (o *AdminUpdateLoginAllowlistV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) SetNamespace ¶
func (o *AdminUpdateLoginAllowlistV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) SetTimeout ¶
func (o *AdminUpdateLoginAllowlistV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) WithBody ¶
func (o *AdminUpdateLoginAllowlistV3Params) WithBody(body *iamclientmodels.ModelLoginAllowlistRequest) *AdminUpdateLoginAllowlistV3Params
WithBody adds the body to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) WithContext ¶
func (o *AdminUpdateLoginAllowlistV3Params) WithContext(ctx context.Context) *AdminUpdateLoginAllowlistV3Params
WithContext adds the context to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) WithHTTPClient ¶
func (o *AdminUpdateLoginAllowlistV3Params) WithHTTPClient(client *http.Client) *AdminUpdateLoginAllowlistV3Params
WithHTTPClient adds the HTTPClient to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) WithNamespace ¶
func (o *AdminUpdateLoginAllowlistV3Params) WithNamespace(namespace string) *AdminUpdateLoginAllowlistV3Params
WithNamespace adds the namespace to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) WithTimeout ¶
func (o *AdminUpdateLoginAllowlistV3Params) WithTimeout(timeout time.Duration) *AdminUpdateLoginAllowlistV3Params
WithTimeout adds the timeout to the admin update login allowlist v3 params
func (*AdminUpdateLoginAllowlistV3Params) WriteToRequest ¶
func (o *AdminUpdateLoginAllowlistV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateLoginAllowlistV3Reader ¶
type AdminUpdateLoginAllowlistV3Reader struct {
// contains filtered or unexported fields
}
AdminUpdateLoginAllowlistV3Reader is a Reader for the AdminUpdateLoginAllowlistV3 structure.
func (*AdminUpdateLoginAllowlistV3Reader) ReadResponse ¶
func (o *AdminUpdateLoginAllowlistV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateLoginAllowlistV3Response ¶
type AdminUpdateLoginAllowlistV3Response struct { iamclientmodels.ApiResponse Error400 *iamclientmodels.RestErrorResponse Error401 *iamclientmodels.RestErrorResponse Error403 *iamclientmodels.RestErrorResponse Error500 *iamclientmodels.RestErrorResponse }
func (*AdminUpdateLoginAllowlistV3Response) Unpack ¶
func (m *AdminUpdateLoginAllowlistV3Response) Unpack() *iamclientmodels.ApiError
type AdminUpdateLoginAllowlistV3Unauthorized ¶
type AdminUpdateLoginAllowlistV3Unauthorized struct {
}AdminUpdateLoginAllowlistV3Unauthorized 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 NewAdminUpdateLoginAllowlistV3Unauthorized ¶
func NewAdminUpdateLoginAllowlistV3Unauthorized() *AdminUpdateLoginAllowlistV3Unauthorized
NewAdminUpdateLoginAllowlistV3Unauthorized creates a AdminUpdateLoginAllowlistV3Unauthorized with default headers values
func (*AdminUpdateLoginAllowlistV3Unauthorized) Error ¶
func (o *AdminUpdateLoginAllowlistV3Unauthorized) Error() string
func (*AdminUpdateLoginAllowlistV3Unauthorized) GetPayload ¶
func (o *AdminUpdateLoginAllowlistV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminUpdateLoginAllowlistV3Unauthorized) ToJSONString ¶
func (o *AdminUpdateLoginAllowlistV3Unauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for login allowlist API
func (*Client) AdminGetLoginAllowlistV3Short ¶
func (a *Client) AdminGetLoginAllowlistV3Short(params *AdminGetLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetLoginAllowlistV3Response, error)
AdminGetLoginAllowlistV3Short admin get login allowlist This endpoint return login allowlist configuration from specific namespace.
func (*Client) AdminUpdateLoginAllowlistV3Short ¶
func (a *Client) AdminUpdateLoginAllowlistV3Short(params *AdminUpdateLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateLoginAllowlistV3Response, error)
AdminUpdateLoginAllowlistV3Short admin update login allowlist This endpoint update login allowlist configuration from specific game namespace. roleIds: are list of role that allowed to login Note: only accept game namespace
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminGetLoginAllowlistV3Short(params *AdminGetLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetLoginAllowlistV3Response, error) AdminUpdateLoginAllowlistV3Short(params *AdminUpdateLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateLoginAllowlistV3Response, 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 login allowlist API client.