Class ConnectorDto
ConnectorDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ConnectorDto")]
public class ConnectorDto : IValidatableObject
Constructors
View SourceConnectorDto()
Initializes a new instance of the ConnectorDto class.
Declaration
[JsonConstructor]
protected ConnectorDto()
ConnectorDto(Guid, string, bool, string, Guid, Guid, DateTime)
Initializes a new instance of the ConnectorDto class.
Declaration
public ConnectorDto(Guid id = default, string name = null, bool enabled = false, string emailAddress = null, Guid userId = default, Guid inboxId = default, DateTime createdAt = default)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | id (required). |
string | name | name. |
bool | enabled | enabled (required). |
string | emailAddress | emailAddress. |
Guid | userId | userId (required). |
Guid | inboxId | inboxId (required). |
DateTime | createdAt | createdAt (required). |
Properties
View SourceCreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
EmailAddress
Gets or Sets EmailAddress
Declaration
[DataMember(Name = "emailAddress", EmitDefaultValue = true)]
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
Gets or Sets Enabled
Declaration
[DataMember(Name = "enabled", IsRequired = true, EmitDefaultValue = true)]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
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", IsRequired = true, EmitDefaultValue = true)]
public Guid InboxId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
public Guid UserId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
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 |