Documentation ¶
Index ¶
- type Client
- func (a *Client) GetApplications(params *GetApplicationsParams, opts ...ClientOption) (*GetApplicationsOK, error)
- func (a *Client) GetApplicationsConnection(params *GetApplicationsConnectionParams, opts ...ClientOption) (*GetApplicationsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetApplicationsBadRequest
- type GetApplicationsConnectionBadRequest
- type GetApplicationsConnectionOK
- type GetApplicationsConnectionParams
- func NewGetApplicationsConnectionParams() *GetApplicationsConnectionParams
- func NewGetApplicationsConnectionParamsWithContext(ctx context.Context) *GetApplicationsConnectionParams
- func NewGetApplicationsConnectionParamsWithHTTPClient(client *http.Client) *GetApplicationsConnectionParams
- func NewGetApplicationsConnectionParamsWithTimeout(timeout time.Duration) *GetApplicationsConnectionParams
- func (o *GetApplicationsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetApplicationsConnectionParams) SetContext(ctx context.Context)
- func (o *GetApplicationsConnectionParams) SetDefaults()
- func (o *GetApplicationsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetApplicationsConnectionParams) SetRequestBody(requestBody *models.GetApplicationsConnectionRequestBody)
- func (o *GetApplicationsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetApplicationsConnectionParams) WithContentLanguage(contentLanguage *string) *GetApplicationsConnectionParams
- func (o *GetApplicationsConnectionParams) WithContext(ctx context.Context) *GetApplicationsConnectionParams
- func (o *GetApplicationsConnectionParams) WithDefaults() *GetApplicationsConnectionParams
- func (o *GetApplicationsConnectionParams) WithHTTPClient(client *http.Client) *GetApplicationsConnectionParams
- func (o *GetApplicationsConnectionParams) WithRequestBody(requestBody *models.GetApplicationsConnectionRequestBody) *GetApplicationsConnectionParams
- func (o *GetApplicationsConnectionParams) WithTimeout(timeout time.Duration) *GetApplicationsConnectionParams
- func (o *GetApplicationsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApplicationsConnectionReader
- type GetApplicationsOK
- type GetApplicationsParams
- func NewGetApplicationsParams() *GetApplicationsParams
- func NewGetApplicationsParamsWithContext(ctx context.Context) *GetApplicationsParams
- func NewGetApplicationsParamsWithHTTPClient(client *http.Client) *GetApplicationsParams
- func NewGetApplicationsParamsWithTimeout(timeout time.Duration) *GetApplicationsParams
- func (o *GetApplicationsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetApplicationsParams) SetContext(ctx context.Context)
- func (o *GetApplicationsParams) SetDefaults()
- func (o *GetApplicationsParams) SetHTTPClient(client *http.Client)
- func (o *GetApplicationsParams) SetRequestBody(requestBody *models.GetApplicationsRequestBody)
- func (o *GetApplicationsParams) SetTimeout(timeout time.Duration)
- func (o *GetApplicationsParams) WithContentLanguage(contentLanguage *string) *GetApplicationsParams
- func (o *GetApplicationsParams) WithContext(ctx context.Context) *GetApplicationsParams
- func (o *GetApplicationsParams) WithDefaults() *GetApplicationsParams
- func (o *GetApplicationsParams) WithHTTPClient(client *http.Client) *GetApplicationsParams
- func (o *GetApplicationsParams) WithRequestBody(requestBody *models.GetApplicationsRequestBody) *GetApplicationsParams
- func (o *GetApplicationsParams) WithTimeout(timeout time.Duration) *GetApplicationsParams
- func (o *GetApplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApplicationsReader
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 application API
func (*Client) GetApplications ¶
func (a *Client) GetApplications(params *GetApplicationsParams, opts ...ClientOption) (*GetApplicationsOK, error)
GetApplications get applications API
func (*Client) GetApplicationsConnection ¶
func (a *Client) GetApplicationsConnection(params *GetApplicationsConnectionParams, opts ...ClientOption) (*GetApplicationsConnectionOK, error)
GetApplicationsConnection get applications connection API
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 { GetApplications(params *GetApplicationsParams, opts ...ClientOption) (*GetApplicationsOK, error) GetApplicationsConnection(params *GetApplicationsConnectionParams, opts ...ClientOption) (*GetApplicationsConnectionOK, 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 application API client.
type GetApplicationsBadRequest ¶
type GetApplicationsBadRequest struct {
Payload string
}
GetApplicationsBadRequest describes a response with status code 400, with default header values.
GetApplicationsBadRequest get applications bad request
func NewGetApplicationsBadRequest ¶
func NewGetApplicationsBadRequest() *GetApplicationsBadRequest
NewGetApplicationsBadRequest creates a GetApplicationsBadRequest with default headers values
func (*GetApplicationsBadRequest) Error ¶
func (o *GetApplicationsBadRequest) Error() string
func (*GetApplicationsBadRequest) GetPayload ¶
func (o *GetApplicationsBadRequest) GetPayload() string
type GetApplicationsConnectionBadRequest ¶
type GetApplicationsConnectionBadRequest struct {
Payload string
}
GetApplicationsConnectionBadRequest describes a response with status code 400, with default header values.
GetApplicationsConnectionBadRequest get applications connection bad request
func NewGetApplicationsConnectionBadRequest ¶
func NewGetApplicationsConnectionBadRequest() *GetApplicationsConnectionBadRequest
NewGetApplicationsConnectionBadRequest creates a GetApplicationsConnectionBadRequest with default headers values
func (*GetApplicationsConnectionBadRequest) Error ¶
func (o *GetApplicationsConnectionBadRequest) Error() string
func (*GetApplicationsConnectionBadRequest) GetPayload ¶
func (o *GetApplicationsConnectionBadRequest) GetPayload() string
type GetApplicationsConnectionOK ¶
type GetApplicationsConnectionOK struct {
Payload *models.ApplicationConnection
}
GetApplicationsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetApplicationsConnectionOK ¶
func NewGetApplicationsConnectionOK() *GetApplicationsConnectionOK
NewGetApplicationsConnectionOK creates a GetApplicationsConnectionOK with default headers values
func (*GetApplicationsConnectionOK) Error ¶
func (o *GetApplicationsConnectionOK) Error() string
func (*GetApplicationsConnectionOK) GetPayload ¶
func (o *GetApplicationsConnectionOK) GetPayload() *models.ApplicationConnection
type GetApplicationsConnectionParams ¶
type GetApplicationsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetApplicationsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetApplicationsConnectionParams contains all the parameters to send to the API endpoint
for the get applications connection operation. Typically these are written to a http.Request.
func NewGetApplicationsConnectionParams ¶
func NewGetApplicationsConnectionParams() *GetApplicationsConnectionParams
NewGetApplicationsConnectionParams creates a new GetApplicationsConnectionParams 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 NewGetApplicationsConnectionParamsWithContext ¶
func NewGetApplicationsConnectionParamsWithContext(ctx context.Context) *GetApplicationsConnectionParams
NewGetApplicationsConnectionParamsWithContext creates a new GetApplicationsConnectionParams object with the ability to set a context for a request.
func NewGetApplicationsConnectionParamsWithHTTPClient ¶
func NewGetApplicationsConnectionParamsWithHTTPClient(client *http.Client) *GetApplicationsConnectionParams
NewGetApplicationsConnectionParamsWithHTTPClient creates a new GetApplicationsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetApplicationsConnectionParamsWithTimeout ¶
func NewGetApplicationsConnectionParamsWithTimeout(timeout time.Duration) *GetApplicationsConnectionParams
NewGetApplicationsConnectionParamsWithTimeout creates a new GetApplicationsConnectionParams object with the ability to set a timeout on a request.
func (*GetApplicationsConnectionParams) SetContentLanguage ¶
func (o *GetApplicationsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get applications connection params
func (*GetApplicationsConnectionParams) SetContext ¶
func (o *GetApplicationsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get applications connection params
func (*GetApplicationsConnectionParams) SetDefaults ¶
func (o *GetApplicationsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get applications connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetApplicationsConnectionParams) SetHTTPClient ¶
func (o *GetApplicationsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get applications connection params
func (*GetApplicationsConnectionParams) SetRequestBody ¶
func (o *GetApplicationsConnectionParams) SetRequestBody(requestBody *models.GetApplicationsConnectionRequestBody)
SetRequestBody adds the requestBody to the get applications connection params
func (*GetApplicationsConnectionParams) SetTimeout ¶
func (o *GetApplicationsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get applications connection params
func (*GetApplicationsConnectionParams) WithContentLanguage ¶
func (o *GetApplicationsConnectionParams) WithContentLanguage(contentLanguage *string) *GetApplicationsConnectionParams
WithContentLanguage adds the contentLanguage to the get applications connection params
func (*GetApplicationsConnectionParams) WithContext ¶
func (o *GetApplicationsConnectionParams) WithContext(ctx context.Context) *GetApplicationsConnectionParams
WithContext adds the context to the get applications connection params
func (*GetApplicationsConnectionParams) WithDefaults ¶
func (o *GetApplicationsConnectionParams) WithDefaults() *GetApplicationsConnectionParams
WithDefaults hydrates default values in the get applications connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetApplicationsConnectionParams) WithHTTPClient ¶
func (o *GetApplicationsConnectionParams) WithHTTPClient(client *http.Client) *GetApplicationsConnectionParams
WithHTTPClient adds the HTTPClient to the get applications connection params
func (*GetApplicationsConnectionParams) WithRequestBody ¶
func (o *GetApplicationsConnectionParams) WithRequestBody(requestBody *models.GetApplicationsConnectionRequestBody) *GetApplicationsConnectionParams
WithRequestBody adds the requestBody to the get applications connection params
func (*GetApplicationsConnectionParams) WithTimeout ¶
func (o *GetApplicationsConnectionParams) WithTimeout(timeout time.Duration) *GetApplicationsConnectionParams
WithTimeout adds the timeout to the get applications connection params
func (*GetApplicationsConnectionParams) WriteToRequest ¶
func (o *GetApplicationsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetApplicationsConnectionReader ¶
type GetApplicationsConnectionReader struct {
// contains filtered or unexported fields
}
GetApplicationsConnectionReader is a Reader for the GetApplicationsConnection structure.
func (*GetApplicationsConnectionReader) ReadResponse ¶
func (o *GetApplicationsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApplicationsOK ¶
type GetApplicationsOK struct {
Payload []*models.Application
}
GetApplicationsOK describes a response with status code 200, with default header values.
Ok
func NewGetApplicationsOK ¶
func NewGetApplicationsOK() *GetApplicationsOK
NewGetApplicationsOK creates a GetApplicationsOK with default headers values
func (*GetApplicationsOK) Error ¶
func (o *GetApplicationsOK) Error() string
func (*GetApplicationsOK) GetPayload ¶
func (o *GetApplicationsOK) GetPayload() []*models.Application
type GetApplicationsParams ¶
type GetApplicationsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetApplicationsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetApplicationsParams contains all the parameters to send to the API endpoint
for the get applications operation. Typically these are written to a http.Request.
func NewGetApplicationsParams ¶
func NewGetApplicationsParams() *GetApplicationsParams
NewGetApplicationsParams creates a new GetApplicationsParams 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 NewGetApplicationsParamsWithContext ¶
func NewGetApplicationsParamsWithContext(ctx context.Context) *GetApplicationsParams
NewGetApplicationsParamsWithContext creates a new GetApplicationsParams object with the ability to set a context for a request.
func NewGetApplicationsParamsWithHTTPClient ¶
func NewGetApplicationsParamsWithHTTPClient(client *http.Client) *GetApplicationsParams
NewGetApplicationsParamsWithHTTPClient creates a new GetApplicationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetApplicationsParamsWithTimeout ¶
func NewGetApplicationsParamsWithTimeout(timeout time.Duration) *GetApplicationsParams
NewGetApplicationsParamsWithTimeout creates a new GetApplicationsParams object with the ability to set a timeout on a request.
func (*GetApplicationsParams) SetContentLanguage ¶
func (o *GetApplicationsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get applications params
func (*GetApplicationsParams) SetContext ¶
func (o *GetApplicationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get applications params
func (*GetApplicationsParams) SetDefaults ¶
func (o *GetApplicationsParams) SetDefaults()
SetDefaults hydrates default values in the get applications params (not the query body).
All values with no default are reset to their zero value.
func (*GetApplicationsParams) SetHTTPClient ¶
func (o *GetApplicationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get applications params
func (*GetApplicationsParams) SetRequestBody ¶
func (o *GetApplicationsParams) SetRequestBody(requestBody *models.GetApplicationsRequestBody)
SetRequestBody adds the requestBody to the get applications params
func (*GetApplicationsParams) SetTimeout ¶
func (o *GetApplicationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get applications params
func (*GetApplicationsParams) WithContentLanguage ¶
func (o *GetApplicationsParams) WithContentLanguage(contentLanguage *string) *GetApplicationsParams
WithContentLanguage adds the contentLanguage to the get applications params
func (*GetApplicationsParams) WithContext ¶
func (o *GetApplicationsParams) WithContext(ctx context.Context) *GetApplicationsParams
WithContext adds the context to the get applications params
func (*GetApplicationsParams) WithDefaults ¶
func (o *GetApplicationsParams) WithDefaults() *GetApplicationsParams
WithDefaults hydrates default values in the get applications params (not the query body).
All values with no default are reset to their zero value.
func (*GetApplicationsParams) WithHTTPClient ¶
func (o *GetApplicationsParams) WithHTTPClient(client *http.Client) *GetApplicationsParams
WithHTTPClient adds the HTTPClient to the get applications params
func (*GetApplicationsParams) WithRequestBody ¶
func (o *GetApplicationsParams) WithRequestBody(requestBody *models.GetApplicationsRequestBody) *GetApplicationsParams
WithRequestBody adds the requestBody to the get applications params
func (*GetApplicationsParams) WithTimeout ¶
func (o *GetApplicationsParams) WithTimeout(timeout time.Duration) *GetApplicationsParams
WithTimeout adds the timeout to the get applications params
func (*GetApplicationsParams) WriteToRequest ¶
func (o *GetApplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetApplicationsReader ¶
type GetApplicationsReader struct {
// contains filtered or unexported fields
}
GetApplicationsReader is a Reader for the GetApplications structure.
func (*GetApplicationsReader) ReadResponse ¶
func (o *GetApplicationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.