Class AssignmentFilterSupportedProperty
- java.lang.Object
-
- odata.msgraph.client.beta.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssignmentFilterSupportedProperty.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdataTypeprotected BooleanisCollectionprotected Stringnameprotected StringodataTypeprotected StringpropertyRegexConstraintprotected List<AssignmentFilterOperator>supportedOperatorsprotected StringsupportedOperatorsNextLinkprotected List<String>supportedValuesprotected StringsupportedValuesNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAssignmentFilterSupportedProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssignmentFilterSupportedProperty.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getDataType()“The data type of the property.”Optional<Boolean>getIsCollection()“Indicates whether the property is a collection type or not.”Optional<String>getName()“Name of the property.”Optional<String>getPropertyRegexConstraint()“Regex string to do validation on the property value.”com.github.davidmoten.odata.client.CollectionPage<AssignmentFilterOperator>getSupportedOperators()“List of all supported operators on this property.”com.github.davidmoten.odata.client.CollectionPage<AssignmentFilterOperator>getSupportedOperators(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of all supported operators on this property.”com.github.davidmoten.odata.client.CollectionPage<String>getSupportedValues()“List of all supported values for this propery, empty if everything is supported.”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.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AssignmentFilterSupportedPropertywithDataType(String dataType)Returns an immutable copy ofthiswith just thedataTypefield changed.AssignmentFilterSupportedPropertywithIsCollection(Boolean isCollection)Returns an immutable copy ofthiswith just theisCollectionfield changed.AssignmentFilterSupportedPropertywithName(String name)Returns an immutable copy ofthiswith just thenamefield changed.AssignmentFilterSupportedPropertywithPropertyRegexConstraint(String propertyRegexConstraint)Returns an immutable copy ofthiswith just thepropertyRegexConstraintfield changed.AssignmentFilterSupportedPropertywithUnmappedField(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
-
dataType
protected String dataType
-
isCollection
protected Boolean isCollection
-
name
protected String name
-
propertyRegexConstraint
protected String propertyRegexConstraint
-
supportedOperators
protected List<AssignmentFilterOperator> supportedOperators
-
supportedOperatorsNextLink
protected String supportedOperatorsNextLink
-
supportedValuesNextLink
protected String supportedValuesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.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 ofthiswith just thedataTypefield 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 data type of the property.”
- Parameters:
dataType- new value ofdataTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedataTypefield 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 ofthiswith just theisCollectionfield 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.“Indicates whether the property is a collection type or not.”
- Parameters:
isCollection- new value ofisCollectionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisCollectionfield changed
-
withName
public AssignmentFilterSupportedProperty withName(String name)
Returns an immutable copy ofthiswith just thenamefield 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.“Name of the property.”
- Parameters:
name- new value ofnamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenamefield 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 ofthiswith just thepropertyRegexConstraintfield 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.“Regex string to do validation on the property value.”
- Parameters:
propertyRegexConstraint- new value ofpropertyRegexConstraintfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepropertyRegexConstraintfield 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
-
withUnmappedField
public AssignmentFilterSupportedProperty 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 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
-
-