Class AssetConfigTransactionType
AssetConfigTransactionType contains the additional fields for an asset config transaction
Inheritance
Implements
Inherited Members
Namespace: Algorand.Algod.Model
Assembly: Algorand.dll
Syntax
[DataContract]
public class AssetConfigTransactionType : IEquatable<AssetConfigTransactionType>, IValidatableObject
Constructors
| Improve this Doc View SourceAssetConfigTransactionType(Nullable<UInt64>, AssetParams)
Initializes a new instance of the AssetConfigTransactionType class.
Declaration
public AssetConfigTransactionType(ulong? id = default(ulong? ), AssetParams _params = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.UInt64> | id | AssetID is the asset being configured (or empty if creating). |
AssetParams | _params | _params. |
Properties
| Improve this Doc View SourceId
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) |
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 SourceEquals(AssetConfigTransactionType)
Returns true if AssetConfigTransactionType instances are equal
Declaration
public bool Equals(AssetConfigTransactionType input)
Parameters
Type | Name | Description |
---|---|---|
AssetConfigTransactionType | input | Instance of AssetConfigTransactionType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
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
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
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 |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | 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.ComponentModel.DataAnnotations.ValidationContext | validationContext | Validation context |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> | Validation Result |