Class BinaryManagementConditionExpression
- java.lang.Object
-
- odata.msgraph.client.beta.complex.ManagementConditionExpression
-
- odata.msgraph.client.beta.complex.ManagementConditionExpressionModel
-
- odata.msgraph.client.beta.complex.BinaryManagementConditionExpression
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BinaryManagementConditionExpression extends ManagementConditionExpressionModel implements com.github.davidmoten.odata.client.ODataType
“A management condition expression that is evaluated using a binary operation.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBinaryManagementConditionExpression.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ManagementConditionExpressionModelfirstOperandprotected BinaryManagementConditionExpressionOperatorTypeoperatorprotected ManagementConditionExpressionModelsecondOperand-
Fields inherited from class odata.msgraph.client.beta.complex.ManagementConditionExpression
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBinaryManagementConditionExpression()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BinaryManagementConditionExpression.BuilderbuilderBinaryManagementConditionExpression()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ManagementConditionExpressionModel>getFirstOperand()“The first operand of the binary operation.”Optional<BinaryManagementConditionExpressionOperatorType>getOperator()“The operator used in the evaluation of the binary operation.”Optional<ManagementConditionExpressionModel>getSecondOperand()“The second operand of the binary operation.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()BinaryManagementConditionExpressionwithFirstOperand(ManagementConditionExpressionModel firstOperand)Returns an immutable copy ofthiswith just thefirstOperandfield changed.BinaryManagementConditionExpressionwithOperator(BinaryManagementConditionExpressionOperatorType operator)Returns an immutable copy ofthiswith just theoperatorfield changed.BinaryManagementConditionExpressionwithSecondOperand(ManagementConditionExpressionModel secondOperand)Returns an immutable copy ofthiswith just thesecondOperandfield changed.BinaryManagementConditionExpressionwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
firstOperand
protected ManagementConditionExpressionModel firstOperand
-
operator
protected BinaryManagementConditionExpressionOperatorType operator
-
secondOperand
protected ManagementConditionExpressionModel secondOperand
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagementConditionExpressionModel
-
getFirstOperand
public Optional<ManagementConditionExpressionModel> getFirstOperand()
“The first operand of the binary operation.”- Returns:
- property firstOperand
-
withFirstOperand
public BinaryManagementConditionExpression withFirstOperand(ManagementConditionExpressionModel firstOperand)
Returns an immutable copy ofthiswith just thefirstOperandfield 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 first operand of the binary operation.”
- Parameters:
firstOperand- new value offirstOperandfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefirstOperandfield changed
-
getOperator
public Optional<BinaryManagementConditionExpressionOperatorType> getOperator()
“The operator used in the evaluation of the binary operation.”- Returns:
- property operator
-
withOperator
public BinaryManagementConditionExpression withOperator(BinaryManagementConditionExpressionOperatorType operator)
Returns an immutable copy ofthiswith just theoperatorfield 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 operator used in the evaluation of the binary operation.”
- Parameters:
operator- new value ofoperatorfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperatorfield changed
-
getSecondOperand
public Optional<ManagementConditionExpressionModel> getSecondOperand()
“The second operand of the binary operation.”- Returns:
- property secondOperand
-
withSecondOperand
public BinaryManagementConditionExpression withSecondOperand(ManagementConditionExpressionModel secondOperand)
Returns an immutable copy ofthiswith just thesecondOperandfield 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 second operand of the binary operation.”
- Parameters:
secondOperand- new value ofsecondOperandfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecondOperandfield changed
-
withUnmappedField
public BinaryManagementConditionExpression withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classManagementConditionExpressionModel
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagementConditionExpressionModel
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagementConditionExpressionModel
-
builderBinaryManagementConditionExpression
public static BinaryManagementConditionExpression.Builder builderBinaryManagementConditionExpression()
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
-
toString
public String toString()
- Overrides:
toStringin classManagementConditionExpressionModel
-
-