enrollment

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 4

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 enrollment API

func (*Client) CreateEnrollment

func (a *Client) CreateEnrollment(params *CreateEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnrollmentCreated, error)

CreateEnrollment creates an outstanding enrollment for an identity

Creates a new OTT, OTTCA, or UPDB enrollment for a specific identity. If an enrollment of the same type is already outstanding the request will fail with a 409 conflict. If desired, an existing enrollment can be refreshed by `enrollments/:id/refresh` or deleted.

func (*Client) DeleteEnrollment

func (a *Client) DeleteEnrollment(params *DeleteEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnrollmentOK, error)

DeleteEnrollment deletes an outstanding enrollment

Delete an outstanding enrollment by id. Requires admin access.

func (*Client) DetailEnrollment

func (a *Client) DetailEnrollment(params *DetailEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailEnrollmentOK, error)

DetailEnrollment retrieves an outstanding enrollment

Retrieves a single outstanding enrollment by id. Requires admin access.

func (*Client) ListEnrollments

func (a *Client) ListEnrollments(params *ListEnrollmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnrollmentsOK, error)

ListEnrollments lists outstanding enrollments

Retrieves a list of outstanding enrollments; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListNetworkJWTs added in v0.26.34

func (a *Client) ListNetworkJWTs(params *ListNetworkJWTsParams, opts ...ClientOption) (*ListNetworkJWTsOK, error)

ListNetworkJWTs returns a list of j w ts suitable for bootstrapping network trust

Returns a list of JWTs for trusting a network

func (*Client) RefreshEnrollment

func (a *Client) RefreshEnrollment(params *RefreshEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshEnrollmentOK, error)

RefreshEnrollment refreshes an enrollment record s expiration window

