Class CancelDevicePreviewRunResult
CancelDevicePreviewRunResult
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CancelDevicePreviewRunResult")]
public class CancelDevicePreviewRunResult : IValidatableObject
Constructors
View SourceCancelDevicePreviewRunResult()
Initializes a new instance of the CancelDevicePreviewRunResult class.
Declaration
[JsonConstructor]
protected CancelDevicePreviewRunResult()
CancelDevicePreviewRunResult(DevicePreviewRunDto, bool, bool, string)
Initializes a new instance of the CancelDevicePreviewRunResult class.
Declaration
public CancelDevicePreviewRunResult(DevicePreviewRunDto run = null, bool remoteCancelAttempted = false, bool remoteCancelAccepted = false, string warning = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DevicePreviewRunDto | run | run (required). |
| bool | remoteCancelAttempted | remoteCancelAttempted (required). |
| bool | remoteCancelAccepted | remoteCancelAccepted (required). |
| string | warning | warning. |
Properties
View SourceRemoteCancelAccepted
Gets or Sets RemoteCancelAccepted
Declaration
[DataMember(Name = "remoteCancelAccepted", IsRequired = true, EmitDefaultValue = true)]
public bool RemoteCancelAccepted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RemoteCancelAttempted
Gets or Sets RemoteCancelAttempted
Declaration
[DataMember(Name = "remoteCancelAttempted", IsRequired = true, EmitDefaultValue = true)]
public bool RemoteCancelAttempted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Run
Gets or Sets Run
Declaration
[DataMember(Name = "run", IsRequired = true, EmitDefaultValue = true)]
public DevicePreviewRunDto Run { get; set; }
Property Value
| Type | Description |
|---|---|
| DevicePreviewRunDto |
Warning
Gets or Sets Warning
Declaration
[DataMember(Name = "warning", EmitDefaultValue = false)]
public string Warning { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |