Package odata.msgraph.client.entity
Class ManagedDeviceMobileAppConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedDeviceMobileAppConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
IosMobileAppConfiguration
public class ManagedDeviceMobileAppConfiguration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“An abstract class for Mobile app configuration for enrolled devices.”
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ManagedDeviceMobileAppConfigurationAssignment>assignmentsprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected List<ManagedDeviceMobileAppConfigurationDeviceStatus>deviceStatusesprotected ManagedDeviceMobileAppConfigurationDeviceSummarydeviceStatusSummaryprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected List<String>targetedMobileAppsprotected StringtargetedMobileAppsNextLinkprotected List<ManagedDeviceMobileAppConfigurationUserStatus>userStatusesprotected ManagedDeviceMobileAppConfigurationUserSummaryuserStatusSummaryprotected Integerversion-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedDeviceMobileAppConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<ManagedDeviceMobileAppConfigurationAssignment> assignments)ManagedDeviceMobileAppConfigurationAssignmentCollectionRequestgetAssignments()“The list of group assignemenets for app configration.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“DateTime the object was created.”Optional<String>getDescription()“Admin provided description of the Device Configuration.”ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequestgetDeviceStatuses()“List of ManagedDeviceMobileAppConfigurationDeviceStatus.”ManagedDeviceMobileAppConfigurationDeviceSummaryRequestgetDeviceStatusSummary()“App configuration device status summary.”Optional<String>getDisplayName()“Admin provided name of the device configuration.”Optional<OffsetDateTime>getLastModifiedDateTime()“DateTime the object was last modified.”com.github.davidmoten.odata.client.CollectionPage<String>getTargetedMobileApps()“the associated app.”com.github.davidmoten.odata.client.CollectionPage<String>getTargetedMobileApps(com.github.davidmoten.odata.client.HttpRequestOptions options)“the associated app.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()ManagedDeviceMobileAppConfigurationUserStatusCollectionRequestgetUserStatuses()“List of ManagedDeviceMobileAppConfigurationUserStatus.”ManagedDeviceMobileAppConfigurationUserSummaryRequestgetUserStatusSummary()“App configuration user status summary.”Optional<Integer>getVersion()“Version of the device configuration.”StringodataTypeName()ManagedDeviceMobileAppConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedDeviceMobileAppConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedDeviceMobileAppConfigurationwithAssignments(List<ManagedDeviceMobileAppConfigurationAssignment> assignments)Returns an immutable copy ofthiswith just theassignmentsfield changed.ManagedDeviceMobileAppConfigurationwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.ManagedDeviceMobileAppConfigurationwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.ManagedDeviceMobileAppConfigurationwithDeviceStatuses(List<ManagedDeviceMobileAppConfigurationDeviceStatus> deviceStatuses)Returns an immutable copy ofthiswith just thedeviceStatusesfield changed.ManagedDeviceMobileAppConfigurationwithDeviceStatusSummary(ManagedDeviceMobileAppConfigurationDeviceSummary deviceStatusSummary)Returns an immutable copy ofthiswith just thedeviceStatusSummaryfield changed.ManagedDeviceMobileAppConfigurationwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.ManagedDeviceMobileAppConfigurationwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.ManagedDeviceMobileAppConfigurationwithTargetedMobileApps(List<String> targetedMobileApps)Returns an immutable copy ofthiswith just thetargetedMobileAppsfield changed.ManagedDeviceMobileAppConfigurationwithUnmappedField(String name, Object value)ManagedDeviceMobileAppConfigurationwithUserStatuses(List<ManagedDeviceMobileAppConfigurationUserStatus> userStatuses)Returns an immutable copy ofthiswith just theuserStatusesfield changed.ManagedDeviceMobileAppConfigurationwithUserStatusSummary(ManagedDeviceMobileAppConfigurationUserSummary userStatusSummary)Returns an immutable copy ofthiswith just theuserStatusSummaryfield changed.ManagedDeviceMobileAppConfigurationwithVersion(Integer version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
targetedMobileAppsNextLink
protected String targetedMobileAppsNextLink
-
version
protected Integer version
-
assignments
protected List<ManagedDeviceMobileAppConfigurationAssignment> assignments
-
deviceStatuses
protected List<ManagedDeviceMobileAppConfigurationDeviceStatus> deviceStatuses
-
deviceStatusSummary
protected ManagedDeviceMobileAppConfigurationDeviceSummary deviceStatusSummary
-
userStatuses
protected List<ManagedDeviceMobileAppConfigurationUserStatus> userStatuses
-
userStatusSummary
protected ManagedDeviceMobileAppConfigurationUserSummary userStatusSummary
-
-
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()
“DateTime the object was created.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public ManagedDeviceMobileAppConfiguration 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.“DateTime the object was created.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“Admin provided description of the Device Configuration.”- Returns:
- property description
-
withDescription
public ManagedDeviceMobileAppConfiguration 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.“Admin provided description of the Device Configuration.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Admin provided name of the device configuration.”- Returns:
- property displayName
-
withDisplayName
public ManagedDeviceMobileAppConfiguration 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.“Admin provided name of the device configuration.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“DateTime the object was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public ManagedDeviceMobileAppConfiguration 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.“DateTime the object was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getTargetedMobileApps
public com.github.davidmoten.odata.client.CollectionPage<String> getTargetedMobileApps()
“the associated app.”- Returns:
- property targetedMobileApps
-
withTargetedMobileApps
public ManagedDeviceMobileAppConfiguration withTargetedMobileApps(List<String> targetedMobileApps)
Returns an immutable copy ofthiswith just thetargetedMobileAppsfield 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 associated app.”
- Parameters:
targetedMobileApps- new value oftargetedMobileAppsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedMobileAppsfield changed
-
getTargetedMobileApps
public com.github.davidmoten.odata.client.CollectionPage<String> getTargetedMobileApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
“the associated app.”- Parameters:
options- specify connect and read timeouts- Returns:
- property targetedMobileApps
-
getVersion
public Optional<Integer> getVersion()
“Version of the device configuration.”- Returns:
- property version
-
withVersion
public ManagedDeviceMobileAppConfiguration withVersion(Integer 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.“Version of the device configuration.”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public ManagedDeviceMobileAppConfiguration withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public ManagedDeviceMobileAppConfigurationAssignmentCollectionRequest getAssignments()
“The list of group assignemenets for app configration.”- Returns:
- navigational property assignments
-
getDeviceStatuses
public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionRequest getDeviceStatuses()
“List of ManagedDeviceMobileAppConfigurationDeviceStatus.”- Returns:
- navigational property deviceStatuses
-
getDeviceStatusSummary
public ManagedDeviceMobileAppConfigurationDeviceSummaryRequest getDeviceStatusSummary()
“App configuration device status summary.”- Returns:
- navigational property deviceStatusSummary
-
getUserStatuses
public ManagedDeviceMobileAppConfigurationUserStatusCollectionRequest getUserStatuses()
“List of ManagedDeviceMobileAppConfigurationUserStatus.”- Returns:
- navigational property userStatuses
-
getUserStatusSummary
public ManagedDeviceMobileAppConfigurationUserSummaryRequest getUserStatusSummary()
“App configuration user status summary.”- Returns:
- navigational property userStatusSummary
-
withAssignments
public ManagedDeviceMobileAppConfiguration withAssignments(List<ManagedDeviceMobileAppConfigurationAssignment> assignments)
Returns an immutable copy ofthiswith just theassignmentsfield 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 group assignemenets for app configration.”
- Parameters:
assignments- new value ofassignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassignmentsfield changed
-
withDeviceStatuses
public ManagedDeviceMobileAppConfiguration withDeviceStatuses(List<ManagedDeviceMobileAppConfigurationDeviceStatus> deviceStatuses)
Returns an immutable copy ofthiswith just thedeviceStatusesfield 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 ManagedDeviceMobileAppConfigurationDeviceStatus.”
- Parameters:
deviceStatuses- new value ofdeviceStatusesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceStatusesfield changed
-
withDeviceStatusSummary
public ManagedDeviceMobileAppConfiguration withDeviceStatusSummary(ManagedDeviceMobileAppConfigurationDeviceSummary deviceStatusSummary)
Returns an immutable copy ofthiswith just thedeviceStatusSummaryfield 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.“App configuration device status summary.”
- Parameters:
deviceStatusSummary- new value ofdeviceStatusSummaryfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceStatusSummaryfield changed
-
withUserStatuses
public ManagedDeviceMobileAppConfiguration withUserStatuses(List<ManagedDeviceMobileAppConfigurationUserStatus> userStatuses)
Returns an immutable copy ofthiswith just theuserStatusesfield 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 ManagedDeviceMobileAppConfigurationUserStatus.”
- Parameters:
userStatuses- new value ofuserStatusesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserStatusesfield changed
-
withUserStatusSummary
public ManagedDeviceMobileAppConfiguration withUserStatusSummary(ManagedDeviceMobileAppConfigurationUserSummary userStatusSummary)
Returns an immutable copy ofthiswith just theuserStatusSummaryfield 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.“App configuration user status summary.”
- Parameters:
userStatusSummary- new value ofuserStatusSummaryfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserStatusSummaryfield changed
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagedDeviceMobileAppConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedDeviceMobileAppConfiguration 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<ManagedDeviceMobileAppConfigurationAssignment> assignments)
-
-