Package com.boldsign.model
Class TextTagOffset
- java.lang.Object
-
- com.boldsign.model.TextTagOffset
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class TextTagOffset extends Object
TextTagOffset
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextTagOffset.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_OFFSET_Xstatic StringSERIALIZED_NAME_OFFSET_Y
-
Constructor Summary
Constructors Constructor Description TextTagOffset()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()booleanequals(Object o)static TextTagOffsetfromJson(String jsonString)Create an instance of TextTagOffset given an JSON stringDoublegetOffsetX()Get offsetXDoublegetOffsetY()Get offsetYinthashCode()TextTagOffsetoffsetX(Double offsetX)TextTagOffsetoffsetY(Double offsetY)voidsetOffsetX(Double offsetX)voidsetOffsetY(Double offsetY)StringtoJson()Convert an instance of TextTagOffset to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_OFFSET_X
public static final String SERIALIZED_NAME_OFFSET_X
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OFFSET_Y
public static final String SERIALIZED_NAME_OFFSET_Y
- See Also:
- Constant Field Values
-
-
Method Detail
-
offsetX
public TextTagOffset offsetX(Double offsetX)
-
setOffsetX
public void setOffsetX(Double offsetX)
-
offsetY
public TextTagOffset offsetY(Double offsetY)
-
setOffsetY
public void setOffsetY(Double offsetY)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to TextTagOffset
-
fromJson
public static TextTagOffset fromJson(String jsonString) throws IOException
Create an instance of TextTagOffset given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TextTagOffset
- Throws:
IOException- if the JSON string is invalid with respect to TextTagOffset
-
toJson
public String toJson()
Convert an instance of TextTagOffset to an JSON string- Returns:
- JSON string
-
-