Class DryrunResponse
DryrunResponse
Inheritance
Implements
Inherited Members
Namespace: Algorand.V2.Model
Assembly: Algorand.dll
Syntax
[DataContract]
public class DryrunResponse : IEquatable<DryrunResponse>, IValidatableObject
Constructors
| Improve this Doc View SourceDryrunResponse()
Initializes a new instance of the DryrunResponse class.
Declaration
[JsonConstructor]
protected DryrunResponse()
DryrunResponse(List<DryrunTxnResult>, String, String)
Initializes a new instance of the DryrunResponse class.
Declaration
public DryrunResponse(List<DryrunTxnResult> txns = null, string error = null, string protocolVersion = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<DryrunTxnResult> | txns | txns (required). |
System.String | error | error (required). |
System.String | protocolVersion | Protocol version is the protocol version Dryrun was operated under. (required). |
Properties
| Improve this Doc View SourceError
Gets or Sets Error
Declaration
[DataMember(Name = "error", EmitDefaultValue = false)]
public string Error { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProtocolVersion
Protocol version is the protocol version Dryrun was operated under.
Declaration
[DataMember(Name = "protocol-version", EmitDefaultValue = false)]
public string ProtocolVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String | Protocol version is the protocol version Dryrun was operated under. |
Txns
Gets or Sets Txns
Declaration
[DataMember(Name = "txns", EmitDefaultValue = false)]
public List<DryrunTxnResult> Txns { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DryrunTxnResult> |
Methods
| Improve this Doc View SourceEquals(DryrunResponse)
Returns true if DryrunResponse instances are equal
Declaration
public bool Equals(DryrunResponse input)
Parameters
Type | Name | Description |
---|---|---|
DryrunResponse | input | Instance of DryrunResponse 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 |