ConnectorDto constructor

ConnectorDto({
  1. required String id,
  2. required String userId,
  3. required ConnectorDtoConnectorTypeEnum connectorType,
  4. required ConnectorDtoConnectorAuthTypeEnum connectorAuthType,
  5. required bool syncEnabled,
  6. required ConnectorDtoSyncScheduleTypeEnum syncScheduleType,
  7. int? syncInterval,
  8. String? imapHost,
  9. int? imapPort,
  10. String? imapUsername,
  11. String? imapPassword,
  12. bool? imapSsl,
  13. required DateTime createdAt,
})

Returns a new ConnectorDto instance.

Implementation

ConnectorDto({
  required this.id,
  required this.userId,
  required this.connectorType,
  required this.connectorAuthType,
  required this.syncEnabled,
  required this.syncScheduleType,
  this.syncInterval,
  this.imapHost,
  this.imapPort,
  this.imapUsername,
  this.imapPassword,
  this.imapSsl,
  required this.createdAt,
});