Package odata.msgraph.client.beta.entity
Class IosVppApp
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileApp
-
- odata.msgraph.client.beta.entity.IosVppApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class IosVppApp extends MobileApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for iOS Volume-Purchased Program ( VPP) Apps.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosVppApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IosDeviceTypeapplicableDeviceTypeprotected StringappStoreUrlprotected StringbundleIdprotected VppLicensingTypelicensingTypeprotected OffsetDateTimereleaseDateTimeprotected List<IosVppAppRevokeLicensesActionResult>revokeLicenseActionResultsprotected StringrevokeLicenseActionResultsNextLinkprotected IntegertotalLicenseCountprotected IntegerusedLicenseCountprotected VppTokenAccountTypevppTokenAccountTypeprotected StringvppTokenAppleIdprotected StringvppTokenIdprotected StringvppTokenOrganizationName-
Fields inherited from class odata.msgraph.client.beta.entity.MobileApp
createdDateTime, dependentAppCount, description, developer, displayName, informationUrl, isAssigned, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState, roleScopeTagIds, roleScopeTagIdsNextLink, supersededAppCount, supersedingAppCount, uploadState
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosVppApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosVppApp.BuilderbuilderIosVppApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<IosDeviceType>getApplicableDeviceType()“The applicable iOS Device Type.”Optional<String>getAppStoreUrl()“The store URL.”IosVppAppAssignedLicenseCollectionRequestgetAssignedLicenses()“The licenses assigned to this app.”Optional<String>getBundleId()“The Identity Name.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<VppLicensingType>getLicensingType()“The supported License Type.”Optional<OffsetDateTime>getReleaseDateTime()“The VPP application release date and time.”com.github.davidmoten.odata.client.CollectionPage<IosVppAppRevokeLicensesActionResult>getRevokeLicenseActionResults()“Results of revoke license actions on this app.”com.github.davidmoten.odata.client.CollectionPage<IosVppAppRevokeLicensesActionResult>getRevokeLicenseActionResults(com.github.davidmoten.odata.client.HttpRequestOptions options)“Results of revoke license actions on this app.”Optional<Integer>getTotalLicenseCount()“The total number of VPP licenses.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getUsedLicenseCount()“The number of VPP licenses in use.”Optional<VppTokenAccountType>getVppTokenAccountType()“The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with.Optional<String>getVppTokenAppleId()“The Apple Id associated with the given Apple Volume Purchase Program Token.”Optional<String>getVppTokenId()“Identifier of the VPP token associated with this app.”Optional<String>getVppTokenOrganizationName()“The organization associated with the Apple Volume Purchase Program Token”StringodataTypeName()IosVppApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosVppAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnrevokeAllLicenses(Boolean notifyManagedDevices)com.github.davidmoten.odata.client.ActionRequestNoReturnrevokeDeviceLicense(String managedDeviceId, Boolean notifyManagedDevices)com.github.davidmoten.odata.client.ActionRequestNoReturnrevokeUserLicense(String userId, Boolean notifyManagedDevices)StringtoString()IosVppAppwithApplicableDeviceType(IosDeviceType applicableDeviceType)Returns an immutable copy ofthiswith just theapplicableDeviceTypefield changed.IosVppAppwithAppStoreUrl(String appStoreUrl)Returns an immutable copy ofthiswith just theappStoreUrlfield changed.IosVppAppwithBundleId(String bundleId)Returns an immutable copy ofthiswith just thebundleIdfield changed.IosVppAppwithLicensingType(VppLicensingType licensingType)Returns an immutable copy ofthiswith just thelicensingTypefield changed.IosVppAppwithReleaseDateTime(OffsetDateTime releaseDateTime)Returns an immutable copy ofthiswith just thereleaseDateTimefield changed.IosVppAppwithRevokeLicenseActionResults(List<IosVppAppRevokeLicensesActionResult> revokeLicenseActionResults)Returns an immutable copy ofthiswith just therevokeLicenseActionResultsfield changed.IosVppAppwithTotalLicenseCount(Integer totalLicenseCount)Returns an immutable copy ofthiswith just thetotalLicenseCountfield changed.IosVppAppwithUnmappedField(String name, String value)IosVppAppwithUsedLicenseCount(Integer usedLicenseCount)Returns an immutable copy ofthiswith just theusedLicenseCountfield changed.IosVppAppwithVppTokenAccountType(VppTokenAccountType vppTokenAccountType)Returns an immutable copy ofthiswith just thevppTokenAccountTypefield changed.IosVppAppwithVppTokenAppleId(String vppTokenAppleId)Returns an immutable copy ofthiswith just thevppTokenAppleIdfield changed.IosVppAppwithVppTokenId(String vppTokenId)Returns an immutable copy ofthiswith just thevppTokenIdfield changed.IosVppAppwithVppTokenOrganizationName(String vppTokenOrganizationName)Returns an immutable copy ofthiswith just thevppTokenOrganizationNamefield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.MobileApp
assign, getAssignments, getCategories, getCreatedDateTime, getDependentAppCount, getDescription, getDeveloper, getDeviceStatuses, getDisplayName, getInformationUrl, getInstallSummary, getIsAssigned, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, getRelatedAppStates, getRelationships, getRoleScopeTagIds, getRoleScopeTagIds, getSupersededAppCount, getSupersedingAppCount, getUploadState, getUserStatuses, updateRelationships, withCreatedDateTime, withDependentAppCount, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsAssigned, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState, withRoleScopeTagIds, withSupersededAppCount, withSupersedingAppCount, withUploadState
-
-
-
-
Field Detail
-
applicableDeviceType
protected IosDeviceType applicableDeviceType
-
appStoreUrl
protected String appStoreUrl
-
bundleId
protected String bundleId
-
licensingType
protected VppLicensingType licensingType
-
releaseDateTime
protected OffsetDateTime releaseDateTime
-
revokeLicenseActionResults
protected List<IosVppAppRevokeLicensesActionResult> revokeLicenseActionResults
-
revokeLicenseActionResultsNextLink
protected String revokeLicenseActionResultsNextLink
-
totalLicenseCount
protected Integer totalLicenseCount
-
usedLicenseCount
protected Integer usedLicenseCount
-
vppTokenAccountType
protected VppTokenAccountType vppTokenAccountType
-
vppTokenAppleId
protected String vppTokenAppleId
-
vppTokenId
protected String vppTokenId
-
vppTokenOrganizationName
protected String vppTokenOrganizationName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileApp
-
builderIosVppApp
public static IosVppApp.Builder builderIosVppApp()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classMobileApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileApp
-
getApplicableDeviceType
public Optional<IosDeviceType> getApplicableDeviceType()
“The applicable iOS Device Type.”- Returns:
- property applicableDeviceType
-
withApplicableDeviceType
public IosVppApp withApplicableDeviceType(IosDeviceType applicableDeviceType)
Returns an immutable copy ofthiswith just theapplicableDeviceTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The applicable iOS Device Type.”
- Parameters:
applicableDeviceType- new value ofapplicableDeviceTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicableDeviceTypefield changed
-
getAppStoreUrl
public Optional<String> getAppStoreUrl()
“The store URL.”- Returns:
- property appStoreUrl
-
withAppStoreUrl
public IosVppApp withAppStoreUrl(String appStoreUrl)
Returns an immutable copy ofthiswith just theappStoreUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The store URL.”
- Parameters:
appStoreUrl- new value ofappStoreUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappStoreUrlfield changed
-
withBundleId
public IosVppApp withBundleId(String bundleId)
Returns an immutable copy ofthiswith just thebundleIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The Identity Name.”
- Parameters:
bundleId- new value ofbundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleIdfield changed
-
getLicensingType
public Optional<VppLicensingType> getLicensingType()
“The supported License Type.”- Returns:
- property licensingType
-
withLicensingType
public IosVppApp withLicensingType(VppLicensingType licensingType)
Returns an immutable copy ofthiswith just thelicensingTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The supported License Type.”
- Parameters:
licensingType- new value oflicensingTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelicensingTypefield changed
-
getReleaseDateTime
public Optional<OffsetDateTime> getReleaseDateTime()
“The VPP application release date and time.”- Returns:
- property releaseDateTime
-
withReleaseDateTime
public IosVppApp withReleaseDateTime(OffsetDateTime releaseDateTime)
Returns an immutable copy ofthiswith just thereleaseDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The VPP application release date and time.”
- Parameters:
releaseDateTime- new value ofreleaseDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereleaseDateTimefield changed
-
getRevokeLicenseActionResults
public com.github.davidmoten.odata.client.CollectionPage<IosVppAppRevokeLicensesActionResult> getRevokeLicenseActionResults()
“Results of revoke license actions on this app.”- Returns:
- property revokeLicenseActionResults
-
withRevokeLicenseActionResults
public IosVppApp withRevokeLicenseActionResults(List<IosVppAppRevokeLicensesActionResult> revokeLicenseActionResults)
Returns an immutable copy ofthiswith just therevokeLicenseActionResultsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Results of revoke license actions on this app.”
- Parameters:
revokeLicenseActionResults- new value ofrevokeLicenseActionResultsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therevokeLicenseActionResultsfield changed
-
getRevokeLicenseActionResults
public com.github.davidmoten.odata.client.CollectionPage<IosVppAppRevokeLicensesActionResult> getRevokeLicenseActionResults(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Results of revoke license actions on this app.”- Parameters:
options- specify connect and read timeouts- Returns:
- property revokeLicenseActionResults
-
getTotalLicenseCount
public Optional<Integer> getTotalLicenseCount()
“The total number of VPP licenses.”- Returns:
- property totalLicenseCount
-
withTotalLicenseCount
public IosVppApp withTotalLicenseCount(Integer totalLicenseCount)
Returns an immutable copy ofthiswith just thetotalLicenseCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The total number of VPP licenses.”
- Parameters:
totalLicenseCount- new value oftotalLicenseCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalLicenseCountfield changed
-
getUsedLicenseCount
public Optional<Integer> getUsedLicenseCount()
“The number of VPP licenses in use.”- Returns:
- property usedLicenseCount
-
withUsedLicenseCount
public IosVppApp withUsedLicenseCount(Integer usedLicenseCount)
Returns an immutable copy ofthiswith just theusedLicenseCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The number of VPP licenses in use.”
- Parameters:
usedLicenseCount- new value ofusedLicenseCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theusedLicenseCountfield changed
-
getVppTokenAccountType
public Optional<VppTokenAccountType> getVppTokenAccountType()
“The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: `business`, `education`.”- Returns:
- property vppTokenAccountType
-
withVppTokenAccountType
public IosVppApp withVppTokenAccountType(VppTokenAccountType vppTokenAccountType)
Returns an immutable copy ofthiswith just thevppTokenAccountTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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`.”
- Parameters:
vppTokenAccountType- new value ofvppTokenAccountTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevppTokenAccountTypefield changed
-
getVppTokenAppleId
public Optional<String> getVppTokenAppleId()
“The Apple Id associated with the given Apple Volume Purchase Program Token.”- Returns:
- property vppTokenAppleId
-
withVppTokenAppleId
public IosVppApp withVppTokenAppleId(String vppTokenAppleId)
Returns an immutable copy ofthiswith just thevppTokenAppleIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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.”
- Parameters:
vppTokenAppleId- new value ofvppTokenAppleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevppTokenAppleIdfield changed
-
getVppTokenId
public Optional<String> getVppTokenId()
“Identifier of the VPP token associated with this app.”- Returns:
- property vppTokenId
-
withVppTokenId
public IosVppApp withVppTokenId(String vppTokenId)
Returns an immutable copy ofthiswith just thevppTokenIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Identifier of the VPP token associated with this app.”
- Parameters:
vppTokenId- new value ofvppTokenIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevppTokenIdfield changed
-
getVppTokenOrganizationName
public Optional<String> getVppTokenOrganizationName()
“The organization associated with the Apple Volume Purchase Program Token”- Returns:
- property vppTokenOrganizationName
-
withVppTokenOrganizationName
public IosVppApp withVppTokenOrganizationName(String vppTokenOrganizationName)
Returns an immutable copy ofthiswith just thevppTokenOrganizationNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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”
- Parameters:
vppTokenOrganizationName- new value ofvppTokenOrganizationNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevppTokenOrganizationNamefield changed
-
withUnmappedField
public IosVppApp withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classMobileApp
-
getAssignedLicenses
public IosVppAppAssignedLicenseCollectionRequest getAssignedLicenses()
“The licenses assigned to this app.”- Returns:
- navigational property assignedLicenses
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileApp
-
patch
public IosVppApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public IosVppApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
revokeAllLicenses
public com.github.davidmoten.odata.client.ActionRequestNoReturn revokeAllLicenses(Boolean notifyManagedDevices)
-
revokeDeviceLicense
public com.github.davidmoten.odata.client.ActionRequestNoReturn revokeDeviceLicense(String managedDeviceId, Boolean notifyManagedDevices)
-
revokeUserLicense
public com.github.davidmoten.odata.client.ActionRequestNoReturn revokeUserLicense(String userId, Boolean notifyManagedDevices)
-
-