application

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: ISC Imports: 10 Imported by: 0

Documentation

Index

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 *models.ErrorBody
}
GetApplicationsBadRequest describes a response with status code 400, with default header values.

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() *models.ErrorBody

type GetApplicationsConnectionBadRequest

type GetApplicationsConnectionBadRequest struct {
	Payload *models.ErrorBody
}
GetApplicationsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetApplicationsConnectionBadRequest

func NewGetApplicationsConnectionBadRequest() *GetApplicationsConnectionBadRequest

NewGetApplicationsConnectionBadRequest creates a GetApplicationsConnectionBadRequest with default headers values

func (*GetApplicationsConnectionBadRequest) Error

func (*GetApplicationsConnectionBadRequest) GetPayload

type GetApplicationsConnectionInternalServerError added in v1.10.0

type GetApplicationsConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetApplicationsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetApplicationsConnectionInternalServerError added in v1.10.0

func NewGetApplicationsConnectionInternalServerError() *GetApplicationsConnectionInternalServerError

NewGetApplicationsConnectionInternalServerError creates a GetApplicationsConnectionInternalServerError with default headers values

func (*GetApplicationsConnectionInternalServerError) Error added in v1.10.0

func (*GetApplicationsConnectionInternalServerError) GetPayload added in v1.10.0

type GetApplicationsConnectionNotFound added in v1.10.0

type GetApplicationsConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetApplicationsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetApplicationsConnectionNotFound added in v1.10.0

func NewGetApplicationsConnectionNotFound() *GetApplicationsConnectionNotFound

NewGetApplicationsConnectionNotFound creates a GetApplicationsConnectionNotFound with default headers values

func (*GetApplicationsConnectionNotFound) Error added in v1.10.0

func (*GetApplicationsConnectionNotFound) GetPayload added in v1.10.0

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 (*GetApplicationsConnectionOK) GetPayload

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

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

WithContext adds the context to the get applications connection params

func (*GetApplicationsConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get applications connection params

func (*GetApplicationsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get applications connection params

func (*GetApplicationsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get applications connection params

func (*GetApplicationsConnectionParams) WriteToRequest

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 GetApplicationsInternalServerError added in v1.10.0

type GetApplicationsInternalServerError struct {
	Payload *models.ErrorBody
}
GetApplicationsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetApplicationsInternalServerError added in v1.10.0

func NewGetApplicationsInternalServerError() *GetApplicationsInternalServerError

NewGetApplicationsInternalServerError creates a GetApplicationsInternalServerError with default headers values

func (*GetApplicationsInternalServerError) Error added in v1.10.0

func (*GetApplicationsInternalServerError) GetPayload added in v1.10.0

type GetApplicationsNotFound added in v1.10.0

type GetApplicationsNotFound struct {
	Payload *models.ErrorBody
}
GetApplicationsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetApplicationsNotFound added in v1.10.0

func NewGetApplicationsNotFound() *GetApplicationsNotFound

NewGetApplicationsNotFound creates a GetApplicationsNotFound with default headers values

func (*GetApplicationsNotFound) Error added in v1.10.0

func (o *GetApplicationsNotFound) Error() string

func (*GetApplicationsNotFound) GetPayload added in v1.10.0

func (o *GetApplicationsNotFound) GetPayload() *models.ErrorBody

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL