Documentation ¶
Index ¶
- type Client
- func (a *Client) GetFabricVSphereDatastore(params *GetFabricVSphereDatastoreParams, opts ...ClientOption) (*GetFabricVSphereDatastoreOK, error)
- func (a *Client) GetFabricVSphereDatastores(params *GetFabricVSphereDatastoresParams, opts ...ClientOption) (*GetFabricVSphereDatastoresOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFabricVsphereDatastore(params *UpdateFabricVsphereDatastoreParams, opts ...ClientOption) (*UpdateFabricVsphereDatastoreOK, error)
- type ClientOption
- type ClientService
- type GetFabricVSphereDatastoreForbidden
- func (o *GetFabricVSphereDatastoreForbidden) Error() string
- func (o *GetFabricVSphereDatastoreForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetFabricVSphereDatastoreForbidden) IsClientError() bool
- func (o *GetFabricVSphereDatastoreForbidden) IsCode(code int) bool
- func (o *GetFabricVSphereDatastoreForbidden) IsRedirect() bool
- func (o *GetFabricVSphereDatastoreForbidden) IsServerError() bool
- func (o *GetFabricVSphereDatastoreForbidden) IsSuccess() bool
- func (o *GetFabricVSphereDatastoreForbidden) String() string
- type GetFabricVSphereDatastoreNotFound
- func (o *GetFabricVSphereDatastoreNotFound) Error() string
- func (o *GetFabricVSphereDatastoreNotFound) GetPayload() *models.Error
- func (o *GetFabricVSphereDatastoreNotFound) IsClientError() bool
- func (o *GetFabricVSphereDatastoreNotFound) IsCode(code int) bool
- func (o *GetFabricVSphereDatastoreNotFound) IsRedirect() bool
- func (o *GetFabricVSphereDatastoreNotFound) IsServerError() bool
- func (o *GetFabricVSphereDatastoreNotFound) IsSuccess() bool
- func (o *GetFabricVSphereDatastoreNotFound) String() string
- type GetFabricVSphereDatastoreOK
- func (o *GetFabricVSphereDatastoreOK) Error() string
- func (o *GetFabricVSphereDatastoreOK) GetPayload() *models.FabricVsphereDatastore
- func (o *GetFabricVSphereDatastoreOK) IsClientError() bool
- func (o *GetFabricVSphereDatastoreOK) IsCode(code int) bool
- func (o *GetFabricVSphereDatastoreOK) IsRedirect() bool
- func (o *GetFabricVSphereDatastoreOK) IsServerError() bool
- func (o *GetFabricVSphereDatastoreOK) IsSuccess() bool
- func (o *GetFabricVSphereDatastoreOK) String() string
- type GetFabricVSphereDatastoreParams
- func NewGetFabricVSphereDatastoreParams() *GetFabricVSphereDatastoreParams
- func NewGetFabricVSphereDatastoreParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoreParams
- func NewGetFabricVSphereDatastoreParamsWithHTTPClient(client *http.Client) *GetFabricVSphereDatastoreParams
- func NewGetFabricVSphereDatastoreParamsWithTimeout(timeout time.Duration) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricVSphereDatastoreParams) SetContext(ctx context.Context)
- func (o *GetFabricVSphereDatastoreParams) SetDefaults()
- func (o *GetFabricVSphereDatastoreParams) SetDollarSelect(dollarSelect *string)
- func (o *GetFabricVSphereDatastoreParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricVSphereDatastoreParams) SetID(id string)
- func (o *GetFabricVSphereDatastoreParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricVSphereDatastoreParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithContext(ctx context.Context) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithDefaults() *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithDollarSelect(dollarSelect *string) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithHTTPClient(client *http.Client) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithID(id string) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithTimeout(timeout time.Duration) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricVSphereDatastoreReader
- type GetFabricVSphereDatastoresForbidden
- func (o *GetFabricVSphereDatastoresForbidden) Error() string
- func (o *GetFabricVSphereDatastoresForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetFabricVSphereDatastoresForbidden) IsClientError() bool
- func (o *GetFabricVSphereDatastoresForbidden) IsCode(code int) bool
- func (o *GetFabricVSphereDatastoresForbidden) IsRedirect() bool
- func (o *GetFabricVSphereDatastoresForbidden) IsServerError() bool
- func (o *GetFabricVSphereDatastoresForbidden) IsSuccess() bool
- func (o *GetFabricVSphereDatastoresForbidden) String() string
- type GetFabricVSphereDatastoresOK
- func (o *GetFabricVSphereDatastoresOK) Error() string
- func (o *GetFabricVSphereDatastoresOK) GetPayload() *models.FabricVsphereDatastoreResult
- func (o *GetFabricVSphereDatastoresOK) IsClientError() bool
- func (o *GetFabricVSphereDatastoresOK) IsCode(code int) bool
- func (o *GetFabricVSphereDatastoresOK) IsRedirect() bool
- func (o *GetFabricVSphereDatastoresOK) IsServerError() bool
- func (o *GetFabricVSphereDatastoresOK) IsSuccess() bool
- func (o *GetFabricVSphereDatastoresOK) String() string
- type GetFabricVSphereDatastoresParams
- func NewGetFabricVSphereDatastoresParams() *GetFabricVSphereDatastoresParams
- func NewGetFabricVSphereDatastoresParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoresParams
- func NewGetFabricVSphereDatastoresParamsWithHTTPClient(client *http.Client) *GetFabricVSphereDatastoresParams
- func NewGetFabricVSphereDatastoresParamsWithTimeout(timeout time.Duration) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricVSphereDatastoresParams) SetContext(ctx context.Context)
- func (o *GetFabricVSphereDatastoresParams) SetDefaults()
- func (o *GetFabricVSphereDatastoresParams) SetDollarCount(dollarCount *bool)
- func (o *GetFabricVSphereDatastoresParams) SetDollarFilter(dollarFilter *string)
- func (o *GetFabricVSphereDatastoresParams) SetDollarSelect(dollarSelect *string)
- func (o *GetFabricVSphereDatastoresParams) SetDollarSkip(dollarSkip *int64)
- func (o *GetFabricVSphereDatastoresParams) SetDollarTop(dollarTop *int64)
- func (o *GetFabricVSphereDatastoresParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricVSphereDatastoresParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricVSphereDatastoresParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithContext(ctx context.Context) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithDefaults() *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithDollarCount(dollarCount *bool) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithDollarFilter(dollarFilter *string) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithDollarSelect(dollarSelect *string) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithDollarSkip(dollarSkip *int64) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithDollarTop(dollarTop *int64) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithHTTPClient(client *http.Client) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithTimeout(timeout time.Duration) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricVSphereDatastoresReader
- type UpdateFabricVsphereDatastoreForbidden
- func (o *UpdateFabricVsphereDatastoreForbidden) Error() string
- func (o *UpdateFabricVsphereDatastoreForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *UpdateFabricVsphereDatastoreForbidden) IsClientError() bool
- func (o *UpdateFabricVsphereDatastoreForbidden) IsCode(code int) bool
- func (o *UpdateFabricVsphereDatastoreForbidden) IsRedirect() bool
- func (o *UpdateFabricVsphereDatastoreForbidden) IsServerError() bool
- func (o *UpdateFabricVsphereDatastoreForbidden) IsSuccess() bool
- func (o *UpdateFabricVsphereDatastoreForbidden) String() string
- type UpdateFabricVsphereDatastoreNotFound
- func (o *UpdateFabricVsphereDatastoreNotFound) Error() string
- func (o *UpdateFabricVsphereDatastoreNotFound) GetPayload() *models.Error
- func (o *UpdateFabricVsphereDatastoreNotFound) IsClientError() bool
- func (o *UpdateFabricVsphereDatastoreNotFound) IsCode(code int) bool
- func (o *UpdateFabricVsphereDatastoreNotFound) IsRedirect() bool
- func (o *UpdateFabricVsphereDatastoreNotFound) IsServerError() bool
- func (o *UpdateFabricVsphereDatastoreNotFound) IsSuccess() bool
- func (o *UpdateFabricVsphereDatastoreNotFound) String() string
- type UpdateFabricVsphereDatastoreOK
- func (o *UpdateFabricVsphereDatastoreOK) Error() string
- func (o *UpdateFabricVsphereDatastoreOK) GetPayload() *models.FabricVsphereDatastore
- func (o *UpdateFabricVsphereDatastoreOK) IsClientError() bool
- func (o *UpdateFabricVsphereDatastoreOK) IsCode(code int) bool
- func (o *UpdateFabricVsphereDatastoreOK) IsRedirect() bool
- func (o *UpdateFabricVsphereDatastoreOK) IsServerError() bool
- func (o *UpdateFabricVsphereDatastoreOK) IsSuccess() bool
- func (o *UpdateFabricVsphereDatastoreOK) String() string
- type UpdateFabricVsphereDatastoreParams
- func NewUpdateFabricVsphereDatastoreParams() *UpdateFabricVsphereDatastoreParams
- func NewUpdateFabricVsphereDatastoreParamsWithContext(ctx context.Context) *UpdateFabricVsphereDatastoreParams
- func NewUpdateFabricVsphereDatastoreParamsWithHTTPClient(client *http.Client) *UpdateFabricVsphereDatastoreParams
- func NewUpdateFabricVsphereDatastoreParamsWithTimeout(timeout time.Duration) *UpdateFabricVsphereDatastoreParams
- func (o *UpdateFabricVsphereDatastoreParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateFabricVsphereDatastoreParams) SetBody(body *models.FabricVsphereDatastoreSpecification)
- func (o *UpdateFabricVsphereDatastoreParams) SetContext(ctx context.Context)
- func (o *UpdateFabricVsphereDatastoreParams) SetDefaults()
- func (o *UpdateFabricVsphereDatastoreParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFabricVsphereDatastoreParams) SetID(id string)
- func (o *UpdateFabricVsphereDatastoreParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFabricVsphereDatastoreParams) WithAPIVersion(aPIVersion *string) *UpdateFabricVsphereDatastoreParams
- func (o *UpdateFabricVsphereDatastoreParams) WithBody(body *models.FabricVsphereDatastoreSpecification) *UpdateFabricVsphereDatastoreParams
- func (o *UpdateFabricVsphereDatastoreParams) WithContext(ctx context.Context) *UpdateFabricVsphereDatastoreParams
- func (o *UpdateFabricVsphereDatastoreParams) WithDefaults() *UpdateFabricVsphereDatastoreParams
- func (o *UpdateFabricVsphereDatastoreParams) WithHTTPClient(client *http.Client) *UpdateFabricVsphereDatastoreParams
- func (o *UpdateFabricVsphereDatastoreParams) WithID(id string) *UpdateFabricVsphereDatastoreParams
- func (o *UpdateFabricVsphereDatastoreParams) WithTimeout(timeout time.Duration) *UpdateFabricVsphereDatastoreParams
- func (o *UpdateFabricVsphereDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFabricVsphereDatastoreReader
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 (o *GetFabricVSphereDatastoreForbidden) Error() string
func (*GetFabricVSphereDatastoreForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFabricVSphereDatastoreForbidden) GetPayload() *models.ServiceErrorResponse
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
func (o *GetFabricVSphereDatastoreForbidden) IsCode(code int) bool
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
func (o *GetFabricVSphereDatastoreForbidden) IsSuccess() bool
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
func (o *GetFabricVSphereDatastoreForbidden) String() string
type GetFabricVSphereDatastoreNotFound ¶
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 (o *GetFabricVSphereDatastoreNotFound) Error() string
func (*GetFabricVSphereDatastoreNotFound) GetPayload ¶ added in v0.2.9
func (o *GetFabricVSphereDatastoreNotFound) GetPayload() *models.Error
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
func (o *GetFabricVSphereDatastoreNotFound) String() string
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 (o *GetFabricVSphereDatastoreOK) Error() string
func (*GetFabricVSphereDatastoreOK) GetPayload ¶
func (o *GetFabricVSphereDatastoreOK) GetPayload() *models.FabricVsphereDatastore
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 ¶
func (o *GetFabricVSphereDatastoreParams) SetID(id string)
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 ¶
func (o *GetFabricVSphereDatastoreParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereDatastoreParams
WithAPIVersion adds the aPIVersion to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithContext ¶
func (o *GetFabricVSphereDatastoreParams) WithContext(ctx context.Context) *GetFabricVSphereDatastoreParams
WithContext adds the context to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithDefaults ¶ added in v0.2.20
func (o *GetFabricVSphereDatastoreParams) WithDefaults() *GetFabricVSphereDatastoreParams
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 ¶
func (o *GetFabricVSphereDatastoreParams) WithHTTPClient(client *http.Client) *GetFabricVSphereDatastoreParams
WithHTTPClient adds the HTTPClient to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithID ¶
func (o *GetFabricVSphereDatastoreParams) WithID(id string) *GetFabricVSphereDatastoreParams
WithID adds the id to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithTimeout ¶
func (o *GetFabricVSphereDatastoreParams) WithTimeout(timeout time.Duration) *GetFabricVSphereDatastoreParams
WithTimeout adds the timeout to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WriteToRequest ¶
func (o *GetFabricVSphereDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetFabricVSphereDatastoresForbidden) Error() string
func (*GetFabricVSphereDatastoresForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFabricVSphereDatastoresForbidden) GetPayload() *models.ServiceErrorResponse
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
func (o *GetFabricVSphereDatastoresForbidden) IsCode(code int) bool
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
func (o *GetFabricVSphereDatastoresForbidden) IsSuccess() bool
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
func (o *GetFabricVSphereDatastoresForbidden) String() string
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 (o *GetFabricVSphereDatastoresOK) Error() string
func (*GetFabricVSphereDatastoresOK) GetPayload ¶
func (o *GetFabricVSphereDatastoresOK) GetPayload() *models.FabricVsphereDatastoreResult
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
func (o *GetFabricVSphereDatastoresOK) String() string
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 ¶
func (o *GetFabricVSphereDatastoresParams) SetContext(ctx context.Context)
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 ¶
func (o *GetFabricVSphereDatastoresParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereDatastoresParams
WithAPIVersion adds the aPIVersion to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithContext ¶
func (o *GetFabricVSphereDatastoresParams) WithContext(ctx context.Context) *GetFabricVSphereDatastoresParams
WithContext adds the context to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithDefaults ¶ added in v0.2.20
func (o *GetFabricVSphereDatastoresParams) WithDefaults() *GetFabricVSphereDatastoresParams
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
func (o *GetFabricVSphereDatastoresParams) WithDollarCount(dollarCount *bool) *GetFabricVSphereDatastoresParams
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
func (o *GetFabricVSphereDatastoresParams) WithDollarSkip(dollarSkip *int64) *GetFabricVSphereDatastoresParams
WithDollarSkip adds the dollarSkip to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithDollarTop ¶ added in v0.2.20
func (o *GetFabricVSphereDatastoresParams) WithDollarTop(dollarTop *int64) *GetFabricVSphereDatastoresParams
WithDollarTop adds the dollarTop to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithHTTPClient ¶
func (o *GetFabricVSphereDatastoresParams) WithHTTPClient(client *http.Client) *GetFabricVSphereDatastoresParams
WithHTTPClient adds the HTTPClient to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithTimeout ¶
func (o *GetFabricVSphereDatastoresParams) WithTimeout(timeout time.Duration) *GetFabricVSphereDatastoresParams
WithTimeout adds the timeout to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WriteToRequest ¶
func (o *GetFabricVSphereDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateFabricVsphereDatastoreForbidden) Error() string
func (*UpdateFabricVsphereDatastoreForbidden) GetPayload ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreForbidden) GetPayload() *models.ServiceErrorResponse
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
func (o *UpdateFabricVsphereDatastoreForbidden) IsCode(code int) bool
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
func (o *UpdateFabricVsphereDatastoreForbidden) IsRedirect() bool
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
func (o *UpdateFabricVsphereDatastoreForbidden) IsSuccess() bool
IsSuccess returns true when this update fabric vsphere datastore forbidden response has a 2xx status code
func (*UpdateFabricVsphereDatastoreForbidden) String ¶ added in v0.5.0
func (o *UpdateFabricVsphereDatastoreForbidden) String() string
type UpdateFabricVsphereDatastoreNotFound ¶ added in v0.4.0
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 (o *UpdateFabricVsphereDatastoreNotFound) Error() string
func (*UpdateFabricVsphereDatastoreNotFound) GetPayload ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreNotFound) GetPayload() *models.Error
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
func (o *UpdateFabricVsphereDatastoreNotFound) IsCode(code int) bool
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
func (o *UpdateFabricVsphereDatastoreNotFound) IsRedirect() bool
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
func (o *UpdateFabricVsphereDatastoreNotFound) IsSuccess() bool
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
func (o *UpdateFabricVsphereDatastoreNotFound) String() string
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 (o *UpdateFabricVsphereDatastoreOK) Error() string
func (*UpdateFabricVsphereDatastoreOK) GetPayload ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreOK) GetPayload() *models.FabricVsphereDatastore
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
func (o *UpdateFabricVsphereDatastoreOK) String() string
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
func (o *UpdateFabricVsphereDatastoreParams) SetBody(body *models.FabricVsphereDatastoreSpecification)
SetBody adds the body to the update fabric vsphere datastore params
func (*UpdateFabricVsphereDatastoreParams) SetContext ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreParams) SetContext(ctx context.Context)
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
func (o *UpdateFabricVsphereDatastoreParams) SetID(id string)
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
func (o *UpdateFabricVsphereDatastoreParams) WithAPIVersion(aPIVersion *string) *UpdateFabricVsphereDatastoreParams
WithAPIVersion adds the aPIVersion to the update fabric vsphere datastore params
func (*UpdateFabricVsphereDatastoreParams) WithBody ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreParams) WithBody(body *models.FabricVsphereDatastoreSpecification) *UpdateFabricVsphereDatastoreParams
WithBody adds the body to the update fabric vsphere datastore params
func (*UpdateFabricVsphereDatastoreParams) WithContext ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreParams) WithContext(ctx context.Context) *UpdateFabricVsphereDatastoreParams
WithContext adds the context to the update fabric vsphere datastore params
func (*UpdateFabricVsphereDatastoreParams) WithDefaults ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreParams) WithDefaults() *UpdateFabricVsphereDatastoreParams
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
func (o *UpdateFabricVsphereDatastoreParams) WithHTTPClient(client *http.Client) *UpdateFabricVsphereDatastoreParams
WithHTTPClient adds the HTTPClient to the update fabric vsphere datastore params
func (*UpdateFabricVsphereDatastoreParams) WithID ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreParams) WithID(id string) *UpdateFabricVsphereDatastoreParams
WithID adds the id to the update fabric vsphere datastore params
func (*UpdateFabricVsphereDatastoreParams) WithTimeout ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreParams) WithTimeout(timeout time.Duration) *UpdateFabricVsphereDatastoreParams
WithTimeout adds the timeout to the update fabric vsphere datastore params
func (*UpdateFabricVsphereDatastoreParams) WriteToRequest ¶ added in v0.4.0
func (o *UpdateFabricVsphereDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.