boarding_operations

package
v0.0.0-...-208ba13 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MulanPSL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for boarding operations API

func (*Client) GetAgentsIDBoardingConfiguration

func (a *Client) GetAgentsIDBoardingConfiguration(params *GetAgentsIDBoardingConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsIDBoardingConfigurationOK, error)

GetAgentsIDBoardingConfiguration gets boarding configuration

Boarding configuration holds necessary information of the agent to onboard it.(ex; iat, clientCredentialProfile). Generating a Boarding Configuration action is an asynchronous operation therefore it may take a few seconds. In case Boarding Configuration is not generated, try to read the configuration again after a couple of seconds.

func (*Client) GetAgentsIDBoardingStatus

func (a *Client) GetAgentsIDBoardingStatus(params *GetAgentsIDBoardingStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsIDBoardingStatusOK, error)

GetAgentsIDBoardingStatus gets boarding status

Gets boarding status.

func (*Client) PostAgentsIDBoardingOffboard

func (a *Client) PostAgentsIDBoardingOffboard(params *PostAgentsIDBoardingOffboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAgentsIDBoardingOffboardOK, error)

PostAgentsIDBoardingOffboard offboards agent

Offboards the agent.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	GetAgentsIDBoardingConfiguration(params *GetAgentsIDBoardingConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsIDBoardingConfigurationOK, error)

	GetAgentsIDBoardingStatus(params *GetAgentsIDBoardingStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentsIDBoardingStatusOK, error)

	PostAgentsIDBoardingOffboard(params *PostAgentsIDBoardingOffboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAgentsIDBoardingOffboardOK, 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 boarding operations API client.

func NewClientWithBasicAuth

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

New creates a new boarding operations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

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

New creates a new boarding operations 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 GetAgentsIDBoardingConfigurationBadRequest

type GetAgentsIDBoardingConfigurationBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewGetAgentsIDBoardingConfigurationBadRequest

func NewGetAgentsIDBoardingConfigurationBadRequest() *GetAgentsIDBoardingConfigurationBadRequest

NewGetAgentsIDBoardingConfigurationBadRequest creates a GetAgentsIDBoardingConfigurationBadRequest with default headers values

func (*GetAgentsIDBoardingConfigurationBadRequest) Code

Code gets the status code for the get agents Id boarding configuration bad request response

func (*GetAgentsIDBoardingConfigurationBadRequest) Error

func (*GetAgentsIDBoardingConfigurationBadRequest) GetPayload

func (*GetAgentsIDBoardingConfigurationBadRequest) IsClientError

IsClientError returns true when this get agents Id boarding configuration bad request response has a 4xx status code

func (*GetAgentsIDBoardingConfigurationBadRequest) IsCode

IsCode returns true when this get agents Id boarding configuration bad request response a status code equal to that given

func (*GetAgentsIDBoardingConfigurationBadRequest) IsRedirect

IsRedirect returns true when this get agents Id boarding configuration bad request response has a 3xx status code

func (*GetAgentsIDBoardingConfigurationBadRequest) IsServerError

IsServerError returns true when this get agents Id boarding configuration bad request response has a 5xx status code

func (*GetAgentsIDBoardingConfigurationBadRequest) IsSuccess

IsSuccess returns true when this get agents Id boarding configuration bad request response has a 2xx status code

func (*GetAgentsIDBoardingConfigurationBadRequest) String

type GetAgentsIDBoardingConfigurationDefault

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

GetAgentsIDBoardingConfigurationDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetAgentsIDBoardingConfigurationDefault

func NewGetAgentsIDBoardingConfigurationDefault(code int) *GetAgentsIDBoardingConfigurationDefault

NewGetAgentsIDBoardingConfigurationDefault creates a GetAgentsIDBoardingConfigurationDefault with default headers values

func (*GetAgentsIDBoardingConfigurationDefault) Code

Code gets the status code for the get agents ID boarding configuration default response

func (*GetAgentsIDBoardingConfigurationDefault) Error

func (*GetAgentsIDBoardingConfigurationDefault) IsClientError

func (o *GetAgentsIDBoardingConfigurationDefault) IsClientError() bool

IsClientError returns true when this get agents ID boarding configuration default response has a 4xx status code

func (*GetAgentsIDBoardingConfigurationDefault) IsCode

IsCode returns true when this get agents ID boarding configuration default response a status code equal to that given

func (*GetAgentsIDBoardingConfigurationDefault) IsRedirect

IsRedirect returns true when this get agents ID boarding configuration default response has a 3xx status code

func (*GetAgentsIDBoardingConfigurationDefault) IsServerError

func (o *GetAgentsIDBoardingConfigurationDefault) IsServerError() bool

IsServerError returns true when this get agents ID boarding configuration default response has a 5xx status code

func (*GetAgentsIDBoardingConfigurationDefault) IsSuccess

IsSuccess returns true when this get agents ID boarding configuration default response has a 2xx status code

func (*GetAgentsIDBoardingConfigurationDefault) String

type GetAgentsIDBoardingConfigurationForbidden

type GetAgentsIDBoardingConfigurationForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewGetAgentsIDBoardingConfigurationForbidden

func NewGetAgentsIDBoardingConfigurationForbidden() *GetAgentsIDBoardingConfigurationForbidden

NewGetAgentsIDBoardingConfigurationForbidden creates a GetAgentsIDBoardingConfigurationForbidden with default headers values

func (*GetAgentsIDBoardingConfigurationForbidden) Code

Code gets the status code for the get agents Id boarding configuration forbidden response

func (*GetAgentsIDBoardingConfigurationForbidden) Error

func (*GetAgentsIDBoardingConfigurationForbidden) GetPayload

func (*GetAgentsIDBoardingConfigurationForbidden) IsClientError

IsClientError returns true when this get agents Id boarding configuration forbidden response has a 4xx status code

func (*GetAgentsIDBoardingConfigurationForbidden) IsCode

IsCode returns true when this get agents Id boarding configuration forbidden response a status code equal to that given

func (*GetAgentsIDBoardingConfigurationForbidden) IsRedirect

IsRedirect returns true when this get agents Id boarding configuration forbidden response has a 3xx status code

func (*GetAgentsIDBoardingConfigurationForbidden) IsServerError

IsServerError returns true when this get agents Id boarding configuration forbidden response has a 5xx status code

func (*GetAgentsIDBoardingConfigurationForbidden) IsSuccess

IsSuccess returns true when this get agents Id boarding configuration forbidden response has a 2xx status code

func (*GetAgentsIDBoardingConfigurationForbidden) String

type GetAgentsIDBoardingConfigurationInternalServerError

type GetAgentsIDBoardingConfigurationInternalServerError struct {
	Payload *models.Error
}

GetAgentsIDBoardingConfigurationInternalServerError describes a response with status code 500, with default header values.

unexpected error

func NewGetAgentsIDBoardingConfigurationInternalServerError

func NewGetAgentsIDBoardingConfigurationInternalServerError() *GetAgentsIDBoardingConfigurationInternalServerError

NewGetAgentsIDBoardingConfigurationInternalServerError creates a GetAgentsIDBoardingConfigurationInternalServerError with default headers values

func (*GetAgentsIDBoardingConfigurationInternalServerError) Code

Code gets the status code for the get agents Id boarding configuration internal server error response

func (*GetAgentsIDBoardingConfigurationInternalServerError) Error

func (*GetAgentsIDBoardingConfigurationInternalServerError) GetPayload

func (*GetAgentsIDBoardingConfigurationInternalServerError) IsClientError

IsClientError returns true when this get agents Id boarding configuration internal server error response has a 4xx status code

func (*GetAgentsIDBoardingConfigurationInternalServerError) IsCode

IsCode returns true when this get agents Id boarding configuration internal server error response a status code equal to that given

func (*GetAgentsIDBoardingConfigurationInternalServerError) IsRedirect

IsRedirect returns true when this get agents Id boarding configuration internal server error response has a 3xx status code

func (*GetAgentsIDBoardingConfigurationInternalServerError) IsServerError

IsServerError returns true when this get agents Id boarding configuration internal server error response has a 5xx status code

func (*GetAgentsIDBoardingConfigurationInternalServerError) IsSuccess

IsSuccess returns true when this get agents Id boarding configuration internal server error response has a 2xx status code

func (*GetAgentsIDBoardingConfigurationInternalServerError) String

type GetAgentsIDBoardingConfigurationNotFound

type GetAgentsIDBoardingConfigurationNotFound struct {
	Payload *models.Notfound
}

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

Not Found

func NewGetAgentsIDBoardingConfigurationNotFound

func NewGetAgentsIDBoardingConfigurationNotFound() *GetAgentsIDBoardingConfigurationNotFound

NewGetAgentsIDBoardingConfigurationNotFound creates a GetAgentsIDBoardingConfigurationNotFound with default headers values

func (*GetAgentsIDBoardingConfigurationNotFound) Code

Code gets the status code for the get agents Id boarding configuration not found response

func (*GetAgentsIDBoardingConfigurationNotFound) Error

func (*GetAgentsIDBoardingConfigurationNotFound) GetPayload

func (*GetAgentsIDBoardingConfigurationNotFound) IsClientError

IsClientError returns true when this get agents Id boarding configuration not found response has a 4xx status code

func (*GetAgentsIDBoardingConfigurationNotFound) IsCode

IsCode returns true when this get agents Id boarding configuration not found response a status code equal to that given

func (*GetAgentsIDBoardingConfigurationNotFound) IsRedirect

IsRedirect returns true when this get agents Id boarding configuration not found response has a 3xx status code

func (*GetAgentsIDBoardingConfigurationNotFound) IsServerError

IsServerError returns true when this get agents Id boarding configuration not found response has a 5xx status code

func (*GetAgentsIDBoardingConfigurationNotFound) IsSuccess

IsSuccess returns true when this get agents Id boarding configuration not found response has a 2xx status code

func (*GetAgentsIDBoardingConfigurationNotFound) String

type GetAgentsIDBoardingConfigurationOK

type GetAgentsIDBoardingConfigurationOK struct {
	Payload *models.Configuration
}

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

OK

func NewGetAgentsIDBoardingConfigurationOK

func NewGetAgentsIDBoardingConfigurationOK() *GetAgentsIDBoardingConfigurationOK

NewGetAgentsIDBoardingConfigurationOK creates a GetAgentsIDBoardingConfigurationOK with default headers values

func (*GetAgentsIDBoardingConfigurationOK) Code

Code gets the status code for the get agents Id boarding configuration o k response

func (*GetAgentsIDBoardingConfigurationOK) Error

func (*GetAgentsIDBoardingConfigurationOK) GetPayload

func (*GetAgentsIDBoardingConfigurationOK) IsClientError

func (o *GetAgentsIDBoardingConfigurationOK) IsClientError() bool

IsClientError returns true when this get agents Id boarding configuration o k response has a 4xx status code

func (*GetAgentsIDBoardingConfigurationOK) IsCode

IsCode returns true when this get agents Id boarding configuration o k response a status code equal to that given

func (*GetAgentsIDBoardingConfigurationOK) IsRedirect

func (o *GetAgentsIDBoardingConfigurationOK) IsRedirect() bool

IsRedirect returns true when this get agents Id boarding configuration o k response has a 3xx status code

func (*GetAgentsIDBoardingConfigurationOK) IsServerError

func (o *GetAgentsIDBoardingConfigurationOK) IsServerError() bool

IsServerError returns true when this get agents Id boarding configuration o k response has a 5xx status code

func (*GetAgentsIDBoardingConfigurationOK) IsSuccess

IsSuccess returns true when this get agents Id boarding configuration o k response has a 2xx status code

func (*GetAgentsIDBoardingConfigurationOK) String

type GetAgentsIDBoardingConfigurationParams

type GetAgentsIDBoardingConfigurationParams struct {

	/* ID.

	   Unique identifier of the agent.
	*/
	ID string

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

GetAgentsIDBoardingConfigurationParams contains all the parameters to send to the API endpoint

for the get agents ID boarding configuration operation.

Typically these are written to a http.Request.

func NewGetAgentsIDBoardingConfigurationParams

func NewGetAgentsIDBoardingConfigurationParams() *GetAgentsIDBoardingConfigurationParams

NewGetAgentsIDBoardingConfigurationParams creates a new GetAgentsIDBoardingConfigurationParams 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 NewGetAgentsIDBoardingConfigurationParamsWithContext

func NewGetAgentsIDBoardingConfigurationParamsWithContext(ctx context.Context) *GetAgentsIDBoardingConfigurationParams

NewGetAgentsIDBoardingConfigurationParamsWithContext creates a new GetAgentsIDBoardingConfigurationParams object with the ability to set a context for a request.

func NewGetAgentsIDBoardingConfigurationParamsWithHTTPClient

func NewGetAgentsIDBoardingConfigurationParamsWithHTTPClient(client *http.Client) *GetAgentsIDBoardingConfigurationParams

NewGetAgentsIDBoardingConfigurationParamsWithHTTPClient creates a new GetAgentsIDBoardingConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetAgentsIDBoardingConfigurationParamsWithTimeout

func NewGetAgentsIDBoardingConfigurationParamsWithTimeout(timeout time.Duration) *GetAgentsIDBoardingConfigurationParams

NewGetAgentsIDBoardingConfigurationParamsWithTimeout creates a new GetAgentsIDBoardingConfigurationParams object with the ability to set a timeout on a request.

func (*GetAgentsIDBoardingConfigurationParams) SetContext

SetContext adds the context to the get agents ID boarding configuration params

func (*GetAgentsIDBoardingConfigurationParams) SetDefaults

func (o *GetAgentsIDBoardingConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the get agents ID boarding configuration params (not the query body).

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

func (*GetAgentsIDBoardingConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get agents ID boarding configuration params

func (*GetAgentsIDBoardingConfigurationParams) SetID

SetID adds the id to the get agents ID boarding configuration params

func (*GetAgentsIDBoardingConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get agents ID boarding configuration params

func (*GetAgentsIDBoardingConfigurationParams) WithContext

WithContext adds the context to the get agents ID boarding configuration params

func (*GetAgentsIDBoardingConfigurationParams) WithDefaults

WithDefaults hydrates default values in the get agents ID boarding configuration params (not the query body).

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

func (*GetAgentsIDBoardingConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get agents ID boarding configuration params

func (*GetAgentsIDBoardingConfigurationParams) WithID

WithID adds the id to the get agents ID boarding configuration params

func (*GetAgentsIDBoardingConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get agents ID boarding configuration params

func (*GetAgentsIDBoardingConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAgentsIDBoardingConfigurationReader

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

GetAgentsIDBoardingConfigurationReader is a Reader for the GetAgentsIDBoardingConfiguration structure.

func (*GetAgentsIDBoardingConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAgentsIDBoardingConfigurationTooManyRequests

type GetAgentsIDBoardingConfigurationTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

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

API rate limit exceeded.

func NewGetAgentsIDBoardingConfigurationTooManyRequests

func NewGetAgentsIDBoardingConfigurationTooManyRequests() *GetAgentsIDBoardingConfigurationTooManyRequests

NewGetAgentsIDBoardingConfigurationTooManyRequests creates a GetAgentsIDBoardingConfigurationTooManyRequests with default headers values

func (*GetAgentsIDBoardingConfigurationTooManyRequests) Code

Code gets the status code for the get agents Id boarding configuration too many requests response

func (*GetAgentsIDBoardingConfigurationTooManyRequests) Error

func (*GetAgentsIDBoardingConfigurationTooManyRequests) GetPayload

func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsClientError

IsClientError returns true when this get agents Id boarding configuration too many requests response has a 4xx status code

func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsCode

IsCode returns true when this get agents Id boarding configuration too many requests response a status code equal to that given

func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsRedirect

IsRedirect returns true when this get agents Id boarding configuration too many requests response has a 3xx status code

func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsServerError

IsServerError returns true when this get agents Id boarding configuration too many requests response has a 5xx status code

func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsSuccess

IsSuccess returns true when this get agents Id boarding configuration too many requests response has a 2xx status code

func (*GetAgentsIDBoardingConfigurationTooManyRequests) String

type GetAgentsIDBoardingConfigurationUnauthorized

type GetAgentsIDBoardingConfigurationUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewGetAgentsIDBoardingConfigurationUnauthorized

func NewGetAgentsIDBoardingConfigurationUnauthorized() *GetAgentsIDBoardingConfigurationUnauthorized

NewGetAgentsIDBoardingConfigurationUnauthorized creates a GetAgentsIDBoardingConfigurationUnauthorized with default headers values

func (*GetAgentsIDBoardingConfigurationUnauthorized) Code

Code gets the status code for the get agents Id boarding configuration unauthorized response

func (*GetAgentsIDBoardingConfigurationUnauthorized) Error

func (*GetAgentsIDBoardingConfigurationUnauthorized) GetPayload

func (*GetAgentsIDBoardingConfigurationUnauthorized) IsClientError

IsClientError returns true when this get agents Id boarding configuration unauthorized response has a 4xx status code

func (*GetAgentsIDBoardingConfigurationUnauthorized) IsCode

IsCode returns true when this get agents Id boarding configuration unauthorized response a status code equal to that given

func (*GetAgentsIDBoardingConfigurationUnauthorized) IsRedirect

IsRedirect returns true when this get agents Id boarding configuration unauthorized response has a 3xx status code

func (*GetAgentsIDBoardingConfigurationUnauthorized) IsServerError

IsServerError returns true when this get agents Id boarding configuration unauthorized response has a 5xx status code

func (*GetAgentsIDBoardingConfigurationUnauthorized) IsSuccess

IsSuccess returns true when this get agents Id boarding configuration unauthorized response has a 2xx status code

func (*GetAgentsIDBoardingConfigurationUnauthorized) String

type GetAgentsIDBoardingStatusBadRequest

type GetAgentsIDBoardingStatusBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewGetAgentsIDBoardingStatusBadRequest

func NewGetAgentsIDBoardingStatusBadRequest() *GetAgentsIDBoardingStatusBadRequest

NewGetAgentsIDBoardingStatusBadRequest creates a GetAgentsIDBoardingStatusBadRequest with default headers values

func (*GetAgentsIDBoardingStatusBadRequest) Code

Code gets the status code for the get agents Id boarding status bad request response

func (*GetAgentsIDBoardingStatusBadRequest) Error

func (*GetAgentsIDBoardingStatusBadRequest) GetPayload

func (*GetAgentsIDBoardingStatusBadRequest) IsClientError

func (o *GetAgentsIDBoardingStatusBadRequest) IsClientError() bool

IsClientError returns true when this get agents Id boarding status bad request response has a 4xx status code

func (*GetAgentsIDBoardingStatusBadRequest) IsCode

IsCode returns true when this get agents Id boarding status bad request response a status code equal to that given

func (*GetAgentsIDBoardingStatusBadRequest) IsRedirect

func (o *GetAgentsIDBoardingStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this get agents Id boarding status bad request response has a 3xx status code

func (*GetAgentsIDBoardingStatusBadRequest) IsServerError

func (o *GetAgentsIDBoardingStatusBadRequest) IsServerError() bool

IsServerError returns true when this get agents Id boarding status bad request response has a 5xx status code

func (*GetAgentsIDBoardingStatusBadRequest) IsSuccess

IsSuccess returns true when this get agents Id boarding status bad request response has a 2xx status code

func (*GetAgentsIDBoardingStatusBadRequest) String

type GetAgentsIDBoardingStatusDefault

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

GetAgentsIDBoardingStatusDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetAgentsIDBoardingStatusDefault

func NewGetAgentsIDBoardingStatusDefault(code int) *GetAgentsIDBoardingStatusDefault

NewGetAgentsIDBoardingStatusDefault creates a GetAgentsIDBoardingStatusDefault with default headers values

func (*GetAgentsIDBoardingStatusDefault) Code

Code gets the status code for the get agents ID boarding status default response

func (*GetAgentsIDBoardingStatusDefault) Error

func (*GetAgentsIDBoardingStatusDefault) IsClientError

func (o *GetAgentsIDBoardingStatusDefault) IsClientError() bool

IsClientError returns true when this get agents ID boarding status default response has a 4xx status code

func (*GetAgentsIDBoardingStatusDefault) IsCode

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

IsCode returns true when this get agents ID boarding status default response a status code equal to that given

func (*GetAgentsIDBoardingStatusDefault) IsRedirect

func (o *GetAgentsIDBoardingStatusDefault) IsRedirect() bool

IsRedirect returns true when this get agents ID boarding status default response has a 3xx status code

func (*GetAgentsIDBoardingStatusDefault) IsServerError

func (o *GetAgentsIDBoardingStatusDefault) IsServerError() bool

IsServerError returns true when this get agents ID boarding status default response has a 5xx status code

func (*GetAgentsIDBoardingStatusDefault) IsSuccess

func (o *GetAgentsIDBoardingStatusDefault) IsSuccess() bool

IsSuccess returns true when this get agents ID boarding status default response has a 2xx status code

func (*GetAgentsIDBoardingStatusDefault) String

type GetAgentsIDBoardingStatusForbidden

type GetAgentsIDBoardingStatusForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewGetAgentsIDBoardingStatusForbidden

func NewGetAgentsIDBoardingStatusForbidden() *GetAgentsIDBoardingStatusForbidden

NewGetAgentsIDBoardingStatusForbidden creates a GetAgentsIDBoardingStatusForbidden with default headers values

func (*GetAgentsIDBoardingStatusForbidden) Code

Code gets the status code for the get agents Id boarding status forbidden response

func (*GetAgentsIDBoardingStatusForbidden) Error

func (*GetAgentsIDBoardingStatusForbidden) GetPayload

func (*GetAgentsIDBoardingStatusForbidden) IsClientError

func (o *GetAgentsIDBoardingStatusForbidden) IsClientError() bool

IsClientError returns true when this get agents Id boarding status forbidden response has a 4xx status code

func (*GetAgentsIDBoardingStatusForbidden) IsCode

IsCode returns true when this get agents Id boarding status forbidden response a status code equal to that given

func (*GetAgentsIDBoardingStatusForbidden) IsRedirect

func (o *GetAgentsIDBoardingStatusForbidden) IsRedirect() bool

IsRedirect returns true when this get agents Id boarding status forbidden response has a 3xx status code

func (*GetAgentsIDBoardingStatusForbidden) IsServerError

func (o *GetAgentsIDBoardingStatusForbidden) IsServerError() bool

IsServerError returns true when this get agents Id boarding status forbidden response has a 5xx status code

func (*GetAgentsIDBoardingStatusForbidden) IsSuccess

IsSuccess returns true when this get agents Id boarding status forbidden response has a 2xx status code

func (*GetAgentsIDBoardingStatusForbidden) String

type GetAgentsIDBoardingStatusInternalServerError

type GetAgentsIDBoardingStatusInternalServerError struct {
	Payload *models.Error
}

GetAgentsIDBoardingStatusInternalServerError describes a response with status code 500, with default header values.

unexpected error

func NewGetAgentsIDBoardingStatusInternalServerError

func NewGetAgentsIDBoardingStatusInternalServerError() *GetAgentsIDBoardingStatusInternalServerError

NewGetAgentsIDBoardingStatusInternalServerError creates a GetAgentsIDBoardingStatusInternalServerError with default headers values

func (*GetAgentsIDBoardingStatusInternalServerError) Code

Code gets the status code for the get agents Id boarding status internal server error response

func (*GetAgentsIDBoardingStatusInternalServerError) Error

func (*GetAgentsIDBoardingStatusInternalServerError) GetPayload

func (*GetAgentsIDBoardingStatusInternalServerError) IsClientError

IsClientError returns true when this get agents Id boarding status internal server error response has a 4xx status code

func (*GetAgentsIDBoardingStatusInternalServerError) IsCode

IsCode returns true when this get agents Id boarding status internal server error response a status code equal to that given

func (*GetAgentsIDBoardingStatusInternalServerError) IsRedirect

IsRedirect returns true when this get agents Id boarding status internal server error response has a 3xx status code

func (*GetAgentsIDBoardingStatusInternalServerError) IsServerError

IsServerError returns true when this get agents Id boarding status internal server error response has a 5xx status code

func (*GetAgentsIDBoardingStatusInternalServerError) IsSuccess

IsSuccess returns true when this get agents Id boarding status internal server error response has a 2xx status code

func (*GetAgentsIDBoardingStatusInternalServerError) String

type GetAgentsIDBoardingStatusNotFound

type GetAgentsIDBoardingStatusNotFound struct {
	Payload *models.Notfound
}

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

Not Found

func NewGetAgentsIDBoardingStatusNotFound

func NewGetAgentsIDBoardingStatusNotFound() *GetAgentsIDBoardingStatusNotFound

NewGetAgentsIDBoardingStatusNotFound creates a GetAgentsIDBoardingStatusNotFound with default headers values

func (*GetAgentsIDBoardingStatusNotFound) Code

Code gets the status code for the get agents Id boarding status not found response

func (*GetAgentsIDBoardingStatusNotFound) Error

func (*GetAgentsIDBoardingStatusNotFound) GetPayload

func (*GetAgentsIDBoardingStatusNotFound) IsClientError

func (o *GetAgentsIDBoardingStatusNotFound) IsClientError() bool

IsClientError returns true when this get agents Id boarding status not found response has a 4xx status code

func (*GetAgentsIDBoardingStatusNotFound) IsCode

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

IsCode returns true when this get agents Id boarding status not found response a status code equal to that given

func (*GetAgentsIDBoardingStatusNotFound) IsRedirect

func (o *GetAgentsIDBoardingStatusNotFound) IsRedirect() bool

IsRedirect returns true when this get agents Id boarding status not found response has a 3xx status code

func (*GetAgentsIDBoardingStatusNotFound) IsServerError

func (o *GetAgentsIDBoardingStatusNotFound) IsServerError() bool

IsServerError returns true when this get agents Id boarding status not found response has a 5xx status code

func (*GetAgentsIDBoardingStatusNotFound) IsSuccess

func (o *GetAgentsIDBoardingStatusNotFound) IsSuccess() bool

IsSuccess returns true when this get agents Id boarding status not found response has a 2xx status code

func (*GetAgentsIDBoardingStatusNotFound) String

type GetAgentsIDBoardingStatusOK

type GetAgentsIDBoardingStatusOK struct {
	Payload *models.OnboardingStatus
}

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

OK

func NewGetAgentsIDBoardingStatusOK

func NewGetAgentsIDBoardingStatusOK() *GetAgentsIDBoardingStatusOK

NewGetAgentsIDBoardingStatusOK creates a GetAgentsIDBoardingStatusOK with default headers values

func (*GetAgentsIDBoardingStatusOK) Code

func (o *GetAgentsIDBoardingStatusOK) Code() int

Code gets the status code for the get agents Id boarding status o k response

func (*GetAgentsIDBoardingStatusOK) Error

func (*GetAgentsIDBoardingStatusOK) GetPayload

func (*GetAgentsIDBoardingStatusOK) IsClientError

func (o *GetAgentsIDBoardingStatusOK) IsClientError() bool

IsClientError returns true when this get agents Id boarding status o k response has a 4xx status code

func (*GetAgentsIDBoardingStatusOK) IsCode

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

IsCode returns true when this get agents Id boarding status o k response a status code equal to that given

func (*GetAgentsIDBoardingStatusOK) IsRedirect

func (o *GetAgentsIDBoardingStatusOK) IsRedirect() bool

IsRedirect returns true when this get agents Id boarding status o k response has a 3xx status code

func (*GetAgentsIDBoardingStatusOK) IsServerError

func (o *GetAgentsIDBoardingStatusOK) IsServerError() bool

IsServerError returns true when this get agents Id boarding status o k response has a 5xx status code

func (*GetAgentsIDBoardingStatusOK) IsSuccess

func (o *GetAgentsIDBoardingStatusOK) IsSuccess() bool

IsSuccess returns true when this get agents Id boarding status o k response has a 2xx status code

func (*GetAgentsIDBoardingStatusOK) String

func (o *GetAgentsIDBoardingStatusOK) String() string

type GetAgentsIDBoardingStatusParams

type GetAgentsIDBoardingStatusParams struct {

	/* ID.

	   Unique identifier of the agent.
	*/
	ID string

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

GetAgentsIDBoardingStatusParams contains all the parameters to send to the API endpoint

for the get agents ID boarding status operation.

Typically these are written to a http.Request.

func NewGetAgentsIDBoardingStatusParams

func NewGetAgentsIDBoardingStatusParams() *GetAgentsIDBoardingStatusParams

NewGetAgentsIDBoardingStatusParams creates a new GetAgentsIDBoardingStatusParams 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 NewGetAgentsIDBoardingStatusParamsWithContext

func NewGetAgentsIDBoardingStatusParamsWithContext(ctx context.Context) *GetAgentsIDBoardingStatusParams

NewGetAgentsIDBoardingStatusParamsWithContext creates a new GetAgentsIDBoardingStatusParams object with the ability to set a context for a request.

func NewGetAgentsIDBoardingStatusParamsWithHTTPClient

func NewGetAgentsIDBoardingStatusParamsWithHTTPClient(client *http.Client) *GetAgentsIDBoardingStatusParams

NewGetAgentsIDBoardingStatusParamsWithHTTPClient creates a new GetAgentsIDBoardingStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetAgentsIDBoardingStatusParamsWithTimeout

func NewGetAgentsIDBoardingStatusParamsWithTimeout(timeout time.Duration) *GetAgentsIDBoardingStatusParams

NewGetAgentsIDBoardingStatusParamsWithTimeout creates a new GetAgentsIDBoardingStatusParams object with the ability to set a timeout on a request.

func (*GetAgentsIDBoardingStatusParams) SetContext

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

SetContext adds the context to the get agents ID boarding status params

func (*GetAgentsIDBoardingStatusParams) SetDefaults

func (o *GetAgentsIDBoardingStatusParams) SetDefaults()

SetDefaults hydrates default values in the get agents ID boarding status params (not the query body).

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

func (*GetAgentsIDBoardingStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get agents ID boarding status params

func (*GetAgentsIDBoardingStatusParams) SetID

SetID adds the id to the get agents ID boarding status params

func (*GetAgentsIDBoardingStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get agents ID boarding status params

func (*GetAgentsIDBoardingStatusParams) WithContext

WithContext adds the context to the get agents ID boarding status params

func (*GetAgentsIDBoardingStatusParams) WithDefaults

WithDefaults hydrates default values in the get agents ID boarding status params (not the query body).

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

func (*GetAgentsIDBoardingStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get agents ID boarding status params

func (*GetAgentsIDBoardingStatusParams) WithID

WithID adds the id to the get agents ID boarding status params

func (*GetAgentsIDBoardingStatusParams) WithTimeout

WithTimeout adds the timeout to the get agents ID boarding status params

func (*GetAgentsIDBoardingStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAgentsIDBoardingStatusReader

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

GetAgentsIDBoardingStatusReader is a Reader for the GetAgentsIDBoardingStatus structure.

func (*GetAgentsIDBoardingStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAgentsIDBoardingStatusTooManyRequests

type GetAgentsIDBoardingStatusTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

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

API rate limit exceeded.

func NewGetAgentsIDBoardingStatusTooManyRequests

func NewGetAgentsIDBoardingStatusTooManyRequests() *GetAgentsIDBoardingStatusTooManyRequests

NewGetAgentsIDBoardingStatusTooManyRequests creates a GetAgentsIDBoardingStatusTooManyRequests with default headers values

func (*GetAgentsIDBoardingStatusTooManyRequests) Code

Code gets the status code for the get agents Id boarding status too many requests response

func (*GetAgentsIDBoardingStatusTooManyRequests) Error

func (*GetAgentsIDBoardingStatusTooManyRequests) GetPayload

func (*GetAgentsIDBoardingStatusTooManyRequests) IsClientError

IsClientError returns true when this get agents Id boarding status too many requests response has a 4xx status code

func (*GetAgentsIDBoardingStatusTooManyRequests) IsCode

IsCode returns true when this get agents Id boarding status too many requests response a status code equal to that given

func (*GetAgentsIDBoardingStatusTooManyRequests) IsRedirect

IsRedirect returns true when this get agents Id boarding status too many requests response has a 3xx status code

func (*GetAgentsIDBoardingStatusTooManyRequests) IsServerError

IsServerError returns true when this get agents Id boarding status too many requests response has a 5xx status code

func (*GetAgentsIDBoardingStatusTooManyRequests) IsSuccess

IsSuccess returns true when this get agents Id boarding status too many requests response has a 2xx status code

func (*GetAgentsIDBoardingStatusTooManyRequests) String

type GetAgentsIDBoardingStatusUnauthorized

type GetAgentsIDBoardingStatusUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewGetAgentsIDBoardingStatusUnauthorized

func NewGetAgentsIDBoardingStatusUnauthorized() *GetAgentsIDBoardingStatusUnauthorized

NewGetAgentsIDBoardingStatusUnauthorized creates a GetAgentsIDBoardingStatusUnauthorized with default headers values

func (*GetAgentsIDBoardingStatusUnauthorized) Code

Code gets the status code for the get agents Id boarding status unauthorized response

func (*GetAgentsIDBoardingStatusUnauthorized) Error

func (*GetAgentsIDBoardingStatusUnauthorized) GetPayload

func (*GetAgentsIDBoardingStatusUnauthorized) IsClientError

func (o *GetAgentsIDBoardingStatusUnauthorized) IsClientError() bool

IsClientError returns true when this get agents Id boarding status unauthorized response has a 4xx status code

func (*GetAgentsIDBoardingStatusUnauthorized) IsCode

IsCode returns true when this get agents Id boarding status unauthorized response a status code equal to that given

func (*GetAgentsIDBoardingStatusUnauthorized) IsRedirect

IsRedirect returns true when this get agents Id boarding status unauthorized response has a 3xx status code

func (*GetAgentsIDBoardingStatusUnauthorized) IsServerError

func (o *GetAgentsIDBoardingStatusUnauthorized) IsServerError() bool

IsServerError returns true when this get agents Id boarding status unauthorized response has a 5xx status code

func (*GetAgentsIDBoardingStatusUnauthorized) IsSuccess

IsSuccess returns true when this get agents Id boarding status unauthorized response has a 2xx status code

func (*GetAgentsIDBoardingStatusUnauthorized) String

type PostAgentsIDBoardingOffboardBadRequest

type PostAgentsIDBoardingOffboardBadRequest struct {
	Payload *models.Badrequest
}

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

Bad Request

func NewPostAgentsIDBoardingOffboardBadRequest

func NewPostAgentsIDBoardingOffboardBadRequest() *PostAgentsIDBoardingOffboardBadRequest

NewPostAgentsIDBoardingOffboardBadRequest creates a PostAgentsIDBoardingOffboardBadRequest with default headers values

func (*PostAgentsIDBoardingOffboardBadRequest) Code

Code gets the status code for the post agents Id boarding offboard bad request response

func (*PostAgentsIDBoardingOffboardBadRequest) Error

func (*PostAgentsIDBoardingOffboardBadRequest) GetPayload

func (*PostAgentsIDBoardingOffboardBadRequest) IsClientError

func (o *PostAgentsIDBoardingOffboardBadRequest) IsClientError() bool

IsClientError returns true when this post agents Id boarding offboard bad request response has a 4xx status code

func (*PostAgentsIDBoardingOffboardBadRequest) IsCode

IsCode returns true when this post agents Id boarding offboard bad request response a status code equal to that given

func (*PostAgentsIDBoardingOffboardBadRequest) IsRedirect

IsRedirect returns true when this post agents Id boarding offboard bad request response has a 3xx status code

func (*PostAgentsIDBoardingOffboardBadRequest) IsServerError

func (o *PostAgentsIDBoardingOffboardBadRequest) IsServerError() bool

IsServerError returns true when this post agents Id boarding offboard bad request response has a 5xx status code

func (*PostAgentsIDBoardingOffboardBadRequest) IsSuccess

IsSuccess returns true when this post agents Id boarding offboard bad request response has a 2xx status code

func (*PostAgentsIDBoardingOffboardBadRequest) String

type PostAgentsIDBoardingOffboardConflict

type PostAgentsIDBoardingOffboardConflict struct {
	Payload *models.Conflict
}

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

Resource in conflicting state.

func NewPostAgentsIDBoardingOffboardConflict

func NewPostAgentsIDBoardingOffboardConflict() *PostAgentsIDBoardingOffboardConflict

NewPostAgentsIDBoardingOffboardConflict creates a PostAgentsIDBoardingOffboardConflict with default headers values

func (*PostAgentsIDBoardingOffboardConflict) Code

Code gets the status code for the post agents Id boarding offboard conflict response

func (*PostAgentsIDBoardingOffboardConflict) Error

func (*PostAgentsIDBoardingOffboardConflict) GetPayload

func (*PostAgentsIDBoardingOffboardConflict) IsClientError

func (o *PostAgentsIDBoardingOffboardConflict) IsClientError() bool

IsClientError returns true when this post agents Id boarding offboard conflict response has a 4xx status code

func (*PostAgentsIDBoardingOffboardConflict) IsCode

IsCode returns true when this post agents Id boarding offboard conflict response a status code equal to that given

func (*PostAgentsIDBoardingOffboardConflict) IsRedirect

IsRedirect returns true when this post agents Id boarding offboard conflict response has a 3xx status code

func (*PostAgentsIDBoardingOffboardConflict) IsServerError

func (o *PostAgentsIDBoardingOffboardConflict) IsServerError() bool

IsServerError returns true when this post agents Id boarding offboard conflict response has a 5xx status code

func (*PostAgentsIDBoardingOffboardConflict) IsSuccess

IsSuccess returns true when this post agents Id boarding offboard conflict response has a 2xx status code

func (*PostAgentsIDBoardingOffboardConflict) String

type PostAgentsIDBoardingOffboardDefault

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

PostAgentsIDBoardingOffboardDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewPostAgentsIDBoardingOffboardDefault

func NewPostAgentsIDBoardingOffboardDefault(code int) *PostAgentsIDBoardingOffboardDefault

NewPostAgentsIDBoardingOffboardDefault creates a PostAgentsIDBoardingOffboardDefault with default headers values

func (*PostAgentsIDBoardingOffboardDefault) Code

Code gets the status code for the post agents ID boarding offboard default response

func (*PostAgentsIDBoardingOffboardDefault) Error

func (*PostAgentsIDBoardingOffboardDefault) IsClientError

func (o *PostAgentsIDBoardingOffboardDefault) IsClientError() bool

IsClientError returns true when this post agents ID boarding offboard default response has a 4xx status code

func (*PostAgentsIDBoardingOffboardDefault) IsCode

IsCode returns true when this post agents ID boarding offboard default response a status code equal to that given

func (*PostAgentsIDBoardingOffboardDefault) IsRedirect

func (o *PostAgentsIDBoardingOffboardDefault) IsRedirect() bool

IsRedirect returns true when this post agents ID boarding offboard default response has a 3xx status code

func (*PostAgentsIDBoardingOffboardDefault) IsServerError

func (o *PostAgentsIDBoardingOffboardDefault) IsServerError() bool

IsServerError returns true when this post agents ID boarding offboard default response has a 5xx status code

func (*PostAgentsIDBoardingOffboardDefault) IsSuccess

IsSuccess returns true when this post agents ID boarding offboard default response has a 2xx status code

func (*PostAgentsIDBoardingOffboardDefault) String

type PostAgentsIDBoardingOffboardForbidden

type PostAgentsIDBoardingOffboardForbidden struct {
	Payload *models.Forbidden
}

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

Forbidden

func NewPostAgentsIDBoardingOffboardForbidden

func NewPostAgentsIDBoardingOffboardForbidden() *PostAgentsIDBoardingOffboardForbidden

NewPostAgentsIDBoardingOffboardForbidden creates a PostAgentsIDBoardingOffboardForbidden with default headers values

func (*PostAgentsIDBoardingOffboardForbidden) Code

Code gets the status code for the post agents Id boarding offboard forbidden response

func (*PostAgentsIDBoardingOffboardForbidden) Error

func (*PostAgentsIDBoardingOffboardForbidden) GetPayload

func (*PostAgentsIDBoardingOffboardForbidden) IsClientError

func (o *PostAgentsIDBoardingOffboardForbidden) IsClientError() bool

IsClientError returns true when this post agents Id boarding offboard forbidden response has a 4xx status code

func (*PostAgentsIDBoardingOffboardForbidden) IsCode

IsCode returns true when this post agents Id boarding offboard forbidden response a status code equal to that given

func (*PostAgentsIDBoardingOffboardForbidden) IsRedirect

IsRedirect returns true when this post agents Id boarding offboard forbidden response has a 3xx status code

func (*PostAgentsIDBoardingOffboardForbidden) IsServerError

func (o *PostAgentsIDBoardingOffboardForbidden) IsServerError() bool

IsServerError returns true when this post agents Id boarding offboard forbidden response has a 5xx status code

func (*PostAgentsIDBoardingOffboardForbidden) IsSuccess

IsSuccess returns true when this post agents Id boarding offboard forbidden response has a 2xx status code

func (*PostAgentsIDBoardingOffboardForbidden) String

type PostAgentsIDBoardingOffboardInternalServerError

type PostAgentsIDBoardingOffboardInternalServerError struct {
	Payload *models.Error
}

PostAgentsIDBoardingOffboardInternalServerError describes a response with status code 500, with default header values.

unexpected error

func NewPostAgentsIDBoardingOffboardInternalServerError

func NewPostAgentsIDBoardingOffboardInternalServerError() *PostAgentsIDBoardingOffboardInternalServerError

NewPostAgentsIDBoardingOffboardInternalServerError creates a PostAgentsIDBoardingOffboardInternalServerError with default headers values

func (*PostAgentsIDBoardingOffboardInternalServerError) Code

Code gets the status code for the post agents Id boarding offboard internal server error response

func (*PostAgentsIDBoardingOffboardInternalServerError) Error

func (*PostAgentsIDBoardingOffboardInternalServerError) GetPayload

func (*PostAgentsIDBoardingOffboardInternalServerError) IsClientError

IsClientError returns true when this post agents Id boarding offboard internal server error response has a 4xx status code

func (*PostAgentsIDBoardingOffboardInternalServerError) IsCode

IsCode returns true when this post agents Id boarding offboard internal server error response a status code equal to that given

func (*PostAgentsIDBoardingOffboardInternalServerError) IsRedirect

IsRedirect returns true when this post agents Id boarding offboard internal server error response has a 3xx status code

func (*PostAgentsIDBoardingOffboardInternalServerError) IsServerError

IsServerError returns true when this post agents Id boarding offboard internal server error response has a 5xx status code

func (*PostAgentsIDBoardingOffboardInternalServerError) IsSuccess

IsSuccess returns true when this post agents Id boarding offboard internal server error response has a 2xx status code

func (*PostAgentsIDBoardingOffboardInternalServerError) String

type PostAgentsIDBoardingOffboardNotFound

type PostAgentsIDBoardingOffboardNotFound struct {
	Payload *models.Notfound
}

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

Not Found

func NewPostAgentsIDBoardingOffboardNotFound

func NewPostAgentsIDBoardingOffboardNotFound() *PostAgentsIDBoardingOffboardNotFound

NewPostAgentsIDBoardingOffboardNotFound creates a PostAgentsIDBoardingOffboardNotFound with default headers values

func (*PostAgentsIDBoardingOffboardNotFound) Code

Code gets the status code for the post agents Id boarding offboard not found response

func (*PostAgentsIDBoardingOffboardNotFound) Error

func (*PostAgentsIDBoardingOffboardNotFound) GetPayload

func (*PostAgentsIDBoardingOffboardNotFound) IsClientError

func (o *PostAgentsIDBoardingOffboardNotFound) IsClientError() bool

IsClientError returns true when this post agents Id boarding offboard not found response has a 4xx status code

func (*PostAgentsIDBoardingOffboardNotFound) IsCode

IsCode returns true when this post agents Id boarding offboard not found response a status code equal to that given

func (*PostAgentsIDBoardingOffboardNotFound) IsRedirect

IsRedirect returns true when this post agents Id boarding offboard not found response has a 3xx status code

func (*PostAgentsIDBoardingOffboardNotFound) IsServerError

func (o *PostAgentsIDBoardingOffboardNotFound) IsServerError() bool

IsServerError returns true when this post agents Id boarding offboard not found response has a 5xx status code

func (*PostAgentsIDBoardingOffboardNotFound) IsSuccess

IsSuccess returns true when this post agents Id boarding offboard not found response has a 2xx status code

func (*PostAgentsIDBoardingOffboardNotFound) String

type PostAgentsIDBoardingOffboardOK

type PostAgentsIDBoardingOffboardOK struct {
	Payload *models.OnboardingStatus
}

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

OK

func NewPostAgentsIDBoardingOffboardOK

func NewPostAgentsIDBoardingOffboardOK() *PostAgentsIDBoardingOffboardOK

NewPostAgentsIDBoardingOffboardOK creates a PostAgentsIDBoardingOffboardOK with default headers values

func (*PostAgentsIDBoardingOffboardOK) Code

Code gets the status code for the post agents Id boarding offboard o k response

func (*PostAgentsIDBoardingOffboardOK) Error

func (*PostAgentsIDBoardingOffboardOK) GetPayload

func (*PostAgentsIDBoardingOffboardOK) IsClientError

func (o *PostAgentsIDBoardingOffboardOK) IsClientError() bool

IsClientError returns true when this post agents Id boarding offboard o k response has a 4xx status code

func (*PostAgentsIDBoardingOffboardOK) IsCode

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

IsCode returns true when this post agents Id boarding offboard o k response a status code equal to that given

func (*PostAgentsIDBoardingOffboardOK) IsRedirect

func (o *PostAgentsIDBoardingOffboardOK) IsRedirect() bool

IsRedirect returns true when this post agents Id boarding offboard o k response has a 3xx status code

func (*PostAgentsIDBoardingOffboardOK) IsServerError

func (o *PostAgentsIDBoardingOffboardOK) IsServerError() bool

IsServerError returns true when this post agents Id boarding offboard o k response has a 5xx status code

func (*PostAgentsIDBoardingOffboardOK) IsSuccess

func (o *PostAgentsIDBoardingOffboardOK) IsSuccess() bool

IsSuccess returns true when this post agents Id boarding offboard o k response has a 2xx status code

func (*PostAgentsIDBoardingOffboardOK) String

type PostAgentsIDBoardingOffboardParams

type PostAgentsIDBoardingOffboardParams struct {

	/* ID.

	   Unique identifier of the agent.
	*/
	ID string

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

PostAgentsIDBoardingOffboardParams contains all the parameters to send to the API endpoint

for the post agents ID boarding offboard operation.

Typically these are written to a http.Request.

func NewPostAgentsIDBoardingOffboardParams

func NewPostAgentsIDBoardingOffboardParams() *PostAgentsIDBoardingOffboardParams

NewPostAgentsIDBoardingOffboardParams creates a new PostAgentsIDBoardingOffboardParams 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 NewPostAgentsIDBoardingOffboardParamsWithContext

func NewPostAgentsIDBoardingOffboardParamsWithContext(ctx context.Context) *PostAgentsIDBoardingOffboardParams

NewPostAgentsIDBoardingOffboardParamsWithContext creates a new PostAgentsIDBoardingOffboardParams object with the ability to set a context for a request.

func NewPostAgentsIDBoardingOffboardParamsWithHTTPClient

func NewPostAgentsIDBoardingOffboardParamsWithHTTPClient(client *http.Client) *PostAgentsIDBoardingOffboardParams

NewPostAgentsIDBoardingOffboardParamsWithHTTPClient creates a new PostAgentsIDBoardingOffboardParams object with the ability to set a custom HTTPClient for a request.

func NewPostAgentsIDBoardingOffboardParamsWithTimeout

func NewPostAgentsIDBoardingOffboardParamsWithTimeout(timeout time.Duration) *PostAgentsIDBoardingOffboardParams

NewPostAgentsIDBoardingOffboardParamsWithTimeout creates a new PostAgentsIDBoardingOffboardParams object with the ability to set a timeout on a request.

func (*PostAgentsIDBoardingOffboardParams) SetContext

SetContext adds the context to the post agents ID boarding offboard params

func (*PostAgentsIDBoardingOffboardParams) SetDefaults

func (o *PostAgentsIDBoardingOffboardParams) SetDefaults()

SetDefaults hydrates default values in the post agents ID boarding offboard params (not the query body).

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

func (*PostAgentsIDBoardingOffboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post agents ID boarding offboard params

func (*PostAgentsIDBoardingOffboardParams) SetID

SetID adds the id to the post agents ID boarding offboard params

func (*PostAgentsIDBoardingOffboardParams) SetTimeout

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

SetTimeout adds the timeout to the post agents ID boarding offboard params

func (*PostAgentsIDBoardingOffboardParams) WithContext

WithContext adds the context to the post agents ID boarding offboard params

func (*PostAgentsIDBoardingOffboardParams) WithDefaults

WithDefaults hydrates default values in the post agents ID boarding offboard params (not the query body).

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

func (*PostAgentsIDBoardingOffboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post agents ID boarding offboard params

func (*PostAgentsIDBoardingOffboardParams) WithID

WithID adds the id to the post agents ID boarding offboard params

func (*PostAgentsIDBoardingOffboardParams) WithTimeout

WithTimeout adds the timeout to the post agents ID boarding offboard params

func (*PostAgentsIDBoardingOffboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAgentsIDBoardingOffboardReader

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

PostAgentsIDBoardingOffboardReader is a Reader for the PostAgentsIDBoardingOffboard structure.

func (*PostAgentsIDBoardingOffboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAgentsIDBoardingOffboardTooManyRequests

type PostAgentsIDBoardingOffboardTooManyRequests struct {
	Payload *models.APIRateLimitExceeded
}

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

API rate limit exceeded.

func NewPostAgentsIDBoardingOffboardTooManyRequests

func NewPostAgentsIDBoardingOffboardTooManyRequests() *PostAgentsIDBoardingOffboardTooManyRequests

NewPostAgentsIDBoardingOffboardTooManyRequests creates a PostAgentsIDBoardingOffboardTooManyRequests with default headers values

func (*PostAgentsIDBoardingOffboardTooManyRequests) Code

Code gets the status code for the post agents Id boarding offboard too many requests response

func (*PostAgentsIDBoardingOffboardTooManyRequests) Error

func (*PostAgentsIDBoardingOffboardTooManyRequests) GetPayload

func (*PostAgentsIDBoardingOffboardTooManyRequests) IsClientError

IsClientError returns true when this post agents Id boarding offboard too many requests response has a 4xx status code

func (*PostAgentsIDBoardingOffboardTooManyRequests) IsCode

IsCode returns true when this post agents Id boarding offboard too many requests response a status code equal to that given

func (*PostAgentsIDBoardingOffboardTooManyRequests) IsRedirect

IsRedirect returns true when this post agents Id boarding offboard too many requests response has a 3xx status code

func (*PostAgentsIDBoardingOffboardTooManyRequests) IsServerError

IsServerError returns true when this post agents Id boarding offboard too many requests response has a 5xx status code

func (*PostAgentsIDBoardingOffboardTooManyRequests) IsSuccess

IsSuccess returns true when this post agents Id boarding offboard too many requests response has a 2xx status code

func (*PostAgentsIDBoardingOffboardTooManyRequests) String

type PostAgentsIDBoardingOffboardUnauthorized

type PostAgentsIDBoardingOffboardUnauthorized struct {
	Payload *models.Unauthorized
}

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

Unauthorized

func NewPostAgentsIDBoardingOffboardUnauthorized

func NewPostAgentsIDBoardingOffboardUnauthorized() *PostAgentsIDBoardingOffboardUnauthorized

NewPostAgentsIDBoardingOffboardUnauthorized creates a PostAgentsIDBoardingOffboardUnauthorized with default headers values

func (*PostAgentsIDBoardingOffboardUnauthorized) Code

Code gets the status code for the post agents Id boarding offboard unauthorized response

func (*PostAgentsIDBoardingOffboardUnauthorized) Error

func (*PostAgentsIDBoardingOffboardUnauthorized) GetPayload

func (*PostAgentsIDBoardingOffboardUnauthorized) IsClientError

IsClientError returns true when this post agents Id boarding offboard unauthorized response has a 4xx status code

func (*PostAgentsIDBoardingOffboardUnauthorized) IsCode

IsCode returns true when this post agents Id boarding offboard unauthorized response a status code equal to that given

func (*PostAgentsIDBoardingOffboardUnauthorized) IsRedirect

IsRedirect returns true when this post agents Id boarding offboard unauthorized response has a 3xx status code

func (*PostAgentsIDBoardingOffboardUnauthorized) IsServerError

IsServerError returns true when this post agents Id boarding offboard unauthorized response has a 5xx status code

func (*PostAgentsIDBoardingOffboardUnauthorized) IsSuccess

IsSuccess returns true when this post agents Id boarding offboard unauthorized response has a 2xx status code

func (*PostAgentsIDBoardingOffboardUnauthorized) String

type PostAgentsIDBoardingOffboardUnprocessableEntity

type PostAgentsIDBoardingOffboardUnprocessableEntity struct {
	Payload *models.NotSupported
}

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

Not supported.

func NewPostAgentsIDBoardingOffboardUnprocessableEntity

func NewPostAgentsIDBoardingOffboardUnprocessableEntity() *PostAgentsIDBoardingOffboardUnprocessableEntity

NewPostAgentsIDBoardingOffboardUnprocessableEntity creates a PostAgentsIDBoardingOffboardUnprocessableEntity with default headers values

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) Code

Code gets the status code for the post agents Id boarding offboard unprocessable entity response

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) Error

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) GetPayload

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsClientError

IsClientError returns true when this post agents Id boarding offboard unprocessable entity response has a 4xx status code

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsCode

IsCode returns true when this post agents Id boarding offboard unprocessable entity response a status code equal to that given

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsRedirect

IsRedirect returns true when this post agents Id boarding offboard unprocessable entity response has a 3xx status code

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsServerError

IsServerError returns true when this post agents Id boarding offboard unprocessable entity response has a 5xx status code

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsSuccess

IsSuccess returns true when this post agents Id boarding offboard unprocessable entity response has a 2xx status code

func (*PostAgentsIDBoardingOffboardUnprocessableEntity) String

Jump to

Keyboard shortcuts

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