TransfersUriParameterBuilder
Summary
public TransfersUriParameterBuilder WithAccount(string account)
WithAccount sets the account parameter
public TransfersUriParameterBuilder WithRecipient(string recipient)
WithRecipient sets the recipient parameter
public TransfersUriParameterBuilder WithAssetId(string assetId)
WithAssetId sets the assetId parameter
public TransfersUriParameterBuilder WithSender(string sender)
WithSender sets the sender parameter
public TransfersUriParameterBuilder WithCollectionName(string collectionName)
public TransfersUriParameterBuilder WithSchemaName(string schemaName)
This function sets the schema name for the query.
public TransfersUriParameterBuilder WithTemplateId(string templateId)
It sets the value of the templateId variable.
public TransfersUriParameterBuilder WithCollectionBlacklist(string[] collectionBlacklist)
WithCollectionBlacklist is a function that takes an array of strings and returns an TransfersUriParameterBuilder object
public TransfersUriParameterBuilder WithCollectionWhitelist(string[] collectionWhitelist)
WithCollectionWhitelist is a function that takes an array of strings and returns an TransfersUriParameterBuilder object
public TransfersUriParameterBuilder WithPage(int page)
WithPage sets the _page variable to the value of the page parameter
public TransfersUriParameterBuilder WithLimit(int limit)
WithLimit sets the _limit variable to the value of the limit parameter
public TransfersUriParameterBuilder WithOrder( SortStrategy sorting)
This function sets the sort strategy for the query.
public TransfersUriParameterBuilder WithSort(string sort)
It sets the sort parameter for the request.
public string Build()
It builds a query string based on the parameters that have been set.
private string _account
A private variable that is used to store the value of the account parameter.
private string _sender
A private variable that is used to store the value of the sender parameter.
private string _recipient
A private variable that is used to store the value of the recipient parameter.
private string _assetId
A private variable that is used to store the value of the assetId parameter.
private string _templateId
A private variable that is used to store the value of the templateId parameter.
private string _schemaName
A private variable that is used to store the value of the schemaName parameter.
private string _collectionName
A private variable that is used to store the value of the collectionName parameter.
private string _collectionBlacklist
A private variable that is used to store the value of the collectionBlacklist parameter.
private string _collectionWhitelist
A private variable that is used to store the value of the collectionWhitelist parameter.
private int? _page
A nullable integer specifying the page.
private int? _limit
A nullable integer specifying the limit of returned values.
private SortStrategy? _sortStrategy
A nullable enum specifying the sortStrategy.
private string _sort
A private variable that is used to store the value of the sort parameter.
Members
public TransfersUriParameterBuilder WithAccount(string account)
WithAccount sets the account parameter
Parameters
accountNotified account.
Returns
The TransfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithRecipient(string recipient)
WithRecipient sets the recipient parameter
Parameters
recipientResults base on transfer recipient.
Returns
The TransfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithAssetId(string assetId)
WithAssetId sets the assetId parameter
Parameters
assetIdThe assetId parameter shows transfers based on a certain assetId.
Returns
The TransfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithSender(string sender)
WithSender sets the sender parameter
Parameters
senderThe sender parameter is used to filter the results. The sender parameter is a string that is matched against the account name.
Returns
The TransfersUriParameterBuilder object.
summary> WithCollectionName is a function that takes a string as a parameter and returns an TransfersUriParameterBuilder object
Parameters
collectionNameThe name of the collection you want to query.
Returns
The TransfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithCollectionName(string collectionName)
public TransfersUriParameterBuilder WithSchemaName(string schemaName)
This function sets the schema name for the query.
Parameters
schemaNameThe name of the schema to use.
Returns
The TransfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithTemplateId(string templateId)
It sets the value of the templateId variable.
Parameters
templateIdResults based on only transfers which cointain assets of template.
Returns
The TranfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithCollectionBlacklist(string[] collectionBlacklist)
WithCollectionBlacklist is a function that takes an array of strings and returns an TransfersUriParameterBuilder object
Parameters
collectionBlacklistA list of collections to exclude from the results.
Returns
The TransfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithCollectionWhitelist(string[] collectionWhitelist)
WithCollectionWhitelist is a function that takes an array of strings and returns an TransfersUriParameterBuilder object
Parameters
collectionWhitelistA list of collections to include in the response.
Returns
The TransfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithPage(int page)
WithPage sets the _page variable to the value of the page parameter
Parameters
pageThe page number of the results to return.
Returns
The TransfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithLimit(int limit)
WithLimit sets the _limit variable to the value of the limit parameter
Parameters
limitThe number of results to return.
Returns
The TranfersUriParameterBuilder object.
public TransfersUriParameterBuilder WithOrder( SortStrategy sorting)
This function sets the sort strategy for the query.
Parameters
SortStrategy
Returns
The builder object itself.
public TransfersUriParameterBuilder WithSort(string sort)
It sets the sort parameter for the request.
Parameters
sortThe order in which to sort the results.
Returns
A TransfersUriParameterBuilder 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 _account
A private variable that is used to store the value of the account parameter.
private string _sender
A private variable that is used to store the value of the sender parameter.
private string _recipient
A private variable that is used to store the value of the recipient parameter.
private string _assetId
A private variable that is used to store the value of the assetId parameter.
private string _templateId
A private variable that is used to store the value of the templateId parameter.
private string _schemaName
A private variable that is used to store the value of the schemaName parameter.
private string _collectionName
A private variable that is used to store the value of the collectionName parameter.
private string _collectionBlacklist
A private variable that is used to store the value of the collectionBlacklist parameter.
private string _collectionWhitelist
A private variable that is used to store the value of the collectionWhitelist parameter.
private int? _page
A nullable integer specifying the page.
private int? _limit
A nullable integer specifying the limit of returned values.
private SortStrategy? _sortStrategy
A nullable enum specifying the sortStrategy.
private string _sort
A private variable that is used to store the value of the sort parameter.
Last updated