Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type DisassociateSystemServiceFromObsServiceBadRequest
- type DisassociateSystemServiceFromObsServiceInternalServerError
- type DisassociateSystemServiceFromObsServiceNotFound
- type DisassociateSystemServiceFromObsServiceOK
- type DisassociateSystemServiceFromObsServiceParams
- func NewDisassociateSystemServiceFromObsServiceParams() *DisassociateSystemServiceFromObsServiceParams
- func NewDisassociateSystemServiceFromObsServiceParamsWithContext(ctx context.Context) *DisassociateSystemServiceFromObsServiceParams
- func NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient(client *http.Client) *DisassociateSystemServiceFromObsServiceParams
- func NewDisassociateSystemServiceFromObsServiceParamsWithTimeout(timeout time.Duration) *DisassociateSystemServiceFromObsServiceParams
- func (o *DisassociateSystemServiceFromObsServiceParams) SetContentLanguage(contentLanguage *string)
- func (o *DisassociateSystemServiceFromObsServiceParams) SetContext(ctx context.Context)
- func (o *DisassociateSystemServiceFromObsServiceParams) SetDefaults()
- func (o *DisassociateSystemServiceFromObsServiceParams) SetHTTPClient(client *http.Client)
- func (o *DisassociateSystemServiceFromObsServiceParams) SetRequestBody(requestBody *models.DisassociateSystemServiceFromObsServiceParams)
- func (o *DisassociateSystemServiceFromObsServiceParams) SetTimeout(timeout time.Duration)
- func (o *DisassociateSystemServiceFromObsServiceParams) WithContentLanguage(contentLanguage *string) *DisassociateSystemServiceFromObsServiceParams
- func (o *DisassociateSystemServiceFromObsServiceParams) WithContext(ctx context.Context) *DisassociateSystemServiceFromObsServiceParams
- func (o *DisassociateSystemServiceFromObsServiceParams) WithDefaults() *DisassociateSystemServiceFromObsServiceParams
- func (o *DisassociateSystemServiceFromObsServiceParams) WithHTTPClient(client *http.Client) *DisassociateSystemServiceFromObsServiceParams
- func (o *DisassociateSystemServiceFromObsServiceParams) WithRequestBody(requestBody *models.DisassociateSystemServiceFromObsServiceParams) *DisassociateSystemServiceFromObsServiceParams
- func (o *DisassociateSystemServiceFromObsServiceParams) WithTimeout(timeout time.Duration) *DisassociateSystemServiceFromObsServiceParams
- func (o *DisassociateSystemServiceFromObsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisassociateSystemServiceFromObsServiceReader
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 observability API
func (*Client) DisassociateSystemServiceFromObsService ¶
func (a *Client) DisassociateSystemServiceFromObsService(params *DisassociateSystemServiceFromObsServiceParams, opts ...ClientOption) (*DisassociateSystemServiceFromObsServiceOK, error)
DisassociateSystemServiceFromObsService disassociate system service from obs service API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DisassociateSystemServiceFromObsService(params *DisassociateSystemServiceFromObsServiceParams, opts ...ClientOption) (*DisassociateSystemServiceFromObsServiceOK, 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 observability API client.
type DisassociateSystemServiceFromObsServiceBadRequest ¶
type DisassociateSystemServiceFromObsServiceBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
DisassociateSystemServiceFromObsServiceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDisassociateSystemServiceFromObsServiceBadRequest ¶
func NewDisassociateSystemServiceFromObsServiceBadRequest() *DisassociateSystemServiceFromObsServiceBadRequest
NewDisassociateSystemServiceFromObsServiceBadRequest creates a DisassociateSystemServiceFromObsServiceBadRequest with default headers values
func (*DisassociateSystemServiceFromObsServiceBadRequest) Error ¶
func (o *DisassociateSystemServiceFromObsServiceBadRequest) Error() string
func (*DisassociateSystemServiceFromObsServiceBadRequest) GetPayload ¶
func (o *DisassociateSystemServiceFromObsServiceBadRequest) GetPayload() *models.ErrorBody
type DisassociateSystemServiceFromObsServiceInternalServerError ¶
type DisassociateSystemServiceFromObsServiceInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DisassociateSystemServiceFromObsServiceInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDisassociateSystemServiceFromObsServiceInternalServerError ¶
func NewDisassociateSystemServiceFromObsServiceInternalServerError() *DisassociateSystemServiceFromObsServiceInternalServerError
NewDisassociateSystemServiceFromObsServiceInternalServerError creates a DisassociateSystemServiceFromObsServiceInternalServerError with default headers values
func (*DisassociateSystemServiceFromObsServiceInternalServerError) Error ¶
func (o *DisassociateSystemServiceFromObsServiceInternalServerError) Error() string
func (*DisassociateSystemServiceFromObsServiceInternalServerError) GetPayload ¶
func (o *DisassociateSystemServiceFromObsServiceInternalServerError) GetPayload() *models.ErrorBody
type DisassociateSystemServiceFromObsServiceNotFound ¶
type DisassociateSystemServiceFromObsServiceNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
DisassociateSystemServiceFromObsServiceNotFound describes a response with status code 404, with default header values.
Not found
func NewDisassociateSystemServiceFromObsServiceNotFound ¶
func NewDisassociateSystemServiceFromObsServiceNotFound() *DisassociateSystemServiceFromObsServiceNotFound
NewDisassociateSystemServiceFromObsServiceNotFound creates a DisassociateSystemServiceFromObsServiceNotFound with default headers values
func (*DisassociateSystemServiceFromObsServiceNotFound) Error ¶
func (o *DisassociateSystemServiceFromObsServiceNotFound) Error() string
func (*DisassociateSystemServiceFromObsServiceNotFound) GetPayload ¶
func (o *DisassociateSystemServiceFromObsServiceNotFound) GetPayload() *models.ErrorBody
type DisassociateSystemServiceFromObsServiceOK ¶
type DisassociateSystemServiceFromObsServiceOK struct { XTowerRequestID string Payload *models.WithTaskDisassociateSystemServiceFromObsServiceResult }
DisassociateSystemServiceFromObsServiceOK describes a response with status code 200, with default header values.
DisassociateSystemServiceFromObsServiceOK disassociate system service from obs service o k
func NewDisassociateSystemServiceFromObsServiceOK ¶
func NewDisassociateSystemServiceFromObsServiceOK() *DisassociateSystemServiceFromObsServiceOK
NewDisassociateSystemServiceFromObsServiceOK creates a DisassociateSystemServiceFromObsServiceOK with default headers values
func (*DisassociateSystemServiceFromObsServiceOK) Error ¶
func (o *DisassociateSystemServiceFromObsServiceOK) Error() string
func (*DisassociateSystemServiceFromObsServiceOK) GetPayload ¶
func (o *DisassociateSystemServiceFromObsServiceOK) GetPayload() *models.WithTaskDisassociateSystemServiceFromObsServiceResult
type DisassociateSystemServiceFromObsServiceParams ¶
type DisassociateSystemServiceFromObsServiceParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.DisassociateSystemServiceFromObsServiceParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisassociateSystemServiceFromObsServiceParams contains all the parameters to send to the API endpoint
for the disassociate system service from obs service operation. Typically these are written to a http.Request.
func NewDisassociateSystemServiceFromObsServiceParams ¶
func NewDisassociateSystemServiceFromObsServiceParams() *DisassociateSystemServiceFromObsServiceParams
NewDisassociateSystemServiceFromObsServiceParams creates a new DisassociateSystemServiceFromObsServiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDisassociateSystemServiceFromObsServiceParamsWithContext ¶
func NewDisassociateSystemServiceFromObsServiceParamsWithContext(ctx context.Context) *DisassociateSystemServiceFromObsServiceParams
NewDisassociateSystemServiceFromObsServiceParamsWithContext creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a context for a request.
func NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient ¶
func NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient(client *http.Client) *DisassociateSystemServiceFromObsServiceParams
NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a custom HTTPClient for a request.
func NewDisassociateSystemServiceFromObsServiceParamsWithTimeout ¶
func NewDisassociateSystemServiceFromObsServiceParamsWithTimeout(timeout time.Duration) *DisassociateSystemServiceFromObsServiceParams
NewDisassociateSystemServiceFromObsServiceParamsWithTimeout creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a timeout on a request.
func (*DisassociateSystemServiceFromObsServiceParams) SetContentLanguage ¶
func (o *DisassociateSystemServiceFromObsServiceParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) SetContext ¶
func (o *DisassociateSystemServiceFromObsServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) SetDefaults ¶
func (o *DisassociateSystemServiceFromObsServiceParams) SetDefaults()
SetDefaults hydrates default values in the disassociate system service from obs service params (not the query body).
All values with no default are reset to their zero value.
func (*DisassociateSystemServiceFromObsServiceParams) SetHTTPClient ¶
func (o *DisassociateSystemServiceFromObsServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) SetRequestBody ¶
func (o *DisassociateSystemServiceFromObsServiceParams) SetRequestBody(requestBody *models.DisassociateSystemServiceFromObsServiceParams)
SetRequestBody adds the requestBody to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) SetTimeout ¶
func (o *DisassociateSystemServiceFromObsServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) WithContentLanguage ¶
func (o *DisassociateSystemServiceFromObsServiceParams) WithContentLanguage(contentLanguage *string) *DisassociateSystemServiceFromObsServiceParams
WithContentLanguage adds the contentLanguage to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) WithContext ¶
func (o *DisassociateSystemServiceFromObsServiceParams) WithContext(ctx context.Context) *DisassociateSystemServiceFromObsServiceParams
WithContext adds the context to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) WithDefaults ¶
func (o *DisassociateSystemServiceFromObsServiceParams) WithDefaults() *DisassociateSystemServiceFromObsServiceParams
WithDefaults hydrates default values in the disassociate system service from obs service params (not the query body).
All values with no default are reset to their zero value.
func (*DisassociateSystemServiceFromObsServiceParams) WithHTTPClient ¶
func (o *DisassociateSystemServiceFromObsServiceParams) WithHTTPClient(client *http.Client) *DisassociateSystemServiceFromObsServiceParams
WithHTTPClient adds the HTTPClient to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) WithRequestBody ¶
func (o *DisassociateSystemServiceFromObsServiceParams) WithRequestBody(requestBody *models.DisassociateSystemServiceFromObsServiceParams) *DisassociateSystemServiceFromObsServiceParams
WithRequestBody adds the requestBody to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) WithTimeout ¶
func (o *DisassociateSystemServiceFromObsServiceParams) WithTimeout(timeout time.Duration) *DisassociateSystemServiceFromObsServiceParams
WithTimeout adds the timeout to the disassociate system service from obs service params
func (*DisassociateSystemServiceFromObsServiceParams) WriteToRequest ¶
func (o *DisassociateSystemServiceFromObsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisassociateSystemServiceFromObsServiceReader ¶
type DisassociateSystemServiceFromObsServiceReader struct {
// contains filtered or unexported fields
}
DisassociateSystemServiceFromObsServiceReader is a Reader for the DisassociateSystemServiceFromObsService structure.
func (*DisassociateSystemServiceFromObsServiceReader) ReadResponse ¶
func (o *DisassociateSystemServiceFromObsServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.