Class PhoneMessageThreadProjection
PhoneMessageThreadProjection
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "PhoneMessageThreadProjection")]
public class PhoneMessageThreadProjection : IValidatableObject
Constructors
View SourcePhoneMessageThreadProjection()
Initializes a new instance of the Phone
Declaration
[JsonConstructor]
protected PhoneMessageThreadProjection()
PhoneMessageThreadProjection(string, Guid, string, LastMessageDirectionEnum, string, DateTime)
Initializes a new instance of the Phone
Declaration
public PhoneMessageThreadProjection(string phoneNumber = null, Guid phoneNumberId = default, string otherPhoneNumber = null, PhoneMessageThreadProjection.LastMessageDirectionEnum lastMessageDirection = (PhoneMessageThreadProjection.LastMessageDirectionEnum)0, string lastBody = null, DateTime lastCreated = default)
Parameters
Type | Name | Description |
---|---|---|
string | phoneNumber | phoneNumber (required). |
Guid | phoneNumberId | phoneNumberId (required). |
string | otherPhoneNumber | otherPhoneNumber (required). |
Phone |
lastMessageDirection | lastMessageDirection (required). |
string | lastBody | lastBody (required). |
Date |
lastCreated | lastCreated (required). |
Properties
View SourceLastBody
Gets or Sets LastBody
Declaration
[DataMember(Name = "lastBody", IsRequired = true, EmitDefaultValue = true)]
public string LastBody { get; set; }
Property Value
Type | Description |
---|---|
string |
LastCreated
Gets or Sets LastCreated
Declaration
[DataMember(Name = "lastCreated", IsRequired = true, EmitDefaultValue = true)]
public DateTime LastCreated { get; set; }
Property Value
Type | Description |
---|---|
Date |
LastMessageDirection
Gets or Sets LastMessageDirection
Declaration
[DataMember(Name = "lastMessageDirection", IsRequired = true, EmitDefaultValue = true)]
public PhoneMessageThreadProjection.LastMessageDirectionEnum LastMessageDirection { get; set; }
Property Value
Type | Description |
---|---|
Phone |
OtherPhoneNumber
Gets or Sets OtherPhoneNumber
Declaration
[DataMember(Name = "otherPhoneNumber", IsRequired = true, EmitDefaultValue = true)]
public string OtherPhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
PhoneNumber
Gets or Sets PhoneNumber
Declaration
[DataMember(Name = "phoneNumber", IsRequired = true, EmitDefaultValue = true)]
public string PhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
PhoneNumberId
Gets or Sets PhoneNumberId
Declaration
[DataMember(Name = "phoneNumberId", IsRequired = true, EmitDefaultValue = true)]
public Guid PhoneNumberId { 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 |