Documentation ¶
Index ¶
- type Client
- func (a *Client) GetLicenses(params *GetLicensesParams, opts ...ClientOption) (*GetLicensesOK, error)
- func (a *Client) GetLicensesConnection(params *GetLicensesConnectionParams, opts ...ClientOption) (*GetLicensesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeploy(params *UpdateDeployParams, opts ...ClientOption) (*UpdateDeployOK, error)
- type ClientOption
- type ClientService
- type GetLicensesBadRequest
- type GetLicensesConnectionBadRequest
- type GetLicensesConnectionInternalServerError
- type GetLicensesConnectionNotFound
- type GetLicensesConnectionOK
- type GetLicensesConnectionParams
- func NewGetLicensesConnectionParams() *GetLicensesConnectionParams
- func NewGetLicensesConnectionParamsWithContext(ctx context.Context) *GetLicensesConnectionParams
- func NewGetLicensesConnectionParamsWithHTTPClient(client *http.Client) *GetLicensesConnectionParams
- func NewGetLicensesConnectionParamsWithTimeout(timeout time.Duration) *GetLicensesConnectionParams
- func (o *GetLicensesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetLicensesConnectionParams) SetContext(ctx context.Context)
- func (o *GetLicensesConnectionParams) SetDefaults()
- func (o *GetLicensesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetLicensesConnectionParams) SetRequestBody(requestBody *models.GetLicensesConnectionRequestBody)
- func (o *GetLicensesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetLicensesConnectionParams) WithContentLanguage(contentLanguage *string) *GetLicensesConnectionParams
- func (o *GetLicensesConnectionParams) WithContext(ctx context.Context) *GetLicensesConnectionParams
- func (o *GetLicensesConnectionParams) WithDefaults() *GetLicensesConnectionParams
- func (o *GetLicensesConnectionParams) WithHTTPClient(client *http.Client) *GetLicensesConnectionParams
- func (o *GetLicensesConnectionParams) WithRequestBody(requestBody *models.GetLicensesConnectionRequestBody) *GetLicensesConnectionParams
- func (o *GetLicensesConnectionParams) WithTimeout(timeout time.Duration) *GetLicensesConnectionParams
- func (o *GetLicensesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLicensesConnectionReader
- type GetLicensesInternalServerError
- type GetLicensesNotFound
- type GetLicensesOK
- type GetLicensesParams
- func (o *GetLicensesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetLicensesParams) SetContext(ctx context.Context)
- func (o *GetLicensesParams) SetDefaults()
- func (o *GetLicensesParams) SetHTTPClient(client *http.Client)
- func (o *GetLicensesParams) SetRequestBody(requestBody *models.GetLicensesRequestBody)
- func (o *GetLicensesParams) SetTimeout(timeout time.Duration)
- func (o *GetLicensesParams) WithContentLanguage(contentLanguage *string) *GetLicensesParams
- func (o *GetLicensesParams) WithContext(ctx context.Context) *GetLicensesParams
- func (o *GetLicensesParams) WithDefaults() *GetLicensesParams
- func (o *GetLicensesParams) WithHTTPClient(client *http.Client) *GetLicensesParams
- func (o *GetLicensesParams) WithRequestBody(requestBody *models.GetLicensesRequestBody) *GetLicensesParams
- func (o *GetLicensesParams) WithTimeout(timeout time.Duration) *GetLicensesParams
- func (o *GetLicensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLicensesReader
- type UpdateDeployBadRequest
- type UpdateDeployInternalServerError
- type UpdateDeployNotFound
- type UpdateDeployOK
- type UpdateDeployParams
- func (o *UpdateDeployParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateDeployParams) SetContext(ctx context.Context)
- func (o *UpdateDeployParams) SetDefaults()
- func (o *UpdateDeployParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeployParams) SetRequestBody(requestBody *models.LicenseUpdationParams)
- func (o *UpdateDeployParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeployParams) WithContentLanguage(contentLanguage *string) *UpdateDeployParams
- func (o *UpdateDeployParams) WithContext(ctx context.Context) *UpdateDeployParams
- func (o *UpdateDeployParams) WithDefaults() *UpdateDeployParams
- func (o *UpdateDeployParams) WithHTTPClient(client *http.Client) *UpdateDeployParams
- func (o *UpdateDeployParams) WithRequestBody(requestBody *models.LicenseUpdationParams) *UpdateDeployParams
- func (o *UpdateDeployParams) WithTimeout(timeout time.Duration) *UpdateDeployParams
- func (o *UpdateDeployParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeployReader
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 license API
func (*Client) GetLicenses ¶
func (a *Client) GetLicenses(params *GetLicensesParams, opts ...ClientOption) (*GetLicensesOK, error)
GetLicenses get licenses API
func (*Client) GetLicensesConnection ¶
func (a *Client) GetLicensesConnection(params *GetLicensesConnectionParams, opts ...ClientOption) (*GetLicensesConnectionOK, error)
GetLicensesConnection get licenses connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDeploy ¶
func (a *Client) UpdateDeploy(params *UpdateDeployParams, opts ...ClientOption) (*UpdateDeployOK, error)
UpdateDeploy update deploy API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetLicenses(params *GetLicensesParams, opts ...ClientOption) (*GetLicensesOK, error) GetLicensesConnection(params *GetLicensesConnectionParams, opts ...ClientOption) (*GetLicensesConnectionOK, error) UpdateDeploy(params *UpdateDeployParams, opts ...ClientOption) (*UpdateDeployOK, 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 license API client.
type GetLicensesBadRequest ¶
GetLicensesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetLicensesBadRequest ¶
func NewGetLicensesBadRequest() *GetLicensesBadRequest
NewGetLicensesBadRequest creates a GetLicensesBadRequest with default headers values
func (*GetLicensesBadRequest) Error ¶
func (o *GetLicensesBadRequest) Error() string
func (*GetLicensesBadRequest) GetPayload ¶
func (o *GetLicensesBadRequest) GetPayload() *models.ErrorBody
type GetLicensesConnectionBadRequest ¶
GetLicensesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetLicensesConnectionBadRequest ¶
func NewGetLicensesConnectionBadRequest() *GetLicensesConnectionBadRequest
NewGetLicensesConnectionBadRequest creates a GetLicensesConnectionBadRequest with default headers values
func (*GetLicensesConnectionBadRequest) Error ¶
func (o *GetLicensesConnectionBadRequest) Error() string
func (*GetLicensesConnectionBadRequest) GetPayload ¶
func (o *GetLicensesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetLicensesConnectionInternalServerError ¶
GetLicensesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetLicensesConnectionInternalServerError ¶
func NewGetLicensesConnectionInternalServerError() *GetLicensesConnectionInternalServerError
NewGetLicensesConnectionInternalServerError creates a GetLicensesConnectionInternalServerError with default headers values
func (*GetLicensesConnectionInternalServerError) Error ¶
func (o *GetLicensesConnectionInternalServerError) Error() string
func (*GetLicensesConnectionInternalServerError) GetPayload ¶
func (o *GetLicensesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetLicensesConnectionNotFound ¶
GetLicensesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetLicensesConnectionNotFound ¶
func NewGetLicensesConnectionNotFound() *GetLicensesConnectionNotFound
NewGetLicensesConnectionNotFound creates a GetLicensesConnectionNotFound with default headers values
func (*GetLicensesConnectionNotFound) Error ¶
func (o *GetLicensesConnectionNotFound) Error() string
func (*GetLicensesConnectionNotFound) GetPayload ¶
func (o *GetLicensesConnectionNotFound) GetPayload() *models.ErrorBody
type GetLicensesConnectionOK ¶
type GetLicensesConnectionOK struct {
Payload *models.LicenseConnection
}
GetLicensesConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetLicensesConnectionOK ¶
func NewGetLicensesConnectionOK() *GetLicensesConnectionOK
NewGetLicensesConnectionOK creates a GetLicensesConnectionOK with default headers values
func (*GetLicensesConnectionOK) Error ¶
func (o *GetLicensesConnectionOK) Error() string
func (*GetLicensesConnectionOK) GetPayload ¶
func (o *GetLicensesConnectionOK) GetPayload() *models.LicenseConnection
type GetLicensesConnectionParams ¶
type GetLicensesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetLicensesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLicensesConnectionParams contains all the parameters to send to the API endpoint
for the get licenses connection operation. Typically these are written to a http.Request.
func NewGetLicensesConnectionParams ¶
func NewGetLicensesConnectionParams() *GetLicensesConnectionParams
NewGetLicensesConnectionParams creates a new GetLicensesConnectionParams 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 NewGetLicensesConnectionParamsWithContext ¶
func NewGetLicensesConnectionParamsWithContext(ctx context.Context) *GetLicensesConnectionParams
NewGetLicensesConnectionParamsWithContext creates a new GetLicensesConnectionParams object with the ability to set a context for a request.
func NewGetLicensesConnectionParamsWithHTTPClient ¶
func NewGetLicensesConnectionParamsWithHTTPClient(client *http.Client) *GetLicensesConnectionParams
NewGetLicensesConnectionParamsWithHTTPClient creates a new GetLicensesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetLicensesConnectionParamsWithTimeout ¶
func NewGetLicensesConnectionParamsWithTimeout(timeout time.Duration) *GetLicensesConnectionParams
NewGetLicensesConnectionParamsWithTimeout creates a new GetLicensesConnectionParams object with the ability to set a timeout on a request.
func (*GetLicensesConnectionParams) SetContentLanguage ¶
func (o *GetLicensesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get licenses connection params
func (*GetLicensesConnectionParams) SetContext ¶
func (o *GetLicensesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get licenses connection params
func (*GetLicensesConnectionParams) SetDefaults ¶
func (o *GetLicensesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get licenses connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicensesConnectionParams) SetHTTPClient ¶
func (o *GetLicensesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get licenses connection params
func (*GetLicensesConnectionParams) SetRequestBody ¶
func (o *GetLicensesConnectionParams) SetRequestBody(requestBody *models.GetLicensesConnectionRequestBody)
SetRequestBody adds the requestBody to the get licenses connection params
func (*GetLicensesConnectionParams) SetTimeout ¶
func (o *GetLicensesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get licenses connection params
func (*GetLicensesConnectionParams) WithContentLanguage ¶
func (o *GetLicensesConnectionParams) WithContentLanguage(contentLanguage *string) *GetLicensesConnectionParams
WithContentLanguage adds the contentLanguage to the get licenses connection params
func (*GetLicensesConnectionParams) WithContext ¶
func (o *GetLicensesConnectionParams) WithContext(ctx context.Context) *GetLicensesConnectionParams
WithContext adds the context to the get licenses connection params
func (*GetLicensesConnectionParams) WithDefaults ¶
func (o *GetLicensesConnectionParams) WithDefaults() *GetLicensesConnectionParams
WithDefaults hydrates default values in the get licenses connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicensesConnectionParams) WithHTTPClient ¶
func (o *GetLicensesConnectionParams) WithHTTPClient(client *http.Client) *GetLicensesConnectionParams
WithHTTPClient adds the HTTPClient to the get licenses connection params
func (*GetLicensesConnectionParams) WithRequestBody ¶
func (o *GetLicensesConnectionParams) WithRequestBody(requestBody *models.GetLicensesConnectionRequestBody) *GetLicensesConnectionParams
WithRequestBody adds the requestBody to the get licenses connection params
func (*GetLicensesConnectionParams) WithTimeout ¶
func (o *GetLicensesConnectionParams) WithTimeout(timeout time.Duration) *GetLicensesConnectionParams
WithTimeout adds the timeout to the get licenses connection params
func (*GetLicensesConnectionParams) WriteToRequest ¶
func (o *GetLicensesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLicensesConnectionReader ¶
type GetLicensesConnectionReader struct {
// contains filtered or unexported fields
}
GetLicensesConnectionReader is a Reader for the GetLicensesConnection structure.
func (*GetLicensesConnectionReader) ReadResponse ¶
func (o *GetLicensesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLicensesInternalServerError ¶
GetLicensesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetLicensesInternalServerError ¶
func NewGetLicensesInternalServerError() *GetLicensesInternalServerError
NewGetLicensesInternalServerError creates a GetLicensesInternalServerError with default headers values
func (*GetLicensesInternalServerError) Error ¶
func (o *GetLicensesInternalServerError) Error() string
func (*GetLicensesInternalServerError) GetPayload ¶
func (o *GetLicensesInternalServerError) GetPayload() *models.ErrorBody
type GetLicensesNotFound ¶
GetLicensesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetLicensesNotFound ¶
func NewGetLicensesNotFound() *GetLicensesNotFound
NewGetLicensesNotFound creates a GetLicensesNotFound with default headers values
func (*GetLicensesNotFound) Error ¶
func (o *GetLicensesNotFound) Error() string
func (*GetLicensesNotFound) GetPayload ¶
func (o *GetLicensesNotFound) GetPayload() *models.ErrorBody
type GetLicensesOK ¶
GetLicensesOK describes a response with status code 200, with default header values.
Ok
func NewGetLicensesOK ¶
func NewGetLicensesOK() *GetLicensesOK
NewGetLicensesOK creates a GetLicensesOK with default headers values
func (*GetLicensesOK) Error ¶
func (o *GetLicensesOK) Error() string
func (*GetLicensesOK) GetPayload ¶
func (o *GetLicensesOK) GetPayload() []*models.License
type GetLicensesParams ¶
type GetLicensesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetLicensesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLicensesParams contains all the parameters to send to the API endpoint
for the get licenses operation. Typically these are written to a http.Request.
func NewGetLicensesParams ¶
func NewGetLicensesParams() *GetLicensesParams
NewGetLicensesParams creates a new GetLicensesParams 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 NewGetLicensesParamsWithContext ¶
func NewGetLicensesParamsWithContext(ctx context.Context) *GetLicensesParams
NewGetLicensesParamsWithContext creates a new GetLicensesParams object with the ability to set a context for a request.
func NewGetLicensesParamsWithHTTPClient ¶
func NewGetLicensesParamsWithHTTPClient(client *http.Client) *GetLicensesParams
NewGetLicensesParamsWithHTTPClient creates a new GetLicensesParams object with the ability to set a custom HTTPClient for a request.
func NewGetLicensesParamsWithTimeout ¶
func NewGetLicensesParamsWithTimeout(timeout time.Duration) *GetLicensesParams
NewGetLicensesParamsWithTimeout creates a new GetLicensesParams object with the ability to set a timeout on a request.
func (*GetLicensesParams) SetContentLanguage ¶
func (o *GetLicensesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get licenses params
func (*GetLicensesParams) SetContext ¶
func (o *GetLicensesParams) SetContext(ctx context.Context)
SetContext adds the context to the get licenses params
func (*GetLicensesParams) SetDefaults ¶
func (o *GetLicensesParams) SetDefaults()
SetDefaults hydrates default values in the get licenses params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicensesParams) SetHTTPClient ¶
func (o *GetLicensesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get licenses params
func (*GetLicensesParams) SetRequestBody ¶
func (o *GetLicensesParams) SetRequestBody(requestBody *models.GetLicensesRequestBody)
SetRequestBody adds the requestBody to the get licenses params
func (*GetLicensesParams) SetTimeout ¶
func (o *GetLicensesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get licenses params
func (*GetLicensesParams) WithContentLanguage ¶
func (o *GetLicensesParams) WithContentLanguage(contentLanguage *string) *GetLicensesParams
WithContentLanguage adds the contentLanguage to the get licenses params
func (*GetLicensesParams) WithContext ¶
func (o *GetLicensesParams) WithContext(ctx context.Context) *GetLicensesParams
WithContext adds the context to the get licenses params
func (*GetLicensesParams) WithDefaults ¶
func (o *GetLicensesParams) WithDefaults() *GetLicensesParams
WithDefaults hydrates default values in the get licenses params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicensesParams) WithHTTPClient ¶
func (o *GetLicensesParams) WithHTTPClient(client *http.Client) *GetLicensesParams
WithHTTPClient adds the HTTPClient to the get licenses params
func (*GetLicensesParams) WithRequestBody ¶
func (o *GetLicensesParams) WithRequestBody(requestBody *models.GetLicensesRequestBody) *GetLicensesParams
WithRequestBody adds the requestBody to the get licenses params
func (*GetLicensesParams) WithTimeout ¶
func (o *GetLicensesParams) WithTimeout(timeout time.Duration) *GetLicensesParams
WithTimeout adds the timeout to the get licenses params
func (*GetLicensesParams) WriteToRequest ¶
func (o *GetLicensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLicensesReader ¶
type GetLicensesReader struct {
// contains filtered or unexported fields
}
GetLicensesReader is a Reader for the GetLicenses structure.
func (*GetLicensesReader) ReadResponse ¶
func (o *GetLicensesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeployBadRequest ¶
UpdateDeployBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateDeployBadRequest ¶
func NewUpdateDeployBadRequest() *UpdateDeployBadRequest
NewUpdateDeployBadRequest creates a UpdateDeployBadRequest with default headers values
func (*UpdateDeployBadRequest) Error ¶
func (o *UpdateDeployBadRequest) Error() string
func (*UpdateDeployBadRequest) GetPayload ¶
func (o *UpdateDeployBadRequest) GetPayload() *models.ErrorBody
type UpdateDeployInternalServerError ¶
UpdateDeployInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateDeployInternalServerError ¶
func NewUpdateDeployInternalServerError() *UpdateDeployInternalServerError
NewUpdateDeployInternalServerError creates a UpdateDeployInternalServerError with default headers values
func (*UpdateDeployInternalServerError) Error ¶
func (o *UpdateDeployInternalServerError) Error() string
func (*UpdateDeployInternalServerError) GetPayload ¶
func (o *UpdateDeployInternalServerError) GetPayload() *models.ErrorBody
type UpdateDeployNotFound ¶
UpdateDeployNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateDeployNotFound ¶
func NewUpdateDeployNotFound() *UpdateDeployNotFound
NewUpdateDeployNotFound creates a UpdateDeployNotFound with default headers values
func (*UpdateDeployNotFound) Error ¶
func (o *UpdateDeployNotFound) Error() string
func (*UpdateDeployNotFound) GetPayload ¶
func (o *UpdateDeployNotFound) GetPayload() *models.ErrorBody
type UpdateDeployOK ¶
type UpdateDeployOK struct {
Payload *models.WithTaskLicense
}
UpdateDeployOK describes a response with status code 200, with default header values.
Ok
func NewUpdateDeployOK ¶
func NewUpdateDeployOK() *UpdateDeployOK
NewUpdateDeployOK creates a UpdateDeployOK with default headers values
func (*UpdateDeployOK) Error ¶
func (o *UpdateDeployOK) Error() string
func (*UpdateDeployOK) GetPayload ¶
func (o *UpdateDeployOK) GetPayload() *models.WithTaskLicense
type UpdateDeployParams ¶
type UpdateDeployParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.LicenseUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeployParams contains all the parameters to send to the API endpoint
for the update deploy operation. Typically these are written to a http.Request.
func NewUpdateDeployParams ¶
func NewUpdateDeployParams() *UpdateDeployParams
NewUpdateDeployParams creates a new UpdateDeployParams 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 NewUpdateDeployParamsWithContext ¶
func NewUpdateDeployParamsWithContext(ctx context.Context) *UpdateDeployParams
NewUpdateDeployParamsWithContext creates a new UpdateDeployParams object with the ability to set a context for a request.
func NewUpdateDeployParamsWithHTTPClient ¶
func NewUpdateDeployParamsWithHTTPClient(client *http.Client) *UpdateDeployParams
NewUpdateDeployParamsWithHTTPClient creates a new UpdateDeployParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeployParamsWithTimeout ¶
func NewUpdateDeployParamsWithTimeout(timeout time.Duration) *UpdateDeployParams
NewUpdateDeployParamsWithTimeout creates a new UpdateDeployParams object with the ability to set a timeout on a request.
func (*UpdateDeployParams) SetContentLanguage ¶
func (o *UpdateDeployParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update deploy params
func (*UpdateDeployParams) SetContext ¶
func (o *UpdateDeployParams) SetContext(ctx context.Context)
SetContext adds the context to the update deploy params
func (*UpdateDeployParams) SetDefaults ¶
func (o *UpdateDeployParams) SetDefaults()
SetDefaults hydrates default values in the update deploy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDeployParams) SetHTTPClient ¶
func (o *UpdateDeployParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update deploy params
func (*UpdateDeployParams) SetRequestBody ¶
func (o *UpdateDeployParams) SetRequestBody(requestBody *models.LicenseUpdationParams)
SetRequestBody adds the requestBody to the update deploy params
func (*UpdateDeployParams) SetTimeout ¶
func (o *UpdateDeployParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update deploy params
func (*UpdateDeployParams) WithContentLanguage ¶
func (o *UpdateDeployParams) WithContentLanguage(contentLanguage *string) *UpdateDeployParams
WithContentLanguage adds the contentLanguage to the update deploy params
func (*UpdateDeployParams) WithContext ¶
func (o *UpdateDeployParams) WithContext(ctx context.Context) *UpdateDeployParams
WithContext adds the context to the update deploy params
func (*UpdateDeployParams) WithDefaults ¶
func (o *UpdateDeployParams) WithDefaults() *UpdateDeployParams
WithDefaults hydrates default values in the update deploy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDeployParams) WithHTTPClient ¶
func (o *UpdateDeployParams) WithHTTPClient(client *http.Client) *UpdateDeployParams
WithHTTPClient adds the HTTPClient to the update deploy params
func (*UpdateDeployParams) WithRequestBody ¶
func (o *UpdateDeployParams) WithRequestBody(requestBody *models.LicenseUpdationParams) *UpdateDeployParams
WithRequestBody adds the requestBody to the update deploy params
func (*UpdateDeployParams) WithTimeout ¶
func (o *UpdateDeployParams) WithTimeout(timeout time.Duration) *UpdateDeployParams
WithTimeout adds the timeout to the update deploy params
func (*UpdateDeployParams) WriteToRequest ¶
func (o *UpdateDeployParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDeployReader ¶
type UpdateDeployReader struct {
// contains filtered or unexported fields
}
UpdateDeployReader is a Reader for the UpdateDeploy structure.
func (*UpdateDeployReader) ReadResponse ¶
func (o *UpdateDeployReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.