public class AndroidForWorkSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidForWorkSettings.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected AndroidForWorkBindStatus |
bindStatus |
protected Boolean |
deviceOwnerManagementEnabled |
protected AndroidForWorkEnrollmentTarget |
enrollmentTarget |
protected OffsetDateTime |
lastAppSyncDateTime |
protected AndroidForWorkSyncStatus |
lastAppSyncStatus |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
ownerOrganizationName |
protected String |
ownerUserPrincipalName |
protected List<String> |
targetGroupIds |
protected String |
targetGroupIdsNextLink |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidForWorkSettings() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidForWorkSettings.Builder |
builderAndroidForWorkSettings()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
completeSignup(String enterpriseToken) |
Optional<AndroidForWorkBindStatus> |
getBindStatus()
“Bind status of the tenant with the Google EMM API”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getDeviceOwnerManagementEnabled()
“Indicates if this account is flighting for Android Device Owner Management with
CloudDPC.”
|
Optional<AndroidForWorkEnrollmentTarget> |
getEnrollmentTarget()
“Indicates which users can enroll devices in Android for Work device management”
|
Optional<OffsetDateTime> |
getLastAppSyncDateTime()
“Last completion time for app sync”
|
Optional<AndroidForWorkSyncStatus> |
getLastAppSyncStatus()
“Last application sync result”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“Last modification time for Android for Work settings”
|
Optional<String> |
getOwnerOrganizationName()
“Organization name used when onboarding Android for Work”
|
Optional<String> |
getOwnerUserPrincipalName()
“Owner UPN that created the enterprise”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getTargetGroupIds()
“Specifies which AAD groups can enroll devices in Android for Work device
management if enrollmentTarget is set to 'Targeted'”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AndroidForWorkSettings |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidForWorkSettings |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> |
requestSignupUrl(String hostName) |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
syncApps() |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
unbind() |
AndroidForWorkSettings |
withBindStatus(AndroidForWorkBindStatus bindStatus)
Returns an immutable copy of
this with just the bindStatus field
changed. |
AndroidForWorkSettings |
withDeviceOwnerManagementEnabled(Boolean deviceOwnerManagementEnabled)
Returns an immutable copy of
this with just the deviceOwnerManagementEnabled field changed. |
AndroidForWorkSettings |
withEnrollmentTarget(AndroidForWorkEnrollmentTarget enrollmentTarget)
Returns an immutable copy of
this with just the enrollmentTarget
field changed. |
AndroidForWorkSettings |
withLastAppSyncDateTime(OffsetDateTime lastAppSyncDateTime)
Returns an immutable copy of
this with just the lastAppSyncDateTime field changed. |
AndroidForWorkSettings |
withLastAppSyncStatus(AndroidForWorkSyncStatus lastAppSyncStatus)
Returns an immutable copy of
this with just the lastAppSyncStatus
field changed. |
AndroidForWorkSettings |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
AndroidForWorkSettings |
withOwnerOrganizationName(String ownerOrganizationName)
Returns an immutable copy of
this with just the ownerOrganizationName field changed. |
AndroidForWorkSettings |
withOwnerUserPrincipalName(String ownerUserPrincipalName)
Returns an immutable copy of
this with just the ownerUserPrincipalName field changed. |
protected AndroidForWorkBindStatus bindStatus
protected OffsetDateTime lastAppSyncDateTime
protected AndroidForWorkSyncStatus lastAppSyncStatus
protected String ownerUserPrincipalName
protected String ownerOrganizationName
protected OffsetDateTime lastModifiedDateTime
protected AndroidForWorkEnrollmentTarget enrollmentTarget
protected String targetGroupIdsNextLink
protected Boolean deviceOwnerManagementEnabled
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AndroidForWorkSettings.Builder builderAndroidForWorkSettings()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<AndroidForWorkBindStatus> getBindStatus()
public AndroidForWorkSettings withBindStatus(AndroidForWorkBindStatus bindStatus)
this with just the bindStatus 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.
“Bind status of the tenant with the Google EMM API”
bindStatus - new value of bindStatus field (as defined in service metadata)this with just the bindStatus field changedpublic Optional<OffsetDateTime> getLastAppSyncDateTime()
public AndroidForWorkSettings withLastAppSyncDateTime(OffsetDateTime lastAppSyncDateTime)
this with just the lastAppSyncDateTime 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.
“Last completion time for app sync”
lastAppSyncDateTime - new value of lastAppSyncDateTime field (as defined in service metadata)this with just the lastAppSyncDateTime field changedpublic Optional<AndroidForWorkSyncStatus> getLastAppSyncStatus()
public AndroidForWorkSettings withLastAppSyncStatus(AndroidForWorkSyncStatus lastAppSyncStatus)
this with just the lastAppSyncStatus
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.
“Last application sync result”
lastAppSyncStatus - new value of lastAppSyncStatus field (as defined in service metadata)this with just the lastAppSyncStatus field changedpublic Optional<String> getOwnerUserPrincipalName()
public AndroidForWorkSettings withOwnerUserPrincipalName(String ownerUserPrincipalName)
this with just the ownerUserPrincipalName 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.
“Owner UPN that created the enterprise”
ownerUserPrincipalName - new value of ownerUserPrincipalName field (as defined in service metadata)this with just the ownerUserPrincipalName field changedpublic Optional<String> getOwnerOrganizationName()
public AndroidForWorkSettings withOwnerOrganizationName(String ownerOrganizationName)
this with just the ownerOrganizationName 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.
“Organization name used when onboarding Android for Work”
ownerOrganizationName - new value of ownerOrganizationName field (as defined in service metadata)this with just the ownerOrganizationName field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public AndroidForWorkSettings withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime 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.
“Last modification time for Android for Work settings”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<AndroidForWorkEnrollmentTarget> getEnrollmentTarget()
public AndroidForWorkSettings withEnrollmentTarget(AndroidForWorkEnrollmentTarget enrollmentTarget)
this with just the enrollmentTarget
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 which users can enroll devices in Android for Work device management”
enrollmentTarget - new value of enrollmentTarget field (as defined in service metadata)this with just the enrollmentTarget field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getTargetGroupIds()
public Optional<Boolean> getDeviceOwnerManagementEnabled()
public AndroidForWorkSettings withDeviceOwnerManagementEnabled(Boolean deviceOwnerManagementEnabled)
this with just the deviceOwnerManagementEnabled 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 if this account is flighting for Android Device Owner Management with CloudDPC.”
deviceOwnerManagementEnabled - new value of deviceOwnerManagementEnabled field (as defined in service metadata)this with just the deviceOwnerManagementEnabled field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AndroidForWorkSettings patch()
this with changed fields reset.public AndroidForWorkSettings put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> requestSignupUrl(String hostName)
public com.github.davidmoten.odata.client.ActionRequestNoReturn completeSignup(String enterpriseToken)
public com.github.davidmoten.odata.client.ActionRequestNoReturn syncApps()
public com.github.davidmoten.odata.client.ActionRequestNoReturn unbind()
Copyright © 2018–2020. All rights reserved.