applications

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 11 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 applications API

func (*Client) GetApplciationByIDUsingGET2

func (a *Client) GetApplciationByIDUsingGET2(params *GetApplciationByIDUsingGET2Params, opts ...ClientOption) (*GetApplciationByIDUsingGET2OK, error)

GetApplciationByIDUsingGET2 fetches a specific application

Returns the application with the supplied ID.

func (*Client) GetApplicationsUsingGET2

func (a *Client) GetApplicationsUsingGET2(params *GetApplicationsUsingGET2Params, opts ...ClientOption) (*GetApplicationsUsingGET2OK, error)

GetApplicationsUsingGET2 fetches all applications

Returns a paginated list of applications. Applications with more than 100 resources is not supported.

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 {
	GetApplciationByIDUsingGET2(params *GetApplciationByIDUsingGET2Params, opts ...ClientOption) (*GetApplciationByIDUsingGET2OK, error)

	GetApplicationsUsingGET2(params *GetApplicationsUsingGET2Params, opts ...ClientOption) (*GetApplicationsUsingGET2OK, 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 applications API client.

type GetApplciationByIDUsingGET2NotFound

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

Not Found

func NewGetApplciationByIDUsingGET2NotFound

func NewGetApplciationByIDUsingGET2NotFound() *GetApplciationByIDUsingGET2NotFound

NewGetApplciationByIDUsingGET2NotFound creates a GetApplciationByIDUsingGET2NotFound with default headers values

func (*GetApplciationByIDUsingGET2NotFound) Error

func (*GetApplciationByIDUsingGET2NotFound) GetPayload

type GetApplciationByIDUsingGET2OK

type GetApplciationByIDUsingGET2OK struct {
	Payload *models.Application
}
GetApplciationByIDUsingGET2OK describes a response with status code 200, with default header values.

OK

func NewGetApplciationByIDUsingGET2OK

func NewGetApplciationByIDUsingGET2OK() *GetApplciationByIDUsingGET2OK

NewGetApplciationByIDUsingGET2OK creates a GetApplciationByIDUsingGET2OK with default headers values

func (*GetApplciationByIDUsingGET2OK) Error

func (*GetApplciationByIDUsingGET2OK) GetPayload

type GetApplciationByIDUsingGET2Params

type GetApplciationByIDUsingGET2Params struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* AppID.

	   Application ID
	*/
	AppID string

	/* Expand.

	   The expanded details of the requested comma separated objects. 'resources' option returns resources with all properties.
	*/
	Expand []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetApplciationByIDUsingGET2Params contains all the parameters to send to the API endpoint

for the get applciation by Id using g e t 2 operation.

Typically these are written to a http.Request.

func NewGetApplciationByIDUsingGET2Params

func NewGetApplciationByIDUsingGET2Params() *GetApplciationByIDUsingGET2Params

NewGetApplciationByIDUsingGET2Params creates a new GetApplciationByIDUsingGET2Params 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 NewGetApplciationByIDUsingGET2ParamsWithContext

func NewGetApplciationByIDUsingGET2ParamsWithContext(ctx context.Context) *GetApplciationByIDUsingGET2Params

NewGetApplciationByIDUsingGET2ParamsWithContext creates a new GetApplciationByIDUsingGET2Params object with the ability to set a context for a request.

func NewGetApplciationByIDUsingGET2ParamsWithHTTPClient

func NewGetApplciationByIDUsingGET2ParamsWithHTTPClient(client *http.Client) *GetApplciationByIDUsingGET2Params

NewGetApplciationByIDUsingGET2ParamsWithHTTPClient creates a new GetApplciationByIDUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetApplciationByIDUsingGET2ParamsWithTimeout

func NewGetApplciationByIDUsingGET2ParamsWithTimeout(timeout time.Duration) *GetApplciationByIDUsingGET2Params

NewGetApplciationByIDUsingGET2ParamsWithTimeout creates a new GetApplciationByIDUsingGET2Params object with the ability to set a timeout on a request.

func (*GetApplciationByIDUsingGET2Params) SetAPIVersion

func (o *GetApplciationByIDUsingGET2Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) SetAppID

func (o *GetApplciationByIDUsingGET2Params) SetAppID(appID string)

SetAppID adds the appId to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) SetContext

SetContext adds the context to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) SetDefaults

func (o *GetApplciationByIDUsingGET2Params) SetDefaults()

