Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetDefiInfoUsingGETForbidden
- type GetDefiInfoUsingGETNotFound
- type GetDefiInfoUsingGETOK
- type GetDefiInfoUsingGETParams
- func NewGetDefiInfoUsingGETParams() *GetDefiInfoUsingGETParams
- func NewGetDefiInfoUsingGETParamsWithContext(ctx context.Context) *GetDefiInfoUsingGETParams
- func NewGetDefiInfoUsingGETParamsWithHTTPClient(client *http.Client) *GetDefiInfoUsingGETParams
- func NewGetDefiInfoUsingGETParamsWithTimeout(timeout time.Duration) *GetDefiInfoUsingGETParams
- func (o *GetDefiInfoUsingGETParams) SetAuthorization(authorization *string)
- func (o *GetDefiInfoUsingGETParams) SetChainID(chainID string)
- func (o *GetDefiInfoUsingGETParams) SetContext(ctx context.Context)
- func (o *GetDefiInfoUsingGETParams) SetContractAddresses(contractAddresses string)
- func (o *GetDefiInfoUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetDefiInfoUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetDefiInfoUsingGETParams) WithAuthorization(authorization *string) *GetDefiInfoUsingGETParams
- func (o *GetDefiInfoUsingGETParams) WithChainID(chainID string) *GetDefiInfoUsingGETParams
- func (o *GetDefiInfoUsingGETParams) WithContext(ctx context.Context) *GetDefiInfoUsingGETParams
- func (o *GetDefiInfoUsingGETParams) WithContractAddresses(contractAddresses string) *GetDefiInfoUsingGETParams
- func (o *GetDefiInfoUsingGETParams) WithHTTPClient(client *http.Client) *GetDefiInfoUsingGETParams
- func (o *GetDefiInfoUsingGETParams) WithTimeout(timeout time.Duration) *GetDefiInfoUsingGETParams
- func (o *GetDefiInfoUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefiInfoUsingGETReader
- type GetDefiInfoUsingGETUnauthorized
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 defi controller API
func (*Client) GetDefiInfoUsingGET ¶
func (a *Client) GetDefiInfoUsingGET(params *GetDefiInfoUsingGETParams) (*GetDefiInfoUsingGETOK, error)
GetDefiInfoUsingGET rugs pull detection API beta
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetDefiInfoUsingGET(params *GetDefiInfoUsingGETParams) (*GetDefiInfoUsingGETOK, 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 defi controller API client.
type GetDefiInfoUsingGETForbidden ¶
type GetDefiInfoUsingGETForbidden struct { }
GetDefiInfoUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetDefiInfoUsingGETForbidden ¶
func NewGetDefiInfoUsingGETForbidden() *GetDefiInfoUsingGETForbidden
NewGetDefiInfoUsingGETForbidden creates a GetDefiInfoUsingGETForbidden with default headers values
func (*GetDefiInfoUsingGETForbidden) Error ¶
func (o *GetDefiInfoUsingGETForbidden) Error() string
type GetDefiInfoUsingGETNotFound ¶
type GetDefiInfoUsingGETNotFound struct { }
GetDefiInfoUsingGETNotFound handles this case with default header values.
Not Found
func NewGetDefiInfoUsingGETNotFound ¶
func NewGetDefiInfoUsingGETNotFound() *GetDefiInfoUsingGETNotFound
NewGetDefiInfoUsingGETNotFound creates a GetDefiInfoUsingGETNotFound with default headers values
func (*GetDefiInfoUsingGETNotFound) Error ¶
func (o *GetDefiInfoUsingGETNotFound) Error() string
type GetDefiInfoUsingGETOK ¶
type GetDefiInfoUsingGETOK struct {
Payload *models.GetDefiInfoResponse
}
GetDefiInfoUsingGETOK handles this case with default header values.
OK
func NewGetDefiInfoUsingGETOK ¶
func NewGetDefiInfoUsingGETOK() *GetDefiInfoUsingGETOK
NewGetDefiInfoUsingGETOK creates a GetDefiInfoUsingGETOK with default headers values
func (*GetDefiInfoUsingGETOK) Error ¶
func (o *GetDefiInfoUsingGETOK) Error() string
func (*GetDefiInfoUsingGETOK) GetPayload ¶
func (o *GetDefiInfoUsingGETOK) GetPayload() *models.GetDefiInfoResponse
type GetDefiInfoUsingGETParams ¶
type GetDefiInfoUsingGETParams struct { /*Authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) */ Authorization *string /*ChainID Chain id, (eth: 1, bsc: 56) */ ChainID string /*ContractAddresses Defi protocol address */ ContractAddresses string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDefiInfoUsingGETParams contains all the parameters to send to the API endpoint for the get defi info using g e t operation typically these are written to a http.Request
func NewGetDefiInfoUsingGETParams ¶
func NewGetDefiInfoUsingGETParams() *GetDefiInfoUsingGETParams
NewGetDefiInfoUsingGETParams creates a new GetDefiInfoUsingGETParams object with the default values initialized.
func NewGetDefiInfoUsingGETParamsWithContext ¶
func NewGetDefiInfoUsingGETParamsWithContext(ctx context.Context) *GetDefiInfoUsingGETParams
NewGetDefiInfoUsingGETParamsWithContext creates a new GetDefiInfoUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetDefiInfoUsingGETParamsWithHTTPClient ¶
func NewGetDefiInfoUsingGETParamsWithHTTPClient(client *http.Client) *GetDefiInfoUsingGETParams
NewGetDefiInfoUsingGETParamsWithHTTPClient creates a new GetDefiInfoUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDefiInfoUsingGETParamsWithTimeout ¶
func NewGetDefiInfoUsingGETParamsWithTimeout(timeout time.Duration) *GetDefiInfoUsingGETParams
NewGetDefiInfoUsingGETParamsWithTimeout creates a new GetDefiInfoUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDefiInfoUsingGETParams) SetAuthorization ¶
func (o *GetDefiInfoUsingGETParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) SetChainID ¶
func (o *GetDefiInfoUsingGETParams) SetChainID(chainID string)
SetChainID adds the chainId to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) SetContext ¶
func (o *GetDefiInfoUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) SetContractAddresses ¶
func (o *GetDefiInfoUsingGETParams) SetContractAddresses(contractAddresses string)
SetContractAddresses adds the contractAddresses to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) SetHTTPClient ¶
func (o *GetDefiInfoUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) SetTimeout ¶
func (o *GetDefiInfoUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) WithAuthorization ¶
func (o *GetDefiInfoUsingGETParams) WithAuthorization(authorization *string) *GetDefiInfoUsingGETParams
WithAuthorization adds the authorization to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) WithChainID ¶
func (o *GetDefiInfoUsingGETParams) WithChainID(chainID string) *GetDefiInfoUsingGETParams
WithChainID adds the chainID to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) WithContext ¶
func (o *GetDefiInfoUsingGETParams) WithContext(ctx context.Context) *GetDefiInfoUsingGETParams
WithContext adds the context to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) WithContractAddresses ¶
func (o *GetDefiInfoUsingGETParams) WithContractAddresses(contractAddresses string) *GetDefiInfoUsingGETParams
WithContractAddresses adds the contractAddresses to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) WithHTTPClient ¶
func (o *GetDefiInfoUsingGETParams) WithHTTPClient(client *http.Client) *GetDefiInfoUsingGETParams
WithHTTPClient adds the HTTPClient to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) WithTimeout ¶
func (o *GetDefiInfoUsingGETParams) WithTimeout(timeout time.Duration) *GetDefiInfoUsingGETParams
WithTimeout adds the timeout to the get defi info using g e t params
func (*GetDefiInfoUsingGETParams) WriteToRequest ¶
func (o *GetDefiInfoUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDefiInfoUsingGETReader ¶
type GetDefiInfoUsingGETReader struct {
// contains filtered or unexported fields
}
GetDefiInfoUsingGETReader is a Reader for the GetDefiInfoUsingGET structure.
func (*GetDefiInfoUsingGETReader) ReadResponse ¶
func (o *GetDefiInfoUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDefiInfoUsingGETUnauthorized ¶
type GetDefiInfoUsingGETUnauthorized struct { }
GetDefiInfoUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetDefiInfoUsingGETUnauthorized ¶
func NewGetDefiInfoUsingGETUnauthorized() *GetDefiInfoUsingGETUnauthorized
NewGetDefiInfoUsingGETUnauthorized creates a GetDefiInfoUsingGETUnauthorized with default headers values
func (*GetDefiInfoUsingGETUnauthorized) Error ¶
func (o *GetDefiInfoUsingGETUnauthorized) Error() string