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 ObjectValueTypegetObjectType()Get the objectValue typejava.lang.StringgetValue()voidserialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator)StringObjectValuesetValue(java.lang.String value)Set the Value
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
- Specified by:
getValuein interfacePrimitiveObjectValue<java.lang.String>
-
setValue
public StringObjectValue setValue(java.lang.String value)
Set the Value- Specified by:
setValuein interfacePrimitiveObjectValue<java.lang.String>
-
serialize
public void serialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator) throws java.io.IOException- Specified by:
serializein interfacePrimitiveObjectValue<java.lang.String>- Throws:
java.io.IOException
-
getObjectType
public ObjectValueType getObjectType()
Description copied from interface:ObjectValueGet the objectValue type- Specified by:
getObjectTypein interfaceObjectValue- Returns:
- objectType;
-
-