Class ExpirationDefaults
Expiration defaults for your account
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ExpirationDefaults")]
public class ExpirationDefaults : IValidatableObject
Constructors
View SourceExpirationDefaults()
Initializes a new instance of the Expiration
Declaration
[JsonConstructor]
protected ExpirationDefaults()
ExpirationDefaults(long?, long?, DateTime?, bool, bool)
Initializes a new instance of the Expiration
Declaration
public ExpirationDefaults(long? defaultExpirationMillis = null, long? maxExpirationMillis = null, DateTime? defaultExpiresAt = null, bool canPermanentInbox = false, bool nextInboxAllowsPermanent = false)
Parameters
Type | Name | Description |
---|---|---|
long? | defaultExpirationMillis | defaultExpirationMillis. |
long? | maxExpirationMillis | maxExpirationMillis. |
Date |
defaultExpiresAt | defaultExpiresAt. |
bool | canPermanentInbox | canPermanentInbox (required). |
bool | nextInboxAllowsPermanent | nextInboxAllowsPermanent (required). |
Properties
View SourceCanPermanentInbox
Gets or Sets CanPermanentInbox
Declaration
[DataMember(Name = "canPermanentInbox", IsRequired = true, EmitDefaultValue = true)]
public bool CanPermanentInbox { get; set; }
Property Value
Type | Description |
---|---|
bool |
DefaultExpirationMillis
Gets or Sets DefaultExpirationMillis
Declaration
[DataMember(Name = "defaultExpirationMillis", EmitDefaultValue = true)]
public long? DefaultExpirationMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
DefaultExpiresAt
Gets or Sets DefaultExpiresAt
Declaration
[DataMember(Name = "defaultExpiresAt", EmitDefaultValue = true)]
public DateTime? DefaultExpiresAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
MaxExpirationMillis
Gets or Sets MaxExpirationMillis
Declaration
[DataMember(Name = "maxExpirationMillis", EmitDefaultValue = true)]
public long? MaxExpirationMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
NextInboxAllowsPermanent
Gets or Sets NextInboxAllowsPermanent
Declaration
[DataMember(Name = "nextInboxAllowsPermanent", IsRequired = true, EmitDefaultValue = true)]
public bool NextInboxAllowsPermanent { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 |