Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppOK, error)
- func (a *Client) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error)
- func (a *Client) GenerateAppOauth(params *GenerateAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateAppOauthOK, error)
- func (a *Client) GetApp(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error)
- func (a *Client) GetAppOauth(params *GetAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOauthOK, error)
- func (a *Client) GetAppSettings(params *GetAppSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppSettingsOK, error)
- func (a *Client) ListApps(params *ListAppsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAppsOK, error)
- func (a *Client) Register(params *RegisterParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateApp(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error)
- func (a *Client) UpdateAppOauth(params *UpdateAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOauthOK, error)
- func (a *Client) UpdateAppSettings(params *UpdateAppSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppSettingsOK, error)
- func (a *Client) UpdateSignatureType(params *UpdateSignatureTypeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSignatureTypeAccepted, error)
- type ClientService
- type CreateAppBadRequest
- type CreateAppDefault
- type CreateAppForbidden
- type CreateAppOK
- type CreateAppParams
- func (o *CreateAppParams) SetAuthorization(authorization string)
- func (o *CreateAppParams) SetContext(ctx context.Context)
- func (o *CreateAppParams) SetCreateOrUpdateAppRequest(createOrUpdateAppRequest *models.CreateAppRequest)
- func (o *CreateAppParams) SetHTTPClient(client *http.Client)
- func (o *CreateAppParams) SetRequireConfirmation(requireConfirmation *bool)
- func (o *CreateAppParams) SetSignatureType(signatureType *string)
- func (o *CreateAppParams) SetTimeout(timeout time.Duration)
- func (o *CreateAppParams) WithAuthorization(authorization string) *CreateAppParams
- func (o *CreateAppParams) WithContext(ctx context.Context) *CreateAppParams
- func (o *CreateAppParams) WithCreateOrUpdateAppRequest(createOrUpdateAppRequest *models.CreateAppRequest) *CreateAppParams
- func (o *CreateAppParams) WithHTTPClient(client *http.Client) *CreateAppParams
- func (o *CreateAppParams) WithRequireConfirmation(requireConfirmation *bool) *CreateAppParams
- func (o *CreateAppParams) WithSignatureType(signatureType *string) *CreateAppParams
- func (o *CreateAppParams) WithTimeout(timeout time.Duration) *CreateAppParams
- func (o *CreateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAppReader
- type CreateAppTooManyRequests
- type CreateAppUnauthorized
- type CreateAppUnprocessableEntity
- type DeleteAppBadRequest
- type DeleteAppDefault
- type DeleteAppForbidden
- type DeleteAppOK
- type DeleteAppParams
- func (o *DeleteAppParams) SetAppNameOrID(appNameOrID string)
- func (o *DeleteAppParams) SetAuthorization(authorization string)
- func (o *DeleteAppParams) SetContext(ctx context.Context)
- func (o *DeleteAppParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAppParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAppParams) WithAppNameOrID(appNameOrID string) *DeleteAppParams
- func (o *DeleteAppParams) WithAuthorization(authorization string) *DeleteAppParams
- func (o *DeleteAppParams) WithContext(ctx context.Context) *DeleteAppParams
- func (o *DeleteAppParams) WithHTTPClient(client *http.Client) *DeleteAppParams
- func (o *DeleteAppParams) WithTimeout(timeout time.Duration) *DeleteAppParams
- func (o *DeleteAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAppReader
- type DeleteAppTooManyRequests
- type DeleteAppUnauthorized
- type GenerateAppOauthBadRequest
- type GenerateAppOauthDefault
- type GenerateAppOauthForbidden
- type GenerateAppOauthOK
- type GenerateAppOauthParams
- func NewGenerateAppOauthParams() *GenerateAppOauthParams
- func NewGenerateAppOauthParamsWithContext(ctx context.Context) *GenerateAppOauthParams
- func NewGenerateAppOauthParamsWithHTTPClient(client *http.Client) *GenerateAppOauthParams
- func NewGenerateAppOauthParamsWithTimeout(timeout time.Duration) *GenerateAppOauthParams
- func (o *GenerateAppOauthParams) SetAppNameOrID(appNameOrID string)
- func (o *GenerateAppOauthParams) SetAuthorization(authorization string)
- func (o *GenerateAppOauthParams) SetContext(ctx context.Context)
- func (o *GenerateAppOauthParams) SetGenerateAppOAuthRequest(generateAppOAuthRequest *models.GenerateAppOAuthRequest)
- func (o *GenerateAppOauthParams) SetHTTPClient(client *http.Client)
- func (o *GenerateAppOauthParams) SetTimeout(timeout time.Duration)
- func (o *GenerateAppOauthParams) WithAppNameOrID(appNameOrID string) *GenerateAppOauthParams
- func (o *GenerateAppOauthParams) WithAuthorization(authorization string) *GenerateAppOauthParams
- func (o *GenerateAppOauthParams) WithContext(ctx context.Context) *GenerateAppOauthParams
- func (o *GenerateAppOauthParams) WithGenerateAppOAuthRequest(generateAppOAuthRequest *models.GenerateAppOAuthRequest) *GenerateAppOauthParams
- func (o *GenerateAppOauthParams) WithHTTPClient(client *http.Client) *GenerateAppOauthParams
- func (o *GenerateAppOauthParams) WithTimeout(timeout time.Duration) *GenerateAppOauthParams
- func (o *GenerateAppOauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateAppOauthReader
- type GenerateAppOauthTooManyRequests
- type GenerateAppOauthUnauthorized
- type GetAppBadRequest
- type GetAppDefault
- type GetAppForbidden
- type GetAppOK
- type GetAppOauthBadRequest
- type GetAppOauthDefault
- type GetAppOauthForbidden
- type GetAppOauthOK
- type GetAppOauthParams
- func (o *GetAppOauthParams) SetAppNameOrID(appNameOrID string)
- func (o *GetAppOauthParams) SetAuthorization(authorization string)
- func (o *GetAppOauthParams) SetContext(ctx context.Context)
- func (o *GetAppOauthParams) SetHTTPClient(client *http.Client)
- func (o *GetAppOauthParams) SetTimeout(timeout time.Duration)
- func (o *GetAppOauthParams) WithAppNameOrID(appNameOrID string) *GetAppOauthParams
- func (o *GetAppOauthParams) WithAuthorization(authorization string) *GetAppOauthParams
- func (o *GetAppOauthParams) WithContext(ctx context.Context) *GetAppOauthParams
- func (o *GetAppOauthParams) WithHTTPClient(client *http.Client) *GetAppOauthParams
- func (o *GetAppOauthParams) WithTimeout(timeout time.Duration) *GetAppOauthParams
- func (o *GetAppOauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppOauthReader
- type GetAppOauthTooManyRequests
- type GetAppOauthUnauthorized
- type GetAppParams
- func (o *GetAppParams) SetAppNameOrID(appNameOrID string)
- func (o *GetAppParams) SetAuthorization(authorization string)
- func (o *GetAppParams) SetContext(ctx context.Context)
- func (o *GetAppParams) SetHTTPClient(client *http.Client)
- func (o *GetAppParams) SetTimeout(timeout time.Duration)
- func (o *GetAppParams) WithAppNameOrID(appNameOrID string) *GetAppParams
- func (o *GetAppParams) WithAuthorization(authorization string) *GetAppParams
- func (o *GetAppParams) WithContext(ctx context.Context) *GetAppParams
- func (o *GetAppParams) WithHTTPClient(client *http.Client) *GetAppParams
- func (o *GetAppParams) WithTimeout(timeout time.Duration) *GetAppParams
- func (o *GetAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppReader
- type GetAppSettingsBadRequest
- type GetAppSettingsDefault
- type GetAppSettingsForbidden
- type GetAppSettingsOK
- type GetAppSettingsParams
- func NewGetAppSettingsParams() *GetAppSettingsParams
- func NewGetAppSettingsParamsWithContext(ctx context.Context) *GetAppSettingsParams
- func NewGetAppSettingsParamsWithHTTPClient(client *http.Client) *GetAppSettingsParams
- func NewGetAppSettingsParamsWithTimeout(timeout time.Duration) *GetAppSettingsParams
- func (o *GetAppSettingsParams) SetAppNameOrID(appNameOrID string)
- func (o *GetAppSettingsParams) SetAuthorization(authorization string)
- func (o *GetAppSettingsParams) SetContext(ctx context.Context)
- func (o *GetAppSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetAppSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetAppSettingsParams) WithAppNameOrID(appNameOrID string) *GetAppSettingsParams
- func (o *GetAppSettingsParams) WithAuthorization(authorization string) *GetAppSettingsParams
- func (o *GetAppSettingsParams) WithContext(ctx context.Context) *GetAppSettingsParams
- func (o *GetAppSettingsParams) WithHTTPClient(client *http.Client) *GetAppSettingsParams
- func (o *GetAppSettingsParams) WithTimeout(timeout time.Duration) *GetAppSettingsParams
- func (o *GetAppSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppSettingsReader
- type GetAppSettingsTooManyRequests
- type GetAppSettingsUnauthorized
- type GetAppTooManyRequests
- type GetAppUnauthorized
- type ListAppsDefault
- type ListAppsForbidden
- type ListAppsOK
- type ListAppsParams
- func (o *ListAppsParams) SetAppType(appType *string)
- func (o *ListAppsParams) SetAuthorization(authorization string)
- func (o *ListAppsParams) SetClassification(classification *string)
- func (o *ListAppsParams) SetContext(ctx context.Context)
- func (o *ListAppsParams) SetHTTPClient(client *http.Client)
- func (o *ListAppsParams) SetTag(tag *string)
- func (o *ListAppsParams) SetTimeout(timeout time.Duration)
- func (o *ListAppsParams) WithAppType(appType *string) *ListAppsParams
- func (o *ListAppsParams) WithAuthorization(authorization string) *ListAppsParams
- func (o *ListAppsParams) WithClassification(classification *string) *ListAppsParams
- func (o *ListAppsParams) WithContext(ctx context.Context) *ListAppsParams
- func (o *ListAppsParams) WithHTTPClient(client *http.Client) *ListAppsParams
- func (o *ListAppsParams) WithTag(tag *string) *ListAppsParams
- func (o *ListAppsParams) WithTimeout(timeout time.Duration) *ListAppsParams
- func (o *ListAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAppsReader
- type ListAppsTooManyRequests
- type ListAppsUnauthorized
- type RegisterAccepted
- type RegisterBadRequest
- type RegisterDefault
- type RegisterForbidden
- type RegisterParams
- func (o *RegisterParams) SetAppNameOrID(appNameOrID string)
- func (o *RegisterParams) SetAppRegisterRequest(appRegisterRequest models.AppRegisterRequest)
- func (o *RegisterParams) SetAuthorization(authorization string)
- func (o *RegisterParams) SetContext(ctx context.Context)
- func (o *RegisterParams) SetHTTPClient(client *http.Client)
- func (o *RegisterParams) SetTimeout(timeout time.Duration)
- func (o *RegisterParams) WithAppNameOrID(appNameOrID string) *RegisterParams
- func (o *RegisterParams) WithAppRegisterRequest(appRegisterRequest models.AppRegisterRequest) *RegisterParams
- func (o *RegisterParams) WithAuthorization(authorization string) *RegisterParams
- func (o *RegisterParams) WithContext(ctx context.Context) *RegisterParams
- func (o *RegisterParams) WithHTTPClient(client *http.Client) *RegisterParams
- func (o *RegisterParams) WithTimeout(timeout time.Duration) *RegisterParams
- func (o *RegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterReader
- type RegisterTooManyRequests
- type RegisterUnauthorized
- type UpdateAppBadRequest
- type UpdateAppDefault
- type UpdateAppForbidden
- type UpdateAppOK
- type UpdateAppOauthBadRequest
- type UpdateAppOauthDefault
- type UpdateAppOauthForbidden
- type UpdateAppOauthOK
- type UpdateAppOauthParams
- func NewUpdateAppOauthParams() *UpdateAppOauthParams
- func NewUpdateAppOauthParamsWithContext(ctx context.Context) *UpdateAppOauthParams
- func NewUpdateAppOauthParamsWithHTTPClient(client *http.Client) *UpdateAppOauthParams
- func NewUpdateAppOauthParamsWithTimeout(timeout time.Duration) *UpdateAppOauthParams
- func (o *UpdateAppOauthParams) SetAppNameOrID(appNameOrID string)
- func (o *UpdateAppOauthParams) SetAuthorization(authorization string)
- func (o *UpdateAppOauthParams) SetContext(ctx context.Context)
- func (o *UpdateAppOauthParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAppOauthParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAppOauthParams) SetUpdateAppOAuthRequest(updateAppOAuthRequest *models.UpdateAppOAuthRequest)
- func (o *UpdateAppOauthParams) WithAppNameOrID(appNameOrID string) *UpdateAppOauthParams
- func (o *UpdateAppOauthParams) WithAuthorization(authorization string) *UpdateAppOauthParams
- func (o *UpdateAppOauthParams) WithContext(ctx context.Context) *UpdateAppOauthParams
- func (o *UpdateAppOauthParams) WithHTTPClient(client *http.Client) *UpdateAppOauthParams
- func (o *UpdateAppOauthParams) WithTimeout(timeout time.Duration) *UpdateAppOauthParams
- func (o *UpdateAppOauthParams) WithUpdateAppOAuthRequest(updateAppOAuthRequest *models.UpdateAppOAuthRequest) *UpdateAppOauthParams
- func (o *UpdateAppOauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAppOauthReader
- type UpdateAppOauthTooManyRequests
- type UpdateAppOauthUnauthorized
- type UpdateAppOauthUnprocessableEntity
- type UpdateAppParams
- func (o *UpdateAppParams) SetAppNameOrID(appNameOrID string)
- func (o *UpdateAppParams) SetAuthorization(authorization string)
- func (o *UpdateAppParams) SetContext(ctx context.Context)
- func (o *UpdateAppParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAppParams) SetRequireConfirmation(requireConfirmation *bool)
- func (o *UpdateAppParams) SetSignatureType(signatureType *string)
- func (o *UpdateAppParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAppParams) SetUpdateAppRequest(updateAppRequest *models.UpdateAppRequest)
- func (o *UpdateAppParams) WithAppNameOrID(appNameOrID string) *UpdateAppParams
- func (o *UpdateAppParams) WithAuthorization(authorization string) *UpdateAppParams
- func (o *UpdateAppParams) WithContext(ctx context.Context) *UpdateAppParams
- func (o *UpdateAppParams) WithHTTPClient(client *http.Client) *UpdateAppParams
- func (o *UpdateAppParams) WithRequireConfirmation(requireConfirmation *bool) *UpdateAppParams
- func (o *UpdateAppParams) WithSignatureType(signatureType *string) *UpdateAppParams
- func (o *UpdateAppParams) WithTimeout(timeout time.Duration) *UpdateAppParams
- func (o *UpdateAppParams) WithUpdateAppRequest(updateAppRequest *models.UpdateAppRequest) *UpdateAppParams
- func (o *UpdateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAppReader
- type UpdateAppSettingsBadRequest
- type UpdateAppSettingsDefault
- type UpdateAppSettingsForbidden
- type UpdateAppSettingsOK
- type UpdateAppSettingsParams
- func NewUpdateAppSettingsParams() *UpdateAppSettingsParams
- func NewUpdateAppSettingsParamsWithContext(ctx context.Context) *UpdateAppSettingsParams
- func NewUpdateAppSettingsParamsWithHTTPClient(client *http.Client) *UpdateAppSettingsParams
- func NewUpdateAppSettingsParamsWithTimeout(timeout time.Duration) *UpdateAppSettingsParams
- func (o *UpdateAppSettingsParams) SetAppNameOrID(appNameOrID string)
- func (o *UpdateAppSettingsParams) SetAuthorization(authorization string)
- func (o *UpdateAppSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateAppSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAppSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAppSettingsParams) SetUpdateAppSettingsRequest(updateAppSettingsRequest *models.UpdateAppSettingsRequest)
- func (o *UpdateAppSettingsParams) WithAppNameOrID(appNameOrID string) *UpdateAppSettingsParams
- func (o *UpdateAppSettingsParams) WithAuthorization(authorization string) *UpdateAppSettingsParams
- func (o *UpdateAppSettingsParams) WithContext(ctx context.Context) *UpdateAppSettingsParams
- func (o *UpdateAppSettingsParams) WithHTTPClient(client *http.Client) *UpdateAppSettingsParams
- func (o *UpdateAppSettingsParams) WithTimeout(timeout time.Duration) *UpdateAppSettingsParams
- func (o *UpdateAppSettingsParams) WithUpdateAppSettingsRequest(updateAppSettingsRequest *models.UpdateAppSettingsRequest) *UpdateAppSettingsParams
- func (o *UpdateAppSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAppSettingsReader
- type UpdateAppSettingsTooManyRequests
- type UpdateAppSettingsUnauthorized
- type UpdateAppSettingsUnprocessableEntity
- type UpdateAppTooManyRequests
- type UpdateAppUnauthorized
- type UpdateAppUnprocessableEntity
- type UpdateSignatureTypeAccepted
- type UpdateSignatureTypeBadRequest
- type UpdateSignatureTypeDefault
- type UpdateSignatureTypeForbidden
- type UpdateSignatureTypeParams
- func NewUpdateSignatureTypeParams() *UpdateSignatureTypeParams
- func NewUpdateSignatureTypeParamsWithContext(ctx context.Context) *UpdateSignatureTypeParams
- func NewUpdateSignatureTypeParamsWithHTTPClient(client *http.Client) *UpdateSignatureTypeParams
- func NewUpdateSignatureTypeParamsWithTimeout(timeout time.Duration) *UpdateSignatureTypeParams
- func (o *UpdateSignatureTypeParams) SetAppNameOrID(appNameOrID string)
- func (o *UpdateSignatureTypeParams) SetAuthorization(authorization string)
- func (o *UpdateSignatureTypeParams) SetContext(ctx context.Context)
- func (o *UpdateSignatureTypeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSignatureTypeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSignatureTypeParams) SetUpdateSignatureTypeRequest(updateSignatureTypeRequest *models.UpdateSignatureTypeRequest)
- func (o *UpdateSignatureTypeParams) WithAppNameOrID(appNameOrID string) *UpdateSignatureTypeParams
- func (o *UpdateSignatureTypeParams) WithAuthorization(authorization string) *UpdateSignatureTypeParams
- func (o *UpdateSignatureTypeParams) WithContext(ctx context.Context) *UpdateSignatureTypeParams
- func (o *UpdateSignatureTypeParams) WithHTTPClient(client *http.Client) *UpdateSignatureTypeParams
- func (o *UpdateSignatureTypeParams) WithTimeout(timeout time.Duration) *UpdateSignatureTypeParams
- func (o *UpdateSignatureTypeParams) WithUpdateSignatureTypeRequest(updateSignatureTypeRequest *models.UpdateSignatureTypeRequest) *UpdateSignatureTypeParams
- func (o *UpdateSignatureTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSignatureTypeReader
- type UpdateSignatureTypeTooManyRequests
- type UpdateSignatureTypeUnauthorized
- type UpdateSignatureTypeUnprocessableEntity
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 apps API
func (*Client) CreateApp ¶
func (a *Client) CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppOK, error)
CreateApp creates an app Create an app integration.
A single developer account is allowed to contain a maximum of 100 apps. Upon hitting that limit a 422 error response is returned with an error code of LimitError.
func (*Client) DeleteApp ¶
func (a *Client) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error)
DeleteApp deletes an app
Delete an app.
func (*Client) GenerateAppOauth ¶
func (a *Client) GenerateAppOauth(params *GenerateAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateAppOauthOK, error)
GenerateAppOauth generates an app s oauth client secret When an app is first created an OAuth client/secret are automatically generated for the integration. However,
there are times when it maybe useful to re-generate a client/secret. Such as in cases where a secret becomes compromised.
func (*Client) GetApp ¶
func (a *Client) GetApp(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error)
GetApp gets an app
Get a single app.
func (*Client) GetAppOauth ¶
func (a *Client) GetAppOauth(params *GetAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOauthOK, error)
GetAppOauth gets an app s oauth settings
Get an app's oauth settings.
func (*Client) GetAppSettings ¶
func (a *Client) GetAppSettings(params *GetAppSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppSettingsOK, error)
GetAppSettings gets settings
Get settings for an app.
func (*Client) ListApps ¶
func (a *Client) ListApps(params *ListAppsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAppsOK, error)
ListApps lists apps
List all apps configured in an account.
func (*Client) Register ¶
func (a *Client) Register(params *RegisterParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterAccepted, error)
Register sends a confirmation request to app
Prepares to register an App by sending the endpoint a confirmation message.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateApp ¶
func (a *Client) UpdateApp(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error)
UpdateApp updates an app
Update an app.
func (*Client) UpdateAppOauth ¶
func (a *Client) UpdateAppOauth(params *UpdateAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOauthOK, error)
UpdateAppOauth updates an app s oauth settings
Update an app's oauth settings.
func (*Client) UpdateAppSettings ¶
func (a *Client) UpdateAppSettings(params *UpdateAppSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppSettingsOK, error)
UpdateAppSettings updates settings
Update settings for an app.
func (*Client) UpdateSignatureType ¶
func (a *Client) UpdateSignatureType(params *UpdateSignatureTypeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSignatureTypeAccepted, error)
UpdateSignatureType updates an app s signature type Updates the signature type of an App. Signature options: * APP_RSA - Legacy signing mechanism comprised of a public / private key generated for an App during registration. This mechanism requires an App to download the public key and deploy along side their integration to verify the signature in the authorization header. * ST_PADLOCK - App callbacks are signed with a SmartThings certificate which is publicly available at https://key.smartthings.com. App's authorize callbacks by fetching the certificate over HTTPS and using it to validate the signature in the authorization header.
Note that when upgrading an App from APP_RSA to ST_PADLOCK it is recommended to implement both verification methods. This will provide the ability to seamlessly switch between mechanisms in case a rollback is needed.
type ClientService ¶
type ClientService interface { CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppOK, error) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error) GenerateAppOauth(params *GenerateAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateAppOauthOK, error) GetApp(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error) GetAppOauth(params *GetAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOauthOK, error) GetAppSettings(params *GetAppSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppSettingsOK, error) ListApps(params *ListAppsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAppsOK, error) Register(params *RegisterParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterAccepted, error) UpdateApp(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error) UpdateAppOauth(params *UpdateAppOauthParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOauthOK, error) UpdateAppSettings(params *UpdateAppSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppSettingsOK, error) UpdateSignatureType(params *UpdateSignatureTypeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSignatureTypeAccepted, 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 apps API client.
type CreateAppBadRequest ¶
type CreateAppBadRequest struct {
Payload *models.ErrorResponse
}
CreateAppBadRequest handles this case with default header values.
Bad request
func NewCreateAppBadRequest ¶
func NewCreateAppBadRequest() *CreateAppBadRequest
NewCreateAppBadRequest creates a CreateAppBadRequest with default headers values
func (*CreateAppBadRequest) Error ¶
func (o *CreateAppBadRequest) Error() string
func (*CreateAppBadRequest) GetPayload ¶
func (o *CreateAppBadRequest) GetPayload() *models.ErrorResponse
type CreateAppDefault ¶
type CreateAppDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateAppDefault handles this case with default header values.
Unexpected error
func NewCreateAppDefault ¶
func NewCreateAppDefault(code int) *CreateAppDefault
NewCreateAppDefault creates a CreateAppDefault with default headers values
func (*CreateAppDefault) Code ¶
func (o *CreateAppDefault) Code() int
Code gets the status code for the create app default response
func (*CreateAppDefault) Error ¶
func (o *CreateAppDefault) Error() string
func (*CreateAppDefault) GetPayload ¶
func (o *CreateAppDefault) GetPayload() *models.ErrorResponse
type CreateAppForbidden ¶
type CreateAppForbidden struct { }
CreateAppForbidden handles this case with default header values.
Forbidden
func NewCreateAppForbidden ¶
func NewCreateAppForbidden() *CreateAppForbidden
NewCreateAppForbidden creates a CreateAppForbidden with default headers values
func (*CreateAppForbidden) Error ¶
func (o *CreateAppForbidden) Error() string
type CreateAppOK ¶
type CreateAppOK struct {
Payload *models.CreateAppResponse
}
CreateAppOK handles this case with default header values.
An app model.
func NewCreateAppOK ¶
func NewCreateAppOK() *CreateAppOK
NewCreateAppOK creates a CreateAppOK with default headers values
func (*CreateAppOK) Error ¶
func (o *CreateAppOK) Error() string
func (*CreateAppOK) GetPayload ¶
func (o *CreateAppOK) GetPayload() *models.CreateAppResponse
type CreateAppParams ¶
type CreateAppParams struct { /*Authorization OAuth token */ Authorization string /*CreateOrUpdateAppRequest*/ CreateOrUpdateAppRequest *models.CreateAppRequest /*RequireConfirmation Override default configuration to use either PING or CONFIRMATION lifecycle. For WEBHOOK_SMART_APP only. */ RequireConfirmation *bool /*SignatureType The Signature Type of the application. For WEBHOOK_SMART_APP only. */ SignatureType *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAppParams contains all the parameters to send to the API endpoint for the create app operation typically these are written to a http.Request
func NewCreateAppParams ¶
func NewCreateAppParams() *CreateAppParams
NewCreateAppParams creates a new CreateAppParams object with the default values initialized.
func NewCreateAppParamsWithContext ¶
func NewCreateAppParamsWithContext(ctx context.Context) *CreateAppParams
NewCreateAppParamsWithContext creates a new CreateAppParams object with the default values initialized, and the ability to set a context for a request
func NewCreateAppParamsWithHTTPClient ¶
func NewCreateAppParamsWithHTTPClient(client *http.Client) *CreateAppParams
NewCreateAppParamsWithHTTPClient creates a new CreateAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateAppParamsWithTimeout ¶
func NewCreateAppParamsWithTimeout(timeout time.Duration) *CreateAppParams
NewCreateAppParamsWithTimeout creates a new CreateAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateAppParams) SetAuthorization ¶
func (o *CreateAppParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the create app params
func (*CreateAppParams) SetContext ¶
func (o *CreateAppParams) SetContext(ctx context.Context)
SetContext adds the context to the create app params
func (*CreateAppParams) SetCreateOrUpdateAppRequest ¶
func (o *CreateAppParams) SetCreateOrUpdateAppRequest(createOrUpdateAppRequest *models.CreateAppRequest)
SetCreateOrUpdateAppRequest adds the createOrUpdateAppRequest to the create app params
func (*CreateAppParams) SetHTTPClient ¶
func (o *CreateAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create app params
func (*CreateAppParams) SetRequireConfirmation ¶
func (o *CreateAppParams) SetRequireConfirmation(requireConfirmation *bool)
SetRequireConfirmation adds the requireConfirmation to the create app params
func (*CreateAppParams) SetSignatureType ¶
func (o *CreateAppParams) SetSignatureType(signatureType *string)
SetSignatureType adds the signatureType to the create app params
func (*CreateAppParams) SetTimeout ¶
func (o *CreateAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create app params
func (*CreateAppParams) WithAuthorization ¶
func (o *CreateAppParams) WithAuthorization(authorization string) *CreateAppParams
WithAuthorization adds the authorization to the create app params
func (*CreateAppParams) WithContext ¶
func (o *CreateAppParams) WithContext(ctx context.Context) *CreateAppParams
WithContext adds the context to the create app params
func (*CreateAppParams) WithCreateOrUpdateAppRequest ¶
func (o *CreateAppParams) WithCreateOrUpdateAppRequest(createOrUpdateAppRequest *models.CreateAppRequest) *CreateAppParams
WithCreateOrUpdateAppRequest adds the createOrUpdateAppRequest to the create app params
func (*CreateAppParams) WithHTTPClient ¶
func (o *CreateAppParams) WithHTTPClient(client *http.Client) *CreateAppParams
WithHTTPClient adds the HTTPClient to the create app params
func (*CreateAppParams) WithRequireConfirmation ¶
func (o *CreateAppParams) WithRequireConfirmation(requireConfirmation *bool) *CreateAppParams
WithRequireConfirmation adds the requireConfirmation to the create app params
func (*CreateAppParams) WithSignatureType ¶
func (o *CreateAppParams) WithSignatureType(signatureType *string) *CreateAppParams
WithSignatureType adds the signatureType to the create app params
func (*CreateAppParams) WithTimeout ¶
func (o *CreateAppParams) WithTimeout(timeout time.Duration) *CreateAppParams
WithTimeout adds the timeout to the create app params
func (*CreateAppParams) WriteToRequest ¶
func (o *CreateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAppReader ¶
type CreateAppReader struct {
// contains filtered or unexported fields
}
CreateAppReader is a Reader for the CreateApp structure.
func (*CreateAppReader) ReadResponse ¶
func (o *CreateAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAppTooManyRequests ¶
type CreateAppTooManyRequests struct {
Payload *models.ErrorResponse
}
CreateAppTooManyRequests handles this case with default header values.
Too many requests
func NewCreateAppTooManyRequests ¶
func NewCreateAppTooManyRequests() *CreateAppTooManyRequests
NewCreateAppTooManyRequests creates a CreateAppTooManyRequests with default headers values
func (*CreateAppTooManyRequests) Error ¶
func (o *CreateAppTooManyRequests) Error() string
func (*CreateAppTooManyRequests) GetPayload ¶
func (o *CreateAppTooManyRequests) GetPayload() *models.ErrorResponse
type CreateAppUnauthorized ¶
type CreateAppUnauthorized struct { }
CreateAppUnauthorized handles this case with default header values.
Unauthorized
func NewCreateAppUnauthorized ¶
func NewCreateAppUnauthorized() *CreateAppUnauthorized
NewCreateAppUnauthorized creates a CreateAppUnauthorized with default headers values
func (*CreateAppUnauthorized) Error ¶
func (o *CreateAppUnauthorized) Error() string
type CreateAppUnprocessableEntity ¶
type CreateAppUnprocessableEntity struct {
Payload *models.ErrorResponse
}
CreateAppUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewCreateAppUnprocessableEntity ¶
func NewCreateAppUnprocessableEntity() *CreateAppUnprocessableEntity
NewCreateAppUnprocessableEntity creates a CreateAppUnprocessableEntity with default headers values
func (*CreateAppUnprocessableEntity) Error ¶
func (o *CreateAppUnprocessableEntity) Error() string
func (*CreateAppUnprocessableEntity) GetPayload ¶
func (o *CreateAppUnprocessableEntity) GetPayload() *models.ErrorResponse
type DeleteAppBadRequest ¶
type DeleteAppBadRequest struct {
Payload *models.ErrorResponse
}
DeleteAppBadRequest handles this case with default header values.
Bad request
func NewDeleteAppBadRequest ¶
func NewDeleteAppBadRequest() *DeleteAppBadRequest
NewDeleteAppBadRequest creates a DeleteAppBadRequest with default headers values
func (*DeleteAppBadRequest) Error ¶
func (o *DeleteAppBadRequest) Error() string
func (*DeleteAppBadRequest) GetPayload ¶
func (o *DeleteAppBadRequest) GetPayload() *models.ErrorResponse
type DeleteAppDefault ¶
type DeleteAppDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteAppDefault handles this case with default header values.
Unexpected error
func NewDeleteAppDefault ¶
func NewDeleteAppDefault(code int) *DeleteAppDefault
NewDeleteAppDefault creates a DeleteAppDefault with default headers values
func (*DeleteAppDefault) Code ¶
func (o *DeleteAppDefault) Code() int
Code gets the status code for the delete app default response
func (*DeleteAppDefault) Error ¶
func (o *DeleteAppDefault) Error() string
func (*DeleteAppDefault) GetPayload ¶
func (o *DeleteAppDefault) GetPayload() *models.ErrorResponse
type DeleteAppForbidden ¶
type DeleteAppForbidden struct { }
DeleteAppForbidden handles this case with default header values.
Forbidden
func NewDeleteAppForbidden ¶
func NewDeleteAppForbidden() *DeleteAppForbidden
NewDeleteAppForbidden creates a DeleteAppForbidden with default headers values
func (*DeleteAppForbidden) Error ¶
func (o *DeleteAppForbidden) Error() string
type DeleteAppOK ¶
type DeleteAppOK struct {
Payload models.DeleteAppResponse
}
DeleteAppOK handles this case with default header values.
The number of deleted apps.
func NewDeleteAppOK ¶
func NewDeleteAppOK() *DeleteAppOK
NewDeleteAppOK creates a DeleteAppOK with default headers values
func (*DeleteAppOK) Error ¶
func (o *DeleteAppOK) Error() string
func (*DeleteAppOK) GetPayload ¶
func (o *DeleteAppOK) GetPayload() models.DeleteAppResponse
type DeleteAppParams ¶
type DeleteAppParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAppParams contains all the parameters to send to the API endpoint for the delete app operation typically these are written to a http.Request
func NewDeleteAppParams ¶
func NewDeleteAppParams() *DeleteAppParams
NewDeleteAppParams creates a new DeleteAppParams object with the default values initialized.
func NewDeleteAppParamsWithContext ¶
func NewDeleteAppParamsWithContext(ctx context.Context) *DeleteAppParams
NewDeleteAppParamsWithContext creates a new DeleteAppParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAppParamsWithHTTPClient ¶
func NewDeleteAppParamsWithHTTPClient(client *http.Client) *DeleteAppParams
NewDeleteAppParamsWithHTTPClient creates a new DeleteAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAppParamsWithTimeout ¶
func NewDeleteAppParamsWithTimeout(timeout time.Duration) *DeleteAppParams
NewDeleteAppParamsWithTimeout creates a new DeleteAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAppParams) SetAppNameOrID ¶
func (o *DeleteAppParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the delete app params
func (*DeleteAppParams) SetAuthorization ¶
func (o *DeleteAppParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the delete app params
func (*DeleteAppParams) SetContext ¶
func (o *DeleteAppParams) SetContext(ctx context.Context)
SetContext adds the context to the delete app params
func (*DeleteAppParams) SetHTTPClient ¶
func (o *DeleteAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete app params
func (*DeleteAppParams) SetTimeout ¶
func (o *DeleteAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete app params
func (*DeleteAppParams) WithAppNameOrID ¶
func (o *DeleteAppParams) WithAppNameOrID(appNameOrID string) *DeleteAppParams
WithAppNameOrID adds the appNameOrID to the delete app params
func (*DeleteAppParams) WithAuthorization ¶
func (o *DeleteAppParams) WithAuthorization(authorization string) *DeleteAppParams
WithAuthorization adds the authorization to the delete app params
func (*DeleteAppParams) WithContext ¶
func (o *DeleteAppParams) WithContext(ctx context.Context) *DeleteAppParams
WithContext adds the context to the delete app params
func (*DeleteAppParams) WithHTTPClient ¶
func (o *DeleteAppParams) WithHTTPClient(client *http.Client) *DeleteAppParams
WithHTTPClient adds the HTTPClient to the delete app params
func (*DeleteAppParams) WithTimeout ¶
func (o *DeleteAppParams) WithTimeout(timeout time.Duration) *DeleteAppParams
WithTimeout adds the timeout to the delete app params
func (*DeleteAppParams) WriteToRequest ¶
func (o *DeleteAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAppReader ¶
type DeleteAppReader struct {
// contains filtered or unexported fields
}
DeleteAppReader is a Reader for the DeleteApp structure.
func (*DeleteAppReader) ReadResponse ¶
func (o *DeleteAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAppTooManyRequests ¶
type DeleteAppTooManyRequests struct {
Payload *models.ErrorResponse
}
DeleteAppTooManyRequests handles this case with default header values.
Too many requests
func NewDeleteAppTooManyRequests ¶
func NewDeleteAppTooManyRequests() *DeleteAppTooManyRequests
NewDeleteAppTooManyRequests creates a DeleteAppTooManyRequests with default headers values
func (*DeleteAppTooManyRequests) Error ¶
func (o *DeleteAppTooManyRequests) Error() string
func (*DeleteAppTooManyRequests) GetPayload ¶
func (o *DeleteAppTooManyRequests) GetPayload() *models.ErrorResponse
type DeleteAppUnauthorized ¶
type DeleteAppUnauthorized struct { }
DeleteAppUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteAppUnauthorized ¶
func NewDeleteAppUnauthorized() *DeleteAppUnauthorized
NewDeleteAppUnauthorized creates a DeleteAppUnauthorized with default headers values
func (*DeleteAppUnauthorized) Error ¶
func (o *DeleteAppUnauthorized) Error() string
type GenerateAppOauthBadRequest ¶
type GenerateAppOauthBadRequest struct {
Payload *models.ErrorResponse
}
GenerateAppOauthBadRequest handles this case with default header values.
Bad request
func NewGenerateAppOauthBadRequest ¶
func NewGenerateAppOauthBadRequest() *GenerateAppOauthBadRequest
NewGenerateAppOauthBadRequest creates a GenerateAppOauthBadRequest with default headers values
func (*GenerateAppOauthBadRequest) Error ¶
func (o *GenerateAppOauthBadRequest) Error() string
func (*GenerateAppOauthBadRequest) GetPayload ¶
func (o *GenerateAppOauthBadRequest) GetPayload() *models.ErrorResponse
type GenerateAppOauthDefault ¶
type GenerateAppOauthDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GenerateAppOauthDefault handles this case with default header values.
Unexpected error
func NewGenerateAppOauthDefault ¶
func NewGenerateAppOauthDefault(code int) *GenerateAppOauthDefault
NewGenerateAppOauthDefault creates a GenerateAppOauthDefault with default headers values
func (*GenerateAppOauthDefault) Code ¶
func (o *GenerateAppOauthDefault) Code() int
Code gets the status code for the generate app oauth default response
func (*GenerateAppOauthDefault) Error ¶
func (o *GenerateAppOauthDefault) Error() string
func (*GenerateAppOauthDefault) GetPayload ¶
func (o *GenerateAppOauthDefault) GetPayload() *models.ErrorResponse
type GenerateAppOauthForbidden ¶
type GenerateAppOauthForbidden struct { }
GenerateAppOauthForbidden handles this case with default header values.
Forbidden
func NewGenerateAppOauthForbidden ¶
func NewGenerateAppOauthForbidden() *GenerateAppOauthForbidden
NewGenerateAppOauthForbidden creates a GenerateAppOauthForbidden with default headers values
func (*GenerateAppOauthForbidden) Error ¶
func (o *GenerateAppOauthForbidden) Error() string
type GenerateAppOauthOK ¶
type GenerateAppOauthOK struct {
Payload *models.GenerateAppOAuthResponse
}
GenerateAppOauthOK handles this case with default header values.
An a response object containing the newly create OAuth Client ID / Secret and relevant details pertaining to the OAuth client.
func NewGenerateAppOauthOK ¶
func NewGenerateAppOauthOK() *GenerateAppOauthOK
NewGenerateAppOauthOK creates a GenerateAppOauthOK with default headers values
func (*GenerateAppOauthOK) Error ¶
func (o *GenerateAppOauthOK) Error() string
func (*GenerateAppOauthOK) GetPayload ¶
func (o *GenerateAppOauthOK) GetPayload() *models.GenerateAppOAuthResponse
type GenerateAppOauthParams ¶
type GenerateAppOauthParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string /*GenerateAppOAuthRequest*/ GenerateAppOAuthRequest *models.GenerateAppOAuthRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GenerateAppOauthParams contains all the parameters to send to the API endpoint for the generate app oauth operation typically these are written to a http.Request
func NewGenerateAppOauthParams ¶
func NewGenerateAppOauthParams() *GenerateAppOauthParams
NewGenerateAppOauthParams creates a new GenerateAppOauthParams object with the default values initialized.
func NewGenerateAppOauthParamsWithContext ¶
func NewGenerateAppOauthParamsWithContext(ctx context.Context) *GenerateAppOauthParams
NewGenerateAppOauthParamsWithContext creates a new GenerateAppOauthParams object with the default values initialized, and the ability to set a context for a request
func NewGenerateAppOauthParamsWithHTTPClient ¶
func NewGenerateAppOauthParamsWithHTTPClient(client *http.Client) *GenerateAppOauthParams
NewGenerateAppOauthParamsWithHTTPClient creates a new GenerateAppOauthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGenerateAppOauthParamsWithTimeout ¶
func NewGenerateAppOauthParamsWithTimeout(timeout time.Duration) *GenerateAppOauthParams
NewGenerateAppOauthParamsWithTimeout creates a new GenerateAppOauthParams object with the default values initialized, and the ability to set a timeout on a request
func (*GenerateAppOauthParams) SetAppNameOrID ¶
func (o *GenerateAppOauthParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the generate app oauth params
func (*GenerateAppOauthParams) SetAuthorization ¶
func (o *GenerateAppOauthParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the generate app oauth params
func (*GenerateAppOauthParams) SetContext ¶
func (o *GenerateAppOauthParams) SetContext(ctx context.Context)
SetContext adds the context to the generate app oauth params
func (*GenerateAppOauthParams) SetGenerateAppOAuthRequest ¶
func (o *GenerateAppOauthParams) SetGenerateAppOAuthRequest(generateAppOAuthRequest *models.GenerateAppOAuthRequest)
SetGenerateAppOAuthRequest adds the generateAppOAuthRequest to the generate app oauth params
func (*GenerateAppOauthParams) SetHTTPClient ¶
func (o *GenerateAppOauthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the generate app oauth params
func (*GenerateAppOauthParams) SetTimeout ¶
func (o *GenerateAppOauthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the generate app oauth params
func (*GenerateAppOauthParams) WithAppNameOrID ¶
func (o *GenerateAppOauthParams) WithAppNameOrID(appNameOrID string) *GenerateAppOauthParams
WithAppNameOrID adds the appNameOrID to the generate app oauth params
func (*GenerateAppOauthParams) WithAuthorization ¶
func (o *GenerateAppOauthParams) WithAuthorization(authorization string) *GenerateAppOauthParams
WithAuthorization adds the authorization to the generate app oauth params
func (*GenerateAppOauthParams) WithContext ¶
func (o *GenerateAppOauthParams) WithContext(ctx context.Context) *GenerateAppOauthParams
WithContext adds the context to the generate app oauth params
func (*GenerateAppOauthParams) WithGenerateAppOAuthRequest ¶
func (o *GenerateAppOauthParams) WithGenerateAppOAuthRequest(generateAppOAuthRequest *models.GenerateAppOAuthRequest) *GenerateAppOauthParams
WithGenerateAppOAuthRequest adds the generateAppOAuthRequest to the generate app oauth params
func (*GenerateAppOauthParams) WithHTTPClient ¶
func (o *GenerateAppOauthParams) WithHTTPClient(client *http.Client) *GenerateAppOauthParams
WithHTTPClient adds the HTTPClient to the generate app oauth params
func (*GenerateAppOauthParams) WithTimeout ¶
func (o *GenerateAppOauthParams) WithTimeout(timeout time.Duration) *GenerateAppOauthParams
WithTimeout adds the timeout to the generate app oauth params
func (*GenerateAppOauthParams) WriteToRequest ¶
func (o *GenerateAppOauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenerateAppOauthReader ¶
type GenerateAppOauthReader struct {
// contains filtered or unexported fields
}
GenerateAppOauthReader is a Reader for the GenerateAppOauth structure.
func (*GenerateAppOauthReader) ReadResponse ¶
func (o *GenerateAppOauthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GenerateAppOauthTooManyRequests ¶
type GenerateAppOauthTooManyRequests struct {
Payload *models.ErrorResponse
}
GenerateAppOauthTooManyRequests handles this case with default header values.
Too many requests
func NewGenerateAppOauthTooManyRequests ¶
func NewGenerateAppOauthTooManyRequests() *GenerateAppOauthTooManyRequests
NewGenerateAppOauthTooManyRequests creates a GenerateAppOauthTooManyRequests with default headers values
func (*GenerateAppOauthTooManyRequests) Error ¶
func (o *GenerateAppOauthTooManyRequests) Error() string
func (*GenerateAppOauthTooManyRequests) GetPayload ¶
func (o *GenerateAppOauthTooManyRequests) GetPayload() *models.ErrorResponse
type GenerateAppOauthUnauthorized ¶
type GenerateAppOauthUnauthorized struct { }
GenerateAppOauthUnauthorized handles this case with default header values.
Unauthorized
func NewGenerateAppOauthUnauthorized ¶
func NewGenerateAppOauthUnauthorized() *GenerateAppOauthUnauthorized
NewGenerateAppOauthUnauthorized creates a GenerateAppOauthUnauthorized with default headers values
func (*GenerateAppOauthUnauthorized) Error ¶
func (o *GenerateAppOauthUnauthorized) Error() string
type GetAppBadRequest ¶
type GetAppBadRequest struct {
Payload *models.ErrorResponse
}
GetAppBadRequest handles this case with default header values.
Bad request
func NewGetAppBadRequest ¶
func NewGetAppBadRequest() *GetAppBadRequest
NewGetAppBadRequest creates a GetAppBadRequest with default headers values
func (*GetAppBadRequest) Error ¶
func (o *GetAppBadRequest) Error() string
func (*GetAppBadRequest) GetPayload ¶
func (o *GetAppBadRequest) GetPayload() *models.ErrorResponse
type GetAppDefault ¶
type GetAppDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetAppDefault handles this case with default header values.
Unexpected error
func NewGetAppDefault ¶
func NewGetAppDefault(code int) *GetAppDefault
NewGetAppDefault creates a GetAppDefault with default headers values
func (*GetAppDefault) Code ¶
func (o *GetAppDefault) Code() int
Code gets the status code for the get app default response
func (*GetAppDefault) Error ¶
func (o *GetAppDefault) Error() string
func (*GetAppDefault) GetPayload ¶
func (o *GetAppDefault) GetPayload() *models.ErrorResponse
type GetAppForbidden ¶
type GetAppForbidden struct { }
GetAppForbidden handles this case with default header values.
Forbidden
func NewGetAppForbidden ¶
func NewGetAppForbidden() *GetAppForbidden
NewGetAppForbidden creates a GetAppForbidden with default headers values
func (*GetAppForbidden) Error ¶
func (o *GetAppForbidden) Error() string
type GetAppOK ¶
GetAppOK handles this case with default header values.
An app.
func NewGetAppOK ¶
func NewGetAppOK() *GetAppOK
NewGetAppOK creates a GetAppOK with default headers values
func (*GetAppOK) GetPayload ¶
type GetAppOauthBadRequest ¶
type GetAppOauthBadRequest struct {
Payload *models.ErrorResponse
}
GetAppOauthBadRequest handles this case with default header values.
Bad request
func NewGetAppOauthBadRequest ¶
func NewGetAppOauthBadRequest() *GetAppOauthBadRequest
NewGetAppOauthBadRequest creates a GetAppOauthBadRequest with default headers values
func (*GetAppOauthBadRequest) Error ¶
func (o *GetAppOauthBadRequest) Error() string
func (*GetAppOauthBadRequest) GetPayload ¶
func (o *GetAppOauthBadRequest) GetPayload() *models.ErrorResponse
type GetAppOauthDefault ¶
type GetAppOauthDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetAppOauthDefault handles this case with default header values.
Unexpected error
func NewGetAppOauthDefault ¶
func NewGetAppOauthDefault(code int) *GetAppOauthDefault
NewGetAppOauthDefault creates a GetAppOauthDefault with default headers values
func (*GetAppOauthDefault) Code ¶
func (o *GetAppOauthDefault) Code() int
Code gets the status code for the get app oauth default response
func (*GetAppOauthDefault) Error ¶
func (o *GetAppOauthDefault) Error() string
func (*GetAppOauthDefault) GetPayload ¶
func (o *GetAppOauthDefault) GetPayload() *models.ErrorResponse
type GetAppOauthForbidden ¶
type GetAppOauthForbidden struct { }
GetAppOauthForbidden handles this case with default header values.
Forbidden
func NewGetAppOauthForbidden ¶
func NewGetAppOauthForbidden() *GetAppOauthForbidden
NewGetAppOauthForbidden creates a GetAppOauthForbidden with default headers values
func (*GetAppOauthForbidden) Error ¶
func (o *GetAppOauthForbidden) Error() string
type GetAppOauthOK ¶
GetAppOauthOK handles this case with default header values.
An app.
func NewGetAppOauthOK ¶
func NewGetAppOauthOK() *GetAppOauthOK
NewGetAppOauthOK creates a GetAppOauthOK with default headers values
func (*GetAppOauthOK) Error ¶
func (o *GetAppOauthOK) Error() string
func (*GetAppOauthOK) GetPayload ¶
func (o *GetAppOauthOK) GetPayload() *models.AppOAuth
type GetAppOauthParams ¶
type GetAppOauthParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAppOauthParams contains all the parameters to send to the API endpoint for the get app oauth operation typically these are written to a http.Request
func NewGetAppOauthParams ¶
func NewGetAppOauthParams() *GetAppOauthParams
NewGetAppOauthParams creates a new GetAppOauthParams object with the default values initialized.
func NewGetAppOauthParamsWithContext ¶
func NewGetAppOauthParamsWithContext(ctx context.Context) *GetAppOauthParams
NewGetAppOauthParamsWithContext creates a new GetAppOauthParams object with the default values initialized, and the ability to set a context for a request
func NewGetAppOauthParamsWithHTTPClient ¶
func NewGetAppOauthParamsWithHTTPClient(client *http.Client) *GetAppOauthParams
NewGetAppOauthParamsWithHTTPClient creates a new GetAppOauthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAppOauthParamsWithTimeout ¶
func NewGetAppOauthParamsWithTimeout(timeout time.Duration) *GetAppOauthParams
NewGetAppOauthParamsWithTimeout creates a new GetAppOauthParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppOauthParams) SetAppNameOrID ¶
func (o *GetAppOauthParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the get app oauth params
func (*GetAppOauthParams) SetAuthorization ¶
func (o *GetAppOauthParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get app oauth params
func (*GetAppOauthParams) SetContext ¶
func (o *GetAppOauthParams) SetContext(ctx context.Context)
SetContext adds the context to the get app oauth params
func (*GetAppOauthParams) SetHTTPClient ¶
func (o *GetAppOauthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get app oauth params
func (*GetAppOauthParams) SetTimeout ¶
func (o *GetAppOauthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get app oauth params
func (*GetAppOauthParams) WithAppNameOrID ¶
func (o *GetAppOauthParams) WithAppNameOrID(appNameOrID string) *GetAppOauthParams
WithAppNameOrID adds the appNameOrID to the get app oauth params
func (*GetAppOauthParams) WithAuthorization ¶
func (o *GetAppOauthParams) WithAuthorization(authorization string) *GetAppOauthParams
WithAuthorization adds the authorization to the get app oauth params
func (*GetAppOauthParams) WithContext ¶
func (o *GetAppOauthParams) WithContext(ctx context.Context) *GetAppOauthParams
WithContext adds the context to the get app oauth params
func (*GetAppOauthParams) WithHTTPClient ¶
func (o *GetAppOauthParams) WithHTTPClient(client *http.Client) *GetAppOauthParams
WithHTTPClient adds the HTTPClient to the get app oauth params
func (*GetAppOauthParams) WithTimeout ¶
func (o *GetAppOauthParams) WithTimeout(timeout time.Duration) *GetAppOauthParams
WithTimeout adds the timeout to the get app oauth params
func (*GetAppOauthParams) WriteToRequest ¶
func (o *GetAppOauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppOauthReader ¶
type GetAppOauthReader struct {
// contains filtered or unexported fields
}
GetAppOauthReader is a Reader for the GetAppOauth structure.
func (*GetAppOauthReader) ReadResponse ¶
func (o *GetAppOauthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAppOauthTooManyRequests ¶
type GetAppOauthTooManyRequests struct {
Payload *models.ErrorResponse
}
GetAppOauthTooManyRequests handles this case with default header values.
Too many requests
func NewGetAppOauthTooManyRequests ¶
func NewGetAppOauthTooManyRequests() *GetAppOauthTooManyRequests
NewGetAppOauthTooManyRequests creates a GetAppOauthTooManyRequests with default headers values
func (*GetAppOauthTooManyRequests) Error ¶
func (o *GetAppOauthTooManyRequests) Error() string
func (*GetAppOauthTooManyRequests) GetPayload ¶
func (o *GetAppOauthTooManyRequests) GetPayload() *models.ErrorResponse
type GetAppOauthUnauthorized ¶
type GetAppOauthUnauthorized struct { }
GetAppOauthUnauthorized handles this case with default header values.
Unauthorized
func NewGetAppOauthUnauthorized ¶
func NewGetAppOauthUnauthorized() *GetAppOauthUnauthorized
NewGetAppOauthUnauthorized creates a GetAppOauthUnauthorized with default headers values
func (*GetAppOauthUnauthorized) Error ¶
func (o *GetAppOauthUnauthorized) Error() string
type GetAppParams ¶
type GetAppParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAppParams contains all the parameters to send to the API endpoint for the get app operation typically these are written to a http.Request
func NewGetAppParams ¶
func NewGetAppParams() *GetAppParams
NewGetAppParams creates a new GetAppParams object with the default values initialized.
func NewGetAppParamsWithContext ¶
func NewGetAppParamsWithContext(ctx context.Context) *GetAppParams
NewGetAppParamsWithContext creates a new GetAppParams object with the default values initialized, and the ability to set a context for a request
func NewGetAppParamsWithHTTPClient ¶
func NewGetAppParamsWithHTTPClient(client *http.Client) *GetAppParams
NewGetAppParamsWithHTTPClient creates a new GetAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAppParamsWithTimeout ¶
func NewGetAppParamsWithTimeout(timeout time.Duration) *GetAppParams
NewGetAppParamsWithTimeout creates a new GetAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppParams) SetAppNameOrID ¶
func (o *GetAppParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the get app params
func (*GetAppParams) SetAuthorization ¶
func (o *GetAppParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get app params
func (*GetAppParams) SetContext ¶
func (o *GetAppParams) SetContext(ctx context.Context)
SetContext adds the context to the get app params
func (*GetAppParams) SetHTTPClient ¶
func (o *GetAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get app params
func (*GetAppParams) SetTimeout ¶
func (o *GetAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get app params
func (*GetAppParams) WithAppNameOrID ¶
func (o *GetAppParams) WithAppNameOrID(appNameOrID string) *GetAppParams
WithAppNameOrID adds the appNameOrID to the get app params
func (*GetAppParams) WithAuthorization ¶
func (o *GetAppParams) WithAuthorization(authorization string) *GetAppParams
WithAuthorization adds the authorization to the get app params
func (*GetAppParams) WithContext ¶
func (o *GetAppParams) WithContext(ctx context.Context) *GetAppParams
WithContext adds the context to the get app params
func (*GetAppParams) WithHTTPClient ¶
func (o *GetAppParams) WithHTTPClient(client *http.Client) *GetAppParams
WithHTTPClient adds the HTTPClient to the get app params
func (*GetAppParams) WithTimeout ¶
func (o *GetAppParams) WithTimeout(timeout time.Duration) *GetAppParams
WithTimeout adds the timeout to the get app params
func (*GetAppParams) WriteToRequest ¶
func (o *GetAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppReader ¶
type GetAppReader struct {
// contains filtered or unexported fields
}
GetAppReader is a Reader for the GetApp structure.
func (*GetAppReader) ReadResponse ¶
func (o *GetAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAppSettingsBadRequest ¶
type GetAppSettingsBadRequest struct {
Payload *models.ErrorResponse
}
GetAppSettingsBadRequest handles this case with default header values.
Bad request
func NewGetAppSettingsBadRequest ¶
func NewGetAppSettingsBadRequest() *GetAppSettingsBadRequest
NewGetAppSettingsBadRequest creates a GetAppSettingsBadRequest with default headers values
func (*GetAppSettingsBadRequest) Error ¶
func (o *GetAppSettingsBadRequest) Error() string
func (*GetAppSettingsBadRequest) GetPayload ¶
func (o *GetAppSettingsBadRequest) GetPayload() *models.ErrorResponse
type GetAppSettingsDefault ¶
type GetAppSettingsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetAppSettingsDefault handles this case with default header values.
Unexpected error
func NewGetAppSettingsDefault ¶
func NewGetAppSettingsDefault(code int) *GetAppSettingsDefault
NewGetAppSettingsDefault creates a GetAppSettingsDefault with default headers values
func (*GetAppSettingsDefault) Code ¶
func (o *GetAppSettingsDefault) Code() int
Code gets the status code for the get app settings default response
func (*GetAppSettingsDefault) Error ¶
func (o *GetAppSettingsDefault) Error() string
func (*GetAppSettingsDefault) GetPayload ¶
func (o *GetAppSettingsDefault) GetPayload() *models.ErrorResponse
type GetAppSettingsForbidden ¶
type GetAppSettingsForbidden struct { }
GetAppSettingsForbidden handles this case with default header values.
Forbidden
func NewGetAppSettingsForbidden ¶
func NewGetAppSettingsForbidden() *GetAppSettingsForbidden
NewGetAppSettingsForbidden creates a GetAppSettingsForbidden with default headers values
func (*GetAppSettingsForbidden) Error ¶
func (o *GetAppSettingsForbidden) Error() string
type GetAppSettingsOK ¶
type GetAppSettingsOK struct {
Payload *models.GetAppSettingsResponse
}
GetAppSettingsOK handles this case with default header values.
An app settings model.
func NewGetAppSettingsOK ¶
func NewGetAppSettingsOK() *GetAppSettingsOK
NewGetAppSettingsOK creates a GetAppSettingsOK with default headers values
func (*GetAppSettingsOK) Error ¶
func (o *GetAppSettingsOK) Error() string
func (*GetAppSettingsOK) GetPayload ¶
func (o *GetAppSettingsOK) GetPayload() *models.GetAppSettingsResponse
type GetAppSettingsParams ¶
type GetAppSettingsParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAppSettingsParams contains all the parameters to send to the API endpoint for the get app settings operation typically these are written to a http.Request
func NewGetAppSettingsParams ¶
func NewGetAppSettingsParams() *GetAppSettingsParams
NewGetAppSettingsParams creates a new GetAppSettingsParams object with the default values initialized.
func NewGetAppSettingsParamsWithContext ¶
func NewGetAppSettingsParamsWithContext(ctx context.Context) *GetAppSettingsParams
NewGetAppSettingsParamsWithContext creates a new GetAppSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAppSettingsParamsWithHTTPClient ¶
func NewGetAppSettingsParamsWithHTTPClient(client *http.Client) *GetAppSettingsParams
NewGetAppSettingsParamsWithHTTPClient creates a new GetAppSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAppSettingsParamsWithTimeout ¶
func NewGetAppSettingsParamsWithTimeout(timeout time.Duration) *GetAppSettingsParams
NewGetAppSettingsParamsWithTimeout creates a new GetAppSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppSettingsParams) SetAppNameOrID ¶
func (o *GetAppSettingsParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the get app settings params
func (*GetAppSettingsParams) SetAuthorization ¶
func (o *GetAppSettingsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get app settings params
func (*GetAppSettingsParams) SetContext ¶
func (o *GetAppSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get app settings params
func (*GetAppSettingsParams) SetHTTPClient ¶
func (o *GetAppSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get app settings params
func (*GetAppSettingsParams) SetTimeout ¶
func (o *GetAppSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get app settings params
func (*GetAppSettingsParams) WithAppNameOrID ¶
func (o *GetAppSettingsParams) WithAppNameOrID(appNameOrID string) *GetAppSettingsParams
WithAppNameOrID adds the appNameOrID to the get app settings params
func (*GetAppSettingsParams) WithAuthorization ¶
func (o *GetAppSettingsParams) WithAuthorization(authorization string) *GetAppSettingsParams
WithAuthorization adds the authorization to the get app settings params
func (*GetAppSettingsParams) WithContext ¶
func (o *GetAppSettingsParams) WithContext(ctx context.Context) *GetAppSettingsParams
WithContext adds the context to the get app settings params
func (*GetAppSettingsParams) WithHTTPClient ¶
func (o *GetAppSettingsParams) WithHTTPClient(client *http.Client) *GetAppSettingsParams
WithHTTPClient adds the HTTPClient to the get app settings params
func (*GetAppSettingsParams) WithTimeout ¶
func (o *GetAppSettingsParams) WithTimeout(timeout time.Duration) *GetAppSettingsParams
WithTimeout adds the timeout to the get app settings params
func (*GetAppSettingsParams) WriteToRequest ¶
func (o *GetAppSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppSettingsReader ¶
type GetAppSettingsReader struct {
// contains filtered or unexported fields
}
GetAppSettingsReader is a Reader for the GetAppSettings structure.
func (*GetAppSettingsReader) ReadResponse ¶
func (o *GetAppSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAppSettingsTooManyRequests ¶
type GetAppSettingsTooManyRequests struct {
Payload *models.ErrorResponse
}
GetAppSettingsTooManyRequests handles this case with default header values.
Too many requests
func NewGetAppSettingsTooManyRequests ¶
func NewGetAppSettingsTooManyRequests() *GetAppSettingsTooManyRequests
NewGetAppSettingsTooManyRequests creates a GetAppSettingsTooManyRequests with default headers values
func (*GetAppSettingsTooManyRequests) Error ¶
func (o *GetAppSettingsTooManyRequests) Error() string
func (*GetAppSettingsTooManyRequests) GetPayload ¶
func (o *GetAppSettingsTooManyRequests) GetPayload() *models.ErrorResponse
type GetAppSettingsUnauthorized ¶
type GetAppSettingsUnauthorized struct { }
GetAppSettingsUnauthorized handles this case with default header values.
Unauthorized
func NewGetAppSettingsUnauthorized ¶
func NewGetAppSettingsUnauthorized() *GetAppSettingsUnauthorized
NewGetAppSettingsUnauthorized creates a GetAppSettingsUnauthorized with default headers values
func (*GetAppSettingsUnauthorized) Error ¶
func (o *GetAppSettingsUnauthorized) Error() string
type GetAppTooManyRequests ¶
type GetAppTooManyRequests struct {
Payload *models.ErrorResponse
}
GetAppTooManyRequests handles this case with default header values.
Too many requests
func NewGetAppTooManyRequests ¶
func NewGetAppTooManyRequests() *GetAppTooManyRequests
NewGetAppTooManyRequests creates a GetAppTooManyRequests with default headers values
func (*GetAppTooManyRequests) Error ¶
func (o *GetAppTooManyRequests) Error() string
func (*GetAppTooManyRequests) GetPayload ¶
func (o *GetAppTooManyRequests) GetPayload() *models.ErrorResponse
type GetAppUnauthorized ¶
type GetAppUnauthorized struct { }
GetAppUnauthorized handles this case with default header values.
Unauthorized
func NewGetAppUnauthorized ¶
func NewGetAppUnauthorized() *GetAppUnauthorized
NewGetAppUnauthorized creates a GetAppUnauthorized with default headers values
func (*GetAppUnauthorized) Error ¶
func (o *GetAppUnauthorized) Error() string
type ListAppsDefault ¶
type ListAppsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAppsDefault handles this case with default header values.
Unexpected error
func NewListAppsDefault ¶
func NewListAppsDefault(code int) *ListAppsDefault
NewListAppsDefault creates a ListAppsDefault with default headers values
func (*ListAppsDefault) Code ¶
func (o *ListAppsDefault) Code() int
Code gets the status code for the list apps default response
func (*ListAppsDefault) Error ¶
func (o *ListAppsDefault) Error() string
func (*ListAppsDefault) GetPayload ¶
func (o *ListAppsDefault) GetPayload() *models.ErrorResponse
type ListAppsForbidden ¶
type ListAppsForbidden struct { }
ListAppsForbidden handles this case with default header values.
Forbidden
func NewListAppsForbidden ¶
func NewListAppsForbidden() *ListAppsForbidden
NewListAppsForbidden creates a ListAppsForbidden with default headers values
func (*ListAppsForbidden) Error ¶
func (o *ListAppsForbidden) Error() string
type ListAppsOK ¶
ListAppsOK handles this case with default header values.
A paginated list of apps.
func NewListAppsOK ¶
func NewListAppsOK() *ListAppsOK
NewListAppsOK creates a ListAppsOK with default headers values
func (*ListAppsOK) Error ¶
func (o *ListAppsOK) Error() string
func (*ListAppsOK) GetPayload ¶
func (o *ListAppsOK) GetPayload() *models.PagedApps
type ListAppsParams ¶
type ListAppsParams struct { /*Authorization OAuth token */ Authorization string /*AppType The App Type of the application. */ AppType *string /*Classification An App maybe associated to many classifications. A classification drives how the integration is presented to the user in the SmartThings mobile clients. These classifications include: * AUTOMATION - Denotes an integration that should display under the "Automation" tab in mobile clients. * SERVICE - Denotes an integration that is classified as a "Service". * DEVICE - Denotes an integration that should display under the "Device" tab in mobile clients. * CONNECTED_SERVICE - Denotes an integration that should display under the "Connected Services" menu in mobile clients. */ Classification *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 }
ListAppsParams contains all the parameters to send to the API endpoint for the list apps operation typically these are written to a http.Request
func NewListAppsParams ¶
func NewListAppsParams() *ListAppsParams
NewListAppsParams creates a new ListAppsParams object with the default values initialized.
func NewListAppsParamsWithContext ¶
func NewListAppsParamsWithContext(ctx context.Context) *ListAppsParams
NewListAppsParamsWithContext creates a new ListAppsParams object with the default values initialized, and the ability to set a context for a request
func NewListAppsParamsWithHTTPClient ¶
func NewListAppsParamsWithHTTPClient(client *http.Client) *ListAppsParams
NewListAppsParamsWithHTTPClient creates a new ListAppsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAppsParamsWithTimeout ¶
func NewListAppsParamsWithTimeout(timeout time.Duration) *ListAppsParams
NewListAppsParamsWithTimeout creates a new ListAppsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAppsParams) SetAppType ¶
func (o *ListAppsParams) SetAppType(appType *string)
SetAppType adds the appType to the list apps params
func (*ListAppsParams) SetAuthorization ¶
func (o *ListAppsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the list apps params
func (*ListAppsParams) SetClassification ¶
func (o *ListAppsParams) SetClassification(classification *string)
SetClassification adds the classification to the list apps params
func (*ListAppsParams) SetContext ¶
func (o *ListAppsParams) SetContext(ctx context.Context)
SetContext adds the context to the list apps params
func (*ListAppsParams) SetHTTPClient ¶
func (o *ListAppsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list apps params
func (*ListAppsParams) SetTag ¶
func (o *ListAppsParams) SetTag(tag *string)
SetTag adds the tag to the list apps params
func (*ListAppsParams) SetTimeout ¶
func (o *ListAppsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list apps params
func (*ListAppsParams) WithAppType ¶
func (o *ListAppsParams) WithAppType(appType *string) *ListAppsParams
WithAppType adds the appType to the list apps params
func (*ListAppsParams) WithAuthorization ¶
func (o *ListAppsParams) WithAuthorization(authorization string) *ListAppsParams
WithAuthorization adds the authorization to the list apps params
func (*ListAppsParams) WithClassification ¶
func (o *ListAppsParams) WithClassification(classification *string) *ListAppsParams
WithClassification adds the classification to the list apps params
func (*ListAppsParams) WithContext ¶
func (o *ListAppsParams) WithContext(ctx context.Context) *ListAppsParams
WithContext adds the context to the list apps params
func (*ListAppsParams) WithHTTPClient ¶
func (o *ListAppsParams) WithHTTPClient(client *http.Client) *ListAppsParams
WithHTTPClient adds the HTTPClient to the list apps params
func (*ListAppsParams) WithTag ¶
func (o *ListAppsParams) WithTag(tag *string) *ListAppsParams
WithTag adds the tag to the list apps params
func (*ListAppsParams) WithTimeout ¶
func (o *ListAppsParams) WithTimeout(timeout time.Duration) *ListAppsParams
WithTimeout adds the timeout to the list apps params
func (*ListAppsParams) WriteToRequest ¶
func (o *ListAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAppsReader ¶
type ListAppsReader struct {
// contains filtered or unexported fields
}
ListAppsReader is a Reader for the ListApps structure.
func (*ListAppsReader) ReadResponse ¶
func (o *ListAppsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAppsTooManyRequests ¶
type ListAppsTooManyRequests struct {
Payload *models.ErrorResponse
}
ListAppsTooManyRequests handles this case with default header values.
Too many requests
func NewListAppsTooManyRequests ¶
func NewListAppsTooManyRequests() *ListAppsTooManyRequests
NewListAppsTooManyRequests creates a ListAppsTooManyRequests with default headers values
func (*ListAppsTooManyRequests) Error ¶
func (o *ListAppsTooManyRequests) Error() string
func (*ListAppsTooManyRequests) GetPayload ¶
func (o *ListAppsTooManyRequests) GetPayload() *models.ErrorResponse
type ListAppsUnauthorized ¶
type ListAppsUnauthorized struct { }
ListAppsUnauthorized handles this case with default header values.
Unauthorized
func NewListAppsUnauthorized ¶
func NewListAppsUnauthorized() *ListAppsUnauthorized
NewListAppsUnauthorized creates a ListAppsUnauthorized with default headers values
func (*ListAppsUnauthorized) Error ¶
func (o *ListAppsUnauthorized) Error() string
type RegisterAccepted ¶
type RegisterAccepted struct {
Payload models.AppRegisterResponse
}
RegisterAccepted handles this case with default header values.
A request to send a confirm registration request has been accepted.
func NewRegisterAccepted ¶
func NewRegisterAccepted() *RegisterAccepted
NewRegisterAccepted creates a RegisterAccepted with default headers values
func (*RegisterAccepted) Error ¶
func (o *RegisterAccepted) Error() string
func (*RegisterAccepted) GetPayload ¶
func (o *RegisterAccepted) GetPayload() models.AppRegisterResponse
type RegisterBadRequest ¶
type RegisterBadRequest struct {
Payload *models.ErrorResponse
}
RegisterBadRequest handles this case with default header values.
Bad request
func NewRegisterBadRequest ¶
func NewRegisterBadRequest() *RegisterBadRequest
NewRegisterBadRequest creates a RegisterBadRequest with default headers values
func (*RegisterBadRequest) Error ¶
func (o *RegisterBadRequest) Error() string
func (*RegisterBadRequest) GetPayload ¶
func (o *RegisterBadRequest) GetPayload() *models.ErrorResponse
type RegisterDefault ¶
type RegisterDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
RegisterDefault handles this case with default header values.
Unexpected error
func NewRegisterDefault ¶
func NewRegisterDefault(code int) *RegisterDefault
NewRegisterDefault creates a RegisterDefault with default headers values
func (*RegisterDefault) Code ¶
func (o *RegisterDefault) Code() int
Code gets the status code for the register default response
func (*RegisterDefault) Error ¶
func (o *RegisterDefault) Error() string
func (*RegisterDefault) GetPayload ¶
func (o *RegisterDefault) GetPayload() *models.ErrorResponse
type RegisterForbidden ¶
type RegisterForbidden struct { }
RegisterForbidden handles this case with default header values.
Forbidden
func NewRegisterForbidden ¶
func NewRegisterForbidden() *RegisterForbidden
NewRegisterForbidden creates a RegisterForbidden with default headers values
func (*RegisterForbidden) Error ¶
func (o *RegisterForbidden) Error() string
type RegisterParams ¶
type RegisterParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string /*AppRegisterRequest*/ AppRegisterRequest models.AppRegisterRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterParams contains all the parameters to send to the API endpoint for the register operation typically these are written to a http.Request
func NewRegisterParams ¶
func NewRegisterParams() *RegisterParams
NewRegisterParams creates a new RegisterParams object with the default values initialized.
func NewRegisterParamsWithContext ¶
func NewRegisterParamsWithContext(ctx context.Context) *RegisterParams
NewRegisterParamsWithContext creates a new RegisterParams object with the default values initialized, and the ability to set a context for a request
func NewRegisterParamsWithHTTPClient ¶
func NewRegisterParamsWithHTTPClient(client *http.Client) *RegisterParams
NewRegisterParamsWithHTTPClient creates a new RegisterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegisterParamsWithTimeout ¶
func NewRegisterParamsWithTimeout(timeout time.Duration) *RegisterParams
NewRegisterParamsWithTimeout creates a new RegisterParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegisterParams) SetAppNameOrID ¶
func (o *RegisterParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the register params
func (*RegisterParams) SetAppRegisterRequest ¶
func (o *RegisterParams) SetAppRegisterRequest(appRegisterRequest models.AppRegisterRequest)
SetAppRegisterRequest adds the appRegisterRequest to the register params
func (*RegisterParams) SetAuthorization ¶
func (o *RegisterParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the register params
func (*RegisterParams) SetContext ¶
func (o *RegisterParams) SetContext(ctx context.Context)
SetContext adds the context to the register params
func (*RegisterParams) SetHTTPClient ¶
func (o *RegisterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register params
func (*RegisterParams) SetTimeout ¶
func (o *RegisterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register params
func (*RegisterParams) WithAppNameOrID ¶
func (o *RegisterParams) WithAppNameOrID(appNameOrID string) *RegisterParams
WithAppNameOrID adds the appNameOrID to the register params
func (*RegisterParams) WithAppRegisterRequest ¶
func (o *RegisterParams) WithAppRegisterRequest(appRegisterRequest models.AppRegisterRequest) *RegisterParams
WithAppRegisterRequest adds the appRegisterRequest to the register params
func (*RegisterParams) WithAuthorization ¶
func (o *RegisterParams) WithAuthorization(authorization string) *RegisterParams
WithAuthorization adds the authorization to the register params
func (*RegisterParams) WithContext ¶
func (o *RegisterParams) WithContext(ctx context.Context) *RegisterParams
WithContext adds the context to the register params
func (*RegisterParams) WithHTTPClient ¶
func (o *RegisterParams) WithHTTPClient(client *http.Client) *RegisterParams
WithHTTPClient adds the HTTPClient to the register params
func (*RegisterParams) WithTimeout ¶
func (o *RegisterParams) WithTimeout(timeout time.Duration) *RegisterParams
WithTimeout adds the timeout to the register params
func (*RegisterParams) WriteToRequest ¶
func (o *RegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterReader ¶
type RegisterReader struct {
// contains filtered or unexported fields
}
RegisterReader is a Reader for the Register structure.
func (*RegisterReader) ReadResponse ¶
func (o *RegisterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterTooManyRequests ¶
type RegisterTooManyRequests struct {
Payload *models.ErrorResponse
}
RegisterTooManyRequests handles this case with default header values.
Too many requests
func NewRegisterTooManyRequests ¶
func NewRegisterTooManyRequests() *RegisterTooManyRequests
NewRegisterTooManyRequests creates a RegisterTooManyRequests with default headers values
func (*RegisterTooManyRequests) Error ¶
func (o *RegisterTooManyRequests) Error() string
func (*RegisterTooManyRequests) GetPayload ¶
func (o *RegisterTooManyRequests) GetPayload() *models.ErrorResponse
type RegisterUnauthorized ¶
type RegisterUnauthorized struct { }
RegisterUnauthorized handles this case with default header values.
Unauthorized
func NewRegisterUnauthorized ¶
func NewRegisterUnauthorized() *RegisterUnauthorized
NewRegisterUnauthorized creates a RegisterUnauthorized with default headers values
func (*RegisterUnauthorized) Error ¶
func (o *RegisterUnauthorized) Error() string
type UpdateAppBadRequest ¶
type UpdateAppBadRequest struct {
Payload *models.ErrorResponse
}
UpdateAppBadRequest handles this case with default header values.
Bad request
func NewUpdateAppBadRequest ¶
func NewUpdateAppBadRequest() *UpdateAppBadRequest
NewUpdateAppBadRequest creates a UpdateAppBadRequest with default headers values
func (*UpdateAppBadRequest) Error ¶
func (o *UpdateAppBadRequest) Error() string
func (*UpdateAppBadRequest) GetPayload ¶
func (o *UpdateAppBadRequest) GetPayload() *models.ErrorResponse
type UpdateAppDefault ¶
type UpdateAppDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateAppDefault handles this case with default header values.
Unexpected error
func NewUpdateAppDefault ¶
func NewUpdateAppDefault(code int) *UpdateAppDefault
NewUpdateAppDefault creates a UpdateAppDefault with default headers values
func (*UpdateAppDefault) Code ¶
func (o *UpdateAppDefault) Code() int
Code gets the status code for the update app default response
func (*UpdateAppDefault) Error ¶
func (o *UpdateAppDefault) Error() string
func (*UpdateAppDefault) GetPayload ¶
func (o *UpdateAppDefault) GetPayload() *models.ErrorResponse
type UpdateAppForbidden ¶
type UpdateAppForbidden struct { }
UpdateAppForbidden handles this case with default header values.
Forbidden
func NewUpdateAppForbidden ¶
func NewUpdateAppForbidden() *UpdateAppForbidden
NewUpdateAppForbidden creates a UpdateAppForbidden with default headers values
func (*UpdateAppForbidden) Error ¶
func (o *UpdateAppForbidden) Error() string
type UpdateAppOK ¶
UpdateAppOK handles this case with default header values.
An app model.
func NewUpdateAppOK ¶
func NewUpdateAppOK() *UpdateAppOK
NewUpdateAppOK creates a UpdateAppOK with default headers values
func (*UpdateAppOK) Error ¶
func (o *UpdateAppOK) Error() string
func (*UpdateAppOK) GetPayload ¶
func (o *UpdateAppOK) GetPayload() *models.App
type UpdateAppOauthBadRequest ¶
type UpdateAppOauthBadRequest struct {
Payload *models.ErrorResponse
}
UpdateAppOauthBadRequest handles this case with default header values.
Bad request
func NewUpdateAppOauthBadRequest ¶
func NewUpdateAppOauthBadRequest() *UpdateAppOauthBadRequest
NewUpdateAppOauthBadRequest creates a UpdateAppOauthBadRequest with default headers values
func (*UpdateAppOauthBadRequest) Error ¶
func (o *UpdateAppOauthBadRequest) Error() string
func (*UpdateAppOauthBadRequest) GetPayload ¶
func (o *UpdateAppOauthBadRequest) GetPayload() *models.ErrorResponse
type UpdateAppOauthDefault ¶
type UpdateAppOauthDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateAppOauthDefault handles this case with default header values.
Unexpected error
func NewUpdateAppOauthDefault ¶
func NewUpdateAppOauthDefault(code int) *UpdateAppOauthDefault
NewUpdateAppOauthDefault creates a UpdateAppOauthDefault with default headers values
func (*UpdateAppOauthDefault) Code ¶
func (o *UpdateAppOauthDefault) Code() int
Code gets the status code for the update app oauth default response
func (*UpdateAppOauthDefault) Error ¶
func (o *UpdateAppOauthDefault) Error() string
func (*UpdateAppOauthDefault) GetPayload ¶
func (o *UpdateAppOauthDefault) GetPayload() *models.ErrorResponse
type UpdateAppOauthForbidden ¶
type UpdateAppOauthForbidden struct { }
UpdateAppOauthForbidden handles this case with default header values.
Forbidden
func NewUpdateAppOauthForbidden ¶
func NewUpdateAppOauthForbidden() *UpdateAppOauthForbidden
NewUpdateAppOauthForbidden creates a UpdateAppOauthForbidden with default headers values
func (*UpdateAppOauthForbidden) Error ¶
func (o *UpdateAppOauthForbidden) Error() string
type UpdateAppOauthOK ¶
UpdateAppOauthOK handles this case with default header values.
An app's oauth settings model.
func NewUpdateAppOauthOK ¶
func NewUpdateAppOauthOK() *UpdateAppOauthOK
NewUpdateAppOauthOK creates a UpdateAppOauthOK with default headers values
func (*UpdateAppOauthOK) Error ¶
func (o *UpdateAppOauthOK) Error() string
func (*UpdateAppOauthOK) GetPayload ¶
func (o *UpdateAppOauthOK) GetPayload() *models.AppOAuth
type UpdateAppOauthParams ¶
type UpdateAppOauthParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string /*UpdateAppOAuthRequest*/ UpdateAppOAuthRequest *models.UpdateAppOAuthRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAppOauthParams contains all the parameters to send to the API endpoint for the update app oauth operation typically these are written to a http.Request
func NewUpdateAppOauthParams ¶
func NewUpdateAppOauthParams() *UpdateAppOauthParams
NewUpdateAppOauthParams creates a new UpdateAppOauthParams object with the default values initialized.
func NewUpdateAppOauthParamsWithContext ¶
func NewUpdateAppOauthParamsWithContext(ctx context.Context) *UpdateAppOauthParams
NewUpdateAppOauthParamsWithContext creates a new UpdateAppOauthParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateAppOauthParamsWithHTTPClient ¶
func NewUpdateAppOauthParamsWithHTTPClient(client *http.Client) *UpdateAppOauthParams
NewUpdateAppOauthParamsWithHTTPClient creates a new UpdateAppOauthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateAppOauthParamsWithTimeout ¶
func NewUpdateAppOauthParamsWithTimeout(timeout time.Duration) *UpdateAppOauthParams
NewUpdateAppOauthParamsWithTimeout creates a new UpdateAppOauthParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAppOauthParams) SetAppNameOrID ¶
func (o *UpdateAppOauthParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the update app oauth params
func (*UpdateAppOauthParams) SetAuthorization ¶
func (o *UpdateAppOauthParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the update app oauth params
func (*UpdateAppOauthParams) SetContext ¶
func (o *UpdateAppOauthParams) SetContext(ctx context.Context)
SetContext adds the context to the update app oauth params
func (*UpdateAppOauthParams) SetHTTPClient ¶
func (o *UpdateAppOauthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update app oauth params
func (*UpdateAppOauthParams) SetTimeout ¶
func (o *UpdateAppOauthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update app oauth params
func (*UpdateAppOauthParams) SetUpdateAppOAuthRequest ¶
func (o *UpdateAppOauthParams) SetUpdateAppOAuthRequest(updateAppOAuthRequest *models.UpdateAppOAuthRequest)
SetUpdateAppOAuthRequest adds the updateAppOAuthRequest to the update app oauth params
func (*UpdateAppOauthParams) WithAppNameOrID ¶
func (o *UpdateAppOauthParams) WithAppNameOrID(appNameOrID string) *UpdateAppOauthParams
WithAppNameOrID adds the appNameOrID to the update app oauth params
func (*UpdateAppOauthParams) WithAuthorization ¶
func (o *UpdateAppOauthParams) WithAuthorization(authorization string) *UpdateAppOauthParams
WithAuthorization adds the authorization to the update app oauth params
func (*UpdateAppOauthParams) WithContext ¶
func (o *UpdateAppOauthParams) WithContext(ctx context.Context) *UpdateAppOauthParams
WithContext adds the context to the update app oauth params
func (*UpdateAppOauthParams) WithHTTPClient ¶
func (o *UpdateAppOauthParams) WithHTTPClient(client *http.Client) *UpdateAppOauthParams
WithHTTPClient adds the HTTPClient to the update app oauth params
func (*UpdateAppOauthParams) WithTimeout ¶
func (o *UpdateAppOauthParams) WithTimeout(timeout time.Duration) *UpdateAppOauthParams
WithTimeout adds the timeout to the update app oauth params
func (*UpdateAppOauthParams) WithUpdateAppOAuthRequest ¶
func (o *UpdateAppOauthParams) WithUpdateAppOAuthRequest(updateAppOAuthRequest *models.UpdateAppOAuthRequest) *UpdateAppOauthParams
WithUpdateAppOAuthRequest adds the updateAppOAuthRequest to the update app oauth params
func (*UpdateAppOauthParams) WriteToRequest ¶
func (o *UpdateAppOauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAppOauthReader ¶
type UpdateAppOauthReader struct {
// contains filtered or unexported fields
}
UpdateAppOauthReader is a Reader for the UpdateAppOauth structure.
func (*UpdateAppOauthReader) ReadResponse ¶
func (o *UpdateAppOauthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAppOauthTooManyRequests ¶
type UpdateAppOauthTooManyRequests struct {
Payload *models.ErrorResponse
}
UpdateAppOauthTooManyRequests handles this case with default header values.
Too many requests
func NewUpdateAppOauthTooManyRequests ¶
func NewUpdateAppOauthTooManyRequests() *UpdateAppOauthTooManyRequests
NewUpdateAppOauthTooManyRequests creates a UpdateAppOauthTooManyRequests with default headers values
func (*UpdateAppOauthTooManyRequests) Error ¶
func (o *UpdateAppOauthTooManyRequests) Error() string
func (*UpdateAppOauthTooManyRequests) GetPayload ¶
func (o *UpdateAppOauthTooManyRequests) GetPayload() *models.ErrorResponse
type UpdateAppOauthUnauthorized ¶
type UpdateAppOauthUnauthorized struct { }
UpdateAppOauthUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateAppOauthUnauthorized ¶
func NewUpdateAppOauthUnauthorized() *UpdateAppOauthUnauthorized
NewUpdateAppOauthUnauthorized creates a UpdateAppOauthUnauthorized with default headers values
func (*UpdateAppOauthUnauthorized) Error ¶
func (o *UpdateAppOauthUnauthorized) Error() string
type UpdateAppOauthUnprocessableEntity ¶
type UpdateAppOauthUnprocessableEntity struct {
Payload *models.ErrorResponse
}
UpdateAppOauthUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewUpdateAppOauthUnprocessableEntity ¶
func NewUpdateAppOauthUnprocessableEntity() *UpdateAppOauthUnprocessableEntity
NewUpdateAppOauthUnprocessableEntity creates a UpdateAppOauthUnprocessableEntity with default headers values
func (*UpdateAppOauthUnprocessableEntity) Error ¶
func (o *UpdateAppOauthUnprocessableEntity) Error() string
func (*UpdateAppOauthUnprocessableEntity) GetPayload ¶
func (o *UpdateAppOauthUnprocessableEntity) GetPayload() *models.ErrorResponse
type UpdateAppParams ¶
type UpdateAppParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string /*RequireConfirmation Override default configuration to use either PING or CONFIRMATION lifecycle. For WEBHOOK_SMART_APP only. */ RequireConfirmation *bool /*SignatureType The Signature Type of the application. For WEBHOOK_SMART_APP only. */ SignatureType *string /*UpdateAppRequest*/ UpdateAppRequest *models.UpdateAppRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAppParams contains all the parameters to send to the API endpoint for the update app operation typically these are written to a http.Request
func NewUpdateAppParams ¶
func NewUpdateAppParams() *UpdateAppParams
NewUpdateAppParams creates a new UpdateAppParams object with the default values initialized.
func NewUpdateAppParamsWithContext ¶
func NewUpdateAppParamsWithContext(ctx context.Context) *UpdateAppParams
NewUpdateAppParamsWithContext creates a new UpdateAppParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateAppParamsWithHTTPClient ¶
func NewUpdateAppParamsWithHTTPClient(client *http.Client) *UpdateAppParams
NewUpdateAppParamsWithHTTPClient creates a new UpdateAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateAppParamsWithTimeout ¶
func NewUpdateAppParamsWithTimeout(timeout time.Duration) *UpdateAppParams
NewUpdateAppParamsWithTimeout creates a new UpdateAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAppParams) SetAppNameOrID ¶
func (o *UpdateAppParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the update app params
func (*UpdateAppParams) SetAuthorization ¶
func (o *UpdateAppParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the update app params
func (*UpdateAppParams) SetContext ¶
func (o *UpdateAppParams) SetContext(ctx context.Context)
SetContext adds the context to the update app params
func (*UpdateAppParams) SetHTTPClient ¶
func (o *UpdateAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update app params
func (*UpdateAppParams) SetRequireConfirmation ¶
func (o *UpdateAppParams) SetRequireConfirmation(requireConfirmation *bool)
SetRequireConfirmation adds the requireConfirmation to the update app params
func (*UpdateAppParams) SetSignatureType ¶
func (o *UpdateAppParams) SetSignatureType(signatureType *string)
SetSignatureType adds the signatureType to the update app params
func (*UpdateAppParams) SetTimeout ¶
func (o *UpdateAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update app params
func (*UpdateAppParams) SetUpdateAppRequest ¶
func (o *UpdateAppParams) SetUpdateAppRequest(updateAppRequest *models.UpdateAppRequest)
SetUpdateAppRequest adds the updateAppRequest to the update app params
func (*UpdateAppParams) WithAppNameOrID ¶
func (o *UpdateAppParams) WithAppNameOrID(appNameOrID string) *UpdateAppParams
WithAppNameOrID adds the appNameOrID to the update app params
func (*UpdateAppParams) WithAuthorization ¶
func (o *UpdateAppParams) WithAuthorization(authorization string) *UpdateAppParams
WithAuthorization adds the authorization to the update app params
func (*UpdateAppParams) WithContext ¶
func (o *UpdateAppParams) WithContext(ctx context.Context) *UpdateAppParams
WithContext adds the context to the update app params
func (*UpdateAppParams) WithHTTPClient ¶
func (o *UpdateAppParams) WithHTTPClient(client *http.Client) *UpdateAppParams
WithHTTPClient adds the HTTPClient to the update app params
func (*UpdateAppParams) WithRequireConfirmation ¶
func (o *UpdateAppParams) WithRequireConfirmation(requireConfirmation *bool) *UpdateAppParams
WithRequireConfirmation adds the requireConfirmation to the update app params
func (*UpdateAppParams) WithSignatureType ¶
func (o *UpdateAppParams) WithSignatureType(signatureType *string) *UpdateAppParams
WithSignatureType adds the signatureType to the update app params
func (*UpdateAppParams) WithTimeout ¶
func (o *UpdateAppParams) WithTimeout(timeout time.Duration) *UpdateAppParams
WithTimeout adds the timeout to the update app params
func (*UpdateAppParams) WithUpdateAppRequest ¶
func (o *UpdateAppParams) WithUpdateAppRequest(updateAppRequest *models.UpdateAppRequest) *UpdateAppParams
WithUpdateAppRequest adds the updateAppRequest to the update app params
func (*UpdateAppParams) WriteToRequest ¶
func (o *UpdateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAppReader ¶
type UpdateAppReader struct {
// contains filtered or unexported fields
}
UpdateAppReader is a Reader for the UpdateApp structure.
func (*UpdateAppReader) ReadResponse ¶
func (o *UpdateAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAppSettingsBadRequest ¶
type UpdateAppSettingsBadRequest struct {
Payload *models.ErrorResponse
}
UpdateAppSettingsBadRequest handles this case with default header values.
Bad request
func NewUpdateAppSettingsBadRequest ¶
func NewUpdateAppSettingsBadRequest() *UpdateAppSettingsBadRequest
NewUpdateAppSettingsBadRequest creates a UpdateAppSettingsBadRequest with default headers values
func (*UpdateAppSettingsBadRequest) Error ¶
func (o *UpdateAppSettingsBadRequest) Error() string
func (*UpdateAppSettingsBadRequest) GetPayload ¶
func (o *UpdateAppSettingsBadRequest) GetPayload() *models.ErrorResponse
type UpdateAppSettingsDefault ¶
type UpdateAppSettingsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateAppSettingsDefault handles this case with default header values.
Unexpected error
func NewUpdateAppSettingsDefault ¶
func NewUpdateAppSettingsDefault(code int) *UpdateAppSettingsDefault
NewUpdateAppSettingsDefault creates a UpdateAppSettingsDefault with default headers values
func (*UpdateAppSettingsDefault) Code ¶
func (o *UpdateAppSettingsDefault) Code() int
Code gets the status code for the update app settings default response
func (*UpdateAppSettingsDefault) Error ¶
func (o *UpdateAppSettingsDefault) Error() string
func (*UpdateAppSettingsDefault) GetPayload ¶
func (o *UpdateAppSettingsDefault) GetPayload() *models.ErrorResponse
type UpdateAppSettingsForbidden ¶
type UpdateAppSettingsForbidden struct { }
UpdateAppSettingsForbidden handles this case with default header values.
Forbidden
func NewUpdateAppSettingsForbidden ¶
func NewUpdateAppSettingsForbidden() *UpdateAppSettingsForbidden
NewUpdateAppSettingsForbidden creates a UpdateAppSettingsForbidden with default headers values
func (*UpdateAppSettingsForbidden) Error ¶
func (o *UpdateAppSettingsForbidden) Error() string
type UpdateAppSettingsOK ¶
type UpdateAppSettingsOK struct {
Payload *models.UpdateAppSettingsResponse
}
UpdateAppSettingsOK handles this case with default header values.
An app settings model.
func NewUpdateAppSettingsOK ¶
func NewUpdateAppSettingsOK() *UpdateAppSettingsOK
NewUpdateAppSettingsOK creates a UpdateAppSettingsOK with default headers values
func (*UpdateAppSettingsOK) Error ¶
func (o *UpdateAppSettingsOK) Error() string
func (*UpdateAppSettingsOK) GetPayload ¶
func (o *UpdateAppSettingsOK) GetPayload() *models.UpdateAppSettingsResponse
type UpdateAppSettingsParams ¶
type UpdateAppSettingsParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string /*UpdateAppSettingsRequest*/ UpdateAppSettingsRequest *models.UpdateAppSettingsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAppSettingsParams contains all the parameters to send to the API endpoint for the update app settings operation typically these are written to a http.Request
func NewUpdateAppSettingsParams ¶
func NewUpdateAppSettingsParams() *UpdateAppSettingsParams
NewUpdateAppSettingsParams creates a new UpdateAppSettingsParams object with the default values initialized.
func NewUpdateAppSettingsParamsWithContext ¶
func NewUpdateAppSettingsParamsWithContext(ctx context.Context) *UpdateAppSettingsParams
NewUpdateAppSettingsParamsWithContext creates a new UpdateAppSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateAppSettingsParamsWithHTTPClient ¶
func NewUpdateAppSettingsParamsWithHTTPClient(client *http.Client) *UpdateAppSettingsParams
NewUpdateAppSettingsParamsWithHTTPClient creates a new UpdateAppSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateAppSettingsParamsWithTimeout ¶
func NewUpdateAppSettingsParamsWithTimeout(timeout time.Duration) *UpdateAppSettingsParams
NewUpdateAppSettingsParamsWithTimeout creates a new UpdateAppSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAppSettingsParams) SetAppNameOrID ¶
func (o *UpdateAppSettingsParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the update app settings params
func (*UpdateAppSettingsParams) SetAuthorization ¶
func (o *UpdateAppSettingsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the update app settings params
func (*UpdateAppSettingsParams) SetContext ¶
func (o *UpdateAppSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update app settings params
func (*UpdateAppSettingsParams) SetHTTPClient ¶
func (o *UpdateAppSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update app settings params
func (*UpdateAppSettingsParams) SetTimeout ¶
func (o *UpdateAppSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update app settings params
func (*UpdateAppSettingsParams) SetUpdateAppSettingsRequest ¶
func (o *UpdateAppSettingsParams) SetUpdateAppSettingsRequest(updateAppSettingsRequest *models.UpdateAppSettingsRequest)
SetUpdateAppSettingsRequest adds the updateAppSettingsRequest to the update app settings params
func (*UpdateAppSettingsParams) WithAppNameOrID ¶
func (o *UpdateAppSettingsParams) WithAppNameOrID(appNameOrID string) *UpdateAppSettingsParams
WithAppNameOrID adds the appNameOrID to the update app settings params
func (*UpdateAppSettingsParams) WithAuthorization ¶
func (o *UpdateAppSettingsParams) WithAuthorization(authorization string) *UpdateAppSettingsParams
WithAuthorization adds the authorization to the update app settings params
func (*UpdateAppSettingsParams) WithContext ¶
func (o *UpdateAppSettingsParams) WithContext(ctx context.Context) *UpdateAppSettingsParams
WithContext adds the context to the update app settings params
func (*UpdateAppSettingsParams) WithHTTPClient ¶
func (o *UpdateAppSettingsParams) WithHTTPClient(client *http.Client) *UpdateAppSettingsParams
WithHTTPClient adds the HTTPClient to the update app settings params
func (*UpdateAppSettingsParams) WithTimeout ¶
func (o *UpdateAppSettingsParams) WithTimeout(timeout time.Duration) *UpdateAppSettingsParams
WithTimeout adds the timeout to the update app settings params
func (*UpdateAppSettingsParams) WithUpdateAppSettingsRequest ¶
func (o *UpdateAppSettingsParams) WithUpdateAppSettingsRequest(updateAppSettingsRequest *models.UpdateAppSettingsRequest) *UpdateAppSettingsParams
WithUpdateAppSettingsRequest adds the updateAppSettingsRequest to the update app settings params
func (*UpdateAppSettingsParams) WriteToRequest ¶
func (o *UpdateAppSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAppSettingsReader ¶
type UpdateAppSettingsReader struct {
// contains filtered or unexported fields
}
UpdateAppSettingsReader is a Reader for the UpdateAppSettings structure.
func (*UpdateAppSettingsReader) ReadResponse ¶
func (o *UpdateAppSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAppSettingsTooManyRequests ¶
type UpdateAppSettingsTooManyRequests struct {
Payload *models.ErrorResponse
}
UpdateAppSettingsTooManyRequests handles this case with default header values.
Too many requests
func NewUpdateAppSettingsTooManyRequests ¶
func NewUpdateAppSettingsTooManyRequests() *UpdateAppSettingsTooManyRequests
NewUpdateAppSettingsTooManyRequests creates a UpdateAppSettingsTooManyRequests with default headers values
func (*UpdateAppSettingsTooManyRequests) Error ¶
func (o *UpdateAppSettingsTooManyRequests) Error() string
func (*UpdateAppSettingsTooManyRequests) GetPayload ¶
func (o *UpdateAppSettingsTooManyRequests) GetPayload() *models.ErrorResponse
type UpdateAppSettingsUnauthorized ¶
type UpdateAppSettingsUnauthorized struct { }
UpdateAppSettingsUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateAppSettingsUnauthorized ¶
func NewUpdateAppSettingsUnauthorized() *UpdateAppSettingsUnauthorized
NewUpdateAppSettingsUnauthorized creates a UpdateAppSettingsUnauthorized with default headers values
func (*UpdateAppSettingsUnauthorized) Error ¶
func (o *UpdateAppSettingsUnauthorized) Error() string
type UpdateAppSettingsUnprocessableEntity ¶
type UpdateAppSettingsUnprocessableEntity struct {
Payload *models.ErrorResponse
}
UpdateAppSettingsUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewUpdateAppSettingsUnprocessableEntity ¶
func NewUpdateAppSettingsUnprocessableEntity() *UpdateAppSettingsUnprocessableEntity
NewUpdateAppSettingsUnprocessableEntity creates a UpdateAppSettingsUnprocessableEntity with default headers values
func (*UpdateAppSettingsUnprocessableEntity) Error ¶
func (o *UpdateAppSettingsUnprocessableEntity) Error() string
func (*UpdateAppSettingsUnprocessableEntity) GetPayload ¶
func (o *UpdateAppSettingsUnprocessableEntity) GetPayload() *models.ErrorResponse
type UpdateAppTooManyRequests ¶
type UpdateAppTooManyRequests struct {
Payload *models.ErrorResponse
}
UpdateAppTooManyRequests handles this case with default header values.
Too many requests
func NewUpdateAppTooManyRequests ¶
func NewUpdateAppTooManyRequests() *UpdateAppTooManyRequests
NewUpdateAppTooManyRequests creates a UpdateAppTooManyRequests with default headers values
func (*UpdateAppTooManyRequests) Error ¶
func (o *UpdateAppTooManyRequests) Error() string
func (*UpdateAppTooManyRequests) GetPayload ¶
func (o *UpdateAppTooManyRequests) GetPayload() *models.ErrorResponse
type UpdateAppUnauthorized ¶
type UpdateAppUnauthorized struct { }
UpdateAppUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateAppUnauthorized ¶
func NewUpdateAppUnauthorized() *UpdateAppUnauthorized
NewUpdateAppUnauthorized creates a UpdateAppUnauthorized with default headers values
func (*UpdateAppUnauthorized) Error ¶
func (o *UpdateAppUnauthorized) Error() string
type UpdateAppUnprocessableEntity ¶
type UpdateAppUnprocessableEntity struct {
Payload *models.ErrorResponse
}
UpdateAppUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewUpdateAppUnprocessableEntity ¶
func NewUpdateAppUnprocessableEntity() *UpdateAppUnprocessableEntity
NewUpdateAppUnprocessableEntity creates a UpdateAppUnprocessableEntity with default headers values
func (*UpdateAppUnprocessableEntity) Error ¶
func (o *UpdateAppUnprocessableEntity) Error() string
func (*UpdateAppUnprocessableEntity) GetPayload ¶
func (o *UpdateAppUnprocessableEntity) GetPayload() *models.ErrorResponse
type UpdateSignatureTypeAccepted ¶
type UpdateSignatureTypeAccepted struct {
Payload models.UpdateSignatureTypeResponse
}
UpdateSignatureTypeAccepted handles this case with default header values.
App signature type will be updated asynchronously. Developer can expect change to take effect within a few minutes.
func NewUpdateSignatureTypeAccepted ¶
func NewUpdateSignatureTypeAccepted() *UpdateSignatureTypeAccepted
NewUpdateSignatureTypeAccepted creates a UpdateSignatureTypeAccepted with default headers values
func (*UpdateSignatureTypeAccepted) Error ¶
func (o *UpdateSignatureTypeAccepted) Error() string
func (*UpdateSignatureTypeAccepted) GetPayload ¶
func (o *UpdateSignatureTypeAccepted) GetPayload() models.UpdateSignatureTypeResponse
type UpdateSignatureTypeBadRequest ¶
type UpdateSignatureTypeBadRequest struct {
Payload *models.ErrorResponse
}
UpdateSignatureTypeBadRequest handles this case with default header values.
Bad request
func NewUpdateSignatureTypeBadRequest ¶
func NewUpdateSignatureTypeBadRequest() *UpdateSignatureTypeBadRequest
NewUpdateSignatureTypeBadRequest creates a UpdateSignatureTypeBadRequest with default headers values
func (*UpdateSignatureTypeBadRequest) Error ¶
func (o *UpdateSignatureTypeBadRequest) Error() string
func (*UpdateSignatureTypeBadRequest) GetPayload ¶
func (o *UpdateSignatureTypeBadRequest) GetPayload() *models.ErrorResponse
type UpdateSignatureTypeDefault ¶
type UpdateSignatureTypeDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateSignatureTypeDefault handles this case with default header values.
Unexpected error
func NewUpdateSignatureTypeDefault ¶
func NewUpdateSignatureTypeDefault(code int) *UpdateSignatureTypeDefault
NewUpdateSignatureTypeDefault creates a UpdateSignatureTypeDefault with default headers values
func (*UpdateSignatureTypeDefault) Code ¶
func (o *UpdateSignatureTypeDefault) Code() int
Code gets the status code for the update signature type default response
func (*UpdateSignatureTypeDefault) Error ¶
func (o *UpdateSignatureTypeDefault) Error() string
func (*UpdateSignatureTypeDefault) GetPayload ¶
func (o *UpdateSignatureTypeDefault) GetPayload() *models.ErrorResponse
type UpdateSignatureTypeForbidden ¶
type UpdateSignatureTypeForbidden struct { }
UpdateSignatureTypeForbidden handles this case with default header values.
Forbidden
func NewUpdateSignatureTypeForbidden ¶
func NewUpdateSignatureTypeForbidden() *UpdateSignatureTypeForbidden
NewUpdateSignatureTypeForbidden creates a UpdateSignatureTypeForbidden with default headers values
func (*UpdateSignatureTypeForbidden) Error ¶
func (o *UpdateSignatureTypeForbidden) Error() string
type UpdateSignatureTypeParams ¶
type UpdateSignatureTypeParams struct { /*Authorization OAuth token */ Authorization string /*AppNameOrID The appName or appId field of an app. */ AppNameOrID string /*UpdateSignatureTypeRequest*/ UpdateSignatureTypeRequest *models.UpdateSignatureTypeRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSignatureTypeParams contains all the parameters to send to the API endpoint for the update signature type operation typically these are written to a http.Request
func NewUpdateSignatureTypeParams ¶
func NewUpdateSignatureTypeParams() *UpdateSignatureTypeParams
NewUpdateSignatureTypeParams creates a new UpdateSignatureTypeParams object with the default values initialized.
func NewUpdateSignatureTypeParamsWithContext ¶
func NewUpdateSignatureTypeParamsWithContext(ctx context.Context) *UpdateSignatureTypeParams
NewUpdateSignatureTypeParamsWithContext creates a new UpdateSignatureTypeParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSignatureTypeParamsWithHTTPClient ¶
func NewUpdateSignatureTypeParamsWithHTTPClient(client *http.Client) *UpdateSignatureTypeParams
NewUpdateSignatureTypeParamsWithHTTPClient creates a new UpdateSignatureTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSignatureTypeParamsWithTimeout ¶
func NewUpdateSignatureTypeParamsWithTimeout(timeout time.Duration) *UpdateSignatureTypeParams
NewUpdateSignatureTypeParamsWithTimeout creates a new UpdateSignatureTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSignatureTypeParams) SetAppNameOrID ¶
func (o *UpdateSignatureTypeParams) SetAppNameOrID(appNameOrID string)
SetAppNameOrID adds the appNameOrId to the update signature type params
func (*UpdateSignatureTypeParams) SetAuthorization ¶
func (o *UpdateSignatureTypeParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the update signature type params
func (*UpdateSignatureTypeParams) SetContext ¶
func (o *UpdateSignatureTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the update signature type params
func (*UpdateSignatureTypeParams) SetHTTPClient ¶
func (o *UpdateSignatureTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update signature type params
func (*UpdateSignatureTypeParams) SetTimeout ¶
func (o *UpdateSignatureTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update signature type params
func (*UpdateSignatureTypeParams) SetUpdateSignatureTypeRequest ¶
func (o *UpdateSignatureTypeParams) SetUpdateSignatureTypeRequest(updateSignatureTypeRequest *models.UpdateSignatureTypeRequest)
SetUpdateSignatureTypeRequest adds the updateSignatureTypeRequest to the update signature type params
func (*UpdateSignatureTypeParams) WithAppNameOrID ¶
func (o *UpdateSignatureTypeParams) WithAppNameOrID(appNameOrID string) *UpdateSignatureTypeParams
WithAppNameOrID adds the appNameOrID to the update signature type params
func (*UpdateSignatureTypeParams) WithAuthorization ¶
func (o *UpdateSignatureTypeParams) WithAuthorization(authorization string) *UpdateSignatureTypeParams
WithAuthorization adds the authorization to the update signature type params
func (*UpdateSignatureTypeParams) WithContext ¶
func (o *UpdateSignatureTypeParams) WithContext(ctx context.Context) *UpdateSignatureTypeParams
WithContext adds the context to the update signature type params
func (*UpdateSignatureTypeParams) WithHTTPClient ¶
func (o *UpdateSignatureTypeParams) WithHTTPClient(client *http.Client) *UpdateSignatureTypeParams
WithHTTPClient adds the HTTPClient to the update signature type params
func (*UpdateSignatureTypeParams) WithTimeout ¶
func (o *UpdateSignatureTypeParams) WithTimeout(timeout time.Duration) *UpdateSignatureTypeParams
WithTimeout adds the timeout to the update signature type params
func (*UpdateSignatureTypeParams) WithUpdateSignatureTypeRequest ¶
func (o *UpdateSignatureTypeParams) WithUpdateSignatureTypeRequest(updateSignatureTypeRequest *models.UpdateSignatureTypeRequest) *UpdateSignatureTypeParams
WithUpdateSignatureTypeRequest adds the updateSignatureTypeRequest to the update signature type params
func (*UpdateSignatureTypeParams) WriteToRequest ¶
func (o *UpdateSignatureTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSignatureTypeReader ¶
type UpdateSignatureTypeReader struct {
// contains filtered or unexported fields
}
UpdateSignatureTypeReader is a Reader for the UpdateSignatureType structure.
func (*UpdateSignatureTypeReader) ReadResponse ¶
func (o *UpdateSignatureTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSignatureTypeTooManyRequests ¶
type UpdateSignatureTypeTooManyRequests struct {
Payload *models.ErrorResponse
}
UpdateSignatureTypeTooManyRequests handles this case with default header values.
Too many requests
func NewUpdateSignatureTypeTooManyRequests ¶
func NewUpdateSignatureTypeTooManyRequests() *UpdateSignatureTypeTooManyRequests
NewUpdateSignatureTypeTooManyRequests creates a UpdateSignatureTypeTooManyRequests with default headers values
func (*UpdateSignatureTypeTooManyRequests) Error ¶
func (o *UpdateSignatureTypeTooManyRequests) Error() string
func (*UpdateSignatureTypeTooManyRequests) GetPayload ¶
func (o *UpdateSignatureTypeTooManyRequests) GetPayload() *models.ErrorResponse
type UpdateSignatureTypeUnauthorized ¶
type UpdateSignatureTypeUnauthorized struct { }
UpdateSignatureTypeUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateSignatureTypeUnauthorized ¶
func NewUpdateSignatureTypeUnauthorized() *UpdateSignatureTypeUnauthorized
NewUpdateSignatureTypeUnauthorized creates a UpdateSignatureTypeUnauthorized with default headers values
func (*UpdateSignatureTypeUnauthorized) Error ¶
func (o *UpdateSignatureTypeUnauthorized) Error() string
type UpdateSignatureTypeUnprocessableEntity ¶
type UpdateSignatureTypeUnprocessableEntity struct {
Payload *models.ErrorResponse
}
UpdateSignatureTypeUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewUpdateSignatureTypeUnprocessableEntity ¶
func NewUpdateSignatureTypeUnprocessableEntity() *UpdateSignatureTypeUnprocessableEntity
NewUpdateSignatureTypeUnprocessableEntity creates a UpdateSignatureTypeUnprocessableEntity with default headers values
func (*UpdateSignatureTypeUnprocessableEntity) Error ¶
func (o *UpdateSignatureTypeUnprocessableEntity) Error() string
func (*UpdateSignatureTypeUnprocessableEntity) GetPayload ¶
func (o *UpdateSignatureTypeUnprocessableEntity) GetPayload() *models.ErrorResponse
Source Files
¶
- apps_client.go
- create_app_parameters.go
- create_app_responses.go
- delete_app_parameters.go
- delete_app_responses.go
- generate_app_oauth_parameters.go
- generate_app_oauth_responses.go
- get_app_oauth_parameters.go
- get_app_oauth_responses.go
- get_app_parameters.go
- get_app_responses.go
- get_app_settings_parameters.go
- get_app_settings_responses.go
- list_apps_parameters.go
- list_apps_responses.go
- register_parameters.go
- register_responses.go
- update_app_oauth_parameters.go
- update_app_oauth_responses.go
- update_app_parameters.go
- update_app_responses.go
- update_app_settings_parameters.go
- update_app_settings_responses.go
- update_signature_type_parameters.go
- update_signature_type_responses.go