Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetAddressAgentBadRequest
- type GetAddressAgentOK
- type GetAddressAgentParams
- func NewGetAddressAgentParams() *GetAddressAgentParams
- func NewGetAddressAgentParamsWithContext(ctx context.Context) *GetAddressAgentParams
- func NewGetAddressAgentParamsWithHTTPClient(client *http.Client) *GetAddressAgentParams
- func NewGetAddressAgentParamsWithTimeout(timeout time.Duration) *GetAddressAgentParams
- func (o *GetAddressAgentParams) SetAgent(agent string)
- func (o *GetAddressAgentParams) SetContext(ctx context.Context)
- func (o *GetAddressAgentParams) SetHTTPClient(client *http.Client)
- func (o *GetAddressAgentParams) SetTimeout(timeout time.Duration)
- func (o *GetAddressAgentParams) WithAgent(agent string) *GetAddressAgentParams
- func (o *GetAddressAgentParams) WithContext(ctx context.Context) *GetAddressAgentParams
- func (o *GetAddressAgentParams) WithHTTPClient(client *http.Client) *GetAddressAgentParams
- func (o *GetAddressAgentParams) WithTimeout(timeout time.Duration) *GetAddressAgentParams
- func (o *GetAddressAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAddressAgentReader
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 address API
func (*Client) GetAddressAgent ¶
func (a *Client) GetAddressAgent(params *GetAddressAgentParams) (*GetAddressAgentOK, error)
GetAddressAgent gets agents ip
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAddressAgent(params *GetAddressAgentParams) (*GetAddressAgentOK, 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 address API client.
type GetAddressAgentBadRequest ¶
type GetAddressAgentBadRequest struct {
Payload *models.ResponseError
}
GetAddressAgentBadRequest handles this case with default header values.
Bad Request
func NewGetAddressAgentBadRequest ¶
func NewGetAddressAgentBadRequest() *GetAddressAgentBadRequest
NewGetAddressAgentBadRequest creates a GetAddressAgentBadRequest with default headers values
func (*GetAddressAgentBadRequest) Error ¶
func (o *GetAddressAgentBadRequest) Error() string
func (*GetAddressAgentBadRequest) GetPayload ¶
func (o *GetAddressAgentBadRequest) GetPayload() *models.ResponseError
type GetAddressAgentOK ¶
type GetAddressAgentOK struct {
Payload *models.RequestAgent
}
GetAddressAgentOK handles this case with default header values.
OK
func NewGetAddressAgentOK ¶
func NewGetAddressAgentOK() *GetAddressAgentOK
NewGetAddressAgentOK creates a GetAddressAgentOK with default headers values
func (*GetAddressAgentOK) Error ¶
func (o *GetAddressAgentOK) Error() string
func (*GetAddressAgentOK) GetPayload ¶
func (o *GetAddressAgentOK) GetPayload() *models.RequestAgent
type GetAddressAgentParams ¶
type GetAddressAgentParams struct { /*Agent*/ Agent string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAddressAgentParams contains all the parameters to send to the API endpoint for the get address agent operation typically these are written to a http.Request
func NewGetAddressAgentParams ¶
func NewGetAddressAgentParams() *GetAddressAgentParams
NewGetAddressAgentParams creates a new GetAddressAgentParams object with the default values initialized.
func NewGetAddressAgentParamsWithContext ¶
func NewGetAddressAgentParamsWithContext(ctx context.Context) *GetAddressAgentParams
NewGetAddressAgentParamsWithContext creates a new GetAddressAgentParams object with the default values initialized, and the ability to set a context for a request
func NewGetAddressAgentParamsWithHTTPClient ¶
func NewGetAddressAgentParamsWithHTTPClient(client *http.Client) *GetAddressAgentParams
NewGetAddressAgentParamsWithHTTPClient creates a new GetAddressAgentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAddressAgentParamsWithTimeout ¶
func NewGetAddressAgentParamsWithTimeout(timeout time.Duration) *GetAddressAgentParams
NewGetAddressAgentParamsWithTimeout creates a new GetAddressAgentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAddressAgentParams) SetAgent ¶
func (o *GetAddressAgentParams) SetAgent(agent string)
SetAgent adds the agent to the get address agent params
func (*GetAddressAgentParams) SetContext ¶
func (o *GetAddressAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the get address agent params
func (*GetAddressAgentParams) SetHTTPClient ¶
func (o *GetAddressAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get address agent params
func (*GetAddressAgentParams) SetTimeout ¶
func (o *GetAddressAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get address agent params
func (*GetAddressAgentParams) WithAgent ¶
func (o *GetAddressAgentParams) WithAgent(agent string) *GetAddressAgentParams
WithAgent adds the agent to the get address agent params
func (*GetAddressAgentParams) WithContext ¶
func (o *GetAddressAgentParams) WithContext(ctx context.Context) *GetAddressAgentParams
WithContext adds the context to the get address agent params
func (*GetAddressAgentParams) WithHTTPClient ¶
func (o *GetAddressAgentParams) WithHTTPClient(client *http.Client) *GetAddressAgentParams
WithHTTPClient adds the HTTPClient to the get address agent params
func (*GetAddressAgentParams) WithTimeout ¶
func (o *GetAddressAgentParams) WithTimeout(timeout time.Duration) *GetAddressAgentParams
WithTimeout adds the timeout to the get address agent params
func (*GetAddressAgentParams) WriteToRequest ¶
func (o *GetAddressAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAddressAgentReader ¶
type GetAddressAgentReader struct {
// contains filtered or unexported fields
}
GetAddressAgentReader is a Reader for the GetAddressAgent structure.
func (*GetAddressAgentReader) ReadResponse ¶
func (o *GetAddressAgentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.