Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteCredentialsID(params *DeleteCredentialsIDParams) (*DeleteCredentialsIDAccepted, *DeleteCredentialsIDNoContent, error)
- func (a *Client) PutCredentialsID(params *PutCredentialsIDParams) (*PutCredentialsIDCreated, *PutCredentialsIDAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteCredentialsIDAccepted
- type DeleteCredentialsIDAcceptedBody
- type DeleteCredentialsIDBadRequest
- type DeleteCredentialsIDBadRequestBody
- type DeleteCredentialsIDInternalServerError
- type DeleteCredentialsIDInternalServerErrorBody
- type DeleteCredentialsIDNoContent
- type DeleteCredentialsIDNotFound
- type DeleteCredentialsIDNotFoundBody
- type DeleteCredentialsIDParams
- func NewDeleteCredentialsIDParams() *DeleteCredentialsIDParams
- func NewDeleteCredentialsIDParamsWithContext(ctx context.Context) *DeleteCredentialsIDParams
- func NewDeleteCredentialsIDParamsWithHTTPClient(client *http.Client) *DeleteCredentialsIDParams
- func NewDeleteCredentialsIDParamsWithTimeout(timeout time.Duration) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) SetContext(ctx context.Context)
- func (o *DeleteCredentialsIDParams) SetDate(date strfmt.DateTime)
- func (o *DeleteCredentialsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCredentialsIDParams) SetID(id string)
- func (o *DeleteCredentialsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCredentialsIDParams) SetXCallbackID(xCallbackID string)
- func (o *DeleteCredentialsIDParams) SetXCallbackURL(xCallbackURL string)
- func (o *DeleteCredentialsIDParams) SetXSignature(xSignature string)
- func (o *DeleteCredentialsIDParams) SetXSignedHeaders(xSignedHeaders string)
- func (o *DeleteCredentialsIDParams) WithContext(ctx context.Context) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithDate(date strfmt.DateTime) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithHTTPClient(client *http.Client) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithID(id string) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithTimeout(timeout time.Duration) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithXCallbackID(xCallbackID string) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithXCallbackURL(xCallbackURL string) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithXSignature(xSignature string) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithXSignedHeaders(xSignedHeaders string) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCredentialsIDReader
- type DeleteCredentialsIDUnauthorized
- type DeleteCredentialsIDUnauthorizedBody
- type PutCredentialsIDAccepted
- type PutCredentialsIDAcceptedBody
- type PutCredentialsIDBadRequest
- type PutCredentialsIDBadRequestBody
- type PutCredentialsIDConflict
- type PutCredentialsIDConflictBody
- type PutCredentialsIDCreated
- type PutCredentialsIDCreatedBody
- type PutCredentialsIDInternalServerError
- type PutCredentialsIDInternalServerErrorBody
- type PutCredentialsIDNotFound
- type PutCredentialsIDNotFoundBody
- type PutCredentialsIDParams
- func NewPutCredentialsIDParams() *PutCredentialsIDParams
- func NewPutCredentialsIDParamsWithContext(ctx context.Context) *PutCredentialsIDParams
- func NewPutCredentialsIDParamsWithHTTPClient(client *http.Client) *PutCredentialsIDParams
- func NewPutCredentialsIDParamsWithTimeout(timeout time.Duration) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) SetBody(body *models.CredentialRequest)
- func (o *PutCredentialsIDParams) SetContext(ctx context.Context)
- func (o *PutCredentialsIDParams) SetDate(date strfmt.DateTime)
- func (o *PutCredentialsIDParams) SetHTTPClient(client *http.Client)
- func (o *PutCredentialsIDParams) SetID(id string)
- func (o *PutCredentialsIDParams) SetTimeout(timeout time.Duration)
- func (o *PutCredentialsIDParams) SetXCallbackID(xCallbackID string)
- func (o *PutCredentialsIDParams) SetXCallbackURL(xCallbackURL string)
- func (o *PutCredentialsIDParams) SetXSignature(xSignature string)
- func (o *PutCredentialsIDParams) SetXSignedHeaders(xSignedHeaders string)
- func (o *PutCredentialsIDParams) WithBody(body *models.CredentialRequest) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithContext(ctx context.Context) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithDate(date strfmt.DateTime) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithHTTPClient(client *http.Client) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithID(id string) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithTimeout(timeout time.Duration) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithXCallbackID(xCallbackID string) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithXCallbackURL(xCallbackURL string) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithXSignature(xSignature string) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WithXSignedHeaders(xSignedHeaders string) *PutCredentialsIDParams
- func (o *PutCredentialsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutCredentialsIDReader
- type PutCredentialsIDUnauthorized
- type PutCredentialsIDUnauthorizedBody
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 credential API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new credential API client.
func (*Client) DeleteCredentialsID ¶
func (a *Client) DeleteCredentialsID(params *DeleteCredentialsIDParams) (*DeleteCredentialsIDAccepted, *DeleteCredentialsIDNoContent, error)
DeleteCredentialsID deprovisions
Manifold calls this endpoint to request the deprovisioning the specified set of Credentials.
When a Resource is deprovisioned, Manifold assumes that *all* associated Credentials are deprovisioned by the provider as well.
If the credentials have already been deprovisioned, then the provider must return a 404 response.
**Request Timeout**
If the request takes longer than 60 seconds, then it is assumed to have failed. Manifold will retry the request again in the future.
**Callback Timeout**
If a `202 Accepted` response is returned, Manifold will expect the provider to complete the deprovision flow by calling the callback url within 24 hours. If the callback is not invoked, Manifold will retry the request again.
If the deprovision was successful, then a `404 Not Found` response should be returned to Manifold.
func (*Client) PutCredentialsID ¶
func (a *Client) PutCredentialsID(params *PutCredentialsIDParams) (*PutCredentialsIDCreated, *PutCredentialsIDAccepted, error)
PutCredentialsID provisions
Manifold calls this endpoint to request the provisioning of a set of Credentials for the specified Resource. This route must support being called more than once with the same payload.
The `id` property is the unique identifier Manifold will map to the returned set of Credentials. Use this value for mapping Manifold Credentials to data inside your system.
The `resource_id` property is the unique identifier for the Resource the requested set of Credentials grant access to.
The provider can return multiple key-value pairs that represent this set of Credentials. However, if a url form exists (e.g. `postgres://user:pw@host:5432/db`), please provide the credentials in that form.
**Request Timeout**
If the request takes longer than 60 seconds, then it is assumed to have failed. Manifold will retry the request again in the future.
**Callback Timeout**
If a `202 Accepted` response is returned, Manifold will expect the provider to complete the provision flow by calling the callback url within 24 hours. If the callback is not invoked, Manifold will retry the request again.
If the credentials have been provisioned successfully with properties that match the request, then the provider should return a `201 Created` response. However, if provisioning failed, a corresponding error should be returned.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteCredentialsIDAccepted ¶
type DeleteCredentialsIDAccepted struct {
Payload DeleteCredentialsIDAcceptedBody
}
DeleteCredentialsIDAccepted handles this case with default header values.
Acknowledgement of the deprovision request with a corresponding message to be displayed to the user. The provider will call the callback url once the credentials have been deprovisioned successfully or a failure has occurred.
func NewDeleteCredentialsIDAccepted ¶
func NewDeleteCredentialsIDAccepted() *DeleteCredentialsIDAccepted
NewDeleteCredentialsIDAccepted creates a DeleteCredentialsIDAccepted with default headers values
func (*DeleteCredentialsIDAccepted) Error ¶
func (o *DeleteCredentialsIDAccepted) Error() string
type DeleteCredentialsIDAcceptedBody ¶
type DeleteCredentialsIDAcceptedBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteCredentialsIDAcceptedBody Object used to display a message back to the user after a change has been // made to a Resource. // swagger:model DeleteCredentialsIDAcceptedBody
type DeleteCredentialsIDBadRequest ¶
type DeleteCredentialsIDBadRequest struct {
Payload DeleteCredentialsIDBadRequestBody
}
DeleteCredentialsIDBadRequest handles this case with default header values.
Request denied due to invalid request body.
func NewDeleteCredentialsIDBadRequest ¶
func NewDeleteCredentialsIDBadRequest() *DeleteCredentialsIDBadRequest
NewDeleteCredentialsIDBadRequest creates a DeleteCredentialsIDBadRequest with default headers values
func (*DeleteCredentialsIDBadRequest) Error ¶
func (o *DeleteCredentialsIDBadRequest) Error() string
type DeleteCredentialsIDBadRequestBody ¶
type DeleteCredentialsIDBadRequestBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteCredentialsIDBadRequestBody delete credentials ID bad request body swagger:model DeleteCredentialsIDBadRequestBody
type DeleteCredentialsIDInternalServerError ¶
type DeleteCredentialsIDInternalServerError struct {
Payload DeleteCredentialsIDInternalServerErrorBody
}
DeleteCredentialsIDInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewDeleteCredentialsIDInternalServerError ¶
func NewDeleteCredentialsIDInternalServerError() *DeleteCredentialsIDInternalServerError
NewDeleteCredentialsIDInternalServerError creates a DeleteCredentialsIDInternalServerError with default headers values
func (*DeleteCredentialsIDInternalServerError) Error ¶
func (o *DeleteCredentialsIDInternalServerError) Error() string
type DeleteCredentialsIDInternalServerErrorBody ¶
type DeleteCredentialsIDInternalServerErrorBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteCredentialsIDInternalServerErrorBody delete credentials ID internal server error body swagger:model DeleteCredentialsIDInternalServerErrorBody
type DeleteCredentialsIDNoContent ¶
type DeleteCredentialsIDNoContent struct { }
DeleteCredentialsIDNoContent handles this case with default header values.
The set of credentials have been deprovisioned successfully.
func NewDeleteCredentialsIDNoContent ¶
func NewDeleteCredentialsIDNoContent() *DeleteCredentialsIDNoContent
NewDeleteCredentialsIDNoContent creates a DeleteCredentialsIDNoContent with default headers values
func (*DeleteCredentialsIDNoContent) Error ¶
func (o *DeleteCredentialsIDNoContent) Error() string
type DeleteCredentialsIDNotFound ¶
type DeleteCredentialsIDNotFound struct {
Payload DeleteCredentialsIDNotFoundBody
}
DeleteCredentialsIDNotFound handles this case with default header values.
Requested entity could not be found.
func NewDeleteCredentialsIDNotFound ¶
func NewDeleteCredentialsIDNotFound() *DeleteCredentialsIDNotFound
NewDeleteCredentialsIDNotFound creates a DeleteCredentialsIDNotFound with default headers values
func (*DeleteCredentialsIDNotFound) Error ¶
func (o *DeleteCredentialsIDNotFound) Error() string
type DeleteCredentialsIDNotFoundBody ¶
type DeleteCredentialsIDNotFoundBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteCredentialsIDNotFoundBody delete credentials ID not found body swagger:model DeleteCredentialsIDNotFoundBody
type DeleteCredentialsIDParams ¶
type DeleteCredentialsIDParams struct { /*Date Timestamp of when the request was issued from Manifold in UTC. */ Date strfmt.DateTime /*XCallbackID ID of the Callback for completing this request if the provider returns a `202 Accepted`, stored as a base 32 encoded 18 byte identifier. */ XCallbackID string /*XCallbackURL The URL the provider calls to complete the request if a `202 Accepted` is returned. */ XCallbackURL string /*XSignature Header containing the signature, ephemeral public key, and signature of the used public key signed by the Manifold root signing key to prove authenticity of the request. “` X-Signature: [request-signature] [public-key-value] [signature-of-public-key] “` examples: “` X-Signature: 96afMc5FVZjhGQ4YLPyRW9tcYoPKyj1EMUxkzma_Q4c WydEYGQb7Y4ER6KPAc-YuIwAqFUpII5P9U3MAZ3wxAQ ozhcosOmuWltP8r1BAs-0kccV1AkbHcKYLSjU0dGUHY “` */ XSignature string /*XSignedHeaders Comma delimited ordered list of header fields used in generating the request signature. */ XSignedHeaders string /*ID ID of a Credential object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCredentialsIDParams contains all the parameters to send to the API endpoint for the delete credentials ID operation typically these are written to a http.Request
func NewDeleteCredentialsIDParams ¶
func NewDeleteCredentialsIDParams() *DeleteCredentialsIDParams
NewDeleteCredentialsIDParams creates a new DeleteCredentialsIDParams object with the default values initialized.
func NewDeleteCredentialsIDParamsWithContext ¶
func NewDeleteCredentialsIDParamsWithContext(ctx context.Context) *DeleteCredentialsIDParams
NewDeleteCredentialsIDParamsWithContext creates a new DeleteCredentialsIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCredentialsIDParamsWithHTTPClient ¶
func NewDeleteCredentialsIDParamsWithHTTPClient(client *http.Client) *DeleteCredentialsIDParams
NewDeleteCredentialsIDParamsWithHTTPClient creates a new DeleteCredentialsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCredentialsIDParamsWithTimeout ¶
func NewDeleteCredentialsIDParamsWithTimeout(timeout time.Duration) *DeleteCredentialsIDParams
NewDeleteCredentialsIDParamsWithTimeout creates a new DeleteCredentialsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCredentialsIDParams) SetContext ¶
func (o *DeleteCredentialsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetDate ¶
func (o *DeleteCredentialsIDParams) SetDate(date strfmt.DateTime)
SetDate adds the date to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetHTTPClient ¶
func (o *DeleteCredentialsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetID ¶
func (o *DeleteCredentialsIDParams) SetID(id string)
SetID adds the id to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetTimeout ¶
func (o *DeleteCredentialsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetXCallbackID ¶
func (o *DeleteCredentialsIDParams) SetXCallbackID(xCallbackID string)
SetXCallbackID adds the xCallbackId to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetXCallbackURL ¶
func (o *DeleteCredentialsIDParams) SetXCallbackURL(xCallbackURL string)
SetXCallbackURL adds the xCallbackUrl to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetXSignature ¶
func (o *DeleteCredentialsIDParams) SetXSignature(xSignature string)
SetXSignature adds the xSignature to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetXSignedHeaders ¶
func (o *DeleteCredentialsIDParams) SetXSignedHeaders(xSignedHeaders string)
SetXSignedHeaders adds the xSignedHeaders to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithContext ¶
func (o *DeleteCredentialsIDParams) WithContext(ctx context.Context) *DeleteCredentialsIDParams
WithContext adds the context to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithDate ¶
func (o *DeleteCredentialsIDParams) WithDate(date strfmt.DateTime) *DeleteCredentialsIDParams
WithDate adds the date to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithHTTPClient ¶
func (o *DeleteCredentialsIDParams) WithHTTPClient(client *http.Client) *DeleteCredentialsIDParams
WithHTTPClient adds the HTTPClient to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithID ¶
func (o *DeleteCredentialsIDParams) WithID(id string) *DeleteCredentialsIDParams
WithID adds the id to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithTimeout ¶
func (o *DeleteCredentialsIDParams) WithTimeout(timeout time.Duration) *DeleteCredentialsIDParams
WithTimeout adds the timeout to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithXCallbackID ¶
func (o *DeleteCredentialsIDParams) WithXCallbackID(xCallbackID string) *DeleteCredentialsIDParams
WithXCallbackID adds the xCallbackID to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithXCallbackURL ¶
func (o *DeleteCredentialsIDParams) WithXCallbackURL(xCallbackURL string) *DeleteCredentialsIDParams
WithXCallbackURL adds the xCallbackURL to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithXSignature ¶
func (o *DeleteCredentialsIDParams) WithXSignature(xSignature string) *DeleteCredentialsIDParams
WithXSignature adds the xSignature to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithXSignedHeaders ¶
func (o *DeleteCredentialsIDParams) WithXSignedHeaders(xSignedHeaders string) *DeleteCredentialsIDParams
WithXSignedHeaders adds the xSignedHeaders to the delete credentials ID params
func (*DeleteCredentialsIDParams) WriteToRequest ¶
func (o *DeleteCredentialsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCredentialsIDReader ¶
type DeleteCredentialsIDReader struct {
// contains filtered or unexported fields
}
DeleteCredentialsIDReader is a Reader for the DeleteCredentialsID structure.
func (*DeleteCredentialsIDReader) ReadResponse ¶
func (o *DeleteCredentialsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCredentialsIDUnauthorized ¶
type DeleteCredentialsIDUnauthorized struct {
}DeleteCredentialsIDUnauthorized handles this case with default header values.
Request authenticity could not be validated.
func NewDeleteCredentialsIDUnauthorized ¶
func NewDeleteCredentialsIDUnauthorized() *DeleteCredentialsIDUnauthorized
NewDeleteCredentialsIDUnauthorized creates a DeleteCredentialsIDUnauthorized with default headers values
func (*DeleteCredentialsIDUnauthorized) Error ¶
func (o *DeleteCredentialsIDUnauthorized) Error() string
type DeleteCredentialsIDUnauthorizedBody ¶
type DeleteCredentialsIDUnauthorizedBody struct { // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteCredentialsIDUnauthorizedBody delete credentials ID unauthorized body swagger:model DeleteCredentialsIDUnauthorizedBody
type PutCredentialsIDAccepted ¶
type PutCredentialsIDAccepted struct {
Payload PutCredentialsIDAcceptedBody
}
PutCredentialsIDAccepted handles this case with default header values.
Acknowledgement of the provision request with a corresponding message to be displayed to the user. The provider will call the callback url once credentials have been provisioned successfully or a failure has occurred.
func NewPutCredentialsIDAccepted ¶
func NewPutCredentialsIDAccepted() *PutCredentialsIDAccepted
NewPutCredentialsIDAccepted creates a PutCredentialsIDAccepted with default headers values
func (*PutCredentialsIDAccepted) Error ¶
func (o *PutCredentialsIDAccepted) Error() string
type PutCredentialsIDAcceptedBody ¶
type PutCredentialsIDAcceptedBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutCredentialsIDAcceptedBody Object used to display a message back to the user after a change has been // made to a Resource. // swagger:model PutCredentialsIDAcceptedBody
type PutCredentialsIDBadRequest ¶
type PutCredentialsIDBadRequest struct {
Payload PutCredentialsIDBadRequestBody
}
PutCredentialsIDBadRequest handles this case with default header values.
Request denied due to invalid request body.
func NewPutCredentialsIDBadRequest ¶
func NewPutCredentialsIDBadRequest() *PutCredentialsIDBadRequest
NewPutCredentialsIDBadRequest creates a PutCredentialsIDBadRequest with default headers values
func (*PutCredentialsIDBadRequest) Error ¶
func (o *PutCredentialsIDBadRequest) Error() string
type PutCredentialsIDBadRequestBody ¶
type PutCredentialsIDBadRequestBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutCredentialsIDBadRequestBody put credentials ID bad request body swagger:model PutCredentialsIDBadRequestBody
type PutCredentialsIDConflict ¶
type PutCredentialsIDConflict struct {
Payload PutCredentialsIDConflictBody
}
PutCredentialsIDConflict handles this case with default header values.
An entity already exists with that identifier and the request contents do not match the current object. If an entity does exist with that identifier and the request contents do match then a success response should be returned.
func NewPutCredentialsIDConflict ¶
func NewPutCredentialsIDConflict() *PutCredentialsIDConflict
NewPutCredentialsIDConflict creates a PutCredentialsIDConflict with default headers values
func (*PutCredentialsIDConflict) Error ¶
func (o *PutCredentialsIDConflict) Error() string
type PutCredentialsIDConflictBody ¶
type PutCredentialsIDConflictBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutCredentialsIDConflictBody put credentials ID conflict body swagger:model PutCredentialsIDConflictBody
type PutCredentialsIDCreated ¶
type PutCredentialsIDCreated struct {
Payload PutCredentialsIDCreatedBody
}
PutCredentialsIDCreated handles this case with default header values.
Successful credential provisioning request with associated secrets.
func NewPutCredentialsIDCreated ¶
func NewPutCredentialsIDCreated() *PutCredentialsIDCreated
NewPutCredentialsIDCreated creates a PutCredentialsIDCreated with default headers values
func (*PutCredentialsIDCreated) Error ¶
func (o *PutCredentialsIDCreated) Error() string
type PutCredentialsIDCreatedBody ¶
type PutCredentialsIDCreatedBody struct { // All key values must be strings and valid environment variable names. // // Names must match this expression: `^[A-Z][A-Z0-9_]{0,127}$` // // Required: true Credentials map[string]string `json:"credentials"` // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutCredentialsIDCreatedBody The response expected back from a Provider to provision a set of // Credentials for a resource. // swagger:model PutCredentialsIDCreatedBody
type PutCredentialsIDInternalServerError ¶
type PutCredentialsIDInternalServerError struct {
Payload PutCredentialsIDInternalServerErrorBody
}
PutCredentialsIDInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewPutCredentialsIDInternalServerError ¶
func NewPutCredentialsIDInternalServerError() *PutCredentialsIDInternalServerError
NewPutCredentialsIDInternalServerError creates a PutCredentialsIDInternalServerError with default headers values
func (*PutCredentialsIDInternalServerError) Error ¶
func (o *PutCredentialsIDInternalServerError) Error() string
type PutCredentialsIDInternalServerErrorBody ¶
type PutCredentialsIDInternalServerErrorBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutCredentialsIDInternalServerErrorBody put credentials ID internal server error body swagger:model PutCredentialsIDInternalServerErrorBody
type PutCredentialsIDNotFound ¶
type PutCredentialsIDNotFound struct {
Payload PutCredentialsIDNotFoundBody
}
PutCredentialsIDNotFound handles this case with default header values.
Requested entity could not be found.
func NewPutCredentialsIDNotFound ¶
func NewPutCredentialsIDNotFound() *PutCredentialsIDNotFound
NewPutCredentialsIDNotFound creates a PutCredentialsIDNotFound with default headers values
func (*PutCredentialsIDNotFound) Error ¶
func (o *PutCredentialsIDNotFound) Error() string
type PutCredentialsIDNotFoundBody ¶
type PutCredentialsIDNotFoundBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutCredentialsIDNotFoundBody put credentials ID not found body swagger:model PutCredentialsIDNotFoundBody
type PutCredentialsIDParams ¶
type PutCredentialsIDParams struct { /*Date Timestamp of when the request was issued from Manifold in UTC. */ Date strfmt.DateTime /*XCallbackID ID of the Callback for completing this request if the provider returns a `202 Accepted`, stored as a base 32 encoded 18 byte identifier. */ XCallbackID string /*XCallbackURL The URL the provider calls to complete the request if a `202 Accepted` is returned. */ XCallbackURL string /*XSignature Header containing the signature, ephemeral public key, and signature of the used public key signed by the Manifold root signing key to prove authenticity of the request. “` X-Signature: [request-signature] [public-key-value] [signature-of-public-key] “` examples: “` X-Signature: 96afMc5FVZjhGQ4YLPyRW9tcYoPKyj1EMUxkzma_Q4c WydEYGQb7Y4ER6KPAc-YuIwAqFUpII5P9U3MAZ3wxAQ ozhcosOmuWltP8r1BAs-0kccV1AkbHcKYLSjU0dGUHY “` */ XSignature string /*XSignedHeaders Comma delimited ordered list of header fields used in generating the request signature. */ XSignedHeaders string /*Body Credential provisioning request, containing the target Resource identifier. */ Body *models.CredentialRequest /*ID ID of a Credential object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutCredentialsIDParams contains all the parameters to send to the API endpoint for the put credentials ID operation typically these are written to a http.Request
func NewPutCredentialsIDParams ¶
func NewPutCredentialsIDParams() *PutCredentialsIDParams
NewPutCredentialsIDParams creates a new PutCredentialsIDParams object with the default values initialized.
func NewPutCredentialsIDParamsWithContext ¶
func NewPutCredentialsIDParamsWithContext(ctx context.Context) *PutCredentialsIDParams
NewPutCredentialsIDParamsWithContext creates a new PutCredentialsIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutCredentialsIDParamsWithHTTPClient ¶
func NewPutCredentialsIDParamsWithHTTPClient(client *http.Client) *PutCredentialsIDParams
NewPutCredentialsIDParamsWithHTTPClient creates a new PutCredentialsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutCredentialsIDParamsWithTimeout ¶
func NewPutCredentialsIDParamsWithTimeout(timeout time.Duration) *PutCredentialsIDParams
NewPutCredentialsIDParamsWithTimeout creates a new PutCredentialsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutCredentialsIDParams) SetBody ¶
func (o *PutCredentialsIDParams) SetBody(body *models.CredentialRequest)
SetBody adds the body to the put credentials ID params
func (*PutCredentialsIDParams) SetContext ¶
func (o *PutCredentialsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put credentials ID params
func (*PutCredentialsIDParams) SetDate ¶
func (o *PutCredentialsIDParams) SetDate(date strfmt.DateTime)
SetDate adds the date to the put credentials ID params
func (*PutCredentialsIDParams) SetHTTPClient ¶
func (o *PutCredentialsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put credentials ID params
func (*PutCredentialsIDParams) SetID ¶
func (o *PutCredentialsIDParams) SetID(id string)
SetID adds the id to the put credentials ID params
func (*PutCredentialsIDParams) SetTimeout ¶
func (o *PutCredentialsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put credentials ID params
func (*PutCredentialsIDParams) SetXCallbackID ¶
func (o *PutCredentialsIDParams) SetXCallbackID(xCallbackID string)
SetXCallbackID adds the xCallbackId to the put credentials ID params
func (*PutCredentialsIDParams) SetXCallbackURL ¶
func (o *PutCredentialsIDParams) SetXCallbackURL(xCallbackURL string)
SetXCallbackURL adds the xCallbackUrl to the put credentials ID params
func (*PutCredentialsIDParams) SetXSignature ¶
func (o *PutCredentialsIDParams) SetXSignature(xSignature string)
SetXSignature adds the xSignature to the put credentials ID params
func (*PutCredentialsIDParams) SetXSignedHeaders ¶
func (o *PutCredentialsIDParams) SetXSignedHeaders(xSignedHeaders string)
SetXSignedHeaders adds the xSignedHeaders to the put credentials ID params
func (*PutCredentialsIDParams) WithBody ¶
func (o *PutCredentialsIDParams) WithBody(body *models.CredentialRequest) *PutCredentialsIDParams
WithBody adds the body to the put credentials ID params
func (*PutCredentialsIDParams) WithContext ¶
func (o *PutCredentialsIDParams) WithContext(ctx context.Context) *PutCredentialsIDParams
WithContext adds the context to the put credentials ID params
func (*PutCredentialsIDParams) WithDate ¶
func (o *PutCredentialsIDParams) WithDate(date strfmt.DateTime) *PutCredentialsIDParams
WithDate adds the date to the put credentials ID params
func (*PutCredentialsIDParams) WithHTTPClient ¶
func (o *PutCredentialsIDParams) WithHTTPClient(client *http.Client) *PutCredentialsIDParams
WithHTTPClient adds the HTTPClient to the put credentials ID params
func (*PutCredentialsIDParams) WithID ¶
func (o *PutCredentialsIDParams) WithID(id string) *PutCredentialsIDParams
WithID adds the id to the put credentials ID params
func (*PutCredentialsIDParams) WithTimeout ¶
func (o *PutCredentialsIDParams) WithTimeout(timeout time.Duration) *PutCredentialsIDParams
WithTimeout adds the timeout to the put credentials ID params
func (*PutCredentialsIDParams) WithXCallbackID ¶
func (o *PutCredentialsIDParams) WithXCallbackID(xCallbackID string) *PutCredentialsIDParams
WithXCallbackID adds the xCallbackID to the put credentials ID params
func (*PutCredentialsIDParams) WithXCallbackURL ¶
func (o *PutCredentialsIDParams) WithXCallbackURL(xCallbackURL string) *PutCredentialsIDParams
WithXCallbackURL adds the xCallbackURL to the put credentials ID params
func (*PutCredentialsIDParams) WithXSignature ¶
func (o *PutCredentialsIDParams) WithXSignature(xSignature string) *PutCredentialsIDParams
WithXSignature adds the xSignature to the put credentials ID params
func (*PutCredentialsIDParams) WithXSignedHeaders ¶
func (o *PutCredentialsIDParams) WithXSignedHeaders(xSignedHeaders string) *PutCredentialsIDParams
WithXSignedHeaders adds the xSignedHeaders to the put credentials ID params
func (*PutCredentialsIDParams) WriteToRequest ¶
func (o *PutCredentialsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutCredentialsIDReader ¶
type PutCredentialsIDReader struct {
// contains filtered or unexported fields
}
PutCredentialsIDReader is a Reader for the PutCredentialsID structure.
func (*PutCredentialsIDReader) ReadResponse ¶
func (o *PutCredentialsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutCredentialsIDUnauthorized ¶
type PutCredentialsIDUnauthorized struct {
}PutCredentialsIDUnauthorized handles this case with default header values.
Request authenticity could not be validated.
func NewPutCredentialsIDUnauthorized ¶
func NewPutCredentialsIDUnauthorized() *PutCredentialsIDUnauthorized
NewPutCredentialsIDUnauthorized creates a PutCredentialsIDUnauthorized with default headers values
func (*PutCredentialsIDUnauthorized) Error ¶
func (o *PutCredentialsIDUnauthorized) Error() string
type PutCredentialsIDUnauthorizedBody ¶
type PutCredentialsIDUnauthorizedBody struct { // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutCredentialsIDUnauthorizedBody put credentials ID unauthorized body swagger:model PutCredentialsIDUnauthorizedBody