public class AndroidDeviceOwnerEnrollmentProfile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidDeviceOwnerEnrollmentProfile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
accountId |
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected Integer |
enrolledDeviceCount |
protected AndroidDeviceOwnerEnrollmentMode |
enrollmentMode |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
qrCodeContent |
protected MimeContent |
qrCodeImage |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
protected OffsetDateTime |
tokenCreationDateTime |
protected OffsetDateTime |
tokenExpirationDateTime |
protected String |
tokenValue |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidDeviceOwnerEnrollmentProfile() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidDeviceOwnerEnrollmentProfile.Builder |
builderAndroidDeviceOwnerEnrollmentProfile()
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 |
createToken(Integer tokenValidityInSeconds) |
Optional<String> |
getAccountId()
“Tenant GUID the enrollment profile belongs to.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“Date time the enrollment profile was created.”
|
Optional<String> |
getDescription()
“Description for the enrollment profile.”
|
Optional<String> |
getDisplayName()
“Display name for the enrollment profile.”
|
Optional<Integer> |
getEnrolledDeviceCount()
“Total number of Android devices that have enrolled using this enrollment profile
.”
|
Optional<AndroidDeviceOwnerEnrollmentMode> |
getEnrollmentMode()
“The enrollment mode of devices that use this enrollment profile.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“Date time the enrollment profile was last modified.”
|
Optional<String> |
getQrCodeContent()
“String used to generate a QR code for the token.”
|
Optional<MimeContent> |
getQrCodeImage()
“String used to generate a QR code for the token.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Entity instance.”
|
Optional<OffsetDateTime> |
getTokenCreationDateTime()
“Date time the most recently created token was created.”
|
Optional<OffsetDateTime> |
getTokenExpirationDateTime()
“Date time the most recently created token will expire.”
|
Optional<String> |
getTokenValue()
“Value of the most recently created token for this enrollment profile.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AndroidDeviceOwnerEnrollmentProfile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidDeviceOwnerEnrollmentProfile |
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.ActionRequestNoReturn |
revokeToken() |
String |
toString() |
AndroidDeviceOwnerEnrollmentProfile |
withAccountId(String accountId)
Returns an immutable copy of
this with just the accountId field
changed. |
AndroidDeviceOwnerEnrollmentProfile |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withEnrolledDeviceCount(Integer enrolledDeviceCount)
Returns an immutable copy of
this with just the enrolledDeviceCount field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withEnrollmentMode(AndroidDeviceOwnerEnrollmentMode enrollmentMode)
Returns an immutable copy of
this with just the enrollmentMode
field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withQrCodeContent(String qrCodeContent)
Returns an immutable copy of
this with just the qrCodeContent
field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withQrCodeImage(MimeContent qrCodeImage)
Returns an immutable copy of
this with just the qrCodeImage
field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withTokenCreationDateTime(OffsetDateTime tokenCreationDateTime)
Returns an immutable copy of
this with just the tokenCreationDateTime field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withTokenExpirationDateTime(OffsetDateTime tokenExpirationDateTime)
Returns an immutable copy of
this with just the tokenExpirationDateTime field changed. |
AndroidDeviceOwnerEnrollmentProfile |
withTokenValue(String tokenValue)
Returns an immutable copy of
this with just the tokenValue field
changed. |
protected String accountId
protected String displayName
protected String description
protected AndroidDeviceOwnerEnrollmentMode enrollmentMode
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected String tokenValue
protected OffsetDateTime tokenCreationDateTime
protected OffsetDateTime tokenExpirationDateTime
protected Integer enrolledDeviceCount
protected String qrCodeContent
protected MimeContent qrCodeImage
protected String roleScopeTagIdsNextLink
protected AndroidDeviceOwnerEnrollmentProfile()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AndroidDeviceOwnerEnrollmentProfile.Builder builderAndroidDeviceOwnerEnrollmentProfile()
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<String> getAccountId()
public AndroidDeviceOwnerEnrollmentProfile withAccountId(String accountId)
this with just the accountId 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.
“Tenant GUID the enrollment profile belongs to.”
accountId - new value of accountId field (as defined in service metadata)this with just the accountId field changedpublic Optional<String> getDisplayName()
public AndroidDeviceOwnerEnrollmentProfile withDisplayName(String displayName)
this with just the displayName
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.
“Display name for the enrollment profile.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public AndroidDeviceOwnerEnrollmentProfile withDescription(String description)
this with just the description
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.
“Description for the enrollment profile.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<AndroidDeviceOwnerEnrollmentMode> getEnrollmentMode()
public AndroidDeviceOwnerEnrollmentProfile withEnrollmentMode(AndroidDeviceOwnerEnrollmentMode enrollmentMode)
this with just the enrollmentMode
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.
“The enrollment mode of devices that use this enrollment profile.”
enrollmentMode - new value of enrollmentMode field (as defined in service metadata)this with just the enrollmentMode field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public AndroidDeviceOwnerEnrollmentProfile withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
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.
“Date time the enrollment profile was created.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public AndroidDeviceOwnerEnrollmentProfile 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.
“Date time the enrollment profile was last modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<String> getTokenValue()
public AndroidDeviceOwnerEnrollmentProfile withTokenValue(String tokenValue)
this with just the tokenValue 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.
“Value of the most recently created token for this enrollment profile.”
tokenValue - new value of tokenValue field (as defined in service metadata)this with just the tokenValue field changedpublic Optional<OffsetDateTime> getTokenCreationDateTime()
public AndroidDeviceOwnerEnrollmentProfile withTokenCreationDateTime(OffsetDateTime tokenCreationDateTime)
this with just the tokenCreationDateTime 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.
“Date time the most recently created token was created.”
tokenCreationDateTime - new value of tokenCreationDateTime field (as defined in service metadata)this with just the tokenCreationDateTime field changedpublic Optional<OffsetDateTime> getTokenExpirationDateTime()
public AndroidDeviceOwnerEnrollmentProfile withTokenExpirationDateTime(OffsetDateTime tokenExpirationDateTime)
this with just the tokenExpirationDateTime 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.
“Date time the most recently created token will expire.”
tokenExpirationDateTime - new value of tokenExpirationDateTime field (as defined in service metadata)this with just the tokenExpirationDateTime field changedpublic Optional<Integer> getEnrolledDeviceCount()
public AndroidDeviceOwnerEnrollmentProfile withEnrolledDeviceCount(Integer enrolledDeviceCount)
this with just the enrolledDeviceCount 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.
“Total number of Android devices that have enrolled using this enrollment profile .”
enrolledDeviceCount - new value of enrolledDeviceCount field (as defined in service metadata)this with just the enrolledDeviceCount field changedpublic Optional<String> getQrCodeContent()
public AndroidDeviceOwnerEnrollmentProfile withQrCodeContent(String qrCodeContent)
this with just the qrCodeContent
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.
“String used to generate a QR code for the token.”
qrCodeContent - new value of qrCodeContent field (as defined in service metadata)this with just the qrCodeContent field changedpublic Optional<MimeContent> getQrCodeImage()
public AndroidDeviceOwnerEnrollmentProfile withQrCodeImage(MimeContent qrCodeImage)
this with just the qrCodeImage
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.
“String used to generate a QR code for the token.”
qrCodeImage - new value of qrCodeImage field (as defined in service metadata)this with just the qrCodeImage field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AndroidDeviceOwnerEnrollmentProfile patch()
this with changed fields reset.public AndroidDeviceOwnerEnrollmentProfile put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn revokeToken()
public com.github.davidmoten.odata.client.ActionRequestNoReturn createToken(Integer tokenValidityInSeconds)
Copyright © 2018–2020. All rights reserved.