AssetsRequestBuilder class
Lists all assets. It will give you all the assets in the system along with various statistics about each. See Assets
- Inheritance
- Object
- RequestBuilder
- AssetsRequestBuilder
Constructors
-
AssetsRequestBuilder(Client httpClient,
Uri serverURI )
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- httpClient ↔ Client
-
read / write, inherited
-
queryParameters
↔ Map<
String, String> -
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- uriBuilder ↔ Uri
-
read / write, inherited
Methods
-
assetCode(
String assetCode ) → AssetsRequestBuilder -
assetIssuer(
String assetIssuer ) → AssetsRequestBuilder -
buildUri(
) → Uri -
inherited
-
cursor(
String token ) → AssetsRequestBuilder -
Sets cursor parameter on the request.
A cursor is a value that points to a specific location in a collection of resources.
The cursor attribute itself is an opaque value meaning that users should not try to parse it.
override
-
encodeAsset(
Asset asset ) → String -
inherited
-
encodeAssets(
List< Asset> assets) → String -
inherited
-
execute(
) → Future< Page< AssetResponse> > -
limit(
int number ) → AssetsRequestBuilder -
Sets limit parameter on the request.
It defines maximum number of records to return.
For range and default values check documentation of the endpoint requested.
override
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
order(
RequestBuilderOrder direction ) → AssetsRequestBuilder -
Sets order parameter on the request.
override
-
setSegments(
List< String> segments) → RequestBuilder -
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited
Static Methods
-
requestExecute(
Client httpClient, Uri uri ) → Future< Page< AssetResponse> >