Show / Hide Table of Contents

    Class TransactionAssetConfig

    Fields for asset allocation, re-configuration, and destruction. A zero value for asset-id indicates asset creation. A zero value for the params indicates asset destruction. Definition: data/transactions/asset.go : AssetConfigTxnFields

    Inheritance
    System.Object
    TransactionAssetConfig
    Implements
    System.IEquatable<TransactionAssetConfig>
    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 TransactionAssetConfig : IEquatable<TransactionAssetConfig>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    TransactionAssetConfig(Nullable<Int64>, AssetParams)

    Initializes a new instance of the TransactionAssetConfig class.

    Declaration
    public TransactionAssetConfig(long? assetId = default(long? ), AssetParams _params = null)
    Parameters
    Type Name Description
    System.Nullable<System.Int64> assetId

    \[xaid\] ID of the asset being configured or empty if creating..

    AssetParams _params

    _params.

    Properties

    | Improve this Doc View Source

    AssetId

    \[xaid\] ID of the asset being configured or empty if creating.

    Declaration
    [DataMember(Name = "asset-id", EmitDefaultValue = false)]
    public long? AssetId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    \[xaid\] ID of the asset being configured or empty if creating.

    | Improve this Doc View Source

    Params

    Gets or Sets Params

    Declaration
    [DataMember(Name = "params", EmitDefaultValue = false)]
    public AssetParams Params { get; set; }
    Property Value
    Type Description
    AssetParams

    Methods

    | Improve this Doc View Source

    Equals(TransactionAssetConfig)

    Returns true if TransactionAssetConfig instances are equal

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

    Instance of TransactionAssetConfig 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