Package com.hellosign.openapi.model
Class TemplateResponseCustomField
- java.lang.Object
-
- com.hellosign.openapi.model.TemplateResponseCustomField
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class TemplateResponseCustomField extends java.lang.Object
TemplateResponseCustomField
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TemplateResponseCustomField.TypeEnum
The type of this Custom Field.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JSON_PROPERTY_API_ID
static java.lang.String
JSON_PROPERTY_AVG_TEXT_LENGTH
static java.lang.String
JSON_PROPERTY_FONT_FAMILY
static java.lang.String
JSON_PROPERTY_GROUP
static java.lang.String
JSON_PROPERTY_HEIGHT
static java.lang.String
JSON_PROPERTY_IS_MULTILINE
static java.lang.String
JSON_PROPERTY_NAME
static java.lang.String
JSON_PROPERTY_ORIGINAL_FONT_SIZE
static java.lang.String
JSON_PROPERTY_REQUIRED
static java.lang.String
JSON_PROPERTY_TYPE
static java.lang.String
JSON_PROPERTY_WIDTH
static java.lang.String
JSON_PROPERTY_X
static java.lang.String
JSON_PROPERTY_Y
-
Constructor Summary
Constructors Constructor Description TemplateResponseCustomField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateResponseCustomField
apiId(java.lang.String apiId)
TemplateResponseCustomField
avgTextLength(TemplateResponseFieldAvgTextLength avgTextLength)
java.util.Map<java.lang.String,java.lang.Object>
createFormData()
boolean
equals(java.lang.Object o)
Return true if this TemplateResponseCustomField object is equal to o.TemplateResponseCustomField
fontFamily(java.lang.String fontFamily)
java.lang.String
getApiId()
The unique ID for this field.TemplateResponseFieldAvgTextLength
getAvgTextLength()
Get avgTextLengthjava.lang.String
getFontFamily()
Font family used in this form field's text.java.lang.String
getGroup()
The name of the group this field is in.java.lang.Integer
getHeight()
The height in pixels of this form field.java.lang.Boolean
getIsMultiline()
Whether this form field is multiline text.java.lang.String
getName()
The name of the Custom Field.java.lang.Integer
getOriginalFontSize()
Original font size used in this form field's text.java.lang.Boolean
getRequired()
Boolean showing whether or not this field is required.TemplateResponseCustomField.TypeEnum
getType()
The type of this Custom Field.java.lang.Integer
getWidth()
The width in pixels of this form field.java.lang.Integer
getX()
The horizontal offset in pixels for this form field.java.lang.Integer
getY()
The vertical offset in pixels for this form field.TemplateResponseCustomField
group(java.lang.String group)
int
hashCode()
TemplateResponseCustomField
height(java.lang.Integer height)
TemplateResponseCustomField
isMultiline(java.lang.Boolean isMultiline)
TemplateResponseCustomField
name(java.lang.String name)
TemplateResponseCustomField
originalFontSize(java.lang.Integer originalFontSize)
TemplateResponseCustomField
required(java.lang.Boolean required)
void
setApiId(java.lang.String apiId)
void
setAvgTextLength(TemplateResponseFieldAvgTextLength avgTextLength)
void
setFontFamily(java.lang.String fontFamily)
void
setGroup(java.lang.String group)
void
setHeight(java.lang.Integer height)
void
setIsMultiline(java.lang.Boolean isMultiline)
void
setName(java.lang.String name)
void
setOriginalFontSize(java.lang.Integer originalFontSize)
void
setRequired(java.lang.Boolean required)
void
setType(TemplateResponseCustomField.TypeEnum type)
void
setWidth(java.lang.Integer width)
void
setX(java.lang.Integer x)
void
setY(java.lang.Integer y)
java.lang.String
toString()
TemplateResponseCustomField
type(TemplateResponseCustomField.TypeEnum type)
TemplateResponseCustomField
width(java.lang.Integer width)
TemplateResponseCustomField
x(java.lang.Integer x)
TemplateResponseCustomField
y(java.lang.Integer y)
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final java.lang.String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_X
public static final java.lang.String JSON_PROPERTY_X
- See Also:
- Constant Field Values
-
JSON_PROPERTY_Y
public static final java.lang.String JSON_PROPERTY_Y
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIDTH
public static final java.lang.String JSON_PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEIGHT
public static final java.lang.String JSON_PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUIRED
public static final java.lang.String JSON_PROPERTY_REQUIRED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_API_ID
public static final java.lang.String JSON_PROPERTY_API_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GROUP
public static final java.lang.String JSON_PROPERTY_GROUP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AVG_TEXT_LENGTH
public static final java.lang.String JSON_PROPERTY_AVG_TEXT_LENGTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_MULTILINE
public static final java.lang.String JSON_PROPERTY_IS_MULTILINE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ORIGINAL_FONT_SIZE
public static final java.lang.String JSON_PROPERTY_ORIGINAL_FONT_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FONT_FAMILY
public static final java.lang.String JSON_PROPERTY_FONT_FAMILY
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public TemplateResponseCustomField name(java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
The name of the Custom Field.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
type
public TemplateResponseCustomField type(TemplateResponseCustomField.TypeEnum type)
-
getType
@Nullable public TemplateResponseCustomField.TypeEnum getType()
The type of this Custom Field. Only `text` and `checkbox` are currently supported.- Returns:
- type
-
setType
public void setType(TemplateResponseCustomField.TypeEnum type)
-
x
public TemplateResponseCustomField x(java.lang.Integer x)
-
getX
@Nullable public java.lang.Integer getX()
The horizontal offset in pixels for this form field.- Returns:
- x
-
setX
public void setX(java.lang.Integer x)
-
y
public TemplateResponseCustomField y(java.lang.Integer y)
-
getY
@Nullable public java.lang.Integer getY()
The vertical offset in pixels for this form field.- Returns:
- y
-
setY
public void setY(java.lang.Integer y)
-
width
public TemplateResponseCustomField width(java.lang.Integer width)
-
getWidth
@Nullable public java.lang.Integer getWidth()
The width in pixels of this form field.- Returns:
- width
-
setWidth
public void setWidth(java.lang.Integer width)
-
height
public TemplateResponseCustomField height(java.lang.Integer height)
-
getHeight
@Nullable public java.lang.Integer getHeight()
The height in pixels of this form field.- Returns:
- height
-
setHeight
public void setHeight(java.lang.Integer height)
-
required
public TemplateResponseCustomField required(java.lang.Boolean required)
-
getRequired
@Nullable public java.lang.Boolean getRequired()
Boolean showing whether or not this field is required.- Returns:
- required
-
setRequired
public void setRequired(java.lang.Boolean required)
-
apiId
public TemplateResponseCustomField apiId(java.lang.String apiId)
-
getApiId
@Nullable public java.lang.String getApiId()
The unique ID for this field.- Returns:
- apiId
-
setApiId
public void setApiId(java.lang.String apiId)
-
group
public TemplateResponseCustomField group(java.lang.String group)
-
getGroup
@Nullable public java.lang.String getGroup()
The name of the group this field is in. If this field is not a group, this defaults to `null`.- Returns:
- group
-
setGroup
public void setGroup(java.lang.String group)
-
avgTextLength
public TemplateResponseCustomField avgTextLength(TemplateResponseFieldAvgTextLength avgTextLength)
-
getAvgTextLength
@Nullable public TemplateResponseFieldAvgTextLength getAvgTextLength()
Get avgTextLength- Returns:
- avgTextLength
-
setAvgTextLength
public void setAvgTextLength(TemplateResponseFieldAvgTextLength avgTextLength)
-
isMultiline
public TemplateResponseCustomField isMultiline(java.lang.Boolean isMultiline)
-
getIsMultiline
@Nullable public java.lang.Boolean getIsMultiline()
Whether this form field is multiline text.- Returns:
- isMultiline
-
setIsMultiline
public void setIsMultiline(java.lang.Boolean isMultiline)
-
originalFontSize
public TemplateResponseCustomField originalFontSize(java.lang.Integer originalFontSize)
-
getOriginalFontSize
@Nullable public java.lang.Integer getOriginalFontSize()
Original font size used in this form field's text.- Returns:
- originalFontSize
-
setOriginalFontSize
public void setOriginalFontSize(java.lang.Integer originalFontSize)
-
fontFamily
public TemplateResponseCustomField fontFamily(java.lang.String fontFamily)
-
getFontFamily
@Nullable public java.lang.String getFontFamily()
Font family used in this form field's text.- Returns:
- fontFamily
-
setFontFamily
public void setFontFamily(java.lang.String fontFamily)
-
equals
public boolean equals(java.lang.Object o)
Return true if this TemplateResponseCustomField object is equal to o.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
createFormData
public java.util.Map<java.lang.String,java.lang.Object> createFormData() throws ApiException
- Throws:
ApiException
-
-