Class DeviceAndAppManagementAssignmentTarget
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceAndAppManagementAssignmentTarget
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AllDevicesAssignmentTarget,AllLicensedUsersAssignmentTarget,ConfigurationManagerCollectionAssignmentTarget,GroupAssignmentTarget
public class DeviceAndAppManagementAssignmentTarget extends Object implements com.github.davidmoten.odata.client.ODataType
“Base type for assignment targets.”
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdeviceAndAppManagementAssignmentFilterIdprotected DeviceAndAppManagementAssignmentFilterTypedeviceAndAppManagementAssignmentFilterTypeprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceAndAppManagementAssignmentTarget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getDeviceAndAppManagementAssignmentFilterId()“The Id of the filter for the target assignment.”Optional<DeviceAndAppManagementAssignmentFilterType>getDeviceAndAppManagementAssignmentFilterType()“The type of filter of the target assignment i.e.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceAndAppManagementAssignmentTargetwithDeviceAndAppManagementAssignmentFilterId(String deviceAndAppManagementAssignmentFilterId)Returns an immutable copy ofthiswith just thedeviceAndAppManagementAssignmentFilterIdfield changed.DeviceAndAppManagementAssignmentTargetwithDeviceAndAppManagementAssignmentFilterType(DeviceAndAppManagementAssignmentFilterType deviceAndAppManagementAssignmentFilterType)Returns an immutable copy ofthiswith just thedeviceAndAppManagementAssignmentFilterTypefield changed.DeviceAndAppManagementAssignmentTargetwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
deviceAndAppManagementAssignmentFilterId
protected String deviceAndAppManagementAssignmentFilterId
-
deviceAndAppManagementAssignmentFilterType
protected DeviceAndAppManagementAssignmentFilterType deviceAndAppManagementAssignmentFilterType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeviceAndAppManagementAssignmentFilterId
public Optional<String> getDeviceAndAppManagementAssignmentFilterId()
“The Id of the filter for the target assignment.”- Returns:
- property deviceAndAppManagementAssignmentFilterId
-
withDeviceAndAppManagementAssignmentFilterId
public DeviceAndAppManagementAssignmentTarget withDeviceAndAppManagementAssignmentFilterId(String deviceAndAppManagementAssignmentFilterId)
Returns an immutable copy ofthiswith just thedeviceAndAppManagementAssignmentFilterIdfield 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 Id of the filter for the target assignment.”
- Parameters:
deviceAndAppManagementAssignmentFilterId- new value ofdeviceAndAppManagementAssignmentFilterIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceAndAppManagementAssignmentFilterIdfield changed
-
getDeviceAndAppManagementAssignmentFilterType
public Optional<DeviceAndAppManagementAssignmentFilterType> getDeviceAndAppManagementAssignmentFilterType()
“The type of filter of the target assignment i.e. Exclude or Include.”- Returns:
- property deviceAndAppManagementAssignmentFilterType
-
withDeviceAndAppManagementAssignmentFilterType
public DeviceAndAppManagementAssignmentTarget withDeviceAndAppManagementAssignmentFilterType(DeviceAndAppManagementAssignmentFilterType deviceAndAppManagementAssignmentFilterType)
Returns an immutable copy ofthiswith just thedeviceAndAppManagementAssignmentFilterTypefield 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 filter of the target assignment i.e. Exclude or Include.”
- Parameters:
deviceAndAppManagementAssignmentFilterType- new value ofdeviceAndAppManagementAssignmentFilterTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceAndAppManagementAssignmentFilterTypefield changed
-
withUnmappedField
public DeviceAndAppManagementAssignmentTarget withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
-