Package odata.msgraph.client.entity
Class ManagedApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.ManagedApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
ManagedAndroidStoreApp,ManagedIOSStoreApp,ManagedMobileLobApp
public class ManagedApp extends MobileApp implements com.github.davidmoten.odata.client.ODataEntityType
“Abstract class that contains properties and inherited properties for apps that you can manage with an Intune app protection policy.”
-
-
Field Summary
Fields Modifier and Type Field Description protected ManagedAppAvailabilityappAvailabilityprotected Stringversion-
Fields inherited from class odata.msgraph.client.entity.MobileApp
assignments, createdDateTime, description, developer, displayName, informationUrl, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedApp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<ManagedAppAvailability>getAppAvailability()“The Application's availability.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersion()“The Application's version.”StringodataTypeName()ManagedApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedAppwithAppAvailability(ManagedAppAvailability appAvailability)Returns an immutable copy ofthiswith just theappAvailabilityfield changed.ManagedAppwithUnmappedField(String name, Object value)ManagedAppwithVersion(String version)Returns an immutable copy ofthiswith just theversionfield changed.-
Methods inherited from class odata.msgraph.client.entity.MobileApp
assign, getAssignments, getCategories, getCreatedDateTime, getDescription, getDeveloper, getDisplayName, getInformationUrl, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, withAssignments, withCreatedDateTime, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState
-
-
-
-
Field Detail
-
appAvailability
protected ManagedAppAvailability appAvailability
-
version
protected String version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileApp
-
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
-
getAppAvailability
public Optional<ManagedAppAvailability> getAppAvailability()
“The Application's availability.”- Returns:
- property appAvailability
-
withAppAvailability
public ManagedApp withAppAvailability(ManagedAppAvailability appAvailability)
Returns an immutable copy ofthiswith just theappAvailabilityfield 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 Application's availability.”
- Parameters:
appAvailability- new value ofappAvailabilityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappAvailabilityfield changed
-
getVersion
public Optional<String> getVersion()
“The Application's version.”- Returns:
- property version
-
withVersion
public ManagedApp withVersion(String version)
Returns an immutable copy ofthiswith just theversionfield 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 Application's version.”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public ManagedApp withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMobileApp
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileApp
-
patch
public ManagedApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-