fabric_network

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 11 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 fabric network API

func (*Client) GetFabricNetwork

func (a *Client) GetFabricNetwork(params *GetFabricNetworkParams, opts ...ClientOption) (*GetFabricNetworkOK, error)

GetFabricNetwork gets fabric network

Get fabric network with a given id

func (*Client) GetFabricNetworks

func (a *Client) GetFabricNetworks(params *GetFabricNetworksParams, opts ...ClientOption) (*GetFabricNetworksOK, error)

GetFabricNetworks gets fabric networks

Get all fabric networks.

func (*Client) GetVsphereFabricNetwork added in v0.2.8

func (a *Client) GetVsphereFabricNetwork(params *GetVsphereFabricNetworkParams, opts ...ClientOption) (*GetVsphereFabricNetworkOK, error)

GetVsphereFabricNetwork gets v sphere fabric network

Get vSphere fabric network with a given id

func (*Client) GetVsphereFabricNetworks added in v0.2.8

func (a *Client) GetVsphereFabricNetworks(params *GetVsphereFabricNetworksParams, opts ...ClientOption) (*GetVsphereFabricNetworksOK, error)

GetVsphereFabricNetworks gets v sphere fabric networks

Get all vSphere fabric networks.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateFabricNetwork

func (a *Client) UpdateFabricNetwork(params *UpdateFabricNetworkParams, opts ...ClientOption) (*UpdateFabricNetworkOK, error)

UpdateFabricNetwork updates fabric network

Update fabric network. Only tag updates are supported.

func (*Client) UpdatevSphereFabricNetwork added in v0.2.8

func (a *Client) UpdatevSphereFabricNetwork(params *UpdatevSphereFabricNetworkParams, opts ...ClientOption) (*UpdatevSphereFabricNetworkOK, error)

UpdatevSphereFabricNetwork updates v sphere fabric network

