Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetChainsListUsingGETForbidden
- type GetChainsListUsingGETNotFound
- type GetChainsListUsingGETOK
- type GetChainsListUsingGETParams
- func NewGetChainsListUsingGETParams() *GetChainsListUsingGETParams
- func NewGetChainsListUsingGETParamsWithContext(ctx context.Context) *GetChainsListUsingGETParams
- func NewGetChainsListUsingGETParamsWithHTTPClient(client *http.Client) *GetChainsListUsingGETParams
- func NewGetChainsListUsingGETParamsWithTimeout(timeout time.Duration) *GetChainsListUsingGETParams
- func (o *GetChainsListUsingGETParams) SetAuthorization(authorization *string)
- func (o *GetChainsListUsingGETParams) SetContext(ctx context.Context)
- func (o *GetChainsListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetChainsListUsingGETParams) SetName(name *string)
- func (o *GetChainsListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetChainsListUsingGETParams) WithAuthorization(authorization *string) *GetChainsListUsingGETParams
- func (o *GetChainsListUsingGETParams) WithContext(ctx context.Context) *GetChainsListUsingGETParams
- func (o *GetChainsListUsingGETParams) WithHTTPClient(client *http.Client) *GetChainsListUsingGETParams
- func (o *GetChainsListUsingGETParams) WithName(name *string) *GetChainsListUsingGETParams
- func (o *GetChainsListUsingGETParams) WithTimeout(timeout time.Duration) *GetChainsListUsingGETParams
- func (o *GetChainsListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChainsListUsingGETReader
- type GetChainsListUsingGETUnauthorized
- type TokenSecurityUsingGET1Forbidden
- type TokenSecurityUsingGET1NotFound
- type TokenSecurityUsingGET1OK
- type TokenSecurityUsingGET1Params
- func NewTokenSecurityUsingGET1Params() *TokenSecurityUsingGET1Params
- func NewTokenSecurityUsingGET1ParamsWithContext(ctx context.Context) *TokenSecurityUsingGET1Params
- func NewTokenSecurityUsingGET1ParamsWithHTTPClient(client *http.Client) *TokenSecurityUsingGET1Params
- func NewTokenSecurityUsingGET1ParamsWithTimeout(timeout time.Duration) *TokenSecurityUsingGET1Params
- func (o *TokenSecurityUsingGET1Params) SetAuthorization(authorization *string)
- func (o *TokenSecurityUsingGET1Params) SetChainID(chainID string)
- func (o *TokenSecurityUsingGET1Params) SetContext(ctx context.Context)
- func (o *TokenSecurityUsingGET1Params) SetContractAddresses(contractAddresses string)
- func (o *TokenSecurityUsingGET1Params) SetHTTPClient(client *http.Client)
- func (o *TokenSecurityUsingGET1Params) SetTimeout(timeout time.Duration)
- func (o *TokenSecurityUsingGET1Params) WithAuthorization(authorization *string) *TokenSecurityUsingGET1Params
- func (o *TokenSecurityUsingGET1Params) WithChainID(chainID string) *TokenSecurityUsingGET1Params
- func (o *TokenSecurityUsingGET1Params) WithContext(ctx context.Context) *TokenSecurityUsingGET1Params
- func (o *TokenSecurityUsingGET1Params) WithContractAddresses(contractAddresses string) *TokenSecurityUsingGET1Params
- func (o *TokenSecurityUsingGET1Params) WithHTTPClient(client *http.Client) *TokenSecurityUsingGET1Params
- func (o *TokenSecurityUsingGET1Params) WithTimeout(timeout time.Duration) *TokenSecurityUsingGET1Params
- func (o *TokenSecurityUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokenSecurityUsingGET1Reader
- type TokenSecurityUsingGET1Unauthorized
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 token controller v 1 API
func (*Client) GetChainsListUsingGET ¶
func (a *Client) GetChainsListUsingGET(params *GetChainsListUsingGETParams) (*GetChainsListUsingGETOK, error)
GetChainsListUsingGET gets the list of chains supported by different functions
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TokenSecurityUsingGET1 ¶
func (a *Client) TokenSecurityUsingGET1(params *TokenSecurityUsingGET1Params) (*TokenSecurityUsingGET1OK, error)
TokenSecurityUsingGET1 gets token s security and risk data
type ClientService ¶
type ClientService interface { GetChainsListUsingGET(params *GetChainsListUsingGETParams) (*GetChainsListUsingGETOK, error) TokenSecurityUsingGET1(params *TokenSecurityUsingGET1Params) (*TokenSecurityUsingGET1OK, 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 token controller v 1 API client.
type GetChainsListUsingGETForbidden ¶
type GetChainsListUsingGETForbidden struct { }
GetChainsListUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetChainsListUsingGETForbidden ¶
func NewGetChainsListUsingGETForbidden() *GetChainsListUsingGETForbidden
NewGetChainsListUsingGETForbidden creates a GetChainsListUsingGETForbidden with default headers values
func (*GetChainsListUsingGETForbidden) Error ¶
func (o *GetChainsListUsingGETForbidden) Error() string
type GetChainsListUsingGETNotFound ¶
type GetChainsListUsingGETNotFound struct { }
GetChainsListUsingGETNotFound handles this case with default header values.
Not Found
func NewGetChainsListUsingGETNotFound ¶
func NewGetChainsListUsingGETNotFound() *GetChainsListUsingGETNotFound
NewGetChainsListUsingGETNotFound creates a GetChainsListUsingGETNotFound with default headers values
func (*GetChainsListUsingGETNotFound) Error ¶
func (o *GetChainsListUsingGETNotFound) Error() string
type GetChainsListUsingGETOK ¶
type GetChainsListUsingGETOK struct {
Payload *models.ResponseWrapperListGetChainsList
}
GetChainsListUsingGETOK handles this case with default header values.
OK
func NewGetChainsListUsingGETOK ¶
func NewGetChainsListUsingGETOK() *GetChainsListUsingGETOK
NewGetChainsListUsingGETOK creates a GetChainsListUsingGETOK with default headers values
func (*GetChainsListUsingGETOK) Error ¶
func (o *GetChainsListUsingGETOK) Error() string
func (*GetChainsListUsingGETOK) GetPayload ¶
func (o *GetChainsListUsingGETOK) GetPayload() *models.ResponseWrapperListGetChainsList
type GetChainsListUsingGETParams ¶
type GetChainsListUsingGETParams struct { /*Authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) */ Authorization *string /*Name API name. */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChainsListUsingGETParams contains all the parameters to send to the API endpoint for the get chains list using g e t operation typically these are written to a http.Request
func NewGetChainsListUsingGETParams ¶
func NewGetChainsListUsingGETParams() *GetChainsListUsingGETParams
NewGetChainsListUsingGETParams creates a new GetChainsListUsingGETParams object with the default values initialized.
func NewGetChainsListUsingGETParamsWithContext ¶
func NewGetChainsListUsingGETParamsWithContext(ctx context.Context) *GetChainsListUsingGETParams
NewGetChainsListUsingGETParamsWithContext creates a new GetChainsListUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetChainsListUsingGETParamsWithHTTPClient ¶
func NewGetChainsListUsingGETParamsWithHTTPClient(client *http.Client) *GetChainsListUsingGETParams
NewGetChainsListUsingGETParamsWithHTTPClient creates a new GetChainsListUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetChainsListUsingGETParamsWithTimeout ¶
func NewGetChainsListUsingGETParamsWithTimeout(timeout time.Duration) *GetChainsListUsingGETParams
NewGetChainsListUsingGETParamsWithTimeout creates a new GetChainsListUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetChainsListUsingGETParams) SetAuthorization ¶
func (o *GetChainsListUsingGETParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get chains list using g e t params
func (*GetChainsListUsingGETParams) SetContext ¶
func (o *GetChainsListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get chains list using g e t params
func (*GetChainsListUsingGETParams) SetHTTPClient ¶
func (o *GetChainsListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get chains list using g e t params
func (*GetChainsListUsingGETParams) SetName ¶
func (o *GetChainsListUsingGETParams) SetName(name *string)
SetName adds the name to the get chains list using g e t params
func (*GetChainsListUsingGETParams) SetTimeout ¶
func (o *GetChainsListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get chains list using g e t params
func (*GetChainsListUsingGETParams) WithAuthorization ¶
func (o *GetChainsListUsingGETParams) WithAuthorization(authorization *string) *GetChainsListUsingGETParams
WithAuthorization adds the authorization to the get chains list using g e t params
func (*GetChainsListUsingGETParams) WithContext ¶
func (o *GetChainsListUsingGETParams) WithContext(ctx context.Context) *GetChainsListUsingGETParams
WithContext adds the context to the get chains list using g e t params
func (*GetChainsListUsingGETParams) WithHTTPClient ¶
func (o *GetChainsListUsingGETParams) WithHTTPClient(client *http.Client) *GetChainsListUsingGETParams
WithHTTPClient adds the HTTPClient to the get chains list using g e t params
func (*GetChainsListUsingGETParams) WithName ¶
func (o *GetChainsListUsingGETParams) WithName(name *string) *GetChainsListUsingGETParams
WithName adds the name to the get chains list using g e t params
func (*GetChainsListUsingGETParams) WithTimeout ¶
func (o *GetChainsListUsingGETParams) WithTimeout(timeout time.Duration) *GetChainsListUsingGETParams
WithTimeout adds the timeout to the get chains list using g e t params
func (*GetChainsListUsingGETParams) WriteToRequest ¶
func (o *GetChainsListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChainsListUsingGETReader ¶
type GetChainsListUsingGETReader struct {
// contains filtered or unexported fields
}
GetChainsListUsingGETReader is a Reader for the GetChainsListUsingGET structure.
func (*GetChainsListUsingGETReader) ReadResponse ¶
func (o *GetChainsListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChainsListUsingGETUnauthorized ¶
type GetChainsListUsingGETUnauthorized struct { }
GetChainsListUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetChainsListUsingGETUnauthorized ¶
func NewGetChainsListUsingGETUnauthorized() *GetChainsListUsingGETUnauthorized
NewGetChainsListUsingGETUnauthorized creates a GetChainsListUsingGETUnauthorized with default headers values
func (*GetChainsListUsingGETUnauthorized) Error ¶
func (o *GetChainsListUsingGETUnauthorized) Error() string
type TokenSecurityUsingGET1Forbidden ¶
type TokenSecurityUsingGET1Forbidden struct { }
TokenSecurityUsingGET1Forbidden handles this case with default header values.
Forbidden
func NewTokenSecurityUsingGET1Forbidden ¶
func NewTokenSecurityUsingGET1Forbidden() *TokenSecurityUsingGET1Forbidden
NewTokenSecurityUsingGET1Forbidden creates a TokenSecurityUsingGET1Forbidden with default headers values
func (*TokenSecurityUsingGET1Forbidden) Error ¶
func (o *TokenSecurityUsingGET1Forbidden) Error() string
type TokenSecurityUsingGET1NotFound ¶
type TokenSecurityUsingGET1NotFound struct { }
TokenSecurityUsingGET1NotFound handles this case with default header values.
Not Found
func NewTokenSecurityUsingGET1NotFound ¶
func NewTokenSecurityUsingGET1NotFound() *TokenSecurityUsingGET1NotFound
NewTokenSecurityUsingGET1NotFound creates a TokenSecurityUsingGET1NotFound with default headers values
func (*TokenSecurityUsingGET1NotFound) Error ¶
func (o *TokenSecurityUsingGET1NotFound) Error() string
type TokenSecurityUsingGET1OK ¶
type TokenSecurityUsingGET1OK struct {
Payload *models.ResponseWrapperTokenSecurity
}
TokenSecurityUsingGET1OK handles this case with default header values.
OK
func NewTokenSecurityUsingGET1OK ¶
func NewTokenSecurityUsingGET1OK() *TokenSecurityUsingGET1OK
NewTokenSecurityUsingGET1OK creates a TokenSecurityUsingGET1OK with default headers values
func (*TokenSecurityUsingGET1OK) Error ¶
func (o *TokenSecurityUsingGET1OK) Error() string
func (*TokenSecurityUsingGET1OK) GetPayload ¶
func (o *TokenSecurityUsingGET1OK) GetPayload() *models.ResponseWrapperTokenSecurity
type TokenSecurityUsingGET1Params ¶
type TokenSecurityUsingGET1Params struct { /*Authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) */ Authorization *string /*ChainID The chain_id of the blockchain. "1" means Ethereum; "10" means Optimism; "25" means Cronos; "56" means BSC; "66" means OKC; "100" means Gnosis; "128" means HECO; "137" means Polygon; "250" means Fantom; "321" means KCC; "324" means zkSync Era; "10001" means ETHW; "201022" means FON; "42161" means Arbitrum; "43114" means Avalanche; "59144" means Linea Mainnet; "8453" Base; "tron" means Tron; "534352" means Scroll; "204" means opBNB; */ ChainID string /*ContractAddresses The contract address of tokens. */ ContractAddresses string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TokenSecurityUsingGET1Params contains all the parameters to send to the API endpoint for the token security using g e t 1 operation typically these are written to a http.Request
func NewTokenSecurityUsingGET1Params ¶
func NewTokenSecurityUsingGET1Params() *TokenSecurityUsingGET1Params
NewTokenSecurityUsingGET1Params creates a new TokenSecurityUsingGET1Params object with the default values initialized.
func NewTokenSecurityUsingGET1ParamsWithContext ¶
func NewTokenSecurityUsingGET1ParamsWithContext(ctx context.Context) *TokenSecurityUsingGET1Params
NewTokenSecurityUsingGET1ParamsWithContext creates a new TokenSecurityUsingGET1Params object with the default values initialized, and the ability to set a context for a request
func NewTokenSecurityUsingGET1ParamsWithHTTPClient ¶
func NewTokenSecurityUsingGET1ParamsWithHTTPClient(client *http.Client) *TokenSecurityUsingGET1Params
NewTokenSecurityUsingGET1ParamsWithHTTPClient creates a new TokenSecurityUsingGET1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTokenSecurityUsingGET1ParamsWithTimeout ¶
func NewTokenSecurityUsingGET1ParamsWithTimeout(timeout time.Duration) *TokenSecurityUsingGET1Params
NewTokenSecurityUsingGET1ParamsWithTimeout creates a new TokenSecurityUsingGET1Params object with the default values initialized, and the ability to set a timeout on a request
func (*TokenSecurityUsingGET1Params) SetAuthorization ¶
func (o *TokenSecurityUsingGET1Params) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) SetChainID ¶
func (o *TokenSecurityUsingGET1Params) SetChainID(chainID string)
SetChainID adds the chainId to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) SetContext ¶
func (o *TokenSecurityUsingGET1Params) SetContext(ctx context.Context)
SetContext adds the context to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) SetContractAddresses ¶
func (o *TokenSecurityUsingGET1Params) SetContractAddresses(contractAddresses string)
SetContractAddresses adds the contractAddresses to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) SetHTTPClient ¶
func (o *TokenSecurityUsingGET1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) SetTimeout ¶
func (o *TokenSecurityUsingGET1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) WithAuthorization ¶
func (o *TokenSecurityUsingGET1Params) WithAuthorization(authorization *string) *TokenSecurityUsingGET1Params
WithAuthorization adds the authorization to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) WithChainID ¶
func (o *TokenSecurityUsingGET1Params) WithChainID(chainID string) *TokenSecurityUsingGET1Params
WithChainID adds the chainID to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) WithContext ¶
func (o *TokenSecurityUsingGET1Params) WithContext(ctx context.Context) *TokenSecurityUsingGET1Params
WithContext adds the context to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) WithContractAddresses ¶
func (o *TokenSecurityUsingGET1Params) WithContractAddresses(contractAddresses string) *TokenSecurityUsingGET1Params
WithContractAddresses adds the contractAddresses to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) WithHTTPClient ¶
func (o *TokenSecurityUsingGET1Params) WithHTTPClient(client *http.Client) *TokenSecurityUsingGET1Params
WithHTTPClient adds the HTTPClient to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) WithTimeout ¶
func (o *TokenSecurityUsingGET1Params) WithTimeout(timeout time.Duration) *TokenSecurityUsingGET1Params
WithTimeout adds the timeout to the token security using g e t 1 params
func (*TokenSecurityUsingGET1Params) WriteToRequest ¶
func (o *TokenSecurityUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TokenSecurityUsingGET1Reader ¶
type TokenSecurityUsingGET1Reader struct {
// contains filtered or unexported fields
}
TokenSecurityUsingGET1Reader is a Reader for the TokenSecurityUsingGET1 structure.
func (*TokenSecurityUsingGET1Reader) ReadResponse ¶
func (o *TokenSecurityUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TokenSecurityUsingGET1Unauthorized ¶
type TokenSecurityUsingGET1Unauthorized struct { }
TokenSecurityUsingGET1Unauthorized handles this case with default header values.
Unauthorized
func NewTokenSecurityUsingGET1Unauthorized ¶
func NewTokenSecurityUsingGET1Unauthorized() *TokenSecurityUsingGET1Unauthorized
NewTokenSecurityUsingGET1Unauthorized creates a TokenSecurityUsingGET1Unauthorized with default headers values
func (*TokenSecurityUsingGET1Unauthorized) Error ¶
func (o *TokenSecurityUsingGET1Unauthorized) Error() string