TransfersUriParameterBuilder
Last updated
Last updated
Members | Descriptions |
---|---|
public
TransfersUriParameterBuilder
WithAccount
(string account)
WithAccount
sets the account
parameter
account
Notified account.
The TransfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithRecipient
(string recipient)
WithRecipient
sets the recipient
parameter
recipient
Results base on transfer recipient.
The TransfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithAssetId
(string assetId)
WithAssetId
sets the assetId parameter
assetId
The assetId parameter shows transfers based on a certain assetId.
The TransfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithSender
(string sender)
WithSender
sets the sender
parameter
sender
The sender parameter is used to filter the results. The sender parameter is a string that is matched against the account name.
The TransfersUriParameterBuilder object.
summary> WithCollectionName
is a function that takes a string as a parameter and returns an TransfersUriParameterBuilder
object
collectionName
The name of the collection you want to query.
The TransfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithCollectionName
(string collectionName)
public
TransfersUriParameterBuilder
WithSchemaName
(string schemaName)
This function sets the schema name for the query.
schemaName
The name of the schema to use.
The TransfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithTemplateId
(string templateId)
It sets the value of the templateId variable.
templateId
Results based on only transfers which cointain assets of template.
The TranfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithCollectionBlacklist
(string[] collectionBlacklist)
WithCollectionBlacklist
is a function that takes an array of strings and returns an TransfersUriParameterBuilder
object
collectionBlacklist
A list of collections to exclude from the results.
The TransfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithCollectionWhitelist
(string[] collectionWhitelist)
WithCollectionWhitelist
is a function that takes an array of strings and returns an TransfersUriParameterBuilder
object
collectionWhitelist
A list of collections to include in the response.
The TransfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithPage
(int page)
WithPage
sets the _page
variable to the value of the page
parameter
page
The page number of the results to return.
The TransfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithLimit
(int limit)
WithLimit
sets the _limit
variable to the value of the limit
parameter
limit
The number of results to return.
The TranfersUriParameterBuilder object.
public
TransfersUriParameterBuilder
WithOrder
(
SortStrategy
sorting)
This function sets the sort strategy for the query.
SortStrategy
The builder object itself.
public
TransfersUriParameterBuilder
WithSort
(string sort)
It sets the sort parameter for the request.
sort
The order in which to sort the results.
A TransfersUriParameterBuilder object.
public string
Build
()
It builds a query string based on the parameters that have been set.
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.
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.