Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateProviders(params *CreateProvidersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProvidersOK, error)
- func (a *Client) EditProvider(params *EditProviderParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EditProviderOK, error)
- func (a *Client) GetListOfProviders(params *GetListOfProvidersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetListOfProvidersOK, error)
- func (a *Client) RefreshPricing(params *RefreshPricingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RefreshPricingOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateProvidersOK
- type CreateProvidersParams
- func NewCreateProvidersParams() *CreateProvidersParams
- func NewCreateProvidersParamsWithContext(ctx context.Context) *CreateProvidersParams
- func NewCreateProvidersParamsWithHTTPClient(client *http.Client) *CreateProvidersParams
- func NewCreateProvidersParamsWithTimeout(timeout time.Duration) *CreateProvidersParams
- func (o *CreateProvidersParams) SetCUUID(cUUID strfmt.UUID)
- func (o *CreateProvidersParams) SetContext(ctx context.Context)
- func (o *CreateProvidersParams) SetCreateProviderRequest(createProviderRequest *models.Provider)
- func (o *CreateProvidersParams) SetDefaults()
- func (o *CreateProvidersParams) SetHTTPClient(client *http.Client)
- func (o *CreateProvidersParams) SetTimeout(timeout time.Duration)
- func (o *CreateProvidersParams) WithCUUID(cUUID strfmt.UUID) *CreateProvidersParams
- func (o *CreateProvidersParams) WithContext(ctx context.Context) *CreateProvidersParams
- func (o *CreateProvidersParams) WithCreateProviderRequest(createProviderRequest *models.Provider) *CreateProvidersParams
- func (o *CreateProvidersParams) WithDefaults() *CreateProvidersParams
- func (o *CreateProvidersParams) WithHTTPClient(client *http.Client) *CreateProvidersParams
- func (o *CreateProvidersParams) WithTimeout(timeout time.Duration) *CreateProvidersParams
- func (o *CreateProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProvidersReader
- type EditProviderOK
- type EditProviderParams
- func (o *EditProviderParams) SetCUUID(cUUID strfmt.UUID)
- func (o *EditProviderParams) SetContext(ctx context.Context)
- func (o *EditProviderParams) SetDefaults()
- func (o *EditProviderParams) SetEditProviderRequest(editProviderRequest *models.Provider)
- func (o *EditProviderParams) SetHTTPClient(client *http.Client)
- func (o *EditProviderParams) SetPUUID(pUUID strfmt.UUID)
- func (o *EditProviderParams) SetTimeout(timeout time.Duration)
- func (o *EditProviderParams) WithCUUID(cUUID strfmt.UUID) *EditProviderParams
- func (o *EditProviderParams) WithContext(ctx context.Context) *EditProviderParams
- func (o *EditProviderParams) WithDefaults() *EditProviderParams
- func (o *EditProviderParams) WithEditProviderRequest(editProviderRequest *models.Provider) *EditProviderParams
- func (o *EditProviderParams) WithHTTPClient(client *http.Client) *EditProviderParams
- func (o *EditProviderParams) WithPUUID(pUUID strfmt.UUID) *EditProviderParams
- func (o *EditProviderParams) WithTimeout(timeout time.Duration) *EditProviderParams
- func (o *EditProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditProviderReader
- type GetListOfProvidersOK
- type GetListOfProvidersParams
- func NewGetListOfProvidersParams() *GetListOfProvidersParams
- func NewGetListOfProvidersParamsWithContext(ctx context.Context) *GetListOfProvidersParams
- func NewGetListOfProvidersParamsWithHTTPClient(client *http.Client) *GetListOfProvidersParams
- func NewGetListOfProvidersParamsWithTimeout(timeout time.Duration) *GetListOfProvidersParams
- func (o *GetListOfProvidersParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetListOfProvidersParams) SetContext(ctx context.Context)
- func (o *GetListOfProvidersParams) SetDefaults()
- func (o *GetListOfProvidersParams) SetHTTPClient(client *http.Client)
- func (o *GetListOfProvidersParams) SetName(name *string)
- func (o *GetListOfProvidersParams) SetProviderCode(providerCode *string)
- func (o *GetListOfProvidersParams) SetTimeout(timeout time.Duration)
- func (o *GetListOfProvidersParams) WithCUUID(cUUID strfmt.UUID) *GetListOfProvidersParams
- func (o *GetListOfProvidersParams) WithContext(ctx context.Context) *GetListOfProvidersParams
- func (o *GetListOfProvidersParams) WithDefaults() *GetListOfProvidersParams
- func (o *GetListOfProvidersParams) WithHTTPClient(client *http.Client) *GetListOfProvidersParams
- func (o *GetListOfProvidersParams) WithName(name *string) *GetListOfProvidersParams
- func (o *GetListOfProvidersParams) WithProviderCode(providerCode *string) *GetListOfProvidersParams
- func (o *GetListOfProvidersParams) WithTimeout(timeout time.Duration) *GetListOfProvidersParams
- func (o *GetListOfProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListOfProvidersReader
- type RefreshPricingOK
- type RefreshPricingParams
- func NewRefreshPricingParams() *RefreshPricingParams
- func NewRefreshPricingParamsWithContext(ctx context.Context) *RefreshPricingParams
- func NewRefreshPricingParamsWithHTTPClient(client *http.Client) *RefreshPricingParams
- func NewRefreshPricingParamsWithTimeout(timeout time.Duration) *RefreshPricingParams
- func (o *RefreshPricingParams) SetCUUID(cUUID strfmt.UUID)
- func (o *RefreshPricingParams) SetContext(ctx context.Context)
- func (o *RefreshPricingParams) SetDefaults()
- func (o *RefreshPricingParams) SetHTTPClient(client *http.Client)
- func (o *RefreshPricingParams) SetPUUID(pUUID strfmt.UUID)
- func (o *RefreshPricingParams) SetTimeout(timeout time.Duration)
- func (o *RefreshPricingParams) WithCUUID(cUUID strfmt.UUID) *RefreshPricingParams
- func (o *RefreshPricingParams) WithContext(ctx context.Context) *RefreshPricingParams
- func (o *RefreshPricingParams) WithDefaults() *RefreshPricingParams
- func (o *RefreshPricingParams) WithHTTPClient(client *http.Client) *RefreshPricingParams
- func (o *RefreshPricingParams) WithPUUID(pUUID strfmt.UUID) *RefreshPricingParams
- func (o *RefreshPricingParams) WithTimeout(timeout time.Duration) *RefreshPricingParams
- func (o *RefreshPricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RefreshPricingReader
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 cloud providers API
func (*Client) CreateProviders ¶
func (a *Client) CreateProviders(params *CreateProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProvidersOK, error)
CreateProviders creates a provider
func (*Client) EditProvider ¶
func (a *Client) EditProvider(params *EditProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditProviderOK, error)
EditProvider updates a provider
func (*Client) GetListOfProviders ¶
func (a *Client) GetListOfProviders(params *GetListOfProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfProvidersOK, error)
GetListOfProviders lists cloud providers
func (*Client) RefreshPricing ¶
func (a *Client) RefreshPricing(params *RefreshPricingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshPricingOK, error)
RefreshPricing refreshes pricing
Refresh provider pricing info
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 { CreateProviders(params *CreateProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProvidersOK, error) EditProvider(params *EditProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditProviderOK, error) GetListOfProviders(params *GetListOfProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfProvidersOK, error) RefreshPricing(params *RefreshPricingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshPricingOK, 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 cloud providers API client.
type CreateProvidersOK ¶
CreateProvidersOK describes a response with status code 200, with default header values.
successful operation
func NewCreateProvidersOK ¶
func NewCreateProvidersOK() *CreateProvidersOK
NewCreateProvidersOK creates a CreateProvidersOK with default headers values
func (*CreateProvidersOK) Error ¶
func (o *CreateProvidersOK) Error() string
func (*CreateProvidersOK) GetPayload ¶
func (o *CreateProvidersOK) GetPayload() *models.YBPTask
type CreateProvidersParams ¶
type CreateProvidersParams struct { // CreateProviderRequest. CreateProviderRequest *models.Provider // CUUID. // // Format: uuid CUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProvidersParams contains all the parameters to send to the API endpoint
for the create providers operation. Typically these are written to a http.Request.
func NewCreateProvidersParams ¶
func NewCreateProvidersParams() *CreateProvidersParams
NewCreateProvidersParams creates a new CreateProvidersParams 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 NewCreateProvidersParamsWithContext ¶
func NewCreateProvidersParamsWithContext(ctx context.Context) *CreateProvidersParams
NewCreateProvidersParamsWithContext creates a new CreateProvidersParams object with the ability to set a context for a request.
func NewCreateProvidersParamsWithHTTPClient ¶
func NewCreateProvidersParamsWithHTTPClient(client *http.Client) *CreateProvidersParams
NewCreateProvidersParamsWithHTTPClient creates a new CreateProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewCreateProvidersParamsWithTimeout ¶
func NewCreateProvidersParamsWithTimeout(timeout time.Duration) *CreateProvidersParams
NewCreateProvidersParamsWithTimeout creates a new CreateProvidersParams object with the ability to set a timeout on a request.
func (*CreateProvidersParams) SetCUUID ¶
func (o *CreateProvidersParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the create providers params
func (*CreateProvidersParams) SetContext ¶
func (o *CreateProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the create providers params
func (*CreateProvidersParams) SetCreateProviderRequest ¶
func (o *CreateProvidersParams) SetCreateProviderRequest(createProviderRequest *models.Provider)
SetCreateProviderRequest adds the createProviderRequest to the create providers params
func (*CreateProvidersParams) SetDefaults ¶
func (o *CreateProvidersParams) SetDefaults()
SetDefaults hydrates default values in the create providers params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProvidersParams) SetHTTPClient ¶
func (o *CreateProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create providers params
func (*CreateProvidersParams) SetTimeout ¶
func (o *CreateProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create providers params
func (*CreateProvidersParams) WithCUUID ¶
func (o *CreateProvidersParams) WithCUUID(cUUID strfmt.UUID) *CreateProvidersParams
WithCUUID adds the cUUID to the create providers params
func (*CreateProvidersParams) WithContext ¶
func (o *CreateProvidersParams) WithContext(ctx context.Context) *CreateProvidersParams
WithContext adds the context to the create providers params
func (*CreateProvidersParams) WithCreateProviderRequest ¶
func (o *CreateProvidersParams) WithCreateProviderRequest(createProviderRequest *models.Provider) *CreateProvidersParams
WithCreateProviderRequest adds the createProviderRequest to the create providers params
func (*CreateProvidersParams) WithDefaults ¶
func (o *CreateProvidersParams) WithDefaults() *CreateProvidersParams
WithDefaults hydrates default values in the create providers params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProvidersParams) WithHTTPClient ¶
func (o *CreateProvidersParams) WithHTTPClient(client *http.Client) *CreateProvidersParams
WithHTTPClient adds the HTTPClient to the create providers params
func (*CreateProvidersParams) WithTimeout ¶
func (o *CreateProvidersParams) WithTimeout(timeout time.Duration) *CreateProvidersParams
WithTimeout adds the timeout to the create providers params
func (*CreateProvidersParams) WriteToRequest ¶
func (o *CreateProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProvidersReader ¶
type CreateProvidersReader struct {
// contains filtered or unexported fields
}
CreateProvidersReader is a Reader for the CreateProviders structure.
func (*CreateProvidersReader) ReadResponse ¶
func (o *CreateProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EditProviderOK ¶
EditProviderOK describes a response with status code 200, with default header values.
successful operation
func NewEditProviderOK ¶
func NewEditProviderOK() *EditProviderOK
NewEditProviderOK creates a EditProviderOK with default headers values
func (*EditProviderOK) Error ¶
func (o *EditProviderOK) Error() string
func (*EditProviderOK) GetPayload ¶
func (o *EditProviderOK) GetPayload() *models.YBPTask
type EditProviderParams ¶
type EditProviderParams struct { /* EditProviderRequest. edit provider form data */ EditProviderRequest *models.Provider // CUUID. // // Format: uuid CUUID strfmt.UUID // PUUID. // // Format: uuid PUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EditProviderParams contains all the parameters to send to the API endpoint
for the edit provider operation. Typically these are written to a http.Request.
func NewEditProviderParams ¶
func NewEditProviderParams() *EditProviderParams
NewEditProviderParams creates a new EditProviderParams 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 NewEditProviderParamsWithContext ¶
func NewEditProviderParamsWithContext(ctx context.Context) *EditProviderParams
NewEditProviderParamsWithContext creates a new EditProviderParams object with the ability to set a context for a request.
func NewEditProviderParamsWithHTTPClient ¶
func NewEditProviderParamsWithHTTPClient(client *http.Client) *EditProviderParams
NewEditProviderParamsWithHTTPClient creates a new EditProviderParams object with the ability to set a custom HTTPClient for a request.
func NewEditProviderParamsWithTimeout ¶
func NewEditProviderParamsWithTimeout(timeout time.Duration) *EditProviderParams
NewEditProviderParamsWithTimeout creates a new EditProviderParams object with the ability to set a timeout on a request.
func (*EditProviderParams) SetCUUID ¶
func (o *EditProviderParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the edit provider params
func (*EditProviderParams) SetContext ¶
func (o *EditProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the edit provider params
func (*EditProviderParams) SetDefaults ¶
func (o *EditProviderParams) SetDefaults()
SetDefaults hydrates default values in the edit provider params (not the query body).
All values with no default are reset to their zero value.
func (*EditProviderParams) SetEditProviderRequest ¶
func (o *EditProviderParams) SetEditProviderRequest(editProviderRequest *models.Provider)
SetEditProviderRequest adds the editProviderRequest to the edit provider params
func (*EditProviderParams) SetHTTPClient ¶
func (o *EditProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edit provider params
func (*EditProviderParams) SetPUUID ¶
func (o *EditProviderParams) SetPUUID(pUUID strfmt.UUID)
SetPUUID adds the pUuid to the edit provider params
func (*EditProviderParams) SetTimeout ¶
func (o *EditProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edit provider params
func (*EditProviderParams) WithCUUID ¶
func (o *EditProviderParams) WithCUUID(cUUID strfmt.UUID) *EditProviderParams
WithCUUID adds the cUUID to the edit provider params
func (*EditProviderParams) WithContext ¶
func (o *EditProviderParams) WithContext(ctx context.Context) *EditProviderParams
WithContext adds the context to the edit provider params
func (*EditProviderParams) WithDefaults ¶
func (o *EditProviderParams) WithDefaults() *EditProviderParams
WithDefaults hydrates default values in the edit provider params (not the query body).
All values with no default are reset to their zero value.
func (*EditProviderParams) WithEditProviderRequest ¶
func (o *EditProviderParams) WithEditProviderRequest(editProviderRequest *models.Provider) *EditProviderParams
WithEditProviderRequest adds the editProviderRequest to the edit provider params
func (*EditProviderParams) WithHTTPClient ¶
func (o *EditProviderParams) WithHTTPClient(client *http.Client) *EditProviderParams
WithHTTPClient adds the HTTPClient to the edit provider params
func (*EditProviderParams) WithPUUID ¶
func (o *EditProviderParams) WithPUUID(pUUID strfmt.UUID) *EditProviderParams
WithPUUID adds the pUUID to the edit provider params
func (*EditProviderParams) WithTimeout ¶
func (o *EditProviderParams) WithTimeout(timeout time.Duration) *EditProviderParams
WithTimeout adds the timeout to the edit provider params
func (*EditProviderParams) WriteToRequest ¶
func (o *EditProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EditProviderReader ¶
type EditProviderReader struct {
// contains filtered or unexported fields
}
EditProviderReader is a Reader for the EditProvider structure.
func (*EditProviderReader) ReadResponse ¶
func (o *EditProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetListOfProvidersOK ¶
GetListOfProvidersOK describes a response with status code 200, with default header values.
successful operation
func NewGetListOfProvidersOK ¶
func NewGetListOfProvidersOK() *GetListOfProvidersOK
NewGetListOfProvidersOK creates a GetListOfProvidersOK with default headers values
func (*GetListOfProvidersOK) Error ¶
func (o *GetListOfProvidersOK) Error() string
func (*GetListOfProvidersOK) GetPayload ¶
func (o *GetListOfProvidersOK) GetPayload() []*models.Provider
type GetListOfProvidersParams ¶
type GetListOfProvidersParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // Name. // // Default: "null" Name *string // ProviderCode. // // Default: "null" ProviderCode *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetListOfProvidersParams contains all the parameters to send to the API endpoint
for the get list of providers operation. Typically these are written to a http.Request.
func NewGetListOfProvidersParams ¶
func NewGetListOfProvidersParams() *GetListOfProvidersParams
NewGetListOfProvidersParams creates a new GetListOfProvidersParams 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 NewGetListOfProvidersParamsWithContext ¶
func NewGetListOfProvidersParamsWithContext(ctx context.Context) *GetListOfProvidersParams
NewGetListOfProvidersParamsWithContext creates a new GetListOfProvidersParams object with the ability to set a context for a request.
func NewGetListOfProvidersParamsWithHTTPClient ¶
func NewGetListOfProvidersParamsWithHTTPClient(client *http.Client) *GetListOfProvidersParams
NewGetListOfProvidersParamsWithHTTPClient creates a new GetListOfProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewGetListOfProvidersParamsWithTimeout ¶
func NewGetListOfProvidersParamsWithTimeout(timeout time.Duration) *GetListOfProvidersParams
NewGetListOfProvidersParamsWithTimeout creates a new GetListOfProvidersParams object with the ability to set a timeout on a request.
func (*GetListOfProvidersParams) SetCUUID ¶
func (o *GetListOfProvidersParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get list of providers params
func (*GetListOfProvidersParams) SetContext ¶
func (o *GetListOfProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the get list of providers params
func (*GetListOfProvidersParams) SetDefaults ¶
func (o *GetListOfProvidersParams) SetDefaults()
SetDefaults hydrates default values in the get list of providers params (not the query body).
All values with no default are reset to their zero value.
func (*GetListOfProvidersParams) SetHTTPClient ¶
func (o *GetListOfProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get list of providers params
func (*GetListOfProvidersParams) SetName ¶
func (o *GetListOfProvidersParams) SetName(name *string)
SetName adds the name to the get list of providers params
func (*GetListOfProvidersParams) SetProviderCode ¶
func (o *GetListOfProvidersParams) SetProviderCode(providerCode *string)
SetProviderCode adds the providerCode to the get list of providers params
func (*GetListOfProvidersParams) SetTimeout ¶
func (o *GetListOfProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get list of providers params
func (*GetListOfProvidersParams) WithCUUID ¶
func (o *GetListOfProvidersParams) WithCUUID(cUUID strfmt.UUID) *GetListOfProvidersParams
WithCUUID adds the cUUID to the get list of providers params
func (*GetListOfProvidersParams) WithContext ¶
func (o *GetListOfProvidersParams) WithContext(ctx context.Context) *GetListOfProvidersParams
WithContext adds the context to the get list of providers params
func (*GetListOfProvidersParams) WithDefaults ¶
func (o *GetListOfProvidersParams) WithDefaults() *GetListOfProvidersParams
WithDefaults hydrates default values in the get list of providers params (not the query body).
All values with no default are reset to their zero value.
func (*GetListOfProvidersParams) WithHTTPClient ¶
func (o *GetListOfProvidersParams) WithHTTPClient(client *http.Client) *GetListOfProvidersParams
WithHTTPClient adds the HTTPClient to the get list of providers params
func (*GetListOfProvidersParams) WithName ¶
func (o *GetListOfProvidersParams) WithName(name *string) *GetListOfProvidersParams
WithName adds the name to the get list of providers params
func (*GetListOfProvidersParams) WithProviderCode ¶
func (o *GetListOfProvidersParams) WithProviderCode(providerCode *string) *GetListOfProvidersParams
WithProviderCode adds the providerCode to the get list of providers params
func (*GetListOfProvidersParams) WithTimeout ¶
func (o *GetListOfProvidersParams) WithTimeout(timeout time.Duration) *GetListOfProvidersParams
WithTimeout adds the timeout to the get list of providers params
func (*GetListOfProvidersParams) WriteToRequest ¶
func (o *GetListOfProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetListOfProvidersReader ¶
type GetListOfProvidersReader struct {
// contains filtered or unexported fields
}
GetListOfProvidersReader is a Reader for the GetListOfProviders structure.
func (*GetListOfProvidersReader) ReadResponse ¶
func (o *GetListOfProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RefreshPricingOK ¶
type RefreshPricingOK struct {
Payload *models.YBPSuccess
}
RefreshPricingOK describes a response with status code 200, with default header values.
successful operation
func NewRefreshPricingOK ¶
func NewRefreshPricingOK() *RefreshPricingOK
NewRefreshPricingOK creates a RefreshPricingOK with default headers values
func (*RefreshPricingOK) Error ¶
func (o *RefreshPricingOK) Error() string
func (*RefreshPricingOK) GetPayload ¶
func (o *RefreshPricingOK) GetPayload() *models.YBPSuccess
type RefreshPricingParams ¶
type RefreshPricingParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // PUUID. // // Format: uuid PUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RefreshPricingParams contains all the parameters to send to the API endpoint
for the refresh pricing operation. Typically these are written to a http.Request.
func NewRefreshPricingParams ¶
func NewRefreshPricingParams() *RefreshPricingParams
NewRefreshPricingParams creates a new RefreshPricingParams 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 NewRefreshPricingParamsWithContext ¶
func NewRefreshPricingParamsWithContext(ctx context.Context) *RefreshPricingParams
NewRefreshPricingParamsWithContext creates a new RefreshPricingParams object with the ability to set a context for a request.
func NewRefreshPricingParamsWithHTTPClient ¶
func NewRefreshPricingParamsWithHTTPClient(client *http.Client) *RefreshPricingParams
NewRefreshPricingParamsWithHTTPClient creates a new RefreshPricingParams object with the ability to set a custom HTTPClient for a request.
func NewRefreshPricingParamsWithTimeout ¶
func NewRefreshPricingParamsWithTimeout(timeout time.Duration) *RefreshPricingParams
NewRefreshPricingParamsWithTimeout creates a new RefreshPricingParams object with the ability to set a timeout on a request.
func (*RefreshPricingParams) SetCUUID ¶
func (o *RefreshPricingParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the refresh pricing params
func (*RefreshPricingParams) SetContext ¶
func (o *RefreshPricingParams) SetContext(ctx context.Context)
SetContext adds the context to the refresh pricing params
func (*RefreshPricingParams) SetDefaults ¶
func (o *RefreshPricingParams) SetDefaults()
SetDefaults hydrates default values in the refresh pricing params (not the query body).
All values with no default are reset to their zero value.
func (*RefreshPricingParams) SetHTTPClient ¶
func (o *RefreshPricingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the refresh pricing params
func (*RefreshPricingParams) SetPUUID ¶
func (o *RefreshPricingParams) SetPUUID(pUUID strfmt.UUID)
SetPUUID adds the pUuid to the refresh pricing params
func (*RefreshPricingParams) SetTimeout ¶
func (o *RefreshPricingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the refresh pricing params
func (*RefreshPricingParams) WithCUUID ¶
func (o *RefreshPricingParams) WithCUUID(cUUID strfmt.UUID) *RefreshPricingParams
WithCUUID adds the cUUID to the refresh pricing params
func (*RefreshPricingParams) WithContext ¶
func (o *RefreshPricingParams) WithContext(ctx context.Context) *RefreshPricingParams
WithContext adds the context to the refresh pricing params
func (*RefreshPricingParams) WithDefaults ¶
func (o *RefreshPricingParams) WithDefaults() *RefreshPricingParams
WithDefaults hydrates default values in the refresh pricing params (not the query body).
All values with no default are reset to their zero value.
func (*RefreshPricingParams) WithHTTPClient ¶
func (o *RefreshPricingParams) WithHTTPClient(client *http.Client) *RefreshPricingParams
WithHTTPClient adds the HTTPClient to the refresh pricing params
func (*RefreshPricingParams) WithPUUID ¶
func (o *RefreshPricingParams) WithPUUID(pUUID strfmt.UUID) *RefreshPricingParams
WithPUUID adds the pUUID to the refresh pricing params
func (*RefreshPricingParams) WithTimeout ¶
func (o *RefreshPricingParams) WithTimeout(timeout time.Duration) *RefreshPricingParams
WithTimeout adds the timeout to the refresh pricing params
func (*RefreshPricingParams) WriteToRequest ¶
func (o *RefreshPricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RefreshPricingReader ¶
type RefreshPricingReader struct {
// contains filtered or unexported fields
}
RefreshPricingReader is a Reader for the RefreshPricing structure.
func (*RefreshPricingReader) ReadResponse ¶
func (o *RefreshPricingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.