Class CreateConnectorSyncSettingsOptions
Options for creating automatic syncing between an inbox connection and an external mail provider
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateConnectorSyncSettingsOptions")]
public class CreateConnectorSyncSettingsOptions : IValidatableObject
Constructors
View SourceCreateConnectorSyncSettingsOptions(bool?, SyncScheduleTypeEnum?, int?)
Initializes a new instance of the CreateConnectorSyncSettingsOptions class.
Declaration
public CreateConnectorSyncSettingsOptions(bool? syncEnabled = null, CreateConnectorSyncSettingsOptions.SyncScheduleTypeEnum? syncScheduleType = null, int? syncInterval = null)
Parameters
Type | Name | Description |
---|---|---|
bool? | syncEnabled | Enable automatic background sync. |
CreateConnectorSyncSettingsOptions.SyncScheduleTypeEnum? | syncScheduleType | Sync schedule type. |
int? | syncInterval | Sync interval in minutes. |
Properties
View SourceSyncEnabled
Enable automatic background sync
Declaration
[DataMember(Name = "syncEnabled", EmitDefaultValue = true)]
public bool? SyncEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Enable automatic background sync |
SyncInterval
Sync interval in minutes
Declaration
[DataMember(Name = "syncInterval", EmitDefaultValue = true)]
public int? SyncInterval { get; set; }
Property Value
Type | Description |
---|---|
int? | Sync interval in minutes |
SyncScheduleType
Sync schedule type
Declaration
[DataMember(Name = "syncScheduleType", EmitDefaultValue = true)]
public CreateConnectorSyncSettingsOptions.SyncScheduleTypeEnum? SyncScheduleType { get; set; }
Property Value
Type | Description |
---|---|
CreateConnectorSyncSettingsOptions.SyncScheduleTypeEnum? | Sync schedule type |
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 |