@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateConnectorOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateConnectorOptions.ConnectorAuthTypeEnum
Gets or Sets connectorAuthType
|
static class |
CreateConnectorOptions.ConnectorTypeEnum
Gets or Sets connectorType
|
static class |
CreateConnectorOptions.CustomTypeAdapterFactory |
static class |
CreateConnectorOptions.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_IMAP_SETTINGS |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_SYNC_ENABLED |
static String |
SERIALIZED_NAME_SYNC_INTERVAL |
static String |
SERIALIZED_NAME_SYNC_SCHEDULE_TYPE |
Constructor and Description |
---|
CreateConnectorOptions() |
public static final String SERIALIZED_NAME_CONNECTOR_TYPE
public static final String SERIALIZED_NAME_CONNECTOR_AUTH_TYPE
public static final String SERIALIZED_NAME_IMAP_SETTINGS
public static final String SERIALIZED_NAME_INBOX_ID
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 CreateConnectorOptions connectorType(CreateConnectorOptions.ConnectorTypeEnum connectorType)
@Nonnull public CreateConnectorOptions.ConnectorTypeEnum getConnectorType()
public void setConnectorType(CreateConnectorOptions.ConnectorTypeEnum connectorType)
public CreateConnectorOptions connectorAuthType(CreateConnectorOptions.ConnectorAuthTypeEnum connectorAuthType)
@Nonnull public CreateConnectorOptions.ConnectorAuthTypeEnum getConnectorAuthType()
public void setConnectorAuthType(CreateConnectorOptions.ConnectorAuthTypeEnum connectorAuthType)
public CreateConnectorOptions imapSettings(CreateConnectorImapOptions imapSettings)
@Nullable public CreateConnectorImapOptions getImapSettings()
public void setImapSettings(CreateConnectorImapOptions imapSettings)
public CreateConnectorOptions inboxId(UUID inboxId)
public void setInboxId(UUID inboxId)
public CreateConnectorOptions syncEnabled(Boolean syncEnabled)
public void setSyncEnabled(Boolean syncEnabled)
public CreateConnectorOptions syncScheduleType(CreateConnectorOptions.SyncScheduleTypeEnum syncScheduleType)
@Nonnull public CreateConnectorOptions.SyncScheduleTypeEnum getSyncScheduleType()
public void setSyncScheduleType(CreateConnectorOptions.SyncScheduleTypeEnum syncScheduleType)
public CreateConnectorOptions syncInterval(Integer syncInterval)
public void setSyncInterval(Integer syncInterval)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateConnectorOptionspublic static CreateConnectorOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateConnectorOptionspublic String toJson()
Copyright © 2023. All rights reserved.