installedapps

package
v0.0.0-...-97f4547 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT 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 installedapps API

func (*Client) CreateInstalledAppEvents

func (a *Client) CreateInstalledAppEvents(params *CreateInstalledAppEventsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInstalledAppEventsOK, error)
CreateInstalledAppEvents creates installed app events

Create events for an installed app.  This API allows Apps to create events to trigger custom behavior in

installed apps. Requires a SmartApp token.

func (*Client) DeleteInstallation

func (a *Client) DeleteInstallation(params *DeleteInstallationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInstallationOK, error)

DeleteInstallation deletes an installed app

Delete an Installed App.

func (*Client) GetInstallation

func (a *Client) GetInstallation(params *GetInstallationParams, authInfo runtime.ClientAuthInfoWriter) (*GetInstallationOK, error)

GetInstallation gets an installed app

Fetch a single installed application.

func (*Client) GetInstallationConfig

func (a *Client) GetInstallationConfig(params *GetInstallationConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetInstallationConfigOK, error)

GetInstallationConfig gets an installed app configuration

Fetch a detailed install configuration model containing actual config entries / values.

func (*Client) ListInstallationConfig

func (a *Client) ListInstallationConfig(params *ListInstallationConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListInstallationConfigOK, error)

ListInstallationConfig lists an installed app s configurations

List all configurations potentially filtered by status for an installed app.

func (*Client) ListInstallations

func (a *Client) ListInstallations(params *ListInstallationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListInstallationsOK, error)
ListInstallations lists installed apps

List all installed applications within the specified locations. If no locations are provided, then list all

installed apps accessible by the principle.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CreateInstalledAppEvents(params *CreateInstalledAppEventsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInstalledAppEventsOK, error)

	DeleteInstallation(params *DeleteInstallationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInstallationOK, error)

	GetInstallation(params *GetInstallationParams, authInfo runtime.ClientAuthInfoWriter) (*GetInstallationOK, error)

	GetInstallationConfig(params *GetInstallationConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetInstallationConfigOK, error)

	ListInstallationConfig(params *ListInstallationConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListInstallationConfigOK, error)

	ListInstallations(params *ListInstallationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListInstallationsOK, 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 installedapps API client.

type CreateInstalledAppEventsBadRequest

type CreateInstalledAppEventsBadRequest struct {
	Payload *models.ErrorResponse
}

CreateInstalledAppEventsBadRequest handles this case with default header values.

Bad request

func NewCreateInstalledAppEventsBadRequest

func NewCreateInstalledAppEventsBadRequest() *CreateInstalledAppEventsBadRequest

NewCreateInstalledAppEventsBadRequest creates a CreateInstalledAppEventsBadRequest with default headers values

func (*CreateInstalledAppEventsBadRequest) Error

func (*CreateInstalledAppEventsBadRequest) GetPayload

type CreateInstalledAppEventsDefault

type CreateInstalledAppEventsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CreateInstalledAppEventsDefault handles this case with default header values.

Unexpected error

func NewCreateInstalledAppEventsDefault

func NewCreateInstalledAppEventsDefault(code int) *CreateInstalledAppEventsDefault

NewCreateInstalledAppEventsDefault creates a CreateInstalledAppEventsDefault with default headers values

func (*CreateInstalledAppEventsDefault) Code

Code gets the status code for the create installed app events default response

func (*CreateInstalledAppEventsDefault) Error

func (*CreateInstalledAppEventsDefault) GetPayload

type CreateInstalledAppEventsForbidden

type CreateInstalledAppEventsForbidden struct {
}

CreateInstalledAppEventsForbidden handles this case with default header values.

Forbidden

func NewCreateInstalledAppEventsForbidden

func NewCreateInstalledAppEventsForbidden() *CreateInstalledAppEventsForbidden

NewCreateInstalledAppEventsForbidden creates a CreateInstalledAppEventsForbidden with default headers values

func (*CreateInstalledAppEventsForbidden) Error

type CreateInstalledAppEventsOK

type CreateInstalledAppEventsOK struct {
	Payload models.CreateInstalledAppEventsResponse
}

CreateInstalledAppEventsOK handles this case with default header values.

Created events.

func NewCreateInstalledAppEventsOK

func NewCreateInstalledAppEventsOK() *CreateInstalledAppEventsOK

NewCreateInstalledAppEventsOK creates a CreateInstalledAppEventsOK with default headers values

func (*CreateInstalledAppEventsOK) Error

func (*CreateInstalledAppEventsOK) GetPayload

type CreateInstalledAppEventsParams

type CreateInstalledAppEventsParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*CreateInstalledAppEventsRequest*/
	CreateInstalledAppEventsRequest *models.CreateInstalledAppEventsRequest
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string

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

CreateInstalledAppEventsParams contains all the parameters to send to the API endpoint for the create installed app events operation typically these are written to a http.Request

func NewCreateInstalledAppEventsParams

func NewCreateInstalledAppEventsParams() *CreateInstalledAppEventsParams

NewCreateInstalledAppEventsParams creates a new CreateInstalledAppEventsParams object with the default values initialized.

func NewCreateInstalledAppEventsParamsWithContext

func NewCreateInstalledAppEventsParamsWithContext(ctx context.Context) *CreateInstalledAppEventsParams

NewCreateInstalledAppEventsParamsWithContext creates a new CreateInstalledAppEventsParams object with the default values initialized, and the ability to set a context for a request

func NewCreateInstalledAppEventsParamsWithHTTPClient

func NewCreateInstalledAppEventsParamsWithHTTPClient(client *http.Client) *CreateInstalledAppEventsParams

NewCreateInstalledAppEventsParamsWithHTTPClient creates a new CreateInstalledAppEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateInstalledAppEventsParamsWithTimeout

func NewCreateInstalledAppEventsParamsWithTimeout(timeout time.Duration) *CreateInstalledAppEventsParams

NewCreateInstalledAppEventsParamsWithTimeout creates a new CreateInstalledAppEventsParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateInstalledAppEventsParams) SetAuthorization

