Class AssignmentFilterSupportedProperty

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class AssignmentFilterSupportedProperty
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Represents the information about the property which is supported in crafting the rule of AssignmentFilter.”
    • 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
      • dataType

        protected String dataType
      • isCollection

        protected Boolean isCollection
      • propertyRegexConstraint

        protected String propertyRegexConstraint
      • supportedOperatorsNextLink

        protected String supportedOperatorsNextLink
      • supportedValues

        protected List<String> supportedValues
      • supportedValuesNextLink

        protected String supportedValuesNextLink
    • Constructor Detail

      • AssignmentFilterSupportedProperty

        protected AssignmentFilterSupportedProperty()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getDataType

        public Optional<String> getDataType()
        “The data type of the property.”
        Returns:
        property dataType
      • withDataType

        public AssignmentFilterSupportedProperty withDataType​(String dataType)
        Returns an immutable copy of this with just the dataType 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.

        “The data type of the property.”

        Parameters:
        dataType - new value of dataType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the dataType field changed
      • getIsCollection

        public Optional<Boolean> getIsCollection()
        “Indicates whether the property is a collection type or not.”
        Returns:
        property isCollection
      • withIsCollection

        public AssignmentFilterSupportedProperty withIsCollection​(Boolean isCollection)
        Returns an immutable copy of this with just the isCollection 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.

        “Indicates whether the property is a collection type or not.”

        Parameters:
        isCollection - new value of isCollection field (as defined in service metadata)
        Returns:
        immutable copy of this with just the isCollection field changed
      • getName

        public Optional<String> getName()
        “Name of the property.”
        Returns:
        property name
      • withName

        public AssignmentFilterSupportedProperty withName​(String name)
        Returns an immutable copy of this with just the name 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.

        “Name of the property.”

        Parameters:
        name - new value of name field (as defined in service metadata)
        Returns:
        immutable copy of this with just the name field changed
      • getPropertyRegexConstraint

        public Optional<String> getPropertyRegexConstraint()
        “Regex string to do validation on the property value.”
        Returns:
        property propertyRegexConstraint
      • withPropertyRegexConstraint

        public AssignmentFilterSupportedProperty withPropertyRegexConstraint​(String propertyRegexConstraint)
        Returns an immutable copy of this with just the propertyRegexConstraint 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.

        “Regex string to do validation on the property value.”

        Parameters:
        propertyRegexConstraint - new value of propertyRegexConstraint field (as defined in service metadata)
        Returns:
        immutable copy of this with just the propertyRegexConstraint field changed
      • getSupportedOperators

        public com.github.davidmoten.odata.client.CollectionPage<AssignmentFilterOperator> getSupportedOperators()
        “List of all supported operators on this property.”
        Returns:
        property supportedOperators
      • getSupportedOperators

        public com.github.davidmoten.odata.client.CollectionPage<AssignmentFilterOperator> getSupportedOperators​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of all supported operators on this property.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property supportedOperators
      • getSupportedValues

        public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedValues()
        “List of all supported values for this propery, empty if everything is supported.”
        Returns:
        property supportedValues
      • getSupportedValues

        public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedValues​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of all supported values for this propery, empty if everything is supported.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property supportedValues
      • 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 AssignmentFilterSupportedProperty.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