package Ġcom . h alo ho op . kotlin _ mvp _ r 2 r 2 d 2 . data . source Ċ Ċ import Ġcom . google . gson . annotations . SerializedName Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠP oo hol ah Ġon Ġ 2 0 1 7 / 6 / 2 7 . Ċ Ġ*/ Ċ Ċ const Ġval ĠBASE _ URL Ġ= Ġ" https :// api . github . com /" Ċ Ċ // åºıåĪĹåĮĸ åĲįåŃĹ ä¸º login ï¼Į ä½Ĩæĺ¯ ä¸ºäºĨ æĸ¹ä¾¿ çĲĨè§£ ï¼Į è¿ĻéĩĮ æĶ¹ æĪĲ åıĺ æĪĲ ä¸Ń ä½¿çĶ¨ name . Ċ data Ġclass ĠUser (@ SerializedName (" login ") Ġvar Ġname : ĠString , Ġvar Ġavatar _ url : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġvar Ġhtml _ url : ĠString , Ġvar Ġscore : ĠString ) Ċ Ċ data Ġclass ĠUsers ( var Ġitems : ĠList < User >) Ċ Ċ /** Ċ Ġ* Ġ{ Ċ " total _ count ": Ġ 1 2 , Ċ " in complete _ results ": Ġfalse , Ċ " items ": Ġ[ Ċ { Ċ " login ": Ġ" mojom bo ", Ċ " id ": Ġ 1 , Ċ " avatar _ url ": Ġ" https :// secure . gr avatar . com / avatar / 2 5 c 7 c 1 8 2 2 3 fb 4 2 a 4 c 6 ae 1 c 8 db 6 f 5 0 f 9 b ? d = https :// a 2 4 8 . e . ak am ai . net / assets . github . com % 2 F images % 2 F gr avatars % 2 F gr avatar - user - 4 2 0 . png ", Ċ " gr avatar _ id ": Ġ"", Ċ " url ": Ġ" https :// api . github . com / users / mojom bo ", Ċ " html _ url ": Ġ" https :// github . com / mojom bo ", Ċ " followers _ url ": Ġ" https :// api . github . com / users / mojom bo / followers ", Ċ " subscriptions _ url ": Ġ" https :// api . github . com / users / mojom bo / subscriptions ", Ċ " organizations _ url ": Ġ" https :// api . github . com / users / mojom bo / orgs ", Ċ " repos _ url ": Ġ" https :// api . github . com / users / mojom bo / repos ", Ċ " received _ events _ url ": Ġ" https :// api . github . com / users / mojom bo / received _ events ", Ċ " type ": Ġ" User ", Ċ " score ": Ġ 1 0 5 . 4 7 8 5 7 Ċ } Ċ ] Ċ } Ċ Ġ*/ Ċ Ċ // åºıåĪĹåĮĸ åĲįåŃĹ ä¸º login ï¼Į ä½Ĩæĺ¯ ä¸ºäºĨ æĸ¹ä¾¿ çĲĨè§£ ï¼Į è¿ĻéĩĮ æĶ¹ æĪĲ åıĺ æĪĲ ä¸Ń ä½¿çĶ¨ name . Ċ data Ġclass ĠUser 1 (@ SerializedName (" login ") Ġvar Ġname : ĠString , Ġvar Ġavatar _ url : ĠString ) Ċ Ċ data Ġclass ĠUsers 1 ( var Ġitems : ĠList < User 1 >) Ċ /** Ċ { ĊĠĠĠ Ġ" total _ count ": Ġ 2 , ĊĠĠĠ Ġ" items ": Ġ[ ĊĠĠĠĠĠĠĠ Ġ{ ĊĠĠĠĠĠĠĠ Ġ" login ": Ġ" h alo ho op ", ĊĠĠĠĠĠĠĠ Ġ" avatar _ url ": Ġ" https :// avatars 3 . githubusercontent . com / u / 1 6 2 3 5 0 9 6 ? v = 3 ", ĊĠĠĠĠĠĠĠ Ġ}, ĊĠĠĠĠĠĠĠ Ġ{ ĊĠĠĠĠĠĠĠ Ġ" login ": Ġ" jak ew h art on ", ĊĠĠĠĠĠĠĠ Ġ" avatar _ url ": Ġ" https :// avatars 3 . githubusercontent . com / u / 1 6 2 3 5 0 9 6 ? v = 3 ", ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ] Ċ } Ċ Ġ*/ Ċ Ċ // åºıåĪĹåĮĸ åĲįåŃĹ ä¸º login ï¼Į ä½Ĩæĺ¯ ä¸ºäºĨ æĸ¹ä¾¿ çĲĨè§£ ï¼Į è¿ĻéĩĮ æĶ¹ æĪĲ åıĺ æĪĲ ä¸Ń ä½¿çĶ¨ name . Ċ data Ġclass ĠUser 2 (@ SerializedName (" login ") Ġvar Ġname : ĠString ?, Ġvar Ġavatar _ url : ĠString ?, ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġvar Ġfollow ers : ĠString ?) Ġ{ ĊĠĠĠ Ġ// åĪĨ æŀĦéĢł åĻ¨ ĊĠĠĠ Ġconstructor () Ġ: Ġthis ( null , Ġnull , Ġnull ) Ġ{ ĊĠĠĠ Ġ} Ċ } Ċ Ċ /** Ċ Ġ* Ċ { Ċ " login ": Ġ" h alo ho op ", Ċ " id ": Ġ 1 6 2 3 5 0 9 6 , Ċ " avatar _ url ": Ġ" https :// avatars 3 . githubusercontent . com / u / 1 6 2 3 5 0 9 6 ? v = 3 ", Ċ " gr avatar _ id ": Ġ"", Ċ " url ": Ġ" https :// api . github . com / users / h alo ho op ", Ċ " html _ url ": Ġ" https :// github . com / h alo ho op ", Ċ " followers _ url ": Ġ" https :// api . github . com / users / h alo ho op / followers ", Ċ " following _ url ": Ġ" https :// api . github . com / users / h alo ho op / following {/ other _ user }", Ċ " gist s _ url ": Ġ" https :// api . github . com / users / h alo ho op / gist s {/ gist _ id }", Ċ " star red _ url ": Ġ" https :// api . github . com / users / h alo ho op / star red {/ owner }{ / repo }", Ċ " subscriptions _ url ": Ġ" https :// api . github . com / users / h alo ho op / subscriptions ", Ċ " organizations _ url ": Ġ" https :// api . github . com / users / h alo ho op / orgs ", Ċ " repos _ url ": Ġ" https :// api . github . com / users / h alo ho op / repos ", Ċ " events _ url ": Ġ" https :// api . github . com / users / h alo ho op / events {/ privacy }", Ċ " received _ events _ url ": Ġ" https :// api . github . com / users / h alo ho op / received _ events ", Ċ " type ": Ġ" User ", Ċ " site _ admin ": Ġfalse , Ċ " name ": Ġ" P oo hol ah ", Ċ " company ": Ġ" P oo hol ah ", Ċ " blog ": Ġ" http :// www . h alo ho op . com ", Ċ " location ": Ġ" Gu ang dong ĠS Z ĠChina ", Ċ " email ": Ġnull , Ċ " h ire able ": Ġnull , Ċ " bio ": Ġ" We Chat ï¼Ī å¾®ä¿¡ åı· ï¼ī : Ġ Ġh alo ho op \ r \ n E - Mail ï¼Ī éĤ®ä»¶ ï¼ī : Ġ Ġh alo ho op @ 1 6 3 . com \ r \ n Nick ĠName ï¼Ī æĺ µ ç§° ï¼ī : Ġ Ġ åįĸ çī Ļ è Ĩ ı éľ ¸ æ°Ķ ä¾§ æ¼ı åĨ ľ æĿ ĳ æľī æĸĩ åĮĸ çļĦ èĬ ĸ åı£ éĴ ī \ r \ n Open Ġfor Ġchat ting . ï¼Ī æ¬¢ è¿İ äº¤ æµģ ï¼ī \ r \ n ", Ċ " public _ repos ": Ġ 5 2 , Ċ " public _ gist s ": Ġ 0 , Ċ " followers ": Ġ 1 0 , Ċ " following ": Ġ 5 , Ċ " created _ at ": Ġ" 2 0 1 5 - 1 2 - 1 0 T 0 4 : 4 2 : 0 3 Z ", Ċ " updated _ at ": Ġ" 2 0 1 7 - 0 6 - 2 7 T 0 4 : 2 9 : 5 5 Z " Ċ } Ċ Ġ*/