public class AndroidForWorkEnrollmentProfile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidForWorkEnrollmentProfile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
accountId |
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected Integer |
enrolledDeviceCount |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
qrCodeContent |
protected MimeContent |
qrCodeImage |
protected OffsetDateTime |
tokenExpirationDateTime |
protected String |
tokenValue |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidForWorkEnrollmentProfile() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidForWorkEnrollmentProfile.Builder |
builderAndroidForWorkEnrollmentProfile()
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<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.”
|
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() |
AndroidForWorkEnrollmentProfile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidForWorkEnrollmentProfile |
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() |
AndroidForWorkEnrollmentProfile |
withAccountId(String accountId)
Returns an immutable copy of
this with just the accountId field
changed. |
AndroidForWorkEnrollmentProfile |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
AndroidForWorkEnrollmentProfile |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
AndroidForWorkEnrollmentProfile |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
AndroidForWorkEnrollmentProfile |
withEnrolledDeviceCount(Integer enrolledDeviceCount)
Returns an immutable copy of
this with just the enrolledDeviceCount field changed. |
AndroidForWorkEnrollmentProfile |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
AndroidForWorkEnrollmentProfile |
withQrCodeContent(String qrCodeContent)
Returns an immutable copy of
this with just the qrCodeContent
field changed. |
AndroidForWorkEnrollmentProfile |
withQrCodeImage(MimeContent qrCodeImage)
Returns an immutable copy of
this with just the qrCodeImage
field changed. |
AndroidForWorkEnrollmentProfile |
withTokenExpirationDateTime(OffsetDateTime tokenExpirationDateTime)
Returns an immutable copy of
this with just the tokenExpirationDateTime field changed. |
AndroidForWorkEnrollmentProfile |
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 OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected String tokenValue
protected OffsetDateTime tokenExpirationDateTime
protected Integer enrolledDeviceCount
protected String qrCodeContent
protected MimeContent qrCodeImage
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AndroidForWorkEnrollmentProfile.Builder builderAndroidForWorkEnrollmentProfile()
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 AndroidForWorkEnrollmentProfile 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 AndroidForWorkEnrollmentProfile 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 AndroidForWorkEnrollmentProfile 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<OffsetDateTime> getCreatedDateTime()
public AndroidForWorkEnrollmentProfile 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 AndroidForWorkEnrollmentProfile 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 AndroidForWorkEnrollmentProfile 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> getTokenExpirationDateTime()
public AndroidForWorkEnrollmentProfile 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 AndroidForWorkEnrollmentProfile 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 AndroidForWorkEnrollmentProfile 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 AndroidForWorkEnrollmentProfile 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.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AndroidForWorkEnrollmentProfile patch()
this with changed fields reset.public AndroidForWorkEnrollmentProfile 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.