Class ConnectorEventProjection
ConnectorEventProjection
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ConnectorEventProjection")]
public class ConnectorEventProjection : IValidatableObject
Constructors
View SourceConnectorEventProjection()
Initializes a new instance of the ConnectorEventProjection class.
Declaration
[JsonConstructor]
protected ConnectorEventProjection()
ConnectorEventProjection(EventTypeEnum, DateTime, Guid, bool, string, Guid, long, StatusEnum)
Initializes a new instance of the ConnectorEventProjection class.
Declaration
public ConnectorEventProjection(ConnectorEventProjection.EventTypeEnum eventType = (ConnectorEventProjection.EventTypeEnum)0, DateTime createdAt = default, Guid connectorId = default, bool seen = false, string message = null, Guid id = default, long size = 0, ConnectorEventProjection.StatusEnum status = (ConnectorEventProjection.StatusEnum)0)
Parameters
Type | Name | Description |
---|---|---|
ConnectorEventProjection.EventTypeEnum | eventType | eventType (required). |
DateTime | createdAt | createdAt (required). |
Guid | connectorId | connectorId (required). |
bool | seen | seen. |
string | message | message. |
Guid | id | id. |
long | size | size (required). |
ConnectorEventProjection.StatusEnum | status | status (required). |
Properties
View SourceConnectorId
Gets or Sets ConnectorId
Declaration
[DataMember(Name = "connectorId", IsRequired = true, EmitDefaultValue = true)]
public Guid ConnectorId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
EventType
Gets or Sets EventType
Declaration
[DataMember(Name = "eventType", IsRequired = true, EmitDefaultValue = true)]
public ConnectorEventProjection.EventTypeEnum EventType { get; set; }
Property Value
Type | Description |
---|---|
ConnectorEventProjection.EventTypeEnum |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Message
Gets or Sets Message
Declaration
[DataMember(Name = "message", EmitDefaultValue = false)]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Seen
Gets or Sets Seen
Declaration
[DataMember(Name = "seen", EmitDefaultValue = true)]
public bool Seen { get; set; }
Property Value
Type | Description |
---|---|
bool |
Size
Gets or Sets Size
Declaration
[DataMember(Name = "size", IsRequired = true, EmitDefaultValue = true)]
public long Size { get; set; }
Property Value
Type | Description |
---|---|
long |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public ConnectorEventProjection.StatusEnum Status { get; set; }
Property Value
Type | Description |
---|---|
ConnectorEventProjection.StatusEnum |
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 |