claims

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for claims API

func (*Client) CreateClaim

func (a *Client) CreateClaim(params *CreateClaimParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClaimCreated, error)
CreateClaim creates claim

Claim allows to add custom attribute to outgoing id / access token.

Authorization Server, Name, Mapping and Type are required fields.

ID if not provided will be generated.

func (*Client) DeleteClaim

func (a *Client) DeleteClaim(params *DeleteClaimParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClaimNoContent, error)

DeleteClaim deletes claim

Delete claim.

func (*Client) ListClaims

func (a *Client) ListClaims(params *ListClaimsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClaimsOK, error)

ListClaims lists claims

List claims.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateClaim

func (a *Client) UpdateClaim(params *UpdateClaimParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClaimOK, error)

UpdateClaim updates claim

Update claim.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateClaim(params *CreateClaimParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClaimCreated, error)

	DeleteClaim(params *DeleteClaimParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClaimNoContent, error)

	ListClaims(params *ListClaimsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClaimsOK, error)

	UpdateClaim(params *UpdateClaimParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClaimOK, 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 claims API client.

type CreateClaimConflict

type CreateClaimConflict struct {
	Payload *models.Error
}

CreateClaimConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateClaimConflict

func NewCreateClaimConflict() *CreateClaimConflict

NewCreateClaimConflict creates a CreateClaimConflict with default headers values

func (*CreateClaimConflict) Code

func (o *CreateClaimConflict) Code() int

Code gets the status code for the create claim conflict response

func (*CreateClaimConflict) Error

func (o *CreateClaimConflict) Error() string

func (*CreateClaimConflict) GetPayload

func (o *CreateClaimConflict) GetPayload() *models.Error

func (*CreateClaimConflict) IsClientError

func (o *CreateClaimConflict) IsClientError() bool

IsClientError returns true when this create claim conflict response has a 4xx status code

func (*CreateClaimConflict) IsCode

func (o *CreateClaimConflict) IsCode(code int) bool

IsCode returns true when this create claim conflict response a status code equal to that given

func (*CreateClaimConflict) IsRedirect

func (o *CreateClaimConflict) IsRedirect() bool

IsRedirect returns true when this create claim conflict response has a 3xx status code

func (*CreateClaimConflict) IsServerError

func (o *CreateClaimConflict) IsServerError() bool

IsServerError returns true when this create claim conflict response has a 5xx status code

func (*CreateClaimConflict) IsSuccess

func (o *CreateClaimConflict) IsSuccess() bool

IsSuccess returns true when this create claim conflict response has a 2xx status code

func (*CreateClaimConflict) String

func (o *CreateClaimConflict) String() string

type CreateClaimCreated

type CreateClaimCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Claim
}

CreateClaimCreated describes a response with status code 201, with default header values.

Claim

func NewCreateClaimCreated

func NewCreateClaimCreated() *CreateClaimCreated

NewCreateClaimCreated creates a CreateClaimCreated with default headers values

func (*CreateClaimCreated) Code

func (o *CreateClaimCreated) Code() int

Code gets the status code for the create claim created response

func (*CreateClaimCreated) Error

func (o *CreateClaimCreated) Error() string

func (*CreateClaimCreated) GetPayload

func (o *CreateClaimCreated) GetPayload() *models.Claim

func (*CreateClaimCreated) IsClientError

func (o *CreateClaimCreated) IsClientError() bool

IsClientError returns true when this create claim created response has a 4xx status code

func (*CreateClaimCreated) IsCode

func (o *CreateClaimCreated) IsCode(code int) bool

IsCode returns true when this create claim created response a status code equal to that given

func (*CreateClaimCreated) IsRedirect

func (o *CreateClaimCreated) IsRedirect() bool

IsRedirect returns true when this create claim created response has a 3xx status code

func (*CreateClaimCreated) IsServerError

func (o *CreateClaimCreated) IsServerError() bool

IsServerError returns true when this create claim created response has a 5xx status code

func (*CreateClaimCreated) IsSuccess

func (o *CreateClaimCreated) IsSuccess() bool

IsSuccess returns true when this create claim created response has a 2xx status code

func (*CreateClaimCreated) String

func (o *CreateClaimCreated) String() string

type CreateClaimForbidden

type CreateClaimForbidden struct {
	Payload *models.Error
}

CreateClaimForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateClaimForbidden

func NewCreateClaimForbidden() *CreateClaimForbidden

NewCreateClaimForbidden creates a CreateClaimForbidden with default headers values

func (*CreateClaimForbidden) Code

func (o *CreateClaimForbidden) Code() int

Code gets the status code for the create claim forbidden response

func (*CreateClaimForbidden) Error

func (o *CreateClaimForbidden) Error() string

func (*CreateClaimForbidden) GetPayload

func (o *CreateClaimForbidden) GetPayload() *models.Error

func (*CreateClaimForbidden) IsClientError

func (o *CreateClaimForbidden) IsClientError() bool

IsClientError returns true when this create claim forbidden response has a 4xx status code

func (*CreateClaimForbidden) IsCode

func (o *CreateClaimForbidden) IsCode(code int) bool

IsCode returns true when this create claim forbidden response a status code equal to that given

func (*CreateClaimForbidden) IsRedirect

func (o *CreateClaimForbidden) IsRedirect() bool

IsRedirect returns true when this create claim forbidden response has a 3xx status code

func (*CreateClaimForbidden) IsServerError

func (o *CreateClaimForbidden) IsServerError() bool

IsServerError returns true when this create claim forbidden response has a 5xx status code

func (*CreateClaimForbidden) IsSuccess

func (o *CreateClaimForbidden) IsSuccess() bool

IsSuccess returns true when this create claim forbidden response has a 2xx status code

func (*CreateClaimForbidden) String

func (o *CreateClaimForbidden) String() string

type CreateClaimNotFound

type CreateClaimNotFound struct {
	Payload *models.Error
}

CreateClaimNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateClaimNotFound

func NewCreateClaimNotFound() *CreateClaimNotFound

NewCreateClaimNotFound creates a CreateClaimNotFound with default headers values

func (*CreateClaimNotFound) Code

func (o *CreateClaimNotFound) Code() int

Code gets the status code for the create claim not found response

func (*CreateClaimNotFound) Error

func (o *CreateClaimNotFound) Error() string

func (*CreateClaimNotFound) GetPayload

func (o *CreateClaimNotFound) GetPayload() *models.Error

func (*CreateClaimNotFound) IsClientError

func (o *CreateClaimNotFound) IsClientError() bool

