Class AssetBalancesResponse
AssetBalancesResponse
Inheritance
Implements
Inherited Members
Namespace: Algorand.V2.Model
Assembly: Algorand.dll
Syntax
[DataContract]
public class AssetBalancesResponse : IEquatable<AssetBalancesResponse>, IValidatableObject
Constructors
| Improve this Doc View SourceAssetBalancesResponse(List<MiniAssetHolding>, Nullable<Int64>, String)
Initializes a new instance of the Asset
Declaration
public AssetBalancesResponse(List<MiniAssetHolding> balances = null, long? currentRound = default(long? ), string nextToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
balances | balances (required). |
System. |
currentRound | Round at which the results were computed. (required). |
System. |
nextToken | Used for pagination, when making another request provide this token with the next parameter.. |
Properties
| Improve this Doc View SourceBalances
Gets or Sets Balances
Declaration
[DataMember(Name = "balances", EmitDefaultValue = false)]
public List<MiniAssetHolding> Balances { get; set; }
Property Value
Type | Description |
---|---|
System. |
CurrentRound
Round at which the results were computed.
Declaration
[DataMember(Name = "current-round", EmitDefaultValue = false)]
public long? CurrentRound { get; set; }
Property Value
Type | Description |
---|---|
System. |
Round at which the results were computed. |
NextToken
Used for pagination, when making another request provide this token with the next parameter.
Declaration
[DataMember(Name = "next-token", EmitDefaultValue = false)]
public string NextToken { get; set; }
Property Value
Type | Description |
---|---|
System. |
Used for pagination, when making another request provide this token with the next parameter. |
Methods
| Improve this Doc View SourceEquals(AssetBalancesResponse)
Returns true if AssetBalancesResponse instances are equal
Declaration
public bool Equals(AssetBalancesResponse input)
Parameters
Type | Name | Description |
---|---|---|
Asset |
input | Instance of AssetBalancesResponse to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIValidatableObject.Validate(ValidationContext)
To validate all properties of the instance
Declaration
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
System. |
validationContext | Validation context |
Returns
Type | Description |
---|---|
System. |
Validation Result |