SetDefaults hydrates default values in the get applciation by Id using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetApplciationByIDUsingGET2Params) SetExpand

func (o *GetApplciationByIDUsingGET2Params) SetExpand(expand []string)

SetExpand adds the expand to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) SetHTTPClient

func (o *GetApplciationByIDUsingGET2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) SetTimeout

func (o *GetApplciationByIDUsingGET2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) WithAppID

WithAppID adds the appID to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) WithContext

WithContext adds the context to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) WithDefaults

WithDefaults hydrates default values in the get applciation by Id using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetApplciationByIDUsingGET2Params) WithExpand

WithExpand adds the expand to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) WithTimeout

WithTimeout adds the timeout to the get applciation by Id using g e t 2 params

func (*GetApplciationByIDUsingGET2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApplciationByIDUsingGET2Reader

type GetApplciationByIDUsingGET2Reader struct {
	// contains filtered or unexported fields
}

GetApplciationByIDUsingGET2Reader is a Reader for the GetApplciationByIDUsingGET2 structure.

func (*GetApplciationByIDUsingGET2Reader) ReadResponse

func (o *GetApplciationByIDUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetApplciationByIDUsingGET2Unauthorized

type GetApplciationByIDUsingGET2Unauthorized struct {
}
GetApplciationByIDUsingGET2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetApplciationByIDUsingGET2Unauthorized

func NewGetApplciationByIDUsingGET2Unauthorized() *GetApplciationByIDUsingGET2Unauthorized

NewGetApplciationByIDUsingGET2Unauthorized creates a GetApplciationByIDUsingGET2Unauthorized with default headers values

func (*GetApplciationByIDUsingGET2Unauthorized) Error

type GetApplicationsUsingGET2OK

type GetApplicationsUsingGET2OK struct {
	Payload *models.PageOfApplication
}
GetApplicationsUsingGET2OK describes a response with status code 200, with default header values.

OK

func NewGetApplicationsUsingGET2OK

func NewGetApplicationsUsingGET2OK() *GetApplicationsUsingGET2OK

NewGetApplicationsUsingGET2OK creates a GetApplicationsUsingGET2OK with default headers values

func (*GetApplicationsUsingGET2OK) Error

func (*GetApplicationsUsingGET2OK) GetPayload

type GetApplicationsUsingGET2Params

type GetApplicationsUsingGET2Params struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* CreatedAt.

	   Comma-separated start and end dates where start date or end date is optional (e.g. [2020-12-01T08:00:00.000Z,2020-12-11T23:59:00.000Z], [2020-11-03T08:00:00.000Z,], [,2020-11-08T08:00:00.000Z]
	*/
	CreatedAt *string

	/* Expand.

	   The expanded details of the requested comma separated objects. 'resources' option returns resources with all properties.
	*/
	Expand []string

	/* Ids.

	   A comma-separated list. Only applications with these IDs will be included in the results.
	*/
	Ids []string

	/* LastUpdatedAt.

	   Comma-separated start and end dates where start date or end date is optional (e.g. [2020-12-01T08:00:00.000Z,2020-12-11T23:59:00.000Z], [2020-11-03T08:00:00.000Z,], [,2020-11-08T08:00:00.000Z]
	*/
	LastUpdatedAt *string

	/* Name.

	   Results must have exactly this name.
	*/
	Name *string

	/* ResourceTypes.

	   A comma-separated list. Results must be associated with one of these resourceType Names.
	*/
	ResourceTypes []string

	/* Search.

	   Given string should either be part of a searchable field in a application or one of application's resources.
	*/
	Search *string

	/* Tags.

	   A comma-separated list. Results must be associated with one of these tags
	*/
	Tags []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetApplicationsUsingGET2Params contains all the parameters to send to the API endpoint

for the get applications using g e t 2 operation.

Typically these are written to a http.Request.

func NewGetApplicationsUsingGET2Params

func NewGetApplicationsUsingGET2Params() *GetApplicationsUsingGET2Params

NewGetApplicationsUsingGET2Params creates a new GetApplicationsUsingGET2Params 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 NewGetApplicationsUsingGET2ParamsWithContext

func NewGetApplicationsUsingGET2ParamsWithContext(ctx context.Context) *GetApplicationsUsingGET2Params

NewGetApplicationsUsingGET2ParamsWithContext creates a new GetApplicationsUsingGET2Params object with the ability to set a context for a request.

func NewGetApplicationsUsingGET2ParamsWithHTTPClient

func NewGetApplicationsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetApplicationsUsingGET2Params

NewGetApplicationsUsingGET2ParamsWithHTTPClient creates a new GetApplicationsUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetApplicationsUsingGET2ParamsWithTimeout

func NewGetApplicationsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetApplicationsUsingGET2Params

NewGetApplicationsUsingGET2ParamsWithTimeout creates a new GetApplicationsUsingGET2Params object with the ability to set a timeout on a request.

func (*GetApplicationsUsingGET2Params) SetAPIVersion

func (o *GetApplicationsUsingGET2Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetContext

func (o *GetApplicationsUsingGET2Params) SetContext(ctx context.Context)

SetContext adds the context to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetCreatedAt

func (o *GetApplicationsUsingGET2Params) SetCreatedAt(createdAt *string)

SetCreatedAt adds the createdAt to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetDefaults

func (o *GetApplicationsUsingGET2Params) SetDefaults()

SetDefaults hydrates default values in the get applications using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetApplicationsUsingGET2Params) SetDollarOrderby

func (o *GetApplicationsUsingGET2Params) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetDollarSkip

func (o *GetApplicationsUsingGET2Params) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetDollarTop

func (o *GetApplicationsUsingGET2Params) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetExpand

func (o *GetApplicationsUsingGET2Params) SetExpand(expand []string)

SetExpand adds the expand to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetHTTPClient

func (o *GetApplicationsUsingGET2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetIds

func (o *GetApplicationsUsingGET2Params) SetIds(ids []string)

SetIds adds the ids to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetLastUpdatedAt

func (o *GetApplicationsUsingGET2Params) SetLastUpdatedAt(lastUpdatedAt *string)

SetLastUpdatedAt adds the lastUpdatedAt to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetName

func (o *GetApplicationsUsingGET2Params) SetName(name *string)

SetName adds the name to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetResourceTypes

func (o *GetApplicationsUsingGET2Params) SetResourceTypes(resourceTypes []string)

SetResourceTypes adds the resourceTypes to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetSearch

func (o *GetApplicationsUsingGET2Params) SetSearch(search *string)

SetSearch adds the search to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetTags

func (o *GetApplicationsUsingGET2Params) SetTags(tags []string)

SetTags adds the tags to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) SetTimeout

func (o *GetApplicationsUsingGET2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithContext

WithContext adds the context to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithCreatedAt

WithCreatedAt adds the createdAt to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithDefaults

WithDefaults hydrates default values in the get applications using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetApplicationsUsingGET2Params) WithDollarOrderby

func (o *GetApplicationsUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetApplicationsUsingGET2Params

WithDollarOrderby adds the dollarOrderby to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithDollarTop

WithDollarTop adds the dollarTop to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithExpand

WithExpand adds the expand to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithIds

WithIds adds the ids to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithLastUpdatedAt

func (o *GetApplicationsUsingGET2Params) WithLastUpdatedAt(lastUpdatedAt *string) *GetApplicationsUsingGET2Params

WithLastUpdatedAt adds the lastUpdatedAt to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithName

WithName adds the name to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithResourceTypes

func (o *GetApplicationsUsingGET2Params) WithResourceTypes(resourceTypes []string) *GetApplicationsUsingGET2Params

WithResourceTypes adds the resourceTypes to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithSearch

WithSearch adds the search to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithTags

WithTags adds the tags to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WithTimeout

WithTimeout adds the timeout to the get applications using g e t 2 params

func (*GetApplicationsUsingGET2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApplicationsUsingGET2Reader

type GetApplicationsUsingGET2Reader struct {
	// contains filtered or unexported fields
}

GetApplicationsUsingGET2Reader is a Reader for the GetApplicationsUsingGET2 structure.

func (*GetApplicationsUsingGET2Reader) ReadResponse

func (o *GetApplicationsUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetApplicationsUsingGET2Unauthorized

type GetApplicationsUsingGET2Unauthorized struct {
}
GetApplicationsUsingGET2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetApplicationsUsingGET2Unauthorized

func NewGetApplicationsUsingGET2Unauthorized() *GetApplicationsUsingGET2Unauthorized

NewGetApplicationsUsingGET2Unauthorized creates a GetApplicationsUsingGET2Unauthorized with default headers values

func (*GetApplicationsUsingGET2Unauthorized) Error

Jump to

Keyboard shortcuts

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