Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24Offloads(params *DeleteAPI24OffloadsParams) (*DeleteApi24OffloadsOK, error)
- func (a *Client) GetAPI24Offloads(params *GetAPI24OffloadsParams) (*GetApi24OffloadsOK, error)
- func (a *Client) PostAPI24Offloads(params *PostAPI24OffloadsParams) (*PostApi24OffloadsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24OffloadsParams
- func NewDeleteAPI24OffloadsParams() *DeleteAPI24OffloadsParams
- func NewDeleteAPI24OffloadsParamsWithContext(ctx context.Context) *DeleteAPI24OffloadsParams
- func NewDeleteAPI24OffloadsParamsWithHTTPClient(client *http.Client) *DeleteAPI24OffloadsParams
- func NewDeleteAPI24OffloadsParamsWithTimeout(timeout time.Duration) *DeleteAPI24OffloadsParams
- func (o *DeleteAPI24OffloadsParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24OffloadsParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24OffloadsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24OffloadsParams) SetNames(names []string)
- func (o *DeleteAPI24OffloadsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24OffloadsParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24OffloadsParams) WithAuthorization(authorization *string) *DeleteAPI24OffloadsParams
- func (o *DeleteAPI24OffloadsParams) WithContext(ctx context.Context) *DeleteAPI24OffloadsParams
- func (o *DeleteAPI24OffloadsParams) WithHTTPClient(client *http.Client) *DeleteAPI24OffloadsParams
- func (o *DeleteAPI24OffloadsParams) WithNames(names []string) *DeleteAPI24OffloadsParams
- func (o *DeleteAPI24OffloadsParams) WithTimeout(timeout time.Duration) *DeleteAPI24OffloadsParams
- func (o *DeleteAPI24OffloadsParams) WithXRequestID(xRequestID *string) *DeleteAPI24OffloadsParams
- func (o *DeleteAPI24OffloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24OffloadsReader
- type DeleteApi24OffloadsBadRequest
- type DeleteApi24OffloadsOK
- type GetAPI24OffloadsParams
- func NewGetAPI24OffloadsParams() *GetAPI24OffloadsParams
- func NewGetAPI24OffloadsParamsWithContext(ctx context.Context) *GetAPI24OffloadsParams
- func NewGetAPI24OffloadsParamsWithHTTPClient(client *http.Client) *GetAPI24OffloadsParams
- func NewGetAPI24OffloadsParamsWithTimeout(timeout time.Duration) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24OffloadsParams) SetContext(ctx context.Context)
- func (o *GetAPI24OffloadsParams) SetFilter(filter *string)
- func (o *GetAPI24OffloadsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24OffloadsParams) SetLimit(limit *int32)
- func (o *GetAPI24OffloadsParams) SetNames(names []string)
- func (o *GetAPI24OffloadsParams) SetOffset(offset *int32)
- func (o *GetAPI24OffloadsParams) SetProtocol(protocol *string)
- func (o *GetAPI24OffloadsParams) SetSort(sort []string)
- func (o *GetAPI24OffloadsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24OffloadsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24OffloadsParams) SetTotalOnly(totalOnly *bool)
- func (o *GetAPI24OffloadsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24OffloadsParams) WithAuthorization(authorization *string) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithContext(ctx context.Context) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithFilter(filter *string) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithHTTPClient(client *http.Client) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithLimit(limit *int32) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithNames(names []string) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithOffset(offset *int32) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithProtocol(protocol *string) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithSort(sort []string) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithTimeout(timeout time.Duration) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithTotalOnly(totalOnly *bool) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WithXRequestID(xRequestID *string) *GetAPI24OffloadsParams
- func (o *GetAPI24OffloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24OffloadsReader
- type GetApi24OffloadsBadRequest
- type GetApi24OffloadsOK
- type PostAPI24OffloadsParams
- func NewPostAPI24OffloadsParams() *PostAPI24OffloadsParams
- func NewPostAPI24OffloadsParamsWithContext(ctx context.Context) *PostAPI24OffloadsParams
- func NewPostAPI24OffloadsParamsWithHTTPClient(client *http.Client) *PostAPI24OffloadsParams
- func NewPostAPI24OffloadsParamsWithTimeout(timeout time.Duration) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) SetAuthorization(authorization *string)
- func (o *PostAPI24OffloadsParams) SetContext(ctx context.Context)
- func (o *PostAPI24OffloadsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24OffloadsParams) SetInitialize(initialize *bool)
- func (o *PostAPI24OffloadsParams) SetNames(names []string)
- func (o *PostAPI24OffloadsParams) SetOffload(offload *models.OffloadPost)
- func (o *PostAPI24OffloadsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24OffloadsParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24OffloadsParams) WithAuthorization(authorization *string) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) WithContext(ctx context.Context) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) WithHTTPClient(client *http.Client) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) WithInitialize(initialize *bool) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) WithNames(names []string) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) WithOffload(offload *models.OffloadPost) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) WithTimeout(timeout time.Duration) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) WithXRequestID(xRequestID *string) *PostAPI24OffloadsParams
- func (o *PostAPI24OffloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24OffloadsReader
- type PostApi24OffloadsBadRequest
- type PostApi24OffloadsOK
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 offloads API
func (*Client) DeleteAPI24Offloads ¶
func (a *Client) DeleteAPI24Offloads(params *DeleteAPI24OffloadsParams) (*DeleteApi24OffloadsOK, error)
DeleteAPI24Offloads deletes offload target
Deletes an offload target.
func (*Client) GetAPI24Offloads ¶
func (a *Client) GetAPI24Offloads(params *GetAPI24OffloadsParams) (*GetApi24OffloadsOK, error)
GetAPI24Offloads lists offload targets
Displays a list of offload targets that are connected to the array.
func (*Client) PostAPI24Offloads ¶
func (a *Client) PostAPI24Offloads(params *PostAPI24OffloadsParams) (*PostApi24OffloadsOK, error)
PostAPI24Offloads creates offload target
Creates an offload target, connecting it to an array. Before you can connect to, manage, and replicate to an offload target, the Purity Run app must be installed. For more information about Purity//FA apps, see the Apps section of this guide.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteAPI24Offloads(params *DeleteAPI24OffloadsParams) (*DeleteApi24OffloadsOK, error) GetAPI24Offloads(params *GetAPI24OffloadsParams) (*GetApi24OffloadsOK, error) PostAPI24Offloads(params *PostAPI24OffloadsParams) (*PostApi24OffloadsOK, 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 offloads API client.
type DeleteAPI24OffloadsParams ¶
type DeleteAPI24OffloadsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPI24OffloadsParams contains all the parameters to send to the API endpoint for the delete API 24 offloads operation typically these are written to a http.Request
func NewDeleteAPI24OffloadsParams ¶
func NewDeleteAPI24OffloadsParams() *DeleteAPI24OffloadsParams
NewDeleteAPI24OffloadsParams creates a new DeleteAPI24OffloadsParams object with the default values initialized.
func NewDeleteAPI24OffloadsParamsWithContext ¶
func NewDeleteAPI24OffloadsParamsWithContext(ctx context.Context) *DeleteAPI24OffloadsParams
NewDeleteAPI24OffloadsParamsWithContext creates a new DeleteAPI24OffloadsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPI24OffloadsParamsWithHTTPClient ¶
func NewDeleteAPI24OffloadsParamsWithHTTPClient(client *http.Client) *DeleteAPI24OffloadsParams
NewDeleteAPI24OffloadsParamsWithHTTPClient creates a new DeleteAPI24OffloadsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPI24OffloadsParamsWithTimeout ¶
func NewDeleteAPI24OffloadsParamsWithTimeout(timeout time.Duration) *DeleteAPI24OffloadsParams
NewDeleteAPI24OffloadsParamsWithTimeout creates a new DeleteAPI24OffloadsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPI24OffloadsParams) SetAuthorization ¶
func (o *DeleteAPI24OffloadsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) SetContext ¶
func (o *DeleteAPI24OffloadsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) SetHTTPClient ¶
func (o *DeleteAPI24OffloadsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) SetNames ¶
func (o *DeleteAPI24OffloadsParams) SetNames(names []string)
SetNames adds the names to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) SetTimeout ¶
func (o *DeleteAPI24OffloadsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) SetXRequestID ¶
func (o *DeleteAPI24OffloadsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) WithAuthorization ¶
func (o *DeleteAPI24OffloadsParams) WithAuthorization(authorization *string) *DeleteAPI24OffloadsParams
WithAuthorization adds the authorization to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) WithContext ¶
func (o *DeleteAPI24OffloadsParams) WithContext(ctx context.Context) *DeleteAPI24OffloadsParams
WithContext adds the context to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) WithHTTPClient ¶
func (o *DeleteAPI24OffloadsParams) WithHTTPClient(client *http.Client) *DeleteAPI24OffloadsParams
WithHTTPClient adds the HTTPClient to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) WithNames ¶
func (o *DeleteAPI24OffloadsParams) WithNames(names []string) *DeleteAPI24OffloadsParams
WithNames adds the names to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) WithTimeout ¶
func (o *DeleteAPI24OffloadsParams) WithTimeout(timeout time.Duration) *DeleteAPI24OffloadsParams
WithTimeout adds the timeout to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) WithXRequestID ¶
func (o *DeleteAPI24OffloadsParams) WithXRequestID(xRequestID *string) *DeleteAPI24OffloadsParams
WithXRequestID adds the xRequestID to the delete API 24 offloads params
func (*DeleteAPI24OffloadsParams) WriteToRequest ¶
func (o *DeleteAPI24OffloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPI24OffloadsReader ¶
type DeleteAPI24OffloadsReader struct {
// contains filtered or unexported fields
}
DeleteAPI24OffloadsReader is a Reader for the DeleteAPI24Offloads structure.
func (*DeleteAPI24OffloadsReader) ReadResponse ¶
func (o *DeleteAPI24OffloadsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteApi24OffloadsBadRequest ¶
DeleteApi24OffloadsBadRequest handles this case with default header values.
BadRequest
func NewDeleteApi24OffloadsBadRequest ¶
func NewDeleteApi24OffloadsBadRequest() *DeleteApi24OffloadsBadRequest
NewDeleteApi24OffloadsBadRequest creates a DeleteApi24OffloadsBadRequest with default headers values
func (*DeleteApi24OffloadsBadRequest) Error ¶
func (o *DeleteApi24OffloadsBadRequest) Error() string
func (*DeleteApi24OffloadsBadRequest) GetPayload ¶
func (o *DeleteApi24OffloadsBadRequest) GetPayload() *models.Error
type DeleteApi24OffloadsOK ¶
type DeleteApi24OffloadsOK struct { }
DeleteApi24OffloadsOK handles this case with default header values.
OK
func NewDeleteApi24OffloadsOK ¶
func NewDeleteApi24OffloadsOK() *DeleteApi24OffloadsOK
NewDeleteApi24OffloadsOK creates a DeleteApi24OffloadsOK with default headers values
func (*DeleteApi24OffloadsOK) Error ¶
func (o *DeleteApi24OffloadsOK) Error() string
type GetAPI24OffloadsParams ¶
type GetAPI24OffloadsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Filter Narrows down the results to only the response objects that satisfy the filter criteria. */ Filter *string /*Limit Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size. */ Limit *int32 /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*Offset The starting position based on the results of the query in relation to the full set of response objects returned. */ Offset *int32 /*Protocol Protocol type. Valid values are `azure`, `google-cloud`, `nfs`, and `s3`. */ Protocol *string /*Sort Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values. */ Sort []string /*TotalItemCount If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`. */ TotalItemCount *bool /*TotalOnly If set to `true`, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If `total_only=true`, the `items` list will be empty. */ TotalOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24OffloadsParams contains all the parameters to send to the API endpoint for the get API 24 offloads operation typically these are written to a http.Request
func NewGetAPI24OffloadsParams ¶
func NewGetAPI24OffloadsParams() *GetAPI24OffloadsParams
NewGetAPI24OffloadsParams creates a new GetAPI24OffloadsParams object with the default values initialized.
func NewGetAPI24OffloadsParamsWithContext ¶
func NewGetAPI24OffloadsParamsWithContext(ctx context.Context) *GetAPI24OffloadsParams
NewGetAPI24OffloadsParamsWithContext creates a new GetAPI24OffloadsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24OffloadsParamsWithHTTPClient ¶
func NewGetAPI24OffloadsParamsWithHTTPClient(client *http.Client) *GetAPI24OffloadsParams
NewGetAPI24OffloadsParamsWithHTTPClient creates a new GetAPI24OffloadsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24OffloadsParamsWithTimeout ¶
func NewGetAPI24OffloadsParamsWithTimeout(timeout time.Duration) *GetAPI24OffloadsParams
NewGetAPI24OffloadsParamsWithTimeout creates a new GetAPI24OffloadsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24OffloadsParams) SetAuthorization ¶
func (o *GetAPI24OffloadsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetContext ¶
func (o *GetAPI24OffloadsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetFilter ¶
func (o *GetAPI24OffloadsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetHTTPClient ¶
func (o *GetAPI24OffloadsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetLimit ¶
func (o *GetAPI24OffloadsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetNames ¶
func (o *GetAPI24OffloadsParams) SetNames(names []string)
SetNames adds the names to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetOffset ¶
func (o *GetAPI24OffloadsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetProtocol ¶
func (o *GetAPI24OffloadsParams) SetProtocol(protocol *string)
SetProtocol adds the protocol to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetSort ¶
func (o *GetAPI24OffloadsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetTimeout ¶
func (o *GetAPI24OffloadsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetTotalItemCount ¶
func (o *GetAPI24OffloadsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetTotalOnly ¶
func (o *GetAPI24OffloadsParams) SetTotalOnly(totalOnly *bool)
SetTotalOnly adds the totalOnly to the get API 24 offloads params
func (*GetAPI24OffloadsParams) SetXRequestID ¶
func (o *GetAPI24OffloadsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithAuthorization ¶
func (o *GetAPI24OffloadsParams) WithAuthorization(authorization *string) *GetAPI24OffloadsParams
WithAuthorization adds the authorization to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithContext ¶
func (o *GetAPI24OffloadsParams) WithContext(ctx context.Context) *GetAPI24OffloadsParams
WithContext adds the context to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithFilter ¶
func (o *GetAPI24OffloadsParams) WithFilter(filter *string) *GetAPI24OffloadsParams
WithFilter adds the filter to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithHTTPClient ¶
func (o *GetAPI24OffloadsParams) WithHTTPClient(client *http.Client) *GetAPI24OffloadsParams
WithHTTPClient adds the HTTPClient to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithLimit ¶
func (o *GetAPI24OffloadsParams) WithLimit(limit *int32) *GetAPI24OffloadsParams
WithLimit adds the limit to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithNames ¶
func (o *GetAPI24OffloadsParams) WithNames(names []string) *GetAPI24OffloadsParams
WithNames adds the names to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithOffset ¶
func (o *GetAPI24OffloadsParams) WithOffset(offset *int32) *GetAPI24OffloadsParams
WithOffset adds the offset to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithProtocol ¶
func (o *GetAPI24OffloadsParams) WithProtocol(protocol *string) *GetAPI24OffloadsParams
WithProtocol adds the protocol to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithSort ¶
func (o *GetAPI24OffloadsParams) WithSort(sort []string) *GetAPI24OffloadsParams
WithSort adds the sort to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithTimeout ¶
func (o *GetAPI24OffloadsParams) WithTimeout(timeout time.Duration) *GetAPI24OffloadsParams
WithTimeout adds the timeout to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithTotalItemCount ¶
func (o *GetAPI24OffloadsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24OffloadsParams
WithTotalItemCount adds the totalItemCount to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithTotalOnly ¶
func (o *GetAPI24OffloadsParams) WithTotalOnly(totalOnly *bool) *GetAPI24OffloadsParams
WithTotalOnly adds the totalOnly to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WithXRequestID ¶
func (o *GetAPI24OffloadsParams) WithXRequestID(xRequestID *string) *GetAPI24OffloadsParams
WithXRequestID adds the xRequestID to the get API 24 offloads params
func (*GetAPI24OffloadsParams) WriteToRequest ¶
func (o *GetAPI24OffloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24OffloadsReader ¶
type GetAPI24OffloadsReader struct {
// contains filtered or unexported fields
}
GetAPI24OffloadsReader is a Reader for the GetAPI24Offloads structure.
func (*GetAPI24OffloadsReader) ReadResponse ¶
func (o *GetAPI24OffloadsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24OffloadsBadRequest ¶
GetApi24OffloadsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24OffloadsBadRequest ¶
func NewGetApi24OffloadsBadRequest() *GetApi24OffloadsBadRequest
NewGetApi24OffloadsBadRequest creates a GetApi24OffloadsBadRequest with default headers values
func (*GetApi24OffloadsBadRequest) Error ¶
func (o *GetApi24OffloadsBadRequest) Error() string
func (*GetApi24OffloadsBadRequest) GetPayload ¶
func (o *GetApi24OffloadsBadRequest) GetPayload() *models.Error
type GetApi24OffloadsOK ¶
type GetApi24OffloadsOK struct {
Payload *models.OffloadGetResponse
}
GetApi24OffloadsOK handles this case with default header values.
OK
func NewGetApi24OffloadsOK ¶
func NewGetApi24OffloadsOK() *GetApi24OffloadsOK
NewGetApi24OffloadsOK creates a GetApi24OffloadsOK with default headers values
func (*GetApi24OffloadsOK) Error ¶
func (o *GetApi24OffloadsOK) Error() string
func (*GetApi24OffloadsOK) GetPayload ¶
func (o *GetApi24OffloadsOK) GetPayload() *models.OffloadGetResponse
type PostAPI24OffloadsParams ¶
type PostAPI24OffloadsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Initialize If set to `true`, initializes the Amazon S3/Azure Blob container/Google Cloud Storage in preparation for offloading. The parameter must be set to `true` if this is the first time the array is connecting to the offload target. */ Initialize *bool /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*Offload*/ Offload *models.OffloadPost Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPI24OffloadsParams contains all the parameters to send to the API endpoint for the post API 24 offloads operation typically these are written to a http.Request
func NewPostAPI24OffloadsParams ¶
func NewPostAPI24OffloadsParams() *PostAPI24OffloadsParams
NewPostAPI24OffloadsParams creates a new PostAPI24OffloadsParams object with the default values initialized.
func NewPostAPI24OffloadsParamsWithContext ¶
func NewPostAPI24OffloadsParamsWithContext(ctx context.Context) *PostAPI24OffloadsParams
NewPostAPI24OffloadsParamsWithContext creates a new PostAPI24OffloadsParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPI24OffloadsParamsWithHTTPClient ¶
func NewPostAPI24OffloadsParamsWithHTTPClient(client *http.Client) *PostAPI24OffloadsParams
NewPostAPI24OffloadsParamsWithHTTPClient creates a new PostAPI24OffloadsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPI24OffloadsParamsWithTimeout ¶
func NewPostAPI24OffloadsParamsWithTimeout(timeout time.Duration) *PostAPI24OffloadsParams
NewPostAPI24OffloadsParamsWithTimeout creates a new PostAPI24OffloadsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPI24OffloadsParams) SetAuthorization ¶
func (o *PostAPI24OffloadsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the post API 24 offloads params
func (*PostAPI24OffloadsParams) SetContext ¶
func (o *PostAPI24OffloadsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API 24 offloads params
func (*PostAPI24OffloadsParams) SetHTTPClient ¶
func (o *PostAPI24OffloadsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API 24 offloads params
func (*PostAPI24OffloadsParams) SetInitialize ¶
func (o *PostAPI24OffloadsParams) SetInitialize(initialize *bool)
SetInitialize adds the initialize to the post API 24 offloads params
func (*PostAPI24OffloadsParams) SetNames ¶
func (o *PostAPI24OffloadsParams) SetNames(names []string)
SetNames adds the names to the post API 24 offloads params
func (*PostAPI24OffloadsParams) SetOffload ¶
func (o *PostAPI24OffloadsParams) SetOffload(offload *models.OffloadPost)
SetOffload adds the offload to the post API 24 offloads params
func (*PostAPI24OffloadsParams) SetTimeout ¶
func (o *PostAPI24OffloadsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API 24 offloads params
func (*PostAPI24OffloadsParams) SetXRequestID ¶
func (o *PostAPI24OffloadsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WithAuthorization ¶
func (o *PostAPI24OffloadsParams) WithAuthorization(authorization *string) *PostAPI24OffloadsParams
WithAuthorization adds the authorization to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WithContext ¶
func (o *PostAPI24OffloadsParams) WithContext(ctx context.Context) *PostAPI24OffloadsParams
WithContext adds the context to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WithHTTPClient ¶
func (o *PostAPI24OffloadsParams) WithHTTPClient(client *http.Client) *PostAPI24OffloadsParams
WithHTTPClient adds the HTTPClient to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WithInitialize ¶
func (o *PostAPI24OffloadsParams) WithInitialize(initialize *bool) *PostAPI24OffloadsParams
WithInitialize adds the initialize to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WithNames ¶
func (o *PostAPI24OffloadsParams) WithNames(names []string) *PostAPI24OffloadsParams
WithNames adds the names to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WithOffload ¶
func (o *PostAPI24OffloadsParams) WithOffload(offload *models.OffloadPost) *PostAPI24OffloadsParams
WithOffload adds the offload to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WithTimeout ¶
func (o *PostAPI24OffloadsParams) WithTimeout(timeout time.Duration) *PostAPI24OffloadsParams
WithTimeout adds the timeout to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WithXRequestID ¶
func (o *PostAPI24OffloadsParams) WithXRequestID(xRequestID *string) *PostAPI24OffloadsParams
WithXRequestID adds the xRequestID to the post API 24 offloads params
func (*PostAPI24OffloadsParams) WriteToRequest ¶
func (o *PostAPI24OffloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPI24OffloadsReader ¶
type PostAPI24OffloadsReader struct {
// contains filtered or unexported fields
}
PostAPI24OffloadsReader is a Reader for the PostAPI24Offloads structure.
func (*PostAPI24OffloadsReader) ReadResponse ¶
func (o *PostAPI24OffloadsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostApi24OffloadsBadRequest ¶
PostApi24OffloadsBadRequest handles this case with default header values.
BadRequest
func NewPostApi24OffloadsBadRequest ¶
func NewPostApi24OffloadsBadRequest() *PostApi24OffloadsBadRequest
NewPostApi24OffloadsBadRequest creates a PostApi24OffloadsBadRequest with default headers values
func (*PostApi24OffloadsBadRequest) Error ¶
func (o *PostApi24OffloadsBadRequest) Error() string
func (*PostApi24OffloadsBadRequest) GetPayload ¶
func (o *PostApi24OffloadsBadRequest) GetPayload() *models.Error
type PostApi24OffloadsOK ¶
type PostApi24OffloadsOK struct {
Payload *models.OffloadResponse
}
PostApi24OffloadsOK handles this case with default header values.
OK
func NewPostApi24OffloadsOK ¶
func NewPostApi24OffloadsOK() *PostApi24OffloadsOK
NewPostApi24OffloadsOK creates a PostApi24OffloadsOK with default headers values
func (*PostApi24OffloadsOK) Error ¶
func (o *PostApi24OffloadsOK) Error() string
func (*PostApi24OffloadsOK) GetPayload ¶
func (o *PostApi24OffloadsOK) GetPayload() *models.OffloadResponse