Documentation ¶
Index ¶
- type Client
- func (a *Client) RequestGetUsingGET(params *RequestGetUsingGETParams, opts ...ClientOption) (*RequestGetUsingGETOK, error)
- func (a *Client) RequestListUsingGET(params *RequestListUsingGETParams, opts ...ClientOption) (*RequestListUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RequestGetUsingGETBadRequest
- type RequestGetUsingGETNotFound
- type RequestGetUsingGETOK
- type RequestGetUsingGETParams
- func NewRequestGetUsingGETParams() *RequestGetUsingGETParams
- func NewRequestGetUsingGETParamsWithContext(ctx context.Context) *RequestGetUsingGETParams
- func NewRequestGetUsingGETParamsWithHTTPClient(client *http.Client) *RequestGetUsingGETParams
- func NewRequestGetUsingGETParamsWithTimeout(timeout time.Duration) *RequestGetUsingGETParams
- func (o *RequestGetUsingGETParams) SetContext(ctx context.Context)
- func (o *RequestGetUsingGETParams) SetDefaults()
- func (o *RequestGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *RequestGetUsingGETParams) SetRequestID(requestID string)
- func (o *RequestGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *RequestGetUsingGETParams) WithContext(ctx context.Context) *RequestGetUsingGETParams
- func (o *RequestGetUsingGETParams) WithDefaults() *RequestGetUsingGETParams
- func (o *RequestGetUsingGETParams) WithHTTPClient(client *http.Client) *RequestGetUsingGETParams
- func (o *RequestGetUsingGETParams) WithRequestID(requestID string) *RequestGetUsingGETParams
- func (o *RequestGetUsingGETParams) WithTimeout(timeout time.Duration) *RequestGetUsingGETParams
- func (o *RequestGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestGetUsingGETReader
- type RequestListUsingGETBadRequest
- type RequestListUsingGETOK
- type RequestListUsingGETParams
- func NewRequestListUsingGETParams() *RequestListUsingGETParams
- func NewRequestListUsingGETParamsWithContext(ctx context.Context) *RequestListUsingGETParams
- func NewRequestListUsingGETParamsWithHTTPClient(client *http.Client) *RequestListUsingGETParams
- func NewRequestListUsingGETParamsWithTimeout(timeout time.Duration) *RequestListUsingGETParams
- func (o *RequestListUsingGETParams) SetActive(active *bool)
- func (o *RequestListUsingGETParams) SetContext(ctx context.Context)
- func (o *RequestListUsingGETParams) SetDefaults()
- func (o *RequestListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *RequestListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *RequestListUsingGETParams) WithActive(active *bool) *RequestListUsingGETParams
- func (o *RequestListUsingGETParams) WithContext(ctx context.Context) *RequestListUsingGETParams
- func (o *RequestListUsingGETParams) WithDefaults() *RequestListUsingGETParams
- func (o *RequestListUsingGETParams) WithHTTPClient(client *http.Client) *RequestListUsingGETParams
- func (o *RequestListUsingGETParams) WithTimeout(timeout time.Duration) *RequestListUsingGETParams
- func (o *RequestListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestListUsingGETReader
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 requests API
func (*Client) RequestGetUsingGET ¶
func (a *Client) RequestGetUsingGET(params *RequestGetUsingGETParams, opts ...ClientOption) (*RequestGetUsingGETOK, error)
RequestGetUsingGET gets
Get IaaS requests.
func (*Client) RequestListUsingGET ¶
func (a *Client) RequestListUsingGET(params *RequestListUsingGETParams, opts ...ClientOption) (*RequestListUsingGETOK, error)
RequestListUsingGET lists
List IaaS requests.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { RequestGetUsingGET(params *RequestGetUsingGETParams, opts ...ClientOption) (*RequestGetUsingGETOK, error) RequestListUsingGET(params *RequestListUsingGETParams, opts ...ClientOption) (*RequestListUsingGETOK, 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 requests API client.
type RequestGetUsingGETBadRequest ¶
type RequestGetUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
RequestGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewRequestGetUsingGETBadRequest ¶
func NewRequestGetUsingGETBadRequest() *RequestGetUsingGETBadRequest
NewRequestGetUsingGETBadRequest creates a RequestGetUsingGETBadRequest with default headers values
func (*RequestGetUsingGETBadRequest) Error ¶
func (o *RequestGetUsingGETBadRequest) Error() string
func (*RequestGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *RequestGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type RequestGetUsingGETNotFound ¶
type RequestGetUsingGETNotFound struct { }
RequestGetUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewRequestGetUsingGETNotFound ¶
func NewRequestGetUsingGETNotFound() *RequestGetUsingGETNotFound
NewRequestGetUsingGETNotFound creates a RequestGetUsingGETNotFound with default headers values
func (*RequestGetUsingGETNotFound) Error ¶
func (o *RequestGetUsingGETNotFound) Error() string
type RequestGetUsingGETOK ¶
type RequestGetUsingGETOK struct {
Payload *models.RequestInstanceGetResponse
}
RequestGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewRequestGetUsingGETOK ¶
func NewRequestGetUsingGETOK() *RequestGetUsingGETOK
NewRequestGetUsingGETOK creates a RequestGetUsingGETOK with default headers values
func (*RequestGetUsingGETOK) Error ¶
func (o *RequestGetUsingGETOK) Error() string
func (*RequestGetUsingGETOK) GetPayload ¶
func (o *RequestGetUsingGETOK) GetPayload() *models.RequestInstanceGetResponse
type RequestGetUsingGETParams ¶
type RequestGetUsingGETParams struct { /* RequestID. requestId */ RequestID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RequestGetUsingGETParams contains all the parameters to send to the API endpoint
for the request get using g e t operation. Typically these are written to a http.Request.
func NewRequestGetUsingGETParams ¶
func NewRequestGetUsingGETParams() *RequestGetUsingGETParams
NewRequestGetUsingGETParams creates a new RequestGetUsingGETParams 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 NewRequestGetUsingGETParamsWithContext ¶
func NewRequestGetUsingGETParamsWithContext(ctx context.Context) *RequestGetUsingGETParams
NewRequestGetUsingGETParamsWithContext creates a new RequestGetUsingGETParams object with the ability to set a context for a request.
func NewRequestGetUsingGETParamsWithHTTPClient ¶
func NewRequestGetUsingGETParamsWithHTTPClient(client *http.Client) *RequestGetUsingGETParams
NewRequestGetUsingGETParamsWithHTTPClient creates a new RequestGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewRequestGetUsingGETParamsWithTimeout ¶
func NewRequestGetUsingGETParamsWithTimeout(timeout time.Duration) *RequestGetUsingGETParams
NewRequestGetUsingGETParamsWithTimeout creates a new RequestGetUsingGETParams object with the ability to set a timeout on a request.
func (*RequestGetUsingGETParams) SetContext ¶
func (o *RequestGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the request get using g e t params
func (*RequestGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *RequestGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the request get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*RequestGetUsingGETParams) SetHTTPClient ¶
func (o *RequestGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request get using g e t params
func (*RequestGetUsingGETParams) SetRequestID ¶
func (o *RequestGetUsingGETParams) SetRequestID(requestID string)
SetRequestID adds the requestId to the request get using g e t params
func (*RequestGetUsingGETParams) SetTimeout ¶
func (o *RequestGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request get using g e t params
func (*RequestGetUsingGETParams) WithContext ¶
func (o *RequestGetUsingGETParams) WithContext(ctx context.Context) *RequestGetUsingGETParams
WithContext adds the context to the request get using g e t params
func (*RequestGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *RequestGetUsingGETParams) WithDefaults() *RequestGetUsingGETParams
WithDefaults hydrates default values in the request get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*RequestGetUsingGETParams) WithHTTPClient ¶
func (o *RequestGetUsingGETParams) WithHTTPClient(client *http.Client) *RequestGetUsingGETParams
WithHTTPClient adds the HTTPClient to the request get using g e t params
func (*RequestGetUsingGETParams) WithRequestID ¶
func (o *RequestGetUsingGETParams) WithRequestID(requestID string) *RequestGetUsingGETParams
WithRequestID adds the requestID to the request get using g e t params
func (*RequestGetUsingGETParams) WithTimeout ¶
func (o *RequestGetUsingGETParams) WithTimeout(timeout time.Duration) *RequestGetUsingGETParams
WithTimeout adds the timeout to the request get using g e t params
func (*RequestGetUsingGETParams) WriteToRequest ¶
func (o *RequestGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestGetUsingGETReader ¶
type RequestGetUsingGETReader struct {
// contains filtered or unexported fields
}
RequestGetUsingGETReader is a Reader for the RequestGetUsingGET structure.
func (*RequestGetUsingGETReader) ReadResponse ¶
func (o *RequestGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RequestListUsingGETBadRequest ¶
type RequestListUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
RequestListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewRequestListUsingGETBadRequest ¶
func NewRequestListUsingGETBadRequest() *RequestListUsingGETBadRequest
NewRequestListUsingGETBadRequest creates a RequestListUsingGETBadRequest with default headers values
func (*RequestListUsingGETBadRequest) Error ¶
func (o *RequestListUsingGETBadRequest) Error() string
func (*RequestListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *RequestListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type RequestListUsingGETOK ¶
type RequestListUsingGETOK struct {
Payload *models.RequestInstanceListResponse
}
RequestListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewRequestListUsingGETOK ¶
func NewRequestListUsingGETOK() *RequestListUsingGETOK
NewRequestListUsingGETOK creates a RequestListUsingGETOK with default headers values
func (*RequestListUsingGETOK) Error ¶
func (o *RequestListUsingGETOK) Error() string
func (*RequestListUsingGETOK) GetPayload ¶
func (o *RequestListUsingGETOK) GetPayload() *models.RequestInstanceListResponse
type RequestListUsingGETParams ¶
type RequestListUsingGETParams struct { /* Active. active */ Active *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RequestListUsingGETParams contains all the parameters to send to the API endpoint
for the request list using g e t operation. Typically these are written to a http.Request.
func NewRequestListUsingGETParams ¶
func NewRequestListUsingGETParams() *RequestListUsingGETParams
NewRequestListUsingGETParams creates a new RequestListUsingGETParams 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 NewRequestListUsingGETParamsWithContext ¶
func NewRequestListUsingGETParamsWithContext(ctx context.Context) *RequestListUsingGETParams
NewRequestListUsingGETParamsWithContext creates a new RequestListUsingGETParams object with the ability to set a context for a request.
func NewRequestListUsingGETParamsWithHTTPClient ¶
func NewRequestListUsingGETParamsWithHTTPClient(client *http.Client) *RequestListUsingGETParams
NewRequestListUsingGETParamsWithHTTPClient creates a new RequestListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewRequestListUsingGETParamsWithTimeout ¶
func NewRequestListUsingGETParamsWithTimeout(timeout time.Duration) *RequestListUsingGETParams
NewRequestListUsingGETParamsWithTimeout creates a new RequestListUsingGETParams object with the ability to set a timeout on a request.
func (*RequestListUsingGETParams) SetActive ¶ added in v1.1.0
func (o *RequestListUsingGETParams) SetActive(active *bool)
SetActive adds the active to the request list using g e t params
func (*RequestListUsingGETParams) SetContext ¶
func (o *RequestListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the request list using g e t params
func (*RequestListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *RequestListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the request list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*RequestListUsingGETParams) SetHTTPClient ¶
func (o *RequestListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request list using g e t params
func (*RequestListUsingGETParams) SetTimeout ¶
func (o *RequestListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request list using g e t params
func (*RequestListUsingGETParams) WithActive ¶ added in v1.1.0
func (o *RequestListUsingGETParams) WithActive(active *bool) *RequestListUsingGETParams
WithActive adds the active to the request list using g e t params
func (*RequestListUsingGETParams) WithContext ¶
func (o *RequestListUsingGETParams) WithContext(ctx context.Context) *RequestListUsingGETParams
WithContext adds the context to the request list using g e t params
func (*RequestListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *RequestListUsingGETParams) WithDefaults() *RequestListUsingGETParams
WithDefaults hydrates default values in the request list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*RequestListUsingGETParams) WithHTTPClient ¶
func (o *RequestListUsingGETParams) WithHTTPClient(client *http.Client) *RequestListUsingGETParams
WithHTTPClient adds the HTTPClient to the request list using g e t params
func (*RequestListUsingGETParams) WithTimeout ¶
func (o *RequestListUsingGETParams) WithTimeout(timeout time.Duration) *RequestListUsingGETParams
WithTimeout adds the timeout to the request list using g e t params
func (*RequestListUsingGETParams) WriteToRequest ¶
func (o *RequestListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestListUsingGETReader ¶
type RequestListUsingGETReader struct {
// contains filtered or unexported fields
}
RequestListUsingGETReader is a Reader for the RequestListUsingGET structure.
func (*RequestListUsingGETReader) ReadResponse ¶
func (o *RequestListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.