Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateIdentity(params *CreateIdentityParams) (*CreateIdentityCreated, error)
- func (a *Client) DeleteIdentity(params *DeleteIdentityParams) (*DeleteIdentityNoContent, error)
- func (a *Client) GetIdentity(params *GetIdentityParams) (*GetIdentityOK, error)
- func (a *Client) ListIdentities(params *ListIdentitiesParams) (*ListIdentitiesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateIdentity(params *UpdateIdentityParams) (*UpdateIdentityOK, error)
- type ClientService
- type CreateIdentityBadRequest
- type CreateIdentityCreated
- type CreateIdentityInternalServerError
- type CreateIdentityParams
- func NewCreateIdentityParams() *CreateIdentityParams
- func NewCreateIdentityParamsWithContext(ctx context.Context) *CreateIdentityParams
- func NewCreateIdentityParamsWithHTTPClient(client *http.Client) *CreateIdentityParams
- func NewCreateIdentityParamsWithTimeout(timeout time.Duration) *CreateIdentityParams
- func (o *CreateIdentityParams) SetBody(body *models.Identity)
- func (o *CreateIdentityParams) SetContext(ctx context.Context)
- func (o *CreateIdentityParams) SetHTTPClient(client *http.Client)
- func (o *CreateIdentityParams) SetTimeout(timeout time.Duration)
- func (o *CreateIdentityParams) WithBody(body *models.Identity) *CreateIdentityParams
- func (o *CreateIdentityParams) WithContext(ctx context.Context) *CreateIdentityParams
- func (o *CreateIdentityParams) WithHTTPClient(client *http.Client) *CreateIdentityParams
- func (o *CreateIdentityParams) WithTimeout(timeout time.Duration) *CreateIdentityParams
- func (o *CreateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateIdentityReader
- type DeleteIdentityInternalServerError
- type DeleteIdentityNoContent
- type DeleteIdentityNotFound
- type DeleteIdentityParams
- func NewDeleteIdentityParams() *DeleteIdentityParams
- func NewDeleteIdentityParamsWithContext(ctx context.Context) *DeleteIdentityParams
- func NewDeleteIdentityParamsWithHTTPClient(client *http.Client) *DeleteIdentityParams
- func NewDeleteIdentityParamsWithTimeout(timeout time.Duration) *DeleteIdentityParams
- func (o *DeleteIdentityParams) SetContext(ctx context.Context)
- func (o *DeleteIdentityParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIdentityParams) SetID(id string)
- func (o *DeleteIdentityParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIdentityParams) WithContext(ctx context.Context) *DeleteIdentityParams
- func (o *DeleteIdentityParams) WithHTTPClient(client *http.Client) *DeleteIdentityParams
- func (o *DeleteIdentityParams) WithID(id string) *DeleteIdentityParams
- func (o *DeleteIdentityParams) WithTimeout(timeout time.Duration) *DeleteIdentityParams
- func (o *DeleteIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIdentityReader
- type GetIdentityBadRequest
- type GetIdentityInternalServerError
- type GetIdentityOK
- type GetIdentityParams
- func (o *GetIdentityParams) SetContext(ctx context.Context)
- func (o *GetIdentityParams) SetHTTPClient(client *http.Client)
- func (o *GetIdentityParams) SetID(id string)
- func (o *GetIdentityParams) SetTimeout(timeout time.Duration)
- func (o *GetIdentityParams) WithContext(ctx context.Context) *GetIdentityParams
- func (o *GetIdentityParams) WithHTTPClient(client *http.Client) *GetIdentityParams
- func (o *GetIdentityParams) WithID(id string) *GetIdentityParams
- func (o *GetIdentityParams) WithTimeout(timeout time.Duration) *GetIdentityParams
- func (o *GetIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIdentityReader
- type ListIdentitiesInternalServerError
- type ListIdentitiesOK
- type ListIdentitiesParams
- func NewListIdentitiesParams() *ListIdentitiesParams
- func NewListIdentitiesParamsWithContext(ctx context.Context) *ListIdentitiesParams
- func NewListIdentitiesParamsWithHTTPClient(client *http.Client) *ListIdentitiesParams
- func NewListIdentitiesParamsWithTimeout(timeout time.Duration) *ListIdentitiesParams
- func (o *ListIdentitiesParams) SetContext(ctx context.Context)
- func (o *ListIdentitiesParams) SetHTTPClient(client *http.Client)
- func (o *ListIdentitiesParams) SetTimeout(timeout time.Duration)
- func (o *ListIdentitiesParams) WithContext(ctx context.Context) *ListIdentitiesParams
- func (o *ListIdentitiesParams) WithHTTPClient(client *http.Client) *ListIdentitiesParams
- func (o *ListIdentitiesParams) WithTimeout(timeout time.Duration) *ListIdentitiesParams
- func (o *ListIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListIdentitiesReader
- type UpdateIdentityBadRequest
- type UpdateIdentityInternalServerError
- type UpdateIdentityNotFound
- type UpdateIdentityOK
- type UpdateIdentityParams
- func NewUpdateIdentityParams() *UpdateIdentityParams
- func NewUpdateIdentityParamsWithContext(ctx context.Context) *UpdateIdentityParams
- func NewUpdateIdentityParamsWithHTTPClient(client *http.Client) *UpdateIdentityParams
- func NewUpdateIdentityParamsWithTimeout(timeout time.Duration) *UpdateIdentityParams
- func (o *UpdateIdentityParams) SetBody(body *models.Identity)
- func (o *UpdateIdentityParams) SetContext(ctx context.Context)
- func (o *UpdateIdentityParams) SetHTTPClient(client *http.Client)
- func (o *UpdateIdentityParams) SetID(id string)
- func (o *UpdateIdentityParams) SetTimeout(timeout time.Duration)
- func (o *UpdateIdentityParams) WithBody(body *models.Identity) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithContext(ctx context.Context) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithHTTPClient(client *http.Client) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithID(id string) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithTimeout(timeout time.Duration) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateIdentityReader
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 admin API
func (*Client) CreateIdentity ¶
func (a *Client) CreateIdentity(params *CreateIdentityParams) (*CreateIdentityCreated, error)
CreateIdentity creates an identity This endpoint creates an identity. It is NOT possible to set an identity's credentials (password, ...)
using this method! A way to achieve that will be introduced in the future.
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
func (*Client) DeleteIdentity ¶
func (a *Client) DeleteIdentity(params *DeleteIdentityParams) (*DeleteIdentityNoContent, error)
DeleteIdentity deletes an identity This endpoint deletes an identity. This can not be undone.
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
func (*Client) GetIdentity ¶
func (a *Client) GetIdentity(params *GetIdentityParams) (*GetIdentityOK, error)
GetIdentity gets an identity
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
func (*Client) ListIdentities ¶
func (a *Client) ListIdentities(params *ListIdentitiesParams) (*ListIdentitiesOK, error)
ListIdentities lists all identities in the system This endpoint returns a login request's context with, for example, error details and
other information.
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateIdentity ¶
func (a *Client) UpdateIdentity(params *UpdateIdentityParams) (*UpdateIdentityOK, error)
UpdateIdentity updates an identity This endpoint updates an identity. It is NOT possible to set an identity's credentials (password, ...)
using this method! A way to achieve that will be introduced in the future.
The full identity payload (except credentials) is expected. This endpoint does not support patching.
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
type ClientService ¶
type ClientService interface { CreateIdentity(params *CreateIdentityParams) (*CreateIdentityCreated, error) DeleteIdentity(params *DeleteIdentityParams) (*DeleteIdentityNoContent, error) GetIdentity(params *GetIdentityParams) (*GetIdentityOK, error) ListIdentities(params *ListIdentitiesParams) (*ListIdentitiesOK, error) UpdateIdentity(params *UpdateIdentityParams) (*UpdateIdentityOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new admin API client.
type CreateIdentityBadRequest ¶
type CreateIdentityBadRequest struct {
Payload *models.GenericError
}
CreateIdentityBadRequest handles this case with default header values.
genericError
func NewCreateIdentityBadRequest ¶
func NewCreateIdentityBadRequest() *CreateIdentityBadRequest
NewCreateIdentityBadRequest creates a CreateIdentityBadRequest with default headers values
func (*CreateIdentityBadRequest) Error ¶
func (o *CreateIdentityBadRequest) Error() string
func (*CreateIdentityBadRequest) GetPayload ¶
func (o *CreateIdentityBadRequest) GetPayload() *models.GenericError
type CreateIdentityCreated ¶
CreateIdentityCreated handles this case with default header values.
A single identity.
func NewCreateIdentityCreated ¶
func NewCreateIdentityCreated() *CreateIdentityCreated
NewCreateIdentityCreated creates a CreateIdentityCreated with default headers values
func (*CreateIdentityCreated) Error ¶
func (o *CreateIdentityCreated) Error() string
func (*CreateIdentityCreated) GetPayload ¶
func (o *CreateIdentityCreated) GetPayload() *models.Identity
type CreateIdentityInternalServerError ¶
type CreateIdentityInternalServerError struct {
Payload *models.GenericError
}
CreateIdentityInternalServerError handles this case with default header values.
genericError
func NewCreateIdentityInternalServerError ¶
func NewCreateIdentityInternalServerError() *CreateIdentityInternalServerError
NewCreateIdentityInternalServerError creates a CreateIdentityInternalServerError with default headers values
func (*CreateIdentityInternalServerError) Error ¶
func (o *CreateIdentityInternalServerError) Error() string
func (*CreateIdentityInternalServerError) GetPayload ¶
func (o *CreateIdentityInternalServerError) GetPayload() *models.GenericError
type CreateIdentityParams ¶
type CreateIdentityParams struct { /*Body*/ Body *models.Identity Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateIdentityParams contains all the parameters to send to the API endpoint for the create identity operation typically these are written to a http.Request
func NewCreateIdentityParams ¶
func NewCreateIdentityParams() *CreateIdentityParams
NewCreateIdentityParams creates a new CreateIdentityParams object with the default values initialized.
func NewCreateIdentityParamsWithContext ¶
func NewCreateIdentityParamsWithContext(ctx context.Context) *CreateIdentityParams
NewCreateIdentityParamsWithContext creates a new CreateIdentityParams object with the default values initialized, and the ability to set a context for a request
func NewCreateIdentityParamsWithHTTPClient ¶
func NewCreateIdentityParamsWithHTTPClient(client *http.Client) *CreateIdentityParams
NewCreateIdentityParamsWithHTTPClient creates a new CreateIdentityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateIdentityParamsWithTimeout ¶
func NewCreateIdentityParamsWithTimeout(timeout time.Duration) *CreateIdentityParams
NewCreateIdentityParamsWithTimeout creates a new CreateIdentityParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateIdentityParams) SetBody ¶
func (o *CreateIdentityParams) SetBody(body *models.Identity)
SetBody adds the body to the create identity params
func (*CreateIdentityParams) SetContext ¶
func (o *CreateIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the create identity params
func (*CreateIdentityParams) SetHTTPClient ¶
func (o *CreateIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create identity params
func (*CreateIdentityParams) SetTimeout ¶
func (o *CreateIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create identity params
func (*CreateIdentityParams) WithBody ¶
func (o *CreateIdentityParams) WithBody(body *models.Identity) *CreateIdentityParams
WithBody adds the body to the create identity params
func (*CreateIdentityParams) WithContext ¶
func (o *CreateIdentityParams) WithContext(ctx context.Context) *CreateIdentityParams
WithContext adds the context to the create identity params
func (*CreateIdentityParams) WithHTTPClient ¶
func (o *CreateIdentityParams) WithHTTPClient(client *http.Client) *CreateIdentityParams
WithHTTPClient adds the HTTPClient to the create identity params
func (*CreateIdentityParams) WithTimeout ¶
func (o *CreateIdentityParams) WithTimeout(timeout time.Duration) *CreateIdentityParams
WithTimeout adds the timeout to the create identity params
func (*CreateIdentityParams) WriteToRequest ¶
func (o *CreateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateIdentityReader ¶
type CreateIdentityReader struct {
// contains filtered or unexported fields
}
CreateIdentityReader is a Reader for the CreateIdentity structure.
func (*CreateIdentityReader) ReadResponse ¶
func (o *CreateIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteIdentityInternalServerError ¶
type DeleteIdentityInternalServerError struct {
Payload *models.GenericError
}
DeleteIdentityInternalServerError handles this case with default header values.
genericError
func NewDeleteIdentityInternalServerError ¶
func NewDeleteIdentityInternalServerError() *DeleteIdentityInternalServerError
NewDeleteIdentityInternalServerError creates a DeleteIdentityInternalServerError with default headers values
func (*DeleteIdentityInternalServerError) Error ¶
func (o *DeleteIdentityInternalServerError) Error() string
func (*DeleteIdentityInternalServerError) GetPayload ¶
func (o *DeleteIdentityInternalServerError) GetPayload() *models.GenericError
type DeleteIdentityNoContent ¶
type DeleteIdentityNoContent struct { }
DeleteIdentityNoContent handles this case with default header values.
Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.
func NewDeleteIdentityNoContent ¶
func NewDeleteIdentityNoContent() *DeleteIdentityNoContent
NewDeleteIdentityNoContent creates a DeleteIdentityNoContent with default headers values
func (*DeleteIdentityNoContent) Error ¶
func (o *DeleteIdentityNoContent) Error() string
type DeleteIdentityNotFound ¶
type DeleteIdentityNotFound struct {
Payload *models.GenericError
}
DeleteIdentityNotFound handles this case with default header values.
genericError
func NewDeleteIdentityNotFound ¶
func NewDeleteIdentityNotFound() *DeleteIdentityNotFound
NewDeleteIdentityNotFound creates a DeleteIdentityNotFound with default headers values
func (*DeleteIdentityNotFound) Error ¶
func (o *DeleteIdentityNotFound) Error() string
func (*DeleteIdentityNotFound) GetPayload ¶
func (o *DeleteIdentityNotFound) GetPayload() *models.GenericError
type DeleteIdentityParams ¶
type DeleteIdentityParams struct { /*ID ID is the identity's ID. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteIdentityParams contains all the parameters to send to the API endpoint for the delete identity operation typically these are written to a http.Request
func NewDeleteIdentityParams ¶
func NewDeleteIdentityParams() *DeleteIdentityParams
NewDeleteIdentityParams creates a new DeleteIdentityParams object with the default values initialized.
func NewDeleteIdentityParamsWithContext ¶
func NewDeleteIdentityParamsWithContext(ctx context.Context) *DeleteIdentityParams
NewDeleteIdentityParamsWithContext creates a new DeleteIdentityParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteIdentityParamsWithHTTPClient ¶
func NewDeleteIdentityParamsWithHTTPClient(client *http.Client) *DeleteIdentityParams
NewDeleteIdentityParamsWithHTTPClient creates a new DeleteIdentityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteIdentityParamsWithTimeout ¶
func NewDeleteIdentityParamsWithTimeout(timeout time.Duration) *DeleteIdentityParams
NewDeleteIdentityParamsWithTimeout creates a new DeleteIdentityParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteIdentityParams) SetContext ¶
func (o *DeleteIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the delete identity params
func (*DeleteIdentityParams) SetHTTPClient ¶
func (o *DeleteIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete identity params
func (*DeleteIdentityParams) SetID ¶
func (o *DeleteIdentityParams) SetID(id string)
SetID adds the id to the delete identity params
func (*DeleteIdentityParams) SetTimeout ¶
func (o *DeleteIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete identity params
func (*DeleteIdentityParams) WithContext ¶
func (o *DeleteIdentityParams) WithContext(ctx context.Context) *DeleteIdentityParams
WithContext adds the context to the delete identity params
func (*DeleteIdentityParams) WithHTTPClient ¶
func (o *DeleteIdentityParams) WithHTTPClient(client *http.Client) *DeleteIdentityParams
WithHTTPClient adds the HTTPClient to the delete identity params
func (*DeleteIdentityParams) WithID ¶
func (o *DeleteIdentityParams) WithID(id string) *DeleteIdentityParams
WithID adds the id to the delete identity params
func (*DeleteIdentityParams) WithTimeout ¶
func (o *DeleteIdentityParams) WithTimeout(timeout time.Duration) *DeleteIdentityParams
WithTimeout adds the timeout to the delete identity params
func (*DeleteIdentityParams) WriteToRequest ¶
func (o *DeleteIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIdentityReader ¶
type DeleteIdentityReader struct {
// contains filtered or unexported fields
}
DeleteIdentityReader is a Reader for the DeleteIdentity structure.
func (*DeleteIdentityReader) ReadResponse ¶
func (o *DeleteIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIdentityBadRequest ¶
type GetIdentityBadRequest struct {
Payload *models.GenericError
}
GetIdentityBadRequest handles this case with default header values.
genericError
func NewGetIdentityBadRequest ¶
func NewGetIdentityBadRequest() *GetIdentityBadRequest
NewGetIdentityBadRequest creates a GetIdentityBadRequest with default headers values
func (*GetIdentityBadRequest) Error ¶
func (o *GetIdentityBadRequest) Error() string
func (*GetIdentityBadRequest) GetPayload ¶
func (o *GetIdentityBadRequest) GetPayload() *models.GenericError
type GetIdentityInternalServerError ¶
type GetIdentityInternalServerError struct {
Payload *models.GenericError
}
GetIdentityInternalServerError handles this case with default header values.
genericError
func NewGetIdentityInternalServerError ¶
func NewGetIdentityInternalServerError() *GetIdentityInternalServerError
NewGetIdentityInternalServerError creates a GetIdentityInternalServerError with default headers values
func (*GetIdentityInternalServerError) Error ¶
func (o *GetIdentityInternalServerError) Error() string
func (*GetIdentityInternalServerError) GetPayload ¶
func (o *GetIdentityInternalServerError) GetPayload() *models.GenericError
type GetIdentityOK ¶
GetIdentityOK handles this case with default header values.
A single identity.
func NewGetIdentityOK ¶
func NewGetIdentityOK() *GetIdentityOK
NewGetIdentityOK creates a GetIdentityOK with default headers values
func (*GetIdentityOK) Error ¶
func (o *GetIdentityOK) Error() string
func (*GetIdentityOK) GetPayload ¶
func (o *GetIdentityOK) GetPayload() *models.Identity
type GetIdentityParams ¶
type GetIdentityParams struct { /*ID ID must be set to the ID of identity you want to get */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIdentityParams contains all the parameters to send to the API endpoint for the get identity operation typically these are written to a http.Request
func NewGetIdentityParams ¶
func NewGetIdentityParams() *GetIdentityParams
NewGetIdentityParams creates a new GetIdentityParams object with the default values initialized.
func NewGetIdentityParamsWithContext ¶
func NewGetIdentityParamsWithContext(ctx context.Context) *GetIdentityParams
NewGetIdentityParamsWithContext creates a new GetIdentityParams object with the default values initialized, and the ability to set a context for a request
func NewGetIdentityParamsWithHTTPClient ¶
func NewGetIdentityParamsWithHTTPClient(client *http.Client) *GetIdentityParams
NewGetIdentityParamsWithHTTPClient creates a new GetIdentityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetIdentityParamsWithTimeout ¶
func NewGetIdentityParamsWithTimeout(timeout time.Duration) *GetIdentityParams
NewGetIdentityParamsWithTimeout creates a new GetIdentityParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetIdentityParams) SetContext ¶
func (o *GetIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the get identity params
func (*GetIdentityParams) SetHTTPClient ¶
func (o *GetIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get identity params
func (*GetIdentityParams) SetID ¶
func (o *GetIdentityParams) SetID(id string)
SetID adds the id to the get identity params
func (*GetIdentityParams) SetTimeout ¶
func (o *GetIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get identity params
func (*GetIdentityParams) WithContext ¶
func (o *GetIdentityParams) WithContext(ctx context.Context) *GetIdentityParams
WithContext adds the context to the get identity params
func (*GetIdentityParams) WithHTTPClient ¶
func (o *GetIdentityParams) WithHTTPClient(client *http.Client) *GetIdentityParams
WithHTTPClient adds the HTTPClient to the get identity params
func (*GetIdentityParams) WithID ¶
func (o *GetIdentityParams) WithID(id string) *GetIdentityParams
WithID adds the id to the get identity params
func (*GetIdentityParams) WithTimeout ¶
func (o *GetIdentityParams) WithTimeout(timeout time.Duration) *GetIdentityParams
WithTimeout adds the timeout to the get identity params
func (*GetIdentityParams) WriteToRequest ¶
func (o *GetIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIdentityReader ¶
type GetIdentityReader struct {
// contains filtered or unexported fields
}
GetIdentityReader is a Reader for the GetIdentity structure.
func (*GetIdentityReader) ReadResponse ¶
func (o *GetIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListIdentitiesInternalServerError ¶
type ListIdentitiesInternalServerError struct {
Payload *models.GenericError
}
ListIdentitiesInternalServerError handles this case with default header values.
genericError
func NewListIdentitiesInternalServerError ¶
func NewListIdentitiesInternalServerError() *ListIdentitiesInternalServerError
NewListIdentitiesInternalServerError creates a ListIdentitiesInternalServerError with default headers values
func (*ListIdentitiesInternalServerError) Error ¶
func (o *ListIdentitiesInternalServerError) Error() string
func (*ListIdentitiesInternalServerError) GetPayload ¶
func (o *ListIdentitiesInternalServerError) GetPayload() *models.GenericError
type ListIdentitiesOK ¶
ListIdentitiesOK handles this case with default header values.
A list of identities.
func NewListIdentitiesOK ¶
func NewListIdentitiesOK() *ListIdentitiesOK
NewListIdentitiesOK creates a ListIdentitiesOK with default headers values
func (*ListIdentitiesOK) Error ¶
func (o *ListIdentitiesOK) Error() string
func (*ListIdentitiesOK) GetPayload ¶
func (o *ListIdentitiesOK) GetPayload() []*models.Identity
type ListIdentitiesParams ¶
type ListIdentitiesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListIdentitiesParams contains all the parameters to send to the API endpoint for the list identities operation typically these are written to a http.Request
func NewListIdentitiesParams ¶
func NewListIdentitiesParams() *ListIdentitiesParams
NewListIdentitiesParams creates a new ListIdentitiesParams object with the default values initialized.
func NewListIdentitiesParamsWithContext ¶
func NewListIdentitiesParamsWithContext(ctx context.Context) *ListIdentitiesParams
NewListIdentitiesParamsWithContext creates a new ListIdentitiesParams object with the default values initialized, and the ability to set a context for a request
func NewListIdentitiesParamsWithHTTPClient ¶
func NewListIdentitiesParamsWithHTTPClient(client *http.Client) *ListIdentitiesParams
NewListIdentitiesParamsWithHTTPClient creates a new ListIdentitiesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListIdentitiesParamsWithTimeout ¶
func NewListIdentitiesParamsWithTimeout(timeout time.Duration) *ListIdentitiesParams
NewListIdentitiesParamsWithTimeout creates a new ListIdentitiesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListIdentitiesParams) SetContext ¶
func (o *ListIdentitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the list identities params
func (*ListIdentitiesParams) SetHTTPClient ¶
func (o *ListIdentitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list identities params
func (*ListIdentitiesParams) SetTimeout ¶
func (o *ListIdentitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list identities params
func (*ListIdentitiesParams) WithContext ¶
func (o *ListIdentitiesParams) WithContext(ctx context.Context) *ListIdentitiesParams
WithContext adds the context to the list identities params
func (*ListIdentitiesParams) WithHTTPClient ¶
func (o *ListIdentitiesParams) WithHTTPClient(client *http.Client) *ListIdentitiesParams
WithHTTPClient adds the HTTPClient to the list identities params
func (*ListIdentitiesParams) WithTimeout ¶
func (o *ListIdentitiesParams) WithTimeout(timeout time.Duration) *ListIdentitiesParams
WithTimeout adds the timeout to the list identities params
func (*ListIdentitiesParams) WriteToRequest ¶
func (o *ListIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListIdentitiesReader ¶
type ListIdentitiesReader struct {
// contains filtered or unexported fields
}
ListIdentitiesReader is a Reader for the ListIdentities structure.
func (*ListIdentitiesReader) ReadResponse ¶
func (o *ListIdentitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateIdentityBadRequest ¶
type UpdateIdentityBadRequest struct {
Payload *models.GenericError
}
UpdateIdentityBadRequest handles this case with default header values.
genericError
func NewUpdateIdentityBadRequest ¶
func NewUpdateIdentityBadRequest() *UpdateIdentityBadRequest
NewUpdateIdentityBadRequest creates a UpdateIdentityBadRequest with default headers values
func (*UpdateIdentityBadRequest) Error ¶
func (o *UpdateIdentityBadRequest) Error() string
func (*UpdateIdentityBadRequest) GetPayload ¶
func (o *UpdateIdentityBadRequest) GetPayload() *models.GenericError
type UpdateIdentityInternalServerError ¶
type UpdateIdentityInternalServerError struct {
Payload *models.GenericError
}
UpdateIdentityInternalServerError handles this case with default header values.
genericError
func NewUpdateIdentityInternalServerError ¶
func NewUpdateIdentityInternalServerError() *UpdateIdentityInternalServerError
NewUpdateIdentityInternalServerError creates a UpdateIdentityInternalServerError with default headers values
func (*UpdateIdentityInternalServerError) Error ¶
func (o *UpdateIdentityInternalServerError) Error() string
func (*UpdateIdentityInternalServerError) GetPayload ¶
func (o *UpdateIdentityInternalServerError) GetPayload() *models.GenericError
type UpdateIdentityNotFound ¶
type UpdateIdentityNotFound struct {
Payload *models.GenericError
}
UpdateIdentityNotFound handles this case with default header values.
genericError
func NewUpdateIdentityNotFound ¶
func NewUpdateIdentityNotFound() *UpdateIdentityNotFound
NewUpdateIdentityNotFound creates a UpdateIdentityNotFound with default headers values
func (*UpdateIdentityNotFound) Error ¶
func (o *UpdateIdentityNotFound) Error() string
func (*UpdateIdentityNotFound) GetPayload ¶
func (o *UpdateIdentityNotFound) GetPayload() *models.GenericError
type UpdateIdentityOK ¶
UpdateIdentityOK handles this case with default header values.
A single identity.
func NewUpdateIdentityOK ¶
func NewUpdateIdentityOK() *UpdateIdentityOK
NewUpdateIdentityOK creates a UpdateIdentityOK with default headers values
func (*UpdateIdentityOK) Error ¶
func (o *UpdateIdentityOK) Error() string
func (*UpdateIdentityOK) GetPayload ¶
func (o *UpdateIdentityOK) GetPayload() *models.Identity
type UpdateIdentityParams ¶
type UpdateIdentityParams struct { /*Body*/ Body *models.Identity /*ID ID must be set to the ID of identity you want to update */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateIdentityParams contains all the parameters to send to the API endpoint for the update identity operation typically these are written to a http.Request
func NewUpdateIdentityParams ¶
func NewUpdateIdentityParams() *UpdateIdentityParams
NewUpdateIdentityParams creates a new UpdateIdentityParams object with the default values initialized.
func NewUpdateIdentityParamsWithContext ¶
func NewUpdateIdentityParamsWithContext(ctx context.Context) *UpdateIdentityParams
NewUpdateIdentityParamsWithContext creates a new UpdateIdentityParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateIdentityParamsWithHTTPClient ¶
func NewUpdateIdentityParamsWithHTTPClient(client *http.Client) *UpdateIdentityParams
NewUpdateIdentityParamsWithHTTPClient creates a new UpdateIdentityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateIdentityParamsWithTimeout ¶
func NewUpdateIdentityParamsWithTimeout(timeout time.Duration) *UpdateIdentityParams
NewUpdateIdentityParamsWithTimeout creates a new UpdateIdentityParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateIdentityParams) SetBody ¶
func (o *UpdateIdentityParams) SetBody(body *models.Identity)
SetBody adds the body to the update identity params
func (*UpdateIdentityParams) SetContext ¶
func (o *UpdateIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the update identity params
func (*UpdateIdentityParams) SetHTTPClient ¶
func (o *UpdateIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update identity params
func (*UpdateIdentityParams) SetID ¶
func (o *UpdateIdentityParams) SetID(id string)
SetID adds the id to the update identity params
func (*UpdateIdentityParams) SetTimeout ¶
func (o *UpdateIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update identity params
func (*UpdateIdentityParams) WithBody ¶
func (o *UpdateIdentityParams) WithBody(body *models.Identity) *UpdateIdentityParams
WithBody adds the body to the update identity params
func (*UpdateIdentityParams) WithContext ¶
func (o *UpdateIdentityParams) WithContext(ctx context.Context) *UpdateIdentityParams
WithContext adds the context to the update identity params
func (*UpdateIdentityParams) WithHTTPClient ¶
func (o *UpdateIdentityParams) WithHTTPClient(client *http.Client) *UpdateIdentityParams
WithHTTPClient adds the HTTPClient to the update identity params
func (*UpdateIdentityParams) WithID ¶
func (o *UpdateIdentityParams) WithID(id string) *UpdateIdentityParams
WithID adds the id to the update identity params
func (*UpdateIdentityParams) WithTimeout ¶
func (o *UpdateIdentityParams) WithTimeout(timeout time.Duration) *UpdateIdentityParams
WithTimeout adds the timeout to the update identity params
func (*UpdateIdentityParams) WriteToRequest ¶
func (o *UpdateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateIdentityReader ¶
type UpdateIdentityReader struct {
// contains filtered or unexported fields
}
UpdateIdentityReader is a Reader for the UpdateIdentity structure.
func (*UpdateIdentityReader) ReadResponse ¶
func (o *UpdateIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- admin_client.go
- create_identity_parameters.go
- create_identity_responses.go
- delete_identity_parameters.go
- delete_identity_responses.go
- get_identity_parameters.go
- get_identity_responses.go
- list_identities_parameters.go
- list_identities_responses.go
- update_identity_parameters.go
- update_identity_responses.go