1+ package me.sargunvohra.lib.pokekotlin.client
2+
3+ import me.sargunvohra.lib.pokekotlin.model.*
4+ import rx.Observable
5+
6+ interface RxPokeApi {
7+
8+ fun getBerryList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
9+
10+ fun getBerryFirmnessList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
11+
12+ fun getBerryFlavorList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
13+
14+ fun getContestTypeList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
15+
16+ fun getContestEffectList (offset : Int , limit : Int ): Observable <ApiResourceList >
17+
18+ fun getSuperContestEffectList (offset : Int , limit : Int ): Observable <ApiResourceList >
19+
20+ fun getEncounterMethodList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
21+
22+ fun getEncounterConditionList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
23+
24+ fun getEncounterConditionValueList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
25+
26+ fun getEvolutionChainList (offset : Int , limit : Int ): Observable <ApiResourceList >
27+
28+ fun getEvolutionTriggerList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
29+
30+ fun getGenerationList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
31+
32+ fun getPokedexList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
33+
34+ fun getVersionList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
35+
36+ fun getVersionGroupList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
37+
38+ fun getItemList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
39+
40+ fun getItemAttributeList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
41+
42+ fun getItemCategoryList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
43+
44+ fun getItemFlingEffectList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
45+
46+ fun getItemPocketList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
47+
48+ fun getMoveList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
49+
50+ fun getMoveAilmentList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
51+
52+ fun getMoveBattleStyleList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
53+
54+ fun getMoveCategoryList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
55+
56+ fun getMoveDamageClassList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
57+
58+ fun getMoveLearnMethodList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
59+
60+ fun getMoveTargetList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
61+
62+ fun getLocationList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
63+
64+ fun getLocationAreaList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
65+
66+ fun getPalParkAreaList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
67+
68+ fun getRegionList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
69+
70+ fun getAbilityList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
71+
72+ fun getCharacteristicList (offset : Int , limit : Int ): Observable <ApiResourceList >
73+
74+ fun getEggGroupList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
75+
76+ fun getGenderList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
77+
78+ fun getGrowthRateList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
79+
80+ fun getNatureList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
81+
82+ fun getPokeathlonStatList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
83+
84+ fun getPokemonList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
85+
86+ fun getPokemonColorList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
87+
88+ fun getPokemonFormList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
89+
90+ fun getPokemonHabitatList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
91+
92+ fun getPokemonShapeList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
93+
94+ fun getPokemonSpeciesList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
95+
96+ fun getStatList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
97+
98+ fun getTypeList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
99+
100+ fun getLanguageList (offset : Int , limit : Int ): Observable <NamedApiResourceList >
101+
102+ fun getBerry (id : Int ): Observable <Berry >
103+
104+ fun getBerryFirmness (id : Int ): Observable <BerryFirmness >
105+
106+ fun getBerryFlavor (id : Int ): Observable <BerryFlavor >
107+
108+ fun getContestType (id : Int ): Observable <ContestType >
109+
110+ fun getContestEffect (id : Int ): Observable <ContestEffect >
111+
112+ fun getSuperContestEffect (id : Int ): Observable <SuperContestEffect >
113+
114+ fun getEncounterMethod (id : Int ): Observable <EncounterMethod >
115+
116+ fun getEncounterCondition (id : Int ): Observable <EncounterCondition >
117+
118+ fun getEncounterConditionValue (id : Int ): Observable <EncounterConditionValue >
119+
120+ fun getEvolutionChain (id : Int ): Observable <EvolutionChain >
121+
122+ fun getEvolutionTrigger (id : Int ): Observable <EvolutionTrigger >
123+
124+ fun getGeneration (id : Int ): Observable <Generation >
125+
126+ fun getPokedex (id : Int ): Observable <Pokedex >
127+
128+ fun getVersion (id : Int ): Observable <Version >
129+
130+ fun getVersionGroup (id : Int ): Observable <VersionGroup >
131+
132+ fun getItem (id : Int ): Observable <Item >
133+
134+ fun getItemAttribute (id : Int ): Observable <ItemAttribute >
135+
136+ fun getItemCategory (id : Int ): Observable <ItemCategory >
137+
138+ fun getItemFlingEffect (id : Int ): Observable <ItemFlingEffect >
139+
140+ fun getItemPocket (id : Int ): Observable <ItemPocket >
141+
142+ fun getMove (id : Int ): Observable <Move >
143+
144+ fun getMoveAilment (id : Int ): Observable <MoveAilment >
145+
146+ fun getMoveBattleStyle (id : Int ): Observable <MoveBattleStyle >
147+
148+ fun getMoveCategory (id : Int ): Observable <MoveCategory >
149+
150+ fun getMoveDamageClass (id : Int ): Observable <MoveDamageClass >
151+
152+ fun getMoveLearnMethod (id : Int ): Observable <MoveLearnMethod >
153+
154+ fun getMoveTarget (id : Int ): Observable <MoveTarget >
155+
156+ fun getLocation (id : Int ): Observable <Location >
157+
158+ fun getLocationArea (id : Int ): Observable <LocationArea >
159+
160+ fun getPalParkArea (id : Int ): Observable <PalParkArea >
161+
162+ fun getRegion (id : Int ): Observable <Region >
163+
164+ fun getAbility (id : Int ): Observable <Ability >
165+
166+ fun getCharacteristic (id : Int ): Observable <Characteristic >
167+
168+ fun getEggGroup (id : Int ): Observable <EggGroup >
169+
170+ fun getGender (id : Int ): Observable <Gender >
171+
172+ fun getGrowthRate (id : Int ): Observable <GrowthRate >
173+
174+ fun getNature (id : Int ): Observable <Nature >
175+
176+ fun getPokeathlonStat (id : Int ): Observable <PokeathlonStat >
177+
178+ fun getPokemon (id : Int ): Observable <Pokemon >
179+
180+ fun getPokemonEncounterList (id : Int ): Observable <List <LocationAreaEncounter >>
181+
182+ fun getPokemonColor (id : Int ): Observable <PokemonColor >
183+
184+ fun getPokemonForm (id : Int ): Observable <PokemonForm >
185+
186+ fun getPokemonHabitat (id : Int ): Observable <PokemonHabitat >
187+
188+ fun getPokemonShape (id : Int ): Observable <PokemonShape >
189+
190+ fun getPokemonSpecies (id : Int ): Observable <PokemonSpecies >
191+
192+ fun getStat (id : Int ): Observable <Stat >
193+
194+ fun getType (id : Int ): Observable <Type >
195+
196+ fun getLanguage (id : Int ): Observable <Language >
197+ }
0 commit comments