public abstract class ShieldSprites extends DirectionsJsonObject implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ShieldSprites.Builder
This builder can be used to set the values describing the
ShieldSprites. |
| Constructor and Description |
|---|
ShieldSprites() |
| Modifier and Type | Method and Description |
|---|---|
static ShieldSprites.Builder |
builder()
Create a new instance of this class by using the
ShieldSprites.Builder class. |
static ShieldSprites |
fromJson(java.lang.String json)
Create a new instance of this class by passing in a formatted valid JSON String.
|
abstract java.util.List<ShieldSprite> |
sprites()
List of
ShieldSprite. |
abstract ShieldSprites.Builder |
toBuilder()
Convert the current
ShieldSprites to its builder holding the currently assigned
values. |
java.lang.String |
toJson()
This takes the currently defined values found inside the
ShieldSprites instance and
converts it to a ShieldSprites string. |
static com.google.gson.TypeAdapter<ShieldSprites> |
typeAdapter(com.google.gson.Gson gson)
Gson type adapter for parsing Gson to this class.
|
getUnrecognizedJsonProperties, getUnrecognizedPropertiesNames, getUnrecognizedPropertypublic static ShieldSprites.Builder builder()
ShieldSprites.Builder class.ShieldSprites.Builder for creating a new instance@NonNull public static ShieldSprites fromJson(@NonNull java.lang.String json)
json - a formatted valid JSON string defining a shield sprite@NonNull public abstract java.util.List<ShieldSprite> sprites()
ShieldSprite.public abstract ShieldSprites.Builder toBuilder()
ShieldSprites to its builder holding the currently assigned
values. This allows you to modify a single property and then rebuild the object resulting in
an updated and modified ShieldSprites.ShieldSprites.Builder with the same values set to match the ones defined
in this ShieldSprites@NonNull public java.lang.String toJson()
ShieldSprites instance and
converts it to a ShieldSprites string.toJson in class DirectionsJsonObjectShieldSpritespublic static com.google.gson.TypeAdapter<ShieldSprites> typeAdapter(com.google.gson.Gson gson)
gson - the built Gson object