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) GetCredentialOptions(params *GetCredentialOptionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialOptionsOK, error)
- func (a *Client) ListCredentials(params *ListCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListCredentialsOK, 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.NewCredential)
- 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.NewCredential) *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 GetCredentialOptionsDefault
- type GetCredentialOptionsForbidden
- type GetCredentialOptionsNotFound
- type GetCredentialOptionsOK
- type GetCredentialOptionsOKBody
- type GetCredentialOptionsParams
- func NewGetCredentialOptionsParams() *GetCredentialOptionsParams
- func NewGetCredentialOptionsParamsWithContext(ctx context.Context) *GetCredentialOptionsParams
- func NewGetCredentialOptionsParamsWithHTTPClient(client *http.Client) *GetCredentialOptionsParams
- func NewGetCredentialOptionsParamsWithTimeout(timeout time.Duration) *GetCredentialOptionsParams
- func (o *GetCredentialOptionsParams) SetContext(ctx context.Context)
- func (o *GetCredentialOptionsParams) SetCredentialCanonical(credentialCanonical string)
- func (o *GetCredentialOptionsParams) SetHTTPClient(client *http.Client)
- func (o *GetCredentialOptionsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetCredentialOptionsParams) SetService(service string)
- func (o *GetCredentialOptionsParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialOptionsParams) WithContext(ctx context.Context) *GetCredentialOptionsParams
- func (o *GetCredentialOptionsParams) WithCredentialCanonical(credentialCanonical string) *GetCredentialOptionsParams
- func (o *GetCredentialOptionsParams) WithHTTPClient(client *http.Client) *GetCredentialOptionsParams
- func (o *GetCredentialOptionsParams) WithOrganizationCanonical(organizationCanonical string) *GetCredentialOptionsParams
- func (o *GetCredentialOptionsParams) WithService(service string) *GetCredentialOptionsParams
- func (o *GetCredentialOptionsParams) WithTimeout(timeout time.Duration) *GetCredentialOptionsParams
- func (o *GetCredentialOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialOptionsReader
- 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 ListCredentialsDefault
- type ListCredentialsForbidden
- type ListCredentialsNotFound
- type ListCredentialsOK
- type ListCredentialsOKBody
- type ListCredentialsParams
- func NewListCredentialsParams() *ListCredentialsParams
- func NewListCredentialsParamsWithContext(ctx context.Context) *ListCredentialsParams
- func NewListCredentialsParamsWithHTTPClient(client *http.Client) *ListCredentialsParams
- func NewListCredentialsParamsWithTimeout(timeout time.Duration) *ListCredentialsParams
- func (o *ListCredentialsParams) SetContext(ctx context.Context)
- func (o *ListCredentialsParams) SetCredentialType(credentialType *string)
- func (o *ListCredentialsParams) SetCredentialTypes(credentialTypes []string)
- func (o *ListCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListCredentialsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *ListCredentialsParams) SetPageIndex(pageIndex *uint32)
- func (o *ListCredentialsParams) SetPageSize(pageSize *uint32)
- func (o *ListCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListCredentialsParams) WithContext(ctx context.Context) *ListCredentialsParams
- func (o *ListCredentialsParams) WithCredentialType(credentialType *string) *ListCredentialsParams
- func (o *ListCredentialsParams) WithCredentialTypes(credentialTypes []string) *ListCredentialsParams
- func (o *ListCredentialsParams) WithHTTPClient(client *http.Client) *ListCredentialsParams
- func (o *ListCredentialsParams) WithOrganizationCanonical(organizationCanonical string) *ListCredentialsParams
- func (o *ListCredentialsParams) WithPageIndex(pageIndex *uint32) *ListCredentialsParams
- func (o *ListCredentialsParams) WithPageSize(pageSize *uint32) *ListCredentialsParams
- func (o *ListCredentialsParams) WithTimeout(timeout time.Duration) *ListCredentialsParams
- func (o *ListCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCredentialsReader
- 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) GetCredentialOptions ¶ added in v1.0.97
func (a *Client) GetCredentialOptions(params *GetCredentialOptionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialOptionsOK, error)
GetCredentialOptions Get options of the Credential.
func (*Client) ListCredentials ¶ added in v1.0.88
func (a *Client) ListCredentials(params *ListCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListCredentialsOK, error)
ListCredentials Return all the Credentials, depending on the caller permissions it'll return the Raw data or not. If the caller has List and not Get it'll not return the Raw, if it has List and Read it'll return the Raw.
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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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.NewCredential /*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.NewCredential)
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.NewCredential) *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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 GetCredentialOptionsDefault ¶ added in v1.0.97
type GetCredentialOptionsDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload // contains filtered or unexported fields }
GetCredentialOptionsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetCredentialOptionsDefault ¶ added in v1.0.97
func NewGetCredentialOptionsDefault(code int) *GetCredentialOptionsDefault
NewGetCredentialOptionsDefault creates a GetCredentialOptionsDefault with default headers values
func (*GetCredentialOptionsDefault) Code ¶ added in v1.0.97
func (o *GetCredentialOptionsDefault) Code() int
Code gets the status code for the get credential options default response
func (*GetCredentialOptionsDefault) Error ¶ added in v1.0.97
func (o *GetCredentialOptionsDefault) Error() string
func (*GetCredentialOptionsDefault) GetPayload ¶ added in v1.0.97
func (o *GetCredentialOptionsDefault) GetPayload() *models.ErrorPayload
type GetCredentialOptionsForbidden ¶ added in v1.0.97
type GetCredentialOptionsForbidden struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
GetCredentialOptionsForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetCredentialOptionsForbidden ¶ added in v1.0.97
func NewGetCredentialOptionsForbidden() *GetCredentialOptionsForbidden
NewGetCredentialOptionsForbidden creates a GetCredentialOptionsForbidden with default headers values
func (*GetCredentialOptionsForbidden) Error ¶ added in v1.0.97
func (o *GetCredentialOptionsForbidden) Error() string
func (*GetCredentialOptionsForbidden) GetPayload ¶ added in v1.0.97
func (o *GetCredentialOptionsForbidden) GetPayload() *models.ErrorPayload
type GetCredentialOptionsNotFound ¶ added in v1.0.97
type GetCredentialOptionsNotFound struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
GetCredentialOptionsNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetCredentialOptionsNotFound ¶ added in v1.0.97
func NewGetCredentialOptionsNotFound() *GetCredentialOptionsNotFound
NewGetCredentialOptionsNotFound creates a GetCredentialOptionsNotFound with default headers values
func (*GetCredentialOptionsNotFound) Error ¶ added in v1.0.97
func (o *GetCredentialOptionsNotFound) Error() string
func (*GetCredentialOptionsNotFound) GetPayload ¶ added in v1.0.97
func (o *GetCredentialOptionsNotFound) GetPayload() *models.ErrorPayload
type GetCredentialOptionsOK ¶ added in v1.0.97
type GetCredentialOptionsOK struct {
Payload *GetCredentialOptionsOKBody
}
GetCredentialOptionsOK handles this case with default header values.
Service-specific options for the Credential with the specified ID.
func NewGetCredentialOptionsOK ¶ added in v1.0.97
func NewGetCredentialOptionsOK() *GetCredentialOptionsOK
NewGetCredentialOptionsOK creates a GetCredentialOptionsOK with default headers values
func (*GetCredentialOptionsOK) Error ¶ added in v1.0.97
func (o *GetCredentialOptionsOK) Error() string
func (*GetCredentialOptionsOK) GetPayload ¶ added in v1.0.97
func (o *GetCredentialOptionsOK) GetPayload() *GetCredentialOptionsOKBody
type GetCredentialOptionsOKBody ¶ added in v1.0.97
type GetCredentialOptionsOKBody struct { // The credential options. The shape of the items could be anything, since each service can have very different options. // Required: true Data interface{} `json:"data"` }
GetCredentialOptionsOKBody get credential options o k body swagger:model GetCredentialOptionsOKBody
func (*GetCredentialOptionsOKBody) MarshalBinary ¶ added in v1.0.97
func (o *GetCredentialOptionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCredentialOptionsOKBody) UnmarshalBinary ¶ added in v1.0.97
func (o *GetCredentialOptionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCredentialOptionsParams ¶ added in v1.0.97
type GetCredentialOptionsParams struct { /*CredentialCanonical A Credential canonical */ CredentialCanonical string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*Service*/ Service string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCredentialOptionsParams contains all the parameters to send to the API endpoint for the get credential options operation typically these are written to a http.Request
func NewGetCredentialOptionsParams ¶ added in v1.0.97
func NewGetCredentialOptionsParams() *GetCredentialOptionsParams
NewGetCredentialOptionsParams creates a new GetCredentialOptionsParams object with the default values initialized.
func NewGetCredentialOptionsParamsWithContext ¶ added in v1.0.97
func NewGetCredentialOptionsParamsWithContext(ctx context.Context) *GetCredentialOptionsParams
NewGetCredentialOptionsParamsWithContext creates a new GetCredentialOptionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCredentialOptionsParamsWithHTTPClient ¶ added in v1.0.97
func NewGetCredentialOptionsParamsWithHTTPClient(client *http.Client) *GetCredentialOptionsParams
NewGetCredentialOptionsParamsWithHTTPClient creates a new GetCredentialOptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCredentialOptionsParamsWithTimeout ¶ added in v1.0.97
func NewGetCredentialOptionsParamsWithTimeout(timeout time.Duration) *GetCredentialOptionsParams
NewGetCredentialOptionsParamsWithTimeout creates a new GetCredentialOptionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCredentialOptionsParams) SetContext ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get credential options params
func (*GetCredentialOptionsParams) SetCredentialCanonical ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) SetCredentialCanonical(credentialCanonical string)
SetCredentialCanonical adds the credentialCanonical to the get credential options params
func (*GetCredentialOptionsParams) SetHTTPClient ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get credential options params
func (*GetCredentialOptionsParams) SetOrganizationCanonical ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get credential options params
func (*GetCredentialOptionsParams) SetService ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) SetService(service string)
SetService adds the service to the get credential options params
func (*GetCredentialOptionsParams) SetTimeout ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get credential options params
func (*GetCredentialOptionsParams) WithContext ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) WithContext(ctx context.Context) *GetCredentialOptionsParams
WithContext adds the context to the get credential options params
func (*GetCredentialOptionsParams) WithCredentialCanonical ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) WithCredentialCanonical(credentialCanonical string) *GetCredentialOptionsParams
WithCredentialCanonical adds the credentialCanonical to the get credential options params
func (*GetCredentialOptionsParams) WithHTTPClient ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) WithHTTPClient(client *http.Client) *GetCredentialOptionsParams
WithHTTPClient adds the HTTPClient to the get credential options params
func (*GetCredentialOptionsParams) WithOrganizationCanonical ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) WithOrganizationCanonical(organizationCanonical string) *GetCredentialOptionsParams
WithOrganizationCanonical adds the organizationCanonical to the get credential options params
func (*GetCredentialOptionsParams) WithService ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) WithService(service string) *GetCredentialOptionsParams
WithService adds the service to the get credential options params
func (*GetCredentialOptionsParams) WithTimeout ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) WithTimeout(timeout time.Duration) *GetCredentialOptionsParams
WithTimeout adds the timeout to the get credential options params
func (*GetCredentialOptionsParams) WriteToRequest ¶ added in v1.0.97
func (o *GetCredentialOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCredentialOptionsReader ¶ added in v1.0.97
type GetCredentialOptionsReader struct {
// contains filtered or unexported fields
}
GetCredentialOptionsReader is a Reader for the GetCredentialOptions structure.
func (*GetCredentialOptionsReader) ReadResponse ¶ added in v1.0.97
func (o *GetCredentialOptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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 ListCredentialsDefault ¶ added in v1.0.88
type ListCredentialsDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload // contains filtered or unexported fields }
ListCredentialsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewListCredentialsDefault ¶ added in v1.0.88
func NewListCredentialsDefault(code int) *ListCredentialsDefault
NewListCredentialsDefault creates a ListCredentialsDefault with default headers values
func (*ListCredentialsDefault) Code ¶ added in v1.0.88
func (o *ListCredentialsDefault) Code() int
Code gets the status code for the list credentials default response
func (*ListCredentialsDefault) Error ¶ added in v1.0.88
func (o *ListCredentialsDefault) Error() string
func (*ListCredentialsDefault) GetPayload ¶ added in v1.0.88
func (o *ListCredentialsDefault) GetPayload() *models.ErrorPayload
type ListCredentialsForbidden ¶ added in v1.0.88
type ListCredentialsForbidden struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
ListCredentialsForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewListCredentialsForbidden ¶ added in v1.0.88
func NewListCredentialsForbidden() *ListCredentialsForbidden
NewListCredentialsForbidden creates a ListCredentialsForbidden with default headers values
func (*ListCredentialsForbidden) Error ¶ added in v1.0.88
func (o *ListCredentialsForbidden) Error() string
func (*ListCredentialsForbidden) GetPayload ¶ added in v1.0.88
func (o *ListCredentialsForbidden) GetPayload() *models.ErrorPayload
type ListCredentialsNotFound ¶ added in v1.0.88
type ListCredentialsNotFound struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
ListCredentialsNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewListCredentialsNotFound ¶ added in v1.0.88
func NewListCredentialsNotFound() *ListCredentialsNotFound
NewListCredentialsNotFound creates a ListCredentialsNotFound with default headers values
func (*ListCredentialsNotFound) Error ¶ added in v1.0.88
func (o *ListCredentialsNotFound) Error() string
func (*ListCredentialsNotFound) GetPayload ¶ added in v1.0.88
func (o *ListCredentialsNotFound) GetPayload() *models.ErrorPayload
type ListCredentialsOK ¶ added in v1.0.88
type ListCredentialsOK struct {
Payload *ListCredentialsOKBody
}
ListCredentialsOK handles this case with default header values.
List of the Credentials
func NewListCredentialsOK ¶ added in v1.0.88
func NewListCredentialsOK() *ListCredentialsOK
NewListCredentialsOK creates a ListCredentialsOK with default headers values
func (*ListCredentialsOK) Error ¶ added in v1.0.88
func (o *ListCredentialsOK) Error() string
func (*ListCredentialsOK) GetPayload ¶ added in v1.0.88
func (o *ListCredentialsOK) GetPayload() *ListCredentialsOKBody
type ListCredentialsOKBody ¶ added in v1.0.88
type ListCredentialsOKBody struct { // data // Required: true Data []*models.CredentialSimple `json:"data"` // pagination // Required: true Pagination *models.Pagination `json:"pagination"` }
ListCredentialsOKBody list credentials o k body swagger:model ListCredentialsOKBody
func (*ListCredentialsOKBody) MarshalBinary ¶ added in v1.0.88
func (o *ListCredentialsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListCredentialsOKBody) UnmarshalBinary ¶ added in v1.0.88
func (o *ListCredentialsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListCredentialsParams ¶ added in v1.0.88
type ListCredentialsParams struct { /*CredentialType Deprecated. Please use credential_types. A Credential type */ CredentialType *string /*CredentialTypes Multiple Credential types */ CredentialTypes []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 }
ListCredentialsParams contains all the parameters to send to the API endpoint for the list credentials operation typically these are written to a http.Request
func NewListCredentialsParams ¶ added in v1.0.88
func NewListCredentialsParams() *ListCredentialsParams
NewListCredentialsParams creates a new ListCredentialsParams object with the default values initialized.
func NewListCredentialsParamsWithContext ¶ added in v1.0.88
func NewListCredentialsParamsWithContext(ctx context.Context) *ListCredentialsParams
NewListCredentialsParamsWithContext creates a new ListCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewListCredentialsParamsWithHTTPClient ¶ added in v1.0.88
func NewListCredentialsParamsWithHTTPClient(client *http.Client) *ListCredentialsParams
NewListCredentialsParamsWithHTTPClient creates a new ListCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListCredentialsParamsWithTimeout ¶ added in v1.0.88
func NewListCredentialsParamsWithTimeout(timeout time.Duration) *ListCredentialsParams
NewListCredentialsParamsWithTimeout creates a new ListCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListCredentialsParams) SetContext ¶ added in v1.0.88
func (o *ListCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list credentials params
func (*ListCredentialsParams) SetCredentialType ¶ added in v1.0.88
func (o *ListCredentialsParams) SetCredentialType(credentialType *string)
SetCredentialType adds the credentialType to the list credentials params
func (*ListCredentialsParams) SetCredentialTypes ¶ added in v1.0.97
func (o *ListCredentialsParams) SetCredentialTypes(credentialTypes []string)
SetCredentialTypes adds the credentialTypes to the list credentials params
func (*ListCredentialsParams) SetHTTPClient ¶ added in v1.0.88
func (o *ListCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list credentials params
func (*ListCredentialsParams) SetOrganizationCanonical ¶ added in v1.0.88
func (o *ListCredentialsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the list credentials params
func (*ListCredentialsParams) SetPageIndex ¶ added in v1.0.88
func (o *ListCredentialsParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the list credentials params
func (*ListCredentialsParams) SetPageSize ¶ added in v1.0.88
func (o *ListCredentialsParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the list credentials params
func (*ListCredentialsParams) SetTimeout ¶ added in v1.0.88
func (o *ListCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list credentials params
func (*ListCredentialsParams) WithContext ¶ added in v1.0.88
func (o *ListCredentialsParams) WithContext(ctx context.Context) *ListCredentialsParams
WithContext adds the context to the list credentials params
func (*ListCredentialsParams) WithCredentialType ¶ added in v1.0.88
func (o *ListCredentialsParams) WithCredentialType(credentialType *string) *ListCredentialsParams
WithCredentialType adds the credentialType to the list credentials params
func (*ListCredentialsParams) WithCredentialTypes ¶ added in v1.0.97
func (o *ListCredentialsParams) WithCredentialTypes(credentialTypes []string) *ListCredentialsParams
WithCredentialTypes adds the credentialTypes to the list credentials params
func (*ListCredentialsParams) WithHTTPClient ¶ added in v1.0.88
func (o *ListCredentialsParams) WithHTTPClient(client *http.Client) *ListCredentialsParams
WithHTTPClient adds the HTTPClient to the list credentials params
func (*ListCredentialsParams) WithOrganizationCanonical ¶ added in v1.0.88
func (o *ListCredentialsParams) WithOrganizationCanonical(organizationCanonical string) *ListCredentialsParams
WithOrganizationCanonical adds the organizationCanonical to the list credentials params
func (*ListCredentialsParams) WithPageIndex ¶ added in v1.0.88
func (o *ListCredentialsParams) WithPageIndex(pageIndex *uint32) *ListCredentialsParams
WithPageIndex adds the pageIndex to the list credentials params
func (*ListCredentialsParams) WithPageSize ¶ added in v1.0.88
func (o *ListCredentialsParams) WithPageSize(pageSize *uint32) *ListCredentialsParams
WithPageSize adds the pageSize to the list credentials params
func (*ListCredentialsParams) WithTimeout ¶ added in v1.0.88
func (o *ListCredentialsParams) WithTimeout(timeout time.Duration) *ListCredentialsParams
WithTimeout adds the timeout to the list credentials params
func (*ListCredentialsParams) WriteToRequest ¶ added in v1.0.88
func (o *ListCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCredentialsReader ¶ added in v1.0.88
type ListCredentialsReader struct {
// contains filtered or unexported fields
}
ListCredentialsReader is a Reader for the ListCredentials structure.
func (*ListCredentialsReader) ReadResponse ¶ added in v1.0.88
func (o *ListCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCredentialDefault ¶
type UpdateCredentialDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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_options_parameters.go
- get_credential_options_responses.go
- get_credential_parameters.go
- get_credential_responses.go
- list_credentials_parameters.go
- list_credentials_responses.go
- organization_credentials_client.go
- update_credential_parameters.go
- update_credential_responses.go