Class FlushExpiredInboxesResult
Result from calling expire on any inboxes that have applicable expiration dates given current time.
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "FlushExpiredInboxesResult")]
public class FlushExpiredInboxesResult : IValidatableObject
Constructors
View SourceFlushExpiredInboxesResult()
Initializes a new instance of the FlushExpiredInboxesResult class.
Declaration
[JsonConstructor]
protected FlushExpiredInboxesResult()
FlushExpiredInboxesResult(List<Guid>, DateTime)
Initializes a new instance of the FlushExpiredInboxesResult class.
Declaration
public FlushExpiredInboxesResult(List<Guid> inboxIds = null, DateTime expireBefore = default)
Parameters
| Type | Name | Description |
|---|---|---|
| List<Guid> | inboxIds | Inbox IDs affected by expiration (required). |
| DateTime | expireBefore | DateTime to filter inboxes so that those expiring before this time are expired (required). |
Properties
View SourceExpireBefore
DateTime to filter inboxes so that those expiring before this time are expired
Declaration
[DataMember(Name = "expireBefore", IsRequired = true, EmitDefaultValue = true)]
public DateTime ExpireBefore { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime | DateTime to filter inboxes so that those expiring before this time are expired |
InboxIds
Inbox IDs affected by expiration
Declaration
[DataMember(Name = "inboxIds", IsRequired = true, EmitDefaultValue = true)]
public List<Guid> InboxIds { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Guid> | Inbox IDs affected by expiration |
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 |