Package com.smartsheet.api.models
Class NumberObjectValue
- java.lang.Object
-
- com.smartsheet.api.models.NumberObjectValue
-
- All Implemented Interfaces:
ObjectValue
,PrimitiveObjectValue<java.lang.Number>
public class NumberObjectValue extends java.lang.Object implements PrimitiveObjectValue<java.lang.Number>
-
-
Constructor Summary
Constructors Constructor Description NumberObjectValue()
NumberObjectValue(java.lang.Number value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectValueType
getObjectType()
Get the objectValue typejava.lang.Number
getValue()
void
serialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator)
NumberObjectValue
setValue(java.lang.Number value)
Set the Value
-
-
-
Method Detail
-
getValue
public java.lang.Number getValue()
- Specified by:
getValue
in interfacePrimitiveObjectValue<java.lang.Number>
-
setValue
public NumberObjectValue setValue(java.lang.Number value)
Set the Value- Specified by:
setValue
in interfacePrimitiveObjectValue<java.lang.Number>
-
serialize
public void serialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator) throws java.io.IOException
- Specified by:
serialize
in interfacePrimitiveObjectValue<java.lang.Number>
- Throws:
java.io.IOException
-
getObjectType
public ObjectValueType getObjectType()
Description copied from interface:ObjectValue
Get the objectValue type- Specified by:
getObjectType
in interfaceObjectValue
- Returns:
- objectType;
-
-