Documentation
¶
Index ¶
- type Client
- func (a *Client) GetAddOns(params *GetAddOnsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAddOnsOK, error)
- func (a *Client) GetTiers(params *GetTiersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTiersOK, error)
- func (a *Client) GetTiersPricing(params *GetTiersPricingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTiersPricingOK, error)
- func (a *Client) SetAddOnDefault(params *SetAddOnDefaultParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetAddOnDefaultOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAddOnsForbidden
- type GetAddOnsInternalServerError
- type GetAddOnsOK
- type GetAddOnsParams
- func (o *GetAddOnsParams) SetContext(ctx context.Context)
- func (o *GetAddOnsParams) SetDefaults()
- func (o *GetAddOnsParams) SetHTTPClient(client *http.Client)
- func (o *GetAddOnsParams) SetTimeout(timeout time.Duration)
- func (o *GetAddOnsParams) WithContext(ctx context.Context) *GetAddOnsParams
- func (o *GetAddOnsParams) WithDefaults() *GetAddOnsParams
- func (o *GetAddOnsParams) WithHTTPClient(client *http.Client) *GetAddOnsParams
- func (o *GetAddOnsParams) WithTimeout(timeout time.Duration) *GetAddOnsParams
- func (o *GetAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAddOnsReader
- type GetTiersForbidden
- type GetTiersInternalServerError
- type GetTiersNotFound
- type GetTiersOK
- type GetTiersParams
- func (o *GetTiersParams) SetContext(ctx context.Context)
- func (o *GetTiersParams) SetDefaults()
- func (o *GetTiersParams) SetHTTPClient(client *http.Client)
- func (o *GetTiersParams) SetTimeout(timeout time.Duration)
- func (o *GetTiersParams) WithContext(ctx context.Context) *GetTiersParams
- func (o *GetTiersParams) WithDefaults() *GetTiersParams
- func (o *GetTiersParams) WithHTTPClient(client *http.Client) *GetTiersParams
- func (o *GetTiersParams) WithTimeout(timeout time.Duration) *GetTiersParams
- func (o *GetTiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTiersPricingForbidden
- type GetTiersPricingInternalServerError
- type GetTiersPricingNotFound
- type GetTiersPricingOK
- type GetTiersPricingParams
- func NewGetTiersPricingParams() *GetTiersPricingParams
- func NewGetTiersPricingParamsWithContext(ctx context.Context) *GetTiersPricingParams
- func NewGetTiersPricingParamsWithHTTPClient(client *http.Client) *GetTiersPricingParams
- func NewGetTiersPricingParamsWithTimeout(timeout time.Duration) *GetTiersPricingParams
- func (o *GetTiersPricingParams) SetContext(ctx context.Context)
- func (o *GetTiersPricingParams) SetDefaults()
- func (o *GetTiersPricingParams) SetHTTPClient(client *http.Client)
- func (o *GetTiersPricingParams) SetTimeout(timeout time.Duration)
- func (o *GetTiersPricingParams) WithContext(ctx context.Context) *GetTiersPricingParams
- func (o *GetTiersPricingParams) WithDefaults() *GetTiersPricingParams
- func (o *GetTiersPricingParams) WithHTTPClient(client *http.Client) *GetTiersPricingParams
- func (o *GetTiersPricingParams) WithTimeout(timeout time.Duration) *GetTiersPricingParams
- func (o *GetTiersPricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTiersPricingReader
- type GetTiersReader
- type SetAddOnDefaultBadRequest
- type SetAddOnDefaultForbidden
- type SetAddOnDefaultInternalServerError
- type SetAddOnDefaultNotFound
- type SetAddOnDefaultOK
- type SetAddOnDefaultParams
- func NewSetAddOnDefaultParams() *SetAddOnDefaultParams
- func NewSetAddOnDefaultParamsWithContext(ctx context.Context) *SetAddOnDefaultParams
- func NewSetAddOnDefaultParamsWithHTTPClient(client *http.Client) *SetAddOnDefaultParams
- func NewSetAddOnDefaultParamsWithTimeout(timeout time.Duration) *SetAddOnDefaultParams
- func (o *SetAddOnDefaultParams) SetAddOn(addOn *mono_models.AddOnEditable)
- func (o *SetAddOnDefaultParams) SetContext(ctx context.Context)
- func (o *SetAddOnDefaultParams) SetDefaults()
- func (o *SetAddOnDefaultParams) SetHTTPClient(client *http.Client)
- func (o *SetAddOnDefaultParams) SetTierName(tierName string)
- func (o *SetAddOnDefaultParams) SetTimeout(timeout time.Duration)
- func (o *SetAddOnDefaultParams) WithAddOn(addOn *mono_models.AddOnEditable) *SetAddOnDefaultParams
- func (o *SetAddOnDefaultParams) WithContext(ctx context.Context) *SetAddOnDefaultParams
- func (o *SetAddOnDefaultParams) WithDefaults() *SetAddOnDefaultParams
- func (o *SetAddOnDefaultParams) WithHTTPClient(client *http.Client) *SetAddOnDefaultParams
- func (o *SetAddOnDefaultParams) WithTierName(tierName string) *SetAddOnDefaultParams
- func (o *SetAddOnDefaultParams) WithTimeout(timeout time.Duration) *SetAddOnDefaultParams
- func (o *SetAddOnDefaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetAddOnDefaultReader
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 tiers API
func (*Client) GetAddOns ¶
func (a *Client) GetAddOns(params *GetAddOnsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddOnsOK, error)
GetAddOns gets information about all available add ons
func (*Client) GetTiers ¶
func (a *Client) GetTiers(params *GetTiersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTiersOK, error)
GetTiers gets information about all available tiers
func (*Client) GetTiersPricing ¶
func (a *Client) GetTiersPricing(params *GetTiersPricingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTiersPricingOK, error)
GetTiersPricing gets information about all available tiers including their price in dollars per active runtime per year
func (*Client) SetAddOnDefault ¶
func (a *Client) SetAddOnDefault(params *SetAddOnDefaultParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAddOnDefaultOK, error)
SetAddOnDefault sets default state of add on for a tier
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 { GetAddOns(params *GetAddOnsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddOnsOK, error) GetTiers(params *GetTiersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTiersOK, error) GetTiersPricing(params *GetTiersPricingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTiersPricingOK, error) SetAddOnDefault(params *SetAddOnDefaultParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAddOnDefaultOK, 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 tiers API client.
type GetAddOnsForbidden ¶
type GetAddOnsForbidden struct {
Payload *mono_models.Message
}
GetAddOnsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAddOnsForbidden ¶
func NewGetAddOnsForbidden() *GetAddOnsForbidden
NewGetAddOnsForbidden creates a GetAddOnsForbidden with default headers values
func (*GetAddOnsForbidden) Error ¶
func (o *GetAddOnsForbidden) Error() string
func (*GetAddOnsForbidden) GetPayload ¶
func (o *GetAddOnsForbidden) GetPayload() *mono_models.Message
type GetAddOnsInternalServerError ¶
type GetAddOnsInternalServerError struct {
Payload *mono_models.Message
}
GetAddOnsInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetAddOnsInternalServerError ¶
func NewGetAddOnsInternalServerError() *GetAddOnsInternalServerError
NewGetAddOnsInternalServerError creates a GetAddOnsInternalServerError with default headers values
func (*GetAddOnsInternalServerError) Error ¶
func (o *GetAddOnsInternalServerError) Error() string
func (*GetAddOnsInternalServerError) GetPayload ¶
func (o *GetAddOnsInternalServerError) GetPayload() *mono_models.Message
type GetAddOnsOK ¶
type GetAddOnsOK struct {
Payload []*mono_models.AddOnsMetaData
}
GetAddOnsOK describes a response with status code 200, with default header values.
Success
func NewGetAddOnsOK ¶
func NewGetAddOnsOK() *GetAddOnsOK
NewGetAddOnsOK creates a GetAddOnsOK with default headers values
func (*GetAddOnsOK) Error ¶
func (o *GetAddOnsOK) Error() string
func (*GetAddOnsOK) GetPayload ¶
func (o *GetAddOnsOK) GetPayload() []*mono_models.AddOnsMetaData
type GetAddOnsParams ¶
type GetAddOnsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAddOnsParams contains all the parameters to send to the API endpoint
for the get add ons operation. Typically these are written to a http.Request.
func NewGetAddOnsParams ¶
func NewGetAddOnsParams() *GetAddOnsParams
NewGetAddOnsParams creates a new GetAddOnsParams 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 NewGetAddOnsParamsWithContext ¶
func NewGetAddOnsParamsWithContext(ctx context.Context) *GetAddOnsParams
NewGetAddOnsParamsWithContext creates a new GetAddOnsParams object with the ability to set a context for a request.
func NewGetAddOnsParamsWithHTTPClient ¶
func NewGetAddOnsParamsWithHTTPClient(client *http.Client) *GetAddOnsParams
NewGetAddOnsParamsWithHTTPClient creates a new GetAddOnsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAddOnsParamsWithTimeout ¶
func NewGetAddOnsParamsWithTimeout(timeout time.Duration) *GetAddOnsParams
NewGetAddOnsParamsWithTimeout creates a new GetAddOnsParams object with the ability to set a timeout on a request.
func (*GetAddOnsParams) SetContext ¶
func (o *GetAddOnsParams) SetContext(ctx context.Context)
SetContext adds the context to the get add ons params
func (*GetAddOnsParams) SetDefaults ¶
func (o *GetAddOnsParams) SetDefaults()
SetDefaults hydrates default values in the get add ons params (not the query body).
All values with no default are reset to their zero value.
func (*GetAddOnsParams) SetHTTPClient ¶
func (o *GetAddOnsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get add ons params
func (*GetAddOnsParams) SetTimeout ¶
func (o *GetAddOnsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get add ons params
func (*GetAddOnsParams) WithContext ¶
func (o *GetAddOnsParams) WithContext(ctx context.Context) *GetAddOnsParams
WithContext adds the context to the get add ons params
func (*GetAddOnsParams) WithDefaults ¶
func (o *GetAddOnsParams) WithDefaults() *GetAddOnsParams
WithDefaults hydrates default values in the get add ons params (not the query body).
All values with no default are reset to their zero value.
func (*GetAddOnsParams) WithHTTPClient ¶
func (o *GetAddOnsParams) WithHTTPClient(client *http.Client) *GetAddOnsParams
WithHTTPClient adds the HTTPClient to the get add ons params
func (*GetAddOnsParams) WithTimeout ¶
func (o *GetAddOnsParams) WithTimeout(timeout time.Duration) *GetAddOnsParams
WithTimeout adds the timeout to the get add ons params
func (*GetAddOnsParams) WriteToRequest ¶
func (o *GetAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAddOnsReader ¶
type GetAddOnsReader struct {
// contains filtered or unexported fields
}
GetAddOnsReader is a Reader for the GetAddOns structure.
func (*GetAddOnsReader) ReadResponse ¶
func (o *GetAddOnsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTiersForbidden ¶
type GetTiersForbidden struct {
Payload *mono_models.Message
}
GetTiersForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetTiersForbidden ¶
func NewGetTiersForbidden() *GetTiersForbidden
NewGetTiersForbidden creates a GetTiersForbidden with default headers values
func (*GetTiersForbidden) Error ¶
func (o *GetTiersForbidden) Error() string
func (*GetTiersForbidden) GetPayload ¶
func (o *GetTiersForbidden) GetPayload() *mono_models.Message
type GetTiersInternalServerError ¶
type GetTiersInternalServerError struct {
Payload *mono_models.Message
}
GetTiersInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetTiersInternalServerError ¶
func NewGetTiersInternalServerError() *GetTiersInternalServerError
NewGetTiersInternalServerError creates a GetTiersInternalServerError with default headers values
func (*GetTiersInternalServerError) Error ¶
func (o *GetTiersInternalServerError) Error() string
func (*GetTiersInternalServerError) GetPayload ¶
func (o *GetTiersInternalServerError) GetPayload() *mono_models.Message
type GetTiersNotFound ¶
type GetTiersNotFound struct {
Payload *mono_models.Message
}
GetTiersNotFound describes a response with status code 404, with default header values.
No tiers available
func NewGetTiersNotFound ¶
func NewGetTiersNotFound() *GetTiersNotFound
NewGetTiersNotFound creates a GetTiersNotFound with default headers values
func (*GetTiersNotFound) Error ¶
func (o *GetTiersNotFound) Error() string
func (*GetTiersNotFound) GetPayload ¶
func (o *GetTiersNotFound) GetPayload() *mono_models.Message
type GetTiersOK ¶
type GetTiersOK struct {
Payload []*mono_models.Tier
}
GetTiersOK describes a response with status code 200, with default header values.
Success
func NewGetTiersOK ¶
func NewGetTiersOK() *GetTiersOK
NewGetTiersOK creates a GetTiersOK with default headers values
func (*GetTiersOK) Error ¶
func (o *GetTiersOK) Error() string
func (*GetTiersOK) GetPayload ¶
func (o *GetTiersOK) GetPayload() []*mono_models.Tier
type GetTiersParams ¶
type GetTiersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTiersParams contains all the parameters to send to the API endpoint
for the get tiers operation. Typically these are written to a http.Request.
func NewGetTiersParams ¶
func NewGetTiersParams() *GetTiersParams
NewGetTiersParams creates a new GetTiersParams 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 NewGetTiersParamsWithContext ¶
func NewGetTiersParamsWithContext(ctx context.Context) *GetTiersParams
NewGetTiersParamsWithContext creates a new GetTiersParams object with the ability to set a context for a request.
func NewGetTiersParamsWithHTTPClient ¶
func NewGetTiersParamsWithHTTPClient(client *http.Client) *GetTiersParams
NewGetTiersParamsWithHTTPClient creates a new GetTiersParams object with the ability to set a custom HTTPClient for a request.
func NewGetTiersParamsWithTimeout ¶
func NewGetTiersParamsWithTimeout(timeout time.Duration) *GetTiersParams
NewGetTiersParamsWithTimeout creates a new GetTiersParams object with the ability to set a timeout on a request.
func (*GetTiersParams) SetContext ¶
func (o *GetTiersParams) SetContext(ctx context.Context)
SetContext adds the context to the get tiers params
func (*GetTiersParams) SetDefaults ¶
func (o *GetTiersParams) SetDefaults()
SetDefaults hydrates default values in the get tiers params (not the query body).
All values with no default are reset to their zero value.
func (*GetTiersParams) SetHTTPClient ¶
func (o *GetTiersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tiers params
func (*GetTiersParams) SetTimeout ¶
func (o *GetTiersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tiers params
func (*GetTiersParams) WithContext ¶
func (o *GetTiersParams) WithContext(ctx context.Context) *GetTiersParams
WithContext adds the context to the get tiers params
func (*GetTiersParams) WithDefaults ¶
func (o *GetTiersParams) WithDefaults() *GetTiersParams
WithDefaults hydrates default values in the get tiers params (not the query body).
All values with no default are reset to their zero value.
func (*GetTiersParams) WithHTTPClient ¶
func (o *GetTiersParams) WithHTTPClient(client *http.Client) *GetTiersParams
WithHTTPClient adds the HTTPClient to the get tiers params
func (*GetTiersParams) WithTimeout ¶
func (o *GetTiersParams) WithTimeout(timeout time.Duration) *GetTiersParams
WithTimeout adds the timeout to the get tiers params
func (*GetTiersParams) WriteToRequest ¶
func (o *GetTiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTiersPricingForbidden ¶
type GetTiersPricingForbidden struct {
Payload *mono_models.Message
}
GetTiersPricingForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetTiersPricingForbidden ¶
func NewGetTiersPricingForbidden() *GetTiersPricingForbidden
NewGetTiersPricingForbidden creates a GetTiersPricingForbidden with default headers values
func (*GetTiersPricingForbidden) Error ¶
func (o *GetTiersPricingForbidden) Error() string
func (*GetTiersPricingForbidden) GetPayload ¶
func (o *GetTiersPricingForbidden) GetPayload() *mono_models.Message
type GetTiersPricingInternalServerError ¶
type GetTiersPricingInternalServerError struct {
Payload *mono_models.Message
}
GetTiersPricingInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetTiersPricingInternalServerError ¶
func NewGetTiersPricingInternalServerError() *GetTiersPricingInternalServerError
NewGetTiersPricingInternalServerError creates a GetTiersPricingInternalServerError with default headers values
func (*GetTiersPricingInternalServerError) Error ¶
func (o *GetTiersPricingInternalServerError) Error() string
func (*GetTiersPricingInternalServerError) GetPayload ¶
func (o *GetTiersPricingInternalServerError) GetPayload() *mono_models.Message
type GetTiersPricingNotFound ¶
type GetTiersPricingNotFound struct {
Payload *mono_models.Message
}
GetTiersPricingNotFound describes a response with status code 404, with default header values.
No tiers available
func NewGetTiersPricingNotFound ¶
func NewGetTiersPricingNotFound() *GetTiersPricingNotFound
NewGetTiersPricingNotFound creates a GetTiersPricingNotFound with default headers values
func (*GetTiersPricingNotFound) Error ¶
func (o *GetTiersPricingNotFound) Error() string
func (*GetTiersPricingNotFound) GetPayload ¶
func (o *GetTiersPricingNotFound) GetPayload() *mono_models.Message
type GetTiersPricingOK ¶
type GetTiersPricingOK struct {
Payload []*mono_models.TierPricing
}
GetTiersPricingOK describes a response with status code 200, with default header values.
Success
func NewGetTiersPricingOK ¶
func NewGetTiersPricingOK() *GetTiersPricingOK
NewGetTiersPricingOK creates a GetTiersPricingOK with default headers values
func (*GetTiersPricingOK) Error ¶
func (o *GetTiersPricingOK) Error() string
func (*GetTiersPricingOK) GetPayload ¶
func (o *GetTiersPricingOK) GetPayload() []*mono_models.TierPricing
type GetTiersPricingParams ¶
type GetTiersPricingParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTiersPricingParams contains all the parameters to send to the API endpoint
for the get tiers pricing operation. Typically these are written to a http.Request.
func NewGetTiersPricingParams ¶
func NewGetTiersPricingParams() *GetTiersPricingParams
NewGetTiersPricingParams creates a new GetTiersPricingParams 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 NewGetTiersPricingParamsWithContext ¶
func NewGetTiersPricingParamsWithContext(ctx context.Context) *GetTiersPricingParams
NewGetTiersPricingParamsWithContext creates a new GetTiersPricingParams object with the ability to set a context for a request.
func NewGetTiersPricingParamsWithHTTPClient ¶
func NewGetTiersPricingParamsWithHTTPClient(client *http.Client) *GetTiersPricingParams
NewGetTiersPricingParamsWithHTTPClient creates a new GetTiersPricingParams object with the ability to set a custom HTTPClient for a request.
func NewGetTiersPricingParamsWithTimeout ¶
func NewGetTiersPricingParamsWithTimeout(timeout time.Duration) *GetTiersPricingParams
NewGetTiersPricingParamsWithTimeout creates a new GetTiersPricingParams object with the ability to set a timeout on a request.
func (*GetTiersPricingParams) SetContext ¶
func (o *GetTiersPricingParams) SetContext(ctx context.Context)
SetContext adds the context to the get tiers pricing params
func (*GetTiersPricingParams) SetDefaults ¶
func (o *GetTiersPricingParams) SetDefaults()
SetDefaults hydrates default values in the get tiers pricing params (not the query body).
All values with no default are reset to their zero value.
func (*GetTiersPricingParams) SetHTTPClient ¶
func (o *GetTiersPricingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tiers pricing params
func (*GetTiersPricingParams) SetTimeout ¶
func (o *GetTiersPricingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tiers pricing params
func (*GetTiersPricingParams) WithContext ¶
func (o *GetTiersPricingParams) WithContext(ctx context.Context) *GetTiersPricingParams
WithContext adds the context to the get tiers pricing params
func (*GetTiersPricingParams) WithDefaults ¶
func (o *GetTiersPricingParams) WithDefaults() *GetTiersPricingParams
WithDefaults hydrates default values in the get tiers pricing params (not the query body).
All values with no default are reset to their zero value.
func (*GetTiersPricingParams) WithHTTPClient ¶
func (o *GetTiersPricingParams) WithHTTPClient(client *http.Client) *GetTiersPricingParams
WithHTTPClient adds the HTTPClient to the get tiers pricing params
func (*GetTiersPricingParams) WithTimeout ¶
func (o *GetTiersPricingParams) WithTimeout(timeout time.Duration) *GetTiersPricingParams
WithTimeout adds the timeout to the get tiers pricing params
func (*GetTiersPricingParams) WriteToRequest ¶
func (o *GetTiersPricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTiersPricingReader ¶
type GetTiersPricingReader struct {
// contains filtered or unexported fields
}
GetTiersPricingReader is a Reader for the GetTiersPricing structure.
func (*GetTiersPricingReader) ReadResponse ¶
func (o *GetTiersPricingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTiersReader ¶
type GetTiersReader struct {
// contains filtered or unexported fields
}
GetTiersReader is a Reader for the GetTiers structure.
func (*GetTiersReader) ReadResponse ¶
func (o *GetTiersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetAddOnDefaultBadRequest ¶
type SetAddOnDefaultBadRequest struct {
Payload *mono_models.Message
}
SetAddOnDefaultBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSetAddOnDefaultBadRequest ¶
func NewSetAddOnDefaultBadRequest() *SetAddOnDefaultBadRequest
NewSetAddOnDefaultBadRequest creates a SetAddOnDefaultBadRequest with default headers values
func (*SetAddOnDefaultBadRequest) Error ¶
func (o *SetAddOnDefaultBadRequest) Error() string
func (*SetAddOnDefaultBadRequest) GetPayload ¶
func (o *SetAddOnDefaultBadRequest) GetPayload() *mono_models.Message
type SetAddOnDefaultForbidden ¶
type SetAddOnDefaultForbidden struct {
Payload *mono_models.Message
}
SetAddOnDefaultForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetAddOnDefaultForbidden ¶
func NewSetAddOnDefaultForbidden() *SetAddOnDefaultForbidden
NewSetAddOnDefaultForbidden creates a SetAddOnDefaultForbidden with default headers values
func (*SetAddOnDefaultForbidden) Error ¶
func (o *SetAddOnDefaultForbidden) Error() string
func (*SetAddOnDefaultForbidden) GetPayload ¶
func (o *SetAddOnDefaultForbidden) GetPayload() *mono_models.Message
type SetAddOnDefaultInternalServerError ¶
type SetAddOnDefaultInternalServerError struct {
Payload *mono_models.Message
}
SetAddOnDefaultInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewSetAddOnDefaultInternalServerError ¶
func NewSetAddOnDefaultInternalServerError() *SetAddOnDefaultInternalServerError
NewSetAddOnDefaultInternalServerError creates a SetAddOnDefaultInternalServerError with default headers values
func (*SetAddOnDefaultInternalServerError) Error ¶
func (o *SetAddOnDefaultInternalServerError) Error() string
func (*SetAddOnDefaultInternalServerError) GetPayload ¶
func (o *SetAddOnDefaultInternalServerError) GetPayload() *mono_models.Message
type SetAddOnDefaultNotFound ¶
type SetAddOnDefaultNotFound struct {
Payload *mono_models.Message
}
SetAddOnDefaultNotFound describes a response with status code 404, with default header values.
Not Found
func NewSetAddOnDefaultNotFound ¶
func NewSetAddOnDefaultNotFound() *SetAddOnDefaultNotFound
NewSetAddOnDefaultNotFound creates a SetAddOnDefaultNotFound with default headers values
func (*SetAddOnDefaultNotFound) Error ¶
func (o *SetAddOnDefaultNotFound) Error() string
func (*SetAddOnDefaultNotFound) GetPayload ¶
func (o *SetAddOnDefaultNotFound) GetPayload() *mono_models.Message
type SetAddOnDefaultOK ¶
type SetAddOnDefaultOK struct {
Payload *mono_models.Message
}
SetAddOnDefaultOK describes a response with status code 200, with default header values.
Success
func NewSetAddOnDefaultOK ¶
func NewSetAddOnDefaultOK() *SetAddOnDefaultOK
NewSetAddOnDefaultOK creates a SetAddOnDefaultOK with default headers values
func (*SetAddOnDefaultOK) Error ¶
func (o *SetAddOnDefaultOK) Error() string
func (*SetAddOnDefaultOK) GetPayload ¶
func (o *SetAddOnDefaultOK) GetPayload() *mono_models.Message
type SetAddOnDefaultParams ¶
type SetAddOnDefaultParams struct { // AddOn. AddOn *mono_models.AddOnEditable // TierName. TierName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetAddOnDefaultParams contains all the parameters to send to the API endpoint
for the set add on default operation. Typically these are written to a http.Request.
func NewSetAddOnDefaultParams ¶
func NewSetAddOnDefaultParams() *SetAddOnDefaultParams
NewSetAddOnDefaultParams creates a new SetAddOnDefaultParams 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 NewSetAddOnDefaultParamsWithContext ¶
func NewSetAddOnDefaultParamsWithContext(ctx context.Context) *SetAddOnDefaultParams
NewSetAddOnDefaultParamsWithContext creates a new SetAddOnDefaultParams object with the ability to set a context for a request.
func NewSetAddOnDefaultParamsWithHTTPClient ¶
func NewSetAddOnDefaultParamsWithHTTPClient(client *http.Client) *SetAddOnDefaultParams
NewSetAddOnDefaultParamsWithHTTPClient creates a new SetAddOnDefaultParams object with the ability to set a custom HTTPClient for a request.
func NewSetAddOnDefaultParamsWithTimeout ¶
func NewSetAddOnDefaultParamsWithTimeout(timeout time.Duration) *SetAddOnDefaultParams
NewSetAddOnDefaultParamsWithTimeout creates a new SetAddOnDefaultParams object with the ability to set a timeout on a request.
func (*SetAddOnDefaultParams) SetAddOn ¶
func (o *SetAddOnDefaultParams) SetAddOn(addOn *mono_models.AddOnEditable)
SetAddOn adds the addOn to the set add on default params
func (*SetAddOnDefaultParams) SetContext ¶
func (o *SetAddOnDefaultParams) SetContext(ctx context.Context)
SetContext adds the context to the set add on default params
func (*SetAddOnDefaultParams) SetDefaults ¶
func (o *SetAddOnDefaultParams) SetDefaults()
SetDefaults hydrates default values in the set add on default params (not the query body).
All values with no default are reset to their zero value.
func (*SetAddOnDefaultParams) SetHTTPClient ¶
func (o *SetAddOnDefaultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set add on default params
func (*SetAddOnDefaultParams) SetTierName ¶
func (o *SetAddOnDefaultParams) SetTierName(tierName string)
SetTierName adds the tierName to the set add on default params
func (*SetAddOnDefaultParams) SetTimeout ¶
func (o *SetAddOnDefaultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set add on default params
func (*SetAddOnDefaultParams) WithAddOn ¶
func (o *SetAddOnDefaultParams) WithAddOn(addOn *mono_models.AddOnEditable) *SetAddOnDefaultParams
WithAddOn adds the addOn to the set add on default params
func (*SetAddOnDefaultParams) WithContext ¶
func (o *SetAddOnDefaultParams) WithContext(ctx context.Context) *SetAddOnDefaultParams
WithContext adds the context to the set add on default params
func (*SetAddOnDefaultParams) WithDefaults ¶
func (o *SetAddOnDefaultParams) WithDefaults() *SetAddOnDefaultParams
WithDefaults hydrates default values in the set add on default params (not the query body).
All values with no default are reset to their zero value.
func (*SetAddOnDefaultParams) WithHTTPClient ¶
func (o *SetAddOnDefaultParams) WithHTTPClient(client *http.Client) *SetAddOnDefaultParams
WithHTTPClient adds the HTTPClient to the set add on default params
func (*SetAddOnDefaultParams) WithTierName ¶
func (o *SetAddOnDefaultParams) WithTierName(tierName string) *SetAddOnDefaultParams
WithTierName adds the tierName to the set add on default params
func (*SetAddOnDefaultParams) WithTimeout ¶
func (o *SetAddOnDefaultParams) WithTimeout(timeout time.Duration) *SetAddOnDefaultParams
WithTimeout adds the timeout to the set add on default params
func (*SetAddOnDefaultParams) WriteToRequest ¶
func (o *SetAddOnDefaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetAddOnDefaultReader ¶
type SetAddOnDefaultReader struct {
// contains filtered or unexported fields
}
SetAddOnDefaultReader is a Reader for the SetAddOnDefault structure.
func (*SetAddOnDefaultReader) ReadResponse ¶
func (o *SetAddOnDefaultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.