Class AssignmentFilterEvaluateRequest
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AssignmentFilterEvaluateRequest
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AssignmentFilterEvaluateRequest extends Object implements com.github.davidmoten.odata.client.ODataType
“Request for assignment filter evaluation for devices.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssignmentFilterEvaluateRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected List<String>orderByprotected StringorderByNextLinkprotected DevicePlatformTypeplatformprotected Stringruleprotected Integerskipprotected Integertopprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAssignmentFilterEvaluateRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssignmentFilterEvaluateRequest.Builderbuilder()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.CollectionPage<String>getOrderBy()“Order the devices should be sorted in.com.github.davidmoten.odata.client.CollectionPage<String>getOrderBy(com.github.davidmoten.odata.client.HttpRequestOptions options)“Order the devices should be sorted in.Optional<DevicePlatformType>getPlatform()“Platform type of the devices on which the Assignment Filter will be applicable.”Optional<String>getRule()“Rule definition of the Assignment Filter.”Optional<Integer>getSkip()“Number of records to skip.Optional<Integer>getTop()“Limit of records per request.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AssignmentFilterEvaluateRequestwithPlatform(DevicePlatformType platform)Returns an immutable copy ofthiswith just theplatformfield changed.AssignmentFilterEvaluateRequestwithRule(String rule)Returns an immutable copy ofthiswith just therulefield changed.AssignmentFilterEvaluateRequestwithSkip(Integer skip)Returns an immutable copy ofthiswith just theskipfield changed.AssignmentFilterEvaluateRequestwithTop(Integer top)Returns an immutable copy ofthiswith just thetopfield changed.AssignmentFilterEvaluateRequestwithUnmappedField(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
-
orderByNextLink
protected String orderByNextLink
-
platform
protected DevicePlatformType platform
-
rule
protected String rule
-
skip
protected Integer skip
-
top
protected Integer top
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getOrderBy
public com.github.davidmoten.odata.client.CollectionPage<String> getOrderBy()
“Order the devices should be sorted in. Default is ascending on device name.”- Returns:
- property orderBy
-
getOrderBy
public com.github.davidmoten.odata.client.CollectionPage<String> getOrderBy(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Order the devices should be sorted in. Default is ascending on device name.”- Parameters:
options- specify connect and read timeouts- Returns:
- property orderBy
-
getPlatform
public Optional<DevicePlatformType> getPlatform()
“Platform type of the devices on which the Assignment Filter will be applicable.”- Returns:
- property platform
-
withPlatform
public AssignmentFilterEvaluateRequest 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
-
getRule
public Optional<String> getRule()
“Rule definition of the Assignment Filter.”- Returns:
- property rule
-
withRule
public AssignmentFilterEvaluateRequest 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
-
getSkip
public Optional<Integer> getSkip()
“Number of records to skip. Default value is 0”- Returns:
- property skip
-
withSkip
public AssignmentFilterEvaluateRequest withSkip(Integer skip)
Returns an immutable copy ofthiswith just theskipfield 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.“Number of records to skip. Default value is 0”
- Parameters:
skip- new value ofskipfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theskipfield changed
-
getTop
public Optional<Integer> getTop()
“Limit of records per request. Default value is 100, if provided less than 0 or greater than 100”- Returns:
- property top
-
withTop
public AssignmentFilterEvaluateRequest withTop(Integer top)
Returns an immutable copy ofthiswith just thetopfield 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.“Limit of records per request. Default value is 100, if provided less than 0 or greater than 100”
- Parameters:
top- new value oftopfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetopfield changed
-
withUnmappedField
public AssignmentFilterEvaluateRequest 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
-
builder
public static AssignmentFilterEvaluateRequest.Builder builder()
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
-
-