Documentation
¶
Index ¶
- type AdminUpdatePlatformCredentialsBadRequest
- type AdminUpdatePlatformCredentialsForbidden
- type AdminUpdatePlatformCredentialsInternalServerError
- type AdminUpdatePlatformCredentialsNotFound
- type AdminUpdatePlatformCredentialsOK
- type AdminUpdatePlatformCredentialsParams
- func NewAdminUpdatePlatformCredentialsParams() *AdminUpdatePlatformCredentialsParams
- func NewAdminUpdatePlatformCredentialsParamsWithContext(ctx context.Context) *AdminUpdatePlatformCredentialsParams
- func NewAdminUpdatePlatformCredentialsParamsWithHTTPClient(client *http.Client) *AdminUpdatePlatformCredentialsParams
- func NewAdminUpdatePlatformCredentialsParamsWithTimeout(timeout time.Duration) *AdminUpdatePlatformCredentialsParams
- func (o *AdminUpdatePlatformCredentialsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdatePlatformCredentialsParams) SetBody(body *sessionclientmodels.ApimodelsPutPlatformCredentialsRequest)
- func (o *AdminUpdatePlatformCredentialsParams) SetContext(ctx context.Context)
- func (o *AdminUpdatePlatformCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdatePlatformCredentialsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdatePlatformCredentialsParams) SetNamespace(namespace string)
- func (o *AdminUpdatePlatformCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdatePlatformCredentialsParams) WithBody(body *sessionclientmodels.ApimodelsPutPlatformCredentialsRequest) *AdminUpdatePlatformCredentialsParams
- func (o *AdminUpdatePlatformCredentialsParams) WithContext(ctx context.Context) *AdminUpdatePlatformCredentialsParams
- func (o *AdminUpdatePlatformCredentialsParams) WithHTTPClient(client *http.Client) *AdminUpdatePlatformCredentialsParams
- func (o *AdminUpdatePlatformCredentialsParams) WithNamespace(namespace string) *AdminUpdatePlatformCredentialsParams
- func (o *AdminUpdatePlatformCredentialsParams) WithTimeout(timeout time.Duration) *AdminUpdatePlatformCredentialsParams
- func (o *AdminUpdatePlatformCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdatePlatformCredentialsReader
- type AdminUpdatePlatformCredentialsUnauthorized
- type Client
- func (a *Client) AdminUpdatePlatformCredentials(params *AdminUpdatePlatformCredentialsParams, ...) (*AdminUpdatePlatformCredentialsOK, *AdminUpdatePlatformCredentialsBadRequest, ...)deprecated
- func (a *Client) AdminUpdatePlatformCredentialsShort(params *AdminUpdatePlatformCredentialsParams, ...) (*AdminUpdatePlatformCredentialsOK, 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 AdminUpdatePlatformCredentialsBadRequest ¶
type AdminUpdatePlatformCredentialsBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
AdminUpdatePlatformCredentialsBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdatePlatformCredentialsBadRequest ¶
func NewAdminUpdatePlatformCredentialsBadRequest() *AdminUpdatePlatformCredentialsBadRequest
NewAdminUpdatePlatformCredentialsBadRequest creates a AdminUpdatePlatformCredentialsBadRequest with default headers values
func (*AdminUpdatePlatformCredentialsBadRequest) Error ¶
func (o *AdminUpdatePlatformCredentialsBadRequest) Error() string
func (*AdminUpdatePlatformCredentialsBadRequest) GetPayload ¶
func (o *AdminUpdatePlatformCredentialsBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdatePlatformCredentialsBadRequest) ToJSONString ¶
func (o *AdminUpdatePlatformCredentialsBadRequest) ToJSONString() string
type AdminUpdatePlatformCredentialsForbidden ¶
type AdminUpdatePlatformCredentialsForbidden struct {
Payload *sessionclientmodels.ResponseError
}
AdminUpdatePlatformCredentialsForbidden handles this case with default header values.
Forbidden
func NewAdminUpdatePlatformCredentialsForbidden ¶
func NewAdminUpdatePlatformCredentialsForbidden() *AdminUpdatePlatformCredentialsForbidden
NewAdminUpdatePlatformCredentialsForbidden creates a AdminUpdatePlatformCredentialsForbidden with default headers values
func (*AdminUpdatePlatformCredentialsForbidden) Error ¶
func (o *AdminUpdatePlatformCredentialsForbidden) Error() string
func (*AdminUpdatePlatformCredentialsForbidden) GetPayload ¶
func (o *AdminUpdatePlatformCredentialsForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdatePlatformCredentialsForbidden) ToJSONString ¶
func (o *AdminUpdatePlatformCredentialsForbidden) ToJSONString() string
type AdminUpdatePlatformCredentialsInternalServerError ¶
type AdminUpdatePlatformCredentialsInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
AdminUpdatePlatformCredentialsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdatePlatformCredentialsInternalServerError ¶
func NewAdminUpdatePlatformCredentialsInternalServerError() *AdminUpdatePlatformCredentialsInternalServerError
NewAdminUpdatePlatformCredentialsInternalServerError creates a AdminUpdatePlatformCredentialsInternalServerError with default headers values
func (*AdminUpdatePlatformCredentialsInternalServerError) Error ¶
func (o *AdminUpdatePlatformCredentialsInternalServerError) Error() string
func (*AdminUpdatePlatformCredentialsInternalServerError) GetPayload ¶
func (o *AdminUpdatePlatformCredentialsInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdatePlatformCredentialsInternalServerError) ToJSONString ¶
func (o *AdminUpdatePlatformCredentialsInternalServerError) ToJSONString() string
type AdminUpdatePlatformCredentialsNotFound ¶
type AdminUpdatePlatformCredentialsNotFound struct {
Payload *sessionclientmodels.ResponseError
}
AdminUpdatePlatformCredentialsNotFound handles this case with default header values.
Not Found
func NewAdminUpdatePlatformCredentialsNotFound ¶
func NewAdminUpdatePlatformCredentialsNotFound() *AdminUpdatePlatformCredentialsNotFound
NewAdminUpdatePlatformCredentialsNotFound creates a AdminUpdatePlatformCredentialsNotFound with default headers values
func (*AdminUpdatePlatformCredentialsNotFound) Error ¶
func (o *AdminUpdatePlatformCredentialsNotFound) Error() string
func (*AdminUpdatePlatformCredentialsNotFound) GetPayload ¶
func (o *AdminUpdatePlatformCredentialsNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdatePlatformCredentialsNotFound) ToJSONString ¶
func (o *AdminUpdatePlatformCredentialsNotFound) ToJSONString() string
type AdminUpdatePlatformCredentialsOK ¶
type AdminUpdatePlatformCredentialsOK struct {
Payload string
}
AdminUpdatePlatformCredentialsOK handles this case with default header values.
OK
func NewAdminUpdatePlatformCredentialsOK ¶
func NewAdminUpdatePlatformCredentialsOK() *AdminUpdatePlatformCredentialsOK
NewAdminUpdatePlatformCredentialsOK creates a AdminUpdatePlatformCredentialsOK with default headers values
func (*AdminUpdatePlatformCredentialsOK) Error ¶
func (o *AdminUpdatePlatformCredentialsOK) Error() string
func (*AdminUpdatePlatformCredentialsOK) GetPayload ¶
func (o *AdminUpdatePlatformCredentialsOK) GetPayload() string
func (*AdminUpdatePlatformCredentialsOK) ToJSONString ¶
func (o *AdminUpdatePlatformCredentialsOK) ToJSONString() string
type AdminUpdatePlatformCredentialsParams ¶
type AdminUpdatePlatformCredentialsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *sessionclientmodels.ApimodelsPutPlatformCredentialsRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdatePlatformCredentialsParams contains all the parameters to send to the API endpoint for the admin update platform credentials operation typically these are written to a http.Request
func NewAdminUpdatePlatformCredentialsParams ¶
func NewAdminUpdatePlatformCredentialsParams() *AdminUpdatePlatformCredentialsParams
NewAdminUpdatePlatformCredentialsParams creates a new AdminUpdatePlatformCredentialsParams object with the default values initialized.
func NewAdminUpdatePlatformCredentialsParamsWithContext ¶
func NewAdminUpdatePlatformCredentialsParamsWithContext(ctx context.Context) *AdminUpdatePlatformCredentialsParams
NewAdminUpdatePlatformCredentialsParamsWithContext creates a new AdminUpdatePlatformCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdatePlatformCredentialsParamsWithHTTPClient ¶
func NewAdminUpdatePlatformCredentialsParamsWithHTTPClient(client *http.Client) *AdminUpdatePlatformCredentialsParams
NewAdminUpdatePlatformCredentialsParamsWithHTTPClient creates a new AdminUpdatePlatformCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdatePlatformCredentialsParamsWithTimeout ¶
func NewAdminUpdatePlatformCredentialsParamsWithTimeout(timeout time.Duration) *AdminUpdatePlatformCredentialsParams
NewAdminUpdatePlatformCredentialsParamsWithTimeout creates a new AdminUpdatePlatformCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdatePlatformCredentialsParams) SetAuthInfoWriter ¶
func (o *AdminUpdatePlatformCredentialsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) SetBody ¶
func (o *AdminUpdatePlatformCredentialsParams) SetBody(body *sessionclientmodels.ApimodelsPutPlatformCredentialsRequest)
SetBody adds the body to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) SetContext ¶
func (o *AdminUpdatePlatformCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) SetHTTPClient ¶
func (o *AdminUpdatePlatformCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) SetHTTPClientTransport ¶
func (o *AdminUpdatePlatformCredentialsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) SetNamespace ¶
func (o *AdminUpdatePlatformCredentialsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) SetTimeout ¶
func (o *AdminUpdatePlatformCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) WithBody ¶
func (o *AdminUpdatePlatformCredentialsParams) WithBody(body *sessionclientmodels.ApimodelsPutPlatformCredentialsRequest) *AdminUpdatePlatformCredentialsParams
WithBody adds the body to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) WithContext ¶
func (o *AdminUpdatePlatformCredentialsParams) WithContext(ctx context.Context) *AdminUpdatePlatformCredentialsParams
WithContext adds the context to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) WithHTTPClient ¶
func (o *AdminUpdatePlatformCredentialsParams) WithHTTPClient(client *http.Client) *AdminUpdatePlatformCredentialsParams
WithHTTPClient adds the HTTPClient to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) WithNamespace ¶
func (o *AdminUpdatePlatformCredentialsParams) WithNamespace(namespace string) *AdminUpdatePlatformCredentialsParams
WithNamespace adds the namespace to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) WithTimeout ¶
func (o *AdminUpdatePlatformCredentialsParams) WithTimeout(timeout time.Duration) *AdminUpdatePlatformCredentialsParams
WithTimeout adds the timeout to the admin update platform credentials params
func (*AdminUpdatePlatformCredentialsParams) WriteToRequest ¶
func (o *AdminUpdatePlatformCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdatePlatformCredentialsReader ¶
type AdminUpdatePlatformCredentialsReader struct {
// contains filtered or unexported fields
}
AdminUpdatePlatformCredentialsReader is a Reader for the AdminUpdatePlatformCredentials structure.
func (*AdminUpdatePlatformCredentialsReader) ReadResponse ¶
func (o *AdminUpdatePlatformCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdatePlatformCredentialsUnauthorized ¶
type AdminUpdatePlatformCredentialsUnauthorized struct {
}AdminUpdatePlatformCredentialsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdatePlatformCredentialsUnauthorized ¶
func NewAdminUpdatePlatformCredentialsUnauthorized() *AdminUpdatePlatformCredentialsUnauthorized
NewAdminUpdatePlatformCredentialsUnauthorized creates a AdminUpdatePlatformCredentialsUnauthorized with default headers values
func (*AdminUpdatePlatformCredentialsUnauthorized) Error ¶
func (o *AdminUpdatePlatformCredentialsUnauthorized) Error() string
func (*AdminUpdatePlatformCredentialsUnauthorized) GetPayload ¶
func (o *AdminUpdatePlatformCredentialsUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdatePlatformCredentialsUnauthorized) ToJSONString ¶
func (o *AdminUpdatePlatformCredentialsUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for platform credential API
func (*Client) AdminUpdatePlatformCredentials
deprecated
func (a *Client) AdminUpdatePlatformCredentials(params *AdminUpdatePlatformCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdatePlatformCredentialsOK, *AdminUpdatePlatformCredentialsBadRequest, *AdminUpdatePlatformCredentialsUnauthorized, *AdminUpdatePlatformCredentialsForbidden, *AdminUpdatePlatformCredentialsNotFound, *AdminUpdatePlatformCredentialsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdatePlatformCredentialsShort instead.
AdminUpdatePlatformCredentials update platform credentials. currently only used to sync psn sessions. requires admin:namespace:{namespace}:session:configuration [update] Update platform credentials.
func (*Client) AdminUpdatePlatformCredentialsShort ¶
func (a *Client) AdminUpdatePlatformCredentialsShort(params *AdminUpdatePlatformCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdatePlatformCredentialsOK, error)
AdminUpdatePlatformCredentialsShort update platform credentials. currently only used to sync psn sessions. requires admin:namespace:{namespace}:session:configuration [update] Update platform credentials.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminUpdatePlatformCredentials(params *AdminUpdatePlatformCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdatePlatformCredentialsOK, *AdminUpdatePlatformCredentialsBadRequest, *AdminUpdatePlatformCredentialsUnauthorized, *AdminUpdatePlatformCredentialsForbidden, *AdminUpdatePlatformCredentialsNotFound, *AdminUpdatePlatformCredentialsInternalServerError, error) AdminUpdatePlatformCredentialsShort(params *AdminUpdatePlatformCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdatePlatformCredentialsOK, 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 platform credential API client.