Class MobileApp
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AndroidForWorkApp,AndroidManagedStoreApp,AndroidStoreApp,IosStoreApp,IosVppApp,MacOSMdatpApp,MacOSMicrosoftEdgeApp,MacOSOfficeSuiteApp,MacOsVppApp,ManagedApp,MicrosoftStoreForBusinessApp,MobileLobApp,OfficeSuiteApp,WebApp,WindowsMicrosoftEdgeApp,WindowsPhone81StoreApp,WindowsStoreApp
public class MobileApp extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“An abstract class containing the base properties for Intune mobile apps.”
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected IntegerdependentAppCountprotected Stringdescriptionprotected Stringdeveloperprotected StringdisplayNameprotected StringinformationUrlprotected BooleanisAssignedprotected BooleanisFeaturedprotected MimeContentlargeIconprotected OffsetDateTimelastModifiedDateTimeprotected Stringnotesprotected Stringownerprotected StringprivacyInformationUrlprotected Stringpublisherprotected MobileAppPublishingStatepublishingStateprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected IntegersupersededAppCountprotected IntegersupersedingAppCountprotected IntegeruploadState-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileApp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<MobileAppAssignment> mobileAppAssignments)MobileAppAssignmentCollectionRequestgetAssignments()“The list of group assignments for this mobile app.”MobileAppCategoryCollectionRequestgetCategories()“The list of categories for this app.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“The date and time the app was created.”Optional<Integer>getDependentAppCount()“The total number of dependencies the child app has.”Optional<String>getDescription()“The description of the app.”Optional<String>getDeveloper()“The developer of the app.”MobileAppInstallStatusCollectionRequestgetDeviceStatuses()“The list of installation states for this mobile app.”Optional<String>getDisplayName()“The admin provided or imported title of the app.”Optional<String>getInformationUrl()“The more information Url.”MobileAppInstallSummaryRequestgetInstallSummary()“Mobile App Install Summary.”Optional<Boolean>getIsAssigned()“The value indicating whether the app is assigned to at least one group.”Optional<Boolean>getIsFeatured()“The value indicating whether the app is marked as featured by the admin.”Optional<MimeContent>getLargeIcon()“The large icon, to be displayed in the app details and used for upload of the icon.”Optional<OffsetDateTime>getLastModifiedDateTime()“The date and time the app was last modified.”Optional<String>getNotes()“Notes for the app.”Optional<String>getOwner()“The owner of the app.”Optional<String>getPrivacyInformationUrl()“The privacy statement Url.”Optional<String>getPublisher()“The publisher of the app.”Optional<MobileAppPublishingState>getPublishingState()“The publishing state for the app.com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<MobileAppRelationshipState>getRelatedAppStates(String userPrincipalName, String deviceId)MobileAppRelationshipCollectionRequestgetRelationships()“The set of direct relationships for this app.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of scope tag ids for this mobile app.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of scope tag ids for this mobile app.”Optional<Integer>getSupersededAppCount()“The total number of apps this app is directly or indirectly superseded by.”Optional<Integer>getSupersedingAppCount()“The total number of apps this app directly or indirectly supersedes.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getUploadState()“The upload state.UserAppInstallStatusCollectionRequestgetUserStatuses()“The list of installation states for this mobile app.”StringodataTypeName()MobileApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MobileAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()com.github.davidmoten.odata.client.ActionRequestNoReturnupdateRelationships(List<MobileAppRelationship> relationships)MobileAppwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.MobileAppwithDependentAppCount(Integer dependentAppCount)Returns an immutable copy ofthiswith just thedependentAppCountfield changed.MobileAppwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.MobileAppwithDeveloper(String developer)Returns an immutable copy ofthiswith just thedeveloperfield changed.MobileAppwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.MobileAppwithInformationUrl(String informationUrl)Returns an immutable copy ofthiswith just theinformationUrlfield changed.MobileAppwithIsAssigned(Boolean isAssigned)Returns an immutable copy ofthiswith just theisAssignedfield changed.MobileAppwithIsFeatured(Boolean isFeatured)Returns an immutable copy ofthiswith just theisFeaturedfield changed.MobileAppwithLargeIcon(MimeContent largeIcon)Returns an immutable copy ofthiswith just thelargeIconfield changed.MobileAppwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.MobileAppwithNotes(String notes)Returns an immutable copy ofthiswith just thenotesfield changed.MobileAppwithOwner(String owner)Returns an immutable copy ofthiswith just theownerfield changed.MobileAppwithPrivacyInformationUrl(String privacyInformationUrl)Returns an immutable copy ofthiswith just theprivacyInformationUrlfield changed.MobileAppwithPublisher(String publisher)Returns an immutable copy ofthiswith just thepublisherfield changed.MobileAppwithPublishingState(MobileAppPublishingState publishingState)Returns an immutable copy ofthiswith just thepublishingStatefield changed.MobileAppwithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.MobileAppwithSupersededAppCount(Integer supersededAppCount)Returns an immutable copy ofthiswith just thesupersededAppCountfield changed.MobileAppwithSupersedingAppCount(Integer supersedingAppCount)Returns an immutable copy ofthiswith just thesupersedingAppCountfield changed.MobileAppwithUnmappedField(String name, String value)MobileAppwithUploadState(Integer uploadState)Returns an immutable copy ofthiswith just theuploadStatefield changed.
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
dependentAppCount
protected Integer dependentAppCount
-
description
protected String description
-
developer
protected String developer
-
displayName
protected String displayName
-
informationUrl
protected String informationUrl
-
isAssigned
protected Boolean isAssigned
-
isFeatured
protected Boolean isFeatured
-
largeIcon
protected MimeContent largeIcon
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
notes
protected String notes
-
owner
protected String owner
-
privacyInformationUrl
protected String privacyInformationUrl
-
publisher
protected String publisher
-
publishingState
protected MobileAppPublishingState publishingState
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
supersededAppCount
protected Integer supersededAppCount
-
supersedingAppCount
protected Integer supersedingAppCount
-
uploadState
protected Integer uploadState
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“The date and time the app was created.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public MobileApp withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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 date and time the app was created.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDependentAppCount
public Optional<Integer> getDependentAppCount()
“The total number of dependencies the child app has.”- Returns:
- property dependentAppCount
-
withDependentAppCount
public MobileApp withDependentAppCount(Integer dependentAppCount)
Returns an immutable copy ofthiswith just thedependentAppCountfield 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 dependencies the child app has.”
- Parameters:
dependentAppCount- new value ofdependentAppCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedependentAppCountfield changed
-
getDescription
public Optional<String> getDescription()
“The description of the app.”- Returns:
- property description
-
withDescription
public MobileApp withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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 description of the app.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDeveloper
public Optional<String> getDeveloper()
“The developer of the app.”- Returns:
- property developer
-
withDeveloper
public MobileApp withDeveloper(String developer)
Returns an immutable copy ofthiswith just thedeveloperfield 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 developer of the app.”
- Parameters:
developer- new value ofdeveloperfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeveloperfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The admin provided or imported title of the app.”- Returns:
- property displayName
-
withDisplayName
public MobileApp withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 admin provided or imported title of the app.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getInformationUrl
public Optional<String> getInformationUrl()
“The more information Url.”- Returns:
- property informationUrl
-
withInformationUrl
public MobileApp withInformationUrl(String informationUrl)
Returns an immutable copy ofthiswith just theinformationUrlfield 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 more information Url.”
- Parameters:
informationUrl- new value ofinformationUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinformationUrlfield changed
-
getIsAssigned
public Optional<Boolean> getIsAssigned()
“The value indicating whether the app is assigned to at least one group.”- Returns:
- property isAssigned
-
withIsAssigned
public MobileApp withIsAssigned(Boolean isAssigned)
Returns an immutable copy ofthiswith just theisAssignedfield 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 value indicating whether the app is assigned to at least one group.”
- Parameters:
isAssigned- new value ofisAssignedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisAssignedfield changed
-
getIsFeatured
public Optional<Boolean> getIsFeatured()
“The value indicating whether the app is marked as featured by the admin.”- Returns:
- property isFeatured
-
withIsFeatured
public MobileApp withIsFeatured(Boolean isFeatured)
Returns an immutable copy ofthiswith just theisFeaturedfield 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 value indicating whether the app is marked as featured by the admin.”
- Parameters:
isFeatured- new value ofisFeaturedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisFeaturedfield changed
-
getLargeIcon
public Optional<MimeContent> getLargeIcon()
“The large icon, to be displayed in the app details and used for upload of the icon.”- Returns:
- property largeIcon
-
withLargeIcon
public MobileApp withLargeIcon(MimeContent largeIcon)
Returns an immutable copy ofthiswith just thelargeIconfield 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 large icon, to be displayed in the app details and used for upload of the icon.”
- Parameters:
largeIcon- new value oflargeIconfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelargeIconfield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The date and time the app was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public MobileApp withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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 date and time the app was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
withNotes
public MobileApp withNotes(String notes)
Returns an immutable copy ofthiswith just thenotesfield 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.“Notes for the app.”
- Parameters:
notes- new value ofnotesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotesfield changed
-
withOwner
public MobileApp withOwner(String owner)
Returns an immutable copy ofthiswith just theownerfield 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 owner of the app.”
- Parameters:
owner- new value ofownerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theownerfield changed
-
getPrivacyInformationUrl
public Optional<String> getPrivacyInformationUrl()
“The privacy statement Url.”- Returns:
- property privacyInformationUrl
-
withPrivacyInformationUrl
public MobileApp withPrivacyInformationUrl(String privacyInformationUrl)
Returns an immutable copy ofthiswith just theprivacyInformationUrlfield 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 privacy statement Url.”
- Parameters:
privacyInformationUrl- new value ofprivacyInformationUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprivacyInformationUrlfield changed
-
getPublisher
public Optional<String> getPublisher()
“The publisher of the app.”- Returns:
- property publisher
-
withPublisher
public MobileApp withPublisher(String publisher)
Returns an immutable copy ofthiswith just thepublisherfield 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 publisher of the app.”
- Parameters:
publisher- new value ofpublisherfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublisherfield changed
-
getPublishingState
public Optional<MobileAppPublishingState> getPublishingState()
“The publishing state for the app. The app cannot be assigned unless the app is published.”- Returns:
- property publishingState
-
withPublishingState
public MobileApp withPublishingState(MobileAppPublishingState publishingState)
Returns an immutable copy ofthiswith just thepublishingStatefield 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 publishing state for the app. The app cannot be assigned unless the app is published.”
- Parameters:
publishingState- new value ofpublishingStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublishingStatefield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of scope tag ids for this mobile app.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public MobileApp withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield 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.“List of scope tag ids for this mobile app.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of scope tag ids for this mobile app.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
getSupersededAppCount
public Optional<Integer> getSupersededAppCount()
“The total number of apps this app is directly or indirectly superseded by.”- Returns:
- property supersededAppCount
-
withSupersededAppCount
public MobileApp withSupersededAppCount(Integer supersededAppCount)
Returns an immutable copy ofthiswith just thesupersededAppCountfield 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 apps this app is directly or indirectly superseded by.”
- Parameters:
supersededAppCount- new value ofsupersededAppCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesupersededAppCountfield changed
-
getSupersedingAppCount
public Optional<Integer> getSupersedingAppCount()
“The total number of apps this app directly or indirectly supersedes.”- Returns:
- property supersedingAppCount
-
withSupersedingAppCount
public MobileApp withSupersedingAppCount(Integer supersedingAppCount)
Returns an immutable copy ofthiswith just thesupersedingAppCountfield 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 apps this app directly or indirectly supersedes.”
- Parameters:
supersedingAppCount- new value ofsupersedingAppCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesupersedingAppCountfield changed
-
getUploadState
public Optional<Integer> getUploadState()
“The upload state. Possible values are: 0 - `Not Ready`, 1 - `Ready`, 2 - ` Processing`.”- Returns:
- property uploadState
-
withUploadState
public MobileApp withUploadState(Integer uploadState)
Returns an immutable copy ofthiswith just theuploadStatefield 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 upload state. Possible values are: 0 - `Not Ready`, 1 - `Ready`, 2 - ` Processing`.”
- Parameters:
uploadState- new value ofuploadStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuploadStatefield changed
-
withUnmappedField
public MobileApp withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public MobileAppAssignmentCollectionRequest getAssignments()
“The list of group assignments for this mobile app.”- Returns:
- navigational property assignments
-
getCategories
public MobileAppCategoryCollectionRequest getCategories()
“The list of categories for this app.”- Returns:
- navigational property categories
-
getDeviceStatuses
public MobileAppInstallStatusCollectionRequest getDeviceStatuses()
“The list of installation states for this mobile app.”- Returns:
- navigational property deviceStatuses
-
getInstallSummary
public MobileAppInstallSummaryRequest getInstallSummary()
“Mobile App Install Summary.”- Returns:
- navigational property installSummary
-
getRelationships
public MobileAppRelationshipCollectionRequest getRelationships()
“The set of direct relationships for this app.”- Returns:
- navigational property relationships
-
getUserStatuses
public UserAppInstallStatusCollectionRequest getUserStatuses()
“The list of installation states for this mobile app.”- Returns:
- navigational property userStatuses
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public MobileApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MobileApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assign
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<MobileAppAssignment> mobileAppAssignments)
-
updateRelationships
public com.github.davidmoten.odata.client.ActionRequestNoReturn updateRelationships(List<MobileAppRelationship> relationships)
-
getRelatedAppStates
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<MobileAppRelationshipState> getRelatedAppStates(String userPrincipalName, String deviceId)
-
-