Package com.guinetik.examples
Class PokeApiExample.TypeDetailResponse
- java.lang.Object
-
- com.guinetik.examples.PokeApiExample.TypeDetailResponse
-
- Enclosing class:
- PokeApiExample
public static class PokeApiExample.TypeDetailResponse extends Object
Response for the Type details endpoint
-
-
Constructor Summary
Constructors Constructor Description TypeDetailResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PokeApiExample.DamageRelationsgetDamageRelations()intgetId()List<PokeApiExample.NamedResource>getMoves()StringgetName()voidsetDamageRelations(PokeApiExample.DamageRelations damageRelations)voidsetId(int id)voidsetMoves(List<PokeApiExample.NamedResource> moves)voidsetName(String name)
-
-
-
Method Detail
-
getId
public int getId()
-
setId
public void setId(int id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDamageRelations
public PokeApiExample.DamageRelations getDamageRelations()
-
setDamageRelations
public void setDamageRelations(PokeApiExample.DamageRelations damageRelations)
-
getMoves
public List<PokeApiExample.NamedResource> getMoves()
-
setMoves
public void setMoves(List<PokeApiExample.NamedResource> moves)
-
-