IsClientError returns true when this create claim not found response has a 4xx status code

func (*CreateClaimNotFound) IsCode

func (o *CreateClaimNotFound) IsCode(code int) bool

IsCode returns true when this create claim not found response a status code equal to that given

func (*CreateClaimNotFound) IsRedirect

func (o *CreateClaimNotFound) IsRedirect() bool

IsRedirect returns true when this create claim not found response has a 3xx status code

func (*CreateClaimNotFound) IsServerError

func (o *CreateClaimNotFound) IsServerError() bool

IsServerError returns true when this create claim not found response has a 5xx status code

func (*CreateClaimNotFound) IsSuccess

func (o *CreateClaimNotFound) IsSuccess() bool

IsSuccess returns true when this create claim not found response has a 2xx status code

func (*CreateClaimNotFound) String

func (o *CreateClaimNotFound) String() string

type CreateClaimParams

type CreateClaimParams struct {

	// Claim.
	Claim *models.Claim

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateClaimParams contains all the parameters to send to the API endpoint

for the create claim operation.

Typically these are written to a http.Request.

func NewCreateClaimParams

func NewCreateClaimParams() *CreateClaimParams

NewCreateClaimParams creates a new CreateClaimParams 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 NewCreateClaimParamsWithContext

func NewCreateClaimParamsWithContext(ctx context.Context) *CreateClaimParams

NewCreateClaimParamsWithContext creates a new CreateClaimParams object with the ability to set a context for a request.

func NewCreateClaimParamsWithHTTPClient

func NewCreateClaimParamsWithHTTPClient(client *http.Client) *CreateClaimParams

NewCreateClaimParamsWithHTTPClient creates a new CreateClaimParams object with the ability to set a custom HTTPClient for a request.

func NewCreateClaimParamsWithTimeout

func NewCreateClaimParamsWithTimeout(timeout time.Duration) *CreateClaimParams

NewCreateClaimParamsWithTimeout creates a new CreateClaimParams object with the ability to set a timeout on a request.

func (*CreateClaimParams) SetClaim

func (o *CreateClaimParams) SetClaim(claim *models.Claim)

SetClaim adds the claim to the create claim params

func (*CreateClaimParams) SetContext

func (o *CreateClaimParams) SetContext(ctx context.Context)

SetContext adds the context to the create claim params

func (*CreateClaimParams) SetDefaults

func (o *CreateClaimParams) SetDefaults()

SetDefaults hydrates default values in the create claim params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClaimParams) SetHTTPClient

