Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetAPI24ControllersParams
- func NewGetAPI24ControllersParams() *GetAPI24ControllersParams
- func NewGetAPI24ControllersParamsWithContext(ctx context.Context) *GetAPI24ControllersParams
- func NewGetAPI24ControllersParamsWithHTTPClient(client *http.Client) *GetAPI24ControllersParams
- func NewGetAPI24ControllersParamsWithTimeout(timeout time.Duration) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) SetAuthorization(authorization *string)
- func (o *GetAPI24ControllersParams) SetContext(ctx context.Context)
- func (o *GetAPI24ControllersParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24ControllersParams) SetFilter(filter *string)
- func (o *GetAPI24ControllersParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24ControllersParams) SetLimit(limit *int32)
- func (o *GetAPI24ControllersParams) SetNames(names []string)
- func (o *GetAPI24ControllersParams) SetOffset(offset *int32)
- func (o *GetAPI24ControllersParams) SetSort(sort []string)
- func (o *GetAPI24ControllersParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24ControllersParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24ControllersParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24ControllersParams) WithAuthorization(authorization *string) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithContext(ctx context.Context) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithContinuationToken(continuationToken *string) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithFilter(filter *string) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithHTTPClient(client *http.Client) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithLimit(limit *int32) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithNames(names []string) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithOffset(offset *int32) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithSort(sort []string) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithTimeout(timeout time.Duration) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WithXRequestID(xRequestID *string) *GetAPI24ControllersParams
- func (o *GetAPI24ControllersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24ControllersReader
- type GetApi24ControllersBadRequest
- type GetApi24ControllersOK
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 controllers API
func (*Client) GetAPI24Controllers ¶
func (a *Client) GetAPI24Controllers(params *GetAPI24ControllersParams) (*GetApi24ControllersOK, error)
GetAPI24Controllers lists controller information and status
Displays the name, mode, FlashArray model, Purity//FA software version, and status of each controller in the array.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAPI24Controllers(params *GetAPI24ControllersParams) (*GetApi24ControllersOK, 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 controllers API client.
type GetAPI24ControllersParams ¶
type GetAPI24ControllersParams 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 /*ContinuationToken A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters. */ ContinuationToken *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 /*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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24ControllersParams contains all the parameters to send to the API endpoint for the get API 24 controllers operation typically these are written to a http.Request
func NewGetAPI24ControllersParams ¶
func NewGetAPI24ControllersParams() *GetAPI24ControllersParams
NewGetAPI24ControllersParams creates a new GetAPI24ControllersParams object with the default values initialized.
func NewGetAPI24ControllersParamsWithContext ¶
func NewGetAPI24ControllersParamsWithContext(ctx context.Context) *GetAPI24ControllersParams
NewGetAPI24ControllersParamsWithContext creates a new GetAPI24ControllersParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24ControllersParamsWithHTTPClient ¶
func NewGetAPI24ControllersParamsWithHTTPClient(client *http.Client) *GetAPI24ControllersParams
NewGetAPI24ControllersParamsWithHTTPClient creates a new GetAPI24ControllersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24ControllersParamsWithTimeout ¶
func NewGetAPI24ControllersParamsWithTimeout(timeout time.Duration) *GetAPI24ControllersParams
NewGetAPI24ControllersParamsWithTimeout creates a new GetAPI24ControllersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24ControllersParams) SetAuthorization ¶
func (o *GetAPI24ControllersParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetContext ¶
func (o *GetAPI24ControllersParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetContinuationToken ¶
func (o *GetAPI24ControllersParams) SetContinuationToken(continuationToken *string)
SetContinuationToken adds the continuationToken to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetFilter ¶
func (o *GetAPI24ControllersParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetHTTPClient ¶
func (o *GetAPI24ControllersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetLimit ¶
func (o *GetAPI24ControllersParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetNames ¶
func (o *GetAPI24ControllersParams) SetNames(names []string)
SetNames adds the names to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetOffset ¶
func (o *GetAPI24ControllersParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetSort ¶
func (o *GetAPI24ControllersParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetTimeout ¶
func (o *GetAPI24ControllersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetTotalItemCount ¶
func (o *GetAPI24ControllersParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 controllers params
func (*GetAPI24ControllersParams) SetXRequestID ¶
func (o *GetAPI24ControllersParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithAuthorization ¶
func (o *GetAPI24ControllersParams) WithAuthorization(authorization *string) *GetAPI24ControllersParams
WithAuthorization adds the authorization to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithContext ¶
func (o *GetAPI24ControllersParams) WithContext(ctx context.Context) *GetAPI24ControllersParams
WithContext adds the context to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithContinuationToken ¶
func (o *GetAPI24ControllersParams) WithContinuationToken(continuationToken *string) *GetAPI24ControllersParams
WithContinuationToken adds the continuationToken to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithFilter ¶
func (o *GetAPI24ControllersParams) WithFilter(filter *string) *GetAPI24ControllersParams
WithFilter adds the filter to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithHTTPClient ¶
func (o *GetAPI24ControllersParams) WithHTTPClient(client *http.Client) *GetAPI24ControllersParams
WithHTTPClient adds the HTTPClient to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithLimit ¶
func (o *GetAPI24ControllersParams) WithLimit(limit *int32) *GetAPI24ControllersParams
WithLimit adds the limit to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithNames ¶
func (o *GetAPI24ControllersParams) WithNames(names []string) *GetAPI24ControllersParams
WithNames adds the names to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithOffset ¶
func (o *GetAPI24ControllersParams) WithOffset(offset *int32) *GetAPI24ControllersParams
WithOffset adds the offset to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithSort ¶
func (o *GetAPI24ControllersParams) WithSort(sort []string) *GetAPI24ControllersParams
WithSort adds the sort to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithTimeout ¶
func (o *GetAPI24ControllersParams) WithTimeout(timeout time.Duration) *GetAPI24ControllersParams
WithTimeout adds the timeout to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithTotalItemCount ¶
func (o *GetAPI24ControllersParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24ControllersParams
WithTotalItemCount adds the totalItemCount to the get API 24 controllers params
func (*GetAPI24ControllersParams) WithXRequestID ¶
func (o *GetAPI24ControllersParams) WithXRequestID(xRequestID *string) *GetAPI24ControllersParams
WithXRequestID adds the xRequestID to the get API 24 controllers params
func (*GetAPI24ControllersParams) WriteToRequest ¶
func (o *GetAPI24ControllersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24ControllersReader ¶
type GetAPI24ControllersReader struct {
// contains filtered or unexported fields
}
GetAPI24ControllersReader is a Reader for the GetAPI24Controllers structure.
func (*GetAPI24ControllersReader) ReadResponse ¶
func (o *GetAPI24ControllersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24ControllersBadRequest ¶
GetApi24ControllersBadRequest handles this case with default header values.
BadRequest
func NewGetApi24ControllersBadRequest ¶
func NewGetApi24ControllersBadRequest() *GetApi24ControllersBadRequest
NewGetApi24ControllersBadRequest creates a GetApi24ControllersBadRequest with default headers values
func (*GetApi24ControllersBadRequest) Error ¶
func (o *GetApi24ControllersBadRequest) Error() string
func (*GetApi24ControllersBadRequest) GetPayload ¶
func (o *GetApi24ControllersBadRequest) GetPayload() *models.Error
type GetApi24ControllersOK ¶
type GetApi24ControllersOK struct {
Payload *models.ControllerGetResponse
}
GetApi24ControllersOK handles this case with default header values.
OK
func NewGetApi24ControllersOK ¶
func NewGetApi24ControllersOK() *GetApi24ControllersOK
NewGetApi24ControllersOK creates a GetApi24ControllersOK with default headers values
func (*GetApi24ControllersOK) Error ¶
func (o *GetApi24ControllersOK) Error() string
func (*GetApi24ControllersOK) GetPayload ¶
func (o *GetApi24ControllersOK) GetPayload() *models.ControllerGetResponse