api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 21 Imported by: 9

README

Go API client for api

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 3.0
  • Package version: 1.0.0-beta.1
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import api "github.com/immutable/imx-core-sdk-golang/imx/api"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), api.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), api.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), api.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), api.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.sandbox.x.immutable.com

Class Method HTTP request Description
AssetsApi GetAsset Get /v1/assets/{token_address}/{token_id} Get details of an asset
AssetsApi ListAssets Get /v1/assets Get a list of assets
BalancesApi GetBalance Get /v2/balances/{owner}/{address} Fetches the token balances of the user
BalancesApi ListBalances Get /v2/balances/{owner} Get a list of balances for given user
CollectionsApi CreateCollection Post /v1/collections Create collection
CollectionsApi GetCollection Get /v1/collections/{address} Get details of a collection at the given address
CollectionsApi ListCollectionFilters Get /v1/collections/{address}/filters Get a list of collection filters
CollectionsApi ListCollections Get /v1/collections Get a list of collections
CollectionsApi UpdateCollection Patch /v1/collections/{address} Update collection
DepositsApi GetDeposit Get /v1/deposits/{id} Get details of a deposit with the given ID
DepositsApi GetSignableDeposit Post /v1/signable-deposit-details Gets details of a signable deposit
DepositsApi ListDeposits Get /v1/deposits Get a list of deposits
EncodingApi EncodeAsset Post /v1/encode/{assetType} Retrieves the Starkex Encoded format for a given asset
ExchangesApi CreateExchange Post /v3/exchanges Create an exchange with URL
ExchangesApi CreateExchangeTransfer Post /v2/exchanges/{id}/transfers Accepts a transfer request and updates the transfer_status after processing transfer (offramp)
ExchangesApi GetExchange Get /v3/exchanges/{id} Get an exchange by ID
ExchangesApi GetExchangeSignableTransfer Post /v2/exchanges/{id}/signable-transfer-details Send a request for signable-transfer-details (offramp)
ExchangesApi GetExchanges Get /v3/exchanges Returns a list of exchanges based on the request
MetadataApi AddMetadataSchemaToCollection Post /v1/collections/{address}/metadata-schema Add metadata schema to collection
MetadataApi GetMetadataSchema Get /v1/collections/{address}/metadata-schema Get collection metadata schema
MetadataApi UpdateMetadataSchemaByName Patch /v1/collections/{address}/metadata-schema/{name} Update metadata schema by name
MetadataRefreshesApi GetAListOfMetadataRefreshes Get /v1/metadata-refreshes
MetadataRefreshesApi GetMetadataRefreshErrors Get /v1/metadata-refreshes/{refresh_id}/errors
MetadataRefreshesApi GetMetadataRefreshResults Get /v1/metadata-refreshes/{refresh_id}
MetadataRefreshesApi RequestAMetadataRefresh Post /v1/metadata-refreshes
MintsApi GetMint Get /v1/mints/{id} Get details of a mint with the given ID
MintsApi GetMintableTokenDetailsByClientTokenId Get /v1/mintable-token/{token_address}/{token_id} Get details of a mintable token with the given token address and token ID
MintsApi ListMints Get /v1/mints Get a list of mints
MintsApi MintTokens Post /v2/mints Mint Tokens V2
NftCheckoutPrimaryApi CreateNftPrimary Post /v2/nft/primary Create NFT primary sale transaction
NftCheckoutPrimaryApi GetCurrenciesNFTCheckoutPrimary Get /v2/nft/primary/currencies Get currencies with limits
NftCheckoutPrimaryApi GetNftPrimaryTransaction Get /v2/nft/primary/{transaction_id} Get NFT primary sale transaction by id
NftCheckoutPrimaryApi GetNftPrimaryTransactions Get /v2/nft/primary Get a list of NFT primary sales transactions
NftCheckoutPrimaryApi RegisterNftPrimarySalesContract Post /v2/nft/primary/register Executes NFT primary sales contract registration
OrdersApi CancelOrder Delete /v1/orders/{id} Cancel an order
OrdersApi CreateOrder Post /v1/orders Create an order
OrdersApi GetOrder Get /v1/orders/{id} Get details of an order with the given ID
OrdersApi GetSignableCancelOrder Post /v1/signable-cancel-order-details Get details a signable cancel order
OrdersApi GetSignableOrder Post /v3/signable-order-details Get a signable order request (V3)
OrdersApi ListOrders Get /v1/orders Get a list of orders
ProjectsApi CreateProject Post /v1/projects Create a project
ProjectsApi GetProject Get /v1/projects/{id} Get a project
ProjectsApi GetProjects Get /v1/projects Get projects
TokensApi GetToken Get /v1/tokens/{address} Get details of a token
TokensApi ListTokens Get /v1/tokens Get a list of tokens
TradesApi CreateTrade Post /v1/trades Create a Trade between two parties
TradesApi GetSignableTrade Post /v3/signable-trade-details Get details a signable trade V3
TradesApi GetTrade Get /v1/trades/{id} Get details of a trade with the given ID
TradesApi ListTrades Get /v1/trades Get a list of trades
TransfersApi CreateTransfer Post /v2/transfers Creates a transfer of multiple tokens between two parties
TransfersApi CreateTransferV1 Post /v1/transfers Creates a transfer of tokens between two parties
TransfersApi GetSignableTransfer Post /v2/signable-transfer-details Gets bulk details of a signable transfer
TransfersApi GetSignableTransferV1 Post /v1/signable-transfer-details Gets details of a signable transfer
TransfersApi GetTransfer Get /v1/transfers/{id} Get details of a transfer with the given ID
TransfersApi ListTransfers Get /v1/transfers Get a list of transfers
UsersApi GetSignableRegistration Post /v1/signable-registration Get operator signature to allow clients to register the user
UsersApi GetSignableRegistrationOffchain Post /v1/signable-registration-offchain Get encoded details to allow clients to register the user offchain
UsersApi GetUsers Get /v1/users/{user} Get stark keys for a registered user
UsersApi RegisterUser Post /v1/users Registers a user
WithdrawalsApi CreateWithdrawal Post /v1/withdrawals Creates a withdrawal of a token
WithdrawalsApi GetSignableWithdrawal Post /v1/signable-withdrawal-details Gets details of a signable withdrawal
WithdrawalsApi GetWithdrawal Get /v1/withdrawals/{id} Gets details of withdrawal with the given ID
WithdrawalsApi ListWithdrawals Get /v1/withdrawals Get a list of withdrawals

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

support@immutable.com

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AssetsApi AssetsApi

	BalancesApi BalancesApi

	CollectionsApi CollectionsApi

	DepositsApi DepositsApi

	EncodingApi EncodingApi

	ExchangesApi ExchangesApi

	MetadataApi MetadataApi

	MetadataRefreshesApi MetadataRefreshesApi

	MintsApi MintsApi

	NftCheckoutPrimaryApi NftCheckoutPrimaryApi

	OrdersApi OrdersApi

	ProjectsApi ProjectsApi

	TokensApi TokensApi

	TradesApi TradesApi

	TransfersApi TransfersApi

	UsersApi UsersApi

	WithdrawalsApi WithdrawalsApi
	// contains filtered or unexported fields
}

APIClient manages communication with the Immutable X API API v3.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIError

type APIError struct {
	// The error code
	Code string `json:"code"`
	// The error details
	Details *string `json:"details,omitempty"`
	// The error message
	Message string `json:"message"`
}

APIError struct for APIError

func NewAPIError

func NewAPIError(code string, message string) *APIError

NewAPIError instantiates a new APIError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPIErrorWithDefaults

func NewAPIErrorWithDefaults() *APIError

NewAPIErrorWithDefaults instantiates a new APIError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APIError) GetCode

func (o *APIError) GetCode() string

GetCode returns the Code field value

func (*APIError) GetCodeOk

func (o *APIError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*APIError) GetDetails

func (o *APIError) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*APIError) GetDetailsOk

func (o *APIError) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIError) GetMessage

func (o *APIError) GetMessage() string

GetMessage returns the Message field value

func (*APIError) GetMessageOk

func (o *APIError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*APIError) HasDetails

func (o *APIError) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (APIError) MarshalJSON

func (o APIError) MarshalJSON() ([]byte, error)

func (*APIError) SetCode

func (o *APIError) SetCode(v string)

SetCode sets field value

func (*APIError) SetDetails

func (o *APIError) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*APIError) SetMessage

func (o *APIError) SetMessage(v string)

SetMessage sets field value

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AddMetadataSchemaToCollectionRequest

type AddMetadataSchemaToCollectionRequest struct {
	// Not required from API user
	ContractAddress *string `json:"contract_address,omitempty"`
	// The metadata container
	Metadata []MetadataSchemaRequest `json:"metadata"`
}

AddMetadataSchemaToCollectionRequest struct for AddMetadataSchemaToCollectionRequest

func NewAddMetadataSchemaToCollectionRequest

func NewAddMetadataSchemaToCollectionRequest(metadata []MetadataSchemaRequest) *AddMetadataSchemaToCollectionRequest

NewAddMetadataSchemaToCollectionRequest instantiates a new AddMetadataSchemaToCollectionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddMetadataSchemaToCollectionRequestWithDefaults

func NewAddMetadataSchemaToCollectionRequestWithDefaults() *AddMetadataSchemaToCollectionRequest

NewAddMetadataSchemaToCollectionRequestWithDefaults instantiates a new AddMetadataSchemaToCollectionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AddMetadataSchemaToCollectionRequest) GetContractAddress

func (o *AddMetadataSchemaToCollectionRequest) GetContractAddress() string

GetContractAddress returns the ContractAddress field value if set, zero value otherwise.

func (*AddMetadataSchemaToCollectionRequest) GetContractAddressOk

func (o *AddMetadataSchemaToCollectionRequest) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddMetadataSchemaToCollectionRequest) GetMetadata

GetMetadata returns the Metadata field value

func (*AddMetadataSchemaToCollectionRequest) GetMetadataOk

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*AddMetadataSchemaToCollectionRequest) HasContractAddress

func (o *AddMetadataSchemaToCollectionRequest) HasContractAddress() bool

HasContractAddress returns a boolean if a field has been set.

func (AddMetadataSchemaToCollectionRequest) MarshalJSON

func (o AddMetadataSchemaToCollectionRequest) MarshalJSON() ([]byte, error)

func (*AddMetadataSchemaToCollectionRequest) SetContractAddress

func (o *AddMetadataSchemaToCollectionRequest) SetContractAddress(v string)

SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.

func (*AddMetadataSchemaToCollectionRequest) SetMetadata

SetMetadata sets field value

type AggregateLimit added in v1.0.0

type AggregateLimit struct {
	// Max transaction amount
	MaxAmount *float32 `json:"max_amount,omitempty"`
	// Min transaction amount
	MinAmount *float32 `json:"min_amount,omitempty"`
}

AggregateLimit struct for AggregateLimit

func NewAggregateLimit added in v1.0.0

func NewAggregateLimit() *AggregateLimit

NewAggregateLimit instantiates a new AggregateLimit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAggregateLimitWithDefaults added in v1.0.0

func NewAggregateLimitWithDefaults() *AggregateLimit

NewAggregateLimitWithDefaults instantiates a new AggregateLimit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AggregateLimit) GetMaxAmount added in v1.0.0

func (o *AggregateLimit) GetMaxAmount() float32

GetMaxAmount returns the MaxAmount field value if set, zero value otherwise.

func (*AggregateLimit) GetMaxAmountOk added in v1.0.0

func (o *AggregateLimit) GetMaxAmountOk() (*float32, bool)

GetMaxAmountOk returns a tuple with the MaxAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AggregateLimit) GetMinAmount added in v1.0.0

func (o *AggregateLimit) GetMinAmount() float32

GetMinAmount returns the MinAmount field value if set, zero value otherwise.

func (*AggregateLimit) GetMinAmountOk added in v1.0.0

func (o *AggregateLimit) GetMinAmountOk() (*float32, bool)

GetMinAmountOk returns a tuple with the MinAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AggregateLimit) HasMaxAmount added in v1.0.0

func (o *AggregateLimit) HasMaxAmount() bool

HasMaxAmount returns a boolean if a field has been set.

func (*AggregateLimit) HasMinAmount added in v1.0.0

func (o *AggregateLimit) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (AggregateLimit) MarshalJSON added in v1.0.0

func (o AggregateLimit) MarshalJSON() ([]byte, error)

func (*AggregateLimit) SetMaxAmount added in v1.0.0

func (o *AggregateLimit) SetMaxAmount(v float32)

SetMaxAmount gets a reference to the given float32 and assigns it to the MaxAmount field.

func (*AggregateLimit) SetMinAmount added in v1.0.0

func (o *AggregateLimit) SetMinAmount(v float32)

SetMinAmount gets a reference to the given float32 and assigns it to the MinAmount field.

type ApiAddMetadataSchemaToCollectionRequest

type ApiAddMetadataSchemaToCollectionRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (ApiAddMetadataSchemaToCollectionRequest) AddMetadataSchemaToCollectionRequest

func (r ApiAddMetadataSchemaToCollectionRequest) AddMetadataSchemaToCollectionRequest(addMetadataSchemaToCollectionRequest AddMetadataSchemaToCollectionRequest) ApiAddMetadataSchemaToCollectionRequest

add metadata schema to a collection

func (ApiAddMetadataSchemaToCollectionRequest) Execute

func (ApiAddMetadataSchemaToCollectionRequest) IMXSignature

String created by signing wallet address and timestamp

func (ApiAddMetadataSchemaToCollectionRequest) IMXTimestamp

Unix Epoc timestamp

type ApiCancelOrderRequest

type ApiCancelOrderRequest struct {
	ApiService OrdersApi
	// contains filtered or unexported fields
}

func (ApiCancelOrderRequest) CancelOrderRequest

func (r ApiCancelOrderRequest) CancelOrderRequest(cancelOrderRequest CancelOrderRequest) ApiCancelOrderRequest

cancel an order

func (ApiCancelOrderRequest) Execute

func (ApiCancelOrderRequest) XImxEthAddress

func (r ApiCancelOrderRequest) XImxEthAddress(xImxEthAddress string) ApiCancelOrderRequest

eth address

func (ApiCancelOrderRequest) XImxEthSignature

func (r ApiCancelOrderRequest) XImxEthSignature(xImxEthSignature string) ApiCancelOrderRequest

eth signature

type ApiCreateCollectionRequest

type ApiCreateCollectionRequest struct {
	ApiService CollectionsApi
	// contains filtered or unexported fields
}

func (ApiCreateCollectionRequest) CreateCollectionRequest

func (r ApiCreateCollectionRequest) CreateCollectionRequest(createCollectionRequest CreateCollectionRequest) ApiCreateCollectionRequest

create a collection

func (ApiCreateCollectionRequest) Execute

func (ApiCreateCollectionRequest) IMXSignature

func (r ApiCreateCollectionRequest) IMXSignature(iMXSignature string) ApiCreateCollectionRequest

String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature

func (ApiCreateCollectionRequest) IMXTimestamp

func (r ApiCreateCollectionRequest) IMXTimestamp(iMXTimestamp string) ApiCreateCollectionRequest

Unix Epoc timestamp

type ApiCreateExchangeRequest added in v1.0.0

type ApiCreateExchangeRequest struct {
	ApiService ExchangesApi
	// contains filtered or unexported fields
}

func (ApiCreateExchangeRequest) CreateExchangeAPIRequest added in v1.0.0

func (r ApiCreateExchangeRequest) CreateExchangeAPIRequest(createExchangeAPIRequest CreateExchangeAndURLAPIRequest) ApiCreateExchangeRequest

req

func (ApiCreateExchangeRequest) Execute added in v1.0.0

type ApiCreateExchangeTransferRequest added in v1.0.0

type ApiCreateExchangeTransferRequest struct {
	ApiService ExchangesApi
	// contains filtered or unexported fields
}

func (ApiCreateExchangeTransferRequest) CreateTransferRequest added in v1.0.0

func (r ApiCreateExchangeTransferRequest) CreateTransferRequest(createTransferRequest CreateTransferRequestV1) ApiCreateExchangeTransferRequest

Create a transfer

func (ApiCreateExchangeTransferRequest) Execute added in v1.0.0

func (ApiCreateExchangeTransferRequest) XImxEthAddress added in v1.0.0

eth address

func (ApiCreateExchangeTransferRequest) XImxEthSignature added in v1.0.0

func (r ApiCreateExchangeTransferRequest) XImxEthSignature(xImxEthSignature string) ApiCreateExchangeTransferRequest

eth signature

type ApiCreateNftPrimaryRequest added in v1.0.0

type ApiCreateNftPrimaryRequest struct {
	ApiService NftCheckoutPrimaryApi
	// contains filtered or unexported fields
}

func (ApiCreateNftPrimaryRequest) CreateAPIRequest added in v1.0.0

req

func (ApiCreateNftPrimaryRequest) Execute added in v1.0.0

type ApiCreateOrderRequest

type ApiCreateOrderRequest struct {
	ApiService OrdersApi
	// contains filtered or unexported fields
}

func (ApiCreateOrderRequest) CreateOrderRequest

func (r ApiCreateOrderRequest) CreateOrderRequest(createOrderRequest CreateOrderRequest) ApiCreateOrderRequest

create an order

func (ApiCreateOrderRequest) Execute

func (ApiCreateOrderRequest) XImxEthAddress

func (r ApiCreateOrderRequest) XImxEthAddress(xImxEthAddress string) ApiCreateOrderRequest

eth address

func (ApiCreateOrderRequest) XImxEthSignature

func (r ApiCreateOrderRequest) XImxEthSignature(xImxEthSignature string) ApiCreateOrderRequest

eth signature

type ApiCreateProjectRequest

type ApiCreateProjectRequest struct {
	ApiService ProjectsApi
	// contains filtered or unexported fields
}

func (ApiCreateProjectRequest) CreateProjectRequest

func (r ApiCreateProjectRequest) CreateProjectRequest(createProjectRequest CreateProjectRequest) ApiCreateProjectRequest

create a project

func (ApiCreateProjectRequest) Execute

func (ApiCreateProjectRequest) IMXSignature

func (r ApiCreateProjectRequest) IMXSignature(iMXSignature string) ApiCreateProjectRequest

String created by signing wallet address and timestamp

func (ApiCreateProjectRequest) IMXTimestamp

func (r ApiCreateProjectRequest) IMXTimestamp(iMXTimestamp string) ApiCreateProjectRequest

Unix Epoc timestamp

type ApiCreateTradeRequest

type ApiCreateTradeRequest struct {
	ApiService TradesApi
	// contains filtered or unexported fields
}

func (ApiCreateTradeRequest) CreateTradeRequest

func (r ApiCreateTradeRequest) CreateTradeRequest(createTradeRequest CreateTradeRequestV1) ApiCreateTradeRequest

create a trade

func (ApiCreateTradeRequest) Execute

func (ApiCreateTradeRequest) XImxEthAddress

func (r ApiCreateTradeRequest) XImxEthAddress(xImxEthAddress string) ApiCreateTradeRequest

eth address

func (ApiCreateTradeRequest) XImxEthSignature

func (r ApiCreateTradeRequest) XImxEthSignature(xImxEthSignature string) ApiCreateTradeRequest

eth signature

type ApiCreateTransferRequest

type ApiCreateTransferRequest struct {
	ApiService TransfersApi
	// contains filtered or unexported fields
}

func (ApiCreateTransferRequest) CreateTransferRequestV2

func (r ApiCreateTransferRequest) CreateTransferRequestV2(createTransferRequestV2 CreateTransferRequest) ApiCreateTransferRequest

Create transfer

func (ApiCreateTransferRequest) Execute

func (ApiCreateTransferRequest) XImxEthAddress

func (r ApiCreateTransferRequest) XImxEthAddress(xImxEthAddress string) ApiCreateTransferRequest

eth address

func (ApiCreateTransferRequest) XImxEthSignature

func (r ApiCreateTransferRequest) XImxEthSignature(xImxEthSignature string) ApiCreateTransferRequest

eth signature

type ApiCreateTransferV1Request

type ApiCreateTransferV1Request struct {
	ApiService TransfersApi
	// contains filtered or unexported fields
}

func (ApiCreateTransferV1Request) CreateTransferRequest

func (r ApiCreateTransferV1Request) CreateTransferRequest(createTransferRequest CreateTransferRequestV1) ApiCreateTransferV1Request

Create transfer

func (ApiCreateTransferV1Request) Execute

func (ApiCreateTransferV1Request) XImxEthAddress

func (r ApiCreateTransferV1Request) XImxEthAddress(xImxEthAddress string) ApiCreateTransferV1Request

eth address

func (ApiCreateTransferV1Request) XImxEthSignature

func (r ApiCreateTransferV1Request) XImxEthSignature(xImxEthSignature string) ApiCreateTransferV1Request

eth signature

type ApiCreateWithdrawalRequest

type ApiCreateWithdrawalRequest struct {
	ApiService WithdrawalsApi
	// contains filtered or unexported fields
}

func (ApiCreateWithdrawalRequest) CreateWithdrawalRequest

func (r ApiCreateWithdrawalRequest) CreateWithdrawalRequest(createWithdrawalRequest CreateWithdrawalRequest) ApiCreateWithdrawalRequest

create a withdrawal

func (ApiCreateWithdrawalRequest) Execute

func (ApiCreateWithdrawalRequest) XImxEthAddress

func (r ApiCreateWithdrawalRequest) XImxEthAddress(xImxEthAddress string) ApiCreateWithdrawalRequest

eth address

func (ApiCreateWithdrawalRequest) XImxEthSignature

func (r ApiCreateWithdrawalRequest) XImxEthSignature(xImxEthSignature string) ApiCreateWithdrawalRequest

eth signature

type ApiEncodeAssetRequest

type ApiEncodeAssetRequest struct {
	ApiService EncodingApi
	// contains filtered or unexported fields
}

func (ApiEncodeAssetRequest) EncodeAssetRequest

func (r ApiEncodeAssetRequest) EncodeAssetRequest(encodeAssetRequest EncodeAssetRequest) ApiEncodeAssetRequest

Encode Asset

func (ApiEncodeAssetRequest) Execute

type ApiGetAListOfMetadataRefreshesRequest

type ApiGetAListOfMetadataRefreshesRequest struct {
	ApiService MetadataRefreshesApi
	// contains filtered or unexported fields
}

func (ApiGetAListOfMetadataRefreshesRequest) CollectionAddress

Collection address

func (ApiGetAListOfMetadataRefreshesRequest) Cursor

Cursor

func (ApiGetAListOfMetadataRefreshesRequest) Execute

func (ApiGetAListOfMetadataRefreshesRequest) PageSize

Page size of the result

func (ApiGetAListOfMetadataRefreshesRequest) XImxEthAddress

Wallet Address that signed the signature

func (ApiGetAListOfMetadataRefreshesRequest) XImxEthSignature

String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature

func (ApiGetAListOfMetadataRefreshesRequest) XImxEthTimestamp

Unix Epoc timestamp

type ApiGetAssetRequest

type ApiGetAssetRequest struct {
	ApiService AssetsApi
	// contains filtered or unexported fields
}

func (ApiGetAssetRequest) Execute

func (r ApiGetAssetRequest) Execute() (*Asset, *http.Response, error)

func (ApiGetAssetRequest) IncludeFees

func (r ApiGetAssetRequest) IncludeFees(includeFees bool) ApiGetAssetRequest

Set flag to include fees associated with the asset

type ApiGetBalanceRequest

type ApiGetBalanceRequest struct {
	ApiService BalancesApi
	// contains filtered or unexported fields
}

func (ApiGetBalanceRequest) Execute

func (r ApiGetBalanceRequest) Execute() (*Balance, *http.Response, error)

type ApiGetCollectionRequest

type ApiGetCollectionRequest struct {
	ApiService CollectionsApi
	// contains filtered or unexported fields
}

func (ApiGetCollectionRequest) Execute

type ApiGetCurrenciesNFTCheckoutPrimaryRequest added in v1.0.0

type ApiGetCurrenciesNFTCheckoutPrimaryRequest struct {
	ApiService NftCheckoutPrimaryApi
	// contains filtered or unexported fields
}

func (ApiGetCurrenciesNFTCheckoutPrimaryRequest) Execute added in v1.0.0

func (ApiGetCurrenciesNFTCheckoutPrimaryRequest) IncludeLimits added in v1.0.0

Flag if limits should be included in the response or not

func (ApiGetCurrenciesNFTCheckoutPrimaryRequest) Provider added in v1.0.0

Provider name

type ApiGetDepositRequest

type ApiGetDepositRequest struct {
	ApiService DepositsApi
	// contains filtered or unexported fields
}

func (ApiGetDepositRequest) Execute

func (r ApiGetDepositRequest) Execute() (*Deposit, *http.Response, error)

type ApiGetExchangeRequest added in v1.0.0

type ApiGetExchangeRequest struct {
	ApiService ExchangesApi
	// contains filtered or unexported fields
}

func (ApiGetExchangeRequest) Execute added in v1.0.0

func (r ApiGetExchangeRequest) Execute() (*Exchange, *http.Response, error)

type ApiGetExchangeSignableTransferRequest added in v1.0.0

type ApiGetExchangeSignableTransferRequest struct {
	ApiService ExchangesApi
	// contains filtered or unexported fields
}

func (ApiGetExchangeSignableTransferRequest) Execute added in v1.0.0

func (ApiGetExchangeSignableTransferRequest) GetSignableTransferRequest added in v1.0.0

func (r ApiGetExchangeSignableTransferRequest) GetSignableTransferRequest(getSignableTransferRequest GetSignableTransferRequestV1) ApiGetExchangeSignableTransferRequest

get details of signable transfer

type ApiGetExchangesRequest added in v1.0.0

type ApiGetExchangesRequest struct {
	ApiService ExchangesApi
	// contains filtered or unexported fields
}

func (ApiGetExchangesRequest) Cursor added in v1.0.0

Cursor

func (ApiGetExchangesRequest) Direction added in v1.0.0

func (r ApiGetExchangesRequest) Direction(direction string) ApiGetExchangesRequest

Direction to sort

func (ApiGetExchangesRequest) Execute added in v1.0.0

func (ApiGetExchangesRequest) Id added in v1.0.0

Transaction ID

func (ApiGetExchangesRequest) OrderBy added in v1.0.0

Property to sort by

func (ApiGetExchangesRequest) PageSize added in v1.0.0

Page size of the result

func (ApiGetExchangesRequest) Provider added in v1.0.0

Provider name

func (ApiGetExchangesRequest) Status added in v1.0.0

Transaction status

func (ApiGetExchangesRequest) TransferId added in v1.0.0

func (r ApiGetExchangesRequest) TransferId(transferId string) ApiGetExchangesRequest

Transfer ID

func (ApiGetExchangesRequest) WalletAddress added in v1.0.0

func (r ApiGetExchangesRequest) WalletAddress(walletAddress string) ApiGetExchangesRequest

Ethereum address of the user who created transaction

type ApiGetMetadataRefreshErrorsRequest

type ApiGetMetadataRefreshErrorsRequest struct {
	ApiService MetadataRefreshesApi
	// contains filtered or unexported fields
}

func (ApiGetMetadataRefreshErrorsRequest) Cursor

Cursor

func (ApiGetMetadataRefreshErrorsRequest) Execute

func (ApiGetMetadataRefreshErrorsRequest) PageSize

Page size of the result

func (ApiGetMetadataRefreshErrorsRequest) XImxEthAddress

Wallet Address that signed the signature

func (ApiGetMetadataRefreshErrorsRequest) XImxEthSignature

String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature

func (ApiGetMetadataRefreshErrorsRequest) XImxEthTimestamp

Unix Epoc timestamp

type ApiGetMetadataRefreshResultsRequest

type ApiGetMetadataRefreshResultsRequest struct {
	ApiService MetadataRefreshesApi
	// contains filtered or unexported fields
}

func (ApiGetMetadataRefreshResultsRequest) Execute

func (ApiGetMetadataRefreshResultsRequest) XImxEthAddress

Wallet Address that signed the signature

func (ApiGetMetadataRefreshResultsRequest) XImxEthSignature

String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature

func (ApiGetMetadataRefreshResultsRequest) XImxEthTimestamp

Unix Epoc timestamp

type ApiGetMetadataSchemaRequest

type ApiGetMetadataSchemaRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (ApiGetMetadataSchemaRequest) Execute

type ApiGetMintRequest

type ApiGetMintRequest struct {
	ApiService MintsApi
	// contains filtered or unexported fields
}

func (ApiGetMintRequest) Execute

func (r ApiGetMintRequest) Execute() ([]Mint, *http.Response, error)

type ApiGetMintableTokenDetailsByClientTokenIdRequest

type ApiGetMintableTokenDetailsByClientTokenIdRequest struct {
	ApiService MintsApi
	// contains filtered or unexported fields
}

func (ApiGetMintableTokenDetailsByClientTokenIdRequest) Execute

type ApiGetNftPrimaryTransactionRequest added in v1.0.0

type ApiGetNftPrimaryTransactionRequest struct {
	ApiService NftCheckoutPrimaryApi
	// contains filtered or unexported fields
}

func (ApiGetNftPrimaryTransactionRequest) Execute added in v1.0.0

type ApiGetNftPrimaryTransactionsRequest added in v1.0.0

type ApiGetNftPrimaryTransactionsRequest struct {
	ApiService NftCheckoutPrimaryApi
	// contains filtered or unexported fields
}

func (ApiGetNftPrimaryTransactionsRequest) ContractAddress added in v1.0.0

Contract address of the asset

func (ApiGetNftPrimaryTransactionsRequest) Cursor added in v1.0.0

Cursor

func (ApiGetNftPrimaryTransactionsRequest) Direction added in v1.0.0

Direction to sort (asc/desc)

func (ApiGetNftPrimaryTransactionsRequest) Execute added in v1.0.0

func (ApiGetNftPrimaryTransactionsRequest) MintId added in v1.0.0

Minting transaction ID - see mintTokens response

func (ApiGetNftPrimaryTransactionsRequest) OrderBy added in v1.0.0

Property to sort by

func (ApiGetNftPrimaryTransactionsRequest) PageSize added in v1.0.0

Page size of the result

func (ApiGetNftPrimaryTransactionsRequest) Provider added in v1.0.0

Checkout provider name

func (ApiGetNftPrimaryTransactionsRequest) SellerWalletAddress added in v1.0.0

func (r ApiGetNftPrimaryTransactionsRequest) SellerWalletAddress(sellerWalletAddress string) ApiGetNftPrimaryTransactionsRequest

Ethereum address of the seller

func (ApiGetNftPrimaryTransactionsRequest) Status added in v1.0.0

Transaction status

func (ApiGetNftPrimaryTransactionsRequest) TransactionId added in v1.0.0

Transaction id

func (ApiGetNftPrimaryTransactionsRequest) UserWalletAddress added in v1.0.0

Ethereum address of the user who wants to create transaction

type ApiGetOrderRequest

type ApiGetOrderRequest struct {
	ApiService OrdersApi
	// contains filtered or unexported fields
}

func (ApiGetOrderRequest) AuxiliaryFeePercentages

func (r ApiGetOrderRequest) AuxiliaryFeePercentages(auxiliaryFeePercentages string) ApiGetOrderRequest

Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients

func (ApiGetOrderRequest) AuxiliaryFeeRecipients

func (r ApiGetOrderRequest) AuxiliaryFeeRecipients(auxiliaryFeeRecipients string) ApiGetOrderRequest

Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages

func (ApiGetOrderRequest) Execute

func (r ApiGetOrderRequest) Execute() (*Order, *http.Response, error)

func (ApiGetOrderRequest) IncludeFees

func (r ApiGetOrderRequest) IncludeFees(includeFees bool) ApiGetOrderRequest

Set flag to true to include fee body for the order

type ApiGetProjectRequest

type ApiGetProjectRequest struct {
	ApiService ProjectsApi
	// contains filtered or unexported fields
}

func (ApiGetProjectRequest) Execute

func (r ApiGetProjectRequest) Execute() (*Project, *http.Response, error)

func (ApiGetProjectRequest) IMXSignature

func (r ApiGetProjectRequest) IMXSignature(iMXSignature string) ApiGetProjectRequest

String created by signing wallet address and timestamp

func (ApiGetProjectRequest) IMXTimestamp

func (r ApiGetProjectRequest) IMXTimestamp(iMXTimestamp string) ApiGetProjectRequest

Unix Epoc timestamp

type ApiGetProjectsRequest

type ApiGetProjectsRequest struct {
	ApiService ProjectsApi
	// contains filtered or unexported fields
}

func (ApiGetProjectsRequest) Cursor

Cursor

func (ApiGetProjectsRequest) Direction

func (r ApiGetProjectsRequest) Direction(direction string) ApiGetProjectsRequest

Direction to sort (asc/desc)

func (ApiGetProjectsRequest) Execute

func (ApiGetProjectsRequest) IMXSignature

func (r ApiGetProjectsRequest) IMXSignature(iMXSignature string) ApiGetProjectsRequest

String created by signing wallet address and timestamp

func (ApiGetProjectsRequest) IMXTimestamp

func (r ApiGetProjectsRequest) IMXTimestamp(iMXTimestamp string) ApiGetProjectsRequest

Unix Epoc timestamp

func (ApiGetProjectsRequest) OrderBy

Property to sort by

func (ApiGetProjectsRequest) PageSize

func (r ApiGetProjectsRequest) PageSize(pageSize int32) ApiGetProjectsRequest

Page size of the result

type ApiGetSignableCancelOrderRequest

type ApiGetSignableCancelOrderRequest struct {
	ApiService OrdersApi
	// contains filtered or unexported fields
}

func (ApiGetSignableCancelOrderRequest) Execute

func (ApiGetSignableCancelOrderRequest) GetSignableCancelOrderRequest

func (r ApiGetSignableCancelOrderRequest) GetSignableCancelOrderRequest(getSignableCancelOrderRequest GetSignableCancelOrderRequest) ApiGetSignableCancelOrderRequest

get a signable cancel order

type ApiGetSignableDepositRequest

type ApiGetSignableDepositRequest struct {
	ApiService DepositsApi
	// contains filtered or unexported fields
}

func (ApiGetSignableDepositRequest) Execute

func (ApiGetSignableDepositRequest) GetSignableDepositRequest

func (r ApiGetSignableDepositRequest) GetSignableDepositRequest(getSignableDepositRequest GetSignableDepositRequest) ApiGetSignableDepositRequest

Get details of signable deposit

type ApiGetSignableOrderRequest

type ApiGetSignableOrderRequest struct {
	ApiService OrdersApi
	// contains filtered or unexported fields
}

func (ApiGetSignableOrderRequest) Execute

func (ApiGetSignableOrderRequest) GetSignableOrderRequestV3

func (r ApiGetSignableOrderRequest) GetSignableOrderRequestV3(getSignableOrderRequestV3 GetSignableOrderRequest) ApiGetSignableOrderRequest

get a signable order

type ApiGetSignableRegistrationOffchainRequest

type ApiGetSignableRegistrationOffchainRequest struct {
	ApiService UsersApi
	// contains filtered or unexported fields
}

func (ApiGetSignableRegistrationOffchainRequest) Execute

func (ApiGetSignableRegistrationOffchainRequest) GetSignableRegistrationRequest

func (r ApiGetSignableRegistrationOffchainRequest) GetSignableRegistrationRequest(getSignableRegistrationRequest GetSignableRegistrationRequest) ApiGetSignableRegistrationOffchainRequest

Register User Offchain

type ApiGetSignableRegistrationRequest

type ApiGetSignableRegistrationRequest struct {
	ApiService UsersApi
	// contains filtered or unexported fields
}

func (ApiGetSignableRegistrationRequest) Execute

func (ApiGetSignableRegistrationRequest) GetSignableRegistrationRequest

func (r ApiGetSignableRegistrationRequest) GetSignableRegistrationRequest(getSignableRegistrationRequest GetSignableRegistrationRequest) ApiGetSignableRegistrationRequest

Register User

type ApiGetSignableTradeRequest

type ApiGetSignableTradeRequest struct {
	ApiService TradesApi
	// contains filtered or unexported fields
}

func (ApiGetSignableTradeRequest) Execute

func (ApiGetSignableTradeRequest) GetSignableTradeRequest

func (r ApiGetSignableTradeRequest) GetSignableTradeRequest(getSignableTradeRequest GetSignableTradeRequest) ApiGetSignableTradeRequest

get a signable trade

type ApiGetSignableTransferRequest

type ApiGetSignableTransferRequest struct {
	ApiService TransfersApi
	// contains filtered or unexported fields
}

func (ApiGetSignableTransferRequest) Execute

func (ApiGetSignableTransferRequest) GetSignableTransferRequestV2

func (r ApiGetSignableTransferRequest) GetSignableTransferRequestV2(getSignableTransferRequestV2 GetSignableTransferRequest) ApiGetSignableTransferRequest

get details of signable transfer

type ApiGetSignableTransferV1Request

type ApiGetSignableTransferV1Request struct {
	ApiService TransfersApi
	// contains filtered or unexported fields
}

func (ApiGetSignableTransferV1Request) Execute

func (ApiGetSignableTransferV1Request) GetSignableTransferRequest

func (r ApiGetSignableTransferV1Request) GetSignableTransferRequest(getSignableTransferRequest GetSignableTransferRequestV1) ApiGetSignableTransferV1Request

get details of signable transfer

type ApiGetSignableWithdrawalRequest

type ApiGetSignableWithdrawalRequest struct {
	ApiService WithdrawalsApi
	// contains filtered or unexported fields
}

func (ApiGetSignableWithdrawalRequest) Execute

func (ApiGetSignableWithdrawalRequest) GetSignableWithdrawalRequest

func (r ApiGetSignableWithdrawalRequest) GetSignableWithdrawalRequest(getSignableWithdrawalRequest GetSignableWithdrawalRequest) ApiGetSignableWithdrawalRequest

get details of signable withdrawal

type ApiGetTokenRequest

type ApiGetTokenRequest struct {
	ApiService TokensApi
	// contains filtered or unexported fields
}

func (ApiGetTokenRequest) Execute

type ApiGetTradeRequest

type ApiGetTradeRequest struct {
	ApiService TradesApi
	// contains filtered or unexported fields
}

func (ApiGetTradeRequest) Execute

func (r ApiGetTradeRequest) Execute() (*Trade, *http.Response, error)

type ApiGetTransferRequest

type ApiGetTransferRequest struct {
	ApiService TransfersApi
	// contains filtered or unexported fields
}

func (ApiGetTransferRequest) Execute

func (r ApiGetTransferRequest) Execute() (*Transfer, *http.Response, error)

type ApiGetUsersRequest

type ApiGetUsersRequest struct {
	ApiService UsersApi
	// contains filtered or unexported fields
}

func (ApiGetUsersRequest) Execute

type ApiGetWithdrawalRequest

type ApiGetWithdrawalRequest struct {
	ApiService WithdrawalsApi
	// contains filtered or unexported fields
}

func (ApiGetWithdrawalRequest) Execute

type ApiListAssetsRequest

type ApiListAssetsRequest struct {
	ApiService AssetsApi
	// contains filtered or unexported fields
}

func (ApiListAssetsRequest) AuxiliaryFeePercentages

func (r ApiListAssetsRequest) AuxiliaryFeePercentages(auxiliaryFeePercentages string) ApiListAssetsRequest

Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients

func (ApiListAssetsRequest) AuxiliaryFeeRecipients

func (r ApiListAssetsRequest) AuxiliaryFeeRecipients(auxiliaryFeeRecipients string) ApiListAssetsRequest

Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages

func (ApiListAssetsRequest) BuyOrders

func (r ApiListAssetsRequest) BuyOrders(buyOrders bool) ApiListAssetsRequest

Set flag to true to fetch an array of buy order details with accepted status associated with the asset

func (ApiListAssetsRequest) Collection

func (r ApiListAssetsRequest) Collection(collection string) ApiListAssetsRequest

Collection contract address

func (ApiListAssetsRequest) Cursor

Cursor

func (ApiListAssetsRequest) Direction

func (r ApiListAssetsRequest) Direction(direction string) ApiListAssetsRequest

Direction to sort (asc/desc)

func (ApiListAssetsRequest) Execute

func (ApiListAssetsRequest) IncludeFees

func (r ApiListAssetsRequest) IncludeFees(includeFees bool) ApiListAssetsRequest

Set flag to include fees associated with the asset

func (ApiListAssetsRequest) Metadata

func (r ApiListAssetsRequest) Metadata(metadata string) ApiListAssetsRequest

URL JSON-encoded metadata filters for these assets. Javascript example: encodeURI(JSON.stringify({'proto':['1147'],'quality':['Meteorite']}))

func (ApiListAssetsRequest) Name

Name of the asset to search

func (ApiListAssetsRequest) OrderBy

Property to sort by

func (ApiListAssetsRequest) PageSize

func (r ApiListAssetsRequest) PageSize(pageSize int32) ApiListAssetsRequest

Page size of the result

func (ApiListAssetsRequest) SellOrders

func (r ApiListAssetsRequest) SellOrders(sellOrders bool) ApiListAssetsRequest

Set flag to true to fetch an array of sell order details with accepted status associated with the asset

func (ApiListAssetsRequest) Status

Status of these assets

func (ApiListAssetsRequest) UpdatedMaxTimestamp

func (r ApiListAssetsRequest) UpdatedMaxTimestamp(updatedMaxTimestamp string) ApiListAssetsRequest

Maximum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListAssetsRequest) UpdatedMinTimestamp

func (r ApiListAssetsRequest) UpdatedMinTimestamp(updatedMinTimestamp string) ApiListAssetsRequest

Minimum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListAssetsRequest) User

Ethereum address of the user who owns these assets

type ApiListBalancesRequest

type ApiListBalancesRequest struct {
	ApiService BalancesApi
	// contains filtered or unexported fields
}

func (ApiListBalancesRequest) Cursor added in v1.0.0

Cursor

func (ApiListBalancesRequest) Direction added in v1.0.0

func (r ApiListBalancesRequest) Direction(direction string) ApiListBalancesRequest

Direction to sort (asc/desc)

func (ApiListBalancesRequest) Execute

func (ApiListBalancesRequest) OrderBy added in v1.0.0

Property to sort by

func (ApiListBalancesRequest) PageSize added in v1.0.0

Page size of the result

type ApiListCollectionFiltersRequest

type ApiListCollectionFiltersRequest struct {
	ApiService CollectionsApi
	// contains filtered or unexported fields
}

func (ApiListCollectionFiltersRequest) Execute

func (ApiListCollectionFiltersRequest) NextPageToken

Next page token

func (ApiListCollectionFiltersRequest) PageSize

Page size of the result

type ApiListCollectionsRequest

type ApiListCollectionsRequest struct {
	ApiService CollectionsApi
	// contains filtered or unexported fields
}

func (ApiListCollectionsRequest) Blacklist

List of collections not to be included, separated by commas

func (ApiListCollectionsRequest) Cursor

Cursor

func (ApiListCollectionsRequest) Direction

Direction to sort (asc/desc)

func (ApiListCollectionsRequest) Execute

func (ApiListCollectionsRequest) Keyword

Keyword to search in collection name and description

func (ApiListCollectionsRequest) OrderBy

Property to sort by

func (ApiListCollectionsRequest) PageSize

Page size of the result

func (ApiListCollectionsRequest) Whitelist

List of collections to be included, separated by commas

type ApiListDepositsRequest

type ApiListDepositsRequest struct {
	ApiService DepositsApi
	// contains filtered or unexported fields
}

func (ApiListDepositsRequest) AssetId

Internal IMX ID of the minted asset

func (ApiListDepositsRequest) Cursor

Cursor

func (ApiListDepositsRequest) Direction

func (r ApiListDepositsRequest) Direction(direction string) ApiListDepositsRequest

Direction to sort (asc/desc)

func (ApiListDepositsRequest) Execute

func (ApiListDepositsRequest) MaxQuantity

func (r ApiListDepositsRequest) MaxQuantity(maxQuantity string) ApiListDepositsRequest

Max quantity for the deposited asset

func (ApiListDepositsRequest) MaxTimestamp added in v1.0.0

func (r ApiListDepositsRequest) MaxTimestamp(maxTimestamp string) ApiListDepositsRequest

Maximum timestamp for this deposit, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListDepositsRequest) Metadata

JSON-encoded metadata filters for the deposited asset

func (ApiListDepositsRequest) MinQuantity

func (r ApiListDepositsRequest) MinQuantity(minQuantity string) ApiListDepositsRequest

Min quantity for the deposited asset

func (ApiListDepositsRequest) MinTimestamp added in v1.0.0

func (r ApiListDepositsRequest) MinTimestamp(minTimestamp string) ApiListDepositsRequest

Minimum timestamp for this deposit, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListDepositsRequest) OrderBy

Property to sort by

func (ApiListDepositsRequest) PageSize

Page size of the result

func (ApiListDepositsRequest) Status

Status of this deposit

func (ApiListDepositsRequest) TokenAddress

func (r ApiListDepositsRequest) TokenAddress(tokenAddress string) ApiListDepositsRequest

Token address of the deposited asset

func (ApiListDepositsRequest) TokenId

ERC721 Token ID of the minted asset

func (ApiListDepositsRequest) TokenName

func (r ApiListDepositsRequest) TokenName(tokenName string) ApiListDepositsRequest

Token name of the deposited asset

func (ApiListDepositsRequest) TokenType

func (r ApiListDepositsRequest) TokenType(tokenType string) ApiListDepositsRequest

Token type of the deposited asset

func (ApiListDepositsRequest) User

Ethereum address of the user who submitted this deposit

type ApiListMintsRequest

type ApiListMintsRequest struct {
	ApiService MintsApi
	// contains filtered or unexported fields
}

func (ApiListMintsRequest) Cursor

Cursor

func (ApiListMintsRequest) Direction

func (r ApiListMintsRequest) Direction(direction string) ApiListMintsRequest

Direction to sort (asc/desc)

func (ApiListMintsRequest) Execute

func (ApiListMintsRequest) MaxQuantity

func (r ApiListMintsRequest) MaxQuantity(maxQuantity string) ApiListMintsRequest

Max quantity for the minted asset

func (ApiListMintsRequest) MaxTimestamp

func (r ApiListMintsRequest) MaxTimestamp(maxTimestamp string) ApiListMintsRequest

Maximum timestamp for this mint, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListMintsRequest) Metadata

func (r ApiListMintsRequest) Metadata(metadata string) ApiListMintsRequest

JSON-encoded metadata filters for the minted asset

func (ApiListMintsRequest) MinQuantity

func (r ApiListMintsRequest) MinQuantity(minQuantity string) ApiListMintsRequest

Min quantity for the minted asset

func (ApiListMintsRequest) MinTimestamp

func (r ApiListMintsRequest) MinTimestamp(minTimestamp string) ApiListMintsRequest

Minimum timestamp for this mint, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListMintsRequest) OrderBy

func (r ApiListMintsRequest) OrderBy(orderBy string) ApiListMintsRequest

Property to sort by

func (ApiListMintsRequest) PageSize

func (r ApiListMintsRequest) PageSize(pageSize int32) ApiListMintsRequest

Page size of the result

func (ApiListMintsRequest) Status

Status of this mint

func (ApiListMintsRequest) TokenAddress

func (r ApiListMintsRequest) TokenAddress(tokenAddress string) ApiListMintsRequest

Token address of the minted asset

func (ApiListMintsRequest) TokenId

func (r ApiListMintsRequest) TokenId(tokenId string) ApiListMintsRequest

ERC721 Token ID of the minted asset

func (ApiListMintsRequest) TokenName

func (r ApiListMintsRequest) TokenName(tokenName string) ApiListMintsRequest

Token Name of the minted asset

func (ApiListMintsRequest) TokenType

func (r ApiListMintsRequest) TokenType(tokenType string) ApiListMintsRequest

Token type of the minted asset

func (ApiListMintsRequest) User

Ethereum address of the user who submitted this mint

type ApiListOrdersRequest

type ApiListOrdersRequest struct {
	ApiService OrdersApi
	// contains filtered or unexported fields
}

func (ApiListOrdersRequest) AuxiliaryFeePercentages

func (r ApiListOrdersRequest) AuxiliaryFeePercentages(auxiliaryFeePercentages string) ApiListOrdersRequest

Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients

func (ApiListOrdersRequest) AuxiliaryFeeRecipients

func (r ApiListOrdersRequest) AuxiliaryFeeRecipients(auxiliaryFeeRecipients string) ApiListOrdersRequest

Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages

func (ApiListOrdersRequest) BuyAssetId

func (r ApiListOrdersRequest) BuyAssetId(buyAssetId string) ApiListOrdersRequest

Internal IMX ID of the asset this order buys

func (ApiListOrdersRequest) BuyMaxQuantity

func (r ApiListOrdersRequest) BuyMaxQuantity(buyMaxQuantity string) ApiListOrdersRequest

Max quantity for the asset this order buys

func (ApiListOrdersRequest) BuyMetadata

func (r ApiListOrdersRequest) BuyMetadata(buyMetadata string) ApiListOrdersRequest

JSON-encoded metadata filters for the asset this order buys

func (ApiListOrdersRequest) BuyMinQuantity

func (r ApiListOrdersRequest) BuyMinQuantity(buyMinQuantity string) ApiListOrdersRequest

Min quantity for the asset this order buys

func (ApiListOrdersRequest) BuyTokenAddress

func (r ApiListOrdersRequest) BuyTokenAddress(buyTokenAddress string) ApiListOrdersRequest

Token address of the asset this order buys

func (ApiListOrdersRequest) BuyTokenId

func (r ApiListOrdersRequest) BuyTokenId(buyTokenId string) ApiListOrdersRequest

ERC721 Token ID of the asset this order buys

func (ApiListOrdersRequest) BuyTokenName

func (r ApiListOrdersRequest) BuyTokenName(buyTokenName string) ApiListOrdersRequest

Token name of the asset this order buys

func (ApiListOrdersRequest) BuyTokenType

func (r ApiListOrdersRequest) BuyTokenType(buyTokenType string) ApiListOrdersRequest

Token type of the asset this order buys

func (ApiListOrdersRequest) Cursor

Cursor

func (ApiListOrdersRequest) Direction

func (r ApiListOrdersRequest) Direction(direction string) ApiListOrdersRequest

Direction to sort (asc/desc)

func (ApiListOrdersRequest) Execute

func (ApiListOrdersRequest) IncludeFees

func (r ApiListOrdersRequest) IncludeFees(includeFees bool) ApiListOrdersRequest

Set flag to true to include fee object for orders

func (ApiListOrdersRequest) MaxTimestamp

func (r ApiListOrdersRequest) MaxTimestamp(maxTimestamp string) ApiListOrdersRequest

Maximum created at timestamp for this order, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListOrdersRequest) MinTimestamp

func (r ApiListOrdersRequest) MinTimestamp(minTimestamp string) ApiListOrdersRequest

Minimum created at timestamp for this order, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListOrdersRequest) OrderBy

Property to sort by

func (ApiListOrdersRequest) PageSize

func (r ApiListOrdersRequest) PageSize(pageSize int32) ApiListOrdersRequest

Page size of the result

func (ApiListOrdersRequest) SellAssetId

func (r ApiListOrdersRequest) SellAssetId(sellAssetId string) ApiListOrdersRequest

Internal IMX ID of the asset this order sells

func (ApiListOrdersRequest) SellMaxQuantity

func (r ApiListOrdersRequest) SellMaxQuantity(sellMaxQuantity string) ApiListOrdersRequest

Max quantity for the asset this order sells

func (ApiListOrdersRequest) SellMetadata

func (r ApiListOrdersRequest) SellMetadata(sellMetadata string) ApiListOrdersRequest

JSON-encoded metadata filters for the asset this order sells

func (ApiListOrdersRequest) SellMinQuantity

func (r ApiListOrdersRequest) SellMinQuantity(sellMinQuantity string) ApiListOrdersRequest

Min quantity for the asset this order sells

func (ApiListOrdersRequest) SellTokenAddress

func (r ApiListOrdersRequest) SellTokenAddress(sellTokenAddress string) ApiListOrdersRequest

Token address of the asset this order sells

func (ApiListOrdersRequest) SellTokenId

func (r ApiListOrdersRequest) SellTokenId(sellTokenId string) ApiListOrdersRequest

ERC721 Token ID of the asset this order sells

func (ApiListOrdersRequest) SellTokenName

func (r ApiListOrdersRequest) SellTokenName(sellTokenName string) ApiListOrdersRequest

Token name of the asset this order sells

func (ApiListOrdersRequest) SellTokenType

func (r ApiListOrdersRequest) SellTokenType(sellTokenType string) ApiListOrdersRequest

Token type of the asset this order sells

func (ApiListOrdersRequest) Status

Status of this order

func (ApiListOrdersRequest) UpdatedMaxTimestamp

func (r ApiListOrdersRequest) UpdatedMaxTimestamp(updatedMaxTimestamp string) ApiListOrdersRequest

Maximum updated at timestamp for this order, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListOrdersRequest) UpdatedMinTimestamp

func (r ApiListOrdersRequest) UpdatedMinTimestamp(updatedMinTimestamp string) ApiListOrdersRequest

Minimum updated at timestamp for this order, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListOrdersRequest) User

Ethereum address of the user who submitted this order

type ApiListTokensRequest

type ApiListTokensRequest struct {
	ApiService TokensApi
	// contains filtered or unexported fields
}

func (ApiListTokensRequest) Address

Contract address of the token

func (ApiListTokensRequest) Cursor

Cursor

func (ApiListTokensRequest) Direction

func (r ApiListTokensRequest) Direction(direction string) ApiListTokensRequest

Direction to sort (asc/desc)

func (ApiListTokensRequest) Execute

func (ApiListTokensRequest) OrderBy

Property to sort by

func (ApiListTokensRequest) PageSize

func (r ApiListTokensRequest) PageSize(pageSize int32) ApiListTokensRequest

Page size of the result

func (ApiListTokensRequest) Symbols

Token symbols for the token, e.g. ?symbols=IMX,ETH

type ApiListTradesRequest

type ApiListTradesRequest struct {
	ApiService TradesApi
	// contains filtered or unexported fields
}

func (ApiListTradesRequest) Cursor

Cursor

func (ApiListTradesRequest) Direction

func (r ApiListTradesRequest) Direction(direction string) ApiListTradesRequest

Direction to sort (asc/desc)

func (ApiListTradesRequest) Execute

func (ApiListTradesRequest) MaxTimestamp

func (r ApiListTradesRequest) MaxTimestamp(maxTimestamp string) ApiListTradesRequest

Maximum timestamp for this trade, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListTradesRequest) MinTimestamp

func (r ApiListTradesRequest) MinTimestamp(minTimestamp string) ApiListTradesRequest

Minimum timestamp for this trade, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListTradesRequest) OrderBy

Property to sort by

func (ApiListTradesRequest) PageSize

func (r ApiListTradesRequest) PageSize(pageSize int32) ApiListTradesRequest

Page size of the result

func (ApiListTradesRequest) PartyATokenAddress

func (r ApiListTradesRequest) PartyATokenAddress(partyATokenAddress string) ApiListTradesRequest

Party A's (buy order) token address of currency used to buy

func (ApiListTradesRequest) PartyATokenType

func (r ApiListTradesRequest) PartyATokenType(partyATokenType string) ApiListTradesRequest

Party A's (buy order) token type of currency used to buy

func (ApiListTradesRequest) PartyBTokenAddress

func (r ApiListTradesRequest) PartyBTokenAddress(partyBTokenAddress string) ApiListTradesRequest

Party B's (sell order) collection address of NFT sold

func (ApiListTradesRequest) PartyBTokenId

func (r ApiListTradesRequest) PartyBTokenId(partyBTokenId string) ApiListTradesRequest

Party B's (sell order) token id of NFT sold

func (ApiListTradesRequest) PartyBTokenType

func (r ApiListTradesRequest) PartyBTokenType(partyBTokenType string) ApiListTradesRequest

Party B's (sell order) token type of NFT sold - always ERC721

type ApiListTransfersRequest

type ApiListTransfersRequest struct {
	ApiService TransfersApi
	// contains filtered or unexported fields
}

func (ApiListTransfersRequest) AssetId

Internal IMX ID of the minted asset

func (ApiListTransfersRequest) Cursor

Cursor

func (ApiListTransfersRequest) Direction

Direction to sort (asc/desc)

func (ApiListTransfersRequest) Execute

func (ApiListTransfersRequest) MaxQuantity

func (r ApiListTransfersRequest) MaxQuantity(maxQuantity string) ApiListTransfersRequest

Max quantity for the transferred asset

func (ApiListTransfersRequest) MaxTimestamp

func (r ApiListTransfersRequest) MaxTimestamp(maxTimestamp string) ApiListTransfersRequest

Maximum timestamp for this transfer, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListTransfersRequest) Metadata

JSON-encoded metadata filters for the transferred asset

func (ApiListTransfersRequest) MinQuantity

func (r ApiListTransfersRequest) MinQuantity(minQuantity string) ApiListTransfersRequest

Max quantity for the transferred asset

func (ApiListTransfersRequest) MinTimestamp

func (r ApiListTransfersRequest) MinTimestamp(minTimestamp string) ApiListTransfersRequest

Minimum timestamp for this transfer, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListTransfersRequest) OrderBy

Property to sort by

func (ApiListTransfersRequest) PageSize

Page size of the result

func (ApiListTransfersRequest) Receiver

Ethereum address of the user who received this transfer

func (ApiListTransfersRequest) Status

Status of this transfer

func (ApiListTransfersRequest) TokenAddress

func (r ApiListTransfersRequest) TokenAddress(tokenAddress string) ApiListTransfersRequest

Token address of the transferred asset

func (ApiListTransfersRequest) TokenId

ERC721 Token ID of the minted asset

func (ApiListTransfersRequest) TokenName

Token name of the transferred asset

func (ApiListTransfersRequest) TokenType

Token type of the transferred asset

func (ApiListTransfersRequest) User

Ethereum address of the user who submitted this transfer

type ApiListWithdrawalsRequest

type ApiListWithdrawalsRequest struct {
	ApiService WithdrawalsApi
	// contains filtered or unexported fields
}

func (ApiListWithdrawalsRequest) AssetId

Internal IMX ID of the minted asset

func (ApiListWithdrawalsRequest) Cursor

Cursor

func (ApiListWithdrawalsRequest) Direction

Direction to sort (asc/desc)

func (ApiListWithdrawalsRequest) Execute

func (ApiListWithdrawalsRequest) MaxQuantity

func (r ApiListWithdrawalsRequest) MaxQuantity(maxQuantity string) ApiListWithdrawalsRequest

Max quantity for the withdrawn asset

func (ApiListWithdrawalsRequest) MaxTimestamp

func (r ApiListWithdrawalsRequest) MaxTimestamp(maxTimestamp string) ApiListWithdrawalsRequest

Maximum timestamp for this deposit, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListWithdrawalsRequest) Metadata

JSON-encoded metadata filters for the withdrawn asset

func (ApiListWithdrawalsRequest) MinQuantity

func (r ApiListWithdrawalsRequest) MinQuantity(minQuantity string) ApiListWithdrawalsRequest

Min quantity for the withdrawn asset

func (ApiListWithdrawalsRequest) MinTimestamp

func (r ApiListWithdrawalsRequest) MinTimestamp(minTimestamp string) ApiListWithdrawalsRequest

Minimum timestamp for this deposit, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z'

func (ApiListWithdrawalsRequest) OrderBy

Property to sort by

func (ApiListWithdrawalsRequest) PageSize

Page size of the result

func (ApiListWithdrawalsRequest) RollupStatus

func (r ApiListWithdrawalsRequest) RollupStatus(rollupStatus string) ApiListWithdrawalsRequest

Status of the on-chain batch confirmation for this withdrawal

func (ApiListWithdrawalsRequest) Status

Status of this withdrawal

func (ApiListWithdrawalsRequest) TokenAddress

func (r ApiListWithdrawalsRequest) TokenAddress(tokenAddress string) ApiListWithdrawalsRequest

Token address of the withdrawn asset

func (ApiListWithdrawalsRequest) TokenId

ERC721 Token ID of the minted asset

func (ApiListWithdrawalsRequest) TokenName

Token name of the withdrawn asset

func (ApiListWithdrawalsRequest) TokenType

Token type of the withdrawn asset

func (ApiListWithdrawalsRequest) User

Ethereum address of the user who submitted this withdrawal

func (ApiListWithdrawalsRequest) WithdrawnToWallet

func (r ApiListWithdrawalsRequest) WithdrawnToWallet(withdrawnToWallet bool) ApiListWithdrawalsRequest

Withdrawal has been transferred to user's Layer 1 wallet

type ApiMintTokensRequest

type ApiMintTokensRequest struct {
	ApiService MintsApi
	// contains filtered or unexported fields
}

func (ApiMintTokensRequest) Execute

func (ApiMintTokensRequest) MintTokensRequestV2

func (r ApiMintTokensRequest) MintTokensRequestV2(mintTokensRequestV2 []MintRequest) ApiMintTokensRequest

details of tokens to mint

type ApiRegisterNftPrimarySalesContractRequest added in v1.0.0

type ApiRegisterNftPrimarySalesContractRequest struct {
	ApiService NftCheckoutPrimaryApi
	// contains filtered or unexported fields
}

func (ApiRegisterNftPrimarySalesContractRequest) CreateAPIRequest added in v1.0.0

req

func (ApiRegisterNftPrimarySalesContractRequest) Execute added in v1.0.0

type ApiRegisterUserRequest

type ApiRegisterUserRequest struct {
	ApiService UsersApi
	// contains filtered or unexported fields
}

func (ApiRegisterUserRequest) Execute

func (ApiRegisterUserRequest) RegisterUserRequest

func (r ApiRegisterUserRequest) RegisterUserRequest(registerUserRequest RegisterUserRequest) ApiRegisterUserRequest

Register User

type ApiRequestAMetadataRefreshRequest

type ApiRequestAMetadataRefreshRequest struct {
	ApiService MetadataRefreshesApi
	// contains filtered or unexported fields
}

func (ApiRequestAMetadataRefreshRequest) CreateMetadataRefreshRequest

func (r ApiRequestAMetadataRefreshRequest) CreateMetadataRefreshRequest(createMetadataRefreshRequest CreateMetadataRefreshRequest) ApiRequestAMetadataRefreshRequest

Create metadata refresh request

func (ApiRequestAMetadataRefreshRequest) Execute

func (ApiRequestAMetadataRefreshRequest) XImxEthAddress

Wallet Address that signed the signature

func (ApiRequestAMetadataRefreshRequest) XImxEthSignature

func (r ApiRequestAMetadataRefreshRequest) XImxEthSignature(xImxEthSignature string) ApiRequestAMetadataRefreshRequest

String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature

func (ApiRequestAMetadataRefreshRequest) XImxEthTimestamp

func (r ApiRequestAMetadataRefreshRequest) XImxEthTimestamp(xImxEthTimestamp string) ApiRequestAMetadataRefreshRequest

Unix Epoc timestamp

type ApiUpdateCollectionRequest

type ApiUpdateCollectionRequest struct {
	ApiService CollectionsApi
	// contains filtered or unexported fields
}

func (ApiUpdateCollectionRequest) Execute

func (ApiUpdateCollectionRequest) IMXSignature

func (r ApiUpdateCollectionRequest) IMXSignature(iMXSignature string) ApiUpdateCollectionRequest

String created by signing wallet address and timestamp

func (ApiUpdateCollectionRequest) IMXTimestamp

func (r ApiUpdateCollectionRequest) IMXTimestamp(iMXTimestamp string) ApiUpdateCollectionRequest

Unix Epoc timestamp

func (ApiUpdateCollectionRequest) UpdateCollectionRequest

func (r ApiUpdateCollectionRequest) UpdateCollectionRequest(updateCollectionRequest UpdateCollectionRequest) ApiUpdateCollectionRequest

update a collection

type ApiUpdateMetadataSchemaByNameRequest

type ApiUpdateMetadataSchemaByNameRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (ApiUpdateMetadataSchemaByNameRequest) Execute

func (ApiUpdateMetadataSchemaByNameRequest) IMXSignature

String created by signing wallet address and timestamp

func (ApiUpdateMetadataSchemaByNameRequest) IMXTimestamp

Unix Epoc timestamp

func (ApiUpdateMetadataSchemaByNameRequest) MetadataSchemaRequest

update metadata schema

type Asset

type Asset struct {
	Collection CollectionDetails `json:"collection"`
	// Timestamp of when the asset was created
	CreatedAt NullableString `json:"created_at"`
	// Description of this asset
	Description NullableString `json:"description"`
	// Royalties to pay on this asset operations
	Fees []Fee `json:"fees,omitempty"`
	// [DEPRECATED] Internal Immutable X Token ID
	Id *string `json:"id,omitempty"`
	// URL of the image which should be used for this asset
	ImageUrl NullableString `json:"image_url"`
	// Metadata of this asset
	Metadata map[string]interface{} `json:"metadata"`
	// Name of this asset
	Name   NullableString `json:"name"`
	Orders *OrderDetails  `json:"orders,omitempty"`
	// Status of this asset (where it is in the system)
	Status string `json:"status"`
	// Address of the ERC721 contract
	TokenAddress string `json:"token_address"`
	// ERC721 Token ID of this asset
	TokenId string `json:"token_id"`
	// Timestamp of when the asset was updated
	UpdatedAt NullableString `json:"updated_at"`
	// URI to access this asset externally to Immutable X
	Uri NullableString `json:"uri"`
	// Ethereum address of the user who owns this asset
	User string `json:"user"`
}

Asset struct for Asset

func NewAsset

func NewAsset(collection CollectionDetails, createdAt NullableString, description NullableString, imageUrl NullableString, metadata map[string]interface{}, name NullableString, status string, tokenAddress string, tokenId string, updatedAt NullableString, uri NullableString, user string) *Asset

NewAsset instantiates a new Asset object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssetWithDefaults

func NewAssetWithDefaults() *Asset

NewAssetWithDefaults instantiates a new Asset object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Asset) GetCollection

func (o *Asset) GetCollection() CollectionDetails

GetCollection returns the Collection field value

func (*Asset) GetCollectionOk

func (o *Asset) GetCollectionOk() (*CollectionDetails, bool)

GetCollectionOk returns a tuple with the Collection field value and a boolean to check if the value has been set.

func (*Asset) GetCreatedAt

func (o *Asset) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*Asset) GetCreatedAtOk

func (o *Asset) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetDescription

func (o *Asset) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*Asset) GetDescriptionOk

func (o *Asset) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetFees

func (o *Asset) GetFees() []Fee

GetFees returns the Fees field value if set, zero value otherwise.

func (*Asset) GetFeesOk

func (o *Asset) GetFeesOk() ([]Fee, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Asset) GetId

func (o *Asset) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Asset) GetIdOk

func (o *Asset) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Asset) GetImageUrl

func (o *Asset) GetImageUrl() string

GetImageUrl returns the ImageUrl field value If the value is explicit nil, the zero value for string will be returned

func (*Asset) GetImageUrlOk

func (o *Asset) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetMetadata

func (o *Asset) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*Asset) GetMetadataOk

func (o *Asset) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetName

func (o *Asset) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Asset) GetNameOk

func (o *Asset) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetOrders

func (o *Asset) GetOrders() OrderDetails

GetOrders returns the Orders field value if set, zero value otherwise.

func (*Asset) GetOrdersOk

func (o *Asset) GetOrdersOk() (*OrderDetails, bool)

GetOrdersOk returns a tuple with the Orders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Asset) GetStatus

func (o *Asset) GetStatus() string

GetStatus returns the Status field value

func (*Asset) GetStatusOk

func (o *Asset) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Asset) GetTokenAddress

func (o *Asset) GetTokenAddress() string

GetTokenAddress returns the TokenAddress field value

func (*Asset) GetTokenAddressOk

func (o *Asset) GetTokenAddressOk() (*string, bool)

GetTokenAddressOk returns a tuple with the TokenAddress field value and a boolean to check if the value has been set.

func (*Asset) GetTokenId

func (o *Asset) GetTokenId() string

GetTokenId returns the TokenId field value

func (*Asset) GetTokenIdOk

func (o *Asset) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value and a boolean to check if the value has been set.

func (*Asset) GetUpdatedAt

func (o *Asset) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*Asset) GetUpdatedAtOk

func (o *Asset) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetUri

func (o *Asset) GetUri() string

GetUri returns the Uri field value If the value is explicit nil, the zero value for string will be returned

func (*Asset) GetUriOk

func (o *Asset) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetUser

func (o *Asset) GetUser() string

GetUser returns the User field value

func (*Asset) GetUserOk

func (o *Asset) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (*Asset) HasFees

func (o *Asset) HasFees() bool

HasFees returns a boolean if a field has been set.

func (*Asset) HasId

func (o *Asset) HasId() bool

HasId returns a boolean if a field has been set.

func (*Asset) HasOrders

func (o *Asset) HasOrders() bool

HasOrders returns a boolean if a field has been set.

func (Asset) MarshalJSON

func (o Asset) MarshalJSON() ([]byte, error)

func (*Asset) SetCollection

func (o *Asset) SetCollection(v CollectionDetails)

SetCollection sets field value

func (*Asset) SetCreatedAt

func (o *Asset) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*Asset) SetDescription

func (o *Asset) SetDescription(v string)

SetDescription sets field value

func (*Asset) SetFees

func (o *Asset) SetFees(v []Fee)

SetFees gets a reference to the given []Fee and assigns it to the Fees field.

func (*Asset) SetId

func (o *Asset) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Asset) SetImageUrl

func (o *Asset) SetImageUrl(v string)

SetImageUrl sets field value

func (*Asset) SetMetadata

func (o *Asset) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*Asset) SetName

func (o *Asset) SetName(v string)

SetName sets field value

func (*Asset) SetOrders

func (o *Asset) SetOrders(v OrderDetails)

SetOrders gets a reference to the given OrderDetails and assigns it to the Orders field.

func (*Asset) SetStatus

func (o *Asset) SetStatus(v string)

SetStatus sets field value

func (*Asset) SetTokenAddress

func (o *Asset) SetTokenAddress(v string)

SetTokenAddress sets field value

func (*Asset) SetTokenId

func (o *Asset) SetTokenId(v string)

SetTokenId sets field value

func (*Asset) SetUpdatedAt

func (o *Asset) SetUpdatedAt(v string)

SetUpdatedAt sets field value

func (*Asset) SetUri

func (o *Asset) SetUri(v string)

SetUri sets field value

func (*Asset) SetUser

func (o *Asset) SetUser(v string)

SetUser sets field value

type AssetProperties

type AssetProperties struct {
	Collection *CollectionDetails `json:"collection,omitempty"`
	// Image URL of this asset
	ImageUrl *string `json:"image_url,omitempty"`
	// Name of this asset
	Name *string `json:"name,omitempty"`
}

AssetProperties struct for AssetProperties

func NewAssetProperties

func NewAssetProperties() *AssetProperties

NewAssetProperties instantiates a new AssetProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssetPropertiesWithDefaults

func NewAssetPropertiesWithDefaults() *AssetProperties

NewAssetPropertiesWithDefaults instantiates a new AssetProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssetProperties) GetCollection

func (o *AssetProperties) GetCollection() CollectionDetails

GetCollection returns the Collection field value if set, zero value otherwise.

func (*AssetProperties) GetCollectionOk

func (o *AssetProperties) GetCollectionOk() (*CollectionDetails, bool)

GetCollectionOk returns a tuple with the Collection field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetProperties) GetImageUrl

func (o *AssetProperties) GetImageUrl() string

GetImageUrl returns the ImageUrl field value if set, zero value otherwise.

func (*AssetProperties) GetImageUrlOk

func (o *AssetProperties) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetProperties) GetName

func (o *AssetProperties) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AssetProperties) GetNameOk

func (o *AssetProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetProperties) HasCollection

func (o *AssetProperties) HasCollection() bool

HasCollection returns a boolean if a field has been set.

func (*AssetProperties) HasImageUrl

func (o *AssetProperties) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*AssetProperties) HasName

func (o *AssetProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (AssetProperties) MarshalJSON

func (o AssetProperties) MarshalJSON() ([]byte, error)

func (*AssetProperties) SetCollection

func (o *AssetProperties) SetCollection(v CollectionDetails)

SetCollection gets a reference to the given CollectionDetails and assigns it to the Collection field.

func (*AssetProperties) SetImageUrl

func (o *AssetProperties) SetImageUrl(v string)

SetImageUrl gets a reference to the given string and assigns it to the ImageUrl field.

func (*AssetProperties) SetName

func (o *AssetProperties) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type AssetWithOrders

type AssetWithOrders struct {
	Collection CollectionDetails `json:"collection"`
	// Timestamp of when the asset was created
	CreatedAt NullableString `json:"created_at"`
	// Description of this asset
	Description NullableString `json:"description"`
	// Royalties to pay on this asset operations
	Fees []Fee `json:"fees,omitempty"`
	// [DEPRECATED] Internal Immutable X Token ID
	Id *string `json:"id,omitempty"`
	// URL of the image which should be used for this asset
	ImageUrl NullableString `json:"image_url"`
	// Metadata of this asset
	Metadata map[string]interface{} `json:"metadata"`
	// Name of this asset
	Name   NullableString `json:"name"`
	Orders *OrderDetails  `json:"orders,omitempty"`
	// Status of this asset (where it is in the system)
	Status string `json:"status"`
	// Address of the ERC721 contract
	TokenAddress string `json:"token_address"`
	// ERC721 Token ID of this asset
	TokenId string `json:"token_id"`
	// Timestamp of when the asset was updated
	UpdatedAt NullableString `json:"updated_at"`
	// URI to access this asset externally to Immutable X
	Uri NullableString `json:"uri"`
	// Ethereum address of the user who owns this asset
	User string `json:"user"`
}

AssetWithOrders struct for AssetWithOrders

func NewAssetWithOrders

func NewAssetWithOrders(collection CollectionDetails, createdAt NullableString, description NullableString, imageUrl NullableString, metadata map[string]interface{}, name NullableString, status string, tokenAddress string, tokenId string, updatedAt NullableString, uri NullableString, user string) *AssetWithOrders

NewAssetWithOrders instantiates a new AssetWithOrders object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssetWithOrdersWithDefaults

func NewAssetWithOrdersWithDefaults() *AssetWithOrders

NewAssetWithOrdersWithDefaults instantiates a new AssetWithOrders object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssetWithOrders) GetCollection

func (o *AssetWithOrders) GetCollection() CollectionDetails

GetCollection returns the Collection field value

func (*AssetWithOrders) GetCollectionOk

func (o *AssetWithOrders) GetCollectionOk() (*CollectionDetails, bool)

GetCollectionOk returns a tuple with the Collection field value and a boolean to check if the value has been set.

func (*AssetWithOrders) GetCreatedAt

func (o *AssetWithOrders) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*AssetWithOrders) GetCreatedAtOk

func (o *AssetWithOrders) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetWithOrders) GetDescription

func (o *AssetWithOrders) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*AssetWithOrders) GetDescriptionOk

func (o *AssetWithOrders) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetWithOrders) GetFees

func (o *AssetWithOrders) GetFees() []Fee

GetFees returns the Fees field value if set, zero value otherwise.

func (*AssetWithOrders) GetFeesOk

func (o *AssetWithOrders) GetFeesOk() ([]Fee, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetWithOrders) GetId

func (o *AssetWithOrders) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AssetWithOrders) GetIdOk

func (o *AssetWithOrders) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetWithOrders) GetImageUrl

func (o *AssetWithOrders) GetImageUrl() string

GetImageUrl returns the ImageUrl field value If the value is explicit nil, the zero value for string will be returned

func (*AssetWithOrders) GetImageUrlOk

func (o *AssetWithOrders) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetWithOrders) GetMetadata

func (o *AssetWithOrders) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*AssetWithOrders) GetMetadataOk

func (o *AssetWithOrders) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetWithOrders) GetName

func (o *AssetWithOrders) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*AssetWithOrders) GetNameOk

func (o *AssetWithOrders) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetWithOrders) GetOrders

func (o *AssetWithOrders) GetOrders() OrderDetails

GetOrders returns the Orders field value if set, zero value otherwise.

func (*AssetWithOrders) GetOrdersOk

func (o *AssetWithOrders) GetOrdersOk() (*OrderDetails, bool)

GetOrdersOk returns a tuple with the Orders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetWithOrders) GetStatus

func (o *AssetWithOrders) GetStatus() string

GetStatus returns the Status field value

func (*AssetWithOrders) GetStatusOk

func (o *AssetWithOrders) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*AssetWithOrders) GetTokenAddress

func (o *AssetWithOrders) GetTokenAddress() string

GetTokenAddress returns the TokenAddress field value

func (*AssetWithOrders) GetTokenAddressOk

func (o *AssetWithOrders) GetTokenAddressOk() (*string, bool)

GetTokenAddressOk returns a tuple with the TokenAddress field value and a boolean to check if the value has been set.

func (*AssetWithOrders) GetTokenId

func (o *AssetWithOrders) GetTokenId() string

GetTokenId returns the TokenId field value

func (*AssetWithOrders) GetTokenIdOk

func (o *AssetWithOrders) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value and a boolean to check if the value has been set.

func (*AssetWithOrders) GetUpdatedAt

func (o *AssetWithOrders) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*AssetWithOrders) GetUpdatedAtOk

func (o *AssetWithOrders) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetWithOrders) GetUri

func (o *AssetWithOrders) GetUri() string

GetUri returns the Uri field value If the value is explicit nil, the zero value for string will be returned

func (*AssetWithOrders) GetUriOk

func (o *AssetWithOrders) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetWithOrders) GetUser

func (o *AssetWithOrders) GetUser() string

GetUser returns the User field value

func (*AssetWithOrders) GetUserOk

func (o *AssetWithOrders) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (*AssetWithOrders) HasFees

func (o *AssetWithOrders) HasFees() bool

HasFees returns a boolean if a field has been set.

func (*AssetWithOrders) HasId

func (o *AssetWithOrders) HasId() bool

HasId returns a boolean if a field has been set.

func (*AssetWithOrders) HasOrders

func (o *AssetWithOrders) HasOrders() bool

HasOrders returns a boolean if a field has been set.

func (AssetWithOrders) MarshalJSON

func (o AssetWithOrders) MarshalJSON() ([]byte, error)

func (*AssetWithOrders) SetCollection

func (o *AssetWithOrders) SetCollection(v CollectionDetails)

SetCollection sets field value

func (*AssetWithOrders) SetCreatedAt

func (o *AssetWithOrders) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*AssetWithOrders) SetDescription

func (o *AssetWithOrders) SetDescription(v string)

SetDescription sets field value

func (*AssetWithOrders) SetFees

func (o *AssetWithOrders) SetFees(v []Fee)

SetFees gets a reference to the given []Fee and assigns it to the Fees field.

func (*AssetWithOrders) SetId

func (o *AssetWithOrders) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AssetWithOrders) SetImageUrl

func (o *AssetWithOrders) SetImageUrl(v string)

SetImageUrl sets field value

func (*AssetWithOrders) SetMetadata

func (o *AssetWithOrders) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*AssetWithOrders) SetName

func (o *AssetWithOrders) SetName(v string)

SetName sets field value

func (*AssetWithOrders) SetOrders

func (o *AssetWithOrders) SetOrders(v OrderDetails)

SetOrders gets a reference to the given OrderDetails and assigns it to the Orders field.

func (*AssetWithOrders) SetStatus

func (o *AssetWithOrders) SetStatus(v string)

SetStatus sets field value

func (*AssetWithOrders) SetTokenAddress

func (o *AssetWithOrders) SetTokenAddress(v string)

SetTokenAddress sets field value

func (*AssetWithOrders) SetTokenId

func (o *AssetWithOrders) SetTokenId(v string)

SetTokenId sets field value

func (*AssetWithOrders) SetUpdatedAt

func (o *AssetWithOrders) SetUpdatedAt(v string)

SetUpdatedAt sets field value

func (*AssetWithOrders) SetUri

func (o *AssetWithOrders) SetUri(v string)

SetUri sets field value

func (*AssetWithOrders) SetUser

func (o *AssetWithOrders) SetUser(v string)

SetUser sets field value

type AssetsApi

type AssetsApi interface {

	/*
		GetAsset Get details of an asset

		Get details of an asset

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param tokenAddress Address of the ERC721 contract
		@param tokenId Either ERC721 token ID or internal IMX ID
		@return ApiGetAssetRequest
	*/
	GetAsset(ctx context.Context, tokenAddress string, tokenId string) ApiGetAssetRequest

	// GetAssetExecute executes the request
	//  @return Asset
	GetAssetExecute(r ApiGetAssetRequest) (*Asset, *http.Response, error)

	/*
		ListAssets Get a list of assets

		Get a list of assets

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListAssetsRequest
	*/
	ListAssets(ctx context.Context) ApiListAssetsRequest

	// ListAssetsExecute executes the request
	//  @return ListAssetsResponse
	ListAssetsExecute(r ApiListAssetsRequest) (*ListAssetsResponse, *http.Response, error)
}

type AssetsApiService

type AssetsApiService service

AssetsApiService AssetsApi service

func (*AssetsApiService) GetAsset

func (a *AssetsApiService) GetAsset(ctx context.Context, tokenAddress string, tokenId string) ApiGetAssetRequest

GetAsset Get details of an asset

Get details of an asset

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tokenAddress Address of the ERC721 contract
@param tokenId Either ERC721 token ID or internal IMX ID
@return ApiGetAssetRequest

func (*AssetsApiService) GetAssetExecute

func (a *AssetsApiService) GetAssetExecute(r ApiGetAssetRequest) (*Asset, *http.Response, error)

Execute executes the request

@return Asset

func (*AssetsApiService) ListAssets

ListAssets Get a list of assets

Get a list of assets

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListAssetsRequest

func (*AssetsApiService) ListAssetsExecute

Execute executes the request

@return ListAssetsResponse

type Balance

type Balance struct {
	// Amount which is currently inside the exchange
	Balance string `json:"balance"`
	// Amount which is currently preparing withdrawal from the exchange
	PreparingWithdrawal string `json:"preparing_withdrawal"`
	// Symbol of the token (e.g. ETH, IMX)
	Symbol string `json:"symbol"`
	// Address of the contract that represents this ERC20 token or empty for ETH
	TokenAddress string `json:"token_address"`
	// Amount which is currently withdrawable from the exchange
	Withdrawable string `json:"withdrawable"`
}

Balance struct for Balance

func NewBalance

func NewBalance(balance string, preparingWithdrawal string, symbol string, tokenAddress string, withdrawable string) *Balance

NewBalance instantiates a new Balance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBalanceWithDefaults

func NewBalanceWithDefaults() *Balance

NewBalanceWithDefaults instantiates a new Balance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Balance) GetBalance

func (o *Balance) GetBalance() string

GetBalance returns the Balance field value

func (*Balance) GetBalanceOk

func (o *Balance) GetBalanceOk() (*string, bool)

GetBalanceOk returns a tuple with the Balance field value and a boolean to check if the value has been set.

func (*Balance) GetPreparingWithdrawal

func (o *Balance) GetPreparingWithdrawal() string

GetPreparingWithdrawal returns the PreparingWithdrawal field value

func (*Balance) GetPreparingWithdrawalOk

func (o *Balance) GetPreparingWithdrawalOk() (*string, bool)

GetPreparingWithdrawalOk returns a tuple with the PreparingWithdrawal field value and a boolean to check if the value has been set.

func (*Balance) GetSymbol

func (o *Balance) GetSymbol() string

GetSymbol returns the Symbol field value

func (*Balance) GetSymbolOk

func (o *Balance) GetSymbolOk() (*string, bool)

GetSymbolOk returns a tuple with the Symbol field value and a boolean to check if the value has been set.

func (*Balance) GetTokenAddress

func (o *Balance) GetTokenAddress() string

GetTokenAddress returns the TokenAddress field value

func (*Balance) GetTokenAddressOk

func (o *Balance) GetTokenAddressOk() (*string, bool)

GetTokenAddressOk returns a tuple with the TokenAddress field value and a boolean to check if the value has been set.

func (*Balance) GetWithdrawable

func (o *Balance) GetWithdrawable() string

GetWithdrawable returns the Withdrawable field value

func (*Balance) GetWithdrawableOk

func (o *Balance) GetWithdrawableOk() (*string, bool)

GetWithdrawableOk returns a tuple with the Withdrawable field value and a boolean to check if the value has been set.

func (Balance) MarshalJSON

func (o Balance) MarshalJSON() ([]byte, error)

func (*Balance) SetBalance

func (o *Balance) SetBalance(v string)

SetBalance sets field value

func (*Balance) SetPreparingWithdrawal

func (o *Balance) SetPreparingWithdrawal(v string)

SetPreparingWithdrawal sets field value

func (*Balance) SetSymbol

func (o *Balance) SetSymbol(v string)

SetSymbol sets field value

func (*Balance) SetTokenAddress

func (o *Balance) SetTokenAddress(v string)

SetTokenAddress sets field value

func (*Balance) SetWithdrawable

func (o *Balance) SetWithdrawable(v string)

SetWithdrawable sets field value

type BalancesApi

type BalancesApi interface {

	/*
		GetBalance Fetches the token balances of the user

		Fetches the token balances of the user

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param owner Address of the owner/user
		@param address Token address
		@return ApiGetBalanceRequest
	*/
	GetBalance(ctx context.Context, owner string, address string) ApiGetBalanceRequest

	// GetBalanceExecute executes the request
	//  @return Balance
	GetBalanceExecute(r ApiGetBalanceRequest) (*Balance, *http.Response, error)

	/*
		ListBalances Get a list of balances for given user

		Get a list of balances for given user

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param owner Ethereum wallet address for user
		@return ApiListBalancesRequest
	*/
	ListBalances(ctx context.Context, owner string) ApiListBalancesRequest

	// ListBalancesExecute executes the request
	//  @return ListBalancesResponse
	ListBalancesExecute(r ApiListBalancesRequest) (*ListBalancesResponse, *http.Response, error)
}

type BalancesApiService

type BalancesApiService service

BalancesApiService BalancesApi service

func (*BalancesApiService) GetBalance

func (a *BalancesApiService) GetBalance(ctx context.Context, owner string, address string) ApiGetBalanceRequest

GetBalance Fetches the token balances of the user

Fetches the token balances of the user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param owner Address of the owner/user
@param address Token address
@return ApiGetBalanceRequest

func (*BalancesApiService) GetBalanceExecute

func (a *BalancesApiService) GetBalanceExecute(r ApiGetBalanceRequest) (*Balance, *http.Response, error)

Execute executes the request

@return Balance

func (*BalancesApiService) ListBalances

func (a *BalancesApiService) ListBalances(ctx context.Context, owner string) ApiListBalancesRequest

ListBalances Get a list of balances for given user

Get a list of balances for given user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param owner Ethereum wallet address for user
@return ApiListBalancesRequest

func (*BalancesApiService) ListBalancesExecute

Execute executes the request

@return ListBalancesResponse

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CancelOrderRequest

type CancelOrderRequest struct {
	// ID of the order
	OrderId int32 `json:"order_id"`
	// Payload signature
	StarkSignature string `json:"stark_signature"`
}

CancelOrderRequest struct for CancelOrderRequest

func NewCancelOrderRequest

func NewCancelOrderRequest(orderId int32, starkSignature string) *CancelOrderRequest

NewCancelOrderRequest instantiates a new CancelOrderRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCancelOrderRequestWithDefaults

func NewCancelOrderRequestWithDefaults() *CancelOrderRequest

NewCancelOrderRequestWithDefaults instantiates a new CancelOrderRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CancelOrderRequest) GetOrderId

func (o *CancelOrderRequest) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*CancelOrderRequest) GetOrderIdOk

func (o *CancelOrderRequest) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (*CancelOrderRequest) GetStarkSignature

func (o *CancelOrderRequest) GetStarkSignature() string

GetStarkSignature returns the StarkSignature field value

func (*CancelOrderRequest) GetStarkSignatureOk

func (o *CancelOrderRequest) GetStarkSignatureOk() (*string, bool)

GetStarkSignatureOk returns a tuple with the StarkSignature field value and a boolean to check if the value has been set.

func (CancelOrderRequest) MarshalJSON

func (o CancelOrderRequest) MarshalJSON() ([]byte, error)

func (*CancelOrderRequest) SetOrderId

func (o *CancelOrderRequest) SetOrderId(v int32)

SetOrderId sets field value

func (*CancelOrderRequest) SetStarkSignature

func (o *CancelOrderRequest) SetStarkSignature(v string)

SetStarkSignature sets field value

type CancelOrderResponse

type CancelOrderResponse struct {
	// ID of the cancelled order
	OrderId int32 `json:"order_id"`
	// New status of the order
	Status string `json:"status"`
}

CancelOrderResponse struct for CancelOrderResponse

func NewCancelOrderResponse

func NewCancelOrderResponse(orderId int32, status string) *CancelOrderResponse

NewCancelOrderResponse instantiates a new CancelOrderResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCancelOrderResponseWithDefaults

func NewCancelOrderResponseWithDefaults() *CancelOrderResponse

NewCancelOrderResponseWithDefaults instantiates a new CancelOrderResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CancelOrderResponse) GetOrderId

func (o *CancelOrderResponse) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*CancelOrderResponse) GetOrderIdOk

func (o *CancelOrderResponse) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (*CancelOrderResponse) GetStatus

func (o *CancelOrderResponse) GetStatus() string

GetStatus returns the Status field value

func (*CancelOrderResponse) GetStatusOk

func (o *CancelOrderResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (CancelOrderResponse) MarshalJSON

func (o CancelOrderResponse) MarshalJSON() ([]byte, error)

func (*CancelOrderResponse) SetOrderId

func (o *CancelOrderResponse) SetOrderId(v int32)

SetOrderId sets field value

func (*CancelOrderResponse) SetStatus

func (o *CancelOrderResponse) SetStatus(v string)

SetStatus sets field value

type Collection

type Collection struct {
	// Ethereum address of the ERC721 contract
	Address string `json:"address"`
	// URL of the tile image for this collection
	CollectionImageUrl NullableString `json:"collection_image_url"`
	// Timestamp of when the collection was created
	CreatedAt NullableString `json:"created_at"`
	// Description of the collection
	Description NullableString `json:"description"`
	// URL of the icon for this collection
	IconUrl NullableString `json:"icon_url"`
	// URL of the metadata for this collection
	MetadataApiUrl NullableString `json:"metadata_api_url"`
	// Name of the collection
	Name string `json:"name"`
	// The collection's project ID
	ProjectId int32 `json:"project_id"`
	// Project owner address
	ProjectOwnerAddress string `json:"project_owner_address"`
	// Timestamp of when the collection was updated
	UpdatedAt NullableString `json:"updated_at"`
}

Collection struct for Collection

func NewCollection

func NewCollection(address string, collectionImageUrl NullableString, createdAt NullableString, description NullableString, iconUrl NullableString, metadataApiUrl NullableString, name string, projectId int32, projectOwnerAddress string, updatedAt NullableString) *Collection

NewCollection instantiates a new Collection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionWithDefaults

func NewCollectionWithDefaults() *Collection

NewCollectionWithDefaults instantiates a new Collection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Collection) GetAddress

func (o *Collection) GetAddress() string

GetAddress returns the Address field value

func (*Collection) GetAddressOk

func (o *Collection) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*Collection) GetCollectionImageUrl

func (o *Collection) GetCollectionImageUrl() string

GetCollectionImageUrl returns the CollectionImageUrl field value If the value is explicit nil, the zero value for string will be returned

func (*Collection) GetCollectionImageUrlOk

func (o *Collection) GetCollectionImageUrlOk() (*string, bool)

GetCollectionImageUrlOk returns a tuple with the CollectionImageUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Collection) GetCreatedAt

func (o *Collection) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*Collection) GetCreatedAtOk

func (o *Collection) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Collection) GetDescription

func (o *Collection) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*Collection) GetDescriptionOk

func (o *Collection) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Collection) GetIconUrl

func (o *Collection) GetIconUrl() string

GetIconUrl returns the IconUrl field value If the value is explicit nil, the zero value for string will be returned

func (*Collection) GetIconUrlOk

func (o *Collection) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Collection) GetMetadataApiUrl

func (o *Collection) GetMetadataApiUrl() string

GetMetadataApiUrl returns the MetadataApiUrl field value If the value is explicit nil, the zero value for string will be returned

func (*Collection) GetMetadataApiUrlOk

func (o *Collection) GetMetadataApiUrlOk() (*string, bool)

GetMetadataApiUrlOk returns a tuple with the MetadataApiUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Collection) GetName

func (o *Collection) GetName() string

GetName returns the Name field value

func (*Collection) GetNameOk

func (o *Collection) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Collection) GetProjectId

func (o *Collection) GetProjectId() int32

GetProjectId returns the ProjectId field value

func (*Collection) GetProjectIdOk

func (o *Collection) GetProjectIdOk() (*int32, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*Collection) GetProjectOwnerAddress

func (o *Collection) GetProjectOwnerAddress() string

GetProjectOwnerAddress returns the ProjectOwnerAddress field value

func (*Collection) GetProjectOwnerAddressOk

func (o *Collection) GetProjectOwnerAddressOk() (*string, bool)

GetProjectOwnerAddressOk returns a tuple with the ProjectOwnerAddress field value and a boolean to check if the value has been set.

func (*Collection) GetUpdatedAt

func (o *Collection) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*Collection) GetUpdatedAtOk

func (o *Collection) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (Collection) MarshalJSON

func (o Collection) MarshalJSON() ([]byte, error)

func (*Collection) SetAddress

func (o *Collection) SetAddress(v string)

SetAddress sets field value

func (*Collection) SetCollectionImageUrl

func (o *Collection) SetCollectionImageUrl(v string)

SetCollectionImageUrl sets field value

func (*Collection) SetCreatedAt

func (o *Collection) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*Collection) SetDescription

func (o *Collection) SetDescription(v string)

SetDescription sets field value

func (*Collection) SetIconUrl

func (o *Collection) SetIconUrl(v string)

SetIconUrl sets field value

func (*Collection) SetMetadataApiUrl

func (o *Collection) SetMetadataApiUrl(v string)

SetMetadataApiUrl sets field value

func (*Collection) SetName

func (o *Collection) SetName(v string)

SetName sets field value

func (*Collection) SetProjectId

func (o *Collection) SetProjectId(v int32)

SetProjectId sets field value

func (*Collection) SetProjectOwnerAddress

func (o *Collection) SetProjectOwnerAddress(v string)

SetProjectOwnerAddress sets field value

func (*Collection) SetUpdatedAt

func (o *Collection) SetUpdatedAt(v string)

SetUpdatedAt sets field value

type CollectionDetails

type CollectionDetails struct {
	// URL of the icon of the collection
	IconUrl NullableString `json:"icon_url"`
	// Name of the collection
	Name string `json:"name"`
}

CollectionDetails struct for CollectionDetails

func NewCollectionDetails

func NewCollectionDetails(iconUrl NullableString, name string) *CollectionDetails

NewCollectionDetails instantiates a new CollectionDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionDetailsWithDefaults

func NewCollectionDetailsWithDefaults() *CollectionDetails

NewCollectionDetailsWithDefaults instantiates a new CollectionDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CollectionDetails) GetIconUrl

func (o *CollectionDetails) GetIconUrl() string

GetIconUrl returns the IconUrl field value If the value is explicit nil, the zero value for string will be returned

func (*CollectionDetails) GetIconUrlOk

func (o *CollectionDetails) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CollectionDetails) GetName

func (o *CollectionDetails) GetName() string

GetName returns the Name field value

func (*CollectionDetails) GetNameOk

func (o *CollectionDetails) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (CollectionDetails) MarshalJSON

func (o CollectionDetails) MarshalJSON() ([]byte, error)

func (*CollectionDetails) SetIconUrl

func (o *CollectionDetails) SetIconUrl(v string)

SetIconUrl sets field value

func (*CollectionDetails) SetName

func (o *CollectionDetails) SetName(v string)

SetName sets field value

type CollectionFilter

type CollectionFilter struct {
	// Key of this property
	Key   *string `json:"key,omitempty"`
	Range *Range  `json:"range,omitempty"`
	// Type of this filter
	Type *string `json:"type,omitempty"`
	// List of possible values for this property
	Value []string `json:"value,omitempty"`
}

CollectionFilter struct for CollectionFilter

func NewCollectionFilter

func NewCollectionFilter() *CollectionFilter

NewCollectionFilter instantiates a new CollectionFilter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionFilterWithDefaults

func NewCollectionFilterWithDefaults() *CollectionFilter

NewCollectionFilterWithDefaults instantiates a new CollectionFilter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CollectionFilter) GetKey

func (o *CollectionFilter) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*CollectionFilter) GetKeyOk

func (o *CollectionFilter) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionFilter) GetRange

func (o *CollectionFilter) GetRange() Range

GetRange returns the Range field value if set, zero value otherwise.

func (*CollectionFilter) GetRangeOk

func (o *CollectionFilter) GetRangeOk() (*Range, bool)

GetRangeOk returns a tuple with the Range field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionFilter) GetType

func (o *CollectionFilter) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CollectionFilter) GetTypeOk

func (o *CollectionFilter) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionFilter) GetValue

func (o *CollectionFilter) GetValue() []string

GetValue returns the Value field value if set, zero value otherwise.

func (*CollectionFilter) GetValueOk

func (o *CollectionFilter) GetValueOk() ([]string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionFilter) HasKey

func (o *CollectionFilter) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*CollectionFilter) HasRange

func (o *CollectionFilter) HasRange() bool

HasRange returns a boolean if a field has been set.

func (*CollectionFilter) HasType

func (o *CollectionFilter) HasType() bool

HasType returns a boolean if a field has been set.

func (*CollectionFilter) HasValue

func (o *CollectionFilter) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionFilter) MarshalJSON

func (o CollectionFilter) MarshalJSON() ([]byte, error)

func (*CollectionFilter) SetKey

func (o *CollectionFilter) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*CollectionFilter) SetRange

func (o *CollectionFilter) SetRange(v Range)

SetRange gets a reference to the given Range and assigns it to the Range field.

func (*CollectionFilter) SetType

func (o *CollectionFilter) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*CollectionFilter) SetValue

func (o *CollectionFilter) SetValue(v []string)

SetValue gets a reference to the given []string and assigns it to the Value field.

type CollectionsApi

type CollectionsApi interface {

	/*
		CreateCollection Create collection

		Create collection

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateCollectionRequest
	*/
	CreateCollection(ctx context.Context) ApiCreateCollectionRequest

	// CreateCollectionExecute executes the request
	//  @return Collection
	CreateCollectionExecute(r ApiCreateCollectionRequest) (*Collection, *http.Response, error)

	/*
		GetCollection Get details of a collection at the given address

		Get details of a collection at the given address

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param address Collection contract address
		@return ApiGetCollectionRequest
	*/
	GetCollection(ctx context.Context, address string) ApiGetCollectionRequest

	// GetCollectionExecute executes the request
	//  @return Collection
	GetCollectionExecute(r ApiGetCollectionRequest) (*Collection, *http.Response, error)

	/*
		ListCollectionFilters Get a list of collection filters

		Get a list of collection filters

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param address Collection contract address
		@return ApiListCollectionFiltersRequest
	*/
	ListCollectionFilters(ctx context.Context, address string) ApiListCollectionFiltersRequest

	// ListCollectionFiltersExecute executes the request
	//  @return CollectionFilter
	ListCollectionFiltersExecute(r ApiListCollectionFiltersRequest) (*CollectionFilter, *http.Response, error)

	/*
		ListCollections Get a list of collections

		Get a list of collections

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListCollectionsRequest
	*/
	ListCollections(ctx context.Context) ApiListCollectionsRequest

	// ListCollectionsExecute executes the request
	//  @return ListCollectionsResponse
	ListCollectionsExecute(r ApiListCollectionsRequest) (*ListCollectionsResponse, *http.Response, error)

	/*
		UpdateCollection Update collection

		Update collection

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param address Collection contract address
		@return ApiUpdateCollectionRequest
	*/
	UpdateCollection(ctx context.Context, address string) ApiUpdateCollectionRequest

	// UpdateCollectionExecute executes the request
	//  @return Collection
	UpdateCollectionExecute(r ApiUpdateCollectionRequest) (*Collection, *http.Response, error)
}

type CollectionsApiService

type CollectionsApiService service

CollectionsApiService CollectionsApi service

func (*CollectionsApiService) CreateCollection

CreateCollection Create collection

Create collection

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateCollectionRequest

func (*CollectionsApiService) CreateCollectionExecute

func (a *CollectionsApiService) CreateCollectionExecute(r ApiCreateCollectionRequest) (*Collection, *http.Response, error)

Execute executes the request

@return Collection

func (*CollectionsApiService) GetCollection

func (a *CollectionsApiService) GetCollection(ctx context.Context, address string) ApiGetCollectionRequest

GetCollection Get details of a collection at the given address

Get details of a collection at the given address

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address Collection contract address
@return ApiGetCollectionRequest

func (*CollectionsApiService) GetCollectionExecute

Execute executes the request

@return Collection

func (*CollectionsApiService) ListCollectionFilters

func (a *CollectionsApiService) ListCollectionFilters(ctx context.Context, address string) ApiListCollectionFiltersRequest

ListCollectionFilters Get a list of collection filters

Get a list of collection filters

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address Collection contract address
@return ApiListCollectionFiltersRequest

func (*CollectionsApiService) ListCollectionFiltersExecute

Execute executes the request

@return CollectionFilter

func (*CollectionsApiService) ListCollections

ListCollections Get a list of collections

Get a list of collections

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListCollectionsRequest

func (*CollectionsApiService) ListCollectionsExecute

Execute executes the request

@return ListCollectionsResponse

func (*CollectionsApiService) UpdateCollection

func (a *CollectionsApiService) UpdateCollection(ctx context.Context, address string) ApiUpdateCollectionRequest

UpdateCollection Update collection

Update collection

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address Collection contract address
@return ApiUpdateCollectionRequest

func (*CollectionsApiService) UpdateCollectionExecute

func (a *CollectionsApiService) UpdateCollectionExecute(r ApiUpdateCollectionRequest) (*Collection, *http.Response, error)

Execute executes the request

@return Collection

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ContractCreateAPIRequest added in v1.0.0

type ContractCreateAPIRequest struct {
	ContractAddress *string `json:"contract_address,omitempty"`
	DataUrl         *string `json:"data_url,omitempty"`
	MintUrl         *string `json:"mint_url,omitempty"`
}

ContractCreateAPIRequest struct for ContractCreateAPIRequest

func NewContractCreateAPIRequest added in v1.0.0

func NewContractCreateAPIRequest() *ContractCreateAPIRequest

NewContractCreateAPIRequest instantiates a new ContractCreateAPIRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContractCreateAPIRequestWithDefaults added in v1.0.0

func NewContractCreateAPIRequestWithDefaults() *ContractCreateAPIRequest

NewContractCreateAPIRequestWithDefaults instantiates a new ContractCreateAPIRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContractCreateAPIRequest) GetContractAddress added in v1.0.0

func (o *ContractCreateAPIRequest) GetContractAddress() string

GetContractAddress returns the ContractAddress field value if set, zero value otherwise.

func (*ContractCreateAPIRequest) GetContractAddressOk added in v1.0.0

func (o *ContractCreateAPIRequest) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContractCreateAPIRequest) GetDataUrl added in v1.0.0

func (o *ContractCreateAPIRequest) GetDataUrl() string

GetDataUrl returns the DataUrl field value if set, zero value otherwise.

func (*ContractCreateAPIRequest) GetDataUrlOk added in v1.0.0

func (o *ContractCreateAPIRequest) GetDataUrlOk() (*string, bool)

GetDataUrlOk returns a tuple with the DataUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContractCreateAPIRequest) GetMintUrl added in v1.0.0

func (o *ContractCreateAPIRequest) GetMintUrl() string

GetMintUrl returns the MintUrl field value if set, zero value otherwise.

func (*ContractCreateAPIRequest) GetMintUrlOk added in v1.0.0

func (o *ContractCreateAPIRequest) GetMintUrlOk() (*string, bool)

GetMintUrlOk returns a tuple with the MintUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContractCreateAPIRequest) HasContractAddress added in v1.0.0

func (o *ContractCreateAPIRequest) HasContractAddress() bool

HasContractAddress returns a boolean if a field has been set.

func (*ContractCreateAPIRequest) HasDataUrl added in v1.0.0

func (o *ContractCreateAPIRequest) HasDataUrl() bool

HasDataUrl returns a boolean if a field has been set.

func (*ContractCreateAPIRequest) HasMintUrl added in v1.0.0

func (o *ContractCreateAPIRequest) HasMintUrl() bool

HasMintUrl returns a boolean if a field has been set.

func (ContractCreateAPIRequest) MarshalJSON added in v1.0.0

func (o ContractCreateAPIRequest) MarshalJSON() ([]byte, error)

func (*ContractCreateAPIRequest) SetContractAddress added in v1.0.0

func (o *ContractCreateAPIRequest) SetContractAddress(v string)

SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.

func (*ContractCreateAPIRequest) SetDataUrl added in v1.0.0

func (o *ContractCreateAPIRequest) SetDataUrl(v string)

SetDataUrl gets a reference to the given string and assigns it to the DataUrl field.

func (*ContractCreateAPIRequest) SetMintUrl added in v1.0.0

func (o *ContractCreateAPIRequest) SetMintUrl(v string)

SetMintUrl gets a reference to the given string and assigns it to the MintUrl field.

type ContractCreateResponse added in v1.0.0

type ContractCreateResponse struct {
	WebhookHash *string `json:"webhook_hash,omitempty"`
}

ContractCreateResponse struct for ContractCreateResponse

func NewContractCreateResponse added in v1.0.0

func NewContractCreateResponse() *ContractCreateResponse

NewContractCreateResponse instantiates a new ContractCreateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContractCreateResponseWithDefaults added in v1.0.0

func NewContractCreateResponseWithDefaults() *ContractCreateResponse

NewContractCreateResponseWithDefaults instantiates a new ContractCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContractCreateResponse) GetWebhookHash added in v1.0.0

func (o *ContractCreateResponse) GetWebhookHash() string

GetWebhookHash returns the WebhookHash field value if set, zero value otherwise.

func (*ContractCreateResponse) GetWebhookHashOk added in v1.0.0

func (o *ContractCreateResponse) GetWebhookHashOk() (*string, bool)

GetWebhookHashOk returns a tuple with the WebhookHash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContractCreateResponse) HasWebhookHash added in v1.0.0

func (o *ContractCreateResponse) HasWebhookHash() bool

HasWebhookHash returns a boolean if a field has been set.

func (ContractCreateResponse) MarshalJSON added in v1.0.0

func (o ContractCreateResponse) MarshalJSON() ([]byte, error)

func (*ContractCreateResponse) SetWebhookHash added in v1.0.0

func (o *ContractCreateResponse) SetWebhookHash(v string)

SetWebhookHash gets a reference to the given string and assigns it to the WebhookHash field.

type CreateCollectionRequest

type CreateCollectionRequest struct {
	// URL of the tile image for this collection
	CollectionImageUrl *string `json:"collection_image_url,omitempty"`
	// Ethereum address of the ERC721 contract
	ContractAddress string `json:"contract_address"`
	// Description of the collection
	Description *string `json:"description,omitempty"`
	// URL of the icon for this collection
	IconUrl *string `json:"icon_url,omitempty"`
	// URL of the metadata for this collection
	MetadataApiUrl *string `json:"metadata_api_url,omitempty"`
	// Name of the collection
	Name string `json:"name"`
	// Owner Public Key: The uncompressed public key of the owner of the contract
	OwnerPublicKey string `json:"owner_public_key"`
	// The collection's project ID
	ProjectId int32 `json:"project_id"`
}

CreateCollectionRequest struct for CreateCollectionRequest

func NewCreateCollectionRequest

func NewCreateCollectionRequest(contractAddress string, name string, ownerPublicKey string, projectId int32) *CreateCollectionRequest

NewCreateCollectionRequest instantiates a new CreateCollectionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateCollectionRequestWithDefaults

func NewCreateCollectionRequestWithDefaults() *CreateCollectionRequest

NewCreateCollectionRequestWithDefaults instantiates a new CreateCollectionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateCollectionRequest) GetCollectionImageUrl

func (o *CreateCollectionRequest) GetCollectionImageUrl() string

GetCollectionImageUrl returns the CollectionImageUrl field value if set, zero value otherwise.

func (*CreateCollectionRequest) GetCollectionImageUrlOk

func (o *CreateCollectionRequest) GetCollectionImageUrlOk() (*string, bool)

GetCollectionImageUrlOk returns a tuple with the CollectionImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetContractAddress

func (o *CreateCollectionRequest) GetContractAddress() string

GetContractAddress returns the ContractAddress field value

func (*CreateCollectionRequest) GetContractAddressOk

func (o *CreateCollectionRequest) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetDescription

func (o *CreateCollectionRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateCollectionRequest) GetDescriptionOk

func (o *CreateCollectionRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetIconUrl

func (o *CreateCollectionRequest) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*CreateCollectionRequest) GetIconUrlOk

func (o *CreateCollectionRequest) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetMetadataApiUrl

func (o *CreateCollectionRequest) GetMetadataApiUrl() string

GetMetadataApiUrl returns the MetadataApiUrl field value if set, zero value otherwise.

func (*CreateCollectionRequest) GetMetadataApiUrlOk

func (o *CreateCollectionRequest) GetMetadataApiUrlOk() (*string, bool)

GetMetadataApiUrlOk returns a tuple with the MetadataApiUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetName

func (o *CreateCollectionRequest) GetName() string

GetName returns the Name field value

func (*CreateCollectionRequest) GetNameOk

func (o *CreateCollectionRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetOwnerPublicKey

func (o *CreateCollectionRequest) GetOwnerPublicKey() string

GetOwnerPublicKey returns the OwnerPublicKey field value

func (*CreateCollectionRequest) GetOwnerPublicKeyOk

func (o *CreateCollectionRequest) GetOwnerPublicKeyOk() (*string, bool)

GetOwnerPublicKeyOk returns a tuple with the OwnerPublicKey field value and a boolean to check if the value has been set.

func (*CreateCollectionRequest) GetProjectId

func (o *CreateCollectionRequest) GetProjectId() int32

GetProjectId returns the ProjectId field value

func (*CreateCollectionRequest) GetProjectIdOk

func (o *CreateCollectionRequest) GetProjectIdOk() (*int32, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*CreateCollectionRequest) HasCollectionImageUrl

func (o *CreateCollectionRequest) HasCollectionImageUrl() bool

HasCollectionImageUrl returns a boolean if a field has been set.

func (*CreateCollectionRequest) HasDescription

func (o *CreateCollectionRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateCollectionRequest) HasIconUrl

func (o *CreateCollectionRequest) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*CreateCollectionRequest) HasMetadataApiUrl

func (o *CreateCollectionRequest) HasMetadataApiUrl() bool

HasMetadataApiUrl returns a boolean if a field has been set.

func (CreateCollectionRequest) MarshalJSON

func (o CreateCollectionRequest) MarshalJSON() ([]byte, error)

func (*CreateCollectionRequest) SetCollectionImageUrl

func (o *CreateCollectionRequest) SetCollectionImageUrl(v string)

SetCollectionImageUrl gets a reference to the given string and assigns it to the CollectionImageUrl field.

func (*CreateCollectionRequest) SetContractAddress

func (o *CreateCollectionRequest) SetContractAddress(v string)

SetContractAddress sets field value

func (*CreateCollectionRequest) SetDescription

func (o *CreateCollectionRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateCollectionRequest) SetIconUrl

func (o *CreateCollectionRequest) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*CreateCollectionRequest) SetMetadataApiUrl

func (o *CreateCollectionRequest) SetMetadataApiUrl(v string)

SetMetadataApiUrl gets a reference to the given string and assigns it to the MetadataApiUrl field.

func (*CreateCollectionRequest) SetName

func (o *CreateCollectionRequest) SetName(v string)

SetName sets field value

func (*CreateCollectionRequest) SetOwnerPublicKey

func (o *CreateCollectionRequest) SetOwnerPublicKey(v string)

SetOwnerPublicKey sets field value

func (*CreateCollectionRequest) SetProjectId

func (o *CreateCollectionRequest) SetProjectId(v int32)

SetProjectId sets field value

type CreateExchangeAndURLAPIRequest added in v1.0.0

type CreateExchangeAndURLAPIRequest struct {
	// Provider name
	Provider *string `json:"provider,omitempty"`
	// Transaction type
	Type *string `json:"type,omitempty"`
	// Ethereum address of the user who wants to create transaction
	WalletAddress *string       `json:"wallet_address,omitempty"`
	Widget        *WidgetParams `json:"widget,omitempty"`
}

CreateExchangeAndURLAPIRequest struct for CreateExchangeAndURLAPIRequest

func NewCreateExchangeAndURLAPIRequest added in v1.0.0

func NewCreateExchangeAndURLAPIRequest() *CreateExchangeAndURLAPIRequest

NewCreateExchangeAndURLAPIRequest instantiates a new CreateExchangeAndURLAPIRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateExchangeAndURLAPIRequestWithDefaults added in v1.0.0

func NewCreateExchangeAndURLAPIRequestWithDefaults() *CreateExchangeAndURLAPIRequest

NewCreateExchangeAndURLAPIRequestWithDefaults instantiates a new CreateExchangeAndURLAPIRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateExchangeAndURLAPIRequest) GetProvider added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*CreateExchangeAndURLAPIRequest) GetProviderOk added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateExchangeAndURLAPIRequest) GetType added in v1.0.0

GetType returns the Type field value if set, zero value otherwise.

func (*CreateExchangeAndURLAPIRequest) GetTypeOk added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateExchangeAndURLAPIRequest) GetWalletAddress added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) GetWalletAddress() string

GetWalletAddress returns the WalletAddress field value if set, zero value otherwise.

func (*CreateExchangeAndURLAPIRequest) GetWalletAddressOk added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) GetWalletAddressOk() (*string, bool)

GetWalletAddressOk returns a tuple with the WalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateExchangeAndURLAPIRequest) GetWidget added in v1.0.0

GetWidget returns the Widget field value if set, zero value otherwise.

func (*CreateExchangeAndURLAPIRequest) GetWidgetOk added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) GetWidgetOk() (*WidgetParams, bool)

GetWidgetOk returns a tuple with the Widget field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateExchangeAndURLAPIRequest) HasProvider added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*CreateExchangeAndURLAPIRequest) HasType added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*CreateExchangeAndURLAPIRequest) HasWalletAddress added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) HasWalletAddress() bool

HasWalletAddress returns a boolean if a field has been set.

func (*CreateExchangeAndURLAPIRequest) HasWidget added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) HasWidget() bool

HasWidget returns a boolean if a field has been set.

func (CreateExchangeAndURLAPIRequest) MarshalJSON added in v1.0.0

func (o CreateExchangeAndURLAPIRequest) MarshalJSON() ([]byte, error)

func (*CreateExchangeAndURLAPIRequest) SetProvider added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*CreateExchangeAndURLAPIRequest) SetType added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*CreateExchangeAndURLAPIRequest) SetWalletAddress added in v1.0.0

func (o *CreateExchangeAndURLAPIRequest) SetWalletAddress(v string)

SetWalletAddress gets a reference to the given string and assigns it to the WalletAddress field.

func (*CreateExchangeAndURLAPIRequest) SetWidget added in v1.0.0

SetWidget gets a reference to the given WidgetParams and assigns it to the Widget field.

type CreateMetadataRefreshRequest

type CreateMetadataRefreshRequest struct {
	// The collection contract address
	CollectionAddress string `json:"collection_address"`
	// The tokens to refresh
	TokenIds []string `json:"token_ids"`
}

CreateMetadataRefreshRequest struct for CreateMetadataRefreshRequest

func NewCreateMetadataRefreshRequest

func NewCreateMetadataRefreshRequest(collectionAddress string, tokenIds []string) *CreateMetadataRefreshRequest

NewCreateMetadataRefreshRequest instantiates a new CreateMetadataRefreshRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateMetadataRefreshRequestWithDefaults

func NewCreateMetadataRefreshRequestWithDefaults() *CreateMetadataRefreshRequest

NewCreateMetadataRefreshRequestWithDefaults instantiates a new CreateMetadataRefreshRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateMetadataRefreshRequest) GetCollectionAddress

func (o *CreateMetadataRefreshRequest) GetCollectionAddress() string

GetCollectionAddress returns the CollectionAddress field value

func (*CreateMetadataRefreshRequest) GetCollectionAddressOk

func (o *CreateMetadataRefreshRequest) GetCollectionAddressOk() (*string, bool)

GetCollectionAddressOk returns a tuple with the CollectionAddress field value and a boolean to check if the value has been set.

func (*CreateMetadataRefreshRequest) GetTokenIds

func (o *CreateMetadataRefreshRequest) GetTokenIds() []string

GetTokenIds returns the TokenIds field value

func (*CreateMetadataRefreshRequest) GetTokenIdsOk

func (o *CreateMetadataRefreshRequest) GetTokenIdsOk() ([]string, bool)

GetTokenIdsOk returns a tuple with the TokenIds field value and a boolean to check if the value has been set.

func (CreateMetadataRefreshRequest) MarshalJSON

func (o CreateMetadataRefreshRequest) MarshalJSON() ([]byte, error)

func (*CreateMetadataRefreshRequest) SetCollectionAddress

func (o *CreateMetadataRefreshRequest) SetCollectionAddress(v string)

SetCollectionAddress sets field value

func (*CreateMetadataRefreshRequest) SetTokenIds

func (o *CreateMetadataRefreshRequest) SetTokenIds(v []string)

SetTokenIds sets field value

type CreateMetadataRefreshResponse

type CreateMetadataRefreshResponse struct {
	// The metadata refresh ID
	RefreshId string `json:"refresh_id"`
}

CreateMetadataRefreshResponse struct for CreateMetadataRefreshResponse

func NewCreateMetadataRefreshResponse

func NewCreateMetadataRefreshResponse(refreshId string) *CreateMetadataRefreshResponse

NewCreateMetadataRefreshResponse instantiates a new CreateMetadataRefreshResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateMetadataRefreshResponseWithDefaults

func NewCreateMetadataRefreshResponseWithDefaults() *CreateMetadataRefreshResponse

NewCreateMetadataRefreshResponseWithDefaults instantiates a new CreateMetadataRefreshResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateMetadataRefreshResponse) GetRefreshId

func (o *CreateMetadataRefreshResponse) GetRefreshId() string

GetRefreshId returns the RefreshId field value

func (*CreateMetadataRefreshResponse) GetRefreshIdOk

func (o *CreateMetadataRefreshResponse) GetRefreshIdOk() (*string, bool)

GetRefreshIdOk returns a tuple with the RefreshId field value and a boolean to check if the value has been set.

func (CreateMetadataRefreshResponse) MarshalJSON

func (o CreateMetadataRefreshResponse) MarshalJSON() ([]byte, error)

func (*CreateMetadataRefreshResponse) SetRefreshId

func (o *CreateMetadataRefreshResponse) SetRefreshId(v string)

SetRefreshId sets field value

type CreateOrderRequest

type CreateOrderRequest struct {
	// Amount to buy
	AmountBuy string `json:"amount_buy"`
	// Amount to sell
	AmountSell string `json:"amount_sell"`
	// ID of the asset to buy
	AssetIdBuy string `json:"asset_id_buy"`
	// ID of the asset to sell
	AssetIdSell string `json:"asset_id_sell"`
	// Expiration timestamp for this order
	ExpirationTimestamp int32 `json:"expiration_timestamp"`
	// Fee information
	Fees []FeeEntry `json:"fees,omitempty"`
	// Whether to include fees in order
	IncludeFees *bool `json:"include_fees,omitempty"`
	// Nonce of the order
	Nonce int32 `json:"nonce"`
	// Public stark key of the user creating order
	StarkKey string `json:"stark_key"`
	// Payload signature
	StarkSignature string `json:"stark_signature"`
	// ID of the vault into which the bought asset will be placed
	VaultIdBuy int32 `json:"vault_id_buy"`
	// ID of the vault to sell from
	VaultIdSell int32 `json:"vault_id_sell"`
}

CreateOrderRequest struct for CreateOrderRequest

func NewCreateOrderRequest

func NewCreateOrderRequest(amountBuy string, amountSell string, assetIdBuy string, assetIdSell string, expirationTimestamp int32, nonce int32, starkKey string, starkSignature string, vaultIdBuy int32, vaultIdSell int32) *CreateOrderRequest

NewCreateOrderRequest instantiates a new CreateOrderRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateOrderRequestWithDefaults

func NewCreateOrderRequestWithDefaults() *CreateOrderRequest

NewCreateOrderRequestWithDefaults instantiates a new CreateOrderRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateOrderRequest) GetAmountBuy

func (o *CreateOrderRequest) GetAmountBuy() string

GetAmountBuy returns the AmountBuy field value

func (*CreateOrderRequest) GetAmountBuyOk

func (o *CreateOrderRequest) GetAmountBuyOk() (*string, bool)

GetAmountBuyOk returns a tuple with the AmountBuy field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetAmountSell

func (o *CreateOrderRequest) GetAmountSell() string

GetAmountSell returns the AmountSell field value

func (*CreateOrderRequest) GetAmountSellOk

func (o *CreateOrderRequest) GetAmountSellOk() (*string, bool)

GetAmountSellOk returns a tuple with the AmountSell field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetAssetIdBuy

func (o *CreateOrderRequest) GetAssetIdBuy() string

GetAssetIdBuy returns the AssetIdBuy field value

func (*CreateOrderRequest) GetAssetIdBuyOk

func (o *CreateOrderRequest) GetAssetIdBuyOk() (*string, bool)

GetAssetIdBuyOk returns a tuple with the AssetIdBuy field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetAssetIdSell

func (o *CreateOrderRequest) GetAssetIdSell() string

GetAssetIdSell returns the AssetIdSell field value

func (*CreateOrderRequest) GetAssetIdSellOk

func (o *CreateOrderRequest) GetAssetIdSellOk() (*string, bool)

GetAssetIdSellOk returns a tuple with the AssetIdSell field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetExpirationTimestamp

func (o *CreateOrderRequest) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value

func (*CreateOrderRequest) GetExpirationTimestampOk

func (o *CreateOrderRequest) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetFees

func (o *CreateOrderRequest) GetFees() []FeeEntry

GetFees returns the Fees field value if set, zero value otherwise.

func (*CreateOrderRequest) GetFeesOk

func (o *CreateOrderRequest) GetFeesOk() ([]FeeEntry, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetIncludeFees

func (o *CreateOrderRequest) GetIncludeFees() bool

GetIncludeFees returns the IncludeFees field value if set, zero value otherwise.

func (*CreateOrderRequest) GetIncludeFeesOk

func (o *CreateOrderRequest) GetIncludeFeesOk() (*bool, bool)

GetIncludeFeesOk returns a tuple with the IncludeFees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetNonce

func (o *CreateOrderRequest) GetNonce() int32

GetNonce returns the Nonce field value

func (*CreateOrderRequest) GetNonceOk

func (o *CreateOrderRequest) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetStarkKey

func (o *CreateOrderRequest) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*CreateOrderRequest) GetStarkKeyOk

func (o *CreateOrderRequest) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetStarkSignature

func (o *CreateOrderRequest) GetStarkSignature() string

GetStarkSignature returns the StarkSignature field value

func (*CreateOrderRequest) GetStarkSignatureOk

func (o *CreateOrderRequest) GetStarkSignatureOk() (*string, bool)

GetStarkSignatureOk returns a tuple with the StarkSignature field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetVaultIdBuy

func (o *CreateOrderRequest) GetVaultIdBuy() int32

GetVaultIdBuy returns the VaultIdBuy field value

func (*CreateOrderRequest) GetVaultIdBuyOk

func (o *CreateOrderRequest) GetVaultIdBuyOk() (*int32, bool)

GetVaultIdBuyOk returns a tuple with the VaultIdBuy field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) GetVaultIdSell

func (o *CreateOrderRequest) GetVaultIdSell() int32

GetVaultIdSell returns the VaultIdSell field value

func (*CreateOrderRequest) GetVaultIdSellOk

func (o *CreateOrderRequest) GetVaultIdSellOk() (*int32, bool)

GetVaultIdSellOk returns a tuple with the VaultIdSell field value and a boolean to check if the value has been set.

func (*CreateOrderRequest) HasFees

func (o *CreateOrderRequest) HasFees() bool

HasFees returns a boolean if a field has been set.

func (*CreateOrderRequest) HasIncludeFees

func (o *CreateOrderRequest) HasIncludeFees() bool

HasIncludeFees returns a boolean if a field has been set.

func (CreateOrderRequest) MarshalJSON

func (o CreateOrderRequest) MarshalJSON() ([]byte, error)

func (*CreateOrderRequest) SetAmountBuy

func (o *CreateOrderRequest) SetAmountBuy(v string)

SetAmountBuy sets field value

func (*CreateOrderRequest) SetAmountSell

func (o *CreateOrderRequest) SetAmountSell(v string)

SetAmountSell sets field value

func (*CreateOrderRequest) SetAssetIdBuy

func (o *CreateOrderRequest) SetAssetIdBuy(v string)

SetAssetIdBuy sets field value

func (*CreateOrderRequest) SetAssetIdSell

func (o *CreateOrderRequest) SetAssetIdSell(v string)

SetAssetIdSell sets field value

func (*CreateOrderRequest) SetExpirationTimestamp

func (o *CreateOrderRequest) SetExpirationTimestamp(v int32)

SetExpirationTimestamp sets field value

func (*CreateOrderRequest) SetFees

func (o *CreateOrderRequest) SetFees(v []FeeEntry)

SetFees gets a reference to the given []FeeEntry and assigns it to the Fees field.

func (*CreateOrderRequest) SetIncludeFees

func (o *CreateOrderRequest) SetIncludeFees(v bool)

SetIncludeFees gets a reference to the given bool and assigns it to the IncludeFees field.

func (*CreateOrderRequest) SetNonce

func (o *CreateOrderRequest) SetNonce(v int32)

SetNonce sets field value

func (*CreateOrderRequest) SetStarkKey

func (o *CreateOrderRequest) SetStarkKey(v string)

SetStarkKey sets field value

func (*CreateOrderRequest) SetStarkSignature

func (o *CreateOrderRequest) SetStarkSignature(v string)

SetStarkSignature sets field value

func (*CreateOrderRequest) SetVaultIdBuy

func (o *CreateOrderRequest) SetVaultIdBuy(v int32)

SetVaultIdBuy sets field value

func (*CreateOrderRequest) SetVaultIdSell

func (o *CreateOrderRequest) SetVaultIdSell(v int32)

SetVaultIdSell sets field value

type CreateOrderResponse

type CreateOrderResponse struct {
	// ID of the created order
	OrderId int32 `json:"order_id"`
	// Request ID as a reference for an asynchronous order creation request
	RequestId *string `json:"request_id,omitempty"`
	// Status of the created order
	Status string `json:"status"`
	// Timestamp of the created order
	Time int32 `json:"time"`
}

CreateOrderResponse struct for CreateOrderResponse

func NewCreateOrderResponse

func NewCreateOrderResponse(orderId int32, status string, time int32) *CreateOrderResponse

NewCreateOrderResponse instantiates a new CreateOrderResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateOrderResponseWithDefaults

func NewCreateOrderResponseWithDefaults() *CreateOrderResponse

NewCreateOrderResponseWithDefaults instantiates a new CreateOrderResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateOrderResponse) GetOrderId

func (o *CreateOrderResponse) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*CreateOrderResponse) GetOrderIdOk

func (o *CreateOrderResponse) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (*CreateOrderResponse) GetRequestId

func (o *CreateOrderResponse) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*CreateOrderResponse) GetRequestIdOk

func (o *CreateOrderResponse) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateOrderResponse) GetStatus

func (o *CreateOrderResponse) GetStatus() string

GetStatus returns the Status field value

func (*CreateOrderResponse) GetStatusOk

func (o *CreateOrderResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*CreateOrderResponse) GetTime

func (o *CreateOrderResponse) GetTime() int32

GetTime returns the Time field value

func (*CreateOrderResponse) GetTimeOk

func (o *CreateOrderResponse) GetTimeOk() (*int32, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*CreateOrderResponse) HasRequestId

func (o *CreateOrderResponse) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (CreateOrderResponse) MarshalJSON

func (o CreateOrderResponse) MarshalJSON() ([]byte, error)

func (*CreateOrderResponse) SetOrderId

func (o *CreateOrderResponse) SetOrderId(v int32)

SetOrderId sets field value

func (*CreateOrderResponse) SetRequestId

func (o *CreateOrderResponse) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*CreateOrderResponse) SetStatus

func (o *CreateOrderResponse) SetStatus(v string)

SetStatus sets field value

func (*CreateOrderResponse) SetTime

func (o *CreateOrderResponse) SetTime(v int32)

SetTime sets field value

type CreateProjectRequest

type CreateProjectRequest struct {
	// The company name
	CompanyName string `json:"company_name"`
	// The project contact email (must be registered as a developer account with Immutable at https://hub.immutable.com)
	ContactEmail string `json:"contact_email"`
	// The project name
	Name string `json:"name"`
}

CreateProjectRequest struct for CreateProjectRequest

func NewCreateProjectRequest

func NewCreateProjectRequest(companyName string, contactEmail string, name string) *CreateProjectRequest

NewCreateProjectRequest instantiates a new CreateProjectRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateProjectRequestWithDefaults

func NewCreateProjectRequestWithDefaults() *CreateProjectRequest

NewCreateProjectRequestWithDefaults instantiates a new CreateProjectRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateProjectRequest) GetCompanyName

func (o *CreateProjectRequest) GetCompanyName() string

GetCompanyName returns the CompanyName field value

func (*CreateProjectRequest) GetCompanyNameOk

func (o *CreateProjectRequest) GetCompanyNameOk() (*string, bool)

GetCompanyNameOk returns a tuple with the CompanyName field value and a boolean to check if the value has been set.

func (*CreateProjectRequest) GetContactEmail

func (o *CreateProjectRequest) GetContactEmail() string

GetContactEmail returns the ContactEmail field value

func (*CreateProjectRequest) GetContactEmailOk

func (o *CreateProjectRequest) GetContactEmailOk() (*string, bool)

GetContactEmailOk returns a tuple with the ContactEmail field value and a boolean to check if the value has been set.

func (*CreateProjectRequest) GetName

func (o *CreateProjectRequest) GetName() string

GetName returns the Name field value

func (*CreateProjectRequest) GetNameOk

func (o *CreateProjectRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (CreateProjectRequest) MarshalJSON

func (o CreateProjectRequest) MarshalJSON() ([]byte, error)

func (*CreateProjectRequest) SetCompanyName

func (o *CreateProjectRequest) SetCompanyName(v string)

SetCompanyName sets field value

func (*CreateProjectRequest) SetContactEmail

func (o *CreateProjectRequest) SetContactEmail(v string)

SetContactEmail sets field value

func (*CreateProjectRequest) SetName

func (o *CreateProjectRequest) SetName(v string)

SetName sets field value

type CreateProjectResponse

type CreateProjectResponse struct {
	// The project ID
	Id int32 `json:"id"`
}

CreateProjectResponse struct for CreateProjectResponse

func NewCreateProjectResponse

func NewCreateProjectResponse(id int32) *CreateProjectResponse

NewCreateProjectResponse instantiates a new CreateProjectResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateProjectResponseWithDefaults

func NewCreateProjectResponseWithDefaults() *CreateProjectResponse

NewCreateProjectResponseWithDefaults instantiates a new CreateProjectResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateProjectResponse) GetId

func (o *CreateProjectResponse) GetId() int32

GetId returns the Id field value

func (*CreateProjectResponse) GetIdOk

func (o *CreateProjectResponse) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (CreateProjectResponse) MarshalJSON

func (o CreateProjectResponse) MarshalJSON() ([]byte, error)

func (*CreateProjectResponse) SetId

func (o *CreateProjectResponse) SetId(v int32)

SetId sets field value

type CreateTradeRequestV1

type CreateTradeRequestV1 struct {
	// Amount to buy
	AmountBuy string `json:"amount_buy"`
	// Amount to sell
	AmountSell string `json:"amount_sell"`
	// ID of the asset to buy
	AssetIdBuy string `json:"asset_id_buy"`
	// ID of the asset to sell
	AssetIdSell string `json:"asset_id_sell"`
	// Expiration timestamp for this trade
	ExpirationTimestamp int32    `json:"expiration_timestamp"`
	FeeInfo             *FeeInfo `json:"fee_info,omitempty"`
	// Fee information
	Fees []FeeEntry `json:"fees,omitempty"`
	// [deprecated] All orders include fees since the introduction of protocol fees
	IncludeFees *bool `json:"include_fees,omitempty"`
	// Nonce of the trade
	Nonce int32 `json:"nonce"`
	// ID of the order
	OrderId int32 `json:"order_id"`
	// Public stark key of the user creating trade
	StarkKey string `json:"stark_key"`
	// Payload signature
	StarkSignature string `json:"stark_signature"`
	// ID of the vault into which the traded asset will be placed
	VaultIdBuy int32 `json:"vault_id_buy"`
	// ID of the vault to sell from
	VaultIdSell int32 `json:"vault_id_sell"`
}

CreateTradeRequestV1 struct for CreateTradeRequestV1

func NewCreateTradeRequestV1

func NewCreateTradeRequestV1(amountBuy string, amountSell string, assetIdBuy string, assetIdSell string, expirationTimestamp int32, nonce int32, orderId int32, starkKey string, starkSignature string, vaultIdBuy int32, vaultIdSell int32) *CreateTradeRequestV1

NewCreateTradeRequestV1 instantiates a new CreateTradeRequestV1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTradeRequestV1WithDefaults

func NewCreateTradeRequestV1WithDefaults() *CreateTradeRequestV1

NewCreateTradeRequestV1WithDefaults instantiates a new CreateTradeRequestV1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTradeRequestV1) GetAmountBuy

func (o *CreateTradeRequestV1) GetAmountBuy() string

GetAmountBuy returns the AmountBuy field value

func (*CreateTradeRequestV1) GetAmountBuyOk

func (o *CreateTradeRequestV1) GetAmountBuyOk() (*string, bool)

GetAmountBuyOk returns a tuple with the AmountBuy field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetAmountSell

func (o *CreateTradeRequestV1) GetAmountSell() string

GetAmountSell returns the AmountSell field value

func (*CreateTradeRequestV1) GetAmountSellOk

func (o *CreateTradeRequestV1) GetAmountSellOk() (*string, bool)

GetAmountSellOk returns a tuple with the AmountSell field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetAssetIdBuy

func (o *CreateTradeRequestV1) GetAssetIdBuy() string

GetAssetIdBuy returns the AssetIdBuy field value

func (*CreateTradeRequestV1) GetAssetIdBuyOk

func (o *CreateTradeRequestV1) GetAssetIdBuyOk() (*string, bool)

GetAssetIdBuyOk returns a tuple with the AssetIdBuy field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetAssetIdSell

func (o *CreateTradeRequestV1) GetAssetIdSell() string

GetAssetIdSell returns the AssetIdSell field value

func (*CreateTradeRequestV1) GetAssetIdSellOk

func (o *CreateTradeRequestV1) GetAssetIdSellOk() (*string, bool)

GetAssetIdSellOk returns a tuple with the AssetIdSell field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetExpirationTimestamp

func (o *CreateTradeRequestV1) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value

func (*CreateTradeRequestV1) GetExpirationTimestampOk

func (o *CreateTradeRequestV1) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetFeeInfo

func (o *CreateTradeRequestV1) GetFeeInfo() FeeInfo

GetFeeInfo returns the FeeInfo field value if set, zero value otherwise.

func (*CreateTradeRequestV1) GetFeeInfoOk

func (o *CreateTradeRequestV1) GetFeeInfoOk() (*FeeInfo, bool)

GetFeeInfoOk returns a tuple with the FeeInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetFees

func (o *CreateTradeRequestV1) GetFees() []FeeEntry

GetFees returns the Fees field value if set, zero value otherwise.

func (*CreateTradeRequestV1) GetFeesOk

func (o *CreateTradeRequestV1) GetFeesOk() ([]FeeEntry, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetIncludeFees

func (o *CreateTradeRequestV1) GetIncludeFees() bool

GetIncludeFees returns the IncludeFees field value if set, zero value otherwise.

func (*CreateTradeRequestV1) GetIncludeFeesOk

func (o *CreateTradeRequestV1) GetIncludeFeesOk() (*bool, bool)

GetIncludeFeesOk returns a tuple with the IncludeFees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetNonce

func (o *CreateTradeRequestV1) GetNonce() int32

GetNonce returns the Nonce field value

func (*CreateTradeRequestV1) GetNonceOk

func (o *CreateTradeRequestV1) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetOrderId

func (o *CreateTradeRequestV1) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*CreateTradeRequestV1) GetOrderIdOk

func (o *CreateTradeRequestV1) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetStarkKey

func (o *CreateTradeRequestV1) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*CreateTradeRequestV1) GetStarkKeyOk

func (o *CreateTradeRequestV1) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetStarkSignature

func (o *CreateTradeRequestV1) GetStarkSignature() string

GetStarkSignature returns the StarkSignature field value

func (*CreateTradeRequestV1) GetStarkSignatureOk

func (o *CreateTradeRequestV1) GetStarkSignatureOk() (*string, bool)

GetStarkSignatureOk returns a tuple with the StarkSignature field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetVaultIdBuy

func (o *CreateTradeRequestV1) GetVaultIdBuy() int32

GetVaultIdBuy returns the VaultIdBuy field value

func (*CreateTradeRequestV1) GetVaultIdBuyOk

func (o *CreateTradeRequestV1) GetVaultIdBuyOk() (*int32, bool)

GetVaultIdBuyOk returns a tuple with the VaultIdBuy field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) GetVaultIdSell

func (o *CreateTradeRequestV1) GetVaultIdSell() int32

GetVaultIdSell returns the VaultIdSell field value

func (*CreateTradeRequestV1) GetVaultIdSellOk

func (o *CreateTradeRequestV1) GetVaultIdSellOk() (*int32, bool)

GetVaultIdSellOk returns a tuple with the VaultIdSell field value and a boolean to check if the value has been set.

func (*CreateTradeRequestV1) HasFeeInfo

func (o *CreateTradeRequestV1) HasFeeInfo() bool

HasFeeInfo returns a boolean if a field has been set.

func (*CreateTradeRequestV1) HasFees

func (o *CreateTradeRequestV1) HasFees() bool

HasFees returns a boolean if a field has been set.

func (*CreateTradeRequestV1) HasIncludeFees

func (o *CreateTradeRequestV1) HasIncludeFees() bool

HasIncludeFees returns a boolean if a field has been set.

func (CreateTradeRequestV1) MarshalJSON

func (o CreateTradeRequestV1) MarshalJSON() ([]byte, error)

func (*CreateTradeRequestV1) SetAmountBuy

func (o *CreateTradeRequestV1) SetAmountBuy(v string)

SetAmountBuy sets field value

func (*CreateTradeRequestV1) SetAmountSell

func (o *CreateTradeRequestV1) SetAmountSell(v string)

SetAmountSell sets field value

func (*CreateTradeRequestV1) SetAssetIdBuy

func (o *CreateTradeRequestV1) SetAssetIdBuy(v string)

SetAssetIdBuy sets field value

func (*CreateTradeRequestV1) SetAssetIdSell

func (o *CreateTradeRequestV1) SetAssetIdSell(v string)

SetAssetIdSell sets field value

func (*CreateTradeRequestV1) SetExpirationTimestamp

func (o *CreateTradeRequestV1) SetExpirationTimestamp(v int32)

SetExpirationTimestamp sets field value

func (*CreateTradeRequestV1) SetFeeInfo

func (o *CreateTradeRequestV1) SetFeeInfo(v FeeInfo)

SetFeeInfo gets a reference to the given FeeInfo and assigns it to the FeeInfo field.

func (*CreateTradeRequestV1) SetFees

func (o *CreateTradeRequestV1) SetFees(v []FeeEntry)

SetFees gets a reference to the given []FeeEntry and assigns it to the Fees field.

func (*CreateTradeRequestV1) SetIncludeFees

func (o *CreateTradeRequestV1) SetIncludeFees(v bool)

SetIncludeFees gets a reference to the given bool and assigns it to the IncludeFees field.

func (*CreateTradeRequestV1) SetNonce

func (o *CreateTradeRequestV1) SetNonce(v int32)

SetNonce sets field value

func (*CreateTradeRequestV1) SetOrderId

func (o *CreateTradeRequestV1) SetOrderId(v int32)

SetOrderId sets field value

func (*CreateTradeRequestV1) SetStarkKey

func (o *CreateTradeRequestV1) SetStarkKey(v string)

SetStarkKey sets field value

func (*CreateTradeRequestV1) SetStarkSignature

func (o *CreateTradeRequestV1) SetStarkSignature(v string)

SetStarkSignature sets field value

func (*CreateTradeRequestV1) SetVaultIdBuy

func (o *CreateTradeRequestV1) SetVaultIdBuy(v int32)

SetVaultIdBuy sets field value

func (*CreateTradeRequestV1) SetVaultIdSell

func (o *CreateTradeRequestV1) SetVaultIdSell(v int32)

SetVaultIdSell sets field value

type CreateTradeResponse

type CreateTradeResponse struct {
	// Request ID as a reference for an asynchronous trade creation request
	RequestId *string `json:"request_id,omitempty"`
	// Current status of trade
	Status string `json:"status"`
	// ID of trade within Immutable X
	TradeId int32 `json:"trade_id"`
}

CreateTradeResponse struct for CreateTradeResponse

func NewCreateTradeResponse

func NewCreateTradeResponse(status string, tradeId int32) *CreateTradeResponse

NewCreateTradeResponse instantiates a new CreateTradeResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTradeResponseWithDefaults

func NewCreateTradeResponseWithDefaults() *CreateTradeResponse

NewCreateTradeResponseWithDefaults instantiates a new CreateTradeResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTradeResponse) GetRequestId

func (o *CreateTradeResponse) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*CreateTradeResponse) GetRequestIdOk

func (o *CreateTradeResponse) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateTradeResponse) GetStatus

func (o *CreateTradeResponse) GetStatus() string

GetStatus returns the Status field value

func (*CreateTradeResponse) GetStatusOk

func (o *CreateTradeResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*CreateTradeResponse) GetTradeId

func (o *CreateTradeResponse) GetTradeId() int32

GetTradeId returns the TradeId field value

func (*CreateTradeResponse) GetTradeIdOk

func (o *CreateTradeResponse) GetTradeIdOk() (*int32, bool)

GetTradeIdOk returns a tuple with the TradeId field value and a boolean to check if the value has been set.

func (*CreateTradeResponse) HasRequestId

func (o *CreateTradeResponse) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (CreateTradeResponse) MarshalJSON

func (o CreateTradeResponse) MarshalJSON() ([]byte, error)

func (*CreateTradeResponse) SetRequestId

func (o *CreateTradeResponse) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*CreateTradeResponse) SetStatus

func (o *CreateTradeResponse) SetStatus(v string)

SetStatus sets field value

func (*CreateTradeResponse) SetTradeId

func (o *CreateTradeResponse) SetTradeId(v int32)

SetTradeId sets field value

type CreateTransferRequest

type CreateTransferRequest struct {
	// List of transfers
	Requests []TransferRequest `json:"requests"`
	// Public stark key of the user sending the transfer
	SenderStarkKey string `json:"sender_stark_key"`
}

CreateTransferRequest struct for CreateTransferRequest

func NewCreateTransferRequest

func NewCreateTransferRequest(requests []TransferRequest, senderStarkKey string) *CreateTransferRequest

NewCreateTransferRequest instantiates a new CreateTransferRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTransferRequestWithDefaults

func NewCreateTransferRequestWithDefaults() *CreateTransferRequest

NewCreateTransferRequestWithDefaults instantiates a new CreateTransferRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTransferRequest) GetRequests

func (o *CreateTransferRequest) GetRequests() []TransferRequest

GetRequests returns the Requests field value

func (*CreateTransferRequest) GetRequestsOk

func (o *CreateTransferRequest) GetRequestsOk() ([]TransferRequest, bool)

GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.

func (*CreateTransferRequest) GetSenderStarkKey

func (o *CreateTransferRequest) GetSenderStarkKey() string

GetSenderStarkKey returns the SenderStarkKey field value

func (*CreateTransferRequest) GetSenderStarkKeyOk

func (o *CreateTransferRequest) GetSenderStarkKeyOk() (*string, bool)

GetSenderStarkKeyOk returns a tuple with the SenderStarkKey field value and a boolean to check if the value has been set.

func (CreateTransferRequest) MarshalJSON

func (o CreateTransferRequest) MarshalJSON() ([]byte, error)

func (*CreateTransferRequest) SetRequests

func (o *CreateTransferRequest) SetRequests(v []TransferRequest)

SetRequests sets field value

func (*CreateTransferRequest) SetSenderStarkKey

func (o *CreateTransferRequest) SetSenderStarkKey(v string)

SetSenderStarkKey sets field value

type CreateTransferRequestV1

type CreateTransferRequestV1 struct {
	// Amount to transfer
	Amount string `json:"amount"`
	// ID of the asset to transfer
	AssetId string `json:"asset_id"`
	// Expiration timestamp for this transfer
	ExpirationTimestamp int32 `json:"expiration_timestamp"`
	// Nonce of the transfer
	Nonce int32 `json:"nonce"`
	// Public stark key of the user receiving the transfer
	ReceiverStarkKey string `json:"receiver_stark_key"`
	// ID of the vault into which the asset will be transferred to
	ReceiverVaultId int32 `json:"receiver_vault_id"`
	// Public stark key of the user sending the transfer
	SenderStarkKey string `json:"sender_stark_key"`
	// ID of the vault into which the asset is from
	SenderVaultId int32 `json:"sender_vault_id"`
	// Transfer payload signature
	StarkSignature string `json:"stark_signature"`
}

CreateTransferRequestV1 struct for CreateTransferRequestV1

func NewCreateTransferRequestV1

func NewCreateTransferRequestV1(amount string, assetId string, expirationTimestamp int32, nonce int32, receiverStarkKey string, receiverVaultId int32, senderStarkKey string, senderVaultId int32, starkSignature string) *CreateTransferRequestV1

NewCreateTransferRequestV1 instantiates a new CreateTransferRequestV1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTransferRequestV1WithDefaults

func NewCreateTransferRequestV1WithDefaults() *CreateTransferRequestV1

NewCreateTransferRequestV1WithDefaults instantiates a new CreateTransferRequestV1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTransferRequestV1) GetAmount

func (o *CreateTransferRequestV1) GetAmount() string

GetAmount returns the Amount field value

func (*CreateTransferRequestV1) GetAmountOk

func (o *CreateTransferRequestV1) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*CreateTransferRequestV1) GetAssetId

func (o *CreateTransferRequestV1) GetAssetId() string

GetAssetId returns the AssetId field value

func (*CreateTransferRequestV1) GetAssetIdOk

func (o *CreateTransferRequestV1) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*CreateTransferRequestV1) GetExpirationTimestamp

func (o *CreateTransferRequestV1) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value

func (*CreateTransferRequestV1) GetExpirationTimestampOk

func (o *CreateTransferRequestV1) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set.

func (*CreateTransferRequestV1) GetNonce

func (o *CreateTransferRequestV1) GetNonce() int32

GetNonce returns the Nonce field value

func (*CreateTransferRequestV1) GetNonceOk

func (o *CreateTransferRequestV1) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*CreateTransferRequestV1) GetReceiverStarkKey

func (o *CreateTransferRequestV1) GetReceiverStarkKey() string

GetReceiverStarkKey returns the ReceiverStarkKey field value

func (*CreateTransferRequestV1) GetReceiverStarkKeyOk

func (o *CreateTransferRequestV1) GetReceiverStarkKeyOk() (*string, bool)

GetReceiverStarkKeyOk returns a tuple with the ReceiverStarkKey field value and a boolean to check if the value has been set.

func (*CreateTransferRequestV1) GetReceiverVaultId

func (o *CreateTransferRequestV1) GetReceiverVaultId() int32

GetReceiverVaultId returns the ReceiverVaultId field value

func (*CreateTransferRequestV1) GetReceiverVaultIdOk

func (o *CreateTransferRequestV1) GetReceiverVaultIdOk() (*int32, bool)

GetReceiverVaultIdOk returns a tuple with the ReceiverVaultId field value and a boolean to check if the value has been set.

func (*CreateTransferRequestV1) GetSenderStarkKey

func (o *CreateTransferRequestV1) GetSenderStarkKey() string

GetSenderStarkKey returns the SenderStarkKey field value

func (*CreateTransferRequestV1) GetSenderStarkKeyOk

func (o *CreateTransferRequestV1) GetSenderStarkKeyOk() (*string, bool)

GetSenderStarkKeyOk returns a tuple with the SenderStarkKey field value and a boolean to check if the value has been set.

func (*CreateTransferRequestV1) GetSenderVaultId

func (o *CreateTransferRequestV1) GetSenderVaultId() int32

GetSenderVaultId returns the SenderVaultId field value

func (*CreateTransferRequestV1) GetSenderVaultIdOk

func (o *CreateTransferRequestV1) GetSenderVaultIdOk() (*int32, bool)

GetSenderVaultIdOk returns a tuple with the SenderVaultId field value and a boolean to check if the value has been set.

func (*CreateTransferRequestV1) GetStarkSignature

func (o *CreateTransferRequestV1) GetStarkSignature() string

GetStarkSignature returns the StarkSignature field value

func (*CreateTransferRequestV1) GetStarkSignatureOk

func (o *CreateTransferRequestV1) GetStarkSignatureOk() (*string, bool)

GetStarkSignatureOk returns a tuple with the StarkSignature field value and a boolean to check if the value has been set.

func (CreateTransferRequestV1) MarshalJSON

func (o CreateTransferRequestV1) MarshalJSON() ([]byte, error)

func (*CreateTransferRequestV1) SetAmount

func (o *CreateTransferRequestV1) SetAmount(v string)

SetAmount sets field value

func (*CreateTransferRequestV1) SetAssetId

func (o *CreateTransferRequestV1) SetAssetId(v string)

SetAssetId sets field value

func (*CreateTransferRequestV1) SetExpirationTimestamp

func (o *CreateTransferRequestV1) SetExpirationTimestamp(v int32)

SetExpirationTimestamp sets field value

func (*CreateTransferRequestV1) SetNonce

func (o *CreateTransferRequestV1) SetNonce(v int32)

SetNonce sets field value

func (*CreateTransferRequestV1) SetReceiverStarkKey

func (o *CreateTransferRequestV1) SetReceiverStarkKey(v string)

SetReceiverStarkKey sets field value

func (*CreateTransferRequestV1) SetReceiverVaultId

func (o *CreateTransferRequestV1) SetReceiverVaultId(v int32)

SetReceiverVaultId sets field value

func (*CreateTransferRequestV1) SetSenderStarkKey

func (o *CreateTransferRequestV1) SetSenderStarkKey(v string)

SetSenderStarkKey sets field value

func (*CreateTransferRequestV1) SetSenderVaultId

func (o *CreateTransferRequestV1) SetSenderVaultId(v int32)

SetSenderVaultId sets field value

func (*CreateTransferRequestV1) SetStarkSignature

func (o *CreateTransferRequestV1) SetStarkSignature(v string)

SetStarkSignature sets field value

type CreateTransferResponse

type CreateTransferResponse struct {
	// List of transfer IDs
	TransferIds []int32 `json:"transfer_ids"`
}

CreateTransferResponse struct for CreateTransferResponse

func NewCreateTransferResponse

func NewCreateTransferResponse(transferIds []int32) *CreateTransferResponse

NewCreateTransferResponse instantiates a new CreateTransferResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTransferResponseWithDefaults

func NewCreateTransferResponseWithDefaults() *CreateTransferResponse

NewCreateTransferResponseWithDefaults instantiates a new CreateTransferResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTransferResponse) GetTransferIds

func (o *CreateTransferResponse) GetTransferIds() []int32

GetTransferIds returns the TransferIds field value

func (*CreateTransferResponse) GetTransferIdsOk

func (o *CreateTransferResponse) GetTransferIdsOk() ([]int32, bool)

GetTransferIdsOk returns a tuple with the TransferIds field value and a boolean to check if the value has been set.

func (CreateTransferResponse) MarshalJSON

func (o CreateTransferResponse) MarshalJSON() ([]byte, error)

func (*CreateTransferResponse) SetTransferIds

func (o *CreateTransferResponse) SetTransferIds(v []int32)

SetTransferIds sets field value

type CreateTransferResponseV1

type CreateTransferResponseV1 struct {
	// [deprecated] Sent signature
	SentSignature string `json:"sent_signature"`
	// [deprecated] The status of transfer
	Status string `json:"status"`
	// [deprecated] Time of the transfer
	Time int32 `json:"time"`
	// ID of the transfer
	TransferId int32 `json:"transfer_id"`
}

CreateTransferResponseV1 struct for CreateTransferResponseV1

func NewCreateTransferResponseV1

func NewCreateTransferResponseV1(sentSignature string, status string, time int32, transferId int32) *CreateTransferResponseV1

NewCreateTransferResponseV1 instantiates a new CreateTransferResponseV1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTransferResponseV1WithDefaults

func NewCreateTransferResponseV1WithDefaults() *CreateTransferResponseV1

NewCreateTransferResponseV1WithDefaults instantiates a new CreateTransferResponseV1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTransferResponseV1) GetSentSignature

func (o *CreateTransferResponseV1) GetSentSignature() string

GetSentSignature returns the SentSignature field value

func (*CreateTransferResponseV1) GetSentSignatureOk

func (o *CreateTransferResponseV1) GetSentSignatureOk() (*string, bool)

GetSentSignatureOk returns a tuple with the SentSignature field value and a boolean to check if the value has been set.

func (*CreateTransferResponseV1) GetStatus

func (o *CreateTransferResponseV1) GetStatus() string

GetStatus returns the Status field value

func (*CreateTransferResponseV1) GetStatusOk

func (o *CreateTransferResponseV1) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*CreateTransferResponseV1) GetTime

func (o *CreateTransferResponseV1) GetTime() int32

GetTime returns the Time field value

func (*CreateTransferResponseV1) GetTimeOk

func (o *CreateTransferResponseV1) GetTimeOk() (*int32, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*CreateTransferResponseV1) GetTransferId

func (o *CreateTransferResponseV1) GetTransferId() int32

GetTransferId returns the TransferId field value

func (*CreateTransferResponseV1) GetTransferIdOk

func (o *CreateTransferResponseV1) GetTransferIdOk() (*int32, bool)

GetTransferIdOk returns a tuple with the TransferId field value and a boolean to check if the value has been set.

func (CreateTransferResponseV1) MarshalJSON

func (o CreateTransferResponseV1) MarshalJSON() ([]byte, error)

func (*CreateTransferResponseV1) SetSentSignature

func (o *CreateTransferResponseV1) SetSentSignature(v string)

SetSentSignature sets field value

func (*CreateTransferResponseV1) SetStatus

func (o *CreateTransferResponseV1) SetStatus(v string)

SetStatus sets field value

func (*CreateTransferResponseV1) SetTime

func (o *CreateTransferResponseV1) SetTime(v int32)

SetTime sets field value

func (*CreateTransferResponseV1) SetTransferId

func (o *CreateTransferResponseV1) SetTransferId(v int32)

SetTransferId sets field value

type CreateWithdrawalRequest

type CreateWithdrawalRequest struct {
	// Amount to withdraw
	Amount string `json:"amount"`
	// The ID of asset the user is withdrawing
	AssetId string `json:"asset_id"`
	// Nonce of the withdrawal
	Nonce int32 `json:"nonce"`
	// Public stark key of the withdrawing user
	StarkKey string `json:"stark_key"`
	// Payload signature
	StarkSignature string `json:"stark_signature"`
	// The ID of the vault the asset belong to
	VaultId int32 `json:"vault_id"`
}

CreateWithdrawalRequest struct for CreateWithdrawalRequest

func NewCreateWithdrawalRequest

func NewCreateWithdrawalRequest(amount string, assetId string, nonce int32, starkKey string, starkSignature string, vaultId int32) *CreateWithdrawalRequest

NewCreateWithdrawalRequest instantiates a new CreateWithdrawalRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateWithdrawalRequestWithDefaults

func NewCreateWithdrawalRequestWithDefaults() *CreateWithdrawalRequest

NewCreateWithdrawalRequestWithDefaults instantiates a new CreateWithdrawalRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateWithdrawalRequest) GetAmount

func (o *CreateWithdrawalRequest) GetAmount() string

GetAmount returns the Amount field value

func (*CreateWithdrawalRequest) GetAmountOk

func (o *CreateWithdrawalRequest) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*CreateWithdrawalRequest) GetAssetId

func (o *CreateWithdrawalRequest) GetAssetId() string

GetAssetId returns the AssetId field value

func (*CreateWithdrawalRequest) GetAssetIdOk

func (o *CreateWithdrawalRequest) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*CreateWithdrawalRequest) GetNonce

func (o *CreateWithdrawalRequest) GetNonce() int32

GetNonce returns the Nonce field value

func (*CreateWithdrawalRequest) GetNonceOk

func (o *CreateWithdrawalRequest) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*CreateWithdrawalRequest) GetStarkKey

func (o *CreateWithdrawalRequest) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*CreateWithdrawalRequest) GetStarkKeyOk

func (o *CreateWithdrawalRequest) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (*CreateWithdrawalRequest) GetStarkSignature

func (o *CreateWithdrawalRequest) GetStarkSignature() string

GetStarkSignature returns the StarkSignature field value

func (*CreateWithdrawalRequest) GetStarkSignatureOk

func (o *CreateWithdrawalRequest) GetStarkSignatureOk() (*string, bool)

GetStarkSignatureOk returns a tuple with the StarkSignature field value and a boolean to check if the value has been set.

func (*CreateWithdrawalRequest) GetVaultId

func (o *CreateWithdrawalRequest) GetVaultId() int32

GetVaultId returns the VaultId field value

func (*CreateWithdrawalRequest) GetVaultIdOk

func (o *CreateWithdrawalRequest) GetVaultIdOk() (*int32, bool)

GetVaultIdOk returns a tuple with the VaultId field value and a boolean to check if the value has been set.

func (CreateWithdrawalRequest) MarshalJSON

func (o CreateWithdrawalRequest) MarshalJSON() ([]byte, error)

func (*CreateWithdrawalRequest) SetAmount

func (o *CreateWithdrawalRequest) SetAmount(v string)

SetAmount sets field value

func (*CreateWithdrawalRequest) SetAssetId

func (o *CreateWithdrawalRequest) SetAssetId(v string)

SetAssetId sets field value

func (*CreateWithdrawalRequest) SetNonce

func (o *CreateWithdrawalRequest) SetNonce(v int32)

SetNonce sets field value

func (*CreateWithdrawalRequest) SetStarkKey

func (o *CreateWithdrawalRequest) SetStarkKey(v string)

SetStarkKey sets field value

func (*CreateWithdrawalRequest) SetStarkSignature

func (o *CreateWithdrawalRequest) SetStarkSignature(v string)

SetStarkSignature sets field value

func (*CreateWithdrawalRequest) SetVaultId

func (o *CreateWithdrawalRequest) SetVaultId(v int32)

SetVaultId sets field value

type CreateWithdrawalResponse

type CreateWithdrawalResponse struct {
	// Status of the withdrawal
	Status string `json:"status"`
	// Time of the withdrawal
	Time int32 `json:"time"`
	// ID of the withdrawal
	WithdrawalId int32 `json:"withdrawal_id"`
}

CreateWithdrawalResponse struct for CreateWithdrawalResponse

func NewCreateWithdrawalResponse

func NewCreateWithdrawalResponse(status string, time int32, withdrawalId int32) *CreateWithdrawalResponse

NewCreateWithdrawalResponse instantiates a new CreateWithdrawalResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateWithdrawalResponseWithDefaults

func NewCreateWithdrawalResponseWithDefaults() *CreateWithdrawalResponse

NewCreateWithdrawalResponseWithDefaults instantiates a new CreateWithdrawalResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateWithdrawalResponse) GetStatus

func (o *CreateWithdrawalResponse) GetStatus() string

GetStatus returns the Status field value

func (*CreateWithdrawalResponse) GetStatusOk

func (o *CreateWithdrawalResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*CreateWithdrawalResponse) GetTime

func (o *CreateWithdrawalResponse) GetTime() int32

GetTime returns the Time field value

func (*CreateWithdrawalResponse) GetTimeOk

func (o *CreateWithdrawalResponse) GetTimeOk() (*int32, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*CreateWithdrawalResponse) GetWithdrawalId

func (o *CreateWithdrawalResponse) GetWithdrawalId() int32

GetWithdrawalId returns the WithdrawalId field value

func (*CreateWithdrawalResponse) GetWithdrawalIdOk

func (o *CreateWithdrawalResponse) GetWithdrawalIdOk() (*int32, bool)

GetWithdrawalIdOk returns a tuple with the WithdrawalId field value and a boolean to check if the value has been set.

func (CreateWithdrawalResponse) MarshalJSON

func (o CreateWithdrawalResponse) MarshalJSON() ([]byte, error)

func (*CreateWithdrawalResponse) SetStatus

func (o *CreateWithdrawalResponse) SetStatus(v string)

SetStatus sets field value

func (*CreateWithdrawalResponse) SetTime

func (o *CreateWithdrawalResponse) SetTime(v int32)

SetTime sets field value

func (*CreateWithdrawalResponse) SetWithdrawalId

func (o *CreateWithdrawalResponse) SetWithdrawalId(v int32)

SetWithdrawalId sets field value

type CurrencyWithLimits added in v1.0.0

type CurrencyWithLimits struct {
	// Provider currency code
	CurrencyCode *string         `json:"currency_code,omitempty"`
	Limits       *AggregateLimit `json:"limits,omitempty"`
	// Provider name (e.g. moonpay)
	Provider *string `json:"provider,omitempty"`
	// Currency Symbol
	Symbol *string `json:"symbol,omitempty"`
}

CurrencyWithLimits struct for CurrencyWithLimits

func NewCurrencyWithLimits added in v1.0.0

func NewCurrencyWithLimits() *CurrencyWithLimits

NewCurrencyWithLimits instantiates a new CurrencyWithLimits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCurrencyWithLimitsWithDefaults added in v1.0.0

func NewCurrencyWithLimitsWithDefaults() *CurrencyWithLimits

NewCurrencyWithLimitsWithDefaults instantiates a new CurrencyWithLimits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CurrencyWithLimits) GetCurrencyCode added in v1.0.0

func (o *CurrencyWithLimits) GetCurrencyCode() string

GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.

func (*CurrencyWithLimits) GetCurrencyCodeOk added in v1.0.0

func (o *CurrencyWithLimits) GetCurrencyCodeOk() (*string, bool)

GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CurrencyWithLimits) GetLimits added in v1.0.0

func (o *CurrencyWithLimits) GetLimits() AggregateLimit

GetLimits returns the Limits field value if set, zero value otherwise.

func (*CurrencyWithLimits) GetLimitsOk added in v1.0.0

func (o *CurrencyWithLimits) GetLimitsOk() (*AggregateLimit, bool)

GetLimitsOk returns a tuple with the Limits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CurrencyWithLimits) GetProvider added in v1.0.0

func (o *CurrencyWithLimits) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*CurrencyWithLimits) GetProviderOk added in v1.0.0

func (o *CurrencyWithLimits) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CurrencyWithLimits) GetSymbol added in v1.0.0

func (o *CurrencyWithLimits) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*CurrencyWithLimits) GetSymbolOk added in v1.0.0

func (o *CurrencyWithLimits) GetSymbolOk() (*string, bool)

GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CurrencyWithLimits) HasCurrencyCode added in v1.0.0

func (o *CurrencyWithLimits) HasCurrencyCode() bool

HasCurrencyCode returns a boolean if a field has been set.

func (*CurrencyWithLimits) HasLimits added in v1.0.0

func (o *CurrencyWithLimits) HasLimits() bool

HasLimits returns a boolean if a field has been set.

func (*CurrencyWithLimits) HasProvider added in v1.0.0

func (o *CurrencyWithLimits) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*CurrencyWithLimits) HasSymbol added in v1.0.0

func (o *CurrencyWithLimits) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (CurrencyWithLimits) MarshalJSON added in v1.0.0

func (o CurrencyWithLimits) MarshalJSON() ([]byte, error)

func (*CurrencyWithLimits) SetCurrencyCode added in v1.0.0

func (o *CurrencyWithLimits) SetCurrencyCode(v string)

SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.

func (*CurrencyWithLimits) SetLimits added in v1.0.0

func (o *CurrencyWithLimits) SetLimits(v AggregateLimit)

SetLimits gets a reference to the given AggregateLimit and assigns it to the Limits field.

func (*CurrencyWithLimits) SetProvider added in v1.0.0

func (o *CurrencyWithLimits) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*CurrencyWithLimits) SetSymbol added in v1.0.0

func (o *CurrencyWithLimits) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

type Deposit

type Deposit struct {
	// Status of this deposit in Immutable X
	Status string `json:"status"`
	// Timestamp of the deposit
	Timestamp string `json:"timestamp"`
	Token     Token  `json:"token"`
	// Sequential ID of this transaction within Immutable X
	TransactionId int32 `json:"transaction_id"`
	// Ethereum address of the user making this deposit
	User string `json:"user"`
}

Deposit struct for Deposit

func NewDeposit

func NewDeposit(status string, timestamp string, token Token, transactionId int32, user string) *Deposit

NewDeposit instantiates a new Deposit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDepositWithDefaults

func NewDepositWithDefaults() *Deposit

NewDepositWithDefaults instantiates a new Deposit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Deposit) GetStatus

func (o *Deposit) GetStatus() string

GetStatus returns the Status field value

func (*Deposit) GetStatusOk

func (o *Deposit) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Deposit) GetTimestamp

func (o *Deposit) GetTimestamp() string

GetTimestamp returns the Timestamp field value

func (*Deposit) GetTimestampOk

func (o *Deposit) GetTimestampOk() (*string, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*Deposit) GetToken

func (o *Deposit) GetToken() Token

GetToken returns the Token field value

func (*Deposit) GetTokenOk

func (o *Deposit) GetTokenOk() (*Token, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*Deposit) GetTransactionId

func (o *Deposit) GetTransactionId() int32

GetTransactionId returns the TransactionId field value

func (*Deposit) GetTransactionIdOk

func (o *Deposit) GetTransactionIdOk() (*int32, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value and a boolean to check if the value has been set.

func (*Deposit) GetUser

func (o *Deposit) GetUser() string

GetUser returns the User field value

func (*Deposit) GetUserOk

func (o *Deposit) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (Deposit) MarshalJSON

func (o Deposit) MarshalJSON() ([]byte, error)

func (*Deposit) SetStatus

func (o *Deposit) SetStatus(v string)

SetStatus sets field value

func (*Deposit) SetTimestamp

func (o *Deposit) SetTimestamp(v string)

SetTimestamp sets field value

func (*Deposit) SetToken

func (o *Deposit) SetToken(v Token)

SetToken sets field value

func (*Deposit) SetTransactionId

func (o *Deposit) SetTransactionId(v int32)

SetTransactionId sets field value

func (*Deposit) SetUser

func (o *Deposit) SetUser(v string)

SetUser sets field value

type DepositsApi

type DepositsApi interface {

	/*
		GetDeposit Get details of a deposit with the given ID

		Get details of a deposit with the given ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Deposit ID
		@return ApiGetDepositRequest
	*/
	GetDeposit(ctx context.Context, id string) ApiGetDepositRequest

	// GetDepositExecute executes the request
	//  @return Deposit
	GetDepositExecute(r ApiGetDepositRequest) (*Deposit, *http.Response, error)

	/*
		GetSignableDeposit Gets details of a signable deposit

		Gets details of a signable deposit

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableDepositRequest
	*/
	GetSignableDeposit(ctx context.Context) ApiGetSignableDepositRequest

	// GetSignableDepositExecute executes the request
	//  @return GetSignableDepositResponse
	GetSignableDepositExecute(r ApiGetSignableDepositRequest) (*GetSignableDepositResponse, *http.Response, error)

	/*
		ListDeposits Get a list of deposits

		Get a list of deposits

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListDepositsRequest
	*/
	ListDeposits(ctx context.Context) ApiListDepositsRequest

	// ListDepositsExecute executes the request
	//  @return ListDepositsResponse
	ListDepositsExecute(r ApiListDepositsRequest) (*ListDepositsResponse, *http.Response, error)
}

type DepositsApiService

type DepositsApiService service

DepositsApiService DepositsApi service

func (*DepositsApiService) GetDeposit

GetDeposit Get details of a deposit with the given ID

Get details of a deposit with the given ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Deposit ID
@return ApiGetDepositRequest

func (*DepositsApiService) GetDepositExecute

func (a *DepositsApiService) GetDepositExecute(r ApiGetDepositRequest) (*Deposit, *http.Response, error)

Execute executes the request

@return Deposit

func (*DepositsApiService) GetSignableDeposit

GetSignableDeposit Gets details of a signable deposit

Gets details of a signable deposit

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableDepositRequest

func (*DepositsApiService) GetSignableDepositExecute

Execute executes the request

@return GetSignableDepositResponse

func (*DepositsApiService) ListDeposits

ListDeposits Get a list of deposits

Get a list of deposits

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListDepositsRequest

func (*DepositsApiService) ListDepositsExecute

Execute executes the request

@return ListDepositsResponse

type EncodeAssetRequest

type EncodeAssetRequest struct {
	Token EncodeAssetRequestToken `json:"token"`
}

EncodeAssetRequest struct for EncodeAssetRequest

func NewEncodeAssetRequest

func NewEncodeAssetRequest(token EncodeAssetRequestToken) *EncodeAssetRequest

NewEncodeAssetRequest instantiates a new EncodeAssetRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEncodeAssetRequestWithDefaults

func NewEncodeAssetRequestWithDefaults() *EncodeAssetRequest

NewEncodeAssetRequestWithDefaults instantiates a new EncodeAssetRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EncodeAssetRequest) GetToken

GetToken returns the Token field value

func (*EncodeAssetRequest) GetTokenOk

func (o *EncodeAssetRequest) GetTokenOk() (*EncodeAssetRequestToken, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (EncodeAssetRequest) MarshalJSON

func (o EncodeAssetRequest) MarshalJSON() ([]byte, error)

func (*EncodeAssetRequest) SetToken

SetToken sets field value

type EncodeAssetRequestToken

type EncodeAssetRequestToken struct {
	Data *EncodeAssetTokenData `json:"data,omitempty"`
	// The type of the token to be encoded
	Type *string `json:"type,omitempty"`
}

EncodeAssetRequestToken struct for EncodeAssetRequestToken

func NewEncodeAssetRequestToken

func NewEncodeAssetRequestToken() *EncodeAssetRequestToken

NewEncodeAssetRequestToken instantiates a new EncodeAssetRequestToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEncodeAssetRequestTokenWithDefaults

func NewEncodeAssetRequestTokenWithDefaults() *EncodeAssetRequestToken

NewEncodeAssetRequestTokenWithDefaults instantiates a new EncodeAssetRequestToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EncodeAssetRequestToken) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*EncodeAssetRequestToken) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EncodeAssetRequestToken) GetType

func (o *EncodeAssetRequestToken) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*EncodeAssetRequestToken) GetTypeOk

func (o *EncodeAssetRequestToken) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EncodeAssetRequestToken) HasData

func (o *EncodeAssetRequestToken) HasData() bool

HasData returns a boolean if a field has been set.

func (*EncodeAssetRequestToken) HasType

func (o *EncodeAssetRequestToken) HasType() bool

HasType returns a boolean if a field has been set.

func (EncodeAssetRequestToken) MarshalJSON

func (o EncodeAssetRequestToken) MarshalJSON() ([]byte, error)

func (*EncodeAssetRequestToken) SetData

SetData gets a reference to the given EncodeAssetTokenData and assigns it to the Data field.

func (*EncodeAssetRequestToken) SetType

func (o *EncodeAssetRequestToken) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type EncodeAssetResponse

type EncodeAssetResponse struct {
	// Stark encoded asset id
	AssetId string `json:"asset_id"`
	// Stark encoded asset type
	AssetType string `json:"asset_type"`
}

EncodeAssetResponse struct for EncodeAssetResponse

func NewEncodeAssetResponse

func NewEncodeAssetResponse(assetId string, assetType string) *EncodeAssetResponse

NewEncodeAssetResponse instantiates a new EncodeAssetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEncodeAssetResponseWithDefaults

func NewEncodeAssetResponseWithDefaults() *EncodeAssetResponse

NewEncodeAssetResponseWithDefaults instantiates a new EncodeAssetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EncodeAssetResponse) GetAssetId

func (o *EncodeAssetResponse) GetAssetId() string

GetAssetId returns the AssetId field value

func (*EncodeAssetResponse) GetAssetIdOk

func (o *EncodeAssetResponse) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*EncodeAssetResponse) GetAssetType

func (o *EncodeAssetResponse) GetAssetType() string

GetAssetType returns the AssetType field value

func (*EncodeAssetResponse) GetAssetTypeOk

func (o *EncodeAssetResponse) GetAssetTypeOk() (*string, bool)

GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.

func (EncodeAssetResponse) MarshalJSON

func (o EncodeAssetResponse) MarshalJSON() ([]byte, error)

func (*EncodeAssetResponse) SetAssetId

func (o *EncodeAssetResponse) SetAssetId(v string)

SetAssetId sets field value

func (*EncodeAssetResponse) SetAssetType

func (o *EncodeAssetResponse) SetAssetType(v string)

SetAssetType sets field value

type EncodeAssetTokenData

type EncodeAssetTokenData struct {
	// Blueprint information of the token to be encoded. Used if token is mintable.
	Blueprint *string `json:"blueprint,omitempty"`
	// ID of the token to be encoded. Used if token is mintable.
	Id *string `json:"id,omitempty"`
	// Contract address of the token to be encoded
	TokenAddress *string `json:"token_address,omitempty"`
	// TokenId of the token to be encoded. Used if token is non-mintable
	TokenId *string `json:"token_id,omitempty"`
}

EncodeAssetTokenData struct for EncodeAssetTokenData

func NewEncodeAssetTokenData

func NewEncodeAssetTokenData() *EncodeAssetTokenData

NewEncodeAssetTokenData instantiates a new EncodeAssetTokenData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEncodeAssetTokenDataWithDefaults

func NewEncodeAssetTokenDataWithDefaults() *EncodeAssetTokenData

NewEncodeAssetTokenDataWithDefaults instantiates a new EncodeAssetTokenData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EncodeAssetTokenData) GetBlueprint

func (o *EncodeAssetTokenData) GetBlueprint() string

GetBlueprint returns the Blueprint field value if set, zero value otherwise.

func (*EncodeAssetTokenData) GetBlueprintOk

func (o *EncodeAssetTokenData) GetBlueprintOk() (*string, bool)

GetBlueprintOk returns a tuple with the Blueprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EncodeAssetTokenData) GetId

func (o *EncodeAssetTokenData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*EncodeAssetTokenData) GetIdOk

func (o *EncodeAssetTokenData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EncodeAssetTokenData) GetTokenAddress

func (o *EncodeAssetTokenData) GetTokenAddress() string

GetTokenAddress returns the TokenAddress field value if set, zero value otherwise.

func (*EncodeAssetTokenData) GetTokenAddressOk

func (o *EncodeAssetTokenData) GetTokenAddressOk() (*string, bool)

GetTokenAddressOk returns a tuple with the TokenAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EncodeAssetTokenData) GetTokenId

func (o *EncodeAssetTokenData) GetTokenId() string

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*EncodeAssetTokenData) GetTokenIdOk

func (o *EncodeAssetTokenData) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EncodeAssetTokenData) HasBlueprint

func (o *EncodeAssetTokenData) HasBlueprint() bool

HasBlueprint returns a boolean if a field has been set.

func (*EncodeAssetTokenData) HasId

func (o *EncodeAssetTokenData) HasId() bool

HasId returns a boolean if a field has been set.

func (*EncodeAssetTokenData) HasTokenAddress

func (o *EncodeAssetTokenData) HasTokenAddress() bool

HasTokenAddress returns a boolean if a field has been set.

func (*EncodeAssetTokenData) HasTokenId

func (o *EncodeAssetTokenData) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (EncodeAssetTokenData) MarshalJSON

func (o EncodeAssetTokenData) MarshalJSON() ([]byte, error)

func (*EncodeAssetTokenData) SetBlueprint

func (o *EncodeAssetTokenData) SetBlueprint(v string)

SetBlueprint gets a reference to the given string and assigns it to the Blueprint field.

func (*EncodeAssetTokenData) SetId

func (o *EncodeAssetTokenData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*EncodeAssetTokenData) SetTokenAddress

func (o *EncodeAssetTokenData) SetTokenAddress(v string)

SetTokenAddress gets a reference to the given string and assigns it to the TokenAddress field.

func (*EncodeAssetTokenData) SetTokenId

func (o *EncodeAssetTokenData) SetTokenId(v string)

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

type EncodingApi

type EncodingApi interface {

	/*
		EncodeAsset Retrieves the Starkex Encoded format for a given asset

		Retrieves the Starkex Encoded format for a given asset so that it can be used as parameter for Starkex smart contracts

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param assetType Asset type to be encoded. (asset/mintable-asset)
		@return ApiEncodeAssetRequest
	*/
	EncodeAsset(ctx context.Context, assetType string) ApiEncodeAssetRequest

	// EncodeAssetExecute executes the request
	//  @return EncodeAssetResponse
	EncodeAssetExecute(r ApiEncodeAssetRequest) (*EncodeAssetResponse, *http.Response, error)
}

type EncodingApiService

type EncodingApiService service

EncodingApiService EncodingApi service

func (*EncodingApiService) EncodeAsset

func (a *EncodingApiService) EncodeAsset(ctx context.Context, assetType string) ApiEncodeAssetRequest

EncodeAsset Retrieves the Starkex Encoded format for a given asset

Retrieves the Starkex Encoded format for a given asset so that it can be used as parameter for Starkex smart contracts

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetType Asset type to be encoded. (asset/mintable-asset)
@return ApiEncodeAssetRequest

func (*EncodingApiService) EncodeAssetExecute

Execute executes the request

@return EncodeAssetResponse

type Exchange added in v1.0.0

type Exchange struct {
	// Time this transaction was created
	CreatedAt *string               `json:"created_at,omitempty"`
	Data      *OptionalExchangeData `json:"data,omitempty"`
	// Transaction ID
	Id *int32 `json:"id,omitempty"`
	// Provider name
	Provider *string `json:"provider,omitempty"`
	// Transaction status
	Status *string `json:"status,omitempty"`
	// Transaction type
	Type *string `json:"type,omitempty"`
	// Time this transaction was updates
	UpdatedAt *string `json:"updated_at,omitempty"`
	// Ethereum address of the user who created transaction
	WalletAddress *string `json:"wallet_address,omitempty"`
}

Exchange struct for Exchange

func NewExchange added in v1.0.0

func NewExchange() *Exchange

NewExchange instantiates a new Exchange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExchangeWithDefaults added in v1.0.0

func NewExchangeWithDefaults() *Exchange

NewExchangeWithDefaults instantiates a new Exchange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Exchange) GetCreatedAt added in v1.0.0

func (o *Exchange) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Exchange) GetCreatedAtOk added in v1.0.0

func (o *Exchange) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Exchange) GetData added in v1.0.0

func (o *Exchange) GetData() OptionalExchangeData

GetData returns the Data field value if set, zero value otherwise.

func (*Exchange) GetDataOk added in v1.0.0

func (o *Exchange) GetDataOk() (*OptionalExchangeData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Exchange) GetId added in v1.0.0

func (o *Exchange) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Exchange) GetIdOk added in v1.0.0

func (o *Exchange) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Exchange) GetProvider added in v1.0.0

func (o *Exchange) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*Exchange) GetProviderOk added in v1.0.0

func (o *Exchange) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Exchange) GetStatus added in v1.0.0

func (o *Exchange) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Exchange) GetStatusOk added in v1.0.0

func (o *Exchange) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Exchange) GetType added in v1.0.0

func (o *Exchange) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Exchange) GetTypeOk added in v1.0.0

func (o *Exchange) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Exchange) GetUpdatedAt added in v1.0.0

func (o *Exchange) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Exchange) GetUpdatedAtOk added in v1.0.0

func (o *Exchange) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Exchange) GetWalletAddress added in v1.0.0

func (o *Exchange) GetWalletAddress() string

GetWalletAddress returns the WalletAddress field value if set, zero value otherwise.

func (*Exchange) GetWalletAddressOk added in v1.0.0

func (o *Exchange) GetWalletAddressOk() (*string, bool)

GetWalletAddressOk returns a tuple with the WalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Exchange) HasCreatedAt added in v1.0.0

func (o *Exchange) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Exchange) HasData added in v1.0.0

func (o *Exchange) HasData() bool

HasData returns a boolean if a field has been set.

func (*Exchange) HasId added in v1.0.0

func (o *Exchange) HasId() bool

HasId returns a boolean if a field has been set.

func (*Exchange) HasProvider added in v1.0.0

func (o *Exchange) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*Exchange) HasStatus added in v1.0.0

func (o *Exchange) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Exchange) HasType added in v1.0.0

func (o *Exchange) HasType() bool

HasType returns a boolean if a field has been set.

func (*Exchange) HasUpdatedAt added in v1.0.0

func (o *Exchange) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Exchange) HasWalletAddress added in v1.0.0

func (o *Exchange) HasWalletAddress() bool

HasWalletAddress returns a boolean if a field has been set.

func (Exchange) MarshalJSON added in v1.0.0

func (o Exchange) MarshalJSON() ([]byte, error)

func (*Exchange) SetCreatedAt added in v1.0.0

func (o *Exchange) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*Exchange) SetData added in v1.0.0

func (o *Exchange) SetData(v OptionalExchangeData)

SetData gets a reference to the given OptionalExchangeData and assigns it to the Data field.

func (*Exchange) SetId added in v1.0.0

func (o *Exchange) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Exchange) SetProvider added in v1.0.0

func (o *Exchange) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*Exchange) SetStatus added in v1.0.0

func (o *Exchange) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Exchange) SetType added in v1.0.0

func (o *Exchange) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Exchange) SetUpdatedAt added in v1.0.0

func (o *Exchange) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (*Exchange) SetWalletAddress added in v1.0.0

func (o *Exchange) SetWalletAddress(v string)

SetWalletAddress gets a reference to the given string and assigns it to the WalletAddress field.

type ExchangeCreateExchangeAndURLResponse added in v1.0.0

type ExchangeCreateExchangeAndURLResponse struct {
	// Created transaction ID
	Id *int32 `json:"id,omitempty"`
	// Provider name (e.g. moonpay)
	Provider *string `json:"provider,omitempty"`
	// Transaction type
	Type *string `json:"type,omitempty"`
	// Widget URL
	Url *string `json:"url,omitempty"`
	// Ethereum address of the user who created transaction
	WalletAddress *string `json:"wallet_address,omitempty"`
}

ExchangeCreateExchangeAndURLResponse struct for ExchangeCreateExchangeAndURLResponse

func NewExchangeCreateExchangeAndURLResponse added in v1.0.0

func NewExchangeCreateExchangeAndURLResponse() *ExchangeCreateExchangeAndURLResponse

NewExchangeCreateExchangeAndURLResponse instantiates a new ExchangeCreateExchangeAndURLResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExchangeCreateExchangeAndURLResponseWithDefaults added in v1.0.0

func NewExchangeCreateExchangeAndURLResponseWithDefaults() *ExchangeCreateExchangeAndURLResponse

NewExchangeCreateExchangeAndURLResponseWithDefaults instantiates a new ExchangeCreateExchangeAndURLResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExchangeCreateExchangeAndURLResponse) GetId added in v1.0.0

GetId returns the Id field value if set, zero value otherwise.

func (*ExchangeCreateExchangeAndURLResponse) GetIdOk added in v1.0.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExchangeCreateExchangeAndURLResponse) GetProvider added in v1.0.0

GetProvider returns the Provider field value if set, zero value otherwise.

func (*ExchangeCreateExchangeAndURLResponse) GetProviderOk added in v1.0.0

func (o *ExchangeCreateExchangeAndURLResponse) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExchangeCreateExchangeAndURLResponse) GetType added in v1.0.0

GetType returns the Type field value if set, zero value otherwise.

func (*ExchangeCreateExchangeAndURLResponse) GetTypeOk added in v1.0.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExchangeCreateExchangeAndURLResponse) GetUrl added in v1.0.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*ExchangeCreateExchangeAndURLResponse) GetUrlOk added in v1.0.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExchangeCreateExchangeAndURLResponse) GetWalletAddress added in v1.0.0

func (o *ExchangeCreateExchangeAndURLResponse) GetWalletAddress() string

GetWalletAddress returns the WalletAddress field value if set, zero value otherwise.

func (*ExchangeCreateExchangeAndURLResponse) GetWalletAddressOk added in v1.0.0

func (o *ExchangeCreateExchangeAndURLResponse) GetWalletAddressOk() (*string, bool)

GetWalletAddressOk returns a tuple with the WalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExchangeCreateExchangeAndURLResponse) HasId added in v1.0.0

HasId returns a boolean if a field has been set.

func (*ExchangeCreateExchangeAndURLResponse) HasProvider added in v1.0.0

func (o *ExchangeCreateExchangeAndURLResponse) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*ExchangeCreateExchangeAndURLResponse) HasType added in v1.0.0

HasType returns a boolean if a field has been set.

func (*ExchangeCreateExchangeAndURLResponse) HasUrl added in v1.0.0

HasUrl returns a boolean if a field has been set.

func (*ExchangeCreateExchangeAndURLResponse) HasWalletAddress added in v1.0.0

func (o *ExchangeCreateExchangeAndURLResponse) HasWalletAddress() bool

HasWalletAddress returns a boolean if a field has been set.

func (ExchangeCreateExchangeAndURLResponse) MarshalJSON added in v1.0.0

func (o ExchangeCreateExchangeAndURLResponse) MarshalJSON() ([]byte, error)

func (*ExchangeCreateExchangeAndURLResponse) SetId added in v1.0.0

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*ExchangeCreateExchangeAndURLResponse) SetProvider added in v1.0.0

func (o *ExchangeCreateExchangeAndURLResponse) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*ExchangeCreateExchangeAndURLResponse) SetType added in v1.0.0

SetType gets a reference to the given string and assigns it to the Type field.

func (*ExchangeCreateExchangeAndURLResponse) SetUrl added in v1.0.0

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*ExchangeCreateExchangeAndURLResponse) SetWalletAddress added in v1.0.0

func (o *ExchangeCreateExchangeAndURLResponse) SetWalletAddress(v string)

SetWalletAddress gets a reference to the given string and assigns it to the WalletAddress field.

type ExchangesApi added in v1.0.0

type ExchangesApi interface {

	/*
		CreateExchange Create an exchange with URL

		Receive wallet_address, provider, type and widget information to create a base exchange transaction and return widget URL

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateExchangeRequest
	*/
	CreateExchange(ctx context.Context) ApiCreateExchangeRequest

	// CreateExchangeExecute executes the request
	//  @return ExchangeCreateExchangeAndURLResponse
	CreateExchangeExecute(r ApiCreateExchangeRequest) (*ExchangeCreateExchangeAndURLResponse, *http.Response, error)

	/*
		CreateExchangeTransfer Accepts a transfer request and updates the transfer_status after processing transfer (offramp)

		Accepts a transfer request and updates the transfer_status after processing transfer (offramp)

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Transaction ID
		@return ApiCreateExchangeTransferRequest
	*/
	CreateExchangeTransfer(ctx context.Context, id string) ApiCreateExchangeTransferRequest

	// CreateExchangeTransferExecute executes the request
	//  @return CreateTransferResponseV1
	CreateExchangeTransferExecute(r ApiCreateExchangeTransferRequest) (*CreateTransferResponseV1, *http.Response, error)

	/*
		GetExchange Get an exchange by ID

		Get an exchange by ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Exchange ID
		@return ApiGetExchangeRequest
	*/
	GetExchange(ctx context.Context, id string) ApiGetExchangeRequest

	// GetExchangeExecute executes the request
	//  @return Exchange
	GetExchangeExecute(r ApiGetExchangeRequest) (*Exchange, *http.Response, error)

	/*
		GetExchangeSignableTransfer Send a request for signable-transfer-details (offramp)

		Send a request for signable-transfer-details (offramp)

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Transaction ID
		@return ApiGetExchangeSignableTransferRequest
	*/
	GetExchangeSignableTransfer(ctx context.Context, id string) ApiGetExchangeSignableTransferRequest

	// GetExchangeSignableTransferExecute executes the request
	//  @return GetSignableTransferResponseV1
	GetExchangeSignableTransferExecute(r ApiGetExchangeSignableTransferRequest) (*GetSignableTransferResponseV1, *http.Response, error)

	/*
		GetExchanges Returns a list of exchanges based on the request

		Returns a list of exchanges based on the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetExchangesRequest
	*/
	GetExchanges(ctx context.Context) ApiGetExchangesRequest

	// GetExchangesExecute executes the request
	//  @return GetTransactionsResponse
	GetExchangesExecute(r ApiGetExchangesRequest) (*GetTransactionsResponse, *http.Response, error)
}

type ExchangesApiService added in v1.0.0

type ExchangesApiService service

ExchangesApiService ExchangesApi service

func (*ExchangesApiService) CreateExchange added in v1.0.0

CreateExchange Create an exchange with URL

Receive wallet_address, provider, type and widget information to create a base exchange transaction and return widget URL

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateExchangeRequest

func (*ExchangesApiService) CreateExchangeExecute added in v1.0.0

Execute executes the request

@return ExchangeCreateExchangeAndURLResponse

func (*ExchangesApiService) CreateExchangeTransfer added in v1.0.0

func (a *ExchangesApiService) CreateExchangeTransfer(ctx context.Context, id string) ApiCreateExchangeTransferRequest

CreateExchangeTransfer Accepts a transfer request and updates the transfer_status after processing transfer (offramp)

Accepts a transfer request and updates the transfer_status after processing transfer (offramp)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Transaction ID
@return ApiCreateExchangeTransferRequest

func (*ExchangesApiService) CreateExchangeTransferExecute added in v1.0.0

Execute executes the request

@return CreateTransferResponseV1

func (*ExchangesApiService) GetExchange added in v1.0.0

GetExchange Get an exchange by ID

Get an exchange by ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Exchange ID
@return ApiGetExchangeRequest

func (*ExchangesApiService) GetExchangeExecute added in v1.0.0

func (a *ExchangesApiService) GetExchangeExecute(r ApiGetExchangeRequest) (*Exchange, *http.Response, error)

Execute executes the request

@return Exchange

func (*ExchangesApiService) GetExchangeSignableTransfer added in v1.0.0

func (a *ExchangesApiService) GetExchangeSignableTransfer(ctx context.Context, id string) ApiGetExchangeSignableTransferRequest

GetExchangeSignableTransfer Send a request for signable-transfer-details (offramp)

Send a request for signable-transfer-details (offramp)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Transaction ID
@return ApiGetExchangeSignableTransferRequest

func (*ExchangesApiService) GetExchangeSignableTransferExecute added in v1.0.0

Execute executes the request

@return GetSignableTransferResponseV1

func (*ExchangesApiService) GetExchanges added in v1.0.0

GetExchanges Returns a list of exchanges based on the request

Returns a list of exchanges based on the request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetExchangesRequest

func (*ExchangesApiService) GetExchangesExecute added in v1.0.0

Execute executes the request

@return GetTransactionsResponse

type Fee

type Fee struct {
	// Wallet address
	Address string `json:"address"`
	// The percentage of fee
	Percentage float32 `json:"percentage"`
	// Type of fee. Examples: `royalty`, `maker`, `taker` or `protocol`
	Type string `json:"type"`
}

Fee struct for Fee

func NewFee

func NewFee(address string, percentage float32, type_ string) *Fee

NewFee instantiates a new Fee object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeeWithDefaults

func NewFeeWithDefaults() *Fee

NewFeeWithDefaults instantiates a new Fee object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Fee) GetAddress

func (o *Fee) GetAddress() string

GetAddress returns the Address field value

func (*Fee) GetAddressOk

func (o *Fee) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*Fee) GetPercentage

func (o *Fee) GetPercentage() float32

GetPercentage returns the Percentage field value

func (*Fee) GetPercentageOk

func (o *Fee) GetPercentageOk() (*float32, bool)

GetPercentageOk returns a tuple with the Percentage field value and a boolean to check if the value has been set.

func (*Fee) GetType

func (o *Fee) GetType() string

GetType returns the Type field value

func (*Fee) GetTypeOk

func (o *Fee) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (Fee) MarshalJSON

func (o Fee) MarshalJSON() ([]byte, error)

func (*Fee) SetAddress

func (o *Fee) SetAddress(v string)

SetAddress sets field value

func (*Fee) SetPercentage

func (o *Fee) SetPercentage(v float32)

SetPercentage sets field value

func (*Fee) SetType

func (o *Fee) SetType(v string)

SetType sets field value

type FeeData

type FeeData struct {
	// Address of ERC721/ERC20 contract
	ContractAddress *string `json:"contract_address,omitempty"`
	// Number of decimals supported by this asset
	Decimals *int32 `json:"decimals,omitempty"`
}

FeeData struct for FeeData

func NewFeeData

func NewFeeData() *FeeData

NewFeeData instantiates a new FeeData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeeDataWithDefaults

func NewFeeDataWithDefaults() *FeeData

NewFeeDataWithDefaults instantiates a new FeeData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeeData) GetContractAddress

func (o *FeeData) GetContractAddress() string

GetContractAddress returns the ContractAddress field value if set, zero value otherwise.

func (*FeeData) GetContractAddressOk

func (o *FeeData) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeeData) GetDecimals

func (o *FeeData) GetDecimals() int32

GetDecimals returns the Decimals field value if set, zero value otherwise.

func (*FeeData) GetDecimalsOk

func (o *FeeData) GetDecimalsOk() (*int32, bool)

GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeeData) HasContractAddress

func (o *FeeData) HasContractAddress() bool

HasContractAddress returns a boolean if a field has been set.

func (*FeeData) HasDecimals

func (o *FeeData) HasDecimals() bool

HasDecimals returns a boolean if a field has been set.

func (FeeData) MarshalJSON

func (o FeeData) MarshalJSON() ([]byte, error)

func (*FeeData) SetContractAddress

func (o *FeeData) SetContractAddress(v string)

SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.

func (*FeeData) SetDecimals

func (o *FeeData) SetDecimals(v int32)

SetDecimals gets a reference to the given int32 and assigns it to the Decimals field.

type FeeEntry

type FeeEntry struct {
	Address       *string  `json:"address,omitempty"`
	FeePercentage *float32 `json:"fee_percentage,omitempty"`
}

FeeEntry struct for FeeEntry

func NewFeeEntry

func NewFeeEntry() *FeeEntry

NewFeeEntry instantiates a new FeeEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeeEntryWithDefaults

func NewFeeEntryWithDefaults() *FeeEntry

NewFeeEntryWithDefaults instantiates a new FeeEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeeEntry) GetAddress

func (o *FeeEntry) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*FeeEntry) GetAddressOk

func (o *FeeEntry) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeeEntry) GetFeePercentage

func (o *FeeEntry) GetFeePercentage() float32

GetFeePercentage returns the FeePercentage field value if set, zero value otherwise.

func (*FeeEntry) GetFeePercentageOk

func (o *FeeEntry) GetFeePercentageOk() (*float32, bool)

GetFeePercentageOk returns a tuple with the FeePercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeeEntry) HasAddress

func (o *FeeEntry) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*FeeEntry) HasFeePercentage

func (o *FeeEntry) HasFeePercentage() bool

HasFeePercentage returns a boolean if a field has been set.

func (FeeEntry) MarshalJSON

func (o FeeEntry) MarshalJSON() ([]byte, error)

func (*FeeEntry) SetAddress

func (o *FeeEntry) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*FeeEntry) SetFeePercentage

func (o *FeeEntry) SetFeePercentage(v float32)

SetFeePercentage gets a reference to the given float32 and assigns it to the FeePercentage field.

type FeeInfo

type FeeInfo struct {
	// ID of the asset these fees relate to
	AssetId string `json:"asset_id"`
	// Fee limit
	FeeLimit string `json:"fee_limit"`
	// ID of vault the asset belong to
	SourceVaultId int32 `json:"source_vault_id"`
}

FeeInfo struct for FeeInfo

func NewFeeInfo

func NewFeeInfo(assetId string, feeLimit string, sourceVaultId int32) *FeeInfo

NewFeeInfo instantiates a new FeeInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeeInfoWithDefaults

func NewFeeInfoWithDefaults() *FeeInfo

NewFeeInfoWithDefaults instantiates a new FeeInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeeInfo) GetAssetId

func (o *FeeInfo) GetAssetId() string

GetAssetId returns the AssetId field value

func (*FeeInfo) GetAssetIdOk

func (o *FeeInfo) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*FeeInfo) GetFeeLimit

func (o *FeeInfo) GetFeeLimit() string

GetFeeLimit returns the FeeLimit field value

func (*FeeInfo) GetFeeLimitOk

func (o *FeeInfo) GetFeeLimitOk() (*string, bool)

GetFeeLimitOk returns a tuple with the FeeLimit field value and a boolean to check if the value has been set.

func (*FeeInfo) GetSourceVaultId

func (o *FeeInfo) GetSourceVaultId() int32

GetSourceVaultId returns the SourceVaultId field value

func (*FeeInfo) GetSourceVaultIdOk

func (o *FeeInfo) GetSourceVaultIdOk() (*int32, bool)

GetSourceVaultIdOk returns a tuple with the SourceVaultId field value and a boolean to check if the value has been set.

func (FeeInfo) MarshalJSON

func (o FeeInfo) MarshalJSON() ([]byte, error)

func (*FeeInfo) SetAssetId

func (o *FeeInfo) SetAssetId(v string)

SetAssetId sets field value

func (*FeeInfo) SetFeeLimit

func (o *FeeInfo) SetFeeLimit(v string)

SetFeeLimit sets field value

func (*FeeInfo) SetSourceVaultId

func (o *FeeInfo) SetSourceVaultId(v int32)

SetSourceVaultId sets field value

type FeeToken

type FeeToken struct {
	Data *FeeData `json:"data,omitempty"`
	// Fee token type. One of ETH/ERC20
	Type *string `json:"type,omitempty"`
}

FeeToken struct for FeeToken

func NewFeeToken

func NewFeeToken() *FeeToken

NewFeeToken instantiates a new FeeToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeeTokenWithDefaults

func NewFeeTokenWithDefaults() *FeeToken

NewFeeTokenWithDefaults instantiates a new FeeToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeeToken) GetData

func (o *FeeToken) GetData() FeeData

GetData returns the Data field value if set, zero value otherwise.

func (*FeeToken) GetDataOk

func (o *FeeToken) GetDataOk() (*FeeData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeeToken) GetType

func (o *FeeToken) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*FeeToken) GetTypeOk

func (o *FeeToken) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeeToken) HasData

func (o *FeeToken) HasData() bool

HasData returns a boolean if a field has been set.

func (*FeeToken) HasType

func (o *FeeToken) HasType() bool

HasType returns a boolean if a field has been set.

func (FeeToken) MarshalJSON

func (o FeeToken) MarshalJSON() ([]byte, error)

func (*FeeToken) SetData

func (o *FeeToken) SetData(v FeeData)

SetData gets a reference to the given FeeData and assigns it to the Data field.

func (*FeeToken) SetType

func (o *FeeToken) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetMetadataRefreshErrorsResponse

type GetMetadataRefreshErrorsResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Metadata refresh errors matching query parameters
	Result []MetadataRefreshErrors `json:"result"`
}

GetMetadataRefreshErrorsResponse struct for GetMetadataRefreshErrorsResponse

func NewGetMetadataRefreshErrorsResponse

func NewGetMetadataRefreshErrorsResponse(cursor string, remaining int32, result []MetadataRefreshErrors) *GetMetadataRefreshErrorsResponse

NewGetMetadataRefreshErrorsResponse instantiates a new GetMetadataRefreshErrorsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetMetadataRefreshErrorsResponseWithDefaults

func NewGetMetadataRefreshErrorsResponseWithDefaults() *GetMetadataRefreshErrorsResponse

NewGetMetadataRefreshErrorsResponseWithDefaults instantiates a new GetMetadataRefreshErrorsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetMetadataRefreshErrorsResponse) GetCursor

GetCursor returns the Cursor field value

func (*GetMetadataRefreshErrorsResponse) GetCursorOk

func (o *GetMetadataRefreshErrorsResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshErrorsResponse) GetRemaining

func (o *GetMetadataRefreshErrorsResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*GetMetadataRefreshErrorsResponse) GetRemainingOk

func (o *GetMetadataRefreshErrorsResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshErrorsResponse) GetResult

GetResult returns the Result field value

func (*GetMetadataRefreshErrorsResponse) GetResultOk

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (GetMetadataRefreshErrorsResponse) MarshalJSON

func (o GetMetadataRefreshErrorsResponse) MarshalJSON() ([]byte, error)

func (*GetMetadataRefreshErrorsResponse) SetCursor

func (o *GetMetadataRefreshErrorsResponse) SetCursor(v string)

SetCursor sets field value

func (*GetMetadataRefreshErrorsResponse) SetRemaining

func (o *GetMetadataRefreshErrorsResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*GetMetadataRefreshErrorsResponse) SetResult

SetResult sets field value

type GetMetadataRefreshResponse

type GetMetadataRefreshResponse struct {
	// The collection address
	CollectionAddress string `json:"collection_address"`
	// When the metadata refresh completed
	CompletedAt NullableString `json:"completed_at,omitempty"`
	// The metadata refresh ID
	RefreshId string `json:"refresh_id"`
	// When the metadata refresh started
	StartedAt string `json:"started_at"`
	// The metadata refresh status
	Status string `json:"status"`
	// The current metadata refresh summary. The summary continue to update until metadata refresh is completed
	Summary []MetadataRefreshSummary `json:"summary"`
}

GetMetadataRefreshResponse struct for GetMetadataRefreshResponse

func NewGetMetadataRefreshResponse

func NewGetMetadataRefreshResponse(collectionAddress string, refreshId string, startedAt string, status string, summary []MetadataRefreshSummary) *GetMetadataRefreshResponse

NewGetMetadataRefreshResponse instantiates a new GetMetadataRefreshResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetMetadataRefreshResponseWithDefaults

func NewGetMetadataRefreshResponseWithDefaults() *GetMetadataRefreshResponse

NewGetMetadataRefreshResponseWithDefaults instantiates a new GetMetadataRefreshResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetMetadataRefreshResponse) GetCollectionAddress

func (o *GetMetadataRefreshResponse) GetCollectionAddress() string

GetCollectionAddress returns the CollectionAddress field value

func (*GetMetadataRefreshResponse) GetCollectionAddressOk

func (o *GetMetadataRefreshResponse) GetCollectionAddressOk() (*string, bool)

GetCollectionAddressOk returns a tuple with the CollectionAddress field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshResponse) GetCompletedAt

func (o *GetMetadataRefreshResponse) GetCompletedAt() string

GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetMetadataRefreshResponse) GetCompletedAtOk

func (o *GetMetadataRefreshResponse) GetCompletedAtOk() (*string, bool)

GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetMetadataRefreshResponse) GetRefreshId

func (o *GetMetadataRefreshResponse) GetRefreshId() string

GetRefreshId returns the RefreshId field value

func (*GetMetadataRefreshResponse) GetRefreshIdOk

func (o *GetMetadataRefreshResponse) GetRefreshIdOk() (*string, bool)

GetRefreshIdOk returns a tuple with the RefreshId field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshResponse) GetStartedAt

func (o *GetMetadataRefreshResponse) GetStartedAt() string

GetStartedAt returns the StartedAt field value

func (*GetMetadataRefreshResponse) GetStartedAtOk

func (o *GetMetadataRefreshResponse) GetStartedAtOk() (*string, bool)

GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshResponse) GetStatus

func (o *GetMetadataRefreshResponse) GetStatus() string

GetStatus returns the Status field value

func (*GetMetadataRefreshResponse) GetStatusOk

func (o *GetMetadataRefreshResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshResponse) GetSummary

GetSummary returns the Summary field value

func (*GetMetadataRefreshResponse) GetSummaryOk

GetSummaryOk returns a tuple with the Summary field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshResponse) HasCompletedAt

func (o *GetMetadataRefreshResponse) HasCompletedAt() bool

HasCompletedAt returns a boolean if a field has been set.

func (GetMetadataRefreshResponse) MarshalJSON

func (o GetMetadataRefreshResponse) MarshalJSON() ([]byte, error)

func (*GetMetadataRefreshResponse) SetCollectionAddress

func (o *GetMetadataRefreshResponse) SetCollectionAddress(v string)

SetCollectionAddress sets field value

func (*GetMetadataRefreshResponse) SetCompletedAt

func (o *GetMetadataRefreshResponse) SetCompletedAt(v string)

SetCompletedAt gets a reference to the given NullableString and assigns it to the CompletedAt field.

func (*GetMetadataRefreshResponse) SetCompletedAtNil

func (o *GetMetadataRefreshResponse) SetCompletedAtNil()

SetCompletedAtNil sets the value for CompletedAt to be an explicit nil

func (*GetMetadataRefreshResponse) SetRefreshId

func (o *GetMetadataRefreshResponse) SetRefreshId(v string)

SetRefreshId sets field value

func (*GetMetadataRefreshResponse) SetStartedAt

func (o *GetMetadataRefreshResponse) SetStartedAt(v string)

SetStartedAt sets field value

func (*GetMetadataRefreshResponse) SetStatus

func (o *GetMetadataRefreshResponse) SetStatus(v string)

SetStatus sets field value

func (*GetMetadataRefreshResponse) SetSummary

SetSummary sets field value

func (*GetMetadataRefreshResponse) UnsetCompletedAt

func (o *GetMetadataRefreshResponse) UnsetCompletedAt()

UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil

type GetMetadataRefreshes

type GetMetadataRefreshes struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Metadata refresh errors matching query parameters
	Result []MetadataRefreshExcludingSummary `json:"result"`
}

GetMetadataRefreshes struct for GetMetadataRefreshes

func NewGetMetadataRefreshes

func NewGetMetadataRefreshes(cursor string, remaining int32, result []MetadataRefreshExcludingSummary) *GetMetadataRefreshes

NewGetMetadataRefreshes instantiates a new GetMetadataRefreshes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetMetadataRefreshesWithDefaults

func NewGetMetadataRefreshesWithDefaults() *GetMetadataRefreshes

NewGetMetadataRefreshesWithDefaults instantiates a new GetMetadataRefreshes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetMetadataRefreshes) GetCursor

func (o *GetMetadataRefreshes) GetCursor() string

GetCursor returns the Cursor field value

func (*GetMetadataRefreshes) GetCursorOk

func (o *GetMetadataRefreshes) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshes) GetRemaining

func (o *GetMetadataRefreshes) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*GetMetadataRefreshes) GetRemainingOk

func (o *GetMetadataRefreshes) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*GetMetadataRefreshes) GetResult

GetResult returns the Result field value

func (*GetMetadataRefreshes) GetResultOk

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (GetMetadataRefreshes) MarshalJSON

func (o GetMetadataRefreshes) MarshalJSON() ([]byte, error)

func (*GetMetadataRefreshes) SetCursor

func (o *GetMetadataRefreshes) SetCursor(v string)

SetCursor sets field value

func (*GetMetadataRefreshes) SetRemaining

func (o *GetMetadataRefreshes) SetRemaining(v int32)

SetRemaining sets field value

func (*GetMetadataRefreshes) SetResult

SetResult sets field value

type GetProjectsResponse

type GetProjectsResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Projects matching query parameters
	Result []Project `json:"result"`
}

GetProjectsResponse struct for GetProjectsResponse

func NewGetProjectsResponse

func NewGetProjectsResponse(cursor string, remaining int32, result []Project) *GetProjectsResponse

NewGetProjectsResponse instantiates a new GetProjectsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetProjectsResponseWithDefaults

func NewGetProjectsResponseWithDefaults() *GetProjectsResponse

NewGetProjectsResponseWithDefaults instantiates a new GetProjectsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetProjectsResponse) GetCursor

func (o *GetProjectsResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*GetProjectsResponse) GetCursorOk

func (o *GetProjectsResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*GetProjectsResponse) GetRemaining

func (o *GetProjectsResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*GetProjectsResponse) GetRemainingOk

func (o *GetProjectsResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*GetProjectsResponse) GetResult

func (o *GetProjectsResponse) GetResult() []Project

GetResult returns the Result field value

func (*GetProjectsResponse) GetResultOk

func (o *GetProjectsResponse) GetResultOk() ([]Project, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (GetProjectsResponse) MarshalJSON

func (o GetProjectsResponse) MarshalJSON() ([]byte, error)

func (*GetProjectsResponse) SetCursor

func (o *GetProjectsResponse) SetCursor(v string)

SetCursor sets field value

func (*GetProjectsResponse) SetRemaining

func (o *GetProjectsResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*GetProjectsResponse) SetResult

func (o *GetProjectsResponse) SetResult(v []Project)

SetResult sets field value

type GetSignableCancelOrderRequest

type GetSignableCancelOrderRequest struct {
	// ID of the order to be cancelled
	OrderId int32 `json:"order_id"`
}

GetSignableCancelOrderRequest struct for GetSignableCancelOrderRequest

func NewGetSignableCancelOrderRequest

func NewGetSignableCancelOrderRequest(orderId int32) *GetSignableCancelOrderRequest

NewGetSignableCancelOrderRequest instantiates a new GetSignableCancelOrderRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableCancelOrderRequestWithDefaults

func NewGetSignableCancelOrderRequestWithDefaults() *GetSignableCancelOrderRequest

NewGetSignableCancelOrderRequestWithDefaults instantiates a new GetSignableCancelOrderRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableCancelOrderRequest) GetOrderId

func (o *GetSignableCancelOrderRequest) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*GetSignableCancelOrderRequest) GetOrderIdOk

func (o *GetSignableCancelOrderRequest) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (GetSignableCancelOrderRequest) MarshalJSON

func (o GetSignableCancelOrderRequest) MarshalJSON() ([]byte, error)

func (*GetSignableCancelOrderRequest) SetOrderId

func (o *GetSignableCancelOrderRequest) SetOrderId(v int32)

SetOrderId sets field value

type GetSignableCancelOrderResponse

type GetSignableCancelOrderResponse struct {
	// ID of the order to be cancelled
	OrderId int32 `json:"order_id"`
	// Hash of the payload to be signed for cancel order
	PayloadHash string `json:"payload_hash"`
	// Message to sign from wallet to confirm cancel order
	SignableMessage string `json:"signable_message"`
}

GetSignableCancelOrderResponse struct for GetSignableCancelOrderResponse

func NewGetSignableCancelOrderResponse

func NewGetSignableCancelOrderResponse(orderId int32, payloadHash string, signableMessage string) *GetSignableCancelOrderResponse

NewGetSignableCancelOrderResponse instantiates a new GetSignableCancelOrderResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableCancelOrderResponseWithDefaults

func NewGetSignableCancelOrderResponseWithDefaults() *GetSignableCancelOrderResponse

NewGetSignableCancelOrderResponseWithDefaults instantiates a new GetSignableCancelOrderResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableCancelOrderResponse) GetOrderId

func (o *GetSignableCancelOrderResponse) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*GetSignableCancelOrderResponse) GetOrderIdOk

func (o *GetSignableCancelOrderResponse) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (*GetSignableCancelOrderResponse) GetPayloadHash

func (o *GetSignableCancelOrderResponse) GetPayloadHash() string

GetPayloadHash returns the PayloadHash field value

func (*GetSignableCancelOrderResponse) GetPayloadHashOk

func (o *GetSignableCancelOrderResponse) GetPayloadHashOk() (*string, bool)

GetPayloadHashOk returns a tuple with the PayloadHash field value and a boolean to check if the value has been set.

func (*GetSignableCancelOrderResponse) GetSignableMessage

func (o *GetSignableCancelOrderResponse) GetSignableMessage() string

GetSignableMessage returns the SignableMessage field value

func (*GetSignableCancelOrderResponse) GetSignableMessageOk

func (o *GetSignableCancelOrderResponse) GetSignableMessageOk() (*string, bool)

GetSignableMessageOk returns a tuple with the SignableMessage field value and a boolean to check if the value has been set.

func (GetSignableCancelOrderResponse) MarshalJSON

func (o GetSignableCancelOrderResponse) MarshalJSON() ([]byte, error)

func (*GetSignableCancelOrderResponse) SetOrderId

func (o *GetSignableCancelOrderResponse) SetOrderId(v int32)

SetOrderId sets field value

func (*GetSignableCancelOrderResponse) SetPayloadHash

func (o *GetSignableCancelOrderResponse) SetPayloadHash(v string)

SetPayloadHash sets field value

func (*GetSignableCancelOrderResponse) SetSignableMessage

func (o *GetSignableCancelOrderResponse) SetSignableMessage(v string)

SetSignableMessage sets field value

type GetSignableDepositRequest

type GetSignableDepositRequest struct {
	// Amount of the token the user is depositing
	Amount string        `json:"amount"`
	Token  SignableToken `json:"token"`
	// User who is depositing
	User string `json:"user"`
}

GetSignableDepositRequest struct for GetSignableDepositRequest

func NewGetSignableDepositRequest

func NewGetSignableDepositRequest(amount string, token SignableToken, user string) *GetSignableDepositRequest

NewGetSignableDepositRequest instantiates a new GetSignableDepositRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableDepositRequestWithDefaults

func NewGetSignableDepositRequestWithDefaults() *GetSignableDepositRequest

NewGetSignableDepositRequestWithDefaults instantiates a new GetSignableDepositRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableDepositRequest) GetAmount

func (o *GetSignableDepositRequest) GetAmount() string

GetAmount returns the Amount field value

func (*GetSignableDepositRequest) GetAmountOk

func (o *GetSignableDepositRequest) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*GetSignableDepositRequest) GetToken

GetToken returns the Token field value

func (*GetSignableDepositRequest) GetTokenOk

func (o *GetSignableDepositRequest) GetTokenOk() (*SignableToken, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*GetSignableDepositRequest) GetUser

func (o *GetSignableDepositRequest) GetUser() string

GetUser returns the User field value

func (*GetSignableDepositRequest) GetUserOk

func (o *GetSignableDepositRequest) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (GetSignableDepositRequest) MarshalJSON

func (o GetSignableDepositRequest) MarshalJSON() ([]byte, error)

func (*GetSignableDepositRequest) SetAmount

func (o *GetSignableDepositRequest) SetAmount(v string)

SetAmount sets field value

func (*GetSignableDepositRequest) SetToken

SetToken sets field value

func (*GetSignableDepositRequest) SetUser

func (o *GetSignableDepositRequest) SetUser(v string)

SetUser sets field value

type GetSignableDepositResponse

type GetSignableDepositResponse struct {
	// Amount this user is depositing
	Amount string `json:"amount"`
	// ID of the asset this user is depositing
	AssetId string `json:"asset_id"`
	// Nonce of the deposit
	Nonce int32 `json:"nonce"`
	// Public stark key of the depositing user
	StarkKey string `json:"stark_key"`
	// ID of the vault this user is depositing to
	VaultId int32 `json:"vault_id"`
}

GetSignableDepositResponse struct for GetSignableDepositResponse

func NewGetSignableDepositResponse

func NewGetSignableDepositResponse(amount string, assetId string, nonce int32, starkKey string, vaultId int32) *GetSignableDepositResponse

NewGetSignableDepositResponse instantiates a new GetSignableDepositResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableDepositResponseWithDefaults

func NewGetSignableDepositResponseWithDefaults() *GetSignableDepositResponse

NewGetSignableDepositResponseWithDefaults instantiates a new GetSignableDepositResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableDepositResponse) GetAmount

func (o *GetSignableDepositResponse) GetAmount() string

GetAmount returns the Amount field value

func (*GetSignableDepositResponse) GetAmountOk

func (o *GetSignableDepositResponse) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*GetSignableDepositResponse) GetAssetId

func (o *GetSignableDepositResponse) GetAssetId() string

GetAssetId returns the AssetId field value

func (*GetSignableDepositResponse) GetAssetIdOk

func (o *GetSignableDepositResponse) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*GetSignableDepositResponse) GetNonce

func (o *GetSignableDepositResponse) GetNonce() int32

GetNonce returns the Nonce field value

func (*GetSignableDepositResponse) GetNonceOk

func (o *GetSignableDepositResponse) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*GetSignableDepositResponse) GetStarkKey

func (o *GetSignableDepositResponse) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*GetSignableDepositResponse) GetStarkKeyOk

func (o *GetSignableDepositResponse) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (*GetSignableDepositResponse) GetVaultId

func (o *GetSignableDepositResponse) GetVaultId() int32

GetVaultId returns the VaultId field value

func (*GetSignableDepositResponse) GetVaultIdOk

func (o *GetSignableDepositResponse) GetVaultIdOk() (*int32, bool)

GetVaultIdOk returns a tuple with the VaultId field value and a boolean to check if the value has been set.

func (GetSignableDepositResponse) MarshalJSON

func (o GetSignableDepositResponse) MarshalJSON() ([]byte, error)

func (*GetSignableDepositResponse) SetAmount

func (o *GetSignableDepositResponse) SetAmount(v string)

SetAmount sets field value

func (*GetSignableDepositResponse) SetAssetId

func (o *GetSignableDepositResponse) SetAssetId(v string)

SetAssetId sets field value

func (*GetSignableDepositResponse) SetNonce

func (o *GetSignableDepositResponse) SetNonce(v int32)

SetNonce sets field value

func (*GetSignableDepositResponse) SetStarkKey

func (o *GetSignableDepositResponse) SetStarkKey(v string)

SetStarkKey sets field value

func (*GetSignableDepositResponse) SetVaultId

func (o *GetSignableDepositResponse) SetVaultId(v int32)

SetVaultId sets field value

type GetSignableOrderRequest

type GetSignableOrderRequest struct {
	// Fee-exclusive amount to buy the asset
	AmountBuy string `json:"amount_buy"`
	// Amount to sell (quantity)
	AmountSell string `json:"amount_sell"`
	// ExpirationTimestamp in Unix time. Note: will be rounded down to the nearest hour
	ExpirationTimestamp *int32 `json:"expiration_timestamp,omitempty"`
	// Inclusion of either maker or taker fees
	Fees      []FeeEntry    `json:"fees,omitempty"`
	TokenBuy  SignableToken `json:"token_buy"`
	TokenSell SignableToken `json:"token_sell"`
	// Ethereum address of the submitting user
	User string `json:"user"`
}

GetSignableOrderRequest struct for GetSignableOrderRequest

func NewGetSignableOrderRequest

func NewGetSignableOrderRequest(amountBuy string, amountSell string, tokenBuy SignableToken, tokenSell SignableToken, user string) *GetSignableOrderRequest

NewGetSignableOrderRequest instantiates a new GetSignableOrderRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableOrderRequestWithDefaults

func NewGetSignableOrderRequestWithDefaults() *GetSignableOrderRequest

NewGetSignableOrderRequestWithDefaults instantiates a new GetSignableOrderRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableOrderRequest) GetAmountBuy

func (o *GetSignableOrderRequest) GetAmountBuy() string

GetAmountBuy returns the AmountBuy field value

func (*GetSignableOrderRequest) GetAmountBuyOk

func (o *GetSignableOrderRequest) GetAmountBuyOk() (*string, bool)

GetAmountBuyOk returns a tuple with the AmountBuy field value and a boolean to check if the value has been set.

func (*GetSignableOrderRequest) GetAmountSell

func (o *GetSignableOrderRequest) GetAmountSell() string

GetAmountSell returns the AmountSell field value

func (*GetSignableOrderRequest) GetAmountSellOk

func (o *GetSignableOrderRequest) GetAmountSellOk() (*string, bool)

GetAmountSellOk returns a tuple with the AmountSell field value and a boolean to check if the value has been set.

func (*GetSignableOrderRequest) GetExpirationTimestamp

func (o *GetSignableOrderRequest) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value if set, zero value otherwise.

func (*GetSignableOrderRequest) GetExpirationTimestampOk

func (o *GetSignableOrderRequest) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetSignableOrderRequest) GetFees

func (o *GetSignableOrderRequest) GetFees() []FeeEntry

GetFees returns the Fees field value if set, zero value otherwise.

func (*GetSignableOrderRequest) GetFeesOk

func (o *GetSignableOrderRequest) GetFeesOk() ([]FeeEntry, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetSignableOrderRequest) GetTokenBuy

func (o *GetSignableOrderRequest) GetTokenBuy() SignableToken

GetTokenBuy returns the TokenBuy field value

func (*GetSignableOrderRequest) GetTokenBuyOk

func (o *GetSignableOrderRequest) GetTokenBuyOk() (*SignableToken, bool)

GetTokenBuyOk returns a tuple with the TokenBuy field value and a boolean to check if the value has been set.

func (*GetSignableOrderRequest) GetTokenSell

func (o *GetSignableOrderRequest) GetTokenSell() SignableToken

GetTokenSell returns the TokenSell field value

func (*GetSignableOrderRequest) GetTokenSellOk

func (o *GetSignableOrderRequest) GetTokenSellOk() (*SignableToken, bool)

GetTokenSellOk returns a tuple with the TokenSell field value and a boolean to check if the value has been set.

func (*GetSignableOrderRequest) GetUser

func (o *GetSignableOrderRequest) GetUser() string

GetUser returns the User field value

func (*GetSignableOrderRequest) GetUserOk

func (o *GetSignableOrderRequest) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (*GetSignableOrderRequest) HasExpirationTimestamp

func (o *GetSignableOrderRequest) HasExpirationTimestamp() bool

HasExpirationTimestamp returns a boolean if a field has been set.

func (*GetSignableOrderRequest) HasFees

func (o *GetSignableOrderRequest) HasFees() bool

HasFees returns a boolean if a field has been set.

func (GetSignableOrderRequest) MarshalJSON

func (o GetSignableOrderRequest) MarshalJSON() ([]byte, error)

func (*GetSignableOrderRequest) SetAmountBuy

func (o *GetSignableOrderRequest) SetAmountBuy(v string)

SetAmountBuy sets field value

func (*GetSignableOrderRequest) SetAmountSell

func (o *GetSignableOrderRequest) SetAmountSell(v string)

SetAmountSell sets field value

func (*GetSignableOrderRequest) SetExpirationTimestamp

func (o *GetSignableOrderRequest) SetExpirationTimestamp(v int32)

SetExpirationTimestamp gets a reference to the given int32 and assigns it to the ExpirationTimestamp field.

func (*GetSignableOrderRequest) SetFees

func (o *GetSignableOrderRequest) SetFees(v []FeeEntry)

SetFees gets a reference to the given []FeeEntry and assigns it to the Fees field.

func (*GetSignableOrderRequest) SetTokenBuy

func (o *GetSignableOrderRequest) SetTokenBuy(v SignableToken)

SetTokenBuy sets field value

func (*GetSignableOrderRequest) SetTokenSell

func (o *GetSignableOrderRequest) SetTokenSell(v SignableToken)

SetTokenSell sets field value

func (*GetSignableOrderRequest) SetUser

func (o *GetSignableOrderRequest) SetUser(v string)

SetUser sets field value

type GetSignableOrderResponse

type GetSignableOrderResponse struct {
	// Fee-exclusive amount to buy
	AmountBuy string `json:"amount_buy"`
	// Amount to sell
	AmountSell string `json:"amount_sell"`
	// ID of the asset to buy
	AssetIdBuy string `json:"asset_id_buy"`
	// ID of the asset to sell
	AssetIdSell string `json:"asset_id_sell"`
	// Expiration timestamp for this order
	ExpirationTimestamp int32    `json:"expiration_timestamp"`
	FeeInfo             *FeeInfo `json:"fee_info,omitempty"`
	// Nonce of the order
	Nonce int32 `json:"nonce"`
	// Hash of the payload to be signed for signable order
	PayloadHash string `json:"payload_hash"`
	// Message to sign with L1 wallet to confirm order request
	SignableMessage string `json:"signable_message"`
	// Public stark key of the created user
	StarkKey string `json:"stark_key"`
	// ID of the vault into which the bought asset will be placed
	VaultIdBuy int32 `json:"vault_id_buy"`
	// ID of the vault to sell from
	VaultIdSell int32 `json:"vault_id_sell"`
}

GetSignableOrderResponse struct for GetSignableOrderResponse

func NewGetSignableOrderResponse

func NewGetSignableOrderResponse(amountBuy string, amountSell string, assetIdBuy string, assetIdSell string, expirationTimestamp int32, nonce int32, payloadHash string, signableMessage string, starkKey string, vaultIdBuy int32, vaultIdSell int32) *GetSignableOrderResponse

NewGetSignableOrderResponse instantiates a new GetSignableOrderResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableOrderResponseWithDefaults

func NewGetSignableOrderResponseWithDefaults() *GetSignableOrderResponse

NewGetSignableOrderResponseWithDefaults instantiates a new GetSignableOrderResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableOrderResponse) GetAmountBuy

func (o *GetSignableOrderResponse) GetAmountBuy() string

GetAmountBuy returns the AmountBuy field value

func (*GetSignableOrderResponse) GetAmountBuyOk

func (o *GetSignableOrderResponse) GetAmountBuyOk() (*string, bool)

GetAmountBuyOk returns a tuple with the AmountBuy field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetAmountSell

func (o *GetSignableOrderResponse) GetAmountSell() string

GetAmountSell returns the AmountSell field value

func (*GetSignableOrderResponse) GetAmountSellOk

func (o *GetSignableOrderResponse) GetAmountSellOk() (*string, bool)

GetAmountSellOk returns a tuple with the AmountSell field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetAssetIdBuy

func (o *GetSignableOrderResponse) GetAssetIdBuy() string

GetAssetIdBuy returns the AssetIdBuy field value

func (*GetSignableOrderResponse) GetAssetIdBuyOk

func (o *GetSignableOrderResponse) GetAssetIdBuyOk() (*string, bool)

GetAssetIdBuyOk returns a tuple with the AssetIdBuy field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetAssetIdSell

func (o *GetSignableOrderResponse) GetAssetIdSell() string

GetAssetIdSell returns the AssetIdSell field value

func (*GetSignableOrderResponse) GetAssetIdSellOk

func (o *GetSignableOrderResponse) GetAssetIdSellOk() (*string, bool)

GetAssetIdSellOk returns a tuple with the AssetIdSell field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetExpirationTimestamp

func (o *GetSignableOrderResponse) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value

func (*GetSignableOrderResponse) GetExpirationTimestampOk

func (o *GetSignableOrderResponse) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetFeeInfo

func (o *GetSignableOrderResponse) GetFeeInfo() FeeInfo

GetFeeInfo returns the FeeInfo field value if set, zero value otherwise.

func (*GetSignableOrderResponse) GetFeeInfoOk

func (o *GetSignableOrderResponse) GetFeeInfoOk() (*FeeInfo, bool)

GetFeeInfoOk returns a tuple with the FeeInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetNonce

func (o *GetSignableOrderResponse) GetNonce() int32

GetNonce returns the Nonce field value

func (*GetSignableOrderResponse) GetNonceOk

func (o *GetSignableOrderResponse) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetPayloadHash

func (o *GetSignableOrderResponse) GetPayloadHash() string

GetPayloadHash returns the PayloadHash field value

func (*GetSignableOrderResponse) GetPayloadHashOk

func (o *GetSignableOrderResponse) GetPayloadHashOk() (*string, bool)

GetPayloadHashOk returns a tuple with the PayloadHash field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetSignableMessage

func (o *GetSignableOrderResponse) GetSignableMessage() string

GetSignableMessage returns the SignableMessage field value

func (*GetSignableOrderResponse) GetSignableMessageOk

func (o *GetSignableOrderResponse) GetSignableMessageOk() (*string, bool)

GetSignableMessageOk returns a tuple with the SignableMessage field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetStarkKey

func (o *GetSignableOrderResponse) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*GetSignableOrderResponse) GetStarkKeyOk

func (o *GetSignableOrderResponse) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetVaultIdBuy

func (o *GetSignableOrderResponse) GetVaultIdBuy() int32

GetVaultIdBuy returns the VaultIdBuy field value

func (*GetSignableOrderResponse) GetVaultIdBuyOk

func (o *GetSignableOrderResponse) GetVaultIdBuyOk() (*int32, bool)

GetVaultIdBuyOk returns a tuple with the VaultIdBuy field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) GetVaultIdSell

func (o *GetSignableOrderResponse) GetVaultIdSell() int32

GetVaultIdSell returns the VaultIdSell field value

func (*GetSignableOrderResponse) GetVaultIdSellOk

func (o *GetSignableOrderResponse) GetVaultIdSellOk() (*int32, bool)

GetVaultIdSellOk returns a tuple with the VaultIdSell field value and a boolean to check if the value has been set.

func (*GetSignableOrderResponse) HasFeeInfo

func (o *GetSignableOrderResponse) HasFeeInfo() bool

HasFeeInfo returns a boolean if a field has been set.

func (GetSignableOrderResponse) MarshalJSON

func (o GetSignableOrderResponse) MarshalJSON() ([]byte, error)

func (*GetSignableOrderResponse) SetAmountBuy

func (o *GetSignableOrderResponse) SetAmountBuy(v string)

SetAmountBuy sets field value

func (*GetSignableOrderResponse) SetAmountSell

func (o *GetSignableOrderResponse) SetAmountSell(v string)

SetAmountSell sets field value

func (*GetSignableOrderResponse) SetAssetIdBuy

func (o *GetSignableOrderResponse) SetAssetIdBuy(v string)

SetAssetIdBuy sets field value

func (*GetSignableOrderResponse) SetAssetIdSell

func (o *GetSignableOrderResponse) SetAssetIdSell(v string)

SetAssetIdSell sets field value

func (*GetSignableOrderResponse) SetExpirationTimestamp

func (o *GetSignableOrderResponse) SetExpirationTimestamp(v int32)

SetExpirationTimestamp sets field value

func (*GetSignableOrderResponse) SetFeeInfo

func (o *GetSignableOrderResponse) SetFeeInfo(v FeeInfo)

SetFeeInfo gets a reference to the given FeeInfo and assigns it to the FeeInfo field.

func (*GetSignableOrderResponse) SetNonce

func (o *GetSignableOrderResponse) SetNonce(v int32)

SetNonce sets field value

func (*GetSignableOrderResponse) SetPayloadHash

func (o *GetSignableOrderResponse) SetPayloadHash(v string)

SetPayloadHash sets field value

func (*GetSignableOrderResponse) SetSignableMessage

func (o *GetSignableOrderResponse) SetSignableMessage(v string)

SetSignableMessage sets field value

func (*GetSignableOrderResponse) SetStarkKey

func (o *GetSignableOrderResponse) SetStarkKey(v string)

SetStarkKey sets field value

func (*GetSignableOrderResponse) SetVaultIdBuy

func (o *GetSignableOrderResponse) SetVaultIdBuy(v int32)

SetVaultIdBuy sets field value

func (*GetSignableOrderResponse) SetVaultIdSell

func (o *GetSignableOrderResponse) SetVaultIdSell(v int32)

SetVaultIdSell sets field value

type GetSignableRegistrationOffchainResponse

type GetSignableRegistrationOffchainResponse struct {
	// Hash of the payload to be signed for user registration offchain
	PayloadHash string `json:"payload_hash"`
	// Message to sign with L1 wallet to register user offchain
	SignableMessage string `json:"signable_message"`
}

GetSignableRegistrationOffchainResponse struct for GetSignableRegistrationOffchainResponse

func NewGetSignableRegistrationOffchainResponse

func NewGetSignableRegistrationOffchainResponse(payloadHash string, signableMessage string) *GetSignableRegistrationOffchainResponse

NewGetSignableRegistrationOffchainResponse instantiates a new GetSignableRegistrationOffchainResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableRegistrationOffchainResponseWithDefaults

func NewGetSignableRegistrationOffchainResponseWithDefaults() *GetSignableRegistrationOffchainResponse

NewGetSignableRegistrationOffchainResponseWithDefaults instantiates a new GetSignableRegistrationOffchainResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableRegistrationOffchainResponse) GetPayloadHash

func (o *GetSignableRegistrationOffchainResponse) GetPayloadHash() string

GetPayloadHash returns the PayloadHash field value

func (*GetSignableRegistrationOffchainResponse) GetPayloadHashOk

func (o *GetSignableRegistrationOffchainResponse) GetPayloadHashOk() (*string, bool)

GetPayloadHashOk returns a tuple with the PayloadHash field value and a boolean to check if the value has been set.

func (*GetSignableRegistrationOffchainResponse) GetSignableMessage

func (o *GetSignableRegistrationOffchainResponse) GetSignableMessage() string

GetSignableMessage returns the SignableMessage field value

func (*GetSignableRegistrationOffchainResponse) GetSignableMessageOk

func (o *GetSignableRegistrationOffchainResponse) GetSignableMessageOk() (*string, bool)

GetSignableMessageOk returns a tuple with the SignableMessage field value and a boolean to check if the value has been set.

func (GetSignableRegistrationOffchainResponse) MarshalJSON

func (o GetSignableRegistrationOffchainResponse) MarshalJSON() ([]byte, error)

func (*GetSignableRegistrationOffchainResponse) SetPayloadHash

func (o *GetSignableRegistrationOffchainResponse) SetPayloadHash(v string)

SetPayloadHash sets field value

func (*GetSignableRegistrationOffchainResponse) SetSignableMessage

func (o *GetSignableRegistrationOffchainResponse) SetSignableMessage(v string)

SetSignableMessage sets field value

type GetSignableRegistrationRequest

type GetSignableRegistrationRequest struct {
	// Ether key of user
	EtherKey string `json:"ether_key"`
	// Public stark key of the user
	StarkKey string `json:"stark_key"`
}

GetSignableRegistrationRequest struct for GetSignableRegistrationRequest

func NewGetSignableRegistrationRequest

func NewGetSignableRegistrationRequest(etherKey string, starkKey string) *GetSignableRegistrationRequest

NewGetSignableRegistrationRequest instantiates a new GetSignableRegistrationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableRegistrationRequestWithDefaults

func NewGetSignableRegistrationRequestWithDefaults() *GetSignableRegistrationRequest

NewGetSignableRegistrationRequestWithDefaults instantiates a new GetSignableRegistrationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableRegistrationRequest) GetEtherKey

func (o *GetSignableRegistrationRequest) GetEtherKey() string

GetEtherKey returns the EtherKey field value

func (*GetSignableRegistrationRequest) GetEtherKeyOk

func (o *GetSignableRegistrationRequest) GetEtherKeyOk() (*string, bool)

GetEtherKeyOk returns a tuple with the EtherKey field value and a boolean to check if the value has been set.

func (*GetSignableRegistrationRequest) GetStarkKey

func (o *GetSignableRegistrationRequest) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*GetSignableRegistrationRequest) GetStarkKeyOk

func (o *GetSignableRegistrationRequest) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (GetSignableRegistrationRequest) MarshalJSON

func (o GetSignableRegistrationRequest) MarshalJSON() ([]byte, error)

func (*GetSignableRegistrationRequest) SetEtherKey

func (o *GetSignableRegistrationRequest) SetEtherKey(v string)

SetEtherKey sets field value

func (*GetSignableRegistrationRequest) SetStarkKey

func (o *GetSignableRegistrationRequest) SetStarkKey(v string)

SetStarkKey sets field value

type GetSignableRegistrationResponse

type GetSignableRegistrationResponse struct {
	// Signature from authorised operator
	OperatorSignature string `json:"operator_signature"`
	// Hash of the payload to be signed for user registration
	PayloadHash string `json:"payload_hash"`
}

GetSignableRegistrationResponse struct for GetSignableRegistrationResponse

func NewGetSignableRegistrationResponse

func NewGetSignableRegistrationResponse(operatorSignature string, payloadHash string) *GetSignableRegistrationResponse

NewGetSignableRegistrationResponse instantiates a new GetSignableRegistrationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableRegistrationResponseWithDefaults

func NewGetSignableRegistrationResponseWithDefaults() *GetSignableRegistrationResponse

NewGetSignableRegistrationResponseWithDefaults instantiates a new GetSignableRegistrationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableRegistrationResponse) GetOperatorSignature

func (o *GetSignableRegistrationResponse) GetOperatorSignature() string

GetOperatorSignature returns the OperatorSignature field value

func (*GetSignableRegistrationResponse) GetOperatorSignatureOk

func (o *GetSignableRegistrationResponse) GetOperatorSignatureOk() (*string, bool)

GetOperatorSignatureOk returns a tuple with the OperatorSignature field value and a boolean to check if the value has been set.

func (*GetSignableRegistrationResponse) GetPayloadHash

func (o *GetSignableRegistrationResponse) GetPayloadHash() string

GetPayloadHash returns the PayloadHash field value

func (*GetSignableRegistrationResponse) GetPayloadHashOk

func (o *GetSignableRegistrationResponse) GetPayloadHashOk() (*string, bool)

GetPayloadHashOk returns a tuple with the PayloadHash field value and a boolean to check if the value has been set.

func (GetSignableRegistrationResponse) MarshalJSON

func (o GetSignableRegistrationResponse) MarshalJSON() ([]byte, error)

func (*GetSignableRegistrationResponse) SetOperatorSignature

func (o *GetSignableRegistrationResponse) SetOperatorSignature(v string)

SetOperatorSignature sets field value

func (*GetSignableRegistrationResponse) SetPayloadHash

func (o *GetSignableRegistrationResponse) SetPayloadHash(v string)

SetPayloadHash sets field value

type GetSignableTradeRequest

type GetSignableTradeRequest struct {
	// ExpirationTimestamp in Unix time. Note: will be rounded down to the nearest hour
	ExpirationTimestamp *int32 `json:"expiration_timestamp,omitempty"`
	// Inclusion of either maker or taker fees
	Fees []FeeEntry `json:"fees,omitempty"`
	// The ID of the maker order involved
	OrderId int32 `json:"order_id"`
	// Ethereum address of the submitting user
	User string `json:"user"`
}

GetSignableTradeRequest struct for GetSignableTradeRequest

func NewGetSignableTradeRequest

func NewGetSignableTradeRequest(orderId int32, user string) *GetSignableTradeRequest

NewGetSignableTradeRequest instantiates a new GetSignableTradeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableTradeRequestWithDefaults

func NewGetSignableTradeRequestWithDefaults() *GetSignableTradeRequest

NewGetSignableTradeRequestWithDefaults instantiates a new GetSignableTradeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableTradeRequest) GetExpirationTimestamp

func (o *GetSignableTradeRequest) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value if set, zero value otherwise.

func (*GetSignableTradeRequest) GetExpirationTimestampOk

func (o *GetSignableTradeRequest) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetSignableTradeRequest) GetFees

func (o *GetSignableTradeRequest) GetFees() []FeeEntry

GetFees returns the Fees field value if set, zero value otherwise.

func (*GetSignableTradeRequest) GetFeesOk

func (o *GetSignableTradeRequest) GetFeesOk() ([]FeeEntry, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetSignableTradeRequest) GetOrderId

func (o *GetSignableTradeRequest) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*GetSignableTradeRequest) GetOrderIdOk

func (o *GetSignableTradeRequest) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (*GetSignableTradeRequest) GetUser

func (o *GetSignableTradeRequest) GetUser() string

GetUser returns the User field value

func (*GetSignableTradeRequest) GetUserOk

func (o *GetSignableTradeRequest) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (*GetSignableTradeRequest) HasExpirationTimestamp

func (o *GetSignableTradeRequest) HasExpirationTimestamp() bool

HasExpirationTimestamp returns a boolean if a field has been set.

func (*GetSignableTradeRequest) HasFees

func (o *GetSignableTradeRequest) HasFees() bool

HasFees returns a boolean if a field has been set.

func (GetSignableTradeRequest) MarshalJSON

func (o GetSignableTradeRequest) MarshalJSON() ([]byte, error)

func (*GetSignableTradeRequest) SetExpirationTimestamp

func (o *GetSignableTradeRequest) SetExpirationTimestamp(v int32)

SetExpirationTimestamp gets a reference to the given int32 and assigns it to the ExpirationTimestamp field.

func (*GetSignableTradeRequest) SetFees

func (o *GetSignableTradeRequest) SetFees(v []FeeEntry)

SetFees gets a reference to the given []FeeEntry and assigns it to the Fees field.

func (*GetSignableTradeRequest) SetOrderId

func (o *GetSignableTradeRequest) SetOrderId(v int32)

SetOrderId sets field value

func (*GetSignableTradeRequest) SetUser

func (o *GetSignableTradeRequest) SetUser(v string)

SetUser sets field value

type GetSignableTradeResponse

type GetSignableTradeResponse struct {
	// Amount to buy
	AmountBuy string `json:"amount_buy"`
	// Amount to sell
	AmountSell string `json:"amount_sell"`
	// ID of the asset to buy
	AssetIdBuy string `json:"asset_id_buy"`
	// ID of the asset to sell
	AssetIdSell string `json:"asset_id_sell"`
	// Expiration timestamp for this order
	ExpirationTimestamp int32    `json:"expiration_timestamp"`
	FeeInfo             *FeeInfo `json:"fee_info,omitempty"`
	// Nonce of the order
	Nonce int32 `json:"nonce"`
	// Payload Hash
	PayloadHash string `json:"payload_hash"`
	// Message to sign with L1 wallet to confirm trade request
	SignableMessage string `json:"signable_message"`
	// Public stark key of the created user
	StarkKey string `json:"stark_key"`
	// ID of the vault into which the bought asset will be placed
	VaultIdBuy int32 `json:"vault_id_buy"`
	// ID of the vault to sell from
	VaultIdSell int32 `json:"vault_id_sell"`
}

GetSignableTradeResponse struct for GetSignableTradeResponse

func NewGetSignableTradeResponse

func NewGetSignableTradeResponse(amountBuy string, amountSell string, assetIdBuy string, assetIdSell string, expirationTimestamp int32, nonce int32, payloadHash string, signableMessage string, starkKey string, vaultIdBuy int32, vaultIdSell int32) *GetSignableTradeResponse

NewGetSignableTradeResponse instantiates a new GetSignableTradeResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableTradeResponseWithDefaults

func NewGetSignableTradeResponseWithDefaults() *GetSignableTradeResponse

NewGetSignableTradeResponseWithDefaults instantiates a new GetSignableTradeResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableTradeResponse) GetAmountBuy

func (o *GetSignableTradeResponse) GetAmountBuy() string

GetAmountBuy returns the AmountBuy field value

func (*GetSignableTradeResponse) GetAmountBuyOk

func (o *GetSignableTradeResponse) GetAmountBuyOk() (*string, bool)

GetAmountBuyOk returns a tuple with the AmountBuy field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetAmountSell

func (o *GetSignableTradeResponse) GetAmountSell() string

GetAmountSell returns the AmountSell field value

func (*GetSignableTradeResponse) GetAmountSellOk

func (o *GetSignableTradeResponse) GetAmountSellOk() (*string, bool)

GetAmountSellOk returns a tuple with the AmountSell field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetAssetIdBuy

func (o *GetSignableTradeResponse) GetAssetIdBuy() string

GetAssetIdBuy returns the AssetIdBuy field value

func (*GetSignableTradeResponse) GetAssetIdBuyOk

func (o *GetSignableTradeResponse) GetAssetIdBuyOk() (*string, bool)

GetAssetIdBuyOk returns a tuple with the AssetIdBuy field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetAssetIdSell

func (o *GetSignableTradeResponse) GetAssetIdSell() string

GetAssetIdSell returns the AssetIdSell field value

func (*GetSignableTradeResponse) GetAssetIdSellOk

func (o *GetSignableTradeResponse) GetAssetIdSellOk() (*string, bool)

GetAssetIdSellOk returns a tuple with the AssetIdSell field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetExpirationTimestamp

func (o *GetSignableTradeResponse) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value

func (*GetSignableTradeResponse) GetExpirationTimestampOk

func (o *GetSignableTradeResponse) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetFeeInfo

func (o *GetSignableTradeResponse) GetFeeInfo() FeeInfo

GetFeeInfo returns the FeeInfo field value if set, zero value otherwise.

func (*GetSignableTradeResponse) GetFeeInfoOk

func (o *GetSignableTradeResponse) GetFeeInfoOk() (*FeeInfo, bool)

GetFeeInfoOk returns a tuple with the FeeInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetNonce

func (o *GetSignableTradeResponse) GetNonce() int32

GetNonce returns the Nonce field value

func (*GetSignableTradeResponse) GetNonceOk

func (o *GetSignableTradeResponse) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetPayloadHash

func (o *GetSignableTradeResponse) GetPayloadHash() string

GetPayloadHash returns the PayloadHash field value

func (*GetSignableTradeResponse) GetPayloadHashOk

func (o *GetSignableTradeResponse) GetPayloadHashOk() (*string, bool)

GetPayloadHashOk returns a tuple with the PayloadHash field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetSignableMessage

func (o *GetSignableTradeResponse) GetSignableMessage() string

GetSignableMessage returns the SignableMessage field value

func (*GetSignableTradeResponse) GetSignableMessageOk

func (o *GetSignableTradeResponse) GetSignableMessageOk() (*string, bool)

GetSignableMessageOk returns a tuple with the SignableMessage field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetStarkKey

func (o *GetSignableTradeResponse) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*GetSignableTradeResponse) GetStarkKeyOk

func (o *GetSignableTradeResponse) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetVaultIdBuy

func (o *GetSignableTradeResponse) GetVaultIdBuy() int32

GetVaultIdBuy returns the VaultIdBuy field value

func (*GetSignableTradeResponse) GetVaultIdBuyOk

func (o *GetSignableTradeResponse) GetVaultIdBuyOk() (*int32, bool)

GetVaultIdBuyOk returns a tuple with the VaultIdBuy field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) GetVaultIdSell

func (o *GetSignableTradeResponse) GetVaultIdSell() int32

GetVaultIdSell returns the VaultIdSell field value

func (*GetSignableTradeResponse) GetVaultIdSellOk

func (o *GetSignableTradeResponse) GetVaultIdSellOk() (*int32, bool)

GetVaultIdSellOk returns a tuple with the VaultIdSell field value and a boolean to check if the value has been set.

func (*GetSignableTradeResponse) HasFeeInfo

func (o *GetSignableTradeResponse) HasFeeInfo() bool

HasFeeInfo returns a boolean if a field has been set.

func (GetSignableTradeResponse) MarshalJSON

func (o GetSignableTradeResponse) MarshalJSON() ([]byte, error)

func (*GetSignableTradeResponse) SetAmountBuy

func (o *GetSignableTradeResponse) SetAmountBuy(v string)

SetAmountBuy sets field value

func (*GetSignableTradeResponse) SetAmountSell

func (o *GetSignableTradeResponse) SetAmountSell(v string)

SetAmountSell sets field value

func (*GetSignableTradeResponse) SetAssetIdBuy

func (o *GetSignableTradeResponse) SetAssetIdBuy(v string)

SetAssetIdBuy sets field value

func (*GetSignableTradeResponse) SetAssetIdSell

func (o *GetSignableTradeResponse) SetAssetIdSell(v string)

SetAssetIdSell sets field value

func (*GetSignableTradeResponse) SetExpirationTimestamp

func (o *GetSignableTradeResponse) SetExpirationTimestamp(v int32)

SetExpirationTimestamp sets field value

func (*GetSignableTradeResponse) SetFeeInfo

func (o *GetSignableTradeResponse) SetFeeInfo(v FeeInfo)

SetFeeInfo gets a reference to the given FeeInfo and assigns it to the FeeInfo field.

func (*GetSignableTradeResponse) SetNonce

func (o *GetSignableTradeResponse) SetNonce(v int32)

SetNonce sets field value

func (*GetSignableTradeResponse) SetPayloadHash

func (o *GetSignableTradeResponse) SetPayloadHash(v string)

SetPayloadHash sets field value

func (*GetSignableTradeResponse) SetSignableMessage

func (o *GetSignableTradeResponse) SetSignableMessage(v string)

SetSignableMessage sets field value

func (*GetSignableTradeResponse) SetStarkKey

func (o *GetSignableTradeResponse) SetStarkKey(v string)

SetStarkKey sets field value

func (*GetSignableTradeResponse) SetVaultIdBuy

func (o *GetSignableTradeResponse) SetVaultIdBuy(v int32)

SetVaultIdBuy sets field value

func (*GetSignableTradeResponse) SetVaultIdSell

func (o *GetSignableTradeResponse) SetVaultIdSell(v int32)

SetVaultIdSell sets field value

type GetSignableTransferRequest

type GetSignableTransferRequest struct {
	// Ethereum address of the transferring user
	SenderEtherKey string `json:"sender_ether_key"`
	// List of signable transfer details
	SignableRequests []SignableTransferDetails `json:"signable_requests"`
}

GetSignableTransferRequest struct for GetSignableTransferRequest

func NewGetSignableTransferRequest

func NewGetSignableTransferRequest(senderEtherKey string, signableRequests []SignableTransferDetails) *GetSignableTransferRequest

NewGetSignableTransferRequest instantiates a new GetSignableTransferRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableTransferRequestWithDefaults

func NewGetSignableTransferRequestWithDefaults() *GetSignableTransferRequest

NewGetSignableTransferRequestWithDefaults instantiates a new GetSignableTransferRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableTransferRequest) GetSenderEtherKey

func (o *GetSignableTransferRequest) GetSenderEtherKey() string

GetSenderEtherKey returns the SenderEtherKey field value

func (*GetSignableTransferRequest) GetSenderEtherKeyOk

func (o *GetSignableTransferRequest) GetSenderEtherKeyOk() (*string, bool)

GetSenderEtherKeyOk returns a tuple with the SenderEtherKey field value and a boolean to check if the value has been set.

func (*GetSignableTransferRequest) GetSignableRequests

func (o *GetSignableTransferRequest) GetSignableRequests() []SignableTransferDetails

GetSignableRequests returns the SignableRequests field value

func (*GetSignableTransferRequest) GetSignableRequestsOk

func (o *GetSignableTransferRequest) GetSignableRequestsOk() ([]SignableTransferDetails, bool)

GetSignableRequestsOk returns a tuple with the SignableRequests field value and a boolean to check if the value has been set.

func (GetSignableTransferRequest) MarshalJSON

func (o GetSignableTransferRequest) MarshalJSON() ([]byte, error)

func (*GetSignableTransferRequest) SetSenderEtherKey

func (o *GetSignableTransferRequest) SetSenderEtherKey(v string)

SetSenderEtherKey sets field value

func (*GetSignableTransferRequest) SetSignableRequests

func (o *GetSignableTransferRequest) SetSignableRequests(v []SignableTransferDetails)

SetSignableRequests sets field value

type GetSignableTransferRequestV1

type GetSignableTransferRequestV1 struct {
	// Amount of the token to transfer
	Amount string `json:"amount"`
	// Ethereum address of the receiving user
	Receiver string `json:"receiver"`
	// Ethereum address of the transferring user
	Sender string        `json:"sender"`
	Token  SignableToken `json:"token"`
}

GetSignableTransferRequestV1 struct for GetSignableTransferRequestV1

func NewGetSignableTransferRequestV1

func NewGetSignableTransferRequestV1(amount string, receiver string, sender string, token SignableToken) *GetSignableTransferRequestV1

NewGetSignableTransferRequestV1 instantiates a new GetSignableTransferRequestV1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableTransferRequestV1WithDefaults

func NewGetSignableTransferRequestV1WithDefaults() *GetSignableTransferRequestV1

NewGetSignableTransferRequestV1WithDefaults instantiates a new GetSignableTransferRequestV1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableTransferRequestV1) GetAmount

func (o *GetSignableTransferRequestV1) GetAmount() string

GetAmount returns the Amount field value

func (*GetSignableTransferRequestV1) GetAmountOk

func (o *GetSignableTransferRequestV1) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*GetSignableTransferRequestV1) GetReceiver

func (o *GetSignableTransferRequestV1) GetReceiver() string

GetReceiver returns the Receiver field value

func (*GetSignableTransferRequestV1) GetReceiverOk

func (o *GetSignableTransferRequestV1) GetReceiverOk() (*string, bool)

GetReceiverOk returns a tuple with the Receiver field value and a boolean to check if the value has been set.

func (*GetSignableTransferRequestV1) GetSender

func (o *GetSignableTransferRequestV1) GetSender() string

GetSender returns the Sender field value

func (*GetSignableTransferRequestV1) GetSenderOk

func (o *GetSignableTransferRequestV1) GetSenderOk() (*string, bool)

GetSenderOk returns a tuple with the Sender field value and a boolean to check if the value has been set.

func (*GetSignableTransferRequestV1) GetToken

GetToken returns the Token field value

func (*GetSignableTransferRequestV1) GetTokenOk

func (o *GetSignableTransferRequestV1) GetTokenOk() (*SignableToken, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (GetSignableTransferRequestV1) MarshalJSON

func (o GetSignableTransferRequestV1) MarshalJSON() ([]byte, error)

func (*GetSignableTransferRequestV1) SetAmount

func (o *GetSignableTransferRequestV1) SetAmount(v string)

SetAmount sets field value

func (*GetSignableTransferRequestV1) SetReceiver

func (o *GetSignableTransferRequestV1) SetReceiver(v string)

SetReceiver sets field value

func (*GetSignableTransferRequestV1) SetSender

func (o *GetSignableTransferRequestV1) SetSender(v string)

SetSender sets field value

func (*GetSignableTransferRequestV1) SetToken

SetToken sets field value

type GetSignableTransferResponse

type GetSignableTransferResponse struct {
	// Sender of the transfer
	SenderStarkKey string `json:"sender_stark_key"`
	// Message to sign with L1 wallet to confirm transfer request
	SignableMessage string `json:"signable_message"`
	// List of transfer responses without the sender stark key
	SignableResponses []SignableTransferResponseDetails `json:"signable_responses"`
}

GetSignableTransferResponse struct for GetSignableTransferResponse

func NewGetSignableTransferResponse

func NewGetSignableTransferResponse(senderStarkKey string, signableMessage string, signableResponses []SignableTransferResponseDetails) *GetSignableTransferResponse

NewGetSignableTransferResponse instantiates a new GetSignableTransferResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableTransferResponseWithDefaults

func NewGetSignableTransferResponseWithDefaults() *GetSignableTransferResponse

NewGetSignableTransferResponseWithDefaults instantiates a new GetSignableTransferResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableTransferResponse) GetSenderStarkKey

func (o *GetSignableTransferResponse) GetSenderStarkKey() string

GetSenderStarkKey returns the SenderStarkKey field value

func (*GetSignableTransferResponse) GetSenderStarkKeyOk

func (o *GetSignableTransferResponse) GetSenderStarkKeyOk() (*string, bool)

GetSenderStarkKeyOk returns a tuple with the SenderStarkKey field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponse) GetSignableMessage

func (o *GetSignableTransferResponse) GetSignableMessage() string

GetSignableMessage returns the SignableMessage field value

func (*GetSignableTransferResponse) GetSignableMessageOk

func (o *GetSignableTransferResponse) GetSignableMessageOk() (*string, bool)

GetSignableMessageOk returns a tuple with the SignableMessage field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponse) GetSignableResponses

GetSignableResponses returns the SignableResponses field value

func (*GetSignableTransferResponse) GetSignableResponsesOk

func (o *GetSignableTransferResponse) GetSignableResponsesOk() ([]SignableTransferResponseDetails, bool)

GetSignableResponsesOk returns a tuple with the SignableResponses field value and a boolean to check if the value has been set.

func (GetSignableTransferResponse) MarshalJSON

func (o GetSignableTransferResponse) MarshalJSON() ([]byte, error)

func (*GetSignableTransferResponse) SetSenderStarkKey

func (o *GetSignableTransferResponse) SetSenderStarkKey(v string)

SetSenderStarkKey sets field value

func (*GetSignableTransferResponse) SetSignableMessage

func (o *GetSignableTransferResponse) SetSignableMessage(v string)

SetSignableMessage sets field value

func (*GetSignableTransferResponse) SetSignableResponses

func (o *GetSignableTransferResponse) SetSignableResponses(v []SignableTransferResponseDetails)

SetSignableResponses sets field value

type GetSignableTransferResponseV1

type GetSignableTransferResponseV1 struct {
	// Amount of the asset being transferred
	Amount string `json:"amount"`
	// ID of the asset being transferred
	AssetId string `json:"asset_id"`
	// Token in request to match in SDK implementation
	ExpirationTimestamp int32 `json:"expiration_timestamp"`
	// Nonce of the transfer
	Nonce int32 `json:"nonce"`
	// Hash of the payload
	PayloadHash string `json:"payload_hash"`
	// Receiver of the transfer
	ReceiverStarkKey string `json:"receiver_stark_key"`
	// ID of the vault being transferred to
	ReceiverVaultId int32 `json:"receiver_vault_id"`
	// Sender of the transfer
	SenderStarkKey *string `json:"sender_stark_key,omitempty"`
	// ID of the vault being transferred from
	SenderVaultId int32 `json:"sender_vault_id"`
	// Message to sign with L1 wallet to confirm transfer request
	SignableMessage string `json:"signable_message"`
}

GetSignableTransferResponseV1 struct for GetSignableTransferResponseV1

func NewGetSignableTransferResponseV1

func NewGetSignableTransferResponseV1(amount string, assetId string, expirationTimestamp int32, nonce int32, payloadHash string, receiverStarkKey string, receiverVaultId int32, senderVaultId int32, signableMessage string) *GetSignableTransferResponseV1

NewGetSignableTransferResponseV1 instantiates a new GetSignableTransferResponseV1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableTransferResponseV1WithDefaults

func NewGetSignableTransferResponseV1WithDefaults() *GetSignableTransferResponseV1

NewGetSignableTransferResponseV1WithDefaults instantiates a new GetSignableTransferResponseV1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableTransferResponseV1) GetAmount

func (o *GetSignableTransferResponseV1) GetAmount() string

GetAmount returns the Amount field value

func (*GetSignableTransferResponseV1) GetAmountOk

func (o *GetSignableTransferResponseV1) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetAssetId

func (o *GetSignableTransferResponseV1) GetAssetId() string

GetAssetId returns the AssetId field value

func (*GetSignableTransferResponseV1) GetAssetIdOk

func (o *GetSignableTransferResponseV1) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetExpirationTimestamp

func (o *GetSignableTransferResponseV1) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value

func (*GetSignableTransferResponseV1) GetExpirationTimestampOk

func (o *GetSignableTransferResponseV1) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetNonce

func (o *GetSignableTransferResponseV1) GetNonce() int32

GetNonce returns the Nonce field value

func (*GetSignableTransferResponseV1) GetNonceOk

func (o *GetSignableTransferResponseV1) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetPayloadHash

func (o *GetSignableTransferResponseV1) GetPayloadHash() string

GetPayloadHash returns the PayloadHash field value

func (*GetSignableTransferResponseV1) GetPayloadHashOk

func (o *GetSignableTransferResponseV1) GetPayloadHashOk() (*string, bool)

GetPayloadHashOk returns a tuple with the PayloadHash field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetReceiverStarkKey

func (o *GetSignableTransferResponseV1) GetReceiverStarkKey() string

GetReceiverStarkKey returns the ReceiverStarkKey field value

func (*GetSignableTransferResponseV1) GetReceiverStarkKeyOk

func (o *GetSignableTransferResponseV1) GetReceiverStarkKeyOk() (*string, bool)

GetReceiverStarkKeyOk returns a tuple with the ReceiverStarkKey field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetReceiverVaultId

func (o *GetSignableTransferResponseV1) GetReceiverVaultId() int32

GetReceiverVaultId returns the ReceiverVaultId field value

func (*GetSignableTransferResponseV1) GetReceiverVaultIdOk

func (o *GetSignableTransferResponseV1) GetReceiverVaultIdOk() (*int32, bool)

GetReceiverVaultIdOk returns a tuple with the ReceiverVaultId field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetSenderStarkKey

func (o *GetSignableTransferResponseV1) GetSenderStarkKey() string

GetSenderStarkKey returns the SenderStarkKey field value if set, zero value otherwise.

func (*GetSignableTransferResponseV1) GetSenderStarkKeyOk

func (o *GetSignableTransferResponseV1) GetSenderStarkKeyOk() (*string, bool)

GetSenderStarkKeyOk returns a tuple with the SenderStarkKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetSenderVaultId

func (o *GetSignableTransferResponseV1) GetSenderVaultId() int32

GetSenderVaultId returns the SenderVaultId field value

func (*GetSignableTransferResponseV1) GetSenderVaultIdOk

func (o *GetSignableTransferResponseV1) GetSenderVaultIdOk() (*int32, bool)

GetSenderVaultIdOk returns a tuple with the SenderVaultId field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) GetSignableMessage

func (o *GetSignableTransferResponseV1) GetSignableMessage() string

GetSignableMessage returns the SignableMessage field value

func (*GetSignableTransferResponseV1) GetSignableMessageOk

func (o *GetSignableTransferResponseV1) GetSignableMessageOk() (*string, bool)

GetSignableMessageOk returns a tuple with the SignableMessage field value and a boolean to check if the value has been set.

func (*GetSignableTransferResponseV1) HasSenderStarkKey

func (o *GetSignableTransferResponseV1) HasSenderStarkKey() bool

HasSenderStarkKey returns a boolean if a field has been set.

func (GetSignableTransferResponseV1) MarshalJSON

func (o GetSignableTransferResponseV1) MarshalJSON() ([]byte, error)

func (*GetSignableTransferResponseV1) SetAmount

func (o *GetSignableTransferResponseV1) SetAmount(v string)

SetAmount sets field value

func (*GetSignableTransferResponseV1) SetAssetId

func (o *GetSignableTransferResponseV1) SetAssetId(v string)

SetAssetId sets field value

func (*GetSignableTransferResponseV1) SetExpirationTimestamp

func (o *GetSignableTransferResponseV1) SetExpirationTimestamp(v int32)

SetExpirationTimestamp sets field value

func (*GetSignableTransferResponseV1) SetNonce

func (o *GetSignableTransferResponseV1) SetNonce(v int32)

SetNonce sets field value

func (*GetSignableTransferResponseV1) SetPayloadHash

func (o *GetSignableTransferResponseV1) SetPayloadHash(v string)

SetPayloadHash sets field value

func (*GetSignableTransferResponseV1) SetReceiverStarkKey

func (o *GetSignableTransferResponseV1) SetReceiverStarkKey(v string)

SetReceiverStarkKey sets field value

func (*GetSignableTransferResponseV1) SetReceiverVaultId

func (o *GetSignableTransferResponseV1) SetReceiverVaultId(v int32)

SetReceiverVaultId sets field value

func (*GetSignableTransferResponseV1) SetSenderStarkKey

func (o *GetSignableTransferResponseV1) SetSenderStarkKey(v string)

SetSenderStarkKey gets a reference to the given string and assigns it to the SenderStarkKey field.

func (*GetSignableTransferResponseV1) SetSenderVaultId

func (o *GetSignableTransferResponseV1) SetSenderVaultId(v int32)

SetSenderVaultId sets field value

func (*GetSignableTransferResponseV1) SetSignableMessage

func (o *GetSignableTransferResponseV1) SetSignableMessage(v string)

SetSignableMessage sets field value

type GetSignableWithdrawalRequest

type GetSignableWithdrawalRequest struct {
	// Amount of the token to withdraw
	Amount string        `json:"amount"`
	Token  SignableToken `json:"token"`
	// Ethereum address of the user who is making this withdrawal
	User string `json:"user"`
}

GetSignableWithdrawalRequest struct for GetSignableWithdrawalRequest

func NewGetSignableWithdrawalRequest

func NewGetSignableWithdrawalRequest(amount string, token SignableToken, user string) *GetSignableWithdrawalRequest

NewGetSignableWithdrawalRequest instantiates a new GetSignableWithdrawalRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableWithdrawalRequestWithDefaults

func NewGetSignableWithdrawalRequestWithDefaults() *GetSignableWithdrawalRequest

NewGetSignableWithdrawalRequestWithDefaults instantiates a new GetSignableWithdrawalRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableWithdrawalRequest) GetAmount

func (o *GetSignableWithdrawalRequest) GetAmount() string

GetAmount returns the Amount field value

func (*GetSignableWithdrawalRequest) GetAmountOk

func (o *GetSignableWithdrawalRequest) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*GetSignableWithdrawalRequest) GetToken

GetToken returns the Token field value

func (*GetSignableWithdrawalRequest) GetTokenOk

func (o *GetSignableWithdrawalRequest) GetTokenOk() (*SignableToken, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*GetSignableWithdrawalRequest) GetUser

func (o *GetSignableWithdrawalRequest) GetUser() string

GetUser returns the User field value

func (*GetSignableWithdrawalRequest) GetUserOk

func (o *GetSignableWithdrawalRequest) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (GetSignableWithdrawalRequest) MarshalJSON

func (o GetSignableWithdrawalRequest) MarshalJSON() ([]byte, error)

func (*GetSignableWithdrawalRequest) SetAmount

func (o *GetSignableWithdrawalRequest) SetAmount(v string)

SetAmount sets field value

func (*GetSignableWithdrawalRequest) SetToken

SetToken sets field value

func (*GetSignableWithdrawalRequest) SetUser

func (o *GetSignableWithdrawalRequest) SetUser(v string)

SetUser sets field value

type GetSignableWithdrawalResponse

type GetSignableWithdrawalResponse struct {
	// Amount of the token we are withdrawing
	Amount string `json:"amount"`
	// ID of the asset to be withdrawn
	AssetId string `json:"asset_id"`
	// Nonce of this transaction
	Nonce int32 `json:"nonce"`
	// Encoded payload hash
	PayloadHash string `json:"payload_hash"`
	// Message to sign with L1 wallet to verity withdrawal request
	SignableMessage string `json:"signable_message"`
	// Public stark key of this user
	StarkKey string `json:"stark_key"`
	// ID of the vault we are withdrawing from
	VaultId int32 `json:"vault_id"`
}

GetSignableWithdrawalResponse struct for GetSignableWithdrawalResponse

func NewGetSignableWithdrawalResponse

func NewGetSignableWithdrawalResponse(amount string, assetId string, nonce int32, payloadHash string, signableMessage string, starkKey string, vaultId int32) *GetSignableWithdrawalResponse

NewGetSignableWithdrawalResponse instantiates a new GetSignableWithdrawalResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetSignableWithdrawalResponseWithDefaults

func NewGetSignableWithdrawalResponseWithDefaults() *GetSignableWithdrawalResponse

NewGetSignableWithdrawalResponseWithDefaults instantiates a new GetSignableWithdrawalResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetSignableWithdrawalResponse) GetAmount

func (o *GetSignableWithdrawalResponse) GetAmount() string

GetAmount returns the Amount field value

func (*GetSignableWithdrawalResponse) GetAmountOk

func (o *GetSignableWithdrawalResponse) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*GetSignableWithdrawalResponse) GetAssetId

func (o *GetSignableWithdrawalResponse) GetAssetId() string

GetAssetId returns the AssetId field value

func (*GetSignableWithdrawalResponse) GetAssetIdOk

func (o *GetSignableWithdrawalResponse) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*GetSignableWithdrawalResponse) GetNonce

func (o *GetSignableWithdrawalResponse) GetNonce() int32

GetNonce returns the Nonce field value

func (*GetSignableWithdrawalResponse) GetNonceOk

func (o *GetSignableWithdrawalResponse) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*GetSignableWithdrawalResponse) GetPayloadHash

func (o *GetSignableWithdrawalResponse) GetPayloadHash() string

GetPayloadHash returns the PayloadHash field value

func (*GetSignableWithdrawalResponse) GetPayloadHashOk

func (o *GetSignableWithdrawalResponse) GetPayloadHashOk() (*string, bool)

GetPayloadHashOk returns a tuple with the PayloadHash field value and a boolean to check if the value has been set.

func (*GetSignableWithdrawalResponse) GetSignableMessage

func (o *GetSignableWithdrawalResponse) GetSignableMessage() string

GetSignableMessage returns the SignableMessage field value

func (*GetSignableWithdrawalResponse) GetSignableMessageOk

func (o *GetSignableWithdrawalResponse) GetSignableMessageOk() (*string, bool)

GetSignableMessageOk returns a tuple with the SignableMessage field value and a boolean to check if the value has been set.

func (*GetSignableWithdrawalResponse) GetStarkKey

func (o *GetSignableWithdrawalResponse) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*GetSignableWithdrawalResponse) GetStarkKeyOk

func (o *GetSignableWithdrawalResponse) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (*GetSignableWithdrawalResponse) GetVaultId

func (o *GetSignableWithdrawalResponse) GetVaultId() int32

GetVaultId returns the VaultId field value

func (*GetSignableWithdrawalResponse) GetVaultIdOk

func (o *GetSignableWithdrawalResponse) GetVaultIdOk() (*int32, bool)

GetVaultIdOk returns a tuple with the VaultId field value and a boolean to check if the value has been set.

func (GetSignableWithdrawalResponse) MarshalJSON

func (o GetSignableWithdrawalResponse) MarshalJSON() ([]byte, error)

func (*GetSignableWithdrawalResponse) SetAmount

func (o *GetSignableWithdrawalResponse) SetAmount(v string)

SetAmount sets field value

func (*GetSignableWithdrawalResponse) SetAssetId

func (o *GetSignableWithdrawalResponse) SetAssetId(v string)

SetAssetId sets field value

func (*GetSignableWithdrawalResponse) SetNonce

func (o *GetSignableWithdrawalResponse) SetNonce(v int32)

SetNonce sets field value

func (*GetSignableWithdrawalResponse) SetPayloadHash

func (o *GetSignableWithdrawalResponse) SetPayloadHash(v string)

SetPayloadHash sets field value

func (*GetSignableWithdrawalResponse) SetSignableMessage

func (o *GetSignableWithdrawalResponse) SetSignableMessage(v string)

SetSignableMessage sets field value

func (*GetSignableWithdrawalResponse) SetStarkKey

func (o *GetSignableWithdrawalResponse) SetStarkKey(v string)

SetStarkKey sets field value

func (*GetSignableWithdrawalResponse) SetVaultId

func (o *GetSignableWithdrawalResponse) SetVaultId(v int32)

SetVaultId sets field value

type GetTransactionsResponse added in v1.0.0

type GetTransactionsResponse struct {
	// Generated cursor returned by previous query
	Cursor *string `json:"cursor,omitempty"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining *int32 `json:"remaining,omitempty"`
	// Transactions matching query parameters
	Result []Exchange `json:"result,omitempty"`
}

GetTransactionsResponse struct for GetTransactionsResponse

func NewGetTransactionsResponse added in v1.0.0

func NewGetTransactionsResponse() *GetTransactionsResponse

NewGetTransactionsResponse instantiates a new GetTransactionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetTransactionsResponseWithDefaults added in v1.0.0

func NewGetTransactionsResponseWithDefaults() *GetTransactionsResponse

NewGetTransactionsResponseWithDefaults instantiates a new GetTransactionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetTransactionsResponse) GetCursor added in v1.0.0

func (o *GetTransactionsResponse) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*GetTransactionsResponse) GetCursorOk added in v1.0.0

func (o *GetTransactionsResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetTransactionsResponse) GetRemaining added in v1.0.0

func (o *GetTransactionsResponse) GetRemaining() int32

GetRemaining returns the Remaining field value if set, zero value otherwise.

func (*GetTransactionsResponse) GetRemainingOk added in v1.0.0

func (o *GetTransactionsResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetTransactionsResponse) GetResult added in v1.0.0

func (o *GetTransactionsResponse) GetResult() []Exchange

GetResult returns the Result field value if set, zero value otherwise.

func (*GetTransactionsResponse) GetResultOk added in v1.0.0

func (o *GetTransactionsResponse) GetResultOk() ([]Exchange, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetTransactionsResponse) HasCursor added in v1.0.0

func (o *GetTransactionsResponse) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*GetTransactionsResponse) HasRemaining added in v1.0.0

func (o *GetTransactionsResponse) HasRemaining() bool

HasRemaining returns a boolean if a field has been set.

func (*GetTransactionsResponse) HasResult added in v1.0.0

func (o *GetTransactionsResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (GetTransactionsResponse) MarshalJSON added in v1.0.0

func (o GetTransactionsResponse) MarshalJSON() ([]byte, error)

func (*GetTransactionsResponse) SetCursor added in v1.0.0

func (o *GetTransactionsResponse) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*GetTransactionsResponse) SetRemaining added in v1.0.0

func (o *GetTransactionsResponse) SetRemaining(v int32)

SetRemaining gets a reference to the given int32 and assigns it to the Remaining field.

func (*GetTransactionsResponse) SetResult added in v1.0.0

func (o *GetTransactionsResponse) SetResult(v []Exchange)

SetResult gets a reference to the given []Exchange and assigns it to the Result field.

type GetUsersApiResponse

type GetUsersApiResponse struct {
	// Accounts
	Accounts []string `json:"accounts"`
}

GetUsersApiResponse struct for GetUsersApiResponse

func NewGetUsersApiResponse

func NewGetUsersApiResponse(accounts []string) *GetUsersApiResponse

NewGetUsersApiResponse instantiates a new GetUsersApiResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetUsersApiResponseWithDefaults

func NewGetUsersApiResponseWithDefaults() *GetUsersApiResponse

NewGetUsersApiResponseWithDefaults instantiates a new GetUsersApiResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetUsersApiResponse) GetAccounts

func (o *GetUsersApiResponse) GetAccounts() []string

GetAccounts returns the Accounts field value

func (*GetUsersApiResponse) GetAccountsOk

func (o *GetUsersApiResponse) GetAccountsOk() ([]string, bool)

GetAccountsOk returns a tuple with the Accounts field value and a boolean to check if the value has been set.

func (GetUsersApiResponse) MarshalJSON

func (o GetUsersApiResponse) MarshalJSON() ([]byte, error)

func (*GetUsersApiResponse) SetAccounts

func (o *GetUsersApiResponse) SetAccounts(v []string)

SetAccounts sets field value

type LambdasAPIError added in v1.0.0

type LambdasAPIError struct {
	// The error code
	Code *string `json:"code,omitempty"`
	// The error details
	Details *string `json:"details,omitempty"`
	// The error message
	Message *string `json:"message,omitempty"`
	// The error status code
	StatusCode *int32 `json:"status_code,omitempty"`
}

LambdasAPIError struct for LambdasAPIError

func NewLambdasAPIError added in v1.0.0

func NewLambdasAPIError() *LambdasAPIError

NewLambdasAPIError instantiates a new LambdasAPIError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLambdasAPIErrorWithDefaults added in v1.0.0

func NewLambdasAPIErrorWithDefaults() *LambdasAPIError

NewLambdasAPIErrorWithDefaults instantiates a new LambdasAPIError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LambdasAPIError) GetCode added in v1.0.0

func (o *LambdasAPIError) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*LambdasAPIError) GetCodeOk added in v1.0.0

func (o *LambdasAPIError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LambdasAPIError) GetDetails added in v1.0.0

func (o *LambdasAPIError) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*LambdasAPIError) GetDetailsOk added in v1.0.0

func (o *LambdasAPIError) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LambdasAPIError) GetMessage added in v1.0.0

func (o *LambdasAPIError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*LambdasAPIError) GetMessageOk added in v1.0.0

func (o *LambdasAPIError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LambdasAPIError) GetStatusCode added in v1.0.0

func (o *LambdasAPIError) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*LambdasAPIError) GetStatusCodeOk added in v1.0.0

func (o *LambdasAPIError) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LambdasAPIError) HasCode added in v1.0.0

func (o *LambdasAPIError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*LambdasAPIError) HasDetails added in v1.0.0

func (o *LambdasAPIError) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*LambdasAPIError) HasMessage added in v1.0.0

func (o *LambdasAPIError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*LambdasAPIError) HasStatusCode added in v1.0.0

func (o *LambdasAPIError) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (LambdasAPIError) MarshalJSON added in v1.0.0

func (o LambdasAPIError) MarshalJSON() ([]byte, error)

func (*LambdasAPIError) SetCode added in v1.0.0

func (o *LambdasAPIError) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*LambdasAPIError) SetDetails added in v1.0.0

func (o *LambdasAPIError) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*LambdasAPIError) SetMessage added in v1.0.0

func (o *LambdasAPIError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*LambdasAPIError) SetStatusCode added in v1.0.0

func (o *LambdasAPIError) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

type ListAssetsResponse

type ListAssetsResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Assets matching query parameters
	Result []AssetWithOrders `json:"result"`
}

ListAssetsResponse struct for ListAssetsResponse

func NewListAssetsResponse

func NewListAssetsResponse(cursor string, remaining int32, result []AssetWithOrders) *ListAssetsResponse

NewListAssetsResponse instantiates a new ListAssetsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListAssetsResponseWithDefaults

func NewListAssetsResponseWithDefaults() *ListAssetsResponse

NewListAssetsResponseWithDefaults instantiates a new ListAssetsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListAssetsResponse) GetCursor

func (o *ListAssetsResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListAssetsResponse) GetCursorOk

func (o *ListAssetsResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListAssetsResponse) GetRemaining

func (o *ListAssetsResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListAssetsResponse) GetRemainingOk

func (o *ListAssetsResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListAssetsResponse) GetResult

func (o *ListAssetsResponse) GetResult() []AssetWithOrders

GetResult returns the Result field value

func (*ListAssetsResponse) GetResultOk

func (o *ListAssetsResponse) GetResultOk() ([]AssetWithOrders, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListAssetsResponse) MarshalJSON

func (o ListAssetsResponse) MarshalJSON() ([]byte, error)

func (*ListAssetsResponse) SetCursor

func (o *ListAssetsResponse) SetCursor(v string)

SetCursor sets field value

func (*ListAssetsResponse) SetRemaining

func (o *ListAssetsResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListAssetsResponse) SetResult

func (o *ListAssetsResponse) SetResult(v []AssetWithOrders)

SetResult sets field value

type ListBalancesResponse

type ListBalancesResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Dictionary of tokens
	Result []Balance `json:"result"`
}

ListBalancesResponse struct for ListBalancesResponse

func NewListBalancesResponse

func NewListBalancesResponse(cursor string, remaining int32, result []Balance) *ListBalancesResponse

NewListBalancesResponse instantiates a new ListBalancesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListBalancesResponseWithDefaults

func NewListBalancesResponseWithDefaults() *ListBalancesResponse

NewListBalancesResponseWithDefaults instantiates a new ListBalancesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListBalancesResponse) GetCursor

func (o *ListBalancesResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListBalancesResponse) GetCursorOk

func (o *ListBalancesResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListBalancesResponse) GetRemaining added in v1.0.0

func (o *ListBalancesResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListBalancesResponse) GetRemainingOk added in v1.0.0

func (o *ListBalancesResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListBalancesResponse) GetResult

func (o *ListBalancesResponse) GetResult() []Balance

GetResult returns the Result field value

func (*ListBalancesResponse) GetResultOk

func (o *ListBalancesResponse) GetResultOk() ([]Balance, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListBalancesResponse) MarshalJSON

func (o ListBalancesResponse) MarshalJSON() ([]byte, error)

func (*ListBalancesResponse) SetCursor

func (o *ListBalancesResponse) SetCursor(v string)

SetCursor sets field value

func (*ListBalancesResponse) SetRemaining added in v1.0.0

func (o *ListBalancesResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListBalancesResponse) SetResult

func (o *ListBalancesResponse) SetResult(v []Balance)

SetResult sets field value

type ListCollectionsResponse

type ListCollectionsResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Collections matching query parameters
	Result []Collection `json:"result"`
}

ListCollectionsResponse struct for ListCollectionsResponse

func NewListCollectionsResponse

func NewListCollectionsResponse(cursor string, remaining int32, result []Collection) *ListCollectionsResponse

NewListCollectionsResponse instantiates a new ListCollectionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListCollectionsResponseWithDefaults

func NewListCollectionsResponseWithDefaults() *ListCollectionsResponse

NewListCollectionsResponseWithDefaults instantiates a new ListCollectionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListCollectionsResponse) GetCursor

func (o *ListCollectionsResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListCollectionsResponse) GetCursorOk

func (o *ListCollectionsResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListCollectionsResponse) GetRemaining

func (o *ListCollectionsResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListCollectionsResponse) GetRemainingOk

func (o *ListCollectionsResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListCollectionsResponse) GetResult

func (o *ListCollectionsResponse) GetResult() []Collection

GetResult returns the Result field value

func (*ListCollectionsResponse) GetResultOk

func (o *ListCollectionsResponse) GetResultOk() ([]Collection, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListCollectionsResponse) MarshalJSON

func (o ListCollectionsResponse) MarshalJSON() ([]byte, error)

func (*ListCollectionsResponse) SetCursor

func (o *ListCollectionsResponse) SetCursor(v string)

SetCursor sets field value

func (*ListCollectionsResponse) SetRemaining

func (o *ListCollectionsResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListCollectionsResponse) SetResult

func (o *ListCollectionsResponse) SetResult(v []Collection)

SetResult sets field value

type ListDepositsResponse

type ListDepositsResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Deposits matching query parameters
	Result []Deposit `json:"result"`
}

ListDepositsResponse struct for ListDepositsResponse

func NewListDepositsResponse

func NewListDepositsResponse(cursor string, remaining int32, result []Deposit) *ListDepositsResponse

NewListDepositsResponse instantiates a new ListDepositsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListDepositsResponseWithDefaults

func NewListDepositsResponseWithDefaults() *ListDepositsResponse

NewListDepositsResponseWithDefaults instantiates a new ListDepositsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListDepositsResponse) GetCursor

func (o *ListDepositsResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListDepositsResponse) GetCursorOk

func (o *ListDepositsResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListDepositsResponse) GetRemaining

func (o *ListDepositsResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListDepositsResponse) GetRemainingOk

func (o *ListDepositsResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListDepositsResponse) GetResult

func (o *ListDepositsResponse) GetResult() []Deposit

GetResult returns the Result field value

func (*ListDepositsResponse) GetResultOk

func (o *ListDepositsResponse) GetResultOk() ([]Deposit, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListDepositsResponse) MarshalJSON

func (o ListDepositsResponse) MarshalJSON() ([]byte, error)

func (*ListDepositsResponse) SetCursor

func (o *ListDepositsResponse) SetCursor(v string)

SetCursor sets field value

func (*ListDepositsResponse) SetRemaining

func (o *ListDepositsResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListDepositsResponse) SetResult

func (o *ListDepositsResponse) SetResult(v []Deposit)

SetResult sets field value

type ListMintsResponse

type ListMintsResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Mints matching query parameters
	Result []Mint `json:"result"`
}

ListMintsResponse struct for ListMintsResponse

func NewListMintsResponse

func NewListMintsResponse(cursor string, remaining int32, result []Mint) *ListMintsResponse

NewListMintsResponse instantiates a new ListMintsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListMintsResponseWithDefaults

func NewListMintsResponseWithDefaults() *ListMintsResponse

NewListMintsResponseWithDefaults instantiates a new ListMintsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListMintsResponse) GetCursor

func (o *ListMintsResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListMintsResponse) GetCursorOk

func (o *ListMintsResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListMintsResponse) GetRemaining

func (o *ListMintsResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListMintsResponse) GetRemainingOk

func (o *ListMintsResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListMintsResponse) GetResult

func (o *ListMintsResponse) GetResult() []Mint

GetResult returns the Result field value

func (*ListMintsResponse) GetResultOk

func (o *ListMintsResponse) GetResultOk() ([]Mint, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListMintsResponse) MarshalJSON

func (o ListMintsResponse) MarshalJSON() ([]byte, error)

func (*ListMintsResponse) SetCursor

func (o *ListMintsResponse) SetCursor(v string)

SetCursor sets field value

func (*ListMintsResponse) SetRemaining

func (o *ListMintsResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListMintsResponse) SetResult

func (o *ListMintsResponse) SetResult(v []Mint)

SetResult sets field value

type ListOrdersResponse

type ListOrdersResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Orders matching query parameters
	Result []Order `json:"result"`
}

ListOrdersResponse struct for ListOrdersResponse

func NewListOrdersResponse

func NewListOrdersResponse(cursor string, remaining int32, result []Order) *ListOrdersResponse

NewListOrdersResponse instantiates a new ListOrdersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListOrdersResponseWithDefaults

func NewListOrdersResponseWithDefaults() *ListOrdersResponse

NewListOrdersResponseWithDefaults instantiates a new ListOrdersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListOrdersResponse) GetCursor

func (o *ListOrdersResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListOrdersResponse) GetCursorOk

func (o *ListOrdersResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListOrdersResponse) GetRemaining

func (o *ListOrdersResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListOrdersResponse) GetRemainingOk

func (o *ListOrdersResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListOrdersResponse) GetResult

func (o *ListOrdersResponse) GetResult() []Order

GetResult returns the Result field value

func (*ListOrdersResponse) GetResultOk

func (o *ListOrdersResponse) GetResultOk() ([]Order, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListOrdersResponse) MarshalJSON

func (o ListOrdersResponse) MarshalJSON() ([]byte, error)

func (*ListOrdersResponse) SetCursor

func (o *ListOrdersResponse) SetCursor(v string)

SetCursor sets field value

func (*ListOrdersResponse) SetRemaining

func (o *ListOrdersResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListOrdersResponse) SetResult

func (o *ListOrdersResponse) SetResult(v []Order)

SetResult sets field value

type ListTokensResponse

type ListTokensResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Tokens matching query parameters
	Result []TokenDetails `json:"result"`
}

ListTokensResponse struct for ListTokensResponse

func NewListTokensResponse

func NewListTokensResponse(cursor string, result []TokenDetails) *ListTokensResponse

NewListTokensResponse instantiates a new ListTokensResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListTokensResponseWithDefaults

func NewListTokensResponseWithDefaults() *ListTokensResponse

NewListTokensResponseWithDefaults instantiates a new ListTokensResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListTokensResponse) GetCursor

func (o *ListTokensResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListTokensResponse) GetCursorOk

func (o *ListTokensResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListTokensResponse) GetResult

func (o *ListTokensResponse) GetResult() []TokenDetails

GetResult returns the Result field value

func (*ListTokensResponse) GetResultOk

func (o *ListTokensResponse) GetResultOk() ([]TokenDetails, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListTokensResponse) MarshalJSON

func (o ListTokensResponse) MarshalJSON() ([]byte, error)

func (*ListTokensResponse) SetCursor

func (o *ListTokensResponse) SetCursor(v string)

SetCursor sets field value

func (*ListTokensResponse) SetResult

func (o *ListTokensResponse) SetResult(v []TokenDetails)

SetResult sets field value

type ListTradesResponse

type ListTradesResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Trades matching query parameters
	Result []Trade `json:"result"`
}

ListTradesResponse struct for ListTradesResponse

func NewListTradesResponse

func NewListTradesResponse(cursor string, remaining int32, result []Trade) *ListTradesResponse

NewListTradesResponse instantiates a new ListTradesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListTradesResponseWithDefaults

func NewListTradesResponseWithDefaults() *ListTradesResponse

NewListTradesResponseWithDefaults instantiates a new ListTradesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListTradesResponse) GetCursor

func (o *ListTradesResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListTradesResponse) GetCursorOk

func (o *ListTradesResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListTradesResponse) GetRemaining

func (o *ListTradesResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListTradesResponse) GetRemainingOk

func (o *ListTradesResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListTradesResponse) GetResult

func (o *ListTradesResponse) GetResult() []Trade

GetResult returns the Result field value

func (*ListTradesResponse) GetResultOk

func (o *ListTradesResponse) GetResultOk() ([]Trade, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListTradesResponse) MarshalJSON

func (o ListTradesResponse) MarshalJSON() ([]byte, error)

func (*ListTradesResponse) SetCursor

func (o *ListTradesResponse) SetCursor(v string)

SetCursor sets field value

func (*ListTradesResponse) SetRemaining

func (o *ListTradesResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListTradesResponse) SetResult

func (o *ListTradesResponse) SetResult(v []Trade)

SetResult sets field value

type ListTransfersResponse

type ListTransfersResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Transfers matching query parameters
	Result []Transfer `json:"result"`
}

ListTransfersResponse struct for ListTransfersResponse

func NewListTransfersResponse

func NewListTransfersResponse(cursor string, remaining int32, result []Transfer) *ListTransfersResponse

NewListTransfersResponse instantiates a new ListTransfersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListTransfersResponseWithDefaults

func NewListTransfersResponseWithDefaults() *ListTransfersResponse

NewListTransfersResponseWithDefaults instantiates a new ListTransfersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListTransfersResponse) GetCursor

func (o *ListTransfersResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListTransfersResponse) GetCursorOk

func (o *ListTransfersResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListTransfersResponse) GetRemaining

func (o *ListTransfersResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListTransfersResponse) GetRemainingOk

func (o *ListTransfersResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListTransfersResponse) GetResult

func (o *ListTransfersResponse) GetResult() []Transfer

GetResult returns the Result field value

func (*ListTransfersResponse) GetResultOk

func (o *ListTransfersResponse) GetResultOk() ([]Transfer, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListTransfersResponse) MarshalJSON

func (o ListTransfersResponse) MarshalJSON() ([]byte, error)

func (*ListTransfersResponse) SetCursor

func (o *ListTransfersResponse) SetCursor(v string)

SetCursor sets field value

func (*ListTransfersResponse) SetRemaining

func (o *ListTransfersResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListTransfersResponse) SetResult

func (o *ListTransfersResponse) SetResult(v []Transfer)

SetResult sets field value

type ListWithdrawalsResponse

type ListWithdrawalsResponse struct {
	// Generated cursor returned by previous query
	Cursor string `json:"cursor"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining int32 `json:"remaining"`
	// Withdrawals matching query parameters
	Result []Withdrawal `json:"result"`
}

ListWithdrawalsResponse struct for ListWithdrawalsResponse

func NewListWithdrawalsResponse

func NewListWithdrawalsResponse(cursor string, remaining int32, result []Withdrawal) *ListWithdrawalsResponse

NewListWithdrawalsResponse instantiates a new ListWithdrawalsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListWithdrawalsResponseWithDefaults

func NewListWithdrawalsResponseWithDefaults() *ListWithdrawalsResponse

NewListWithdrawalsResponseWithDefaults instantiates a new ListWithdrawalsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListWithdrawalsResponse) GetCursor

func (o *ListWithdrawalsResponse) GetCursor() string

GetCursor returns the Cursor field value

func (*ListWithdrawalsResponse) GetCursorOk

func (o *ListWithdrawalsResponse) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.

func (*ListWithdrawalsResponse) GetRemaining

func (o *ListWithdrawalsResponse) GetRemaining() int32

GetRemaining returns the Remaining field value

func (*ListWithdrawalsResponse) GetRemainingOk

func (o *ListWithdrawalsResponse) GetRemainingOk() (*int32, bool)

GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.

func (*ListWithdrawalsResponse) GetResult

func (o *ListWithdrawalsResponse) GetResult() []Withdrawal

GetResult returns the Result field value

func (*ListWithdrawalsResponse) GetResultOk

func (o *ListWithdrawalsResponse) GetResultOk() ([]Withdrawal, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ListWithdrawalsResponse) MarshalJSON

func (o ListWithdrawalsResponse) MarshalJSON() ([]byte, error)

func (*ListWithdrawalsResponse) SetCursor

func (o *ListWithdrawalsResponse) SetCursor(v string)

SetCursor sets field value

func (*ListWithdrawalsResponse) SetRemaining

func (o *ListWithdrawalsResponse) SetRemaining(v int32)

SetRemaining sets field value

func (*ListWithdrawalsResponse) SetResult

func (o *ListWithdrawalsResponse) SetResult(v []Withdrawal)

SetResult sets field value

type MetadataApi

type MetadataApi interface {

	/*
		AddMetadataSchemaToCollection Add metadata schema to collection

		Add metadata schema to collection

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param address Collection contract address
		@return ApiAddMetadataSchemaToCollectionRequest
	*/
	AddMetadataSchemaToCollection(ctx context.Context, address string) ApiAddMetadataSchemaToCollectionRequest

	// AddMetadataSchemaToCollectionExecute executes the request
	//  @return SuccessResponse
	AddMetadataSchemaToCollectionExecute(r ApiAddMetadataSchemaToCollectionRequest) (*SuccessResponse, *http.Response, error)

	/*
		GetMetadataSchema Get collection metadata schema

		Get collection metadata schema

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param address Collection contract address
		@return ApiGetMetadataSchemaRequest
	*/
	GetMetadataSchema(ctx context.Context, address string) ApiGetMetadataSchemaRequest

	// GetMetadataSchemaExecute executes the request
	//  @return []MetadataSchemaProperty
	GetMetadataSchemaExecute(r ApiGetMetadataSchemaRequest) ([]MetadataSchemaProperty, *http.Response, error)

	/*
		UpdateMetadataSchemaByName Update metadata schema by name

		Update metadata schema by name

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param address Collection contract address
		@param name Metadata schema name
		@return ApiUpdateMetadataSchemaByNameRequest
	*/
	UpdateMetadataSchemaByName(ctx context.Context, address string, name string) ApiUpdateMetadataSchemaByNameRequest

	// UpdateMetadataSchemaByNameExecute executes the request
	//  @return SuccessResponse
	UpdateMetadataSchemaByNameExecute(r ApiUpdateMetadataSchemaByNameRequest) (*SuccessResponse, *http.Response, error)
}

type MetadataApiService

type MetadataApiService service

MetadataApiService MetadataApi service

func (*MetadataApiService) AddMetadataSchemaToCollection

func (a *MetadataApiService) AddMetadataSchemaToCollection(ctx context.Context, address string) ApiAddMetadataSchemaToCollectionRequest

AddMetadataSchemaToCollection Add metadata schema to collection

Add metadata schema to collection

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address Collection contract address
@return ApiAddMetadataSchemaToCollectionRequest

func (*MetadataApiService) AddMetadataSchemaToCollectionExecute

func (a *MetadataApiService) AddMetadataSchemaToCollectionExecute(r ApiAddMetadataSchemaToCollectionRequest) (*SuccessResponse, *http.Response, error)

Execute executes the request

@return SuccessResponse

func (*MetadataApiService) GetMetadataSchema

func (a *MetadataApiService) GetMetadataSchema(ctx context.Context, address string) ApiGetMetadataSchemaRequest

GetMetadataSchema Get collection metadata schema

Get collection metadata schema

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address Collection contract address
@return ApiGetMetadataSchemaRequest

func (*MetadataApiService) GetMetadataSchemaExecute

Execute executes the request

@return []MetadataSchemaProperty

func (*MetadataApiService) UpdateMetadataSchemaByName

func (a *MetadataApiService) UpdateMetadataSchemaByName(ctx context.Context, address string, name string) ApiUpdateMetadataSchemaByNameRequest

UpdateMetadataSchemaByName Update metadata schema by name

Update metadata schema by name

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address Collection contract address
@param name Metadata schema name
@return ApiUpdateMetadataSchemaByNameRequest

func (*MetadataApiService) UpdateMetadataSchemaByNameExecute

func (a *MetadataApiService) UpdateMetadataSchemaByNameExecute(r ApiUpdateMetadataSchemaByNameRequest) (*SuccessResponse, *http.Response, error)

Execute executes the request

@return SuccessResponse

type MetadataRefreshErrors

type MetadataRefreshErrors struct {
	// Metadata API response for the token
	ClientResponseBody NullableString `json:"client_response_body"`
	// Metadata API response code for the token
	ClientResponseStatusCode NullableString `json:"client_response_status_code"`
	// Requested metadata url for the token
	ClientTokenMetadataUrl string `json:"client_token_metadata_url"`
	// The collection contract address
	CollectionAddress string `json:"collection_address"`
	// When the error was created
	CreatedAt string `json:"created_at"`
	// Metadata refresh error code
	ErrorCode string `json:"error_code"`
	// The token ID
	TokenId string `json:"token_id"`
}

MetadataRefreshErrors struct for MetadataRefreshErrors

func NewMetadataRefreshErrors

func NewMetadataRefreshErrors(clientResponseBody NullableString, clientResponseStatusCode NullableString, clientTokenMetadataUrl string, collectionAddress string, createdAt string, errorCode string, tokenId string) *MetadataRefreshErrors

NewMetadataRefreshErrors instantiates a new MetadataRefreshErrors object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataRefreshErrorsWithDefaults

func NewMetadataRefreshErrorsWithDefaults() *MetadataRefreshErrors

NewMetadataRefreshErrorsWithDefaults instantiates a new MetadataRefreshErrors object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetadataRefreshErrors) GetClientResponseBody

func (o *MetadataRefreshErrors) GetClientResponseBody() string

GetClientResponseBody returns the ClientResponseBody field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataRefreshErrors) GetClientResponseBodyOk

func (o *MetadataRefreshErrors) GetClientResponseBodyOk() (*string, bool)

GetClientResponseBodyOk returns a tuple with the ClientResponseBody field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataRefreshErrors) GetClientResponseStatusCode

func (o *MetadataRefreshErrors) GetClientResponseStatusCode() string

GetClientResponseStatusCode returns the ClientResponseStatusCode field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataRefreshErrors) GetClientResponseStatusCodeOk

func (o *MetadataRefreshErrors) GetClientResponseStatusCodeOk() (*string, bool)

GetClientResponseStatusCodeOk returns a tuple with the ClientResponseStatusCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataRefreshErrors) GetClientTokenMetadataUrl

func (o *MetadataRefreshErrors) GetClientTokenMetadataUrl() string

GetClientTokenMetadataUrl returns the ClientTokenMetadataUrl field value

func (*MetadataRefreshErrors) GetClientTokenMetadataUrlOk

func (o *MetadataRefreshErrors) GetClientTokenMetadataUrlOk() (*string, bool)

GetClientTokenMetadataUrlOk returns a tuple with the ClientTokenMetadataUrl field value and a boolean to check if the value has been set.

func (*MetadataRefreshErrors) GetCollectionAddress

func (o *MetadataRefreshErrors) GetCollectionAddress() string

GetCollectionAddress returns the CollectionAddress field value

func (*MetadataRefreshErrors) GetCollectionAddressOk

func (o *MetadataRefreshErrors) GetCollectionAddressOk() (*string, bool)

GetCollectionAddressOk returns a tuple with the CollectionAddress field value and a boolean to check if the value has been set.

func (*MetadataRefreshErrors) GetCreatedAt

func (o *MetadataRefreshErrors) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*MetadataRefreshErrors) GetCreatedAtOk

func (o *MetadataRefreshErrors) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*MetadataRefreshErrors) GetErrorCode

func (o *MetadataRefreshErrors) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*MetadataRefreshErrors) GetErrorCodeOk

func (o *MetadataRefreshErrors) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.

func (*MetadataRefreshErrors) GetTokenId

func (o *MetadataRefreshErrors) GetTokenId() string

GetTokenId returns the TokenId field value

func (*MetadataRefreshErrors) GetTokenIdOk

func (o *MetadataRefreshErrors) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value and a boolean to check if the value has been set.

func (MetadataRefreshErrors) MarshalJSON

func (o MetadataRefreshErrors) MarshalJSON() ([]byte, error)

func (*MetadataRefreshErrors) SetClientResponseBody

func (o *MetadataRefreshErrors) SetClientResponseBody(v string)

SetClientResponseBody sets field value

func (*MetadataRefreshErrors) SetClientResponseStatusCode

func (o *MetadataRefreshErrors) SetClientResponseStatusCode(v string)

SetClientResponseStatusCode sets field value

func (*MetadataRefreshErrors) SetClientTokenMetadataUrl

func (o *MetadataRefreshErrors) SetClientTokenMetadataUrl(v string)

SetClientTokenMetadataUrl sets field value

func (*MetadataRefreshErrors) SetCollectionAddress

func (o *MetadataRefreshErrors) SetCollectionAddress(v string)

SetCollectionAddress sets field value

func (*MetadataRefreshErrors) SetCreatedAt

func (o *MetadataRefreshErrors) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*MetadataRefreshErrors) SetErrorCode

func (o *MetadataRefreshErrors) SetErrorCode(v string)

SetErrorCode sets field value

func (*MetadataRefreshErrors) SetTokenId

func (o *MetadataRefreshErrors) SetTokenId(v string)

SetTokenId sets field value

type MetadataRefreshExcludingSummary

type MetadataRefreshExcludingSummary struct {
	// The collection address
	CollectionAddress string `json:"collection_address"`
	// When the metadata refresh completed
	CompletedAt NullableString `json:"completed_at,omitempty"`
	// The metadata refresh ID
	RefreshId string `json:"refresh_id"`
	// When the metadata refresh started
	StartedAt string `json:"started_at"`
	// The metadata refresh status
	Status string `json:"status"`
}

MetadataRefreshExcludingSummary struct for MetadataRefreshExcludingSummary

func NewMetadataRefreshExcludingSummary

func NewMetadataRefreshExcludingSummary(collectionAddress string, refreshId string, startedAt string, status string) *MetadataRefreshExcludingSummary

NewMetadataRefreshExcludingSummary instantiates a new MetadataRefreshExcludingSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataRefreshExcludingSummaryWithDefaults

func NewMetadataRefreshExcludingSummaryWithDefaults() *MetadataRefreshExcludingSummary

NewMetadataRefreshExcludingSummaryWithDefaults instantiates a new MetadataRefreshExcludingSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetadataRefreshExcludingSummary) GetCollectionAddress

func (o *MetadataRefreshExcludingSummary) GetCollectionAddress() string

GetCollectionAddress returns the CollectionAddress field value

func (*MetadataRefreshExcludingSummary) GetCollectionAddressOk

func (o *MetadataRefreshExcludingSummary) GetCollectionAddressOk() (*string, bool)

GetCollectionAddressOk returns a tuple with the CollectionAddress field value and a boolean to check if the value has been set.

func (*MetadataRefreshExcludingSummary) GetCompletedAt

func (o *MetadataRefreshExcludingSummary) GetCompletedAt() string

GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MetadataRefreshExcludingSummary) GetCompletedAtOk

func (o *MetadataRefreshExcludingSummary) GetCompletedAtOk() (*string, bool)

GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataRefreshExcludingSummary) GetRefreshId

func (o *MetadataRefreshExcludingSummary) GetRefreshId() string

GetRefreshId returns the RefreshId field value

func (*MetadataRefreshExcludingSummary) GetRefreshIdOk

func (o *MetadataRefreshExcludingSummary) GetRefreshIdOk() (*string, bool)

GetRefreshIdOk returns a tuple with the RefreshId field value and a boolean to check if the value has been set.

func (*MetadataRefreshExcludingSummary) GetStartedAt

func (o *MetadataRefreshExcludingSummary) GetStartedAt() string

GetStartedAt returns the StartedAt field value

func (*MetadataRefreshExcludingSummary) GetStartedAtOk

func (o *MetadataRefreshExcludingSummary) GetStartedAtOk() (*string, bool)

GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.

func (*MetadataRefreshExcludingSummary) GetStatus

func (o *MetadataRefreshExcludingSummary) GetStatus() string

GetStatus returns the Status field value

func (*MetadataRefreshExcludingSummary) GetStatusOk

func (o *MetadataRefreshExcludingSummary) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*MetadataRefreshExcludingSummary) HasCompletedAt

func (o *MetadataRefreshExcludingSummary) HasCompletedAt() bool

HasCompletedAt returns a boolean if a field has been set.

func (MetadataRefreshExcludingSummary) MarshalJSON

func (o MetadataRefreshExcludingSummary) MarshalJSON() ([]byte, error)

func (*MetadataRefreshExcludingSummary) SetCollectionAddress

func (o *MetadataRefreshExcludingSummary) SetCollectionAddress(v string)

SetCollectionAddress sets field value

func (*MetadataRefreshExcludingSummary) SetCompletedAt

func (o *MetadataRefreshExcludingSummary) SetCompletedAt(v string)

SetCompletedAt gets a reference to the given NullableString and assigns it to the CompletedAt field.

func (*MetadataRefreshExcludingSummary) SetCompletedAtNil

func (o *MetadataRefreshExcludingSummary) SetCompletedAtNil()

SetCompletedAtNil sets the value for CompletedAt to be an explicit nil

func (*MetadataRefreshExcludingSummary) SetRefreshId

func (o *MetadataRefreshExcludingSummary) SetRefreshId(v string)

SetRefreshId sets field value

func (*MetadataRefreshExcludingSummary) SetStartedAt

func (o *MetadataRefreshExcludingSummary) SetStartedAt(v string)

SetStartedAt sets field value

func (*MetadataRefreshExcludingSummary) SetStatus

func (o *MetadataRefreshExcludingSummary) SetStatus(v string)

SetStatus sets field value

func (*MetadataRefreshExcludingSummary) UnsetCompletedAt

func (o *MetadataRefreshExcludingSummary) UnsetCompletedAt()

UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil

type MetadataRefreshSummary

type MetadataRefreshSummary struct {
	// The number of tokens with failed metadata refreshes
	Failed *int32 `json:"failed,omitempty"`
	// The number of tokens that has not been refreshed yet
	Pending *int32 `json:"pending,omitempty"`
	// The number of tokens with successful metadata refreshes
	Succeeded *int32 `json:"succeeded,omitempty"`
}

MetadataRefreshSummary struct for MetadataRefreshSummary

func NewMetadataRefreshSummary

func NewMetadataRefreshSummary() *MetadataRefreshSummary

NewMetadataRefreshSummary instantiates a new MetadataRefreshSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataRefreshSummaryWithDefaults

func NewMetadataRefreshSummaryWithDefaults() *MetadataRefreshSummary

NewMetadataRefreshSummaryWithDefaults instantiates a new MetadataRefreshSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetadataRefreshSummary) GetFailed

func (o *MetadataRefreshSummary) GetFailed() int32

GetFailed returns the Failed field value if set, zero value otherwise.

func (*MetadataRefreshSummary) GetFailedOk

func (o *MetadataRefreshSummary) GetFailedOk() (*int32, bool)

GetFailedOk returns a tuple with the Failed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataRefreshSummary) GetPending

func (o *MetadataRefreshSummary) GetPending() int32

GetPending returns the Pending field value if set, zero value otherwise.

func (*MetadataRefreshSummary) GetPendingOk

func (o *MetadataRefreshSummary) GetPendingOk() (*int32, bool)

GetPendingOk returns a tuple with the Pending field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataRefreshSummary) GetSucceeded

func (o *MetadataRefreshSummary) GetSucceeded() int32

GetSucceeded returns the Succeeded field value if set, zero value otherwise.

func (*MetadataRefreshSummary) GetSucceededOk

func (o *MetadataRefreshSummary) GetSucceededOk() (*int32, bool)

GetSucceededOk returns a tuple with the Succeeded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataRefreshSummary) HasFailed

func (o *MetadataRefreshSummary) HasFailed() bool

HasFailed returns a boolean if a field has been set.

func (*MetadataRefreshSummary) HasPending

func (o *MetadataRefreshSummary) HasPending() bool

HasPending returns a boolean if a field has been set.

func (*MetadataRefreshSummary) HasSucceeded

func (o *MetadataRefreshSummary) HasSucceeded() bool

HasSucceeded returns a boolean if a field has been set.

func (MetadataRefreshSummary) MarshalJSON

func (o MetadataRefreshSummary) MarshalJSON() ([]byte, error)

func (*MetadataRefreshSummary) SetFailed

func (o *MetadataRefreshSummary) SetFailed(v int32)

SetFailed gets a reference to the given int32 and assigns it to the Failed field.

func (*MetadataRefreshSummary) SetPending

func (o *MetadataRefreshSummary) SetPending(v int32)

SetPending gets a reference to the given int32 and assigns it to the Pending field.

func (*MetadataRefreshSummary) SetSucceeded

func (o *MetadataRefreshSummary) SetSucceeded(v int32)

SetSucceeded gets a reference to the given int32 and assigns it to the Succeeded field.

type MetadataRefreshesApi

type MetadataRefreshesApi interface {

	/*
		GetAListOfMetadataRefreshes Method for GetAListOfMetadataRefreshes

		Get a list of metadata refreshes

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetAListOfMetadataRefreshesRequest
	*/
	GetAListOfMetadataRefreshes(ctx context.Context) ApiGetAListOfMetadataRefreshesRequest

	// GetAListOfMetadataRefreshesExecute executes the request
	//  @return GetMetadataRefreshes
	GetAListOfMetadataRefreshesExecute(r ApiGetAListOfMetadataRefreshesRequest) (*GetMetadataRefreshes, *http.Response, error)

	/*
		GetMetadataRefreshErrors Method for GetMetadataRefreshErrors

		Get metadata refresh errors

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param refreshId The metadata refresh ID
		@return ApiGetMetadataRefreshErrorsRequest
	*/
	GetMetadataRefreshErrors(ctx context.Context, refreshId string) ApiGetMetadataRefreshErrorsRequest

	// GetMetadataRefreshErrorsExecute executes the request
	//  @return GetMetadataRefreshErrorsResponse
	GetMetadataRefreshErrorsExecute(r ApiGetMetadataRefreshErrorsRequest) (*GetMetadataRefreshErrorsResponse, *http.Response, error)

	/*
		GetMetadataRefreshResults Method for GetMetadataRefreshResults

		Get metadata refresh results

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param refreshId The metadata refresh ID
		@return ApiGetMetadataRefreshResultsRequest
	*/
	GetMetadataRefreshResults(ctx context.Context, refreshId string) ApiGetMetadataRefreshResultsRequest

	// GetMetadataRefreshResultsExecute executes the request
	//  @return GetMetadataRefreshResponse
	GetMetadataRefreshResultsExecute(r ApiGetMetadataRefreshResultsRequest) (*GetMetadataRefreshResponse, *http.Response, error)

	/*
		RequestAMetadataRefresh Method for RequestAMetadataRefresh

		Request metadata refresh for provided tokens

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiRequestAMetadataRefreshRequest
	*/
	RequestAMetadataRefresh(ctx context.Context) ApiRequestAMetadataRefreshRequest

	// RequestAMetadataRefreshExecute executes the request
	//  @return CreateMetadataRefreshResponse
	RequestAMetadataRefreshExecute(r ApiRequestAMetadataRefreshRequest) (*CreateMetadataRefreshResponse, *http.Response, error)
}

type MetadataRefreshesApiService

type MetadataRefreshesApiService service

MetadataRefreshesApiService MetadataRefreshesApi service

func (*MetadataRefreshesApiService) GetAListOfMetadataRefreshes

GetAListOfMetadataRefreshes Method for GetAListOfMetadataRefreshes

Get a list of metadata refreshes

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAListOfMetadataRefreshesRequest

func (*MetadataRefreshesApiService) GetAListOfMetadataRefreshesExecute

Execute executes the request

@return GetMetadataRefreshes

func (*MetadataRefreshesApiService) GetMetadataRefreshErrors

func (a *MetadataRefreshesApiService) GetMetadataRefreshErrors(ctx context.Context, refreshId string) ApiGetMetadataRefreshErrorsRequest

GetMetadataRefreshErrors Method for GetMetadataRefreshErrors

Get metadata refresh errors

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param refreshId The metadata refresh ID
@return ApiGetMetadataRefreshErrorsRequest

func (*MetadataRefreshesApiService) GetMetadataRefreshErrorsExecute

Execute executes the request

@return GetMetadataRefreshErrorsResponse

func (*MetadataRefreshesApiService) GetMetadataRefreshResults

func (a *MetadataRefreshesApiService) GetMetadataRefreshResults(ctx context.Context, refreshId string) ApiGetMetadataRefreshResultsRequest

GetMetadataRefreshResults Method for GetMetadataRefreshResults

Get metadata refresh results

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param refreshId The metadata refresh ID
@return ApiGetMetadataRefreshResultsRequest

func (*MetadataRefreshesApiService) GetMetadataRefreshResultsExecute

Execute executes the request

@return GetMetadataRefreshResponse

func (*MetadataRefreshesApiService) RequestAMetadataRefresh

RequestAMetadataRefresh Method for RequestAMetadataRefresh

Request metadata refresh for provided tokens

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRequestAMetadataRefreshRequest

func (*MetadataRefreshesApiService) RequestAMetadataRefreshExecute

Execute executes the request

@return CreateMetadataRefreshResponse

type MetadataSchemaProperty

type MetadataSchemaProperty struct {
	// Sets the metadata as filterable
	Filterable bool `json:"filterable"`
	// Name of the metadata key
	Name string `json:"name"`
	// Type of the metadata. Values: \"enum\", \"text\", \"boolean\", \"continuous\", \"discrete\" | Default: \"text\". Src: https://docs.x.immutable.com/docs/asset-metadata#property-type-mapping
	Type string `json:"type"`
}

MetadataSchemaProperty struct for MetadataSchemaProperty

func NewMetadataSchemaProperty

func NewMetadataSchemaProperty(filterable bool, name string, type_ string) *MetadataSchemaProperty

NewMetadataSchemaProperty instantiates a new MetadataSchemaProperty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataSchemaPropertyWithDefaults

func NewMetadataSchemaPropertyWithDefaults() *MetadataSchemaProperty

NewMetadataSchemaPropertyWithDefaults instantiates a new MetadataSchemaProperty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetadataSchemaProperty) GetFilterable

func (o *MetadataSchemaProperty) GetFilterable() bool

GetFilterable returns the Filterable field value

func (*MetadataSchemaProperty) GetFilterableOk

func (o *MetadataSchemaProperty) GetFilterableOk() (*bool, bool)

GetFilterableOk returns a tuple with the Filterable field value and a boolean to check if the value has been set.

func (*MetadataSchemaProperty) GetName

func (o *MetadataSchemaProperty) GetName() string

GetName returns the Name field value

func (*MetadataSchemaProperty) GetNameOk

func (o *MetadataSchemaProperty) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MetadataSchemaProperty) GetType

func (o *MetadataSchemaProperty) GetType() string

GetType returns the Type field value

func (*MetadataSchemaProperty) GetTypeOk

func (o *MetadataSchemaProperty) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (MetadataSchemaProperty) MarshalJSON

func (o MetadataSchemaProperty) MarshalJSON() ([]byte, error)

func (*MetadataSchemaProperty) SetFilterable

func (o *MetadataSchemaProperty) SetFilterable(v bool)

SetFilterable sets field value

func (*MetadataSchemaProperty) SetName

func (o *MetadataSchemaProperty) SetName(v string)

SetName sets field value

func (*MetadataSchemaProperty) SetType

func (o *MetadataSchemaProperty) SetType(v string)

SetType sets field value

type MetadataSchemaRequest

type MetadataSchemaRequest struct {
	// Sets the metadata as filterable
	Filterable *bool `json:"filterable,omitempty"`
	// Name of the metadata key
	Name string `json:"name"`
	// Type of the metadata. Values: \"enum\", \"text\", \"boolean\", \"continuous\", \"discrete\" | Default: \"text\". Src: https://docs.x.immutable.com/docs/asset-metadata#property-type-mapping
	Type *string `json:"type,omitempty"`
}

MetadataSchemaRequest struct for MetadataSchemaRequest

func NewMetadataSchemaRequest

func NewMetadataSchemaRequest(name string) *MetadataSchemaRequest

NewMetadataSchemaRequest instantiates a new MetadataSchemaRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataSchemaRequestWithDefaults

func NewMetadataSchemaRequestWithDefaults() *MetadataSchemaRequest

NewMetadataSchemaRequestWithDefaults instantiates a new MetadataSchemaRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetadataSchemaRequest) GetFilterable

func (o *MetadataSchemaRequest) GetFilterable() bool

GetFilterable returns the Filterable field value if set, zero value otherwise.

func (*MetadataSchemaRequest) GetFilterableOk

func (o *MetadataSchemaRequest) GetFilterableOk() (*bool, bool)

GetFilterableOk returns a tuple with the Filterable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataSchemaRequest) GetName

func (o *MetadataSchemaRequest) GetName() string

GetName returns the Name field value

func (*MetadataSchemaRequest) GetNameOk

func (o *MetadataSchemaRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MetadataSchemaRequest) GetType

func (o *MetadataSchemaRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*MetadataSchemaRequest) GetTypeOk

func (o *MetadataSchemaRequest) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataSchemaRequest) HasFilterable

func (o *MetadataSchemaRequest) HasFilterable() bool

HasFilterable returns a boolean if a field has been set.

func (*MetadataSchemaRequest) HasType

func (o *MetadataSchemaRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (MetadataSchemaRequest) MarshalJSON

func (o MetadataSchemaRequest) MarshalJSON() ([]byte, error)

func (*MetadataSchemaRequest) SetFilterable

func (o *MetadataSchemaRequest) SetFilterable(v bool)

SetFilterable gets a reference to the given bool and assigns it to the Filterable field.

func (*MetadataSchemaRequest) SetName

func (o *MetadataSchemaRequest) SetName(v string)

SetName sets field value

func (*MetadataSchemaRequest) SetType

func (o *MetadataSchemaRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Mint

type Mint struct {
	// Fee details
	Fees []Fee `json:"fees,omitempty"`
	// Status of this mint
	Status string `json:"status"`
	// Timestamp this mint was initiated
	Timestamp string `json:"timestamp"`
	Token     Token  `json:"token"`
	// Sequential ID of transaction in Immutable X
	TransactionId int32 `json:"transaction_id"`
	// Ethereum address of the user to whom the asset has been minted
	User string `json:"user"`
}

Mint struct for Mint

func NewMint

func NewMint(status string, timestamp string, token Token, transactionId int32, user string) *Mint

NewMint instantiates a new Mint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMintWithDefaults

func NewMintWithDefaults() *Mint

NewMintWithDefaults instantiates a new Mint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Mint) GetFees

func (o *Mint) GetFees() []Fee

GetFees returns the Fees field value if set, zero value otherwise.

func (*Mint) GetFeesOk

func (o *Mint) GetFeesOk() ([]Fee, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Mint) GetStatus

func (o *Mint) GetStatus() string

GetStatus returns the Status field value

func (*Mint) GetStatusOk

func (o *Mint) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Mint) GetTimestamp

func (o *Mint) GetTimestamp() string

GetTimestamp returns the Timestamp field value

func (*Mint) GetTimestampOk

func (o *Mint) GetTimestampOk() (*string, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*Mint) GetToken

func (o *Mint) GetToken() Token

GetToken returns the Token field value

func (*Mint) GetTokenOk

func (o *Mint) GetTokenOk() (*Token, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*Mint) GetTransactionId

func (o *Mint) GetTransactionId() int32

GetTransactionId returns the TransactionId field value

func (*Mint) GetTransactionIdOk

func (o *Mint) GetTransactionIdOk() (*int32, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value and a boolean to check if the value has been set.

func (*Mint) GetUser

func (o *Mint) GetUser() string

GetUser returns the User field value

func (*Mint) GetUserOk

func (o *Mint) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (*Mint) HasFees

func (o *Mint) HasFees() bool

HasFees returns a boolean if a field has been set.

func (Mint) MarshalJSON

func (o Mint) MarshalJSON() ([]byte, error)

func (*Mint) SetFees

func (o *Mint) SetFees(v []Fee)

SetFees gets a reference to the given []Fee and assigns it to the Fees field.

func (*Mint) SetStatus

func (o *Mint) SetStatus(v string)

SetStatus sets field value

func (*Mint) SetTimestamp

func (o *Mint) SetTimestamp(v string)

SetTimestamp sets field value

func (*Mint) SetToken

func (o *Mint) SetToken(v Token)

SetToken sets field value

func (*Mint) SetTransactionId

func (o *Mint) SetTransactionId(v int32)

SetTransactionId sets field value

func (*Mint) SetUser

func (o *Mint) SetUser(v string)

SetUser sets field value

type MintFee

type MintFee struct {
	// Fee percentage
	Percentage float32 `json:"percentage"`
	// Recipient wallet address
	Recipient string `json:"recipient"`
}

MintFee struct for MintFee

func NewMintFee

func NewMintFee(percentage float32, recipient string) *MintFee

NewMintFee instantiates a new MintFee object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMintFeeWithDefaults

func NewMintFeeWithDefaults() *MintFee

NewMintFeeWithDefaults instantiates a new MintFee object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MintFee) GetPercentage

func (o *MintFee) GetPercentage() float32

GetPercentage returns the Percentage field value

func (*MintFee) GetPercentageOk

func (o *MintFee) GetPercentageOk() (*float32, bool)

GetPercentageOk returns a tuple with the Percentage field value and a boolean to check if the value has been set.

func (*MintFee) GetRecipient

func (o *MintFee) GetRecipient() string

GetRecipient returns the Recipient field value

func (*MintFee) GetRecipientOk

func (o *MintFee) GetRecipientOk() (*string, bool)

GetRecipientOk returns a tuple with the Recipient field value and a boolean to check if the value has been set.

func (MintFee) MarshalJSON

func (o MintFee) MarshalJSON() ([]byte, error)

func (*MintFee) SetPercentage

func (o *MintFee) SetPercentage(v float32)

SetPercentage sets field value

func (*MintFee) SetRecipient

func (o *MintFee) SetRecipient(v string)

SetRecipient sets field value

type MintRequest

type MintRequest struct {
	// Signature from authorised minter
	AuthSignature string `json:"auth_signature"`
	// minting contract
	ContractAddress string `json:"contract_address"`
	// Global contract-level royalty fees
	Royalties []MintFee `json:"royalties,omitempty"`
	// Users to mint to
	Users []MintUser `json:"users"`
}

MintRequest struct for MintRequest

func NewMintRequest

func NewMintRequest(authSignature string, contractAddress string, users []MintUser) *MintRequest

NewMintRequest instantiates a new MintRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMintRequestWithDefaults

func NewMintRequestWithDefaults() *MintRequest

NewMintRequestWithDefaults instantiates a new MintRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MintRequest) GetAuthSignature

func (o *MintRequest) GetAuthSignature() string

GetAuthSignature returns the AuthSignature field value

func (*MintRequest) GetAuthSignatureOk

func (o *MintRequest) GetAuthSignatureOk() (*string, bool)

GetAuthSignatureOk returns a tuple with the AuthSignature field value and a boolean to check if the value has been set.

func (*MintRequest) GetContractAddress

func (o *MintRequest) GetContractAddress() string

GetContractAddress returns the ContractAddress field value

func (*MintRequest) GetContractAddressOk

func (o *MintRequest) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value and a boolean to check if the value has been set.

func (*MintRequest) GetRoyalties

func (o *MintRequest) GetRoyalties() []MintFee

GetRoyalties returns the Royalties field value if set, zero value otherwise.

func (*MintRequest) GetRoyaltiesOk

func (o *MintRequest) GetRoyaltiesOk() ([]MintFee, bool)

GetRoyaltiesOk returns a tuple with the Royalties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MintRequest) GetUsers

func (o *MintRequest) GetUsers() []MintUser

GetUsers returns the Users field value

func (*MintRequest) GetUsersOk

func (o *MintRequest) GetUsersOk() ([]MintUser, bool)

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (*MintRequest) HasRoyalties

func (o *MintRequest) HasRoyalties() bool

HasRoyalties returns a boolean if a field has been set.

func (MintRequest) MarshalJSON

func (o MintRequest) MarshalJSON() ([]byte, error)

func (*MintRequest) SetAuthSignature

func (o *MintRequest) SetAuthSignature(v string)

SetAuthSignature sets field value

func (*MintRequest) SetContractAddress

func (o *MintRequest) SetContractAddress(v string)

SetContractAddress sets field value

func (*MintRequest) SetRoyalties

func (o *MintRequest) SetRoyalties(v []MintFee)

SetRoyalties gets a reference to the given []MintFee and assigns it to the Royalties field.

func (*MintRequest) SetUsers

func (o *MintRequest) SetUsers(v []MintUser)

SetUsers sets field value

type MintResultDetails

type MintResultDetails struct {
	// Contract address of this token
	ContractAddress string `json:"contract_address"`
	// IMX ID of this token
	TokenId string `json:"token_id"`
	// Mint Transaction ID
	TxId int32 `json:"tx_id"`
}

MintResultDetails struct for MintResultDetails

func NewMintResultDetails

func NewMintResultDetails(contractAddress string, tokenId string, txId int32) *MintResultDetails

NewMintResultDetails instantiates a new MintResultDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMintResultDetailsWithDefaults

func NewMintResultDetailsWithDefaults() *MintResultDetails

NewMintResultDetailsWithDefaults instantiates a new MintResultDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MintResultDetails) GetContractAddress

func (o *MintResultDetails) GetContractAddress() string

GetContractAddress returns the ContractAddress field value

func (*MintResultDetails) GetContractAddressOk

func (o *MintResultDetails) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value and a boolean to check if the value has been set.

func (*MintResultDetails) GetTokenId

func (o *MintResultDetails) GetTokenId() string

GetTokenId returns the TokenId field value

func (*MintResultDetails) GetTokenIdOk

func (o *MintResultDetails) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value and a boolean to check if the value has been set.

func (*MintResultDetails) GetTxId

func (o *MintResultDetails) GetTxId() int32

GetTxId returns the TxId field value

func (*MintResultDetails) GetTxIdOk

func (o *MintResultDetails) GetTxIdOk() (*int32, bool)

GetTxIdOk returns a tuple with the TxId field value and a boolean to check if the value has been set.

func (MintResultDetails) MarshalJSON

func (o MintResultDetails) MarshalJSON() ([]byte, error)

func (*MintResultDetails) SetContractAddress

func (o *MintResultDetails) SetContractAddress(v string)

SetContractAddress sets field value

func (*MintResultDetails) SetTokenId

func (o *MintResultDetails) SetTokenId(v string)

SetTokenId sets field value

func (*MintResultDetails) SetTxId

func (o *MintResultDetails) SetTxId(v int32)

SetTxId sets field value

type MintTokenDataV2

type MintTokenDataV2 struct {
	// Token metadata blueprint
	Blueprint string `json:"blueprint"`
	// Token ID Note: While the Token ID is required to be a string, it still needs to be a valid uint256 as per the ERC-721 token standard.
	Id string `json:"id"`
	// List of mint fees
	Royalties []MintFee `json:"royalties,omitempty"`
}

MintTokenDataV2 struct for MintTokenDataV2

func NewMintTokenDataV2

func NewMintTokenDataV2(blueprint string, id string) *MintTokenDataV2

NewMintTokenDataV2 instantiates a new MintTokenDataV2 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMintTokenDataV2WithDefaults

func NewMintTokenDataV2WithDefaults() *MintTokenDataV2

NewMintTokenDataV2WithDefaults instantiates a new MintTokenDataV2 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MintTokenDataV2) GetBlueprint

func (o *MintTokenDataV2) GetBlueprint() string

GetBlueprint returns the Blueprint field value

func (*MintTokenDataV2) GetBlueprintOk

func (o *MintTokenDataV2) GetBlueprintOk() (*string, bool)

GetBlueprintOk returns a tuple with the Blueprint field value and a boolean to check if the value has been set.

func (*MintTokenDataV2) GetId

func (o *MintTokenDataV2) GetId() string

GetId returns the Id field value

func (*MintTokenDataV2) GetIdOk

func (o *MintTokenDataV2) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MintTokenDataV2) GetRoyalties

func (o *MintTokenDataV2) GetRoyalties() []MintFee

GetRoyalties returns the Royalties field value if set, zero value otherwise.

func (*MintTokenDataV2) GetRoyaltiesOk

func (o *MintTokenDataV2) GetRoyaltiesOk() ([]MintFee, bool)

GetRoyaltiesOk returns a tuple with the Royalties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MintTokenDataV2) HasRoyalties

func (o *MintTokenDataV2) HasRoyalties() bool

HasRoyalties returns a boolean if a field has been set.

func (MintTokenDataV2) MarshalJSON

func (o MintTokenDataV2) MarshalJSON() ([]byte, error)

func (*MintTokenDataV2) SetBlueprint

func (o *MintTokenDataV2) SetBlueprint(v string)

SetBlueprint sets field value

func (*MintTokenDataV2) SetId

func (o *MintTokenDataV2) SetId(v string)

SetId sets field value

func (*MintTokenDataV2) SetRoyalties

func (o *MintTokenDataV2) SetRoyalties(v []MintFee)

SetRoyalties gets a reference to the given []MintFee and assigns it to the Royalties field.

type MintTokensResponse

type MintTokensResponse struct {
	// List of mint result details
	Results []MintResultDetails `json:"results"`
}

MintTokensResponse struct for MintTokensResponse

func NewMintTokensResponse

func NewMintTokensResponse(results []MintResultDetails) *MintTokensResponse

NewMintTokensResponse instantiates a new MintTokensResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMintTokensResponseWithDefaults

func NewMintTokensResponseWithDefaults() *MintTokensResponse

NewMintTokensResponseWithDefaults instantiates a new MintTokensResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MintTokensResponse) GetResults

func (o *MintTokensResponse) GetResults() []MintResultDetails

GetResults returns the Results field value

func (*MintTokensResponse) GetResultsOk

func (o *MintTokensResponse) GetResultsOk() ([]MintResultDetails, bool)

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (MintTokensResponse) MarshalJSON

func (o MintTokensResponse) MarshalJSON() ([]byte, error)

func (*MintTokensResponse) SetResults

func (o *MintTokensResponse) SetResults(v []MintResultDetails)

SetResults sets field value

type MintUser

type MintUser struct {
	// List of Mint tokens
	Tokens []MintTokenDataV2 `json:"tokens"`
	// User wallet address
	User string `json:"user"`
}

MintUser struct for MintUser

func NewMintUser

func NewMintUser(tokens []MintTokenDataV2, user string) *MintUser

NewMintUser instantiates a new MintUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMintUserWithDefaults

func NewMintUserWithDefaults() *MintUser

NewMintUserWithDefaults instantiates a new MintUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MintUser) GetTokens

func (o *MintUser) GetTokens() []MintTokenDataV2

GetTokens returns the Tokens field value

func (*MintUser) GetTokensOk

func (o *MintUser) GetTokensOk() ([]MintTokenDataV2, bool)

GetTokensOk returns a tuple with the Tokens field value and a boolean to check if the value has been set.

func (*MintUser) GetUser

func (o *MintUser) GetUser() string

GetUser returns the User field value

func (*MintUser) GetUserOk

func (o *MintUser) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (MintUser) MarshalJSON

func (o MintUser) MarshalJSON() ([]byte, error)

func (*MintUser) SetTokens

func (o *MintUser) SetTokens(v []MintTokenDataV2)

SetTokens sets field value

func (*MintUser) SetUser

func (o *MintUser) SetUser(v string)

SetUser sets field value

type MintableTokenDetails

type MintableTokenDetails struct {
	// Blueprint of this token
	Blueprint string `json:"blueprint"`
	// ID provided by the client for this token
	ClientTokenId string `json:"client_token_id"`
	// IMX Id of this token
	TokenId string `json:"token_id"`
}

MintableTokenDetails struct for MintableTokenDetails

func NewMintableTokenDetails

func NewMintableTokenDetails(blueprint string, clientTokenId string, tokenId string) *MintableTokenDetails

NewMintableTokenDetails instantiates a new MintableTokenDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMintableTokenDetailsWithDefaults

func NewMintableTokenDetailsWithDefaults() *MintableTokenDetails

NewMintableTokenDetailsWithDefaults instantiates a new MintableTokenDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MintableTokenDetails) GetBlueprint

func (o *MintableTokenDetails) GetBlueprint() string

GetBlueprint returns the Blueprint field value

func (*MintableTokenDetails) GetBlueprintOk

func (o *MintableTokenDetails) GetBlueprintOk() (*string, bool)

GetBlueprintOk returns a tuple with the Blueprint field value and a boolean to check if the value has been set.

func (*MintableTokenDetails) GetClientTokenId

func (o *MintableTokenDetails) GetClientTokenId() string

GetClientTokenId returns the ClientTokenId field value

func (*MintableTokenDetails) GetClientTokenIdOk

func (o *MintableTokenDetails) GetClientTokenIdOk() (*string, bool)

GetClientTokenIdOk returns a tuple with the ClientTokenId field value and a boolean to check if the value has been set.

func (*MintableTokenDetails) GetTokenId

func (o *MintableTokenDetails) GetTokenId() string

GetTokenId returns the TokenId field value

func (*MintableTokenDetails) GetTokenIdOk

func (o *MintableTokenDetails) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value and a boolean to check if the value has been set.

func (MintableTokenDetails) MarshalJSON

func (o MintableTokenDetails) MarshalJSON() ([]byte, error)

func (*MintableTokenDetails) SetBlueprint

func (o *MintableTokenDetails) SetBlueprint(v string)

SetBlueprint sets field value

func (*MintableTokenDetails) SetClientTokenId

func (o *MintableTokenDetails) SetClientTokenId(v string)

SetClientTokenId sets field value

func (*MintableTokenDetails) SetTokenId

func (o *MintableTokenDetails) SetTokenId(v string)

SetTokenId sets field value

type MintsApi

type MintsApi interface {

	/*
		GetMint Get details of a mint with the given ID

		Get details of a mint with the given ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Mint ID. This is the transaction_id returned from listMints
		@return ApiGetMintRequest
	*/
	GetMint(ctx context.Context, id string) ApiGetMintRequest

	// GetMintExecute executes the request
	//  @return []Mint
	GetMintExecute(r ApiGetMintRequest) ([]Mint, *http.Response, error)

	/*
		GetMintableTokenDetailsByClientTokenId Get details of a mintable token with the given token address and token ID

		Get details of a mintable token with the given token address and token ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param tokenAddress Address of the ERC721 contract
		@param tokenId ERC721 token ID
		@return ApiGetMintableTokenDetailsByClientTokenIdRequest
	*/
	GetMintableTokenDetailsByClientTokenId(ctx context.Context, tokenAddress string, tokenId string) ApiGetMintableTokenDetailsByClientTokenIdRequest

	// GetMintableTokenDetailsByClientTokenIdExecute executes the request
	//  @return MintableTokenDetails
	GetMintableTokenDetailsByClientTokenIdExecute(r ApiGetMintableTokenDetailsByClientTokenIdRequest) (*MintableTokenDetails, *http.Response, error)

	/*
		ListMints Get a list of mints

		Get information about token mints. If you want to get information about tokens that have already been minted, use the listAssets endpoint.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListMintsRequest
	*/
	ListMints(ctx context.Context) ApiListMintsRequest

	// ListMintsExecute executes the request
	//  @return ListMintsResponse
	ListMintsExecute(r ApiListMintsRequest) (*ListMintsResponse, *http.Response, error)

	/*
		MintTokens Mint Tokens V2

		Mint tokens in a batch with fees

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiMintTokensRequest
	*/
	MintTokens(ctx context.Context) ApiMintTokensRequest

	// MintTokensExecute executes the request
	//  @return MintTokensResponse
	MintTokensExecute(r ApiMintTokensRequest) (*MintTokensResponse, *http.Response, error)
}

type MintsApiService

type MintsApiService service

MintsApiService MintsApi service

func (*MintsApiService) GetMint

GetMint Get details of a mint with the given ID

Get details of a mint with the given ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Mint ID. This is the transaction_id returned from listMints
@return ApiGetMintRequest

func (*MintsApiService) GetMintExecute

func (a *MintsApiService) GetMintExecute(r ApiGetMintRequest) ([]Mint, *http.Response, error)

Execute executes the request

@return []Mint

func (*MintsApiService) GetMintableTokenDetailsByClientTokenId

func (a *MintsApiService) GetMintableTokenDetailsByClientTokenId(ctx context.Context, tokenAddress string, tokenId string) ApiGetMintableTokenDetailsByClientTokenIdRequest

GetMintableTokenDetailsByClientTokenId Get details of a mintable token with the given token address and token ID

Get details of a mintable token with the given token address and token ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tokenAddress Address of the ERC721 contract
@param tokenId ERC721 token ID
@return ApiGetMintableTokenDetailsByClientTokenIdRequest

func (*MintsApiService) GetMintableTokenDetailsByClientTokenIdExecute

func (a *MintsApiService) GetMintableTokenDetailsByClientTokenIdExecute(r ApiGetMintableTokenDetailsByClientTokenIdRequest) (*MintableTokenDetails, *http.Response, error)

Execute executes the request

@return MintableTokenDetails

func (*MintsApiService) ListMints

ListMints Get a list of mints

Get information about token mints. If you want to get information about tokens that have already been minted, use the listAssets endpoint.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListMintsRequest

func (*MintsApiService) ListMintsExecute

Execute executes the request

@return ListMintsResponse

func (*MintsApiService) MintTokens

MintTokens Mint Tokens V2

Mint tokens in a batch with fees

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMintTokensRequest

func (*MintsApiService) MintTokensExecute

Execute executes the request

@return MintTokensResponse

type NftCheckoutPrimaryApi added in v1.0.0

type NftCheckoutPrimaryApi interface {

	/*
		CreateNftPrimary Create NFT primary sale transaction

		Creates a transaction representing minting an NFT with a card payment.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateNftPrimaryRequest
	*/
	CreateNftPrimary(ctx context.Context) ApiCreateNftPrimaryRequest

	// CreateNftPrimaryExecute executes the request
	//  @return NftprimarytransactionCreateResponse
	CreateNftPrimaryExecute(r ApiCreateNftPrimaryRequest) (*NftprimarytransactionCreateResponse, *http.Response, error)

	/*
		GetCurrenciesNFTCheckoutPrimary Get currencies with limits

		Returns a list of supported currencies and their limits

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetCurrenciesNFTCheckoutPrimaryRequest
	*/
	GetCurrenciesNFTCheckoutPrimary(ctx context.Context) ApiGetCurrenciesNFTCheckoutPrimaryRequest

	// GetCurrenciesNFTCheckoutPrimaryExecute executes the request
	//  @return CurrencyWithLimits
	GetCurrenciesNFTCheckoutPrimaryExecute(r ApiGetCurrenciesNFTCheckoutPrimaryRequest) (*CurrencyWithLimits, *http.Response, error)

	/*
		GetNftPrimaryTransaction Get NFT primary sale transaction by id

		given a transaction id, returns the corresponding transaction representing a mint executed from a card payment

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param transactionId Transaction id
		@return ApiGetNftPrimaryTransactionRequest
	*/
	GetNftPrimaryTransaction(ctx context.Context, transactionId string) ApiGetNftPrimaryTransactionRequest

	// GetNftPrimaryTransactionExecute executes the request
	//  @return NftprimarytransactionGetResponse
	GetNftPrimaryTransactionExecute(r ApiGetNftPrimaryTransactionRequest) (*NftprimarytransactionGetResponse, *http.Response, error)

	/*
		GetNftPrimaryTransactions Get a list of NFT primary sales transactions

		Returns a list of NFT primary sales transactions

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetNftPrimaryTransactionsRequest
	*/
	GetNftPrimaryTransactions(ctx context.Context) ApiGetNftPrimaryTransactionsRequest

	// GetNftPrimaryTransactionsExecute executes the request
	//  @return NftprimarytransactionListTransactionsResponse
	GetNftPrimaryTransactionsExecute(r ApiGetNftPrimaryTransactionsRequest) (*NftprimarytransactionListTransactionsResponse, *http.Response, error)

	/*
		RegisterNftPrimarySalesContract Executes NFT primary sales contract registration

		Registers a new contract for use in the minting with fiat card flow

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiRegisterNftPrimarySalesContractRequest
	*/
	RegisterNftPrimarySalesContract(ctx context.Context) ApiRegisterNftPrimarySalesContractRequest

	// RegisterNftPrimarySalesContractExecute executes the request
	//  @return ContractCreateResponse
	RegisterNftPrimarySalesContractExecute(r ApiRegisterNftPrimarySalesContractRequest) (*ContractCreateResponse, *http.Response, error)
}

type NftCheckoutPrimaryApiService added in v1.0.0

type NftCheckoutPrimaryApiService service

NftCheckoutPrimaryApiService NftCheckoutPrimaryApi service

func (*NftCheckoutPrimaryApiService) CreateNftPrimary added in v1.0.0

CreateNftPrimary Create NFT primary sale transaction

Creates a transaction representing minting an NFT with a card payment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateNftPrimaryRequest

func (*NftCheckoutPrimaryApiService) CreateNftPrimaryExecute added in v1.0.0

Execute executes the request

@return NftprimarytransactionCreateResponse

func (*NftCheckoutPrimaryApiService) GetCurrenciesNFTCheckoutPrimary added in v1.0.0

GetCurrenciesNFTCheckoutPrimary Get currencies with limits

Returns a list of supported currencies and their limits

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetCurrenciesNFTCheckoutPrimaryRequest

func (*NftCheckoutPrimaryApiService) GetCurrenciesNFTCheckoutPrimaryExecute added in v1.0.0

Execute executes the request

@return CurrencyWithLimits

func (*NftCheckoutPrimaryApiService) GetNftPrimaryTransaction added in v1.0.0

func (a *NftCheckoutPrimaryApiService) GetNftPrimaryTransaction(ctx context.Context, transactionId string) ApiGetNftPrimaryTransactionRequest

GetNftPrimaryTransaction Get NFT primary sale transaction by id

given a transaction id, returns the corresponding transaction representing a mint executed from a card payment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param transactionId Transaction id
@return ApiGetNftPrimaryTransactionRequest

func (*NftCheckoutPrimaryApiService) GetNftPrimaryTransactionExecute added in v1.0.0

Execute executes the request

@return NftprimarytransactionGetResponse

func (*NftCheckoutPrimaryApiService) GetNftPrimaryTransactions added in v1.0.0

GetNftPrimaryTransactions Get a list of NFT primary sales transactions

Returns a list of NFT primary sales transactions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetNftPrimaryTransactionsRequest

func (*NftCheckoutPrimaryApiService) GetNftPrimaryTransactionsExecute added in v1.0.0

Execute executes the request

@return NftprimarytransactionListTransactionsResponse

func (*NftCheckoutPrimaryApiService) RegisterNftPrimarySalesContract added in v1.0.0

RegisterNftPrimarySalesContract Executes NFT primary sales contract registration

Registers a new contract for use in the minting with fiat card flow

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRegisterNftPrimarySalesContractRequest

func (*NftCheckoutPrimaryApiService) RegisterNftPrimarySalesContractExecute added in v1.0.0

Execute executes the request

@return ContractCreateResponse

type NftprimarytransactionCreateAPIRequest added in v1.0.0

type NftprimarytransactionCreateAPIRequest struct {
	// Contract address of the asset to be created
	ContractAddress *string `json:"contract_address,omitempty"`
	// Temporary asset id
	OfferId *string `json:"offer_id,omitempty"`
	// Provider name
	Provider *string `json:"provider,omitempty"`
	// Ethereum address of the user who wants to create transaction
	UserWalletAddress *string                            `json:"user_wallet_address,omitempty"`
	Widget            *NftprimarytransactionWidgetParams `json:"widget,omitempty"`
}

NftprimarytransactionCreateAPIRequest struct for NftprimarytransactionCreateAPIRequest

func NewNftprimarytransactionCreateAPIRequest added in v1.0.0

func NewNftprimarytransactionCreateAPIRequest() *NftprimarytransactionCreateAPIRequest

NewNftprimarytransactionCreateAPIRequest instantiates a new NftprimarytransactionCreateAPIRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNftprimarytransactionCreateAPIRequestWithDefaults added in v1.0.0

func NewNftprimarytransactionCreateAPIRequestWithDefaults() *NftprimarytransactionCreateAPIRequest

NewNftprimarytransactionCreateAPIRequestWithDefaults instantiates a new NftprimarytransactionCreateAPIRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NftprimarytransactionCreateAPIRequest) GetContractAddress added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) GetContractAddress() string

GetContractAddress returns the ContractAddress field value if set, zero value otherwise.

func (*NftprimarytransactionCreateAPIRequest) GetContractAddressOk added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateAPIRequest) GetOfferId added in v1.0.0

GetOfferId returns the OfferId field value if set, zero value otherwise.

func (*NftprimarytransactionCreateAPIRequest) GetOfferIdOk added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) GetOfferIdOk() (*string, bool)

GetOfferIdOk returns a tuple with the OfferId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateAPIRequest) GetProvider added in v1.0.0

GetProvider returns the Provider field value if set, zero value otherwise.

func (*NftprimarytransactionCreateAPIRequest) GetProviderOk added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateAPIRequest) GetUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) GetUserWalletAddress() string

GetUserWalletAddress returns the UserWalletAddress field value if set, zero value otherwise.

func (*NftprimarytransactionCreateAPIRequest) GetUserWalletAddressOk added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) GetUserWalletAddressOk() (*string, bool)

GetUserWalletAddressOk returns a tuple with the UserWalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateAPIRequest) GetWidget added in v1.0.0

GetWidget returns the Widget field value if set, zero value otherwise.

func (*NftprimarytransactionCreateAPIRequest) GetWidgetOk added in v1.0.0

GetWidgetOk returns a tuple with the Widget field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateAPIRequest) HasContractAddress added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) HasContractAddress() bool

HasContractAddress returns a boolean if a field has been set.

func (*NftprimarytransactionCreateAPIRequest) HasOfferId added in v1.0.0

HasOfferId returns a boolean if a field has been set.

func (*NftprimarytransactionCreateAPIRequest) HasProvider added in v1.0.0

HasProvider returns a boolean if a field has been set.

func (*NftprimarytransactionCreateAPIRequest) HasUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) HasUserWalletAddress() bool

HasUserWalletAddress returns a boolean if a field has been set.

func (*NftprimarytransactionCreateAPIRequest) HasWidget added in v1.0.0

HasWidget returns a boolean if a field has been set.

func (NftprimarytransactionCreateAPIRequest) MarshalJSON added in v1.0.0

func (o NftprimarytransactionCreateAPIRequest) MarshalJSON() ([]byte, error)

func (*NftprimarytransactionCreateAPIRequest) SetContractAddress added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) SetContractAddress(v string)

SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.

func (*NftprimarytransactionCreateAPIRequest) SetOfferId added in v1.0.0

SetOfferId gets a reference to the given string and assigns it to the OfferId field.

func (*NftprimarytransactionCreateAPIRequest) SetProvider added in v1.0.0

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*NftprimarytransactionCreateAPIRequest) SetUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateAPIRequest) SetUserWalletAddress(v string)

SetUserWalletAddress gets a reference to the given string and assigns it to the UserWalletAddress field.

func (*NftprimarytransactionCreateAPIRequest) SetWidget added in v1.0.0

SetWidget gets a reference to the given NftprimarytransactionWidgetParams and assigns it to the Widget field.

type NftprimarytransactionCreateResponse added in v1.0.0

type NftprimarytransactionCreateResponse struct {
	// Contract address of the asset to be created
	ContractAddress *string `json:"contract_address,omitempty"`
	// Temporary asset id. Might be a token id if the token id is known or a generic description if it's not
	OfferId *string `json:"offer_id,omitempty"`
	// Provider name
	Provider *string `json:"provider,omitempty"`
	// Wallet address that will receive the payment (in crypto) from the checkout provider for the minted NFT
	SellerWalletAddress *string `json:"seller_wallet_address,omitempty"`
	// ID of the token that has been successfully minted - should be the same as `offer_id`
	TokenId *string `json:"token_id,omitempty"`
	// Transaction id
	TransactionId *string `json:"transaction_id,omitempty"`
	// NFT purchase URL given by the checkout provider that the user can use to complete payment
	Url *string `json:"url,omitempty"`
	// Ethereum address of the user who wants to create transaction
	UserWalletAddress *string `json:"user_wallet_address,omitempty"`
}

NftprimarytransactionCreateResponse struct for NftprimarytransactionCreateResponse

func NewNftprimarytransactionCreateResponse added in v1.0.0

func NewNftprimarytransactionCreateResponse() *NftprimarytransactionCreateResponse

NewNftprimarytransactionCreateResponse instantiates a new NftprimarytransactionCreateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNftprimarytransactionCreateResponseWithDefaults added in v1.0.0

func NewNftprimarytransactionCreateResponseWithDefaults() *NftprimarytransactionCreateResponse

NewNftprimarytransactionCreateResponseWithDefaults instantiates a new NftprimarytransactionCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NftprimarytransactionCreateResponse) GetContractAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetContractAddress() string

GetContractAddress returns the ContractAddress field value if set, zero value otherwise.

func (*NftprimarytransactionCreateResponse) GetContractAddressOk added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateResponse) GetOfferId added in v1.0.0

GetOfferId returns the OfferId field value if set, zero value otherwise.

func (*NftprimarytransactionCreateResponse) GetOfferIdOk added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetOfferIdOk() (*string, bool)

GetOfferIdOk returns a tuple with the OfferId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateResponse) GetProvider added in v1.0.0

GetProvider returns the Provider field value if set, zero value otherwise.

func (*NftprimarytransactionCreateResponse) GetProviderOk added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateResponse) GetSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetSellerWalletAddress() string

GetSellerWalletAddress returns the SellerWalletAddress field value if set, zero value otherwise.

func (*NftprimarytransactionCreateResponse) GetSellerWalletAddressOk added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetSellerWalletAddressOk() (*string, bool)

GetSellerWalletAddressOk returns a tuple with the SellerWalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateResponse) GetTokenId added in v1.0.0

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*NftprimarytransactionCreateResponse) GetTokenIdOk added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateResponse) GetTransactionId added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetTransactionId() string

GetTransactionId returns the TransactionId field value if set, zero value otherwise.

func (*NftprimarytransactionCreateResponse) GetTransactionIdOk added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetTransactionIdOk() (*string, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateResponse) GetUrl added in v1.0.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*NftprimarytransactionCreateResponse) GetUrlOk added in v1.0.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateResponse) GetUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetUserWalletAddress() string

GetUserWalletAddress returns the UserWalletAddress field value if set, zero value otherwise.

func (*NftprimarytransactionCreateResponse) GetUserWalletAddressOk added in v1.0.0

func (o *NftprimarytransactionCreateResponse) GetUserWalletAddressOk() (*string, bool)

GetUserWalletAddressOk returns a tuple with the UserWalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionCreateResponse) HasContractAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) HasContractAddress() bool

HasContractAddress returns a boolean if a field has been set.

func (*NftprimarytransactionCreateResponse) HasOfferId added in v1.0.0

func (o *NftprimarytransactionCreateResponse) HasOfferId() bool

HasOfferId returns a boolean if a field has been set.

func (*NftprimarytransactionCreateResponse) HasProvider added in v1.0.0

func (o *NftprimarytransactionCreateResponse) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*NftprimarytransactionCreateResponse) HasSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) HasSellerWalletAddress() bool

HasSellerWalletAddress returns a boolean if a field has been set.

func (*NftprimarytransactionCreateResponse) HasTokenId added in v1.0.0

func (o *NftprimarytransactionCreateResponse) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (*NftprimarytransactionCreateResponse) HasTransactionId added in v1.0.0

func (o *NftprimarytransactionCreateResponse) HasTransactionId() bool

HasTransactionId returns a boolean if a field has been set.

func (*NftprimarytransactionCreateResponse) HasUrl added in v1.0.0

HasUrl returns a boolean if a field has been set.

func (*NftprimarytransactionCreateResponse) HasUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) HasUserWalletAddress() bool

HasUserWalletAddress returns a boolean if a field has been set.

func (NftprimarytransactionCreateResponse) MarshalJSON added in v1.0.0

func (o NftprimarytransactionCreateResponse) MarshalJSON() ([]byte, error)

func (*NftprimarytransactionCreateResponse) SetContractAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) SetContractAddress(v string)

SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.

func (*NftprimarytransactionCreateResponse) SetOfferId added in v1.0.0

SetOfferId gets a reference to the given string and assigns it to the OfferId field.

func (*NftprimarytransactionCreateResponse) SetProvider added in v1.0.0

func (o *NftprimarytransactionCreateResponse) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*NftprimarytransactionCreateResponse) SetSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) SetSellerWalletAddress(v string)

SetSellerWalletAddress gets a reference to the given string and assigns it to the SellerWalletAddress field.

func (*NftprimarytransactionCreateResponse) SetTokenId added in v1.0.0

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

func (*NftprimarytransactionCreateResponse) SetTransactionId added in v1.0.0

func (o *NftprimarytransactionCreateResponse) SetTransactionId(v string)

SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.

func (*NftprimarytransactionCreateResponse) SetUrl added in v1.0.0

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*NftprimarytransactionCreateResponse) SetUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionCreateResponse) SetUserWalletAddress(v string)

SetUserWalletAddress gets a reference to the given string and assigns it to the UserWalletAddress field.

type NftprimarytransactionGetResponse added in v1.0.0

type NftprimarytransactionGetResponse struct {
	// Contract address of the asset
	ContractAddress *string `json:"contract_address,omitempty"`
	// Temporary asset id. Might be a token id if the token id is known or a generic description if it's not
	OfferId *string `json:"offer_id,omitempty"`
	// Provider name
	Provider *string `json:"provider,omitempty"`
	// Ethereum address of the seller
	SellerWalletAddress *string `json:"seller_wallet_address,omitempty"`
	// Transaction status enums(created, waitingPayment, pending, completed, failed)
	Status *string `json:"status,omitempty"`
	// ID of the token that has been successfully minted - might or not be the same as `offer_id`
	TokenId *string `json:"token_id,omitempty"`
	// Transaction id
	TransactionId *string `json:"transaction_id,omitempty"`
	// Wallet address that receives the minted NFT
	UserWalletAddress *string `json:"user_wallet_address,omitempty"`
}

NftprimarytransactionGetResponse struct for NftprimarytransactionGetResponse

func NewNftprimarytransactionGetResponse added in v1.0.0

func NewNftprimarytransactionGetResponse() *NftprimarytransactionGetResponse

NewNftprimarytransactionGetResponse instantiates a new NftprimarytransactionGetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNftprimarytransactionGetResponseWithDefaults added in v1.0.0

func NewNftprimarytransactionGetResponseWithDefaults() *NftprimarytransactionGetResponse

NewNftprimarytransactionGetResponseWithDefaults instantiates a new NftprimarytransactionGetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NftprimarytransactionGetResponse) GetContractAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetContractAddress() string

GetContractAddress returns the ContractAddress field value if set, zero value otherwise.

func (*NftprimarytransactionGetResponse) GetContractAddressOk added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionGetResponse) GetOfferId added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetOfferId() string

GetOfferId returns the OfferId field value if set, zero value otherwise.

func (*NftprimarytransactionGetResponse) GetOfferIdOk added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetOfferIdOk() (*string, bool)

GetOfferIdOk returns a tuple with the OfferId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionGetResponse) GetProvider added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*NftprimarytransactionGetResponse) GetProviderOk added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionGetResponse) GetSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetSellerWalletAddress() string

GetSellerWalletAddress returns the SellerWalletAddress field value if set, zero value otherwise.

func (*NftprimarytransactionGetResponse) GetSellerWalletAddressOk added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetSellerWalletAddressOk() (*string, bool)

GetSellerWalletAddressOk returns a tuple with the SellerWalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionGetResponse) GetStatus added in v1.0.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*NftprimarytransactionGetResponse) GetStatusOk added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionGetResponse) GetTokenId added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetTokenId() string

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*NftprimarytransactionGetResponse) GetTokenIdOk added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionGetResponse) GetTransactionId added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetTransactionId() string

GetTransactionId returns the TransactionId field value if set, zero value otherwise.

func (*NftprimarytransactionGetResponse) GetTransactionIdOk added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetTransactionIdOk() (*string, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionGetResponse) GetUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetUserWalletAddress() string

GetUserWalletAddress returns the UserWalletAddress field value if set, zero value otherwise.

func (*NftprimarytransactionGetResponse) GetUserWalletAddressOk added in v1.0.0

func (o *NftprimarytransactionGetResponse) GetUserWalletAddressOk() (*string, bool)

GetUserWalletAddressOk returns a tuple with the UserWalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionGetResponse) HasContractAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) HasContractAddress() bool

HasContractAddress returns a boolean if a field has been set.

func (*NftprimarytransactionGetResponse) HasOfferId added in v1.0.0

func (o *NftprimarytransactionGetResponse) HasOfferId() bool

HasOfferId returns a boolean if a field has been set.

func (*NftprimarytransactionGetResponse) HasProvider added in v1.0.0

func (o *NftprimarytransactionGetResponse) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*NftprimarytransactionGetResponse) HasSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) HasSellerWalletAddress() bool

HasSellerWalletAddress returns a boolean if a field has been set.

func (*NftprimarytransactionGetResponse) HasStatus added in v1.0.0

func (o *NftprimarytransactionGetResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*NftprimarytransactionGetResponse) HasTokenId added in v1.0.0

func (o *NftprimarytransactionGetResponse) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (*NftprimarytransactionGetResponse) HasTransactionId added in v1.0.0

func (o *NftprimarytransactionGetResponse) HasTransactionId() bool

HasTransactionId returns a boolean if a field has been set.

func (*NftprimarytransactionGetResponse) HasUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) HasUserWalletAddress() bool

HasUserWalletAddress returns a boolean if a field has been set.

func (NftprimarytransactionGetResponse) MarshalJSON added in v1.0.0

func (o NftprimarytransactionGetResponse) MarshalJSON() ([]byte, error)

func (*NftprimarytransactionGetResponse) SetContractAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) SetContractAddress(v string)

SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.

func (*NftprimarytransactionGetResponse) SetOfferId added in v1.0.0

func (o *NftprimarytransactionGetResponse) SetOfferId(v string)

SetOfferId gets a reference to the given string and assigns it to the OfferId field.

func (*NftprimarytransactionGetResponse) SetProvider added in v1.0.0

func (o *NftprimarytransactionGetResponse) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*NftprimarytransactionGetResponse) SetSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) SetSellerWalletAddress(v string)

SetSellerWalletAddress gets a reference to the given string and assigns it to the SellerWalletAddress field.

func (*NftprimarytransactionGetResponse) SetStatus added in v1.0.0

func (o *NftprimarytransactionGetResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*NftprimarytransactionGetResponse) SetTokenId added in v1.0.0

func (o *NftprimarytransactionGetResponse) SetTokenId(v string)

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

func (*NftprimarytransactionGetResponse) SetTransactionId added in v1.0.0

func (o *NftprimarytransactionGetResponse) SetTransactionId(v string)

SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.

func (*NftprimarytransactionGetResponse) SetUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionGetResponse) SetUserWalletAddress(v string)

SetUserWalletAddress gets a reference to the given string and assigns it to the UserWalletAddress field.

type NftprimarytransactionListTransactionsResponse added in v1.0.0

type NftprimarytransactionListTransactionsResponse struct {
	// Generated cursor returned by previous query
	Cursor *string `json:"cursor,omitempty"`
	// Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
	Remaining *int32 `json:"remaining,omitempty"`
	// Transactions matching query parameters
	Result []NftprimarytransactionTransactionData `json:"result,omitempty"`
}

NftprimarytransactionListTransactionsResponse struct for NftprimarytransactionListTransactionsResponse

func NewNftprimarytransactionListTransactionsResponse added in v1.0.0

func NewNftprimarytransactionListTransactionsResponse() *NftprimarytransactionListTransactionsResponse

NewNftprimarytransactionListTransactionsResponse instantiates a new NftprimarytransactionListTransactionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNftprimarytransactionListTransactionsResponseWithDefaults added in v1.0.0

func NewNftprimarytransactionListTransactionsResponseWithDefaults() *NftprimarytransactionListTransactionsResponse

NewNftprimarytransactionListTransactionsResponseWithDefaults instantiates a new NftprimarytransactionListTransactionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NftprimarytransactionListTransactionsResponse) GetCursor added in v1.0.0

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*NftprimarytransactionListTransactionsResponse) GetCursorOk added in v1.0.0

GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionListTransactionsResponse) GetRemaining added in v1.0.0

GetRemaining returns the Remaining field value if set, zero value otherwise.

func (*NftprimarytransactionListTransactionsResponse) GetRemainingOk added in v1.0.0

GetRemainingOk returns a tuple with the Remaining field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionListTransactionsResponse) GetResult added in v1.0.0

GetResult returns the Result field value if set, zero value otherwise.

func (*NftprimarytransactionListTransactionsResponse) GetResultOk added in v1.0.0

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionListTransactionsResponse) HasCursor added in v1.0.0

HasCursor returns a boolean if a field has been set.

func (*NftprimarytransactionListTransactionsResponse) HasRemaining added in v1.0.0

HasRemaining returns a boolean if a field has been set.

func (*NftprimarytransactionListTransactionsResponse) HasResult added in v1.0.0

HasResult returns a boolean if a field has been set.

func (NftprimarytransactionListTransactionsResponse) MarshalJSON added in v1.0.0

func (*NftprimarytransactionListTransactionsResponse) SetCursor added in v1.0.0

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*NftprimarytransactionListTransactionsResponse) SetRemaining added in v1.0.0

SetRemaining gets a reference to the given int32 and assigns it to the Remaining field.

func (*NftprimarytransactionListTransactionsResponse) SetResult added in v1.0.0

SetResult gets a reference to the given []NftprimarytransactionTransactionData and assigns it to the Result field.

type NftprimarytransactionTransactionData added in v1.0.0

type NftprimarytransactionTransactionData struct {
	// Contract address of the asset
	ContractAddress *string `json:"contract_address,omitempty"`
	// Timestamp when the transaction was created
	CreatedAt *string `json:"created_at,omitempty"`
	// External transaction id
	ExternalId *string `json:"external_id,omitempty"`
	// Fees to pay on this transaction
	FeesAmount *float32 `json:"fees_amount,omitempty"`
	// Amount of the currency specified in `from_currency` that the buyer paid for the transaction
	FromAmount *float32 `json:"from_amount,omitempty"`
	// Currency that the buyer used for the transaction
	FromCurrency *string `json:"from_currency,omitempty"`
	// Minting transaction ID - see mintTokens response
	MintId *string `json:"mint_id,omitempty"`
	// Mint status
	MintStatus *string `json:"mint_status,omitempty"`
	// Temporary asset id. Might be a token id if the token id is known or a generic description if it's not
	OfferId *string `json:"offer_id,omitempty"`
	// Provider name
	Provider *string `json:"provider,omitempty"`
	// Ethereum address of the seller
	SellerWalletAddress *string `json:"seller_wallet_address,omitempty"`
	// Transaction status enums(created, waitingPayment, pending, completed, failed)
	Status *string `json:"status,omitempty"`
	// Amount of the currency specified in `to_currency` that the seller received from the checkout provider for the transaction
	ToAmount *float32 `json:"to_amount,omitempty"`
	// Currency (crypto) that the checkout provider sent to the seller for the transaction
	ToCurrency *string `json:"to_currency,omitempty"`
	// ID of the token that has been successfully minted - should be the same as `offer_id`
	TokenId *string `json:"token_id,omitempty"`
	// Transaction id
	TransactionId *string `json:"transaction_id,omitempty"`
	// Timestamp when the transaction was updated
	UpdatedAt *string `json:"updated_at,omitempty"`
	// Wallet address that receives the minted NFT
	UserWalletAddress *string `json:"user_wallet_address,omitempty"`
}

NftprimarytransactionTransactionData struct for NftprimarytransactionTransactionData

func NewNftprimarytransactionTransactionData added in v1.0.0

func NewNftprimarytransactionTransactionData() *NftprimarytransactionTransactionData

NewNftprimarytransactionTransactionData instantiates a new NftprimarytransactionTransactionData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNftprimarytransactionTransactionDataWithDefaults added in v1.0.0

func NewNftprimarytransactionTransactionDataWithDefaults() *NftprimarytransactionTransactionData

NewNftprimarytransactionTransactionDataWithDefaults instantiates a new NftprimarytransactionTransactionData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NftprimarytransactionTransactionData) GetContractAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetContractAddress() string

GetContractAddress returns the ContractAddress field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetContractAddressOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetContractAddressOk() (*string, bool)

GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetCreatedAt added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetCreatedAtOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetExternalId added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetExternalIdOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetFeesAmount added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetFeesAmount() float32

GetFeesAmount returns the FeesAmount field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetFeesAmountOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetFeesAmountOk() (*float32, bool)

GetFeesAmountOk returns a tuple with the FeesAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetFromAmount added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetFromAmount() float32

GetFromAmount returns the FromAmount field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetFromAmountOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetFromAmountOk() (*float32, bool)

GetFromAmountOk returns a tuple with the FromAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetFromCurrency added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetFromCurrency() string

GetFromCurrency returns the FromCurrency field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetFromCurrencyOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetFromCurrencyOk() (*string, bool)

GetFromCurrencyOk returns a tuple with the FromCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetMintId added in v1.0.0

GetMintId returns the MintId field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetMintIdOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetMintIdOk() (*string, bool)

GetMintIdOk returns a tuple with the MintId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetMintStatus added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetMintStatus() string

GetMintStatus returns the MintStatus field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetMintStatusOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetMintStatusOk() (*string, bool)

GetMintStatusOk returns a tuple with the MintStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetOfferId added in v1.0.0

GetOfferId returns the OfferId field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetOfferIdOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetOfferIdOk() (*string, bool)

GetOfferIdOk returns a tuple with the OfferId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetProvider added in v1.0.0

GetProvider returns the Provider field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetProviderOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetSellerWalletAddress() string

GetSellerWalletAddress returns the SellerWalletAddress field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetSellerWalletAddressOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetSellerWalletAddressOk() (*string, bool)

GetSellerWalletAddressOk returns a tuple with the SellerWalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetStatus added in v1.0.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetStatusOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetToAmount added in v1.0.0

GetToAmount returns the ToAmount field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetToAmountOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetToAmountOk() (*float32, bool)

GetToAmountOk returns a tuple with the ToAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetToCurrency added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetToCurrency() string

GetToCurrency returns the ToCurrency field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetToCurrencyOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetToCurrencyOk() (*string, bool)

GetToCurrencyOk returns a tuple with the ToCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetTokenId added in v1.0.0

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetTokenIdOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetTransactionId added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetTransactionId() string

GetTransactionId returns the TransactionId field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetTransactionIdOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetTransactionIdOk() (*string, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetUpdatedAt added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetUpdatedAtOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) GetUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetUserWalletAddress() string

GetUserWalletAddress returns the UserWalletAddress field value if set, zero value otherwise.

func (*NftprimarytransactionTransactionData) GetUserWalletAddressOk added in v1.0.0

func (o *NftprimarytransactionTransactionData) GetUserWalletAddressOk() (*string, bool)

GetUserWalletAddressOk returns a tuple with the UserWalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionTransactionData) HasContractAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasContractAddress() bool

HasContractAddress returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasCreatedAt added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasExternalId added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasFeesAmount added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasFeesAmount() bool

HasFeesAmount returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasFromAmount added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasFromAmount() bool

HasFromAmount returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasFromCurrency added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasFromCurrency() bool

HasFromCurrency returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasMintId added in v1.0.0

HasMintId returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasMintStatus added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasMintStatus() bool

HasMintStatus returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasOfferId added in v1.0.0

HasOfferId returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasProvider added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasSellerWalletAddress() bool

HasSellerWalletAddress returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasStatus added in v1.0.0

HasStatus returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasToAmount added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasToAmount() bool

HasToAmount returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasToCurrency added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasToCurrency() bool

HasToCurrency returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasTokenId added in v1.0.0

HasTokenId returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasTransactionId added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasTransactionId() bool

HasTransactionId returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasUpdatedAt added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*NftprimarytransactionTransactionData) HasUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) HasUserWalletAddress() bool

HasUserWalletAddress returns a boolean if a field has been set.

func (NftprimarytransactionTransactionData) MarshalJSON added in v1.0.0

func (o NftprimarytransactionTransactionData) MarshalJSON() ([]byte, error)

func (*NftprimarytransactionTransactionData) SetContractAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetContractAddress(v string)

SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.

func (*NftprimarytransactionTransactionData) SetCreatedAt added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*NftprimarytransactionTransactionData) SetExternalId added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*NftprimarytransactionTransactionData) SetFeesAmount added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetFeesAmount(v float32)

SetFeesAmount gets a reference to the given float32 and assigns it to the FeesAmount field.

func (*NftprimarytransactionTransactionData) SetFromAmount added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetFromAmount(v float32)

SetFromAmount gets a reference to the given float32 and assigns it to the FromAmount field.

func (*NftprimarytransactionTransactionData) SetFromCurrency added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetFromCurrency(v string)

SetFromCurrency gets a reference to the given string and assigns it to the FromCurrency field.

func (*NftprimarytransactionTransactionData) SetMintId added in v1.0.0

SetMintId gets a reference to the given string and assigns it to the MintId field.

func (*NftprimarytransactionTransactionData) SetMintStatus added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetMintStatus(v string)

SetMintStatus gets a reference to the given string and assigns it to the MintStatus field.

func (*NftprimarytransactionTransactionData) SetOfferId added in v1.0.0

SetOfferId gets a reference to the given string and assigns it to the OfferId field.

func (*NftprimarytransactionTransactionData) SetProvider added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*NftprimarytransactionTransactionData) SetSellerWalletAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetSellerWalletAddress(v string)

SetSellerWalletAddress gets a reference to the given string and assigns it to the SellerWalletAddress field.

func (*NftprimarytransactionTransactionData) SetStatus added in v1.0.0

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*NftprimarytransactionTransactionData) SetToAmount added in v1.0.0

SetToAmount gets a reference to the given float32 and assigns it to the ToAmount field.

func (*NftprimarytransactionTransactionData) SetToCurrency added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetToCurrency(v string)

SetToCurrency gets a reference to the given string and assigns it to the ToCurrency field.

func (*NftprimarytransactionTransactionData) SetTokenId added in v1.0.0

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

func (*NftprimarytransactionTransactionData) SetTransactionId added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetTransactionId(v string)

SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.

func (*NftprimarytransactionTransactionData) SetUpdatedAt added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (*NftprimarytransactionTransactionData) SetUserWalletAddress added in v1.0.0

func (o *NftprimarytransactionTransactionData) SetUserWalletAddress(v string)

SetUserWalletAddress gets a reference to the given string and assigns it to the UserWalletAddress field.

type NftprimarytransactionWidgetParams added in v1.0.0

type NftprimarytransactionWidgetParams struct {
	// enums(light, dark)
	Theme *string `json:"theme,omitempty"`
}

NftprimarytransactionWidgetParams struct for NftprimarytransactionWidgetParams

func NewNftprimarytransactionWidgetParams added in v1.0.0

func NewNftprimarytransactionWidgetParams() *NftprimarytransactionWidgetParams

NewNftprimarytransactionWidgetParams instantiates a new NftprimarytransactionWidgetParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNftprimarytransactionWidgetParamsWithDefaults added in v1.0.0

func NewNftprimarytransactionWidgetParamsWithDefaults() *NftprimarytransactionWidgetParams

NewNftprimarytransactionWidgetParamsWithDefaults instantiates a new NftprimarytransactionWidgetParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NftprimarytransactionWidgetParams) GetTheme added in v1.0.0

GetTheme returns the Theme field value if set, zero value otherwise.

func (*NftprimarytransactionWidgetParams) GetThemeOk added in v1.0.0

func (o *NftprimarytransactionWidgetParams) GetThemeOk() (*string, bool)

GetThemeOk returns a tuple with the Theme field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NftprimarytransactionWidgetParams) HasTheme added in v1.0.0

HasTheme returns a boolean if a field has been set.

func (NftprimarytransactionWidgetParams) MarshalJSON added in v1.0.0

func (o NftprimarytransactionWidgetParams) MarshalJSON() ([]byte, error)

func (*NftprimarytransactionWidgetParams) SetTheme added in v1.0.0

SetTheme gets a reference to the given string and assigns it to the Theme field.

type NullableAPIError

type NullableAPIError struct {
	// contains filtered or unexported fields
}

func NewNullableAPIError

func NewNullableAPIError(val *APIError) *NullableAPIError

func (NullableAPIError) Get

func (v NullableAPIError) Get() *APIError

func (NullableAPIError) IsSet

func (v NullableAPIError) IsSet() bool

func (NullableAPIError) MarshalJSON

func (v NullableAPIError) MarshalJSON() ([]byte, error)

func (*NullableAPIError) Set

func (v *NullableAPIError) Set(val *APIError)

func (*NullableAPIError) UnmarshalJSON

func (v *NullableAPIError) UnmarshalJSON(src []byte) error

func (*NullableAPIError) Unset

func (v *NullableAPIError) Unset()

type NullableAddMetadataSchemaToCollectionRequest

type NullableAddMetadataSchemaToCollectionRequest struct {
	// contains filtered or unexported fields
}

func (NullableAddMetadataSchemaToCollectionRequest) Get

func (NullableAddMetadataSchemaToCollectionRequest) IsSet

func (NullableAddMetadataSchemaToCollectionRequest) MarshalJSON

func (*NullableAddMetadataSchemaToCollectionRequest) Set

func (*NullableAddMetadataSchemaToCollectionRequest) UnmarshalJSON

func (*NullableAddMetadataSchemaToCollectionRequest) Unset

type NullableAggregateLimit added in v1.0.0

type NullableAggregateLimit struct {
	// contains filtered or unexported fields
}

func NewNullableAggregateLimit added in v1.0.0

func NewNullableAggregateLimit(val *AggregateLimit) *NullableAggregateLimit

func (NullableAggregateLimit) Get added in v1.0.0

func (NullableAggregateLimit) IsSet added in v1.0.0

func (v NullableAggregateLimit) IsSet() bool

func (NullableAggregateLimit) MarshalJSON added in v1.0.0

func (v NullableAggregateLimit) MarshalJSON() ([]byte, error)

func (*NullableAggregateLimit) Set added in v1.0.0

func (*NullableAggregateLimit) UnmarshalJSON added in v1.0.0

func (v *NullableAggregateLimit) UnmarshalJSON(src []byte) error

func (*NullableAggregateLimit) Unset added in v1.0.0

func (v *NullableAggregateLimit) Unset()

type NullableAsset

type NullableAsset struct {
	// contains filtered or unexported fields
}

func NewNullableAsset

func NewNullableAsset(val *Asset) *NullableAsset

func (NullableAsset) Get

func (v NullableAsset) Get() *Asset

func (NullableAsset) IsSet

func (v NullableAsset) IsSet() bool

func (NullableAsset) MarshalJSON

func (v NullableAsset) MarshalJSON() ([]byte, error)

func (*NullableAsset) Set

func (v *NullableAsset) Set(val *Asset)

func (*NullableAsset) UnmarshalJSON

func (v *NullableAsset) UnmarshalJSON(src []byte) error

func (*NullableAsset) Unset

func (v *NullableAsset) Unset()

type NullableAssetProperties

type NullableAssetProperties struct {
	// contains filtered or unexported fields
}

func NewNullableAssetProperties

func NewNullableAssetProperties(val *AssetProperties) *NullableAssetProperties

func (NullableAssetProperties) Get

func (NullableAssetProperties) IsSet

func (v NullableAssetProperties) IsSet() bool

func (NullableAssetProperties) MarshalJSON

func (v NullableAssetProperties) MarshalJSON() ([]byte, error)

func (*NullableAssetProperties) Set

func (*NullableAssetProperties) UnmarshalJSON

func (v *NullableAssetProperties) UnmarshalJSON(src []byte) error

func (*NullableAssetProperties) Unset

func (v *NullableAssetProperties) Unset()

type NullableAssetWithOrders

type NullableAssetWithOrders struct {
	// contains filtered or unexported fields
}

func NewNullableAssetWithOrders

func NewNullableAssetWithOrders(val *AssetWithOrders) *NullableAssetWithOrders

func (NullableAssetWithOrders) Get

func (NullableAssetWithOrders) IsSet

func (v NullableAssetWithOrders) IsSet() bool

func (NullableAssetWithOrders) MarshalJSON

func (v NullableAssetWithOrders) MarshalJSON() ([]byte, error)

func (*NullableAssetWithOrders) Set

func (*NullableAssetWithOrders) UnmarshalJSON

func (v *NullableAssetWithOrders) UnmarshalJSON(src []byte) error

func (*NullableAssetWithOrders) Unset

func (v *NullableAssetWithOrders) Unset()

type NullableBalance

type NullableBalance struct {
	// contains filtered or unexported fields
}

func NewNullableBalance

func NewNullableBalance(val *Balance) *NullableBalance

func (NullableBalance) Get

func (v NullableBalance) Get() *Balance

func (NullableBalance) IsSet

func (v NullableBalance) IsSet() bool

func (NullableBalance) MarshalJSON

func (v NullableBalance) MarshalJSON() ([]byte, error)

func (*NullableBalance) Set

func (v *NullableBalance) Set(val *Balance)

func (*NullableBalance) UnmarshalJSON

func (v *NullableBalance) UnmarshalJSON(src []byte) error

func (*NullableBalance) Unset

func (v *NullableBalance) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCancelOrderRequest

type NullableCancelOrderRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCancelOrderRequest

func NewNullableCancelOrderRequest(val *CancelOrderRequest) *NullableCancelOrderRequest

func (NullableCancelOrderRequest) Get

func (NullableCancelOrderRequest) IsSet

func (v NullableCancelOrderRequest) IsSet() bool

func (NullableCancelOrderRequest) MarshalJSON

func (v NullableCancelOrderRequest) MarshalJSON() ([]byte, error)

func (*NullableCancelOrderRequest) Set

func (*NullableCancelOrderRequest) UnmarshalJSON

func (v *NullableCancelOrderRequest) UnmarshalJSON(src []byte) error

func (*NullableCancelOrderRequest) Unset

func (v *NullableCancelOrderRequest) Unset()

type NullableCancelOrderResponse

type NullableCancelOrderResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCancelOrderResponse

func NewNullableCancelOrderResponse(val *CancelOrderResponse) *NullableCancelOrderResponse

func (NullableCancelOrderResponse) Get

func (NullableCancelOrderResponse) IsSet

func (NullableCancelOrderResponse) MarshalJSON

func (v NullableCancelOrderResponse) MarshalJSON() ([]byte, error)

func (*NullableCancelOrderResponse) Set

func (*NullableCancelOrderResponse) UnmarshalJSON

func (v *NullableCancelOrderResponse) UnmarshalJSON(src []byte) error

func (*NullableCancelOrderResponse) Unset

func (v *NullableCancelOrderResponse) Unset()

type NullableCollection

type NullableCollection struct {
	// contains filtered or unexported fields
}

func NewNullableCollection

func NewNullableCollection(val *Collection) *NullableCollection

func (NullableCollection) Get

func (v NullableCollection) Get() *Collection

func (NullableCollection) IsSet

func (v NullableCollection) IsSet() bool

func (NullableCollection) MarshalJSON

func (v NullableCollection) MarshalJSON() ([]byte, error)

func (*NullableCollection) Set

func (v *NullableCollection) Set(val *Collection)

func (*NullableCollection) UnmarshalJSON

func (v *NullableCollection) UnmarshalJSON(src []byte) error

func (*NullableCollection) Unset

func (v *NullableCollection) Unset()

type NullableCollectionDetails

type NullableCollectionDetails struct {
	// contains filtered or unexported fields
}

func NewNullableCollectionDetails

func NewNullableCollectionDetails(val *CollectionDetails) *NullableCollectionDetails

func (NullableCollectionDetails) Get

func (NullableCollectionDetails) IsSet

func (v NullableCollectionDetails) IsSet() bool

func (NullableCollectionDetails) MarshalJSON

func (v NullableCollectionDetails) MarshalJSON() ([]byte, error)

func (*NullableCollectionDetails) Set

func (*NullableCollectionDetails) UnmarshalJSON

func (v *NullableCollectionDetails) UnmarshalJSON(src []byte) error

func (*NullableCollectionDetails) Unset

func (v *NullableCollectionDetails) Unset()

type NullableCollectionFilter

type NullableCollectionFilter struct {
	// contains filtered or unexported fields
}

func NewNullableCollectionFilter

func NewNullableCollectionFilter(val *CollectionFilter) *NullableCollectionFilter

func (NullableCollectionFilter) Get

func (NullableCollectionFilter) IsSet

func (v NullableCollectionFilter) IsSet() bool

func (NullableCollectionFilter) MarshalJSON

func (v NullableCollectionFilter) MarshalJSON() ([]byte, error)

func (*NullableCollectionFilter) Set

func (*NullableCollectionFilter) UnmarshalJSON

func (v *NullableCollectionFilter) UnmarshalJSON(src []byte) error

func (*NullableCollectionFilter) Unset

func (v *NullableCollectionFilter) Unset()

type NullableContractCreateAPIRequest added in v1.0.0

type NullableContractCreateAPIRequest struct {
	// contains filtered or unexported fields
}

func NewNullableContractCreateAPIRequest added in v1.0.0

func NewNullableContractCreateAPIRequest(val *ContractCreateAPIRequest) *NullableContractCreateAPIRequest

func (NullableContractCreateAPIRequest) Get added in v1.0.0

func (NullableContractCreateAPIRequest) IsSet added in v1.0.0

func (NullableContractCreateAPIRequest) MarshalJSON added in v1.0.0

func (v NullableContractCreateAPIRequest) MarshalJSON() ([]byte, error)

func (*NullableContractCreateAPIRequest) Set added in v1.0.0

func (*NullableContractCreateAPIRequest) UnmarshalJSON added in v1.0.0

func (v *NullableContractCreateAPIRequest) UnmarshalJSON(src []byte) error

func (*NullableContractCreateAPIRequest) Unset added in v1.0.0

type NullableContractCreateResponse added in v1.0.0

type NullableContractCreateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableContractCreateResponse added in v1.0.0

func NewNullableContractCreateResponse(val *ContractCreateResponse) *NullableContractCreateResponse

func (NullableContractCreateResponse) Get added in v1.0.0

func (NullableContractCreateResponse) IsSet added in v1.0.0

func (NullableContractCreateResponse) MarshalJSON added in v1.0.0

func (v NullableContractCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableContractCreateResponse) Set added in v1.0.0

func (*NullableContractCreateResponse) UnmarshalJSON added in v1.0.0

func (v *NullableContractCreateResponse) UnmarshalJSON(src []byte) error

func (*NullableContractCreateResponse) Unset added in v1.0.0

func (v *NullableContractCreateResponse) Unset()

type NullableCreateCollectionRequest

type NullableCreateCollectionRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateCollectionRequest) Get

func (NullableCreateCollectionRequest) IsSet

func (NullableCreateCollectionRequest) MarshalJSON

func (v NullableCreateCollectionRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateCollectionRequest) Set

func (*NullableCreateCollectionRequest) UnmarshalJSON

func (v *NullableCreateCollectionRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateCollectionRequest) Unset

type NullableCreateExchangeAndURLAPIRequest added in v1.0.0

type NullableCreateExchangeAndURLAPIRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateExchangeAndURLAPIRequest added in v1.0.0

func NewNullableCreateExchangeAndURLAPIRequest(val *CreateExchangeAndURLAPIRequest) *NullableCreateExchangeAndURLAPIRequest

func (NullableCreateExchangeAndURLAPIRequest) Get added in v1.0.0

func (NullableCreateExchangeAndURLAPIRequest) IsSet added in v1.0.0

func (NullableCreateExchangeAndURLAPIRequest) MarshalJSON added in v1.0.0

func (v NullableCreateExchangeAndURLAPIRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateExchangeAndURLAPIRequest) Set added in v1.0.0

func (*NullableCreateExchangeAndURLAPIRequest) UnmarshalJSON added in v1.0.0

func (v *NullableCreateExchangeAndURLAPIRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateExchangeAndURLAPIRequest) Unset added in v1.0.0

type NullableCreateMetadataRefreshRequest

type NullableCreateMetadataRefreshRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateMetadataRefreshRequest) Get

func (NullableCreateMetadataRefreshRequest) IsSet

func (NullableCreateMetadataRefreshRequest) MarshalJSON

func (v NullableCreateMetadataRefreshRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateMetadataRefreshRequest) Set

func (*NullableCreateMetadataRefreshRequest) UnmarshalJSON

func (v *NullableCreateMetadataRefreshRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateMetadataRefreshRequest) Unset

type NullableCreateMetadataRefreshResponse

type NullableCreateMetadataRefreshResponse struct {
	// contains filtered or unexported fields
}

func (NullableCreateMetadataRefreshResponse) Get

func (NullableCreateMetadataRefreshResponse) IsSet

func (NullableCreateMetadataRefreshResponse) MarshalJSON

func (v NullableCreateMetadataRefreshResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateMetadataRefreshResponse) Set

func (*NullableCreateMetadataRefreshResponse) UnmarshalJSON

func (v *NullableCreateMetadataRefreshResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateMetadataRefreshResponse) Unset

type NullableCreateOrderRequest

type NullableCreateOrderRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateOrderRequest

func NewNullableCreateOrderRequest(val *CreateOrderRequest) *NullableCreateOrderRequest

func (NullableCreateOrderRequest) Get

func (NullableCreateOrderRequest) IsSet

func (v NullableCreateOrderRequest) IsSet() bool

func (NullableCreateOrderRequest) MarshalJSON

func (v NullableCreateOrderRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateOrderRequest) Set

func (*NullableCreateOrderRequest) UnmarshalJSON

func (v *NullableCreateOrderRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateOrderRequest) Unset

func (v *NullableCreateOrderRequest) Unset()

type NullableCreateOrderResponse

type NullableCreateOrderResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCreateOrderResponse

func NewNullableCreateOrderResponse(val *CreateOrderResponse) *NullableCreateOrderResponse

func (NullableCreateOrderResponse) Get

func (NullableCreateOrderResponse) IsSet

func (NullableCreateOrderResponse) MarshalJSON

func (v NullableCreateOrderResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateOrderResponse) Set

func (*NullableCreateOrderResponse) UnmarshalJSON

func (v *NullableCreateOrderResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateOrderResponse) Unset

func (v *NullableCreateOrderResponse) Unset()

type NullableCreateProjectRequest

type NullableCreateProjectRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateProjectRequest

func NewNullableCreateProjectRequest(val *CreateProjectRequest) *NullableCreateProjectRequest

func (NullableCreateProjectRequest) Get

func (NullableCreateProjectRequest) IsSet

func (NullableCreateProjectRequest) MarshalJSON

func (v NullableCreateProjectRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateProjectRequest) Set

func (*NullableCreateProjectRequest) UnmarshalJSON

func (v *NullableCreateProjectRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateProjectRequest) Unset

func (v *NullableCreateProjectRequest) Unset()

type NullableCreateProjectResponse

type NullableCreateProjectResponse struct {
	// contains filtered or unexported fields
}

func (NullableCreateProjectResponse) Get

func (NullableCreateProjectResponse) IsSet

func (NullableCreateProjectResponse) MarshalJSON

func (v NullableCreateProjectResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateProjectResponse) Set

func (*NullableCreateProjectResponse) UnmarshalJSON

func (v *NullableCreateProjectResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateProjectResponse) Unset

func (v *NullableCreateProjectResponse) Unset()

type NullableCreateTradeRequestV1

type NullableCreateTradeRequestV1 struct {
	// contains filtered or unexported fields
}

func NewNullableCreateTradeRequestV1

func NewNullableCreateTradeRequestV1(val *CreateTradeRequestV1) *NullableCreateTradeRequestV1

func (NullableCreateTradeRequestV1) Get

func (NullableCreateTradeRequestV1) IsSet

func (NullableCreateTradeRequestV1) MarshalJSON

func (v NullableCreateTradeRequestV1) MarshalJSON() ([]byte, error)

func (*NullableCreateTradeRequestV1) Set

func (*NullableCreateTradeRequestV1) UnmarshalJSON

func (v *NullableCreateTradeRequestV1) UnmarshalJSON(src []byte) error

func (*NullableCreateTradeRequestV1) Unset

func (v *NullableCreateTradeRequestV1) Unset()

type NullableCreateTradeResponse

type NullableCreateTradeResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCreateTradeResponse

func NewNullableCreateTradeResponse(val *CreateTradeResponse) *NullableCreateTradeResponse

func (NullableCreateTradeResponse) Get

func (NullableCreateTradeResponse) IsSet

func (NullableCreateTradeResponse) MarshalJSON

func (v NullableCreateTradeResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateTradeResponse) Set

func (*NullableCreateTradeResponse) UnmarshalJSON

func (v *NullableCreateTradeResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateTradeResponse) Unset

func (v *NullableCreateTradeResponse) Unset()

type NullableCreateTransferRequest

type NullableCreateTransferRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateTransferRequest) Get

func (NullableCreateTransferRequest) IsSet

func (NullableCreateTransferRequest) MarshalJSON

func (v NullableCreateTransferRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateTransferRequest) Set

func (*NullableCreateTransferRequest) UnmarshalJSON

func (v *NullableCreateTransferRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateTransferRequest) Unset

func (v *NullableCreateTransferRequest) Unset()

type NullableCreateTransferRequestV1

type NullableCreateTransferRequestV1 struct {
	// contains filtered or unexported fields
}

func (NullableCreateTransferRequestV1) Get

func (NullableCreateTransferRequestV1) IsSet

func (NullableCreateTransferRequestV1) MarshalJSON

func (v NullableCreateTransferRequestV1) MarshalJSON() ([]byte, error)

func (*NullableCreateTransferRequestV1) Set

func (*NullableCreateTransferRequestV1) UnmarshalJSON

func (v *NullableCreateTransferRequestV1) UnmarshalJSON(src []byte) error

func (*NullableCreateTransferRequestV1) Unset

type NullableCreateTransferResponse

type NullableCreateTransferResponse struct {
	// contains filtered or unexported fields
}

func (NullableCreateTransferResponse) Get

func (NullableCreateTransferResponse) IsSet

func (NullableCreateTransferResponse) MarshalJSON

func (v NullableCreateTransferResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateTransferResponse) Set

func (*NullableCreateTransferResponse) UnmarshalJSON

func (v *NullableCreateTransferResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateTransferResponse) Unset

func (v *NullableCreateTransferResponse) Unset()

type NullableCreateTransferResponseV1

type NullableCreateTransferResponseV1 struct {
	// contains filtered or unexported fields
}

func (NullableCreateTransferResponseV1) Get

func (NullableCreateTransferResponseV1) IsSet

func (NullableCreateTransferResponseV1) MarshalJSON

func (v NullableCreateTransferResponseV1) MarshalJSON() ([]byte, error)

func (*NullableCreateTransferResponseV1) Set

func (*NullableCreateTransferResponseV1) UnmarshalJSON

func (v *NullableCreateTransferResponseV1) UnmarshalJSON(src []byte) error

func (*NullableCreateTransferResponseV1) Unset

type NullableCreateWithdrawalRequest

type NullableCreateWithdrawalRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateWithdrawalRequest) Get

func (NullableCreateWithdrawalRequest) IsSet

func (NullableCreateWithdrawalRequest) MarshalJSON

func (v NullableCreateWithdrawalRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateWithdrawalRequest) Set

func (*NullableCreateWithdrawalRequest) UnmarshalJSON

func (v *NullableCreateWithdrawalRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateWithdrawalRequest) Unset

type NullableCreateWithdrawalResponse

type NullableCreateWithdrawalResponse struct {
	// contains filtered or unexported fields
}

func (NullableCreateWithdrawalResponse) Get

func (NullableCreateWithdrawalResponse) IsSet

func (NullableCreateWithdrawalResponse) MarshalJSON

func (v NullableCreateWithdrawalResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateWithdrawalResponse) Set

func (*NullableCreateWithdrawalResponse) UnmarshalJSON

func (v *NullableCreateWithdrawalResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateWithdrawalResponse) Unset

type NullableCurrencyWithLimits added in v1.0.0

type NullableCurrencyWithLimits struct {
	// contains filtered or unexported fields
}

func NewNullableCurrencyWithLimits added in v1.0.0

func NewNullableCurrencyWithLimits(val *CurrencyWithLimits) *NullableCurrencyWithLimits

func (NullableCurrencyWithLimits) Get added in v1.0.0

func (NullableCurrencyWithLimits) IsSet added in v1.0.0

func (v NullableCurrencyWithLimits) IsSet() bool

func (NullableCurrencyWithLimits) MarshalJSON added in v1.0.0

func (v NullableCurrencyWithLimits) MarshalJSON() ([]byte, error)

func (*NullableCurrencyWithLimits) Set added in v1.0.0

func (*NullableCurrencyWithLimits) UnmarshalJSON added in v1.0.0

func (v *NullableCurrencyWithLimits) UnmarshalJSON(src []byte) error

func (*NullableCurrencyWithLimits) Unset added in v1.0.0

func (v *NullableCurrencyWithLimits) Unset()

type NullableDeposit

type NullableDeposit struct {
	// contains filtered or unexported fields
}

func NewNullableDeposit

func NewNullableDeposit(val *Deposit) *NullableDeposit

func (NullableDeposit) Get

func (v NullableDeposit) Get() *Deposit

func (NullableDeposit) IsSet

func (v NullableDeposit) IsSet() bool

func (NullableDeposit) MarshalJSON

func (v NullableDeposit) MarshalJSON() ([]byte, error)

func (*NullableDeposit) Set

func (v *NullableDeposit) Set(val *Deposit)

func (*NullableDeposit) UnmarshalJSON

func (v *NullableDeposit) UnmarshalJSON(src []byte) error

func (*NullableDeposit) Unset

func (v *NullableDeposit) Unset()

type NullableEncodeAssetRequest

type NullableEncodeAssetRequest struct {
	// contains filtered or unexported fields
}

func NewNullableEncodeAssetRequest

func NewNullableEncodeAssetRequest(val *EncodeAssetRequest) *NullableEncodeAssetRequest

func (NullableEncodeAssetRequest) Get

func (NullableEncodeAssetRequest) IsSet

func (v NullableEncodeAssetRequest) IsSet() bool

func (NullableEncodeAssetRequest) MarshalJSON

func (v NullableEncodeAssetRequest) MarshalJSON() ([]byte, error)

func (*NullableEncodeAssetRequest) Set

func (*NullableEncodeAssetRequest) UnmarshalJSON

func (v *NullableEncodeAssetRequest) UnmarshalJSON(src []byte) error

func (*NullableEncodeAssetRequest) Unset

func (v *NullableEncodeAssetRequest) Unset()

type NullableEncodeAssetRequestToken

type NullableEncodeAssetRequestToken struct {
	// contains filtered or unexported fields
}

func (NullableEncodeAssetRequestToken) Get

func (NullableEncodeAssetRequestToken) IsSet

func (NullableEncodeAssetRequestToken) MarshalJSON

func (v NullableEncodeAssetRequestToken) MarshalJSON() ([]byte, error)

func (*NullableEncodeAssetRequestToken) Set

func (*NullableEncodeAssetRequestToken) UnmarshalJSON

func (v *NullableEncodeAssetRequestToken) UnmarshalJSON(src []byte) error

func (*NullableEncodeAssetRequestToken) Unset

type NullableEncodeAssetResponse

type NullableEncodeAssetResponse struct {
	// contains filtered or unexported fields
}

func NewNullableEncodeAssetResponse

func NewNullableEncodeAssetResponse(val *EncodeAssetResponse) *NullableEncodeAssetResponse

func (NullableEncodeAssetResponse) Get

func (NullableEncodeAssetResponse) IsSet

func (NullableEncodeAssetResponse) MarshalJSON

func (v NullableEncodeAssetResponse) MarshalJSON() ([]byte, error)

func (*NullableEncodeAssetResponse) Set

func (*NullableEncodeAssetResponse) UnmarshalJSON

func (v *NullableEncodeAssetResponse) UnmarshalJSON(src []byte) error

func (*NullableEncodeAssetResponse) Unset

func (v *NullableEncodeAssetResponse) Unset()

type NullableEncodeAssetTokenData

type NullableEncodeAssetTokenData struct {
	// contains filtered or unexported fields
}

func NewNullableEncodeAssetTokenData

func NewNullableEncodeAssetTokenData(val *EncodeAssetTokenData) *NullableEncodeAssetTokenData

func (NullableEncodeAssetTokenData) Get

func (NullableEncodeAssetTokenData) IsSet

func (NullableEncodeAssetTokenData) MarshalJSON

func (v NullableEncodeAssetTokenData) MarshalJSON() ([]byte, error)

func (*NullableEncodeAssetTokenData) Set

func (*NullableEncodeAssetTokenData) UnmarshalJSON

func (v *NullableEncodeAssetTokenData) UnmarshalJSON(src []byte) error

func (*NullableEncodeAssetTokenData) Unset

func (v *NullableEncodeAssetTokenData) Unset()

type NullableExchange added in v1.0.0

type NullableExchange struct {
	// contains filtered or unexported fields
}

func NewNullableExchange added in v1.0.0

func NewNullableExchange(val *Exchange) *NullableExchange

func (NullableExchange) Get added in v1.0.0

func (v NullableExchange) Get() *Exchange

func (NullableExchange) IsSet added in v1.0.0

func (v NullableExchange) IsSet() bool

func (NullableExchange) MarshalJSON added in v1.0.0

func (v NullableExchange) MarshalJSON() ([]byte, error)

func (*NullableExchange) Set added in v1.0.0

func (v *NullableExchange) Set(val *Exchange)

func (*NullableExchange) UnmarshalJSON added in v1.0.0

func (v *NullableExchange) UnmarshalJSON(src []byte) error

func (*NullableExchange) Unset added in v1.0.0

func (v *NullableExchange) Unset()

type NullableExchangeCreateExchangeAndURLResponse added in v1.0.0

type NullableExchangeCreateExchangeAndURLResponse struct {
	// contains filtered or unexported fields
}

func NewNullableExchangeCreateExchangeAndURLResponse added in v1.0.0

func NewNullableExchangeCreateExchangeAndURLResponse(val *ExchangeCreateExchangeAndURLResponse) *NullableExchangeCreateExchangeAndURLResponse

func (NullableExchangeCreateExchangeAndURLResponse) Get added in v1.0.0

func (NullableExchangeCreateExchangeAndURLResponse) IsSet added in v1.0.0

func (NullableExchangeCreateExchangeAndURLResponse) MarshalJSON added in v1.0.0

func (*NullableExchangeCreateExchangeAndURLResponse) Set added in v1.0.0

func (*NullableExchangeCreateExchangeAndURLResponse) UnmarshalJSON added in v1.0.0

func (*NullableExchangeCreateExchangeAndURLResponse) Unset added in v1.0.0

type NullableFee

type NullableFee struct {
	// contains filtered or unexported fields
}

func NewNullableFee

func NewNullableFee(val *Fee) *NullableFee

func (NullableFee) Get

func (v NullableFee) Get() *Fee

func (NullableFee) IsSet

func (v NullableFee) IsSet() bool

func (NullableFee) MarshalJSON

func (v NullableFee) MarshalJSON() ([]byte, error)

func (*NullableFee) Set

func (v *NullableFee) Set(val *Fee)

func (*NullableFee) UnmarshalJSON

func (v *NullableFee) UnmarshalJSON(src []byte) error

func (*NullableFee) Unset

func (v *NullableFee) Unset()

type NullableFeeData

type NullableFeeData struct {
	// contains filtered or unexported fields
}

func NewNullableFeeData

func NewNullableFeeData(val *FeeData) *NullableFeeData

func (NullableFeeData) Get

func (v NullableFeeData) Get() *FeeData

func (NullableFeeData) IsSet

func (v NullableFeeData) IsSet() bool

func (NullableFeeData) MarshalJSON

func (v NullableFeeData) MarshalJSON() ([]byte, error)

func (*NullableFeeData) Set

func (v *NullableFeeData) Set(val *FeeData)

func (*NullableFeeData) UnmarshalJSON

func (v *NullableFeeData) UnmarshalJSON(src []byte) error

func (*NullableFeeData) Unset

func (v *NullableFeeData) Unset()

type NullableFeeEntry

type NullableFeeEntry struct {
	// contains filtered or unexported fields
}

func NewNullableFeeEntry

func NewNullableFeeEntry(val *FeeEntry) *NullableFeeEntry

func (NullableFeeEntry) Get

func (v NullableFeeEntry) Get() *FeeEntry

func (NullableFeeEntry) IsSet

func (v NullableFeeEntry) IsSet() bool

func (NullableFeeEntry) MarshalJSON

func (v NullableFeeEntry) MarshalJSON() ([]byte, error)

func (*NullableFeeEntry) Set

func (v *NullableFeeEntry) Set(val *FeeEntry)

func (*NullableFeeEntry) UnmarshalJSON

func (v *NullableFeeEntry) UnmarshalJSON(src []byte) error

func (*NullableFeeEntry) Unset

func (v *NullableFeeEntry) Unset()

type NullableFeeInfo

type NullableFeeInfo struct {
	// contains filtered or unexported fields
}

func NewNullableFeeInfo

func NewNullableFeeInfo(val *FeeInfo) *NullableFeeInfo

func (NullableFeeInfo) Get

func (v NullableFeeInfo) Get() *FeeInfo

func (NullableFeeInfo) IsSet

func (v NullableFeeInfo) IsSet() bool

func (NullableFeeInfo) MarshalJSON

func (v NullableFeeInfo) MarshalJSON() ([]byte, error)

func (*NullableFeeInfo) Set

func (v *NullableFeeInfo) Set(val *FeeInfo)

func (*NullableFeeInfo) UnmarshalJSON

func (v *NullableFeeInfo) UnmarshalJSON(src []byte) error

func (*NullableFeeInfo) Unset

func (v *NullableFeeInfo) Unset()

type NullableFeeToken

type NullableFeeToken struct {
	// contains filtered or unexported fields
}

func NewNullableFeeToken

func NewNullableFeeToken(val *FeeToken) *NullableFeeToken

func (NullableFeeToken) Get

func (v NullableFeeToken) Get() *FeeToken

func (NullableFeeToken) IsSet

func (v NullableFeeToken) IsSet() bool

func (NullableFeeToken) MarshalJSON

func (v NullableFeeToken) MarshalJSON() ([]byte, error)

func (*NullableFeeToken) Set

func (v *NullableFeeToken) Set(val *FeeToken)

func (*NullableFeeToken) UnmarshalJSON

func (v *NullableFeeToken) UnmarshalJSON(src []byte) error

func (*NullableFeeToken) Unset

func (v *NullableFeeToken) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetMetadataRefreshErrorsResponse

type NullableGetMetadataRefreshErrorsResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetMetadataRefreshErrorsResponse) Get

func (NullableGetMetadataRefreshErrorsResponse) IsSet

func (NullableGetMetadataRefreshErrorsResponse) MarshalJSON

func (*NullableGetMetadataRefreshErrorsResponse) Set

func (*NullableGetMetadataRefreshErrorsResponse) UnmarshalJSON

func (v *NullableGetMetadataRefreshErrorsResponse) UnmarshalJSON(src []byte) error

func (*NullableGetMetadataRefreshErrorsResponse) Unset

type NullableGetMetadataRefreshResponse

type NullableGetMetadataRefreshResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetMetadataRefreshResponse) Get

func (NullableGetMetadataRefreshResponse) IsSet

func (NullableGetMetadataRefreshResponse) MarshalJSON

func (v NullableGetMetadataRefreshResponse) MarshalJSON() ([]byte, error)

func (*NullableGetMetadataRefreshResponse) Set

func (*NullableGetMetadataRefreshResponse) UnmarshalJSON

func (v *NullableGetMetadataRefreshResponse) UnmarshalJSON(src []byte) error

func (*NullableGetMetadataRefreshResponse) Unset

type NullableGetMetadataRefreshes

type NullableGetMetadataRefreshes struct {
	// contains filtered or unexported fields
}

func NewNullableGetMetadataRefreshes

func NewNullableGetMetadataRefreshes(val *GetMetadataRefreshes) *NullableGetMetadataRefreshes

func (NullableGetMetadataRefreshes) Get

func (NullableGetMetadataRefreshes) IsSet

func (NullableGetMetadataRefreshes) MarshalJSON

func (v NullableGetMetadataRefreshes) MarshalJSON() ([]byte, error)

func (*NullableGetMetadataRefreshes) Set

func (*NullableGetMetadataRefreshes) UnmarshalJSON

func (v *NullableGetMetadataRefreshes) UnmarshalJSON(src []byte) error

func (*NullableGetMetadataRefreshes) Unset

func (v *NullableGetMetadataRefreshes) Unset()

type NullableGetProjectsResponse

type NullableGetProjectsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetProjectsResponse

func NewNullableGetProjectsResponse(val *GetProjectsResponse) *NullableGetProjectsResponse

func (NullableGetProjectsResponse) Get

func (NullableGetProjectsResponse) IsSet

func (NullableGetProjectsResponse) MarshalJSON

func (v NullableGetProjectsResponse) MarshalJSON() ([]byte, error)

func (*NullableGetProjectsResponse) Set

func (*NullableGetProjectsResponse) UnmarshalJSON

func (v *NullableGetProjectsResponse) UnmarshalJSON(src []byte) error

func (*NullableGetProjectsResponse) Unset

func (v *NullableGetProjectsResponse) Unset()

type NullableGetSignableCancelOrderRequest

type NullableGetSignableCancelOrderRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableCancelOrderRequest) Get

func (NullableGetSignableCancelOrderRequest) IsSet

func (NullableGetSignableCancelOrderRequest) MarshalJSON

func (v NullableGetSignableCancelOrderRequest) MarshalJSON() ([]byte, error)

func (*NullableGetSignableCancelOrderRequest) Set

func (*NullableGetSignableCancelOrderRequest) UnmarshalJSON

func (v *NullableGetSignableCancelOrderRequest) UnmarshalJSON(src []byte) error

func (*NullableGetSignableCancelOrderRequest) Unset

type NullableGetSignableCancelOrderResponse

type NullableGetSignableCancelOrderResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableCancelOrderResponse) Get

func (NullableGetSignableCancelOrderResponse) IsSet

func (NullableGetSignableCancelOrderResponse) MarshalJSON

func (v NullableGetSignableCancelOrderResponse) MarshalJSON() ([]byte, error)

func (*NullableGetSignableCancelOrderResponse) Set

func (*NullableGetSignableCancelOrderResponse) UnmarshalJSON

func (v *NullableGetSignableCancelOrderResponse) UnmarshalJSON(src []byte) error

func (*NullableGetSignableCancelOrderResponse) Unset

type NullableGetSignableDepositRequest

type NullableGetSignableDepositRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableDepositRequest) Get

func (NullableGetSignableDepositRequest) IsSet

func (NullableGetSignableDepositRequest) MarshalJSON

func (v NullableGetSignableDepositRequest) MarshalJSON() ([]byte, error)

func (*NullableGetSignableDepositRequest) Set

func (*NullableGetSignableDepositRequest) UnmarshalJSON

func (v *NullableGetSignableDepositRequest) UnmarshalJSON(src []byte) error

func (*NullableGetSignableDepositRequest) Unset

type NullableGetSignableDepositResponse

type NullableGetSignableDepositResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableDepositResponse) Get

func (NullableGetSignableDepositResponse) IsSet

func (NullableGetSignableDepositResponse) MarshalJSON

func (v NullableGetSignableDepositResponse) MarshalJSON() ([]byte, error)

func (*NullableGetSignableDepositResponse) Set

func (*NullableGetSignableDepositResponse) UnmarshalJSON

func (v *NullableGetSignableDepositResponse) UnmarshalJSON(src []byte) error

func (*NullableGetSignableDepositResponse) Unset

type NullableGetSignableOrderRequest

type NullableGetSignableOrderRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableOrderRequest) Get

func (NullableGetSignableOrderRequest) IsSet

func (NullableGetSignableOrderRequest) MarshalJSON

func (v NullableGetSignableOrderRequest) MarshalJSON() ([]byte, error)

func (*NullableGetSignableOrderRequest) Set

func (*NullableGetSignableOrderRequest) UnmarshalJSON

func (v *NullableGetSignableOrderRequest) UnmarshalJSON(src []byte) error

func (*NullableGetSignableOrderRequest) Unset

type NullableGetSignableOrderResponse

type NullableGetSignableOrderResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableOrderResponse) Get

func (NullableGetSignableOrderResponse) IsSet

func (NullableGetSignableOrderResponse) MarshalJSON

func (v NullableGetSignableOrderResponse) MarshalJSON() ([]byte, error)

func (*NullableGetSignableOrderResponse) Set

func (*NullableGetSignableOrderResponse) UnmarshalJSON

func (v *NullableGetSignableOrderResponse) UnmarshalJSON(src []byte) error

func (*NullableGetSignableOrderResponse) Unset

type NullableGetSignableRegistrationOffchainResponse

type NullableGetSignableRegistrationOffchainResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableRegistrationOffchainResponse) Get

func (NullableGetSignableRegistrationOffchainResponse) IsSet

func (NullableGetSignableRegistrationOffchainResponse) MarshalJSON

func (*NullableGetSignableRegistrationOffchainResponse) Set

func (*NullableGetSignableRegistrationOffchainResponse) UnmarshalJSON

func (*NullableGetSignableRegistrationOffchainResponse) Unset

type NullableGetSignableRegistrationRequest

type NullableGetSignableRegistrationRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableRegistrationRequest) Get

func (NullableGetSignableRegistrationRequest) IsSet

func (NullableGetSignableRegistrationRequest) MarshalJSON

func (v NullableGetSignableRegistrationRequest) MarshalJSON() ([]byte, error)

func (*NullableGetSignableRegistrationRequest) Set

func (*NullableGetSignableRegistrationRequest) UnmarshalJSON

func (v *NullableGetSignableRegistrationRequest) UnmarshalJSON(src []byte) error

func (*NullableGetSignableRegistrationRequest) Unset

type NullableGetSignableRegistrationResponse

type NullableGetSignableRegistrationResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableRegistrationResponse) Get

func (NullableGetSignableRegistrationResponse) IsSet

func (NullableGetSignableRegistrationResponse) MarshalJSON

func (v NullableGetSignableRegistrationResponse) MarshalJSON() ([]byte, error)

func (*NullableGetSignableRegistrationResponse) Set

func (*NullableGetSignableRegistrationResponse) UnmarshalJSON

func (v *NullableGetSignableRegistrationResponse) UnmarshalJSON(src []byte) error

func (*NullableGetSignableRegistrationResponse) Unset

type NullableGetSignableTradeRequest

type NullableGetSignableTradeRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableTradeRequest) Get

func (NullableGetSignableTradeRequest) IsSet

func (NullableGetSignableTradeRequest) MarshalJSON

func (v NullableGetSignableTradeRequest) MarshalJSON() ([]byte, error)

func (*NullableGetSignableTradeRequest) Set

func (*NullableGetSignableTradeRequest) UnmarshalJSON

func (v *NullableGetSignableTradeRequest) UnmarshalJSON(src []byte) error

func (*NullableGetSignableTradeRequest) Unset

type NullableGetSignableTradeResponse

type NullableGetSignableTradeResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableTradeResponse) Get

func (NullableGetSignableTradeResponse) IsSet

func (NullableGetSignableTradeResponse) MarshalJSON

func (v NullableGetSignableTradeResponse) MarshalJSON() ([]byte, error)

func (*NullableGetSignableTradeResponse) Set

func (*NullableGetSignableTradeResponse) UnmarshalJSON

func (v *NullableGetSignableTradeResponse) UnmarshalJSON(src []byte) error

func (*NullableGetSignableTradeResponse) Unset

type NullableGetSignableTransferRequest

type NullableGetSignableTransferRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableTransferRequest) Get

func (NullableGetSignableTransferRequest) IsSet

func (NullableGetSignableTransferRequest) MarshalJSON

func (v NullableGetSignableTransferRequest) MarshalJSON() ([]byte, error)

func (*NullableGetSignableTransferRequest) Set

func (*NullableGetSignableTransferRequest) UnmarshalJSON

func (v *NullableGetSignableTransferRequest) UnmarshalJSON(src []byte) error

func (*NullableGetSignableTransferRequest) Unset

type NullableGetSignableTransferRequestV1

type NullableGetSignableTransferRequestV1 struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableTransferRequestV1) Get

func (NullableGetSignableTransferRequestV1) IsSet

func (NullableGetSignableTransferRequestV1) MarshalJSON

func (v NullableGetSignableTransferRequestV1) MarshalJSON() ([]byte, error)

func (*NullableGetSignableTransferRequestV1) Set

func (*NullableGetSignableTransferRequestV1) UnmarshalJSON

func (v *NullableGetSignableTransferRequestV1) UnmarshalJSON(src []byte) error

func (*NullableGetSignableTransferRequestV1) Unset

type NullableGetSignableTransferResponse

type NullableGetSignableTransferResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableTransferResponse) Get

func (NullableGetSignableTransferResponse) IsSet

func (NullableGetSignableTransferResponse) MarshalJSON

func (v NullableGetSignableTransferResponse) MarshalJSON() ([]byte, error)

func (*NullableGetSignableTransferResponse) Set

func (*NullableGetSignableTransferResponse) UnmarshalJSON

func (v *NullableGetSignableTransferResponse) UnmarshalJSON(src []byte) error

func (*NullableGetSignableTransferResponse) Unset

type NullableGetSignableTransferResponseV1

type NullableGetSignableTransferResponseV1 struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableTransferResponseV1) Get

func (NullableGetSignableTransferResponseV1) IsSet

func (NullableGetSignableTransferResponseV1) MarshalJSON

func (v NullableGetSignableTransferResponseV1) MarshalJSON() ([]byte, error)

func (*NullableGetSignableTransferResponseV1) Set

func (*NullableGetSignableTransferResponseV1) UnmarshalJSON

func (v *NullableGetSignableTransferResponseV1) UnmarshalJSON(src []byte) error

func (*NullableGetSignableTransferResponseV1) Unset

type NullableGetSignableWithdrawalRequest

type NullableGetSignableWithdrawalRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableWithdrawalRequest) Get

func (NullableGetSignableWithdrawalRequest) IsSet

func (NullableGetSignableWithdrawalRequest) MarshalJSON

func (v NullableGetSignableWithdrawalRequest) MarshalJSON() ([]byte, error)

func (*NullableGetSignableWithdrawalRequest) Set

func (*NullableGetSignableWithdrawalRequest) UnmarshalJSON

func (v *NullableGetSignableWithdrawalRequest) UnmarshalJSON(src []byte) error

func (*NullableGetSignableWithdrawalRequest) Unset

type NullableGetSignableWithdrawalResponse

type NullableGetSignableWithdrawalResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetSignableWithdrawalResponse) Get

func (NullableGetSignableWithdrawalResponse) IsSet

func (NullableGetSignableWithdrawalResponse) MarshalJSON

func (v NullableGetSignableWithdrawalResponse) MarshalJSON() ([]byte, error)

func (*NullableGetSignableWithdrawalResponse) Set

func (*NullableGetSignableWithdrawalResponse) UnmarshalJSON

func (v *NullableGetSignableWithdrawalResponse) UnmarshalJSON(src []byte) error

func (*NullableGetSignableWithdrawalResponse) Unset

type NullableGetTransactionsResponse added in v1.0.0

type NullableGetTransactionsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetTransactionsResponse added in v1.0.0

func NewNullableGetTransactionsResponse(val *GetTransactionsResponse) *NullableGetTransactionsResponse

func (NullableGetTransactionsResponse) Get added in v1.0.0

func (NullableGetTransactionsResponse) IsSet added in v1.0.0

func (NullableGetTransactionsResponse) MarshalJSON added in v1.0.0

func (v NullableGetTransactionsResponse) MarshalJSON() ([]byte, error)

func (*NullableGetTransactionsResponse) Set added in v1.0.0

func (*NullableGetTransactionsResponse) UnmarshalJSON added in v1.0.0

func (v *NullableGetTransactionsResponse) UnmarshalJSON(src []byte) error

func (*NullableGetTransactionsResponse) Unset added in v1.0.0

type NullableGetUsersApiResponse

type NullableGetUsersApiResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetUsersApiResponse

func NewNullableGetUsersApiResponse(val *GetUsersApiResponse) *NullableGetUsersApiResponse

func (NullableGetUsersApiResponse) Get

func (NullableGetUsersApiResponse) IsSet

func (NullableGetUsersApiResponse) MarshalJSON

func (v NullableGetUsersApiResponse) MarshalJSON() ([]byte, error)

func (*NullableGetUsersApiResponse) Set

func (*NullableGetUsersApiResponse) UnmarshalJSON

func (v *NullableGetUsersApiResponse) UnmarshalJSON(src []byte) error

func (*NullableGetUsersApiResponse) Unset

func (v *NullableGetUsersApiResponse) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLambdasAPIError added in v1.0.0

type NullableLambdasAPIError struct {
	// contains filtered or unexported fields
}

func NewNullableLambdasAPIError added in v1.0.0

func NewNullableLambdasAPIError(val *LambdasAPIError) *NullableLambdasAPIError

func (NullableLambdasAPIError) Get added in v1.0.0

func (NullableLambdasAPIError) IsSet added in v1.0.0

func (v NullableLambdasAPIError) IsSet() bool

func (NullableLambdasAPIError) MarshalJSON added in v1.0.0

func (v NullableLambdasAPIError) MarshalJSON() ([]byte, error)

func (*NullableLambdasAPIError) Set added in v1.0.0

func (*NullableLambdasAPIError) UnmarshalJSON added in v1.0.0

func (v *NullableLambdasAPIError) UnmarshalJSON(src []byte) error

func (*NullableLambdasAPIError) Unset added in v1.0.0

func (v *NullableLambdasAPIError) Unset()

type NullableListAssetsResponse

type NullableListAssetsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListAssetsResponse

func NewNullableListAssetsResponse(val *ListAssetsResponse) *NullableListAssetsResponse

func (NullableListAssetsResponse) Get

func (NullableListAssetsResponse) IsSet

func (v NullableListAssetsResponse) IsSet() bool

func (NullableListAssetsResponse) MarshalJSON

func (v NullableListAssetsResponse) MarshalJSON() ([]byte, error)

func (*NullableListAssetsResponse) Set

func (*NullableListAssetsResponse) UnmarshalJSON

func (v *NullableListAssetsResponse) UnmarshalJSON(src []byte) error

func (*NullableListAssetsResponse) Unset

func (v *NullableListAssetsResponse) Unset()

type NullableListBalancesResponse

type NullableListBalancesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListBalancesResponse

func NewNullableListBalancesResponse(val *ListBalancesResponse) *NullableListBalancesResponse

func (NullableListBalancesResponse) Get

func (NullableListBalancesResponse) IsSet

func (NullableListBalancesResponse) MarshalJSON

func (v NullableListBalancesResponse) MarshalJSON() ([]byte, error)

func (*NullableListBalancesResponse) Set

func (*NullableListBalancesResponse) UnmarshalJSON

func (v *NullableListBalancesResponse) UnmarshalJSON(src []byte) error

func (*NullableListBalancesResponse) Unset

func (v *NullableListBalancesResponse) Unset()

type NullableListCollectionsResponse

type NullableListCollectionsResponse struct {
	// contains filtered or unexported fields
}

func (NullableListCollectionsResponse) Get

func (NullableListCollectionsResponse) IsSet

func (NullableListCollectionsResponse) MarshalJSON

func (v NullableListCollectionsResponse) MarshalJSON() ([]byte, error)

func (*NullableListCollectionsResponse) Set

func (*NullableListCollectionsResponse) UnmarshalJSON

func (v *NullableListCollectionsResponse) UnmarshalJSON(src []byte) error

func (*NullableListCollectionsResponse) Unset

type NullableListDepositsResponse

type NullableListDepositsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListDepositsResponse

func NewNullableListDepositsResponse(val *ListDepositsResponse) *NullableListDepositsResponse

func (NullableListDepositsResponse) Get

func (NullableListDepositsResponse) IsSet

func (NullableListDepositsResponse) MarshalJSON

func (v NullableListDepositsResponse) MarshalJSON() ([]byte, error)

func (*NullableListDepositsResponse) Set

func (*NullableListDepositsResponse) UnmarshalJSON

func (v *NullableListDepositsResponse) UnmarshalJSON(src []byte) error

func (*NullableListDepositsResponse) Unset

func (v *NullableListDepositsResponse) Unset()

type NullableListMintsResponse

type NullableListMintsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListMintsResponse

func NewNullableListMintsResponse(val *ListMintsResponse) *NullableListMintsResponse

func (NullableListMintsResponse) Get

func (NullableListMintsResponse) IsSet

func (v NullableListMintsResponse) IsSet() bool

func (NullableListMintsResponse) MarshalJSON

func (v NullableListMintsResponse) MarshalJSON() ([]byte, error)

func (*NullableListMintsResponse) Set

func (*NullableListMintsResponse) UnmarshalJSON

func (v *NullableListMintsResponse) UnmarshalJSON(src []byte) error

func (*NullableListMintsResponse) Unset

func (v *NullableListMintsResponse) Unset()

type NullableListOrdersResponse

type NullableListOrdersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListOrdersResponse

func NewNullableListOrdersResponse(val *ListOrdersResponse) *NullableListOrdersResponse

func (NullableListOrdersResponse) Get

func (NullableListOrdersResponse) IsSet

func (v NullableListOrdersResponse) IsSet() bool

func (NullableListOrdersResponse) MarshalJSON

func (v NullableListOrdersResponse) MarshalJSON() ([]byte, error)

func (*NullableListOrdersResponse) Set

func (*NullableListOrdersResponse) UnmarshalJSON

func (v *NullableListOrdersResponse) UnmarshalJSON(src []byte) error

func (*NullableListOrdersResponse) Unset

func (v *NullableListOrdersResponse) Unset()

type NullableListTokensResponse

type NullableListTokensResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListTokensResponse

func NewNullableListTokensResponse(val *ListTokensResponse) *NullableListTokensResponse

func (NullableListTokensResponse) Get

func (NullableListTokensResponse) IsSet

func (v NullableListTokensResponse) IsSet() bool

func (NullableListTokensResponse) MarshalJSON

func (v NullableListTokensResponse) MarshalJSON() ([]byte, error)

func (*NullableListTokensResponse) Set

func (*NullableListTokensResponse) UnmarshalJSON

func (v *NullableListTokensResponse) UnmarshalJSON(src []byte) error

func (*NullableListTokensResponse) Unset

func (v *NullableListTokensResponse) Unset()

type NullableListTradesResponse

type NullableListTradesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListTradesResponse

func NewNullableListTradesResponse(val *ListTradesResponse) *NullableListTradesResponse

func (NullableListTradesResponse) Get

func (NullableListTradesResponse) IsSet

func (v NullableListTradesResponse) IsSet() bool

func (NullableListTradesResponse) MarshalJSON

func (v NullableListTradesResponse) MarshalJSON() ([]byte, error)

func (*NullableListTradesResponse) Set

func (*NullableListTradesResponse) UnmarshalJSON

func (v *NullableListTradesResponse) UnmarshalJSON(src []byte) error

func (*NullableListTradesResponse) Unset

func (v *NullableListTradesResponse) Unset()

type NullableListTransfersResponse

type NullableListTransfersResponse struct {
	// contains filtered or unexported fields
}

func (NullableListTransfersResponse) Get

func (NullableListTransfersResponse) IsSet

func (NullableListTransfersResponse) MarshalJSON

func (v NullableListTransfersResponse) MarshalJSON() ([]byte, error)

func (*NullableListTransfersResponse) Set

func (*NullableListTransfersResponse) UnmarshalJSON

func (v *NullableListTransfersResponse) UnmarshalJSON(src []byte) error

func (*NullableListTransfersResponse) Unset

func (v *NullableListTransfersResponse) Unset()

type NullableListWithdrawalsResponse

type NullableListWithdrawalsResponse struct {
	// contains filtered or unexported fields
}

func (NullableListWithdrawalsResponse) Get

func (NullableListWithdrawalsResponse) IsSet

func (NullableListWithdrawalsResponse) MarshalJSON

func (v NullableListWithdrawalsResponse) MarshalJSON() ([]byte, error)

func (*NullableListWithdrawalsResponse) Set

func (*NullableListWithdrawalsResponse) UnmarshalJSON

func (v *NullableListWithdrawalsResponse) UnmarshalJSON(src []byte) error

func (*NullableListWithdrawalsResponse) Unset

type NullableMetadataRefreshErrors

type NullableMetadataRefreshErrors struct {
	// contains filtered or unexported fields
}

func (NullableMetadataRefreshErrors) Get

func (NullableMetadataRefreshErrors) IsSet

func (NullableMetadataRefreshErrors) MarshalJSON

func (v NullableMetadataRefreshErrors) MarshalJSON() ([]byte, error)

func (*NullableMetadataRefreshErrors) Set

func (*NullableMetadataRefreshErrors) UnmarshalJSON

func (v *NullableMetadataRefreshErrors) UnmarshalJSON(src []byte) error

func (*NullableMetadataRefreshErrors) Unset

func (v *NullableMetadataRefreshErrors) Unset()

type NullableMetadataRefreshExcludingSummary

type NullableMetadataRefreshExcludingSummary struct {
	// contains filtered or unexported fields
}

func (NullableMetadataRefreshExcludingSummary) Get

func (NullableMetadataRefreshExcludingSummary) IsSet

func (NullableMetadataRefreshExcludingSummary) MarshalJSON

func (v NullableMetadataRefreshExcludingSummary) MarshalJSON() ([]byte, error)

func (*NullableMetadataRefreshExcludingSummary) Set

func (*NullableMetadataRefreshExcludingSummary) UnmarshalJSON

func (v *NullableMetadataRefreshExcludingSummary) UnmarshalJSON(src []byte) error

func (*NullableMetadataRefreshExcludingSummary) Unset

type NullableMetadataRefreshSummary

type NullableMetadataRefreshSummary struct {
	// contains filtered or unexported fields
}

func (NullableMetadataRefreshSummary) Get

func (NullableMetadataRefreshSummary) IsSet

func (NullableMetadataRefreshSummary) MarshalJSON

func (v NullableMetadataRefreshSummary) MarshalJSON() ([]byte, error)

func (*NullableMetadataRefreshSummary) Set

func (*NullableMetadataRefreshSummary) UnmarshalJSON

func (v *NullableMetadataRefreshSummary) UnmarshalJSON(src []byte) error

func (*NullableMetadataRefreshSummary) Unset

func (v *NullableMetadataRefreshSummary) Unset()

type NullableMetadataSchemaProperty

type NullableMetadataSchemaProperty struct {
	// contains filtered or unexported fields
}

func (NullableMetadataSchemaProperty) Get

func (NullableMetadataSchemaProperty) IsSet

func (NullableMetadataSchemaProperty) MarshalJSON

func (v NullableMetadataSchemaProperty) MarshalJSON() ([]byte, error)

func (*NullableMetadataSchemaProperty) Set

func (*NullableMetadataSchemaProperty) UnmarshalJSON

func (v *NullableMetadataSchemaProperty) UnmarshalJSON(src []byte) error

func (*NullableMetadataSchemaProperty) Unset

func (v *NullableMetadataSchemaProperty) Unset()

type NullableMetadataSchemaRequest

type NullableMetadataSchemaRequest struct {
	// contains filtered or unexported fields
}

func (NullableMetadataSchemaRequest) Get

func (NullableMetadataSchemaRequest) IsSet

func (NullableMetadataSchemaRequest) MarshalJSON

func (v NullableMetadataSchemaRequest) MarshalJSON() ([]byte, error)

func (*NullableMetadataSchemaRequest) Set

func (*NullableMetadataSchemaRequest) UnmarshalJSON

func (v *NullableMetadataSchemaRequest) UnmarshalJSON(src []byte) error

func (*NullableMetadataSchemaRequest) Unset

func (v *NullableMetadataSchemaRequest) Unset()

type NullableMint

type NullableMint struct {
	// contains filtered or unexported fields
}

func NewNullableMint

func NewNullableMint(val *Mint) *NullableMint

func (NullableMint) Get

func (v NullableMint) Get() *Mint

func (NullableMint) IsSet

func (v NullableMint) IsSet() bool

func (NullableMint) MarshalJSON

func (v NullableMint) MarshalJSON() ([]byte, error)

func (*NullableMint) Set

func (v *NullableMint) Set(val *Mint)

func (*NullableMint) UnmarshalJSON

func (v *NullableMint) UnmarshalJSON(src []byte) error

func (*NullableMint) Unset

func (v *NullableMint) Unset()

type NullableMintFee

type NullableMintFee struct {
	// contains filtered or unexported fields
}

func NewNullableMintFee

func NewNullableMintFee(val *MintFee) *NullableMintFee

func (NullableMintFee) Get

func (v NullableMintFee) Get() *MintFee

func (NullableMintFee) IsSet

func (v NullableMintFee) IsSet() bool

func (NullableMintFee) MarshalJSON

func (v NullableMintFee) MarshalJSON() ([]byte, error)

func (*NullableMintFee) Set

func (v *NullableMintFee) Set(val *MintFee)

func (*NullableMintFee) UnmarshalJSON

func (v *NullableMintFee) UnmarshalJSON(src []byte) error

func (*NullableMintFee) Unset

func (v *NullableMintFee) Unset()

type NullableMintRequest

type NullableMintRequest struct {
	// contains filtered or unexported fields
}

func NewNullableMintRequest

func NewNullableMintRequest(val *MintRequest) *NullableMintRequest

func (NullableMintRequest) Get

func (NullableMintRequest) IsSet

func (v NullableMintRequest) IsSet() bool

func (NullableMintRequest) MarshalJSON

func (v NullableMintRequest) MarshalJSON() ([]byte, error)

func (*NullableMintRequest) Set

func (v *NullableMintRequest) Set(val *MintRequest)

func (*NullableMintRequest) UnmarshalJSON

func (v *NullableMintRequest) UnmarshalJSON(src []byte) error

func (*NullableMintRequest) Unset

func (v *NullableMintRequest) Unset()

type NullableMintResultDetails

type NullableMintResultDetails struct {
	// contains filtered or unexported fields
}

func NewNullableMintResultDetails

func NewNullableMintResultDetails(val *MintResultDetails) *NullableMintResultDetails

func (NullableMintResultDetails) Get

func (NullableMintResultDetails) IsSet

func (v NullableMintResultDetails) IsSet() bool

func (NullableMintResultDetails) MarshalJSON

func (v NullableMintResultDetails) MarshalJSON() ([]byte, error)

func (*NullableMintResultDetails) Set

func (*NullableMintResultDetails) UnmarshalJSON

func (v *NullableMintResultDetails) UnmarshalJSON(src []byte) error

func (*NullableMintResultDetails) Unset

func (v *NullableMintResultDetails) Unset()

type NullableMintTokenDataV2

type NullableMintTokenDataV2 struct {
	// contains filtered or unexported fields
}

func NewNullableMintTokenDataV2

func NewNullableMintTokenDataV2(val *MintTokenDataV2) *NullableMintTokenDataV2

func (NullableMintTokenDataV2) Get

func (NullableMintTokenDataV2) IsSet

func (v NullableMintTokenDataV2) IsSet() bool

func (NullableMintTokenDataV2) MarshalJSON

func (v NullableMintTokenDataV2) MarshalJSON() ([]byte, error)

func (*NullableMintTokenDataV2) Set

func (*NullableMintTokenDataV2) UnmarshalJSON

func (v *NullableMintTokenDataV2) UnmarshalJSON(src []byte) error

func (*NullableMintTokenDataV2) Unset

func (v *NullableMintTokenDataV2) Unset()

type NullableMintTokensResponse

type NullableMintTokensResponse struct {
	// contains filtered or unexported fields
}

func NewNullableMintTokensResponse

func NewNullableMintTokensResponse(val *MintTokensResponse) *NullableMintTokensResponse

func (NullableMintTokensResponse) Get

func (NullableMintTokensResponse) IsSet

func (v NullableMintTokensResponse) IsSet() bool

func (NullableMintTokensResponse) MarshalJSON

func (v NullableMintTokensResponse) MarshalJSON() ([]byte, error)

func (*NullableMintTokensResponse) Set

func (*NullableMintTokensResponse) UnmarshalJSON

func (v *NullableMintTokensResponse) UnmarshalJSON(src []byte) error

func (*NullableMintTokensResponse) Unset

func (v *NullableMintTokensResponse) Unset()

type NullableMintUser

type NullableMintUser struct {
	// contains filtered or unexported fields
}

func NewNullableMintUser

func NewNullableMintUser(val *MintUser) *NullableMintUser

func (NullableMintUser) Get

func (v NullableMintUser) Get() *MintUser

func (NullableMintUser) IsSet

func (v NullableMintUser) IsSet() bool

func (NullableMintUser) MarshalJSON

func (v NullableMintUser) MarshalJSON() ([]byte, error)

func (*NullableMintUser) Set

func (v *NullableMintUser) Set(val *MintUser)

func (*NullableMintUser) UnmarshalJSON

func (v *NullableMintUser) UnmarshalJSON(src []byte) error

func (*NullableMintUser) Unset

func (v *NullableMintUser) Unset()

type NullableMintableTokenDetails

type NullableMintableTokenDetails struct {
	// contains filtered or unexported fields
}

func NewNullableMintableTokenDetails

func NewNullableMintableTokenDetails(val *MintableTokenDetails) *NullableMintableTokenDetails

func (NullableMintableTokenDetails) Get

func (NullableMintableTokenDetails) IsSet

func (NullableMintableTokenDetails) MarshalJSON

func (v NullableMintableTokenDetails) MarshalJSON() ([]byte, error)

func (*NullableMintableTokenDetails) Set

func (*NullableMintableTokenDetails) UnmarshalJSON

func (v *NullableMintableTokenDetails) UnmarshalJSON(src []byte) error

func (*NullableMintableTokenDetails) Unset

func (v *NullableMintableTokenDetails) Unset()

type NullableNftprimarytransactionCreateAPIRequest added in v1.0.0

type NullableNftprimarytransactionCreateAPIRequest struct {
	// contains filtered or unexported fields
}

func (NullableNftprimarytransactionCreateAPIRequest) Get added in v1.0.0

func (NullableNftprimarytransactionCreateAPIRequest) IsSet added in v1.0.0

func (NullableNftprimarytransactionCreateAPIRequest) MarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionCreateAPIRequest) Set added in v1.0.0

func (*NullableNftprimarytransactionCreateAPIRequest) UnmarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionCreateAPIRequest) Unset added in v1.0.0

type NullableNftprimarytransactionCreateResponse added in v1.0.0

type NullableNftprimarytransactionCreateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableNftprimarytransactionCreateResponse added in v1.0.0

func NewNullableNftprimarytransactionCreateResponse(val *NftprimarytransactionCreateResponse) *NullableNftprimarytransactionCreateResponse

func (NullableNftprimarytransactionCreateResponse) Get added in v1.0.0

func (NullableNftprimarytransactionCreateResponse) IsSet added in v1.0.0

func (NullableNftprimarytransactionCreateResponse) MarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionCreateResponse) Set added in v1.0.0

func (*NullableNftprimarytransactionCreateResponse) UnmarshalJSON added in v1.0.0

func (v *NullableNftprimarytransactionCreateResponse) UnmarshalJSON(src []byte) error

func (*NullableNftprimarytransactionCreateResponse) Unset added in v1.0.0

type NullableNftprimarytransactionGetResponse added in v1.0.0

type NullableNftprimarytransactionGetResponse struct {
	// contains filtered or unexported fields
}

func NewNullableNftprimarytransactionGetResponse added in v1.0.0

func NewNullableNftprimarytransactionGetResponse(val *NftprimarytransactionGetResponse) *NullableNftprimarytransactionGetResponse

func (NullableNftprimarytransactionGetResponse) Get added in v1.0.0

func (NullableNftprimarytransactionGetResponse) IsSet added in v1.0.0

func (NullableNftprimarytransactionGetResponse) MarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionGetResponse) Set added in v1.0.0

func (*NullableNftprimarytransactionGetResponse) UnmarshalJSON added in v1.0.0

func (v *NullableNftprimarytransactionGetResponse) UnmarshalJSON(src []byte) error

func (*NullableNftprimarytransactionGetResponse) Unset added in v1.0.0

type NullableNftprimarytransactionListTransactionsResponse added in v1.0.0

type NullableNftprimarytransactionListTransactionsResponse struct {
	// contains filtered or unexported fields
}

func (NullableNftprimarytransactionListTransactionsResponse) Get added in v1.0.0

func (NullableNftprimarytransactionListTransactionsResponse) IsSet added in v1.0.0

func (NullableNftprimarytransactionListTransactionsResponse) MarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionListTransactionsResponse) Set added in v1.0.0

func (*NullableNftprimarytransactionListTransactionsResponse) UnmarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionListTransactionsResponse) Unset added in v1.0.0

type NullableNftprimarytransactionTransactionData added in v1.0.0

type NullableNftprimarytransactionTransactionData struct {
	// contains filtered or unexported fields
}

func NewNullableNftprimarytransactionTransactionData added in v1.0.0

func NewNullableNftprimarytransactionTransactionData(val *NftprimarytransactionTransactionData) *NullableNftprimarytransactionTransactionData

func (NullableNftprimarytransactionTransactionData) Get added in v1.0.0

func (NullableNftprimarytransactionTransactionData) IsSet added in v1.0.0

func (NullableNftprimarytransactionTransactionData) MarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionTransactionData) Set added in v1.0.0

func (*NullableNftprimarytransactionTransactionData) UnmarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionTransactionData) Unset added in v1.0.0

type NullableNftprimarytransactionWidgetParams added in v1.0.0

type NullableNftprimarytransactionWidgetParams struct {
	// contains filtered or unexported fields
}

func NewNullableNftprimarytransactionWidgetParams added in v1.0.0

func NewNullableNftprimarytransactionWidgetParams(val *NftprimarytransactionWidgetParams) *NullableNftprimarytransactionWidgetParams

func (NullableNftprimarytransactionWidgetParams) Get added in v1.0.0

func (NullableNftprimarytransactionWidgetParams) IsSet added in v1.0.0

func (NullableNftprimarytransactionWidgetParams) MarshalJSON added in v1.0.0

func (*NullableNftprimarytransactionWidgetParams) Set added in v1.0.0

func (*NullableNftprimarytransactionWidgetParams) UnmarshalJSON added in v1.0.0

func (v *NullableNftprimarytransactionWidgetParams) UnmarshalJSON(src []byte) error

func (*NullableNftprimarytransactionWidgetParams) Unset added in v1.0.0

type NullableOptionalExchangeData added in v1.0.0

type NullableOptionalExchangeData struct {
	// contains filtered or unexported fields
}

func NewNullableOptionalExchangeData added in v1.0.0

func NewNullableOptionalExchangeData(val *OptionalExchangeData) *NullableOptionalExchangeData

func (NullableOptionalExchangeData) Get added in v1.0.0

func (NullableOptionalExchangeData) IsSet added in v1.0.0

func (NullableOptionalExchangeData) MarshalJSON added in v1.0.0

func (v NullableOptionalExchangeData) MarshalJSON() ([]byte, error)

func (*NullableOptionalExchangeData) Set added in v1.0.0

func (*NullableOptionalExchangeData) UnmarshalJSON added in v1.0.0

func (v *NullableOptionalExchangeData) UnmarshalJSON(src []byte) error

func (*NullableOptionalExchangeData) Unset added in v1.0.0

func (v *NullableOptionalExchangeData) Unset()

type NullableOrder

type NullableOrder struct {
	// contains filtered or unexported fields
}

func NewNullableOrder

func NewNullableOrder(val *Order) *NullableOrder

func (NullableOrder) Get

func (v NullableOrder) Get() *Order

func (NullableOrder) IsSet

func (v NullableOrder) IsSet() bool

func (NullableOrder) MarshalJSON

func (v NullableOrder) MarshalJSON() ([]byte, error)

func (*NullableOrder) Set

func (v *NullableOrder) Set(val *Order)

func (*NullableOrder) UnmarshalJSON

func (v *NullableOrder) UnmarshalJSON(src []byte) error

func (*NullableOrder) Unset

func (v *NullableOrder) Unset()

type NullableOrderDetails

type NullableOrderDetails struct {
	// contains filtered or unexported fields
}

func NewNullableOrderDetails

func NewNullableOrderDetails(val *OrderDetails) *NullableOrderDetails

func (NullableOrderDetails) Get

func (NullableOrderDetails) IsSet

func (v NullableOrderDetails) IsSet() bool

func (NullableOrderDetails) MarshalJSON

func (v NullableOrderDetails) MarshalJSON() ([]byte, error)

func (*NullableOrderDetails) Set

func (v *NullableOrderDetails) Set(val *OrderDetails)

func (*NullableOrderDetails) UnmarshalJSON

func (v *NullableOrderDetails) UnmarshalJSON(src []byte) error

func (*NullableOrderDetails) Unset

func (v *NullableOrderDetails) Unset()

type NullableOrderFeeInfo

type NullableOrderFeeInfo struct {
	// contains filtered or unexported fields
}

func NewNullableOrderFeeInfo

func NewNullableOrderFeeInfo(val *OrderFeeInfo) *NullableOrderFeeInfo

func (NullableOrderFeeInfo) Get

func (NullableOrderFeeInfo) IsSet

func (v NullableOrderFeeInfo) IsSet() bool

func (NullableOrderFeeInfo) MarshalJSON

func (v NullableOrderFeeInfo) MarshalJSON() ([]byte, error)

func (*NullableOrderFeeInfo) Set

func (v *NullableOrderFeeInfo) Set(val *OrderFeeInfo)

func (*NullableOrderFeeInfo) UnmarshalJSON

func (v *NullableOrderFeeInfo) UnmarshalJSON(src []byte) error

func (*NullableOrderFeeInfo) Unset

func (v *NullableOrderFeeInfo) Unset()

type NullableProject

type NullableProject struct {
	// contains filtered or unexported fields
}

func NewNullableProject

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get

func (v NullableProject) Get() *Project

func (NullableProject) IsSet

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON

func (v NullableProject) MarshalJSON() ([]byte, error)

func (*NullableProject) Set

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON

func (v *NullableProject) UnmarshalJSON(src []byte) error

func (*NullableProject) Unset

func (v *NullableProject) Unset()

type NullableRange

type NullableRange struct {
	// contains filtered or unexported fields
}

func NewNullableRange

func NewNullableRange(val *Range) *NullableRange

func (NullableRange) Get

func (v NullableRange) Get() *Range

func (NullableRange) IsSet

func (v NullableRange) IsSet() bool

func (NullableRange) MarshalJSON

func (v NullableRange) MarshalJSON() ([]byte, error)

func (*NullableRange) Set

func (v *NullableRange) Set(val *Range)

func (*NullableRange) UnmarshalJSON

func (v *NullableRange) UnmarshalJSON(src []byte) error

func (*NullableRange) Unset

func (v *NullableRange) Unset()

type NullableRegisterUserRequest

type NullableRegisterUserRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRegisterUserRequest

func NewNullableRegisterUserRequest(val *RegisterUserRequest) *NullableRegisterUserRequest

func (NullableRegisterUserRequest) Get

func (NullableRegisterUserRequest) IsSet

func (NullableRegisterUserRequest) MarshalJSON

func (v NullableRegisterUserRequest) MarshalJSON() ([]byte, error)

func (*NullableRegisterUserRequest) Set

func (*NullableRegisterUserRequest) UnmarshalJSON

func (v *NullableRegisterUserRequest) UnmarshalJSON(src []byte) error

func (*NullableRegisterUserRequest) Unset

func (v *NullableRegisterUserRequest) Unset()

type NullableRegisterUserResponse

type NullableRegisterUserResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRegisterUserResponse

func NewNullableRegisterUserResponse(val *RegisterUserResponse) *NullableRegisterUserResponse

func (NullableRegisterUserResponse) Get

func (NullableRegisterUserResponse) IsSet

func (NullableRegisterUserResponse) MarshalJSON

func (v NullableRegisterUserResponse) MarshalJSON() ([]byte, error)

func (*NullableRegisterUserResponse) Set

func (*NullableRegisterUserResponse) UnmarshalJSON

func (v *NullableRegisterUserResponse) UnmarshalJSON(src []byte) error

func (*NullableRegisterUserResponse) Unset

func (v *NullableRegisterUserResponse) Unset()

type NullableSignableToken

type NullableSignableToken struct {
	// contains filtered or unexported fields
}

func NewNullableSignableToken

func NewNullableSignableToken(val *SignableToken) *NullableSignableToken

func (NullableSignableToken) Get

func (NullableSignableToken) IsSet

func (v NullableSignableToken) IsSet() bool

func (NullableSignableToken) MarshalJSON

func (v NullableSignableToken) MarshalJSON() ([]byte, error)

func (*NullableSignableToken) Set

func (v *NullableSignableToken) Set(val *SignableToken)

func (*NullableSignableToken) UnmarshalJSON

func (v *NullableSignableToken) UnmarshalJSON(src []byte) error

func (*NullableSignableToken) Unset

func (v *NullableSignableToken) Unset()

type NullableSignableTransferDetails

type NullableSignableTransferDetails struct {
	// contains filtered or unexported fields
}

func (NullableSignableTransferDetails) Get

func (NullableSignableTransferDetails) IsSet

func (NullableSignableTransferDetails) MarshalJSON

func (v NullableSignableTransferDetails) MarshalJSON() ([]byte, error)

func (*NullableSignableTransferDetails) Set

func (*NullableSignableTransferDetails) UnmarshalJSON

func (v *NullableSignableTransferDetails) UnmarshalJSON(src []byte) error

func (*NullableSignableTransferDetails) Unset

type NullableSignableTransferResponseDetails

type NullableSignableTransferResponseDetails struct {
	// contains filtered or unexported fields
}

func (NullableSignableTransferResponseDetails) Get

func (NullableSignableTransferResponseDetails) IsSet

func (NullableSignableTransferResponseDetails) MarshalJSON

func (v NullableSignableTransferResponseDetails) MarshalJSON() ([]byte, error)

func (*NullableSignableTransferResponseDetails) Set

func (*NullableSignableTransferResponseDetails) UnmarshalJSON

func (v *NullableSignableTransferResponseDetails) UnmarshalJSON(src []byte) error

func (*NullableSignableTransferResponseDetails) Unset

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableSuccessResponse

type NullableSuccessResponse struct {
	// contains filtered or unexported fields
}

func NewNullableSuccessResponse

func NewNullableSuccessResponse(val *SuccessResponse) *NullableSuccessResponse

func (NullableSuccessResponse) Get

func (NullableSuccessResponse) IsSet

func (v NullableSuccessResponse) IsSet() bool

func (NullableSuccessResponse) MarshalJSON

func (v NullableSuccessResponse) MarshalJSON() ([]byte, error)

func (*NullableSuccessResponse) Set

func (*NullableSuccessResponse) UnmarshalJSON

func (v *NullableSuccessResponse) UnmarshalJSON(src []byte) error

func (*NullableSuccessResponse) Unset

func (v *NullableSuccessResponse) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableToken

type NullableToken struct {
	// contains filtered or unexported fields
}

func NewNullableToken

func NewNullableToken(val *Token) *NullableToken

func (NullableToken) Get

func (v NullableToken) Get() *Token

func (NullableToken) IsSet

func (v NullableToken) IsSet() bool

func (NullableToken) MarshalJSON

func (v NullableToken) MarshalJSON() ([]byte, error)

func (*NullableToken) Set

func (v *NullableToken) Set(val *Token)

func (*NullableToken) UnmarshalJSON

func (v *NullableToken) UnmarshalJSON(src []byte) error

func (*NullableToken) Unset

func (v *NullableToken) Unset()

type NullableTokenData

type NullableTokenData struct {
	// contains filtered or unexported fields
}

func NewNullableTokenData

func NewNullableTokenData(val *TokenData) *NullableTokenData

func (NullableTokenData) Get

func (v NullableTokenData) Get() *TokenData

func (NullableTokenData) IsSet

func (v NullableTokenData) IsSet() bool

func (NullableTokenData) MarshalJSON

func (v NullableTokenData) MarshalJSON() ([]byte, error)

func (*NullableTokenData) Set

func (v *NullableTokenData) Set(val *TokenData)

func (*NullableTokenData) UnmarshalJSON

func (v *NullableTokenData) UnmarshalJSON(src []byte) error

func (*NullableTokenData) Unset

func (v *NullableTokenData) Unset()

type NullableTokenDetails

type NullableTokenDetails struct {
	// contains filtered or unexported fields
}

func NewNullableTokenDetails

func NewNullableTokenDetails(val *TokenDetails) *NullableTokenDetails

func (NullableTokenDetails) Get

func (NullableTokenDetails) IsSet

func (v NullableTokenDetails) IsSet() bool

func (NullableTokenDetails) MarshalJSON

func (v NullableTokenDetails) MarshalJSON() ([]byte, error)

func (*NullableTokenDetails) Set

func (v *NullableTokenDetails) Set(val *TokenDetails)

func (*NullableTokenDetails) UnmarshalJSON

func (v *NullableTokenDetails) UnmarshalJSON(src []byte) error

func (*NullableTokenDetails) Unset

func (v *NullableTokenDetails) Unset()

type NullableTrade

type NullableTrade struct {
	// contains filtered or unexported fields
}

func NewNullableTrade

func NewNullableTrade(val *Trade) *NullableTrade

func (NullableTrade) Get

func (v NullableTrade) Get() *Trade

func (NullableTrade) IsSet

func (v NullableTrade) IsSet() bool

func (NullableTrade) MarshalJSON

func (v NullableTrade) MarshalJSON() ([]byte, error)

func (*NullableTrade) Set

func (v *NullableTrade) Set(val *Trade)

func (*NullableTrade) UnmarshalJSON

func (v *NullableTrade) UnmarshalJSON(src []byte) error

func (*NullableTrade) Unset

func (v *NullableTrade) Unset()

type NullableTradeSide

type NullableTradeSide struct {
	// contains filtered or unexported fields
}

func NewNullableTradeSide

func NewNullableTradeSide(val *TradeSide) *NullableTradeSide

func (NullableTradeSide) Get

func (v NullableTradeSide) Get() *TradeSide

func (NullableTradeSide) IsSet

func (v NullableTradeSide) IsSet() bool

func (NullableTradeSide) MarshalJSON

func (v NullableTradeSide) MarshalJSON() ([]byte, error)

func (*NullableTradeSide) Set

func (v *NullableTradeSide) Set(val *TradeSide)

func (*NullableTradeSide) UnmarshalJSON

func (v *NullableTradeSide) UnmarshalJSON(src []byte) error

func (*NullableTradeSide) Unset

func (v *NullableTradeSide) Unset()

type NullableTransfer

type NullableTransfer struct {
	// contains filtered or unexported fields
}

func NewNullableTransfer

func NewNullableTransfer(val *Transfer) *NullableTransfer

func (NullableTransfer) Get

func (v NullableTransfer) Get() *Transfer

func (NullableTransfer) IsSet

func (v NullableTransfer) IsSet() bool

func (NullableTransfer) MarshalJSON

func (v NullableTransfer) MarshalJSON() ([]byte, error)

func (*NullableTransfer) Set

func (v *NullableTransfer) Set(val *Transfer)

func (*NullableTransfer) UnmarshalJSON

func (v *NullableTransfer) UnmarshalJSON(src []byte) error

func (*NullableTransfer) Unset

func (v *NullableTransfer) Unset()

type NullableTransferRequest

type NullableTransferRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransferRequest

func NewNullableTransferRequest(val *TransferRequest) *NullableTransferRequest

func (NullableTransferRequest) Get

func (NullableTransferRequest) IsSet

func (v NullableTransferRequest) IsSet() bool

func (NullableTransferRequest) MarshalJSON

func (v NullableTransferRequest) MarshalJSON() ([]byte, error)

func (*NullableTransferRequest) Set

func (*NullableTransferRequest) UnmarshalJSON

func (v *NullableTransferRequest) UnmarshalJSON(src []byte) error

func (*NullableTransferRequest) Unset

func (v *NullableTransferRequest) Unset()

type NullableUpdateCollectionRequest

type NullableUpdateCollectionRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateCollectionRequest) Get

func (NullableUpdateCollectionRequest) IsSet

func (NullableUpdateCollectionRequest) MarshalJSON

func (v NullableUpdateCollectionRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateCollectionRequest) Set

func (*NullableUpdateCollectionRequest) UnmarshalJSON

func (v *NullableUpdateCollectionRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateCollectionRequest) Unset

type NullableWidgetParams added in v1.0.0

type NullableWidgetParams struct {
	// contains filtered or unexported fields
}

func NewNullableWidgetParams added in v1.0.0

func NewNullableWidgetParams(val *WidgetParams) *NullableWidgetParams

func (NullableWidgetParams) Get added in v1.0.0

func (NullableWidgetParams) IsSet added in v1.0.0

func (v NullableWidgetParams) IsSet() bool

func (NullableWidgetParams) MarshalJSON added in v1.0.0

func (v NullableWidgetParams) MarshalJSON() ([]byte, error)

func (*NullableWidgetParams) Set added in v1.0.0

func (v *NullableWidgetParams) Set(val *WidgetParams)

func (*NullableWidgetParams) UnmarshalJSON added in v1.0.0

func (v *NullableWidgetParams) UnmarshalJSON(src []byte) error

func (*NullableWidgetParams) Unset added in v1.0.0

func (v *NullableWidgetParams) Unset()

type NullableWithdrawal

type NullableWithdrawal struct {
	// contains filtered or unexported fields
}

func NewNullableWithdrawal

func NewNullableWithdrawal(val *Withdrawal) *NullableWithdrawal

func (NullableWithdrawal) Get

func (v NullableWithdrawal) Get() *Withdrawal

func (NullableWithdrawal) IsSet

func (v NullableWithdrawal) IsSet() bool

func (NullableWithdrawal) MarshalJSON

func (v NullableWithdrawal) MarshalJSON() ([]byte, error)

func (*NullableWithdrawal) Set

func (v *NullableWithdrawal) Set(val *Withdrawal)

func (*NullableWithdrawal) UnmarshalJSON

func (v *NullableWithdrawal) UnmarshalJSON(src []byte) error

func (*NullableWithdrawal) Unset

func (v *NullableWithdrawal) Unset()

type OptionalExchangeData added in v1.0.0

type OptionalExchangeData struct {
	// Provider transaction ID
	ExternalId *string `json:"external_id,omitempty"`
	// Fees amount
	FeesAmount *float32 `json:"fees_amount,omitempty"`
	// Amount that was exchanged from
	FromAmount *float32 `json:"from_amount,omitempty"`
	// Currency that was exchanged from
	FromCurrency *string `json:"from_currency,omitempty"`
	// Provider wallet address that was used for transferring crypto
	ProviderWalletAddress *string `json:"provider_wallet_address,omitempty"`
	// Amount that was exchanged to
	ToAmount *float32 `json:"to_amount,omitempty"`
	// Currency that was exchanged to
	ToCurrency *string `json:"to_currency,omitempty"`
	// Transfer ID
	TransferId *string `json:"transfer_id,omitempty"`
}

OptionalExchangeData struct for OptionalExchangeData

func NewOptionalExchangeData added in v1.0.0

func NewOptionalExchangeData() *OptionalExchangeData

NewOptionalExchangeData instantiates a new OptionalExchangeData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOptionalExchangeDataWithDefaults added in v1.0.0

func NewOptionalExchangeDataWithDefaults() *OptionalExchangeData

NewOptionalExchangeDataWithDefaults instantiates a new OptionalExchangeData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OptionalExchangeData) GetExternalId added in v1.0.0

func (o *OptionalExchangeData) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*OptionalExchangeData) GetExternalIdOk added in v1.0.0

func (o *OptionalExchangeData) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OptionalExchangeData) GetFeesAmount added in v1.0.0

func (o *OptionalExchangeData) GetFeesAmount() float32

GetFeesAmount returns the FeesAmount field value if set, zero value otherwise.

func (*OptionalExchangeData) GetFeesAmountOk added in v1.0.0

func (o *OptionalExchangeData) GetFeesAmountOk() (*float32, bool)

GetFeesAmountOk returns a tuple with the FeesAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OptionalExchangeData) GetFromAmount added in v1.0.0

func (o *OptionalExchangeData) GetFromAmount() float32

GetFromAmount returns the FromAmount field value if set, zero value otherwise.

func (*OptionalExchangeData) GetFromAmountOk added in v1.0.0

func (o *OptionalExchangeData) GetFromAmountOk() (*float32, bool)

GetFromAmountOk returns a tuple with the FromAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OptionalExchangeData) GetFromCurrency added in v1.0.0

func (o *OptionalExchangeData) GetFromCurrency() string

GetFromCurrency returns the FromCurrency field value if set, zero value otherwise.

func (*OptionalExchangeData) GetFromCurrencyOk added in v1.0.0

func (o *OptionalExchangeData) GetFromCurrencyOk() (*string, bool)

GetFromCurrencyOk returns a tuple with the FromCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OptionalExchangeData) GetProviderWalletAddress added in v1.0.0

func (o *OptionalExchangeData) GetProviderWalletAddress() string

GetProviderWalletAddress returns the ProviderWalletAddress field value if set, zero value otherwise.

func (*OptionalExchangeData) GetProviderWalletAddressOk added in v1.0.0

func (o *OptionalExchangeData) GetProviderWalletAddressOk() (*string, bool)

GetProviderWalletAddressOk returns a tuple with the ProviderWalletAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OptionalExchangeData) GetToAmount added in v1.0.0

func (o *OptionalExchangeData) GetToAmount() float32

GetToAmount returns the ToAmount field value if set, zero value otherwise.

func (*OptionalExchangeData) GetToAmountOk added in v1.0.0

func (o *OptionalExchangeData) GetToAmountOk() (*float32, bool)

GetToAmountOk returns a tuple with the ToAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OptionalExchangeData) GetToCurrency added in v1.0.0

func (o *OptionalExchangeData) GetToCurrency() string

GetToCurrency returns the ToCurrency field value if set, zero value otherwise.

func (*OptionalExchangeData) GetToCurrencyOk added in v1.0.0

func (o *OptionalExchangeData) GetToCurrencyOk() (*string, bool)

GetToCurrencyOk returns a tuple with the ToCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OptionalExchangeData) GetTransferId added in v1.0.0

func (o *OptionalExchangeData) GetTransferId() string

GetTransferId returns the TransferId field value if set, zero value otherwise.

func (*OptionalExchangeData) GetTransferIdOk added in v1.0.0

func (o *OptionalExchangeData) GetTransferIdOk() (*string, bool)

GetTransferIdOk returns a tuple with the TransferId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OptionalExchangeData) HasExternalId added in v1.0.0

func (o *OptionalExchangeData) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*OptionalExchangeData) HasFeesAmount added in v1.0.0

func (o *OptionalExchangeData) HasFeesAmount() bool

HasFeesAmount returns a boolean if a field has been set.

func (*OptionalExchangeData) HasFromAmount added in v1.0.0

func (o *OptionalExchangeData) HasFromAmount() bool

HasFromAmount returns a boolean if a field has been set.

func (*OptionalExchangeData) HasFromCurrency added in v1.0.0

func (o *OptionalExchangeData) HasFromCurrency() bool

HasFromCurrency returns a boolean if a field has been set.

func (*OptionalExchangeData) HasProviderWalletAddress added in v1.0.0

func (o *OptionalExchangeData) HasProviderWalletAddress() bool

HasProviderWalletAddress returns a boolean if a field has been set.

func (*OptionalExchangeData) HasToAmount added in v1.0.0

func (o *OptionalExchangeData) HasToAmount() bool

HasToAmount returns a boolean if a field has been set.

func (*OptionalExchangeData) HasToCurrency added in v1.0.0

func (o *OptionalExchangeData) HasToCurrency() bool

HasToCurrency returns a boolean if a field has been set.

func (*OptionalExchangeData) HasTransferId added in v1.0.0

func (o *OptionalExchangeData) HasTransferId() bool

HasTransferId returns a boolean if a field has been set.

func (OptionalExchangeData) MarshalJSON added in v1.0.0

func (o OptionalExchangeData) MarshalJSON() ([]byte, error)

func (*OptionalExchangeData) SetExternalId added in v1.0.0

func (o *OptionalExchangeData) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*OptionalExchangeData) SetFeesAmount added in v1.0.0

func (o *OptionalExchangeData) SetFeesAmount(v float32)

SetFeesAmount gets a reference to the given float32 and assigns it to the FeesAmount field.

func (*OptionalExchangeData) SetFromAmount added in v1.0.0

func (o *OptionalExchangeData) SetFromAmount(v float32)

SetFromAmount gets a reference to the given float32 and assigns it to the FromAmount field.

func (*OptionalExchangeData) SetFromCurrency added in v1.0.0

func (o *OptionalExchangeData) SetFromCurrency(v string)

SetFromCurrency gets a reference to the given string and assigns it to the FromCurrency field.

func (*OptionalExchangeData) SetProviderWalletAddress added in v1.0.0

func (o *OptionalExchangeData) SetProviderWalletAddress(v string)

SetProviderWalletAddress gets a reference to the given string and assigns it to the ProviderWalletAddress field.

func (*OptionalExchangeData) SetToAmount added in v1.0.0

func (o *OptionalExchangeData) SetToAmount(v float32)

SetToAmount gets a reference to the given float32 and assigns it to the ToAmount field.

func (*OptionalExchangeData) SetToCurrency added in v1.0.0

func (o *OptionalExchangeData) SetToCurrency(v string)

SetToCurrency gets a reference to the given string and assigns it to the ToCurrency field.

func (*OptionalExchangeData) SetTransferId added in v1.0.0

func (o *OptionalExchangeData) SetTransferId(v string)

SetTransferId gets a reference to the given string and assigns it to the TransferId field.

type Order

type Order struct {
	// Amount of the asset already sold by this order
	AmountSold NullableString `json:"amount_sold"`
	Buy        Token          `json:"buy"`
	// Expiration timestamp of this order
	ExpirationTimestamp NullableString `json:"expiration_timestamp"`
	// Fee information for the order
	Fees []OrderFeeInfo `json:"fees,omitempty"`
	// ID of the order
	OrderId int32 `json:"order_id"`
	Sell    Token `json:"sell"`
	// Status of the order
	Status string `json:"status"`
	// Timestamp this order was created
	Timestamp NullableString `json:"timestamp"`
	// Updated timestamp of this order
	UpdatedTimestamp NullableString `json:"updated_timestamp"`
	// Ethereum address of the user who submitted the order
	User string `json:"user"`
}

Order struct for Order

func NewOrder

func NewOrder(amountSold NullableString, buy Token, expirationTimestamp NullableString, orderId int32, sell Token, status string, timestamp NullableString, updatedTimestamp NullableString, user string) *Order

NewOrder instantiates a new Order object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOrderWithDefaults

func NewOrderWithDefaults() *Order

NewOrderWithDefaults instantiates a new Order object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Order) GetAmountSold

func (o *Order) GetAmountSold() string

GetAmountSold returns the AmountSold field value If the value is explicit nil, the zero value for string will be returned

func (*Order) GetAmountSoldOk

func (o *Order) GetAmountSoldOk() (*string, bool)

GetAmountSoldOk returns a tuple with the AmountSold field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Order) GetBuy

func (o *Order) GetBuy() Token

GetBuy returns the Buy field value

func (*Order) GetBuyOk

func (o *Order) GetBuyOk() (*Token, bool)

GetBuyOk returns a tuple with the Buy field value and a boolean to check if the value has been set.

func (*Order) GetExpirationTimestamp

func (o *Order) GetExpirationTimestamp() string

GetExpirationTimestamp returns the ExpirationTimestamp field value If the value is explicit nil, the zero value for string will be returned

func (*Order) GetExpirationTimestampOk

func (o *Order) GetExpirationTimestampOk() (*string, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Order) GetFees

func (o *Order) GetFees() []OrderFeeInfo

GetFees returns the Fees field value if set, zero value otherwise.

func (*Order) GetFeesOk

func (o *Order) GetFeesOk() ([]OrderFeeInfo, bool)

GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Order) GetOrderId

func (o *Order) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*Order) GetOrderIdOk

func (o *Order) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (*Order) GetSell

func (o *Order) GetSell() Token

GetSell returns the Sell field value

func (*Order) GetSellOk

func (o *Order) GetSellOk() (*Token, bool)

GetSellOk returns a tuple with the Sell field value and a boolean to check if the value has been set.

func (*Order) GetStatus

func (o *Order) GetStatus() string

GetStatus returns the Status field value

func (*Order) GetStatusOk

func (o *Order) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Order) GetTimestamp

func (o *Order) GetTimestamp() string

GetTimestamp returns the Timestamp field value If the value is explicit nil, the zero value for string will be returned

func (*Order) GetTimestampOk

func (o *Order) GetTimestampOk() (*string, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Order) GetUpdatedTimestamp

func (o *Order) GetUpdatedTimestamp() string

GetUpdatedTimestamp returns the UpdatedTimestamp field value If the value is explicit nil, the zero value for string will be returned

func (*Order) GetUpdatedTimestampOk

func (o *Order) GetUpdatedTimestampOk() (*string, bool)

GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Order) GetUser

func (o *Order) GetUser() string

GetUser returns the User field value

func (*Order) GetUserOk

func (o *Order) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (*Order) HasFees

func (o *Order) HasFees() bool

HasFees returns a boolean if a field has been set.

func (Order) MarshalJSON

func (o Order) MarshalJSON() ([]byte, error)

func (*Order) SetAmountSold

func (o *Order) SetAmountSold(v string)

SetAmountSold sets field value

func (*Order) SetBuy

func (o *Order) SetBuy(v Token)

SetBuy sets field value

func (*Order) SetExpirationTimestamp

func (o *Order) SetExpirationTimestamp(v string)

SetExpirationTimestamp sets field value

func (*Order) SetFees

func (o *Order) SetFees(v []OrderFeeInfo)

SetFees gets a reference to the given []OrderFeeInfo and assigns it to the Fees field.

func (*Order) SetOrderId

func (o *Order) SetOrderId(v int32)

SetOrderId sets field value

func (*Order) SetSell

func (o *Order) SetSell(v Token)

SetSell sets field value

func (*Order) SetStatus

func (o *Order) SetStatus(v string)

SetStatus sets field value

func (*Order) SetTimestamp

func (o *Order) SetTimestamp(v string)

SetTimestamp sets field value

func (*Order) SetUpdatedTimestamp

func (o *Order) SetUpdatedTimestamp(v string)

SetUpdatedTimestamp sets field value

func (*Order) SetUser

func (o *Order) SetUser(v string)

SetUser sets field value

type OrderDetails

type OrderDetails struct {
	// Buy orders for this asset
	BuyOrders []map[string]interface{} `json:"buy_orders,omitempty"`
	// Sell orders for this asset
	SellOrders []map[string]interface{} `json:"sell_orders,omitempty"`
}

OrderDetails struct for OrderDetails

func NewOrderDetails

func NewOrderDetails() *OrderDetails

NewOrderDetails instantiates a new OrderDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOrderDetailsWithDefaults

func NewOrderDetailsWithDefaults() *OrderDetails

NewOrderDetailsWithDefaults instantiates a new OrderDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OrderDetails) GetBuyOrders

func (o *OrderDetails) GetBuyOrders() []map[string]interface{}

GetBuyOrders returns the BuyOrders field value if set, zero value otherwise.

func (*OrderDetails) GetBuyOrdersOk

func (o *OrderDetails) GetBuyOrdersOk() ([]map[string]interface{}, bool)

GetBuyOrdersOk returns a tuple with the BuyOrders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrderDetails) GetSellOrders

func (o *OrderDetails) GetSellOrders() []map[string]interface{}

GetSellOrders returns the SellOrders field value if set, zero value otherwise.

func (*OrderDetails) GetSellOrdersOk

func (o *OrderDetails) GetSellOrdersOk() ([]map[string]interface{}, bool)

GetSellOrdersOk returns a tuple with the SellOrders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrderDetails) HasBuyOrders

func (o *OrderDetails) HasBuyOrders() bool

HasBuyOrders returns a boolean if a field has been set.

func (*OrderDetails) HasSellOrders

func (o *OrderDetails) HasSellOrders() bool

HasSellOrders returns a boolean if a field has been set.

func (OrderDetails) MarshalJSON

func (o OrderDetails) MarshalJSON() ([]byte, error)

func (*OrderDetails) SetBuyOrders

func (o *OrderDetails) SetBuyOrders(v []map[string]interface{})

SetBuyOrders gets a reference to the given []map[string]interface{} and assigns it to the BuyOrders field.

func (*OrderDetails) SetSellOrders

func (o *OrderDetails) SetSellOrders(v []map[string]interface{})

SetSellOrders gets a reference to the given []map[string]interface{} and assigns it to the SellOrders field.

type OrderFeeInfo

type OrderFeeInfo struct {
	// Address of the fee recipient
	Address *string `json:"address,omitempty"`
	// Fee amount
	Amount *string   `json:"amount,omitempty"`
	Token  *FeeToken `json:"token,omitempty"`
	// Fee type
	Type *string `json:"type,omitempty"`
}

OrderFeeInfo struct for OrderFeeInfo

func NewOrderFeeInfo

func NewOrderFeeInfo() *OrderFeeInfo

NewOrderFeeInfo instantiates a new OrderFeeInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOrderFeeInfoWithDefaults

func NewOrderFeeInfoWithDefaults() *OrderFeeInfo

NewOrderFeeInfoWithDefaults instantiates a new OrderFeeInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OrderFeeInfo) GetAddress

func (o *OrderFeeInfo) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*OrderFeeInfo) GetAddressOk

func (o *OrderFeeInfo) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrderFeeInfo) GetAmount

func (o *OrderFeeInfo) GetAmount() string

GetAmount returns the Amount field value if set, zero value otherwise.

func (*OrderFeeInfo) GetAmountOk

func (o *OrderFeeInfo) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrderFeeInfo) GetToken

func (o *OrderFeeInfo) GetToken() FeeToken

GetToken returns the Token field value if set, zero value otherwise.

func (*OrderFeeInfo) GetTokenOk

func (o *OrderFeeInfo) GetTokenOk() (*FeeToken, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrderFeeInfo) GetType

func (o *OrderFeeInfo) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*OrderFeeInfo) GetTypeOk

func (o *OrderFeeInfo) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrderFeeInfo) HasAddress

func (o *OrderFeeInfo) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*OrderFeeInfo) HasAmount

func (o *OrderFeeInfo) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*OrderFeeInfo) HasToken

func (o *OrderFeeInfo) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*OrderFeeInfo) HasType

func (o *OrderFeeInfo) HasType() bool

HasType returns a boolean if a field has been set.

func (OrderFeeInfo) MarshalJSON

func (o OrderFeeInfo) MarshalJSON() ([]byte, error)

func (*OrderFeeInfo) SetAddress

func (o *OrderFeeInfo) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*OrderFeeInfo) SetAmount

func (o *OrderFeeInfo) SetAmount(v string)

SetAmount gets a reference to the given string and assigns it to the Amount field.

func (*OrderFeeInfo) SetToken

func (o *OrderFeeInfo) SetToken(v FeeToken)

SetToken gets a reference to the given FeeToken and assigns it to the Token field.

func (*OrderFeeInfo) SetType

func (o *OrderFeeInfo) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type OrdersApi

type OrdersApi interface {

	/*
		CancelOrder Cancel an order

		Cancel an order

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Order ID to cancel
		@return ApiCancelOrderRequest
	*/
	CancelOrder(ctx context.Context, id string) ApiCancelOrderRequest

	// CancelOrderExecute executes the request
	//  @return CancelOrderResponse
	CancelOrderExecute(r ApiCancelOrderRequest) (*CancelOrderResponse, *http.Response, error)

	/*
		CreateOrder Create an order

		Create an order

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateOrderRequest
	*/
	CreateOrder(ctx context.Context) ApiCreateOrderRequest

	// CreateOrderExecute executes the request
	//  @return CreateOrderResponse
	CreateOrderExecute(r ApiCreateOrderRequest) (*CreateOrderResponse, *http.Response, error)

	/*
		GetOrder Get details of an order with the given ID

		Get details of an order with the given ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Order ID
		@return ApiGetOrderRequest
	*/
	GetOrder(ctx context.Context, id string) ApiGetOrderRequest

	// GetOrderExecute executes the request
	//  @return Order
	GetOrderExecute(r ApiGetOrderRequest) (*Order, *http.Response, error)

	/*
		GetSignableCancelOrder Get details a signable cancel order

		Get details a signable cancel order

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableCancelOrderRequest
	*/
	GetSignableCancelOrder(ctx context.Context) ApiGetSignableCancelOrderRequest

	// GetSignableCancelOrderExecute executes the request
	//  @return GetSignableCancelOrderResponse
	GetSignableCancelOrderExecute(r ApiGetSignableCancelOrderRequest) (*GetSignableCancelOrderResponse, *http.Response, error)

	/*
		GetSignableOrder Get a signable order request (V3)

		Get a signable order request (V3)

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableOrderRequest
	*/
	GetSignableOrder(ctx context.Context) ApiGetSignableOrderRequest

	// GetSignableOrderExecute executes the request
	//  @return GetSignableOrderResponse
	GetSignableOrderExecute(r ApiGetSignableOrderRequest) (*GetSignableOrderResponse, *http.Response, error)

	/*
		ListOrders Get a list of orders

		Get a list of orders

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListOrdersRequest
	*/
	ListOrders(ctx context.Context) ApiListOrdersRequest

	// ListOrdersExecute executes the request
	//  @return ListOrdersResponse
	ListOrdersExecute(r ApiListOrdersRequest) (*ListOrdersResponse, *http.Response, error)
}

type OrdersApiService

type OrdersApiService service

OrdersApiService OrdersApi service

func (*OrdersApiService) CancelOrder

CancelOrder Cancel an order

Cancel an order

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Order ID to cancel
@return ApiCancelOrderRequest

func (*OrdersApiService) CancelOrderExecute

Execute executes the request

@return CancelOrderResponse

func (*OrdersApiService) CreateOrder

CreateOrder Create an order

Create an order

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateOrderRequest

func (*OrdersApiService) CreateOrderExecute

Execute executes the request

@return CreateOrderResponse

func (*OrdersApiService) GetOrder

GetOrder Get details of an order with the given ID

Get details of an order with the given ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Order ID
@return ApiGetOrderRequest

func (*OrdersApiService) GetOrderExecute

func (a *OrdersApiService) GetOrderExecute(r ApiGetOrderRequest) (*Order, *http.Response, error)

Execute executes the request

@return Order

func (*OrdersApiService) GetSignableCancelOrder

func (a *OrdersApiService) GetSignableCancelOrder(ctx context.Context) ApiGetSignableCancelOrderRequest

GetSignableCancelOrder Get details a signable cancel order

Get details a signable cancel order

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableCancelOrderRequest

func (*OrdersApiService) GetSignableCancelOrderExecute

Execute executes the request

@return GetSignableCancelOrderResponse

func (*OrdersApiService) GetSignableOrder

GetSignableOrder Get a signable order request (V3)

Get a signable order request (V3)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableOrderRequest

func (*OrdersApiService) GetSignableOrderExecute

Execute executes the request

@return GetSignableOrderResponse

func (*OrdersApiService) ListOrders

ListOrders Get a list of orders

Get a list of orders

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListOrdersRequest

func (*OrdersApiService) ListOrdersExecute

Execute executes the request

@return ListOrdersResponse

type Project

type Project struct {
	// The current period expiry date for collection limit
	CollectionLimitExpiresAt string `json:"collection_limit_expires_at"`
	// The total monthly collection limit
	CollectionMonthlyLimit int32 `json:"collection_monthly_limit"`
	// The number of collection remaining in the current period
	CollectionRemaining int32 `json:"collection_remaining"`
	// The company name
	CompanyName string `json:"company_name"`
	// The project contact email (must be registered as a developer account with Immutable at https://hub.immutable.com)
	ContactEmail string `json:"contact_email"`
	// The project ID
	Id int32 `json:"id"`
	// The current period expiry date for mint operation limit
	MintLimitExpiresAt string `json:"mint_limit_expires_at"`
	// The total monthly mint operation limit
	MintMonthlyLimit int32 `json:"mint_monthly_limit"`
	// The number of mint operation remaining in the current period
	MintRemaining int32 `json:"mint_remaining"`
	// The project name
	Name string `json:"name"`
}

Project struct for Project

func NewProject

func NewProject(collectionLimitExpiresAt string, collectionMonthlyLimit int32, collectionRemaining int32, companyName string, contactEmail string, id int32, mintLimitExpiresAt string, mintMonthlyLimit int32, mintRemaining int32, name string) *Project

NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectWithDefaults

func NewProjectWithDefaults() *Project

NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Project) GetCollectionLimitExpiresAt

func (o *Project) GetCollectionLimitExpiresAt() string

GetCollectionLimitExpiresAt returns the CollectionLimitExpiresAt field value

func (*Project) GetCollectionLimitExpiresAtOk

func (o *Project) GetCollectionLimitExpiresAtOk() (*string, bool)

GetCollectionLimitExpiresAtOk returns a tuple with the CollectionLimitExpiresAt field value and a boolean to check if the value has been set.

func (*Project) GetCollectionMonthlyLimit

func (o *Project) GetCollectionMonthlyLimit() int32

GetCollectionMonthlyLimit returns the CollectionMonthlyLimit field value

func (*Project) GetCollectionMonthlyLimitOk

func (o *Project) GetCollectionMonthlyLimitOk() (*int32, bool)

GetCollectionMonthlyLimitOk returns a tuple with the CollectionMonthlyLimit field value and a boolean to check if the value has been set.

func (*Project) GetCollectionRemaining

func (o *Project) GetCollectionRemaining() int32

GetCollectionRemaining returns the CollectionRemaining field value

func (*Project) GetCollectionRemainingOk

func (o *Project) GetCollectionRemainingOk() (*int32, bool)

GetCollectionRemainingOk returns a tuple with the CollectionRemaining field value and a boolean to check if the value has been set.

func (*Project) GetCompanyName

func (o *Project) GetCompanyName() string

GetCompanyName returns the CompanyName field value

func (*Project) GetCompanyNameOk

func (o *Project) GetCompanyNameOk() (*string, bool)

GetCompanyNameOk returns a tuple with the CompanyName field value and a boolean to check if the value has been set.

func (*Project) GetContactEmail

func (o *Project) GetContactEmail() string

GetContactEmail returns the ContactEmail field value

func (*Project) GetContactEmailOk

func (o *Project) GetContactEmailOk() (*string, bool)

GetContactEmailOk returns a tuple with the ContactEmail field value and a boolean to check if the value has been set.

func (*Project) GetId

func (o *Project) GetId() int32

GetId returns the Id field value

func (*Project) GetIdOk

func (o *Project) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Project) GetMintLimitExpiresAt

func (o *Project) GetMintLimitExpiresAt() string

GetMintLimitExpiresAt returns the MintLimitExpiresAt field value

func (*Project) GetMintLimitExpiresAtOk

func (o *Project) GetMintLimitExpiresAtOk() (*string, bool)

GetMintLimitExpiresAtOk returns a tuple with the MintLimitExpiresAt field value and a boolean to check if the value has been set.

func (*Project) GetMintMonthlyLimit

func (o *Project) GetMintMonthlyLimit() int32

GetMintMonthlyLimit returns the MintMonthlyLimit field value

func (*Project) GetMintMonthlyLimitOk

func (o *Project) GetMintMonthlyLimitOk() (*int32, bool)

GetMintMonthlyLimitOk returns a tuple with the MintMonthlyLimit field value and a boolean to check if the value has been set.

func (*Project) GetMintRemaining

func (o *Project) GetMintRemaining() int32

GetMintRemaining returns the MintRemaining field value

func (*Project) GetMintRemainingOk

func (o *Project) GetMintRemainingOk() (*int32, bool)

GetMintRemainingOk returns a tuple with the MintRemaining field value and a boolean to check if the value has been set.

func (*Project) GetName

func (o *Project) GetName() string

GetName returns the Name field value

func (*Project) GetNameOk

func (o *Project) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (Project) MarshalJSON

func (o Project) MarshalJSON() ([]byte, error)

func (*Project) SetCollectionLimitExpiresAt

func (o *Project) SetCollectionLimitExpiresAt(v string)

SetCollectionLimitExpiresAt sets field value

func (*Project) SetCollectionMonthlyLimit

func (o *Project) SetCollectionMonthlyLimit(v int32)

SetCollectionMonthlyLimit sets field value

func (*Project) SetCollectionRemaining

func (o *Project) SetCollectionRemaining(v int32)

SetCollectionRemaining sets field value

func (*Project) SetCompanyName

func (o *Project) SetCompanyName(v string)

SetCompanyName sets field value

func (*Project) SetContactEmail

func (o *Project) SetContactEmail(v string)

SetContactEmail sets field value

func (*Project) SetId

func (o *Project) SetId(v int32)

SetId sets field value

func (*Project) SetMintLimitExpiresAt

func (o *Project) SetMintLimitExpiresAt(v string)

SetMintLimitExpiresAt sets field value

func (*Project) SetMintMonthlyLimit

func (o *Project) SetMintMonthlyLimit(v int32)

SetMintMonthlyLimit sets field value

func (*Project) SetMintRemaining

func (o *Project) SetMintRemaining(v int32)

SetMintRemaining sets field value

func (*Project) SetName

func (o *Project) SetName(v string)

SetName sets field value

type ProjectsApi

type ProjectsApi interface {

	/*
		CreateProject Create a project

		Create a project

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateProjectRequest

		Deprecated
	*/
	CreateProject(ctx context.Context) ApiCreateProjectRequest

	// CreateProjectExecute executes the request
	//  @return CreateProjectResponse
	// Deprecated
	CreateProjectExecute(r ApiCreateProjectRequest) (*CreateProjectResponse, *http.Response, error)

	/*
		GetProject Get a project

		Get a project

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Project ID
		@return ApiGetProjectRequest
	*/
	GetProject(ctx context.Context, id string) ApiGetProjectRequest

	// GetProjectExecute executes the request
	//  @return Project
	GetProjectExecute(r ApiGetProjectRequest) (*Project, *http.Response, error)

	/*
		GetProjects Get projects

		Get projects

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetProjectsRequest
	*/
	GetProjects(ctx context.Context) ApiGetProjectsRequest

	// GetProjectsExecute executes the request
	//  @return GetProjectsResponse
	GetProjectsExecute(r ApiGetProjectsRequest) (*GetProjectsResponse, *http.Response, error)
}

type ProjectsApiService

type ProjectsApiService service

ProjectsApiService ProjectsApi service

func (*ProjectsApiService) CreateProject

CreateProject Create a project

Create a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateProjectRequest

Deprecated

func (*ProjectsApiService) CreateProjectExecute

Execute executes the request

@return CreateProjectResponse

Deprecated

func (*ProjectsApiService) GetProject

GetProject Get a project

Get a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project ID
@return ApiGetProjectRequest

func (*ProjectsApiService) GetProjectExecute

func (a *ProjectsApiService) GetProjectExecute(r ApiGetProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectsApiService) GetProjects

GetProjects Get projects

Get projects

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetProjectsRequest

func (*ProjectsApiService) GetProjectsExecute

Execute executes the request

@return GetProjectsResponse

type Range

type Range struct {
	// Maximum value
	Max *int32 `json:"max,omitempty"`
	// Minimum value
	Min *int32 `json:"min,omitempty"`
}

Range struct for Range

func NewRange

func NewRange() *Range

NewRange instantiates a new Range object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRangeWithDefaults

func NewRangeWithDefaults() *Range

NewRangeWithDefaults instantiates a new Range object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Range) GetMax

func (o *Range) GetMax() int32

GetMax returns the Max field value if set, zero value otherwise.

func (*Range) GetMaxOk

func (o *Range) GetMaxOk() (*int32, bool)

GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Range) GetMin

func (o *Range) GetMin() int32

GetMin returns the Min field value if set, zero value otherwise.

func (*Range) GetMinOk

func (o *Range) GetMinOk() (*int32, bool)

GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Range) HasMax

func (o *Range) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*Range) HasMin

func (o *Range) HasMin() bool

HasMin returns a boolean if a field has been set.

func (Range) MarshalJSON

func (o Range) MarshalJSON() ([]byte, error)

func (*Range) SetMax

func (o *Range) SetMax(v int32)

SetMax gets a reference to the given int32 and assigns it to the Max field.

func (*Range) SetMin

func (o *Range) SetMin(v int32)

SetMin gets a reference to the given int32 and assigns it to the Min field.

type RegisterUserRequest

type RegisterUserRequest struct {
	// User email
	Email *string `json:"email,omitempty"`
	// Eth signature
	EthSignature string `json:"eth_signature"`
	// The ether key of the user
	EtherKey string `json:"ether_key"`
	// Public stark key of the user
	StarkKey string `json:"stark_key"`
	// Payload signature
	StarkSignature string `json:"stark_signature"`
}

RegisterUserRequest struct for RegisterUserRequest

func NewRegisterUserRequest

func NewRegisterUserRequest(ethSignature string, etherKey string, starkKey string, starkSignature string) *RegisterUserRequest

NewRegisterUserRequest instantiates a new RegisterUserRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegisterUserRequestWithDefaults

func NewRegisterUserRequestWithDefaults() *RegisterUserRequest

NewRegisterUserRequestWithDefaults instantiates a new RegisterUserRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegisterUserRequest) GetEmail

func (o *RegisterUserRequest) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*RegisterUserRequest) GetEmailOk

func (o *RegisterUserRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegisterUserRequest) GetEthSignature

func (o *RegisterUserRequest) GetEthSignature() string

GetEthSignature returns the EthSignature field value

func (*RegisterUserRequest) GetEthSignatureOk

func (o *RegisterUserRequest) GetEthSignatureOk() (*string, bool)

GetEthSignatureOk returns a tuple with the EthSignature field value and a boolean to check if the value has been set.

func (*RegisterUserRequest) GetEtherKey

func (o *RegisterUserRequest) GetEtherKey() string

GetEtherKey returns the EtherKey field value

func (*RegisterUserRequest) GetEtherKeyOk

func (o *RegisterUserRequest) GetEtherKeyOk() (*string, bool)

GetEtherKeyOk returns a tuple with the EtherKey field value and a boolean to check if the value has been set.

func (*RegisterUserRequest) GetStarkKey

func (o *RegisterUserRequest) GetStarkKey() string

GetStarkKey returns the StarkKey field value

func (*RegisterUserRequest) GetStarkKeyOk

func (o *RegisterUserRequest) GetStarkKeyOk() (*string, bool)

GetStarkKeyOk returns a tuple with the StarkKey field value and a boolean to check if the value has been set.

func (*RegisterUserRequest) GetStarkSignature

func (o *RegisterUserRequest) GetStarkSignature() string

GetStarkSignature returns the StarkSignature field value

func (*RegisterUserRequest) GetStarkSignatureOk

func (o *RegisterUserRequest) GetStarkSignatureOk() (*string, bool)

GetStarkSignatureOk returns a tuple with the StarkSignature field value and a boolean to check if the value has been set.

func (*RegisterUserRequest) HasEmail

func (o *RegisterUserRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (RegisterUserRequest) MarshalJSON

func (o RegisterUserRequest) MarshalJSON() ([]byte, error)

func (*RegisterUserRequest) SetEmail

func (o *RegisterUserRequest) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*RegisterUserRequest) SetEthSignature

func (o *RegisterUserRequest) SetEthSignature(v string)

SetEthSignature sets field value

func (*RegisterUserRequest) SetEtherKey

func (o *RegisterUserRequest) SetEtherKey(v string)

SetEtherKey sets field value

func (*RegisterUserRequest) SetStarkKey

func (o *RegisterUserRequest) SetStarkKey(v string)

SetStarkKey sets field value

func (*RegisterUserRequest) SetStarkSignature

func (o *RegisterUserRequest) SetStarkSignature(v string)

SetStarkSignature sets field value

type RegisterUserResponse

type RegisterUserResponse struct {
	// Immutable signature authorising registration
	TxHash string `json:"tx_hash"`
}

RegisterUserResponse struct for RegisterUserResponse

func NewRegisterUserResponse

func NewRegisterUserResponse(txHash string) *RegisterUserResponse

NewRegisterUserResponse instantiates a new RegisterUserResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegisterUserResponseWithDefaults

func NewRegisterUserResponseWithDefaults() *RegisterUserResponse

NewRegisterUserResponseWithDefaults instantiates a new RegisterUserResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegisterUserResponse) GetTxHash

func (o *RegisterUserResponse) GetTxHash() string

GetTxHash returns the TxHash field value

func (*RegisterUserResponse) GetTxHashOk

func (o *RegisterUserResponse) GetTxHashOk() (*string, bool)

GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.

func (RegisterUserResponse) MarshalJSON

func (o RegisterUserResponse) MarshalJSON() ([]byte, error)

func (*RegisterUserResponse) SetTxHash

func (o *RegisterUserResponse) SetTxHash(v string)

SetTxHash sets field value

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SignableToken

type SignableToken struct {
	// Token data. See https://docs.x.immutable.com/docs/token-data-object
	Data map[string]interface{} `json:"data,omitempty"`
	// Type of token
	Type *string `json:"type,omitempty"`
}

SignableToken struct for SignableToken

func NewSignableToken

func NewSignableToken() *SignableToken

NewSignableToken instantiates a new SignableToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSignableTokenWithDefaults

func NewSignableTokenWithDefaults() *SignableToken

NewSignableTokenWithDefaults instantiates a new SignableToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SignableToken) GetData

func (o *SignableToken) GetData() map[string]interface{}

GetData returns the Data field value if set, zero value otherwise.

func (*SignableToken) GetDataOk

func (o *SignableToken) GetDataOk() (map[string]interface{}, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignableToken) GetType

func (o *SignableToken) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SignableToken) GetTypeOk

func (o *SignableToken) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignableToken) HasData

func (o *SignableToken) HasData() bool

HasData returns a boolean if a field has been set.

func (*SignableToken) HasType

func (o *SignableToken) HasType() bool

HasType returns a boolean if a field has been set.

func (SignableToken) MarshalJSON

func (o SignableToken) MarshalJSON() ([]byte, error)

func (*SignableToken) SetData

func (o *SignableToken) SetData(v map[string]interface{})

SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.

func (*SignableToken) SetType

func (o *SignableToken) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type SignableTransferDetails

type SignableTransferDetails struct {
	// Amount of the token to transfer
	Amount string `json:"amount"`
	// Ethereum address of the receiving user
	Receiver string        `json:"receiver"`
	Token    SignableToken `json:"token"`
}

SignableTransferDetails struct for SignableTransferDetails

func NewSignableTransferDetails

func NewSignableTransferDetails(amount string, receiver string, token SignableToken) *SignableTransferDetails

NewSignableTransferDetails instantiates a new SignableTransferDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSignableTransferDetailsWithDefaults

func NewSignableTransferDetailsWithDefaults() *SignableTransferDetails

NewSignableTransferDetailsWithDefaults instantiates a new SignableTransferDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SignableTransferDetails) GetAmount

func (o *SignableTransferDetails) GetAmount() string

GetAmount returns the Amount field value

func (*SignableTransferDetails) GetAmountOk

func (o *SignableTransferDetails) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*SignableTransferDetails) GetReceiver

func (o *SignableTransferDetails) GetReceiver() string

GetReceiver returns the Receiver field value

func (*SignableTransferDetails) GetReceiverOk

func (o *SignableTransferDetails) GetReceiverOk() (*string, bool)

GetReceiverOk returns a tuple with the Receiver field value and a boolean to check if the value has been set.

func (*SignableTransferDetails) GetToken

func (o *SignableTransferDetails) GetToken() SignableToken

GetToken returns the Token field value

func (*SignableTransferDetails) GetTokenOk

func (o *SignableTransferDetails) GetTokenOk() (*SignableToken, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (SignableTransferDetails) MarshalJSON

func (o SignableTransferDetails) MarshalJSON() ([]byte, error)

func (*SignableTransferDetails) SetAmount

func (o *SignableTransferDetails) SetAmount(v string)

SetAmount sets field value

func (*SignableTransferDetails) SetReceiver

func (o *SignableTransferDetails) SetReceiver(v string)

SetReceiver sets field value

func (*SignableTransferDetails) SetToken

func (o *SignableTransferDetails) SetToken(v SignableToken)

SetToken sets field value

type SignableTransferResponseDetails

type SignableTransferResponseDetails struct {
	// Amount of the asset being transferred
	Amount string `json:"amount"`
	// ID of the asset being transferred
	AssetId string `json:"asset_id"`
	// Timestamp when this transfer will expire
	ExpirationTimestamp int32 `json:"expiration_timestamp"`
	// Nonce of the transfer
	Nonce int32 `json:"nonce"`
	// Hash of the payload to be signed for transfer
	PayloadHash string `json:"payload_hash"`
	// Receiver of the transfer
	ReceiverStarkKey string `json:"receiver_stark_key"`
	// ID of the vault being transferred to
	ReceiverVaultId int32 `json:"receiver_vault_id"`
	// ID of the vault being transferred from
	SenderVaultId int32         `json:"sender_vault_id"`
	Token         SignableToken `json:"token"`
}

SignableTransferResponseDetails struct for SignableTransferResponseDetails

func NewSignableTransferResponseDetails

func NewSignableTransferResponseDetails(amount string, assetId string, expirationTimestamp int32, nonce int32, payloadHash string, receiverStarkKey string, receiverVaultId int32, senderVaultId int32, token SignableToken) *SignableTransferResponseDetails

NewSignableTransferResponseDetails instantiates a new SignableTransferResponseDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSignableTransferResponseDetailsWithDefaults

func NewSignableTransferResponseDetailsWithDefaults() *SignableTransferResponseDetails

NewSignableTransferResponseDetailsWithDefaults instantiates a new SignableTransferResponseDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SignableTransferResponseDetails) GetAmount

func (o *SignableTransferResponseDetails) GetAmount() string

GetAmount returns the Amount field value

func (*SignableTransferResponseDetails) GetAmountOk

func (o *SignableTransferResponseDetails) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*SignableTransferResponseDetails) GetAssetId

func (o *SignableTransferResponseDetails) GetAssetId() string

GetAssetId returns the AssetId field value

func (*SignableTransferResponseDetails) GetAssetIdOk

func (o *SignableTransferResponseDetails) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*SignableTransferResponseDetails) GetExpirationTimestamp

func (o *SignableTransferResponseDetails) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value

func (*SignableTransferResponseDetails) GetExpirationTimestampOk

func (o *SignableTransferResponseDetails) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set.

func (*SignableTransferResponseDetails) GetNonce

func (o *SignableTransferResponseDetails) GetNonce() int32

GetNonce returns the Nonce field value

func (*SignableTransferResponseDetails) GetNonceOk

func (o *SignableTransferResponseDetails) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*SignableTransferResponseDetails) GetPayloadHash

func (o *SignableTransferResponseDetails) GetPayloadHash() string

GetPayloadHash returns the PayloadHash field value

func (*SignableTransferResponseDetails) GetPayloadHashOk

func (o *SignableTransferResponseDetails) GetPayloadHashOk() (*string, bool)

GetPayloadHashOk returns a tuple with the PayloadHash field value and a boolean to check if the value has been set.

func (*SignableTransferResponseDetails) GetReceiverStarkKey

func (o *SignableTransferResponseDetails) GetReceiverStarkKey() string

GetReceiverStarkKey returns the ReceiverStarkKey field value

func (*SignableTransferResponseDetails) GetReceiverStarkKeyOk

func (o *SignableTransferResponseDetails) GetReceiverStarkKeyOk() (*string, bool)

GetReceiverStarkKeyOk returns a tuple with the ReceiverStarkKey field value and a boolean to check if the value has been set.

func (*SignableTransferResponseDetails) GetReceiverVaultId

func (o *SignableTransferResponseDetails) GetReceiverVaultId() int32

GetReceiverVaultId returns the ReceiverVaultId field value

func (*SignableTransferResponseDetails) GetReceiverVaultIdOk

func (o *SignableTransferResponseDetails) GetReceiverVaultIdOk() (*int32, bool)

GetReceiverVaultIdOk returns a tuple with the ReceiverVaultId field value and a boolean to check if the value has been set.

func (*SignableTransferResponseDetails) GetSenderVaultId

func (o *SignableTransferResponseDetails) GetSenderVaultId() int32

GetSenderVaultId returns the SenderVaultId field value

func (*SignableTransferResponseDetails) GetSenderVaultIdOk

func (o *SignableTransferResponseDetails) GetSenderVaultIdOk() (*int32, bool)

GetSenderVaultIdOk returns a tuple with the SenderVaultId field value and a boolean to check if the value has been set.

func (*SignableTransferResponseDetails) GetToken

GetToken returns the Token field value

func (*SignableTransferResponseDetails) GetTokenOk

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (SignableTransferResponseDetails) MarshalJSON

func (o SignableTransferResponseDetails) MarshalJSON() ([]byte, error)

func (*SignableTransferResponseDetails) SetAmount

func (o *SignableTransferResponseDetails) SetAmount(v string)

SetAmount sets field value

func (*SignableTransferResponseDetails) SetAssetId

func (o *SignableTransferResponseDetails) SetAssetId(v string)

SetAssetId sets field value

func (*SignableTransferResponseDetails) SetExpirationTimestamp

func (o *SignableTransferResponseDetails) SetExpirationTimestamp(v int32)

SetExpirationTimestamp sets field value

func (*SignableTransferResponseDetails) SetNonce

func (o *SignableTransferResponseDetails) SetNonce(v int32)

SetNonce sets field value

func (*SignableTransferResponseDetails) SetPayloadHash

func (o *SignableTransferResponseDetails) SetPayloadHash(v string)

SetPayloadHash sets field value

func (*SignableTransferResponseDetails) SetReceiverStarkKey

func (o *SignableTransferResponseDetails) SetReceiverStarkKey(v string)

SetReceiverStarkKey sets field value

func (*SignableTransferResponseDetails) SetReceiverVaultId

func (o *SignableTransferResponseDetails) SetReceiverVaultId(v int32)

SetReceiverVaultId sets field value

func (*SignableTransferResponseDetails) SetSenderVaultId

func (o *SignableTransferResponseDetails) SetSenderVaultId(v int32)

SetSenderVaultId sets field value

func (*SignableTransferResponseDetails) SetToken

SetToken sets field value

type SuccessResponse

type SuccessResponse struct {
	Result string `json:"result"`
}

SuccessResponse struct for SuccessResponse

func NewSuccessResponse

func NewSuccessResponse(result string) *SuccessResponse

NewSuccessResponse instantiates a new SuccessResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSuccessResponseWithDefaults

func NewSuccessResponseWithDefaults() *SuccessResponse

NewSuccessResponseWithDefaults instantiates a new SuccessResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SuccessResponse) GetResult

func (o *SuccessResponse) GetResult() string

GetResult returns the Result field value

func (*SuccessResponse) GetResultOk

func (o *SuccessResponse) GetResultOk() (*string, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (SuccessResponse) MarshalJSON

func (o SuccessResponse) MarshalJSON() ([]byte, error)

func (*SuccessResponse) SetResult

func (o *SuccessResponse) SetResult(v string)

SetResult sets field value

type Token

type Token struct {
	Data TokenData `json:"data"`
	// Type of this asset (ETH/ERC20/ERC721)
	Type string `json:"type"`
}

Token struct for Token

func NewToken

func NewToken(data TokenData, type_ string) *Token

NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenWithDefaults

func NewTokenWithDefaults() *Token

NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Token) GetData

func (o *Token) GetData() TokenData

GetData returns the Data field value

func (*Token) GetDataOk

func (o *Token) GetDataOk() (*TokenData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*Token) GetType

func (o *Token) GetType() string

GetType returns the Type field value

func (*Token) GetTypeOk

func (o *Token) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (Token) MarshalJSON

func (o Token) MarshalJSON() ([]byte, error)

func (*Token) SetData

func (o *Token) SetData(v TokenData)

SetData sets field value

func (*Token) SetType

func (o *Token) SetType(v string)

SetType sets field value

type TokenData

type TokenData struct {
	// Number of decimals supported by this asset
	Decimals *int32 `json:"decimals,omitempty"`
	// [DEPRECATED] Internal Immutable X Token ID
	Id         *string          `json:"id,omitempty"`
	Properties *AssetProperties `json:"properties,omitempty"`
	// Quantity of this asset - inclusive of fees for buy order in v1 API and exclusive of fees in v3 API
	Quantity string `json:"quantity"`
	// Quantity of this asset with the sum of all fees applied to the asset
	QuantityWithFees string `json:"quantity_with_fees"`
	// Symbol of a token
	Symbol *string `json:"symbol,omitempty"`
	// Address of ERC721/ERC20 contract
	TokenAddress *string `json:"token_address,omitempty"`
	// ERC721 Token ID
	TokenId *string `json:"token_id,omitempty"`
}

TokenData struct for TokenData

func NewTokenData

func NewTokenData(quantity string, quantityWithFees string) *TokenData

NewTokenData instantiates a new TokenData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenDataWithDefaults

func NewTokenDataWithDefaults() *TokenData

NewTokenDataWithDefaults instantiates a new TokenData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenData) GetDecimals

func (o *TokenData) GetDecimals() int32

GetDecimals returns the Decimals field value if set, zero value otherwise.

func (*TokenData) GetDecimalsOk

func (o *TokenData) GetDecimalsOk() (*int32, bool)

GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenData) GetId

func (o *TokenData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TokenData) GetIdOk

func (o *TokenData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenData) GetProperties

func (o *TokenData) GetProperties() AssetProperties

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenData) GetPropertiesOk

func (o *TokenData) GetPropertiesOk() (*AssetProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenData) GetQuantity

func (o *TokenData) GetQuantity() string

GetQuantity returns the Quantity field value

func (*TokenData) GetQuantityOk

func (o *TokenData) GetQuantityOk() (*string, bool)

GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.

func (*TokenData) GetQuantityWithFees

func (o *TokenData) GetQuantityWithFees() string

GetQuantityWithFees returns the QuantityWithFees field value

func (*TokenData) GetQuantityWithFeesOk

func (o *TokenData) GetQuantityWithFeesOk() (*string, bool)

GetQuantityWithFeesOk returns a tuple with the QuantityWithFees field value and a boolean to check if the value has been set.

func (*TokenData) GetSymbol

func (o *TokenData) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*TokenData) GetSymbolOk

func (o *TokenData) GetSymbolOk() (*string, bool)

GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenData) GetTokenAddress

func (o *TokenData) GetTokenAddress() string

GetTokenAddress returns the TokenAddress field value if set, zero value otherwise.

func (*TokenData) GetTokenAddressOk

func (o *TokenData) GetTokenAddressOk() (*string, bool)

GetTokenAddressOk returns a tuple with the TokenAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenData) GetTokenId

func (o *TokenData) GetTokenId() string

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*TokenData) GetTokenIdOk

func (o *TokenData) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenData) HasDecimals

func (o *TokenData) HasDecimals() bool

HasDecimals returns a boolean if a field has been set.

func (*TokenData) HasId

func (o *TokenData) HasId() bool

HasId returns a boolean if a field has been set.

func (*TokenData) HasProperties

func (o *TokenData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenData) HasSymbol

func (o *TokenData) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*TokenData) HasTokenAddress

func (o *TokenData) HasTokenAddress() bool

HasTokenAddress returns a boolean if a field has been set.

func (*TokenData) HasTokenId

func (o *TokenData) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (TokenData) MarshalJSON

func (o TokenData) MarshalJSON() ([]byte, error)

func (*TokenData) SetDecimals

func (o *TokenData) SetDecimals(v int32)

SetDecimals gets a reference to the given int32 and assigns it to the Decimals field.

func (*TokenData) SetId

func (o *TokenData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TokenData) SetProperties

func (o *TokenData) SetProperties(v AssetProperties)

SetProperties gets a reference to the given AssetProperties and assigns it to the Properties field.

func (*TokenData) SetQuantity

func (o *TokenData) SetQuantity(v string)

SetQuantity sets field value

func (*TokenData) SetQuantityWithFees

func (o *TokenData) SetQuantityWithFees(v string)

SetQuantityWithFees sets field value

func (*TokenData) SetSymbol

func (o *TokenData) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*TokenData) SetTokenAddress

func (o *TokenData) SetTokenAddress(v string)

SetTokenAddress gets a reference to the given string and assigns it to the TokenAddress field.

func (*TokenData) SetTokenId

func (o *TokenData) SetTokenId(v string)

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

type TokenDetails

type TokenDetails struct {
	// Number of decimals for token
	Decimals string `json:"decimals"`
	// Url for the icon of the token
	ImageUrl string `json:"image_url"`
	// Full name of the token (e.g. Ether)
	Name string `json:"name"`
	// Quantum for token
	Quantum string `json:"quantum"`
	// Ticker symbol for token (e.g. ETH/USDC/IMX)
	Symbol string `json:"symbol"`
	// Address of the ERC721 contract
	TokenAddress string `json:"token_address"`
}

TokenDetails struct for TokenDetails

func NewTokenDetails

func NewTokenDetails(decimals string, imageUrl string, name string, quantum string, symbol string, tokenAddress string) *TokenDetails

NewTokenDetails instantiates a new TokenDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenDetailsWithDefaults

func NewTokenDetailsWithDefaults() *TokenDetails

NewTokenDetailsWithDefaults instantiates a new TokenDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenDetails) GetDecimals

func (o *TokenDetails) GetDecimals() string

GetDecimals returns the Decimals field value

func (*TokenDetails) GetDecimalsOk

func (o *TokenDetails) GetDecimalsOk() (*string, bool)

GetDecimalsOk returns a tuple with the Decimals field value and a boolean to check if the value has been set.

func (*TokenDetails) GetImageUrl

func (o *TokenDetails) GetImageUrl() string

GetImageUrl returns the ImageUrl field value

func (*TokenDetails) GetImageUrlOk

func (o *TokenDetails) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field value and a boolean to check if the value has been set.

func (*TokenDetails) GetName

func (o *TokenDetails) GetName() string

GetName returns the Name field value

func (*TokenDetails) GetNameOk

func (o *TokenDetails) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TokenDetails) GetQuantum

func (o *TokenDetails) GetQuantum() string

GetQuantum returns the Quantum field value

func (*TokenDetails) GetQuantumOk

func (o *TokenDetails) GetQuantumOk() (*string, bool)

GetQuantumOk returns a tuple with the Quantum field value and a boolean to check if the value has been set.

func (*TokenDetails) GetSymbol

func (o *TokenDetails) GetSymbol() string

GetSymbol returns the Symbol field value

func (*TokenDetails) GetSymbolOk

func (o *TokenDetails) GetSymbolOk() (*string, bool)

GetSymbolOk returns a tuple with the Symbol field value and a boolean to check if the value has been set.

func (*TokenDetails) GetTokenAddress

func (o *TokenDetails) GetTokenAddress() string

GetTokenAddress returns the TokenAddress field value

func (*TokenDetails) GetTokenAddressOk

func (o *TokenDetails) GetTokenAddressOk() (*string, bool)

GetTokenAddressOk returns a tuple with the TokenAddress field value and a boolean to check if the value has been set.

func (TokenDetails) MarshalJSON

func (o TokenDetails) MarshalJSON() ([]byte, error)

func (*TokenDetails) SetDecimals

func (o *TokenDetails) SetDecimals(v string)

SetDecimals sets field value

func (*TokenDetails) SetImageUrl

func (o *TokenDetails) SetImageUrl(v string)

SetImageUrl sets field value

func (*TokenDetails) SetName

func (o *TokenDetails) SetName(v string)

SetName sets field value

func (*TokenDetails) SetQuantum

func (o *TokenDetails) SetQuantum(v string)

SetQuantum sets field value

func (*TokenDetails) SetSymbol

func (o *TokenDetails) SetSymbol(v string)

SetSymbol sets field value

func (*TokenDetails) SetTokenAddress

func (o *TokenDetails) SetTokenAddress(v string)

SetTokenAddress sets field value

type TokensApi

type TokensApi interface {

	/*
		GetToken Get details of a token

		Get details of a token

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param address Token Contract Address
		@return ApiGetTokenRequest
	*/
	GetToken(ctx context.Context, address string) ApiGetTokenRequest

	// GetTokenExecute executes the request
	//  @return TokenDetails
	GetTokenExecute(r ApiGetTokenRequest) (*TokenDetails, *http.Response, error)

	/*
		ListTokens Get a list of tokens

		Get a list of tokens

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListTokensRequest
	*/
	ListTokens(ctx context.Context) ApiListTokensRequest

	// ListTokensExecute executes the request
	//  @return ListTokensResponse
	ListTokensExecute(r ApiListTokensRequest) (*ListTokensResponse, *http.Response, error)
}

type TokensApiService

type TokensApiService service

TokensApiService TokensApi service

func (*TokensApiService) GetToken

func (a *TokensApiService) GetToken(ctx context.Context, address string) ApiGetTokenRequest

GetToken Get details of a token

Get details of a token

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param address Token Contract Address
@return ApiGetTokenRequest

func (*TokensApiService) GetTokenExecute

func (a *TokensApiService) GetTokenExecute(r ApiGetTokenRequest) (*TokenDetails, *http.Response, error)

Execute executes the request

@return TokenDetails

func (*TokensApiService) ListTokens

ListTokens Get a list of tokens

Get a list of tokens

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListTokensRequest

func (*TokensApiService) ListTokensExecute

Execute executes the request

@return ListTokensResponse

type Trade

type Trade struct {
	A TradeSide `json:"a"`
	B TradeSide `json:"b"`
	// Status of this trade
	Status string `json:"status"`
	// Time this trade occurred
	Timestamp NullableString `json:"timestamp"`
	// Sequential ID of this trade within Immutable X
	TransactionId int32 `json:"transaction_id"`
}

Trade struct for Trade

func NewTrade

func NewTrade(a TradeSide, b TradeSide, status string, timestamp NullableString, transactionId int32) *Trade

NewTrade instantiates a new Trade object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTradeWithDefaults

func NewTradeWithDefaults() *Trade

NewTradeWithDefaults instantiates a new Trade object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Trade) GetA

func (o *Trade) GetA() TradeSide

GetA returns the A field value

func (*Trade) GetAOk

func (o *Trade) GetAOk() (*TradeSide, bool)

GetAOk returns a tuple with the A field value and a boolean to check if the value has been set.

func (*Trade) GetB

func (o *Trade) GetB() TradeSide

GetB returns the B field value

func (*Trade) GetBOk

func (o *Trade) GetBOk() (*TradeSide, bool)

GetBOk returns a tuple with the B field value and a boolean to check if the value has been set.

func (*Trade) GetStatus

func (o *Trade) GetStatus() string

GetStatus returns the Status field value

func (*Trade) GetStatusOk

func (o *Trade) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Trade) GetTimestamp

func (o *Trade) GetTimestamp() string

GetTimestamp returns the Timestamp field value If the value is explicit nil, the zero value for string will be returned

func (*Trade) GetTimestampOk

func (o *Trade) GetTimestampOk() (*string, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Trade) GetTransactionId

func (o *Trade) GetTransactionId() int32

GetTransactionId returns the TransactionId field value

func (*Trade) GetTransactionIdOk

func (o *Trade) GetTransactionIdOk() (*int32, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value and a boolean to check if the value has been set.

func (Trade) MarshalJSON

func (o Trade) MarshalJSON() ([]byte, error)

func (*Trade) SetA

func (o *Trade) SetA(v TradeSide)

SetA sets field value

func (*Trade) SetB

func (o *Trade) SetB(v TradeSide)

SetB sets field value

func (*Trade) SetStatus

func (o *Trade) SetStatus(v string)

SetStatus sets field value

func (*Trade) SetTimestamp

func (o *Trade) SetTimestamp(v string)

SetTimestamp sets field value

func (*Trade) SetTransactionId

func (o *Trade) SetTransactionId(v int32)

SetTransactionId sets field value

type TradeSide

type TradeSide struct {
	// The ID of the order involved in the trade
	OrderId int32 `json:"order_id"`
	// The amount of that order's asset this trade sold
	Sold string `json:"sold"`
	// The contract address of the token that this trade sold
	TokenAddress *string `json:"token_address,omitempty"`
	// The ID of the token that this trade sold
	TokenId *string `json:"token_id,omitempty"`
	// The type of the token that this trade sold
	TokenType string `json:"token_type"`
}

TradeSide struct for TradeSide

func NewTradeSide

func NewTradeSide(orderId int32, sold string, tokenType string) *TradeSide

NewTradeSide instantiates a new TradeSide object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTradeSideWithDefaults

func NewTradeSideWithDefaults() *TradeSide

NewTradeSideWithDefaults instantiates a new TradeSide object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TradeSide) GetOrderId

func (o *TradeSide) GetOrderId() int32

GetOrderId returns the OrderId field value

func (*TradeSide) GetOrderIdOk

func (o *TradeSide) GetOrderIdOk() (*int32, bool)

GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.

func (*TradeSide) GetSold

func (o *TradeSide) GetSold() string

GetSold returns the Sold field value

func (*TradeSide) GetSoldOk

func (o *TradeSide) GetSoldOk() (*string, bool)

GetSoldOk returns a tuple with the Sold field value and a boolean to check if the value has been set.

func (*TradeSide) GetTokenAddress

func (o *TradeSide) GetTokenAddress() string

GetTokenAddress returns the TokenAddress field value if set, zero value otherwise.

func (*TradeSide) GetTokenAddressOk

func (o *TradeSide) GetTokenAddressOk() (*string, bool)

GetTokenAddressOk returns a tuple with the TokenAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TradeSide) GetTokenId

func (o *TradeSide) GetTokenId() string

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*TradeSide) GetTokenIdOk

func (o *TradeSide) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TradeSide) GetTokenType

func (o *TradeSide) GetTokenType() string

GetTokenType returns the TokenType field value

func (*TradeSide) GetTokenTypeOk

func (o *TradeSide) GetTokenTypeOk() (*string, bool)

GetTokenTypeOk returns a tuple with the TokenType field value and a boolean to check if the value has been set.

func (*TradeSide) HasTokenAddress

func (o *TradeSide) HasTokenAddress() bool

HasTokenAddress returns a boolean if a field has been set.

func (*TradeSide) HasTokenId

func (o *TradeSide) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (TradeSide) MarshalJSON

func (o TradeSide) MarshalJSON() ([]byte, error)

func (*TradeSide) SetOrderId

func (o *TradeSide) SetOrderId(v int32)

SetOrderId sets field value

func (*TradeSide) SetSold

func (o *TradeSide) SetSold(v string)

SetSold sets field value

func (*TradeSide) SetTokenAddress

func (o *TradeSide) SetTokenAddress(v string)

SetTokenAddress gets a reference to the given string and assigns it to the TokenAddress field.

func (*TradeSide) SetTokenId

func (o *TradeSide) SetTokenId(v string)

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

func (*TradeSide) SetTokenType

func (o *TradeSide) SetTokenType(v string)

SetTokenType sets field value

type TradesApi

type TradesApi interface {

	/*
		CreateTrade Create a Trade between two parties

		Create a Trade

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateTradeRequest
	*/
	CreateTrade(ctx context.Context) ApiCreateTradeRequest

	// CreateTradeExecute executes the request
	//  @return CreateTradeResponse
	CreateTradeExecute(r ApiCreateTradeRequest) (*CreateTradeResponse, *http.Response, error)

	/*
		GetSignableTrade Get details a signable trade V3

		Get details a signable trade V3

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableTradeRequest
	*/
	GetSignableTrade(ctx context.Context) ApiGetSignableTradeRequest

	// GetSignableTradeExecute executes the request
	//  @return GetSignableTradeResponse
	GetSignableTradeExecute(r ApiGetSignableTradeRequest) (*GetSignableTradeResponse, *http.Response, error)

	/*
		GetTrade Get details of a trade with the given ID

		Get details of a trade with the given ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Trade ID
		@return ApiGetTradeRequest
	*/
	GetTrade(ctx context.Context, id string) ApiGetTradeRequest

	// GetTradeExecute executes the request
	//  @return Trade
	GetTradeExecute(r ApiGetTradeRequest) (*Trade, *http.Response, error)

	/*
		ListTrades Get a list of trades

		Get a list of trades

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListTradesRequest
	*/
	ListTrades(ctx context.Context) ApiListTradesRequest

	// ListTradesExecute executes the request
	//  @return ListTradesResponse
	ListTradesExecute(r ApiListTradesRequest) (*ListTradesResponse, *http.Response, error)
}

type TradesApiService

type TradesApiService service

TradesApiService TradesApi service

func (*TradesApiService) CreateTrade

CreateTrade Create a Trade between two parties

Create a Trade

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTradeRequest

func (*TradesApiService) CreateTradeExecute

Execute executes the request

@return CreateTradeResponse

func (*TradesApiService) GetSignableTrade

GetSignableTrade Get details a signable trade V3

Get details a signable trade V3

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableTradeRequest

func (*TradesApiService) GetSignableTradeExecute

Execute executes the request

@return GetSignableTradeResponse

func (*TradesApiService) GetTrade

GetTrade Get details of a trade with the given ID

Get details of a trade with the given ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Trade ID
@return ApiGetTradeRequest

func (*TradesApiService) GetTradeExecute

func (a *TradesApiService) GetTradeExecute(r ApiGetTradeRequest) (*Trade, *http.Response, error)

Execute executes the request

@return Trade

func (*TradesApiService) ListTrades

ListTrades Get a list of trades

Get a list of trades

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListTradesRequest

func (*TradesApiService) ListTradesExecute

Execute executes the request

@return ListTradesResponse

type Transfer

type Transfer struct {
	// Ethereum address of the user who received this transfer
	Receiver string `json:"receiver"`
	// Status of the transaction
	Status string `json:"status"`
	// Timestamp of the transfer
	Timestamp NullableString `json:"timestamp"`
	Token     Token          `json:"token"`
	// Sequential transaction ID
	TransactionId int32 `json:"transaction_id"`
	// Ethereum address of the user  who submitted this transfer
	User string `json:"user"`
}

Transfer struct for Transfer

func NewTransfer

func NewTransfer(receiver string, status string, timestamp NullableString, token Token, transactionId int32, user string) *Transfer

NewTransfer instantiates a new Transfer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransferWithDefaults

func NewTransferWithDefaults() *Transfer

NewTransferWithDefaults instantiates a new Transfer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Transfer) GetReceiver

func (o *Transfer) GetReceiver() string

GetReceiver returns the Receiver field value

func (*Transfer) GetReceiverOk

func (o *Transfer) GetReceiverOk() (*string, bool)

GetReceiverOk returns a tuple with the Receiver field value and a boolean to check if the value has been set.

func (*Transfer) GetStatus

func (o *Transfer) GetStatus() string

GetStatus returns the Status field value

func (*Transfer) GetStatusOk

func (o *Transfer) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Transfer) GetTimestamp

func (o *Transfer) GetTimestamp() string

GetTimestamp returns the Timestamp field value If the value is explicit nil, the zero value for string will be returned

func (*Transfer) GetTimestampOk

func (o *Transfer) GetTimestampOk() (*string, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transfer) GetToken

func (o *Transfer) GetToken() Token

GetToken returns the Token field value

func (*Transfer) GetTokenOk

func (o *Transfer) GetTokenOk() (*Token, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*Transfer) GetTransactionId

func (o *Transfer) GetTransactionId() int32

GetTransactionId returns the TransactionId field value

func (*Transfer) GetTransactionIdOk

func (o *Transfer) GetTransactionIdOk() (*int32, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value and a boolean to check if the value has been set.

func (*Transfer) GetUser

func (o *Transfer) GetUser() string

GetUser returns the User field value

func (*Transfer) GetUserOk

func (o *Transfer) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (Transfer) MarshalJSON

func (o Transfer) MarshalJSON() ([]byte, error)

func (*Transfer) SetReceiver

func (o *Transfer) SetReceiver(v string)

SetReceiver sets field value

func (*Transfer) SetStatus

func (o *Transfer) SetStatus(v string)

SetStatus sets field value

func (*Transfer) SetTimestamp

func (o *Transfer) SetTimestamp(v string)

SetTimestamp sets field value

func (*Transfer) SetToken

func (o *Transfer) SetToken(v Token)

SetToken sets field value

func (*Transfer) SetTransactionId

func (o *Transfer) SetTransactionId(v int32)

SetTransactionId sets field value

func (*Transfer) SetUser

func (o *Transfer) SetUser(v string)

SetUser sets field value

type TransferRequest

type TransferRequest struct {
	// Amount to transfer
	Amount string `json:"amount"`
	// ID of the asset to transfer
	AssetId string `json:"asset_id"`
	// Expiration timestamp for this transfer
	ExpirationTimestamp int32 `json:"expiration_timestamp"`
	// Nonce of the transfer
	Nonce int32 `json:"nonce"`
	// Public stark key of the user receiving the transfer
	ReceiverStarkKey string `json:"receiver_stark_key"`
	// ID of the vault into which the asset will be transferred to
	ReceiverVaultId int32 `json:"receiver_vault_id"`
	// ID of the vault into which the asset is from
	SenderVaultId int32 `json:"sender_vault_id"`
	// Transfer payload signature
	StarkSignature string `json:"stark_signature"`
}

TransferRequest struct for TransferRequest

func NewTransferRequest

func NewTransferRequest(amount string, assetId string, expirationTimestamp int32, nonce int32, receiverStarkKey string, receiverVaultId int32, senderVaultId int32, starkSignature string) *TransferRequest

NewTransferRequest instantiates a new TransferRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransferRequestWithDefaults

func NewTransferRequestWithDefaults() *TransferRequest

NewTransferRequestWithDefaults instantiates a new TransferRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransferRequest) GetAmount

func (o *TransferRequest) GetAmount() string

GetAmount returns the Amount field value

func (*TransferRequest) GetAmountOk

func (o *TransferRequest) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*TransferRequest) GetAssetId

func (o *TransferRequest) GetAssetId() string

GetAssetId returns the AssetId field value

func (*TransferRequest) GetAssetIdOk

func (o *TransferRequest) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*TransferRequest) GetExpirationTimestamp

func (o *TransferRequest) GetExpirationTimestamp() int32

GetExpirationTimestamp returns the ExpirationTimestamp field value

func (*TransferRequest) GetExpirationTimestampOk

func (o *TransferRequest) GetExpirationTimestampOk() (*int32, bool)

GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value and a boolean to check if the value has been set.

func (*TransferRequest) GetNonce

func (o *TransferRequest) GetNonce() int32

GetNonce returns the Nonce field value

func (*TransferRequest) GetNonceOk

func (o *TransferRequest) GetNonceOk() (*int32, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*TransferRequest) GetReceiverStarkKey

func (o *TransferRequest) GetReceiverStarkKey() string

GetReceiverStarkKey returns the ReceiverStarkKey field value

func (*TransferRequest) GetReceiverStarkKeyOk

func (o *TransferRequest) GetReceiverStarkKeyOk() (*string, bool)

GetReceiverStarkKeyOk returns a tuple with the ReceiverStarkKey field value and a boolean to check if the value has been set.

func (*TransferRequest) GetReceiverVaultId

func (o *TransferRequest) GetReceiverVaultId() int32

GetReceiverVaultId returns the ReceiverVaultId field value

func (*TransferRequest) GetReceiverVaultIdOk

func (o *TransferRequest) GetReceiverVaultIdOk() (*int32, bool)

GetReceiverVaultIdOk returns a tuple with the ReceiverVaultId field value and a boolean to check if the value has been set.

func (*TransferRequest) GetSenderVaultId

func (o *TransferRequest) GetSenderVaultId() int32

GetSenderVaultId returns the SenderVaultId field value

func (*TransferRequest) GetSenderVaultIdOk

func (o *TransferRequest) GetSenderVaultIdOk() (*int32, bool)

GetSenderVaultIdOk returns a tuple with the SenderVaultId field value and a boolean to check if the value has been set.

func (*TransferRequest) GetStarkSignature

func (o *TransferRequest) GetStarkSignature() string

GetStarkSignature returns the StarkSignature field value

func (*TransferRequest) GetStarkSignatureOk

func (o *TransferRequest) GetStarkSignatureOk() (*string, bool)

GetStarkSignatureOk returns a tuple with the StarkSignature field value and a boolean to check if the value has been set.

func (TransferRequest) MarshalJSON

func (o TransferRequest) MarshalJSON() ([]byte, error)

func (*TransferRequest) SetAmount

func (o *TransferRequest) SetAmount(v string)

SetAmount sets field value

func (*TransferRequest) SetAssetId

func (o *TransferRequest) SetAssetId(v string)

SetAssetId sets field value

func (*TransferRequest) SetExpirationTimestamp

func (o *TransferRequest) SetExpirationTimestamp(v int32)

SetExpirationTimestamp sets field value

func (*TransferRequest) SetNonce

func (o *TransferRequest) SetNonce(v int32)

SetNonce sets field value

func (*TransferRequest) SetReceiverStarkKey

func (o *TransferRequest) SetReceiverStarkKey(v string)

SetReceiverStarkKey sets field value

func (*TransferRequest) SetReceiverVaultId

func (o *TransferRequest) SetReceiverVaultId(v int32)

SetReceiverVaultId sets field value

func (*TransferRequest) SetSenderVaultId

func (o *TransferRequest) SetSenderVaultId(v int32)

SetSenderVaultId sets field value

func (*TransferRequest) SetStarkSignature

func (o *TransferRequest) SetStarkSignature(v string)

SetStarkSignature sets field value

type TransfersApi

type TransfersApi interface {

	/*
		CreateTransfer Creates a transfer of multiple tokens between two parties

		Create a new transfer request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateTransferRequest
	*/
	CreateTransfer(ctx context.Context) ApiCreateTransferRequest

	// CreateTransferExecute executes the request
	//  @return CreateTransferResponse
	CreateTransferExecute(r ApiCreateTransferRequest) (*CreateTransferResponse, *http.Response, error)

	/*
		CreateTransferV1 Creates a transfer of tokens between two parties

		Create a new transfer request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateTransferV1Request
	*/
	CreateTransferV1(ctx context.Context) ApiCreateTransferV1Request

	// CreateTransferV1Execute executes the request
	//  @return CreateTransferResponseV1
	CreateTransferV1Execute(r ApiCreateTransferV1Request) (*CreateTransferResponseV1, *http.Response, error)

	/*
		GetSignableTransfer Gets bulk details of a signable transfer

		Gets bulk details of a signable transfer

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableTransferRequest
	*/
	GetSignableTransfer(ctx context.Context) ApiGetSignableTransferRequest

	// GetSignableTransferExecute executes the request
	//  @return GetSignableTransferResponse
	GetSignableTransferExecute(r ApiGetSignableTransferRequest) (*GetSignableTransferResponse, *http.Response, error)

	/*
		GetSignableTransferV1 Gets details of a signable transfer

		Gets details of a signable transfer

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableTransferV1Request
	*/
	GetSignableTransferV1(ctx context.Context) ApiGetSignableTransferV1Request

	// GetSignableTransferV1Execute executes the request
	//  @return GetSignableTransferResponseV1
	GetSignableTransferV1Execute(r ApiGetSignableTransferV1Request) (*GetSignableTransferResponseV1, *http.Response, error)

	/*
		GetTransfer Get details of a transfer with the given ID

		Get details of a transfer with the given ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Transfer ID
		@return ApiGetTransferRequest
	*/
	GetTransfer(ctx context.Context, id string) ApiGetTransferRequest

	// GetTransferExecute executes the request
	//  @return Transfer
	GetTransferExecute(r ApiGetTransferRequest) (*Transfer, *http.Response, error)

	/*
		ListTransfers Get a list of transfers

		Get a list of transfers

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListTransfersRequest
	*/
	ListTransfers(ctx context.Context) ApiListTransfersRequest

	// ListTransfersExecute executes the request
	//  @return ListTransfersResponse
	ListTransfersExecute(r ApiListTransfersRequest) (*ListTransfersResponse, *http.Response, error)
}

type TransfersApiService

type TransfersApiService service

TransfersApiService TransfersApi service

func (*TransfersApiService) CreateTransfer

CreateTransfer Creates a transfer of multiple tokens between two parties

Create a new transfer request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTransferRequest

func (*TransfersApiService) CreateTransferExecute

Execute executes the request

@return CreateTransferResponse

func (*TransfersApiService) CreateTransferV1

CreateTransferV1 Creates a transfer of tokens between two parties

Create a new transfer request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTransferV1Request

func (*TransfersApiService) CreateTransferV1Execute

Execute executes the request

@return CreateTransferResponseV1

func (*TransfersApiService) GetSignableTransfer

GetSignableTransfer Gets bulk details of a signable transfer

Gets bulk details of a signable transfer

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableTransferRequest

func (*TransfersApiService) GetSignableTransferExecute

Execute executes the request

@return GetSignableTransferResponse

func (*TransfersApiService) GetSignableTransferV1

GetSignableTransferV1 Gets details of a signable transfer

Gets details of a signable transfer

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableTransferV1Request

func (*TransfersApiService) GetSignableTransferV1Execute

Execute executes the request

@return GetSignableTransferResponseV1

func (*TransfersApiService) GetTransfer

GetTransfer Get details of a transfer with the given ID

Get details of a transfer with the given ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Transfer ID
@return ApiGetTransferRequest

func (*TransfersApiService) GetTransferExecute

func (a *TransfersApiService) GetTransferExecute(r ApiGetTransferRequest) (*Transfer, *http.Response, error)

Execute executes the request

@return Transfer

func (*TransfersApiService) ListTransfers

ListTransfers Get a list of transfers

Get a list of transfers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListTransfersRequest

func (*TransfersApiService) ListTransfersExecute

Execute executes the request

@return ListTransfersResponse

type UpdateCollectionRequest

type UpdateCollectionRequest struct {
	// URL of the tile image for this collection
	CollectionImageUrl *string `json:"collection_image_url,omitempty"`
	// Description of the collection
	Description *string `json:"description,omitempty"`
	// URL of the icon for this collection
	IconUrl *string `json:"icon_url,omitempty"`
	// URL of the metadata for this collection
	MetadataApiUrl *string `json:"metadata_api_url,omitempty"`
	// Name of the collection
	Name *string `json:"name,omitempty"`
}

UpdateCollectionRequest struct for UpdateCollectionRequest

func NewUpdateCollectionRequest

func NewUpdateCollectionRequest() *UpdateCollectionRequest

NewUpdateCollectionRequest instantiates a new UpdateCollectionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateCollectionRequestWithDefaults

func NewUpdateCollectionRequestWithDefaults() *UpdateCollectionRequest

NewUpdateCollectionRequestWithDefaults instantiates a new UpdateCollectionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateCollectionRequest) GetCollectionImageUrl

func (o *UpdateCollectionRequest) GetCollectionImageUrl() string

GetCollectionImageUrl returns the CollectionImageUrl field value if set, zero value otherwise.

func (*UpdateCollectionRequest) GetCollectionImageUrlOk

func (o *UpdateCollectionRequest) GetCollectionImageUrlOk() (*string, bool)

GetCollectionImageUrlOk returns a tuple with the CollectionImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCollectionRequest) GetDescription

func (o *UpdateCollectionRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateCollectionRequest) GetDescriptionOk

func (o *UpdateCollectionRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCollectionRequest) GetIconUrl

func (o *UpdateCollectionRequest) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*UpdateCollectionRequest) GetIconUrlOk

func (o *UpdateCollectionRequest) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCollectionRequest) GetMetadataApiUrl

func (o *UpdateCollectionRequest) GetMetadataApiUrl() string

GetMetadataApiUrl returns the MetadataApiUrl field value if set, zero value otherwise.

func (*UpdateCollectionRequest) GetMetadataApiUrlOk

func (o *UpdateCollectionRequest) GetMetadataApiUrlOk() (*string, bool)

GetMetadataApiUrlOk returns a tuple with the MetadataApiUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCollectionRequest) GetName

func (o *UpdateCollectionRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateCollectionRequest) GetNameOk

func (o *UpdateCollectionRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCollectionRequest) HasCollectionImageUrl

func (o *UpdateCollectionRequest) HasCollectionImageUrl() bool

HasCollectionImageUrl returns a boolean if a field has been set.

func (*UpdateCollectionRequest) HasDescription

func (o *UpdateCollectionRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateCollectionRequest) HasIconUrl

func (o *UpdateCollectionRequest) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*UpdateCollectionRequest) HasMetadataApiUrl

func (o *UpdateCollectionRequest) HasMetadataApiUrl() bool

HasMetadataApiUrl returns a boolean if a field has been set.

func (*UpdateCollectionRequest) HasName

func (o *UpdateCollectionRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateCollectionRequest) MarshalJSON

func (o UpdateCollectionRequest) MarshalJSON() ([]byte, error)

func (*UpdateCollectionRequest) SetCollectionImageUrl

func (o *UpdateCollectionRequest) SetCollectionImageUrl(v string)

SetCollectionImageUrl gets a reference to the given string and assigns it to the CollectionImageUrl field.

func (*UpdateCollectionRequest) SetDescription

func (o *UpdateCollectionRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateCollectionRequest) SetIconUrl

func (o *UpdateCollectionRequest) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*UpdateCollectionRequest) SetMetadataApiUrl

func (o *UpdateCollectionRequest) SetMetadataApiUrl(v string)

SetMetadataApiUrl gets a reference to the given string and assigns it to the MetadataApiUrl field.

func (*UpdateCollectionRequest) SetName

func (o *UpdateCollectionRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type UsersApi

type UsersApi interface {

	/*
		GetSignableRegistration Get operator signature to allow clients to register the user

		Get operator signature to allow clients to register the user

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableRegistrationRequest
	*/
	GetSignableRegistration(ctx context.Context) ApiGetSignableRegistrationRequest

	// GetSignableRegistrationExecute executes the request
	//  @return GetSignableRegistrationResponse
	GetSignableRegistrationExecute(r ApiGetSignableRegistrationRequest) (*GetSignableRegistrationResponse, *http.Response, error)

	/*
		GetSignableRegistrationOffchain Get encoded details to allow clients to register the user offchain

		Get encoded details to allow clients to register the user offchain

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableRegistrationOffchainRequest
	*/
	GetSignableRegistrationOffchain(ctx context.Context) ApiGetSignableRegistrationOffchainRequest

	// GetSignableRegistrationOffchainExecute executes the request
	//  @return GetSignableRegistrationOffchainResponse
	GetSignableRegistrationOffchainExecute(r ApiGetSignableRegistrationOffchainRequest) (*GetSignableRegistrationOffchainResponse, *http.Response, error)

	/*
		GetUsers Get stark keys for a registered user

		Get stark keys for a registered user

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param user User
		@return ApiGetUsersRequest
	*/
	GetUsers(ctx context.Context, user string) ApiGetUsersRequest

	// GetUsersExecute executes the request
	//  @return GetUsersApiResponse
	GetUsersExecute(r ApiGetUsersRequest) (*GetUsersApiResponse, *http.Response, error)

	/*
		RegisterUser Registers a user

		Registers a user

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiRegisterUserRequest
	*/
	RegisterUser(ctx context.Context) ApiRegisterUserRequest

	// RegisterUserExecute executes the request
	//  @return RegisterUserResponse
	RegisterUserExecute(r ApiRegisterUserRequest) (*RegisterUserResponse, *http.Response, error)
}

type UsersApiService

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) GetSignableRegistration

func (a *UsersApiService) GetSignableRegistration(ctx context.Context) ApiGetSignableRegistrationRequest

GetSignableRegistration Get operator signature to allow clients to register the user

Get operator signature to allow clients to register the user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableRegistrationRequest

func (*UsersApiService) GetSignableRegistrationExecute

Execute executes the request

@return GetSignableRegistrationResponse

func (*UsersApiService) GetSignableRegistrationOffchain

func (a *UsersApiService) GetSignableRegistrationOffchain(ctx context.Context) ApiGetSignableRegistrationOffchainRequest

GetSignableRegistrationOffchain Get encoded details to allow clients to register the user offchain

Get encoded details to allow clients to register the user offchain

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableRegistrationOffchainRequest

func (*UsersApiService) GetSignableRegistrationOffchainExecute

Execute executes the request

@return GetSignableRegistrationOffchainResponse

func (*UsersApiService) GetUsers

func (a *UsersApiService) GetUsers(ctx context.Context, user string) ApiGetUsersRequest

GetUsers Get stark keys for a registered user

Get stark keys for a registered user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param user User
@return ApiGetUsersRequest

func (*UsersApiService) GetUsersExecute

Execute executes the request

@return GetUsersApiResponse

func (*UsersApiService) RegisterUser

RegisterUser Registers a user

Registers a user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRegisterUserRequest

func (*UsersApiService) RegisterUserExecute

Execute executes the request

@return RegisterUserResponse

type WidgetParams added in v1.0.0

type WidgetParams struct {
	// Amount that will be prefilled in the widget
	Amount *string `json:"amount,omitempty"`
	// Currencies that will be available in the widget. If not defined all available currencies will be shown
	SupportedCurrencies []string `json:"supported_currencies,omitempty"`
	// Widget theme dark by default
	Theme *string `json:"theme,omitempty"`
}

WidgetParams struct for WidgetParams

func NewWidgetParams added in v1.0.0

func NewWidgetParams() *WidgetParams

NewWidgetParams instantiates a new WidgetParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWidgetParamsWithDefaults added in v1.0.0

func NewWidgetParamsWithDefaults() *WidgetParams

NewWidgetParamsWithDefaults instantiates a new WidgetParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WidgetParams) GetAmount added in v1.0.0

func (o *WidgetParams) GetAmount() string

GetAmount returns the Amount field value if set, zero value otherwise.

func (*WidgetParams) GetAmountOk added in v1.0.0

func (o *WidgetParams) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetParams) GetSupportedCurrencies added in v1.0.0

func (o *WidgetParams) GetSupportedCurrencies() []string

GetSupportedCurrencies returns the SupportedCurrencies field value if set, zero value otherwise.

func (*WidgetParams) GetSupportedCurrenciesOk added in v1.0.0

func (o *WidgetParams) GetSupportedCurrenciesOk() ([]string, bool)

GetSupportedCurrenciesOk returns a tuple with the SupportedCurrencies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetParams) GetTheme added in v1.0.0

func (o *WidgetParams) GetTheme() string

GetTheme returns the Theme field value if set, zero value otherwise.

func (*WidgetParams) GetThemeOk added in v1.0.0

func (o *WidgetParams) GetThemeOk() (*string, bool)

GetThemeOk returns a tuple with the Theme field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetParams) HasAmount added in v1.0.0

func (o *WidgetParams) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*WidgetParams) HasSupportedCurrencies added in v1.0.0

func (o *WidgetParams) HasSupportedCurrencies() bool

HasSupportedCurrencies returns a boolean if a field has been set.

func (*WidgetParams) HasTheme added in v1.0.0

func (o *WidgetParams) HasTheme() bool

HasTheme returns a boolean if a field has been set.

func (WidgetParams) MarshalJSON added in v1.0.0

func (o WidgetParams) MarshalJSON() ([]byte, error)

func (*WidgetParams) SetAmount added in v1.0.0

func (o *WidgetParams) SetAmount(v string)

SetAmount gets a reference to the given string and assigns it to the Amount field.

func (*WidgetParams) SetSupportedCurrencies added in v1.0.0

func (o *WidgetParams) SetSupportedCurrencies(v []string)

SetSupportedCurrencies gets a reference to the given []string and assigns it to the SupportedCurrencies field.

func (*WidgetParams) SetTheme added in v1.0.0

func (o *WidgetParams) SetTheme(v string)

SetTheme gets a reference to the given string and assigns it to the Theme field.

type Withdrawal

type Withdrawal struct {
	// Status of the on-chain batch confirmation for this withdrawal
	RollupStatus string `json:"rollup_status"`
	// Ethereum address of the user who requested this withdrawal
	Sender string `json:"sender"`
	// Status of this withdrawal
	Status string `json:"status"`
	// Time when this withdrawal was initiated
	Timestamp string `json:"timestamp"`
	Token     Token  `json:"token"`
	// Sequential ID of this transaction
	TransactionId int32 `json:"transaction_id"`
	// Withdrawal has been transferred to user's Layer 1 wallet
	WithdrawnToWallet bool `json:"withdrawn_to_wallet"`
}

Withdrawal struct for Withdrawal

func NewWithdrawal

func NewWithdrawal(rollupStatus string, sender string, status string, timestamp string, token Token, transactionId int32, withdrawnToWallet bool) *Withdrawal

NewWithdrawal instantiates a new Withdrawal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWithdrawalWithDefaults

func NewWithdrawalWithDefaults() *Withdrawal

NewWithdrawalWithDefaults instantiates a new Withdrawal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Withdrawal) GetRollupStatus

func (o *Withdrawal) GetRollupStatus() string

GetRollupStatus returns the RollupStatus field value

func (*Withdrawal) GetRollupStatusOk

func (o *Withdrawal) GetRollupStatusOk() (*string, bool)

GetRollupStatusOk returns a tuple with the RollupStatus field value and a boolean to check if the value has been set.

func (*Withdrawal) GetSender

func (o *Withdrawal) GetSender() string

GetSender returns the Sender field value

func (*Withdrawal) GetSenderOk

func (o *Withdrawal) GetSenderOk() (*string, bool)

GetSenderOk returns a tuple with the Sender field value and a boolean to check if the value has been set.

func (*Withdrawal) GetStatus

func (o *Withdrawal) GetStatus() string

GetStatus returns the Status field value

func (*Withdrawal) GetStatusOk

func (o *Withdrawal) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Withdrawal) GetTimestamp

func (o *Withdrawal) GetTimestamp() string

GetTimestamp returns the Timestamp field value

func (*Withdrawal) GetTimestampOk

func (o *Withdrawal) GetTimestampOk() (*string, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*Withdrawal) GetToken

func (o *Withdrawal) GetToken() Token

GetToken returns the Token field value

func (*Withdrawal) GetTokenOk

func (o *Withdrawal) GetTokenOk() (*Token, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*Withdrawal) GetTransactionId

func (o *Withdrawal) GetTransactionId() int32

GetTransactionId returns the TransactionId field value

func (*Withdrawal) GetTransactionIdOk

func (o *Withdrawal) GetTransactionIdOk() (*int32, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value and a boolean to check if the value has been set.

func (*Withdrawal) GetWithdrawnToWallet

func (o *Withdrawal) GetWithdrawnToWallet() bool

GetWithdrawnToWallet returns the WithdrawnToWallet field value

func (*Withdrawal) GetWithdrawnToWalletOk

func (o *Withdrawal) GetWithdrawnToWalletOk() (*bool, bool)

GetWithdrawnToWalletOk returns a tuple with the WithdrawnToWallet field value and a boolean to check if the value has been set.

func (Withdrawal) MarshalJSON

func (o Withdrawal) MarshalJSON() ([]byte, error)

func (*Withdrawal) SetRollupStatus

func (o *Withdrawal) SetRollupStatus(v string)

SetRollupStatus sets field value

func (*Withdrawal) SetSender

func (o *Withdrawal) SetSender(v string)

SetSender sets field value

func (*Withdrawal) SetStatus

func (o *Withdrawal) SetStatus(v string)

SetStatus sets field value

func (*Withdrawal) SetTimestamp

func (o *Withdrawal) SetTimestamp(v string)

SetTimestamp sets field value

func (*Withdrawal) SetToken

func (o *Withdrawal) SetToken(v Token)

SetToken sets field value

func (*Withdrawal) SetTransactionId

func (o *Withdrawal) SetTransactionId(v int32)

SetTransactionId sets field value

func (*Withdrawal) SetWithdrawnToWallet

func (o *Withdrawal) SetWithdrawnToWallet(v bool)

SetWithdrawnToWallet sets field value

type WithdrawalsApi

type WithdrawalsApi interface {

	/*
		CreateWithdrawal Creates a withdrawal of a token

		Creates a withdrawal

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateWithdrawalRequest
	*/
	CreateWithdrawal(ctx context.Context) ApiCreateWithdrawalRequest

	// CreateWithdrawalExecute executes the request
	//  @return CreateWithdrawalResponse
	CreateWithdrawalExecute(r ApiCreateWithdrawalRequest) (*CreateWithdrawalResponse, *http.Response, error)

	/*
		GetSignableWithdrawal Gets details of a signable withdrawal

		Gets details of a signable withdrawal

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetSignableWithdrawalRequest
	*/
	GetSignableWithdrawal(ctx context.Context) ApiGetSignableWithdrawalRequest

	// GetSignableWithdrawalExecute executes the request
	//  @return GetSignableWithdrawalResponse
	GetSignableWithdrawalExecute(r ApiGetSignableWithdrawalRequest) (*GetSignableWithdrawalResponse, *http.Response, error)

	/*
		GetWithdrawal Gets details of withdrawal with the given ID

		Gets details of withdrawal with the given ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Withdrawal ID
		@return ApiGetWithdrawalRequest
	*/
	GetWithdrawal(ctx context.Context, id string) ApiGetWithdrawalRequest

	// GetWithdrawalExecute executes the request
	//  @return Withdrawal
	GetWithdrawalExecute(r ApiGetWithdrawalRequest) (*Withdrawal, *http.Response, error)

	/*
		ListWithdrawals Get a list of withdrawals

		Get a list of withdrawals

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListWithdrawalsRequest
	*/
	ListWithdrawals(ctx context.Context) ApiListWithdrawalsRequest

	// ListWithdrawalsExecute executes the request
	//  @return ListWithdrawalsResponse
	ListWithdrawalsExecute(r ApiListWithdrawalsRequest) (*ListWithdrawalsResponse, *http.Response, error)
}

type WithdrawalsApiService

type WithdrawalsApiService service

WithdrawalsApiService WithdrawalsApi service

func (*WithdrawalsApiService) CreateWithdrawal

CreateWithdrawal Creates a withdrawal of a token

Creates a withdrawal

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateWithdrawalRequest

func (*WithdrawalsApiService) CreateWithdrawalExecute

Execute executes the request

@return CreateWithdrawalResponse

func (*WithdrawalsApiService) GetSignableWithdrawal

GetSignableWithdrawal Gets details of a signable withdrawal

Gets details of a signable withdrawal

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSignableWithdrawalRequest

func (*WithdrawalsApiService) GetSignableWithdrawalExecute

Execute executes the request

@return GetSignableWithdrawalResponse

func (*WithdrawalsApiService) GetWithdrawal

GetWithdrawal Gets details of withdrawal with the given ID

Gets details of withdrawal with the given ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Withdrawal ID
@return ApiGetWithdrawalRequest

func (*WithdrawalsApiService) GetWithdrawalExecute

Execute executes the request

@return Withdrawal

func (*WithdrawalsApiService) ListWithdrawals

ListWithdrawals Get a list of withdrawals

Get a list of withdrawals

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListWithdrawalsRequest

func (*WithdrawalsApiService) ListWithdrawalsExecute

Execute executes the request

@return ListWithdrawalsResponse

Source Files

Jump to

Keyboard shortcuts

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