Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetWsasOK
- func (o *GetWsasOK) Error() string
- func (o *GetWsasOK) GetPayload() *models.PageOfWSA
- func (o *GetWsasOK) IsClientError() bool
- func (o *GetWsasOK) IsCode(code int) bool
- func (o *GetWsasOK) IsRedirect() bool
- func (o *GetWsasOK) IsServerError() bool
- func (o *GetWsasOK) IsSuccess() bool
- func (o *GetWsasOK) String() string
- type GetWsasParams
- func (o *GetWsasParams) SetContext(ctx context.Context)
- func (o *GetWsasParams) SetDefaults()
- func (o *GetWsasParams) SetHTTPClient(client *http.Client)
- func (o *GetWsasParams) SetTimeout(timeout time.Duration)
- func (o *GetWsasParams) WithContext(ctx context.Context) *GetWsasParams
- func (o *GetWsasParams) WithDefaults() *GetWsasParams
- func (o *GetWsasParams) WithHTTPClient(client *http.Client) *GetWsasParams
- func (o *GetWsasParams) WithTimeout(timeout time.Duration) *GetWsasParams
- func (o *GetWsasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWsasReader
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 wsa API
func (*Client) GetWsas ¶ added in v0.1.1
func (a *Client) GetWsas(params *GetWsasParams, opts ...ClientOption) (*GetWsasOK, error)
GetWsas gets all existing workspace o n e access 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 { GetWsas(params *GetWsasParams, opts ...ClientOption) (*GetWsasOK, 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 wsa API client.
type GetWsasOK ¶ added in v0.1.1
GetWsasOK describes a response with status code 200, with default header values.
OK
func NewGetWsasOK ¶ added in v0.1.1
func NewGetWsasOK() *GetWsasOK
NewGetWsasOK creates a GetWsasOK with default headers values
func (*GetWsasOK) GetPayload ¶ added in v0.1.1
func (*GetWsasOK) IsClientError ¶ added in v0.1.1
IsClientError returns true when this get wsas o k response has a 4xx status code
func (*GetWsasOK) IsCode ¶ added in v0.1.1
IsCode returns true when this get wsas o k response a status code equal to that given
func (*GetWsasOK) IsRedirect ¶ added in v0.1.1
IsRedirect returns true when this get wsas o k response has a 3xx status code
func (*GetWsasOK) IsServerError ¶ added in v0.1.1
IsServerError returns true when this get wsas o k response has a 5xx status code
type GetWsasParams ¶ added in v0.1.1
type GetWsasParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWsasParams contains all the parameters to send to the API endpoint
for the get wsas operation. Typically these are written to a http.Request.
func NewGetWsasParams ¶ added in v0.1.1
func NewGetWsasParams() *GetWsasParams
NewGetWsasParams creates a new GetWsasParams 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 NewGetWsasParamsWithContext ¶ added in v0.1.1
func NewGetWsasParamsWithContext(ctx context.Context) *GetWsasParams
NewGetWsasParamsWithContext creates a new GetWsasParams object with the ability to set a context for a request.
func NewGetWsasParamsWithHTTPClient ¶ added in v0.1.1
func NewGetWsasParamsWithHTTPClient(client *http.Client) *GetWsasParams
NewGetWsasParamsWithHTTPClient creates a new GetWsasParams object with the ability to set a custom HTTPClient for a request.
func NewGetWsasParamsWithTimeout ¶ added in v0.1.1
func NewGetWsasParamsWithTimeout(timeout time.Duration) *GetWsasParams
NewGetWsasParamsWithTimeout creates a new GetWsasParams object with the ability to set a timeout on a request.
func (*GetWsasParams) SetContext ¶ added in v0.1.1
func (o *GetWsasParams) SetContext(ctx context.Context)
SetContext adds the context to the get wsas params
func (*GetWsasParams) SetDefaults ¶ added in v0.1.1
func (o *GetWsasParams) SetDefaults()
SetDefaults hydrates default values in the get wsas params (not the query body).
All values with no default are reset to their zero value.
func (*GetWsasParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetWsasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get wsas params
func (*GetWsasParams) SetTimeout ¶ added in v0.1.1
func (o *GetWsasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get wsas params
func (*GetWsasParams) WithContext ¶ added in v0.1.1
func (o *GetWsasParams) WithContext(ctx context.Context) *GetWsasParams
WithContext adds the context to the get wsas params
func (*GetWsasParams) WithDefaults ¶ added in v0.1.1
func (o *GetWsasParams) WithDefaults() *GetWsasParams
WithDefaults hydrates default values in the get wsas params (not the query body).
All values with no default are reset to their zero value.
func (*GetWsasParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetWsasParams) WithHTTPClient(client *http.Client) *GetWsasParams
WithHTTPClient adds the HTTPClient to the get wsas params
func (*GetWsasParams) WithTimeout ¶ added in v0.1.1
func (o *GetWsasParams) WithTimeout(timeout time.Duration) *GetWsasParams
WithTimeout adds the timeout to the get wsas params
func (*GetWsasParams) WriteToRequest ¶ added in v0.1.1
func (o *GetWsasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWsasReader ¶ added in v0.1.1
type GetWsasReader struct {
// contains filtered or unexported fields
}
GetWsasReader is a Reader for the GetWsas structure.
func (*GetWsasReader) ReadResponse ¶ added in v0.1.1
func (o *GetWsasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.