func (o *CreateClaimParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create claim params

func (*CreateClaimParams) SetIfMatch

func (o *CreateClaimParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create claim params

func (*CreateClaimParams) SetTimeout

func (o *CreateClaimParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create claim params

func (*CreateClaimParams) WithClaim

func (o *CreateClaimParams) WithClaim(claim *models.Claim) *CreateClaimParams

WithClaim adds the claim to the create claim params

func (*CreateClaimParams) WithContext

func (o *CreateClaimParams) WithContext(ctx context.Context) *CreateClaimParams

WithContext adds the context to the create claim params

func (*CreateClaimParams) WithDefaults

func (o *CreateClaimParams) WithDefaults() *CreateClaimParams

WithDefaults hydrates default values in the create claim params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClaimParams) WithHTTPClient

func (o *CreateClaimParams) WithHTTPClient(client *http.Client) *CreateClaimParams

WithHTTPClient adds the HTTPClient to the create claim params

func (*CreateClaimParams) WithIfMatch

func (o *CreateClaimParams) WithIfMatch(ifMatch *string) *CreateClaimParams

WithIfMatch adds the ifMatch to the create claim params

func (*CreateClaimParams) WithTimeout

func (o *CreateClaimParams) WithTimeout(timeout time.Duration) *CreateClaimParams

WithTimeout adds the timeout to the create claim params

func (*CreateClaimParams) WriteToRequest

func (o *CreateClaimParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateClaimReader

type CreateClaimReader struct {
	// contains filtered or unexported fields
}

CreateClaimReader is a Reader for the CreateClaim structure.

func (*CreateClaimReader) ReadResponse

func (o *CreateClaimReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateClaimTooManyRequests

type CreateClaimTooManyRequests struct {
	Payload *models.Error
}

CreateClaimTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewCreateClaimTooManyRequests

func NewCreateClaimTooManyRequests() *CreateClaimTooManyRequests

NewCreateClaimTooManyRequests creates a CreateClaimTooManyRequests with default headers values

func (*CreateClaimTooManyRequests) Code

func (o *CreateClaimTooManyRequests) Code() int

Code gets the status code for the create claim too many requests response

func (*CreateClaimTooManyRequests) Error

func (*CreateClaimTooManyRequests) GetPayload

func (o *CreateClaimTooManyRequests) GetPayload() *models.Error

func (*CreateClaimTooManyRequests) IsClientError

func (o *CreateClaimTooManyRequests) IsClientError() bool

IsClientError returns true when this create claim too many requests response has a 4xx status code

func (*CreateClaimTooManyRequests) IsCode

func (o *CreateClaimTooManyRequests) IsCode(code int) bool

IsCode returns true when this create claim too many requests response a status code equal to that given

func (*CreateClaimTooManyRequests) IsRedirect

func (o *CreateClaimTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create claim too many requests response has a 3xx status code

func (*CreateClaimTooManyRequests) IsServerError

func (o *CreateClaimTooManyRequests) IsServerError() bool

IsServerError returns true when this create claim too many requests response has a 5xx status code

func (*CreateClaimTooManyRequests) IsSuccess

func (o *CreateClaimTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create claim too many requests response has a 2xx status code

func (*CreateClaimTooManyRequests) String

func (o *CreateClaimTooManyRequests) String() string

type CreateClaimUnauthorized

type CreateClaimUnauthorized struct {
	Payload *models.Error
}

CreateClaimUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateClaimUnauthorized

func NewCreateClaimUnauthorized() *CreateClaimUnauthorized

NewCreateClaimUnauthorized creates a CreateClaimUnauthorized with default headers values

func (*CreateClaimUnauthorized) Code

func (o *CreateClaimUnauthorized) Code() int

Code gets the status code for the create claim unauthorized response

func (*CreateClaimUnauthorized) Error

func (o *CreateClaimUnauthorized) Error() string

func (*CreateClaimUnauthorized) GetPayload

func (o *CreateClaimUnauthorized) GetPayload() *models.Error

func (*CreateClaimUnauthorized) IsClientError

func (o *CreateClaimUnauthorized) IsClientError() bool

IsClientError returns true when this create claim unauthorized response has a 4xx status code

func (*CreateClaimUnauthorized) IsCode

func (o *CreateClaimUnauthorized) IsCode(code int) bool

IsCode returns true when this create claim unauthorized response a status code equal to that given

func (*CreateClaimUnauthorized) IsRedirect

func (o *CreateClaimUnauthorized) IsRedirect() bool

IsRedirect returns true when this create claim unauthorized response has a 3xx status code

func (*CreateClaimUnauthorized) IsServerError

func (o *CreateClaimUnauthorized) IsServerError() bool

IsServerError returns true when this create claim unauthorized response has a 5xx status code

func (*CreateClaimUnauthorized) IsSuccess

func (o *CreateClaimUnauthorized) IsSuccess() bool

IsSuccess returns true when this create claim unauthorized response has a 2xx status code

func (*CreateClaimUnauthorized) String

func (o *CreateClaimUnauthorized) String() string

type CreateClaimUnprocessableEntity

type CreateClaimUnprocessableEntity struct {
	Payload *models.Error
}

CreateClaimUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCreateClaimUnprocessableEntity

func NewCreateClaimUnprocessableEntity() *CreateClaimUnprocessableEntity

NewCreateClaimUnprocessableEntity creates a CreateClaimUnprocessableEntity with default headers values

func (*CreateClaimUnprocessableEntity) Code

Code gets the status code for the create claim unprocessable entity response

func (*CreateClaimUnprocessableEntity) Error

func (*CreateClaimUnprocessableEntity) GetPayload

func (o *CreateClaimUnprocessableEntity) GetPayload() *models.Error

func (*CreateClaimUnprocessableEntity) IsClientError

func (o *CreateClaimUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create claim unprocessable entity response has a 4xx status code

func (*CreateClaimUnprocessableEntity) IsCode

func (o *CreateClaimUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this create claim unprocessable entity response a status code equal to that given

func (*CreateClaimUnprocessableEntity) IsRedirect

func (o *CreateClaimUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create claim unprocessable entity response has a 3xx status code

func (*CreateClaimUnprocessableEntity) IsServerError

func (o *CreateClaimUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create claim unprocessable entity response has a 5xx status code

func (*CreateClaimUnprocessableEntity) IsSuccess

func (o *CreateClaimUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create claim unprocessable entity response has a 2xx status code

func (*CreateClaimUnprocessableEntity) String

type DeleteClaimForbidden

type DeleteClaimForbidden struct {
	Payload *models.Error
}

DeleteClaimForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteClaimForbidden

func NewDeleteClaimForbidden() *DeleteClaimForbidden

NewDeleteClaimForbidden creates a DeleteClaimForbidden with default headers values

func (*DeleteClaimForbidden) Code

func (o *DeleteClaimForbidden) Code() int

Code gets the status code for the delete claim forbidden response

func (*DeleteClaimForbidden) Error

func (o *DeleteClaimForbidden) Error() string

func (*DeleteClaimForbidden) GetPayload

func (o *DeleteClaimForbidden) GetPayload() *models.Error

func (*DeleteClaimForbidden) IsClientError

func (o *DeleteClaimForbidden) IsClientError() bool

IsClientError returns true when this delete claim forbidden response has a 4xx status code

func (*DeleteClaimForbidden) IsCode

func (o *DeleteClaimForbidden) IsCode(code int) bool

IsCode returns true when this delete claim forbidden response a status code equal to that given

func (*DeleteClaimForbidden) IsRedirect

func (o *DeleteClaimForbidden) IsRedirect() bool

IsRedirect returns true when this delete claim forbidden response has a 3xx status code

func (*DeleteClaimForbidden) IsServerError

func (o *DeleteClaimForbidden) IsServerError() bool

IsServerError returns true when this delete claim forbidden response has a 5xx status code

func (*DeleteClaimForbidden) IsSuccess

func (o *DeleteClaimForbidden) IsSuccess() bool

IsSuccess returns true when this delete claim forbidden response has a 2xx status code

func (*DeleteClaimForbidden) String

func (o *DeleteClaimForbidden) String() string

type DeleteClaimNoContent

type DeleteClaimNoContent struct {
}

DeleteClaimNoContent describes a response with status code 204, with default header values.

Claim has been deleted

func NewDeleteClaimNoContent

func NewDeleteClaimNoContent() *DeleteClaimNoContent

NewDeleteClaimNoContent creates a DeleteClaimNoContent with default headers values

func (*DeleteClaimNoContent) Code

func (o *DeleteClaimNoContent) Code() int

Code gets the status code for the delete claim no content response

func (*DeleteClaimNoContent) Error

func (o *DeleteClaimNoContent) Error() string

func (*DeleteClaimNoContent) IsClientError

func (o *DeleteClaimNoContent) IsClientError() bool

IsClientError returns true when this delete claim no content response has a 4xx status code

func (*DeleteClaimNoContent) IsCode

func (o *DeleteClaimNoContent) IsCode(code int) bool

IsCode returns true when this delete claim no content response a status code equal to that given

func (*DeleteClaimNoContent) IsRedirect

func (o *DeleteClaimNoContent) IsRedirect() bool

IsRedirect returns true when this delete claim no content response has a 3xx status code

func (*DeleteClaimNoContent) IsServerError

func (o *DeleteClaimNoContent) IsServerError() bool

IsServerError returns true when this delete claim no content response has a 5xx status code

func (*DeleteClaimNoContent) IsSuccess

func (o *DeleteClaimNoContent) IsSuccess() bool

IsSuccess returns true when this delete claim no content response has a 2xx status code

func (*DeleteClaimNoContent) String

func (o *DeleteClaimNoContent) String() string

type DeleteClaimNotFound

type DeleteClaimNotFound struct {
	Payload *models.Error
}

DeleteClaimNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteClaimNotFound

func NewDeleteClaimNotFound() *DeleteClaimNotFound

NewDeleteClaimNotFound creates a DeleteClaimNotFound with default headers values

func (*DeleteClaimNotFound) Code

func (o *DeleteClaimNotFound) Code() int

Code gets the status code for the delete claim not found response

func (*DeleteClaimNotFound) Error

func (o *DeleteClaimNotFound) Error() string

func (*DeleteClaimNotFound) GetPayload

func (o *DeleteClaimNotFound) GetPayload() *models.Error

func (*DeleteClaimNotFound) IsClientError

func (o *DeleteClaimNotFound) IsClientError() bool

IsClientError returns true when this delete claim not found response has a 4xx status code

func (*DeleteClaimNotFound) IsCode

func (o *DeleteClaimNotFound) IsCode(code int) bool

IsCode returns true when this delete claim not found response a status code equal to that given

func (*DeleteClaimNotFound) IsRedirect

func (o *DeleteClaimNotFound) IsRedirect() bool

IsRedirect returns true when this delete claim not found response has a 3xx status code

func (*DeleteClaimNotFound) IsServerError

func (o *DeleteClaimNotFound) IsServerError() bool

IsServerError returns true when this delete claim not found response has a 5xx status code

func (*DeleteClaimNotFound) IsSuccess

func (o *DeleteClaimNotFound) IsSuccess() bool

IsSuccess returns true when this delete claim not found response has a 2xx status code

func (*DeleteClaimNotFound) String

func (o *DeleteClaimNotFound) String() string

type DeleteClaimParams

type DeleteClaimParams struct {

	// Claim.
	Claim string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteClaimParams contains all the parameters to send to the API endpoint

for the delete claim operation.

Typically these are written to a http.Request.

func NewDeleteClaimParams

func NewDeleteClaimParams() *DeleteClaimParams

NewDeleteClaimParams creates a new DeleteClaimParams 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 NewDeleteClaimParamsWithContext

func NewDeleteClaimParamsWithContext(ctx context.Context) *DeleteClaimParams

NewDeleteClaimParamsWithContext creates a new DeleteClaimParams object with the ability to set a context for a request.

func NewDeleteClaimParamsWithHTTPClient

func NewDeleteClaimParamsWithHTTPClient(client *http.Client) *DeleteClaimParams

NewDeleteClaimParamsWithHTTPClient creates a new DeleteClaimParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClaimParamsWithTimeout

func NewDeleteClaimParamsWithTimeout(timeout time.Duration) *DeleteClaimParams

NewDeleteClaimParamsWithTimeout creates a new DeleteClaimParams object with the ability to set a timeout on a request.

func (*DeleteClaimParams) SetClaim

func (o *DeleteClaimParams) SetClaim(claim string)

SetClaim adds the claim to the delete claim params

func (*DeleteClaimParams) SetContext

func (o *DeleteClaimParams) SetContext(ctx context.Context)

SetContext adds the context to the delete claim params

func (*DeleteClaimParams) SetDefaults

func (o *DeleteClaimParams) SetDefaults()

SetDefaults hydrates default values in the delete claim params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClaimParams) SetHTTPClient

func (o *DeleteClaimParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete claim params

func (*DeleteClaimParams) SetIfMatch

func (o *DeleteClaimParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete claim params

func (*DeleteClaimParams) SetTimeout

func (o *DeleteClaimParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete claim params

func (*DeleteClaimParams) WithClaim

func (o *DeleteClaimParams) WithClaim(claim string) *DeleteClaimParams

WithClaim adds the claim to the delete claim params

func (*DeleteClaimParams) WithContext

func (o *DeleteClaimParams) WithContext(ctx context.Context) *DeleteClaimParams

WithContext adds the context to the delete claim params

func (*DeleteClaimParams) WithDefaults

func (o *DeleteClaimParams) WithDefaults() *DeleteClaimParams

WithDefaults hydrates default values in the delete claim params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClaimParams) WithHTTPClient

func (o *DeleteClaimParams) WithHTTPClient(client *http.Client) *DeleteClaimParams

WithHTTPClient adds the HTTPClient to the delete claim params

func (*DeleteClaimParams) WithIfMatch

func (o *DeleteClaimParams) WithIfMatch(ifMatch *string) *DeleteClaimParams

WithIfMatch adds the ifMatch to the delete claim params

func (*DeleteClaimParams) WithTimeout

func (o *DeleteClaimParams) WithTimeout(timeout time.Duration) *DeleteClaimParams

WithTimeout adds the timeout to the delete claim params

func (*DeleteClaimParams) WriteToRequest

func (o *DeleteClaimParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteClaimReader

type DeleteClaimReader struct {
	// contains filtered or unexported fields
}

DeleteClaimReader is a Reader for the DeleteClaim structure.

func (*DeleteClaimReader) ReadResponse

func (o *DeleteClaimReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteClaimTooManyRequests

type DeleteClaimTooManyRequests struct {
	Payload *models.Error
}

DeleteClaimTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewDeleteClaimTooManyRequests

func NewDeleteClaimTooManyRequests() *DeleteClaimTooManyRequests

NewDeleteClaimTooManyRequests creates a DeleteClaimTooManyRequests with default headers values

func (*DeleteClaimTooManyRequests) Code

func (o *DeleteClaimTooManyRequests) Code() int

Code gets the status code for the delete claim too many requests response

func (*DeleteClaimTooManyRequests) Error

func (*DeleteClaimTooManyRequests) GetPayload

func (o *DeleteClaimTooManyRequests) GetPayload() *models.Error

func (*DeleteClaimTooManyRequests) IsClientError

func (o *DeleteClaimTooManyRequests) IsClientError() bool

IsClientError returns true when this delete claim too many requests response has a 4xx status code

func (*DeleteClaimTooManyRequests) IsCode

func (o *DeleteClaimTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete claim too many requests response a status code equal to that given

func (*DeleteClaimTooManyRequests) IsRedirect

func (o *DeleteClaimTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete claim too many requests response has a 3xx status code

func (*DeleteClaimTooManyRequests) IsServerError

func (o *DeleteClaimTooManyRequests) IsServerError() bool

IsServerError returns true when this delete claim too many requests response has a 5xx status code

func (*DeleteClaimTooManyRequests) IsSuccess

func (o *DeleteClaimTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete claim too many requests response has a 2xx status code

func (*DeleteClaimTooManyRequests) String

func (o *DeleteClaimTooManyRequests) String() string

type DeleteClaimUnauthorized

type DeleteClaimUnauthorized struct {
	Payload *models.Error
}

DeleteClaimUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteClaimUnauthorized

func NewDeleteClaimUnauthorized() *DeleteClaimUnauthorized

NewDeleteClaimUnauthorized creates a DeleteClaimUnauthorized with default headers values

func (*DeleteClaimUnauthorized) Code

func (o *DeleteClaimUnauthorized) Code() int

Code gets the status code for the delete claim unauthorized response

func (*DeleteClaimUnauthorized) Error

func (o *DeleteClaimUnauthorized) Error() string

func (*DeleteClaimUnauthorized) GetPayload

func (o *DeleteClaimUnauthorized) GetPayload() *models.Error

func (*DeleteClaimUnauthorized) IsClientError

func (o *DeleteClaimUnauthorized) IsClientError() bool

IsClientError returns true when this delete claim unauthorized response has a 4xx status code

func (*DeleteClaimUnauthorized) IsCode

func (o *DeleteClaimUnauthorized) IsCode(code int) bool

IsCode returns true when this delete claim unauthorized response a status code equal to that given

func (*DeleteClaimUnauthorized) IsRedirect

func (o *DeleteClaimUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete claim unauthorized response has a 3xx status code

func (*DeleteClaimUnauthorized) IsServerError

func (o *DeleteClaimUnauthorized) IsServerError() bool

IsServerError returns true when this delete claim unauthorized response has a 5xx status code

func (*DeleteClaimUnauthorized) IsSuccess

func (o *DeleteClaimUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete claim unauthorized response has a 2xx status code

func (*DeleteClaimUnauthorized) String

func (o *DeleteClaimUnauthorized) String() string

type ListClaimsForbidden

type ListClaimsForbidden struct {
	Payload *models.Error
}

ListClaimsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListClaimsForbidden

func NewListClaimsForbidden() *ListClaimsForbidden

NewListClaimsForbidden creates a ListClaimsForbidden with default headers values

func (*ListClaimsForbidden) Code

func (o *ListClaimsForbidden) Code() int

Code gets the status code for the list claims forbidden response

func (*ListClaimsForbidden) Error

func (o *ListClaimsForbidden) Error() string

func (*ListClaimsForbidden) GetPayload

func (o *ListClaimsForbidden) GetPayload() *models.Error

func (*ListClaimsForbidden) IsClientError

func (o *ListClaimsForbidden) IsClientError() bool

IsClientError returns true when this list claims forbidden response has a 4xx status code

func (*ListClaimsForbidden) IsCode

func (o *ListClaimsForbidden) IsCode(code int) bool

IsCode returns true when this list claims forbidden response a status code equal to that given

func (*ListClaimsForbidden) IsRedirect

func (o *ListClaimsForbidden) IsRedirect() bool

IsRedirect returns true when this list claims forbidden response has a 3xx status code

func (*ListClaimsForbidden) IsServerError

func (o *ListClaimsForbidden) IsServerError() bool

IsServerError returns true when this list claims forbidden response has a 5xx status code

func (*ListClaimsForbidden) IsSuccess

func (o *ListClaimsForbidden) IsSuccess() bool

IsSuccess returns true when this list claims forbidden response has a 2xx status code

func (*ListClaimsForbidden) String

func (o *ListClaimsForbidden) String() string

type ListClaimsOK

type ListClaimsOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Claims
}

ListClaimsOK describes a response with status code 200, with default header values.

Claims

func NewListClaimsOK

func NewListClaimsOK() *ListClaimsOK

NewListClaimsOK creates a ListClaimsOK with default headers values

func (*ListClaimsOK) Code

func (o *ListClaimsOK) Code() int

Code gets the status code for the list claims o k response

func (*ListClaimsOK) Error

func (o *ListClaimsOK) Error() string

func (*ListClaimsOK) GetPayload

func (o *ListClaimsOK) GetPayload() *models.Claims

func (*ListClaimsOK) IsClientError

func (o *ListClaimsOK) IsClientError() bool

IsClientError returns true when this list claims o k response has a 4xx status code

func (*ListClaimsOK) IsCode

func (o *ListClaimsOK) IsCode(code int) bool

IsCode returns true when this list claims o k response a status code equal to that given

func (*ListClaimsOK) IsRedirect

func (o *ListClaimsOK) IsRedirect() bool

IsRedirect returns true when this list claims o k response has a 3xx status code

func (*ListClaimsOK) IsServerError

func (o *ListClaimsOK) IsServerError() bool

IsServerError returns true when this list claims o k response has a 5xx status code

func (*ListClaimsOK) IsSuccess

func (o *ListClaimsOK) IsSuccess() bool

IsSuccess returns true when this list claims o k response has a 2xx status code

func (*ListClaimsOK) String

func (o *ListClaimsOK) String() string

type ListClaimsParams

type ListClaimsParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Authorization server id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClaimsParams contains all the parameters to send to the API endpoint

for the list claims operation.

Typically these are written to a http.Request.

func NewListClaimsParams

func NewListClaimsParams() *ListClaimsParams

NewListClaimsParams creates a new ListClaimsParams 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 NewListClaimsParamsWithContext

func NewListClaimsParamsWithContext(ctx context.Context) *ListClaimsParams

NewListClaimsParamsWithContext creates a new ListClaimsParams object with the ability to set a context for a request.

func NewListClaimsParamsWithHTTPClient

func NewListClaimsParamsWithHTTPClient(client *http.Client) *ListClaimsParams

NewListClaimsParamsWithHTTPClient creates a new ListClaimsParams object with the ability to set a custom HTTPClient for a request.

func NewListClaimsParamsWithTimeout

func NewListClaimsParamsWithTimeout(timeout time.Duration) *ListClaimsParams

NewListClaimsParamsWithTimeout creates a new ListClaimsParams object with the ability to set a timeout on a request.

func (*ListClaimsParams) SetContext

func (o *ListClaimsParams) SetContext(ctx context.Context)

SetContext adds the context to the list claims params

func (*ListClaimsParams) SetDefaults

func (o *ListClaimsParams) SetDefaults()

SetDefaults hydrates default values in the list claims params (not the query body).

All values with no default are reset to their zero value.

func (*ListClaimsParams) SetHTTPClient

func (o *ListClaimsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list claims params

func (*ListClaimsParams) SetIfMatch

func (o *ListClaimsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list claims params

func (*ListClaimsParams) SetTimeout

func (o *ListClaimsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list claims params

func (*ListClaimsParams) SetWid

func (o *ListClaimsParams) SetWid(wid string)

SetWid adds the wid to the list claims params

func (*ListClaimsParams) WithContext

func (o *ListClaimsParams) WithContext(ctx context.Context) *ListClaimsParams

WithContext adds the context to the list claims params

func (*ListClaimsParams) WithDefaults

func (o *ListClaimsParams) WithDefaults() *ListClaimsParams

WithDefaults hydrates default values in the list claims params (not the query body).

All values with no default are reset to their zero value.

func (*ListClaimsParams) WithHTTPClient

func (o *ListClaimsParams) WithHTTPClient(client *http.Client) *ListClaimsParams

WithHTTPClient adds the HTTPClient to the list claims params

func (*ListClaimsParams) WithIfMatch

func (o *ListClaimsParams) WithIfMatch(ifMatch *string) *ListClaimsParams

WithIfMatch adds the ifMatch to the list claims params

func (*ListClaimsParams) WithTimeout

func (o *ListClaimsParams) WithTimeout(timeout time.Duration) *ListClaimsParams

WithTimeout adds the timeout to the list claims params

func (*ListClaimsParams) WithWid

func (o *ListClaimsParams) WithWid(wid string) *ListClaimsParams

WithWid adds the wid to the list claims params

func (*ListClaimsParams) WriteToRequest

func (o *ListClaimsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListClaimsReader

type ListClaimsReader struct {
	// contains filtered or unexported fields
}

ListClaimsReader is a Reader for the ListClaims structure.

func (*ListClaimsReader) ReadResponse

func (o *ListClaimsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListClaimsTooManyRequests

type ListClaimsTooManyRequests struct {
	Payload *models.Error
}

ListClaimsTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListClaimsTooManyRequests

func NewListClaimsTooManyRequests() *ListClaimsTooManyRequests

NewListClaimsTooManyRequests creates a ListClaimsTooManyRequests with default headers values

func (*ListClaimsTooManyRequests) Code

func (o *ListClaimsTooManyRequests) Code() int

Code gets the status code for the list claims too many requests response

func (*ListClaimsTooManyRequests) Error

func (o *ListClaimsTooManyRequests) Error() string

func (*ListClaimsTooManyRequests) GetPayload

func (o *ListClaimsTooManyRequests) GetPayload() *models.Error

func (*ListClaimsTooManyRequests) IsClientError

func (o *ListClaimsTooManyRequests) IsClientError() bool

IsClientError returns true when this list claims too many requests response has a 4xx status code

func (*ListClaimsTooManyRequests) IsCode

func (o *ListClaimsTooManyRequests) IsCode(code int) bool

IsCode returns true when this list claims too many requests response a status code equal to that given

func (*ListClaimsTooManyRequests) IsRedirect

func (o *ListClaimsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list claims too many requests response has a 3xx status code

func (*ListClaimsTooManyRequests) IsServerError

func (o *ListClaimsTooManyRequests) IsServerError() bool

IsServerError returns true when this list claims too many requests response has a 5xx status code

func (*ListClaimsTooManyRequests) IsSuccess

func (o *ListClaimsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list claims too many requests response has a 2xx status code

func (*ListClaimsTooManyRequests) String

func (o *ListClaimsTooManyRequests) String() string

type ListClaimsUnauthorized

type ListClaimsUnauthorized struct {
	Payload *models.Error
}

ListClaimsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListClaimsUnauthorized

func NewListClaimsUnauthorized() *ListClaimsUnauthorized

NewListClaimsUnauthorized creates a ListClaimsUnauthorized with default headers values

func (*ListClaimsUnauthorized) Code

func (o *ListClaimsUnauthorized) Code() int

Code gets the status code for the list claims unauthorized response

func (*ListClaimsUnauthorized) Error

func (o *ListClaimsUnauthorized) Error() string

func (*ListClaimsUnauthorized) GetPayload

func (o *ListClaimsUnauthorized) GetPayload() *models.Error

func (*ListClaimsUnauthorized) IsClientError

func (o *ListClaimsUnauthorized) IsClientError() bool

IsClientError returns true when this list claims unauthorized response has a 4xx status code

func (*ListClaimsUnauthorized) IsCode

func (o *ListClaimsUnauthorized) IsCode(code int) bool

IsCode returns true when this list claims unauthorized response a status code equal to that given

func (*ListClaimsUnauthorized) IsRedirect

func (o *ListClaimsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list claims unauthorized response has a 3xx status code

func (*ListClaimsUnauthorized) IsServerError

func (o *ListClaimsUnauthorized) IsServerError() bool

IsServerError returns true when this list claims unauthorized response has a 5xx status code

func (*ListClaimsUnauthorized) IsSuccess

func (o *ListClaimsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list claims unauthorized response has a 2xx status code

func (*ListClaimsUnauthorized) String

func (o *ListClaimsUnauthorized) String() string

type UpdateClaimBadRequest

type UpdateClaimBadRequest struct {
	Payload *models.Error
}

UpdateClaimBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateClaimBadRequest

func NewUpdateClaimBadRequest() *UpdateClaimBadRequest

NewUpdateClaimBadRequest creates a UpdateClaimBadRequest with default headers values

func (*UpdateClaimBadRequest) Code

func (o *UpdateClaimBadRequest) Code() int

Code gets the status code for the update claim bad request response

func (*UpdateClaimBadRequest) Error

func (o *UpdateClaimBadRequest) Error() string

func (*UpdateClaimBadRequest) GetPayload

func (o *UpdateClaimBadRequest) GetPayload() *models.Error

func (*UpdateClaimBadRequest) IsClientError

func (o *UpdateClaimBadRequest) IsClientError() bool

IsClientError returns true when this update claim bad request response has a 4xx status code

func (*UpdateClaimBadRequest) IsCode

func (o *UpdateClaimBadRequest) IsCode(code int) bool

IsCode returns true when this update claim bad request response a status code equal to that given

func (*UpdateClaimBadRequest) IsRedirect

func (o *UpdateClaimBadRequest) IsRedirect() bool

IsRedirect returns true when this update claim bad request response has a 3xx status code

func (*UpdateClaimBadRequest) IsServerError

func (o *UpdateClaimBadRequest) IsServerError() bool

IsServerError returns true when this update claim bad request response has a 5xx status code

func (*UpdateClaimBadRequest) IsSuccess

func (o *UpdateClaimBadRequest) IsSuccess() bool

IsSuccess returns true when this update claim bad request response has a 2xx status code

func (*UpdateClaimBadRequest) String

func (o *UpdateClaimBadRequest) String() string

type UpdateClaimForbidden

type UpdateClaimForbidden struct {
	Payload *models.Error
}

UpdateClaimForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateClaimForbidden

func NewUpdateClaimForbidden() *UpdateClaimForbidden

NewUpdateClaimForbidden creates a UpdateClaimForbidden with default headers values

func (*UpdateClaimForbidden) Code

func (o *UpdateClaimForbidden) Code() int

Code gets the status code for the update claim forbidden response

func (*UpdateClaimForbidden) Error

func (o *UpdateClaimForbidden) Error() string

func (*UpdateClaimForbidden) GetPayload

func (o *UpdateClaimForbidden) GetPayload() *models.Error

func (*UpdateClaimForbidden) IsClientError

func (o *UpdateClaimForbidden) IsClientError() bool

IsClientError returns true when this update claim forbidden response has a 4xx status code

func (*UpdateClaimForbidden) IsCode

func (o *UpdateClaimForbidden) IsCode(code int) bool

IsCode returns true when this update claim forbidden response a status code equal to that given

func (*UpdateClaimForbidden) IsRedirect

func (o *UpdateClaimForbidden) IsRedirect() bool

IsRedirect returns true when this update claim forbidden response has a 3xx status code

func (*UpdateClaimForbidden) IsServerError

func (o *UpdateClaimForbidden) IsServerError() bool

IsServerError returns true when this update claim forbidden response has a 5xx status code

func (*UpdateClaimForbidden) IsSuccess

func (o *UpdateClaimForbidden) IsSuccess() bool

IsSuccess returns true when this update claim forbidden response has a 2xx status code

func (*UpdateClaimForbidden) String

func (o *UpdateClaimForbidden) String() string

type UpdateClaimNotFound

type UpdateClaimNotFound struct {
	Payload *models.Error
}

UpdateClaimNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateClaimNotFound

func NewUpdateClaimNotFound() *UpdateClaimNotFound

NewUpdateClaimNotFound creates a UpdateClaimNotFound with default headers values

func (*UpdateClaimNotFound) Code

func (o *UpdateClaimNotFound) Code() int

Code gets the status code for the update claim not found response

func (*UpdateClaimNotFound) Error

func (o *UpdateClaimNotFound) Error() string

func (*UpdateClaimNotFound) GetPayload

func (o *UpdateClaimNotFound) GetPayload() *models.Error

func (*UpdateClaimNotFound) IsClientError

func (o *UpdateClaimNotFound) IsClientError() bool

IsClientError returns true when this update claim not found response has a 4xx status code

func (*UpdateClaimNotFound) IsCode

func (o *UpdateClaimNotFound) IsCode(code int) bool

IsCode returns true when this update claim not found response a status code equal to that given

func (*UpdateClaimNotFound) IsRedirect

func (o *UpdateClaimNotFound) IsRedirect() bool

IsRedirect returns true when this update claim not found response has a 3xx status code

func (*UpdateClaimNotFound) IsServerError

func (o *UpdateClaimNotFound) IsServerError() bool

IsServerError returns true when this update claim not found response has a 5xx status code

func (*UpdateClaimNotFound) IsSuccess

func (o *UpdateClaimNotFound) IsSuccess() bool

IsSuccess returns true when this update claim not found response has a 2xx status code

func (*UpdateClaimNotFound) String

func (o *UpdateClaimNotFound) String() string

type UpdateClaimOK

type UpdateClaimOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Claim
}

UpdateClaimOK describes a response with status code 200, with default header values.

Claim

func NewUpdateClaimOK

func NewUpdateClaimOK() *UpdateClaimOK

NewUpdateClaimOK creates a UpdateClaimOK with default headers values

func (*UpdateClaimOK) Code

func (o *UpdateClaimOK) Code() int

Code gets the status code for the update claim o k response

func (*UpdateClaimOK) Error

func (o *UpdateClaimOK) Error() string

func (*UpdateClaimOK) GetPayload

func (o *UpdateClaimOK) GetPayload() *models.Claim

func (*UpdateClaimOK) IsClientError

func (o *UpdateClaimOK) IsClientError() bool

IsClientError returns true when this update claim o k response has a 4xx status code

func (*UpdateClaimOK) IsCode

func (o *UpdateClaimOK) IsCode(code int) bool

IsCode returns true when this update claim o k response a status code equal to that given

func (*UpdateClaimOK) IsRedirect

func (o *UpdateClaimOK) IsRedirect() bool

IsRedirect returns true when this update claim o k response has a 3xx status code

func (*UpdateClaimOK) IsServerError

func (o *UpdateClaimOK) IsServerError() bool

IsServerError returns true when this update claim o k response has a 5xx status code

func (*UpdateClaimOK) IsSuccess

func (o *UpdateClaimOK) IsSuccess() bool

IsSuccess returns true when this update claim o k response has a 2xx status code

func (*UpdateClaimOK) String

func (o *UpdateClaimOK) String() string

type UpdateClaimParams

type UpdateClaimParams struct {

	// UpdateClaimBody.
	UpdateClaimBody *models.Claim

	// Claim.
	Claim string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClaimParams contains all the parameters to send to the API endpoint

for the update claim operation.

Typically these are written to a http.Request.

func NewUpdateClaimParams

func NewUpdateClaimParams() *UpdateClaimParams

NewUpdateClaimParams creates a new UpdateClaimParams 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 NewUpdateClaimParamsWithContext

func NewUpdateClaimParamsWithContext(ctx context.Context) *UpdateClaimParams

NewUpdateClaimParamsWithContext creates a new UpdateClaimParams object with the ability to set a context for a request.

func NewUpdateClaimParamsWithHTTPClient

func NewUpdateClaimParamsWithHTTPClient(client *http.Client) *UpdateClaimParams

NewUpdateClaimParamsWithHTTPClient creates a new UpdateClaimParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClaimParamsWithTimeout

func NewUpdateClaimParamsWithTimeout(timeout time.Duration) *UpdateClaimParams

NewUpdateClaimParamsWithTimeout creates a new UpdateClaimParams object with the ability to set a timeout on a request.

func (*UpdateClaimParams) SetClaim

func (o *UpdateClaimParams) SetClaim(claim string)

SetClaim adds the claim to the update claim params

func (*UpdateClaimParams) SetContext

func (o *UpdateClaimParams) SetContext(ctx context.Context)

SetContext adds the context to the update claim params

func (*UpdateClaimParams) SetDefaults

func (o *UpdateClaimParams) SetDefaults()

SetDefaults hydrates default values in the update claim params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClaimParams) SetHTTPClient

func (o *UpdateClaimParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update claim params

func (*UpdateClaimParams) SetIfMatch

func (o *UpdateClaimParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update claim params

func (*UpdateClaimParams) SetTimeout

func (o *UpdateClaimParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update claim params

func (*UpdateClaimParams) SetUpdateClaimBody

func (o *UpdateClaimParams) SetUpdateClaimBody(updateClaimBody *models.Claim)

SetUpdateClaimBody adds the updateClaimBody to the update claim params

func (*UpdateClaimParams) WithClaim

func (o *UpdateClaimParams) WithClaim(claim string) *UpdateClaimParams

WithClaim adds the claim to the update claim params

func (*UpdateClaimParams) WithContext

func (o *UpdateClaimParams) WithContext(ctx context.Context) *UpdateClaimParams

WithContext adds the context to the update claim params

func (*UpdateClaimParams) WithDefaults

func (o *UpdateClaimParams) WithDefaults() *UpdateClaimParams

WithDefaults hydrates default values in the update claim params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClaimParams) WithHTTPClient

func (o *UpdateClaimParams) WithHTTPClient(client *http.Client) *UpdateClaimParams

WithHTTPClient adds the HTTPClient to the update claim params

func (*UpdateClaimParams) WithIfMatch

func (o *UpdateClaimParams) WithIfMatch(ifMatch *string) *UpdateClaimParams

WithIfMatch adds the ifMatch to the update claim params

func (*UpdateClaimParams) WithTimeout

func (o *UpdateClaimParams) WithTimeout(timeout time.Duration) *UpdateClaimParams

WithTimeout adds the timeout to the update claim params

func (*UpdateClaimParams) WithUpdateClaimBody

func (o *UpdateClaimParams) WithUpdateClaimBody(updateClaimBody *models.Claim) *UpdateClaimParams

WithUpdateClaimBody adds the updateClaimBody to the update claim params

func (*UpdateClaimParams) WriteToRequest

func (o *UpdateClaimParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateClaimReader

type UpdateClaimReader struct {
	// contains filtered or unexported fields
}

UpdateClaimReader is a Reader for the UpdateClaim structure.

func (*UpdateClaimReader) ReadResponse

func (o *UpdateClaimReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClaimTooManyRequests

type UpdateClaimTooManyRequests struct {
	Payload *models.Error
}

UpdateClaimTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewUpdateClaimTooManyRequests

func NewUpdateClaimTooManyRequests() *UpdateClaimTooManyRequests

NewUpdateClaimTooManyRequests creates a UpdateClaimTooManyRequests with default headers values

func (*UpdateClaimTooManyRequests) Code

func (o *UpdateClaimTooManyRequests) Code() int

Code gets the status code for the update claim too many requests response

func (*UpdateClaimTooManyRequests) Error

func (*UpdateClaimTooManyRequests) GetPayload

func (o *UpdateClaimTooManyRequests) GetPayload() *models.Error

func (*UpdateClaimTooManyRequests) IsClientError

func (o *UpdateClaimTooManyRequests) IsClientError() bool

IsClientError returns true when this update claim too many requests response has a 4xx status code

func (*UpdateClaimTooManyRequests) IsCode

func (o *UpdateClaimTooManyRequests) IsCode(code int) bool

IsCode returns true when this update claim too many requests response a status code equal to that given

func (*UpdateClaimTooManyRequests) IsRedirect

func (o *UpdateClaimTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update claim too many requests response has a 3xx status code

func (*UpdateClaimTooManyRequests) IsServerError

func (o *UpdateClaimTooManyRequests) IsServerError() bool

IsServerError returns true when this update claim too many requests response has a 5xx status code

func (*UpdateClaimTooManyRequests) IsSuccess

func (o *UpdateClaimTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update claim too many requests response has a 2xx status code

func (*UpdateClaimTooManyRequests) String

func (o *UpdateClaimTooManyRequests) String() string

type UpdateClaimUnauthorized

type UpdateClaimUnauthorized struct {
	Payload *models.Error
}

UpdateClaimUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateClaimUnauthorized

func NewUpdateClaimUnauthorized() *UpdateClaimUnauthorized

NewUpdateClaimUnauthorized creates a UpdateClaimUnauthorized with default headers values

func (*UpdateClaimUnauthorized) Code

func (o *UpdateClaimUnauthorized) Code() int

Code gets the status code for the update claim unauthorized response

func (*UpdateClaimUnauthorized) Error

func (o *UpdateClaimUnauthorized) Error() string

func (*UpdateClaimUnauthorized) GetPayload

func (o *UpdateClaimUnauthorized) GetPayload() *models.Error

func (*UpdateClaimUnauthorized) IsClientError

func (o *UpdateClaimUnauthorized) IsClientError() bool

IsClientError returns true when this update claim unauthorized response has a 4xx status code

func (*UpdateClaimUnauthorized) IsCode

func (o *UpdateClaimUnauthorized) IsCode(code int) bool

IsCode returns true when this update claim unauthorized response a status code equal to that given

func (*UpdateClaimUnauthorized) IsRedirect

func (o *UpdateClaimUnauthorized) IsRedirect() bool

IsRedirect returns true when this update claim unauthorized response has a 3xx status code

func (*UpdateClaimUnauthorized) IsServerError

func (o *UpdateClaimUnauthorized) IsServerError() bool

IsServerError returns true when this update claim unauthorized response has a 5xx status code

func (*UpdateClaimUnauthorized) IsSuccess

func (o *UpdateClaimUnauthorized) IsSuccess() bool

IsSuccess returns true when this update claim unauthorized response has a 2xx status code

func (*UpdateClaimUnauthorized) String

func (o *UpdateClaimUnauthorized) String() string

type UpdateClaimUnprocessableEntity

type UpdateClaimUnprocessableEntity struct {
	Payload *models.Error
}

UpdateClaimUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUpdateClaimUnprocessableEntity

func NewUpdateClaimUnprocessableEntity() *UpdateClaimUnprocessableEntity

NewUpdateClaimUnprocessableEntity creates a UpdateClaimUnprocessableEntity with default headers values

func (*UpdateClaimUnprocessableEntity) Code

Code gets the status code for the update claim unprocessable entity response

func (*UpdateClaimUnprocessableEntity) Error

func (*UpdateClaimUnprocessableEntity) GetPayload

func (o *UpdateClaimUnprocessableEntity) GetPayload() *models.Error

func (*UpdateClaimUnprocessableEntity) IsClientError

func (o *UpdateClaimUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update claim unprocessable entity response has a 4xx status code

func (*UpdateClaimUnprocessableEntity) IsCode

func (o *UpdateClaimUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this update claim unprocessable entity response a status code equal to that given

func (*UpdateClaimUnprocessableEntity) IsRedirect

func (o *UpdateClaimUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update claim unprocessable entity response has a 3xx status code

func (*UpdateClaimUnprocessableEntity) IsServerError

func (o *UpdateClaimUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update claim unprocessable entity response has a 5xx status code

func (*UpdateClaimUnprocessableEntity) IsSuccess

func (o *UpdateClaimUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update claim unprocessable entity response has a 2xx status code

func (*UpdateClaimUnprocessableEntity) String

Jump to

Keyboard shortcuts

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