Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateApp(params *CreateAppParams) (*CreateAppOK, error)
- func (a *Client) DeleteApp(params *DeleteAppParams) (*DeleteAppNoContent, error)
- func (a *Client) GetApp(params *GetAppParams) (*GetAppOK, error)
- func (a *Client) ListApps(params *ListAppsParams) (*ListAppsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateApp(params *UpdateAppParams) (*UpdateAppOK, error)
- type CreateAppBadRequest
- type CreateAppConflict
- type CreateAppDefault
- type CreateAppOK
- type CreateAppParams
- func (o *CreateAppParams) SetBody(body *modelsv2.App)
- func (o *CreateAppParams) SetContext(ctx context.Context)
- func (o *CreateAppParams) SetHTTPClient(client *http.Client)
- func (o *CreateAppParams) SetTimeout(timeout time.Duration)
- func (o *CreateAppParams) WithBody(body *modelsv2.App) *CreateAppParams
- func (o *CreateAppParams) WithContext(ctx context.Context) *CreateAppParams
- func (o *CreateAppParams) WithHTTPClient(client *http.Client) *CreateAppParams
- func (o *CreateAppParams) WithTimeout(timeout time.Duration) *CreateAppParams
- func (o *CreateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAppReader
- type DeleteAppDefault
- type DeleteAppNoContent
- type DeleteAppNotFound
- type DeleteAppParams
- func (o *DeleteAppParams) SetAppID(appID 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) WithAppID(appID 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 GetAppDefault
- type GetAppNotFound
- type GetAppOK
- type GetAppParams
- func (o *GetAppParams) SetAppID(appID 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) WithAppID(appID 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 ListAppsDefault
- type ListAppsOK
- type ListAppsParams
- func (o *ListAppsParams) SetContext(ctx context.Context)
- func (o *ListAppsParams) SetCursor(cursor *string)
- func (o *ListAppsParams) SetHTTPClient(client *http.Client)
- func (o *ListAppsParams) SetName(name *string)
- func (o *ListAppsParams) SetPerPage(perPage *int64)
- func (o *ListAppsParams) SetTimeout(timeout time.Duration)
- func (o *ListAppsParams) WithContext(ctx context.Context) *ListAppsParams
- func (o *ListAppsParams) WithCursor(cursor *string) *ListAppsParams
- func (o *ListAppsParams) WithHTTPClient(client *http.Client) *ListAppsParams
- func (o *ListAppsParams) WithName(name *string) *ListAppsParams
- func (o *ListAppsParams) WithPerPage(perPage *int64) *ListAppsParams
- func (o *ListAppsParams) WithTimeout(timeout time.Duration) *ListAppsParams
- func (o *ListAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAppsReader
- type UpdateAppBadRequest
- type UpdateAppDefault
- type UpdateAppNotFound
- type UpdateAppOK
- type UpdateAppParams
- func (o *UpdateAppParams) SetAppID(appID string)
- func (o *UpdateAppParams) SetBody(body *modelsv2.App)
- func (o *UpdateAppParams) SetContext(ctx context.Context)
- func (o *UpdateAppParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAppParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAppParams) WithAppID(appID string) *UpdateAppParams
- func (o *UpdateAppParams) WithBody(body *modelsv2.App) *UpdateAppParams
- func (o *UpdateAppParams) WithContext(ctx context.Context) *UpdateAppParams
- func (o *UpdateAppParams) WithHTTPClient(client *http.Client) *UpdateAppParams
- func (o *UpdateAppParams) WithTimeout(timeout time.Duration) *UpdateAppParams
- func (o *UpdateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAppReader
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new apps API client.
func (*Client) CreateApp ¶
func (a *Client) CreateApp(params *CreateAppParams) (*CreateAppOK, error)
CreateApp creates a new application
Creates a new Application, returning the complete entity.
func (*Client) DeleteApp ¶
func (a *Client) DeleteApp(params *DeleteAppParams) (*DeleteAppNoContent, error)
DeleteApp deletes an application
Delete the specified Application.
func (*Client) GetApp ¶
func (a *Client) GetApp(params *GetAppParams) (*GetAppOK, error)
GetApp gets information for an application
Returns more details about an Application, such as statistics.
func (*Client) ListApps ¶
func (a *Client) ListApps(params *ListAppsParams) (*ListAppsOK, error)
ListApps gets a list of applications
Get a filtered list of Applications in alphabetical order.
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) (*UpdateAppOK, error)
UpdateApp updates an application
Updates an Application via merging the provided values.
type CreateAppBadRequest ¶
CreateAppBadRequest handles this case with default header values.
Parameters are missing or invalid.
func NewCreateAppBadRequest ¶
func NewCreateAppBadRequest() *CreateAppBadRequest
NewCreateAppBadRequest creates a CreateAppBadRequest with default headers values
func (*CreateAppBadRequest) Error ¶
func (o *CreateAppBadRequest) Error() string
type CreateAppConflict ¶
CreateAppConflict handles this case with default header values.
Application with name already exists.
func NewCreateAppConflict ¶
func NewCreateAppConflict() *CreateAppConflict
NewCreateAppConflict creates a CreateAppConflict with default headers values
func (*CreateAppConflict) Error ¶
func (o *CreateAppConflict) Error() string
type CreateAppDefault ¶
CreateAppDefault handles this case with default header values.
An unexpected error occurred.
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
type CreateAppOK ¶
CreateAppOK handles this case with default header values.
Application details and stats.
func NewCreateAppOK ¶
func NewCreateAppOK() *CreateAppOK
NewCreateAppOK creates a CreateAppOK with default headers values
func (*CreateAppOK) Error ¶
func (o *CreateAppOK) Error() string
type CreateAppParams ¶
type CreateAppParams struct { /*Body Application data to insert. */ Body *modelsv2.App 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) SetBody ¶
func (o *CreateAppParams) SetBody(body *modelsv2.App)
SetBody adds the body 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) SetHTTPClient ¶
func (o *CreateAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) WithBody ¶
func (o *CreateAppParams) WithBody(body *modelsv2.App) *CreateAppParams
WithBody adds the body 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) WithHTTPClient ¶
func (o *CreateAppParams) WithHTTPClient(client *http.Client) *CreateAppParams
WithHTTPClient adds the HTTPClient 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 DeleteAppDefault ¶
DeleteAppDefault handles this case with default header values.
An unexpected error occurred.
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
type DeleteAppNoContent ¶
type DeleteAppNoContent struct { }
DeleteAppNoContent handles this case with default header values.
Application successfully deleted.
func NewDeleteAppNoContent ¶
func NewDeleteAppNoContent() *DeleteAppNoContent
NewDeleteAppNoContent creates a DeleteAppNoContent with default headers values
func (*DeleteAppNoContent) Error ¶
func (o *DeleteAppNoContent) Error() string
type DeleteAppNotFound ¶
DeleteAppNotFound handles this case with default header values.
Application does not exist.
func NewDeleteAppNotFound ¶
func NewDeleteAppNotFound() *DeleteAppNotFound
NewDeleteAppNotFound creates a DeleteAppNotFound with default headers values
func (*DeleteAppNotFound) Error ¶
func (o *DeleteAppNotFound) Error() string
type DeleteAppParams ¶
type DeleteAppParams struct { /*AppID Opaque, unique Application ID. */ AppID 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) SetAppID ¶
func (o *DeleteAppParams) SetAppID(appID string)
SetAppID adds the appId 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) WithAppID ¶
func (o *DeleteAppParams) WithAppID(appID string) *DeleteAppParams
WithAppID adds the appID 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 GetAppDefault ¶
GetAppDefault handles this case with default header values.
An unexpected error occurred.
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
type GetAppNotFound ¶
GetAppNotFound handles this case with default header values.
The Application does not exist.
func NewGetAppNotFound ¶
func NewGetAppNotFound() *GetAppNotFound
NewGetAppNotFound creates a GetAppNotFound with default headers values
func (*GetAppNotFound) Error ¶
func (o *GetAppNotFound) Error() string
type GetAppOK ¶
GetAppOK handles this case with default header values.
Application details and stats.
func NewGetAppOK ¶
func NewGetAppOK() *GetAppOK
NewGetAppOK creates a GetAppOK with default headers values
type GetAppParams ¶
type GetAppParams struct { /*AppID Opaque, unique Application ID. */ AppID 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) SetAppID ¶
func (o *GetAppParams) SetAppID(appID string)
SetAppID adds the appId 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) WithAppID ¶
func (o *GetAppParams) WithAppID(appID string) *GetAppParams
WithAppID adds the appID 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 ListAppsDefault ¶
ListAppsDefault handles this case with default header values.
An unexpected error occurred.
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
type ListAppsOK ¶
ListAppsOK handles this case with default header values.
A list of Applications.
func NewListAppsOK ¶
func NewListAppsOK() *ListAppsOK
NewListAppsOK creates a ListAppsOK with default headers values
func (*ListAppsOK) Error ¶
func (o *ListAppsOK) Error() string
type ListAppsParams ¶
type ListAppsParams struct { /*Cursor Cursor from previous response.next_cursor to begin results after, if any. */ Cursor *string /*Name The Application name to filter by. */ Name *string /*PerPage Number of results to return, defaults to 30. Max of 100. */ PerPage *int64 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) SetContext ¶
func (o *ListAppsParams) SetContext(ctx context.Context)
SetContext adds the context to the list apps params
func (*ListAppsParams) SetCursor ¶
func (o *ListAppsParams) SetCursor(cursor *string)
SetCursor adds the cursor 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) SetName ¶
func (o *ListAppsParams) SetName(name *string)
SetName adds the name to the list apps params
func (*ListAppsParams) SetPerPage ¶
func (o *ListAppsParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage 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) WithContext ¶
func (o *ListAppsParams) WithContext(ctx context.Context) *ListAppsParams
WithContext adds the context to the list apps params
func (*ListAppsParams) WithCursor ¶
func (o *ListAppsParams) WithCursor(cursor *string) *ListAppsParams
WithCursor adds the cursor 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) WithName ¶
func (o *ListAppsParams) WithName(name *string) *ListAppsParams
WithName adds the name to the list apps params
func (*ListAppsParams) WithPerPage ¶
func (o *ListAppsParams) WithPerPage(perPage *int64) *ListAppsParams
WithPerPage adds the perPage 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 UpdateAppBadRequest ¶
UpdateAppBadRequest handles this case with default header values.
Parameters are missing or invalid.
func NewUpdateAppBadRequest ¶
func NewUpdateAppBadRequest() *UpdateAppBadRequest
NewUpdateAppBadRequest creates a UpdateAppBadRequest with default headers values
func (*UpdateAppBadRequest) Error ¶
func (o *UpdateAppBadRequest) Error() string
type UpdateAppDefault ¶
UpdateAppDefault handles this case with default header values.
An unexpected error occurred.
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
type UpdateAppNotFound ¶
UpdateAppNotFound handles this case with default header values.
The Application does not exist.
func NewUpdateAppNotFound ¶
func NewUpdateAppNotFound() *UpdateAppNotFound
NewUpdateAppNotFound creates a UpdateAppNotFound with default headers values
func (*UpdateAppNotFound) Error ¶
func (o *UpdateAppNotFound) Error() string
type UpdateAppOK ¶
UpdateAppOK handles this case with default header values.
Application details and stats.
func NewUpdateAppOK ¶
func NewUpdateAppOK() *UpdateAppOK
NewUpdateAppOK creates a UpdateAppOK with default headers values
func (*UpdateAppOK) Error ¶
func (o *UpdateAppOK) Error() string
type UpdateAppParams ¶
type UpdateAppParams struct { /*AppID Opaque, unique Application ID. */ AppID string /*Body Application data to merge with current values. */ Body *modelsv2.App 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) SetAppID ¶
func (o *UpdateAppParams) SetAppID(appID string)
SetAppID adds the appId to the update app params
func (*UpdateAppParams) SetBody ¶
func (o *UpdateAppParams) SetBody(body *modelsv2.App)
SetBody adds the body 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) SetTimeout ¶
func (o *UpdateAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update app params
func (*UpdateAppParams) WithAppID ¶
func (o *UpdateAppParams) WithAppID(appID string) *UpdateAppParams
WithAppID adds the appID to the update app params
func (*UpdateAppParams) WithBody ¶
func (o *UpdateAppParams) WithBody(body *modelsv2.App) *UpdateAppParams
WithBody adds the body 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) WithTimeout ¶
func (o *UpdateAppParams) WithTimeout(timeout time.Duration) *UpdateAppParams
WithTimeout adds the timeout 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.