Class ConnectorSyncSettingsDto
ConnectorSyncSettingsDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ConnectorSyncSettingsDto")]
public class ConnectorSyncSettingsDto : IValidatableObject
Constructors
View SourceConnectorSyncSettingsDto()
Initializes a new instance of the ConnectorSyncSettingsDto class.
Declaration
[JsonConstructor]
protected ConnectorSyncSettingsDto()
ConnectorSyncSettingsDto(Guid, Guid, Guid, bool, SyncScheduleTypeEnum?, int?)
Initializes a new instance of the ConnectorSyncSettingsDto class.
Declaration
public ConnectorSyncSettingsDto(Guid id = default, Guid userId = default, Guid connectorId = default, bool syncEnabled = false, ConnectorSyncSettingsDto.SyncScheduleTypeEnum? syncScheduleType = null, int? syncInterval = null)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | id (required). |
Guid | userId | userId (required). |
Guid | connectorId | connectorId (required). |
bool | syncEnabled | syncEnabled (required). |
ConnectorSyncSettingsDto.SyncScheduleTypeEnum? | syncScheduleType | syncScheduleType. |
int? | syncInterval | syncInterval. |
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 |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
SyncEnabled
Gets or Sets SyncEnabled
Declaration
[DataMember(Name = "syncEnabled", IsRequired = true, EmitDefaultValue = true)]
public bool SyncEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
SyncInterval
Gets or Sets SyncInterval
Declaration
[DataMember(Name = "syncInterval", EmitDefaultValue = true)]
public int? SyncInterval { get; set; }
Property Value
Type | Description |
---|---|
int? |
SyncScheduleType
Gets or Sets SyncScheduleType
Declaration
[DataMember(Name = "syncScheduleType", EmitDefaultValue = true)]
public ConnectorSyncSettingsDto.SyncScheduleTypeEnum? SyncScheduleType { get; set; }
Property Value
Type | Description |
---|---|
ConnectorSyncSettingsDto.SyncScheduleTypeEnum? |
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 |