Documentation
¶
Index ¶
- type Client
- func (a *Client) GetAgentsIDBoardingConfiguration(params *GetAgentsIDBoardingConfigurationParams, ...) (*GetAgentsIDBoardingConfigurationOK, error)
- func (a *Client) GetAgentsIDBoardingStatus(params *GetAgentsIDBoardingStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAgentsIDBoardingStatusOK, error)
- func (a *Client) PostAgentsIDBoardingOffboard(params *PostAgentsIDBoardingOffboardParams, ...) (*PostAgentsIDBoardingOffboardOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAgentsIDBoardingConfigurationBadRequest
- func (o *GetAgentsIDBoardingConfigurationBadRequest) Code() int
- func (o *GetAgentsIDBoardingConfigurationBadRequest) Error() string
- func (o *GetAgentsIDBoardingConfigurationBadRequest) GetPayload() *models.Badrequest
- func (o *GetAgentsIDBoardingConfigurationBadRequest) IsClientError() bool
- func (o *GetAgentsIDBoardingConfigurationBadRequest) IsCode(code int) bool
- func (o *GetAgentsIDBoardingConfigurationBadRequest) IsRedirect() bool
- func (o *GetAgentsIDBoardingConfigurationBadRequest) IsServerError() bool
- func (o *GetAgentsIDBoardingConfigurationBadRequest) IsSuccess() bool
- func (o *GetAgentsIDBoardingConfigurationBadRequest) String() string
- type GetAgentsIDBoardingConfigurationDefault
- func (o *GetAgentsIDBoardingConfigurationDefault) Code() int
- func (o *GetAgentsIDBoardingConfigurationDefault) Error() string
- func (o *GetAgentsIDBoardingConfigurationDefault) IsClientError() bool
- func (o *GetAgentsIDBoardingConfigurationDefault) IsCode(code int) bool
- func (o *GetAgentsIDBoardingConfigurationDefault) IsRedirect() bool
- func (o *GetAgentsIDBoardingConfigurationDefault) IsServerError() bool
- func (o *GetAgentsIDBoardingConfigurationDefault) IsSuccess() bool
- func (o *GetAgentsIDBoardingConfigurationDefault) String() string
- type GetAgentsIDBoardingConfigurationForbidden
- func (o *GetAgentsIDBoardingConfigurationForbidden) Code() int
- func (o *GetAgentsIDBoardingConfigurationForbidden) Error() string
- func (o *GetAgentsIDBoardingConfigurationForbidden) GetPayload() *models.Forbidden
- func (o *GetAgentsIDBoardingConfigurationForbidden) IsClientError() bool
- func (o *GetAgentsIDBoardingConfigurationForbidden) IsCode(code int) bool
- func (o *GetAgentsIDBoardingConfigurationForbidden) IsRedirect() bool
- func (o *GetAgentsIDBoardingConfigurationForbidden) IsServerError() bool
- func (o *GetAgentsIDBoardingConfigurationForbidden) IsSuccess() bool
- func (o *GetAgentsIDBoardingConfigurationForbidden) String() string
- type GetAgentsIDBoardingConfigurationInternalServerError
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) Code() int
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) Error() string
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) GetPayload() *models.Error
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsClientError() bool
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsCode(code int) bool
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsRedirect() bool
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsServerError() bool
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsSuccess() bool
- func (o *GetAgentsIDBoardingConfigurationInternalServerError) String() string
- type GetAgentsIDBoardingConfigurationNotFound
- func (o *GetAgentsIDBoardingConfigurationNotFound) Code() int
- func (o *GetAgentsIDBoardingConfigurationNotFound) Error() string
- func (o *GetAgentsIDBoardingConfigurationNotFound) GetPayload() *models.Notfound
- func (o *GetAgentsIDBoardingConfigurationNotFound) IsClientError() bool
- func (o *GetAgentsIDBoardingConfigurationNotFound) IsCode(code int) bool
- func (o *GetAgentsIDBoardingConfigurationNotFound) IsRedirect() bool
- func (o *GetAgentsIDBoardingConfigurationNotFound) IsServerError() bool
- func (o *GetAgentsIDBoardingConfigurationNotFound) IsSuccess() bool
- func (o *GetAgentsIDBoardingConfigurationNotFound) String() string
- type GetAgentsIDBoardingConfigurationOK
- func (o *GetAgentsIDBoardingConfigurationOK) Code() int
- func (o *GetAgentsIDBoardingConfigurationOK) Error() string
- func (o *GetAgentsIDBoardingConfigurationOK) GetPayload() *models.Configuration
- func (o *GetAgentsIDBoardingConfigurationOK) IsClientError() bool
- func (o *GetAgentsIDBoardingConfigurationOK) IsCode(code int) bool
- func (o *GetAgentsIDBoardingConfigurationOK) IsRedirect() bool
- func (o *GetAgentsIDBoardingConfigurationOK) IsServerError() bool
- func (o *GetAgentsIDBoardingConfigurationOK) IsSuccess() bool
- func (o *GetAgentsIDBoardingConfigurationOK) String() string
- type GetAgentsIDBoardingConfigurationParams
- func NewGetAgentsIDBoardingConfigurationParams() *GetAgentsIDBoardingConfigurationParams
- func NewGetAgentsIDBoardingConfigurationParamsWithContext(ctx context.Context) *GetAgentsIDBoardingConfigurationParams
- func NewGetAgentsIDBoardingConfigurationParamsWithHTTPClient(client *http.Client) *GetAgentsIDBoardingConfigurationParams
- func NewGetAgentsIDBoardingConfigurationParamsWithTimeout(timeout time.Duration) *GetAgentsIDBoardingConfigurationParams
- func (o *GetAgentsIDBoardingConfigurationParams) SetContext(ctx context.Context)
- func (o *GetAgentsIDBoardingConfigurationParams) SetDefaults()
- func (o *GetAgentsIDBoardingConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentsIDBoardingConfigurationParams) SetID(id string)
- func (o *GetAgentsIDBoardingConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentsIDBoardingConfigurationParams) WithContext(ctx context.Context) *GetAgentsIDBoardingConfigurationParams
- func (o *GetAgentsIDBoardingConfigurationParams) WithDefaults() *GetAgentsIDBoardingConfigurationParams
- func (o *GetAgentsIDBoardingConfigurationParams) WithHTTPClient(client *http.Client) *GetAgentsIDBoardingConfigurationParams
- func (o *GetAgentsIDBoardingConfigurationParams) WithID(id string) *GetAgentsIDBoardingConfigurationParams
- func (o *GetAgentsIDBoardingConfigurationParams) WithTimeout(timeout time.Duration) *GetAgentsIDBoardingConfigurationParams
- func (o *GetAgentsIDBoardingConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentsIDBoardingConfigurationReader
- type GetAgentsIDBoardingConfigurationTooManyRequests
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) Code() int
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) Error() string
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsClientError() bool
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsCode(code int) bool
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsRedirect() bool
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsServerError() bool
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsSuccess() bool
- func (o *GetAgentsIDBoardingConfigurationTooManyRequests) String() string
- type GetAgentsIDBoardingConfigurationUnauthorized
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) Code() int
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) Error() string
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) GetPayload() *models.Unauthorized
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsClientError() bool
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsCode(code int) bool
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsRedirect() bool
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsServerError() bool
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsSuccess() bool
- func (o *GetAgentsIDBoardingConfigurationUnauthorized) String() string
- type GetAgentsIDBoardingStatusBadRequest
- func (o *GetAgentsIDBoardingStatusBadRequest) Code() int
- func (o *GetAgentsIDBoardingStatusBadRequest) Error() string
- func (o *GetAgentsIDBoardingStatusBadRequest) GetPayload() *models.Badrequest
- func (o *GetAgentsIDBoardingStatusBadRequest) IsClientError() bool
- func (o *GetAgentsIDBoardingStatusBadRequest) IsCode(code int) bool
- func (o *GetAgentsIDBoardingStatusBadRequest) IsRedirect() bool
- func (o *GetAgentsIDBoardingStatusBadRequest) IsServerError() bool
- func (o *GetAgentsIDBoardingStatusBadRequest) IsSuccess() bool
- func (o *GetAgentsIDBoardingStatusBadRequest) String() string
- type GetAgentsIDBoardingStatusDefault
- func (o *GetAgentsIDBoardingStatusDefault) Code() int
- func (o *GetAgentsIDBoardingStatusDefault) Error() string
- func (o *GetAgentsIDBoardingStatusDefault) IsClientError() bool
- func (o *GetAgentsIDBoardingStatusDefault) IsCode(code int) bool
- func (o *GetAgentsIDBoardingStatusDefault) IsRedirect() bool
- func (o *GetAgentsIDBoardingStatusDefault) IsServerError() bool
- func (o *GetAgentsIDBoardingStatusDefault) IsSuccess() bool
- func (o *GetAgentsIDBoardingStatusDefault) String() string
- type GetAgentsIDBoardingStatusForbidden
- func (o *GetAgentsIDBoardingStatusForbidden) Code() int
- func (o *GetAgentsIDBoardingStatusForbidden) Error() string
- func (o *GetAgentsIDBoardingStatusForbidden) GetPayload() *models.Forbidden
- func (o *GetAgentsIDBoardingStatusForbidden) IsClientError() bool
- func (o *GetAgentsIDBoardingStatusForbidden) IsCode(code int) bool
- func (o *GetAgentsIDBoardingStatusForbidden) IsRedirect() bool
- func (o *GetAgentsIDBoardingStatusForbidden) IsServerError() bool
- func (o *GetAgentsIDBoardingStatusForbidden) IsSuccess() bool
- func (o *GetAgentsIDBoardingStatusForbidden) String() string
- type GetAgentsIDBoardingStatusInternalServerError
- func (o *GetAgentsIDBoardingStatusInternalServerError) Code() int
- func (o *GetAgentsIDBoardingStatusInternalServerError) Error() string
- func (o *GetAgentsIDBoardingStatusInternalServerError) GetPayload() *models.Error
- func (o *GetAgentsIDBoardingStatusInternalServerError) IsClientError() bool
- func (o *GetAgentsIDBoardingStatusInternalServerError) IsCode(code int) bool
- func (o *GetAgentsIDBoardingStatusInternalServerError) IsRedirect() bool
- func (o *GetAgentsIDBoardingStatusInternalServerError) IsServerError() bool
- func (o *GetAgentsIDBoardingStatusInternalServerError) IsSuccess() bool
- func (o *GetAgentsIDBoardingStatusInternalServerError) String() string
- type GetAgentsIDBoardingStatusNotFound
- func (o *GetAgentsIDBoardingStatusNotFound) Code() int
- func (o *GetAgentsIDBoardingStatusNotFound) Error() string
- func (o *GetAgentsIDBoardingStatusNotFound) GetPayload() *models.Notfound
- func (o *GetAgentsIDBoardingStatusNotFound) IsClientError() bool
- func (o *GetAgentsIDBoardingStatusNotFound) IsCode(code int) bool
- func (o *GetAgentsIDBoardingStatusNotFound) IsRedirect() bool
- func (o *GetAgentsIDBoardingStatusNotFound) IsServerError() bool
- func (o *GetAgentsIDBoardingStatusNotFound) IsSuccess() bool
- func (o *GetAgentsIDBoardingStatusNotFound) String() string
- type GetAgentsIDBoardingStatusOK
- func (o *GetAgentsIDBoardingStatusOK) Code() int
- func (o *GetAgentsIDBoardingStatusOK) Error() string
- func (o *GetAgentsIDBoardingStatusOK) GetPayload() *models.OnboardingStatus
- func (o *GetAgentsIDBoardingStatusOK) IsClientError() bool
- func (o *GetAgentsIDBoardingStatusOK) IsCode(code int) bool
- func (o *GetAgentsIDBoardingStatusOK) IsRedirect() bool
- func (o *GetAgentsIDBoardingStatusOK) IsServerError() bool
- func (o *GetAgentsIDBoardingStatusOK) IsSuccess() bool
- func (o *GetAgentsIDBoardingStatusOK) String() string
- type GetAgentsIDBoardingStatusParams
- func NewGetAgentsIDBoardingStatusParams() *GetAgentsIDBoardingStatusParams
- func NewGetAgentsIDBoardingStatusParamsWithContext(ctx context.Context) *GetAgentsIDBoardingStatusParams
- func NewGetAgentsIDBoardingStatusParamsWithHTTPClient(client *http.Client) *GetAgentsIDBoardingStatusParams
- func NewGetAgentsIDBoardingStatusParamsWithTimeout(timeout time.Duration) *GetAgentsIDBoardingStatusParams
- func (o *GetAgentsIDBoardingStatusParams) SetContext(ctx context.Context)
- func (o *GetAgentsIDBoardingStatusParams) SetDefaults()
- func (o *GetAgentsIDBoardingStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentsIDBoardingStatusParams) SetID(id string)
- func (o *GetAgentsIDBoardingStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentsIDBoardingStatusParams) WithContext(ctx context.Context) *GetAgentsIDBoardingStatusParams
- func (o *GetAgentsIDBoardingStatusParams) WithDefaults() *GetAgentsIDBoardingStatusParams
- func (o *GetAgentsIDBoardingStatusParams) WithHTTPClient(client *http.Client) *GetAgentsIDBoardingStatusParams
- func (o *GetAgentsIDBoardingStatusParams) WithID(id string) *GetAgentsIDBoardingStatusParams
- func (o *GetAgentsIDBoardingStatusParams) WithTimeout(timeout time.Duration) *GetAgentsIDBoardingStatusParams
- func (o *GetAgentsIDBoardingStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentsIDBoardingStatusReader
- type GetAgentsIDBoardingStatusTooManyRequests
- func (o *GetAgentsIDBoardingStatusTooManyRequests) Code() int
- func (o *GetAgentsIDBoardingStatusTooManyRequests) Error() string
- func (o *GetAgentsIDBoardingStatusTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *GetAgentsIDBoardingStatusTooManyRequests) IsClientError() bool
- func (o *GetAgentsIDBoardingStatusTooManyRequests) IsCode(code int) bool
- func (o *GetAgentsIDBoardingStatusTooManyRequests) IsRedirect() bool
- func (o *GetAgentsIDBoardingStatusTooManyRequests) IsServerError() bool
- func (o *GetAgentsIDBoardingStatusTooManyRequests) IsSuccess() bool
- func (o *GetAgentsIDBoardingStatusTooManyRequests) String() string
- type GetAgentsIDBoardingStatusUnauthorized
- func (o *GetAgentsIDBoardingStatusUnauthorized) Code() int
- func (o *GetAgentsIDBoardingStatusUnauthorized) Error() string
- func (o *GetAgentsIDBoardingStatusUnauthorized) GetPayload() *models.Unauthorized
- func (o *GetAgentsIDBoardingStatusUnauthorized) IsClientError() bool
- func (o *GetAgentsIDBoardingStatusUnauthorized) IsCode(code int) bool
- func (o *GetAgentsIDBoardingStatusUnauthorized) IsRedirect() bool
- func (o *GetAgentsIDBoardingStatusUnauthorized) IsServerError() bool
- func (o *GetAgentsIDBoardingStatusUnauthorized) IsSuccess() bool
- func (o *GetAgentsIDBoardingStatusUnauthorized) String() string
- type PostAgentsIDBoardingOffboardBadRequest
- func (o *PostAgentsIDBoardingOffboardBadRequest) Code() int
- func (o *PostAgentsIDBoardingOffboardBadRequest) Error() string
- func (o *PostAgentsIDBoardingOffboardBadRequest) GetPayload() *models.Badrequest
- func (o *PostAgentsIDBoardingOffboardBadRequest) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardBadRequest) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardBadRequest) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardBadRequest) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardBadRequest) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardBadRequest) String() string
- type PostAgentsIDBoardingOffboardConflict
- func (o *PostAgentsIDBoardingOffboardConflict) Code() int
- func (o *PostAgentsIDBoardingOffboardConflict) Error() string
- func (o *PostAgentsIDBoardingOffboardConflict) GetPayload() *models.Conflict
- func (o *PostAgentsIDBoardingOffboardConflict) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardConflict) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardConflict) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardConflict) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardConflict) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardConflict) String() string
- type PostAgentsIDBoardingOffboardDefault
- func (o *PostAgentsIDBoardingOffboardDefault) Code() int
- func (o *PostAgentsIDBoardingOffboardDefault) Error() string
- func (o *PostAgentsIDBoardingOffboardDefault) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardDefault) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardDefault) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardDefault) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardDefault) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardDefault) String() string
- type PostAgentsIDBoardingOffboardForbidden
- func (o *PostAgentsIDBoardingOffboardForbidden) Code() int
- func (o *PostAgentsIDBoardingOffboardForbidden) Error() string
- func (o *PostAgentsIDBoardingOffboardForbidden) GetPayload() *models.Forbidden
- func (o *PostAgentsIDBoardingOffboardForbidden) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardForbidden) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardForbidden) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardForbidden) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardForbidden) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardForbidden) String() string
- type PostAgentsIDBoardingOffboardInternalServerError
- func (o *PostAgentsIDBoardingOffboardInternalServerError) Code() int
- func (o *PostAgentsIDBoardingOffboardInternalServerError) Error() string
- func (o *PostAgentsIDBoardingOffboardInternalServerError) GetPayload() *models.Error
- func (o *PostAgentsIDBoardingOffboardInternalServerError) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardInternalServerError) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardInternalServerError) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardInternalServerError) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardInternalServerError) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardInternalServerError) String() string
- type PostAgentsIDBoardingOffboardNotFound
- func (o *PostAgentsIDBoardingOffboardNotFound) Code() int
- func (o *PostAgentsIDBoardingOffboardNotFound) Error() string
- func (o *PostAgentsIDBoardingOffboardNotFound) GetPayload() *models.Notfound
- func (o *PostAgentsIDBoardingOffboardNotFound) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardNotFound) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardNotFound) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardNotFound) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardNotFound) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardNotFound) String() string
- type PostAgentsIDBoardingOffboardOK
- func (o *PostAgentsIDBoardingOffboardOK) Code() int
- func (o *PostAgentsIDBoardingOffboardOK) Error() string
- func (o *PostAgentsIDBoardingOffboardOK) GetPayload() *models.OnboardingStatus
- func (o *PostAgentsIDBoardingOffboardOK) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardOK) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardOK) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardOK) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardOK) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardOK) String() string
- type PostAgentsIDBoardingOffboardParams
- func NewPostAgentsIDBoardingOffboardParams() *PostAgentsIDBoardingOffboardParams
- func NewPostAgentsIDBoardingOffboardParamsWithContext(ctx context.Context) *PostAgentsIDBoardingOffboardParams
- func NewPostAgentsIDBoardingOffboardParamsWithHTTPClient(client *http.Client) *PostAgentsIDBoardingOffboardParams
- func NewPostAgentsIDBoardingOffboardParamsWithTimeout(timeout time.Duration) *PostAgentsIDBoardingOffboardParams
- func (o *PostAgentsIDBoardingOffboardParams) SetContext(ctx context.Context)
- func (o *PostAgentsIDBoardingOffboardParams) SetDefaults()
- func (o *PostAgentsIDBoardingOffboardParams) SetHTTPClient(client *http.Client)
- func (o *PostAgentsIDBoardingOffboardParams) SetID(id string)
- func (o *PostAgentsIDBoardingOffboardParams) SetTimeout(timeout time.Duration)
- func (o *PostAgentsIDBoardingOffboardParams) WithContext(ctx context.Context) *PostAgentsIDBoardingOffboardParams
- func (o *PostAgentsIDBoardingOffboardParams) WithDefaults() *PostAgentsIDBoardingOffboardParams
- func (o *PostAgentsIDBoardingOffboardParams) WithHTTPClient(client *http.Client) *PostAgentsIDBoardingOffboardParams
- func (o *PostAgentsIDBoardingOffboardParams) WithID(id string) *PostAgentsIDBoardingOffboardParams
- func (o *PostAgentsIDBoardingOffboardParams) WithTimeout(timeout time.Duration) *PostAgentsIDBoardingOffboardParams
- func (o *PostAgentsIDBoardingOffboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAgentsIDBoardingOffboardReader
- type PostAgentsIDBoardingOffboardTooManyRequests
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) Code() int
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) Error() string
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) GetPayload() *models.APIRateLimitExceeded
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardTooManyRequests) String() string
- type PostAgentsIDBoardingOffboardUnauthorized
- func (o *PostAgentsIDBoardingOffboardUnauthorized) Code() int
- func (o *PostAgentsIDBoardingOffboardUnauthorized) Error() string
- func (o *PostAgentsIDBoardingOffboardUnauthorized) GetPayload() *models.Unauthorized
- func (o *PostAgentsIDBoardingOffboardUnauthorized) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardUnauthorized) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardUnauthorized) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardUnauthorized) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardUnauthorized) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardUnauthorized) String() string
- type PostAgentsIDBoardingOffboardUnprocessableEntity
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) Code() int
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) Error() string
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) GetPayload() *models.NotSupported
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsClientError() bool
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsCode(code int) bool
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsRedirect() bool
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsServerError() bool
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsSuccess() bool
- func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) String() string
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 ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) Code() int
Code gets the status code for the get agents Id boarding configuration bad request response
func (*GetAgentsIDBoardingConfigurationBadRequest) Error ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) Error() string
func (*GetAgentsIDBoardingConfigurationBadRequest) GetPayload ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) GetPayload() *models.Badrequest
func (*GetAgentsIDBoardingConfigurationBadRequest) IsClientError ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) IsClientError() bool
IsClientError returns true when this get agents Id boarding configuration bad request response has a 4xx status code
func (*GetAgentsIDBoardingConfigurationBadRequest) IsCode ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) IsCode(code int) bool
IsCode returns true when this get agents Id boarding configuration bad request response a status code equal to that given
func (*GetAgentsIDBoardingConfigurationBadRequest) IsRedirect ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) IsRedirect() bool
IsRedirect returns true when this get agents Id boarding configuration bad request response has a 3xx status code
func (*GetAgentsIDBoardingConfigurationBadRequest) IsServerError ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) IsServerError() bool
IsServerError returns true when this get agents Id boarding configuration bad request response has a 5xx status code
func (*GetAgentsIDBoardingConfigurationBadRequest) IsSuccess ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding configuration bad request response has a 2xx status code
func (*GetAgentsIDBoardingConfigurationBadRequest) String ¶
func (o *GetAgentsIDBoardingConfigurationBadRequest) String() 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 ¶
func (o *GetAgentsIDBoardingConfigurationDefault) Code() int
Code gets the status code for the get agents ID boarding configuration default response
func (*GetAgentsIDBoardingConfigurationDefault) Error ¶
func (o *GetAgentsIDBoardingConfigurationDefault) Error() string
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 ¶
func (o *GetAgentsIDBoardingConfigurationDefault) IsCode(code int) bool
IsCode returns true when this get agents ID boarding configuration default response a status code equal to that given
func (*GetAgentsIDBoardingConfigurationDefault) IsRedirect ¶
func (o *GetAgentsIDBoardingConfigurationDefault) IsRedirect() bool
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 ¶
func (o *GetAgentsIDBoardingConfigurationDefault) IsSuccess() bool
IsSuccess returns true when this get agents ID boarding configuration default response has a 2xx status code
func (*GetAgentsIDBoardingConfigurationDefault) String ¶
func (o *GetAgentsIDBoardingConfigurationDefault) String() string
type GetAgentsIDBoardingConfigurationForbidden ¶
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 ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) Code() int
Code gets the status code for the get agents Id boarding configuration forbidden response
func (*GetAgentsIDBoardingConfigurationForbidden) Error ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) Error() string
func (*GetAgentsIDBoardingConfigurationForbidden) GetPayload ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) GetPayload() *models.Forbidden
func (*GetAgentsIDBoardingConfigurationForbidden) IsClientError ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) IsClientError() bool
IsClientError returns true when this get agents Id boarding configuration forbidden response has a 4xx status code
func (*GetAgentsIDBoardingConfigurationForbidden) IsCode ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) IsCode(code int) bool
IsCode returns true when this get agents Id boarding configuration forbidden response a status code equal to that given
func (*GetAgentsIDBoardingConfigurationForbidden) IsRedirect ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) IsRedirect() bool
IsRedirect returns true when this get agents Id boarding configuration forbidden response has a 3xx status code
func (*GetAgentsIDBoardingConfigurationForbidden) IsServerError ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) IsServerError() bool
IsServerError returns true when this get agents Id boarding configuration forbidden response has a 5xx status code
func (*GetAgentsIDBoardingConfigurationForbidden) IsSuccess ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding configuration forbidden response has a 2xx status code
func (*GetAgentsIDBoardingConfigurationForbidden) String ¶
func (o *GetAgentsIDBoardingConfigurationForbidden) String() string
type GetAgentsIDBoardingConfigurationInternalServerError ¶
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 ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) Code() int
Code gets the status code for the get agents Id boarding configuration internal server error response
func (*GetAgentsIDBoardingConfigurationInternalServerError) Error ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) Error() string
func (*GetAgentsIDBoardingConfigurationInternalServerError) GetPayload ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) GetPayload() *models.Error
func (*GetAgentsIDBoardingConfigurationInternalServerError) IsClientError ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsClientError() bool
IsClientError returns true when this get agents Id boarding configuration internal server error response has a 4xx status code
func (*GetAgentsIDBoardingConfigurationInternalServerError) IsCode ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsCode(code int) bool
IsCode returns true when this get agents Id boarding configuration internal server error response a status code equal to that given
func (*GetAgentsIDBoardingConfigurationInternalServerError) IsRedirect ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsRedirect() bool
IsRedirect returns true when this get agents Id boarding configuration internal server error response has a 3xx status code
func (*GetAgentsIDBoardingConfigurationInternalServerError) IsServerError ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsServerError() bool
IsServerError returns true when this get agents Id boarding configuration internal server error response has a 5xx status code
func (*GetAgentsIDBoardingConfigurationInternalServerError) IsSuccess ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding configuration internal server error response has a 2xx status code
func (*GetAgentsIDBoardingConfigurationInternalServerError) String ¶
func (o *GetAgentsIDBoardingConfigurationInternalServerError) String() string
type GetAgentsIDBoardingConfigurationNotFound ¶
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 ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) Code() int
Code gets the status code for the get agents Id boarding configuration not found response
func (*GetAgentsIDBoardingConfigurationNotFound) Error ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) Error() string
func (*GetAgentsIDBoardingConfigurationNotFound) GetPayload ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) GetPayload() *models.Notfound
func (*GetAgentsIDBoardingConfigurationNotFound) IsClientError ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) IsClientError() bool
IsClientError returns true when this get agents Id boarding configuration not found response has a 4xx status code
func (*GetAgentsIDBoardingConfigurationNotFound) IsCode ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) IsCode(code int) bool
IsCode returns true when this get agents Id boarding configuration not found response a status code equal to that given
func (*GetAgentsIDBoardingConfigurationNotFound) IsRedirect ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) IsRedirect() bool
IsRedirect returns true when this get agents Id boarding configuration not found response has a 3xx status code
func (*GetAgentsIDBoardingConfigurationNotFound) IsServerError ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) IsServerError() bool
IsServerError returns true when this get agents Id boarding configuration not found response has a 5xx status code
func (*GetAgentsIDBoardingConfigurationNotFound) IsSuccess ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding configuration not found response has a 2xx status code
func (*GetAgentsIDBoardingConfigurationNotFound) String ¶
func (o *GetAgentsIDBoardingConfigurationNotFound) String() 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 ¶
func (o *GetAgentsIDBoardingConfigurationOK) Code() int
Code gets the status code for the get agents Id boarding configuration o k response
func (*GetAgentsIDBoardingConfigurationOK) Error ¶
func (o *GetAgentsIDBoardingConfigurationOK) Error() string
func (*GetAgentsIDBoardingConfigurationOK) GetPayload ¶
func (o *GetAgentsIDBoardingConfigurationOK) GetPayload() *models.Configuration
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 ¶
func (o *GetAgentsIDBoardingConfigurationOK) IsCode(code int) bool
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 ¶
func (o *GetAgentsIDBoardingConfigurationOK) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding configuration o k response has a 2xx status code
func (*GetAgentsIDBoardingConfigurationOK) String ¶
func (o *GetAgentsIDBoardingConfigurationOK) String() 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 ¶
func (o *GetAgentsIDBoardingConfigurationParams) SetContext(ctx context.Context)
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 ¶
func (o *GetAgentsIDBoardingConfigurationParams) SetID(id string)
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 ¶
func (o *GetAgentsIDBoardingConfigurationParams) WithContext(ctx context.Context) *GetAgentsIDBoardingConfigurationParams
WithContext adds the context to the get agents ID boarding configuration params
func (*GetAgentsIDBoardingConfigurationParams) WithDefaults ¶
func (o *GetAgentsIDBoardingConfigurationParams) WithDefaults() *GetAgentsIDBoardingConfigurationParams
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 ¶
func (o *GetAgentsIDBoardingConfigurationParams) WithHTTPClient(client *http.Client) *GetAgentsIDBoardingConfigurationParams
WithHTTPClient adds the HTTPClient to the get agents ID boarding configuration params
func (*GetAgentsIDBoardingConfigurationParams) WithID ¶
func (o *GetAgentsIDBoardingConfigurationParams) WithID(id string) *GetAgentsIDBoardingConfigurationParams
WithID adds the id to the get agents ID boarding configuration params
func (*GetAgentsIDBoardingConfigurationParams) WithTimeout ¶
func (o *GetAgentsIDBoardingConfigurationParams) WithTimeout(timeout time.Duration) *GetAgentsIDBoardingConfigurationParams
WithTimeout adds the timeout to the get agents ID boarding configuration params
func (*GetAgentsIDBoardingConfigurationParams) WriteToRequest ¶
func (o *GetAgentsIDBoardingConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) Code() int
Code gets the status code for the get agents Id boarding configuration too many requests response
func (*GetAgentsIDBoardingConfigurationTooManyRequests) Error ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) Error() string
func (*GetAgentsIDBoardingConfigurationTooManyRequests) GetPayload ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) GetPayload() *models.APIRateLimitExceeded
func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsClientError ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsClientError() bool
IsClientError returns true when this get agents Id boarding configuration too many requests response has a 4xx status code
func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsCode ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsCode(code int) bool
IsCode returns true when this get agents Id boarding configuration too many requests response a status code equal to that given
func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsRedirect ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get agents Id boarding configuration too many requests response has a 3xx status code
func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsServerError ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsServerError() bool
IsServerError returns true when this get agents Id boarding configuration too many requests response has a 5xx status code
func (*GetAgentsIDBoardingConfigurationTooManyRequests) IsSuccess ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding configuration too many requests response has a 2xx status code
func (*GetAgentsIDBoardingConfigurationTooManyRequests) String ¶
func (o *GetAgentsIDBoardingConfigurationTooManyRequests) String() string
type GetAgentsIDBoardingConfigurationUnauthorized ¶
type GetAgentsIDBoardingConfigurationUnauthorized struct {
}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 ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) Code() int
Code gets the status code for the get agents Id boarding configuration unauthorized response
func (*GetAgentsIDBoardingConfigurationUnauthorized) Error ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) Error() string
func (*GetAgentsIDBoardingConfigurationUnauthorized) GetPayload ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) GetPayload() *models.Unauthorized
func (*GetAgentsIDBoardingConfigurationUnauthorized) IsClientError ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsClientError() bool
IsClientError returns true when this get agents Id boarding configuration unauthorized response has a 4xx status code
func (*GetAgentsIDBoardingConfigurationUnauthorized) IsCode ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsCode(code int) bool
IsCode returns true when this get agents Id boarding configuration unauthorized response a status code equal to that given
func (*GetAgentsIDBoardingConfigurationUnauthorized) IsRedirect ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsRedirect() bool
IsRedirect returns true when this get agents Id boarding configuration unauthorized response has a 3xx status code
func (*GetAgentsIDBoardingConfigurationUnauthorized) IsServerError ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsServerError() bool
IsServerError returns true when this get agents Id boarding configuration unauthorized response has a 5xx status code
func (*GetAgentsIDBoardingConfigurationUnauthorized) IsSuccess ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding configuration unauthorized response has a 2xx status code
func (*GetAgentsIDBoardingConfigurationUnauthorized) String ¶
func (o *GetAgentsIDBoardingConfigurationUnauthorized) String() 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 ¶
func (o *GetAgentsIDBoardingStatusBadRequest) Code() int
Code gets the status code for the get agents Id boarding status bad request response
func (*GetAgentsIDBoardingStatusBadRequest) Error ¶
func (o *GetAgentsIDBoardingStatusBadRequest) Error() string
func (*GetAgentsIDBoardingStatusBadRequest) GetPayload ¶
func (o *GetAgentsIDBoardingStatusBadRequest) GetPayload() *models.Badrequest
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 ¶
func (o *GetAgentsIDBoardingStatusBadRequest) IsCode(code int) bool
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 ¶
func (o *GetAgentsIDBoardingStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding status bad request response has a 2xx status code
func (*GetAgentsIDBoardingStatusBadRequest) String ¶
func (o *GetAgentsIDBoardingStatusBadRequest) String() 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 ¶
func (o *GetAgentsIDBoardingStatusDefault) Code() int
Code gets the status code for the get agents ID boarding status default response
func (*GetAgentsIDBoardingStatusDefault) Error ¶
func (o *GetAgentsIDBoardingStatusDefault) Error() string
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 ¶
func (o *GetAgentsIDBoardingStatusDefault) String() string
type GetAgentsIDBoardingStatusForbidden ¶
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 ¶
func (o *GetAgentsIDBoardingStatusForbidden) Code() int
Code gets the status code for the get agents Id boarding status forbidden response
func (*GetAgentsIDBoardingStatusForbidden) Error ¶
func (o *GetAgentsIDBoardingStatusForbidden) Error() string
func (*GetAgentsIDBoardingStatusForbidden) GetPayload ¶
func (o *GetAgentsIDBoardingStatusForbidden) GetPayload() *models.Forbidden
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 ¶
func (o *GetAgentsIDBoardingStatusForbidden) IsCode(code int) bool
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 ¶
func (o *GetAgentsIDBoardingStatusForbidden) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding status forbidden response has a 2xx status code
func (*GetAgentsIDBoardingStatusForbidden) String ¶
func (o *GetAgentsIDBoardingStatusForbidden) String() string
type GetAgentsIDBoardingStatusInternalServerError ¶
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 ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) Code() int
Code gets the status code for the get agents Id boarding status internal server error response
func (*GetAgentsIDBoardingStatusInternalServerError) Error ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) Error() string
func (*GetAgentsIDBoardingStatusInternalServerError) GetPayload ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) GetPayload() *models.Error
func (*GetAgentsIDBoardingStatusInternalServerError) IsClientError ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) IsClientError() bool
IsClientError returns true when this get agents Id boarding status internal server error response has a 4xx status code
func (*GetAgentsIDBoardingStatusInternalServerError) IsCode ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get agents Id boarding status internal server error response a status code equal to that given
func (*GetAgentsIDBoardingStatusInternalServerError) IsRedirect ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this get agents Id boarding status internal server error response has a 3xx status code
func (*GetAgentsIDBoardingStatusInternalServerError) IsServerError ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) IsServerError() bool
IsServerError returns true when this get agents Id boarding status internal server error response has a 5xx status code
func (*GetAgentsIDBoardingStatusInternalServerError) IsSuccess ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding status internal server error response has a 2xx status code
func (*GetAgentsIDBoardingStatusInternalServerError) String ¶
func (o *GetAgentsIDBoardingStatusInternalServerError) String() string
type GetAgentsIDBoardingStatusNotFound ¶
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 ¶
func (o *GetAgentsIDBoardingStatusNotFound) Code() int
Code gets the status code for the get agents Id boarding status not found response
func (*GetAgentsIDBoardingStatusNotFound) Error ¶
func (o *GetAgentsIDBoardingStatusNotFound) Error() string
func (*GetAgentsIDBoardingStatusNotFound) GetPayload ¶
func (o *GetAgentsIDBoardingStatusNotFound) GetPayload() *models.Notfound
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 ¶
func (o *GetAgentsIDBoardingStatusNotFound) String() 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 (o *GetAgentsIDBoardingStatusOK) Error() string
func (*GetAgentsIDBoardingStatusOK) GetPayload ¶
func (o *GetAgentsIDBoardingStatusOK) GetPayload() *models.OnboardingStatus
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 ¶
func (o *GetAgentsIDBoardingStatusParams) SetID(id string)
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 ¶
func (o *GetAgentsIDBoardingStatusParams) WithContext(ctx context.Context) *GetAgentsIDBoardingStatusParams
WithContext adds the context to the get agents ID boarding status params
func (*GetAgentsIDBoardingStatusParams) WithDefaults ¶
func (o *GetAgentsIDBoardingStatusParams) WithDefaults() *GetAgentsIDBoardingStatusParams
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 ¶
func (o *GetAgentsIDBoardingStatusParams) WithHTTPClient(client *http.Client) *GetAgentsIDBoardingStatusParams
WithHTTPClient adds the HTTPClient to the get agents ID boarding status params
func (*GetAgentsIDBoardingStatusParams) WithID ¶
func (o *GetAgentsIDBoardingStatusParams) WithID(id string) *GetAgentsIDBoardingStatusParams
WithID adds the id to the get agents ID boarding status params
func (*GetAgentsIDBoardingStatusParams) WithTimeout ¶
func (o *GetAgentsIDBoardingStatusParams) WithTimeout(timeout time.Duration) *GetAgentsIDBoardingStatusParams
WithTimeout adds the timeout to the get agents ID boarding status params
func (*GetAgentsIDBoardingStatusParams) WriteToRequest ¶
func (o *GetAgentsIDBoardingStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) Code() int
Code gets the status code for the get agents Id boarding status too many requests response
func (*GetAgentsIDBoardingStatusTooManyRequests) Error ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) Error() string
func (*GetAgentsIDBoardingStatusTooManyRequests) GetPayload ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) GetPayload() *models.APIRateLimitExceeded
func (*GetAgentsIDBoardingStatusTooManyRequests) IsClientError ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) IsClientError() bool
IsClientError returns true when this get agents Id boarding status too many requests response has a 4xx status code
func (*GetAgentsIDBoardingStatusTooManyRequests) IsCode ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) IsCode(code int) bool
IsCode returns true when this get agents Id boarding status too many requests response a status code equal to that given
func (*GetAgentsIDBoardingStatusTooManyRequests) IsRedirect ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get agents Id boarding status too many requests response has a 3xx status code
func (*GetAgentsIDBoardingStatusTooManyRequests) IsServerError ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) IsServerError() bool
IsServerError returns true when this get agents Id boarding status too many requests response has a 5xx status code
func (*GetAgentsIDBoardingStatusTooManyRequests) IsSuccess ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding status too many requests response has a 2xx status code
func (*GetAgentsIDBoardingStatusTooManyRequests) String ¶
func (o *GetAgentsIDBoardingStatusTooManyRequests) String() string
type GetAgentsIDBoardingStatusUnauthorized ¶
type GetAgentsIDBoardingStatusUnauthorized struct {
}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 ¶
func (o *GetAgentsIDBoardingStatusUnauthorized) Code() int
Code gets the status code for the get agents Id boarding status unauthorized response
func (*GetAgentsIDBoardingStatusUnauthorized) Error ¶
func (o *GetAgentsIDBoardingStatusUnauthorized) Error() string
func (*GetAgentsIDBoardingStatusUnauthorized) GetPayload ¶
func (o *GetAgentsIDBoardingStatusUnauthorized) GetPayload() *models.Unauthorized
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 ¶
func (o *GetAgentsIDBoardingStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this get agents Id boarding status unauthorized response a status code equal to that given
func (*GetAgentsIDBoardingStatusUnauthorized) IsRedirect ¶
func (o *GetAgentsIDBoardingStatusUnauthorized) IsRedirect() bool
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 ¶
func (o *GetAgentsIDBoardingStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this get agents Id boarding status unauthorized response has a 2xx status code
func (*GetAgentsIDBoardingStatusUnauthorized) String ¶
func (o *GetAgentsIDBoardingStatusUnauthorized) String() 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 ¶
func (o *PostAgentsIDBoardingOffboardBadRequest) Code() int
Code gets the status code for the post agents Id boarding offboard bad request response
func (*PostAgentsIDBoardingOffboardBadRequest) Error ¶
func (o *PostAgentsIDBoardingOffboardBadRequest) Error() string
func (*PostAgentsIDBoardingOffboardBadRequest) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardBadRequest) GetPayload() *models.Badrequest
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 ¶
func (o *PostAgentsIDBoardingOffboardBadRequest) IsCode(code int) bool
IsCode returns true when this post agents Id boarding offboard bad request response a status code equal to that given
func (*PostAgentsIDBoardingOffboardBadRequest) IsRedirect ¶
func (o *PostAgentsIDBoardingOffboardBadRequest) IsRedirect() bool
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 ¶
func (o *PostAgentsIDBoardingOffboardBadRequest) IsSuccess() bool
IsSuccess returns true when this post agents Id boarding offboard bad request response has a 2xx status code
func (*PostAgentsIDBoardingOffboardBadRequest) String ¶
func (o *PostAgentsIDBoardingOffboardBadRequest) String() string
type PostAgentsIDBoardingOffboardConflict ¶
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 ¶
func (o *PostAgentsIDBoardingOffboardConflict) Code() int
Code gets the status code for the post agents Id boarding offboard conflict response
func (*PostAgentsIDBoardingOffboardConflict) Error ¶
func (o *PostAgentsIDBoardingOffboardConflict) Error() string
func (*PostAgentsIDBoardingOffboardConflict) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardConflict) GetPayload() *models.Conflict
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 ¶
func (o *PostAgentsIDBoardingOffboardConflict) IsCode(code int) bool
IsCode returns true when this post agents Id boarding offboard conflict response a status code equal to that given
func (*PostAgentsIDBoardingOffboardConflict) IsRedirect ¶
func (o *PostAgentsIDBoardingOffboardConflict) IsRedirect() bool
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 ¶
func (o *PostAgentsIDBoardingOffboardConflict) IsSuccess() bool
IsSuccess returns true when this post agents Id boarding offboard conflict response has a 2xx status code
func (*PostAgentsIDBoardingOffboardConflict) String ¶
func (o *PostAgentsIDBoardingOffboardConflict) String() 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 ¶
func (o *PostAgentsIDBoardingOffboardDefault) Code() int
Code gets the status code for the post agents ID boarding offboard default response
func (*PostAgentsIDBoardingOffboardDefault) Error ¶
func (o *PostAgentsIDBoardingOffboardDefault) Error() string
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 ¶
func (o *PostAgentsIDBoardingOffboardDefault) IsCode(code int) bool
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 ¶
func (o *PostAgentsIDBoardingOffboardDefault) IsSuccess() bool
IsSuccess returns true when this post agents ID boarding offboard default response has a 2xx status code
func (*PostAgentsIDBoardingOffboardDefault) String ¶
func (o *PostAgentsIDBoardingOffboardDefault) String() string
type PostAgentsIDBoardingOffboardForbidden ¶
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 ¶
func (o *PostAgentsIDBoardingOffboardForbidden) Code() int
Code gets the status code for the post agents Id boarding offboard forbidden response
func (*PostAgentsIDBoardingOffboardForbidden) Error ¶
func (o *PostAgentsIDBoardingOffboardForbidden) Error() string
func (*PostAgentsIDBoardingOffboardForbidden) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardForbidden) GetPayload() *models.Forbidden
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 ¶
func (o *PostAgentsIDBoardingOffboardForbidden) IsCode(code int) bool
IsCode returns true when this post agents Id boarding offboard forbidden response a status code equal to that given
func (*PostAgentsIDBoardingOffboardForbidden) IsRedirect ¶
func (o *PostAgentsIDBoardingOffboardForbidden) IsRedirect() bool
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 ¶
func (o *PostAgentsIDBoardingOffboardForbidden) IsSuccess() bool
IsSuccess returns true when this post agents Id boarding offboard forbidden response has a 2xx status code
func (*PostAgentsIDBoardingOffboardForbidden) String ¶
func (o *PostAgentsIDBoardingOffboardForbidden) String() string
type PostAgentsIDBoardingOffboardInternalServerError ¶
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 ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) Code() int
Code gets the status code for the post agents Id boarding offboard internal server error response
func (*PostAgentsIDBoardingOffboardInternalServerError) Error ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) Error() string
func (*PostAgentsIDBoardingOffboardInternalServerError) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) GetPayload() *models.Error
func (*PostAgentsIDBoardingOffboardInternalServerError) IsClientError ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) IsClientError() bool
IsClientError returns true when this post agents Id boarding offboard internal server error response has a 4xx status code
func (*PostAgentsIDBoardingOffboardInternalServerError) IsCode ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) IsCode(code int) bool
IsCode returns true when this post agents Id boarding offboard internal server error response a status code equal to that given
func (*PostAgentsIDBoardingOffboardInternalServerError) IsRedirect ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this post agents Id boarding offboard internal server error response has a 3xx status code
func (*PostAgentsIDBoardingOffboardInternalServerError) IsServerError ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) IsServerError() bool
IsServerError returns true when this post agents Id boarding offboard internal server error response has a 5xx status code
func (*PostAgentsIDBoardingOffboardInternalServerError) IsSuccess ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this post agents Id boarding offboard internal server error response has a 2xx status code
func (*PostAgentsIDBoardingOffboardInternalServerError) String ¶
func (o *PostAgentsIDBoardingOffboardInternalServerError) String() string
type PostAgentsIDBoardingOffboardNotFound ¶
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 ¶
func (o *PostAgentsIDBoardingOffboardNotFound) Code() int
Code gets the status code for the post agents Id boarding offboard not found response
func (*PostAgentsIDBoardingOffboardNotFound) Error ¶
func (o *PostAgentsIDBoardingOffboardNotFound) Error() string
func (*PostAgentsIDBoardingOffboardNotFound) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardNotFound) GetPayload() *models.Notfound
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 ¶
func (o *PostAgentsIDBoardingOffboardNotFound) IsCode(code int) bool
IsCode returns true when this post agents Id boarding offboard not found response a status code equal to that given
func (*PostAgentsIDBoardingOffboardNotFound) IsRedirect ¶
func (o *PostAgentsIDBoardingOffboardNotFound) IsRedirect() bool
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 ¶
func (o *PostAgentsIDBoardingOffboardNotFound) IsSuccess() bool
IsSuccess returns true when this post agents Id boarding offboard not found response has a 2xx status code
func (*PostAgentsIDBoardingOffboardNotFound) String ¶
func (o *PostAgentsIDBoardingOffboardNotFound) String() 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 ¶
func (o *PostAgentsIDBoardingOffboardOK) Code() int
Code gets the status code for the post agents Id boarding offboard o k response
func (*PostAgentsIDBoardingOffboardOK) Error ¶
func (o *PostAgentsIDBoardingOffboardOK) Error() string
func (*PostAgentsIDBoardingOffboardOK) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardOK) GetPayload() *models.OnboardingStatus
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 ¶
func (o *PostAgentsIDBoardingOffboardOK) String() 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 ¶
func (o *PostAgentsIDBoardingOffboardParams) SetContext(ctx context.Context)
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 ¶
func (o *PostAgentsIDBoardingOffboardParams) SetID(id string)
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 ¶
func (o *PostAgentsIDBoardingOffboardParams) WithContext(ctx context.Context) *PostAgentsIDBoardingOffboardParams
WithContext adds the context to the post agents ID boarding offboard params
func (*PostAgentsIDBoardingOffboardParams) WithDefaults ¶
func (o *PostAgentsIDBoardingOffboardParams) WithDefaults() *PostAgentsIDBoardingOffboardParams
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 ¶
func (o *PostAgentsIDBoardingOffboardParams) WithHTTPClient(client *http.Client) *PostAgentsIDBoardingOffboardParams
WithHTTPClient adds the HTTPClient to the post agents ID boarding offboard params
func (*PostAgentsIDBoardingOffboardParams) WithID ¶
func (o *PostAgentsIDBoardingOffboardParams) WithID(id string) *PostAgentsIDBoardingOffboardParams
WithID adds the id to the post agents ID boarding offboard params
func (*PostAgentsIDBoardingOffboardParams) WithTimeout ¶
func (o *PostAgentsIDBoardingOffboardParams) WithTimeout(timeout time.Duration) *PostAgentsIDBoardingOffboardParams
WithTimeout adds the timeout to the post agents ID boarding offboard params
func (*PostAgentsIDBoardingOffboardParams) WriteToRequest ¶
func (o *PostAgentsIDBoardingOffboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) Code() int
Code gets the status code for the post agents Id boarding offboard too many requests response
func (*PostAgentsIDBoardingOffboardTooManyRequests) Error ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) Error() string
func (*PostAgentsIDBoardingOffboardTooManyRequests) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) GetPayload() *models.APIRateLimitExceeded
func (*PostAgentsIDBoardingOffboardTooManyRequests) IsClientError ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsClientError() bool
IsClientError returns true when this post agents Id boarding offboard too many requests response has a 4xx status code
func (*PostAgentsIDBoardingOffboardTooManyRequests) IsCode ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsCode(code int) bool
IsCode returns true when this post agents Id boarding offboard too many requests response a status code equal to that given
func (*PostAgentsIDBoardingOffboardTooManyRequests) IsRedirect ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsRedirect() bool
IsRedirect returns true when this post agents Id boarding offboard too many requests response has a 3xx status code
func (*PostAgentsIDBoardingOffboardTooManyRequests) IsServerError ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsServerError() bool
IsServerError returns true when this post agents Id boarding offboard too many requests response has a 5xx status code
func (*PostAgentsIDBoardingOffboardTooManyRequests) IsSuccess ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) IsSuccess() bool
IsSuccess returns true when this post agents Id boarding offboard too many requests response has a 2xx status code
func (*PostAgentsIDBoardingOffboardTooManyRequests) String ¶
func (o *PostAgentsIDBoardingOffboardTooManyRequests) String() string
type PostAgentsIDBoardingOffboardUnauthorized ¶
type PostAgentsIDBoardingOffboardUnauthorized struct {
}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 ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) Code() int
Code gets the status code for the post agents Id boarding offboard unauthorized response
func (*PostAgentsIDBoardingOffboardUnauthorized) Error ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) Error() string
func (*PostAgentsIDBoardingOffboardUnauthorized) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) GetPayload() *models.Unauthorized
func (*PostAgentsIDBoardingOffboardUnauthorized) IsClientError ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) IsClientError() bool
IsClientError returns true when this post agents Id boarding offboard unauthorized response has a 4xx status code
func (*PostAgentsIDBoardingOffboardUnauthorized) IsCode ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) IsCode(code int) bool
IsCode returns true when this post agents Id boarding offboard unauthorized response a status code equal to that given
func (*PostAgentsIDBoardingOffboardUnauthorized) IsRedirect ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this post agents Id boarding offboard unauthorized response has a 3xx status code
func (*PostAgentsIDBoardingOffboardUnauthorized) IsServerError ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) IsServerError() bool
IsServerError returns true when this post agents Id boarding offboard unauthorized response has a 5xx status code
func (*PostAgentsIDBoardingOffboardUnauthorized) IsSuccess ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this post agents Id boarding offboard unauthorized response has a 2xx status code
func (*PostAgentsIDBoardingOffboardUnauthorized) String ¶
func (o *PostAgentsIDBoardingOffboardUnauthorized) String() 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 ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) Code() int
Code gets the status code for the post agents Id boarding offboard unprocessable entity response
func (*PostAgentsIDBoardingOffboardUnprocessableEntity) Error ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) Error() string
func (*PostAgentsIDBoardingOffboardUnprocessableEntity) GetPayload ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) GetPayload() *models.NotSupported
func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsClientError ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsClientError() bool
IsClientError returns true when this post agents Id boarding offboard unprocessable entity response has a 4xx status code
func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsCode ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this post agents Id boarding offboard unprocessable entity response a status code equal to that given
func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsRedirect ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this post agents Id boarding offboard unprocessable entity response has a 3xx status code
func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsServerError ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsServerError() bool
IsServerError returns true when this post agents Id boarding offboard unprocessable entity response has a 5xx status code
func (*PostAgentsIDBoardingOffboardUnprocessableEntity) IsSuccess ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this post agents Id boarding offboard unprocessable entity response has a 2xx status code
func (*PostAgentsIDBoardingOffboardUnprocessableEntity) String ¶
func (o *PostAgentsIDBoardingOffboardUnprocessableEntity) String() string
Source Files
¶
- boarding_operations_client.go
- get_agents_id_boarding_configuration_parameters.go
- get_agents_id_boarding_configuration_responses.go
- get_agents_id_boarding_status_parameters.go
- get_agents_id_boarding_status_responses.go
- post_agents_id_boarding_offboard_parameters.go
- post_agents_id_boarding_offboard_responses.go