enroll

package
v0.26.53 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON added in v0.26.53

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationPkcs7 added in v0.26.53

func WithContentTypeApplicationPkcs7(r *runtime.ClientOperation)

WithContentTypeApplicationPkcs7 sets the Content-Type header to "application/pkcs7".

func WithContentTypeApplicationxPemFile added in v0.26.53

func WithContentTypeApplicationxPemFile(r *runtime.ClientOperation)

WithContentTypeApplicationxPemFile sets the Content-Type header to "application/x-pem-file".

func WithContentTypeTextPlain added in v0.26.53

func WithContentTypeTextPlain(r *runtime.ClientOperation)

WithContentTypeTextPlain sets the Content-Type header to "text/plain".

Types

type Client

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

Client for enroll API

func (*Client) Enroll

func (a *Client) Enroll(params *EnrollParams, opts ...ClientOption) (*EnrollOK, error)

Enroll enrolls an identity via one time token

present a OTT and CSR to receive a long-lived client certificate

func (*Client) EnrollCa

func (a *Client) EnrollCa(params *EnrollCaParams, opts ...ClientOption) (*EnrollCaOK, error)
EnrollCa enrolls an identity with a pre exchanged certificate

For CA auto enrollment, an identity is not created beforehand.

Instead one will be created during enrollment. The client will present a client certificate that is signed by a Certificate Authority that has been added and verified (See POST /cas and POST /cas/{id}/verify).

During this process no CSRs are requires as the client should already be in possession of a valid certificate.

func (*Client) EnrollErOtt

func (a *Client) EnrollErOtt(params *EnrollErOttParams, opts ...ClientOption) (*EnrollErOttOK, error)

EnrollErOtt enrolls an edge router

Enrolls an edge-router via a one-time-token to establish a certificate based identity.

func (*Client) EnrollOtt

func (a *Client) EnrollOtt(params *EnrollOttParams, opts ...ClientOption) (*EnrollOttOK, error)
EnrollOtt enrolls an identity via one time token

Enroll an identity via a one-time-token which is supplied via a query string parameter. This enrollment method

expects a PEM encoded CSRs to be provided for fulfillment. It is up to the enrolling identity to manage the private key backing the CSR request.

func (*Client) EnrollOttCa

func (a *Client) EnrollOttCa(params *EnrollOttCaParams, opts ...ClientOption) (*EnrollOttCaOK, error)
EnrollOttCa enrolls an identity via one time token with a pre exchanged client certificate

Enroll an identity via a one-time-token that also requires a pre-exchanged client certificate to match a

Certificate Authority that has been added and verified (See POST /cas and POST /cas{id}/verify). The client must present a client certificate signed by CA associated with the enrollment. This enrollment is similar to CA auto enrollment except that is required the identity to be pre-created.

As the client certificate has been pre-exchanged there is no CSR input to this enrollment method.

func (*Client) EnrollToken added in v0.26.51

func (a *Client) EnrollToken(params *EnrollTokenParams, opts ...ClientOption) (*EnrollTokenOK, error)

EnrollToken enroll token API

func (*Client) EnrollUpdb added in v0.26.20

func (a *Client) EnrollUpdb(params *EnrollUpdbParams, opts ...ClientOption) (*EnrollUpdbOK, error)

EnrollUpdb enrolls an identity via one time token

Enrolls an identity via a one-time-token to establish an initial username and password combination

func (*Client) EnrollmentChallenge added in v0.26.20

func (a *Client) EnrollmentChallenge(params *EnrollmentChallengeParams, opts ...ClientOption) (*EnrollmentChallengeOK, error)
EnrollmentChallenge allows verification of a controller or cluster of controllers as being the valid target for enrollment

A caller may submit a nonce and a key id (kid) from the enrollment JWKS endpoint or enrollment JWT that will

be used to sign the nonce. The resulting signature may be validated with the associated public key in order to verify a networks identity during enrollment. The nonce must be a valid formatted UUID.

func (*Client) ExtendRouterEnrollment

func (a *Client) ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams, opts ...ClientOption) (*ExtendRouterEnrollmentOK, error)
ExtendRouterEnrollment extends the life of a currently enrolled router s certificates

Allows a router to extend its certificates' expiration date by

using its current and valid client certificate to submit a CSR. This CSR may be passed in using a new private key, thus allowing private key rotation or swapping.

After completion any new connections must be made with certificates returned from a 200 OK response. The previous client certificate is rendered invalid for use with the controller even if it has not expired.

This request must be made using the existing, valid, client certificate.

func (*Client) GetEnrollmentJwks added in v0.26.20

func (a *Client) GetEnrollmentJwks(params *GetEnrollmentJwksParams, opts ...ClientOption) (*GetEnrollmentJwksOK, error)
GetEnrollmentJwks lists JSON web keys associated with enrollment

Returns a list of JSON Web Keys (JWKS) that are used for enrollment signing. The keys listed here are used

to sign and co-sign enrollment JWTs. They can be verified through a challenge endpoint, using the public keys from this endpoint to verify the target machine has possession of the related private key.

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.

