Search Results for

    Show / Hide Table of Contents

    Class InboxRetentionPolicyDto

    InboxRetentionPolicyDto

    Inheritance
    object
    InboxRetentionPolicyDto
    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 = "InboxRetentionPolicyDto")]
    public class InboxRetentionPolicyDto : IValidatableObject

    Constructors

    View Source

    InboxRetentionPolicyDto()

    Initializes a new instance of the InboxRetentionPolicyDto class.

    Declaration
    [JsonConstructor]
    protected InboxRetentionPolicyDto()
    View Source

    InboxRetentionPolicyDto(Guid, Guid, int, DateTime, DateTime)

    Initializes a new instance of the InboxRetentionPolicyDto class.

    Declaration
    public InboxRetentionPolicyDto(Guid id = default, Guid inboxId = default, int retentionDays = 0, DateTime createdAt = default, DateTime updatedAt = default)
    Parameters
    Type Name Description
    Guid id

    id (required).

    Guid inboxId

    inboxId.

    int retentionDays

    retentionDays (required).

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    Properties

    View Source

    CreatedAt

    Gets or Sets CreatedAt

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

    Id

    Gets or Sets Id

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

    InboxId

    Gets or Sets InboxId

    Declaration
    [DataMember(Name = "inboxId", EmitDefaultValue = false)]
    public Guid InboxId { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    RetentionDays

    Gets or Sets RetentionDays

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

    UpdatedAt

    Gets or Sets UpdatedAt

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

    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
    Back to top See MailSlurp website for more information.