Package odata.msgraph.client.beta.entity
Class DeviceAndAppManagementAssignmentFilter
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceAndAppManagementAssignmentFilter
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
PayloadCompatibleAssignmentFilter
public class DeviceAndAppManagementAssignmentFilter extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“A class containing the properties used for Assignment Filter.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceAndAppManagementAssignmentFilter.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected DevicePlatformTypeplatformprotected List<String>roleScopeTagsprotected StringroleScopeTagsNextLinkprotected Stringrule-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceAndAppManagementAssignmentFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceAndAppManagementAssignmentFilter.BuilderbuilderDeviceAndAppManagementAssignmentFilter()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<OffsetDateTime>getCreatedDateTime()“Creation time of the Assignment Filter.”Optional<String>getDescription()“Description of the Assignment Filter.”Optional<String>getDisplayName()“DisplayName of the Assignment Filter.”Optional<OffsetDateTime>getLastModifiedDateTime()“Last modified time of the Assignment Filter.”Optional<DevicePlatformType>getPlatform()“Platform type of the devices on which the Assignment Filter will be applicable.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTags()“RoleScopeTags of the Assignment Filter.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTags(com.github.davidmoten.odata.client.HttpRequestOptions options)“RoleScopeTags of the Assignment Filter.”Optional<String>getRule()“Rule definition of the Assignment Filter.”com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<AssignmentFilterSupportedProperty>getSupportedProperties()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceAndAppManagementAssignmentFilterpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceAndAppManagementAssignmentFilterput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceAndAppManagementAssignmentFilterwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.DeviceAndAppManagementAssignmentFilterwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceAndAppManagementAssignmentFilterwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceAndAppManagementAssignmentFilterwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.DeviceAndAppManagementAssignmentFilterwithPlatform(DevicePlatformType platform)Returns an immutable copy ofthiswith just theplatformfield changed.DeviceAndAppManagementAssignmentFilterwithRoleScopeTags(List<String> roleScopeTags)Returns an immutable copy ofthiswith just theroleScopeTagsfield changed.DeviceAndAppManagementAssignmentFilterwithRule(String rule)Returns an immutable copy ofthiswith just therulefield changed.DeviceAndAppManagementAssignmentFilterwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
platform
protected DevicePlatformType platform
-
roleScopeTagsNextLink
protected String roleScopeTagsNextLink
-
rule
protected String rule
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceAndAppManagementAssignmentFilter
public static DeviceAndAppManagementAssignmentFilter.Builder builderDeviceAndAppManagementAssignmentFilter()
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“Creation time of the Assignment Filter.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public DeviceAndAppManagementAssignmentFilter 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.“Creation time of the Assignment Filter.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“Description of the Assignment Filter.”- Returns:
- property description
-
withDescription
public DeviceAndAppManagementAssignmentFilter 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.“Description of the Assignment Filter.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“DisplayName of the Assignment Filter.”- Returns:
- property displayName
-
withDisplayName
public DeviceAndAppManagementAssignmentFilter 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.“DisplayName of the Assignment Filter.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“Last modified time of the Assignment Filter.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public DeviceAndAppManagementAssignmentFilter 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.“Last modified time of the Assignment Filter.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getPlatform
public Optional<DevicePlatformType> getPlatform()
“Platform type of the devices on which the Assignment Filter will be applicable.”- Returns:
- property platform
-
withPlatform
public DeviceAndAppManagementAssignmentFilter withPlatform(DevicePlatformType platform)
Returns an immutable copy ofthiswith just theplatformfield 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.“Platform type of the devices on which the Assignment Filter will be applicable.”
- Parameters:
platform- new value ofplatformfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theplatformfield changed
-
getRoleScopeTags
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTags()
“RoleScopeTags of the Assignment Filter.”- Returns:
- property roleScopeTags
-
withRoleScopeTags
public DeviceAndAppManagementAssignmentFilter withRoleScopeTags(List<String> roleScopeTags)
Returns an immutable copy ofthiswith just theroleScopeTagsfield 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.“RoleScopeTags of the Assignment Filter.”
- Parameters:
roleScopeTags- new value ofroleScopeTagsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagsfield changed
-
getRoleScopeTags
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
“RoleScopeTags of the Assignment Filter.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTags
-
getRule
public Optional<String> getRule()
“Rule definition of the Assignment Filter.”- Returns:
- property rule
-
withRule
public DeviceAndAppManagementAssignmentFilter withRule(String rule)
Returns an immutable copy ofthiswith just therulefield 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.“Rule definition of the Assignment Filter.”
- Parameters:
rule- new value ofrulefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therulefield changed
-
withUnmappedField
public DeviceAndAppManagementAssignmentFilter 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 DeviceAndAppManagementAssignmentFilter patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceAndAppManagementAssignmentFilter put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
getSupportedProperties
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<AssignmentFilterSupportedProperty> getSupportedProperties()
-
-