Show / Hide Table of Contents

    Class AssetFreezeTransactionType

    AssetFreezeTransactionType contains the additional fields for an asset freeze transaction

    Inheritance
    System.Object
    AssetFreezeTransactionType
    Implements
    System.IEquatable<AssetFreezeTransactionType>
    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.Algod.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class AssetFreezeTransactionType : IEquatable<AssetFreezeTransactionType>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    AssetFreezeTransactionType(String, Nullable<Boolean>, Nullable<UInt64>)

    Initializes a new instance of the AssetFreezeTransactionType class.

    Declaration
    public AssetFreezeTransactionType(string acct = null, bool? freeze = default(bool? ), ulong? id = default(ulong? ))
    Parameters
    Type Name Description
    System.String acct

    Account specifies the account where the asset is being frozen or thawed. (required).

    System.Nullable<System.Boolean> freeze

    NewFreezeStatus specifies the new freeze status. (required).

    System.Nullable<System.UInt64> id

    AssetID is the asset being configured (or empty if creating) (required).

    Properties

    | Improve this Doc View Source

    Acct

    Account specifies the account where the asset is being frozen or thawed.

    Declaration
    [DataMember(Name = "acct", EmitDefaultValue = false)]
    public string Acct { get; set; }
    Property Value
    Type Description
    System.String

    Account specifies the account where the asset is being frozen or thawed.

    | Improve this Doc View Source

    Freeze

    NewFreezeStatus specifies the new freeze status.

    Declaration
    [DataMember(Name = "freeze", EmitDefaultValue = false)]
    public bool? Freeze { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    NewFreezeStatus specifies the new freeze status.

    | Improve this Doc View Source

    Id

    AssetID is the asset being configured (or empty if creating)

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    public ulong? Id { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>

    AssetID is the asset being configured (or empty if creating)

    Methods

    | Improve this Doc View Source

    Equals(AssetFreezeTransactionType)

    Returns true if AssetFreezeTransactionType instances are equal

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

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