Class 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.”
    • 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
    • Constructor Detail

      • AssignmentFilterEvaluateRequest

        protected AssignmentFilterEvaluateRequest()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • 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 of this with just the platform field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of platform field (as defined in service metadata)
        Returns:
        immutable copy of this with just the platform field 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 of this with just the rule field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of rule field (as defined in service metadata)
        Returns:
        immutable copy of this with just the rule field 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 of this with just the skip field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of skip field (as defined in service metadata)
        Returns:
        immutable copy of this with just the skip field 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 of this with just the top field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of top field (as defined in service metadata)
        Returns:
        immutable copy of this with just the top field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.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