func WithContentType added in v0.26.53

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	Enroll(params *EnrollParams, opts ...ClientOption) (*EnrollOK, error)

	EnrollCa(params *EnrollCaParams, opts ...ClientOption) (*EnrollCaOK, error)

	EnrollErOtt(params *EnrollErOttParams, opts ...ClientOption) (*EnrollErOttOK, error)

	EnrollOtt(params *EnrollOttParams, opts ...ClientOption) (*EnrollOttOK, error)

	EnrollOttCa(params *EnrollOttCaParams, opts ...ClientOption) (*EnrollOttCaOK, error)

	EnrollToken(params *EnrollTokenParams, opts ...ClientOption) (*EnrollTokenOK, error)

	EnrollUpdb(params *EnrollUpdbParams, opts ...ClientOption) (*EnrollUpdbOK, error)

	EnrollmentChallenge(params *EnrollmentChallengeParams, opts ...ClientOption) (*EnrollmentChallengeOK, error)

	ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams, opts ...ClientOption) (*ExtendRouterEnrollmentOK, error)

	GetEnrollmentJwks(params *GetEnrollmentJwksParams, opts ...ClientOption) (*GetEnrollmentJwksOK, 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 enroll API client.

func NewClientWithBasicAuth added in v0.26.53

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

New creates a new enroll 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 enroll 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 EnrollBadRequest added in v0.26.42

type EnrollBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollBadRequest 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 NewEnrollBadRequest added in v0.26.42

func NewEnrollBadRequest() *EnrollBadRequest

NewEnrollBadRequest creates a EnrollBadRequest with default headers values

func (*EnrollBadRequest) Code added in v0.26.53

func (o *EnrollBadRequest) Code() int

Code gets the status code for the enroll bad request response

func (*EnrollBadRequest) Error added in v0.26.42

func (o *EnrollBadRequest) Error() string

func (*EnrollBadRequest) GetPayload added in v0.26.42

func (o *EnrollBadRequest) GetPayload() *rest_model.APIErrorEnvelope

func (*EnrollBadRequest) IsClientError added in v0.26.53

func (o *EnrollBadRequest) IsClientError() bool

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

func (*EnrollBadRequest) IsCode added in v0.26.53

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

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

func (*EnrollBadRequest) IsRedirect added in v0.26.53

func (o *EnrollBadRequest) IsRedirect() bool

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

func (*EnrollBadRequest) IsServerError added in v0.26.53

func (o *EnrollBadRequest) IsServerError() bool

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

func (*EnrollBadRequest) IsSuccess added in v0.26.53

func (o *EnrollBadRequest) IsSuccess() bool

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

func (*EnrollBadRequest) String added in v0.26.53

func (o *EnrollBadRequest) String() string

type EnrollCaBadRequest added in v0.26.42

type EnrollCaBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollCaBadRequest 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 NewEnrollCaBadRequest added in v0.26.42

func NewEnrollCaBadRequest() *EnrollCaBadRequest

NewEnrollCaBadRequest creates a EnrollCaBadRequest with default headers values

func (*EnrollCaBadRequest) Code added in v0.26.53

func (o *EnrollCaBadRequest) Code() int

Code gets the status code for the enroll ca bad request response

func (*EnrollCaBadRequest) Error added in v0.26.42

func (o *EnrollCaBadRequest) Error() string

func (*EnrollCaBadRequest) GetPayload added in v0.26.42

func (*EnrollCaBadRequest) IsClientError added in v0.26.53

func (o *EnrollCaBadRequest) IsClientError() bool

IsClientError returns true when this enroll ca bad request response has a 4xx status code

func (*EnrollCaBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this enroll ca bad request response a status code equal to that given

func (*EnrollCaBadRequest) IsRedirect added in v0.26.53

func (o *EnrollCaBadRequest) IsRedirect() bool

IsRedirect returns true when this enroll ca bad request response has a 3xx status code

func (*EnrollCaBadRequest) IsServerError added in v0.26.53

func (o *EnrollCaBadRequest) IsServerError() bool

IsServerError returns true when this enroll ca bad request response has a 5xx status code

func (*EnrollCaBadRequest) IsSuccess added in v0.26.53

func (o *EnrollCaBadRequest) IsSuccess() bool

IsSuccess returns true when this enroll ca bad request response has a 2xx status code

func (*EnrollCaBadRequest) String added in v0.26.53

func (o *EnrollCaBadRequest) String() string

type EnrollCaNotFound

type EnrollCaNotFound struct {

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

	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewEnrollCaNotFound

func NewEnrollCaNotFound() *EnrollCaNotFound

NewEnrollCaNotFound creates a EnrollCaNotFound with default headers values

func (*EnrollCaNotFound) Code added in v0.26.53

func (o *EnrollCaNotFound) Code() int

Code gets the status code for the enroll ca not found response

func (*EnrollCaNotFound) Error

func (o *EnrollCaNotFound) Error() string

func (*EnrollCaNotFound) GetPayload

func (o *EnrollCaNotFound) GetPayload() *rest_model.APIErrorEnvelope

func (*EnrollCaNotFound) IsClientError added in v0.26.53

func (o *EnrollCaNotFound) IsClientError() bool

IsClientError returns true when this enroll ca not found response has a 4xx status code

func (*EnrollCaNotFound) IsCode added in v0.26.53

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

IsCode returns true when this enroll ca not found response a status code equal to that given

func (*EnrollCaNotFound) IsRedirect added in v0.26.53

func (o *EnrollCaNotFound) IsRedirect() bool

IsRedirect returns true when this enroll ca not found response has a 3xx status code

func (*EnrollCaNotFound) IsServerError added in v0.26.53

func (o *EnrollCaNotFound) IsServerError() bool

IsServerError returns true when this enroll ca not found response has a 5xx status code

func (*EnrollCaNotFound) IsSuccess added in v0.26.53

func (o *EnrollCaNotFound) IsSuccess() bool

IsSuccess returns true when this enroll ca not found response has a 2xx status code

func (*EnrollCaNotFound) String added in v0.26.53

func (o *EnrollCaNotFound) String() string

type EnrollCaOK

type EnrollCaOK struct {

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

	Payload *rest_model.Empty
}

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

Base empty response

func NewEnrollCaOK

func NewEnrollCaOK() *EnrollCaOK

NewEnrollCaOK creates a EnrollCaOK with default headers values

func (*EnrollCaOK) Code added in v0.26.53

func (o *EnrollCaOK) Code() int

Code gets the status code for the enroll ca o k response

func (*EnrollCaOK) Error

func (o *EnrollCaOK) Error() string

func (*EnrollCaOK) GetPayload

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

func (*EnrollCaOK) IsClientError added in v0.26.53

func (o *EnrollCaOK) IsClientError() bool

IsClientError returns true when this enroll ca o k response has a 4xx status code

func (*EnrollCaOK) IsCode added in v0.26.53

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

IsCode returns true when this enroll ca o k response a status code equal to that given

func (*EnrollCaOK) IsRedirect added in v0.26.53

func (o *EnrollCaOK) IsRedirect() bool

IsRedirect returns true when this enroll ca o k response has a 3xx status code

func (*EnrollCaOK) IsServerError added in v0.26.53

func (o *EnrollCaOK) IsServerError() bool

IsServerError returns true when this enroll ca o k response has a 5xx status code

func (*EnrollCaOK) IsSuccess added in v0.26.53

func (o *EnrollCaOK) IsSuccess() bool

IsSuccess returns true when this enroll ca o k response has a 2xx status code

func (*EnrollCaOK) String added in v0.26.53

func (o *EnrollCaOK) String() string

type EnrollCaParams

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

EnrollCaParams contains all the parameters to send to the API endpoint

for the enroll ca operation.

Typically these are written to a http.Request.

func NewEnrollCaParams

func NewEnrollCaParams() *EnrollCaParams

NewEnrollCaParams creates a new EnrollCaParams 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 NewEnrollCaParamsWithContext

func NewEnrollCaParamsWithContext(ctx context.Context) *EnrollCaParams

NewEnrollCaParamsWithContext creates a new EnrollCaParams object with the ability to set a context for a request.

func NewEnrollCaParamsWithHTTPClient

func NewEnrollCaParamsWithHTTPClient(client *http.Client) *EnrollCaParams

NewEnrollCaParamsWithHTTPClient creates a new EnrollCaParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollCaParamsWithTimeout

func NewEnrollCaParamsWithTimeout(timeout time.Duration) *EnrollCaParams

NewEnrollCaParamsWithTimeout creates a new EnrollCaParams object with the ability to set a timeout on a request.

func (*EnrollCaParams) SetContext

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

SetContext adds the context to the enroll ca params

func (*EnrollCaParams) SetDefaults

func (o *EnrollCaParams) SetDefaults()

SetDefaults hydrates default values in the enroll ca params (not the query body).

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

func (*EnrollCaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll ca params

func (*EnrollCaParams) SetTimeout

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

SetTimeout adds the timeout to the enroll ca params

func (*EnrollCaParams) WithContext

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

WithContext adds the context to the enroll ca params

func (*EnrollCaParams) WithDefaults

func (o *EnrollCaParams) WithDefaults() *EnrollCaParams

WithDefaults hydrates default values in the enroll ca params (not the query body).

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

func (*EnrollCaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll ca params

func (*EnrollCaParams) WithTimeout

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

WithTimeout adds the timeout to the enroll ca params

func (*EnrollCaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollCaReader

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

EnrollCaReader is a Reader for the EnrollCa structure.

func (*EnrollCaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollCaServiceUnavailable added in v0.26.37

type EnrollCaServiceUnavailable struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollCaServiceUnavailable 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 NewEnrollCaServiceUnavailable added in v0.26.37

func NewEnrollCaServiceUnavailable() *EnrollCaServiceUnavailable

NewEnrollCaServiceUnavailable creates a EnrollCaServiceUnavailable with default headers values

func (*EnrollCaServiceUnavailable) Code added in v0.26.53

func (o *EnrollCaServiceUnavailable) Code() int

Code gets the status code for the enroll ca service unavailable response

func (*EnrollCaServiceUnavailable) Error added in v0.26.37

func (*EnrollCaServiceUnavailable) GetPayload added in v0.26.37

func (*EnrollCaServiceUnavailable) IsClientError added in v0.26.53

func (o *EnrollCaServiceUnavailable) IsClientError() bool

IsClientError returns true when this enroll ca service unavailable response has a 4xx status code

func (*EnrollCaServiceUnavailable) IsCode added in v0.26.53

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

IsCode returns true when this enroll ca service unavailable response a status code equal to that given

func (*EnrollCaServiceUnavailable) IsRedirect added in v0.26.53

func (o *EnrollCaServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this enroll ca service unavailable response has a 3xx status code

func (*EnrollCaServiceUnavailable) IsServerError added in v0.26.53

func (o *EnrollCaServiceUnavailable) IsServerError() bool

IsServerError returns true when this enroll ca service unavailable response has a 5xx status code

func (*EnrollCaServiceUnavailable) IsSuccess added in v0.26.53

func (o *EnrollCaServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this enroll ca service unavailable response has a 2xx status code

func (*EnrollCaServiceUnavailable) String added in v0.26.53

func (o *EnrollCaServiceUnavailable) String() string

type EnrollCaTooManyRequests added in v0.26.0

type EnrollCaTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollCaTooManyRequests 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 NewEnrollCaTooManyRequests added in v0.26.0

func NewEnrollCaTooManyRequests() *EnrollCaTooManyRequests

NewEnrollCaTooManyRequests creates a EnrollCaTooManyRequests with default headers values

func (*EnrollCaTooManyRequests) Code added in v0.26.53

func (o *EnrollCaTooManyRequests) Code() int

Code gets the status code for the enroll ca too many requests response

func (*EnrollCaTooManyRequests) Error added in v0.26.0

func (o *EnrollCaTooManyRequests) Error() string

func (*EnrollCaTooManyRequests) GetPayload added in v0.26.0

func (*EnrollCaTooManyRequests) IsClientError added in v0.26.53

func (o *EnrollCaTooManyRequests) IsClientError() bool

IsClientError returns true when this enroll ca too many requests response has a 4xx status code

func (*EnrollCaTooManyRequests) IsCode added in v0.26.53

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

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

func (*EnrollCaTooManyRequests) IsRedirect added in v0.26.53

func (o *EnrollCaTooManyRequests) IsRedirect() bool

IsRedirect returns true when this enroll ca too many requests response has a 3xx status code

func (*EnrollCaTooManyRequests) IsServerError added in v0.26.53

func (o *EnrollCaTooManyRequests) IsServerError() bool

IsServerError returns true when this enroll ca too many requests response has a 5xx status code

func (*EnrollCaTooManyRequests) IsSuccess added in v0.26.53

func (o *EnrollCaTooManyRequests) IsSuccess() bool

IsSuccess returns true when this enroll ca too many requests response has a 2xx status code

func (*EnrollCaTooManyRequests) String added in v0.26.53

func (o *EnrollCaTooManyRequests) String() string

type EnrollConflict added in v0.26.51

type EnrollConflict struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollConflict 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 NewEnrollConflict added in v0.26.51

func NewEnrollConflict() *EnrollConflict

NewEnrollConflict creates a EnrollConflict with default headers values

func (*EnrollConflict) Code added in v0.26.53

func (o *EnrollConflict) Code() int

Code gets the status code for the enroll conflict response

func (*EnrollConflict) Error added in v0.26.51

func (o *EnrollConflict) Error() string

func (*EnrollConflict) GetPayload added in v0.26.51

func (o *EnrollConflict) GetPayload() *rest_model.APIErrorEnvelope

func (*EnrollConflict) IsClientError added in v0.26.53

func (o *EnrollConflict) IsClientError() bool

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

func (*EnrollConflict) IsCode added in v0.26.53

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

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

func (*EnrollConflict) IsRedirect added in v0.26.53

func (o *EnrollConflict) IsRedirect() bool

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

func (*EnrollConflict) IsServerError added in v0.26.53

func (o *EnrollConflict) IsServerError() bool

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

func (*EnrollConflict) IsSuccess added in v0.26.53

func (o *EnrollConflict) IsSuccess() bool

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

func (*EnrollConflict) String added in v0.26.53

func (o *EnrollConflict) String() string

type EnrollErOttBadRequest added in v0.26.42

type EnrollErOttBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollErOttBadRequest 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 NewEnrollErOttBadRequest added in v0.26.42

func NewEnrollErOttBadRequest() *EnrollErOttBadRequest

NewEnrollErOttBadRequest creates a EnrollErOttBadRequest with default headers values

func (*EnrollErOttBadRequest) Code added in v0.26.53

func (o *EnrollErOttBadRequest) Code() int

Code gets the status code for the enroll er ott bad request response

func (*EnrollErOttBadRequest) Error added in v0.26.42

func (o *EnrollErOttBadRequest) Error() string

func (*EnrollErOttBadRequest) GetPayload added in v0.26.42

func (*EnrollErOttBadRequest) IsClientError added in v0.26.53

func (o *EnrollErOttBadRequest) IsClientError() bool

IsClientError returns true when this enroll er ott bad request response has a 4xx status code

func (*EnrollErOttBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this enroll er ott bad request response a status code equal to that given

func (*EnrollErOttBadRequest) IsRedirect added in v0.26.53

func (o *EnrollErOttBadRequest) IsRedirect() bool

IsRedirect returns true when this enroll er ott bad request response has a 3xx status code

func (*EnrollErOttBadRequest) IsServerError added in v0.26.53

func (o *EnrollErOttBadRequest) IsServerError() bool

IsServerError returns true when this enroll er ott bad request response has a 5xx status code

func (*EnrollErOttBadRequest) IsSuccess added in v0.26.53

func (o *EnrollErOttBadRequest) IsSuccess() bool

IsSuccess returns true when this enroll er ott bad request response has a 2xx status code

func (*EnrollErOttBadRequest) String added in v0.26.53

func (o *EnrollErOttBadRequest) String() string

type EnrollErOttOK

type EnrollErOttOK struct {

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

	Payload *rest_model.EnrollmentCertsEnvelope
}

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

A response containing the edge routers signed certificates (server chain, server cert, CAs).

func NewEnrollErOttOK

func NewEnrollErOttOK() *EnrollErOttOK

NewEnrollErOttOK creates a EnrollErOttOK with default headers values

func (*EnrollErOttOK) Code added in v0.26.53

func (o *EnrollErOttOK) Code() int

Code gets the status code for the enroll er ott o k response

func (*EnrollErOttOK) Error

func (o *EnrollErOttOK) Error() string

func (*EnrollErOttOK) GetPayload

func (*EnrollErOttOK) IsClientError added in v0.26.53

func (o *EnrollErOttOK) IsClientError() bool

IsClientError returns true when this enroll er ott o k response has a 4xx status code

func (*EnrollErOttOK) IsCode added in v0.26.53

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

IsCode returns true when this enroll er ott o k response a status code equal to that given

func (*EnrollErOttOK) IsRedirect added in v0.26.53

func (o *EnrollErOttOK) IsRedirect() bool

IsRedirect returns true when this enroll er ott o k response has a 3xx status code

func (*EnrollErOttOK) IsServerError added in v0.26.53

func (o *EnrollErOttOK) IsServerError() bool

IsServerError returns true when this enroll er ott o k response has a 5xx status code

func (*EnrollErOttOK) IsSuccess added in v0.26.53

func (o *EnrollErOttOK) IsSuccess() bool

IsSuccess returns true when this enroll er ott o k response has a 2xx status code

func (*EnrollErOttOK) String added in v0.26.53

func (o *EnrollErOttOK) String() string

type EnrollErOttParams

type EnrollErOttParams struct {

	/* ErOttEnrollmentRequest.

	   An OTT enrollment request
	*/
	ErOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest

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

EnrollErOttParams contains all the parameters to send to the API endpoint

for the enroll er ott operation.

Typically these are written to a http.Request.

func NewEnrollErOttParams

func NewEnrollErOttParams() *EnrollErOttParams

NewEnrollErOttParams creates a new EnrollErOttParams 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 NewEnrollErOttParamsWithContext

func NewEnrollErOttParamsWithContext(ctx context.Context) *EnrollErOttParams

NewEnrollErOttParamsWithContext creates a new EnrollErOttParams object with the ability to set a context for a request.

func NewEnrollErOttParamsWithHTTPClient

func NewEnrollErOttParamsWithHTTPClient(client *http.Client) *EnrollErOttParams

NewEnrollErOttParamsWithHTTPClient creates a new EnrollErOttParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollErOttParamsWithTimeout

func NewEnrollErOttParamsWithTimeout(timeout time.Duration) *EnrollErOttParams

NewEnrollErOttParamsWithTimeout creates a new EnrollErOttParams object with the ability to set a timeout on a request.

func (*EnrollErOttParams) SetContext

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

SetContext adds the context to the enroll er ott params

func (*EnrollErOttParams) SetDefaults

func (o *EnrollErOttParams) SetDefaults()

SetDefaults hydrates default values in the enroll er ott params (not the query body).

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

func (*EnrollErOttParams) SetErOttEnrollmentRequest added in v0.26.20

func (o *EnrollErOttParams) SetErOttEnrollmentRequest(erOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest)

SetErOttEnrollmentRequest adds the erOttEnrollmentRequest to the enroll er ott params

func (*EnrollErOttParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll er ott params

func (*EnrollErOttParams) SetTimeout

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

SetTimeout adds the timeout to the enroll er ott params

func (*EnrollErOttParams) WithContext

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

WithContext adds the context to the enroll er ott params

func (*EnrollErOttParams) WithDefaults

func (o *EnrollErOttParams) WithDefaults() *EnrollErOttParams

WithDefaults hydrates default values in the enroll er ott params (not the query body).

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

func (*EnrollErOttParams) WithErOttEnrollmentRequest added in v0.26.20

func (o *EnrollErOttParams) WithErOttEnrollmentRequest(erOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest) *EnrollErOttParams

WithErOttEnrollmentRequest adds the erOttEnrollmentRequest to the enroll er ott params

func (*EnrollErOttParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll er ott params

func (*EnrollErOttParams) WithTimeout

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

WithTimeout adds the timeout to the enroll er ott params

func (*EnrollErOttParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollErOttReader

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

EnrollErOttReader is a Reader for the EnrollErOtt structure.

func (*EnrollErOttReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollErOttServiceUnavailable added in v0.26.37

type EnrollErOttServiceUnavailable struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollErOttServiceUnavailable 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 NewEnrollErOttServiceUnavailable added in v0.26.37

func NewEnrollErOttServiceUnavailable() *EnrollErOttServiceUnavailable

NewEnrollErOttServiceUnavailable creates a EnrollErOttServiceUnavailable with default headers values

func (*EnrollErOttServiceUnavailable) Code added in v0.26.53

Code gets the status code for the enroll er ott service unavailable response

func (*EnrollErOttServiceUnavailable) Error added in v0.26.37

func (*EnrollErOttServiceUnavailable) GetPayload added in v0.26.37

func (*EnrollErOttServiceUnavailable) IsClientError added in v0.26.53

func (o *EnrollErOttServiceUnavailable) IsClientError() bool

IsClientError returns true when this enroll er ott service unavailable response has a 4xx status code

func (*EnrollErOttServiceUnavailable) IsCode added in v0.26.53

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

IsCode returns true when this enroll er ott service unavailable response a status code equal to that given

func (*EnrollErOttServiceUnavailable) IsRedirect added in v0.26.53

func (o *EnrollErOttServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this enroll er ott service unavailable response has a 3xx status code

func (*EnrollErOttServiceUnavailable) IsServerError added in v0.26.53

func (o *EnrollErOttServiceUnavailable) IsServerError() bool

IsServerError returns true when this enroll er ott service unavailable response has a 5xx status code

func (*EnrollErOttServiceUnavailable) IsSuccess added in v0.26.53

func (o *EnrollErOttServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this enroll er ott service unavailable response has a 2xx status code

func (*EnrollErOttServiceUnavailable) String added in v0.26.53

type EnrollErOttTooManyRequests added in v0.26.0

type EnrollErOttTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollErOttTooManyRequests 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 NewEnrollErOttTooManyRequests added in v0.26.0

func NewEnrollErOttTooManyRequests() *EnrollErOttTooManyRequests

NewEnrollErOttTooManyRequests creates a EnrollErOttTooManyRequests with default headers values

func (*EnrollErOttTooManyRequests) Code added in v0.26.53

func (o *EnrollErOttTooManyRequests) Code() int

Code gets the status code for the enroll er ott too many requests response

func (*EnrollErOttTooManyRequests) Error added in v0.26.0

func (*EnrollErOttTooManyRequests) GetPayload added in v0.26.0

func (*EnrollErOttTooManyRequests) IsClientError added in v0.26.53

func (o *EnrollErOttTooManyRequests) IsClientError() bool

IsClientError returns true when this enroll er ott too many requests response has a 4xx status code

func (*EnrollErOttTooManyRequests) IsCode added in v0.26.53

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

IsCode returns true when this enroll er ott too many requests response a status code equal to that given

func (*EnrollErOttTooManyRequests) IsRedirect added in v0.26.53

func (o *EnrollErOttTooManyRequests) IsRedirect() bool

IsRedirect returns true when this enroll er ott too many requests response has a 3xx status code

func (*EnrollErOttTooManyRequests) IsServerError added in v0.26.53

func (o *EnrollErOttTooManyRequests) IsServerError() bool

IsServerError returns true when this enroll er ott too many requests response has a 5xx status code

func (*EnrollErOttTooManyRequests) IsSuccess added in v0.26.53

func (o *EnrollErOttTooManyRequests) IsSuccess() bool

IsSuccess returns true when this enroll er ott too many requests response has a 2xx status code

func (*EnrollErOttTooManyRequests) String added in v0.26.53

func (o *EnrollErOttTooManyRequests) String() string

type EnrollGone added in v0.26.51

type EnrollGone struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollGone describes a response with status code 410, with default header values.

The request could not be completed as the resource is no longer available

func NewEnrollGone added in v0.26.51

func NewEnrollGone() *EnrollGone

NewEnrollGone creates a EnrollGone with default headers values

func (*EnrollGone) Code added in v0.26.53

func (o *EnrollGone) Code() int

Code gets the status code for the enroll gone response

func (*EnrollGone) Error added in v0.26.51

func (o *EnrollGone) Error() string

func (*EnrollGone) GetPayload added in v0.26.51

func (o *EnrollGone) GetPayload() *rest_model.APIErrorEnvelope

func (*EnrollGone) IsClientError added in v0.26.53

func (o *EnrollGone) IsClientError() bool

IsClientError returns true when this enroll gone response has a 4xx status code

func (*EnrollGone) IsCode added in v0.26.53

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

IsCode returns true when this enroll gone response a status code equal to that given

func (*EnrollGone) IsRedirect added in v0.26.53

func (o *EnrollGone) IsRedirect() bool

IsRedirect returns true when this enroll gone response has a 3xx status code

func (*EnrollGone) IsServerError added in v0.26.53

func (o *EnrollGone) IsServerError() bool

IsServerError returns true when this enroll gone response has a 5xx status code

func (*EnrollGone) IsSuccess added in v0.26.53

func (o *EnrollGone) IsSuccess() bool

IsSuccess returns true when this enroll gone response has a 2xx status code

func (*EnrollGone) String added in v0.26.53

func (o *EnrollGone) String() string

type EnrollNotFound

type EnrollNotFound struct {

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

	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewEnrollNotFound

func NewEnrollNotFound() *EnrollNotFound

NewEnrollNotFound creates a EnrollNotFound with default headers values

func (*EnrollNotFound) Code added in v0.26.53

func (o *EnrollNotFound) Code() int

Code gets the status code for the enroll not found response

func (*EnrollNotFound) Error

func (o *EnrollNotFound) Error() string

func (*EnrollNotFound) GetPayload

func (o *EnrollNotFound) GetPayload() *rest_model.APIErrorEnvelope

func (*EnrollNotFound) IsClientError added in v0.26.53

func (o *EnrollNotFound) IsClientError() bool

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

func (*EnrollNotFound) IsCode added in v0.26.53

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

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

func (*EnrollNotFound) IsRedirect added in v0.26.53

func (o *EnrollNotFound) IsRedirect() bool

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

func (*EnrollNotFound) IsServerError added in v0.26.53

func (o *EnrollNotFound) IsServerError() bool

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

func (*EnrollNotFound) IsSuccess added in v0.26.53

func (o *EnrollNotFound) IsSuccess() bool

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

func (*EnrollNotFound) String added in v0.26.53

func (o *EnrollNotFound) String() string

type EnrollOK

type EnrollOK struct {

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

	Payload *rest_model.EnrollmentCertsEnvelope
}

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

A response containing and identities client certificate chains

func NewEnrollOK

func NewEnrollOK() *EnrollOK

NewEnrollOK creates a EnrollOK with default headers values

func (*EnrollOK) Code added in v0.26.53

func (o *EnrollOK) Code() int

Code gets the status code for the enroll o k response

func (*EnrollOK) Error

func (o *EnrollOK) Error() string

func (*EnrollOK) GetPayload

func (o *EnrollOK) GetPayload() *rest_model.EnrollmentCertsEnvelope

func (*EnrollOK) IsClientError added in v0.26.53

func (o *EnrollOK) IsClientError() bool

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

func (*EnrollOK) IsCode added in v0.26.53

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

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

func (*EnrollOK) IsRedirect added in v0.26.53

func (o *EnrollOK) IsRedirect() bool

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

func (*EnrollOK) IsServerError added in v0.26.53

func (o *EnrollOK) IsServerError() bool

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

func (*EnrollOK) IsSuccess added in v0.26.53

func (o *EnrollOK) IsSuccess() bool

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

func (*EnrollOK) String added in v0.26.53

func (o *EnrollOK) String() string

type EnrollOttBadRequest added in v0.26.42

type EnrollOttBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollOttBadRequest 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 NewEnrollOttBadRequest added in v0.26.42

func NewEnrollOttBadRequest() *EnrollOttBadRequest

NewEnrollOttBadRequest creates a EnrollOttBadRequest with default headers values

func (*EnrollOttBadRequest) Code added in v0.26.53

func (o *EnrollOttBadRequest) Code() int

Code gets the status code for the enroll ott bad request response

func (*EnrollOttBadRequest) Error added in v0.26.42

func (o *EnrollOttBadRequest) Error() string

func (*EnrollOttBadRequest) GetPayload added in v0.26.42

func (*EnrollOttBadRequest) IsClientError added in v0.26.53

func (o *EnrollOttBadRequest) IsClientError() bool

IsClientError returns true when this enroll ott bad request response has a 4xx status code

func (*EnrollOttBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this enroll ott bad request response a status code equal to that given

func (*EnrollOttBadRequest) IsRedirect added in v0.26.53

func (o *EnrollOttBadRequest) IsRedirect() bool

IsRedirect returns true when this enroll ott bad request response has a 3xx status code

func (*EnrollOttBadRequest) IsServerError added in v0.26.53

func (o *EnrollOttBadRequest) IsServerError() bool

IsServerError returns true when this enroll ott bad request response has a 5xx status code

func (*EnrollOttBadRequest) IsSuccess added in v0.26.53

func (o *EnrollOttBadRequest) IsSuccess() bool

IsSuccess returns true when this enroll ott bad request response has a 2xx status code

func (*EnrollOttBadRequest) String added in v0.26.53

func (o *EnrollOttBadRequest) String() string

type EnrollOttCaBadRequest added in v0.26.42

type EnrollOttCaBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollOttCaBadRequest 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 NewEnrollOttCaBadRequest added in v0.26.42

func NewEnrollOttCaBadRequest() *EnrollOttCaBadRequest

NewEnrollOttCaBadRequest creates a EnrollOttCaBadRequest with default headers values

func (*EnrollOttCaBadRequest) Code added in v0.26.53

func (o *EnrollOttCaBadRequest) Code() int

Code gets the status code for the enroll ott ca bad request response

func (*EnrollOttCaBadRequest) Error added in v0.26.42

func (o *EnrollOttCaBadRequest) Error() string

func (*EnrollOttCaBadRequest) GetPayload added in v0.26.42

func (*EnrollOttCaBadRequest) IsClientError added in v0.26.53

func (o *EnrollOttCaBadRequest) IsClientError() bool

IsClientError returns true when this enroll ott ca bad request response has a 4xx status code

func (*EnrollOttCaBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this enroll ott ca bad request response a status code equal to that given

func (*EnrollOttCaBadRequest) IsRedirect added in v0.26.53

func (o *EnrollOttCaBadRequest) IsRedirect() bool

IsRedirect returns true when this enroll ott ca bad request response has a 3xx status code

func (*EnrollOttCaBadRequest) IsServerError added in v0.26.53

func (o *EnrollOttCaBadRequest) IsServerError() bool

IsServerError returns true when this enroll ott ca bad request response has a 5xx status code

func (*EnrollOttCaBadRequest) IsSuccess added in v0.26.53

func (o *EnrollOttCaBadRequest) IsSuccess() bool

IsSuccess returns true when this enroll ott ca bad request response has a 2xx status code

func (*EnrollOttCaBadRequest) String added in v0.26.53

func (o *EnrollOttCaBadRequest) String() string

type EnrollOttCaOK

type EnrollOttCaOK struct {

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

	Payload *rest_model.Empty
}

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

Base empty response

func NewEnrollOttCaOK

func NewEnrollOttCaOK() *EnrollOttCaOK

NewEnrollOttCaOK creates a EnrollOttCaOK with default headers values

func (*EnrollOttCaOK) Code added in v0.26.53

func (o *EnrollOttCaOK) Code() int

Code gets the status code for the enroll ott ca o k response

func (*EnrollOttCaOK) Error

func (o *EnrollOttCaOK) Error() string

func (*EnrollOttCaOK) GetPayload

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

func (*EnrollOttCaOK) IsClientError added in v0.26.53

func (o *EnrollOttCaOK) IsClientError() bool

IsClientError returns true when this enroll ott ca o k response has a 4xx status code

func (*EnrollOttCaOK) IsCode added in v0.26.53

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

IsCode returns true when this enroll ott ca o k response a status code equal to that given

func (*EnrollOttCaOK) IsRedirect added in v0.26.53

func (o *EnrollOttCaOK) IsRedirect() bool

IsRedirect returns true when this enroll ott ca o k response has a 3xx status code

func (*EnrollOttCaOK) IsServerError added in v0.26.53

func (o *EnrollOttCaOK) IsServerError() bool

IsServerError returns true when this enroll ott ca o k response has a 5xx status code

func (*EnrollOttCaOK) IsSuccess added in v0.26.53

func (o *EnrollOttCaOK) IsSuccess() bool

IsSuccess returns true when this enroll ott ca o k response has a 2xx status code

func (*EnrollOttCaOK) String added in v0.26.53

func (o *EnrollOttCaOK) String() string

type EnrollOttCaParams

type EnrollOttCaParams struct {

	/* OttEnrollmentRequest.

	   An OTT enrollment request
	*/
	OttEnrollmentRequest *rest_model.OttEnrollmentRequest

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

EnrollOttCaParams contains all the parameters to send to the API endpoint

for the enroll ott ca operation.

Typically these are written to a http.Request.

func NewEnrollOttCaParams

func NewEnrollOttCaParams() *EnrollOttCaParams

NewEnrollOttCaParams creates a new EnrollOttCaParams 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 NewEnrollOttCaParamsWithContext

func NewEnrollOttCaParamsWithContext(ctx context.Context) *EnrollOttCaParams

NewEnrollOttCaParamsWithContext creates a new EnrollOttCaParams object with the ability to set a context for a request.

func NewEnrollOttCaParamsWithHTTPClient

func NewEnrollOttCaParamsWithHTTPClient(client *http.Client) *EnrollOttCaParams

NewEnrollOttCaParamsWithHTTPClient creates a new EnrollOttCaParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollOttCaParamsWithTimeout

func NewEnrollOttCaParamsWithTimeout(timeout time.Duration) *EnrollOttCaParams

NewEnrollOttCaParamsWithTimeout creates a new EnrollOttCaParams object with the ability to set a timeout on a request.

func (*EnrollOttCaParams) SetContext

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

SetContext adds the context to the enroll ott ca params

func (*EnrollOttCaParams) SetDefaults

func (o *EnrollOttCaParams) SetDefaults()

SetDefaults hydrates default values in the enroll ott ca params (not the query body).

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

func (*EnrollOttCaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll ott ca params

func (*EnrollOttCaParams) SetOttEnrollmentRequest added in v0.26.20

func (o *EnrollOttCaParams) SetOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest)

SetOttEnrollmentRequest adds the ottEnrollmentRequest to the enroll ott ca params

func (*EnrollOttCaParams) SetTimeout

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

SetTimeout adds the timeout to the enroll ott ca params

func (*EnrollOttCaParams) WithContext

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

WithContext adds the context to the enroll ott ca params

func (*EnrollOttCaParams) WithDefaults

func (o *EnrollOttCaParams) WithDefaults() *EnrollOttCaParams

WithDefaults hydrates default values in the enroll ott ca params (not the query body).

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

func (*EnrollOttCaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll ott ca params

func (*EnrollOttCaParams) WithOttEnrollmentRequest added in v0.26.20

func (o *EnrollOttCaParams) WithOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest) *EnrollOttCaParams

WithOttEnrollmentRequest adds the ottEnrollmentRequest to the enroll ott ca params

func (*EnrollOttCaParams) WithTimeout

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

WithTimeout adds the timeout to the enroll ott ca params

func (*EnrollOttCaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollOttCaReader

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

EnrollOttCaReader is a Reader for the EnrollOttCa structure.

func (*EnrollOttCaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollOttCaServiceUnavailable added in v0.26.37

type EnrollOttCaServiceUnavailable struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollOttCaServiceUnavailable 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 NewEnrollOttCaServiceUnavailable added in v0.26.37

func NewEnrollOttCaServiceUnavailable() *EnrollOttCaServiceUnavailable

NewEnrollOttCaServiceUnavailable creates a EnrollOttCaServiceUnavailable with default headers values

func (*EnrollOttCaServiceUnavailable) Code added in v0.26.53

Code gets the status code for the enroll ott ca service unavailable response

func (*EnrollOttCaServiceUnavailable) Error added in v0.26.37

func (*EnrollOttCaServiceUnavailable) GetPayload added in v0.26.37

func (*EnrollOttCaServiceUnavailable) IsClientError added in v0.26.53

func (o *EnrollOttCaServiceUnavailable) IsClientError() bool

IsClientError returns true when this enroll ott ca service unavailable response has a 4xx status code

func (*EnrollOttCaServiceUnavailable) IsCode added in v0.26.53

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

IsCode returns true when this enroll ott ca service unavailable response a status code equal to that given

func (*EnrollOttCaServiceUnavailable) IsRedirect added in v0.26.53

func (o *EnrollOttCaServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this enroll ott ca service unavailable response has a 3xx status code

func (*EnrollOttCaServiceUnavailable) IsServerError added in v0.26.53

func (o *EnrollOttCaServiceUnavailable) IsServerError() bool

IsServerError returns true when this enroll ott ca service unavailable response has a 5xx status code

func (*EnrollOttCaServiceUnavailable) IsSuccess added in v0.26.53

func (o *EnrollOttCaServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this enroll ott ca service unavailable response has a 2xx status code

func (*EnrollOttCaServiceUnavailable) String added in v0.26.53

type EnrollOttCaTooManyRequests added in v0.26.0

type EnrollOttCaTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollOttCaTooManyRequests 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 NewEnrollOttCaTooManyRequests added in v0.26.0

func NewEnrollOttCaTooManyRequests() *EnrollOttCaTooManyRequests

NewEnrollOttCaTooManyRequests creates a EnrollOttCaTooManyRequests with default headers values

func (*EnrollOttCaTooManyRequests) Code added in v0.26.53

func (o *EnrollOttCaTooManyRequests) Code() int

Code gets the status code for the enroll ott ca too many requests response

func (*EnrollOttCaTooManyRequests) Error added in v0.26.0

func (*EnrollOttCaTooManyRequests) GetPayload added in v0.26.0

func (*EnrollOttCaTooManyRequests) IsClientError added in v0.26.53

func (o *EnrollOttCaTooManyRequests) IsClientError() bool

IsClientError returns true when this enroll ott ca too many requests response has a 4xx status code

func (*EnrollOttCaTooManyRequests) IsCode added in v0.26.53

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

IsCode returns true when this enroll ott ca too many requests response a status code equal to that given

func (*EnrollOttCaTooManyRequests) IsRedirect added in v0.26.53

func (o *EnrollOttCaTooManyRequests) IsRedirect() bool

IsRedirect returns true when this enroll ott ca too many requests response has a 3xx status code

func (*EnrollOttCaTooManyRequests) IsServerError added in v0.26.53

func (o *EnrollOttCaTooManyRequests) IsServerError() bool

IsServerError returns true when this enroll ott ca too many requests response has a 5xx status code

func (*EnrollOttCaTooManyRequests) IsSuccess added in v0.26.53

func (o *EnrollOttCaTooManyRequests) IsSuccess() bool

IsSuccess returns true when this enroll ott ca too many requests response has a 2xx status code

func (*EnrollOttCaTooManyRequests) String added in v0.26.53

func (o *EnrollOttCaTooManyRequests) String() string

type EnrollOttNotFound

type EnrollOttNotFound struct {

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

	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewEnrollOttNotFound

func NewEnrollOttNotFound() *EnrollOttNotFound

NewEnrollOttNotFound creates a EnrollOttNotFound with default headers values

func (*EnrollOttNotFound) Code added in v0.26.53

func (o *EnrollOttNotFound) Code() int

Code gets the status code for the enroll ott not found response

func (*EnrollOttNotFound) Error

func (o *EnrollOttNotFound) Error() string

func (*EnrollOttNotFound) GetPayload

func (*EnrollOttNotFound) IsClientError added in v0.26.53

func (o *EnrollOttNotFound) IsClientError() bool

IsClientError returns true when this enroll ott not found response has a 4xx status code

func (*EnrollOttNotFound) IsCode added in v0.26.53

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

IsCode returns true when this enroll ott not found response a status code equal to that given

func (*EnrollOttNotFound) IsRedirect added in v0.26.53

func (o *EnrollOttNotFound) IsRedirect() bool

IsRedirect returns true when this enroll ott not found response has a 3xx status code

func (*EnrollOttNotFound) IsServerError added in v0.26.53

func (o *EnrollOttNotFound) IsServerError() bool

IsServerError returns true when this enroll ott not found response has a 5xx status code

func (*EnrollOttNotFound) IsSuccess added in v0.26.53

func (o *EnrollOttNotFound) IsSuccess() bool

IsSuccess returns true when this enroll ott not found response has a 2xx status code

func (*EnrollOttNotFound) String added in v0.26.53

func (o *EnrollOttNotFound) String() string

type EnrollOttOK

type EnrollOttOK struct {

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

	Payload *rest_model.EnrollmentCertsEnvelope
}

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

A response containing and identities client certificate chains

func NewEnrollOttOK

func NewEnrollOttOK() *EnrollOttOK

NewEnrollOttOK creates a EnrollOttOK with default headers values

func (*EnrollOttOK) Code added in v0.26.53

func (o *EnrollOttOK) Code() int

Code gets the status code for the enroll ott o k response

func (*EnrollOttOK) Error

func (o *EnrollOttOK) Error() string

func (*EnrollOttOK) GetPayload

func (*EnrollOttOK) IsClientError added in v0.26.53

func (o *EnrollOttOK) IsClientError() bool

IsClientError returns true when this enroll ott o k response has a 4xx status code

func (*EnrollOttOK) IsCode added in v0.26.53

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

IsCode returns true when this enroll ott o k response a status code equal to that given

func (*EnrollOttOK) IsRedirect added in v0.26.53

func (o *EnrollOttOK) IsRedirect() bool

IsRedirect returns true when this enroll ott o k response has a 3xx status code

func (*EnrollOttOK) IsServerError added in v0.26.53

func (o *EnrollOttOK) IsServerError() bool

IsServerError returns true when this enroll ott o k response has a 5xx status code

func (*EnrollOttOK) IsSuccess added in v0.26.53

func (o *EnrollOttOK) IsSuccess() bool

IsSuccess returns true when this enroll ott o k response has a 2xx status code

func (*EnrollOttOK) String added in v0.26.53

func (o *EnrollOttOK) String() string

type EnrollOttParams

type EnrollOttParams struct {

	/* OttEnrollmentRequest.

	   An OTT enrollment request
	*/
	OttEnrollmentRequest *rest_model.OttEnrollmentRequest

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

EnrollOttParams contains all the parameters to send to the API endpoint

for the enroll ott operation.

Typically these are written to a http.Request.

func NewEnrollOttParams

func NewEnrollOttParams() *EnrollOttParams

NewEnrollOttParams creates a new EnrollOttParams 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 NewEnrollOttParamsWithContext

func NewEnrollOttParamsWithContext(ctx context.Context) *EnrollOttParams

NewEnrollOttParamsWithContext creates a new EnrollOttParams object with the ability to set a context for a request.

func NewEnrollOttParamsWithHTTPClient

func NewEnrollOttParamsWithHTTPClient(client *http.Client) *EnrollOttParams

NewEnrollOttParamsWithHTTPClient creates a new EnrollOttParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollOttParamsWithTimeout

func NewEnrollOttParamsWithTimeout(timeout time.Duration) *EnrollOttParams

NewEnrollOttParamsWithTimeout creates a new EnrollOttParams object with the ability to set a timeout on a request.

func (*EnrollOttParams) SetContext

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

SetContext adds the context to the enroll ott params

func (*EnrollOttParams) SetDefaults

func (o *EnrollOttParams) SetDefaults()

SetDefaults hydrates default values in the enroll ott params (not the query body).

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

func (*EnrollOttParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll ott params

func (*EnrollOttParams) SetOttEnrollmentRequest added in v0.26.20

func (o *EnrollOttParams) SetOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest)

SetOttEnrollmentRequest adds the ottEnrollmentRequest to the enroll ott params

func (*EnrollOttParams) SetTimeout

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

SetTimeout adds the timeout to the enroll ott params

func (*EnrollOttParams) WithContext

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

WithContext adds the context to the enroll ott params

func (*EnrollOttParams) WithDefaults

func (o *EnrollOttParams) WithDefaults() *EnrollOttParams

WithDefaults hydrates default values in the enroll ott params (not the query body).

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

func (*EnrollOttParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll ott params

func (*EnrollOttParams) WithOttEnrollmentRequest added in v0.26.20

func (o *EnrollOttParams) WithOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest) *EnrollOttParams

WithOttEnrollmentRequest adds the ottEnrollmentRequest to the enroll ott params

func (*EnrollOttParams) WithTimeout

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

WithTimeout adds the timeout to the enroll ott params

func (*EnrollOttParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollOttReader

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

EnrollOttReader is a Reader for the EnrollOtt structure.

func (*EnrollOttReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollOttServiceUnavailable added in v0.26.37

type EnrollOttServiceUnavailable struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollOttServiceUnavailable 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 NewEnrollOttServiceUnavailable added in v0.26.37

func NewEnrollOttServiceUnavailable() *EnrollOttServiceUnavailable

NewEnrollOttServiceUnavailable creates a EnrollOttServiceUnavailable with default headers values

func (*EnrollOttServiceUnavailable) Code added in v0.26.53

func (o *EnrollOttServiceUnavailable) Code() int

Code gets the status code for the enroll ott service unavailable response

func (*EnrollOttServiceUnavailable) Error added in v0.26.37

func (*EnrollOttServiceUnavailable) GetPayload added in v0.26.37

func (*EnrollOttServiceUnavailable) IsClientError added in v0.26.53

func (o *EnrollOttServiceUnavailable) IsClientError() bool

IsClientError returns true when this enroll ott service unavailable response has a 4xx status code

func (*EnrollOttServiceUnavailable) IsCode added in v0.26.53

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

IsCode returns true when this enroll ott service unavailable response a status code equal to that given

func (*EnrollOttServiceUnavailable) IsRedirect added in v0.26.53

func (o *EnrollOttServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this enroll ott service unavailable response has a 3xx status code

func (*EnrollOttServiceUnavailable) IsServerError added in v0.26.53

func (o *EnrollOttServiceUnavailable) IsServerError() bool

IsServerError returns true when this enroll ott service unavailable response has a 5xx status code

func (*EnrollOttServiceUnavailable) IsSuccess added in v0.26.53

func (o *EnrollOttServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this enroll ott service unavailable response has a 2xx status code

func (*EnrollOttServiceUnavailable) String added in v0.26.53

func (o *EnrollOttServiceUnavailable) String() string

type EnrollOttTooManyRequests added in v0.26.0

type EnrollOttTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollOttTooManyRequests 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 NewEnrollOttTooManyRequests added in v0.26.0

func NewEnrollOttTooManyRequests() *EnrollOttTooManyRequests

NewEnrollOttTooManyRequests creates a EnrollOttTooManyRequests with default headers values

func (*EnrollOttTooManyRequests) Code added in v0.26.53

func (o *EnrollOttTooManyRequests) Code() int

Code gets the status code for the enroll ott too many requests response

func (*EnrollOttTooManyRequests) Error added in v0.26.0

func (o *EnrollOttTooManyRequests) Error() string

func (*EnrollOttTooManyRequests) GetPayload added in v0.26.0

func (*EnrollOttTooManyRequests) IsClientError added in v0.26.53

func (o *EnrollOttTooManyRequests) IsClientError() bool

IsClientError returns true when this enroll ott too many requests response has a 4xx status code

func (*EnrollOttTooManyRequests) IsCode added in v0.26.53

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

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

func (*EnrollOttTooManyRequests) IsRedirect added in v0.26.53

func (o *EnrollOttTooManyRequests) IsRedirect() bool

IsRedirect returns true when this enroll ott too many requests response has a 3xx status code

func (*EnrollOttTooManyRequests) IsServerError added in v0.26.53

func (o *EnrollOttTooManyRequests) IsServerError() bool

IsServerError returns true when this enroll ott too many requests response has a 5xx status code

func (*EnrollOttTooManyRequests) IsSuccess added in v0.26.53

func (o *EnrollOttTooManyRequests) IsSuccess() bool

IsSuccess returns true when this enroll ott too many requests response has a 2xx status code

func (*EnrollOttTooManyRequests) String added in v0.26.53

func (o *EnrollOttTooManyRequests) String() string

type EnrollParams

type EnrollParams struct {

	// Body.
	Body *rest_model.GenericEnroll

	// Method.
	Method *string

	// Token.
	//
	// Format: uuid
	Token *strfmt.UUID

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

EnrollParams contains all the parameters to send to the API endpoint

for the enroll operation.

Typically these are written to a http.Request.

func NewEnrollParams

func NewEnrollParams() *EnrollParams

NewEnrollParams creates a new EnrollParams 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 NewEnrollParamsWithContext

func NewEnrollParamsWithContext(ctx context.Context) *EnrollParams

NewEnrollParamsWithContext creates a new EnrollParams object with the ability to set a context for a request.

func NewEnrollParamsWithHTTPClient

func NewEnrollParamsWithHTTPClient(client *http.Client) *EnrollParams

NewEnrollParamsWithHTTPClient creates a new EnrollParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollParamsWithTimeout

func NewEnrollParamsWithTimeout(timeout time.Duration) *EnrollParams

NewEnrollParamsWithTimeout creates a new EnrollParams object with the ability to set a timeout on a request.

func (*EnrollParams) SetBody added in v0.26.42

func (o *EnrollParams) SetBody(body *rest_model.GenericEnroll)

SetBody adds the body to the enroll params

func (*EnrollParams) SetContext

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

SetContext adds the context to the enroll params

func (*EnrollParams) SetDefaults

func (o *EnrollParams) SetDefaults()

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

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

func (*EnrollParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll params

func (*EnrollParams) SetMethod added in v0.25.11

func (o *EnrollParams) SetMethod(method *string)

SetMethod adds the method to the enroll params

func (*EnrollParams) SetTimeout

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

SetTimeout adds the timeout to the enroll params

func (*EnrollParams) SetToken

func (o *EnrollParams) SetToken(token *strfmt.UUID)

SetToken adds the token to the enroll params

func (*EnrollParams) WithBody added in v0.26.42

func (o *EnrollParams) WithBody(body *rest_model.GenericEnroll) *EnrollParams

WithBody adds the body to the enroll params

func (*EnrollParams) WithContext

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

WithContext adds the context to the enroll params

func (*EnrollParams) WithDefaults

func (o *EnrollParams) WithDefaults() *EnrollParams

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

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

func (*EnrollParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll params

func (*EnrollParams) WithMethod added in v0.25.11

func (o *EnrollParams) WithMethod(method *string) *EnrollParams

WithMethod adds the method to the enroll params

func (*EnrollParams) WithTimeout

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

WithTimeout adds the timeout to the enroll params

func (*EnrollParams) WithToken

func (o *EnrollParams) WithToken(token *strfmt.UUID) *EnrollParams

WithToken adds the token to the enroll params

func (*EnrollParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollReader

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

EnrollReader is a Reader for the Enroll structure.

func (*EnrollReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollServiceUnavailable added in v0.26.37

type EnrollServiceUnavailable struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollServiceUnavailable 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 NewEnrollServiceUnavailable added in v0.26.37

func NewEnrollServiceUnavailable() *EnrollServiceUnavailable

NewEnrollServiceUnavailable creates a EnrollServiceUnavailable with default headers values

func (*EnrollServiceUnavailable) Code added in v0.26.53

func (o *EnrollServiceUnavailable) Code() int

Code gets the status code for the enroll service unavailable response

func (*EnrollServiceUnavailable) Error added in v0.26.37

func (o *EnrollServiceUnavailable) Error() string

func (*EnrollServiceUnavailable) GetPayload added in v0.26.37

func (*EnrollServiceUnavailable) IsClientError added in v0.26.53

func (o *EnrollServiceUnavailable) IsClientError() bool

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

func (*EnrollServiceUnavailable) IsCode added in v0.26.53

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

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

func (*EnrollServiceUnavailable) IsRedirect added in v0.26.53

func (o *EnrollServiceUnavailable) IsRedirect() bool

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

func (*EnrollServiceUnavailable) IsServerError added in v0.26.53

func (o *EnrollServiceUnavailable) IsServerError() bool

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

func (*EnrollServiceUnavailable) IsSuccess added in v0.26.53

func (o *EnrollServiceUnavailable) IsSuccess() bool

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

func (*EnrollServiceUnavailable) String added in v0.26.53

func (o *EnrollServiceUnavailable) String() string

type EnrollTokenBadRequest added in v0.26.51

type EnrollTokenBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollTokenBadRequest 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 NewEnrollTokenBadRequest added in v0.26.51

func NewEnrollTokenBadRequest() *EnrollTokenBadRequest

NewEnrollTokenBadRequest creates a EnrollTokenBadRequest with default headers values

func (*EnrollTokenBadRequest) Code added in v0.26.53

func (o *EnrollTokenBadRequest) Code() int

Code gets the status code for the enroll token bad request response

func (*EnrollTokenBadRequest) Error added in v0.26.51

func (o *EnrollTokenBadRequest) Error() string

func (*EnrollTokenBadRequest) GetPayload added in v0.26.51

func (*EnrollTokenBadRequest) IsClientError added in v0.26.53

func (o *EnrollTokenBadRequest) IsClientError() bool

IsClientError returns true when this enroll token bad request response has a 4xx status code

func (*EnrollTokenBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this enroll token bad request response a status code equal to that given

func (*EnrollTokenBadRequest) IsRedirect added in v0.26.53

func (o *EnrollTokenBadRequest) IsRedirect() bool

IsRedirect returns true when this enroll token bad request response has a 3xx status code

func (*EnrollTokenBadRequest) IsServerError added in v0.26.53

func (o *EnrollTokenBadRequest) IsServerError() bool

IsServerError returns true when this enroll token bad request response has a 5xx status code

func (*EnrollTokenBadRequest) IsSuccess added in v0.26.53

func (o *EnrollTokenBadRequest) IsSuccess() bool

IsSuccess returns true when this enroll token bad request response has a 2xx status code

func (*EnrollTokenBadRequest) String added in v0.26.53

func (o *EnrollTokenBadRequest) String() string

type EnrollTokenConflict added in v0.26.51

type EnrollTokenConflict struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollTokenConflict 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 NewEnrollTokenConflict added in v0.26.51

func NewEnrollTokenConflict() *EnrollTokenConflict

NewEnrollTokenConflict creates a EnrollTokenConflict with default headers values

func (*EnrollTokenConflict) Code added in v0.26.53

func (o *EnrollTokenConflict) Code() int

Code gets the status code for the enroll token conflict response

func (*EnrollTokenConflict) Error added in v0.26.51

func (o *EnrollTokenConflict) Error() string

func (*EnrollTokenConflict) GetPayload added in v0.26.51

func (*EnrollTokenConflict) IsClientError added in v0.26.53

func (o *EnrollTokenConflict) IsClientError() bool

IsClientError returns true when this enroll token conflict response has a 4xx status code

func (*EnrollTokenConflict) IsCode added in v0.26.53

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

IsCode returns true when this enroll token conflict response a status code equal to that given

func (*EnrollTokenConflict) IsRedirect added in v0.26.53

func (o *EnrollTokenConflict) IsRedirect() bool

IsRedirect returns true when this enroll token conflict response has a 3xx status code

func (*EnrollTokenConflict) IsServerError added in v0.26.53

func (o *EnrollTokenConflict) IsServerError() bool

IsServerError returns true when this enroll token conflict response has a 5xx status code

func (*EnrollTokenConflict) IsSuccess added in v0.26.53

func (o *EnrollTokenConflict) IsSuccess() bool

IsSuccess returns true when this enroll token conflict response has a 2xx status code

func (*EnrollTokenConflict) String added in v0.26.53

func (o *EnrollTokenConflict) String() string

type EnrollTokenGone added in v0.26.51

type EnrollTokenGone struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollTokenGone describes a response with status code 410, with default header values.

The request could not be completed as the resource is no longer available

func NewEnrollTokenGone added in v0.26.51

func NewEnrollTokenGone() *EnrollTokenGone

NewEnrollTokenGone creates a EnrollTokenGone with default headers values

func (*EnrollTokenGone) Code added in v0.26.53

func (o *EnrollTokenGone) Code() int

Code gets the status code for the enroll token gone response

func (*EnrollTokenGone) Error added in v0.26.51

func (o *EnrollTokenGone) Error() string

func (*EnrollTokenGone) GetPayload added in v0.26.51

func (o *EnrollTokenGone) GetPayload() *rest_model.APIErrorEnvelope

func (*EnrollTokenGone) IsClientError added in v0.26.53

func (o *EnrollTokenGone) IsClientError() bool

IsClientError returns true when this enroll token gone response has a 4xx status code

func (*EnrollTokenGone) IsCode added in v0.26.53

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

IsCode returns true when this enroll token gone response a status code equal to that given

func (*EnrollTokenGone) IsRedirect added in v0.26.53

func (o *EnrollTokenGone) IsRedirect() bool

IsRedirect returns true when this enroll token gone response has a 3xx status code

func (*EnrollTokenGone) IsServerError added in v0.26.53

func (o *EnrollTokenGone) IsServerError() bool

IsServerError returns true when this enroll token gone response has a 5xx status code

func (*EnrollTokenGone) IsSuccess added in v0.26.53

func (o *EnrollTokenGone) IsSuccess() bool

IsSuccess returns true when this enroll token gone response has a 2xx status code

func (*EnrollTokenGone) String added in v0.26.53

func (o *EnrollTokenGone) String() string

type EnrollTokenNotFound added in v0.26.51

type EnrollTokenNotFound struct {

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

	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewEnrollTokenNotFound added in v0.26.51

func NewEnrollTokenNotFound() *EnrollTokenNotFound

NewEnrollTokenNotFound creates a EnrollTokenNotFound with default headers values

func (*EnrollTokenNotFound) Code added in v0.26.53

func (o *EnrollTokenNotFound) Code() int

Code gets the status code for the enroll token not found response

func (*EnrollTokenNotFound) Error added in v0.26.51

func (o *EnrollTokenNotFound) Error() string

func (*EnrollTokenNotFound) GetPayload added in v0.26.51

func (*EnrollTokenNotFound) IsClientError added in v0.26.53

func (o *EnrollTokenNotFound) IsClientError() bool

IsClientError returns true when this enroll token not found response has a 4xx status code

func (*EnrollTokenNotFound) IsCode added in v0.26.53

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

IsCode returns true when this enroll token not found response a status code equal to that given

func (*EnrollTokenNotFound) IsRedirect added in v0.26.53

func (o *EnrollTokenNotFound) IsRedirect() bool

IsRedirect returns true when this enroll token not found response has a 3xx status code

func (*EnrollTokenNotFound) IsServerError added in v0.26.53

func (o *EnrollTokenNotFound) IsServerError() bool

IsServerError returns true when this enroll token not found response has a 5xx status code

func (*EnrollTokenNotFound) IsSuccess added in v0.26.53

func (o *EnrollTokenNotFound) IsSuccess() bool

IsSuccess returns true when this enroll token not found response has a 2xx status code

func (*EnrollTokenNotFound) String added in v0.26.53

func (o *EnrollTokenNotFound) String() string

type EnrollTokenOK added in v0.26.51

type EnrollTokenOK struct {

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

	Payload *rest_model.EnrollmentCertsEnvelope
}

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

A response containing and identities client certificate chains

func NewEnrollTokenOK added in v0.26.51

func NewEnrollTokenOK() *EnrollTokenOK

NewEnrollTokenOK creates a EnrollTokenOK with default headers values

func (*EnrollTokenOK) Code added in v0.26.53

func (o *EnrollTokenOK) Code() int

Code gets the status code for the enroll token o k response

func (*EnrollTokenOK) Error added in v0.26.51

func (o *EnrollTokenOK) Error() string

func (*EnrollTokenOK) GetPayload added in v0.26.51

func (*EnrollTokenOK) IsClientError added in v0.26.53

func (o *EnrollTokenOK) IsClientError() bool

IsClientError returns true when this enroll token o k response has a 4xx status code

func (*EnrollTokenOK) IsCode added in v0.26.53

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

IsCode returns true when this enroll token o k response a status code equal to that given

func (*EnrollTokenOK) IsRedirect added in v0.26.53

func (o *EnrollTokenOK) IsRedirect() bool

IsRedirect returns true when this enroll token o k response has a 3xx status code

func (*EnrollTokenOK) IsServerError added in v0.26.53

func (o *EnrollTokenOK) IsServerError() bool

IsServerError returns true when this enroll token o k response has a 5xx status code

func (*EnrollTokenOK) IsSuccess added in v0.26.53

func (o *EnrollTokenOK) IsSuccess() bool

IsSuccess returns true when this enroll token o k response has a 2xx status code

func (*EnrollTokenOK) String added in v0.26.53

func (o *EnrollTokenOK) String() string

type EnrollTokenParams added in v0.26.51

type EnrollTokenParams struct {

	/* Authorization.

	   An identifying token to enroll with
	*/
	Authorization string

	/* TokenEnrollmentRequest.

	     A  enrollment request with or without a CSR. Including a CSR indicated an attempt to enroll with certificate
	credentials. If no CSR is included, the request is assumed to be a token enrollment request that will
	authenticate via tokens.

	*/
	TokenEnrollmentRequest *rest_model.TokenEnrollmentRequest

	/* ZitiTokenIssuerID.

	   The id of the token issuer to use for enrollment, optional as long the the token is not opaque
	*/
	ZitiTokenIssuerID *string

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

EnrollTokenParams contains all the parameters to send to the API endpoint

for the enroll token operation.

Typically these are written to a http.Request.

func NewEnrollTokenParams added in v0.26.51

func NewEnrollTokenParams() *EnrollTokenParams

NewEnrollTokenParams creates a new EnrollTokenParams 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 NewEnrollTokenParamsWithContext added in v0.26.51

func NewEnrollTokenParamsWithContext(ctx context.Context) *EnrollTokenParams

NewEnrollTokenParamsWithContext creates a new EnrollTokenParams object with the ability to set a context for a request.

func NewEnrollTokenParamsWithHTTPClient added in v0.26.51

func NewEnrollTokenParamsWithHTTPClient(client *http.Client) *EnrollTokenParams

NewEnrollTokenParamsWithHTTPClient creates a new EnrollTokenParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollTokenParamsWithTimeout added in v0.26.51

func NewEnrollTokenParamsWithTimeout(timeout time.Duration) *EnrollTokenParams

NewEnrollTokenParamsWithTimeout creates a new EnrollTokenParams object with the ability to set a timeout on a request.

func (*EnrollTokenParams) SetAuthorization added in v0.26.51

func (o *EnrollTokenParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the enroll token params

func (*EnrollTokenParams) SetContext added in v0.26.51

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

SetContext adds the context to the enroll token params

func (*EnrollTokenParams) SetDefaults added in v0.26.51

func (o *EnrollTokenParams) SetDefaults()

SetDefaults hydrates default values in the enroll token params (not the query body).

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

func (*EnrollTokenParams) SetHTTPClient added in v0.26.51

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

SetHTTPClient adds the HTTPClient to the enroll token params

func (*EnrollTokenParams) SetTimeout added in v0.26.51

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

SetTimeout adds the timeout to the enroll token params

func (*EnrollTokenParams) SetTokenEnrollmentRequest added in v0.26.51

func (o *EnrollTokenParams) SetTokenEnrollmentRequest(tokenEnrollmentRequest *rest_model.TokenEnrollmentRequest)

SetTokenEnrollmentRequest adds the tokenEnrollmentRequest to the enroll token params

func (*EnrollTokenParams) SetZitiTokenIssuerID added in v0.26.51

func (o *EnrollTokenParams) SetZitiTokenIssuerID(zitiTokenIssuerID *string)

SetZitiTokenIssuerID adds the zitiTokenIssuerId to the enroll token params

func (*EnrollTokenParams) WithAuthorization added in v0.26.51

func (o *EnrollTokenParams) WithAuthorization(authorization string) *EnrollTokenParams

WithAuthorization adds the authorization to the enroll token params

func (*EnrollTokenParams) WithContext added in v0.26.51

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

WithContext adds the context to the enroll token params

func (*EnrollTokenParams) WithDefaults added in v0.26.51

func (o *EnrollTokenParams) WithDefaults() *EnrollTokenParams

WithDefaults hydrates default values in the enroll token params (not the query body).

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

func (*EnrollTokenParams) WithHTTPClient added in v0.26.51

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

WithHTTPClient adds the HTTPClient to the enroll token params

func (*EnrollTokenParams) WithTimeout added in v0.26.51

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

WithTimeout adds the timeout to the enroll token params

func (*EnrollTokenParams) WithTokenEnrollmentRequest added in v0.26.51

func (o *EnrollTokenParams) WithTokenEnrollmentRequest(tokenEnrollmentRequest *rest_model.TokenEnrollmentRequest) *EnrollTokenParams

WithTokenEnrollmentRequest adds the tokenEnrollmentRequest to the enroll token params

func (*EnrollTokenParams) WithZitiTokenIssuerID added in v0.26.51

func (o *EnrollTokenParams) WithZitiTokenIssuerID(zitiTokenIssuerID *string) *EnrollTokenParams

WithZitiTokenIssuerID adds the zitiTokenIssuerID to the enroll token params

func (*EnrollTokenParams) WriteToRequest added in v0.26.51

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

WriteToRequest writes these params to a swagger request

type EnrollTokenReader added in v0.26.51

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

EnrollTokenReader is a Reader for the EnrollToken structure.

func (*EnrollTokenReader) ReadResponse added in v0.26.51

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

ReadResponse reads a server response into the received o.

type EnrollTokenServiceUnavailable added in v0.26.51

type EnrollTokenServiceUnavailable struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollTokenServiceUnavailable 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 NewEnrollTokenServiceUnavailable added in v0.26.51

func NewEnrollTokenServiceUnavailable() *EnrollTokenServiceUnavailable

NewEnrollTokenServiceUnavailable creates a EnrollTokenServiceUnavailable with default headers values

func (*EnrollTokenServiceUnavailable) Code added in v0.26.53

Code gets the status code for the enroll token service unavailable response

func (*EnrollTokenServiceUnavailable) Error added in v0.26.51

func (*EnrollTokenServiceUnavailable) GetPayload added in v0.26.51

func (*EnrollTokenServiceUnavailable) IsClientError added in v0.26.53

func (o *EnrollTokenServiceUnavailable) IsClientError() bool

IsClientError returns true when this enroll token service unavailable response has a 4xx status code

func (*EnrollTokenServiceUnavailable) IsCode added in v0.26.53

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

IsCode returns true when this enroll token service unavailable response a status code equal to that given

func (*EnrollTokenServiceUnavailable) IsRedirect added in v0.26.53

func (o *EnrollTokenServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this enroll token service unavailable response has a 3xx status code

func (*EnrollTokenServiceUnavailable) IsServerError added in v0.26.53

func (o *EnrollTokenServiceUnavailable) IsServerError() bool

IsServerError returns true when this enroll token service unavailable response has a 5xx status code

func (*EnrollTokenServiceUnavailable) IsSuccess added in v0.26.53

func (o *EnrollTokenServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this enroll token service unavailable response has a 2xx status code

func (*EnrollTokenServiceUnavailable) String added in v0.26.53

type EnrollTokenTooManyRequests added in v0.26.51

type EnrollTokenTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollTokenTooManyRequests 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 NewEnrollTokenTooManyRequests added in v0.26.51

func NewEnrollTokenTooManyRequests() *EnrollTokenTooManyRequests

NewEnrollTokenTooManyRequests creates a EnrollTokenTooManyRequests with default headers values

func (*EnrollTokenTooManyRequests) Code added in v0.26.53

func (o *EnrollTokenTooManyRequests) Code() int

Code gets the status code for the enroll token too many requests response

func (*EnrollTokenTooManyRequests) Error added in v0.26.51

func (*EnrollTokenTooManyRequests) GetPayload added in v0.26.51

func (*EnrollTokenTooManyRequests) IsClientError added in v0.26.53

func (o *EnrollTokenTooManyRequests) IsClientError() bool

IsClientError returns true when this enroll token too many requests response has a 4xx status code

func (*EnrollTokenTooManyRequests) IsCode added in v0.26.53

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

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

func (*EnrollTokenTooManyRequests) IsRedirect added in v0.26.53

func (o *EnrollTokenTooManyRequests) IsRedirect() bool

IsRedirect returns true when this enroll token too many requests response has a 3xx status code

func (*EnrollTokenTooManyRequests) IsServerError added in v0.26.53

func (o *EnrollTokenTooManyRequests) IsServerError() bool

IsServerError returns true when this enroll token too many requests response has a 5xx status code

func (*EnrollTokenTooManyRequests) IsSuccess added in v0.26.53

func (o *EnrollTokenTooManyRequests) IsSuccess() bool

IsSuccess returns true when this enroll token too many requests response has a 2xx status code

func (*EnrollTokenTooManyRequests) String added in v0.26.53

func (o *EnrollTokenTooManyRequests) String() string

type EnrollTooManyRequests added in v0.26.0

type EnrollTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollTooManyRequests 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 NewEnrollTooManyRequests added in v0.26.0

func NewEnrollTooManyRequests() *EnrollTooManyRequests

NewEnrollTooManyRequests creates a EnrollTooManyRequests with default headers values

func (*EnrollTooManyRequests) Code added in v0.26.53

func (o *EnrollTooManyRequests) Code() int

Code gets the status code for the enroll too many requests response

func (*EnrollTooManyRequests) Error added in v0.26.0

func (o *EnrollTooManyRequests) Error() string

func (*EnrollTooManyRequests) GetPayload added in v0.26.0

func (*EnrollTooManyRequests) IsClientError added in v0.26.53

func (o *EnrollTooManyRequests) IsClientError() bool

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

func (*EnrollTooManyRequests) IsCode added in v0.26.53

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

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

func (*EnrollTooManyRequests) IsRedirect added in v0.26.53

func (o *EnrollTooManyRequests) IsRedirect() bool

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

func (*EnrollTooManyRequests) IsServerError added in v0.26.53

func (o *EnrollTooManyRequests) IsServerError() bool

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

func (*EnrollTooManyRequests) IsSuccess added in v0.26.53

func (o *EnrollTooManyRequests) IsSuccess() bool

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

func (*EnrollTooManyRequests) String added in v0.26.53

func (o *EnrollTooManyRequests) String() string

type EnrollUpdbBadRequest added in v0.26.42

type EnrollUpdbBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollUpdbBadRequest 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 NewEnrollUpdbBadRequest added in v0.26.42

func NewEnrollUpdbBadRequest() *EnrollUpdbBadRequest

NewEnrollUpdbBadRequest creates a EnrollUpdbBadRequest with default headers values

func (*EnrollUpdbBadRequest) Code added in v0.26.53

func (o *EnrollUpdbBadRequest) Code() int

Code gets the status code for the enroll updb bad request response

func (*EnrollUpdbBadRequest) Error added in v0.26.42

func (o *EnrollUpdbBadRequest) Error() string

func (*EnrollUpdbBadRequest) GetPayload added in v0.26.42

func (*EnrollUpdbBadRequest) IsClientError added in v0.26.53

func (o *EnrollUpdbBadRequest) IsClientError() bool

IsClientError returns true when this enroll updb bad request response has a 4xx status code

func (*EnrollUpdbBadRequest) IsCode added in v0.26.53

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

IsCode returns true when this enroll updb bad request response a status code equal to that given

func (*EnrollUpdbBadRequest) IsRedirect added in v0.26.53

func (o *EnrollUpdbBadRequest) IsRedirect() bool

IsRedirect returns true when this enroll updb bad request response has a 3xx status code

func (*EnrollUpdbBadRequest) IsServerError added in v0.26.53

func (o *EnrollUpdbBadRequest) IsServerError() bool

IsServerError returns true when this enroll updb bad request response has a 5xx status code

func (*EnrollUpdbBadRequest) IsSuccess added in v0.26.53

func (o *EnrollUpdbBadRequest) IsSuccess() bool

IsSuccess returns true when this enroll updb bad request response has a 2xx status code

func (*EnrollUpdbBadRequest) String added in v0.26.53

func (o *EnrollUpdbBadRequest) String() string

type EnrollUpdbBody added in v0.26.20

type EnrollUpdbBody struct {

	// password
	Password rest_model.Password `json:"password,omitempty"`

	// username
	Username rest_model.Username `json:"username,omitempty"`
}

EnrollUpdbBody enroll updb body swagger:model EnrollUpdbBody

func (*EnrollUpdbBody) ContextValidate added in v0.26.20

func (o *EnrollUpdbBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enroll updb body based on the context it is used

func (*EnrollUpdbBody) MarshalBinary added in v0.26.20

func (o *EnrollUpdbBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnrollUpdbBody) UnmarshalBinary added in v0.26.20

func (o *EnrollUpdbBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnrollUpdbBody) Validate added in v0.26.20

func (o *EnrollUpdbBody) Validate(formats strfmt.Registry) error

Validate validates this enroll updb body

type EnrollUpdbNotFound added in v0.26.20

type EnrollUpdbNotFound struct {

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

	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewEnrollUpdbNotFound added in v0.26.20

func NewEnrollUpdbNotFound() *EnrollUpdbNotFound

NewEnrollUpdbNotFound creates a EnrollUpdbNotFound with default headers values

func (*EnrollUpdbNotFound) Code added in v0.26.53

func (o *EnrollUpdbNotFound) Code() int

Code gets the status code for the enroll updb not found response

func (*EnrollUpdbNotFound) Error added in v0.26.20

func (o *EnrollUpdbNotFound) Error() string

func (*EnrollUpdbNotFound) GetPayload added in v0.26.20

func (*EnrollUpdbNotFound) IsClientError added in v0.26.53

func (o *EnrollUpdbNotFound) IsClientError() bool

IsClientError returns true when this enroll updb not found response has a 4xx status code

func (*EnrollUpdbNotFound) IsCode added in v0.26.53

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

IsCode returns true when this enroll updb not found response a status code equal to that given

func (*EnrollUpdbNotFound) IsRedirect added in v0.26.53

func (o *EnrollUpdbNotFound) IsRedirect() bool

IsRedirect returns true when this enroll updb not found response has a 3xx status code

func (*EnrollUpdbNotFound) IsServerError added in v0.26.53

func (o *EnrollUpdbNotFound) IsServerError() bool

IsServerError returns true when this enroll updb not found response has a 5xx status code

func (*EnrollUpdbNotFound) IsSuccess added in v0.26.53

func (o *EnrollUpdbNotFound) IsSuccess() bool

IsSuccess returns true when this enroll updb not found response has a 2xx status code

func (*EnrollUpdbNotFound) String added in v0.26.53

func (o *EnrollUpdbNotFound) String() string

type EnrollUpdbOK added in v0.26.20

type EnrollUpdbOK struct {

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

	Payload *rest_model.Empty
}

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

Base empty response

func NewEnrollUpdbOK added in v0.26.20

func NewEnrollUpdbOK() *EnrollUpdbOK

NewEnrollUpdbOK creates a EnrollUpdbOK with default headers values

func (*EnrollUpdbOK) Code added in v0.26.53

func (o *EnrollUpdbOK) Code() int

Code gets the status code for the enroll updb o k response

func (*EnrollUpdbOK) Error added in v0.26.20

func (o *EnrollUpdbOK) Error() string

func (*EnrollUpdbOK) GetPayload added in v0.26.20

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

func (*EnrollUpdbOK) IsClientError added in v0.26.53

func (o *EnrollUpdbOK) IsClientError() bool

IsClientError returns true when this enroll updb o k response has a 4xx status code

func (*EnrollUpdbOK) IsCode added in v0.26.53

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

IsCode returns true when this enroll updb o k response a status code equal to that given

func (*EnrollUpdbOK) IsRedirect added in v0.26.53

func (o *EnrollUpdbOK) IsRedirect() bool

IsRedirect returns true when this enroll updb o k response has a 3xx status code

func (*EnrollUpdbOK) IsServerError added in v0.26.53

func (o *EnrollUpdbOK) IsServerError() bool

IsServerError returns true when this enroll updb o k response has a 5xx status code

func (*EnrollUpdbOK) IsSuccess added in v0.26.53

func (o *EnrollUpdbOK) IsSuccess() bool

IsSuccess returns true when this enroll updb o k response has a 2xx status code

func (*EnrollUpdbOK) String added in v0.26.53

func (o *EnrollUpdbOK) String() string

type EnrollUpdbParams added in v0.26.20

type EnrollUpdbParams struct {

	// Token.
	//
	// Format: uuid
	Token strfmt.UUID

	// UpdbCredentials.
	UpdbCredentials EnrollUpdbBody

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

EnrollUpdbParams contains all the parameters to send to the API endpoint

for the enroll updb operation.

Typically these are written to a http.Request.

func NewEnrollUpdbParams added in v0.26.20

func NewEnrollUpdbParams() *EnrollUpdbParams

NewEnrollUpdbParams creates a new EnrollUpdbParams 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 NewEnrollUpdbParamsWithContext added in v0.26.20

func NewEnrollUpdbParamsWithContext(ctx context.Context) *EnrollUpdbParams

NewEnrollUpdbParamsWithContext creates a new EnrollUpdbParams object with the ability to set a context for a request.

func NewEnrollUpdbParamsWithHTTPClient added in v0.26.20

func NewEnrollUpdbParamsWithHTTPClient(client *http.Client) *EnrollUpdbParams

NewEnrollUpdbParamsWithHTTPClient creates a new EnrollUpdbParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollUpdbParamsWithTimeout added in v0.26.20

func NewEnrollUpdbParamsWithTimeout(timeout time.Duration) *EnrollUpdbParams

NewEnrollUpdbParamsWithTimeout creates a new EnrollUpdbParams object with the ability to set a timeout on a request.

func (*EnrollUpdbParams) SetContext added in v0.26.20

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

SetContext adds the context to the enroll updb params

func (*EnrollUpdbParams) SetDefaults added in v0.26.20

func (o *EnrollUpdbParams) SetDefaults()

SetDefaults hydrates default values in the enroll updb params (not the query body).

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

func (*EnrollUpdbParams) SetHTTPClient added in v0.26.20

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

SetHTTPClient adds the HTTPClient to the enroll updb params

func (*EnrollUpdbParams) SetTimeout added in v0.26.20

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

SetTimeout adds the timeout to the enroll updb params

func (*EnrollUpdbParams) SetToken added in v0.26.20

func (o *EnrollUpdbParams) SetToken(token strfmt.UUID)

SetToken adds the token to the enroll updb params

func (*EnrollUpdbParams) SetUpdbCredentials added in v0.26.20

func (o *EnrollUpdbParams) SetUpdbCredentials(updbCredentials EnrollUpdbBody)

SetUpdbCredentials adds the updbCredentials to the enroll updb params

func (*EnrollUpdbParams) WithContext added in v0.26.20

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

WithContext adds the context to the enroll updb params

func (*EnrollUpdbParams) WithDefaults added in v0.26.20

func (o *EnrollUpdbParams) WithDefaults() *EnrollUpdbParams

WithDefaults hydrates default values in the enroll updb params (not the query body).

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

func (*EnrollUpdbParams) WithHTTPClient added in v0.26.20

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

WithHTTPClient adds the HTTPClient to the enroll updb params

func (*EnrollUpdbParams) WithTimeout added in v0.26.20

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

WithTimeout adds the timeout to the enroll updb params

func (*EnrollUpdbParams) WithToken added in v0.26.20

func (o *EnrollUpdbParams) WithToken(token strfmt.UUID) *EnrollUpdbParams

WithToken adds the token to the enroll updb params

func (*EnrollUpdbParams) WithUpdbCredentials added in v0.26.20

func (o *EnrollUpdbParams) WithUpdbCredentials(updbCredentials EnrollUpdbBody) *EnrollUpdbParams

WithUpdbCredentials adds the updbCredentials to the enroll updb params

func (*EnrollUpdbParams) WriteToRequest added in v0.26.20

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

WriteToRequest writes these params to a swagger request

type EnrollUpdbReader added in v0.26.20

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

EnrollUpdbReader is a Reader for the EnrollUpdb structure.

func (*EnrollUpdbReader) ReadResponse added in v0.26.20

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

ReadResponse reads a server response into the received o.

type EnrollUpdbServiceUnavailable added in v0.26.37

type EnrollUpdbServiceUnavailable struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollUpdbServiceUnavailable 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 NewEnrollUpdbServiceUnavailable added in v0.26.37

func NewEnrollUpdbServiceUnavailable() *EnrollUpdbServiceUnavailable

NewEnrollUpdbServiceUnavailable creates a EnrollUpdbServiceUnavailable with default headers values

func (*EnrollUpdbServiceUnavailable) Code added in v0.26.53

Code gets the status code for the enroll updb service unavailable response

func (*EnrollUpdbServiceUnavailable) Error added in v0.26.37

func (*EnrollUpdbServiceUnavailable) GetPayload added in v0.26.37

func (*EnrollUpdbServiceUnavailable) IsClientError added in v0.26.53

func (o *EnrollUpdbServiceUnavailable) IsClientError() bool

IsClientError returns true when this enroll updb service unavailable response has a 4xx status code

func (*EnrollUpdbServiceUnavailable) IsCode added in v0.26.53

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

IsCode returns true when this enroll updb service unavailable response a status code equal to that given

func (*EnrollUpdbServiceUnavailable) IsRedirect added in v0.26.53

func (o *EnrollUpdbServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this enroll updb service unavailable response has a 3xx status code

func (*EnrollUpdbServiceUnavailable) IsServerError added in v0.26.53

func (o *EnrollUpdbServiceUnavailable) IsServerError() bool

IsServerError returns true when this enroll updb service unavailable response has a 5xx status code

func (*EnrollUpdbServiceUnavailable) IsSuccess added in v0.26.53

func (o *EnrollUpdbServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this enroll updb service unavailable response has a 2xx status code

func (*EnrollUpdbServiceUnavailable) String added in v0.26.53

type EnrollUpdbTooManyRequests added in v0.26.20

type EnrollUpdbTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollUpdbTooManyRequests 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 NewEnrollUpdbTooManyRequests added in v0.26.20

func NewEnrollUpdbTooManyRequests() *EnrollUpdbTooManyRequests

NewEnrollUpdbTooManyRequests creates a EnrollUpdbTooManyRequests with default headers values

func (*EnrollUpdbTooManyRequests) Code added in v0.26.53

func (o *EnrollUpdbTooManyRequests) Code() int

Code gets the status code for the enroll updb too many requests response

func (*EnrollUpdbTooManyRequests) Error added in v0.26.20

func (o *EnrollUpdbTooManyRequests) Error() string

func (*EnrollUpdbTooManyRequests) GetPayload added in v0.26.20

func (*EnrollUpdbTooManyRequests) IsClientError added in v0.26.53

func (o *EnrollUpdbTooManyRequests) IsClientError() bool

IsClientError returns true when this enroll updb too many requests response has a 4xx status code

func (*EnrollUpdbTooManyRequests) IsCode added in v0.26.53

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

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

func (*EnrollUpdbTooManyRequests) IsRedirect added in v0.26.53

func (o *EnrollUpdbTooManyRequests) IsRedirect() bool

IsRedirect returns true when this enroll updb too many requests response has a 3xx status code

func (*EnrollUpdbTooManyRequests) IsServerError added in v0.26.53

func (o *EnrollUpdbTooManyRequests) IsServerError() bool

IsServerError returns true when this enroll updb too many requests response has a 5xx status code

func (*EnrollUpdbTooManyRequests) IsSuccess added in v0.26.53

func (o *EnrollUpdbTooManyRequests) IsSuccess() bool

IsSuccess returns true when this enroll updb too many requests response has a 2xx status code

func (*EnrollUpdbTooManyRequests) String added in v0.26.53

func (o *EnrollUpdbTooManyRequests) String() string

type EnrollmentChallengeBadRequest added in v0.26.20

type EnrollmentChallengeBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollmentChallengeBadRequest 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 NewEnrollmentChallengeBadRequest added in v0.26.20

func NewEnrollmentChallengeBadRequest() *EnrollmentChallengeBadRequest

NewEnrollmentChallengeBadRequest creates a EnrollmentChallengeBadRequest with default headers values

func (*EnrollmentChallengeBadRequest) Code added in v0.26.53

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

func (*EnrollmentChallengeBadRequest) Error added in v0.26.20

func (*EnrollmentChallengeBadRequest) GetPayload added in v0.26.20

func (*EnrollmentChallengeBadRequest) IsClientError added in v0.26.53

func (o *EnrollmentChallengeBadRequest) IsClientError() bool

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

func (*EnrollmentChallengeBadRequest) IsCode added in v0.26.53

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

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

func (*EnrollmentChallengeBadRequest) IsRedirect added in v0.26.53

func (o *EnrollmentChallengeBadRequest) IsRedirect() bool

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

func (*EnrollmentChallengeBadRequest) IsServerError added in v0.26.53

func (o *EnrollmentChallengeBadRequest) IsServerError() bool

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

func (*EnrollmentChallengeBadRequest) IsSuccess added in v0.26.53

func (o *EnrollmentChallengeBadRequest) IsSuccess() bool

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

func (*EnrollmentChallengeBadRequest) String added in v0.26.53

type EnrollmentChallengeOK added in v0.26.20

type EnrollmentChallengeOK struct {

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

	Payload *rest_model.NonceSignature
}

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

A nonce challenge response. The contents will be the signature of the nonce, the key id used, and algorithm used to produce the signature.

func NewEnrollmentChallengeOK added in v0.26.20

func NewEnrollmentChallengeOK() *EnrollmentChallengeOK

NewEnrollmentChallengeOK creates a EnrollmentChallengeOK with default headers values

func (*EnrollmentChallengeOK) Code added in v0.26.53

func (o *EnrollmentChallengeOK) Code() int

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

func (*EnrollmentChallengeOK) Error added in v0.26.20

func (o *EnrollmentChallengeOK) Error() string

func (*EnrollmentChallengeOK) GetPayload added in v0.26.20

func (*EnrollmentChallengeOK) IsClientError added in v0.26.53

func (o *EnrollmentChallengeOK) IsClientError() bool

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

func (*EnrollmentChallengeOK) IsCode added in v0.26.53

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

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

func (*EnrollmentChallengeOK) IsRedirect added in v0.26.53

func (o *EnrollmentChallengeOK) IsRedirect() bool

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

func (*EnrollmentChallengeOK) IsServerError added in v0.26.53

func (o *EnrollmentChallengeOK) IsServerError() bool

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

func (*EnrollmentChallengeOK) IsSuccess added in v0.26.53

func (o *EnrollmentChallengeOK) IsSuccess() bool

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

func (*EnrollmentChallengeOK) String added in v0.26.53

func (o *EnrollmentChallengeOK) String() string

type EnrollmentChallengeParams added in v0.26.20

type EnrollmentChallengeParams struct {

	// Nonce.
	Nonce *rest_model.NonceChallenge

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

EnrollmentChallengeParams contains all the parameters to send to the API endpoint

for the enrollment challenge operation.

Typically these are written to a http.Request.

func NewEnrollmentChallengeParams added in v0.26.20

func NewEnrollmentChallengeParams() *EnrollmentChallengeParams

NewEnrollmentChallengeParams creates a new EnrollmentChallengeParams 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 NewEnrollmentChallengeParamsWithContext added in v0.26.20

func NewEnrollmentChallengeParamsWithContext(ctx context.Context) *EnrollmentChallengeParams

NewEnrollmentChallengeParamsWithContext creates a new EnrollmentChallengeParams object with the ability to set a context for a request.

func NewEnrollmentChallengeParamsWithHTTPClient added in v0.26.20

func NewEnrollmentChallengeParamsWithHTTPClient(client *http.Client) *EnrollmentChallengeParams

NewEnrollmentChallengeParamsWithHTTPClient creates a new EnrollmentChallengeParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollmentChallengeParamsWithTimeout added in v0.26.20

func NewEnrollmentChallengeParamsWithTimeout(timeout time.Duration) *EnrollmentChallengeParams

NewEnrollmentChallengeParamsWithTimeout creates a new EnrollmentChallengeParams object with the ability to set a timeout on a request.

func (*EnrollmentChallengeParams) SetContext added in v0.26.20

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

SetContext adds the context to the enrollment challenge params

func (*EnrollmentChallengeParams) SetDefaults added in v0.26.20

func (o *EnrollmentChallengeParams) SetDefaults()

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

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

func (*EnrollmentChallengeParams) SetHTTPClient added in v0.26.20

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

SetHTTPClient adds the HTTPClient to the enrollment challenge params

func (*EnrollmentChallengeParams) SetNonce added in v0.26.20

SetNonce adds the nonce to the enrollment challenge params

func (*EnrollmentChallengeParams) SetTimeout added in v0.26.20

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

SetTimeout adds the timeout to the enrollment challenge params

func (*EnrollmentChallengeParams) WithContext added in v0.26.20

WithContext adds the context to the enrollment challenge params

func (*EnrollmentChallengeParams) WithDefaults added in v0.26.20

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

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

func (*EnrollmentChallengeParams) WithHTTPClient added in v0.26.20

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

WithHTTPClient adds the HTTPClient to the enrollment challenge params

func (*EnrollmentChallengeParams) WithNonce added in v0.26.20

WithNonce adds the nonce to the enrollment challenge params

func (*EnrollmentChallengeParams) WithTimeout added in v0.26.20

WithTimeout adds the timeout to the enrollment challenge params

func (*EnrollmentChallengeParams) WriteToRequest added in v0.26.20

WriteToRequest writes these params to a swagger request

type EnrollmentChallengeReader added in v0.26.20

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

EnrollmentChallengeReader is a Reader for the EnrollmentChallenge structure.

func (*EnrollmentChallengeReader) ReadResponse added in v0.26.20

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

ReadResponse reads a server response into the received o.

type EnrollmentChallengeTooManyRequests added in v0.26.20

type EnrollmentChallengeTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

EnrollmentChallengeTooManyRequests 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 NewEnrollmentChallengeTooManyRequests added in v0.26.20

func NewEnrollmentChallengeTooManyRequests() *EnrollmentChallengeTooManyRequests

NewEnrollmentChallengeTooManyRequests creates a EnrollmentChallengeTooManyRequests with default headers values

func (*EnrollmentChallengeTooManyRequests) Code added in v0.26.53

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

func (*EnrollmentChallengeTooManyRequests) Error added in v0.26.20

func (*EnrollmentChallengeTooManyRequests) GetPayload added in v0.26.20

func (*EnrollmentChallengeTooManyRequests) IsClientError added in v0.26.53

func (o *EnrollmentChallengeTooManyRequests) IsClientError() bool

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

func (*EnrollmentChallengeTooManyRequests) IsCode added in v0.26.53

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

func (*EnrollmentChallengeTooManyRequests) IsRedirect added in v0.26.53

func (o *EnrollmentChallengeTooManyRequests) IsRedirect() bool

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

func (*EnrollmentChallengeTooManyRequests) IsServerError added in v0.26.53

func (o *EnrollmentChallengeTooManyRequests) IsServerError() bool

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

func (*EnrollmentChallengeTooManyRequests) IsSuccess added in v0.26.53

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

func (*EnrollmentChallengeTooManyRequests) String added in v0.26.53

type ExtendRouterEnrollmentBadRequest added in v0.26.42

type ExtendRouterEnrollmentBadRequest struct {

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

	Payload *rest_model.APIErrorEnvelope
}

ExtendRouterEnrollmentBadRequest 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 NewExtendRouterEnrollmentBadRequest added in v0.26.42

func NewExtendRouterEnrollmentBadRequest() *ExtendRouterEnrollmentBadRequest

NewExtendRouterEnrollmentBadRequest creates a ExtendRouterEnrollmentBadRequest with default headers values

func (*ExtendRouterEnrollmentBadRequest) Code added in v0.26.53

Code gets the status code for the extend router enrollment bad request response

func (*ExtendRouterEnrollmentBadRequest) Error added in v0.26.42

func (*ExtendRouterEnrollmentBadRequest) GetPayload added in v0.26.42

func (*ExtendRouterEnrollmentBadRequest) IsClientError added in v0.26.53

func (o *ExtendRouterEnrollmentBadRequest) IsClientError() bool

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

func (*ExtendRouterEnrollmentBadRequest) IsCode added in v0.26.53

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

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

func (*ExtendRouterEnrollmentBadRequest) IsRedirect added in v0.26.53

func (o *ExtendRouterEnrollmentBadRequest) IsRedirect() bool

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

func (*ExtendRouterEnrollmentBadRequest) IsServerError added in v0.26.53

func (o *ExtendRouterEnrollmentBadRequest) IsServerError() bool

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

func (*ExtendRouterEnrollmentBadRequest) IsSuccess added in v0.26.53

func (o *ExtendRouterEnrollmentBadRequest) IsSuccess() bool

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

func (*ExtendRouterEnrollmentBadRequest) String added in v0.26.53

type ExtendRouterEnrollmentOK

type ExtendRouterEnrollmentOK struct {

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

	Payload *rest_model.EnrollmentCertsEnvelope
}

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

A response containing the edge routers new signed certificates (server chain, server cert, CAs).

func NewExtendRouterEnrollmentOK

func NewExtendRouterEnrollmentOK() *ExtendRouterEnrollmentOK

NewExtendRouterEnrollmentOK creates a ExtendRouterEnrollmentOK with default headers values

func (*ExtendRouterEnrollmentOK) Code added in v0.26.53

func (o *ExtendRouterEnrollmentOK) Code() int

Code gets the status code for the extend router enrollment o k response

func (*ExtendRouterEnrollmentOK) Error

func (o *ExtendRouterEnrollmentOK) Error() string

func (*ExtendRouterEnrollmentOK) GetPayload

func (*ExtendRouterEnrollmentOK) IsClientError added in v0.26.53

func (o *ExtendRouterEnrollmentOK) IsClientError() bool

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

func (*ExtendRouterEnrollmentOK) IsCode added in v0.26.53

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

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

func (*ExtendRouterEnrollmentOK) IsRedirect added in v0.26.53

func (o *ExtendRouterEnrollmentOK) IsRedirect() bool

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

func (*ExtendRouterEnrollmentOK) IsServerError added in v0.26.53

func (o *ExtendRouterEnrollmentOK) IsServerError() bool

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

func (*ExtendRouterEnrollmentOK) IsSuccess added in v0.26.53

func (o *ExtendRouterEnrollmentOK) IsSuccess() bool

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

func (*ExtendRouterEnrollmentOK) String added in v0.26.53

func (o *ExtendRouterEnrollmentOK) String() string

type ExtendRouterEnrollmentParams

type ExtendRouterEnrollmentParams struct {

	// RouterExtendEnrollmentRequest.
	RouterExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest

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

ExtendRouterEnrollmentParams contains all the parameters to send to the API endpoint

for the extend router enrollment operation.

Typically these are written to a http.Request.

func NewExtendRouterEnrollmentParams

func NewExtendRouterEnrollmentParams() *ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParams creates a new ExtendRouterEnrollmentParams 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 NewExtendRouterEnrollmentParamsWithContext

func NewExtendRouterEnrollmentParamsWithContext(ctx context.Context) *ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParamsWithContext creates a new ExtendRouterEnrollmentParams object with the ability to set a context for a request.

func NewExtendRouterEnrollmentParamsWithHTTPClient

func NewExtendRouterEnrollmentParamsWithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParamsWithHTTPClient creates a new ExtendRouterEnrollmentParams object with the ability to set a custom HTTPClient for a request.

func NewExtendRouterEnrollmentParamsWithTimeout

func NewExtendRouterEnrollmentParamsWithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParamsWithTimeout creates a new ExtendRouterEnrollmentParams object with the ability to set a timeout on a request.

func (*ExtendRouterEnrollmentParams) SetContext

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

SetContext adds the context to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) SetDefaults

func (o *ExtendRouterEnrollmentParams) SetDefaults()

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

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

func (*ExtendRouterEnrollmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest

func (o *ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest)

SetRouterExtendEnrollmentRequest adds the routerExtendEnrollmentRequest to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) SetTimeout

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

SetTimeout adds the timeout to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WithContext

WithContext adds the context to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WithDefaults

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

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

func (*ExtendRouterEnrollmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest

func (o *ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest) *ExtendRouterEnrollmentParams

WithRouterExtendEnrollmentRequest adds the routerExtendEnrollmentRequest to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WithTimeout

WithTimeout adds the timeout to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExtendRouterEnrollmentReader

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

ExtendRouterEnrollmentReader is a Reader for the ExtendRouterEnrollment structure.

func (*ExtendRouterEnrollmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExtendRouterEnrollmentTooManyRequests added in v0.26.0

type ExtendRouterEnrollmentTooManyRequests struct {

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

	Payload *rest_model.APIErrorEnvelope
}

ExtendRouterEnrollmentTooManyRequests 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 NewExtendRouterEnrollmentTooManyRequests added in v0.26.0

func NewExtendRouterEnrollmentTooManyRequests() *ExtendRouterEnrollmentTooManyRequests

NewExtendRouterEnrollmentTooManyRequests creates a ExtendRouterEnrollmentTooManyRequests with default headers values

func (*ExtendRouterEnrollmentTooManyRequests) Code added in v0.26.53

Code gets the status code for the extend router enrollment too many requests response

func (*ExtendRouterEnrollmentTooManyRequests) Error added in v0.26.0

func (*ExtendRouterEnrollmentTooManyRequests) GetPayload added in v0.26.0

func (*ExtendRouterEnrollmentTooManyRequests) IsClientError added in v0.26.53

func (o *ExtendRouterEnrollmentTooManyRequests) IsClientError() bool

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

func (*ExtendRouterEnrollmentTooManyRequests) IsCode added in v0.26.53

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

func (*ExtendRouterEnrollmentTooManyRequests) IsRedirect added in v0.26.53

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

func (*ExtendRouterEnrollmentTooManyRequests) IsServerError added in v0.26.53

func (o *ExtendRouterEnrollmentTooManyRequests) IsServerError() bool

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

func (*ExtendRouterEnrollmentTooManyRequests) IsSuccess added in v0.26.53

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

func (*ExtendRouterEnrollmentTooManyRequests) String added in v0.26.53

type ExtendRouterEnrollmentUnauthorized

type ExtendRouterEnrollmentUnauthorized struct {

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

	Payload *rest_model.APIErrorEnvelope
}

ExtendRouterEnrollmentUnauthorized 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 NewExtendRouterEnrollmentUnauthorized

func NewExtendRouterEnrollmentUnauthorized() *ExtendRouterEnrollmentUnauthorized

NewExtendRouterEnrollmentUnauthorized creates a ExtendRouterEnrollmentUnauthorized with default headers values

func (*ExtendRouterEnrollmentUnauthorized) Code added in v0.26.53

Code gets the status code for the extend router enrollment unauthorized response

func (*ExtendRouterEnrollmentUnauthorized) Error

func (*ExtendRouterEnrollmentUnauthorized) GetPayload

func (*ExtendRouterEnrollmentUnauthorized) IsClientError added in v0.26.53

func (o *ExtendRouterEnrollmentUnauthorized) IsClientError() bool

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

func (*ExtendRouterEnrollmentUnauthorized) IsCode added in v0.26.53

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

func (*ExtendRouterEnrollmentUnauthorized) IsRedirect added in v0.26.53

func (o *ExtendRouterEnrollmentUnauthorized) IsRedirect() bool

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

func (*ExtendRouterEnrollmentUnauthorized) IsServerError added in v0.26.53

func (o *ExtendRouterEnrollmentUnauthorized) IsServerError() bool

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

func (*ExtendRouterEnrollmentUnauthorized) IsSuccess added in v0.26.53

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

func (*ExtendRouterEnrollmentUnauthorized) String added in v0.26.53

type GetEnrollmentJwksOK added in v0.26.20

type GetEnrollmentJwksOK struct {

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

	Payload *rest_model.Jwks
}

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

A JWKS response for enrollment.

func NewGetEnrollmentJwksOK added in v0.26.20

func NewGetEnrollmentJwksOK() *GetEnrollmentJwksOK

NewGetEnrollmentJwksOK creates a GetEnrollmentJwksOK with default headers values

func (*GetEnrollmentJwksOK) Code added in v0.26.53

func (o *GetEnrollmentJwksOK) Code() int

Code gets the status code for the get enrollment jwks o k response

func (*GetEnrollmentJwksOK) Error added in v0.26.20

func (o *GetEnrollmentJwksOK) Error() string

func (*GetEnrollmentJwksOK) GetPayload added in v0.26.20

func (o *GetEnrollmentJwksOK) GetPayload() *rest_model.Jwks

func (*GetEnrollmentJwksOK) IsClientError added in v0.26.53

func (o *GetEnrollmentJwksOK) IsClientError() bool

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

func (*GetEnrollmentJwksOK) IsCode added in v0.26.53

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

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

func (*GetEnrollmentJwksOK) IsRedirect added in v0.26.53

func (o *GetEnrollmentJwksOK) IsRedirect() bool

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

func (*GetEnrollmentJwksOK) IsServerError added in v0.26.53

func (o *GetEnrollmentJwksOK) IsServerError() bool

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

func (*GetEnrollmentJwksOK) IsSuccess added in v0.26.53

func (o *GetEnrollmentJwksOK) IsSuccess() bool

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

func (*GetEnrollmentJwksOK) String added in v0.26.53

func (o *GetEnrollmentJwksOK) String() string

type GetEnrollmentJwksParams added in v0.26.20

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

GetEnrollmentJwksParams contains all the parameters to send to the API endpoint

for the get enrollment jwks operation.

Typically these are written to a http.Request.

func NewGetEnrollmentJwksParams added in v0.26.20

func NewGetEnrollmentJwksParams() *GetEnrollmentJwksParams

NewGetEnrollmentJwksParams creates a new GetEnrollmentJwksParams 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 NewGetEnrollmentJwksParamsWithContext added in v0.26.20

func NewGetEnrollmentJwksParamsWithContext(ctx context.Context) *GetEnrollmentJwksParams

NewGetEnrollmentJwksParamsWithContext creates a new GetEnrollmentJwksParams object with the ability to set a context for a request.

func NewGetEnrollmentJwksParamsWithHTTPClient added in v0.26.20

func NewGetEnrollmentJwksParamsWithHTTPClient(client *http.Client) *GetEnrollmentJwksParams

NewGetEnrollmentJwksParamsWithHTTPClient creates a new GetEnrollmentJwksParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnrollmentJwksParamsWithTimeout added in v0.26.20

func NewGetEnrollmentJwksParamsWithTimeout(timeout time.Duration) *GetEnrollmentJwksParams

NewGetEnrollmentJwksParamsWithTimeout creates a new GetEnrollmentJwksParams object with the ability to set a timeout on a request.

func (*GetEnrollmentJwksParams) SetContext added in v0.26.20

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

SetContext adds the context to the get enrollment jwks params

func (*GetEnrollmentJwksParams) SetDefaults added in v0.26.20

func (o *GetEnrollmentJwksParams) SetDefaults()

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

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

func (*GetEnrollmentJwksParams) SetHTTPClient added in v0.26.20

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

SetHTTPClient adds the HTTPClient to the get enrollment jwks params

func (*GetEnrollmentJwksParams) SetTimeout added in v0.26.20

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

SetTimeout adds the timeout to the get enrollment jwks params

func (*GetEnrollmentJwksParams) WithContext added in v0.26.20

WithContext adds the context to the get enrollment jwks params

func (*GetEnrollmentJwksParams) WithDefaults added in v0.26.20

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

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

func (*GetEnrollmentJwksParams) WithHTTPClient added in v0.26.20

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

WithHTTPClient adds the HTTPClient to the get enrollment jwks params

func (*GetEnrollmentJwksParams) WithTimeout added in v0.26.20

WithTimeout adds the timeout to the get enrollment jwks params

func (*GetEnrollmentJwksParams) WriteToRequest added in v0.26.20

WriteToRequest writes these params to a swagger request

type GetEnrollmentJwksReader added in v0.26.20

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

GetEnrollmentJwksReader is a Reader for the GetEnrollmentJwks structure.

func (*GetEnrollmentJwksReader) ReadResponse added in v0.26.20

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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