Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateFlavorProfile(params *CreateFlavorProfileParams) (*CreateFlavorProfileCreated, error)
- func (a *Client) DeleteFlavorProfile(params *DeleteFlavorProfileParams) (*DeleteFlavorProfileNoContent, error)
- func (a *Client) GetFlavorProfile(params *GetFlavorProfileParams) (*GetFlavorProfileOK, error)
- func (a *Client) GetFlavorProfiles(params *GetFlavorProfilesParams) (*GetFlavorProfilesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFlavorProfile(params *UpdateFlavorProfileParams) (*UpdateFlavorProfileOK, error)
- type CreateFlavorProfileBadRequest
- type CreateFlavorProfileCreated
- type CreateFlavorProfileForbidden
- 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) 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) 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
- type DeleteFlavorProfileNoContent
- 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) 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) 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
- type GetFlavorProfileNotFound
- type GetFlavorProfileOK
- 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) 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) 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
- type GetFlavorProfilesOK
- 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) 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) 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
- type UpdateFlavorProfileNotFound
- type UpdateFlavorProfileOK
- 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.FlavorProfileSpecification)
- func (o *UpdateFlavorProfileParams) SetContext(ctx context.Context)
- 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.FlavorProfileSpecification) *UpdateFlavorProfileParams
- func (o *UpdateFlavorProfileParams) WithContext(ctx context.Context) *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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new flavor profile API client.
func (*Client) CreateFlavorProfile ¶
func (a *Client) CreateFlavorProfile(params *CreateFlavorProfileParams) (*CreateFlavorProfileCreated, error)
CreateFlavorProfile creates flavor profile
Create flavor profile
func (*Client) DeleteFlavorProfile ¶
func (a *Client) DeleteFlavorProfile(params *DeleteFlavorProfileParams) (*DeleteFlavorProfileNoContent, error)
DeleteFlavorProfile deletes flavor profile
Delete flavor profile with a given id
func (*Client) GetFlavorProfile ¶
func (a *Client) GetFlavorProfile(params *GetFlavorProfileParams) (*GetFlavorProfileOK, error)
GetFlavorProfile gets flavor profile
Get flavor profile with a given id
func (*Client) GetFlavorProfiles ¶
func (a *Client) GetFlavorProfiles(params *GetFlavorProfilesParams) (*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) (*UpdateFlavorProfileOK, error)
UpdateFlavorProfile updates flavor profile
Update flavor profile
type CreateFlavorProfileBadRequest ¶
type CreateFlavorProfileBadRequest struct { }
CreateFlavorProfileBadRequest handles this case 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
type CreateFlavorProfileCreated ¶
type CreateFlavorProfileCreated struct {
Payload *models.FlavorProfile
}
CreateFlavorProfileCreated handles this case 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
type CreateFlavorProfileForbidden ¶
type CreateFlavorProfileForbidden struct { }
CreateFlavorProfileForbidden handles this case 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
type CreateFlavorProfileParams ¶
type CreateFlavorProfileParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewCreateFlavorProfileParamsWithContext ¶
func NewCreateFlavorProfileParamsWithContext(ctx context.Context) *CreateFlavorProfileParams
NewCreateFlavorProfileParamsWithContext creates a new CreateFlavorProfileParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
DeleteFlavorProfileForbidden handles this case 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
type DeleteFlavorProfileNoContent ¶
type DeleteFlavorProfileNoContent struct { }
DeleteFlavorProfileNoContent handles this case 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
type DeleteFlavorProfileParams ¶
type DeleteFlavorProfileParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewDeleteFlavorProfileParamsWithContext ¶
func NewDeleteFlavorProfileParamsWithContext(ctx context.Context) *DeleteFlavorProfileParams
NewDeleteFlavorProfileParamsWithContext creates a new DeleteFlavorProfileParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetFlavorProfileForbidden handles this case 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
type GetFlavorProfileNotFound ¶
type GetFlavorProfileNotFound struct { }
GetFlavorProfileNotFound handles this case 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
type GetFlavorProfileOK ¶
type GetFlavorProfileOK struct {
Payload *models.FlavorProfile
}
GetFlavorProfileOK handles this case 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
type GetFlavorProfileParams ¶
type GetFlavorProfileParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewGetFlavorProfileParamsWithContext ¶
func NewGetFlavorProfileParamsWithContext(ctx context.Context) *GetFlavorProfileParams
NewGetFlavorProfileParamsWithContext creates a new GetFlavorProfileParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetFlavorProfilesForbidden handles this case 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
type GetFlavorProfilesOK ¶
type GetFlavorProfilesOK struct {
Payload *models.FlavorProfileResult
}
GetFlavorProfilesOK handles this case 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
type GetFlavorProfilesParams ¶
type GetFlavorProfilesParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewGetFlavorProfilesParamsWithContext ¶
func NewGetFlavorProfilesParamsWithContext(ctx context.Context) *GetFlavorProfilesParams
NewGetFlavorProfilesParamsWithContext creates a new GetFlavorProfilesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
UpdateFlavorProfileForbidden handles this case 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
type UpdateFlavorProfileNotFound ¶
type UpdateFlavorProfileNotFound struct { }
UpdateFlavorProfileNotFound handles this case 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
type UpdateFlavorProfileOK ¶
type UpdateFlavorProfileOK struct {
Payload *models.FlavorProfile
}
UpdateFlavorProfileOK handles this case 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
type UpdateFlavorProfileParams ¶
type UpdateFlavorProfileParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body FlavorProfile instance */ Body *models.FlavorProfileSpecification /*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 values initialized.
func NewUpdateFlavorProfileParamsWithContext ¶
func NewUpdateFlavorProfileParamsWithContext(ctx context.Context) *UpdateFlavorProfileParams
NewUpdateFlavorProfileParamsWithContext creates a new UpdateFlavorProfileParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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.FlavorProfileSpecification)
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) 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.FlavorProfileSpecification) *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) 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