Documentation ¶
Index ¶
- type Client
- func (a *Client) QoSRegionsGet(params *QoSRegionsGetParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsGetOK, *QoSRegionsGetBadRequest, *QoSRegionsGetUnauthorized, ...)deprecated
- func (a *Client) QoSRegionsGetShort(params *QoSRegionsGetParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsGetOK, error)
- func (a *Client) QoSRegionsUpdate(params *QoSRegionsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsUpdateNoContent, *QoSRegionsUpdateBadRequest, ...)deprecated
- func (a *Client) QoSRegionsUpdateShort(params *QoSRegionsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsUpdateNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type QoSRegionsGetBadRequest
- type QoSRegionsGetForbidden
- type QoSRegionsGetInternalServerError
- type QoSRegionsGetOK
- type QoSRegionsGetParams
- func (o *QoSRegionsGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QoSRegionsGetParams) SetContext(ctx context.Context)
- func (o *QoSRegionsGetParams) SetHTTPClient(client *http.Client)
- func (o *QoSRegionsGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QoSRegionsGetParams) SetNamespace(namespace string)
- func (o *QoSRegionsGetParams) SetStatus(status *string)
- func (o *QoSRegionsGetParams) SetTimeout(timeout time.Duration)
- func (o *QoSRegionsGetParams) WithContext(ctx context.Context) *QoSRegionsGetParams
- func (o *QoSRegionsGetParams) WithHTTPClient(client *http.Client) *QoSRegionsGetParams
- func (o *QoSRegionsGetParams) WithNamespace(namespace string) *QoSRegionsGetParams
- func (o *QoSRegionsGetParams) WithStatus(status *string) *QoSRegionsGetParams
- func (o *QoSRegionsGetParams) WithTimeout(timeout time.Duration) *QoSRegionsGetParams
- func (o *QoSRegionsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QoSRegionsGetReader
- type QoSRegionsGetUnauthorized
- type QoSRegionsUpdateBadRequest
- type QoSRegionsUpdateForbidden
- type QoSRegionsUpdateInternalServerError
- type QoSRegionsUpdateNoContent
- type QoSRegionsUpdateNotFound
- type QoSRegionsUpdateParams
- func NewQoSRegionsUpdateParams() *QoSRegionsUpdateParams
- func NewQoSRegionsUpdateParamsWithContext(ctx context.Context) *QoSRegionsUpdateParams
- func NewQoSRegionsUpdateParamsWithHTTPClient(client *http.Client) *QoSRegionsUpdateParams
- func NewQoSRegionsUpdateParamsWithTimeout(timeout time.Duration) *QoSRegionsUpdateParams
- func (o *QoSRegionsUpdateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QoSRegionsUpdateParams) SetBody(body *amsclientmodels.APIUpdateServerRequest)
- func (o *QoSRegionsUpdateParams) SetContext(ctx context.Context)
- func (o *QoSRegionsUpdateParams) SetHTTPClient(client *http.Client)
- func (o *QoSRegionsUpdateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QoSRegionsUpdateParams) SetNamespace(namespace string)
- func (o *QoSRegionsUpdateParams) SetRegion(region string)
- func (o *QoSRegionsUpdateParams) SetTimeout(timeout time.Duration)
- func (o *QoSRegionsUpdateParams) WithBody(body *amsclientmodels.APIUpdateServerRequest) *QoSRegionsUpdateParams
- func (o *QoSRegionsUpdateParams) WithContext(ctx context.Context) *QoSRegionsUpdateParams
- func (o *QoSRegionsUpdateParams) WithHTTPClient(client *http.Client) *QoSRegionsUpdateParams
- func (o *QoSRegionsUpdateParams) WithNamespace(namespace string) *QoSRegionsUpdateParams
- func (o *QoSRegionsUpdateParams) WithRegion(region string) *QoSRegionsUpdateParams
- func (o *QoSRegionsUpdateParams) WithTimeout(timeout time.Duration) *QoSRegionsUpdateParams
- func (o *QoSRegionsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QoSRegionsUpdateReader
- type QoSRegionsUpdateUnauthorized
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 a m s qo s API
func (*Client) QoSRegionsGet
deprecated
func (a *Client) QoSRegionsGet(params *QoSRegionsGetParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsGetOK, *QoSRegionsGetBadRequest, *QoSRegionsGetUnauthorized, *QoSRegionsGetForbidden, *QoSRegionsGetInternalServerError, error)
Deprecated: 2022-08-10 - Use QoSRegionsGetShort instead.
QoSRegionsGet get the list of available ams qos regions. Required Permission: NAMESPACE:{namespace}:QOS:SERVER [READ]
func (*Client) QoSRegionsGetShort ¶
func (a *Client) QoSRegionsGetShort(params *QoSRegionsGetParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsGetOK, error)
QoSRegionsGetShort get the list of available ams qos regions. Required Permission: NAMESPACE:{namespace}:QOS:SERVER [READ]
func (*Client) QoSRegionsUpdate
deprecated
func (a *Client) QoSRegionsUpdate(params *QoSRegionsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsUpdateNoContent, *QoSRegionsUpdateBadRequest, *QoSRegionsUpdateUnauthorized, *QoSRegionsUpdateForbidden, *QoSRegionsUpdateNotFound, *QoSRegionsUpdateInternalServerError, error)
Deprecated: 2022-08-10 - Use QoSRegionsUpdateShort instead.
QoSRegionsUpdate update the status of a qos region
func (*Client) QoSRegionsUpdateShort ¶
func (a *Client) QoSRegionsUpdateShort(params *QoSRegionsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsUpdateNoContent, error)
QoSRegionsUpdateShort update the status of a qos region
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { QoSRegionsUpdate(params *QoSRegionsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsUpdateNoContent, *QoSRegionsUpdateBadRequest, *QoSRegionsUpdateUnauthorized, *QoSRegionsUpdateForbidden, *QoSRegionsUpdateNotFound, *QoSRegionsUpdateInternalServerError, error) QoSRegionsUpdateShort(params *QoSRegionsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsUpdateNoContent, error) QoSRegionsGet(params *QoSRegionsGetParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsGetOK, *QoSRegionsGetBadRequest, *QoSRegionsGetUnauthorized, *QoSRegionsGetForbidden, *QoSRegionsGetInternalServerError, error) QoSRegionsGetShort(params *QoSRegionsGetParams, authInfo runtime.ClientAuthInfoWriter) (*QoSRegionsGetOK, 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 a m s qo s API client.
type QoSRegionsGetBadRequest ¶
type QoSRegionsGetBadRequest struct {
Payload *amsclientmodels.ResponseErrorResponse
}
QoSRegionsGetBadRequest handles this case with default header values.
bad request
func NewQoSRegionsGetBadRequest ¶
func NewQoSRegionsGetBadRequest() *QoSRegionsGetBadRequest
NewQoSRegionsGetBadRequest creates a QoSRegionsGetBadRequest with default headers values
func (*QoSRegionsGetBadRequest) Error ¶
func (o *QoSRegionsGetBadRequest) Error() string
func (*QoSRegionsGetBadRequest) GetPayload ¶
func (o *QoSRegionsGetBadRequest) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsGetBadRequest) ToJSONString ¶
func (o *QoSRegionsGetBadRequest) ToJSONString() string
type QoSRegionsGetForbidden ¶
type QoSRegionsGetForbidden struct {
Payload *amsclientmodels.ResponseErrorResponse
}
QoSRegionsGetForbidden handles this case with default header values.
insufficient permissions
func NewQoSRegionsGetForbidden ¶
func NewQoSRegionsGetForbidden() *QoSRegionsGetForbidden
NewQoSRegionsGetForbidden creates a QoSRegionsGetForbidden with default headers values
func (*QoSRegionsGetForbidden) Error ¶
func (o *QoSRegionsGetForbidden) Error() string
func (*QoSRegionsGetForbidden) GetPayload ¶
func (o *QoSRegionsGetForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsGetForbidden) ToJSONString ¶
func (o *QoSRegionsGetForbidden) ToJSONString() string
type QoSRegionsGetInternalServerError ¶
type QoSRegionsGetInternalServerError struct {
Payload *amsclientmodels.ResponseErrorResponse
}
QoSRegionsGetInternalServerError handles this case with default header values.
internal server error
func NewQoSRegionsGetInternalServerError ¶
func NewQoSRegionsGetInternalServerError() *QoSRegionsGetInternalServerError
NewQoSRegionsGetInternalServerError creates a QoSRegionsGetInternalServerError with default headers values
func (*QoSRegionsGetInternalServerError) Error ¶
func (o *QoSRegionsGetInternalServerError) Error() string
func (*QoSRegionsGetInternalServerError) GetPayload ¶
func (o *QoSRegionsGetInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsGetInternalServerError) ToJSONString ¶
func (o *QoSRegionsGetInternalServerError) ToJSONString() string
type QoSRegionsGetOK ¶
type QoSRegionsGetOK struct {
Payload *amsclientmodels.APIQoSEndpointResponse
}
QoSRegionsGetOK handles this case with default header values.
success
func NewQoSRegionsGetOK ¶
func NewQoSRegionsGetOK() *QoSRegionsGetOK
NewQoSRegionsGetOK creates a QoSRegionsGetOK with default headers values
func (*QoSRegionsGetOK) Error ¶
func (o *QoSRegionsGetOK) Error() string
func (*QoSRegionsGetOK) GetPayload ¶
func (o *QoSRegionsGetOK) GetPayload() *amsclientmodels.APIQoSEndpointResponse
func (*QoSRegionsGetOK) ToJSONString ¶
func (o *QoSRegionsGetOK) ToJSONString() string
type QoSRegionsGetParams ¶
type QoSRegionsGetParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Status QoS status, available value: ACTIVE, INACTIVE */ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QoSRegionsGetParams contains all the parameters to send to the API endpoint for the qo s regions get operation typically these are written to a http.Request
func NewQoSRegionsGetParams ¶
func NewQoSRegionsGetParams() *QoSRegionsGetParams
NewQoSRegionsGetParams creates a new QoSRegionsGetParams object with the default values initialized.
func NewQoSRegionsGetParamsWithContext ¶
func NewQoSRegionsGetParamsWithContext(ctx context.Context) *QoSRegionsGetParams
NewQoSRegionsGetParamsWithContext creates a new QoSRegionsGetParams object with the default values initialized, and the ability to set a context for a request
func NewQoSRegionsGetParamsWithHTTPClient ¶
func NewQoSRegionsGetParamsWithHTTPClient(client *http.Client) *QoSRegionsGetParams
NewQoSRegionsGetParamsWithHTTPClient creates a new QoSRegionsGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQoSRegionsGetParamsWithTimeout ¶
func NewQoSRegionsGetParamsWithTimeout(timeout time.Duration) *QoSRegionsGetParams
NewQoSRegionsGetParamsWithTimeout creates a new QoSRegionsGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*QoSRegionsGetParams) SetAuthInfoWriter ¶
func (o *QoSRegionsGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the qo s regions get params
func (*QoSRegionsGetParams) SetContext ¶
func (o *QoSRegionsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the qo s regions get params
func (*QoSRegionsGetParams) SetHTTPClient ¶
func (o *QoSRegionsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the qo s regions get params
func (*QoSRegionsGetParams) SetHTTPClientTransport ¶
func (o *QoSRegionsGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the qo s regions get params
func (*QoSRegionsGetParams) SetNamespace ¶
func (o *QoSRegionsGetParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the qo s regions get params
func (*QoSRegionsGetParams) SetStatus ¶
func (o *QoSRegionsGetParams) SetStatus(status *string)
SetStatus adds the status to the qo s regions get params
func (*QoSRegionsGetParams) SetTimeout ¶
func (o *QoSRegionsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the qo s regions get params
func (*QoSRegionsGetParams) WithContext ¶
func (o *QoSRegionsGetParams) WithContext(ctx context.Context) *QoSRegionsGetParams
WithContext adds the context to the qo s regions get params
func (*QoSRegionsGetParams) WithHTTPClient ¶
func (o *QoSRegionsGetParams) WithHTTPClient(client *http.Client) *QoSRegionsGetParams
WithHTTPClient adds the HTTPClient to the qo s regions get params
func (*QoSRegionsGetParams) WithNamespace ¶
func (o *QoSRegionsGetParams) WithNamespace(namespace string) *QoSRegionsGetParams
WithNamespace adds the namespace to the qo s regions get params
func (*QoSRegionsGetParams) WithStatus ¶
func (o *QoSRegionsGetParams) WithStatus(status *string) *QoSRegionsGetParams
WithStatus adds the status to the qo s regions get params
func (*QoSRegionsGetParams) WithTimeout ¶
func (o *QoSRegionsGetParams) WithTimeout(timeout time.Duration) *QoSRegionsGetParams
WithTimeout adds the timeout to the qo s regions get params
func (*QoSRegionsGetParams) WriteToRequest ¶
func (o *QoSRegionsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QoSRegionsGetReader ¶
type QoSRegionsGetReader struct {
// contains filtered or unexported fields
}
QoSRegionsGetReader is a Reader for the QoSRegionsGet structure.
func (*QoSRegionsGetReader) ReadResponse ¶
func (o *QoSRegionsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QoSRegionsGetUnauthorized ¶
type QoSRegionsGetUnauthorized struct {
}QoSRegionsGetUnauthorized handles this case with default header values.
no authorization provided
func NewQoSRegionsGetUnauthorized ¶
func NewQoSRegionsGetUnauthorized() *QoSRegionsGetUnauthorized
NewQoSRegionsGetUnauthorized creates a QoSRegionsGetUnauthorized with default headers values
func (*QoSRegionsGetUnauthorized) Error ¶
func (o *QoSRegionsGetUnauthorized) Error() string
func (*QoSRegionsGetUnauthorized) GetPayload ¶
func (o *QoSRegionsGetUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsGetUnauthorized) ToJSONString ¶
func (o *QoSRegionsGetUnauthorized) ToJSONString() string
type QoSRegionsUpdateBadRequest ¶
type QoSRegionsUpdateBadRequest struct {
Payload *amsclientmodels.ResponseErrorResponse
}
QoSRegionsUpdateBadRequest handles this case with default header values.
malformed request
func NewQoSRegionsUpdateBadRequest ¶
func NewQoSRegionsUpdateBadRequest() *QoSRegionsUpdateBadRequest
NewQoSRegionsUpdateBadRequest creates a QoSRegionsUpdateBadRequest with default headers values
func (*QoSRegionsUpdateBadRequest) Error ¶
func (o *QoSRegionsUpdateBadRequest) Error() string
func (*QoSRegionsUpdateBadRequest) GetPayload ¶
func (o *QoSRegionsUpdateBadRequest) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsUpdateBadRequest) ToJSONString ¶
func (o *QoSRegionsUpdateBadRequest) ToJSONString() string
type QoSRegionsUpdateForbidden ¶
type QoSRegionsUpdateForbidden struct {
Payload *amsclientmodels.ResponseErrorResponse
}
QoSRegionsUpdateForbidden handles this case with default header values.
insufficient permissions
func NewQoSRegionsUpdateForbidden ¶
func NewQoSRegionsUpdateForbidden() *QoSRegionsUpdateForbidden
NewQoSRegionsUpdateForbidden creates a QoSRegionsUpdateForbidden with default headers values
func (*QoSRegionsUpdateForbidden) Error ¶
func (o *QoSRegionsUpdateForbidden) Error() string
func (*QoSRegionsUpdateForbidden) GetPayload ¶
func (o *QoSRegionsUpdateForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsUpdateForbidden) ToJSONString ¶
func (o *QoSRegionsUpdateForbidden) ToJSONString() string
type QoSRegionsUpdateInternalServerError ¶
type QoSRegionsUpdateInternalServerError struct {
Payload *amsclientmodels.ResponseErrorResponse
}
QoSRegionsUpdateInternalServerError handles this case with default header values.
Internal Server Error
func NewQoSRegionsUpdateInternalServerError ¶
func NewQoSRegionsUpdateInternalServerError() *QoSRegionsUpdateInternalServerError
NewQoSRegionsUpdateInternalServerError creates a QoSRegionsUpdateInternalServerError with default headers values
func (*QoSRegionsUpdateInternalServerError) Error ¶
func (o *QoSRegionsUpdateInternalServerError) Error() string
func (*QoSRegionsUpdateInternalServerError) GetPayload ¶
func (o *QoSRegionsUpdateInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsUpdateInternalServerError) ToJSONString ¶
func (o *QoSRegionsUpdateInternalServerError) ToJSONString() string
type QoSRegionsUpdateNoContent ¶
type QoSRegionsUpdateNoContent struct { }
QoSRegionsUpdateNoContent handles this case with default header values.
record updated
func NewQoSRegionsUpdateNoContent ¶
func NewQoSRegionsUpdateNoContent() *QoSRegionsUpdateNoContent
NewQoSRegionsUpdateNoContent creates a QoSRegionsUpdateNoContent with default headers values
func (*QoSRegionsUpdateNoContent) Error ¶
func (o *QoSRegionsUpdateNoContent) Error() string
type QoSRegionsUpdateNotFound ¶
type QoSRegionsUpdateNotFound struct {
Payload *amsclientmodels.ResponseErrorResponse
}
QoSRegionsUpdateNotFound handles this case with default header values.
regionial QoS record not found
func NewQoSRegionsUpdateNotFound ¶
func NewQoSRegionsUpdateNotFound() *QoSRegionsUpdateNotFound
NewQoSRegionsUpdateNotFound creates a QoSRegionsUpdateNotFound with default headers values
func (*QoSRegionsUpdateNotFound) Error ¶
func (o *QoSRegionsUpdateNotFound) Error() string
func (*QoSRegionsUpdateNotFound) GetPayload ¶
func (o *QoSRegionsUpdateNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsUpdateNotFound) ToJSONString ¶
func (o *QoSRegionsUpdateNotFound) ToJSONString() string
type QoSRegionsUpdateParams ¶
type QoSRegionsUpdateParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *amsclientmodels.APIUpdateServerRequest /*Namespace namespace of the game */ Namespace string /*Region region of the QoS */ Region string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QoSRegionsUpdateParams contains all the parameters to send to the API endpoint for the qo s regions update operation typically these are written to a http.Request
func NewQoSRegionsUpdateParams ¶
func NewQoSRegionsUpdateParams() *QoSRegionsUpdateParams
NewQoSRegionsUpdateParams creates a new QoSRegionsUpdateParams object with the default values initialized.
func NewQoSRegionsUpdateParamsWithContext ¶
func NewQoSRegionsUpdateParamsWithContext(ctx context.Context) *QoSRegionsUpdateParams
NewQoSRegionsUpdateParamsWithContext creates a new QoSRegionsUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewQoSRegionsUpdateParamsWithHTTPClient ¶
func NewQoSRegionsUpdateParamsWithHTTPClient(client *http.Client) *QoSRegionsUpdateParams
NewQoSRegionsUpdateParamsWithHTTPClient creates a new QoSRegionsUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQoSRegionsUpdateParamsWithTimeout ¶
func NewQoSRegionsUpdateParamsWithTimeout(timeout time.Duration) *QoSRegionsUpdateParams
NewQoSRegionsUpdateParamsWithTimeout creates a new QoSRegionsUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*QoSRegionsUpdateParams) SetAuthInfoWriter ¶
func (o *QoSRegionsUpdateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the qo s regions update params
func (*QoSRegionsUpdateParams) SetBody ¶
func (o *QoSRegionsUpdateParams) SetBody(body *amsclientmodels.APIUpdateServerRequest)
SetBody adds the body to the qo s regions update params
func (*QoSRegionsUpdateParams) SetContext ¶
func (o *QoSRegionsUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the qo s regions update params
func (*QoSRegionsUpdateParams) SetHTTPClient ¶
func (o *QoSRegionsUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the qo s regions update params
func (*QoSRegionsUpdateParams) SetHTTPClientTransport ¶
func (o *QoSRegionsUpdateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the qo s regions update params
func (*QoSRegionsUpdateParams) SetNamespace ¶
func (o *QoSRegionsUpdateParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the qo s regions update params
func (*QoSRegionsUpdateParams) SetRegion ¶
func (o *QoSRegionsUpdateParams) SetRegion(region string)
SetRegion adds the region to the qo s regions update params
func (*QoSRegionsUpdateParams) SetTimeout ¶
func (o *QoSRegionsUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the qo s regions update params
func (*QoSRegionsUpdateParams) WithBody ¶
func (o *QoSRegionsUpdateParams) WithBody(body *amsclientmodels.APIUpdateServerRequest) *QoSRegionsUpdateParams
WithBody adds the body to the qo s regions update params
func (*QoSRegionsUpdateParams) WithContext ¶
func (o *QoSRegionsUpdateParams) WithContext(ctx context.Context) *QoSRegionsUpdateParams
WithContext adds the context to the qo s regions update params
func (*QoSRegionsUpdateParams) WithHTTPClient ¶
func (o *QoSRegionsUpdateParams) WithHTTPClient(client *http.Client) *QoSRegionsUpdateParams
WithHTTPClient adds the HTTPClient to the qo s regions update params
func (*QoSRegionsUpdateParams) WithNamespace ¶
func (o *QoSRegionsUpdateParams) WithNamespace(namespace string) *QoSRegionsUpdateParams
WithNamespace adds the namespace to the qo s regions update params
func (*QoSRegionsUpdateParams) WithRegion ¶
func (o *QoSRegionsUpdateParams) WithRegion(region string) *QoSRegionsUpdateParams
WithRegion adds the region to the qo s regions update params
func (*QoSRegionsUpdateParams) WithTimeout ¶
func (o *QoSRegionsUpdateParams) WithTimeout(timeout time.Duration) *QoSRegionsUpdateParams
WithTimeout adds the timeout to the qo s regions update params
func (*QoSRegionsUpdateParams) WriteToRequest ¶
func (o *QoSRegionsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QoSRegionsUpdateReader ¶
type QoSRegionsUpdateReader struct {
// contains filtered or unexported fields
}
QoSRegionsUpdateReader is a Reader for the QoSRegionsUpdate structure.
func (*QoSRegionsUpdateReader) ReadResponse ¶
func (o *QoSRegionsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QoSRegionsUpdateUnauthorized ¶
type QoSRegionsUpdateUnauthorized struct {
}QoSRegionsUpdateUnauthorized handles this case with default header values.
no authorization provided
func NewQoSRegionsUpdateUnauthorized ¶
func NewQoSRegionsUpdateUnauthorized() *QoSRegionsUpdateUnauthorized
NewQoSRegionsUpdateUnauthorized creates a QoSRegionsUpdateUnauthorized with default headers values
func (*QoSRegionsUpdateUnauthorized) Error ¶
func (o *QoSRegionsUpdateUnauthorized) Error() string
func (*QoSRegionsUpdateUnauthorized) GetPayload ¶
func (o *QoSRegionsUpdateUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*QoSRegionsUpdateUnauthorized) ToJSONString ¶
func (o *QoSRegionsUpdateUnauthorized) ToJSONString() string