public class AndroidForWorkEasEmailProfileBase extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected EasAuthenticationMethod |
authenticationMethod |
protected EmailSyncDuration |
durationOfEmailToSync |
protected UserEmailSource |
emailAddressSource |
protected String |
hostName |
protected Boolean |
requireSsl |
protected AndroidUsernameSource |
usernameSource |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidForWorkEasEmailProfileBase() |
| Modifier and Type | Method and Description |
|---|---|
Optional<EasAuthenticationMethod> |
getAuthenticationMethod()
“Authentication method for Exchange ActiveSync.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
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<String> |
getHostName()
“Exchange location (URL) that the mail app connects to.”
|
AndroidForWorkCertificateProfileBaseRequest |
getIdentityCertificate()
“Identity certificate.”
|
Optional<Boolean> |
getRequireSsl()
“Indicates whether or not to use SSL.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<AndroidUsernameSource> |
getUsernameSource()
“Username attribute that is picked from AAD and injected into this profile before
installing on the device.”
|
String |
odataTypeName() |
AndroidForWorkEasEmailProfileBase |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidForWorkEasEmailProfileBase |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AndroidForWorkEasEmailProfileBase |
withAuthenticationMethod(EasAuthenticationMethod authenticationMethod)
Returns an immutable copy of
this with just the authenticationMethod field changed. |
AndroidForWorkEasEmailProfileBase |
withDurationOfEmailToSync(EmailSyncDuration durationOfEmailToSync)
Returns an immutable copy of
this with just the durationOfEmailToSync field changed. |
AndroidForWorkEasEmailProfileBase |
withEmailAddressSource(UserEmailSource emailAddressSource)
Returns an immutable copy of
this with just the emailAddressSource field changed. |
AndroidForWorkEasEmailProfileBase |
withHostName(String hostName)
Returns an immutable copy of
this with just the hostName field
changed. |
AndroidForWorkEasEmailProfileBase |
withRequireSsl(Boolean requireSsl)
Returns an immutable copy of
this with just the requireSsl field
changed. |
AndroidForWorkEasEmailProfileBase |
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, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withSupportsScopeTags, withVersionprotected EasAuthenticationMethod authenticationMethod
protected EmailSyncDuration durationOfEmailToSync
protected UserEmailSource emailAddressSource
protected String hostName
protected Boolean requireSsl
protected AndroidUsernameSource usernameSource
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic 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<EasAuthenticationMethod> getAuthenticationMethod()
public AndroidForWorkEasEmailProfileBase 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<EmailSyncDuration> getDurationOfEmailToSync()
public AndroidForWorkEasEmailProfileBase 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 AndroidForWorkEasEmailProfileBase 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<String> getHostName()
public AndroidForWorkEasEmailProfileBase 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 mail app connects to.”
hostName - new value of hostName field (as defined in service metadata)this with just the hostName field changedpublic Optional<Boolean> getRequireSsl()
public AndroidForWorkEasEmailProfileBase 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 AndroidForWorkEasEmailProfileBase 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 AndroidForWorkCertificateProfileBaseRequest getIdentityCertificate()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic AndroidForWorkEasEmailProfileBase 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 AndroidForWorkEasEmailProfileBase 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.