@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ConnectorDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectorDto.ConnectorAuthTypeEnum
Gets or Sets connectorAuthType
|
static class |
ConnectorDto.ConnectorTypeEnum
Gets or Sets connectorType
|
static class |
ConnectorDto.CustomTypeAdapterFactory |
static class |
ConnectorDto.SyncScheduleTypeEnum
Gets or Sets syncScheduleType
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONNECTOR_AUTH_TYPE |
static String |
SERIALIZED_NAME_CONNECTOR_TYPE |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_IMAP_HOST |
static String |
SERIALIZED_NAME_IMAP_PASSWORD |
static String |
SERIALIZED_NAME_IMAP_PORT |
static String |
SERIALIZED_NAME_IMAP_SSL |
static String |
SERIALIZED_NAME_IMAP_USERNAME |
static String |
SERIALIZED_NAME_SYNC_ENABLED |
static String |
SERIALIZED_NAME_SYNC_INTERVAL |
static String |
SERIALIZED_NAME_SYNC_SCHEDULE_TYPE |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
ConnectorDto() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_CONNECTOR_TYPE
public static final String SERIALIZED_NAME_CONNECTOR_AUTH_TYPE
public static final String SERIALIZED_NAME_SYNC_ENABLED
public static final String SERIALIZED_NAME_SYNC_SCHEDULE_TYPE
public static final String SERIALIZED_NAME_SYNC_INTERVAL
public static final String SERIALIZED_NAME_IMAP_HOST
public static final String SERIALIZED_NAME_IMAP_PORT
public static final String SERIALIZED_NAME_IMAP_USERNAME
public static final String SERIALIZED_NAME_IMAP_PASSWORD
public static final String SERIALIZED_NAME_IMAP_SSL
public static final String SERIALIZED_NAME_CREATED_AT
public ConnectorDto id(UUID id)
public void setId(UUID id)
public ConnectorDto userId(UUID userId)
public void setUserId(UUID userId)
public ConnectorDto connectorType(ConnectorDto.ConnectorTypeEnum connectorType)
@Nonnull public ConnectorDto.ConnectorTypeEnum getConnectorType()
public void setConnectorType(ConnectorDto.ConnectorTypeEnum connectorType)
public ConnectorDto connectorAuthType(ConnectorDto.ConnectorAuthTypeEnum connectorAuthType)
@Nonnull public ConnectorDto.ConnectorAuthTypeEnum getConnectorAuthType()
public void setConnectorAuthType(ConnectorDto.ConnectorAuthTypeEnum connectorAuthType)
public ConnectorDto syncEnabled(Boolean syncEnabled)
public void setSyncEnabled(Boolean syncEnabled)
public ConnectorDto syncScheduleType(ConnectorDto.SyncScheduleTypeEnum syncScheduleType)
@Nonnull public ConnectorDto.SyncScheduleTypeEnum getSyncScheduleType()
public void setSyncScheduleType(ConnectorDto.SyncScheduleTypeEnum syncScheduleType)
public ConnectorDto syncInterval(Integer syncInterval)
public void setSyncInterval(Integer syncInterval)
public ConnectorDto imapHost(String imapHost)
public void setImapHost(String imapHost)
public ConnectorDto imapPort(Integer imapPort)
public void setImapPort(Integer imapPort)
public ConnectorDto imapUsername(String imapUsername)
public void setImapUsername(String imapUsername)
public ConnectorDto imapPassword(String imapPassword)
public void setImapPassword(String imapPassword)
public ConnectorDto imapSsl(Boolean imapSsl)
public void setImapSsl(Boolean imapSsl)
public ConnectorDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to ConnectorDtopublic static ConnectorDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ConnectorDtopublic String toJson()
Copyright © 2023. All rights reserved.