public class AndroidEasEmailProfileConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidEasEmailProfileConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
accountName |
protected EasAuthenticationMethod |
authenticationMethod |
protected String |
customDomainName |
protected EmailSyncDuration |
durationOfEmailToSync |
protected UserEmailSource |
emailAddressSource |
protected EmailSyncSchedule |
emailSyncSchedule |
protected String |
hostName |
protected Boolean |
requireSmime |
protected Boolean |
requireSsl |
protected Boolean |
syncCalendar |
protected Boolean |
syncContacts |
protected Boolean |
syncNotes |
protected Boolean |
syncTasks |
protected DomainNameSource |
userDomainNameSource |
protected AndroidUsernameSource |
usernameSource |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidEasEmailProfileConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidEasEmailProfileConfiguration.Builder |
builderAndroidEasEmailProfileConfiguration()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAccountName()
“Exchange ActiveSync account name, displayed to users as name of EAS (this)
profile.”
|
Optional<EasAuthenticationMethod> |
getAuthenticationMethod()
“Authentication method for Exchange ActiveSync.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getCustomDomainName()
“Custom domain name value used while generating an email profile before
installing on the device.”
|
Optional<EmailSyncDuration> |
getDurationOfEmailToSync()
“Duration of time email should be synced to.”
|
Optional<UserEmailSource> |
getEmailAddressSource()
“Email attribute that is picked from AAD and injected into this profile before
installing on the device.”
|
Optional<EmailSyncSchedule> |
getEmailSyncSchedule()
“Email sync schedule.”
|
Optional<String> |
getHostName()
“Exchange location (URL) that the native mail app connects to.”
|
AndroidCertificateProfileBaseRequest |
getIdentityCertificate()
“Identity certificate.”
|
Optional<Boolean> |
getRequireSmime()
“Indicates whether or not to use S/MIME certificate.”
|
Optional<Boolean> |
getRequireSsl()
“Indicates whether or not to use SSL.”
|
AndroidCertificateProfileBaseRequest |
getSmimeSigningCertificate()
“S/MIME signing certificate.”
|
Optional<Boolean> |
getSyncCalendar()
“Toggles syncing the calendar.
|
Optional<Boolean> |
getSyncContacts()
“Toggles syncing contacts.
|
Optional<Boolean> |
getSyncNotes()
“Toggles syncing notes.
|
Optional<Boolean> |
getSyncTasks()
“Toggles syncing tasks.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<DomainNameSource> |
getUserDomainNameSource()
“UserDomainname attribute that is picked from AAD and injected into this profile
before installing on the device.”
|
Optional<AndroidUsernameSource> |
getUsernameSource()
“Username attribute that is picked from AAD and injected into this profile before
installing on the device.”
|
String |
odataTypeName() |
AndroidEasEmailProfileConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidEasEmailProfileConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AndroidEasEmailProfileConfiguration |
withAccountName(String accountName)
Returns an immutable copy of
this with just the accountName
field changed. |
AndroidEasEmailProfileConfiguration |
withAuthenticationMethod(EasAuthenticationMethod authenticationMethod)
Returns an immutable copy of
this with just the authenticationMethod field changed. |
AndroidEasEmailProfileConfiguration |
withCustomDomainName(String customDomainName)
Returns an immutable copy of
this with just the customDomainName
field changed. |
AndroidEasEmailProfileConfiguration |
withDurationOfEmailToSync(EmailSyncDuration durationOfEmailToSync)
Returns an immutable copy of
this with just the durationOfEmailToSync field changed. |
AndroidEasEmailProfileConfiguration |
withEmailAddressSource(UserEmailSource emailAddressSource)
Returns an immutable copy of
this with just the emailAddressSource field changed. |
AndroidEasEmailProfileConfiguration |
withEmailSyncSchedule(EmailSyncSchedule emailSyncSchedule)
Returns an immutable copy of
this with just the emailSyncSchedule
field changed. |
AndroidEasEmailProfileConfiguration |
withHostName(String hostName)
Returns an immutable copy of
this with just the hostName field
changed. |
AndroidEasEmailProfileConfiguration |
withRequireSmime(Boolean requireSmime)
Returns an immutable copy of
this with just the requireSmime
field changed. |
AndroidEasEmailProfileConfiguration |
withRequireSsl(Boolean requireSsl)
Returns an immutable copy of
this with just the requireSsl field
changed. |
AndroidEasEmailProfileConfiguration |
withSyncCalendar(Boolean syncCalendar)
Returns an immutable copy of
this with just the syncCalendar
field changed. |
AndroidEasEmailProfileConfiguration |
withSyncContacts(Boolean syncContacts)
Returns an immutable copy of
this with just the syncContacts
field changed. |
AndroidEasEmailProfileConfiguration |
withSyncNotes(Boolean syncNotes)
Returns an immutable copy of
this with just the syncNotes field
changed. |
AndroidEasEmailProfileConfiguration |
withSyncTasks(Boolean syncTasks)
Returns an immutable copy of
this with just the syncTasks field
changed. |
AndroidEasEmailProfileConfiguration |
withUserDomainNameSource(DomainNameSource userDomainNameSource)
Returns an immutable copy of
this with just the userDomainNameSource field changed. |
AndroidEasEmailProfileConfiguration |
withUsernameSource(AndroidUsernameSource usernameSource)
Returns an immutable copy of
this with just the usernameSource
field changed. |
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withSupportsScopeTags, withVersionprotected String accountName
protected EasAuthenticationMethod authenticationMethod
protected Boolean syncCalendar
protected Boolean syncContacts
protected Boolean syncTasks
protected Boolean syncNotes
protected EmailSyncDuration durationOfEmailToSync
protected UserEmailSource emailAddressSource
protected EmailSyncSchedule emailSyncSchedule
protected String hostName
protected Boolean requireSmime
protected Boolean requireSsl
protected AndroidUsernameSource usernameSource
protected DomainNameSource userDomainNameSource
protected String customDomainName
protected AndroidEasEmailProfileConfiguration()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic static AndroidEasEmailProfileConfiguration.Builder builderAndroidEasEmailProfileConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceConfigurationpublic Optional<String> getAccountName()
public AndroidEasEmailProfileConfiguration withAccountName(String accountName)
this with just the accountName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Exchange ActiveSync account name, displayed to users as name of EAS (this) profile.”
accountName - new value of accountName field (as defined in service metadata)this with just the accountName field changedpublic Optional<EasAuthenticationMethod> getAuthenticationMethod()
public AndroidEasEmailProfileConfiguration withAuthenticationMethod(EasAuthenticationMethod authenticationMethod)
this with just the authenticationMethod field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Authentication method for Exchange ActiveSync.”
authenticationMethod - new value of authenticationMethod field (as defined in service metadata)this with just the authenticationMethod field changedpublic Optional<Boolean> getSyncCalendar()
public AndroidEasEmailProfileConfiguration withSyncCalendar(Boolean syncCalendar)
this with just the syncCalendar
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Toggles syncing the calendar. If set to false calendar is turned off on the device.”
syncCalendar - new value of syncCalendar field (as defined in service metadata)this with just the syncCalendar field changedpublic Optional<Boolean> getSyncContacts()
public AndroidEasEmailProfileConfiguration withSyncContacts(Boolean syncContacts)
this with just the syncContacts
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Toggles syncing contacts. If set to false contacts are turned off on the device.”
syncContacts - new value of syncContacts field (as defined in service metadata)this with just the syncContacts field changedpublic Optional<Boolean> getSyncTasks()
public AndroidEasEmailProfileConfiguration withSyncTasks(Boolean syncTasks)
this with just the syncTasks field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Toggles syncing tasks. If set to false tasks are turned off on the device.”
syncTasks - new value of syncTasks field (as defined in service metadata)this with just the syncTasks field changedpublic Optional<Boolean> getSyncNotes()
public AndroidEasEmailProfileConfiguration withSyncNotes(Boolean syncNotes)
this with just the syncNotes field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Toggles syncing notes. If set to false notes are turned off on the device.”
syncNotes - new value of syncNotes field (as defined in service metadata)this with just the syncNotes field changedpublic Optional<EmailSyncDuration> getDurationOfEmailToSync()
public AndroidEasEmailProfileConfiguration withDurationOfEmailToSync(EmailSyncDuration durationOfEmailToSync)
this with just the durationOfEmailToSync field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Duration of time email should be synced to.”
durationOfEmailToSync - new value of durationOfEmailToSync field (as defined in service metadata)this with just the durationOfEmailToSync field changedpublic Optional<UserEmailSource> getEmailAddressSource()
public AndroidEasEmailProfileConfiguration withEmailAddressSource(UserEmailSource emailAddressSource)
this with just the emailAddressSource field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Email attribute that is picked from AAD and injected into this profile before installing on the device.”
emailAddressSource - new value of emailAddressSource field (as defined in service metadata)this with just the emailAddressSource field changedpublic Optional<EmailSyncSchedule> getEmailSyncSchedule()
public AndroidEasEmailProfileConfiguration withEmailSyncSchedule(EmailSyncSchedule emailSyncSchedule)
this with just the emailSyncSchedule
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Email sync schedule.”
emailSyncSchedule - new value of emailSyncSchedule field (as defined in service metadata)this with just the emailSyncSchedule field changedpublic Optional<String> getHostName()
public AndroidEasEmailProfileConfiguration withHostName(String hostName)
this with just the hostName field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Exchange location (URL) that the native mail app connects to.”
hostName - new value of hostName field (as defined in service metadata)this with just the hostName field changedpublic Optional<Boolean> getRequireSmime()
public AndroidEasEmailProfileConfiguration withRequireSmime(Boolean requireSmime)
this with just the requireSmime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates whether or not to use S/MIME certificate.”
requireSmime - new value of requireSmime field (as defined in service metadata)this with just the requireSmime field changedpublic Optional<Boolean> getRequireSsl()
public AndroidEasEmailProfileConfiguration withRequireSsl(Boolean requireSsl)
this with just the requireSsl field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Indicates whether or not to use SSL.”
requireSsl - new value of requireSsl field (as defined in service metadata)this with just the requireSsl field changedpublic Optional<AndroidUsernameSource> getUsernameSource()
public AndroidEasEmailProfileConfiguration withUsernameSource(AndroidUsernameSource usernameSource)
this with just the usernameSource
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Username attribute that is picked from AAD and injected into this profile before installing on the device.”
usernameSource - new value of usernameSource field (as defined in service metadata)this with just the usernameSource field changedpublic Optional<DomainNameSource> getUserDomainNameSource()
public AndroidEasEmailProfileConfiguration withUserDomainNameSource(DomainNameSource userDomainNameSource)
this with just the userDomainNameSource field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device.”
userDomainNameSource - new value of userDomainNameSource field (as defined in service metadata)this with just the userDomainNameSource field changedpublic Optional<String> getCustomDomainName()
public AndroidEasEmailProfileConfiguration withCustomDomainName(String customDomainName)
this with just the customDomainName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Custom domain name value used while generating an email profile before installing on the device.”
customDomainName - new value of customDomainName field (as defined in service metadata)this with just the customDomainName field changedpublic AndroidCertificateProfileBaseRequest getIdentityCertificate()
public AndroidCertificateProfileBaseRequest getSmimeSigningCertificate()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic AndroidEasEmailProfileConfiguration patch()
this with changed fields reset.patch in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic AndroidEasEmailProfileConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceConfigurationCopyright © 2018–2020. All rights reserved.