Documentation ¶
Index ¶
- type Client
- func (a *Client) HandleUploadXboxPFXCertificate(params *HandleUploadXboxPFXCertificateParams, ...) (*HandleUploadXboxPFXCertificateOK, *HandleUploadXboxPFXCertificateBadRequest, ...)deprecated
- func (a *Client) HandleUploadXboxPFXCertificateShort(params *HandleUploadXboxPFXCertificateParams, ...) (*HandleUploadXboxPFXCertificateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type HandleUploadXboxPFXCertificateBadRequest
- type HandleUploadXboxPFXCertificateForbidden
- type HandleUploadXboxPFXCertificateInternalServerError
- type HandleUploadXboxPFXCertificateNotFound
- type HandleUploadXboxPFXCertificateOK
- type HandleUploadXboxPFXCertificateParams
- func NewHandleUploadXboxPFXCertificateParams() *HandleUploadXboxPFXCertificateParams
- func NewHandleUploadXboxPFXCertificateParamsWithContext(ctx context.Context) *HandleUploadXboxPFXCertificateParams
- func NewHandleUploadXboxPFXCertificateParamsWithHTTPClient(client *http.Client) *HandleUploadXboxPFXCertificateParams
- func NewHandleUploadXboxPFXCertificateParamsWithTimeout(timeout time.Duration) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *HandleUploadXboxPFXCertificateParams) SetCertname(certname string)
- func (o *HandleUploadXboxPFXCertificateParams) SetContext(ctx context.Context)
- func (o *HandleUploadXboxPFXCertificateParams) SetDescription(description *string)
- func (o *HandleUploadXboxPFXCertificateParams) SetFile(file runtime.NamedReadCloser)
- func (o *HandleUploadXboxPFXCertificateParams) SetFlightId(flightId string)
- func (o *HandleUploadXboxPFXCertificateParams) SetHTTPClient(client *http.Client)
- func (o *HandleUploadXboxPFXCertificateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *HandleUploadXboxPFXCertificateParams) SetNamespace(namespace string)
- func (o *HandleUploadXboxPFXCertificateParams) SetPassword(password string)
- func (o *HandleUploadXboxPFXCertificateParams) SetTimeout(timeout time.Duration)
- func (o *HandleUploadXboxPFXCertificateParams) WithCertname(certname string) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) WithContext(ctx context.Context) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) WithDescription(description *string) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) WithFile(file runtime.NamedReadCloser) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) WithHTTPClient(client *http.Client) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) WithNamespace(namespace string) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) WithPassword(password string) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) WithTimeout(timeout time.Duration) *HandleUploadXboxPFXCertificateParams
- func (o *HandleUploadXboxPFXCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HandleUploadXboxPFXCertificateReader
- type HandleUploadXboxPFXCertificateUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for certificate API
func (*Client) HandleUploadXboxPFXCertificate
deprecated
func (a *Client) HandleUploadXboxPFXCertificate(params *HandleUploadXboxPFXCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*HandleUploadXboxPFXCertificateOK, *HandleUploadXboxPFXCertificateBadRequest, *HandleUploadXboxPFXCertificateUnauthorized, *HandleUploadXboxPFXCertificateForbidden, *HandleUploadXboxPFXCertificateNotFound, *HandleUploadXboxPFXCertificateInternalServerError, error)
Deprecated: 2022-08-10 - Use HandleUploadXboxPFXCertificateShort instead.
HandleUploadXboxPFXCertificate upload certificates for xbox. Upload certificates for xbox. Certificate must be in the valid form of PFX format.
func (*Client) HandleUploadXboxPFXCertificateShort ¶
func (a *Client) HandleUploadXboxPFXCertificateShort(params *HandleUploadXboxPFXCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*HandleUploadXboxPFXCertificateOK, error)
HandleUploadXboxPFXCertificateShort upload certificates for xbox. Upload certificates for xbox. Certificate must be in the valid form of PFX format.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { HandleUploadXboxPFXCertificate(params *HandleUploadXboxPFXCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*HandleUploadXboxPFXCertificateOK, *HandleUploadXboxPFXCertificateBadRequest, *HandleUploadXboxPFXCertificateUnauthorized, *HandleUploadXboxPFXCertificateForbidden, *HandleUploadXboxPFXCertificateNotFound, *HandleUploadXboxPFXCertificateInternalServerError, error) HandleUploadXboxPFXCertificateShort(params *HandleUploadXboxPFXCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*HandleUploadXboxPFXCertificateOK, 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 certificate API client.
type HandleUploadXboxPFXCertificateBadRequest ¶
type HandleUploadXboxPFXCertificateBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
HandleUploadXboxPFXCertificateBadRequest handles this case with default header values.
Bad Request
func NewHandleUploadXboxPFXCertificateBadRequest ¶
func NewHandleUploadXboxPFXCertificateBadRequest() *HandleUploadXboxPFXCertificateBadRequest
NewHandleUploadXboxPFXCertificateBadRequest creates a HandleUploadXboxPFXCertificateBadRequest with default headers values
func (*HandleUploadXboxPFXCertificateBadRequest) Error ¶
func (o *HandleUploadXboxPFXCertificateBadRequest) Error() string
func (*HandleUploadXboxPFXCertificateBadRequest) GetPayload ¶
func (o *HandleUploadXboxPFXCertificateBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*HandleUploadXboxPFXCertificateBadRequest) ToJSONString ¶
func (o *HandleUploadXboxPFXCertificateBadRequest) ToJSONString() string
type HandleUploadXboxPFXCertificateForbidden ¶
type HandleUploadXboxPFXCertificateForbidden struct {
Payload *sessionclientmodels.ResponseError
}
HandleUploadXboxPFXCertificateForbidden handles this case with default header values.
Forbidden
func NewHandleUploadXboxPFXCertificateForbidden ¶
func NewHandleUploadXboxPFXCertificateForbidden() *HandleUploadXboxPFXCertificateForbidden
NewHandleUploadXboxPFXCertificateForbidden creates a HandleUploadXboxPFXCertificateForbidden with default headers values
func (*HandleUploadXboxPFXCertificateForbidden) Error ¶
func (o *HandleUploadXboxPFXCertificateForbidden) Error() string
func (*HandleUploadXboxPFXCertificateForbidden) GetPayload ¶
func (o *HandleUploadXboxPFXCertificateForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*HandleUploadXboxPFXCertificateForbidden) ToJSONString ¶
func (o *HandleUploadXboxPFXCertificateForbidden) ToJSONString() string
type HandleUploadXboxPFXCertificateInternalServerError ¶
type HandleUploadXboxPFXCertificateInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
HandleUploadXboxPFXCertificateInternalServerError handles this case with default header values.
Internal Server Error
func NewHandleUploadXboxPFXCertificateInternalServerError ¶
func NewHandleUploadXboxPFXCertificateInternalServerError() *HandleUploadXboxPFXCertificateInternalServerError
NewHandleUploadXboxPFXCertificateInternalServerError creates a HandleUploadXboxPFXCertificateInternalServerError with default headers values
func (*HandleUploadXboxPFXCertificateInternalServerError) Error ¶
func (o *HandleUploadXboxPFXCertificateInternalServerError) Error() string
func (*HandleUploadXboxPFXCertificateInternalServerError) GetPayload ¶
func (o *HandleUploadXboxPFXCertificateInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*HandleUploadXboxPFXCertificateInternalServerError) ToJSONString ¶
func (o *HandleUploadXboxPFXCertificateInternalServerError) ToJSONString() string
type HandleUploadXboxPFXCertificateNotFound ¶
type HandleUploadXboxPFXCertificateNotFound struct {
Payload *sessionclientmodels.ResponseError
}
HandleUploadXboxPFXCertificateNotFound handles this case with default header values.
Not Found
func NewHandleUploadXboxPFXCertificateNotFound ¶
func NewHandleUploadXboxPFXCertificateNotFound() *HandleUploadXboxPFXCertificateNotFound
NewHandleUploadXboxPFXCertificateNotFound creates a HandleUploadXboxPFXCertificateNotFound with default headers values
func (*HandleUploadXboxPFXCertificateNotFound) Error ¶
func (o *HandleUploadXboxPFXCertificateNotFound) Error() string
func (*HandleUploadXboxPFXCertificateNotFound) GetPayload ¶
func (o *HandleUploadXboxPFXCertificateNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*HandleUploadXboxPFXCertificateNotFound) ToJSONString ¶
func (o *HandleUploadXboxPFXCertificateNotFound) ToJSONString() string
type HandleUploadXboxPFXCertificateOK ¶
type HandleUploadXboxPFXCertificateOK struct {
Payload *sessionclientmodels.ModelsPlatformCredentials
}
HandleUploadXboxPFXCertificateOK handles this case with default header values.
OK
func NewHandleUploadXboxPFXCertificateOK ¶
func NewHandleUploadXboxPFXCertificateOK() *HandleUploadXboxPFXCertificateOK
NewHandleUploadXboxPFXCertificateOK creates a HandleUploadXboxPFXCertificateOK with default headers values
func (*HandleUploadXboxPFXCertificateOK) Error ¶
func (o *HandleUploadXboxPFXCertificateOK) Error() string
func (*HandleUploadXboxPFXCertificateOK) GetPayload ¶
func (o *HandleUploadXboxPFXCertificateOK) GetPayload() *sessionclientmodels.ModelsPlatformCredentials
func (*HandleUploadXboxPFXCertificateOK) ToJSONString ¶
func (o *HandleUploadXboxPFXCertificateOK) ToJSONString() string
type HandleUploadXboxPFXCertificateParams ¶
type HandleUploadXboxPFXCertificateParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Description the description of the uploaded file */ Description *string /*Certname certificate name */ Certname string /*File the file to upload */ File runtime.NamedReadCloser /*Password the uploaded file password */ Password string /*Namespace namespace of the game */ 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 }
HandleUploadXboxPFXCertificateParams contains all the parameters to send to the API endpoint for the handle upload xbox pfx certificate operation typically these are written to a http.Request
func NewHandleUploadXboxPFXCertificateParams ¶
func NewHandleUploadXboxPFXCertificateParams() *HandleUploadXboxPFXCertificateParams
NewHandleUploadXboxPFXCertificateParams creates a new HandleUploadXboxPFXCertificateParams object with the default values initialized.
func NewHandleUploadXboxPFXCertificateParamsWithContext ¶
func NewHandleUploadXboxPFXCertificateParamsWithContext(ctx context.Context) *HandleUploadXboxPFXCertificateParams
NewHandleUploadXboxPFXCertificateParamsWithContext creates a new HandleUploadXboxPFXCertificateParams object with the default values initialized, and the ability to set a context for a request
func NewHandleUploadXboxPFXCertificateParamsWithHTTPClient ¶
func NewHandleUploadXboxPFXCertificateParamsWithHTTPClient(client *http.Client) *HandleUploadXboxPFXCertificateParams
NewHandleUploadXboxPFXCertificateParamsWithHTTPClient creates a new HandleUploadXboxPFXCertificateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewHandleUploadXboxPFXCertificateParamsWithTimeout ¶
func NewHandleUploadXboxPFXCertificateParamsWithTimeout(timeout time.Duration) *HandleUploadXboxPFXCertificateParams
NewHandleUploadXboxPFXCertificateParamsWithTimeout creates a new HandleUploadXboxPFXCertificateParams object with the default values initialized, and the ability to set a timeout on a request
func (*HandleUploadXboxPFXCertificateParams) SetAuthInfoWriter ¶
func (o *HandleUploadXboxPFXCertificateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetCertname ¶
func (o *HandleUploadXboxPFXCertificateParams) SetCertname(certname string)
SetCertname adds the certname to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetContext ¶
func (o *HandleUploadXboxPFXCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetDescription ¶
func (o *HandleUploadXboxPFXCertificateParams) SetDescription(description *string)
SetDescription adds the description to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetFile ¶
func (o *HandleUploadXboxPFXCertificateParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetFlightId ¶ added in v0.63.0
func (o *HandleUploadXboxPFXCertificateParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*HandleUploadXboxPFXCertificateParams) SetHTTPClient ¶
func (o *HandleUploadXboxPFXCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetHTTPClientTransport ¶
func (o *HandleUploadXboxPFXCertificateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetNamespace ¶
func (o *HandleUploadXboxPFXCertificateParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetPassword ¶
func (o *HandleUploadXboxPFXCertificateParams) SetPassword(password string)
SetPassword adds the password to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) SetTimeout ¶
func (o *HandleUploadXboxPFXCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WithCertname ¶
func (o *HandleUploadXboxPFXCertificateParams) WithCertname(certname string) *HandleUploadXboxPFXCertificateParams
WithCertname adds the certname to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WithContext ¶
func (o *HandleUploadXboxPFXCertificateParams) WithContext(ctx context.Context) *HandleUploadXboxPFXCertificateParams
WithContext adds the context to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WithDescription ¶
func (o *HandleUploadXboxPFXCertificateParams) WithDescription(description *string) *HandleUploadXboxPFXCertificateParams
WithDescription adds the description to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WithFile ¶
func (o *HandleUploadXboxPFXCertificateParams) WithFile(file runtime.NamedReadCloser) *HandleUploadXboxPFXCertificateParams
WithFile adds the file to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WithHTTPClient ¶
func (o *HandleUploadXboxPFXCertificateParams) WithHTTPClient(client *http.Client) *HandleUploadXboxPFXCertificateParams
WithHTTPClient adds the HTTPClient to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WithNamespace ¶
func (o *HandleUploadXboxPFXCertificateParams) WithNamespace(namespace string) *HandleUploadXboxPFXCertificateParams
WithNamespace adds the namespace to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WithPassword ¶
func (o *HandleUploadXboxPFXCertificateParams) WithPassword(password string) *HandleUploadXboxPFXCertificateParams
WithPassword adds the password to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WithTimeout ¶
func (o *HandleUploadXboxPFXCertificateParams) WithTimeout(timeout time.Duration) *HandleUploadXboxPFXCertificateParams
WithTimeout adds the timeout to the handle upload xbox pfx certificate params
func (*HandleUploadXboxPFXCertificateParams) WriteToRequest ¶
func (o *HandleUploadXboxPFXCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HandleUploadXboxPFXCertificateReader ¶
type HandleUploadXboxPFXCertificateReader struct {
// contains filtered or unexported fields
}
HandleUploadXboxPFXCertificateReader is a Reader for the HandleUploadXboxPFXCertificate structure.
func (*HandleUploadXboxPFXCertificateReader) ReadResponse ¶
func (o *HandleUploadXboxPFXCertificateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HandleUploadXboxPFXCertificateUnauthorized ¶
type HandleUploadXboxPFXCertificateUnauthorized struct {
}HandleUploadXboxPFXCertificateUnauthorized handles this case with default header values.
Unauthorized
func NewHandleUploadXboxPFXCertificateUnauthorized ¶
func NewHandleUploadXboxPFXCertificateUnauthorized() *HandleUploadXboxPFXCertificateUnauthorized
NewHandleUploadXboxPFXCertificateUnauthorized creates a HandleUploadXboxPFXCertificateUnauthorized with default headers values
func (*HandleUploadXboxPFXCertificateUnauthorized) Error ¶
func (o *HandleUploadXboxPFXCertificateUnauthorized) Error() string
func (*HandleUploadXboxPFXCertificateUnauthorized) GetPayload ¶
func (o *HandleUploadXboxPFXCertificateUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*HandleUploadXboxPFXCertificateUnauthorized) ToJSONString ¶
func (o *HandleUploadXboxPFXCertificateUnauthorized) ToJSONString() string