Documentation
¶
Index ¶
- type Client
- func (a *Client) PutAPI5AgentBridge(params *PutAPI5AgentBridgeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutApi5AgentBridgeOK, error)
- func (a *Client) PutAPI5AgentGateway(params *PutAPI5AgentGatewayParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutApi5AgentGatewayOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PutAPI5AgentBridgeParams
- func NewPutAPI5AgentBridgeParams() *PutAPI5AgentBridgeParams
- func NewPutAPI5AgentBridgeParamsWithContext(ctx context.Context) *PutAPI5AgentBridgeParams
- func NewPutAPI5AgentBridgeParamsWithHTTPClient(client *http.Client) *PutAPI5AgentBridgeParams
- func NewPutAPI5AgentBridgeParamsWithTimeout(timeout time.Duration) *PutAPI5AgentBridgeParams
- func (o *PutAPI5AgentBridgeParams) SetBridge(bridge *models.ModelsBridge)
- func (o *PutAPI5AgentBridgeParams) SetContext(ctx context.Context)
- func (o *PutAPI5AgentBridgeParams) SetDefaults()
- func (o *PutAPI5AgentBridgeParams) SetHTTPClient(client *http.Client)
- func (o *PutAPI5AgentBridgeParams) SetTimeout(timeout time.Duration)
- func (o *PutAPI5AgentBridgeParams) WithBridge(bridge *models.ModelsBridge) *PutAPI5AgentBridgeParams
- func (o *PutAPI5AgentBridgeParams) WithContext(ctx context.Context) *PutAPI5AgentBridgeParams
- func (o *PutAPI5AgentBridgeParams) WithDefaults() *PutAPI5AgentBridgeParams
- func (o *PutAPI5AgentBridgeParams) WithHTTPClient(client *http.Client) *PutAPI5AgentBridgeParams
- func (o *PutAPI5AgentBridgeParams) WithTimeout(timeout time.Duration) *PutAPI5AgentBridgeParams
- func (o *PutAPI5AgentBridgeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPI5AgentBridgeReader
- type PutAPI5AgentGatewayParams
- func NewPutAPI5AgentGatewayParams() *PutAPI5AgentGatewayParams
- func NewPutAPI5AgentGatewayParamsWithContext(ctx context.Context) *PutAPI5AgentGatewayParams
- func NewPutAPI5AgentGatewayParamsWithHTTPClient(client *http.Client) *PutAPI5AgentGatewayParams
- func NewPutAPI5AgentGatewayParamsWithTimeout(timeout time.Duration) *PutAPI5AgentGatewayParams
- func (o *PutAPI5AgentGatewayParams) SetContext(ctx context.Context)
- func (o *PutAPI5AgentGatewayParams) SetDefaults()
- func (o *PutAPI5AgentGatewayParams) SetGateway(gateway *models.ModelsGateway)
- func (o *PutAPI5AgentGatewayParams) SetHTTPClient(client *http.Client)
- func (o *PutAPI5AgentGatewayParams) SetTimeout(timeout time.Duration)
- func (o *PutAPI5AgentGatewayParams) WithContext(ctx context.Context) *PutAPI5AgentGatewayParams
- func (o *PutAPI5AgentGatewayParams) WithDefaults() *PutAPI5AgentGatewayParams
- func (o *PutAPI5AgentGatewayParams) WithGateway(gateway *models.ModelsGateway) *PutAPI5AgentGatewayParams
- func (o *PutAPI5AgentGatewayParams) WithHTTPClient(client *http.Client) *PutAPI5AgentGatewayParams
- func (o *PutAPI5AgentGatewayParams) WithTimeout(timeout time.Duration) *PutAPI5AgentGatewayParams
- func (o *PutAPI5AgentGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPI5AgentGatewayReader
- type PutApi5AgentBridgeBadRequest
- func (o *PutApi5AgentBridgeBadRequest) Code() int
- func (o *PutApi5AgentBridgeBadRequest) Error() string
- func (o *PutApi5AgentBridgeBadRequest) GetPayload() interface{}
- func (o *PutApi5AgentBridgeBadRequest) IsClientError() bool
- func (o *PutApi5AgentBridgeBadRequest) IsCode(code int) bool
- func (o *PutApi5AgentBridgeBadRequest) IsRedirect() bool
- func (o *PutApi5AgentBridgeBadRequest) IsServerError() bool
- func (o *PutApi5AgentBridgeBadRequest) IsSuccess() bool
- func (o *PutApi5AgentBridgeBadRequest) String() string
- type PutApi5AgentBridgeInternalServerError
- func (o *PutApi5AgentBridgeInternalServerError) Code() int
- func (o *PutApi5AgentBridgeInternalServerError) Error() string
- func (o *PutApi5AgentBridgeInternalServerError) GetPayload() interface{}
- func (o *PutApi5AgentBridgeInternalServerError) IsClientError() bool
- func (o *PutApi5AgentBridgeInternalServerError) IsCode(code int) bool
- func (o *PutApi5AgentBridgeInternalServerError) IsRedirect() bool
- func (o *PutApi5AgentBridgeInternalServerError) IsServerError() bool
- func (o *PutApi5AgentBridgeInternalServerError) IsSuccess() bool
- func (o *PutApi5AgentBridgeInternalServerError) String() string
- type PutApi5AgentBridgeNotFound
- func (o *PutApi5AgentBridgeNotFound) Code() int
- func (o *PutApi5AgentBridgeNotFound) Error() string
- func (o *PutApi5AgentBridgeNotFound) GetPayload() interface{}
- func (o *PutApi5AgentBridgeNotFound) IsClientError() bool
- func (o *PutApi5AgentBridgeNotFound) IsCode(code int) bool
- func (o *PutApi5AgentBridgeNotFound) IsRedirect() bool
- func (o *PutApi5AgentBridgeNotFound) IsServerError() bool
- func (o *PutApi5AgentBridgeNotFound) IsSuccess() bool
- func (o *PutApi5AgentBridgeNotFound) String() string
- type PutApi5AgentBridgeOK
- func (o *PutApi5AgentBridgeOK) Code() int
- func (o *PutApi5AgentBridgeOK) Error() string
- func (o *PutApi5AgentBridgeOK) GetPayload() *models.ModelsBridge
- func (o *PutApi5AgentBridgeOK) IsClientError() bool
- func (o *PutApi5AgentBridgeOK) IsCode(code int) bool
- func (o *PutApi5AgentBridgeOK) IsRedirect() bool
- func (o *PutApi5AgentBridgeOK) IsServerError() bool
- func (o *PutApi5AgentBridgeOK) IsSuccess() bool
- func (o *PutApi5AgentBridgeOK) String() string
- type PutApi5AgentGatewayBadRequest
- func (o *PutApi5AgentGatewayBadRequest) Code() int
- func (o *PutApi5AgentGatewayBadRequest) Error() string
- func (o *PutApi5AgentGatewayBadRequest) GetPayload() interface{}
- func (o *PutApi5AgentGatewayBadRequest) IsClientError() bool
- func (o *PutApi5AgentGatewayBadRequest) IsCode(code int) bool
- func (o *PutApi5AgentGatewayBadRequest) IsRedirect() bool
- func (o *PutApi5AgentGatewayBadRequest) IsServerError() bool
- func (o *PutApi5AgentGatewayBadRequest) IsSuccess() bool
- func (o *PutApi5AgentGatewayBadRequest) String() string
- type PutApi5AgentGatewayInternalServerError
- func (o *PutApi5AgentGatewayInternalServerError) Code() int
- func (o *PutApi5AgentGatewayInternalServerError) Error() string
- func (o *PutApi5AgentGatewayInternalServerError) GetPayload() interface{}
- func (o *PutApi5AgentGatewayInternalServerError) IsClientError() bool
- func (o *PutApi5AgentGatewayInternalServerError) IsCode(code int) bool
- func (o *PutApi5AgentGatewayInternalServerError) IsRedirect() bool
- func (o *PutApi5AgentGatewayInternalServerError) IsServerError() bool
- func (o *PutApi5AgentGatewayInternalServerError) IsSuccess() bool
- func (o *PutApi5AgentGatewayInternalServerError) String() string
- type PutApi5AgentGatewayNotFound
- func (o *PutApi5AgentGatewayNotFound) Code() int
- func (o *PutApi5AgentGatewayNotFound) Error() string
- func (o *PutApi5AgentGatewayNotFound) GetPayload() interface{}
- func (o *PutApi5AgentGatewayNotFound) IsClientError() bool
- func (o *PutApi5AgentGatewayNotFound) IsCode(code int) bool
- func (o *PutApi5AgentGatewayNotFound) IsRedirect() bool
- func (o *PutApi5AgentGatewayNotFound) IsServerError() bool
- func (o *PutApi5AgentGatewayNotFound) IsSuccess() bool
- func (o *PutApi5AgentGatewayNotFound) String() string
- type PutApi5AgentGatewayOK
- func (o *PutApi5AgentGatewayOK) Code() int
- func (o *PutApi5AgentGatewayOK) Error() string
- func (o *PutApi5AgentGatewayOK) GetPayload() *models.ModelsGateway
- func (o *PutApi5AgentGatewayOK) IsClientError() bool
- func (o *PutApi5AgentGatewayOK) IsCode(code int) bool
- func (o *PutApi5AgentGatewayOK) IsRedirect() bool
- func (o *PutApi5AgentGatewayOK) IsServerError() bool
- func (o *PutApi5AgentGatewayOK) IsSuccess() bool
- func (o *PutApi5AgentGatewayOK) 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 agent API
func (*Client) PutAPI5AgentBridge ¶
func (a *Client) PutAPI5AgentBridge(params *PutAPI5AgentBridgeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutApi5AgentBridgeOK, error)
PutAPI5AgentBridge registers a bridge
Register a bridge. This endpoint allows "menshen agent" processes running on bridges to register themselves.
func (*Client) PutAPI5AgentGateway ¶
func (a *Client) PutAPI5AgentGateway(params *PutAPI5AgentGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutApi5AgentGatewayOK, error)
PutAPI5AgentGateway registers a gateway
Register a gateway. This endpoint allows "menshen agent" processes running on gateways to register themselves.
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 { PutAPI5AgentBridge(params *PutAPI5AgentBridgeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutApi5AgentBridgeOK, error) PutAPI5AgentGateway(params *PutAPI5AgentGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutApi5AgentGatewayOK, 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 agent API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new agent 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 agent 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 PutAPI5AgentBridgeParams ¶
type PutAPI5AgentBridgeParams struct { /* Bridge. bridge */ Bridge *models.ModelsBridge Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutAPI5AgentBridgeParams contains all the parameters to send to the API endpoint
for the put API 5 agent bridge operation. Typically these are written to a http.Request.
func NewPutAPI5AgentBridgeParams ¶
func NewPutAPI5AgentBridgeParams() *PutAPI5AgentBridgeParams
NewPutAPI5AgentBridgeParams creates a new PutAPI5AgentBridgeParams 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 NewPutAPI5AgentBridgeParamsWithContext ¶
func NewPutAPI5AgentBridgeParamsWithContext(ctx context.Context) *PutAPI5AgentBridgeParams
NewPutAPI5AgentBridgeParamsWithContext creates a new PutAPI5AgentBridgeParams object with the ability to set a context for a request.
func NewPutAPI5AgentBridgeParamsWithHTTPClient ¶
func NewPutAPI5AgentBridgeParamsWithHTTPClient(client *http.Client) *PutAPI5AgentBridgeParams
NewPutAPI5AgentBridgeParamsWithHTTPClient creates a new PutAPI5AgentBridgeParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPI5AgentBridgeParamsWithTimeout ¶
func NewPutAPI5AgentBridgeParamsWithTimeout(timeout time.Duration) *PutAPI5AgentBridgeParams
NewPutAPI5AgentBridgeParamsWithTimeout creates a new PutAPI5AgentBridgeParams object with the ability to set a timeout on a request.
func (*PutAPI5AgentBridgeParams) SetBridge ¶
func (o *PutAPI5AgentBridgeParams) SetBridge(bridge *models.ModelsBridge)
SetBridge adds the bridge to the put API 5 agent bridge params
func (*PutAPI5AgentBridgeParams) SetContext ¶
func (o *PutAPI5AgentBridgeParams) SetContext(ctx context.Context)
SetContext adds the context to the put API 5 agent bridge params
func (*PutAPI5AgentBridgeParams) SetDefaults ¶
func (o *PutAPI5AgentBridgeParams) SetDefaults()
SetDefaults hydrates default values in the put API 5 agent bridge params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPI5AgentBridgeParams) SetHTTPClient ¶
func (o *PutAPI5AgentBridgeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API 5 agent bridge params
func (*PutAPI5AgentBridgeParams) SetTimeout ¶
func (o *PutAPI5AgentBridgeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API 5 agent bridge params
func (*PutAPI5AgentBridgeParams) WithBridge ¶
func (o *PutAPI5AgentBridgeParams) WithBridge(bridge *models.ModelsBridge) *PutAPI5AgentBridgeParams
WithBridge adds the bridge to the put API 5 agent bridge params
func (*PutAPI5AgentBridgeParams) WithContext ¶
func (o *PutAPI5AgentBridgeParams) WithContext(ctx context.Context) *PutAPI5AgentBridgeParams
WithContext adds the context to the put API 5 agent bridge params
func (*PutAPI5AgentBridgeParams) WithDefaults ¶
func (o *PutAPI5AgentBridgeParams) WithDefaults() *PutAPI5AgentBridgeParams
WithDefaults hydrates default values in the put API 5 agent bridge params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPI5AgentBridgeParams) WithHTTPClient ¶
func (o *PutAPI5AgentBridgeParams) WithHTTPClient(client *http.Client) *PutAPI5AgentBridgeParams
WithHTTPClient adds the HTTPClient to the put API 5 agent bridge params
func (*PutAPI5AgentBridgeParams) WithTimeout ¶
func (o *PutAPI5AgentBridgeParams) WithTimeout(timeout time.Duration) *PutAPI5AgentBridgeParams
WithTimeout adds the timeout to the put API 5 agent bridge params
func (*PutAPI5AgentBridgeParams) WriteToRequest ¶
func (o *PutAPI5AgentBridgeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPI5AgentBridgeReader ¶
type PutAPI5AgentBridgeReader struct {
// contains filtered or unexported fields
}
PutAPI5AgentBridgeReader is a Reader for the PutAPI5AgentBridge structure.
func (*PutAPI5AgentBridgeReader) ReadResponse ¶
func (o *PutAPI5AgentBridgeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutAPI5AgentGatewayParams ¶
type PutAPI5AgentGatewayParams struct { /* Gateway. gateway */ Gateway *models.ModelsGateway Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutAPI5AgentGatewayParams contains all the parameters to send to the API endpoint
for the put API 5 agent gateway operation. Typically these are written to a http.Request.
func NewPutAPI5AgentGatewayParams ¶
func NewPutAPI5AgentGatewayParams() *PutAPI5AgentGatewayParams
NewPutAPI5AgentGatewayParams creates a new PutAPI5AgentGatewayParams 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 NewPutAPI5AgentGatewayParamsWithContext ¶
func NewPutAPI5AgentGatewayParamsWithContext(ctx context.Context) *PutAPI5AgentGatewayParams
NewPutAPI5AgentGatewayParamsWithContext creates a new PutAPI5AgentGatewayParams object with the ability to set a context for a request.
func NewPutAPI5AgentGatewayParamsWithHTTPClient ¶
func NewPutAPI5AgentGatewayParamsWithHTTPClient(client *http.Client) *PutAPI5AgentGatewayParams
NewPutAPI5AgentGatewayParamsWithHTTPClient creates a new PutAPI5AgentGatewayParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPI5AgentGatewayParamsWithTimeout ¶
func NewPutAPI5AgentGatewayParamsWithTimeout(timeout time.Duration) *PutAPI5AgentGatewayParams
NewPutAPI5AgentGatewayParamsWithTimeout creates a new PutAPI5AgentGatewayParams object with the ability to set a timeout on a request.
func (*PutAPI5AgentGatewayParams) SetContext ¶
func (o *PutAPI5AgentGatewayParams) SetContext(ctx context.Context)
SetContext adds the context to the put API 5 agent gateway params
func (*PutAPI5AgentGatewayParams) SetDefaults ¶
func (o *PutAPI5AgentGatewayParams) SetDefaults()
SetDefaults hydrates default values in the put API 5 agent gateway params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPI5AgentGatewayParams) SetGateway ¶
func (o *PutAPI5AgentGatewayParams) SetGateway(gateway *models.ModelsGateway)
SetGateway adds the gateway to the put API 5 agent gateway params
func (*PutAPI5AgentGatewayParams) SetHTTPClient ¶
func (o *PutAPI5AgentGatewayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API 5 agent gateway params
func (*PutAPI5AgentGatewayParams) SetTimeout ¶
func (o *PutAPI5AgentGatewayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API 5 agent gateway params
func (*PutAPI5AgentGatewayParams) WithContext ¶
func (o *PutAPI5AgentGatewayParams) WithContext(ctx context.Context) *PutAPI5AgentGatewayParams
WithContext adds the context to the put API 5 agent gateway params
func (*PutAPI5AgentGatewayParams) WithDefaults ¶
func (o *PutAPI5AgentGatewayParams) WithDefaults() *PutAPI5AgentGatewayParams
WithDefaults hydrates default values in the put API 5 agent gateway params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPI5AgentGatewayParams) WithGateway ¶
func (o *PutAPI5AgentGatewayParams) WithGateway(gateway *models.ModelsGateway) *PutAPI5AgentGatewayParams
WithGateway adds the gateway to the put API 5 agent gateway params
func (*PutAPI5AgentGatewayParams) WithHTTPClient ¶
func (o *PutAPI5AgentGatewayParams) WithHTTPClient(client *http.Client) *PutAPI5AgentGatewayParams
WithHTTPClient adds the HTTPClient to the put API 5 agent gateway params
func (*PutAPI5AgentGatewayParams) WithTimeout ¶
func (o *PutAPI5AgentGatewayParams) WithTimeout(timeout time.Duration) *PutAPI5AgentGatewayParams
WithTimeout adds the timeout to the put API 5 agent gateway params
func (*PutAPI5AgentGatewayParams) WriteToRequest ¶
func (o *PutAPI5AgentGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPI5AgentGatewayReader ¶
type PutAPI5AgentGatewayReader struct {
// contains filtered or unexported fields
}
PutAPI5AgentGatewayReader is a Reader for the PutAPI5AgentGateway structure.
func (*PutAPI5AgentGatewayReader) ReadResponse ¶
func (o *PutAPI5AgentGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutApi5AgentBridgeBadRequest ¶
type PutApi5AgentBridgeBadRequest struct {
Payload interface{}
}
PutApi5AgentBridgeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutApi5AgentBridgeBadRequest ¶
func NewPutApi5AgentBridgeBadRequest() *PutApi5AgentBridgeBadRequest
NewPutApi5AgentBridgeBadRequest creates a PutApi5AgentBridgeBadRequest with default headers values
func (*PutApi5AgentBridgeBadRequest) Code ¶
func (o *PutApi5AgentBridgeBadRequest) Code() int
Code gets the status code for the put api5 agent bridge bad request response
func (*PutApi5AgentBridgeBadRequest) Error ¶
func (o *PutApi5AgentBridgeBadRequest) Error() string
func (*PutApi5AgentBridgeBadRequest) GetPayload ¶
func (o *PutApi5AgentBridgeBadRequest) GetPayload() interface{}
func (*PutApi5AgentBridgeBadRequest) IsClientError ¶
func (o *PutApi5AgentBridgeBadRequest) IsClientError() bool
IsClientError returns true when this put api5 agent bridge bad request response has a 4xx status code
func (*PutApi5AgentBridgeBadRequest) IsCode ¶
func (o *PutApi5AgentBridgeBadRequest) IsCode(code int) bool
IsCode returns true when this put api5 agent bridge bad request response a status code equal to that given
func (*PutApi5AgentBridgeBadRequest) IsRedirect ¶
func (o *PutApi5AgentBridgeBadRequest) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridge bad request response has a 3xx status code
func (*PutApi5AgentBridgeBadRequest) IsServerError ¶
func (o *PutApi5AgentBridgeBadRequest) IsServerError() bool
IsServerError returns true when this put api5 agent bridge bad request response has a 5xx status code
func (*PutApi5AgentBridgeBadRequest) IsSuccess ¶
func (o *PutApi5AgentBridgeBadRequest) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridge bad request response has a 2xx status code
func (*PutApi5AgentBridgeBadRequest) String ¶
func (o *PutApi5AgentBridgeBadRequest) String() string
type PutApi5AgentBridgeInternalServerError ¶
type PutApi5AgentBridgeInternalServerError struct {
Payload interface{}
}
PutApi5AgentBridgeInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutApi5AgentBridgeInternalServerError ¶
func NewPutApi5AgentBridgeInternalServerError() *PutApi5AgentBridgeInternalServerError
NewPutApi5AgentBridgeInternalServerError creates a PutApi5AgentBridgeInternalServerError with default headers values
func (*PutApi5AgentBridgeInternalServerError) Code ¶
func (o *PutApi5AgentBridgeInternalServerError) Code() int
Code gets the status code for the put api5 agent bridge internal server error response
func (*PutApi5AgentBridgeInternalServerError) Error ¶
func (o *PutApi5AgentBridgeInternalServerError) Error() string
func (*PutApi5AgentBridgeInternalServerError) GetPayload ¶
func (o *PutApi5AgentBridgeInternalServerError) GetPayload() interface{}
func (*PutApi5AgentBridgeInternalServerError) IsClientError ¶
func (o *PutApi5AgentBridgeInternalServerError) IsClientError() bool
IsClientError returns true when this put api5 agent bridge internal server error response has a 4xx status code
func (*PutApi5AgentBridgeInternalServerError) IsCode ¶
func (o *PutApi5AgentBridgeInternalServerError) IsCode(code int) bool
IsCode returns true when this put api5 agent bridge internal server error response a status code equal to that given
func (*PutApi5AgentBridgeInternalServerError) IsRedirect ¶
func (o *PutApi5AgentBridgeInternalServerError) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridge internal server error response has a 3xx status code
func (*PutApi5AgentBridgeInternalServerError) IsServerError ¶
func (o *PutApi5AgentBridgeInternalServerError) IsServerError() bool
IsServerError returns true when this put api5 agent bridge internal server error response has a 5xx status code
func (*PutApi5AgentBridgeInternalServerError) IsSuccess ¶
func (o *PutApi5AgentBridgeInternalServerError) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridge internal server error response has a 2xx status code
func (*PutApi5AgentBridgeInternalServerError) String ¶
func (o *PutApi5AgentBridgeInternalServerError) String() string
type PutApi5AgentBridgeNotFound ¶
type PutApi5AgentBridgeNotFound struct {
Payload interface{}
}
PutApi5AgentBridgeNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutApi5AgentBridgeNotFound ¶
func NewPutApi5AgentBridgeNotFound() *PutApi5AgentBridgeNotFound
NewPutApi5AgentBridgeNotFound creates a PutApi5AgentBridgeNotFound with default headers values
func (*PutApi5AgentBridgeNotFound) Code ¶
func (o *PutApi5AgentBridgeNotFound) Code() int
Code gets the status code for the put api5 agent bridge not found response
func (*PutApi5AgentBridgeNotFound) Error ¶
func (o *PutApi5AgentBridgeNotFound) Error() string
func (*PutApi5AgentBridgeNotFound) GetPayload ¶
func (o *PutApi5AgentBridgeNotFound) GetPayload() interface{}
func (*PutApi5AgentBridgeNotFound) IsClientError ¶
func (o *PutApi5AgentBridgeNotFound) IsClientError() bool
IsClientError returns true when this put api5 agent bridge not found response has a 4xx status code
func (*PutApi5AgentBridgeNotFound) IsCode ¶
func (o *PutApi5AgentBridgeNotFound) IsCode(code int) bool
IsCode returns true when this put api5 agent bridge not found response a status code equal to that given
func (*PutApi5AgentBridgeNotFound) IsRedirect ¶
func (o *PutApi5AgentBridgeNotFound) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridge not found response has a 3xx status code
func (*PutApi5AgentBridgeNotFound) IsServerError ¶
func (o *PutApi5AgentBridgeNotFound) IsServerError() bool
IsServerError returns true when this put api5 agent bridge not found response has a 5xx status code
func (*PutApi5AgentBridgeNotFound) IsSuccess ¶
func (o *PutApi5AgentBridgeNotFound) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridge not found response has a 2xx status code
func (*PutApi5AgentBridgeNotFound) String ¶
func (o *PutApi5AgentBridgeNotFound) String() string
type PutApi5AgentBridgeOK ¶
type PutApi5AgentBridgeOK struct {
Payload *models.ModelsBridge
}
PutApi5AgentBridgeOK describes a response with status code 200, with default header values.
OK
func NewPutApi5AgentBridgeOK ¶
func NewPutApi5AgentBridgeOK() *PutApi5AgentBridgeOK
NewPutApi5AgentBridgeOK creates a PutApi5AgentBridgeOK with default headers values
func (*PutApi5AgentBridgeOK) Code ¶
func (o *PutApi5AgentBridgeOK) Code() int
Code gets the status code for the put api5 agent bridge o k response
func (*PutApi5AgentBridgeOK) Error ¶
func (o *PutApi5AgentBridgeOK) Error() string
func (*PutApi5AgentBridgeOK) GetPayload ¶
func (o *PutApi5AgentBridgeOK) GetPayload() *models.ModelsBridge
func (*PutApi5AgentBridgeOK) IsClientError ¶
func (o *PutApi5AgentBridgeOK) IsClientError() bool
IsClientError returns true when this put api5 agent bridge o k response has a 4xx status code
func (*PutApi5AgentBridgeOK) IsCode ¶
func (o *PutApi5AgentBridgeOK) IsCode(code int) bool
IsCode returns true when this put api5 agent bridge o k response a status code equal to that given
func (*PutApi5AgentBridgeOK) IsRedirect ¶
func (o *PutApi5AgentBridgeOK) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridge o k response has a 3xx status code
func (*PutApi5AgentBridgeOK) IsServerError ¶
func (o *PutApi5AgentBridgeOK) IsServerError() bool
IsServerError returns true when this put api5 agent bridge o k response has a 5xx status code
func (*PutApi5AgentBridgeOK) IsSuccess ¶
func (o *PutApi5AgentBridgeOK) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridge o k response has a 2xx status code
func (*PutApi5AgentBridgeOK) String ¶
func (o *PutApi5AgentBridgeOK) String() string
type PutApi5AgentGatewayBadRequest ¶
type PutApi5AgentGatewayBadRequest struct {
Payload interface{}
}
PutApi5AgentGatewayBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutApi5AgentGatewayBadRequest ¶
func NewPutApi5AgentGatewayBadRequest() *PutApi5AgentGatewayBadRequest
NewPutApi5AgentGatewayBadRequest creates a PutApi5AgentGatewayBadRequest with default headers values
func (*PutApi5AgentGatewayBadRequest) Code ¶
func (o *PutApi5AgentGatewayBadRequest) Code() int
Code gets the status code for the put api5 agent gateway bad request response
func (*PutApi5AgentGatewayBadRequest) Error ¶
func (o *PutApi5AgentGatewayBadRequest) Error() string
func (*PutApi5AgentGatewayBadRequest) GetPayload ¶
func (o *PutApi5AgentGatewayBadRequest) GetPayload() interface{}
func (*PutApi5AgentGatewayBadRequest) IsClientError ¶
func (o *PutApi5AgentGatewayBadRequest) IsClientError() bool
IsClientError returns true when this put api5 agent gateway bad request response has a 4xx status code
func (*PutApi5AgentGatewayBadRequest) IsCode ¶
func (o *PutApi5AgentGatewayBadRequest) IsCode(code int) bool
IsCode returns true when this put api5 agent gateway bad request response a status code equal to that given
func (*PutApi5AgentGatewayBadRequest) IsRedirect ¶
func (o *PutApi5AgentGatewayBadRequest) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateway bad request response has a 3xx status code
func (*PutApi5AgentGatewayBadRequest) IsServerError ¶
func (o *PutApi5AgentGatewayBadRequest) IsServerError() bool
IsServerError returns true when this put api5 agent gateway bad request response has a 5xx status code
func (*PutApi5AgentGatewayBadRequest) IsSuccess ¶
func (o *PutApi5AgentGatewayBadRequest) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateway bad request response has a 2xx status code
func (*PutApi5AgentGatewayBadRequest) String ¶
func (o *PutApi5AgentGatewayBadRequest) String() string
type PutApi5AgentGatewayInternalServerError ¶
type PutApi5AgentGatewayInternalServerError struct {
Payload interface{}
}
PutApi5AgentGatewayInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutApi5AgentGatewayInternalServerError ¶
func NewPutApi5AgentGatewayInternalServerError() *PutApi5AgentGatewayInternalServerError
NewPutApi5AgentGatewayInternalServerError creates a PutApi5AgentGatewayInternalServerError with default headers values
func (*PutApi5AgentGatewayInternalServerError) Code ¶
func (o *PutApi5AgentGatewayInternalServerError) Code() int
Code gets the status code for the put api5 agent gateway internal server error response
func (*PutApi5AgentGatewayInternalServerError) Error ¶
func (o *PutApi5AgentGatewayInternalServerError) Error() string
func (*PutApi5AgentGatewayInternalServerError) GetPayload ¶
func (o *PutApi5AgentGatewayInternalServerError) GetPayload() interface{}
func (*PutApi5AgentGatewayInternalServerError) IsClientError ¶
func (o *PutApi5AgentGatewayInternalServerError) IsClientError() bool
IsClientError returns true when this put api5 agent gateway internal server error response has a 4xx status code
func (*PutApi5AgentGatewayInternalServerError) IsCode ¶
func (o *PutApi5AgentGatewayInternalServerError) IsCode(code int) bool
IsCode returns true when this put api5 agent gateway internal server error response a status code equal to that given
func (*PutApi5AgentGatewayInternalServerError) IsRedirect ¶
func (o *PutApi5AgentGatewayInternalServerError) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateway internal server error response has a 3xx status code
func (*PutApi5AgentGatewayInternalServerError) IsServerError ¶
func (o *PutApi5AgentGatewayInternalServerError) IsServerError() bool
IsServerError returns true when this put api5 agent gateway internal server error response has a 5xx status code
func (*PutApi5AgentGatewayInternalServerError) IsSuccess ¶
func (o *PutApi5AgentGatewayInternalServerError) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateway internal server error response has a 2xx status code
func (*PutApi5AgentGatewayInternalServerError) String ¶
func (o *PutApi5AgentGatewayInternalServerError) String() string
type PutApi5AgentGatewayNotFound ¶
type PutApi5AgentGatewayNotFound struct {
Payload interface{}
}
PutApi5AgentGatewayNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutApi5AgentGatewayNotFound ¶
func NewPutApi5AgentGatewayNotFound() *PutApi5AgentGatewayNotFound
NewPutApi5AgentGatewayNotFound creates a PutApi5AgentGatewayNotFound with default headers values
func (*PutApi5AgentGatewayNotFound) Code ¶
func (o *PutApi5AgentGatewayNotFound) Code() int
Code gets the status code for the put api5 agent gateway not found response
func (*PutApi5AgentGatewayNotFound) Error ¶
func (o *PutApi5AgentGatewayNotFound) Error() string
func (*PutApi5AgentGatewayNotFound) GetPayload ¶
func (o *PutApi5AgentGatewayNotFound) GetPayload() interface{}
func (*PutApi5AgentGatewayNotFound) IsClientError ¶
func (o *PutApi5AgentGatewayNotFound) IsClientError() bool
IsClientError returns true when this put api5 agent gateway not found response has a 4xx status code
func (*PutApi5AgentGatewayNotFound) IsCode ¶
func (o *PutApi5AgentGatewayNotFound) IsCode(code int) bool
IsCode returns true when this put api5 agent gateway not found response a status code equal to that given
func (*PutApi5AgentGatewayNotFound) IsRedirect ¶
func (o *PutApi5AgentGatewayNotFound) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateway not found response has a 3xx status code
func (*PutApi5AgentGatewayNotFound) IsServerError ¶
func (o *PutApi5AgentGatewayNotFound) IsServerError() bool
IsServerError returns true when this put api5 agent gateway not found response has a 5xx status code
func (*PutApi5AgentGatewayNotFound) IsSuccess ¶
func (o *PutApi5AgentGatewayNotFound) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateway not found response has a 2xx status code
func (*PutApi5AgentGatewayNotFound) String ¶
func (o *PutApi5AgentGatewayNotFound) String() string
type PutApi5AgentGatewayOK ¶
type PutApi5AgentGatewayOK struct {
Payload *models.ModelsGateway
}
PutApi5AgentGatewayOK describes a response with status code 200, with default header values.
OK
func NewPutApi5AgentGatewayOK ¶
func NewPutApi5AgentGatewayOK() *PutApi5AgentGatewayOK
NewPutApi5AgentGatewayOK creates a PutApi5AgentGatewayOK with default headers values
func (*PutApi5AgentGatewayOK) Code ¶
func (o *PutApi5AgentGatewayOK) Code() int
Code gets the status code for the put api5 agent gateway o k response
func (*PutApi5AgentGatewayOK) Error ¶
func (o *PutApi5AgentGatewayOK) Error() string
func (*PutApi5AgentGatewayOK) GetPayload ¶
func (o *PutApi5AgentGatewayOK) GetPayload() *models.ModelsGateway
func (*PutApi5AgentGatewayOK) IsClientError ¶
func (o *PutApi5AgentGatewayOK) IsClientError() bool
IsClientError returns true when this put api5 agent gateway o k response has a 4xx status code
func (*PutApi5AgentGatewayOK) IsCode ¶
func (o *PutApi5AgentGatewayOK) IsCode(code int) bool
IsCode returns true when this put api5 agent gateway o k response a status code equal to that given
func (*PutApi5AgentGatewayOK) IsRedirect ¶
func (o *PutApi5AgentGatewayOK) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateway o k response has a 3xx status code
func (*PutApi5AgentGatewayOK) IsServerError ¶
func (o *PutApi5AgentGatewayOK) IsServerError() bool
IsServerError returns true when this put api5 agent gateway o k response has a 5xx status code
func (*PutApi5AgentGatewayOK) IsSuccess ¶
func (o *PutApi5AgentGatewayOK) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateway o k response has a 2xx status code
func (*PutApi5AgentGatewayOK) String ¶
func (o *PutApi5AgentGatewayOK) String() string