TemplatesUriParameterBuilder
Summary
WithIssuedSupply
sets the _issuedSupply
variable to the value of the issuedSupply
parameter
WithMinIssuedSupply
sets the _minIssuedSupply
variable to the value of the minIssuedSupply
parameter
WithMaxIssuedSupply
sets the _maxIssuedSupply
variable to the value of the maxIssuedSupply
parameter
WithMaxSupply
sets the _maxSupply
variable to the value of the maxSupply
parameter
WithHasAssets
sets the _hasAssets
field to the value of the hasAssets
parameter
WithIsBurnable
sets the _isBurnable
field to the value of the isBurnable
parameter
WithIsTransferable
sets the _isTransferable
field to the value of the isTransferable
parameter
WithCollectionName
is a function that takes a string as a parameter and returns an TemplatesUriParameterBuilder
object
This function sets the schema name for the query.
WithMatch
sets the match
parameter
WithCollectionBlacklist
is a function that takes an array of strings and returns an TemplatesUriParameterBuilder
object
WithCollectionWhitelist
is a function that takes an array of strings and returns an TemplatesUriParameterBuilder
object
WithAuthorisedAccount
sets the authorisedAccount
parameter
This function takes an array of strings and joins them together with a comma.
WithLowerBound
sets the lower bound of the account_ids
parameter
WithUpperBound
sets the upper bound of the range of accounts to be returned
WithBefore
sets the _before
variable to the value of the before
parameter
WithAfter
sets the _after
variable to the value of the after
parameter
WithPage
sets the _page
variable to the value of the page
parameter
WithLimit
sets the _limit
variable to the value of the limit
parameter
This function sets the sort strategy for the query.
WithSort
is a function that takes a string as a parameter and returns a TemplatesUriParameterBuilder
object.
It builds a query string based on the parameters that have been set.
Members
WithIssuedSupply
sets the _issuedSupply
variable to the value of the issuedSupply
parameter
Parameters
issuedSupply
The issuedSupply parameter filters results.
Returns
The TemplatesUriParameterBuilder object.
WithMinIssuedSupply
sets the _minIssuedSupply
variable to the value of the minIssuedSupply
parameter
Parameters
minIssuedSupply
The minIssuedSupply parameter filters results by issuedSupply.
Returns
The TemplatesUriParameterBuilder object.
WithMaxIssuedSupply
sets the _maxIssuedSupply
variable to the value of the maxIssuedSupply
parameter
Parameters
minIssuedSupply
The maxIssuedSupply parameter filters results by issuedSupply.
Returns
The TemplatesUriParameterBuilder object.
WithMaxSupply
sets the _maxSupply
variable to the value of the maxSupply
parameter
Parameters
maxSupply
The maxSupply parameter filters results by maxSupply.
Returns
The TemplatesUriParameterBuilder object.
WithHasAssets
sets the _hasAssets
field to the value of the hasAssets
parameter
Parameters
hasAssets
The parameter only shows template with an existing supply of >0.
Returns
The TemplatesUriParameterBuilder object.
WithIsBurnable
sets the _isBurnable
field to the value of the isBurnable
parameter
Parameters
isBurnable
The isBurnable parameter filters results.
Returns
The TemplatesUriParameterBuilder object.
WithIsTransferable
sets the _isTransferable
field to the value of the isTransferable
parameter
Parameters
isTransferable
The isTransferable parameter filters results.
Returns
The TemplatesUriParameterBuilder object.
WithCollectionName
is a function that takes a string as a parameter and returns an TemplatesUriParameterBuilder
object
Parameters
collectionName
The name of the collection you want to query.
Returns
The TemplatessUriParameterBuilder object.
This function sets the schema name for the query.
Parameters
schemaName
The name of the schema to use.
Returns
The TemplatesUriParameterBuilder object.
WithMatch
sets the match
parameter
Parameters
match
The match parameter is used to filter the results. The match parameter is a string that is matched against the account name.
Returns
The TemplatesUriParameterBuilder object.
WithCollectionBlacklist
is a function that takes an array of strings and returns an TemplatesUriParameterBuilder
object
Parameters
collectionBlacklist
A list of collections to exclude from the results.
Returns
The TemplatesUriParameterBuilder object.
WithCollectionWhitelist
is a function that takes an array of strings and returns an TemplatesUriParameterBuilder
object
Parameters
collectionWhitelist
A list of collections to include in the response.
Returns
The TemplatesUriParameterBuilder object.
WithAuthorisedAccount
sets the authorisedAccount
parameter
Parameters
authorisedAccount
The authorisedAccount parameter is used to filter the results the provided account can use.
Returns
The TemplatesUriParameterBuilder object.
This function takes an array of strings and joins them together with a comma.
Parameters
ids
A comma-separated list of account IDs.
Returns
The TemplatesUriParameterBuilder object.
WithLowerBound
sets the lower bound of the account_ids
parameter
Parameters
lowerBound
The lower bound of the primary key
Returns
The TemplatesUriParameterBuilder object.
WithUpperBound
sets the upper bound of the range of accounts to be returned
Parameters
upperBound
The upper bound of the primary key.
Returns
The TemplatesUriParameterBuilder object.
WithBefore
sets the _before
variable to the value of the before
parameter
Parameters
before
The previous values of the results to return.
Returns
The TemplatesUriParameterBuilder object.
WithAfter
sets the _after
variable to the value of the after
parameter
Parameters
after
The later values of the results to return.
Returns
The TemplatesUriParameterBuilder object.
WithPage
sets the _page
variable to the value of the page
parameter
Parameters
page
The page number of the results to return.
Returns
The TemplatesUriParameterBuilder object.
WithLimit
sets the _limit
variable to the value of the limit
parameter
Parameters
limit
The number of results to return.
Returns
The TemplatesUriParameterBuilder object.
This function sets the sort strategy for the query.
Parameters
SortStrategy
Returns
The builder object itself.
WithSort
is a function that takes a string as a parameter and returns a TemplatesUriParameterBuilder
object.
Parameters
sort
The sort order of the results.
Returns
A TemplatesUriParameterBuilder object.
It builds a query string based on the parameters that have been set.
Returns
A string that contains the parameters for the query.
Last updated