Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateExtension(params *CreateExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExtensionCreated, error)
- func (a *Client) DeleteExtension(params *DeleteExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExtensionOK, error)
- func (a *Client) GetExtension(params *GetExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtensionOK, error)
- func (a *Client) ListExtensions(params *ListExtensionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtensionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateExtension(params *UpdateExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateExtensionOK, error)
- func (a *Client) UploadExtension(params *UploadExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*UploadExtensionOK, error)
- type ClientService
- type CreateExtensionBadRequest
- type CreateExtensionConflict
- type CreateExtensionCreated
- type CreateExtensionNotFound
- type CreateExtensionParams
- func NewCreateExtensionParams() *CreateExtensionParams
- func NewCreateExtensionParamsWithContext(ctx context.Context) *CreateExtensionParams
- func NewCreateExtensionParamsWithHTTPClient(client *http.Client) *CreateExtensionParams
- func NewCreateExtensionParamsWithTimeout(timeout time.Duration) *CreateExtensionParams
- func (o *CreateExtensionParams) SetBody(body *models.CreateExtensionRequest)
- func (o *CreateExtensionParams) SetContext(ctx context.Context)
- func (o *CreateExtensionParams) SetHTTPClient(client *http.Client)
- func (o *CreateExtensionParams) SetTimeout(timeout time.Duration)
- func (o *CreateExtensionParams) WithBody(body *models.CreateExtensionRequest) *CreateExtensionParams
- func (o *CreateExtensionParams) WithContext(ctx context.Context) *CreateExtensionParams
- func (o *CreateExtensionParams) WithHTTPClient(client *http.Client) *CreateExtensionParams
- func (o *CreateExtensionParams) WithTimeout(timeout time.Duration) *CreateExtensionParams
- func (o *CreateExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateExtensionReader
- type DeleteExtensionConflict
- type DeleteExtensionNotFound
- type DeleteExtensionOK
- type DeleteExtensionParams
- func NewDeleteExtensionParams() *DeleteExtensionParams
- func NewDeleteExtensionParamsWithContext(ctx context.Context) *DeleteExtensionParams
- func NewDeleteExtensionParamsWithHTTPClient(client *http.Client) *DeleteExtensionParams
- func NewDeleteExtensionParamsWithTimeout(timeout time.Duration) *DeleteExtensionParams
- func (o *DeleteExtensionParams) SetContext(ctx context.Context)
- func (o *DeleteExtensionParams) SetExtensionID(extensionID string)
- func (o *DeleteExtensionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteExtensionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteExtensionParams) WithContext(ctx context.Context) *DeleteExtensionParams
- func (o *DeleteExtensionParams) WithExtensionID(extensionID string) *DeleteExtensionParams
- func (o *DeleteExtensionParams) WithHTTPClient(client *http.Client) *DeleteExtensionParams
- func (o *DeleteExtensionParams) WithTimeout(timeout time.Duration) *DeleteExtensionParams
- func (o *DeleteExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteExtensionReader
- type DeleteExtensionUnauthorized
- type GetExtensionNotFound
- type GetExtensionOK
- type GetExtensionParams
- func (o *GetExtensionParams) SetContext(ctx context.Context)
- func (o *GetExtensionParams) SetExtensionID(extensionID string)
- func (o *GetExtensionParams) SetHTTPClient(client *http.Client)
- func (o *GetExtensionParams) SetIncludeDeployments(includeDeployments *bool)
- func (o *GetExtensionParams) SetTimeout(timeout time.Duration)
- func (o *GetExtensionParams) WithContext(ctx context.Context) *GetExtensionParams
- func (o *GetExtensionParams) WithExtensionID(extensionID string) *GetExtensionParams
- func (o *GetExtensionParams) WithHTTPClient(client *http.Client) *GetExtensionParams
- func (o *GetExtensionParams) WithIncludeDeployments(includeDeployments *bool) *GetExtensionParams
- func (o *GetExtensionParams) WithTimeout(timeout time.Duration) *GetExtensionParams
- func (o *GetExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExtensionReader
- type ListExtensionsOK
- type ListExtensionsParams
- func NewListExtensionsParams() *ListExtensionsParams
- func NewListExtensionsParamsWithContext(ctx context.Context) *ListExtensionsParams
- func NewListExtensionsParamsWithHTTPClient(client *http.Client) *ListExtensionsParams
- func NewListExtensionsParamsWithTimeout(timeout time.Duration) *ListExtensionsParams
- func (o *ListExtensionsParams) SetContext(ctx context.Context)
- func (o *ListExtensionsParams) SetHTTPClient(client *http.Client)
- func (o *ListExtensionsParams) SetIncludeDeployments(includeDeployments *bool)
- func (o *ListExtensionsParams) SetTimeout(timeout time.Duration)
- func (o *ListExtensionsParams) WithContext(ctx context.Context) *ListExtensionsParams
- func (o *ListExtensionsParams) WithHTTPClient(client *http.Client) *ListExtensionsParams
- func (o *ListExtensionsParams) WithIncludeDeployments(includeDeployments *bool) *ListExtensionsParams
- func (o *ListExtensionsParams) WithTimeout(timeout time.Duration) *ListExtensionsParams
- func (o *ListExtensionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListExtensionsReader
- type UpdateExtensionBadRequest
- type UpdateExtensionConflict
- type UpdateExtensionNotFound
- type UpdateExtensionOK
- type UpdateExtensionParams
- func NewUpdateExtensionParams() *UpdateExtensionParams
- func NewUpdateExtensionParamsWithContext(ctx context.Context) *UpdateExtensionParams
- func NewUpdateExtensionParamsWithHTTPClient(client *http.Client) *UpdateExtensionParams
- func NewUpdateExtensionParamsWithTimeout(timeout time.Duration) *UpdateExtensionParams
- func (o *UpdateExtensionParams) SetBody(body *models.UpdateExtensionRequest)
- func (o *UpdateExtensionParams) SetContext(ctx context.Context)
- func (o *UpdateExtensionParams) SetExtensionID(extensionID string)
- func (o *UpdateExtensionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateExtensionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateExtensionParams) WithBody(body *models.UpdateExtensionRequest) *UpdateExtensionParams
- func (o *UpdateExtensionParams) WithContext(ctx context.Context) *UpdateExtensionParams
- func (o *UpdateExtensionParams) WithExtensionID(extensionID string) *UpdateExtensionParams
- func (o *UpdateExtensionParams) WithHTTPClient(client *http.Client) *UpdateExtensionParams
- func (o *UpdateExtensionParams) WithTimeout(timeout time.Duration) *UpdateExtensionParams
- func (o *UpdateExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateExtensionReader
- type UpdateExtensionUnauthorized
- type UploadExtensionBadRequest
- type UploadExtensionNotFound
- type UploadExtensionOK
- type UploadExtensionParams
- func NewUploadExtensionParams() *UploadExtensionParams
- func NewUploadExtensionParamsWithContext(ctx context.Context) *UploadExtensionParams
- func NewUploadExtensionParamsWithHTTPClient(client *http.Client) *UploadExtensionParams
- func NewUploadExtensionParamsWithTimeout(timeout time.Duration) *UploadExtensionParams
- func (o *UploadExtensionParams) SetContext(ctx context.Context)
- func (o *UploadExtensionParams) SetExtensionID(extensionID string)
- func (o *UploadExtensionParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadExtensionParams) SetHTTPClient(client *http.Client)
- func (o *UploadExtensionParams) SetTimeout(timeout time.Duration)
- func (o *UploadExtensionParams) WithContext(ctx context.Context) *UploadExtensionParams
- func (o *UploadExtensionParams) WithExtensionID(extensionID string) *UploadExtensionParams
- func (o *UploadExtensionParams) WithFile(file runtime.NamedReadCloser) *UploadExtensionParams
- func (o *UploadExtensionParams) WithHTTPClient(client *http.Client) *UploadExtensionParams
- func (o *UploadExtensionParams) WithTimeout(timeout time.Duration) *UploadExtensionParams
- func (o *UploadExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadExtensionReader
- type UploadExtensionUnauthorized
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 extensions API
func (*Client) CreateExtension ¶
func (a *Client) CreateExtension(params *CreateExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExtensionCreated, error)
CreateExtension creates an extension Creates the extension.
The extensions API supports two types of usage patterns. A). Specify a `download_url`, http or https URL, where the extension is currently hosted. This will result in extension being copied to elastic repository. B). Create only the extension metadata using the `POST` endpoint and then use `PUT` to upload the extension file. Leave the `download_url` unspecified in this case.
func (*Client) DeleteExtension ¶
func (a *Client) DeleteExtension(params *DeleteExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExtensionOK, error)
DeleteExtension deletes extension
Deletes a Extension.
func (*Client) GetExtension ¶
func (a *Client) GetExtension(params *GetExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtensionOK, error)
GetExtension gets extension
Retrieves an Extension.
func (*Client) ListExtensions ¶
func (a *Client) ListExtensions(params *ListExtensionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtensionsOK, error)
ListExtensions lists extensions
Retrieves all of the available extensions.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateExtension ¶
func (a *Client) UpdateExtension(params *UpdateExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateExtensionOK, error)
UpdateExtension updates extension
Updates a Extension.
func (*Client) UploadExtension ¶
func (a *Client) UploadExtension(params *UploadExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*UploadExtensionOK, error)
UploadExtension uploads the extension
Uploads archive for an Extension.
type ClientService ¶
type ClientService interface { CreateExtension(params *CreateExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExtensionCreated, error) DeleteExtension(params *DeleteExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExtensionOK, error) GetExtension(params *GetExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtensionOK, error) ListExtensions(params *ListExtensionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtensionsOK, error) UpdateExtension(params *UpdateExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateExtensionOK, error) UploadExtension(params *UploadExtensionParams, authInfo runtime.ClientAuthInfoWriter) (*UploadExtensionOK, 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 extensions API client.
type CreateExtensionBadRequest ¶
type CreateExtensionBadRequest struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateExtensionBadRequest handles this case with default header values.
Could not download the extension from the specified URL. (code: `extensions.request_execution_failed`)
func NewCreateExtensionBadRequest ¶
func NewCreateExtensionBadRequest() *CreateExtensionBadRequest
NewCreateExtensionBadRequest creates a CreateExtensionBadRequest with default headers values
func (*CreateExtensionBadRequest) Error ¶
func (o *CreateExtensionBadRequest) Error() string
func (*CreateExtensionBadRequest) GetPayload ¶
func (o *CreateExtensionBadRequest) GetPayload() *models.BasicFailedReply
type CreateExtensionConflict ¶
type CreateExtensionConflict struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateExtensionConflict handles this case with default header values.
An extension already exists with the generated id. Please try again. (code: `extensions.id_already_exists`)
func NewCreateExtensionConflict ¶
func NewCreateExtensionConflict() *CreateExtensionConflict
NewCreateExtensionConflict creates a CreateExtensionConflict with default headers values
func (*CreateExtensionConflict) Error ¶
func (o *CreateExtensionConflict) Error() string
func (*CreateExtensionConflict) GetPayload ¶
func (o *CreateExtensionConflict) GetPayload() *models.BasicFailedReply
type CreateExtensionCreated ¶
type CreateExtensionCreated struct { /*The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /*The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /*The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Extension }
CreateExtensionCreated handles this case with default header values.
The Extension that was just created.
func NewCreateExtensionCreated ¶
func NewCreateExtensionCreated() *CreateExtensionCreated
NewCreateExtensionCreated creates a CreateExtensionCreated with default headers values
func (*CreateExtensionCreated) Error ¶
func (o *CreateExtensionCreated) Error() string
func (*CreateExtensionCreated) GetPayload ¶
func (o *CreateExtensionCreated) GetPayload() *models.Extension
type CreateExtensionNotFound ¶
type CreateExtensionNotFound struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateExtensionNotFound handles this case with default header values.
Your current session does not have a user id associated with it. (code: `extensions.no_user_id`)
func NewCreateExtensionNotFound ¶
func NewCreateExtensionNotFound() *CreateExtensionNotFound
NewCreateExtensionNotFound creates a CreateExtensionNotFound with default headers values
func (*CreateExtensionNotFound) Error ¶
func (o *CreateExtensionNotFound) Error() string
func (*CreateExtensionNotFound) GetPayload ¶
func (o *CreateExtensionNotFound) GetPayload() *models.BasicFailedReply
type CreateExtensionParams ¶
type CreateExtensionParams struct { /*Body the data that creates the extension */ Body *models.CreateExtensionRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateExtensionParams contains all the parameters to send to the API endpoint for the create extension operation typically these are written to a http.Request
func NewCreateExtensionParams ¶
func NewCreateExtensionParams() *CreateExtensionParams
NewCreateExtensionParams creates a new CreateExtensionParams object with the default values initialized.
func NewCreateExtensionParamsWithContext ¶
func NewCreateExtensionParamsWithContext(ctx context.Context) *CreateExtensionParams
NewCreateExtensionParamsWithContext creates a new CreateExtensionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateExtensionParamsWithHTTPClient ¶
func NewCreateExtensionParamsWithHTTPClient(client *http.Client) *CreateExtensionParams
NewCreateExtensionParamsWithHTTPClient creates a new CreateExtensionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateExtensionParamsWithTimeout ¶
func NewCreateExtensionParamsWithTimeout(timeout time.Duration) *CreateExtensionParams
NewCreateExtensionParamsWithTimeout creates a new CreateExtensionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateExtensionParams) SetBody ¶
func (o *CreateExtensionParams) SetBody(body *models.CreateExtensionRequest)
SetBody adds the body to the create extension params
func (*CreateExtensionParams) SetContext ¶
func (o *CreateExtensionParams) SetContext(ctx context.Context)
SetContext adds the context to the create extension params
func (*CreateExtensionParams) SetHTTPClient ¶
func (o *CreateExtensionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create extension params
func (*CreateExtensionParams) SetTimeout ¶
func (o *CreateExtensionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create extension params
func (*CreateExtensionParams) WithBody ¶
func (o *CreateExtensionParams) WithBody(body *models.CreateExtensionRequest) *CreateExtensionParams
WithBody adds the body to the create extension params
func (*CreateExtensionParams) WithContext ¶
func (o *CreateExtensionParams) WithContext(ctx context.Context) *CreateExtensionParams
WithContext adds the context to the create extension params
func (*CreateExtensionParams) WithHTTPClient ¶
func (o *CreateExtensionParams) WithHTTPClient(client *http.Client) *CreateExtensionParams
WithHTTPClient adds the HTTPClient to the create extension params
func (*CreateExtensionParams) WithTimeout ¶
func (o *CreateExtensionParams) WithTimeout(timeout time.Duration) *CreateExtensionParams
WithTimeout adds the timeout to the create extension params
func (*CreateExtensionParams) WriteToRequest ¶
func (o *CreateExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateExtensionReader ¶
type CreateExtensionReader struct {
// contains filtered or unexported fields
}
CreateExtensionReader is a Reader for the CreateExtension structure.
func (*CreateExtensionReader) ReadResponse ¶
func (o *CreateExtensionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteExtensionConflict ¶
type DeleteExtensionConflict struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteExtensionConflict handles this case with default header values.
The version you sent does not match the persisted version. (code: `extensions.version_conflict`)
func NewDeleteExtensionConflict ¶
func NewDeleteExtensionConflict() *DeleteExtensionConflict
NewDeleteExtensionConflict creates a DeleteExtensionConflict with default headers values
func (*DeleteExtensionConflict) Error ¶
func (o *DeleteExtensionConflict) Error() string
func (*DeleteExtensionConflict) GetPayload ¶
func (o *DeleteExtensionConflict) GetPayload() *models.BasicFailedReply
type DeleteExtensionNotFound ¶
type DeleteExtensionNotFound struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteExtensionNotFound handles this case with default header values.
The Extension requested does not exist. (code: `extensions.not_found`)
func NewDeleteExtensionNotFound ¶
func NewDeleteExtensionNotFound() *DeleteExtensionNotFound
NewDeleteExtensionNotFound creates a DeleteExtensionNotFound with default headers values
func (*DeleteExtensionNotFound) Error ¶
func (o *DeleteExtensionNotFound) Error() string
func (*DeleteExtensionNotFound) GetPayload ¶
func (o *DeleteExtensionNotFound) GetPayload() *models.BasicFailedReply
type DeleteExtensionOK ¶
type DeleteExtensionOK struct { /*The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /*The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /*The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload models.EmptyResponse }
DeleteExtensionOK handles this case with default header values.
Extension deleted successfully.
func NewDeleteExtensionOK ¶
func NewDeleteExtensionOK() *DeleteExtensionOK
NewDeleteExtensionOK creates a DeleteExtensionOK with default headers values
func (*DeleteExtensionOK) Error ¶
func (o *DeleteExtensionOK) Error() string
func (*DeleteExtensionOK) GetPayload ¶
func (o *DeleteExtensionOK) GetPayload() models.EmptyResponse
type DeleteExtensionParams ¶
type DeleteExtensionParams struct { /*ExtensionID Id of an Extension */ ExtensionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteExtensionParams contains all the parameters to send to the API endpoint for the delete extension operation typically these are written to a http.Request
func NewDeleteExtensionParams ¶
func NewDeleteExtensionParams() *DeleteExtensionParams
NewDeleteExtensionParams creates a new DeleteExtensionParams object with the default values initialized.
func NewDeleteExtensionParamsWithContext ¶
func NewDeleteExtensionParamsWithContext(ctx context.Context) *DeleteExtensionParams
NewDeleteExtensionParamsWithContext creates a new DeleteExtensionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteExtensionParamsWithHTTPClient ¶
func NewDeleteExtensionParamsWithHTTPClient(client *http.Client) *DeleteExtensionParams
NewDeleteExtensionParamsWithHTTPClient creates a new DeleteExtensionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteExtensionParamsWithTimeout ¶
func NewDeleteExtensionParamsWithTimeout(timeout time.Duration) *DeleteExtensionParams
NewDeleteExtensionParamsWithTimeout creates a new DeleteExtensionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteExtensionParams) SetContext ¶
func (o *DeleteExtensionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete extension params
func (*DeleteExtensionParams) SetExtensionID ¶
func (o *DeleteExtensionParams) SetExtensionID(extensionID string)
SetExtensionID adds the extensionId to the delete extension params
func (*DeleteExtensionParams) SetHTTPClient ¶
func (o *DeleteExtensionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete extension params
func (*DeleteExtensionParams) SetTimeout ¶
func (o *DeleteExtensionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete extension params
func (*DeleteExtensionParams) WithContext ¶
func (o *DeleteExtensionParams) WithContext(ctx context.Context) *DeleteExtensionParams
WithContext adds the context to the delete extension params
func (*DeleteExtensionParams) WithExtensionID ¶
func (o *DeleteExtensionParams) WithExtensionID(extensionID string) *DeleteExtensionParams
WithExtensionID adds the extensionID to the delete extension params
func (*DeleteExtensionParams) WithHTTPClient ¶
func (o *DeleteExtensionParams) WithHTTPClient(client *http.Client) *DeleteExtensionParams
WithHTTPClient adds the HTTPClient to the delete extension params
func (*DeleteExtensionParams) WithTimeout ¶
func (o *DeleteExtensionParams) WithTimeout(timeout time.Duration) *DeleteExtensionParams
WithTimeout adds the timeout to the delete extension params
func (*DeleteExtensionParams) WriteToRequest ¶
func (o *DeleteExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteExtensionReader ¶
type DeleteExtensionReader struct {
// contains filtered or unexported fields
}
DeleteExtensionReader is a Reader for the DeleteExtension structure.
func (*DeleteExtensionReader) ReadResponse ¶
func (o *DeleteExtensionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteExtensionUnauthorized ¶
type DeleteExtensionUnauthorized struct { string }XCloudErrorCodes
DeleteExtensionUnauthorized handles this case with default header values.
* The Extension does not belong to you. (code: `extensions.unauthorised`) * Your current session does not have a user id associated with it. (code: `extensions.no_user_id`)
func NewDeleteExtensionUnauthorized ¶
func NewDeleteExtensionUnauthorized() *DeleteExtensionUnauthorized
NewDeleteExtensionUnauthorized creates a DeleteExtensionUnauthorized with default headers values
func (*DeleteExtensionUnauthorized) Error ¶
func (o *DeleteExtensionUnauthorized) Error() string
func (*DeleteExtensionUnauthorized) GetPayload ¶
func (o *DeleteExtensionUnauthorized) GetPayload() *models.BasicFailedReply
type GetExtensionNotFound ¶
type GetExtensionNotFound struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetExtensionNotFound handles this case with default header values.
The Extension requested does not exist. (code: `extensions.not_found`)
func NewGetExtensionNotFound ¶
func NewGetExtensionNotFound() *GetExtensionNotFound
NewGetExtensionNotFound creates a GetExtensionNotFound with default headers values
func (*GetExtensionNotFound) Error ¶
func (o *GetExtensionNotFound) Error() string
func (*GetExtensionNotFound) GetPayload ¶
func (o *GetExtensionNotFound) GetPayload() *models.BasicFailedReply
type GetExtensionOK ¶
type GetExtensionOK struct { /*The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /*The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /*The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Extension }
GetExtensionOK handles this case with default header values.
The Extension
func NewGetExtensionOK ¶
func NewGetExtensionOK() *GetExtensionOK
NewGetExtensionOK creates a GetExtensionOK with default headers values
func (*GetExtensionOK) Error ¶
func (o *GetExtensionOK) Error() string
func (*GetExtensionOK) GetPayload ¶
func (o *GetExtensionOK) GetPayload() *models.Extension
type GetExtensionParams ¶
type GetExtensionParams struct { /*ExtensionID Id of an Extension */ ExtensionID string /*IncludeDeployments Include deployments referencing this extension. */ IncludeDeployments *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExtensionParams contains all the parameters to send to the API endpoint for the get extension operation typically these are written to a http.Request
func NewGetExtensionParams ¶
func NewGetExtensionParams() *GetExtensionParams
NewGetExtensionParams creates a new GetExtensionParams object with the default values initialized.
func NewGetExtensionParamsWithContext ¶
func NewGetExtensionParamsWithContext(ctx context.Context) *GetExtensionParams
NewGetExtensionParamsWithContext creates a new GetExtensionParams object with the default values initialized, and the ability to set a context for a request
func NewGetExtensionParamsWithHTTPClient ¶
func NewGetExtensionParamsWithHTTPClient(client *http.Client) *GetExtensionParams
NewGetExtensionParamsWithHTTPClient creates a new GetExtensionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetExtensionParamsWithTimeout ¶
func NewGetExtensionParamsWithTimeout(timeout time.Duration) *GetExtensionParams
NewGetExtensionParamsWithTimeout creates a new GetExtensionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetExtensionParams) SetContext ¶
func (o *GetExtensionParams) SetContext(ctx context.Context)
SetContext adds the context to the get extension params
func (*GetExtensionParams) SetExtensionID ¶
func (o *GetExtensionParams) SetExtensionID(extensionID string)
SetExtensionID adds the extensionId to the get extension params
func (*GetExtensionParams) SetHTTPClient ¶
func (o *GetExtensionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get extension params
func (*GetExtensionParams) SetIncludeDeployments ¶
func (o *GetExtensionParams) SetIncludeDeployments(includeDeployments *bool)
SetIncludeDeployments adds the includeDeployments to the get extension params
func (*GetExtensionParams) SetTimeout ¶
func (o *GetExtensionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get extension params
func (*GetExtensionParams) WithContext ¶
func (o *GetExtensionParams) WithContext(ctx context.Context) *GetExtensionParams
WithContext adds the context to the get extension params
func (*GetExtensionParams) WithExtensionID ¶
func (o *GetExtensionParams) WithExtensionID(extensionID string) *GetExtensionParams
WithExtensionID adds the extensionID to the get extension params
func (*GetExtensionParams) WithHTTPClient ¶
func (o *GetExtensionParams) WithHTTPClient(client *http.Client) *GetExtensionParams
WithHTTPClient adds the HTTPClient to the get extension params
func (*GetExtensionParams) WithIncludeDeployments ¶
func (o *GetExtensionParams) WithIncludeDeployments(includeDeployments *bool) *GetExtensionParams
WithIncludeDeployments adds the includeDeployments to the get extension params
func (*GetExtensionParams) WithTimeout ¶
func (o *GetExtensionParams) WithTimeout(timeout time.Duration) *GetExtensionParams
WithTimeout adds the timeout to the get extension params
func (*GetExtensionParams) WriteToRequest ¶
func (o *GetExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExtensionReader ¶
type GetExtensionReader struct {
// contains filtered or unexported fields
}
GetExtensionReader is a Reader for the GetExtension structure.
func (*GetExtensionReader) ReadResponse ¶
func (o *GetExtensionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListExtensionsOK ¶
type ListExtensionsOK struct {
Payload *models.Extensions
}
ListExtensionsOK handles this case with default header values.
The Extensions that are available
func NewListExtensionsOK ¶
func NewListExtensionsOK() *ListExtensionsOK
NewListExtensionsOK creates a ListExtensionsOK with default headers values
func (*ListExtensionsOK) Error ¶
func (o *ListExtensionsOK) Error() string
func (*ListExtensionsOK) GetPayload ¶
func (o *ListExtensionsOK) GetPayload() *models.Extensions
type ListExtensionsParams ¶
type ListExtensionsParams struct { /*IncludeDeployments Include deployments referencing this extension. */ IncludeDeployments *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListExtensionsParams contains all the parameters to send to the API endpoint for the list extensions operation typically these are written to a http.Request
func NewListExtensionsParams ¶
func NewListExtensionsParams() *ListExtensionsParams
NewListExtensionsParams creates a new ListExtensionsParams object with the default values initialized.
func NewListExtensionsParamsWithContext ¶
func NewListExtensionsParamsWithContext(ctx context.Context) *ListExtensionsParams
NewListExtensionsParamsWithContext creates a new ListExtensionsParams object with the default values initialized, and the ability to set a context for a request
func NewListExtensionsParamsWithHTTPClient ¶
func NewListExtensionsParamsWithHTTPClient(client *http.Client) *ListExtensionsParams
NewListExtensionsParamsWithHTTPClient creates a new ListExtensionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListExtensionsParamsWithTimeout ¶
func NewListExtensionsParamsWithTimeout(timeout time.Duration) *ListExtensionsParams
NewListExtensionsParamsWithTimeout creates a new ListExtensionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListExtensionsParams) SetContext ¶
func (o *ListExtensionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list extensions params
func (*ListExtensionsParams) SetHTTPClient ¶
func (o *ListExtensionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list extensions params
func (*ListExtensionsParams) SetIncludeDeployments ¶
func (o *ListExtensionsParams) SetIncludeDeployments(includeDeployments *bool)
SetIncludeDeployments adds the includeDeployments to the list extensions params
func (*ListExtensionsParams) SetTimeout ¶
func (o *ListExtensionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list extensions params
func (*ListExtensionsParams) WithContext ¶
func (o *ListExtensionsParams) WithContext(ctx context.Context) *ListExtensionsParams
WithContext adds the context to the list extensions params
func (*ListExtensionsParams) WithHTTPClient ¶
func (o *ListExtensionsParams) WithHTTPClient(client *http.Client) *ListExtensionsParams
WithHTTPClient adds the HTTPClient to the list extensions params
func (*ListExtensionsParams) WithIncludeDeployments ¶
func (o *ListExtensionsParams) WithIncludeDeployments(includeDeployments *bool) *ListExtensionsParams
WithIncludeDeployments adds the includeDeployments to the list extensions params
func (*ListExtensionsParams) WithTimeout ¶
func (o *ListExtensionsParams) WithTimeout(timeout time.Duration) *ListExtensionsParams
WithTimeout adds the timeout to the list extensions params
func (*ListExtensionsParams) WriteToRequest ¶
func (o *ListExtensionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListExtensionsReader ¶
type ListExtensionsReader struct {
// contains filtered or unexported fields
}
ListExtensionsReader is a Reader for the ListExtensions structure.
func (*ListExtensionsReader) ReadResponse ¶
func (o *ListExtensionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateExtensionBadRequest ¶
type UpdateExtensionBadRequest struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateExtensionBadRequest handles this case with default header values.
Could not download the extension from the specified URL. (code: `extensions.request_execution_failed`)
func NewUpdateExtensionBadRequest ¶
func NewUpdateExtensionBadRequest() *UpdateExtensionBadRequest
NewUpdateExtensionBadRequest creates a UpdateExtensionBadRequest with default headers values
func (*UpdateExtensionBadRequest) Error ¶
func (o *UpdateExtensionBadRequest) Error() string
func (*UpdateExtensionBadRequest) GetPayload ¶
func (o *UpdateExtensionBadRequest) GetPayload() *models.BasicFailedReply
type UpdateExtensionConflict ¶
type UpdateExtensionConflict struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateExtensionConflict handles this case with default header values.
The version you sent does not match the persisted version. (code: `extensions.version_conflict`)
func NewUpdateExtensionConflict ¶
func NewUpdateExtensionConflict() *UpdateExtensionConflict
NewUpdateExtensionConflict creates a UpdateExtensionConflict with default headers values
func (*UpdateExtensionConflict) Error ¶
func (o *UpdateExtensionConflict) Error() string
func (*UpdateExtensionConflict) GetPayload ¶
func (o *UpdateExtensionConflict) GetPayload() *models.BasicFailedReply
type UpdateExtensionNotFound ¶
type UpdateExtensionNotFound struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateExtensionNotFound handles this case with default header values.
The Extension you want does not exist. (code: `extensions.not_found`)
func NewUpdateExtensionNotFound ¶
func NewUpdateExtensionNotFound() *UpdateExtensionNotFound
NewUpdateExtensionNotFound creates a UpdateExtensionNotFound with default headers values
func (*UpdateExtensionNotFound) Error ¶
func (o *UpdateExtensionNotFound) Error() string
func (*UpdateExtensionNotFound) GetPayload ¶
func (o *UpdateExtensionNotFound) GetPayload() *models.BasicFailedReply
type UpdateExtensionOK ¶
type UpdateExtensionOK struct { /*The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /*The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /*The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Extension }
UpdateExtensionOK handles this case with default header values.
Extension updated successfully.
func NewUpdateExtensionOK ¶
func NewUpdateExtensionOK() *UpdateExtensionOK
NewUpdateExtensionOK creates a UpdateExtensionOK with default headers values
func (*UpdateExtensionOK) Error ¶
func (o *UpdateExtensionOK) Error() string
func (*UpdateExtensionOK) GetPayload ¶
func (o *UpdateExtensionOK) GetPayload() *models.Extension
type UpdateExtensionParams ¶
type UpdateExtensionParams struct { /*Body The Extension update data. */ Body *models.UpdateExtensionRequest /*ExtensionID Id of an Extension */ ExtensionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateExtensionParams contains all the parameters to send to the API endpoint for the update extension operation typically these are written to a http.Request
func NewUpdateExtensionParams ¶
func NewUpdateExtensionParams() *UpdateExtensionParams
NewUpdateExtensionParams creates a new UpdateExtensionParams object with the default values initialized.
func NewUpdateExtensionParamsWithContext ¶
func NewUpdateExtensionParamsWithContext(ctx context.Context) *UpdateExtensionParams
NewUpdateExtensionParamsWithContext creates a new UpdateExtensionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateExtensionParamsWithHTTPClient ¶
func NewUpdateExtensionParamsWithHTTPClient(client *http.Client) *UpdateExtensionParams
NewUpdateExtensionParamsWithHTTPClient creates a new UpdateExtensionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateExtensionParamsWithTimeout ¶
func NewUpdateExtensionParamsWithTimeout(timeout time.Duration) *UpdateExtensionParams
NewUpdateExtensionParamsWithTimeout creates a new UpdateExtensionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateExtensionParams) SetBody ¶
func (o *UpdateExtensionParams) SetBody(body *models.UpdateExtensionRequest)
SetBody adds the body to the update extension params
func (*UpdateExtensionParams) SetContext ¶
func (o *UpdateExtensionParams) SetContext(ctx context.Context)
SetContext adds the context to the update extension params
func (*UpdateExtensionParams) SetExtensionID ¶
func (o *UpdateExtensionParams) SetExtensionID(extensionID string)
SetExtensionID adds the extensionId to the update extension params
func (*UpdateExtensionParams) SetHTTPClient ¶
func (o *UpdateExtensionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update extension params
func (*UpdateExtensionParams) SetTimeout ¶
func (o *UpdateExtensionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update extension params
func (*UpdateExtensionParams) WithBody ¶
func (o *UpdateExtensionParams) WithBody(body *models.UpdateExtensionRequest) *UpdateExtensionParams
WithBody adds the body to the update extension params
func (*UpdateExtensionParams) WithContext ¶
func (o *UpdateExtensionParams) WithContext(ctx context.Context) *UpdateExtensionParams
WithContext adds the context to the update extension params
func (*UpdateExtensionParams) WithExtensionID ¶
func (o *UpdateExtensionParams) WithExtensionID(extensionID string) *UpdateExtensionParams
WithExtensionID adds the extensionID to the update extension params
func (*UpdateExtensionParams) WithHTTPClient ¶
func (o *UpdateExtensionParams) WithHTTPClient(client *http.Client) *UpdateExtensionParams
WithHTTPClient adds the HTTPClient to the update extension params
func (*UpdateExtensionParams) WithTimeout ¶
func (o *UpdateExtensionParams) WithTimeout(timeout time.Duration) *UpdateExtensionParams
WithTimeout adds the timeout to the update extension params
func (*UpdateExtensionParams) WriteToRequest ¶
func (o *UpdateExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateExtensionReader ¶
type UpdateExtensionReader struct {
// contains filtered or unexported fields
}
UpdateExtensionReader is a Reader for the UpdateExtension structure.
func (*UpdateExtensionReader) ReadResponse ¶
func (o *UpdateExtensionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateExtensionUnauthorized ¶
type UpdateExtensionUnauthorized struct { string }XCloudErrorCodes
UpdateExtensionUnauthorized handles this case with default header values.
* The Extension does not belong to you. (code: `extensions.unauthorised`) * Your current session does not have a user id associated with it. (code: `extensions.no_user_id`)
func NewUpdateExtensionUnauthorized ¶
func NewUpdateExtensionUnauthorized() *UpdateExtensionUnauthorized
NewUpdateExtensionUnauthorized creates a UpdateExtensionUnauthorized with default headers values
func (*UpdateExtensionUnauthorized) Error ¶
func (o *UpdateExtensionUnauthorized) Error() string
func (*UpdateExtensionUnauthorized) GetPayload ¶
func (o *UpdateExtensionUnauthorized) GetPayload() *models.BasicFailedReply
type UploadExtensionBadRequest ¶
type UploadExtensionBadRequest struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UploadExtensionBadRequest handles this case with default header values.
Could not accept the extensions file. (code: `extensions.request_execution_failed`)
func NewUploadExtensionBadRequest ¶
func NewUploadExtensionBadRequest() *UploadExtensionBadRequest
NewUploadExtensionBadRequest creates a UploadExtensionBadRequest with default headers values
func (*UploadExtensionBadRequest) Error ¶
func (o *UploadExtensionBadRequest) Error() string
func (*UploadExtensionBadRequest) GetPayload ¶
func (o *UploadExtensionBadRequest) GetPayload() *models.BasicFailedReply
type UploadExtensionNotFound ¶
type UploadExtensionNotFound struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UploadExtensionNotFound handles this case with default header values.
The Extension you want does not exist. (code: `extensions.not_found`)
func NewUploadExtensionNotFound ¶
func NewUploadExtensionNotFound() *UploadExtensionNotFound
NewUploadExtensionNotFound creates a UploadExtensionNotFound with default headers values
func (*UploadExtensionNotFound) Error ¶
func (o *UploadExtensionNotFound) Error() string
func (*UploadExtensionNotFound) GetPayload ¶
func (o *UploadExtensionNotFound) GetPayload() *models.BasicFailedReply
type UploadExtensionOK ¶
type UploadExtensionOK struct { /*The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /*The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /*The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Extension }
UploadExtensionOK handles this case with default header values.
Archive uploaded successfully.
func NewUploadExtensionOK ¶
func NewUploadExtensionOK() *UploadExtensionOK
NewUploadExtensionOK creates a UploadExtensionOK with default headers values
func (*UploadExtensionOK) Error ¶
func (o *UploadExtensionOK) Error() string
func (*UploadExtensionOK) GetPayload ¶
func (o *UploadExtensionOK) GetPayload() *models.Extension
type UploadExtensionParams ¶
type UploadExtensionParams struct { /*ExtensionID Id of an Extension */ ExtensionID string /*File Zip file that contains the extension */ File runtime.NamedReadCloser Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadExtensionParams contains all the parameters to send to the API endpoint for the upload extension operation typically these are written to a http.Request
func NewUploadExtensionParams ¶
func NewUploadExtensionParams() *UploadExtensionParams
NewUploadExtensionParams creates a new UploadExtensionParams object with the default values initialized.
func NewUploadExtensionParamsWithContext ¶
func NewUploadExtensionParamsWithContext(ctx context.Context) *UploadExtensionParams
NewUploadExtensionParamsWithContext creates a new UploadExtensionParams object with the default values initialized, and the ability to set a context for a request
func NewUploadExtensionParamsWithHTTPClient ¶
func NewUploadExtensionParamsWithHTTPClient(client *http.Client) *UploadExtensionParams
NewUploadExtensionParamsWithHTTPClient creates a new UploadExtensionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadExtensionParamsWithTimeout ¶
func NewUploadExtensionParamsWithTimeout(timeout time.Duration) *UploadExtensionParams
NewUploadExtensionParamsWithTimeout creates a new UploadExtensionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UploadExtensionParams) SetContext ¶
func (o *UploadExtensionParams) SetContext(ctx context.Context)
SetContext adds the context to the upload extension params
func (*UploadExtensionParams) SetExtensionID ¶
func (o *UploadExtensionParams) SetExtensionID(extensionID string)
SetExtensionID adds the extensionId to the upload extension params
func (*UploadExtensionParams) SetFile ¶
func (o *UploadExtensionParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload extension params
func (*UploadExtensionParams) SetHTTPClient ¶
func (o *UploadExtensionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload extension params
func (*UploadExtensionParams) SetTimeout ¶
func (o *UploadExtensionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload extension params
func (*UploadExtensionParams) WithContext ¶
func (o *UploadExtensionParams) WithContext(ctx context.Context) *UploadExtensionParams
WithContext adds the context to the upload extension params
func (*UploadExtensionParams) WithExtensionID ¶
func (o *UploadExtensionParams) WithExtensionID(extensionID string) *UploadExtensionParams
WithExtensionID adds the extensionID to the upload extension params
func (*UploadExtensionParams) WithFile ¶
func (o *UploadExtensionParams) WithFile(file runtime.NamedReadCloser) *UploadExtensionParams
WithFile adds the file to the upload extension params
func (*UploadExtensionParams) WithHTTPClient ¶
func (o *UploadExtensionParams) WithHTTPClient(client *http.Client) *UploadExtensionParams
WithHTTPClient adds the HTTPClient to the upload extension params
func (*UploadExtensionParams) WithTimeout ¶
func (o *UploadExtensionParams) WithTimeout(timeout time.Duration) *UploadExtensionParams
WithTimeout adds the timeout to the upload extension params
func (*UploadExtensionParams) WriteToRequest ¶
func (o *UploadExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadExtensionReader ¶
type UploadExtensionReader struct {
// contains filtered or unexported fields
}
UploadExtensionReader is a Reader for the UploadExtension structure.
func (*UploadExtensionReader) ReadResponse ¶
func (o *UploadExtensionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadExtensionUnauthorized ¶
type UploadExtensionUnauthorized struct { string }XCloudErrorCodes
UploadExtensionUnauthorized handles this case with default header values.
* The Extension does not belong to you. (code: `extensions.unauthorised`) * Your current session does not have a user id associated with it. (code: `extensions.no_user_id`)
func NewUploadExtensionUnauthorized ¶
func NewUploadExtensionUnauthorized() *UploadExtensionUnauthorized
NewUploadExtensionUnauthorized creates a UploadExtensionUnauthorized with default headers values
func (*UploadExtensionUnauthorized) Error ¶
func (o *UploadExtensionUnauthorized) Error() string
func (*UploadExtensionUnauthorized) GetPayload ¶
func (o *UploadExtensionUnauthorized) GetPayload() *models.BasicFailedReply
Source Files ¶
- create_extension_parameters.go
- create_extension_responses.go
- delete_extension_parameters.go
- delete_extension_responses.go
- extensions_client.go
- get_extension_parameters.go
- get_extension_responses.go
- list_extensions_parameters.go
- list_extensions_responses.go
- update_extension_parameters.go
- update_extension_responses.go
- upload_extension_parameters.go
- upload_extension_responses.go