public class VppToken extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
VppToken.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
appleId |
protected Boolean |
automaticallyUpdateApps |
protected Boolean |
claimTokenManagementFromExternalMdm |
protected String |
countryOrRegion |
protected Boolean |
dataSharingConsentGranted |
protected String |
displayName |
protected OffsetDateTime |
expirationDateTime |
protected OffsetDateTime |
lastModifiedDateTime |
protected OffsetDateTime |
lastSyncDateTime |
protected VppTokenSyncStatus |
lastSyncStatus |
protected String |
locationName |
protected String |
organizationName |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
protected VppTokenState |
state |
protected String |
token |
protected List<VppTokenActionResult> |
tokenActionResults |
protected String |
tokenActionResultsNextLink |
protected VppTokenAccountType |
vppTokenAccountType |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
VppToken() |
| Modifier and Type | Method and Description |
|---|---|
static VppToken.Builder |
builderVppToken()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAppleId()
“The apple Id associated with the given Apple Volume Purchase Program Token.”
|
Optional<Boolean> |
getAutomaticallyUpdateApps()
“Whether or not apps for the VPP token will be automatically updated.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getClaimTokenManagementFromExternalMdm()
“Admin consent to allow claiming token management from external MDM.”
|
Optional<String> |
getCountryOrRegion()
“Whether or not apps for the VPP token will be automatically updated.”
|
Optional<Boolean> |
getDataSharingConsentGranted()
“Consent granted for data sharing with the Apple Volume Purchase Program.”
|
Optional<String> |
getDisplayName()
“An admin specified token friendly name.”
|
Optional<OffsetDateTime> |
getExpirationDateTime()
“The expiration date time of the Apple Volume Purchase Program Token.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“Last modification date time associated with the Apple Volume Purchase Program
Token.”
|
Optional<OffsetDateTime> |
getLastSyncDateTime()
“The last time when an application sync was done with the Apple volume purchase
program service using the the Apple Volume Purchase Program Token.”
|
Optional<VppTokenSyncStatus> |
getLastSyncStatus()
“Current sync status of the last application sync which was triggered using the
Apple Volume Purchase Program Token.
|
Optional<String> |
getLocationName()
“Token location returned from Apple VPP.”
|
Optional<String> |
getOrganizationName()
“The organization associated with the Apple Volume Purchase Program Token”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“Role Scope Tags IDs assigned to this entity.”
|
Optional<VppTokenState> |
getState()
“Current state of the Apple Volume Purchase Program Token.
|
Optional<String> |
getToken()
“The Apple Volume Purchase Program Token string downloaded from the Apple Volume
Purchase Program.”
|
com.github.davidmoten.odata.client.CollectionPage<VppTokenActionResult> |
getTokenActionResults()
“The collection of statuses of the actions performed on the Apple Volume Purchase
Program Token.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<VppTokenAccountType> |
getVppTokenAccountType()
“The type of volume purchase program which the given Apple Volume Purchase
Program Token is associated with.
|
String |
odataTypeName() |
VppToken |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
VppToken |
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 |
revokeLicenses(Boolean notifyManagedDevices) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<VppToken> |
syncLicenses() |
String |
toString() |
VppToken |
withAppleId(String appleId)
Returns an immutable copy of
this with just the appleId field
changed. |
VppToken |
withAutomaticallyUpdateApps(Boolean automaticallyUpdateApps)
Returns an immutable copy of
this with just the automaticallyUpdateApps field changed. |
VppToken |
withClaimTokenManagementFromExternalMdm(Boolean claimTokenManagementFromExternalMdm)
Returns an immutable copy of
this with just the claimTokenManagementFromExternalMdm field changed. |
VppToken |
withCountryOrRegion(String countryOrRegion)
Returns an immutable copy of
this with just the countryOrRegion
field changed. |
VppToken |
withDataSharingConsentGranted(Boolean dataSharingConsentGranted)
Returns an immutable copy of
this with just the dataSharingConsentGranted field changed. |
VppToken |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
VppToken |
withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy of
this with just the expirationDateTime field changed. |
VppToken |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
VppToken |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy of
this with just the lastSyncDateTime
field changed. |
VppToken |
withLastSyncStatus(VppTokenSyncStatus lastSyncStatus)
Returns an immutable copy of
this with just the lastSyncStatus
field changed. |
VppToken |
withLocationName(String locationName)
Returns an immutable copy of
this with just the locationName
field changed. |
VppToken |
withOrganizationName(String organizationName)
Returns an immutable copy of
this with just the organizationName
field changed. |
VppToken |
withState(VppTokenState state)
Returns an immutable copy of
this with just the state field
changed. |
VppToken |
withToken(String token)
Returns an immutable copy of
this with just the token field
changed. |
VppToken |
withVppTokenAccountType(VppTokenAccountType vppTokenAccountType)
Returns an immutable copy of
this with just the vppTokenAccountType field changed. |
protected String organizationName
protected VppTokenAccountType vppTokenAccountType
protected String appleId
protected OffsetDateTime expirationDateTime
protected OffsetDateTime lastSyncDateTime
protected String token
protected OffsetDateTime lastModifiedDateTime
protected VppTokenState state
protected List<VppTokenActionResult> tokenActionResults
protected String tokenActionResultsNextLink
protected VppTokenSyncStatus lastSyncStatus
protected Boolean automaticallyUpdateApps
protected String countryOrRegion
protected Boolean dataSharingConsentGranted
protected String displayName
protected String locationName
protected Boolean claimTokenManagementFromExternalMdm
protected String roleScopeTagIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static VppToken.Builder builderVppToken()
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> getOrganizationName()
public VppToken withOrganizationName(String organizationName)
this with just the organizationName
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 organization associated with the Apple Volume Purchase Program Token”
organizationName - new value of organizationName field (as defined in service metadata)this with just the organizationName field changedpublic Optional<VppTokenAccountType> getVppTokenAccountType()
public VppToken withVppTokenAccountType(VppTokenAccountType vppTokenAccountType)
this with just the vppTokenAccountType 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 type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: `business`, `education`.”
vppTokenAccountType - new value of vppTokenAccountType field (as defined in service metadata)this with just the vppTokenAccountType field changedpublic Optional<String> getAppleId()
public VppToken withAppleId(String appleId)
this with just the appleId 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 apple Id associated with the given Apple Volume Purchase Program Token.”
appleId - new value of appleId field (as defined in service metadata)this with just the appleId field changedpublic Optional<OffsetDateTime> getExpirationDateTime()
public VppToken withExpirationDateTime(OffsetDateTime expirationDateTime)
this with just the expirationDateTime 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 expiration date time of the Apple Volume Purchase Program Token.”
expirationDateTime - new value of expirationDateTime field (as defined in service metadata)this with just the expirationDateTime field changedpublic Optional<OffsetDateTime> getLastSyncDateTime()
public VppToken withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
this with just the lastSyncDateTime
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 last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token.”
lastSyncDateTime - new value of lastSyncDateTime field (as defined in service metadata)this with just the lastSyncDateTime field changedpublic Optional<String> getToken()
public VppToken withToken(String token)
this with just the token 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 Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program.”
token - new value of token field (as defined in service metadata)this with just the token field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public VppToken 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 date time associated with the Apple Volume Purchase Program Token.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<VppTokenState> getState()
public VppToken withState(VppTokenState state)
this with just the state 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.
“Current state of the Apple Volume Purchase Program Token. Possible values are: ` unknown`, `valid`, `expired`, `invalid`, `assignedToExternalMDM`.”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic com.github.davidmoten.odata.client.CollectionPage<VppTokenActionResult> getTokenActionResults()
public Optional<VppTokenSyncStatus> getLastSyncStatus()
public VppToken withLastSyncStatus(VppTokenSyncStatus lastSyncStatus)
this with just the lastSyncStatus
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.
“Current sync status of the last application sync which was triggered using the Apple Volume Purchase Program Token. Possible values are: `none`, `inProgress`, `completed`, `failed`.”
lastSyncStatus - new value of lastSyncStatus field (as defined in service metadata)this with just the lastSyncStatus field changedpublic Optional<Boolean> getAutomaticallyUpdateApps()
public VppToken withAutomaticallyUpdateApps(Boolean automaticallyUpdateApps)
this with just the automaticallyUpdateApps 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.
“Whether or not apps for the VPP token will be automatically updated.”
automaticallyUpdateApps - new value of automaticallyUpdateApps field (as defined in service metadata)this with just the automaticallyUpdateApps field changedpublic Optional<String> getCountryOrRegion()
public VppToken withCountryOrRegion(String countryOrRegion)
this with just the countryOrRegion
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.
“Whether or not apps for the VPP token will be automatically updated.”
countryOrRegion - new value of countryOrRegion field (as defined in service metadata)this with just the countryOrRegion field changedpublic Optional<Boolean> getDataSharingConsentGranted()
public VppToken withDataSharingConsentGranted(Boolean dataSharingConsentGranted)
this with just the dataSharingConsentGranted 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.
“Consent granted for data sharing with the Apple Volume Purchase Program.”
dataSharingConsentGranted - new value of dataSharingConsentGranted field (as defined in service metadata)this with just the dataSharingConsentGranted field changedpublic Optional<String> getDisplayName()
public VppToken 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.
“An admin specified token friendly name.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getLocationName()
public VppToken withLocationName(String locationName)
this with just the locationName
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.
“Token location returned from Apple VPP.”
locationName - new value of locationName field (as defined in service metadata)this with just the locationName field changedpublic Optional<Boolean> getClaimTokenManagementFromExternalMdm()
public VppToken withClaimTokenManagementFromExternalMdm(Boolean claimTokenManagementFromExternalMdm)
this with just the claimTokenManagementFromExternalMdm 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.
“Admin consent to allow claiming token management from external MDM.”
claimTokenManagementFromExternalMdm - new value of claimTokenManagementFromExternalMdm field (as defined in service metadata)this with just the claimTokenManagementFromExternalMdm field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic VppToken patch()
this with changed fields reset.public VppToken put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<VppToken> syncLicenses()
public com.github.davidmoten.odata.client.ActionRequestNoReturn revokeLicenses(Boolean notifyManagedDevices)
Copyright © 2018–2020. All rights reserved.