Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetNftInfoUsingGET1Forbidden
- type GetNftInfoUsingGET1NotFound
- type GetNftInfoUsingGET1OK
- type GetNftInfoUsingGET1Params
- func NewGetNftInfoUsingGET1Params() *GetNftInfoUsingGET1Params
- func NewGetNftInfoUsingGET1ParamsWithContext(ctx context.Context) *GetNftInfoUsingGET1Params
- func NewGetNftInfoUsingGET1ParamsWithHTTPClient(client *http.Client) *GetNftInfoUsingGET1Params
- func NewGetNftInfoUsingGET1ParamsWithTimeout(timeout time.Duration) *GetNftInfoUsingGET1Params
- func (o *GetNftInfoUsingGET1Params) SetAuthorization(authorization *string)
- func (o *GetNftInfoUsingGET1Params) SetChainID(chainID string)
- func (o *GetNftInfoUsingGET1Params) SetContext(ctx context.Context)
- func (o *GetNftInfoUsingGET1Params) SetContractAddresses(contractAddresses string)
- func (o *GetNftInfoUsingGET1Params) SetHTTPClient(client *http.Client)
- func (o *GetNftInfoUsingGET1Params) SetTimeout(timeout time.Duration)
- func (o *GetNftInfoUsingGET1Params) SetTokenID(tokenID *string)
- func (o *GetNftInfoUsingGET1Params) WithAuthorization(authorization *string) *GetNftInfoUsingGET1Params
- func (o *GetNftInfoUsingGET1Params) WithChainID(chainID string) *GetNftInfoUsingGET1Params
- func (o *GetNftInfoUsingGET1Params) WithContext(ctx context.Context) *GetNftInfoUsingGET1Params
- func (o *GetNftInfoUsingGET1Params) WithContractAddresses(contractAddresses string) *GetNftInfoUsingGET1Params
- func (o *GetNftInfoUsingGET1Params) WithHTTPClient(client *http.Client) *GetNftInfoUsingGET1Params
- func (o *GetNftInfoUsingGET1Params) WithTimeout(timeout time.Duration) *GetNftInfoUsingGET1Params
- func (o *GetNftInfoUsingGET1Params) WithTokenID(tokenID *string) *GetNftInfoUsingGET1Params
- func (o *GetNftInfoUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNftInfoUsingGET1Reader
- type GetNftInfoUsingGET1Unauthorized
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 nft controller API
func (*Client) GetNftInfoUsingGET1 ¶
func (a *Client) GetNftInfoUsingGET1(params *GetNftInfoUsingGET1Params) (*GetNftInfoUsingGET1OK, error)
GetNftInfoUsingGET1 gets n f t s security and risk data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetNftInfoUsingGET1(params *GetNftInfoUsingGET1Params) (*GetNftInfoUsingGET1OK, 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 nft controller API client.
type GetNftInfoUsingGET1Forbidden ¶
type GetNftInfoUsingGET1Forbidden struct { }
GetNftInfoUsingGET1Forbidden handles this case with default header values.
Forbidden
func NewGetNftInfoUsingGET1Forbidden ¶
func NewGetNftInfoUsingGET1Forbidden() *GetNftInfoUsingGET1Forbidden
NewGetNftInfoUsingGET1Forbidden creates a GetNftInfoUsingGET1Forbidden with default headers values
func (*GetNftInfoUsingGET1Forbidden) Error ¶
func (o *GetNftInfoUsingGET1Forbidden) Error() string
type GetNftInfoUsingGET1NotFound ¶
type GetNftInfoUsingGET1NotFound struct { }
GetNftInfoUsingGET1NotFound handles this case with default header values.
Not Found
func NewGetNftInfoUsingGET1NotFound ¶
func NewGetNftInfoUsingGET1NotFound() *GetNftInfoUsingGET1NotFound
NewGetNftInfoUsingGET1NotFound creates a GetNftInfoUsingGET1NotFound with default headers values
func (*GetNftInfoUsingGET1NotFound) Error ¶
func (o *GetNftInfoUsingGET1NotFound) Error() string
type GetNftInfoUsingGET1OK ¶
type GetNftInfoUsingGET1OK struct {
Payload *models.ResponseWrapperGetNftInfo
}
GetNftInfoUsingGET1OK handles this case with default header values.
OK
func NewGetNftInfoUsingGET1OK ¶
func NewGetNftInfoUsingGET1OK() *GetNftInfoUsingGET1OK
NewGetNftInfoUsingGET1OK creates a GetNftInfoUsingGET1OK with default headers values
func (*GetNftInfoUsingGET1OK) Error ¶
func (o *GetNftInfoUsingGET1OK) Error() string
func (*GetNftInfoUsingGET1OK) GetPayload ¶
func (o *GetNftInfoUsingGET1OK) GetPayload() *models.ResponseWrapperGetNftInfo
type GetNftInfoUsingGET1Params ¶
type GetNftInfoUsingGET1Params 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; "100" means Gnosis;"128" means HECO; "137" means Polygon; "250" means Fantom;"321" means KCC;"324" means zkSync Era; "201022" means FON;"42161" means Arbitrum; "43114" means Avalanche;"59144" means Linea Mainnet;"8453" Base;"5000" Mantle; */ ChainID string /*ContractAddresses NFT contract address */ ContractAddresses string /*TokenID tokenId */ TokenID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNftInfoUsingGET1Params contains all the parameters to send to the API endpoint for the get nft info using g e t 1 operation typically these are written to a http.Request
func NewGetNftInfoUsingGET1Params ¶
func NewGetNftInfoUsingGET1Params() *GetNftInfoUsingGET1Params
NewGetNftInfoUsingGET1Params creates a new GetNftInfoUsingGET1Params object with the default values initialized.
func NewGetNftInfoUsingGET1ParamsWithContext ¶
func NewGetNftInfoUsingGET1ParamsWithContext(ctx context.Context) *GetNftInfoUsingGET1Params
NewGetNftInfoUsingGET1ParamsWithContext creates a new GetNftInfoUsingGET1Params object with the default values initialized, and the ability to set a context for a request
func NewGetNftInfoUsingGET1ParamsWithHTTPClient ¶
func NewGetNftInfoUsingGET1ParamsWithHTTPClient(client *http.Client) *GetNftInfoUsingGET1Params
NewGetNftInfoUsingGET1ParamsWithHTTPClient creates a new GetNftInfoUsingGET1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNftInfoUsingGET1ParamsWithTimeout ¶
func NewGetNftInfoUsingGET1ParamsWithTimeout(timeout time.Duration) *GetNftInfoUsingGET1Params
NewGetNftInfoUsingGET1ParamsWithTimeout creates a new GetNftInfoUsingGET1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetNftInfoUsingGET1Params) SetAuthorization ¶
func (o *GetNftInfoUsingGET1Params) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) SetChainID ¶
func (o *GetNftInfoUsingGET1Params) SetChainID(chainID string)
SetChainID adds the chainId to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) SetContext ¶
func (o *GetNftInfoUsingGET1Params) SetContext(ctx context.Context)
SetContext adds the context to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) SetContractAddresses ¶
func (o *GetNftInfoUsingGET1Params) SetContractAddresses(contractAddresses string)
SetContractAddresses adds the contractAddresses to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) SetHTTPClient ¶
func (o *GetNftInfoUsingGET1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) SetTimeout ¶
func (o *GetNftInfoUsingGET1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) SetTokenID ¶
func (o *GetNftInfoUsingGET1Params) SetTokenID(tokenID *string)
SetTokenID adds the tokenId to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) WithAuthorization ¶
func (o *GetNftInfoUsingGET1Params) WithAuthorization(authorization *string) *GetNftInfoUsingGET1Params
WithAuthorization adds the authorization to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) WithChainID ¶
func (o *GetNftInfoUsingGET1Params) WithChainID(chainID string) *GetNftInfoUsingGET1Params
WithChainID adds the chainID to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) WithContext ¶
func (o *GetNftInfoUsingGET1Params) WithContext(ctx context.Context) *GetNftInfoUsingGET1Params
WithContext adds the context to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) WithContractAddresses ¶
func (o *GetNftInfoUsingGET1Params) WithContractAddresses(contractAddresses string) *GetNftInfoUsingGET1Params
WithContractAddresses adds the contractAddresses to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) WithHTTPClient ¶
func (o *GetNftInfoUsingGET1Params) WithHTTPClient(client *http.Client) *GetNftInfoUsingGET1Params
WithHTTPClient adds the HTTPClient to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) WithTimeout ¶
func (o *GetNftInfoUsingGET1Params) WithTimeout(timeout time.Duration) *GetNftInfoUsingGET1Params
WithTimeout adds the timeout to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) WithTokenID ¶
func (o *GetNftInfoUsingGET1Params) WithTokenID(tokenID *string) *GetNftInfoUsingGET1Params
WithTokenID adds the tokenID to the get nft info using g e t 1 params
func (*GetNftInfoUsingGET1Params) WriteToRequest ¶
func (o *GetNftInfoUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNftInfoUsingGET1Reader ¶
type GetNftInfoUsingGET1Reader struct {
// contains filtered or unexported fields
}
GetNftInfoUsingGET1Reader is a Reader for the GetNftInfoUsingGET1 structure.
func (*GetNftInfoUsingGET1Reader) ReadResponse ¶
func (o *GetNftInfoUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNftInfoUsingGET1Unauthorized ¶
type GetNftInfoUsingGET1Unauthorized struct { }
GetNftInfoUsingGET1Unauthorized handles this case with default header values.
Unauthorized
func NewGetNftInfoUsingGET1Unauthorized ¶
func NewGetNftInfoUsingGET1Unauthorized() *GetNftInfoUsingGET1Unauthorized
NewGetNftInfoUsingGET1Unauthorized creates a GetNftInfoUsingGET1Unauthorized with default headers values
func (*GetNftInfoUsingGET1Unauthorized) Error ¶
func (o *GetNftInfoUsingGET1Unauthorized) Error() string