Documentation ¶
Index ¶
- Constants
- type GetNFTContract
- type GetNFTContractBadRequest
- type GetNFTContractDistribution
- type GetNFTContractDistributionBadRequest
- type GetNFTContractDistributionHandler
- type GetNFTContractDistributionHandlerFunc
- type GetNFTContractDistributionInternalServerError
- type GetNFTContractDistributionNotFound
- type GetNFTContractDistributionOK
- func (o *GetNFTContractDistributionOK) SetPayload(payload *models.NFTContractDistribution)
- func (o *GetNFTContractDistributionOK) WithPayload(payload *models.NFTContractDistribution) *GetNFTContractDistributionOK
- func (o *GetNFTContractDistributionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNFTContractDistributionParams
- type GetNFTContractDistributionURL
- func (o *GetNFTContractDistributionURL) Build() (*url.URL, error)
- func (o *GetNFTContractDistributionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractDistributionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractDistributionURL) SetBasePath(bp string)
- func (o *GetNFTContractDistributionURL) String() string
- func (o *GetNFTContractDistributionURL) StringFull(scheme, host string) string
- func (o *GetNFTContractDistributionURL) WithBasePath(bp string) *GetNFTContractDistributionURL
- type GetNFTContractHandler
- type GetNFTContractHandlerFunc
- type GetNFTContractInternalServerError
- type GetNFTContractNotFound
- type GetNFTContractOK
- type GetNFTContractOperations
- type GetNFTContractOperationsBadRequest
- type GetNFTContractOperationsChart
- type GetNFTContractOperationsChartBadRequest
- type GetNFTContractOperationsChartHandler
- type GetNFTContractOperationsChartHandlerFunc
- type GetNFTContractOperationsChartInternalServerError
- type GetNFTContractOperationsChartNotFound
- type GetNFTContractOperationsChartOK
- func (o *GetNFTContractOperationsChartOK) SetPayload(payload []*models.ChartsData)
- func (o *GetNFTContractOperationsChartOK) WithPayload(payload []*models.ChartsData) *GetNFTContractOperationsChartOK
- func (o *GetNFTContractOperationsChartOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNFTContractOperationsChartParams
- type GetNFTContractOperationsChartURL
- func (o *GetNFTContractOperationsChartURL) Build() (*url.URL, error)
- func (o *GetNFTContractOperationsChartURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractOperationsChartURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractOperationsChartURL) SetBasePath(bp string)
- func (o *GetNFTContractOperationsChartURL) String() string
- func (o *GetNFTContractOperationsChartURL) StringFull(scheme, host string) string
- func (o *GetNFTContractOperationsChartURL) WithBasePath(bp string) *GetNFTContractOperationsChartURL
- type GetNFTContractOperationsHandler
- type GetNFTContractOperationsHandlerFunc
- type GetNFTContractOperationsInternalServerError
- type GetNFTContractOperationsNotFound
- type GetNFTContractOperationsOK
- func (o *GetNFTContractOperationsOK) SetPayload(payload []*models.OperationsRow)
- func (o *GetNFTContractOperationsOK) SetXTotalCount(xTotalCount int64)
- func (o *GetNFTContractOperationsOK) WithPayload(payload []*models.OperationsRow) *GetNFTContractOperationsOK
- func (o *GetNFTContractOperationsOK) WithXTotalCount(xTotalCount int64) *GetNFTContractOperationsOK
- func (o *GetNFTContractOperationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNFTContractOperationsParams
- type GetNFTContractOperationsURL
- func (o *GetNFTContractOperationsURL) Build() (*url.URL, error)
- func (o *GetNFTContractOperationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractOperationsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractOperationsURL) SetBasePath(bp string)
- func (o *GetNFTContractOperationsURL) String() string
- func (o *GetNFTContractOperationsURL) StringFull(scheme, host string) string
- func (o *GetNFTContractOperationsURL) WithBasePath(bp string) *GetNFTContractOperationsURL
- type GetNFTContractOwnership
- type GetNFTContractOwnershipBadRequest
- type GetNFTContractOwnershipHandler
- type GetNFTContractOwnershipHandlerFunc
- type GetNFTContractOwnershipInternalServerError
- type GetNFTContractOwnershipNotFound
- type GetNFTContractOwnershipOK
- type GetNFTContractOwnershipParams
- type GetNFTContractOwnershipURL
- func (o *GetNFTContractOwnershipURL) Build() (*url.URL, error)
- func (o *GetNFTContractOwnershipURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractOwnershipURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractOwnershipURL) SetBasePath(bp string)
- func (o *GetNFTContractOwnershipURL) String() string
- func (o *GetNFTContractOwnershipURL) StringFull(scheme, host string) string
- func (o *GetNFTContractOwnershipURL) WithBasePath(bp string) *GetNFTContractOwnershipURL
- type GetNFTContractParams
- type GetNFTContractToken
- type GetNFTContractTokenBadRequest
- type GetNFTContractTokenHandler
- type GetNFTContractTokenHandlerFunc
- type GetNFTContractTokenHolders
- type GetNFTContractTokenHoldersBadRequest
- type GetNFTContractTokenHoldersHandler
- type GetNFTContractTokenHoldersHandlerFunc
- type GetNFTContractTokenHoldersInternalServerError
- type GetNFTContractTokenHoldersNotFound
- type GetNFTContractTokenHoldersOK
- func (o *GetNFTContractTokenHoldersOK) SetPayload(payload []*models.TokenHolderRow)
- func (o *GetNFTContractTokenHoldersOK) SetXTotalCount(xTotalCount int64)
- func (o *GetNFTContractTokenHoldersOK) WithPayload(payload []*models.TokenHolderRow) *GetNFTContractTokenHoldersOK
- func (o *GetNFTContractTokenHoldersOK) WithXTotalCount(xTotalCount int64) *GetNFTContractTokenHoldersOK
- func (o *GetNFTContractTokenHoldersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNFTContractTokenHoldersParams
- type GetNFTContractTokenHoldersURL
- func (o *GetNFTContractTokenHoldersURL) Build() (*url.URL, error)
- func (o *GetNFTContractTokenHoldersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractTokenHoldersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractTokenHoldersURL) SetBasePath(bp string)
- func (o *GetNFTContractTokenHoldersURL) String() string
- func (o *GetNFTContractTokenHoldersURL) StringFull(scheme, host string) string
- func (o *GetNFTContractTokenHoldersURL) WithBasePath(bp string) *GetNFTContractTokenHoldersURL
- type GetNFTContractTokenInternalServerError
- type GetNFTContractTokenNotFound
- type GetNFTContractTokenOK
- type GetNFTContractTokenParams
- type GetNFTContractTokenURL
- func (o *GetNFTContractTokenURL) Build() (*url.URL, error)
- func (o *GetNFTContractTokenURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractTokenURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractTokenURL) SetBasePath(bp string)
- func (o *GetNFTContractTokenURL) String() string
- func (o *GetNFTContractTokenURL) StringFull(scheme, host string) string
- func (o *GetNFTContractTokenURL) WithBasePath(bp string) *GetNFTContractTokenURL
- type GetNFTContractTokens
- type GetNFTContractTokensBadRequest
- type GetNFTContractTokensHandler
- type GetNFTContractTokensHandlerFunc
- type GetNFTContractTokensInternalServerError
- type GetNFTContractTokensList
- type GetNFTContractTokensListBadRequest
- type GetNFTContractTokensListHandler
- type GetNFTContractTokensListHandlerFunc
- type GetNFTContractTokensListInternalServerError
- type GetNFTContractTokensListNotFound
- type GetNFTContractTokensListOK
- func (o *GetNFTContractTokensListOK) SetPayload(payload []*models.NFTTokenRow)
- func (o *GetNFTContractTokensListOK) SetXTotalCount(xTotalCount int64)
- func (o *GetNFTContractTokensListOK) WithPayload(payload []*models.NFTTokenRow) *GetNFTContractTokensListOK
- func (o *GetNFTContractTokensListOK) WithXTotalCount(xTotalCount int64) *GetNFTContractTokensListOK
- func (o *GetNFTContractTokensListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNFTContractTokensListParams
- type GetNFTContractTokensListURL
- func (o *GetNFTContractTokensListURL) Build() (*url.URL, error)
- func (o *GetNFTContractTokensListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractTokensListURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractTokensListURL) SetBasePath(bp string)
- func (o *GetNFTContractTokensListURL) String() string
- func (o *GetNFTContractTokensListURL) StringFull(scheme, host string) string
- func (o *GetNFTContractTokensListURL) WithBasePath(bp string) *GetNFTContractTokensListURL
- type GetNFTContractTokensNotFound
- type GetNFTContractTokensOK
- type GetNFTContractTokensParams
- type GetNFTContractTokensURL
- func (o *GetNFTContractTokensURL) Build() (*url.URL, error)
- func (o *GetNFTContractTokensURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractTokensURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractTokensURL) SetBasePath(bp string)
- func (o *GetNFTContractTokensURL) String() string
- func (o *GetNFTContractTokensURL) StringFull(scheme, host string) string
- func (o *GetNFTContractTokensURL) WithBasePath(bp string) *GetNFTContractTokensURL
- type GetNFTContractURL
- func (o *GetNFTContractURL) Build() (*url.URL, error)
- func (o *GetNFTContractURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractURL) SetBasePath(bp string)
- func (o *GetNFTContractURL) String() string
- func (o *GetNFTContractURL) StringFull(scheme, host string) string
- func (o *GetNFTContractURL) WithBasePath(bp string) *GetNFTContractURL
- type GetNFTContractsList
- type GetNFTContractsListBadRequest
- type GetNFTContractsListHandler
- type GetNFTContractsListHandlerFunc
- type GetNFTContractsListInternalServerError
- type GetNFTContractsListNotFound
- type GetNFTContractsListOK
- func (o *GetNFTContractsListOK) SetPayload(payload []*models.NFTContractRow)
- func (o *GetNFTContractsListOK) SetXTotalCount(xTotalCount int64)
- func (o *GetNFTContractsListOK) WithPayload(payload []*models.NFTContractRow) *GetNFTContractsListOK
- func (o *GetNFTContractsListOK) WithXTotalCount(xTotalCount int64) *GetNFTContractsListOK
- func (o *GetNFTContractsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNFTContractsListParams
- type GetNFTContractsListURL
- func (o *GetNFTContractsListURL) Build() (*url.URL, error)
- func (o *GetNFTContractsListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNFTContractsListURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNFTContractsListURL) SetBasePath(bp string)
- func (o *GetNFTContractsListURL) String() string
- func (o *GetNFTContractsListURL) StringFull(scheme, host string) string
- func (o *GetNFTContractsListURL) WithBasePath(bp string) *GetNFTContractsListURL
Constants ¶
const GetNFTContractBadRequestCode int = 400
GetNFTContractBadRequestCode is the HTTP code returned for type GetNFTContractBadRequest
const GetNFTContractDistributionBadRequestCode int = 400
GetNFTContractDistributionBadRequestCode is the HTTP code returned for type GetNFTContractDistributionBadRequest
const GetNFTContractDistributionInternalServerErrorCode int = 500
GetNFTContractDistributionInternalServerErrorCode is the HTTP code returned for type GetNFTContractDistributionInternalServerError
const GetNFTContractDistributionNotFoundCode int = 404
GetNFTContractDistributionNotFoundCode is the HTTP code returned for type GetNFTContractDistributionNotFound
const GetNFTContractDistributionOKCode int = 200
GetNFTContractDistributionOKCode is the HTTP code returned for type GetNFTContractDistributionOK
const GetNFTContractInternalServerErrorCode int = 500
GetNFTContractInternalServerErrorCode is the HTTP code returned for type GetNFTContractInternalServerError
const GetNFTContractNotFoundCode int = 404
GetNFTContractNotFoundCode is the HTTP code returned for type GetNFTContractNotFound
const GetNFTContractOKCode int = 200
GetNFTContractOKCode is the HTTP code returned for type GetNFTContractOK
const GetNFTContractOperationsBadRequestCode int = 400
GetNFTContractOperationsBadRequestCode is the HTTP code returned for type GetNFTContractOperationsBadRequest
const GetNFTContractOperationsChartBadRequestCode int = 400
GetNFTContractOperationsChartBadRequestCode is the HTTP code returned for type GetNFTContractOperationsChartBadRequest
const GetNFTContractOperationsChartInternalServerErrorCode int = 500
GetNFTContractOperationsChartInternalServerErrorCode is the HTTP code returned for type GetNFTContractOperationsChartInternalServerError
const GetNFTContractOperationsChartNotFoundCode int = 404
GetNFTContractOperationsChartNotFoundCode is the HTTP code returned for type GetNFTContractOperationsChartNotFound
const GetNFTContractOperationsChartOKCode int = 200
GetNFTContractOperationsChartOKCode is the HTTP code returned for type GetNFTContractOperationsChartOK
const GetNFTContractOperationsInternalServerErrorCode int = 500
GetNFTContractOperationsInternalServerErrorCode is the HTTP code returned for type GetNFTContractOperationsInternalServerError
const GetNFTContractOperationsNotFoundCode int = 404
GetNFTContractOperationsNotFoundCode is the HTTP code returned for type GetNFTContractOperationsNotFound
const GetNFTContractOperationsOKCode int = 200
GetNFTContractOperationsOKCode is the HTTP code returned for type GetNFTContractOperationsOK
const GetNFTContractOwnershipBadRequestCode int = 400
GetNFTContractOwnershipBadRequestCode is the HTTP code returned for type GetNFTContractOwnershipBadRequest
const GetNFTContractOwnershipInternalServerErrorCode int = 500
GetNFTContractOwnershipInternalServerErrorCode is the HTTP code returned for type GetNFTContractOwnershipInternalServerError
const GetNFTContractOwnershipNotFoundCode int = 404
GetNFTContractOwnershipNotFoundCode is the HTTP code returned for type GetNFTContractOwnershipNotFound
const GetNFTContractOwnershipOKCode int = 200
GetNFTContractOwnershipOKCode is the HTTP code returned for type GetNFTContractOwnershipOK
const GetNFTContractTokenBadRequestCode int = 400
GetNFTContractTokenBadRequestCode is the HTTP code returned for type GetNFTContractTokenBadRequest
const GetNFTContractTokenHoldersBadRequestCode int = 400
GetNFTContractTokenHoldersBadRequestCode is the HTTP code returned for type GetNFTContractTokenHoldersBadRequest
const GetNFTContractTokenHoldersInternalServerErrorCode int = 500
GetNFTContractTokenHoldersInternalServerErrorCode is the HTTP code returned for type GetNFTContractTokenHoldersInternalServerError
const GetNFTContractTokenHoldersNotFoundCode int = 404
GetNFTContractTokenHoldersNotFoundCode is the HTTP code returned for type GetNFTContractTokenHoldersNotFound
const GetNFTContractTokenHoldersOKCode int = 200
GetNFTContractTokenHoldersOKCode is the HTTP code returned for type GetNFTContractTokenHoldersOK
const GetNFTContractTokenInternalServerErrorCode int = 500
GetNFTContractTokenInternalServerErrorCode is the HTTP code returned for type GetNFTContractTokenInternalServerError
const GetNFTContractTokenNotFoundCode int = 404
GetNFTContractTokenNotFoundCode is the HTTP code returned for type GetNFTContractTokenNotFound
const GetNFTContractTokenOKCode int = 200
GetNFTContractTokenOKCode is the HTTP code returned for type GetNFTContractTokenOK
const GetNFTContractTokensBadRequestCode int = 400
GetNFTContractTokensBadRequestCode is the HTTP code returned for type GetNFTContractTokensBadRequest
const GetNFTContractTokensInternalServerErrorCode int = 500
GetNFTContractTokensInternalServerErrorCode is the HTTP code returned for type GetNFTContractTokensInternalServerError
const GetNFTContractTokensListBadRequestCode int = 400
GetNFTContractTokensListBadRequestCode is the HTTP code returned for type GetNFTContractTokensListBadRequest
const GetNFTContractTokensListInternalServerErrorCode int = 500
GetNFTContractTokensListInternalServerErrorCode is the HTTP code returned for type GetNFTContractTokensListInternalServerError
const GetNFTContractTokensListNotFoundCode int = 404
GetNFTContractTokensListNotFoundCode is the HTTP code returned for type GetNFTContractTokensListNotFound
const GetNFTContractTokensListOKCode int = 200
GetNFTContractTokensListOKCode is the HTTP code returned for type GetNFTContractTokensListOK
const GetNFTContractTokensNotFoundCode int = 404
GetNFTContractTokensNotFoundCode is the HTTP code returned for type GetNFTContractTokensNotFound
const GetNFTContractTokensOKCode int = 200
GetNFTContractTokensOKCode is the HTTP code returned for type GetNFTContractTokensOK
const GetNFTContractsListBadRequestCode int = 400
GetNFTContractsListBadRequestCode is the HTTP code returned for type GetNFTContractsListBadRequest
const GetNFTContractsListInternalServerErrorCode int = 500
GetNFTContractsListInternalServerErrorCode is the HTTP code returned for type GetNFTContractsListInternalServerError
const GetNFTContractsListNotFoundCode int = 404
GetNFTContractsListNotFoundCode is the HTTP code returned for type GetNFTContractsListNotFound
const GetNFTContractsListOKCode int = 200
GetNFTContractsListOKCode is the HTTP code returned for type GetNFTContractsListOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetNFTContract ¶
type GetNFTContract struct { Context *middleware.Context Handler GetNFTContractHandler }
GetNFTContract swagger:route GET /v2/data/{network}/nft_contracts/{contract_id} NFT getNFTContract
GetNFTContract get n f t contract API
func NewGetNFTContract ¶
func NewGetNFTContract(ctx *middleware.Context, handler GetNFTContractHandler) *GetNFTContract
NewGetNFTContract creates a new http.Handler for the get n f t contract operation
func (*GetNFTContract) ServeHTTP ¶
func (o *GetNFTContract) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractBadRequest ¶
type GetNFTContractBadRequest struct { }
GetNFTContractBadRequest Bad request
swagger:response getNFTContractBadRequest
func NewGetNFTContractBadRequest ¶
func NewGetNFTContractBadRequest() *GetNFTContractBadRequest
NewGetNFTContractBadRequest creates GetNFTContractBadRequest with default headers values
func (*GetNFTContractBadRequest) WriteResponse ¶
func (o *GetNFTContractBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractDistribution ¶
type GetNFTContractDistribution struct { Context *middleware.Context Handler GetNFTContractDistributionHandler }
GetNFTContractDistribution swagger:route GET /v2/data/{network}/nft_contracts/{contract_id}/distribution NFT getNFTContractDistribution
GetNFTContractDistribution get n f t contract distribution API
func NewGetNFTContractDistribution ¶
func NewGetNFTContractDistribution(ctx *middleware.Context, handler GetNFTContractDistributionHandler) *GetNFTContractDistribution
NewGetNFTContractDistribution creates a new http.Handler for the get n f t contract distribution operation
func (*GetNFTContractDistribution) ServeHTTP ¶
func (o *GetNFTContractDistribution) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractDistributionBadRequest ¶
type GetNFTContractDistributionBadRequest struct { }
GetNFTContractDistributionBadRequest Bad request
swagger:response getNFTContractDistributionBadRequest
func NewGetNFTContractDistributionBadRequest ¶
func NewGetNFTContractDistributionBadRequest() *GetNFTContractDistributionBadRequest
NewGetNFTContractDistributionBadRequest creates GetNFTContractDistributionBadRequest with default headers values
func (*GetNFTContractDistributionBadRequest) WriteResponse ¶
func (o *GetNFTContractDistributionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractDistributionHandler ¶
type GetNFTContractDistributionHandler interface {
Handle(GetNFTContractDistributionParams) middleware.Responder
}
GetNFTContractDistributionHandler interface for that can handle valid get n f t contract distribution params
type GetNFTContractDistributionHandlerFunc ¶
type GetNFTContractDistributionHandlerFunc func(GetNFTContractDistributionParams) middleware.Responder
GetNFTContractDistributionHandlerFunc turns a function with the right signature into a get n f t contract distribution handler
func (GetNFTContractDistributionHandlerFunc) Handle ¶
func (fn GetNFTContractDistributionHandlerFunc) Handle(params GetNFTContractDistributionParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractDistributionInternalServerError ¶
type GetNFTContractDistributionInternalServerError struct { }
GetNFTContractDistributionInternalServerError Internal error
swagger:response getNFTContractDistributionInternalServerError
func NewGetNFTContractDistributionInternalServerError ¶
func NewGetNFTContractDistributionInternalServerError() *GetNFTContractDistributionInternalServerError
NewGetNFTContractDistributionInternalServerError creates GetNFTContractDistributionInternalServerError with default headers values
func (*GetNFTContractDistributionInternalServerError) WriteResponse ¶
func (o *GetNFTContractDistributionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractDistributionNotFound ¶
type GetNFTContractDistributionNotFound struct { }
GetNFTContractDistributionNotFound Not Found
swagger:response getNFTContractDistributionNotFound
func NewGetNFTContractDistributionNotFound ¶
func NewGetNFTContractDistributionNotFound() *GetNFTContractDistributionNotFound
NewGetNFTContractDistributionNotFound creates GetNFTContractDistributionNotFound with default headers values
func (*GetNFTContractDistributionNotFound) WriteResponse ¶
func (o *GetNFTContractDistributionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractDistributionOK ¶
type GetNFTContractDistributionOK struct { /* In: Body */ Payload *models.NFTContractDistribution `json:"body,omitempty"` }
GetNFTContractDistributionOK Query compatibility endpoint for NFT contract
swagger:response getNFTContractDistributionOK
func NewGetNFTContractDistributionOK ¶
func NewGetNFTContractDistributionOK() *GetNFTContractDistributionOK
NewGetNFTContractDistributionOK creates GetNFTContractDistributionOK with default headers values
func (*GetNFTContractDistributionOK) SetPayload ¶
func (o *GetNFTContractDistributionOK) SetPayload(payload *models.NFTContractDistribution)
SetPayload sets the payload to the get n f t contract distribution o k response
func (*GetNFTContractDistributionOK) WithPayload ¶
func (o *GetNFTContractDistributionOK) WithPayload(payload *models.NFTContractDistribution) *GetNFTContractDistributionOK
WithPayload adds the payload to the get n f t contract distribution o k response
func (*GetNFTContractDistributionOK) WriteResponse ¶
func (o *GetNFTContractDistributionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractDistributionParams ¶
type GetNFTContractDistributionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Required: true In: path */ Network string }
GetNFTContractDistributionParams contains all the bound params for the get n f t contract distribution operation typically these are obtained from a http.Request
swagger:parameters getNFTContractDistribution
func NewGetNFTContractDistributionParams ¶
func NewGetNFTContractDistributionParams() GetNFTContractDistributionParams
NewGetNFTContractDistributionParams creates a new GetNFTContractDistributionParams object no default values defined in spec.
func (*GetNFTContractDistributionParams) BindRequest ¶
func (o *GetNFTContractDistributionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractDistributionParams() beforehand.
type GetNFTContractDistributionURL ¶
type GetNFTContractDistributionURL struct { ContractID string Network string // contains filtered or unexported fields }
GetNFTContractDistributionURL generates an URL for the get n f t contract distribution operation
func (*GetNFTContractDistributionURL) Build ¶
func (o *GetNFTContractDistributionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractDistributionURL) BuildFull ¶
func (o *GetNFTContractDistributionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractDistributionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractDistributionURL) SetBasePath ¶
func (o *GetNFTContractDistributionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractDistributionURL) String ¶
func (o *GetNFTContractDistributionURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractDistributionURL) StringFull ¶
func (o *GetNFTContractDistributionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractDistributionURL) WithBasePath ¶
func (o *GetNFTContractDistributionURL) WithBasePath(bp string) *GetNFTContractDistributionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractHandler ¶
type GetNFTContractHandler interface {
Handle(GetNFTContractParams) middleware.Responder
}
GetNFTContractHandler interface for that can handle valid get n f t contract params
type GetNFTContractHandlerFunc ¶
type GetNFTContractHandlerFunc func(GetNFTContractParams) middleware.Responder
GetNFTContractHandlerFunc turns a function with the right signature into a get n f t contract handler
func (GetNFTContractHandlerFunc) Handle ¶
func (fn GetNFTContractHandlerFunc) Handle(params GetNFTContractParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractInternalServerError ¶
type GetNFTContractInternalServerError struct { }
GetNFTContractInternalServerError Internal error
swagger:response getNFTContractInternalServerError
func NewGetNFTContractInternalServerError ¶
func NewGetNFTContractInternalServerError() *GetNFTContractInternalServerError
NewGetNFTContractInternalServerError creates GetNFTContractInternalServerError with default headers values
func (*GetNFTContractInternalServerError) WriteResponse ¶
func (o *GetNFTContractInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractNotFound ¶
type GetNFTContractNotFound struct { }
GetNFTContractNotFound Not Found
swagger:response getNFTContractNotFound
func NewGetNFTContractNotFound ¶
func NewGetNFTContractNotFound() *GetNFTContractNotFound
NewGetNFTContractNotFound creates GetNFTContractNotFound with default headers values
func (*GetNFTContractNotFound) WriteResponse ¶
func (o *GetNFTContractNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOK ¶
type GetNFTContractOK struct { /* In: Body */ Payload *models.NFTContractRow `json:"body,omitempty"` }
GetNFTContractOK Query compatibility endpoint for NFT contract
swagger:response getNFTContractOK
func NewGetNFTContractOK ¶
func NewGetNFTContractOK() *GetNFTContractOK
NewGetNFTContractOK creates GetNFTContractOK with default headers values
func (*GetNFTContractOK) SetPayload ¶
func (o *GetNFTContractOK) SetPayload(payload *models.NFTContractRow)
SetPayload sets the payload to the get n f t contract o k response
func (*GetNFTContractOK) WithPayload ¶
func (o *GetNFTContractOK) WithPayload(payload *models.NFTContractRow) *GetNFTContractOK
WithPayload adds the payload to the get n f t contract o k response
func (*GetNFTContractOK) WriteResponse ¶
func (o *GetNFTContractOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperations ¶
type GetNFTContractOperations struct { Context *middleware.Context Handler GetNFTContractOperationsHandler }
GetNFTContractOperations swagger:route GET /v2/data/{network}/nft_contracts/{contract_id}/operations NFT getNFTContractOperations
GetNFTContractOperations get n f t contract operations API
func NewGetNFTContractOperations ¶
func NewGetNFTContractOperations(ctx *middleware.Context, handler GetNFTContractOperationsHandler) *GetNFTContractOperations
NewGetNFTContractOperations creates a new http.Handler for the get n f t contract operations operation
func (*GetNFTContractOperations) ServeHTTP ¶
func (o *GetNFTContractOperations) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractOperationsBadRequest ¶
type GetNFTContractOperationsBadRequest struct { }
GetNFTContractOperationsBadRequest Bad request
swagger:response getNFTContractOperationsBadRequest
func NewGetNFTContractOperationsBadRequest ¶
func NewGetNFTContractOperationsBadRequest() *GetNFTContractOperationsBadRequest
NewGetNFTContractOperationsBadRequest creates GetNFTContractOperationsBadRequest with default headers values
func (*GetNFTContractOperationsBadRequest) WriteResponse ¶
func (o *GetNFTContractOperationsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperationsChart ¶
type GetNFTContractOperationsChart struct { Context *middleware.Context Handler GetNFTContractOperationsChartHandler }
GetNFTContractOperationsChart swagger:route GET /v2/data/{network}/nft_contracts/{contract_id}/operations/chart NFT getNFTContractOperationsChart
GetNFTContractOperationsChart get n f t contract operations chart API
func NewGetNFTContractOperationsChart ¶
func NewGetNFTContractOperationsChart(ctx *middleware.Context, handler GetNFTContractOperationsChartHandler) *GetNFTContractOperationsChart
NewGetNFTContractOperationsChart creates a new http.Handler for the get n f t contract operations chart operation
func (*GetNFTContractOperationsChart) ServeHTTP ¶
func (o *GetNFTContractOperationsChart) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractOperationsChartBadRequest ¶
type GetNFTContractOperationsChartBadRequest struct { }
GetNFTContractOperationsChartBadRequest Bad request
swagger:response getNFTContractOperationsChartBadRequest
func NewGetNFTContractOperationsChartBadRequest ¶
func NewGetNFTContractOperationsChartBadRequest() *GetNFTContractOperationsChartBadRequest
NewGetNFTContractOperationsChartBadRequest creates GetNFTContractOperationsChartBadRequest with default headers values
func (*GetNFTContractOperationsChartBadRequest) WriteResponse ¶
func (o *GetNFTContractOperationsChartBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperationsChartHandler ¶
type GetNFTContractOperationsChartHandler interface {
Handle(GetNFTContractOperationsChartParams) middleware.Responder
}
GetNFTContractOperationsChartHandler interface for that can handle valid get n f t contract operations chart params
type GetNFTContractOperationsChartHandlerFunc ¶
type GetNFTContractOperationsChartHandlerFunc func(GetNFTContractOperationsChartParams) middleware.Responder
GetNFTContractOperationsChartHandlerFunc turns a function with the right signature into a get n f t contract operations chart handler
func (GetNFTContractOperationsChartHandlerFunc) Handle ¶
func (fn GetNFTContractOperationsChartHandlerFunc) Handle(params GetNFTContractOperationsChartParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractOperationsChartInternalServerError ¶
type GetNFTContractOperationsChartInternalServerError struct { }
GetNFTContractOperationsChartInternalServerError Internal error
swagger:response getNFTContractOperationsChartInternalServerError
func NewGetNFTContractOperationsChartInternalServerError ¶
func NewGetNFTContractOperationsChartInternalServerError() *GetNFTContractOperationsChartInternalServerError
NewGetNFTContractOperationsChartInternalServerError creates GetNFTContractOperationsChartInternalServerError with default headers values
func (*GetNFTContractOperationsChartInternalServerError) WriteResponse ¶
func (o *GetNFTContractOperationsChartInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperationsChartNotFound ¶
type GetNFTContractOperationsChartNotFound struct { }
GetNFTContractOperationsChartNotFound Not Found
swagger:response getNFTContractOperationsChartNotFound
func NewGetNFTContractOperationsChartNotFound ¶
func NewGetNFTContractOperationsChartNotFound() *GetNFTContractOperationsChartNotFound
NewGetNFTContractOperationsChartNotFound creates GetNFTContractOperationsChartNotFound with default headers values
func (*GetNFTContractOperationsChartNotFound) WriteResponse ¶
func (o *GetNFTContractOperationsChartNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperationsChartOK ¶
type GetNFTContractOperationsChartOK struct { /* In: Body */ Payload []*models.ChartsData `json:"body,omitempty"` }
GetNFTContractOperationsChartOK Query compatibility endpoint for NFT contract operations chart
swagger:response getNFTContractOperationsChartOK
func NewGetNFTContractOperationsChartOK ¶
func NewGetNFTContractOperationsChartOK() *GetNFTContractOperationsChartOK
NewGetNFTContractOperationsChartOK creates GetNFTContractOperationsChartOK with default headers values
func (*GetNFTContractOperationsChartOK) SetPayload ¶
func (o *GetNFTContractOperationsChartOK) SetPayload(payload []*models.ChartsData)
SetPayload sets the payload to the get n f t contract operations chart o k response
func (*GetNFTContractOperationsChartOK) WithPayload ¶
func (o *GetNFTContractOperationsChartOK) WithPayload(payload []*models.ChartsData) *GetNFTContractOperationsChartOK
WithPayload adds the payload to the get n f t contract operations chart o k response
func (*GetNFTContractOperationsChartOK) WriteResponse ¶
func (o *GetNFTContractOperationsChartOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperationsChartParams ¶
type GetNFTContractOperationsChartParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Required: true In: query */ From int64 /* Required: true In: path */ Network string /* Required: true In: query */ Period string /* Required: true In: query */ To int64 }
GetNFTContractOperationsChartParams contains all the bound params for the get n f t contract operations chart operation typically these are obtained from a http.Request
swagger:parameters getNFTContractOperationsChart
func NewGetNFTContractOperationsChartParams ¶
func NewGetNFTContractOperationsChartParams() GetNFTContractOperationsChartParams
NewGetNFTContractOperationsChartParams creates a new GetNFTContractOperationsChartParams object no default values defined in spec.
func (*GetNFTContractOperationsChartParams) BindRequest ¶
func (o *GetNFTContractOperationsChartParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractOperationsChartParams() beforehand.
type GetNFTContractOperationsChartURL ¶
type GetNFTContractOperationsChartURL struct { ContractID string Network string From int64 Period string To int64 // contains filtered or unexported fields }
GetNFTContractOperationsChartURL generates an URL for the get n f t contract operations chart operation
func (*GetNFTContractOperationsChartURL) Build ¶
func (o *GetNFTContractOperationsChartURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractOperationsChartURL) BuildFull ¶
func (o *GetNFTContractOperationsChartURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractOperationsChartURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractOperationsChartURL) SetBasePath ¶
func (o *GetNFTContractOperationsChartURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractOperationsChartURL) String ¶
func (o *GetNFTContractOperationsChartURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractOperationsChartURL) StringFull ¶
func (o *GetNFTContractOperationsChartURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractOperationsChartURL) WithBasePath ¶
func (o *GetNFTContractOperationsChartURL) WithBasePath(bp string) *GetNFTContractOperationsChartURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractOperationsHandler ¶
type GetNFTContractOperationsHandler interface {
Handle(GetNFTContractOperationsParams) middleware.Responder
}
GetNFTContractOperationsHandler interface for that can handle valid get n f t contract operations params
type GetNFTContractOperationsHandlerFunc ¶
type GetNFTContractOperationsHandlerFunc func(GetNFTContractOperationsParams) middleware.Responder
GetNFTContractOperationsHandlerFunc turns a function with the right signature into a get n f t contract operations handler
func (GetNFTContractOperationsHandlerFunc) Handle ¶
func (fn GetNFTContractOperationsHandlerFunc) Handle(params GetNFTContractOperationsParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractOperationsInternalServerError ¶
type GetNFTContractOperationsInternalServerError struct { }
GetNFTContractOperationsInternalServerError Internal error
swagger:response getNFTContractOperationsInternalServerError
func NewGetNFTContractOperationsInternalServerError ¶
func NewGetNFTContractOperationsInternalServerError() *GetNFTContractOperationsInternalServerError
NewGetNFTContractOperationsInternalServerError creates GetNFTContractOperationsInternalServerError with default headers values
func (*GetNFTContractOperationsInternalServerError) WriteResponse ¶
func (o *GetNFTContractOperationsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperationsNotFound ¶
type GetNFTContractOperationsNotFound struct { }
GetNFTContractOperationsNotFound Not Found
swagger:response getNFTContractOperationsNotFound
func NewGetNFTContractOperationsNotFound ¶
func NewGetNFTContractOperationsNotFound() *GetNFTContractOperationsNotFound
NewGetNFTContractOperationsNotFound creates GetNFTContractOperationsNotFound with default headers values
func (*GetNFTContractOperationsNotFound) WriteResponse ¶
func (o *GetNFTContractOperationsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperationsOK ¶
type GetNFTContractOperationsOK struct { /*The total number of data entries. */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.OperationsRow `json:"body,omitempty"` }
GetNFTContractOperationsOK Query compatibility endpoint for NFT contract operations
swagger:response getNFTContractOperationsOK
func NewGetNFTContractOperationsOK ¶
func NewGetNFTContractOperationsOK() *GetNFTContractOperationsOK
NewGetNFTContractOperationsOK creates GetNFTContractOperationsOK with default headers values
func (*GetNFTContractOperationsOK) SetPayload ¶
func (o *GetNFTContractOperationsOK) SetPayload(payload []*models.OperationsRow)
SetPayload sets the payload to the get n f t contract operations o k response
func (*GetNFTContractOperationsOK) SetXTotalCount ¶
func (o *GetNFTContractOperationsOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the get n f t contract operations o k response
func (*GetNFTContractOperationsOK) WithPayload ¶
func (o *GetNFTContractOperationsOK) WithPayload(payload []*models.OperationsRow) *GetNFTContractOperationsOK
WithPayload adds the payload to the get n f t contract operations o k response
func (*GetNFTContractOperationsOK) WithXTotalCount ¶
func (o *GetNFTContractOperationsOK) WithXTotalCount(xTotalCount int64) *GetNFTContractOperationsOK
WithXTotalCount adds the xTotalCount to the get n f t contract operations o k response
func (*GetNFTContractOperationsOK) WriteResponse ¶
func (o *GetNFTContractOperationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOperationsParams ¶
type GetNFTContractOperationsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Maximum: 300 Minimum: 1 In: query Default: 20 */ Limit *int64 /* Required: true In: path */ Network string /* Minimum: 0 In: query Default: 0 */ Offset *int64 }
GetNFTContractOperationsParams contains all the bound params for the get n f t contract operations operation typically these are obtained from a http.Request
swagger:parameters getNFTContractOperations
func NewGetNFTContractOperationsParams ¶
func NewGetNFTContractOperationsParams() GetNFTContractOperationsParams
NewGetNFTContractOperationsParams creates a new GetNFTContractOperationsParams object with the default values initialized.
func (*GetNFTContractOperationsParams) BindRequest ¶
func (o *GetNFTContractOperationsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractOperationsParams() beforehand.
type GetNFTContractOperationsURL ¶
type GetNFTContractOperationsURL struct { ContractID string Network string Limit *int64 Offset *int64 // contains filtered or unexported fields }
GetNFTContractOperationsURL generates an URL for the get n f t contract operations operation
func (*GetNFTContractOperationsURL) Build ¶
func (o *GetNFTContractOperationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractOperationsURL) BuildFull ¶
func (o *GetNFTContractOperationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractOperationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractOperationsURL) SetBasePath ¶
func (o *GetNFTContractOperationsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractOperationsURL) String ¶
func (o *GetNFTContractOperationsURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractOperationsURL) StringFull ¶
func (o *GetNFTContractOperationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractOperationsURL) WithBasePath ¶
func (o *GetNFTContractOperationsURL) WithBasePath(bp string) *GetNFTContractOperationsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractOwnership ¶
type GetNFTContractOwnership struct { Context *middleware.Context Handler GetNFTContractOwnershipHandler }
GetNFTContractOwnership swagger:route GET /v2/data/{network}/nft_contracts/{contract_id}/ownership NFT getNFTContractOwnership
GetNFTContractOwnership get n f t contract ownership API
func NewGetNFTContractOwnership ¶
func NewGetNFTContractOwnership(ctx *middleware.Context, handler GetNFTContractOwnershipHandler) *GetNFTContractOwnership
NewGetNFTContractOwnership creates a new http.Handler for the get n f t contract ownership operation
func (*GetNFTContractOwnership) ServeHTTP ¶
func (o *GetNFTContractOwnership) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractOwnershipBadRequest ¶
type GetNFTContractOwnershipBadRequest struct { }
GetNFTContractOwnershipBadRequest Bad request
swagger:response getNFTContractOwnershipBadRequest
func NewGetNFTContractOwnershipBadRequest ¶
func NewGetNFTContractOwnershipBadRequest() *GetNFTContractOwnershipBadRequest
NewGetNFTContractOwnershipBadRequest creates GetNFTContractOwnershipBadRequest with default headers values
func (*GetNFTContractOwnershipBadRequest) WriteResponse ¶
func (o *GetNFTContractOwnershipBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOwnershipHandler ¶
type GetNFTContractOwnershipHandler interface {
Handle(GetNFTContractOwnershipParams) middleware.Responder
}
GetNFTContractOwnershipHandler interface for that can handle valid get n f t contract ownership params
type GetNFTContractOwnershipHandlerFunc ¶
type GetNFTContractOwnershipHandlerFunc func(GetNFTContractOwnershipParams) middleware.Responder
GetNFTContractOwnershipHandlerFunc turns a function with the right signature into a get n f t contract ownership handler
func (GetNFTContractOwnershipHandlerFunc) Handle ¶
func (fn GetNFTContractOwnershipHandlerFunc) Handle(params GetNFTContractOwnershipParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractOwnershipInternalServerError ¶
type GetNFTContractOwnershipInternalServerError struct { }
GetNFTContractOwnershipInternalServerError Internal error
swagger:response getNFTContractOwnershipInternalServerError
func NewGetNFTContractOwnershipInternalServerError ¶
func NewGetNFTContractOwnershipInternalServerError() *GetNFTContractOwnershipInternalServerError
NewGetNFTContractOwnershipInternalServerError creates GetNFTContractOwnershipInternalServerError with default headers values
func (*GetNFTContractOwnershipInternalServerError) WriteResponse ¶
func (o *GetNFTContractOwnershipInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOwnershipNotFound ¶
type GetNFTContractOwnershipNotFound struct { }
GetNFTContractOwnershipNotFound Not Found
swagger:response getNFTContractOwnershipNotFound
func NewGetNFTContractOwnershipNotFound ¶
func NewGetNFTContractOwnershipNotFound() *GetNFTContractOwnershipNotFound
NewGetNFTContractOwnershipNotFound creates GetNFTContractOwnershipNotFound with default headers values
func (*GetNFTContractOwnershipNotFound) WriteResponse ¶
func (o *GetNFTContractOwnershipNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOwnershipOK ¶
type GetNFTContractOwnershipOK struct { /* In: Body */ Payload *models.NFTContractOwnership `json:"body,omitempty"` }
GetNFTContractOwnershipOK Query compatibility endpoint for NFT contract
swagger:response getNFTContractOwnershipOK
func NewGetNFTContractOwnershipOK ¶
func NewGetNFTContractOwnershipOK() *GetNFTContractOwnershipOK
NewGetNFTContractOwnershipOK creates GetNFTContractOwnershipOK with default headers values
func (*GetNFTContractOwnershipOK) SetPayload ¶
func (o *GetNFTContractOwnershipOK) SetPayload(payload *models.NFTContractOwnership)
SetPayload sets the payload to the get n f t contract ownership o k response
func (*GetNFTContractOwnershipOK) WithPayload ¶
func (o *GetNFTContractOwnershipOK) WithPayload(payload *models.NFTContractOwnership) *GetNFTContractOwnershipOK
WithPayload adds the payload to the get n f t contract ownership o k response
func (*GetNFTContractOwnershipOK) WriteResponse ¶
func (o *GetNFTContractOwnershipOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractOwnershipParams ¶
type GetNFTContractOwnershipParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Required: true In: path */ Network string }
GetNFTContractOwnershipParams contains all the bound params for the get n f t contract ownership operation typically these are obtained from a http.Request
swagger:parameters getNFTContractOwnership
func NewGetNFTContractOwnershipParams ¶
func NewGetNFTContractOwnershipParams() GetNFTContractOwnershipParams
NewGetNFTContractOwnershipParams creates a new GetNFTContractOwnershipParams object no default values defined in spec.
func (*GetNFTContractOwnershipParams) BindRequest ¶
func (o *GetNFTContractOwnershipParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractOwnershipParams() beforehand.
type GetNFTContractOwnershipURL ¶
type GetNFTContractOwnershipURL struct { ContractID string Network string // contains filtered or unexported fields }
GetNFTContractOwnershipURL generates an URL for the get n f t contract ownership operation
func (*GetNFTContractOwnershipURL) Build ¶
func (o *GetNFTContractOwnershipURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractOwnershipURL) BuildFull ¶
func (o *GetNFTContractOwnershipURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractOwnershipURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractOwnershipURL) SetBasePath ¶
func (o *GetNFTContractOwnershipURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractOwnershipURL) String ¶
func (o *GetNFTContractOwnershipURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractOwnershipURL) StringFull ¶
func (o *GetNFTContractOwnershipURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractOwnershipURL) WithBasePath ¶
func (o *GetNFTContractOwnershipURL) WithBasePath(bp string) *GetNFTContractOwnershipURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractParams ¶
type GetNFTContractParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Required: true In: path */ Network string }
GetNFTContractParams contains all the bound params for the get n f t contract operation typically these are obtained from a http.Request
swagger:parameters getNFTContract
func NewGetNFTContractParams ¶
func NewGetNFTContractParams() GetNFTContractParams
NewGetNFTContractParams creates a new GetNFTContractParams object no default values defined in spec.
func (*GetNFTContractParams) BindRequest ¶
func (o *GetNFTContractParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractParams() beforehand.
type GetNFTContractToken ¶
type GetNFTContractToken struct { Context *middleware.Context Handler GetNFTContractTokenHandler }
GetNFTContractToken swagger:route GET /v2/data/{network}/nft_contracts/{contract_id}/tokens/{token_id} NFT getNFTContractToken
GetNFTContractToken get n f t contract token API
func NewGetNFTContractToken ¶
func NewGetNFTContractToken(ctx *middleware.Context, handler GetNFTContractTokenHandler) *GetNFTContractToken
NewGetNFTContractToken creates a new http.Handler for the get n f t contract token operation
func (*GetNFTContractToken) ServeHTTP ¶
func (o *GetNFTContractToken) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractTokenBadRequest ¶
type GetNFTContractTokenBadRequest struct { }
GetNFTContractTokenBadRequest Bad request
swagger:response getNFTContractTokenBadRequest
func NewGetNFTContractTokenBadRequest ¶
func NewGetNFTContractTokenBadRequest() *GetNFTContractTokenBadRequest
NewGetNFTContractTokenBadRequest creates GetNFTContractTokenBadRequest with default headers values
func (*GetNFTContractTokenBadRequest) WriteResponse ¶
func (o *GetNFTContractTokenBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokenHandler ¶
type GetNFTContractTokenHandler interface {
Handle(GetNFTContractTokenParams) middleware.Responder
}
GetNFTContractTokenHandler interface for that can handle valid get n f t contract token params
type GetNFTContractTokenHandlerFunc ¶
type GetNFTContractTokenHandlerFunc func(GetNFTContractTokenParams) middleware.Responder
GetNFTContractTokenHandlerFunc turns a function with the right signature into a get n f t contract token handler
func (GetNFTContractTokenHandlerFunc) Handle ¶
func (fn GetNFTContractTokenHandlerFunc) Handle(params GetNFTContractTokenParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractTokenHolders ¶
type GetNFTContractTokenHolders struct { Context *middleware.Context Handler GetNFTContractTokenHoldersHandler }
GetNFTContractTokenHolders swagger:route GET /v2/data/{network}/nft_contracts/{contract_id}/tokens/{token_id}/holders NFT getNFTContractTokenHolders
GetNFTContractTokenHolders get n f t contract token holders API
func NewGetNFTContractTokenHolders ¶
func NewGetNFTContractTokenHolders(ctx *middleware.Context, handler GetNFTContractTokenHoldersHandler) *GetNFTContractTokenHolders
NewGetNFTContractTokenHolders creates a new http.Handler for the get n f t contract token holders operation
func (*GetNFTContractTokenHolders) ServeHTTP ¶
func (o *GetNFTContractTokenHolders) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractTokenHoldersBadRequest ¶
type GetNFTContractTokenHoldersBadRequest struct { }
GetNFTContractTokenHoldersBadRequest Bad request
swagger:response getNFTContractTokenHoldersBadRequest
func NewGetNFTContractTokenHoldersBadRequest ¶
func NewGetNFTContractTokenHoldersBadRequest() *GetNFTContractTokenHoldersBadRequest
NewGetNFTContractTokenHoldersBadRequest creates GetNFTContractTokenHoldersBadRequest with default headers values
func (*GetNFTContractTokenHoldersBadRequest) WriteResponse ¶
func (o *GetNFTContractTokenHoldersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokenHoldersHandler ¶
type GetNFTContractTokenHoldersHandler interface {
Handle(GetNFTContractTokenHoldersParams) middleware.Responder
}
GetNFTContractTokenHoldersHandler interface for that can handle valid get n f t contract token holders params
type GetNFTContractTokenHoldersHandlerFunc ¶
type GetNFTContractTokenHoldersHandlerFunc func(GetNFTContractTokenHoldersParams) middleware.Responder
GetNFTContractTokenHoldersHandlerFunc turns a function with the right signature into a get n f t contract token holders handler
func (GetNFTContractTokenHoldersHandlerFunc) Handle ¶
func (fn GetNFTContractTokenHoldersHandlerFunc) Handle(params GetNFTContractTokenHoldersParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractTokenHoldersInternalServerError ¶
type GetNFTContractTokenHoldersInternalServerError struct { }
GetNFTContractTokenHoldersInternalServerError Internal error
swagger:response getNFTContractTokenHoldersInternalServerError
func NewGetNFTContractTokenHoldersInternalServerError ¶
func NewGetNFTContractTokenHoldersInternalServerError() *GetNFTContractTokenHoldersInternalServerError
NewGetNFTContractTokenHoldersInternalServerError creates GetNFTContractTokenHoldersInternalServerError with default headers values
func (*GetNFTContractTokenHoldersInternalServerError) WriteResponse ¶
func (o *GetNFTContractTokenHoldersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokenHoldersNotFound ¶
type GetNFTContractTokenHoldersNotFound struct { }
GetNFTContractTokenHoldersNotFound Not Found
swagger:response getNFTContractTokenHoldersNotFound
func NewGetNFTContractTokenHoldersNotFound ¶
func NewGetNFTContractTokenHoldersNotFound() *GetNFTContractTokenHoldersNotFound
NewGetNFTContractTokenHoldersNotFound creates GetNFTContractTokenHoldersNotFound with default headers values
func (*GetNFTContractTokenHoldersNotFound) WriteResponse ¶
func (o *GetNFTContractTokenHoldersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokenHoldersOK ¶
type GetNFTContractTokenHoldersOK struct { /*The total number of data entries. */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.TokenHolderRow `json:"body,omitempty"` }
GetNFTContractTokenHoldersOK Query compatibility endpoint for NFT token holders
swagger:response getNFTContractTokenHoldersOK
func NewGetNFTContractTokenHoldersOK ¶
func NewGetNFTContractTokenHoldersOK() *GetNFTContractTokenHoldersOK
NewGetNFTContractTokenHoldersOK creates GetNFTContractTokenHoldersOK with default headers values
func (*GetNFTContractTokenHoldersOK) SetPayload ¶
func (o *GetNFTContractTokenHoldersOK) SetPayload(payload []*models.TokenHolderRow)
SetPayload sets the payload to the get n f t contract token holders o k response
func (*GetNFTContractTokenHoldersOK) SetXTotalCount ¶
func (o *GetNFTContractTokenHoldersOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the get n f t contract token holders o k response
func (*GetNFTContractTokenHoldersOK) WithPayload ¶
func (o *GetNFTContractTokenHoldersOK) WithPayload(payload []*models.TokenHolderRow) *GetNFTContractTokenHoldersOK
WithPayload adds the payload to the get n f t contract token holders o k response
func (*GetNFTContractTokenHoldersOK) WithXTotalCount ¶
func (o *GetNFTContractTokenHoldersOK) WithXTotalCount(xTotalCount int64) *GetNFTContractTokenHoldersOK
WithXTotalCount adds the xTotalCount to the get n f t contract token holders o k response
func (*GetNFTContractTokenHoldersOK) WriteResponse ¶
func (o *GetNFTContractTokenHoldersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokenHoldersParams ¶
type GetNFTContractTokenHoldersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Maximum: 300 Minimum: 1 In: query Default: 20 */ Limit *int64 /* Required: true In: path */ Network string /* Minimum: 0 In: query Default: 0 */ Offset *int64 /* Required: true In: path */ TokenID string }
GetNFTContractTokenHoldersParams contains all the bound params for the get n f t contract token holders operation typically these are obtained from a http.Request
swagger:parameters getNFTContractTokenHolders
func NewGetNFTContractTokenHoldersParams ¶
func NewGetNFTContractTokenHoldersParams() GetNFTContractTokenHoldersParams
NewGetNFTContractTokenHoldersParams creates a new GetNFTContractTokenHoldersParams object with the default values initialized.
func (*GetNFTContractTokenHoldersParams) BindRequest ¶
func (o *GetNFTContractTokenHoldersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractTokenHoldersParams() beforehand.
type GetNFTContractTokenHoldersURL ¶
type GetNFTContractTokenHoldersURL struct { ContractID string Network string TokenID string Limit *int64 Offset *int64 // contains filtered or unexported fields }
GetNFTContractTokenHoldersURL generates an URL for the get n f t contract token holders operation
func (*GetNFTContractTokenHoldersURL) Build ¶
func (o *GetNFTContractTokenHoldersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractTokenHoldersURL) BuildFull ¶
func (o *GetNFTContractTokenHoldersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractTokenHoldersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractTokenHoldersURL) SetBasePath ¶
func (o *GetNFTContractTokenHoldersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractTokenHoldersURL) String ¶
func (o *GetNFTContractTokenHoldersURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractTokenHoldersURL) StringFull ¶
func (o *GetNFTContractTokenHoldersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractTokenHoldersURL) WithBasePath ¶
func (o *GetNFTContractTokenHoldersURL) WithBasePath(bp string) *GetNFTContractTokenHoldersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractTokenInternalServerError ¶
type GetNFTContractTokenInternalServerError struct { }
GetNFTContractTokenInternalServerError Internal error
swagger:response getNFTContractTokenInternalServerError
func NewGetNFTContractTokenInternalServerError ¶
func NewGetNFTContractTokenInternalServerError() *GetNFTContractTokenInternalServerError
NewGetNFTContractTokenInternalServerError creates GetNFTContractTokenInternalServerError with default headers values
func (*GetNFTContractTokenInternalServerError) WriteResponse ¶
func (o *GetNFTContractTokenInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokenNotFound ¶
type GetNFTContractTokenNotFound struct { }
GetNFTContractTokenNotFound Not Found
swagger:response getNFTContractTokenNotFound
func NewGetNFTContractTokenNotFound ¶
func NewGetNFTContractTokenNotFound() *GetNFTContractTokenNotFound
NewGetNFTContractTokenNotFound creates GetNFTContractTokenNotFound with default headers values
func (*GetNFTContractTokenNotFound) WriteResponse ¶
func (o *GetNFTContractTokenNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokenOK ¶
type GetNFTContractTokenOK struct { /* In: Body */ Payload *models.NFTTokenRow `json:"body,omitempty"` }
GetNFTContractTokenOK Query compatibility endpoint for NFT token
swagger:response getNFTContractTokenOK
func NewGetNFTContractTokenOK ¶
func NewGetNFTContractTokenOK() *GetNFTContractTokenOK
NewGetNFTContractTokenOK creates GetNFTContractTokenOK with default headers values
func (*GetNFTContractTokenOK) SetPayload ¶
func (o *GetNFTContractTokenOK) SetPayload(payload *models.NFTTokenRow)
SetPayload sets the payload to the get n f t contract token o k response
func (*GetNFTContractTokenOK) WithPayload ¶
func (o *GetNFTContractTokenOK) WithPayload(payload *models.NFTTokenRow) *GetNFTContractTokenOK
WithPayload adds the payload to the get n f t contract token o k response
func (*GetNFTContractTokenOK) WriteResponse ¶
func (o *GetNFTContractTokenOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokenParams ¶
type GetNFTContractTokenParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Maximum: 300 Minimum: 1 In: query Default: 20 */ Limit *int64 /* Required: true In: path */ Network string /* Minimum: 0 In: query Default: 0 */ Offset *int64 /* Required: true In: path */ TokenID string }
GetNFTContractTokenParams contains all the bound params for the get n f t contract token operation typically these are obtained from a http.Request
swagger:parameters getNFTContractToken
func NewGetNFTContractTokenParams ¶
func NewGetNFTContractTokenParams() GetNFTContractTokenParams
NewGetNFTContractTokenParams creates a new GetNFTContractTokenParams object with the default values initialized.
func (*GetNFTContractTokenParams) BindRequest ¶
func (o *GetNFTContractTokenParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractTokenParams() beforehand.
type GetNFTContractTokenURL ¶
type GetNFTContractTokenURL struct { ContractID string Network string TokenID string Limit *int64 Offset *int64 // contains filtered or unexported fields }
GetNFTContractTokenURL generates an URL for the get n f t contract token operation
func (*GetNFTContractTokenURL) Build ¶
func (o *GetNFTContractTokenURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractTokenURL) BuildFull ¶
func (o *GetNFTContractTokenURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractTokenURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractTokenURL) SetBasePath ¶
func (o *GetNFTContractTokenURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractTokenURL) String ¶
func (o *GetNFTContractTokenURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractTokenURL) StringFull ¶
func (o *GetNFTContractTokenURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractTokenURL) WithBasePath ¶
func (o *GetNFTContractTokenURL) WithBasePath(bp string) *GetNFTContractTokenURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractTokens ¶
type GetNFTContractTokens struct { Context *middleware.Context Handler GetNFTContractTokensHandler }
GetNFTContractTokens swagger:route GET /v2/data/{network}/nft_contracts/{contract_id}/tokens NFT getNFTContractTokens
GetNFTContractTokens get n f t contract tokens API
func NewGetNFTContractTokens ¶
func NewGetNFTContractTokens(ctx *middleware.Context, handler GetNFTContractTokensHandler) *GetNFTContractTokens
NewGetNFTContractTokens creates a new http.Handler for the get n f t contract tokens operation
func (*GetNFTContractTokens) ServeHTTP ¶
func (o *GetNFTContractTokens) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractTokensBadRequest ¶
type GetNFTContractTokensBadRequest struct { }
GetNFTContractTokensBadRequest Bad request
swagger:response getNFTContractTokensBadRequest
func NewGetNFTContractTokensBadRequest ¶
func NewGetNFTContractTokensBadRequest() *GetNFTContractTokensBadRequest
NewGetNFTContractTokensBadRequest creates GetNFTContractTokensBadRequest with default headers values
func (*GetNFTContractTokensBadRequest) WriteResponse ¶
func (o *GetNFTContractTokensBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokensHandler ¶
type GetNFTContractTokensHandler interface {
Handle(GetNFTContractTokensParams) middleware.Responder
}
GetNFTContractTokensHandler interface for that can handle valid get n f t contract tokens params
type GetNFTContractTokensHandlerFunc ¶
type GetNFTContractTokensHandlerFunc func(GetNFTContractTokensParams) middleware.Responder
GetNFTContractTokensHandlerFunc turns a function with the right signature into a get n f t contract tokens handler
func (GetNFTContractTokensHandlerFunc) Handle ¶
func (fn GetNFTContractTokensHandlerFunc) Handle(params GetNFTContractTokensParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractTokensInternalServerError ¶
type GetNFTContractTokensInternalServerError struct { }
GetNFTContractTokensInternalServerError Internal error
swagger:response getNFTContractTokensInternalServerError
func NewGetNFTContractTokensInternalServerError ¶
func NewGetNFTContractTokensInternalServerError() *GetNFTContractTokensInternalServerError
NewGetNFTContractTokensInternalServerError creates GetNFTContractTokensInternalServerError with default headers values
func (*GetNFTContractTokensInternalServerError) WriteResponse ¶
func (o *GetNFTContractTokensInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokensList ¶
type GetNFTContractTokensList struct { Context *middleware.Context Handler GetNFTContractTokensListHandler }
GetNFTContractTokensList swagger:route GET /v2/data/{network}/nft_contracts/{contract_id}/tokens NFT getNFTContractTokensList
GetNFTContractTokensList get n f t contract tokens list API
func NewGetNFTContractTokensList ¶
func NewGetNFTContractTokensList(ctx *middleware.Context, handler GetNFTContractTokensListHandler) *GetNFTContractTokensList
NewGetNFTContractTokensList creates a new http.Handler for the get n f t contract tokens list operation
func (*GetNFTContractTokensList) ServeHTTP ¶
func (o *GetNFTContractTokensList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractTokensListBadRequest ¶
type GetNFTContractTokensListBadRequest struct { }
GetNFTContractTokensListBadRequest Bad request
swagger:response getNFTContractTokensListBadRequest
func NewGetNFTContractTokensListBadRequest ¶
func NewGetNFTContractTokensListBadRequest() *GetNFTContractTokensListBadRequest
NewGetNFTContractTokensListBadRequest creates GetNFTContractTokensListBadRequest with default headers values
func (*GetNFTContractTokensListBadRequest) WriteResponse ¶
func (o *GetNFTContractTokensListBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokensListHandler ¶
type GetNFTContractTokensListHandler interface {
Handle(GetNFTContractTokensListParams) middleware.Responder
}
GetNFTContractTokensListHandler interface for that can handle valid get n f t contract tokens list params
type GetNFTContractTokensListHandlerFunc ¶
type GetNFTContractTokensListHandlerFunc func(GetNFTContractTokensListParams) middleware.Responder
GetNFTContractTokensListHandlerFunc turns a function with the right signature into a get n f t contract tokens list handler
func (GetNFTContractTokensListHandlerFunc) Handle ¶
func (fn GetNFTContractTokensListHandlerFunc) Handle(params GetNFTContractTokensListParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractTokensListInternalServerError ¶
type GetNFTContractTokensListInternalServerError struct { }
GetNFTContractTokensListInternalServerError Internal error
swagger:response getNFTContractTokensListInternalServerError
func NewGetNFTContractTokensListInternalServerError ¶
func NewGetNFTContractTokensListInternalServerError() *GetNFTContractTokensListInternalServerError
NewGetNFTContractTokensListInternalServerError creates GetNFTContractTokensListInternalServerError with default headers values
func (*GetNFTContractTokensListInternalServerError) WriteResponse ¶
func (o *GetNFTContractTokensListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokensListNotFound ¶
type GetNFTContractTokensListNotFound struct { }
GetNFTContractTokensListNotFound Not Found
swagger:response getNFTContractTokensListNotFound
func NewGetNFTContractTokensListNotFound ¶
func NewGetNFTContractTokensListNotFound() *GetNFTContractTokensListNotFound
NewGetNFTContractTokensListNotFound creates GetNFTContractTokensListNotFound with default headers values
func (*GetNFTContractTokensListNotFound) WriteResponse ¶
func (o *GetNFTContractTokensListNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokensListOK ¶
type GetNFTContractTokensListOK struct { /*The total number of data entries. */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.NFTTokenRow `json:"body,omitempty"` }
GetNFTContractTokensListOK Query compatibility endpoint for NFT tokens
swagger:response getNFTContractTokensListOK
func NewGetNFTContractTokensListOK ¶
func NewGetNFTContractTokensListOK() *GetNFTContractTokensListOK
NewGetNFTContractTokensListOK creates GetNFTContractTokensListOK with default headers values
func (*GetNFTContractTokensListOK) SetPayload ¶
func (o *GetNFTContractTokensListOK) SetPayload(payload []*models.NFTTokenRow)
SetPayload sets the payload to the get n f t contract tokens list o k response
func (*GetNFTContractTokensListOK) SetXTotalCount ¶
func (o *GetNFTContractTokensListOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the get n f t contract tokens list o k response
func (*GetNFTContractTokensListOK) WithPayload ¶
func (o *GetNFTContractTokensListOK) WithPayload(payload []*models.NFTTokenRow) *GetNFTContractTokensListOK
WithPayload adds the payload to the get n f t contract tokens list o k response
func (*GetNFTContractTokensListOK) WithXTotalCount ¶
func (o *GetNFTContractTokensListOK) WithXTotalCount(xTotalCount int64) *GetNFTContractTokensListOK
WithXTotalCount adds the xTotalCount to the get n f t contract tokens list o k response
func (*GetNFTContractTokensListOK) WriteResponse ¶
func (o *GetNFTContractTokensListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokensListParams ¶
type GetNFTContractTokensListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Maximum: 300 Minimum: 1 In: query Default: 20 */ Limit *int64 /* Required: true In: path */ Network string /* Minimum: 0 In: query Default: 0 */ Offset *int64 }
GetNFTContractTokensListParams contains all the bound params for the get n f t contract tokens list operation typically these are obtained from a http.Request
swagger:parameters getNFTContractTokensList
func NewGetNFTContractTokensListParams ¶
func NewGetNFTContractTokensListParams() GetNFTContractTokensListParams
NewGetNFTContractTokensListParams creates a new GetNFTContractTokensListParams object with the default values initialized.
func (*GetNFTContractTokensListParams) BindRequest ¶
func (o *GetNFTContractTokensListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractTokensListParams() beforehand.
type GetNFTContractTokensListURL ¶
type GetNFTContractTokensListURL struct { ContractID string Network string Limit *int64 Offset *int64 // contains filtered or unexported fields }
GetNFTContractTokensListURL generates an URL for the get n f t contract tokens list operation
func (*GetNFTContractTokensListURL) Build ¶
func (o *GetNFTContractTokensListURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractTokensListURL) BuildFull ¶
func (o *GetNFTContractTokensListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractTokensListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractTokensListURL) SetBasePath ¶
func (o *GetNFTContractTokensListURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractTokensListURL) String ¶
func (o *GetNFTContractTokensListURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractTokensListURL) StringFull ¶
func (o *GetNFTContractTokensListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractTokensListURL) WithBasePath ¶
func (o *GetNFTContractTokensListURL) WithBasePath(bp string) *GetNFTContractTokensListURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractTokensNotFound ¶
type GetNFTContractTokensNotFound struct { }
GetNFTContractTokensNotFound Not Found
swagger:response getNFTContractTokensNotFound
func NewGetNFTContractTokensNotFound ¶
func NewGetNFTContractTokensNotFound() *GetNFTContractTokensNotFound
NewGetNFTContractTokensNotFound creates GetNFTContractTokensNotFound with default headers values
func (*GetNFTContractTokensNotFound) WriteResponse ¶
func (o *GetNFTContractTokensNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokensOK ¶
type GetNFTContractTokensOK struct { /* In: Body */ Payload []*models.NFTTokenRow `json:"body,omitempty"` }
GetNFTContractTokensOK Query compatibility endpoint for NFT tokens
swagger:response getNFTContractTokensOK
func NewGetNFTContractTokensOK ¶
func NewGetNFTContractTokensOK() *GetNFTContractTokensOK
NewGetNFTContractTokensOK creates GetNFTContractTokensOK with default headers values
func (*GetNFTContractTokensOK) SetPayload ¶
func (o *GetNFTContractTokensOK) SetPayload(payload []*models.NFTTokenRow)
SetPayload sets the payload to the get n f t contract tokens o k response
func (*GetNFTContractTokensOK) WithPayload ¶
func (o *GetNFTContractTokensOK) WithPayload(payload []*models.NFTTokenRow) *GetNFTContractTokensOK
WithPayload adds the payload to the get n f t contract tokens o k response
func (*GetNFTContractTokensOK) WriteResponse ¶
func (o *GetNFTContractTokensOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractTokensParams ¶
type GetNFTContractTokensParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ContractID string /* Maximum: 300 Minimum: 1 In: query Default: 20 */ Limit *int64 /* Required: true In: path */ Network string /* Minimum: 0 In: query Default: 0 */ Offset *int64 }
GetNFTContractTokensParams contains all the bound params for the get n f t contract tokens operation typically these are obtained from a http.Request
swagger:parameters getNFTContractTokens
func NewGetNFTContractTokensParams ¶
func NewGetNFTContractTokensParams() GetNFTContractTokensParams
NewGetNFTContractTokensParams creates a new GetNFTContractTokensParams object with the default values initialized.
func (*GetNFTContractTokensParams) BindRequest ¶
func (o *GetNFTContractTokensParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractTokensParams() beforehand.
type GetNFTContractTokensURL ¶
type GetNFTContractTokensURL struct { ContractID string Network string Limit *int64 Offset *int64 // contains filtered or unexported fields }
GetNFTContractTokensURL generates an URL for the get n f t contract tokens operation
func (*GetNFTContractTokensURL) Build ¶
func (o *GetNFTContractTokensURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractTokensURL) BuildFull ¶
func (o *GetNFTContractTokensURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractTokensURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractTokensURL) SetBasePath ¶
func (o *GetNFTContractTokensURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractTokensURL) String ¶
func (o *GetNFTContractTokensURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractTokensURL) StringFull ¶
func (o *GetNFTContractTokensURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractTokensURL) WithBasePath ¶
func (o *GetNFTContractTokensURL) WithBasePath(bp string) *GetNFTContractTokensURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractURL ¶
type GetNFTContractURL struct { ContractID string Network string // contains filtered or unexported fields }
GetNFTContractURL generates an URL for the get n f t contract operation
func (*GetNFTContractURL) Build ¶
func (o *GetNFTContractURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractURL) BuildFull ¶
func (o *GetNFTContractURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractURL) SetBasePath ¶
func (o *GetNFTContractURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractURL) String ¶
func (o *GetNFTContractURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractURL) StringFull ¶
func (o *GetNFTContractURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractURL) WithBasePath ¶
func (o *GetNFTContractURL) WithBasePath(bp string) *GetNFTContractURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNFTContractsList ¶
type GetNFTContractsList struct { Context *middleware.Context Handler GetNFTContractsListHandler }
GetNFTContractsList swagger:route GET /v2/data/{network}/nft_contracts NFT getNFTContractsList
GetNFTContractsList get n f t contracts list API
func NewGetNFTContractsList ¶
func NewGetNFTContractsList(ctx *middleware.Context, handler GetNFTContractsListHandler) *GetNFTContractsList
NewGetNFTContractsList creates a new http.Handler for the get n f t contracts list operation
func (*GetNFTContractsList) ServeHTTP ¶
func (o *GetNFTContractsList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNFTContractsListBadRequest ¶
type GetNFTContractsListBadRequest struct { }
GetNFTContractsListBadRequest Bad request
swagger:response getNFTContractsListBadRequest
func NewGetNFTContractsListBadRequest ¶
func NewGetNFTContractsListBadRequest() *GetNFTContractsListBadRequest
NewGetNFTContractsListBadRequest creates GetNFTContractsListBadRequest with default headers values
func (*GetNFTContractsListBadRequest) WriteResponse ¶
func (o *GetNFTContractsListBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractsListHandler ¶
type GetNFTContractsListHandler interface {
Handle(GetNFTContractsListParams) middleware.Responder
}
GetNFTContractsListHandler interface for that can handle valid get n f t contracts list params
type GetNFTContractsListHandlerFunc ¶
type GetNFTContractsListHandlerFunc func(GetNFTContractsListParams) middleware.Responder
GetNFTContractsListHandlerFunc turns a function with the right signature into a get n f t contracts list handler
func (GetNFTContractsListHandlerFunc) Handle ¶
func (fn GetNFTContractsListHandlerFunc) Handle(params GetNFTContractsListParams) middleware.Responder
Handle executing the request and returning a response
type GetNFTContractsListInternalServerError ¶
type GetNFTContractsListInternalServerError struct { }
GetNFTContractsListInternalServerError Internal error
swagger:response getNFTContractsListInternalServerError
func NewGetNFTContractsListInternalServerError ¶
func NewGetNFTContractsListInternalServerError() *GetNFTContractsListInternalServerError
NewGetNFTContractsListInternalServerError creates GetNFTContractsListInternalServerError with default headers values
func (*GetNFTContractsListInternalServerError) WriteResponse ¶
func (o *GetNFTContractsListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractsListNotFound ¶
type GetNFTContractsListNotFound struct { }
GetNFTContractsListNotFound Not Found
swagger:response getNFTContractsListNotFound
func NewGetNFTContractsListNotFound ¶
func NewGetNFTContractsListNotFound() *GetNFTContractsListNotFound
NewGetNFTContractsListNotFound creates GetNFTContractsListNotFound with default headers values
func (*GetNFTContractsListNotFound) WriteResponse ¶
func (o *GetNFTContractsListNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractsListOK ¶
type GetNFTContractsListOK struct { /*The total number of data entries. */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.NFTContractRow `json:"body,omitempty"` }
GetNFTContractsListOK Query compatibility endpoint for NFT contracts list
swagger:response getNFTContractsListOK
func NewGetNFTContractsListOK ¶
func NewGetNFTContractsListOK() *GetNFTContractsListOK
NewGetNFTContractsListOK creates GetNFTContractsListOK with default headers values
func (*GetNFTContractsListOK) SetPayload ¶
func (o *GetNFTContractsListOK) SetPayload(payload []*models.NFTContractRow)
SetPayload sets the payload to the get n f t contracts list o k response
func (*GetNFTContractsListOK) SetXTotalCount ¶
func (o *GetNFTContractsListOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the get n f t contracts list o k response
func (*GetNFTContractsListOK) WithPayload ¶
func (o *GetNFTContractsListOK) WithPayload(payload []*models.NFTContractRow) *GetNFTContractsListOK
WithPayload adds the payload to the get n f t contracts list o k response
func (*GetNFTContractsListOK) WithXTotalCount ¶
func (o *GetNFTContractsListOK) WithXTotalCount(xTotalCount int64) *GetNFTContractsListOK
WithXTotalCount adds the xTotalCount to the get n f t contracts list o k response
func (*GetNFTContractsListOK) WriteResponse ¶
func (o *GetNFTContractsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNFTContractsListParams ¶
type GetNFTContractsListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Maximum: 300 Minimum: 1 In: query Default: 20 */ Limit *int64 /* Required: true In: path */ Network string /* Minimum: 0 In: query Default: 0 */ Offset *int64 }
GetNFTContractsListParams contains all the bound params for the get n f t contracts list operation typically these are obtained from a http.Request
swagger:parameters getNFTContractsList
func NewGetNFTContractsListParams ¶
func NewGetNFTContractsListParams() GetNFTContractsListParams
NewGetNFTContractsListParams creates a new GetNFTContractsListParams object with the default values initialized.
func (*GetNFTContractsListParams) BindRequest ¶
func (o *GetNFTContractsListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNFTContractsListParams() beforehand.
type GetNFTContractsListURL ¶
type GetNFTContractsListURL struct { Network string Limit *int64 Offset *int64 // contains filtered or unexported fields }
GetNFTContractsListURL generates an URL for the get n f t contracts list operation
func (*GetNFTContractsListURL) Build ¶
func (o *GetNFTContractsListURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNFTContractsListURL) BuildFull ¶
func (o *GetNFTContractsListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNFTContractsListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNFTContractsListURL) SetBasePath ¶
func (o *GetNFTContractsListURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNFTContractsListURL) String ¶
func (o *GetNFTContractsListURL) String() string
String returns the string representation of the path with query string
func (*GetNFTContractsListURL) StringFull ¶
func (o *GetNFTContractsListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNFTContractsListURL) WithBasePath ¶
func (o *GetNFTContractsListURL) WithBasePath(bp string) *GetNFTContractsListURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_n_f_t_contract.go
- get_n_f_t_contract_distribution.go
- get_n_f_t_contract_distribution_parameters.go
- get_n_f_t_contract_distribution_responses.go
- get_n_f_t_contract_distribution_urlbuilder.go
- get_n_f_t_contract_operations.go
- get_n_f_t_contract_operations_chart.go
- get_n_f_t_contract_operations_chart_parameters.go
- get_n_f_t_contract_operations_chart_responses.go
- get_n_f_t_contract_operations_chart_urlbuilder.go
- get_n_f_t_contract_operations_parameters.go
- get_n_f_t_contract_operations_responses.go
- get_n_f_t_contract_operations_urlbuilder.go
- get_n_f_t_contract_ownership.go
- get_n_f_t_contract_ownership_parameters.go
- get_n_f_t_contract_ownership_responses.go
- get_n_f_t_contract_ownership_urlbuilder.go
- get_n_f_t_contract_parameters.go
- get_n_f_t_contract_responses.go
- get_n_f_t_contract_token.go
- get_n_f_t_contract_token_holders.go
- get_n_f_t_contract_token_holders_parameters.go
- get_n_f_t_contract_token_holders_responses.go
- get_n_f_t_contract_token_holders_urlbuilder.go
- get_n_f_t_contract_token_parameters.go
- get_n_f_t_contract_token_responses.go
- get_n_f_t_contract_token_urlbuilder.go
- get_n_f_t_contract_tokens.go
- get_n_f_t_contract_tokens_list.go
- get_n_f_t_contract_tokens_list_parameters.go
- get_n_f_t_contract_tokens_list_responses.go
- get_n_f_t_contract_tokens_list_urlbuilder.go
- get_n_f_t_contract_tokens_parameters.go
- get_n_f_t_contract_tokens_responses.go
- get_n_f_t_contract_tokens_urlbuilder.go
- get_n_f_t_contract_urlbuilder.go
- get_n_f_t_contracts_list.go
- get_n_f_t_contracts_list_parameters.go
- get_n_f_t_contracts_list_responses.go
- get_n_f_t_contracts_list_urlbuilder.go