flavor_profile

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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

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 (*CreateFlavorProfileCreated) GetPayload

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

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

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

WithBody adds the body to the create flavor profile params

func (*CreateFlavorProfileParams) WithContext

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

WithTimeout adds the timeout to the create flavor profile params

func (*CreateFlavorProfileParams) WriteToRequest

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

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

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

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

WithID adds the id to the delete flavor profile params

func (*DeleteFlavorProfileParams) WithTimeout

WithTimeout adds the timeout to the delete flavor profile params

func (*DeleteFlavorProfileParams) WriteToRequest

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

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

WithID adds the id to the get flavor profile params

func (*GetFlavorProfileParams) WithTimeout

WithTimeout adds the timeout to the get flavor profile params

func (*GetFlavorProfileParams) WriteToRequest

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

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

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

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

WithTimeout adds the timeout to the get flavor profiles params

func (*GetFlavorProfilesParams) WriteToRequest

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

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

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

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

WithBody adds the body to the update flavor profile params

func (*UpdateFlavorProfileParams) WithContext

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

WithID adds the id to the update flavor profile params

func (*UpdateFlavorProfileParams) WithTimeout

WithTimeout adds the timeout to the update flavor profile params

func (*UpdateFlavorProfileParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL