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