Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCredential(params *CreateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCredentialOK, error)
- func (a *Client) DeleteCredential(params *DeleteCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialNoContent, error)
- func (a *Client) GetCredential(params *GetCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialOK, error)
- func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCredential(params *UpdateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCredentialOK, error)
- type CreateCredentialDefault
- type CreateCredentialLengthRequired
- type CreateCredentialOK
- type CreateCredentialOKBody
- type CreateCredentialParams
- func NewCreateCredentialParams() *CreateCredentialParams
- func NewCreateCredentialParamsWithContext(ctx context.Context) *CreateCredentialParams
- func NewCreateCredentialParamsWithHTTPClient(client *http.Client) *CreateCredentialParams
- func NewCreateCredentialParamsWithTimeout(timeout time.Duration) *CreateCredentialParams
- func (o *CreateCredentialParams) SetBody(body *models.CreateCredential)
- func (o *CreateCredentialParams) SetContext(ctx context.Context)
- func (o *CreateCredentialParams) SetHTTPClient(client *http.Client)
- func (o *CreateCredentialParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateCredentialParams) SetTimeout(timeout time.Duration)
- func (o *CreateCredentialParams) WithBody(body *models.CreateCredential) *CreateCredentialParams
- func (o *CreateCredentialParams) WithContext(ctx context.Context) *CreateCredentialParams
- func (o *CreateCredentialParams) WithHTTPClient(client *http.Client) *CreateCredentialParams
- func (o *CreateCredentialParams) WithOrganizationCanonical(organizationCanonical string) *CreateCredentialParams
- func (o *CreateCredentialParams) WithTimeout(timeout time.Duration) *CreateCredentialParams
- func (o *CreateCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCredentialReader
- type CreateCredentialUnprocessableEntity
- type DeleteCredentialConflict
- type DeleteCredentialDefault
- type DeleteCredentialForbidden
- type DeleteCredentialNoContent
- type DeleteCredentialNotFound
- type DeleteCredentialParams
- func NewDeleteCredentialParams() *DeleteCredentialParams
- func NewDeleteCredentialParamsWithContext(ctx context.Context) *DeleteCredentialParams
- func NewDeleteCredentialParamsWithHTTPClient(client *http.Client) *DeleteCredentialParams
- func NewDeleteCredentialParamsWithTimeout(timeout time.Duration) *DeleteCredentialParams
- func (o *DeleteCredentialParams) SetContext(ctx context.Context)
- func (o *DeleteCredentialParams) SetCredentialCanonical(credentialCanonical string)
- func (o *DeleteCredentialParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCredentialParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteCredentialParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCredentialParams) WithContext(ctx context.Context) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithCredentialCanonical(credentialCanonical string) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithHTTPClient(client *http.Client) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithOrganizationCanonical(organizationCanonical string) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WithTimeout(timeout time.Duration) *DeleteCredentialParams
- func (o *DeleteCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCredentialReader
- type GetCredentialDefault
- type GetCredentialForbidden
- type GetCredentialNotFound
- type GetCredentialOK
- type GetCredentialOKBody
- type GetCredentialParams
- func (o *GetCredentialParams) SetContext(ctx context.Context)
- func (o *GetCredentialParams) SetCredentialCanonical(credentialCanonical string)
- func (o *GetCredentialParams) SetHTTPClient(client *http.Client)
- func (o *GetCredentialParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetCredentialParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialParams) WithContext(ctx context.Context) *GetCredentialParams
- func (o *GetCredentialParams) WithCredentialCanonical(credentialCanonical string) *GetCredentialParams
- func (o *GetCredentialParams) WithHTTPClient(client *http.Client) *GetCredentialParams
- func (o *GetCredentialParams) WithOrganizationCanonical(organizationCanonical string) *GetCredentialParams
- func (o *GetCredentialParams) WithTimeout(timeout time.Duration) *GetCredentialParams
- func (o *GetCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialReader
- type GetCredentialsDefault
- type GetCredentialsForbidden
- type GetCredentialsNotFound
- type GetCredentialsOK
- type GetCredentialsOKBody
- type GetCredentialsParams
- func NewGetCredentialsParams() *GetCredentialsParams
- func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
- func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
- func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) SetContext(ctx context.Context)
- func (o *GetCredentialsParams) SetCredentialType(credentialType *string)
- func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetCredentialsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetCredentialsParams) SetPageIndex(pageIndex *uint32)
- func (o *GetCredentialsParams) SetPageSize(pageSize *uint32)
- func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
- func (o *GetCredentialsParams) WithCredentialType(credentialType *string) *GetCredentialsParams
- func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
- func (o *GetCredentialsParams) WithOrganizationCanonical(organizationCanonical string) *GetCredentialsParams
- func (o *GetCredentialsParams) WithPageIndex(pageIndex *uint32) *GetCredentialsParams
- func (o *GetCredentialsParams) WithPageSize(pageSize *uint32) *GetCredentialsParams
- func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialsReader
- type UpdateCredentialDefault
- type UpdateCredentialForbidden
- type UpdateCredentialLengthRequired
- type UpdateCredentialNotFound
- type UpdateCredentialOK
- type UpdateCredentialOKBody
- type UpdateCredentialParams
- func NewUpdateCredentialParams() *UpdateCredentialParams
- func NewUpdateCredentialParamsWithContext(ctx context.Context) *UpdateCredentialParams
- func NewUpdateCredentialParamsWithHTTPClient(client *http.Client) *UpdateCredentialParams
- func NewUpdateCredentialParamsWithTimeout(timeout time.Duration) *UpdateCredentialParams
- func (o *UpdateCredentialParams) SetBody(body *models.UpdateCredential)
- func (o *UpdateCredentialParams) SetContext(ctx context.Context)
- func (o *UpdateCredentialParams) SetCredentialCanonical(credentialCanonical string)
- func (o *UpdateCredentialParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCredentialParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateCredentialParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCredentialParams) WithBody(body *models.UpdateCredential) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithContext(ctx context.Context) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithCredentialCanonical(credentialCanonical string) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithHTTPClient(client *http.Client) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithOrganizationCanonical(organizationCanonical string) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WithTimeout(timeout time.Duration) *UpdateCredentialParams
- func (o *UpdateCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCredentialReader
- type UpdateCredentialUnprocessableEntity
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 credentials API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new organization credentials API client.
func (*Client) CreateCredential ¶
func (a *Client) CreateCredential(params *CreateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCredentialOK, error)
CreateCredential Create a new Credential, based on the type you will have to pass different parameters within the body: * ssh: ssh_key * aws: access_key, secret_key * gcp: json_key * azure: client_id, client_secret, subscription_id, tenant_id * azure_storage: account_name, access_key * basic_auth: username, password * elasticsearch: username, password, ca_cert * swift: auth_url, username, password, domain_id, tenant_id
func (*Client) DeleteCredential ¶
func (a *Client) DeleteCredential(params *DeleteCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialNoContent, error)
DeleteCredential Delete the Credential.
func (*Client) GetCredential ¶
func (a *Client) GetCredential(params *GetCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialOK, error)
GetCredential Get the information of the Credential.
func (*Client) GetCredentials ¶
func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error)
GetCredentials Return all the Credentials
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCredential ¶
func (a *Client) UpdateCredential(params *UpdateCredentialParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCredentialOK, error)
UpdateCredential Update an existing Credential, based on the type you will have to pass different parameters within the body: * ssh: ssh_key * aws: access_key, secret_key * gcp: json_key * azure: client_id, client_secret, subscription_id, tenant_id * azure_storage: account_name, access_key * basic_auth: username, password * elasticsearch: username, password, ca_cert * swift: auth_url, username, password, domain_id, tenant_id
type CreateCredentialDefault ¶
type CreateCredentialDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
CreateCredentialDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateCredentialDefault ¶
func NewCreateCredentialDefault(code int) *CreateCredentialDefault
NewCreateCredentialDefault creates a CreateCredentialDefault with default headers values
func (*CreateCredentialDefault) Code ¶
func (o *CreateCredentialDefault) Code() int
Code gets the status code for the create credential default response
func (*CreateCredentialDefault) Error ¶
func (o *CreateCredentialDefault) Error() string
func (*CreateCredentialDefault) GetPayload ¶
func (o *CreateCredentialDefault) GetPayload() *models.ErrorPayload
type CreateCredentialLengthRequired ¶
type CreateCredentialLengthRequired struct { }
CreateCredentialLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewCreateCredentialLengthRequired ¶
func NewCreateCredentialLengthRequired() *CreateCredentialLengthRequired
NewCreateCredentialLengthRequired creates a CreateCredentialLengthRequired with default headers values
func (*CreateCredentialLengthRequired) Error ¶
func (o *CreateCredentialLengthRequired) Error() string
type CreateCredentialOK ¶
type CreateCredentialOK struct {
Payload *CreateCredentialOKBody
}
CreateCredentialOK handles this case with default header values.
Credential created. The body contains the information of the new created Credential.
func NewCreateCredentialOK ¶
func NewCreateCredentialOK() *CreateCredentialOK
NewCreateCredentialOK creates a CreateCredentialOK with default headers values
func (*CreateCredentialOK) Error ¶
func (o *CreateCredentialOK) Error() string
func (*CreateCredentialOK) GetPayload ¶
func (o *CreateCredentialOK) GetPayload() *CreateCredentialOKBody
type CreateCredentialOKBody ¶
type CreateCredentialOKBody struct { // data // Required: true Data *models.Credential `json:"data"` }
CreateCredentialOKBody create credential o k body swagger:model CreateCredentialOKBody
func (*CreateCredentialOKBody) MarshalBinary ¶
func (o *CreateCredentialOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCredentialOKBody) UnmarshalBinary ¶
func (o *CreateCredentialOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCredentialParams ¶
type CreateCredentialParams struct { /*Body The information of the organization to create. */ Body *models.CreateCredential /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCredentialParams contains all the parameters to send to the API endpoint for the create credential operation typically these are written to a http.Request
func NewCreateCredentialParams ¶
func NewCreateCredentialParams() *CreateCredentialParams
NewCreateCredentialParams creates a new CreateCredentialParams object with the default values initialized.
func NewCreateCredentialParamsWithContext ¶
func NewCreateCredentialParamsWithContext(ctx context.Context) *CreateCredentialParams
NewCreateCredentialParamsWithContext creates a new CreateCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewCreateCredentialParamsWithHTTPClient ¶
func NewCreateCredentialParamsWithHTTPClient(client *http.Client) *CreateCredentialParams
NewCreateCredentialParamsWithHTTPClient creates a new CreateCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateCredentialParamsWithTimeout ¶
func NewCreateCredentialParamsWithTimeout(timeout time.Duration) *CreateCredentialParams
NewCreateCredentialParamsWithTimeout creates a new CreateCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateCredentialParams) SetBody ¶
func (o *CreateCredentialParams) SetBody(body *models.CreateCredential)
SetBody adds the body to the create credential params
func (*CreateCredentialParams) SetContext ¶
func (o *CreateCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the create credential params
func (*CreateCredentialParams) SetHTTPClient ¶
func (o *CreateCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create credential params
func (*CreateCredentialParams) SetOrganizationCanonical ¶
func (o *CreateCredentialParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the create credential params
func (*CreateCredentialParams) SetTimeout ¶
func (o *CreateCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create credential params
func (*CreateCredentialParams) WithBody ¶
func (o *CreateCredentialParams) WithBody(body *models.CreateCredential) *CreateCredentialParams
WithBody adds the body to the create credential params
func (*CreateCredentialParams) WithContext ¶
func (o *CreateCredentialParams) WithContext(ctx context.Context) *CreateCredentialParams
WithContext adds the context to the create credential params
func (*CreateCredentialParams) WithHTTPClient ¶
func (o *CreateCredentialParams) WithHTTPClient(client *http.Client) *CreateCredentialParams
WithHTTPClient adds the HTTPClient to the create credential params
func (*CreateCredentialParams) WithOrganizationCanonical ¶
func (o *CreateCredentialParams) WithOrganizationCanonical(organizationCanonical string) *CreateCredentialParams
WithOrganizationCanonical adds the organizationCanonical to the create credential params
func (*CreateCredentialParams) WithTimeout ¶
func (o *CreateCredentialParams) WithTimeout(timeout time.Duration) *CreateCredentialParams
WithTimeout adds the timeout to the create credential params
func (*CreateCredentialParams) WriteToRequest ¶
func (o *CreateCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCredentialReader ¶
type CreateCredentialReader struct {
// contains filtered or unexported fields
}
CreateCredentialReader is a Reader for the CreateCredential structure.
func (*CreateCredentialReader) ReadResponse ¶
func (o *CreateCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCredentialUnprocessableEntity ¶
type CreateCredentialUnprocessableEntity struct {
Payload *models.ErrorPayload
}
CreateCredentialUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewCreateCredentialUnprocessableEntity ¶
func NewCreateCredentialUnprocessableEntity() *CreateCredentialUnprocessableEntity
NewCreateCredentialUnprocessableEntity creates a CreateCredentialUnprocessableEntity with default headers values
func (*CreateCredentialUnprocessableEntity) Error ¶
func (o *CreateCredentialUnprocessableEntity) Error() string
func (*CreateCredentialUnprocessableEntity) GetPayload ¶
func (o *CreateCredentialUnprocessableEntity) GetPayload() *models.ErrorPayload
type DeleteCredentialConflict ¶
type DeleteCredentialConflict struct { }
DeleteCredentialConflict handles this case with default header values.
Credential deletion has internal conflict
func NewDeleteCredentialConflict ¶
func NewDeleteCredentialConflict() *DeleteCredentialConflict
NewDeleteCredentialConflict creates a DeleteCredentialConflict with default headers values
func (*DeleteCredentialConflict) Error ¶
func (o *DeleteCredentialConflict) Error() string
type DeleteCredentialDefault ¶
type DeleteCredentialDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
DeleteCredentialDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteCredentialDefault ¶
func NewDeleteCredentialDefault(code int) *DeleteCredentialDefault
NewDeleteCredentialDefault creates a DeleteCredentialDefault with default headers values
func (*DeleteCredentialDefault) Code ¶
func (o *DeleteCredentialDefault) Code() int
Code gets the status code for the delete credential default response
func (*DeleteCredentialDefault) Error ¶
func (o *DeleteCredentialDefault) Error() string
func (*DeleteCredentialDefault) GetPayload ¶
func (o *DeleteCredentialDefault) GetPayload() *models.ErrorPayload
type DeleteCredentialForbidden ¶
type DeleteCredentialForbidden struct {
Payload *models.ErrorPayload
}
DeleteCredentialForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewDeleteCredentialForbidden ¶
func NewDeleteCredentialForbidden() *DeleteCredentialForbidden
NewDeleteCredentialForbidden creates a DeleteCredentialForbidden with default headers values
func (*DeleteCredentialForbidden) Error ¶
func (o *DeleteCredentialForbidden) Error() string
func (*DeleteCredentialForbidden) GetPayload ¶
func (o *DeleteCredentialForbidden) GetPayload() *models.ErrorPayload
type DeleteCredentialNoContent ¶
type DeleteCredentialNoContent struct { }
DeleteCredentialNoContent handles this case with default header values.
Credential has been deleted.
func NewDeleteCredentialNoContent ¶
func NewDeleteCredentialNoContent() *DeleteCredentialNoContent
NewDeleteCredentialNoContent creates a DeleteCredentialNoContent with default headers values
func (*DeleteCredentialNoContent) Error ¶
func (o *DeleteCredentialNoContent) Error() string
type DeleteCredentialNotFound ¶
type DeleteCredentialNotFound struct {
Payload *models.ErrorPayload
}
DeleteCredentialNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewDeleteCredentialNotFound ¶
func NewDeleteCredentialNotFound() *DeleteCredentialNotFound
NewDeleteCredentialNotFound creates a DeleteCredentialNotFound with default headers values
func (*DeleteCredentialNotFound) Error ¶
func (o *DeleteCredentialNotFound) Error() string
func (*DeleteCredentialNotFound) GetPayload ¶
func (o *DeleteCredentialNotFound) GetPayload() *models.ErrorPayload
type DeleteCredentialParams ¶
type DeleteCredentialParams struct { /*CredentialCanonical A Credential canonical */ CredentialCanonical string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCredentialParams contains all the parameters to send to the API endpoint for the delete credential operation typically these are written to a http.Request
func NewDeleteCredentialParams ¶
func NewDeleteCredentialParams() *DeleteCredentialParams
NewDeleteCredentialParams creates a new DeleteCredentialParams object with the default values initialized.
func NewDeleteCredentialParamsWithContext ¶
func NewDeleteCredentialParamsWithContext(ctx context.Context) *DeleteCredentialParams
NewDeleteCredentialParamsWithContext creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCredentialParamsWithHTTPClient ¶
func NewDeleteCredentialParamsWithHTTPClient(client *http.Client) *DeleteCredentialParams
NewDeleteCredentialParamsWithHTTPClient creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCredentialParamsWithTimeout ¶
func NewDeleteCredentialParamsWithTimeout(timeout time.Duration) *DeleteCredentialParams
NewDeleteCredentialParamsWithTimeout creates a new DeleteCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCredentialParams) SetContext ¶
func (o *DeleteCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the delete credential params
func (*DeleteCredentialParams) SetCredentialCanonical ¶ added in v1.0.58
func (o *DeleteCredentialParams) SetCredentialCanonical(credentialCanonical string)
SetCredentialCanonical adds the credentialCanonical to the delete credential params
func (*DeleteCredentialParams) SetHTTPClient ¶
func (o *DeleteCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete credential params
func (*DeleteCredentialParams) SetOrganizationCanonical ¶
func (o *DeleteCredentialParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the delete credential params
func (*DeleteCredentialParams) SetTimeout ¶
func (o *DeleteCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete credential params
func (*DeleteCredentialParams) WithContext ¶
func (o *DeleteCredentialParams) WithContext(ctx context.Context) *DeleteCredentialParams
WithContext adds the context to the delete credential params
func (*DeleteCredentialParams) WithCredentialCanonical ¶ added in v1.0.58
func (o *DeleteCredentialParams) WithCredentialCanonical(credentialCanonical string) *DeleteCredentialParams
WithCredentialCanonical adds the credentialCanonical to the delete credential params
func (*DeleteCredentialParams) WithHTTPClient ¶
func (o *DeleteCredentialParams) WithHTTPClient(client *http.Client) *DeleteCredentialParams
WithHTTPClient adds the HTTPClient to the delete credential params
func (*DeleteCredentialParams) WithOrganizationCanonical ¶
func (o *DeleteCredentialParams) WithOrganizationCanonical(organizationCanonical string) *DeleteCredentialParams
WithOrganizationCanonical adds the organizationCanonical to the delete credential params
func (*DeleteCredentialParams) WithTimeout ¶
func (o *DeleteCredentialParams) WithTimeout(timeout time.Duration) *DeleteCredentialParams
WithTimeout adds the timeout to the delete credential params
func (*DeleteCredentialParams) WriteToRequest ¶
func (o *DeleteCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCredentialReader ¶
type DeleteCredentialReader struct {
// contains filtered or unexported fields
}
DeleteCredentialReader is a Reader for the DeleteCredential structure.
func (*DeleteCredentialReader) ReadResponse ¶
func (o *DeleteCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCredentialDefault ¶
type GetCredentialDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
GetCredentialDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetCredentialDefault ¶
func NewGetCredentialDefault(code int) *GetCredentialDefault
NewGetCredentialDefault creates a GetCredentialDefault with default headers values
func (*GetCredentialDefault) Code ¶
func (o *GetCredentialDefault) Code() int
Code gets the status code for the get credential default response
func (*GetCredentialDefault) Error ¶
func (o *GetCredentialDefault) Error() string
func (*GetCredentialDefault) GetPayload ¶
func (o *GetCredentialDefault) GetPayload() *models.ErrorPayload
type GetCredentialForbidden ¶
type GetCredentialForbidden struct {
Payload *models.ErrorPayload
}
GetCredentialForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetCredentialForbidden ¶
func NewGetCredentialForbidden() *GetCredentialForbidden
NewGetCredentialForbidden creates a GetCredentialForbidden with default headers values
func (*GetCredentialForbidden) Error ¶
func (o *GetCredentialForbidden) Error() string
func (*GetCredentialForbidden) GetPayload ¶
func (o *GetCredentialForbidden) GetPayload() *models.ErrorPayload
type GetCredentialNotFound ¶
type GetCredentialNotFound struct {
Payload *models.ErrorPayload
}
GetCredentialNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetCredentialNotFound ¶
func NewGetCredentialNotFound() *GetCredentialNotFound
NewGetCredentialNotFound creates a GetCredentialNotFound with default headers values
func (*GetCredentialNotFound) Error ¶
func (o *GetCredentialNotFound) Error() string
func (*GetCredentialNotFound) GetPayload ¶
func (o *GetCredentialNotFound) GetPayload() *models.ErrorPayload
type GetCredentialOK ¶
type GetCredentialOK struct {
Payload *GetCredentialOKBody
}
GetCredentialOK handles this case with default header values.
The information of the Credential which has the specified ID.
func NewGetCredentialOK ¶
func NewGetCredentialOK() *GetCredentialOK
NewGetCredentialOK creates a GetCredentialOK with default headers values
func (*GetCredentialOK) Error ¶
func (o *GetCredentialOK) Error() string
func (*GetCredentialOK) GetPayload ¶
func (o *GetCredentialOK) GetPayload() *GetCredentialOKBody
type GetCredentialOKBody ¶
type GetCredentialOKBody struct { // data // Required: true Data *models.Credential `json:"data"` }
GetCredentialOKBody get credential o k body swagger:model GetCredentialOKBody
func (*GetCredentialOKBody) MarshalBinary ¶
func (o *GetCredentialOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCredentialOKBody) UnmarshalBinary ¶
func (o *GetCredentialOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCredentialParams ¶
type GetCredentialParams struct { /*CredentialCanonical A Credential canonical */ CredentialCanonical string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCredentialParams contains all the parameters to send to the API endpoint for the get credential operation typically these are written to a http.Request
func NewGetCredentialParams ¶
func NewGetCredentialParams() *GetCredentialParams
NewGetCredentialParams creates a new GetCredentialParams object with the default values initialized.
func NewGetCredentialParamsWithContext ¶
func NewGetCredentialParamsWithContext(ctx context.Context) *GetCredentialParams
NewGetCredentialParamsWithContext creates a new GetCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewGetCredentialParamsWithHTTPClient ¶
func NewGetCredentialParamsWithHTTPClient(client *http.Client) *GetCredentialParams
NewGetCredentialParamsWithHTTPClient creates a new GetCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCredentialParamsWithTimeout ¶
func NewGetCredentialParamsWithTimeout(timeout time.Duration) *GetCredentialParams
NewGetCredentialParamsWithTimeout creates a new GetCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCredentialParams) SetContext ¶
func (o *GetCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the get credential params
func (*GetCredentialParams) SetCredentialCanonical ¶ added in v1.0.58
func (o *GetCredentialParams) SetCredentialCanonical(credentialCanonical string)
SetCredentialCanonical adds the credentialCanonical to the get credential params
func (*GetCredentialParams) SetHTTPClient ¶
func (o *GetCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get credential params
func (*GetCredentialParams) SetOrganizationCanonical ¶
func (o *GetCredentialParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get credential params
func (*GetCredentialParams) SetTimeout ¶
func (o *GetCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get credential params
func (*GetCredentialParams) WithContext ¶
func (o *GetCredentialParams) WithContext(ctx context.Context) *GetCredentialParams
WithContext adds the context to the get credential params
func (*GetCredentialParams) WithCredentialCanonical ¶ added in v1.0.58
func (o *GetCredentialParams) WithCredentialCanonical(credentialCanonical string) *GetCredentialParams
WithCredentialCanonical adds the credentialCanonical to the get credential params
func (*GetCredentialParams) WithHTTPClient ¶
func (o *GetCredentialParams) WithHTTPClient(client *http.Client) *GetCredentialParams
WithHTTPClient adds the HTTPClient to the get credential params
func (*GetCredentialParams) WithOrganizationCanonical ¶
func (o *GetCredentialParams) WithOrganizationCanonical(organizationCanonical string) *GetCredentialParams
WithOrganizationCanonical adds the organizationCanonical to the get credential params
func (*GetCredentialParams) WithTimeout ¶
func (o *GetCredentialParams) WithTimeout(timeout time.Duration) *GetCredentialParams
WithTimeout adds the timeout to the get credential params
func (*GetCredentialParams) WriteToRequest ¶
func (o *GetCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCredentialReader ¶
type GetCredentialReader struct {
// contains filtered or unexported fields
}
GetCredentialReader is a Reader for the GetCredential structure.
func (*GetCredentialReader) ReadResponse ¶
func (o *GetCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCredentialsDefault ¶
type GetCredentialsDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
GetCredentialsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetCredentialsDefault ¶
func NewGetCredentialsDefault(code int) *GetCredentialsDefault
NewGetCredentialsDefault creates a GetCredentialsDefault with default headers values
func (*GetCredentialsDefault) Code ¶
func (o *GetCredentialsDefault) Code() int
Code gets the status code for the get credentials default response
func (*GetCredentialsDefault) Error ¶
func (o *GetCredentialsDefault) Error() string
func (*GetCredentialsDefault) GetPayload ¶
func (o *GetCredentialsDefault) GetPayload() *models.ErrorPayload
type GetCredentialsForbidden ¶
type GetCredentialsForbidden struct {
Payload *models.ErrorPayload
}
GetCredentialsForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetCredentialsForbidden ¶
func NewGetCredentialsForbidden() *GetCredentialsForbidden
NewGetCredentialsForbidden creates a GetCredentialsForbidden with default headers values
func (*GetCredentialsForbidden) Error ¶
func (o *GetCredentialsForbidden) Error() string
func (*GetCredentialsForbidden) GetPayload ¶
func (o *GetCredentialsForbidden) GetPayload() *models.ErrorPayload
type GetCredentialsNotFound ¶
type GetCredentialsNotFound struct {
Payload *models.ErrorPayload
}
GetCredentialsNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetCredentialsNotFound ¶
func NewGetCredentialsNotFound() *GetCredentialsNotFound
NewGetCredentialsNotFound creates a GetCredentialsNotFound with default headers values
func (*GetCredentialsNotFound) Error ¶
func (o *GetCredentialsNotFound) Error() string
func (*GetCredentialsNotFound) GetPayload ¶
func (o *GetCredentialsNotFound) GetPayload() *models.ErrorPayload
type GetCredentialsOK ¶
type GetCredentialsOK struct {
Payload *GetCredentialsOKBody
}
GetCredentialsOK handles this case with default header values.
List of the Credentials
func NewGetCredentialsOK ¶
func NewGetCredentialsOK() *GetCredentialsOK
NewGetCredentialsOK creates a GetCredentialsOK with default headers values
func (*GetCredentialsOK) Error ¶
func (o *GetCredentialsOK) Error() string
func (*GetCredentialsOK) GetPayload ¶
func (o *GetCredentialsOK) GetPayload() *GetCredentialsOKBody
type GetCredentialsOKBody ¶
type GetCredentialsOKBody struct { // data // Required: true Data []*models.CredentialSimple `json:"data"` // pagination // Required: true Pagination *models.Pagination `json:"pagination"` }
GetCredentialsOKBody get credentials o k body swagger:model GetCredentialsOKBody
func (*GetCredentialsOKBody) MarshalBinary ¶
func (o *GetCredentialsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCredentialsOKBody) UnmarshalBinary ¶
func (o *GetCredentialsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCredentialsParams ¶
type GetCredentialsParams struct { /*CredentialType A Credential type */ CredentialType *string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*PageIndex The page number to request. The first page is 1. */ PageIndex *uint32 /*PageSize The number of items at most which the response can have. */ PageSize *uint32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCredentialsParams contains all the parameters to send to the API endpoint for the get credentials operation typically these are written to a http.Request
func NewGetCredentialsParams ¶
func NewGetCredentialsParams() *GetCredentialsParams
NewGetCredentialsParams creates a new GetCredentialsParams object with the default values initialized.
func NewGetCredentialsParamsWithContext ¶
func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
NewGetCredentialsParamsWithContext creates a new GetCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCredentialsParamsWithHTTPClient ¶
func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
NewGetCredentialsParamsWithHTTPClient creates a new GetCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCredentialsParamsWithTimeout ¶
func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
NewGetCredentialsParamsWithTimeout creates a new GetCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCredentialsParams) SetContext ¶
func (o *GetCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the get credentials params
func (*GetCredentialsParams) SetCredentialType ¶
func (o *GetCredentialsParams) SetCredentialType(credentialType *string)
SetCredentialType adds the credentialType to the get credentials params
func (*GetCredentialsParams) SetHTTPClient ¶
func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) SetOrganizationCanonical ¶
func (o *GetCredentialsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get credentials params
func (*GetCredentialsParams) SetPageIndex ¶
func (o *GetCredentialsParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the get credentials params
func (*GetCredentialsParams) SetPageSize ¶
func (o *GetCredentialsParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the get credentials params
func (*GetCredentialsParams) SetTimeout ¶
func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get credentials params
func (*GetCredentialsParams) WithContext ¶
func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
WithContext adds the context to the get credentials params
func (*GetCredentialsParams) WithCredentialType ¶
func (o *GetCredentialsParams) WithCredentialType(credentialType *string) *GetCredentialsParams
WithCredentialType adds the credentialType to the get credentials params
func (*GetCredentialsParams) WithHTTPClient ¶
func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
WithHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) WithOrganizationCanonical ¶
func (o *GetCredentialsParams) WithOrganizationCanonical(organizationCanonical string) *GetCredentialsParams
WithOrganizationCanonical adds the organizationCanonical to the get credentials params
func (*GetCredentialsParams) WithPageIndex ¶
func (o *GetCredentialsParams) WithPageIndex(pageIndex *uint32) *GetCredentialsParams
WithPageIndex adds the pageIndex to the get credentials params
func (*GetCredentialsParams) WithPageSize ¶
func (o *GetCredentialsParams) WithPageSize(pageSize *uint32) *GetCredentialsParams
WithPageSize adds the pageSize to the get credentials params
func (*GetCredentialsParams) WithTimeout ¶
func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
WithTimeout adds the timeout to the get credentials params
func (*GetCredentialsParams) WriteToRequest ¶
func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCredentialsReader ¶
type GetCredentialsReader struct {
// contains filtered or unexported fields
}
GetCredentialsReader is a Reader for the GetCredentials structure.
func (*GetCredentialsReader) ReadResponse ¶
func (o *GetCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCredentialDefault ¶
type UpdateCredentialDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
UpdateCredentialDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateCredentialDefault ¶
func NewUpdateCredentialDefault(code int) *UpdateCredentialDefault
NewUpdateCredentialDefault creates a UpdateCredentialDefault with default headers values
func (*UpdateCredentialDefault) Code ¶
func (o *UpdateCredentialDefault) Code() int
Code gets the status code for the update credential default response
func (*UpdateCredentialDefault) Error ¶
func (o *UpdateCredentialDefault) Error() string
func (*UpdateCredentialDefault) GetPayload ¶
func (o *UpdateCredentialDefault) GetPayload() *models.ErrorPayload
type UpdateCredentialForbidden ¶
type UpdateCredentialForbidden struct {
Payload *models.ErrorPayload
}
UpdateCredentialForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewUpdateCredentialForbidden ¶
func NewUpdateCredentialForbidden() *UpdateCredentialForbidden
NewUpdateCredentialForbidden creates a UpdateCredentialForbidden with default headers values
func (*UpdateCredentialForbidden) Error ¶
func (o *UpdateCredentialForbidden) Error() string
func (*UpdateCredentialForbidden) GetPayload ¶
func (o *UpdateCredentialForbidden) GetPayload() *models.ErrorPayload
type UpdateCredentialLengthRequired ¶
type UpdateCredentialLengthRequired struct { }
UpdateCredentialLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewUpdateCredentialLengthRequired ¶
func NewUpdateCredentialLengthRequired() *UpdateCredentialLengthRequired
NewUpdateCredentialLengthRequired creates a UpdateCredentialLengthRequired with default headers values
func (*UpdateCredentialLengthRequired) Error ¶
func (o *UpdateCredentialLengthRequired) Error() string
type UpdateCredentialNotFound ¶
type UpdateCredentialNotFound struct {
Payload *models.ErrorPayload
}
UpdateCredentialNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewUpdateCredentialNotFound ¶
func NewUpdateCredentialNotFound() *UpdateCredentialNotFound
NewUpdateCredentialNotFound creates a UpdateCredentialNotFound with default headers values
func (*UpdateCredentialNotFound) Error ¶
func (o *UpdateCredentialNotFound) Error() string
func (*UpdateCredentialNotFound) GetPayload ¶
func (o *UpdateCredentialNotFound) GetPayload() *models.ErrorPayload
type UpdateCredentialOK ¶
type UpdateCredentialOK struct {
Payload *UpdateCredentialOKBody
}
UpdateCredentialOK handles this case with default header values.
Credential updated.
func NewUpdateCredentialOK ¶
func NewUpdateCredentialOK() *UpdateCredentialOK
NewUpdateCredentialOK creates a UpdateCredentialOK with default headers values
func (*UpdateCredentialOK) Error ¶
func (o *UpdateCredentialOK) Error() string
func (*UpdateCredentialOK) GetPayload ¶
func (o *UpdateCredentialOK) GetPayload() *UpdateCredentialOKBody
type UpdateCredentialOKBody ¶
type UpdateCredentialOKBody struct { // data // Required: true Data *models.Credential `json:"data"` }
UpdateCredentialOKBody update credential o k body swagger:model UpdateCredentialOKBody
func (*UpdateCredentialOKBody) MarshalBinary ¶
func (o *UpdateCredentialOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCredentialOKBody) UnmarshalBinary ¶
func (o *UpdateCredentialOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCredentialParams ¶
type UpdateCredentialParams struct { /*Body The information of the organization to update. */ Body *models.UpdateCredential /*CredentialCanonical A Credential canonical */ CredentialCanonical string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCredentialParams contains all the parameters to send to the API endpoint for the update credential operation typically these are written to a http.Request
func NewUpdateCredentialParams ¶
func NewUpdateCredentialParams() *UpdateCredentialParams
NewUpdateCredentialParams creates a new UpdateCredentialParams object with the default values initialized.
func NewUpdateCredentialParamsWithContext ¶
func NewUpdateCredentialParamsWithContext(ctx context.Context) *UpdateCredentialParams
NewUpdateCredentialParamsWithContext creates a new UpdateCredentialParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateCredentialParamsWithHTTPClient ¶
func NewUpdateCredentialParamsWithHTTPClient(client *http.Client) *UpdateCredentialParams
NewUpdateCredentialParamsWithHTTPClient creates a new UpdateCredentialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateCredentialParamsWithTimeout ¶
func NewUpdateCredentialParamsWithTimeout(timeout time.Duration) *UpdateCredentialParams
NewUpdateCredentialParamsWithTimeout creates a new UpdateCredentialParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateCredentialParams) SetBody ¶
func (o *UpdateCredentialParams) SetBody(body *models.UpdateCredential)
SetBody adds the body to the update credential params
func (*UpdateCredentialParams) SetContext ¶
func (o *UpdateCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the update credential params
func (*UpdateCredentialParams) SetCredentialCanonical ¶ added in v1.0.58
func (o *UpdateCredentialParams) SetCredentialCanonical(credentialCanonical string)
SetCredentialCanonical adds the credentialCanonical to the update credential params
func (*UpdateCredentialParams) SetHTTPClient ¶
func (o *UpdateCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update credential params
func (*UpdateCredentialParams) SetOrganizationCanonical ¶
func (o *UpdateCredentialParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the update credential params
func (*UpdateCredentialParams) SetTimeout ¶
func (o *UpdateCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update credential params
func (*UpdateCredentialParams) WithBody ¶
func (o *UpdateCredentialParams) WithBody(body *models.UpdateCredential) *UpdateCredentialParams
WithBody adds the body to the update credential params
func (*UpdateCredentialParams) WithContext ¶
func (o *UpdateCredentialParams) WithContext(ctx context.Context) *UpdateCredentialParams
WithContext adds the context to the update credential params
func (*UpdateCredentialParams) WithCredentialCanonical ¶ added in v1.0.58
func (o *UpdateCredentialParams) WithCredentialCanonical(credentialCanonical string) *UpdateCredentialParams
WithCredentialCanonical adds the credentialCanonical to the update credential params
func (*UpdateCredentialParams) WithHTTPClient ¶
func (o *UpdateCredentialParams) WithHTTPClient(client *http.Client) *UpdateCredentialParams
WithHTTPClient adds the HTTPClient to the update credential params
func (*UpdateCredentialParams) WithOrganizationCanonical ¶
func (o *UpdateCredentialParams) WithOrganizationCanonical(organizationCanonical string) *UpdateCredentialParams
WithOrganizationCanonical adds the organizationCanonical to the update credential params
func (*UpdateCredentialParams) WithTimeout ¶
func (o *UpdateCredentialParams) WithTimeout(timeout time.Duration) *UpdateCredentialParams
WithTimeout adds the timeout to the update credential params
func (*UpdateCredentialParams) WriteToRequest ¶
func (o *UpdateCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCredentialReader ¶
type UpdateCredentialReader struct {
// contains filtered or unexported fields
}
UpdateCredentialReader is a Reader for the UpdateCredential structure.
func (*UpdateCredentialReader) ReadResponse ¶
func (o *UpdateCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCredentialUnprocessableEntity ¶
type UpdateCredentialUnprocessableEntity struct {
Payload *models.ErrorPayload
}
UpdateCredentialUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateCredentialUnprocessableEntity ¶
func NewUpdateCredentialUnprocessableEntity() *UpdateCredentialUnprocessableEntity
NewUpdateCredentialUnprocessableEntity creates a UpdateCredentialUnprocessableEntity with default headers values
func (*UpdateCredentialUnprocessableEntity) Error ¶
func (o *UpdateCredentialUnprocessableEntity) Error() string
func (*UpdateCredentialUnprocessableEntity) GetPayload ¶
func (o *UpdateCredentialUnprocessableEntity) GetPayload() *models.ErrorPayload
Source Files ¶
- create_credential_parameters.go
- create_credential_responses.go
- delete_credential_parameters.go
- delete_credential_responses.go
- get_credential_parameters.go
- get_credential_responses.go
- get_credentials_parameters.go
- get_credentials_responses.go
- organization_credentials_client.go
- update_credential_parameters.go
- update_credential_responses.go