PricingUriParametersBuilder
class AtomicMarketApiClient::Pricing::PricingUriParametersBuilder
: public IUriParameterBuilderSummary
public PricingUriParametersBuilder WithSymbol(string symbol)
WithSymbol sets the symbol parameter
public PricingUriParametersBuilder WithBurned(bool burned)
WithBurned sets the _burned field to the value of the burned parameter
public PricingUriParametersBuilder WithCollectionName(string collectionName)
WithCollectionName is a function that takes a string as a parameter and returns an PricingUriParameterBuilder object
public PricingUriParametersBuilder WithSchemaName(string schemaName)
This function sets the schema name for the query.
public PricingUriParametersBuilder WithTemplateId(string templateId)
WithTemplateId sets the _templateId variable to the value of the templateId parameter
public PricingUriParametersBuilder WithIsTransferable(bool isTransferable)
WithIsTransferable sets the _isTransferable field to the value of the isTransferable parameter
public PricingUriParametersBuilder WithIsBurnable(bool isBurnable)
WithIsTransferable sets the _isTransferable field to the value of the isTransferable parameter
public string Build()
It builds a query string based on the parameters that have been set.
private string _symbol
A private variable that is used to store the value of the symbol parameter.
private bool? _burned
A nullable boolean specfying burned assets.
private string _collectionName
A private variable that is used to store the value of the collectionName parameter.
private string _schemaName
A private variable that is used to store the value of the schemaName parameter.
private string _templateId
A private variable that is used to store the value of the templateId parameter.
private bool? _isTransferable
A nullable boolean specfying transferable assets.
private bool? _isBurnable
A nullable boolean specfying burnable assets.
Members
public PricingUriParametersBuilder WithSymbol(string symbol)
WithSymbol sets the symbol parameter
Parameters
symbolToken symbols.
Returns
The PricingUriParameterBuilder object.
public PricingUriParametersBuilder WithBurned(bool burned)
WithBurned sets the _burned field to the value of the burned parameter
Parameters
burnedIt filters for burned assets.
Returns
The PricingUriParameterBuilder object.
public PricingUriParametersBuilder WithCollectionName(string collectionName)
WithCollectionName is a function that takes a string as a parameter and returns an PricingUriParameterBuilder object
Parameters
collectionNameThe name of the collection you want to query.
Returns
The PricingUriParameterBuilder object.
public PricingUriParametersBuilder WithSchemaName(string schemaName)
This function sets the schema name for the query.
Parameters
schemaNameThe name of the schema to use.
Returns
The PricingUriParameterBuilder object.
public PricingUriParametersBuilder WithTemplateId(string templateId)
WithTemplateId sets the _templateId variable to the value of the templateId parameter
Parameters
templateIdThe templateId of the results to return.
Returns
The PricingUriParameterBuilder object.
public PricingUriParametersBuilder WithIsTransferable(bool isTransferable)
WithIsTransferable sets the _isTransferable field to the value of the isTransferable parameter
Parameters
isTransferableThe isTransferable parameter filters results.
Returns
The PricingUriParameterBuilder object.
public PricingUriParametersBuilder WithIsBurnable(bool isBurnable)
WithIsTransferable sets the _isTransferable field to the value of the isTransferable parameter
Parameters
isTransferableThe isTransferable parameter filters for transferable assets.
Returns
The PricingUriParameterBuilder object.
public string Build()
It builds a query string based on the parameters that have been set.
Returns
A string that contains the parameters for the query.
private string _symbol
A private variable that is used to store the value of the symbol parameter.
private bool? _burned
A nullable boolean specfying burned assets.
private string _collectionName
A private variable that is used to store the value of the collectionName parameter.
private string _schemaName
A private variable that is used to store the value of the schemaName parameter.
private string _templateId
A private variable that is used to store the value of the templateId parameter.
private bool? _isTransferable
A nullable boolean specfying transferable assets.
private bool? _isBurnable
A nullable boolean specfying burnable assets.
Last updated