public interface BodyType
Modifier and Type | Interface and Description |
---|---|
static class |
BodyType.Field
The fields that represent the person object in serialized form.
|
Modifier and Type | Method and Description |
---|---|
String |
getBuild()
The build of the person's body, specified as a string.
|
String |
getEyeColor()
The eye color of the person, specified as a string.
|
String |
getHairColor()
The hair color of the person, specified as a string.
|
Float |
getHeight()
The height of the person in meters, specified as a number.
|
Float |
getWeight()
The weight of the person in kilograms, specified as a number.
|
void |
setBuild(String build)
The build of the person's body, specified as a string.
|
void |
setEyeColor(String eyeColor)
The eye color of the person, specified as a string.
|
void |
setHairColor(String hairColor)
The hair color of the person, specified as a string.
|
void |
setHeight(Float height)
The height of the person in meters, specified as a number.
|
void |
setWeight(Float weight)
The weight of the person in kilograms, specified as a number.
|
String getBuild()
void setBuild(String build)
build
- the build of the person's bodyString getEyeColor()
void setEyeColor(String eyeColor)
eyeColor
- the eye color of the personString getHairColor()
void setHairColor(String hairColor)
hairColor
- the hair color of the personFloat getHeight()
void setHeight(Float height)
height
- the height of the person in metersFloat getWeight()
void setWeight(Float weight)
weight
- weight of the person in kilogramsCopyright © 2023 WSO2. All rights reserved.