Class TestRulesetReceivingOptions
Test options for inbox ruleset receiving test or phone number receiving test
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "TestRulesetReceivingOptions")]
public class TestRulesetReceivingOptions : IValidatableObject
Constructors
View SourceTestRulesetReceivingOptions()
Initializes a new instance of the TestRulesetReceivingOptions class.
Declaration
[JsonConstructor]
protected TestRulesetReceivingOptions()
TestRulesetReceivingOptions(Guid?, Guid?, string)
Initializes a new instance of the TestRulesetReceivingOptions class.
Declaration
public TestRulesetReceivingOptions(Guid? inboxId = null, Guid? phoneId = null, string fromSender = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid? | inboxId | inboxId. |
| Guid? | phoneId | phoneId. |
| string | fromSender | fromSender (required). |
Properties
View SourceFromSender
Gets or Sets FromSender
Declaration
[DataMember(Name = "fromSender", IsRequired = true, EmitDefaultValue = true)]
public string FromSender { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InboxId
Gets or Sets InboxId
Declaration
[DataMember(Name = "inboxId", EmitDefaultValue = true)]
public Guid? InboxId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
PhoneId
Gets or Sets PhoneId
Declaration
[DataMember(Name = "phoneId", EmitDefaultValue = true)]
public Guid? PhoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
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 |