Documentation
¶
Index ¶
- type Client
- func (a *Client) GetFabricCompute(params *GetFabricComputeParams, opts ...ClientOption) (*GetFabricComputeOK, error)
- func (a *Client) GetFabricComputes(params *GetFabricComputesParams, opts ...ClientOption) (*GetFabricComputesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFabricCompute(params *UpdateFabricComputeParams, opts ...ClientOption) (*UpdateFabricComputeOK, error)
- type ClientOption
- type ClientService
- type GetFabricComputeForbidden
- type GetFabricComputeNotFound
- type GetFabricComputeOK
- type GetFabricComputeParams
- func NewGetFabricComputeParams() *GetFabricComputeParams
- func NewGetFabricComputeParamsWithContext(ctx context.Context) *GetFabricComputeParams
- func NewGetFabricComputeParamsWithHTTPClient(client *http.Client) *GetFabricComputeParams
- func NewGetFabricComputeParamsWithTimeout(timeout time.Duration) *GetFabricComputeParams
- func (o *GetFabricComputeParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricComputeParams) SetContext(ctx context.Context)
- func (o *GetFabricComputeParams) SetDefaults()
- func (o *GetFabricComputeParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricComputeParams) SetID(id string)
- func (o *GetFabricComputeParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricComputeParams) WithAPIVersion(aPIVersion *string) *GetFabricComputeParams
- func (o *GetFabricComputeParams) WithContext(ctx context.Context) *GetFabricComputeParams
- func (o *GetFabricComputeParams) WithDefaults() *GetFabricComputeParams
- func (o *GetFabricComputeParams) WithHTTPClient(client *http.Client) *GetFabricComputeParams
- func (o *GetFabricComputeParams) WithID(id string) *GetFabricComputeParams
- func (o *GetFabricComputeParams) WithTimeout(timeout time.Duration) *GetFabricComputeParams
- func (o *GetFabricComputeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricComputeReader
- type GetFabricComputesForbidden
- type GetFabricComputesOK
- type GetFabricComputesParams
- func NewGetFabricComputesParams() *GetFabricComputesParams
- func NewGetFabricComputesParamsWithContext(ctx context.Context) *GetFabricComputesParams
- func NewGetFabricComputesParamsWithHTTPClient(client *http.Client) *GetFabricComputesParams
- func NewGetFabricComputesParamsWithTimeout(timeout time.Duration) *GetFabricComputesParams
- func (o *GetFabricComputesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricComputesParams) SetContext(ctx context.Context)
- func (o *GetFabricComputesParams) SetDefaults()
- func (o *GetFabricComputesParams) SetDollarCount(dollarCount *bool)
- func (o *GetFabricComputesParams) SetDollarFilter(dollarFilter *string)
- func (o *GetFabricComputesParams) SetDollarSkip(dollarSkip *int64)
- func (o *GetFabricComputesParams) SetDollarTop(dollarTop *int64)
- func (o *GetFabricComputesParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricComputesParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricComputesParams) WithAPIVersion(aPIVersion *string) *GetFabricComputesParams
- func (o *GetFabricComputesParams) WithContext(ctx context.Context) *GetFabricComputesParams
- func (o *GetFabricComputesParams) WithDefaults() *GetFabricComputesParams
- func (o *GetFabricComputesParams) WithDollarCount(dollarCount *bool) *GetFabricComputesParams
- func (o *GetFabricComputesParams) WithDollarFilter(dollarFilter *string) *GetFabricComputesParams
- func (o *GetFabricComputesParams) WithDollarSkip(dollarSkip *int64) *GetFabricComputesParams
- func (o *GetFabricComputesParams) WithDollarTop(dollarTop *int64) *GetFabricComputesParams
- func (o *GetFabricComputesParams) WithHTTPClient(client *http.Client) *GetFabricComputesParams
- func (o *GetFabricComputesParams) WithTimeout(timeout time.Duration) *GetFabricComputesParams
- func (o *GetFabricComputesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricComputesReader
- type UpdateFabricComputeForbidden
- type UpdateFabricComputeNotFound
- type UpdateFabricComputeOK
- type UpdateFabricComputeParams
- func NewUpdateFabricComputeParams() *UpdateFabricComputeParams
- func NewUpdateFabricComputeParamsWithContext(ctx context.Context) *UpdateFabricComputeParams
- func NewUpdateFabricComputeParamsWithHTTPClient(client *http.Client) *UpdateFabricComputeParams
- func NewUpdateFabricComputeParamsWithTimeout(timeout time.Duration) *UpdateFabricComputeParams
- func (o *UpdateFabricComputeParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateFabricComputeParams) SetBody(body *models.FabricComputeSpecification)
- func (o *UpdateFabricComputeParams) SetContext(ctx context.Context)
- func (o *UpdateFabricComputeParams) SetDefaults()
- func (o *UpdateFabricComputeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFabricComputeParams) SetID(id string)
- func (o *UpdateFabricComputeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFabricComputeParams) WithAPIVersion(aPIVersion *string) *UpdateFabricComputeParams
- func (o *UpdateFabricComputeParams) WithBody(body *models.FabricComputeSpecification) *UpdateFabricComputeParams
- func (o *UpdateFabricComputeParams) WithContext(ctx context.Context) *UpdateFabricComputeParams
- func (o *UpdateFabricComputeParams) WithDefaults() *UpdateFabricComputeParams
- func (o *UpdateFabricComputeParams) WithHTTPClient(client *http.Client) *UpdateFabricComputeParams
- func (o *UpdateFabricComputeParams) WithID(id string) *UpdateFabricComputeParams
- func (o *UpdateFabricComputeParams) WithTimeout(timeout time.Duration) *UpdateFabricComputeParams
- func (o *UpdateFabricComputeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFabricComputeReader
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 compute API
func (*Client) GetFabricCompute ¶
func (a *Client) GetFabricCompute(params *GetFabricComputeParams, opts ...ClientOption) (*GetFabricComputeOK, error)
GetFabricCompute gets fabric compute
Get fabric compute with a given id
func (*Client) GetFabricComputes ¶
func (a *Client) GetFabricComputes(params *GetFabricComputesParams, opts ...ClientOption) (*GetFabricComputesOK, error)
GetFabricComputes gets fabric computes
Get all fabric computes.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateFabricCompute ¶
func (a *Client) UpdateFabricCompute(params *UpdateFabricComputeParams, opts ...ClientOption) (*UpdateFabricComputeOK, error)
UpdateFabricCompute updates fabric compute
Update fabric compute. 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 { GetFabricCompute(params *GetFabricComputeParams, opts ...ClientOption) (*GetFabricComputeOK, error) GetFabricComputes(params *GetFabricComputesParams, opts ...ClientOption) (*GetFabricComputesOK, error) UpdateFabricCompute(params *UpdateFabricComputeParams, opts ...ClientOption) (*UpdateFabricComputeOK, 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 compute API client.
type GetFabricComputeForbidden ¶
type GetFabricComputeForbidden struct {
Payload *models.ServiceErrorResponse
}
GetFabricComputeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetFabricComputeForbidden ¶
func NewGetFabricComputeForbidden() *GetFabricComputeForbidden
NewGetFabricComputeForbidden creates a GetFabricComputeForbidden with default headers values
func (*GetFabricComputeForbidden) Error ¶
func (o *GetFabricComputeForbidden) Error() string
func (*GetFabricComputeForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFabricComputeForbidden) GetPayload() *models.ServiceErrorResponse
type GetFabricComputeNotFound ¶
GetFabricComputeNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetFabricComputeNotFound ¶
func NewGetFabricComputeNotFound() *GetFabricComputeNotFound
NewGetFabricComputeNotFound creates a GetFabricComputeNotFound with default headers values
func (*GetFabricComputeNotFound) Error ¶
func (o *GetFabricComputeNotFound) Error() string
func (*GetFabricComputeNotFound) GetPayload ¶ added in v0.2.9
func (o *GetFabricComputeNotFound) GetPayload() *models.Error
type GetFabricComputeOK ¶
type GetFabricComputeOK struct {
Payload *models.FabricCompute
}
GetFabricComputeOK describes a response with status code 200, with default header values.
successful operation
func NewGetFabricComputeOK ¶
func NewGetFabricComputeOK() *GetFabricComputeOK
NewGetFabricComputeOK creates a GetFabricComputeOK with default headers values
func (*GetFabricComputeOK) Error ¶
func (o *GetFabricComputeOK) Error() string
func (*GetFabricComputeOK) GetPayload ¶
func (o *GetFabricComputeOK) GetPayload() *models.FabricCompute
type GetFabricComputeParams ¶
type GetFabricComputeParams struct { /* 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 compute. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFabricComputeParams contains all the parameters to send to the API endpoint
for the get fabric compute operation. Typically these are written to a http.Request.
func NewGetFabricComputeParams ¶
func NewGetFabricComputeParams() *GetFabricComputeParams
NewGetFabricComputeParams creates a new GetFabricComputeParams 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 NewGetFabricComputeParamsWithContext ¶
func NewGetFabricComputeParamsWithContext(ctx context.Context) *GetFabricComputeParams
NewGetFabricComputeParamsWithContext creates a new GetFabricComputeParams object with the ability to set a context for a request.
func NewGetFabricComputeParamsWithHTTPClient ¶
func NewGetFabricComputeParamsWithHTTPClient(client *http.Client) *GetFabricComputeParams
NewGetFabricComputeParamsWithHTTPClient creates a new GetFabricComputeParams object with the ability to set a custom HTTPClient for a request.
func NewGetFabricComputeParamsWithTimeout ¶
func NewGetFabricComputeParamsWithTimeout(timeout time.Duration) *GetFabricComputeParams
NewGetFabricComputeParamsWithTimeout creates a new GetFabricComputeParams object with the ability to set a timeout on a request.
func (*GetFabricComputeParams) SetAPIVersion ¶
func (o *GetFabricComputeParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get fabric compute params
func (*GetFabricComputeParams) SetContext ¶
func (o *GetFabricComputeParams) SetContext(ctx context.Context)
SetContext adds the context to the get fabric compute params
func (*GetFabricComputeParams) SetDefaults ¶ added in v0.2.20
func (o *GetFabricComputeParams) SetDefaults()
SetDefaults hydrates default values in the get fabric compute params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricComputeParams) SetHTTPClient ¶
func (o *GetFabricComputeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fabric compute params
func (*GetFabricComputeParams) SetID ¶
func (o *GetFabricComputeParams) SetID(id string)
SetID adds the id to the get fabric compute params
func (*GetFabricComputeParams) SetTimeout ¶
func (o *GetFabricComputeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fabric compute params
func (*GetFabricComputeParams) WithAPIVersion ¶
func (o *GetFabricComputeParams) WithAPIVersion(aPIVersion *string) *GetFabricComputeParams
WithAPIVersion adds the aPIVersion to the get fabric compute params
func (*GetFabricComputeParams) WithContext ¶
func (o *GetFabricComputeParams) WithContext(ctx context.Context) *GetFabricComputeParams
WithContext adds the context to the get fabric compute params
func (*GetFabricComputeParams) WithDefaults ¶ added in v0.2.20
func (o *GetFabricComputeParams) WithDefaults() *GetFabricComputeParams
WithDefaults hydrates default values in the get fabric compute params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricComputeParams) WithHTTPClient ¶
func (o *GetFabricComputeParams) WithHTTPClient(client *http.Client) *GetFabricComputeParams
WithHTTPClient adds the HTTPClient to the get fabric compute params
func (*GetFabricComputeParams) WithID ¶
func (o *GetFabricComputeParams) WithID(id string) *GetFabricComputeParams
WithID adds the id to the get fabric compute params
func (*GetFabricComputeParams) WithTimeout ¶
func (o *GetFabricComputeParams) WithTimeout(timeout time.Duration) *GetFabricComputeParams
WithTimeout adds the timeout to the get fabric compute params
func (*GetFabricComputeParams) WriteToRequest ¶
func (o *GetFabricComputeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFabricComputeReader ¶
type GetFabricComputeReader struct {
// contains filtered or unexported fields
}
GetFabricComputeReader is a Reader for the GetFabricCompute structure.
func (*GetFabricComputeReader) ReadResponse ¶
func (o *GetFabricComputeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFabricComputesForbidden ¶
type GetFabricComputesForbidden struct {
Payload *models.ServiceErrorResponse
}
GetFabricComputesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetFabricComputesForbidden ¶
func NewGetFabricComputesForbidden() *GetFabricComputesForbidden
NewGetFabricComputesForbidden creates a GetFabricComputesForbidden with default headers values
func (*GetFabricComputesForbidden) Error ¶
func (o *GetFabricComputesForbidden) Error() string
func (*GetFabricComputesForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFabricComputesForbidden) GetPayload() *models.ServiceErrorResponse
type GetFabricComputesOK ¶
type GetFabricComputesOK struct {
Payload *models.FabricComputeResult
}
GetFabricComputesOK describes a response with status code 200, with default header values.
successful operation
func NewGetFabricComputesOK ¶
func NewGetFabricComputesOK() *GetFabricComputesOK
NewGetFabricComputesOK creates a GetFabricComputesOK with default headers values
func (*GetFabricComputesOK) Error ¶
func (o *GetFabricComputesOK) Error() string
func (*GetFabricComputesOK) GetPayload ¶
func (o *GetFabricComputesOK) GetPayload() *models.FabricComputeResult
type GetFabricComputesParams ¶
type GetFabricComputesParams 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 /* 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 }
GetFabricComputesParams contains all the parameters to send to the API endpoint
for the get fabric computes operation. Typically these are written to a http.Request.
func NewGetFabricComputesParams ¶
func NewGetFabricComputesParams() *GetFabricComputesParams
NewGetFabricComputesParams creates a new GetFabricComputesParams 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 NewGetFabricComputesParamsWithContext ¶
func NewGetFabricComputesParamsWithContext(ctx context.Context) *GetFabricComputesParams
NewGetFabricComputesParamsWithContext creates a new GetFabricComputesParams object with the ability to set a context for a request.
func NewGetFabricComputesParamsWithHTTPClient ¶
func NewGetFabricComputesParamsWithHTTPClient(client *http.Client) *GetFabricComputesParams
NewGetFabricComputesParamsWithHTTPClient creates a new GetFabricComputesParams object with the ability to set a custom HTTPClient for a request.
func NewGetFabricComputesParamsWithTimeout ¶
func NewGetFabricComputesParamsWithTimeout(timeout time.Duration) *GetFabricComputesParams
NewGetFabricComputesParamsWithTimeout creates a new GetFabricComputesParams object with the ability to set a timeout on a request.
func (*GetFabricComputesParams) SetAPIVersion ¶
func (o *GetFabricComputesParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get fabric computes params
func (*GetFabricComputesParams) SetContext ¶
func (o *GetFabricComputesParams) SetContext(ctx context.Context)
SetContext adds the context to the get fabric computes params
func (*GetFabricComputesParams) SetDefaults ¶ added in v0.2.20
func (o *GetFabricComputesParams) SetDefaults()
SetDefaults hydrates default values in the get fabric computes params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricComputesParams) SetDollarCount ¶ added in v0.2.20
func (o *GetFabricComputesParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the get fabric computes params
func (*GetFabricComputesParams) SetDollarFilter ¶ added in v0.2.13
func (o *GetFabricComputesParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get fabric computes params
func (*GetFabricComputesParams) SetDollarSkip ¶ added in v0.2.20
func (o *GetFabricComputesParams) SetDollarSkip(dollarSkip *int64)
SetDollarSkip adds the dollarSkip to the get fabric computes params
func (*GetFabricComputesParams) SetDollarTop ¶ added in v0.2.20
func (o *GetFabricComputesParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the get fabric computes params
func (*GetFabricComputesParams) SetHTTPClient ¶
func (o *GetFabricComputesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fabric computes params
func (*GetFabricComputesParams) SetTimeout ¶
func (o *GetFabricComputesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fabric computes params
func (*GetFabricComputesParams) WithAPIVersion ¶
func (o *GetFabricComputesParams) WithAPIVersion(aPIVersion *string) *GetFabricComputesParams
WithAPIVersion adds the aPIVersion to the get fabric computes params
func (*GetFabricComputesParams) WithContext ¶
func (o *GetFabricComputesParams) WithContext(ctx context.Context) *GetFabricComputesParams
WithContext adds the context to the get fabric computes params
func (*GetFabricComputesParams) WithDefaults ¶ added in v0.2.20
func (o *GetFabricComputesParams) WithDefaults() *GetFabricComputesParams
WithDefaults hydrates default values in the get fabric computes params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricComputesParams) WithDollarCount ¶ added in v0.2.20
func (o *GetFabricComputesParams) WithDollarCount(dollarCount *bool) *GetFabricComputesParams
WithDollarCount adds the dollarCount to the get fabric computes params
func (*GetFabricComputesParams) WithDollarFilter ¶ added in v0.2.13
func (o *GetFabricComputesParams) WithDollarFilter(dollarFilter *string) *GetFabricComputesParams
WithDollarFilter adds the dollarFilter to the get fabric computes params
func (*GetFabricComputesParams) WithDollarSkip ¶ added in v0.2.20
func (o *GetFabricComputesParams) WithDollarSkip(dollarSkip *int64) *GetFabricComputesParams
WithDollarSkip adds the dollarSkip to the get fabric computes params
func (*GetFabricComputesParams) WithDollarTop ¶ added in v0.2.20
func (o *GetFabricComputesParams) WithDollarTop(dollarTop *int64) *GetFabricComputesParams
WithDollarTop adds the dollarTop to the get fabric computes params
func (*GetFabricComputesParams) WithHTTPClient ¶
func (o *GetFabricComputesParams) WithHTTPClient(client *http.Client) *GetFabricComputesParams
WithHTTPClient adds the HTTPClient to the get fabric computes params
func (*GetFabricComputesParams) WithTimeout ¶
func (o *GetFabricComputesParams) WithTimeout(timeout time.Duration) *GetFabricComputesParams
WithTimeout adds the timeout to the get fabric computes params
func (*GetFabricComputesParams) WriteToRequest ¶
func (o *GetFabricComputesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFabricComputesReader ¶
type GetFabricComputesReader struct {
// contains filtered or unexported fields
}
GetFabricComputesReader is a Reader for the GetFabricComputes structure.
func (*GetFabricComputesReader) ReadResponse ¶
func (o *GetFabricComputesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateFabricComputeForbidden ¶
type UpdateFabricComputeForbidden struct {
Payload *models.ServiceErrorResponse
}
UpdateFabricComputeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateFabricComputeForbidden ¶
func NewUpdateFabricComputeForbidden() *UpdateFabricComputeForbidden
NewUpdateFabricComputeForbidden creates a UpdateFabricComputeForbidden with default headers values
func (*UpdateFabricComputeForbidden) Error ¶
func (o *UpdateFabricComputeForbidden) Error() string
func (*UpdateFabricComputeForbidden) GetPayload ¶ added in v0.2.20
func (o *UpdateFabricComputeForbidden) GetPayload() *models.ServiceErrorResponse
type UpdateFabricComputeNotFound ¶
UpdateFabricComputeNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateFabricComputeNotFound ¶
func NewUpdateFabricComputeNotFound() *UpdateFabricComputeNotFound
NewUpdateFabricComputeNotFound creates a UpdateFabricComputeNotFound with default headers values
func (*UpdateFabricComputeNotFound) Error ¶
func (o *UpdateFabricComputeNotFound) Error() string
func (*UpdateFabricComputeNotFound) GetPayload ¶ added in v0.2.9
func (o *UpdateFabricComputeNotFound) GetPayload() *models.Error
type UpdateFabricComputeOK ¶
type UpdateFabricComputeOK struct {
Payload *models.FabricCompute
}
UpdateFabricComputeOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateFabricComputeOK ¶
func NewUpdateFabricComputeOK() *UpdateFabricComputeOK
NewUpdateFabricComputeOK creates a UpdateFabricComputeOK with default headers values
func (*UpdateFabricComputeOK) Error ¶
func (o *UpdateFabricComputeOK) Error() string
func (*UpdateFabricComputeOK) GetPayload ¶
func (o *UpdateFabricComputeOK) GetPayload() *models.FabricCompute
type UpdateFabricComputeParams ¶
type UpdateFabricComputeParams 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 Compute Specification */ Body *models.FabricComputeSpecification /* ID. The ID of the Fabric Compute. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateFabricComputeParams contains all the parameters to send to the API endpoint
for the update fabric compute operation. Typically these are written to a http.Request.
func NewUpdateFabricComputeParams ¶
func NewUpdateFabricComputeParams() *UpdateFabricComputeParams
NewUpdateFabricComputeParams creates a new UpdateFabricComputeParams 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 NewUpdateFabricComputeParamsWithContext ¶
func NewUpdateFabricComputeParamsWithContext(ctx context.Context) *UpdateFabricComputeParams
NewUpdateFabricComputeParamsWithContext creates a new UpdateFabricComputeParams object with the ability to set a context for a request.
func NewUpdateFabricComputeParamsWithHTTPClient ¶
func NewUpdateFabricComputeParamsWithHTTPClient(client *http.Client) *UpdateFabricComputeParams
NewUpdateFabricComputeParamsWithHTTPClient creates a new UpdateFabricComputeParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateFabricComputeParamsWithTimeout ¶
func NewUpdateFabricComputeParamsWithTimeout(timeout time.Duration) *UpdateFabricComputeParams
NewUpdateFabricComputeParamsWithTimeout creates a new UpdateFabricComputeParams object with the ability to set a timeout on a request.
func (*UpdateFabricComputeParams) SetAPIVersion ¶
func (o *UpdateFabricComputeParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update fabric compute params
func (*UpdateFabricComputeParams) SetBody ¶
func (o *UpdateFabricComputeParams) SetBody(body *models.FabricComputeSpecification)
SetBody adds the body to the update fabric compute params
func (*UpdateFabricComputeParams) SetContext ¶
func (o *UpdateFabricComputeParams) SetContext(ctx context.Context)
SetContext adds the context to the update fabric compute params
func (*UpdateFabricComputeParams) SetDefaults ¶ added in v0.2.20
func (o *UpdateFabricComputeParams) SetDefaults()
SetDefaults hydrates default values in the update fabric compute params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFabricComputeParams) SetHTTPClient ¶
func (o *UpdateFabricComputeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update fabric compute params
func (*UpdateFabricComputeParams) SetID ¶
func (o *UpdateFabricComputeParams) SetID(id string)
SetID adds the id to the update fabric compute params
func (*UpdateFabricComputeParams) SetTimeout ¶
func (o *UpdateFabricComputeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update fabric compute params
func (*UpdateFabricComputeParams) WithAPIVersion ¶
func (o *UpdateFabricComputeParams) WithAPIVersion(aPIVersion *string) *UpdateFabricComputeParams
WithAPIVersion adds the aPIVersion to the update fabric compute params
func (*UpdateFabricComputeParams) WithBody ¶
func (o *UpdateFabricComputeParams) WithBody(body *models.FabricComputeSpecification) *UpdateFabricComputeParams
WithBody adds the body to the update fabric compute params
func (*UpdateFabricComputeParams) WithContext ¶
func (o *UpdateFabricComputeParams) WithContext(ctx context.Context) *UpdateFabricComputeParams
WithContext adds the context to the update fabric compute params
func (*UpdateFabricComputeParams) WithDefaults ¶ added in v0.2.20
func (o *UpdateFabricComputeParams) WithDefaults() *UpdateFabricComputeParams
WithDefaults hydrates default values in the update fabric compute params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFabricComputeParams) WithHTTPClient ¶
func (o *UpdateFabricComputeParams) WithHTTPClient(client *http.Client) *UpdateFabricComputeParams
WithHTTPClient adds the HTTPClient to the update fabric compute params
func (*UpdateFabricComputeParams) WithID ¶
func (o *UpdateFabricComputeParams) WithID(id string) *UpdateFabricComputeParams
WithID adds the id to the update fabric compute params
func (*UpdateFabricComputeParams) WithTimeout ¶
func (o *UpdateFabricComputeParams) WithTimeout(timeout time.Duration) *UpdateFabricComputeParams
WithTimeout adds the timeout to the update fabric compute params
func (*UpdateFabricComputeParams) WriteToRequest ¶
func (o *UpdateFabricComputeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateFabricComputeReader ¶
type UpdateFabricComputeReader struct {
// contains filtered or unexported fields
}
UpdateFabricComputeReader is a Reader for the UpdateFabricCompute structure.
func (*UpdateFabricComputeReader) ReadResponse ¶
func (o *UpdateFabricComputeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.