Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetVrasOK
- func (o *GetVrasOK) Error() string
- func (o *GetVrasOK) GetPayload() *models.PageOfVRA
- func (o *GetVrasOK) IsClientError() bool
- func (o *GetVrasOK) IsCode(code int) bool
- func (o *GetVrasOK) IsRedirect() bool
- func (o *GetVrasOK) IsServerError() bool
- func (o *GetVrasOK) IsSuccess() bool
- func (o *GetVrasOK) String() string
- type GetVrasParams
- func (o *GetVrasParams) SetContext(ctx context.Context)
- func (o *GetVrasParams) SetDefaults()
- func (o *GetVrasParams) SetHTTPClient(client *http.Client)
- func (o *GetVrasParams) SetTimeout(timeout time.Duration)
- func (o *GetVrasParams) WithContext(ctx context.Context) *GetVrasParams
- func (o *GetVrasParams) WithDefaults() *GetVrasParams
- func (o *GetVrasParams) WithHTTPClient(client *http.Client) *GetVrasParams
- func (o *GetVrasParams) WithTimeout(timeout time.Duration) *GetVrasParams
- func (o *GetVrasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVrasReader
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 v r a API
func (*Client) GetVras ¶ added in v0.1.1
func (a *Client) GetVras(params *GetVrasParams, opts ...ClientOption) (*GetVrasOK, error)
GetVras gets all existing v realize automation instances
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetVras(params *GetVrasParams, opts ...ClientOption) (*GetVrasOK, 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 v r a API client.
type GetVrasOK ¶ added in v0.1.1
GetVrasOK describes a response with status code 200, with default header values.
OK
func NewGetVrasOK ¶ added in v0.1.1
func NewGetVrasOK() *GetVrasOK
NewGetVrasOK creates a GetVrasOK with default headers values
func (*GetVrasOK) GetPayload ¶ added in v0.1.1
func (*GetVrasOK) IsClientError ¶ added in v0.1.1
IsClientError returns true when this get vras o k response has a 4xx status code
func (*GetVrasOK) IsCode ¶ added in v0.1.1
IsCode returns true when this get vras o k response a status code equal to that given
func (*GetVrasOK) IsRedirect ¶ added in v0.1.1
IsRedirect returns true when this get vras o k response has a 3xx status code
func (*GetVrasOK) IsServerError ¶ added in v0.1.1
IsServerError returns true when this get vras o k response has a 5xx status code
type GetVrasParams ¶ added in v0.1.1
type GetVrasParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVrasParams contains all the parameters to send to the API endpoint
for the get vras operation. Typically these are written to a http.Request.
func NewGetVrasParams ¶ added in v0.1.1
func NewGetVrasParams() *GetVrasParams
NewGetVrasParams creates a new GetVrasParams 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 NewGetVrasParamsWithContext ¶ added in v0.1.1
func NewGetVrasParamsWithContext(ctx context.Context) *GetVrasParams
NewGetVrasParamsWithContext creates a new GetVrasParams object with the ability to set a context for a request.
func NewGetVrasParamsWithHTTPClient ¶ added in v0.1.1
func NewGetVrasParamsWithHTTPClient(client *http.Client) *GetVrasParams
NewGetVrasParamsWithHTTPClient creates a new GetVrasParams object with the ability to set a custom HTTPClient for a request.
func NewGetVrasParamsWithTimeout ¶ added in v0.1.1
func NewGetVrasParamsWithTimeout(timeout time.Duration) *GetVrasParams
NewGetVrasParamsWithTimeout creates a new GetVrasParams object with the ability to set a timeout on a request.
func (*GetVrasParams) SetContext ¶ added in v0.1.1
func (o *GetVrasParams) SetContext(ctx context.Context)
SetContext adds the context to the get vras params
func (*GetVrasParams) SetDefaults ¶ added in v0.1.1
func (o *GetVrasParams) SetDefaults()
SetDefaults hydrates default values in the get vras params (not the query body).
All values with no default are reset to their zero value.
func (*GetVrasParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetVrasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vras params
func (*GetVrasParams) SetTimeout ¶ added in v0.1.1
func (o *GetVrasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vras params
func (*GetVrasParams) WithContext ¶ added in v0.1.1
func (o *GetVrasParams) WithContext(ctx context.Context) *GetVrasParams
WithContext adds the context to the get vras params
func (*GetVrasParams) WithDefaults ¶ added in v0.1.1
func (o *GetVrasParams) WithDefaults() *GetVrasParams
WithDefaults hydrates default values in the get vras params (not the query body).
All values with no default are reset to their zero value.
func (*GetVrasParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetVrasParams) WithHTTPClient(client *http.Client) *GetVrasParams
WithHTTPClient adds the HTTPClient to the get vras params
func (*GetVrasParams) WithTimeout ¶ added in v0.1.1
func (o *GetVrasParams) WithTimeout(timeout time.Duration) *GetVrasParams
WithTimeout adds the timeout to the get vras params
func (*GetVrasParams) WriteToRequest ¶ added in v0.1.1
func (o *GetVrasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVrasReader ¶ added in v0.1.1
type GetVrasReader struct {
// contains filtered or unexported fields
}
GetVrasReader is a Reader for the GetVras structure.
func (*GetVrasReader) ReadResponse ¶ added in v0.1.1
func (o *GetVrasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.