credential

package
v0.16.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: BSD-3-Clause Imports: 12 Imported by: 2

Documentation

Index

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

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

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

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

func (*DeleteCredentialsIDAcceptedBody) Validate

Validate validates this delete credentials ID accepted body

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

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

func (*DeleteCredentialsIDBadRequestBody) Validate

Validate validates this delete credentials ID bad request body

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

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

func (*DeleteCredentialsIDInternalServerErrorBody) Validate

Validate validates this delete credentials ID internal server error body

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

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

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

func (*DeleteCredentialsIDNotFoundBody) Validate

Validate validates this delete credentials ID not found body

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

WithContext adds the context to the delete credentials ID params

func (*DeleteCredentialsIDParams) WithDate

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

WithID adds the id to the delete credentials ID params

func (*DeleteCredentialsIDParams) WithTimeout

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

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 {
	Payload DeleteCredentialsIDUnauthorizedBody
}

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

type DeleteCredentialsIDUnauthorizedBody

type DeleteCredentialsIDUnauthorizedBody struct {

	// message
	// Required: true
	// Max Length: 256
	// Min Length: 3
	Message *string `json:"message"`
}

DeleteCredentialsIDUnauthorizedBody delete credentials ID unauthorized body swagger:model DeleteCredentialsIDUnauthorizedBody

func (*DeleteCredentialsIDUnauthorizedBody) Validate

Validate validates this delete credentials ID unauthorized body

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

func (*PutCredentialsIDAcceptedBody) Validate

func (o *PutCredentialsIDAcceptedBody) Validate(formats strfmt.Registry) error

Validate validates this put credentials ID accepted body

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

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

func (*PutCredentialsIDBadRequestBody) Validate

func (o *PutCredentialsIDBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this put credentials ID bad request body

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

func (*PutCredentialsIDConflictBody) Validate

func (o *PutCredentialsIDConflictBody) Validate(formats strfmt.Registry) error

Validate validates this put credentials ID conflict body

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

func (*PutCredentialsIDCreatedBody) Validate

func (o *PutCredentialsIDCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this put credentials ID created body

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

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

func (*PutCredentialsIDInternalServerErrorBody) Validate

Validate validates this put credentials ID internal server error body

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

func (*PutCredentialsIDNotFoundBody) Validate

func (o *PutCredentialsIDNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this put credentials ID not found body

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

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

WithBody adds the body to the put credentials ID params

func (*PutCredentialsIDParams) WithContext

WithContext adds the context to the put credentials ID params

func (*PutCredentialsIDParams) WithDate

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

WithID adds the id to the put credentials ID params

func (*PutCredentialsIDParams) WithTimeout

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

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 {
	Payload PutCredentialsIDUnauthorizedBody
}

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

type PutCredentialsIDUnauthorizedBody

type PutCredentialsIDUnauthorizedBody struct {

	// message
	// Required: true
	// Max Length: 256
	// Min Length: 3
	Message *string `json:"message"`
}

PutCredentialsIDUnauthorizedBody put credentials ID unauthorized body swagger:model PutCredentialsIDUnauthorizedBody

func (*PutCredentialsIDUnauthorizedBody) Validate

Validate validates this put credentials ID unauthorized body

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL