Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetAuthentication(params *GetAuthenticationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAuthenticationOK, error)
- func (a *Client) ListAuthentications(params *ListAuthenticationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAuthenticationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAuthentication(params *UpdateAuthenticationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAuthenticationOK, error)
- type ClientOption
- type ClientService
- type GetAuthenticationDefault
- func (o *GetAuthenticationDefault) Code() int
- func (o *GetAuthenticationDefault) Error() string
- func (o *GetAuthenticationDefault) GetPayload() *models.ErrorPayload
- func (o *GetAuthenticationDefault) IsClientError() bool
- func (o *GetAuthenticationDefault) IsCode(code int) bool
- func (o *GetAuthenticationDefault) IsRedirect() bool
- func (o *GetAuthenticationDefault) IsServerError() bool
- func (o *GetAuthenticationDefault) IsSuccess() bool
- func (o *GetAuthenticationDefault) String() string
- type GetAuthenticationForbidden
- func (o *GetAuthenticationForbidden) Code() int
- func (o *GetAuthenticationForbidden) Error() string
- func (o *GetAuthenticationForbidden) GetPayload() *models.ErrorPayload
- func (o *GetAuthenticationForbidden) IsClientError() bool
- func (o *GetAuthenticationForbidden) IsCode(code int) bool
- func (o *GetAuthenticationForbidden) IsRedirect() bool
- func (o *GetAuthenticationForbidden) IsServerError() bool
- func (o *GetAuthenticationForbidden) IsSuccess() bool
- func (o *GetAuthenticationForbidden) String() string
- type GetAuthenticationNotFound
- func (o *GetAuthenticationNotFound) Code() int
- func (o *GetAuthenticationNotFound) Error() string
- func (o *GetAuthenticationNotFound) GetPayload() *models.ErrorPayload
- func (o *GetAuthenticationNotFound) IsClientError() bool
- func (o *GetAuthenticationNotFound) IsCode(code int) bool
- func (o *GetAuthenticationNotFound) IsRedirect() bool
- func (o *GetAuthenticationNotFound) IsServerError() bool
- func (o *GetAuthenticationNotFound) IsSuccess() bool
- func (o *GetAuthenticationNotFound) String() string
- type GetAuthenticationOK
- func (o *GetAuthenticationOK) Code() int
- func (o *GetAuthenticationOK) Error() string
- func (o *GetAuthenticationOK) GetPayload() *GetAuthenticationOKBody
- func (o *GetAuthenticationOK) IsClientError() bool
- func (o *GetAuthenticationOK) IsCode(code int) bool
- func (o *GetAuthenticationOK) IsRedirect() bool
- func (o *GetAuthenticationOK) IsServerError() bool
- func (o *GetAuthenticationOK) IsSuccess() bool
- func (o *GetAuthenticationOK) String() string
- type GetAuthenticationOKBody
- func (o *GetAuthenticationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAuthenticationOKBody) MarshalBinary() ([]byte, error)
- func (o *GetAuthenticationOKBody) UnmarshalBinary(b []byte) error
- func (o *GetAuthenticationOKBody) Validate(formats strfmt.Registry) error
- type GetAuthenticationParams
- func NewGetAuthenticationParams() *GetAuthenticationParams
- func NewGetAuthenticationParamsWithContext(ctx context.Context) *GetAuthenticationParams
- func NewGetAuthenticationParamsWithHTTPClient(client *http.Client) *GetAuthenticationParams
- func NewGetAuthenticationParamsWithTimeout(timeout time.Duration) *GetAuthenticationParams
- func (o *GetAuthenticationParams) SetAuthenticationType(authenticationType string)
- func (o *GetAuthenticationParams) SetContext(ctx context.Context)
- func (o *GetAuthenticationParams) SetDefaults()
- func (o *GetAuthenticationParams) SetHTTPClient(client *http.Client)
- func (o *GetAuthenticationParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetAuthenticationParams) SetTimeout(timeout time.Duration)
- func (o *GetAuthenticationParams) WithAuthenticationType(authenticationType string) *GetAuthenticationParams
- func (o *GetAuthenticationParams) WithContext(ctx context.Context) *GetAuthenticationParams
- func (o *GetAuthenticationParams) WithDefaults() *GetAuthenticationParams
- func (o *GetAuthenticationParams) WithHTTPClient(client *http.Client) *GetAuthenticationParams
- func (o *GetAuthenticationParams) WithOrganizationCanonical(organizationCanonical string) *GetAuthenticationParams
- func (o *GetAuthenticationParams) WithTimeout(timeout time.Duration) *GetAuthenticationParams
- func (o *GetAuthenticationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuthenticationReader
- type ListAuthenticationsDefault
- func (o *ListAuthenticationsDefault) Code() int
- func (o *ListAuthenticationsDefault) Error() string
- func (o *ListAuthenticationsDefault) GetPayload() *models.ErrorPayload
- func (o *ListAuthenticationsDefault) IsClientError() bool
- func (o *ListAuthenticationsDefault) IsCode(code int) bool
- func (o *ListAuthenticationsDefault) IsRedirect() bool
- func (o *ListAuthenticationsDefault) IsServerError() bool
- func (o *ListAuthenticationsDefault) IsSuccess() bool
- func (o *ListAuthenticationsDefault) String() string
- type ListAuthenticationsForbidden
- func (o *ListAuthenticationsForbidden) Code() int
- func (o *ListAuthenticationsForbidden) Error() string
- func (o *ListAuthenticationsForbidden) GetPayload() *models.ErrorPayload
- func (o *ListAuthenticationsForbidden) IsClientError() bool
- func (o *ListAuthenticationsForbidden) IsCode(code int) bool
- func (o *ListAuthenticationsForbidden) IsRedirect() bool
- func (o *ListAuthenticationsForbidden) IsServerError() bool
- func (o *ListAuthenticationsForbidden) IsSuccess() bool
- func (o *ListAuthenticationsForbidden) String() string
- type ListAuthenticationsNotFound
- func (o *ListAuthenticationsNotFound) Code() int
- func (o *ListAuthenticationsNotFound) Error() string
- func (o *ListAuthenticationsNotFound) GetPayload() *models.ErrorPayload
- func (o *ListAuthenticationsNotFound) IsClientError() bool
- func (o *ListAuthenticationsNotFound) IsCode(code int) bool
- func (o *ListAuthenticationsNotFound) IsRedirect() bool
- func (o *ListAuthenticationsNotFound) IsServerError() bool
- func (o *ListAuthenticationsNotFound) IsSuccess() bool
- func (o *ListAuthenticationsNotFound) String() string
- type ListAuthenticationsOK
- func (o *ListAuthenticationsOK) Code() int
- func (o *ListAuthenticationsOK) Error() string
- func (o *ListAuthenticationsOK) GetPayload() *ListAuthenticationsOKBody
- func (o *ListAuthenticationsOK) IsClientError() bool
- func (o *ListAuthenticationsOK) IsCode(code int) bool
- func (o *ListAuthenticationsOK) IsRedirect() bool
- func (o *ListAuthenticationsOK) IsServerError() bool
- func (o *ListAuthenticationsOK) IsSuccess() bool
- func (o *ListAuthenticationsOK) String() string
- type ListAuthenticationsOKBody
- func (o *ListAuthenticationsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAuthenticationsOKBody) MarshalBinary() ([]byte, error)
- func (o *ListAuthenticationsOKBody) UnmarshalBinary(b []byte) error
- func (o *ListAuthenticationsOKBody) Validate(formats strfmt.Registry) error
- type ListAuthenticationsParams
- func NewListAuthenticationsParams() *ListAuthenticationsParams
- func NewListAuthenticationsParamsWithContext(ctx context.Context) *ListAuthenticationsParams
- func NewListAuthenticationsParamsWithHTTPClient(client *http.Client) *ListAuthenticationsParams
- func NewListAuthenticationsParamsWithTimeout(timeout time.Duration) *ListAuthenticationsParams
- func (o *ListAuthenticationsParams) SetContext(ctx context.Context)
- func (o *ListAuthenticationsParams) SetDefaults()
- func (o *ListAuthenticationsParams) SetHTTPClient(client *http.Client)
- func (o *ListAuthenticationsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *ListAuthenticationsParams) SetPageIndex(pageIndex *uint32)
- func (o *ListAuthenticationsParams) SetPageSize(pageSize *uint32)
- func (o *ListAuthenticationsParams) SetTimeout(timeout time.Duration)
- func (o *ListAuthenticationsParams) WithContext(ctx context.Context) *ListAuthenticationsParams
- func (o *ListAuthenticationsParams) WithDefaults() *ListAuthenticationsParams
- func (o *ListAuthenticationsParams) WithHTTPClient(client *http.Client) *ListAuthenticationsParams
- func (o *ListAuthenticationsParams) WithOrganizationCanonical(organizationCanonical string) *ListAuthenticationsParams
- func (o *ListAuthenticationsParams) WithPageIndex(pageIndex *uint32) *ListAuthenticationsParams
- func (o *ListAuthenticationsParams) WithPageSize(pageSize *uint32) *ListAuthenticationsParams
- func (o *ListAuthenticationsParams) WithTimeout(timeout time.Duration) *ListAuthenticationsParams
- func (o *ListAuthenticationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAuthenticationsReader
- type UpdateAuthenticationDefault
- func (o *UpdateAuthenticationDefault) Code() int
- func (o *UpdateAuthenticationDefault) Error() string
- func (o *UpdateAuthenticationDefault) GetPayload() *models.ErrorPayload
- func (o *UpdateAuthenticationDefault) IsClientError() bool
- func (o *UpdateAuthenticationDefault) IsCode(code int) bool
- func (o *UpdateAuthenticationDefault) IsRedirect() bool
- func (o *UpdateAuthenticationDefault) IsServerError() bool
- func (o *UpdateAuthenticationDefault) IsSuccess() bool
- func (o *UpdateAuthenticationDefault) String() string
- type UpdateAuthenticationForbidden
- func (o *UpdateAuthenticationForbidden) Code() int
- func (o *UpdateAuthenticationForbidden) Error() string
- func (o *UpdateAuthenticationForbidden) GetPayload() *models.ErrorPayload
- func (o *UpdateAuthenticationForbidden) IsClientError() bool
- func (o *UpdateAuthenticationForbidden) IsCode(code int) bool
- func (o *UpdateAuthenticationForbidden) IsRedirect() bool
- func (o *UpdateAuthenticationForbidden) IsServerError() bool
- func (o *UpdateAuthenticationForbidden) IsSuccess() bool
- func (o *UpdateAuthenticationForbidden) String() string
- type UpdateAuthenticationNotFound
- func (o *UpdateAuthenticationNotFound) Code() int
- func (o *UpdateAuthenticationNotFound) Error() string
- func (o *UpdateAuthenticationNotFound) GetPayload() *models.ErrorPayload
- func (o *UpdateAuthenticationNotFound) IsClientError() bool
- func (o *UpdateAuthenticationNotFound) IsCode(code int) bool
- func (o *UpdateAuthenticationNotFound) IsRedirect() bool
- func (o *UpdateAuthenticationNotFound) IsServerError() bool
- func (o *UpdateAuthenticationNotFound) IsSuccess() bool
- func (o *UpdateAuthenticationNotFound) String() string
- type UpdateAuthenticationOK
- func (o *UpdateAuthenticationOK) Code() int
- func (o *UpdateAuthenticationOK) Error() string
- func (o *UpdateAuthenticationOK) GetPayload() *UpdateAuthenticationOKBody
- func (o *UpdateAuthenticationOK) IsClientError() bool
- func (o *UpdateAuthenticationOK) IsCode(code int) bool
- func (o *UpdateAuthenticationOK) IsRedirect() bool
- func (o *UpdateAuthenticationOK) IsServerError() bool
- func (o *UpdateAuthenticationOK) IsSuccess() bool
- func (o *UpdateAuthenticationOK) String() string
- type UpdateAuthenticationOKBody
- func (o *UpdateAuthenticationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateAuthenticationOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateAuthenticationOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateAuthenticationOKBody) Validate(formats strfmt.Registry) error
- type UpdateAuthenticationParams
- func NewUpdateAuthenticationParams() *UpdateAuthenticationParams
- func NewUpdateAuthenticationParamsWithContext(ctx context.Context) *UpdateAuthenticationParams
- func NewUpdateAuthenticationParamsWithHTTPClient(client *http.Client) *UpdateAuthenticationParams
- func NewUpdateAuthenticationParamsWithTimeout(timeout time.Duration) *UpdateAuthenticationParams
- func (o *UpdateAuthenticationParams) SetAuthenticationType(authenticationType string)
- func (o *UpdateAuthenticationParams) SetBody(body *models.Authentication)
- func (o *UpdateAuthenticationParams) SetContext(ctx context.Context)
- func (o *UpdateAuthenticationParams) SetDefaults()
- func (o *UpdateAuthenticationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAuthenticationParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateAuthenticationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAuthenticationParams) WithAuthenticationType(authenticationType string) *UpdateAuthenticationParams
- func (o *UpdateAuthenticationParams) WithBody(body *models.Authentication) *UpdateAuthenticationParams
- func (o *UpdateAuthenticationParams) WithContext(ctx context.Context) *UpdateAuthenticationParams
- func (o *UpdateAuthenticationParams) WithDefaults() *UpdateAuthenticationParams
- func (o *UpdateAuthenticationParams) WithHTTPClient(client *http.Client) *UpdateAuthenticationParams
- func (o *UpdateAuthenticationParams) WithOrganizationCanonical(organizationCanonical string) *UpdateAuthenticationParams
- func (o *UpdateAuthenticationParams) WithTimeout(timeout time.Duration) *UpdateAuthenticationParams
- func (o *UpdateAuthenticationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAuthenticationReader
- type UpdateAuthenticationUnprocessableEntity
- func (o *UpdateAuthenticationUnprocessableEntity) Code() int
- func (o *UpdateAuthenticationUnprocessableEntity) Error() string
- func (o *UpdateAuthenticationUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *UpdateAuthenticationUnprocessableEntity) IsClientError() bool
- func (o *UpdateAuthenticationUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateAuthenticationUnprocessableEntity) IsRedirect() bool
- func (o *UpdateAuthenticationUnprocessableEntity) IsServerError() bool
- func (o *UpdateAuthenticationUnprocessableEntity) IsSuccess() bool
- func (o *UpdateAuthenticationUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptApplicationVndCycloidIoV1JSON ¶
func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationVndCycloidIoV1JSON ¶
func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for organization authentications API
func (*Client) GetAuthentication ¶
func (a *Client) GetAuthentication(params *GetAuthenticationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthenticationOK, error)
GetAuthentication Get the authentication available in the organization with a canonical
func (*Client) ListAuthentications ¶
func (a *Client) ListAuthentications(params *ListAuthenticationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAuthenticationsOK, error)
ListAuthentications List of authentications available in the organization.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAuthentication ¶
func (a *Client) UpdateAuthentication(params *UpdateAuthenticationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthenticationOK, error)
UpdateAuthentication Update an existing authentication in the organization.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
GetAuthentication(params *GetAuthenticationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthenticationOK, error)
ListAuthentications(params *ListAuthenticationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAuthenticationsOK, error)
UpdateAuthentication(params *UpdateAuthenticationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthenticationOK, 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 organization authentications API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new organization authentications API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new organization authentications API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetAuthenticationDefault ¶
type GetAuthenticationDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetAuthenticationDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetAuthenticationDefault ¶
func NewGetAuthenticationDefault(code int) *GetAuthenticationDefault
NewGetAuthenticationDefault creates a GetAuthenticationDefault with default headers values
func (*GetAuthenticationDefault) Code ¶
func (o *GetAuthenticationDefault) Code() int
Code gets the status code for the get authentication default response
func (*GetAuthenticationDefault) Error ¶
func (o *GetAuthenticationDefault) Error() string
func (*GetAuthenticationDefault) GetPayload ¶
func (o *GetAuthenticationDefault) GetPayload() *models.ErrorPayload
func (*GetAuthenticationDefault) IsClientError ¶
func (o *GetAuthenticationDefault) IsClientError() bool
IsClientError returns true when this get authentication default response has a 4xx status code
func (*GetAuthenticationDefault) IsCode ¶
func (o *GetAuthenticationDefault) IsCode(code int) bool
IsCode returns true when this get authentication default response a status code equal to that given
func (*GetAuthenticationDefault) IsRedirect ¶
func (o *GetAuthenticationDefault) IsRedirect() bool
IsRedirect returns true when this get authentication default response has a 3xx status code
func (*GetAuthenticationDefault) IsServerError ¶
func (o *GetAuthenticationDefault) IsServerError() bool
IsServerError returns true when this get authentication default response has a 5xx status code
func (*GetAuthenticationDefault) IsSuccess ¶
func (o *GetAuthenticationDefault) IsSuccess() bool
IsSuccess returns true when this get authentication default response has a 2xx status code
func (*GetAuthenticationDefault) String ¶
func (o *GetAuthenticationDefault) String() string
type GetAuthenticationForbidden ¶
type GetAuthenticationForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetAuthenticationForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetAuthenticationForbidden ¶
func NewGetAuthenticationForbidden() *GetAuthenticationForbidden
NewGetAuthenticationForbidden creates a GetAuthenticationForbidden with default headers values
func (*GetAuthenticationForbidden) Code ¶
func (o *GetAuthenticationForbidden) Code() int
Code gets the status code for the get authentication forbidden response
func (*GetAuthenticationForbidden) Error ¶
func (o *GetAuthenticationForbidden) Error() string
func (*GetAuthenticationForbidden) GetPayload ¶
func (o *GetAuthenticationForbidden) GetPayload() *models.ErrorPayload
func (*GetAuthenticationForbidden) IsClientError ¶
func (o *GetAuthenticationForbidden) IsClientError() bool
IsClientError returns true when this get authentication forbidden response has a 4xx status code
func (*GetAuthenticationForbidden) IsCode ¶
func (o *GetAuthenticationForbidden) IsCode(code int) bool
IsCode returns true when this get authentication forbidden response a status code equal to that given
func (*GetAuthenticationForbidden) IsRedirect ¶
func (o *GetAuthenticationForbidden) IsRedirect() bool
IsRedirect returns true when this get authentication forbidden response has a 3xx status code
func (*GetAuthenticationForbidden) IsServerError ¶
func (o *GetAuthenticationForbidden) IsServerError() bool
IsServerError returns true when this get authentication forbidden response has a 5xx status code
func (*GetAuthenticationForbidden) IsSuccess ¶
func (o *GetAuthenticationForbidden) IsSuccess() bool
IsSuccess returns true when this get authentication forbidden response has a 2xx status code
func (*GetAuthenticationForbidden) String ¶
func (o *GetAuthenticationForbidden) String() string
type GetAuthenticationNotFound ¶
type GetAuthenticationNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetAuthenticationNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetAuthenticationNotFound ¶
func NewGetAuthenticationNotFound() *GetAuthenticationNotFound
NewGetAuthenticationNotFound creates a GetAuthenticationNotFound with default headers values
func (*GetAuthenticationNotFound) Code ¶
func (o *GetAuthenticationNotFound) Code() int
Code gets the status code for the get authentication not found response
func (*GetAuthenticationNotFound) Error ¶
func (o *GetAuthenticationNotFound) Error() string
func (*GetAuthenticationNotFound) GetPayload ¶
func (o *GetAuthenticationNotFound) GetPayload() *models.ErrorPayload
func (*GetAuthenticationNotFound) IsClientError ¶
func (o *GetAuthenticationNotFound) IsClientError() bool
IsClientError returns true when this get authentication not found response has a 4xx status code
func (*GetAuthenticationNotFound) IsCode ¶
func (o *GetAuthenticationNotFound) IsCode(code int) bool
IsCode returns true when this get authentication not found response a status code equal to that given
func (*GetAuthenticationNotFound) IsRedirect ¶
func (o *GetAuthenticationNotFound) IsRedirect() bool
IsRedirect returns true when this get authentication not found response has a 3xx status code
func (*GetAuthenticationNotFound) IsServerError ¶
func (o *GetAuthenticationNotFound) IsServerError() bool
IsServerError returns true when this get authentication not found response has a 5xx status code
func (*GetAuthenticationNotFound) IsSuccess ¶
func (o *GetAuthenticationNotFound) IsSuccess() bool
IsSuccess returns true when this get authentication not found response has a 2xx status code
func (*GetAuthenticationNotFound) String ¶
func (o *GetAuthenticationNotFound) String() string
type GetAuthenticationOK ¶
type GetAuthenticationOK struct {
Payload *GetAuthenticationOKBody
}
GetAuthenticationOK describes a response with status code 200, with default header values.
Authentication available in the organization with such canonical.
func NewGetAuthenticationOK ¶
func NewGetAuthenticationOK() *GetAuthenticationOK
NewGetAuthenticationOK creates a GetAuthenticationOK with default headers values
func (*GetAuthenticationOK) Code ¶
func (o *GetAuthenticationOK) Code() int
Code gets the status code for the get authentication o k response
func (*GetAuthenticationOK) Error ¶
func (o *GetAuthenticationOK) Error() string
func (*GetAuthenticationOK) GetPayload ¶
func (o *GetAuthenticationOK) GetPayload() *GetAuthenticationOKBody
func (*GetAuthenticationOK) IsClientError ¶
func (o *GetAuthenticationOK) IsClientError() bool
IsClientError returns true when this get authentication o k response has a 4xx status code
func (*GetAuthenticationOK) IsCode ¶
func (o *GetAuthenticationOK) IsCode(code int) bool
IsCode returns true when this get authentication o k response a status code equal to that given
func (*GetAuthenticationOK) IsRedirect ¶
func (o *GetAuthenticationOK) IsRedirect() bool
IsRedirect returns true when this get authentication o k response has a 3xx status code
func (*GetAuthenticationOK) IsServerError ¶
func (o *GetAuthenticationOK) IsServerError() bool
IsServerError returns true when this get authentication o k response has a 5xx status code
func (*GetAuthenticationOK) IsSuccess ¶
func (o *GetAuthenticationOK) IsSuccess() bool
IsSuccess returns true when this get authentication o k response has a 2xx status code
func (*GetAuthenticationOK) String ¶
func (o *GetAuthenticationOK) String() string
type GetAuthenticationOKBody ¶
type GetAuthenticationOKBody struct {
// data
// Required: true
Data *models.Authentication `json:"data"`
}
GetAuthenticationOKBody get authentication o k body swagger:model GetAuthenticationOKBody
func (*GetAuthenticationOKBody) ContextValidate ¶
func (o *GetAuthenticationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get authentication o k body based on the context it is used
func (*GetAuthenticationOKBody) MarshalBinary ¶
func (o *GetAuthenticationOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAuthenticationOKBody) UnmarshalBinary ¶
func (o *GetAuthenticationOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAuthenticationParams ¶
type GetAuthenticationParams struct {
/* AuthenticationType.
The type of the Authentication
*/
AuthenticationType string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAuthenticationParams contains all the parameters to send to the API endpoint
for the get authentication operation. Typically these are written to a http.Request.
func NewGetAuthenticationParams ¶
func NewGetAuthenticationParams() *GetAuthenticationParams
NewGetAuthenticationParams creates a new GetAuthenticationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAuthenticationParamsWithContext ¶
func NewGetAuthenticationParamsWithContext(ctx context.Context) *GetAuthenticationParams
NewGetAuthenticationParamsWithContext creates a new GetAuthenticationParams object with the ability to set a context for a request.
func NewGetAuthenticationParamsWithHTTPClient ¶
func NewGetAuthenticationParamsWithHTTPClient(client *http.Client) *GetAuthenticationParams
NewGetAuthenticationParamsWithHTTPClient creates a new GetAuthenticationParams object with the ability to set a custom HTTPClient for a request.
func NewGetAuthenticationParamsWithTimeout ¶
func NewGetAuthenticationParamsWithTimeout(timeout time.Duration) *GetAuthenticationParams
NewGetAuthenticationParamsWithTimeout creates a new GetAuthenticationParams object with the ability to set a timeout on a request.
func (*GetAuthenticationParams) SetAuthenticationType ¶
func (o *GetAuthenticationParams) SetAuthenticationType(authenticationType string)
SetAuthenticationType adds the authenticationType to the get authentication params
func (*GetAuthenticationParams) SetContext ¶
func (o *GetAuthenticationParams) SetContext(ctx context.Context)
SetContext adds the context to the get authentication params
func (*GetAuthenticationParams) SetDefaults ¶
func (o *GetAuthenticationParams) SetDefaults()
SetDefaults hydrates default values in the get authentication params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuthenticationParams) SetHTTPClient ¶
func (o *GetAuthenticationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get authentication params
func (*GetAuthenticationParams) SetOrganizationCanonical ¶
func (o *GetAuthenticationParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get authentication params
func (*GetAuthenticationParams) SetTimeout ¶
func (o *GetAuthenticationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get authentication params
func (*GetAuthenticationParams) WithAuthenticationType ¶
func (o *GetAuthenticationParams) WithAuthenticationType(authenticationType string) *GetAuthenticationParams
WithAuthenticationType adds the authenticationType to the get authentication params
func (*GetAuthenticationParams) WithContext ¶
func (o *GetAuthenticationParams) WithContext(ctx context.Context) *GetAuthenticationParams
WithContext adds the context to the get authentication params
func (*GetAuthenticationParams) WithDefaults ¶
func (o *GetAuthenticationParams) WithDefaults() *GetAuthenticationParams
WithDefaults hydrates default values in the get authentication params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuthenticationParams) WithHTTPClient ¶
func (o *GetAuthenticationParams) WithHTTPClient(client *http.Client) *GetAuthenticationParams
WithHTTPClient adds the HTTPClient to the get authentication params
func (*GetAuthenticationParams) WithOrganizationCanonical ¶
func (o *GetAuthenticationParams) WithOrganizationCanonical(organizationCanonical string) *GetAuthenticationParams
WithOrganizationCanonical adds the organizationCanonical to the get authentication params
func (*GetAuthenticationParams) WithTimeout ¶
func (o *GetAuthenticationParams) WithTimeout(timeout time.Duration) *GetAuthenticationParams
WithTimeout adds the timeout to the get authentication params
func (*GetAuthenticationParams) WriteToRequest ¶
func (o *GetAuthenticationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAuthenticationReader ¶
type GetAuthenticationReader struct {
// contains filtered or unexported fields
}
GetAuthenticationReader is a Reader for the GetAuthentication structure.
func (*GetAuthenticationReader) ReadResponse ¶
func (o *GetAuthenticationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAuthenticationsDefault ¶
type ListAuthenticationsDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
ListAuthenticationsDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewListAuthenticationsDefault ¶
func NewListAuthenticationsDefault(code int) *ListAuthenticationsDefault
NewListAuthenticationsDefault creates a ListAuthenticationsDefault with default headers values
func (*ListAuthenticationsDefault) Code ¶
func (o *ListAuthenticationsDefault) Code() int
Code gets the status code for the list authentications default response
func (*ListAuthenticationsDefault) Error ¶
func (o *ListAuthenticationsDefault) Error() string
func (*ListAuthenticationsDefault) GetPayload ¶
func (o *ListAuthenticationsDefault) GetPayload() *models.ErrorPayload
func (*ListAuthenticationsDefault) IsClientError ¶
func (o *ListAuthenticationsDefault) IsClientError() bool
IsClientError returns true when this list authentications default response has a 4xx status code
func (*ListAuthenticationsDefault) IsCode ¶
func (o *ListAuthenticationsDefault) IsCode(code int) bool
IsCode returns true when this list authentications default response a status code equal to that given
func (*ListAuthenticationsDefault) IsRedirect ¶
func (o *ListAuthenticationsDefault) IsRedirect() bool
IsRedirect returns true when this list authentications default response has a 3xx status code
func (*ListAuthenticationsDefault) IsServerError ¶
func (o *ListAuthenticationsDefault) IsServerError() bool
IsServerError returns true when this list authentications default response has a 5xx status code
func (*ListAuthenticationsDefault) IsSuccess ¶
func (o *ListAuthenticationsDefault) IsSuccess() bool
IsSuccess returns true when this list authentications default response has a 2xx status code
func (*ListAuthenticationsDefault) String ¶
func (o *ListAuthenticationsDefault) String() string
type ListAuthenticationsForbidden ¶
type ListAuthenticationsForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
ListAuthenticationsForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewListAuthenticationsForbidden ¶
func NewListAuthenticationsForbidden() *ListAuthenticationsForbidden
NewListAuthenticationsForbidden creates a ListAuthenticationsForbidden with default headers values
func (*ListAuthenticationsForbidden) Code ¶
func (o *ListAuthenticationsForbidden) Code() int
Code gets the status code for the list authentications forbidden response
func (*ListAuthenticationsForbidden) Error ¶
func (o *ListAuthenticationsForbidden) Error() string
func (*ListAuthenticationsForbidden) GetPayload ¶
func (o *ListAuthenticationsForbidden) GetPayload() *models.ErrorPayload
func (*ListAuthenticationsForbidden) IsClientError ¶
func (o *ListAuthenticationsForbidden) IsClientError() bool
IsClientError returns true when this list authentications forbidden response has a 4xx status code
func (*ListAuthenticationsForbidden) IsCode ¶
func (o *ListAuthenticationsForbidden) IsCode(code int) bool
IsCode returns true when this list authentications forbidden response a status code equal to that given
func (*ListAuthenticationsForbidden) IsRedirect ¶
func (o *ListAuthenticationsForbidden) IsRedirect() bool
IsRedirect returns true when this list authentications forbidden response has a 3xx status code
func (*ListAuthenticationsForbidden) IsServerError ¶
func (o *ListAuthenticationsForbidden) IsServerError() bool
IsServerError returns true when this list authentications forbidden response has a 5xx status code
func (*ListAuthenticationsForbidden) IsSuccess ¶
func (o *ListAuthenticationsForbidden) IsSuccess() bool
IsSuccess returns true when this list authentications forbidden response has a 2xx status code
func (*ListAuthenticationsForbidden) String ¶
func (o *ListAuthenticationsForbidden) String() string
type ListAuthenticationsNotFound ¶
type ListAuthenticationsNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
ListAuthenticationsNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewListAuthenticationsNotFound ¶
func NewListAuthenticationsNotFound() *ListAuthenticationsNotFound
NewListAuthenticationsNotFound creates a ListAuthenticationsNotFound with default headers values
func (*ListAuthenticationsNotFound) Code ¶
func (o *ListAuthenticationsNotFound) Code() int
Code gets the status code for the list authentications not found response
func (*ListAuthenticationsNotFound) Error ¶
func (o *ListAuthenticationsNotFound) Error() string
func (*ListAuthenticationsNotFound) GetPayload ¶
func (o *ListAuthenticationsNotFound) GetPayload() *models.ErrorPayload
func (*ListAuthenticationsNotFound) IsClientError ¶
func (o *ListAuthenticationsNotFound) IsClientError() bool
IsClientError returns true when this list authentications not found response has a 4xx status code
func (*ListAuthenticationsNotFound) IsCode ¶
func (o *ListAuthenticationsNotFound) IsCode(code int) bool
IsCode returns true when this list authentications not found response a status code equal to that given
func (*ListAuthenticationsNotFound) IsRedirect ¶
func (o *ListAuthenticationsNotFound) IsRedirect() bool
IsRedirect returns true when this list authentications not found response has a 3xx status code
func (*ListAuthenticationsNotFound) IsServerError ¶
func (o *ListAuthenticationsNotFound) IsServerError() bool
IsServerError returns true when this list authentications not found response has a 5xx status code
func (*ListAuthenticationsNotFound) IsSuccess ¶
func (o *ListAuthenticationsNotFound) IsSuccess() bool
IsSuccess returns true when this list authentications not found response has a 2xx status code
func (*ListAuthenticationsNotFound) String ¶
func (o *ListAuthenticationsNotFound) String() string
type ListAuthenticationsOK ¶
type ListAuthenticationsOK struct {
Payload *ListAuthenticationsOKBody
}
ListAuthenticationsOK describes a response with status code 200, with default header values.
List of authentications which are available in the organization.
func NewListAuthenticationsOK ¶
func NewListAuthenticationsOK() *ListAuthenticationsOK
NewListAuthenticationsOK creates a ListAuthenticationsOK with default headers values
func (*ListAuthenticationsOK) Code ¶
func (o *ListAuthenticationsOK) Code() int
Code gets the status code for the list authentications o k response
func (*ListAuthenticationsOK) Error ¶
func (o *ListAuthenticationsOK) Error() string
func (*ListAuthenticationsOK) GetPayload ¶
func (o *ListAuthenticationsOK) GetPayload() *ListAuthenticationsOKBody
func (*ListAuthenticationsOK) IsClientError ¶
func (o *ListAuthenticationsOK) IsClientError() bool
IsClientError returns true when this list authentications o k response has a 4xx status code
func (*ListAuthenticationsOK) IsCode ¶
func (o *ListAuthenticationsOK) IsCode(code int) bool
IsCode returns true when this list authentications o k response a status code equal to that given
func (*ListAuthenticationsOK) IsRedirect ¶
func (o *ListAuthenticationsOK) IsRedirect() bool
IsRedirect returns true when this list authentications o k response has a 3xx status code
func (*ListAuthenticationsOK) IsServerError ¶
func (o *ListAuthenticationsOK) IsServerError() bool
IsServerError returns true when this list authentications o k response has a 5xx status code
func (*ListAuthenticationsOK) IsSuccess ¶
func (o *ListAuthenticationsOK) IsSuccess() bool
IsSuccess returns true when this list authentications o k response has a 2xx status code
func (*ListAuthenticationsOK) String ¶
func (o *ListAuthenticationsOK) String() string
type ListAuthenticationsOKBody ¶
type ListAuthenticationsOKBody struct {
// data
// Required: true
Data []*models.Authentication `json:"data"`
}
ListAuthenticationsOKBody list authentications o k body swagger:model ListAuthenticationsOKBody
func (*ListAuthenticationsOKBody) ContextValidate ¶
func (o *ListAuthenticationsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list authentications o k body based on the context it is used
func (*ListAuthenticationsOKBody) MarshalBinary ¶
func (o *ListAuthenticationsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAuthenticationsOKBody) UnmarshalBinary ¶
func (o *ListAuthenticationsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAuthenticationsParams ¶
type ListAuthenticationsParams struct {
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* PageIndex.
The page number to request. The first page is 1.
Format: uint32
Default: 1
*/
PageIndex *uint32
/* PageSize.
The number of items at most which the response can have.
Format: uint32
Default: 1000
*/
PageSize *uint32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListAuthenticationsParams contains all the parameters to send to the API endpoint
for the list authentications operation. Typically these are written to a http.Request.
func NewListAuthenticationsParams ¶
func NewListAuthenticationsParams() *ListAuthenticationsParams
NewListAuthenticationsParams creates a new ListAuthenticationsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListAuthenticationsParamsWithContext ¶
func NewListAuthenticationsParamsWithContext(ctx context.Context) *ListAuthenticationsParams
NewListAuthenticationsParamsWithContext creates a new ListAuthenticationsParams object with the ability to set a context for a request.
func NewListAuthenticationsParamsWithHTTPClient ¶
func NewListAuthenticationsParamsWithHTTPClient(client *http.Client) *ListAuthenticationsParams
NewListAuthenticationsParamsWithHTTPClient creates a new ListAuthenticationsParams object with the ability to set a custom HTTPClient for a request.
func NewListAuthenticationsParamsWithTimeout ¶
func NewListAuthenticationsParamsWithTimeout(timeout time.Duration) *ListAuthenticationsParams
NewListAuthenticationsParamsWithTimeout creates a new ListAuthenticationsParams object with the ability to set a timeout on a request.
func (*ListAuthenticationsParams) SetContext ¶
func (o *ListAuthenticationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list authentications params
func (*ListAuthenticationsParams) SetDefaults ¶
func (o *ListAuthenticationsParams) SetDefaults()
SetDefaults hydrates default values in the list authentications params (not the query body).
All values with no default are reset to their zero value.
func (*ListAuthenticationsParams) SetHTTPClient ¶
func (o *ListAuthenticationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list authentications params
func (*ListAuthenticationsParams) SetOrganizationCanonical ¶
func (o *ListAuthenticationsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the list authentications params
func (*ListAuthenticationsParams) SetPageIndex ¶
func (o *ListAuthenticationsParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the list authentications params
func (*ListAuthenticationsParams) SetPageSize ¶
func (o *ListAuthenticationsParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the list authentications params
func (*ListAuthenticationsParams) SetTimeout ¶
func (o *ListAuthenticationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list authentications params
func (*ListAuthenticationsParams) WithContext ¶
func (o *ListAuthenticationsParams) WithContext(ctx context.Context) *ListAuthenticationsParams
WithContext adds the context to the list authentications params
func (*ListAuthenticationsParams) WithDefaults ¶
func (o *ListAuthenticationsParams) WithDefaults() *ListAuthenticationsParams
WithDefaults hydrates default values in the list authentications params (not the query body).
All values with no default are reset to their zero value.
func (*ListAuthenticationsParams) WithHTTPClient ¶
func (o *ListAuthenticationsParams) WithHTTPClient(client *http.Client) *ListAuthenticationsParams
WithHTTPClient adds the HTTPClient to the list authentications params
func (*ListAuthenticationsParams) WithOrganizationCanonical ¶
func (o *ListAuthenticationsParams) WithOrganizationCanonical(organizationCanonical string) *ListAuthenticationsParams
WithOrganizationCanonical adds the organizationCanonical to the list authentications params
func (*ListAuthenticationsParams) WithPageIndex ¶
func (o *ListAuthenticationsParams) WithPageIndex(pageIndex *uint32) *ListAuthenticationsParams
WithPageIndex adds the pageIndex to the list authentications params
func (*ListAuthenticationsParams) WithPageSize ¶
func (o *ListAuthenticationsParams) WithPageSize(pageSize *uint32) *ListAuthenticationsParams
WithPageSize adds the pageSize to the list authentications params
func (*ListAuthenticationsParams) WithTimeout ¶
func (o *ListAuthenticationsParams) WithTimeout(timeout time.Duration) *ListAuthenticationsParams
WithTimeout adds the timeout to the list authentications params
func (*ListAuthenticationsParams) WriteToRequest ¶
func (o *ListAuthenticationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAuthenticationsReader ¶
type ListAuthenticationsReader struct {
// contains filtered or unexported fields
}
ListAuthenticationsReader is a Reader for the ListAuthentications structure.
func (*ListAuthenticationsReader) ReadResponse ¶
func (o *ListAuthenticationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAuthenticationDefault ¶
type UpdateAuthenticationDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
UpdateAuthenticationDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateAuthenticationDefault ¶
func NewUpdateAuthenticationDefault(code int) *UpdateAuthenticationDefault
NewUpdateAuthenticationDefault creates a UpdateAuthenticationDefault with default headers values
func (*UpdateAuthenticationDefault) Code ¶
func (o *UpdateAuthenticationDefault) Code() int
Code gets the status code for the update authentication default response
func (*UpdateAuthenticationDefault) Error ¶
func (o *UpdateAuthenticationDefault) Error() string
func (*UpdateAuthenticationDefault) GetPayload ¶
func (o *UpdateAuthenticationDefault) GetPayload() *models.ErrorPayload
func (*UpdateAuthenticationDefault) IsClientError ¶
func (o *UpdateAuthenticationDefault) IsClientError() bool
IsClientError returns true when this update authentication default response has a 4xx status code
func (*UpdateAuthenticationDefault) IsCode ¶
func (o *UpdateAuthenticationDefault) IsCode(code int) bool
IsCode returns true when this update authentication default response a status code equal to that given
func (*UpdateAuthenticationDefault) IsRedirect ¶
func (o *UpdateAuthenticationDefault) IsRedirect() bool
IsRedirect returns true when this update authentication default response has a 3xx status code
func (*UpdateAuthenticationDefault) IsServerError ¶
func (o *UpdateAuthenticationDefault) IsServerError() bool
IsServerError returns true when this update authentication default response has a 5xx status code
func (*UpdateAuthenticationDefault) IsSuccess ¶
func (o *UpdateAuthenticationDefault) IsSuccess() bool
IsSuccess returns true when this update authentication default response has a 2xx status code
func (*UpdateAuthenticationDefault) String ¶
func (o *UpdateAuthenticationDefault) String() string
type UpdateAuthenticationForbidden ¶
type UpdateAuthenticationForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateAuthenticationForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewUpdateAuthenticationForbidden ¶
func NewUpdateAuthenticationForbidden() *UpdateAuthenticationForbidden
NewUpdateAuthenticationForbidden creates a UpdateAuthenticationForbidden with default headers values
func (*UpdateAuthenticationForbidden) Code ¶
func (o *UpdateAuthenticationForbidden) Code() int
Code gets the status code for the update authentication forbidden response
func (*UpdateAuthenticationForbidden) Error ¶
func (o *UpdateAuthenticationForbidden) Error() string
func (*UpdateAuthenticationForbidden) GetPayload ¶
func (o *UpdateAuthenticationForbidden) GetPayload() *models.ErrorPayload
func (*UpdateAuthenticationForbidden) IsClientError ¶
func (o *UpdateAuthenticationForbidden) IsClientError() bool
IsClientError returns true when this update authentication forbidden response has a 4xx status code
func (*UpdateAuthenticationForbidden) IsCode ¶
func (o *UpdateAuthenticationForbidden) IsCode(code int) bool
IsCode returns true when this update authentication forbidden response a status code equal to that given
func (*UpdateAuthenticationForbidden) IsRedirect ¶
func (o *UpdateAuthenticationForbidden) IsRedirect() bool
IsRedirect returns true when this update authentication forbidden response has a 3xx status code
func (*UpdateAuthenticationForbidden) IsServerError ¶
func (o *UpdateAuthenticationForbidden) IsServerError() bool
IsServerError returns true when this update authentication forbidden response has a 5xx status code
func (*UpdateAuthenticationForbidden) IsSuccess ¶
func (o *UpdateAuthenticationForbidden) IsSuccess() bool
IsSuccess returns true when this update authentication forbidden response has a 2xx status code
func (*UpdateAuthenticationForbidden) String ¶
func (o *UpdateAuthenticationForbidden) String() string
type UpdateAuthenticationNotFound ¶
type UpdateAuthenticationNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateAuthenticationNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewUpdateAuthenticationNotFound ¶
func NewUpdateAuthenticationNotFound() *UpdateAuthenticationNotFound
NewUpdateAuthenticationNotFound creates a UpdateAuthenticationNotFound with default headers values
func (*UpdateAuthenticationNotFound) Code ¶
func (o *UpdateAuthenticationNotFound) Code() int
Code gets the status code for the update authentication not found response
func (*UpdateAuthenticationNotFound) Error ¶
func (o *UpdateAuthenticationNotFound) Error() string
func (*UpdateAuthenticationNotFound) GetPayload ¶
func (o *UpdateAuthenticationNotFound) GetPayload() *models.ErrorPayload
func (*UpdateAuthenticationNotFound) IsClientError ¶
func (o *UpdateAuthenticationNotFound) IsClientError() bool
IsClientError returns true when this update authentication not found response has a 4xx status code
func (*UpdateAuthenticationNotFound) IsCode ¶
func (o *UpdateAuthenticationNotFound) IsCode(code int) bool
IsCode returns true when this update authentication not found response a status code equal to that given
func (*UpdateAuthenticationNotFound) IsRedirect ¶
func (o *UpdateAuthenticationNotFound) IsRedirect() bool
IsRedirect returns true when this update authentication not found response has a 3xx status code
func (*UpdateAuthenticationNotFound) IsServerError ¶
func (o *UpdateAuthenticationNotFound) IsServerError() bool
IsServerError returns true when this update authentication not found response has a 5xx status code
func (*UpdateAuthenticationNotFound) IsSuccess ¶
func (o *UpdateAuthenticationNotFound) IsSuccess() bool
IsSuccess returns true when this update authentication not found response has a 2xx status code
func (*UpdateAuthenticationNotFound) String ¶
func (o *UpdateAuthenticationNotFound) String() string
type UpdateAuthenticationOK ¶
type UpdateAuthenticationOK struct {
Payload *UpdateAuthenticationOKBody
}
UpdateAuthenticationOK describes a response with status code 200, with default header values.
Updated authentication belonging to the organization.
func NewUpdateAuthenticationOK ¶
func NewUpdateAuthenticationOK() *UpdateAuthenticationOK
NewUpdateAuthenticationOK creates a UpdateAuthenticationOK with default headers values
func (*UpdateAuthenticationOK) Code ¶
func (o *UpdateAuthenticationOK) Code() int
Code gets the status code for the update authentication o k response
func (*UpdateAuthenticationOK) Error ¶
func (o *UpdateAuthenticationOK) Error() string
func (*UpdateAuthenticationOK) GetPayload ¶
func (o *UpdateAuthenticationOK) GetPayload() *UpdateAuthenticationOKBody
func (*UpdateAuthenticationOK) IsClientError ¶
func (o *UpdateAuthenticationOK) IsClientError() bool
IsClientError returns true when this update authentication o k response has a 4xx status code
func (*UpdateAuthenticationOK) IsCode ¶
func (o *UpdateAuthenticationOK) IsCode(code int) bool
IsCode returns true when this update authentication o k response a status code equal to that given
func (*UpdateAuthenticationOK) IsRedirect ¶
func (o *UpdateAuthenticationOK) IsRedirect() bool
IsRedirect returns true when this update authentication o k response has a 3xx status code
func (*UpdateAuthenticationOK) IsServerError ¶
func (o *UpdateAuthenticationOK) IsServerError() bool
IsServerError returns true when this update authentication o k response has a 5xx status code
func (*UpdateAuthenticationOK) IsSuccess ¶
func (o *UpdateAuthenticationOK) IsSuccess() bool
IsSuccess returns true when this update authentication o k response has a 2xx status code
func (*UpdateAuthenticationOK) String ¶
func (o *UpdateAuthenticationOK) String() string
type UpdateAuthenticationOKBody ¶
type UpdateAuthenticationOKBody struct {
// data
// Required: true
Data *models.Authentication `json:"data"`
}
UpdateAuthenticationOKBody update authentication o k body swagger:model UpdateAuthenticationOKBody
func (*UpdateAuthenticationOKBody) ContextValidate ¶
func (o *UpdateAuthenticationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update authentication o k body based on the context it is used
func (*UpdateAuthenticationOKBody) MarshalBinary ¶
func (o *UpdateAuthenticationOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAuthenticationOKBody) UnmarshalBinary ¶
func (o *UpdateAuthenticationOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAuthenticationParams ¶
type UpdateAuthenticationParams struct {
/* AuthenticationType.
The type of the Authentication
*/
AuthenticationType string
/* Body.
The information of the organization's authentication to update.
*/
Body *models.Authentication
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateAuthenticationParams contains all the parameters to send to the API endpoint
for the update authentication operation. Typically these are written to a http.Request.
func NewUpdateAuthenticationParams ¶
func NewUpdateAuthenticationParams() *UpdateAuthenticationParams
NewUpdateAuthenticationParams creates a new UpdateAuthenticationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateAuthenticationParamsWithContext ¶
func NewUpdateAuthenticationParamsWithContext(ctx context.Context) *UpdateAuthenticationParams
NewUpdateAuthenticationParamsWithContext creates a new UpdateAuthenticationParams object with the ability to set a context for a request.
func NewUpdateAuthenticationParamsWithHTTPClient ¶
func NewUpdateAuthenticationParamsWithHTTPClient(client *http.Client) *UpdateAuthenticationParams
NewUpdateAuthenticationParamsWithHTTPClient creates a new UpdateAuthenticationParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAuthenticationParamsWithTimeout ¶
func NewUpdateAuthenticationParamsWithTimeout(timeout time.Duration) *UpdateAuthenticationParams
NewUpdateAuthenticationParamsWithTimeout creates a new UpdateAuthenticationParams object with the ability to set a timeout on a request.
func (*UpdateAuthenticationParams) SetAuthenticationType ¶
func (o *UpdateAuthenticationParams) SetAuthenticationType(authenticationType string)
SetAuthenticationType adds the authenticationType to the update authentication params
func (*UpdateAuthenticationParams) SetBody ¶
func (o *UpdateAuthenticationParams) SetBody(body *models.Authentication)
SetBody adds the body to the update authentication params
func (*UpdateAuthenticationParams) SetContext ¶
func (o *UpdateAuthenticationParams) SetContext(ctx context.Context)
SetContext adds the context to the update authentication params
func (*UpdateAuthenticationParams) SetDefaults ¶
func (o *UpdateAuthenticationParams) SetDefaults()
SetDefaults hydrates default values in the update authentication params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAuthenticationParams) SetHTTPClient ¶
func (o *UpdateAuthenticationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update authentication params
func (*UpdateAuthenticationParams) SetOrganizationCanonical ¶
func (o *UpdateAuthenticationParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the update authentication params
func (*UpdateAuthenticationParams) SetTimeout ¶
func (o *UpdateAuthenticationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update authentication params
func (*UpdateAuthenticationParams) WithAuthenticationType ¶
func (o *UpdateAuthenticationParams) WithAuthenticationType(authenticationType string) *UpdateAuthenticationParams
WithAuthenticationType adds the authenticationType to the update authentication params
func (*UpdateAuthenticationParams) WithBody ¶
func (o *UpdateAuthenticationParams) WithBody(body *models.Authentication) *UpdateAuthenticationParams
WithBody adds the body to the update authentication params
func (*UpdateAuthenticationParams) WithContext ¶
func (o *UpdateAuthenticationParams) WithContext(ctx context.Context) *UpdateAuthenticationParams
WithContext adds the context to the update authentication params
func (*UpdateAuthenticationParams) WithDefaults ¶
func (o *UpdateAuthenticationParams) WithDefaults() *UpdateAuthenticationParams
WithDefaults hydrates default values in the update authentication params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAuthenticationParams) WithHTTPClient ¶
func (o *UpdateAuthenticationParams) WithHTTPClient(client *http.Client) *UpdateAuthenticationParams
WithHTTPClient adds the HTTPClient to the update authentication params
func (*UpdateAuthenticationParams) WithOrganizationCanonical ¶
func (o *UpdateAuthenticationParams) WithOrganizationCanonical(organizationCanonical string) *UpdateAuthenticationParams
WithOrganizationCanonical adds the organizationCanonical to the update authentication params
func (*UpdateAuthenticationParams) WithTimeout ¶
func (o *UpdateAuthenticationParams) WithTimeout(timeout time.Duration) *UpdateAuthenticationParams
WithTimeout adds the timeout to the update authentication params
func (*UpdateAuthenticationParams) WriteToRequest ¶
func (o *UpdateAuthenticationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAuthenticationReader ¶
type UpdateAuthenticationReader struct {
// contains filtered or unexported fields
}
UpdateAuthenticationReader is a Reader for the UpdateAuthentication structure.
func (*UpdateAuthenticationReader) ReadResponse ¶
func (o *UpdateAuthenticationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAuthenticationUnprocessableEntity ¶
type UpdateAuthenticationUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateAuthenticationUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateAuthenticationUnprocessableEntity ¶
func NewUpdateAuthenticationUnprocessableEntity() *UpdateAuthenticationUnprocessableEntity
NewUpdateAuthenticationUnprocessableEntity creates a UpdateAuthenticationUnprocessableEntity with default headers values
func (*UpdateAuthenticationUnprocessableEntity) Code ¶
func (o *UpdateAuthenticationUnprocessableEntity) Code() int
Code gets the status code for the update authentication unprocessable entity response
func (*UpdateAuthenticationUnprocessableEntity) Error ¶
func (o *UpdateAuthenticationUnprocessableEntity) Error() string
func (*UpdateAuthenticationUnprocessableEntity) GetPayload ¶
func (o *UpdateAuthenticationUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*UpdateAuthenticationUnprocessableEntity) IsClientError ¶
func (o *UpdateAuthenticationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update authentication unprocessable entity response has a 4xx status code
func (*UpdateAuthenticationUnprocessableEntity) IsCode ¶
func (o *UpdateAuthenticationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update authentication unprocessable entity response a status code equal to that given
func (*UpdateAuthenticationUnprocessableEntity) IsRedirect ¶
func (o *UpdateAuthenticationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update authentication unprocessable entity response has a 3xx status code
func (*UpdateAuthenticationUnprocessableEntity) IsServerError ¶
func (o *UpdateAuthenticationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update authentication unprocessable entity response has a 5xx status code
func (*UpdateAuthenticationUnprocessableEntity) IsSuccess ¶
func (o *UpdateAuthenticationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update authentication unprocessable entity response has a 2xx status code
func (*UpdateAuthenticationUnprocessableEntity) String ¶
func (o *UpdateAuthenticationUnprocessableEntity) String() string