Package odata.msgraph.client.beta.entity
Class MobileAppIntentAndState
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileAppIntentAndState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MobileAppIntentAndState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“MobileApp Intent and Install State for a given device.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobileAppIntentAndState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringmanagedDeviceIdentifierprotected List<MobileAppIntentAndStateDetail>mobileAppListprotected StringmobileAppListNextLinkprotected StringuserId-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppIntentAndState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppIntentAndState.BuilderbuilderMobileAppIntentAndState()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getManagedDeviceIdentifier()“Device identifier created or collected by Intune.”com.github.davidmoten.odata.client.CollectionPage<MobileAppIntentAndStateDetail>getMobileAppList()“The list of payload intents and states for the tenant.”com.github.davidmoten.odata.client.CollectionPage<MobileAppIntentAndStateDetail>getMobileAppList(com.github.davidmoten.odata.client.HttpRequestOptions options)“The list of payload intents and states for the tenant.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()“Identifier for the user that tried to enroll the device.”StringodataTypeName()MobileAppIntentAndStatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MobileAppIntentAndStateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MobileAppIntentAndStatewithManagedDeviceIdentifier(String managedDeviceIdentifier)Returns an immutable copy ofthiswith just themanagedDeviceIdentifierfield changed.MobileAppIntentAndStatewithMobileAppList(List<MobileAppIntentAndStateDetail> mobileAppList)Returns an immutable copy ofthiswith just themobileAppListfield changed.MobileAppIntentAndStatewithUnmappedField(String name, String value)MobileAppIntentAndStatewithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.
-
-
-
Field Detail
-
managedDeviceIdentifier
protected String managedDeviceIdentifier
-
mobileAppList
protected List<MobileAppIntentAndStateDetail> mobileAppList
-
mobileAppListNextLink
protected String mobileAppListNextLink
-
userId
protected String userId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderMobileAppIntentAndState
public static MobileAppIntentAndState.Builder builderMobileAppIntentAndState()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getManagedDeviceIdentifier
public Optional<String> getManagedDeviceIdentifier()
“Device identifier created or collected by Intune.”- Returns:
- property managedDeviceIdentifier
-
withManagedDeviceIdentifier
public MobileAppIntentAndState withManagedDeviceIdentifier(String managedDeviceIdentifier)
Returns an immutable copy ofthiswith just themanagedDeviceIdentifierfield 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.“Device identifier created or collected by Intune.”
- Parameters:
managedDeviceIdentifier- new value ofmanagedDeviceIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceIdentifierfield changed
-
getMobileAppList
public com.github.davidmoten.odata.client.CollectionPage<MobileAppIntentAndStateDetail> getMobileAppList()
“The list of payload intents and states for the tenant.”- Returns:
- property mobileAppList
-
withMobileAppList
public MobileAppIntentAndState withMobileAppList(List<MobileAppIntentAndStateDetail> mobileAppList)
Returns an immutable copy ofthiswith just themobileAppListfield 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 list of payload intents and states for the tenant.”
- Parameters:
mobileAppList- new value ofmobileAppListfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileAppListfield changed
-
getMobileAppList
public com.github.davidmoten.odata.client.CollectionPage<MobileAppIntentAndStateDetail> getMobileAppList(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The list of payload intents and states for the tenant.”- Parameters:
options- specify connect and read timeouts- Returns:
- property mobileAppList
-
getUserId
public Optional<String> getUserId()
“Identifier for the user that tried to enroll the device.”- Returns:
- property userId
-
withUserId
public MobileAppIntentAndState withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield 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 for the user that tried to enroll the device.”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
withUnmappedField
public MobileAppIntentAndState withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public MobileAppIntentAndState patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MobileAppIntentAndState put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-