Class UnaryManagementConditionExpression
- java.lang.Object
-
- odata.msgraph.client.beta.complex.ManagementConditionExpression
-
- odata.msgraph.client.beta.complex.ManagementConditionExpressionModel
-
- odata.msgraph.client.beta.complex.UnaryManagementConditionExpression
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class UnaryManagementConditionExpression extends ManagementConditionExpressionModel implements com.github.davidmoten.odata.client.ODataType
“A management condition expression that is evaluated using a unary operation.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnaryManagementConditionExpression.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ManagementConditionExpressionModeloperandprotected UnaryManagementConditionExpressionOperatorTypeoperator-
Fields inherited from class odata.msgraph.client.beta.complex.ManagementConditionExpression
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnaryManagementConditionExpression()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnaryManagementConditionExpression.BuilderbuilderUnaryManagementConditionExpression()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ManagementConditionExpressionModel>getOperand()“The operand of the unary operation.”Optional<UnaryManagementConditionExpressionOperatorType>getOperator()“The operator used in the evaluation of the unary operation.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()UnaryManagementConditionExpressionwithOperand(ManagementConditionExpressionModel operand)Returns an immutable copy ofthiswith just theoperandfield changed.UnaryManagementConditionExpressionwithOperator(UnaryManagementConditionExpressionOperatorType operator)Returns an immutable copy ofthiswith just theoperatorfield changed.UnaryManagementConditionExpressionwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
operand
protected ManagementConditionExpressionModel operand
-
operator
protected UnaryManagementConditionExpressionOperatorType operator
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagementConditionExpressionModel
-
getOperand
public Optional<ManagementConditionExpressionModel> getOperand()
“The operand of the unary operation.”- Returns:
- property operand
-
withOperand
public UnaryManagementConditionExpression withOperand(ManagementConditionExpressionModel operand)
Returns an immutable copy ofthiswith just theoperandfield 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 operand of the unary operation.”
- Parameters:
operand- new value ofoperandfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperandfield changed
-
getOperator
public Optional<UnaryManagementConditionExpressionOperatorType> getOperator()
“The operator used in the evaluation of the unary operation.”- Returns:
- property operator
-
withOperator
public UnaryManagementConditionExpression withOperator(UnaryManagementConditionExpressionOperatorType 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 unary operation.”
- Parameters:
operator- new value ofoperatorfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperatorfield changed
-
withUnmappedField
public UnaryManagementConditionExpression 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
-
builderUnaryManagementConditionExpression
public static UnaryManagementConditionExpression.Builder builderUnaryManagementConditionExpression()
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
-
-