Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateExternalBackend(params *CreateExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExternalBackendOK, error)
- func (a *Client) DeleteExternalBackend(params *DeleteExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExternalBackendNoContent, error)
- func (a *Client) GetExternalBackend(params *GetExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*GetExternalBackendOK, error)
- func (a *Client) GetExternalBackends(params *GetExternalBackendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetExternalBackendsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateExternalBackend(params *UpdateExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateExternalBackendOK, error)
- type CreateExternalBackendOK
- type CreateExternalBackendOKBody
- type CreateExternalBackendParams
- func NewCreateExternalBackendParams() *CreateExternalBackendParams
- func NewCreateExternalBackendParamsWithContext(ctx context.Context) *CreateExternalBackendParams
- func NewCreateExternalBackendParamsWithHTTPClient(client *http.Client) *CreateExternalBackendParams
- func NewCreateExternalBackendParamsWithTimeout(timeout time.Duration) *CreateExternalBackendParams
- func (o *CreateExternalBackendParams) SetBody(body *models.NewExternalBackend)
- func (o *CreateExternalBackendParams) SetContext(ctx context.Context)
- func (o *CreateExternalBackendParams) SetEnvironment(environment *string)
- func (o *CreateExternalBackendParams) SetHTTPClient(client *http.Client)
- func (o *CreateExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateExternalBackendParams) SetProject(project *string)
- func (o *CreateExternalBackendParams) SetTimeout(timeout time.Duration)
- func (o *CreateExternalBackendParams) WithBody(body *models.NewExternalBackend) *CreateExternalBackendParams
- func (o *CreateExternalBackendParams) WithContext(ctx context.Context) *CreateExternalBackendParams
- func (o *CreateExternalBackendParams) WithEnvironment(environment *string) *CreateExternalBackendParams
- func (o *CreateExternalBackendParams) WithHTTPClient(client *http.Client) *CreateExternalBackendParams
- func (o *CreateExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *CreateExternalBackendParams
- func (o *CreateExternalBackendParams) WithProject(project *string) *CreateExternalBackendParams
- func (o *CreateExternalBackendParams) WithTimeout(timeout time.Duration) *CreateExternalBackendParams
- func (o *CreateExternalBackendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateExternalBackendReader
- type DeleteExternalBackendDefault
- type DeleteExternalBackendForbidden
- type DeleteExternalBackendNoContent
- type DeleteExternalBackendNotFound
- type DeleteExternalBackendParams
- func NewDeleteExternalBackendParams() *DeleteExternalBackendParams
- func NewDeleteExternalBackendParamsWithContext(ctx context.Context) *DeleteExternalBackendParams
- func NewDeleteExternalBackendParamsWithHTTPClient(client *http.Client) *DeleteExternalBackendParams
- func NewDeleteExternalBackendParamsWithTimeout(timeout time.Duration) *DeleteExternalBackendParams
- func (o *DeleteExternalBackendParams) SetContext(ctx context.Context)
- func (o *DeleteExternalBackendParams) SetExternalBackendID(externalBackendID uint32)
- func (o *DeleteExternalBackendParams) SetHTTPClient(client *http.Client)
- func (o *DeleteExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteExternalBackendParams) SetTimeout(timeout time.Duration)
- func (o *DeleteExternalBackendParams) WithContext(ctx context.Context) *DeleteExternalBackendParams
- func (o *DeleteExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *DeleteExternalBackendParams
- func (o *DeleteExternalBackendParams) WithHTTPClient(client *http.Client) *DeleteExternalBackendParams
- func (o *DeleteExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *DeleteExternalBackendParams
- func (o *DeleteExternalBackendParams) WithTimeout(timeout time.Duration) *DeleteExternalBackendParams
- func (o *DeleteExternalBackendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteExternalBackendReader
- type DeleteExternalBackendUnprocessableEntity
- type GetExternalBackendDefault
- type GetExternalBackendForbidden
- type GetExternalBackendOK
- type GetExternalBackendOKBody
- type GetExternalBackendParams
- func NewGetExternalBackendParams() *GetExternalBackendParams
- func NewGetExternalBackendParamsWithContext(ctx context.Context) *GetExternalBackendParams
- func NewGetExternalBackendParamsWithHTTPClient(client *http.Client) *GetExternalBackendParams
- func NewGetExternalBackendParamsWithTimeout(timeout time.Duration) *GetExternalBackendParams
- func (o *GetExternalBackendParams) SetContext(ctx context.Context)
- func (o *GetExternalBackendParams) SetExternalBackendID(externalBackendID uint32)
- func (o *GetExternalBackendParams) SetHTTPClient(client *http.Client)
- func (o *GetExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetExternalBackendParams) SetTimeout(timeout time.Duration)
- func (o *GetExternalBackendParams) WithContext(ctx context.Context) *GetExternalBackendParams
- func (o *GetExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *GetExternalBackendParams
- func (o *GetExternalBackendParams) WithHTTPClient(client *http.Client) *GetExternalBackendParams
- func (o *GetExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *GetExternalBackendParams
- func (o *GetExternalBackendParams) WithTimeout(timeout time.Duration) *GetExternalBackendParams
- func (o *GetExternalBackendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExternalBackendReader
- type GetExternalBackendUnprocessableEntity
- type GetExternalBackendsDefault
- type GetExternalBackendsForbidden
- type GetExternalBackendsOK
- type GetExternalBackendsOKBody
- type GetExternalBackendsParams
- func NewGetExternalBackendsParams() *GetExternalBackendsParams
- func NewGetExternalBackendsParamsWithContext(ctx context.Context) *GetExternalBackendsParams
- func NewGetExternalBackendsParamsWithHTTPClient(client *http.Client) *GetExternalBackendsParams
- func NewGetExternalBackendsParamsWithTimeout(timeout time.Duration) *GetExternalBackendsParams
- func (o *GetExternalBackendsParams) SetContext(ctx context.Context)
- func (o *GetExternalBackendsParams) SetEnvironment(environment *string)
- func (o *GetExternalBackendsParams) SetHTTPClient(client *http.Client)
- func (o *GetExternalBackendsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetExternalBackendsParams) SetProject(project *string)
- func (o *GetExternalBackendsParams) SetTimeout(timeout time.Duration)
- func (o *GetExternalBackendsParams) WithContext(ctx context.Context) *GetExternalBackendsParams
- func (o *GetExternalBackendsParams) WithEnvironment(environment *string) *GetExternalBackendsParams
- func (o *GetExternalBackendsParams) WithHTTPClient(client *http.Client) *GetExternalBackendsParams
- func (o *GetExternalBackendsParams) WithOrganizationCanonical(organizationCanonical string) *GetExternalBackendsParams
- func (o *GetExternalBackendsParams) WithProject(project *string) *GetExternalBackendsParams
- func (o *GetExternalBackendsParams) WithTimeout(timeout time.Duration) *GetExternalBackendsParams
- func (o *GetExternalBackendsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExternalBackendsReader
- type GetExternalBackendsUnprocessableEntity
- type UpdateExternalBackendDefault
- type UpdateExternalBackendForbidden
- type UpdateExternalBackendLengthRequired
- type UpdateExternalBackendOK
- type UpdateExternalBackendOKBody
- type UpdateExternalBackendParams
- func NewUpdateExternalBackendParams() *UpdateExternalBackendParams
- func NewUpdateExternalBackendParamsWithContext(ctx context.Context) *UpdateExternalBackendParams
- func NewUpdateExternalBackendParamsWithHTTPClient(client *http.Client) *UpdateExternalBackendParams
- func NewUpdateExternalBackendParamsWithTimeout(timeout time.Duration) *UpdateExternalBackendParams
- func (o *UpdateExternalBackendParams) SetBody(body *models.NewExternalBackend)
- func (o *UpdateExternalBackendParams) SetContext(ctx context.Context)
- func (o *UpdateExternalBackendParams) SetExternalBackendID(externalBackendID uint32)
- func (o *UpdateExternalBackendParams) SetHTTPClient(client *http.Client)
- func (o *UpdateExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateExternalBackendParams) SetTimeout(timeout time.Duration)
- func (o *UpdateExternalBackendParams) WithBody(body *models.NewExternalBackend) *UpdateExternalBackendParams
- func (o *UpdateExternalBackendParams) WithContext(ctx context.Context) *UpdateExternalBackendParams
- func (o *UpdateExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *UpdateExternalBackendParams
- func (o *UpdateExternalBackendParams) WithHTTPClient(client *http.Client) *UpdateExternalBackendParams
- func (o *UpdateExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *UpdateExternalBackendParams
- func (o *UpdateExternalBackendParams) WithTimeout(timeout time.Duration) *UpdateExternalBackendParams
- func (o *UpdateExternalBackendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateExternalBackendReader
- type UpdateExternalBackendUnprocessableEntity
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 organization external backends API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new organization external backends API client.
func (*Client) CreateExternalBackend ¶
func (a *Client) CreateExternalBackend(params *CreateExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExternalBackendOK, error)
CreateExternalBackend Save information about the external backend
func (*Client) DeleteExternalBackend ¶
func (a *Client) DeleteExternalBackend(params *DeleteExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExternalBackendNoContent, error)
DeleteExternalBackend delete an External Backend
func (*Client) GetExternalBackend ¶
func (a *Client) GetExternalBackend(params *GetExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*GetExternalBackendOK, error)
GetExternalBackend Get the external backend
func (*Client) GetExternalBackends ¶
func (a *Client) GetExternalBackends(params *GetExternalBackendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetExternalBackendsOK, error)
GetExternalBackends Get the list of organization external backends
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateExternalBackend ¶
func (a *Client) UpdateExternalBackend(params *UpdateExternalBackendParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateExternalBackendOK, error)
UpdateExternalBackend Update an External Backend
type CreateExternalBackendOK ¶
type CreateExternalBackendOK struct {
Payload *CreateExternalBackendOKBody
}
CreateExternalBackendOK handles this case with default header values.
external backend has been registered
func NewCreateExternalBackendOK ¶
func NewCreateExternalBackendOK() *CreateExternalBackendOK
NewCreateExternalBackendOK creates a CreateExternalBackendOK with default headers values
func (*CreateExternalBackendOK) Error ¶
func (o *CreateExternalBackendOK) Error() string
func (*CreateExternalBackendOK) GetPayload ¶
func (o *CreateExternalBackendOK) GetPayload() *CreateExternalBackendOKBody
type CreateExternalBackendOKBody ¶
type CreateExternalBackendOKBody struct { // data // Required: true Data *models.ExternalBackend `json:"data"` }
CreateExternalBackendOKBody create external backend o k body swagger:model CreateExternalBackendOKBody
func (*CreateExternalBackendOKBody) MarshalBinary ¶
func (o *CreateExternalBackendOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateExternalBackendOKBody) UnmarshalBinary ¶
func (o *CreateExternalBackendOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateExternalBackendParams ¶
type CreateExternalBackendParams struct { /*Body The information of the external backend */ Body *models.NewExternalBackend /*Environment The environment canonical to use a query filter */ Environment *string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*Project A canonical of a project used for filtering. */ Project *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateExternalBackendParams contains all the parameters to send to the API endpoint for the create external backend operation typically these are written to a http.Request
func NewCreateExternalBackendParams ¶
func NewCreateExternalBackendParams() *CreateExternalBackendParams
NewCreateExternalBackendParams creates a new CreateExternalBackendParams object with the default values initialized.
func NewCreateExternalBackendParamsWithContext ¶
func NewCreateExternalBackendParamsWithContext(ctx context.Context) *CreateExternalBackendParams
NewCreateExternalBackendParamsWithContext creates a new CreateExternalBackendParams object with the default values initialized, and the ability to set a context for a request
func NewCreateExternalBackendParamsWithHTTPClient ¶
func NewCreateExternalBackendParamsWithHTTPClient(client *http.Client) *CreateExternalBackendParams
NewCreateExternalBackendParamsWithHTTPClient creates a new CreateExternalBackendParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateExternalBackendParamsWithTimeout ¶
func NewCreateExternalBackendParamsWithTimeout(timeout time.Duration) *CreateExternalBackendParams
NewCreateExternalBackendParamsWithTimeout creates a new CreateExternalBackendParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateExternalBackendParams) SetBody ¶
func (o *CreateExternalBackendParams) SetBody(body *models.NewExternalBackend)
SetBody adds the body to the create external backend params
func (*CreateExternalBackendParams) SetContext ¶
func (o *CreateExternalBackendParams) SetContext(ctx context.Context)
SetContext adds the context to the create external backend params
func (*CreateExternalBackendParams) SetEnvironment ¶
func (o *CreateExternalBackendParams) SetEnvironment(environment *string)
SetEnvironment adds the environment to the create external backend params
func (*CreateExternalBackendParams) SetHTTPClient ¶
func (o *CreateExternalBackendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create external backend params
func (*CreateExternalBackendParams) SetOrganizationCanonical ¶
func (o *CreateExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the create external backend params
func (*CreateExternalBackendParams) SetProject ¶
func (o *CreateExternalBackendParams) SetProject(project *string)
SetProject adds the project to the create external backend params
func (*CreateExternalBackendParams) SetTimeout ¶
func (o *CreateExternalBackendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create external backend params
func (*CreateExternalBackendParams) WithBody ¶
func (o *CreateExternalBackendParams) WithBody(body *models.NewExternalBackend) *CreateExternalBackendParams
WithBody adds the body to the create external backend params
func (*CreateExternalBackendParams) WithContext ¶
func (o *CreateExternalBackendParams) WithContext(ctx context.Context) *CreateExternalBackendParams
WithContext adds the context to the create external backend params
func (*CreateExternalBackendParams) WithEnvironment ¶
func (o *CreateExternalBackendParams) WithEnvironment(environment *string) *CreateExternalBackendParams
WithEnvironment adds the environment to the create external backend params
func (*CreateExternalBackendParams) WithHTTPClient ¶
func (o *CreateExternalBackendParams) WithHTTPClient(client *http.Client) *CreateExternalBackendParams
WithHTTPClient adds the HTTPClient to the create external backend params
func (*CreateExternalBackendParams) WithOrganizationCanonical ¶
func (o *CreateExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *CreateExternalBackendParams
WithOrganizationCanonical adds the organizationCanonical to the create external backend params
func (*CreateExternalBackendParams) WithProject ¶
func (o *CreateExternalBackendParams) WithProject(project *string) *CreateExternalBackendParams
WithProject adds the project to the create external backend params
func (*CreateExternalBackendParams) WithTimeout ¶
func (o *CreateExternalBackendParams) WithTimeout(timeout time.Duration) *CreateExternalBackendParams
WithTimeout adds the timeout to the create external backend params
func (*CreateExternalBackendParams) WriteToRequest ¶
func (o *CreateExternalBackendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateExternalBackendReader ¶
type CreateExternalBackendReader struct {
// contains filtered or unexported fields
}
CreateExternalBackendReader is a Reader for the CreateExternalBackend structure.
func (*CreateExternalBackendReader) ReadResponse ¶
func (o *CreateExternalBackendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteExternalBackendDefault ¶
type DeleteExternalBackendDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
DeleteExternalBackendDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteExternalBackendDefault ¶
func NewDeleteExternalBackendDefault(code int) *DeleteExternalBackendDefault
NewDeleteExternalBackendDefault creates a DeleteExternalBackendDefault with default headers values
func (*DeleteExternalBackendDefault) Code ¶
func (o *DeleteExternalBackendDefault) Code() int
Code gets the status code for the delete external backend default response
func (*DeleteExternalBackendDefault) Error ¶
func (o *DeleteExternalBackendDefault) Error() string
func (*DeleteExternalBackendDefault) GetPayload ¶
func (o *DeleteExternalBackendDefault) GetPayload() *models.ErrorPayload
type DeleteExternalBackendForbidden ¶
type DeleteExternalBackendForbidden struct {
Payload *models.ErrorPayload
}
DeleteExternalBackendForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewDeleteExternalBackendForbidden ¶
func NewDeleteExternalBackendForbidden() *DeleteExternalBackendForbidden
NewDeleteExternalBackendForbidden creates a DeleteExternalBackendForbidden with default headers values
func (*DeleteExternalBackendForbidden) Error ¶
func (o *DeleteExternalBackendForbidden) Error() string
func (*DeleteExternalBackendForbidden) GetPayload ¶
func (o *DeleteExternalBackendForbidden) GetPayload() *models.ErrorPayload
type DeleteExternalBackendNoContent ¶
type DeleteExternalBackendNoContent struct { }
DeleteExternalBackendNoContent handles this case with default header values.
Organization Service Catalog Sources has been deleted
func NewDeleteExternalBackendNoContent ¶
func NewDeleteExternalBackendNoContent() *DeleteExternalBackendNoContent
NewDeleteExternalBackendNoContent creates a DeleteExternalBackendNoContent with default headers values
func (*DeleteExternalBackendNoContent) Error ¶
func (o *DeleteExternalBackendNoContent) Error() string
type DeleteExternalBackendNotFound ¶
type DeleteExternalBackendNotFound struct {
Payload *models.ErrorPayload
}
DeleteExternalBackendNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewDeleteExternalBackendNotFound ¶
func NewDeleteExternalBackendNotFound() *DeleteExternalBackendNotFound
NewDeleteExternalBackendNotFound creates a DeleteExternalBackendNotFound with default headers values
func (*DeleteExternalBackendNotFound) Error ¶
func (o *DeleteExternalBackendNotFound) Error() string
func (*DeleteExternalBackendNotFound) GetPayload ¶
func (o *DeleteExternalBackendNotFound) GetPayload() *models.ErrorPayload
type DeleteExternalBackendParams ¶
type DeleteExternalBackendParams struct { /*ExternalBackendID External Backend ID */ ExternalBackendID uint32 /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteExternalBackendParams contains all the parameters to send to the API endpoint for the delete external backend operation typically these are written to a http.Request
func NewDeleteExternalBackendParams ¶
func NewDeleteExternalBackendParams() *DeleteExternalBackendParams
NewDeleteExternalBackendParams creates a new DeleteExternalBackendParams object with the default values initialized.
func NewDeleteExternalBackendParamsWithContext ¶
func NewDeleteExternalBackendParamsWithContext(ctx context.Context) *DeleteExternalBackendParams
NewDeleteExternalBackendParamsWithContext creates a new DeleteExternalBackendParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteExternalBackendParamsWithHTTPClient ¶
func NewDeleteExternalBackendParamsWithHTTPClient(client *http.Client) *DeleteExternalBackendParams
NewDeleteExternalBackendParamsWithHTTPClient creates a new DeleteExternalBackendParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteExternalBackendParamsWithTimeout ¶
func NewDeleteExternalBackendParamsWithTimeout(timeout time.Duration) *DeleteExternalBackendParams
NewDeleteExternalBackendParamsWithTimeout creates a new DeleteExternalBackendParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteExternalBackendParams) SetContext ¶
func (o *DeleteExternalBackendParams) SetContext(ctx context.Context)
SetContext adds the context to the delete external backend params
func (*DeleteExternalBackendParams) SetExternalBackendID ¶
func (o *DeleteExternalBackendParams) SetExternalBackendID(externalBackendID uint32)
SetExternalBackendID adds the externalBackendId to the delete external backend params
func (*DeleteExternalBackendParams) SetHTTPClient ¶
func (o *DeleteExternalBackendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete external backend params
func (*DeleteExternalBackendParams) SetOrganizationCanonical ¶
func (o *DeleteExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the delete external backend params
func (*DeleteExternalBackendParams) SetTimeout ¶
func (o *DeleteExternalBackendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete external backend params
func (*DeleteExternalBackendParams) WithContext ¶
func (o *DeleteExternalBackendParams) WithContext(ctx context.Context) *DeleteExternalBackendParams
WithContext adds the context to the delete external backend params
func (*DeleteExternalBackendParams) WithExternalBackendID ¶
func (o *DeleteExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *DeleteExternalBackendParams
WithExternalBackendID adds the externalBackendID to the delete external backend params
func (*DeleteExternalBackendParams) WithHTTPClient ¶
func (o *DeleteExternalBackendParams) WithHTTPClient(client *http.Client) *DeleteExternalBackendParams
WithHTTPClient adds the HTTPClient to the delete external backend params
func (*DeleteExternalBackendParams) WithOrganizationCanonical ¶
func (o *DeleteExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *DeleteExternalBackendParams
WithOrganizationCanonical adds the organizationCanonical to the delete external backend params
func (*DeleteExternalBackendParams) WithTimeout ¶
func (o *DeleteExternalBackendParams) WithTimeout(timeout time.Duration) *DeleteExternalBackendParams
WithTimeout adds the timeout to the delete external backend params
func (*DeleteExternalBackendParams) WriteToRequest ¶
func (o *DeleteExternalBackendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteExternalBackendReader ¶
type DeleteExternalBackendReader struct {
// contains filtered or unexported fields
}
DeleteExternalBackendReader is a Reader for the DeleteExternalBackend structure.
func (*DeleteExternalBackendReader) ReadResponse ¶
func (o *DeleteExternalBackendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteExternalBackendUnprocessableEntity ¶
type DeleteExternalBackendUnprocessableEntity struct {
Payload *models.ErrorPayload
}
DeleteExternalBackendUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewDeleteExternalBackendUnprocessableEntity ¶
func NewDeleteExternalBackendUnprocessableEntity() *DeleteExternalBackendUnprocessableEntity
NewDeleteExternalBackendUnprocessableEntity creates a DeleteExternalBackendUnprocessableEntity with default headers values
func (*DeleteExternalBackendUnprocessableEntity) Error ¶
func (o *DeleteExternalBackendUnprocessableEntity) Error() string
func (*DeleteExternalBackendUnprocessableEntity) GetPayload ¶
func (o *DeleteExternalBackendUnprocessableEntity) GetPayload() *models.ErrorPayload
type GetExternalBackendDefault ¶
type GetExternalBackendDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
GetExternalBackendDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetExternalBackendDefault ¶
func NewGetExternalBackendDefault(code int) *GetExternalBackendDefault
NewGetExternalBackendDefault creates a GetExternalBackendDefault with default headers values
func (*GetExternalBackendDefault) Code ¶
func (o *GetExternalBackendDefault) Code() int
Code gets the status code for the get external backend default response
func (*GetExternalBackendDefault) Error ¶
func (o *GetExternalBackendDefault) Error() string
func (*GetExternalBackendDefault) GetPayload ¶
func (o *GetExternalBackendDefault) GetPayload() *models.ErrorPayload
type GetExternalBackendForbidden ¶
type GetExternalBackendForbidden struct {
Payload *models.ErrorPayload
}
GetExternalBackendForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetExternalBackendForbidden ¶
func NewGetExternalBackendForbidden() *GetExternalBackendForbidden
NewGetExternalBackendForbidden creates a GetExternalBackendForbidden with default headers values
func (*GetExternalBackendForbidden) Error ¶
func (o *GetExternalBackendForbidden) Error() string
func (*GetExternalBackendForbidden) GetPayload ¶
func (o *GetExternalBackendForbidden) GetPayload() *models.ErrorPayload
type GetExternalBackendOK ¶
type GetExternalBackendOK struct {
Payload *GetExternalBackendOKBody
}
GetExternalBackendOK handles this case with default header values.
The external backend
func NewGetExternalBackendOK ¶
func NewGetExternalBackendOK() *GetExternalBackendOK
NewGetExternalBackendOK creates a GetExternalBackendOK with default headers values
func (*GetExternalBackendOK) Error ¶
func (o *GetExternalBackendOK) Error() string
func (*GetExternalBackendOK) GetPayload ¶
func (o *GetExternalBackendOK) GetPayload() *GetExternalBackendOKBody
type GetExternalBackendOKBody ¶
type GetExternalBackendOKBody struct { // data // Required: true Data *models.ExternalBackend `json:"data"` }
GetExternalBackendOKBody get external backend o k body swagger:model GetExternalBackendOKBody
func (*GetExternalBackendOKBody) MarshalBinary ¶
func (o *GetExternalBackendOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetExternalBackendOKBody) UnmarshalBinary ¶
func (o *GetExternalBackendOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetExternalBackendParams ¶
type GetExternalBackendParams struct { /*ExternalBackendID External Backend ID */ ExternalBackendID uint32 /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExternalBackendParams contains all the parameters to send to the API endpoint for the get external backend operation typically these are written to a http.Request
func NewGetExternalBackendParams ¶
func NewGetExternalBackendParams() *GetExternalBackendParams
NewGetExternalBackendParams creates a new GetExternalBackendParams object with the default values initialized.
func NewGetExternalBackendParamsWithContext ¶
func NewGetExternalBackendParamsWithContext(ctx context.Context) *GetExternalBackendParams
NewGetExternalBackendParamsWithContext creates a new GetExternalBackendParams object with the default values initialized, and the ability to set a context for a request
func NewGetExternalBackendParamsWithHTTPClient ¶
func NewGetExternalBackendParamsWithHTTPClient(client *http.Client) *GetExternalBackendParams
NewGetExternalBackendParamsWithHTTPClient creates a new GetExternalBackendParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetExternalBackendParamsWithTimeout ¶
func NewGetExternalBackendParamsWithTimeout(timeout time.Duration) *GetExternalBackendParams
NewGetExternalBackendParamsWithTimeout creates a new GetExternalBackendParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetExternalBackendParams) SetContext ¶
func (o *GetExternalBackendParams) SetContext(ctx context.Context)
SetContext adds the context to the get external backend params
func (*GetExternalBackendParams) SetExternalBackendID ¶
func (o *GetExternalBackendParams) SetExternalBackendID(externalBackendID uint32)
SetExternalBackendID adds the externalBackendId to the get external backend params
func (*GetExternalBackendParams) SetHTTPClient ¶
func (o *GetExternalBackendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get external backend params
func (*GetExternalBackendParams) SetOrganizationCanonical ¶
func (o *GetExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get external backend params
func (*GetExternalBackendParams) SetTimeout ¶
func (o *GetExternalBackendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get external backend params
func (*GetExternalBackendParams) WithContext ¶
func (o *GetExternalBackendParams) WithContext(ctx context.Context) *GetExternalBackendParams
WithContext adds the context to the get external backend params
func (*GetExternalBackendParams) WithExternalBackendID ¶
func (o *GetExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *GetExternalBackendParams
WithExternalBackendID adds the externalBackendID to the get external backend params
func (*GetExternalBackendParams) WithHTTPClient ¶
func (o *GetExternalBackendParams) WithHTTPClient(client *http.Client) *GetExternalBackendParams
WithHTTPClient adds the HTTPClient to the get external backend params
func (*GetExternalBackendParams) WithOrganizationCanonical ¶
func (o *GetExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *GetExternalBackendParams
WithOrganizationCanonical adds the organizationCanonical to the get external backend params
func (*GetExternalBackendParams) WithTimeout ¶
func (o *GetExternalBackendParams) WithTimeout(timeout time.Duration) *GetExternalBackendParams
WithTimeout adds the timeout to the get external backend params
func (*GetExternalBackendParams) WriteToRequest ¶
func (o *GetExternalBackendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExternalBackendReader ¶
type GetExternalBackendReader struct {
// contains filtered or unexported fields
}
GetExternalBackendReader is a Reader for the GetExternalBackend structure.
func (*GetExternalBackendReader) ReadResponse ¶
func (o *GetExternalBackendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetExternalBackendUnprocessableEntity ¶
type GetExternalBackendUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetExternalBackendUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetExternalBackendUnprocessableEntity ¶
func NewGetExternalBackendUnprocessableEntity() *GetExternalBackendUnprocessableEntity
NewGetExternalBackendUnprocessableEntity creates a GetExternalBackendUnprocessableEntity with default headers values
func (*GetExternalBackendUnprocessableEntity) Error ¶
func (o *GetExternalBackendUnprocessableEntity) Error() string
func (*GetExternalBackendUnprocessableEntity) GetPayload ¶
func (o *GetExternalBackendUnprocessableEntity) GetPayload() *models.ErrorPayload
type GetExternalBackendsDefault ¶
type GetExternalBackendsDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
GetExternalBackendsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetExternalBackendsDefault ¶
func NewGetExternalBackendsDefault(code int) *GetExternalBackendsDefault
NewGetExternalBackendsDefault creates a GetExternalBackendsDefault with default headers values
func (*GetExternalBackendsDefault) Code ¶
func (o *GetExternalBackendsDefault) Code() int
Code gets the status code for the get external backends default response
func (*GetExternalBackendsDefault) Error ¶
func (o *GetExternalBackendsDefault) Error() string
func (*GetExternalBackendsDefault) GetPayload ¶
func (o *GetExternalBackendsDefault) GetPayload() *models.ErrorPayload
type GetExternalBackendsForbidden ¶
type GetExternalBackendsForbidden struct {
Payload *models.ErrorPayload
}
GetExternalBackendsForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetExternalBackendsForbidden ¶
func NewGetExternalBackendsForbidden() *GetExternalBackendsForbidden
NewGetExternalBackendsForbidden creates a GetExternalBackendsForbidden with default headers values
func (*GetExternalBackendsForbidden) Error ¶
func (o *GetExternalBackendsForbidden) Error() string
func (*GetExternalBackendsForbidden) GetPayload ¶
func (o *GetExternalBackendsForbidden) GetPayload() *models.ErrorPayload
type GetExternalBackendsOK ¶
type GetExternalBackendsOK struct {
Payload *GetExternalBackendsOKBody
}
GetExternalBackendsOK handles this case with default header values.
The list of the external backends
func NewGetExternalBackendsOK ¶
func NewGetExternalBackendsOK() *GetExternalBackendsOK
NewGetExternalBackendsOK creates a GetExternalBackendsOK with default headers values
func (*GetExternalBackendsOK) Error ¶
func (o *GetExternalBackendsOK) Error() string
func (*GetExternalBackendsOK) GetPayload ¶
func (o *GetExternalBackendsOK) GetPayload() *GetExternalBackendsOKBody
type GetExternalBackendsOKBody ¶
type GetExternalBackendsOKBody struct { // data // Required: true Data []*models.ExternalBackend `json:"data"` // pagination Pagination *models.Pagination `json:"pagination,omitempty"` }
GetExternalBackendsOKBody get external backends o k body swagger:model GetExternalBackendsOKBody
func (*GetExternalBackendsOKBody) MarshalBinary ¶
func (o *GetExternalBackendsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetExternalBackendsOKBody) UnmarshalBinary ¶
func (o *GetExternalBackendsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetExternalBackendsParams ¶
type GetExternalBackendsParams struct { /*Environment The environment canonical to use a query filter */ Environment *string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*Project A canonical of a project used for filtering. */ Project *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExternalBackendsParams contains all the parameters to send to the API endpoint for the get external backends operation typically these are written to a http.Request
func NewGetExternalBackendsParams ¶
func NewGetExternalBackendsParams() *GetExternalBackendsParams
NewGetExternalBackendsParams creates a new GetExternalBackendsParams object with the default values initialized.
func NewGetExternalBackendsParamsWithContext ¶
func NewGetExternalBackendsParamsWithContext(ctx context.Context) *GetExternalBackendsParams
NewGetExternalBackendsParamsWithContext creates a new GetExternalBackendsParams object with the default values initialized, and the ability to set a context for a request
func NewGetExternalBackendsParamsWithHTTPClient ¶
func NewGetExternalBackendsParamsWithHTTPClient(client *http.Client) *GetExternalBackendsParams
NewGetExternalBackendsParamsWithHTTPClient creates a new GetExternalBackendsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetExternalBackendsParamsWithTimeout ¶
func NewGetExternalBackendsParamsWithTimeout(timeout time.Duration) *GetExternalBackendsParams
NewGetExternalBackendsParamsWithTimeout creates a new GetExternalBackendsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetExternalBackendsParams) SetContext ¶
func (o *GetExternalBackendsParams) SetContext(ctx context.Context)
SetContext adds the context to the get external backends params
func (*GetExternalBackendsParams) SetEnvironment ¶
func (o *GetExternalBackendsParams) SetEnvironment(environment *string)
SetEnvironment adds the environment to the get external backends params
func (*GetExternalBackendsParams) SetHTTPClient ¶
func (o *GetExternalBackendsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get external backends params
func (*GetExternalBackendsParams) SetOrganizationCanonical ¶
func (o *GetExternalBackendsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get external backends params
func (*GetExternalBackendsParams) SetProject ¶
func (o *GetExternalBackendsParams) SetProject(project *string)
SetProject adds the project to the get external backends params
func (*GetExternalBackendsParams) SetTimeout ¶
func (o *GetExternalBackendsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get external backends params
func (*GetExternalBackendsParams) WithContext ¶
func (o *GetExternalBackendsParams) WithContext(ctx context.Context) *GetExternalBackendsParams
WithContext adds the context to the get external backends params
func (*GetExternalBackendsParams) WithEnvironment ¶
func (o *GetExternalBackendsParams) WithEnvironment(environment *string) *GetExternalBackendsParams
WithEnvironment adds the environment to the get external backends params
func (*GetExternalBackendsParams) WithHTTPClient ¶
func (o *GetExternalBackendsParams) WithHTTPClient(client *http.Client) *GetExternalBackendsParams
WithHTTPClient adds the HTTPClient to the get external backends params
func (*GetExternalBackendsParams) WithOrganizationCanonical ¶
func (o *GetExternalBackendsParams) WithOrganizationCanonical(organizationCanonical string) *GetExternalBackendsParams
WithOrganizationCanonical adds the organizationCanonical to the get external backends params
func (*GetExternalBackendsParams) WithProject ¶
func (o *GetExternalBackendsParams) WithProject(project *string) *GetExternalBackendsParams
WithProject adds the project to the get external backends params
func (*GetExternalBackendsParams) WithTimeout ¶
func (o *GetExternalBackendsParams) WithTimeout(timeout time.Duration) *GetExternalBackendsParams
WithTimeout adds the timeout to the get external backends params
func (*GetExternalBackendsParams) WriteToRequest ¶
func (o *GetExternalBackendsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExternalBackendsReader ¶
type GetExternalBackendsReader struct {
// contains filtered or unexported fields
}
GetExternalBackendsReader is a Reader for the GetExternalBackends structure.
func (*GetExternalBackendsReader) ReadResponse ¶
func (o *GetExternalBackendsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetExternalBackendsUnprocessableEntity ¶
type GetExternalBackendsUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetExternalBackendsUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetExternalBackendsUnprocessableEntity ¶
func NewGetExternalBackendsUnprocessableEntity() *GetExternalBackendsUnprocessableEntity
NewGetExternalBackendsUnprocessableEntity creates a GetExternalBackendsUnprocessableEntity with default headers values
func (*GetExternalBackendsUnprocessableEntity) Error ¶
func (o *GetExternalBackendsUnprocessableEntity) Error() string
func (*GetExternalBackendsUnprocessableEntity) GetPayload ¶
func (o *GetExternalBackendsUnprocessableEntity) GetPayload() *models.ErrorPayload
type UpdateExternalBackendDefault ¶
type UpdateExternalBackendDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
UpdateExternalBackendDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateExternalBackendDefault ¶
func NewUpdateExternalBackendDefault(code int) *UpdateExternalBackendDefault
NewUpdateExternalBackendDefault creates a UpdateExternalBackendDefault with default headers values
func (*UpdateExternalBackendDefault) Code ¶
func (o *UpdateExternalBackendDefault) Code() int
Code gets the status code for the update external backend default response
func (*UpdateExternalBackendDefault) Error ¶
func (o *UpdateExternalBackendDefault) Error() string
func (*UpdateExternalBackendDefault) GetPayload ¶
func (o *UpdateExternalBackendDefault) GetPayload() *models.ErrorPayload
type UpdateExternalBackendForbidden ¶
type UpdateExternalBackendForbidden struct {
Payload *models.ErrorPayload
}
UpdateExternalBackendForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewUpdateExternalBackendForbidden ¶
func NewUpdateExternalBackendForbidden() *UpdateExternalBackendForbidden
NewUpdateExternalBackendForbidden creates a UpdateExternalBackendForbidden with default headers values
func (*UpdateExternalBackendForbidden) Error ¶
func (o *UpdateExternalBackendForbidden) Error() string
func (*UpdateExternalBackendForbidden) GetPayload ¶
func (o *UpdateExternalBackendForbidden) GetPayload() *models.ErrorPayload
type UpdateExternalBackendLengthRequired ¶
type UpdateExternalBackendLengthRequired struct { }
UpdateExternalBackendLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewUpdateExternalBackendLengthRequired ¶
func NewUpdateExternalBackendLengthRequired() *UpdateExternalBackendLengthRequired
NewUpdateExternalBackendLengthRequired creates a UpdateExternalBackendLengthRequired with default headers values
func (*UpdateExternalBackendLengthRequired) Error ¶
func (o *UpdateExternalBackendLengthRequired) Error() string
type UpdateExternalBackendOK ¶
type UpdateExternalBackendOK struct {
Payload *UpdateExternalBackendOKBody
}
UpdateExternalBackendOK handles this case with default header values.
Success update
func NewUpdateExternalBackendOK ¶
func NewUpdateExternalBackendOK() *UpdateExternalBackendOK
NewUpdateExternalBackendOK creates a UpdateExternalBackendOK with default headers values
func (*UpdateExternalBackendOK) Error ¶
func (o *UpdateExternalBackendOK) Error() string
func (*UpdateExternalBackendOK) GetPayload ¶
func (o *UpdateExternalBackendOK) GetPayload() *UpdateExternalBackendOKBody
type UpdateExternalBackendOKBody ¶
type UpdateExternalBackendOKBody struct { // data // Required: true Data *models.ExternalBackend `json:"data"` }
UpdateExternalBackendOKBody update external backend o k body swagger:model UpdateExternalBackendOKBody
func (*UpdateExternalBackendOKBody) MarshalBinary ¶
func (o *UpdateExternalBackendOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateExternalBackendOKBody) UnmarshalBinary ¶
func (o *UpdateExternalBackendOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateExternalBackendParams ¶
type UpdateExternalBackendParams struct { /*Body The information of the external backend new data */ Body *models.NewExternalBackend /*ExternalBackendID External Backend ID */ ExternalBackendID uint32 /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateExternalBackendParams contains all the parameters to send to the API endpoint for the update external backend operation typically these are written to a http.Request
func NewUpdateExternalBackendParams ¶
func NewUpdateExternalBackendParams() *UpdateExternalBackendParams
NewUpdateExternalBackendParams creates a new UpdateExternalBackendParams object with the default values initialized.
func NewUpdateExternalBackendParamsWithContext ¶
func NewUpdateExternalBackendParamsWithContext(ctx context.Context) *UpdateExternalBackendParams
NewUpdateExternalBackendParamsWithContext creates a new UpdateExternalBackendParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateExternalBackendParamsWithHTTPClient ¶
func NewUpdateExternalBackendParamsWithHTTPClient(client *http.Client) *UpdateExternalBackendParams
NewUpdateExternalBackendParamsWithHTTPClient creates a new UpdateExternalBackendParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateExternalBackendParamsWithTimeout ¶
func NewUpdateExternalBackendParamsWithTimeout(timeout time.Duration) *UpdateExternalBackendParams
NewUpdateExternalBackendParamsWithTimeout creates a new UpdateExternalBackendParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateExternalBackendParams) SetBody ¶
func (o *UpdateExternalBackendParams) SetBody(body *models.NewExternalBackend)
SetBody adds the body to the update external backend params
func (*UpdateExternalBackendParams) SetContext ¶
func (o *UpdateExternalBackendParams) SetContext(ctx context.Context)
SetContext adds the context to the update external backend params
func (*UpdateExternalBackendParams) SetExternalBackendID ¶
func (o *UpdateExternalBackendParams) SetExternalBackendID(externalBackendID uint32)
SetExternalBackendID adds the externalBackendId to the update external backend params
func (*UpdateExternalBackendParams) SetHTTPClient ¶
func (o *UpdateExternalBackendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update external backend params
func (*UpdateExternalBackendParams) SetOrganizationCanonical ¶
func (o *UpdateExternalBackendParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the update external backend params
func (*UpdateExternalBackendParams) SetTimeout ¶
func (o *UpdateExternalBackendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update external backend params
func (*UpdateExternalBackendParams) WithBody ¶
func (o *UpdateExternalBackendParams) WithBody(body *models.NewExternalBackend) *UpdateExternalBackendParams
WithBody adds the body to the update external backend params
func (*UpdateExternalBackendParams) WithContext ¶
func (o *UpdateExternalBackendParams) WithContext(ctx context.Context) *UpdateExternalBackendParams
WithContext adds the context to the update external backend params
func (*UpdateExternalBackendParams) WithExternalBackendID ¶
func (o *UpdateExternalBackendParams) WithExternalBackendID(externalBackendID uint32) *UpdateExternalBackendParams
WithExternalBackendID adds the externalBackendID to the update external backend params
func (*UpdateExternalBackendParams) WithHTTPClient ¶
func (o *UpdateExternalBackendParams) WithHTTPClient(client *http.Client) *UpdateExternalBackendParams
WithHTTPClient adds the HTTPClient to the update external backend params
func (*UpdateExternalBackendParams) WithOrganizationCanonical ¶
func (o *UpdateExternalBackendParams) WithOrganizationCanonical(organizationCanonical string) *UpdateExternalBackendParams
WithOrganizationCanonical adds the organizationCanonical to the update external backend params
func (*UpdateExternalBackendParams) WithTimeout ¶
func (o *UpdateExternalBackendParams) WithTimeout(timeout time.Duration) *UpdateExternalBackendParams
WithTimeout adds the timeout to the update external backend params
func (*UpdateExternalBackendParams) WriteToRequest ¶
func (o *UpdateExternalBackendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateExternalBackendReader ¶
type UpdateExternalBackendReader struct {
// contains filtered or unexported fields
}
UpdateExternalBackendReader is a Reader for the UpdateExternalBackend structure.
func (*UpdateExternalBackendReader) ReadResponse ¶
func (o *UpdateExternalBackendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateExternalBackendUnprocessableEntity ¶
type UpdateExternalBackendUnprocessableEntity struct {
Payload *models.ErrorPayload
}
UpdateExternalBackendUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateExternalBackendUnprocessableEntity ¶
func NewUpdateExternalBackendUnprocessableEntity() *UpdateExternalBackendUnprocessableEntity
NewUpdateExternalBackendUnprocessableEntity creates a UpdateExternalBackendUnprocessableEntity with default headers values
func (*UpdateExternalBackendUnprocessableEntity) Error ¶
func (o *UpdateExternalBackendUnprocessableEntity) Error() string
func (*UpdateExternalBackendUnprocessableEntity) GetPayload ¶
func (o *UpdateExternalBackendUnprocessableEntity) GetPayload() *models.ErrorPayload
Source Files ¶
- create_external_backend_parameters.go
- create_external_backend_responses.go
- delete_external_backend_parameters.go
- delete_external_backend_responses.go
- get_external_backend_parameters.go
- get_external_backend_responses.go
- get_external_backends_parameters.go
- get_external_backends_responses.go
- organization_external_backends_client.go
- update_external_backend_parameters.go
- update_external_backend_responses.go