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