Update vSphere fabric network.

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 {
	GetFabricNetwork(params *GetFabricNetworkParams, opts ...ClientOption) (*GetFabricNetworkOK, error)

	GetFabricNetworks(params *GetFabricNetworksParams, opts ...ClientOption) (*GetFabricNetworksOK, error)

	GetVsphereFabricNetwork(params *GetVsphereFabricNetworkParams, opts ...ClientOption) (*GetVsphereFabricNetworkOK, error)

	GetVsphereFabricNetworks(params *GetVsphereFabricNetworksParams, opts ...ClientOption) (*GetVsphereFabricNetworksOK, error)

	UpdateFabricNetwork(params *UpdateFabricNetworkParams, opts ...ClientOption) (*UpdateFabricNetworkOK, error)

	UpdatevSphereFabricNetwork(params *UpdatevSphereFabricNetworkParams, opts ...ClientOption) (*UpdatevSphereFabricNetworkOK, 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 fabric network API client.

type GetFabricNetworkForbidden

type GetFabricNetworkForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetFabricNetworkForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFabricNetworkForbidden

func NewGetFabricNetworkForbidden() *GetFabricNetworkForbidden

NewGetFabricNetworkForbidden creates a GetFabricNetworkForbidden with default headers values

func (*GetFabricNetworkForbidden) Error

func (o *GetFabricNetworkForbidden) Error() string

func (*GetFabricNetworkForbidden) GetPayload added in v0.2.20

func (*GetFabricNetworkForbidden) IsClientError added in v0.5.0

func (o *GetFabricNetworkForbidden) IsClientError() bool

IsClientError returns true when this get fabric network forbidden response has a 4xx status code

func (*GetFabricNetworkForbidden) IsCode added in v0.5.0

func (o *GetFabricNetworkForbidden) IsCode(code int) bool

IsCode returns true when this get fabric network forbidden response a status code equal to that given

func (*GetFabricNetworkForbidden) IsRedirect added in v0.5.0

func (o *GetFabricNetworkForbidden) IsRedirect() bool

IsRedirect returns true when this get fabric network forbidden response has a 3xx status code

func (*GetFabricNetworkForbidden) IsServerError added in v0.5.0

func (o *GetFabricNetworkForbidden) IsServerError() bool

IsServerError returns true when this get fabric network forbidden response has a 5xx status code

func (*GetFabricNetworkForbidden) IsSuccess added in v0.5.0

func (o *GetFabricNetworkForbidden) IsSuccess() bool

IsSuccess returns true when this get fabric network forbidden response has a 2xx status code

func (*GetFabricNetworkForbidden) String added in v0.5.0

func (o *GetFabricNetworkForbidden) String() string

type GetFabricNetworkNotFound

type GetFabricNetworkNotFound struct {
	Payload *models.Error
}

GetFabricNetworkNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetFabricNetworkNotFound

func NewGetFabricNetworkNotFound() *GetFabricNetworkNotFound

NewGetFabricNetworkNotFound creates a GetFabricNetworkNotFound with default headers values

func (*GetFabricNetworkNotFound) Error

func (o *GetFabricNetworkNotFound) Error() string

func (*GetFabricNetworkNotFound) GetPayload added in v0.2.9

func (o *GetFabricNetworkNotFound) GetPayload() *models.Error

func (*GetFabricNetworkNotFound) IsClientError added in v0.5.0

func (o *GetFabricNetworkNotFound) IsClientError() bool

IsClientError returns true when this get fabric network not found response has a 4xx status code

func (*GetFabricNetworkNotFound) IsCode added in v0.5.0

func (o *GetFabricNetworkNotFound) IsCode(code int) bool

IsCode returns true when this get fabric network not found response a status code equal to that given

func (*GetFabricNetworkNotFound) IsRedirect added in v0.5.0

func (o *GetFabricNetworkNotFound) IsRedirect() bool

IsRedirect returns true when this get fabric network not found response has a 3xx status code

func (*GetFabricNetworkNotFound) IsServerError added in v0.5.0

func (o *GetFabricNetworkNotFound) IsServerError() bool

IsServerError returns true when this get fabric network not found response has a 5xx status code

func (*GetFabricNetworkNotFound) IsSuccess added in v0.5.0

func (o *GetFabricNetworkNotFound) IsSuccess() bool

IsSuccess returns true when this get fabric network not found response has a 2xx status code

func (*GetFabricNetworkNotFound) String added in v0.5.0

func (o *GetFabricNetworkNotFound) String() string

type GetFabricNetworkOK

type GetFabricNetworkOK struct {
	Payload *models.FabricNetwork
}

GetFabricNetworkOK describes a response with status code 200, with default header values.

successful operation

func NewGetFabricNetworkOK

func NewGetFabricNetworkOK() *GetFabricNetworkOK

NewGetFabricNetworkOK creates a GetFabricNetworkOK with default headers values

func (*GetFabricNetworkOK) Error

func (o *GetFabricNetworkOK) Error() string

func (*GetFabricNetworkOK) GetPayload

func (o *GetFabricNetworkOK) GetPayload() *models.FabricNetwork

func (*GetFabricNetworkOK) IsClientError added in v0.5.0

func (o *GetFabricNetworkOK) IsClientError() bool

IsClientError returns true when this get fabric network o k response has a 4xx status code

func (*GetFabricNetworkOK) IsCode added in v0.5.0

func (o *GetFabricNetworkOK) IsCode(code int) bool

IsCode returns true when this get fabric network o k response a status code equal to that given

func (*GetFabricNetworkOK) IsRedirect added in v0.5.0

func (o *GetFabricNetworkOK) IsRedirect() bool

IsRedirect returns true when this get fabric network o k response has a 3xx status code

func (*GetFabricNetworkOK) IsServerError added in v0.5.0

func (o *GetFabricNetworkOK) IsServerError() bool

IsServerError returns true when this get fabric network o k response has a 5xx status code

func (*GetFabricNetworkOK) IsSuccess added in v0.5.0

func (o *GetFabricNetworkOK) IsSuccess() bool

IsSuccess returns true when this get fabric network o k response has a 2xx status code

func (*GetFabricNetworkOK) String added in v0.5.0

func (o *GetFabricNetworkOK) String() string

type GetFabricNetworkParams

type GetFabricNetworkParams struct {

	/* DollarSelect.

	   Select a subset of properties to include in the response.
	*/
	DollarSelect *string

	/* 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 fabric network.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFabricNetworkParams contains all the parameters to send to the API endpoint

for the get fabric network operation.

Typically these are written to a http.Request.

func NewGetFabricNetworkParams

func NewGetFabricNetworkParams() *GetFabricNetworkParams

NewGetFabricNetworkParams creates a new GetFabricNetworkParams 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 NewGetFabricNetworkParamsWithContext

func NewGetFabricNetworkParamsWithContext(ctx context.Context) *GetFabricNetworkParams

NewGetFabricNetworkParamsWithContext creates a new GetFabricNetworkParams object with the ability to set a context for a request.

func NewGetFabricNetworkParamsWithHTTPClient

func NewGetFabricNetworkParamsWithHTTPClient(client *http.Client) *GetFabricNetworkParams

NewGetFabricNetworkParamsWithHTTPClient creates a new GetFabricNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewGetFabricNetworkParamsWithTimeout

func NewGetFabricNetworkParamsWithTimeout(timeout time.Duration) *GetFabricNetworkParams

NewGetFabricNetworkParamsWithTimeout creates a new GetFabricNetworkParams object with the ability to set a timeout on a request.

func (*GetFabricNetworkParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get fabric network params

func (*GetFabricNetworkParams) SetContext

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

SetContext adds the context to the get fabric network params

func (*GetFabricNetworkParams) SetDefaults added in v0.2.20

func (o *GetFabricNetworkParams) SetDefaults()

SetDefaults hydrates default values in the get fabric network params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricNetworkParams) SetDollarSelect added in v0.2.20

func (o *GetFabricNetworkParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get fabric network params

func (*GetFabricNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric network params

func (*GetFabricNetworkParams) SetID

func (o *GetFabricNetworkParams) SetID(id string)

SetID adds the id to the get fabric network params

func (*GetFabricNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric network params

func (*GetFabricNetworkParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the get fabric network params

func (*GetFabricNetworkParams) WithContext

WithContext adds the context to the get fabric network params

func (*GetFabricNetworkParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get fabric network params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricNetworkParams) WithDollarSelect added in v0.2.20

func (o *GetFabricNetworkParams) WithDollarSelect(dollarSelect *string) *GetFabricNetworkParams

WithDollarSelect adds the dollarSelect to the get fabric network params

func (*GetFabricNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get fabric network params

func (*GetFabricNetworkParams) WithID

WithID adds the id to the get fabric network params

func (*GetFabricNetworkParams) WithTimeout

WithTimeout adds the timeout to the get fabric network params

func (*GetFabricNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricNetworkReader

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

GetFabricNetworkReader is a Reader for the GetFabricNetwork structure.

func (*GetFabricNetworkReader) ReadResponse

func (o *GetFabricNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetFabricNetworksForbidden

type GetFabricNetworksForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetFabricNetworksForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFabricNetworksForbidden

func NewGetFabricNetworksForbidden() *GetFabricNetworksForbidden

NewGetFabricNetworksForbidden creates a GetFabricNetworksForbidden with default headers values

func (*GetFabricNetworksForbidden) Error

func (*GetFabricNetworksForbidden) GetPayload added in v0.2.20

func (*GetFabricNetworksForbidden) IsClientError added in v0.5.0

func (o *GetFabricNetworksForbidden) IsClientError() bool

IsClientError returns true when this get fabric networks forbidden response has a 4xx status code

func (*GetFabricNetworksForbidden) IsCode added in v0.5.0

func (o *GetFabricNetworksForbidden) IsCode(code int) bool

IsCode returns true when this get fabric networks forbidden response a status code equal to that given

func (*GetFabricNetworksForbidden) IsRedirect added in v0.5.0

func (o *GetFabricNetworksForbidden) IsRedirect() bool

IsRedirect returns true when this get fabric networks forbidden response has a 3xx status code

func (*GetFabricNetworksForbidden) IsServerError added in v0.5.0

func (o *GetFabricNetworksForbidden) IsServerError() bool

IsServerError returns true when this get fabric networks forbidden response has a 5xx status code

func (*GetFabricNetworksForbidden) IsSuccess added in v0.5.0

func (o *GetFabricNetworksForbidden) IsSuccess() bool

IsSuccess returns true when this get fabric networks forbidden response has a 2xx status code

func (*GetFabricNetworksForbidden) String added in v0.5.0

func (o *GetFabricNetworksForbidden) String() string

type GetFabricNetworksOK

type GetFabricNetworksOK struct {
	Payload *models.FabricNetworkResult
}

GetFabricNetworksOK describes a response with status code 200, with default header values.

successful operation

func NewGetFabricNetworksOK

func NewGetFabricNetworksOK() *GetFabricNetworksOK

NewGetFabricNetworksOK creates a GetFabricNetworksOK with default headers values

func (*GetFabricNetworksOK) Error

func (o *GetFabricNetworksOK) Error() string

func (*GetFabricNetworksOK) GetPayload

func (*GetFabricNetworksOK) IsClientError added in v0.5.0

func (o *GetFabricNetworksOK) IsClientError() bool

IsClientError returns true when this get fabric networks o k response has a 4xx status code

func (*GetFabricNetworksOK) IsCode added in v0.5.0

func (o *GetFabricNetworksOK) IsCode(code int) bool

IsCode returns true when this get fabric networks o k response a status code equal to that given

func (*GetFabricNetworksOK) IsRedirect added in v0.5.0

func (o *GetFabricNetworksOK) IsRedirect() bool

IsRedirect returns true when this get fabric networks o k response has a 3xx status code

func (*GetFabricNetworksOK) IsServerError added in v0.5.0

func (o *GetFabricNetworksOK) IsServerError() bool

IsServerError returns true when this get fabric networks o k response has a 5xx status code

func (*GetFabricNetworksOK) IsSuccess added in v0.5.0

func (o *GetFabricNetworksOK) IsSuccess() bool

IsSuccess returns true when this get fabric networks o k response has a 2xx status code

func (*GetFabricNetworksOK) String added in v0.5.0

func (o *GetFabricNetworksOK) String() string

type GetFabricNetworksParams

type GetFabricNetworksParams struct {

	/* DollarCount.

	   Flag which when specified, regardless of the assigned value, shows the total number of records. If the collection has a filter it shows the number of records matching the filter.
	*/
	DollarCount *bool

	/* DollarFilter.

	   Filter the results by a specified predicate expression. Operators: eq, ne, and, or.
	*/
	DollarFilter *string

	/* DollarSelect.

	   Select a subset of properties to include in the response.
	*/
	DollarSelect *string

	/* DollarSkip.

	   Number of records you want to skip.
	*/
	DollarSkip *int64

	/* DollarTop.

	   Number of records you want to get.
	*/
	DollarTop *int64

	/* 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
}

GetFabricNetworksParams contains all the parameters to send to the API endpoint

for the get fabric networks operation.

Typically these are written to a http.Request.

func NewGetFabricNetworksParams

func NewGetFabricNetworksParams() *GetFabricNetworksParams

NewGetFabricNetworksParams creates a new GetFabricNetworksParams 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 NewGetFabricNetworksParamsWithContext

func NewGetFabricNetworksParamsWithContext(ctx context.Context) *GetFabricNetworksParams

NewGetFabricNetworksParamsWithContext creates a new GetFabricNetworksParams object with the ability to set a context for a request.

func NewGetFabricNetworksParamsWithHTTPClient

func NewGetFabricNetworksParamsWithHTTPClient(client *http.Client) *GetFabricNetworksParams

NewGetFabricNetworksParamsWithHTTPClient creates a new GetFabricNetworksParams object with the ability to set a custom HTTPClient for a request.

func NewGetFabricNetworksParamsWithTimeout

func NewGetFabricNetworksParamsWithTimeout(timeout time.Duration) *GetFabricNetworksParams

NewGetFabricNetworksParamsWithTimeout creates a new GetFabricNetworksParams object with the ability to set a timeout on a request.

func (*GetFabricNetworksParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get fabric networks params

func (*GetFabricNetworksParams) SetContext

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

SetContext adds the context to the get fabric networks params

func (*GetFabricNetworksParams) SetDefaults added in v0.2.20

func (o *GetFabricNetworksParams) SetDefaults()

SetDefaults hydrates default values in the get fabric networks params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricNetworksParams) SetDollarCount added in v0.2.20

func (o *GetFabricNetworksParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the get fabric networks params

func (*GetFabricNetworksParams) SetDollarFilter

func (o *GetFabricNetworksParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get fabric networks params

func (*GetFabricNetworksParams) SetDollarSelect added in v0.2.20

func (o *GetFabricNetworksParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get fabric networks params

func (*GetFabricNetworksParams) SetDollarSkip added in v0.2.20

func (o *GetFabricNetworksParams) SetDollarSkip(dollarSkip *int64)

SetDollarSkip adds the dollarSkip to the get fabric networks params

func (*GetFabricNetworksParams) SetDollarTop added in v0.2.20

func (o *GetFabricNetworksParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the get fabric networks params

func (*GetFabricNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric networks params

func (*GetFabricNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric networks params

func (*GetFabricNetworksParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the get fabric networks params

func (*GetFabricNetworksParams) WithContext

WithContext adds the context to the get fabric networks params

func (*GetFabricNetworksParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get fabric networks params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricNetworksParams) WithDollarCount added in v0.2.20

func (o *GetFabricNetworksParams) WithDollarCount(dollarCount *bool) *GetFabricNetworksParams

WithDollarCount adds the dollarCount to the get fabric networks params

func (*GetFabricNetworksParams) WithDollarFilter

func (o *GetFabricNetworksParams) WithDollarFilter(dollarFilter *string) *GetFabricNetworksParams

WithDollarFilter adds the dollarFilter to the get fabric networks params

func (*GetFabricNetworksParams) WithDollarSelect added in v0.2.20

func (o *GetFabricNetworksParams) WithDollarSelect(dollarSelect *string) *GetFabricNetworksParams

WithDollarSelect adds the dollarSelect to the get fabric networks params

func (*GetFabricNetworksParams) WithDollarSkip added in v0.2.20

func (o *GetFabricNetworksParams) WithDollarSkip(dollarSkip *int64) *GetFabricNetworksParams

WithDollarSkip adds the dollarSkip to the get fabric networks params

func (*GetFabricNetworksParams) WithDollarTop added in v0.2.20

func (o *GetFabricNetworksParams) WithDollarTop(dollarTop *int64) *GetFabricNetworksParams

WithDollarTop adds the dollarTop to the get fabric networks params

func (*GetFabricNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get fabric networks params

func (*GetFabricNetworksParams) WithTimeout

WithTimeout adds the timeout to the get fabric networks params

func (*GetFabricNetworksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricNetworksReader

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

GetFabricNetworksReader is a Reader for the GetFabricNetworks structure.

func (*GetFabricNetworksReader) ReadResponse

func (o *GetFabricNetworksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVsphereFabricNetworkForbidden added in v0.2.8

type GetVsphereFabricNetworkForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetVsphereFabricNetworkForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetVsphereFabricNetworkForbidden added in v0.2.8

func NewGetVsphereFabricNetworkForbidden() *GetVsphereFabricNetworkForbidden

NewGetVsphereFabricNetworkForbidden creates a GetVsphereFabricNetworkForbidden with default headers values

func (*GetVsphereFabricNetworkForbidden) Error added in v0.2.8

func (*GetVsphereFabricNetworkForbidden) GetPayload added in v0.2.20

func (*GetVsphereFabricNetworkForbidden) IsClientError added in v0.5.0

func (o *GetVsphereFabricNetworkForbidden) IsClientError() bool

IsClientError returns true when this get vsphere fabric network forbidden response has a 4xx status code

func (*GetVsphereFabricNetworkForbidden) IsCode added in v0.5.0

func (o *GetVsphereFabricNetworkForbidden) IsCode(code int) bool

IsCode returns true when this get vsphere fabric network forbidden response a status code equal to that given

func (*GetVsphereFabricNetworkForbidden) IsRedirect added in v0.5.0

func (o *GetVsphereFabricNetworkForbidden) IsRedirect() bool

IsRedirect returns true when this get vsphere fabric network forbidden response has a 3xx status code

func (*GetVsphereFabricNetworkForbidden) IsServerError added in v0.5.0

func (o *GetVsphereFabricNetworkForbidden) IsServerError() bool

IsServerError returns true when this get vsphere fabric network forbidden response has a 5xx status code

func (*GetVsphereFabricNetworkForbidden) IsSuccess added in v0.5.0

func (o *GetVsphereFabricNetworkForbidden) IsSuccess() bool

IsSuccess returns true when this get vsphere fabric network forbidden response has a 2xx status code

func (*GetVsphereFabricNetworkForbidden) String added in v0.5.0

type GetVsphereFabricNetworkNotFound added in v0.2.8

type GetVsphereFabricNetworkNotFound struct {
	Payload *models.Error
}

GetVsphereFabricNetworkNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetVsphereFabricNetworkNotFound added in v0.2.8

func NewGetVsphereFabricNetworkNotFound() *GetVsphereFabricNetworkNotFound

NewGetVsphereFabricNetworkNotFound creates a GetVsphereFabricNetworkNotFound with default headers values

func (*GetVsphereFabricNetworkNotFound) Error added in v0.2.8

func (*GetVsphereFabricNetworkNotFound) GetPayload added in v0.2.9

func (o *GetVsphereFabricNetworkNotFound) GetPayload() *models.Error

func (*GetVsphereFabricNetworkNotFound) IsClientError added in v0.5.0

func (o *GetVsphereFabricNetworkNotFound) IsClientError() bool

IsClientError returns true when this get vsphere fabric network not found response has a 4xx status code

func (*GetVsphereFabricNetworkNotFound) IsCode added in v0.5.0

func (o *GetVsphereFabricNetworkNotFound) IsCode(code int) bool

IsCode returns true when this get vsphere fabric network not found response a status code equal to that given

func (*GetVsphereFabricNetworkNotFound) IsRedirect added in v0.5.0

func (o *GetVsphereFabricNetworkNotFound) IsRedirect() bool

IsRedirect returns true when this get vsphere fabric network not found response has a 3xx status code

func (*GetVsphereFabricNetworkNotFound) IsServerError added in v0.5.0

func (o *GetVsphereFabricNetworkNotFound) IsServerError() bool

IsServerError returns true when this get vsphere fabric network not found response has a 5xx status code

func (*GetVsphereFabricNetworkNotFound) IsSuccess added in v0.5.0

func (o *GetVsphereFabricNetworkNotFound) IsSuccess() bool

IsSuccess returns true when this get vsphere fabric network not found response has a 2xx status code

func (*GetVsphereFabricNetworkNotFound) String added in v0.5.0

type GetVsphereFabricNetworkOK added in v0.2.8

type GetVsphereFabricNetworkOK struct {
	Payload *models.FabricNetworkVsphere
}

GetVsphereFabricNetworkOK describes a response with status code 200, with default header values.

successful operation

func NewGetVsphereFabricNetworkOK added in v0.2.8

func NewGetVsphereFabricNetworkOK() *GetVsphereFabricNetworkOK

NewGetVsphereFabricNetworkOK creates a GetVsphereFabricNetworkOK with default headers values

func (*GetVsphereFabricNetworkOK) Error added in v0.2.8

func (o *GetVsphereFabricNetworkOK) Error() string

func (*GetVsphereFabricNetworkOK) GetPayload added in v0.2.8

func (*GetVsphereFabricNetworkOK) IsClientError added in v0.5.0

func (o *GetVsphereFabricNetworkOK) IsClientError() bool

IsClientError returns true when this get vsphere fabric network o k response has a 4xx status code

func (*GetVsphereFabricNetworkOK) IsCode added in v0.5.0

func (o *GetVsphereFabricNetworkOK) IsCode(code int) bool

IsCode returns true when this get vsphere fabric network o k response a status code equal to that given

func (*GetVsphereFabricNetworkOK) IsRedirect added in v0.5.0

func (o *GetVsphereFabricNetworkOK) IsRedirect() bool

IsRedirect returns true when this get vsphere fabric network o k response has a 3xx status code

func (*GetVsphereFabricNetworkOK) IsServerError added in v0.5.0

func (o *GetVsphereFabricNetworkOK) IsServerError() bool

IsServerError returns true when this get vsphere fabric network o k response has a 5xx status code

func (*GetVsphereFabricNetworkOK) IsSuccess added in v0.5.0

func (o *GetVsphereFabricNetworkOK) IsSuccess() bool

IsSuccess returns true when this get vsphere fabric network o k response has a 2xx status code

func (*GetVsphereFabricNetworkOK) String added in v0.5.0

func (o *GetVsphereFabricNetworkOK) String() string

type GetVsphereFabricNetworkParams added in v0.2.8

type GetVsphereFabricNetworkParams struct {

	/* DollarSelect.

	   Select a subset of properties to include in the response.
	*/
	DollarSelect *string

	/* 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 fabric network.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVsphereFabricNetworkParams contains all the parameters to send to the API endpoint

for the get vsphere fabric network operation.

Typically these are written to a http.Request.

func NewGetVsphereFabricNetworkParams added in v0.2.8

func NewGetVsphereFabricNetworkParams() *GetVsphereFabricNetworkParams

NewGetVsphereFabricNetworkParams creates a new GetVsphereFabricNetworkParams 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 NewGetVsphereFabricNetworkParamsWithContext added in v0.2.8

func NewGetVsphereFabricNetworkParamsWithContext(ctx context.Context) *GetVsphereFabricNetworkParams

NewGetVsphereFabricNetworkParamsWithContext creates a new GetVsphereFabricNetworkParams object with the ability to set a context for a request.

func NewGetVsphereFabricNetworkParamsWithHTTPClient added in v0.2.8

func NewGetVsphereFabricNetworkParamsWithHTTPClient(client *http.Client) *GetVsphereFabricNetworkParams

NewGetVsphereFabricNetworkParamsWithHTTPClient creates a new GetVsphereFabricNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewGetVsphereFabricNetworkParamsWithTimeout added in v0.2.8

func NewGetVsphereFabricNetworkParamsWithTimeout(timeout time.Duration) *GetVsphereFabricNetworkParams

NewGetVsphereFabricNetworkParamsWithTimeout creates a new GetVsphereFabricNetworkParams object with the ability to set a timeout on a request.

func (*GetVsphereFabricNetworkParams) SetAPIVersion added in v0.2.8

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

SetAPIVersion adds the apiVersion to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetContext added in v0.2.8

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

SetContext adds the context to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetDefaults added in v0.2.20

func (o *GetVsphereFabricNetworkParams) SetDefaults()

SetDefaults hydrates default values in the get vsphere fabric network params (not the query body).

All values with no default are reset to their zero value.

func (*GetVsphereFabricNetworkParams) SetDollarSelect added in v0.2.20

func (o *GetVsphereFabricNetworkParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetHTTPClient added in v0.2.8

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

SetHTTPClient adds the HTTPClient to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetID added in v0.2.8

SetID adds the id to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetTimeout added in v0.2.8

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

SetTimeout adds the timeout to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithAPIVersion added in v0.2.8

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

WithAPIVersion adds the aPIVersion to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithContext added in v0.2.8

WithContext adds the context to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get vsphere fabric network params (not the query body).

All values with no default are reset to their zero value.

func (*GetVsphereFabricNetworkParams) WithDollarSelect added in v0.2.20

func (o *GetVsphereFabricNetworkParams) WithDollarSelect(dollarSelect *string) *GetVsphereFabricNetworkParams

WithDollarSelect adds the dollarSelect to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithHTTPClient added in v0.2.8

WithHTTPClient adds the HTTPClient to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithID added in v0.2.8

WithID adds the id to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type GetVsphereFabricNetworkReader added in v0.2.8

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

GetVsphereFabricNetworkReader is a Reader for the GetVsphereFabricNetwork structure.

func (*GetVsphereFabricNetworkReader) ReadResponse added in v0.2.8

func (o *GetVsphereFabricNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVsphereFabricNetworksForbidden added in v0.2.8

type GetVsphereFabricNetworksForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetVsphereFabricNetworksForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetVsphereFabricNetworksForbidden added in v0.2.8

func NewGetVsphereFabricNetworksForbidden() *GetVsphereFabricNetworksForbidden

NewGetVsphereFabricNetworksForbidden creates a GetVsphereFabricNetworksForbidden with default headers values

func (*GetVsphereFabricNetworksForbidden) Error added in v0.2.8

func (*GetVsphereFabricNetworksForbidden) GetPayload added in v0.2.20

func (*GetVsphereFabricNetworksForbidden) IsClientError added in v0.5.0

func (o *GetVsphereFabricNetworksForbidden) IsClientError() bool

IsClientError returns true when this get vsphere fabric networks forbidden response has a 4xx status code

func (*GetVsphereFabricNetworksForbidden) IsCode added in v0.5.0

func (o *GetVsphereFabricNetworksForbidden) IsCode(code int) bool

IsCode returns true when this get vsphere fabric networks forbidden response a status code equal to that given

func (*GetVsphereFabricNetworksForbidden) IsRedirect added in v0.5.0

func (o *GetVsphereFabricNetworksForbidden) IsRedirect() bool

IsRedirect returns true when this get vsphere fabric networks forbidden response has a 3xx status code

func (*GetVsphereFabricNetworksForbidden) IsServerError added in v0.5.0

func (o *GetVsphereFabricNetworksForbidden) IsServerError() bool

IsServerError returns true when this get vsphere fabric networks forbidden response has a 5xx status code

func (*GetVsphereFabricNetworksForbidden) IsSuccess added in v0.5.0

func (o *GetVsphereFabricNetworksForbidden) IsSuccess() bool

IsSuccess returns true when this get vsphere fabric networks forbidden response has a 2xx status code

func (*GetVsphereFabricNetworksForbidden) String added in v0.5.0

type GetVsphereFabricNetworksOK added in v0.2.8

type GetVsphereFabricNetworksOK struct {
	Payload *models.FabricNetworkVsphereResult
}

GetVsphereFabricNetworksOK describes a response with status code 200, with default header values.

successful operation

func NewGetVsphereFabricNetworksOK added in v0.2.8

func NewGetVsphereFabricNetworksOK() *GetVsphereFabricNetworksOK

NewGetVsphereFabricNetworksOK creates a GetVsphereFabricNetworksOK with default headers values

func (*GetVsphereFabricNetworksOK) Error added in v0.2.8

func (*GetVsphereFabricNetworksOK) GetPayload added in v0.2.8

func (*GetVsphereFabricNetworksOK) IsClientError added in v0.5.0

func (o *GetVsphereFabricNetworksOK) IsClientError() bool

IsClientError returns true when this get vsphere fabric networks o k response has a 4xx status code

func (*GetVsphereFabricNetworksOK) IsCode added in v0.5.0

func (o *GetVsphereFabricNetworksOK) IsCode(code int) bool

IsCode returns true when this get vsphere fabric networks o k response a status code equal to that given

func (*GetVsphereFabricNetworksOK) IsRedirect added in v0.5.0

func (o *GetVsphereFabricNetworksOK) IsRedirect() bool

IsRedirect returns true when this get vsphere fabric networks o k response has a 3xx status code

func (*GetVsphereFabricNetworksOK) IsServerError added in v0.5.0

func (o *GetVsphereFabricNetworksOK) IsServerError() bool

IsServerError returns true when this get vsphere fabric networks o k response has a 5xx status code

func (*GetVsphereFabricNetworksOK) IsSuccess added in v0.5.0

func (o *GetVsphereFabricNetworksOK) IsSuccess() bool

IsSuccess returns true when this get vsphere fabric networks o k response has a 2xx status code

func (*GetVsphereFabricNetworksOK) String added in v0.5.0

func (o *GetVsphereFabricNetworksOK) String() string

type GetVsphereFabricNetworksParams added in v0.2.8

type GetVsphereFabricNetworksParams struct {

	/* DollarCount.

	   Flag which when specified, regardless of the assigned value, shows the total number of records. If the collection has a filter it shows the number of records matching the filter.
	*/
	DollarCount *bool

	/* DollarFilter.

	   Filter the results by a specified predicate expression. Operators: eq, ne, and, or.
	*/
	DollarFilter *string

	/* DollarSelect.

	   Select a subset of properties to include in the response.
	*/
	DollarSelect *string

	/* DollarSkip.

	   Number of records you want to skip.
	*/
	DollarSkip *int64

	/* DollarTop.

	   Number of records you want to get.
	*/
	DollarTop *int64

	/* 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
}

GetVsphereFabricNetworksParams contains all the parameters to send to the API endpoint

for the get vsphere fabric networks operation.

Typically these are written to a http.Request.

func NewGetVsphereFabricNetworksParams added in v0.2.8

func NewGetVsphereFabricNetworksParams() *GetVsphereFabricNetworksParams

NewGetVsphereFabricNetworksParams creates a new GetVsphereFabricNetworksParams 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 NewGetVsphereFabricNetworksParamsWithContext added in v0.2.8

func NewGetVsphereFabricNetworksParamsWithContext(ctx context.Context) *GetVsphereFabricNetworksParams

NewGetVsphereFabricNetworksParamsWithContext creates a new GetVsphereFabricNetworksParams object with the ability to set a context for a request.

func NewGetVsphereFabricNetworksParamsWithHTTPClient added in v0.2.8

func NewGetVsphereFabricNetworksParamsWithHTTPClient(client *http.Client) *GetVsphereFabricNetworksParams

NewGetVsphereFabricNetworksParamsWithHTTPClient creates a new GetVsphereFabricNetworksParams object with the ability to set a custom HTTPClient for a request.

func NewGetVsphereFabricNetworksParamsWithTimeout added in v0.2.8

func NewGetVsphereFabricNetworksParamsWithTimeout(timeout time.Duration) *GetVsphereFabricNetworksParams

NewGetVsphereFabricNetworksParamsWithTimeout creates a new GetVsphereFabricNetworksParams object with the ability to set a timeout on a request.

func (*GetVsphereFabricNetworksParams) SetAPIVersion added in v0.2.8

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

SetAPIVersion adds the apiVersion to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetContext added in v0.2.8

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

SetContext adds the context to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetDefaults added in v0.2.20

func (o *GetVsphereFabricNetworksParams) SetDefaults()

SetDefaults hydrates default values in the get vsphere fabric networks params (not the query body).

All values with no default are reset to their zero value.

func (*GetVsphereFabricNetworksParams) SetDollarCount added in v0.2.20

func (o *GetVsphereFabricNetworksParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetDollarFilter added in v0.2.20

func (o *GetVsphereFabricNetworksParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetDollarSelect added in v0.2.20

func (o *GetVsphereFabricNetworksParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetDollarSkip added in v0.2.20

func (o *GetVsphereFabricNetworksParams) SetDollarSkip(dollarSkip *int64)

SetDollarSkip adds the dollarSkip to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetDollarTop added in v0.2.20

func (o *GetVsphereFabricNetworksParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetHTTPClient added in v0.2.8

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

SetHTTPClient adds the HTTPClient to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetTimeout added in v0.2.8

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

SetTimeout adds the timeout to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithAPIVersion added in v0.2.8

WithAPIVersion adds the aPIVersion to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithContext added in v0.2.8

WithContext adds the context to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get vsphere fabric networks params (not the query body).

All values with no default are reset to their zero value.

func (*GetVsphereFabricNetworksParams) WithDollarCount added in v0.2.20

func (o *GetVsphereFabricNetworksParams) WithDollarCount(dollarCount *bool) *GetVsphereFabricNetworksParams

WithDollarCount adds the dollarCount to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithDollarFilter added in v0.2.20

func (o *GetVsphereFabricNetworksParams) WithDollarFilter(dollarFilter *string) *GetVsphereFabricNetworksParams

WithDollarFilter adds the dollarFilter to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithDollarSelect added in v0.2.20

func (o *GetVsphereFabricNetworksParams) WithDollarSelect(dollarSelect *string) *GetVsphereFabricNetworksParams

WithDollarSelect adds the dollarSelect to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithDollarSkip added in v0.2.20

WithDollarSkip adds the dollarSkip to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithDollarTop added in v0.2.20

WithDollarTop adds the dollarTop to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithHTTPClient added in v0.2.8

WithHTTPClient adds the HTTPClient to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type GetVsphereFabricNetworksReader added in v0.2.8

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

GetVsphereFabricNetworksReader is a Reader for the GetVsphereFabricNetworks structure.

func (*GetVsphereFabricNetworksReader) ReadResponse added in v0.2.8

func (o *GetVsphereFabricNetworksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateFabricNetworkForbidden

type UpdateFabricNetworkForbidden struct {
	Payload *models.ServiceErrorResponse
}

UpdateFabricNetworkForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateFabricNetworkForbidden

func NewUpdateFabricNetworkForbidden() *UpdateFabricNetworkForbidden

NewUpdateFabricNetworkForbidden creates a UpdateFabricNetworkForbidden with default headers values

func (*UpdateFabricNetworkForbidden) Error

func (*UpdateFabricNetworkForbidden) GetPayload added in v0.2.20

func (*UpdateFabricNetworkForbidden) IsClientError added in v0.5.0

func (o *UpdateFabricNetworkForbidden) IsClientError() bool

IsClientError returns true when this update fabric network forbidden response has a 4xx status code

func (*UpdateFabricNetworkForbidden) IsCode added in v0.5.0

func (o *UpdateFabricNetworkForbidden) IsCode(code int) bool

IsCode returns true when this update fabric network forbidden response a status code equal to that given

func (*UpdateFabricNetworkForbidden) IsRedirect added in v0.5.0

func (o *UpdateFabricNetworkForbidden) IsRedirect() bool

IsRedirect returns true when this update fabric network forbidden response has a 3xx status code

func (*UpdateFabricNetworkForbidden) IsServerError added in v0.5.0

func (o *UpdateFabricNetworkForbidden) IsServerError() bool

IsServerError returns true when this update fabric network forbidden response has a 5xx status code

func (*UpdateFabricNetworkForbidden) IsSuccess added in v0.5.0

func (o *UpdateFabricNetworkForbidden) IsSuccess() bool

IsSuccess returns true when this update fabric network forbidden response has a 2xx status code

func (*UpdateFabricNetworkForbidden) String added in v0.5.0

type UpdateFabricNetworkNotFound

type UpdateFabricNetworkNotFound struct {
	Payload *models.Error
}

UpdateFabricNetworkNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateFabricNetworkNotFound

func NewUpdateFabricNetworkNotFound() *UpdateFabricNetworkNotFound

NewUpdateFabricNetworkNotFound creates a UpdateFabricNetworkNotFound with default headers values

func (*UpdateFabricNetworkNotFound) Error

func (*UpdateFabricNetworkNotFound) GetPayload added in v0.2.9

func (o *UpdateFabricNetworkNotFound) GetPayload() *models.Error

func (*UpdateFabricNetworkNotFound) IsClientError added in v0.5.0

func (o *UpdateFabricNetworkNotFound) IsClientError() bool

IsClientError returns true when this update fabric network not found response has a 4xx status code

func (*UpdateFabricNetworkNotFound) IsCode added in v0.5.0

func (o *UpdateFabricNetworkNotFound) IsCode(code int) bool

IsCode returns true when this update fabric network not found response a status code equal to that given

func (*UpdateFabricNetworkNotFound) IsRedirect added in v0.5.0

func (o *UpdateFabricNetworkNotFound) IsRedirect() bool

IsRedirect returns true when this update fabric network not found response has a 3xx status code

func (*UpdateFabricNetworkNotFound) IsServerError added in v0.5.0

func (o *UpdateFabricNetworkNotFound) IsServerError() bool

IsServerError returns true when this update fabric network not found response has a 5xx status code

func (*UpdateFabricNetworkNotFound) IsSuccess added in v0.5.0

func (o *UpdateFabricNetworkNotFound) IsSuccess() bool

IsSuccess returns true when this update fabric network not found response has a 2xx status code

func (*UpdateFabricNetworkNotFound) String added in v0.5.0

func (o *UpdateFabricNetworkNotFound) String() string

type UpdateFabricNetworkOK

type UpdateFabricNetworkOK struct {
	Payload *models.FabricNetwork
}

UpdateFabricNetworkOK describes a response with status code 200, with default header values.

successful operation

func NewUpdateFabricNetworkOK

func NewUpdateFabricNetworkOK() *UpdateFabricNetworkOK

NewUpdateFabricNetworkOK creates a UpdateFabricNetworkOK with default headers values

func (*UpdateFabricNetworkOK) Error

func (o *UpdateFabricNetworkOK) Error() string

func (*UpdateFabricNetworkOK) GetPayload

func (o *UpdateFabricNetworkOK) GetPayload() *models.FabricNetwork

func (*UpdateFabricNetworkOK) IsClientError added in v0.5.0

func (o *UpdateFabricNetworkOK) IsClientError() bool

IsClientError returns true when this update fabric network o k response has a 4xx status code

func (*UpdateFabricNetworkOK) IsCode added in v0.5.0

func (o *UpdateFabricNetworkOK) IsCode(code int) bool

IsCode returns true when this update fabric network o k response a status code equal to that given

func (*UpdateFabricNetworkOK) IsRedirect added in v0.5.0

func (o *UpdateFabricNetworkOK) IsRedirect() bool

IsRedirect returns true when this update fabric network o k response has a 3xx status code

func (*UpdateFabricNetworkOK) IsServerError added in v0.5.0

func (o *UpdateFabricNetworkOK) IsServerError() bool

IsServerError returns true when this update fabric network o k response has a 5xx status code

func (*UpdateFabricNetworkOK) IsSuccess added in v0.5.0

func (o *UpdateFabricNetworkOK) IsSuccess() bool

IsSuccess returns true when this update fabric network o k response has a 2xx status code

func (*UpdateFabricNetworkOK) String added in v0.5.0

func (o *UpdateFabricNetworkOK) String() string

type UpdateFabricNetworkParams

type UpdateFabricNetworkParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Fabric Network Specification
	*/
	Body *models.FabricNetworkSpecification

	/* ID.

	   The ID of the Fabric Network.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateFabricNetworkParams contains all the parameters to send to the API endpoint

for the update fabric network operation.

Typically these are written to a http.Request.

func NewUpdateFabricNetworkParams

func NewUpdateFabricNetworkParams() *UpdateFabricNetworkParams

NewUpdateFabricNetworkParams creates a new UpdateFabricNetworkParams 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 NewUpdateFabricNetworkParamsWithContext

func NewUpdateFabricNetworkParamsWithContext(ctx context.Context) *UpdateFabricNetworkParams

NewUpdateFabricNetworkParamsWithContext creates a new UpdateFabricNetworkParams object with the ability to set a context for a request.

func NewUpdateFabricNetworkParamsWithHTTPClient

func NewUpdateFabricNetworkParamsWithHTTPClient(client *http.Client) *UpdateFabricNetworkParams

NewUpdateFabricNetworkParamsWithHTTPClient creates a new UpdateFabricNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFabricNetworkParamsWithTimeout

func NewUpdateFabricNetworkParamsWithTimeout(timeout time.Duration) *UpdateFabricNetworkParams

NewUpdateFabricNetworkParamsWithTimeout creates a new UpdateFabricNetworkParams object with the ability to set a timeout on a request.

func (*UpdateFabricNetworkParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the update fabric network params

func (*UpdateFabricNetworkParams) SetBody

SetBody adds the body to the update fabric network params

func (*UpdateFabricNetworkParams) SetContext

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

SetContext adds the context to the update fabric network params

func (*UpdateFabricNetworkParams) SetDefaults added in v0.2.20

func (o *UpdateFabricNetworkParams) SetDefaults()

SetDefaults hydrates default values in the update fabric network params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateFabricNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update fabric network params

func (*UpdateFabricNetworkParams) SetID

func (o *UpdateFabricNetworkParams) SetID(id string)

SetID adds the id to the update fabric network params

func (*UpdateFabricNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the update fabric network params

func (*UpdateFabricNetworkParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the update fabric network params

func (*UpdateFabricNetworkParams) WithBody

WithBody adds the body to the update fabric network params

func (*UpdateFabricNetworkParams) WithContext

WithContext adds the context to the update fabric network params

func (*UpdateFabricNetworkParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the update fabric network params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateFabricNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update fabric network params

func (*UpdateFabricNetworkParams) WithID

WithID adds the id to the update fabric network params

func (*UpdateFabricNetworkParams) WithTimeout

WithTimeout adds the timeout to the update fabric network params

func (*UpdateFabricNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateFabricNetworkReader

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

UpdateFabricNetworkReader is a Reader for the UpdateFabricNetwork structure.

func (*UpdateFabricNetworkReader) ReadResponse

func (o *UpdateFabricNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatevSphereFabricNetworkForbidden added in v0.2.8

type UpdatevSphereFabricNetworkForbidden struct {
	Payload *models.ServiceErrorResponse
}

UpdatevSphereFabricNetworkForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdatevSphereFabricNetworkForbidden added in v0.2.8

func NewUpdatevSphereFabricNetworkForbidden() *UpdatevSphereFabricNetworkForbidden

NewUpdatevSphereFabricNetworkForbidden creates a UpdatevSphereFabricNetworkForbidden with default headers values

func (*UpdatevSphereFabricNetworkForbidden) Error added in v0.2.8

func (*UpdatevSphereFabricNetworkForbidden) GetPayload added in v0.2.20

func (*UpdatevSphereFabricNetworkForbidden) IsClientError added in v0.5.0

func (o *UpdatevSphereFabricNetworkForbidden) IsClientError() bool

IsClientError returns true when this updatev sphere fabric network forbidden response has a 4xx status code

func (*UpdatevSphereFabricNetworkForbidden) IsCode added in v0.5.0

IsCode returns true when this updatev sphere fabric network forbidden response a status code equal to that given

func (*UpdatevSphereFabricNetworkForbidden) IsRedirect added in v0.5.0

func (o *UpdatevSphereFabricNetworkForbidden) IsRedirect() bool

IsRedirect returns true when this updatev sphere fabric network forbidden response has a 3xx status code

func (*UpdatevSphereFabricNetworkForbidden) IsServerError added in v0.5.0

func (o *UpdatevSphereFabricNetworkForbidden) IsServerError() bool

IsServerError returns true when this updatev sphere fabric network forbidden response has a 5xx status code

func (*UpdatevSphereFabricNetworkForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this updatev sphere fabric network forbidden response has a 2xx status code

func (*UpdatevSphereFabricNetworkForbidden) String added in v0.5.0

type UpdatevSphereFabricNetworkNotFound added in v0.2.8

type UpdatevSphereFabricNetworkNotFound struct {
	Payload *models.Error
}

UpdatevSphereFabricNetworkNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdatevSphereFabricNetworkNotFound added in v0.2.8

func NewUpdatevSphereFabricNetworkNotFound() *UpdatevSphereFabricNetworkNotFound

NewUpdatevSphereFabricNetworkNotFound creates a UpdatevSphereFabricNetworkNotFound with default headers values

func (*UpdatevSphereFabricNetworkNotFound) Error added in v0.2.8

func (*UpdatevSphereFabricNetworkNotFound) GetPayload added in v0.2.9

func (*UpdatevSphereFabricNetworkNotFound) IsClientError added in v0.5.0

func (o *UpdatevSphereFabricNetworkNotFound) IsClientError() bool

IsClientError returns true when this updatev sphere fabric network not found response has a 4xx status code

func (*UpdatevSphereFabricNetworkNotFound) IsCode added in v0.5.0

IsCode returns true when this updatev sphere fabric network not found response a status code equal to that given

func (*UpdatevSphereFabricNetworkNotFound) IsRedirect added in v0.5.0

func (o *UpdatevSphereFabricNetworkNotFound) IsRedirect() bool

IsRedirect returns true when this updatev sphere fabric network not found response has a 3xx status code

func (*UpdatevSphereFabricNetworkNotFound) IsServerError added in v0.5.0

func (o *UpdatevSphereFabricNetworkNotFound) IsServerError() bool

IsServerError returns true when this updatev sphere fabric network not found response has a 5xx status code

func (*UpdatevSphereFabricNetworkNotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this updatev sphere fabric network not found response has a 2xx status code

func (*UpdatevSphereFabricNetworkNotFound) String added in v0.5.0

type UpdatevSphereFabricNetworkOK added in v0.2.8

type UpdatevSphereFabricNetworkOK struct {
	Payload *models.FabricNetworkVsphere
}

UpdatevSphereFabricNetworkOK describes a response with status code 200, with default header values.

successful operation

func NewUpdatevSphereFabricNetworkOK added in v0.2.8

func NewUpdatevSphereFabricNetworkOK() *UpdatevSphereFabricNetworkOK

NewUpdatevSphereFabricNetworkOK creates a UpdatevSphereFabricNetworkOK with default headers values

func (*UpdatevSphereFabricNetworkOK) Error added in v0.2.8

func (*UpdatevSphereFabricNetworkOK) GetPayload added in v0.2.8

func (*UpdatevSphereFabricNetworkOK) IsClientError added in v0.5.0

func (o *UpdatevSphereFabricNetworkOK) IsClientError() bool

IsClientError returns true when this updatev sphere fabric network o k response has a 4xx status code

func (*UpdatevSphereFabricNetworkOK) IsCode added in v0.5.0

func (o *UpdatevSphereFabricNetworkOK) IsCode(code int) bool

IsCode returns true when this updatev sphere fabric network o k response a status code equal to that given

func (*UpdatevSphereFabricNetworkOK) IsRedirect added in v0.5.0

func (o *UpdatevSphereFabricNetworkOK) IsRedirect() bool

IsRedirect returns true when this updatev sphere fabric network o k response has a 3xx status code

func (*UpdatevSphereFabricNetworkOK) IsServerError added in v0.5.0

func (o *UpdatevSphereFabricNetworkOK) IsServerError() bool

IsServerError returns true when this updatev sphere fabric network o k response has a 5xx status code

func (*UpdatevSphereFabricNetworkOK) IsSuccess added in v0.5.0

func (o *UpdatevSphereFabricNetworkOK) IsSuccess() bool

IsSuccess returns true when this updatev sphere fabric network o k response has a 2xx status code

func (*UpdatevSphereFabricNetworkOK) String added in v0.5.0

type UpdatevSphereFabricNetworkParams added in v0.2.8

type UpdatevSphereFabricNetworkParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Vsphere Fabric Network Specification
	*/
	Body *models.FabricNetworkVsphereSpecification

	/* ID.

	   The ID of the vSphere Fabric Network.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdatevSphereFabricNetworkParams contains all the parameters to send to the API endpoint

for the updatev sphere fabric network operation.

Typically these are written to a http.Request.

func NewUpdatevSphereFabricNetworkParams added in v0.2.8

func NewUpdatevSphereFabricNetworkParams() *UpdatevSphereFabricNetworkParams

NewUpdatevSphereFabricNetworkParams creates a new UpdatevSphereFabricNetworkParams 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 NewUpdatevSphereFabricNetworkParamsWithContext added in v0.2.8

func NewUpdatevSphereFabricNetworkParamsWithContext(ctx context.Context) *UpdatevSphereFabricNetworkParams

NewUpdatevSphereFabricNetworkParamsWithContext creates a new UpdatevSphereFabricNetworkParams object with the ability to set a context for a request.

func NewUpdatevSphereFabricNetworkParamsWithHTTPClient added in v0.2.8

func NewUpdatevSphereFabricNetworkParamsWithHTTPClient(client *http.Client) *UpdatevSphereFabricNetworkParams

NewUpdatevSphereFabricNetworkParamsWithHTTPClient creates a new UpdatevSphereFabricNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatevSphereFabricNetworkParamsWithTimeout added in v0.2.8

func NewUpdatevSphereFabricNetworkParamsWithTimeout(timeout time.Duration) *UpdatevSphereFabricNetworkParams

NewUpdatevSphereFabricNetworkParamsWithTimeout creates a new UpdatevSphereFabricNetworkParams object with the ability to set a timeout on a request.

func (*UpdatevSphereFabricNetworkParams) SetAPIVersion added in v0.2.8

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

SetAPIVersion adds the apiVersion to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetBody added in v0.2.8

SetBody adds the body to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetContext added in v0.2.8

SetContext adds the context to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetDefaults added in v0.2.20

func (o *UpdatevSphereFabricNetworkParams) SetDefaults()

SetDefaults hydrates default values in the updatev sphere fabric network params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatevSphereFabricNetworkParams) SetHTTPClient added in v0.2.8

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

SetHTTPClient adds the HTTPClient to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetID added in v0.2.8

SetID adds the id to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetTimeout added in v0.2.8

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

SetTimeout adds the timeout to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithAPIVersion added in v0.2.8

WithAPIVersion adds the aPIVersion to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithBody added in v0.2.8

WithBody adds the body to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithContext added in v0.2.8

WithContext adds the context to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the updatev sphere fabric network params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatevSphereFabricNetworkParams) WithHTTPClient added in v0.2.8

WithHTTPClient adds the HTTPClient to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithID added in v0.2.8

WithID adds the id to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type UpdatevSphereFabricNetworkReader added in v0.2.8

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

UpdatevSphereFabricNetworkReader is a Reader for the UpdatevSphereFabricNetwork structure.

func (*UpdatevSphereFabricNetworkReader) ReadResponse added in v0.2.8

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