func (o *CreateInstalledAppEventsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the create installed app events params

func (*CreateInstalledAppEventsParams) SetContext

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

SetContext adds the context to the create installed app events params

func (*CreateInstalledAppEventsParams) SetCreateInstalledAppEventsRequest

func (o *CreateInstalledAppEventsParams) SetCreateInstalledAppEventsRequest(createInstalledAppEventsRequest *models.CreateInstalledAppEventsRequest)

SetCreateInstalledAppEventsRequest adds the createInstalledAppEventsRequest to the create installed app events params

func (*CreateInstalledAppEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create installed app events params

func (*CreateInstalledAppEventsParams) SetInstalledAppID

func (o *CreateInstalledAppEventsParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the create installed app events params

func (*CreateInstalledAppEventsParams) SetTimeout

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

SetTimeout adds the timeout to the create installed app events params

func (*CreateInstalledAppEventsParams) WithAuthorization

func (o *CreateInstalledAppEventsParams) WithAuthorization(authorization string) *CreateInstalledAppEventsParams

WithAuthorization adds the authorization to the create installed app events params

func (*CreateInstalledAppEventsParams) WithContext

WithContext adds the context to the create installed app events params

func (*CreateInstalledAppEventsParams) WithCreateInstalledAppEventsRequest

func (o *CreateInstalledAppEventsParams) WithCreateInstalledAppEventsRequest(createInstalledAppEventsRequest *models.CreateInstalledAppEventsRequest) *CreateInstalledAppEventsParams

WithCreateInstalledAppEventsRequest adds the createInstalledAppEventsRequest to the create installed app events params

func (*CreateInstalledAppEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create installed app events params

func (*CreateInstalledAppEventsParams) WithInstalledAppID

func (o *CreateInstalledAppEventsParams) WithInstalledAppID(installedAppID string) *CreateInstalledAppEventsParams

WithInstalledAppID adds the installedAppID to the create installed app events params

func (*CreateInstalledAppEventsParams) WithTimeout

WithTimeout adds the timeout to the create installed app events params

func (*CreateInstalledAppEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInstalledAppEventsReader

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

CreateInstalledAppEventsReader is a Reader for the CreateInstalledAppEvents structure.

func (*CreateInstalledAppEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInstalledAppEventsTooManyRequests

type CreateInstalledAppEventsTooManyRequests struct {
	Payload *models.ErrorResponse
}

CreateInstalledAppEventsTooManyRequests handles this case with default header values.

Too many requests

func NewCreateInstalledAppEventsTooManyRequests

func NewCreateInstalledAppEventsTooManyRequests() *CreateInstalledAppEventsTooManyRequests

NewCreateInstalledAppEventsTooManyRequests creates a CreateInstalledAppEventsTooManyRequests with default headers values

func (*CreateInstalledAppEventsTooManyRequests) Error

func (*CreateInstalledAppEventsTooManyRequests) GetPayload

type CreateInstalledAppEventsUnauthorized

type CreateInstalledAppEventsUnauthorized struct {
}

CreateInstalledAppEventsUnauthorized handles this case with default header values.

Unauthorized

func NewCreateInstalledAppEventsUnauthorized

func NewCreateInstalledAppEventsUnauthorized() *CreateInstalledAppEventsUnauthorized

NewCreateInstalledAppEventsUnauthorized creates a CreateInstalledAppEventsUnauthorized with default headers values

func (*CreateInstalledAppEventsUnauthorized) Error

type CreateInstalledAppEventsUnprocessableEntity

type CreateInstalledAppEventsUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

CreateInstalledAppEventsUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewCreateInstalledAppEventsUnprocessableEntity

func NewCreateInstalledAppEventsUnprocessableEntity() *CreateInstalledAppEventsUnprocessableEntity

NewCreateInstalledAppEventsUnprocessableEntity creates a CreateInstalledAppEventsUnprocessableEntity with default headers values

func (*CreateInstalledAppEventsUnprocessableEntity) Error

func (*CreateInstalledAppEventsUnprocessableEntity) GetPayload

type DeleteInstallationBadRequest

type DeleteInstallationBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteInstallationBadRequest handles this case with default header values.

Bad request

func NewDeleteInstallationBadRequest

func NewDeleteInstallationBadRequest() *DeleteInstallationBadRequest

NewDeleteInstallationBadRequest creates a DeleteInstallationBadRequest with default headers values

func (*DeleteInstallationBadRequest) Error

func (*DeleteInstallationBadRequest) GetPayload

type DeleteInstallationDefault

type DeleteInstallationDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

DeleteInstallationDefault handles this case with default header values.

Unexpected error

func NewDeleteInstallationDefault

func NewDeleteInstallationDefault(code int) *DeleteInstallationDefault

NewDeleteInstallationDefault creates a DeleteInstallationDefault with default headers values

func (*DeleteInstallationDefault) Code

func (o *DeleteInstallationDefault) Code() int

Code gets the status code for the delete installation default response

func (*DeleteInstallationDefault) Error

func (o *DeleteInstallationDefault) Error() string

func (*DeleteInstallationDefault) GetPayload

type DeleteInstallationForbidden

type DeleteInstallationForbidden struct {
}

DeleteInstallationForbidden handles this case with default header values.

Forbidden

func NewDeleteInstallationForbidden

func NewDeleteInstallationForbidden() *DeleteInstallationForbidden

NewDeleteInstallationForbidden creates a DeleteInstallationForbidden with default headers values

func (*DeleteInstallationForbidden) Error

type DeleteInstallationOK

type DeleteInstallationOK struct {
	Payload *models.DeleteInstalledAppResponse
}

DeleteInstallationOK handles this case with default header values.

The number of installed apps deleted.

func NewDeleteInstallationOK

func NewDeleteInstallationOK() *DeleteInstallationOK

NewDeleteInstallationOK creates a DeleteInstallationOK with default headers values

func (*DeleteInstallationOK) Error

func (o *DeleteInstallationOK) Error() string

func (*DeleteInstallationOK) GetPayload

type DeleteInstallationParams

type DeleteInstallationParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string

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

DeleteInstallationParams contains all the parameters to send to the API endpoint for the delete installation operation typically these are written to a http.Request

func NewDeleteInstallationParams

func NewDeleteInstallationParams() *DeleteInstallationParams

NewDeleteInstallationParams creates a new DeleteInstallationParams object with the default values initialized.

func NewDeleteInstallationParamsWithContext

func NewDeleteInstallationParamsWithContext(ctx context.Context) *DeleteInstallationParams

NewDeleteInstallationParamsWithContext creates a new DeleteInstallationParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteInstallationParamsWithHTTPClient

func NewDeleteInstallationParamsWithHTTPClient(client *http.Client) *DeleteInstallationParams

NewDeleteInstallationParamsWithHTTPClient creates a new DeleteInstallationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteInstallationParamsWithTimeout

func NewDeleteInstallationParamsWithTimeout(timeout time.Duration) *DeleteInstallationParams

NewDeleteInstallationParamsWithTimeout creates a new DeleteInstallationParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteInstallationParams) SetAuthorization

func (o *DeleteInstallationParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete installation params

func (*DeleteInstallationParams) SetContext

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

SetContext adds the context to the delete installation params

func (*DeleteInstallationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete installation params

func (*DeleteInstallationParams) SetInstalledAppID

func (o *DeleteInstallationParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the delete installation params

func (*DeleteInstallationParams) SetTimeout

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

SetTimeout adds the timeout to the delete installation params

func (*DeleteInstallationParams) WithAuthorization

func (o *DeleteInstallationParams) WithAuthorization(authorization string) *DeleteInstallationParams

WithAuthorization adds the authorization to the delete installation params

func (*DeleteInstallationParams) WithContext

WithContext adds the context to the delete installation params

func (*DeleteInstallationParams) WithHTTPClient

func (o *DeleteInstallationParams) WithHTTPClient(client *http.Client) *DeleteInstallationParams

WithHTTPClient adds the HTTPClient to the delete installation params

func (*DeleteInstallationParams) WithInstalledAppID

func (o *DeleteInstallationParams) WithInstalledAppID(installedAppID string) *DeleteInstallationParams

WithInstalledAppID adds the installedAppID to the delete installation params

func (*DeleteInstallationParams) WithTimeout

WithTimeout adds the timeout to the delete installation params

func (*DeleteInstallationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInstallationReader

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

DeleteInstallationReader is a Reader for the DeleteInstallation structure.

func (*DeleteInstallationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInstallationTooManyRequests

type DeleteInstallationTooManyRequests struct {
	Payload *models.ErrorResponse
}

DeleteInstallationTooManyRequests handles this case with default header values.

Too many requests

func NewDeleteInstallationTooManyRequests

func NewDeleteInstallationTooManyRequests() *DeleteInstallationTooManyRequests

NewDeleteInstallationTooManyRequests creates a DeleteInstallationTooManyRequests with default headers values

func (*DeleteInstallationTooManyRequests) Error

func (*DeleteInstallationTooManyRequests) GetPayload

type DeleteInstallationUnauthorized

type DeleteInstallationUnauthorized struct {
}

DeleteInstallationUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteInstallationUnauthorized

func NewDeleteInstallationUnauthorized() *DeleteInstallationUnauthorized

NewDeleteInstallationUnauthorized creates a DeleteInstallationUnauthorized with default headers values

func (*DeleteInstallationUnauthorized) Error

type GetInstallationBadRequest

type GetInstallationBadRequest struct {
	Payload *models.ErrorResponse
}

GetInstallationBadRequest handles this case with default header values.

Bad request

func NewGetInstallationBadRequest

func NewGetInstallationBadRequest() *GetInstallationBadRequest

NewGetInstallationBadRequest creates a GetInstallationBadRequest with default headers values

func (*GetInstallationBadRequest) Error

func (o *GetInstallationBadRequest) Error() string

func (*GetInstallationBadRequest) GetPayload

type GetInstallationConfigBadRequest

type GetInstallationConfigBadRequest struct {
	Payload *models.ErrorResponse
}

GetInstallationConfigBadRequest handles this case with default header values.

Bad request

func NewGetInstallationConfigBadRequest

func NewGetInstallationConfigBadRequest() *GetInstallationConfigBadRequest

NewGetInstallationConfigBadRequest creates a GetInstallationConfigBadRequest with default headers values

func (*GetInstallationConfigBadRequest) Error

func (*GetInstallationConfigBadRequest) GetPayload

type GetInstallationConfigDefault

type GetInstallationConfigDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

GetInstallationConfigDefault handles this case with default header values.

Unexpected error

func NewGetInstallationConfigDefault

func NewGetInstallationConfigDefault(code int) *GetInstallationConfigDefault

NewGetInstallationConfigDefault creates a GetInstallationConfigDefault with default headers values

func (*GetInstallationConfigDefault) Code

Code gets the status code for the get installation config default response

func (*GetInstallationConfigDefault) Error

func (*GetInstallationConfigDefault) GetPayload

type GetInstallationConfigForbidden

type GetInstallationConfigForbidden struct {
}

GetInstallationConfigForbidden handles this case with default header values.

Forbidden

func NewGetInstallationConfigForbidden

func NewGetInstallationConfigForbidden() *GetInstallationConfigForbidden

NewGetInstallationConfigForbidden creates a GetInstallationConfigForbidden with default headers values

func (*GetInstallationConfigForbidden) Error

type GetInstallationConfigOK

type GetInstallationConfigOK struct {
	Payload *models.InstallConfigurationDetail
}

GetInstallationConfigOK handles this case with default header values.

An install configuration detail model.

func NewGetInstallationConfigOK

func NewGetInstallationConfigOK() *GetInstallationConfigOK

NewGetInstallationConfigOK creates a GetInstallationConfigOK with default headers values

func (*GetInstallationConfigOK) Error

func (o *GetInstallationConfigOK) Error() string

func (*GetInstallationConfigOK) GetPayload

type GetInstallationConfigParams

type GetInstallationConfigParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*ConfigurationID
	  The ID of the install configuration.

	*/
	ConfigurationID strfmt.UUID
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string

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

GetInstallationConfigParams contains all the parameters to send to the API endpoint for the get installation config operation typically these are written to a http.Request

func NewGetInstallationConfigParams

func NewGetInstallationConfigParams() *GetInstallationConfigParams

NewGetInstallationConfigParams creates a new GetInstallationConfigParams object with the default values initialized.

func NewGetInstallationConfigParamsWithContext

func NewGetInstallationConfigParamsWithContext(ctx context.Context) *GetInstallationConfigParams

NewGetInstallationConfigParamsWithContext creates a new GetInstallationConfigParams object with the default values initialized, and the ability to set a context for a request

func NewGetInstallationConfigParamsWithHTTPClient

func NewGetInstallationConfigParamsWithHTTPClient(client *http.Client) *GetInstallationConfigParams

NewGetInstallationConfigParamsWithHTTPClient creates a new GetInstallationConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInstallationConfigParamsWithTimeout

func NewGetInstallationConfigParamsWithTimeout(timeout time.Duration) *GetInstallationConfigParams

NewGetInstallationConfigParamsWithTimeout creates a new GetInstallationConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInstallationConfigParams) SetAuthorization

func (o *GetInstallationConfigParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get installation config params

func (*GetInstallationConfigParams) SetConfigurationID

func (o *GetInstallationConfigParams) SetConfigurationID(configurationID strfmt.UUID)

SetConfigurationID adds the configurationId to the get installation config params

func (*GetInstallationConfigParams) SetContext

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

SetContext adds the context to the get installation config params

func (*GetInstallationConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get installation config params

func (*GetInstallationConfigParams) SetInstalledAppID

func (o *GetInstallationConfigParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the get installation config params

func (*GetInstallationConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get installation config params

func (*GetInstallationConfigParams) WithAuthorization

func (o *GetInstallationConfigParams) WithAuthorization(authorization string) *GetInstallationConfigParams

WithAuthorization adds the authorization to the get installation config params

func (*GetInstallationConfigParams) WithConfigurationID

func (o *GetInstallationConfigParams) WithConfigurationID(configurationID strfmt.UUID) *GetInstallationConfigParams

WithConfigurationID adds the configurationID to the get installation config params

func (*GetInstallationConfigParams) WithContext

WithContext adds the context to the get installation config params

func (*GetInstallationConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get installation config params

func (*GetInstallationConfigParams) WithInstalledAppID

func (o *GetInstallationConfigParams) WithInstalledAppID(installedAppID string) *GetInstallationConfigParams

WithInstalledAppID adds the installedAppID to the get installation config params

func (*GetInstallationConfigParams) WithTimeout

WithTimeout adds the timeout to the get installation config params

func (*GetInstallationConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInstallationConfigReader

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

GetInstallationConfigReader is a Reader for the GetInstallationConfig structure.

func (*GetInstallationConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInstallationConfigTooManyRequests

type GetInstallationConfigTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetInstallationConfigTooManyRequests handles this case with default header values.

Too many requests

func NewGetInstallationConfigTooManyRequests

func NewGetInstallationConfigTooManyRequests() *GetInstallationConfigTooManyRequests

NewGetInstallationConfigTooManyRequests creates a GetInstallationConfigTooManyRequests with default headers values

func (*GetInstallationConfigTooManyRequests) Error

func (*GetInstallationConfigTooManyRequests) GetPayload

type GetInstallationConfigUnauthorized

type GetInstallationConfigUnauthorized struct {
}

GetInstallationConfigUnauthorized handles this case with default header values.

Unauthorized

func NewGetInstallationConfigUnauthorized

func NewGetInstallationConfigUnauthorized() *GetInstallationConfigUnauthorized

NewGetInstallationConfigUnauthorized creates a GetInstallationConfigUnauthorized with default headers values

func (*GetInstallationConfigUnauthorized) Error

type GetInstallationDefault

type GetInstallationDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

GetInstallationDefault handles this case with default header values.

Unexpected error

func NewGetInstallationDefault

func NewGetInstallationDefault(code int) *GetInstallationDefault

NewGetInstallationDefault creates a GetInstallationDefault with default headers values

func (*GetInstallationDefault) Code

func (o *GetInstallationDefault) Code() int

Code gets the status code for the get installation default response

func (*GetInstallationDefault) Error

func (o *GetInstallationDefault) Error() string

func (*GetInstallationDefault) GetPayload

func (o *GetInstallationDefault) GetPayload() *models.ErrorResponse

type GetInstallationForbidden

type GetInstallationForbidden struct {
}

GetInstallationForbidden handles this case with default header values.

Forbidden

func NewGetInstallationForbidden

func NewGetInstallationForbidden() *GetInstallationForbidden

NewGetInstallationForbidden creates a GetInstallationForbidden with default headers values

func (*GetInstallationForbidden) Error

func (o *GetInstallationForbidden) Error() string

type GetInstallationOK

type GetInstallationOK struct {
	Payload *models.InstalledApp
}

GetInstallationOK handles this case with default header values.

An installed app.

func NewGetInstallationOK

func NewGetInstallationOK() *GetInstallationOK

NewGetInstallationOK creates a GetInstallationOK with default headers values

func (*GetInstallationOK) Error

func (o *GetInstallationOK) Error() string

func (*GetInstallationOK) GetPayload

func (o *GetInstallationOK) GetPayload() *models.InstalledApp

type GetInstallationParams

type GetInstallationParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string

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

GetInstallationParams contains all the parameters to send to the API endpoint for the get installation operation typically these are written to a http.Request

func NewGetInstallationParams

func NewGetInstallationParams() *GetInstallationParams

NewGetInstallationParams creates a new GetInstallationParams object with the default values initialized.

func NewGetInstallationParamsWithContext

func NewGetInstallationParamsWithContext(ctx context.Context) *GetInstallationParams

NewGetInstallationParamsWithContext creates a new GetInstallationParams object with the default values initialized, and the ability to set a context for a request

func NewGetInstallationParamsWithHTTPClient

func NewGetInstallationParamsWithHTTPClient(client *http.Client) *GetInstallationParams

NewGetInstallationParamsWithHTTPClient creates a new GetInstallationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInstallationParamsWithTimeout

func NewGetInstallationParamsWithTimeout(timeout time.Duration) *GetInstallationParams

NewGetInstallationParamsWithTimeout creates a new GetInstallationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInstallationParams) SetAuthorization

func (o *GetInstallationParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get installation params

func (*GetInstallationParams) SetContext

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

SetContext adds the context to the get installation params

func (*GetInstallationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get installation params

func (*GetInstallationParams) SetInstalledAppID

func (o *GetInstallationParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the get installation params

func (*GetInstallationParams) SetTimeout

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

SetTimeout adds the timeout to the get installation params

func (*GetInstallationParams) WithAuthorization

func (o *GetInstallationParams) WithAuthorization(authorization string) *GetInstallationParams

WithAuthorization adds the authorization to the get installation params

func (*GetInstallationParams) WithContext

WithContext adds the context to the get installation params

func (*GetInstallationParams) WithHTTPClient

func (o *GetInstallationParams) WithHTTPClient(client *http.Client) *GetInstallationParams

WithHTTPClient adds the HTTPClient to the get installation params

func (*GetInstallationParams) WithInstalledAppID

func (o *GetInstallationParams) WithInstalledAppID(installedAppID string) *GetInstallationParams

WithInstalledAppID adds the installedAppID to the get installation params

func (*GetInstallationParams) WithTimeout

func (o *GetInstallationParams) WithTimeout(timeout time.Duration) *GetInstallationParams

WithTimeout adds the timeout to the get installation params

func (*GetInstallationParams) WriteToRequest

func (o *GetInstallationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetInstallationReader

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

GetInstallationReader is a Reader for the GetInstallation structure.

func (*GetInstallationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInstallationTooManyRequests

type GetInstallationTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetInstallationTooManyRequests handles this case with default header values.

Too many requests

func NewGetInstallationTooManyRequests

func NewGetInstallationTooManyRequests() *GetInstallationTooManyRequests

NewGetInstallationTooManyRequests creates a GetInstallationTooManyRequests with default headers values

func (*GetInstallationTooManyRequests) Error

func (*GetInstallationTooManyRequests) GetPayload

type GetInstallationUnauthorized

type GetInstallationUnauthorized struct {
}

GetInstallationUnauthorized handles this case with default header values.

Unauthorized

func NewGetInstallationUnauthorized

func NewGetInstallationUnauthorized() *GetInstallationUnauthorized

NewGetInstallationUnauthorized creates a GetInstallationUnauthorized with default headers values

func (*GetInstallationUnauthorized) Error

type ListInstallationConfigBadRequest

type ListInstallationConfigBadRequest struct {
	Payload *models.ErrorResponse
}

ListInstallationConfigBadRequest handles this case with default header values.

Bad request

func NewListInstallationConfigBadRequest

func NewListInstallationConfigBadRequest() *ListInstallationConfigBadRequest

NewListInstallationConfigBadRequest creates a ListInstallationConfigBadRequest with default headers values

func (*ListInstallationConfigBadRequest) Error

func (*ListInstallationConfigBadRequest) GetPayload

type ListInstallationConfigDefault

type ListInstallationConfigDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListInstallationConfigDefault handles this case with default header values.

Unexpected error

func NewListInstallationConfigDefault

func NewListInstallationConfigDefault(code int) *ListInstallationConfigDefault

NewListInstallationConfigDefault creates a ListInstallationConfigDefault with default headers values

func (*ListInstallationConfigDefault) Code

Code gets the status code for the list installation config default response

func (*ListInstallationConfigDefault) Error

func (*ListInstallationConfigDefault) GetPayload

type ListInstallationConfigForbidden

type ListInstallationConfigForbidden struct {
}

ListInstallationConfigForbidden handles this case with default header values.

Forbidden

func NewListInstallationConfigForbidden

func NewListInstallationConfigForbidden() *ListInstallationConfigForbidden

NewListInstallationConfigForbidden creates a ListInstallationConfigForbidden with default headers values

func (*ListInstallationConfigForbidden) Error

type ListInstallationConfigOK

type ListInstallationConfigOK struct {
	Payload *models.PagedInstallConfigurations
}

ListInstallationConfigOK handles this case with default header values.

An paginated list of install configuration.

func NewListInstallationConfigOK

func NewListInstallationConfigOK() *ListInstallationConfigOK

NewListInstallationConfigOK creates a ListInstallationConfigOK with default headers values

func (*ListInstallationConfigOK) Error

func (o *ListInstallationConfigOK) Error() string

func (*ListInstallationConfigOK) GetPayload

type ListInstallationConfigParams

type ListInstallationConfigParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*ConfigurationStatus
	  Filter for configuration status.

	*/
	ConfigurationStatus *string
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string

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

ListInstallationConfigParams contains all the parameters to send to the API endpoint for the list installation config operation typically these are written to a http.Request

func NewListInstallationConfigParams

func NewListInstallationConfigParams() *ListInstallationConfigParams

NewListInstallationConfigParams creates a new ListInstallationConfigParams object with the default values initialized.

func NewListInstallationConfigParamsWithContext

func NewListInstallationConfigParamsWithContext(ctx context.Context) *ListInstallationConfigParams

NewListInstallationConfigParamsWithContext creates a new ListInstallationConfigParams object with the default values initialized, and the ability to set a context for a request

func NewListInstallationConfigParamsWithHTTPClient

func NewListInstallationConfigParamsWithHTTPClient(client *http.Client) *ListInstallationConfigParams

NewListInstallationConfigParamsWithHTTPClient creates a new ListInstallationConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListInstallationConfigParamsWithTimeout

func NewListInstallationConfigParamsWithTimeout(timeout time.Duration) *ListInstallationConfigParams

NewListInstallationConfigParamsWithTimeout creates a new ListInstallationConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListInstallationConfigParams) SetAuthorization

func (o *ListInstallationConfigParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the list installation config params

func (*ListInstallationConfigParams) SetConfigurationStatus

func (o *ListInstallationConfigParams) SetConfigurationStatus(configurationStatus *string)

SetConfigurationStatus adds the configurationStatus to the list installation config params

func (*ListInstallationConfigParams) SetContext

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

SetContext adds the context to the list installation config params

func (*ListInstallationConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list installation config params

func (*ListInstallationConfigParams) SetInstalledAppID

func (o *ListInstallationConfigParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the list installation config params

func (*ListInstallationConfigParams) SetTimeout

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

SetTimeout adds the timeout to the list installation config params

func (*ListInstallationConfigParams) WithAuthorization

func (o *ListInstallationConfigParams) WithAuthorization(authorization string) *ListInstallationConfigParams

WithAuthorization adds the authorization to the list installation config params

func (*ListInstallationConfigParams) WithConfigurationStatus

func (o *ListInstallationConfigParams) WithConfigurationStatus(configurationStatus *string) *ListInstallationConfigParams

WithConfigurationStatus adds the configurationStatus to the list installation config params

func (*ListInstallationConfigParams) WithContext

WithContext adds the context to the list installation config params

func (*ListInstallationConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list installation config params

func (*ListInstallationConfigParams) WithInstalledAppID

func (o *ListInstallationConfigParams) WithInstalledAppID(installedAppID string) *ListInstallationConfigParams

WithInstalledAppID adds the installedAppID to the list installation config params

func (*ListInstallationConfigParams) WithTimeout

WithTimeout adds the timeout to the list installation config params

func (*ListInstallationConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListInstallationConfigReader

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

ListInstallationConfigReader is a Reader for the ListInstallationConfig structure.

func (*ListInstallationConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListInstallationConfigTooManyRequests

type ListInstallationConfigTooManyRequests struct {
	Payload *models.ErrorResponse
}

ListInstallationConfigTooManyRequests handles this case with default header values.

Too many requests

func NewListInstallationConfigTooManyRequests

func NewListInstallationConfigTooManyRequests() *ListInstallationConfigTooManyRequests

NewListInstallationConfigTooManyRequests creates a ListInstallationConfigTooManyRequests with default headers values

func (*ListInstallationConfigTooManyRequests) Error

func (*ListInstallationConfigTooManyRequests) GetPayload

type ListInstallationConfigUnauthorized

type ListInstallationConfigUnauthorized struct {
}

ListInstallationConfigUnauthorized handles this case with default header values.

Unauthorized

func NewListInstallationConfigUnauthorized

func NewListInstallationConfigUnauthorized() *ListInstallationConfigUnauthorized

NewListInstallationConfigUnauthorized creates a ListInstallationConfigUnauthorized with default headers values

func (*ListInstallationConfigUnauthorized) Error

type ListInstallationsDefault

type ListInstallationsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListInstallationsDefault handles this case with default header values.

Unexpected error

func NewListInstallationsDefault

func NewListInstallationsDefault(code int) *ListInstallationsDefault

NewListInstallationsDefault creates a ListInstallationsDefault with default headers values

func (*ListInstallationsDefault) Code

func (o *ListInstallationsDefault) Code() int

Code gets the status code for the list installations default response

func (*ListInstallationsDefault) Error

func (o *ListInstallationsDefault) Error() string

func (*ListInstallationsDefault) GetPayload

type ListInstallationsForbidden

type ListInstallationsForbidden struct {
}

ListInstallationsForbidden handles this case with default header values.

Forbidden

func NewListInstallationsForbidden

func NewListInstallationsForbidden() *ListInstallationsForbidden

NewListInstallationsForbidden creates a ListInstallationsForbidden with default headers values

func (*ListInstallationsForbidden) Error

type ListInstallationsOK

type ListInstallationsOK struct {
	Payload *models.PagedInstalledApps
}

ListInstallationsOK handles this case with default header values.

A paginated list of installed apps.

func NewListInstallationsOK

func NewListInstallationsOK() *ListInstallationsOK

NewListInstallationsOK creates a ListInstallationsOK with default headers values

func (*ListInstallationsOK) Error

func (o *ListInstallationsOK) Error() string

func (*ListInstallationsOK) GetPayload

type ListInstallationsParams

type ListInstallationsParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*AppID
	  The ID of an App

	*/
	AppID *string
	/*DeviceID
	  The ID of the device

	*/
	DeviceID *string
	/*InstalledAppStatus
	  State of the Installed App.

	*/
	InstalledAppStatus *string
	/*InstalledAppType
	  Denotes the type of installed app.

	*/
	InstalledAppType *string
	/*LocationID
	  The ID of the location that both the installed smart app and source are associated with.

	*/
	LocationID *string
	/*ModeID
	  The ID of the mode

	*/
	ModeID *string
	/*Tag
	  May be used to filter a resource by it's assigned user-tags.  Multiple tag query params are automatically joined with OR.

	Example usage in query string:
	“`
	?tag:key_name=value1&tag:key_name=value2
	“`


	*/
	Tag *string

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

ListInstallationsParams contains all the parameters to send to the API endpoint for the list installations operation typically these are written to a http.Request

func NewListInstallationsParams

func NewListInstallationsParams() *ListInstallationsParams

NewListInstallationsParams creates a new ListInstallationsParams object with the default values initialized.

func NewListInstallationsParamsWithContext

func NewListInstallationsParamsWithContext(ctx context.Context) *ListInstallationsParams

NewListInstallationsParamsWithContext creates a new ListInstallationsParams object with the default values initialized, and the ability to set a context for a request

func NewListInstallationsParamsWithHTTPClient

func NewListInstallationsParamsWithHTTPClient(client *http.Client) *ListInstallationsParams

NewListInstallationsParamsWithHTTPClient creates a new ListInstallationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListInstallationsParamsWithTimeout

func NewListInstallationsParamsWithTimeout(timeout time.Duration) *ListInstallationsParams

NewListInstallationsParamsWithTimeout creates a new ListInstallationsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListInstallationsParams) SetAppID

func (o *ListInstallationsParams) SetAppID(appID *string)

SetAppID adds the appId to the list installations params

func (*ListInstallationsParams) SetAuthorization

func (o *ListInstallationsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the list installations params

func (*ListInstallationsParams) SetContext

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

SetContext adds the context to the list installations params

func (*ListInstallationsParams) SetDeviceID

func (o *ListInstallationsParams) SetDeviceID(deviceID *string)

SetDeviceID adds the deviceId to the list installations params

func (*ListInstallationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list installations params

func (*ListInstallationsParams) SetInstalledAppStatus

func (o *ListInstallationsParams) SetInstalledAppStatus(installedAppStatus *string)

SetInstalledAppStatus adds the installedAppStatus to the list installations params

func (*ListInstallationsParams) SetInstalledAppType

func (o *ListInstallationsParams) SetInstalledAppType(installedAppType *string)

SetInstalledAppType adds the installedAppType to the list installations params

func (*ListInstallationsParams) SetLocationID

func (o *ListInstallationsParams) SetLocationID(locationID *string)

SetLocationID adds the locationId to the list installations params

func (*ListInstallationsParams) SetModeID

func (o *ListInstallationsParams) SetModeID(modeID *string)

SetModeID adds the modeId to the list installations params

func (*ListInstallationsParams) SetTag

func (o *ListInstallationsParams) SetTag(tag *string)

SetTag adds the tag to the list installations params

func (*ListInstallationsParams) SetTimeout

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

SetTimeout adds the timeout to the list installations params

func (*ListInstallationsParams) WithAppID

WithAppID adds the appID to the list installations params

func (*ListInstallationsParams) WithAuthorization

func (o *ListInstallationsParams) WithAuthorization(authorization string) *ListInstallationsParams

WithAuthorization adds the authorization to the list installations params

func (*ListInstallationsParams) WithContext

WithContext adds the context to the list installations params

func (*ListInstallationsParams) WithDeviceID

func (o *ListInstallationsParams) WithDeviceID(deviceID *string) *ListInstallationsParams

WithDeviceID adds the deviceID to the list installations params

func (*ListInstallationsParams) WithHTTPClient

func (o *ListInstallationsParams) WithHTTPClient(client *http.Client) *ListInstallationsParams

WithHTTPClient adds the HTTPClient to the list installations params

func (*ListInstallationsParams) WithInstalledAppStatus

func (o *ListInstallationsParams) WithInstalledAppStatus(installedAppStatus *string) *ListInstallationsParams

WithInstalledAppStatus adds the installedAppStatus to the list installations params

func (*ListInstallationsParams) WithInstalledAppType

func (o *ListInstallationsParams) WithInstalledAppType(installedAppType *string) *ListInstallationsParams

WithInstalledAppType adds the installedAppType to the list installations params

func (*ListInstallationsParams) WithLocationID

func (o *ListInstallationsParams) WithLocationID(locationID *string) *ListInstallationsParams

WithLocationID adds the locationID to the list installations params

func (*ListInstallationsParams) WithModeID

func (o *ListInstallationsParams) WithModeID(modeID *string) *ListInstallationsParams

WithModeID adds the modeID to the list installations params

func (*ListInstallationsParams) WithTag

WithTag adds the tag to the list installations params

func (*ListInstallationsParams) WithTimeout

WithTimeout adds the timeout to the list installations params

func (*ListInstallationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListInstallationsReader

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

ListInstallationsReader is a Reader for the ListInstallations structure.

func (*ListInstallationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListInstallationsTooManyRequests

type ListInstallationsTooManyRequests struct {
	Payload *models.ErrorResponse
}

ListInstallationsTooManyRequests handles this case with default header values.

Too many requests

func NewListInstallationsTooManyRequests

func NewListInstallationsTooManyRequests() *ListInstallationsTooManyRequests

NewListInstallationsTooManyRequests creates a ListInstallationsTooManyRequests with default headers values

func (*ListInstallationsTooManyRequests) Error

func (*ListInstallationsTooManyRequests) GetPayload

type ListInstallationsUnauthorized

type ListInstallationsUnauthorized struct {
}

ListInstallationsUnauthorized handles this case with default header values.

Unauthorized

func NewListInstallationsUnauthorized

func NewListInstallationsUnauthorized() *ListInstallationsUnauthorized

NewListInstallationsUnauthorized creates a ListInstallationsUnauthorized with default headers values

func (*ListInstallationsUnauthorized) Error

Jump to

Keyboard shortcuts

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