fabric_flavors

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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 fabric flavors API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new fabric flavors API client.

func (*Client) GetFabricFlavors

func (a *Client) GetFabricFlavors(params *GetFabricFlavorsParams) (*GetFabricFlavorsOK, error)

GetFabricFlavors gets fabric flavors

Get all fabric flavors

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetFabricFlavorsForbidden

type GetFabricFlavorsForbidden struct {
}

GetFabricFlavorsForbidden handles this case with default header values.

Forbidden

func NewGetFabricFlavorsForbidden

func NewGetFabricFlavorsForbidden() *GetFabricFlavorsForbidden

NewGetFabricFlavorsForbidden creates a GetFabricFlavorsForbidden with default headers values

func (*GetFabricFlavorsForbidden) Error

func (o *GetFabricFlavorsForbidden) Error() string

type GetFabricFlavorsOK

type GetFabricFlavorsOK struct {
	Payload *models.FabricFlavorResult
}

GetFabricFlavorsOK handles this case with default header values.

successful operation

func NewGetFabricFlavorsOK

func NewGetFabricFlavorsOK() *GetFabricFlavorsOK

NewGetFabricFlavorsOK creates a GetFabricFlavorsOK with default headers values

func (*GetFabricFlavorsOK) Error

func (o *GetFabricFlavorsOK) Error() string

func (*GetFabricFlavorsOK) GetPayload

func (o *GetFabricFlavorsOK) GetPayload() *models.FabricFlavorResult

type GetFabricFlavorsParams

type GetFabricFlavorsParams 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
}

GetFabricFlavorsParams contains all the parameters to send to the API endpoint for the get fabric flavors operation typically these are written to a http.Request

func NewGetFabricFlavorsParams

func NewGetFabricFlavorsParams() *GetFabricFlavorsParams

NewGetFabricFlavorsParams creates a new GetFabricFlavorsParams object with the default values initialized.

func NewGetFabricFlavorsParamsWithContext

func NewGetFabricFlavorsParamsWithContext(ctx context.Context) *GetFabricFlavorsParams

NewGetFabricFlavorsParamsWithContext creates a new GetFabricFlavorsParams object with the default values initialized, and the ability to set a context for a request

func NewGetFabricFlavorsParamsWithHTTPClient

func NewGetFabricFlavorsParamsWithHTTPClient(client *http.Client) *GetFabricFlavorsParams

NewGetFabricFlavorsParamsWithHTTPClient creates a new GetFabricFlavorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetFabricFlavorsParamsWithTimeout

func NewGetFabricFlavorsParamsWithTimeout(timeout time.Duration) *GetFabricFlavorsParams

NewGetFabricFlavorsParamsWithTimeout creates a new GetFabricFlavorsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetFabricFlavorsParams) SetAPIVersion

func (o *GetFabricFlavorsParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get fabric flavors params

func (*GetFabricFlavorsParams) SetContext

func (o *GetFabricFlavorsParams) SetContext(ctx context.Context)

SetContext adds the context to the get fabric flavors params

func (*GetFabricFlavorsParams) SetHTTPClient

func (o *GetFabricFlavorsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get fabric flavors params

func (*GetFabricFlavorsParams) SetTimeout

func (o *GetFabricFlavorsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get fabric flavors params

func (*GetFabricFlavorsParams) WithAPIVersion

func (o *GetFabricFlavorsParams) WithAPIVersion(aPIVersion *string) *GetFabricFlavorsParams

WithAPIVersion adds the aPIVersion to the get fabric flavors params

func (*GetFabricFlavorsParams) WithContext

WithContext adds the context to the get fabric flavors params

func (*GetFabricFlavorsParams) WithHTTPClient

func (o *GetFabricFlavorsParams) WithHTTPClient(client *http.Client) *GetFabricFlavorsParams

WithHTTPClient adds the HTTPClient to the get fabric flavors params

func (*GetFabricFlavorsParams) WithTimeout

WithTimeout adds the timeout to the get fabric flavors params

func (*GetFabricFlavorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricFlavorsReader

type GetFabricFlavorsReader struct {
	// contains filtered or unexported fields
}

GetFabricFlavorsReader is a Reader for the GetFabricFlavors structure.

func (*GetFabricFlavorsReader) ReadResponse

func (o *GetFabricFlavorsReader) 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