Search Results for

    Show / Hide Table of Contents

    Class PhoneMessageThreadProjection

    PhoneMessageThreadProjection

    Inheritance
    object
    PhoneMessageThreadProjection
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "PhoneMessageThreadProjection")]
    public class PhoneMessageThreadProjection : IValidatableObject

    Constructors

    View Source

    PhoneMessageThreadProjection()

    Initializes a new instance of the PhoneMessageThreadProjection class.

    Declaration
    [JsonConstructor]
    protected PhoneMessageThreadProjection()
    View Source

    PhoneMessageThreadProjection(string, Guid, string, LastMessageDirectionEnum, string, DateTime)

    Initializes a new instance of the PhoneMessageThreadProjection class.

    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).

    PhoneMessageThreadProjection.LastMessageDirectionEnum lastMessageDirection

    lastMessageDirection (required).

    string lastBody

    lastBody (required).

    DateTime lastCreated

    lastCreated (required).

    Properties

    View Source

    LastBody

    Gets or Sets LastBody

    Declaration
    [DataMember(Name = "lastBody", IsRequired = true, EmitDefaultValue = true)]
    public string LastBody { get; set; }
    Property Value
    Type Description
    string
    View Source

    LastCreated

    Gets or Sets LastCreated

    Declaration
    [DataMember(Name = "lastCreated", IsRequired = true, EmitDefaultValue = true)]
    public DateTime LastCreated { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    LastMessageDirection

    Gets or Sets LastMessageDirection

    Declaration
    [DataMember(Name = "lastMessageDirection", IsRequired = true, EmitDefaultValue = true)]
    public PhoneMessageThreadProjection.LastMessageDirectionEnum LastMessageDirection { get; set; }
    Property Value
    Type Description
    PhoneMessageThreadProjection.LastMessageDirectionEnum
    View Source

    OtherPhoneNumber

    Gets or Sets OtherPhoneNumber

    Declaration
    [DataMember(Name = "otherPhoneNumber", IsRequired = true, EmitDefaultValue = true)]
    public string OtherPhoneNumber { get; set; }
    Property Value
    Type Description
    string
    View Source

    PhoneNumber

    Gets or Sets PhoneNumber

    Declaration
    [DataMember(Name = "phoneNumber", IsRequired = true, EmitDefaultValue = true)]
    public string PhoneNumber { get; set; }
    Property Value
    Type Description
    string
    View Source

    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 Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    • Constructors
      • PhoneMessageThreadProjection()
      • PhoneMessageThreadProjection(string, Guid, string, LastMessageDirectionEnum, string, DateTime)
    • Properties
      • LastBody
      • LastCreated
      • LastMessageDirection
      • OtherPhoneNumber
      • PhoneNumber
      • PhoneNumberId
    • Methods
      • ToJson()
      • ToString()
    • Implements
    Back to top See MailSlurp website for more information.