Show / Hide Table of Contents

    Class AssetBalancesResponse

    AssetBalancesResponse

    Inheritance
    System.Object
    AssetBalancesResponse
    Implements
    System.IEquatable<AssetBalancesResponse>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Algorand.V2.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class AssetBalancesResponse : IEquatable<AssetBalancesResponse>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    AssetBalancesResponse(List<MiniAssetHolding>, Nullable<Int64>, String)

    Initializes a new instance of the AssetBalancesResponse class.

    Declaration
    public AssetBalancesResponse(List<MiniAssetHolding> balances = null, long? currentRound = default(long? ), string nextToken = null)
    Parameters
    Type Name Description
    System.Collections.Generic.List<MiniAssetHolding> balances

    balances (required).

    System.Nullable<System.Int64> currentRound

    Round at which the results were computed. (required).

    System.String nextToken

    Used for pagination, when making another request provide this token with the next parameter..

    Properties

    | Improve this Doc View Source

    Balances

    Gets or Sets Balances

    Declaration
    [DataMember(Name = "balances", EmitDefaultValue = false)]
    public List<MiniAssetHolding> Balances { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<MiniAssetHolding>
    | Improve this Doc View Source

    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.Nullable<System.Int64>

    Round at which the results were computed.

    | Improve this Doc View Source

    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.String

    Used for pagination, when making another request provide this token with the next parameter.

    Methods

    | Improve this Doc View Source

    Equals(AssetBalancesResponse)

    Returns true if AssetBalancesResponse instances are equal

    Declaration
    public bool Equals(AssetBalancesResponse input)
    Parameters
    Type Name Description
    AssetBalancesResponse input

    Instance of AssetBalancesResponse to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX