public class AndroidForWorkApp extends MobileApp implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidForWorkApp.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
appIdentifier |
protected String |
appStoreUrl |
protected String |
packageId |
protected Integer |
totalLicenseCount |
protected Integer |
usedLicenseCount |
createdDateTime, dependentAppCount, description, developer, displayName, informationUrl, isAssigned, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState, roleScopeTagIds, roleScopeTagIdsNextLink, uploadStatechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidForWorkApp() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidForWorkApp.Builder |
builderAndroidForWorkApp()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAppIdentifier()
“The Identity Name.”
|
Optional<String> |
getAppStoreUrl()
“The Play for Work Store app URL.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getPackageId()
“The package identifier.”
|
Optional<Integer> |
getTotalLicenseCount()
“The total number of VPP licenses.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getUsedLicenseCount()
“The number of VPP licenses in use.”
|
String |
odataTypeName() |
AndroidForWorkApp |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidForWorkApp |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AndroidForWorkApp |
withAppIdentifier(String appIdentifier)
Returns an immutable copy of
this with just the appIdentifier
field changed. |
AndroidForWorkApp |
withAppStoreUrl(String appStoreUrl)
Returns an immutable copy of
this with just the appStoreUrl
field changed. |
AndroidForWorkApp |
withPackageId(String packageId)
Returns an immutable copy of
this with just the packageId field
changed. |
AndroidForWorkApp |
withTotalLicenseCount(Integer totalLicenseCount)
Returns an immutable copy of
this with just the totalLicenseCount
field changed. |
AndroidForWorkApp |
withUsedLicenseCount(Integer usedLicenseCount)
Returns an immutable copy of
this with just the usedLicenseCount
field changed. |
assign, getAssignments, getCategories, getCreatedDateTime, getDependentAppCount, getDescription, getDeveloper, getDeviceStatuses, getDisplayName, getInformationUrl, getInstallSummary, getIsAssigned, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, getRelatedAppStates, getRelationships, getRoleScopeTagIds, getRoleScopeTagIds, getUploadState, getUserStatuses, updateRelationships, withCreatedDateTime, withDependentAppCount, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsAssigned, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState, withUploadStateprotected String packageId
protected String appIdentifier
protected Integer usedLicenseCount
protected Integer totalLicenseCount
protected String appStoreUrl
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class MobileApppublic static AndroidForWorkApp.Builder builderAndroidForWorkApp()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class MobileApppublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class MobileApppublic Optional<String> getPackageId()
public AndroidForWorkApp withPackageId(String packageId)
this with just the packageId 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 package identifier.”
packageId - new value of packageId field (as defined in service metadata)this with just the packageId field changedpublic Optional<String> getAppIdentifier()
public AndroidForWorkApp withAppIdentifier(String appIdentifier)
this with just the appIdentifier
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 Identity Name.”
appIdentifier - new value of appIdentifier field (as defined in service metadata)this with just the appIdentifier field changedpublic Optional<Integer> getUsedLicenseCount()
public AndroidForWorkApp withUsedLicenseCount(Integer usedLicenseCount)
this with just the usedLicenseCount
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 number of VPP licenses in use.”
usedLicenseCount - new value of usedLicenseCount field (as defined in service metadata)this with just the usedLicenseCount field changedpublic Optional<Integer> getTotalLicenseCount()
public AndroidForWorkApp withTotalLicenseCount(Integer totalLicenseCount)
this with just the totalLicenseCount
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 total number of VPP licenses.”
totalLicenseCount - new value of totalLicenseCount field (as defined in service metadata)this with just the totalLicenseCount field changedpublic Optional<String> getAppStoreUrl()
public AndroidForWorkApp withAppStoreUrl(String appStoreUrl)
this with just the appStoreUrl
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 Play for Work Store app URL.”
appStoreUrl - new value of appStoreUrl field (as defined in service metadata)this with just the appStoreUrl field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class MobileApppublic AndroidForWorkApp patch()
this with changed fields reset.public AndroidForWorkApp put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.