fabric_vsphere_datastore

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 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 v sphere datastore API

func (*Client) GetFabricVSphereDatastore

func (a *Client) GetFabricVSphereDatastore(params *GetFabricVSphereDatastoreParams, opts ...ClientOption) (*GetFabricVSphereDatastoreOK, error)

GetFabricVSphereDatastore gets fabric v sphere datastore

Get fabric vSphere datastore with a given id

func (*Client) GetFabricVSphereDatastores

func (a *Client) GetFabricVSphereDatastores(params *GetFabricVSphereDatastoresParams, opts ...ClientOption) (*GetFabricVSphereDatastoresOK, error)

GetFabricVSphereDatastores gets fabric v sphere datastores

Get all fabric vSphere datastores.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateFabricVsphereDatastore added in v0.4.0

func (a *Client) UpdateFabricVsphereDatastore(params *UpdateFabricVsphereDatastoreParams, opts ...ClientOption) (*UpdateFabricVsphereDatastoreOK, error)

UpdateFabricVsphereDatastore updates fabric v sphere datastore

Update Fabric vSphere Datastore. Only tag updates are supported.

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 {
	GetFabricVSphereDatastore(params *GetFabricVSphereDatastoreParams, opts ...ClientOption) (*GetFabricVSphereDatastoreOK, error)

	GetFabricVSphereDatastores(params *GetFabricVSphereDatastoresParams, opts ...ClientOption) (*GetFabricVSphereDatastoresOK, error)

	UpdateFabricVsphereDatastore(params *UpdateFabricVsphereDatastoreParams, opts ...ClientOption) (*UpdateFabricVsphereDatastoreOK, 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 v sphere datastore API client.

type GetFabricVSphereDatastoreForbidden

type GetFabricVSphereDatastoreForbidden struct {
	Payload *models.ServiceErrorResponse
}

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

Forbidden

func NewGetFabricVSphereDatastoreForbidden

func NewGetFabricVSphereDatastoreForbidden() *GetFabricVSphereDatastoreForbidden

NewGetFabricVSphereDatastoreForbidden creates a GetFabricVSphereDatastoreForbidden with default headers values

func (*GetFabricVSphereDatastoreForbidden) Error

func (*GetFabricVSphereDatastoreForbidden) GetPayload added in v0.2.20

func (*GetFabricVSphereDatastoreForbidden) IsClientError added in v0.5.0

func (o *GetFabricVSphereDatastoreForbidden) IsClientError() bool

IsClientError returns true when this get fabric v sphere datastore forbidden response has a 4xx status code

func (*GetFabricVSphereDatastoreForbidden) IsCode added in v0.5.0

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

func (*GetFabricVSphereDatastoreForbidden) IsRedirect added in v0.5.0

func (o *GetFabricVSphereDatastoreForbidden) IsRedirect() bool

IsRedirect returns true when this get fabric v sphere datastore forbidden response has a 3xx status code

func (*GetFabricVSphereDatastoreForbidden) IsServerError added in v0.5.0

func (o *GetFabricVSphereDatastoreForbidden) IsServerError() bool

IsServerError returns true when this get fabric v sphere datastore forbidden response has a 5xx status code

func (*GetFabricVSphereDatastoreForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this get fabric v sphere datastore forbidden response has a 2xx status code

func (*GetFabricVSphereDatastoreForbidden) String added in v0.5.0

type GetFabricVSphereDatastoreNotFound

type GetFabricVSphereDatastoreNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewGetFabricVSphereDatastoreNotFound

func NewGetFabricVSphereDatastoreNotFound() *GetFabricVSphereDatastoreNotFound

NewGetFabricVSphereDatastoreNotFound creates a GetFabricVSphereDatastoreNotFound with default headers values

func (*GetFabricVSphereDatastoreNotFound) Error

func (*GetFabricVSphereDatastoreNotFound) GetPayload added in v0.2.9

func (*GetFabricVSphereDatastoreNotFound) IsClientError added in v0.5.0

func (o *GetFabricVSphereDatastoreNotFound) IsClientError() bool

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

func (*GetFabricVSphereDatastoreNotFound) IsCode added in v0.5.0

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

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

func (*GetFabricVSphereDatastoreNotFound) IsRedirect added in v0.5.0

func (o *GetFabricVSphereDatastoreNotFound) IsRedirect() bool

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

func (*GetFabricVSphereDatastoreNotFound) IsServerError added in v0.5.0

func (o *GetFabricVSphereDatastoreNotFound) IsServerError() bool

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

func (*GetFabricVSphereDatastoreNotFound) IsSuccess added in v0.5.0

func (o *GetFabricVSphereDatastoreNotFound) IsSuccess() bool

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

func (*GetFabricVSphereDatastoreNotFound) String added in v0.5.0

type GetFabricVSphereDatastoreOK

type GetFabricVSphereDatastoreOK struct {
	Payload *models.FabricVsphereDatastore
}

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

successful operation

func NewGetFabricVSphereDatastoreOK

func NewGetFabricVSphereDatastoreOK() *GetFabricVSphereDatastoreOK

NewGetFabricVSphereDatastoreOK creates a GetFabricVSphereDatastoreOK with default headers values

func (*GetFabricVSphereDatastoreOK) Error

func (*GetFabricVSphereDatastoreOK) GetPayload

func (*GetFabricVSphereDatastoreOK) IsClientError added in v0.5.0

func (o *GetFabricVSphereDatastoreOK) IsClientError() bool

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

func (*GetFabricVSphereDatastoreOK) IsCode added in v0.5.0

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

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

func (*GetFabricVSphereDatastoreOK) IsRedirect added in v0.5.0

func (o *GetFabricVSphereDatastoreOK) IsRedirect() bool

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

func (*GetFabricVSphereDatastoreOK) IsServerError added in v0.5.0

func (o *GetFabricVSphereDatastoreOK) IsServerError() bool

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

func (*GetFabricVSphereDatastoreOK) IsSuccess added in v0.5.0

func (o *GetFabricVSphereDatastoreOK) IsSuccess() bool

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

func (*GetFabricVSphereDatastoreOK) String added in v0.5.0

func (o *GetFabricVSphereDatastoreOK) String() string

type GetFabricVSphereDatastoreParams

type GetFabricVSphereDatastoreParams 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 vSphere Datastore.
	*/
	ID string

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

GetFabricVSphereDatastoreParams contains all the parameters to send to the API endpoint

for the get fabric v sphere datastore operation.

Typically these are written to a http.Request.

func NewGetFabricVSphereDatastoreParams

func NewGetFabricVSphereDatastoreParams() *GetFabricVSphereDatastoreParams

NewGetFabricVSphereDatastoreParams creates a new GetFabricVSphereDatastoreParams 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 NewGetFabricVSphereDatastoreParamsWithContext

func NewGetFabricVSphereDatastoreParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoreParams

NewGetFabricVSphereDatastoreParamsWithContext creates a new GetFabricVSphereDatastoreParams object with the ability to set a context for a request.

func NewGetFabricVSphereDatastoreParamsWithHTTPClient

func NewGetFabricVSphereDatastoreParamsWithHTTPClient(client *http.Client) *GetFabricVSphereDatastoreParams

NewGetFabricVSphereDatastoreParamsWithHTTPClient creates a new GetFabricVSphereDatastoreParams object with the ability to set a custom HTTPClient for a request.

func NewGetFabricVSphereDatastoreParamsWithTimeout

func NewGetFabricVSphereDatastoreParamsWithTimeout(timeout time.Duration) *GetFabricVSphereDatastoreParams

NewGetFabricVSphereDatastoreParamsWithTimeout creates a new GetFabricVSphereDatastoreParams object with the ability to set a timeout on a request.

func (*GetFabricVSphereDatastoreParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) SetContext

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

SetContext adds the context to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) SetDefaults added in v0.2.20

func (o *GetFabricVSphereDatastoreParams) SetDefaults()

SetDefaults hydrates default values in the get fabric v sphere datastore params (not the query body).

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

func (*GetFabricVSphereDatastoreParams) SetDollarSelect added in v0.2.20

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

SetDollarSelect adds the dollarSelect to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) SetID

SetID adds the id to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithContext

WithContext adds the context to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get fabric v sphere datastore params (not the query body).

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

func (*GetFabricVSphereDatastoreParams) WithDollarSelect added in v0.2.20

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

WithDollarSelect adds the dollarSelect to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithID

WithID adds the id to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithTimeout

WithTimeout adds the timeout to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricVSphereDatastoreReader

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

GetFabricVSphereDatastoreReader is a Reader for the GetFabricVSphereDatastore structure.

func (*GetFabricVSphereDatastoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFabricVSphereDatastoresForbidden

type GetFabricVSphereDatastoresForbidden struct {
	Payload *models.ServiceErrorResponse
}

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

Forbidden

func NewGetFabricVSphereDatastoresForbidden

func NewGetFabricVSphereDatastoresForbidden() *GetFabricVSphereDatastoresForbidden

NewGetFabricVSphereDatastoresForbidden creates a GetFabricVSphereDatastoresForbidden with default headers values

func (*GetFabricVSphereDatastoresForbidden) Error

func (*GetFabricVSphereDatastoresForbidden) GetPayload added in v0.2.20

func (*GetFabricVSphereDatastoresForbidden) IsClientError added in v0.5.0

func (o *GetFabricVSphereDatastoresForbidden) IsClientError() bool

IsClientError returns true when this get fabric v sphere datastores forbidden response has a 4xx status code

func (*GetFabricVSphereDatastoresForbidden) IsCode added in v0.5.0

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

func (*GetFabricVSphereDatastoresForbidden) IsRedirect added in v0.5.0

func (o *GetFabricVSphereDatastoresForbidden) IsRedirect() bool

IsRedirect returns true when this get fabric v sphere datastores forbidden response has a 3xx status code

func (*GetFabricVSphereDatastoresForbidden) IsServerError added in v0.5.0

func (o *GetFabricVSphereDatastoresForbidden) IsServerError() bool

IsServerError returns true when this get fabric v sphere datastores forbidden response has a 5xx status code

func (*GetFabricVSphereDatastoresForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this get fabric v sphere datastores forbidden response has a 2xx status code

func (*GetFabricVSphereDatastoresForbidden) String added in v0.5.0

type GetFabricVSphereDatastoresOK

type GetFabricVSphereDatastoresOK struct {
	Payload *models.FabricVsphereDatastoreResult
}

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

successful operation

func NewGetFabricVSphereDatastoresOK

func NewGetFabricVSphereDatastoresOK() *GetFabricVSphereDatastoresOK

NewGetFabricVSphereDatastoresOK creates a GetFabricVSphereDatastoresOK with default headers values

func (*GetFabricVSphereDatastoresOK) Error

func (*GetFabricVSphereDatastoresOK) GetPayload

func (*GetFabricVSphereDatastoresOK) IsClientError added in v0.5.0

func (o *GetFabricVSphereDatastoresOK) IsClientError() bool

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

func (*GetFabricVSphereDatastoresOK) IsCode added in v0.5.0

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

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

func (*GetFabricVSphereDatastoresOK) IsRedirect added in v0.5.0

func (o *GetFabricVSphereDatastoresOK) IsRedirect() bool

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

func (*GetFabricVSphereDatastoresOK) IsServerError added in v0.5.0

func (o *GetFabricVSphereDatastoresOK) IsServerError() bool

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

func (*GetFabricVSphereDatastoresOK) IsSuccess added in v0.5.0

func (o *GetFabricVSphereDatastoresOK) IsSuccess() bool

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

func (*GetFabricVSphereDatastoresOK) String added in v0.5.0

type GetFabricVSphereDatastoresParams

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

GetFabricVSphereDatastoresParams contains all the parameters to send to the API endpoint

for the get fabric v sphere datastores operation.

Typically these are written to a http.Request.

func NewGetFabricVSphereDatastoresParams

func NewGetFabricVSphereDatastoresParams() *GetFabricVSphereDatastoresParams

NewGetFabricVSphereDatastoresParams creates a new GetFabricVSphereDatastoresParams 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 NewGetFabricVSphereDatastoresParamsWithContext

func NewGetFabricVSphereDatastoresParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoresParams

NewGetFabricVSphereDatastoresParamsWithContext creates a new GetFabricVSphereDatastoresParams object with the ability to set a context for a request.

func NewGetFabricVSphereDatastoresParamsWithHTTPClient

func NewGetFabricVSphereDatastoresParamsWithHTTPClient(client *http.Client) *GetFabricVSphereDatastoresParams

NewGetFabricVSphereDatastoresParamsWithHTTPClient creates a new GetFabricVSphereDatastoresParams object with the ability to set a custom HTTPClient for a request.

func NewGetFabricVSphereDatastoresParamsWithTimeout

func NewGetFabricVSphereDatastoresParamsWithTimeout(timeout time.Duration) *GetFabricVSphereDatastoresParams

NewGetFabricVSphereDatastoresParamsWithTimeout creates a new GetFabricVSphereDatastoresParams object with the ability to set a timeout on a request.

func (*GetFabricVSphereDatastoresParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetContext

SetContext adds the context to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetDefaults added in v0.2.20

func (o *GetFabricVSphereDatastoresParams) SetDefaults()

SetDefaults hydrates default values in the get fabric v sphere datastores params (not the query body).

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

func (*GetFabricVSphereDatastoresParams) SetDollarCount added in v0.2.20

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

SetDollarCount adds the dollarCount to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetDollarFilter added in v0.2.12

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

SetDollarFilter adds the dollarFilter to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetDollarSelect added in v0.2.20

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

SetDollarSelect adds the dollarSelect to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetDollarSkip added in v0.2.20

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

SetDollarSkip adds the dollarSkip to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetDollarTop added in v0.2.20

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

SetDollarTop adds the dollarTop to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithContext

WithContext adds the context to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get fabric v sphere datastores params (not the query body).

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

func (*GetFabricVSphereDatastoresParams) WithDollarCount added in v0.2.20

WithDollarCount adds the dollarCount to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithDollarFilter added in v0.2.12

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

WithDollarFilter adds the dollarFilter to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithDollarSelect added in v0.2.20

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

WithDollarSelect adds the dollarSelect to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithDollarSkip added in v0.2.20

WithDollarSkip adds the dollarSkip to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithDollarTop added in v0.2.20

WithDollarTop adds the dollarTop to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithTimeout

WithTimeout adds the timeout to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricVSphereDatastoresReader

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

GetFabricVSphereDatastoresReader is a Reader for the GetFabricVSphereDatastores structure.

func (*GetFabricVSphereDatastoresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateFabricVsphereDatastoreForbidden added in v0.4.0

type UpdateFabricVsphereDatastoreForbidden struct {
	Payload *models.ServiceErrorResponse
}

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

Forbidden

func NewUpdateFabricVsphereDatastoreForbidden added in v0.4.0

func NewUpdateFabricVsphereDatastoreForbidden() *UpdateFabricVsphereDatastoreForbidden

NewUpdateFabricVsphereDatastoreForbidden creates a UpdateFabricVsphereDatastoreForbidden with default headers values

func (*UpdateFabricVsphereDatastoreForbidden) Error added in v0.4.0

func (*UpdateFabricVsphereDatastoreForbidden) GetPayload added in v0.4.0

func (*UpdateFabricVsphereDatastoreForbidden) IsClientError added in v0.5.0

func (o *UpdateFabricVsphereDatastoreForbidden) IsClientError() bool

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

func (*UpdateFabricVsphereDatastoreForbidden) IsCode added in v0.5.0

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

func (*UpdateFabricVsphereDatastoreForbidden) IsRedirect added in v0.5.0

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

func (*UpdateFabricVsphereDatastoreForbidden) IsServerError added in v0.5.0

func (o *UpdateFabricVsphereDatastoreForbidden) IsServerError() bool

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

func (*UpdateFabricVsphereDatastoreForbidden) IsSuccess added in v0.5.0

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

func (*UpdateFabricVsphereDatastoreForbidden) String added in v0.5.0

type UpdateFabricVsphereDatastoreNotFound added in v0.4.0

type UpdateFabricVsphereDatastoreNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewUpdateFabricVsphereDatastoreNotFound added in v0.4.0

func NewUpdateFabricVsphereDatastoreNotFound() *UpdateFabricVsphereDatastoreNotFound

NewUpdateFabricVsphereDatastoreNotFound creates a UpdateFabricVsphereDatastoreNotFound with default headers values

func (*UpdateFabricVsphereDatastoreNotFound) Error added in v0.4.0

func (*UpdateFabricVsphereDatastoreNotFound) GetPayload added in v0.4.0

func (*UpdateFabricVsphereDatastoreNotFound) IsClientError added in v0.5.0

func (o *UpdateFabricVsphereDatastoreNotFound) IsClientError() bool

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

func (*UpdateFabricVsphereDatastoreNotFound) IsCode added in v0.5.0

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

func (*UpdateFabricVsphereDatastoreNotFound) IsRedirect added in v0.5.0

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

func (*UpdateFabricVsphereDatastoreNotFound) IsServerError added in v0.5.0

func (o *UpdateFabricVsphereDatastoreNotFound) IsServerError() bool

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

func (*UpdateFabricVsphereDatastoreNotFound) IsSuccess added in v0.5.0

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

func (*UpdateFabricVsphereDatastoreNotFound) String added in v0.5.0

type UpdateFabricVsphereDatastoreOK added in v0.4.0

type UpdateFabricVsphereDatastoreOK struct {
	Payload *models.FabricVsphereDatastore
}

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

successful operation

func NewUpdateFabricVsphereDatastoreOK added in v0.4.0

func NewUpdateFabricVsphereDatastoreOK() *UpdateFabricVsphereDatastoreOK

NewUpdateFabricVsphereDatastoreOK creates a UpdateFabricVsphereDatastoreOK with default headers values

func (*UpdateFabricVsphereDatastoreOK) Error added in v0.4.0

func (*UpdateFabricVsphereDatastoreOK) GetPayload added in v0.4.0

func (*UpdateFabricVsphereDatastoreOK) IsClientError added in v0.5.0

func (o *UpdateFabricVsphereDatastoreOK) IsClientError() bool

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

func (*UpdateFabricVsphereDatastoreOK) IsCode added in v0.5.0

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

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

func (*UpdateFabricVsphereDatastoreOK) IsRedirect added in v0.5.0

func (o *UpdateFabricVsphereDatastoreOK) IsRedirect() bool

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

func (*UpdateFabricVsphereDatastoreOK) IsServerError added in v0.5.0

func (o *UpdateFabricVsphereDatastoreOK) IsServerError() bool

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

func (*UpdateFabricVsphereDatastoreOK) IsSuccess added in v0.5.0

func (o *UpdateFabricVsphereDatastoreOK) IsSuccess() bool

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

func (*UpdateFabricVsphereDatastoreOK) String added in v0.5.0

type UpdateFabricVsphereDatastoreParams added in v0.4.0

type UpdateFabricVsphereDatastoreParams 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 vSphere Datastore Specification
	*/
	Body *models.FabricVsphereDatastoreSpecification

	/* ID.

	   The ID of the Fabric Datastore.
	*/
	ID string

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

UpdateFabricVsphereDatastoreParams contains all the parameters to send to the API endpoint

for the update fabric vsphere datastore operation.

Typically these are written to a http.Request.

func NewUpdateFabricVsphereDatastoreParams added in v0.4.0

func NewUpdateFabricVsphereDatastoreParams() *UpdateFabricVsphereDatastoreParams

NewUpdateFabricVsphereDatastoreParams creates a new UpdateFabricVsphereDatastoreParams 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 NewUpdateFabricVsphereDatastoreParamsWithContext added in v0.4.0

func NewUpdateFabricVsphereDatastoreParamsWithContext(ctx context.Context) *UpdateFabricVsphereDatastoreParams

NewUpdateFabricVsphereDatastoreParamsWithContext creates a new UpdateFabricVsphereDatastoreParams object with the ability to set a context for a request.

func NewUpdateFabricVsphereDatastoreParamsWithHTTPClient added in v0.4.0

func NewUpdateFabricVsphereDatastoreParamsWithHTTPClient(client *http.Client) *UpdateFabricVsphereDatastoreParams

NewUpdateFabricVsphereDatastoreParamsWithHTTPClient creates a new UpdateFabricVsphereDatastoreParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFabricVsphereDatastoreParamsWithTimeout added in v0.4.0

func NewUpdateFabricVsphereDatastoreParamsWithTimeout(timeout time.Duration) *UpdateFabricVsphereDatastoreParams

NewUpdateFabricVsphereDatastoreParamsWithTimeout creates a new UpdateFabricVsphereDatastoreParams object with the ability to set a timeout on a request.

func (*UpdateFabricVsphereDatastoreParams) SetAPIVersion added in v0.4.0

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

SetAPIVersion adds the apiVersion to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) SetBody added in v0.4.0

SetBody adds the body to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) SetContext added in v0.4.0

SetContext adds the context to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) SetDefaults added in v0.4.0

func (o *UpdateFabricVsphereDatastoreParams) SetDefaults()

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

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

func (*UpdateFabricVsphereDatastoreParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) SetID added in v0.4.0

SetID adds the id to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) WithBody added in v0.4.0

WithBody adds the body to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) WithContext added in v0.4.0

WithContext adds the context to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) WithDefaults added in v0.4.0

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

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

func (*UpdateFabricVsphereDatastoreParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) WithID added in v0.4.0

WithID adds the id to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the update fabric vsphere datastore params

func (*UpdateFabricVsphereDatastoreParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type UpdateFabricVsphereDatastoreReader added in v0.4.0

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

UpdateFabricVsphereDatastoreReader is a Reader for the UpdateFabricVsphereDatastore structure.

func (*UpdateFabricVsphereDatastoreReader) ReadResponse added in v0.4.0

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