Class EntityEventItemProjection
EntityEventItemProjection
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "EntityEventItemProjection")]
public class EntityEventItemProjection : IValidatableObject
Constructors
View SourceEntityEventItemProjection()
Initializes a new instance of the EntityEventItemProjection class.
Declaration
[JsonConstructor]
protected EntityEventItemProjection()
EntityEventItemProjection(EventTypeEnum, Guid, Guid, Guid, SeverityEnum)
Initializes a new instance of the EntityEventItemProjection class.
Declaration
public EntityEventItemProjection(EntityEventItemProjection.EventTypeEnum eventType = (EntityEventItemProjection.EventTypeEnum)0, Guid inboxId = default, Guid phoneId = default, Guid id = default, EntityEventItemProjection.SeverityEnum severity = (EntityEventItemProjection.SeverityEnum)0)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityEventItemProjection.EventTypeEnum | eventType | eventType (required). |
| Guid | inboxId | inboxId. |
| Guid | phoneId | phoneId. |
| Guid | id | id (required). |
| EntityEventItemProjection.SeverityEnum | severity | severity (required). |
Properties
View SourceEventType
Gets or Sets EventType
Declaration
[DataMember(Name = "eventType", IsRequired = true, EmitDefaultValue = true)]
public EntityEventItemProjection.EventTypeEnum EventType { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityEventItemProjection.EventTypeEnum |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
InboxId
Gets or Sets InboxId
Declaration
[DataMember(Name = "inboxId", EmitDefaultValue = false)]
public Guid InboxId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
PhoneId
Gets or Sets PhoneId
Declaration
[DataMember(Name = "phoneId", EmitDefaultValue = false)]
public Guid PhoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Severity
Gets or Sets Severity
Declaration
[DataMember(Name = "severity", IsRequired = true, EmitDefaultValue = true)]
public EntityEventItemProjection.SeverityEnum Severity { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityEventItemProjection.SeverityEnum |
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 |