Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateFlavorProfile(params *CreateFlavorProfileParams, opts ...ClientOption) (*CreateFlavorProfileCreated, error)
- func (a *Client) DeleteFlavorProfile(params *DeleteFlavorProfileParams, opts ...ClientOption) (*DeleteFlavorProfileNoContent, error)
- func (a *Client) GetFlavorProfile(params *GetFlavorProfileParams, opts ...ClientOption) (*GetFlavorProfileOK, error)
- func (a *Client) GetFlavorProfiles(params *GetFlavorProfilesParams, opts ...ClientOption) (*GetFlavorProfilesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFlavorProfile(params *UpdateFlavorProfileParams, opts ...ClientOption) (*UpdateFlavorProfileOK, error)
- type ClientOption
- type ClientService
- type CreateFlavorProfileBadRequest
- func (o *CreateFlavorProfileBadRequest) Error() string
- func (o *CreateFlavorProfileBadRequest) GetPayload() *models.Error
- func (o *CreateFlavorProfileBadRequest) IsClientError() bool
- func (o *CreateFlavorProfileBadRequest) IsCode(code int) bool
- func (o *CreateFlavorProfileBadRequest) IsRedirect() bool
- func (o *CreateFlavorProfileBadRequest) IsServerError() bool
- func (o *CreateFlavorProfileBadRequest) IsSuccess() bool
- func (o *CreateFlavorProfileBadRequest) String() string
- type CreateFlavorProfileCreated
- func (o *CreateFlavorProfileCreated) Error() string
- func (o *CreateFlavorProfileCreated) GetPayload() *models.FlavorProfile
- func (o *CreateFlavorProfileCreated) IsClientError() bool
- func (o *CreateFlavorProfileCreated) IsCode(code int) bool
- func (o *CreateFlavorProfileCreated) IsRedirect() bool
- func (o *CreateFlavorProfileCreated) IsServerError() bool
- func (o *CreateFlavorProfileCreated) IsSuccess() bool
- func (o *CreateFlavorProfileCreated) String() string
- type CreateFlavorProfileForbidden
- func (o *CreateFlavorProfileForbidden) Error() string
- func (o *CreateFlavorProfileForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *CreateFlavorProfileForbidden) IsClientError() bool
- func (o *CreateFlavorProfileForbidden) IsCode(code int) bool
- func (o *CreateFlavorProfileForbidden) IsRedirect() bool
- func (o *CreateFlavorProfileForbidden) IsServerError() bool
- func (o *CreateFlavorProfileForbidden) IsSuccess() bool
- func (o *CreateFlavorProfileForbidden) String() string
- type CreateFlavorProfileParams
- func NewCreateFlavorProfileParams() *CreateFlavorProfileParams
- func NewCreateFlavorProfileParamsWithContext(ctx context.Context) *CreateFlavorProfileParams
- func NewCreateFlavorProfileParamsWithHTTPClient(client *http.Client) *CreateFlavorProfileParams
- func NewCreateFlavorProfileParamsWithTimeout(timeout time.Duration) *CreateFlavorProfileParams
- func (o *CreateFlavorProfileParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateFlavorProfileParams) SetBody(body *models.FlavorProfileSpecification)
- func (o *CreateFlavorProfileParams) SetContext(ctx context.Context)
- func (o *CreateFlavorProfileParams) SetDefaults()
- func (o *CreateFlavorProfileParams) SetHTTPClient(client *http.Client)
- func (o *CreateFlavorProfileParams) SetTimeout(timeout time.Duration)
- func (o *CreateFlavorProfileParams) WithAPIVersion(aPIVersion *string) *CreateFlavorProfileParams
- func (o *CreateFlavorProfileParams) WithBody(body *models.FlavorProfileSpecification) *CreateFlavorProfileParams
- func (o *CreateFlavorProfileParams) WithContext(ctx context.Context) *CreateFlavorProfileParams
- func (o *CreateFlavorProfileParams) WithDefaults() *CreateFlavorProfileParams
- func (o *CreateFlavorProfileParams) WithHTTPClient(client *http.Client) *CreateFlavorProfileParams
- func (o *CreateFlavorProfileParams) WithTimeout(timeout time.Duration) *CreateFlavorProfileParams
- func (o *CreateFlavorProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFlavorProfileReader
- type DeleteFlavorProfileForbidden
- func (o *DeleteFlavorProfileForbidden) Error() string
- func (o *DeleteFlavorProfileForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *DeleteFlavorProfileForbidden) IsClientError() bool
- func (o *DeleteFlavorProfileForbidden) IsCode(code int) bool
- func (o *DeleteFlavorProfileForbidden) IsRedirect() bool
- func (o *DeleteFlavorProfileForbidden) IsServerError() bool
- func (o *DeleteFlavorProfileForbidden) IsSuccess() bool
- func (o *DeleteFlavorProfileForbidden) String() string
- type DeleteFlavorProfileNoContent
- func (o *DeleteFlavorProfileNoContent) Error() string
- func (o *DeleteFlavorProfileNoContent) IsClientError() bool
- func (o *DeleteFlavorProfileNoContent) IsCode(code int) bool
- func (o *DeleteFlavorProfileNoContent) IsRedirect() bool
- func (o *DeleteFlavorProfileNoContent) IsServerError() bool
- func (o *DeleteFlavorProfileNoContent) IsSuccess() bool
- func (o *DeleteFlavorProfileNoContent) String() string
- type DeleteFlavorProfileParams
- func NewDeleteFlavorProfileParams() *DeleteFlavorProfileParams
- func NewDeleteFlavorProfileParamsWithContext(ctx context.Context) *DeleteFlavorProfileParams
- func NewDeleteFlavorProfileParamsWithHTTPClient(client *http.Client) *DeleteFlavorProfileParams
- func NewDeleteFlavorProfileParamsWithTimeout(timeout time.Duration) *DeleteFlavorProfileParams
- func (o *DeleteFlavorProfileParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteFlavorProfileParams) SetContext(ctx context.Context)
- func (o *DeleteFlavorProfileParams) SetDefaults()
- func (o *DeleteFlavorProfileParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFlavorProfileParams) SetID(id string)
- func (o *DeleteFlavorProfileParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFlavorProfileParams) WithAPIVersion(aPIVersion *string) *DeleteFlavorProfileParams
- func (o *DeleteFlavorProfileParams) WithContext(ctx context.Context) *DeleteFlavorProfileParams
- func (o *DeleteFlavorProfileParams) WithDefaults() *DeleteFlavorProfileParams
- func (o *DeleteFlavorProfileParams) WithHTTPClient(client *http.Client) *DeleteFlavorProfileParams
- func (o *DeleteFlavorProfileParams) WithID(id string) *DeleteFlavorProfileParams
- func (o *DeleteFlavorProfileParams) WithTimeout(timeout time.Duration) *DeleteFlavorProfileParams
- func (o *DeleteFlavorProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFlavorProfileReader
- type GetFlavorProfileForbidden
- func (o *GetFlavorProfileForbidden) Error() string
- func (o *GetFlavorProfileForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetFlavorProfileForbidden) IsClientError() bool
- func (o *GetFlavorProfileForbidden) IsCode(code int) bool
- func (o *GetFlavorProfileForbidden) IsRedirect() bool
- func (o *GetFlavorProfileForbidden) IsServerError() bool
- func (o *GetFlavorProfileForbidden) IsSuccess() bool
- func (o *GetFlavorProfileForbidden) String() string
- type GetFlavorProfileNotFound
- func (o *GetFlavorProfileNotFound) Error() string
- func (o *GetFlavorProfileNotFound) GetPayload() *models.Error
- func (o *GetFlavorProfileNotFound) IsClientError() bool
- func (o *GetFlavorProfileNotFound) IsCode(code int) bool
- func (o *GetFlavorProfileNotFound) IsRedirect() bool
- func (o *GetFlavorProfileNotFound) IsServerError() bool
- func (o *GetFlavorProfileNotFound) IsSuccess() bool
- func (o *GetFlavorProfileNotFound) String() string
- type GetFlavorProfileOK
- func (o *GetFlavorProfileOK) Error() string
- func (o *GetFlavorProfileOK) GetPayload() *models.FlavorProfile
- func (o *GetFlavorProfileOK) IsClientError() bool
- func (o *GetFlavorProfileOK) IsCode(code int) bool
- func (o *GetFlavorProfileOK) IsRedirect() bool
- func (o *GetFlavorProfileOK) IsServerError() bool
- func (o *GetFlavorProfileOK) IsSuccess() bool
- func (o *GetFlavorProfileOK) String() string
- type GetFlavorProfileParams
- func NewGetFlavorProfileParams() *GetFlavorProfileParams
- func NewGetFlavorProfileParamsWithContext(ctx context.Context) *GetFlavorProfileParams
- func NewGetFlavorProfileParamsWithHTTPClient(client *http.Client) *GetFlavorProfileParams
- func NewGetFlavorProfileParamsWithTimeout(timeout time.Duration) *GetFlavorProfileParams
- func (o *GetFlavorProfileParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFlavorProfileParams) SetContext(ctx context.Context)
- func (o *GetFlavorProfileParams) SetDefaults()
- func (o *GetFlavorProfileParams) SetHTTPClient(client *http.Client)
- func (o *GetFlavorProfileParams) SetID(id string)
- func (o *GetFlavorProfileParams) SetTimeout(timeout time.Duration)
- func (o *GetFlavorProfileParams) WithAPIVersion(aPIVersion *string) *GetFlavorProfileParams
- func (o *GetFlavorProfileParams) WithContext(ctx context.Context) *GetFlavorProfileParams
- func (o *GetFlavorProfileParams) WithDefaults() *GetFlavorProfileParams
- func (o *GetFlavorProfileParams) WithHTTPClient(client *http.Client) *GetFlavorProfileParams
- func (o *GetFlavorProfileParams) WithID(id string) *GetFlavorProfileParams
- func (o *GetFlavorProfileParams) WithTimeout(timeout time.Duration) *GetFlavorProfileParams
- func (o *GetFlavorProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFlavorProfileReader
- type GetFlavorProfilesForbidden
- func (o *GetFlavorProfilesForbidden) Error() string
- func (o *GetFlavorProfilesForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetFlavorProfilesForbidden) IsClientError() bool
- func (o *GetFlavorProfilesForbidden) IsCode(code int) bool
- func (o *GetFlavorProfilesForbidden) IsRedirect() bool
- func (o *GetFlavorProfilesForbidden) IsServerError() bool
- func (o *GetFlavorProfilesForbidden) IsSuccess() bool
- func (o *GetFlavorProfilesForbidden) String() string
- type GetFlavorProfilesOK
- func (o *GetFlavorProfilesOK) Error() string
- func (o *GetFlavorProfilesOK) GetPayload() *models.FlavorProfileResult
- func (o *GetFlavorProfilesOK) IsClientError() bool
- func (o *GetFlavorProfilesOK) IsCode(code int) bool
- func (o *GetFlavorProfilesOK) IsRedirect() bool
- func (o *GetFlavorProfilesOK) IsServerError() bool
- func (o *GetFlavorProfilesOK) IsSuccess() bool
- func (o *GetFlavorProfilesOK) String() string
- type GetFlavorProfilesParams
- func NewGetFlavorProfilesParams() *GetFlavorProfilesParams
- func NewGetFlavorProfilesParamsWithContext(ctx context.Context) *GetFlavorProfilesParams
- func NewGetFlavorProfilesParamsWithHTTPClient(client *http.Client) *GetFlavorProfilesParams
- func NewGetFlavorProfilesParamsWithTimeout(timeout time.Duration) *GetFlavorProfilesParams
- func (o *GetFlavorProfilesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFlavorProfilesParams) SetContext(ctx context.Context)
- func (o *GetFlavorProfilesParams) SetDefaults()
- func (o *GetFlavorProfilesParams) SetDollarFilter(dollarFilter *string)
- func (o *GetFlavorProfilesParams) SetHTTPClient(client *http.Client)
- func (o *GetFlavorProfilesParams) SetTimeout(timeout time.Duration)
- func (o *GetFlavorProfilesParams) WithAPIVersion(aPIVersion *string) *GetFlavorProfilesParams
- func (o *GetFlavorProfilesParams) WithContext(ctx context.Context) *GetFlavorProfilesParams
- func (o *GetFlavorProfilesParams) WithDefaults() *GetFlavorProfilesParams
- func (o *GetFlavorProfilesParams) WithDollarFilter(dollarFilter *string) *GetFlavorProfilesParams
- func (o *GetFlavorProfilesParams) WithHTTPClient(client *http.Client) *GetFlavorProfilesParams
- func (o *GetFlavorProfilesParams) WithTimeout(timeout time.Duration) *GetFlavorProfilesParams
- func (o *GetFlavorProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFlavorProfilesReader
- type UpdateFlavorProfileForbidden
- func (o *UpdateFlavorProfileForbidden) Error() string
- func (o *UpdateFlavorProfileForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *UpdateFlavorProfileForbidden) IsClientError() bool
- func (o *UpdateFlavorProfileForbidden) IsCode(code int) bool
- func (o *UpdateFlavorProfileForbidden) IsRedirect() bool
- func (o *UpdateFlavorProfileForbidden) IsServerError() bool
- func (o *UpdateFlavorProfileForbidden) IsSuccess() bool
- func (o *UpdateFlavorProfileForbidden) String() string
- type UpdateFlavorProfileNotFound
- func (o *UpdateFlavorProfileNotFound) Error() string
- func (o *UpdateFlavorProfileNotFound) GetPayload() *models.Error
- func (o *UpdateFlavorProfileNotFound) IsClientError() bool
- func (o *UpdateFlavorProfileNotFound) IsCode(code int) bool
- func (o *UpdateFlavorProfileNotFound) IsRedirect() bool
- func (o *UpdateFlavorProfileNotFound) IsServerError() bool
- func (o *UpdateFlavorProfileNotFound) IsSuccess() bool
- func (o *UpdateFlavorProfileNotFound) String() string
- type UpdateFlavorProfileOK
- func (o *UpdateFlavorProfileOK) Error() string
- func (o *UpdateFlavorProfileOK) GetPayload() *models.FlavorProfile
- func (o *UpdateFlavorProfileOK) IsClientError() bool
- func (o *UpdateFlavorProfileOK) IsCode(code int) bool
- func (o *UpdateFlavorProfileOK) IsRedirect() bool
- func (o *UpdateFlavorProfileOK) IsServerError() bool
- func (o *UpdateFlavorProfileOK) IsSuccess() bool
- func (o *UpdateFlavorProfileOK) String() string
- type UpdateFlavorProfileParams
- func NewUpdateFlavorProfileParams() *UpdateFlavorProfileParams
- func NewUpdateFlavorProfileParamsWithContext(ctx context.Context) *UpdateFlavorProfileParams
- func NewUpdateFlavorProfileParamsWithHTTPClient(client *http.Client) *UpdateFlavorProfileParams
- func NewUpdateFlavorProfileParamsWithTimeout(timeout time.Duration) *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateFlavorProfileParams) SetBody(body *models.UpdateFlavorProfileSpecification)
- func (o *UpdateFlavorProfileParams) SetContext(ctx context.Context)
- func (o *UpdateFlavorProfileParams) SetDefaults()
- func (o *UpdateFlavorProfileParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFlavorProfileParams) SetID(id string)
- func (o *UpdateFlavorProfileParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFlavorProfileParams) WithAPIVersion(aPIVersion *string) *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) WithBody(body *models.UpdateFlavorProfileSpecification) *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) WithContext(ctx context.Context) *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) WithDefaults() *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) WithHTTPClient(client *http.Client) *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) WithID(id string) *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) WithTimeout(timeout time.Duration) *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFlavorProfileReader
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 flavor profile API
func (*Client) CreateFlavorProfile ¶
func (a *Client) CreateFlavorProfile(params *CreateFlavorProfileParams, opts ...ClientOption) (*CreateFlavorProfileCreated, error)
CreateFlavorProfile creates flavor profile
Create flavor profile
func (*Client) DeleteFlavorProfile ¶
func (a *Client) DeleteFlavorProfile(params *DeleteFlavorProfileParams, opts ...ClientOption) (*DeleteFlavorProfileNoContent, error)
DeleteFlavorProfile deletes flavor profile
Delete flavor profile with a given id
func (*Client) GetFlavorProfile ¶
func (a *Client) GetFlavorProfile(params *GetFlavorProfileParams, opts ...ClientOption) (*GetFlavorProfileOK, error)
GetFlavorProfile gets flavor profile
Get flavor profile with a given id
func (*Client) GetFlavorProfiles ¶
func (a *Client) GetFlavorProfiles(params *GetFlavorProfilesParams, opts ...ClientOption) (*GetFlavorProfilesOK, error)
GetFlavorProfiles gets flavor profile
Get all flavor profile
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateFlavorProfile ¶
func (a *Client) UpdateFlavorProfile(params *UpdateFlavorProfileParams, opts ...ClientOption) (*UpdateFlavorProfileOK, error)
UpdateFlavorProfile updates flavor profile
Update flavor profile
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { CreateFlavorProfile(params *CreateFlavorProfileParams, opts ...ClientOption) (*CreateFlavorProfileCreated, error) DeleteFlavorProfile(params *DeleteFlavorProfileParams, opts ...ClientOption) (*DeleteFlavorProfileNoContent, error) GetFlavorProfile(params *GetFlavorProfileParams, opts ...ClientOption) (*GetFlavorProfileOK, error) GetFlavorProfiles(params *GetFlavorProfilesParams, opts ...ClientOption) (*GetFlavorProfilesOK, error) UpdateFlavorProfile(params *UpdateFlavorProfileParams, opts ...ClientOption) (*UpdateFlavorProfileOK, 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 flavor profile API client.
type CreateFlavorProfileBadRequest ¶
CreateFlavorProfileBadRequest describes a response with status code 400, with default header values.
Invalid Request - bad data
func NewCreateFlavorProfileBadRequest ¶
func NewCreateFlavorProfileBadRequest() *CreateFlavorProfileBadRequest
NewCreateFlavorProfileBadRequest creates a CreateFlavorProfileBadRequest with default headers values
func (*CreateFlavorProfileBadRequest) Error ¶
func (o *CreateFlavorProfileBadRequest) Error() string
func (*CreateFlavorProfileBadRequest) GetPayload ¶ added in v0.2.9
func (o *CreateFlavorProfileBadRequest) GetPayload() *models.Error
func (*CreateFlavorProfileBadRequest) IsClientError ¶ added in v0.5.0
func (o *CreateFlavorProfileBadRequest) IsClientError() bool
IsClientError returns true when this create flavor profile bad request response has a 4xx status code
func (*CreateFlavorProfileBadRequest) IsCode ¶ added in v0.5.0
func (o *CreateFlavorProfileBadRequest) IsCode(code int) bool
IsCode returns true when this create flavor profile bad request response a status code equal to that given
func (*CreateFlavorProfileBadRequest) IsRedirect ¶ added in v0.5.0
func (o *CreateFlavorProfileBadRequest) IsRedirect() bool
IsRedirect returns true when this create flavor profile bad request response has a 3xx status code
func (*CreateFlavorProfileBadRequest) IsServerError ¶ added in v0.5.0
func (o *CreateFlavorProfileBadRequest) IsServerError() bool
IsServerError returns true when this create flavor profile bad request response has a 5xx status code
func (*CreateFlavorProfileBadRequest) IsSuccess ¶ added in v0.5.0
func (o *CreateFlavorProfileBadRequest) IsSuccess() bool
IsSuccess returns true when this create flavor profile bad request response has a 2xx status code
func (*CreateFlavorProfileBadRequest) String ¶ added in v0.5.0
func (o *CreateFlavorProfileBadRequest) String() string
type CreateFlavorProfileCreated ¶
type CreateFlavorProfileCreated struct {
Payload *models.FlavorProfile
}
CreateFlavorProfileCreated describes a response with status code 201, with default header values.
successful operation
func NewCreateFlavorProfileCreated ¶
func NewCreateFlavorProfileCreated() *CreateFlavorProfileCreated
NewCreateFlavorProfileCreated creates a CreateFlavorProfileCreated with default headers values
func (*CreateFlavorProfileCreated) Error ¶
func (o *CreateFlavorProfileCreated) Error() string
func (*CreateFlavorProfileCreated) GetPayload ¶
func (o *CreateFlavorProfileCreated) GetPayload() *models.FlavorProfile
func (*CreateFlavorProfileCreated) IsClientError ¶ added in v0.5.0
func (o *CreateFlavorProfileCreated) IsClientError() bool
IsClientError returns true when this create flavor profile created response has a 4xx status code
func (*CreateFlavorProfileCreated) IsCode ¶ added in v0.5.0
func (o *CreateFlavorProfileCreated) IsCode(code int) bool
IsCode returns true when this create flavor profile created response a status code equal to that given
func (*CreateFlavorProfileCreated) IsRedirect ¶ added in v0.5.0
func (o *CreateFlavorProfileCreated) IsRedirect() bool
IsRedirect returns true when this create flavor profile created response has a 3xx status code
func (*CreateFlavorProfileCreated) IsServerError ¶ added in v0.5.0
func (o *CreateFlavorProfileCreated) IsServerError() bool
IsServerError returns true when this create flavor profile created response has a 5xx status code
func (*CreateFlavorProfileCreated) IsSuccess ¶ added in v0.5.0
func (o *CreateFlavorProfileCreated) IsSuccess() bool
IsSuccess returns true when this create flavor profile created response has a 2xx status code
func (*CreateFlavorProfileCreated) String ¶ added in v0.5.0
func (o *CreateFlavorProfileCreated) String() string
type CreateFlavorProfileForbidden ¶
type CreateFlavorProfileForbidden struct {
Payload *models.ServiceErrorResponse
}
CreateFlavorProfileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateFlavorProfileForbidden ¶
func NewCreateFlavorProfileForbidden() *CreateFlavorProfileForbidden
NewCreateFlavorProfileForbidden creates a CreateFlavorProfileForbidden with default headers values
func (*CreateFlavorProfileForbidden) Error ¶
func (o *CreateFlavorProfileForbidden) Error() string
func (*CreateFlavorProfileForbidden) GetPayload ¶ added in v0.2.20
func (o *CreateFlavorProfileForbidden) GetPayload() *models.ServiceErrorResponse
func (*CreateFlavorProfileForbidden) IsClientError ¶ added in v0.5.0
func (o *CreateFlavorProfileForbidden) IsClientError() bool
IsClientError returns true when this create flavor profile forbidden response has a 4xx status code
func (*CreateFlavorProfileForbidden) IsCode ¶ added in v0.5.0
func (o *CreateFlavorProfileForbidden) IsCode(code int) bool
IsCode returns true when this create flavor profile forbidden response a status code equal to that given
func (*CreateFlavorProfileForbidden) IsRedirect ¶ added in v0.5.0
func (o *CreateFlavorProfileForbidden) IsRedirect() bool
IsRedirect returns true when this create flavor profile forbidden response has a 3xx status code
func (*CreateFlavorProfileForbidden) IsServerError ¶ added in v0.5.0
func (o *CreateFlavorProfileForbidden) IsServerError() bool
IsServerError returns true when this create flavor profile forbidden response has a 5xx status code
func (*CreateFlavorProfileForbidden) IsSuccess ¶ added in v0.5.0
func (o *CreateFlavorProfileForbidden) IsSuccess() bool
IsSuccess returns true when this create flavor profile forbidden response has a 2xx status code
func (*CreateFlavorProfileForbidden) String ¶ added in v0.5.0
func (o *CreateFlavorProfileForbidden) String() string
type CreateFlavorProfileParams ¶
type CreateFlavorProfileParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* Body. FlavorProfile instance */ Body *models.FlavorProfileSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFlavorProfileParams contains all the parameters to send to the API endpoint
for the create flavor profile operation. Typically these are written to a http.Request.
func NewCreateFlavorProfileParams ¶
func NewCreateFlavorProfileParams() *CreateFlavorProfileParams
NewCreateFlavorProfileParams creates a new CreateFlavorProfileParams 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 NewCreateFlavorProfileParamsWithContext ¶
func NewCreateFlavorProfileParamsWithContext(ctx context.Context) *CreateFlavorProfileParams
NewCreateFlavorProfileParamsWithContext creates a new CreateFlavorProfileParams object with the ability to set a context for a request.
func NewCreateFlavorProfileParamsWithHTTPClient ¶
func NewCreateFlavorProfileParamsWithHTTPClient(client *http.Client) *CreateFlavorProfileParams
NewCreateFlavorProfileParamsWithHTTPClient creates a new CreateFlavorProfileParams object with the ability to set a custom HTTPClient for a request.
func NewCreateFlavorProfileParamsWithTimeout ¶
func NewCreateFlavorProfileParamsWithTimeout(timeout time.Duration) *CreateFlavorProfileParams
NewCreateFlavorProfileParamsWithTimeout creates a new CreateFlavorProfileParams object with the ability to set a timeout on a request.
func (*CreateFlavorProfileParams) SetAPIVersion ¶
func (o *CreateFlavorProfileParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create flavor profile params
func (*CreateFlavorProfileParams) SetBody ¶
func (o *CreateFlavorProfileParams) SetBody(body *models.FlavorProfileSpecification)
SetBody adds the body to the create flavor profile params
func (*CreateFlavorProfileParams) SetContext ¶
func (o *CreateFlavorProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the create flavor profile params
func (*CreateFlavorProfileParams) SetDefaults ¶ added in v0.2.20
func (o *CreateFlavorProfileParams) SetDefaults()
SetDefaults hydrates default values in the create flavor profile params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFlavorProfileParams) SetHTTPClient ¶
func (o *CreateFlavorProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create flavor profile params
func (*CreateFlavorProfileParams) SetTimeout ¶
func (o *CreateFlavorProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create flavor profile params
func (*CreateFlavorProfileParams) WithAPIVersion ¶
func (o *CreateFlavorProfileParams) WithAPIVersion(aPIVersion *string) *CreateFlavorProfileParams
WithAPIVersion adds the aPIVersion to the create flavor profile params
func (*CreateFlavorProfileParams) WithBody ¶
func (o *CreateFlavorProfileParams) WithBody(body *models.FlavorProfileSpecification) *CreateFlavorProfileParams
WithBody adds the body to the create flavor profile params
func (*CreateFlavorProfileParams) WithContext ¶
func (o *CreateFlavorProfileParams) WithContext(ctx context.Context) *CreateFlavorProfileParams
WithContext adds the context to the create flavor profile params
func (*CreateFlavorProfileParams) WithDefaults ¶ added in v0.2.20
func (o *CreateFlavorProfileParams) WithDefaults() *CreateFlavorProfileParams
WithDefaults hydrates default values in the create flavor profile params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFlavorProfileParams) WithHTTPClient ¶
func (o *CreateFlavorProfileParams) WithHTTPClient(client *http.Client) *CreateFlavorProfileParams
WithHTTPClient adds the HTTPClient to the create flavor profile params
func (*CreateFlavorProfileParams) WithTimeout ¶
func (o *CreateFlavorProfileParams) WithTimeout(timeout time.Duration) *CreateFlavorProfileParams
WithTimeout adds the timeout to the create flavor profile params
func (*CreateFlavorProfileParams) WriteToRequest ¶
func (o *CreateFlavorProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFlavorProfileReader ¶
type CreateFlavorProfileReader struct {
// contains filtered or unexported fields
}
CreateFlavorProfileReader is a Reader for the CreateFlavorProfile structure.
func (*CreateFlavorProfileReader) ReadResponse ¶
func (o *CreateFlavorProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteFlavorProfileForbidden ¶
type DeleteFlavorProfileForbidden struct {
Payload *models.ServiceErrorResponse
}
DeleteFlavorProfileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteFlavorProfileForbidden ¶
func NewDeleteFlavorProfileForbidden() *DeleteFlavorProfileForbidden
NewDeleteFlavorProfileForbidden creates a DeleteFlavorProfileForbidden with default headers values
func (*DeleteFlavorProfileForbidden) Error ¶
func (o *DeleteFlavorProfileForbidden) Error() string
func (*DeleteFlavorProfileForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteFlavorProfileForbidden) GetPayload() *models.ServiceErrorResponse
func (*DeleteFlavorProfileForbidden) IsClientError ¶ added in v0.5.0
func (o *DeleteFlavorProfileForbidden) IsClientError() bool
IsClientError returns true when this delete flavor profile forbidden response has a 4xx status code
func (*DeleteFlavorProfileForbidden) IsCode ¶ added in v0.5.0
func (o *DeleteFlavorProfileForbidden) IsCode(code int) bool
IsCode returns true when this delete flavor profile forbidden response a status code equal to that given
func (*DeleteFlavorProfileForbidden) IsRedirect ¶ added in v0.5.0
func (o *DeleteFlavorProfileForbidden) IsRedirect() bool
IsRedirect returns true when this delete flavor profile forbidden response has a 3xx status code
func (*DeleteFlavorProfileForbidden) IsServerError ¶ added in v0.5.0
func (o *DeleteFlavorProfileForbidden) IsServerError() bool
IsServerError returns true when this delete flavor profile forbidden response has a 5xx status code
func (*DeleteFlavorProfileForbidden) IsSuccess ¶ added in v0.5.0
func (o *DeleteFlavorProfileForbidden) IsSuccess() bool
IsSuccess returns true when this delete flavor profile forbidden response has a 2xx status code
func (*DeleteFlavorProfileForbidden) String ¶ added in v0.5.0
func (o *DeleteFlavorProfileForbidden) String() string
type DeleteFlavorProfileNoContent ¶
type DeleteFlavorProfileNoContent struct { }
DeleteFlavorProfileNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteFlavorProfileNoContent ¶
func NewDeleteFlavorProfileNoContent() *DeleteFlavorProfileNoContent
NewDeleteFlavorProfileNoContent creates a DeleteFlavorProfileNoContent with default headers values
func (*DeleteFlavorProfileNoContent) Error ¶
func (o *DeleteFlavorProfileNoContent) Error() string
func (*DeleteFlavorProfileNoContent) IsClientError ¶ added in v0.5.0
func (o *DeleteFlavorProfileNoContent) IsClientError() bool
IsClientError returns true when this delete flavor profile no content response has a 4xx status code
func (*DeleteFlavorProfileNoContent) IsCode ¶ added in v0.5.0
func (o *DeleteFlavorProfileNoContent) IsCode(code int) bool
IsCode returns true when this delete flavor profile no content response a status code equal to that given
func (*DeleteFlavorProfileNoContent) IsRedirect ¶ added in v0.5.0
func (o *DeleteFlavorProfileNoContent) IsRedirect() bool
IsRedirect returns true when this delete flavor profile no content response has a 3xx status code
func (*DeleteFlavorProfileNoContent) IsServerError ¶ added in v0.5.0
func (o *DeleteFlavorProfileNoContent) IsServerError() bool
IsServerError returns true when this delete flavor profile no content response has a 5xx status code
func (*DeleteFlavorProfileNoContent) IsSuccess ¶ added in v0.5.0
func (o *DeleteFlavorProfileNoContent) IsSuccess() bool
IsSuccess returns true when this delete flavor profile no content response has a 2xx status code
func (*DeleteFlavorProfileNoContent) String ¶ added in v0.5.0
func (o *DeleteFlavorProfileNoContent) String() string
type DeleteFlavorProfileParams ¶
type DeleteFlavorProfileParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the flavor. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFlavorProfileParams contains all the parameters to send to the API endpoint
for the delete flavor profile operation. Typically these are written to a http.Request.
func NewDeleteFlavorProfileParams ¶
func NewDeleteFlavorProfileParams() *DeleteFlavorProfileParams
NewDeleteFlavorProfileParams creates a new DeleteFlavorProfileParams 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 NewDeleteFlavorProfileParamsWithContext ¶
func NewDeleteFlavorProfileParamsWithContext(ctx context.Context) *DeleteFlavorProfileParams
NewDeleteFlavorProfileParamsWithContext creates a new DeleteFlavorProfileParams object with the ability to set a context for a request.
func NewDeleteFlavorProfileParamsWithHTTPClient ¶
func NewDeleteFlavorProfileParamsWithHTTPClient(client *http.Client) *DeleteFlavorProfileParams
NewDeleteFlavorProfileParamsWithHTTPClient creates a new DeleteFlavorProfileParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteFlavorProfileParamsWithTimeout ¶
func NewDeleteFlavorProfileParamsWithTimeout(timeout time.Duration) *DeleteFlavorProfileParams
NewDeleteFlavorProfileParamsWithTimeout creates a new DeleteFlavorProfileParams object with the ability to set a timeout on a request.
func (*DeleteFlavorProfileParams) SetAPIVersion ¶
func (o *DeleteFlavorProfileParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete flavor profile params
func (*DeleteFlavorProfileParams) SetContext ¶
func (o *DeleteFlavorProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the delete flavor profile params
func (*DeleteFlavorProfileParams) SetDefaults ¶ added in v0.2.20
func (o *DeleteFlavorProfileParams) SetDefaults()
SetDefaults hydrates default values in the delete flavor profile params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteFlavorProfileParams) SetHTTPClient ¶
func (o *DeleteFlavorProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete flavor profile params
func (*DeleteFlavorProfileParams) SetID ¶
func (o *DeleteFlavorProfileParams) SetID(id string)
SetID adds the id to the delete flavor profile params
func (*DeleteFlavorProfileParams) SetTimeout ¶
func (o *DeleteFlavorProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete flavor profile params
func (*DeleteFlavorProfileParams) WithAPIVersion ¶
func (o *DeleteFlavorProfileParams) WithAPIVersion(aPIVersion *string) *DeleteFlavorProfileParams
WithAPIVersion adds the aPIVersion to the delete flavor profile params
func (*DeleteFlavorProfileParams) WithContext ¶
func (o *DeleteFlavorProfileParams) WithContext(ctx context.Context) *DeleteFlavorProfileParams
WithContext adds the context to the delete flavor profile params
func (*DeleteFlavorProfileParams) WithDefaults ¶ added in v0.2.20
func (o *DeleteFlavorProfileParams) WithDefaults() *DeleteFlavorProfileParams
WithDefaults hydrates default values in the delete flavor profile params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteFlavorProfileParams) WithHTTPClient ¶
func (o *DeleteFlavorProfileParams) WithHTTPClient(client *http.Client) *DeleteFlavorProfileParams
WithHTTPClient adds the HTTPClient to the delete flavor profile params
func (*DeleteFlavorProfileParams) WithID ¶
func (o *DeleteFlavorProfileParams) WithID(id string) *DeleteFlavorProfileParams
WithID adds the id to the delete flavor profile params
func (*DeleteFlavorProfileParams) WithTimeout ¶
func (o *DeleteFlavorProfileParams) WithTimeout(timeout time.Duration) *DeleteFlavorProfileParams
WithTimeout adds the timeout to the delete flavor profile params
func (*DeleteFlavorProfileParams) WriteToRequest ¶
func (o *DeleteFlavorProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFlavorProfileReader ¶
type DeleteFlavorProfileReader struct {
// contains filtered or unexported fields
}
DeleteFlavorProfileReader is a Reader for the DeleteFlavorProfile structure.
func (*DeleteFlavorProfileReader) ReadResponse ¶
func (o *DeleteFlavorProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFlavorProfileForbidden ¶
type GetFlavorProfileForbidden struct {
Payload *models.ServiceErrorResponse
}
GetFlavorProfileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetFlavorProfileForbidden ¶
func NewGetFlavorProfileForbidden() *GetFlavorProfileForbidden
NewGetFlavorProfileForbidden creates a GetFlavorProfileForbidden with default headers values
func (*GetFlavorProfileForbidden) Error ¶
func (o *GetFlavorProfileForbidden) Error() string
func (*GetFlavorProfileForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFlavorProfileForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetFlavorProfileForbidden) IsClientError ¶ added in v0.5.0
func (o *GetFlavorProfileForbidden) IsClientError() bool
IsClientError returns true when this get flavor profile forbidden response has a 4xx status code
func (*GetFlavorProfileForbidden) IsCode ¶ added in v0.5.0
func (o *GetFlavorProfileForbidden) IsCode(code int) bool
IsCode returns true when this get flavor profile forbidden response a status code equal to that given
func (*GetFlavorProfileForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetFlavorProfileForbidden) IsRedirect() bool
IsRedirect returns true when this get flavor profile forbidden response has a 3xx status code
func (*GetFlavorProfileForbidden) IsServerError ¶ added in v0.5.0
func (o *GetFlavorProfileForbidden) IsServerError() bool
IsServerError returns true when this get flavor profile forbidden response has a 5xx status code
func (*GetFlavorProfileForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetFlavorProfileForbidden) IsSuccess() bool
IsSuccess returns true when this get flavor profile forbidden response has a 2xx status code
func (*GetFlavorProfileForbidden) String ¶ added in v0.5.0
func (o *GetFlavorProfileForbidden) String() string
type GetFlavorProfileNotFound ¶
GetFlavorProfileNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetFlavorProfileNotFound ¶
func NewGetFlavorProfileNotFound() *GetFlavorProfileNotFound
NewGetFlavorProfileNotFound creates a GetFlavorProfileNotFound with default headers values
func (*GetFlavorProfileNotFound) Error ¶
func (o *GetFlavorProfileNotFound) Error() string
func (*GetFlavorProfileNotFound) GetPayload ¶ added in v0.2.9
func (o *GetFlavorProfileNotFound) GetPayload() *models.Error
func (*GetFlavorProfileNotFound) IsClientError ¶ added in v0.5.0
func (o *GetFlavorProfileNotFound) IsClientError() bool
IsClientError returns true when this get flavor profile not found response has a 4xx status code
func (*GetFlavorProfileNotFound) IsCode ¶ added in v0.5.0
func (o *GetFlavorProfileNotFound) IsCode(code int) bool
IsCode returns true when this get flavor profile not found response a status code equal to that given
func (*GetFlavorProfileNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetFlavorProfileNotFound) IsRedirect() bool
IsRedirect returns true when this get flavor profile not found response has a 3xx status code
func (*GetFlavorProfileNotFound) IsServerError ¶ added in v0.5.0
func (o *GetFlavorProfileNotFound) IsServerError() bool
IsServerError returns true when this get flavor profile not found response has a 5xx status code
func (*GetFlavorProfileNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetFlavorProfileNotFound) IsSuccess() bool
IsSuccess returns true when this get flavor profile not found response has a 2xx status code
func (*GetFlavorProfileNotFound) String ¶ added in v0.5.0
func (o *GetFlavorProfileNotFound) String() string
type GetFlavorProfileOK ¶
type GetFlavorProfileOK struct {
Payload *models.FlavorProfile
}
GetFlavorProfileOK describes a response with status code 200, with default header values.
successful operation
func NewGetFlavorProfileOK ¶
func NewGetFlavorProfileOK() *GetFlavorProfileOK
NewGetFlavorProfileOK creates a GetFlavorProfileOK with default headers values
func (*GetFlavorProfileOK) Error ¶
func (o *GetFlavorProfileOK) Error() string
func (*GetFlavorProfileOK) GetPayload ¶
func (o *GetFlavorProfileOK) GetPayload() *models.FlavorProfile
func (*GetFlavorProfileOK) IsClientError ¶ added in v0.5.0
func (o *GetFlavorProfileOK) IsClientError() bool
IsClientError returns true when this get flavor profile o k response has a 4xx status code
func (*GetFlavorProfileOK) IsCode ¶ added in v0.5.0
func (o *GetFlavorProfileOK) IsCode(code int) bool
IsCode returns true when this get flavor profile o k response a status code equal to that given
func (*GetFlavorProfileOK) IsRedirect ¶ added in v0.5.0
func (o *GetFlavorProfileOK) IsRedirect() bool
IsRedirect returns true when this get flavor profile o k response has a 3xx status code
func (*GetFlavorProfileOK) IsServerError ¶ added in v0.5.0
func (o *GetFlavorProfileOK) IsServerError() bool
IsServerError returns true when this get flavor profile o k response has a 5xx status code
func (*GetFlavorProfileOK) IsSuccess ¶ added in v0.5.0
func (o *GetFlavorProfileOK) IsSuccess() bool
IsSuccess returns true when this get flavor profile o k response has a 2xx status code
func (*GetFlavorProfileOK) String ¶ added in v0.5.0
func (o *GetFlavorProfileOK) String() string
type GetFlavorProfileParams ¶
type GetFlavorProfileParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the flavor. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFlavorProfileParams contains all the parameters to send to the API endpoint
for the get flavor profile operation. Typically these are written to a http.Request.
func NewGetFlavorProfileParams ¶
func NewGetFlavorProfileParams() *GetFlavorProfileParams
NewGetFlavorProfileParams creates a new GetFlavorProfileParams 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 NewGetFlavorProfileParamsWithContext ¶
func NewGetFlavorProfileParamsWithContext(ctx context.Context) *GetFlavorProfileParams
NewGetFlavorProfileParamsWithContext creates a new GetFlavorProfileParams object with the ability to set a context for a request.
func NewGetFlavorProfileParamsWithHTTPClient ¶
func NewGetFlavorProfileParamsWithHTTPClient(client *http.Client) *GetFlavorProfileParams
NewGetFlavorProfileParamsWithHTTPClient creates a new GetFlavorProfileParams object with the ability to set a custom HTTPClient for a request.
func NewGetFlavorProfileParamsWithTimeout ¶
func NewGetFlavorProfileParamsWithTimeout(timeout time.Duration) *GetFlavorProfileParams
NewGetFlavorProfileParamsWithTimeout creates a new GetFlavorProfileParams object with the ability to set a timeout on a request.
func (*GetFlavorProfileParams) SetAPIVersion ¶
func (o *GetFlavorProfileParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get flavor profile params
func (*GetFlavorProfileParams) SetContext ¶
func (o *GetFlavorProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the get flavor profile params
func (*GetFlavorProfileParams) SetDefaults ¶ added in v0.2.20
func (o *GetFlavorProfileParams) SetDefaults()
SetDefaults hydrates default values in the get flavor profile params (not the query body).
All values with no default are reset to their zero value.
func (*GetFlavorProfileParams) SetHTTPClient ¶
func (o *GetFlavorProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get flavor profile params
func (*GetFlavorProfileParams) SetID ¶
func (o *GetFlavorProfileParams) SetID(id string)
SetID adds the id to the get flavor profile params
func (*GetFlavorProfileParams) SetTimeout ¶
func (o *GetFlavorProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get flavor profile params
func (*GetFlavorProfileParams) WithAPIVersion ¶
func (o *GetFlavorProfileParams) WithAPIVersion(aPIVersion *string) *GetFlavorProfileParams
WithAPIVersion adds the aPIVersion to the get flavor profile params
func (*GetFlavorProfileParams) WithContext ¶
func (o *GetFlavorProfileParams) WithContext(ctx context.Context) *GetFlavorProfileParams
WithContext adds the context to the get flavor profile params
func (*GetFlavorProfileParams) WithDefaults ¶ added in v0.2.20
func (o *GetFlavorProfileParams) WithDefaults() *GetFlavorProfileParams
WithDefaults hydrates default values in the get flavor profile params (not the query body).
All values with no default are reset to their zero value.
func (*GetFlavorProfileParams) WithHTTPClient ¶
func (o *GetFlavorProfileParams) WithHTTPClient(client *http.Client) *GetFlavorProfileParams
WithHTTPClient adds the HTTPClient to the get flavor profile params
func (*GetFlavorProfileParams) WithID ¶
func (o *GetFlavorProfileParams) WithID(id string) *GetFlavorProfileParams
WithID adds the id to the get flavor profile params
func (*GetFlavorProfileParams) WithTimeout ¶
func (o *GetFlavorProfileParams) WithTimeout(timeout time.Duration) *GetFlavorProfileParams
WithTimeout adds the timeout to the get flavor profile params
func (*GetFlavorProfileParams) WriteToRequest ¶
func (o *GetFlavorProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFlavorProfileReader ¶
type GetFlavorProfileReader struct {
// contains filtered or unexported fields
}
GetFlavorProfileReader is a Reader for the GetFlavorProfile structure.
func (*GetFlavorProfileReader) ReadResponse ¶
func (o *GetFlavorProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFlavorProfilesForbidden ¶
type GetFlavorProfilesForbidden struct {
Payload *models.ServiceErrorResponse
}
GetFlavorProfilesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetFlavorProfilesForbidden ¶
func NewGetFlavorProfilesForbidden() *GetFlavorProfilesForbidden
NewGetFlavorProfilesForbidden creates a GetFlavorProfilesForbidden with default headers values
func (*GetFlavorProfilesForbidden) Error ¶
func (o *GetFlavorProfilesForbidden) Error() string
func (*GetFlavorProfilesForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFlavorProfilesForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetFlavorProfilesForbidden) IsClientError ¶ added in v0.5.0
func (o *GetFlavorProfilesForbidden) IsClientError() bool
IsClientError returns true when this get flavor profiles forbidden response has a 4xx status code
func (*GetFlavorProfilesForbidden) IsCode ¶ added in v0.5.0
func (o *GetFlavorProfilesForbidden) IsCode(code int) bool
IsCode returns true when this get flavor profiles forbidden response a status code equal to that given
func (*GetFlavorProfilesForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetFlavorProfilesForbidden) IsRedirect() bool
IsRedirect returns true when this get flavor profiles forbidden response has a 3xx status code
func (*GetFlavorProfilesForbidden) IsServerError ¶ added in v0.5.0
func (o *GetFlavorProfilesForbidden) IsServerError() bool
IsServerError returns true when this get flavor profiles forbidden response has a 5xx status code
func (*GetFlavorProfilesForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetFlavorProfilesForbidden) IsSuccess() bool
IsSuccess returns true when this get flavor profiles forbidden response has a 2xx status code
func (*GetFlavorProfilesForbidden) String ¶ added in v0.5.0
func (o *GetFlavorProfilesForbidden) String() string
type GetFlavorProfilesOK ¶
type GetFlavorProfilesOK struct {
Payload *models.FlavorProfileResult
}
GetFlavorProfilesOK describes a response with status code 200, with default header values.
successful operation
func NewGetFlavorProfilesOK ¶
func NewGetFlavorProfilesOK() *GetFlavorProfilesOK
NewGetFlavorProfilesOK creates a GetFlavorProfilesOK with default headers values
func (*GetFlavorProfilesOK) Error ¶
func (o *GetFlavorProfilesOK) Error() string
func (*GetFlavorProfilesOK) GetPayload ¶
func (o *GetFlavorProfilesOK) GetPayload() *models.FlavorProfileResult
func (*GetFlavorProfilesOK) IsClientError ¶ added in v0.5.0
func (o *GetFlavorProfilesOK) IsClientError() bool
IsClientError returns true when this get flavor profiles o k response has a 4xx status code
func (*GetFlavorProfilesOK) IsCode ¶ added in v0.5.0
func (o *GetFlavorProfilesOK) IsCode(code int) bool
IsCode returns true when this get flavor profiles o k response a status code equal to that given
func (*GetFlavorProfilesOK) IsRedirect ¶ added in v0.5.0
func (o *GetFlavorProfilesOK) IsRedirect() bool
IsRedirect returns true when this get flavor profiles o k response has a 3xx status code
func (*GetFlavorProfilesOK) IsServerError ¶ added in v0.5.0
func (o *GetFlavorProfilesOK) IsServerError() bool
IsServerError returns true when this get flavor profiles o k response has a 5xx status code
func (*GetFlavorProfilesOK) IsSuccess ¶ added in v0.5.0
func (o *GetFlavorProfilesOK) IsSuccess() bool
IsSuccess returns true when this get flavor profiles o k response has a 2xx status code
func (*GetFlavorProfilesOK) String ¶ added in v0.5.0
func (o *GetFlavorProfilesOK) String() string
type GetFlavorProfilesParams ¶
type GetFlavorProfilesParams struct { /* DollarFilter. Add a filter to return limited results */ DollarFilter *string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFlavorProfilesParams contains all the parameters to send to the API endpoint
for the get flavor profiles operation. Typically these are written to a http.Request.
func NewGetFlavorProfilesParams ¶
func NewGetFlavorProfilesParams() *GetFlavorProfilesParams
NewGetFlavorProfilesParams creates a new GetFlavorProfilesParams 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 NewGetFlavorProfilesParamsWithContext ¶
func NewGetFlavorProfilesParamsWithContext(ctx context.Context) *GetFlavorProfilesParams
NewGetFlavorProfilesParamsWithContext creates a new GetFlavorProfilesParams object with the ability to set a context for a request.
func NewGetFlavorProfilesParamsWithHTTPClient ¶
func NewGetFlavorProfilesParamsWithHTTPClient(client *http.Client) *GetFlavorProfilesParams
NewGetFlavorProfilesParamsWithHTTPClient creates a new GetFlavorProfilesParams object with the ability to set a custom HTTPClient for a request.
func NewGetFlavorProfilesParamsWithTimeout ¶
func NewGetFlavorProfilesParamsWithTimeout(timeout time.Duration) *GetFlavorProfilesParams
NewGetFlavorProfilesParamsWithTimeout creates a new GetFlavorProfilesParams object with the ability to set a timeout on a request.
func (*GetFlavorProfilesParams) SetAPIVersion ¶
func (o *GetFlavorProfilesParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get flavor profiles params
func (*GetFlavorProfilesParams) SetContext ¶
func (o *GetFlavorProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the get flavor profiles params
func (*GetFlavorProfilesParams) SetDefaults ¶ added in v0.2.20
func (o *GetFlavorProfilesParams) SetDefaults()
SetDefaults hydrates default values in the get flavor profiles params (not the query body).
All values with no default are reset to their zero value.
func (*GetFlavorProfilesParams) SetDollarFilter ¶ added in v0.2.11
func (o *GetFlavorProfilesParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get flavor profiles params
func (*GetFlavorProfilesParams) SetHTTPClient ¶
func (o *GetFlavorProfilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get flavor profiles params
func (*GetFlavorProfilesParams) SetTimeout ¶
func (o *GetFlavorProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get flavor profiles params
func (*GetFlavorProfilesParams) WithAPIVersion ¶
func (o *GetFlavorProfilesParams) WithAPIVersion(aPIVersion *string) *GetFlavorProfilesParams
WithAPIVersion adds the aPIVersion to the get flavor profiles params
func (*GetFlavorProfilesParams) WithContext ¶
func (o *GetFlavorProfilesParams) WithContext(ctx context.Context) *GetFlavorProfilesParams
WithContext adds the context to the get flavor profiles params
func (*GetFlavorProfilesParams) WithDefaults ¶ added in v0.2.20
func (o *GetFlavorProfilesParams) WithDefaults() *GetFlavorProfilesParams
WithDefaults hydrates default values in the get flavor profiles params (not the query body).
All values with no default are reset to their zero value.
func (*GetFlavorProfilesParams) WithDollarFilter ¶ added in v0.2.11
func (o *GetFlavorProfilesParams) WithDollarFilter(dollarFilter *string) *GetFlavorProfilesParams
WithDollarFilter adds the dollarFilter to the get flavor profiles params
func (*GetFlavorProfilesParams) WithHTTPClient ¶
func (o *GetFlavorProfilesParams) WithHTTPClient(client *http.Client) *GetFlavorProfilesParams
WithHTTPClient adds the HTTPClient to the get flavor profiles params
func (*GetFlavorProfilesParams) WithTimeout ¶
func (o *GetFlavorProfilesParams) WithTimeout(timeout time.Duration) *GetFlavorProfilesParams
WithTimeout adds the timeout to the get flavor profiles params
func (*GetFlavorProfilesParams) WriteToRequest ¶
func (o *GetFlavorProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFlavorProfilesReader ¶
type GetFlavorProfilesReader struct {
// contains filtered or unexported fields
}
GetFlavorProfilesReader is a Reader for the GetFlavorProfiles structure.
func (*GetFlavorProfilesReader) ReadResponse ¶
func (o *GetFlavorProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateFlavorProfileForbidden ¶
type UpdateFlavorProfileForbidden struct {
Payload *models.ServiceErrorResponse
}
UpdateFlavorProfileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateFlavorProfileForbidden ¶
func NewUpdateFlavorProfileForbidden() *UpdateFlavorProfileForbidden
NewUpdateFlavorProfileForbidden creates a UpdateFlavorProfileForbidden with default headers values
func (*UpdateFlavorProfileForbidden) Error ¶
func (o *UpdateFlavorProfileForbidden) Error() string
func (*UpdateFlavorProfileForbidden) GetPayload ¶ added in v0.2.20
func (o *UpdateFlavorProfileForbidden) GetPayload() *models.ServiceErrorResponse
func (*UpdateFlavorProfileForbidden) IsClientError ¶ added in v0.5.0
func (o *UpdateFlavorProfileForbidden) IsClientError() bool
IsClientError returns true when this update flavor profile forbidden response has a 4xx status code
func (*UpdateFlavorProfileForbidden) IsCode ¶ added in v0.5.0
func (o *UpdateFlavorProfileForbidden) IsCode(code int) bool
IsCode returns true when this update flavor profile forbidden response a status code equal to that given
func (*UpdateFlavorProfileForbidden) IsRedirect ¶ added in v0.5.0
func (o *UpdateFlavorProfileForbidden) IsRedirect() bool
IsRedirect returns true when this update flavor profile forbidden response has a 3xx status code
func (*UpdateFlavorProfileForbidden) IsServerError ¶ added in v0.5.0
func (o *UpdateFlavorProfileForbidden) IsServerError() bool
IsServerError returns true when this update flavor profile forbidden response has a 5xx status code
func (*UpdateFlavorProfileForbidden) IsSuccess ¶ added in v0.5.0
func (o *UpdateFlavorProfileForbidden) IsSuccess() bool
IsSuccess returns true when this update flavor profile forbidden response has a 2xx status code
func (*UpdateFlavorProfileForbidden) String ¶ added in v0.5.0
func (o *UpdateFlavorProfileForbidden) String() string
type UpdateFlavorProfileNotFound ¶
UpdateFlavorProfileNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateFlavorProfileNotFound ¶
func NewUpdateFlavorProfileNotFound() *UpdateFlavorProfileNotFound
NewUpdateFlavorProfileNotFound creates a UpdateFlavorProfileNotFound with default headers values
func (*UpdateFlavorProfileNotFound) Error ¶
func (o *UpdateFlavorProfileNotFound) Error() string
func (*UpdateFlavorProfileNotFound) GetPayload ¶ added in v0.2.9
func (o *UpdateFlavorProfileNotFound) GetPayload() *models.Error
func (*UpdateFlavorProfileNotFound) IsClientError ¶ added in v0.5.0
func (o *UpdateFlavorProfileNotFound) IsClientError() bool
IsClientError returns true when this update flavor profile not found response has a 4xx status code
func (*UpdateFlavorProfileNotFound) IsCode ¶ added in v0.5.0
func (o *UpdateFlavorProfileNotFound) IsCode(code int) bool
IsCode returns true when this update flavor profile not found response a status code equal to that given
func (*UpdateFlavorProfileNotFound) IsRedirect ¶ added in v0.5.0
func (o *UpdateFlavorProfileNotFound) IsRedirect() bool
IsRedirect returns true when this update flavor profile not found response has a 3xx status code
func (*UpdateFlavorProfileNotFound) IsServerError ¶ added in v0.5.0
func (o *UpdateFlavorProfileNotFound) IsServerError() bool
IsServerError returns true when this update flavor profile not found response has a 5xx status code
func (*UpdateFlavorProfileNotFound) IsSuccess ¶ added in v0.5.0
func (o *UpdateFlavorProfileNotFound) IsSuccess() bool
IsSuccess returns true when this update flavor profile not found response has a 2xx status code
func (*UpdateFlavorProfileNotFound) String ¶ added in v0.5.0
func (o *UpdateFlavorProfileNotFound) String() string
type UpdateFlavorProfileOK ¶
type UpdateFlavorProfileOK struct {
Payload *models.FlavorProfile
}
UpdateFlavorProfileOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateFlavorProfileOK ¶
func NewUpdateFlavorProfileOK() *UpdateFlavorProfileOK
NewUpdateFlavorProfileOK creates a UpdateFlavorProfileOK with default headers values
func (*UpdateFlavorProfileOK) Error ¶
func (o *UpdateFlavorProfileOK) Error() string
func (*UpdateFlavorProfileOK) GetPayload ¶
func (o *UpdateFlavorProfileOK) GetPayload() *models.FlavorProfile
func (*UpdateFlavorProfileOK) IsClientError ¶ added in v0.5.0
func (o *UpdateFlavorProfileOK) IsClientError() bool
IsClientError returns true when this update flavor profile o k response has a 4xx status code
func (*UpdateFlavorProfileOK) IsCode ¶ added in v0.5.0
func (o *UpdateFlavorProfileOK) IsCode(code int) bool
IsCode returns true when this update flavor profile o k response a status code equal to that given
func (*UpdateFlavorProfileOK) IsRedirect ¶ added in v0.5.0
func (o *UpdateFlavorProfileOK) IsRedirect() bool
IsRedirect returns true when this update flavor profile o k response has a 3xx status code
func (*UpdateFlavorProfileOK) IsServerError ¶ added in v0.5.0
func (o *UpdateFlavorProfileOK) IsServerError() bool
IsServerError returns true when this update flavor profile o k response has a 5xx status code
func (*UpdateFlavorProfileOK) IsSuccess ¶ added in v0.5.0
func (o *UpdateFlavorProfileOK) IsSuccess() bool
IsSuccess returns true when this update flavor profile o k response has a 2xx status code
func (*UpdateFlavorProfileOK) String ¶ added in v0.5.0
func (o *UpdateFlavorProfileOK) String() string
type UpdateFlavorProfileParams ¶
type UpdateFlavorProfileParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* Body. FlavorProfile instance */ Body *models.UpdateFlavorProfileSpecification /* ID. The ID of the flavor. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateFlavorProfileParams contains all the parameters to send to the API endpoint
for the update flavor profile operation. Typically these are written to a http.Request.
func NewUpdateFlavorProfileParams ¶
func NewUpdateFlavorProfileParams() *UpdateFlavorProfileParams
NewUpdateFlavorProfileParams creates a new UpdateFlavorProfileParams 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 NewUpdateFlavorProfileParamsWithContext ¶
func NewUpdateFlavorProfileParamsWithContext(ctx context.Context) *UpdateFlavorProfileParams
NewUpdateFlavorProfileParamsWithContext creates a new UpdateFlavorProfileParams object with the ability to set a context for a request.
func NewUpdateFlavorProfileParamsWithHTTPClient ¶
func NewUpdateFlavorProfileParamsWithHTTPClient(client *http.Client) *UpdateFlavorProfileParams
NewUpdateFlavorProfileParamsWithHTTPClient creates a new UpdateFlavorProfileParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateFlavorProfileParamsWithTimeout ¶
func NewUpdateFlavorProfileParamsWithTimeout(timeout time.Duration) *UpdateFlavorProfileParams
NewUpdateFlavorProfileParamsWithTimeout creates a new UpdateFlavorProfileParams object with the ability to set a timeout on a request.
func (*UpdateFlavorProfileParams) SetAPIVersion ¶
func (o *UpdateFlavorProfileParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update flavor profile params
func (*UpdateFlavorProfileParams) SetBody ¶
func (o *UpdateFlavorProfileParams) SetBody(body *models.UpdateFlavorProfileSpecification)
SetBody adds the body to the update flavor profile params
func (*UpdateFlavorProfileParams) SetContext ¶
func (o *UpdateFlavorProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the update flavor profile params
func (*UpdateFlavorProfileParams) SetDefaults ¶ added in v0.2.20
func (o *UpdateFlavorProfileParams) SetDefaults()
SetDefaults hydrates default values in the update flavor profile params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFlavorProfileParams) SetHTTPClient ¶
func (o *UpdateFlavorProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update flavor profile params
func (*UpdateFlavorProfileParams) SetID ¶
func (o *UpdateFlavorProfileParams) SetID(id string)
SetID adds the id to the update flavor profile params
func (*UpdateFlavorProfileParams) SetTimeout ¶
func (o *UpdateFlavorProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update flavor profile params
func (*UpdateFlavorProfileParams) WithAPIVersion ¶
func (o *UpdateFlavorProfileParams) WithAPIVersion(aPIVersion *string) *UpdateFlavorProfileParams
WithAPIVersion adds the aPIVersion to the update flavor profile params
func (*UpdateFlavorProfileParams) WithBody ¶
func (o *UpdateFlavorProfileParams) WithBody(body *models.UpdateFlavorProfileSpecification) *UpdateFlavorProfileParams
WithBody adds the body to the update flavor profile params
func (*UpdateFlavorProfileParams) WithContext ¶
func (o *UpdateFlavorProfileParams) WithContext(ctx context.Context) *UpdateFlavorProfileParams
WithContext adds the context to the update flavor profile params
func (*UpdateFlavorProfileParams) WithDefaults ¶ added in v0.2.20
func (o *UpdateFlavorProfileParams) WithDefaults() *UpdateFlavorProfileParams
WithDefaults hydrates default values in the update flavor profile params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFlavorProfileParams) WithHTTPClient ¶
func (o *UpdateFlavorProfileParams) WithHTTPClient(client *http.Client) *UpdateFlavorProfileParams
WithHTTPClient adds the HTTPClient to the update flavor profile params
func (*UpdateFlavorProfileParams) WithID ¶
func (o *UpdateFlavorProfileParams) WithID(id string) *UpdateFlavorProfileParams
WithID adds the id to the update flavor profile params
func (*UpdateFlavorProfileParams) WithTimeout ¶
func (o *UpdateFlavorProfileParams) WithTimeout(timeout time.Duration) *UpdateFlavorProfileParams
WithTimeout adds the timeout to the update flavor profile params
func (*UpdateFlavorProfileParams) WriteToRequest ¶
func (o *UpdateFlavorProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateFlavorProfileReader ¶
type UpdateFlavorProfileReader struct {
// contains filtered or unexported fields
}
UpdateFlavorProfileReader is a Reader for the UpdateFlavorProfile structure.
func (*UpdateFlavorProfileReader) ReadResponse ¶
func (o *UpdateFlavorProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_flavor_profile_parameters.go
- create_flavor_profile_responses.go
- delete_flavor_profile_parameters.go
- delete_flavor_profile_responses.go
- flavor_profile_client.go
- get_flavor_profile_parameters.go
- get_flavor_profile_responses.go
- get_flavor_profiles_parameters.go
- get_flavor_profiles_responses.go
- update_flavor_profile_parameters.go
- update_flavor_profile_responses.go