public class Hat extends AbstractModel
| Constructor and Description | 
|---|
| Hat() | 
| Hat(Hat source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| AttributeItem | getColor()Get Hat color. | 
| AttributeItem | getStyle()Get Hat wearing status information. | 
| void | setColor(AttributeItem Color)Set Hat color. | 
| void | setStyle(AttributeItem Style)Set Hat wearing status information. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic Hat()
public Hat(Hat source)
public AttributeItem getStyle()
public void setStyle(AttributeItem Style)
Style - Hat wearing status information.
The `Type` values of the `AttributeItem` include: 0: no hat; 1: general hat; 2: helmet; 3: security guard hat.public AttributeItem getColor()
public void setColor(AttributeItem Color)
Color - Hat color.
The `Type` values of the `AttributeItem` include: 0: no hat; 1: red; 2: yellow; 3: blue; 4: black; 5: gray; 6: mixed colors.Copyright © 2023. All rights reserved.