An emoji icon object.
This model accepts additional fields of type Object.
Emoji
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
Type |
Type3 |
Required | Always "emoji". | Type3 getType() | setType(Type3 type) |
Emoji |
String |
Required | The emoji character. | String getEmoji() | setEmoji(String emoji) |
AdditionalProperties |
Map<String, Object> |
Optional | - | Object getAdditionalProperty(String key) | additionalProperty(String key, Object value) |
import com.notion.api.ApiHelper;
import com.notion.api.models.Emoji;
import com.notion.api.models.Type3;
import java.io.IOException;
Emoji emoji = new Emoji.Builder(
Type3.EMOJI,
"emoji4"
)
.additionalProperty("exampleAdditionalProperty", ApiHelper.deserialize("{\"key1\":\"val1\",\"key2\":\"val2\"}"))
.build();