Documentation
¶
Index ¶
- type Client
- func (a *Client) PutAPI5AgentBridges(params *PutAPI5AgentBridgesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutApi5AgentBridgesOK, *PutApi5AgentBridgesCreated, error)
- func (a *Client) PutAPI5AgentGateways(params *PutAPI5AgentGatewaysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutApi5AgentGatewaysOK, *PutApi5AgentGatewaysCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PutAPI5AgentBridgesParams
- func NewPutAPI5AgentBridgesParams() *PutAPI5AgentBridgesParams
- func NewPutAPI5AgentBridgesParamsWithContext(ctx context.Context) *PutAPI5AgentBridgesParams
- func NewPutAPI5AgentBridgesParamsWithHTTPClient(client *http.Client) *PutAPI5AgentBridgesParams
- func NewPutAPI5AgentBridgesParamsWithTimeout(timeout time.Duration) *PutAPI5AgentBridgesParams
- func (o *PutAPI5AgentBridgesParams) SetBridges(bridges []*models.ModelsBridge)
- func (o *PutAPI5AgentBridgesParams) SetContext(ctx context.Context)
- func (o *PutAPI5AgentBridgesParams) SetDefaults()
- func (o *PutAPI5AgentBridgesParams) SetHTTPClient(client *http.Client)
- func (o *PutAPI5AgentBridgesParams) SetTimeout(timeout time.Duration)
- func (o *PutAPI5AgentBridgesParams) WithBridges(bridges []*models.ModelsBridge) *PutAPI5AgentBridgesParams
- func (o *PutAPI5AgentBridgesParams) WithContext(ctx context.Context) *PutAPI5AgentBridgesParams
- func (o *PutAPI5AgentBridgesParams) WithDefaults() *PutAPI5AgentBridgesParams
- func (o *PutAPI5AgentBridgesParams) WithHTTPClient(client *http.Client) *PutAPI5AgentBridgesParams
- func (o *PutAPI5AgentBridgesParams) WithTimeout(timeout time.Duration) *PutAPI5AgentBridgesParams
- func (o *PutAPI5AgentBridgesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPI5AgentBridgesReader
- type PutAPI5AgentGatewaysParams
- func NewPutAPI5AgentGatewaysParams() *PutAPI5AgentGatewaysParams
- func NewPutAPI5AgentGatewaysParamsWithContext(ctx context.Context) *PutAPI5AgentGatewaysParams
- func NewPutAPI5AgentGatewaysParamsWithHTTPClient(client *http.Client) *PutAPI5AgentGatewaysParams
- func NewPutAPI5AgentGatewaysParamsWithTimeout(timeout time.Duration) *PutAPI5AgentGatewaysParams
- func (o *PutAPI5AgentGatewaysParams) SetContext(ctx context.Context)
- func (o *PutAPI5AgentGatewaysParams) SetDefaults()
- func (o *PutAPI5AgentGatewaysParams) SetGateways(gateways []*models.ModelsGateway)
- func (o *PutAPI5AgentGatewaysParams) SetHTTPClient(client *http.Client)
- func (o *PutAPI5AgentGatewaysParams) SetTimeout(timeout time.Duration)
- func (o *PutAPI5AgentGatewaysParams) WithContext(ctx context.Context) *PutAPI5AgentGatewaysParams
- func (o *PutAPI5AgentGatewaysParams) WithDefaults() *PutAPI5AgentGatewaysParams
- func (o *PutAPI5AgentGatewaysParams) WithGateways(gateways []*models.ModelsGateway) *PutAPI5AgentGatewaysParams
- func (o *PutAPI5AgentGatewaysParams) WithHTTPClient(client *http.Client) *PutAPI5AgentGatewaysParams
- func (o *PutAPI5AgentGatewaysParams) WithTimeout(timeout time.Duration) *PutAPI5AgentGatewaysParams
- func (o *PutAPI5AgentGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPI5AgentGatewaysReader
- type PutApi5AgentBridgesBadRequest
- func (o *PutApi5AgentBridgesBadRequest) Code() int
- func (o *PutApi5AgentBridgesBadRequest) Error() string
- func (o *PutApi5AgentBridgesBadRequest) GetPayload() interface{}
- func (o *PutApi5AgentBridgesBadRequest) IsClientError() bool
- func (o *PutApi5AgentBridgesBadRequest) IsCode(code int) bool
- func (o *PutApi5AgentBridgesBadRequest) IsRedirect() bool
- func (o *PutApi5AgentBridgesBadRequest) IsServerError() bool
- func (o *PutApi5AgentBridgesBadRequest) IsSuccess() bool
- func (o *PutApi5AgentBridgesBadRequest) String() string
- type PutApi5AgentBridgesCreated
- func (o *PutApi5AgentBridgesCreated) Code() int
- func (o *PutApi5AgentBridgesCreated) Error() string
- func (o *PutApi5AgentBridgesCreated) GetPayload() []*models.ModelsBridge
- func (o *PutApi5AgentBridgesCreated) IsClientError() bool
- func (o *PutApi5AgentBridgesCreated) IsCode(code int) bool
- func (o *PutApi5AgentBridgesCreated) IsRedirect() bool
- func (o *PutApi5AgentBridgesCreated) IsServerError() bool
- func (o *PutApi5AgentBridgesCreated) IsSuccess() bool
- func (o *PutApi5AgentBridgesCreated) String() string
- type PutApi5AgentBridgesInternalServerError
- func (o *PutApi5AgentBridgesInternalServerError) Code() int
- func (o *PutApi5AgentBridgesInternalServerError) Error() string
- func (o *PutApi5AgentBridgesInternalServerError) GetPayload() interface{}
- func (o *PutApi5AgentBridgesInternalServerError) IsClientError() bool
- func (o *PutApi5AgentBridgesInternalServerError) IsCode(code int) bool
- func (o *PutApi5AgentBridgesInternalServerError) IsRedirect() bool
- func (o *PutApi5AgentBridgesInternalServerError) IsServerError() bool
- func (o *PutApi5AgentBridgesInternalServerError) IsSuccess() bool
- func (o *PutApi5AgentBridgesInternalServerError) String() string
- type PutApi5AgentBridgesNotFound
- func (o *PutApi5AgentBridgesNotFound) Code() int
- func (o *PutApi5AgentBridgesNotFound) Error() string
- func (o *PutApi5AgentBridgesNotFound) GetPayload() interface{}
- func (o *PutApi5AgentBridgesNotFound) IsClientError() bool
- func (o *PutApi5AgentBridgesNotFound) IsCode(code int) bool
- func (o *PutApi5AgentBridgesNotFound) IsRedirect() bool
- func (o *PutApi5AgentBridgesNotFound) IsServerError() bool
- func (o *PutApi5AgentBridgesNotFound) IsSuccess() bool
- func (o *PutApi5AgentBridgesNotFound) String() string
- type PutApi5AgentBridgesOK
- func (o *PutApi5AgentBridgesOK) Code() int
- func (o *PutApi5AgentBridgesOK) Error() string
- func (o *PutApi5AgentBridgesOK) GetPayload() []*models.ModelsBridge
- func (o *PutApi5AgentBridgesOK) IsClientError() bool
- func (o *PutApi5AgentBridgesOK) IsCode(code int) bool
- func (o *PutApi5AgentBridgesOK) IsRedirect() bool
- func (o *PutApi5AgentBridgesOK) IsServerError() bool
- func (o *PutApi5AgentBridgesOK) IsSuccess() bool
- func (o *PutApi5AgentBridgesOK) String() string
- type PutApi5AgentGatewaysBadRequest
- func (o *PutApi5AgentGatewaysBadRequest) Code() int
- func (o *PutApi5AgentGatewaysBadRequest) Error() string
- func (o *PutApi5AgentGatewaysBadRequest) GetPayload() interface{}
- func (o *PutApi5AgentGatewaysBadRequest) IsClientError() bool
- func (o *PutApi5AgentGatewaysBadRequest) IsCode(code int) bool
- func (o *PutApi5AgentGatewaysBadRequest) IsRedirect() bool
- func (o *PutApi5AgentGatewaysBadRequest) IsServerError() bool
- func (o *PutApi5AgentGatewaysBadRequest) IsSuccess() bool
- func (o *PutApi5AgentGatewaysBadRequest) String() string
- type PutApi5AgentGatewaysCreated
- func (o *PutApi5AgentGatewaysCreated) Code() int
- func (o *PutApi5AgentGatewaysCreated) Error() string
- func (o *PutApi5AgentGatewaysCreated) GetPayload() []*models.ModelsGateway
- func (o *PutApi5AgentGatewaysCreated) IsClientError() bool
- func (o *PutApi5AgentGatewaysCreated) IsCode(code int) bool
- func (o *PutApi5AgentGatewaysCreated) IsRedirect() bool
- func (o *PutApi5AgentGatewaysCreated) IsServerError() bool
- func (o *PutApi5AgentGatewaysCreated) IsSuccess() bool
- func (o *PutApi5AgentGatewaysCreated) String() string
- type PutApi5AgentGatewaysInternalServerError
- func (o *PutApi5AgentGatewaysInternalServerError) Code() int
- func (o *PutApi5AgentGatewaysInternalServerError) Error() string
- func (o *PutApi5AgentGatewaysInternalServerError) GetPayload() interface{}
- func (o *PutApi5AgentGatewaysInternalServerError) IsClientError() bool
- func (o *PutApi5AgentGatewaysInternalServerError) IsCode(code int) bool
- func (o *PutApi5AgentGatewaysInternalServerError) IsRedirect() bool
- func (o *PutApi5AgentGatewaysInternalServerError) IsServerError() bool
- func (o *PutApi5AgentGatewaysInternalServerError) IsSuccess() bool
- func (o *PutApi5AgentGatewaysInternalServerError) String() string
- type PutApi5AgentGatewaysNotFound
- func (o *PutApi5AgentGatewaysNotFound) Code() int
- func (o *PutApi5AgentGatewaysNotFound) Error() string
- func (o *PutApi5AgentGatewaysNotFound) GetPayload() interface{}
- func (o *PutApi5AgentGatewaysNotFound) IsClientError() bool
- func (o *PutApi5AgentGatewaysNotFound) IsCode(code int) bool
- func (o *PutApi5AgentGatewaysNotFound) IsRedirect() bool
- func (o *PutApi5AgentGatewaysNotFound) IsServerError() bool
- func (o *PutApi5AgentGatewaysNotFound) IsSuccess() bool
- func (o *PutApi5AgentGatewaysNotFound) String() string
- type PutApi5AgentGatewaysOK
- func (o *PutApi5AgentGatewaysOK) Code() int
- func (o *PutApi5AgentGatewaysOK) Error() string
- func (o *PutApi5AgentGatewaysOK) GetPayload() []*models.ModelsGateway
- func (o *PutApi5AgentGatewaysOK) IsClientError() bool
- func (o *PutApi5AgentGatewaysOK) IsCode(code int) bool
- func (o *PutApi5AgentGatewaysOK) IsRedirect() bool
- func (o *PutApi5AgentGatewaysOK) IsServerError() bool
- func (o *PutApi5AgentGatewaysOK) IsSuccess() bool
- func (o *PutApi5AgentGatewaysOK) 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) PutAPI5AgentBridges ¶
func (a *Client) PutAPI5AgentBridges(params *PutAPI5AgentBridgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutApi5AgentBridgesOK, *PutApi5AgentBridgesCreated, error)
PutAPI5AgentBridges registers bridges
Register bridges. This endpoint allows "menshen agent" processes running on bridges to register themselves.
func (*Client) PutAPI5AgentGateways ¶
func (a *Client) PutAPI5AgentGateways(params *PutAPI5AgentGatewaysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutApi5AgentGatewaysOK, *PutApi5AgentGatewaysCreated, error)
PutAPI5AgentGateways registers gateways
Register gateways. 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 {
PutAPI5AgentBridges(params *PutAPI5AgentBridgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutApi5AgentBridgesOK, *PutApi5AgentBridgesCreated, error)
PutAPI5AgentGateways(params *PutAPI5AgentGatewaysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutApi5AgentGatewaysOK, *PutApi5AgentGatewaysCreated, 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 PutAPI5AgentBridgesParams ¶
type PutAPI5AgentBridgesParams struct {
/* Bridges.
bridges
*/
Bridges []*models.ModelsBridge
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPI5AgentBridgesParams contains all the parameters to send to the API endpoint
for the put API 5 agent bridges operation. Typically these are written to a http.Request.
func NewPutAPI5AgentBridgesParams ¶
func NewPutAPI5AgentBridgesParams() *PutAPI5AgentBridgesParams
NewPutAPI5AgentBridgesParams creates a new PutAPI5AgentBridgesParams 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 NewPutAPI5AgentBridgesParamsWithContext ¶
func NewPutAPI5AgentBridgesParamsWithContext(ctx context.Context) *PutAPI5AgentBridgesParams
NewPutAPI5AgentBridgesParamsWithContext creates a new PutAPI5AgentBridgesParams object with the ability to set a context for a request.
func NewPutAPI5AgentBridgesParamsWithHTTPClient ¶
func NewPutAPI5AgentBridgesParamsWithHTTPClient(client *http.Client) *PutAPI5AgentBridgesParams
NewPutAPI5AgentBridgesParamsWithHTTPClient creates a new PutAPI5AgentBridgesParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPI5AgentBridgesParamsWithTimeout ¶
func NewPutAPI5AgentBridgesParamsWithTimeout(timeout time.Duration) *PutAPI5AgentBridgesParams
NewPutAPI5AgentBridgesParamsWithTimeout creates a new PutAPI5AgentBridgesParams object with the ability to set a timeout on a request.
func (*PutAPI5AgentBridgesParams) SetBridges ¶
func (o *PutAPI5AgentBridgesParams) SetBridges(bridges []*models.ModelsBridge)
SetBridges adds the bridges to the put API 5 agent bridges params
func (*PutAPI5AgentBridgesParams) SetContext ¶
func (o *PutAPI5AgentBridgesParams) SetContext(ctx context.Context)
SetContext adds the context to the put API 5 agent bridges params
func (*PutAPI5AgentBridgesParams) SetDefaults ¶
func (o *PutAPI5AgentBridgesParams) SetDefaults()
SetDefaults hydrates default values in the put API 5 agent bridges params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPI5AgentBridgesParams) SetHTTPClient ¶
func (o *PutAPI5AgentBridgesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API 5 agent bridges params
func (*PutAPI5AgentBridgesParams) SetTimeout ¶
func (o *PutAPI5AgentBridgesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API 5 agent bridges params
func (*PutAPI5AgentBridgesParams) WithBridges ¶
func (o *PutAPI5AgentBridgesParams) WithBridges(bridges []*models.ModelsBridge) *PutAPI5AgentBridgesParams
WithBridges adds the bridges to the put API 5 agent bridges params
func (*PutAPI5AgentBridgesParams) WithContext ¶
func (o *PutAPI5AgentBridgesParams) WithContext(ctx context.Context) *PutAPI5AgentBridgesParams
WithContext adds the context to the put API 5 agent bridges params
func (*PutAPI5AgentBridgesParams) WithDefaults ¶
func (o *PutAPI5AgentBridgesParams) WithDefaults() *PutAPI5AgentBridgesParams
WithDefaults hydrates default values in the put API 5 agent bridges params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPI5AgentBridgesParams) WithHTTPClient ¶
func (o *PutAPI5AgentBridgesParams) WithHTTPClient(client *http.Client) *PutAPI5AgentBridgesParams
WithHTTPClient adds the HTTPClient to the put API 5 agent bridges params
func (*PutAPI5AgentBridgesParams) WithTimeout ¶
func (o *PutAPI5AgentBridgesParams) WithTimeout(timeout time.Duration) *PutAPI5AgentBridgesParams
WithTimeout adds the timeout to the put API 5 agent bridges params
func (*PutAPI5AgentBridgesParams) WriteToRequest ¶
func (o *PutAPI5AgentBridgesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPI5AgentBridgesReader ¶
type PutAPI5AgentBridgesReader struct {
// contains filtered or unexported fields
}
PutAPI5AgentBridgesReader is a Reader for the PutAPI5AgentBridges structure.
func (*PutAPI5AgentBridgesReader) ReadResponse ¶
func (o *PutAPI5AgentBridgesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutAPI5AgentGatewaysParams ¶
type PutAPI5AgentGatewaysParams struct {
/* Gateways.
gateways
*/
Gateways []*models.ModelsGateway
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPI5AgentGatewaysParams contains all the parameters to send to the API endpoint
for the put API 5 agent gateways operation. Typically these are written to a http.Request.
func NewPutAPI5AgentGatewaysParams ¶
func NewPutAPI5AgentGatewaysParams() *PutAPI5AgentGatewaysParams
NewPutAPI5AgentGatewaysParams creates a new PutAPI5AgentGatewaysParams 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 NewPutAPI5AgentGatewaysParamsWithContext ¶
func NewPutAPI5AgentGatewaysParamsWithContext(ctx context.Context) *PutAPI5AgentGatewaysParams
NewPutAPI5AgentGatewaysParamsWithContext creates a new PutAPI5AgentGatewaysParams object with the ability to set a context for a request.
func NewPutAPI5AgentGatewaysParamsWithHTTPClient ¶
func NewPutAPI5AgentGatewaysParamsWithHTTPClient(client *http.Client) *PutAPI5AgentGatewaysParams
NewPutAPI5AgentGatewaysParamsWithHTTPClient creates a new PutAPI5AgentGatewaysParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPI5AgentGatewaysParamsWithTimeout ¶
func NewPutAPI5AgentGatewaysParamsWithTimeout(timeout time.Duration) *PutAPI5AgentGatewaysParams
NewPutAPI5AgentGatewaysParamsWithTimeout creates a new PutAPI5AgentGatewaysParams object with the ability to set a timeout on a request.
func (*PutAPI5AgentGatewaysParams) SetContext ¶
func (o *PutAPI5AgentGatewaysParams) SetContext(ctx context.Context)
SetContext adds the context to the put API 5 agent gateways params
func (*PutAPI5AgentGatewaysParams) SetDefaults ¶
func (o *PutAPI5AgentGatewaysParams) SetDefaults()
SetDefaults hydrates default values in the put API 5 agent gateways params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPI5AgentGatewaysParams) SetGateways ¶
func (o *PutAPI5AgentGatewaysParams) SetGateways(gateways []*models.ModelsGateway)
SetGateways adds the gateways to the put API 5 agent gateways params
func (*PutAPI5AgentGatewaysParams) SetHTTPClient ¶
func (o *PutAPI5AgentGatewaysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API 5 agent gateways params
func (*PutAPI5AgentGatewaysParams) SetTimeout ¶
func (o *PutAPI5AgentGatewaysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API 5 agent gateways params
func (*PutAPI5AgentGatewaysParams) WithContext ¶
func (o *PutAPI5AgentGatewaysParams) WithContext(ctx context.Context) *PutAPI5AgentGatewaysParams
WithContext adds the context to the put API 5 agent gateways params
func (*PutAPI5AgentGatewaysParams) WithDefaults ¶
func (o *PutAPI5AgentGatewaysParams) WithDefaults() *PutAPI5AgentGatewaysParams
WithDefaults hydrates default values in the put API 5 agent gateways params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPI5AgentGatewaysParams) WithGateways ¶
func (o *PutAPI5AgentGatewaysParams) WithGateways(gateways []*models.ModelsGateway) *PutAPI5AgentGatewaysParams
WithGateways adds the gateways to the put API 5 agent gateways params
func (*PutAPI5AgentGatewaysParams) WithHTTPClient ¶
func (o *PutAPI5AgentGatewaysParams) WithHTTPClient(client *http.Client) *PutAPI5AgentGatewaysParams
WithHTTPClient adds the HTTPClient to the put API 5 agent gateways params
func (*PutAPI5AgentGatewaysParams) WithTimeout ¶
func (o *PutAPI5AgentGatewaysParams) WithTimeout(timeout time.Duration) *PutAPI5AgentGatewaysParams
WithTimeout adds the timeout to the put API 5 agent gateways params
func (*PutAPI5AgentGatewaysParams) WriteToRequest ¶
func (o *PutAPI5AgentGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPI5AgentGatewaysReader ¶
type PutAPI5AgentGatewaysReader struct {
// contains filtered or unexported fields
}
PutAPI5AgentGatewaysReader is a Reader for the PutAPI5AgentGateways structure.
func (*PutAPI5AgentGatewaysReader) ReadResponse ¶
func (o *PutAPI5AgentGatewaysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutApi5AgentBridgesBadRequest ¶
type PutApi5AgentBridgesBadRequest struct {
Payload interface{}
}
PutApi5AgentBridgesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutApi5AgentBridgesBadRequest ¶
func NewPutApi5AgentBridgesBadRequest() *PutApi5AgentBridgesBadRequest
NewPutApi5AgentBridgesBadRequest creates a PutApi5AgentBridgesBadRequest with default headers values
func (*PutApi5AgentBridgesBadRequest) Code ¶
func (o *PutApi5AgentBridgesBadRequest) Code() int
Code gets the status code for the put api5 agent bridges bad request response
func (*PutApi5AgentBridgesBadRequest) Error ¶
func (o *PutApi5AgentBridgesBadRequest) Error() string
func (*PutApi5AgentBridgesBadRequest) GetPayload ¶
func (o *PutApi5AgentBridgesBadRequest) GetPayload() interface{}
func (*PutApi5AgentBridgesBadRequest) IsClientError ¶
func (o *PutApi5AgentBridgesBadRequest) IsClientError() bool
IsClientError returns true when this put api5 agent bridges bad request response has a 4xx status code
func (*PutApi5AgentBridgesBadRequest) IsCode ¶
func (o *PutApi5AgentBridgesBadRequest) IsCode(code int) bool
IsCode returns true when this put api5 agent bridges bad request response a status code equal to that given
func (*PutApi5AgentBridgesBadRequest) IsRedirect ¶
func (o *PutApi5AgentBridgesBadRequest) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridges bad request response has a 3xx status code
func (*PutApi5AgentBridgesBadRequest) IsServerError ¶
func (o *PutApi5AgentBridgesBadRequest) IsServerError() bool
IsServerError returns true when this put api5 agent bridges bad request response has a 5xx status code
func (*PutApi5AgentBridgesBadRequest) IsSuccess ¶
func (o *PutApi5AgentBridgesBadRequest) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridges bad request response has a 2xx status code
func (*PutApi5AgentBridgesBadRequest) String ¶
func (o *PutApi5AgentBridgesBadRequest) String() string
type PutApi5AgentBridgesCreated ¶
type PutApi5AgentBridgesCreated struct {
Payload []*models.ModelsBridge
}
PutApi5AgentBridgesCreated describes a response with status code 201, with default header values.
Created
func NewPutApi5AgentBridgesCreated ¶
func NewPutApi5AgentBridgesCreated() *PutApi5AgentBridgesCreated
NewPutApi5AgentBridgesCreated creates a PutApi5AgentBridgesCreated with default headers values
func (*PutApi5AgentBridgesCreated) Code ¶
func (o *PutApi5AgentBridgesCreated) Code() int
Code gets the status code for the put api5 agent bridges created response
func (*PutApi5AgentBridgesCreated) Error ¶
func (o *PutApi5AgentBridgesCreated) Error() string
func (*PutApi5AgentBridgesCreated) GetPayload ¶
func (o *PutApi5AgentBridgesCreated) GetPayload() []*models.ModelsBridge
func (*PutApi5AgentBridgesCreated) IsClientError ¶
func (o *PutApi5AgentBridgesCreated) IsClientError() bool
IsClientError returns true when this put api5 agent bridges created response has a 4xx status code
func (*PutApi5AgentBridgesCreated) IsCode ¶
func (o *PutApi5AgentBridgesCreated) IsCode(code int) bool
IsCode returns true when this put api5 agent bridges created response a status code equal to that given
func (*PutApi5AgentBridgesCreated) IsRedirect ¶
func (o *PutApi5AgentBridgesCreated) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridges created response has a 3xx status code
func (*PutApi5AgentBridgesCreated) IsServerError ¶
func (o *PutApi5AgentBridgesCreated) IsServerError() bool
IsServerError returns true when this put api5 agent bridges created response has a 5xx status code
func (*PutApi5AgentBridgesCreated) IsSuccess ¶
func (o *PutApi5AgentBridgesCreated) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridges created response has a 2xx status code
func (*PutApi5AgentBridgesCreated) String ¶
func (o *PutApi5AgentBridgesCreated) String() string
type PutApi5AgentBridgesInternalServerError ¶
type PutApi5AgentBridgesInternalServerError struct {
Payload interface{}
}
PutApi5AgentBridgesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutApi5AgentBridgesInternalServerError ¶
func NewPutApi5AgentBridgesInternalServerError() *PutApi5AgentBridgesInternalServerError
NewPutApi5AgentBridgesInternalServerError creates a PutApi5AgentBridgesInternalServerError with default headers values
func (*PutApi5AgentBridgesInternalServerError) Code ¶
func (o *PutApi5AgentBridgesInternalServerError) Code() int
Code gets the status code for the put api5 agent bridges internal server error response
func (*PutApi5AgentBridgesInternalServerError) Error ¶
func (o *PutApi5AgentBridgesInternalServerError) Error() string
func (*PutApi5AgentBridgesInternalServerError) GetPayload ¶
func (o *PutApi5AgentBridgesInternalServerError) GetPayload() interface{}
func (*PutApi5AgentBridgesInternalServerError) IsClientError ¶
func (o *PutApi5AgentBridgesInternalServerError) IsClientError() bool
IsClientError returns true when this put api5 agent bridges internal server error response has a 4xx status code
func (*PutApi5AgentBridgesInternalServerError) IsCode ¶
func (o *PutApi5AgentBridgesInternalServerError) IsCode(code int) bool
IsCode returns true when this put api5 agent bridges internal server error response a status code equal to that given
func (*PutApi5AgentBridgesInternalServerError) IsRedirect ¶
func (o *PutApi5AgentBridgesInternalServerError) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridges internal server error response has a 3xx status code
func (*PutApi5AgentBridgesInternalServerError) IsServerError ¶
func (o *PutApi5AgentBridgesInternalServerError) IsServerError() bool
IsServerError returns true when this put api5 agent bridges internal server error response has a 5xx status code
func (*PutApi5AgentBridgesInternalServerError) IsSuccess ¶
func (o *PutApi5AgentBridgesInternalServerError) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridges internal server error response has a 2xx status code
func (*PutApi5AgentBridgesInternalServerError) String ¶
func (o *PutApi5AgentBridgesInternalServerError) String() string
type PutApi5AgentBridgesNotFound ¶
type PutApi5AgentBridgesNotFound struct {
Payload interface{}
}
PutApi5AgentBridgesNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutApi5AgentBridgesNotFound ¶
func NewPutApi5AgentBridgesNotFound() *PutApi5AgentBridgesNotFound
NewPutApi5AgentBridgesNotFound creates a PutApi5AgentBridgesNotFound with default headers values
func (*PutApi5AgentBridgesNotFound) Code ¶
func (o *PutApi5AgentBridgesNotFound) Code() int
Code gets the status code for the put api5 agent bridges not found response
func (*PutApi5AgentBridgesNotFound) Error ¶
func (o *PutApi5AgentBridgesNotFound) Error() string
func (*PutApi5AgentBridgesNotFound) GetPayload ¶
func (o *PutApi5AgentBridgesNotFound) GetPayload() interface{}
func (*PutApi5AgentBridgesNotFound) IsClientError ¶
func (o *PutApi5AgentBridgesNotFound) IsClientError() bool
IsClientError returns true when this put api5 agent bridges not found response has a 4xx status code
func (*PutApi5AgentBridgesNotFound) IsCode ¶
func (o *PutApi5AgentBridgesNotFound) IsCode(code int) bool
IsCode returns true when this put api5 agent bridges not found response a status code equal to that given
func (*PutApi5AgentBridgesNotFound) IsRedirect ¶
func (o *PutApi5AgentBridgesNotFound) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridges not found response has a 3xx status code
func (*PutApi5AgentBridgesNotFound) IsServerError ¶
func (o *PutApi5AgentBridgesNotFound) IsServerError() bool
IsServerError returns true when this put api5 agent bridges not found response has a 5xx status code
func (*PutApi5AgentBridgesNotFound) IsSuccess ¶
func (o *PutApi5AgentBridgesNotFound) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridges not found response has a 2xx status code
func (*PutApi5AgentBridgesNotFound) String ¶
func (o *PutApi5AgentBridgesNotFound) String() string
type PutApi5AgentBridgesOK ¶
type PutApi5AgentBridgesOK struct {
Payload []*models.ModelsBridge
}
PutApi5AgentBridgesOK describes a response with status code 200, with default header values.
OK
func NewPutApi5AgentBridgesOK ¶
func NewPutApi5AgentBridgesOK() *PutApi5AgentBridgesOK
NewPutApi5AgentBridgesOK creates a PutApi5AgentBridgesOK with default headers values
func (*PutApi5AgentBridgesOK) Code ¶
func (o *PutApi5AgentBridgesOK) Code() int
Code gets the status code for the put api5 agent bridges o k response
func (*PutApi5AgentBridgesOK) Error ¶
func (o *PutApi5AgentBridgesOK) Error() string
func (*PutApi5AgentBridgesOK) GetPayload ¶
func (o *PutApi5AgentBridgesOK) GetPayload() []*models.ModelsBridge
func (*PutApi5AgentBridgesOK) IsClientError ¶
func (o *PutApi5AgentBridgesOK) IsClientError() bool
IsClientError returns true when this put api5 agent bridges o k response has a 4xx status code
func (*PutApi5AgentBridgesOK) IsCode ¶
func (o *PutApi5AgentBridgesOK) IsCode(code int) bool
IsCode returns true when this put api5 agent bridges o k response a status code equal to that given
func (*PutApi5AgentBridgesOK) IsRedirect ¶
func (o *PutApi5AgentBridgesOK) IsRedirect() bool
IsRedirect returns true when this put api5 agent bridges o k response has a 3xx status code
func (*PutApi5AgentBridgesOK) IsServerError ¶
func (o *PutApi5AgentBridgesOK) IsServerError() bool
IsServerError returns true when this put api5 agent bridges o k response has a 5xx status code
func (*PutApi5AgentBridgesOK) IsSuccess ¶
func (o *PutApi5AgentBridgesOK) IsSuccess() bool
IsSuccess returns true when this put api5 agent bridges o k response has a 2xx status code
func (*PutApi5AgentBridgesOK) String ¶
func (o *PutApi5AgentBridgesOK) String() string
type PutApi5AgentGatewaysBadRequest ¶
type PutApi5AgentGatewaysBadRequest struct {
Payload interface{}
}
PutApi5AgentGatewaysBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutApi5AgentGatewaysBadRequest ¶
func NewPutApi5AgentGatewaysBadRequest() *PutApi5AgentGatewaysBadRequest
NewPutApi5AgentGatewaysBadRequest creates a PutApi5AgentGatewaysBadRequest with default headers values
func (*PutApi5AgentGatewaysBadRequest) Code ¶
func (o *PutApi5AgentGatewaysBadRequest) Code() int
Code gets the status code for the put api5 agent gateways bad request response
func (*PutApi5AgentGatewaysBadRequest) Error ¶
func (o *PutApi5AgentGatewaysBadRequest) Error() string
func (*PutApi5AgentGatewaysBadRequest) GetPayload ¶
func (o *PutApi5AgentGatewaysBadRequest) GetPayload() interface{}
func (*PutApi5AgentGatewaysBadRequest) IsClientError ¶
func (o *PutApi5AgentGatewaysBadRequest) IsClientError() bool
IsClientError returns true when this put api5 agent gateways bad request response has a 4xx status code
func (*PutApi5AgentGatewaysBadRequest) IsCode ¶
func (o *PutApi5AgentGatewaysBadRequest) IsCode(code int) bool
IsCode returns true when this put api5 agent gateways bad request response a status code equal to that given
func (*PutApi5AgentGatewaysBadRequest) IsRedirect ¶
func (o *PutApi5AgentGatewaysBadRequest) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateways bad request response has a 3xx status code
func (*PutApi5AgentGatewaysBadRequest) IsServerError ¶
func (o *PutApi5AgentGatewaysBadRequest) IsServerError() bool
IsServerError returns true when this put api5 agent gateways bad request response has a 5xx status code
func (*PutApi5AgentGatewaysBadRequest) IsSuccess ¶
func (o *PutApi5AgentGatewaysBadRequest) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateways bad request response has a 2xx status code
func (*PutApi5AgentGatewaysBadRequest) String ¶
func (o *PutApi5AgentGatewaysBadRequest) String() string
type PutApi5AgentGatewaysCreated ¶
type PutApi5AgentGatewaysCreated struct {
Payload []*models.ModelsGateway
}
PutApi5AgentGatewaysCreated describes a response with status code 201, with default header values.
Created
func NewPutApi5AgentGatewaysCreated ¶
func NewPutApi5AgentGatewaysCreated() *PutApi5AgentGatewaysCreated
NewPutApi5AgentGatewaysCreated creates a PutApi5AgentGatewaysCreated with default headers values
func (*PutApi5AgentGatewaysCreated) Code ¶
func (o *PutApi5AgentGatewaysCreated) Code() int
Code gets the status code for the put api5 agent gateways created response
func (*PutApi5AgentGatewaysCreated) Error ¶
func (o *PutApi5AgentGatewaysCreated) Error() string
func (*PutApi5AgentGatewaysCreated) GetPayload ¶
func (o *PutApi5AgentGatewaysCreated) GetPayload() []*models.ModelsGateway
func (*PutApi5AgentGatewaysCreated) IsClientError ¶
func (o *PutApi5AgentGatewaysCreated) IsClientError() bool
IsClientError returns true when this put api5 agent gateways created response has a 4xx status code
func (*PutApi5AgentGatewaysCreated) IsCode ¶
func (o *PutApi5AgentGatewaysCreated) IsCode(code int) bool
IsCode returns true when this put api5 agent gateways created response a status code equal to that given
func (*PutApi5AgentGatewaysCreated) IsRedirect ¶
func (o *PutApi5AgentGatewaysCreated) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateways created response has a 3xx status code
func (*PutApi5AgentGatewaysCreated) IsServerError ¶
func (o *PutApi5AgentGatewaysCreated) IsServerError() bool
IsServerError returns true when this put api5 agent gateways created response has a 5xx status code
func (*PutApi5AgentGatewaysCreated) IsSuccess ¶
func (o *PutApi5AgentGatewaysCreated) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateways created response has a 2xx status code
func (*PutApi5AgentGatewaysCreated) String ¶
func (o *PutApi5AgentGatewaysCreated) String() string
type PutApi5AgentGatewaysInternalServerError ¶
type PutApi5AgentGatewaysInternalServerError struct {
Payload interface{}
}
PutApi5AgentGatewaysInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutApi5AgentGatewaysInternalServerError ¶
func NewPutApi5AgentGatewaysInternalServerError() *PutApi5AgentGatewaysInternalServerError
NewPutApi5AgentGatewaysInternalServerError creates a PutApi5AgentGatewaysInternalServerError with default headers values
func (*PutApi5AgentGatewaysInternalServerError) Code ¶
func (o *PutApi5AgentGatewaysInternalServerError) Code() int
Code gets the status code for the put api5 agent gateways internal server error response
func (*PutApi5AgentGatewaysInternalServerError) Error ¶
func (o *PutApi5AgentGatewaysInternalServerError) Error() string
func (*PutApi5AgentGatewaysInternalServerError) GetPayload ¶
func (o *PutApi5AgentGatewaysInternalServerError) GetPayload() interface{}
func (*PutApi5AgentGatewaysInternalServerError) IsClientError ¶
func (o *PutApi5AgentGatewaysInternalServerError) IsClientError() bool
IsClientError returns true when this put api5 agent gateways internal server error response has a 4xx status code
func (*PutApi5AgentGatewaysInternalServerError) IsCode ¶
func (o *PutApi5AgentGatewaysInternalServerError) IsCode(code int) bool
IsCode returns true when this put api5 agent gateways internal server error response a status code equal to that given
func (*PutApi5AgentGatewaysInternalServerError) IsRedirect ¶
func (o *PutApi5AgentGatewaysInternalServerError) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateways internal server error response has a 3xx status code
func (*PutApi5AgentGatewaysInternalServerError) IsServerError ¶
func (o *PutApi5AgentGatewaysInternalServerError) IsServerError() bool
IsServerError returns true when this put api5 agent gateways internal server error response has a 5xx status code
func (*PutApi5AgentGatewaysInternalServerError) IsSuccess ¶
func (o *PutApi5AgentGatewaysInternalServerError) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateways internal server error response has a 2xx status code
func (*PutApi5AgentGatewaysInternalServerError) String ¶
func (o *PutApi5AgentGatewaysInternalServerError) String() string
type PutApi5AgentGatewaysNotFound ¶
type PutApi5AgentGatewaysNotFound struct {
Payload interface{}
}
PutApi5AgentGatewaysNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutApi5AgentGatewaysNotFound ¶
func NewPutApi5AgentGatewaysNotFound() *PutApi5AgentGatewaysNotFound
NewPutApi5AgentGatewaysNotFound creates a PutApi5AgentGatewaysNotFound with default headers values
func (*PutApi5AgentGatewaysNotFound) Code ¶
func (o *PutApi5AgentGatewaysNotFound) Code() int
Code gets the status code for the put api5 agent gateways not found response
func (*PutApi5AgentGatewaysNotFound) Error ¶
func (o *PutApi5AgentGatewaysNotFound) Error() string
func (*PutApi5AgentGatewaysNotFound) GetPayload ¶
func (o *PutApi5AgentGatewaysNotFound) GetPayload() interface{}
func (*PutApi5AgentGatewaysNotFound) IsClientError ¶
func (o *PutApi5AgentGatewaysNotFound) IsClientError() bool
IsClientError returns true when this put api5 agent gateways not found response has a 4xx status code
func (*PutApi5AgentGatewaysNotFound) IsCode ¶
func (o *PutApi5AgentGatewaysNotFound) IsCode(code int) bool
IsCode returns true when this put api5 agent gateways not found response a status code equal to that given
func (*PutApi5AgentGatewaysNotFound) IsRedirect ¶
func (o *PutApi5AgentGatewaysNotFound) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateways not found response has a 3xx status code
func (*PutApi5AgentGatewaysNotFound) IsServerError ¶
func (o *PutApi5AgentGatewaysNotFound) IsServerError() bool
IsServerError returns true when this put api5 agent gateways not found response has a 5xx status code
func (*PutApi5AgentGatewaysNotFound) IsSuccess ¶
func (o *PutApi5AgentGatewaysNotFound) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateways not found response has a 2xx status code
func (*PutApi5AgentGatewaysNotFound) String ¶
func (o *PutApi5AgentGatewaysNotFound) String() string
type PutApi5AgentGatewaysOK ¶
type PutApi5AgentGatewaysOK struct {
Payload []*models.ModelsGateway
}
PutApi5AgentGatewaysOK describes a response with status code 200, with default header values.
OK
func NewPutApi5AgentGatewaysOK ¶
func NewPutApi5AgentGatewaysOK() *PutApi5AgentGatewaysOK
NewPutApi5AgentGatewaysOK creates a PutApi5AgentGatewaysOK with default headers values
func (*PutApi5AgentGatewaysOK) Code ¶
func (o *PutApi5AgentGatewaysOK) Code() int
Code gets the status code for the put api5 agent gateways o k response
func (*PutApi5AgentGatewaysOK) Error ¶
func (o *PutApi5AgentGatewaysOK) Error() string
func (*PutApi5AgentGatewaysOK) GetPayload ¶
func (o *PutApi5AgentGatewaysOK) GetPayload() []*models.ModelsGateway
func (*PutApi5AgentGatewaysOK) IsClientError ¶
func (o *PutApi5AgentGatewaysOK) IsClientError() bool
IsClientError returns true when this put api5 agent gateways o k response has a 4xx status code
func (*PutApi5AgentGatewaysOK) IsCode ¶
func (o *PutApi5AgentGatewaysOK) IsCode(code int) bool
IsCode returns true when this put api5 agent gateways o k response a status code equal to that given
func (*PutApi5AgentGatewaysOK) IsRedirect ¶
func (o *PutApi5AgentGatewaysOK) IsRedirect() bool
IsRedirect returns true when this put api5 agent gateways o k response has a 3xx status code
func (*PutApi5AgentGatewaysOK) IsServerError ¶
func (o *PutApi5AgentGatewaysOK) IsServerError() bool
IsServerError returns true when this put api5 agent gateways o k response has a 5xx status code
func (*PutApi5AgentGatewaysOK) IsSuccess ¶
func (o *PutApi5AgentGatewaysOK) IsSuccess() bool
IsSuccess returns true when this put api5 agent gateways o k response has a 2xx status code
func (*PutApi5AgentGatewaysOK) String ¶
func (o *PutApi5AgentGatewaysOK) String() string
Source Files
¶
- agent_client.go
- put_api_5_agent_bridges_parameters.go
- put_api_5_agent_bridges_responses.go
- put_api_5_agent_gateways_parameters.go
- put_api_5_agent_gateways_responses.go