nft_controller

package
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

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

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

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

WithChainID adds the chainID to the get nft info using g e t 1 params

func (*GetNftInfoUsingGET1Params) WithContext

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

WithTimeout adds the timeout to the get nft info using g e t 1 params

func (*GetNftInfoUsingGET1Params) WithTokenID

WithTokenID adds the tokenID to the get nft info using g e t 1 params

func (*GetNftInfoUsingGET1Params) WriteToRequest

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL