Documentation ¶
Index ¶
- type Client
- func (a *Client) GetFabricVSphereStoragePolicies(params *GetFabricVSphereStoragePoliciesParams, opts ...ClientOption) (*GetFabricVSphereStoragePoliciesOK, error)
- func (a *Client) GetFabricVSphereStoragePolicy(params *GetFabricVSphereStoragePolicyParams, opts ...ClientOption) (*GetFabricVSphereStoragePolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetFabricVSphereStoragePoliciesForbidden
- type GetFabricVSphereStoragePoliciesOK
- type GetFabricVSphereStoragePoliciesParams
- func NewGetFabricVSphereStoragePoliciesParams() *GetFabricVSphereStoragePoliciesParams
- func NewGetFabricVSphereStoragePoliciesParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams
- func NewGetFabricVSphereStoragePoliciesParamsWithHTTPClient(client *http.Client) *GetFabricVSphereStoragePoliciesParams
- func NewGetFabricVSphereStoragePoliciesParamsWithTimeout(timeout time.Duration) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricVSphereStoragePoliciesParams) SetContext(ctx context.Context)
- func (o *GetFabricVSphereStoragePoliciesParams) SetDefaults()
- func (o *GetFabricVSphereStoragePoliciesParams) SetDollarCount(dollarCount *bool)
- func (o *GetFabricVSphereStoragePoliciesParams) SetDollarFilter(dollarFilter *string)
- func (o *GetFabricVSphereStoragePoliciesParams) SetDollarSelect(dollarSelect *string)
- func (o *GetFabricVSphereStoragePoliciesParams) SetDollarSkip(dollarSkip *int64)
- func (o *GetFabricVSphereStoragePoliciesParams) SetDollarTop(dollarTop *int64)
- func (o *GetFabricVSphereStoragePoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricVSphereStoragePoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricVSphereStoragePoliciesParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithDefaults() *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithDollarCount(dollarCount *bool) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithDollarFilter(dollarFilter *string) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithDollarSelect(dollarSelect *string) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithDollarSkip(dollarSkip *int64) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithDollarTop(dollarTop *int64) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithHTTPClient(client *http.Client) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithTimeout(timeout time.Duration) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricVSphereStoragePoliciesReader
- type GetFabricVSphereStoragePolicyForbidden
- type GetFabricVSphereStoragePolicyNotFound
- type GetFabricVSphereStoragePolicyOK
- type GetFabricVSphereStoragePolicyParams
- func NewGetFabricVSphereStoragePolicyParams() *GetFabricVSphereStoragePolicyParams
- func NewGetFabricVSphereStoragePolicyParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams
- func NewGetFabricVSphereStoragePolicyParamsWithHTTPClient(client *http.Client) *GetFabricVSphereStoragePolicyParams
- func NewGetFabricVSphereStoragePolicyParamsWithTimeout(timeout time.Duration) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricVSphereStoragePolicyParams) SetContext(ctx context.Context)
- func (o *GetFabricVSphereStoragePolicyParams) SetDefaults()
- func (o *GetFabricVSphereStoragePolicyParams) SetDollarSelect(dollarSelect *string)
- func (o *GetFabricVSphereStoragePolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricVSphereStoragePolicyParams) SetID(id string)
- func (o *GetFabricVSphereStoragePolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricVSphereStoragePolicyParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithDefaults() *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithDollarSelect(dollarSelect *string) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithHTTPClient(client *http.Client) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithID(id string) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithTimeout(timeout time.Duration) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricVSphereStoragePolicyReader
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 storage policies API
func (*Client) GetFabricVSphereStoragePolicies ¶
func (a *Client) GetFabricVSphereStoragePolicies(params *GetFabricVSphereStoragePoliciesParams, opts ...ClientOption) (*GetFabricVSphereStoragePoliciesOK, error)
GetFabricVSphereStoragePolicies gets fabric v sphere storage polices
Get all fabric vSphere storage polices.
func (*Client) GetFabricVSphereStoragePolicy ¶
func (a *Client) GetFabricVSphereStoragePolicy(params *GetFabricVSphereStoragePolicyParams, opts ...ClientOption) (*GetFabricVSphereStoragePolicyOK, error)
GetFabricVSphereStoragePolicy gets fabric v sphere storage policy
Get fabric vSphere storage policy with a given id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
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 { GetFabricVSphereStoragePolicies(params *GetFabricVSphereStoragePoliciesParams, opts ...ClientOption) (*GetFabricVSphereStoragePoliciesOK, error) GetFabricVSphereStoragePolicy(params *GetFabricVSphereStoragePolicyParams, opts ...ClientOption) (*GetFabricVSphereStoragePolicyOK, 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 storage policies API client.
type GetFabricVSphereStoragePoliciesForbidden ¶
type GetFabricVSphereStoragePoliciesForbidden struct {
Payload *models.ServiceErrorResponse
}
GetFabricVSphereStoragePoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetFabricVSphereStoragePoliciesForbidden ¶
func NewGetFabricVSphereStoragePoliciesForbidden() *GetFabricVSphereStoragePoliciesForbidden
NewGetFabricVSphereStoragePoliciesForbidden creates a GetFabricVSphereStoragePoliciesForbidden with default headers values
func (*GetFabricVSphereStoragePoliciesForbidden) Error ¶
func (o *GetFabricVSphereStoragePoliciesForbidden) Error() string
func (*GetFabricVSphereStoragePoliciesForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesForbidden) GetPayload() *models.ServiceErrorResponse
type GetFabricVSphereStoragePoliciesOK ¶
type GetFabricVSphereStoragePoliciesOK struct {
Payload *models.FabricVsphereStoragePolicyResult
}
GetFabricVSphereStoragePoliciesOK describes a response with status code 200, with default header values.
successful operation
func NewGetFabricVSphereStoragePoliciesOK ¶
func NewGetFabricVSphereStoragePoliciesOK() *GetFabricVSphereStoragePoliciesOK
NewGetFabricVSphereStoragePoliciesOK creates a GetFabricVSphereStoragePoliciesOK with default headers values
func (*GetFabricVSphereStoragePoliciesOK) Error ¶
func (o *GetFabricVSphereStoragePoliciesOK) Error() string
func (*GetFabricVSphereStoragePoliciesOK) GetPayload ¶
func (o *GetFabricVSphereStoragePoliciesOK) GetPayload() *models.FabricVsphereStoragePolicyResult
type GetFabricVSphereStoragePoliciesParams ¶
type GetFabricVSphereStoragePoliciesParams struct { /* DollarCount. Flag which when specified 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 }
GetFabricVSphereStoragePoliciesParams contains all the parameters to send to the API endpoint
for the get fabric v sphere storage policies operation. Typically these are written to a http.Request.
func NewGetFabricVSphereStoragePoliciesParams ¶
func NewGetFabricVSphereStoragePoliciesParams() *GetFabricVSphereStoragePoliciesParams
NewGetFabricVSphereStoragePoliciesParams creates a new GetFabricVSphereStoragePoliciesParams 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 NewGetFabricVSphereStoragePoliciesParamsWithContext ¶
func NewGetFabricVSphereStoragePoliciesParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams
NewGetFabricVSphereStoragePoliciesParamsWithContext creates a new GetFabricVSphereStoragePoliciesParams object with the ability to set a context for a request.
func NewGetFabricVSphereStoragePoliciesParamsWithHTTPClient ¶
func NewGetFabricVSphereStoragePoliciesParamsWithHTTPClient(client *http.Client) *GetFabricVSphereStoragePoliciesParams
NewGetFabricVSphereStoragePoliciesParamsWithHTTPClient creates a new GetFabricVSphereStoragePoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewGetFabricVSphereStoragePoliciesParamsWithTimeout ¶
func NewGetFabricVSphereStoragePoliciesParamsWithTimeout(timeout time.Duration) *GetFabricVSphereStoragePoliciesParams
NewGetFabricVSphereStoragePoliciesParamsWithTimeout creates a new GetFabricVSphereStoragePoliciesParams object with the ability to set a timeout on a request.
func (*GetFabricVSphereStoragePoliciesParams) SetAPIVersion ¶
func (o *GetFabricVSphereStoragePoliciesParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) SetContext ¶
func (o *GetFabricVSphereStoragePoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) SetDefaults ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) SetDefaults()
SetDefaults hydrates default values in the get fabric v sphere storage policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricVSphereStoragePoliciesParams) SetDollarCount ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) SetDollarFilter ¶ added in v0.2.12
func (o *GetFabricVSphereStoragePoliciesParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) SetDollarSelect ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) SetDollarSkip ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) SetDollarSkip(dollarSkip *int64)
SetDollarSkip adds the dollarSkip to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) SetDollarTop ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) SetHTTPClient ¶
func (o *GetFabricVSphereStoragePoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) SetTimeout ¶
func (o *GetFabricVSphereStoragePoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithAPIVersion ¶
func (o *GetFabricVSphereStoragePoliciesParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereStoragePoliciesParams
WithAPIVersion adds the aPIVersion to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithContext ¶
func (o *GetFabricVSphereStoragePoliciesParams) WithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams
WithContext adds the context to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithDefaults ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) WithDefaults() *GetFabricVSphereStoragePoliciesParams
WithDefaults hydrates default values in the get fabric v sphere storage policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricVSphereStoragePoliciesParams) WithDollarCount ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) WithDollarCount(dollarCount *bool) *GetFabricVSphereStoragePoliciesParams
WithDollarCount adds the dollarCount to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithDollarFilter ¶ added in v0.2.12
func (o *GetFabricVSphereStoragePoliciesParams) WithDollarFilter(dollarFilter *string) *GetFabricVSphereStoragePoliciesParams
WithDollarFilter adds the dollarFilter to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithDollarSelect ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) WithDollarSelect(dollarSelect *string) *GetFabricVSphereStoragePoliciesParams
WithDollarSelect adds the dollarSelect to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithDollarSkip ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) WithDollarSkip(dollarSkip *int64) *GetFabricVSphereStoragePoliciesParams
WithDollarSkip adds the dollarSkip to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithDollarTop ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePoliciesParams) WithDollarTop(dollarTop *int64) *GetFabricVSphereStoragePoliciesParams
WithDollarTop adds the dollarTop to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithHTTPClient ¶
func (o *GetFabricVSphereStoragePoliciesParams) WithHTTPClient(client *http.Client) *GetFabricVSphereStoragePoliciesParams
WithHTTPClient adds the HTTPClient to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithTimeout ¶
func (o *GetFabricVSphereStoragePoliciesParams) WithTimeout(timeout time.Duration) *GetFabricVSphereStoragePoliciesParams
WithTimeout adds the timeout to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WriteToRequest ¶
func (o *GetFabricVSphereStoragePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFabricVSphereStoragePoliciesReader ¶
type GetFabricVSphereStoragePoliciesReader struct {
// contains filtered or unexported fields
}
GetFabricVSphereStoragePoliciesReader is a Reader for the GetFabricVSphereStoragePolicies structure.
func (*GetFabricVSphereStoragePoliciesReader) ReadResponse ¶
func (o *GetFabricVSphereStoragePoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFabricVSphereStoragePolicyForbidden ¶
type GetFabricVSphereStoragePolicyForbidden struct {
Payload *models.ServiceErrorResponse
}
GetFabricVSphereStoragePolicyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetFabricVSphereStoragePolicyForbidden ¶
func NewGetFabricVSphereStoragePolicyForbidden() *GetFabricVSphereStoragePolicyForbidden
NewGetFabricVSphereStoragePolicyForbidden creates a GetFabricVSphereStoragePolicyForbidden with default headers values
func (*GetFabricVSphereStoragePolicyForbidden) Error ¶
func (o *GetFabricVSphereStoragePolicyForbidden) Error() string
func (*GetFabricVSphereStoragePolicyForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePolicyForbidden) GetPayload() *models.ServiceErrorResponse
type GetFabricVSphereStoragePolicyNotFound ¶
GetFabricVSphereStoragePolicyNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetFabricVSphereStoragePolicyNotFound ¶
func NewGetFabricVSphereStoragePolicyNotFound() *GetFabricVSphereStoragePolicyNotFound
NewGetFabricVSphereStoragePolicyNotFound creates a GetFabricVSphereStoragePolicyNotFound with default headers values
func (*GetFabricVSphereStoragePolicyNotFound) Error ¶
func (o *GetFabricVSphereStoragePolicyNotFound) Error() string
func (*GetFabricVSphereStoragePolicyNotFound) GetPayload ¶ added in v0.2.9
func (o *GetFabricVSphereStoragePolicyNotFound) GetPayload() *models.Error
type GetFabricVSphereStoragePolicyOK ¶
type GetFabricVSphereStoragePolicyOK struct {
Payload *models.FabricVsphereStoragePolicy
}
GetFabricVSphereStoragePolicyOK describes a response with status code 200, with default header values.
successful operation
func NewGetFabricVSphereStoragePolicyOK ¶
func NewGetFabricVSphereStoragePolicyOK() *GetFabricVSphereStoragePolicyOK
NewGetFabricVSphereStoragePolicyOK creates a GetFabricVSphereStoragePolicyOK with default headers values
func (*GetFabricVSphereStoragePolicyOK) Error ¶
func (o *GetFabricVSphereStoragePolicyOK) Error() string
func (*GetFabricVSphereStoragePolicyOK) GetPayload ¶
func (o *GetFabricVSphereStoragePolicyOK) GetPayload() *models.FabricVsphereStoragePolicy
type GetFabricVSphereStoragePolicyParams ¶
type GetFabricVSphereStoragePolicyParams 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 Storage Policy. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFabricVSphereStoragePolicyParams contains all the parameters to send to the API endpoint
for the get fabric v sphere storage policy operation. Typically these are written to a http.Request.
func NewGetFabricVSphereStoragePolicyParams ¶
func NewGetFabricVSphereStoragePolicyParams() *GetFabricVSphereStoragePolicyParams
NewGetFabricVSphereStoragePolicyParams creates a new GetFabricVSphereStoragePolicyParams 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 NewGetFabricVSphereStoragePolicyParamsWithContext ¶
func NewGetFabricVSphereStoragePolicyParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams
NewGetFabricVSphereStoragePolicyParamsWithContext creates a new GetFabricVSphereStoragePolicyParams object with the ability to set a context for a request.
func NewGetFabricVSphereStoragePolicyParamsWithHTTPClient ¶
func NewGetFabricVSphereStoragePolicyParamsWithHTTPClient(client *http.Client) *GetFabricVSphereStoragePolicyParams
NewGetFabricVSphereStoragePolicyParamsWithHTTPClient creates a new GetFabricVSphereStoragePolicyParams object with the ability to set a custom HTTPClient for a request.
func NewGetFabricVSphereStoragePolicyParamsWithTimeout ¶
func NewGetFabricVSphereStoragePolicyParamsWithTimeout(timeout time.Duration) *GetFabricVSphereStoragePolicyParams
NewGetFabricVSphereStoragePolicyParamsWithTimeout creates a new GetFabricVSphereStoragePolicyParams object with the ability to set a timeout on a request.
func (*GetFabricVSphereStoragePolicyParams) SetAPIVersion ¶
func (o *GetFabricVSphereStoragePolicyParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) SetContext ¶
func (o *GetFabricVSphereStoragePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) SetDefaults ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePolicyParams) SetDefaults()
SetDefaults hydrates default values in the get fabric v sphere storage policy params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricVSphereStoragePolicyParams) SetDollarSelect ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePolicyParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) SetHTTPClient ¶
func (o *GetFabricVSphereStoragePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) SetID ¶
func (o *GetFabricVSphereStoragePolicyParams) SetID(id string)
SetID adds the id to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) SetTimeout ¶
func (o *GetFabricVSphereStoragePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithAPIVersion ¶
func (o *GetFabricVSphereStoragePolicyParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereStoragePolicyParams
WithAPIVersion adds the aPIVersion to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithContext ¶
func (o *GetFabricVSphereStoragePolicyParams) WithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams
WithContext adds the context to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithDefaults ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePolicyParams) WithDefaults() *GetFabricVSphereStoragePolicyParams
WithDefaults hydrates default values in the get fabric v sphere storage policy params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricVSphereStoragePolicyParams) WithDollarSelect ¶ added in v0.2.20
func (o *GetFabricVSphereStoragePolicyParams) WithDollarSelect(dollarSelect *string) *GetFabricVSphereStoragePolicyParams
WithDollarSelect adds the dollarSelect to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithHTTPClient ¶
func (o *GetFabricVSphereStoragePolicyParams) WithHTTPClient(client *http.Client) *GetFabricVSphereStoragePolicyParams
WithHTTPClient adds the HTTPClient to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithID ¶
func (o *GetFabricVSphereStoragePolicyParams) WithID(id string) *GetFabricVSphereStoragePolicyParams
WithID adds the id to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithTimeout ¶
func (o *GetFabricVSphereStoragePolicyParams) WithTimeout(timeout time.Duration) *GetFabricVSphereStoragePolicyParams
WithTimeout adds the timeout to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WriteToRequest ¶
func (o *GetFabricVSphereStoragePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFabricVSphereStoragePolicyReader ¶
type GetFabricVSphereStoragePolicyReader struct {
// contains filtered or unexported fields
}
GetFabricVSphereStoragePolicyReader is a Reader for the GetFabricVSphereStoragePolicy structure.
func (*GetFabricVSphereStoragePolicyReader) ReadResponse ¶
func (o *GetFabricVSphereStoragePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.