For expired or unexpired enrollments, reset the expiration window. A new JWT will be generated and must be used for the enrollment.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	CreateEnrollment(params *CreateEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnrollmentCreated, error)

	DeleteEnrollment(params *DeleteEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnrollmentOK, error)

	DetailEnrollment(params *DetailEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailEnrollmentOK, error)

	ListEnrollments(params *ListEnrollmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnrollmentsOK, error)

	ListNetworkJWTs(params *ListNetworkJWTsParams, opts ...ClientOption) (*ListNetworkJWTsOK, error)

	RefreshEnrollment(params *RefreshEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshEnrollmentOK, 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 enrollment API client.

func NewClientWithBasicAuth added in v0.26.53

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new enrollment 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 added in v0.26.53

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new enrollment 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 CreateEnrollmentBadRequest

type CreateEnrollmentBadRequest struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewCreateEnrollmentBadRequest

func NewCreateEnrollmentBadRequest() *CreateEnrollmentBadRequest

NewCreateEnrollmentBadRequest creates a CreateEnrollmentBadRequest with default headers values

func (*CreateEnrollmentBadRequest) Code added in v0.26.53

func (o *CreateEnrollmentBadRequest) Code() int

Code gets the status code for the create enrollment bad request response

func (*CreateEnrollmentBadRequest) Error

func (*CreateEnrollmentBadRequest) GetPayload

func (*CreateEnrollmentBadRequest) IsClientError added in v0.26.53

func (o *CreateEnrollmentBadRequest) IsClientError() bool

IsClientError returns true when this create enrollment bad request response has a 4xx status code

func (*CreateEnrollmentBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this create enrollment bad request response a status code equal to that given

func (*CreateEnrollmentBadRequest) IsRedirect added in v0.26.53

func (o *CreateEnrollmentBadRequest) IsRedirect() bool

IsRedirect returns true when this create enrollment bad request response has a 3xx status code

func (*CreateEnrollmentBadRequest) IsServerError added in v0.26.53

func (o *CreateEnrollmentBadRequest) IsServerError() bool

IsServerError returns true when this create enrollment bad request response has a 5xx status code

func (*CreateEnrollmentBadRequest) IsSuccess added in v0.26.53

func (o *CreateEnrollmentBadRequest) IsSuccess() bool

IsSuccess returns true when this create enrollment bad request response has a 2xx status code

func (*CreateEnrollmentBadRequest) String added in v0.26.53

func (o *CreateEnrollmentBadRequest) String() string

type CreateEnrollmentConflict

type CreateEnrollmentConflict struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The request could not be completed due to a conflict of configuration or state

func NewCreateEnrollmentConflict

func NewCreateEnrollmentConflict() *CreateEnrollmentConflict

NewCreateEnrollmentConflict creates a CreateEnrollmentConflict with default headers values

func (*CreateEnrollmentConflict) Code added in v0.26.53

func (o *CreateEnrollmentConflict) Code() int

Code gets the status code for the create enrollment conflict response

func (*CreateEnrollmentConflict) Error

func (o *CreateEnrollmentConflict) Error() string

func (*CreateEnrollmentConflict) GetPayload

func (*CreateEnrollmentConflict) IsClientError added in v0.26.53

func (o *CreateEnrollmentConflict) IsClientError() bool

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

func (*CreateEnrollmentConflict) IsCode added in v0.26.53

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

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

func (*CreateEnrollmentConflict) IsRedirect added in v0.26.53

func (o *CreateEnrollmentConflict) IsRedirect() bool

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

func (*CreateEnrollmentConflict) IsServerError added in v0.26.53

func (o *CreateEnrollmentConflict) IsServerError() bool

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

func (*CreateEnrollmentConflict) IsSuccess added in v0.26.53

func (o *CreateEnrollmentConflict) IsSuccess() bool

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

func (*CreateEnrollmentConflict) String added in v0.26.53

func (o *CreateEnrollmentConflict) String() string

type CreateEnrollmentCreated

type CreateEnrollmentCreated struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.CreateEnvelope
}

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

The create request was successful and the resource has been added at the following location

func NewCreateEnrollmentCreated

func NewCreateEnrollmentCreated() *CreateEnrollmentCreated

NewCreateEnrollmentCreated creates a CreateEnrollmentCreated with default headers values

func (*CreateEnrollmentCreated) Code added in v0.26.53

func (o *CreateEnrollmentCreated) Code() int

Code gets the status code for the create enrollment created response

func (*CreateEnrollmentCreated) Error

func (o *CreateEnrollmentCreated) Error() string

func (*CreateEnrollmentCreated) GetPayload

func (*CreateEnrollmentCreated) IsClientError added in v0.26.53

func (o *CreateEnrollmentCreated) IsClientError() bool

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

func (*CreateEnrollmentCreated) IsCode added in v0.26.53

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

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

func (*CreateEnrollmentCreated) IsRedirect added in v0.26.53

func (o *CreateEnrollmentCreated) IsRedirect() bool

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

func (*CreateEnrollmentCreated) IsServerError added in v0.26.53

func (o *CreateEnrollmentCreated) IsServerError() bool

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

func (*CreateEnrollmentCreated) IsSuccess added in v0.26.53

func (o *CreateEnrollmentCreated) IsSuccess() bool

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

func (*CreateEnrollmentCreated) String added in v0.26.53

func (o *CreateEnrollmentCreated) String() string

type CreateEnrollmentParams

type CreateEnrollmentParams struct {

	/* Enrollment.

	   An enrollment to create
	*/
	Enrollment *rest_model.EnrollmentCreate

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

CreateEnrollmentParams contains all the parameters to send to the API endpoint

for the create enrollment operation.

Typically these are written to a http.Request.

func NewCreateEnrollmentParams

func NewCreateEnrollmentParams() *CreateEnrollmentParams

NewCreateEnrollmentParams creates a new CreateEnrollmentParams 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 NewCreateEnrollmentParamsWithContext

func NewCreateEnrollmentParamsWithContext(ctx context.Context) *CreateEnrollmentParams

NewCreateEnrollmentParamsWithContext creates a new CreateEnrollmentParams object with the ability to set a context for a request.

func NewCreateEnrollmentParamsWithHTTPClient

func NewCreateEnrollmentParamsWithHTTPClient(client *http.Client) *CreateEnrollmentParams

NewCreateEnrollmentParamsWithHTTPClient creates a new CreateEnrollmentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEnrollmentParamsWithTimeout

func NewCreateEnrollmentParamsWithTimeout(timeout time.Duration) *CreateEnrollmentParams

NewCreateEnrollmentParamsWithTimeout creates a new CreateEnrollmentParams object with the ability to set a timeout on a request.

func (*CreateEnrollmentParams) SetContext

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

SetContext adds the context to the create enrollment params

func (*CreateEnrollmentParams) SetDefaults

func (o *CreateEnrollmentParams) SetDefaults()

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

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

func (*CreateEnrollmentParams) SetEnrollment

func (o *CreateEnrollmentParams) SetEnrollment(enrollment *rest_model.EnrollmentCreate)

SetEnrollment adds the enrollment to the create enrollment params

func (*CreateEnrollmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create enrollment params

func (*CreateEnrollmentParams) SetTimeout

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

SetTimeout adds the timeout to the create enrollment params

func (*CreateEnrollmentParams) WithContext

WithContext adds the context to the create enrollment params

func (*CreateEnrollmentParams) WithDefaults

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

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

func (*CreateEnrollmentParams) WithEnrollment

WithEnrollment adds the enrollment to the create enrollment params

func (*CreateEnrollmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create enrollment params

func (*CreateEnrollmentParams) WithTimeout

WithTimeout adds the timeout to the create enrollment params

func (*CreateEnrollmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateEnrollmentReader

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

CreateEnrollmentReader is a Reader for the CreateEnrollment structure.

func (*CreateEnrollmentReader) ReadResponse

func (o *CreateEnrollmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type CreateEnrollmentServiceUnavailable added in v0.26.36

type CreateEnrollmentServiceUnavailable struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

CreateEnrollmentServiceUnavailable describes a response with status code 503, with default header values.

The request could not be completed due to the server being busy or in a temporarily bad state

func NewCreateEnrollmentServiceUnavailable added in v0.26.36

func NewCreateEnrollmentServiceUnavailable() *CreateEnrollmentServiceUnavailable

NewCreateEnrollmentServiceUnavailable creates a CreateEnrollmentServiceUnavailable with default headers values

func (*CreateEnrollmentServiceUnavailable) Code added in v0.26.53

Code gets the status code for the create enrollment service unavailable response

func (*CreateEnrollmentServiceUnavailable) Error added in v0.26.36

func (*CreateEnrollmentServiceUnavailable) GetPayload added in v0.26.36

func (*CreateEnrollmentServiceUnavailable) IsClientError added in v0.26.53

func (o *CreateEnrollmentServiceUnavailable) IsClientError() bool

IsClientError returns true when this create enrollment service unavailable response has a 4xx status code

func (*CreateEnrollmentServiceUnavailable) IsCode added in v0.26.53

IsCode returns true when this create enrollment service unavailable response a status code equal to that given

func (*CreateEnrollmentServiceUnavailable) IsRedirect added in v0.26.53

func (o *CreateEnrollmentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this create enrollment service unavailable response has a 3xx status code

func (*CreateEnrollmentServiceUnavailable) IsServerError added in v0.26.53

func (o *CreateEnrollmentServiceUnavailable) IsServerError() bool

IsServerError returns true when this create enrollment service unavailable response has a 5xx status code

func (*CreateEnrollmentServiceUnavailable) IsSuccess added in v0.26.53

IsSuccess returns true when this create enrollment service unavailable response has a 2xx status code

func (*CreateEnrollmentServiceUnavailable) String added in v0.26.53

type CreateEnrollmentTooManyRequests added in v0.26.0

type CreateEnrollmentTooManyRequests struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The resource requested is rate limited and the rate limit has been exceeded

func NewCreateEnrollmentTooManyRequests added in v0.26.0

func NewCreateEnrollmentTooManyRequests() *CreateEnrollmentTooManyRequests

NewCreateEnrollmentTooManyRequests creates a CreateEnrollmentTooManyRequests with default headers values

func (*CreateEnrollmentTooManyRequests) Code added in v0.26.53

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

func (*CreateEnrollmentTooManyRequests) Error added in v0.26.0

func (*CreateEnrollmentTooManyRequests) GetPayload added in v0.26.0

func (*CreateEnrollmentTooManyRequests) IsClientError added in v0.26.53

func (o *CreateEnrollmentTooManyRequests) IsClientError() bool

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

func (*CreateEnrollmentTooManyRequests) IsCode added in v0.26.53

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

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

func (*CreateEnrollmentTooManyRequests) IsRedirect added in v0.26.53

func (o *CreateEnrollmentTooManyRequests) IsRedirect() bool

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

func (*CreateEnrollmentTooManyRequests) IsServerError added in v0.26.53

func (o *CreateEnrollmentTooManyRequests) IsServerError() bool

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

func (*CreateEnrollmentTooManyRequests) IsSuccess added in v0.26.53

func (o *CreateEnrollmentTooManyRequests) IsSuccess() bool

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

func (*CreateEnrollmentTooManyRequests) String added in v0.26.53

type CreateEnrollmentUnauthorized

type CreateEnrollmentUnauthorized struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied session does not have the correct access rights to request this resource

func NewCreateEnrollmentUnauthorized

func NewCreateEnrollmentUnauthorized() *CreateEnrollmentUnauthorized

NewCreateEnrollmentUnauthorized creates a CreateEnrollmentUnauthorized with default headers values

func (*CreateEnrollmentUnauthorized) Code added in v0.26.53

Code gets the status code for the create enrollment unauthorized response

func (*CreateEnrollmentUnauthorized) Error

func (*CreateEnrollmentUnauthorized) GetPayload

func (*CreateEnrollmentUnauthorized) IsClientError added in v0.26.53

func (o *CreateEnrollmentUnauthorized) IsClientError() bool

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

func (*CreateEnrollmentUnauthorized) IsCode added in v0.26.53

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

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

func (*CreateEnrollmentUnauthorized) IsRedirect added in v0.26.53

func (o *CreateEnrollmentUnauthorized) IsRedirect() bool

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

func (*CreateEnrollmentUnauthorized) IsServerError added in v0.26.53

func (o *CreateEnrollmentUnauthorized) IsServerError() bool

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

func (*CreateEnrollmentUnauthorized) IsSuccess added in v0.26.53

func (o *CreateEnrollmentUnauthorized) IsSuccess() bool

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

func (*CreateEnrollmentUnauthorized) String added in v0.26.53

type DeleteEnrollmentBadRequest

type DeleteEnrollmentBadRequest struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewDeleteEnrollmentBadRequest

func NewDeleteEnrollmentBadRequest() *DeleteEnrollmentBadRequest

NewDeleteEnrollmentBadRequest creates a DeleteEnrollmentBadRequest with default headers values

func (*DeleteEnrollmentBadRequest) Code added in v0.26.53

func (o *DeleteEnrollmentBadRequest) Code() int

Code gets the status code for the delete enrollment bad request response

func (*DeleteEnrollmentBadRequest) Error

func (*DeleteEnrollmentBadRequest) GetPayload

func (*DeleteEnrollmentBadRequest) IsClientError added in v0.26.53

func (o *DeleteEnrollmentBadRequest) IsClientError() bool

IsClientError returns true when this delete enrollment bad request response has a 4xx status code

func (*DeleteEnrollmentBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this delete enrollment bad request response a status code equal to that given

func (*DeleteEnrollmentBadRequest) IsRedirect added in v0.26.53

func (o *DeleteEnrollmentBadRequest) IsRedirect() bool

IsRedirect returns true when this delete enrollment bad request response has a 3xx status code

func (*DeleteEnrollmentBadRequest) IsServerError added in v0.26.53

func (o *DeleteEnrollmentBadRequest) IsServerError() bool

IsServerError returns true when this delete enrollment bad request response has a 5xx status code

func (*DeleteEnrollmentBadRequest) IsSuccess added in v0.26.53

func (o *DeleteEnrollmentBadRequest) IsSuccess() bool

IsSuccess returns true when this delete enrollment bad request response has a 2xx status code

func (*DeleteEnrollmentBadRequest) String added in v0.26.53

func (o *DeleteEnrollmentBadRequest) String() string

type DeleteEnrollmentNotFound added in v0.26.36

type DeleteEnrollmentNotFound struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewDeleteEnrollmentNotFound added in v0.26.36

func NewDeleteEnrollmentNotFound() *DeleteEnrollmentNotFound

NewDeleteEnrollmentNotFound creates a DeleteEnrollmentNotFound with default headers values

func (*DeleteEnrollmentNotFound) Code added in v0.26.53

func (o *DeleteEnrollmentNotFound) Code() int

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

func (*DeleteEnrollmentNotFound) Error added in v0.26.36

func (o *DeleteEnrollmentNotFound) Error() string

func (*DeleteEnrollmentNotFound) GetPayload added in v0.26.36

func (*DeleteEnrollmentNotFound) IsClientError added in v0.26.53

func (o *DeleteEnrollmentNotFound) IsClientError() bool

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

func (*DeleteEnrollmentNotFound) IsCode added in v0.26.53

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

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

func (*DeleteEnrollmentNotFound) IsRedirect added in v0.26.53

func (o *DeleteEnrollmentNotFound) IsRedirect() bool

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

func (*DeleteEnrollmentNotFound) IsServerError added in v0.26.53

func (o *DeleteEnrollmentNotFound) IsServerError() bool

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

func (*DeleteEnrollmentNotFound) IsSuccess added in v0.26.53

func (o *DeleteEnrollmentNotFound) IsSuccess() bool

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

func (*DeleteEnrollmentNotFound) String added in v0.26.53

func (o *DeleteEnrollmentNotFound) String() string

type DeleteEnrollmentOK

type DeleteEnrollmentOK struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.Empty
}

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

The delete request was successful and the resource has been removed

func NewDeleteEnrollmentOK

func NewDeleteEnrollmentOK() *DeleteEnrollmentOK

NewDeleteEnrollmentOK creates a DeleteEnrollmentOK with default headers values

func (*DeleteEnrollmentOK) Code added in v0.26.53

func (o *DeleteEnrollmentOK) Code() int

Code gets the status code for the delete enrollment o k response

func (*DeleteEnrollmentOK) Error

func (o *DeleteEnrollmentOK) Error() string

func (*DeleteEnrollmentOK) GetPayload

func (o *DeleteEnrollmentOK) GetPayload() *rest_model.Empty

func (*DeleteEnrollmentOK) IsClientError added in v0.26.53

func (o *DeleteEnrollmentOK) IsClientError() bool

IsClientError returns true when this delete enrollment o k response has a 4xx status code

func (*DeleteEnrollmentOK) IsCode added in v0.26.53

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

IsCode returns true when this delete enrollment o k response a status code equal to that given

func (*DeleteEnrollmentOK) IsRedirect added in v0.26.53

func (o *DeleteEnrollmentOK) IsRedirect() bool

IsRedirect returns true when this delete enrollment o k response has a 3xx status code

func (*DeleteEnrollmentOK) IsServerError added in v0.26.53

func (o *DeleteEnrollmentOK) IsServerError() bool

IsServerError returns true when this delete enrollment o k response has a 5xx status code

func (*DeleteEnrollmentOK) IsSuccess added in v0.26.53

func (o *DeleteEnrollmentOK) IsSuccess() bool

IsSuccess returns true when this delete enrollment o k response has a 2xx status code

func (*DeleteEnrollmentOK) String added in v0.26.53

func (o *DeleteEnrollmentOK) String() string

type DeleteEnrollmentParams

type DeleteEnrollmentParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteEnrollmentParams contains all the parameters to send to the API endpoint

for the delete enrollment operation.

Typically these are written to a http.Request.

func NewDeleteEnrollmentParams

func NewDeleteEnrollmentParams() *DeleteEnrollmentParams

NewDeleteEnrollmentParams creates a new DeleteEnrollmentParams 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 NewDeleteEnrollmentParamsWithContext

func NewDeleteEnrollmentParamsWithContext(ctx context.Context) *DeleteEnrollmentParams

NewDeleteEnrollmentParamsWithContext creates a new DeleteEnrollmentParams object with the ability to set a context for a request.

func NewDeleteEnrollmentParamsWithHTTPClient

func NewDeleteEnrollmentParamsWithHTTPClient(client *http.Client) *DeleteEnrollmentParams

NewDeleteEnrollmentParamsWithHTTPClient creates a new DeleteEnrollmentParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEnrollmentParamsWithTimeout

func NewDeleteEnrollmentParamsWithTimeout(timeout time.Duration) *DeleteEnrollmentParams

NewDeleteEnrollmentParamsWithTimeout creates a new DeleteEnrollmentParams object with the ability to set a timeout on a request.

func (*DeleteEnrollmentParams) SetContext

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

SetContext adds the context to the delete enrollment params

func (*DeleteEnrollmentParams) SetDefaults

func (o *DeleteEnrollmentParams) SetDefaults()

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

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

func (*DeleteEnrollmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete enrollment params

func (*DeleteEnrollmentParams) SetID

func (o *DeleteEnrollmentParams) SetID(id string)

SetID adds the id to the delete enrollment params

func (*DeleteEnrollmentParams) SetTimeout

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

SetTimeout adds the timeout to the delete enrollment params

func (*DeleteEnrollmentParams) WithContext

WithContext adds the context to the delete enrollment params

func (*DeleteEnrollmentParams) WithDefaults

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

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

func (*DeleteEnrollmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete enrollment params

func (*DeleteEnrollmentParams) WithID

WithID adds the id to the delete enrollment params

func (*DeleteEnrollmentParams) WithTimeout

WithTimeout adds the timeout to the delete enrollment params

func (*DeleteEnrollmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEnrollmentReader

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

DeleteEnrollmentReader is a Reader for the DeleteEnrollment structure.

func (*DeleteEnrollmentReader) ReadResponse

func (o *DeleteEnrollmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteEnrollmentServiceUnavailable added in v0.26.36

type DeleteEnrollmentServiceUnavailable struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

DeleteEnrollmentServiceUnavailable describes a response with status code 503, with default header values.

The request could not be completed due to the server being busy or in a temporarily bad state

func NewDeleteEnrollmentServiceUnavailable added in v0.26.36

func NewDeleteEnrollmentServiceUnavailable() *DeleteEnrollmentServiceUnavailable

NewDeleteEnrollmentServiceUnavailable creates a DeleteEnrollmentServiceUnavailable with default headers values

func (*DeleteEnrollmentServiceUnavailable) Code added in v0.26.53

Code gets the status code for the delete enrollment service unavailable response

func (*DeleteEnrollmentServiceUnavailable) Error added in v0.26.36

func (*DeleteEnrollmentServiceUnavailable) GetPayload added in v0.26.36

func (*DeleteEnrollmentServiceUnavailable) IsClientError added in v0.26.53

func (o *DeleteEnrollmentServiceUnavailable) IsClientError() bool

IsClientError returns true when this delete enrollment service unavailable response has a 4xx status code

func (*DeleteEnrollmentServiceUnavailable) IsCode added in v0.26.53

IsCode returns true when this delete enrollment service unavailable response a status code equal to that given

func (*DeleteEnrollmentServiceUnavailable) IsRedirect added in v0.26.53

func (o *DeleteEnrollmentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this delete enrollment service unavailable response has a 3xx status code

func (*DeleteEnrollmentServiceUnavailable) IsServerError added in v0.26.53

func (o *DeleteEnrollmentServiceUnavailable) IsServerError() bool

IsServerError returns true when this delete enrollment service unavailable response has a 5xx status code

func (*DeleteEnrollmentServiceUnavailable) IsSuccess added in v0.26.53

IsSuccess returns true when this delete enrollment service unavailable response has a 2xx status code

func (*DeleteEnrollmentServiceUnavailable) String added in v0.26.53

type DeleteEnrollmentTooManyRequests added in v0.26.0

type DeleteEnrollmentTooManyRequests struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The resource requested is rate limited and the rate limit has been exceeded

func NewDeleteEnrollmentTooManyRequests added in v0.26.0

func NewDeleteEnrollmentTooManyRequests() *DeleteEnrollmentTooManyRequests

NewDeleteEnrollmentTooManyRequests creates a DeleteEnrollmentTooManyRequests with default headers values

func (*DeleteEnrollmentTooManyRequests) Code added in v0.26.53

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

func (*DeleteEnrollmentTooManyRequests) Error added in v0.26.0

func (*DeleteEnrollmentTooManyRequests) GetPayload added in v0.26.0

func (*DeleteEnrollmentTooManyRequests) IsClientError added in v0.26.53

func (o *DeleteEnrollmentTooManyRequests) IsClientError() bool

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

func (*DeleteEnrollmentTooManyRequests) IsCode added in v0.26.53

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

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

func (*DeleteEnrollmentTooManyRequests) IsRedirect added in v0.26.53

func (o *DeleteEnrollmentTooManyRequests) IsRedirect() bool

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

func (*DeleteEnrollmentTooManyRequests) IsServerError added in v0.26.53

func (o *DeleteEnrollmentTooManyRequests) IsServerError() bool

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

func (*DeleteEnrollmentTooManyRequests) IsSuccess added in v0.26.53

func (o *DeleteEnrollmentTooManyRequests) IsSuccess() bool

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

func (*DeleteEnrollmentTooManyRequests) String added in v0.26.53

type DeleteEnrollmentUnauthorized

type DeleteEnrollmentUnauthorized struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied session does not have the correct access rights to request this resource

func NewDeleteEnrollmentUnauthorized

func NewDeleteEnrollmentUnauthorized() *DeleteEnrollmentUnauthorized

NewDeleteEnrollmentUnauthorized creates a DeleteEnrollmentUnauthorized with default headers values

func (*DeleteEnrollmentUnauthorized) Code added in v0.26.53

Code gets the status code for the delete enrollment unauthorized response

func (*DeleteEnrollmentUnauthorized) Error

func (*DeleteEnrollmentUnauthorized) GetPayload

func (*DeleteEnrollmentUnauthorized) IsClientError added in v0.26.53

func (o *DeleteEnrollmentUnauthorized) IsClientError() bool

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

func (*DeleteEnrollmentUnauthorized) IsCode added in v0.26.53

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

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

func (*DeleteEnrollmentUnauthorized) IsRedirect added in v0.26.53

func (o *DeleteEnrollmentUnauthorized) IsRedirect() bool

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

func (*DeleteEnrollmentUnauthorized) IsServerError added in v0.26.53

func (o *DeleteEnrollmentUnauthorized) IsServerError() bool

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

func (*DeleteEnrollmentUnauthorized) IsSuccess added in v0.26.53

func (o *DeleteEnrollmentUnauthorized) IsSuccess() bool

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

func (*DeleteEnrollmentUnauthorized) String added in v0.26.53

type DetailEnrollmentNotFound

type DetailEnrollmentNotFound struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewDetailEnrollmentNotFound

func NewDetailEnrollmentNotFound() *DetailEnrollmentNotFound

NewDetailEnrollmentNotFound creates a DetailEnrollmentNotFound with default headers values

func (*DetailEnrollmentNotFound) Code added in v0.26.53

func (o *DetailEnrollmentNotFound) Code() int

Code gets the status code for the detail enrollment not found response

func (*DetailEnrollmentNotFound) Error

func (o *DetailEnrollmentNotFound) Error() string

func (*DetailEnrollmentNotFound) GetPayload

func (*DetailEnrollmentNotFound) IsClientError added in v0.26.53

func (o *DetailEnrollmentNotFound) IsClientError() bool

IsClientError returns true when this detail enrollment not found response has a 4xx status code

func (*DetailEnrollmentNotFound) IsCode added in v0.26.53

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

IsCode returns true when this detail enrollment not found response a status code equal to that given

func (*DetailEnrollmentNotFound) IsRedirect added in v0.26.53

func (o *DetailEnrollmentNotFound) IsRedirect() bool

IsRedirect returns true when this detail enrollment not found response has a 3xx status code

func (*DetailEnrollmentNotFound) IsServerError added in v0.26.53

func (o *DetailEnrollmentNotFound) IsServerError() bool

IsServerError returns true when this detail enrollment not found response has a 5xx status code

func (*DetailEnrollmentNotFound) IsSuccess added in v0.26.53

func (o *DetailEnrollmentNotFound) IsSuccess() bool

IsSuccess returns true when this detail enrollment not found response has a 2xx status code

func (*DetailEnrollmentNotFound) String added in v0.26.53

func (o *DetailEnrollmentNotFound) String() string

type DetailEnrollmentOK

type DetailEnrollmentOK struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.DetailEnrollmentEnvelope
}

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

A singular enrollment resource

func NewDetailEnrollmentOK

func NewDetailEnrollmentOK() *DetailEnrollmentOK

NewDetailEnrollmentOK creates a DetailEnrollmentOK with default headers values

func (*DetailEnrollmentOK) Code added in v0.26.53

func (o *DetailEnrollmentOK) Code() int

Code gets the status code for the detail enrollment o k response

func (*DetailEnrollmentOK) Error

func (o *DetailEnrollmentOK) Error() string

func (*DetailEnrollmentOK) GetPayload

func (*DetailEnrollmentOK) IsClientError added in v0.26.53

func (o *DetailEnrollmentOK) IsClientError() bool

IsClientError returns true when this detail enrollment o k response has a 4xx status code

func (*DetailEnrollmentOK) IsCode added in v0.26.53

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

IsCode returns true when this detail enrollment o k response a status code equal to that given

func (*DetailEnrollmentOK) IsRedirect added in v0.26.53

func (o *DetailEnrollmentOK) IsRedirect() bool

IsRedirect returns true when this detail enrollment o k response has a 3xx status code

func (*DetailEnrollmentOK) IsServerError added in v0.26.53

func (o *DetailEnrollmentOK) IsServerError() bool

IsServerError returns true when this detail enrollment o k response has a 5xx status code

func (*DetailEnrollmentOK) IsSuccess added in v0.26.53

func (o *DetailEnrollmentOK) IsSuccess() bool

IsSuccess returns true when this detail enrollment o k response has a 2xx status code

func (*DetailEnrollmentOK) String added in v0.26.53

func (o *DetailEnrollmentOK) String() string

type DetailEnrollmentParams

type DetailEnrollmentParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailEnrollmentParams contains all the parameters to send to the API endpoint

for the detail enrollment operation.

Typically these are written to a http.Request.

func NewDetailEnrollmentParams

func NewDetailEnrollmentParams() *DetailEnrollmentParams

NewDetailEnrollmentParams creates a new DetailEnrollmentParams 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 NewDetailEnrollmentParamsWithContext

func NewDetailEnrollmentParamsWithContext(ctx context.Context) *DetailEnrollmentParams

NewDetailEnrollmentParamsWithContext creates a new DetailEnrollmentParams object with the ability to set a context for a request.

func NewDetailEnrollmentParamsWithHTTPClient

func NewDetailEnrollmentParamsWithHTTPClient(client *http.Client) *DetailEnrollmentParams

NewDetailEnrollmentParamsWithHTTPClient creates a new DetailEnrollmentParams object with the ability to set a custom HTTPClient for a request.

func NewDetailEnrollmentParamsWithTimeout

func NewDetailEnrollmentParamsWithTimeout(timeout time.Duration) *DetailEnrollmentParams

NewDetailEnrollmentParamsWithTimeout creates a new DetailEnrollmentParams object with the ability to set a timeout on a request.

func (*DetailEnrollmentParams) SetContext

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

SetContext adds the context to the detail enrollment params

func (*DetailEnrollmentParams) SetDefaults

func (o *DetailEnrollmentParams) SetDefaults()

SetDefaults hydrates default values in the detail enrollment params (not the query body).

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

func (*DetailEnrollmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail enrollment params

func (*DetailEnrollmentParams) SetID

func (o *DetailEnrollmentParams) SetID(id string)

SetID adds the id to the detail enrollment params

func (*DetailEnrollmentParams) SetTimeout

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

SetTimeout adds the timeout to the detail enrollment params

func (*DetailEnrollmentParams) WithContext

WithContext adds the context to the detail enrollment params

func (*DetailEnrollmentParams) WithDefaults

WithDefaults hydrates default values in the detail enrollment params (not the query body).

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

func (*DetailEnrollmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail enrollment params

func (*DetailEnrollmentParams) WithID

WithID adds the id to the detail enrollment params

func (*DetailEnrollmentParams) WithTimeout

WithTimeout adds the timeout to the detail enrollment params

func (*DetailEnrollmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailEnrollmentReader

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

DetailEnrollmentReader is a Reader for the DetailEnrollment structure.

func (*DetailEnrollmentReader) ReadResponse

func (o *DetailEnrollmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DetailEnrollmentServiceUnavailable added in v0.26.36

type DetailEnrollmentServiceUnavailable struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

DetailEnrollmentServiceUnavailable describes a response with status code 503, with default header values.

The request could not be completed due to the server being busy or in a temporarily bad state

func NewDetailEnrollmentServiceUnavailable added in v0.26.36

func NewDetailEnrollmentServiceUnavailable() *DetailEnrollmentServiceUnavailable

NewDetailEnrollmentServiceUnavailable creates a DetailEnrollmentServiceUnavailable with default headers values

func (*DetailEnrollmentServiceUnavailable) Code added in v0.26.53

Code gets the status code for the detail enrollment service unavailable response

func (*DetailEnrollmentServiceUnavailable) Error added in v0.26.36

func (*DetailEnrollmentServiceUnavailable) GetPayload added in v0.26.36

func (*DetailEnrollmentServiceUnavailable) IsClientError added in v0.26.53

func (o *DetailEnrollmentServiceUnavailable) IsClientError() bool

IsClientError returns true when this detail enrollment service unavailable response has a 4xx status code

func (*DetailEnrollmentServiceUnavailable) IsCode added in v0.26.53

IsCode returns true when this detail enrollment service unavailable response a status code equal to that given

func (*DetailEnrollmentServiceUnavailable) IsRedirect added in v0.26.53

func (o *DetailEnrollmentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this detail enrollment service unavailable response has a 3xx status code

func (*DetailEnrollmentServiceUnavailable) IsServerError added in v0.26.53

func (o *DetailEnrollmentServiceUnavailable) IsServerError() bool

IsServerError returns true when this detail enrollment service unavailable response has a 5xx status code

func (*DetailEnrollmentServiceUnavailable) IsSuccess added in v0.26.53

IsSuccess returns true when this detail enrollment service unavailable response has a 2xx status code

func (*DetailEnrollmentServiceUnavailable) String added in v0.26.53

type DetailEnrollmentTooManyRequests added in v0.26.0

type DetailEnrollmentTooManyRequests struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The resource requested is rate limited and the rate limit has been exceeded

func NewDetailEnrollmentTooManyRequests added in v0.26.0

func NewDetailEnrollmentTooManyRequests() *DetailEnrollmentTooManyRequests

NewDetailEnrollmentTooManyRequests creates a DetailEnrollmentTooManyRequests with default headers values

func (*DetailEnrollmentTooManyRequests) Code added in v0.26.53

Code gets the status code for the detail enrollment too many requests response

func (*DetailEnrollmentTooManyRequests) Error added in v0.26.0

func (*DetailEnrollmentTooManyRequests) GetPayload added in v0.26.0

func (*DetailEnrollmentTooManyRequests) IsClientError added in v0.26.53

func (o *DetailEnrollmentTooManyRequests) IsClientError() bool

IsClientError returns true when this detail enrollment too many requests response has a 4xx status code

func (*DetailEnrollmentTooManyRequests) IsCode added in v0.26.53

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

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

func (*DetailEnrollmentTooManyRequests) IsRedirect added in v0.26.53

func (o *DetailEnrollmentTooManyRequests) IsRedirect() bool

IsRedirect returns true when this detail enrollment too many requests response has a 3xx status code

func (*DetailEnrollmentTooManyRequests) IsServerError added in v0.26.53

func (o *DetailEnrollmentTooManyRequests) IsServerError() bool

IsServerError returns true when this detail enrollment too many requests response has a 5xx status code

func (*DetailEnrollmentTooManyRequests) IsSuccess added in v0.26.53

func (o *DetailEnrollmentTooManyRequests) IsSuccess() bool

IsSuccess returns true when this detail enrollment too many requests response has a 2xx status code

func (*DetailEnrollmentTooManyRequests) String added in v0.26.53

type DetailEnrollmentUnauthorized

type DetailEnrollmentUnauthorized struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied session does not have the correct access rights to request this resource

func NewDetailEnrollmentUnauthorized

func NewDetailEnrollmentUnauthorized() *DetailEnrollmentUnauthorized

NewDetailEnrollmentUnauthorized creates a DetailEnrollmentUnauthorized with default headers values

func (*DetailEnrollmentUnauthorized) Code added in v0.26.53

Code gets the status code for the detail enrollment unauthorized response

func (*DetailEnrollmentUnauthorized) Error

func (*DetailEnrollmentUnauthorized) GetPayload

func (*DetailEnrollmentUnauthorized) IsClientError added in v0.26.53

func (o *DetailEnrollmentUnauthorized) IsClientError() bool

IsClientError returns true when this detail enrollment unauthorized response has a 4xx status code

func (*DetailEnrollmentUnauthorized) IsCode added in v0.26.53

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

IsCode returns true when this detail enrollment unauthorized response a status code equal to that given

func (*DetailEnrollmentUnauthorized) IsRedirect added in v0.26.53

func (o *DetailEnrollmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this detail enrollment unauthorized response has a 3xx status code

func (*DetailEnrollmentUnauthorized) IsServerError added in v0.26.53

func (o *DetailEnrollmentUnauthorized) IsServerError() bool

IsServerError returns true when this detail enrollment unauthorized response has a 5xx status code

func (*DetailEnrollmentUnauthorized) IsSuccess added in v0.26.53

func (o *DetailEnrollmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this detail enrollment unauthorized response has a 2xx status code

func (*DetailEnrollmentUnauthorized) String added in v0.26.53

type ListEnrollmentsBadRequest

type ListEnrollmentsBadRequest struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListEnrollmentsBadRequest

func NewListEnrollmentsBadRequest() *ListEnrollmentsBadRequest

NewListEnrollmentsBadRequest creates a ListEnrollmentsBadRequest with default headers values

func (*ListEnrollmentsBadRequest) Code added in v0.26.53

func (o *ListEnrollmentsBadRequest) Code() int

Code gets the status code for the list enrollments bad request response

func (*ListEnrollmentsBadRequest) Error

func (o *ListEnrollmentsBadRequest) Error() string

func (*ListEnrollmentsBadRequest) GetPayload

func (*ListEnrollmentsBadRequest) IsClientError added in v0.26.53

func (o *ListEnrollmentsBadRequest) IsClientError() bool

IsClientError returns true when this list enrollments bad request response has a 4xx status code

func (*ListEnrollmentsBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this list enrollments bad request response a status code equal to that given

func (*ListEnrollmentsBadRequest) IsRedirect added in v0.26.53

func (o *ListEnrollmentsBadRequest) IsRedirect() bool

IsRedirect returns true when this list enrollments bad request response has a 3xx status code

func (*ListEnrollmentsBadRequest) IsServerError added in v0.26.53

func (o *ListEnrollmentsBadRequest) IsServerError() bool

IsServerError returns true when this list enrollments bad request response has a 5xx status code

func (*ListEnrollmentsBadRequest) IsSuccess added in v0.26.53

func (o *ListEnrollmentsBadRequest) IsSuccess() bool

IsSuccess returns true when this list enrollments bad request response has a 2xx status code

func (*ListEnrollmentsBadRequest) String added in v0.26.53

func (o *ListEnrollmentsBadRequest) String() string

type ListEnrollmentsOK

type ListEnrollmentsOK struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.ListEnrollmentsEnvelope
}

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

A list of enrollments

func NewListEnrollmentsOK

func NewListEnrollmentsOK() *ListEnrollmentsOK

NewListEnrollmentsOK creates a ListEnrollmentsOK with default headers values

func (*ListEnrollmentsOK) Code added in v0.26.53

func (o *ListEnrollmentsOK) Code() int

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

func (*ListEnrollmentsOK) Error

func (o *ListEnrollmentsOK) Error() string

func (*ListEnrollmentsOK) GetPayload

func (*ListEnrollmentsOK) IsClientError added in v0.26.53

func (o *ListEnrollmentsOK) IsClientError() bool

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

func (*ListEnrollmentsOK) IsCode added in v0.26.53

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

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

func (*ListEnrollmentsOK) IsRedirect added in v0.26.53

func (o *ListEnrollmentsOK) IsRedirect() bool

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

func (*ListEnrollmentsOK) IsServerError added in v0.26.53

func (o *ListEnrollmentsOK) IsServerError() bool

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

func (*ListEnrollmentsOK) IsSuccess added in v0.26.53

func (o *ListEnrollmentsOK) IsSuccess() bool

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

func (*ListEnrollmentsOK) String added in v0.26.53

func (o *ListEnrollmentsOK) String() string

type ListEnrollmentsParams

type ListEnrollmentsParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListEnrollmentsParams contains all the parameters to send to the API endpoint

for the list enrollments operation.

Typically these are written to a http.Request.

func NewListEnrollmentsParams

func NewListEnrollmentsParams() *ListEnrollmentsParams

NewListEnrollmentsParams creates a new ListEnrollmentsParams 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 NewListEnrollmentsParamsWithContext

func NewListEnrollmentsParamsWithContext(ctx context.Context) *ListEnrollmentsParams

NewListEnrollmentsParamsWithContext creates a new ListEnrollmentsParams object with the ability to set a context for a request.

func NewListEnrollmentsParamsWithHTTPClient

func NewListEnrollmentsParamsWithHTTPClient(client *http.Client) *ListEnrollmentsParams

NewListEnrollmentsParamsWithHTTPClient creates a new ListEnrollmentsParams object with the ability to set a custom HTTPClient for a request.

func NewListEnrollmentsParamsWithTimeout

func NewListEnrollmentsParamsWithTimeout(timeout time.Duration) *ListEnrollmentsParams

NewListEnrollmentsParamsWithTimeout creates a new ListEnrollmentsParams object with the ability to set a timeout on a request.

func (*ListEnrollmentsParams) SetContext

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

SetContext adds the context to the list enrollments params

func (*ListEnrollmentsParams) SetDefaults

func (o *ListEnrollmentsParams) SetDefaults()

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

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

func (*ListEnrollmentsParams) SetFilter

func (o *ListEnrollmentsParams) SetFilter(filter *string)

SetFilter adds the filter to the list enrollments params

func (*ListEnrollmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list enrollments params

func (*ListEnrollmentsParams) SetLimit

func (o *ListEnrollmentsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list enrollments params

func (*ListEnrollmentsParams) SetOffset

func (o *ListEnrollmentsParams) SetOffset(offset *int64)

SetOffset adds the offset to the list enrollments params

func (*ListEnrollmentsParams) SetTimeout

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

SetTimeout adds the timeout to the list enrollments params

func (*ListEnrollmentsParams) WithContext

WithContext adds the context to the list enrollments params

func (*ListEnrollmentsParams) WithDefaults

func (o *ListEnrollmentsParams) WithDefaults() *ListEnrollmentsParams

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

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

func (*ListEnrollmentsParams) WithFilter

func (o *ListEnrollmentsParams) WithFilter(filter *string) *ListEnrollmentsParams

WithFilter adds the filter to the list enrollments params

func (*ListEnrollmentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list enrollments params

func (*ListEnrollmentsParams) WithLimit

func (o *ListEnrollmentsParams) WithLimit(limit *int64) *ListEnrollmentsParams

WithLimit adds the limit to the list enrollments params

func (*ListEnrollmentsParams) WithOffset

func (o *ListEnrollmentsParams) WithOffset(offset *int64) *ListEnrollmentsParams

WithOffset adds the offset to the list enrollments params

func (*ListEnrollmentsParams) WithTimeout

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

WithTimeout adds the timeout to the list enrollments params

func (*ListEnrollmentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListEnrollmentsReader

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

ListEnrollmentsReader is a Reader for the ListEnrollments structure.

func (*ListEnrollmentsReader) ReadResponse

func (o *ListEnrollmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListEnrollmentsServiceUnavailable added in v0.26.36

type ListEnrollmentsServiceUnavailable struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

ListEnrollmentsServiceUnavailable describes a response with status code 503, with default header values.

The request could not be completed due to the server being busy or in a temporarily bad state

func NewListEnrollmentsServiceUnavailable added in v0.26.36

func NewListEnrollmentsServiceUnavailable() *ListEnrollmentsServiceUnavailable

NewListEnrollmentsServiceUnavailable creates a ListEnrollmentsServiceUnavailable with default headers values

func (*ListEnrollmentsServiceUnavailable) Code added in v0.26.53

Code gets the status code for the list enrollments service unavailable response

func (*ListEnrollmentsServiceUnavailable) Error added in v0.26.36

func (*ListEnrollmentsServiceUnavailable) GetPayload added in v0.26.36

func (*ListEnrollmentsServiceUnavailable) IsClientError added in v0.26.53

func (o *ListEnrollmentsServiceUnavailable) IsClientError() bool

IsClientError returns true when this list enrollments service unavailable response has a 4xx status code

func (*ListEnrollmentsServiceUnavailable) IsCode added in v0.26.53

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

IsCode returns true when this list enrollments service unavailable response a status code equal to that given

func (*ListEnrollmentsServiceUnavailable) IsRedirect added in v0.26.53

func (o *ListEnrollmentsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this list enrollments service unavailable response has a 3xx status code

func (*ListEnrollmentsServiceUnavailable) IsServerError added in v0.26.53

func (o *ListEnrollmentsServiceUnavailable) IsServerError() bool

IsServerError returns true when this list enrollments service unavailable response has a 5xx status code

func (*ListEnrollmentsServiceUnavailable) IsSuccess added in v0.26.53

func (o *ListEnrollmentsServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this list enrollments service unavailable response has a 2xx status code

func (*ListEnrollmentsServiceUnavailable) String added in v0.26.53

type ListEnrollmentsTooManyRequests added in v0.26.0

type ListEnrollmentsTooManyRequests struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The resource requested is rate limited and the rate limit has been exceeded

func NewListEnrollmentsTooManyRequests added in v0.26.0

func NewListEnrollmentsTooManyRequests() *ListEnrollmentsTooManyRequests

NewListEnrollmentsTooManyRequests creates a ListEnrollmentsTooManyRequests with default headers values

func (*ListEnrollmentsTooManyRequests) Code added in v0.26.53

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

func (*ListEnrollmentsTooManyRequests) Error added in v0.26.0

func (*ListEnrollmentsTooManyRequests) GetPayload added in v0.26.0

func (*ListEnrollmentsTooManyRequests) IsClientError added in v0.26.53

func (o *ListEnrollmentsTooManyRequests) IsClientError() bool

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

func (*ListEnrollmentsTooManyRequests) IsCode added in v0.26.53

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

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

func (*ListEnrollmentsTooManyRequests) IsRedirect added in v0.26.53

func (o *ListEnrollmentsTooManyRequests) IsRedirect() bool

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

func (*ListEnrollmentsTooManyRequests) IsServerError added in v0.26.53

func (o *ListEnrollmentsTooManyRequests) IsServerError() bool

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

func (*ListEnrollmentsTooManyRequests) IsSuccess added in v0.26.53

func (o *ListEnrollmentsTooManyRequests) IsSuccess() bool

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

func (*ListEnrollmentsTooManyRequests) String added in v0.26.53

type ListEnrollmentsUnauthorized

type ListEnrollmentsUnauthorized struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied session does not have the correct access rights to request this resource

func NewListEnrollmentsUnauthorized

func NewListEnrollmentsUnauthorized() *ListEnrollmentsUnauthorized

NewListEnrollmentsUnauthorized creates a ListEnrollmentsUnauthorized with default headers values

func (*ListEnrollmentsUnauthorized) Code added in v0.26.53

func (o *ListEnrollmentsUnauthorized) Code() int

Code gets the status code for the list enrollments unauthorized response

func (*ListEnrollmentsUnauthorized) Error

func (*ListEnrollmentsUnauthorized) GetPayload

func (*ListEnrollmentsUnauthorized) IsClientError added in v0.26.53

func (o *ListEnrollmentsUnauthorized) IsClientError() bool

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

func (*ListEnrollmentsUnauthorized) IsCode added in v0.26.53

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

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

func (*ListEnrollmentsUnauthorized) IsRedirect added in v0.26.53

func (o *ListEnrollmentsUnauthorized) IsRedirect() bool

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

func (*ListEnrollmentsUnauthorized) IsServerError added in v0.26.53

func (o *ListEnrollmentsUnauthorized) IsServerError() bool

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

func (*ListEnrollmentsUnauthorized) IsSuccess added in v0.26.53

func (o *ListEnrollmentsUnauthorized) IsSuccess() bool

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

func (*ListEnrollmentsUnauthorized) String added in v0.26.53

func (o *ListEnrollmentsUnauthorized) String() string

type ListNetworkJWTsBadRequest added in v0.26.34

type ListNetworkJWTsBadRequest struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListNetworkJWTsBadRequest added in v0.26.34

func NewListNetworkJWTsBadRequest() *ListNetworkJWTsBadRequest

NewListNetworkJWTsBadRequest creates a ListNetworkJWTsBadRequest with default headers values

func (*ListNetworkJWTsBadRequest) Code added in v0.26.53

func (o *ListNetworkJWTsBadRequest) Code() int

Code gets the status code for the list network j w ts bad request response

func (*ListNetworkJWTsBadRequest) Error added in v0.26.34

func (o *ListNetworkJWTsBadRequest) Error() string

func (*ListNetworkJWTsBadRequest) GetPayload added in v0.26.34

func (*ListNetworkJWTsBadRequest) IsClientError added in v0.26.53

func (o *ListNetworkJWTsBadRequest) IsClientError() bool

IsClientError returns true when this list network j w ts bad request response has a 4xx status code

func (*ListNetworkJWTsBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this list network j w ts bad request response a status code equal to that given

func (*ListNetworkJWTsBadRequest) IsRedirect added in v0.26.53

func (o *ListNetworkJWTsBadRequest) IsRedirect() bool

IsRedirect returns true when this list network j w ts bad request response has a 3xx status code

func (*ListNetworkJWTsBadRequest) IsServerError added in v0.26.53

func (o *ListNetworkJWTsBadRequest) IsServerError() bool

IsServerError returns true when this list network j w ts bad request response has a 5xx status code

func (*ListNetworkJWTsBadRequest) IsSuccess added in v0.26.53

func (o *ListNetworkJWTsBadRequest) IsSuccess() bool

IsSuccess returns true when this list network j w ts bad request response has a 2xx status code

func (*ListNetworkJWTsBadRequest) String added in v0.26.53

func (o *ListNetworkJWTsBadRequest) String() string

type ListNetworkJWTsOK added in v0.26.34

type ListNetworkJWTsOK struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.ListNetworkJWTsEnvelope
}

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

A list of network JWTs

func NewListNetworkJWTsOK added in v0.26.34

func NewListNetworkJWTsOK() *ListNetworkJWTsOK

NewListNetworkJWTsOK creates a ListNetworkJWTsOK with default headers values

func (*ListNetworkJWTsOK) Code added in v0.26.53

func (o *ListNetworkJWTsOK) Code() int

Code gets the status code for the list network j w ts o k response

func (*ListNetworkJWTsOK) Error added in v0.26.34

func (o *ListNetworkJWTsOK) Error() string

func (*ListNetworkJWTsOK) GetPayload added in v0.26.34

func (*ListNetworkJWTsOK) IsClientError added in v0.26.53

func (o *ListNetworkJWTsOK) IsClientError() bool

IsClientError returns true when this list network j w ts o k response has a 4xx status code

func (*ListNetworkJWTsOK) IsCode added in v0.26.53

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

IsCode returns true when this list network j w ts o k response a status code equal to that given

func (*ListNetworkJWTsOK) IsRedirect added in v0.26.53

func (o *ListNetworkJWTsOK) IsRedirect() bool

IsRedirect returns true when this list network j w ts o k response has a 3xx status code

func (*ListNetworkJWTsOK) IsServerError added in v0.26.53

func (o *ListNetworkJWTsOK) IsServerError() bool

IsServerError returns true when this list network j w ts o k response has a 5xx status code

func (*ListNetworkJWTsOK) IsSuccess added in v0.26.53

func (o *ListNetworkJWTsOK) IsSuccess() bool

IsSuccess returns true when this list network j w ts o k response has a 2xx status code

func (*ListNetworkJWTsOK) String added in v0.26.53

func (o *ListNetworkJWTsOK) String() string

type ListNetworkJWTsParams added in v0.26.34

type ListNetworkJWTsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListNetworkJWTsParams contains all the parameters to send to the API endpoint

for the list network j w ts operation.

Typically these are written to a http.Request.

func NewListNetworkJWTsParams added in v0.26.34

func NewListNetworkJWTsParams() *ListNetworkJWTsParams

NewListNetworkJWTsParams creates a new ListNetworkJWTsParams 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 NewListNetworkJWTsParamsWithContext added in v0.26.34

func NewListNetworkJWTsParamsWithContext(ctx context.Context) *ListNetworkJWTsParams

NewListNetworkJWTsParamsWithContext creates a new ListNetworkJWTsParams object with the ability to set a context for a request.

func NewListNetworkJWTsParamsWithHTTPClient added in v0.26.34

func NewListNetworkJWTsParamsWithHTTPClient(client *http.Client) *ListNetworkJWTsParams

NewListNetworkJWTsParamsWithHTTPClient creates a new ListNetworkJWTsParams object with the ability to set a custom HTTPClient for a request.

func NewListNetworkJWTsParamsWithTimeout added in v0.26.34

func NewListNetworkJWTsParamsWithTimeout(timeout time.Duration) *ListNetworkJWTsParams

NewListNetworkJWTsParamsWithTimeout creates a new ListNetworkJWTsParams object with the ability to set a timeout on a request.

func (*ListNetworkJWTsParams) SetContext added in v0.26.34

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

SetContext adds the context to the list network j w ts params

func (*ListNetworkJWTsParams) SetDefaults added in v0.26.34

func (o *ListNetworkJWTsParams) SetDefaults()

SetDefaults hydrates default values in the list network j w ts params (not the query body).

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

func (*ListNetworkJWTsParams) SetHTTPClient added in v0.26.34

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

SetHTTPClient adds the HTTPClient to the list network j w ts params

func (*ListNetworkJWTsParams) SetTimeout added in v0.26.34

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

SetTimeout adds the timeout to the list network j w ts params

func (*ListNetworkJWTsParams) WithContext added in v0.26.34

WithContext adds the context to the list network j w ts params

func (*ListNetworkJWTsParams) WithDefaults added in v0.26.34

func (o *ListNetworkJWTsParams) WithDefaults() *ListNetworkJWTsParams

WithDefaults hydrates default values in the list network j w ts params (not the query body).

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

func (*ListNetworkJWTsParams) WithHTTPClient added in v0.26.34

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

WithHTTPClient adds the HTTPClient to the list network j w ts params

func (*ListNetworkJWTsParams) WithTimeout added in v0.26.34

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

WithTimeout adds the timeout to the list network j w ts params

func (*ListNetworkJWTsParams) WriteToRequest added in v0.26.34

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

WriteToRequest writes these params to a swagger request

type ListNetworkJWTsReader added in v0.26.34

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

ListNetworkJWTsReader is a Reader for the ListNetworkJWTs structure.

func (*ListNetworkJWTsReader) ReadResponse added in v0.26.34

func (o *ListNetworkJWTsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListNetworkJWTsTooManyRequests added in v0.26.34

type ListNetworkJWTsTooManyRequests struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The resource requested is rate limited and the rate limit has been exceeded

func NewListNetworkJWTsTooManyRequests added in v0.26.34

func NewListNetworkJWTsTooManyRequests() *ListNetworkJWTsTooManyRequests

NewListNetworkJWTsTooManyRequests creates a ListNetworkJWTsTooManyRequests with default headers values

func (*ListNetworkJWTsTooManyRequests) Code added in v0.26.53

Code gets the status code for the list network j w ts too many requests response

func (*ListNetworkJWTsTooManyRequests) Error added in v0.26.34

func (*ListNetworkJWTsTooManyRequests) GetPayload added in v0.26.34

func (*ListNetworkJWTsTooManyRequests) IsClientError added in v0.26.53

func (o *ListNetworkJWTsTooManyRequests) IsClientError() bool

IsClientError returns true when this list network j w ts too many requests response has a 4xx status code

func (*ListNetworkJWTsTooManyRequests) IsCode added in v0.26.53

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

IsCode returns true when this list network j w ts too many requests response a status code equal to that given

func (*ListNetworkJWTsTooManyRequests) IsRedirect added in v0.26.53

func (o *ListNetworkJWTsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list network j w ts too many requests response has a 3xx status code

func (*ListNetworkJWTsTooManyRequests) IsServerError added in v0.26.53

func (o *ListNetworkJWTsTooManyRequests) IsServerError() bool

IsServerError returns true when this list network j w ts too many requests response has a 5xx status code

func (*ListNetworkJWTsTooManyRequests) IsSuccess added in v0.26.53

func (o *ListNetworkJWTsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list network j w ts too many requests response has a 2xx status code

func (*ListNetworkJWTsTooManyRequests) String added in v0.26.53

type RefreshEnrollmentBadRequest

type RefreshEnrollmentBadRequest struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewRefreshEnrollmentBadRequest

func NewRefreshEnrollmentBadRequest() *RefreshEnrollmentBadRequest

NewRefreshEnrollmentBadRequest creates a RefreshEnrollmentBadRequest with default headers values

func (*RefreshEnrollmentBadRequest) Code added in v0.26.53

func (o *RefreshEnrollmentBadRequest) Code() int

Code gets the status code for the refresh enrollment bad request response

func (*RefreshEnrollmentBadRequest) Error

func (*RefreshEnrollmentBadRequest) GetPayload

func (*RefreshEnrollmentBadRequest) IsClientError added in v0.26.53

func (o *RefreshEnrollmentBadRequest) IsClientError() bool

IsClientError returns true when this refresh enrollment bad request response has a 4xx status code

func (*RefreshEnrollmentBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this refresh enrollment bad request response a status code equal to that given

func (*RefreshEnrollmentBadRequest) IsRedirect added in v0.26.53

func (o *RefreshEnrollmentBadRequest) IsRedirect() bool

IsRedirect returns true when this refresh enrollment bad request response has a 3xx status code

func (*RefreshEnrollmentBadRequest) IsServerError added in v0.26.53

func (o *RefreshEnrollmentBadRequest) IsServerError() bool

IsServerError returns true when this refresh enrollment bad request response has a 5xx status code

func (*RefreshEnrollmentBadRequest) IsSuccess added in v0.26.53

func (o *RefreshEnrollmentBadRequest) IsSuccess() bool

IsSuccess returns true when this refresh enrollment bad request response has a 2xx status code

func (*RefreshEnrollmentBadRequest) String added in v0.26.53

func (o *RefreshEnrollmentBadRequest) String() string

type RefreshEnrollmentOK

type RefreshEnrollmentOK struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.CreateEnvelope
}

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

The create request was successful and the resource has been added at the following location

func NewRefreshEnrollmentOK

func NewRefreshEnrollmentOK() *RefreshEnrollmentOK

NewRefreshEnrollmentOK creates a RefreshEnrollmentOK with default headers values

func (*RefreshEnrollmentOK) Code added in v0.26.53

func (o *RefreshEnrollmentOK) Code() int

Code gets the status code for the refresh enrollment o k response

func (*RefreshEnrollmentOK) Error

func (o *RefreshEnrollmentOK) Error() string

func (*RefreshEnrollmentOK) GetPayload

func (*RefreshEnrollmentOK) IsClientError added in v0.26.53

func (o *RefreshEnrollmentOK) IsClientError() bool

IsClientError returns true when this refresh enrollment o k response has a 4xx status code

func (*RefreshEnrollmentOK) IsCode added in v0.26.53

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

IsCode returns true when this refresh enrollment o k response a status code equal to that given

func (*RefreshEnrollmentOK) IsRedirect added in v0.26.53

func (o *RefreshEnrollmentOK) IsRedirect() bool

IsRedirect returns true when this refresh enrollment o k response has a 3xx status code

func (*RefreshEnrollmentOK) IsServerError added in v0.26.53

func (o *RefreshEnrollmentOK) IsServerError() bool

IsServerError returns true when this refresh enrollment o k response has a 5xx status code

func (*RefreshEnrollmentOK) IsSuccess added in v0.26.53

func (o *RefreshEnrollmentOK) IsSuccess() bool

IsSuccess returns true when this refresh enrollment o k response has a 2xx status code

func (*RefreshEnrollmentOK) String added in v0.26.53

func (o *RefreshEnrollmentOK) String() string

type RefreshEnrollmentParams

type RefreshEnrollmentParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Refresh.

	   An enrollment refresh request
	*/
	Refresh *rest_model.EnrollmentRefresh

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

RefreshEnrollmentParams contains all the parameters to send to the API endpoint

for the refresh enrollment operation.

Typically these are written to a http.Request.

func NewRefreshEnrollmentParams

func NewRefreshEnrollmentParams() *RefreshEnrollmentParams

NewRefreshEnrollmentParams creates a new RefreshEnrollmentParams 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 NewRefreshEnrollmentParamsWithContext

func NewRefreshEnrollmentParamsWithContext(ctx context.Context) *RefreshEnrollmentParams

NewRefreshEnrollmentParamsWithContext creates a new RefreshEnrollmentParams object with the ability to set a context for a request.

func NewRefreshEnrollmentParamsWithHTTPClient

func NewRefreshEnrollmentParamsWithHTTPClient(client *http.Client) *RefreshEnrollmentParams

NewRefreshEnrollmentParamsWithHTTPClient creates a new RefreshEnrollmentParams object with the ability to set a custom HTTPClient for a request.

func NewRefreshEnrollmentParamsWithTimeout

func NewRefreshEnrollmentParamsWithTimeout(timeout time.Duration) *RefreshEnrollmentParams

NewRefreshEnrollmentParamsWithTimeout creates a new RefreshEnrollmentParams object with the ability to set a timeout on a request.

func (*RefreshEnrollmentParams) SetContext

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

SetContext adds the context to the refresh enrollment params

func (*RefreshEnrollmentParams) SetDefaults

func (o *RefreshEnrollmentParams) SetDefaults()

SetDefaults hydrates default values in the refresh enrollment params (not the query body).

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

func (*RefreshEnrollmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refresh enrollment params

func (*RefreshEnrollmentParams) SetID

func (o *RefreshEnrollmentParams) SetID(id string)

SetID adds the id to the refresh enrollment params

func (*RefreshEnrollmentParams) SetRefresh

func (o *RefreshEnrollmentParams) SetRefresh(refresh *rest_model.EnrollmentRefresh)

SetRefresh adds the refresh to the refresh enrollment params

func (*RefreshEnrollmentParams) SetTimeout

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

SetTimeout adds the timeout to the refresh enrollment params

func (*RefreshEnrollmentParams) WithContext

WithContext adds the context to the refresh enrollment params

func (*RefreshEnrollmentParams) WithDefaults

WithDefaults hydrates default values in the refresh enrollment params (not the query body).

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

func (*RefreshEnrollmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the refresh enrollment params

func (*RefreshEnrollmentParams) WithID

WithID adds the id to the refresh enrollment params

func (*RefreshEnrollmentParams) WithRefresh

WithRefresh adds the refresh to the refresh enrollment params

func (*RefreshEnrollmentParams) WithTimeout

WithTimeout adds the timeout to the refresh enrollment params

func (*RefreshEnrollmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RefreshEnrollmentReader

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

RefreshEnrollmentReader is a Reader for the RefreshEnrollment structure.

func (*RefreshEnrollmentReader) ReadResponse

func (o *RefreshEnrollmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RefreshEnrollmentServiceUnavailable added in v0.26.36

type RefreshEnrollmentServiceUnavailable struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

RefreshEnrollmentServiceUnavailable describes a response with status code 503, with default header values.

The request could not be completed due to the server being busy or in a temporarily bad state

func NewRefreshEnrollmentServiceUnavailable added in v0.26.36

func NewRefreshEnrollmentServiceUnavailable() *RefreshEnrollmentServiceUnavailable

NewRefreshEnrollmentServiceUnavailable creates a RefreshEnrollmentServiceUnavailable with default headers values

func (*RefreshEnrollmentServiceUnavailable) Code added in v0.26.53

Code gets the status code for the refresh enrollment service unavailable response

func (*RefreshEnrollmentServiceUnavailable) Error added in v0.26.36

func (*RefreshEnrollmentServiceUnavailable) GetPayload added in v0.26.36

func (*RefreshEnrollmentServiceUnavailable) IsClientError added in v0.26.53

func (o *RefreshEnrollmentServiceUnavailable) IsClientError() bool

IsClientError returns true when this refresh enrollment service unavailable response has a 4xx status code

func (*RefreshEnrollmentServiceUnavailable) IsCode added in v0.26.53

IsCode returns true when this refresh enrollment service unavailable response a status code equal to that given

func (*RefreshEnrollmentServiceUnavailable) IsRedirect added in v0.26.53

func (o *RefreshEnrollmentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this refresh enrollment service unavailable response has a 3xx status code

func (*RefreshEnrollmentServiceUnavailable) IsServerError added in v0.26.53

func (o *RefreshEnrollmentServiceUnavailable) IsServerError() bool

IsServerError returns true when this refresh enrollment service unavailable response has a 5xx status code

func (*RefreshEnrollmentServiceUnavailable) IsSuccess added in v0.26.53

IsSuccess returns true when this refresh enrollment service unavailable response has a 2xx status code

func (*RefreshEnrollmentServiceUnavailable) String added in v0.26.53

type RefreshEnrollmentTooManyRequests added in v0.26.0

type RefreshEnrollmentTooManyRequests struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The resource requested is rate limited and the rate limit has been exceeded

func NewRefreshEnrollmentTooManyRequests added in v0.26.0

func NewRefreshEnrollmentTooManyRequests() *RefreshEnrollmentTooManyRequests

NewRefreshEnrollmentTooManyRequests creates a RefreshEnrollmentTooManyRequests with default headers values

func (*RefreshEnrollmentTooManyRequests) Code added in v0.26.53

Code gets the status code for the refresh enrollment too many requests response

func (*RefreshEnrollmentTooManyRequests) Error added in v0.26.0

func (*RefreshEnrollmentTooManyRequests) GetPayload added in v0.26.0

func (*RefreshEnrollmentTooManyRequests) IsClientError added in v0.26.53

func (o *RefreshEnrollmentTooManyRequests) IsClientError() bool

IsClientError returns true when this refresh enrollment too many requests response has a 4xx status code

func (*RefreshEnrollmentTooManyRequests) IsCode added in v0.26.53

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

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

func (*RefreshEnrollmentTooManyRequests) IsRedirect added in v0.26.53

func (o *RefreshEnrollmentTooManyRequests) IsRedirect() bool

IsRedirect returns true when this refresh enrollment too many requests response has a 3xx status code

func (*RefreshEnrollmentTooManyRequests) IsServerError added in v0.26.53

func (o *RefreshEnrollmentTooManyRequests) IsServerError() bool

IsServerError returns true when this refresh enrollment too many requests response has a 5xx status code

func (*RefreshEnrollmentTooManyRequests) IsSuccess added in v0.26.53

func (o *RefreshEnrollmentTooManyRequests) IsSuccess() bool

IsSuccess returns true when this refresh enrollment too many requests response has a 2xx status code

func (*RefreshEnrollmentTooManyRequests) String added in v0.26.53

type RefreshEnrollmentUnauthorized

type RefreshEnrollmentUnauthorized struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

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

The supplied session does not have the correct access rights to request this resource

func NewRefreshEnrollmentUnauthorized

func NewRefreshEnrollmentUnauthorized() *RefreshEnrollmentUnauthorized

NewRefreshEnrollmentUnauthorized creates a RefreshEnrollmentUnauthorized with default headers values

func (*RefreshEnrollmentUnauthorized) Code added in v0.26.53

Code gets the status code for the refresh enrollment unauthorized response

func (*RefreshEnrollmentUnauthorized) Error

func (*RefreshEnrollmentUnauthorized) GetPayload

func (*RefreshEnrollmentUnauthorized) IsClientError added in v0.26.53

func (o *RefreshEnrollmentUnauthorized) IsClientError() bool

IsClientError returns true when this refresh enrollment unauthorized response has a 4xx status code

func (*RefreshEnrollmentUnauthorized) IsCode added in v0.26.53

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

IsCode returns true when this refresh enrollment unauthorized response a status code equal to that given

func (*RefreshEnrollmentUnauthorized) IsRedirect added in v0.26.53

func (o *RefreshEnrollmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this refresh enrollment unauthorized response has a 3xx status code

func (*RefreshEnrollmentUnauthorized) IsServerError added in v0.26.53

func (o *RefreshEnrollmentUnauthorized) IsServerError() bool

IsServerError returns true when this refresh enrollment unauthorized response has a 5xx status code

func (*RefreshEnrollmentUnauthorized) IsSuccess added in v0.26.53

func (o *RefreshEnrollmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this refresh enrollment unauthorized response has a 2xx status code

func (*RefreshEnrollmentUnauthorized) String added in v0.26.53

Jump to

Keyboard shortcuts

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