Class Rectangle
java.lang.Object
com.boldsign.model.Rectangle
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.8.0")
public class Rectangle
extends Object
Rectangle
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RectangleCreate an instance of Rectangle given an JSON stringGet height minimum: 1getWidth()Get width minimum: 1getX()Get x minimum: 0getY()Get y minimum: 0inthashCode()voidvoidvoidvoidtoJson()Convert an instance of Rectangle to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_X
- See Also:
-
SERIALIZED_NAME_Y
- See Also:
-
SERIALIZED_NAME_WIDTH
- See Also:
-
SERIALIZED_NAME_HEIGHT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Rectangle
public Rectangle()
-
-
Method Details
-
x
-
getX
-
setX
-
y
-
getY
-
setY
-
width
-
getWidth
-
setWidth
-
height
-
getHeight
-
setHeight
-
equals
-
hashCode
-
toString
-
createFormData
- Throws:
ApiException
-
validateJsonElement
Validates 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 Rectangle
-
fromJson
Create an instance of Rectangle given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Rectangle
- Throws:
IOException- if the JSON string is invalid with respect to Rectangle
-
toJson
-